@gardenfi/garden-book 0.0.27 → 0.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.cjs.js CHANGED
@@ -1,11 +1,11 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const jsxRuntime=require("react/jsx-runtime"),React=require("react");function r$1(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(i=r$1(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function clsx$1(){for(var e,t,i=0,s="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=r$1(e))&&(s&&(s+=" "),s+=t);return s}const CLASS_PART_SEPARATOR="-";function createClassGroupUtils(e){const t=createClassMap(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=e;function n(o){const f=o.split(CLASS_PART_SEPARATOR);return f[0]===""&&f.length!==1&&f.shift(),getGroupRecursive(f,t)||getGroupIdForArbitraryProperty(o)}function a(o,f){const l=i[o]||[];return f&&s[o]?[...l,...s[o]]:l}return{getClassGroupId:n,getConflictingClassGroupIds:a}}function getGroupRecursive(e,t){var o;if(e.length===0)return t.classGroupId;const i=e[0],s=t.nextPart.get(i),n=s?getGroupRecursive(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;const a=e.join(CLASS_PART_SEPARATOR);return(o=t.validators.find(({validator:f})=>f(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,s={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(e.classGroups),i).forEach(([a,o])=>{processClassesRecursively(o,s,a,t)}),s}function processClassesRecursively(e,t,i,s){e.forEach(n=>{if(typeof n=="string"){const a=n===""?t:getPart(t,n);a.classGroupId=i;return}if(typeof n=="function"){if(isThemeGetter(n)){processClassesRecursively(n(s),t,i,s);return}t.validators.push({validator:n,classGroupId:i});return}Object.entries(n).forEach(([a,o])=>{processClassesRecursively(o,getPart(t,a),i,s)})})}function getPart(e,t){let i=e;return t.split(CLASS_PART_SEPARATOR).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i}function isThemeGetter(e){return e.isThemeGetter}function getPrefixedClassGroupEntries(e,t){return t?e.map(([i,s])=>{const n=s.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([o,f])=>[t+o,f])):a);return[i,n]}):e}function createLruCache(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,i=new Map,s=new Map;function n(a,o){i.set(a,o),t++,t>e&&(t=0,s=i,i=new Map)}return{get(a){let o=i.get(a);if(o!==void 0)return o;if((o=s.get(a))!==void 0)return n(a,o),o},set(a,o){i.has(a)?i.set(a,o):n(a,o)}}}const IMPORTANT_MODIFIER="!";function createParseClassName(e){const{separator:t,experimentalParseClassName:i}=e,s=t.length===1,n=t[0],a=t.length;function o(f){const l=[];let c=0,m=0,E;for(let _=0;_<f.length;_++){let d=f[_];if(c===0){if(d===n&&(s||f.slice(_,_+a)===t)){l.push(f.slice(m,_)),m=_+a;continue}if(d==="/"){E=_;continue}}d==="["?c++:d==="]"&&c--}const u=l.length===0?f:f.substring(m),P=u.startsWith(IMPORTANT_MODIFIER),x=P?u.substring(1):u,g=E&&E>m?E-m:void 0;return{modifiers:l,hasImportantModifier:P,baseClassName:x,maybePostfixModifierPosition:g}}return i?function(l){return i({className:l,parseClassName:o})}:o}function sortModifiers(e){if(e.length<=1)return e;const t=[];let i=[];return e.forEach(s=>{s[0]==="["?(t.push(...i.sort(),s),i=[]):i.push(s)}),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:s,getConflictingClassGroupIds:n}=t,a=new Set;return e.trim().split(SPLIT_CLASSES_REGEX).map(o=>{const{modifiers:f,hasImportantModifier:l,baseClassName:c,maybePostfixModifierPosition:m}=i(o);let E=!!m,u=s(E?c.substring(0,m):c);if(!u){if(!E)return{isTailwindClass:!1,originalClassName:o};if(u=s(c),!u)return{isTailwindClass:!1,originalClassName:o};E=!1}const P=sortModifiers(f).join(":");return{isTailwindClass:!0,modifierId:l?P+IMPORTANT_MODIFIER:P,classGroupId:u,originalClassName:o,hasPostfixModifier:E}}).reverse().filter(o=>{if(!o.isTailwindClass)return!0;const{modifierId:f,classGroupId:l,hasPostfixModifier:c}=o,m=f+l;return a.has(m)?!1:(a.add(m),n(l,c).forEach(E=>a.add(f+E)),!0)}).reverse().map(o=>o.originalClassName).join(" ")}function twJoin(){let e=0,t,i,s="";for(;e<arguments.length;)(t=arguments[e++])&&(i=toValue(t))&&(s&&(s+=" "),s+=i);return s}function toValue(e){if(typeof e=="string")return e;let t,i="";for(let s=0;s<e.length;s++)e[s]&&(t=toValue(e[s]))&&(i&&(i+=" "),i+=t);return i}function createTailwindMerge(e,...t){let i,s,n,a=o;function o(l){const c=t.reduce((m,E)=>E(m),e());return i=createConfigUtils(c),s=i.cache.get,n=i.cache.set,a=f,f(l)}function f(l){const c=s(l);if(c)return c;const m=mergeClassList(l,i);return n(l,m),m}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(e)||stringLengths.has(e)||fractionRegex.test(e)}function isArbitraryLength(e){return getIsArbitraryValue(e,"length",isLengthOnly)}function isNumber(e){return!!e&&!Number.isNaN(Number(e))}function isArbitraryNumber(e){return getIsArbitraryValue(e,"number",isNumber)}function isInteger(e){return!!e&&Number.isInteger(Number(e))}function isPercent(e){return e.endsWith("%")&&isNumber(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 s=arbitraryValueRegex.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):i(s[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"),s=fromTheme("brightness"),n=fromTheme("borderColor"),a=fromTheme("borderRadius"),o=fromTheme("borderSpacing"),f=fromTheme("borderWidth"),l=fromTheme("contrast"),c=fromTheme("grayscale"),m=fromTheme("hueRotate"),E=fromTheme("invert"),u=fromTheme("gap"),P=fromTheme("gradientColorStops"),x=fromTheme("gradientColorStopPositions"),g=fromTheme("inset"),_=fromTheme("margin"),d=fromTheme("opacity"),y=fromTheme("padding"),p=fromTheme("saturate"),b=fromTheme("scale"),A=fromTheme("sepia"),M=fromTheme("skew"),L=fromTheme("space"),k=fromTheme("translate"),B=()=>["auto","contain","none"],Y=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto",isArbitraryValue,t],j=()=>[isArbitraryValue,t],U=()=>["",isLength,isArbitraryLength],X=()=>["auto",isNumber,isArbitraryValue],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],T=()=>["solid","dashed","dotted","double","none"],I=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],C=()=>["start","end","center","between","around","evenly","stretch"],S=()=>["","0",isArbitraryValue],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[isNumber,isArbitraryNumber],z=()=>[isNumber,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:F(),borderColor:[e],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:j(),borderWidth:U(),contrast:F(),grayscale:S(),hueRotate:z(),invert:S(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:Z(),margin:Z(),opacity:F(),padding:j(),saturate:F(),scale:F(),sepia:S(),skew:z(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"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:[...H(),isArbitraryValue]}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],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:S()}],shrink:[{shrink:S()}],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":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"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:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...C()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...C(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...C(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[_]}],mx:[{mx:[_]}],my:[{my:[_]}],ms:[{ms:[_]}],me:[{me:[_]}],mt:[{mt:[_]}],mr:[{mr:[_]}],mb:[{mb:[_]}],ml:[{ml:[_]}],"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,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":[d]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[d]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...T(),"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:j()}],"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":[d]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),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:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],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:[f]}],"border-w-x":[{"border-x":[f]}],"border-w-y":[{"border-y":[f]}],"border-w-s":[{"border-s":[f]}],"border-w-e":[{"border-e":[f]}],"border-w-t":[{"border-t":[f]}],"border-w-r":[{"border-r":[f]}],"border-w-b":[{"border-b":[f]}],"border-w-l":[{"border-l":[f]}],"border-opacity":[{"border-opacity":[d]}],"border-style":[{border:[...T(),"hidden"]}],"divide-x":[{"divide-x":[f]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[f]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[d]}],"divide-style":[{divide:T()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...T()]}],"outline-offset":[{"outline-offset":[isLength,isArbitraryValue]}],"outline-w":[{outline:[isLength,isArbitraryLength]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[d]}],"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:[d]}],"mix-blend":[{"mix-blend":[...I(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":I()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[s]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[E]}],saturate:[{saturate:[p]}],sepia:[{sepia:[A]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[E]}],"backdrop-opacity":[{"backdrop-opacity":[d]}],"backdrop-saturate":[{"backdrop-saturate":[p]}],"backdrop-sepia":[{"backdrop-sepia":[A]}],"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:z()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[isInteger,isArbitraryValue]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"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":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"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$1(e));function r(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(i=r(e[t]))&&(s&&(s+=" "),s+=i);else for(t in e)e[t]&&(s&&(s+=" "),s+=t);return s}function clsx(){for(var e,t,i=0,s="";i<arguments.length;)(e=arguments[i++])&&(t=r(e))&&(s&&(s+=" "),s+=t);return s}const falsyToString=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,cx=clsx,cva=(e,t)=>i=>{var s;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:n,defaultVariants:a}=t,o=Object.keys(n).map(c=>{const m=i==null?void 0:i[c],E=a==null?void 0:a[c];if(m===null)return null;const u=falsyToString(m)||falsyToString(E);return n[c][u]}),f=i&&Object.entries(i).reduce((c,m)=>{let[E,u]=m;return u===void 0||(c[E]=u),c},{}),l=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((c,m)=>{let{class:E,className:u,...P}=m;return Object.entries(P).every(x=>{let[g,_]=x;return Array.isArray(_)?_.includes({...a,...f}[g]):{...a,...f}[g]===_})?[...c,E,u]:c},[]);return cx(e,o,l,i==null?void 0:i.class,i==null?void 0:i.className)};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 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,s=e.length,n;for(i=0;i<s;i+=1){n=e[i].prototype;for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t.prototype[a]=n[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,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].pause()},resume:function(){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].resume()},setRate:function(i){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].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,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(i,s){var n=0,a=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(n=0;n<s;n+=1)a.push(o);return a}function t(i,s){return i==="float32"?new Float32Array(s):i==="int16"?new Int16Array(s):i==="uint8c"?new Uint8ClampedArray(s):e(i,s)}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),s,n=e.length;for(s=0;s<n;s+=1)i[s]=Math.abs(e[s]);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,s){this.type=e,this.currentTime=t,this.totalTime=i,this.direction=s<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,i,s){this.type=e,this.currentLoop=i,this.totalLoops=t,this.direction=s<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 s,n,a,o,f,l,c,m;switch(o=Math.floor(e*6),f=e*6-o,l=i*(1-t),c=i*(1-f*t),m=i*(1-(1-f)*t),o%6){case 0:s=i,n=m,a=l;break;case 1:s=c,n=i,a=l;break;case 2:s=l,n=i,a=m;break;case 3:s=l,n=c,a=i;break;case 4:s=m,n=l,a=i;break;case 5:s=i,n=l,a=c;break}return[s,n,a]}function RGBtoHSV(e,t,i){var s=Math.max(e,t,i),n=Math.min(e,t,i),a=s-n,o,f=s===0?0:a/s,l=s/255;switch(s){case n: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,f,l]}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(s,n,a){return s<0&&(s=0),n<0&&(n=0),a<0&&(a=0),"#"+e[s]+e[n]+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,s,n={onmessage:function(){},postMessage:function(P){i({data:P})}},a={postMessage:function(P){n.onmessage({data:P})}};function o(u){if(window.Worker&&window.Blob&&getWebWorker()){var P=new Blob(["var _workerSelf = self; self.onmessage = ",u.toString()],{type:"text/javascript"}),x=URL.createObjectURL(P);return new Worker(x)}return i=u,n}function f(){s||(s=o(function(P){function x(){function _(H,T){var I,C,S=H.length,V,F,z,q;for(C=0;C<S;C+=1)if(I=H[C],"ks"in I&&!I.completed){if(I.completed=!0,I.hasMask){var $=I.masksProperties;for(F=$.length,V=0;V<F;V+=1)if($[V].pt.k.i)A($[V].pt.k);else for(q=$[V].pt.k.length,z=0;z<q;z+=1)$[V].pt.k[z].s&&A($[V].pt.k[z].s[0]),$[V].pt.k[z].e&&A($[V].pt.k[z].e[0])}I.ty===0?(I.layers=p(I.refId,T),_(I.layers,T)):I.ty===4?b(I.shapes):I.ty===5&&U(I)}}function d(H,T){if(H){var I=0,C=H.length;for(I=0;I<C;I+=1)H[I].t===1&&(H[I].data.layers=p(H[I].data.refId,T),_(H[I].data.layers,T))}}function y(H,T){for(var I=0,C=T.length;I<C;){if(T[I].id===H)return T[I];I+=1}return null}function p(H,T){var I=y(H,T);return I?I.layers.__used?JSON.parse(JSON.stringify(I.layers)):(I.layers.__used=!0,I.layers):null}function b(H){var T,I=H.length,C,S;for(T=I-1;T>=0;T-=1)if(H[T].ty==="sh")if(H[T].ks.k.i)A(H[T].ks.k);else for(S=H[T].ks.k.length,C=0;C<S;C+=1)H[T].ks.k[C].s&&A(H[T].ks.k[C].s[0]),H[T].ks.k[C].e&&A(H[T].ks.k[C].e[0]);else H[T].ty==="gr"&&b(H[T].it)}function A(H){var T,I=H.i.length;for(T=0;T<I;T+=1)H.i[T][0]+=H.v[T][0],H.i[T][1]+=H.v[T][1],H.o[T][0]+=H.v[T][0],H.o[T][1]+=H.v[T][1]}function M(H,T){var I=T?T.split("."):[100,100,100];return H[0]>I[0]?!0:I[0]>H[0]?!1:H[1]>I[1]?!0:I[1]>H[1]?!1:H[2]>I[2]?!0:I[2]>H[2]?!1:null}var L=function(){var H=[4,4,14];function T(C){var S=C.t.d;C.t.d={k:[{s:S,t:0}]}}function I(C){var S,V=C.length;for(S=0;S<V;S+=1)C[S].ty===5&&T(C[S])}return function(C){if(M(H,C.v)&&(I(C.layers),C.assets)){var S,V=C.assets.length;for(S=0;S<V;S+=1)C.assets[S].layers&&I(C.assets[S].layers)}}}(),k=function(){var H=[4,7,99];return function(T){if(T.chars&&!M(H,T.v)){var I,C=T.chars.length;for(I=0;I<C;I+=1){var S=T.chars[I];S.data&&S.data.shapes&&(b(S.data.shapes),S.data.ip=0,S.data.op=99999,S.data.st=0,S.data.sr=1,S.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}},T.chars[I].t||(S.data.shapes.push({ty:"no"}),S.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"})))}}}}(),B=function(){var H=[5,7,15];function T(C){var S=C.t.p;typeof S.a=="number"&&(S.a={a:0,k:S.a}),typeof S.p=="number"&&(S.p={a:0,k:S.p}),typeof S.r=="number"&&(S.r={a:0,k:S.r})}function I(C){var S,V=C.length;for(S=0;S<V;S+=1)C[S].ty===5&&T(C[S])}return function(C){if(M(H,C.v)&&(I(C.layers),C.assets)){var S,V=C.assets.length;for(S=0;S<V;S+=1)C.assets[S].layers&&I(C.assets[S].layers)}}}(),Y=function(){var H=[4,1,9];function T(C){var S,V=C.length,F,z;for(S=0;S<V;S+=1)if(C[S].ty==="gr")T(C[S].it);else if(C[S].ty==="fl"||C[S].ty==="st")if(C[S].c.k&&C[S].c.k[0].i)for(z=C[S].c.k.length,F=0;F<z;F+=1)C[S].c.k[F].s&&(C[S].c.k[F].s[0]/=255,C[S].c.k[F].s[1]/=255,C[S].c.k[F].s[2]/=255,C[S].c.k[F].s[3]/=255),C[S].c.k[F].e&&(C[S].c.k[F].e[0]/=255,C[S].c.k[F].e[1]/=255,C[S].c.k[F].e[2]/=255,C[S].c.k[F].e[3]/=255);else C[S].c.k[0]/=255,C[S].c.k[1]/=255,C[S].c.k[2]/=255,C[S].c.k[3]/=255}function I(C){var S,V=C.length;for(S=0;S<V;S+=1)C[S].ty===4&&T(C[S].shapes)}return function(C){if(M(H,C.v)&&(I(C.layers),C.assets)){var S,V=C.assets.length;for(S=0;S<V;S+=1)C.assets[S].layers&&I(C.assets[S].layers)}}}(),Z=function(){var H=[4,4,18];function T(C){var S,V=C.length,F,z;for(S=V-1;S>=0;S-=1)if(C[S].ty==="sh")if(C[S].ks.k.i)C[S].ks.k.c=C[S].closed;else for(z=C[S].ks.k.length,F=0;F<z;F+=1)C[S].ks.k[F].s&&(C[S].ks.k[F].s[0].c=C[S].closed),C[S].ks.k[F].e&&(C[S].ks.k[F].e[0].c=C[S].closed);else C[S].ty==="gr"&&T(C[S].it)}function I(C){var S,V,F=C.length,z,q,$,J;for(V=0;V<F;V+=1){if(S=C[V],S.hasMask){var re=S.masksProperties;for(q=re.length,z=0;z<q;z+=1)if(re[z].pt.k.i)re[z].pt.k.c=re[z].cl;else for(J=re[z].pt.k.length,$=0;$<J;$+=1)re[z].pt.k[$].s&&(re[z].pt.k[$].s[0].c=re[z].cl),re[z].pt.k[$].e&&(re[z].pt.k[$].e[0].c=re[z].cl)}S.ty===4&&T(S.shapes)}}return function(C){if(M(H,C.v)&&(I(C.layers),C.assets)){var S,V=C.assets.length;for(S=0;S<V;S+=1)C.assets[S].layers&&I(C.assets[S].layers)}}}();function j(H){H.__complete||(Y(H),L(H),k(H),B(H),Z(H),_(H.layers,H.assets),d(H.chars,H.assets),H.__complete=!0)}function U(H){H.t.a.length===0&&"m"in H.t.p}var X={};return X.completeData=j,X.checkColors=Y,X.checkChars=k,X.checkPathProperties=B,X.checkShapes=Z,X.completeLayers=_,X}if(a.dataManager||(a.dataManager=x()),a.assetLoader||(a.assetLoader=function(){function _(y){var p=y.getResponseHeader("content-type");return p&&y.responseType==="json"&&p.indexOf("json")!==-1||y.response&&_typeof$5(y.response)==="object"?y.response:y.response&&typeof y.response=="string"?JSON.parse(y.response):y.responseText?JSON.parse(y.responseText):null}function d(y,p,b,A){var M,L=new XMLHttpRequest;try{L.responseType="json"}catch{}L.onreadystatechange=function(){if(L.readyState===4)if(L.status===200)M=_(L),b(M);else try{M=_(L),b(M)}catch(k){A&&A(k)}};try{L.open(["G","E","T"].join(""),y,!0)}catch{L.open(["G","E","T"].join(""),p+"/"+y,!0)}L.send()}return{load:d}}()),P.data.type==="loadAnimation")a.assetLoader.load(P.data.path,P.data.fullPath,function(_){a.dataManager.completeData(_),a.postMessage({id:P.data.id,payload:_,status:"success"})},function(){a.postMessage({id:P.data.id,status:"error"})});else if(P.data.type==="complete"){var g=P.data.animation;a.dataManager.completeData(g),a.postMessage({id:P.data.id,payload:g,status:"success"})}else P.data.type==="loadData"&&a.assetLoader.load(P.data.path,P.data.fullPath,function(_){a.postMessage({id:P.data.id,payload:_,status:"success"})},function(){a.postMessage({id:P.data.id,status:"error"})})}),s.onmessage=function(u){var P=u.data,x=P.id,g=t[x];t[x]=null,P.status==="success"?g.onComplete(P.payload):g.onError&&g.onError()})}function l(u,P){e+=1;var x="processId_"+e;return t[x]={onComplete:u,onError:P},x}function c(u,P,x){f();var g=l(P,x);s.postMessage({type:"loadAnimation",path:u,fullPath:window.location.origin+window.location.pathname,id:g})}function m(u,P,x){f();var g=l(P,x);s.postMessage({type:"loadData",path:u,fullPath:window.location.origin+window.location.pathname,id:g})}function E(u,P,x){f();var g=l(P,x);s.postMessage({type:"complete",animation:u,id:g})}return{loadAnimation:c,loadData:m,completeAnimation:E}}(),ImagePreloader=function(){var e=function(){var d=createTag("canvas");d.width=1,d.height=1;var y=d.getContext("2d");return y.fillStyle="rgba(0,0,0,0)",y.fillRect(0,0,1,1),d}();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 s(d,y,p){var b="";if(d.e)b=d.p;else if(y){var A=d.p;A.indexOf("images/")!==-1&&(A=A.split("/")[1]),b=y+A}else b=p,b+=d.u?d.u:"",b+=d.p;return b}function n(d){var y=0,p=setInterval((function(){var b=d.getBBox();(b.width||y>500)&&(this._imageLoaded(),clearInterval(p)),y+=1}).bind(this),50)}function a(d){var y=s(d,this.assetsPath,this.path),p=createNS("image");isSafari?this.testImageLoaded(p):p.addEventListener("load",this._imageLoaded,!1),p.addEventListener("error",(function(){b.img=e,this._imageLoaded()}).bind(this),!1),p.setAttributeNS("http://www.w3.org/1999/xlink","href",y),this._elementHelper.append?this._elementHelper.append(p):this._elementHelper.appendChild(p);var b={img:p,assetData:d};return b}function o(d){var y=s(d,this.assetsPath,this.path),p=createTag("img");p.crossOrigin="anonymous",p.addEventListener("load",this._imageLoaded,!1),p.addEventListener("error",(function(){b.img=e,this._imageLoaded()}).bind(this),!1),p.src=y;var b={img:p,assetData:d};return b}function f(d){var y={assetData:d},p=s(d,this.assetsPath,this.path);return dataManager.loadData(p,(function(b){y.img=b,this._footageLoaded()}).bind(this),(function(){y.img={},this._footageLoaded()}).bind(this)),y}function l(d,y){this.imagesLoadedCb=y;var p,b=d.length;for(p=0;p<b;p+=1)d[p].layers||(!d[p].t||d[p].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(d[p]))):d[p].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(d[p]))))}function c(d){this.path=d||""}function m(d){this.assetsPath=d||""}function E(d){for(var y=0,p=this.images.length;y<p;){if(this.images[y].assetData===d)return this.images[y].img;y+=1}return null}function u(){this.imagesLoadedCb=null,this.images.length=0}function P(){return this.totalImages===this.loadedAssets}function x(){return this.totalFootages===this.loadedFootagesCount}function g(d,y){d==="svg"?(this._elementHelper=y,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function _(){this._imageLoaded=t.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=f.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return _.prototype={loadAssets:l,setAssetsPath:m,setPath:c,loadedImages:P,loadedFootages:x,destroy:u,getAsset:E,createImgData:o,createImageData:a,imageLoaded:t,footageLoaded:i,setCacheType:g},_}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,i){if(this._cbs[t])for(var s=this._cbs[t],n=0;n<s.length;n+=1)s[n](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 s=0,n=this._cbs[t].length;s<n;)this._cbs[t][s]===i&&(this._cbs[t].splice(s,1),s-=1,n-=1),s+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var i=t.split(`\r
2
- `),s={},n,a=0,o=0;o<i.length;o+=1)n=i[o].split(":"),n.length===2&&(s[n[0]]=n[1].trim(),a+=1);if(a===0)throw new Error;return s}return function(t){for(var i=[],s=0;s<t.length;s+=1){var n=t[s],a={time:n.tm,duration:n.dr};try{a.payload=JSON.parse(t[s].cm)}catch{try{a.payload=e(t[s].cm)}catch{a.payload={name:t[s].cm}}}i.push(a)}return i}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(i){for(var s=0,n=this.compositions.length;s<n;){if(this.compositions[s].data&&this.compositions[s].data.nm===i)return this.compositions[s].prepareFrame&&this.compositions[s].data.xt&&this.compositions[s].prepareFrame(this.currentFrame),this.compositions[s].compInterface;s+=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},s=e.attributes;i.path=s.getNamedItem("data-animation-path")?s.getNamedItem("data-animation-path").value:s.getNamedItem("data-bm-path")?s.getNamedItem("data-bm-path").value:s.getNamedItem("bm-path")?s.getNamedItem("bm-path").value:"",i.animType=s.getNamedItem("data-anim-type")?s.getNamedItem("data-anim-type").value:s.getNamedItem("data-bm-type")?s.getNamedItem("data-bm-type").value:s.getNamedItem("bm-type")?s.getNamedItem("bm-type").value:s.getNamedItem("data-bm-renderer")?s.getNamedItem("data-bm-renderer").value:s.getNamedItem("bm-renderer")?s.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var n=s.getNamedItem("data-anim-loop")?s.getNamedItem("data-anim-loop").value:s.getNamedItem("data-bm-loop")?s.getNamedItem("data-bm-loop").value:s.getNamedItem("bm-loop")?s.getNamedItem("bm-loop").value:"";n==="false"?i.loop=!1:n==="true"?i.loop=!0:n!==""&&(i.loop=parseInt(n,10));var a=s.getNamedItem("data-anim-autoplay")?s.getNamedItem("data-anim-autoplay").value:s.getNamedItem("data-bm-autoplay")?s.getNamedItem("data-bm-autoplay").value:s.getNamedItem("bm-autoplay")?s.getNamedItem("bm-autoplay").value:!0;i.autoplay=a!=="false",i.name=s.getNamedItem("data-name")?s.getNamedItem("data-name").value:s.getNamedItem("data-bm-name")?s.getNamedItem("data-bm-name").value:s.getNamedItem("bm-name")?s.getNamedItem("bm-name").value:"";var o=s.getNamedItem("data-anim-prerender")?s.getNamedItem("data-anim-prerender").value:s.getNamedItem("data-bm-prerender")?s.getNamedItem("data-bm-prerender").value:s.getNamedItem("bm-prerender")?s.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,s=t.length,n=e.layers,a,o=n.length;for(a=0;a<o;a+=1)for(i=0;i<s;){if(t[i].id===n[a].id){t[i]=n[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(s=e.assets.length,i=0;i<s;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,s=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(i,s)},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 s=Number(e);if(isNaN(s)){var n=this.getMarkerData(e);n&&this.goToAndStop(n.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 s=Number(e);if(isNaN(s)){var n=this.getMarkerData(e);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n.time,!0))}else this.goToAndStop(s,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,s=e.length;for(i=0;i<s;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 s=this.renderer.getElementByPath(e);s.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,s=0,n=0,a=!0,o=!1;function f(T){for(var I=0,C=T.target;I<s;)t[I].animation===C&&(t.splice(I,1),I-=1,s-=1,C.isPaused||E()),I+=1}function l(T,I){if(!T)return null;for(var C=0;C<s;){if(t[C].elem===T&&t[C].elem!==null)return t[C].animation;C+=1}var S=new AnimationItem;return u(S,T),S.setData(T,I),S}function c(){var T,I=t.length,C=[];for(T=0;T<I;T+=1)C.push(t[T].animation);return C}function m(){n+=1,Y()}function E(){n-=1}function u(T,I){T.addEventListener("destroy",f),T.addEventListener("_active",m),T.addEventListener("_idle",E),t.push({elem:I,animation:T}),s+=1}function P(T){var I=new AnimationItem;return u(I,null),I.setParams(T),I}function x(T,I){var C;for(C=0;C<s;C+=1)t[C].animation.setSpeed(T,I)}function g(T,I){var C;for(C=0;C<s;C+=1)t[C].animation.setDirection(T,I)}function _(T){var I;for(I=0;I<s;I+=1)t[I].animation.play(T)}function d(T){var I=T-i,C;for(C=0;C<s;C+=1)t[C].animation.advanceTime(I);i=T,n&&!o?window.requestAnimationFrame(d):a=!0}function y(T){i=T,window.requestAnimationFrame(d)}function p(T){var I;for(I=0;I<s;I+=1)t[I].animation.pause(T)}function b(T,I,C){var S;for(S=0;S<s;S+=1)t[S].animation.goToAndStop(T,I,C)}function A(T){var I;for(I=0;I<s;I+=1)t[I].animation.stop(T)}function M(T){var I;for(I=0;I<s;I+=1)t[I].animation.togglePause(T)}function L(T){var I;for(I=s-1;I>=0;I-=1)t[I].animation.destroy(T)}function k(T,I,C){var S=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),V,F=S.length;for(V=0;V<F;V+=1)C&&S[V].setAttribute("data-bm-type",C),l(S[V],T);if(I&&F===0){C||(C="svg");var z=document.getElementsByTagName("body")[0];z.innerText="";var q=createTag("div");q.style.width="100%",q.style.height="100%",q.setAttribute("data-bm-type",C),z.appendChild(q),l(q,T)}}function B(){var T;for(T=0;T<s;T+=1)t[T].animation.resize()}function Y(){!o&&n&&a&&(window.requestAnimationFrame(y),a=!1)}function Z(){o=!0}function j(){o=!1,Y()}function U(T,I){var C;for(C=0;C<s;C+=1)t[C].animation.setVolume(T,I)}function X(T){var I;for(I=0;I<s;I+=1)t[I].animation.mute(T)}function H(T){var I;for(I=0;I<s;I+=1)t[I].animation.unmute(T)}return e.registerAnimation=l,e.loadAnimation=P,e.setSpeed=x,e.setDirection=g,e.play=_,e.pause=p,e.stop=A,e.togglePause=M,e.searchAnimations=k,e.resize=B,e.goToAndStop=b,e.destroy=L,e.freeze=Z,e.unfreeze=j,e.setVolume=U,e.mute=X,e.unmute=H,e.getRegisteredAnimations=c,e}(),BezierFactory=function(){var e={};e.getBezierEasing=i;var t={};function i(y,p,b,A,M){var L=M||("bez_"+y+"_"+p+"_"+b+"_"+A).replace(/\./g,"p");if(t[L])return t[L];var k=new d([y,p,b,A]);return t[L]=k,k}var s=4,n=.001,a=1e-7,o=10,f=11,l=1/(f-1),c=typeof Float32Array=="function";function m(y,p){return 1-3*p+3*y}function E(y,p){return 3*p-6*y}function u(y){return 3*y}function P(y,p,b){return((m(p,b)*y+E(p,b))*y+u(p))*y}function x(y,p,b){return 3*m(p,b)*y*y+2*E(p,b)*y+u(p)}function g(y,p,b,A,M){var L,k,B=0;do k=p+(b-p)/2,L=P(k,A,M)-y,L>0?b=k:p=k;while(Math.abs(L)>a&&++B<o);return k}function _(y,p,b,A){for(var M=0;M<s;++M){var L=x(p,b,A);if(L===0)return p;var k=P(p,b,A)-y;p-=k/L}return p}function d(y){this._p=y,this._mSampleValues=c?new Float32Array(f):new Array(f),this._precomputed=!1,this.get=this.get.bind(this)}return d.prototype={get:function(p){var b=this._p[0],A=this._p[1],M=this._p[2],L=this._p[3];return this._precomputed||this._precompute(),b===A&&M===L?p:p===0?0:p===1?1:P(this._getTForX(p),A,L)},_precompute:function(){var p=this._p[0],b=this._p[1],A=this._p[2],M=this._p[3];this._precomputed=!0,(p!==b||A!==M)&&this._calcSampleValues()},_calcSampleValues:function(){for(var p=this._p[0],b=this._p[2],A=0;A<f;++A)this._mSampleValues[A]=P(A*l,p,b)},_getTForX:function(p){for(var b=this._p[0],A=this._p[2],M=this._mSampleValues,L=0,k=1,B=f-1;k!==B&&M[k]<=p;++k)L+=l;--k;var Y=(p-M[k])/(M[k+1]-M[k]),Z=L+Y*l,j=x(Z,b,A);return j>=n?_(p,Z,b,A):j===0?Z:g(p,L,L+l,b,A)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,i){var s=0,n=e,a=createSizedArray(n),o={newElement:f,release:l};function f(){var c;return s?(s-=1,c=a[s]):c=t(),c}function l(c){s===n&&(a=pooling.double(a),n*=2),i&&i(c),a[s]=c,s+=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 s,n=i.lengths.length;for(s=0;s<n;s+=1)bezierLengthPool.release(i.lengths[s]);i.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(u,P,x,g,_,d){var y=u*g+P*_+x*d-_*g-d*u-x*P;return y>-.001&&y<.001}function i(u,P,x,g,_,d,y,p,b){if(x===0&&d===0&&b===0)return t(u,P,g,_,y,p);var A=e.sqrt(e.pow(g-u,2)+e.pow(_-P,2)+e.pow(d-x,2)),M=e.sqrt(e.pow(y-u,2)+e.pow(p-P,2)+e.pow(b-x,2)),L=e.sqrt(e.pow(y-g,2)+e.pow(p-_,2)+e.pow(b-d,2)),k;return A>M?A>L?k=A-M-L:k=L-M-A:L>M?k=L-M-A:k=M-A-L,k>-1e-4&&k<1e-4}var s=function(){return function(u,P,x,g){var _=getDefaultCurveSegments(),d,y,p,b,A,M=0,L,k=[],B=[],Y=bezierLengthPool.newElement();for(p=x.length,d=0;d<_;d+=1){for(A=d/(_-1),L=0,y=0;y<p;y+=1)b=bmPow(1-A,3)*u[y]+3*bmPow(1-A,2)*A*x[y]+3*(1-A)*bmPow(A,2)*g[y]+bmPow(A,3)*P[y],k[y]=b,B[y]!==null&&(L+=bmPow(k[y]-B[y],2)),B[y]=k[y];L&&(L=bmSqrt(L),M+=L),Y.percents[d]=A,Y.lengths[d]=M}return Y.addedLength=M,Y}}();function n(u){var P=segmentsLengthPool.newElement(),x=u.c,g=u.v,_=u.o,d=u.i,y,p=u._length,b=P.lengths,A=0;for(y=0;y<p-1;y+=1)b[y]=s(g[y],g[y+1],_[y],d[y+1]),A+=b[y].addedLength;return x&&p&&(b[y]=s(g[y],g[0],_[y],d[0]),A+=b[y].addedLength),P.totalLength=A,P}function a(u){this.segmentLength=0,this.points=new Array(u)}function o(u,P){this.partialLength=u,this.point=P}var f=function(){var u={};return function(P,x,g,_){var d=(P[0]+"_"+P[1]+"_"+x[0]+"_"+x[1]+"_"+g[0]+"_"+g[1]+"_"+_[0]+"_"+_[1]).replace(/\./g,"p");if(!u[d]){var y=getDefaultCurveSegments(),p,b,A,M,L,k=0,B,Y,Z=null;P.length===2&&(P[0]!==x[0]||P[1]!==x[1])&&t(P[0],P[1],x[0],x[1],P[0]+g[0],P[1]+g[1])&&t(P[0],P[1],x[0],x[1],x[0]+_[0],x[1]+_[1])&&(y=2);var j=new a(y);for(A=g.length,p=0;p<y;p+=1){for(Y=createSizedArray(A),L=p/(y-1),B=0,b=0;b<A;b+=1)M=bmPow(1-L,3)*P[b]+3*bmPow(1-L,2)*L*(P[b]+g[b])+3*(1-L)*bmPow(L,2)*(x[b]+_[b])+bmPow(L,3)*x[b],Y[b]=M,Z!==null&&(B+=bmPow(Y[b]-Z[b],2));B=bmSqrt(B),k+=B,j.points[p]=new o(B,Y),Z=Y}j.segmentLength=k,u[d]=j}return u[d]}}();function l(u,P){var x=P.percents,g=P.lengths,_=x.length,d=bmFloor((_-1)*u),y=u*P.addedLength,p=0;if(d===_-1||d===0||y===g[d])return x[d];for(var b=g[d]>y?-1:1,A=!0;A;)if(g[d]<=y&&g[d+1]>y?(p=(y-g[d])/(g[d+1]-g[d]),A=!1):d+=b,d<0||d>=_-1){if(d===_-1)return x[d];A=!1}return x[d]+(x[d+1]-x[d])*p}function c(u,P,x,g,_,d){var y=l(_,d),p=1-y,b=e.round((p*p*p*u[0]+(y*p*p+p*y*p+p*p*y)*x[0]+(y*y*p+p*y*y+y*p*y)*g[0]+y*y*y*P[0])*1e3)/1e3,A=e.round((p*p*p*u[1]+(y*p*p+p*y*p+p*p*y)*x[1]+(y*y*p+p*y*y+y*p*y)*g[1]+y*y*y*P[1])*1e3)/1e3;return[b,A]}var m=createTypedArray("float32",8);function E(u,P,x,g,_,d,y){_<0?_=0:_>1&&(_=1);var p=l(_,y);d=d>1?1:d;var b=l(d,y),A,M=u.length,L=1-p,k=1-b,B=L*L*L,Y=p*L*L*3,Z=p*p*L*3,j=p*p*p,U=L*L*k,X=p*L*k+L*p*k+L*L*b,H=p*p*k+L*p*b+p*L*b,T=p*p*b,I=L*k*k,C=p*k*k+L*b*k+L*k*b,S=p*b*k+L*b*b+p*k*b,V=p*b*b,F=k*k*k,z=b*k*k+k*b*k+k*k*b,q=b*b*k+k*b*b+b*k*b,$=b*b*b;for(A=0;A<M;A+=1)m[A*4]=e.round((B*u[A]+Y*x[A]+Z*g[A]+j*P[A])*1e3)/1e3,m[A*4+1]=e.round((U*u[A]+X*x[A]+H*g[A]+T*P[A])*1e3)/1e3,m[A*4+2]=e.round((I*u[A]+C*x[A]+S*g[A]+V*P[A])*1e3)/1e3,m[A*4+3]=e.round((F*u[A]+z*x[A]+q*g[A]+$*P[A])*1e3)/1e3;return m}return{getSegmentsLength:n,getNewSegment:E,getPointInSegment:c,buildBezierData:f,pointOnLine2D:t,pointOnLine3D:i}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var i=this.offsetTime,s;this.propType==="multidimensional"&&(s=createTypedArray("float32",this.pv.length));for(var n=t.lastIndex,a=n,o=this.keyframes.length-1,f=!0,l,c,m;f;){if(l=this.keyframes[a],c=this.keyframes[a+1],a===o-1&&e>=c.t-i){l.h&&(l=c),n=0;break}if(c.t-i>e){n=a;break}a<o-1?a+=1:(n=0,f=!1)}m=this.keyframesMetadata[a]||{};var E,u,P,x,g,_,d=c.t-i,y=l.t-i,p;if(l.to){m.bezierData||(m.bezierData=bez.buildBezierData(l.s,c.s||l.e,l.to,l.ti));var b=m.bezierData;if(e>=d||e<y){var A=e>=d?b.points.length-1:0;for(u=b.points[A].point.length,E=0;E<u;E+=1)s[E]=b.points[A].point[E]}else{m.__fnct?_=m.__fnct:(_=BezierFactory.getBezierEasing(l.o.x,l.o.y,l.i.x,l.i.y,l.n).get,m.__fnct=_),P=_((e-y)/(d-y));var M=b.segmentLength*P,L,k=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastAddedLength:0;for(g=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastPoint:0,f=!0,x=b.points.length;f;){if(k+=b.points[g].partialLength,M===0||P===0||g===b.points.length-1){for(u=b.points[g].point.length,E=0;E<u;E+=1)s[E]=b.points[g].point[E];break}else if(M>=k&&M<k+b.points[g+1].partialLength){for(L=(M-k)/b.points[g+1].partialLength,u=b.points[g].point.length,E=0;E<u;E+=1)s[E]=b.points[g].point[E]+(b.points[g+1].point[E]-b.points[g].point[E])*L;break}g<x-1?g+=1:f=!1}t._lastPoint=g,t._lastAddedLength=k-b.points[g].partialLength,t._lastKeyframeIndex=a}}else{var B,Y,Z,j,U;if(o=l.s.length,p=c.s||l.e,this.sh&&l.h!==1)if(e>=d)s[0]=p[0],s[1]=p[1],s[2]=p[2];else if(e<=y)s[0]=l.s[0],s[1]=l.s[1],s[2]=l.s[2];else{var X=createQuaternion(l.s),H=createQuaternion(p),T=(e-y)/(d-y);quaternionToEuler(s,slerp(X,H,T))}else for(a=0;a<o;a+=1)l.h!==1&&(e>=d?P=1:e<y?P=0:(l.o.x.constructor===Array?(m.__fnct||(m.__fnct=[]),m.__fnct[a]?_=m.__fnct[a]:(B=l.o.x[a]===void 0?l.o.x[0]:l.o.x[a],Y=l.o.y[a]===void 0?l.o.y[0]:l.o.y[a],Z=l.i.x[a]===void 0?l.i.x[0]:l.i.x[a],j=l.i.y[a]===void 0?l.i.y[0]:l.i.y[a],_=BezierFactory.getBezierEasing(B,Y,Z,j).get,m.__fnct[a]=_)):m.__fnct?_=m.__fnct:(B=l.o.x,Y=l.o.y,Z=l.i.x,j=l.i.y,_=BezierFactory.getBezierEasing(B,Y,Z,j).get,l.keyframeMetadata=_),P=_((e-y)/(d-y)))),p=c.s||l.e,U=l.h===1?l.s[a]:l.s[a]+(p[a]-l.s[a])*P,this.propType==="multidimensional"?s[a]=U:s=U}return t.lastIndex=n,s}function slerp(e,t,i){var s=[],n=e[0],a=e[1],o=e[2],f=e[3],l=t[0],c=t[1],m=t[2],E=t[3],u,P,x,g,_;return P=n*l+a*c+o*m+f*E,P<0&&(P=-P,l=-l,c=-c,m=-m,E=-E),1-P>1e-6?(u=Math.acos(P),x=Math.sin(u),g=Math.sin((1-i)*u)/x,_=Math.sin(i*u)/x):(g=1-i,_=i),s[0]=g*n+_*l,s[1]=g*a+_*c,s[2]=g*o+_*m,s[3]=g*f+_*E,s}function quaternionToEuler(e,t){var i=t[0],s=t[1],n=t[2],a=t[3],o=Math.atan2(2*s*a-2*i*n,1-2*s*s-2*n*n),f=Math.asin(2*i*s+2*n*a),l=Math.atan2(2*i*a-2*s*n,1-2*i*i-2*n*n);e[0]=o/degToRads,e[1]=f/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,i=e[1]*degToRads,s=e[2]*degToRads,n=Math.cos(t/2),a=Math.cos(i/2),o=Math.cos(s/2),f=Math.sin(t/2),l=Math.sin(i/2),c=Math.sin(s/2),m=n*a*o-f*l*c,E=f*l*o+n*a*c,u=f*a*o+n*l*c,P=n*l*o-f*a*c;return[E,u,P,m]}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 s=this.interpolateValue(e,this._caching);this.pv=s}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,s=this.v.length;i<s;)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,s){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=s,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,s){this.propType="multidimensional",this.mult=i||1,this.data=t,this._mdf=!1,this.elem=e,this.container=s,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var n,a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),n=0;n<a;n+=1)this.v[n]=t.k[n]*this.mult,this.pv[n]=t.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,i,s){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=s,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,s){this.propType="multidimensional";var n,a=t.k.length,o,f,l,c;for(n=0;n<a-1;n+=1)t.k[n].to&&t.k[n].s&&t.k[n+1]&&t.k[n+1].s&&(o=t.k[n].s,f=t.k[n+1].s,l=t.k[n].to,c=t.k[n].ti,(o.length===2&&!(o[0]===f[0]&&o[1]===f[1])&&bez.pointOnLine2D(o[0],o[1],f[0],f[1],o[0]+l[0],o[1]+l[1])&&bez.pointOnLine2D(o[0],o[1],f[0],f[1],f[0]+c[0],f[1]+c[1])||o.length===3&&!(o[0]===f[0]&&o[1]===f[1]&&o[2]===f[2])&&bez.pointOnLine3D(o[0],o[1],o[2],f[0],f[1],f[2],o[0]+l[0],o[1]+l[1],o[2]+l[2])&&bez.pointOnLine3D(o[0],o[1],o[2],f[0],f[1],f[2],f[0]+c[0],f[1]+c[1],f[2]+c[2]))&&(t.k[n].to=null,t.k[n].ti=null),o[0]===f[0]&&o[1]===f[1]&&l[0]===0&&l[1]===0&&c[0]===0&&c[1]===0&&(o.length===2||o[2]===f[2]&&l[2]===0&&c[2]===0)&&(t.k[n].to=null,t.k[n].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=s,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var m=t.k[0].s.length;for(this.v=createTypedArray("float32",m),this.pv=createTypedArray("float32",m),n=0;n<m;n+=1)this.v[n]=initFrame,this.pv[n]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",m)},this.addEffect=addEffect}var PropertyFactory=function(){function e(i,s,n,a,o){s.sid&&(s=i.globalData.slotManager.getProp(s));var f;if(!s.k.length)f=new ValueProperty(i,s,a,o);else if(typeof s.k[0]=="number")f=new MultiDimensionalProperty(i,s,a,o);else switch(n){case 0:f=new KeyframedValueProperty(i,s,a,o);break;case 1:f=new KeyframedMultidimensionalProperty(i,s,a,o);break}return f.effectsSequence.length&&o.addDynamicProperty(f),f}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,s,n){var a;switch(this._length=Math.max(this._length,s+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[s]||a[s]&&!n)&&(a[s]=pointPool.newElement()),a[s][0]=e,a[s][1]=t},ShapePath.prototype.setTripleAt=function(e,t,i,s,n,a,o,f){this.setXYAt(e,t,"v",o,f),this.setXYAt(i,s,"o",o,f),this.setXYAt(n,a,"i",o,f)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,i=this.o,s=this.i,n=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),n=1);var a=this._length-1,o=this._length,f;for(f=n;f<o;f+=1)e.setTripleAt(t[a][0],t[a][1],s[a][0],s[a][1],i[a][0],i[a][1],f,!1),a-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(n){var a=n._length,o;for(o=0;o<a;o+=1)pointPool.release(n.v[o]),pointPool.release(n.i[o]),pointPool.release(n.o[o]),n.v[o]=null,n.i[o]=null,n.o[o]=null;n._length=0,n.c=!1}function i(n){var a=s.newElement(),o,f=n._length===void 0?n.v.length:n._length;for(a.setLength(f),a.c=n.c,o=0;o<f;o+=1)a.setTripleAt(n.v[o][0],n.v[o][1],n.o[o][0],n.o[o][1],n.i[o][0],n.i[o][1],o);return a}var s=poolFactory(4,e,t);return s.clone=i,s}();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:n,release:a},t=0,i=4,s=createSizedArray(i);function n(){var o;return t?(t-=1,o=s[t]):o=new ShapeCollection,o}function a(o){var f,l=o._length;for(f=0;f<l;f+=1)shapePool.release(o.shapes[f]);o._length=0,t===i&&(s=pooling.double(s),i*=2),s[t]=o,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(d,y,p){var b=p.lastIndex,A,M,L,k,B,Y,Z,j,U,X=this.keyframes;if(d<X[0].t-this.offsetTime)A=X[0].s[0],L=!0,b=0;else if(d>=X[X.length-1].t-this.offsetTime)A=X[X.length-1].s?X[X.length-1].s[0]:X[X.length-2].e[0],L=!0;else{for(var H=b,T=X.length-1,I=!0,C,S,V;I&&(C=X[H],S=X[H+1],!(S.t-this.offsetTime>d));)H<T-1?H+=1:I=!1;if(V=this.keyframesMetadata[H]||{},L=C.h===1,b=H,!L){if(d>=S.t-this.offsetTime)j=1;else if(d<C.t-this.offsetTime)j=0;else{var F;V.__fnct?F=V.__fnct:(F=BezierFactory.getBezierEasing(C.o.x,C.o.y,C.i.x,C.i.y).get,V.__fnct=F),j=F((d-(C.t-this.offsetTime))/(S.t-this.offsetTime-(C.t-this.offsetTime)))}M=S.s?S.s[0]:C.e[0]}A=C.s[0]}for(Y=y._length,Z=A.i[0].length,p.lastIndex=b,k=0;k<Y;k+=1)for(B=0;B<Z;B+=1)U=L?A.i[k][B]:A.i[k][B]+(M.i[k][B]-A.i[k][B])*j,y.i[k][B]=U,U=L?A.o[k][B]:A.o[k][B]+(M.o[k][B]-A.o[k][B])*j,y.o[k][B]=U,U=L?A.v[k][B]:A.v[k][B]+(M.v[k][B]-A.v[k][B])*j,y.v[k][B]=U}function i(){var d=this.comp.renderedFrame-this.offsetTime,y=this.keyframes[0].t-this.offsetTime,p=this.keyframes[this.keyframes.length-1].t-this.offsetTime,b=this._caching.lastFrame;return b!==e&&(b<y&&d<y||b>p&&d>p)||(this._caching.lastIndex=b<d?this._caching.lastIndex:0,this.interpolateShape(d,this.pv,this._caching)),this._caching.lastFrame=d,this.pv}function s(){this.paths=this.localShapeCollection}function n(d,y){if(d._length!==y._length||d.c!==y.c)return!1;var p,b=d._length;for(p=0;p<b;p+=1)if(d.v[p][0]!==y.v[p][0]||d.v[p][1]!==y.v[p][1]||d.o[p][0]!==y.o[p][0]||d.o[p][1]!==y.o[p][1]||d.i[p][0]!==y.i[p][0]||d.i[p][1]!==y.i[p][1])return!1;return!0}function a(d){n(this.v,d)||(this.v=shapePool.clone(d),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 d;this.kf?d=this.pv:this.data.ks?d=this.data.ks.k:d=this.data.pt.k;var y,p=this.effectsSequence.length;for(y=0;y<p;y+=1)d=this.effectsSequence[y](d);this.setVValue(d),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function f(d,y,p){this.propType="shape",this.comp=d.comp,this.container=d,this.elem=d,this.data=y,this.k=!1,this.kf=!1,this._mdf=!1;var b=p===3?y.pt.k:y.ks.k;this.v=shapePool.clone(b),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function l(d){this.effectsSequence.push(d),this.container.addDynamicProperty(this)}f.prototype.interpolateShape=t,f.prototype.getValue=o,f.prototype.setVValue=a,f.prototype.addEffect=l;function c(d,y,p){this.propType="shape",this.comp=d.comp,this.elem=d,this.container=d,this.offsetTime=d.data.st,this.keyframes=p===3?y.pt.k:y.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var b=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,b),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=s,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[i.bind(this)]}c.prototype.getValue=o,c.prototype.interpolateShape=t,c.prototype.setVValue=a,c.prototype.addEffect=l;var m=function(){var d=roundCorner;function y(p,b){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=b.d,this.elem=p,this.comp=p.comp,this.frameId=-1,this.initDynamicPropertyContainer(p),this.p=PropertyFactory.getProp(p,b.p,1,0,this),this.s=PropertyFactory.getProp(p,b.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return y.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var b=this.p.v[0],A=this.p.v[1],M=this.s.v[0]/2,L=this.s.v[1]/2,k=this.d!==3,B=this.v;B.v[0][0]=b,B.v[0][1]=A-L,B.v[1][0]=k?b+M:b-M,B.v[1][1]=A,B.v[2][0]=b,B.v[2][1]=A+L,B.v[3][0]=k?b-M:b+M,B.v[3][1]=A,B.i[0][0]=k?b-M*d:b+M*d,B.i[0][1]=A-L,B.i[1][0]=k?b+M:b-M,B.i[1][1]=A-L*d,B.i[2][0]=k?b+M*d:b-M*d,B.i[2][1]=A+L,B.i[3][0]=k?b-M:b+M,B.i[3][1]=A+L*d,B.o[0][0]=k?b+M*d:b-M*d,B.o[0][1]=A-L,B.o[1][0]=k?b+M:b-M,B.o[1][1]=A+L*d,B.o[2][0]=k?b-M*d:b+M*d,B.o[2][1]=A+L,B.o[3][0]=k?b-M:b+M,B.o[3][1]=A-L*d}},extendPrototype([DynamicPropertyContainer],y),y}(),E=function(){function d(y,p){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=y,this.comp=y.comp,this.data=p,this.frameId=-1,this.d=p.d,this.initDynamicPropertyContainer(y),p.sy===1?(this.ir=PropertyFactory.getProp(y,p.ir,0,0,this),this.is=PropertyFactory.getProp(y,p.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(y,p.pt,0,0,this),this.p=PropertyFactory.getProp(y,p.p,1,0,this),this.r=PropertyFactory.getProp(y,p.r,0,degToRads,this),this.or=PropertyFactory.getProp(y,p.or,0,0,this),this.os=PropertyFactory.getProp(y,p.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 d.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var p=Math.floor(this.pt.v)*2,b=Math.PI*2/p,A=!0,M=this.or.v,L=this.ir.v,k=this.os.v,B=this.is.v,Y=2*Math.PI*M/(p*2),Z=2*Math.PI*L/(p*2),j,U,X,H,T=-Math.PI/2;T+=this.r.v;var I=this.data.d===3?-1:1;for(this.v._length=0,j=0;j<p;j+=1){U=A?M:L,X=A?k:B,H=A?Y:Z;var C=U*Math.cos(T),S=U*Math.sin(T),V=C===0&&S===0?0:S/Math.sqrt(C*C+S*S),F=C===0&&S===0?0:-C/Math.sqrt(C*C+S*S);C+=+this.p.v[0],S+=+this.p.v[1],this.v.setTripleAt(C,S,C-V*H*X*I,S-F*H*X*I,C+V*H*X*I,S+F*H*X*I,j,!0),A=!A,T+=b*I}},convertPolygonToPath:function(){var p=Math.floor(this.pt.v),b=Math.PI*2/p,A=this.or.v,M=this.os.v,L=2*Math.PI*A/(p*4),k,B=-Math.PI*.5,Y=this.data.d===3?-1:1;for(B+=this.r.v,this.v._length=0,k=0;k<p;k+=1){var Z=A*Math.cos(B),j=A*Math.sin(B),U=Z===0&&j===0?0:j/Math.sqrt(Z*Z+j*j),X=Z===0&&j===0?0:-Z/Math.sqrt(Z*Z+j*j);Z+=+this.p.v[0],j+=+this.p.v[1],this.v.setTripleAt(Z,j,Z-U*L*M*Y,j-X*L*M*Y,Z+U*L*M*Y,j+X*L*M*Y,k,!0),B+=b*Y}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],d),d}(),u=function(){function d(y,p){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=y,this.comp=y.comp,this.frameId=-1,this.d=p.d,this.initDynamicPropertyContainer(y),this.p=PropertyFactory.getProp(y,p.p,1,0,this),this.s=PropertyFactory.getProp(y,p.s,1,0,this),this.r=PropertyFactory.getProp(y,p.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return d.prototype={convertRectToPath:function(){var p=this.p.v[0],b=this.p.v[1],A=this.s.v[0]/2,M=this.s.v[1]/2,L=bmMin(A,M,this.r.v),k=L*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(p+A,b-M+L,p+A,b-M+L,p+A,b-M+k,0,!0),this.v.setTripleAt(p+A,b+M-L,p+A,b+M-k,p+A,b+M-L,1,!0),L!==0?(this.v.setTripleAt(p+A-L,b+M,p+A-L,b+M,p+A-k,b+M,2,!0),this.v.setTripleAt(p-A+L,b+M,p-A+k,b+M,p-A+L,b+M,3,!0),this.v.setTripleAt(p-A,b+M-L,p-A,b+M-L,p-A,b+M-k,4,!0),this.v.setTripleAt(p-A,b-M+L,p-A,b-M+k,p-A,b-M+L,5,!0),this.v.setTripleAt(p-A+L,b-M,p-A+L,b-M,p-A+k,b-M,6,!0),this.v.setTripleAt(p+A-L,b-M,p+A-k,b-M,p+A-L,b-M,7,!0)):(this.v.setTripleAt(p-A,b+M,p-A+k,b+M,p-A,b+M,2),this.v.setTripleAt(p-A,b-M,p-A,b-M+k,p-A,b-M,3))):(this.v.setTripleAt(p+A,b-M+L,p+A,b-M+k,p+A,b-M+L,0,!0),L!==0?(this.v.setTripleAt(p+A-L,b-M,p+A-L,b-M,p+A-k,b-M,1,!0),this.v.setTripleAt(p-A+L,b-M,p-A+k,b-M,p-A+L,b-M,2,!0),this.v.setTripleAt(p-A,b-M+L,p-A,b-M+L,p-A,b-M+k,3,!0),this.v.setTripleAt(p-A,b+M-L,p-A,b+M-k,p-A,b+M-L,4,!0),this.v.setTripleAt(p-A+L,b+M,p-A+L,b+M,p-A+k,b+M,5,!0),this.v.setTripleAt(p+A-L,b+M,p+A-k,b+M,p+A-L,b+M,6,!0),this.v.setTripleAt(p+A,b+M-L,p+A,b+M-L,p+A,b+M-k,7,!0)):(this.v.setTripleAt(p-A,b-M,p-A+k,b-M,p-A,b-M,1,!0),this.v.setTripleAt(p-A,b+M,p-A,b+M-k,p-A,b+M,2,!0),this.v.setTripleAt(p+A,b+M,p+A-k,b+M,p+A,b+M,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:s},extendPrototype([DynamicPropertyContainer],d),d}();function P(d,y,p){var b;if(p===3||p===4){var A=p===3?y.pt:y.ks,M=A.k;M.length?b=new c(d,y,p):b=new f(d,y,p)}else p===5?b=new u(d,y):p===6?b=new m(d,y):p===7&&(b=new E(d,y));return b.k&&d.addDynamicProperty(b),b}function x(){return f}function g(){return c}var _={};return _.getShapeProp=P,_.getConstructorFunction=x,_.getKeyframedConstructorFunction=g,_}();/*!
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const jsxRuntime=require("react/jsx-runtime"),React=require("react");function r$1(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(i=r$1(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function clsx$1(){for(var e,t,i=0,s="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=r$1(e))&&(s&&(s+=" "),s+=t);return s}const CLASS_PART_SEPARATOR="-";function createClassGroupUtils(e){const t=createClassMap(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=e;function n(o){const f=o.split(CLASS_PART_SEPARATOR);return f[0]===""&&f.length!==1&&f.shift(),getGroupRecursive(f,t)||getGroupIdForArbitraryProperty(o)}function a(o,f){const l=i[o]||[];return f&&s[o]?[...l,...s[o]]:l}return{getClassGroupId:n,getConflictingClassGroupIds:a}}function getGroupRecursive(e,t){var o;if(e.length===0)return t.classGroupId;const i=e[0],s=t.nextPart.get(i),n=s?getGroupRecursive(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;const a=e.join(CLASS_PART_SEPARATOR);return(o=t.validators.find(({validator:f})=>f(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,s={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(e.classGroups),i).forEach(([a,o])=>{processClassesRecursively(o,s,a,t)}),s}function processClassesRecursively(e,t,i,s){e.forEach(n=>{if(typeof n=="string"){const a=n===""?t:getPart(t,n);a.classGroupId=i;return}if(typeof n=="function"){if(isThemeGetter(n)){processClassesRecursively(n(s),t,i,s);return}t.validators.push({validator:n,classGroupId:i});return}Object.entries(n).forEach(([a,o])=>{processClassesRecursively(o,getPart(t,a),i,s)})})}function getPart(e,t){let i=e;return t.split(CLASS_PART_SEPARATOR).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i}function isThemeGetter(e){return e.isThemeGetter}function getPrefixedClassGroupEntries(e,t){return t?e.map(([i,s])=>{const n=s.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([o,f])=>[t+o,f])):a);return[i,n]}):e}function createLruCache(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,i=new Map,s=new Map;function n(a,o){i.set(a,o),t++,t>e&&(t=0,s=i,i=new Map)}return{get(a){let o=i.get(a);if(o!==void 0)return o;if((o=s.get(a))!==void 0)return n(a,o),o},set(a,o){i.has(a)?i.set(a,o):n(a,o)}}}const IMPORTANT_MODIFIER="!";function createParseClassName(e){const{separator:t,experimentalParseClassName:i}=e,s=t.length===1,n=t[0],a=t.length;function o(f){const l=[];let c=0,m=0,E;for(let _=0;_<f.length;_++){let d=f[_];if(c===0){if(d===n&&(s||f.slice(_,_+a)===t)){l.push(f.slice(m,_)),m=_+a;continue}if(d==="/"){E=_;continue}}d==="["?c++:d==="]"&&c--}const u=l.length===0?f:f.substring(m),P=u.startsWith(IMPORTANT_MODIFIER),x=P?u.substring(1):u,g=E&&E>m?E-m:void 0;return{modifiers:l,hasImportantModifier:P,baseClassName:x,maybePostfixModifierPosition:g}}return i?function(l){return i({className:l,parseClassName:o})}:o}function sortModifiers(e){if(e.length<=1)return e;const t=[];let i=[];return e.forEach(s=>{s[0]==="["?(t.push(...i.sort(),s),i=[]):i.push(s)}),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:s,getConflictingClassGroupIds:n}=t,a=new Set;return e.trim().split(SPLIT_CLASSES_REGEX).map(o=>{const{modifiers:f,hasImportantModifier:l,baseClassName:c,maybePostfixModifierPosition:m}=i(o);let E=!!m,u=s(E?c.substring(0,m):c);if(!u){if(!E)return{isTailwindClass:!1,originalClassName:o};if(u=s(c),!u)return{isTailwindClass:!1,originalClassName:o};E=!1}const P=sortModifiers(f).join(":");return{isTailwindClass:!0,modifierId:l?P+IMPORTANT_MODIFIER:P,classGroupId:u,originalClassName:o,hasPostfixModifier:E}}).reverse().filter(o=>{if(!o.isTailwindClass)return!0;const{modifierId:f,classGroupId:l,hasPostfixModifier:c}=o,m=f+l;return a.has(m)?!1:(a.add(m),n(l,c).forEach(E=>a.add(f+E)),!0)}).reverse().map(o=>o.originalClassName).join(" ")}function twJoin(){let e=0,t,i,s="";for(;e<arguments.length;)(t=arguments[e++])&&(i=toValue(t))&&(s&&(s+=" "),s+=i);return s}function toValue(e){if(typeof e=="string")return e;let t,i="";for(let s=0;s<e.length;s++)e[s]&&(t=toValue(e[s]))&&(i&&(i+=" "),i+=t);return i}function createTailwindMerge(e,...t){let i,s,n,a=o;function o(l){const c=t.reduce((m,E)=>E(m),e());return i=createConfigUtils(c),s=i.cache.get,n=i.cache.set,a=f,f(l)}function f(l){const c=s(l);if(c)return c;const m=mergeClassList(l,i);return n(l,m),m}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(e)||stringLengths.has(e)||fractionRegex.test(e)}function isArbitraryLength(e){return getIsArbitraryValue(e,"length",isLengthOnly)}function isNumber(e){return!!e&&!Number.isNaN(Number(e))}function isArbitraryNumber(e){return getIsArbitraryValue(e,"number",isNumber)}function isInteger(e){return!!e&&Number.isInteger(Number(e))}function isPercent(e){return e.endsWith("%")&&isNumber(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 s=arbitraryValueRegex.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):i(s[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"),s=fromTheme("brightness"),n=fromTheme("borderColor"),a=fromTheme("borderRadius"),o=fromTheme("borderSpacing"),f=fromTheme("borderWidth"),l=fromTheme("contrast"),c=fromTheme("grayscale"),m=fromTheme("hueRotate"),E=fromTheme("invert"),u=fromTheme("gap"),P=fromTheme("gradientColorStops"),x=fromTheme("gradientColorStopPositions"),g=fromTheme("inset"),_=fromTheme("margin"),d=fromTheme("opacity"),y=fromTheme("padding"),p=fromTheme("saturate"),b=fromTheme("scale"),A=fromTheme("sepia"),M=fromTheme("skew"),L=fromTheme("space"),k=fromTheme("translate"),B=()=>["auto","contain","none"],Y=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto",isArbitraryValue,t],j=()=>[isArbitraryValue,t],U=()=>["",isLength,isArbitraryLength],X=()=>["auto",isNumber,isArbitraryValue],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],T=()=>["solid","dashed","dotted","double","none"],I=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],C=()=>["start","end","center","between","around","evenly","stretch"],S=()=>["","0",isArbitraryValue],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[isNumber,isArbitraryNumber],H=()=>[isNumber,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:F(),borderColor:[e],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:j(),borderWidth:U(),contrast:F(),grayscale:S(),hueRotate:H(),invert:S(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:Z(),margin:Z(),opacity:F(),padding:j(),saturate:F(),scale:F(),sepia:S(),skew:H(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"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:[...z(),isArbitraryValue]}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],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:S()}],shrink:[{shrink:S()}],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":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"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:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...C()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...C(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...C(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[_]}],mx:[{mx:[_]}],my:[{my:[_]}],ms:[{ms:[_]}],me:[{me:[_]}],mt:[{mt:[_]}],mr:[{mr:[_]}],mb:[{mb:[_]}],ml:[{ml:[_]}],"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,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":[d]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[d]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...T(),"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:j()}],"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":[d]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),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:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],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:[f]}],"border-w-x":[{"border-x":[f]}],"border-w-y":[{"border-y":[f]}],"border-w-s":[{"border-s":[f]}],"border-w-e":[{"border-e":[f]}],"border-w-t":[{"border-t":[f]}],"border-w-r":[{"border-r":[f]}],"border-w-b":[{"border-b":[f]}],"border-w-l":[{"border-l":[f]}],"border-opacity":[{"border-opacity":[d]}],"border-style":[{border:[...T(),"hidden"]}],"divide-x":[{"divide-x":[f]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[f]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[d]}],"divide-style":[{divide:T()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...T()]}],"outline-offset":[{"outline-offset":[isLength,isArbitraryValue]}],"outline-w":[{outline:[isLength,isArbitraryLength]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[d]}],"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:[d]}],"mix-blend":[{"mix-blend":[...I(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":I()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[s]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[E]}],saturate:[{saturate:[p]}],sepia:[{sepia:[A]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[E]}],"backdrop-opacity":[{"backdrop-opacity":[d]}],"backdrop-saturate":[{"backdrop-saturate":[p]}],"backdrop-sepia":[{"backdrop-sepia":[A]}],"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:H()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[isInteger,isArbitraryValue]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"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":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"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$1(e));function r(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(i=r(e[t]))&&(s&&(s+=" "),s+=i);else for(t in e)e[t]&&(s&&(s+=" "),s+=t);return s}function clsx(){for(var e,t,i=0,s="";i<arguments.length;)(e=arguments[i++])&&(t=r(e))&&(s&&(s+=" "),s+=t);return s}const falsyToString=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,cx=clsx,cva=(e,t)=>i=>{var s;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:n,defaultVariants:a}=t,o=Object.keys(n).map(c=>{const m=i==null?void 0:i[c],E=a==null?void 0:a[c];if(m===null)return null;const u=falsyToString(m)||falsyToString(E);return n[c][u]}),f=i&&Object.entries(i).reduce((c,m)=>{let[E,u]=m;return u===void 0||(c[E]=u),c},{}),l=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((c,m)=>{let{class:E,className:u,...P}=m;return Object.entries(P).every(x=>{let[g,_]=x;return Array.isArray(_)?_.includes({...a,...f}[g]):{...a,...f}[g]===_})?[...c,E,u]:c},[]);return cx(e,o,l,i==null?void 0:i.class,i==null?void 0:i.className)};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 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,s=e.length,n;for(i=0;i<s;i+=1){n=e[i].prototype;for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t.prototype[a]=n[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,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].pause()},resume:function(){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].resume()},setRate:function(i){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].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,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(i,s){var n=0,a=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(n=0;n<s;n+=1)a.push(o);return a}function t(i,s){return i==="float32"?new Float32Array(s):i==="int16"?new Int16Array(s):i==="uint8c"?new Uint8ClampedArray(s):e(i,s)}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),s,n=e.length;for(s=0;s<n;s+=1)i[s]=Math.abs(e[s]);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,s){this.type=e,this.currentTime=t,this.totalTime=i,this.direction=s<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,i,s){this.type=e,this.currentLoop=i,this.totalLoops=t,this.direction=s<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 s,n,a,o,f,l,c,m;switch(o=Math.floor(e*6),f=e*6-o,l=i*(1-t),c=i*(1-f*t),m=i*(1-(1-f)*t),o%6){case 0:s=i,n=m,a=l;break;case 1:s=c,n=i,a=l;break;case 2:s=l,n=i,a=m;break;case 3:s=l,n=c,a=i;break;case 4:s=m,n=l,a=i;break;case 5:s=i,n=l,a=c;break}return[s,n,a]}function RGBtoHSV(e,t,i){var s=Math.max(e,t,i),n=Math.min(e,t,i),a=s-n,o,f=s===0?0:a/s,l=s/255;switch(s){case n: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,f,l]}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(s,n,a){return s<0&&(s=0),n<0&&(n=0),a<0&&(a=0),"#"+e[s]+e[n]+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,s,n={onmessage:function(){},postMessage:function(P){i({data:P})}},a={postMessage:function(P){n.onmessage({data:P})}};function o(u){if(window.Worker&&window.Blob&&getWebWorker()){var P=new Blob(["var _workerSelf = self; self.onmessage = ",u.toString()],{type:"text/javascript"}),x=URL.createObjectURL(P);return new Worker(x)}return i=u,n}function f(){s||(s=o(function(P){function x(){function _(z,T){var I,C,S=z.length,V,F,H,q;for(C=0;C<S;C+=1)if(I=z[C],"ks"in I&&!I.completed){if(I.completed=!0,I.hasMask){var $=I.masksProperties;for(F=$.length,V=0;V<F;V+=1)if($[V].pt.k.i)A($[V].pt.k);else for(q=$[V].pt.k.length,H=0;H<q;H+=1)$[V].pt.k[H].s&&A($[V].pt.k[H].s[0]),$[V].pt.k[H].e&&A($[V].pt.k[H].e[0])}I.ty===0?(I.layers=p(I.refId,T),_(I.layers,T)):I.ty===4?b(I.shapes):I.ty===5&&U(I)}}function d(z,T){if(z){var I=0,C=z.length;for(I=0;I<C;I+=1)z[I].t===1&&(z[I].data.layers=p(z[I].data.refId,T),_(z[I].data.layers,T))}}function y(z,T){for(var I=0,C=T.length;I<C;){if(T[I].id===z)return T[I];I+=1}return null}function p(z,T){var I=y(z,T);return I?I.layers.__used?JSON.parse(JSON.stringify(I.layers)):(I.layers.__used=!0,I.layers):null}function b(z){var T,I=z.length,C,S;for(T=I-1;T>=0;T-=1)if(z[T].ty==="sh")if(z[T].ks.k.i)A(z[T].ks.k);else for(S=z[T].ks.k.length,C=0;C<S;C+=1)z[T].ks.k[C].s&&A(z[T].ks.k[C].s[0]),z[T].ks.k[C].e&&A(z[T].ks.k[C].e[0]);else z[T].ty==="gr"&&b(z[T].it)}function A(z){var T,I=z.i.length;for(T=0;T<I;T+=1)z.i[T][0]+=z.v[T][0],z.i[T][1]+=z.v[T][1],z.o[T][0]+=z.v[T][0],z.o[T][1]+=z.v[T][1]}function M(z,T){var I=T?T.split("."):[100,100,100];return z[0]>I[0]?!0:I[0]>z[0]?!1:z[1]>I[1]?!0:I[1]>z[1]?!1:z[2]>I[2]?!0:I[2]>z[2]?!1:null}var L=function(){var z=[4,4,14];function T(C){var S=C.t.d;C.t.d={k:[{s:S,t:0}]}}function I(C){var S,V=C.length;for(S=0;S<V;S+=1)C[S].ty===5&&T(C[S])}return function(C){if(M(z,C.v)&&(I(C.layers),C.assets)){var S,V=C.assets.length;for(S=0;S<V;S+=1)C.assets[S].layers&&I(C.assets[S].layers)}}}(),k=function(){var z=[4,7,99];return function(T){if(T.chars&&!M(z,T.v)){var I,C=T.chars.length;for(I=0;I<C;I+=1){var S=T.chars[I];S.data&&S.data.shapes&&(b(S.data.shapes),S.data.ip=0,S.data.op=99999,S.data.st=0,S.data.sr=1,S.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}},T.chars[I].t||(S.data.shapes.push({ty:"no"}),S.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"})))}}}}(),B=function(){var z=[5,7,15];function T(C){var S=C.t.p;typeof S.a=="number"&&(S.a={a:0,k:S.a}),typeof S.p=="number"&&(S.p={a:0,k:S.p}),typeof S.r=="number"&&(S.r={a:0,k:S.r})}function I(C){var S,V=C.length;for(S=0;S<V;S+=1)C[S].ty===5&&T(C[S])}return function(C){if(M(z,C.v)&&(I(C.layers),C.assets)){var S,V=C.assets.length;for(S=0;S<V;S+=1)C.assets[S].layers&&I(C.assets[S].layers)}}}(),Y=function(){var z=[4,1,9];function T(C){var S,V=C.length,F,H;for(S=0;S<V;S+=1)if(C[S].ty==="gr")T(C[S].it);else if(C[S].ty==="fl"||C[S].ty==="st")if(C[S].c.k&&C[S].c.k[0].i)for(H=C[S].c.k.length,F=0;F<H;F+=1)C[S].c.k[F].s&&(C[S].c.k[F].s[0]/=255,C[S].c.k[F].s[1]/=255,C[S].c.k[F].s[2]/=255,C[S].c.k[F].s[3]/=255),C[S].c.k[F].e&&(C[S].c.k[F].e[0]/=255,C[S].c.k[F].e[1]/=255,C[S].c.k[F].e[2]/=255,C[S].c.k[F].e[3]/=255);else C[S].c.k[0]/=255,C[S].c.k[1]/=255,C[S].c.k[2]/=255,C[S].c.k[3]/=255}function I(C){var S,V=C.length;for(S=0;S<V;S+=1)C[S].ty===4&&T(C[S].shapes)}return function(C){if(M(z,C.v)&&(I(C.layers),C.assets)){var S,V=C.assets.length;for(S=0;S<V;S+=1)C.assets[S].layers&&I(C.assets[S].layers)}}}(),Z=function(){var z=[4,4,18];function T(C){var S,V=C.length,F,H;for(S=V-1;S>=0;S-=1)if(C[S].ty==="sh")if(C[S].ks.k.i)C[S].ks.k.c=C[S].closed;else for(H=C[S].ks.k.length,F=0;F<H;F+=1)C[S].ks.k[F].s&&(C[S].ks.k[F].s[0].c=C[S].closed),C[S].ks.k[F].e&&(C[S].ks.k[F].e[0].c=C[S].closed);else C[S].ty==="gr"&&T(C[S].it)}function I(C){var S,V,F=C.length,H,q,$,J;for(V=0;V<F;V+=1){if(S=C[V],S.hasMask){var re=S.masksProperties;for(q=re.length,H=0;H<q;H+=1)if(re[H].pt.k.i)re[H].pt.k.c=re[H].cl;else for(J=re[H].pt.k.length,$=0;$<J;$+=1)re[H].pt.k[$].s&&(re[H].pt.k[$].s[0].c=re[H].cl),re[H].pt.k[$].e&&(re[H].pt.k[$].e[0].c=re[H].cl)}S.ty===4&&T(S.shapes)}}return function(C){if(M(z,C.v)&&(I(C.layers),C.assets)){var S,V=C.assets.length;for(S=0;S<V;S+=1)C.assets[S].layers&&I(C.assets[S].layers)}}}();function j(z){z.__complete||(Y(z),L(z),k(z),B(z),Z(z),_(z.layers,z.assets),d(z.chars,z.assets),z.__complete=!0)}function U(z){z.t.a.length===0&&"m"in z.t.p}var X={};return X.completeData=j,X.checkColors=Y,X.checkChars=k,X.checkPathProperties=B,X.checkShapes=Z,X.completeLayers=_,X}if(a.dataManager||(a.dataManager=x()),a.assetLoader||(a.assetLoader=function(){function _(y){var p=y.getResponseHeader("content-type");return p&&y.responseType==="json"&&p.indexOf("json")!==-1||y.response&&_typeof$5(y.response)==="object"?y.response:y.response&&typeof y.response=="string"?JSON.parse(y.response):y.responseText?JSON.parse(y.responseText):null}function d(y,p,b,A){var M,L=new XMLHttpRequest;try{L.responseType="json"}catch{}L.onreadystatechange=function(){if(L.readyState===4)if(L.status===200)M=_(L),b(M);else try{M=_(L),b(M)}catch(k){A&&A(k)}};try{L.open(["G","E","T"].join(""),y,!0)}catch{L.open(["G","E","T"].join(""),p+"/"+y,!0)}L.send()}return{load:d}}()),P.data.type==="loadAnimation")a.assetLoader.load(P.data.path,P.data.fullPath,function(_){a.dataManager.completeData(_),a.postMessage({id:P.data.id,payload:_,status:"success"})},function(){a.postMessage({id:P.data.id,status:"error"})});else if(P.data.type==="complete"){var g=P.data.animation;a.dataManager.completeData(g),a.postMessage({id:P.data.id,payload:g,status:"success"})}else P.data.type==="loadData"&&a.assetLoader.load(P.data.path,P.data.fullPath,function(_){a.postMessage({id:P.data.id,payload:_,status:"success"})},function(){a.postMessage({id:P.data.id,status:"error"})})}),s.onmessage=function(u){var P=u.data,x=P.id,g=t[x];t[x]=null,P.status==="success"?g.onComplete(P.payload):g.onError&&g.onError()})}function l(u,P){e+=1;var x="processId_"+e;return t[x]={onComplete:u,onError:P},x}function c(u,P,x){f();var g=l(P,x);s.postMessage({type:"loadAnimation",path:u,fullPath:window.location.origin+window.location.pathname,id:g})}function m(u,P,x){f();var g=l(P,x);s.postMessage({type:"loadData",path:u,fullPath:window.location.origin+window.location.pathname,id:g})}function E(u,P,x){f();var g=l(P,x);s.postMessage({type:"complete",animation:u,id:g})}return{loadAnimation:c,loadData:m,completeAnimation:E}}(),ImagePreloader=function(){var e=function(){var d=createTag("canvas");d.width=1,d.height=1;var y=d.getContext("2d");return y.fillStyle="rgba(0,0,0,0)",y.fillRect(0,0,1,1),d}();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 s(d,y,p){var b="";if(d.e)b=d.p;else if(y){var A=d.p;A.indexOf("images/")!==-1&&(A=A.split("/")[1]),b=y+A}else b=p,b+=d.u?d.u:"",b+=d.p;return b}function n(d){var y=0,p=setInterval((function(){var b=d.getBBox();(b.width||y>500)&&(this._imageLoaded(),clearInterval(p)),y+=1}).bind(this),50)}function a(d){var y=s(d,this.assetsPath,this.path),p=createNS("image");isSafari?this.testImageLoaded(p):p.addEventListener("load",this._imageLoaded,!1),p.addEventListener("error",(function(){b.img=e,this._imageLoaded()}).bind(this),!1),p.setAttributeNS("http://www.w3.org/1999/xlink","href",y),this._elementHelper.append?this._elementHelper.append(p):this._elementHelper.appendChild(p);var b={img:p,assetData:d};return b}function o(d){var y=s(d,this.assetsPath,this.path),p=createTag("img");p.crossOrigin="anonymous",p.addEventListener("load",this._imageLoaded,!1),p.addEventListener("error",(function(){b.img=e,this._imageLoaded()}).bind(this),!1),p.src=y;var b={img:p,assetData:d};return b}function f(d){var y={assetData:d},p=s(d,this.assetsPath,this.path);return dataManager.loadData(p,(function(b){y.img=b,this._footageLoaded()}).bind(this),(function(){y.img={},this._footageLoaded()}).bind(this)),y}function l(d,y){this.imagesLoadedCb=y;var p,b=d.length;for(p=0;p<b;p+=1)d[p].layers||(!d[p].t||d[p].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(d[p]))):d[p].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(d[p]))))}function c(d){this.path=d||""}function m(d){this.assetsPath=d||""}function E(d){for(var y=0,p=this.images.length;y<p;){if(this.images[y].assetData===d)return this.images[y].img;y+=1}return null}function u(){this.imagesLoadedCb=null,this.images.length=0}function P(){return this.totalImages===this.loadedAssets}function x(){return this.totalFootages===this.loadedFootagesCount}function g(d,y){d==="svg"?(this._elementHelper=y,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function _(){this._imageLoaded=t.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=f.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return _.prototype={loadAssets:l,setAssetsPath:m,setPath:c,loadedImages:P,loadedFootages:x,destroy:u,getAsset:E,createImgData:o,createImageData:a,imageLoaded:t,footageLoaded:i,setCacheType:g},_}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,i){if(this._cbs[t])for(var s=this._cbs[t],n=0;n<s.length;n+=1)s[n](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 s=0,n=this._cbs[t].length;s<n;)this._cbs[t][s]===i&&(this._cbs[t].splice(s,1),s-=1,n-=1),s+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var i=t.split(`\r
2
+ `),s={},n,a=0,o=0;o<i.length;o+=1)n=i[o].split(":"),n.length===2&&(s[n[0]]=n[1].trim(),a+=1);if(a===0)throw new Error;return s}return function(t){for(var i=[],s=0;s<t.length;s+=1){var n=t[s],a={time:n.tm,duration:n.dr};try{a.payload=JSON.parse(t[s].cm)}catch{try{a.payload=e(t[s].cm)}catch{a.payload={name:t[s].cm}}}i.push(a)}return i}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(i){for(var s=0,n=this.compositions.length;s<n;){if(this.compositions[s].data&&this.compositions[s].data.nm===i)return this.compositions[s].prepareFrame&&this.compositions[s].data.xt&&this.compositions[s].prepareFrame(this.currentFrame),this.compositions[s].compInterface;s+=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},s=e.attributes;i.path=s.getNamedItem("data-animation-path")?s.getNamedItem("data-animation-path").value:s.getNamedItem("data-bm-path")?s.getNamedItem("data-bm-path").value:s.getNamedItem("bm-path")?s.getNamedItem("bm-path").value:"",i.animType=s.getNamedItem("data-anim-type")?s.getNamedItem("data-anim-type").value:s.getNamedItem("data-bm-type")?s.getNamedItem("data-bm-type").value:s.getNamedItem("bm-type")?s.getNamedItem("bm-type").value:s.getNamedItem("data-bm-renderer")?s.getNamedItem("data-bm-renderer").value:s.getNamedItem("bm-renderer")?s.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var n=s.getNamedItem("data-anim-loop")?s.getNamedItem("data-anim-loop").value:s.getNamedItem("data-bm-loop")?s.getNamedItem("data-bm-loop").value:s.getNamedItem("bm-loop")?s.getNamedItem("bm-loop").value:"";n==="false"?i.loop=!1:n==="true"?i.loop=!0:n!==""&&(i.loop=parseInt(n,10));var a=s.getNamedItem("data-anim-autoplay")?s.getNamedItem("data-anim-autoplay").value:s.getNamedItem("data-bm-autoplay")?s.getNamedItem("data-bm-autoplay").value:s.getNamedItem("bm-autoplay")?s.getNamedItem("bm-autoplay").value:!0;i.autoplay=a!=="false",i.name=s.getNamedItem("data-name")?s.getNamedItem("data-name").value:s.getNamedItem("data-bm-name")?s.getNamedItem("data-bm-name").value:s.getNamedItem("bm-name")?s.getNamedItem("bm-name").value:"";var o=s.getNamedItem("data-anim-prerender")?s.getNamedItem("data-anim-prerender").value:s.getNamedItem("data-bm-prerender")?s.getNamedItem("data-bm-prerender").value:s.getNamedItem("bm-prerender")?s.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,s=t.length,n=e.layers,a,o=n.length;for(a=0;a<o;a+=1)for(i=0;i<s;){if(t[i].id===n[a].id){t[i]=n[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(s=e.assets.length,i=0;i<s;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,s=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(i,s)},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 s=Number(e);if(isNaN(s)){var n=this.getMarkerData(e);n&&this.goToAndStop(n.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 s=Number(e);if(isNaN(s)){var n=this.getMarkerData(e);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n.time,!0))}else this.goToAndStop(s,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,s=e.length;for(i=0;i<s;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 s=this.renderer.getElementByPath(e);s.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,s=0,n=0,a=!0,o=!1;function f(T){for(var I=0,C=T.target;I<s;)t[I].animation===C&&(t.splice(I,1),I-=1,s-=1,C.isPaused||E()),I+=1}function l(T,I){if(!T)return null;for(var C=0;C<s;){if(t[C].elem===T&&t[C].elem!==null)return t[C].animation;C+=1}var S=new AnimationItem;return u(S,T),S.setData(T,I),S}function c(){var T,I=t.length,C=[];for(T=0;T<I;T+=1)C.push(t[T].animation);return C}function m(){n+=1,Y()}function E(){n-=1}function u(T,I){T.addEventListener("destroy",f),T.addEventListener("_active",m),T.addEventListener("_idle",E),t.push({elem:I,animation:T}),s+=1}function P(T){var I=new AnimationItem;return u(I,null),I.setParams(T),I}function x(T,I){var C;for(C=0;C<s;C+=1)t[C].animation.setSpeed(T,I)}function g(T,I){var C;for(C=0;C<s;C+=1)t[C].animation.setDirection(T,I)}function _(T){var I;for(I=0;I<s;I+=1)t[I].animation.play(T)}function d(T){var I=T-i,C;for(C=0;C<s;C+=1)t[C].animation.advanceTime(I);i=T,n&&!o?window.requestAnimationFrame(d):a=!0}function y(T){i=T,window.requestAnimationFrame(d)}function p(T){var I;for(I=0;I<s;I+=1)t[I].animation.pause(T)}function b(T,I,C){var S;for(S=0;S<s;S+=1)t[S].animation.goToAndStop(T,I,C)}function A(T){var I;for(I=0;I<s;I+=1)t[I].animation.stop(T)}function M(T){var I;for(I=0;I<s;I+=1)t[I].animation.togglePause(T)}function L(T){var I;for(I=s-1;I>=0;I-=1)t[I].animation.destroy(T)}function k(T,I,C){var S=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),V,F=S.length;for(V=0;V<F;V+=1)C&&S[V].setAttribute("data-bm-type",C),l(S[V],T);if(I&&F===0){C||(C="svg");var H=document.getElementsByTagName("body")[0];H.innerText="";var q=createTag("div");q.style.width="100%",q.style.height="100%",q.setAttribute("data-bm-type",C),H.appendChild(q),l(q,T)}}function B(){var T;for(T=0;T<s;T+=1)t[T].animation.resize()}function Y(){!o&&n&&a&&(window.requestAnimationFrame(y),a=!1)}function Z(){o=!0}function j(){o=!1,Y()}function U(T,I){var C;for(C=0;C<s;C+=1)t[C].animation.setVolume(T,I)}function X(T){var I;for(I=0;I<s;I+=1)t[I].animation.mute(T)}function z(T){var I;for(I=0;I<s;I+=1)t[I].animation.unmute(T)}return e.registerAnimation=l,e.loadAnimation=P,e.setSpeed=x,e.setDirection=g,e.play=_,e.pause=p,e.stop=A,e.togglePause=M,e.searchAnimations=k,e.resize=B,e.goToAndStop=b,e.destroy=L,e.freeze=Z,e.unfreeze=j,e.setVolume=U,e.mute=X,e.unmute=z,e.getRegisteredAnimations=c,e}(),BezierFactory=function(){var e={};e.getBezierEasing=i;var t={};function i(y,p,b,A,M){var L=M||("bez_"+y+"_"+p+"_"+b+"_"+A).replace(/\./g,"p");if(t[L])return t[L];var k=new d([y,p,b,A]);return t[L]=k,k}var s=4,n=.001,a=1e-7,o=10,f=11,l=1/(f-1),c=typeof Float32Array=="function";function m(y,p){return 1-3*p+3*y}function E(y,p){return 3*p-6*y}function u(y){return 3*y}function P(y,p,b){return((m(p,b)*y+E(p,b))*y+u(p))*y}function x(y,p,b){return 3*m(p,b)*y*y+2*E(p,b)*y+u(p)}function g(y,p,b,A,M){var L,k,B=0;do k=p+(b-p)/2,L=P(k,A,M)-y,L>0?b=k:p=k;while(Math.abs(L)>a&&++B<o);return k}function _(y,p,b,A){for(var M=0;M<s;++M){var L=x(p,b,A);if(L===0)return p;var k=P(p,b,A)-y;p-=k/L}return p}function d(y){this._p=y,this._mSampleValues=c?new Float32Array(f):new Array(f),this._precomputed=!1,this.get=this.get.bind(this)}return d.prototype={get:function(p){var b=this._p[0],A=this._p[1],M=this._p[2],L=this._p[3];return this._precomputed||this._precompute(),b===A&&M===L?p:p===0?0:p===1?1:P(this._getTForX(p),A,L)},_precompute:function(){var p=this._p[0],b=this._p[1],A=this._p[2],M=this._p[3];this._precomputed=!0,(p!==b||A!==M)&&this._calcSampleValues()},_calcSampleValues:function(){for(var p=this._p[0],b=this._p[2],A=0;A<f;++A)this._mSampleValues[A]=P(A*l,p,b)},_getTForX:function(p){for(var b=this._p[0],A=this._p[2],M=this._mSampleValues,L=0,k=1,B=f-1;k!==B&&M[k]<=p;++k)L+=l;--k;var Y=(p-M[k])/(M[k+1]-M[k]),Z=L+Y*l,j=x(Z,b,A);return j>=n?_(p,Z,b,A):j===0?Z:g(p,L,L+l,b,A)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,i){var s=0,n=e,a=createSizedArray(n),o={newElement:f,release:l};function f(){var c;return s?(s-=1,c=a[s]):c=t(),c}function l(c){s===n&&(a=pooling.double(a),n*=2),i&&i(c),a[s]=c,s+=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 s,n=i.lengths.length;for(s=0;s<n;s+=1)bezierLengthPool.release(i.lengths[s]);i.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(u,P,x,g,_,d){var y=u*g+P*_+x*d-_*g-d*u-x*P;return y>-.001&&y<.001}function i(u,P,x,g,_,d,y,p,b){if(x===0&&d===0&&b===0)return t(u,P,g,_,y,p);var A=e.sqrt(e.pow(g-u,2)+e.pow(_-P,2)+e.pow(d-x,2)),M=e.sqrt(e.pow(y-u,2)+e.pow(p-P,2)+e.pow(b-x,2)),L=e.sqrt(e.pow(y-g,2)+e.pow(p-_,2)+e.pow(b-d,2)),k;return A>M?A>L?k=A-M-L:k=L-M-A:L>M?k=L-M-A:k=M-A-L,k>-1e-4&&k<1e-4}var s=function(){return function(u,P,x,g){var _=getDefaultCurveSegments(),d,y,p,b,A,M=0,L,k=[],B=[],Y=bezierLengthPool.newElement();for(p=x.length,d=0;d<_;d+=1){for(A=d/(_-1),L=0,y=0;y<p;y+=1)b=bmPow(1-A,3)*u[y]+3*bmPow(1-A,2)*A*x[y]+3*(1-A)*bmPow(A,2)*g[y]+bmPow(A,3)*P[y],k[y]=b,B[y]!==null&&(L+=bmPow(k[y]-B[y],2)),B[y]=k[y];L&&(L=bmSqrt(L),M+=L),Y.percents[d]=A,Y.lengths[d]=M}return Y.addedLength=M,Y}}();function n(u){var P=segmentsLengthPool.newElement(),x=u.c,g=u.v,_=u.o,d=u.i,y,p=u._length,b=P.lengths,A=0;for(y=0;y<p-1;y+=1)b[y]=s(g[y],g[y+1],_[y],d[y+1]),A+=b[y].addedLength;return x&&p&&(b[y]=s(g[y],g[0],_[y],d[0]),A+=b[y].addedLength),P.totalLength=A,P}function a(u){this.segmentLength=0,this.points=new Array(u)}function o(u,P){this.partialLength=u,this.point=P}var f=function(){var u={};return function(P,x,g,_){var d=(P[0]+"_"+P[1]+"_"+x[0]+"_"+x[1]+"_"+g[0]+"_"+g[1]+"_"+_[0]+"_"+_[1]).replace(/\./g,"p");if(!u[d]){var y=getDefaultCurveSegments(),p,b,A,M,L,k=0,B,Y,Z=null;P.length===2&&(P[0]!==x[0]||P[1]!==x[1])&&t(P[0],P[1],x[0],x[1],P[0]+g[0],P[1]+g[1])&&t(P[0],P[1],x[0],x[1],x[0]+_[0],x[1]+_[1])&&(y=2);var j=new a(y);for(A=g.length,p=0;p<y;p+=1){for(Y=createSizedArray(A),L=p/(y-1),B=0,b=0;b<A;b+=1)M=bmPow(1-L,3)*P[b]+3*bmPow(1-L,2)*L*(P[b]+g[b])+3*(1-L)*bmPow(L,2)*(x[b]+_[b])+bmPow(L,3)*x[b],Y[b]=M,Z!==null&&(B+=bmPow(Y[b]-Z[b],2));B=bmSqrt(B),k+=B,j.points[p]=new o(B,Y),Z=Y}j.segmentLength=k,u[d]=j}return u[d]}}();function l(u,P){var x=P.percents,g=P.lengths,_=x.length,d=bmFloor((_-1)*u),y=u*P.addedLength,p=0;if(d===_-1||d===0||y===g[d])return x[d];for(var b=g[d]>y?-1:1,A=!0;A;)if(g[d]<=y&&g[d+1]>y?(p=(y-g[d])/(g[d+1]-g[d]),A=!1):d+=b,d<0||d>=_-1){if(d===_-1)return x[d];A=!1}return x[d]+(x[d+1]-x[d])*p}function c(u,P,x,g,_,d){var y=l(_,d),p=1-y,b=e.round((p*p*p*u[0]+(y*p*p+p*y*p+p*p*y)*x[0]+(y*y*p+p*y*y+y*p*y)*g[0]+y*y*y*P[0])*1e3)/1e3,A=e.round((p*p*p*u[1]+(y*p*p+p*y*p+p*p*y)*x[1]+(y*y*p+p*y*y+y*p*y)*g[1]+y*y*y*P[1])*1e3)/1e3;return[b,A]}var m=createTypedArray("float32",8);function E(u,P,x,g,_,d,y){_<0?_=0:_>1&&(_=1);var p=l(_,y);d=d>1?1:d;var b=l(d,y),A,M=u.length,L=1-p,k=1-b,B=L*L*L,Y=p*L*L*3,Z=p*p*L*3,j=p*p*p,U=L*L*k,X=p*L*k+L*p*k+L*L*b,z=p*p*k+L*p*b+p*L*b,T=p*p*b,I=L*k*k,C=p*k*k+L*b*k+L*k*b,S=p*b*k+L*b*b+p*k*b,V=p*b*b,F=k*k*k,H=b*k*k+k*b*k+k*k*b,q=b*b*k+k*b*b+b*k*b,$=b*b*b;for(A=0;A<M;A+=1)m[A*4]=e.round((B*u[A]+Y*x[A]+Z*g[A]+j*P[A])*1e3)/1e3,m[A*4+1]=e.round((U*u[A]+X*x[A]+z*g[A]+T*P[A])*1e3)/1e3,m[A*4+2]=e.round((I*u[A]+C*x[A]+S*g[A]+V*P[A])*1e3)/1e3,m[A*4+3]=e.round((F*u[A]+H*x[A]+q*g[A]+$*P[A])*1e3)/1e3;return m}return{getSegmentsLength:n,getNewSegment:E,getPointInSegment:c,buildBezierData:f,pointOnLine2D:t,pointOnLine3D:i}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var i=this.offsetTime,s;this.propType==="multidimensional"&&(s=createTypedArray("float32",this.pv.length));for(var n=t.lastIndex,a=n,o=this.keyframes.length-1,f=!0,l,c,m;f;){if(l=this.keyframes[a],c=this.keyframes[a+1],a===o-1&&e>=c.t-i){l.h&&(l=c),n=0;break}if(c.t-i>e){n=a;break}a<o-1?a+=1:(n=0,f=!1)}m=this.keyframesMetadata[a]||{};var E,u,P,x,g,_,d=c.t-i,y=l.t-i,p;if(l.to){m.bezierData||(m.bezierData=bez.buildBezierData(l.s,c.s||l.e,l.to,l.ti));var b=m.bezierData;if(e>=d||e<y){var A=e>=d?b.points.length-1:0;for(u=b.points[A].point.length,E=0;E<u;E+=1)s[E]=b.points[A].point[E]}else{m.__fnct?_=m.__fnct:(_=BezierFactory.getBezierEasing(l.o.x,l.o.y,l.i.x,l.i.y,l.n).get,m.__fnct=_),P=_((e-y)/(d-y));var M=b.segmentLength*P,L,k=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastAddedLength:0;for(g=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastPoint:0,f=!0,x=b.points.length;f;){if(k+=b.points[g].partialLength,M===0||P===0||g===b.points.length-1){for(u=b.points[g].point.length,E=0;E<u;E+=1)s[E]=b.points[g].point[E];break}else if(M>=k&&M<k+b.points[g+1].partialLength){for(L=(M-k)/b.points[g+1].partialLength,u=b.points[g].point.length,E=0;E<u;E+=1)s[E]=b.points[g].point[E]+(b.points[g+1].point[E]-b.points[g].point[E])*L;break}g<x-1?g+=1:f=!1}t._lastPoint=g,t._lastAddedLength=k-b.points[g].partialLength,t._lastKeyframeIndex=a}}else{var B,Y,Z,j,U;if(o=l.s.length,p=c.s||l.e,this.sh&&l.h!==1)if(e>=d)s[0]=p[0],s[1]=p[1],s[2]=p[2];else if(e<=y)s[0]=l.s[0],s[1]=l.s[1],s[2]=l.s[2];else{var X=createQuaternion(l.s),z=createQuaternion(p),T=(e-y)/(d-y);quaternionToEuler(s,slerp(X,z,T))}else for(a=0;a<o;a+=1)l.h!==1&&(e>=d?P=1:e<y?P=0:(l.o.x.constructor===Array?(m.__fnct||(m.__fnct=[]),m.__fnct[a]?_=m.__fnct[a]:(B=l.o.x[a]===void 0?l.o.x[0]:l.o.x[a],Y=l.o.y[a]===void 0?l.o.y[0]:l.o.y[a],Z=l.i.x[a]===void 0?l.i.x[0]:l.i.x[a],j=l.i.y[a]===void 0?l.i.y[0]:l.i.y[a],_=BezierFactory.getBezierEasing(B,Y,Z,j).get,m.__fnct[a]=_)):m.__fnct?_=m.__fnct:(B=l.o.x,Y=l.o.y,Z=l.i.x,j=l.i.y,_=BezierFactory.getBezierEasing(B,Y,Z,j).get,l.keyframeMetadata=_),P=_((e-y)/(d-y)))),p=c.s||l.e,U=l.h===1?l.s[a]:l.s[a]+(p[a]-l.s[a])*P,this.propType==="multidimensional"?s[a]=U:s=U}return t.lastIndex=n,s}function slerp(e,t,i){var s=[],n=e[0],a=e[1],o=e[2],f=e[3],l=t[0],c=t[1],m=t[2],E=t[3],u,P,x,g,_;return P=n*l+a*c+o*m+f*E,P<0&&(P=-P,l=-l,c=-c,m=-m,E=-E),1-P>1e-6?(u=Math.acos(P),x=Math.sin(u),g=Math.sin((1-i)*u)/x,_=Math.sin(i*u)/x):(g=1-i,_=i),s[0]=g*n+_*l,s[1]=g*a+_*c,s[2]=g*o+_*m,s[3]=g*f+_*E,s}function quaternionToEuler(e,t){var i=t[0],s=t[1],n=t[2],a=t[3],o=Math.atan2(2*s*a-2*i*n,1-2*s*s-2*n*n),f=Math.asin(2*i*s+2*n*a),l=Math.atan2(2*i*a-2*s*n,1-2*i*i-2*n*n);e[0]=o/degToRads,e[1]=f/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,i=e[1]*degToRads,s=e[2]*degToRads,n=Math.cos(t/2),a=Math.cos(i/2),o=Math.cos(s/2),f=Math.sin(t/2),l=Math.sin(i/2),c=Math.sin(s/2),m=n*a*o-f*l*c,E=f*l*o+n*a*c,u=f*a*o+n*l*c,P=n*l*o-f*a*c;return[E,u,P,m]}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 s=this.interpolateValue(e,this._caching);this.pv=s}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,s=this.v.length;i<s;)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,s){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=s,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,s){this.propType="multidimensional",this.mult=i||1,this.data=t,this._mdf=!1,this.elem=e,this.container=s,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var n,a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),n=0;n<a;n+=1)this.v[n]=t.k[n]*this.mult,this.pv[n]=t.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,i,s){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=s,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,s){this.propType="multidimensional";var n,a=t.k.length,o,f,l,c;for(n=0;n<a-1;n+=1)t.k[n].to&&t.k[n].s&&t.k[n+1]&&t.k[n+1].s&&(o=t.k[n].s,f=t.k[n+1].s,l=t.k[n].to,c=t.k[n].ti,(o.length===2&&!(o[0]===f[0]&&o[1]===f[1])&&bez.pointOnLine2D(o[0],o[1],f[0],f[1],o[0]+l[0],o[1]+l[1])&&bez.pointOnLine2D(o[0],o[1],f[0],f[1],f[0]+c[0],f[1]+c[1])||o.length===3&&!(o[0]===f[0]&&o[1]===f[1]&&o[2]===f[2])&&bez.pointOnLine3D(o[0],o[1],o[2],f[0],f[1],f[2],o[0]+l[0],o[1]+l[1],o[2]+l[2])&&bez.pointOnLine3D(o[0],o[1],o[2],f[0],f[1],f[2],f[0]+c[0],f[1]+c[1],f[2]+c[2]))&&(t.k[n].to=null,t.k[n].ti=null),o[0]===f[0]&&o[1]===f[1]&&l[0]===0&&l[1]===0&&c[0]===0&&c[1]===0&&(o.length===2||o[2]===f[2]&&l[2]===0&&c[2]===0)&&(t.k[n].to=null,t.k[n].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=s,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var m=t.k[0].s.length;for(this.v=createTypedArray("float32",m),this.pv=createTypedArray("float32",m),n=0;n<m;n+=1)this.v[n]=initFrame,this.pv[n]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",m)},this.addEffect=addEffect}var PropertyFactory=function(){function e(i,s,n,a,o){s.sid&&(s=i.globalData.slotManager.getProp(s));var f;if(!s.k.length)f=new ValueProperty(i,s,a,o);else if(typeof s.k[0]=="number")f=new MultiDimensionalProperty(i,s,a,o);else switch(n){case 0:f=new KeyframedValueProperty(i,s,a,o);break;case 1:f=new KeyframedMultidimensionalProperty(i,s,a,o);break}return f.effectsSequence.length&&o.addDynamicProperty(f),f}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,s,n){var a;switch(this._length=Math.max(this._length,s+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[s]||a[s]&&!n)&&(a[s]=pointPool.newElement()),a[s][0]=e,a[s][1]=t},ShapePath.prototype.setTripleAt=function(e,t,i,s,n,a,o,f){this.setXYAt(e,t,"v",o,f),this.setXYAt(i,s,"o",o,f),this.setXYAt(n,a,"i",o,f)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,i=this.o,s=this.i,n=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),n=1);var a=this._length-1,o=this._length,f;for(f=n;f<o;f+=1)e.setTripleAt(t[a][0],t[a][1],s[a][0],s[a][1],i[a][0],i[a][1],f,!1),a-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(n){var a=n._length,o;for(o=0;o<a;o+=1)pointPool.release(n.v[o]),pointPool.release(n.i[o]),pointPool.release(n.o[o]),n.v[o]=null,n.i[o]=null,n.o[o]=null;n._length=0,n.c=!1}function i(n){var a=s.newElement(),o,f=n._length===void 0?n.v.length:n._length;for(a.setLength(f),a.c=n.c,o=0;o<f;o+=1)a.setTripleAt(n.v[o][0],n.v[o][1],n.o[o][0],n.o[o][1],n.i[o][0],n.i[o][1],o);return a}var s=poolFactory(4,e,t);return s.clone=i,s}();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:n,release:a},t=0,i=4,s=createSizedArray(i);function n(){var o;return t?(t-=1,o=s[t]):o=new ShapeCollection,o}function a(o){var f,l=o._length;for(f=0;f<l;f+=1)shapePool.release(o.shapes[f]);o._length=0,t===i&&(s=pooling.double(s),i*=2),s[t]=o,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(d,y,p){var b=p.lastIndex,A,M,L,k,B,Y,Z,j,U,X=this.keyframes;if(d<X[0].t-this.offsetTime)A=X[0].s[0],L=!0,b=0;else if(d>=X[X.length-1].t-this.offsetTime)A=X[X.length-1].s?X[X.length-1].s[0]:X[X.length-2].e[0],L=!0;else{for(var z=b,T=X.length-1,I=!0,C,S,V;I&&(C=X[z],S=X[z+1],!(S.t-this.offsetTime>d));)z<T-1?z+=1:I=!1;if(V=this.keyframesMetadata[z]||{},L=C.h===1,b=z,!L){if(d>=S.t-this.offsetTime)j=1;else if(d<C.t-this.offsetTime)j=0;else{var F;V.__fnct?F=V.__fnct:(F=BezierFactory.getBezierEasing(C.o.x,C.o.y,C.i.x,C.i.y).get,V.__fnct=F),j=F((d-(C.t-this.offsetTime))/(S.t-this.offsetTime-(C.t-this.offsetTime)))}M=S.s?S.s[0]:C.e[0]}A=C.s[0]}for(Y=y._length,Z=A.i[0].length,p.lastIndex=b,k=0;k<Y;k+=1)for(B=0;B<Z;B+=1)U=L?A.i[k][B]:A.i[k][B]+(M.i[k][B]-A.i[k][B])*j,y.i[k][B]=U,U=L?A.o[k][B]:A.o[k][B]+(M.o[k][B]-A.o[k][B])*j,y.o[k][B]=U,U=L?A.v[k][B]:A.v[k][B]+(M.v[k][B]-A.v[k][B])*j,y.v[k][B]=U}function i(){var d=this.comp.renderedFrame-this.offsetTime,y=this.keyframes[0].t-this.offsetTime,p=this.keyframes[this.keyframes.length-1].t-this.offsetTime,b=this._caching.lastFrame;return b!==e&&(b<y&&d<y||b>p&&d>p)||(this._caching.lastIndex=b<d?this._caching.lastIndex:0,this.interpolateShape(d,this.pv,this._caching)),this._caching.lastFrame=d,this.pv}function s(){this.paths=this.localShapeCollection}function n(d,y){if(d._length!==y._length||d.c!==y.c)return!1;var p,b=d._length;for(p=0;p<b;p+=1)if(d.v[p][0]!==y.v[p][0]||d.v[p][1]!==y.v[p][1]||d.o[p][0]!==y.o[p][0]||d.o[p][1]!==y.o[p][1]||d.i[p][0]!==y.i[p][0]||d.i[p][1]!==y.i[p][1])return!1;return!0}function a(d){n(this.v,d)||(this.v=shapePool.clone(d),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 d;this.kf?d=this.pv:this.data.ks?d=this.data.ks.k:d=this.data.pt.k;var y,p=this.effectsSequence.length;for(y=0;y<p;y+=1)d=this.effectsSequence[y](d);this.setVValue(d),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function f(d,y,p){this.propType="shape",this.comp=d.comp,this.container=d,this.elem=d,this.data=y,this.k=!1,this.kf=!1,this._mdf=!1;var b=p===3?y.pt.k:y.ks.k;this.v=shapePool.clone(b),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function l(d){this.effectsSequence.push(d),this.container.addDynamicProperty(this)}f.prototype.interpolateShape=t,f.prototype.getValue=o,f.prototype.setVValue=a,f.prototype.addEffect=l;function c(d,y,p){this.propType="shape",this.comp=d.comp,this.elem=d,this.container=d,this.offsetTime=d.data.st,this.keyframes=p===3?y.pt.k:y.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var b=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,b),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=s,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[i.bind(this)]}c.prototype.getValue=o,c.prototype.interpolateShape=t,c.prototype.setVValue=a,c.prototype.addEffect=l;var m=function(){var d=roundCorner;function y(p,b){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=b.d,this.elem=p,this.comp=p.comp,this.frameId=-1,this.initDynamicPropertyContainer(p),this.p=PropertyFactory.getProp(p,b.p,1,0,this),this.s=PropertyFactory.getProp(p,b.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return y.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var b=this.p.v[0],A=this.p.v[1],M=this.s.v[0]/2,L=this.s.v[1]/2,k=this.d!==3,B=this.v;B.v[0][0]=b,B.v[0][1]=A-L,B.v[1][0]=k?b+M:b-M,B.v[1][1]=A,B.v[2][0]=b,B.v[2][1]=A+L,B.v[3][0]=k?b-M:b+M,B.v[3][1]=A,B.i[0][0]=k?b-M*d:b+M*d,B.i[0][1]=A-L,B.i[1][0]=k?b+M:b-M,B.i[1][1]=A-L*d,B.i[2][0]=k?b+M*d:b-M*d,B.i[2][1]=A+L,B.i[3][0]=k?b-M:b+M,B.i[3][1]=A+L*d,B.o[0][0]=k?b+M*d:b-M*d,B.o[0][1]=A-L,B.o[1][0]=k?b+M:b-M,B.o[1][1]=A+L*d,B.o[2][0]=k?b-M*d:b+M*d,B.o[2][1]=A+L,B.o[3][0]=k?b-M:b+M,B.o[3][1]=A-L*d}},extendPrototype([DynamicPropertyContainer],y),y}(),E=function(){function d(y,p){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=y,this.comp=y.comp,this.data=p,this.frameId=-1,this.d=p.d,this.initDynamicPropertyContainer(y),p.sy===1?(this.ir=PropertyFactory.getProp(y,p.ir,0,0,this),this.is=PropertyFactory.getProp(y,p.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(y,p.pt,0,0,this),this.p=PropertyFactory.getProp(y,p.p,1,0,this),this.r=PropertyFactory.getProp(y,p.r,0,degToRads,this),this.or=PropertyFactory.getProp(y,p.or,0,0,this),this.os=PropertyFactory.getProp(y,p.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 d.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var p=Math.floor(this.pt.v)*2,b=Math.PI*2/p,A=!0,M=this.or.v,L=this.ir.v,k=this.os.v,B=this.is.v,Y=2*Math.PI*M/(p*2),Z=2*Math.PI*L/(p*2),j,U,X,z,T=-Math.PI/2;T+=this.r.v;var I=this.data.d===3?-1:1;for(this.v._length=0,j=0;j<p;j+=1){U=A?M:L,X=A?k:B,z=A?Y:Z;var C=U*Math.cos(T),S=U*Math.sin(T),V=C===0&&S===0?0:S/Math.sqrt(C*C+S*S),F=C===0&&S===0?0:-C/Math.sqrt(C*C+S*S);C+=+this.p.v[0],S+=+this.p.v[1],this.v.setTripleAt(C,S,C-V*z*X*I,S-F*z*X*I,C+V*z*X*I,S+F*z*X*I,j,!0),A=!A,T+=b*I}},convertPolygonToPath:function(){var p=Math.floor(this.pt.v),b=Math.PI*2/p,A=this.or.v,M=this.os.v,L=2*Math.PI*A/(p*4),k,B=-Math.PI*.5,Y=this.data.d===3?-1:1;for(B+=this.r.v,this.v._length=0,k=0;k<p;k+=1){var Z=A*Math.cos(B),j=A*Math.sin(B),U=Z===0&&j===0?0:j/Math.sqrt(Z*Z+j*j),X=Z===0&&j===0?0:-Z/Math.sqrt(Z*Z+j*j);Z+=+this.p.v[0],j+=+this.p.v[1],this.v.setTripleAt(Z,j,Z-U*L*M*Y,j-X*L*M*Y,Z+U*L*M*Y,j+X*L*M*Y,k,!0),B+=b*Y}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],d),d}(),u=function(){function d(y,p){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=y,this.comp=y.comp,this.frameId=-1,this.d=p.d,this.initDynamicPropertyContainer(y),this.p=PropertyFactory.getProp(y,p.p,1,0,this),this.s=PropertyFactory.getProp(y,p.s,1,0,this),this.r=PropertyFactory.getProp(y,p.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return d.prototype={convertRectToPath:function(){var p=this.p.v[0],b=this.p.v[1],A=this.s.v[0]/2,M=this.s.v[1]/2,L=bmMin(A,M,this.r.v),k=L*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(p+A,b-M+L,p+A,b-M+L,p+A,b-M+k,0,!0),this.v.setTripleAt(p+A,b+M-L,p+A,b+M-k,p+A,b+M-L,1,!0),L!==0?(this.v.setTripleAt(p+A-L,b+M,p+A-L,b+M,p+A-k,b+M,2,!0),this.v.setTripleAt(p-A+L,b+M,p-A+k,b+M,p-A+L,b+M,3,!0),this.v.setTripleAt(p-A,b+M-L,p-A,b+M-L,p-A,b+M-k,4,!0),this.v.setTripleAt(p-A,b-M+L,p-A,b-M+k,p-A,b-M+L,5,!0),this.v.setTripleAt(p-A+L,b-M,p-A+L,b-M,p-A+k,b-M,6,!0),this.v.setTripleAt(p+A-L,b-M,p+A-k,b-M,p+A-L,b-M,7,!0)):(this.v.setTripleAt(p-A,b+M,p-A+k,b+M,p-A,b+M,2),this.v.setTripleAt(p-A,b-M,p-A,b-M+k,p-A,b-M,3))):(this.v.setTripleAt(p+A,b-M+L,p+A,b-M+k,p+A,b-M+L,0,!0),L!==0?(this.v.setTripleAt(p+A-L,b-M,p+A-L,b-M,p+A-k,b-M,1,!0),this.v.setTripleAt(p-A+L,b-M,p-A+k,b-M,p-A+L,b-M,2,!0),this.v.setTripleAt(p-A,b-M+L,p-A,b-M+L,p-A,b-M+k,3,!0),this.v.setTripleAt(p-A,b+M-L,p-A,b+M-k,p-A,b+M-L,4,!0),this.v.setTripleAt(p-A+L,b+M,p-A+L,b+M,p-A+k,b+M,5,!0),this.v.setTripleAt(p+A-L,b+M,p+A-k,b+M,p+A-L,b+M,6,!0),this.v.setTripleAt(p+A,b+M-L,p+A,b+M-L,p+A,b+M-k,7,!0)):(this.v.setTripleAt(p-A,b-M,p-A+k,b-M,p-A,b-M,1,!0),this.v.setTripleAt(p-A,b+M,p-A,b+M-k,p-A,b+M,2,!0),this.v.setTripleAt(p+A,b+M,p+A-k,b+M,p+A,b+M,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:s},extendPrototype([DynamicPropertyContainer],d),d}();function P(d,y,p){var b;if(p===3||p===4){var A=p===3?y.pt:y.ks,M=A.k;M.length?b=new c(d,y,p):b=new f(d,y,p)}else p===5?b=new u(d,y):p===6?b=new m(d,y):p===7&&(b=new E(d,y));return b.k&&d.addDynamicProperty(b),b}function x(){return f}function g(){return c}var _={};return _.getShapeProp=P,_.getConstructorFunction=x,_.getKeyframedConstructorFunction=g,_}();/*!
3
3
  Transformation Matrix v2.0
4
4
  (c) Epistemex 2014-2015
5
5
  www.epistemex.com
6
6
  By Ken Fyrstenberg
7
7
  Contributions by leeoniya.
8
8
  License: MIT, header required.
9
- */var Matrix=function(){var e=Math.cos,t=Math.sin,i=Math.tan,s=Math.round;function n(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(C){if(C===0)return this;var S=e(C),V=t(C);return this._t(S,-V,0,0,V,S,0,0,0,0,1,0,0,0,0,1)}function o(C){if(C===0)return this;var S=e(C),V=t(C);return this._t(1,0,0,0,0,S,-V,0,0,V,S,0,0,0,0,1)}function f(C){if(C===0)return this;var S=e(C),V=t(C);return this._t(S,0,V,0,0,1,0,0,-V,0,S,0,0,0,0,1)}function l(C){if(C===0)return this;var S=e(C),V=t(C);return this._t(S,-V,0,0,V,S,0,0,0,0,1,0,0,0,0,1)}function c(C,S){return this._t(1,S,C,1,0,0)}function m(C,S){return this.shear(i(C),i(S))}function E(C,S){var V=e(S),F=t(S);return this._t(V,F,0,0,-F,V,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(C),1,0,0,0,0,1,0,0,0,0,1)._t(V,-F,0,0,F,V,0,0,0,0,1,0,0,0,0,1)}function u(C,S,V){return!V&&V!==0&&(V=1),C===1&&S===1&&V===1?this:this._t(C,0,0,0,0,S,0,0,0,0,V,0,0,0,0,1)}function P(C,S,V,F,z,q,$,J,re,le,pe,ue,ce,se,oe,te){return this.props[0]=C,this.props[1]=S,this.props[2]=V,this.props[3]=F,this.props[4]=z,this.props[5]=q,this.props[6]=$,this.props[7]=J,this.props[8]=re,this.props[9]=le,this.props[10]=pe,this.props[11]=ue,this.props[12]=ce,this.props[13]=se,this.props[14]=oe,this.props[15]=te,this}function x(C,S,V){return V=V||0,C!==0||S!==0||V!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,C,S,V,1):this}function g(C,S,V,F,z,q,$,J,re,le,pe,ue,ce,se,oe,te){var K=this.props;if(C===1&&S===0&&V===0&&F===0&&z===0&&q===1&&$===0&&J===0&&re===0&&le===0&&pe===1&&ue===0)return K[12]=K[12]*C+K[15]*ce,K[13]=K[13]*q+K[15]*se,K[14]=K[14]*pe+K[15]*oe,K[15]*=te,this._identityCalculated=!1,this;var Ae=K[0],Me=K[1],we=K[2],ge=K[3],Ce=K[4],Pe=K[5],me=K[6],xe=K[7],Te=K[8],be=K[9],_e=K[10],Se=K[11],Ee=K[12],ke=K[13],Le=K[14],Ie=K[15];return K[0]=Ae*C+Me*z+we*re+ge*ce,K[1]=Ae*S+Me*q+we*le+ge*se,K[2]=Ae*V+Me*$+we*pe+ge*oe,K[3]=Ae*F+Me*J+we*ue+ge*te,K[4]=Ce*C+Pe*z+me*re+xe*ce,K[5]=Ce*S+Pe*q+me*le+xe*se,K[6]=Ce*V+Pe*$+me*pe+xe*oe,K[7]=Ce*F+Pe*J+me*ue+xe*te,K[8]=Te*C+be*z+_e*re+Se*ce,K[9]=Te*S+be*q+_e*le+Se*se,K[10]=Te*V+be*$+_e*pe+Se*oe,K[11]=Te*F+be*J+_e*ue+Se*te,K[12]=Ee*C+ke*z+Le*re+Ie*ce,K[13]=Ee*S+ke*q+Le*le+Ie*se,K[14]=Ee*V+ke*$+Le*pe+Ie*oe,K[15]=Ee*F+ke*J+Le*ue+Ie*te,this._identityCalculated=!1,this}function _(C){var S=C.props;return this.transform(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[8],S[9],S[10],S[11],S[12],S[13],S[14],S[15])}function d(){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 y(C){for(var S=0;S<16;){if(C.props[S]!==this.props[S])return!1;S+=1}return!0}function p(C){var S;for(S=0;S<16;S+=1)C.props[S]=this.props[S];return C}function b(C){var S;for(S=0;S<16;S+=1)this.props[S]=C[S]}function A(C,S,V){return{x:C*this.props[0]+S*this.props[4]+V*this.props[8]+this.props[12],y:C*this.props[1]+S*this.props[5]+V*this.props[9]+this.props[13],z:C*this.props[2]+S*this.props[6]+V*this.props[10]+this.props[14]}}function M(C,S,V){return C*this.props[0]+S*this.props[4]+V*this.props[8]+this.props[12]}function L(C,S,V){return C*this.props[1]+S*this.props[5]+V*this.props[9]+this.props[13]}function k(C,S,V){return C*this.props[2]+S*this.props[6]+V*this.props[10]+this.props[14]}function B(){var C=this.props[0]*this.props[5]-this.props[1]*this.props[4],S=this.props[5]/C,V=-this.props[1]/C,F=-this.props[4]/C,z=this.props[0]/C,q=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/C,$=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/C,J=new Matrix;return J.props[0]=S,J.props[1]=V,J.props[4]=F,J.props[5]=z,J.props[12]=q,J.props[13]=$,J}function Y(C){var S=this.getInverseMatrix();return S.applyToPointArray(C[0],C[1],C[2]||0)}function Z(C){var S,V=C.length,F=[];for(S=0;S<V;S+=1)F[S]=Y(C[S]);return F}function j(C,S,V){var F=createTypedArray("float32",6);if(this.isIdentity())F[0]=C[0],F[1]=C[1],F[2]=S[0],F[3]=S[1],F[4]=V[0],F[5]=V[1];else{var z=this.props[0],q=this.props[1],$=this.props[4],J=this.props[5],re=this.props[12],le=this.props[13];F[0]=C[0]*z+C[1]*$+re,F[1]=C[0]*q+C[1]*J+le,F[2]=S[0]*z+S[1]*$+re,F[3]=S[0]*q+S[1]*J+le,F[4]=V[0]*z+V[1]*$+re,F[5]=V[0]*q+V[1]*J+le}return F}function U(C,S,V){var F;return this.isIdentity()?F=[C,S,V]:F=[C*this.props[0]+S*this.props[4]+V*this.props[8]+this.props[12],C*this.props[1]+S*this.props[5]+V*this.props[9]+this.props[13],C*this.props[2]+S*this.props[6]+V*this.props[10]+this.props[14]],F}function X(C,S){if(this.isIdentity())return C+","+S;var V=this.props;return Math.round((C*V[0]+S*V[4]+V[12])*100)/100+","+Math.round((C*V[1]+S*V[5]+V[13])*100)/100}function H(){for(var C=0,S=this.props,V="matrix3d(",F=1e4;C<16;)V+=s(S[C]*F)/F,V+=C===15?")":",",C+=1;return V}function T(C){var S=1e4;return C<1e-6&&C>0||C>-1e-6&&C<0?s(C*S)/S:C}function I(){var C=this.props,S=T(C[0]),V=T(C[1]),F=T(C[4]),z=T(C[5]),q=T(C[12]),$=T(C[13]);return"matrix("+S+","+V+","+F+","+z+","+q+","+$+")"}return function(){this.reset=n,this.rotate=a,this.rotateX=o,this.rotateY=f,this.rotateZ=l,this.skew=m,this.skewFromAxis=E,this.shear=c,this.scale=u,this.setTransform=P,this.translate=x,this.transform=g,this.multiply=_,this.applyToPoint=A,this.applyToX=M,this.applyToY=L,this.applyToZ=k,this.applyToPointArray=U,this.applyToTriplePoints=j,this.applyToPointStringified=X,this.toCSS=H,this.to2dCSS=I,this.clone=p,this.cloneFromProps=b,this.equals=y,this.inversePoints=Z,this.inversePoint=Y,this.getInverseMatrix=B,this._t=this.transform,this.isIdentity=d,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(i){return typeof i}:_typeof$3=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return typeof navigator<"u"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),i=0;i<t.length;i+=1){var s=t[i].split("=");if(decodeURIComponent(s[0])==e)return decodeURIComponent(s[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};e.registerModifier=i,e.getModifier=s;function i(n,a){t[n]||(t[n]=a)}function s(n,a,o){return new t[n](a,o)}return e}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,i,s,n){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var o=[],f,l=a.length,c;for(f=0;f<l;f+=1)if(c=a[f],!(c.e*n<s||c.s*n>s+i)){var m,E;c.s*n<=s?m=0:m=(c.s*n-s)/i,c.e*n>=s+i?E=1:E=(c.e*n-s)/i,o.push([m,E])}return o.length||o.push([0,0]),o},TrimModifier.prototype.releasePathsData=function(e){var t,i=e.length;for(t=0;t<i;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,i;if(this._mdf||e){var s=this.o.v%360/360;if(s<0&&(s+=1),this.s.v>1?t=1+s:this.s.v<0?t=0+s:t=this.s.v+s,this.e.v>1?i=1+s:this.e.v<0?i=0+s:i=this.e.v+s,t>i){var n=t;t=i,i=n}t=Math.round(t*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=t,this.eValue=i}else t=this.sValue,i=this.eValue;var a,o,f=this.shapes.length,l,c,m,E,u,P=0;if(i===t)for(o=0;o<f;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection,this._mdf&&(this.shapes[o].pathsData.length=0);else if(i===1&&t===0||i===0&&t===1){if(this._mdf)for(o=0;o<f;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0}else{var x=[],g,_;for(o=0;o<f;o+=1)if(g=this.shapes[o],!g.shape._mdf&&!this._mdf&&!e&&this.m!==2)g.shape.paths=g.localShapeCollection;else{if(a=g.shape.paths,c=a._length,u=0,!g.shape._mdf&&g.pathsData.length)u=g.totalShapeLength;else{for(m=this.releasePathsData(g.pathsData),l=0;l<c;l+=1)E=bez.getSegmentsLength(a.shapes[l]),m.push(E),u+=E.totalLength;g.totalShapeLength=u,g.pathsData=m}P+=u,g.shape._mdf=!0}var d=t,y=i,p=0,b;for(o=f-1;o>=0;o-=1)if(g=this.shapes[o],g.shape._mdf){for(_=g.localShapeCollection,_.releaseShapes(),this.m===2&&f>1?(b=this.calculateShapeEdges(t,i,g.totalShapeLength,p,P),p+=g.totalShapeLength):b=[[d,y]],c=b.length,l=0;l<c;l+=1){d=b[l][0],y=b[l][1],x.length=0,y<=1?x.push({s:g.totalShapeLength*d,e:g.totalShapeLength*y}):d>=1?x.push({s:g.totalShapeLength*(d-1),e:g.totalShapeLength*(y-1)}):(x.push({s:g.totalShapeLength*d,e:g.totalShapeLength}),x.push({s:0,e:g.totalShapeLength*(y-1)}));var A=this.addShapes(g,x[0]);if(x[0].s!==x[0].e){if(x.length>1){var M=g.shape.paths.shapes[g.shape.paths._length-1];if(M.c){var L=A.pop();this.addPaths(A,_),A=this.addShapes(g,x[1],L)}else this.addPaths(A,_),A=this.addShapes(g,x[1])}this.addPaths(A,_)}}g.shape.paths=_}}},TrimModifier.prototype.addPaths=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)t.addShape(e[i])},TrimModifier.prototype.addSegment=function(e,t,i,s,n,a,o){n.setXYAt(t[0],t[1],"o",a),n.setXYAt(i[0],i[1],"i",a+1),o&&n.setXYAt(e[0],e[1],"v",a),n.setXYAt(s[0],s[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,i,s){t.setXYAt(e[1],e[5],"o",i),t.setXYAt(e[2],e[6],"i",i+1),s&&t.setXYAt(e[0],e[4],"v",i),t.setXYAt(e[3],e[7],"v",i+1)},TrimModifier.prototype.addShapes=function(e,t,i){var s=e.pathsData,n=e.shape.paths.shapes,a,o=e.shape.paths._length,f,l,c=0,m,E,u,P,x=[],g,_=!0;for(i?(E=i._length,g=i._length):(i=shapePool.newElement(),E=0,g=0),x.push(i),a=0;a<o;a+=1){for(u=s[a].lengths,i.c=n[a].c,l=n[a].c?u.length:u.length+1,f=1;f<l;f+=1)if(m=u[f-1],c+m.addedLength<t.s)c+=m.addedLength,i.c=!1;else if(c>t.e){i.c=!1;break}else t.s<=c&&t.e>=c+m.addedLength?(this.addSegment(n[a].v[f-1],n[a].o[f-1],n[a].i[f],n[a].v[f],i,E,_),_=!1):(P=bez.getNewSegment(n[a].v[f-1],n[a].v[f],n[a].o[f-1],n[a].i[f],(t.s-c)/m.addedLength,(t.e-c)/m.addedLength,u[f-1]),this.addSegmentFromArray(P,i,E,_),_=!1,i.c=!1),c+=m.addedLength,E+=1;if(n[a].c&&u.length){if(m=u[f-1],c<=t.e){var d=u[f-1].addedLength;t.s<=c&&t.e>=c+d?(this.addSegment(n[a].v[f-1],n[a].o[f-1],n[a].i[0],n[a].v[0],i,E,_),_=!1):(P=bez.getNewSegment(n[a].v[f-1],n[a].v[0],n[a].o[f-1],n[a].i[0],(t.s-c)/d,(t.e-c)/d,u[f-1]),this.addSegmentFromArray(P,i,E,_),_=!1,i.c=!1)}else i.c=!1;c+=m.addedLength,E+=1}if(i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),c>t.e)break;a<o-1&&(i=shapePool.newElement(),_=!0,x.push(i),E=0)}return x};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var i=t/100,s=[0,0],n=e._length,a=0;for(a=0;a<n;a+=1)s[0]+=e.v[a][0],s[1]+=e.v[a][1];s[0]/=n,s[1]/=n;var o=shapePool.newElement();o.c=e.c;var f,l,c,m,E,u;for(a=0;a<n;a+=1)f=e.v[a][0]+(s[0]-e.v[a][0])*i,l=e.v[a][1]+(s[1]-e.v[a][1])*i,c=e.o[a][0]+(s[0]-e.o[a][0])*-i,m=e.o[a][1]+(s[1]-e.o[a][1])*-i,E=e.i[a][0]+(s[0]-e.i[a][0])*-i,u=e.i[a][1]+(s[1]-e.i[a][1])*-i,o.setTripleAt(f,l,c,m,E,u,a);return o},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.amount.v;if(o!==0){var f,l;for(i=0;i<s;i+=1){if(f=this.shapes[i],l=f.localShapeCollection,!(!f.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),f.shape._mdf=!0,t=f.shape.paths.shapes,a=f.shape.paths._length,n=0;n<a;n+=1)l.addShape(this.processPath(t[n],o));f.shape.paths=f.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(l){var c=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||c,this.a&&l.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&l.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&l.skewFromAxis(-this.sk.v,this.sa.v),this.r?l.rotate(-this.r.v):l.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?l.translate(this.px.v,this.py.v,-this.pz.v):l.translate(this.px.v,this.py.v,0):l.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(l){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||l){var c;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var m,E;if(c=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(m=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/c,0),E=this.p.getValueAtTime(this.p.keyframes[0].t/c,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(m=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/c,0),E=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/c,0)):(m=this.p.pv,E=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/c,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){m=[],E=[];var u=this.px,P=this.py;u._caching.lastFrame+u.offsetTime<=u.keyframes[0].t?(m[0]=u.getValueAtTime((u.keyframes[0].t+.01)/c,0),m[1]=P.getValueAtTime((P.keyframes[0].t+.01)/c,0),E[0]=u.getValueAtTime(u.keyframes[0].t/c,0),E[1]=P.getValueAtTime(P.keyframes[0].t/c,0)):u._caching.lastFrame+u.offsetTime>=u.keyframes[u.keyframes.length-1].t?(m[0]=u.getValueAtTime(u.keyframes[u.keyframes.length-1].t/c,0),m[1]=P.getValueAtTime(P.keyframes[P.keyframes.length-1].t/c,0),E[0]=u.getValueAtTime((u.keyframes[u.keyframes.length-1].t-.01)/c,0),E[1]=P.getValueAtTime((P.keyframes[P.keyframes.length-1].t-.01)/c,0)):(m=[u.pv,P.pv],E[0]=u.getValueAtTime((u._caching.lastFrame+u.offsetTime-.01)/c,u.offsetTime),E[1]=P.getValueAtTime((P._caching.lastFrame+P.offsetTime-.01)/c,P.offsetTime))}else E=e,m=E;this.v.rotate(-Math.atan2(m[1]-E[1],m[0]-E[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function s(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function n(){}function a(l){this._addDynamicProperty(l),this.elem.addDynamicProperty(l),this._isDirty=!0}function o(l,c,m){if(this.elem=l,this.frameId=-1,this.propType="transform",this.data=c,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(m||l),c.p&&c.p.s?(this.px=PropertyFactory.getProp(l,c.p.x,0,0,this),this.py=PropertyFactory.getProp(l,c.p.y,0,0,this),c.p.z&&(this.pz=PropertyFactory.getProp(l,c.p.z,0,0,this))):this.p=PropertyFactory.getProp(l,c.p||{k:[0,0,0]},1,0,this),c.rx){if(this.rx=PropertyFactory.getProp(l,c.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(l,c.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(l,c.rz,0,degToRads,this),c.or.k[0].ti){var E,u=c.or.k.length;for(E=0;E<u;E+=1)c.or.k[E].to=null,c.or.k[E].ti=null}this.or=PropertyFactory.getProp(l,c.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(l,c.r||{k:0},0,degToRads,this);c.sk&&(this.sk=PropertyFactory.getProp(l,c.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(l,c.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(l,c.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(l,c.s||{k:[100,100,100]},1,.01,this),c.o?this.o=PropertyFactory.getProp(l,c.o,0,.01,l):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}o.prototype={applyToMatrix:t,getValue:i,precalculateMatrix:s,autoOrient:n},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=a,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function f(l,c,m){return new o(l,c,m)}return{getTransformProperty:f}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,i,s,n,a){var o=a?-1:1,f=s.s.v[0]+(1-s.s.v[0])*(1-n),l=s.s.v[1]+(1-s.s.v[1])*(1-n);e.translate(s.p.v[0]*o*n,s.p.v[1]*o*n,s.p.v[2]),t.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),t.rotate(-s.r.v*o*n),t.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(a?1/f:f,a?1/l:l),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},RepeaterModifier.prototype.init=function(e,t,i,s){for(this.elem=e,this.arr=t,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[i]);i>0;)i-=1,this._elements.unshift(t[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t]._processed=!1,e[t].ty==="gr"&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)e[i]._render=t,e[i].ty==="gr"&&this.changeGroupRender(e[i].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,i,s,n,a,o=!1;if(this._mdf||e){var f=Math.ceil(this.c.v);if(this._groups.length<f){for(;this._groups.length<f;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}a=0;var c;for(s=0;s<=this._groups.length-1;s+=1){if(c=a<f,this._groups[s]._render=c,this.changeGroupRender(this._groups[s].it,c),!c){var m=this.elemsData[s].it,E=m[m.length-1];E.transform.op.v!==0?(E.transform.op._mdf=!0,E.transform.op.v=0):E.transform.op._mdf=!1}a+=1}this._currentCopies=f;var u=this.o.v,P=u%1,x=u>0?Math.floor(u):Math.ceil(u),g=this.pMatrix.props,_=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y=0;if(u>0){for(;y<x;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),y+=1;P&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,P,!1),y+=P)}else if(u<0){for(;y>x;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),y-=1;P&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-P,!0),y-=P)}s=this.data.m===1?0:this._currentCopies-1,n=this.data.m===1?1:-1,a=this._currentCopies;for(var p,b;a;){if(t=this.elemsData[s].it,i=t[t.length-1].transform.mProps.v.props,b=i.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(s/(this._currentCopies-1)),y!==0){for((s!==0&&n===1||s!==this._currentCopies-1&&n===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(_[0],_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9],_[10],_[11],_[12],_[13],_[14],_[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),p=0;p<b;p+=1)i[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<b;p+=1)i[p]=this.matrix.props[p];y+=1,a-=1,s+=n}}else for(a=this._currentCopies,s=0,n=1;a;)t=this.elemsData[s].it,i=t[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,s+=n;return o},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var i=shapePool.newElement();i.c=e.c;var s,n=e._length,a,o,f,l,c,m,E=0,u,P,x,g,_,d;for(s=0;s<n;s+=1)a=e.v[s],f=e.o[s],o=e.i[s],a[0]===f[0]&&a[1]===f[1]&&a[0]===o[0]&&a[1]===o[1]?(s===0||s===n-1)&&!e.c?(i.setTripleAt(a[0],a[1],f[0],f[1],o[0],o[1],E),E+=1):(s===0?l=e.v[n-1]:l=e.v[s-1],c=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)),m=c?Math.min(c/2,t)/c:0,_=a[0]+(l[0]-a[0])*m,u=_,d=a[1]-(a[1]-l[1])*m,P=d,x=u-(u-a[0])*roundCorner,g=P-(P-a[1])*roundCorner,i.setTripleAt(u,P,x,g,_,d,E),E+=1,s===n-1?l=e.v[0]:l=e.v[s+1],c=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)),m=c?Math.min(c/2,t)/c:0,x=a[0]+(l[0]-a[0])*m,u=x,g=a[1]+(l[1]-a[1])*m,P=g,_=u-(u-a[0])*roundCorner,d=P-(P-a[1])*roundCorner,i.setTripleAt(u,P,x,g,_,d,E),E+=1):(i.setTripleAt(e.v[s][0],e.v[s][1],e.o[s][0],e.o[s][1],e.i[s][0],e.i[s][1],E),E+=1);return i},RoundCornersModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.rd.v;if(o!==0){var f,l;for(i=0;i<s;i+=1){if(f=this.shapes[i],l=f.localShapeCollection,!(!f.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),f.shape._mdf=!0,t=f.shape.paths.shapes,a=f.shape.paths._length,n=0;n<a;n+=1)l.addShape(this.processPath(t[n],o));f.shape.paths=f.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(e,t){return Math.abs(e-t)*1e5<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,i){return e*(1-i)+t*i}function lerpPoint(e,t,i){return[lerp(e[0],t[0],i),lerp(e[1],t[1],i)]}function quadRoots(e,t,i){if(e===0)return[];var s=t*t-4*e*i;if(s<0)return[];var n=-t/(2*e);if(s===0)return[n];var a=Math.sqrt(s)/(2*e);return[n-a,n+a]}function polynomialCoefficients(e,t,i,s){return[-e+3*t-3*i+s,3*e-6*t+3*i,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,i,s,n){n&&pointEqual(e,t)&&(t=lerpPoint(e,s,1/3)),n&&pointEqual(i,s)&&(i=lerpPoint(e,s,2/3));var a=polynomialCoefficients(e[0],t[0],i[0],s[0]),o=polynomialCoefficients(e[1],t[1],i[1],s[1]);this.a=[a[0],o[0]],this.b=[a[1],o[1]],this.c=[a[2],o[2]],this.d=[a[3],o[3]],this.points=[e,t,i,s]}PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,i=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(i<0)return[];var s=Math.sqrt(i);return floatZero(s)?s>0&&s<1?[t]:[]:[t-s,t+s].filter(function(n){return n>0&&n<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),i=lerpPoint(this.points[1],this.points[2],e),s=lerpPoint(this.points[2],this.points[3],e),n=lerpPoint(t,i,e),a=lerpPoint(i,s,e),o=lerpPoint(n,a,e);return[new PolynomialBezier(this.points[0],t,n,o,!0),new PolynomialBezier(o,a,s,this.points[3],!0)]};function extrema(e,t){var i=e.points[0][t],s=e.points[e.points.length-1][t];if(i>s){var n=s;s=i,i=n}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),o=0;o<a.length;o+=1)if(a[o]>0&&a[o]<1){var f=e.point(a[o])[t];f<i?i=f:f>s&&(s=f)}return{min:i,max:s}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,i){var s=e.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:e,t:(t+i)/2,t1:t,t2:i}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2<e.width+t.width&&Math.abs(e.cy-t.cy)*2<e.height+t.height}function intersectsImpl(e,t,i,s,n,a){if(boxIntersect(e,t)){if(i>=a||e.width<=s&&e.height<=s&&t.width<=s&&t.height<=s){n.push([e.t,t.t]);return}var o=splitData(e),f=splitData(t);intersectsImpl(o[0],f[0],i+1,s,n,a),intersectsImpl(o[0],f[1],i+1,s,n,a),intersectsImpl(o[1],f[0],i+1,s,n,a),intersectsImpl(o[1],f[1],i+1,s,n,a)}}PolynomialBezier.prototype.intersections=function(e,t,i){t===void 0&&(t=2),i===void 0&&(i=7);var s=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,s,i),s},PolynomialBezier.shapeSegment=function(e,t){var i=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[i],e.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var i=(t+1)%e.length();return new PolynomialBezier(e.v[i],e.i[i],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,i,s){var n=[e[0],e[1],1],a=[t[0],t[1],1],o=[i[0],i[1],1],f=[s[0],s[1],1],l=crossProduct(crossProduct(n,a),crossProduct(o,f));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,i){return[e[0]+Math.cos(t)*i,e[1]-Math.sin(t)*i]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,i,s,n,a,o){var f=i-Math.PI/2,l=i+Math.PI/2,c=t[0]+Math.cos(i)*s*n,m=t[1]-Math.sin(i)*s*n;e.setTripleAt(c,m,c+Math.cos(f)*a,m-Math.sin(f)*a,c+Math.cos(l)*o,m-Math.sin(l)*o,e.length())}function getPerpendicularVector(e,t){var i=[t[0]-e[0],t[1]-e[1]],s=-Math.PI*.5,n=[Math.cos(s)*i[0]-Math.sin(s)*i[1],Math.sin(s)*i[0]+Math.cos(s)*i[1]];return n}function getProjectingAngle(e,t){var i=t===0?e.length()-1:t-1,s=(t+1)%e.length(),n=e.v[i],a=e.v[s],o=getPerpendicularVector(n,a);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(e,t,i,s,n,a,o){var f=getProjectingAngle(t,i),l=t.v[i%t._length],c=t.v[i===0?t._length-1:i-1],m=t.v[(i+1)%t._length],E=a===2?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,u=a===2?Math.sqrt(Math.pow(l[0]-m[0],2)+Math.pow(l[1]-m[1],2)):0;setPoint(e,t.v[i%t._length],f,o,s,u/((n+1)*2),E/((n+1)*2))}function zigZagSegment(e,t,i,s,n,a){for(var o=0;o<s;o+=1){var f=(o+1)/(s+1),l=n===2?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,c=t.normalAngle(f),m=t.point(f);setPoint(e,m,c,a,i,l/((s+1)*2),l/((s+1)*2)),a=-a}return a}ZigZagModifier.prototype.processPath=function(e,t,i,s){var n=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(n-=1),n===0)return a;var o=-1,f=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,i,s,o);for(var l=0;l<n;l+=1)o=zigZagSegment(a,f,t,i,s,-o),l===n-1&&!e.c?f=null:f=PolynomialBezier.shapeSegment(e,(l+1)%n),zigZagCorner(a,e,l+1,t,i,s,o);return a},ZigZagModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.amplitude.v,f=Math.max(0,Math.round(this.frequency.v)),l=this.pointsType.v;if(o!==0){var c,m;for(i=0;i<s;i+=1){if(c=this.shapes[i],m=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(m.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,a=c.shape.paths._length,n=0;n<a;n+=1)m.addShape(this.processPath(t[n],o,f,l));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,i){var s=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,s,i),polarOffset(t,s,i)]}function offsetSegment(e,t){var i,s,n,a,o,f,l;l=linearOffset(e.points[0],e.points[1],t),i=l[0],s=l[1],l=linearOffset(e.points[1],e.points[2],t),n=l[0],a=l[1],l=linearOffset(e.points[2],e.points[3],t),o=l[0],f=l[1];var c=lineIntersection(i,s,n,a);c===null&&(c=s);var m=lineIntersection(o,f,n,a);return m===null&&(m=o),new PolynomialBezier(i,c,m,f)}function joinLines(e,t,i,s,n){var a=t.points[3],o=i.points[0];if(s===3||pointEqual(a,o))return a;if(s===2){var f=-t.tangentAngle(1),l=-i.tangentAngle(0)+Math.PI,c=lineIntersection(a,polarOffset(a,f+Math.PI/2,100),o,polarOffset(o,f+Math.PI/2,100)),m=c?pointDistance(c,a):pointDistance(a,o)/2,E=polarOffset(a,f,2*m*roundCorner);return e.setXYAt(E[0],E[1],"o",e.length()-1),E=polarOffset(o,l,2*m*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],E[0],E[1],e.length()),o}var u=pointEqual(a,t.points[2])?t.points[0]:t.points[2],P=pointEqual(o,i.points[1])?i.points[3]:i.points[1],x=lineIntersection(u,a,o,P);return x&&pointDistance(x,a)<n?(e.setTripleAt(x[0],x[1],x[0],x[1],x[0],x[1],e.length()),x):a}function getIntersection(e,t){var i=e.intersections(t);return i.length&&floatEqual(i[0][0],1)&&i.shift(),i.length?i[0]:null}function pruneSegmentIntersection(e,t){var i=e.slice(),s=t.slice(),n=getIntersection(e[e.length-1],t[0]);return n&&(i[e.length-1]=e[e.length-1].split(n[0])[0],s[0]=t[0].split(n[1])[1]),e.length>1&&t.length>1&&(n=getIntersection(e[0],t[t.length-1]),n)?[[e[0].split(n[0])[0]],[t[t.length-1].split(n[1])[1]]]:[i,s]}function pruneIntersections(e){for(var t,i=1;i<e.length;i+=1)t=pruneSegmentIntersection(e[i-1],e[i]),e[i-1]=t[0],e[i]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var i=e.inflectionPoints(),s,n,a,o;if(i.length===0)return[offsetSegment(e,t)];if(i.length===1||floatEqual(i[1],1))return a=e.split(i[0]),s=a[0],n=a[1],[offsetSegment(s,t),offsetSegment(n,t)];a=e.split(i[0]),s=a[0];var f=(i[1]-i[0])/(1-i[0]);return a=a[1].split(f),o=a[0],n=a[1],[offsetSegment(s,t),offsetSegment(o,t),offsetSegment(n,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,i,s){var n=shapePool.newElement();n.c=e.c;var a=e.length();e.c||(a-=1);var o,f,l,c=[];for(o=0;o<a;o+=1)l=PolynomialBezier.shapeSegment(e,o),c.push(offsetSegmentSplit(l,t));if(!e.c)for(o=a-1;o>=0;o-=1)l=PolynomialBezier.shapeSegmentInverted(e,o),c.push(offsetSegmentSplit(l,t));c=pruneIntersections(c);var m=null,E=null;for(o=0;o<c.length;o+=1){var u=c[o];for(E&&(m=joinLines(n,E,u[0],i,s)),E=u[u.length-1],f=0;f<u.length;f+=1)l=u[f],m&&pointEqual(l.points[0],m)?n.setXYAt(l.points[1][0],l.points[1][1],"o",n.length()-1):n.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],n.length()),n.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],n.length()),m=l.points[3]}return c.length&&joinLines(n,E,c[0][0],i,s),n},OffsetPathModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.amount.v,f=this.miterLimit.v,l=this.lineJoin;if(o!==0){var c,m;for(i=0;i<s;i+=1){if(c=this.shapes[i],m=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(m.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,a=c.shape.paths._length,n=0;n<a;n+=1)m.addShape(this.processPath(t[n],o,l,f));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],i="normal",s="normal",n=t.length,a,o=0;o<n;o+=1)switch(a=t[o].toLowerCase(),a){case"italic":s="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break}return{style:s,weight:e.fWeight||i}}var FontManager=function(){var e=5e3,t={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var s=127988,n=917631,a=917601,o=917626,f=65039,l=8205,c=127462,m=127487,E=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function u(T){var I=T.split(","),C,S=I.length,V=[];for(C=0;C<S;C+=1)I[C]!=="sans-serif"&&I[C]!=="monospace"&&V.push(I[C]);return V.join(",")}function P(T,I){var C=createTag("span");C.setAttribute("aria-hidden",!0),C.style.fontFamily=I;var S=createTag("span");S.innerText="giItT1WQy@!-/#",C.style.position="absolute",C.style.left="-10000px",C.style.top="-10000px",C.style.fontSize="300px",C.style.fontVariant="normal",C.style.fontStyle="normal",C.style.fontWeight="normal",C.style.letterSpacing="0",C.appendChild(S),document.body.appendChild(C);var V=S.offsetWidth;return S.style.fontFamily=u(T)+", "+I,{node:S,w:V,parent:C}}function x(){var T,I=this.fonts.length,C,S,V=I;for(T=0;T<I;T+=1)this.fonts[T].loaded?V-=1:this.fonts[T].fOrigin==="n"||this.fonts[T].origin===0?this.fonts[T].loaded=!0:(C=this.fonts[T].monoCase.node,S=this.fonts[T].monoCase.w,C.offsetWidth!==S?(V-=1,this.fonts[T].loaded=!0):(C=this.fonts[T].sansCase.node,S=this.fonts[T].sansCase.w,C.offsetWidth!==S&&(V-=1,this.fonts[T].loaded=!0)),this.fonts[T].loaded&&(this.fonts[T].sansCase.parent.parentNode.removeChild(this.fonts[T].sansCase.parent),this.fonts[T].monoCase.parent.parentNode.removeChild(this.fonts[T].monoCase.parent)));V!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function g(T,I){var C=document.body&&I?"svg":"canvas",S,V=getFontProperties(T);if(C==="svg"){var F=createNS("text");F.style.fontSize="100px",F.setAttribute("font-family",T.fFamily),F.setAttribute("font-style",V.style),F.setAttribute("font-weight",V.weight),F.textContent="1",T.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",T.fClass)):F.style.fontFamily=T.fFamily,I.appendChild(F),S=F}else{var z=new OffscreenCanvas(500,500).getContext("2d");z.font=V.style+" "+V.weight+" 100px "+T.fFamily,S=z}function q($){return C==="svg"?(S.textContent=$,S.getComputedTextLength()):S.measureText($).width}return{measureText:q}}function _(T,I){if(!T){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=T.list;return}if(!document.body){this.isLoaded=!0,T.list.forEach(function(pe){pe.helper=g(pe),pe.cache={}}),this.fonts=T.list;return}var C=T.list,S,V=C.length,F=V;for(S=0;S<V;S+=1){var z=!0,q,$;if(C[S].loaded=!1,C[S].monoCase=P(C[S].fFamily,"monospace"),C[S].sansCase=P(C[S].fFamily,"sans-serif"),!C[S].fPath)C[S].loaded=!0,F-=1;else if(C[S].fOrigin==="p"||C[S].origin===3){if(q=document.querySelectorAll('style[f-forigin="p"][f-family="'+C[S].fFamily+'"], style[f-origin="3"][f-family="'+C[S].fFamily+'"]'),q.length>0&&(z=!1),z){var J=createTag("style");J.setAttribute("f-forigin",C[S].fOrigin),J.setAttribute("f-origin",C[S].origin),J.setAttribute("f-family",C[S].fFamily),J.type="text/css",J.innerText="@font-face {font-family: "+C[S].fFamily+"; font-style: normal; src: url('"+C[S].fPath+"');}",I.appendChild(J)}}else if(C[S].fOrigin==="g"||C[S].origin===1){for(q=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),$=0;$<q.length;$+=1)q[$].href.indexOf(C[S].fPath)!==-1&&(z=!1);if(z){var re=createTag("link");re.setAttribute("f-forigin",C[S].fOrigin),re.setAttribute("f-origin",C[S].origin),re.type="text/css",re.rel="stylesheet",re.href=C[S].fPath,document.body.appendChild(re)}}else if(C[S].fOrigin==="t"||C[S].origin===2){for(q=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),$=0;$<q.length;$+=1)C[S].fPath===q[$].src&&(z=!1);if(z){var le=createTag("link");le.setAttribute("f-forigin",C[S].fOrigin),le.setAttribute("f-origin",C[S].origin),le.setAttribute("rel","stylesheet"),le.setAttribute("href",C[S].fPath),I.appendChild(le)}}C[S].helper=g(C[S],I),C[S].cache={},this.fonts.push(C[S])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function d(T){if(T){this.chars||(this.chars=[]);var I,C=T.length,S,V=this.chars.length,F;for(I=0;I<C;I+=1){for(S=0,F=!1;S<V;)this.chars[S].style===T[I].style&&this.chars[S].fFamily===T[I].fFamily&&this.chars[S].ch===T[I].ch&&(F=!0),S+=1;F||(this.chars.push(T[I]),V+=1)}}}function y(T,I,C){for(var S=0,V=this.chars.length;S<V;){if(this.chars[S].ch===T&&this.chars[S].style===I&&this.chars[S].fFamily===C)return this.chars[S];S+=1}return(typeof T=="string"&&T.charCodeAt(0)!==13||!T)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",T,I,C)),t}function p(T,I,C){var S=this.getFontByName(I),V=T;if(!S.cache[V]){var F=S.helper;if(T===" "){var z=F.measureText("|"+T+"|"),q=F.measureText("||");S.cache[V]=(z-q)/100}else S.cache[V]=F.measureText(T)/100}return S.cache[V]*C}function b(T){for(var I=0,C=this.fonts.length;I<C;){if(this.fonts[I].fName===T)return this.fonts[I];I+=1}return this.fonts[0]}function A(T){var I=0,C=T.charCodeAt(0);if(C>=55296&&C<=56319){var S=T.charCodeAt(1);S>=56320&&S<=57343&&(I=(C-55296)*1024+S-56320+65536)}return I}function M(T,I){var C=T.toString(16)+I.toString(16);return E.indexOf(C)!==-1}function L(T){return T===l}function k(T){return T===f}function B(T){var I=A(T);return I>=c&&I<=m}function Y(T){return B(T.substr(0,2))&&B(T.substr(2,2))}function Z(T){return i.indexOf(T)!==-1}function j(T,I){var C=A(T.substr(I,2));if(C!==s)return!1;var S=0;for(I+=2;S<5;){if(C=A(T.substr(I,2)),C<a||C>o)return!1;S+=1,I+=2}return A(T.substr(I,2))===n}function U(){this.isLoaded=!0}var X=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)};X.isModifier=M,X.isZeroWidthJoiner=L,X.isFlagEmoji=Y,X.isRegionalCode=B,X.isCombinedCharacter=Z,X.isRegionalFlag=j,X.isVariationSelector=k,X.BLACK_FLAG_CODE_POINT=s;var H={addChars:d,addFonts:_,getCharData:y,getFontByName:b,measureText:p,checkLoadedFonts:x,setIsLoaded:U};return X.prototype=H,X}();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,i=this.renderableComponents.length;for(t=0;t<i;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function AngleEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function ColorEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,1,0,i)}function PointEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,1,0,i)}function LayerIndexEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function MaskIndexEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function CheckboxEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var i=e.ef||[];this.effectElements=[];var s,n=i.length,a;for(s=0;s<n;s+=1)a=new GroupEffect(i[s],t),this.effectElements.push(a)}function GroupEffect(e,t){this.init(e,t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var i,s=this.data.ef.length,n,a=this.data.ef;for(i=0;i<s;i+=1){switch(n=null,a[i].ty){case 0:n=new SliderEffect(a[i],t,this);break;case 1:n=new AngleEffect(a[i],t,this);break;case 2:n=new ColorEffect(a[i],t,this);break;case 3:n=new PointEffect(a[i],t,this);break;case 4:case 7:n=new CheckboxEffect(a[i],t,this);break;case 10:n=new LayerIndexEffect(a[i],t,this);break;case 11:n=new MaskIndexEffect(a[i],t,this);break;case 5:n=new EffectsManager(a[i],t);break;default:n=new NoValueEffect(a[i]);break}n&&this.effectElements.push(n)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,i=this.data.masksProperties.length;t<i;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var i=t("layer"),s=t("effects"),n=t("shape"),a=t("text"),o=t("comp");this.layerInterface=i(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var f=s.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(f),this.data.ty===0||this.data.xt?this.compInterface=o(this):this.data.ty===4?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=a(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),i=this.baseElement||this.layerElement;i.style["mix-blend-mode"]=t},initBaseData:function(t,i,s){this.globalData=i,this.comp=s,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,i){var s,n=this.dynamicProperties.length;for(s=0;s<n;s+=1)(i||this._isParent&&this.dynamicProperties[s].propType==="transform")&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(e,t,i){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,i)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(e,t,i){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,i),this._isPlaying=!1,this._canPlay=!1;var s=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(s),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(e){var t,i=this.layers.length,s;for(this.completeLayers=!0,t=i-1;t>=0;t-=1)this.elements[t]||(s=this.layers[t],s.ip-s.st<=e-this.layers[t].st&&s.op-s.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,i=e.length,s,n=this.layers.length;for(t=0;t<i;t+=1)for(s=0;s<n;){if(this.layers[s].id===e[t].id){this.layers[s]=e[t];break}s+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,i){for(var s=this.elements,n=this.layers,a=0,o=n.length;a<o;)n[a].ind==t&&(!s[a]||s[a]===!0?(this.buildItem(a),this.addPendingElement(e)):(i.push(s[a]),s[a].setAsParent(),n[a].parent!==void 0?this.buildElementParenting(e,n[a].parent,i):e.setHierarchy(i))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,i=e.length;for(t=0;t<i;t+=1)if(e[t].xt){var s=this.createComp(e[t]);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},BaseRenderer.prototype.getElementById=function(e){var t,i=this.elements.length;for(t=0;t<i;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t=e.shift(),i;if(typeof t=="number")i=this.elements[t];else{var s,n=this.elements.length;for(s=0;s<n;s+=1)if(this.elements[s].data.nm===t){i=this.elements[s];break}}return e.length===0?i:i.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,i=this.finalTransform.mat,s=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;s<n;){if(this.hierarchy[s].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}s+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,i.cloneFromProps(t),s=0;s<n;s+=1)i.multiply(this.hierarchy[s].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,i=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<i;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var s=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(s),t=1;t<i;t+=1){var n=this.localTransforms[t].matrix;s.multiply(n)}s.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var a=this.finalTransform.localOpacity;for(t=0;t<i;t+=1)a*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=a}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var i=0,s=t.length;for(i=0;i<s;i+=1)this.localTransforms.push(t[i])}}},globalToLocal:function(t){var i=[];i.push(this.finalTransform);for(var s=!0,n=this.comp;s;)n.finalTransform?(n.data.hasMask&&i.splice(0,0,n.finalTransform),n=n.comp):s=!1;var a,o=i.length,f;for(a=0;a<o;a+=1)f=i[a].mat.applyToPointArray(0,0,0),t=[t[0]-f[0],t[1]-f[1],0];return t},mHelper:new Matrix};function MaskElement(e,t,i){this.data=e,this.element=t,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,n,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,f=this.masksProperties,l=0,c=[],m,E,u=createElementID(),P,x,g,_,d="clipPath",y="clip-path";for(n=0;n<a;n+=1)if((f[n].mode!=="a"&&f[n].mode!=="n"||f[n].inv||f[n].o.k!==100||f[n].o.x)&&(d="mask",y="mask"),(f[n].mode==="s"||f[n].mode==="i")&&l===0?(P=createNS("rect"),P.setAttribute("fill","#ffffff"),P.setAttribute("width",this.element.comp.data.w||0),P.setAttribute("height",this.element.comp.data.h||0),c.push(P)):P=null,o=createNS("path"),f[n].mode==="n")this.viewData[n]={op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),elem:o,lastPath:""},s.appendChild(o);else{l+=1,o.setAttribute("fill",f[n].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var p;if(f[n].x.k!==0?(d="mask",y="mask",_=PropertyFactory.getProp(this.element,f[n].x,0,null,this.element),p=createElementID(),x=createNS("filter"),x.setAttribute("id",p),g=createNS("feMorphology"),g.setAttribute("operator","erode"),g.setAttribute("in","SourceGraphic"),g.setAttribute("radius","0"),x.appendChild(g),s.appendChild(x),o.setAttribute("stroke",f[n].mode==="s"?"#000000":"#ffffff")):(g=null,_=null),this.storedData[n]={elem:o,x:_,expan:g,lastPath:"",lastOperator:"",filterId:p,lastRadius:0},f[n].mode==="i"){E=c.length;var b=createNS("g");for(m=0;m<E;m+=1)b.appendChild(c[m]);var A=createNS("mask");A.setAttribute("mask-type","alpha"),A.setAttribute("id",u+"_"+l),A.appendChild(o),s.appendChild(A),b.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+l+")"),c.length=0,c.push(b)}else c.push(o);f[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),invRect:P},this.viewData[n].prop.k||this.drawPath(f[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(d),a=c.length,n=0;n<a;n+=1)this.maskElement.appendChild(c[n]);l>0&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+u+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,i,s=this.masksProperties.length;for(i=0;i<s;i+=1)if((this.viewData[i].prop._mdf||e)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||e)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[i].invRect.setAttribute("transform",t.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||e))){var n=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[i].filterId+")")),n.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},MaskElement.prototype.drawPath=function(e,t,i){var s=" M"+t.v[0][0]+","+t.v[0][1],n,a;for(a=t._length,n=1;n<a;n+=1)s+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&a>1&&(s+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),i.lastPath!==s){var o="";i.elem&&(t.c&&(o=e.inv?this.solidPath+s:s),i.elem.setAttribute("d",o)),i.lastPath=s}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=i;function t(s,n){var a=createNS("filter");return a.setAttribute("id",s),n!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function i(){var s=createNS("feColorMatrix");return s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),s}return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,i="SourceGraphic",s=e.data.ef?e.data.ef.length:0,n=createElementID(),a=filtersFactory.createFilter(n,!0),o=0;this.filters=[];var f;for(t=0;t<s;t+=1){f=null;var l=e.data.ef[t].ty;if(registeredEffects$1[l]){var c=registeredEffects$1[l].effect;f=new c(a,e.effectsManager.effectElements[t],e,idPrefix+o,i),i=idPrefix+o,registeredEffects$1[l].countsAsEffect&&(o+=1)}f&&this.filters.push(f)}o&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+n+")")),this.filters.length&&e.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(e){var t,i=this.filters.length;for(t=0;t<i;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,i=this.filters.length,s=[];for(t=0;t<i;t+=1)this.filters[t].type===e&&s.push(this.filters[t]);return s};function registerEffect$1(e,t,i){registeredEffects$1[e]={effect:t,countsAsEffect:i}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var i=createNS("g");i.setAttribute("id",this.layerId),i.appendChild(this.layerElement),t=i,this.globalData.defs.appendChild(i)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var s=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var a=createElementID();if(s.setAttribute("id",a),s.appendChild(n),this.globalData.defs.appendChild(s),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),o.appendChild(this.layerElement),this.transformedElement=o,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var i=this.layerId+"_"+t,s,n,a,o;if(t===1||t===3){var f=createNS("mask");f.setAttribute("id",i),f.setAttribute("mask-type",t===3?"luminance":"alpha"),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),f.appendChild(a),this.globalData.defs.appendChild(f),!featureSupport.maskType&&t===1&&(f.setAttribute("mask-type","luminance"),s=createElementID(),n=filtersFactory.createFilter(s),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),o.appendChild(a),f.appendChild(o),o.setAttribute("filter","url("+getLocationHref()+"#"+s+")"))}else if(t===2){var l=createNS("mask");l.setAttribute("id",i),l.setAttribute("mask-type","alpha");var c=createNS("g");l.appendChild(c),s=createElementID(),n=filtersFactory.createFilter(s);var m=createNS("feComponentTransfer");m.setAttribute("in","SourceGraphic"),n.appendChild(m);var E=createNS("feFuncA");E.setAttribute("type","table"),E.setAttribute("tableValues","1.0 0.0"),m.appendChild(E),this.globalData.defs.appendChild(n);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),c.setAttribute("filter","url("+getLocationHref()+"#"+s+")"),c.appendChild(u),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),c.appendChild(a),featureSupport.maskType||(l.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),c.appendChild(u),o.appendChild(this.layerElement),c.appendChild(o)),this.globalData.defs.appendChild(l)}this.matteMasks[t]=i}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={initElement:function(i,s,n){this.initFrame(),this.initBaseData(i,s,n),this.initTransform(i,s,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var i=this.baseElement||this.layerElement;i.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var i=this.baseElement||this.layerElement;i.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(i){this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(e)],RenderableDOMElement)})();function IImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var i,s=this.shapeModifiers.length;for(i=0;i<s;i+=1)this.shapeModifiers[i].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var i=0,s=this.shapeModifiers.length;i<s;)if(this.shapeModifiers[i].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,i=this.shapes.length;for(t=0;t<i;t+=1)this.shapes[t].sh.reset();i=this.shapeModifiers.length;var s;for(t=i-1;t>=0&&(s=this.shapeModifiers[t].processShapes(this._isFirstFrame),!s);t-=1);}},searchProcessedElement:function(t){for(var i=this.processedElements,s=0,n=i.length;s<n;){if(i[s].elem===t)return i[s].pos;s+=1}return 0},addProcessedElement:function(t,i){for(var s=this.processedElements,n=s.length;n;)if(n-=1,s[n].elem===t){s[n].pos=i;return}s.push(new ProcessedElement(t,i))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,i){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=i,this.lvl=t,this._isAnimated=!!i.k;for(var s=0,n=e.length;s<n;){if(e[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(e,t,i,s){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(s);var n,a=t.length||0,o;for(n=0;n<a;n+=1)o=PropertyFactory.getProp(e,t[n].v,0,0,this),this.k=o.k||this.k,this.dataProps[n]={n:t[n].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),t=0;t<i;t+=1)this.dataProps[t].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=i}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=i}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(e,t,i){this.data=t,this.c=createTypedArray("uint8c",t.p*4);var s=t.k.k[0].s?t.k.k[0].s.length-t.p*4:t.k.k.length-t.p*4;this.o=createTypedArray("float32",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(e,t){for(var i=0,s=this.o.length/2,n;i<s;){if(n=Math.abs(e[i*4]-e[t*4+i*2]),n>.01)return!1;i+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,i=this.data.p*4,s,n;for(t=0;t<i;t+=1)s=t%4===0?100:255,n=Math.round(this.prop.v[t]*s),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=this.data.p*4;t<i;t+=1)s=t%2===0?100:1,n=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==n&&(this.o[t-this.data.p*4]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,i)}SVGGradientFillStyleData.prototype.initGradientData=function(e,t,i){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,t),this.setGradientOpacity(t,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var i=createElementID(),s=createNS(t.t===1?"linearGradient":"radialGradient");s.setAttribute("id",i),s.setAttribute("spreadMethod","pad"),s.setAttribute("gradientUnits","userSpaceOnUse");var n=[],a,o,f;for(f=t.g.p*4,o=0;o<f;o+=4)a=createNS("stop"),s.appendChild(a),n.push(a);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=s,this.cst=n},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var i,s,n,a=createNS("mask"),o=createNS("path");a.appendChild(o);var f=createElementID(),l=createElementID();a.setAttribute("id",l);var c=createNS(e.t===1?"linearGradient":"radialGradient");c.setAttribute("id",f),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),n=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var m=this.stops;for(s=e.g.p*4;s<n;s+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(i),m.push(i);o.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+f+")"),e.ty==="gs"&&(o.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&o.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=a,this.ost=m,this.maskId=l,t.msElem=o}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,i),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,i){this.transform={mProps:e,op:t,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,i,s,n){if(i===0)return"";var a=t.o,o=t.i,f=t.v,l,c=" M"+n.applyToPointStringified(f[0][0],f[0][1]);for(l=1;l<i;l+=1)c+=" C"+n.applyToPointStringified(a[l-1][0],a[l-1][1])+" "+n.applyToPointStringified(o[l][0],o[l][1])+" "+n.applyToPointStringified(f[l][0],f[l][1]);return s&&i&&(c+=" C"+n.applyToPointStringified(a[l-1][0],a[l-1][1])+" "+n.applyToPointStringified(o[0][0],o[0][1])+" "+n.applyToPointStringified(f[0][0],f[0][1]),c+="z"),c},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,i={createRenderFunction:s};function s(E){switch(E.ty){case"fl":return f;case"gf":return c;case"gs":return l;case"st":return m;case"sh":case"el":case"rc":case"sr":return o;case"tr":return n;case"no":return a;default:return null}}function n(E,u,P){(P||u.transform.op._mdf)&&u.transform.container.setAttribute("opacity",u.transform.op.v),(P||u.transform.mProps._mdf)&&u.transform.container.setAttribute("transform",u.transform.mProps.v.to2dCSS())}function a(){}function o(E,u,P){var x,g,_,d,y,p,b=u.styles.length,A=u.lvl,M,L,k,B;for(p=0;p<b;p+=1){if(d=u.sh._mdf||P,u.styles[p].lvl<A){for(L=t.reset(),k=A-u.styles[p].lvl,B=u.transformers.length-1;!d&&k>0;)d=u.transformers[B].mProps._mdf||d,k-=1,B-=1;if(d)for(k=A-u.styles[p].lvl,B=u.transformers.length-1;k>0;)L.multiply(u.transformers[B].mProps.v),k-=1,B-=1}else L=e;if(M=u.sh.paths,g=M._length,d){for(_="",x=0;x<g;x+=1)y=M.shapes[x],y&&y._length&&(_+=buildShapeString(y,y._length,y.c,L));u.caches[p]=_}else _=u.caches[p];u.styles[p].d+=E.hd===!0?"":_,u.styles[p]._mdf=d||u.styles[p]._mdf}}function f(E,u,P){var x=u.style;(u.c._mdf||P)&&x.pElem.setAttribute("fill","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||P)&&x.pElem.setAttribute("fill-opacity",u.o.v)}function l(E,u,P){c(E,u,P),m(E,u,P)}function c(E,u,P){var x=u.gf,g=u.g._hasOpacity,_=u.s.v,d=u.e.v;if(u.o._mdf||P){var y=E.ty==="gf"?"fill-opacity":"stroke-opacity";u.style.pElem.setAttribute(y,u.o.v)}if(u.s._mdf||P){var p=E.t===1?"x1":"cx",b=p==="x1"?"y1":"cy";x.setAttribute(p,_[0]),x.setAttribute(b,_[1]),g&&!u.g._collapsable&&(u.of.setAttribute(p,_[0]),u.of.setAttribute(b,_[1]))}var A,M,L,k;if(u.g._cmdf||P){A=u.cst;var B=u.g.c;for(L=A.length,M=0;M<L;M+=1)k=A[M],k.setAttribute("offset",B[M*4]+"%"),k.setAttribute("stop-color","rgb("+B[M*4+1]+","+B[M*4+2]+","+B[M*4+3]+")")}if(g&&(u.g._omdf||P)){var Y=u.g.o;for(u.g._collapsable?A=u.cst:A=u.ost,L=A.length,M=0;M<L;M+=1)k=A[M],u.g._collapsable||k.setAttribute("offset",Y[M*2]+"%"),k.setAttribute("stop-opacity",Y[M*2+1])}if(E.t===1)(u.e._mdf||P)&&(x.setAttribute("x2",d[0]),x.setAttribute("y2",d[1]),g&&!u.g._collapsable&&(u.of.setAttribute("x2",d[0]),u.of.setAttribute("y2",d[1])));else{var Z;if((u.s._mdf||u.e._mdf||P)&&(Z=Math.sqrt(Math.pow(_[0]-d[0],2)+Math.pow(_[1]-d[1],2)),x.setAttribute("r",Z),g&&!u.g._collapsable&&u.of.setAttribute("r",Z)),u.e._mdf||u.h._mdf||u.a._mdf||P){Z||(Z=Math.sqrt(Math.pow(_[0]-d[0],2)+Math.pow(_[1]-d[1],2)));var j=Math.atan2(d[1]-_[1],d[0]-_[0]),U=u.h.v;U>=1?U=.99:U<=-1&&(U=-.99);var X=Z*U,H=Math.cos(j+u.a.v)*X+_[0],T=Math.sin(j+u.a.v)*X+_[1];x.setAttribute("fx",H),x.setAttribute("fy",T),g&&!u.g._collapsable&&(u.of.setAttribute("fx",H),u.of.setAttribute("fy",T))}}}function m(E,u,P){var x=u.style,g=u.d;g&&(g._mdf||P)&&g.dashStr&&(x.pElem.setAttribute("stroke-dasharray",g.dashStr),x.pElem.setAttribute("stroke-dashoffset",g.dashoffset[0])),u.c&&(u.c._mdf||P)&&x.pElem.setAttribute("stroke","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||P)&&x.pElem.setAttribute("stroke-opacity",u.o.v),(u.w._mdf||P)&&(x.pElem.setAttribute("stroke-width",u.w.v),x.msElem&&x.msElem.setAttribute("stroke-width",u.w.v))}return i}();function SVGShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,i),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t=this.shapes.length,i,s,n=this.stylesList.length,a,o=[],f=!1;for(s=0;s<n;s+=1){for(a=this.stylesList[s],f=!1,o.length=0,e=0;e<t;e+=1)i=this.shapes[e],i.styles.indexOf(a)!==-1&&(o.push(i),f=i._isAnimated||f);o.length>1&&f&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var i,s=new SVGStyleData(e,t),n=s.pElem;if(e.ty==="st")i=new SVGStrokeStyleData(this,e,s);else if(e.ty==="fl")i=new SVGFillStyleData(this,e,s);else if(e.ty==="gf"||e.ty==="gs"){var a=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new a(this,e,s),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),n.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else e.ty==="no"&&(i=new SVGNoStyleData(this,e,s));return(e.ty==="st"||e.ty==="gs")&&(n.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),n.setAttribute("fill-opacity","0"),e.lj===1&&n.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&n.setAttribute("fill-rule","evenodd"),e.ln&&n.setAttribute("id",e.ln),e.cl&&n.setAttribute("class",e.cl),e.bm&&(n.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(s),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var i=TransformPropertyFactory.getTransformProperty(this,e,this),s=new SVGTransformData(i,i.o,t);return this.addToAnimatedContents(e,s),s},SVGShapeElement.prototype.createShapeElement=function(e,t,i){var s=4;e.ty==="rc"?s=5:e.ty==="el"?s=6:e.ty==="sr"&&(s=7);var n=ShapePropertyFactory.getShapeProp(this,e,s,this),a=new SVGShapeData(t,i,n);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===t)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t=e.styles,i,s=this.stylesList.length;for(i=0;i<s;i+=1)this.stylesList[i].closed||t.push(this.stylesList[i])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,i,s,n,a,o){var f=[].concat(a),l,c=e.length-1,m,E,u=[],P=[],x,g,_;for(l=c;l>=0;l-=1){if(_=this.searchProcessedElement(e[l]),_?t[l]=i[_-1]:e[l]._render=o,e[l].ty==="fl"||e[l].ty==="st"||e[l].ty==="gf"||e[l].ty==="gs"||e[l].ty==="no")_?t[l].style.closed=!1:t[l]=this.createStyleElement(e[l],n),e[l]._render&&t[l].style.pElem.parentNode!==s&&s.appendChild(t[l].style.pElem),u.push(t[l].style);else if(e[l].ty==="gr"){if(!_)t[l]=this.createGroupElement(e[l]);else for(E=t[l].it.length,m=0;m<E;m+=1)t[l].prevViewData[m]=t[l].it[m];this.searchShapes(e[l].it,t[l].it,t[l].prevViewData,t[l].gr,n+1,f,o),e[l]._render&&t[l].gr.parentNode!==s&&s.appendChild(t[l].gr)}else e[l].ty==="tr"?(_||(t[l]=this.createTransformElement(e[l],s)),x=t[l].transform,f.push(x)):e[l].ty==="sh"||e[l].ty==="rc"||e[l].ty==="el"||e[l].ty==="sr"?(_||(t[l]=this.createShapeElement(e[l],f,n)),this.setElementStyles(t[l])):e[l].ty==="tm"||e[l].ty==="rd"||e[l].ty==="ms"||e[l].ty==="pb"||e[l].ty==="zz"||e[l].ty==="op"?(_?(g=t[l],g.closed=!1):(g=ShapeModifiers.getModifier(e[l].ty),g.init(this,e[l]),t[l]=g,this.shapeModifiers.push(g)),P.push(g)):e[l].ty==="rp"&&(_?(g=t[l],g.closed=!0):(g=ShapeModifiers.getModifier(e[l].ty),t[l]=g,g.init(this,e,l,t),this.shapeModifiers.push(g),o=!1),P.push(g));this.addProcessedElement(e[l],l+1)}for(c=u.length,l=0;l<c;l+=1)u[l].closed=!0;for(c=P.length,l=0;l<c;l+=1)P[l].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t=this.animatedContents.length,i;for(e=0;e<t;e+=1)i=this.animatedContents[e],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(e,t,i,s,n,a){this.o=e,this.sw=t,this.sc=i,this.fc=s,this.m=n,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!i,fc:!!s,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,i,s,n,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var o=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,o=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,o=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,o=!0),this.fc!==s&&(this.fc=s,this._mdf.fc=!0,o=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,o=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,o=!0),o};function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var s,n=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(s=0;s<n;s+=1)i!==this.keysIndex?a=this.effectsSequence[s](a,a.t):a=this.effectsSequence[s](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,i=0,s=e.length;i<=s-1&&!(i===s-1||e[i+1].t>t);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],i=0,s=e.length,n,a,o=!1,f=!1,l="";i<s;)o=f,f=!1,n=e.charCodeAt(i),l=e.charAt(i),FontManager.isCombinedCharacter(n)?o=!0:n>=55296&&n<=56319?FontManager.isRegionalFlag(e,i)?l=e.substr(i,14):(a=e.charCodeAt(i+1),a>=56320&&a<=57343&&(FontManager.isModifier(n,a)?(l=e.substr(i,2),o=!0):FontManager.isFlagEmoji(e.substr(i,4))?l=e.substr(i,4):l=e.substr(i,2))):n>56319?(a=e.charCodeAt(i+1),FontManager.isVariationSelector(n)&&(o=!0)):FontManager.isZeroWidthJoiner(n)&&(o=!0,f=!0),o?(t[t.length-1]+=l,o=!1):t.push(l),i+=l.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,i=this.data,s=[],n,a,o,f=0,l,c=i.m.g,m=0,E=0,u=0,P=[],x=0,g=0,_,d,y=t.getFontByName(e.f),p,b=0,A=getFontProperties(y);e.fWeight=A.weight,e.fStyle=A.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var M=e.tr/1e3*e.finalSize,L;if(e.sz)for(var k=!0,B=e.sz[0],Y=e.sz[1],Z,j;k;){j=this.buildFinalText(e.t),Z=0,x=0,a=j.length,M=e.tr/1e3*e.finalSize;var U=-1;for(n=0;n<a;n+=1)L=j[n].charCodeAt(0),o=!1,j[n]===" "?U=n:(L===13||L===3)&&(x=0,o=!0,Z+=e.finalLineHeight||e.finalSize*1.2),t.chars?(p=t.getCharData(j[n],y.fStyle,y.fFamily),b=o?0:p.w*e.finalSize/100):b=t.measureText(j[n],e.f,e.finalSize),x+b>B&&j[n]!==" "?(U===-1?a+=1:n=U,Z+=e.finalLineHeight||e.finalSize*1.2,j.splice(n,U===n?1:0,"\r"),U=-1,x=0):(x+=b,x+=M);Z+=y.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&Y<Z?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=j,a=e.finalText.length,k=!1)}x=-M,b=0;var X=0,H;for(n=0;n<a;n+=1)if(o=!1,H=e.finalText[n],L=H.charCodeAt(0),L===13||L===3?(X=0,P.push(x),g=x>g?x:g,x=-2*M,l="",o=!0,u+=1):l=H,t.chars?(p=t.getCharData(H,y.fStyle,t.getFontByName(e.f).fFamily),b=o?0:p.w*e.finalSize/100):b=t.measureText(l,e.f,e.finalSize),H===" "?X+=b+M:(x+=b+M+X,X=0),s.push({l:b,an:b,add:m,n:o,anIndexes:[],val:l,line:u,animatorJustifyOffset:0}),c==2){if(m+=b,l===""||l===" "||n===a-1){for((l===""||l===" ")&&(m-=b);E<=n;)s[E].an=m,s[E].ind=f,s[E].extra=b,E+=1;f+=1,m=0}}else if(c==3){if(m+=b,l===""||n===a-1){for(l===""&&(m-=b);E<=n;)s[E].an=m,s[E].ind=f,s[E].extra=b,E+=1;m=0,f+=1}}else s[f].ind=f,s[f].extra=0,f+=1;if(e.l=s,g=x>g?x:g,P.push(x),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=g,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=P;var T=i.a,I,C;d=T.length;var S,V,F=[];for(_=0;_<d;_+=1){for(I=T[_],I.a.sc&&(e.strokeColorAnim=!0),I.a.sw&&(e.strokeWidthAnim=!0),(I.a.fc||I.a.fh||I.a.fs||I.a.fb)&&(e.fillColorAnim=!0),V=0,S=I.s.b,n=0;n<a;n+=1)C=s[n],C.anIndexes[_]=V,(S==1&&C.val!==""||S==2&&C.val!==""&&C.val!==" "||S==3&&(C.n||C.val==" "||n==a-1)||S==4&&(C.n||n==a-1))&&(I.s.rn===1&&F.push(V),V+=1);i.a[_].s.totalChars=V;var z=-1,q;if(I.s.rn===1)for(n=0;n<a;n+=1)C=s[n],z!=C.anIndexes[_]&&(z=C.anIndexes[_],q=F.splice(Math.floor(Math.random()*F.length),1)[0]),C.anIndexes[_]=q}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=y.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?this.keysIndex:t;var i=this.copyData({},this.data.d.k[t].s);i=this.copyData(i,e),this.data.d.k[t].s=i,this.recalculate(t),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,i=Math.floor;function s(a,o){this._currentTextLength=-1,this.k=!1,this.data=o,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,o.s||{k:0},0,0,this),"e"in o?this.e=PropertyFactory.getProp(a,o.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,o.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,o.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,o.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,o.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,o.a,0,.01,this),this.dynamicProperties.length||this.getValue()}s.prototype={getMult:function(o){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var f=0,l=0,c=1,m=1;this.ne.v>0?f=this.ne.v/100:l=-this.ne.v/100,this.xe.v>0?c=1-this.xe.v/100:m=1+this.xe.v/100;var E=BezierFactory.getBezierEasing(f,l,c,m).get,u=0,P=this.finalS,x=this.finalE,g=this.data.sh;if(g===2)x===P?u=o>=x?1:0:u=e(0,t(.5/(x-P)+(o-P)/(x-P),1)),u=E(u);else if(g===3)x===P?u=o>=x?0:1:u=1-e(0,t(.5/(x-P)+(o-P)/(x-P),1)),u=E(u);else if(g===4)x===P?u=0:(u=e(0,t(.5/(x-P)+(o-P)/(x-P),1)),u<.5?u*=2:u=1-2*(u-.5)),u=E(u);else if(g===5){if(x===P)u=0;else{var _=x-P;o=t(e(0,o+.5-P),x-P);var d=-_/2+o,y=_/2;u=Math.sqrt(1-d*d/(y*y))}u=E(u)}else g===6?(x===P?u=0:(o=t(e(0,o+.5-P),x-P),u=(1+Math.cos(Math.PI+Math.PI*2*o/(x-P)))/2),u=E(u)):(o>=i(P)&&(o-P<0?u=e(0,t(t(x,1)-(P-o),1)):u=e(0,t(x-o,1))),u=E(u));if(this.sm.v!==100){var p=this.sm.v*.01;p===0&&(p=1e-8);var b=.5-p*.5;u<b?u=0:(u=(u-b)/p,u>1&&(u=1))}return u*this.a.v},getValue:function(o){this.iterateDynamicProperties(),this._mdf=o||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,o&&this.data.r===2&&(this.e.v=this._currentTextLength);var f=this.data.r===2?1:100/this.data.totalChars,l=this.o.v/f,c=this.s.v/f+l,m=this.e.v/f+l;if(c>m){var E=c;c=m,m=E}this.finalS=c,this.finalE=m}},extendPrototype([DynamicPropertyContainer],s);function n(a,o,f){return new s(a,o)}return{getTextSelectorProp:n}}();function TextAnimatorDataProperty(e,t,i){var s={propType:!1},n=PropertyFactory.getProp,a=t.a;this.a={r:a.r?n(e,a.r,0,degToRads,i):s,rx:a.rx?n(e,a.rx,0,degToRads,i):s,ry:a.ry?n(e,a.ry,0,degToRads,i):s,sk:a.sk?n(e,a.sk,0,degToRads,i):s,sa:a.sa?n(e,a.sa,0,degToRads,i):s,s:a.s?n(e,a.s,1,.01,i):s,a:a.a?n(e,a.a,1,0,i):s,o:a.o?n(e,a.o,0,.01,i):s,p:a.p?n(e,a.p,1,0,i):s,sw:a.sw?n(e,a.sw,0,0,i):s,sc:a.sc?n(e,a.sc,1,0,i):s,fc:a.fc?n(e,a.fc,1,0,i):s,fh:a.fh?n(e,a.fh,0,0,i):s,fs:a.fs?n(e,a.fs,0,.01,i):s,fb:a.fb?n(e,a.fb,0,.01,i):s,t:a.t?n(e,a.t,0,0,i):s},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,i),this.s.t=t.s.t}function TextAnimatorProperty(e,t,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,i,s=PropertyFactory.getProp;for(e=0;e<t;e+=1)i=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:s(this._elem,this._textData.p.a,0,0,this),f:s(this._elem,this._textData.p.f,0,0,this),l:s(this._elem,this._textData.p.l,0,0,this),r:s(this._elem,this._textData.p.r,0,0,this),p:s(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=s(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,!(!this._mdf&&!this._isFirstFrame&&!t&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,s=this._animatorsData,n=this._textData,a=this.mHelper,o=this._renderType,f=this.renderedLetters.length,l,c,m,E,u=e.l,P,x,g,_,d,y,p,b,A,M,L,k,B,Y,Z;if(this._hasMaskedPath){if(Z=this._pathData.m,!this._pathData.n||this._pathData._mdf){var j=Z.v;this._pathData.r.v&&(j=j.reverse()),P={tLength:0,segments:[]},E=j._length-1;var U;for(k=0,m=0;m<E;m+=1)U=bez.buildBezierData(j.v[m],j.v[m+1],[j.o[m][0]-j.v[m][0],j.o[m][1]-j.v[m][1]],[j.i[m+1][0]-j.v[m+1][0],j.i[m+1][1]-j.v[m+1][1]]),P.tLength+=U.segmentLength,P.segments.push(U),k+=U.segmentLength;m=E,Z.v.c&&(U=bez.buildBezierData(j.v[m],j.v[0],[j.o[m][0]-j.v[m][0],j.o[m][1]-j.v[m][1]],[j.i[0][0]-j.v[0][0],j.i[0][1]-j.v[0][1]]),P.tLength+=U.segmentLength,P.segments.push(U),k+=U.segmentLength),this._pathData.pi=P}if(P=this._pathData.pi,x=this._pathData.f.v,p=0,y=1,_=0,d=!0,M=P.segments,x<0&&Z.v.c)for(P.tLength<Math.abs(x)&&(x=-Math.abs(x)%P.tLength),p=M.length-1,A=M[p].points,y=A.length-1;x<0;)x+=A[y].partialLength,y-=1,y<0&&(p-=1,A=M[p].points,y=A.length-1);A=M[p].points,b=A[y-1],g=A[y],L=g.partialLength}E=u.length,l=0,c=0;var X=e.finalSize*1.2*.714,H=!0,T,I,C,S,V;S=s.length;var F,z=-1,q,$,J,re=x,le=p,pe=y,ue=-1,ce,se,oe,te,K,Ae,Me,we,ge="",Ce=this.defaultPropsArray,Pe;if(e.j===2||e.j===1){var me=0,xe=0,Te=e.j===2?-.5:-1,be=0,_e=!0;for(m=0;m<E;m+=1)if(u[m].n){for(me&&(me+=xe);be<m;)u[be].animatorJustifyOffset=me,be+=1;me=0,_e=!0}else{for(C=0;C<S;C+=1)T=s[C].a,T.t.propType&&(_e&&e.j===2&&(xe+=T.t.v*Te),I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),F.length?me+=T.t.v*F[0]*Te:me+=T.t.v*F*Te);_e=!1}for(me&&(me+=xe);be<m;)u[be].animatorJustifyOffset=me,be+=1}for(m=0;m<E;m+=1){if(a.reset(),ce=1,u[m].n)l=0,c+=e.yOffset,c+=H?1:0,x=re,H=!1,this._hasMaskedPath&&(p=le,y=pe,A=M[p].points,b=A[y-1],g=A[y],L=g.partialLength,_=0),ge="",we="",Ae="",Pe="",Ce=this.defaultPropsArray;else{if(this._hasMaskedPath){if(ue!==u[m].line){switch(e.j){case 1:x+=k-e.lineWidths[u[m].line];break;case 2:x+=(k-e.lineWidths[u[m].line])/2;break}ue=u[m].line}z!==u[m].ind&&(u[z]&&(x+=u[z].extra),x+=u[m].an/2,z=u[m].ind),x+=i[0]*u[m].an*.005;var Se=0;for(C=0;C<S;C+=1)T=s[C].a,T.p.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),F.length?Se+=T.p.v[0]*F[0]:Se+=T.p.v[0]*F),T.a.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),F.length?Se+=T.a.v[0]*F[0]:Se+=T.a.v[0]*F);for(d=!0,this._pathData.a.v&&(x=u[0].an*.5+(k-this._pathData.f.v-u[0].an*.5-u[u.length-1].an*.5)*z/(E-1),x+=this._pathData.f.v);d;)_+L>=x+Se||!A?(B=(x+Se-_)/g.partialLength,$=b.point[0]+(g.point[0]-b.point[0])*B,J=b.point[1]+(g.point[1]-b.point[1])*B,a.translate(-i[0]*u[m].an*.005,-(i[1]*X)*.01),d=!1):A&&(_+=g.partialLength,y+=1,y>=A.length&&(y=0,p+=1,M[p]?A=M[p].points:Z.v.c?(y=0,p=0,A=M[p].points):(_-=g.partialLength,A=null)),A&&(b=g,g=A[y],L=g.partialLength));q=u[m].an/2-u[m].add,a.translate(-q,0,0)}else q=u[m].an/2-u[m].add,a.translate(-q,0,0),a.translate(-i[0]*u[m].an*.005,-i[1]*X*.01,0);for(C=0;C<S;C+=1)T=s[C].a,T.t.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),(l!==0||e.j!==0)&&(this._hasMaskedPath?F.length?x+=T.t.v*F[0]:x+=T.t.v*F:F.length?l+=T.t.v*F[0]:l+=T.t.v*F));for(e.strokeWidthAnim&&(oe=e.sw||0),e.strokeColorAnim&&(e.sc?se=[e.sc[0],e.sc[1],e.sc[2]]:se=[0,0,0]),e.fillColorAnim&&e.fc&&(te=[e.fc[0],e.fc[1],e.fc[2]]),C=0;C<S;C+=1)T=s[C].a,T.a.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),F.length?a.translate(-T.a.v[0]*F[0],-T.a.v[1]*F[1],T.a.v[2]*F[2]):a.translate(-T.a.v[0]*F,-T.a.v[1]*F,T.a.v[2]*F));for(C=0;C<S;C+=1)T=s[C].a,T.s.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),F.length?a.scale(1+(T.s.v[0]-1)*F[0],1+(T.s.v[1]-1)*F[1],1):a.scale(1+(T.s.v[0]-1)*F,1+(T.s.v[1]-1)*F,1));for(C=0;C<S;C+=1){if(T=s[C].a,I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),T.sk.propType&&(F.length?a.skewFromAxis(-T.sk.v*F[0],T.sa.v*F[1]):a.skewFromAxis(-T.sk.v*F,T.sa.v*F)),T.r.propType&&(F.length?a.rotateZ(-T.r.v*F[2]):a.rotateZ(-T.r.v*F)),T.ry.propType&&(F.length?a.rotateY(T.ry.v*F[1]):a.rotateY(T.ry.v*F)),T.rx.propType&&(F.length?a.rotateX(T.rx.v*F[0]):a.rotateX(T.rx.v*F)),T.o.propType&&(F.length?ce+=(T.o.v*F[0]-ce)*F[0]:ce+=(T.o.v*F-ce)*F),e.strokeWidthAnim&&T.sw.propType&&(F.length?oe+=T.sw.v*F[0]:oe+=T.sw.v*F),e.strokeColorAnim&&T.sc.propType)for(K=0;K<3;K+=1)F.length?se[K]+=(T.sc.v[K]-se[K])*F[0]:se[K]+=(T.sc.v[K]-se[K])*F;if(e.fillColorAnim&&e.fc){if(T.fc.propType)for(K=0;K<3;K+=1)F.length?te[K]+=(T.fc.v[K]-te[K])*F[0]:te[K]+=(T.fc.v[K]-te[K])*F;T.fh.propType&&(F.length?te=addHueToRGB(te,T.fh.v*F[0]):te=addHueToRGB(te,T.fh.v*F)),T.fs.propType&&(F.length?te=addSaturationToRGB(te,T.fs.v*F[0]):te=addSaturationToRGB(te,T.fs.v*F)),T.fb.propType&&(F.length?te=addBrightnessToRGB(te,T.fb.v*F[0]):te=addBrightnessToRGB(te,T.fb.v*F))}}for(C=0;C<S;C+=1)T=s[C].a,T.p.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),this._hasMaskedPath?F.length?a.translate(0,T.p.v[1]*F[0],-T.p.v[2]*F[1]):a.translate(0,T.p.v[1]*F,-T.p.v[2]*F):F.length?a.translate(T.p.v[0]*F[0],T.p.v[1]*F[1],-T.p.v[2]*F[2]):a.translate(T.p.v[0]*F,T.p.v[1]*F,-T.p.v[2]*F));if(e.strokeWidthAnim&&(Ae=oe<0?0:oe),e.strokeColorAnim&&(Me="rgb("+Math.round(se[0]*255)+","+Math.round(se[1]*255)+","+Math.round(se[2]*255)+")"),e.fillColorAnim&&e.fc&&(we="rgb("+Math.round(te[0]*255)+","+Math.round(te[1]*255)+","+Math.round(te[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-e.ls),a.translate(0,i[1]*X*.01+c,0),this._pathData.p.v){Y=(g.point[1]-b.point[1])/(g.point[0]-b.point[0]);var Ee=Math.atan(Y)*180/Math.PI;g.point[0]<b.point[0]&&(Ee+=180),a.rotate(-Ee*Math.PI/180)}a.translate($,J,0),x-=i[0]*u[m].an*.005,u[m+1]&&z!==u[m+1].ind&&(x+=u[m].an/2,x+=e.tr*.001*e.finalSize)}else{switch(a.translate(l,c,0),e.ps&&a.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:a.translate(u[m].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[u[m].line]),0,0);break;case 2:a.translate(u[m].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[u[m].line])/2,0,0);break}a.translate(0,-e.ls),a.translate(q,0,0),a.translate(i[0]*u[m].an*.005,i[1]*X*.01,0),l+=u[m].l+e.tr*.001*e.finalSize}o==="html"?ge=a.toCSS():o==="svg"?ge=a.to2dCSS():Ce=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],Pe=ce}f<=m?(V=new LetterProps(Pe,Ae,Me,we,ge,Ce),this.renderedLetters.push(V),f+=1,this.lettersChangedFlag=!0):(V=this.renderedLetters[m],this.lettersChangedFlag=V.update(Pe,Ae,Me,we,ge,Ce)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(e,t,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,i),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var i,s=t.length,n,a="";for(i=0;i<s;i+=1)t[i].ty==="sh"&&(n=t[i].ks.k,a+=buildShapeString(n,n.i.length,!0,e));return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,i,s,n){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[i]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[i])/2,0,0);break}t.translate(s,n,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,i){this.textSpans=[],this.renderType="svg",this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,i=e.length,s=[],n="";t<i;)e[t]==="\r"||e[t]===""?(s.push(n),n=""):n+=e[t],t+=1;return s.push(n),s},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var i=e.shapes[0];if(i.it){var s=i.it[i.it.length-1];s.s&&(s.s.k[0]=t,s.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,t,i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var s=this.globalData.fontManager.getFontByName(i.f);if(s.fClass)this.layerElement.setAttribute("class",s.fClass);else{this.layerElement.setAttribute("font-family",s.fFamily);var n=i.fWeight,a=i.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",i.t);var o=i.l||[],f=!!this.globalData.fontManager.chars;t=o.length;var l,c=this.mHelper,m="",E=this.data.singleShape,u=0,P=0,x=!0,g=i.tr*.001*i.finalSize;if(E&&!f&&!i.sz){var _=this.textContainer,d="start";switch(i.j){case 1:d="end";break;case 2:d="middle";break;default:d="start";break}_.setAttribute("text-anchor",d),_.setAttribute("letter-spacing",g);var y=this.buildTextContents(i.finalText);for(t=y.length,P=i.ps?i.ps[1]+i.ascent:0,e=0;e<t;e+=1)l=this.textSpans[e].span||createNS("tspan"),l.textContent=y[e],l.setAttribute("x",0),l.setAttribute("y",P),l.style.display="inherit",_.appendChild(l),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=l,P+=i.finalLineHeight;this.layerElement.appendChild(_)}else{var p=this.textSpans.length,b;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!f||!E||e===0){if(l=p>e?this.textSpans[e].span:createNS(f?"g":"text"),p<=e){if(l.setAttribute("stroke-linecap","butt"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=l,f){var A=createNS("g");l.appendChild(A),this.textSpans[e].childSpan=A}this.textSpans[e].span=l,this.layerElement.appendChild(l)}l.style.display="inherit"}if(c.reset(),E&&(o[e].n&&(u=-g,P+=i.yOffset,P+=x?1:0,x=!1),this.applyTextPropertiesToMatrix(i,c,o[e].line,u,P),u+=o[e].l||0,u+=g),f){b=this.globalData.fontManager.getCharData(i.finalText[e],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var M;if(b.t===1)M=new SVGCompElement(b.data,this.globalData,this);else{var L=emptyShapeData;b.data&&b.data.shapes&&(L=this.buildShapeData(b.data,i.finalSize)),M=new SVGShapeElement(L,this.globalData,this)}if(this.textSpans[e].glyph){var k=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(k.layerElement),k.destroy()}this.textSpans[e].glyph=M,M._debug=!0,M.prepareFrame(0),M.renderFrame(),this.textSpans[e].childSpan.appendChild(M.layerElement),b.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else E&&l.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),l.textContent=o[e].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}E&&l&&l.setAttribute("d",m)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<t;e+=1)i=this.textSpans[e].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,t,i=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;t=s.length;var n,a,o;for(e=0;e<t;e+=1)s[e].n||(n=i[e],a=this.textSpans[e].span,o=this.textSpans[e].glyph,o&&o.renderFrame(),n._mdf.m&&a.setAttribute("transform",n.m),n._mdf.o&&a.setAttribute("opacity",n.o),n._mdf.sw&&a.setAttribute("stroke-width",n.sw),n._mdf.sc&&a.setAttribute("stroke",n.sc),n._mdf.fc&&a.setAttribute("fill",n.fc))}};function ISolidElement(e,t,i){this.initElement(e,t,i)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function NullElement(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initFrame(),this.initTransform(e,t,i),this.initHierarchy()}NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var i=createNS("clipPath"),s=createNS("rect");s.setAttribute("width",e.w),s.setAttribute("height",e.h),s.setAttribute("x",0),s.setAttribute("y",0);var n=createElementID();i.setAttribute("id",n),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),t.appendChild(i),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,i=this.layers.length;for(t=0;t<i;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){t[e]=!0;var i=this.createItem(this.layers[e]);if(t[e]=i,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,e),this.layers[e].tt){var s="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(s===-1)return;if(!this.elements[s]||this.elements[s]===!0)this.buildItem(s),this.addPendingElement(i);else{var n=t[s],a=n.getMatte(this.layers[e].tt);i.setMatte(a)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,i=this.elements.length;t<i;){if(this.elements[t]===e){var s="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,n=this.elements[s],a=n.getMatte(this.layers[t].tt);e.setMatte(a);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,i=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=i-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<i;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var i=e.getBaseElement();if(i){for(var s=0,n;s<t;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement()&&(n=this.elements[s].getBaseElement()),s+=1;n?this.layerElement.insertBefore(i,n):this.layerElement.appendChild(i)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initTransform(e,t,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!t.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var i,s=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(e,t,i){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(t&&t.title){var s=createNS("title"),n=createElementID();s.setAttribute("id",n),s.textContent=t.title,this.svgElement.appendChild(s),i+=n}if(t&&t.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=t.description,this.svgElement.appendChild(a),i+=" "+o}i&&this.svgElement.setAttribute("aria-labelledby",i);var f=createNS("defs");this.svgElement.appendChild(f);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&t.hideOnTransparent===!1),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:f,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(t){var i,s=t.length,n="_";for(i=0;i<s;i+=1)n+=t[i].transform.key+"_";var a=this.sequences[n];return a||(a={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=a,this.sequenceList.push(a)),a},processSequence:function(t,i){for(var s=0,n=t.transforms.length,a=i;s<n&&!i;){if(t.transforms[s].transform.mProps._mdf){a=!0;break}s+=1}if(a)for(t.finalTransform.reset(),s=n-1;s>=0;s-=1)t.finalTransform.multiply(t.transforms[s].transform.mProps.v);t._mdf=a},processSequences:function(t){var i,s=this.sequenceList.length;for(i=0;i<s;i+=1)this.processSequence(this.sequenceList[i],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",i=null,s=null,n=null;function a(){var l=createNS("svg"),c=createNS("filter"),m=createNS("feColorMatrix");return c.setAttribute("id",t),m.setAttribute("type","matrix"),m.setAttribute("color-interpolation-filters","sRGB"),m.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),c.appendChild(m),l.appendChild(c),l.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(l.style.display="none"),l}function o(){i||(n=a(),document.body.appendChild(n),i=createTag("canvas"),s=i.getContext("2d"),s.filter="url(#"+t+")",s.fillStyle="rgba(0,0,0,0)",s.fillRect(0,0,1,1))}function f(l){return i||o(),i.width=l.width,i.height=l.height,s.filter="url(#"+t+")",i}return{load:o,get:f}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var i=createTag("canvas");return i.width=e,i.height=t,i}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(e){var t,i=e.data.ef?e.data.ef.length:0;this.filters=[];var s;for(t=0;t<i;t+=1){s=null;var n=e.data.ef[t].ty;if(registeredEffects[n]){var a=registeredEffects[n].effect;s=new a(e.effectsManager.effectElements[t],e)}s&&this.filters.push(s)}this.filters.length&&e.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(e){var t,i=this.filters.length;for(t=0;t<i;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,i=this.filters.length,s=[];for(t=0;t<i;t+=1)this.filters[t].type===e&&s.push(this.filters[t]);return s};function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i,s=this.masksProperties.length,n=!1;for(i=0;i<s;i+=1)this.masksProperties[i].mode!=="n"&&(n=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,t=this.element.canvasContext,i,s=this.masksProperties.length,n,a,o;for(t.beginPath(),i=0;i<s;i+=1)if(this.masksProperties[i].mode!=="n"){this.masksProperties[i].inv&&(t.moveTo(0,0),t.lineTo(this.element.globalData.compSize.w,0),t.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),t.lineTo(0,this.element.globalData.compSize.h),t.lineTo(0,0)),o=this.viewData[i].v,n=e.applyToPointArray(o.v[0][0],o.v[0][1],0),t.moveTo(n[0],n[1]);var f,l=o._length;for(f=1;f<l;f+=1)a=e.applyToTriplePoints(o.o[f-1],o.i[f],o.v[f]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=e.applyToTriplePoints(o.o[f-1],o.i[0],o.v[0]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),t.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i);var s=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(s),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var i=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=i}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],i=t.getContext("2d");this.clearCanvas(i),i.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],i=t.getContext("2d");this.clearCanvas(i),i.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var s=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(s.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=n.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var i=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(i),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(i),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(e,t,i,s){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n=4;t.ty==="rc"?n=5:t.ty==="el"?n=6:t.ty==="sr"&&(n=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,n,e);var a,o=i.length,f;for(a=0;a<o;a+=1)i[a].closed||(f={transforms:s.addTransformSequence(i[a].transforms),trNodes:[]},this.styledShapes.push(f),i[a].elements.push(f))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var i={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},s={};if(e.ty==="fl"||e.ty==="st"?(s.c=PropertyFactory.getProp(this,e.c,1,255,this),s.c.k||(i.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(s.s=PropertyFactory.getProp(this,e.s,1,null,this),s.e=PropertyFactory.getProp(this,e.e,1,null,this),s.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),s.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),s.g=new GradientProperty(this,e.g,this)),s.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(i.lc=lineCapEnum[e.lc||2],i.lj=lineJoinEnum[e.lj||2],e.lj==1&&(i.ml=e.ml),s.w=PropertyFactory.getProp(this,e.w,0,null,this),s.w.k||(i.wi=s.w.v),e.d){var n=new DashProperty(this,e.d,"canvas",this);s.d=n,s.d.k||(i.da=s.d.dashArray,i.do=s.d.dashoffset[0])}}else i.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(i),s.style=i,s},CVShapeElement.prototype.createGroupElement=function(){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(e){var t={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}};return t},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,i=this.stylesList.length;for(t=0;t<i;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,i,s,n){var a,o=e.length-1,f,l,c=[],m=[],E,u,P,x=[].concat(n);for(a=o;a>=0;a-=1){if(E=this.searchProcessedElement(e[a]),E?t[a]=i[E-1]:e[a]._shouldRender=s,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")E?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],x),c.push(t[a].style);else if(e[a].ty==="gr"){if(!E)t[a]=this.createGroupElement(e[a]);else for(l=t[a].it.length,f=0;f<l;f+=1)t[a].prevViewData[f]=t[a].it[f];this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,s,x)}else e[a].ty==="tr"?(E||(P=this.createTransformElement(e[a]),t[a]=P),x.push(t[a]),this.addTransformToStyleList(t[a])):e[a].ty==="sh"||e[a].ty==="rc"||e[a].ty==="el"||e[a].ty==="sr"?E||(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"?(E?(u=t[a],u.closed=!1):(u=ShapeModifiers.getModifier(e[a].ty),u.init(this,e[a]),t[a]=u,this.shapeModifiers.push(u)),m.push(u)):e[a].ty==="rp"&&(E?(u=t[a],u.closed=!0):(u=ShapeModifiers.getModifier(e[a].ty),t[a]=u,u.init(this,e,a,t),this.shapeModifiers.push(u),s=!1),m.push(u));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(c),o=m.length,a=0;a<o;a+=1)m[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t=this.stylesList.length,i,s,n,a,o,f,l=this.globalData.renderer,c=this.globalData.canvasContext,m,E;for(e=0;e<t;e+=1)if(E=this.stylesList[e],m=E.type,!((m==="st"||m==="gs")&&E.wi===0||!E.data._shouldRender||E.coOp===0||this.globalData.currentGlobalAlpha===0)){for(l.save(),o=E.elements,m==="st"||m==="gs"?(l.ctxStrokeStyle(m==="st"?E.co:E.grd),l.ctxLineWidth(E.wi),l.ctxLineCap(E.lc),l.ctxLineJoin(E.lj),l.ctxMiterLimit(E.ml||0)):l.ctxFillStyle(m==="fl"?E.co:E.grd),l.ctxOpacity(E.coOp),m!=="st"&&m!=="gs"&&c.beginPath(),l.ctxTransform(E.preTransforms.finalTransform.props),s=o.length,i=0;i<s;i+=1){for((m==="st"||m==="gs")&&(c.beginPath(),E.da&&(c.setLineDash(E.da),c.lineDashOffset=E.do)),f=o[i].trNodes,a=f.length,n=0;n<a;n+=1)f[n].t==="m"?c.moveTo(f[n].p[0],f[n].p[1]):f[n].t==="c"?c.bezierCurveTo(f[n].pts[0],f[n].pts[1],f[n].pts[2],f[n].pts[3],f[n].pts[4],f[n].pts[5]):c.closePath();(m==="st"||m==="gs")&&(l.ctxStroke(),E.da&&c.setLineDash(this.dashResetter))}m!=="st"&&m!=="gs"&&this.globalData.renderer.ctxFill(E.r),l.restore()}},CVShapeElement.prototype.renderShape=function(e,t,i,s){var n,a=t.length-1,o;for(o=e,n=a;n>=0;n-=1)t[n].ty==="tr"?(o=i[n].transform,this.renderShapeTransform(e,o)):t[n].ty==="sh"||t[n].ty==="el"||t[n].ty==="rc"||t[n].ty==="sr"?this.renderPath(t[n],i[n]):t[n].ty==="fl"?this.renderFill(t[n],i[n],o):t[n].ty==="st"?this.renderStroke(t[n],i[n],o):t[n].ty==="gf"||t[n].ty==="gs"?this.renderGradientFill(t[n],i[n],o):t[n].ty==="gr"?this.renderShape(o,t[n].it,i[n].it):t[n].ty;s&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var i=e.trNodes,s=t.paths,n,a,o,f=s._length;i.length=0;var l=e.transforms.finalTransform;for(o=0;o<f;o+=1){var c=s.shapes[o];if(c&&c.v){for(a=c._length,n=1;n<a;n+=1)n===1&&i.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),i.push({t:"c",pts:l.applyToTriplePoints(c.o[n-1],c.i[n],c.v[n])});a===1&&i.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&a&&(i.push({t:"c",pts:l.applyToTriplePoints(c.o[n-1],c.i[0],c.v[0])}),i.push({t:"z"}))}}e.trNodes=i}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var i,s=t.styledShapes.length;for(i=0;i<s;i+=1)this.renderStyledShape(t.styledShapes[i],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,i){var s=t.style;(t.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=t.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,i){var s=t.style,n;if(!s.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var a=this.globalData.canvasContext,o=t.s.v,f=t.e.v;if(e.t===1)n=a.createLinearGradient(o[0],o[1],f[0],f[1]);else{var l=Math.sqrt(Math.pow(o[0]-f[0],2)+Math.pow(o[1]-f[1],2)),c=Math.atan2(f[1]-o[1],f[0]-o[0]),m=t.h.v;m>=1?m=.99:m<=-1&&(m=-.99);var E=l*m,u=Math.cos(c+t.a.v)*E+o[0],P=Math.sin(c+t.a.v)*E+o[1];n=a.createRadialGradient(u,P,0,o[0],o[1],l)}var x,g=e.g.p,_=t.g.c,d=1;for(x=0;x<g;x+=1)t.g._hasOpacity&&t.g._collapsable&&(d=t.g.o[x*2+1]),n.addColorStop(_[x*4]/100,"rgba("+_[x*4+1]+","+_[x*4+2]+","+_[x*4+3]+","+d+")");s.grd=n}s.coOp=t.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(e,t,i){var s=t.style,n=t.d;n&&(n._mdf||this._isFirstFrame)&&(s.da=n.dashArray,s.do=n.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=t.o.v*i.opacity),(t.w._mdf||this._isFirstFrame)&&(s.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(e,t,i){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var i=!1;e.sc&&(i=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var s=this.globalData.fontManager.getFontByName(e.f),n,a,o=e.l,f=this.mHelper;this.stroke=i,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var l,c,m,E,u,P,x,g,_,d,y=this.data.singleShape,p=e.tr*.001*e.finalSize,b=0,A=0,M=!0,L=0;for(n=0;n<a;n+=1){l=this.globalData.fontManager.getCharData(e.finalText[n],s.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),c=l&&l.data||{},f.reset(),y&&o[n].n&&(b=-p,A+=e.yOffset,A+=M?1:0,M=!1),u=c.shapes?c.shapes[0].it:[],x=u.length,f.scale(e.finalSize/100,e.finalSize/100),y&&this.applyTextPropertiesToMatrix(e,f,o[n].line,b,A),_=createSizedArray(x-1);var k=0;for(P=0;P<x;P+=1)if(u[P].ty==="sh"){for(E=u[P].ks.k.i.length,g=u[P].ks.k,d=[],m=1;m<E;m+=1)m===1&&d.push(f.applyToX(g.v[0][0],g.v[0][1],0),f.applyToY(g.v[0][0],g.v[0][1],0)),d.push(f.applyToX(g.o[m-1][0],g.o[m-1][1],0),f.applyToY(g.o[m-1][0],g.o[m-1][1],0),f.applyToX(g.i[m][0],g.i[m][1],0),f.applyToY(g.i[m][0],g.i[m][1],0),f.applyToX(g.v[m][0],g.v[m][1],0),f.applyToY(g.v[m][0],g.v[m][1],0));d.push(f.applyToX(g.o[m-1][0],g.o[m-1][1],0),f.applyToY(g.o[m-1][0],g.o[m-1][1],0),f.applyToX(g.i[0][0],g.i[0][1],0),f.applyToY(g.i[0][0],g.i[0][1],0),f.applyToX(g.v[0][0],g.v[0][1],0),f.applyToY(g.v[0][0],g.v[0][1],0)),_[k]=d,k+=1}y&&(b+=o[n].l,b+=p),this.textSpans[L]?this.textSpans[L].elem=_:this.textSpans[L]={elem:_},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,s,n,a,o,f=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;i=l.length;var c,m=null,E=null,u=null,P,x,g=this.globalData.renderer;for(t=0;t<i;t+=1)if(!l[t].n){if(c=f[t],c&&(g.save(),g.ctxTransform(c.p),g.ctxOpacity(c.o)),this.fill){for(c&&c.fc?m!==c.fc&&(g.ctxFillStyle(c.fc),m=c.fc):m!==this.values.fill&&(m=this.values.fill,g.ctxFillStyle(this.values.fill)),P=this.textSpans[t].elem,n=P.length,this.globalData.canvasContext.beginPath(),s=0;s<n;s+=1)for(x=P[s],o=x.length,this.globalData.canvasContext.moveTo(x[0],x[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(x[a],x[a+1],x[a+2],x[a+3],x[a+4],x[a+5]);this.globalData.canvasContext.closePath(),g.ctxFill()}if(this.stroke){for(c&&c.sw?u!==c.sw&&(u=c.sw,g.ctxLineWidth(c.sw)):u!==this.values.sWidth&&(u=this.values.sWidth,g.ctxLineWidth(this.values.sWidth)),c&&c.sc?E!==c.sc&&(E=c.sc,g.ctxStrokeStyle(c.sc)):E!==this.values.stroke&&(E=this.values.stroke,g.ctxStrokeStyle(this.values.stroke)),P=this.textSpans[t].elem,n=P.length,this.globalData.canvasContext.beginPath(),s=0;s<n;s+=1)for(x=P[s],o=x.length,this.globalData.canvasContext.moveTo(x[0],x[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(x[a],x[a+1],x[a+2],x[a+3],x[a+4],x[a+5]);this.globalData.canvasContext.closePath(),g.ctxStroke()}c&&this.globalData.renderer.restore()}};function CVImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t=e.getContext("2d"),i=this.img.width,s=this.img.height,n=i/s,a=this.assetData.w/this.assetData.h,o,f,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;n>a&&l==="xMidYMid slice"||n<a&&l!=="xMidYMid slice"?(f=s,o=f*a):(o=i,f=o/a),t.drawImage(this.img,(i-o)/2,(s-f)/2,o,f,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,t,i){this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,i,s){this.canvasContext.fillRect(e,t,i,s)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var i="0px 0px 0px";t.transformOrigin=i,t.mozTransformOrigin=i,t.webkitTransformOrigin=i,t["-webkit-transform"]=i,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){this.reset();var i,s;e?(i=e,s=t,this.canvasContext.canvas.width=i,this.canvasContext.canvas.height=s):(this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,s=this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,s=this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=s*this.renderConfig.dpr);var n,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var o=this.renderConfig.preserveAspectRatio.split(" "),f=o[1]||"meet",l=o[0]||"xMidYMid",c=l.substr(0,4),m=l.substr(4);n=i/s,a=this.transformCanvas.w/this.transformCanvas.h,a>n&&f==="meet"||a<n&&f==="slice"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)),c==="xMid"&&(a<n&&f==="meet"||a>n&&f==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(s/this.transformCanvas.h))/2*this.renderConfig.dpr:c==="xMax"&&(a<n&&f==="meet"||a>n&&f==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(s/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,m==="YMid"&&(a>n&&f==="meet"||a<n&&f==="slice")?this.transformCanvas.ty=(s-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:m==="YMax"&&(a>n&&f==="meet"||a<n&&f==="slice")?this.transformCanvas.ty=(s-this.transformCanvas.h*(i/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e,t=this.layers?this.layers.length:0;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var i,s=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(e-this.layers[i].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var i=this.createItem(this.layers[e],this,this.globalData);t[e]=i,i.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var e,t=15;for(e=0;e<t;e+=1){var i=new CanvasContext;this.stack[e]=i}this._length=t,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var e=this._length*2,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t=this.stack[this.cArrPos],i=t.transform,s,n=this.cTr.props;for(s=0;s<16;s+=1)n[s]=i[s];if(e){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13]),(e||t.opacity!==-1&&this.currentOpacity!==t.opacity)&&(this.nativeContext.globalAlpha=t.opacity,this.currentOpacity=t.opacity),this.currentFillStyle=t.fillStyle,this.currentStrokeStyle=t.strokeStyle,this.currentLineWidth=t.lineWidth,this.currentLineCap=t.lineCap,this.currentLineJoin=t.lineJoin,this.currentMiterLimit=t.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var i=this.stack[this.cArrPos],s;for(s=0;s<16;s+=1)i.transform[s]=t[s];this.cArrPos+=1;var n=this.stack[this.cArrPos];n.opacity=i.opacity,n.fillStyle=i.fillStyle,n.strokeStyle=i.strokeStyle,n.lineWidth=i.lineWidth,n.lineCap=i.lineCap,n.lineJoin=i.lineJoin,n.miterLimit=i.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var i=t.props;this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,i,s){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,i,s)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(e,t,i){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var t,i=this.layers.length;for(t=i-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var i=this.finalTransform.mat.toCSS();t.transform=i,t.webkitTransform=i}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(e,t,i){this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,i),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)t=e[i].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var i=e.sh.v,s=e.transformers,n,a=i._length,o,f,l,c;if(!(a<=1)){for(n=0;n<a-1;n+=1)o=this.getTransformedPoint(s,i.v[n]),f=this.getTransformedPoint(s,i.o[n]),l=this.getTransformedPoint(s,i.i[n+1]),c=this.getTransformedPoint(s,i.v[n+1]),this.checkBounds(o,f,l,c,t);i.c&&(o=this.getTransformedPoint(s,i.v[n]),f=this.getTransformedPoint(s,i.o[n]),l=this.getTransformedPoint(s,i.i[0]),c=this.getTransformedPoint(s,i.v[0]),this.checkBounds(o,f,l,c,t))}},HShapeElement.prototype.checkBounds=function(e,t,i,s,n){this.getBoundsOfCurve(e,t,i,s);var a=this.shapeBoundingBox;n.x=bmMin(a.left,n.x),n.xMax=bmMax(a.right,n.xMax),n.y=bmMin(a.top,n.y),n.yMax=bmMax(a.bottom,n.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,i,s){for(var n=[[e[0],s[0]],[e[1],s[1]]],a,o,f,l,c,m,E,u=0;u<2;++u)o=6*e[u]-12*t[u]+6*i[u],a=-3*e[u]+9*t[u]-9*i[u]+3*s[u],f=3*t[u]-3*e[u],o|=0,a|=0,f|=0,a===0&&o===0||(a===0?(l=-f/o,l>0&&l<1&&n[u].push(this.calculateF(l,e,t,i,s,u))):(c=o*o-4*f*a,c>=0&&(m=(-o+bmSqrt(c))/(2*a),m>0&&m<1&&n[u].push(this.calculateF(m,e,t,i,s,u)),E=(-o-bmSqrt(c))/(2*a),E>0&&E<1&&n[u].push(this.calculateF(E,e,t,i,s,u)))));this.shapeBoundingBox.left=bmMin.apply(null,n[0]),this.shapeBoundingBox.top=bmMin.apply(null,n[1]),this.shapeBoundingBox.right=bmMax.apply(null,n[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,n[1])},HShapeElement.prototype.calculateF=function(e,t,i,s,n,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*i[a]+3*(1-e)*bmPow(e,2)*s[a]+bmPow(e,3)*n[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)e[i]&&e[i].sh?this.calculateShapeBoundingBox(e[i],t):e[i]&&e[i].it?this.calculateBoundingBox(e[i].it,t):e[i]&&e[i].style&&e[i].w&&this.expandStrokeBoundingBox(e[i].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var i=0;if(e.keyframes){for(var s=0;s<e.keyframes.length;s+=1){var n=e.keyframes[s].s;n>i&&(i=n)}i*=e.mult}else i=e.v*e.mult;t.x-=i,t.xMax+=i,t.y-=i,t.yMax+=i},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var i=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),i=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),i=!0),i||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var s=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";s.transform=n,s.webkitTransform=n}}};function HTextElement(e,t,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,i=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=i,t.color=i,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var s=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",s.fClass)this.innerElem.className=s.fClass;else{t.fontFamily=s.fFamily;var n=e.fWeight,a=e.fStyle;t.fontStyle=a,t.fontWeight=n}var o,f,l=e.l;f=l.length;var c,m,E,u=this.mHelper,P,x="",g=0;for(o=0;o<f;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[g]?c=this.textPaths[g]:(c=createNS("path"),c.setAttribute("stroke-linecap",lineCapEnum[1]),c.setAttribute("stroke-linejoin",lineJoinEnum[2]),c.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[g]?(m=this.textSpans[g],E=m.children[0]):(m=createTag("div"),m.style.lineHeight=0,E=createNS("svg"),E.appendChild(c),styleDiv(m)))):this.isMasked?c=this.textPaths[g]?this.textPaths[g]:createNS("text"):this.textSpans[g]?(m=this.textSpans[g],c=this.textPaths[g]):(m=createTag("span"),styleDiv(m),c=createTag("span"),styleDiv(c),m.appendChild(c)),this.globalData.fontManager.chars){var _=this.globalData.fontManager.getCharData(e.finalText[o],s.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),d;if(_?d=_.data:d=null,u.reset(),d&&d.shapes&&d.shapes.length&&(P=d.shapes[0].it,u.scale(e.finalSize/100,e.finalSize/100),x=this.createPathShape(u,P),c.setAttribute("d",x)),this.isMasked)this.innerElem.appendChild(c);else{if(this.innerElem.appendChild(m),d&&d.shapes){document.body.appendChild(E);var y=E.getBBox();E.setAttribute("width",y.width+2),E.setAttribute("height",y.height+2),E.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var p=E.style,b="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";p.transform=b,p.webkitTransform=b,l[o].yOffset=y.y-1}else E.setAttribute("width",1),E.setAttribute("height",1);m.appendChild(E)}}else if(c.textContent=l[o].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(c);else{this.innerElem.appendChild(m);var A=c.style,M="translate3d(0,"+-e.finalSize/1.2+"px,0)";A.transform=M,A.webkitTransform=M}this.isMasked?this.textSpans[g]=c:this.textSpans[g]=m,this.textSpans[g].style.display="block",this.textPaths[g]=c,g+=1}for(;g<this.textSpans.length;)this.textSpans[g].style.display="none",g+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var i,s,n=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;s=o.length;var f,l,c;for(i=0;i<s;i+=1)o[i].n?n+=1:(l=this.textSpans[i],c=this.textPaths[i],f=a[n],n+=1,f._mdf.m&&(this.isMasked?l.setAttribute("transform",f.m):(l.style.webkitTransform=f.m,l.style.transform=f.m)),l.style.opacity=f.o,f.sw&&f._mdf.sw&&c.setAttribute("stroke-width",f.sw),f.sc&&f._mdf.sc&&c.setAttribute("stroke",f.sc),f.fc&&f._mdf.fc&&(c.setAttribute("fill",f.fc),c.style.color=f.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var m=this.innerElem.getBBox();this.currentBBox.w!==m.width&&(this.currentBBox.w=m.width,this.svgElement.setAttribute("width",m.width)),this.currentBBox.h!==m.height&&(this.currentBBox.h=m.height,this.svgElement.setAttribute("height",m.height));var E=1;if(this.currentBBox.w!==m.width+E*2||this.currentBBox.h!==m.height+E*2||this.currentBBox.x!==m.x-E||this.currentBBox.y!==m.y-E){this.currentBBox.w=m.width+E*2,this.currentBBox.h=m.height+E*2,this.currentBBox.x=m.x-E,this.currentBBox.y=m.y-E,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=u,e.webkitTransform=u}}}};function HCameraElement(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initHierarchy();var s=PropertyFactory.getProp;if(this.pe=s(this,e.pe,0,0,this),e.ks.p.s?(this.px=s(this,e.ks.p.x,1,0,this),this.py=s(this,e.ks.p.y,1,0,this),this.pz=s(this,e.ks.p.z,1,0,this)):this.p=s(this,e.ks.p,1,0,this),e.ks.a&&(this.a=s(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var n,a=e.ks.or.k.length;for(n=0;n<a;n+=1)e.ks.or.k[n].to=null,e.ks.or.k[n].ti=null}this.or=s(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=s(this,e.ks.rx,0,degToRads,this),this.ry=s(this,e.ks.ry,0,degToRads,this),this.rz=s(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t=this.comp.threeDElements.length,i,s,n;for(e=0;e<t;e+=1)if(i=this.comp.threeDElements[e],i.type==="3d"){s=i.perspectiveElem.style,n=i.container.style;var a=this.pe.v+"px",o="0px 0px 0px",f="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.perspective=a,s.webkitPerspective=a,n.transformOrigin=o,n.mozTransformOrigin=o,n.webkitTransformOrigin=o,s.transform=f,s.webkitTransform=f}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e=this._isFirstFrame,t,i;if(this.hierarchy)for(i=this.hierarchy.length,t=0;t<i;t+=1)e=this.hierarchy[t].finalTransform.mProp._mdf||e;if(e||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(i=this.hierarchy.length-1,t=i;t>=0;t-=1){var s=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-s.p.v[0],-s.p.v[1],s.p.v[2]),this.mat.rotateX(-s.or.v[0]).rotateY(-s.or.v[1]).rotateZ(s.or.v[2]),this.mat.rotateX(-s.rx.v).rotateY(-s.ry.v).rotateZ(s.rz.v),this.mat.scale(1/s.s.v[0],1/s.s.v[1],1/s.s.v[2]),this.mat.translate(s.a.v[0],s.a.v[1],s.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var n;this.p?n=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:n=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),o=[n[0]/a,n[1]/a,n[2]/a],f=Math.sqrt(o[2]*o[2]+o[0]*o[0]),l=Math.atan2(o[1],f),c=Math.atan2(o[0],-o[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var m=!this._prevMat.equals(this.mat);if((m||this.pe._mdf)&&this.comp.threeDElements){i=this.comp.threeDElements.length;var E,u,P;for(t=0;t<i;t+=1)if(E=this.comp.threeDElements[t],E.type==="3d"){if(m){var x=this.mat.toCSS();P=E.container.style,P.transform=x,P.webkitTransform=x}this.pe._mdf&&(u=E.perspectiveElem.style,u.perspective=this.pe.v+"px",u.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,t){var i=e.getBaseElement();if(i){var s=this.layers[t];if(!s.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(i,t);else{for(var n=0,a,o,f;n<t;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement&&(o=this.elements[n],f=this.layers[n].ddd?this.getThreeDContainerByPos(n):o.getBaseElement(),a=f||a),n+=1;a?(!s.ddd||!this.supports3d)&&this.layerElement.insertBefore(i,a):(!s.ddd||!this.supports3d)&&this.layerElement.appendChild(i)}else this.addTo3dContainer(i,t)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,i=this.threeDElements.length;t<i;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var i=createTag("div"),s,n;styleDiv(i);var a=createTag("div");if(styleDiv(a),t==="3d"){s=i.style,s.width=this.globalData.compSize.w+"px",s.height=this.globalData.compSize.h+"px";var o="50% 50%";s.webkitTransformOrigin=o,s.mozTransformOrigin=o,s.transformOrigin=o,n=a.style;var f="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.transform=f,n.webkitTransform=f}i.appendChild(a);var l={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,i,s="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(s!=="3d"&&(s="3d",i=this.createThreeDContainer(e,"3d")),i.endPos=Math.max(i.endPos,e)):(s!=="2d"&&(s="2d",i=this.createThreeDContainer(e,"2d")),i.endPos=Math.max(i.endPos,e));for(t=this.threeDElements.length,e=t-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var i=0,s=this.threeDElements.length;i<s;){if(t<=this.threeDElements[i].endPos){for(var n=this.threeDElements[i].startPos,a;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(a=this.elements[n].getBaseElement()),n+=1;a?this.threeDElements[i].container.insertBefore(e,a):this.threeDElements[i].container.appendChild(e);break}i+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),i=this.animationItem.wrapper,s=t.style;s.width=e.w+"px",s.height=e.h+"px",this.resizerElem=t,styleDiv(t),s.transformStyle="flat",s.mozTransformStyle="flat",s.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),i.appendChild(t),s.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var a=createNS("defs");n.appendChild(a),this.data=e,this.setupGlobalData(e,n),this.globalData.defs=a,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,i=e/t,s=this.globalData.compSize.w/this.globalData.compSize.h,n,a,o,f;s>i?(n=e/this.globalData.compSize.w,a=e/this.globalData.compSize.w,o=0,f=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(n=t/this.globalData.compSize.h,a=t/this.globalData.compSize.h,o=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,f=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+n+",0,0,0,0,"+a+",0,0,0,0,1,0,"+o+","+f+",0,1)",l.transform=l.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,i,s=this.threeDElements.length;for(i=0;i<s;i+=1){var n=this.threeDElements[i].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",n.perspective=n.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,i=e.length,s=createTag("div");for(t=0;t<i;t+=1)if(e[t].xt){var n=this.createComp(e[t],s,this.globalData.comp,null);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}};function HCompElement(e,t,i){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var i=0,s;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(s=this.elements[i].getBaseElement()),i+=1;s?this.layerElement.insertBefore(e,s):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(){return function(e){function t(i){for(var s=0,n=e.layers.length;s<n;){if(e.layers[s].nm===i||e.layers[s].ind===i)return e.elements[s].layerInterface;s+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t}}();function _typeof$2(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(i){return typeof i}:_typeof$2=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$2(e)}function seedRandom(e,t){var i=this,s=256,n=6,a=52,o="random",f=t.pow(s,n),l=t.pow(2,a),c=l*2,m=s-1,E;function u(p,b,A){var M=[];b=b===!0?{entropy:!0}:b||{};var L=_(g(b.entropy?[p,y(e)]:p===null?d():p,3),M),k=new P(M),B=function(){for(var Z=k.g(n),j=f,U=0;Z<l;)Z=(Z+U)*s,j*=s,U=k.g(1);for(;Z>=c;)Z/=2,j/=2,U>>>=1;return(Z+U)/j};return B.int32=function(){return k.g(4)|0},B.quick=function(){return k.g(4)/4294967296},B.double=B,_(y(k.S),e),(b.pass||A||function(Y,Z,j,U){return U&&(U.S&&x(U,k),Y.state=function(){return x(k,{})}),j?(t[o]=Y,Z):Y})(B,L,"global"in b?b.global:this==t,b.state)}t["seed"+o]=u;function P(p){var b,A=p.length,M=this,L=0,k=M.i=M.j=0,B=M.S=[];for(A||(p=[A++]);L<s;)B[L]=L++;for(L=0;L<s;L++)B[L]=B[k=m&k+p[L%A]+(b=B[L])],B[k]=b;M.g=function(Y){for(var Z,j=0,U=M.i,X=M.j,H=M.S;Y--;)Z=H[U=m&U+1],j=j*s+H[m&(H[U]=H[X=m&X+Z])+(H[X]=Z)];return M.i=U,M.j=X,j}}function x(p,b){return b.i=p.i,b.j=p.j,b.S=p.S.slice(),b}function g(p,b){var A=[],M=_typeof$2(p),L;if(b&&M=="object")for(L in p)try{A.push(g(p[L],b-1))}catch{}return A.length?A:M=="string"?p:p+"\0"}function _(p,b){for(var A=p+"",M,L=0;L<A.length;)b[m&L]=m&(M^=b[m&L]*19)+A.charCodeAt(L++);return y(b)}function d(){try{var p=new Uint8Array(s);return(i.crypto||i.msCrypto).getRandomValues(p),y(p)}catch{var b=i.navigator,A=b&&b.plugins;return[+new Date,i,A,i.screen,y(e)]}}function y(p){return String.fromCharCode.apply(0,p)}_(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(i){return typeof i}:_typeof$1=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return e==="number"||t instanceof Number||e==="boolean"||e==="string"}function $bm_neg(e){var t=_typeof$1(e);if(t==="number"||e instanceof Number||t==="boolean")return-e;if($bm_isInstanceOfArray(e)){var i,s=e.length,n=[];for(i=0;i<s;i+=1)n[i]=-e[i];return n}return e.propType?e.v:-e}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var i=_typeof$1(e),s=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(s,t)||i==="string"||s==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t))return e=e.slice(0),e[0]+=t,e;if(isNumerable(i,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,a=e.length,o=t.length,f=[];n<a||n<o;)(typeof e[n]=="number"||e[n]instanceof Number)&&(typeof t[n]=="number"||t[n]instanceof Number)?f[n]=e[n]+t[n]:f[n]=t[n]===void 0?e[n]:e[n]||t[n],n+=1;return f}return 0}var add=sum;function sub(e,t){var i=_typeof$1(e),s=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(s,t))return i==="string"&&(e=parseInt(e,10)),s==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t))return e=e.slice(0),e[0]-=t,e;if(isNumerable(i,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,a=e.length,o=t.length,f=[];n<a||n<o;)(typeof e[n]=="number"||e[n]instanceof Number)&&(typeof t[n]=="number"||t[n]instanceof Number)?f[n]=e[n]-t[n]:f[n]=t[n]===void 0?e[n]:e[n]||t[n],n+=1;return f}return 0}function mul(e,t){var i=_typeof$1(e),s=_typeof$1(t),n;if(isNumerable(i,e)&&isNumerable(s,t))return e*t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(o=e.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e[a]*t;return n}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e*t[a];return n}return 0}function div(e,t){var i=_typeof$1(e),s=_typeof$1(t),n;if(isNumerable(i,e)&&isNumerable(s,t))return e/t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(o=e.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e[a]/t;return n}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e/t[a];return n}return 0}function mod(e,t){return typeof e=="string"&&(e=parseInt(e,10)),typeof t=="string"&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,i){if(t>i){var s=i;i=t,t=s}return Math.min(Math.max(e,t),i)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var i,s=Math.min(e.length,t.length),n=0;for(i=0;i<s;i+=1)n+=Math.pow(t[i]-e[i],2);return Math.sqrt(n)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],i=e[1],s=e[2],n=Math.max(t,i,s),a=Math.min(t,i,s),o,f,l=(n+a)/2;if(n===a)o=0,f=0;else{var c=n-a;switch(f=l>.5?c/(2-n-a):c/(n+a),n){case t:o=(i-s)/c+(i<s?6:0);break;case i:o=(s-t)/c+2;break;case s:o=(t-i)/c+4;break}o/=6}return[o,f,l,e[3]]}function hue2rgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function hslToRgb(e){var t=e[0],i=e[1],s=e[2],n,a,o;if(i===0)n=s,o=s,a=s;else{var f=s<.5?s*(1+i):s+i-s*i,l=2*s-f;n=hue2rgb(l,f,t+1/3),a=hue2rgb(l,f,t),o=hue2rgb(l,f,t-1/3)}return[n,a,o,e[3]]}function linear(e,t,i,s,n){if((s===void 0||n===void 0)&&(s=t,n=i,t=0,i=1),i<t){var a=i;i=t,t=a}if(e<=t)return s;if(e>=i)return n;var o=i===t?0:(e-t)/(i-t);if(!s.length)return s+(n-s)*o;var f,l=s.length,c=createTypedArray("float32",l);for(f=0;f<l;f+=1)c[f]=s[f]+(n[f]-s[f])*o;return c}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var i,s=t.length;e||(e=createTypedArray("float32",s));var n=createTypedArray("float32",s),a=BMMath.random();for(i=0;i<s;i+=1)n[i]=e[i]+a*(t[i]-e[i]);return n}e===void 0&&(e=0);var o=BMMath.random();return e+o*(t-e)}function createPath(e,t,i,s){var n,a=e.length,o=shapePool.newElement();o.setPathData(!!s,a);var f=[0,0],l,c;for(n=0;n<a;n+=1)l=t&&t[n]?t[n]:f,c=i&&i[n]?i[n]:f,o.setTripleAt(e[n][0],e[n][1],c[0]+e[n][0],c[1]+e[n][1],l[0]+e[n][0],l[1]+e[n][1],n,!0);return o}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function e(t,i){var s,n,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a);t=5;var f=Math.floor(time*t);for(s=0,n=0;s<f;){for(n=0;n<a;n+=1)o[n]+=-i+i*2*BMMath.random();s+=1}var l=time*t,c=l-Math.floor(l),m=createTypedArray("float32",a);if(a>1){for(n=0;n<a;n+=1)m[n]=this.pv[n]+o[n]+(-i+i*2*BMMath.random())*c;return m}return this.pv+o[0]+(-i+i*2*BMMath.random())*c}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(e,t){var i=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],s=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads,n=-Math.atan2(i[1],i[2])/degToRads;return[n,s,0]}function easeOut(e,t,i,s,n){return applyEase(easeOutBez,e,t,i,s,n)}function easeIn(e,t,i,s,n){return applyEase(easeInBez,e,t,i,s,n)}function ease(e,t,i,s,n){return applyEase(easeInOutBez,e,t,i,s,n)}function applyEase(e,t,i,s,n,a){n===void 0?(n=i,a=s):t=(t-i)/(s-i),t>1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(n)){var f,l=n.length,c=createTypedArray("float32",l);for(f=0;f<l;f+=1)c[f]=(a[f]-n[f])*o+n[f];return c}return(a-n)*o+n}function nearestKey(e){var t,i=data.k.length,s,n;if(!data.k.length||typeof data.k[0]=="number")s=0,n=0;else if(s=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)s=1,n=data.k[0].t;else{for(t=0;t<i-1;t+=1)if(e===data.k[t].t){s=t+1,n=data.k[t].t;break}else if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(s=t+2,n=data.k[t+1].t):(s=t+1,n=data.k[t].t);break}s===-1&&(s=t+1,n=data.k[t].t)}var a={};return a.index=s,a.time=n/elem.comp.globalData.frameRate,a}function key(e){var t,i,s;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var n=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(s=n.length,i=0;i<s;i+=1)t[i]=n[i],t.value[i]=n[i];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return!e&&e!==0&&(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return typeof value=="string"?t===void 0?value.substring(e):value.substring(e,t):""}function substr(e,t){return typeof value=="string"?t===void 0?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=e===0?0:Math.floor(time*e)/e,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={};e.initExpressions=t,e.resetFrame=ExpressionManager.resetFrame;function t(i){var s=0,n=[];function a(){s+=1}function o(){s-=1,s===0&&l()}function f(c){n.indexOf(c)===-1&&n.push(c)}function l(){var c,m=n.length;for(c=0;c<m;c+=1)n[c].release();n.length=0}i.renderer.compInterface=CompExpressionInterface(i.renderer),i.renderer.globalData.projectInterface.registerComposition(i.renderer),i.renderer.globalData.pushExpression=a,i.renderer.globalData.popExpression=o,i.renderer.globalData.registerExpressionProperty=f}return e}(),MaskManagerInterface=function(){function e(i,s){this._mask=i,this._data=s}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var t=function(s){var n=createSizedArray(s.viewData.length),a,o=s.viewData.length;for(a=0;a<o;a+=1)n[a]=new e(s.viewData[a],s.masksProperties[a]);var f=function(c){for(a=0;a<o;){if(s.masksProperties[a].nm===c)return n[a];a+=1}return null};return f};return t}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function i(o,f,l){Object.defineProperty(o,"velocity",{get:function(){return f.getVelocityAtTime(f.comp.currentFrame)}}),o.numKeys=f.keyframes?f.keyframes.length:0,o.key=function(c){if(!o.numKeys)return 0;var m="";"s"in f.keyframes[c-1]?m=f.keyframes[c-1].s:"e"in f.keyframes[c-2]?m=f.keyframes[c-2].e:m=f.keyframes[c-2].s;var E=l==="unidimensional"?new Number(m):Object.assign({},m);return E.time=f.keyframes[c-1].t/f.elem.comp.globalData.frameRate,E.value=l==="unidimensional"?m[0]:m,E},o.valueAtTime=f.getValueAtTime,o.speedAtTime=f.getSpeedAtTime,o.velocityAtTime=f.getVelocityAtTime,o.propertyGroup=f.propertyGroup}function s(o){(!o||!("pv"in o))&&(o=e);var f=1/o.mult,l=o.pv*f,c=new Number(l);return c.value=l,i(c,o,"unidimensional"),function(){return o.k&&o.getValue(),l=o.v*f,c.value!==l&&(c=new Number(l),c.value=l,i(c,o,"unidimensional")),c}}function n(o){(!o||!("pv"in o))&&(o=t);var f=1/o.mult,l=o.data&&o.data.l||o.pv.length,c=createTypedArray("float32",l),m=createTypedArray("float32",l);return c.value=m,i(c,o,"multidimensional"),function(){o.k&&o.getValue();for(var E=0;E<l;E+=1)m[E]=o.v[E]*f,c[E]=m[E];return c}}function a(){return e}return function(o){return o?o.propType==="unidimensional"?s(o):n(o):a}}(),TransformExpressionInterface=function(){return function(e){function t(o){switch(o){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)});var i,s,n,a;return e.p?a=ExpressionPropertyInterface(e.p):(i=ExpressionPropertyInterface(e.px),s=ExpressionPropertyInterface(e.py),e.pz&&(n=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[i(),s(),n?n():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t}}(),LayerExpressionInterface=function(){function e(c){var m=new Matrix;if(c!==void 0){var E=this._elem.finalTransform.mProp.getValueAtTime(c);E.clone(m)}else{var u=this._elem.finalTransform.mProp;u.applyToMatrix(m)}return m}function t(c,m){var E=this.getMatrix(m);return E.props[12]=0,E.props[13]=0,E.props[14]=0,this.applyPoint(E,c)}function i(c,m){var E=this.getMatrix(m);return this.applyPoint(E,c)}function s(c,m){var E=this.getMatrix(m);return E.props[12]=0,E.props[13]=0,E.props[14]=0,this.invertPoint(E,c)}function n(c,m){var E=this.getMatrix(m);return this.invertPoint(E,c)}function a(c,m){if(this._elem.hierarchy&&this._elem.hierarchy.length){var E,u=this._elem.hierarchy.length;for(E=0;E<u;E+=1)this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(c)}return c.applyToPointArray(m[0],m[1],m[2]||0)}function o(c,m){if(this._elem.hierarchy&&this._elem.hierarchy.length){var E,u=this._elem.hierarchy.length;for(E=0;E<u;E+=1)this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(c)}return c.inversePoint(m)}function f(c){var m=new Matrix;if(m.reset(),this._elem.finalTransform.mProp.applyToMatrix(m),this._elem.hierarchy&&this._elem.hierarchy.length){var E,u=this._elem.hierarchy.length;for(E=0;E<u;E+=1)this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(m);return m.inversePoint(c)}return m.inversePoint(c)}function l(){return[1,1,1,1]}return function(c){var m;function E(g){P.mask=new MaskManagerInterface(g,c)}function u(g){P.effect=g}function P(g){switch(g){case"ADBE Root Vectors Group":case"Contents":case 2:return P.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return m;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return P.effect;case"ADBE Text Properties":return P.textInterface;default:return null}}P.getMatrix=e,P.invertPoint=o,P.applyPoint=a,P.toWorld=i,P.toWorldVec=t,P.fromWorld=n,P.fromWorldVec=s,P.toComp=i,P.fromComp=f,P.sampleImage=l,P.sourceRectAtTime=c.sourceRectAtTime.bind(c),P._elem=c,m=TransformExpressionInterface(c.finalTransform.mProp);var x=getDescriptor(m,"anchorPoint");return Object.defineProperties(P,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(m,"rotation"),scale:getDescriptor(m,"scale"),position:getDescriptor(m,"position"),opacity:getDescriptor(m,"opacity"),anchorPoint:x,anchor_point:x,transform:{get:function(){return m}},active:{get:function(){return c.isInRange}}}),P.startTime=c.data.st,P.index=c.data.ind,P.source=c.data.refId,P.height=c.data.ty===0?c.data.h:100,P.width=c.data.ty===0?c.data.w:100,P.inPoint=c.data.ip/c.comp.globalData.frameRate,P.outPoint=c.data.op/c.comp.globalData.frameRate,P._name=c.data.nm,P.registerMaskInterface=E,P.registerEffectsInterface=u,P}}(),propertyGroupFactory=function(){return function(e,t){return function(i){return i=i===void 0?1:i,i<=0?e:t(i-1)}}}(),PropertyInterface=function(){return function(e,t){var i={_name:e};function s(n){return n=n===void 0?1:n,n<=0?i:t(n-1)}return s}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(n,a){if(n.effectsManager){var o=[],f=n.data.ef,l,c=n.effectsManager.effectElements.length;for(l=0;l<c;l+=1)o.push(i(f[l],n.effectsManager.effectElements[l],a,n));var m=n.data.ef||[],E=function(P){for(l=0,c=m.length;l<c;){if(P===m[l].nm||P===m[l].mn||P===m[l].ix)return o[l];l+=1}return null};return Object.defineProperty(E,"numProperties",{get:function(){return m.length}}),E}return null}function i(n,a,o,f){function l(P){for(var x=n.ef,g=0,_=x.length;g<_;){if(P===x[g].nm||P===x[g].mn||P===x[g].ix)return x[g].ty===5?m[g]:m[g]();g+=1}throw new Error}var c=propertyGroupFactory(l,o),m=[],E,u=n.ef.length;for(E=0;E<u;E+=1)n.ef[E].ty===5?m.push(i(n.ef[E],a.effectElements[E],a.effectElements[E].propertyGroup,f)):m.push(s(a.effectElements[E],n.ef[E].ty,f,c));return n.mn==="ADBE Color Control"&&Object.defineProperty(l,"color",{get:function(){return m[0]()}}),Object.defineProperties(l,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:c}}),l.enabled=n.en!==0,l.active=l.enabled,l}function s(n,a,o,f){var l=ExpressionPropertyInterface(n.p);function c(){return a===10?o.comp.compInterface(n.p.v):l()}return n.p.setGroupProperty&&n.p.setGroupProperty(PropertyInterface("",f)),c}return e}(),ShapePathInterface=function(){return function(t,i,s){var n=i.sh;function a(f){return f==="Shape"||f==="shape"||f==="Path"||f==="path"||f==="ADBE Vector Shape"||f===2?a.path:null}var o=propertyGroupFactory(a,s);return n.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(a,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:s}}),a}}(),ShapeExpressionInterface=function(){function e(x,g,_){var d=[],y,p=x?x.length:0;for(y=0;y<p;y+=1)x[y].ty==="gr"?d.push(i(x[y],g[y],_)):x[y].ty==="fl"?d.push(s(x[y],g[y],_)):x[y].ty==="st"?d.push(o(x[y],g[y],_)):x[y].ty==="tm"?d.push(f(x[y],g[y],_)):x[y].ty==="tr"||(x[y].ty==="el"?d.push(c(x[y],g[y],_)):x[y].ty==="sr"?d.push(m(x[y],g[y],_)):x[y].ty==="sh"?d.push(ShapePathInterface(x[y],g[y],_)):x[y].ty==="rc"?d.push(E(x[y],g[y],_)):x[y].ty==="rd"?d.push(u(x[y],g[y],_)):x[y].ty==="rp"?d.push(P(x[y],g[y],_)):x[y].ty==="gf"?d.push(n(x[y],g[y],_)):d.push(a(x[y],g[y])));return d}function t(x,g,_){var d,y=function(A){for(var M=0,L=d.length;M<L;){if(d[M]._name===A||d[M].mn===A||d[M].propertyIndex===A||d[M].ix===A||d[M].ind===A)return d[M];M+=1}return typeof A=="number"?d[A-1]:null};y.propertyGroup=propertyGroupFactory(y,_),d=e(x.it,g.it,y.propertyGroup),y.numProperties=d.length;var p=l(x.it[x.it.length-1],g.it[g.it.length-1],y.propertyGroup);return y.transform=p,y.propertyIndex=x.cix,y._name=x.nm,y}function i(x,g,_){var d=function(A){switch(A){case"ADBE Vectors Group":case"Contents":case 2:return d.content;default:return d.transform}};d.propertyGroup=propertyGroupFactory(d,_);var y=t(x,g,d.propertyGroup),p=l(x.it[x.it.length-1],g.it[g.it.length-1],d.propertyGroup);return d.content=y,d.transform=p,Object.defineProperty(d,"_name",{get:function(){return x.nm}}),d.numProperties=x.np,d.propertyIndex=x.ix,d.nm=x.nm,d.mn=x.mn,d}function s(x,g,_){function d(y){return y==="Color"||y==="color"?d.color:y==="Opacity"||y==="opacity"?d.opacity:null}return Object.defineProperties(d,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},_name:{value:x.nm},mn:{value:x.mn}}),g.c.setGroupProperty(PropertyInterface("Color",_)),g.o.setGroupProperty(PropertyInterface("Opacity",_)),d}function n(x,g,_){function d(y){return y==="Start Point"||y==="start point"?d.startPoint:y==="End Point"||y==="end point"?d.endPoint:y==="Opacity"||y==="opacity"?d.opacity:null}return Object.defineProperties(d,{startPoint:{get:ExpressionPropertyInterface(g.s)},endPoint:{get:ExpressionPropertyInterface(g.e)},opacity:{get:ExpressionPropertyInterface(g.o)},type:{get:function(){return"a"}},_name:{value:x.nm},mn:{value:x.mn}}),g.s.setGroupProperty(PropertyInterface("Start Point",_)),g.e.setGroupProperty(PropertyInterface("End Point",_)),g.o.setGroupProperty(PropertyInterface("Opacity",_)),d}function a(){function x(){return null}return x}function o(x,g,_){var d=propertyGroupFactory(L,_),y=propertyGroupFactory(M,d);function p(k){Object.defineProperty(M,x.d[k].nm,{get:ExpressionPropertyInterface(g.d.dataProps[k].p)})}var b,A=x.d?x.d.length:0,M={};for(b=0;b<A;b+=1)p(b),g.d.dataProps[b].p.setGroupProperty(y);function L(k){return k==="Color"||k==="color"?L.color:k==="Opacity"||k==="opacity"?L.opacity:k==="Stroke Width"||k==="stroke width"?L.strokeWidth:null}return Object.defineProperties(L,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},strokeWidth:{get:ExpressionPropertyInterface(g.w)},dash:{get:function(){return M}},_name:{value:x.nm},mn:{value:x.mn}}),g.c.setGroupProperty(PropertyInterface("Color",d)),g.o.setGroupProperty(PropertyInterface("Opacity",d)),g.w.setGroupProperty(PropertyInterface("Stroke Width",d)),L}function f(x,g,_){function d(p){return p===x.e.ix||p==="End"||p==="end"?d.end:p===x.s.ix?d.start:p===x.o.ix?d.offset:null}var y=propertyGroupFactory(d,_);return d.propertyIndex=x.ix,g.s.setGroupProperty(PropertyInterface("Start",y)),g.e.setGroupProperty(PropertyInterface("End",y)),g.o.setGroupProperty(PropertyInterface("Offset",y)),d.propertyIndex=x.ix,d.propertyGroup=_,Object.defineProperties(d,{start:{get:ExpressionPropertyInterface(g.s)},end:{get:ExpressionPropertyInterface(g.e)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:x.nm}}),d.mn=x.mn,d}function l(x,g,_){function d(p){return x.a.ix===p||p==="Anchor Point"?d.anchorPoint:x.o.ix===p||p==="Opacity"?d.opacity:x.p.ix===p||p==="Position"?d.position:x.r.ix===p||p==="Rotation"||p==="ADBE Vector Rotation"?d.rotation:x.s.ix===p||p==="Scale"?d.scale:x.sk&&x.sk.ix===p||p==="Skew"?d.skew:x.sa&&x.sa.ix===p||p==="Skew Axis"?d.skewAxis:null}var y=propertyGroupFactory(d,_);return g.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",y)),g.transform.mProps.p.setGroupProperty(PropertyInterface("Position",y)),g.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",y)),g.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",y)),g.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",y)),g.transform.mProps.sk&&(g.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",y)),g.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",y))),g.transform.op.setGroupProperty(PropertyInterface("Opacity",y)),Object.defineProperties(d,{opacity:{get:ExpressionPropertyInterface(g.transform.mProps.o)},position:{get:ExpressionPropertyInterface(g.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(g.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(g.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(g.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(g.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(g.transform.mProps.sa)},_name:{value:x.nm}}),d.ty="tr",d.mn=x.mn,d.propertyGroup=_,d}function c(x,g,_){function d(b){return x.p.ix===b?d.position:x.s.ix===b?d.size:null}var y=propertyGroupFactory(d,_);d.propertyIndex=x.ix;var p=g.sh.ty==="tm"?g.sh.prop:g.sh;return p.s.setGroupProperty(PropertyInterface("Size",y)),p.p.setGroupProperty(PropertyInterface("Position",y)),Object.defineProperties(d,{size:{get:ExpressionPropertyInterface(p.s)},position:{get:ExpressionPropertyInterface(p.p)},_name:{value:x.nm}}),d.mn=x.mn,d}function m(x,g,_){function d(b){return x.p.ix===b?d.position:x.r.ix===b?d.rotation:x.pt.ix===b?d.points:x.or.ix===b||b==="ADBE Vector Star Outer Radius"?d.outerRadius:x.os.ix===b?d.outerRoundness:x.ir&&(x.ir.ix===b||b==="ADBE Vector Star Inner Radius")?d.innerRadius:x.is&&x.is.ix===b?d.innerRoundness:null}var y=propertyGroupFactory(d,_),p=g.sh.ty==="tm"?g.sh.prop:g.sh;return d.propertyIndex=x.ix,p.or.setGroupProperty(PropertyInterface("Outer Radius",y)),p.os.setGroupProperty(PropertyInterface("Outer Roundness",y)),p.pt.setGroupProperty(PropertyInterface("Points",y)),p.p.setGroupProperty(PropertyInterface("Position",y)),p.r.setGroupProperty(PropertyInterface("Rotation",y)),x.ir&&(p.ir.setGroupProperty(PropertyInterface("Inner Radius",y)),p.is.setGroupProperty(PropertyInterface("Inner Roundness",y))),Object.defineProperties(d,{position:{get:ExpressionPropertyInterface(p.p)},rotation:{get:ExpressionPropertyInterface(p.r)},points:{get:ExpressionPropertyInterface(p.pt)},outerRadius:{get:ExpressionPropertyInterface(p.or)},outerRoundness:{get:ExpressionPropertyInterface(p.os)},innerRadius:{get:ExpressionPropertyInterface(p.ir)},innerRoundness:{get:ExpressionPropertyInterface(p.is)},_name:{value:x.nm}}),d.mn=x.mn,d}function E(x,g,_){function d(b){return x.p.ix===b?d.position:x.r.ix===b?d.roundness:x.s.ix===b||b==="Size"||b==="ADBE Vector Rect Size"?d.size:null}var y=propertyGroupFactory(d,_),p=g.sh.ty==="tm"?g.sh.prop:g.sh;return d.propertyIndex=x.ix,p.p.setGroupProperty(PropertyInterface("Position",y)),p.s.setGroupProperty(PropertyInterface("Size",y)),p.r.setGroupProperty(PropertyInterface("Rotation",y)),Object.defineProperties(d,{position:{get:ExpressionPropertyInterface(p.p)},roundness:{get:ExpressionPropertyInterface(p.r)},size:{get:ExpressionPropertyInterface(p.s)},_name:{value:x.nm}}),d.mn=x.mn,d}function u(x,g,_){function d(b){return x.r.ix===b||b==="Round Corners 1"?d.radius:null}var y=propertyGroupFactory(d,_),p=g;return d.propertyIndex=x.ix,p.rd.setGroupProperty(PropertyInterface("Radius",y)),Object.defineProperties(d,{radius:{get:ExpressionPropertyInterface(p.rd)},_name:{value:x.nm}}),d.mn=x.mn,d}function P(x,g,_){function d(b){return x.c.ix===b||b==="Copies"?d.copies:x.o.ix===b||b==="Offset"?d.offset:null}var y=propertyGroupFactory(d,_),p=g;return d.propertyIndex=x.ix,p.c.setGroupProperty(PropertyInterface("Copies",y)),p.o.setGroupProperty(PropertyInterface("Offset",y)),Object.defineProperties(d,{copies:{get:ExpressionPropertyInterface(p.c)},offset:{get:ExpressionPropertyInterface(p.o)},_name:{value:x.nm}}),d.mn=x.mn,d}return function(x,g,_){var d;function y(b){if(typeof b=="number")return b=b===void 0?1:b,b===0?_:d[b-1];for(var A=0,M=d.length;A<M;){if(d[A]._name===b)return d[A];A+=1}return null}function p(){return _}return y.propertyGroup=propertyGroupFactory(y,p),d=e(x,g,y.propertyGroup),y.numProperties=d.length,y._name="Contents",y}}(),TextExpressionInterface=function(){return function(e){var t;function i(s){switch(s){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){e.textProperty.getValue();var n=e.textProperty.currentData.t;return(!t||n!==t.value)&&(t=new String(n),t.value=n||new String(n),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),i}}();function _typeof(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(i){return typeof i}:_typeof=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(e)}var FootageInterface=function(){var e=function(s){var n="",a=s.getFootageData();function o(){return n="",a=s.getFootageData(),f}function f(l){if(a[l])return n=l,a=a[l],_typeof(a)==="object"?f:a;var c=l.indexOf(n);if(c!==-1){var m=parseInt(l.substr(c+n.length),10);return a=a[m],_typeof(a)==="object"?f:a}return""}return o},t=function(s){function n(a){return a==="Outline"?n.outlineInterface():null}return n._name="Outline",n.outlineInterface=e(s),n};return function(i){function s(n){return n==="Data"?s.dataInterface:null}return s._name="Data",s.dataInterface=t(i),s}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers=function(){function e(o,f,l){f.x&&(l.k=!0,l.x=!0,l.initiateExpression=ExpressionManager.initiateExpression,l.effectsSequence.push(l.initiateExpression(o,f,l).bind(l)))}function t(o){return o*=this.elem.globalData.frameRate,o-=this.offsetTime,o!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<o?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(o,this._cachingAtTime),this._cachingAtTime.lastFrame=o),this._cachingAtTime.value}function i(o){var f=-.01,l=this.getValueAtTime(o),c=this.getValueAtTime(o+f),m=0;if(l.length){var E;for(E=0;E<l.length;E+=1)m+=Math.pow(c[E]-l[E],2);m=Math.sqrt(m)*100}else m=0;return m}function s(o){if(this.vel!==void 0)return this.vel;var f=-.001,l=this.getValueAtTime(o),c=this.getValueAtTime(o+f),m;if(l.length){m=createTypedArray("float32",l.length);var E;for(E=0;E<l.length;E+=1)m[E]=(c[E]-l[E])/f}else m=(c-l)/f;return m}function n(){return this.pv}function a(o){this.propertyGroup=o}return{searchExpressions:e,getSpeedAtTime:i,getVelocityAtTime:s,getValueAtTime:t,getStaticValueAtTime:n,setGroupProperty:a}}();function addPropertyDecorator(){function e(u,P,x){if(!this.k||!this.keyframes)return this.pv;u=u?u.toLowerCase():"";var g=this.comp.renderedFrame,_=this.keyframes,d=_[_.length-1].t;if(g<=d)return this.pv;var y,p;x?(P?y=Math.abs(d-this.elem.comp.globalData.frameRate*P):y=Math.max(0,d-this.elem.data.ip),p=d-y):((!P||P>_.length-1)&&(P=_.length-1),p=_[_.length-1-P].t,y=d-p);var b,A,M;if(u==="pingpong"){var L=Math.floor((g-p)/y);if(L%2!==0)return this.getValueAtTime((y-(g-p)%y+p)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var k=this.getValueAtTime(p/this.comp.globalData.frameRate,0),B=this.getValueAtTime(d/this.comp.globalData.frameRate,0),Y=this.getValueAtTime(((g-p)%y+p)/this.comp.globalData.frameRate,0),Z=Math.floor((g-p)/y);if(this.pv.length){for(M=new Array(k.length),A=M.length,b=0;b<A;b+=1)M[b]=(B[b]-k[b])*Z+Y[b];return M}return(B-k)*Z+Y}else if(u==="continue"){var j=this.getValueAtTime(d/this.comp.globalData.frameRate,0),U=this.getValueAtTime((d-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(M=new Array(j.length),A=M.length,b=0;b<A;b+=1)M[b]=j[b]+(j[b]-U[b])*((g-d)/this.comp.globalData.frameRate)/5e-4;return M}return j+(j-U)*((g-d)/.001)}return this.getValueAtTime(((g-p)%y+p)/this.comp.globalData.frameRate,0)}function t(u,P,x){if(!this.k)return this.pv;u=u?u.toLowerCase():"";var g=this.comp.renderedFrame,_=this.keyframes,d=_[0].t;if(g>=d)return this.pv;var y,p;x?(P?y=Math.abs(this.elem.comp.globalData.frameRate*P):y=Math.max(0,this.elem.data.op-d),p=d+y):((!P||P>_.length-1)&&(P=_.length-1),p=_[P].t,y=p-d);var b,A,M;if(u==="pingpong"){var L=Math.floor((d-g)/y);if(L%2===0)return this.getValueAtTime(((d-g)%y+d)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var k=this.getValueAtTime(d/this.comp.globalData.frameRate,0),B=this.getValueAtTime(p/this.comp.globalData.frameRate,0),Y=this.getValueAtTime((y-(d-g)%y+d)/this.comp.globalData.frameRate,0),Z=Math.floor((d-g)/y)+1;if(this.pv.length){for(M=new Array(k.length),A=M.length,b=0;b<A;b+=1)M[b]=Y[b]-(B[b]-k[b])*Z;return M}return Y-(B-k)*Z}else if(u==="continue"){var j=this.getValueAtTime(d/this.comp.globalData.frameRate,0),U=this.getValueAtTime((d+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(M=new Array(j.length),A=M.length,b=0;b<A;b+=1)M[b]=j[b]+(j[b]-U[b])*(d-g)/.001;return M}return j+(j-U)*(d-g)/.001}return this.getValueAtTime((y-((d-g)%y+d))/this.comp.globalData.frameRate,0)}function i(u,P){if(!this.k)return this.pv;if(u=(u||.4)*.5,P=Math.floor(P||5),P<=1)return this.pv;var x=this.comp.renderedFrame/this.comp.globalData.frameRate,g=x-u,_=x+u,d=P>1?(_-g)/(P-1):1,y=0,p=0,b;this.pv.length?b=createTypedArray("float32",this.pv.length):b=0;for(var A;y<P;){if(A=this.getValueAtTime(g+y*d),this.pv.length)for(p=0;p<this.pv.length;p+=1)b[p]+=A[p];else b+=A;y+=1}if(this.pv.length)for(p=0;p<this.pv.length;p+=1)b[p]/=P;else b/=P;return b}function s(u){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var P=this._transformCachingAtTime.v;if(P.cloneFromProps(this.pre.props),this.appliedTransformations<1){var x=this.a.getValueAtTime(u);P.translate(-x[0]*this.a.mult,-x[1]*this.a.mult,x[2]*this.a.mult)}if(this.appliedTransformations<2){var g=this.s.getValueAtTime(u);P.scale(g[0]*this.s.mult,g[1]*this.s.mult,g[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var _=this.sk.getValueAtTime(u),d=this.sa.getValueAtTime(u);P.skewFromAxis(-_*this.sk.mult,d*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var y=this.r.getValueAtTime(u);P.rotate(-y*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var p=this.rz.getValueAtTime(u),b=this.ry.getValueAtTime(u),A=this.rx.getValueAtTime(u),M=this.or.getValueAtTime(u);P.rotateZ(-p*this.rz.mult).rotateY(b*this.ry.mult).rotateX(A*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(u),k=this.py.getValueAtTime(u);if(this.data.p.z){var B=this.pz.getValueAtTime(u);P.translate(L*this.px.mult,k*this.py.mult,-B*this.pz.mult)}else P.translate(L*this.px.mult,k*this.py.mult,0)}else{var Y=this.p.getValueAtTime(u);P.translate(Y[0]*this.p.mult,Y[1]*this.p.mult,-Y[2]*this.p.mult)}return P}function n(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(u,P,x){var g=a(u,P,x);return g.dynamicProperties.length?g.getValueAtTime=s.bind(g):g.getValueAtTime=n.bind(g),g.setGroupProperty=expressionHelpers.setGroupProperty,g};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(u,P,x,g,_){var d=o(u,P,x,g,_);d.kf?d.getValueAtTime=expressionHelpers.getValueAtTime.bind(d):d.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(d),d.setGroupProperty=expressionHelpers.setGroupProperty,d.loopOut=e,d.loopIn=t,d.smooth=i,d.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(d),d.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(d),d.numKeys=P.a===1?P.k.length:0,d.propertyIndex=P.ix;var y=0;return x!==0&&(y=createTypedArray("float32",P.a===1?P.k[0].s.length:P.k.length)),d._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:y},expressionHelpers.searchExpressions(u,P,d),d.k&&_.addDynamicProperty(d),d};function f(u){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),u*=this.elem.globalData.frameRate,u-=this.offsetTime,u!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<u?this._caching.lastIndex:0,this._cachingAtTime.lastTime=u,this.interpolateShape(u,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var l=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function m(){}m.prototype={vertices:function(P,x){this.k&&this.getValue();var g=this.v;x!==void 0&&(g=this.getValueAtTime(x,0));var _,d=g._length,y=g[P],p=g.v,b=createSizedArray(d);for(_=0;_<d;_+=1)P==="i"||P==="o"?b[_]=[y[_][0]-p[_][0],y[_][1]-p[_][1]]:b[_]=[y[_][0],y[_][1]];return b},points:function(P){return this.vertices("v",P)},inTangents:function(P){return this.vertices("i",P)},outTangents:function(P){return this.vertices("o",P)},isClosed:function(){return this.v.c},pointOnPath:function(P,x){var g=this.v;x!==void 0&&(g=this.getValueAtTime(x,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(g));for(var _=this._segmentsLength,d=_.lengths,y=_.totalLength*P,p=0,b=d.length,A=0,M;p<b;){if(A+d[p].addedLength>y){var L=p,k=g.c&&p===b-1?0:p+1,B=(y-A)/d[p].addedLength;M=bez.getPointInSegment(g.v[L],g.v[k],g.o[L],g.i[k],B,d[p]);break}else A+=d[p].addedLength;p+=1}return M||(M=g.c?[g.v[0][0],g.v[0][1]]:[g.v[g._length-1][0],g.v[g._length-1][1]]),M},vectorOnPath:function(P,x,g){P==1?P=this.v.c:P==0&&(P=.999);var _=this.pointOnPath(P,x),d=this.pointOnPath(P+.001,x),y=d[0]-_[0],p=d[1]-_[1],b=Math.sqrt(Math.pow(y,2)+Math.pow(p,2));if(b===0)return[0,0];var A=g==="tangent"?[y/b,p/b]:[-p/b,y/b];return A},tangentOnPath:function(P,x){return this.vectorOnPath(P,x,"tangent")},normalOnPath:function(P,x){return this.vectorOnPath(P,x,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([m],l),extendPrototype([m],c),c.prototype.getValueAtTime=f,c.prototype.initiateExpression=ExpressionManager.initiateExpression;var E=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(u,P,x,g,_){var d=E(u,P,x,g,_);return d.propertyIndex=P.ix,d.lock=!1,x===3?expressionHelpers.searchExpressions(u,P.pt,d):x===4&&expressionHelpers.searchExpressions(u,P.ks,d),d.k&&u.addDynamicProperty(d),d}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,i){var s=this.calculateExpression(i);if(t.t!==s){var n={};return this.copyData(n,t),n.t=s.toString(),n.__complete=!1,n}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),i=this.searchExpressions();return this.kf=t||i,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,i){var s=createNS("feMerge");s.setAttribute("result",t);var n,a;for(a=0;a<i.length;a+=1)n=createNS("feMergeNode"),n.setAttribute("in",i[a]),s.appendChild(n),s.appendChild(n);return s}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,i,s,n){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",s+"_tint_1"),e.appendChild(a),a=createNS("feColorMatrix"),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",s+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(s,[n,s+"_tint_1",s+"_tint_2"]);e.appendChild(o)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,s=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+s+" 0"),this.matrixFilter.setAttribute("values",i[0]-t[0]+" 0 0 0 "+t[0]+" "+(i[1]-t[1])+" 0 0 0 "+t[1]+" "+(i[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}};function SVGFillFilter(e,t,i,s){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",s),e.appendChild(n),this.matrixFilter=n}SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,i=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+i+" 0")}};function SVGStrokeEffect(e,t,i){this.initialized=!1,this.filterManager=t,this.elem=i,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var e=this.elem.layerElement.children||this.elem.layerElement.childNodes,t,i,s,n;for(this.filterManager.effectElements[1].p.v===1?(n=this.elem.maskManager.masksProperties.length,s=0):(s=this.filterManager.effectElements[0].p.v-1,n=s+1),i=createNS("g"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),i.setAttribute("stroke-dashoffset",1),s;s<n;s+=1)t=createNS("path"),i.appendChild(t),this.paths.push({p:t,m:s});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),o=createElementID();a.setAttribute("id",o),a.setAttribute("mask-type","alpha"),a.appendChild(i),this.elem.globalData.defs.appendChild(a);var f=createNS("g");for(f.setAttribute("mask","url("+getLocationHref()+"#"+o+")");e[0];)f.appendChild(e[0]);this.elem.layerElement.appendChild(f),this.masker=a,i.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[0]);this.elem.layerElement.appendChild(i),this.elem.layerElement.removeAttribute("mask"),i.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=i},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,i=this.paths.length,s,n;for(t=0;t<i;t+=1)if(this.paths[t].m!==-1&&(s=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||s.prop._mdf)&&n.setAttribute("d",s.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||s.prop._mdf)){var a;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var o=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,f=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=n.getTotalLength();a="0 0 0 "+l*o+" ";var c=l*(f-o),m=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,E=Math.floor(c/m),u;for(u=0;u<E;u+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+l*10+" 0 0"}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(e||this.filterManager.effectElements[3].p._mdf)){var P=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(P[0]*255)+","+bmFloor(P[1]*255)+","+bmFloor(P[2]*255)+")")}};function SVGTritoneFilter(e,t,i,s){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(n);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",s),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var f=createNS("feFuncG");f.setAttribute("type","table"),a.appendChild(f),this.feFuncG=f;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,e.appendChild(a)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,s=this.filterManager.effectElements[2].p.v,n=s[0]+" "+i[0]+" "+t[0],a=s[1]+" "+i[1]+" "+t[1],o=s[2]+" "+i[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o)}};function SVGProLevelsFilter(e,t,i,s){this.filterManager=t;var n=this.filterManager.effectElements,a=createNS("feComponentTransfer");(n[10].p.k||n[10].p.v!==0||n[11].p.k||n[11].p.v!==1||n[12].p.k||n[12].p.v!==1||n[13].p.k||n[13].p.v!==0||n[14].p.k||n[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(n[17].p.k||n[17].p.v!==0||n[18].p.k||n[18].p.v!==1||n[19].p.k||n[19].p.v!==1||n[20].p.k||n[20].p.v!==0||n[21].p.k||n[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(n[24].p.k||n[24].p.v!==0||n[25].p.k||n[25].p.v!==1||n[26].p.k||n[26].p.v!==1||n[27].p.k||n[27].p.v!==0||n[28].p.k||n[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(n[31].p.k||n[31].p.v!==0||n[32].p.k||n[32].p.v!==1||n[33].p.k||n[33].p.v!==1||n[34].p.k||n[34].p.v!==0||n[35].p.k||n[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(n[3].p.k||n[3].p.v!==0||n[4].p.k||n[4].p.v!==1||n[5].p.k||n[5].p.v!==1||n[6].p.k||n[6].p.v!==0||n[7].p.k||n[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",s),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var i=createNS(e);return i.setAttribute("type","table"),t.appendChild(i),i},SVGProLevelsFilter.prototype.getTableValue=function(e,t,i,s,n){for(var a=0,o=256,f,l=Math.min(e,t),c=Math.max(e,t),m=Array.call(null,{length:o}),E,u=0,P=n-s,x=t-e;a<=256;)f=a/256,f<=l?E=x<0?n:s:f>=c?E=x<0?s:n:E=s+P*Math.pow((f-e)/x,1/i),m[u]=E,u+=1,a+=256/(o-1);return m.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,i=this.filterManager.effectElements;this.feFuncRComposed&&(e||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(t=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(t=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(t=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(t=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(t=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",t))}};function SVGDropShadowEffect(e,t,i,s,n){var a=t.container.globalData.renderConfig.filterSize,o=t.data.fs||a;e.setAttribute("x",o.x||a.x),e.setAttribute("y",o.y||a.y),e.setAttribute("width",o.width||a.width),e.setAttribute("height",o.height||a.height),this.filterManager=t;var f=createNS("feGaussianBlur");f.setAttribute("in","SourceAlpha"),f.setAttribute("result",s+"_drop_shadow_1"),f.setAttribute("stdDeviation","0"),this.feGaussianBlur=f,e.appendChild(f);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",s+"_drop_shadow_1"),l.setAttribute("result",s+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",s+"_drop_shadow_3"),this.feFlood=c,e.appendChild(c);var m=createNS("feComposite");m.setAttribute("in",s+"_drop_shadow_3"),m.setAttribute("in2",s+"_drop_shadow_2"),m.setAttribute("operator","in"),m.setAttribute("result",s+"_drop_shadow_4"),e.appendChild(m);var E=this.createMergeNode(s,[s+"_drop_shadow_4",n]);e.appendChild(E)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var i=this.filterManager.effectElements[3].p.v,s=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=i*Math.cos(s),a=i*Math.sin(s);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,i){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=i,i.matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,i=_svgMatteSymbols.length;t<i;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var i=e.layerElement.parentNode;if(i){for(var s=i.children,n=0,a=s.length;n<a&&s[n]!==e.layerElement;)n+=1;var o;n<=a-2&&(o=s[n+1]);var f=createNS("use");f.setAttribute("href","#"+t),o?i.insertBefore(f,o):i.appendChild(f)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var i=createElementID(),s=createNS("mask");s.setAttribute("id",t.layerId),s.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var n=e.globalData.defs;n.appendChild(s);var a=createNS("symbol");a.setAttribute("id",i),this.replaceInParent(t,i),a.appendChild(t.layerElement),n.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+i),s.appendChild(o),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,i=0,s=t.length;i<s;)t[i]&&t[i].data.ind===e&&this.setElementAsMask(this.elem,t[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(e,t,i,s){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var n=createNS("feGaussianBlur");n.setAttribute("result",s),e.appendChild(n),this.feGaussianBlur=n}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,i=this.filterManager.effectElements[0].p.v*t,s=this.filterManager.effectElements[1].p.v,n=s==3?0:i,a=s==2?0:i;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+a);var o=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}};function TransformEffect(){}TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,i=t[0].p.v,s=t[1].p.v,n=t[2].p.v===1,a=t[3].p.v,o=n?a:t[4].p.v,f=t[5].p.v,l=t[6].p.v,c=t[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(o*.01,a*.01,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-f*degToRads,(l+90)*degToRads),this.matrix.translate(s[0],s[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(e,t){this.init(t)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(e){this.init(e)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie$1,lottie$1.exports);var lottieExports=lottie$1.exports;const lottie=getDefaultExportFromCjs(lottieExports);function _iterableToArrayLimit(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var s,n,a,o,f=[],l=!0,c=!1;try{if(a=(i=i.call(e)).next,t!==0)for(;!(l=(s=a.call(i)).done)&&(f.push(s.value),f.length!==t);l=!0);}catch(m){c=!0,n=m}finally{try{if(!l&&i.return!=null&&(o=i.return(),Object(o)!==o))return}finally{if(c)throw n}}return f}}function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,s)}return i}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?ownKeys(Object(i),!0).forEach(function(s){_defineProperty(e,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(i,s))})}return e}function _defineProperty(e,t,i){return t=_toPropertyKey(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var i={},s=Object.keys(e),n,a;for(a=0;a<s.length;a++)n=s[a],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}function _objectWithoutProperties(e,t){if(e==null)return{};var i=_objectWithoutPropertiesLoose(e,t),s,n;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)s=a[n],!(t.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(e,s)&&(i[s]=e[s])}return i}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _unsupportedIterableToArray(e,t){if(e){if(typeof e=="string")return _arrayLikeToArray(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(e,t)}}function _arrayLikeToArray(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
10
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _toPrimitive(e,t){if(typeof e!="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var s=i.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return typeof t=="symbol"?t:String(t)}var _excluded$1=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],useLottie=function e(t,i){var s=t.animationData,n=t.loop,a=t.autoplay,o=t.initialSegment,f=t.onComplete,l=t.onLoopComplete,c=t.onEnterFrame,m=t.onSegmentStart,E=t.onConfigReady,u=t.onDataReady,P=t.onDataFailed,x=t.onLoadedImages,g=t.onDOMLoaded,_=t.onDestroy;t.lottieRef,t.renderer,t.name,t.assetsPath,t.rendererSettings;var d=_objectWithoutProperties(t,_excluded$1),y=React.useState(!1),p=_slicedToArray(y,2),b=p[0],A=p[1],M=React.useRef(),L=React.useRef(null),k=function(){var z;(z=M.current)===null||z===void 0||z.play()},B=function(){var z;(z=M.current)===null||z===void 0||z.stop()},Y=function(){var z;(z=M.current)===null||z===void 0||z.pause()},Z=function(z){var q;(q=M.current)===null||q===void 0||q.setSpeed(z)},j=function(z,q){var $;($=M.current)===null||$===void 0||$.goToAndPlay(z,q)},U=function(z,q){var $;($=M.current)===null||$===void 0||$.goToAndStop(z,q)},X=function(z){var q;(q=M.current)===null||q===void 0||q.setDirection(z)},H=function(z,q){var $;($=M.current)===null||$===void 0||$.playSegments(z,q)},T=function(z){var q;(q=M.current)===null||q===void 0||q.setSubframe(z)},I=function(z){var q;return(q=M.current)===null||q===void 0?void 0:q.getDuration(z)},C=function(){var z;(z=M.current)===null||z===void 0||z.destroy(),M.current=void 0},S=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},q;if(L.current){(q=M.current)===null||q===void 0||q.destroy();var $=_objectSpread2(_objectSpread2(_objectSpread2({},t),z),{},{container:L.current});return M.current=lottie.loadAnimation($),A(!!M.current),function(){var J;(J=M.current)===null||J===void 0||J.destroy(),M.current=void 0}}};React.useEffect(function(){var F=S();return function(){return F==null?void 0:F()}},[s,n]),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 F=[{name:"complete",handler:f},{name:"loopComplete",handler:l},{name:"enterFrame",handler:c},{name:"segmentStart",handler:m},{name:"config_ready",handler:E},{name:"data_ready",handler:u},{name:"data_failed",handler:P},{name:"loaded_images",handler:x},{name:"DOMLoaded",handler:g},{name:"destroy",handler:_}],z=F.filter(function($){return $.handler!=null});if(z.length){var q=z.map(function($){var J;return(J=M.current)===null||J===void 0||J.addEventListener($.name,$.handler),function(){var re;(re=M.current)===null||re===void 0||re.removeEventListener($.name,$.handler)}});return function(){q.forEach(function($){return $()})}}},[f,l,c,m,E,u,P,x,g,_]);var V=React.createElement("div",_objectSpread2({style:i,ref:L},d));return{View:V,play:k,stop:B,pause:Y,setSpeed:Z,goToAndStop:U,goToAndPlay:j,setDirection:X,playSegments:H,setSubframe:T,getDuration:I,destroy:C,animationContainerRef:L,animationLoaded:b,animationItem:M.current}};function getContainerVisibility(e){var t=e.getBoundingClientRect(),i=t.top,s=t.height,n=window.innerHeight-i,a=window.innerHeight+s;return n/a}function getContainerCursorPosition(e,t,i){var s=e.getBoundingClientRect(),n=s.top,a=s.left,o=s.width,f=s.height,l=(t-a)/o,c=(i-n)/f;return{x:l,y:c}}var useInitInteractivity=function e(t){var i=t.wrapperRef,s=t.animationItem,n=t.mode,a=t.actions;React.useEffect(function(){var o=i.current;if(!(!o||!s||!a.length)){s.stop();var f=function(){var m=null,E=function(){var P=getContainerVisibility(o),x=a.find(function(_){var d=_.visibility;return d&&P>=d[0]&&P<=d[1]});if(x){if(x.type==="seek"&&x.visibility&&x.frames.length===2){var g=x.frames[0]+Math.ceil((P-x.visibility[0])/(x.visibility[1]-x.visibility[0])*x.frames[1]);//! goToAndStop must be relative to the start of the current segment
11
- s.goToAndStop(g-s.firstFrame-1,!0)}x.type==="loop"&&(m===null||m!==x.frames||s.isPaused)&&(s.playSegments(x.frames,!0),m=x.frames),x.type==="play"&&s.isPaused&&(s.resetSegments(!0),s.play()),x.type==="stop"&&s.goToAndStop(x.frames[0]-s.firstFrame-1,!0)}};return document.addEventListener("scroll",E),function(){document.removeEventListener("scroll",E)}},l=function(){var m=function(x,g){var _=x,d=g;if(_!==-1&&d!==-1){var y=getContainerCursorPosition(o,_,d);_=y.x,d=y.y}var p=a.find(function(M){var L=M.position;return L&&Array.isArray(L.x)&&Array.isArray(L.y)?_>=L.x[0]&&_<=L.x[1]&&d>=L.y[0]&&d<=L.y[1]:L&&!Number.isNaN(L.x)&&!Number.isNaN(L.y)?_===L.x&&d===L.y:!1});if(p){if(p.type==="seek"&&p.position&&Array.isArray(p.position.x)&&Array.isArray(p.position.y)&&p.frames.length===2){var b=(_-p.position.x[0])/(p.position.x[1]-p.position.x[0]),A=(d-p.position.y[0])/(p.position.y[1]-p.position.y[0]);s.playSegments(p.frames,!0),s.goToAndStop(Math.ceil((b+A)/2*(p.frames[1]-p.frames[0])),!0)}p.type==="loop"&&s.playSegments(p.frames,!0),p.type==="play"&&(s.isPaused&&s.resetSegments(!1),s.playSegments(p.frames)),p.type==="stop"&&s.goToAndStop(p.frames[0],!0)}},E=function(x){m(x.clientX,x.clientY)},u=function(){m(-1,-1)};return o.addEventListener("mousemove",E),o.addEventListener("mouseout",u),function(){o.removeEventListener("mousemove",E),o.removeEventListener("mouseout",u)}};switch(n){case"scroll":return f();case"cursor":return l()}}},[n,s])},useLottieInteractivity=function e(t){var i=t.actions,s=t.mode,n=t.lottieObj,a=n.animationItem,o=n.View,f=n.animationContainerRef;return useInitInteractivity({actions:i,animationItem:a,mode:s,wrapperRef:f}),o},_excluded=["style","interactivity"],Lottie=function e(t){var i,s,n,a=t.style,o=t.interactivity,f=_objectWithoutProperties(t,_excluded),l=useLottie(f,a),c=l.View,m=l.play,E=l.stop,u=l.pause,P=l.setSpeed,x=l.goToAndStop,g=l.goToAndPlay,_=l.setDirection,d=l.playSegments,y=l.setSubframe,p=l.getDuration,b=l.destroy,A=l.animationContainerRef,M=l.animationLoaded,L=l.animationItem;return React.useEffect(function(){t.lottieRef&&(t.lottieRef.current={play:m,stop:E,pause:u,setSpeed:P,goToAndPlay:g,goToAndStop:x,setDirection:_,playSegments:d,setSubframe:y,getDuration:p,destroy:b,animationContainerRef:A,animationLoaded:M,animationItem:L})},[(i=t.lottieRef)===null||i===void 0?void 0:i.current]),useLottieInteractivity({lottieObj:{View:c,play:m,stop:E,pause:u,setSpeed:P,goToAndStop:x,goToAndPlay:g,setDirection:_,playSegments:d,setSubframe:y,getDuration:p,destroy:b,animationContainerRef:A,animationLoaded:M,animationItem:L},actions:(s=o==null?void 0:o.actions)!==null&&s!==void 0?s:[],mode:(n=o==null?void 0:o.mode)!==null&&n!==void 0?n:"scroll"})};const v="5.7.4",fr=60,ip=0,op=120,w=64,h=64,nm="loading spinner",ddd=0,assets=[],layers=[{ddd:0,ind:1,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.34],y:[1]},o:{x:[.66],y:[0]},t:0,s:[180]},{t:119,s:[540]}],ix:10},p:{a:0,k:[32.135,31.505,0],ix:2,l:2},a:{a:0,k:[-.75,2.75,0],ix:1,l:2},s:{a:0,k:[82,82,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[15.326,0],[0,-15.326],[-15.326,0],[0,15.326]],o:[[-15.326,0],[0,15.326],[15.326,0],[0,-15.326]],v:[[0,-27.75],[-27.75,0],[0,27.75],[27.75,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.505882352941,.478431372549,.564705882353,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[-.75,2.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[100]},{i:{x:[.351],y:[.985]},o:{x:[.665],y:[0]},t:60,s:[90]},{t:120,s:[0]}],ix:1},e:{a:1,k:[{i:{x:[.34],y:[1]},o:{x:[.66],y:[0]},t:0,s:[100]},{t:60,s:[0]}],ix:2},o:{a:0,k:176,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:600,st:0,bm:0}],markers=[],spinnerAnimation={v,fr,ip,op,w,h,nm,ddd,assets,layers,markers},buttonStyles=cva(["w-full","text-white","font-satoshi","font-bold","min-w-32","px-6","focus:outline-none","disabled:cursor-not-allowed"],{variants:{variant:{primary:"bg-button-primary",secondary:"bg-button-secondary",disabled:"bg-button-disabled-bg text-button-disabled-text cursor-not-allowed"},size:{sm:"h-9 rounded-xl text-xs",md:"h-10 rounded-xl text-sm",lg:"h-12 rounded-2xl text-base"},breakpointSize:{"xs:sm":"xs:h-9 xs:rounded-xl xs:text-xs","xs:md":"xs:h-10 xs:rounded-xl xs:text-sm","xs:lg":"xs:h-12 xs:rounded-2xl xs:text-base","sm:sm":"sm:h-9 sm:rounded-xl sm:text-xs","sm:md":"sm:h-10 sm:rounded-xl sm:text-sm","sm:lg":"sm:h-12 sm:rounded-2xl sm:text-base","md:sm":"md:h-9 md:rounded-xl md:text-xs","md:md":"md:h-10 md:rounded-xl md:text-sm","md:lg":"md:h-12 md:rounded-2xl md:text-base","lg:sm":"lg:h-9 lg:rounded-xl lg:text-xs","lg:md":"lg:h-10 lg:rounded-xl lg:text-sm","lg:lg":"lg:h-12 lg:rounded-2xl lg:text-base","xl:sm":"xl:h-9 xl:rounded-xl xl:text-xs","xl:md":"xl:h-10 xl:rounded-xl xl:text-sm","xl:lg":"xl:h-12 xl:rounded-2xl xl:text-base"}},defaultVariants:{variant:"primary",size:"md"}}),Button=React.forwardRef(({variant:e,size:t,breakpoints:i,loading:s,className:n,children:a,...o},f)=>{const l=i?Object.entries(i).map(([c,m])=>`${c}:${m}`).map(c=>buttonStyles({breakpointSize:c})).join(" "):"";return jsxRuntime.jsx("button",{ref:f,className:cn(buttonStyles({variant:e,size:t}),n,l,s),disabled:s,...o,children:jsxRuntime.jsxs("div",{className:"flex justify-center gap-3",children:[a,s&&jsxRuntime.jsx(Lottie,{animationData:spinnerAnimation,loop:!0,autoplay:!0,style:{width:24,height:24}})]})})}),typographyStyles=cva(["font-satoshi text-dark-grey"],{variants:{size:{h1:"text-[32px] leading-[48px]",h2:"text-xl leading-7",h3:"text-base leading-6",h4:"text-sm leading-5",h5:"text-xs leading-4"},weight:{bold:"font-bold",medium:"font-medium"},breakpointSize:{"xs:h1":"xs:text-[32px] xs:leading-[48px]","xs:h2":"xs:text-xl xs:leading-7","xs:h3":"xs:text-base xs:leading-6","xs:h4":"xs:text-sm xs:leading-5","xs:h5":"xs:text-xs xs:leading-4","sm:h1":"sm:text-[32px] sm:leading-[48px]","sm:h2":"sm:text-xl sm:leading-7","sm:h3":"sm:text-base sm:leading-6","sm:h4":"sm:text-sm sm:leading-5","sm:h5":"sm:text-xs sm:leading-4","md:h1":"md:text-[32px] md:leading-[48px]","md:h2":"md:text-xl md:leading-7","md:h3":"md:text-base md:leading-6","md:h4":"md:text-sm md:leading-5","md:h5":"md:text-xs md:leading-4","lg:h1":"lg:text-[32px] lg:leading-[48px]","lg:h2":"lg:text-xl lg:leading-7","lg:h3":"lg:text-base lg:leading-6","lg:h4":"lg:text-sm lg:leading-5","lg:h5":"lg:text-xs lg:leading-4","xl:h1":"xl:text-[32px] xl:leading-[48px]","xl:h2":"xl:text-xl xl:leading-7","xl:h3":"xl:text-base xl:leading-6","xl:h4":"xl:text-sm xl:leading-5","xl:h5":"xl:text-xs xl:leading-4"},defaultVariants:{size:"h3",weight:"medium"}}}),Typography=({as:e="span",size:t,weight:i,breakpoints:s,className:n,...a})=>{const o=s?Object.entries(s).map(([f,l])=>`${f}:${l}`).map(f=>typographyStyles({breakpointSize:f})).join(" "):"";return jsxRuntime.jsx(e,{className:cn(typographyStyles({size:t,weight:i,className:n}),o),...a})},OpacityStyles=cva("bg-white",{variants:{level:{"extra-light":"bg-opacity-10",light:"bg-opacity-25",medium:"bg-opacity-50","semi-dark":"bg-opacity-75",full:"bg-opacity-100"}},defaultVariants:{level:"full"}}),Opacity=({level:e,className:t,children:i,...s})=>jsxRuntime.jsx("div",{...s,className:cn(OpacityStyles({level:e}),t),children:i}),sidebarStyles=cva("fixed inset-y-0 right-0 transition-transform duration-200 bg-white opacity-50 p-4",{variants:{open:{true:"translate-x-0",false:"translate-x-full"},size:{small:"w-full md:w-[360px]",large:"w-full md:w-[480px]"}},defaultVariants:{open:!1}}),Sidebar=({open:e,size:t,children:i,className:s,...n})=>jsxRuntime.jsx("div",{className:cn(sidebarStyles({open:e,size:t,className:s})),...n,children:i}),modalStyles=cva(["fixed inset-0 z-50 flex items-center justify-center min-h-screen transition-all"],{variants:{open:{true:"bg-black",false:"opacity-0 pointer-events-none"}},defaultVariants:{open:!1}}),Modal=({open:e,onClose:t,children:i})=>{const[s,n]=React.useState(!1);React.useEffect(()=>{e&&n(!0)},[e]);const a=o=>{t&&(o.stopPropagation(),t())};return jsxRuntime.jsx(Opacity,{level:"medium",className:`${modalStyles({open:e})} ${s?e?"animate-fade-in":"animate-fade-out":""}`,onClick:a,children:jsxRuntime.jsx("div",{className:`transform transition-transform ${e?"animate-scale-in":"animate-scale-out"}`,children:i})})},Children=({children:e,className:t,opacityLevel:i,...s})=>{const n=a=>{a.stopPropagation()};return jsxRuntime.jsx(Opacity,{level:i,onClick:n,className:`mx-auto ${t?" "+t:""}`,...s,children:e})};Modal.Children=Children;const ArrowDownwardIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"18",viewBox:"0 0 12 18",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),ArrowUpwardIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"18",viewBox:"0 0 12 18",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),ArrowLeftIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"12",...e,viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),ArrowRightIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"12",...e,viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),AddIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M5.16797 6.83332H0.167969V5.16666H5.16797V0.166656H6.83464V5.16666H11.8346V6.83332H6.83464V11.8333H5.16797V6.83332Z",fill:"#554B6A"})}),ArrowNorthEastIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M1.4987 12.6667L0.332031 11.5L9.9987 1.83335H4.4987V0.166687H12.832V8.50002H11.1654V3.00002L1.4987 12.6667Z",fill:"#554B6A"})}),ArrowNorthWestIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M11.5013 12.6667L1.83464 3.00002V8.50002H0.167969V0.166687H8.5013V1.83335H3.0013L12.668 11.5L11.5013 12.6667Z",fill:"#554B6A"})}),ArrowSouthEastIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",...e,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M4.4987 12.8333V11.1666H9.9987L0.332031 1.49998L1.4987 0.333313L11.1654 9.99998V4.49998H12.832V12.8333H4.4987Z",fill:"#554B6A"})}),ArrowSouthWestIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",...e,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M0.167969 12.8333V4.49998H1.83464V9.99998L11.5013 0.333313L12.668 1.49998L3.0013 11.1666H8.5013V12.8333H0.167969Z",fill:"#554B6A"})}),CheckIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"11",...e,viewBox:"0 0 14 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),ClockIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",...e,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),CloseIcon=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.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",fill:"#554B6A"})}),CopyIcon=e=>jsxRuntime.jsx("svg",{width:"15",height:"18",viewBox:"0 0 15 18",fill:"none",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",fill:"#554B6A"})}),EditIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",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",fill:"#554B6A"})}),ExchangeIcon=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:"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",fill:"#554B6A"}),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",fill:"#554B6A"})]}),InfoIcon=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:"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",fill:"#554B6A"})}),KeyboardDownIcon=e=>jsxRuntime.jsx("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",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",fill:"#554B6A"})}),KeyboardLeftIcon=e=>jsxRuntime.jsx("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",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",fill:"#554B6A"})}),KeyboardRightIcon=e=>jsxRuntime.jsx("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",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",fill:"#554B6A"})}),KeyboardUpIcon=e=>jsxRuntime.jsx("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",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",fill:"#554B6A"})}),LanguageIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",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",fill:"#554B6A"})}),LinkIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"10",viewBox:"0 0 18 10",fill:"none",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",fill:"#554B6A"})}),LockIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"19",viewBox:"0 0 14 19",fill:"none",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",fill:"#554B6A"})}),LogoutIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",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",fill:"#554B6A"})}),MenuIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"10",viewBox:"0 0 16 10",fill:"none",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",fill:"#554B6A"})}),OpenInFullIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",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",fill:"#554B6A"})}),PageInfoIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",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",fill:"#554B6A"})}),RadioCheckedIcon=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:"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",fill:"#554B6A"})}),RadioUncheckedIcon=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:"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",fill:"#554B6A"})}),RemoveIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.167969 1.83332V0.166656H11.8346V1.83332H0.167969Z",fill:"#554B6A"})}),StarIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"17",viewBox:"0 0 18 17",fill:"none",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",fill:"#554B6A"})}),WalletIcon=e=>jsxRuntime.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",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",fill:"#554B6A"})}),SearchIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",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",fill:"#554B6A"})}),ArbitrumLogo=e=>jsxRuntime.jsxs("svg",{width:"18",height:"20",viewBox:"0 0 18 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M0.671875 6.07916V13.9193C0.671875 14.4199 0.939395 14.8827 1.37268 15.1322L8.16244 19.0531C8.59572 19.3025 9.12912 19.3025 9.5624 19.0531L16.3522 15.1322C16.7854 14.8827 17.053 14.4199 17.053 13.9193V6.07916C17.053 5.57858 16.7854 5.11576 16.3522 4.86629L9.5624 0.945401C9.12912 0.695934 8.59572 0.695934 8.16244 0.945401L1.37104 4.86629C0.937754 5.11576 0.671875 5.57858 0.671875 6.07916Z",fill:"#213147"}),jsxRuntime.jsx("path",{d:"M10.3474 11.5195L9.37907 14.175C9.35281 14.2488 9.35281 14.3292 9.37907 14.4031L11.0449 18.9723L12.9717 17.8595L10.6592 11.5195C10.6067 11.3734 10.3999 11.3734 10.3474 11.5195Z",fill:"#12AAFF"}),jsxRuntime.jsx("path",{d:"M12.2881 7.05242C12.2356 6.90635 12.0288 6.90635 11.9763 7.05242L11.008 9.70793C10.9817 9.78178 10.9817 9.8622 11.008 9.93606L13.7373 17.4168L15.6641 16.304L12.2881 7.05242Z",fill:"#12AAFF"}),jsxRuntime.jsx("path",{d:"M8.86263 1.23913C8.91022 1.23913 8.95782 1.25226 9.00049 1.27523L16.3483 5.51781C16.4336 5.56704 16.4861 5.65895 16.4861 5.75579V14.2393C16.4861 14.3378 16.4336 14.428 16.3483 14.4773L9.00049 18.7198C8.95946 18.7445 8.91022 18.756 8.86263 18.756C8.81503 18.756 8.76744 18.7428 8.72476 18.7198L1.37699 14.4806C1.29165 14.4313 1.23913 14.3394 1.23913 14.2426V5.75743C1.23913 5.65895 1.29165 5.56869 1.37699 5.51945L8.72476 1.27688C8.76744 1.25226 8.81503 1.23913 8.86263 1.23913ZM8.86263 0C8.60167 0 8.33908 0.0672903 8.10438 0.203512L0.758247 4.44444C0.288856 4.71525 0 5.21582 0 5.75743V14.2409C0 14.7825 0.288856 15.2831 0.758247 15.5539L8.10602 19.7965C8.34072 19.9311 8.60167 20 8.86427 20C9.12522 20 9.38782 19.9327 9.62252 19.7965L16.9703 15.5539C17.4397 15.2831 17.7285 14.7825 17.7285 14.2409V5.75743C17.7285 5.21582 17.4397 4.71525 16.9703 4.44444L9.62088 0.203512C9.38618 0.0672903 9.12358 0 8.86263 0Z",fill:"#9DCCED"}),jsxRuntime.jsx("path",{d:"M4.00391 17.4285L4.68009 15.5771L6.04067 16.708L4.76872 17.8699L4.00391 17.4285Z",fill:"#213147"}),jsxRuntime.jsx("path",{d:"M8.24586 5.14893H6.38306C6.24356 5.14893 6.11883 5.23591 6.07123 5.36721L2.07812 16.3142L4.00493 17.4269L8.40177 5.37213C8.4428 5.26381 8.36238 5.14893 8.24586 5.14893Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M11.5074 5.14893H9.6446C9.5051 5.14893 9.38036 5.23591 9.33277 5.36721L4.77344 17.8668L6.70024 18.9796L11.6633 5.37213C11.7027 5.26381 11.6223 5.14893 11.5074 5.14893Z",fill:"white"})]}),BTCLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M9.99969 19.9995C15.5225 19.9995 19.9994 15.5226 19.9994 9.99976C19.9994 4.47692 15.5225 6.10352e-05 9.99969 6.10352e-05C4.47686 6.10352e-05 0 4.47692 0 9.99976C0 15.5226 4.47686 19.9995 9.99969 19.9995Z",fill:"#ECECEC"}),jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#F7931A"}),jsxRuntime.jsx("path",{d:"M12.1154 8.57283C11.7999 9.80896 9.89365 9.1692 9.27554 9.01141L9.83393 6.82401C10.452 6.9818 12.4446 7.28205 12.1154 8.57283ZM11.7556 12.1043C11.4095 13.4641 9.12116 12.7148 8.37762 12.5254L9.00085 10.1179C9.74165 10.3082 12.1255 10.6884 11.7627 12.1082L11.7556 12.1043ZM14.2891 8.60841C14.4968 7.27892 13.4874 6.56018 12.1055 6.07304L12.565 4.2735L11.4686 3.99277L11.0207 5.74572C10.734 5.67215 10.4382 5.60277 10.1441 5.53436L10.5843 3.77028L9.49154 3.48697L9.03298 5.28474C8.79357 5.23004 8.55965 5.17373 8.33297 5.11677L6.82267 4.72988L6.52396 5.90153C6.52396 5.90153 7.33973 6.09353 7.31764 6.10449C7.63363 6.14376 7.85989 6.42897 7.82623 6.74558L7.31089 8.7908C7.34946 8.8006 7.38737 8.81283 7.42439 8.82742L7.3088 8.79886L6.56959 11.6677C6.49946 11.8783 6.27252 11.9929 6.06139 11.9242C6.07735 11.9329 5.26593 11.7203 5.26593 11.7203L4.71393 12.9723L6.14007 13.3363L6.92488 13.5345L6.46197 15.3529L7.55665 15.6326L8.00779 13.84C8.29685 13.9218 8.58882 13.9983 8.87998 14.072L8.42158 15.8653L9.51626 16.145L9.98272 14.3286C11.8545 14.6941 13.2588 14.5583 13.8598 12.8705C14.3425 11.5093 13.8509 10.7233 12.8723 10.2054C13.5904 10.045 14.1351 9.57824 14.2821 8.60454L14.2891 8.60841Z",fill:"white"})]}),CatalogLogo=e=>jsxRuntime.jsxs("svg",{width:"76",height:"16",viewBox:"0 0 76 16",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M20.1445 7.97398C20.1445 5.56023 21.9083 3.84766 24.3086 3.84766C25.7142 3.84766 26.8281 4.38146 27.5706 5.3435L26.2021 6.62784C25.9961 6.34199 25.726 6.10794 25.4132 5.94433C25.1059 5.78382 24.764 5.69982 24.417 5.6995C23.1733 5.6995 22.3087 6.60576 22.3087 7.96555C22.3087 9.32534 23.1733 10.2344 24.4302 10.2344C24.7759 10.2344 25.1171 10.1505 25.4265 9.98958C25.7393 9.82582 26.0094 9.59166 26.2154 9.30567L27.5706 10.6069C26.8334 11.5689 25.7138 12.1031 24.3138 12.1031C21.9083 12.1031 20.1445 10.3901 20.1445 7.97398ZM34.1808 10.401H30.9797L30.3857 11.9442H28.2003L31.55 4.00619H33.6717L37.0054 11.945H34.7776L34.1808 10.401ZM33.5549 8.74658L32.5814 6.20521L31.6082 8.74658H33.5549ZM38.709 5.79382H36.3724V4.00579H43.1541V5.79382H40.8307V11.9442H38.709V5.79382ZM48.6478 10.401H45.4467L44.8527 11.9442H42.6672L46.009 4.00579H48.1307L51.4834 11.9446H49.2555L48.6478 10.401ZM48.0222 8.74658L47.0461 6.20521L46.0729 8.74658H48.0222ZM52.5826 4.00619H54.7256V10.165H58.3353V11.9442H52.5803L52.5826 4.00619ZM59.0323 7.97398C59.0323 5.59395 60.8173 3.84766 63.2414 3.84766C65.6655 3.84766 67.4476 5.59355 67.4476 7.97358C67.4476 10.3536 65.6626 12.1031 63.2414 12.1031C60.8199 12.1031 59.0323 10.3568 59.0323 7.97398ZM65.2859 7.97398C65.2859 6.60295 64.3873 5.70793 63.2414 5.70793C62.0955 5.70793 61.1965 6.60295 61.1965 7.97398C61.1965 9.3446 62.0955 10.2428 63.2414 10.2428C64.3873 10.2428 65.2859 9.34781 65.2859 7.97398ZM73.9352 7.8042H75.8394V11.0937C74.9111 11.7541 73.7977 12.1072 72.6567 12.1031C70.2435 12.1031 68.4824 10.3901 68.4824 7.97398C68.4824 5.55783 70.2355 3.84766 72.6915 3.84766C74.1076 3.84766 75.2561 4.35938 76.0014 5.29895L74.6383 6.59211C74.4164 6.3138 74.1347 6.0887 73.8138 5.93349C73.4981 5.78104 73.1511 5.70383 72.8003 5.70793C71.5005 5.70793 70.636 6.60295 70.636 7.97398C70.636 9.3446 71.5005 10.2428 72.779 10.2428C73.1796 10.2465 73.5753 10.157 73.9352 9.98155V7.8042Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M11.8224 0H4.1776C3.06963 0 2.00704 0.44014 1.22359 1.22359C0.44014 2.00704 1.91552e-08 3.06963 1.91552e-08 4.1776V11.8224C-5.25186e-05 12.371 0.107969 12.9143 0.317894 13.4212C0.52782 13.928 0.835537 14.3886 1.22347 14.7765C1.61141 15.1645 2.07197 15.4722 2.57884 15.6821C3.08571 15.892 3.62897 16.0001 4.1776 16H11.8224C12.371 16.0001 12.9143 15.892 13.4212 15.6821C13.928 15.4722 14.3886 15.1645 14.7765 14.7765C15.1645 14.3886 15.4722 13.928 15.6821 13.4212C15.892 12.9143 16.0001 12.371 16 11.8224V4.1776C16 3.06963 15.5599 2.00704 14.7764 1.22359C13.993 0.44014 12.9304 0 11.8224 0ZM13.6624 11.004H2.3388V9.1008H5.7028L3.052 6.45L4.398 5.1044L7.0484 7.7552V4.034H8.9512V7.7552L11.6032 5.1044L12.9488 6.45L10.2976 9.1008H13.6632V11.0044L13.6624 11.004Z",fill:"#554B6A"})]}),Coinbase=e=>jsxRuntime.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 12C0 18.6267 5.37333 24 12 24C18.6267 24 24 18.6267 24 12C24 5.37333 18.6267 0 12 0C5.37333 0 0 5.37333 0 12ZM8.93332 8.1333C8.49 8.1333 8.1333 8.49 8.1333 8.93332V15.0667C8.1333 15.51 8.49 15.8667 8.93332 15.8667H15.0667C15.51 15.8667 15.8667 15.51 15.8667 15.0667V8.93332C15.8667 8.49 15.51 8.1333 15.0667 8.1333H8.93332Z",fill:"#0052FF"})}),EthereumLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20Z",fill:"#627EEA"}),jsxRuntime.jsx("path",{d:"M10.0069 2L5.39844 10.1483L10.0069 7.91653V2Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M10.0069 7.91632L5.39844 10.1481L10.0069 13.0513V7.91632Z",fill:"#C0CBF6"}),jsxRuntime.jsx("path",{d:"M14.6171 10.1483L10.0078 2V7.91653L14.6171 10.1483Z",fill:"#C0CBF6"}),jsxRuntime.jsx("path",{d:"M10.0078 13.0513L14.6171 10.1481L10.0078 7.91632V13.0513Z",fill:"#8197EE"}),jsxRuntime.jsx("path",{d:"M5.39844 11.0804L10.0069 18.0004V13.9818L5.39844 11.0804Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M10.0078 13.9818V18.0004L14.6197 11.0804L10.0078 13.9818Z",fill:"#C0CBF6"})]}),GardenExplorer=e=>jsxRuntime.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.971 0C20.2812 0 23.9204 2.87771 25.078 6.81963C29.0711 7.94237 31.9989 11.6158 31.9989 15.9741C31.9989 20.3156 29.0936 23.9775 25.1242 25.1154C23.9876 29.0906 20.3321 31.9999 15.9983 31.9999C11.6643 31.9999 8.00866 29.0903 6.87228 25.1147C2.9041 23.976 0 20.3147 0 15.9741C0 11.6384 2.8975 7.98053 6.85875 6.83733C8.0107 2.88633 11.6543 0 15.971 0Z",fill:"#C7E0FD"}),jsxRuntime.jsx("path",{d:"M16.6753 23.1492C12.7196 23.1492 10 20.2923 10 16.1168C10 11.9138 12.6646 9.00195 16.5654 9.00195C20.3838 9.00195 22.8836 11.6391 22.8836 15.6223V16.5838L12.4998 16.6113C12.6921 19.4407 14.1755 21.0065 16.7303 21.0065C18.7356 21.0065 20.0542 20.1824 20.4937 18.6441H22.9111C22.2518 21.5285 19.9992 23.1492 16.6753 23.1492ZM16.5654 11.1721C14.3129 11.1721 12.8844 12.5182 12.5547 14.8806H20.3014C20.3014 12.6555 18.8455 11.1721 16.5654 11.1721Z",fill:"#E36492"})]}),GardenFullLogo=e=>jsxRuntime.jsxs("svg",{width:"116",height:"32",viewBox:"0 0 116 32",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.9749 -0.000488281C20.2855 -0.000488281 23.925 2.87781 25.0823 6.82035C29.0731 7.9445 31.9989 11.6168 31.9989 15.9736C31.9989 20.315 29.0937 23.9768 25.1245 25.1149C23.9882 29.0906 20.3325 32.0004 15.9983 32.0004C11.6639 32.0004 8.00801 29.0902 6.87197 25.1142C2.90395 23.9753 -1.89408e-07 20.3141 0 15.9736C1.89291e-07 11.6363 2.89958 7.97742 6.86302 6.83561C8.01536 2.88524 11.6587 -0.000488281 15.9749 -0.000488281Z",fill:"#F7CFDB"}),jsxRuntime.jsx("path",{d:"M18.7607 13.0922C18.7384 14.9239 15.8618 14.6757 14.9458 14.6644L14.9855 11.423C15.9014 11.4342 18.7837 11.1795 18.7607 13.0922ZM19.4527 18.1422C19.4294 20.1569 15.9826 19.885 14.8808 19.8721L14.9366 16.3016C16.0348 16.3165 19.4901 16.0412 19.4639 18.1453L19.4527 18.1422ZM21.8064 12.4068C21.6466 10.4812 19.995 9.81944 17.9017 9.60687L17.9345 6.9401L16.3094 6.91906L16.277 9.51688C15.8521 9.51113 15.4158 9.51433 14.9823 9.51829L15.0001 6.90755L13.3793 6.88166L13.3472 9.54562C12.9946 9.55023 12.6491 9.55075 12.3135 9.54791L10.075 9.51864L10.0543 11.2548C10.0543 11.2548 11.2576 11.2469 11.2305 11.2696C11.6848 11.2176 12.097 11.5391 12.1571 11.9924L12.1294 15.0209C12.1865 15.0215 12.2436 15.0257 12.3002 15.0336L12.1292 15.0328L12.0676 19.2864C12.0409 19.604 11.763 19.8407 11.4451 19.8163C11.4703 19.823 10.266 19.8006 10.266 19.8006L9.91903 21.7346L12.0324 21.7603L13.1946 21.7715L13.1635 24.4657L14.7857 24.486L14.8092 21.8318C15.2403 21.8482 15.6736 21.8562 16.1049 21.8606L16.0715 24.5182L17.6938 24.5385L17.7306 21.8458C20.4663 21.723 22.3802 21.0587 22.6483 18.5C22.8617 16.4372 21.9098 15.5065 20.3691 15.1146C21.317 14.648 21.9193 13.8124 21.7952 12.4038L21.8064 12.4068Z",fill:"#DB6A93"}),jsxRuntime.jsx("path",{d:"M107.505 22.2476H105.23V10.123H107.288L107.53 11.9826C108.28 10.5941 109.78 9.77588 111.45 9.77588C114.572 9.77588 116 11.7347 116 14.834V22.2476H113.725V15.3547C113.725 12.9 112.612 11.9082 110.869 11.9082C108.74 11.9082 107.505 13.4703 107.505 15.8258V22.2476Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M97.8263 22.5451C94.3413 22.5451 91.9453 19.9665 91.9453 16.1977C91.9453 12.4041 94.2929 9.77588 97.7295 9.77588C101.094 9.77588 103.296 12.1562 103.296 15.7514V16.6192L94.1477 16.644C94.3171 19.1979 95.624 20.6111 97.8747 20.6111C99.6414 20.6111 100.803 19.8673 101.19 18.4788H103.32C102.739 21.0822 100.755 22.5451 97.8263 22.5451ZM97.7295 11.7347C95.745 11.7347 94.4865 12.9496 94.1961 15.0819H101.021C101.021 13.0736 99.7382 11.7347 97.7295 11.7347Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M83.557 22.5464C80.1204 22.5464 78.0391 19.9182 78.0391 16.2238C78.0391 12.5046 80.1446 9.77716 83.6538 9.77716C85.469 9.77716 86.9937 10.5954 87.7923 12.0831V4H90.0431V22.2489H88.0101L87.8165 20.0421C87.0421 21.7034 85.4448 22.5464 83.557 22.5464ZM84.0169 20.4389C86.3402 20.4389 87.7681 18.6784 87.7681 16.1494C87.7681 13.6699 86.3402 11.8847 84.0169 11.8847C81.6935 11.8847 80.3382 13.6699 80.3382 16.1494C80.3382 18.6536 81.6935 20.4389 84.0169 20.4389Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M77.7101 10.0252V12.1576H76.6936C74.5396 12.1576 73.2085 13.4965 73.2085 15.8272V22.249H70.9336V10.1492H73.0633L73.2085 11.984C73.6926 10.7195 74.8785 9.87646 76.5 9.87646C76.9114 9.87646 77.2502 9.92605 77.7101 10.0252Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M62.069 22.5451C59.5278 22.5451 58.0273 21.0822 58.0273 18.8755C58.0273 16.644 59.6489 15.2555 62.432 15.0323L66.1591 14.7348V14.3877C66.1591 12.3545 64.9732 11.6355 63.3759 11.6355C61.464 11.6355 60.3749 12.5033 60.3749 13.9662H58.3904C58.3904 11.4371 60.4233 9.77588 63.4727 9.77588C66.4011 9.77588 68.3857 11.3627 68.3857 14.6356V22.2476H66.4495L66.2075 20.2888C65.6025 21.6773 63.981 22.5451 62.069 22.5451ZM62.7225 20.7351C64.8764 20.7351 66.1833 19.297 66.1833 17.0159V16.3713L63.1581 16.6192C61.1494 16.8176 60.3265 17.611 60.3265 18.8011C60.3265 20.0905 61.2462 20.7351 62.7225 20.7351Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M44 15.8754C44 12.4537 46.1539 9.77588 49.5906 9.77588C51.5025 9.77588 52.9788 10.6685 53.7291 12.181L53.8985 10.123H55.9314V21.7517C55.9314 25.5701 53.6323 28 50.002 28C46.7832 28 44.5808 26.1404 44.1452 23.0658H46.4202C46.7106 24.851 48.0175 25.8924 50.002 25.8924C52.2286 25.8924 53.6807 24.4047 53.6807 22.0988V19.6689C52.9062 21.0822 51.3573 21.9253 49.4938 21.9253C46.1297 21.9253 44 19.2722 44 15.8754ZM46.275 15.8258C46.275 18.1069 47.6545 19.8921 49.881 19.8921C52.1802 19.8921 53.5839 18.2061 53.5839 15.8258C53.5839 13.4951 52.2286 11.809 49.9052 11.809C47.6302 11.809 46.275 13.5943 46.275 15.8258Z",fill:"#554B6A"})]}),GardenLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.98341 0C12.6772 0 14.9516 1.79848 15.6752 4.26207C18.1704 4.964 19.9999 7.25961 19.9999 9.98323C19.9999 12.6965 18.1843 14.985 15.7037 15.6963C14.9936 18.1811 12.7088 19.9998 9.99989 19.9998C7.29098 19.9998 5.00615 18.1811 4.29607 15.6963C1.8155 14.9849 -1.18409e-07 12.6964 0 9.98323C1.18278e-07 7.27277 1.81186 4.98619 4.28861 4.27235C5.00884 1.80349 7.28585 0 9.98341 0Z",fill:"#F7CFDB"}),jsxRuntime.jsx("path",{d:"M11.7239 8.18277C11.7099 9.3276 9.9121 9.17242 9.33962 9.16542L9.36442 7.13955C9.93689 7.14655 11.7383 6.98737 11.7239 8.18277ZM12.1564 11.339C12.1418 12.5981 9.98758 12.4282 9.29902 12.4201L9.33387 10.1886C10.0202 10.1979 12.1798 10.0259 12.1634 11.3409L12.1564 11.339ZM13.6274 7.75443C13.5276 6.55096 12.4953 6.13737 11.187 6.00452L11.2075 4.33784L10.1919 4.32469L10.1716 5.94828C9.90607 5.94468 9.63337 5.94668 9.36242 5.94916L9.37356 4.3175L8.36058 4.30131L8.34053 5.96624C8.12015 5.96912 7.90422 5.96944 7.69447 5.96767L6.2954 5.94938L6.28245 7.03442C6.28245 7.03442 7.03456 7.0295 7.01761 7.04372C7.30152 7.0112 7.55914 7.21215 7.59669 7.49541L7.5794 9.38817C7.61511 9.38856 7.65076 9.39122 7.68614 9.39612L7.57928 9.39564L7.54078 12.0541C7.52412 12.2526 7.35039 12.4005 7.15173 12.3852C7.16749 12.3894 6.41483 12.3754 6.41483 12.3754L6.19794 13.5841L7.51877 13.6002L8.24516 13.6072L8.22567 15.291L9.23959 15.3037L9.25426 13.6449C9.52367 13.6551 9.79449 13.6601 10.064 13.6629L10.0432 15.3239L11.0571 15.3365L11.0801 13.6536C12.7899 13.5769 13.986 13.1617 14.1536 11.5626C14.287 10.2733 13.6921 9.69167 12.7291 9.44678C13.3216 9.15511 13.698 8.63289 13.6204 7.75256L13.6274 7.75443Z",fill:"#DB6A93"})]}),GardenLogoText=e=>jsxRuntime.jsxs("svg",{width:"72",height:"24",viewBox:"0 0 72 24",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M63.5054 18.2476H61.2305V6.123H63.2876L63.5296 7.9826C64.2799 6.5941 65.7804 5.77588 67.4503 5.77588C70.5723 5.77588 72.0002 7.73466 72.0002 10.834V18.2476H69.7252V11.3547C69.7252 8.90001 68.612 7.90822 66.8695 7.90822C64.7397 7.90822 63.5054 9.47028 63.5054 11.8258V18.2476Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M53.8263 18.5451C50.3413 18.5451 47.9453 15.9665 47.9453 12.1977C47.9453 8.40411 50.2929 5.77588 53.7295 5.77588C57.0935 5.77588 59.2959 8.15617 59.2959 11.7514V12.6192L50.1477 12.644C50.3171 15.1979 51.624 16.6111 53.8747 16.6111C55.6414 16.6111 56.8031 15.8673 57.1903 14.4788H59.3201C58.7393 17.0822 56.7547 18.5451 53.8263 18.5451ZM53.7295 7.73466C51.745 7.73466 50.4865 8.9496 50.1961 11.0819H57.0209C57.0209 9.07357 55.7382 7.73466 53.7295 7.73466Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M39.557 18.5464C36.1204 18.5464 34.0391 15.9182 34.0391 12.2238C34.0391 8.50457 36.1446 5.77716 39.6538 5.77716C41.469 5.77716 42.9937 6.59538 43.7923 8.08306V0H46.0431V18.2489H44.0101L43.8165 16.0421C43.0421 17.7034 41.4448 18.5464 39.557 18.5464ZM40.0169 16.4389C42.3402 16.4389 43.7681 14.6784 43.7681 12.1494C43.7681 9.66992 42.3402 7.8847 40.0169 7.8847C37.6935 7.8847 36.3382 9.66992 36.3382 12.1494C36.3382 14.6536 37.6935 16.4389 40.0169 16.4389Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M33.7101 6.02523V8.15757H32.6936C30.5396 8.15757 29.2085 9.49649 29.2085 11.8272V18.249H26.9336V6.14921H29.0633L29.2085 7.98401C29.6926 6.71948 30.8785 5.87646 32.5 5.87646C32.9114 5.87646 33.2502 5.92605 33.7101 6.02523Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M18.069 18.5451C15.5278 18.5451 14.0273 17.0822 14.0273 14.8755C14.0273 12.644 15.6489 11.2555 18.432 11.0323L22.1591 10.7348V10.3877C22.1591 8.35452 20.9732 7.63548 19.3759 7.63548C17.464 7.63548 16.3749 8.50329 16.3749 9.96618H14.3904C14.3904 7.43712 16.4233 5.77588 19.4727 5.77588C22.4011 5.77588 24.3857 7.36274 24.3857 10.6356V18.2476H22.4495L22.2075 16.2888C21.6025 17.6773 19.981 18.5451 18.069 18.5451ZM18.7225 16.7351C20.8764 16.7351 22.1833 15.297 22.1833 13.0159V12.3713L19.1581 12.6192C17.1494 12.8176 16.3265 13.611 16.3265 14.8011C16.3265 16.0905 17.2462 16.7351 18.7225 16.7351Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M0 11.8754C0 8.4537 2.15395 5.77588 5.59058 5.77588C7.50251 5.77588 8.97882 6.66849 9.72907 8.18096L9.89848 6.123H11.9314V17.7517C11.9314 21.5701 9.63226 24 6.00201 24C2.78319 24 0.58084 22.1404 0.14521 19.0658H2.42017C2.71059 20.851 4.01748 21.8924 6.00201 21.8924C8.22856 21.8924 9.68066 20.4047 9.68066 18.0988V15.6689C8.90621 17.0822 7.3573 17.9253 5.49378 17.9253C2.12975 17.9253 0 15.2722 0 11.8754ZM2.27496 11.8258C2.27496 14.1069 3.65445 15.8921 5.881 15.8921C8.18016 15.8921 9.58386 14.2061 9.58386 11.8258C9.58386 9.49508 8.22856 7.80904 5.9052 7.80904C3.63025 7.80904 2.27496 9.59426 2.27496 11.8258Z",fill:"#554B6A"})]}),GardenStrokeIcon=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{"clip-path":"url(#clip0_11965_8100)",children:[jsxRuntime.jsx("mask",{id:"path-1-inside-1_11965_8100",fill:"white",children:jsxRuntime.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.98344 0C12.6778 0 14.9526 1.79934 15.6756 4.26383C18.17 4.96624 19.9987 7.26149 19.9987 9.98459C19.9987 12.6977 18.1834 14.9861 15.703 15.6975C14.9926 18.1818 12.7081 20 9.99972 20C7.29137 20 5.00695 18.1819 4.29646 15.6978C1.8157 14.9865 0 12.698 0 9.98459C0 7.27415 1.81178 4.98759 4.28842 4.27373C5.00818 1.80416 7.28547 0 9.98344 0Z"})}),jsxRuntime.jsx("path",{d:"M15.6756 4.26383L14.2362 4.68606L14.4699 5.48266L15.269 5.70768L15.6756 4.26383ZM15.703 15.6975L15.2894 14.2557L14.4896 14.4851L14.2608 15.2851L15.703 15.6975ZM4.29646 15.6978L5.73864 15.2853L5.50981 14.4852L4.70985 14.2558L4.29646 15.6978ZM4.28842 4.27373L4.70386 5.71505L5.49742 5.48632L5.7285 4.69345L4.28842 4.27373ZM17.1149 3.8416C16.2101 0.757033 13.363 -1.5 9.98344 -1.5V1.5C11.9926 1.5 13.6952 2.84165 14.2362 4.68606L17.1149 3.8416ZM21.4987 9.98459C21.4987 6.57361 19.2077 3.70011 16.0821 2.81999L15.269 5.70768C17.1323 6.23237 18.4987 7.94938 18.4987 9.98459H21.4987ZM16.1166 17.1394C19.2244 16.2479 21.4987 13.3831 21.4987 9.98459H18.4987C18.4987 12.0123 17.1424 13.7242 15.2894 14.2557L16.1166 17.1394ZM9.99972 21.5C13.3969 21.5 16.256 19.2194 17.1452 16.1099L14.2608 15.2851C13.7292 17.1442 12.0194 18.5 9.99972 18.5V21.5ZM2.85429 16.1102C3.74357 19.2196 6.60265 21.5 9.99972 21.5V18.5C7.9801 18.5 6.27033 17.1443 5.73864 15.2853L2.85429 16.1102ZM4.70985 14.2558C2.85665 13.7245 1.5 12.0125 1.5 9.98459H-1.5C-1.5 13.3834 0.774762 16.2485 3.88308 17.1397L4.70985 14.2558ZM1.5 9.98459C1.5 7.95888 2.8537 6.24834 4.70386 5.71505L3.87298 2.83241C0.769862 3.72684 -1.5 6.58943 -1.5 9.98459H1.5ZM9.98344 -1.5C6.59936 -1.5 3.7492 0.763058 2.84834 3.85402L5.7285 4.69345C6.26716 2.84526 7.97158 1.5 9.98344 1.5V-1.5Z",fill:"#E36492",mask:"url(#path-1-inside-1_11965_8100)"}),jsxRuntime.jsx("path",{d:"M11.5749 8.50229C11.5621 9.57529 9.91402 9.42985 9.38923 9.42329L9.41196 7.52453C9.93675 7.53109 11.5881 7.3819 11.5749 8.50229ZM11.9714 11.4605C11.9581 12.6406 9.98322 12.4813 9.35201 12.4737L9.38395 10.3823C10.0131 10.391 11.9928 10.2298 11.9778 11.4622L11.9714 11.4605ZM13.3199 8.10083C13.2284 6.97287 12.2821 6.58523 11.0828 6.46071L11.1016 4.8986L10.1705 4.88628L10.1519 6.408C9.90849 6.40463 9.65851 6.40651 9.41013 6.40882L9.42034 4.87954L8.49173 4.86437L8.47335 6.42484C8.27132 6.42754 8.07337 6.42784 7.8811 6.42617L6.59855 6.40903L6.58668 7.42599C6.58668 7.42599 7.27615 7.42138 7.26061 7.43472C7.52087 7.40423 7.75703 7.59257 7.79146 7.85806L7.77561 9.63206C7.80835 9.63243 7.84103 9.63492 7.87346 9.63952L7.7755 9.63907L7.74021 12.1307C7.72493 12.3168 7.56567 12.4554 7.38356 12.4411C7.39801 12.445 6.70803 12.4319 6.70803 12.4319L6.50921 13.5648L7.72002 13.5798L8.38592 13.5864L8.36806 15.1646L9.29753 15.1765L9.31098 13.6217C9.55795 13.6313 9.80622 13.636 10.0533 13.6386L10.0342 15.1953L10.9636 15.2072L10.9847 13.6299C12.5521 13.558 13.6487 13.1688 13.8023 11.6701C13.9245 10.4617 13.3792 9.91652 12.4964 9.687C13.0395 9.41362 13.3846 8.92417 13.3135 8.09907L13.3199 8.10083Z",fill:"#E36492"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_11965_8100",children:jsxRuntime.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),GMXLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M16.6693 13.8621L10.0128 4.16669L3.33594 13.8621H12.6383L10.0128 10.1618L8.71039 12.0845H7.32623L10.0137 8.21885L13.8987 13.8625L16.6693 13.8621Z",fill:"url(#paint0_linear_11636_3468)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11636_3468",x1:"10.4826",y1:"4.41878",x2:"6.34171",y2:"14.9832",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{"stop-color":"#03D1CF","stop-opacity":"0.988"}),jsxRuntime.jsx("stop",{offset:"1","stop-color":"#4E09F8"})]})})]}),PhantomIcon=e=>jsxRuntime.jsx("svg",{width:"24",height:"20",viewBox:"0 0 24 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{opacity:"0.4",d:"M2.83991 20C5.90257 20 8.20418 17.3346 9.57774 15.2283C9.41068 15.6943 9.31785 16.1603 9.31785 16.6076C9.31785 17.8379 10.0232 18.7139 11.4153 18.7139C13.3271 18.7139 15.3689 17.0364 16.4269 15.2283C16.3527 15.4893 16.3156 15.7316 16.3156 15.9553C16.3156 16.8127 16.7981 17.3532 17.7819 17.3532C20.8817 17.3532 24 11.8546 24 7.04568C24 3.29916 22.1067 0 17.355 0C9.00234 0 0 10.2144 0 16.8127C0 19.4035 1.39211 20 2.83991 20ZM14.478 6.63562C14.478 5.70365 14.9977 5.05128 15.7587 5.05128C16.5011 5.05128 17.0209 5.70365 17.0209 6.63562C17.0209 7.56759 16.5011 8.23858 15.7587 8.23858C14.9977 8.23858 14.478 7.56759 14.478 6.63562ZM18.4501 6.63562C18.4501 5.70365 18.9699 5.05128 19.7309 5.05128C20.4733 5.05128 20.9931 5.70365 20.9931 6.63562C20.9931 7.56759 20.4733 8.23858 19.7309 8.23858C18.9699 8.23858 18.4501 7.56759 18.4501 6.63562Z",fill:"#AB9FF2"})}),PolygonLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20Z",fill:"#8247E5"}),jsxRuntime.jsx("path",{d:"M13.6005 7.4117C13.3446 7.25591 13.0157 7.25591 12.7232 7.4117L10.6762 8.69698L9.28721 9.51488L7.27676 10.8002C7.02089 10.9559 6.69191 10.9559 6.39948 10.8002L4.82768 9.78752C4.5718 9.63173 4.38903 9.32014 4.38903 8.96961V7.02223C4.38903 6.71064 4.53525 6.39906 4.82768 6.20432L6.39948 5.23063C6.65535 5.07484 6.98433 5.07484 7.27676 5.23063L8.84856 6.24327C9.10444 6.39906 9.28721 6.71064 9.28721 7.06117V8.34645L10.6762 7.4896V6.16538C10.6762 5.85379 10.53 5.54221 10.2376 5.34747L7.31332 3.51693C7.05744 3.36114 6.72846 3.36114 6.43603 3.51693L3.43864 5.38642C3.14621 5.54221 3 5.85379 3 6.16538V9.82646C3 10.138 3.14621 10.4496 3.43864 10.6444L6.39948 12.4749C6.65535 12.6307 6.98433 12.6307 7.27676 12.4749L9.28721 11.2286L10.6762 10.3717L12.6867 9.1254C12.9426 8.96961 13.2715 8.96961 13.564 9.1254L15.1358 10.0991C15.3916 10.2549 15.5744 10.5665 15.5744 10.917V12.8644C15.5744 13.176 15.4282 13.4876 15.1358 13.6823L13.6005 14.656C13.3446 14.8118 13.0157 14.8118 12.7232 14.656L11.1514 13.6823C10.8956 13.5265 10.7128 13.2149 10.7128 12.8644V11.6181L9.32376 12.4749V13.7602C9.32376 14.0718 9.46997 14.3834 9.7624 14.5781L12.7232 16.4086C12.9791 16.5644 13.3081 16.5644 13.6005 16.4086L16.5614 14.5781C16.8172 14.4223 17 14.1107 17 13.7602V10.0602C17 9.74857 16.8538 9.43699 16.5614 9.24225L13.6005 7.4117Z",fill:"white"})]}),RadiantLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M12.3721 10.9825L18.3346 10L12.3721 9.01752L15.8938 4.10752L10.9838 7.62919L10.0013 1.66669L9.01964 7.62919L4.1088 4.10752L7.63047 9.01752L1.66797 10L7.63047 10.9825L4.1088 15.8925L9.01964 12.3709L10.0013 18.3334L10.9838 12.3709L15.8938 15.8925L12.3721 10.9825Z",fill:"url(#paint0_linear_11636_3467)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11636_3467",x1:"10.0015",y1:"1.8013",x2:"10.0015",y2:"18.2113",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0.1028","stop-color":"#00FFAA"}),jsxRuntime.jsx("stop",{offset:"0.999","stop-color":"#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",{"clip-path":"url(#clip0_9266_25244)",children:[jsxRuntime.jsx("path",{opacity:"0.953","fill-rule":"evenodd","clip-rule":"evenodd",d:"M37.4888 0.569824C37.6131 0.569824 37.7375 0.569824 37.8619 0.569824C37.8619 2.1039 37.8619 3.63796 37.8619 5.17205C37.6911 5.19152 37.5252 5.17081 37.3644 5.10986C35.3362 4.48887 33.3045 3.88772 31.2695 3.30628C31.5183 2.76726 31.7671 2.22829 32.0158 1.68929C33.8677 1.37702 35.692 1.00386 37.4888 0.569824Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.957","fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.04391 0.942947C5.27298 0.942947 9.50206 0.942947 13.7311 0.942947C13.4409 2.02095 13.1507 3.09897 12.8604 4.17695C11.6988 4.15624 10.5379 4.17695 9.37768 4.23914C9.13724 4.27036 8.90918 4.33255 8.69356 4.42572C7.90577 6.95489 7.11804 9.484 6.33025 12.0132C6.2693 12.174 6.24859 12.3399 6.26806 12.5107C4.96892 12.2297 3.68366 11.8979 2.41214 11.5156C2.99077 9.38543 3.63347 7.27089 4.3401 5.17202C4.42244 4.88438 4.48463 4.59413 4.52667 4.30133C3.03406 4.30133 1.54144 4.30133 0.0488281 4.30133C0.0908701 4.00853 0.153062 3.71828 0.235405 3.43064C0.518865 2.60112 0.788369 1.77187 1.04391 0.942947Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.967","fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.4763 0.94295C16.5083 0.922228 18.5399 0.942957 20.5711 1.00514C21.5554 1.07067 22.4676 1.3609 23.3076 1.87583C23.4383 2.04808 23.6041 2.17246 23.8051 2.24899C24.5442 3.09679 24.9173 4.09187 24.9246 5.23422C24.8903 6.51159 24.5379 7.69324 23.8673 8.77918C23.4735 9.17305 23.0795 9.56697 22.6857 9.96083C21.9923 10.3906 21.246 10.6808 20.4467 10.8315C20.7741 10.9965 21.1057 11.1624 21.4418 11.3291C21.6699 11.5571 21.8979 11.7851 22.1259 12.0132C22.2786 12.437 22.3822 12.8723 22.4369 13.3192C22.3747 13.7546 22.3125 14.1899 22.2503 14.6253C21.9573 15.7973 21.6256 16.9583 21.2552 18.108C21.111 18.7217 21.0488 19.3437 21.0687 19.9738C19.6589 19.9738 18.2493 19.9738 16.8396 19.9738C16.8243 19.3852 16.8865 18.8048 17.0262 18.2324C17.3993 16.8642 17.7725 15.4959 18.1456 14.1277C18.4718 13.174 18.1609 12.5728 17.2127 12.3241C16.5091 12.262 15.8043 12.2413 15.0982 12.2619C14.8917 13.1095 14.6222 13.9388 14.2897 14.7496C13.0814 14.3698 11.8582 14.0381 10.6204 13.7546C10.6009 13.5837 10.6216 13.4179 10.6825 13.257C11.9857 9.16135 13.2502 5.05666 14.4763 0.94295ZM17.7103 4.05257C18.3749 4.03192 19.0383 4.05263 19.7004 4.11476C20.144 4.20183 20.4964 4.42982 20.7577 4.79887C20.8406 5.29641 20.8406 5.79395 20.7577 6.29149C20.6163 6.75706 20.4505 7.21318 20.2602 7.65972C20.0943 7.90849 19.9285 8.15726 19.7626 8.40603C19.1449 9.07845 18.3778 9.32722 17.4615 9.15233C17.0055 9.13162 16.5493 9.11085 16.0933 9.09014C16.6228 7.40722 17.1618 5.72803 17.7103 4.05257Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.951","fill-rule":"evenodd","clip-rule":"evenodd",d:"M50.6724 2.31121C50.7643 2.29492 50.8472 2.31564 50.9212 2.3734C51.9656 3.12717 53.0436 3.832 54.1552 4.48794C54.2121 4.53944 54.2535 4.60163 54.2796 4.67452C53.7522 6.31888 53.2132 7.95659 52.6626 9.58771C52.4967 9.67061 52.3309 9.67061 52.165 9.58771C51.2114 9.29746 50.2578 9.00727 49.3042 8.71702C49.1121 8.68101 48.9463 8.59804 48.8066 8.46825C49.4067 6.58513 50.0078 4.69865 50.6102 2.80875C50.6712 2.64792 50.6919 2.48205 50.6724 2.31121Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.968","fill-rule":"evenodd","clip-rule":"evenodd",d:"M30.8958 4.05257C31.8525 4.30221 32.8062 4.57169 33.7566 4.86107C33.7981 4.90255 33.8395 4.94397 33.881 4.98545C32.6441 7.64579 31.3588 10.2786 30.0251 12.8839C31.2274 12.8839 32.4299 12.8839 33.6322 12.8839C33.7046 10.2655 33.8704 7.65344 34.1298 5.04764C35.3321 5.37932 36.5346 5.71105 37.7369 6.04272C37.6362 10.6448 37.5325 15.2471 37.426 19.8494C36.0471 19.9722 34.6582 20.0137 33.2591 19.9738C33.3601 18.6496 33.4016 17.3229 33.3835 15.9935C31.725 15.9935 30.0666 15.9935 28.4081 15.9935C27.7447 17.3202 27.0813 18.647 26.4179 19.9738C24.9668 19.9738 23.5156 19.9738 22.0645 19.9738C22.3306 19.4414 22.6002 18.9024 22.873 18.3568C25.485 13.7546 28.0971 9.15234 30.7092 4.55011C30.8076 4.39525 30.8698 4.22938 30.8958 4.05257Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.967","fill-rule":"evenodd","clip-rule":"evenodd",d:"M42.4625 7.53534C43.6249 7.87441 44.7858 8.22679 45.9452 8.59261C46.1061 8.65356 46.2719 8.67427 46.4428 8.6548C46.3785 9.1177 46.2749 9.57382 46.1318 10.023C44.0424 16.6645 41.9279 23.2984 39.7882 29.9246C39.6295 30.4623 39.4844 31.0013 39.3528 31.5416C37.9407 31.6406 36.531 31.765 35.1238 31.9147C35.0409 31.894 34.9579 31.8732 34.875 31.8525C36.0805 28.2773 37.2622 24.6908 38.42 21.0933C39.7557 16.568 41.1032 12.0488 42.4625 7.53534Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.962","fill-rule":"evenodd","clip-rule":"evenodd",d:"M48.4332 9.40112C48.6041 9.38165 48.7699 9.40236 48.9308 9.46331C50.0406 9.79181 51.1393 10.1443 52.227 10.5206C52.3099 10.6864 52.3099 10.8522 52.227 11.0181C51.6124 12.9238 51.0112 14.831 50.4234 16.7398C52.2062 16.7398 53.989 16.7398 55.7719 16.7398C55.4151 17.8104 55.0834 18.8884 54.7768 19.9738C51.5843 19.9738 48.3917 19.9738 45.1992 19.9738C46.2772 16.4496 47.3552 12.9254 48.4332 9.40112Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.946","fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.03805 12.3863C3.3286 12.6986 4.61393 13.0303 5.89397 13.3814C5.35402 15.2505 4.79428 17.1162 4.21478 18.9787C4.17329 19.0202 4.13187 19.0616 4.09039 19.1031C3.3026 18.3153 2.51487 17.5276 1.72708 16.7398C1.49725 16.4275 1.26921 16.1166 1.04297 15.8069C1.41332 14.6754 1.745 13.5352 2.03805 12.3863Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.942","fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.3716 14.5009C11.6066 14.8571 12.8504 15.1888 14.1032 15.496C13.7676 16.7962 13.3737 18.0815 12.9215 19.3519C12.8392 19.6395 12.777 19.9298 12.7349 20.2226C11.3252 20.2226 9.91557 20.2226 8.50586 20.2226C9.07834 18.2979 9.70026 16.3907 10.3716 14.5009Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.963","fill-rule":"evenodd","clip-rule":"evenodd",d:"M61.3687 20.9689C62.3644 20.9482 63.3595 20.969 64.3539 21.0311C65.604 21.1689 66.6613 21.6872 67.5257 22.5859C68.0488 23.4732 68.2142 24.4268 68.0233 25.4467C67.8902 26.0323 67.7453 26.6128 67.5879 27.1881C66.2191 27.2088 64.8508 27.1881 63.4832 27.1259C63.9254 26.3284 64.0703 25.4785 63.9186 24.576C63.8719 24.4621 63.8097 24.3584 63.732 24.2651C62.2139 23.6453 61.1983 24.1222 60.6846 25.6955C60.4489 26.2368 60.4489 26.7758 60.6846 27.3125C60.9439 27.7896 61.2337 28.2457 61.5553 28.6807C61.9906 29.1161 62.426 29.5514 62.8613 29.9868C62.7786 30.0283 62.6953 30.0697 62.6125 30.1112C61.1603 30.2011 59.7094 30.3047 58.2591 30.4221C57.9525 30.4249 57.6622 30.3627 57.3884 30.2355C56.5731 29.5585 56.1585 28.6878 56.1445 27.6235C56.1424 25.223 57.096 23.3158 59.0054 21.9018C59.3369 21.7359 59.669 21.5701 60.0005 21.4042C60.4775 21.2756 60.9333 21.1305 61.3687 20.9689Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.968","fill-rule":"evenodd","clip-rule":"evenodd",d:"M24.4266 21.0933C26.6244 21.0726 28.8219 21.0933 31.0189 21.1555C32.185 21.2514 33.1594 21.7281 33.942 22.5859C34.142 22.9444 34.3079 23.3175 34.4395 23.7053C34.9432 27.1178 33.5541 29.2945 30.2726 30.2355C31.2167 30.6404 31.8593 31.3245 32.2006 32.2879C32.5654 34.8429 31.7983 36.9782 29.8995 38.6937C28.7516 39.5257 27.4663 40.0025 26.0436 40.1241C25.5318 39.9305 25.0342 39.7024 24.5509 39.44C22.8309 38.5179 21.131 37.5643 19.4512 36.5791C21.1218 31.4222 22.7802 26.2603 24.4266 21.0933ZM27.4118 24.0785C28.0351 24.0578 28.657 24.0786 29.2776 24.1407C29.6353 24.1952 29.967 24.3195 30.2726 24.5138C30.4221 24.6261 30.5258 24.7712 30.5836 24.9492C30.7878 25.9975 30.5805 26.9512 29.9617 27.81C29.6507 28.0381 29.3397 28.2661 29.0288 28.4941C28.78 28.577 28.5312 28.66 28.2825 28.7429C27.4958 28.805 26.708 28.8258 25.9192 28.8051C26.4167 27.2296 26.9142 25.654 27.4118 24.0785ZM25.0485 31.666C25.8443 31.6339 26.632 31.6961 27.4118 31.8525C27.6765 31.934 27.9253 32.0377 28.1581 32.1635C28.2292 32.3818 28.3329 32.5891 28.4691 32.7854C28.5091 34.3436 27.9494 35.6496 26.7899 36.7035C26.4482 36.9211 26.0751 37.0455 25.6704 37.0767C24.8837 37.1388 24.0959 37.1595 23.3071 37.1389C23.8631 35.3051 24.4436 33.4807 25.0485 31.666Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.965","fill-rule":"evenodd","clip-rule":"evenodd",d:"M44.4541 21.0933C48.6831 21.0933 52.9122 21.0933 57.1413 21.0933C56.8971 22.1782 56.5654 23.2355 56.1462 24.2651C54.8201 24.3273 53.4933 24.348 52.1659 24.3273C51.47 26.5187 50.7859 28.7162 50.1136 30.9197C49.731 31.0177 49.3371 31.0799 48.9319 31.1062C47.9368 31.1767 46.9417 31.2389 45.9467 31.2928C45.9272 31.122 45.9479 30.9561 46.0089 30.7953C46.684 28.6535 47.3681 26.5182 48.0612 24.3895C46.5277 24.3273 44.9936 24.3066 43.459 24.3273C43.7662 23.2399 44.0979 22.1619 44.4541 21.0933Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.905","fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.3418 21.2177C16.8824 21.1971 17.4214 21.2178 17.9588 21.2798C18.3967 21.3425 18.7076 21.5706 18.8917 21.964C18.9746 22.3371 18.9746 22.7103 18.8917 23.0834C18.6237 24.3025 18.2091 25.4633 17.6479 26.5662C17.4051 26.8639 17.0941 27.0505 16.715 27.1259C16.176 27.2088 15.637 27.2088 15.098 27.1259C14.389 26.9768 14.0159 26.5415 13.9785 25.8199C14.2765 24.5864 14.6704 23.384 15.1602 22.2127C15.2903 22.0149 15.4354 21.8283 15.5955 21.653C15.8358 21.4716 16.0846 21.3265 16.3418 21.2177ZM16.715 22.2127C17.0139 22.2063 17.3041 22.2477 17.5857 22.3371C17.6058 22.5893 17.5851 22.8381 17.5235 23.0834C17.2332 23.9541 16.943 24.8248 16.6528 25.6955C16.4738 25.9378 16.2457 26.1037 15.9687 26.193C15.8009 26.1501 15.635 26.1086 15.4711 26.0687C15.4507 25.7344 15.4714 25.4027 15.5333 25.0736C15.7821 24.3273 16.0309 23.581 16.2796 22.8347C16.4037 22.6079 16.5488 22.4006 16.715 22.2127Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.913","fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.9504 21.2177C21.0292 21.197 22.1071 21.2177 23.1844 21.2799C23.0229 21.6191 22.8985 21.9714 22.8112 22.3371C22.2308 22.3371 21.6503 22.3371 21.0698 22.3371C20.9576 22.736 20.8332 23.1299 20.6967 23.5188C21.2341 23.5808 21.7731 23.6016 22.3137 23.581C22.2308 23.9126 22.1478 24.2444 22.0649 24.576C21.4929 24.5387 20.9332 24.5802 20.3857 24.7004C20.0938 25.4722 19.8658 26.26 19.7016 27.0637C19.2041 27.0637 18.7065 27.0637 18.209 27.0637C18.7554 25.2793 19.3151 23.4965 19.8882 21.7152C19.9491 21.5544 19.9698 21.3885 19.9504 21.2177Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.96","fill-rule":"evenodd","clip-rule":"evenodd",d:"M61.7423 30.9197C62.3654 30.899 62.9874 30.9197 63.608 30.9818C64.5372 31.8042 64.9931 32.8407 64.9763 34.0915C64.7748 35.8413 64.1734 37.4375 63.1727 38.8803C61.9985 40.1848 60.5264 40.8689 58.757 40.9326C57.2251 41.1052 55.7324 40.9394 54.2792 40.4351C53.9475 40.2278 53.6158 40.0204 53.2841 39.8132C53.1124 39.5737 52.9258 39.3457 52.7244 39.129C52.5756 38.807 52.4512 38.4753 52.3512 38.134C52.2683 37.4706 52.2683 36.8072 52.3512 36.1438C52.4844 35.5583 52.6295 34.9778 52.7866 34.4024C54.2383 34.3817 55.6895 34.4024 57.14 34.4646C56.7613 35.0715 56.554 35.7349 56.5181 36.4548C56.7491 37.773 57.4954 38.1876 58.757 37.6986C60.4512 36.9016 61.0942 35.5955 60.685 33.7805C60.519 33.4488 60.3535 33.1171 60.1875 32.7854C59.6651 32.2214 59.1053 31.7032 58.5083 31.2306C59.6072 31.1455 60.685 31.0418 61.7423 30.9197Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.952","fill-rule":"evenodd","clip-rule":"evenodd",d:"M48.6818 31.9147C49.055 31.9147 49.4281 31.9147 49.8013 31.9147C49.3441 33.4523 48.8674 34.9863 48.3708 36.517C48.2885 36.8046 48.2263 37.0949 48.1843 37.3877C48.0134 37.3682 47.8476 37.3889 47.6867 37.4498C46.3329 37.9022 44.9647 38.2961 43.582 38.6315C44.2202 36.468 44.8837 34.312 45.5722 32.1635C46.6323 32.1442 47.6688 32.0613 48.6818 31.9147Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.929","fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.0798 37.3877C19.1717 37.3714 19.2546 37.3921 19.3286 37.4499C20.987 38.362 22.6455 39.2741 24.3039 40.1863C24.4698 40.3107 24.6356 40.4351 24.8015 40.5595C22.478 40.918 20.1562 41.2704 17.8359 41.6167C18.2758 40.2144 18.6903 38.8047 19.0798 37.3877Z",fill:"#554B6A"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_9266_25244",children:jsxRuntime.jsx("rect",{width:"68.4923",height:"42",fill:"white"})})})]}),TrustWallet=e=>jsxRuntime.jsxs("svg",{width:"20",height:"22",viewBox:"0 0 20 22",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M0 3.11128L9.61454 0V21.5385C2.74692 18.6664 0 13.1622 0 10.0515V3.11128Z",fill:"#0500FF"}),jsxRuntime.jsx("path",{d:"M19.2317 3.11128L9.61719 0V21.5385C16.4848 18.6664 19.2317 13.1622 19.2317 10.0515V3.11128Z",fill:"url(#paint0_linear_12337_5697)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_12337_5697",x1:"16.6778",y1:"-1.50826",x2:"9.47321",y2:"21.2625",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0.02","stop-color":"#0000FF"}),jsxRuntime.jsx("stop",{offset:"0.08","stop-color":"#0094FF"}),jsxRuntime.jsx("stop",{offset:"0.16","stop-color":"#48FF91"}),jsxRuntime.jsx("stop",{offset:"0.42","stop-color":"#0094FF"}),jsxRuntime.jsx("stop",{offset:"0.68","stop-color":"#0038FF"}),jsxRuntime.jsx("stop",{offset:"0.9","stop-color":"#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"})}),Chip=({children:e,className:t,...i})=>jsxRuntime.jsx("div",{className:cn("flex items-center rounded-full text-dark-grey font-medium bg-white gap-x-2","px-3 py-1.5 sm:py-1",t),...i,children:e}),CheckBox=({checked:e})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:e?jsxRuntime.jsx(RadioCheckedIcon,{className:"w-4 sm:w-5"}):jsxRuntime.jsx(RadioUncheckedIcon,{className:"w-4 sm:w-5"})}),Logo=({children:e,...t})=>jsxRuntime.jsx("div",{className:"flex items-center justify-center",...t,children:e});Chip.CheckBox=CheckBox;Chip.Logo=Logo;const appLink="https://app.garden.finance",footerDetails=[{title:"Application",targetSame:!0,links:[{title:"Swap",link:appLink+"/swap",isExternal:!0},{title:"Stake",link:appLink+"/stake",isExternal:!0},{title:"Seasons",link:appLink+"/seasons",isExternal:!0}]},{title:"Resources",links:[{title:"Blog",link:"/blog",isExternal:!1},{title:"Audits",link:"https://github.com/catalogfi/audits",isExternal:!0}]},{title:"Ecosystem",links:[{title:"Analytics",link:"https://dune.com/asnogordo/gardenfinance",isExternal:!0},{title:"Explorer",link:"https://main--symphonious-chaja-a69e12.netlify.app/",isExternal:!0}]},{title:"Community",links:[{title:"Discord",link:"https://discord.com/invite/Fp4ZmZZrFu",isExternal:!0},{title:"Telegram",link:"https://t.me/GardenTownhall",isExternal:!0},{title:"X",link:"https://twitter.com/intent/follow?screen_name=garden_finance",isExternal:!0}]}],Footer=({className:e,...t})=>jsxRuntime.jsxs("footer",{className:cn("w-full p-8 md:px-28 md:pt-8 md:pb-16",e),...t,children:[jsxRuntime.jsxs("div",{className:"md:flex md:justify-between md:items-start",children:[jsxRuntime.jsx("div",{className:"flex items-center mb-6",children:jsxRuntime.jsx(GardenFullLogo,{})}),jsxRuntime.jsx("div",{className:"grid grid-cols-2 gap-x-14 gap-y-6 md:flex w-full md:justify-end md:gap-x-14",children:footerDetails.map(i=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"bold",className:"mb-3",children:i.title}),i.links.map(s=>jsxRuntime.jsx("a",{href:s.link,target:i.targetSame?"_self":"_blank",rel:"noreferrer",children:jsxRuntime.jsx(Typography,{size:"h4",children:s.title})},s.title))]},i.title))})]}),jsxRuntime.jsx("hr",{className:"mt-6 mb-5 md:mt-12 md:mb-6 border-dark-grey"}),jsxRuntime.jsxs("div",{className:"flex flex-col gap-y-3 md:flex-row justify-between items-center",children:[jsxRuntime.jsxs("div",{className:"flex gap-x-2",children:[jsxRuntime.jsx(Typography,{size:"h5",children:"Powered by "}),jsxRuntime.jsx(CatalogLogo,{})]}),jsxRuntime.jsxs("div",{className:"flex gap-x-6 md:gap-x-4",children:[jsxRuntime.jsx("a",{href:"#",className:"hover:underline",children:jsxRuntime.jsx(Typography,{size:"h5",children:"Privacy Policy"})}),jsxRuntime.jsx("a",{href:"#",className:"hover:underline",children:jsxRuntime.jsx(Typography,{size:"h5",children:"Terms of Service"})})]})]})]});var build={exports:{}};(()=>{var e={181:(n,a,o)=>{var f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,m=/^0o[0-7]+$/i,E=parseInt,u=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,P=typeof self=="object"&&self&&self.Object===Object&&self,x=u||P||Function("return this")(),g=Object.prototype.toString,_=Math.max,d=Math.min,y=function(){return x.Date.now()};function p(A){var M=typeof A;return!!A&&(M=="object"||M=="function")}function b(A){if(typeof A=="number")return A;if(function(k){return typeof k=="symbol"||function(B){return!!B&&typeof B=="object"}(k)&&g.call(k)=="[object Symbol]"}(A))return NaN;if(p(A)){var M=typeof A.valueOf=="function"?A.valueOf():A;A=p(M)?M+"":M}if(typeof A!="string")return A===0?A:+A;A=A.replace(f,"");var L=c.test(A);return L||m.test(A)?E(A.slice(2),L?2:8):l.test(A)?NaN:+A}n.exports=function(A,M,L){var k,B,Y,Z,j,U,X=0,H=!1,T=!1,I=!0;if(typeof A!="function")throw new TypeError("Expected a function");function C(q){var $=k,J=B;return k=B=void 0,X=q,Z=A.apply(J,$)}function S(q){var $=q-U;return U===void 0||$>=M||$<0||T&&q-X>=Y}function V(){var q=y();if(S(q))return F(q);j=setTimeout(V,function($){var J=M-($-U);return T?d(J,Y-($-X)):J}(q))}function F(q){return j=void 0,I&&k?C(q):(k=B=void 0,Z)}function z(){var q=y(),$=S(q);if(k=arguments,B=this,U=q,$){if(j===void 0)return function(J){return X=J,j=setTimeout(V,M),H?C(J):Z}(U);if(T)return j=setTimeout(V,M),C(U)}return j===void 0&&(j=setTimeout(V,M)),Z}return M=b(M)||0,p(L)&&(H=!!L.leading,Y=(T="maxWait"in L)?_(b(L.maxWait)||0,M):Y,I="trailing"in L?!!L.trailing:I),z.cancel=function(){j!==void 0&&clearTimeout(j),X=0,k=U=B=j=void 0},z.flush=function(){return j===void 0?Z:F(y())},z}},858:(n,a,o)=>{var f="Expected a function",l=NaN,c="[object Symbol]",m=/^\s+|\s+$/g,E=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,P=/^0o[0-7]+$/i,x=parseInt,g=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,_=typeof self=="object"&&self&&self.Object===Object&&self,d=g||_||Function("return this")(),y=Object.prototype.toString,p=Math.max,b=Math.min,A=function(){return d.Date.now()};function M(k){var B=typeof k;return!!k&&(B=="object"||B=="function")}function L(k){if(typeof k=="number")return k;if(function(Z){return typeof Z=="symbol"||function(j){return!!j&&typeof j=="object"}(Z)&&y.call(Z)==c}(k))return l;if(M(k)){var B=typeof k.valueOf=="function"?k.valueOf():k;k=M(B)?B+"":B}if(typeof k!="string")return k===0?k:+k;k=k.replace(m,"");var Y=u.test(k);return Y||P.test(k)?x(k.slice(2),Y?2:8):E.test(k)?l:+k}n.exports=function(k,B,Y){var Z=!0,j=!0;if(typeof k!="function")throw new TypeError(f);return M(Y)&&(Z="leading"in Y?!!Y.leading:Z,j="trailing"in Y?!!Y.trailing:j),function(U,X,H){var T,I,C,S,V,F,z=0,q=!1,$=!1,J=!0;if(typeof U!="function")throw new TypeError(f);function re(se){var oe=T,te=I;return T=I=void 0,z=se,S=U.apply(te,oe)}function le(se){var oe=se-F;return F===void 0||oe>=X||oe<0||$&&se-z>=C}function pe(){var se=A();if(le(se))return ue(se);V=setTimeout(pe,function(oe){var te=X-(oe-F);return $?b(te,C-(oe-z)):te}(se))}function ue(se){return V=void 0,J&&T?re(se):(T=I=void 0,S)}function ce(){var se=A(),oe=le(se);if(T=arguments,I=this,F=se,oe){if(V===void 0)return function(te){return z=te,V=setTimeout(pe,X),q?re(te):S}(F);if($)return V=setTimeout(pe,X),re(F)}return V===void 0&&(V=setTimeout(pe,X)),S}return X=L(X)||0,M(H)&&(q=!!H.leading,C=($="maxWait"in H)?p(L(H.maxWait)||0,X):C,J="trailing"in H?!!H.trailing:J),ce.cancel=function(){V!==void 0&&clearTimeout(V),z=0,T=F=I=V=void 0},ce.flush=function(){return V===void 0?S:ue(A())},ce}(k,B,{leading:Z,maxWait:B,trailing:j})}},694:(n,a,o)=>{var f=o(925);function l(){}function c(){}c.resetWarningCache=l,n.exports=function(){function m(P,x,g,_,d,y){if(y!==f){var p=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 p.name="Invariant Violation",p}}function E(){return m}m.isRequired=m;var u={array:m,bigint:m,bool:m,func:m,number:m,object:m,string:m,symbol:m,any:m,arrayOf:E,element:m,elementType:m,instanceOf:E,node:m,objectOf:E,oneOf:E,oneOfType:E,shape:E,exact:E,checkPropTypes:c,resetWarningCache:l};return u.PropTypes=u,u}},556:(n,a,o)=>{n.exports=o(694)()},925:n=>{n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function i(n){var a=t[n];if(a!==void 0)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,i),o.exports}i.n=n=>{var a=n&&n.__esModule?()=>n.default:()=>n;return i.d(a,{a}),a},i.d=(n,a)=>{for(var o in a)i.o(a,o)&&!i.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:a[o]})},i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(n,a)=>Object.prototype.hasOwnProperty.call(n,a),i.r=n=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var s={};(()=>{i.r(s),i.d(s,{LazyLoadComponent:()=>me,LazyLoadImage:()=>Ge,trackWindowScroll:()=>q});const n=React;var a=i.n(n),o=i(556);function f(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function l(G){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},l(G)}function c(G,R){var D=Object.keys(G);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(G);R&&(W=W.filter(function(O){return Object.getOwnPropertyDescriptor(G,O).enumerable})),D.push.apply(D,W)}return D}function m(G,R,D){return(R=u(R))in G?Object.defineProperty(G,R,{value:D,enumerable:!0,configurable:!0,writable:!0}):G[R]=D,G}function E(G,R){for(var D=0;D<R.length;D++){var W=R[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,u(W.key),W)}}function u(G){var R=function(D,W){if(l(D)!="object"||!D)return D;var O=D[Symbol.toPrimitive];if(O!==void 0){var N=O.call(D,"string");if(l(N)!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(D)}(G);return l(R)=="symbol"?R:R+""}function P(G,R,D){return R=g(R),function(W,O){if(O&&(l(O)=="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(W)}(G,x()?Reflect.construct(R,D||[],g(G).constructor):R.apply(G,D))}function x(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(x=function(){return!!G})()}function g(G){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},g(G)}function _(G,R){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,D},_(G,R)}var d=function(G){G.forEach(function(R){R.isIntersecting&&R.target.onVisible()})},y={},p=function(G){function R(O){var N;if(function(Q,ie){if(!(Q instanceof ie))throw new TypeError("Cannot call a class as a function")}(this,R),(N=P(this,R,[O])).supportsObserver=!O.scrollPosition&&O.useIntersectionObserver&&f(),N.supportsObserver){var ee=O.threshold;N.observer=function(Q){return y[Q]=y[Q]||new IntersectionObserver(d,{rootMargin:Q+"px"}),y[Q]}(ee)}return N}return function(O,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(N&&N.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),N&&_(O,N)}(R,G),D=R,W=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,N=this.placeholder.getBoundingClientRect(),ee=this.placeholder.style,Q=parseInt(ee.getPropertyValue("margin-left"),10)||0,ie=parseInt(ee.getPropertyValue("margin-top"),10)||0;return{bottom:O.y+N.bottom+ie,left:O.x+N.left+Q,right:O.x+N.right+Q,top:O.y+N.top+ie}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var O=this.props,N=O.scrollPosition,ee=O.threshold,Q=this.getPlaceholderBoundingBox(N),ie=N.y+window.innerHeight,ne=N.x,he=N.x+window.innerWidth,fe=N.y;return fe-ee<=Q.bottom&&ie+ee>=Q.top&&ne-ee<=Q.right&&he+ee>=Q.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var O=this,N=this.props,ee=N.className,Q=N.height,ie=N.placeholder,ne=N.style,he=N.width;if(ie&&typeof ie.type!="function")return a().cloneElement(ie,{ref:function(ae){return O.placeholder=ae}});var fe=function(ae){for(var ve=1;ve<arguments.length;ve++){var de=arguments[ve]!=null?arguments[ve]:{};ve%2?c(Object(de),!0).forEach(function(ye){m(ae,ye,de[ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ae,Object.getOwnPropertyDescriptors(de)):c(Object(de)).forEach(function(ye){Object.defineProperty(ae,ye,Object.getOwnPropertyDescriptor(de,ye))})}return ae}({display:"inline-block"},ne);return he!==void 0&&(fe.width=he),Q!==void 0&&(fe.height=Q),a().createElement("span",{className:ee,ref:function(ae){return O.placeholder=ae},style:fe},ie)}}],W&&E(D.prototype,W),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,W}(a().Component);p.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])},p.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const b=p;var A=i(181),M=i.n(A),L=i(858),k=i.n(L),B=function(G){var R=getComputedStyle(G,null);return R.getPropertyValue("overflow")+R.getPropertyValue("overflow-y")+R.getPropertyValue("overflow-x")};const Y=function(G){if(!(G instanceof HTMLElement))return window;for(var R=G;R&&R instanceof HTMLElement;){if(/(scroll|auto)/.test(B(R)))return R;R=R.parentNode}return window};function Z(G){return Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},Z(G)}var j=["delayMethod","delayTime"];function U(){return U=Object.assign?Object.assign.bind():function(G){for(var R=1;R<arguments.length;R++){var D=arguments[R];for(var W in D)({}).hasOwnProperty.call(D,W)&&(G[W]=D[W])}return G},U.apply(null,arguments)}function X(G,R){for(var D=0;D<R.length;D++){var W=R[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,H(W.key),W)}}function H(G){var R=function(D,W){if(Z(D)!="object"||!D)return D;var O=D[Symbol.toPrimitive];if(O!==void 0){var N=O.call(D,"string");if(Z(N)!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(D)}(G);return Z(R)=="symbol"?R:R+""}function T(G,R,D){return R=S(R),I(G,C()?Reflect.construct(R,D||[],S(G).constructor):R.apply(G,D))}function I(G,R){if(R&&(Z(R)=="object"||typeof R=="function"))return R;if(R!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}(G)}function C(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(C=function(){return!!G})()}function S(G){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},S(G)}function V(G,R){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,D},V(G,R)}var F=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},z=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const q=function(G){var R=function(D){function W(ee){var Q;if(function(ne,he){if(!(ne instanceof he))throw new TypeError("Cannot call a class as a function")}(this,W),(Q=T(this,W,[ee])).useIntersectionObserver=ee.useIntersectionObserver&&f(),Q.useIntersectionObserver)return I(Q);var ie=Q.onChangeScroll.bind(Q);return ee.delayMethod==="debounce"?Q.delayedScroll=M()(ie,ee.delayTime):ee.delayMethod==="throttle"&&(Q.delayedScroll=k()(ie,ee.delayTime)),Q.state={scrollPosition:{x:F(),y:z()}},Q.baseComponentRef=a().createRef(),Q}return function(ee,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(Q&&Q.prototype,{constructor:{value:ee,writable:!0,configurable:!0}}),Object.defineProperty(ee,"prototype",{writable:!1}),Q&&V(ee,Q)}(W,D),O=W,N=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||Y(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=Y(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:F(),y:z()}})}},{key:"render",value:function(){var ee=this.props,Q=(ee.delayMethod,ee.delayTime,function(ne,he){if(ne==null)return{};var fe,ae,ve=function(ye,Be){if(ye==null)return{};var De={};for(var Re in ye)if({}.hasOwnProperty.call(ye,Re)){if(Be.indexOf(Re)>=0)continue;De[Re]=ye[Re]}return De}(ne,he);if(Object.getOwnPropertySymbols){var de=Object.getOwnPropertySymbols(ne);for(ae=0;ae<de.length;ae++)fe=de[ae],he.indexOf(fe)>=0||{}.propertyIsEnumerable.call(ne,fe)&&(ve[fe]=ne[fe])}return ve}(ee,j)),ie=this.useIntersectionObserver?null:this.state.scrollPosition;return a().createElement(G,U({forwardRef:this.baseComponentRef,scrollPosition:ie},Q))}}],N&&X(O.prototype,N),Object.defineProperty(O,"prototype",{writable:!1}),O;var O,N}(a().Component);return R.propTypes={delayMethod:o.PropTypes.oneOf(["debounce","throttle"]),delayTime:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool},R.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},R};function $(G){return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},$(G)}function J(G,R){for(var D=0;D<R.length;D++){var W=R[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,re(W.key),W)}}function re(G){var R=function(D,W){if($(D)!="object"||!D)return D;var O=D[Symbol.toPrimitive];if(O!==void 0){var N=O.call(D,"string");if($(N)!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(D)}(G);return $(R)=="symbol"?R:R+""}function le(G,R,D){return R=ue(R),function(W,O){if(O&&($(O)=="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(W)}(G,pe()?Reflect.construct(R,D||[],ue(G).constructor):R.apply(G,D))}function pe(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(pe=function(){return!!G})()}function ue(G){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},ue(G)}function ce(G,R){return ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,D},ce(G,R)}var se=function(G){function R(O){return function(N,ee){if(!(N instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,R),le(this,R,[O])}return function(O,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(N&&N.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),N&&ce(O,N)}(R,G),D=R,(W=[{key:"render",value:function(){return a().createElement(b,this.props)}}])&&J(D.prototype,W),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,W}(a().Component);const oe=q(se);function te(G){return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},te(G)}function K(G,R){for(var D=0;D<R.length;D++){var W=R[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,Ae(W.key),W)}}function Ae(G){var R=function(D,W){if(te(D)!="object"||!D)return D;var O=D[Symbol.toPrimitive];if(O!==void 0){var N=O.call(D,"string");if(te(N)!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(D)}(G);return te(R)=="symbol"?R:R+""}function Me(G,R,D){return R=ge(R),function(W,O){if(O&&(te(O)=="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(W)}(G,we()?Reflect.construct(R,D||[],ge(G).constructor):R.apply(G,D))}function we(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(we=function(){return!!G})()}function ge(G){return ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},ge(G)}function Ce(G,R){return Ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,D},Ce(G,R)}var Pe=function(G){function R(O){var N;(function(he,fe){if(!(he instanceof fe))throw new TypeError("Cannot call a class as a function")})(this,R),N=Me(this,R,[O]);var ee=O.afterLoad,Q=O.beforeLoad,ie=O.scrollPosition,ne=O.visibleByDefault;return N.state={visible:ne},ne&&(Q(),ee()),N.onVisible=N.onVisible.bind(N),N.isScrollTracked=!!(ie&&Number.isFinite(ie.x)&&ie.x>=0&&Number.isFinite(ie.y)&&ie.y>=0),N}return function(O,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(N&&N.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),N&&Ce(O,N)}(R,G),D=R,(W=[{key:"componentDidUpdate",value:function(O,N){N.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 O=this.props,N=O.className,ee=O.delayMethod,Q=O.delayTime,ie=O.height,ne=O.placeholder,he=O.scrollPosition,fe=O.style,ae=O.threshold,ve=O.useIntersectionObserver,de=O.width;return this.isScrollTracked||ve&&f()?a().createElement(b,{className:N,height:ie,onVisible:this.onVisible,placeholder:ne,scrollPosition:he,style:fe,threshold:ae,useIntersectionObserver:ve,width:de}):a().createElement(oe,{className:N,delayMethod:ee,delayTime:Q,height:ie,onVisible:this.onVisible,placeholder:ne,style:fe,threshold:ae,width:de})}}])&&K(D.prototype,W),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,W}(a().Component);Pe.propTypes={afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool},Pe.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const me=Pe;function xe(G){return xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},xe(G)}var Te=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function be(G,R){var D=Object.keys(G);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(G);R&&(W=W.filter(function(O){return Object.getOwnPropertyDescriptor(G,O).enumerable})),D.push.apply(D,W)}return D}function _e(G){for(var R=1;R<arguments.length;R++){var D=arguments[R]!=null?arguments[R]:{};R%2?be(Object(D),!0).forEach(function(W){Se(G,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(D)):be(Object(D)).forEach(function(W){Object.defineProperty(G,W,Object.getOwnPropertyDescriptor(D,W))})}return G}function Se(G,R,D){return(R=Le(R))in G?Object.defineProperty(G,R,{value:D,enumerable:!0,configurable:!0,writable:!0}):G[R]=D,G}function Ee(){return Ee=Object.assign?Object.assign.bind():function(G){for(var R=1;R<arguments.length;R++){var D=arguments[R];for(var W in D)({}).hasOwnProperty.call(D,W)&&(G[W]=D[W])}return G},Ee.apply(null,arguments)}function ke(G,R){for(var D=0;D<R.length;D++){var W=R[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,Le(W.key),W)}}function Le(G){var R=function(D,W){if(xe(D)!="object"||!D)return D;var O=D[Symbol.toPrimitive];if(O!==void 0){var N=O.call(D,"string");if(xe(N)!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(D)}(G);return xe(R)=="symbol"?R:R+""}function Ie(G,R,D){return R=Fe(R),function(W,O){if(O&&(xe(O)=="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(W)}(G,Oe()?Reflect.construct(R,D||[],Fe(G).constructor):R.apply(G,D))}function Oe(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Oe=function(){return!!G})()}function Fe(G){return Fe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},Fe(G)}function Ve(G,R){return Ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,D},Ve(G,R)}var je=function(G){function R(O){var N;return function(ee,Q){if(!(ee instanceof Q))throw new TypeError("Cannot call a class as a function")}(this,R),(N=Ie(this,R,[O])).state={loaded:!1},N}return function(O,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(N&&N.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),N&&Ve(O,N)}(R,G),D=R,W=[{key:"onImageLoad",value:function(){var O=this;return this.state.loaded?null:function(N){O.props.onLoad(N),O.props.afterLoad(),O.setState({loaded:!0})}}},{key:"getImg",value:function(){var O=this.props,N=(O.afterLoad,O.beforeLoad,O.delayMethod,O.delayTime,O.effect,O.placeholder,O.placeholderSrc,O.scrollPosition,O.threshold,O.useIntersectionObserver,O.visibleByDefault,O.wrapperClassName,O.wrapperProps,function(ee,Q){if(ee==null)return{};var ie,ne,he=function(ae,ve){if(ae==null)return{};var de={};for(var ye in ae)if({}.hasOwnProperty.call(ae,ye)){if(ve.indexOf(ye)>=0)continue;de[ye]=ae[ye]}return de}(ee,Q);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(ee);for(ne=0;ne<fe.length;ne++)ie=fe[ne],Q.indexOf(ie)>=0||{}.propertyIsEnumerable.call(ee,ie)&&(he[ie]=ee[ie])}return he}(O,Te));return a().createElement("img",Ee({},N,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var O=this.props,N=O.beforeLoad,ee=O.className,Q=O.delayMethod,ie=O.delayTime,ne=O.height,he=O.placeholder,fe=O.scrollPosition,ae=O.style,ve=O.threshold,de=O.useIntersectionObserver,ye=O.visibleByDefault,Be=O.width;return a().createElement(me,{beforeLoad:N,className:ee,delayMethod:Q,delayTime:ie,height:ne,placeholder:he,scrollPosition:fe,style:ae,threshold:ve,useIntersectionObserver:de,visibleByDefault:ye,width:Be},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(O){var N=this.props,ee=N.effect,Q=N.height,ie=N.placeholderSrc,ne=N.width,he=N.wrapperClassName,fe=N.wrapperProps,ae=this.state.loaded,ve=ae?" lazy-load-image-loaded":"",de=ae||!ie?{}:{backgroundImage:"url(".concat(ie,")"),backgroundSize:"100% 100%"};return a().createElement("span",Ee({className:he+" lazy-load-image-background "+ee+ve,style:_e(_e({},de),{},{color:"transparent",display:"inline-block",height:Q,width:ne})},fe),O)}},{key:"render",value:function(){var O=this.props,N=O.effect,ee=O.placeholderSrc,Q=O.visibleByDefault,ie=O.wrapperClassName,ne=O.wrapperProps,he=this.getLazyLoadImage();return(N||ee)&&!Q||ie||ne?this.getWrappedLazyLoadImage(he):he}}],W&&ke(D.prototype,W),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,W}(a().Component);je.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},je.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const Ge=je})(),build.exports=s})();var buildExports=build.exports;const placeholderUrl="data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%200%20384%20216'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11648_9381)'%3e%3crect%20width='384'%20height='216'%20fill='%2359BB99'/%3e%3ccircle%20cx='-7'%20cy='184'%20r='87'%20fill='url(%23paint0_radial_11648_9381)'/%3e%3ccircle%20cx='368'%20cy='33'%20r='87'%20fill='url(%23paint1_radial_11648_9381)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M136%2078C141.959%2078%20146.986%2081.9942%20148.548%2087.4516C154.006%2089.014%20158%2094.0405%20158%2099.9999C158%20105.959%20154.006%20110.986%20148.548%20112.548C146.986%20118.006%20141.959%20122%20136%20122C130.04%20122%20125.014%20118.006%20123.452%20112.548C117.994%20110.986%20114%20105.959%20114%2099.9999C114%2094.0406%20117.994%2089.0142%20123.452%2087.4517C125.014%2081.9943%20130.04%2078%20136%2078Z'%20fill='%23F7CFDB'/%3e%3cpath%20d='M139.954%2095.3616C139.923%2097.884%20135.962%2097.5421%20134.7%2097.5267L134.755%2093.063C136.016%2093.0784%20139.985%2092.7277%20139.954%2095.3616ZM140.906%20102.316C140.874%20105.09%20136.128%20104.716%20134.611%20104.698L134.688%2099.7811C136.2%2099.8017%20140.958%2099.4226%20140.922%20102.32L140.906%20102.316ZM144.148%2094.4178C143.928%2091.7661%20141.653%2090.8548%20138.771%2090.5621L138.816%2086.8898L136.578%2086.8608L136.533%2090.4382C135.948%2090.4302%20135.347%2090.4347%20134.75%2090.4401L134.775%2086.845L132.543%2086.8093L132.499%2090.4777C132.013%2090.4841%20131.538%2090.4848%20131.075%2090.4809L127.993%2090.4406L127.964%2092.8313C127.964%2092.8313%20129.621%2092.8205%20129.584%2092.8518C130.21%2092.7802%20130.777%2093.2229%20130.86%2093.8471L130.822%2098.0175C130.901%2098.0184%20130.979%2098.0242%20131.057%2098.035L130.822%2098.034L130.737%20103.891C130.7%20104.329%20130.317%20104.655%20129.88%20104.621C129.914%20104.63%20128.256%20104.6%20128.256%20104.6L127.778%20107.263L130.688%20107.298L132.289%20107.314L132.246%20111.024L134.48%20111.052L134.512%20107.397C135.106%20107.419%20135.702%20107.43%20136.296%20107.436L136.25%20111.096L138.484%20111.124L138.535%20107.416C142.302%20107.247%20144.938%20106.332%20145.307%20102.809C145.601%2099.9679%20144.29%2098.6862%20142.168%2098.1466C143.474%2097.504%20144.303%2096.3533%20144.132%2094.4136L144.148%2094.4178Z'%20fill='%23DB6A93'/%3e%3cpath%20d='M170%2098.8577C170%2094.4242%20172.859%2090.9544%20177.421%2090.9544C179.959%2090.9544%20181.919%2092.111%20182.915%2094.0708L183.14%2091.4042H185.839V106.472C185.839%20111.42%20182.787%20114.568%20177.968%20114.568C173.695%20114.568%20170.771%20112.158%20170.193%20108.175H173.213C173.598%20110.488%20175.333%20111.837%20177.968%20111.837C180.923%20111.837%20182.851%20109.91%20182.851%20106.922V103.773C181.823%20105.604%20179.767%20106.697%20177.293%20106.697C172.827%20106.697%20170%20103.259%20170%2098.8577ZM173.02%2098.7935C173.02%20101.749%20174.851%20104.062%20177.807%20104.062C180.859%20104.062%20182.722%20101.878%20182.722%2098.7935C182.722%2095.7735%20180.923%2093.5889%20177.839%2093.5889C174.819%2093.5889%20173.02%2095.902%20173.02%2098.7935Z'%20fill='white'/%3e%3cpath%20d='M194.791%20107.5C191.418%20107.5%20189.426%20105.604%20189.426%20102.745C189.426%2099.8537%20191.579%2098.0545%20195.273%2097.7654L200.221%2097.3799V96.9301C200.221%2094.2957%20198.647%2093.364%20196.526%2093.364C193.988%2093.364%20192.542%2094.4884%20192.542%2096.3839H189.908C189.908%2093.1069%20192.607%2090.9544%20196.655%2090.9544C200.542%2090.9544%20203.176%2093.0106%20203.176%2097.2514V107.114H200.606L200.285%20104.576C199.482%20106.376%20197.329%20107.5%20194.791%20107.5ZM195.659%20105.155C198.518%20105.155%20200.253%20103.291%20200.253%20100.336V99.5003L196.237%2099.8216C193.57%20100.079%20192.478%20101.107%20192.478%20102.649C192.478%20104.319%20193.699%20105.155%20195.659%20105.155Z'%20fill='white'/%3e%3cpath%20d='M216.354%2091.2757V94.0386H215.005C212.146%2094.0386%20210.379%2095.7735%20210.379%2098.7935V107.114H207.359V91.4363H210.186L210.379%2093.8137C211.021%2092.1753%20212.596%2091.0829%20214.748%2091.0829C215.294%2091.0829%20215.744%2091.1472%20216.354%2091.2757Z'%20fill='white'/%3e%3cpath%20d='M224.919%20107.5C220.357%20107.5%20217.594%20104.094%20217.594%2099.3075C217.594%2094.4884%20220.389%2090.9544%20225.048%2090.9544C227.457%2090.9544%20229.481%2092.0146%20230.541%2093.9423V83.4688H233.529V107.114H230.831L230.574%20104.255C229.545%20106.408%20227.425%20107.5%20224.919%20107.5ZM225.53%20104.769C228.614%20104.769%20230.509%20102.488%20230.509%2099.2111C230.509%2095.9984%20228.614%2093.6852%20225.53%2093.6852C222.445%2093.6852%20220.646%2095.9984%20220.646%2099.2111C220.646%20102.456%20222.445%20104.769%20225.53%20104.769Z'%20fill='white'/%3e%3cpath%20d='M244.665%20107.5C240.039%20107.5%20236.858%20104.159%20236.858%2099.2754C236.858%2094.3599%20239.974%2090.9544%20244.536%2090.9544C249.002%2090.9544%20251.926%2094.0386%20251.926%2098.6971V99.8216L239.782%2099.8537C240.006%20103.163%20241.741%20104.994%20244.729%20104.994C247.074%20104.994%20248.617%20104.03%20249.131%20102.231H251.958C251.187%20105.604%20248.552%20107.5%20244.665%20107.5ZM244.536%2093.4925C241.902%2093.4925%20240.231%2095.0667%20239.846%2097.8297H248.906C248.906%2095.2273%20247.203%2093.4925%20244.536%2093.4925Z'%20fill='white'/%3e%3cpath%20d='M258.319%20107.114H255.299V91.4042H258.03L258.351%2093.8137C259.347%2092.0146%20261.339%2090.9544%20263.555%2090.9544C267.7%2090.9544%20269.595%2093.4925%20269.595%2097.5084V107.114H266.575V98.1831C266.575%2095.0025%20265.098%2093.7174%20262.784%2093.7174C259.957%2093.7174%20258.319%2095.7414%20258.319%2098.7935V107.114Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(-7%20184)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cradialGradient%20id='paint1_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(368%2033)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_11648_9381'%3e%3crect%20width='384'%20height='216'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",BlogCard=({thumbnail:e,category:t,date:i,title:s})=>{const[n,a]=React.useState(!1),[o,f]=React.useState(e??placeholderUrl),l=()=>{f(placeholderUrl)};return jsxRuntime.jsx(Opacity,{level:"semi-dark",className:"rounded-2xl",children:jsxRuntime.jsxs("div",{className:"w-[328px] h-[305px] sm:w-[384px] sm:h-[336px] overflow-hidden rounded-2xl",children:[jsxRuntime.jsx("div",{className:`w-[328px] h-[185px] sm:w-[384px] sm:h-[216px] ${n?"":"filter blur-md"}`,children:jsxRuntime.jsx(buildExports.LazyLoadImage,{alt:s,effect:"blur",src:o,onLoad:()=>a(!0),onError:l,style:{width:"100%",height:"100%",objectFit:"cover"},wrapperProps:{style:{width:"100%",height:"100%"}}})}),jsxRuntime.jsxs("div",{className:"px-4 pt-4 pb-5 md:px-5 md:pb-11",children:[jsxRuntime.jsxs("div",{className:"flex justify-between mb-3",children:[jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",className:"bg-rose px-3 py-1 rounded-full",children:t}),jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",children:i})]}),jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",children:s})]})]})})},questCardStyles=cva(["w-full max-w-96 p-4 pb-5 md:p-6 md:pb-8 rounded-2xl"],{variants:{variant:{locked:"bg-white bg-opacity-25",default:"bg-white bg-opacity-50"}},defaultVariants:{variant:"locked"}}),QuestCard=({variant:e,title:t,description:i,chipContent:s})=>jsxRuntime.jsxs("div",{className:cn(questCardStyles({variant:e})),children:[jsxRuntime.jsxs("div",{className:"flex justify-between items-center mb-4",children:[jsxRuntime.jsxs(Chip,{className:"cursor-pointer",children:[t,jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),e==="default"?jsxRuntime.jsx(OpenInFullIcon,{className:"cursor-pointer",height:"20px",width:"20px"}):jsxRuntime.jsx(LockIcon,{className:"cursor-pointer",height:"20px",width:"20px"})]}),jsxRuntime.jsx("div",{className:"mb-3 md:mb-8",children:jsxRuntime.jsx(Typography,{size:"h3",weight:"medium",children:i})}),jsxRuntime.jsxs("div",{className:"flex justify-end space-x-2",children:[jsxRuntime.jsxs(Chip,{children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:"Quest Access"}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),jsxRuntime.jsxs(Chip,{children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:s}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]})]})]});exports.AddIcon=AddIcon;exports.ArbitrumLogo=ArbitrumLogo;exports.ArrowDownwardIcon=ArrowDownwardIcon;exports.ArrowLeftIcon=ArrowLeftIcon;exports.ArrowNorthEastIcon=ArrowNorthEastIcon;exports.ArrowNorthWestIcon=ArrowNorthWestIcon;exports.ArrowRightIcon=ArrowRightIcon;exports.ArrowSouthEastIcon=ArrowSouthEastIcon;exports.ArrowSouthWestIcon=ArrowSouthWestIcon;exports.ArrowUpwardIcon=ArrowUpwardIcon;exports.BTCLogo=BTCLogo;exports.BlogCard=BlogCard;exports.Button=Button;exports.CatalogLogo=CatalogLogo;exports.CheckIcon=CheckIcon;exports.Chip=Chip;exports.ClockIcon=ClockIcon;exports.CloseIcon=CloseIcon;exports.Coinbase=Coinbase;exports.CopyIcon=CopyIcon;exports.EditIcon=EditIcon;exports.EthereumLogo=EthereumLogo;exports.ExchangeIcon=ExchangeIcon;exports.Footer=Footer;exports.GMXLogo=GMXLogo;exports.GardenExplorer=GardenExplorer;exports.GardenFullLogo=GardenFullLogo;exports.GardenLogo=GardenLogo;exports.GardenLogoText=GardenLogoText;exports.GardenStrokeIcon=GardenStrokeIcon;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.Modal=Modal;exports.Opacity=Opacity;exports.OpenInFullIcon=OpenInFullIcon;exports.PageInfoIcon=PageInfoIcon;exports.PhantomIcon=PhantomIcon;exports.PolygonLogo=PolygonLogo;exports.QuestCard=QuestCard;exports.RadiantLogo=RadiantLogo;exports.RadioCheckedIcon=RadioCheckedIcon;exports.RadioUncheckedIcon=RadioUncheckedIcon;exports.RemoveIcon=RemoveIcon;exports.SearchIcon=SearchIcon;exports.Sidebar=Sidebar;exports.StarIcon=StarIcon;exports.TrailOfBits=TrailOfBits;exports.TrustWallet=TrustWallet;exports.Typography=Typography;exports.WalletConnect=WalletConnect;exports.WalletIcon=WalletIcon;
9
+ */var Matrix=function(){var e=Math.cos,t=Math.sin,i=Math.tan,s=Math.round;function n(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(C){if(C===0)return this;var S=e(C),V=t(C);return this._t(S,-V,0,0,V,S,0,0,0,0,1,0,0,0,0,1)}function o(C){if(C===0)return this;var S=e(C),V=t(C);return this._t(1,0,0,0,0,S,-V,0,0,V,S,0,0,0,0,1)}function f(C){if(C===0)return this;var S=e(C),V=t(C);return this._t(S,0,V,0,0,1,0,0,-V,0,S,0,0,0,0,1)}function l(C){if(C===0)return this;var S=e(C),V=t(C);return this._t(S,-V,0,0,V,S,0,0,0,0,1,0,0,0,0,1)}function c(C,S){return this._t(1,S,C,1,0,0)}function m(C,S){return this.shear(i(C),i(S))}function E(C,S){var V=e(S),F=t(S);return this._t(V,F,0,0,-F,V,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(C),1,0,0,0,0,1,0,0,0,0,1)._t(V,-F,0,0,F,V,0,0,0,0,1,0,0,0,0,1)}function u(C,S,V){return!V&&V!==0&&(V=1),C===1&&S===1&&V===1?this:this._t(C,0,0,0,0,S,0,0,0,0,V,0,0,0,0,1)}function P(C,S,V,F,H,q,$,J,re,le,pe,ue,ce,se,oe,te){return this.props[0]=C,this.props[1]=S,this.props[2]=V,this.props[3]=F,this.props[4]=H,this.props[5]=q,this.props[6]=$,this.props[7]=J,this.props[8]=re,this.props[9]=le,this.props[10]=pe,this.props[11]=ue,this.props[12]=ce,this.props[13]=se,this.props[14]=oe,this.props[15]=te,this}function x(C,S,V){return V=V||0,C!==0||S!==0||V!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,C,S,V,1):this}function g(C,S,V,F,H,q,$,J,re,le,pe,ue,ce,se,oe,te){var K=this.props;if(C===1&&S===0&&V===0&&F===0&&H===0&&q===1&&$===0&&J===0&&re===0&&le===0&&pe===1&&ue===0)return K[12]=K[12]*C+K[15]*ce,K[13]=K[13]*q+K[15]*se,K[14]=K[14]*pe+K[15]*oe,K[15]*=te,this._identityCalculated=!1,this;var Ae=K[0],Me=K[1],we=K[2],ge=K[3],Ce=K[4],Pe=K[5],me=K[6],xe=K[7],Te=K[8],be=K[9],_e=K[10],Se=K[11],Ee=K[12],ke=K[13],Le=K[14],Ie=K[15];return K[0]=Ae*C+Me*H+we*re+ge*ce,K[1]=Ae*S+Me*q+we*le+ge*se,K[2]=Ae*V+Me*$+we*pe+ge*oe,K[3]=Ae*F+Me*J+we*ue+ge*te,K[4]=Ce*C+Pe*H+me*re+xe*ce,K[5]=Ce*S+Pe*q+me*le+xe*se,K[6]=Ce*V+Pe*$+me*pe+xe*oe,K[7]=Ce*F+Pe*J+me*ue+xe*te,K[8]=Te*C+be*H+_e*re+Se*ce,K[9]=Te*S+be*q+_e*le+Se*se,K[10]=Te*V+be*$+_e*pe+Se*oe,K[11]=Te*F+be*J+_e*ue+Se*te,K[12]=Ee*C+ke*H+Le*re+Ie*ce,K[13]=Ee*S+ke*q+Le*le+Ie*se,K[14]=Ee*V+ke*$+Le*pe+Ie*oe,K[15]=Ee*F+ke*J+Le*ue+Ie*te,this._identityCalculated=!1,this}function _(C){var S=C.props;return this.transform(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[8],S[9],S[10],S[11],S[12],S[13],S[14],S[15])}function d(){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 y(C){for(var S=0;S<16;){if(C.props[S]!==this.props[S])return!1;S+=1}return!0}function p(C){var S;for(S=0;S<16;S+=1)C.props[S]=this.props[S];return C}function b(C){var S;for(S=0;S<16;S+=1)this.props[S]=C[S]}function A(C,S,V){return{x:C*this.props[0]+S*this.props[4]+V*this.props[8]+this.props[12],y:C*this.props[1]+S*this.props[5]+V*this.props[9]+this.props[13],z:C*this.props[2]+S*this.props[6]+V*this.props[10]+this.props[14]}}function M(C,S,V){return C*this.props[0]+S*this.props[4]+V*this.props[8]+this.props[12]}function L(C,S,V){return C*this.props[1]+S*this.props[5]+V*this.props[9]+this.props[13]}function k(C,S,V){return C*this.props[2]+S*this.props[6]+V*this.props[10]+this.props[14]}function B(){var C=this.props[0]*this.props[5]-this.props[1]*this.props[4],S=this.props[5]/C,V=-this.props[1]/C,F=-this.props[4]/C,H=this.props[0]/C,q=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/C,$=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/C,J=new Matrix;return J.props[0]=S,J.props[1]=V,J.props[4]=F,J.props[5]=H,J.props[12]=q,J.props[13]=$,J}function Y(C){var S=this.getInverseMatrix();return S.applyToPointArray(C[0],C[1],C[2]||0)}function Z(C){var S,V=C.length,F=[];for(S=0;S<V;S+=1)F[S]=Y(C[S]);return F}function j(C,S,V){var F=createTypedArray("float32",6);if(this.isIdentity())F[0]=C[0],F[1]=C[1],F[2]=S[0],F[3]=S[1],F[4]=V[0],F[5]=V[1];else{var H=this.props[0],q=this.props[1],$=this.props[4],J=this.props[5],re=this.props[12],le=this.props[13];F[0]=C[0]*H+C[1]*$+re,F[1]=C[0]*q+C[1]*J+le,F[2]=S[0]*H+S[1]*$+re,F[3]=S[0]*q+S[1]*J+le,F[4]=V[0]*H+V[1]*$+re,F[5]=V[0]*q+V[1]*J+le}return F}function U(C,S,V){var F;return this.isIdentity()?F=[C,S,V]:F=[C*this.props[0]+S*this.props[4]+V*this.props[8]+this.props[12],C*this.props[1]+S*this.props[5]+V*this.props[9]+this.props[13],C*this.props[2]+S*this.props[6]+V*this.props[10]+this.props[14]],F}function X(C,S){if(this.isIdentity())return C+","+S;var V=this.props;return Math.round((C*V[0]+S*V[4]+V[12])*100)/100+","+Math.round((C*V[1]+S*V[5]+V[13])*100)/100}function z(){for(var C=0,S=this.props,V="matrix3d(",F=1e4;C<16;)V+=s(S[C]*F)/F,V+=C===15?")":",",C+=1;return V}function T(C){var S=1e4;return C<1e-6&&C>0||C>-1e-6&&C<0?s(C*S)/S:C}function I(){var C=this.props,S=T(C[0]),V=T(C[1]),F=T(C[4]),H=T(C[5]),q=T(C[12]),$=T(C[13]);return"matrix("+S+","+V+","+F+","+H+","+q+","+$+")"}return function(){this.reset=n,this.rotate=a,this.rotateX=o,this.rotateY=f,this.rotateZ=l,this.skew=m,this.skewFromAxis=E,this.shear=c,this.scale=u,this.setTransform=P,this.translate=x,this.transform=g,this.multiply=_,this.applyToPoint=A,this.applyToX=M,this.applyToY=L,this.applyToZ=k,this.applyToPointArray=U,this.applyToTriplePoints=j,this.applyToPointStringified=X,this.toCSS=z,this.to2dCSS=I,this.clone=p,this.cloneFromProps=b,this.equals=y,this.inversePoints=Z,this.inversePoint=Y,this.getInverseMatrix=B,this._t=this.transform,this.isIdentity=d,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(i){return typeof i}:_typeof$3=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return typeof navigator<"u"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),i=0;i<t.length;i+=1){var s=t[i].split("=");if(decodeURIComponent(s[0])==e)return decodeURIComponent(s[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};e.registerModifier=i,e.getModifier=s;function i(n,a){t[n]||(t[n]=a)}function s(n,a,o){return new t[n](a,o)}return e}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,i,s,n){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var o=[],f,l=a.length,c;for(f=0;f<l;f+=1)if(c=a[f],!(c.e*n<s||c.s*n>s+i)){var m,E;c.s*n<=s?m=0:m=(c.s*n-s)/i,c.e*n>=s+i?E=1:E=(c.e*n-s)/i,o.push([m,E])}return o.length||o.push([0,0]),o},TrimModifier.prototype.releasePathsData=function(e){var t,i=e.length;for(t=0;t<i;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,i;if(this._mdf||e){var s=this.o.v%360/360;if(s<0&&(s+=1),this.s.v>1?t=1+s:this.s.v<0?t=0+s:t=this.s.v+s,this.e.v>1?i=1+s:this.e.v<0?i=0+s:i=this.e.v+s,t>i){var n=t;t=i,i=n}t=Math.round(t*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=t,this.eValue=i}else t=this.sValue,i=this.eValue;var a,o,f=this.shapes.length,l,c,m,E,u,P=0;if(i===t)for(o=0;o<f;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection,this._mdf&&(this.shapes[o].pathsData.length=0);else if(i===1&&t===0||i===0&&t===1){if(this._mdf)for(o=0;o<f;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0}else{var x=[],g,_;for(o=0;o<f;o+=1)if(g=this.shapes[o],!g.shape._mdf&&!this._mdf&&!e&&this.m!==2)g.shape.paths=g.localShapeCollection;else{if(a=g.shape.paths,c=a._length,u=0,!g.shape._mdf&&g.pathsData.length)u=g.totalShapeLength;else{for(m=this.releasePathsData(g.pathsData),l=0;l<c;l+=1)E=bez.getSegmentsLength(a.shapes[l]),m.push(E),u+=E.totalLength;g.totalShapeLength=u,g.pathsData=m}P+=u,g.shape._mdf=!0}var d=t,y=i,p=0,b;for(o=f-1;o>=0;o-=1)if(g=this.shapes[o],g.shape._mdf){for(_=g.localShapeCollection,_.releaseShapes(),this.m===2&&f>1?(b=this.calculateShapeEdges(t,i,g.totalShapeLength,p,P),p+=g.totalShapeLength):b=[[d,y]],c=b.length,l=0;l<c;l+=1){d=b[l][0],y=b[l][1],x.length=0,y<=1?x.push({s:g.totalShapeLength*d,e:g.totalShapeLength*y}):d>=1?x.push({s:g.totalShapeLength*(d-1),e:g.totalShapeLength*(y-1)}):(x.push({s:g.totalShapeLength*d,e:g.totalShapeLength}),x.push({s:0,e:g.totalShapeLength*(y-1)}));var A=this.addShapes(g,x[0]);if(x[0].s!==x[0].e){if(x.length>1){var M=g.shape.paths.shapes[g.shape.paths._length-1];if(M.c){var L=A.pop();this.addPaths(A,_),A=this.addShapes(g,x[1],L)}else this.addPaths(A,_),A=this.addShapes(g,x[1])}this.addPaths(A,_)}}g.shape.paths=_}}},TrimModifier.prototype.addPaths=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)t.addShape(e[i])},TrimModifier.prototype.addSegment=function(e,t,i,s,n,a,o){n.setXYAt(t[0],t[1],"o",a),n.setXYAt(i[0],i[1],"i",a+1),o&&n.setXYAt(e[0],e[1],"v",a),n.setXYAt(s[0],s[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,i,s){t.setXYAt(e[1],e[5],"o",i),t.setXYAt(e[2],e[6],"i",i+1),s&&t.setXYAt(e[0],e[4],"v",i),t.setXYAt(e[3],e[7],"v",i+1)},TrimModifier.prototype.addShapes=function(e,t,i){var s=e.pathsData,n=e.shape.paths.shapes,a,o=e.shape.paths._length,f,l,c=0,m,E,u,P,x=[],g,_=!0;for(i?(E=i._length,g=i._length):(i=shapePool.newElement(),E=0,g=0),x.push(i),a=0;a<o;a+=1){for(u=s[a].lengths,i.c=n[a].c,l=n[a].c?u.length:u.length+1,f=1;f<l;f+=1)if(m=u[f-1],c+m.addedLength<t.s)c+=m.addedLength,i.c=!1;else if(c>t.e){i.c=!1;break}else t.s<=c&&t.e>=c+m.addedLength?(this.addSegment(n[a].v[f-1],n[a].o[f-1],n[a].i[f],n[a].v[f],i,E,_),_=!1):(P=bez.getNewSegment(n[a].v[f-1],n[a].v[f],n[a].o[f-1],n[a].i[f],(t.s-c)/m.addedLength,(t.e-c)/m.addedLength,u[f-1]),this.addSegmentFromArray(P,i,E,_),_=!1,i.c=!1),c+=m.addedLength,E+=1;if(n[a].c&&u.length){if(m=u[f-1],c<=t.e){var d=u[f-1].addedLength;t.s<=c&&t.e>=c+d?(this.addSegment(n[a].v[f-1],n[a].o[f-1],n[a].i[0],n[a].v[0],i,E,_),_=!1):(P=bez.getNewSegment(n[a].v[f-1],n[a].v[0],n[a].o[f-1],n[a].i[0],(t.s-c)/d,(t.e-c)/d,u[f-1]),this.addSegmentFromArray(P,i,E,_),_=!1,i.c=!1)}else i.c=!1;c+=m.addedLength,E+=1}if(i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),c>t.e)break;a<o-1&&(i=shapePool.newElement(),_=!0,x.push(i),E=0)}return x};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var i=t/100,s=[0,0],n=e._length,a=0;for(a=0;a<n;a+=1)s[0]+=e.v[a][0],s[1]+=e.v[a][1];s[0]/=n,s[1]/=n;var o=shapePool.newElement();o.c=e.c;var f,l,c,m,E,u;for(a=0;a<n;a+=1)f=e.v[a][0]+(s[0]-e.v[a][0])*i,l=e.v[a][1]+(s[1]-e.v[a][1])*i,c=e.o[a][0]+(s[0]-e.o[a][0])*-i,m=e.o[a][1]+(s[1]-e.o[a][1])*-i,E=e.i[a][0]+(s[0]-e.i[a][0])*-i,u=e.i[a][1]+(s[1]-e.i[a][1])*-i,o.setTripleAt(f,l,c,m,E,u,a);return o},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.amount.v;if(o!==0){var f,l;for(i=0;i<s;i+=1){if(f=this.shapes[i],l=f.localShapeCollection,!(!f.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),f.shape._mdf=!0,t=f.shape.paths.shapes,a=f.shape.paths._length,n=0;n<a;n+=1)l.addShape(this.processPath(t[n],o));f.shape.paths=f.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(l){var c=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||c,this.a&&l.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&l.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&l.skewFromAxis(-this.sk.v,this.sa.v),this.r?l.rotate(-this.r.v):l.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?l.translate(this.px.v,this.py.v,-this.pz.v):l.translate(this.px.v,this.py.v,0):l.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(l){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||l){var c;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var m,E;if(c=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(m=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/c,0),E=this.p.getValueAtTime(this.p.keyframes[0].t/c,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(m=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/c,0),E=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/c,0)):(m=this.p.pv,E=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/c,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){m=[],E=[];var u=this.px,P=this.py;u._caching.lastFrame+u.offsetTime<=u.keyframes[0].t?(m[0]=u.getValueAtTime((u.keyframes[0].t+.01)/c,0),m[1]=P.getValueAtTime((P.keyframes[0].t+.01)/c,0),E[0]=u.getValueAtTime(u.keyframes[0].t/c,0),E[1]=P.getValueAtTime(P.keyframes[0].t/c,0)):u._caching.lastFrame+u.offsetTime>=u.keyframes[u.keyframes.length-1].t?(m[0]=u.getValueAtTime(u.keyframes[u.keyframes.length-1].t/c,0),m[1]=P.getValueAtTime(P.keyframes[P.keyframes.length-1].t/c,0),E[0]=u.getValueAtTime((u.keyframes[u.keyframes.length-1].t-.01)/c,0),E[1]=P.getValueAtTime((P.keyframes[P.keyframes.length-1].t-.01)/c,0)):(m=[u.pv,P.pv],E[0]=u.getValueAtTime((u._caching.lastFrame+u.offsetTime-.01)/c,u.offsetTime),E[1]=P.getValueAtTime((P._caching.lastFrame+P.offsetTime-.01)/c,P.offsetTime))}else E=e,m=E;this.v.rotate(-Math.atan2(m[1]-E[1],m[0]-E[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function s(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function n(){}function a(l){this._addDynamicProperty(l),this.elem.addDynamicProperty(l),this._isDirty=!0}function o(l,c,m){if(this.elem=l,this.frameId=-1,this.propType="transform",this.data=c,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(m||l),c.p&&c.p.s?(this.px=PropertyFactory.getProp(l,c.p.x,0,0,this),this.py=PropertyFactory.getProp(l,c.p.y,0,0,this),c.p.z&&(this.pz=PropertyFactory.getProp(l,c.p.z,0,0,this))):this.p=PropertyFactory.getProp(l,c.p||{k:[0,0,0]},1,0,this),c.rx){if(this.rx=PropertyFactory.getProp(l,c.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(l,c.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(l,c.rz,0,degToRads,this),c.or.k[0].ti){var E,u=c.or.k.length;for(E=0;E<u;E+=1)c.or.k[E].to=null,c.or.k[E].ti=null}this.or=PropertyFactory.getProp(l,c.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(l,c.r||{k:0},0,degToRads,this);c.sk&&(this.sk=PropertyFactory.getProp(l,c.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(l,c.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(l,c.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(l,c.s||{k:[100,100,100]},1,.01,this),c.o?this.o=PropertyFactory.getProp(l,c.o,0,.01,l):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}o.prototype={applyToMatrix:t,getValue:i,precalculateMatrix:s,autoOrient:n},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=a,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function f(l,c,m){return new o(l,c,m)}return{getTransformProperty:f}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,i,s,n,a){var o=a?-1:1,f=s.s.v[0]+(1-s.s.v[0])*(1-n),l=s.s.v[1]+(1-s.s.v[1])*(1-n);e.translate(s.p.v[0]*o*n,s.p.v[1]*o*n,s.p.v[2]),t.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),t.rotate(-s.r.v*o*n),t.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(a?1/f:f,a?1/l:l),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},RepeaterModifier.prototype.init=function(e,t,i,s){for(this.elem=e,this.arr=t,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[i]);i>0;)i-=1,this._elements.unshift(t[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t]._processed=!1,e[t].ty==="gr"&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)e[i]._render=t,e[i].ty==="gr"&&this.changeGroupRender(e[i].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,i,s,n,a,o=!1;if(this._mdf||e){var f=Math.ceil(this.c.v);if(this._groups.length<f){for(;this._groups.length<f;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}a=0;var c;for(s=0;s<=this._groups.length-1;s+=1){if(c=a<f,this._groups[s]._render=c,this.changeGroupRender(this._groups[s].it,c),!c){var m=this.elemsData[s].it,E=m[m.length-1];E.transform.op.v!==0?(E.transform.op._mdf=!0,E.transform.op.v=0):E.transform.op._mdf=!1}a+=1}this._currentCopies=f;var u=this.o.v,P=u%1,x=u>0?Math.floor(u):Math.ceil(u),g=this.pMatrix.props,_=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y=0;if(u>0){for(;y<x;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),y+=1;P&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,P,!1),y+=P)}else if(u<0){for(;y>x;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),y-=1;P&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-P,!0),y-=P)}s=this.data.m===1?0:this._currentCopies-1,n=this.data.m===1?1:-1,a=this._currentCopies;for(var p,b;a;){if(t=this.elemsData[s].it,i=t[t.length-1].transform.mProps.v.props,b=i.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(s/(this._currentCopies-1)),y!==0){for((s!==0&&n===1||s!==this._currentCopies-1&&n===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(_[0],_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9],_[10],_[11],_[12],_[13],_[14],_[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),p=0;p<b;p+=1)i[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<b;p+=1)i[p]=this.matrix.props[p];y+=1,a-=1,s+=n}}else for(a=this._currentCopies,s=0,n=1;a;)t=this.elemsData[s].it,i=t[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,s+=n;return o},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var i=shapePool.newElement();i.c=e.c;var s,n=e._length,a,o,f,l,c,m,E=0,u,P,x,g,_,d;for(s=0;s<n;s+=1)a=e.v[s],f=e.o[s],o=e.i[s],a[0]===f[0]&&a[1]===f[1]&&a[0]===o[0]&&a[1]===o[1]?(s===0||s===n-1)&&!e.c?(i.setTripleAt(a[0],a[1],f[0],f[1],o[0],o[1],E),E+=1):(s===0?l=e.v[n-1]:l=e.v[s-1],c=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)),m=c?Math.min(c/2,t)/c:0,_=a[0]+(l[0]-a[0])*m,u=_,d=a[1]-(a[1]-l[1])*m,P=d,x=u-(u-a[0])*roundCorner,g=P-(P-a[1])*roundCorner,i.setTripleAt(u,P,x,g,_,d,E),E+=1,s===n-1?l=e.v[0]:l=e.v[s+1],c=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)),m=c?Math.min(c/2,t)/c:0,x=a[0]+(l[0]-a[0])*m,u=x,g=a[1]+(l[1]-a[1])*m,P=g,_=u-(u-a[0])*roundCorner,d=P-(P-a[1])*roundCorner,i.setTripleAt(u,P,x,g,_,d,E),E+=1):(i.setTripleAt(e.v[s][0],e.v[s][1],e.o[s][0],e.o[s][1],e.i[s][0],e.i[s][1],E),E+=1);return i},RoundCornersModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.rd.v;if(o!==0){var f,l;for(i=0;i<s;i+=1){if(f=this.shapes[i],l=f.localShapeCollection,!(!f.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),f.shape._mdf=!0,t=f.shape.paths.shapes,a=f.shape.paths._length,n=0;n<a;n+=1)l.addShape(this.processPath(t[n],o));f.shape.paths=f.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(e,t){return Math.abs(e-t)*1e5<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,i){return e*(1-i)+t*i}function lerpPoint(e,t,i){return[lerp(e[0],t[0],i),lerp(e[1],t[1],i)]}function quadRoots(e,t,i){if(e===0)return[];var s=t*t-4*e*i;if(s<0)return[];var n=-t/(2*e);if(s===0)return[n];var a=Math.sqrt(s)/(2*e);return[n-a,n+a]}function polynomialCoefficients(e,t,i,s){return[-e+3*t-3*i+s,3*e-6*t+3*i,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,i,s,n){n&&pointEqual(e,t)&&(t=lerpPoint(e,s,1/3)),n&&pointEqual(i,s)&&(i=lerpPoint(e,s,2/3));var a=polynomialCoefficients(e[0],t[0],i[0],s[0]),o=polynomialCoefficients(e[1],t[1],i[1],s[1]);this.a=[a[0],o[0]],this.b=[a[1],o[1]],this.c=[a[2],o[2]],this.d=[a[3],o[3]],this.points=[e,t,i,s]}PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,i=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(i<0)return[];var s=Math.sqrt(i);return floatZero(s)?s>0&&s<1?[t]:[]:[t-s,t+s].filter(function(n){return n>0&&n<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),i=lerpPoint(this.points[1],this.points[2],e),s=lerpPoint(this.points[2],this.points[3],e),n=lerpPoint(t,i,e),a=lerpPoint(i,s,e),o=lerpPoint(n,a,e);return[new PolynomialBezier(this.points[0],t,n,o,!0),new PolynomialBezier(o,a,s,this.points[3],!0)]};function extrema(e,t){var i=e.points[0][t],s=e.points[e.points.length-1][t];if(i>s){var n=s;s=i,i=n}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),o=0;o<a.length;o+=1)if(a[o]>0&&a[o]<1){var f=e.point(a[o])[t];f<i?i=f:f>s&&(s=f)}return{min:i,max:s}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,i){var s=e.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:e,t:(t+i)/2,t1:t,t2:i}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2<e.width+t.width&&Math.abs(e.cy-t.cy)*2<e.height+t.height}function intersectsImpl(e,t,i,s,n,a){if(boxIntersect(e,t)){if(i>=a||e.width<=s&&e.height<=s&&t.width<=s&&t.height<=s){n.push([e.t,t.t]);return}var o=splitData(e),f=splitData(t);intersectsImpl(o[0],f[0],i+1,s,n,a),intersectsImpl(o[0],f[1],i+1,s,n,a),intersectsImpl(o[1],f[0],i+1,s,n,a),intersectsImpl(o[1],f[1],i+1,s,n,a)}}PolynomialBezier.prototype.intersections=function(e,t,i){t===void 0&&(t=2),i===void 0&&(i=7);var s=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,s,i),s},PolynomialBezier.shapeSegment=function(e,t){var i=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[i],e.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var i=(t+1)%e.length();return new PolynomialBezier(e.v[i],e.i[i],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,i,s){var n=[e[0],e[1],1],a=[t[0],t[1],1],o=[i[0],i[1],1],f=[s[0],s[1],1],l=crossProduct(crossProduct(n,a),crossProduct(o,f));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,i){return[e[0]+Math.cos(t)*i,e[1]-Math.sin(t)*i]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,i,s,n,a,o){var f=i-Math.PI/2,l=i+Math.PI/2,c=t[0]+Math.cos(i)*s*n,m=t[1]-Math.sin(i)*s*n;e.setTripleAt(c,m,c+Math.cos(f)*a,m-Math.sin(f)*a,c+Math.cos(l)*o,m-Math.sin(l)*o,e.length())}function getPerpendicularVector(e,t){var i=[t[0]-e[0],t[1]-e[1]],s=-Math.PI*.5,n=[Math.cos(s)*i[0]-Math.sin(s)*i[1],Math.sin(s)*i[0]+Math.cos(s)*i[1]];return n}function getProjectingAngle(e,t){var i=t===0?e.length()-1:t-1,s=(t+1)%e.length(),n=e.v[i],a=e.v[s],o=getPerpendicularVector(n,a);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(e,t,i,s,n,a,o){var f=getProjectingAngle(t,i),l=t.v[i%t._length],c=t.v[i===0?t._length-1:i-1],m=t.v[(i+1)%t._length],E=a===2?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,u=a===2?Math.sqrt(Math.pow(l[0]-m[0],2)+Math.pow(l[1]-m[1],2)):0;setPoint(e,t.v[i%t._length],f,o,s,u/((n+1)*2),E/((n+1)*2))}function zigZagSegment(e,t,i,s,n,a){for(var o=0;o<s;o+=1){var f=(o+1)/(s+1),l=n===2?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,c=t.normalAngle(f),m=t.point(f);setPoint(e,m,c,a,i,l/((s+1)*2),l/((s+1)*2)),a=-a}return a}ZigZagModifier.prototype.processPath=function(e,t,i,s){var n=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(n-=1),n===0)return a;var o=-1,f=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,i,s,o);for(var l=0;l<n;l+=1)o=zigZagSegment(a,f,t,i,s,-o),l===n-1&&!e.c?f=null:f=PolynomialBezier.shapeSegment(e,(l+1)%n),zigZagCorner(a,e,l+1,t,i,s,o);return a},ZigZagModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.amplitude.v,f=Math.max(0,Math.round(this.frequency.v)),l=this.pointsType.v;if(o!==0){var c,m;for(i=0;i<s;i+=1){if(c=this.shapes[i],m=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(m.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,a=c.shape.paths._length,n=0;n<a;n+=1)m.addShape(this.processPath(t[n],o,f,l));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,i){var s=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,s,i),polarOffset(t,s,i)]}function offsetSegment(e,t){var i,s,n,a,o,f,l;l=linearOffset(e.points[0],e.points[1],t),i=l[0],s=l[1],l=linearOffset(e.points[1],e.points[2],t),n=l[0],a=l[1],l=linearOffset(e.points[2],e.points[3],t),o=l[0],f=l[1];var c=lineIntersection(i,s,n,a);c===null&&(c=s);var m=lineIntersection(o,f,n,a);return m===null&&(m=o),new PolynomialBezier(i,c,m,f)}function joinLines(e,t,i,s,n){var a=t.points[3],o=i.points[0];if(s===3||pointEqual(a,o))return a;if(s===2){var f=-t.tangentAngle(1),l=-i.tangentAngle(0)+Math.PI,c=lineIntersection(a,polarOffset(a,f+Math.PI/2,100),o,polarOffset(o,f+Math.PI/2,100)),m=c?pointDistance(c,a):pointDistance(a,o)/2,E=polarOffset(a,f,2*m*roundCorner);return e.setXYAt(E[0],E[1],"o",e.length()-1),E=polarOffset(o,l,2*m*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],E[0],E[1],e.length()),o}var u=pointEqual(a,t.points[2])?t.points[0]:t.points[2],P=pointEqual(o,i.points[1])?i.points[3]:i.points[1],x=lineIntersection(u,a,o,P);return x&&pointDistance(x,a)<n?(e.setTripleAt(x[0],x[1],x[0],x[1],x[0],x[1],e.length()),x):a}function getIntersection(e,t){var i=e.intersections(t);return i.length&&floatEqual(i[0][0],1)&&i.shift(),i.length?i[0]:null}function pruneSegmentIntersection(e,t){var i=e.slice(),s=t.slice(),n=getIntersection(e[e.length-1],t[0]);return n&&(i[e.length-1]=e[e.length-1].split(n[0])[0],s[0]=t[0].split(n[1])[1]),e.length>1&&t.length>1&&(n=getIntersection(e[0],t[t.length-1]),n)?[[e[0].split(n[0])[0]],[t[t.length-1].split(n[1])[1]]]:[i,s]}function pruneIntersections(e){for(var t,i=1;i<e.length;i+=1)t=pruneSegmentIntersection(e[i-1],e[i]),e[i-1]=t[0],e[i]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var i=e.inflectionPoints(),s,n,a,o;if(i.length===0)return[offsetSegment(e,t)];if(i.length===1||floatEqual(i[1],1))return a=e.split(i[0]),s=a[0],n=a[1],[offsetSegment(s,t),offsetSegment(n,t)];a=e.split(i[0]),s=a[0];var f=(i[1]-i[0])/(1-i[0]);return a=a[1].split(f),o=a[0],n=a[1],[offsetSegment(s,t),offsetSegment(o,t),offsetSegment(n,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,i,s){var n=shapePool.newElement();n.c=e.c;var a=e.length();e.c||(a-=1);var o,f,l,c=[];for(o=0;o<a;o+=1)l=PolynomialBezier.shapeSegment(e,o),c.push(offsetSegmentSplit(l,t));if(!e.c)for(o=a-1;o>=0;o-=1)l=PolynomialBezier.shapeSegmentInverted(e,o),c.push(offsetSegmentSplit(l,t));c=pruneIntersections(c);var m=null,E=null;for(o=0;o<c.length;o+=1){var u=c[o];for(E&&(m=joinLines(n,E,u[0],i,s)),E=u[u.length-1],f=0;f<u.length;f+=1)l=u[f],m&&pointEqual(l.points[0],m)?n.setXYAt(l.points[1][0],l.points[1][1],"o",n.length()-1):n.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],n.length()),n.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],n.length()),m=l.points[3]}return c.length&&joinLines(n,E,c[0][0],i,s),n},OffsetPathModifier.prototype.processShapes=function(e){var t,i,s=this.shapes.length,n,a,o=this.amount.v,f=this.miterLimit.v,l=this.lineJoin;if(o!==0){var c,m;for(i=0;i<s;i+=1){if(c=this.shapes[i],m=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(m.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,a=c.shape.paths._length,n=0;n<a;n+=1)m.addShape(this.processPath(t[n],o,l,f));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],i="normal",s="normal",n=t.length,a,o=0;o<n;o+=1)switch(a=t[o].toLowerCase(),a){case"italic":s="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break}return{style:s,weight:e.fWeight||i}}var FontManager=function(){var e=5e3,t={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var s=127988,n=917631,a=917601,o=917626,f=65039,l=8205,c=127462,m=127487,E=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function u(T){var I=T.split(","),C,S=I.length,V=[];for(C=0;C<S;C+=1)I[C]!=="sans-serif"&&I[C]!=="monospace"&&V.push(I[C]);return V.join(",")}function P(T,I){var C=createTag("span");C.setAttribute("aria-hidden",!0),C.style.fontFamily=I;var S=createTag("span");S.innerText="giItT1WQy@!-/#",C.style.position="absolute",C.style.left="-10000px",C.style.top="-10000px",C.style.fontSize="300px",C.style.fontVariant="normal",C.style.fontStyle="normal",C.style.fontWeight="normal",C.style.letterSpacing="0",C.appendChild(S),document.body.appendChild(C);var V=S.offsetWidth;return S.style.fontFamily=u(T)+", "+I,{node:S,w:V,parent:C}}function x(){var T,I=this.fonts.length,C,S,V=I;for(T=0;T<I;T+=1)this.fonts[T].loaded?V-=1:this.fonts[T].fOrigin==="n"||this.fonts[T].origin===0?this.fonts[T].loaded=!0:(C=this.fonts[T].monoCase.node,S=this.fonts[T].monoCase.w,C.offsetWidth!==S?(V-=1,this.fonts[T].loaded=!0):(C=this.fonts[T].sansCase.node,S=this.fonts[T].sansCase.w,C.offsetWidth!==S&&(V-=1,this.fonts[T].loaded=!0)),this.fonts[T].loaded&&(this.fonts[T].sansCase.parent.parentNode.removeChild(this.fonts[T].sansCase.parent),this.fonts[T].monoCase.parent.parentNode.removeChild(this.fonts[T].monoCase.parent)));V!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function g(T,I){var C=document.body&&I?"svg":"canvas",S,V=getFontProperties(T);if(C==="svg"){var F=createNS("text");F.style.fontSize="100px",F.setAttribute("font-family",T.fFamily),F.setAttribute("font-style",V.style),F.setAttribute("font-weight",V.weight),F.textContent="1",T.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",T.fClass)):F.style.fontFamily=T.fFamily,I.appendChild(F),S=F}else{var H=new OffscreenCanvas(500,500).getContext("2d");H.font=V.style+" "+V.weight+" 100px "+T.fFamily,S=H}function q($){return C==="svg"?(S.textContent=$,S.getComputedTextLength()):S.measureText($).width}return{measureText:q}}function _(T,I){if(!T){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=T.list;return}if(!document.body){this.isLoaded=!0,T.list.forEach(function(pe){pe.helper=g(pe),pe.cache={}}),this.fonts=T.list;return}var C=T.list,S,V=C.length,F=V;for(S=0;S<V;S+=1){var H=!0,q,$;if(C[S].loaded=!1,C[S].monoCase=P(C[S].fFamily,"monospace"),C[S].sansCase=P(C[S].fFamily,"sans-serif"),!C[S].fPath)C[S].loaded=!0,F-=1;else if(C[S].fOrigin==="p"||C[S].origin===3){if(q=document.querySelectorAll('style[f-forigin="p"][f-family="'+C[S].fFamily+'"], style[f-origin="3"][f-family="'+C[S].fFamily+'"]'),q.length>0&&(H=!1),H){var J=createTag("style");J.setAttribute("f-forigin",C[S].fOrigin),J.setAttribute("f-origin",C[S].origin),J.setAttribute("f-family",C[S].fFamily),J.type="text/css",J.innerText="@font-face {font-family: "+C[S].fFamily+"; font-style: normal; src: url('"+C[S].fPath+"');}",I.appendChild(J)}}else if(C[S].fOrigin==="g"||C[S].origin===1){for(q=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),$=0;$<q.length;$+=1)q[$].href.indexOf(C[S].fPath)!==-1&&(H=!1);if(H){var re=createTag("link");re.setAttribute("f-forigin",C[S].fOrigin),re.setAttribute("f-origin",C[S].origin),re.type="text/css",re.rel="stylesheet",re.href=C[S].fPath,document.body.appendChild(re)}}else if(C[S].fOrigin==="t"||C[S].origin===2){for(q=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),$=0;$<q.length;$+=1)C[S].fPath===q[$].src&&(H=!1);if(H){var le=createTag("link");le.setAttribute("f-forigin",C[S].fOrigin),le.setAttribute("f-origin",C[S].origin),le.setAttribute("rel","stylesheet"),le.setAttribute("href",C[S].fPath),I.appendChild(le)}}C[S].helper=g(C[S],I),C[S].cache={},this.fonts.push(C[S])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function d(T){if(T){this.chars||(this.chars=[]);var I,C=T.length,S,V=this.chars.length,F;for(I=0;I<C;I+=1){for(S=0,F=!1;S<V;)this.chars[S].style===T[I].style&&this.chars[S].fFamily===T[I].fFamily&&this.chars[S].ch===T[I].ch&&(F=!0),S+=1;F||(this.chars.push(T[I]),V+=1)}}}function y(T,I,C){for(var S=0,V=this.chars.length;S<V;){if(this.chars[S].ch===T&&this.chars[S].style===I&&this.chars[S].fFamily===C)return this.chars[S];S+=1}return(typeof T=="string"&&T.charCodeAt(0)!==13||!T)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",T,I,C)),t}function p(T,I,C){var S=this.getFontByName(I),V=T;if(!S.cache[V]){var F=S.helper;if(T===" "){var H=F.measureText("|"+T+"|"),q=F.measureText("||");S.cache[V]=(H-q)/100}else S.cache[V]=F.measureText(T)/100}return S.cache[V]*C}function b(T){for(var I=0,C=this.fonts.length;I<C;){if(this.fonts[I].fName===T)return this.fonts[I];I+=1}return this.fonts[0]}function A(T){var I=0,C=T.charCodeAt(0);if(C>=55296&&C<=56319){var S=T.charCodeAt(1);S>=56320&&S<=57343&&(I=(C-55296)*1024+S-56320+65536)}return I}function M(T,I){var C=T.toString(16)+I.toString(16);return E.indexOf(C)!==-1}function L(T){return T===l}function k(T){return T===f}function B(T){var I=A(T);return I>=c&&I<=m}function Y(T){return B(T.substr(0,2))&&B(T.substr(2,2))}function Z(T){return i.indexOf(T)!==-1}function j(T,I){var C=A(T.substr(I,2));if(C!==s)return!1;var S=0;for(I+=2;S<5;){if(C=A(T.substr(I,2)),C<a||C>o)return!1;S+=1,I+=2}return A(T.substr(I,2))===n}function U(){this.isLoaded=!0}var X=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)};X.isModifier=M,X.isZeroWidthJoiner=L,X.isFlagEmoji=Y,X.isRegionalCode=B,X.isCombinedCharacter=Z,X.isRegionalFlag=j,X.isVariationSelector=k,X.BLACK_FLAG_CODE_POINT=s;var z={addChars:d,addFonts:_,getCharData:y,getFontByName:b,measureText:p,checkLoadedFonts:x,setIsLoaded:U};return X.prototype=z,X}();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,i=this.renderableComponents.length;for(t=0;t<i;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function AngleEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function ColorEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,1,0,i)}function PointEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,1,0,i)}function LayerIndexEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function MaskIndexEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function CheckboxEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var i=e.ef||[];this.effectElements=[];var s,n=i.length,a;for(s=0;s<n;s+=1)a=new GroupEffect(i[s],t),this.effectElements.push(a)}function GroupEffect(e,t){this.init(e,t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var i,s=this.data.ef.length,n,a=this.data.ef;for(i=0;i<s;i+=1){switch(n=null,a[i].ty){case 0:n=new SliderEffect(a[i],t,this);break;case 1:n=new AngleEffect(a[i],t,this);break;case 2:n=new ColorEffect(a[i],t,this);break;case 3:n=new PointEffect(a[i],t,this);break;case 4:case 7:n=new CheckboxEffect(a[i],t,this);break;case 10:n=new LayerIndexEffect(a[i],t,this);break;case 11:n=new MaskIndexEffect(a[i],t,this);break;case 5:n=new EffectsManager(a[i],t);break;default:n=new NoValueEffect(a[i]);break}n&&this.effectElements.push(n)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,i=this.data.masksProperties.length;t<i;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var i=t("layer"),s=t("effects"),n=t("shape"),a=t("text"),o=t("comp");this.layerInterface=i(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var f=s.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(f),this.data.ty===0||this.data.xt?this.compInterface=o(this):this.data.ty===4?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=a(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),i=this.baseElement||this.layerElement;i.style["mix-blend-mode"]=t},initBaseData:function(t,i,s){this.globalData=i,this.comp=s,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,i){var s,n=this.dynamicProperties.length;for(s=0;s<n;s+=1)(i||this._isParent&&this.dynamicProperties[s].propType==="transform")&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(e,t,i){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,i)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(e,t,i){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,i),this._isPlaying=!1,this._canPlay=!1;var s=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(s),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(e){var t,i=this.layers.length,s;for(this.completeLayers=!0,t=i-1;t>=0;t-=1)this.elements[t]||(s=this.layers[t],s.ip-s.st<=e-this.layers[t].st&&s.op-s.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,i=e.length,s,n=this.layers.length;for(t=0;t<i;t+=1)for(s=0;s<n;){if(this.layers[s].id===e[t].id){this.layers[s]=e[t];break}s+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,i){for(var s=this.elements,n=this.layers,a=0,o=n.length;a<o;)n[a].ind==t&&(!s[a]||s[a]===!0?(this.buildItem(a),this.addPendingElement(e)):(i.push(s[a]),s[a].setAsParent(),n[a].parent!==void 0?this.buildElementParenting(e,n[a].parent,i):e.setHierarchy(i))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,i=e.length;for(t=0;t<i;t+=1)if(e[t].xt){var s=this.createComp(e[t]);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},BaseRenderer.prototype.getElementById=function(e){var t,i=this.elements.length;for(t=0;t<i;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t=e.shift(),i;if(typeof t=="number")i=this.elements[t];else{var s,n=this.elements.length;for(s=0;s<n;s+=1)if(this.elements[s].data.nm===t){i=this.elements[s];break}}return e.length===0?i:i.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,i=this.finalTransform.mat,s=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;s<n;){if(this.hierarchy[s].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}s+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,i.cloneFromProps(t),s=0;s<n;s+=1)i.multiply(this.hierarchy[s].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,i=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<i;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var s=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(s),t=1;t<i;t+=1){var n=this.localTransforms[t].matrix;s.multiply(n)}s.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var a=this.finalTransform.localOpacity;for(t=0;t<i;t+=1)a*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=a}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var i=0,s=t.length;for(i=0;i<s;i+=1)this.localTransforms.push(t[i])}}},globalToLocal:function(t){var i=[];i.push(this.finalTransform);for(var s=!0,n=this.comp;s;)n.finalTransform?(n.data.hasMask&&i.splice(0,0,n.finalTransform),n=n.comp):s=!1;var a,o=i.length,f;for(a=0;a<o;a+=1)f=i[a].mat.applyToPointArray(0,0,0),t=[t[0]-f[0],t[1]-f[1],0];return t},mHelper:new Matrix};function MaskElement(e,t,i){this.data=e,this.element=t,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,n,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,f=this.masksProperties,l=0,c=[],m,E,u=createElementID(),P,x,g,_,d="clipPath",y="clip-path";for(n=0;n<a;n+=1)if((f[n].mode!=="a"&&f[n].mode!=="n"||f[n].inv||f[n].o.k!==100||f[n].o.x)&&(d="mask",y="mask"),(f[n].mode==="s"||f[n].mode==="i")&&l===0?(P=createNS("rect"),P.setAttribute("fill","#ffffff"),P.setAttribute("width",this.element.comp.data.w||0),P.setAttribute("height",this.element.comp.data.h||0),c.push(P)):P=null,o=createNS("path"),f[n].mode==="n")this.viewData[n]={op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),elem:o,lastPath:""},s.appendChild(o);else{l+=1,o.setAttribute("fill",f[n].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var p;if(f[n].x.k!==0?(d="mask",y="mask",_=PropertyFactory.getProp(this.element,f[n].x,0,null,this.element),p=createElementID(),x=createNS("filter"),x.setAttribute("id",p),g=createNS("feMorphology"),g.setAttribute("operator","erode"),g.setAttribute("in","SourceGraphic"),g.setAttribute("radius","0"),x.appendChild(g),s.appendChild(x),o.setAttribute("stroke",f[n].mode==="s"?"#000000":"#ffffff")):(g=null,_=null),this.storedData[n]={elem:o,x:_,expan:g,lastPath:"",lastOperator:"",filterId:p,lastRadius:0},f[n].mode==="i"){E=c.length;var b=createNS("g");for(m=0;m<E;m+=1)b.appendChild(c[m]);var A=createNS("mask");A.setAttribute("mask-type","alpha"),A.setAttribute("id",u+"_"+l),A.appendChild(o),s.appendChild(A),b.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+l+")"),c.length=0,c.push(b)}else c.push(o);f[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),invRect:P},this.viewData[n].prop.k||this.drawPath(f[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(d),a=c.length,n=0;n<a;n+=1)this.maskElement.appendChild(c[n]);l>0&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+u+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,i,s=this.masksProperties.length;for(i=0;i<s;i+=1)if((this.viewData[i].prop._mdf||e)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||e)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[i].invRect.setAttribute("transform",t.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||e))){var n=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[i].filterId+")")),n.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},MaskElement.prototype.drawPath=function(e,t,i){var s=" M"+t.v[0][0]+","+t.v[0][1],n,a;for(a=t._length,n=1;n<a;n+=1)s+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&a>1&&(s+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),i.lastPath!==s){var o="";i.elem&&(t.c&&(o=e.inv?this.solidPath+s:s),i.elem.setAttribute("d",o)),i.lastPath=s}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=i;function t(s,n){var a=createNS("filter");return a.setAttribute("id",s),n!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function i(){var s=createNS("feColorMatrix");return s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),s}return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,i="SourceGraphic",s=e.data.ef?e.data.ef.length:0,n=createElementID(),a=filtersFactory.createFilter(n,!0),o=0;this.filters=[];var f;for(t=0;t<s;t+=1){f=null;var l=e.data.ef[t].ty;if(registeredEffects$1[l]){var c=registeredEffects$1[l].effect;f=new c(a,e.effectsManager.effectElements[t],e,idPrefix+o,i),i=idPrefix+o,registeredEffects$1[l].countsAsEffect&&(o+=1)}f&&this.filters.push(f)}o&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+n+")")),this.filters.length&&e.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(e){var t,i=this.filters.length;for(t=0;t<i;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,i=this.filters.length,s=[];for(t=0;t<i;t+=1)this.filters[t].type===e&&s.push(this.filters[t]);return s};function registerEffect$1(e,t,i){registeredEffects$1[e]={effect:t,countsAsEffect:i}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var i=createNS("g");i.setAttribute("id",this.layerId),i.appendChild(this.layerElement),t=i,this.globalData.defs.appendChild(i)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var s=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var a=createElementID();if(s.setAttribute("id",a),s.appendChild(n),this.globalData.defs.appendChild(s),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),o.appendChild(this.layerElement),this.transformedElement=o,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var i=this.layerId+"_"+t,s,n,a,o;if(t===1||t===3){var f=createNS("mask");f.setAttribute("id",i),f.setAttribute("mask-type",t===3?"luminance":"alpha"),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),f.appendChild(a),this.globalData.defs.appendChild(f),!featureSupport.maskType&&t===1&&(f.setAttribute("mask-type","luminance"),s=createElementID(),n=filtersFactory.createFilter(s),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),o.appendChild(a),f.appendChild(o),o.setAttribute("filter","url("+getLocationHref()+"#"+s+")"))}else if(t===2){var l=createNS("mask");l.setAttribute("id",i),l.setAttribute("mask-type","alpha");var c=createNS("g");l.appendChild(c),s=createElementID(),n=filtersFactory.createFilter(s);var m=createNS("feComponentTransfer");m.setAttribute("in","SourceGraphic"),n.appendChild(m);var E=createNS("feFuncA");E.setAttribute("type","table"),E.setAttribute("tableValues","1.0 0.0"),m.appendChild(E),this.globalData.defs.appendChild(n);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),c.setAttribute("filter","url("+getLocationHref()+"#"+s+")"),c.appendChild(u),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),c.appendChild(a),featureSupport.maskType||(l.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),c.appendChild(u),o.appendChild(this.layerElement),c.appendChild(o)),this.globalData.defs.appendChild(l)}this.matteMasks[t]=i}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={initElement:function(i,s,n){this.initFrame(),this.initBaseData(i,s,n),this.initTransform(i,s,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var i=this.baseElement||this.layerElement;i.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var i=this.baseElement||this.layerElement;i.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(i){this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(e)],RenderableDOMElement)})();function IImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var i,s=this.shapeModifiers.length;for(i=0;i<s;i+=1)this.shapeModifiers[i].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var i=0,s=this.shapeModifiers.length;i<s;)if(this.shapeModifiers[i].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,i=this.shapes.length;for(t=0;t<i;t+=1)this.shapes[t].sh.reset();i=this.shapeModifiers.length;var s;for(t=i-1;t>=0&&(s=this.shapeModifiers[t].processShapes(this._isFirstFrame),!s);t-=1);}},searchProcessedElement:function(t){for(var i=this.processedElements,s=0,n=i.length;s<n;){if(i[s].elem===t)return i[s].pos;s+=1}return 0},addProcessedElement:function(t,i){for(var s=this.processedElements,n=s.length;n;)if(n-=1,s[n].elem===t){s[n].pos=i;return}s.push(new ProcessedElement(t,i))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,i){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=i,this.lvl=t,this._isAnimated=!!i.k;for(var s=0,n=e.length;s<n;){if(e[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(e,t,i,s){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(s);var n,a=t.length||0,o;for(n=0;n<a;n+=1)o=PropertyFactory.getProp(e,t[n].v,0,0,this),this.k=o.k||this.k,this.dataProps[n]={n:t[n].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),t=0;t<i;t+=1)this.dataProps[t].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=i}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=i}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(e,t,i){this.data=t,this.c=createTypedArray("uint8c",t.p*4);var s=t.k.k[0].s?t.k.k[0].s.length-t.p*4:t.k.k.length-t.p*4;this.o=createTypedArray("float32",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(e,t){for(var i=0,s=this.o.length/2,n;i<s;){if(n=Math.abs(e[i*4]-e[t*4+i*2]),n>.01)return!1;i+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,i=this.data.p*4,s,n;for(t=0;t<i;t+=1)s=t%4===0?100:255,n=Math.round(this.prop.v[t]*s),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=this.data.p*4;t<i;t+=1)s=t%2===0?100:1,n=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==n&&(this.o[t-this.data.p*4]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,i)}SVGGradientFillStyleData.prototype.initGradientData=function(e,t,i){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,t),this.setGradientOpacity(t,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var i=createElementID(),s=createNS(t.t===1?"linearGradient":"radialGradient");s.setAttribute("id",i),s.setAttribute("spreadMethod","pad"),s.setAttribute("gradientUnits","userSpaceOnUse");var n=[],a,o,f;for(f=t.g.p*4,o=0;o<f;o+=4)a=createNS("stop"),s.appendChild(a),n.push(a);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=s,this.cst=n},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var i,s,n,a=createNS("mask"),o=createNS("path");a.appendChild(o);var f=createElementID(),l=createElementID();a.setAttribute("id",l);var c=createNS(e.t===1?"linearGradient":"radialGradient");c.setAttribute("id",f),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),n=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var m=this.stops;for(s=e.g.p*4;s<n;s+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(i),m.push(i);o.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+f+")"),e.ty==="gs"&&(o.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&o.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=a,this.ost=m,this.maskId=l,t.msElem=o}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,i),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,i){this.transform={mProps:e,op:t,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,i,s,n){if(i===0)return"";var a=t.o,o=t.i,f=t.v,l,c=" M"+n.applyToPointStringified(f[0][0],f[0][1]);for(l=1;l<i;l+=1)c+=" C"+n.applyToPointStringified(a[l-1][0],a[l-1][1])+" "+n.applyToPointStringified(o[l][0],o[l][1])+" "+n.applyToPointStringified(f[l][0],f[l][1]);return s&&i&&(c+=" C"+n.applyToPointStringified(a[l-1][0],a[l-1][1])+" "+n.applyToPointStringified(o[0][0],o[0][1])+" "+n.applyToPointStringified(f[0][0],f[0][1]),c+="z"),c},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,i={createRenderFunction:s};function s(E){switch(E.ty){case"fl":return f;case"gf":return c;case"gs":return l;case"st":return m;case"sh":case"el":case"rc":case"sr":return o;case"tr":return n;case"no":return a;default:return null}}function n(E,u,P){(P||u.transform.op._mdf)&&u.transform.container.setAttribute("opacity",u.transform.op.v),(P||u.transform.mProps._mdf)&&u.transform.container.setAttribute("transform",u.transform.mProps.v.to2dCSS())}function a(){}function o(E,u,P){var x,g,_,d,y,p,b=u.styles.length,A=u.lvl,M,L,k,B;for(p=0;p<b;p+=1){if(d=u.sh._mdf||P,u.styles[p].lvl<A){for(L=t.reset(),k=A-u.styles[p].lvl,B=u.transformers.length-1;!d&&k>0;)d=u.transformers[B].mProps._mdf||d,k-=1,B-=1;if(d)for(k=A-u.styles[p].lvl,B=u.transformers.length-1;k>0;)L.multiply(u.transformers[B].mProps.v),k-=1,B-=1}else L=e;if(M=u.sh.paths,g=M._length,d){for(_="",x=0;x<g;x+=1)y=M.shapes[x],y&&y._length&&(_+=buildShapeString(y,y._length,y.c,L));u.caches[p]=_}else _=u.caches[p];u.styles[p].d+=E.hd===!0?"":_,u.styles[p]._mdf=d||u.styles[p]._mdf}}function f(E,u,P){var x=u.style;(u.c._mdf||P)&&x.pElem.setAttribute("fill","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||P)&&x.pElem.setAttribute("fill-opacity",u.o.v)}function l(E,u,P){c(E,u,P),m(E,u,P)}function c(E,u,P){var x=u.gf,g=u.g._hasOpacity,_=u.s.v,d=u.e.v;if(u.o._mdf||P){var y=E.ty==="gf"?"fill-opacity":"stroke-opacity";u.style.pElem.setAttribute(y,u.o.v)}if(u.s._mdf||P){var p=E.t===1?"x1":"cx",b=p==="x1"?"y1":"cy";x.setAttribute(p,_[0]),x.setAttribute(b,_[1]),g&&!u.g._collapsable&&(u.of.setAttribute(p,_[0]),u.of.setAttribute(b,_[1]))}var A,M,L,k;if(u.g._cmdf||P){A=u.cst;var B=u.g.c;for(L=A.length,M=0;M<L;M+=1)k=A[M],k.setAttribute("offset",B[M*4]+"%"),k.setAttribute("stop-color","rgb("+B[M*4+1]+","+B[M*4+2]+","+B[M*4+3]+")")}if(g&&(u.g._omdf||P)){var Y=u.g.o;for(u.g._collapsable?A=u.cst:A=u.ost,L=A.length,M=0;M<L;M+=1)k=A[M],u.g._collapsable||k.setAttribute("offset",Y[M*2]+"%"),k.setAttribute("stop-opacity",Y[M*2+1])}if(E.t===1)(u.e._mdf||P)&&(x.setAttribute("x2",d[0]),x.setAttribute("y2",d[1]),g&&!u.g._collapsable&&(u.of.setAttribute("x2",d[0]),u.of.setAttribute("y2",d[1])));else{var Z;if((u.s._mdf||u.e._mdf||P)&&(Z=Math.sqrt(Math.pow(_[0]-d[0],2)+Math.pow(_[1]-d[1],2)),x.setAttribute("r",Z),g&&!u.g._collapsable&&u.of.setAttribute("r",Z)),u.e._mdf||u.h._mdf||u.a._mdf||P){Z||(Z=Math.sqrt(Math.pow(_[0]-d[0],2)+Math.pow(_[1]-d[1],2)));var j=Math.atan2(d[1]-_[1],d[0]-_[0]),U=u.h.v;U>=1?U=.99:U<=-1&&(U=-.99);var X=Z*U,z=Math.cos(j+u.a.v)*X+_[0],T=Math.sin(j+u.a.v)*X+_[1];x.setAttribute("fx",z),x.setAttribute("fy",T),g&&!u.g._collapsable&&(u.of.setAttribute("fx",z),u.of.setAttribute("fy",T))}}}function m(E,u,P){var x=u.style,g=u.d;g&&(g._mdf||P)&&g.dashStr&&(x.pElem.setAttribute("stroke-dasharray",g.dashStr),x.pElem.setAttribute("stroke-dashoffset",g.dashoffset[0])),u.c&&(u.c._mdf||P)&&x.pElem.setAttribute("stroke","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||P)&&x.pElem.setAttribute("stroke-opacity",u.o.v),(u.w._mdf||P)&&(x.pElem.setAttribute("stroke-width",u.w.v),x.msElem&&x.msElem.setAttribute("stroke-width",u.w.v))}return i}();function SVGShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,i),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t=this.shapes.length,i,s,n=this.stylesList.length,a,o=[],f=!1;for(s=0;s<n;s+=1){for(a=this.stylesList[s],f=!1,o.length=0,e=0;e<t;e+=1)i=this.shapes[e],i.styles.indexOf(a)!==-1&&(o.push(i),f=i._isAnimated||f);o.length>1&&f&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var i,s=new SVGStyleData(e,t),n=s.pElem;if(e.ty==="st")i=new SVGStrokeStyleData(this,e,s);else if(e.ty==="fl")i=new SVGFillStyleData(this,e,s);else if(e.ty==="gf"||e.ty==="gs"){var a=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new a(this,e,s),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),n.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else e.ty==="no"&&(i=new SVGNoStyleData(this,e,s));return(e.ty==="st"||e.ty==="gs")&&(n.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),n.setAttribute("fill-opacity","0"),e.lj===1&&n.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&n.setAttribute("fill-rule","evenodd"),e.ln&&n.setAttribute("id",e.ln),e.cl&&n.setAttribute("class",e.cl),e.bm&&(n.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(s),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var i=TransformPropertyFactory.getTransformProperty(this,e,this),s=new SVGTransformData(i,i.o,t);return this.addToAnimatedContents(e,s),s},SVGShapeElement.prototype.createShapeElement=function(e,t,i){var s=4;e.ty==="rc"?s=5:e.ty==="el"?s=6:e.ty==="sr"&&(s=7);var n=ShapePropertyFactory.getShapeProp(this,e,s,this),a=new SVGShapeData(t,i,n);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===t)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t=e.styles,i,s=this.stylesList.length;for(i=0;i<s;i+=1)this.stylesList[i].closed||t.push(this.stylesList[i])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,i,s,n,a,o){var f=[].concat(a),l,c=e.length-1,m,E,u=[],P=[],x,g,_;for(l=c;l>=0;l-=1){if(_=this.searchProcessedElement(e[l]),_?t[l]=i[_-1]:e[l]._render=o,e[l].ty==="fl"||e[l].ty==="st"||e[l].ty==="gf"||e[l].ty==="gs"||e[l].ty==="no")_?t[l].style.closed=!1:t[l]=this.createStyleElement(e[l],n),e[l]._render&&t[l].style.pElem.parentNode!==s&&s.appendChild(t[l].style.pElem),u.push(t[l].style);else if(e[l].ty==="gr"){if(!_)t[l]=this.createGroupElement(e[l]);else for(E=t[l].it.length,m=0;m<E;m+=1)t[l].prevViewData[m]=t[l].it[m];this.searchShapes(e[l].it,t[l].it,t[l].prevViewData,t[l].gr,n+1,f,o),e[l]._render&&t[l].gr.parentNode!==s&&s.appendChild(t[l].gr)}else e[l].ty==="tr"?(_||(t[l]=this.createTransformElement(e[l],s)),x=t[l].transform,f.push(x)):e[l].ty==="sh"||e[l].ty==="rc"||e[l].ty==="el"||e[l].ty==="sr"?(_||(t[l]=this.createShapeElement(e[l],f,n)),this.setElementStyles(t[l])):e[l].ty==="tm"||e[l].ty==="rd"||e[l].ty==="ms"||e[l].ty==="pb"||e[l].ty==="zz"||e[l].ty==="op"?(_?(g=t[l],g.closed=!1):(g=ShapeModifiers.getModifier(e[l].ty),g.init(this,e[l]),t[l]=g,this.shapeModifiers.push(g)),P.push(g)):e[l].ty==="rp"&&(_?(g=t[l],g.closed=!0):(g=ShapeModifiers.getModifier(e[l].ty),t[l]=g,g.init(this,e,l,t),this.shapeModifiers.push(g),o=!1),P.push(g));this.addProcessedElement(e[l],l+1)}for(c=u.length,l=0;l<c;l+=1)u[l].closed=!0;for(c=P.length,l=0;l<c;l+=1)P[l].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t=this.animatedContents.length,i;for(e=0;e<t;e+=1)i=this.animatedContents[e],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(e,t,i,s,n,a){this.o=e,this.sw=t,this.sc=i,this.fc=s,this.m=n,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!i,fc:!!s,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,i,s,n,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var o=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,o=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,o=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,o=!0),this.fc!==s&&(this.fc=s,this._mdf.fc=!0,o=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,o=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,o=!0),o};function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var s,n=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(s=0;s<n;s+=1)i!==this.keysIndex?a=this.effectsSequence[s](a,a.t):a=this.effectsSequence[s](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,i=0,s=e.length;i<=s-1&&!(i===s-1||e[i+1].t>t);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],i=0,s=e.length,n,a,o=!1,f=!1,l="";i<s;)o=f,f=!1,n=e.charCodeAt(i),l=e.charAt(i),FontManager.isCombinedCharacter(n)?o=!0:n>=55296&&n<=56319?FontManager.isRegionalFlag(e,i)?l=e.substr(i,14):(a=e.charCodeAt(i+1),a>=56320&&a<=57343&&(FontManager.isModifier(n,a)?(l=e.substr(i,2),o=!0):FontManager.isFlagEmoji(e.substr(i,4))?l=e.substr(i,4):l=e.substr(i,2))):n>56319?(a=e.charCodeAt(i+1),FontManager.isVariationSelector(n)&&(o=!0)):FontManager.isZeroWidthJoiner(n)&&(o=!0,f=!0),o?(t[t.length-1]+=l,o=!1):t.push(l),i+=l.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,i=this.data,s=[],n,a,o,f=0,l,c=i.m.g,m=0,E=0,u=0,P=[],x=0,g=0,_,d,y=t.getFontByName(e.f),p,b=0,A=getFontProperties(y);e.fWeight=A.weight,e.fStyle=A.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var M=e.tr/1e3*e.finalSize,L;if(e.sz)for(var k=!0,B=e.sz[0],Y=e.sz[1],Z,j;k;){j=this.buildFinalText(e.t),Z=0,x=0,a=j.length,M=e.tr/1e3*e.finalSize;var U=-1;for(n=0;n<a;n+=1)L=j[n].charCodeAt(0),o=!1,j[n]===" "?U=n:(L===13||L===3)&&(x=0,o=!0,Z+=e.finalLineHeight||e.finalSize*1.2),t.chars?(p=t.getCharData(j[n],y.fStyle,y.fFamily),b=o?0:p.w*e.finalSize/100):b=t.measureText(j[n],e.f,e.finalSize),x+b>B&&j[n]!==" "?(U===-1?a+=1:n=U,Z+=e.finalLineHeight||e.finalSize*1.2,j.splice(n,U===n?1:0,"\r"),U=-1,x=0):(x+=b,x+=M);Z+=y.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&Y<Z?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=j,a=e.finalText.length,k=!1)}x=-M,b=0;var X=0,z;for(n=0;n<a;n+=1)if(o=!1,z=e.finalText[n],L=z.charCodeAt(0),L===13||L===3?(X=0,P.push(x),g=x>g?x:g,x=-2*M,l="",o=!0,u+=1):l=z,t.chars?(p=t.getCharData(z,y.fStyle,t.getFontByName(e.f).fFamily),b=o?0:p.w*e.finalSize/100):b=t.measureText(l,e.f,e.finalSize),z===" "?X+=b+M:(x+=b+M+X,X=0),s.push({l:b,an:b,add:m,n:o,anIndexes:[],val:l,line:u,animatorJustifyOffset:0}),c==2){if(m+=b,l===""||l===" "||n===a-1){for((l===""||l===" ")&&(m-=b);E<=n;)s[E].an=m,s[E].ind=f,s[E].extra=b,E+=1;f+=1,m=0}}else if(c==3){if(m+=b,l===""||n===a-1){for(l===""&&(m-=b);E<=n;)s[E].an=m,s[E].ind=f,s[E].extra=b,E+=1;m=0,f+=1}}else s[f].ind=f,s[f].extra=0,f+=1;if(e.l=s,g=x>g?x:g,P.push(x),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=g,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=P;var T=i.a,I,C;d=T.length;var S,V,F=[];for(_=0;_<d;_+=1){for(I=T[_],I.a.sc&&(e.strokeColorAnim=!0),I.a.sw&&(e.strokeWidthAnim=!0),(I.a.fc||I.a.fh||I.a.fs||I.a.fb)&&(e.fillColorAnim=!0),V=0,S=I.s.b,n=0;n<a;n+=1)C=s[n],C.anIndexes[_]=V,(S==1&&C.val!==""||S==2&&C.val!==""&&C.val!==" "||S==3&&(C.n||C.val==" "||n==a-1)||S==4&&(C.n||n==a-1))&&(I.s.rn===1&&F.push(V),V+=1);i.a[_].s.totalChars=V;var H=-1,q;if(I.s.rn===1)for(n=0;n<a;n+=1)C=s[n],H!=C.anIndexes[_]&&(H=C.anIndexes[_],q=F.splice(Math.floor(Math.random()*F.length),1)[0]),C.anIndexes[_]=q}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=y.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?this.keysIndex:t;var i=this.copyData({},this.data.d.k[t].s);i=this.copyData(i,e),this.data.d.k[t].s=i,this.recalculate(t),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,i=Math.floor;function s(a,o){this._currentTextLength=-1,this.k=!1,this.data=o,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,o.s||{k:0},0,0,this),"e"in o?this.e=PropertyFactory.getProp(a,o.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,o.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,o.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,o.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,o.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,o.a,0,.01,this),this.dynamicProperties.length||this.getValue()}s.prototype={getMult:function(o){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var f=0,l=0,c=1,m=1;this.ne.v>0?f=this.ne.v/100:l=-this.ne.v/100,this.xe.v>0?c=1-this.xe.v/100:m=1+this.xe.v/100;var E=BezierFactory.getBezierEasing(f,l,c,m).get,u=0,P=this.finalS,x=this.finalE,g=this.data.sh;if(g===2)x===P?u=o>=x?1:0:u=e(0,t(.5/(x-P)+(o-P)/(x-P),1)),u=E(u);else if(g===3)x===P?u=o>=x?0:1:u=1-e(0,t(.5/(x-P)+(o-P)/(x-P),1)),u=E(u);else if(g===4)x===P?u=0:(u=e(0,t(.5/(x-P)+(o-P)/(x-P),1)),u<.5?u*=2:u=1-2*(u-.5)),u=E(u);else if(g===5){if(x===P)u=0;else{var _=x-P;o=t(e(0,o+.5-P),x-P);var d=-_/2+o,y=_/2;u=Math.sqrt(1-d*d/(y*y))}u=E(u)}else g===6?(x===P?u=0:(o=t(e(0,o+.5-P),x-P),u=(1+Math.cos(Math.PI+Math.PI*2*o/(x-P)))/2),u=E(u)):(o>=i(P)&&(o-P<0?u=e(0,t(t(x,1)-(P-o),1)):u=e(0,t(x-o,1))),u=E(u));if(this.sm.v!==100){var p=this.sm.v*.01;p===0&&(p=1e-8);var b=.5-p*.5;u<b?u=0:(u=(u-b)/p,u>1&&(u=1))}return u*this.a.v},getValue:function(o){this.iterateDynamicProperties(),this._mdf=o||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,o&&this.data.r===2&&(this.e.v=this._currentTextLength);var f=this.data.r===2?1:100/this.data.totalChars,l=this.o.v/f,c=this.s.v/f+l,m=this.e.v/f+l;if(c>m){var E=c;c=m,m=E}this.finalS=c,this.finalE=m}},extendPrototype([DynamicPropertyContainer],s);function n(a,o,f){return new s(a,o)}return{getTextSelectorProp:n}}();function TextAnimatorDataProperty(e,t,i){var s={propType:!1},n=PropertyFactory.getProp,a=t.a;this.a={r:a.r?n(e,a.r,0,degToRads,i):s,rx:a.rx?n(e,a.rx,0,degToRads,i):s,ry:a.ry?n(e,a.ry,0,degToRads,i):s,sk:a.sk?n(e,a.sk,0,degToRads,i):s,sa:a.sa?n(e,a.sa,0,degToRads,i):s,s:a.s?n(e,a.s,1,.01,i):s,a:a.a?n(e,a.a,1,0,i):s,o:a.o?n(e,a.o,0,.01,i):s,p:a.p?n(e,a.p,1,0,i):s,sw:a.sw?n(e,a.sw,0,0,i):s,sc:a.sc?n(e,a.sc,1,0,i):s,fc:a.fc?n(e,a.fc,1,0,i):s,fh:a.fh?n(e,a.fh,0,0,i):s,fs:a.fs?n(e,a.fs,0,.01,i):s,fb:a.fb?n(e,a.fb,0,.01,i):s,t:a.t?n(e,a.t,0,0,i):s},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,i),this.s.t=t.s.t}function TextAnimatorProperty(e,t,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,i,s=PropertyFactory.getProp;for(e=0;e<t;e+=1)i=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:s(this._elem,this._textData.p.a,0,0,this),f:s(this._elem,this._textData.p.f,0,0,this),l:s(this._elem,this._textData.p.l,0,0,this),r:s(this._elem,this._textData.p.r,0,0,this),p:s(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=s(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,!(!this._mdf&&!this._isFirstFrame&&!t&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,s=this._animatorsData,n=this._textData,a=this.mHelper,o=this._renderType,f=this.renderedLetters.length,l,c,m,E,u=e.l,P,x,g,_,d,y,p,b,A,M,L,k,B,Y,Z;if(this._hasMaskedPath){if(Z=this._pathData.m,!this._pathData.n||this._pathData._mdf){var j=Z.v;this._pathData.r.v&&(j=j.reverse()),P={tLength:0,segments:[]},E=j._length-1;var U;for(k=0,m=0;m<E;m+=1)U=bez.buildBezierData(j.v[m],j.v[m+1],[j.o[m][0]-j.v[m][0],j.o[m][1]-j.v[m][1]],[j.i[m+1][0]-j.v[m+1][0],j.i[m+1][1]-j.v[m+1][1]]),P.tLength+=U.segmentLength,P.segments.push(U),k+=U.segmentLength;m=E,Z.v.c&&(U=bez.buildBezierData(j.v[m],j.v[0],[j.o[m][0]-j.v[m][0],j.o[m][1]-j.v[m][1]],[j.i[0][0]-j.v[0][0],j.i[0][1]-j.v[0][1]]),P.tLength+=U.segmentLength,P.segments.push(U),k+=U.segmentLength),this._pathData.pi=P}if(P=this._pathData.pi,x=this._pathData.f.v,p=0,y=1,_=0,d=!0,M=P.segments,x<0&&Z.v.c)for(P.tLength<Math.abs(x)&&(x=-Math.abs(x)%P.tLength),p=M.length-1,A=M[p].points,y=A.length-1;x<0;)x+=A[y].partialLength,y-=1,y<0&&(p-=1,A=M[p].points,y=A.length-1);A=M[p].points,b=A[y-1],g=A[y],L=g.partialLength}E=u.length,l=0,c=0;var X=e.finalSize*1.2*.714,z=!0,T,I,C,S,V;S=s.length;var F,H=-1,q,$,J,re=x,le=p,pe=y,ue=-1,ce,se,oe,te,K,Ae,Me,we,ge="",Ce=this.defaultPropsArray,Pe;if(e.j===2||e.j===1){var me=0,xe=0,Te=e.j===2?-.5:-1,be=0,_e=!0;for(m=0;m<E;m+=1)if(u[m].n){for(me&&(me+=xe);be<m;)u[be].animatorJustifyOffset=me,be+=1;me=0,_e=!0}else{for(C=0;C<S;C+=1)T=s[C].a,T.t.propType&&(_e&&e.j===2&&(xe+=T.t.v*Te),I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),F.length?me+=T.t.v*F[0]*Te:me+=T.t.v*F*Te);_e=!1}for(me&&(me+=xe);be<m;)u[be].animatorJustifyOffset=me,be+=1}for(m=0;m<E;m+=1){if(a.reset(),ce=1,u[m].n)l=0,c+=e.yOffset,c+=z?1:0,x=re,z=!1,this._hasMaskedPath&&(p=le,y=pe,A=M[p].points,b=A[y-1],g=A[y],L=g.partialLength,_=0),ge="",we="",Ae="",Pe="",Ce=this.defaultPropsArray;else{if(this._hasMaskedPath){if(ue!==u[m].line){switch(e.j){case 1:x+=k-e.lineWidths[u[m].line];break;case 2:x+=(k-e.lineWidths[u[m].line])/2;break}ue=u[m].line}H!==u[m].ind&&(u[H]&&(x+=u[H].extra),x+=u[m].an/2,H=u[m].ind),x+=i[0]*u[m].an*.005;var Se=0;for(C=0;C<S;C+=1)T=s[C].a,T.p.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),F.length?Se+=T.p.v[0]*F[0]:Se+=T.p.v[0]*F),T.a.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),F.length?Se+=T.a.v[0]*F[0]:Se+=T.a.v[0]*F);for(d=!0,this._pathData.a.v&&(x=u[0].an*.5+(k-this._pathData.f.v-u[0].an*.5-u[u.length-1].an*.5)*H/(E-1),x+=this._pathData.f.v);d;)_+L>=x+Se||!A?(B=(x+Se-_)/g.partialLength,$=b.point[0]+(g.point[0]-b.point[0])*B,J=b.point[1]+(g.point[1]-b.point[1])*B,a.translate(-i[0]*u[m].an*.005,-(i[1]*X)*.01),d=!1):A&&(_+=g.partialLength,y+=1,y>=A.length&&(y=0,p+=1,M[p]?A=M[p].points:Z.v.c?(y=0,p=0,A=M[p].points):(_-=g.partialLength,A=null)),A&&(b=g,g=A[y],L=g.partialLength));q=u[m].an/2-u[m].add,a.translate(-q,0,0)}else q=u[m].an/2-u[m].add,a.translate(-q,0,0),a.translate(-i[0]*u[m].an*.005,-i[1]*X*.01,0);for(C=0;C<S;C+=1)T=s[C].a,T.t.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),(l!==0||e.j!==0)&&(this._hasMaskedPath?F.length?x+=T.t.v*F[0]:x+=T.t.v*F:F.length?l+=T.t.v*F[0]:l+=T.t.v*F));for(e.strokeWidthAnim&&(oe=e.sw||0),e.strokeColorAnim&&(e.sc?se=[e.sc[0],e.sc[1],e.sc[2]]:se=[0,0,0]),e.fillColorAnim&&e.fc&&(te=[e.fc[0],e.fc[1],e.fc[2]]),C=0;C<S;C+=1)T=s[C].a,T.a.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),F.length?a.translate(-T.a.v[0]*F[0],-T.a.v[1]*F[1],T.a.v[2]*F[2]):a.translate(-T.a.v[0]*F,-T.a.v[1]*F,T.a.v[2]*F));for(C=0;C<S;C+=1)T=s[C].a,T.s.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),F.length?a.scale(1+(T.s.v[0]-1)*F[0],1+(T.s.v[1]-1)*F[1],1):a.scale(1+(T.s.v[0]-1)*F,1+(T.s.v[1]-1)*F,1));for(C=0;C<S;C+=1){if(T=s[C].a,I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),T.sk.propType&&(F.length?a.skewFromAxis(-T.sk.v*F[0],T.sa.v*F[1]):a.skewFromAxis(-T.sk.v*F,T.sa.v*F)),T.r.propType&&(F.length?a.rotateZ(-T.r.v*F[2]):a.rotateZ(-T.r.v*F)),T.ry.propType&&(F.length?a.rotateY(T.ry.v*F[1]):a.rotateY(T.ry.v*F)),T.rx.propType&&(F.length?a.rotateX(T.rx.v*F[0]):a.rotateX(T.rx.v*F)),T.o.propType&&(F.length?ce+=(T.o.v*F[0]-ce)*F[0]:ce+=(T.o.v*F-ce)*F),e.strokeWidthAnim&&T.sw.propType&&(F.length?oe+=T.sw.v*F[0]:oe+=T.sw.v*F),e.strokeColorAnim&&T.sc.propType)for(K=0;K<3;K+=1)F.length?se[K]+=(T.sc.v[K]-se[K])*F[0]:se[K]+=(T.sc.v[K]-se[K])*F;if(e.fillColorAnim&&e.fc){if(T.fc.propType)for(K=0;K<3;K+=1)F.length?te[K]+=(T.fc.v[K]-te[K])*F[0]:te[K]+=(T.fc.v[K]-te[K])*F;T.fh.propType&&(F.length?te=addHueToRGB(te,T.fh.v*F[0]):te=addHueToRGB(te,T.fh.v*F)),T.fs.propType&&(F.length?te=addSaturationToRGB(te,T.fs.v*F[0]):te=addSaturationToRGB(te,T.fs.v*F)),T.fb.propType&&(F.length?te=addBrightnessToRGB(te,T.fb.v*F[0]):te=addBrightnessToRGB(te,T.fb.v*F))}}for(C=0;C<S;C+=1)T=s[C].a,T.p.propType&&(I=s[C].s,F=I.getMult(u[m].anIndexes[C],n.a[C].s.totalChars),this._hasMaskedPath?F.length?a.translate(0,T.p.v[1]*F[0],-T.p.v[2]*F[1]):a.translate(0,T.p.v[1]*F,-T.p.v[2]*F):F.length?a.translate(T.p.v[0]*F[0],T.p.v[1]*F[1],-T.p.v[2]*F[2]):a.translate(T.p.v[0]*F,T.p.v[1]*F,-T.p.v[2]*F));if(e.strokeWidthAnim&&(Ae=oe<0?0:oe),e.strokeColorAnim&&(Me="rgb("+Math.round(se[0]*255)+","+Math.round(se[1]*255)+","+Math.round(se[2]*255)+")"),e.fillColorAnim&&e.fc&&(we="rgb("+Math.round(te[0]*255)+","+Math.round(te[1]*255)+","+Math.round(te[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-e.ls),a.translate(0,i[1]*X*.01+c,0),this._pathData.p.v){Y=(g.point[1]-b.point[1])/(g.point[0]-b.point[0]);var Ee=Math.atan(Y)*180/Math.PI;g.point[0]<b.point[0]&&(Ee+=180),a.rotate(-Ee*Math.PI/180)}a.translate($,J,0),x-=i[0]*u[m].an*.005,u[m+1]&&H!==u[m+1].ind&&(x+=u[m].an/2,x+=e.tr*.001*e.finalSize)}else{switch(a.translate(l,c,0),e.ps&&a.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:a.translate(u[m].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[u[m].line]),0,0);break;case 2:a.translate(u[m].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[u[m].line])/2,0,0);break}a.translate(0,-e.ls),a.translate(q,0,0),a.translate(i[0]*u[m].an*.005,i[1]*X*.01,0),l+=u[m].l+e.tr*.001*e.finalSize}o==="html"?ge=a.toCSS():o==="svg"?ge=a.to2dCSS():Ce=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],Pe=ce}f<=m?(V=new LetterProps(Pe,Ae,Me,we,ge,Ce),this.renderedLetters.push(V),f+=1,this.lettersChangedFlag=!0):(V=this.renderedLetters[m],this.lettersChangedFlag=V.update(Pe,Ae,Me,we,ge,Ce)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(e,t,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,i),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var i,s=t.length,n,a="";for(i=0;i<s;i+=1)t[i].ty==="sh"&&(n=t[i].ks.k,a+=buildShapeString(n,n.i.length,!0,e));return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,i,s,n){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[i]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[i])/2,0,0);break}t.translate(s,n,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,i){this.textSpans=[],this.renderType="svg",this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,i=e.length,s=[],n="";t<i;)e[t]==="\r"||e[t]===""?(s.push(n),n=""):n+=e[t],t+=1;return s.push(n),s},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var i=e.shapes[0];if(i.it){var s=i.it[i.it.length-1];s.s&&(s.s.k[0]=t,s.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,t,i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var s=this.globalData.fontManager.getFontByName(i.f);if(s.fClass)this.layerElement.setAttribute("class",s.fClass);else{this.layerElement.setAttribute("font-family",s.fFamily);var n=i.fWeight,a=i.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",i.t);var o=i.l||[],f=!!this.globalData.fontManager.chars;t=o.length;var l,c=this.mHelper,m="",E=this.data.singleShape,u=0,P=0,x=!0,g=i.tr*.001*i.finalSize;if(E&&!f&&!i.sz){var _=this.textContainer,d="start";switch(i.j){case 1:d="end";break;case 2:d="middle";break;default:d="start";break}_.setAttribute("text-anchor",d),_.setAttribute("letter-spacing",g);var y=this.buildTextContents(i.finalText);for(t=y.length,P=i.ps?i.ps[1]+i.ascent:0,e=0;e<t;e+=1)l=this.textSpans[e].span||createNS("tspan"),l.textContent=y[e],l.setAttribute("x",0),l.setAttribute("y",P),l.style.display="inherit",_.appendChild(l),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=l,P+=i.finalLineHeight;this.layerElement.appendChild(_)}else{var p=this.textSpans.length,b;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!f||!E||e===0){if(l=p>e?this.textSpans[e].span:createNS(f?"g":"text"),p<=e){if(l.setAttribute("stroke-linecap","butt"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=l,f){var A=createNS("g");l.appendChild(A),this.textSpans[e].childSpan=A}this.textSpans[e].span=l,this.layerElement.appendChild(l)}l.style.display="inherit"}if(c.reset(),E&&(o[e].n&&(u=-g,P+=i.yOffset,P+=x?1:0,x=!1),this.applyTextPropertiesToMatrix(i,c,o[e].line,u,P),u+=o[e].l||0,u+=g),f){b=this.globalData.fontManager.getCharData(i.finalText[e],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var M;if(b.t===1)M=new SVGCompElement(b.data,this.globalData,this);else{var L=emptyShapeData;b.data&&b.data.shapes&&(L=this.buildShapeData(b.data,i.finalSize)),M=new SVGShapeElement(L,this.globalData,this)}if(this.textSpans[e].glyph){var k=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(k.layerElement),k.destroy()}this.textSpans[e].glyph=M,M._debug=!0,M.prepareFrame(0),M.renderFrame(),this.textSpans[e].childSpan.appendChild(M.layerElement),b.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else E&&l.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),l.textContent=o[e].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}E&&l&&l.setAttribute("d",m)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<t;e+=1)i=this.textSpans[e].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,t,i=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;t=s.length;var n,a,o;for(e=0;e<t;e+=1)s[e].n||(n=i[e],a=this.textSpans[e].span,o=this.textSpans[e].glyph,o&&o.renderFrame(),n._mdf.m&&a.setAttribute("transform",n.m),n._mdf.o&&a.setAttribute("opacity",n.o),n._mdf.sw&&a.setAttribute("stroke-width",n.sw),n._mdf.sc&&a.setAttribute("stroke",n.sc),n._mdf.fc&&a.setAttribute("fill",n.fc))}};function ISolidElement(e,t,i){this.initElement(e,t,i)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function NullElement(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initFrame(),this.initTransform(e,t,i),this.initHierarchy()}NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var i=createNS("clipPath"),s=createNS("rect");s.setAttribute("width",e.w),s.setAttribute("height",e.h),s.setAttribute("x",0),s.setAttribute("y",0);var n=createElementID();i.setAttribute("id",n),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),t.appendChild(i),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,i=this.layers.length;for(t=0;t<i;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){t[e]=!0;var i=this.createItem(this.layers[e]);if(t[e]=i,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,e),this.layers[e].tt){var s="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(s===-1)return;if(!this.elements[s]||this.elements[s]===!0)this.buildItem(s),this.addPendingElement(i);else{var n=t[s],a=n.getMatte(this.layers[e].tt);i.setMatte(a)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,i=this.elements.length;t<i;){if(this.elements[t]===e){var s="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,n=this.elements[s],a=n.getMatte(this.layers[t].tt);e.setMatte(a);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,i=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=i-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<i;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var i=e.getBaseElement();if(i){for(var s=0,n;s<t;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement()&&(n=this.elements[s].getBaseElement()),s+=1;n?this.layerElement.insertBefore(i,n):this.layerElement.appendChild(i)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initTransform(e,t,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!t.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var i,s=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(e,t,i){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(t&&t.title){var s=createNS("title"),n=createElementID();s.setAttribute("id",n),s.textContent=t.title,this.svgElement.appendChild(s),i+=n}if(t&&t.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=t.description,this.svgElement.appendChild(a),i+=" "+o}i&&this.svgElement.setAttribute("aria-labelledby",i);var f=createNS("defs");this.svgElement.appendChild(f);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&t.hideOnTransparent===!1),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:f,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(t){var i,s=t.length,n="_";for(i=0;i<s;i+=1)n+=t[i].transform.key+"_";var a=this.sequences[n];return a||(a={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=a,this.sequenceList.push(a)),a},processSequence:function(t,i){for(var s=0,n=t.transforms.length,a=i;s<n&&!i;){if(t.transforms[s].transform.mProps._mdf){a=!0;break}s+=1}if(a)for(t.finalTransform.reset(),s=n-1;s>=0;s-=1)t.finalTransform.multiply(t.transforms[s].transform.mProps.v);t._mdf=a},processSequences:function(t){var i,s=this.sequenceList.length;for(i=0;i<s;i+=1)this.processSequence(this.sequenceList[i],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",i=null,s=null,n=null;function a(){var l=createNS("svg"),c=createNS("filter"),m=createNS("feColorMatrix");return c.setAttribute("id",t),m.setAttribute("type","matrix"),m.setAttribute("color-interpolation-filters","sRGB"),m.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),c.appendChild(m),l.appendChild(c),l.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(l.style.display="none"),l}function o(){i||(n=a(),document.body.appendChild(n),i=createTag("canvas"),s=i.getContext("2d"),s.filter="url(#"+t+")",s.fillStyle="rgba(0,0,0,0)",s.fillRect(0,0,1,1))}function f(l){return i||o(),i.width=l.width,i.height=l.height,s.filter="url(#"+t+")",i}return{load:o,get:f}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var i=createTag("canvas");return i.width=e,i.height=t,i}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(e){var t,i=e.data.ef?e.data.ef.length:0;this.filters=[];var s;for(t=0;t<i;t+=1){s=null;var n=e.data.ef[t].ty;if(registeredEffects[n]){var a=registeredEffects[n].effect;s=new a(e.effectsManager.effectElements[t],e)}s&&this.filters.push(s)}this.filters.length&&e.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(e){var t,i=this.filters.length;for(t=0;t<i;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,i=this.filters.length,s=[];for(t=0;t<i;t+=1)this.filters[t].type===e&&s.push(this.filters[t]);return s};function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i,s=this.masksProperties.length,n=!1;for(i=0;i<s;i+=1)this.masksProperties[i].mode!=="n"&&(n=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,t=this.element.canvasContext,i,s=this.masksProperties.length,n,a,o;for(t.beginPath(),i=0;i<s;i+=1)if(this.masksProperties[i].mode!=="n"){this.masksProperties[i].inv&&(t.moveTo(0,0),t.lineTo(this.element.globalData.compSize.w,0),t.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),t.lineTo(0,this.element.globalData.compSize.h),t.lineTo(0,0)),o=this.viewData[i].v,n=e.applyToPointArray(o.v[0][0],o.v[0][1],0),t.moveTo(n[0],n[1]);var f,l=o._length;for(f=1;f<l;f+=1)a=e.applyToTriplePoints(o.o[f-1],o.i[f],o.v[f]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=e.applyToTriplePoints(o.o[f-1],o.i[0],o.v[0]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),t.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i);var s=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(s),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var i=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=i}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],i=t.getContext("2d");this.clearCanvas(i),i.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],i=t.getContext("2d");this.clearCanvas(i),i.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var s=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(s.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=n.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var i=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(i),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(i),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(e,t,i,s){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n=4;t.ty==="rc"?n=5:t.ty==="el"?n=6:t.ty==="sr"&&(n=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,n,e);var a,o=i.length,f;for(a=0;a<o;a+=1)i[a].closed||(f={transforms:s.addTransformSequence(i[a].transforms),trNodes:[]},this.styledShapes.push(f),i[a].elements.push(f))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var i={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},s={};if(e.ty==="fl"||e.ty==="st"?(s.c=PropertyFactory.getProp(this,e.c,1,255,this),s.c.k||(i.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(s.s=PropertyFactory.getProp(this,e.s,1,null,this),s.e=PropertyFactory.getProp(this,e.e,1,null,this),s.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),s.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),s.g=new GradientProperty(this,e.g,this)),s.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(i.lc=lineCapEnum[e.lc||2],i.lj=lineJoinEnum[e.lj||2],e.lj==1&&(i.ml=e.ml),s.w=PropertyFactory.getProp(this,e.w,0,null,this),s.w.k||(i.wi=s.w.v),e.d){var n=new DashProperty(this,e.d,"canvas",this);s.d=n,s.d.k||(i.da=s.d.dashArray,i.do=s.d.dashoffset[0])}}else i.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(i),s.style=i,s},CVShapeElement.prototype.createGroupElement=function(){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(e){var t={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}};return t},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,i=this.stylesList.length;for(t=0;t<i;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,i,s,n){var a,o=e.length-1,f,l,c=[],m=[],E,u,P,x=[].concat(n);for(a=o;a>=0;a-=1){if(E=this.searchProcessedElement(e[a]),E?t[a]=i[E-1]:e[a]._shouldRender=s,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")E?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],x),c.push(t[a].style);else if(e[a].ty==="gr"){if(!E)t[a]=this.createGroupElement(e[a]);else for(l=t[a].it.length,f=0;f<l;f+=1)t[a].prevViewData[f]=t[a].it[f];this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,s,x)}else e[a].ty==="tr"?(E||(P=this.createTransformElement(e[a]),t[a]=P),x.push(t[a]),this.addTransformToStyleList(t[a])):e[a].ty==="sh"||e[a].ty==="rc"||e[a].ty==="el"||e[a].ty==="sr"?E||(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"?(E?(u=t[a],u.closed=!1):(u=ShapeModifiers.getModifier(e[a].ty),u.init(this,e[a]),t[a]=u,this.shapeModifiers.push(u)),m.push(u)):e[a].ty==="rp"&&(E?(u=t[a],u.closed=!0):(u=ShapeModifiers.getModifier(e[a].ty),t[a]=u,u.init(this,e,a,t),this.shapeModifiers.push(u),s=!1),m.push(u));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(c),o=m.length,a=0;a<o;a+=1)m[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t=this.stylesList.length,i,s,n,a,o,f,l=this.globalData.renderer,c=this.globalData.canvasContext,m,E;for(e=0;e<t;e+=1)if(E=this.stylesList[e],m=E.type,!((m==="st"||m==="gs")&&E.wi===0||!E.data._shouldRender||E.coOp===0||this.globalData.currentGlobalAlpha===0)){for(l.save(),o=E.elements,m==="st"||m==="gs"?(l.ctxStrokeStyle(m==="st"?E.co:E.grd),l.ctxLineWidth(E.wi),l.ctxLineCap(E.lc),l.ctxLineJoin(E.lj),l.ctxMiterLimit(E.ml||0)):l.ctxFillStyle(m==="fl"?E.co:E.grd),l.ctxOpacity(E.coOp),m!=="st"&&m!=="gs"&&c.beginPath(),l.ctxTransform(E.preTransforms.finalTransform.props),s=o.length,i=0;i<s;i+=1){for((m==="st"||m==="gs")&&(c.beginPath(),E.da&&(c.setLineDash(E.da),c.lineDashOffset=E.do)),f=o[i].trNodes,a=f.length,n=0;n<a;n+=1)f[n].t==="m"?c.moveTo(f[n].p[0],f[n].p[1]):f[n].t==="c"?c.bezierCurveTo(f[n].pts[0],f[n].pts[1],f[n].pts[2],f[n].pts[3],f[n].pts[4],f[n].pts[5]):c.closePath();(m==="st"||m==="gs")&&(l.ctxStroke(),E.da&&c.setLineDash(this.dashResetter))}m!=="st"&&m!=="gs"&&this.globalData.renderer.ctxFill(E.r),l.restore()}},CVShapeElement.prototype.renderShape=function(e,t,i,s){var n,a=t.length-1,o;for(o=e,n=a;n>=0;n-=1)t[n].ty==="tr"?(o=i[n].transform,this.renderShapeTransform(e,o)):t[n].ty==="sh"||t[n].ty==="el"||t[n].ty==="rc"||t[n].ty==="sr"?this.renderPath(t[n],i[n]):t[n].ty==="fl"?this.renderFill(t[n],i[n],o):t[n].ty==="st"?this.renderStroke(t[n],i[n],o):t[n].ty==="gf"||t[n].ty==="gs"?this.renderGradientFill(t[n],i[n],o):t[n].ty==="gr"?this.renderShape(o,t[n].it,i[n].it):t[n].ty;s&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var i=e.trNodes,s=t.paths,n,a,o,f=s._length;i.length=0;var l=e.transforms.finalTransform;for(o=0;o<f;o+=1){var c=s.shapes[o];if(c&&c.v){for(a=c._length,n=1;n<a;n+=1)n===1&&i.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),i.push({t:"c",pts:l.applyToTriplePoints(c.o[n-1],c.i[n],c.v[n])});a===1&&i.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&a&&(i.push({t:"c",pts:l.applyToTriplePoints(c.o[n-1],c.i[0],c.v[0])}),i.push({t:"z"}))}}e.trNodes=i}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var i,s=t.styledShapes.length;for(i=0;i<s;i+=1)this.renderStyledShape(t.styledShapes[i],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,i){var s=t.style;(t.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=t.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,i){var s=t.style,n;if(!s.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var a=this.globalData.canvasContext,o=t.s.v,f=t.e.v;if(e.t===1)n=a.createLinearGradient(o[0],o[1],f[0],f[1]);else{var l=Math.sqrt(Math.pow(o[0]-f[0],2)+Math.pow(o[1]-f[1],2)),c=Math.atan2(f[1]-o[1],f[0]-o[0]),m=t.h.v;m>=1?m=.99:m<=-1&&(m=-.99);var E=l*m,u=Math.cos(c+t.a.v)*E+o[0],P=Math.sin(c+t.a.v)*E+o[1];n=a.createRadialGradient(u,P,0,o[0],o[1],l)}var x,g=e.g.p,_=t.g.c,d=1;for(x=0;x<g;x+=1)t.g._hasOpacity&&t.g._collapsable&&(d=t.g.o[x*2+1]),n.addColorStop(_[x*4]/100,"rgba("+_[x*4+1]+","+_[x*4+2]+","+_[x*4+3]+","+d+")");s.grd=n}s.coOp=t.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(e,t,i){var s=t.style,n=t.d;n&&(n._mdf||this._isFirstFrame)&&(s.da=n.dashArray,s.do=n.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=t.o.v*i.opacity),(t.w._mdf||this._isFirstFrame)&&(s.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(e,t,i){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var i=!1;e.sc&&(i=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var s=this.globalData.fontManager.getFontByName(e.f),n,a,o=e.l,f=this.mHelper;this.stroke=i,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var l,c,m,E,u,P,x,g,_,d,y=this.data.singleShape,p=e.tr*.001*e.finalSize,b=0,A=0,M=!0,L=0;for(n=0;n<a;n+=1){l=this.globalData.fontManager.getCharData(e.finalText[n],s.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),c=l&&l.data||{},f.reset(),y&&o[n].n&&(b=-p,A+=e.yOffset,A+=M?1:0,M=!1),u=c.shapes?c.shapes[0].it:[],x=u.length,f.scale(e.finalSize/100,e.finalSize/100),y&&this.applyTextPropertiesToMatrix(e,f,o[n].line,b,A),_=createSizedArray(x-1);var k=0;for(P=0;P<x;P+=1)if(u[P].ty==="sh"){for(E=u[P].ks.k.i.length,g=u[P].ks.k,d=[],m=1;m<E;m+=1)m===1&&d.push(f.applyToX(g.v[0][0],g.v[0][1],0),f.applyToY(g.v[0][0],g.v[0][1],0)),d.push(f.applyToX(g.o[m-1][0],g.o[m-1][1],0),f.applyToY(g.o[m-1][0],g.o[m-1][1],0),f.applyToX(g.i[m][0],g.i[m][1],0),f.applyToY(g.i[m][0],g.i[m][1],0),f.applyToX(g.v[m][0],g.v[m][1],0),f.applyToY(g.v[m][0],g.v[m][1],0));d.push(f.applyToX(g.o[m-1][0],g.o[m-1][1],0),f.applyToY(g.o[m-1][0],g.o[m-1][1],0),f.applyToX(g.i[0][0],g.i[0][1],0),f.applyToY(g.i[0][0],g.i[0][1],0),f.applyToX(g.v[0][0],g.v[0][1],0),f.applyToY(g.v[0][0],g.v[0][1],0)),_[k]=d,k+=1}y&&(b+=o[n].l,b+=p),this.textSpans[L]?this.textSpans[L].elem=_:this.textSpans[L]={elem:_},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,s,n,a,o,f=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;i=l.length;var c,m=null,E=null,u=null,P,x,g=this.globalData.renderer;for(t=0;t<i;t+=1)if(!l[t].n){if(c=f[t],c&&(g.save(),g.ctxTransform(c.p),g.ctxOpacity(c.o)),this.fill){for(c&&c.fc?m!==c.fc&&(g.ctxFillStyle(c.fc),m=c.fc):m!==this.values.fill&&(m=this.values.fill,g.ctxFillStyle(this.values.fill)),P=this.textSpans[t].elem,n=P.length,this.globalData.canvasContext.beginPath(),s=0;s<n;s+=1)for(x=P[s],o=x.length,this.globalData.canvasContext.moveTo(x[0],x[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(x[a],x[a+1],x[a+2],x[a+3],x[a+4],x[a+5]);this.globalData.canvasContext.closePath(),g.ctxFill()}if(this.stroke){for(c&&c.sw?u!==c.sw&&(u=c.sw,g.ctxLineWidth(c.sw)):u!==this.values.sWidth&&(u=this.values.sWidth,g.ctxLineWidth(this.values.sWidth)),c&&c.sc?E!==c.sc&&(E=c.sc,g.ctxStrokeStyle(c.sc)):E!==this.values.stroke&&(E=this.values.stroke,g.ctxStrokeStyle(this.values.stroke)),P=this.textSpans[t].elem,n=P.length,this.globalData.canvasContext.beginPath(),s=0;s<n;s+=1)for(x=P[s],o=x.length,this.globalData.canvasContext.moveTo(x[0],x[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(x[a],x[a+1],x[a+2],x[a+3],x[a+4],x[a+5]);this.globalData.canvasContext.closePath(),g.ctxStroke()}c&&this.globalData.renderer.restore()}};function CVImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t=e.getContext("2d"),i=this.img.width,s=this.img.height,n=i/s,a=this.assetData.w/this.assetData.h,o,f,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;n>a&&l==="xMidYMid slice"||n<a&&l!=="xMidYMid slice"?(f=s,o=f*a):(o=i,f=o/a),t.drawImage(this.img,(i-o)/2,(s-f)/2,o,f,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,t,i){this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,i,s){this.canvasContext.fillRect(e,t,i,s)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var i="0px 0px 0px";t.transformOrigin=i,t.mozTransformOrigin=i,t.webkitTransformOrigin=i,t["-webkit-transform"]=i,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){this.reset();var i,s;e?(i=e,s=t,this.canvasContext.canvas.width=i,this.canvasContext.canvas.height=s):(this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,s=this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,s=this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=s*this.renderConfig.dpr);var n,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var o=this.renderConfig.preserveAspectRatio.split(" "),f=o[1]||"meet",l=o[0]||"xMidYMid",c=l.substr(0,4),m=l.substr(4);n=i/s,a=this.transformCanvas.w/this.transformCanvas.h,a>n&&f==="meet"||a<n&&f==="slice"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)),c==="xMid"&&(a<n&&f==="meet"||a>n&&f==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(s/this.transformCanvas.h))/2*this.renderConfig.dpr:c==="xMax"&&(a<n&&f==="meet"||a>n&&f==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(s/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,m==="YMid"&&(a>n&&f==="meet"||a<n&&f==="slice")?this.transformCanvas.ty=(s-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:m==="YMax"&&(a>n&&f==="meet"||a<n&&f==="slice")?this.transformCanvas.ty=(s-this.transformCanvas.h*(i/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e,t=this.layers?this.layers.length:0;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var i,s=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(e-this.layers[i].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var i=this.createItem(this.layers[e],this,this.globalData);t[e]=i,i.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var e,t=15;for(e=0;e<t;e+=1){var i=new CanvasContext;this.stack[e]=i}this._length=t,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var e=this._length*2,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t=this.stack[this.cArrPos],i=t.transform,s,n=this.cTr.props;for(s=0;s<16;s+=1)n[s]=i[s];if(e){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13]),(e||t.opacity!==-1&&this.currentOpacity!==t.opacity)&&(this.nativeContext.globalAlpha=t.opacity,this.currentOpacity=t.opacity),this.currentFillStyle=t.fillStyle,this.currentStrokeStyle=t.strokeStyle,this.currentLineWidth=t.lineWidth,this.currentLineCap=t.lineCap,this.currentLineJoin=t.lineJoin,this.currentMiterLimit=t.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var i=this.stack[this.cArrPos],s;for(s=0;s<16;s+=1)i.transform[s]=t[s];this.cArrPos+=1;var n=this.stack[this.cArrPos];n.opacity=i.opacity,n.fillStyle=i.fillStyle,n.strokeStyle=i.strokeStyle,n.lineWidth=i.lineWidth,n.lineCap=i.lineCap,n.lineJoin=i.lineJoin,n.miterLimit=i.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var i=t.props;this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,i,s){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,i,s)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(e,t,i){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var t,i=this.layers.length;for(t=i-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var i=this.finalTransform.mat.toCSS();t.transform=i,t.webkitTransform=i}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(e,t,i){this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,i),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)t=e[i].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var i=e.sh.v,s=e.transformers,n,a=i._length,o,f,l,c;if(!(a<=1)){for(n=0;n<a-1;n+=1)o=this.getTransformedPoint(s,i.v[n]),f=this.getTransformedPoint(s,i.o[n]),l=this.getTransformedPoint(s,i.i[n+1]),c=this.getTransformedPoint(s,i.v[n+1]),this.checkBounds(o,f,l,c,t);i.c&&(o=this.getTransformedPoint(s,i.v[n]),f=this.getTransformedPoint(s,i.o[n]),l=this.getTransformedPoint(s,i.i[0]),c=this.getTransformedPoint(s,i.v[0]),this.checkBounds(o,f,l,c,t))}},HShapeElement.prototype.checkBounds=function(e,t,i,s,n){this.getBoundsOfCurve(e,t,i,s);var a=this.shapeBoundingBox;n.x=bmMin(a.left,n.x),n.xMax=bmMax(a.right,n.xMax),n.y=bmMin(a.top,n.y),n.yMax=bmMax(a.bottom,n.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,i,s){for(var n=[[e[0],s[0]],[e[1],s[1]]],a,o,f,l,c,m,E,u=0;u<2;++u)o=6*e[u]-12*t[u]+6*i[u],a=-3*e[u]+9*t[u]-9*i[u]+3*s[u],f=3*t[u]-3*e[u],o|=0,a|=0,f|=0,a===0&&o===0||(a===0?(l=-f/o,l>0&&l<1&&n[u].push(this.calculateF(l,e,t,i,s,u))):(c=o*o-4*f*a,c>=0&&(m=(-o+bmSqrt(c))/(2*a),m>0&&m<1&&n[u].push(this.calculateF(m,e,t,i,s,u)),E=(-o-bmSqrt(c))/(2*a),E>0&&E<1&&n[u].push(this.calculateF(E,e,t,i,s,u)))));this.shapeBoundingBox.left=bmMin.apply(null,n[0]),this.shapeBoundingBox.top=bmMin.apply(null,n[1]),this.shapeBoundingBox.right=bmMax.apply(null,n[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,n[1])},HShapeElement.prototype.calculateF=function(e,t,i,s,n,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*i[a]+3*(1-e)*bmPow(e,2)*s[a]+bmPow(e,3)*n[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var i,s=e.length;for(i=0;i<s;i+=1)e[i]&&e[i].sh?this.calculateShapeBoundingBox(e[i],t):e[i]&&e[i].it?this.calculateBoundingBox(e[i].it,t):e[i]&&e[i].style&&e[i].w&&this.expandStrokeBoundingBox(e[i].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var i=0;if(e.keyframes){for(var s=0;s<e.keyframes.length;s+=1){var n=e.keyframes[s].s;n>i&&(i=n)}i*=e.mult}else i=e.v*e.mult;t.x-=i,t.xMax+=i,t.y-=i,t.yMax+=i},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var i=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),i=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),i=!0),i||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var s=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";s.transform=n,s.webkitTransform=n}}};function HTextElement(e,t,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,i=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=i,t.color=i,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var s=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",s.fClass)this.innerElem.className=s.fClass;else{t.fontFamily=s.fFamily;var n=e.fWeight,a=e.fStyle;t.fontStyle=a,t.fontWeight=n}var o,f,l=e.l;f=l.length;var c,m,E,u=this.mHelper,P,x="",g=0;for(o=0;o<f;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[g]?c=this.textPaths[g]:(c=createNS("path"),c.setAttribute("stroke-linecap",lineCapEnum[1]),c.setAttribute("stroke-linejoin",lineJoinEnum[2]),c.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[g]?(m=this.textSpans[g],E=m.children[0]):(m=createTag("div"),m.style.lineHeight=0,E=createNS("svg"),E.appendChild(c),styleDiv(m)))):this.isMasked?c=this.textPaths[g]?this.textPaths[g]:createNS("text"):this.textSpans[g]?(m=this.textSpans[g],c=this.textPaths[g]):(m=createTag("span"),styleDiv(m),c=createTag("span"),styleDiv(c),m.appendChild(c)),this.globalData.fontManager.chars){var _=this.globalData.fontManager.getCharData(e.finalText[o],s.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),d;if(_?d=_.data:d=null,u.reset(),d&&d.shapes&&d.shapes.length&&(P=d.shapes[0].it,u.scale(e.finalSize/100,e.finalSize/100),x=this.createPathShape(u,P),c.setAttribute("d",x)),this.isMasked)this.innerElem.appendChild(c);else{if(this.innerElem.appendChild(m),d&&d.shapes){document.body.appendChild(E);var y=E.getBBox();E.setAttribute("width",y.width+2),E.setAttribute("height",y.height+2),E.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var p=E.style,b="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";p.transform=b,p.webkitTransform=b,l[o].yOffset=y.y-1}else E.setAttribute("width",1),E.setAttribute("height",1);m.appendChild(E)}}else if(c.textContent=l[o].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(c);else{this.innerElem.appendChild(m);var A=c.style,M="translate3d(0,"+-e.finalSize/1.2+"px,0)";A.transform=M,A.webkitTransform=M}this.isMasked?this.textSpans[g]=c:this.textSpans[g]=m,this.textSpans[g].style.display="block",this.textPaths[g]=c,g+=1}for(;g<this.textSpans.length;)this.textSpans[g].style.display="none",g+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var i,s,n=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;s=o.length;var f,l,c;for(i=0;i<s;i+=1)o[i].n?n+=1:(l=this.textSpans[i],c=this.textPaths[i],f=a[n],n+=1,f._mdf.m&&(this.isMasked?l.setAttribute("transform",f.m):(l.style.webkitTransform=f.m,l.style.transform=f.m)),l.style.opacity=f.o,f.sw&&f._mdf.sw&&c.setAttribute("stroke-width",f.sw),f.sc&&f._mdf.sc&&c.setAttribute("stroke",f.sc),f.fc&&f._mdf.fc&&(c.setAttribute("fill",f.fc),c.style.color=f.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var m=this.innerElem.getBBox();this.currentBBox.w!==m.width&&(this.currentBBox.w=m.width,this.svgElement.setAttribute("width",m.width)),this.currentBBox.h!==m.height&&(this.currentBBox.h=m.height,this.svgElement.setAttribute("height",m.height));var E=1;if(this.currentBBox.w!==m.width+E*2||this.currentBBox.h!==m.height+E*2||this.currentBBox.x!==m.x-E||this.currentBBox.y!==m.y-E){this.currentBBox.w=m.width+E*2,this.currentBBox.h=m.height+E*2,this.currentBBox.x=m.x-E,this.currentBBox.y=m.y-E,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=u,e.webkitTransform=u}}}};function HCameraElement(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initHierarchy();var s=PropertyFactory.getProp;if(this.pe=s(this,e.pe,0,0,this),e.ks.p.s?(this.px=s(this,e.ks.p.x,1,0,this),this.py=s(this,e.ks.p.y,1,0,this),this.pz=s(this,e.ks.p.z,1,0,this)):this.p=s(this,e.ks.p,1,0,this),e.ks.a&&(this.a=s(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var n,a=e.ks.or.k.length;for(n=0;n<a;n+=1)e.ks.or.k[n].to=null,e.ks.or.k[n].ti=null}this.or=s(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=s(this,e.ks.rx,0,degToRads,this),this.ry=s(this,e.ks.ry,0,degToRads,this),this.rz=s(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t=this.comp.threeDElements.length,i,s,n;for(e=0;e<t;e+=1)if(i=this.comp.threeDElements[e],i.type==="3d"){s=i.perspectiveElem.style,n=i.container.style;var a=this.pe.v+"px",o="0px 0px 0px",f="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.perspective=a,s.webkitPerspective=a,n.transformOrigin=o,n.mozTransformOrigin=o,n.webkitTransformOrigin=o,s.transform=f,s.webkitTransform=f}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e=this._isFirstFrame,t,i;if(this.hierarchy)for(i=this.hierarchy.length,t=0;t<i;t+=1)e=this.hierarchy[t].finalTransform.mProp._mdf||e;if(e||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(i=this.hierarchy.length-1,t=i;t>=0;t-=1){var s=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-s.p.v[0],-s.p.v[1],s.p.v[2]),this.mat.rotateX(-s.or.v[0]).rotateY(-s.or.v[1]).rotateZ(s.or.v[2]),this.mat.rotateX(-s.rx.v).rotateY(-s.ry.v).rotateZ(s.rz.v),this.mat.scale(1/s.s.v[0],1/s.s.v[1],1/s.s.v[2]),this.mat.translate(s.a.v[0],s.a.v[1],s.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var n;this.p?n=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:n=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),o=[n[0]/a,n[1]/a,n[2]/a],f=Math.sqrt(o[2]*o[2]+o[0]*o[0]),l=Math.atan2(o[1],f),c=Math.atan2(o[0],-o[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var m=!this._prevMat.equals(this.mat);if((m||this.pe._mdf)&&this.comp.threeDElements){i=this.comp.threeDElements.length;var E,u,P;for(t=0;t<i;t+=1)if(E=this.comp.threeDElements[t],E.type==="3d"){if(m){var x=this.mat.toCSS();P=E.container.style,P.transform=x,P.webkitTransform=x}this.pe._mdf&&(u=E.perspectiveElem.style,u.perspective=this.pe.v+"px",u.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,t){var i=e.getBaseElement();if(i){var s=this.layers[t];if(!s.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(i,t);else{for(var n=0,a,o,f;n<t;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement&&(o=this.elements[n],f=this.layers[n].ddd?this.getThreeDContainerByPos(n):o.getBaseElement(),a=f||a),n+=1;a?(!s.ddd||!this.supports3d)&&this.layerElement.insertBefore(i,a):(!s.ddd||!this.supports3d)&&this.layerElement.appendChild(i)}else this.addTo3dContainer(i,t)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,i=this.threeDElements.length;t<i;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var i=createTag("div"),s,n;styleDiv(i);var a=createTag("div");if(styleDiv(a),t==="3d"){s=i.style,s.width=this.globalData.compSize.w+"px",s.height=this.globalData.compSize.h+"px";var o="50% 50%";s.webkitTransformOrigin=o,s.mozTransformOrigin=o,s.transformOrigin=o,n=a.style;var f="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.transform=f,n.webkitTransform=f}i.appendChild(a);var l={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,i,s="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(s!=="3d"&&(s="3d",i=this.createThreeDContainer(e,"3d")),i.endPos=Math.max(i.endPos,e)):(s!=="2d"&&(s="2d",i=this.createThreeDContainer(e,"2d")),i.endPos=Math.max(i.endPos,e));for(t=this.threeDElements.length,e=t-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var i=0,s=this.threeDElements.length;i<s;){if(t<=this.threeDElements[i].endPos){for(var n=this.threeDElements[i].startPos,a;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(a=this.elements[n].getBaseElement()),n+=1;a?this.threeDElements[i].container.insertBefore(e,a):this.threeDElements[i].container.appendChild(e);break}i+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),i=this.animationItem.wrapper,s=t.style;s.width=e.w+"px",s.height=e.h+"px",this.resizerElem=t,styleDiv(t),s.transformStyle="flat",s.mozTransformStyle="flat",s.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),i.appendChild(t),s.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var a=createNS("defs");n.appendChild(a),this.data=e,this.setupGlobalData(e,n),this.globalData.defs=a,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,i=e/t,s=this.globalData.compSize.w/this.globalData.compSize.h,n,a,o,f;s>i?(n=e/this.globalData.compSize.w,a=e/this.globalData.compSize.w,o=0,f=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(n=t/this.globalData.compSize.h,a=t/this.globalData.compSize.h,o=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,f=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+n+",0,0,0,0,"+a+",0,0,0,0,1,0,"+o+","+f+",0,1)",l.transform=l.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,i,s=this.threeDElements.length;for(i=0;i<s;i+=1){var n=this.threeDElements[i].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",n.perspective=n.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,i=e.length,s=createTag("div");for(t=0;t<i;t+=1)if(e[t].xt){var n=this.createComp(e[t],s,this.globalData.comp,null);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}};function HCompElement(e,t,i){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var i=0,s;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(s=this.elements[i].getBaseElement()),i+=1;s?this.layerElement.insertBefore(e,s):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(){return function(e){function t(i){for(var s=0,n=e.layers.length;s<n;){if(e.layers[s].nm===i||e.layers[s].ind===i)return e.elements[s].layerInterface;s+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t}}();function _typeof$2(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(i){return typeof i}:_typeof$2=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$2(e)}function seedRandom(e,t){var i=this,s=256,n=6,a=52,o="random",f=t.pow(s,n),l=t.pow(2,a),c=l*2,m=s-1,E;function u(p,b,A){var M=[];b=b===!0?{entropy:!0}:b||{};var L=_(g(b.entropy?[p,y(e)]:p===null?d():p,3),M),k=new P(M),B=function(){for(var Z=k.g(n),j=f,U=0;Z<l;)Z=(Z+U)*s,j*=s,U=k.g(1);for(;Z>=c;)Z/=2,j/=2,U>>>=1;return(Z+U)/j};return B.int32=function(){return k.g(4)|0},B.quick=function(){return k.g(4)/4294967296},B.double=B,_(y(k.S),e),(b.pass||A||function(Y,Z,j,U){return U&&(U.S&&x(U,k),Y.state=function(){return x(k,{})}),j?(t[o]=Y,Z):Y})(B,L,"global"in b?b.global:this==t,b.state)}t["seed"+o]=u;function P(p){var b,A=p.length,M=this,L=0,k=M.i=M.j=0,B=M.S=[];for(A||(p=[A++]);L<s;)B[L]=L++;for(L=0;L<s;L++)B[L]=B[k=m&k+p[L%A]+(b=B[L])],B[k]=b;M.g=function(Y){for(var Z,j=0,U=M.i,X=M.j,z=M.S;Y--;)Z=z[U=m&U+1],j=j*s+z[m&(z[U]=z[X=m&X+Z])+(z[X]=Z)];return M.i=U,M.j=X,j}}function x(p,b){return b.i=p.i,b.j=p.j,b.S=p.S.slice(),b}function g(p,b){var A=[],M=_typeof$2(p),L;if(b&&M=="object")for(L in p)try{A.push(g(p[L],b-1))}catch{}return A.length?A:M=="string"?p:p+"\0"}function _(p,b){for(var A=p+"",M,L=0;L<A.length;)b[m&L]=m&(M^=b[m&L]*19)+A.charCodeAt(L++);return y(b)}function d(){try{var p=new Uint8Array(s);return(i.crypto||i.msCrypto).getRandomValues(p),y(p)}catch{var b=i.navigator,A=b&&b.plugins;return[+new Date,i,A,i.screen,y(e)]}}function y(p){return String.fromCharCode.apply(0,p)}_(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(i){return typeof i}:_typeof$1=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return e==="number"||t instanceof Number||e==="boolean"||e==="string"}function $bm_neg(e){var t=_typeof$1(e);if(t==="number"||e instanceof Number||t==="boolean")return-e;if($bm_isInstanceOfArray(e)){var i,s=e.length,n=[];for(i=0;i<s;i+=1)n[i]=-e[i];return n}return e.propType?e.v:-e}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var i=_typeof$1(e),s=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(s,t)||i==="string"||s==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t))return e=e.slice(0),e[0]+=t,e;if(isNumerable(i,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,a=e.length,o=t.length,f=[];n<a||n<o;)(typeof e[n]=="number"||e[n]instanceof Number)&&(typeof t[n]=="number"||t[n]instanceof Number)?f[n]=e[n]+t[n]:f[n]=t[n]===void 0?e[n]:e[n]||t[n],n+=1;return f}return 0}var add=sum;function sub(e,t){var i=_typeof$1(e),s=_typeof$1(t);if(isNumerable(i,e)&&isNumerable(s,t))return i==="string"&&(e=parseInt(e,10)),s==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t))return e=e.slice(0),e[0]-=t,e;if(isNumerable(i,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,a=e.length,o=t.length,f=[];n<a||n<o;)(typeof e[n]=="number"||e[n]instanceof Number)&&(typeof t[n]=="number"||t[n]instanceof Number)?f[n]=e[n]-t[n]:f[n]=t[n]===void 0?e[n]:e[n]||t[n],n+=1;return f}return 0}function mul(e,t){var i=_typeof$1(e),s=_typeof$1(t),n;if(isNumerable(i,e)&&isNumerable(s,t))return e*t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(o=e.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e[a]*t;return n}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e*t[a];return n}return 0}function div(e,t){var i=_typeof$1(e),s=_typeof$1(t),n;if(isNumerable(i,e)&&isNumerable(s,t))return e/t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(o=e.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e[a]/t;return n}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,n=createTypedArray("float32",o),a=0;a<o;a+=1)n[a]=e/t[a];return n}return 0}function mod(e,t){return typeof e=="string"&&(e=parseInt(e,10)),typeof t=="string"&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,i){if(t>i){var s=i;i=t,t=s}return Math.min(Math.max(e,t),i)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var i,s=Math.min(e.length,t.length),n=0;for(i=0;i<s;i+=1)n+=Math.pow(t[i]-e[i],2);return Math.sqrt(n)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],i=e[1],s=e[2],n=Math.max(t,i,s),a=Math.min(t,i,s),o,f,l=(n+a)/2;if(n===a)o=0,f=0;else{var c=n-a;switch(f=l>.5?c/(2-n-a):c/(n+a),n){case t:o=(i-s)/c+(i<s?6:0);break;case i:o=(s-t)/c+2;break;case s:o=(t-i)/c+4;break}o/=6}return[o,f,l,e[3]]}function hue2rgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function hslToRgb(e){var t=e[0],i=e[1],s=e[2],n,a,o;if(i===0)n=s,o=s,a=s;else{var f=s<.5?s*(1+i):s+i-s*i,l=2*s-f;n=hue2rgb(l,f,t+1/3),a=hue2rgb(l,f,t),o=hue2rgb(l,f,t-1/3)}return[n,a,o,e[3]]}function linear(e,t,i,s,n){if((s===void 0||n===void 0)&&(s=t,n=i,t=0,i=1),i<t){var a=i;i=t,t=a}if(e<=t)return s;if(e>=i)return n;var o=i===t?0:(e-t)/(i-t);if(!s.length)return s+(n-s)*o;var f,l=s.length,c=createTypedArray("float32",l);for(f=0;f<l;f+=1)c[f]=s[f]+(n[f]-s[f])*o;return c}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var i,s=t.length;e||(e=createTypedArray("float32",s));var n=createTypedArray("float32",s),a=BMMath.random();for(i=0;i<s;i+=1)n[i]=e[i]+a*(t[i]-e[i]);return n}e===void 0&&(e=0);var o=BMMath.random();return e+o*(t-e)}function createPath(e,t,i,s){var n,a=e.length,o=shapePool.newElement();o.setPathData(!!s,a);var f=[0,0],l,c;for(n=0;n<a;n+=1)l=t&&t[n]?t[n]:f,c=i&&i[n]?i[n]:f,o.setTripleAt(e[n][0],e[n][1],c[0]+e[n][0],c[1]+e[n][1],l[0]+e[n][0],l[1]+e[n][1],n,!0);return o}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function e(t,i){var s,n,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a);t=5;var f=Math.floor(time*t);for(s=0,n=0;s<f;){for(n=0;n<a;n+=1)o[n]+=-i+i*2*BMMath.random();s+=1}var l=time*t,c=l-Math.floor(l),m=createTypedArray("float32",a);if(a>1){for(n=0;n<a;n+=1)m[n]=this.pv[n]+o[n]+(-i+i*2*BMMath.random())*c;return m}return this.pv+o[0]+(-i+i*2*BMMath.random())*c}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(e,t){var i=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],s=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads,n=-Math.atan2(i[1],i[2])/degToRads;return[n,s,0]}function easeOut(e,t,i,s,n){return applyEase(easeOutBez,e,t,i,s,n)}function easeIn(e,t,i,s,n){return applyEase(easeInBez,e,t,i,s,n)}function ease(e,t,i,s,n){return applyEase(easeInOutBez,e,t,i,s,n)}function applyEase(e,t,i,s,n,a){n===void 0?(n=i,a=s):t=(t-i)/(s-i),t>1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(n)){var f,l=n.length,c=createTypedArray("float32",l);for(f=0;f<l;f+=1)c[f]=(a[f]-n[f])*o+n[f];return c}return(a-n)*o+n}function nearestKey(e){var t,i=data.k.length,s,n;if(!data.k.length||typeof data.k[0]=="number")s=0,n=0;else if(s=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)s=1,n=data.k[0].t;else{for(t=0;t<i-1;t+=1)if(e===data.k[t].t){s=t+1,n=data.k[t].t;break}else if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(s=t+2,n=data.k[t+1].t):(s=t+1,n=data.k[t].t);break}s===-1&&(s=t+1,n=data.k[t].t)}var a={};return a.index=s,a.time=n/elem.comp.globalData.frameRate,a}function key(e){var t,i,s;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var n=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(s=n.length,i=0;i<s;i+=1)t[i]=n[i],t.value[i]=n[i];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return!e&&e!==0&&(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return typeof value=="string"?t===void 0?value.substring(e):value.substring(e,t):""}function substr(e,t){return typeof value=="string"?t===void 0?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=e===0?0:Math.floor(time*e)/e,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={};e.initExpressions=t,e.resetFrame=ExpressionManager.resetFrame;function t(i){var s=0,n=[];function a(){s+=1}function o(){s-=1,s===0&&l()}function f(c){n.indexOf(c)===-1&&n.push(c)}function l(){var c,m=n.length;for(c=0;c<m;c+=1)n[c].release();n.length=0}i.renderer.compInterface=CompExpressionInterface(i.renderer),i.renderer.globalData.projectInterface.registerComposition(i.renderer),i.renderer.globalData.pushExpression=a,i.renderer.globalData.popExpression=o,i.renderer.globalData.registerExpressionProperty=f}return e}(),MaskManagerInterface=function(){function e(i,s){this._mask=i,this._data=s}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var t=function(s){var n=createSizedArray(s.viewData.length),a,o=s.viewData.length;for(a=0;a<o;a+=1)n[a]=new e(s.viewData[a],s.masksProperties[a]);var f=function(c){for(a=0;a<o;){if(s.masksProperties[a].nm===c)return n[a];a+=1}return null};return f};return t}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function i(o,f,l){Object.defineProperty(o,"velocity",{get:function(){return f.getVelocityAtTime(f.comp.currentFrame)}}),o.numKeys=f.keyframes?f.keyframes.length:0,o.key=function(c){if(!o.numKeys)return 0;var m="";"s"in f.keyframes[c-1]?m=f.keyframes[c-1].s:"e"in f.keyframes[c-2]?m=f.keyframes[c-2].e:m=f.keyframes[c-2].s;var E=l==="unidimensional"?new Number(m):Object.assign({},m);return E.time=f.keyframes[c-1].t/f.elem.comp.globalData.frameRate,E.value=l==="unidimensional"?m[0]:m,E},o.valueAtTime=f.getValueAtTime,o.speedAtTime=f.getSpeedAtTime,o.velocityAtTime=f.getVelocityAtTime,o.propertyGroup=f.propertyGroup}function s(o){(!o||!("pv"in o))&&(o=e);var f=1/o.mult,l=o.pv*f,c=new Number(l);return c.value=l,i(c,o,"unidimensional"),function(){return o.k&&o.getValue(),l=o.v*f,c.value!==l&&(c=new Number(l),c.value=l,i(c,o,"unidimensional")),c}}function n(o){(!o||!("pv"in o))&&(o=t);var f=1/o.mult,l=o.data&&o.data.l||o.pv.length,c=createTypedArray("float32",l),m=createTypedArray("float32",l);return c.value=m,i(c,o,"multidimensional"),function(){o.k&&o.getValue();for(var E=0;E<l;E+=1)m[E]=o.v[E]*f,c[E]=m[E];return c}}function a(){return e}return function(o){return o?o.propType==="unidimensional"?s(o):n(o):a}}(),TransformExpressionInterface=function(){return function(e){function t(o){switch(o){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)});var i,s,n,a;return e.p?a=ExpressionPropertyInterface(e.p):(i=ExpressionPropertyInterface(e.px),s=ExpressionPropertyInterface(e.py),e.pz&&(n=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[i(),s(),n?n():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t}}(),LayerExpressionInterface=function(){function e(c){var m=new Matrix;if(c!==void 0){var E=this._elem.finalTransform.mProp.getValueAtTime(c);E.clone(m)}else{var u=this._elem.finalTransform.mProp;u.applyToMatrix(m)}return m}function t(c,m){var E=this.getMatrix(m);return E.props[12]=0,E.props[13]=0,E.props[14]=0,this.applyPoint(E,c)}function i(c,m){var E=this.getMatrix(m);return this.applyPoint(E,c)}function s(c,m){var E=this.getMatrix(m);return E.props[12]=0,E.props[13]=0,E.props[14]=0,this.invertPoint(E,c)}function n(c,m){var E=this.getMatrix(m);return this.invertPoint(E,c)}function a(c,m){if(this._elem.hierarchy&&this._elem.hierarchy.length){var E,u=this._elem.hierarchy.length;for(E=0;E<u;E+=1)this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(c)}return c.applyToPointArray(m[0],m[1],m[2]||0)}function o(c,m){if(this._elem.hierarchy&&this._elem.hierarchy.length){var E,u=this._elem.hierarchy.length;for(E=0;E<u;E+=1)this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(c)}return c.inversePoint(m)}function f(c){var m=new Matrix;if(m.reset(),this._elem.finalTransform.mProp.applyToMatrix(m),this._elem.hierarchy&&this._elem.hierarchy.length){var E,u=this._elem.hierarchy.length;for(E=0;E<u;E+=1)this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(m);return m.inversePoint(c)}return m.inversePoint(c)}function l(){return[1,1,1,1]}return function(c){var m;function E(g){P.mask=new MaskManagerInterface(g,c)}function u(g){P.effect=g}function P(g){switch(g){case"ADBE Root Vectors Group":case"Contents":case 2:return P.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return m;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return P.effect;case"ADBE Text Properties":return P.textInterface;default:return null}}P.getMatrix=e,P.invertPoint=o,P.applyPoint=a,P.toWorld=i,P.toWorldVec=t,P.fromWorld=n,P.fromWorldVec=s,P.toComp=i,P.fromComp=f,P.sampleImage=l,P.sourceRectAtTime=c.sourceRectAtTime.bind(c),P._elem=c,m=TransformExpressionInterface(c.finalTransform.mProp);var x=getDescriptor(m,"anchorPoint");return Object.defineProperties(P,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(m,"rotation"),scale:getDescriptor(m,"scale"),position:getDescriptor(m,"position"),opacity:getDescriptor(m,"opacity"),anchorPoint:x,anchor_point:x,transform:{get:function(){return m}},active:{get:function(){return c.isInRange}}}),P.startTime=c.data.st,P.index=c.data.ind,P.source=c.data.refId,P.height=c.data.ty===0?c.data.h:100,P.width=c.data.ty===0?c.data.w:100,P.inPoint=c.data.ip/c.comp.globalData.frameRate,P.outPoint=c.data.op/c.comp.globalData.frameRate,P._name=c.data.nm,P.registerMaskInterface=E,P.registerEffectsInterface=u,P}}(),propertyGroupFactory=function(){return function(e,t){return function(i){return i=i===void 0?1:i,i<=0?e:t(i-1)}}}(),PropertyInterface=function(){return function(e,t){var i={_name:e};function s(n){return n=n===void 0?1:n,n<=0?i:t(n-1)}return s}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(n,a){if(n.effectsManager){var o=[],f=n.data.ef,l,c=n.effectsManager.effectElements.length;for(l=0;l<c;l+=1)o.push(i(f[l],n.effectsManager.effectElements[l],a,n));var m=n.data.ef||[],E=function(P){for(l=0,c=m.length;l<c;){if(P===m[l].nm||P===m[l].mn||P===m[l].ix)return o[l];l+=1}return null};return Object.defineProperty(E,"numProperties",{get:function(){return m.length}}),E}return null}function i(n,a,o,f){function l(P){for(var x=n.ef,g=0,_=x.length;g<_;){if(P===x[g].nm||P===x[g].mn||P===x[g].ix)return x[g].ty===5?m[g]:m[g]();g+=1}throw new Error}var c=propertyGroupFactory(l,o),m=[],E,u=n.ef.length;for(E=0;E<u;E+=1)n.ef[E].ty===5?m.push(i(n.ef[E],a.effectElements[E],a.effectElements[E].propertyGroup,f)):m.push(s(a.effectElements[E],n.ef[E].ty,f,c));return n.mn==="ADBE Color Control"&&Object.defineProperty(l,"color",{get:function(){return m[0]()}}),Object.defineProperties(l,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:c}}),l.enabled=n.en!==0,l.active=l.enabled,l}function s(n,a,o,f){var l=ExpressionPropertyInterface(n.p);function c(){return a===10?o.comp.compInterface(n.p.v):l()}return n.p.setGroupProperty&&n.p.setGroupProperty(PropertyInterface("",f)),c}return e}(),ShapePathInterface=function(){return function(t,i,s){var n=i.sh;function a(f){return f==="Shape"||f==="shape"||f==="Path"||f==="path"||f==="ADBE Vector Shape"||f===2?a.path:null}var o=propertyGroupFactory(a,s);return n.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(a,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:s}}),a}}(),ShapeExpressionInterface=function(){function e(x,g,_){var d=[],y,p=x?x.length:0;for(y=0;y<p;y+=1)x[y].ty==="gr"?d.push(i(x[y],g[y],_)):x[y].ty==="fl"?d.push(s(x[y],g[y],_)):x[y].ty==="st"?d.push(o(x[y],g[y],_)):x[y].ty==="tm"?d.push(f(x[y],g[y],_)):x[y].ty==="tr"||(x[y].ty==="el"?d.push(c(x[y],g[y],_)):x[y].ty==="sr"?d.push(m(x[y],g[y],_)):x[y].ty==="sh"?d.push(ShapePathInterface(x[y],g[y],_)):x[y].ty==="rc"?d.push(E(x[y],g[y],_)):x[y].ty==="rd"?d.push(u(x[y],g[y],_)):x[y].ty==="rp"?d.push(P(x[y],g[y],_)):x[y].ty==="gf"?d.push(n(x[y],g[y],_)):d.push(a(x[y],g[y])));return d}function t(x,g,_){var d,y=function(A){for(var M=0,L=d.length;M<L;){if(d[M]._name===A||d[M].mn===A||d[M].propertyIndex===A||d[M].ix===A||d[M].ind===A)return d[M];M+=1}return typeof A=="number"?d[A-1]:null};y.propertyGroup=propertyGroupFactory(y,_),d=e(x.it,g.it,y.propertyGroup),y.numProperties=d.length;var p=l(x.it[x.it.length-1],g.it[g.it.length-1],y.propertyGroup);return y.transform=p,y.propertyIndex=x.cix,y._name=x.nm,y}function i(x,g,_){var d=function(A){switch(A){case"ADBE Vectors Group":case"Contents":case 2:return d.content;default:return d.transform}};d.propertyGroup=propertyGroupFactory(d,_);var y=t(x,g,d.propertyGroup),p=l(x.it[x.it.length-1],g.it[g.it.length-1],d.propertyGroup);return d.content=y,d.transform=p,Object.defineProperty(d,"_name",{get:function(){return x.nm}}),d.numProperties=x.np,d.propertyIndex=x.ix,d.nm=x.nm,d.mn=x.mn,d}function s(x,g,_){function d(y){return y==="Color"||y==="color"?d.color:y==="Opacity"||y==="opacity"?d.opacity:null}return Object.defineProperties(d,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},_name:{value:x.nm},mn:{value:x.mn}}),g.c.setGroupProperty(PropertyInterface("Color",_)),g.o.setGroupProperty(PropertyInterface("Opacity",_)),d}function n(x,g,_){function d(y){return y==="Start Point"||y==="start point"?d.startPoint:y==="End Point"||y==="end point"?d.endPoint:y==="Opacity"||y==="opacity"?d.opacity:null}return Object.defineProperties(d,{startPoint:{get:ExpressionPropertyInterface(g.s)},endPoint:{get:ExpressionPropertyInterface(g.e)},opacity:{get:ExpressionPropertyInterface(g.o)},type:{get:function(){return"a"}},_name:{value:x.nm},mn:{value:x.mn}}),g.s.setGroupProperty(PropertyInterface("Start Point",_)),g.e.setGroupProperty(PropertyInterface("End Point",_)),g.o.setGroupProperty(PropertyInterface("Opacity",_)),d}function a(){function x(){return null}return x}function o(x,g,_){var d=propertyGroupFactory(L,_),y=propertyGroupFactory(M,d);function p(k){Object.defineProperty(M,x.d[k].nm,{get:ExpressionPropertyInterface(g.d.dataProps[k].p)})}var b,A=x.d?x.d.length:0,M={};for(b=0;b<A;b+=1)p(b),g.d.dataProps[b].p.setGroupProperty(y);function L(k){return k==="Color"||k==="color"?L.color:k==="Opacity"||k==="opacity"?L.opacity:k==="Stroke Width"||k==="stroke width"?L.strokeWidth:null}return Object.defineProperties(L,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},strokeWidth:{get:ExpressionPropertyInterface(g.w)},dash:{get:function(){return M}},_name:{value:x.nm},mn:{value:x.mn}}),g.c.setGroupProperty(PropertyInterface("Color",d)),g.o.setGroupProperty(PropertyInterface("Opacity",d)),g.w.setGroupProperty(PropertyInterface("Stroke Width",d)),L}function f(x,g,_){function d(p){return p===x.e.ix||p==="End"||p==="end"?d.end:p===x.s.ix?d.start:p===x.o.ix?d.offset:null}var y=propertyGroupFactory(d,_);return d.propertyIndex=x.ix,g.s.setGroupProperty(PropertyInterface("Start",y)),g.e.setGroupProperty(PropertyInterface("End",y)),g.o.setGroupProperty(PropertyInterface("Offset",y)),d.propertyIndex=x.ix,d.propertyGroup=_,Object.defineProperties(d,{start:{get:ExpressionPropertyInterface(g.s)},end:{get:ExpressionPropertyInterface(g.e)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:x.nm}}),d.mn=x.mn,d}function l(x,g,_){function d(p){return x.a.ix===p||p==="Anchor Point"?d.anchorPoint:x.o.ix===p||p==="Opacity"?d.opacity:x.p.ix===p||p==="Position"?d.position:x.r.ix===p||p==="Rotation"||p==="ADBE Vector Rotation"?d.rotation:x.s.ix===p||p==="Scale"?d.scale:x.sk&&x.sk.ix===p||p==="Skew"?d.skew:x.sa&&x.sa.ix===p||p==="Skew Axis"?d.skewAxis:null}var y=propertyGroupFactory(d,_);return g.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",y)),g.transform.mProps.p.setGroupProperty(PropertyInterface("Position",y)),g.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",y)),g.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",y)),g.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",y)),g.transform.mProps.sk&&(g.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",y)),g.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",y))),g.transform.op.setGroupProperty(PropertyInterface("Opacity",y)),Object.defineProperties(d,{opacity:{get:ExpressionPropertyInterface(g.transform.mProps.o)},position:{get:ExpressionPropertyInterface(g.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(g.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(g.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(g.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(g.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(g.transform.mProps.sa)},_name:{value:x.nm}}),d.ty="tr",d.mn=x.mn,d.propertyGroup=_,d}function c(x,g,_){function d(b){return x.p.ix===b?d.position:x.s.ix===b?d.size:null}var y=propertyGroupFactory(d,_);d.propertyIndex=x.ix;var p=g.sh.ty==="tm"?g.sh.prop:g.sh;return p.s.setGroupProperty(PropertyInterface("Size",y)),p.p.setGroupProperty(PropertyInterface("Position",y)),Object.defineProperties(d,{size:{get:ExpressionPropertyInterface(p.s)},position:{get:ExpressionPropertyInterface(p.p)},_name:{value:x.nm}}),d.mn=x.mn,d}function m(x,g,_){function d(b){return x.p.ix===b?d.position:x.r.ix===b?d.rotation:x.pt.ix===b?d.points:x.or.ix===b||b==="ADBE Vector Star Outer Radius"?d.outerRadius:x.os.ix===b?d.outerRoundness:x.ir&&(x.ir.ix===b||b==="ADBE Vector Star Inner Radius")?d.innerRadius:x.is&&x.is.ix===b?d.innerRoundness:null}var y=propertyGroupFactory(d,_),p=g.sh.ty==="tm"?g.sh.prop:g.sh;return d.propertyIndex=x.ix,p.or.setGroupProperty(PropertyInterface("Outer Radius",y)),p.os.setGroupProperty(PropertyInterface("Outer Roundness",y)),p.pt.setGroupProperty(PropertyInterface("Points",y)),p.p.setGroupProperty(PropertyInterface("Position",y)),p.r.setGroupProperty(PropertyInterface("Rotation",y)),x.ir&&(p.ir.setGroupProperty(PropertyInterface("Inner Radius",y)),p.is.setGroupProperty(PropertyInterface("Inner Roundness",y))),Object.defineProperties(d,{position:{get:ExpressionPropertyInterface(p.p)},rotation:{get:ExpressionPropertyInterface(p.r)},points:{get:ExpressionPropertyInterface(p.pt)},outerRadius:{get:ExpressionPropertyInterface(p.or)},outerRoundness:{get:ExpressionPropertyInterface(p.os)},innerRadius:{get:ExpressionPropertyInterface(p.ir)},innerRoundness:{get:ExpressionPropertyInterface(p.is)},_name:{value:x.nm}}),d.mn=x.mn,d}function E(x,g,_){function d(b){return x.p.ix===b?d.position:x.r.ix===b?d.roundness:x.s.ix===b||b==="Size"||b==="ADBE Vector Rect Size"?d.size:null}var y=propertyGroupFactory(d,_),p=g.sh.ty==="tm"?g.sh.prop:g.sh;return d.propertyIndex=x.ix,p.p.setGroupProperty(PropertyInterface("Position",y)),p.s.setGroupProperty(PropertyInterface("Size",y)),p.r.setGroupProperty(PropertyInterface("Rotation",y)),Object.defineProperties(d,{position:{get:ExpressionPropertyInterface(p.p)},roundness:{get:ExpressionPropertyInterface(p.r)},size:{get:ExpressionPropertyInterface(p.s)},_name:{value:x.nm}}),d.mn=x.mn,d}function u(x,g,_){function d(b){return x.r.ix===b||b==="Round Corners 1"?d.radius:null}var y=propertyGroupFactory(d,_),p=g;return d.propertyIndex=x.ix,p.rd.setGroupProperty(PropertyInterface("Radius",y)),Object.defineProperties(d,{radius:{get:ExpressionPropertyInterface(p.rd)},_name:{value:x.nm}}),d.mn=x.mn,d}function P(x,g,_){function d(b){return x.c.ix===b||b==="Copies"?d.copies:x.o.ix===b||b==="Offset"?d.offset:null}var y=propertyGroupFactory(d,_),p=g;return d.propertyIndex=x.ix,p.c.setGroupProperty(PropertyInterface("Copies",y)),p.o.setGroupProperty(PropertyInterface("Offset",y)),Object.defineProperties(d,{copies:{get:ExpressionPropertyInterface(p.c)},offset:{get:ExpressionPropertyInterface(p.o)},_name:{value:x.nm}}),d.mn=x.mn,d}return function(x,g,_){var d;function y(b){if(typeof b=="number")return b=b===void 0?1:b,b===0?_:d[b-1];for(var A=0,M=d.length;A<M;){if(d[A]._name===b)return d[A];A+=1}return null}function p(){return _}return y.propertyGroup=propertyGroupFactory(y,p),d=e(x,g,y.propertyGroup),y.numProperties=d.length,y._name="Contents",y}}(),TextExpressionInterface=function(){return function(e){var t;function i(s){switch(s){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){e.textProperty.getValue();var n=e.textProperty.currentData.t;return(!t||n!==t.value)&&(t=new String(n),t.value=n||new String(n),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),i}}();function _typeof(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(i){return typeof i}:_typeof=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(e)}var FootageInterface=function(){var e=function(s){var n="",a=s.getFootageData();function o(){return n="",a=s.getFootageData(),f}function f(l){if(a[l])return n=l,a=a[l],_typeof(a)==="object"?f:a;var c=l.indexOf(n);if(c!==-1){var m=parseInt(l.substr(c+n.length),10);return a=a[m],_typeof(a)==="object"?f:a}return""}return o},t=function(s){function n(a){return a==="Outline"?n.outlineInterface():null}return n._name="Outline",n.outlineInterface=e(s),n};return function(i){function s(n){return n==="Data"?s.dataInterface:null}return s._name="Data",s.dataInterface=t(i),s}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers=function(){function e(o,f,l){f.x&&(l.k=!0,l.x=!0,l.initiateExpression=ExpressionManager.initiateExpression,l.effectsSequence.push(l.initiateExpression(o,f,l).bind(l)))}function t(o){return o*=this.elem.globalData.frameRate,o-=this.offsetTime,o!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<o?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(o,this._cachingAtTime),this._cachingAtTime.lastFrame=o),this._cachingAtTime.value}function i(o){var f=-.01,l=this.getValueAtTime(o),c=this.getValueAtTime(o+f),m=0;if(l.length){var E;for(E=0;E<l.length;E+=1)m+=Math.pow(c[E]-l[E],2);m=Math.sqrt(m)*100}else m=0;return m}function s(o){if(this.vel!==void 0)return this.vel;var f=-.001,l=this.getValueAtTime(o),c=this.getValueAtTime(o+f),m;if(l.length){m=createTypedArray("float32",l.length);var E;for(E=0;E<l.length;E+=1)m[E]=(c[E]-l[E])/f}else m=(c-l)/f;return m}function n(){return this.pv}function a(o){this.propertyGroup=o}return{searchExpressions:e,getSpeedAtTime:i,getVelocityAtTime:s,getValueAtTime:t,getStaticValueAtTime:n,setGroupProperty:a}}();function addPropertyDecorator(){function e(u,P,x){if(!this.k||!this.keyframes)return this.pv;u=u?u.toLowerCase():"";var g=this.comp.renderedFrame,_=this.keyframes,d=_[_.length-1].t;if(g<=d)return this.pv;var y,p;x?(P?y=Math.abs(d-this.elem.comp.globalData.frameRate*P):y=Math.max(0,d-this.elem.data.ip),p=d-y):((!P||P>_.length-1)&&(P=_.length-1),p=_[_.length-1-P].t,y=d-p);var b,A,M;if(u==="pingpong"){var L=Math.floor((g-p)/y);if(L%2!==0)return this.getValueAtTime((y-(g-p)%y+p)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var k=this.getValueAtTime(p/this.comp.globalData.frameRate,0),B=this.getValueAtTime(d/this.comp.globalData.frameRate,0),Y=this.getValueAtTime(((g-p)%y+p)/this.comp.globalData.frameRate,0),Z=Math.floor((g-p)/y);if(this.pv.length){for(M=new Array(k.length),A=M.length,b=0;b<A;b+=1)M[b]=(B[b]-k[b])*Z+Y[b];return M}return(B-k)*Z+Y}else if(u==="continue"){var j=this.getValueAtTime(d/this.comp.globalData.frameRate,0),U=this.getValueAtTime((d-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(M=new Array(j.length),A=M.length,b=0;b<A;b+=1)M[b]=j[b]+(j[b]-U[b])*((g-d)/this.comp.globalData.frameRate)/5e-4;return M}return j+(j-U)*((g-d)/.001)}return this.getValueAtTime(((g-p)%y+p)/this.comp.globalData.frameRate,0)}function t(u,P,x){if(!this.k)return this.pv;u=u?u.toLowerCase():"";var g=this.comp.renderedFrame,_=this.keyframes,d=_[0].t;if(g>=d)return this.pv;var y,p;x?(P?y=Math.abs(this.elem.comp.globalData.frameRate*P):y=Math.max(0,this.elem.data.op-d),p=d+y):((!P||P>_.length-1)&&(P=_.length-1),p=_[P].t,y=p-d);var b,A,M;if(u==="pingpong"){var L=Math.floor((d-g)/y);if(L%2===0)return this.getValueAtTime(((d-g)%y+d)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var k=this.getValueAtTime(d/this.comp.globalData.frameRate,0),B=this.getValueAtTime(p/this.comp.globalData.frameRate,0),Y=this.getValueAtTime((y-(d-g)%y+d)/this.comp.globalData.frameRate,0),Z=Math.floor((d-g)/y)+1;if(this.pv.length){for(M=new Array(k.length),A=M.length,b=0;b<A;b+=1)M[b]=Y[b]-(B[b]-k[b])*Z;return M}return Y-(B-k)*Z}else if(u==="continue"){var j=this.getValueAtTime(d/this.comp.globalData.frameRate,0),U=this.getValueAtTime((d+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(M=new Array(j.length),A=M.length,b=0;b<A;b+=1)M[b]=j[b]+(j[b]-U[b])*(d-g)/.001;return M}return j+(j-U)*(d-g)/.001}return this.getValueAtTime((y-((d-g)%y+d))/this.comp.globalData.frameRate,0)}function i(u,P){if(!this.k)return this.pv;if(u=(u||.4)*.5,P=Math.floor(P||5),P<=1)return this.pv;var x=this.comp.renderedFrame/this.comp.globalData.frameRate,g=x-u,_=x+u,d=P>1?(_-g)/(P-1):1,y=0,p=0,b;this.pv.length?b=createTypedArray("float32",this.pv.length):b=0;for(var A;y<P;){if(A=this.getValueAtTime(g+y*d),this.pv.length)for(p=0;p<this.pv.length;p+=1)b[p]+=A[p];else b+=A;y+=1}if(this.pv.length)for(p=0;p<this.pv.length;p+=1)b[p]/=P;else b/=P;return b}function s(u){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var P=this._transformCachingAtTime.v;if(P.cloneFromProps(this.pre.props),this.appliedTransformations<1){var x=this.a.getValueAtTime(u);P.translate(-x[0]*this.a.mult,-x[1]*this.a.mult,x[2]*this.a.mult)}if(this.appliedTransformations<2){var g=this.s.getValueAtTime(u);P.scale(g[0]*this.s.mult,g[1]*this.s.mult,g[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var _=this.sk.getValueAtTime(u),d=this.sa.getValueAtTime(u);P.skewFromAxis(-_*this.sk.mult,d*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var y=this.r.getValueAtTime(u);P.rotate(-y*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var p=this.rz.getValueAtTime(u),b=this.ry.getValueAtTime(u),A=this.rx.getValueAtTime(u),M=this.or.getValueAtTime(u);P.rotateZ(-p*this.rz.mult).rotateY(b*this.ry.mult).rotateX(A*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(u),k=this.py.getValueAtTime(u);if(this.data.p.z){var B=this.pz.getValueAtTime(u);P.translate(L*this.px.mult,k*this.py.mult,-B*this.pz.mult)}else P.translate(L*this.px.mult,k*this.py.mult,0)}else{var Y=this.p.getValueAtTime(u);P.translate(Y[0]*this.p.mult,Y[1]*this.p.mult,-Y[2]*this.p.mult)}return P}function n(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(u,P,x){var g=a(u,P,x);return g.dynamicProperties.length?g.getValueAtTime=s.bind(g):g.getValueAtTime=n.bind(g),g.setGroupProperty=expressionHelpers.setGroupProperty,g};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(u,P,x,g,_){var d=o(u,P,x,g,_);d.kf?d.getValueAtTime=expressionHelpers.getValueAtTime.bind(d):d.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(d),d.setGroupProperty=expressionHelpers.setGroupProperty,d.loopOut=e,d.loopIn=t,d.smooth=i,d.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(d),d.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(d),d.numKeys=P.a===1?P.k.length:0,d.propertyIndex=P.ix;var y=0;return x!==0&&(y=createTypedArray("float32",P.a===1?P.k[0].s.length:P.k.length)),d._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:y},expressionHelpers.searchExpressions(u,P,d),d.k&&_.addDynamicProperty(d),d};function f(u){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),u*=this.elem.globalData.frameRate,u-=this.offsetTime,u!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<u?this._caching.lastIndex:0,this._cachingAtTime.lastTime=u,this.interpolateShape(u,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var l=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function m(){}m.prototype={vertices:function(P,x){this.k&&this.getValue();var g=this.v;x!==void 0&&(g=this.getValueAtTime(x,0));var _,d=g._length,y=g[P],p=g.v,b=createSizedArray(d);for(_=0;_<d;_+=1)P==="i"||P==="o"?b[_]=[y[_][0]-p[_][0],y[_][1]-p[_][1]]:b[_]=[y[_][0],y[_][1]];return b},points:function(P){return this.vertices("v",P)},inTangents:function(P){return this.vertices("i",P)},outTangents:function(P){return this.vertices("o",P)},isClosed:function(){return this.v.c},pointOnPath:function(P,x){var g=this.v;x!==void 0&&(g=this.getValueAtTime(x,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(g));for(var _=this._segmentsLength,d=_.lengths,y=_.totalLength*P,p=0,b=d.length,A=0,M;p<b;){if(A+d[p].addedLength>y){var L=p,k=g.c&&p===b-1?0:p+1,B=(y-A)/d[p].addedLength;M=bez.getPointInSegment(g.v[L],g.v[k],g.o[L],g.i[k],B,d[p]);break}else A+=d[p].addedLength;p+=1}return M||(M=g.c?[g.v[0][0],g.v[0][1]]:[g.v[g._length-1][0],g.v[g._length-1][1]]),M},vectorOnPath:function(P,x,g){P==1?P=this.v.c:P==0&&(P=.999);var _=this.pointOnPath(P,x),d=this.pointOnPath(P+.001,x),y=d[0]-_[0],p=d[1]-_[1],b=Math.sqrt(Math.pow(y,2)+Math.pow(p,2));if(b===0)return[0,0];var A=g==="tangent"?[y/b,p/b]:[-p/b,y/b];return A},tangentOnPath:function(P,x){return this.vectorOnPath(P,x,"tangent")},normalOnPath:function(P,x){return this.vectorOnPath(P,x,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([m],l),extendPrototype([m],c),c.prototype.getValueAtTime=f,c.prototype.initiateExpression=ExpressionManager.initiateExpression;var E=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(u,P,x,g,_){var d=E(u,P,x,g,_);return d.propertyIndex=P.ix,d.lock=!1,x===3?expressionHelpers.searchExpressions(u,P.pt,d):x===4&&expressionHelpers.searchExpressions(u,P.ks,d),d.k&&u.addDynamicProperty(d),d}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,i){var s=this.calculateExpression(i);if(t.t!==s){var n={};return this.copyData(n,t),n.t=s.toString(),n.__complete=!1,n}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),i=this.searchExpressions();return this.kf=t||i,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,i){var s=createNS("feMerge");s.setAttribute("result",t);var n,a;for(a=0;a<i.length;a+=1)n=createNS("feMergeNode"),n.setAttribute("in",i[a]),s.appendChild(n),s.appendChild(n);return s}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,i,s,n){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",s+"_tint_1"),e.appendChild(a),a=createNS("feColorMatrix"),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",s+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(s,[n,s+"_tint_1",s+"_tint_2"]);e.appendChild(o)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,s=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+s+" 0"),this.matrixFilter.setAttribute("values",i[0]-t[0]+" 0 0 0 "+t[0]+" "+(i[1]-t[1])+" 0 0 0 "+t[1]+" "+(i[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}};function SVGFillFilter(e,t,i,s){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",s),e.appendChild(n),this.matrixFilter=n}SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,i=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+i+" 0")}};function SVGStrokeEffect(e,t,i){this.initialized=!1,this.filterManager=t,this.elem=i,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var e=this.elem.layerElement.children||this.elem.layerElement.childNodes,t,i,s,n;for(this.filterManager.effectElements[1].p.v===1?(n=this.elem.maskManager.masksProperties.length,s=0):(s=this.filterManager.effectElements[0].p.v-1,n=s+1),i=createNS("g"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),i.setAttribute("stroke-dashoffset",1),s;s<n;s+=1)t=createNS("path"),i.appendChild(t),this.paths.push({p:t,m:s});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),o=createElementID();a.setAttribute("id",o),a.setAttribute("mask-type","alpha"),a.appendChild(i),this.elem.globalData.defs.appendChild(a);var f=createNS("g");for(f.setAttribute("mask","url("+getLocationHref()+"#"+o+")");e[0];)f.appendChild(e[0]);this.elem.layerElement.appendChild(f),this.masker=a,i.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[0]);this.elem.layerElement.appendChild(i),this.elem.layerElement.removeAttribute("mask"),i.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=i},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,i=this.paths.length,s,n;for(t=0;t<i;t+=1)if(this.paths[t].m!==-1&&(s=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||s.prop._mdf)&&n.setAttribute("d",s.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||s.prop._mdf)){var a;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var o=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,f=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=n.getTotalLength();a="0 0 0 "+l*o+" ";var c=l*(f-o),m=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,E=Math.floor(c/m),u;for(u=0;u<E;u+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+l*10+" 0 0"}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(e||this.filterManager.effectElements[3].p._mdf)){var P=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(P[0]*255)+","+bmFloor(P[1]*255)+","+bmFloor(P[2]*255)+")")}};function SVGTritoneFilter(e,t,i,s){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(n);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",s),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var f=createNS("feFuncG");f.setAttribute("type","table"),a.appendChild(f),this.feFuncG=f;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,e.appendChild(a)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,s=this.filterManager.effectElements[2].p.v,n=s[0]+" "+i[0]+" "+t[0],a=s[1]+" "+i[1]+" "+t[1],o=s[2]+" "+i[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o)}};function SVGProLevelsFilter(e,t,i,s){this.filterManager=t;var n=this.filterManager.effectElements,a=createNS("feComponentTransfer");(n[10].p.k||n[10].p.v!==0||n[11].p.k||n[11].p.v!==1||n[12].p.k||n[12].p.v!==1||n[13].p.k||n[13].p.v!==0||n[14].p.k||n[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(n[17].p.k||n[17].p.v!==0||n[18].p.k||n[18].p.v!==1||n[19].p.k||n[19].p.v!==1||n[20].p.k||n[20].p.v!==0||n[21].p.k||n[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(n[24].p.k||n[24].p.v!==0||n[25].p.k||n[25].p.v!==1||n[26].p.k||n[26].p.v!==1||n[27].p.k||n[27].p.v!==0||n[28].p.k||n[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(n[31].p.k||n[31].p.v!==0||n[32].p.k||n[32].p.v!==1||n[33].p.k||n[33].p.v!==1||n[34].p.k||n[34].p.v!==0||n[35].p.k||n[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(n[3].p.k||n[3].p.v!==0||n[4].p.k||n[4].p.v!==1||n[5].p.k||n[5].p.v!==1||n[6].p.k||n[6].p.v!==0||n[7].p.k||n[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",s),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var i=createNS(e);return i.setAttribute("type","table"),t.appendChild(i),i},SVGProLevelsFilter.prototype.getTableValue=function(e,t,i,s,n){for(var a=0,o=256,f,l=Math.min(e,t),c=Math.max(e,t),m=Array.call(null,{length:o}),E,u=0,P=n-s,x=t-e;a<=256;)f=a/256,f<=l?E=x<0?n:s:f>=c?E=x<0?s:n:E=s+P*Math.pow((f-e)/x,1/i),m[u]=E,u+=1,a+=256/(o-1);return m.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,i=this.filterManager.effectElements;this.feFuncRComposed&&(e||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(t=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(t=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(t=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(t=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(t=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",t))}};function SVGDropShadowEffect(e,t,i,s,n){var a=t.container.globalData.renderConfig.filterSize,o=t.data.fs||a;e.setAttribute("x",o.x||a.x),e.setAttribute("y",o.y||a.y),e.setAttribute("width",o.width||a.width),e.setAttribute("height",o.height||a.height),this.filterManager=t;var f=createNS("feGaussianBlur");f.setAttribute("in","SourceAlpha"),f.setAttribute("result",s+"_drop_shadow_1"),f.setAttribute("stdDeviation","0"),this.feGaussianBlur=f,e.appendChild(f);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",s+"_drop_shadow_1"),l.setAttribute("result",s+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",s+"_drop_shadow_3"),this.feFlood=c,e.appendChild(c);var m=createNS("feComposite");m.setAttribute("in",s+"_drop_shadow_3"),m.setAttribute("in2",s+"_drop_shadow_2"),m.setAttribute("operator","in"),m.setAttribute("result",s+"_drop_shadow_4"),e.appendChild(m);var E=this.createMergeNode(s,[s+"_drop_shadow_4",n]);e.appendChild(E)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var i=this.filterManager.effectElements[3].p.v,s=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=i*Math.cos(s),a=i*Math.sin(s);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,i){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=i,i.matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,i=_svgMatteSymbols.length;t<i;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var i=e.layerElement.parentNode;if(i){for(var s=i.children,n=0,a=s.length;n<a&&s[n]!==e.layerElement;)n+=1;var o;n<=a-2&&(o=s[n+1]);var f=createNS("use");f.setAttribute("href","#"+t),o?i.insertBefore(f,o):i.appendChild(f)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var i=createElementID(),s=createNS("mask");s.setAttribute("id",t.layerId),s.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var n=e.globalData.defs;n.appendChild(s);var a=createNS("symbol");a.setAttribute("id",i),this.replaceInParent(t,i),a.appendChild(t.layerElement),n.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+i),s.appendChild(o),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,i=0,s=t.length;i<s;)t[i]&&t[i].data.ind===e&&this.setElementAsMask(this.elem,t[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(e,t,i,s){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var n=createNS("feGaussianBlur");n.setAttribute("result",s),e.appendChild(n),this.feGaussianBlur=n}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,i=this.filterManager.effectElements[0].p.v*t,s=this.filterManager.effectElements[1].p.v,n=s==3?0:i,a=s==2?0:i;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+a);var o=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}};function TransformEffect(){}TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,i=t[0].p.v,s=t[1].p.v,n=t[2].p.v===1,a=t[3].p.v,o=n?a:t[4].p.v,f=t[5].p.v,l=t[6].p.v,c=t[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(o*.01,a*.01,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-f*degToRads,(l+90)*degToRads),this.matrix.translate(s[0],s[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(e,t){this.init(t)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(e){this.init(e)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie$1,lottie$1.exports);var lottieExports=lottie$1.exports;const lottie=getDefaultExportFromCjs(lottieExports);function _iterableToArrayLimit(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var s,n,a,o,f=[],l=!0,c=!1;try{if(a=(i=i.call(e)).next,t!==0)for(;!(l=(s=a.call(i)).done)&&(f.push(s.value),f.length!==t);l=!0);}catch(m){c=!0,n=m}finally{try{if(!l&&i.return!=null&&(o=i.return(),Object(o)!==o))return}finally{if(c)throw n}}return f}}function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,s)}return i}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?ownKeys(Object(i),!0).forEach(function(s){_defineProperty(e,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(i,s))})}return e}function _defineProperty(e,t,i){return t=_toPropertyKey(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var i={},s=Object.keys(e),n,a;for(a=0;a<s.length;a++)n=s[a],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}function _objectWithoutProperties(e,t){if(e==null)return{};var i=_objectWithoutPropertiesLoose(e,t),s,n;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)s=a[n],!(t.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(e,s)&&(i[s]=e[s])}return i}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _unsupportedIterableToArray(e,t){if(e){if(typeof e=="string")return _arrayLikeToArray(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(e,t)}}function _arrayLikeToArray(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
10
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _toPrimitive(e,t){if(typeof e!="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var s=i.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return typeof t=="symbol"?t:String(t)}var _excluded$1=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],useLottie=function e(t,i){var s=t.animationData,n=t.loop,a=t.autoplay,o=t.initialSegment,f=t.onComplete,l=t.onLoopComplete,c=t.onEnterFrame,m=t.onSegmentStart,E=t.onConfigReady,u=t.onDataReady,P=t.onDataFailed,x=t.onLoadedImages,g=t.onDOMLoaded,_=t.onDestroy;t.lottieRef,t.renderer,t.name,t.assetsPath,t.rendererSettings;var d=_objectWithoutProperties(t,_excluded$1),y=React.useState(!1),p=_slicedToArray(y,2),b=p[0],A=p[1],M=React.useRef(),L=React.useRef(null),k=function(){var H;(H=M.current)===null||H===void 0||H.play()},B=function(){var H;(H=M.current)===null||H===void 0||H.stop()},Y=function(){var H;(H=M.current)===null||H===void 0||H.pause()},Z=function(H){var q;(q=M.current)===null||q===void 0||q.setSpeed(H)},j=function(H,q){var $;($=M.current)===null||$===void 0||$.goToAndPlay(H,q)},U=function(H,q){var $;($=M.current)===null||$===void 0||$.goToAndStop(H,q)},X=function(H){var q;(q=M.current)===null||q===void 0||q.setDirection(H)},z=function(H,q){var $;($=M.current)===null||$===void 0||$.playSegments(H,q)},T=function(H){var q;(q=M.current)===null||q===void 0||q.setSubframe(H)},I=function(H){var q;return(q=M.current)===null||q===void 0?void 0:q.getDuration(H)},C=function(){var H;(H=M.current)===null||H===void 0||H.destroy(),M.current=void 0},S=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},q;if(L.current){(q=M.current)===null||q===void 0||q.destroy();var $=_objectSpread2(_objectSpread2(_objectSpread2({},t),H),{},{container:L.current});return M.current=lottie.loadAnimation($),A(!!M.current),function(){var J;(J=M.current)===null||J===void 0||J.destroy(),M.current=void 0}}};React.useEffect(function(){var F=S();return function(){return F==null?void 0:F()}},[s,n]),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 F=[{name:"complete",handler:f},{name:"loopComplete",handler:l},{name:"enterFrame",handler:c},{name:"segmentStart",handler:m},{name:"config_ready",handler:E},{name:"data_ready",handler:u},{name:"data_failed",handler:P},{name:"loaded_images",handler:x},{name:"DOMLoaded",handler:g},{name:"destroy",handler:_}],H=F.filter(function($){return $.handler!=null});if(H.length){var q=H.map(function($){var J;return(J=M.current)===null||J===void 0||J.addEventListener($.name,$.handler),function(){var re;(re=M.current)===null||re===void 0||re.removeEventListener($.name,$.handler)}});return function(){q.forEach(function($){return $()})}}},[f,l,c,m,E,u,P,x,g,_]);var V=React.createElement("div",_objectSpread2({style:i,ref:L},d));return{View:V,play:k,stop:B,pause:Y,setSpeed:Z,goToAndStop:U,goToAndPlay:j,setDirection:X,playSegments:z,setSubframe:T,getDuration:I,destroy:C,animationContainerRef:L,animationLoaded:b,animationItem:M.current}};function getContainerVisibility(e){var t=e.getBoundingClientRect(),i=t.top,s=t.height,n=window.innerHeight-i,a=window.innerHeight+s;return n/a}function getContainerCursorPosition(e,t,i){var s=e.getBoundingClientRect(),n=s.top,a=s.left,o=s.width,f=s.height,l=(t-a)/o,c=(i-n)/f;return{x:l,y:c}}var useInitInteractivity=function e(t){var i=t.wrapperRef,s=t.animationItem,n=t.mode,a=t.actions;React.useEffect(function(){var o=i.current;if(!(!o||!s||!a.length)){s.stop();var f=function(){var m=null,E=function(){var P=getContainerVisibility(o),x=a.find(function(_){var d=_.visibility;return d&&P>=d[0]&&P<=d[1]});if(x){if(x.type==="seek"&&x.visibility&&x.frames.length===2){var g=x.frames[0]+Math.ceil((P-x.visibility[0])/(x.visibility[1]-x.visibility[0])*x.frames[1]);//! goToAndStop must be relative to the start of the current segment
11
+ s.goToAndStop(g-s.firstFrame-1,!0)}x.type==="loop"&&(m===null||m!==x.frames||s.isPaused)&&(s.playSegments(x.frames,!0),m=x.frames),x.type==="play"&&s.isPaused&&(s.resetSegments(!0),s.play()),x.type==="stop"&&s.goToAndStop(x.frames[0]-s.firstFrame-1,!0)}};return document.addEventListener("scroll",E),function(){document.removeEventListener("scroll",E)}},l=function(){var m=function(x,g){var _=x,d=g;if(_!==-1&&d!==-1){var y=getContainerCursorPosition(o,_,d);_=y.x,d=y.y}var p=a.find(function(M){var L=M.position;return L&&Array.isArray(L.x)&&Array.isArray(L.y)?_>=L.x[0]&&_<=L.x[1]&&d>=L.y[0]&&d<=L.y[1]:L&&!Number.isNaN(L.x)&&!Number.isNaN(L.y)?_===L.x&&d===L.y:!1});if(p){if(p.type==="seek"&&p.position&&Array.isArray(p.position.x)&&Array.isArray(p.position.y)&&p.frames.length===2){var b=(_-p.position.x[0])/(p.position.x[1]-p.position.x[0]),A=(d-p.position.y[0])/(p.position.y[1]-p.position.y[0]);s.playSegments(p.frames,!0),s.goToAndStop(Math.ceil((b+A)/2*(p.frames[1]-p.frames[0])),!0)}p.type==="loop"&&s.playSegments(p.frames,!0),p.type==="play"&&(s.isPaused&&s.resetSegments(!1),s.playSegments(p.frames)),p.type==="stop"&&s.goToAndStop(p.frames[0],!0)}},E=function(x){m(x.clientX,x.clientY)},u=function(){m(-1,-1)};return o.addEventListener("mousemove",E),o.addEventListener("mouseout",u),function(){o.removeEventListener("mousemove",E),o.removeEventListener("mouseout",u)}};switch(n){case"scroll":return f();case"cursor":return l()}}},[n,s])},useLottieInteractivity=function e(t){var i=t.actions,s=t.mode,n=t.lottieObj,a=n.animationItem,o=n.View,f=n.animationContainerRef;return useInitInteractivity({actions:i,animationItem:a,mode:s,wrapperRef:f}),o},_excluded=["style","interactivity"],Lottie=function e(t){var i,s,n,a=t.style,o=t.interactivity,f=_objectWithoutProperties(t,_excluded),l=useLottie(f,a),c=l.View,m=l.play,E=l.stop,u=l.pause,P=l.setSpeed,x=l.goToAndStop,g=l.goToAndPlay,_=l.setDirection,d=l.playSegments,y=l.setSubframe,p=l.getDuration,b=l.destroy,A=l.animationContainerRef,M=l.animationLoaded,L=l.animationItem;return React.useEffect(function(){t.lottieRef&&(t.lottieRef.current={play:m,stop:E,pause:u,setSpeed:P,goToAndPlay:g,goToAndStop:x,setDirection:_,playSegments:d,setSubframe:y,getDuration:p,destroy:b,animationContainerRef:A,animationLoaded:M,animationItem:L})},[(i=t.lottieRef)===null||i===void 0?void 0:i.current]),useLottieInteractivity({lottieObj:{View:c,play:m,stop:E,pause:u,setSpeed:P,goToAndStop:x,goToAndPlay:g,setDirection:_,playSegments:d,setSubframe:y,getDuration:p,destroy:b,animationContainerRef:A,animationLoaded:M,animationItem:L},actions:(s=o==null?void 0:o.actions)!==null&&s!==void 0?s:[],mode:(n=o==null?void 0:o.mode)!==null&&n!==void 0?n:"scroll"})};const v="5.7.4",fr=60,ip=0,op=120,w=64,h=64,nm="loading spinner",ddd=0,assets=[],layers=[{ddd:0,ind:1,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.34],y:[1]},o:{x:[.66],y:[0]},t:0,s:[180]},{t:119,s:[540]}],ix:10},p:{a:0,k:[32.135,31.505,0],ix:2,l:2},a:{a:0,k:[-.75,2.75,0],ix:1,l:2},s:{a:0,k:[82,82,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[15.326,0],[0,-15.326],[-15.326,0],[0,15.326]],o:[[-15.326,0],[0,15.326],[15.326,0],[0,-15.326]],v:[[0,-27.75],[-27.75,0],[0,27.75],[27.75,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.505882352941,.478431372549,.564705882353,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[-.75,2.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[100]},{i:{x:[.351],y:[.985]},o:{x:[.665],y:[0]},t:60,s:[90]},{t:120,s:[0]}],ix:1},e:{a:1,k:[{i:{x:[.34],y:[1]},o:{x:[.66],y:[0]},t:0,s:[100]},{t:60,s:[0]}],ix:2},o:{a:0,k:176,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:600,st:0,bm:0}],markers=[],spinnerAnimation={v,fr,ip,op,w,h,nm,ddd,assets,layers,markers},buttonStyles=cva(["w-full","text-white","font-satoshi","font-bold","min-w-32","px-6","focus:outline-none","disabled:cursor-not-allowed"],{variants:{variant:{primary:"bg-button-primary",secondary:"bg-button-secondary",disabled:"bg-button-disabled-bg text-button-disabled-text cursor-not-allowed"},size:{sm:"h-9 rounded-xl text-xs",md:"h-10 rounded-xl text-sm",lg:"h-12 rounded-2xl text-base"},breakpointSize:{"xs:sm":"xs:h-9 xs:rounded-xl xs:text-xs","xs:md":"xs:h-10 xs:rounded-xl xs:text-sm","xs:lg":"xs:h-12 xs:rounded-2xl xs:text-base","sm:sm":"sm:h-9 sm:rounded-xl sm:text-xs","sm:md":"sm:h-10 sm:rounded-xl sm:text-sm","sm:lg":"sm:h-12 sm:rounded-2xl sm:text-base","md:sm":"md:h-9 md:rounded-xl md:text-xs","md:md":"md:h-10 md:rounded-xl md:text-sm","md:lg":"md:h-12 md:rounded-2xl md:text-base","lg:sm":"lg:h-9 lg:rounded-xl lg:text-xs","lg:md":"lg:h-10 lg:rounded-xl lg:text-sm","lg:lg":"lg:h-12 lg:rounded-2xl lg:text-base","xl:sm":"xl:h-9 xl:rounded-xl xl:text-xs","xl:md":"xl:h-10 xl:rounded-xl xl:text-sm","xl:lg":"xl:h-12 xl:rounded-2xl xl:text-base"}},defaultVariants:{variant:"primary",size:"md"}}),Button=React.forwardRef(({variant:e,size:t,breakpoints:i,loading:s,className:n,children:a,...o},f)=>{const l=i?Object.entries(i).map(([c,m])=>`${c}:${m}`).map(c=>buttonStyles({breakpointSize:c})).join(" "):"";return jsxRuntime.jsx("button",{ref:f,className:cn(buttonStyles({variant:e,size:t}),n,l,s),disabled:s,...o,children:jsxRuntime.jsxs("div",{className:"flex justify-center gap-3",children:[a,s&&jsxRuntime.jsx(Lottie,{animationData:spinnerAnimation,loop:!0,autoplay:!0,style:{width:24,height:24}})]})})}),typographyStyles=cva(["font-satoshi text-dark-grey"],{variants:{size:{h1:"text-[32px] leading-[48px]",h2:"text-xl leading-7",h3:"text-base leading-6",h4:"text-sm leading-5",h5:"text-xs leading-4"},weight:{bold:"font-bold",medium:"font-medium"},breakpointSize:{"xs:h1":"xs:text-[32px] xs:leading-[48px]","xs:h2":"xs:text-xl xs:leading-7","xs:h3":"xs:text-base xs:leading-6","xs:h4":"xs:text-sm xs:leading-5","xs:h5":"xs:text-xs xs:leading-4","sm:h1":"sm:text-[32px] sm:leading-[48px]","sm:h2":"sm:text-xl sm:leading-7","sm:h3":"sm:text-base sm:leading-6","sm:h4":"sm:text-sm sm:leading-5","sm:h5":"sm:text-xs sm:leading-4","md:h1":"md:text-[32px] md:leading-[48px]","md:h2":"md:text-xl md:leading-7","md:h3":"md:text-base md:leading-6","md:h4":"md:text-sm md:leading-5","md:h5":"md:text-xs md:leading-4","lg:h1":"lg:text-[32px] lg:leading-[48px]","lg:h2":"lg:text-xl lg:leading-7","lg:h3":"lg:text-base lg:leading-6","lg:h4":"lg:text-sm lg:leading-5","lg:h5":"lg:text-xs lg:leading-4","xl:h1":"xl:text-[32px] xl:leading-[48px]","xl:h2":"xl:text-xl xl:leading-7","xl:h3":"xl:text-base xl:leading-6","xl:h4":"xl:text-sm xl:leading-5","xl:h5":"xl:text-xs xl:leading-4"},defaultVariants:{size:"h3",weight:"medium"}}}),Typography=({as:e="span",size:t,weight:i,breakpoints:s,className:n,...a})=>{const o=s?Object.entries(s).map(([f,l])=>`${f}:${l}`).map(f=>typographyStyles({breakpointSize:f})).join(" "):"";return jsxRuntime.jsx(e,{className:cn(typographyStyles({size:t,weight:i,className:n}),o),...a})},OpacityStyles=cva("bg-white",{variants:{level:{"extra-light":"bg-opacity-10",light:"bg-opacity-25",medium:"bg-opacity-50","semi-dark":"bg-opacity-75",full:"bg-opacity-100"}},defaultVariants:{level:"full"}}),Opacity=({level:e,className:t,children:i,...s})=>jsxRuntime.jsx("div",{...s,className:cn(OpacityStyles({level:e}),t),children:i}),sidebarStyles=cva("fixed inset-y-0 right-0 transition-transform duration-200 bg-white opacity-50 p-4",{variants:{open:{true:"translate-x-0",false:"translate-x-full"},size:{small:"w-full md:w-[360px]",large:"w-full md:w-[480px]"}},defaultVariants:{open:!1}}),Sidebar=({open:e,size:t,children:i,className:s,...n})=>jsxRuntime.jsx("div",{className:cn(sidebarStyles({open:e,size:t,className:s})),...n,children:i}),modalStyles=cva(["fixed inset-0 z-50 flex items-center justify-center min-h-screen transition-all"],{variants:{open:{true:"bg-black",false:"opacity-0 pointer-events-none"}},defaultVariants:{open:!1}}),Modal=({open:e,onClose:t,children:i})=>{const[s,n]=React.useState(!1);React.useEffect(()=>{e&&n(!0)},[e]);const a=o=>{t&&(o.stopPropagation(),t())};return jsxRuntime.jsx(Opacity,{level:"medium",className:`${modalStyles({open:e})} ${s?e?"animate-fade-in":"animate-fade-out":""}`,onClick:a,children:jsxRuntime.jsx("div",{className:`transform transition-transform ${e?"animate-scale-in":"animate-scale-out"}`,children:i})})},Children=({children:e,className:t,opacityLevel:i,...s})=>{const n=a=>{a.stopPropagation()};return jsxRuntime.jsx(Opacity,{level:i,onClick:n,className:`mx-auto ${t?" "+t:""}`,...s,children:e})};Modal.Children=Children;const ArrowDownwardIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"18",viewBox:"0 0 12 18",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),ArrowUpwardIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"18",viewBox:"0 0 12 18",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),ArrowLeftIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"12",...e,viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),ArrowRightIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"12",...e,viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),AddIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M5.16797 6.83332H0.167969V5.16666H5.16797V0.166656H6.83464V5.16666H11.8346V6.83332H6.83464V11.8333H5.16797V6.83332Z",fill:"#554B6A"})}),ArrowNorthEastIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M1.4987 12.6667L0.332031 11.5L9.9987 1.83335H4.4987V0.166687H12.832V8.50002H11.1654V3.00002L1.4987 12.6667Z",fill:"#554B6A"})}),ArrowNorthWestIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M11.5013 12.6667L1.83464 3.00002V8.50002H0.167969V0.166687H8.5013V1.83335H3.0013L12.668 11.5L11.5013 12.6667Z",fill:"#554B6A"})}),ArrowSouthEastIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",...e,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M4.4987 12.8333V11.1666H9.9987L0.332031 1.49998L1.4987 0.333313L11.1654 9.99998V4.49998H12.832V12.8333H4.4987Z",fill:"#554B6A"})}),ArrowSouthWestIcon=e=>jsxRuntime.jsx("svg",{width:"13",height:"13",...e,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M0.167969 12.8333V4.49998H1.83464V9.99998L11.5013 0.333313L12.668 1.49998L3.0013 11.1666H8.5013V12.8333H0.167969Z",fill:"#554B6A"})}),CheckIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"11",...e,viewBox:"0 0 14 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),ClockIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"18",...e,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",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",fill:"#554B6A"})}),CloseIcon=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.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",fill:"#554B6A"})}),CopyIcon=e=>jsxRuntime.jsx("svg",{width:"15",height:"18",viewBox:"0 0 15 18",fill:"none",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",fill:"#554B6A"})}),EditIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",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",fill:"#554B6A"})}),ExchangeIcon=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:"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",fill:"#554B6A"}),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",fill:"#554B6A"})]}),InfoIcon=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:"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",fill:"#554B6A"})}),KeyboardDownIcon=e=>jsxRuntime.jsx("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",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",fill:"#554B6A"})}),KeyboardLeftIcon=e=>jsxRuntime.jsx("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",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",fill:"#554B6A"})}),KeyboardRightIcon=e=>jsxRuntime.jsx("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",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",fill:"#554B6A"})}),KeyboardUpIcon=e=>jsxRuntime.jsx("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",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",fill:"#554B6A"})}),LanguageIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",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",fill:"#554B6A"})}),LinkIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"10",viewBox:"0 0 18 10",fill:"none",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",fill:"#554B6A"})}),LockIcon=e=>jsxRuntime.jsx("svg",{width:"14",height:"19",viewBox:"0 0 14 19",fill:"none",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",fill:"#554B6A"})}),LogoutIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",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",fill:"#554B6A"})}),MenuIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"10",viewBox:"0 0 16 10",fill:"none",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",fill:"#554B6A"})}),OpenInFullIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",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",fill:"#554B6A"})}),PageInfoIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",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",fill:"#554B6A"})}),RadioCheckedIcon=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:"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",fill:"#554B6A"})}),RadioUncheckedIcon=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:"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",fill:"#554B6A"})}),RemoveIcon=e=>jsxRuntime.jsx("svg",{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:jsxRuntime.jsx("path",{d:"M0.167969 1.83332V0.166656H11.8346V1.83332H0.167969Z",fill:"#554B6A"})}),StarIcon=e=>jsxRuntime.jsx("svg",{width:"18",height:"17",viewBox:"0 0 18 17",fill:"none",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",fill:"#554B6A"})}),WalletIcon=e=>jsxRuntime.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",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",fill:"#554B6A"})}),SearchIcon=e=>jsxRuntime.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",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",fill:"#554B6A"})}),ArbitrumLogo=e=>jsxRuntime.jsxs("svg",{width:"18",height:"20",viewBox:"0 0 18 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M0.671875 6.07916V13.9193C0.671875 14.4199 0.939395 14.8827 1.37268 15.1322L8.16244 19.0531C8.59572 19.3025 9.12912 19.3025 9.5624 19.0531L16.3522 15.1322C16.7854 14.8827 17.053 14.4199 17.053 13.9193V6.07916C17.053 5.57858 16.7854 5.11576 16.3522 4.86629L9.5624 0.945401C9.12912 0.695934 8.59572 0.695934 8.16244 0.945401L1.37104 4.86629C0.937754 5.11576 0.671875 5.57858 0.671875 6.07916Z",fill:"#213147"}),jsxRuntime.jsx("path",{d:"M10.3474 11.5195L9.37907 14.175C9.35281 14.2488 9.35281 14.3292 9.37907 14.4031L11.0449 18.9723L12.9717 17.8595L10.6592 11.5195C10.6067 11.3734 10.3999 11.3734 10.3474 11.5195Z",fill:"#12AAFF"}),jsxRuntime.jsx("path",{d:"M12.2881 7.05242C12.2356 6.90635 12.0288 6.90635 11.9763 7.05242L11.008 9.70793C10.9817 9.78178 10.9817 9.8622 11.008 9.93606L13.7373 17.4168L15.6641 16.304L12.2881 7.05242Z",fill:"#12AAFF"}),jsxRuntime.jsx("path",{d:"M8.86263 1.23913C8.91022 1.23913 8.95782 1.25226 9.00049 1.27523L16.3483 5.51781C16.4336 5.56704 16.4861 5.65895 16.4861 5.75579V14.2393C16.4861 14.3378 16.4336 14.428 16.3483 14.4773L9.00049 18.7198C8.95946 18.7445 8.91022 18.756 8.86263 18.756C8.81503 18.756 8.76744 18.7428 8.72476 18.7198L1.37699 14.4806C1.29165 14.4313 1.23913 14.3394 1.23913 14.2426V5.75743C1.23913 5.65895 1.29165 5.56869 1.37699 5.51945L8.72476 1.27688C8.76744 1.25226 8.81503 1.23913 8.86263 1.23913ZM8.86263 0C8.60167 0 8.33908 0.0672903 8.10438 0.203512L0.758247 4.44444C0.288856 4.71525 0 5.21582 0 5.75743V14.2409C0 14.7825 0.288856 15.2831 0.758247 15.5539L8.10602 19.7965C8.34072 19.9311 8.60167 20 8.86427 20C9.12522 20 9.38782 19.9327 9.62252 19.7965L16.9703 15.5539C17.4397 15.2831 17.7285 14.7825 17.7285 14.2409V5.75743C17.7285 5.21582 17.4397 4.71525 16.9703 4.44444L9.62088 0.203512C9.38618 0.0672903 9.12358 0 8.86263 0Z",fill:"#9DCCED"}),jsxRuntime.jsx("path",{d:"M4.00391 17.4285L4.68009 15.5771L6.04067 16.708L4.76872 17.8699L4.00391 17.4285Z",fill:"#213147"}),jsxRuntime.jsx("path",{d:"M8.24586 5.14893H6.38306C6.24356 5.14893 6.11883 5.23591 6.07123 5.36721L2.07812 16.3142L4.00493 17.4269L8.40177 5.37213C8.4428 5.26381 8.36238 5.14893 8.24586 5.14893Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M11.5074 5.14893H9.6446C9.5051 5.14893 9.38036 5.23591 9.33277 5.36721L4.77344 17.8668L6.70024 18.9796L11.6633 5.37213C11.7027 5.26381 11.6223 5.14893 11.5074 5.14893Z",fill:"white"})]}),BTCLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M9.99969 19.9995C15.5225 19.9995 19.9994 15.5226 19.9994 9.99976C19.9994 4.47692 15.5225 6.10352e-05 9.99969 6.10352e-05C4.47686 6.10352e-05 0 4.47692 0 9.99976C0 15.5226 4.47686 19.9995 9.99969 19.9995Z",fill:"#ECECEC"}),jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#F7931A"}),jsxRuntime.jsx("path",{d:"M12.1154 8.57283C11.7999 9.80896 9.89365 9.1692 9.27554 9.01141L9.83393 6.82401C10.452 6.9818 12.4446 7.28205 12.1154 8.57283ZM11.7556 12.1043C11.4095 13.4641 9.12116 12.7148 8.37762 12.5254L9.00085 10.1179C9.74165 10.3082 12.1255 10.6884 11.7627 12.1082L11.7556 12.1043ZM14.2891 8.60841C14.4968 7.27892 13.4874 6.56018 12.1055 6.07304L12.565 4.2735L11.4686 3.99277L11.0207 5.74572C10.734 5.67215 10.4382 5.60277 10.1441 5.53436L10.5843 3.77028L9.49154 3.48697L9.03298 5.28474C8.79357 5.23004 8.55965 5.17373 8.33297 5.11677L6.82267 4.72988L6.52396 5.90153C6.52396 5.90153 7.33973 6.09353 7.31764 6.10449C7.63363 6.14376 7.85989 6.42897 7.82623 6.74558L7.31089 8.7908C7.34946 8.8006 7.38737 8.81283 7.42439 8.82742L7.3088 8.79886L6.56959 11.6677C6.49946 11.8783 6.27252 11.9929 6.06139 11.9242C6.07735 11.9329 5.26593 11.7203 5.26593 11.7203L4.71393 12.9723L6.14007 13.3363L6.92488 13.5345L6.46197 15.3529L7.55665 15.6326L8.00779 13.84C8.29685 13.9218 8.58882 13.9983 8.87998 14.072L8.42158 15.8653L9.51626 16.145L9.98272 14.3286C11.8545 14.6941 13.2588 14.5583 13.8598 12.8705C14.3425 11.5093 13.8509 10.7233 12.8723 10.2054C13.5904 10.045 14.1351 9.57824 14.2821 8.60454L14.2891 8.60841Z",fill:"white"})]}),CatalogLogo=e=>jsxRuntime.jsxs("svg",{width:"76",height:"16",viewBox:"0 0 76 16",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M20.1445 7.97398C20.1445 5.56023 21.9083 3.84766 24.3086 3.84766C25.7142 3.84766 26.8281 4.38146 27.5706 5.3435L26.2021 6.62784C25.9961 6.34199 25.726 6.10794 25.4132 5.94433C25.1059 5.78382 24.764 5.69982 24.417 5.6995C23.1733 5.6995 22.3087 6.60576 22.3087 7.96555C22.3087 9.32534 23.1733 10.2344 24.4302 10.2344C24.7759 10.2344 25.1171 10.1505 25.4265 9.98958C25.7393 9.82582 26.0094 9.59166 26.2154 9.30567L27.5706 10.6069C26.8334 11.5689 25.7138 12.1031 24.3138 12.1031C21.9083 12.1031 20.1445 10.3901 20.1445 7.97398ZM34.1808 10.401H30.9797L30.3857 11.9442H28.2003L31.55 4.00619H33.6717L37.0054 11.945H34.7776L34.1808 10.401ZM33.5549 8.74658L32.5814 6.20521L31.6082 8.74658H33.5549ZM38.709 5.79382H36.3724V4.00579H43.1541V5.79382H40.8307V11.9442H38.709V5.79382ZM48.6478 10.401H45.4467L44.8527 11.9442H42.6672L46.009 4.00579H48.1307L51.4834 11.9446H49.2555L48.6478 10.401ZM48.0222 8.74658L47.0461 6.20521L46.0729 8.74658H48.0222ZM52.5826 4.00619H54.7256V10.165H58.3353V11.9442H52.5803L52.5826 4.00619ZM59.0323 7.97398C59.0323 5.59395 60.8173 3.84766 63.2414 3.84766C65.6655 3.84766 67.4476 5.59355 67.4476 7.97358C67.4476 10.3536 65.6626 12.1031 63.2414 12.1031C60.8199 12.1031 59.0323 10.3568 59.0323 7.97398ZM65.2859 7.97398C65.2859 6.60295 64.3873 5.70793 63.2414 5.70793C62.0955 5.70793 61.1965 6.60295 61.1965 7.97398C61.1965 9.3446 62.0955 10.2428 63.2414 10.2428C64.3873 10.2428 65.2859 9.34781 65.2859 7.97398ZM73.9352 7.8042H75.8394V11.0937C74.9111 11.7541 73.7977 12.1072 72.6567 12.1031C70.2435 12.1031 68.4824 10.3901 68.4824 7.97398C68.4824 5.55783 70.2355 3.84766 72.6915 3.84766C74.1076 3.84766 75.2561 4.35938 76.0014 5.29895L74.6383 6.59211C74.4164 6.3138 74.1347 6.0887 73.8138 5.93349C73.4981 5.78104 73.1511 5.70383 72.8003 5.70793C71.5005 5.70793 70.636 6.60295 70.636 7.97398C70.636 9.3446 71.5005 10.2428 72.779 10.2428C73.1796 10.2465 73.5753 10.157 73.9352 9.98155V7.8042Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M11.8224 0H4.1776C3.06963 0 2.00704 0.44014 1.22359 1.22359C0.44014 2.00704 1.91552e-08 3.06963 1.91552e-08 4.1776V11.8224C-5.25186e-05 12.371 0.107969 12.9143 0.317894 13.4212C0.52782 13.928 0.835537 14.3886 1.22347 14.7765C1.61141 15.1645 2.07197 15.4722 2.57884 15.6821C3.08571 15.892 3.62897 16.0001 4.1776 16H11.8224C12.371 16.0001 12.9143 15.892 13.4212 15.6821C13.928 15.4722 14.3886 15.1645 14.7765 14.7765C15.1645 14.3886 15.4722 13.928 15.6821 13.4212C15.892 12.9143 16.0001 12.371 16 11.8224V4.1776C16 3.06963 15.5599 2.00704 14.7764 1.22359C13.993 0.44014 12.9304 0 11.8224 0ZM13.6624 11.004H2.3388V9.1008H5.7028L3.052 6.45L4.398 5.1044L7.0484 7.7552V4.034H8.9512V7.7552L11.6032 5.1044L12.9488 6.45L10.2976 9.1008H13.6632V11.0044L13.6624 11.004Z",fill:"#554B6A"})]}),Coinbase=e=>jsxRuntime.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 12C0 18.6267 5.37333 24 12 24C18.6267 24 24 18.6267 24 12C24 5.37333 18.6267 0 12 0C5.37333 0 0 5.37333 0 12ZM8.93332 8.1333C8.49 8.1333 8.1333 8.49 8.1333 8.93332V15.0667C8.1333 15.51 8.49 15.8667 8.93332 15.8667H15.0667C15.51 15.8667 15.8667 15.51 15.8667 15.0667V8.93332C15.8667 8.49 15.51 8.1333 15.0667 8.1333H8.93332Z",fill:"#0052FF"})}),EthereumLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20Z",fill:"#627EEA"}),jsxRuntime.jsx("path",{d:"M10.0069 2L5.39844 10.1483L10.0069 7.91653V2Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M10.0069 7.91632L5.39844 10.1481L10.0069 13.0513V7.91632Z",fill:"#C0CBF6"}),jsxRuntime.jsx("path",{d:"M14.6171 10.1483L10.0078 2V7.91653L14.6171 10.1483Z",fill:"#C0CBF6"}),jsxRuntime.jsx("path",{d:"M10.0078 13.0513L14.6171 10.1481L10.0078 7.91632V13.0513Z",fill:"#8197EE"}),jsxRuntime.jsx("path",{d:"M5.39844 11.0804L10.0069 18.0004V13.9818L5.39844 11.0804Z",fill:"white"}),jsxRuntime.jsx("path",{d:"M10.0078 13.9818V18.0004L14.6197 11.0804L10.0078 13.9818Z",fill:"#C0CBF6"})]}),GardenExplorer=e=>jsxRuntime.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.971 0C20.2812 0 23.9204 2.87771 25.078 6.81963C29.0711 7.94237 31.9989 11.6158 31.9989 15.9741C31.9989 20.3156 29.0936 23.9775 25.1242 25.1154C23.9876 29.0906 20.3321 31.9999 15.9983 31.9999C11.6643 31.9999 8.00866 29.0903 6.87228 25.1147C2.9041 23.976 0 20.3147 0 15.9741C0 11.6384 2.8975 7.98053 6.85875 6.83733C8.0107 2.88633 11.6543 0 15.971 0Z",fill:"#C7E0FD"}),jsxRuntime.jsx("path",{d:"M16.6753 23.1492C12.7196 23.1492 10 20.2923 10 16.1168C10 11.9138 12.6646 9.00195 16.5654 9.00195C20.3838 9.00195 22.8836 11.6391 22.8836 15.6223V16.5838L12.4998 16.6113C12.6921 19.4407 14.1755 21.0065 16.7303 21.0065C18.7356 21.0065 20.0542 20.1824 20.4937 18.6441H22.9111C22.2518 21.5285 19.9992 23.1492 16.6753 23.1492ZM16.5654 11.1721C14.3129 11.1721 12.8844 12.5182 12.5547 14.8806H20.3014C20.3014 12.6555 18.8455 11.1721 16.5654 11.1721Z",fill:"#E36492"})]}),GardenFullLogo=e=>jsxRuntime.jsxs("svg",{width:"116",height:"32",viewBox:"0 0 116 32",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.9749 -0.000488281C20.2855 -0.000488281 23.925 2.87781 25.0823 6.82035C29.0731 7.9445 31.9989 11.6168 31.9989 15.9736C31.9989 20.315 29.0937 23.9768 25.1245 25.1149C23.9882 29.0906 20.3325 32.0004 15.9983 32.0004C11.6639 32.0004 8.00801 29.0902 6.87197 25.1142C2.90395 23.9753 -1.89408e-07 20.3141 0 15.9736C1.89291e-07 11.6363 2.89958 7.97742 6.86302 6.83561C8.01536 2.88524 11.6587 -0.000488281 15.9749 -0.000488281Z",fill:"#F7CFDB"}),jsxRuntime.jsx("path",{d:"M18.7607 13.0922C18.7384 14.9239 15.8618 14.6757 14.9458 14.6644L14.9855 11.423C15.9014 11.4342 18.7837 11.1795 18.7607 13.0922ZM19.4527 18.1422C19.4294 20.1569 15.9826 19.885 14.8808 19.8721L14.9366 16.3016C16.0348 16.3165 19.4901 16.0412 19.4639 18.1453L19.4527 18.1422ZM21.8064 12.4068C21.6466 10.4812 19.995 9.81944 17.9017 9.60687L17.9345 6.9401L16.3094 6.91906L16.277 9.51688C15.8521 9.51113 15.4158 9.51433 14.9823 9.51829L15.0001 6.90755L13.3793 6.88166L13.3472 9.54562C12.9946 9.55023 12.6491 9.55075 12.3135 9.54791L10.075 9.51864L10.0543 11.2548C10.0543 11.2548 11.2576 11.2469 11.2305 11.2696C11.6848 11.2176 12.097 11.5391 12.1571 11.9924L12.1294 15.0209C12.1865 15.0215 12.2436 15.0257 12.3002 15.0336L12.1292 15.0328L12.0676 19.2864C12.0409 19.604 11.763 19.8407 11.4451 19.8163C11.4703 19.823 10.266 19.8006 10.266 19.8006L9.91903 21.7346L12.0324 21.7603L13.1946 21.7715L13.1635 24.4657L14.7857 24.486L14.8092 21.8318C15.2403 21.8482 15.6736 21.8562 16.1049 21.8606L16.0715 24.5182L17.6938 24.5385L17.7306 21.8458C20.4663 21.723 22.3802 21.0587 22.6483 18.5C22.8617 16.4372 21.9098 15.5065 20.3691 15.1146C21.317 14.648 21.9193 13.8124 21.7952 12.4038L21.8064 12.4068Z",fill:"#DB6A93"}),jsxRuntime.jsx("path",{d:"M107.505 22.2476H105.23V10.123H107.288L107.53 11.9826C108.28 10.5941 109.78 9.77588 111.45 9.77588C114.572 9.77588 116 11.7347 116 14.834V22.2476H113.725V15.3547C113.725 12.9 112.612 11.9082 110.869 11.9082C108.74 11.9082 107.505 13.4703 107.505 15.8258V22.2476Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M97.8263 22.5451C94.3413 22.5451 91.9453 19.9665 91.9453 16.1977C91.9453 12.4041 94.2929 9.77588 97.7295 9.77588C101.094 9.77588 103.296 12.1562 103.296 15.7514V16.6192L94.1477 16.644C94.3171 19.1979 95.624 20.6111 97.8747 20.6111C99.6414 20.6111 100.803 19.8673 101.19 18.4788H103.32C102.739 21.0822 100.755 22.5451 97.8263 22.5451ZM97.7295 11.7347C95.745 11.7347 94.4865 12.9496 94.1961 15.0819H101.021C101.021 13.0736 99.7382 11.7347 97.7295 11.7347Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M83.557 22.5464C80.1204 22.5464 78.0391 19.9182 78.0391 16.2238C78.0391 12.5046 80.1446 9.77716 83.6538 9.77716C85.469 9.77716 86.9937 10.5954 87.7923 12.0831V4H90.0431V22.2489H88.0101L87.8165 20.0421C87.0421 21.7034 85.4448 22.5464 83.557 22.5464ZM84.0169 20.4389C86.3402 20.4389 87.7681 18.6784 87.7681 16.1494C87.7681 13.6699 86.3402 11.8847 84.0169 11.8847C81.6935 11.8847 80.3382 13.6699 80.3382 16.1494C80.3382 18.6536 81.6935 20.4389 84.0169 20.4389Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M77.7101 10.0252V12.1576H76.6936C74.5396 12.1576 73.2085 13.4965 73.2085 15.8272V22.249H70.9336V10.1492H73.0633L73.2085 11.984C73.6926 10.7195 74.8785 9.87646 76.5 9.87646C76.9114 9.87646 77.2502 9.92605 77.7101 10.0252Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M62.069 22.5451C59.5278 22.5451 58.0273 21.0822 58.0273 18.8755C58.0273 16.644 59.6489 15.2555 62.432 15.0323L66.1591 14.7348V14.3877C66.1591 12.3545 64.9732 11.6355 63.3759 11.6355C61.464 11.6355 60.3749 12.5033 60.3749 13.9662H58.3904C58.3904 11.4371 60.4233 9.77588 63.4727 9.77588C66.4011 9.77588 68.3857 11.3627 68.3857 14.6356V22.2476H66.4495L66.2075 20.2888C65.6025 21.6773 63.981 22.5451 62.069 22.5451ZM62.7225 20.7351C64.8764 20.7351 66.1833 19.297 66.1833 17.0159V16.3713L63.1581 16.6192C61.1494 16.8176 60.3265 17.611 60.3265 18.8011C60.3265 20.0905 61.2462 20.7351 62.7225 20.7351Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M44 15.8754C44 12.4537 46.1539 9.77588 49.5906 9.77588C51.5025 9.77588 52.9788 10.6685 53.7291 12.181L53.8985 10.123H55.9314V21.7517C55.9314 25.5701 53.6323 28 50.002 28C46.7832 28 44.5808 26.1404 44.1452 23.0658H46.4202C46.7106 24.851 48.0175 25.8924 50.002 25.8924C52.2286 25.8924 53.6807 24.4047 53.6807 22.0988V19.6689C52.9062 21.0822 51.3573 21.9253 49.4938 21.9253C46.1297 21.9253 44 19.2722 44 15.8754ZM46.275 15.8258C46.275 18.1069 47.6545 19.8921 49.881 19.8921C52.1802 19.8921 53.5839 18.2061 53.5839 15.8258C53.5839 13.4951 52.2286 11.809 49.9052 11.809C47.6302 11.809 46.275 13.5943 46.275 15.8258Z",fill:"#554B6A"})]}),GardenLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.98341 0C12.6772 0 14.9516 1.79848 15.6752 4.26207C18.1704 4.964 19.9999 7.25961 19.9999 9.98323C19.9999 12.6965 18.1843 14.985 15.7037 15.6963C14.9936 18.1811 12.7088 19.9998 9.99989 19.9998C7.29098 19.9998 5.00615 18.1811 4.29607 15.6963C1.8155 14.9849 -1.18409e-07 12.6964 0 9.98323C1.18278e-07 7.27277 1.81186 4.98619 4.28861 4.27235C5.00884 1.80349 7.28585 0 9.98341 0Z",fill:"#F7CFDB"}),jsxRuntime.jsx("path",{d:"M11.7239 8.18277C11.7099 9.3276 9.9121 9.17242 9.33962 9.16542L9.36442 7.13955C9.93689 7.14655 11.7383 6.98737 11.7239 8.18277ZM12.1564 11.339C12.1418 12.5981 9.98758 12.4282 9.29902 12.4201L9.33387 10.1886C10.0202 10.1979 12.1798 10.0259 12.1634 11.3409L12.1564 11.339ZM13.6274 7.75443C13.5276 6.55096 12.4953 6.13737 11.187 6.00452L11.2075 4.33784L10.1919 4.32469L10.1716 5.94828C9.90607 5.94468 9.63337 5.94668 9.36242 5.94916L9.37356 4.3175L8.36058 4.30131L8.34053 5.96624C8.12015 5.96912 7.90422 5.96944 7.69447 5.96767L6.2954 5.94938L6.28245 7.03442C6.28245 7.03442 7.03456 7.0295 7.01761 7.04372C7.30152 7.0112 7.55914 7.21215 7.59669 7.49541L7.5794 9.38817C7.61511 9.38856 7.65076 9.39122 7.68614 9.39612L7.57928 9.39564L7.54078 12.0541C7.52412 12.2526 7.35039 12.4005 7.15173 12.3852C7.16749 12.3894 6.41483 12.3754 6.41483 12.3754L6.19794 13.5841L7.51877 13.6002L8.24516 13.6072L8.22567 15.291L9.23959 15.3037L9.25426 13.6449C9.52367 13.6551 9.79449 13.6601 10.064 13.6629L10.0432 15.3239L11.0571 15.3365L11.0801 13.6536C12.7899 13.5769 13.986 13.1617 14.1536 11.5626C14.287 10.2733 13.6921 9.69167 12.7291 9.44678C13.3216 9.15511 13.698 8.63289 13.6204 7.75256L13.6274 7.75443Z",fill:"#DB6A93"})]}),GardenLogoText=e=>jsxRuntime.jsxs("svg",{width:"72",height:"24",viewBox:"0 0 72 24",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M63.5054 18.2476H61.2305V6.123H63.2876L63.5296 7.9826C64.2799 6.5941 65.7804 5.77588 67.4503 5.77588C70.5723 5.77588 72.0002 7.73466 72.0002 10.834V18.2476H69.7252V11.3547C69.7252 8.90001 68.612 7.90822 66.8695 7.90822C64.7397 7.90822 63.5054 9.47028 63.5054 11.8258V18.2476Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M53.8263 18.5451C50.3413 18.5451 47.9453 15.9665 47.9453 12.1977C47.9453 8.40411 50.2929 5.77588 53.7295 5.77588C57.0935 5.77588 59.2959 8.15617 59.2959 11.7514V12.6192L50.1477 12.644C50.3171 15.1979 51.624 16.6111 53.8747 16.6111C55.6414 16.6111 56.8031 15.8673 57.1903 14.4788H59.3201C58.7393 17.0822 56.7547 18.5451 53.8263 18.5451ZM53.7295 7.73466C51.745 7.73466 50.4865 8.9496 50.1961 11.0819H57.0209C57.0209 9.07357 55.7382 7.73466 53.7295 7.73466Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M39.557 18.5464C36.1204 18.5464 34.0391 15.9182 34.0391 12.2238C34.0391 8.50457 36.1446 5.77716 39.6538 5.77716C41.469 5.77716 42.9937 6.59538 43.7923 8.08306V0H46.0431V18.2489H44.0101L43.8165 16.0421C43.0421 17.7034 41.4448 18.5464 39.557 18.5464ZM40.0169 16.4389C42.3402 16.4389 43.7681 14.6784 43.7681 12.1494C43.7681 9.66992 42.3402 7.8847 40.0169 7.8847C37.6935 7.8847 36.3382 9.66992 36.3382 12.1494C36.3382 14.6536 37.6935 16.4389 40.0169 16.4389Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M33.7101 6.02523V8.15757H32.6936C30.5396 8.15757 29.2085 9.49649 29.2085 11.8272V18.249H26.9336V6.14921H29.0633L29.2085 7.98401C29.6926 6.71948 30.8785 5.87646 32.5 5.87646C32.9114 5.87646 33.2502 5.92605 33.7101 6.02523Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M18.069 18.5451C15.5278 18.5451 14.0273 17.0822 14.0273 14.8755C14.0273 12.644 15.6489 11.2555 18.432 11.0323L22.1591 10.7348V10.3877C22.1591 8.35452 20.9732 7.63548 19.3759 7.63548C17.464 7.63548 16.3749 8.50329 16.3749 9.96618H14.3904C14.3904 7.43712 16.4233 5.77588 19.4727 5.77588C22.4011 5.77588 24.3857 7.36274 24.3857 10.6356V18.2476H22.4495L22.2075 16.2888C21.6025 17.6773 19.981 18.5451 18.069 18.5451ZM18.7225 16.7351C20.8764 16.7351 22.1833 15.297 22.1833 13.0159V12.3713L19.1581 12.6192C17.1494 12.8176 16.3265 13.611 16.3265 14.8011C16.3265 16.0905 17.2462 16.7351 18.7225 16.7351Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M0 11.8754C0 8.4537 2.15395 5.77588 5.59058 5.77588C7.50251 5.77588 8.97882 6.66849 9.72907 8.18096L9.89848 6.123H11.9314V17.7517C11.9314 21.5701 9.63226 24 6.00201 24C2.78319 24 0.58084 22.1404 0.14521 19.0658H2.42017C2.71059 20.851 4.01748 21.8924 6.00201 21.8924C8.22856 21.8924 9.68066 20.4047 9.68066 18.0988V15.6689C8.90621 17.0822 7.3573 17.9253 5.49378 17.9253C2.12975 17.9253 0 15.2722 0 11.8754ZM2.27496 11.8258C2.27496 14.1069 3.65445 15.8921 5.881 15.8921C8.18016 15.8921 9.58386 14.2061 9.58386 11.8258C9.58386 9.49508 8.22856 7.80904 5.9052 7.80904C3.63025 7.80904 2.27496 9.59426 2.27496 11.8258Z",fill:"#554B6A"})]}),GardenStrokeIcon=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsxs("g",{"clip-path":"url(#clip0_11965_8100)",children:[jsxRuntime.jsx("mask",{id:"path-1-inside-1_11965_8100",fill:"white",children:jsxRuntime.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.98344 0C12.6778 0 14.9526 1.79934 15.6756 4.26383C18.17 4.96624 19.9987 7.26149 19.9987 9.98459C19.9987 12.6977 18.1834 14.9861 15.703 15.6975C14.9926 18.1818 12.7081 20 9.99972 20C7.29137 20 5.00695 18.1819 4.29646 15.6978C1.8157 14.9865 0 12.698 0 9.98459C0 7.27415 1.81178 4.98759 4.28842 4.27373C5.00818 1.80416 7.28547 0 9.98344 0Z"})}),jsxRuntime.jsx("path",{d:"M15.6756 4.26383L14.2362 4.68606L14.4699 5.48266L15.269 5.70768L15.6756 4.26383ZM15.703 15.6975L15.2894 14.2557L14.4896 14.4851L14.2608 15.2851L15.703 15.6975ZM4.29646 15.6978L5.73864 15.2853L5.50981 14.4852L4.70985 14.2558L4.29646 15.6978ZM4.28842 4.27373L4.70386 5.71505L5.49742 5.48632L5.7285 4.69345L4.28842 4.27373ZM17.1149 3.8416C16.2101 0.757033 13.363 -1.5 9.98344 -1.5V1.5C11.9926 1.5 13.6952 2.84165 14.2362 4.68606L17.1149 3.8416ZM21.4987 9.98459C21.4987 6.57361 19.2077 3.70011 16.0821 2.81999L15.269 5.70768C17.1323 6.23237 18.4987 7.94938 18.4987 9.98459H21.4987ZM16.1166 17.1394C19.2244 16.2479 21.4987 13.3831 21.4987 9.98459H18.4987C18.4987 12.0123 17.1424 13.7242 15.2894 14.2557L16.1166 17.1394ZM9.99972 21.5C13.3969 21.5 16.256 19.2194 17.1452 16.1099L14.2608 15.2851C13.7292 17.1442 12.0194 18.5 9.99972 18.5V21.5ZM2.85429 16.1102C3.74357 19.2196 6.60265 21.5 9.99972 21.5V18.5C7.9801 18.5 6.27033 17.1443 5.73864 15.2853L2.85429 16.1102ZM4.70985 14.2558C2.85665 13.7245 1.5 12.0125 1.5 9.98459H-1.5C-1.5 13.3834 0.774762 16.2485 3.88308 17.1397L4.70985 14.2558ZM1.5 9.98459C1.5 7.95888 2.8537 6.24834 4.70386 5.71505L3.87298 2.83241C0.769862 3.72684 -1.5 6.58943 -1.5 9.98459H1.5ZM9.98344 -1.5C6.59936 -1.5 3.7492 0.763058 2.84834 3.85402L5.7285 4.69345C6.26716 2.84526 7.97158 1.5 9.98344 1.5V-1.5Z",fill:"#E36492",mask:"url(#path-1-inside-1_11965_8100)"}),jsxRuntime.jsx("path",{d:"M11.5749 8.50229C11.5621 9.57529 9.91402 9.42985 9.38923 9.42329L9.41196 7.52453C9.93675 7.53109 11.5881 7.3819 11.5749 8.50229ZM11.9714 11.4605C11.9581 12.6406 9.98322 12.4813 9.35201 12.4737L9.38395 10.3823C10.0131 10.391 11.9928 10.2298 11.9778 11.4622L11.9714 11.4605ZM13.3199 8.10083C13.2284 6.97287 12.2821 6.58523 11.0828 6.46071L11.1016 4.8986L10.1705 4.88628L10.1519 6.408C9.90849 6.40463 9.65851 6.40651 9.41013 6.40882L9.42034 4.87954L8.49173 4.86437L8.47335 6.42484C8.27132 6.42754 8.07337 6.42784 7.8811 6.42617L6.59855 6.40903L6.58668 7.42599C6.58668 7.42599 7.27615 7.42138 7.26061 7.43472C7.52087 7.40423 7.75703 7.59257 7.79146 7.85806L7.77561 9.63206C7.80835 9.63243 7.84103 9.63492 7.87346 9.63952L7.7755 9.63907L7.74021 12.1307C7.72493 12.3168 7.56567 12.4554 7.38356 12.4411C7.39801 12.445 6.70803 12.4319 6.70803 12.4319L6.50921 13.5648L7.72002 13.5798L8.38592 13.5864L8.36806 15.1646L9.29753 15.1765L9.31098 13.6217C9.55795 13.6313 9.80622 13.636 10.0533 13.6386L10.0342 15.1953L10.9636 15.2072L10.9847 13.6299C12.5521 13.558 13.6487 13.1688 13.8023 11.6701C13.9245 10.4617 13.3792 9.91652 12.4964 9.687C13.0395 9.41362 13.3846 8.92417 13.3135 8.09907L13.3199 8.10083Z",fill:"#E36492"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_11965_8100",children:jsxRuntime.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),GMXLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M16.6693 13.8621L10.0128 4.16669L3.33594 13.8621H12.6383L10.0128 10.1618L8.71039 12.0845H7.32623L10.0137 8.21885L13.8987 13.8625L16.6693 13.8621Z",fill:"url(#paint0_linear_11636_3468)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11636_3468",x1:"10.4826",y1:"4.41878",x2:"6.34171",y2:"14.9832",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{"stop-color":"#03D1CF","stop-opacity":"0.988"}),jsxRuntime.jsx("stop",{offset:"1","stop-color":"#4E09F8"})]})})]}),PhantomIcon=e=>jsxRuntime.jsx("svg",{width:"24",height:"20",viewBox:"0 0 24 20",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{opacity:"0.4",d:"M2.83991 20C5.90257 20 8.20418 17.3346 9.57774 15.2283C9.41068 15.6943 9.31785 16.1603 9.31785 16.6076C9.31785 17.8379 10.0232 18.7139 11.4153 18.7139C13.3271 18.7139 15.3689 17.0364 16.4269 15.2283C16.3527 15.4893 16.3156 15.7316 16.3156 15.9553C16.3156 16.8127 16.7981 17.3532 17.7819 17.3532C20.8817 17.3532 24 11.8546 24 7.04568C24 3.29916 22.1067 0 17.355 0C9.00234 0 0 10.2144 0 16.8127C0 19.4035 1.39211 20 2.83991 20ZM14.478 6.63562C14.478 5.70365 14.9977 5.05128 15.7587 5.05128C16.5011 5.05128 17.0209 5.70365 17.0209 6.63562C17.0209 7.56759 16.5011 8.23858 15.7587 8.23858C14.9977 8.23858 14.478 7.56759 14.478 6.63562ZM18.4501 6.63562C18.4501 5.70365 18.9699 5.05128 19.7309 5.05128C20.4733 5.05128 20.9931 5.70365 20.9931 6.63562C20.9931 7.56759 20.4733 8.23858 19.7309 8.23858C18.9699 8.23858 18.4501 7.56759 18.4501 6.63562Z",fill:"#AB9FF2"})}),PolygonLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("path",{d:"M10 20C15.523 20 20 15.523 20 10C20 4.477 15.523 0 10 0C4.477 0 0 4.477 0 10C0 15.523 4.477 20 10 20Z",fill:"#8247E5"}),jsxRuntime.jsx("path",{d:"M13.6005 7.4117C13.3446 7.25591 13.0157 7.25591 12.7232 7.4117L10.6762 8.69698L9.28721 9.51488L7.27676 10.8002C7.02089 10.9559 6.69191 10.9559 6.39948 10.8002L4.82768 9.78752C4.5718 9.63173 4.38903 9.32014 4.38903 8.96961V7.02223C4.38903 6.71064 4.53525 6.39906 4.82768 6.20432L6.39948 5.23063C6.65535 5.07484 6.98433 5.07484 7.27676 5.23063L8.84856 6.24327C9.10444 6.39906 9.28721 6.71064 9.28721 7.06117V8.34645L10.6762 7.4896V6.16538C10.6762 5.85379 10.53 5.54221 10.2376 5.34747L7.31332 3.51693C7.05744 3.36114 6.72846 3.36114 6.43603 3.51693L3.43864 5.38642C3.14621 5.54221 3 5.85379 3 6.16538V9.82646C3 10.138 3.14621 10.4496 3.43864 10.6444L6.39948 12.4749C6.65535 12.6307 6.98433 12.6307 7.27676 12.4749L9.28721 11.2286L10.6762 10.3717L12.6867 9.1254C12.9426 8.96961 13.2715 8.96961 13.564 9.1254L15.1358 10.0991C15.3916 10.2549 15.5744 10.5665 15.5744 10.917V12.8644C15.5744 13.176 15.4282 13.4876 15.1358 13.6823L13.6005 14.656C13.3446 14.8118 13.0157 14.8118 12.7232 14.656L11.1514 13.6823C10.8956 13.5265 10.7128 13.2149 10.7128 12.8644V11.6181L9.32376 12.4749V13.7602C9.32376 14.0718 9.46997 14.3834 9.7624 14.5781L12.7232 16.4086C12.9791 16.5644 13.3081 16.5644 13.6005 16.4086L16.5614 14.5781C16.8172 14.4223 17 14.1107 17 13.7602V10.0602C17 9.74857 16.8538 9.43699 16.5614 9.24225L13.6005 7.4117Z",fill:"white"})]}),RadiantLogo=e=>jsxRuntime.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jsxRuntime.jsx("circle",{cx:"10",cy:"10",r:"10",fill:"#554B6A"}),jsxRuntime.jsx("path",{d:"M12.3721 10.9825L18.3346 10L12.3721 9.01752L15.8938 4.10752L10.9838 7.62919L10.0013 1.66669L9.01964 7.62919L4.1088 4.10752L7.63047 9.01752L1.66797 10L7.63047 10.9825L4.1088 15.8925L9.01964 12.3709L10.0013 18.3334L10.9838 12.3709L15.8938 15.8925L12.3721 10.9825Z",fill:"url(#paint0_linear_11636_3467)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11636_3467",x1:"10.0015",y1:"1.8013",x2:"10.0015",y2:"18.2113",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0.1028","stop-color":"#00FFAA"}),jsxRuntime.jsx("stop",{offset:"0.999","stop-color":"#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",{"clip-path":"url(#clip0_9266_25244)",children:[jsxRuntime.jsx("path",{opacity:"0.953","fill-rule":"evenodd","clip-rule":"evenodd",d:"M37.4888 0.569824C37.6131 0.569824 37.7375 0.569824 37.8619 0.569824C37.8619 2.1039 37.8619 3.63796 37.8619 5.17205C37.6911 5.19152 37.5252 5.17081 37.3644 5.10986C35.3362 4.48887 33.3045 3.88772 31.2695 3.30628C31.5183 2.76726 31.7671 2.22829 32.0158 1.68929C33.8677 1.37702 35.692 1.00386 37.4888 0.569824Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.957","fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.04391 0.942947C5.27298 0.942947 9.50206 0.942947 13.7311 0.942947C13.4409 2.02095 13.1507 3.09897 12.8604 4.17695C11.6988 4.15624 10.5379 4.17695 9.37768 4.23914C9.13724 4.27036 8.90918 4.33255 8.69356 4.42572C7.90577 6.95489 7.11804 9.484 6.33025 12.0132C6.2693 12.174 6.24859 12.3399 6.26806 12.5107C4.96892 12.2297 3.68366 11.8979 2.41214 11.5156C2.99077 9.38543 3.63347 7.27089 4.3401 5.17202C4.42244 4.88438 4.48463 4.59413 4.52667 4.30133C3.03406 4.30133 1.54144 4.30133 0.0488281 4.30133C0.0908701 4.00853 0.153062 3.71828 0.235405 3.43064C0.518865 2.60112 0.788369 1.77187 1.04391 0.942947Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.967","fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.4763 0.94295C16.5083 0.922228 18.5399 0.942957 20.5711 1.00514C21.5554 1.07067 22.4676 1.3609 23.3076 1.87583C23.4383 2.04808 23.6041 2.17246 23.8051 2.24899C24.5442 3.09679 24.9173 4.09187 24.9246 5.23422C24.8903 6.51159 24.5379 7.69324 23.8673 8.77918C23.4735 9.17305 23.0795 9.56697 22.6857 9.96083C21.9923 10.3906 21.246 10.6808 20.4467 10.8315C20.7741 10.9965 21.1057 11.1624 21.4418 11.3291C21.6699 11.5571 21.8979 11.7851 22.1259 12.0132C22.2786 12.437 22.3822 12.8723 22.4369 13.3192C22.3747 13.7546 22.3125 14.1899 22.2503 14.6253C21.9573 15.7973 21.6256 16.9583 21.2552 18.108C21.111 18.7217 21.0488 19.3437 21.0687 19.9738C19.6589 19.9738 18.2493 19.9738 16.8396 19.9738C16.8243 19.3852 16.8865 18.8048 17.0262 18.2324C17.3993 16.8642 17.7725 15.4959 18.1456 14.1277C18.4718 13.174 18.1609 12.5728 17.2127 12.3241C16.5091 12.262 15.8043 12.2413 15.0982 12.2619C14.8917 13.1095 14.6222 13.9388 14.2897 14.7496C13.0814 14.3698 11.8582 14.0381 10.6204 13.7546C10.6009 13.5837 10.6216 13.4179 10.6825 13.257C11.9857 9.16135 13.2502 5.05666 14.4763 0.94295ZM17.7103 4.05257C18.3749 4.03192 19.0383 4.05263 19.7004 4.11476C20.144 4.20183 20.4964 4.42982 20.7577 4.79887C20.8406 5.29641 20.8406 5.79395 20.7577 6.29149C20.6163 6.75706 20.4505 7.21318 20.2602 7.65972C20.0943 7.90849 19.9285 8.15726 19.7626 8.40603C19.1449 9.07845 18.3778 9.32722 17.4615 9.15233C17.0055 9.13162 16.5493 9.11085 16.0933 9.09014C16.6228 7.40722 17.1618 5.72803 17.7103 4.05257Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.951","fill-rule":"evenodd","clip-rule":"evenodd",d:"M50.6724 2.31121C50.7643 2.29492 50.8472 2.31564 50.9212 2.3734C51.9656 3.12717 53.0436 3.832 54.1552 4.48794C54.2121 4.53944 54.2535 4.60163 54.2796 4.67452C53.7522 6.31888 53.2132 7.95659 52.6626 9.58771C52.4967 9.67061 52.3309 9.67061 52.165 9.58771C51.2114 9.29746 50.2578 9.00727 49.3042 8.71702C49.1121 8.68101 48.9463 8.59804 48.8066 8.46825C49.4067 6.58513 50.0078 4.69865 50.6102 2.80875C50.6712 2.64792 50.6919 2.48205 50.6724 2.31121Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.968","fill-rule":"evenodd","clip-rule":"evenodd",d:"M30.8958 4.05257C31.8525 4.30221 32.8062 4.57169 33.7566 4.86107C33.7981 4.90255 33.8395 4.94397 33.881 4.98545C32.6441 7.64579 31.3588 10.2786 30.0251 12.8839C31.2274 12.8839 32.4299 12.8839 33.6322 12.8839C33.7046 10.2655 33.8704 7.65344 34.1298 5.04764C35.3321 5.37932 36.5346 5.71105 37.7369 6.04272C37.6362 10.6448 37.5325 15.2471 37.426 19.8494C36.0471 19.9722 34.6582 20.0137 33.2591 19.9738C33.3601 18.6496 33.4016 17.3229 33.3835 15.9935C31.725 15.9935 30.0666 15.9935 28.4081 15.9935C27.7447 17.3202 27.0813 18.647 26.4179 19.9738C24.9668 19.9738 23.5156 19.9738 22.0645 19.9738C22.3306 19.4414 22.6002 18.9024 22.873 18.3568C25.485 13.7546 28.0971 9.15234 30.7092 4.55011C30.8076 4.39525 30.8698 4.22938 30.8958 4.05257Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.967","fill-rule":"evenodd","clip-rule":"evenodd",d:"M42.4625 7.53534C43.6249 7.87441 44.7858 8.22679 45.9452 8.59261C46.1061 8.65356 46.2719 8.67427 46.4428 8.6548C46.3785 9.1177 46.2749 9.57382 46.1318 10.023C44.0424 16.6645 41.9279 23.2984 39.7882 29.9246C39.6295 30.4623 39.4844 31.0013 39.3528 31.5416C37.9407 31.6406 36.531 31.765 35.1238 31.9147C35.0409 31.894 34.9579 31.8732 34.875 31.8525C36.0805 28.2773 37.2622 24.6908 38.42 21.0933C39.7557 16.568 41.1032 12.0488 42.4625 7.53534Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.962","fill-rule":"evenodd","clip-rule":"evenodd",d:"M48.4332 9.40112C48.6041 9.38165 48.7699 9.40236 48.9308 9.46331C50.0406 9.79181 51.1393 10.1443 52.227 10.5206C52.3099 10.6864 52.3099 10.8522 52.227 11.0181C51.6124 12.9238 51.0112 14.831 50.4234 16.7398C52.2062 16.7398 53.989 16.7398 55.7719 16.7398C55.4151 17.8104 55.0834 18.8884 54.7768 19.9738C51.5843 19.9738 48.3917 19.9738 45.1992 19.9738C46.2772 16.4496 47.3552 12.9254 48.4332 9.40112Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.946","fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.03805 12.3863C3.3286 12.6986 4.61393 13.0303 5.89397 13.3814C5.35402 15.2505 4.79428 17.1162 4.21478 18.9787C4.17329 19.0202 4.13187 19.0616 4.09039 19.1031C3.3026 18.3153 2.51487 17.5276 1.72708 16.7398C1.49725 16.4275 1.26921 16.1166 1.04297 15.8069C1.41332 14.6754 1.745 13.5352 2.03805 12.3863Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.942","fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.3716 14.5009C11.6066 14.8571 12.8504 15.1888 14.1032 15.496C13.7676 16.7962 13.3737 18.0815 12.9215 19.3519C12.8392 19.6395 12.777 19.9298 12.7349 20.2226C11.3252 20.2226 9.91557 20.2226 8.50586 20.2226C9.07834 18.2979 9.70026 16.3907 10.3716 14.5009Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.963","fill-rule":"evenodd","clip-rule":"evenodd",d:"M61.3687 20.9689C62.3644 20.9482 63.3595 20.969 64.3539 21.0311C65.604 21.1689 66.6613 21.6872 67.5257 22.5859C68.0488 23.4732 68.2142 24.4268 68.0233 25.4467C67.8902 26.0323 67.7453 26.6128 67.5879 27.1881C66.2191 27.2088 64.8508 27.1881 63.4832 27.1259C63.9254 26.3284 64.0703 25.4785 63.9186 24.576C63.8719 24.4621 63.8097 24.3584 63.732 24.2651C62.2139 23.6453 61.1983 24.1222 60.6846 25.6955C60.4489 26.2368 60.4489 26.7758 60.6846 27.3125C60.9439 27.7896 61.2337 28.2457 61.5553 28.6807C61.9906 29.1161 62.426 29.5514 62.8613 29.9868C62.7786 30.0283 62.6953 30.0697 62.6125 30.1112C61.1603 30.2011 59.7094 30.3047 58.2591 30.4221C57.9525 30.4249 57.6622 30.3627 57.3884 30.2355C56.5731 29.5585 56.1585 28.6878 56.1445 27.6235C56.1424 25.223 57.096 23.3158 59.0054 21.9018C59.3369 21.7359 59.669 21.5701 60.0005 21.4042C60.4775 21.2756 60.9333 21.1305 61.3687 20.9689Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.968","fill-rule":"evenodd","clip-rule":"evenodd",d:"M24.4266 21.0933C26.6244 21.0726 28.8219 21.0933 31.0189 21.1555C32.185 21.2514 33.1594 21.7281 33.942 22.5859C34.142 22.9444 34.3079 23.3175 34.4395 23.7053C34.9432 27.1178 33.5541 29.2945 30.2726 30.2355C31.2167 30.6404 31.8593 31.3245 32.2006 32.2879C32.5654 34.8429 31.7983 36.9782 29.8995 38.6937C28.7516 39.5257 27.4663 40.0025 26.0436 40.1241C25.5318 39.9305 25.0342 39.7024 24.5509 39.44C22.8309 38.5179 21.131 37.5643 19.4512 36.5791C21.1218 31.4222 22.7802 26.2603 24.4266 21.0933ZM27.4118 24.0785C28.0351 24.0578 28.657 24.0786 29.2776 24.1407C29.6353 24.1952 29.967 24.3195 30.2726 24.5138C30.4221 24.6261 30.5258 24.7712 30.5836 24.9492C30.7878 25.9975 30.5805 26.9512 29.9617 27.81C29.6507 28.0381 29.3397 28.2661 29.0288 28.4941C28.78 28.577 28.5312 28.66 28.2825 28.7429C27.4958 28.805 26.708 28.8258 25.9192 28.8051C26.4167 27.2296 26.9142 25.654 27.4118 24.0785ZM25.0485 31.666C25.8443 31.6339 26.632 31.6961 27.4118 31.8525C27.6765 31.934 27.9253 32.0377 28.1581 32.1635C28.2292 32.3818 28.3329 32.5891 28.4691 32.7854C28.5091 34.3436 27.9494 35.6496 26.7899 36.7035C26.4482 36.9211 26.0751 37.0455 25.6704 37.0767C24.8837 37.1388 24.0959 37.1595 23.3071 37.1389C23.8631 35.3051 24.4436 33.4807 25.0485 31.666Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.965","fill-rule":"evenodd","clip-rule":"evenodd",d:"M44.4541 21.0933C48.6831 21.0933 52.9122 21.0933 57.1413 21.0933C56.8971 22.1782 56.5654 23.2355 56.1462 24.2651C54.8201 24.3273 53.4933 24.348 52.1659 24.3273C51.47 26.5187 50.7859 28.7162 50.1136 30.9197C49.731 31.0177 49.3371 31.0799 48.9319 31.1062C47.9368 31.1767 46.9417 31.2389 45.9467 31.2928C45.9272 31.122 45.9479 30.9561 46.0089 30.7953C46.684 28.6535 47.3681 26.5182 48.0612 24.3895C46.5277 24.3273 44.9936 24.3066 43.459 24.3273C43.7662 23.2399 44.0979 22.1619 44.4541 21.0933Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.905","fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.3418 21.2177C16.8824 21.1971 17.4214 21.2178 17.9588 21.2798C18.3967 21.3425 18.7076 21.5706 18.8917 21.964C18.9746 22.3371 18.9746 22.7103 18.8917 23.0834C18.6237 24.3025 18.2091 25.4633 17.6479 26.5662C17.4051 26.8639 17.0941 27.0505 16.715 27.1259C16.176 27.2088 15.637 27.2088 15.098 27.1259C14.389 26.9768 14.0159 26.5415 13.9785 25.8199C14.2765 24.5864 14.6704 23.384 15.1602 22.2127C15.2903 22.0149 15.4354 21.8283 15.5955 21.653C15.8358 21.4716 16.0846 21.3265 16.3418 21.2177ZM16.715 22.2127C17.0139 22.2063 17.3041 22.2477 17.5857 22.3371C17.6058 22.5893 17.5851 22.8381 17.5235 23.0834C17.2332 23.9541 16.943 24.8248 16.6528 25.6955C16.4738 25.9378 16.2457 26.1037 15.9687 26.193C15.8009 26.1501 15.635 26.1086 15.4711 26.0687C15.4507 25.7344 15.4714 25.4027 15.5333 25.0736C15.7821 24.3273 16.0309 23.581 16.2796 22.8347C16.4037 22.6079 16.5488 22.4006 16.715 22.2127Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.913","fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.9504 21.2177C21.0292 21.197 22.1071 21.2177 23.1844 21.2799C23.0229 21.6191 22.8985 21.9714 22.8112 22.3371C22.2308 22.3371 21.6503 22.3371 21.0698 22.3371C20.9576 22.736 20.8332 23.1299 20.6967 23.5188C21.2341 23.5808 21.7731 23.6016 22.3137 23.581C22.2308 23.9126 22.1478 24.2444 22.0649 24.576C21.4929 24.5387 20.9332 24.5802 20.3857 24.7004C20.0938 25.4722 19.8658 26.26 19.7016 27.0637C19.2041 27.0637 18.7065 27.0637 18.209 27.0637C18.7554 25.2793 19.3151 23.4965 19.8882 21.7152C19.9491 21.5544 19.9698 21.3885 19.9504 21.2177Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.96","fill-rule":"evenodd","clip-rule":"evenodd",d:"M61.7423 30.9197C62.3654 30.899 62.9874 30.9197 63.608 30.9818C64.5372 31.8042 64.9931 32.8407 64.9763 34.0915C64.7748 35.8413 64.1734 37.4375 63.1727 38.8803C61.9985 40.1848 60.5264 40.8689 58.757 40.9326C57.2251 41.1052 55.7324 40.9394 54.2792 40.4351C53.9475 40.2278 53.6158 40.0204 53.2841 39.8132C53.1124 39.5737 52.9258 39.3457 52.7244 39.129C52.5756 38.807 52.4512 38.4753 52.3512 38.134C52.2683 37.4706 52.2683 36.8072 52.3512 36.1438C52.4844 35.5583 52.6295 34.9778 52.7866 34.4024C54.2383 34.3817 55.6895 34.4024 57.14 34.4646C56.7613 35.0715 56.554 35.7349 56.5181 36.4548C56.7491 37.773 57.4954 38.1876 58.757 37.6986C60.4512 36.9016 61.0942 35.5955 60.685 33.7805C60.519 33.4488 60.3535 33.1171 60.1875 32.7854C59.6651 32.2214 59.1053 31.7032 58.5083 31.2306C59.6072 31.1455 60.685 31.0418 61.7423 30.9197Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.952","fill-rule":"evenodd","clip-rule":"evenodd",d:"M48.6818 31.9147C49.055 31.9147 49.4281 31.9147 49.8013 31.9147C49.3441 33.4523 48.8674 34.9863 48.3708 36.517C48.2885 36.8046 48.2263 37.0949 48.1843 37.3877C48.0134 37.3682 47.8476 37.3889 47.6867 37.4498C46.3329 37.9022 44.9647 38.2961 43.582 38.6315C44.2202 36.468 44.8837 34.312 45.5722 32.1635C46.6323 32.1442 47.6688 32.0613 48.6818 31.9147Z",fill:"#554B6A"}),jsxRuntime.jsx("path",{opacity:"0.929","fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.0798 37.3877C19.1717 37.3714 19.2546 37.3921 19.3286 37.4499C20.987 38.362 22.6455 39.2741 24.3039 40.1863C24.4698 40.3107 24.6356 40.4351 24.8015 40.5595C22.478 40.918 20.1562 41.2704 17.8359 41.6167C18.2758 40.2144 18.6903 38.8047 19.0798 37.3877Z",fill:"#554B6A"})]}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsx("clipPath",{id:"clip0_9266_25244",children:jsxRuntime.jsx("rect",{width:"68.4923",height:"42",fill:"white"})})})]}),TrustWallet=e=>jsxRuntime.jsxs("svg",{width:"20",height:"22",viewBox:"0 0 20 22",...e,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M0 3.11128L9.61454 0V21.5385C2.74692 18.6664 0 13.1622 0 10.0515V3.11128Z",fill:"#0500FF"}),jsxRuntime.jsx("path",{d:"M19.2317 3.11128L9.61719 0V21.5385C16.4848 18.6664 19.2317 13.1622 19.2317 10.0515V3.11128Z",fill:"url(#paint0_linear_12337_5697)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_12337_5697",x1:"16.6778",y1:"-1.50826",x2:"9.47321",y2:"21.2625",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{offset:"0.02","stop-color":"#0000FF"}),jsxRuntime.jsx("stop",{offset:"0.08","stop-color":"#0094FF"}),jsxRuntime.jsx("stop",{offset:"0.16","stop-color":"#48FF91"}),jsxRuntime.jsx("stop",{offset:"0.42","stop-color":"#0094FF"}),jsxRuntime.jsx("stop",{offset:"0.68","stop-color":"#0038FF"}),jsxRuntime.jsx("stop",{offset:"0.9","stop-color":"#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"})}),Chip=({children:e,className:t,...i})=>jsxRuntime.jsx("div",{className:cn("flex items-center rounded-full text-dark-grey font-medium bg-white gap-x-2","px-3 py-1.5 sm:py-1",t),...i,children:e}),CheckBox=({checked:e})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:e?jsxRuntime.jsx(RadioCheckedIcon,{className:"w-4 sm:w-5"}):jsxRuntime.jsx(RadioUncheckedIcon,{className:"w-4 sm:w-5"})}),Logo=({children:e,...t})=>jsxRuntime.jsx("div",{className:"flex items-center justify-center",...t,children:e});Chip.CheckBox=CheckBox;Chip.Logo=Logo;const InfoBadge=({children:e,className:t,...i})=>jsxRuntime.jsx(Opacity,{level:"medium",className:"px-4 py-3 rounded-3xl "+t,...i,children:jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",children:e})}),TokenInfo=({symbol:e,tokenLogo:t,chainLogo:i,className:s,...n})=>jsxRuntime.jsx("div",{className:cn("flex text-left cursor-pointer",s),...n,children:jsxRuntime.jsxs("button",{className:"flex flex-row justify-center items-center gap-2 w-full focus:outline-none",children:[jsxRuntime.jsx(Typography,{size:"h2",children:e}),jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[typeof t=="string"?jsxRuntime.jsx("img",{src:t,alt:"token logo",className:"w-5 h-5"}):t,i&&(typeof i=="string"?jsxRuntime.jsx("img",{src:i,alt:"chain logo",className:"w-5 h-5"}):i),jsxRuntime.jsx("span",{children:jsxRuntime.jsx(KeyboardDownIcon,{})})]})]})}),appLink="https://app.garden.finance",footerDetails=[{title:"Application",targetSame:!0,links:[{title:"Swap",link:appLink+"/swap",isExternal:!0},{title:"Stake",link:appLink+"/stake",isExternal:!0},{title:"Seasons",link:appLink+"/seasons",isExternal:!0}]},{title:"Resources",links:[{title:"Blog",link:"/blog",isExternal:!1},{title:"Audits",link:"https://github.com/catalogfi/audits",isExternal:!0}]},{title:"Ecosystem",links:[{title:"Analytics",link:"https://dune.com/asnogordo/gardenfinance",isExternal:!0},{title:"Explorer",link:"https://main--symphonious-chaja-a69e12.netlify.app/",isExternal:!0}]},{title:"Community",links:[{title:"Discord",link:"https://discord.com/invite/Fp4ZmZZrFu",isExternal:!0},{title:"Telegram",link:"https://t.me/GardenTownhall",isExternal:!0},{title:"X",link:"https://twitter.com/intent/follow?screen_name=garden_finance",isExternal:!0}]}],Footer=({className:e,...t})=>jsxRuntime.jsxs("footer",{className:cn("w-full p-8 md:px-28 md:pt-8 md:pb-16",e),...t,children:[jsxRuntime.jsxs("div",{className:"md:flex md:justify-between md:items-start",children:[jsxRuntime.jsx("div",{className:"flex items-center mb-6",children:jsxRuntime.jsx(GardenFullLogo,{})}),jsxRuntime.jsx("div",{className:"grid grid-cols-2 gap-x-14 gap-y-6 md:flex w-full md:justify-end md:gap-x-14",children:footerDetails.map(i=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"bold",className:"mb-3",children:i.title}),i.links.map(s=>jsxRuntime.jsx("a",{href:s.link,target:i.targetSame?"_self":"_blank",rel:"noreferrer",children:jsxRuntime.jsx(Typography,{size:"h4",children:s.title})},s.title))]},i.title))})]}),jsxRuntime.jsx("hr",{className:"mt-6 mb-5 md:mt-12 md:mb-6 border-dark-grey"}),jsxRuntime.jsxs("div",{className:"flex flex-col gap-y-3 md:flex-row justify-between items-center",children:[jsxRuntime.jsxs("div",{className:"flex gap-x-2",children:[jsxRuntime.jsx(Typography,{size:"h5",children:"Powered by "}),jsxRuntime.jsx(CatalogLogo,{})]}),jsxRuntime.jsxs("div",{className:"flex gap-x-6 md:gap-x-4",children:[jsxRuntime.jsx("a",{href:"#",className:"hover:underline",children:jsxRuntime.jsx(Typography,{size:"h5",children:"Privacy Policy"})}),jsxRuntime.jsx("a",{href:"#",className:"hover:underline",children:jsxRuntime.jsx(Typography,{size:"h5",children:"Terms of Service"})})]})]})]});var build={exports:{}};(()=>{var e={181:(n,a,o)=>{var f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,m=/^0o[0-7]+$/i,E=parseInt,u=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,P=typeof self=="object"&&self&&self.Object===Object&&self,x=u||P||Function("return this")(),g=Object.prototype.toString,_=Math.max,d=Math.min,y=function(){return x.Date.now()};function p(A){var M=typeof A;return!!A&&(M=="object"||M=="function")}function b(A){if(typeof A=="number")return A;if(function(k){return typeof k=="symbol"||function(B){return!!B&&typeof B=="object"}(k)&&g.call(k)=="[object Symbol]"}(A))return NaN;if(p(A)){var M=typeof A.valueOf=="function"?A.valueOf():A;A=p(M)?M+"":M}if(typeof A!="string")return A===0?A:+A;A=A.replace(f,"");var L=c.test(A);return L||m.test(A)?E(A.slice(2),L?2:8):l.test(A)?NaN:+A}n.exports=function(A,M,L){var k,B,Y,Z,j,U,X=0,z=!1,T=!1,I=!0;if(typeof A!="function")throw new TypeError("Expected a function");function C(q){var $=k,J=B;return k=B=void 0,X=q,Z=A.apply(J,$)}function S(q){var $=q-U;return U===void 0||$>=M||$<0||T&&q-X>=Y}function V(){var q=y();if(S(q))return F(q);j=setTimeout(V,function($){var J=M-($-U);return T?d(J,Y-($-X)):J}(q))}function F(q){return j=void 0,I&&k?C(q):(k=B=void 0,Z)}function H(){var q=y(),$=S(q);if(k=arguments,B=this,U=q,$){if(j===void 0)return function(J){return X=J,j=setTimeout(V,M),z?C(J):Z}(U);if(T)return j=setTimeout(V,M),C(U)}return j===void 0&&(j=setTimeout(V,M)),Z}return M=b(M)||0,p(L)&&(z=!!L.leading,Y=(T="maxWait"in L)?_(b(L.maxWait)||0,M):Y,I="trailing"in L?!!L.trailing:I),H.cancel=function(){j!==void 0&&clearTimeout(j),X=0,k=U=B=j=void 0},H.flush=function(){return j===void 0?Z:F(y())},H}},858:(n,a,o)=>{var f="Expected a function",l=NaN,c="[object Symbol]",m=/^\s+|\s+$/g,E=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,P=/^0o[0-7]+$/i,x=parseInt,g=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,_=typeof self=="object"&&self&&self.Object===Object&&self,d=g||_||Function("return this")(),y=Object.prototype.toString,p=Math.max,b=Math.min,A=function(){return d.Date.now()};function M(k){var B=typeof k;return!!k&&(B=="object"||B=="function")}function L(k){if(typeof k=="number")return k;if(function(Z){return typeof Z=="symbol"||function(j){return!!j&&typeof j=="object"}(Z)&&y.call(Z)==c}(k))return l;if(M(k)){var B=typeof k.valueOf=="function"?k.valueOf():k;k=M(B)?B+"":B}if(typeof k!="string")return k===0?k:+k;k=k.replace(m,"");var Y=u.test(k);return Y||P.test(k)?x(k.slice(2),Y?2:8):E.test(k)?l:+k}n.exports=function(k,B,Y){var Z=!0,j=!0;if(typeof k!="function")throw new TypeError(f);return M(Y)&&(Z="leading"in Y?!!Y.leading:Z,j="trailing"in Y?!!Y.trailing:j),function(U,X,z){var T,I,C,S,V,F,H=0,q=!1,$=!1,J=!0;if(typeof U!="function")throw new TypeError(f);function re(se){var oe=T,te=I;return T=I=void 0,H=se,S=U.apply(te,oe)}function le(se){var oe=se-F;return F===void 0||oe>=X||oe<0||$&&se-H>=C}function pe(){var se=A();if(le(se))return ue(se);V=setTimeout(pe,function(oe){var te=X-(oe-F);return $?b(te,C-(oe-H)):te}(se))}function ue(se){return V=void 0,J&&T?re(se):(T=I=void 0,S)}function ce(){var se=A(),oe=le(se);if(T=arguments,I=this,F=se,oe){if(V===void 0)return function(te){return H=te,V=setTimeout(pe,X),q?re(te):S}(F);if($)return V=setTimeout(pe,X),re(F)}return V===void 0&&(V=setTimeout(pe,X)),S}return X=L(X)||0,M(z)&&(q=!!z.leading,C=($="maxWait"in z)?p(L(z.maxWait)||0,X):C,J="trailing"in z?!!z.trailing:J),ce.cancel=function(){V!==void 0&&clearTimeout(V),H=0,T=F=I=V=void 0},ce.flush=function(){return V===void 0?S:ue(A())},ce}(k,B,{leading:Z,maxWait:B,trailing:j})}},694:(n,a,o)=>{var f=o(925);function l(){}function c(){}c.resetWarningCache=l,n.exports=function(){function m(P,x,g,_,d,y){if(y!==f){var p=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 p.name="Invariant Violation",p}}function E(){return m}m.isRequired=m;var u={array:m,bigint:m,bool:m,func:m,number:m,object:m,string:m,symbol:m,any:m,arrayOf:E,element:m,elementType:m,instanceOf:E,node:m,objectOf:E,oneOf:E,oneOfType:E,shape:E,exact:E,checkPropTypes:c,resetWarningCache:l};return u.PropTypes=u,u}},556:(n,a,o)=>{n.exports=o(694)()},925:n=>{n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function i(n){var a=t[n];if(a!==void 0)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,i),o.exports}i.n=n=>{var a=n&&n.__esModule?()=>n.default:()=>n;return i.d(a,{a}),a},i.d=(n,a)=>{for(var o in a)i.o(a,o)&&!i.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:a[o]})},i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(n,a)=>Object.prototype.hasOwnProperty.call(n,a),i.r=n=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var s={};(()=>{i.r(s),i.d(s,{LazyLoadComponent:()=>me,LazyLoadImage:()=>Ge,trackWindowScroll:()=>q});const n=React;var a=i.n(n),o=i(556);function f(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function l(G){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},l(G)}function c(G,R){var D=Object.keys(G);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(G);R&&(W=W.filter(function(O){return Object.getOwnPropertyDescriptor(G,O).enumerable})),D.push.apply(D,W)}return D}function m(G,R,D){return(R=u(R))in G?Object.defineProperty(G,R,{value:D,enumerable:!0,configurable:!0,writable:!0}):G[R]=D,G}function E(G,R){for(var D=0;D<R.length;D++){var W=R[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,u(W.key),W)}}function u(G){var R=function(D,W){if(l(D)!="object"||!D)return D;var O=D[Symbol.toPrimitive];if(O!==void 0){var N=O.call(D,"string");if(l(N)!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(D)}(G);return l(R)=="symbol"?R:R+""}function P(G,R,D){return R=g(R),function(W,O){if(O&&(l(O)=="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(W)}(G,x()?Reflect.construct(R,D||[],g(G).constructor):R.apply(G,D))}function x(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(x=function(){return!!G})()}function g(G){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},g(G)}function _(G,R){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,D},_(G,R)}var d=function(G){G.forEach(function(R){R.isIntersecting&&R.target.onVisible()})},y={},p=function(G){function R(O){var N;if(function(Q,ie){if(!(Q instanceof ie))throw new TypeError("Cannot call a class as a function")}(this,R),(N=P(this,R,[O])).supportsObserver=!O.scrollPosition&&O.useIntersectionObserver&&f(),N.supportsObserver){var ee=O.threshold;N.observer=function(Q){return y[Q]=y[Q]||new IntersectionObserver(d,{rootMargin:Q+"px"}),y[Q]}(ee)}return N}return function(O,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(N&&N.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),N&&_(O,N)}(R,G),D=R,W=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,N=this.placeholder.getBoundingClientRect(),ee=this.placeholder.style,Q=parseInt(ee.getPropertyValue("margin-left"),10)||0,ie=parseInt(ee.getPropertyValue("margin-top"),10)||0;return{bottom:O.y+N.bottom+ie,left:O.x+N.left+Q,right:O.x+N.right+Q,top:O.y+N.top+ie}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var O=this.props,N=O.scrollPosition,ee=O.threshold,Q=this.getPlaceholderBoundingBox(N),ie=N.y+window.innerHeight,ne=N.x,he=N.x+window.innerWidth,fe=N.y;return fe-ee<=Q.bottom&&ie+ee>=Q.top&&ne-ee<=Q.right&&he+ee>=Q.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var O=this,N=this.props,ee=N.className,Q=N.height,ie=N.placeholder,ne=N.style,he=N.width;if(ie&&typeof ie.type!="function")return a().cloneElement(ie,{ref:function(ae){return O.placeholder=ae}});var fe=function(ae){for(var ve=1;ve<arguments.length;ve++){var de=arguments[ve]!=null?arguments[ve]:{};ve%2?c(Object(de),!0).forEach(function(ye){m(ae,ye,de[ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ae,Object.getOwnPropertyDescriptors(de)):c(Object(de)).forEach(function(ye){Object.defineProperty(ae,ye,Object.getOwnPropertyDescriptor(de,ye))})}return ae}({display:"inline-block"},ne);return he!==void 0&&(fe.width=he),Q!==void 0&&(fe.height=Q),a().createElement("span",{className:ee,ref:function(ae){return O.placeholder=ae},style:fe},ie)}}],W&&E(D.prototype,W),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,W}(a().Component);p.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])},p.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const b=p;var A=i(181),M=i.n(A),L=i(858),k=i.n(L),B=function(G){var R=getComputedStyle(G,null);return R.getPropertyValue("overflow")+R.getPropertyValue("overflow-y")+R.getPropertyValue("overflow-x")};const Y=function(G){if(!(G instanceof HTMLElement))return window;for(var R=G;R&&R instanceof HTMLElement;){if(/(scroll|auto)/.test(B(R)))return R;R=R.parentNode}return window};function Z(G){return Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},Z(G)}var j=["delayMethod","delayTime"];function U(){return U=Object.assign?Object.assign.bind():function(G){for(var R=1;R<arguments.length;R++){var D=arguments[R];for(var W in D)({}).hasOwnProperty.call(D,W)&&(G[W]=D[W])}return G},U.apply(null,arguments)}function X(G,R){for(var D=0;D<R.length;D++){var W=R[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,z(W.key),W)}}function z(G){var R=function(D,W){if(Z(D)!="object"||!D)return D;var O=D[Symbol.toPrimitive];if(O!==void 0){var N=O.call(D,"string");if(Z(N)!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(D)}(G);return Z(R)=="symbol"?R:R+""}function T(G,R,D){return R=S(R),I(G,C()?Reflect.construct(R,D||[],S(G).constructor):R.apply(G,D))}function I(G,R){if(R&&(Z(R)=="object"||typeof R=="function"))return R;if(R!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}(G)}function C(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(C=function(){return!!G})()}function S(G){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},S(G)}function V(G,R){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,D},V(G,R)}var F=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},H=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const q=function(G){var R=function(D){function W(ee){var Q;if(function(ne,he){if(!(ne instanceof he))throw new TypeError("Cannot call a class as a function")}(this,W),(Q=T(this,W,[ee])).useIntersectionObserver=ee.useIntersectionObserver&&f(),Q.useIntersectionObserver)return I(Q);var ie=Q.onChangeScroll.bind(Q);return ee.delayMethod==="debounce"?Q.delayedScroll=M()(ie,ee.delayTime):ee.delayMethod==="throttle"&&(Q.delayedScroll=k()(ie,ee.delayTime)),Q.state={scrollPosition:{x:F(),y:H()}},Q.baseComponentRef=a().createRef(),Q}return function(ee,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(Q&&Q.prototype,{constructor:{value:ee,writable:!0,configurable:!0}}),Object.defineProperty(ee,"prototype",{writable:!1}),Q&&V(ee,Q)}(W,D),O=W,N=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||Y(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=Y(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:F(),y:H()}})}},{key:"render",value:function(){var ee=this.props,Q=(ee.delayMethod,ee.delayTime,function(ne,he){if(ne==null)return{};var fe,ae,ve=function(ye,Be){if(ye==null)return{};var De={};for(var Re in ye)if({}.hasOwnProperty.call(ye,Re)){if(Be.indexOf(Re)>=0)continue;De[Re]=ye[Re]}return De}(ne,he);if(Object.getOwnPropertySymbols){var de=Object.getOwnPropertySymbols(ne);for(ae=0;ae<de.length;ae++)fe=de[ae],he.indexOf(fe)>=0||{}.propertyIsEnumerable.call(ne,fe)&&(ve[fe]=ne[fe])}return ve}(ee,j)),ie=this.useIntersectionObserver?null:this.state.scrollPosition;return a().createElement(G,U({forwardRef:this.baseComponentRef,scrollPosition:ie},Q))}}],N&&X(O.prototype,N),Object.defineProperty(O,"prototype",{writable:!1}),O;var O,N}(a().Component);return R.propTypes={delayMethod:o.PropTypes.oneOf(["debounce","throttle"]),delayTime:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool},R.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},R};function $(G){return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},$(G)}function J(G,R){for(var D=0;D<R.length;D++){var W=R[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,re(W.key),W)}}function re(G){var R=function(D,W){if($(D)!="object"||!D)return D;var O=D[Symbol.toPrimitive];if(O!==void 0){var N=O.call(D,"string");if($(N)!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(D)}(G);return $(R)=="symbol"?R:R+""}function le(G,R,D){return R=ue(R),function(W,O){if(O&&($(O)=="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(W)}(G,pe()?Reflect.construct(R,D||[],ue(G).constructor):R.apply(G,D))}function pe(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(pe=function(){return!!G})()}function ue(G){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},ue(G)}function ce(G,R){return ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,D},ce(G,R)}var se=function(G){function R(O){return function(N,ee){if(!(N instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,R),le(this,R,[O])}return function(O,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(N&&N.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),N&&ce(O,N)}(R,G),D=R,(W=[{key:"render",value:function(){return a().createElement(b,this.props)}}])&&J(D.prototype,W),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,W}(a().Component);const oe=q(se);function te(G){return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},te(G)}function K(G,R){for(var D=0;D<R.length;D++){var W=R[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,Ae(W.key),W)}}function Ae(G){var R=function(D,W){if(te(D)!="object"||!D)return D;var O=D[Symbol.toPrimitive];if(O!==void 0){var N=O.call(D,"string");if(te(N)!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(D)}(G);return te(R)=="symbol"?R:R+""}function Me(G,R,D){return R=ge(R),function(W,O){if(O&&(te(O)=="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(W)}(G,we()?Reflect.construct(R,D||[],ge(G).constructor):R.apply(G,D))}function we(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(we=function(){return!!G})()}function ge(G){return ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},ge(G)}function Ce(G,R){return Ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,D},Ce(G,R)}var Pe=function(G){function R(O){var N;(function(he,fe){if(!(he instanceof fe))throw new TypeError("Cannot call a class as a function")})(this,R),N=Me(this,R,[O]);var ee=O.afterLoad,Q=O.beforeLoad,ie=O.scrollPosition,ne=O.visibleByDefault;return N.state={visible:ne},ne&&(Q(),ee()),N.onVisible=N.onVisible.bind(N),N.isScrollTracked=!!(ie&&Number.isFinite(ie.x)&&ie.x>=0&&Number.isFinite(ie.y)&&ie.y>=0),N}return function(O,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(N&&N.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),N&&Ce(O,N)}(R,G),D=R,(W=[{key:"componentDidUpdate",value:function(O,N){N.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 O=this.props,N=O.className,ee=O.delayMethod,Q=O.delayTime,ie=O.height,ne=O.placeholder,he=O.scrollPosition,fe=O.style,ae=O.threshold,ve=O.useIntersectionObserver,de=O.width;return this.isScrollTracked||ve&&f()?a().createElement(b,{className:N,height:ie,onVisible:this.onVisible,placeholder:ne,scrollPosition:he,style:fe,threshold:ae,useIntersectionObserver:ve,width:de}):a().createElement(oe,{className:N,delayMethod:ee,delayTime:Q,height:ie,onVisible:this.onVisible,placeholder:ne,style:fe,threshold:ae,width:de})}}])&&K(D.prototype,W),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,W}(a().Component);Pe.propTypes={afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool},Pe.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const me=Pe;function xe(G){return xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},xe(G)}var Te=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function be(G,R){var D=Object.keys(G);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(G);R&&(W=W.filter(function(O){return Object.getOwnPropertyDescriptor(G,O).enumerable})),D.push.apply(D,W)}return D}function _e(G){for(var R=1;R<arguments.length;R++){var D=arguments[R]!=null?arguments[R]:{};R%2?be(Object(D),!0).forEach(function(W){Se(G,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(D)):be(Object(D)).forEach(function(W){Object.defineProperty(G,W,Object.getOwnPropertyDescriptor(D,W))})}return G}function Se(G,R,D){return(R=Le(R))in G?Object.defineProperty(G,R,{value:D,enumerable:!0,configurable:!0,writable:!0}):G[R]=D,G}function Ee(){return Ee=Object.assign?Object.assign.bind():function(G){for(var R=1;R<arguments.length;R++){var D=arguments[R];for(var W in D)({}).hasOwnProperty.call(D,W)&&(G[W]=D[W])}return G},Ee.apply(null,arguments)}function ke(G,R){for(var D=0;D<R.length;D++){var W=R[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,Le(W.key),W)}}function Le(G){var R=function(D,W){if(xe(D)!="object"||!D)return D;var O=D[Symbol.toPrimitive];if(O!==void 0){var N=O.call(D,"string");if(xe(N)!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(D)}(G);return xe(R)=="symbol"?R:R+""}function Ie(G,R,D){return R=Fe(R),function(W,O){if(O&&(xe(O)=="object"||typeof O=="function"))return O;if(O!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(W)}(G,Oe()?Reflect.construct(R,D||[],Fe(G).constructor):R.apply(G,D))}function Oe(){try{var G=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Oe=function(){return!!G})()}function Fe(G){return Fe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},Fe(G)}function Ve(G,R){return Ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,W){return D.__proto__=W,D},Ve(G,R)}var je=function(G){function R(O){var N;return function(ee,Q){if(!(ee instanceof Q))throw new TypeError("Cannot call a class as a function")}(this,R),(N=Ie(this,R,[O])).state={loaded:!1},N}return function(O,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(N&&N.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),N&&Ve(O,N)}(R,G),D=R,W=[{key:"onImageLoad",value:function(){var O=this;return this.state.loaded?null:function(N){O.props.onLoad(N),O.props.afterLoad(),O.setState({loaded:!0})}}},{key:"getImg",value:function(){var O=this.props,N=(O.afterLoad,O.beforeLoad,O.delayMethod,O.delayTime,O.effect,O.placeholder,O.placeholderSrc,O.scrollPosition,O.threshold,O.useIntersectionObserver,O.visibleByDefault,O.wrapperClassName,O.wrapperProps,function(ee,Q){if(ee==null)return{};var ie,ne,he=function(ae,ve){if(ae==null)return{};var de={};for(var ye in ae)if({}.hasOwnProperty.call(ae,ye)){if(ve.indexOf(ye)>=0)continue;de[ye]=ae[ye]}return de}(ee,Q);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(ee);for(ne=0;ne<fe.length;ne++)ie=fe[ne],Q.indexOf(ie)>=0||{}.propertyIsEnumerable.call(ee,ie)&&(he[ie]=ee[ie])}return he}(O,Te));return a().createElement("img",Ee({},N,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var O=this.props,N=O.beforeLoad,ee=O.className,Q=O.delayMethod,ie=O.delayTime,ne=O.height,he=O.placeholder,fe=O.scrollPosition,ae=O.style,ve=O.threshold,de=O.useIntersectionObserver,ye=O.visibleByDefault,Be=O.width;return a().createElement(me,{beforeLoad:N,className:ee,delayMethod:Q,delayTime:ie,height:ne,placeholder:he,scrollPosition:fe,style:ae,threshold:ve,useIntersectionObserver:de,visibleByDefault:ye,width:Be},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(O){var N=this.props,ee=N.effect,Q=N.height,ie=N.placeholderSrc,ne=N.width,he=N.wrapperClassName,fe=N.wrapperProps,ae=this.state.loaded,ve=ae?" lazy-load-image-loaded":"",de=ae||!ie?{}:{backgroundImage:"url(".concat(ie,")"),backgroundSize:"100% 100%"};return a().createElement("span",Ee({className:he+" lazy-load-image-background "+ee+ve,style:_e(_e({},de),{},{color:"transparent",display:"inline-block",height:Q,width:ne})},fe),O)}},{key:"render",value:function(){var O=this.props,N=O.effect,ee=O.placeholderSrc,Q=O.visibleByDefault,ie=O.wrapperClassName,ne=O.wrapperProps,he=this.getLazyLoadImage();return(N||ee)&&!Q||ie||ne?this.getWrappedLazyLoadImage(he):he}}],W&&ke(D.prototype,W),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,W}(a().Component);je.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},je.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const Ge=je})(),build.exports=s})();var buildExports=build.exports;const placeholderUrl="data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%200%20384%20216'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11648_9381)'%3e%3crect%20width='384'%20height='216'%20fill='%2359BB99'/%3e%3ccircle%20cx='-7'%20cy='184'%20r='87'%20fill='url(%23paint0_radial_11648_9381)'/%3e%3ccircle%20cx='368'%20cy='33'%20r='87'%20fill='url(%23paint1_radial_11648_9381)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M136%2078C141.959%2078%20146.986%2081.9942%20148.548%2087.4516C154.006%2089.014%20158%2094.0405%20158%2099.9999C158%20105.959%20154.006%20110.986%20148.548%20112.548C146.986%20118.006%20141.959%20122%20136%20122C130.04%20122%20125.014%20118.006%20123.452%20112.548C117.994%20110.986%20114%20105.959%20114%2099.9999C114%2094.0406%20117.994%2089.0142%20123.452%2087.4517C125.014%2081.9943%20130.04%2078%20136%2078Z'%20fill='%23F7CFDB'/%3e%3cpath%20d='M139.954%2095.3616C139.923%2097.884%20135.962%2097.5421%20134.7%2097.5267L134.755%2093.063C136.016%2093.0784%20139.985%2092.7277%20139.954%2095.3616ZM140.906%20102.316C140.874%20105.09%20136.128%20104.716%20134.611%20104.698L134.688%2099.7811C136.2%2099.8017%20140.958%2099.4226%20140.922%20102.32L140.906%20102.316ZM144.148%2094.4178C143.928%2091.7661%20141.653%2090.8548%20138.771%2090.5621L138.816%2086.8898L136.578%2086.8608L136.533%2090.4382C135.948%2090.4302%20135.347%2090.4347%20134.75%2090.4401L134.775%2086.845L132.543%2086.8093L132.499%2090.4777C132.013%2090.4841%20131.538%2090.4848%20131.075%2090.4809L127.993%2090.4406L127.964%2092.8313C127.964%2092.8313%20129.621%2092.8205%20129.584%2092.8518C130.21%2092.7802%20130.777%2093.2229%20130.86%2093.8471L130.822%2098.0175C130.901%2098.0184%20130.979%2098.0242%20131.057%2098.035L130.822%2098.034L130.737%20103.891C130.7%20104.329%20130.317%20104.655%20129.88%20104.621C129.914%20104.63%20128.256%20104.6%20128.256%20104.6L127.778%20107.263L130.688%20107.298L132.289%20107.314L132.246%20111.024L134.48%20111.052L134.512%20107.397C135.106%20107.419%20135.702%20107.43%20136.296%20107.436L136.25%20111.096L138.484%20111.124L138.535%20107.416C142.302%20107.247%20144.938%20106.332%20145.307%20102.809C145.601%2099.9679%20144.29%2098.6862%20142.168%2098.1466C143.474%2097.504%20144.303%2096.3533%20144.132%2094.4136L144.148%2094.4178Z'%20fill='%23DB6A93'/%3e%3cpath%20d='M170%2098.8577C170%2094.4242%20172.859%2090.9544%20177.421%2090.9544C179.959%2090.9544%20181.919%2092.111%20182.915%2094.0708L183.14%2091.4042H185.839V106.472C185.839%20111.42%20182.787%20114.568%20177.968%20114.568C173.695%20114.568%20170.771%20112.158%20170.193%20108.175H173.213C173.598%20110.488%20175.333%20111.837%20177.968%20111.837C180.923%20111.837%20182.851%20109.91%20182.851%20106.922V103.773C181.823%20105.604%20179.767%20106.697%20177.293%20106.697C172.827%20106.697%20170%20103.259%20170%2098.8577ZM173.02%2098.7935C173.02%20101.749%20174.851%20104.062%20177.807%20104.062C180.859%20104.062%20182.722%20101.878%20182.722%2098.7935C182.722%2095.7735%20180.923%2093.5889%20177.839%2093.5889C174.819%2093.5889%20173.02%2095.902%20173.02%2098.7935Z'%20fill='white'/%3e%3cpath%20d='M194.791%20107.5C191.418%20107.5%20189.426%20105.604%20189.426%20102.745C189.426%2099.8537%20191.579%2098.0545%20195.273%2097.7654L200.221%2097.3799V96.9301C200.221%2094.2957%20198.647%2093.364%20196.526%2093.364C193.988%2093.364%20192.542%2094.4884%20192.542%2096.3839H189.908C189.908%2093.1069%20192.607%2090.9544%20196.655%2090.9544C200.542%2090.9544%20203.176%2093.0106%20203.176%2097.2514V107.114H200.606L200.285%20104.576C199.482%20106.376%20197.329%20107.5%20194.791%20107.5ZM195.659%20105.155C198.518%20105.155%20200.253%20103.291%20200.253%20100.336V99.5003L196.237%2099.8216C193.57%20100.079%20192.478%20101.107%20192.478%20102.649C192.478%20104.319%20193.699%20105.155%20195.659%20105.155Z'%20fill='white'/%3e%3cpath%20d='M216.354%2091.2757V94.0386H215.005C212.146%2094.0386%20210.379%2095.7735%20210.379%2098.7935V107.114H207.359V91.4363H210.186L210.379%2093.8137C211.021%2092.1753%20212.596%2091.0829%20214.748%2091.0829C215.294%2091.0829%20215.744%2091.1472%20216.354%2091.2757Z'%20fill='white'/%3e%3cpath%20d='M224.919%20107.5C220.357%20107.5%20217.594%20104.094%20217.594%2099.3075C217.594%2094.4884%20220.389%2090.9544%20225.048%2090.9544C227.457%2090.9544%20229.481%2092.0146%20230.541%2093.9423V83.4688H233.529V107.114H230.831L230.574%20104.255C229.545%20106.408%20227.425%20107.5%20224.919%20107.5ZM225.53%20104.769C228.614%20104.769%20230.509%20102.488%20230.509%2099.2111C230.509%2095.9984%20228.614%2093.6852%20225.53%2093.6852C222.445%2093.6852%20220.646%2095.9984%20220.646%2099.2111C220.646%20102.456%20222.445%20104.769%20225.53%20104.769Z'%20fill='white'/%3e%3cpath%20d='M244.665%20107.5C240.039%20107.5%20236.858%20104.159%20236.858%2099.2754C236.858%2094.3599%20239.974%2090.9544%20244.536%2090.9544C249.002%2090.9544%20251.926%2094.0386%20251.926%2098.6971V99.8216L239.782%2099.8537C240.006%20103.163%20241.741%20104.994%20244.729%20104.994C247.074%20104.994%20248.617%20104.03%20249.131%20102.231H251.958C251.187%20105.604%20248.552%20107.5%20244.665%20107.5ZM244.536%2093.4925C241.902%2093.4925%20240.231%2095.0667%20239.846%2097.8297H248.906C248.906%2095.2273%20247.203%2093.4925%20244.536%2093.4925Z'%20fill='white'/%3e%3cpath%20d='M258.319%20107.114H255.299V91.4042H258.03L258.351%2093.8137C259.347%2092.0146%20261.339%2090.9544%20263.555%2090.9544C267.7%2090.9544%20269.595%2093.4925%20269.595%2097.5084V107.114H266.575V98.1831C266.575%2095.0025%20265.098%2093.7174%20262.784%2093.7174C259.957%2093.7174%20258.319%2095.7414%20258.319%2098.7935V107.114Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(-7%20184)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cradialGradient%20id='paint1_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(368%2033)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_11648_9381'%3e%3crect%20width='384'%20height='216'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",BlogCard=({thumbnail:e,category:t,date:i,title:s})=>{const[n,a]=React.useState(!1),[o,f]=React.useState(e??placeholderUrl),l=()=>{f(placeholderUrl)};return jsxRuntime.jsx(Opacity,{level:"semi-dark",className:"rounded-2xl",children:jsxRuntime.jsxs("div",{className:"w-[328px] h-[305px] sm:w-[384px] sm:h-[336px] overflow-hidden rounded-2xl",children:[jsxRuntime.jsx("div",{className:`w-[328px] h-[185px] sm:w-[384px] sm:h-[216px] ${n?"":"filter blur-md"}`,children:jsxRuntime.jsx(buildExports.LazyLoadImage,{alt:s,effect:"blur",src:o,onLoad:()=>a(!0),onError:l,style:{width:"100%",height:"100%",objectFit:"cover"},wrapperProps:{style:{width:"100%",height:"100%"}}})}),jsxRuntime.jsxs("div",{className:"px-4 pt-4 pb-5 md:px-5 md:pb-11",children:[jsxRuntime.jsxs("div",{className:"flex justify-between mb-3",children:[jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",className:"bg-rose px-3 py-1 rounded-full",children:t}),jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",children:i})]}),jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",children:s})]})]})})},questCardStyles=cva(["w-full max-w-96 p-4 pb-5 md:p-6 md:pb-8 rounded-2xl"],{variants:{variant:{locked:"bg-white bg-opacity-25",default:"bg-white bg-opacity-50"}},defaultVariants:{variant:"locked"}}),QuestCard=({variant:e,title:t,description:i,chipContent:s})=>jsxRuntime.jsxs("div",{className:cn(questCardStyles({variant:e})),children:[jsxRuntime.jsxs("div",{className:"flex justify-between items-center mb-4",children:[jsxRuntime.jsxs(Chip,{className:"cursor-pointer",children:[t,jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),e==="default"?jsxRuntime.jsx(OpenInFullIcon,{className:"cursor-pointer",height:"20px",width:"20px"}):jsxRuntime.jsx(LockIcon,{className:"cursor-pointer",height:"20px",width:"20px"})]}),jsxRuntime.jsx("div",{className:"mb-3 md:mb-8",children:jsxRuntime.jsx(Typography,{size:"h3",weight:"medium",children:i})}),jsxRuntime.jsxs("div",{className:"flex justify-end space-x-2",children:[jsxRuntime.jsxs(Chip,{children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:"Quest Access"}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),jsxRuntime.jsxs(Chip,{children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:s}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]})]})]});exports.AddIcon=AddIcon;exports.ArbitrumLogo=ArbitrumLogo;exports.ArrowDownwardIcon=ArrowDownwardIcon;exports.ArrowLeftIcon=ArrowLeftIcon;exports.ArrowNorthEastIcon=ArrowNorthEastIcon;exports.ArrowNorthWestIcon=ArrowNorthWestIcon;exports.ArrowRightIcon=ArrowRightIcon;exports.ArrowSouthEastIcon=ArrowSouthEastIcon;exports.ArrowSouthWestIcon=ArrowSouthWestIcon;exports.ArrowUpwardIcon=ArrowUpwardIcon;exports.BTCLogo=BTCLogo;exports.BlogCard=BlogCard;exports.Button=Button;exports.CatalogLogo=CatalogLogo;exports.CheckIcon=CheckIcon;exports.Chip=Chip;exports.ClockIcon=ClockIcon;exports.CloseIcon=CloseIcon;exports.Coinbase=Coinbase;exports.CopyIcon=CopyIcon;exports.EditIcon=EditIcon;exports.EthereumLogo=EthereumLogo;exports.ExchangeIcon=ExchangeIcon;exports.Footer=Footer;exports.GMXLogo=GMXLogo;exports.GardenExplorer=GardenExplorer;exports.GardenFullLogo=GardenFullLogo;exports.GardenLogo=GardenLogo;exports.GardenLogoText=GardenLogoText;exports.GardenStrokeIcon=GardenStrokeIcon;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.Modal=Modal;exports.Opacity=Opacity;exports.OpenInFullIcon=OpenInFullIcon;exports.PageInfoIcon=PageInfoIcon;exports.PhantomIcon=PhantomIcon;exports.PolygonLogo=PolygonLogo;exports.QuestCard=QuestCard;exports.RadiantLogo=RadiantLogo;exports.RadioCheckedIcon=RadioCheckedIcon;exports.RadioUncheckedIcon=RadioUncheckedIcon;exports.RemoveIcon=RemoveIcon;exports.SearchIcon=SearchIcon;exports.Sidebar=Sidebar;exports.StarIcon=StarIcon;exports.TokenInfo=TokenInfo;exports.TrailOfBits=TrailOfBits;exports.TrustWallet=TrustWallet;exports.Typography=Typography;exports.WalletConnect=WalletConnect;exports.WalletIcon=WalletIcon;