@gardenfi/garden-book 0.2.18 → 0.2.19

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
@@ -62,4 +62,4 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
62
62
  top: ${c}px !important;
63
63
  left: ${u}px !important;
64
64
  }
65
- `),()=>{document.head.removeChild(d)}},[t]),i.jsx(fc,{isPresent:t,childRef:r,sizeRef:o,children:j.cloneElement(e,{ref:r})})}const Cc=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:a})=>{const l=ge(pc),c=x.useId(),u=x.useMemo(()=>({id:c,initial:t,isPresent:n,custom:o,onExitComplete:d=>{l.set(d,!0);for(const f of l.values())if(!f)return;r&&r()},register:d=>(l.set(d,!1),()=>l.delete(d))}),s?[Math.random()]:[n]);return x.useMemo(()=>{l.forEach((d,f)=>l.set(f,!1))},[n]),j.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),a==="popLayout"&&(e=i.jsx(hc,{isPresent:n,children:e})),i.jsx(l2.Provider,{value:u,children:e})};function pc(){return new Map}const Ot=e=>e.key||"";function Sn(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const gc=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:o,presenceAffectsLayout:s=!0,mode:a="sync"})=>{R1(!t,"Replace exitBeforeEnter with mode='wait'");const l=x.useMemo(()=>Sn(e),[e]),c=l.map(Ot),u=x.useRef(!0),d=x.useRef(l),f=ge(()=>new Map),[h,g]=x.useState(l),[w,C]=x.useState(l);D3(()=>{u.current=!1,d.current=l;for(let H=0;H<w.length;H++){const L=Ot(w[H]);c.includes(L)?f.delete(L):f.get(L)!==!0&&f.set(L,!1)}},[w,c.length,c.join("-")]);const y=[];if(l!==h){let H=[...l];for(let L=0;L<w.length;L++){const S=w[L],E=Ot(S);c.includes(E)||(H.splice(L,0,S),y.push(S))}a==="wait"&&y.length&&(H=y),C(Sn(H)),g(l);return}process.env.NODE_ENV!=="production"&&a==="wait"&&w.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:m}=x.useContext(k3);return i.jsx(i.Fragment,{children:w.map(H=>{const L=Ot(H),S=l===w||c.includes(L),E=()=>{if(f.has(L))f.set(L,!0);else return;let D=!0;f.forEach(k=>{k||(D=!1)}),D&&(m==null||m(),C(d.current),o&&o())};return i.jsx(Cc,{isPresent:S,initial:!u.current||r?void 0:!1,custom:S?void 0:n,presenceAffectsLayout:s,mode:a,onExitComplete:S?void 0:E,children:H},L)})})};function L9(e){const t=ge(()=>Ze(e)),{isStatic:n}=x.useContext(c2);if(n){const[,r]=x.useState(e);x.useEffect(()=>t.on("change",r),[])}return t}function V9(e,t){const n=L9(t()),r=()=>n.set(t());return r(),D3(()=>{const o=()=>n1.preRender(r,!1,!0),s=e.map(a=>a.on("change",o));return()=>{s.forEach(a=>a()),F1(r)}}),n}const mc=e=>e&&typeof e=="object"&&e.mix,vc=e=>mc(e)?e.mix:void 0;function yc(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=e[1+n],s=e[2+n],a=e[3+n],l=b4(o,s,{mixer:vc(s[0]),...a});return t?l(r):l}function xc(e){rt.current=[],e();const t=V9(rt.current,e);return rt.current=void 0,t}function wc(e,t,n,r){if(typeof e=="function")return xc(e);const o=typeof t=="function"?t:yc(t,n,r);return Array.isArray(e)?Tn(e,o):Tn([e],([s])=>o(s))}function Tn(e,t){const n=ge(()=>[]);return V9(e,()=>{n.length=0;const r=e.length;for(let o=0;o<r;o++)n[o]=e[o].get();return t(n)})}function M9(e,t,n){var r;if(typeof e=="string"){let o=document;t&&(R1(!!t.current,"Scope provided, but no element detected."),o=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=o.querySelectorAll(e)),e=n[e]):e=o.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}function bc(e){return x.useEffect(()=>()=>e(),[])}function Lc(e){return typeof e=="object"&&!Array.isArray(e)}function Vc(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=e9(e)?new b9(t):new w9(t);n.mount(e),dt.set(e,n)}function Mc(e,t=100){const n=b3({keyframes:[0,t],...e}),r=Math.min(M4(n),J2);return{type:"keyframes",ease:o=>n.next(r*o).value/t,duration:_1(r)}}function Pn(e,t,n,r){var o;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(o=r.get(t))!==null&&o!==void 0?o:e}const jc=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function Hc(e,t){return p4(e)?e[jc(0,e.length,t)]:e}function Sc(e,t,n){for(let r=0;r<e.length;r++){const o=e[r];o.at>t&&o.at<n&&(mt(e,o),r--)}}function Tc(e,t,n,r,o,s){Sc(e,o,s);for(let a=0;a<t.length;a++)e.push({value:t[a],at:c1(o,s,r[a]),easing:Hc(n,a)})}function Pc(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const Ec="easeInOut";function kc(e,{defaultTransition:t={},...n}={},r){const o=t.duration||.3,s=new Map,a=new Map,l={},c=new Map;let u=0,d=0,f=0;for(let h=0;h<e.length;h++){const g=e[h];if(typeof g=="string"){c.set(g,d);continue}else if(!Array.isArray(g)){c.set(g.name,Pn(d,g.at,u,c));continue}let[w,C,y={}]=g;y.at!==void 0&&(d=Pn(d,y.at,u,c));let m=0;const H=(L,S,E,D=0,k=0)=>{const P=Rc(L),{delay:A=0,times:_=V4(P),type:F="keyframes",...I}=S;let{ease:O=t.ease||"easeOut",duration:$}=S;const J=typeof A=="function"?A(D,k):A,X=P.length;if(X<=2&&F==="spring"){let Y=100;if(X===2&&Dc(P)){const o1=P[1]-P[0];Y=Math.abs(o1)}const l1={...I};$!==void 0&&(l1.duration=k1($));const u1=Mc(l1,Y);O=u1.ease,$=u1.duration}$??($=o);const N=d+J,K=N+$;_.length===1&&_[0]===0&&(_[1]=1);const q=_.length-P.length;q>0&&L4(_,q),P.length===1&&P.unshift(null),Tc(E,P,O,_,N,K),m=Math.max(J+$,m),f=Math.max(K,f)};if(v1(w)){const L=En(w,a);H(C,y,kn("default",L))}else{const L=M9(w,r,l),S=L.length;for(let E=0;E<S;E++){C=C,y=y;const D=L[E],k=En(D,a);for(const P in C)H(C[P],Ac(y,P),kn(P,k),E,S)}}u=d,d+=m}return a.forEach((h,g)=>{for(const w in h){const C=h[w];C.sort(Pc);const y=[],m=[],H=[];for(let S=0;S<C.length;S++){const{at:E,value:D,easing:k}=C[S];y.push(D),m.push(Ae(0,f,E)),H.push(k||"easeOut")}m[0]!==0&&(m.unshift(0),y.unshift(y[0]),H.unshift(Ec)),m[m.length-1]!==1&&(m.push(1),y.push(null)),s.has(g)||s.set(g,{keyframes:{},transition:{}});const L=s.get(g);L.keyframes[w]=y,L.transition[w]={...t,duration:f,ease:H,times:m,...n}}}),s}function En(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function kn(e,t){return t[e]||(t[e]=[]),t[e]}function Rc(e){return Array.isArray(e)?e:[e]}function Ac(e,t){return e[t]?{...e,...e[t]}:{...e}}const Zc=e=>typeof e=="number",Dc=e=>e.every(Zc);function j9(e,t,n,r){const o=M9(e,r),s=o.length;R1(!!s,"No valid element provided.");const a=[];for(let l=0;l<s;l++){const c=o[l];dt.has(c)||Vc(c);const u=dt.get(c),d={...n};typeof d.delay=="function"&&(d.delay=d.delay(l,s)),a.push(...E3(u,{...t,transition:d},{}))}return new S3(a)}const Oc=e=>Array.isArray(e)&&Array.isArray(e[0]);function Ic(e,t,n){const r=[];return kc(e,t,n).forEach(({keyframes:s,transition:a},l)=>{let c;v1(l)?c=A3(l,s.default,a.default):c=j9(l,s,a),r.push(c)}),new S3(r)}const _c=e=>{function t(n,r,o){let s;return Oc(n)?s=Ic(n,r,e):Lc(r)?s=j9(n,r,o,e):s=A3(n,r,o),e&&e.animations.push(s),s}return t};function Bc(){const e=ge(()=>({current:null,animations:[]})),t=ge(()=>_c(e));return bc(()=>{e.animations.forEach(n=>n.stop())}),[e,t]}function Nc(e,t){if(e==="first")return 0;{const n=t-1;return e==="last"?n:n/2}}function It(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(o,s)=>{const a=typeof n=="number"?n:Nc(n,s),l=Math.abs(a-o);let c=e*l;if(r){const u=s*e;c=q2(r)(c/u)*u}return t+c}}const Fc=({isMobile:e,isLogoHovered:t,maskUrl:n})=>{const[r]=x.useState("https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"),[o,s]=x.useState("initial"),a=x.useRef(null),l=x.useRef(null),c=L9(45),u=wc(c,d=>`${d}% center`);return x.useEffect(()=>{if(t)s("visible");else{s("exit");const d=setTimeout(()=>{s("initial")},800);return()=>clearTimeout(d)}},[t]),i.jsxs(i.Fragment,{children:[i.jsx("video",{ref:a,src:r,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-screen gf-object-cover gf-opacity-0"},"video-flowers"),i.jsx(gc,{mode:"wait",children:i.jsx(U3.div,{animate:o,variants:{initial:{maskPosition:"45%",opacity:0},visible:{maskPosition:"10%",opacity:1},exit:{maskPosition:"-60%",opacity:0,transition:{duration:1.2,ease:[0,.77,.3,1],opacity:{delay:.4}}}},transition:{duration:1,ease:[.22,.68,.88,.96],delay:.15,opacity:{times:[0,1,1,1]}},style:{maskImage:`linear-gradient(black, black), url('${n}')`,maskComposite:"exclude",maskSize:e?"1200% 200%":"820% 600%",maskPosition:u},className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-full gf-overflow-hidden gf-opacity-0",children:i.jsx("video",{ref:l,src:r,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-h-full gf-w-screen gf-object-cover",onCanPlayThrough:()=>{l.current&&l.current.play().catch(console.error)},onLoadStart:()=>{l.current&&l.current.play().catch(console.error)}},"video-flowers-animated")},"hovered")})]})},Uc=({children:e,triggerAnimation:t})=>{const n={animation:{scaleY:[0,1],opacity:[0,1],transition:{duration:.5,ease:Fe(.84,0,.16,1),opacity:{duration:.2,ease:"easeInOut"},once:!0}},idle:{scaleY:1,opacity:1}};return i.jsx(U3.div,{animate:t?"animation":"idle",variants:n,style:{transformOrigin:"bottom"},children:e})},$c=({children:e})=>i.jsx(U3.div,{className:"gf-relative gf-inline-block gf-overflow-hidden gf-rounded-xl gf-w-[300px] before:gf-z-50 before:gf-absolute before:gf-bg-gradient-to-r before:gf-from-transparent before:gf-via-white/50 before:gf-via-50% before:gf-to-transparent before:gf-top-0 before:gf-left-0 before:gf-w-[168px] before:gf-h-full before:gf-animate-shine before:gf-opacity-0",children:e}),Ee=x.forwardRef(({value:e,isHovered:t,className:n,delay:r},o)=>{const s=e.split(""),[a,l]=Bc(),c=()=>{l([[".gf-letter",{y:"-100%"},{duration:.5,delay:r?It(.014,{startDelay:r}):It(.014),ease:[.76,0,.24,1]}]])},u=()=>{l([[".gf-letter",{y:"0%"},{duration:.5,delay:r?It(.014,{startDelay:r}):It(.014),ease:[.76,0,.24,1]}]])};return x.useImperativeHandle(o,()=>({startAnimation:c,stopAnimation:u})),x.useEffect(()=>{t?c():u()},[t]),x.useEffect(()=>{const d=()=>{t||c()},f=()=>{t||u()},h=a.current;if(h)return h.addEventListener("mouseenter",d),h.addEventListener("mouseleave",f),()=>{h.removeEventListener("mouseenter",d),h.removeEventListener("mouseleave",f)}},[a,t]),i.jsx("div",{ref:a,children:i.jsx("span",{className:m1("gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",n),children:s.map((d,f)=>i.jsx("span",{"data-letter":d,className:"gf-letter gf-relative gf-h-5 gf-whitespace-pre gf-leading-5 after:gf-absolute after:gf-left-0 after:gf-top-full after:gf-h-5 after:gf-leading-5 after:gf-content-[attr(data-letter)]",children:d},`${d}-${f}`))})})});Ee.displayName="RollingText";const Qe=({title:e,links:t,hoveredIndex:n,onHover:r,className:o="gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:s="gf-flex gf-flex-col gf-gap-1",isRoutes:a=!1})=>i.jsxs("div",{className:o,children:[i.jsx(M1,{size:"h4",weight:"medium",className:"gf-flex gf-items-center gf-gap-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",children:i.jsx("span",{children:e})}),i.jsx("ul",{className:s,children:Object.values(t).map((l,c)=>l.link&&i.jsx("li",{className:a?"gf-w-fit":"",onMouseEnter:()=>{r==null||r(c)},onMouseLeave:()=>{r==null||r(null)},children:i.jsxs(M1,{as:"a",href:l.link,target:"_blank",size:"h4",weight:"regular",className:`gf-cursor-pointer gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit ${a?"gf-flex gf-w-fit gf-gap-0.5 gf-items-end gf-transition-colors gf-duration-500 gf-ease-in-out":""}`,children:[l.inputAsset&&i.jsx(Ee,{value:l.inputAsset||"",isHovered:n===c}),a&&l.inputChain&&i.jsx(Ee,{delay:.1,className:"gf-text-xs gf-italic gf-translate-y-[0.6px]",value:l.inputChain,isHovered:n===c}),i.jsx(Ee,{delay:.15,value:l.title,isHovered:n===c}),a&&l.chain&&i.jsx(Ee,{delay:.3,className:"gf-text-xs gf-italic gf-translate-y-[0.6px] -gf-translate-x-[2px]",value:l.chain,isHovered:n===c})]})},c))})]}),Wc="data:image/svg+xml,%3csvg%20width='3956'%20height='906'%20viewBox='0%200%203956%20906'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='3956'%20height='906'%20fill='url(%23paint0_linear_579_2)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_579_2'%20x1='1465.5'%20y1='731.406'%20x2='2604.91'%20y2='227.235'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0'/%3e%3cstop%20offset='0.115385'/%3e%3cstop%20offset='0.88'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",zc=({className:e,network:t="mainnet",maskUrl:n=Wc,...r})=>{const[o,s]=x.useState(!1),[a,l]=x.useState(null),c=Fn(),u=x.useRef(null);x.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const d=t&&t==="testnet"?"https://testnet.garden.finance":"https://app.garden.finance",f="https://garden.finance",h={Products:{swap:{title:"Swap",link:t&&t==="testnet"?`${d}/?input-chain=bitcoin_testnet&input-asset=BTC`:`${d}/?input-chain=bitcoin&input-asset=BTC`,isExternal:!0},stake:{title:"Stake",link:t&&t==="testnet"?void 0:`${d}/stake`,isExternal:!0},explorer:{title:"Explorer",link:t&&t==="testnet"?"https://testnet-explorer.garden.finance/":"https://explorer.garden.finance/",isExternal:!0}},Resources:{blog:{title:"Blog",link:`${f}/blog`,isExternal:!0},routes:{title:"Routes",link:`${f}/routes`,isExternal:!0},faq:{title:"FAQs",link:`${f}/faq`,isExternal:!0},brandKit:{title:"Brand kit",link:`${f}/brand-kit`,isExternal:!0},analytics:{title:"Analytics",link:"https://dune.com/garden_finance/gardenfinance",isExternal:!0},Audits:{title:"Audits",link:"https://github.com/gardenfi/audits",isExternal:!0},Governance:{title:"Governance",link:"https://docs.garden.finance/home/governance",isExternal:!0}},Developers:{docs:{title:"Docs",link:"https://docs.garden.finance/",isExternal:!0},api:{title:"API",link:"https://docs.garden.finance/developers/api/overview",isExternal:!0},sdk:{title:"SDK",link:"https://docs.garden.finance/developers/sdk/overview",isExternal:!0},security:{title:"Security",link:`${f}/security`,isExternal:!0}}},g={btcToSol:{title:"BTC to SOL",link:f+"/routes/bridge-btc-to-sol",chain:"Solana",isExternal:!0},btcToEth:{title:"BTC to ETH",link:f+"/routes/bridge-btc-to-eth",chain:"Ethereum",isExternal:!0},btcToUsdc:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-arbitrum",chain:"Arbitrum",isExternal:!0},btctoUsdcEth:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-ethereum",chain:"Ethereum",isExternal:!0},btcToWbtc:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-ethereum",chain:"Ethereum",isExternal:!0},btcTocbBtc:{title:"BTC to cbBTC",link:f+"/routes/bridge-btc-to-cbbtc-base",chain:"Base",isExternal:!0},btcToSui:{title:"BTC to SUI",link:f+"/routes/bridge-btc-to-sui",chain:"Sui",isExternal:!0},btcToWbtcUni:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-unichain",chain:"Unichain",isExternal:!0},btcToBnb:{title:"BTC to BNB",link:f+"/routes/bridge-btc-to-bnb",chain:"BNB Chain",isExternal:!0},btcToMon:{title:"BTC to MON",link:f+"/routes/bridge-btc-to-mon",chain:"Monad",isExternal:!0},cbBtcBaseTocbBtcSolana:{title:" to cbBTC",link:f+"/routes/bridge-cbbtc-base-to-cbbtc-solana",inputAsset:"cbBTC",inputChain:"Base",chain:"Solana",isExternal:!0},usdcBnbToBtc:{title:" to BTC",link:f+"/routes/bridge-usdc-bnb-to-btc",inputAsset:"USDC",inputChain:"BNB Chain",isExternal:!0},btcToUsdtEthereum:{title:" to USDT",link:f+"/routes/bridge-btc-to-usdt-ethereum",inputAsset:"BTC",chain:"Ethereum",isExternal:!0},btcToUsdcSolana:{title:" to USDC",link:f+"/routes/bridge-btc-to-usdc-solana",inputAsset:"BTC",chain:"Solana",isExternal:!0},usdcEthereumToBtc:{title:" to BTC",link:f+"/routes/bridge-usdc-ethereum-to-btc",inputAsset:"USDC",inputChain:"Ethereum",isExternal:!0},solToBtc:{title:" to BTC",link:f+"/routes/bridge-sol-to-btc",inputAsset:"SOL",inputChain:"Solana",isExternal:!0},usdcEthereumToUsdcBase:{title:" to USDC",link:f+"/routes/bridge-usdc-ethereum-to-usdc-base",inputAsset:"USDC",inputChain:"Ethereum",chain:"Base",isExternal:!0}},w={discord:"https://discord.gg/7feudTFMXB",x:"https://x.com/gardenfi"},{Products:C,Resources:y,Developers:m}=h;return i.jsxs("footer",{className:m1("gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",e,o?"gf-text-white":"gf-text-dark-grey"),...r,children:[i.jsxs("div",{className:"gf-z-30 gf-w-full gf-max-w-screen-2xl",children:[i.jsxs("div",{className:"gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-start gf-justify-between gf-gap-8",children:[i.jsxs("div",{className:"gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6",children:[i.jsx(U6,{onMouseEnter:()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{s(!0)},300)},onMouseLeave:()=>{u.current&&(clearTimeout(u.current),u.current=null),s(!1)},className:"gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",onClick:H=>H.preventDefault()}),i.jsxs("div",{className:"gf-flex gf-items-center gf-gap-4",children:[i.jsx(F6,{onClick:()=>{c&&window.open(w.x,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"}),i.jsx(N6,{onClick:()=>{c&&window.open(w.discord,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"})]})]}),i.jsxs("div",{className:"gf-flex gf-w-full gf-max-w-screen-2xl gf-flex-col-reverse gf-items-start gf-justify-between gf-gap-6 md:gf-flex-row",children:[i.jsxs("div",{className:"gf-flex gf-w-full gf-flex-col sm:gf-flex-row gf-gap-6 gf-items-start gf-justify-between sm:gf-gap-3 md:gf-w-fit",children:[i.jsx("div",{className:"gf-w-full md:gf-hidden",children:i.jsx(Qe,{title:"Resources",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-2"})}),i.jsx("div",{className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",children:i.jsx(Qe,{title:"Routes",links:g,hoveredIndex:a,onHover:l,className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-grid gf-w-full gf-grid-cols-1 gf-gap-1 gf-gap-x-8 md:gf-grid-cols-2 md:gf-grid-rows-2",isRoutes:!0})})]}),i.jsxs("div",{className:"gf-flex gf-w-full gf-items-start gf-justify-between gf-gap-3 md:gf-w-fit md:gf-gap-16",children:[i.jsx(Qe,{title:"Products",links:C,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"}),i.jsx(Qe,{title:"Developers",links:m,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-flex-col gf-gap-1"}),i.jsx("div",{className:"gf-hidden md:gf-flex",children:i.jsx(Qe,{title:"Resources",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-1"})})]})]})]}),i.jsxs("div",{className:"gf-relative gf-mt-6 gf-flex gf-w-full gf-max-w-screen-2xl gf-items-center gf-justify-center",children:[i.jsx("div",{className:`gf-absolute gf-left-0 gf-top-0 gf-h-[1px] gf-w-full gf-transition-all gf-duration-500 gf-ease-in-out ${o?"gf-bg-white":"gf-bg-dark-grey"}`}),i.jsxs("div",{className:"gf-z-10 gf-my-6 gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-4",children:[i.jsx("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6",children:i.jsxs(M1,{size:"h5",className:"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",weight:"regular",children:[i.jsx(B6,{}),i.jsx("span",{children:"Garden"}),i.jsx("span",{children:"2026"})]})}),i.jsxs("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6",children:[i.jsx(M1,{size:"h5",as:"a",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/privacy.pdf",target:"_blank",children:"Privacy Policy"}),i.jsx(M1,{as:"a",size:"h5",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/terms.pdf",target:"_blank",children:"Terms of Service"})]})]})]})]}),i.jsx(Fc,{isMobile:!1,isLogoHovered:o,maskUrl:n})]})};var H9={exports:{}};(()=>{var e={181:(o,s,a)=>{var l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt,h=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,g=typeof self=="object"&&self&&self.Object===Object&&self,w=h||g||Function("return this")(),C=Object.prototype.toString,y=Math.max,m=Math.min,H=function(){return w.Date.now()};function L(E){var D=typeof E;return!!E&&(D=="object"||D=="function")}function S(E){if(typeof E=="number")return E;if(function(P){return typeof P=="symbol"||function(A){return!!A&&typeof A=="object"}(P)&&C.call(P)=="[object Symbol]"}(E))return NaN;if(L(E)){var D=typeof E.valueOf=="function"?E.valueOf():E;E=L(D)?D+"":D}if(typeof E!="string")return E===0?E:+E;E=E.replace(l,"");var k=u.test(E);return k||d.test(E)?f(E.slice(2),k?2:8):c.test(E)?NaN:+E}o.exports=function(E,D,k){var P,A,_,F,I,O,$=0,J=!1,X=!1,N=!0;if(typeof E!="function")throw new TypeError("Expected a function");function K(o1){var i1=P,y1=A;return P=A=void 0,$=o1,F=E.apply(y1,i1)}function q(o1){var i1=o1-O;return O===void 0||i1>=D||i1<0||X&&o1-$>=_}function Y(){var o1=H();if(q(o1))return l1(o1);I=setTimeout(Y,function(i1){var y1=D-(i1-O);return X?m(y1,_-(i1-$)):y1}(o1))}function l1(o1){return I=void 0,N&&P?K(o1):(P=A=void 0,F)}function u1(){var o1=H(),i1=q(o1);if(P=arguments,A=this,O=o1,i1){if(I===void 0)return function(y1){return $=y1,I=setTimeout(Y,D),J?K(y1):F}(O);if(X)return I=setTimeout(Y,D),K(O)}return I===void 0&&(I=setTimeout(Y,D)),F}return D=S(D)||0,L(k)&&(J=!!k.leading,_=(X="maxWait"in k)?y(S(k.maxWait)||0,D):_,N="trailing"in k?!!k.trailing:N),u1.cancel=function(){I!==void 0&&clearTimeout(I),$=0,P=O=A=I=void 0},u1.flush=function(){return I===void 0?F:l1(H())},u1}},858:(o,s,a)=>{var l="Expected a function",c=NaN,u="[object Symbol]",d=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,g=/^0o[0-7]+$/i,w=parseInt,C=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,y=typeof self=="object"&&self&&self.Object===Object&&self,m=C||y||Function("return this")(),H=Object.prototype.toString,L=Math.max,S=Math.min,E=function(){return m.Date.now()};function D(P){var A=typeof P;return!!P&&(A=="object"||A=="function")}function k(P){if(typeof P=="number")return P;if(function(F){return typeof F=="symbol"||function(I){return!!I&&typeof I=="object"}(F)&&H.call(F)==u}(P))return c;if(D(P)){var A=typeof P.valueOf=="function"?P.valueOf():P;P=D(A)?A+"":A}if(typeof P!="string")return P===0?P:+P;P=P.replace(d,"");var _=h.test(P);return _||g.test(P)?w(P.slice(2),_?2:8):f.test(P)?c:+P}o.exports=function(P,A,_){var F=!0,I=!0;if(typeof P!="function")throw new TypeError(l);return D(_)&&(F="leading"in _?!!_.leading:F,I="trailing"in _?!!_.trailing:I),function(O,$,J){var X,N,K,q,Y,l1,u1=0,o1=!1,i1=!1,y1=!0;if(typeof O!="function")throw new TypeError(l);function U1(f1){var V1=X,x1=N;return X=N=void 0,u1=f1,q=O.apply(x1,V1)}function Z1(f1){var V1=f1-l1;return l1===void 0||V1>=$||V1<0||i1&&f1-u1>=K}function j1(){var f1=E();if(Z1(f1))return P1(f1);Y=setTimeout(j1,function(V1){var x1=$-(V1-l1);return i1?S(x1,K-(V1-u1)):x1}(f1))}function P1(f1){return Y=void 0,y1&&X?U1(f1):(X=N=void 0,q)}function E1(){var f1=E(),V1=Z1(f1);if(X=arguments,N=this,l1=f1,V1){if(Y===void 0)return function(x1){return u1=x1,Y=setTimeout(j1,$),o1?U1(x1):q}(l1);if(i1)return Y=setTimeout(j1,$),U1(l1)}return Y===void 0&&(Y=setTimeout(j1,$)),q}return $=k($)||0,D(J)&&(o1=!!J.leading,K=(i1="maxWait"in J)?L(k(J.maxWait)||0,$):K,y1="trailing"in J?!!J.trailing:y1),E1.cancel=function(){Y!==void 0&&clearTimeout(Y),u1=0,X=l1=N=Y=void 0},E1.flush=function(){return Y===void 0?q:P1(E())},E1}(P,A,{leading:F,maxWait:A,trailing:I})}},694:(o,s,a)=>{var l=a(925);function c(){}function u(){}u.resetWarningCache=c,o.exports=function(){function d(g,w,C,y,m,H){if(H!==l){var L=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 L.name="Invariant Violation",L}}function f(){return d}d.isRequired=d;var h={array:d,bigint:d,bool:d,func:d,number:d,object:d,string:d,symbol:d,any:d,arrayOf:f,element:d,elementType:d,instanceOf:f,node:d,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:u,resetWarningCache:c};return h.PropTypes=h,h}},556:(o,s,a)=>{o.exports=a(694)()},925:o=>{o.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(o){var s=t[o];if(s!==void 0)return s.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}n.n=o=>{var s=o&&o.__esModule?()=>o.default:()=>o;return n.d(s,{a:s}),s},n.d=(o,s)=>{for(var a in s)n.o(s,a)&&!n.o(o,a)&&Object.defineProperty(o,a,{enumerable:!0,get:s[a]})},n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n.o=(o,s)=>Object.prototype.hasOwnProperty.call(o,s),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var r={};(()=>{n.r(r),n.d(r,{LazyLoadComponent:()=>$e,LazyLoadImage:()=>h2,trackWindowScroll:()=>o1});const o=x;var s=n.n(o),a=n(556);function l(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function c(T){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},c(T)}function u(T,p){var M=Object.keys(T);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(T);p&&(b=b.filter(function(v){return Object.getOwnPropertyDescriptor(T,v).enumerable})),M.push.apply(M,b)}return M}function d(T,p,M){return(p=h(p))in T?Object.defineProperty(T,p,{value:M,enumerable:!0,configurable:!0,writable:!0}):T[p]=M,T}function f(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,h(b.key),b)}}function h(T){var p=function(M,b){if(c(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(c(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return c(p)=="symbol"?p:p+""}function g(T,p,M){return p=C(p),function(b,v){if(v&&(c(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,w()?Reflect.construct(p,M||[],C(T).constructor):p.apply(T,M))}function w(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(w=function(){return!!T})()}function C(T){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},C(T)}function y(T,p){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},y(T,p)}var m=function(T){T.forEach(function(p){p.isIntersecting&&p.target.onVisible()})},H={},L=function(T){function p(v){var V;if(function(Z,B){if(!(Z instanceof B))throw new TypeError("Cannot call a class as a function")}(this,p),(V=g(this,p,[v])).supportsObserver=!v.scrollPosition&&v.useIntersectionObserver&&l(),V.supportsObserver){var R=v.threshold;V.observer=function(Z){return H[Z]=H[Z]||new IntersectionObserver(m,{rootMargin:Z+"px"}),H[Z]}(R)}return V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&y(v,V)}(p,T),M=p,b=[{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 v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,V=this.placeholder.getBoundingClientRect(),R=this.placeholder.style,Z=parseInt(R.getPropertyValue("margin-left"),10)||0,B=parseInt(R.getPropertyValue("margin-top"),10)||0;return{bottom:v.y+V.bottom+B,left:v.x+V.left+Z,right:v.x+V.right+Z,top:v.y+V.top+B}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var v=this.props,V=v.scrollPosition,R=v.threshold,Z=this.getPlaceholderBoundingBox(V),B=V.y+window.innerHeight,W=V.x,t1=V.x+window.innerWidth,Q=V.y;return Q-R<=Z.bottom&&B+R>=Z.top&&W-R<=Z.right&&t1+R>=Z.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var v=this,V=this.props,R=V.className,Z=V.height,B=V.placeholder,W=V.style,t1=V.width;if(B&&typeof B.type!="function")return s().cloneElement(B,{ref:function(e1){return v.placeholder=e1}});var Q=function(e1){for(var s1=1;s1<arguments.length;s1++){var r1=arguments[s1]!=null?arguments[s1]:{};s1%2?u(Object(r1),!0).forEach(function(h1){d(e1,h1,r1[h1])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e1,Object.getOwnPropertyDescriptors(r1)):u(Object(r1)).forEach(function(h1){Object.defineProperty(e1,h1,Object.getOwnPropertyDescriptor(r1,h1))})}return e1}({display:"inline-block"},W);return t1!==void 0&&(Q.width=t1),Z!==void 0&&(Q.height=Z),s().createElement("span",{className:R,ref:function(e1){return v.placeholder=e1},style:Q},B)}}],b&&f(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);L.propTypes={onVisible:a.PropTypes.func.isRequired,className:a.PropTypes.string,height:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string]),placeholder:a.PropTypes.element,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,scrollPosition:a.PropTypes.shape({x:a.PropTypes.number.isRequired,y:a.PropTypes.number.isRequired}),width:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string])},L.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const S=L;var E=n(181),D=n.n(E),k=n(858),P=n.n(k),A=function(T){var p=getComputedStyle(T,null);return p.getPropertyValue("overflow")+p.getPropertyValue("overflow-y")+p.getPropertyValue("overflow-x")};const _=function(T){if(!(T instanceof HTMLElement))return window;for(var p=T;p&&p instanceof HTMLElement;){if(/(scroll|auto)/.test(A(p)))return p;p=p.parentNode}return window};function F(T){return F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},F(T)}var I=["delayMethod","delayTime"];function O(){return O=Object.assign?Object.assign.bind():function(T){for(var p=1;p<arguments.length;p++){var M=arguments[p];for(var b in M)({}).hasOwnProperty.call(M,b)&&(T[b]=M[b])}return T},O.apply(null,arguments)}function $(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,J(b.key),b)}}function J(T){var p=function(M,b){if(F(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(F(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return F(p)=="symbol"?p:p+""}function X(T,p,M){return p=q(p),N(T,K()?Reflect.construct(p,M||[],q(T).constructor):p.apply(T,M))}function N(T,p){if(p&&(F(p)=="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(T)}function K(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(K=function(){return!!T})()}function q(T){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},q(T)}function Y(T,p){return Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},Y(T,p)}var l1=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},u1=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const o1=function(T){var p=function(M){function b(R){var Z;if(function(W,t1){if(!(W instanceof t1))throw new TypeError("Cannot call a class as a function")}(this,b),(Z=X(this,b,[R])).useIntersectionObserver=R.useIntersectionObserver&&l(),Z.useIntersectionObserver)return N(Z);var B=Z.onChangeScroll.bind(Z);return R.delayMethod==="debounce"?Z.delayedScroll=D()(B,R.delayTime):R.delayMethod==="throttle"&&(Z.delayedScroll=P()(B,R.delayTime)),Z.state={scrollPosition:{x:l1(),y:u1()}},Z.baseComponentRef=s().createRef(),Z}return function(R,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(Z&&Z.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Z&&Y(R,Z)}(b,M),v=b,V=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||_(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=_(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:l1(),y:u1()}})}},{key:"render",value:function(){var R=this.props,Z=(R.delayMethod,R.delayTime,function(W,t1){if(W==null)return{};var Q,e1,s1=function(h1,be){if(h1==null)return{};var $3={};for(var Vt in h1)if({}.hasOwnProperty.call(h1,Vt)){if(be.indexOf(Vt)>=0)continue;$3[Vt]=h1[Vt]}return $3}(W,t1);if(Object.getOwnPropertySymbols){var r1=Object.getOwnPropertySymbols(W);for(e1=0;e1<r1.length;e1++)Q=r1[e1],t1.indexOf(Q)>=0||{}.propertyIsEnumerable.call(W,Q)&&(s1[Q]=W[Q])}return s1}(R,I)),B=this.useIntersectionObserver?null:this.state.scrollPosition;return s().createElement(T,O({forwardRef:this.baseComponentRef,scrollPosition:B},Z))}}],V&&$(v.prototype,V),Object.defineProperty(v,"prototype",{writable:!1}),v;var v,V}(s().Component);return p.propTypes={delayMethod:a.PropTypes.oneOf(["debounce","throttle"]),delayTime:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool},p.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},p};function i1(T){return i1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},i1(T)}function y1(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,U1(b.key),b)}}function U1(T){var p=function(M,b){if(i1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(i1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return i1(p)=="symbol"?p:p+""}function Z1(T,p,M){return p=P1(p),function(b,v){if(v&&(i1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,j1()?Reflect.construct(p,M||[],P1(T).constructor):p.apply(T,M))}function j1(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(j1=function(){return!!T})()}function P1(T){return P1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},P1(T)}function E1(T,p){return E1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},E1(T,p)}var f1=function(T){function p(v){return function(V,R){if(!(V instanceof R))throw new TypeError("Cannot call a class as a function")}(this,p),Z1(this,p,[v])}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&E1(v,V)}(p,T),M=p,(b=[{key:"render",value:function(){return s().createElement(S,this.props)}}])&&y1(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);const V1=o1(f1);function x1(T){return x1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},x1(T)}function z(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,vt(b.key),b)}}function vt(T){var p=function(M,b){if(x1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(x1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return x1(p)=="symbol"?p:p+""}function yt(T,p,M){return p=ve(p),function(b,v){if(v&&(x1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,me()?Reflect.construct(p,M||[],ve(T).constructor):p.apply(T,M))}function me(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(me=function(){return!!T})()}function ve(T){return ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},ve(T)}function Ue(T,p){return Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},Ue(T,p)}var D1=function(T){function p(v){var V;(function(t1,Q){if(!(t1 instanceof Q))throw new TypeError("Cannot call a class as a function")})(this,p),V=yt(this,p,[v]);var R=v.afterLoad,Z=v.beforeLoad,B=v.scrollPosition,W=v.visibleByDefault;return V.state={visible:W},W&&(Z(),R()),V.onVisible=V.onVisible.bind(V),V.isScrollTracked=!!(B&&Number.isFinite(B.x)&&B.x>=0&&Number.isFinite(B.y)&&B.y>=0),V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&Ue(v,V)}(p,T),M=p,(b=[{key:"componentDidUpdate",value:function(v,V){V.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 v=this.props,V=v.className,R=v.delayMethod,Z=v.delayTime,B=v.height,W=v.placeholder,t1=v.scrollPosition,Q=v.style,e1=v.threshold,s1=v.useIntersectionObserver,r1=v.width;return this.isScrollTracked||s1&&l()?s().createElement(S,{className:V,height:B,onVisible:this.onVisible,placeholder:W,scrollPosition:t1,style:Q,threshold:e1,useIntersectionObserver:s1,width:r1}):s().createElement(V1,{className:V,delayMethod:R,delayTime:Z,height:B,onVisible:this.onVisible,placeholder:W,style:Q,threshold:e1,width:r1})}}])&&z(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);D1.propTypes={afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool},D1.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const $e=D1;function Y1(T){return Y1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},Y1(T)}var ae=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function xt(T,p){var M=Object.keys(T);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(T);p&&(b=b.filter(function(v){return Object.getOwnPropertyDescriptor(T,v).enumerable})),M.push.apply(M,b)}return M}function We(T){for(var p=1;p<arguments.length;p++){var M=arguments[p]!=null?arguments[p]:{};p%2?xt(Object(M),!0).forEach(function(b){f2(T,b,M[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(M)):xt(Object(M)).forEach(function(b){Object.defineProperty(T,b,Object.getOwnPropertyDescriptor(M,b))})}return T}function f2(T,p,M){return(p=wt(p))in T?Object.defineProperty(T,p,{value:M,enumerable:!0,configurable:!0,writable:!0}):T[p]=M,T}function ye(){return ye=Object.assign?Object.assign.bind():function(T){for(var p=1;p<arguments.length;p++){var M=arguments[p];for(var b in M)({}).hasOwnProperty.call(M,b)&&(T[b]=M[b])}return T},ye.apply(null,arguments)}function xe(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,wt(b.key),b)}}function wt(T){var p=function(M,b){if(Y1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(Y1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return Y1(p)=="symbol"?p:p+""}function bt(T,p,M){return p=O1(p),function(b,v){if(v&&(Y1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,Lt()?Reflect.construct(p,M||[],O1(T).constructor):p.apply(T,M))}function Lt(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Lt=function(){return!!T})()}function O1(T){return O1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},O1(T)}function we(T,p){return we=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},we(T,p)}var ze=function(T){function p(v){var V;return function(R,Z){if(!(R instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,p),(V=bt(this,p,[v])).state={loaded:!1},V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&we(v,V)}(p,T),M=p,b=[{key:"onImageLoad",value:function(){var v=this;return this.state.loaded?null:function(V){v.props.onLoad(V),v.props.afterLoad(),v.setState({loaded:!0})}}},{key:"getImg",value:function(){var v=this.props,V=(v.afterLoad,v.beforeLoad,v.delayMethod,v.delayTime,v.effect,v.placeholder,v.placeholderSrc,v.scrollPosition,v.threshold,v.useIntersectionObserver,v.visibleByDefault,v.wrapperClassName,v.wrapperProps,function(R,Z){if(R==null)return{};var B,W,t1=function(e1,s1){if(e1==null)return{};var r1={};for(var h1 in e1)if({}.hasOwnProperty.call(e1,h1)){if(s1.indexOf(h1)>=0)continue;r1[h1]=e1[h1]}return r1}(R,Z);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(R);for(W=0;W<Q.length;W++)B=Q[W],Z.indexOf(B)>=0||{}.propertyIsEnumerable.call(R,B)&&(t1[B]=R[B])}return t1}(v,ae));return s().createElement("img",ye({},V,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var v=this.props,V=v.beforeLoad,R=v.className,Z=v.delayMethod,B=v.delayTime,W=v.height,t1=v.placeholder,Q=v.scrollPosition,e1=v.style,s1=v.threshold,r1=v.useIntersectionObserver,h1=v.visibleByDefault,be=v.width;return s().createElement($e,{beforeLoad:V,className:R,delayMethod:Z,delayTime:B,height:W,placeholder:t1,scrollPosition:Q,style:e1,threshold:s1,useIntersectionObserver:r1,visibleByDefault:h1,width:be},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(v){var V=this.props,R=V.effect,Z=V.height,B=V.placeholderSrc,W=V.width,t1=V.wrapperClassName,Q=V.wrapperProps,e1=this.state.loaded,s1=e1?" lazy-load-image-loaded":"",r1=e1||!B?{}:{backgroundImage:"url(".concat(B,")"),backgroundSize:"100% 100%"};return s().createElement("span",ye({className:t1+" lazy-load-image-background "+R+s1,style:We(We({},r1),{},{color:"transparent",display:"inline-block",height:Z,width:W})},Q),v)}},{key:"render",value:function(){var v=this.props,V=v.effect,R=v.placeholderSrc,Z=v.visibleByDefault,B=v.wrapperClassName,W=v.wrapperProps,t1=this.getLazyLoadImage();return(V||R)&&!Z||B||W?this.getWrappedLazyLoadImage(t1):t1}}],b&&xe(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);ze.propTypes={onLoad:a.PropTypes.func,afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,delayMethod:a.PropTypes.string,delayTime:a.PropTypes.number,effect:a.PropTypes.string,placeholderSrc:a.PropTypes.string,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool,wrapperClassName:a.PropTypes.string,wrapperProps:a.PropTypes.object},ze.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const h2=ze})(),H9.exports=r})();var Gc=H9.exports;const _2="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",Kc=({thumbnail:e,category:t,date:n,title:r,className:o,thumbnailClassName:s})=>{const[a,l]=x.useState(!1),[c,u]=x.useState(e??_2);x.useEffect(()=>{u(e??_2)},[e]);const d=()=>{u(_2)};return i.jsx(ht,{level:"semi-dark",className:"gf-rounded-2xl h-full",children:i.jsxs("div",{className:m1(o,"gf-overflow-hidden gf-rounded-2xl"),children:[i.jsx("div",{className:m1(s,`${a?"":"gf-filter gf-blur-md"}`),children:i.jsx(Gc.LazyLoadImage,{alt:r,effect:"blur",src:c,onLoad:()=>l(!0),onError:d})}),i.jsxs("div",{className:"gf-px-4 gf-pt-4 gf-pb-5 gf-md:px-5 gf-md:pb-11",children:[i.jsxs("div",{className:"gf-flex gf-justify-between gf-mb-3",children:[i.jsx(M1,{size:"h5",weight:"medium",className:"gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",children:t}),i.jsx(M1,{size:"h5",weight:"medium",className:"gf-px-3 gf-py-1",children:n})]}),i.jsx(M1,{size:"h3",weight:"bold",children:r})]})]})})},Yc=Oe(["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],{variants:{variant:{locked:"gf-bg-white gf-bg-opacity-25",default:"gf-bg-white gf-bg-opacity-50"}},defaultVariants:{variant:"locked"}}),Xc=({variant:e,title:t,description:n,chipContent:r,logo:o})=>i.jsxs("div",{className:m1(Yc({variant:e})),children:[i.jsxs("div",{className:"gf-flex gf-justify-between gf-items-center gf-mb-4",children:[i.jsxs(I1,{className:"gf-cursor-pointer gf-px-2 gf-py-1",children:[i.jsx(I1.Logo,{children:o}),t,i.jsx(I1.CheckBox,{checked:!1})]}),e==="default"?i.jsx(Z6,{className:"gf-cursor-pointer",height:"20px",width:"20px"}):i.jsx(A6,{className:"gf-cursor-pointer",height:"20px",width:"20px"})]}),i.jsx("div",{className:"gf-mb-3 md:gf-mb-8",children:i.jsx(M1,{size:"h3",weight:"medium",children:n})}),i.jsxs("div",{className:"gf-flex gf-justify-end gf-space-x-2",children:[i.jsxs(I1,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[i.jsx(M1,{size:"h4",weight:"medium",children:"Quest Access"}),i.jsx(I1.CheckBox,{checked:!1})]}),i.jsxs(I1,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[i.jsx(M1,{size:"h4",weight:"medium",children:r}),i.jsx(I1.CheckBox,{checked:!1})]})]})]});exports.APIIcon=$8;exports.AddIcon=Yr;exports.ArbitrumLogo=ho;exports.ArrowDownwardIcon=Wr;exports.ArrowEastIcon=L8;exports.ArrowInwardIcon=uo;exports.ArrowLeftIcon=Gr;exports.ArrowNorthEastIcon=Xr;exports.ArrowNorthWestIcon=qr;exports.ArrowRightIcon=Kr;exports.ArrowSouthEastIcon=Qr;exports.ArrowSouthWestIcon=Jr;exports.ArrowSyncIcon=N8;exports.ArrowUpwardIcon=zr;exports.BTCLogo=Co;exports.BlogCard=Kc;exports.BlogIcon=W8;exports.BottomSheet=Ur;exports.BrandKitIcon=z8;exports.Button=b0;exports.Camelot=Ao;exports.CancelIcon=B8;exports.CatalogLogo=po;exports.ChainflipIcon=R8;exports.CheckBox=Xo;exports.CheckCircleIcon=V8;exports.CheckIcon=e8;exports.Checked=I6;exports.Chip=I1;exports.ClientOnly=ft;exports.ClockIcon=t8;exports.CloseIcon=n8;exports.CodeBlockIcon=U8;exports.Coinbase=go;exports.CompareArrowsIcon=j8;exports.ConsoleIcon=G8;exports.Container=$r;exports.CopyIcon=r8;exports.CopyrightsIcon=B6;exports.DLCBTC=Eo;exports.Debridge=Ro;exports.DeleteIcon=D8;exports.DiscordIcon=N6;exports.Dodo=Io;exports.DollarChipIcon=io;exports.DraftIcon=K8;exports.EditIcon=o8;exports.EncryptedIcon=no;exports.EthereumLogo=mo;exports.ExchangeIcon=i8;exports.FaqIcon=fo;exports.FeesIcon=w8;exports.FingerprintIcon=M8;exports.FolderIcon=co;exports.Footer=zc;exports.GMX=Zo;exports.GMXLogo=Lo;exports.GardenDocs=Wo;exports.GardenExplorer=vo;exports.GardenExplorerAlt=$o;exports.GardenFullLogo=yo;exports.GardenIcon=U6;exports.GardenIconOutline=Fo;exports.GardenLogo=xo;exports.GardenLogoDark=Ko;exports.GardenLogoLight=Yo;exports.GardenLogoMarkDark=zo;exports.GardenLogoMarkLight=Go;exports.GardenLogoText=wo;exports.GardenStrokeIcon=bo;exports.GasStationIcon=_8;exports.GiftBoxIcon=so;exports.GradientScroll=ti;exports.HorizontalSwap=oo;exports.HubIcon=F8;exports.InfinityIcon=P8;exports.InfoBadge=Jo;exports.InfoIcon=s8;exports.KeyboardDownIcon=R6;exports.KeyboardLeftIcon=a8;exports.KeyboardRightIcon=l8;exports.KeyboardUpIcon=c8;exports.LanguageIcon=u8;exports.LinkIcon=d8;exports.LockIcon=A6;exports.LogoutIcon=f8;exports.MenuIcon=h8;exports.MinusIcon=H8;exports.Modal=Yn;exports.NFTIcon=Uo;exports.Opacity=ht;exports.OpenInFullIcon=Z6;exports.OpenInNewIcon=b8;exports.OtterSecIcon=Y8;exports.PageInfoIcon=C8;exports.PancakeSwap=Oo;exports.PasskeyIcon=k8;exports.PhantomIcon=Vo;exports.PlusIcon=S8;exports.PolygonLogo=Mo;exports.QuestCard=Xc;exports.Radiant=Bo;exports.RadiantLogo=jo;exports.RadioCheckedIcon=D6;exports.RadioUncheckedIcon=O6;exports.RaiseHandIcon=ao;exports.ReferralIcon=x8;exports.RelayLinkIcon=A8;exports.RemoveIcon=p8;exports.RollingText=Ee;exports.Rotate360Icon=to;exports.RoutingIcon=ro;exports.RowInfoIcon=lo;exports.SDKIcon=X8;exports.ScaleY=Uc;exports.SearchIcon=v8;exports.SearchIconThin=eo;exports.Share=T8;exports.Shine=$c;exports.Sidebar=c7;exports.Solv=Do;exports.StakeIcon=q8;exports.StarIcon=g8;exports.SwapHorizontalIcon=I8;exports.SwellBTC=Po;exports.ThorswapIcon=Z8;exports.TimerIcon=y8;exports.TokenInfo=ei;exports.TokenNetworkLogos=$6;exports.TraderJoe=ko;exports.TrailOfBits=Ho;exports.TrustWallet=So;exports.Typography=M1;exports.Unchecked=_6;exports.Vertex=_o;exports.WalletConnect=To;exports.WalletIcon=m8;exports.WalletIconRose=E8;exports.WarningIcon=O8;exports.XIcon=F6;exports.XSolidIcon=Q8;exports.ZellicIcon=J8;
65
+ `),()=>{document.head.removeChild(d)}},[t]),i.jsx(fc,{isPresent:t,childRef:r,sizeRef:o,children:j.cloneElement(e,{ref:r})})}const Cc=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:a})=>{const l=ge(pc),c=x.useId(),u=x.useMemo(()=>({id:c,initial:t,isPresent:n,custom:o,onExitComplete:d=>{l.set(d,!0);for(const f of l.values())if(!f)return;r&&r()},register:d=>(l.set(d,!1),()=>l.delete(d))}),s?[Math.random()]:[n]);return x.useMemo(()=>{l.forEach((d,f)=>l.set(f,!1))},[n]),j.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),a==="popLayout"&&(e=i.jsx(hc,{isPresent:n,children:e})),i.jsx(l2.Provider,{value:u,children:e})};function pc(){return new Map}const Ot=e=>e.key||"";function Sn(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const gc=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:o,presenceAffectsLayout:s=!0,mode:a="sync"})=>{R1(!t,"Replace exitBeforeEnter with mode='wait'");const l=x.useMemo(()=>Sn(e),[e]),c=l.map(Ot),u=x.useRef(!0),d=x.useRef(l),f=ge(()=>new Map),[h,g]=x.useState(l),[w,C]=x.useState(l);D3(()=>{u.current=!1,d.current=l;for(let H=0;H<w.length;H++){const L=Ot(w[H]);c.includes(L)?f.delete(L):f.get(L)!==!0&&f.set(L,!1)}},[w,c.length,c.join("-")]);const y=[];if(l!==h){let H=[...l];for(let L=0;L<w.length;L++){const S=w[L],E=Ot(S);c.includes(E)||(H.splice(L,0,S),y.push(S))}a==="wait"&&y.length&&(H=y),C(Sn(H)),g(l);return}process.env.NODE_ENV!=="production"&&a==="wait"&&w.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:m}=x.useContext(k3);return i.jsx(i.Fragment,{children:w.map(H=>{const L=Ot(H),S=l===w||c.includes(L),E=()=>{if(f.has(L))f.set(L,!0);else return;let D=!0;f.forEach(k=>{k||(D=!1)}),D&&(m==null||m(),C(d.current),o&&o())};return i.jsx(Cc,{isPresent:S,initial:!u.current||r?void 0:!1,custom:S?void 0:n,presenceAffectsLayout:s,mode:a,onExitComplete:S?void 0:E,children:H},L)})})};function L9(e){const t=ge(()=>Ze(e)),{isStatic:n}=x.useContext(c2);if(n){const[,r]=x.useState(e);x.useEffect(()=>t.on("change",r),[])}return t}function V9(e,t){const n=L9(t()),r=()=>n.set(t());return r(),D3(()=>{const o=()=>n1.preRender(r,!1,!0),s=e.map(a=>a.on("change",o));return()=>{s.forEach(a=>a()),F1(r)}}),n}const mc=e=>e&&typeof e=="object"&&e.mix,vc=e=>mc(e)?e.mix:void 0;function yc(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=e[1+n],s=e[2+n],a=e[3+n],l=b4(o,s,{mixer:vc(s[0]),...a});return t?l(r):l}function xc(e){rt.current=[],e();const t=V9(rt.current,e);return rt.current=void 0,t}function wc(e,t,n,r){if(typeof e=="function")return xc(e);const o=typeof t=="function"?t:yc(t,n,r);return Array.isArray(e)?Tn(e,o):Tn([e],([s])=>o(s))}function Tn(e,t){const n=ge(()=>[]);return V9(e,()=>{n.length=0;const r=e.length;for(let o=0;o<r;o++)n[o]=e[o].get();return t(n)})}function M9(e,t,n){var r;if(typeof e=="string"){let o=document;t&&(R1(!!t.current,"Scope provided, but no element detected."),o=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=o.querySelectorAll(e)),e=n[e]):e=o.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}function bc(e){return x.useEffect(()=>()=>e(),[])}function Lc(e){return typeof e=="object"&&!Array.isArray(e)}function Vc(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=e9(e)?new b9(t):new w9(t);n.mount(e),dt.set(e,n)}function Mc(e,t=100){const n=b3({keyframes:[0,t],...e}),r=Math.min(M4(n),J2);return{type:"keyframes",ease:o=>n.next(r*o).value/t,duration:_1(r)}}function Pn(e,t,n,r){var o;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(o=r.get(t))!==null&&o!==void 0?o:e}const jc=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function Hc(e,t){return p4(e)?e[jc(0,e.length,t)]:e}function Sc(e,t,n){for(let r=0;r<e.length;r++){const o=e[r];o.at>t&&o.at<n&&(mt(e,o),r--)}}function Tc(e,t,n,r,o,s){Sc(e,o,s);for(let a=0;a<t.length;a++)e.push({value:t[a],at:c1(o,s,r[a]),easing:Hc(n,a)})}function Pc(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const Ec="easeInOut";function kc(e,{defaultTransition:t={},...n}={},r){const o=t.duration||.3,s=new Map,a=new Map,l={},c=new Map;let u=0,d=0,f=0;for(let h=0;h<e.length;h++){const g=e[h];if(typeof g=="string"){c.set(g,d);continue}else if(!Array.isArray(g)){c.set(g.name,Pn(d,g.at,u,c));continue}let[w,C,y={}]=g;y.at!==void 0&&(d=Pn(d,y.at,u,c));let m=0;const H=(L,S,E,D=0,k=0)=>{const P=Rc(L),{delay:A=0,times:_=V4(P),type:F="keyframes",...I}=S;let{ease:O=t.ease||"easeOut",duration:$}=S;const J=typeof A=="function"?A(D,k):A,X=P.length;if(X<=2&&F==="spring"){let Y=100;if(X===2&&Dc(P)){const o1=P[1]-P[0];Y=Math.abs(o1)}const l1={...I};$!==void 0&&(l1.duration=k1($));const u1=Mc(l1,Y);O=u1.ease,$=u1.duration}$??($=o);const N=d+J,K=N+$;_.length===1&&_[0]===0&&(_[1]=1);const q=_.length-P.length;q>0&&L4(_,q),P.length===1&&P.unshift(null),Tc(E,P,O,_,N,K),m=Math.max(J+$,m),f=Math.max(K,f)};if(v1(w)){const L=En(w,a);H(C,y,kn("default",L))}else{const L=M9(w,r,l),S=L.length;for(let E=0;E<S;E++){C=C,y=y;const D=L[E],k=En(D,a);for(const P in C)H(C[P],Ac(y,P),kn(P,k),E,S)}}u=d,d+=m}return a.forEach((h,g)=>{for(const w in h){const C=h[w];C.sort(Pc);const y=[],m=[],H=[];for(let S=0;S<C.length;S++){const{at:E,value:D,easing:k}=C[S];y.push(D),m.push(Ae(0,f,E)),H.push(k||"easeOut")}m[0]!==0&&(m.unshift(0),y.unshift(y[0]),H.unshift(Ec)),m[m.length-1]!==1&&(m.push(1),y.push(null)),s.has(g)||s.set(g,{keyframes:{},transition:{}});const L=s.get(g);L.keyframes[w]=y,L.transition[w]={...t,duration:f,ease:H,times:m,...n}}}),s}function En(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function kn(e,t){return t[e]||(t[e]=[]),t[e]}function Rc(e){return Array.isArray(e)?e:[e]}function Ac(e,t){return e[t]?{...e,...e[t]}:{...e}}const Zc=e=>typeof e=="number",Dc=e=>e.every(Zc);function j9(e,t,n,r){const o=M9(e,r),s=o.length;R1(!!s,"No valid element provided.");const a=[];for(let l=0;l<s;l++){const c=o[l];dt.has(c)||Vc(c);const u=dt.get(c),d={...n};typeof d.delay=="function"&&(d.delay=d.delay(l,s)),a.push(...E3(u,{...t,transition:d},{}))}return new S3(a)}const Oc=e=>Array.isArray(e)&&Array.isArray(e[0]);function Ic(e,t,n){const r=[];return kc(e,t,n).forEach(({keyframes:s,transition:a},l)=>{let c;v1(l)?c=A3(l,s.default,a.default):c=j9(l,s,a),r.push(c)}),new S3(r)}const _c=e=>{function t(n,r,o){let s;return Oc(n)?s=Ic(n,r,e):Lc(r)?s=j9(n,r,o,e):s=A3(n,r,o),e&&e.animations.push(s),s}return t};function Bc(){const e=ge(()=>({current:null,animations:[]})),t=ge(()=>_c(e));return bc(()=>{e.animations.forEach(n=>n.stop())}),[e,t]}function Nc(e,t){if(e==="first")return 0;{const n=t-1;return e==="last"?n:n/2}}function It(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(o,s)=>{const a=typeof n=="number"?n:Nc(n,s),l=Math.abs(a-o);let c=e*l;if(r){const u=s*e;c=q2(r)(c/u)*u}return t+c}}const Fc=({isMobile:e,isLogoHovered:t,maskUrl:n})=>{const[r]=x.useState("https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"),[o,s]=x.useState("initial"),a=x.useRef(null),l=x.useRef(null),c=L9(45),u=wc(c,d=>`${d}% center`);return x.useEffect(()=>{if(t)s("visible");else{s("exit");const d=setTimeout(()=>{s("initial")},800);return()=>clearTimeout(d)}},[t]),i.jsxs(i.Fragment,{children:[i.jsx("video",{ref:a,src:r,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-screen gf-object-cover gf-opacity-0"},"video-flowers"),i.jsx(gc,{mode:"wait",children:i.jsx(U3.div,{animate:o,variants:{initial:{maskPosition:"45%",opacity:0},visible:{maskPosition:"10%",opacity:1},exit:{maskPosition:"-60%",opacity:0,transition:{duration:1.2,ease:[0,.77,.3,1],opacity:{delay:.4}}}},transition:{duration:1,ease:[.22,.68,.88,.96],delay:.15,opacity:{times:[0,1,1,1]}},style:{maskImage:`linear-gradient(black, black), url('${n}')`,maskComposite:"exclude",maskSize:e?"1200% 200%":"820% 600%",maskPosition:u},className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-full gf-overflow-hidden gf-opacity-0",children:i.jsx("video",{ref:l,src:r,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-h-full gf-w-screen gf-object-cover",onCanPlayThrough:()=>{l.current&&l.current.play().catch(console.error)},onLoadStart:()=>{l.current&&l.current.play().catch(console.error)}},"video-flowers-animated")},"hovered")})]})},Uc=({children:e,triggerAnimation:t})=>{const n={animation:{scaleY:[0,1],opacity:[0,1],transition:{duration:.5,ease:Fe(.84,0,.16,1),opacity:{duration:.2,ease:"easeInOut"},once:!0}},idle:{scaleY:1,opacity:1}};return i.jsx(U3.div,{animate:t?"animation":"idle",variants:n,style:{transformOrigin:"bottom"},children:e})},$c=({children:e})=>i.jsx(U3.div,{className:"gf-relative gf-inline-block gf-overflow-hidden gf-rounded-xl gf-w-[300px] before:gf-z-50 before:gf-absolute before:gf-bg-gradient-to-r before:gf-from-transparent before:gf-via-white/50 before:gf-via-50% before:gf-to-transparent before:gf-top-0 before:gf-left-0 before:gf-w-[168px] before:gf-h-full before:gf-animate-shine before:gf-opacity-0",children:e}),Ee=x.forwardRef(({value:e,isHovered:t,className:n,delay:r},o)=>{const s=e.split(""),[a,l]=Bc(),c=()=>{l([[".gf-letter",{y:"-100%"},{duration:.5,delay:r?It(.014,{startDelay:r}):It(.014),ease:[.76,0,.24,1]}]])},u=()=>{l([[".gf-letter",{y:"0%"},{duration:.5,delay:r?It(.014,{startDelay:r}):It(.014),ease:[.76,0,.24,1]}]])};return x.useImperativeHandle(o,()=>({startAnimation:c,stopAnimation:u})),x.useEffect(()=>{t?c():u()},[t]),x.useEffect(()=>{const d=()=>{t||c()},f=()=>{t||u()},h=a.current;if(h)return h.addEventListener("mouseenter",d),h.addEventListener("mouseleave",f),()=>{h.removeEventListener("mouseenter",d),h.removeEventListener("mouseleave",f)}},[a,t]),i.jsx("div",{ref:a,children:i.jsx("span",{className:m1("gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",n),children:s.map((d,f)=>i.jsx("span",{"data-letter":d,className:"gf-letter gf-relative gf-h-5 gf-whitespace-pre gf-leading-5 after:gf-absolute after:gf-left-0 after:gf-top-full after:gf-h-5 after:gf-leading-5 after:gf-content-[attr(data-letter)]",children:d},`${d}-${f}`))})})});Ee.displayName="RollingText";const Qe=({title:e,links:t,hoveredIndex:n,onHover:r,className:o="gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:s="gf-flex gf-flex-col gf-gap-1",isRoutes:a=!1})=>i.jsxs("div",{className:o,children:[i.jsx(M1,{size:"h4",weight:"medium",className:"gf-flex gf-items-center gf-gap-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",children:i.jsx("span",{children:e})}),i.jsx("ul",{className:s,children:Object.values(t).map((l,c)=>l.link&&i.jsx("li",{className:a?"gf-w-fit":"",onMouseEnter:()=>{r==null||r(c)},onMouseLeave:()=>{r==null||r(null)},children:i.jsxs(M1,{as:"a",href:l.link,target:"_blank",size:"h4",weight:"regular",className:`gf-cursor-pointer gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit ${a?"gf-flex gf-w-fit gf-gap-0.5 gf-items-end gf-transition-colors gf-duration-500 gf-ease-in-out":""}`,children:[l.inputAsset&&i.jsx(Ee,{delay:.2,value:l.inputAsset||"",isHovered:n===c}),a&&l.inputChain&&i.jsx(Ee,{delay:.3,className:"gf-text-xs gf-italic gf-translate-y-[0.6px]",value:l.inputChain,isHovered:n===c}),i.jsx(Ee,{delay:.35,value:l.title,isHovered:n===c}),a&&l.chain&&i.jsx(Ee,{delay:.5,className:"gf-text-xs gf-italic gf-translate-y-[0.6px] -gf-translate-x-[2px]",value:l.chain,isHovered:n===c})]})},c))})]}),Wc="data:image/svg+xml,%3csvg%20width='3956'%20height='906'%20viewBox='0%200%203956%20906'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='3956'%20height='906'%20fill='url(%23paint0_linear_579_2)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_579_2'%20x1='1465.5'%20y1='731.406'%20x2='2604.91'%20y2='227.235'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0'/%3e%3cstop%20offset='0.115385'/%3e%3cstop%20offset='0.88'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",zc=({className:e,network:t="mainnet",maskUrl:n=Wc,...r})=>{const[o,s]=x.useState(!1),[a,l]=x.useState(null),c=Fn(),u=x.useRef(null);x.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const d=t&&t==="testnet"?"https://testnet.garden.finance":"https://app.garden.finance",f="https://garden.finance",h={Products:{swap:{title:"Swap",link:t&&t==="testnet"?`${d}/?input-chain=bitcoin_testnet&input-asset=BTC`:`${d}/?input-chain=bitcoin&input-asset=BTC`,isExternal:!0},stake:{title:"Stake",link:t&&t==="testnet"?void 0:`${d}/stake`,isExternal:!0},explorer:{title:"Explorer",link:t&&t==="testnet"?"https://testnet-explorer.garden.finance/":"https://explorer.garden.finance/",isExternal:!0}},Resources:{blog:{title:"Blog",link:`${f}/blog`,isExternal:!0},routes:{title:"Routes",link:`${f}/routes`,isExternal:!0},faq:{title:"FAQs",link:`${f}/faq`,isExternal:!0},brandKit:{title:"Brand kit",link:`${f}/brand-kit`,isExternal:!0},analytics:{title:"Analytics",link:"https://dune.com/garden_finance/gardenfinance",isExternal:!0},Governance:{title:"Governance",link:"https://docs.garden.finance/home/governance",isExternal:!0}},Developers:{docs:{title:"Docs",link:"https://docs.garden.finance/",isExternal:!0},api:{title:"API",link:"https://docs.garden.finance/developers/api/overview",isExternal:!0},sdk:{title:"SDK",link:"https://docs.garden.finance/developers/sdk/overview",isExternal:!0},security:{title:"Security",link:`${f}/security`,isExternal:!0}}},g={btcToSol:{title:"BTC to SOL",link:f+"/routes/bridge-btc-to-sol",chain:"Solana",isExternal:!0},btcToEth:{title:"BTC to ETH",link:f+"/routes/bridge-btc-to-eth",chain:"Ethereum",isExternal:!0},btcToUsdc:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-arbitrum",chain:"Arbitrum",isExternal:!0},btctoUsdcEth:{title:"BTC to USDC",link:f+"/routes/bridge-btc-to-usdc-ethereum",chain:"Ethereum",isExternal:!0},btcToWbtc:{title:"BTC to WBTC",link:f+"/routes/bridge-btc-to-wbtc-ethereum",chain:"Ethereum",isExternal:!0},btcTocbBtc:{title:"BTC to cbBTC",link:f+"/routes/bridge-btc-to-cbbtc-base",chain:"Base",isExternal:!0},btcToSui:{title:"BTC to SUI",link:f+"/routes/bridge-btc-to-sui",chain:"Sui",isExternal:!0},btcToBnb:{title:"BTC to BNB",link:f+"/routes/bridge-btc-to-bnb",chain:"BNB Chain",isExternal:!0},btcToMon:{title:"BTC to MON",link:f+"/routes/bridge-btc-to-mon",chain:"Monad",isExternal:!0},cbBtcBaseTocbBtcSolana:{title:" to cbBTC",link:f+"/routes/bridge-cbbtc-base-to-cbbtc-solana",inputAsset:"cbBTC",inputChain:"Base",chain:"Solana",isExternal:!0},usdcBnbToBtc:{title:" to BTC",link:f+"/routes/bridge-usdc-bnb-to-btc",inputAsset:"USDC",inputChain:"BNB Chain",isExternal:!0},btcToUsdtEthereum:{title:" to USDT",link:f+"/routes/bridge-btc-to-usdt-ethereum",inputAsset:"BTC",chain:"Ethereum",isExternal:!0},btcToUsdcSolana:{title:" to USDC",link:f+"/routes/bridge-btc-to-usdc-solana",inputAsset:"BTC",chain:"Solana",isExternal:!0},usdcEthereumToBtc:{title:" to BTC",link:f+"/routes/bridge-usdc-ethereum-to-btc",inputAsset:"USDC",inputChain:"Ethereum",isExternal:!0},solToBtc:{title:" to BTC",link:f+"/routes/bridge-sol-to-btc",inputAsset:"SOL",inputChain:"Solana",isExternal:!0},usdcEthereumToUsdcBase:{title:" to USDC",link:f+"/routes/bridge-usdc-ethereum-to-usdc-base",inputAsset:"USDC",inputChain:"Ethereum",chain:"Base",isExternal:!0}},w={discord:"https://discord.gg/7feudTFMXB",x:"https://x.com/gardenfi"},{Products:C,Resources:y,Developers:m}=h;return i.jsxs("footer",{className:m1("gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",e,o?"gf-text-white":"gf-text-dark-grey"),...r,children:[i.jsxs("div",{className:"gf-z-30 gf-w-full gf-max-w-screen-2xl",children:[i.jsxs("div",{className:"gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-start gf-justify-between gf-gap-8",children:[i.jsxs("div",{className:"gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6",children:[i.jsx(U6,{onMouseEnter:()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{s(!0)},300)},onMouseLeave:()=>{u.current&&(clearTimeout(u.current),u.current=null),s(!1)},className:"gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",onClick:H=>H.preventDefault()}),i.jsxs("div",{className:"gf-flex gf-items-center gf-gap-4",children:[i.jsx(F6,{onClick:()=>{c&&window.open(w.x,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"}),i.jsx(N6,{onClick:()=>{c&&window.open(w.discord,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"})]})]}),i.jsxs("div",{className:"gf-flex gf-w-full gf-max-w-screen-2xl gf-flex-col-reverse gf-items-start gf-justify-between gf-gap-6 md:gf-flex-row",children:[i.jsxs("div",{className:"gf-flex gf-w-full gf-flex-col sm:gf-flex-row gf-gap-6 gf-items-start gf-justify-between sm:gf-gap-3 md:gf-w-fit",children:[i.jsx("div",{className:"gf-w-full md:gf-hidden",children:i.jsx(Qe,{title:"Resources",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-2"})}),i.jsx("div",{className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",children:i.jsx(Qe,{title:"Routes",links:g,hoveredIndex:a,onHover:l,className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-grid gf-w-full gf-grid-cols-1 gf-gap-1 gf-gap-x-8 md:gf-grid-cols-2 md:gf-grid-rows-2",isRoutes:!0})})]}),i.jsxs("div",{className:"gf-flex gf-w-full gf-items-start gf-justify-between gf-gap-3 md:gf-w-fit md:gf-gap-16",children:[i.jsx(Qe,{title:"Products",links:C,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"}),i.jsx(Qe,{title:"Developers",links:m,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-flex-col gf-gap-1"}),i.jsx("div",{className:"gf-hidden md:gf-flex",children:i.jsx(Qe,{title:"Resources",links:y,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-1"})})]})]})]}),i.jsxs("div",{className:"gf-relative gf-mt-6 gf-flex gf-w-full gf-max-w-screen-2xl gf-items-center gf-justify-center",children:[i.jsx("div",{className:`gf-absolute gf-left-0 gf-top-0 gf-h-[1px] gf-w-full gf-transition-all gf-duration-500 gf-ease-in-out ${o?"gf-bg-white":"gf-bg-dark-grey"}`}),i.jsxs("div",{className:"gf-z-10 gf-my-6 gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-4",children:[i.jsx("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6",children:i.jsxs(M1,{size:"h5",className:"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",weight:"regular",children:[i.jsx(B6,{}),i.jsx("span",{children:"Garden"}),i.jsx("span",{children:"2026"})]})}),i.jsxs("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6",children:[i.jsx(M1,{size:"h5",as:"a",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/privacy.pdf",target:"_blank",children:"Privacy Policy"}),i.jsx(M1,{as:"a",size:"h5",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/terms.pdf",target:"_blank",children:"Terms of Service"})]})]})]})]}),i.jsx(Fc,{isMobile:!1,isLogoHovered:o,maskUrl:n})]})};var H9={exports:{}};(()=>{var e={181:(o,s,a)=>{var l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt,h=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,g=typeof self=="object"&&self&&self.Object===Object&&self,w=h||g||Function("return this")(),C=Object.prototype.toString,y=Math.max,m=Math.min,H=function(){return w.Date.now()};function L(E){var D=typeof E;return!!E&&(D=="object"||D=="function")}function S(E){if(typeof E=="number")return E;if(function(P){return typeof P=="symbol"||function(A){return!!A&&typeof A=="object"}(P)&&C.call(P)=="[object Symbol]"}(E))return NaN;if(L(E)){var D=typeof E.valueOf=="function"?E.valueOf():E;E=L(D)?D+"":D}if(typeof E!="string")return E===0?E:+E;E=E.replace(l,"");var k=u.test(E);return k||d.test(E)?f(E.slice(2),k?2:8):c.test(E)?NaN:+E}o.exports=function(E,D,k){var P,A,_,F,I,O,$=0,J=!1,X=!1,N=!0;if(typeof E!="function")throw new TypeError("Expected a function");function K(o1){var i1=P,y1=A;return P=A=void 0,$=o1,F=E.apply(y1,i1)}function q(o1){var i1=o1-O;return O===void 0||i1>=D||i1<0||X&&o1-$>=_}function Y(){var o1=H();if(q(o1))return l1(o1);I=setTimeout(Y,function(i1){var y1=D-(i1-O);return X?m(y1,_-(i1-$)):y1}(o1))}function l1(o1){return I=void 0,N&&P?K(o1):(P=A=void 0,F)}function u1(){var o1=H(),i1=q(o1);if(P=arguments,A=this,O=o1,i1){if(I===void 0)return function(y1){return $=y1,I=setTimeout(Y,D),J?K(y1):F}(O);if(X)return I=setTimeout(Y,D),K(O)}return I===void 0&&(I=setTimeout(Y,D)),F}return D=S(D)||0,L(k)&&(J=!!k.leading,_=(X="maxWait"in k)?y(S(k.maxWait)||0,D):_,N="trailing"in k?!!k.trailing:N),u1.cancel=function(){I!==void 0&&clearTimeout(I),$=0,P=O=A=I=void 0},u1.flush=function(){return I===void 0?F:l1(H())},u1}},858:(o,s,a)=>{var l="Expected a function",c=NaN,u="[object Symbol]",d=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,g=/^0o[0-7]+$/i,w=parseInt,C=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,y=typeof self=="object"&&self&&self.Object===Object&&self,m=C||y||Function("return this")(),H=Object.prototype.toString,L=Math.max,S=Math.min,E=function(){return m.Date.now()};function D(P){var A=typeof P;return!!P&&(A=="object"||A=="function")}function k(P){if(typeof P=="number")return P;if(function(F){return typeof F=="symbol"||function(I){return!!I&&typeof I=="object"}(F)&&H.call(F)==u}(P))return c;if(D(P)){var A=typeof P.valueOf=="function"?P.valueOf():P;P=D(A)?A+"":A}if(typeof P!="string")return P===0?P:+P;P=P.replace(d,"");var _=h.test(P);return _||g.test(P)?w(P.slice(2),_?2:8):f.test(P)?c:+P}o.exports=function(P,A,_){var F=!0,I=!0;if(typeof P!="function")throw new TypeError(l);return D(_)&&(F="leading"in _?!!_.leading:F,I="trailing"in _?!!_.trailing:I),function(O,$,J){var X,N,K,q,Y,l1,u1=0,o1=!1,i1=!1,y1=!0;if(typeof O!="function")throw new TypeError(l);function U1(f1){var V1=X,x1=N;return X=N=void 0,u1=f1,q=O.apply(x1,V1)}function Z1(f1){var V1=f1-l1;return l1===void 0||V1>=$||V1<0||i1&&f1-u1>=K}function j1(){var f1=E();if(Z1(f1))return P1(f1);Y=setTimeout(j1,function(V1){var x1=$-(V1-l1);return i1?S(x1,K-(V1-u1)):x1}(f1))}function P1(f1){return Y=void 0,y1&&X?U1(f1):(X=N=void 0,q)}function E1(){var f1=E(),V1=Z1(f1);if(X=arguments,N=this,l1=f1,V1){if(Y===void 0)return function(x1){return u1=x1,Y=setTimeout(j1,$),o1?U1(x1):q}(l1);if(i1)return Y=setTimeout(j1,$),U1(l1)}return Y===void 0&&(Y=setTimeout(j1,$)),q}return $=k($)||0,D(J)&&(o1=!!J.leading,K=(i1="maxWait"in J)?L(k(J.maxWait)||0,$):K,y1="trailing"in J?!!J.trailing:y1),E1.cancel=function(){Y!==void 0&&clearTimeout(Y),u1=0,X=l1=N=Y=void 0},E1.flush=function(){return Y===void 0?q:P1(E())},E1}(P,A,{leading:F,maxWait:A,trailing:I})}},694:(o,s,a)=>{var l=a(925);function c(){}function u(){}u.resetWarningCache=c,o.exports=function(){function d(g,w,C,y,m,H){if(H!==l){var L=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 L.name="Invariant Violation",L}}function f(){return d}d.isRequired=d;var h={array:d,bigint:d,bool:d,func:d,number:d,object:d,string:d,symbol:d,any:d,arrayOf:f,element:d,elementType:d,instanceOf:f,node:d,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:u,resetWarningCache:c};return h.PropTypes=h,h}},556:(o,s,a)=>{o.exports=a(694)()},925:o=>{o.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(o){var s=t[o];if(s!==void 0)return s.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}n.n=o=>{var s=o&&o.__esModule?()=>o.default:()=>o;return n.d(s,{a:s}),s},n.d=(o,s)=>{for(var a in s)n.o(s,a)&&!n.o(o,a)&&Object.defineProperty(o,a,{enumerable:!0,get:s[a]})},n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n.o=(o,s)=>Object.prototype.hasOwnProperty.call(o,s),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var r={};(()=>{n.r(r),n.d(r,{LazyLoadComponent:()=>$e,LazyLoadImage:()=>h2,trackWindowScroll:()=>o1});const o=x;var s=n.n(o),a=n(556);function l(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function c(T){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},c(T)}function u(T,p){var M=Object.keys(T);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(T);p&&(b=b.filter(function(v){return Object.getOwnPropertyDescriptor(T,v).enumerable})),M.push.apply(M,b)}return M}function d(T,p,M){return(p=h(p))in T?Object.defineProperty(T,p,{value:M,enumerable:!0,configurable:!0,writable:!0}):T[p]=M,T}function f(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,h(b.key),b)}}function h(T){var p=function(M,b){if(c(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(c(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return c(p)=="symbol"?p:p+""}function g(T,p,M){return p=C(p),function(b,v){if(v&&(c(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,w()?Reflect.construct(p,M||[],C(T).constructor):p.apply(T,M))}function w(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(w=function(){return!!T})()}function C(T){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},C(T)}function y(T,p){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},y(T,p)}var m=function(T){T.forEach(function(p){p.isIntersecting&&p.target.onVisible()})},H={},L=function(T){function p(v){var V;if(function(Z,B){if(!(Z instanceof B))throw new TypeError("Cannot call a class as a function")}(this,p),(V=g(this,p,[v])).supportsObserver=!v.scrollPosition&&v.useIntersectionObserver&&l(),V.supportsObserver){var R=v.threshold;V.observer=function(Z){return H[Z]=H[Z]||new IntersectionObserver(m,{rootMargin:Z+"px"}),H[Z]}(R)}return V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&y(v,V)}(p,T),M=p,b=[{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 v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,V=this.placeholder.getBoundingClientRect(),R=this.placeholder.style,Z=parseInt(R.getPropertyValue("margin-left"),10)||0,B=parseInt(R.getPropertyValue("margin-top"),10)||0;return{bottom:v.y+V.bottom+B,left:v.x+V.left+Z,right:v.x+V.right+Z,top:v.y+V.top+B}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var v=this.props,V=v.scrollPosition,R=v.threshold,Z=this.getPlaceholderBoundingBox(V),B=V.y+window.innerHeight,W=V.x,t1=V.x+window.innerWidth,Q=V.y;return Q-R<=Z.bottom&&B+R>=Z.top&&W-R<=Z.right&&t1+R>=Z.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var v=this,V=this.props,R=V.className,Z=V.height,B=V.placeholder,W=V.style,t1=V.width;if(B&&typeof B.type!="function")return s().cloneElement(B,{ref:function(e1){return v.placeholder=e1}});var Q=function(e1){for(var s1=1;s1<arguments.length;s1++){var r1=arguments[s1]!=null?arguments[s1]:{};s1%2?u(Object(r1),!0).forEach(function(h1){d(e1,h1,r1[h1])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e1,Object.getOwnPropertyDescriptors(r1)):u(Object(r1)).forEach(function(h1){Object.defineProperty(e1,h1,Object.getOwnPropertyDescriptor(r1,h1))})}return e1}({display:"inline-block"},W);return t1!==void 0&&(Q.width=t1),Z!==void 0&&(Q.height=Z),s().createElement("span",{className:R,ref:function(e1){return v.placeholder=e1},style:Q},B)}}],b&&f(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);L.propTypes={onVisible:a.PropTypes.func.isRequired,className:a.PropTypes.string,height:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string]),placeholder:a.PropTypes.element,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,scrollPosition:a.PropTypes.shape({x:a.PropTypes.number.isRequired,y:a.PropTypes.number.isRequired}),width:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string])},L.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const S=L;var E=n(181),D=n.n(E),k=n(858),P=n.n(k),A=function(T){var p=getComputedStyle(T,null);return p.getPropertyValue("overflow")+p.getPropertyValue("overflow-y")+p.getPropertyValue("overflow-x")};const _=function(T){if(!(T instanceof HTMLElement))return window;for(var p=T;p&&p instanceof HTMLElement;){if(/(scroll|auto)/.test(A(p)))return p;p=p.parentNode}return window};function F(T){return F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},F(T)}var I=["delayMethod","delayTime"];function O(){return O=Object.assign?Object.assign.bind():function(T){for(var p=1;p<arguments.length;p++){var M=arguments[p];for(var b in M)({}).hasOwnProperty.call(M,b)&&(T[b]=M[b])}return T},O.apply(null,arguments)}function $(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,J(b.key),b)}}function J(T){var p=function(M,b){if(F(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(F(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return F(p)=="symbol"?p:p+""}function X(T,p,M){return p=q(p),N(T,K()?Reflect.construct(p,M||[],q(T).constructor):p.apply(T,M))}function N(T,p){if(p&&(F(p)=="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(T)}function K(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(K=function(){return!!T})()}function q(T){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},q(T)}function Y(T,p){return Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},Y(T,p)}var l1=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},u1=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const o1=function(T){var p=function(M){function b(R){var Z;if(function(W,t1){if(!(W instanceof t1))throw new TypeError("Cannot call a class as a function")}(this,b),(Z=X(this,b,[R])).useIntersectionObserver=R.useIntersectionObserver&&l(),Z.useIntersectionObserver)return N(Z);var B=Z.onChangeScroll.bind(Z);return R.delayMethod==="debounce"?Z.delayedScroll=D()(B,R.delayTime):R.delayMethod==="throttle"&&(Z.delayedScroll=P()(B,R.delayTime)),Z.state={scrollPosition:{x:l1(),y:u1()}},Z.baseComponentRef=s().createRef(),Z}return function(R,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(Z&&Z.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),Z&&Y(R,Z)}(b,M),v=b,V=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||_(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=_(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:l1(),y:u1()}})}},{key:"render",value:function(){var R=this.props,Z=(R.delayMethod,R.delayTime,function(W,t1){if(W==null)return{};var Q,e1,s1=function(h1,be){if(h1==null)return{};var $3={};for(var Vt in h1)if({}.hasOwnProperty.call(h1,Vt)){if(be.indexOf(Vt)>=0)continue;$3[Vt]=h1[Vt]}return $3}(W,t1);if(Object.getOwnPropertySymbols){var r1=Object.getOwnPropertySymbols(W);for(e1=0;e1<r1.length;e1++)Q=r1[e1],t1.indexOf(Q)>=0||{}.propertyIsEnumerable.call(W,Q)&&(s1[Q]=W[Q])}return s1}(R,I)),B=this.useIntersectionObserver?null:this.state.scrollPosition;return s().createElement(T,O({forwardRef:this.baseComponentRef,scrollPosition:B},Z))}}],V&&$(v.prototype,V),Object.defineProperty(v,"prototype",{writable:!1}),v;var v,V}(s().Component);return p.propTypes={delayMethod:a.PropTypes.oneOf(["debounce","throttle"]),delayTime:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool},p.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},p};function i1(T){return i1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},i1(T)}function y1(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,U1(b.key),b)}}function U1(T){var p=function(M,b){if(i1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(i1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return i1(p)=="symbol"?p:p+""}function Z1(T,p,M){return p=P1(p),function(b,v){if(v&&(i1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,j1()?Reflect.construct(p,M||[],P1(T).constructor):p.apply(T,M))}function j1(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(j1=function(){return!!T})()}function P1(T){return P1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},P1(T)}function E1(T,p){return E1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},E1(T,p)}var f1=function(T){function p(v){return function(V,R){if(!(V instanceof R))throw new TypeError("Cannot call a class as a function")}(this,p),Z1(this,p,[v])}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&E1(v,V)}(p,T),M=p,(b=[{key:"render",value:function(){return s().createElement(S,this.props)}}])&&y1(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);const V1=o1(f1);function x1(T){return x1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},x1(T)}function z(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,vt(b.key),b)}}function vt(T){var p=function(M,b){if(x1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(x1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return x1(p)=="symbol"?p:p+""}function yt(T,p,M){return p=ve(p),function(b,v){if(v&&(x1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,me()?Reflect.construct(p,M||[],ve(T).constructor):p.apply(T,M))}function me(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(me=function(){return!!T})()}function ve(T){return ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},ve(T)}function Ue(T,p){return Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},Ue(T,p)}var D1=function(T){function p(v){var V;(function(t1,Q){if(!(t1 instanceof Q))throw new TypeError("Cannot call a class as a function")})(this,p),V=yt(this,p,[v]);var R=v.afterLoad,Z=v.beforeLoad,B=v.scrollPosition,W=v.visibleByDefault;return V.state={visible:W},W&&(Z(),R()),V.onVisible=V.onVisible.bind(V),V.isScrollTracked=!!(B&&Number.isFinite(B.x)&&B.x>=0&&Number.isFinite(B.y)&&B.y>=0),V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&Ue(v,V)}(p,T),M=p,(b=[{key:"componentDidUpdate",value:function(v,V){V.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 v=this.props,V=v.className,R=v.delayMethod,Z=v.delayTime,B=v.height,W=v.placeholder,t1=v.scrollPosition,Q=v.style,e1=v.threshold,s1=v.useIntersectionObserver,r1=v.width;return this.isScrollTracked||s1&&l()?s().createElement(S,{className:V,height:B,onVisible:this.onVisible,placeholder:W,scrollPosition:t1,style:Q,threshold:e1,useIntersectionObserver:s1,width:r1}):s().createElement(V1,{className:V,delayMethod:R,delayTime:Z,height:B,onVisible:this.onVisible,placeholder:W,style:Q,threshold:e1,width:r1})}}])&&z(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);D1.propTypes={afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool},D1.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const $e=D1;function Y1(T){return Y1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},Y1(T)}var ae=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function xt(T,p){var M=Object.keys(T);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(T);p&&(b=b.filter(function(v){return Object.getOwnPropertyDescriptor(T,v).enumerable})),M.push.apply(M,b)}return M}function We(T){for(var p=1;p<arguments.length;p++){var M=arguments[p]!=null?arguments[p]:{};p%2?xt(Object(M),!0).forEach(function(b){f2(T,b,M[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(M)):xt(Object(M)).forEach(function(b){Object.defineProperty(T,b,Object.getOwnPropertyDescriptor(M,b))})}return T}function f2(T,p,M){return(p=wt(p))in T?Object.defineProperty(T,p,{value:M,enumerable:!0,configurable:!0,writable:!0}):T[p]=M,T}function ye(){return ye=Object.assign?Object.assign.bind():function(T){for(var p=1;p<arguments.length;p++){var M=arguments[p];for(var b in M)({}).hasOwnProperty.call(M,b)&&(T[b]=M[b])}return T},ye.apply(null,arguments)}function xe(T,p){for(var M=0;M<p.length;M++){var b=p[M];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,wt(b.key),b)}}function wt(T){var p=function(M,b){if(Y1(M)!="object"||!M)return M;var v=M[Symbol.toPrimitive];if(v!==void 0){var V=v.call(M,"string");if(Y1(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)}(T);return Y1(p)=="symbol"?p:p+""}function bt(T,p,M){return p=O1(p),function(b,v){if(v&&(Y1(v)=="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(b)}(T,Lt()?Reflect.construct(p,M||[],O1(T).constructor):p.apply(T,M))}function Lt(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Lt=function(){return!!T})()}function O1(T){return O1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},O1(T)}function we(T,p){return we=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,b){return M.__proto__=b,M},we(T,p)}var ze=function(T){function p(v){var V;return function(R,Z){if(!(R instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,p),(V=bt(this,p,[v])).state={loaded:!1},V}return function(v,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(V&&V.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),V&&we(v,V)}(p,T),M=p,b=[{key:"onImageLoad",value:function(){var v=this;return this.state.loaded?null:function(V){v.props.onLoad(V),v.props.afterLoad(),v.setState({loaded:!0})}}},{key:"getImg",value:function(){var v=this.props,V=(v.afterLoad,v.beforeLoad,v.delayMethod,v.delayTime,v.effect,v.placeholder,v.placeholderSrc,v.scrollPosition,v.threshold,v.useIntersectionObserver,v.visibleByDefault,v.wrapperClassName,v.wrapperProps,function(R,Z){if(R==null)return{};var B,W,t1=function(e1,s1){if(e1==null)return{};var r1={};for(var h1 in e1)if({}.hasOwnProperty.call(e1,h1)){if(s1.indexOf(h1)>=0)continue;r1[h1]=e1[h1]}return r1}(R,Z);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(R);for(W=0;W<Q.length;W++)B=Q[W],Z.indexOf(B)>=0||{}.propertyIsEnumerable.call(R,B)&&(t1[B]=R[B])}return t1}(v,ae));return s().createElement("img",ye({},V,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var v=this.props,V=v.beforeLoad,R=v.className,Z=v.delayMethod,B=v.delayTime,W=v.height,t1=v.placeholder,Q=v.scrollPosition,e1=v.style,s1=v.threshold,r1=v.useIntersectionObserver,h1=v.visibleByDefault,be=v.width;return s().createElement($e,{beforeLoad:V,className:R,delayMethod:Z,delayTime:B,height:W,placeholder:t1,scrollPosition:Q,style:e1,threshold:s1,useIntersectionObserver:r1,visibleByDefault:h1,width:be},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(v){var V=this.props,R=V.effect,Z=V.height,B=V.placeholderSrc,W=V.width,t1=V.wrapperClassName,Q=V.wrapperProps,e1=this.state.loaded,s1=e1?" lazy-load-image-loaded":"",r1=e1||!B?{}:{backgroundImage:"url(".concat(B,")"),backgroundSize:"100% 100%"};return s().createElement("span",ye({className:t1+" lazy-load-image-background "+R+s1,style:We(We({},r1),{},{color:"transparent",display:"inline-block",height:Z,width:W})},Q),v)}},{key:"render",value:function(){var v=this.props,V=v.effect,R=v.placeholderSrc,Z=v.visibleByDefault,B=v.wrapperClassName,W=v.wrapperProps,t1=this.getLazyLoadImage();return(V||R)&&!Z||B||W?this.getWrappedLazyLoadImage(t1):t1}}],b&&xe(M.prototype,b),Object.defineProperty(M,"prototype",{writable:!1}),M;var M,b}(s().Component);ze.propTypes={onLoad:a.PropTypes.func,afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,delayMethod:a.PropTypes.string,delayTime:a.PropTypes.number,effect:a.PropTypes.string,placeholderSrc:a.PropTypes.string,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool,wrapperClassName:a.PropTypes.string,wrapperProps:a.PropTypes.object},ze.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const h2=ze})(),H9.exports=r})();var Gc=H9.exports;const _2="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",Kc=({thumbnail:e,category:t,date:n,title:r,className:o,thumbnailClassName:s})=>{const[a,l]=x.useState(!1),[c,u]=x.useState(e??_2);x.useEffect(()=>{u(e??_2)},[e]);const d=()=>{u(_2)};return i.jsx(ht,{level:"semi-dark",className:"gf-rounded-2xl h-full",children:i.jsxs("div",{className:m1(o,"gf-overflow-hidden gf-rounded-2xl"),children:[i.jsx("div",{className:m1(s,`${a?"":"gf-filter gf-blur-md"}`),children:i.jsx(Gc.LazyLoadImage,{alt:r,effect:"blur",src:c,onLoad:()=>l(!0),onError:d})}),i.jsxs("div",{className:"gf-px-4 gf-pt-4 gf-pb-5 gf-md:px-5 gf-md:pb-11",children:[i.jsxs("div",{className:"gf-flex gf-justify-between gf-mb-3",children:[i.jsx(M1,{size:"h5",weight:"medium",className:"gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",children:t}),i.jsx(M1,{size:"h5",weight:"medium",className:"gf-px-3 gf-py-1",children:n})]}),i.jsx(M1,{size:"h3",weight:"bold",children:r})]})]})})},Yc=Oe(["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],{variants:{variant:{locked:"gf-bg-white gf-bg-opacity-25",default:"gf-bg-white gf-bg-opacity-50"}},defaultVariants:{variant:"locked"}}),Xc=({variant:e,title:t,description:n,chipContent:r,logo:o})=>i.jsxs("div",{className:m1(Yc({variant:e})),children:[i.jsxs("div",{className:"gf-flex gf-justify-between gf-items-center gf-mb-4",children:[i.jsxs(I1,{className:"gf-cursor-pointer gf-px-2 gf-py-1",children:[i.jsx(I1.Logo,{children:o}),t,i.jsx(I1.CheckBox,{checked:!1})]}),e==="default"?i.jsx(Z6,{className:"gf-cursor-pointer",height:"20px",width:"20px"}):i.jsx(A6,{className:"gf-cursor-pointer",height:"20px",width:"20px"})]}),i.jsx("div",{className:"gf-mb-3 md:gf-mb-8",children:i.jsx(M1,{size:"h3",weight:"medium",children:n})}),i.jsxs("div",{className:"gf-flex gf-justify-end gf-space-x-2",children:[i.jsxs(I1,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[i.jsx(M1,{size:"h4",weight:"medium",children:"Quest Access"}),i.jsx(I1.CheckBox,{checked:!1})]}),i.jsxs(I1,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[i.jsx(M1,{size:"h4",weight:"medium",children:r}),i.jsx(I1.CheckBox,{checked:!1})]})]})]});exports.APIIcon=$8;exports.AddIcon=Yr;exports.ArbitrumLogo=ho;exports.ArrowDownwardIcon=Wr;exports.ArrowEastIcon=L8;exports.ArrowInwardIcon=uo;exports.ArrowLeftIcon=Gr;exports.ArrowNorthEastIcon=Xr;exports.ArrowNorthWestIcon=qr;exports.ArrowRightIcon=Kr;exports.ArrowSouthEastIcon=Qr;exports.ArrowSouthWestIcon=Jr;exports.ArrowSyncIcon=N8;exports.ArrowUpwardIcon=zr;exports.BTCLogo=Co;exports.BlogCard=Kc;exports.BlogIcon=W8;exports.BottomSheet=Ur;exports.BrandKitIcon=z8;exports.Button=b0;exports.Camelot=Ao;exports.CancelIcon=B8;exports.CatalogLogo=po;exports.ChainflipIcon=R8;exports.CheckBox=Xo;exports.CheckCircleIcon=V8;exports.CheckIcon=e8;exports.Checked=I6;exports.Chip=I1;exports.ClientOnly=ft;exports.ClockIcon=t8;exports.CloseIcon=n8;exports.CodeBlockIcon=U8;exports.Coinbase=go;exports.CompareArrowsIcon=j8;exports.ConsoleIcon=G8;exports.Container=$r;exports.CopyIcon=r8;exports.CopyrightsIcon=B6;exports.DLCBTC=Eo;exports.Debridge=Ro;exports.DeleteIcon=D8;exports.DiscordIcon=N6;exports.Dodo=Io;exports.DollarChipIcon=io;exports.DraftIcon=K8;exports.EditIcon=o8;exports.EncryptedIcon=no;exports.EthereumLogo=mo;exports.ExchangeIcon=i8;exports.FaqIcon=fo;exports.FeesIcon=w8;exports.FingerprintIcon=M8;exports.FolderIcon=co;exports.Footer=zc;exports.GMX=Zo;exports.GMXLogo=Lo;exports.GardenDocs=Wo;exports.GardenExplorer=vo;exports.GardenExplorerAlt=$o;exports.GardenFullLogo=yo;exports.GardenIcon=U6;exports.GardenIconOutline=Fo;exports.GardenLogo=xo;exports.GardenLogoDark=Ko;exports.GardenLogoLight=Yo;exports.GardenLogoMarkDark=zo;exports.GardenLogoMarkLight=Go;exports.GardenLogoText=wo;exports.GardenStrokeIcon=bo;exports.GasStationIcon=_8;exports.GiftBoxIcon=so;exports.GradientScroll=ti;exports.HorizontalSwap=oo;exports.HubIcon=F8;exports.InfinityIcon=P8;exports.InfoBadge=Jo;exports.InfoIcon=s8;exports.KeyboardDownIcon=R6;exports.KeyboardLeftIcon=a8;exports.KeyboardRightIcon=l8;exports.KeyboardUpIcon=c8;exports.LanguageIcon=u8;exports.LinkIcon=d8;exports.LockIcon=A6;exports.LogoutIcon=f8;exports.MenuIcon=h8;exports.MinusIcon=H8;exports.Modal=Yn;exports.NFTIcon=Uo;exports.Opacity=ht;exports.OpenInFullIcon=Z6;exports.OpenInNewIcon=b8;exports.OtterSecIcon=Y8;exports.PageInfoIcon=C8;exports.PancakeSwap=Oo;exports.PasskeyIcon=k8;exports.PhantomIcon=Vo;exports.PlusIcon=S8;exports.PolygonLogo=Mo;exports.QuestCard=Xc;exports.Radiant=Bo;exports.RadiantLogo=jo;exports.RadioCheckedIcon=D6;exports.RadioUncheckedIcon=O6;exports.RaiseHandIcon=ao;exports.ReferralIcon=x8;exports.RelayLinkIcon=A8;exports.RemoveIcon=p8;exports.RollingText=Ee;exports.Rotate360Icon=to;exports.RoutingIcon=ro;exports.RowInfoIcon=lo;exports.SDKIcon=X8;exports.ScaleY=Uc;exports.SearchIcon=v8;exports.SearchIconThin=eo;exports.Share=T8;exports.Shine=$c;exports.Sidebar=c7;exports.Solv=Do;exports.StakeIcon=q8;exports.StarIcon=g8;exports.SwapHorizontalIcon=I8;exports.SwellBTC=Po;exports.ThorswapIcon=Z8;exports.TimerIcon=y8;exports.TokenInfo=ei;exports.TokenNetworkLogos=$6;exports.TraderJoe=ko;exports.TrailOfBits=Ho;exports.TrustWallet=So;exports.Typography=M1;exports.Unchecked=_6;exports.Vertex=_o;exports.WalletConnect=To;exports.WalletIcon=m8;exports.WalletIconRose=E8;exports.WarningIcon=O8;exports.XIcon=F6;exports.XSolidIcon=Q8;exports.ZellicIcon=J8;
package/dist/ui.es.js CHANGED
@@ -14536,6 +14536,7 @@ const ot = ({
14536
14536
  l.inputAsset && /* @__PURE__ */ a(
14537
14537
  lt,
14538
14538
  {
14539
+ delay: 0.2,
14539
14540
  value: l.inputAsset || "",
14540
14541
  isHovered: n === c
14541
14542
  }
@@ -14543,7 +14544,7 @@ const ot = ({
14543
14544
  s && l.inputChain && /* @__PURE__ */ a(
14544
14545
  lt,
14545
14546
  {
14546
- delay: 0.1,
14547
+ delay: 0.3,
14547
14548
  className: "gf-text-xs gf-italic gf-translate-y-[0.6px]",
14548
14549
  value: l.inputChain,
14549
14550
  isHovered: n === c
@@ -14552,7 +14553,7 @@ const ot = ({
14552
14553
  /* @__PURE__ */ a(
14553
14554
  lt,
14554
14555
  {
14555
- delay: 0.15,
14556
+ delay: 0.35,
14556
14557
  value: l.title,
14557
14558
  isHovered: n === c
14558
14559
  }
@@ -14560,7 +14561,7 @@ const ot = ({
14560
14561
  s && l.chain && /* @__PURE__ */ a(
14561
14562
  lt,
14562
14563
  {
14563
- delay: 0.3,
14564
+ delay: 0.5,
14564
14565
  className: "gf-text-xs gf-italic gf-translate-y-[0.6px] -gf-translate-x-[2px]",
14565
14566
  value: l.chain,
14566
14567
  isHovered: n === c
@@ -14629,11 +14630,6 @@ const ot = ({
14629
14630
  link: "https://dune.com/garden_finance/gardenfinance",
14630
14631
  isExternal: !0
14631
14632
  },
14632
- Audits: {
14633
- title: "Audits",
14634
- link: "https://github.com/gardenfi/audits",
14635
- isExternal: !0
14636
- },
14637
14633
  Governance: {
14638
14634
  title: "Governance",
14639
14635
  link: "https://docs.garden.finance/home/governance",
@@ -14705,12 +14701,12 @@ const ot = ({
14705
14701
  chain: "Sui",
14706
14702
  isExternal: !0
14707
14703
  },
14708
- btcToWbtcUni: {
14709
- title: "BTC to WBTC",
14710
- link: f + "/routes/bridge-btc-to-wbtc-unichain",
14711
- chain: "Unichain",
14712
- isExternal: !0
14713
- },
14704
+ // btcToWbtcUni: {
14705
+ // title: "BTC to WBTC",
14706
+ // link: homepage + "/routes/bridge-btc-to-wbtc-unichain",
14707
+ // chain: "Unichain",
14708
+ // isExternal: true,
14709
+ // },
14714
14710
  btcToBnb: {
14715
14711
  title: "BTC to BNB",
14716
14712
  link: f + "/routes/bridge-btc-to-bnb",
package/dist/ui.umd.js CHANGED
@@ -62,7 +62,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
62
62
  top: ${c}px !important;
63
63
  left: ${u}px !important;
64
64
  }
65
- `),()=>{document.head.removeChild(f)}},[t]),jsxRuntime.jsx(PopChildMeasure,{isPresent:t,childRef:n,sizeRef:s,children:React__namespace.cloneElement(e,{ref:n})})}const PresenceChild=({children:e,initial:t,isPresent:i,onExitComplete:n,custom:s,presenceAffectsLayout:a,mode:o})=>{const l=useConstant(newChildrenMap),c=React.useId(),u=React.useMemo(()=>({id:c,initial:t,isPresent:i,custom:s,onExitComplete:f=>{l.set(f,!0);for(const d of l.values())if(!d)return;n&&n()},register:f=>(l.set(f,!1),()=>l.delete(f))}),a?[Math.random()]:[i]);return React.useMemo(()=>{l.forEach((f,d)=>l.set(d,!1))},[i]),React__namespace.useEffect(()=>{!i&&!l.size&&n&&n()},[i]),o==="popLayout"&&(e=jsxRuntime.jsx(PopChild,{isPresent:i,children:e})),jsxRuntime.jsx(PresenceContext.Provider,{value:u,children:e})};function newChildrenMap(){return new Map}const getChildKey=e=>e.key||"";function onlyElements(e){const t=[];return React.Children.forEach(e,i=>{React.isValidElement(i)&&t.push(i)}),t}const AnimatePresence=({children:e,exitBeforeEnter:t,custom:i,initial:n=!0,onExitComplete:s,presenceAffectsLayout:a=!0,mode:o="sync"})=>{invariant(!t,"Replace exitBeforeEnter with mode='wait'");const l=React.useMemo(()=>onlyElements(e),[e]),c=l.map(getChildKey),u=React.useRef(!0),f=React.useRef(l),d=useConstant(()=>new Map),[p,b]=React.useState(l),[y,C]=React.useState(l);useIsomorphicLayoutEffect(()=>{u.current=!1,f.current=l;for(let x=0;x<y.length;x++){const g=getChildKey(y[x]);c.includes(g)?d.delete(g):d.get(g)!==!0&&d.set(g,!1)}},[y,c.length,c.join("-")]);const P=[];if(l!==p){let x=[...l];for(let g=0;g<y.length;g++){const S=y[g],E=getChildKey(S);c.includes(E)||(x.splice(g,0,S),P.push(S))}o==="wait"&&P.length&&(x=P),C(onlyElements(x)),b(l);return}process.env.NODE_ENV!=="production"&&o==="wait"&&y.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:m}=React.useContext(LayoutGroupContext);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:y.map(x=>{const g=getChildKey(x),S=l===y||c.includes(g),E=()=>{if(d.has(g))d.set(g,!0);else return;let T=!0;d.forEach(L=>{L||(T=!1)}),T&&(m==null||m(),C(f.current),s&&s())};return jsxRuntime.jsx(PresenceChild,{isPresent:S,initial:!u.current||n?void 0:!1,custom:S?void 0:i,presenceAffectsLayout:a,mode:o,onExitComplete:S?void 0:E,children:x},g)})})};function useMotionValue(e){const t=useConstant(()=>motionValue(e)),{isStatic:i}=React.useContext(MotionConfigContext);if(i){const[,n]=React.useState(e);React.useEffect(()=>t.on("change",n),[])}return t}function useCombineMotionValues(e,t){const i=useMotionValue(t()),n=()=>i.set(t());return n(),useIsomorphicLayoutEffect(()=>{const s=()=>frame.preRender(n,!1,!0),a=e.map(o=>o.on("change",s));return()=>{a.forEach(o=>o()),cancelFrame(n)}}),i}const isCustomValueType=e=>e&&typeof e=="object"&&e.mix,getMixer=e=>isCustomValueType(e)?e.mix:void 0;function transform(...e){const t=!Array.isArray(e[0]),i=t?0:-1,n=e[0+i],s=e[1+i],a=e[2+i],o=e[3+i],l=interpolate(s,a,{mixer:getMixer(a[0]),...o});return t?l(n):l}function useComputed(e){collectMotionValues.current=[],e();const t=useCombineMotionValues(collectMotionValues.current,e);return collectMotionValues.current=void 0,t}function useTransform(e,t,i,n){if(typeof e=="function")return useComputed(e);const s=typeof t=="function"?t:transform(t,i,n);return Array.isArray(e)?useListTransform(e,s):useListTransform([e],([a])=>s(a))}function useListTransform(e,t){const i=useConstant(()=>[]);return useCombineMotionValues(e,()=>{i.length=0;const n=e.length;for(let s=0;s<n;s++)i[s]=e[s].get();return t(i)})}function resolveElements(e,t,i){var n;if(typeof e=="string"){let s=document;t&&(invariant(!!t.current,"Scope provided, but no element detected."),s=t.current),i?((n=i[e])!==null&&n!==void 0||(i[e]=s.querySelectorAll(e)),e=i[e]):e=s.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}function useUnmountEffect(e){return React.useEffect(()=>()=>e(),[])}function isDOMKeyframes(e){return typeof e=="object"&&!Array.isArray(e)}function createVisualElement(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=isSVGElement(e)?new SVGVisualElement(t):new HTMLVisualElement(t);i.mount(e),visualElementStore.set(e,i)}function createGeneratorEasing(e,t=100){const i=spring({keyframes:[0,t],...e}),n=Math.min(calcGeneratorDuration(i),maxGeneratorDuration);return{type:"keyframes",ease:s=>i.next(n*s).value/t,duration:millisecondsToSeconds(n)}}function calcNextTime(e,t,i,n){var s;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?i:(s=n.get(t))!==null&&s!==void 0?s:e}const wrap=(e,t,i)=>{const n=t-e;return((i-e)%n+n)%n+e};function getEasingForSegment(e,t){return isEasingArray(e)?e[wrap(0,e.length,t)]:e}function eraseKeyframes(e,t,i){for(let n=0;n<e.length;n++){const s=e[n];s.at>t&&s.at<i&&(removeItem(e,s),n--)}}function addKeyframes(e,t,i,n,s,a){eraseKeyframes(e,s,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:mixNumber$1(s,a,n[o]),easing:getEasingForSegment(i,o)})}function compareByTime(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const defaultSegmentEasing="easeInOut";function createAnimationsFromSequence(e,{defaultTransition:t={},...i}={},n){const s=t.duration||.3,a=new Map,o=new Map,l={},c=new Map;let u=0,f=0,d=0;for(let p=0;p<e.length;p++){const b=e[p];if(typeof b=="string"){c.set(b,f);continue}else if(!Array.isArray(b)){c.set(b.name,calcNextTime(f,b.at,u,c));continue}let[y,C,P={}]=b;P.at!==void 0&&(f=calcNextTime(f,P.at,u,c));let m=0;const x=(g,S,E,T=0,L=0)=>{const _=keyframesAsList(g),{delay:k=0,times:$=defaultOffset(_),type:z="keyframes",...O}=S;let{ease:N=t.ease||"easeOut",duration:K}=S;const B=typeof k=="function"?k(T,L):k,A=_.length;if(A<=2&&z==="spring"){let I=100;if(A===2&&isNumberKeyframesArray(_)){const q=_[1]-_[0];I=Math.abs(q)}const j={...O};K!==void 0&&(j.duration=secondsToMilliseconds(K));const W=createGeneratorEasing(j,I);N=W.ease,K=W.duration}K??(K=s);const V=f+B,R=V+K;$.length===1&&$[0]===0&&($[1]=1);const M=$.length-_.length;M>0&&fillOffset($,M),_.length===1&&_.unshift(null),addKeyframes(E,_,N,$,V,R),m=Math.max(B+K,m),d=Math.max(R,d)};if(isMotionValue(y)){const g=getSubjectSequence(y,o);x(C,P,getValueSequence("default",g))}else{const g=resolveElements(y,n,l),S=g.length;for(let E=0;E<S;E++){C=C,P=P;const T=g[E],L=getSubjectSequence(T,o);for(const _ in C)x(C[_],getValueTransition(P,_),getValueSequence(_,L),E,S)}}u=f,f+=m}return o.forEach((p,b)=>{for(const y in p){const C=p[y];C.sort(compareByTime);const P=[],m=[],x=[];for(let S=0;S<C.length;S++){const{at:E,value:T,easing:L}=C[S];P.push(T),m.push(progress(0,d,E)),x.push(L||"easeOut")}m[0]!==0&&(m.unshift(0),P.unshift(P[0]),x.unshift(defaultSegmentEasing)),m[m.length-1]!==1&&(m.push(1),P.push(null)),a.has(b)||a.set(b,{keyframes:{},transition:{}});const g=a.get(b);g.keyframes[y]=P,g.transition[y]={...t,duration:d,ease:x,times:m,...i}}}),a}function getSubjectSequence(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function getValueSequence(e,t){return t[e]||(t[e]=[]),t[e]}function keyframesAsList(e){return Array.isArray(e)?e:[e]}function getValueTransition(e,t){return e[t]?{...e,...e[t]}:{...e}}const isNumber=e=>typeof e=="number",isNumberKeyframesArray=e=>e.every(isNumber);function animateElements(e,t,i,n){const s=resolveElements(e,n),a=s.length;invariant(!!a,"No valid element provided.");const o=[];for(let l=0;l<a;l++){const c=s[l];visualElementStore.has(c)||createVisualElement(c);const u=visualElementStore.get(c),f={...i};typeof f.delay=="function"&&(f.delay=f.delay(l,a)),o.push(...animateTarget(u,{...t,transition:f},{}))}return new GroupPlaybackControls(o)}const isSequence=e=>Array.isArray(e)&&Array.isArray(e[0]);function animateSequence(e,t,i){const n=[];return createAnimationsFromSequence(e,t,i).forEach(({keyframes:a,transition:o},l)=>{let c;isMotionValue(l)?c=animateSingleValue(l,a.default,o.default):c=animateElements(l,a,o),n.push(c)}),new GroupPlaybackControls(n)}const createScopedAnimate=e=>{function t(i,n,s){let a;return isSequence(i)?a=animateSequence(i,n,e):isDOMKeyframes(n)?a=animateElements(i,n,s,e):a=animateSingleValue(i,n,s),e&&e.animations.push(a),a}return t};function useAnimate(){const e=useConstant(()=>({current:null,animations:[]})),t=useConstant(()=>createScopedAnimate(e));return useUnmountEffect(()=>{e.animations.forEach(i=>i.stop())}),[e,t]}function getOriginIndex(e,t){if(e==="first")return 0;{const i=t-1;return e==="last"?i:i/2}}function stagger(e=.1,{startDelay:t=0,from:i=0,ease:n}={}){return(s,a)=>{const o=typeof i=="number"?i:getOriginIndex(i,a),l=Math.abs(o-s);let c=e*l;if(n){const u=a*e;c=easingDefinitionToFunction(n)(c/u)*u}return t+c}}const FooterBackgroundAnimation=({isMobile:e,isLogoHovered:t,maskUrl:i})=>{const[n]=React.useState("https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"),[s,a]=React.useState("initial"),o=React.useRef(null),l=React.useRef(null),c=useMotionValue(45),u=useTransform(c,f=>`${f}% center`);return React.useEffect(()=>{if(t)a("visible");else{a("exit");const f=setTimeout(()=>{a("initial")},800);return()=>clearTimeout(f)}},[t]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("video",{ref:o,src:n,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-screen gf-object-cover gf-opacity-0"},"video-flowers"),jsxRuntime.jsx(AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(motion.div,{animate:s,variants:{initial:{maskPosition:"45%",opacity:0},visible:{maskPosition:"10%",opacity:1},exit:{maskPosition:"-60%",opacity:0,transition:{duration:1.2,ease:[0,.77,.3,1],opacity:{delay:.4}}}},transition:{duration:1,ease:[.22,.68,.88,.96],delay:.15,opacity:{times:[0,1,1,1]}},style:{maskImage:`linear-gradient(black, black), url('${i}')`,maskComposite:"exclude",maskSize:e?"1200% 200%":"820% 600%",maskPosition:u},className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-full gf-overflow-hidden gf-opacity-0",children:jsxRuntime.jsx("video",{ref:l,src:n,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-h-full gf-w-screen gf-object-cover",onCanPlayThrough:()=>{l.current&&l.current.play().catch(console.error)},onLoadStart:()=>{l.current&&l.current.play().catch(console.error)}},"video-flowers-animated")},"hovered")})]})},ScaleY=({children:e,triggerAnimation:t})=>{const i={animation:{scaleY:[0,1],opacity:[0,1],transition:{duration:.5,ease:cubicBezier(.84,0,.16,1),opacity:{duration:.2,ease:"easeInOut"},once:!0}},idle:{scaleY:1,opacity:1}};return jsxRuntime.jsx(motion.div,{animate:t?"animation":"idle",variants:i,style:{transformOrigin:"bottom"},children:e})},Shine=({children:e})=>jsxRuntime.jsx(motion.div,{className:"gf-relative gf-inline-block gf-overflow-hidden gf-rounded-xl gf-w-[300px] before:gf-z-50 before:gf-absolute before:gf-bg-gradient-to-r before:gf-from-transparent before:gf-via-white/50 before:gf-via-50% before:gf-to-transparent before:gf-top-0 before:gf-left-0 before:gf-w-[168px] before:gf-h-full before:gf-animate-shine before:gf-opacity-0",children:e}),RollingText=React.forwardRef(({value:e,isHovered:t,className:i,delay:n},s)=>{const a=e.split(""),[o,l]=useAnimate(),c=()=>{l([[".gf-letter",{y:"-100%"},{duration:.5,delay:n?stagger(.014,{startDelay:n}):stagger(.014),ease:[.76,0,.24,1]}]])},u=()=>{l([[".gf-letter",{y:"0%"},{duration:.5,delay:n?stagger(.014,{startDelay:n}):stagger(.014),ease:[.76,0,.24,1]}]])};return React.useImperativeHandle(s,()=>({startAnimation:c,stopAnimation:u})),React.useEffect(()=>{t?c():u()},[t]),React.useEffect(()=>{const f=()=>{t||c()},d=()=>{t||u()},p=o.current;if(p)return p.addEventListener("mouseenter",f),p.addEventListener("mouseleave",d),()=>{p.removeEventListener("mouseenter",f),p.removeEventListener("mouseleave",d)}},[o,t]),jsxRuntime.jsx("div",{ref:o,children:jsxRuntime.jsx("span",{className:cn("gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",i),children:a.map((f,d)=>jsxRuntime.jsx("span",{"data-letter":f,className:"gf-letter gf-relative gf-h-5 gf-whitespace-pre gf-leading-5 after:gf-absolute after:gf-left-0 after:gf-top-full after:gf-h-5 after:gf-leading-5 after:gf-content-[attr(data-letter)]",children:f},`${f}-${d}`))})})});RollingText.displayName="RollingText";const FooterLinks=({title:e,links:t,hoveredIndex:i,onHover:n,className:s="gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:a="gf-flex gf-flex-col gf-gap-1",isRoutes:o=!1})=>jsxRuntime.jsxs("div",{className:s,children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",className:"gf-flex gf-items-center gf-gap-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",children:jsxRuntime.jsx("span",{children:e})}),jsxRuntime.jsx("ul",{className:a,children:Object.values(t).map((l,c)=>l.link&&jsxRuntime.jsx("li",{className:o?"gf-w-fit":"",onMouseEnter:()=>{n==null||n(c)},onMouseLeave:()=>{n==null||n(null)},children:jsxRuntime.jsxs(Typography,{as:"a",href:l.link,target:"_blank",size:"h4",weight:"regular",className:`gf-cursor-pointer gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit ${o?"gf-flex gf-w-fit gf-gap-0.5 gf-items-end gf-transition-colors gf-duration-500 gf-ease-in-out":""}`,children:[l.inputAsset&&jsxRuntime.jsx(RollingText,{value:l.inputAsset||"",isHovered:i===c}),o&&l.inputChain&&jsxRuntime.jsx(RollingText,{delay:.1,className:"gf-text-xs gf-italic gf-translate-y-[0.6px]",value:l.inputChain,isHovered:i===c}),jsxRuntime.jsx(RollingText,{delay:.15,value:l.title,isHovered:i===c}),o&&l.chain&&jsxRuntime.jsx(RollingText,{delay:.3,className:"gf-text-xs gf-italic gf-translate-y-[0.6px] -gf-translate-x-[2px]",value:l.chain,isHovered:i===c})]})},c))})]}),MaskURL="data:image/svg+xml,%3csvg%20width='3956'%20height='906'%20viewBox='0%200%203956%20906'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='3956'%20height='906'%20fill='url(%23paint0_linear_579_2)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_579_2'%20x1='1465.5'%20y1='731.406'%20x2='2604.91'%20y2='227.235'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0'/%3e%3cstop%20offset='0.115385'/%3e%3cstop%20offset='0.88'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Footer=({className:e,network:t="mainnet",maskUrl:i=MaskURL,...n})=>{const[s,a]=React.useState(!1),[o,l]=React.useState(null),c=useClientOnly(),u=React.useRef(null);React.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const f=t&&t==="testnet"?"https://testnet.garden.finance":"https://app.garden.finance",d="https://garden.finance",p={Products:{swap:{title:"Swap",link:t&&t==="testnet"?`${f}/?input-chain=bitcoin_testnet&input-asset=BTC`:`${f}/?input-chain=bitcoin&input-asset=BTC`,isExternal:!0},stake:{title:"Stake",link:t&&t==="testnet"?void 0:`${f}/stake`,isExternal:!0},explorer:{title:"Explorer",link:t&&t==="testnet"?"https://testnet-explorer.garden.finance/":"https://explorer.garden.finance/",isExternal:!0}},Resources:{blog:{title:"Blog",link:`${d}/blog`,isExternal:!0},routes:{title:"Routes",link:`${d}/routes`,isExternal:!0},faq:{title:"FAQs",link:`${d}/faq`,isExternal:!0},brandKit:{title:"Brand kit",link:`${d}/brand-kit`,isExternal:!0},analytics:{title:"Analytics",link:"https://dune.com/garden_finance/gardenfinance",isExternal:!0},Audits:{title:"Audits",link:"https://github.com/gardenfi/audits",isExternal:!0},Governance:{title:"Governance",link:"https://docs.garden.finance/home/governance",isExternal:!0}},Developers:{docs:{title:"Docs",link:"https://docs.garden.finance/",isExternal:!0},api:{title:"API",link:"https://docs.garden.finance/developers/api/overview",isExternal:!0},sdk:{title:"SDK",link:"https://docs.garden.finance/developers/sdk/overview",isExternal:!0},security:{title:"Security",link:`${d}/security`,isExternal:!0}}},b={btcToSol:{title:"BTC to SOL",link:d+"/routes/bridge-btc-to-sol",chain:"Solana",isExternal:!0},btcToEth:{title:"BTC to ETH",link:d+"/routes/bridge-btc-to-eth",chain:"Ethereum",isExternal:!0},btcToUsdc:{title:"BTC to USDC",link:d+"/routes/bridge-btc-to-usdc-arbitrum",chain:"Arbitrum",isExternal:!0},btctoUsdcEth:{title:"BTC to USDC",link:d+"/routes/bridge-btc-to-usdc-ethereum",chain:"Ethereum",isExternal:!0},btcToWbtc:{title:"BTC to WBTC",link:d+"/routes/bridge-btc-to-wbtc-ethereum",chain:"Ethereum",isExternal:!0},btcTocbBtc:{title:"BTC to cbBTC",link:d+"/routes/bridge-btc-to-cbbtc-base",chain:"Base",isExternal:!0},btcToSui:{title:"BTC to SUI",link:d+"/routes/bridge-btc-to-sui",chain:"Sui",isExternal:!0},btcToWbtcUni:{title:"BTC to WBTC",link:d+"/routes/bridge-btc-to-wbtc-unichain",chain:"Unichain",isExternal:!0},btcToBnb:{title:"BTC to BNB",link:d+"/routes/bridge-btc-to-bnb",chain:"BNB Chain",isExternal:!0},btcToMon:{title:"BTC to MON",link:d+"/routes/bridge-btc-to-mon",chain:"Monad",isExternal:!0},cbBtcBaseTocbBtcSolana:{title:" to cbBTC",link:d+"/routes/bridge-cbbtc-base-to-cbbtc-solana",inputAsset:"cbBTC",inputChain:"Base",chain:"Solana",isExternal:!0},usdcBnbToBtc:{title:" to BTC",link:d+"/routes/bridge-usdc-bnb-to-btc",inputAsset:"USDC",inputChain:"BNB Chain",isExternal:!0},btcToUsdtEthereum:{title:" to USDT",link:d+"/routes/bridge-btc-to-usdt-ethereum",inputAsset:"BTC",chain:"Ethereum",isExternal:!0},btcToUsdcSolana:{title:" to USDC",link:d+"/routes/bridge-btc-to-usdc-solana",inputAsset:"BTC",chain:"Solana",isExternal:!0},usdcEthereumToBtc:{title:" to BTC",link:d+"/routes/bridge-usdc-ethereum-to-btc",inputAsset:"USDC",inputChain:"Ethereum",isExternal:!0},solToBtc:{title:" to BTC",link:d+"/routes/bridge-sol-to-btc",inputAsset:"SOL",inputChain:"Solana",isExternal:!0},usdcEthereumToUsdcBase:{title:" to USDC",link:d+"/routes/bridge-usdc-ethereum-to-usdc-base",inputAsset:"USDC",inputChain:"Ethereum",chain:"Base",isExternal:!0}},y={discord:"https://discord.gg/7feudTFMXB",x:"https://x.com/gardenfi"},{Products:C,Resources:P,Developers:m}=p;return jsxRuntime.jsxs("footer",{className:cn("gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",e,s?"gf-text-white":"gf-text-dark-grey"),...n,children:[jsxRuntime.jsxs("div",{className:"gf-z-30 gf-w-full gf-max-w-screen-2xl",children:[jsxRuntime.jsxs("div",{className:"gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-start gf-justify-between gf-gap-8",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6",children:[jsxRuntime.jsx(GardenIcon,{onMouseEnter:()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{a(!0)},300)},onMouseLeave:()=>{u.current&&(clearTimeout(u.current),u.current=null),a(!1)},className:"gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",onClick:x=>x.preventDefault()}),jsxRuntime.jsxs("div",{className:"gf-flex gf-items-center gf-gap-4",children:[jsxRuntime.jsx(XIcon,{onClick:()=>{c&&window.open(y.x,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"}),jsxRuntime.jsx(DiscordIcon,{onClick:()=>{c&&window.open(y.discord,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"})]})]}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-max-w-screen-2xl gf-flex-col-reverse gf-items-start gf-justify-between gf-gap-6 md:gf-flex-row",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-flex-col sm:gf-flex-row gf-gap-6 gf-items-start gf-justify-between sm:gf-gap-3 md:gf-w-fit",children:[jsxRuntime.jsx("div",{className:"gf-w-full md:gf-hidden",children:jsxRuntime.jsx(FooterLinks,{title:"Resources",links:P,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-2"})}),jsxRuntime.jsx("div",{className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",children:jsxRuntime.jsx(FooterLinks,{title:"Routes",links:b,hoveredIndex:o,onHover:l,className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-grid gf-w-full gf-grid-cols-1 gf-gap-1 gf-gap-x-8 md:gf-grid-cols-2 md:gf-grid-rows-2",isRoutes:!0})})]}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-items-start gf-justify-between gf-gap-3 md:gf-w-fit md:gf-gap-16",children:[jsxRuntime.jsx(FooterLinks,{title:"Products",links:C,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"}),jsxRuntime.jsx(FooterLinks,{title:"Developers",links:m,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-flex-col gf-gap-1"}),jsxRuntime.jsx("div",{className:"gf-hidden md:gf-flex",children:jsxRuntime.jsx(FooterLinks,{title:"Resources",links:P,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-1"})})]})]})]}),jsxRuntime.jsxs("div",{className:"gf-relative gf-mt-6 gf-flex gf-w-full gf-max-w-screen-2xl gf-items-center gf-justify-center",children:[jsxRuntime.jsx("div",{className:`gf-absolute gf-left-0 gf-top-0 gf-h-[1px] gf-w-full gf-transition-all gf-duration-500 gf-ease-in-out ${s?"gf-bg-white":"gf-bg-dark-grey"}`}),jsxRuntime.jsxs("div",{className:"gf-z-10 gf-my-6 gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-4",children:[jsxRuntime.jsx("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6",children:jsxRuntime.jsxs(Typography,{size:"h5",className:"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",weight:"regular",children:[jsxRuntime.jsx(CopyrightsIcon,{}),jsxRuntime.jsx("span",{children:"Garden"}),jsxRuntime.jsx("span",{children:"2026"})]})}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6",children:[jsxRuntime.jsx(Typography,{size:"h5",as:"a",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/privacy.pdf",target:"_blank",children:"Privacy Policy"}),jsxRuntime.jsx(Typography,{as:"a",size:"h5",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/terms.pdf",target:"_blank",children:"Terms of Service"})]})]})]})]}),jsxRuntime.jsx(FooterBackgroundAnimation,{isMobile:!1,isLogoHovered:s,maskUrl:i})]})};var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var build={exports:{}};(()=>{var e={181:(s,a,o)=>{var l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,d=parseInt,p=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,b=typeof self=="object"&&self&&self.Object===Object&&self,y=p||b||Function("return this")(),C=Object.prototype.toString,P=Math.max,m=Math.min,x=function(){return y.Date.now()};function g(E){var T=typeof E;return!!E&&(T=="object"||T=="function")}function S(E){if(typeof E=="number")return E;if(function(_){return typeof _=="symbol"||function(k){return!!k&&typeof k=="object"}(_)&&C.call(_)=="[object Symbol]"}(E))return NaN;if(g(E)){var T=typeof E.valueOf=="function"?E.valueOf():E;E=g(T)?T+"":T}if(typeof E!="string")return E===0?E:+E;E=E.replace(l,"");var L=u.test(E);return L||f.test(E)?d(E.slice(2),L?2:8):c.test(E)?NaN:+E}s.exports=function(E,T,L){var _,k,$,z,O,N,K=0,B=!1,A=!1,V=!0;if(typeof E!="function")throw new TypeError("Expected a function");function R(q){var X=_,ee=k;return _=k=void 0,K=q,z=E.apply(ee,X)}function M(q){var X=q-N;return N===void 0||X>=T||X<0||A&&q-K>=$}function I(){var q=x();if(M(q))return j(q);O=setTimeout(I,function(X){var ee=T-(X-N);return A?m(ee,$-(X-K)):ee}(q))}function j(q){return O=void 0,V&&_?R(q):(_=k=void 0,z)}function W(){var q=x(),X=M(q);if(_=arguments,k=this,N=q,X){if(O===void 0)return function(ee){return K=ee,O=setTimeout(I,T),B?R(ee):z}(N);if(A)return O=setTimeout(I,T),R(N)}return O===void 0&&(O=setTimeout(I,T)),z}return T=S(T)||0,g(L)&&(B=!!L.leading,$=(A="maxWait"in L)?P(S(L.maxWait)||0,T):$,V="trailing"in L?!!L.trailing:V),W.cancel=function(){O!==void 0&&clearTimeout(O),K=0,_=N=k=O=void 0},W.flush=function(){return O===void 0?z:j(x())},W}},858:(s,a,o)=>{var l="Expected a function",c=NaN,u="[object Symbol]",f=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,y=parseInt,C=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,P=typeof self=="object"&&self&&self.Object===Object&&self,m=C||P||Function("return this")(),x=Object.prototype.toString,g=Math.max,S=Math.min,E=function(){return m.Date.now()};function T(_){var k=typeof _;return!!_&&(k=="object"||k=="function")}function L(_){if(typeof _=="number")return _;if(function(z){return typeof z=="symbol"||function(O){return!!O&&typeof O=="object"}(z)&&x.call(z)==u}(_))return c;if(T(_)){var k=typeof _.valueOf=="function"?_.valueOf():_;_=T(k)?k+"":k}if(typeof _!="string")return _===0?_:+_;_=_.replace(f,"");var $=p.test(_);return $||b.test(_)?y(_.slice(2),$?2:8):d.test(_)?c:+_}s.exports=function(_,k,$){var z=!0,O=!0;if(typeof _!="function")throw new TypeError(l);return T($)&&(z="leading"in $?!!$.leading:z,O="trailing"in $?!!$.trailing:O),function(N,K,B){var A,V,R,M,I,j,W=0,q=!1,X=!1,ee=!0;if(typeof N!="function")throw new TypeError(l);function re(se){var fe=A,ie=V;return A=V=void 0,W=se,M=N.apply(ie,fe)}function ce(se){var fe=se-j;return j===void 0||fe>=K||fe<0||X&&se-W>=R}function he(){var se=E();if(ce(se))return me(se);I=setTimeout(he,function(fe){var ie=K-(fe-j);return X?S(ie,R-(fe-W)):ie}(se))}function me(se){return I=void 0,ee&&A?re(se):(A=V=void 0,M)}function pe(){var se=E(),fe=ce(se);if(A=arguments,V=this,j=se,fe){if(I===void 0)return function(ie){return W=ie,I=setTimeout(he,K),q?re(ie):M}(j);if(X)return I=setTimeout(he,K),re(j)}return I===void 0&&(I=setTimeout(he,K)),M}return K=L(K)||0,T(B)&&(q=!!B.leading,R=(X="maxWait"in B)?g(L(B.maxWait)||0,K):R,ee="trailing"in B?!!B.trailing:ee),pe.cancel=function(){I!==void 0&&clearTimeout(I),W=0,A=j=V=I=void 0},pe.flush=function(){return I===void 0?M:me(E())},pe}(_,k,{leading:z,maxWait:k,trailing:O})}},694:(s,a,o)=>{var l=o(925);function c(){}function u(){}u.resetWarningCache=c,s.exports=function(){function f(b,y,C,P,m,x){if(x!==l){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}function d(){return f}f.isRequired=f;var p={array:f,bigint:f,bool:f,func:f,number:f,object:f,string:f,symbol:f,any:f,arrayOf:d,element:f,elementType:f,instanceOf:d,node:f,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:u,resetWarningCache:c};return p.PropTypes=p,p}},556:(s,a,o)=>{s.exports=o(694)()},925:s=>{s.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function i(s){var a=t[s];if(a!==void 0)return a.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,i),o.exports}i.n=s=>{var a=s&&s.__esModule?()=>s.default:()=>s;return i.d(a,{a}),a},i.d=(s,a)=>{for(var o in a)i.o(a,o)&&!i.o(s,o)&&Object.defineProperty(s,o,{enumerable:!0,get:a[o]})},i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(s,a)=>Object.prototype.hasOwnProperty.call(s,a),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var n={};(()=>{i.r(n),i.d(n,{LazyLoadComponent:()=>Ce,LazyLoadImage:()=>He,trackWindowScroll:()=>q});const s=React;var a=i.n(s),o=i(556);function l(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function c(U){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},c(U)}function u(U,F){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(U);F&&(H=H.filter(function(D){return Object.getOwnPropertyDescriptor(U,D).enumerable})),G.push.apply(G,H)}return G}function f(U,F,G){return(F=p(F))in U?Object.defineProperty(U,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):U[F]=G,U}function d(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,p(H.key),H)}}function p(U){var F=function(G,H){if(c(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(c(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return c(F)=="symbol"?F:F+""}function b(U,F,G){return F=C(F),function(H,D){if(D&&(c(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}(H)}(U,y()?Reflect.construct(F,G||[],C(U).constructor):F.apply(U,G))}function y(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(y=function(){return!!U})()}function C(U){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},C(U)}function P(U,F){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},P(U,F)}var m=function(U){U.forEach(function(F){F.isIntersecting&&F.target.onVisible()})},x={},g=function(U){function F(D){var Z;if(function(Q,te){if(!(Q instanceof te))throw new TypeError("Cannot call a class as a function")}(this,F),(Z=b(this,F,[D])).supportsObserver=!D.scrollPosition&&D.useIntersectionObserver&&l(),Z.supportsObserver){var J=D.threshold;Z.observer=function(Q){return x[Q]=x[Q]||new IntersectionObserver(m,{rootMargin:Q+"px"}),x[Q]}(J)}return Z}return function(D,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(Z&&Z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),Z&&P(D,Z)}(F,U),G=F,H=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,Z=this.placeholder.getBoundingClientRect(),J=this.placeholder.style,Q=parseInt(J.getPropertyValue("margin-left"),10)||0,te=parseInt(J.getPropertyValue("margin-top"),10)||0;return{bottom:D.y+Z.bottom+te,left:D.x+Z.left+Q,right:D.x+Z.right+Q,top:D.y+Z.top+te}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var D=this.props,Z=D.scrollPosition,J=D.threshold,Q=this.getPlaceholderBoundingBox(Z),te=Z.y+window.innerHeight,ne=Z.x,le=Z.x+window.innerWidth,ae=Z.y;return ae-J<=Q.bottom&&te+J>=Q.top&&ne-J<=Q.right&&le+J>=Q.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var D=this,Z=this.props,J=Z.className,Q=Z.height,te=Z.placeholder,ne=Z.style,le=Z.width;if(te&&typeof te.type!="function")return a().cloneElement(te,{ref:function(oe){return D.placeholder=oe}});var ae=function(oe){for(var de=1;de<arguments.length;de++){var ue=arguments[de]!=null?arguments[de]:{};de%2?u(Object(ue),!0).forEach(function(ge){f(oe,ge,ue[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(ue)):u(Object(ue)).forEach(function(ge){Object.defineProperty(oe,ge,Object.getOwnPropertyDescriptor(ue,ge))})}return oe}({display:"inline-block"},ne);return le!==void 0&&(ae.width=le),Q!==void 0&&(ae.height=Q),a().createElement("span",{className:J,ref:function(oe){return D.placeholder=oe},style:ae},te)}}],H&&d(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);g.propTypes={onVisible:o.PropTypes.func.isRequired,className:o.PropTypes.string,height:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]),placeholder:o.PropTypes.element,threshold:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool,scrollPosition:o.PropTypes.shape({x:o.PropTypes.number.isRequired,y:o.PropTypes.number.isRequired}),width:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string])},g.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const S=g;var E=i(181),T=i.n(E),L=i(858),_=i.n(L),k=function(U){var F=getComputedStyle(U,null);return F.getPropertyValue("overflow")+F.getPropertyValue("overflow-y")+F.getPropertyValue("overflow-x")};const $=function(U){if(!(U instanceof HTMLElement))return window;for(var F=U;F&&F instanceof HTMLElement;){if(/(scroll|auto)/.test(k(F)))return F;F=F.parentNode}return window};function z(U){return z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},z(U)}var O=["delayMethod","delayTime"];function N(){return N=Object.assign?Object.assign.bind():function(U){for(var F=1;F<arguments.length;F++){var G=arguments[F];for(var H in G)({}).hasOwnProperty.call(G,H)&&(U[H]=G[H])}return U},N.apply(null,arguments)}function K(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,B(H.key),H)}}function B(U){var F=function(G,H){if(z(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(z(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return z(F)=="symbol"?F:F+""}function A(U,F,G){return F=M(F),V(U,R()?Reflect.construct(F,G||[],M(U).constructor):F.apply(U,G))}function V(U,F){if(F&&(z(F)=="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(G){if(G===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G}(U)}function R(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(R=function(){return!!U})()}function M(U){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},M(U)}function I(U,F){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},I(U,F)}var j=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},W=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const q=function(U){var F=function(G){function H(J){var Q;if(function(ne,le){if(!(ne instanceof le))throw new TypeError("Cannot call a class as a function")}(this,H),(Q=A(this,H,[J])).useIntersectionObserver=J.useIntersectionObserver&&l(),Q.useIntersectionObserver)return V(Q);var te=Q.onChangeScroll.bind(Q);return J.delayMethod==="debounce"?Q.delayedScroll=T()(te,J.delayTime):J.delayMethod==="throttle"&&(Q.delayedScroll=_()(te,J.delayTime)),Q.state={scrollPosition:{x:j(),y:W()}},Q.baseComponentRef=a().createRef(),Q}return function(J,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");J.prototype=Object.create(Q&&Q.prototype,{constructor:{value:J,writable:!0,configurable:!0}}),Object.defineProperty(J,"prototype",{writable:!1}),Q&&I(J,Q)}(H,G),D=H,Z=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||$(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=$(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:j(),y:W()}})}},{key:"render",value:function(){var J=this.props,Q=(J.delayMethod,J.delayTime,function(ne,le){if(ne==null)return{};var ae,oe,de=function(ge,Ie){if(ge==null)return{};var Be={};for(var Oe in ge)if({}.hasOwnProperty.call(ge,Oe)){if(Ie.indexOf(Oe)>=0)continue;Be[Oe]=ge[Oe]}return Be}(ne,le);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(ne);for(oe=0;oe<ue.length;oe++)ae=ue[oe],le.indexOf(ae)>=0||{}.propertyIsEnumerable.call(ne,ae)&&(de[ae]=ne[ae])}return de}(J,O)),te=this.useIntersectionObserver?null:this.state.scrollPosition;return a().createElement(U,N({forwardRef:this.baseComponentRef,scrollPosition:te},Q))}}],Z&&K(D.prototype,Z),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,Z}(a().Component);return F.propTypes={delayMethod:o.PropTypes.oneOf(["debounce","throttle"]),delayTime:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool},F.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},F};function X(U){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},X(U)}function ee(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,re(H.key),H)}}function re(U){var F=function(G,H){if(X(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(X(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return X(F)=="symbol"?F:F+""}function ce(U,F,G){return F=me(F),function(H,D){if(D&&(X(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}(H)}(U,he()?Reflect.construct(F,G||[],me(U).constructor):F.apply(U,G))}function he(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(he=function(){return!!U})()}function me(U){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},me(U)}function pe(U,F){return pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},pe(U,F)}var se=function(U){function F(D){return function(Z,J){if(!(Z instanceof J))throw new TypeError("Cannot call a class as a function")}(this,F),ce(this,F,[D])}return function(D,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(Z&&Z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),Z&&pe(D,Z)}(F,U),G=F,(H=[{key:"render",value:function(){return a().createElement(S,this.props)}}])&&ee(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);const fe=q(se);function ie(U){return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},ie(U)}function Y(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,Ee(H.key),H)}}function Ee(U){var F=function(G,H){if(ie(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(ie(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return ie(F)=="symbol"?F:F+""}function Le(U,F,G){return F=ye(F),function(H,D){if(D&&(ie(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}(H)}(U,be()?Reflect.construct(F,G||[],ye(U).constructor):F.apply(U,G))}function be(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(be=function(){return!!U})()}function ye(U){return ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},ye(U)}function Pe(U,F){return Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},Pe(U,F)}var ve=function(U){function F(D){var Z;(function(le,ae){if(!(le instanceof ae))throw new TypeError("Cannot call a class as a function")})(this,F),Z=Le(this,F,[D]);var J=D.afterLoad,Q=D.beforeLoad,te=D.scrollPosition,ne=D.visibleByDefault;return Z.state={visible:ne},ne&&(Q(),J()),Z.onVisible=Z.onVisible.bind(Z),Z.isScrollTracked=!!(te&&Number.isFinite(te.x)&&te.x>=0&&Number.isFinite(te.y)&&te.y>=0),Z}return function(D,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(Z&&Z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),Z&&Pe(D,Z)}(F,U),G=F,(H=[{key:"componentDidUpdate",value:function(D,Z){Z.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var D=this.props,Z=D.className,J=D.delayMethod,Q=D.delayTime,te=D.height,ne=D.placeholder,le=D.scrollPosition,ae=D.style,oe=D.threshold,de=D.useIntersectionObserver,ue=D.width;return this.isScrollTracked||de&&l()?a().createElement(S,{className:Z,height:te,onVisible:this.onVisible,placeholder:ne,scrollPosition:le,style:ae,threshold:oe,useIntersectionObserver:de,width:ue}):a().createElement(fe,{className:Z,delayMethod:J,delayTime:Q,height:te,onVisible:this.onVisible,placeholder:ne,style:ae,threshold:oe,width:ue})}}])&&Y(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);ve.propTypes={afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool},ve.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const Ce=ve;function xe(U){return xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},xe(U)}var we=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function Se(U,F){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(U);F&&(H=H.filter(function(D){return Object.getOwnPropertyDescriptor(U,D).enumerable})),G.push.apply(G,H)}return G}function Me(U){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?Se(Object(G),!0).forEach(function(H){Re(U,H,G[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(G)):Se(Object(G)).forEach(function(H){Object.defineProperty(U,H,Object.getOwnPropertyDescriptor(G,H))})}return U}function Re(U,F,G){return(F=Ve(F))in U?Object.defineProperty(U,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):U[F]=G,U}function Te(){return Te=Object.assign?Object.assign.bind():function(U){for(var F=1;F<arguments.length;F++){var G=arguments[F];for(var H in G)({}).hasOwnProperty.call(G,H)&&(U[H]=G[H])}return U},Te.apply(null,arguments)}function _e(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,Ve(H.key),H)}}function Ve(U){var F=function(G,H){if(xe(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(xe(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return xe(F)=="symbol"?F:F+""}function je(U,F,G){return F=Ae(F),function(H,D){if(D&&(xe(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}(H)}(U,De()?Reflect.construct(F,G||[],Ae(U).constructor):F.apply(U,G))}function De(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(De=function(){return!!U})()}function Ae(U){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},Ae(U)}function ke(U,F){return ke=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},ke(U,F)}var Fe=function(U){function F(D){var Z;return function(J,Q){if(!(J instanceof Q))throw new TypeError("Cannot call a class as a function")}(this,F),(Z=je(this,F,[D])).state={loaded:!1},Z}return function(D,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(Z&&Z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),Z&&ke(D,Z)}(F,U),G=F,H=[{key:"onImageLoad",value:function(){var D=this;return this.state.loaded?null:function(Z){D.props.onLoad(Z),D.props.afterLoad(),D.setState({loaded:!0})}}},{key:"getImg",value:function(){var D=this.props,Z=(D.afterLoad,D.beforeLoad,D.delayMethod,D.delayTime,D.effect,D.placeholder,D.placeholderSrc,D.scrollPosition,D.threshold,D.useIntersectionObserver,D.visibleByDefault,D.wrapperClassName,D.wrapperProps,function(J,Q){if(J==null)return{};var te,ne,le=function(oe,de){if(oe==null)return{};var ue={};for(var ge in oe)if({}.hasOwnProperty.call(oe,ge)){if(de.indexOf(ge)>=0)continue;ue[ge]=oe[ge]}return ue}(J,Q);if(Object.getOwnPropertySymbols){var ae=Object.getOwnPropertySymbols(J);for(ne=0;ne<ae.length;ne++)te=ae[ne],Q.indexOf(te)>=0||{}.propertyIsEnumerable.call(J,te)&&(le[te]=J[te])}return le}(D,we));return a().createElement("img",Te({},Z,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var D=this.props,Z=D.beforeLoad,J=D.className,Q=D.delayMethod,te=D.delayTime,ne=D.height,le=D.placeholder,ae=D.scrollPosition,oe=D.style,de=D.threshold,ue=D.useIntersectionObserver,ge=D.visibleByDefault,Ie=D.width;return a().createElement(Ce,{beforeLoad:Z,className:J,delayMethod:Q,delayTime:te,height:ne,placeholder:le,scrollPosition:ae,style:oe,threshold:de,useIntersectionObserver:ue,visibleByDefault:ge,width:Ie},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(D){var Z=this.props,J=Z.effect,Q=Z.height,te=Z.placeholderSrc,ne=Z.width,le=Z.wrapperClassName,ae=Z.wrapperProps,oe=this.state.loaded,de=oe?" lazy-load-image-loaded":"",ue=oe||!te?{}:{backgroundImage:"url(".concat(te,")"),backgroundSize:"100% 100%"};return a().createElement("span",Te({className:le+" lazy-load-image-background "+J+de,style:Me(Me({},ue),{},{color:"transparent",display:"inline-block",height:Q,width:ne})},ae),D)}},{key:"render",value:function(){var D=this.props,Z=D.effect,J=D.placeholderSrc,Q=D.visibleByDefault,te=D.wrapperClassName,ne=D.wrapperProps,le=this.getLazyLoadImage();return(Z||J)&&!Q||te||ne?this.getWrappedLazyLoadImage(le):le}}],H&&_e(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);Fe.propTypes={onLoad:o.PropTypes.func,afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,delayMethod:o.PropTypes.string,delayTime:o.PropTypes.number,effect:o.PropTypes.string,placeholderSrc:o.PropTypes.string,threshold:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool,wrapperClassName:o.PropTypes.string,wrapperProps:o.PropTypes.object},Fe.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const He=Fe})(),build.exports=n})();var buildExports=build.exports;const placeholderUrl="data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%200%20384%20216'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11648_9381)'%3e%3crect%20width='384'%20height='216'%20fill='%2359BB99'/%3e%3ccircle%20cx='-7'%20cy='184'%20r='87'%20fill='url(%23paint0_radial_11648_9381)'/%3e%3ccircle%20cx='368'%20cy='33'%20r='87'%20fill='url(%23paint1_radial_11648_9381)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M136%2078C141.959%2078%20146.986%2081.9942%20148.548%2087.4516C154.006%2089.014%20158%2094.0405%20158%2099.9999C158%20105.959%20154.006%20110.986%20148.548%20112.548C146.986%20118.006%20141.959%20122%20136%20122C130.04%20122%20125.014%20118.006%20123.452%20112.548C117.994%20110.986%20114%20105.959%20114%2099.9999C114%2094.0406%20117.994%2089.0142%20123.452%2087.4517C125.014%2081.9943%20130.04%2078%20136%2078Z'%20fill='%23F7CFDB'/%3e%3cpath%20d='M139.954%2095.3616C139.923%2097.884%20135.962%2097.5421%20134.7%2097.5267L134.755%2093.063C136.016%2093.0784%20139.985%2092.7277%20139.954%2095.3616ZM140.906%20102.316C140.874%20105.09%20136.128%20104.716%20134.611%20104.698L134.688%2099.7811C136.2%2099.8017%20140.958%2099.4226%20140.922%20102.32L140.906%20102.316ZM144.148%2094.4178C143.928%2091.7661%20141.653%2090.8548%20138.771%2090.5621L138.816%2086.8898L136.578%2086.8608L136.533%2090.4382C135.948%2090.4302%20135.347%2090.4347%20134.75%2090.4401L134.775%2086.845L132.543%2086.8093L132.499%2090.4777C132.013%2090.4841%20131.538%2090.4848%20131.075%2090.4809L127.993%2090.4406L127.964%2092.8313C127.964%2092.8313%20129.621%2092.8205%20129.584%2092.8518C130.21%2092.7802%20130.777%2093.2229%20130.86%2093.8471L130.822%2098.0175C130.901%2098.0184%20130.979%2098.0242%20131.057%2098.035L130.822%2098.034L130.737%20103.891C130.7%20104.329%20130.317%20104.655%20129.88%20104.621C129.914%20104.63%20128.256%20104.6%20128.256%20104.6L127.778%20107.263L130.688%20107.298L132.289%20107.314L132.246%20111.024L134.48%20111.052L134.512%20107.397C135.106%20107.419%20135.702%20107.43%20136.296%20107.436L136.25%20111.096L138.484%20111.124L138.535%20107.416C142.302%20107.247%20144.938%20106.332%20145.307%20102.809C145.601%2099.9679%20144.29%2098.6862%20142.168%2098.1466C143.474%2097.504%20144.303%2096.3533%20144.132%2094.4136L144.148%2094.4178Z'%20fill='%23DB6A93'/%3e%3cpath%20d='M170%2098.8577C170%2094.4242%20172.859%2090.9544%20177.421%2090.9544C179.959%2090.9544%20181.919%2092.111%20182.915%2094.0708L183.14%2091.4042H185.839V106.472C185.839%20111.42%20182.787%20114.568%20177.968%20114.568C173.695%20114.568%20170.771%20112.158%20170.193%20108.175H173.213C173.598%20110.488%20175.333%20111.837%20177.968%20111.837C180.923%20111.837%20182.851%20109.91%20182.851%20106.922V103.773C181.823%20105.604%20179.767%20106.697%20177.293%20106.697C172.827%20106.697%20170%20103.259%20170%2098.8577ZM173.02%2098.7935C173.02%20101.749%20174.851%20104.062%20177.807%20104.062C180.859%20104.062%20182.722%20101.878%20182.722%2098.7935C182.722%2095.7735%20180.923%2093.5889%20177.839%2093.5889C174.819%2093.5889%20173.02%2095.902%20173.02%2098.7935Z'%20fill='white'/%3e%3cpath%20d='M194.791%20107.5C191.418%20107.5%20189.426%20105.604%20189.426%20102.745C189.426%2099.8537%20191.579%2098.0545%20195.273%2097.7654L200.221%2097.3799V96.9301C200.221%2094.2957%20198.647%2093.364%20196.526%2093.364C193.988%2093.364%20192.542%2094.4884%20192.542%2096.3839H189.908C189.908%2093.1069%20192.607%2090.9544%20196.655%2090.9544C200.542%2090.9544%20203.176%2093.0106%20203.176%2097.2514V107.114H200.606L200.285%20104.576C199.482%20106.376%20197.329%20107.5%20194.791%20107.5ZM195.659%20105.155C198.518%20105.155%20200.253%20103.291%20200.253%20100.336V99.5003L196.237%2099.8216C193.57%20100.079%20192.478%20101.107%20192.478%20102.649C192.478%20104.319%20193.699%20105.155%20195.659%20105.155Z'%20fill='white'/%3e%3cpath%20d='M216.354%2091.2757V94.0386H215.005C212.146%2094.0386%20210.379%2095.7735%20210.379%2098.7935V107.114H207.359V91.4363H210.186L210.379%2093.8137C211.021%2092.1753%20212.596%2091.0829%20214.748%2091.0829C215.294%2091.0829%20215.744%2091.1472%20216.354%2091.2757Z'%20fill='white'/%3e%3cpath%20d='M224.919%20107.5C220.357%20107.5%20217.594%20104.094%20217.594%2099.3075C217.594%2094.4884%20220.389%2090.9544%20225.048%2090.9544C227.457%2090.9544%20229.481%2092.0146%20230.541%2093.9423V83.4688H233.529V107.114H230.831L230.574%20104.255C229.545%20106.408%20227.425%20107.5%20224.919%20107.5ZM225.53%20104.769C228.614%20104.769%20230.509%20102.488%20230.509%2099.2111C230.509%2095.9984%20228.614%2093.6852%20225.53%2093.6852C222.445%2093.6852%20220.646%2095.9984%20220.646%2099.2111C220.646%20102.456%20222.445%20104.769%20225.53%20104.769Z'%20fill='white'/%3e%3cpath%20d='M244.665%20107.5C240.039%20107.5%20236.858%20104.159%20236.858%2099.2754C236.858%2094.3599%20239.974%2090.9544%20244.536%2090.9544C249.002%2090.9544%20251.926%2094.0386%20251.926%2098.6971V99.8216L239.782%2099.8537C240.006%20103.163%20241.741%20104.994%20244.729%20104.994C247.074%20104.994%20248.617%20104.03%20249.131%20102.231H251.958C251.187%20105.604%20248.552%20107.5%20244.665%20107.5ZM244.536%2093.4925C241.902%2093.4925%20240.231%2095.0667%20239.846%2097.8297H248.906C248.906%2095.2273%20247.203%2093.4925%20244.536%2093.4925Z'%20fill='white'/%3e%3cpath%20d='M258.319%20107.114H255.299V91.4042H258.03L258.351%2093.8137C259.347%2092.0146%20261.339%2090.9544%20263.555%2090.9544C267.7%2090.9544%20269.595%2093.4925%20269.595%2097.5084V107.114H266.575V98.1831C266.575%2095.0025%20265.098%2093.7174%20262.784%2093.7174C259.957%2093.7174%20258.319%2095.7414%20258.319%2098.7935V107.114Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(-7%20184)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cradialGradient%20id='paint1_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(368%2033)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_11648_9381'%3e%3crect%20width='384'%20height='216'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",BlogCard=({thumbnail:e,category:t,date:i,title:n,className:s,thumbnailClassName:a})=>{const[o,l]=React.useState(!1),[c,u]=React.useState(e??placeholderUrl);React.useEffect(()=>{u(e??placeholderUrl)},[e]);const f=()=>{u(placeholderUrl)};return jsxRuntime.jsx(Opacity,{level:"semi-dark",className:"gf-rounded-2xl h-full",children:jsxRuntime.jsxs("div",{className:cn(s,"gf-overflow-hidden gf-rounded-2xl"),children:[jsxRuntime.jsx("div",{className:cn(a,`${o?"":"gf-filter gf-blur-md"}`),children:jsxRuntime.jsx(buildExports.LazyLoadImage,{alt:n,effect:"blur",src:c,onLoad:()=>l(!0),onError:f})}),jsxRuntime.jsxs("div",{className:"gf-px-4 gf-pt-4 gf-pb-5 gf-md:px-5 gf-md:pb-11",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-between gf-mb-3",children:[jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",className:"gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",children:t}),jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",className:"gf-px-3 gf-py-1",children:i})]}),jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",children:n})]})]})})},questCardStyles=cva(["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],{variants:{variant:{locked:"gf-bg-white gf-bg-opacity-25",default:"gf-bg-white gf-bg-opacity-50"}},defaultVariants:{variant:"locked"}}),QuestCard=({variant:e,title:t,description:i,chipContent:n,logo:s})=>jsxRuntime.jsxs("div",{className:cn(questCardStyles({variant:e})),children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-between gf-items-center gf-mb-4",children:[jsxRuntime.jsxs(Chip,{className:"gf-cursor-pointer gf-px-2 gf-py-1",children:[jsxRuntime.jsx(Chip.Logo,{children:s}),t,jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),e==="default"?jsxRuntime.jsx(OpenInFullIcon,{className:"gf-cursor-pointer",height:"20px",width:"20px"}):jsxRuntime.jsx(LockIcon,{className:"gf-cursor-pointer",height:"20px",width:"20px"})]}),jsxRuntime.jsx("div",{className:"gf-mb-3 md:gf-mb-8",children:jsxRuntime.jsx(Typography,{size:"h3",weight:"medium",children:i})}),jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-end gf-space-x-2",children:[jsxRuntime.jsxs(Chip,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:"Quest Access"}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),jsxRuntime.jsxs(Chip,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:n}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]})]})]});var lottie$1={exports:{}};(function(module,exports){typeof navigator<"u"&&function(e,t){module.exports=t()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var i,n=e.length,s;for(i=0;i<n;i+=1){s=e[i].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t.prototype[a]=s[a])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(i){this.audios.push(i)},pause:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].pause()},resume:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].resume()},setRate:function(i){var n,s=this.audios.length;for(n=0;n<s;n+=1)this.audios[n].setRate(i)},createAudio:function(i){return this.audioFactory?this.audioFactory(i):window.Howl?new window.Howl({src:[i]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(i){this.audioFactory=i},setVolume:function(i){this._volume=i,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(i,n){var s=0,a=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(s=0;s<n;s+=1)a.push(o);return a}function t(i,n){return i==="float32"?new Float32Array(n):i==="int16"?new Int16Array(n):i==="uint8c"?new Uint8ClampedArray(n):e(i,n)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(i){return typeof i}:_typeof$6=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],t,i=e.length;for(t=0;t<i;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var i=createSizedArray(e.length),n,s=e.length;for(n=0;n<s;n+=1)i[n]=Math.abs(e[n]);return i}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,i,n){this.type=e,this.currentTime=t,this.totalTime=i,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,i,n){this.type=e,this.currentLoop=i,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,i){this.type=e,this.firstFrame=t,this.totalFrames=i}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}}();function HSVtoRGB(e,t,i){var n,s,a,o,l,c,u,f;switch(o=Math.floor(e*6),l=e*6-o,c=i*(1-t),u=i*(1-l*t),f=i*(1-(1-l)*t),o%6){case 0:n=i,s=f,a=c;break;case 1:n=u,s=i,a=c;break;case 2:n=c,s=i,a=f;break;case 3:n=c,s=u,a=i;break;case 4:n=f,s=c,a=i;break;case 5:n=i,s=c,a=u;break}return[n,s,a]}function RGBtoHSV(e,t,i){var n=Math.max(e,t,i),s=Math.min(e,t,i),a=n-s,o,l=n===0?0:a/n,c=n/255;switch(n){case s:o=0;break;case e:o=t-i+a*(t<i?6:0),o/=6*a;break;case t:o=i-e+a*2,o/=6*a;break;case i:o=e-t+a*4,o/=6*a;break}return[o,l,c]}function addSaturationToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[1]+=t,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[2]+=t,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[0]+=t/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var e=[],t,i;for(t=0;t<256;t+=1)i=t.toString(16),e[t]=i.length===1?"0"+i:i;return function(n,s,a){return n<0&&(n=0),s<0&&(s=0),a<0&&(a=0),"#"+e[n]+e[s]+e[a]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(i){return typeof i}:_typeof$5=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$5(e)}var dataManager=function(){var e=1,t=[],i,n,s={onmessage:function(){},postMessage:function(b){i({data:b})}},a={postMessage:function(b){s.onmessage({data:b})}};function o(p){if(window.Worker&&window.Blob&&getWebWorker()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",p.toString()],{type:"text/javascript"}),y=URL.createObjectURL(b);return new Worker(y)}return i=p,s}function l(){n||(n=o(function(b){function y(){function P(B,A){var V,R,M=B.length,I,j,W,q;for(R=0;R<M;R+=1)if(V=B[R],"ks"in V&&!V.completed){if(V.completed=!0,V.hasMask){var X=V.masksProperties;for(j=X.length,I=0;I<j;I+=1)if(X[I].pt.k.i)E(X[I].pt.k);else for(q=X[I].pt.k.length,W=0;W<q;W+=1)X[I].pt.k[W].s&&E(X[I].pt.k[W].s[0]),X[I].pt.k[W].e&&E(X[I].pt.k[W].e[0])}V.ty===0?(V.layers=g(V.refId,A),P(V.layers,A)):V.ty===4?S(V.shapes):V.ty===5&&N(V)}}function m(B,A){if(B){var V=0,R=B.length;for(V=0;V<R;V+=1)B[V].t===1&&(B[V].data.layers=g(B[V].data.refId,A),P(B[V].data.layers,A))}}function x(B,A){for(var V=0,R=A.length;V<R;){if(A[V].id===B)return A[V];V+=1}return null}function g(B,A){var V=x(B,A);return V?V.layers.__used?JSON.parse(JSON.stringify(V.layers)):(V.layers.__used=!0,V.layers):null}function S(B){var A,V=B.length,R,M;for(A=V-1;A>=0;A-=1)if(B[A].ty==="sh")if(B[A].ks.k.i)E(B[A].ks.k);else for(M=B[A].ks.k.length,R=0;R<M;R+=1)B[A].ks.k[R].s&&E(B[A].ks.k[R].s[0]),B[A].ks.k[R].e&&E(B[A].ks.k[R].e[0]);else B[A].ty==="gr"&&S(B[A].it)}function E(B){var A,V=B.i.length;for(A=0;A<V;A+=1)B.i[A][0]+=B.v[A][0],B.i[A][1]+=B.v[A][1],B.o[A][0]+=B.v[A][0],B.o[A][1]+=B.v[A][1]}function T(B,A){var V=A?A.split("."):[100,100,100];return B[0]>V[0]?!0:V[0]>B[0]?!1:B[1]>V[1]?!0:V[1]>B[1]?!1:B[2]>V[2]?!0:V[2]>B[2]?!1:null}var L=function(){var B=[4,4,14];function A(R){var M=R.t.d;R.t.d={k:[{s:M,t:0}]}}function V(R){var M,I=R.length;for(M=0;M<I;M+=1)R[M].ty===5&&A(R[M])}return function(R){if(T(B,R.v)&&(V(R.layers),R.assets)){var M,I=R.assets.length;for(M=0;M<I;M+=1)R.assets[M].layers&&V(R.assets[M].layers)}}}(),_=function(){var B=[4,7,99];return function(A){if(A.chars&&!T(B,A.v)){var V,R=A.chars.length;for(V=0;V<R;V+=1){var M=A.chars[V];M.data&&M.data.shapes&&(S(M.data.shapes),M.data.ip=0,M.data.op=99999,M.data.st=0,M.data.sr=1,M.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},A.chars[V].t||(M.data.shapes.push({ty:"no"}),M.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"})))}}}}(),k=function(){var B=[5,7,15];function A(R){var M=R.t.p;typeof M.a=="number"&&(M.a={a:0,k:M.a}),typeof M.p=="number"&&(M.p={a:0,k:M.p}),typeof M.r=="number"&&(M.r={a:0,k:M.r})}function V(R){var M,I=R.length;for(M=0;M<I;M+=1)R[M].ty===5&&A(R[M])}return function(R){if(T(B,R.v)&&(V(R.layers),R.assets)){var M,I=R.assets.length;for(M=0;M<I;M+=1)R.assets[M].layers&&V(R.assets[M].layers)}}}(),$=function(){var B=[4,1,9];function A(R){var M,I=R.length,j,W;for(M=0;M<I;M+=1)if(R[M].ty==="gr")A(R[M].it);else if(R[M].ty==="fl"||R[M].ty==="st")if(R[M].c.k&&R[M].c.k[0].i)for(W=R[M].c.k.length,j=0;j<W;j+=1)R[M].c.k[j].s&&(R[M].c.k[j].s[0]/=255,R[M].c.k[j].s[1]/=255,R[M].c.k[j].s[2]/=255,R[M].c.k[j].s[3]/=255),R[M].c.k[j].e&&(R[M].c.k[j].e[0]/=255,R[M].c.k[j].e[1]/=255,R[M].c.k[j].e[2]/=255,R[M].c.k[j].e[3]/=255);else R[M].c.k[0]/=255,R[M].c.k[1]/=255,R[M].c.k[2]/=255,R[M].c.k[3]/=255}function V(R){var M,I=R.length;for(M=0;M<I;M+=1)R[M].ty===4&&A(R[M].shapes)}return function(R){if(T(B,R.v)&&(V(R.layers),R.assets)){var M,I=R.assets.length;for(M=0;M<I;M+=1)R.assets[M].layers&&V(R.assets[M].layers)}}}(),z=function(){var B=[4,4,18];function A(R){var M,I=R.length,j,W;for(M=I-1;M>=0;M-=1)if(R[M].ty==="sh")if(R[M].ks.k.i)R[M].ks.k.c=R[M].closed;else for(W=R[M].ks.k.length,j=0;j<W;j+=1)R[M].ks.k[j].s&&(R[M].ks.k[j].s[0].c=R[M].closed),R[M].ks.k[j].e&&(R[M].ks.k[j].e[0].c=R[M].closed);else R[M].ty==="gr"&&A(R[M].it)}function V(R){var M,I,j=R.length,W,q,X,ee;for(I=0;I<j;I+=1){if(M=R[I],M.hasMask){var re=M.masksProperties;for(q=re.length,W=0;W<q;W+=1)if(re[W].pt.k.i)re[W].pt.k.c=re[W].cl;else for(ee=re[W].pt.k.length,X=0;X<ee;X+=1)re[W].pt.k[X].s&&(re[W].pt.k[X].s[0].c=re[W].cl),re[W].pt.k[X].e&&(re[W].pt.k[X].e[0].c=re[W].cl)}M.ty===4&&A(M.shapes)}}return function(R){if(T(B,R.v)&&(V(R.layers),R.assets)){var M,I=R.assets.length;for(M=0;M<I;M+=1)R.assets[M].layers&&V(R.assets[M].layers)}}}();function O(B){B.__complete||($(B),L(B),_(B),k(B),z(B),P(B.layers,B.assets),m(B.chars,B.assets),B.__complete=!0)}function N(B){B.t.a.length===0&&"m"in B.t.p}var K={};return K.completeData=O,K.checkColors=$,K.checkChars=_,K.checkPathProperties=k,K.checkShapes=z,K.completeLayers=P,K}if(a.dataManager||(a.dataManager=y()),a.assetLoader||(a.assetLoader=function(){function P(x){var g=x.getResponseHeader("content-type");return g&&x.responseType==="json"&&g.indexOf("json")!==-1||x.response&&_typeof$5(x.response)==="object"?x.response:x.response&&typeof x.response=="string"?JSON.parse(x.response):x.responseText?JSON.parse(x.responseText):null}function m(x,g,S,E){var T,L=new XMLHttpRequest;try{L.responseType="json"}catch{}L.onreadystatechange=function(){if(L.readyState===4)if(L.status===200)T=P(L),S(T);else try{T=P(L),S(T)}catch(_){E&&E(_)}};try{L.open(["G","E","T"].join(""),x,!0)}catch{L.open(["G","E","T"].join(""),g+"/"+x,!0)}L.send()}return{load:m}}()),b.data.type==="loadAnimation")a.assetLoader.load(b.data.path,b.data.fullPath,function(P){a.dataManager.completeData(P),a.postMessage({id:b.data.id,payload:P,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})});else if(b.data.type==="complete"){var C=b.data.animation;a.dataManager.completeData(C),a.postMessage({id:b.data.id,payload:C,status:"success"})}else b.data.type==="loadData"&&a.assetLoader.load(b.data.path,b.data.fullPath,function(P){a.postMessage({id:b.data.id,payload:P,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})})}),n.onmessage=function(p){var b=p.data,y=b.id,C=t[y];t[y]=null,b.status==="success"?C.onComplete(b.payload):C.onError&&C.onError()})}function c(p,b){e+=1;var y="processId_"+e;return t[y]={onComplete:p,onError:b},y}function u(p,b,y){l();var C=c(b,y);n.postMessage({type:"loadAnimation",path:p,fullPath:window.location.origin+window.location.pathname,id:C})}function f(p,b,y){l();var C=c(b,y);n.postMessage({type:"loadData",path:p,fullPath:window.location.origin+window.location.pathname,id:C})}function d(p,b,y){l();var C=c(b,y);n.postMessage({type:"complete",animation:p,id:C})}return{loadAnimation:u,loadData:f,completeAnimation:d}}(),ImagePreloader=function(){var e=function(){var m=createTag("canvas");m.width=1,m.height=1;var x=m.getContext("2d");return x.fillStyle="rgba(0,0,0,0)",x.fillRect(0,0,1,1),m}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(m,x,g){var S="";if(m.e)S=m.p;else if(x){var E=m.p;E.indexOf("images/")!==-1&&(E=E.split("/")[1]),S=x+E}else S=g,S+=m.u?m.u:"",S+=m.p;return S}function s(m){var x=0,g=setInterval((function(){var S=m.getBBox();(S.width||x>500)&&(this._imageLoaded(),clearInterval(g)),x+=1}).bind(this),50)}function a(m){var x=n(m,this.assetsPath,this.path),g=createNS("image");isSafari?this.testImageLoaded(g):g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),g.setAttributeNS("http://www.w3.org/1999/xlink","href",x),this._elementHelper.append?this._elementHelper.append(g):this._elementHelper.appendChild(g);var S={img:g,assetData:m};return S}function o(m){var x=n(m,this.assetsPath,this.path),g=createTag("img");g.crossOrigin="anonymous",g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),g.src=x;var S={img:g,assetData:m};return S}function l(m){var x={assetData:m},g=n(m,this.assetsPath,this.path);return dataManager.loadData(g,(function(S){x.img=S,this._footageLoaded()}).bind(this),(function(){x.img={},this._footageLoaded()}).bind(this)),x}function c(m,x){this.imagesLoadedCb=x;var g,S=m.length;for(g=0;g<S;g+=1)m[g].layers||(!m[g].t||m[g].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(m[g]))):m[g].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(m[g]))))}function u(m){this.path=m||""}function f(m){this.assetsPath=m||""}function d(m){for(var x=0,g=this.images.length;x<g;){if(this.images[x].assetData===m)return this.images[x].img;x+=1}return null}function p(){this.imagesLoadedCb=null,this.images.length=0}function b(){return this.totalImages===this.loadedAssets}function y(){return this.totalFootages===this.loadedFootagesCount}function C(m,x){m==="svg"?(this._elementHelper=x,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function P(){this._imageLoaded=t.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=l.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return P.prototype={loadAssets:c,setAssetsPath:f,setPath:u,loadedImages:b,loadedFootages:y,destroy:p,getAsset:d,createImgData:o,createImageData:a,imageLoaded:t,footageLoaded:i,setCacheType:C},P}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,i){if(this._cbs[t])for(var n=this._cbs[t],s=0;s<n.length;s+=1)n[s](i)},addEventListener:function(t,i){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(i),(function(){this.removeEventListener(t,i)}).bind(this)},removeEventListener:function(t,i){if(!i)this._cbs[t]=null;else if(this._cbs[t]){for(var n=0,s=this._cbs[t].length;n<s;)this._cbs[t][n]===i&&(this._cbs[t].splice(n,1),n-=1,s-=1),n+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var i=t.split(`\r
65
+ `),()=>{document.head.removeChild(f)}},[t]),jsxRuntime.jsx(PopChildMeasure,{isPresent:t,childRef:n,sizeRef:s,children:React__namespace.cloneElement(e,{ref:n})})}const PresenceChild=({children:e,initial:t,isPresent:i,onExitComplete:n,custom:s,presenceAffectsLayout:a,mode:o})=>{const l=useConstant(newChildrenMap),c=React.useId(),u=React.useMemo(()=>({id:c,initial:t,isPresent:i,custom:s,onExitComplete:f=>{l.set(f,!0);for(const d of l.values())if(!d)return;n&&n()},register:f=>(l.set(f,!1),()=>l.delete(f))}),a?[Math.random()]:[i]);return React.useMemo(()=>{l.forEach((f,d)=>l.set(d,!1))},[i]),React__namespace.useEffect(()=>{!i&&!l.size&&n&&n()},[i]),o==="popLayout"&&(e=jsxRuntime.jsx(PopChild,{isPresent:i,children:e})),jsxRuntime.jsx(PresenceContext.Provider,{value:u,children:e})};function newChildrenMap(){return new Map}const getChildKey=e=>e.key||"";function onlyElements(e){const t=[];return React.Children.forEach(e,i=>{React.isValidElement(i)&&t.push(i)}),t}const AnimatePresence=({children:e,exitBeforeEnter:t,custom:i,initial:n=!0,onExitComplete:s,presenceAffectsLayout:a=!0,mode:o="sync"})=>{invariant(!t,"Replace exitBeforeEnter with mode='wait'");const l=React.useMemo(()=>onlyElements(e),[e]),c=l.map(getChildKey),u=React.useRef(!0),f=React.useRef(l),d=useConstant(()=>new Map),[p,b]=React.useState(l),[y,C]=React.useState(l);useIsomorphicLayoutEffect(()=>{u.current=!1,f.current=l;for(let x=0;x<y.length;x++){const g=getChildKey(y[x]);c.includes(g)?d.delete(g):d.get(g)!==!0&&d.set(g,!1)}},[y,c.length,c.join("-")]);const P=[];if(l!==p){let x=[...l];for(let g=0;g<y.length;g++){const S=y[g],E=getChildKey(S);c.includes(E)||(x.splice(g,0,S),P.push(S))}o==="wait"&&P.length&&(x=P),C(onlyElements(x)),b(l);return}process.env.NODE_ENV!=="production"&&o==="wait"&&y.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:m}=React.useContext(LayoutGroupContext);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:y.map(x=>{const g=getChildKey(x),S=l===y||c.includes(g),E=()=>{if(d.has(g))d.set(g,!0);else return;let T=!0;d.forEach(L=>{L||(T=!1)}),T&&(m==null||m(),C(f.current),s&&s())};return jsxRuntime.jsx(PresenceChild,{isPresent:S,initial:!u.current||n?void 0:!1,custom:S?void 0:i,presenceAffectsLayout:a,mode:o,onExitComplete:S?void 0:E,children:x},g)})})};function useMotionValue(e){const t=useConstant(()=>motionValue(e)),{isStatic:i}=React.useContext(MotionConfigContext);if(i){const[,n]=React.useState(e);React.useEffect(()=>t.on("change",n),[])}return t}function useCombineMotionValues(e,t){const i=useMotionValue(t()),n=()=>i.set(t());return n(),useIsomorphicLayoutEffect(()=>{const s=()=>frame.preRender(n,!1,!0),a=e.map(o=>o.on("change",s));return()=>{a.forEach(o=>o()),cancelFrame(n)}}),i}const isCustomValueType=e=>e&&typeof e=="object"&&e.mix,getMixer=e=>isCustomValueType(e)?e.mix:void 0;function transform(...e){const t=!Array.isArray(e[0]),i=t?0:-1,n=e[0+i],s=e[1+i],a=e[2+i],o=e[3+i],l=interpolate(s,a,{mixer:getMixer(a[0]),...o});return t?l(n):l}function useComputed(e){collectMotionValues.current=[],e();const t=useCombineMotionValues(collectMotionValues.current,e);return collectMotionValues.current=void 0,t}function useTransform(e,t,i,n){if(typeof e=="function")return useComputed(e);const s=typeof t=="function"?t:transform(t,i,n);return Array.isArray(e)?useListTransform(e,s):useListTransform([e],([a])=>s(a))}function useListTransform(e,t){const i=useConstant(()=>[]);return useCombineMotionValues(e,()=>{i.length=0;const n=e.length;for(let s=0;s<n;s++)i[s]=e[s].get();return t(i)})}function resolveElements(e,t,i){var n;if(typeof e=="string"){let s=document;t&&(invariant(!!t.current,"Scope provided, but no element detected."),s=t.current),i?((n=i[e])!==null&&n!==void 0||(i[e]=s.querySelectorAll(e)),e=i[e]):e=s.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}function useUnmountEffect(e){return React.useEffect(()=>()=>e(),[])}function isDOMKeyframes(e){return typeof e=="object"&&!Array.isArray(e)}function createVisualElement(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=isSVGElement(e)?new SVGVisualElement(t):new HTMLVisualElement(t);i.mount(e),visualElementStore.set(e,i)}function createGeneratorEasing(e,t=100){const i=spring({keyframes:[0,t],...e}),n=Math.min(calcGeneratorDuration(i),maxGeneratorDuration);return{type:"keyframes",ease:s=>i.next(n*s).value/t,duration:millisecondsToSeconds(n)}}function calcNextTime(e,t,i,n){var s;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?i:(s=n.get(t))!==null&&s!==void 0?s:e}const wrap=(e,t,i)=>{const n=t-e;return((i-e)%n+n)%n+e};function getEasingForSegment(e,t){return isEasingArray(e)?e[wrap(0,e.length,t)]:e}function eraseKeyframes(e,t,i){for(let n=0;n<e.length;n++){const s=e[n];s.at>t&&s.at<i&&(removeItem(e,s),n--)}}function addKeyframes(e,t,i,n,s,a){eraseKeyframes(e,s,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:mixNumber$1(s,a,n[o]),easing:getEasingForSegment(i,o)})}function compareByTime(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const defaultSegmentEasing="easeInOut";function createAnimationsFromSequence(e,{defaultTransition:t={},...i}={},n){const s=t.duration||.3,a=new Map,o=new Map,l={},c=new Map;let u=0,f=0,d=0;for(let p=0;p<e.length;p++){const b=e[p];if(typeof b=="string"){c.set(b,f);continue}else if(!Array.isArray(b)){c.set(b.name,calcNextTime(f,b.at,u,c));continue}let[y,C,P={}]=b;P.at!==void 0&&(f=calcNextTime(f,P.at,u,c));let m=0;const x=(g,S,E,T=0,L=0)=>{const _=keyframesAsList(g),{delay:k=0,times:$=defaultOffset(_),type:z="keyframes",...O}=S;let{ease:N=t.ease||"easeOut",duration:K}=S;const B=typeof k=="function"?k(T,L):k,A=_.length;if(A<=2&&z==="spring"){let I=100;if(A===2&&isNumberKeyframesArray(_)){const q=_[1]-_[0];I=Math.abs(q)}const j={...O};K!==void 0&&(j.duration=secondsToMilliseconds(K));const W=createGeneratorEasing(j,I);N=W.ease,K=W.duration}K??(K=s);const V=f+B,R=V+K;$.length===1&&$[0]===0&&($[1]=1);const M=$.length-_.length;M>0&&fillOffset($,M),_.length===1&&_.unshift(null),addKeyframes(E,_,N,$,V,R),m=Math.max(B+K,m),d=Math.max(R,d)};if(isMotionValue(y)){const g=getSubjectSequence(y,o);x(C,P,getValueSequence("default",g))}else{const g=resolveElements(y,n,l),S=g.length;for(let E=0;E<S;E++){C=C,P=P;const T=g[E],L=getSubjectSequence(T,o);for(const _ in C)x(C[_],getValueTransition(P,_),getValueSequence(_,L),E,S)}}u=f,f+=m}return o.forEach((p,b)=>{for(const y in p){const C=p[y];C.sort(compareByTime);const P=[],m=[],x=[];for(let S=0;S<C.length;S++){const{at:E,value:T,easing:L}=C[S];P.push(T),m.push(progress(0,d,E)),x.push(L||"easeOut")}m[0]!==0&&(m.unshift(0),P.unshift(P[0]),x.unshift(defaultSegmentEasing)),m[m.length-1]!==1&&(m.push(1),P.push(null)),a.has(b)||a.set(b,{keyframes:{},transition:{}});const g=a.get(b);g.keyframes[y]=P,g.transition[y]={...t,duration:d,ease:x,times:m,...i}}}),a}function getSubjectSequence(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function getValueSequence(e,t){return t[e]||(t[e]=[]),t[e]}function keyframesAsList(e){return Array.isArray(e)?e:[e]}function getValueTransition(e,t){return e[t]?{...e,...e[t]}:{...e}}const isNumber=e=>typeof e=="number",isNumberKeyframesArray=e=>e.every(isNumber);function animateElements(e,t,i,n){const s=resolveElements(e,n),a=s.length;invariant(!!a,"No valid element provided.");const o=[];for(let l=0;l<a;l++){const c=s[l];visualElementStore.has(c)||createVisualElement(c);const u=visualElementStore.get(c),f={...i};typeof f.delay=="function"&&(f.delay=f.delay(l,a)),o.push(...animateTarget(u,{...t,transition:f},{}))}return new GroupPlaybackControls(o)}const isSequence=e=>Array.isArray(e)&&Array.isArray(e[0]);function animateSequence(e,t,i){const n=[];return createAnimationsFromSequence(e,t,i).forEach(({keyframes:a,transition:o},l)=>{let c;isMotionValue(l)?c=animateSingleValue(l,a.default,o.default):c=animateElements(l,a,o),n.push(c)}),new GroupPlaybackControls(n)}const createScopedAnimate=e=>{function t(i,n,s){let a;return isSequence(i)?a=animateSequence(i,n,e):isDOMKeyframes(n)?a=animateElements(i,n,s,e):a=animateSingleValue(i,n,s),e&&e.animations.push(a),a}return t};function useAnimate(){const e=useConstant(()=>({current:null,animations:[]})),t=useConstant(()=>createScopedAnimate(e));return useUnmountEffect(()=>{e.animations.forEach(i=>i.stop())}),[e,t]}function getOriginIndex(e,t){if(e==="first")return 0;{const i=t-1;return e==="last"?i:i/2}}function stagger(e=.1,{startDelay:t=0,from:i=0,ease:n}={}){return(s,a)=>{const o=typeof i=="number"?i:getOriginIndex(i,a),l=Math.abs(o-s);let c=e*l;if(n){const u=a*e;c=easingDefinitionToFunction(n)(c/u)*u}return t+c}}const FooterBackgroundAnimation=({isMobile:e,isLogoHovered:t,maskUrl:i})=>{const[n]=React.useState("https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"),[s,a]=React.useState("initial"),o=React.useRef(null),l=React.useRef(null),c=useMotionValue(45),u=useTransform(c,f=>`${f}% center`);return React.useEffect(()=>{if(t)a("visible");else{a("exit");const f=setTimeout(()=>{a("initial")},800);return()=>clearTimeout(f)}},[t]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("video",{ref:o,src:n,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-screen gf-object-cover gf-opacity-0"},"video-flowers"),jsxRuntime.jsx(AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(motion.div,{animate:s,variants:{initial:{maskPosition:"45%",opacity:0},visible:{maskPosition:"10%",opacity:1},exit:{maskPosition:"-60%",opacity:0,transition:{duration:1.2,ease:[0,.77,.3,1],opacity:{delay:.4}}}},transition:{duration:1,ease:[.22,.68,.88,.96],delay:.15,opacity:{times:[0,1,1,1]}},style:{maskImage:`linear-gradient(black, black), url('${i}')`,maskComposite:"exclude",maskSize:e?"1200% 200%":"820% 600%",maskPosition:u},className:"gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-full gf-overflow-hidden gf-opacity-0",children:jsxRuntime.jsx("video",{ref:l,src:n,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"metadata",playsInline:!0,className:"gf-pointer-events-none gf-h-full gf-w-screen gf-object-cover",onCanPlayThrough:()=>{l.current&&l.current.play().catch(console.error)},onLoadStart:()=>{l.current&&l.current.play().catch(console.error)}},"video-flowers-animated")},"hovered")})]})},ScaleY=({children:e,triggerAnimation:t})=>{const i={animation:{scaleY:[0,1],opacity:[0,1],transition:{duration:.5,ease:cubicBezier(.84,0,.16,1),opacity:{duration:.2,ease:"easeInOut"},once:!0}},idle:{scaleY:1,opacity:1}};return jsxRuntime.jsx(motion.div,{animate:t?"animation":"idle",variants:i,style:{transformOrigin:"bottom"},children:e})},Shine=({children:e})=>jsxRuntime.jsx(motion.div,{className:"gf-relative gf-inline-block gf-overflow-hidden gf-rounded-xl gf-w-[300px] before:gf-z-50 before:gf-absolute before:gf-bg-gradient-to-r before:gf-from-transparent before:gf-via-white/50 before:gf-via-50% before:gf-to-transparent before:gf-top-0 before:gf-left-0 before:gf-w-[168px] before:gf-h-full before:gf-animate-shine before:gf-opacity-0",children:e}),RollingText=React.forwardRef(({value:e,isHovered:t,className:i,delay:n},s)=>{const a=e.split(""),[o,l]=useAnimate(),c=()=>{l([[".gf-letter",{y:"-100%"},{duration:.5,delay:n?stagger(.014,{startDelay:n}):stagger(.014),ease:[.76,0,.24,1]}]])},u=()=>{l([[".gf-letter",{y:"0%"},{duration:.5,delay:n?stagger(.014,{startDelay:n}):stagger(.014),ease:[.76,0,.24,1]}]])};return React.useImperativeHandle(s,()=>({startAnimation:c,stopAnimation:u})),React.useEffect(()=>{t?c():u()},[t]),React.useEffect(()=>{const f=()=>{t||c()},d=()=>{t||u()},p=o.current;if(p)return p.addEventListener("mouseenter",f),p.addEventListener("mouseleave",d),()=>{p.removeEventListener("mouseenter",f),p.removeEventListener("mouseleave",d)}},[o,t]),jsxRuntime.jsx("div",{ref:o,children:jsxRuntime.jsx("span",{className:cn("gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",i),children:a.map((f,d)=>jsxRuntime.jsx("span",{"data-letter":f,className:"gf-letter gf-relative gf-h-5 gf-whitespace-pre gf-leading-5 after:gf-absolute after:gf-left-0 after:gf-top-full after:gf-h-5 after:gf-leading-5 after:gf-content-[attr(data-letter)]",children:f},`${f}-${d}`))})})});RollingText.displayName="RollingText";const FooterLinks=({title:e,links:t,hoveredIndex:i,onHover:n,className:s="gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:a="gf-flex gf-flex-col gf-gap-1",isRoutes:o=!1})=>jsxRuntime.jsxs("div",{className:s,children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",className:"gf-flex gf-items-center gf-gap-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",children:jsxRuntime.jsx("span",{children:e})}),jsxRuntime.jsx("ul",{className:a,children:Object.values(t).map((l,c)=>l.link&&jsxRuntime.jsx("li",{className:o?"gf-w-fit":"",onMouseEnter:()=>{n==null||n(c)},onMouseLeave:()=>{n==null||n(null)},children:jsxRuntime.jsxs(Typography,{as:"a",href:l.link,target:"_blank",size:"h4",weight:"regular",className:`gf-cursor-pointer gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit ${o?"gf-flex gf-w-fit gf-gap-0.5 gf-items-end gf-transition-colors gf-duration-500 gf-ease-in-out":""}`,children:[l.inputAsset&&jsxRuntime.jsx(RollingText,{delay:.2,value:l.inputAsset||"",isHovered:i===c}),o&&l.inputChain&&jsxRuntime.jsx(RollingText,{delay:.3,className:"gf-text-xs gf-italic gf-translate-y-[0.6px]",value:l.inputChain,isHovered:i===c}),jsxRuntime.jsx(RollingText,{delay:.35,value:l.title,isHovered:i===c}),o&&l.chain&&jsxRuntime.jsx(RollingText,{delay:.5,className:"gf-text-xs gf-italic gf-translate-y-[0.6px] -gf-translate-x-[2px]",value:l.chain,isHovered:i===c})]})},c))})]}),MaskURL="data:image/svg+xml,%3csvg%20width='3956'%20height='906'%20viewBox='0%200%203956%20906'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='3956'%20height='906'%20fill='url(%23paint0_linear_579_2)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_579_2'%20x1='1465.5'%20y1='731.406'%20x2='2604.91'%20y2='227.235'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0'/%3e%3cstop%20offset='0.115385'/%3e%3cstop%20offset='0.88'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Footer=({className:e,network:t="mainnet",maskUrl:i=MaskURL,...n})=>{const[s,a]=React.useState(!1),[o,l]=React.useState(null),c=useClientOnly(),u=React.useRef(null);React.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const f=t&&t==="testnet"?"https://testnet.garden.finance":"https://app.garden.finance",d="https://garden.finance",p={Products:{swap:{title:"Swap",link:t&&t==="testnet"?`${f}/?input-chain=bitcoin_testnet&input-asset=BTC`:`${f}/?input-chain=bitcoin&input-asset=BTC`,isExternal:!0},stake:{title:"Stake",link:t&&t==="testnet"?void 0:`${f}/stake`,isExternal:!0},explorer:{title:"Explorer",link:t&&t==="testnet"?"https://testnet-explorer.garden.finance/":"https://explorer.garden.finance/",isExternal:!0}},Resources:{blog:{title:"Blog",link:`${d}/blog`,isExternal:!0},routes:{title:"Routes",link:`${d}/routes`,isExternal:!0},faq:{title:"FAQs",link:`${d}/faq`,isExternal:!0},brandKit:{title:"Brand kit",link:`${d}/brand-kit`,isExternal:!0},analytics:{title:"Analytics",link:"https://dune.com/garden_finance/gardenfinance",isExternal:!0},Governance:{title:"Governance",link:"https://docs.garden.finance/home/governance",isExternal:!0}},Developers:{docs:{title:"Docs",link:"https://docs.garden.finance/",isExternal:!0},api:{title:"API",link:"https://docs.garden.finance/developers/api/overview",isExternal:!0},sdk:{title:"SDK",link:"https://docs.garden.finance/developers/sdk/overview",isExternal:!0},security:{title:"Security",link:`${d}/security`,isExternal:!0}}},b={btcToSol:{title:"BTC to SOL",link:d+"/routes/bridge-btc-to-sol",chain:"Solana",isExternal:!0},btcToEth:{title:"BTC to ETH",link:d+"/routes/bridge-btc-to-eth",chain:"Ethereum",isExternal:!0},btcToUsdc:{title:"BTC to USDC",link:d+"/routes/bridge-btc-to-usdc-arbitrum",chain:"Arbitrum",isExternal:!0},btctoUsdcEth:{title:"BTC to USDC",link:d+"/routes/bridge-btc-to-usdc-ethereum",chain:"Ethereum",isExternal:!0},btcToWbtc:{title:"BTC to WBTC",link:d+"/routes/bridge-btc-to-wbtc-ethereum",chain:"Ethereum",isExternal:!0},btcTocbBtc:{title:"BTC to cbBTC",link:d+"/routes/bridge-btc-to-cbbtc-base",chain:"Base",isExternal:!0},btcToSui:{title:"BTC to SUI",link:d+"/routes/bridge-btc-to-sui",chain:"Sui",isExternal:!0},btcToBnb:{title:"BTC to BNB",link:d+"/routes/bridge-btc-to-bnb",chain:"BNB Chain",isExternal:!0},btcToMon:{title:"BTC to MON",link:d+"/routes/bridge-btc-to-mon",chain:"Monad",isExternal:!0},cbBtcBaseTocbBtcSolana:{title:" to cbBTC",link:d+"/routes/bridge-cbbtc-base-to-cbbtc-solana",inputAsset:"cbBTC",inputChain:"Base",chain:"Solana",isExternal:!0},usdcBnbToBtc:{title:" to BTC",link:d+"/routes/bridge-usdc-bnb-to-btc",inputAsset:"USDC",inputChain:"BNB Chain",isExternal:!0},btcToUsdtEthereum:{title:" to USDT",link:d+"/routes/bridge-btc-to-usdt-ethereum",inputAsset:"BTC",chain:"Ethereum",isExternal:!0},btcToUsdcSolana:{title:" to USDC",link:d+"/routes/bridge-btc-to-usdc-solana",inputAsset:"BTC",chain:"Solana",isExternal:!0},usdcEthereumToBtc:{title:" to BTC",link:d+"/routes/bridge-usdc-ethereum-to-btc",inputAsset:"USDC",inputChain:"Ethereum",isExternal:!0},solToBtc:{title:" to BTC",link:d+"/routes/bridge-sol-to-btc",inputAsset:"SOL",inputChain:"Solana",isExternal:!0},usdcEthereumToUsdcBase:{title:" to USDC",link:d+"/routes/bridge-usdc-ethereum-to-usdc-base",inputAsset:"USDC",inputChain:"Ethereum",chain:"Base",isExternal:!0}},y={discord:"https://discord.gg/7feudTFMXB",x:"https://x.com/gardenfi"},{Products:C,Resources:P,Developers:m}=p;return jsxRuntime.jsxs("footer",{className:cn("gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",e,s?"gf-text-white":"gf-text-dark-grey"),...n,children:[jsxRuntime.jsxs("div",{className:"gf-z-30 gf-w-full gf-max-w-screen-2xl",children:[jsxRuntime.jsxs("div",{className:"gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-start gf-justify-between gf-gap-8",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6",children:[jsxRuntime.jsx(GardenIcon,{onMouseEnter:()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{a(!0)},300)},onMouseLeave:()=>{u.current&&(clearTimeout(u.current),u.current=null),a(!1)},className:"gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",onClick:x=>x.preventDefault()}),jsxRuntime.jsxs("div",{className:"gf-flex gf-items-center gf-gap-4",children:[jsxRuntime.jsx(XIcon,{onClick:()=>{c&&window.open(y.x,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"}),jsxRuntime.jsx(DiscordIcon,{onClick:()=>{c&&window.open(y.discord,"_blank")},className:"gf-cursor-pointer gf-duration-500 gf-ease-in-out"})]})]}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-max-w-screen-2xl gf-flex-col-reverse gf-items-start gf-justify-between gf-gap-6 md:gf-flex-row",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-flex-col sm:gf-flex-row gf-gap-6 gf-items-start gf-justify-between sm:gf-gap-3 md:gf-w-fit",children:[jsxRuntime.jsx("div",{className:"gf-w-full md:gf-hidden",children:jsxRuntime.jsx(FooterLinks,{title:"Resources",links:P,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-2"})}),jsxRuntime.jsx("div",{className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",children:jsxRuntime.jsx(FooterLinks,{title:"Routes",links:b,hoveredIndex:o,onHover:l,className:"gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-grid gf-w-full gf-grid-cols-1 gf-gap-1 gf-gap-x-8 md:gf-grid-cols-2 md:gf-grid-rows-2",isRoutes:!0})})]}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-full gf-items-start gf-justify-between gf-gap-3 md:gf-w-fit md:gf-gap-16",children:[jsxRuntime.jsx(FooterLinks,{title:"Products",links:C,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"}),jsxRuntime.jsx(FooterLinks,{title:"Developers",links:m,className:"gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",listClassName:"gf-flex gf-flex-col gf-gap-1"}),jsxRuntime.jsx("div",{className:"gf-hidden md:gf-flex",children:jsxRuntime.jsx(FooterLinks,{title:"Resources",links:P,className:"gf-flex gf-w-full gf-flex-col gf-gap-3",listClassName:"gf-flex gf-flex-col gf-gap-1"})})]})]})]}),jsxRuntime.jsxs("div",{className:"gf-relative gf-mt-6 gf-flex gf-w-full gf-max-w-screen-2xl gf-items-center gf-justify-center",children:[jsxRuntime.jsx("div",{className:`gf-absolute gf-left-0 gf-top-0 gf-h-[1px] gf-w-full gf-transition-all gf-duration-500 gf-ease-in-out ${s?"gf-bg-white":"gf-bg-dark-grey"}`}),jsxRuntime.jsxs("div",{className:"gf-z-10 gf-my-6 gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-4",children:[jsxRuntime.jsx("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6",children:jsxRuntime.jsxs(Typography,{size:"h5",className:"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",weight:"regular",children:[jsxRuntime.jsx(CopyrightsIcon,{}),jsxRuntime.jsx("span",{children:"Garden"}),jsxRuntime.jsx("span",{children:"2026"})]})}),jsxRuntime.jsxs("div",{className:"gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6",children:[jsxRuntime.jsx(Typography,{size:"h5",as:"a",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/privacy.pdf",target:"_blank",children:"Privacy Policy"}),jsxRuntime.jsx(Typography,{as:"a",size:"h5",className:"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",weight:"regular",href:"/terms.pdf",target:"_blank",children:"Terms of Service"})]})]})]})]}),jsxRuntime.jsx(FooterBackgroundAnimation,{isMobile:!1,isLogoHovered:s,maskUrl:i})]})};var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var build={exports:{}};(()=>{var e={181:(s,a,o)=>{var l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,d=parseInt,p=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,b=typeof self=="object"&&self&&self.Object===Object&&self,y=p||b||Function("return this")(),C=Object.prototype.toString,P=Math.max,m=Math.min,x=function(){return y.Date.now()};function g(E){var T=typeof E;return!!E&&(T=="object"||T=="function")}function S(E){if(typeof E=="number")return E;if(function(_){return typeof _=="symbol"||function(k){return!!k&&typeof k=="object"}(_)&&C.call(_)=="[object Symbol]"}(E))return NaN;if(g(E)){var T=typeof E.valueOf=="function"?E.valueOf():E;E=g(T)?T+"":T}if(typeof E!="string")return E===0?E:+E;E=E.replace(l,"");var L=u.test(E);return L||f.test(E)?d(E.slice(2),L?2:8):c.test(E)?NaN:+E}s.exports=function(E,T,L){var _,k,$,z,O,N,K=0,B=!1,A=!1,V=!0;if(typeof E!="function")throw new TypeError("Expected a function");function R(q){var X=_,ee=k;return _=k=void 0,K=q,z=E.apply(ee,X)}function M(q){var X=q-N;return N===void 0||X>=T||X<0||A&&q-K>=$}function I(){var q=x();if(M(q))return j(q);O=setTimeout(I,function(X){var ee=T-(X-N);return A?m(ee,$-(X-K)):ee}(q))}function j(q){return O=void 0,V&&_?R(q):(_=k=void 0,z)}function W(){var q=x(),X=M(q);if(_=arguments,k=this,N=q,X){if(O===void 0)return function(ee){return K=ee,O=setTimeout(I,T),B?R(ee):z}(N);if(A)return O=setTimeout(I,T),R(N)}return O===void 0&&(O=setTimeout(I,T)),z}return T=S(T)||0,g(L)&&(B=!!L.leading,$=(A="maxWait"in L)?P(S(L.maxWait)||0,T):$,V="trailing"in L?!!L.trailing:V),W.cancel=function(){O!==void 0&&clearTimeout(O),K=0,_=N=k=O=void 0},W.flush=function(){return O===void 0?z:j(x())},W}},858:(s,a,o)=>{var l="Expected a function",c=NaN,u="[object Symbol]",f=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,y=parseInt,C=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,P=typeof self=="object"&&self&&self.Object===Object&&self,m=C||P||Function("return this")(),x=Object.prototype.toString,g=Math.max,S=Math.min,E=function(){return m.Date.now()};function T(_){var k=typeof _;return!!_&&(k=="object"||k=="function")}function L(_){if(typeof _=="number")return _;if(function(z){return typeof z=="symbol"||function(O){return!!O&&typeof O=="object"}(z)&&x.call(z)==u}(_))return c;if(T(_)){var k=typeof _.valueOf=="function"?_.valueOf():_;_=T(k)?k+"":k}if(typeof _!="string")return _===0?_:+_;_=_.replace(f,"");var $=p.test(_);return $||b.test(_)?y(_.slice(2),$?2:8):d.test(_)?c:+_}s.exports=function(_,k,$){var z=!0,O=!0;if(typeof _!="function")throw new TypeError(l);return T($)&&(z="leading"in $?!!$.leading:z,O="trailing"in $?!!$.trailing:O),function(N,K,B){var A,V,R,M,I,j,W=0,q=!1,X=!1,ee=!0;if(typeof N!="function")throw new TypeError(l);function re(se){var fe=A,ie=V;return A=V=void 0,W=se,M=N.apply(ie,fe)}function ce(se){var fe=se-j;return j===void 0||fe>=K||fe<0||X&&se-W>=R}function he(){var se=E();if(ce(se))return me(se);I=setTimeout(he,function(fe){var ie=K-(fe-j);return X?S(ie,R-(fe-W)):ie}(se))}function me(se){return I=void 0,ee&&A?re(se):(A=V=void 0,M)}function pe(){var se=E(),fe=ce(se);if(A=arguments,V=this,j=se,fe){if(I===void 0)return function(ie){return W=ie,I=setTimeout(he,K),q?re(ie):M}(j);if(X)return I=setTimeout(he,K),re(j)}return I===void 0&&(I=setTimeout(he,K)),M}return K=L(K)||0,T(B)&&(q=!!B.leading,R=(X="maxWait"in B)?g(L(B.maxWait)||0,K):R,ee="trailing"in B?!!B.trailing:ee),pe.cancel=function(){I!==void 0&&clearTimeout(I),W=0,A=j=V=I=void 0},pe.flush=function(){return I===void 0?M:me(E())},pe}(_,k,{leading:z,maxWait:k,trailing:O})}},694:(s,a,o)=>{var l=o(925);function c(){}function u(){}u.resetWarningCache=c,s.exports=function(){function f(b,y,C,P,m,x){if(x!==l){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}function d(){return f}f.isRequired=f;var p={array:f,bigint:f,bool:f,func:f,number:f,object:f,string:f,symbol:f,any:f,arrayOf:d,element:f,elementType:f,instanceOf:d,node:f,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:u,resetWarningCache:c};return p.PropTypes=p,p}},556:(s,a,o)=>{s.exports=o(694)()},925:s=>{s.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function i(s){var a=t[s];if(a!==void 0)return a.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,i),o.exports}i.n=s=>{var a=s&&s.__esModule?()=>s.default:()=>s;return i.d(a,{a}),a},i.d=(s,a)=>{for(var o in a)i.o(a,o)&&!i.o(s,o)&&Object.defineProperty(s,o,{enumerable:!0,get:a[o]})},i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(s,a)=>Object.prototype.hasOwnProperty.call(s,a),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var n={};(()=>{i.r(n),i.d(n,{LazyLoadComponent:()=>Ce,LazyLoadImage:()=>He,trackWindowScroll:()=>q});const s=React;var a=i.n(s),o=i(556);function l(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function c(U){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},c(U)}function u(U,F){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(U);F&&(H=H.filter(function(D){return Object.getOwnPropertyDescriptor(U,D).enumerable})),G.push.apply(G,H)}return G}function f(U,F,G){return(F=p(F))in U?Object.defineProperty(U,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):U[F]=G,U}function d(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,p(H.key),H)}}function p(U){var F=function(G,H){if(c(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(c(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return c(F)=="symbol"?F:F+""}function b(U,F,G){return F=C(F),function(H,D){if(D&&(c(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}(H)}(U,y()?Reflect.construct(F,G||[],C(U).constructor):F.apply(U,G))}function y(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(y=function(){return!!U})()}function C(U){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},C(U)}function P(U,F){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},P(U,F)}var m=function(U){U.forEach(function(F){F.isIntersecting&&F.target.onVisible()})},x={},g=function(U){function F(D){var Z;if(function(Q,te){if(!(Q instanceof te))throw new TypeError("Cannot call a class as a function")}(this,F),(Z=b(this,F,[D])).supportsObserver=!D.scrollPosition&&D.useIntersectionObserver&&l(),Z.supportsObserver){var J=D.threshold;Z.observer=function(Q){return x[Q]=x[Q]||new IntersectionObserver(m,{rootMargin:Q+"px"}),x[Q]}(J)}return Z}return function(D,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(Z&&Z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),Z&&P(D,Z)}(F,U),G=F,H=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,Z=this.placeholder.getBoundingClientRect(),J=this.placeholder.style,Q=parseInt(J.getPropertyValue("margin-left"),10)||0,te=parseInt(J.getPropertyValue("margin-top"),10)||0;return{bottom:D.y+Z.bottom+te,left:D.x+Z.left+Q,right:D.x+Z.right+Q,top:D.y+Z.top+te}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var D=this.props,Z=D.scrollPosition,J=D.threshold,Q=this.getPlaceholderBoundingBox(Z),te=Z.y+window.innerHeight,ne=Z.x,le=Z.x+window.innerWidth,ae=Z.y;return ae-J<=Q.bottom&&te+J>=Q.top&&ne-J<=Q.right&&le+J>=Q.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var D=this,Z=this.props,J=Z.className,Q=Z.height,te=Z.placeholder,ne=Z.style,le=Z.width;if(te&&typeof te.type!="function")return a().cloneElement(te,{ref:function(oe){return D.placeholder=oe}});var ae=function(oe){for(var de=1;de<arguments.length;de++){var ue=arguments[de]!=null?arguments[de]:{};de%2?u(Object(ue),!0).forEach(function(ge){f(oe,ge,ue[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(ue)):u(Object(ue)).forEach(function(ge){Object.defineProperty(oe,ge,Object.getOwnPropertyDescriptor(ue,ge))})}return oe}({display:"inline-block"},ne);return le!==void 0&&(ae.width=le),Q!==void 0&&(ae.height=Q),a().createElement("span",{className:J,ref:function(oe){return D.placeholder=oe},style:ae},te)}}],H&&d(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);g.propTypes={onVisible:o.PropTypes.func.isRequired,className:o.PropTypes.string,height:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]),placeholder:o.PropTypes.element,threshold:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool,scrollPosition:o.PropTypes.shape({x:o.PropTypes.number.isRequired,y:o.PropTypes.number.isRequired}),width:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string])},g.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const S=g;var E=i(181),T=i.n(E),L=i(858),_=i.n(L),k=function(U){var F=getComputedStyle(U,null);return F.getPropertyValue("overflow")+F.getPropertyValue("overflow-y")+F.getPropertyValue("overflow-x")};const $=function(U){if(!(U instanceof HTMLElement))return window;for(var F=U;F&&F instanceof HTMLElement;){if(/(scroll|auto)/.test(k(F)))return F;F=F.parentNode}return window};function z(U){return z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},z(U)}var O=["delayMethod","delayTime"];function N(){return N=Object.assign?Object.assign.bind():function(U){for(var F=1;F<arguments.length;F++){var G=arguments[F];for(var H in G)({}).hasOwnProperty.call(G,H)&&(U[H]=G[H])}return U},N.apply(null,arguments)}function K(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,B(H.key),H)}}function B(U){var F=function(G,H){if(z(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(z(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return z(F)=="symbol"?F:F+""}function A(U,F,G){return F=M(F),V(U,R()?Reflect.construct(F,G||[],M(U).constructor):F.apply(U,G))}function V(U,F){if(F&&(z(F)=="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(G){if(G===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G}(U)}function R(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(R=function(){return!!U})()}function M(U){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},M(U)}function I(U,F){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},I(U,F)}var j=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},W=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const q=function(U){var F=function(G){function H(J){var Q;if(function(ne,le){if(!(ne instanceof le))throw new TypeError("Cannot call a class as a function")}(this,H),(Q=A(this,H,[J])).useIntersectionObserver=J.useIntersectionObserver&&l(),Q.useIntersectionObserver)return V(Q);var te=Q.onChangeScroll.bind(Q);return J.delayMethod==="debounce"?Q.delayedScroll=T()(te,J.delayTime):J.delayMethod==="throttle"&&(Q.delayedScroll=_()(te,J.delayTime)),Q.state={scrollPosition:{x:j(),y:W()}},Q.baseComponentRef=a().createRef(),Q}return function(J,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");J.prototype=Object.create(Q&&Q.prototype,{constructor:{value:J,writable:!0,configurable:!0}}),Object.defineProperty(J,"prototype",{writable:!1}),Q&&I(J,Q)}(H,G),D=H,Z=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||$(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=$(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:j(),y:W()}})}},{key:"render",value:function(){var J=this.props,Q=(J.delayMethod,J.delayTime,function(ne,le){if(ne==null)return{};var ae,oe,de=function(ge,Ie){if(ge==null)return{};var Be={};for(var Oe in ge)if({}.hasOwnProperty.call(ge,Oe)){if(Ie.indexOf(Oe)>=0)continue;Be[Oe]=ge[Oe]}return Be}(ne,le);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(ne);for(oe=0;oe<ue.length;oe++)ae=ue[oe],le.indexOf(ae)>=0||{}.propertyIsEnumerable.call(ne,ae)&&(de[ae]=ne[ae])}return de}(J,O)),te=this.useIntersectionObserver?null:this.state.scrollPosition;return a().createElement(U,N({forwardRef:this.baseComponentRef,scrollPosition:te},Q))}}],Z&&K(D.prototype,Z),Object.defineProperty(D,"prototype",{writable:!1}),D;var D,Z}(a().Component);return F.propTypes={delayMethod:o.PropTypes.oneOf(["debounce","throttle"]),delayTime:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool},F.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},F};function X(U){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},X(U)}function ee(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,re(H.key),H)}}function re(U){var F=function(G,H){if(X(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(X(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return X(F)=="symbol"?F:F+""}function ce(U,F,G){return F=me(F),function(H,D){if(D&&(X(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}(H)}(U,he()?Reflect.construct(F,G||[],me(U).constructor):F.apply(U,G))}function he(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(he=function(){return!!U})()}function me(U){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},me(U)}function pe(U,F){return pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},pe(U,F)}var se=function(U){function F(D){return function(Z,J){if(!(Z instanceof J))throw new TypeError("Cannot call a class as a function")}(this,F),ce(this,F,[D])}return function(D,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(Z&&Z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),Z&&pe(D,Z)}(F,U),G=F,(H=[{key:"render",value:function(){return a().createElement(S,this.props)}}])&&ee(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);const fe=q(se);function ie(U){return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},ie(U)}function Y(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,Ee(H.key),H)}}function Ee(U){var F=function(G,H){if(ie(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(ie(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return ie(F)=="symbol"?F:F+""}function Le(U,F,G){return F=ye(F),function(H,D){if(D&&(ie(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}(H)}(U,be()?Reflect.construct(F,G||[],ye(U).constructor):F.apply(U,G))}function be(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(be=function(){return!!U})()}function ye(U){return ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},ye(U)}function Pe(U,F){return Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},Pe(U,F)}var ve=function(U){function F(D){var Z;(function(le,ae){if(!(le instanceof ae))throw new TypeError("Cannot call a class as a function")})(this,F),Z=Le(this,F,[D]);var J=D.afterLoad,Q=D.beforeLoad,te=D.scrollPosition,ne=D.visibleByDefault;return Z.state={visible:ne},ne&&(Q(),J()),Z.onVisible=Z.onVisible.bind(Z),Z.isScrollTracked=!!(te&&Number.isFinite(te.x)&&te.x>=0&&Number.isFinite(te.y)&&te.y>=0),Z}return function(D,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(Z&&Z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),Z&&Pe(D,Z)}(F,U),G=F,(H=[{key:"componentDidUpdate",value:function(D,Z){Z.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var D=this.props,Z=D.className,J=D.delayMethod,Q=D.delayTime,te=D.height,ne=D.placeholder,le=D.scrollPosition,ae=D.style,oe=D.threshold,de=D.useIntersectionObserver,ue=D.width;return this.isScrollTracked||de&&l()?a().createElement(S,{className:Z,height:te,onVisible:this.onVisible,placeholder:ne,scrollPosition:le,style:ae,threshold:oe,useIntersectionObserver:de,width:ue}):a().createElement(fe,{className:Z,delayMethod:J,delayTime:Q,height:te,onVisible:this.onVisible,placeholder:ne,style:ae,threshold:oe,width:ue})}}])&&Y(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);ve.propTypes={afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool},ve.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const Ce=ve;function xe(U){return xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},xe(U)}var we=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function Se(U,F){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(U);F&&(H=H.filter(function(D){return Object.getOwnPropertyDescriptor(U,D).enumerable})),G.push.apply(G,H)}return G}function Me(U){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?Se(Object(G),!0).forEach(function(H){Re(U,H,G[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(G)):Se(Object(G)).forEach(function(H){Object.defineProperty(U,H,Object.getOwnPropertyDescriptor(G,H))})}return U}function Re(U,F,G){return(F=Ve(F))in U?Object.defineProperty(U,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):U[F]=G,U}function Te(){return Te=Object.assign?Object.assign.bind():function(U){for(var F=1;F<arguments.length;F++){var G=arguments[F];for(var H in G)({}).hasOwnProperty.call(G,H)&&(U[H]=G[H])}return U},Te.apply(null,arguments)}function _e(U,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(U,Ve(H.key),H)}}function Ve(U){var F=function(G,H){if(xe(G)!="object"||!G)return G;var D=G[Symbol.toPrimitive];if(D!==void 0){var Z=D.call(G,"string");if(xe(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}(U);return xe(F)=="symbol"?F:F+""}function je(U,F,G){return F=Ae(F),function(H,D){if(D&&(xe(D)=="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}(H)}(U,De()?Reflect.construct(F,G||[],Ae(U).constructor):F.apply(U,G))}function De(){try{var U=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(De=function(){return!!U})()}function Ae(U){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},Ae(U)}function ke(U,F){return ke=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,H){return G.__proto__=H,G},ke(U,F)}var Fe=function(U){function F(D){var Z;return function(J,Q){if(!(J instanceof Q))throw new TypeError("Cannot call a class as a function")}(this,F),(Z=je(this,F,[D])).state={loaded:!1},Z}return function(D,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(Z&&Z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),Z&&ke(D,Z)}(F,U),G=F,H=[{key:"onImageLoad",value:function(){var D=this;return this.state.loaded?null:function(Z){D.props.onLoad(Z),D.props.afterLoad(),D.setState({loaded:!0})}}},{key:"getImg",value:function(){var D=this.props,Z=(D.afterLoad,D.beforeLoad,D.delayMethod,D.delayTime,D.effect,D.placeholder,D.placeholderSrc,D.scrollPosition,D.threshold,D.useIntersectionObserver,D.visibleByDefault,D.wrapperClassName,D.wrapperProps,function(J,Q){if(J==null)return{};var te,ne,le=function(oe,de){if(oe==null)return{};var ue={};for(var ge in oe)if({}.hasOwnProperty.call(oe,ge)){if(de.indexOf(ge)>=0)continue;ue[ge]=oe[ge]}return ue}(J,Q);if(Object.getOwnPropertySymbols){var ae=Object.getOwnPropertySymbols(J);for(ne=0;ne<ae.length;ne++)te=ae[ne],Q.indexOf(te)>=0||{}.propertyIsEnumerable.call(J,te)&&(le[te]=J[te])}return le}(D,we));return a().createElement("img",Te({},Z,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var D=this.props,Z=D.beforeLoad,J=D.className,Q=D.delayMethod,te=D.delayTime,ne=D.height,le=D.placeholder,ae=D.scrollPosition,oe=D.style,de=D.threshold,ue=D.useIntersectionObserver,ge=D.visibleByDefault,Ie=D.width;return a().createElement(Ce,{beforeLoad:Z,className:J,delayMethod:Q,delayTime:te,height:ne,placeholder:le,scrollPosition:ae,style:oe,threshold:de,useIntersectionObserver:ue,visibleByDefault:ge,width:Ie},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(D){var Z=this.props,J=Z.effect,Q=Z.height,te=Z.placeholderSrc,ne=Z.width,le=Z.wrapperClassName,ae=Z.wrapperProps,oe=this.state.loaded,de=oe?" lazy-load-image-loaded":"",ue=oe||!te?{}:{backgroundImage:"url(".concat(te,")"),backgroundSize:"100% 100%"};return a().createElement("span",Te({className:le+" lazy-load-image-background "+J+de,style:Me(Me({},ue),{},{color:"transparent",display:"inline-block",height:Q,width:ne})},ae),D)}},{key:"render",value:function(){var D=this.props,Z=D.effect,J=D.placeholderSrc,Q=D.visibleByDefault,te=D.wrapperClassName,ne=D.wrapperProps,le=this.getLazyLoadImage();return(Z||J)&&!Q||te||ne?this.getWrappedLazyLoadImage(le):le}}],H&&_e(G.prototype,H),Object.defineProperty(G,"prototype",{writable:!1}),G;var G,H}(a().Component);Fe.propTypes={onLoad:o.PropTypes.func,afterLoad:o.PropTypes.func,beforeLoad:o.PropTypes.func,delayMethod:o.PropTypes.string,delayTime:o.PropTypes.number,effect:o.PropTypes.string,placeholderSrc:o.PropTypes.string,threshold:o.PropTypes.number,useIntersectionObserver:o.PropTypes.bool,visibleByDefault:o.PropTypes.bool,wrapperClassName:o.PropTypes.string,wrapperProps:o.PropTypes.object},Fe.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const He=Fe})(),build.exports=n})();var buildExports=build.exports;const placeholderUrl="data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%200%20384%20216'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11648_9381)'%3e%3crect%20width='384'%20height='216'%20fill='%2359BB99'/%3e%3ccircle%20cx='-7'%20cy='184'%20r='87'%20fill='url(%23paint0_radial_11648_9381)'/%3e%3ccircle%20cx='368'%20cy='33'%20r='87'%20fill='url(%23paint1_radial_11648_9381)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M136%2078C141.959%2078%20146.986%2081.9942%20148.548%2087.4516C154.006%2089.014%20158%2094.0405%20158%2099.9999C158%20105.959%20154.006%20110.986%20148.548%20112.548C146.986%20118.006%20141.959%20122%20136%20122C130.04%20122%20125.014%20118.006%20123.452%20112.548C117.994%20110.986%20114%20105.959%20114%2099.9999C114%2094.0406%20117.994%2089.0142%20123.452%2087.4517C125.014%2081.9943%20130.04%2078%20136%2078Z'%20fill='%23F7CFDB'/%3e%3cpath%20d='M139.954%2095.3616C139.923%2097.884%20135.962%2097.5421%20134.7%2097.5267L134.755%2093.063C136.016%2093.0784%20139.985%2092.7277%20139.954%2095.3616ZM140.906%20102.316C140.874%20105.09%20136.128%20104.716%20134.611%20104.698L134.688%2099.7811C136.2%2099.8017%20140.958%2099.4226%20140.922%20102.32L140.906%20102.316ZM144.148%2094.4178C143.928%2091.7661%20141.653%2090.8548%20138.771%2090.5621L138.816%2086.8898L136.578%2086.8608L136.533%2090.4382C135.948%2090.4302%20135.347%2090.4347%20134.75%2090.4401L134.775%2086.845L132.543%2086.8093L132.499%2090.4777C132.013%2090.4841%20131.538%2090.4848%20131.075%2090.4809L127.993%2090.4406L127.964%2092.8313C127.964%2092.8313%20129.621%2092.8205%20129.584%2092.8518C130.21%2092.7802%20130.777%2093.2229%20130.86%2093.8471L130.822%2098.0175C130.901%2098.0184%20130.979%2098.0242%20131.057%2098.035L130.822%2098.034L130.737%20103.891C130.7%20104.329%20130.317%20104.655%20129.88%20104.621C129.914%20104.63%20128.256%20104.6%20128.256%20104.6L127.778%20107.263L130.688%20107.298L132.289%20107.314L132.246%20111.024L134.48%20111.052L134.512%20107.397C135.106%20107.419%20135.702%20107.43%20136.296%20107.436L136.25%20111.096L138.484%20111.124L138.535%20107.416C142.302%20107.247%20144.938%20106.332%20145.307%20102.809C145.601%2099.9679%20144.29%2098.6862%20142.168%2098.1466C143.474%2097.504%20144.303%2096.3533%20144.132%2094.4136L144.148%2094.4178Z'%20fill='%23DB6A93'/%3e%3cpath%20d='M170%2098.8577C170%2094.4242%20172.859%2090.9544%20177.421%2090.9544C179.959%2090.9544%20181.919%2092.111%20182.915%2094.0708L183.14%2091.4042H185.839V106.472C185.839%20111.42%20182.787%20114.568%20177.968%20114.568C173.695%20114.568%20170.771%20112.158%20170.193%20108.175H173.213C173.598%20110.488%20175.333%20111.837%20177.968%20111.837C180.923%20111.837%20182.851%20109.91%20182.851%20106.922V103.773C181.823%20105.604%20179.767%20106.697%20177.293%20106.697C172.827%20106.697%20170%20103.259%20170%2098.8577ZM173.02%2098.7935C173.02%20101.749%20174.851%20104.062%20177.807%20104.062C180.859%20104.062%20182.722%20101.878%20182.722%2098.7935C182.722%2095.7735%20180.923%2093.5889%20177.839%2093.5889C174.819%2093.5889%20173.02%2095.902%20173.02%2098.7935Z'%20fill='white'/%3e%3cpath%20d='M194.791%20107.5C191.418%20107.5%20189.426%20105.604%20189.426%20102.745C189.426%2099.8537%20191.579%2098.0545%20195.273%2097.7654L200.221%2097.3799V96.9301C200.221%2094.2957%20198.647%2093.364%20196.526%2093.364C193.988%2093.364%20192.542%2094.4884%20192.542%2096.3839H189.908C189.908%2093.1069%20192.607%2090.9544%20196.655%2090.9544C200.542%2090.9544%20203.176%2093.0106%20203.176%2097.2514V107.114H200.606L200.285%20104.576C199.482%20106.376%20197.329%20107.5%20194.791%20107.5ZM195.659%20105.155C198.518%20105.155%20200.253%20103.291%20200.253%20100.336V99.5003L196.237%2099.8216C193.57%20100.079%20192.478%20101.107%20192.478%20102.649C192.478%20104.319%20193.699%20105.155%20195.659%20105.155Z'%20fill='white'/%3e%3cpath%20d='M216.354%2091.2757V94.0386H215.005C212.146%2094.0386%20210.379%2095.7735%20210.379%2098.7935V107.114H207.359V91.4363H210.186L210.379%2093.8137C211.021%2092.1753%20212.596%2091.0829%20214.748%2091.0829C215.294%2091.0829%20215.744%2091.1472%20216.354%2091.2757Z'%20fill='white'/%3e%3cpath%20d='M224.919%20107.5C220.357%20107.5%20217.594%20104.094%20217.594%2099.3075C217.594%2094.4884%20220.389%2090.9544%20225.048%2090.9544C227.457%2090.9544%20229.481%2092.0146%20230.541%2093.9423V83.4688H233.529V107.114H230.831L230.574%20104.255C229.545%20106.408%20227.425%20107.5%20224.919%20107.5ZM225.53%20104.769C228.614%20104.769%20230.509%20102.488%20230.509%2099.2111C230.509%2095.9984%20228.614%2093.6852%20225.53%2093.6852C222.445%2093.6852%20220.646%2095.9984%20220.646%2099.2111C220.646%20102.456%20222.445%20104.769%20225.53%20104.769Z'%20fill='white'/%3e%3cpath%20d='M244.665%20107.5C240.039%20107.5%20236.858%20104.159%20236.858%2099.2754C236.858%2094.3599%20239.974%2090.9544%20244.536%2090.9544C249.002%2090.9544%20251.926%2094.0386%20251.926%2098.6971V99.8216L239.782%2099.8537C240.006%20103.163%20241.741%20104.994%20244.729%20104.994C247.074%20104.994%20248.617%20104.03%20249.131%20102.231H251.958C251.187%20105.604%20248.552%20107.5%20244.665%20107.5ZM244.536%2093.4925C241.902%2093.4925%20240.231%2095.0667%20239.846%2097.8297H248.906C248.906%2095.2273%20247.203%2093.4925%20244.536%2093.4925Z'%20fill='white'/%3e%3cpath%20d='M258.319%20107.114H255.299V91.4042H258.03L258.351%2093.8137C259.347%2092.0146%20261.339%2090.9544%20263.555%2090.9544C267.7%2090.9544%20269.595%2093.4925%20269.595%2097.5084V107.114H266.575V98.1831C266.575%2095.0025%20265.098%2093.7174%20262.784%2093.7174C259.957%2093.7174%20258.319%2095.7414%20258.319%2098.7935V107.114Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(-7%20184)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cradialGradient%20id='paint1_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(368%2033)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_11648_9381'%3e%3crect%20width='384'%20height='216'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",BlogCard=({thumbnail:e,category:t,date:i,title:n,className:s,thumbnailClassName:a})=>{const[o,l]=React.useState(!1),[c,u]=React.useState(e??placeholderUrl);React.useEffect(()=>{u(e??placeholderUrl)},[e]);const f=()=>{u(placeholderUrl)};return jsxRuntime.jsx(Opacity,{level:"semi-dark",className:"gf-rounded-2xl h-full",children:jsxRuntime.jsxs("div",{className:cn(s,"gf-overflow-hidden gf-rounded-2xl"),children:[jsxRuntime.jsx("div",{className:cn(a,`${o?"":"gf-filter gf-blur-md"}`),children:jsxRuntime.jsx(buildExports.LazyLoadImage,{alt:n,effect:"blur",src:c,onLoad:()=>l(!0),onError:f})}),jsxRuntime.jsxs("div",{className:"gf-px-4 gf-pt-4 gf-pb-5 gf-md:px-5 gf-md:pb-11",children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-between gf-mb-3",children:[jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",className:"gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",children:t}),jsxRuntime.jsx(Typography,{size:"h5",weight:"medium",className:"gf-px-3 gf-py-1",children:i})]}),jsxRuntime.jsx(Typography,{size:"h3",weight:"bold",children:n})]})]})})},questCardStyles=cva(["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],{variants:{variant:{locked:"gf-bg-white gf-bg-opacity-25",default:"gf-bg-white gf-bg-opacity-50"}},defaultVariants:{variant:"locked"}}),QuestCard=({variant:e,title:t,description:i,chipContent:n,logo:s})=>jsxRuntime.jsxs("div",{className:cn(questCardStyles({variant:e})),children:[jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-between gf-items-center gf-mb-4",children:[jsxRuntime.jsxs(Chip,{className:"gf-cursor-pointer gf-px-2 gf-py-1",children:[jsxRuntime.jsx(Chip.Logo,{children:s}),t,jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),e==="default"?jsxRuntime.jsx(OpenInFullIcon,{className:"gf-cursor-pointer",height:"20px",width:"20px"}):jsxRuntime.jsx(LockIcon,{className:"gf-cursor-pointer",height:"20px",width:"20px"})]}),jsxRuntime.jsx("div",{className:"gf-mb-3 md:gf-mb-8",children:jsxRuntime.jsx(Typography,{size:"h3",weight:"medium",children:i})}),jsxRuntime.jsxs("div",{className:"gf-flex gf-justify-end gf-space-x-2",children:[jsxRuntime.jsxs(Chip,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:"Quest Access"}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]}),jsxRuntime.jsxs(Chip,{className:"gf-pl-3 gf-pr-2 gf-py-1",children:[jsxRuntime.jsx(Typography,{size:"h4",weight:"medium",children:n}),jsxRuntime.jsx(Chip.CheckBox,{checked:!1})]})]})]});var lottie$1={exports:{}};(function(module,exports){typeof navigator<"u"&&function(e,t){module.exports=t()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var i,n=e.length,s;for(i=0;i<n;i+=1){s=e[i].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t.prototype[a]=s[a])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(i){this.audios.push(i)},pause:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].pause()},resume:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].resume()},setRate:function(i){var n,s=this.audios.length;for(n=0;n<s;n+=1)this.audios[n].setRate(i)},createAudio:function(i){return this.audioFactory?this.audioFactory(i):window.Howl?new window.Howl({src:[i]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(i){this.audioFactory=i},setVolume:function(i){this._volume=i,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(i,n){var s=0,a=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(s=0;s<n;s+=1)a.push(o);return a}function t(i,n){return i==="float32"?new Float32Array(n):i==="int16"?new Int16Array(n):i==="uint8c"?new Uint8ClampedArray(n):e(i,n)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(i){return typeof i}:_typeof$6=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],t,i=e.length;for(t=0;t<i;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var i=createSizedArray(e.length),n,s=e.length;for(n=0;n<s;n+=1)i[n]=Math.abs(e[n]);return i}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,i,n){this.type=e,this.currentTime=t,this.totalTime=i,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,i,n){this.type=e,this.currentLoop=i,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,i){this.type=e,this.firstFrame=t,this.totalFrames=i}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}}();function HSVtoRGB(e,t,i){var n,s,a,o,l,c,u,f;switch(o=Math.floor(e*6),l=e*6-o,c=i*(1-t),u=i*(1-l*t),f=i*(1-(1-l)*t),o%6){case 0:n=i,s=f,a=c;break;case 1:n=u,s=i,a=c;break;case 2:n=c,s=i,a=f;break;case 3:n=c,s=u,a=i;break;case 4:n=f,s=c,a=i;break;case 5:n=i,s=c,a=u;break}return[n,s,a]}function RGBtoHSV(e,t,i){var n=Math.max(e,t,i),s=Math.min(e,t,i),a=n-s,o,l=n===0?0:a/n,c=n/255;switch(n){case s:o=0;break;case e:o=t-i+a*(t<i?6:0),o/=6*a;break;case t:o=i-e+a*2,o/=6*a;break;case i:o=e-t+a*4,o/=6*a;break}return[o,l,c]}function addSaturationToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[1]+=t,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[2]+=t,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(e,t){var i=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return i[0]+=t/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var e=[],t,i;for(t=0;t<256;t+=1)i=t.toString(16),e[t]=i.length===1?"0"+i:i;return function(n,s,a){return n<0&&(n=0),s<0&&(s=0),a<0&&(a=0),"#"+e[n]+e[s]+e[a]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(i){return typeof i}:_typeof$5=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$5(e)}var dataManager=function(){var e=1,t=[],i,n,s={onmessage:function(){},postMessage:function(b){i({data:b})}},a={postMessage:function(b){s.onmessage({data:b})}};function o(p){if(window.Worker&&window.Blob&&getWebWorker()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",p.toString()],{type:"text/javascript"}),y=URL.createObjectURL(b);return new Worker(y)}return i=p,s}function l(){n||(n=o(function(b){function y(){function P(B,A){var V,R,M=B.length,I,j,W,q;for(R=0;R<M;R+=1)if(V=B[R],"ks"in V&&!V.completed){if(V.completed=!0,V.hasMask){var X=V.masksProperties;for(j=X.length,I=0;I<j;I+=1)if(X[I].pt.k.i)E(X[I].pt.k);else for(q=X[I].pt.k.length,W=0;W<q;W+=1)X[I].pt.k[W].s&&E(X[I].pt.k[W].s[0]),X[I].pt.k[W].e&&E(X[I].pt.k[W].e[0])}V.ty===0?(V.layers=g(V.refId,A),P(V.layers,A)):V.ty===4?S(V.shapes):V.ty===5&&N(V)}}function m(B,A){if(B){var V=0,R=B.length;for(V=0;V<R;V+=1)B[V].t===1&&(B[V].data.layers=g(B[V].data.refId,A),P(B[V].data.layers,A))}}function x(B,A){for(var V=0,R=A.length;V<R;){if(A[V].id===B)return A[V];V+=1}return null}function g(B,A){var V=x(B,A);return V?V.layers.__used?JSON.parse(JSON.stringify(V.layers)):(V.layers.__used=!0,V.layers):null}function S(B){var A,V=B.length,R,M;for(A=V-1;A>=0;A-=1)if(B[A].ty==="sh")if(B[A].ks.k.i)E(B[A].ks.k);else for(M=B[A].ks.k.length,R=0;R<M;R+=1)B[A].ks.k[R].s&&E(B[A].ks.k[R].s[0]),B[A].ks.k[R].e&&E(B[A].ks.k[R].e[0]);else B[A].ty==="gr"&&S(B[A].it)}function E(B){var A,V=B.i.length;for(A=0;A<V;A+=1)B.i[A][0]+=B.v[A][0],B.i[A][1]+=B.v[A][1],B.o[A][0]+=B.v[A][0],B.o[A][1]+=B.v[A][1]}function T(B,A){var V=A?A.split("."):[100,100,100];return B[0]>V[0]?!0:V[0]>B[0]?!1:B[1]>V[1]?!0:V[1]>B[1]?!1:B[2]>V[2]?!0:V[2]>B[2]?!1:null}var L=function(){var B=[4,4,14];function A(R){var M=R.t.d;R.t.d={k:[{s:M,t:0}]}}function V(R){var M,I=R.length;for(M=0;M<I;M+=1)R[M].ty===5&&A(R[M])}return function(R){if(T(B,R.v)&&(V(R.layers),R.assets)){var M,I=R.assets.length;for(M=0;M<I;M+=1)R.assets[M].layers&&V(R.assets[M].layers)}}}(),_=function(){var B=[4,7,99];return function(A){if(A.chars&&!T(B,A.v)){var V,R=A.chars.length;for(V=0;V<R;V+=1){var M=A.chars[V];M.data&&M.data.shapes&&(S(M.data.shapes),M.data.ip=0,M.data.op=99999,M.data.st=0,M.data.sr=1,M.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},A.chars[V].t||(M.data.shapes.push({ty:"no"}),M.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"})))}}}}(),k=function(){var B=[5,7,15];function A(R){var M=R.t.p;typeof M.a=="number"&&(M.a={a:0,k:M.a}),typeof M.p=="number"&&(M.p={a:0,k:M.p}),typeof M.r=="number"&&(M.r={a:0,k:M.r})}function V(R){var M,I=R.length;for(M=0;M<I;M+=1)R[M].ty===5&&A(R[M])}return function(R){if(T(B,R.v)&&(V(R.layers),R.assets)){var M,I=R.assets.length;for(M=0;M<I;M+=1)R.assets[M].layers&&V(R.assets[M].layers)}}}(),$=function(){var B=[4,1,9];function A(R){var M,I=R.length,j,W;for(M=0;M<I;M+=1)if(R[M].ty==="gr")A(R[M].it);else if(R[M].ty==="fl"||R[M].ty==="st")if(R[M].c.k&&R[M].c.k[0].i)for(W=R[M].c.k.length,j=0;j<W;j+=1)R[M].c.k[j].s&&(R[M].c.k[j].s[0]/=255,R[M].c.k[j].s[1]/=255,R[M].c.k[j].s[2]/=255,R[M].c.k[j].s[3]/=255),R[M].c.k[j].e&&(R[M].c.k[j].e[0]/=255,R[M].c.k[j].e[1]/=255,R[M].c.k[j].e[2]/=255,R[M].c.k[j].e[3]/=255);else R[M].c.k[0]/=255,R[M].c.k[1]/=255,R[M].c.k[2]/=255,R[M].c.k[3]/=255}function V(R){var M,I=R.length;for(M=0;M<I;M+=1)R[M].ty===4&&A(R[M].shapes)}return function(R){if(T(B,R.v)&&(V(R.layers),R.assets)){var M,I=R.assets.length;for(M=0;M<I;M+=1)R.assets[M].layers&&V(R.assets[M].layers)}}}(),z=function(){var B=[4,4,18];function A(R){var M,I=R.length,j,W;for(M=I-1;M>=0;M-=1)if(R[M].ty==="sh")if(R[M].ks.k.i)R[M].ks.k.c=R[M].closed;else for(W=R[M].ks.k.length,j=0;j<W;j+=1)R[M].ks.k[j].s&&(R[M].ks.k[j].s[0].c=R[M].closed),R[M].ks.k[j].e&&(R[M].ks.k[j].e[0].c=R[M].closed);else R[M].ty==="gr"&&A(R[M].it)}function V(R){var M,I,j=R.length,W,q,X,ee;for(I=0;I<j;I+=1){if(M=R[I],M.hasMask){var re=M.masksProperties;for(q=re.length,W=0;W<q;W+=1)if(re[W].pt.k.i)re[W].pt.k.c=re[W].cl;else for(ee=re[W].pt.k.length,X=0;X<ee;X+=1)re[W].pt.k[X].s&&(re[W].pt.k[X].s[0].c=re[W].cl),re[W].pt.k[X].e&&(re[W].pt.k[X].e[0].c=re[W].cl)}M.ty===4&&A(M.shapes)}}return function(R){if(T(B,R.v)&&(V(R.layers),R.assets)){var M,I=R.assets.length;for(M=0;M<I;M+=1)R.assets[M].layers&&V(R.assets[M].layers)}}}();function O(B){B.__complete||($(B),L(B),_(B),k(B),z(B),P(B.layers,B.assets),m(B.chars,B.assets),B.__complete=!0)}function N(B){B.t.a.length===0&&"m"in B.t.p}var K={};return K.completeData=O,K.checkColors=$,K.checkChars=_,K.checkPathProperties=k,K.checkShapes=z,K.completeLayers=P,K}if(a.dataManager||(a.dataManager=y()),a.assetLoader||(a.assetLoader=function(){function P(x){var g=x.getResponseHeader("content-type");return g&&x.responseType==="json"&&g.indexOf("json")!==-1||x.response&&_typeof$5(x.response)==="object"?x.response:x.response&&typeof x.response=="string"?JSON.parse(x.response):x.responseText?JSON.parse(x.responseText):null}function m(x,g,S,E){var T,L=new XMLHttpRequest;try{L.responseType="json"}catch{}L.onreadystatechange=function(){if(L.readyState===4)if(L.status===200)T=P(L),S(T);else try{T=P(L),S(T)}catch(_){E&&E(_)}};try{L.open(["G","E","T"].join(""),x,!0)}catch{L.open(["G","E","T"].join(""),g+"/"+x,!0)}L.send()}return{load:m}}()),b.data.type==="loadAnimation")a.assetLoader.load(b.data.path,b.data.fullPath,function(P){a.dataManager.completeData(P),a.postMessage({id:b.data.id,payload:P,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})});else if(b.data.type==="complete"){var C=b.data.animation;a.dataManager.completeData(C),a.postMessage({id:b.data.id,payload:C,status:"success"})}else b.data.type==="loadData"&&a.assetLoader.load(b.data.path,b.data.fullPath,function(P){a.postMessage({id:b.data.id,payload:P,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})})}),n.onmessage=function(p){var b=p.data,y=b.id,C=t[y];t[y]=null,b.status==="success"?C.onComplete(b.payload):C.onError&&C.onError()})}function c(p,b){e+=1;var y="processId_"+e;return t[y]={onComplete:p,onError:b},y}function u(p,b,y){l();var C=c(b,y);n.postMessage({type:"loadAnimation",path:p,fullPath:window.location.origin+window.location.pathname,id:C})}function f(p,b,y){l();var C=c(b,y);n.postMessage({type:"loadData",path:p,fullPath:window.location.origin+window.location.pathname,id:C})}function d(p,b,y){l();var C=c(b,y);n.postMessage({type:"complete",animation:p,id:C})}return{loadAnimation:u,loadData:f,completeAnimation:d}}(),ImagePreloader=function(){var e=function(){var m=createTag("canvas");m.width=1,m.height=1;var x=m.getContext("2d");return x.fillStyle="rgba(0,0,0,0)",x.fillRect(0,0,1,1),m}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(m,x,g){var S="";if(m.e)S=m.p;else if(x){var E=m.p;E.indexOf("images/")!==-1&&(E=E.split("/")[1]),S=x+E}else S=g,S+=m.u?m.u:"",S+=m.p;return S}function s(m){var x=0,g=setInterval((function(){var S=m.getBBox();(S.width||x>500)&&(this._imageLoaded(),clearInterval(g)),x+=1}).bind(this),50)}function a(m){var x=n(m,this.assetsPath,this.path),g=createNS("image");isSafari?this.testImageLoaded(g):g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),g.setAttributeNS("http://www.w3.org/1999/xlink","href",x),this._elementHelper.append?this._elementHelper.append(g):this._elementHelper.appendChild(g);var S={img:g,assetData:m};return S}function o(m){var x=n(m,this.assetsPath,this.path),g=createTag("img");g.crossOrigin="anonymous",g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),g.src=x;var S={img:g,assetData:m};return S}function l(m){var x={assetData:m},g=n(m,this.assetsPath,this.path);return dataManager.loadData(g,(function(S){x.img=S,this._footageLoaded()}).bind(this),(function(){x.img={},this._footageLoaded()}).bind(this)),x}function c(m,x){this.imagesLoadedCb=x;var g,S=m.length;for(g=0;g<S;g+=1)m[g].layers||(!m[g].t||m[g].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(m[g]))):m[g].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(m[g]))))}function u(m){this.path=m||""}function f(m){this.assetsPath=m||""}function d(m){for(var x=0,g=this.images.length;x<g;){if(this.images[x].assetData===m)return this.images[x].img;x+=1}return null}function p(){this.imagesLoadedCb=null,this.images.length=0}function b(){return this.totalImages===this.loadedAssets}function y(){return this.totalFootages===this.loadedFootagesCount}function C(m,x){m==="svg"?(this._elementHelper=x,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function P(){this._imageLoaded=t.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=l.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return P.prototype={loadAssets:c,setAssetsPath:f,setPath:u,loadedImages:b,loadedFootages:y,destroy:p,getAsset:d,createImgData:o,createImageData:a,imageLoaded:t,footageLoaded:i,setCacheType:C},P}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,i){if(this._cbs[t])for(var n=this._cbs[t],s=0;s<n.length;s+=1)n[s](i)},addEventListener:function(t,i){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(i),(function(){this.removeEventListener(t,i)}).bind(this)},removeEventListener:function(t,i){if(!i)this._cbs[t]=null;else if(this._cbs[t]){for(var n=0,s=this._cbs[t].length;n<s;)this._cbs[t][n]===i&&(this._cbs[t].splice(n,1),n-=1,s-=1),n+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var i=t.split(`\r
66
66
  `),n={},s,a=0,o=0;o<i.length;o+=1)s=i[o].split(":"),s.length===2&&(n[s[0]]=s[1].trim(),a+=1);if(a===0)throw new Error;return n}return function(t){for(var i=[],n=0;n<t.length;n+=1){var s=t[n],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(t[n].cm)}catch{try{a.payload=e(t[n].cm)}catch{a.payload={name:t[n].cm}}}i.push(a)}return i}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(i){for(var n=0,s=this.compositions.length;n<s;){if(this.compositions[n].data&&this.compositions[n].data.nm===i)return this.compositions[n].prepareFrame&&this.compositions[n].data.xt&&this.compositions[n].prepareFrame(this.currentFrame),this.compositions[n].compInterface;n+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(t,i){renderers[t]=i};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(i){return typeof i}:_typeof$4=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var i=getRenderer(t);this.renderer=new i(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&_typeof$4(t)!=="object"&&(t=JSON.parse(t));var i={wrapper:e,animationData:t},n=e.attributes;i.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",i.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var s=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";s==="false"?i.loop=!1:s==="true"?i.loop=!0:s!==""&&(i.loop=parseInt(s,10));var a=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:n.getNamedItem("bm-autoplay")?n.getNamedItem("bm-autoplay").value:!0;i.autoplay=a!=="false",i.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"";var o=n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"";o==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,i,n=t.length,s=e.layers,a,o=s.length;for(a=0;a<o;a+=1)for(i=0;i<n;){if(t[i].id===s[a].id){t[i]=s[a];break}i+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(n=e.assets.length,i=0;i<n;i+=1)this.animationData.assets.push(e.assets[i]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var t=e.shift();this.timeCompleted=t.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(i,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var i=typeof e=="number"?e:void 0,n=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(i,n)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,i=0;i<this.markers.length;i+=1)if(t=this.markers[i],t.payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,i){if(!(i&&this.name!==i)){var n=Number(e);if(isNaN(n)){var s=this.getMarkerData(e);s&&this.goToAndStop(s.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,i){if(!(i&&this.name!==i)){var n=Number(e);if(isNaN(n)){var s=this.getMarkerData(e);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(n,t,i);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var t=this.currentRawFrame+e*this.frameModifier,i=!1;t>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(i=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(i=!0,t=0)):this.setCurrentRawFrameValue(t),i&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?i=e:this.currentRawFrame+this.firstFrame>t&&(i=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var i,n=e.length;for(i=0;i<n;i+=1)this.segments.push(e[i])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var i=e.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),t=this.assetsPath+i}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,i=this.assets.length;t<i;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,i){try{var n=this.renderer.getElementByPath(e);n.updateDocumentData(t,i)}catch{}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],i=0,n=0,s=0,a=!0,o=!1;function l(A){for(var V=0,R=A.target;V<n;)t[V].animation===R&&(t.splice(V,1),V-=1,n-=1,R.isPaused||d()),V+=1}function c(A,V){if(!A)return null;for(var R=0;R<n;){if(t[R].elem===A&&t[R].elem!==null)return t[R].animation;R+=1}var M=new AnimationItem;return p(M,A),M.setData(A,V),M}function u(){var A,V=t.length,R=[];for(A=0;A<V;A+=1)R.push(t[A].animation);return R}function f(){s+=1,$()}function d(){s-=1}function p(A,V){A.addEventListener("destroy",l),A.addEventListener("_active",f),A.addEventListener("_idle",d),t.push({elem:V,animation:A}),n+=1}function b(A){var V=new AnimationItem;return p(V,null),V.setParams(A),V}function y(A,V){var R;for(R=0;R<n;R+=1)t[R].animation.setSpeed(A,V)}function C(A,V){var R;for(R=0;R<n;R+=1)t[R].animation.setDirection(A,V)}function P(A){var V;for(V=0;V<n;V+=1)t[V].animation.play(A)}function m(A){var V=A-i,R;for(R=0;R<n;R+=1)t[R].animation.advanceTime(V);i=A,s&&!o?window.requestAnimationFrame(m):a=!0}function x(A){i=A,window.requestAnimationFrame(m)}function g(A){var V;for(V=0;V<n;V+=1)t[V].animation.pause(A)}function S(A,V,R){var M;for(M=0;M<n;M+=1)t[M].animation.goToAndStop(A,V,R)}function E(A){var V;for(V=0;V<n;V+=1)t[V].animation.stop(A)}function T(A){var V;for(V=0;V<n;V+=1)t[V].animation.togglePause(A)}function L(A){var V;for(V=n-1;V>=0;V-=1)t[V].animation.destroy(A)}function _(A,V,R){var M=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),I,j=M.length;for(I=0;I<j;I+=1)R&&M[I].setAttribute("data-bm-type",R),c(M[I],A);if(V&&j===0){R||(R="svg");var W=document.getElementsByTagName("body")[0];W.innerText="";var q=createTag("div");q.style.width="100%",q.style.height="100%",q.setAttribute("data-bm-type",R),W.appendChild(q),c(q,A)}}function k(){var A;for(A=0;A<n;A+=1)t[A].animation.resize()}function $(){!o&&s&&a&&(window.requestAnimationFrame(x),a=!1)}function z(){o=!0}function O(){o=!1,$()}function N(A,V){var R;for(R=0;R<n;R+=1)t[R].animation.setVolume(A,V)}function K(A){var V;for(V=0;V<n;V+=1)t[V].animation.mute(A)}function B(A){var V;for(V=0;V<n;V+=1)t[V].animation.unmute(A)}return e.registerAnimation=c,e.loadAnimation=b,e.setSpeed=y,e.setDirection=C,e.play=P,e.pause=g,e.stop=E,e.togglePause=T,e.searchAnimations=_,e.resize=k,e.goToAndStop=S,e.destroy=L,e.freeze=z,e.unfreeze=O,e.setVolume=N,e.mute=K,e.unmute=B,e.getRegisteredAnimations=u,e}(),BezierFactory=function(){var e={};e.getBezierEasing=i;var t={};function i(x,g,S,E,T){var L=T||("bez_"+x+"_"+g+"_"+S+"_"+E).replace(/\./g,"p");if(t[L])return t[L];var _=new m([x,g,S,E]);return t[L]=_,_}var n=4,s=.001,a=1e-7,o=10,l=11,c=1/(l-1),u=typeof Float32Array=="function";function f(x,g){return 1-3*g+3*x}function d(x,g){return 3*g-6*x}function p(x){return 3*x}function b(x,g,S){return((f(g,S)*x+d(g,S))*x+p(g))*x}function y(x,g,S){return 3*f(g,S)*x*x+2*d(g,S)*x+p(g)}function C(x,g,S,E,T){var L,_,k=0;do _=g+(S-g)/2,L=b(_,E,T)-x,L>0?S=_:g=_;while(Math.abs(L)>a&&++k<o);return _}function P(x,g,S,E){for(var T=0;T<n;++T){var L=y(g,S,E);if(L===0)return g;var _=b(g,S,E)-x;g-=_/L}return g}function m(x){this._p=x,this._mSampleValues=u?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}return m.prototype={get:function(g){var S=this._p[0],E=this._p[1],T=this._p[2],L=this._p[3];return this._precomputed||this._precompute(),S===E&&T===L?g:g===0?0:g===1?1:b(this._getTForX(g),E,L)},_precompute:function(){var g=this._p[0],S=this._p[1],E=this._p[2],T=this._p[3];this._precomputed=!0,(g!==S||E!==T)&&this._calcSampleValues()},_calcSampleValues:function(){for(var g=this._p[0],S=this._p[2],E=0;E<l;++E)this._mSampleValues[E]=b(E*c,g,S)},_getTForX:function(g){for(var S=this._p[0],E=this._p[2],T=this._mSampleValues,L=0,_=1,k=l-1;_!==k&&T[_]<=g;++_)L+=c;--_;var $=(g-T[_])/(T[_+1]-T[_]),z=L+$*c,O=y(z,S,E);return O>=s?P(g,z,S,E):O===0?z:C(g,L,L+c,S,E)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,i){var n=0,s=e,a=createSizedArray(s),o={newElement:l,release:c};function l(){var u;return n?(n-=1,u=a[n]):u=t(),u}function c(u){n===s&&(a=pooling.double(a),s*=2),i&&i(u),a[n]=u,n+=1}return o}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(i){var n,s=i.lengths.length;for(n=0;n<s;n+=1)bezierLengthPool.release(i.lengths[n]);i.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(p,b,y,C,P,m){var x=p*C+b*P+y*m-P*C-m*p-y*b;return x>-.001&&x<.001}function i(p,b,y,C,P,m,x,g,S){if(y===0&&m===0&&S===0)return t(p,b,C,P,x,g);var E=e.sqrt(e.pow(C-p,2)+e.pow(P-b,2)+e.pow(m-y,2)),T=e.sqrt(e.pow(x-p,2)+e.pow(g-b,2)+e.pow(S-y,2)),L=e.sqrt(e.pow(x-C,2)+e.pow(g-P,2)+e.pow(S-m,2)),_;return E>T?E>L?_=E-T-L:_=L-T-E:L>T?_=L-T-E:_=T-E-L,_>-1e-4&&_<1e-4}var n=function(){return function(p,b,y,C){var P=getDefaultCurveSegments(),m,x,g,S,E,T=0,L,_=[],k=[],$=bezierLengthPool.newElement();for(g=y.length,m=0;m<P;m+=1){for(E=m/(P-1),L=0,x=0;x<g;x+=1)S=bmPow(1-E,3)*p[x]+3*bmPow(1-E,2)*E*y[x]+3*(1-E)*bmPow(E,2)*C[x]+bmPow(E,3)*b[x],_[x]=S,k[x]!==null&&(L+=bmPow(_[x]-k[x],2)),k[x]=_[x];L&&(L=bmSqrt(L),T+=L),$.percents[m]=E,$.lengths[m]=T}return $.addedLength=T,$}}();function s(p){var b=segmentsLengthPool.newElement(),y=p.c,C=p.v,P=p.o,m=p.i,x,g=p._length,S=b.lengths,E=0;for(x=0;x<g-1;x+=1)S[x]=n(C[x],C[x+1],P[x],m[x+1]),E+=S[x].addedLength;return y&&g&&(S[x]=n(C[x],C[0],P[x],m[0]),E+=S[x].addedLength),b.totalLength=E,b}function a(p){this.segmentLength=0,this.points=new Array(p)}function o(p,b){this.partialLength=p,this.point=b}var l=function(){var p={};return function(b,y,C,P){var m=(b[0]+"_"+b[1]+"_"+y[0]+"_"+y[1]+"_"+C[0]+"_"+C[1]+"_"+P[0]+"_"+P[1]).replace(/\./g,"p");if(!p[m]){var x=getDefaultCurveSegments(),g,S,E,T,L,_=0,k,$,z=null;b.length===2&&(b[0]!==y[0]||b[1]!==y[1])&&t(b[0],b[1],y[0],y[1],b[0]+C[0],b[1]+C[1])&&t(b[0],b[1],y[0],y[1],y[0]+P[0],y[1]+P[1])&&(x=2);var O=new a(x);for(E=C.length,g=0;g<x;g+=1){for($=createSizedArray(E),L=g/(x-1),k=0,S=0;S<E;S+=1)T=bmPow(1-L,3)*b[S]+3*bmPow(1-L,2)*L*(b[S]+C[S])+3*(1-L)*bmPow(L,2)*(y[S]+P[S])+bmPow(L,3)*y[S],$[S]=T,z!==null&&(k+=bmPow($[S]-z[S],2));k=bmSqrt(k),_+=k,O.points[g]=new o(k,$),z=$}O.segmentLength=_,p[m]=O}return p[m]}}();function c(p,b){var y=b.percents,C=b.lengths,P=y.length,m=bmFloor((P-1)*p),x=p*b.addedLength,g=0;if(m===P-1||m===0||x===C[m])return y[m];for(var S=C[m]>x?-1:1,E=!0;E;)if(C[m]<=x&&C[m+1]>x?(g=(x-C[m])/(C[m+1]-C[m]),E=!1):m+=S,m<0||m>=P-1){if(m===P-1)return y[m];E=!1}return y[m]+(y[m+1]-y[m])*g}function u(p,b,y,C,P,m){var x=c(P,m),g=1-x,S=e.round((g*g*g*p[0]+(x*g*g+g*x*g+g*g*x)*y[0]+(x*x*g+g*x*x+x*g*x)*C[0]+x*x*x*b[0])*1e3)/1e3,E=e.round((g*g*g*p[1]+(x*g*g+g*x*g+g*g*x)*y[1]+(x*x*g+g*x*x+x*g*x)*C[1]+x*x*x*b[1])*1e3)/1e3;return[S,E]}var f=createTypedArray("float32",8);function d(p,b,y,C,P,m,x){P<0?P=0:P>1&&(P=1);var g=c(P,x);m=m>1?1:m;var S=c(m,x),E,T=p.length,L=1-g,_=1-S,k=L*L*L,$=g*L*L*3,z=g*g*L*3,O=g*g*g,N=L*L*_,K=g*L*_+L*g*_+L*L*S,B=g*g*_+L*g*S+g*L*S,A=g*g*S,V=L*_*_,R=g*_*_+L*S*_+L*_*S,M=g*S*_+L*S*S+g*_*S,I=g*S*S,j=_*_*_,W=S*_*_+_*S*_+_*_*S,q=S*S*_+_*S*S+S*_*S,X=S*S*S;for(E=0;E<T;E+=1)f[E*4]=e.round((k*p[E]+$*y[E]+z*C[E]+O*b[E])*1e3)/1e3,f[E*4+1]=e.round((N*p[E]+K*y[E]+B*C[E]+A*b[E])*1e3)/1e3,f[E*4+2]=e.round((V*p[E]+R*y[E]+M*C[E]+I*b[E])*1e3)/1e3,f[E*4+3]=e.round((j*p[E]+W*y[E]+q*C[E]+X*b[E])*1e3)/1e3;return f}return{getSegmentsLength:s,getNewSegment:d,getPointInSegment:u,buildBezierData:l,pointOnLine2D:t,pointOnLine3D:i}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var i=this.offsetTime,n;this.propType==="multidimensional"&&(n=createTypedArray("float32",this.pv.length));for(var s=t.lastIndex,a=s,o=this.keyframes.length-1,l=!0,c,u,f;l;){if(c=this.keyframes[a],u=this.keyframes[a+1],a===o-1&&e>=u.t-i){c.h&&(c=u),s=0;break}if(u.t-i>e){s=a;break}a<o-1?a+=1:(s=0,l=!1)}f=this.keyframesMetadata[a]||{};var d,p,b,y,C,P,m=u.t-i,x=c.t-i,g;if(c.to){f.bezierData||(f.bezierData=bez.buildBezierData(c.s,u.s||c.e,c.to,c.ti));var S=f.bezierData;if(e>=m||e<x){var E=e>=m?S.points.length-1:0;for(p=S.points[E].point.length,d=0;d<p;d+=1)n[d]=S.points[E].point[d]}else{f.__fnct?P=f.__fnct:(P=BezierFactory.getBezierEasing(c.o.x,c.o.y,c.i.x,c.i.y,c.n).get,f.__fnct=P),b=P((e-x)/(m-x));var T=S.segmentLength*b,L,_=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastAddedLength:0;for(C=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastPoint:0,l=!0,y=S.points.length;l;){if(_+=S.points[C].partialLength,T===0||b===0||C===S.points.length-1){for(p=S.points[C].point.length,d=0;d<p;d+=1)n[d]=S.points[C].point[d];break}else if(T>=_&&T<_+S.points[C+1].partialLength){for(L=(T-_)/S.points[C+1].partialLength,p=S.points[C].point.length,d=0;d<p;d+=1)n[d]=S.points[C].point[d]+(S.points[C+1].point[d]-S.points[C].point[d])*L;break}C<y-1?C+=1:l=!1}t._lastPoint=C,t._lastAddedLength=_-S.points[C].partialLength,t._lastKeyframeIndex=a}}else{var k,$,z,O,N;if(o=c.s.length,g=u.s||c.e,this.sh&&c.h!==1)if(e>=m)n[0]=g[0],n[1]=g[1],n[2]=g[2];else if(e<=x)n[0]=c.s[0],n[1]=c.s[1],n[2]=c.s[2];else{var K=createQuaternion(c.s),B=createQuaternion(g),A=(e-x)/(m-x);quaternionToEuler(n,slerp(K,B,A))}else for(a=0;a<o;a+=1)c.h!==1&&(e>=m?b=1:e<x?b=0:(c.o.x.constructor===Array?(f.__fnct||(f.__fnct=[]),f.__fnct[a]?P=f.__fnct[a]:(k=c.o.x[a]===void 0?c.o.x[0]:c.o.x[a],$=c.o.y[a]===void 0?c.o.y[0]:c.o.y[a],z=c.i.x[a]===void 0?c.i.x[0]:c.i.x[a],O=c.i.y[a]===void 0?c.i.y[0]:c.i.y[a],P=BezierFactory.getBezierEasing(k,$,z,O).get,f.__fnct[a]=P)):f.__fnct?P=f.__fnct:(k=c.o.x,$=c.o.y,z=c.i.x,O=c.i.y,P=BezierFactory.getBezierEasing(k,$,z,O).get,c.keyframeMetadata=P),b=P((e-x)/(m-x)))),g=u.s||c.e,N=c.h===1?c.s[a]:c.s[a]+(g[a]-c.s[a])*b,this.propType==="multidimensional"?n[a]=N:n=N}return t.lastIndex=s,n}function slerp(e,t,i){var n=[],s=e[0],a=e[1],o=e[2],l=e[3],c=t[0],u=t[1],f=t[2],d=t[3],p,b,y,C,P;return b=s*c+a*u+o*f+l*d,b<0&&(b=-b,c=-c,u=-u,f=-f,d=-d),1-b>1e-6?(p=Math.acos(b),y=Math.sin(p),C=Math.sin((1-i)*p)/y,P=Math.sin(i*p)/y):(C=1-i,P=i),n[0]=C*s+P*c,n[1]=C*a+P*u,n[2]=C*o+P*f,n[3]=C*l+P*d,n}function quaternionToEuler(e,t){var i=t[0],n=t[1],s=t[2],a=t[3],o=Math.atan2(2*n*a-2*i*s,1-2*n*n-2*s*s),l=Math.asin(2*i*n+2*s*a),c=Math.atan2(2*i*a-2*n*s,1-2*i*i-2*s*s);e[0]=o/degToRads,e[1]=l/degToRads,e[2]=c/degToRads}function createQuaternion(e){var t=e[0]*degToRads,i=e[1]*degToRads,n=e[2]*degToRads,s=Math.cos(t/2),a=Math.cos(i/2),o=Math.cos(n/2),l=Math.sin(t/2),c=Math.sin(i/2),u=Math.sin(n/2),f=s*a*o-l*c*u,d=l*c*o+s*a*u,p=l*a*o+s*c*u,b=s*c*o-l*a*u;return[d,p,b,f]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&e>=i||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var i=0,n=this.v.length;i<n;)t=e[i]*this.mult,mathAbs(this.v[i]-t)>1e-5&&(this.v[i]=t,this._mdf=!0),i+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)i=this.effectsSequence[e](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,i,n){this.propType="unidimensional",this.mult=i||1,this.data=t,this.v=i?t.k*i:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,i,n){this.propType="multidimensional",this.mult=i||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s,a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),s=0;s<a;s+=1)this.v[s]=t.k[s]*this.mult,this.pv[s]=t.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,i,n){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=i||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,i,n){this.propType="multidimensional";var s,a=t.k.length,o,l,c,u;for(s=0;s<a-1;s+=1)t.k[s].to&&t.k[s].s&&t.k[s+1]&&t.k[s+1].s&&(o=t.k[s].s,l=t.k[s+1].s,c=t.k[s].to,u=t.k[s].ti,(o.length===2&&!(o[0]===l[0]&&o[1]===l[1])&&bez.pointOnLine2D(o[0],o[1],l[0],l[1],o[0]+c[0],o[1]+c[1])&&bez.pointOnLine2D(o[0],o[1],l[0],l[1],l[0]+u[0],l[1]+u[1])||o.length===3&&!(o[0]===l[0]&&o[1]===l[1]&&o[2]===l[2])&&bez.pointOnLine3D(o[0],o[1],o[2],l[0],l[1],l[2],o[0]+c[0],o[1]+c[1],o[2]+c[2])&&bez.pointOnLine3D(o[0],o[1],o[2],l[0],l[1],l[2],l[0]+u[0],l[1]+u[1],l[2]+u[2]))&&(t.k[s].to=null,t.k[s].ti=null),o[0]===l[0]&&o[1]===l[1]&&c[0]===0&&c[1]===0&&u[0]===0&&u[1]===0&&(o.length===2||o[2]===l[2]&&c[2]===0&&u[2]===0)&&(t.k[s].to=null,t.k[s].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=e,this.container=n,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var f=t.k[0].s.length;for(this.v=createTypedArray("float32",f),this.pv=createTypedArray("float32",f),s=0;s<f;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",f)},this.addEffect=addEffect}var PropertyFactory=function(){function e(i,n,s,a,o){n.sid&&(n=i.globalData.slotManager.getProp(n));var l;if(!n.k.length)l=new ValueProperty(i,n,a,o);else if(typeof n.k[0]=="number")l=new MultiDimensionalProperty(i,n,a,o);else switch(s){case 0:l=new KeyframedValueProperty(i,n,a,o);break;case 1:l=new KeyframedMultidimensionalProperty(i,n,a,o);break}return l.effectsSequence.length&&o.addDynamicProperty(l),l}var t={getProp:e};return t}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,i=this.dynamicProperties.length;for(t=0;t<i;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function e(){return createTypedArray("float32",2)}return poolFactory(8,e)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var i=0;i<t;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,i,n,s){var a;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[n]||a[n]&&!s)&&(a[n]=pointPool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,i,n,s,a,o,l){this.setXYAt(e,t,"v",o,l),this.setXYAt(i,n,"o",o,l),this.setXYAt(s,a,"i",o,l)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,i=this.o,n=this.i,s=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],i[0][0],i[0][1],0,!1),s=1);var a=this._length-1,o=this._length,l;for(l=s;l<o;l+=1)e.setTripleAt(t[a][0],t[a][1],n[a][0],n[a][1],i[a][0],i[a][1],l,!1),a-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(s){var a=s._length,o;for(o=0;o<a;o+=1)pointPool.release(s.v[o]),pointPool.release(s.i[o]),pointPool.release(s.o[o]),s.v[o]=null,s.i[o]=null,s.o[o]=null;s._length=0,s.c=!1}function i(s){var a=n.newElement(),o,l=s._length===void 0?s.v.length:s._length;for(a.setLength(l),a.c=s.c,o=0;o<l;o+=1)a.setTripleAt(s.v[o][0],s.v[o][1],s.o[o][0],s.o[o][1],s.i[o][0],s.i[o][1],o);return a}var n=poolFactory(4,e,t);return n.clone=i,n}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:s,release:a},t=0,i=4,n=createSizedArray(i);function s(){var o;return t?(t-=1,o=n[t]):o=new ShapeCollection,o}function a(o){var l,c=o._length;for(l=0;l<c;l+=1)shapePool.release(o.shapes[l]);o._length=0,t===i&&(n=pooling.double(n),i*=2),n[t]=o,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(m,x,g){var S=g.lastIndex,E,T,L,_,k,$,z,O,N,K=this.keyframes;if(m<K[0].t-this.offsetTime)E=K[0].s[0],L=!0,S=0;else if(m>=K[K.length-1].t-this.offsetTime)E=K[K.length-1].s?K[K.length-1].s[0]:K[K.length-2].e[0],L=!0;else{for(var B=S,A=K.length-1,V=!0,R,M,I;V&&(R=K[B],M=K[B+1],!(M.t-this.offsetTime>m));)B<A-1?B+=1:V=!1;if(I=this.keyframesMetadata[B]||{},L=R.h===1,S=B,!L){if(m>=M.t-this.offsetTime)O=1;else if(m<R.t-this.offsetTime)O=0;else{var j;I.__fnct?j=I.__fnct:(j=BezierFactory.getBezierEasing(R.o.x,R.o.y,R.i.x,R.i.y).get,I.__fnct=j),O=j((m-(R.t-this.offsetTime))/(M.t-this.offsetTime-(R.t-this.offsetTime)))}T=M.s?M.s[0]:R.e[0]}E=R.s[0]}for($=x._length,z=E.i[0].length,g.lastIndex=S,_=0;_<$;_+=1)for(k=0;k<z;k+=1)N=L?E.i[_][k]:E.i[_][k]+(T.i[_][k]-E.i[_][k])*O,x.i[_][k]=N,N=L?E.o[_][k]:E.o[_][k]+(T.o[_][k]-E.o[_][k])*O,x.o[_][k]=N,N=L?E.v[_][k]:E.v[_][k]+(T.v[_][k]-E.v[_][k])*O,x.v[_][k]=N}function i(){var m=this.comp.renderedFrame-this.offsetTime,x=this.keyframes[0].t-this.offsetTime,g=this.keyframes[this.keyframes.length-1].t-this.offsetTime,S=this._caching.lastFrame;return S!==e&&(S<x&&m<x||S>g&&m>g)||(this._caching.lastIndex=S<m?this._caching.lastIndex:0,this.interpolateShape(m,this.pv,this._caching)),this._caching.lastFrame=m,this.pv}function n(){this.paths=this.localShapeCollection}function s(m,x){if(m._length!==x._length||m.c!==x.c)return!1;var g,S=m._length;for(g=0;g<S;g+=1)if(m.v[g][0]!==x.v[g][0]||m.v[g][1]!==x.v[g][1]||m.o[g][0]!==x.o[g][0]||m.o[g][1]!==x.o[g][1]||m.i[g][0]!==x.i[g][0]||m.i[g][1]!==x.i[g][1])return!1;return!0}function a(m){s(this.v,m)||(this.v=shapePool.clone(m),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var m;this.kf?m=this.pv:this.data.ks?m=this.data.ks.k:m=this.data.pt.k;var x,g=this.effectsSequence.length;for(x=0;x<g;x+=1)m=this.effectsSequence[x](m);this.setVValue(m),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function l(m,x,g){this.propType="shape",this.comp=m.comp,this.container=m,this.elem=m,this.data=x,this.k=!1,this.kf=!1,this._mdf=!1;var S=g===3?x.pt.k:x.ks.k;this.v=shapePool.clone(S),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function c(m){this.effectsSequence.push(m),this.container.addDynamicProperty(this)}l.prototype.interpolateShape=t,l.prototype.getValue=o,l.prototype.setVValue=a,l.prototype.addEffect=c;function u(m,x,g){this.propType="shape",this.comp=m.comp,this.elem=m,this.container=m,this.offsetTime=m.data.st,this.keyframes=g===3?x.pt.k:x.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var S=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,S),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[i.bind(this)]}u.prototype.getValue=o,u.prototype.interpolateShape=t,u.prototype.setVValue=a,u.prototype.addEffect=c;var f=function(){var m=roundCorner;function x(g,S){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=S.d,this.elem=g,this.comp=g.comp,this.frameId=-1,this.initDynamicPropertyContainer(g),this.p=PropertyFactory.getProp(g,S.p,1,0,this),this.s=PropertyFactory.getProp(g,S.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return x.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var S=this.p.v[0],E=this.p.v[1],T=this.s.v[0]/2,L=this.s.v[1]/2,_=this.d!==3,k=this.v;k.v[0][0]=S,k.v[0][1]=E-L,k.v[1][0]=_?S+T:S-T,k.v[1][1]=E,k.v[2][0]=S,k.v[2][1]=E+L,k.v[3][0]=_?S-T:S+T,k.v[3][1]=E,k.i[0][0]=_?S-T*m:S+T*m,k.i[0][1]=E-L,k.i[1][0]=_?S+T:S-T,k.i[1][1]=E-L*m,k.i[2][0]=_?S+T*m:S-T*m,k.i[2][1]=E+L,k.i[3][0]=_?S-T:S+T,k.i[3][1]=E+L*m,k.o[0][0]=_?S+T*m:S-T*m,k.o[0][1]=E-L,k.o[1][0]=_?S+T:S-T,k.o[1][1]=E+L*m,k.o[2][0]=_?S-T*m:S+T*m,k.o[2][1]=E+L,k.o[3][0]=_?S-T:S+T,k.o[3][1]=E-L*m}},extendPrototype([DynamicPropertyContainer],x),x}(),d=function(){function m(x,g){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=x,this.comp=x.comp,this.data=g,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(x),g.sy===1?(this.ir=PropertyFactory.getProp(x,g.ir,0,0,this),this.is=PropertyFactory.getProp(x,g.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(x,g.pt,0,0,this),this.p=PropertyFactory.getProp(x,g.p,1,0,this),this.r=PropertyFactory.getProp(x,g.r,0,degToRads,this),this.or=PropertyFactory.getProp(x,g.or,0,0,this),this.os=PropertyFactory.getProp(x,g.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return m.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var g=Math.floor(this.pt.v)*2,S=Math.PI*2/g,E=!0,T=this.or.v,L=this.ir.v,_=this.os.v,k=this.is.v,$=2*Math.PI*T/(g*2),z=2*Math.PI*L/(g*2),O,N,K,B,A=-Math.PI/2;A+=this.r.v;var V=this.data.d===3?-1:1;for(this.v._length=0,O=0;O<g;O+=1){N=E?T:L,K=E?_:k,B=E?$:z;var R=N*Math.cos(A),M=N*Math.sin(A),I=R===0&&M===0?0:M/Math.sqrt(R*R+M*M),j=R===0&&M===0?0:-R/Math.sqrt(R*R+M*M);R+=+this.p.v[0],M+=+this.p.v[1],this.v.setTripleAt(R,M,R-I*B*K*V,M-j*B*K*V,R+I*B*K*V,M+j*B*K*V,O,!0),E=!E,A+=S*V}},convertPolygonToPath:function(){var g=Math.floor(this.pt.v),S=Math.PI*2/g,E=this.or.v,T=this.os.v,L=2*Math.PI*E/(g*4),_,k=-Math.PI*.5,$=this.data.d===3?-1:1;for(k+=this.r.v,this.v._length=0,_=0;_<g;_+=1){var z=E*Math.cos(k),O=E*Math.sin(k),N=z===0&&O===0?0:O/Math.sqrt(z*z+O*O),K=z===0&&O===0?0:-z/Math.sqrt(z*z+O*O);z+=+this.p.v[0],O+=+this.p.v[1],this.v.setTripleAt(z,O,z-N*L*T*$,O-K*L*T*$,z+N*L*T*$,O+K*L*T*$,_,!0),k+=S*$}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],m),m}(),p=function(){function m(x,g){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=x,this.comp=x.comp,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(x),this.p=PropertyFactory.getProp(x,g.p,1,0,this),this.s=PropertyFactory.getProp(x,g.s,1,0,this),this.r=PropertyFactory.getProp(x,g.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return m.prototype={convertRectToPath:function(){var g=this.p.v[0],S=this.p.v[1],E=this.s.v[0]/2,T=this.s.v[1]/2,L=bmMin(E,T,this.r.v),_=L*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(g+E,S-T+L,g+E,S-T+L,g+E,S-T+_,0,!0),this.v.setTripleAt(g+E,S+T-L,g+E,S+T-_,g+E,S+T-L,1,!0),L!==0?(this.v.setTripleAt(g+E-L,S+T,g+E-L,S+T,g+E-_,S+T,2,!0),this.v.setTripleAt(g-E+L,S+T,g-E+_,S+T,g-E+L,S+T,3,!0),this.v.setTripleAt(g-E,S+T-L,g-E,S+T-L,g-E,S+T-_,4,!0),this.v.setTripleAt(g-E,S-T+L,g-E,S-T+_,g-E,S-T+L,5,!0),this.v.setTripleAt(g-E+L,S-T,g-E+L,S-T,g-E+_,S-T,6,!0),this.v.setTripleAt(g+E-L,S-T,g+E-_,S-T,g+E-L,S-T,7,!0)):(this.v.setTripleAt(g-E,S+T,g-E+_,S+T,g-E,S+T,2),this.v.setTripleAt(g-E,S-T,g-E,S-T+_,g-E,S-T,3))):(this.v.setTripleAt(g+E,S-T+L,g+E,S-T+_,g+E,S-T+L,0,!0),L!==0?(this.v.setTripleAt(g+E-L,S-T,g+E-L,S-T,g+E-_,S-T,1,!0),this.v.setTripleAt(g-E+L,S-T,g-E+_,S-T,g-E+L,S-T,2,!0),this.v.setTripleAt(g-E,S-T+L,g-E,S-T+L,g-E,S-T+_,3,!0),this.v.setTripleAt(g-E,S+T-L,g-E,S+T-_,g-E,S+T-L,4,!0),this.v.setTripleAt(g-E+L,S+T,g-E+L,S+T,g-E+_,S+T,5,!0),this.v.setTripleAt(g+E-L,S+T,g+E-_,S+T,g+E-L,S+T,6,!0),this.v.setTripleAt(g+E,S+T-L,g+E,S+T-L,g+E,S+T-_,7,!0)):(this.v.setTripleAt(g-E,S-T,g-E+_,S-T,g-E,S-T,1,!0),this.v.setTripleAt(g-E,S+T,g-E,S+T-_,g-E,S+T,2,!0),this.v.setTripleAt(g+E,S+T,g+E-_,S+T,g+E,S+T,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],m),m}();function b(m,x,g){var S;if(g===3||g===4){var E=g===3?x.pt:x.ks,T=E.k;T.length?S=new u(m,x,g):S=new l(m,x,g)}else g===5?S=new p(m,x):g===6?S=new f(m,x):g===7&&(S=new d(m,x));return S.k&&m.addDynamicProperty(S),S}function y(){return l}function C(){return u}var P={};return P.getShapeProp=b,P.getConstructorFunction=y,P.getKeyframedConstructorFunction=C,P}();/*!
67
67
  Transformation Matrix v2.0
68
68
  (c) Epistemex 2014-2015
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gardenfi/garden-book",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "type": "module",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",