@rango-dev/provider-walletconnect-2 0.41.1-next.3 → 0.42.1-next.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # [0.42.0](https://github.com/rango-exchange/rango-client/compare/provider-walletconnect-2@0.41.0...provider-walletconnect-2@0.42.0) (2025-08-05)
2
+
3
+
4
+
1
5
  # [0.41.0](https://github.com/rango-exchange/rango-client/compare/provider-walletconnect-2@0.40.0...provider-walletconnect-2@0.41.0) (2025-07-22)
2
6
 
3
7
 
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{d as B,e as U,g as h,h as S}from"./chunk-BPSEZJUF.js";import{a as P,b as W,c as E,d as O,e as D,f as L,g as b,h as R}from"./chunk-RPL2NMJC.js";import{a as r}from"./chunk-DXVBX5XQ.js";import{debug as we,error as oe}from"@rango-dev/logging-core";import{Networks as ye,WalletTypes as Ae}from"@rango-dev/wallets-shared";import Te from"@walletconnect/sign-client";import{AccountId as ve,ChainId as re}from"caip";import{evmBlockchains as ie}from"rango-types";import{convertEvmBlockchainMetaToEvmChainInfo as ge,isEvmAddress as X,Networks as Ce}from"@rango-dev/wallets-shared";var g=class{static{r(this,"d")}constructor(n){this.openModal=h.open,this.closeModal=h.close,this.subscribeModal=h.subscribe,this.setTheme=S.setThemeConfig,S.setThemeConfig(n),U.setConfig(n),this.initUi()}async initUi(){if(typeof window<"u"){await import("./dist-6GI3ECE5.js");let n=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",n),B.setIsUiLoaded(!0)}}};import{AccountId as Z,ChainId as N}from"caip";import{evmBlockchains as Ee,isEvmBlockchain as Se}from"rango-types";import{Networks as pe,timeout as le}from"@rango-dev/wallets-shared";import{getSdkError as H}from"@walletconnect/utils";import{AccountId as F}from"caip";function y(e){return e.session.values[e.session.values.length-1]}r(y,"getLastSession");async function me(e,n){return await le(e.ping({topic:n}),W),y(e)}r(me,"restoreSession");async function de(e,n,s){let{requiredNamespaces:o,optionalNamespaces:t,pairingTopic:i}=n;try{let{uri:a,approval:c}=await e.connect({requiredNamespaces:o,optionalNamespaces:t,pairingTopic:i}),l;if(a){let d=s.envs.DISABLE_MODAL_AND_OPEN_LINK;if(d){let u=`${d}/wc?uri=${encodeURIComponent(a)}`;window.open(u,"_blank","noreferrer noopener")}else{let u={...o||{},...t||{}},p=Object.values(u).map(x=>x.chains).flat(),C=I();C.openModal({uri:a,chains:p}),l=new Promise((x,ae)=>{C.subscribeModal(ce=>{ce.open||ae(new Error("Modal has been closed."))})})}}let m=c();return l?await Promise.race([m,l]):await m}finally{I().closeModal()}}r(de,"createSession");function ue(e){let n=e.pairing.getAll({active:!0});return n.length>0?n[n.length-1]:void 0}r(ue,"tryGetPairing");async function q(e,n){let{meta:s}=n,o=K(s),t,i=ue(e);if(i)try{t=await me(e,i.topic)}catch{await A(e)}return t||(t=await de(e,{requiredNamespaces:{},optionalNamespaces:o},{envs:n.envs})),t}r(q,"tryConnect");async function j(e,n){let s=e.session.getAll(),o=e.pairing.getAll();s.forEach(t=>{if(t.topic===n||t.pairingTopic===n){let i=t.pairingTopic===n?t.pairingTopic:t.topic;e.core.expirer.set(i,0)}}),o.forEach(t=>{t.topic===n&&e.core.expirer.set(n,0)})}r(j,"cleanupSingleSession");async function A(e){let n=[],s=e.session.getAll();for(let t of s)n.push(e.disconnect({topic:t.topic,reason:H("USER_DISCONNECTED")}));let o=e.pairing.getAll();for(let t of o)n.push(e.disconnect({topic:t.topic,reason:H("USER_DISCONNECTED")}));return T(e,void 0),await Promise.all(n)}r(A,"disconnectSessions");function G(e){return Object.values(e.namespaces).map(s=>s.accounts).flat().map(s=>{let{address:o,chainId:t}=new F(s),i=Y(t.reference);return{address:o,chainId:i}})}r(G,"getAccountsFromSession");function J(e){return Object.values(e.params.namespaces).map(s=>s.accounts).flat().map(s=>{let{address:o,chainId:t}=new F(s);return{accounts:[o],chainId:t.namespace==="solana"?pe.SOLANA:t.reference}})}r(J,"getAccountsFromEvent");async function z(e,n,s,o){let t=e.session,i=t.namespaces,a=!1,c=i.eip155.accounts,l=Q(e),m=w(n,l,o);c.includes(m)||(c.push(m),a=!0);let d=w(s,l,o);if(c.includes(d)||(c.push(d),a=!0),a){let u={...i,eip155:{...i.eip155,accounts:c}};await e.client.session.update({topic:t.topic,namespaces:u}).catch(p=>{console.log(p)})}}r(z,"updateSessionAccounts");function V(e){let n=["trust","1inch"],s=e?.session?.peer?.metadata?.name;return n.some(o=>s?.toLowerCase()?.includes(o))}r(V,"ignoreNamespaceMethods");async function T(e,n){return e.core.storage.setItem(E,{defaultChainId:n?parseInt(n):""})}r(T,"persistCurrentChainId");async function $(e){try{let n=(await e.core.storage.getItem(E))?.defaultChainId;return n?String(n):void 0}catch{return}}r($,"getPersistedChainId");var v;function ee(e){v||(v=new g({projectId:e,themeMode:"light",themeVariables:{"--wcm-z-index":"999999999"}}))}r(ee,"createModalInstance");function I(){return v}r(I,"getModal");function K(e){let s=Ee(e).map(t=>new N({namespace:"eip155",reference:String(parseInt(t.chainId))}).toString());return{eip155:{methods:D,events:O,chains:s}}}r(K,"generateOptionalNamespace");function Y(e){return e===L?Ce.SOLANA:e}r(Y,"solanaChainIdToNetworkName");async function ne(e,n,s,o){if(e.method==="eth_chainId"){let t=y(n),i=Object.values(t.namespaces).map(c=>c.chains).flat(),a=o().network;if(i.length>0){let c=a?M(a,s):void 0;if(c)return c;let m=i[0];return new N(m).reference}throw new Error("Couldn't find any chain on namespace")}throw new Error("Dissallowed method:",e)}r(ne,"simulateRequest");function M(e,n){let o=n.find(i=>i.name===e)?.chainId;return o?String(parseInt(o)):void 0}r(M,"getChainIdByNetworkName");async function te(e,n,s,o){let t=e.filter(Se),a=ge(t)[n],l=e.find(p=>p.name===n)?.chainId,m=M(s,e),d=N.format({namespace:"eip155",reference:String(m)}),u=o.session;try{await o.client.request({topic:u.topic,request:{method:"wallet_switchEthereumChain",params:[{chainId:l}]},chainId:d})}catch(p){if(p?.code===4902||p?.message?.includes(String(4902)))await o.client.request({topic:u.topic,request:{method:"wallet_addEthereumChain",params:[a]},chainId:d});else throw p}}r(te,"switchOrAddEvmChain");function Q(e){return e.session.namespaces.eip155.accounts?.map(n=>new Z(n).address)?.filter(n=>X(n))?.[0]}r(Q,"getCurrentEvmAccountAddress");function w(e,n,s){let o=M(e,s);return Z.format({chainId:{namespace:"eip155",reference:String(o)},address:n})}r(w,"getEvmAccount");function se(e,n){let s=!1;return e.filter(({address:o,chainId:t})=>{if(X(o)){if(n&&t!==n)return!1;if(!n){if(s)return!1;s=!0}}return!0}).map(({address:o,chainId:t})=>({accounts:[o],chainId:t}))}r(se,"filterEvmAccounts");import{DefaultSignerFactory as Ie,TransactionType as _}from"rango-types";async function k(e){if(!e.session)throw new Error("Session is required for wallet connect signers.");let n=new Ie,s=(await import("./evm-MYSQOTV5.js")).default,o=(await import("./cosmos-I3Z34UI3.js")).default,t=(await import("./solana-35I33VLX.js")).default;return n.registerSigner(_.EVM,new s(e.client,e.session)),n.registerSigner(_.COSMOS,new o(e.client,e.session)),n.registerSigner(_.SOLANA,new t(e.client,e.session)),n}r(k,"getSigners");var Ne=Ae.WALLET_CONNECT_2,f={WC_PROJECT_ID:"",DISABLE_MODAL_AND_OPEN_LINK:void 0},on=r(e=>{f=e,ee(f.WC_PROJECT_ID)},"init"),rn={type:Ne,checkInstallation:!1,isAsyncInstance:!0,defaultNetwork:P,isAsyncSwitchNetwork:!0},an=r(async e=>{let{currentProvider:n,getState:s,meta:o}=e,t;if(n)t=n;else{if(!f.WC_PROJECT_ID)throw new Error("You need to set `WC_PROJECT_ID` in Wallet Connect provider.");t=await Te.init({relayUrl:R,projectId:f.WC_PROJECT_ID,metadata:b})}return{client:t,session:null,request:async i=>ne(i,t,o,s)}},"getInstance"),cn=r(async({instance:e,meta:n})=>{let{client:s}=e,o=await q(s,{meta:n,envs:f});e.session=o;let t=await $(s),i=G(o);return se(i,t)},"connect"),pn=r(({instance:e,updateChainId:n,updateAccounts:s,disconnect:o})=>{let{client:t}=e;t.on("session_update",i=>{J(i).forEach(c=>{s(c.accounts,c.chainId)})}),t.on("session_event",i=>{if(i.params.event.name==="accountsChanged"){let a=i.params.event.data.map(l=>new ve(l).address),c=re.parse(i.params.chainId).reference;s(a),n(c)}else if(i.params.event.name==="chainChanged"){let a=i.params.event.data;n(a),T(e.client,a)}else console.log("[WC2] session_event not supported",i.params.event)}),t.on("session_delete",async i=>{console.log("[WC2] your wallet has requested to delete session.",i),j(t,i.topic),o()})},"subscribe"),ln=r(async({network:e,instance:n,meta:s,getState:o,updateChainId:t})=>{let a=ie(s).find(p=>p.name===e)?.chainId;if(!a){let p=new Error(`There is no match for ${a}`);throw oe(p),p}let c=new re({namespace:"eip155",reference:String(parseInt(a))}).toString(),m=n.session.namespaces.eip155,d=m?.chains||[];if((m?.methods||[]).includes("wallet_switchEthereumChain")&&!V(n)){let p=o?.().network||ye.ETHEREUM;await z(n,e,p,s),await te(s,e,p,n)}else if(d.includes(c)){t(a);return}else{let p=new Error(`Chain ${a} is not configured.`);throw oe(p),p}},"switchNetwork"),mn=r(()=>!0,"canSwitchNetworkTo"),dn=r(async({instance:e})=>{let{client:n}=e;n&&A(n).catch(s=>we(s))},"disconnect"),un=k,fn=r(e=>({name:"WalletConnect",img:"https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/walletconnect/icon.svg",installLink:"",color:"#b2dbff",supportedChains:ie(e),showOnMobile:!0,mobileWallet:!0}),"getWalletInfo");export{mn as canSwitchNetworkTo,rn as config,cn as connect,dn as disconnect,an as getInstance,un as getSigners,fn as getWalletInfo,on as init,pn as subscribe,ln as switchNetwork};
1
+ import{d as U,e as H,g as h,h as S}from"./chunk-BPSEZJUF.js";import{a as W,b as O,c as E,d as D,e as L,f as b,g as R,h as B}from"./chunk-RPL2NMJC.js";import{a as r}from"./chunk-DXVBX5XQ.js";import{debug as Ie,error as re}from"@rango-dev/logging-core";import{Networks as Ae,WalletTypes as Te}from"@rango-dev/wallets-shared";import ve from"@walletconnect/sign-client";import{AccountId as Ne,ChainId as ie}from"caip";import{evmBlockchains as ae}from"rango-types";import{convertEvmBlockchainMetaToEvmChainInfo as Ce,isEvmAddress as Z,Networks as Ee}from"@rango-dev/wallets-shared";var g=class{static{r(this,"d")}constructor(n){this.openModal=h.open,this.closeModal=h.close,this.subscribeModal=h.subscribe,this.setTheme=S.setThemeConfig,S.setThemeConfig(n),H.setConfig(n),this.initUi()}async initUi(){if(typeof window<"u"){await import("./dist-6GI3ECE5.js");let n=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",n),U.setIsUiLoaded(!0)}}};import{AccountId as ee,ChainId as N}from"caip";import{evmBlockchains as Se,isEvmBlockchain as ye}from"rango-types";import{Networks as le,timeout as me}from"@rango-dev/wallets-shared";import{getSdkError as F}from"@walletconnect/utils";import{AccountId as q}from"caip";function I(e){return e.session.values[e.session.values.length-1]}r(I,"getLastSession");async function de(e,n){return await me(e.ping({topic:n}),O),I(e)}r(de,"restoreSession");async function ue(e,n,s){let{requiredNamespaces:o,optionalNamespaces:t,pairingTopic:i}=n;try{let{uri:a,approval:c}=await e.connect({requiredNamespaces:o,optionalNamespaces:t,pairingTopic:i}),l;if(a){let d=s.envs.DISABLE_MODAL_AND_OPEN_LINK;if(d){let u=`${d}/wc?uri=${encodeURIComponent(a)}`;window.open(u,"_blank","noreferrer noopener")}else{let u={...o||{},...t||{}},p=Object.values(u).map(P=>P.chains).flat(),C=y();C.openModal({uri:a,chains:p}),l=new Promise((P,ce)=>{C.subscribeModal(pe=>{pe.open||ce(new Error("Modal has been closed."))})})}}let m=c();return l?await Promise.race([m,l]):await m}finally{y().closeModal()}}r(ue,"createSession");function fe(e){let n=e.pairing.getAll({active:!0});return n.length>0?n[n.length-1]:void 0}r(fe,"tryGetPairing");async function j(e,n){let{meta:s}=n,o=Y(s),t,i=fe(e);if(i)try{t=await de(e,i.topic)}catch{await A(e)}return t||(t=await ue(e,{requiredNamespaces:{},optionalNamespaces:o},{envs:n.envs})),t}r(j,"tryConnect");async function G(e,n){let s=e.session.getAll(),o=e.pairing.getAll();s.forEach(t=>{if(t.topic===n||t.pairingTopic===n){let i=t.pairingTopic===n?t.pairingTopic:t.topic;e.core.expirer.set(i,0)}}),o.forEach(t=>{t.topic===n&&e.core.expirer.set(n,0)})}r(G,"cleanupSingleSession");async function A(e){let n=[],s=e.session.getAll();for(let t of s)n.push(e.disconnect({topic:t.topic,reason:F("USER_DISCONNECTED")}));let o=e.pairing.getAll();for(let t of o)n.push(e.disconnect({topic:t.topic,reason:F("USER_DISCONNECTED")}));return T(e,void 0),await Promise.all(n)}r(A,"disconnectSessions");function z(e){return Object.values(e.namespaces).map(s=>s.accounts).flat().map(s=>{let{address:o,chainId:t}=new q(s),i=Q(t.reference);return{address:o,chainId:i}})}r(z,"getAccountsFromSession");function J(e){return Object.values(e.params.namespaces).map(s=>s.accounts).flat().map(s=>{let{address:o,chainId:t}=new q(s);return{accounts:[o],chainId:t.namespace==="solana"?le.SOLANA:t.reference}})}r(J,"getAccountsFromEvent");async function V(e,n,s,o){let t=e.session,i=t.namespaces,a=!1,c=i.eip155.accounts,l=X(e),m=w(n,l,o);c.includes(m)||(c.push(m),a=!0);let d=w(s,l,o);if(c.includes(d)||(c.push(d),a=!0),a){let u={...i,eip155:{...i.eip155,accounts:c}};await e.client.session.update({topic:t.topic,namespaces:u}).catch(p=>{console.log(p)})}}r(V,"updateSessionAccounts");function $(e){let n=["trust","1inch"],s=e?.session?.peer?.metadata?.name;return n.some(o=>s?.toLowerCase()?.includes(o))}r($,"ignoreNamespaceMethods");async function T(e,n){return e.core.storage.setItem(E,{defaultChainId:n?parseInt(n):""})}r(T,"persistCurrentChainId");async function K(e){try{let n=(await e.core.storage.getItem(E))?.defaultChainId;return n?String(n):void 0}catch{return}}r(K,"getPersistedChainId");var v;function ne(e){v||(v=new g({projectId:e,themeMode:"light",themeVariables:{"--wcm-z-index":"999999999"}}))}r(ne,"createModalInstance");function y(){return v}r(y,"getModal");function Y(e){let s=Se(e).map(t=>new N({namespace:"eip155",reference:String(parseInt(t.chainId))}).toString());return{eip155:{methods:L,events:D,chains:s}}}r(Y,"generateOptionalNamespace");function Q(e){return e===b?Ee.SOLANA:e}r(Q,"solanaChainIdToNetworkName");async function te(e,n,s,o){if(e.method==="eth_chainId"){let t=I(n),i=Object.values(t.namespaces).map(c=>c.chains).flat(),a=o().network;if(i.length>0){let c=a?M(a,s):void 0;if(c)return c;let m=i[0];return new N(m).reference}throw new Error("Couldn't find any chain on namespace")}throw new Error("Dissallowed method:",e)}r(te,"simulateRequest");function M(e,n){let o=n.find(i=>i.name===e)?.chainId;return o?String(parseInt(o)):void 0}r(M,"getChainIdByNetworkName");async function se(e,n,s,o){let t=e.filter(ye),a=Ce(t)[n],l=e.find(p=>p.name===n)?.chainId,m=M(s,e),d=N.format({namespace:"eip155",reference:String(m)}),u=o.session;try{await o.client.request({topic:u.topic,request:{method:"wallet_switchEthereumChain",params:[{chainId:l}]},chainId:d})}catch(p){if(p?.code===4902||p?.message?.includes(String(4902)))await o.client.request({topic:u.topic,request:{method:"wallet_addEthereumChain",params:[a]},chainId:d});else throw p}}r(se,"switchOrAddEvmChain");function X(e){return e.session.namespaces.eip155.accounts?.map(n=>new ee(n).address)?.filter(n=>Z(n))?.[0]}r(X,"getCurrentEvmAccountAddress");function w(e,n,s){let o=M(e,s);return ee.format({chainId:{namespace:"eip155",reference:String(o)},address:n})}r(w,"getEvmAccount");function oe(e,n){let s=!1;return e.filter(({address:o,chainId:t})=>{if(Z(o)){if(n&&t!==n)return!1;if(!n){if(s)return!1;s=!0}}return!0}).map(({address:o,chainId:t})=>({accounts:[o],chainId:t}))}r(oe,"filterEvmAccounts");import{retryLazyImport as _}from"@rango-dev/wallets-shared";import{DefaultSignerFactory as we,TransactionType as k}from"rango-types";async function x(e){if(!e.session)throw new Error("Session is required for wallet connect signers.");let n=new we,s=(await _(async()=>await import("./evm-MYSQOTV5.js"))).default,o=(await _(async()=>await import("./cosmos-I3Z34UI3.js"))).default,t=(await _(async()=>await import("./solana-35I33VLX.js"))).default;return n.registerSigner(k.EVM,new s(e.client,e.session)),n.registerSigner(k.COSMOS,new o(e.client,e.session)),n.registerSigner(k.SOLANA,new t(e.client,e.session)),n}r(x,"getSigners");var Me=Te.WALLET_CONNECT_2,f={WC_PROJECT_ID:"",DISABLE_MODAL_AND_OPEN_LINK:void 0},an=r(e=>{f=e,ne(f.WC_PROJECT_ID)},"init"),cn={type:Me,checkInstallation:!1,isAsyncInstance:!0,defaultNetwork:W,isAsyncSwitchNetwork:!0},pn=r(async e=>{let{currentProvider:n,getState:s,meta:o}=e,t;if(n)t=n;else{if(!f.WC_PROJECT_ID)throw new Error("You need to set `WC_PROJECT_ID` in Wallet Connect provider.");t=await ve.init({relayUrl:B,projectId:f.WC_PROJECT_ID,metadata:R})}return{client:t,session:null,request:async i=>te(i,t,o,s)}},"getInstance"),ln=r(async({instance:e,meta:n})=>{let{client:s}=e,o=await j(s,{meta:n,envs:f});e.session=o;let t=await K(s),i=z(o);return oe(i,t)},"connect"),mn=r(({instance:e,updateChainId:n,updateAccounts:s,disconnect:o})=>{let{client:t}=e;t.on("session_update",i=>{J(i).forEach(c=>{s(c.accounts,c.chainId)})}),t.on("session_event",i=>{if(i.params.event.name==="accountsChanged"){let a=i.params.event.data.map(l=>new Ne(l).address),c=ie.parse(i.params.chainId).reference;s(a),n(c)}else if(i.params.event.name==="chainChanged"){let a=i.params.event.data;n(a),T(e.client,a)}else console.log("[WC2] session_event not supported",i.params.event)}),t.on("session_delete",async i=>{console.log("[WC2] your wallet has requested to delete session.",i),G(t,i.topic),o()})},"subscribe"),dn=r(async({network:e,instance:n,meta:s,getState:o,updateChainId:t})=>{let a=ae(s).find(p=>p.name===e)?.chainId;if(!a){let p=new Error(`There is no match for ${a}`);throw re(p),p}let c=new ie({namespace:"eip155",reference:String(parseInt(a))}).toString(),m=n.session.namespaces.eip155,d=m?.chains||[];if((m?.methods||[]).includes("wallet_switchEthereumChain")&&!$(n)){let p=o?.().network||Ae.ETHEREUM;await V(n,e,p,s),await se(s,e,p,n)}else if(d.includes(c)){t(a);return}else{let p=new Error(`Chain ${a} is not configured.`);throw re(p),p}},"switchNetwork"),un=r(()=>!0,"canSwitchNetworkTo"),fn=r(async({instance:e})=>{let{client:n}=e;n&&A(n).catch(s=>Ie(s))},"disconnect"),hn=x,gn=r(e=>({name:"WalletConnect",img:"https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/walletconnect/icon.svg",installLink:"",color:"#b2dbff",supportedChains:ae(e),showOnMobile:!0,mobileWallet:!0}),"getWalletInfo");export{un as canSwitchNetworkTo,cn as config,ln as connect,fn as disconnect,pn as getInstance,hn as getSigners,gn as getWalletInfo,an as init,mn as subscribe,dn as switchNetwork};
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/index.ts", "../src/helpers.ts", "../../../node_modules/@walletconnect/modal/src/client.ts", "../src/session.ts", "../src/signer.ts"],
4
- "sourcesContent": ["import type { Environments, WCInstance } from './types.js';\nimport type {\n CanSwitchNetwork,\n Connect,\n Disconnect,\n GetInstance,\n Subscribe,\n SwitchNetwork,\n WalletConfig,\n WalletInfo,\n} from '@rango-dev/wallets-shared';\nimport type { ISignClient } from '@walletconnect/types';\nimport type { BlockchainMeta, SignerFactory } from 'rango-types';\n\nimport { debug, error as logError } from '@rango-dev/logging-core';\nimport { Networks, WalletTypes } from '@rango-dev/wallets-shared';\nimport Client from '@walletconnect/sign-client';\nimport { AccountId, ChainId } from 'caip';\nimport { evmBlockchains } from 'rango-types';\n\nimport {\n DEFAULT_APP_METADATA,\n DEFAULT_NETWORK,\n EthereumEvents,\n EthereumRPCMethods,\n NAMESPACES,\n RELAY_URL,\n} from './constants.js';\nimport {\n createModalInstance,\n filterEvmAccounts,\n simulateRequest,\n switchOrAddEvmChain,\n} from './helpers.js';\nimport {\n cleanupSingleSession,\n disconnectSessions,\n getAccountsFromEvent,\n getAccountsFromSession,\n getPersistedChainId,\n ignoreNamespaceMethods,\n persistCurrentChainId,\n tryConnect,\n updateSessionAccounts,\n} from './session.js';\nimport signer from './signer.js';\n\nconst WALLET = WalletTypes.WALLET_CONNECT_2;\n\nlet envs: Environments = {\n WC_PROJECT_ID: '',\n DISABLE_MODAL_AND_OPEN_LINK: undefined,\n};\n\nexport type { Environments };\n\nexport const init = (environments: Environments) => {\n envs = environments;\n\n createModalInstance(envs.WC_PROJECT_ID);\n};\n\nexport const config: WalletConfig = {\n type: WALLET,\n checkInstallation: false,\n isAsyncInstance: true,\n defaultNetwork: DEFAULT_NETWORK,\n isAsyncSwitchNetwork: true,\n};\n\nexport const getInstance: GetInstance = async (options) => {\n const { currentProvider, getState, meta } = options;\n\n /*\n * Create a new pair, if exists use the pair,\n * Or use the already created one.\n */\n let provider: ISignClient;\n if (!currentProvider) {\n if (!envs.WC_PROJECT_ID) {\n throw new Error(\n 'You need to set `WC_PROJECT_ID` in Wallet Connect provider.'\n );\n }\n provider = await Client.init({\n relayUrl: RELAY_URL,\n projectId: envs.WC_PROJECT_ID,\n metadata: DEFAULT_APP_METADATA,\n });\n } else {\n provider = currentProvider;\n }\n\n return {\n client: provider,\n session: null,\n request: async (params: any) =>\n simulateRequest(params, provider, meta, getState),\n };\n};\n\nexport const connect: Connect = async ({ instance, meta }) => {\n const { client } = instance as WCInstance;\n // Try to restore the session first, if couldn't, create a new session by showing a modal.\n const session = await tryConnect(client, { meta, envs });\n // Override the value (session).\n instance.session = session;\n const currentChainId = await getPersistedChainId(client);\n const accounts = getAccountsFromSession(session);\n return filterEvmAccounts(accounts, currentChainId);\n};\n\nexport const subscribe: Subscribe = ({\n instance,\n updateChainId,\n updateAccounts,\n disconnect,\n}) => {\n const { client } = instance as WCInstance;\n\n /**\n * Session events refrence:\n * https://docs.walletconnect.com/2.0/specs/clients/sign/session-events\n */\n\n // Listen to updating the session by adding a new chain, method, or event\n client.on('session_update', (args) => {\n const allAccounts = getAccountsFromEvent(args);\n allAccounts.forEach((accountsWithChain) => {\n updateAccounts(accountsWithChain.accounts, accountsWithChain.chainId);\n });\n });\n\n // Listen to events triggred by wallet. (e.g. accountsChanged and chainChanged)\n client.on('session_event', (args) => {\n if (args.params.event.name === EthereumEvents.ACCOUNTS_CHANGED) {\n const accounts = args.params.event.data.map((account: string) => {\n return new AccountId(account).address;\n });\n const chainId = ChainId.parse(args.params.chainId).reference;\n updateAccounts(accounts);\n updateChainId(chainId);\n } else if (args.params.event.name === EthereumEvents.CHAIN_CHANGED) {\n const chainId = args.params.event.data;\n updateChainId(chainId);\n void persistCurrentChainId(instance.client, chainId);\n } else {\n console.log('[WC2] session_event not supported', args.params.event);\n }\n });\n\n client.on('session_delete', async (event) => {\n console.log('[WC2] your wallet has requested to delete session.', event);\n void cleanupSingleSession(client, event.topic);\n disconnect();\n });\n};\n\nexport const switchNetwork: SwitchNetwork = async ({\n network,\n instance,\n meta,\n getState,\n updateChainId,\n}) => {\n const evm = evmBlockchains(meta);\n const chainId = evm.find((chain) => chain.name === network)?.chainId;\n if (!chainId) {\n const error = new Error(`There is no match for ${chainId}`);\n logError(error);\n throw error;\n }\n const chaindIdStr = new ChainId({\n namespace: NAMESPACES.ETHEREUM,\n reference: String(parseInt(chainId)),\n }).toString();\n\n const session = instance.session;\n const evmNamespace = session.namespaces[NAMESPACES.ETHEREUM];\n const authorizedChains = evmNamespace?.chains || [];\n const authorizedMethods = evmNamespace?.methods || [];\n\n if (\n authorizedMethods.includes(EthereumRPCMethods.SWITCH_CHAIN) &&\n !ignoreNamespaceMethods(instance)\n ) {\n const currentNetwork = getState?.().network || Networks.ETHEREUM;\n await updateSessionAccounts(instance, network, currentNetwork, meta);\n await switchOrAddEvmChain(meta, network, currentNetwork, instance);\n } else if (authorizedChains.includes(chaindIdStr)) {\n updateChainId(chainId);\n return;\n } else {\n const error = new Error(`Chain ${chainId} is not configured.`);\n logError(error);\n throw error;\n }\n};\n\n/**\n *\n * Note:\n * There is no straight-forward way to detect the wallet supports which blockchain,\n * So we send request to wallet and expect to be rejected on the wallet if it's not supported.\n *\n */\nexport const canSwitchNetworkTo: CanSwitchNetwork = () => true;\n\nexport const disconnect: Disconnect = async ({ instance }) => {\n const { client } = instance as WCInstance;\n\n if (client) {\n void disconnectSessions(client).catch((error) => debug(error));\n }\n};\n\nexport const getSigners: (provider: WCInstance) => Promise<SignerFactory> =\n signer;\n\nexport const getWalletInfo: (allBlockChains: BlockchainMeta[]) => WalletInfo = (\n allBlockChains\n) => {\n const evms = evmBlockchains(allBlockChains);\n return {\n name: 'WalletConnect',\n img: 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/walletconnect/icon.svg',\n installLink: '',\n color: '#b2dbff',\n supportedChains: evms,\n showOnMobile: true,\n mobileWallet: true,\n };\n};\n", "import type { WalletConnectModal as WalletConnectModalType } from './wc-types.js';\nimport type { WalletState } from '@rango-dev/wallets-shared';\nimport type { ProposalTypes } from '@walletconnect/types';\nimport type { BlockchainMeta } from 'rango-types';\n\nimport {\n convertEvmBlockchainMetaToEvmChainInfo,\n isEvmAddress,\n Networks,\n} from '@rango-dev/wallets-shared';\nimport { WalletConnectModal } from '@walletconnect/modal';\nimport { AccountId, ChainId } from 'caip';\nimport { evmBlockchains, isEvmBlockchain } from 'rango-types';\n\nimport {\n DEFAULT_ETHEREUM_EVENTS,\n DEFAULT_ETHEREUM_METHODS,\n DEFAULT_SOLANA_CHAIN_ID,\n EthereumRPCMethods,\n NAMESPACES,\n} from './constants.js';\nimport { getLastSession } from './session.js';\n\nlet web3Modal: WalletConnectModalType;\nexport function createModalInstance(projectId: string) {\n if (!web3Modal) {\n web3Modal = new WalletConnectModal({\n projectId,\n themeMode: 'light',\n themeVariables: {\n '--wcm-z-index': '999999999',\n },\n }) as unknown as WalletConnectModalType;\n }\n}\n\nexport function getModal(): WalletConnectModalType {\n return web3Modal;\n}\n\ntype FinalNamespaces = {\n [key in NAMESPACES]?: ProposalTypes.BaseRequiredNamespace;\n};\n\n/*\n * Some wallets like 1inch (android) has problem when we pass cosmos chains in optional namespace\n * Also some wallets like keplr mobile doesn't work when we don't pass cosmos chains in required namespace\n * It seems to be a bug in their current implementation.\n */\nexport function generateOptionalNamespace(\n meta: BlockchainMeta[]\n): FinalNamespaces | undefined {\n const evm = evmBlockchains(meta);\n const evmChains = evm.map((chain) => {\n return new ChainId({\n namespace: NAMESPACES.ETHEREUM,\n reference: String(parseInt(chain.chainId)),\n }).toString();\n });\n\n const namespaces: FinalNamespaces = {\n [NAMESPACES.ETHEREUM]: {\n methods: DEFAULT_ETHEREUM_METHODS,\n events: DEFAULT_ETHEREUM_EVENTS,\n chains: evmChains,\n },\n };\n return namespaces;\n}\n\nexport function solanaChainIdToNetworkName(chainId: string): string {\n return chainId === DEFAULT_SOLANA_CHAIN_ID ? Networks.SOLANA : chainId;\n}\n\n/**\n *\n * In `rango-preset` we are working with `window.ethereum.request()`,\n * this is an interceptor for some RPC methods (e.g. eth_chainId).\n *\n */\nexport async function simulateRequest(\n params: any,\n provider: any,\n meta: BlockchainMeta[],\n getState: () => WalletState\n) {\n if (params.method === 'eth_chainId') {\n const currentSession = getLastSession(provider);\n const standaloneChains = Object.values(currentSession.namespaces)\n .map((namespace) => namespace.chains)\n .flat() as string[];\n\n const network = getState().network;\n\n if (standaloneChains.length > 0) {\n const chainId = network\n ? getChainIdByNetworkName(network, meta)\n : undefined;\n\n if (chainId) {\n return chainId;\n }\n\n const firstIndex = 0;\n const firstChain = standaloneChains[firstIndex];\n const firstChainId = new ChainId(firstChain);\n return firstChainId.reference;\n }\n\n throw new Error(`Couldn't find any chain on namespace`);\n }\n throw new Error('Dissallowed method:', params);\n}\n\nexport function getChainIdByNetworkName(\n network: string,\n meta: BlockchainMeta[]\n): string | undefined {\n const targetBlockchain = meta.find(\n (blockchain) => blockchain.name === network\n );\n const chainIdInHex = targetBlockchain?.chainId;\n if (!chainIdInHex) {\n return undefined;\n }\n\n const chainId = String(parseInt(chainIdInHex));\n\n return chainId;\n}\n\nexport async function switchOrAddEvmChain(\n meta: BlockchainMeta[],\n requestedNetwork: string,\n currentNetwork: string,\n instance: any\n) {\n const evmBlockchains = meta.filter(isEvmBlockchain);\n const evmNetworksChainInfo =\n convertEvmBlockchainMetaToEvmChainInfo(evmBlockchains);\n const targetChain = evmNetworksChainInfo[requestedNetwork];\n const targetBlockchain = meta.find(\n (blockchain: BlockchainMeta) => blockchain.name === requestedNetwork\n );\n const chainIdInHex = targetBlockchain?.chainId;\n\n const currentChainId = getChainIdByNetworkName(currentNetwork, meta);\n const currentChainEip = ChainId.format({\n namespace: NAMESPACES.ETHEREUM,\n reference: String(currentChainId),\n });\n\n const session = instance.session;\n\n try {\n await instance.client.request({\n topic: session.topic,\n request: {\n method: EthereumRPCMethods.SWITCH_CHAIN,\n params: [\n {\n chainId: chainIdInHex,\n },\n ],\n },\n // It's required to pass current chain, otherwise it won't work\n chainId: currentChainEip,\n });\n } catch (err: any) {\n const addChainError = 4902;\n if (\n err?.code === addChainError ||\n err?.message?.includes(String(addChainError))\n ) {\n await instance.client.request({\n topic: session.topic,\n request: {\n method: EthereumRPCMethods.ADD_CHAIN,\n params: [targetChain],\n },\n // It's required to pass current chain, otherwise it won't work\n chainId: currentChainEip,\n });\n } else {\n throw err;\n }\n }\n}\n\nexport function getCurrentEvmAccountAddress(instance: any) {\n return instance.session.namespaces.eip155.accounts\n ?.map((account: string) => {\n return new AccountId(account).address;\n })\n ?.filter((address: string) => isEvmAddress(address))?.[0];\n}\n\nexport function getEvmAccount(\n network: string,\n address: string,\n meta: BlockchainMeta[]\n) {\n const currentChainId = getChainIdByNetworkName(network, meta);\n return AccountId.format({\n chainId: {\n namespace: NAMESPACES.ETHEREUM,\n reference: String(currentChainId),\n },\n address,\n });\n}\n\n// It's enough to return only connected network for the EVM networks and ignore others\nexport function filterEvmAccounts(\n accounts: {\n address: string;\n chainId: string;\n }[],\n currentChainId?: string\n) {\n let firstEvmAddress = false;\n return accounts\n .filter(({ address, chainId }) => {\n const isEvm = isEvmAddress(address);\n if (isEvm) {\n if (currentChainId && chainId !== currentChainId) {\n return false;\n }\n if (!currentChainId) {\n if (firstEvmAddress) {\n return false;\n }\n firstEvmAddress = true;\n }\n }\n return true;\n })\n .map(({ address, chainId }) => ({\n accounts: [address],\n chainId: chainId,\n }));\n}\n", "import type { ConfigCtrlState, ThemeCtrlState } from '@walletconnect/modal-core'\nimport { ConfigCtrl, ModalCtrl, OptionsCtrl, ThemeCtrl } from '@walletconnect/modal-core'\n\n/**\n * Types\n */\nexport type WalletConnectModalConfig = ConfigCtrlState & ThemeCtrlState\n\n/**\n * Client\n */\nexport class WalletConnectModal {\n public constructor(config: WalletConnectModalConfig) {\n ThemeCtrl.setThemeConfig(config)\n ConfigCtrl.setConfig(config)\n this.initUi()\n }\n\n private async initUi() {\n if (typeof window !== 'undefined') {\n await import('@walletconnect/modal-ui')\n const modal = document.createElement('wcm-modal')\n document.body.insertAdjacentElement('beforeend', modal)\n OptionsCtrl.setIsUiLoaded(true)\n }\n }\n\n public openModal = ModalCtrl.open\n\n public closeModal = ModalCtrl.close\n\n public subscribeModal = ModalCtrl.subscribe\n\n public setTheme = ThemeCtrl.setThemeConfig\n}\n", "import type {\n ConnectParams,\n CreateSessionParams,\n Environments,\n} from './types.js';\nimport type { SignClient } from '@walletconnect/sign-client/dist/types/client';\nimport type {\n PairingTypes,\n SessionTypes,\n SignClientTypes,\n} from '@walletconnect/types';\nimport type { BlockchainMeta } from 'rango-types';\n\nimport { Networks, timeout } from '@rango-dev/wallets-shared';\nimport { getSdkError } from '@walletconnect/utils';\nimport { AccountId } from 'caip';\n\nimport { CHAIN_ID_STORAGE, PING_TIMEOUT } from './constants.js';\nimport {\n generateOptionalNamespace,\n getCurrentEvmAccountAddress,\n getEvmAccount,\n getModal,\n solanaChainIdToNetworkName,\n} from './helpers.js';\n\nexport function getLastSession(client: SignClient) {\n return client.session.values[client.session.values.length - 1];\n}\n\n/**\n *\n * Try to ping the wallet, if wallet responded with `pong`, session is a valid and we will use the session.\n * If the wallet didn't respond during 10 seconds (PING_TIME), we assume the wallet isn't available and we need to create a new session.\n *\n */\nexport async function restoreSession(\n client: SignClient,\n pairingTopic: PairingTypes.Struct['topic']\n): Promise<SessionTypes.Struct | undefined> {\n await timeout(\n client.ping({\n topic: pairingTopic,\n }),\n PING_TIMEOUT\n );\n\n // We assume last session is the correct session, beacuse we are doing clean up and keeps only one pairing/session.\n const session = getLastSession(client);\n return session;\n}\n\n/**\n *\n * Getting a pair of required and optional namespaces then tries to show a modal and connect (pair)\n * To the wallet.\n * @param client\n * @param options\n * @returns\n */\nexport async function createSession(\n client: SignClient,\n options: CreateSessionParams,\n configs: {\n envs: Environments;\n }\n): Promise<SessionTypes.Struct> {\n const { requiredNamespaces, optionalNamespaces, pairingTopic } = options;\n\n try {\n const { uri, approval } = await client.connect({\n requiredNamespaces,\n optionalNamespaces,\n pairingTopic,\n });\n\n // Open QRCode modal if a URI was returned (i.e. we're not connecting an existing pairing).\n let onCloseModal;\n if (uri) {\n /*\n * There are some wallets have been listed in WC itself (https://docs.walletconnect.com/cloud/explorer-submission),\n * Using `DISABLE_MODAL_AND_OPEN_LINK` option, we can directly open a specific desktop wallet.\n */\n const redirectLink = configs.envs.DISABLE_MODAL_AND_OPEN_LINK;\n if (redirectLink) {\n const url = `${redirectLink}/wc?uri=${encodeURIComponent(uri)}`;\n window.open(url, '_blank', 'noreferrer noopener');\n } else {\n // Create a flat array of all requested chains across namespaces.\n const allNamespaces = {\n ...(requiredNamespaces || {}),\n ...(optionalNamespaces || {}),\n };\n\n const standaloneChains = Object.values(allNamespaces)\n .map((namespace) => namespace.chains)\n .flat() as string[];\n\n const modal = getModal();\n void modal.openModal({ uri, chains: standaloneChains });\n\n onCloseModal = new Promise((_, reject) => {\n modal.subscribeModal((state) => {\n // the modal was closed so reject the promise\n if (!state.open) {\n reject(new Error('Modal has been closed.'));\n }\n });\n });\n }\n }\n\n const session = approval();\n\n if (onCloseModal) {\n const result = await Promise.race([session, onCloseModal]);\n // We know onClose only reject a modal and never returns a value.\n return result as SessionTypes.Struct;\n }\n return await session;\n } finally {\n getModal().closeModal();\n }\n}\n\n/**\n *\n * A user (client) can have multiple pairings (to different wallets), we are assuming\n * the last pairing is the active pairing for now. A better UX can be showing a list of pairings\n * and let the user to choose the right pairing manually. Because we don't have that yet, we will pick up the last one.\n *\n */\nexport function tryGetPairing(\n client: SignClient\n): PairingTypes.Struct | undefined {\n const pairings = client.pairing.getAll({ active: true });\n const lastPairing =\n pairings.length > 0 ? pairings[pairings.length - 1] : undefined;\n\n return lastPairing;\n}\n\n/**\n *\n * Try to restore the session first, if couldn't, create a new session by showing a modal.\n *\n */\nexport async function tryConnect(\n client: SignClient,\n params: ConnectParams\n): Promise<SessionTypes.Struct> {\n const { meta } = params;\n\n // We try to get all of our supported chains as optional.\n const optionalNamespaces = generateOptionalNamespace(meta);\n\n // Check if the user has a session, if yes, restore the session and use it.\n let session: SessionTypes.Struct | undefined;\n const pairing = tryGetPairing(client);\n if (pairing) {\n try {\n session = await restoreSession(client, pairing.topic);\n } catch (e) {\n await disconnectSessions(client);\n }\n }\n\n // In case of connecting for the first time or session couldn't be restored, we will create a new session.\n if (!session) {\n session = await createSession(\n client,\n {\n requiredNamespaces: {},\n optionalNamespaces,\n },\n {\n envs: params.envs,\n }\n );\n }\n\n return session;\n}\n\n/**\n *\n * Try to find sessions with a topic id and expire them.\n *\n */\nexport async function cleanupSingleSession(client: SignClient, topic: string) {\n const sessions = client.session.getAll();\n const pairings = client.pairing.getAll();\n\n sessions.forEach((session) => {\n if (session.topic === topic || session.pairingTopic === topic) {\n const requestForDeleteTopic =\n session.pairingTopic === topic ? session.pairingTopic : session.topic;\n client.core.expirer.set(requestForDeleteTopic, 0);\n }\n });\n\n pairings.forEach((pairing) => {\n if (pairing.topic === topic) {\n client.core.expirer.set(topic, 0);\n }\n });\n}\n\n/**\n *\n * Disconnect means to delete the session on both parties (dApp & wallet) at the same time.\n *\n */\nexport async function disconnectSessions(client: SignClient) {\n const allPromises = [];\n\n const sessions = client.session.getAll();\n for (const session of sessions) {\n allPromises.push(\n client.disconnect({\n topic: session.topic,\n reason: getSdkError('USER_DISCONNECTED'),\n })\n );\n }\n\n const pairings = client.pairing.getAll();\n for (const pairing of pairings) {\n allPromises.push(\n client.disconnect({\n topic: pairing.topic,\n reason: getSdkError('USER_DISCONNECTED'),\n })\n );\n }\n\n // reset the current chain id\n void persistCurrentChainId(client, undefined);\n\n return await Promise.all(allPromises);\n}\n\nexport function getAccountsFromSession(session: SessionTypes.Struct) {\n const accounts = Object.values(session.namespaces)\n .map((namespace) => namespace.accounts)\n .flat()\n .map((account) => {\n const { address, chainId } = new AccountId(account);\n /*\n * Note: Solana has a specific ID, we need to convert it back to network name.\n * It will return the chain id itslef if it's not that specific ID.\n */\n const chain = solanaChainIdToNetworkName(chainId.reference);\n return {\n address,\n chainId: chain,\n };\n });\n return accounts;\n}\n\nexport function getAccountsFromEvent(\n event: SignClientTypes.BaseEventArgs<{\n namespaces: SessionTypes.Namespaces;\n }>\n) {\n const accounts = Object.values(event.params.namespaces)\n .map((namespace) => namespace.accounts)\n .flat()\n .map((account) => {\n const { address, chainId } = new AccountId(account);\n return {\n accounts: [address],\n chainId:\n chainId.namespace === 'solana' ? Networks.SOLANA : chainId.reference,\n };\n });\n\n return accounts;\n}\n\n/*\n * Before switch network, we need to update session namespace accounts\n * to contain both current chain and target chain accoutns.\n */\nexport async function updateSessionAccounts(\n instance: any,\n requestedNetwork: string,\n currentNetwork: string,\n meta: BlockchainMeta[]\n) {\n const session = instance.session;\n\n const namespaces = session.namespaces;\n let needUpdateNamepspace = false;\n const accounts = namespaces.eip155.accounts;\n\n const currentAccountAddress = getCurrentEvmAccountAddress(instance);\n const requestedAccount = getEvmAccount(\n requestedNetwork,\n currentAccountAddress,\n meta\n );\n if (!accounts.includes(requestedAccount)) {\n accounts.push(requestedAccount);\n needUpdateNamepspace = true;\n }\n\n const currentAccount = getEvmAccount(\n currentNetwork,\n currentAccountAddress,\n meta\n );\n if (!accounts.includes(currentAccount)) {\n accounts.push(currentAccount);\n needUpdateNamepspace = true;\n }\n\n if (needUpdateNamepspace) {\n const updatedNamespaces = {\n ...namespaces,\n eip155: {\n ...namespaces.eip155,\n accounts,\n },\n };\n await instance.client.session\n .update({\n topic: session.topic,\n namespaces: updatedNamespaces,\n })\n .catch((err: unknown) => {\n console.log(err);\n });\n }\n}\n\n/*\n * Certain wallets, such as Trust Wallet and 1inch, are providing incorrect methods in\n * response to session proposal requests. These wallets do not support certain optional\n * RPC methods like \"wallet_xyz,\" but they include them in the response under the session namespace.\n * For the time being, we should avoid their session namespace response.\n * see also: https://github.com/trustwallet/wallet-core/issues/3588\n */\nexport function ignoreNamespaceMethods(instance: any): boolean {\n const WALLETS_WITH_WRONG_NAMESPACE_METHODS = ['trust', '1inch'];\n const peerName = instance?.session?.peer?.metadata?.name;\n return WALLETS_WITH_WRONG_NAMESPACE_METHODS.some((name) =>\n peerName?.toLowerCase()?.includes(name)\n );\n}\n\nexport async function persistCurrentChainId(\n client: SignClient,\n chainId?: string\n) {\n return client.core.storage.setItem(CHAIN_ID_STORAGE, {\n defaultChainId: chainId ? parseInt(chainId) : '',\n });\n}\n\n/*\n * get the latest chain id from the storage,\n * used for setting current chain id in session reconnect.\n */\nexport async function getPersistedChainId(client: SignClient) {\n try {\n const chainId = (await client.core.storage.getItem(CHAIN_ID_STORAGE))\n ?.defaultChainId;\n return !!chainId ? String(chainId) : undefined;\n } catch {\n return undefined;\n }\n}\n", "import type { WCInstance } from './types.js';\nimport type { SignerFactory } from 'rango-types';\n\nimport { DefaultSignerFactory, TransactionType as TxType } from 'rango-types';\n\nexport default async function getSigners(\n instance: WCInstance\n): Promise<SignerFactory> {\n if (!instance.session) {\n throw new Error('Session is required for wallet connect signers.');\n }\n\n const signers = new DefaultSignerFactory();\n const EVMSigner = (await import('./signers/evm.js')).default;\n const COSMOSSigner = (await import('./signers/cosmos.js')).default;\n const SOLANASigner = (await import('./signers/solana.js')).default;\n\n signers.registerSigner(\n TxType.EVM,\n new EVMSigner(instance.client, instance.session)\n );\n signers.registerSigner(\n TxType.COSMOS,\n new COSMOSSigner(instance.client, instance.session)\n );\n signers.registerSigner(\n TxType.SOLANA,\n new SOLANASigner(instance.client, instance.session)\n );\n\n return signers;\n}\n"],
5
- "mappings": "8LAcA,OAAS,SAAAA,GAAO,SAASC,OAAgB,0BACzC,OAAS,YAAAC,GAAU,eAAAC,OAAmB,4BACtC,OAAOC,OAAY,6BACnB,OAAS,aAAAC,GAAW,WAAAC,OAAe,OACnC,OAAS,kBAAAC,OAAsB,cCb/B,OACE,0CAAAC,GACA,gBAAAC,EACA,YAAAC,OACK,4BCEM,IAAAC,EAAA,KAAmB,OAAA,CAAAC,EAAA,UACvB,YAAYC,EAAkC,CAerD,KAAO,UAAYC,EAAU,KAE7B,KAAO,WAAaA,EAAU,MAE9B,KAAO,eAAiBA,EAAU,UAElC,KAAO,SAAWC,EAAU,eApB1BA,EAAU,eAAeF,CAAM,EAC/BG,EAAW,UAAUH,CAAM,EAC3B,KAAK,OAAA,CACP,CAEA,MAAc,QAAS,CACrB,GAAI,OAAO,OAAW,IAAa,CACjC,KAAa,QAAA,oBAAyB,EACtC,IAAMI,EAAQ,SAAS,cAAc,WAAW,EAChD,SAAS,KAAK,sBAAsB,YAAaA,CAAK,EACtDC,EAAY,cAAc,EAAI,CAAA,CAElC,CASF,EDvBA,OAAS,aAAAC,EAAW,WAAAC,MAAe,OACnC,OAAS,kBAAAC,GAAgB,mBAAAC,OAAuB,cEChD,OAAS,YAAAC,GAAU,WAAAC,OAAe,4BAClC,OAAS,eAAAC,MAAmB,uBAC5B,OAAS,aAAAC,MAAiB,OAWnB,SAASC,EAAeC,EAAoB,CACjD,OAAOA,EAAO,QAAQ,OAAOA,EAAO,QAAQ,OAAO,OAAS,CAAC,CAC/D,CAFgBC,EAAAF,EAAA,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AAO0B,GAAUY,GAAMZ,CAAK,CAAC,CAEjE,EANsC,cAQzBa,GACXA,EAEWC,GAAkE1D,EAC7E2D,IAGO,CACL,KAAM,gBACN,IAAK,8FACL,YAAa,GACb,MAAO,UACP,gBANWjB,GAAeiB,CAAc,EAOxC,aAAc,GACd,aAAc,EAChB,GAZ6E",
6
- "names": ["debug", "logError", "Networks", "WalletTypes", "Client", "AccountId", "ChainId", "evmBlockchains", "convertEvmBlockchainMetaToEvmChainInfo", "isEvmAddress", "Networks", "WalletConnectModal", "__name", "config", "ModalCtrl", "ThemeCtrl", "ConfigCtrl", "modal", "OptionsCtrl", "AccountId", "ChainId", "evmBlockchains", "isEvmBlockchain", "Networks", "timeout", "getSdkError", "AccountId", "getLastSession", "client", "__name", "restoreSession", "pairingTopic", "timeout", "PING_TIMEOUT", "createSession", "options", "configs", "requiredNamespaces", "optionalNamespaces", "uri", "approval", "onCloseModal", "redirectLink", "url", "allNamespaces", "standaloneChains", "namespace", "modal", "getModal", "_", "reject", "state", "session", "tryGetPairing", "pairings", "tryConnect", "params", "meta", "generateOptionalNamespace", "pairing", "disconnectSessions", "cleanupSingleSession", "topic", "sessions", "requestForDeleteTopic", "allPromises", "getSdkError", "persistCurrentChainId", "getAccountsFromSession", "account", "address", "chainId", "AccountId", "chain", "solanaChainIdToNetworkName", "getAccountsFromEvent", "event", "Networks", "updateSessionAccounts", "instance", "requestedNetwork", "currentNetwork", "namespaces", "needUpdateNamepspace", "accounts", "currentAccountAddress", "getCurrentEvmAccountAddress", "requestedAccount", "getEvmAccount", "currentAccount", "updatedNamespaces", "err", "ignoreNamespaceMethods", "WALLETS_WITH_WRONG_NAMESPACE_METHODS", "peerName", "name", "CHAIN_ID_STORAGE", "getPersistedChainId", "web3Modal", "createModalInstance", "projectId", "d", "__name", "getModal", "generateOptionalNamespace", "meta", "evmChains", "evmBlockchains", "chain", "ChainId", "DEFAULT_ETHEREUM_METHODS", "DEFAULT_ETHEREUM_EVENTS", "solanaChainIdToNetworkName", "chainId", "DEFAULT_SOLANA_CHAIN_ID", "Networks", "simulateRequest", "params", "provider", "getState", "currentSession", "getLastSession", "standaloneChains", "namespace", "network", "getChainIdByNetworkName", "firstChain", "chainIdInHex", "blockchain", "switchOrAddEvmChain", "requestedNetwork", "currentNetwork", "instance", "isEvmBlockchain", "targetChain", "convertEvmBlockchainMetaToEvmChainInfo", "currentChainId", "currentChainEip", "session", "err", "getCurrentEvmAccountAddress", "account", "AccountId", "address", "isEvmAddress", "getEvmAccount", "filterEvmAccounts", "accounts", "firstEvmAddress", "DefaultSignerFactory", "TxType", "getSigners", "instance", "signers", "DefaultSignerFactory", "EVMSigner", "COSMOSSigner", "SOLANASigner", "TxType", "__name", "WALLET", "WalletTypes", "envs", "init", "__name", "environments", "createModalInstance", "config", "DEFAULT_NETWORK", "getInstance", "options", "currentProvider", "getState", "meta", "provider", "Client", "RELAY_URL", "DEFAULT_APP_METADATA", "params", "simulateRequest", "connect", "instance", "client", "session", "tryConnect", "currentChainId", "getPersistedChainId", "accounts", "getAccountsFromSession", "filterEvmAccounts", "subscribe", "updateChainId", "updateAccounts", "disconnect", "args", "getAccountsFromEvent", "accountsWithChain", "account", "AccountId", "chainId", "ChainId", "persistCurrentChainId", "event", "cleanupSingleSession", "switchNetwork", "network", "evmBlockchains", "chain", "error", "logError", "chaindIdStr", "evmNamespace", "authorizedChains", "ignoreNamespaceMethods", "currentNetwork", "Networks", "updateSessionAccounts", "switchOrAddEvmChain", "canSwitchNetworkTo", "disconnectSessions", "debug", "getSigners", "getWalletInfo", "allBlockChains"]
4
+ "sourcesContent": ["import type { Environments, WCInstance } from './types.js';\nimport type {\n CanSwitchNetwork,\n Connect,\n Disconnect,\n GetInstance,\n Subscribe,\n SwitchNetwork,\n WalletConfig,\n WalletInfo,\n} from '@rango-dev/wallets-shared';\nimport type { ISignClient } from '@walletconnect/types';\nimport type { BlockchainMeta, SignerFactory } from 'rango-types';\n\nimport { debug, error as logError } from '@rango-dev/logging-core';\nimport { Networks, WalletTypes } from '@rango-dev/wallets-shared';\nimport Client from '@walletconnect/sign-client';\nimport { AccountId, ChainId } from 'caip';\nimport { evmBlockchains } from 'rango-types';\n\nimport {\n DEFAULT_APP_METADATA,\n DEFAULT_NETWORK,\n EthereumEvents,\n EthereumRPCMethods,\n NAMESPACES,\n RELAY_URL,\n} from './constants.js';\nimport {\n createModalInstance,\n filterEvmAccounts,\n simulateRequest,\n switchOrAddEvmChain,\n} from './helpers.js';\nimport {\n cleanupSingleSession,\n disconnectSessions,\n getAccountsFromEvent,\n getAccountsFromSession,\n getPersistedChainId,\n ignoreNamespaceMethods,\n persistCurrentChainId,\n tryConnect,\n updateSessionAccounts,\n} from './session.js';\nimport signer from './signer.js';\n\nconst WALLET = WalletTypes.WALLET_CONNECT_2;\n\nlet envs: Environments = {\n WC_PROJECT_ID: '',\n DISABLE_MODAL_AND_OPEN_LINK: undefined,\n};\n\nexport type { Environments };\n\nexport const init = (environments: Environments) => {\n envs = environments;\n\n createModalInstance(envs.WC_PROJECT_ID);\n};\n\nexport const config: WalletConfig = {\n type: WALLET,\n checkInstallation: false,\n isAsyncInstance: true,\n defaultNetwork: DEFAULT_NETWORK,\n isAsyncSwitchNetwork: true,\n};\n\nexport const getInstance: GetInstance = async (options) => {\n const { currentProvider, getState, meta } = options;\n\n /*\n * Create a new pair, if exists use the pair,\n * Or use the already created one.\n */\n let provider: ISignClient;\n if (!currentProvider) {\n if (!envs.WC_PROJECT_ID) {\n throw new Error(\n 'You need to set `WC_PROJECT_ID` in Wallet Connect provider.'\n );\n }\n provider = await Client.init({\n relayUrl: RELAY_URL,\n projectId: envs.WC_PROJECT_ID,\n metadata: DEFAULT_APP_METADATA,\n });\n } else {\n provider = currentProvider;\n }\n\n return {\n client: provider,\n session: null,\n request: async (params: any) =>\n simulateRequest(params, provider, meta, getState),\n };\n};\n\nexport const connect: Connect = async ({ instance, meta }) => {\n const { client } = instance as WCInstance;\n // Try to restore the session first, if couldn't, create a new session by showing a modal.\n const session = await tryConnect(client, { meta, envs });\n // Override the value (session).\n instance.session = session;\n const currentChainId = await getPersistedChainId(client);\n const accounts = getAccountsFromSession(session);\n return filterEvmAccounts(accounts, currentChainId);\n};\n\nexport const subscribe: Subscribe = ({\n instance,\n updateChainId,\n updateAccounts,\n disconnect,\n}) => {\n const { client } = instance as WCInstance;\n\n /**\n * Session events refrence:\n * https://docs.walletconnect.com/2.0/specs/clients/sign/session-events\n */\n\n // Listen to updating the session by adding a new chain, method, or event\n client.on('session_update', (args) => {\n const allAccounts = getAccountsFromEvent(args);\n allAccounts.forEach((accountsWithChain) => {\n updateAccounts(accountsWithChain.accounts, accountsWithChain.chainId);\n });\n });\n\n // Listen to events triggred by wallet. (e.g. accountsChanged and chainChanged)\n client.on('session_event', (args) => {\n if (args.params.event.name === EthereumEvents.ACCOUNTS_CHANGED) {\n const accounts = args.params.event.data.map((account: string) => {\n return new AccountId(account).address;\n });\n const chainId = ChainId.parse(args.params.chainId).reference;\n updateAccounts(accounts);\n updateChainId(chainId);\n } else if (args.params.event.name === EthereumEvents.CHAIN_CHANGED) {\n const chainId = args.params.event.data;\n updateChainId(chainId);\n void persistCurrentChainId(instance.client, chainId);\n } else {\n console.log('[WC2] session_event not supported', args.params.event);\n }\n });\n\n client.on('session_delete', async (event) => {\n console.log('[WC2] your wallet has requested to delete session.', event);\n void cleanupSingleSession(client, event.topic);\n disconnect();\n });\n};\n\nexport const switchNetwork: SwitchNetwork = async ({\n network,\n instance,\n meta,\n getState,\n updateChainId,\n}) => {\n const evm = evmBlockchains(meta);\n const chainId = evm.find((chain) => chain.name === network)?.chainId;\n if (!chainId) {\n const error = new Error(`There is no match for ${chainId}`);\n logError(error);\n throw error;\n }\n const chaindIdStr = new ChainId({\n namespace: NAMESPACES.ETHEREUM,\n reference: String(parseInt(chainId)),\n }).toString();\n\n const session = instance.session;\n const evmNamespace = session.namespaces[NAMESPACES.ETHEREUM];\n const authorizedChains = evmNamespace?.chains || [];\n const authorizedMethods = evmNamespace?.methods || [];\n\n if (\n authorizedMethods.includes(EthereumRPCMethods.SWITCH_CHAIN) &&\n !ignoreNamespaceMethods(instance)\n ) {\n const currentNetwork = getState?.().network || Networks.ETHEREUM;\n await updateSessionAccounts(instance, network, currentNetwork, meta);\n await switchOrAddEvmChain(meta, network, currentNetwork, instance);\n } else if (authorizedChains.includes(chaindIdStr)) {\n updateChainId(chainId);\n return;\n } else {\n const error = new Error(`Chain ${chainId} is not configured.`);\n logError(error);\n throw error;\n }\n};\n\n/**\n *\n * Note:\n * There is no straight-forward way to detect the wallet supports which blockchain,\n * So we send request to wallet and expect to be rejected on the wallet if it's not supported.\n *\n */\nexport const canSwitchNetworkTo: CanSwitchNetwork = () => true;\n\nexport const disconnect: Disconnect = async ({ instance }) => {\n const { client } = instance as WCInstance;\n\n if (client) {\n void disconnectSessions(client).catch((error) => debug(error));\n }\n};\n\nexport const getSigners: (provider: WCInstance) => Promise<SignerFactory> =\n signer;\n\nexport const getWalletInfo: (allBlockChains: BlockchainMeta[]) => WalletInfo = (\n allBlockChains\n) => {\n const evms = evmBlockchains(allBlockChains);\n return {\n name: 'WalletConnect',\n img: 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/walletconnect/icon.svg',\n installLink: '',\n color: '#b2dbff',\n supportedChains: evms,\n showOnMobile: true,\n mobileWallet: true,\n };\n};\n", "import type { WalletConnectModal as WalletConnectModalType } from './wc-types.js';\nimport type { WalletState } from '@rango-dev/wallets-shared';\nimport type { ProposalTypes } from '@walletconnect/types';\nimport type { BlockchainMeta } from 'rango-types';\n\nimport {\n convertEvmBlockchainMetaToEvmChainInfo,\n isEvmAddress,\n Networks,\n} from '@rango-dev/wallets-shared';\nimport { WalletConnectModal } from '@walletconnect/modal';\nimport { AccountId, ChainId } from 'caip';\nimport { evmBlockchains, isEvmBlockchain } from 'rango-types';\n\nimport {\n DEFAULT_ETHEREUM_EVENTS,\n DEFAULT_ETHEREUM_METHODS,\n DEFAULT_SOLANA_CHAIN_ID,\n EthereumRPCMethods,\n NAMESPACES,\n} from './constants.js';\nimport { getLastSession } from './session.js';\n\nlet web3Modal: WalletConnectModalType;\nexport function createModalInstance(projectId: string) {\n if (!web3Modal) {\n web3Modal = new WalletConnectModal({\n projectId,\n themeMode: 'light',\n themeVariables: {\n '--wcm-z-index': '999999999',\n },\n }) as unknown as WalletConnectModalType;\n }\n}\n\nexport function getModal(): WalletConnectModalType {\n return web3Modal;\n}\n\ntype FinalNamespaces = {\n [key in NAMESPACES]?: ProposalTypes.BaseRequiredNamespace;\n};\n\n/*\n * Some wallets like 1inch (android) has problem when we pass cosmos chains in optional namespace\n * Also some wallets like keplr mobile doesn't work when we don't pass cosmos chains in required namespace\n * It seems to be a bug in their current implementation.\n */\nexport function generateOptionalNamespace(\n meta: BlockchainMeta[]\n): FinalNamespaces | undefined {\n const evm = evmBlockchains(meta);\n const evmChains = evm.map((chain) => {\n return new ChainId({\n namespace: NAMESPACES.ETHEREUM,\n reference: String(parseInt(chain.chainId)),\n }).toString();\n });\n\n const namespaces: FinalNamespaces = {\n [NAMESPACES.ETHEREUM]: {\n methods: DEFAULT_ETHEREUM_METHODS,\n events: DEFAULT_ETHEREUM_EVENTS,\n chains: evmChains,\n },\n };\n return namespaces;\n}\n\nexport function solanaChainIdToNetworkName(chainId: string): string {\n return chainId === DEFAULT_SOLANA_CHAIN_ID ? Networks.SOLANA : chainId;\n}\n\n/**\n *\n * In `rango-preset` we are working with `window.ethereum.request()`,\n * this is an interceptor for some RPC methods (e.g. eth_chainId).\n *\n */\nexport async function simulateRequest(\n params: any,\n provider: any,\n meta: BlockchainMeta[],\n getState: () => WalletState\n) {\n if (params.method === 'eth_chainId') {\n const currentSession = getLastSession(provider);\n const standaloneChains = Object.values(currentSession.namespaces)\n .map((namespace) => namespace.chains)\n .flat() as string[];\n\n const network = getState().network;\n\n if (standaloneChains.length > 0) {\n const chainId = network\n ? getChainIdByNetworkName(network, meta)\n : undefined;\n\n if (chainId) {\n return chainId;\n }\n\n const firstIndex = 0;\n const firstChain = standaloneChains[firstIndex];\n const firstChainId = new ChainId(firstChain);\n return firstChainId.reference;\n }\n\n throw new Error(`Couldn't find any chain on namespace`);\n }\n throw new Error('Dissallowed method:', params);\n}\n\nexport function getChainIdByNetworkName(\n network: string,\n meta: BlockchainMeta[]\n): string | undefined {\n const targetBlockchain = meta.find(\n (blockchain) => blockchain.name === network\n );\n const chainIdInHex = targetBlockchain?.chainId;\n if (!chainIdInHex) {\n return undefined;\n }\n\n const chainId = String(parseInt(chainIdInHex));\n\n return chainId;\n}\n\nexport async function switchOrAddEvmChain(\n meta: BlockchainMeta[],\n requestedNetwork: string,\n currentNetwork: string,\n instance: any\n) {\n const evmBlockchains = meta.filter(isEvmBlockchain);\n const evmNetworksChainInfo =\n convertEvmBlockchainMetaToEvmChainInfo(evmBlockchains);\n const targetChain = evmNetworksChainInfo[requestedNetwork];\n const targetBlockchain = meta.find(\n (blockchain: BlockchainMeta) => blockchain.name === requestedNetwork\n );\n const chainIdInHex = targetBlockchain?.chainId;\n\n const currentChainId = getChainIdByNetworkName(currentNetwork, meta);\n const currentChainEip = ChainId.format({\n namespace: NAMESPACES.ETHEREUM,\n reference: String(currentChainId),\n });\n\n const session = instance.session;\n\n try {\n await instance.client.request({\n topic: session.topic,\n request: {\n method: EthereumRPCMethods.SWITCH_CHAIN,\n params: [\n {\n chainId: chainIdInHex,\n },\n ],\n },\n // It's required to pass current chain, otherwise it won't work\n chainId: currentChainEip,\n });\n } catch (err: any) {\n const addChainError = 4902;\n if (\n err?.code === addChainError ||\n err?.message?.includes(String(addChainError))\n ) {\n await instance.client.request({\n topic: session.topic,\n request: {\n method: EthereumRPCMethods.ADD_CHAIN,\n params: [targetChain],\n },\n // It's required to pass current chain, otherwise it won't work\n chainId: currentChainEip,\n });\n } else {\n throw err;\n }\n }\n}\n\nexport function getCurrentEvmAccountAddress(instance: any) {\n return instance.session.namespaces.eip155.accounts\n ?.map((account: string) => {\n return new AccountId(account).address;\n })\n ?.filter((address: string) => isEvmAddress(address))?.[0];\n}\n\nexport function getEvmAccount(\n network: string,\n address: string,\n meta: BlockchainMeta[]\n) {\n const currentChainId = getChainIdByNetworkName(network, meta);\n return AccountId.format({\n chainId: {\n namespace: NAMESPACES.ETHEREUM,\n reference: String(currentChainId),\n },\n address,\n });\n}\n\n// It's enough to return only connected network for the EVM networks and ignore others\nexport function filterEvmAccounts(\n accounts: {\n address: string;\n chainId: string;\n }[],\n currentChainId?: string\n) {\n let firstEvmAddress = false;\n return accounts\n .filter(({ address, chainId }) => {\n const isEvm = isEvmAddress(address);\n if (isEvm) {\n if (currentChainId && chainId !== currentChainId) {\n return false;\n }\n if (!currentChainId) {\n if (firstEvmAddress) {\n return false;\n }\n firstEvmAddress = true;\n }\n }\n return true;\n })\n .map(({ address, chainId }) => ({\n accounts: [address],\n chainId: chainId,\n }));\n}\n", "import type { ConfigCtrlState, ThemeCtrlState } from '@walletconnect/modal-core'\nimport { ConfigCtrl, ModalCtrl, OptionsCtrl, ThemeCtrl } from '@walletconnect/modal-core'\n\n/**\n * Types\n */\nexport type WalletConnectModalConfig = ConfigCtrlState & ThemeCtrlState\n\n/**\n * Client\n */\nexport class WalletConnectModal {\n public constructor(config: WalletConnectModalConfig) {\n ThemeCtrl.setThemeConfig(config)\n ConfigCtrl.setConfig(config)\n this.initUi()\n }\n\n private async initUi() {\n if (typeof window !== 'undefined') {\n await import('@walletconnect/modal-ui')\n const modal = document.createElement('wcm-modal')\n document.body.insertAdjacentElement('beforeend', modal)\n OptionsCtrl.setIsUiLoaded(true)\n }\n }\n\n public openModal = ModalCtrl.open\n\n public closeModal = ModalCtrl.close\n\n public subscribeModal = ModalCtrl.subscribe\n\n public setTheme = ThemeCtrl.setThemeConfig\n}\n", "import type {\n ConnectParams,\n CreateSessionParams,\n Environments,\n} from './types.js';\nimport type { SignClient } from '@walletconnect/sign-client/dist/types/client';\nimport type {\n PairingTypes,\n SessionTypes,\n SignClientTypes,\n} from '@walletconnect/types';\nimport type { BlockchainMeta } from 'rango-types';\n\nimport { Networks, timeout } from '@rango-dev/wallets-shared';\nimport { getSdkError } from '@walletconnect/utils';\nimport { AccountId } from 'caip';\n\nimport { CHAIN_ID_STORAGE, PING_TIMEOUT } from './constants.js';\nimport {\n generateOptionalNamespace,\n getCurrentEvmAccountAddress,\n getEvmAccount,\n getModal,\n solanaChainIdToNetworkName,\n} from './helpers.js';\n\nexport function getLastSession(client: SignClient) {\n return client.session.values[client.session.values.length - 1];\n}\n\n/**\n *\n * Try to ping the wallet, if wallet responded with `pong`, session is a valid and we will use the session.\n * If the wallet didn't respond during 10 seconds (PING_TIME), we assume the wallet isn't available and we need to create a new session.\n *\n */\nexport async function restoreSession(\n client: SignClient,\n pairingTopic: PairingTypes.Struct['topic']\n): Promise<SessionTypes.Struct | undefined> {\n await timeout(\n client.ping({\n topic: pairingTopic,\n }),\n PING_TIMEOUT\n );\n\n // We assume last session is the correct session, beacuse we are doing clean up and keeps only one pairing/session.\n const session = getLastSession(client);\n return session;\n}\n\n/**\n *\n * Getting a pair of required and optional namespaces then tries to show a modal and connect (pair)\n * To the wallet.\n * @param client\n * @param options\n * @returns\n */\nexport async function createSession(\n client: SignClient,\n options: CreateSessionParams,\n configs: {\n envs: Environments;\n }\n): Promise<SessionTypes.Struct> {\n const { requiredNamespaces, optionalNamespaces, pairingTopic } = options;\n\n try {\n const { uri, approval } = await client.connect({\n requiredNamespaces,\n optionalNamespaces,\n pairingTopic,\n });\n\n // Open QRCode modal if a URI was returned (i.e. we're not connecting an existing pairing).\n let onCloseModal;\n if (uri) {\n /*\n * There are some wallets have been listed in WC itself (https://docs.walletconnect.com/cloud/explorer-submission),\n * Using `DISABLE_MODAL_AND_OPEN_LINK` option, we can directly open a specific desktop wallet.\n */\n const redirectLink = configs.envs.DISABLE_MODAL_AND_OPEN_LINK;\n if (redirectLink) {\n const url = `${redirectLink}/wc?uri=${encodeURIComponent(uri)}`;\n window.open(url, '_blank', 'noreferrer noopener');\n } else {\n // Create a flat array of all requested chains across namespaces.\n const allNamespaces = {\n ...(requiredNamespaces || {}),\n ...(optionalNamespaces || {}),\n };\n\n const standaloneChains = Object.values(allNamespaces)\n .map((namespace) => namespace.chains)\n .flat() as string[];\n\n const modal = getModal();\n void modal.openModal({ uri, chains: standaloneChains });\n\n onCloseModal = new Promise((_, reject) => {\n modal.subscribeModal((state) => {\n // the modal was closed so reject the promise\n if (!state.open) {\n reject(new Error('Modal has been closed.'));\n }\n });\n });\n }\n }\n\n const session = approval();\n\n if (onCloseModal) {\n const result = await Promise.race([session, onCloseModal]);\n // We know onClose only reject a modal and never returns a value.\n return result as SessionTypes.Struct;\n }\n return await session;\n } finally {\n getModal().closeModal();\n }\n}\n\n/**\n *\n * A user (client) can have multiple pairings (to different wallets), we are assuming\n * the last pairing is the active pairing for now. A better UX can be showing a list of pairings\n * and let the user to choose the right pairing manually. Because we don't have that yet, we will pick up the last one.\n *\n */\nexport function tryGetPairing(\n client: SignClient\n): PairingTypes.Struct | undefined {\n const pairings = client.pairing.getAll({ active: true });\n const lastPairing =\n pairings.length > 0 ? pairings[pairings.length - 1] : undefined;\n\n return lastPairing;\n}\n\n/**\n *\n * Try to restore the session first, if couldn't, create a new session by showing a modal.\n *\n */\nexport async function tryConnect(\n client: SignClient,\n params: ConnectParams\n): Promise<SessionTypes.Struct> {\n const { meta } = params;\n\n // We try to get all of our supported chains as optional.\n const optionalNamespaces = generateOptionalNamespace(meta);\n\n // Check if the user has a session, if yes, restore the session and use it.\n let session: SessionTypes.Struct | undefined;\n const pairing = tryGetPairing(client);\n if (pairing) {\n try {\n session = await restoreSession(client, pairing.topic);\n } catch (e) {\n await disconnectSessions(client);\n }\n }\n\n // In case of connecting for the first time or session couldn't be restored, we will create a new session.\n if (!session) {\n session = await createSession(\n client,\n {\n requiredNamespaces: {},\n optionalNamespaces,\n },\n {\n envs: params.envs,\n }\n );\n }\n\n return session;\n}\n\n/**\n *\n * Try to find sessions with a topic id and expire them.\n *\n */\nexport async function cleanupSingleSession(client: SignClient, topic: string) {\n const sessions = client.session.getAll();\n const pairings = client.pairing.getAll();\n\n sessions.forEach((session) => {\n if (session.topic === topic || session.pairingTopic === topic) {\n const requestForDeleteTopic =\n session.pairingTopic === topic ? session.pairingTopic : session.topic;\n client.core.expirer.set(requestForDeleteTopic, 0);\n }\n });\n\n pairings.forEach((pairing) => {\n if (pairing.topic === topic) {\n client.core.expirer.set(topic, 0);\n }\n });\n}\n\n/**\n *\n * Disconnect means to delete the session on both parties (dApp & wallet) at the same time.\n *\n */\nexport async function disconnectSessions(client: SignClient) {\n const allPromises = [];\n\n const sessions = client.session.getAll();\n for (const session of sessions) {\n allPromises.push(\n client.disconnect({\n topic: session.topic,\n reason: getSdkError('USER_DISCONNECTED'),\n })\n );\n }\n\n const pairings = client.pairing.getAll();\n for (const pairing of pairings) {\n allPromises.push(\n client.disconnect({\n topic: pairing.topic,\n reason: getSdkError('USER_DISCONNECTED'),\n })\n );\n }\n\n // reset the current chain id\n void persistCurrentChainId(client, undefined);\n\n return await Promise.all(allPromises);\n}\n\nexport function getAccountsFromSession(session: SessionTypes.Struct) {\n const accounts = Object.values(session.namespaces)\n .map((namespace) => namespace.accounts)\n .flat()\n .map((account) => {\n const { address, chainId } = new AccountId(account);\n /*\n * Note: Solana has a specific ID, we need to convert it back to network name.\n * It will return the chain id itslef if it's not that specific ID.\n */\n const chain = solanaChainIdToNetworkName(chainId.reference);\n return {\n address,\n chainId: chain,\n };\n });\n return accounts;\n}\n\nexport function getAccountsFromEvent(\n event: SignClientTypes.BaseEventArgs<{\n namespaces: SessionTypes.Namespaces;\n }>\n) {\n const accounts = Object.values(event.params.namespaces)\n .map((namespace) => namespace.accounts)\n .flat()\n .map((account) => {\n const { address, chainId } = new AccountId(account);\n return {\n accounts: [address],\n chainId:\n chainId.namespace === 'solana' ? Networks.SOLANA : chainId.reference,\n };\n });\n\n return accounts;\n}\n\n/*\n * Before switch network, we need to update session namespace accounts\n * to contain both current chain and target chain accoutns.\n */\nexport async function updateSessionAccounts(\n instance: any,\n requestedNetwork: string,\n currentNetwork: string,\n meta: BlockchainMeta[]\n) {\n const session = instance.session;\n\n const namespaces = session.namespaces;\n let needUpdateNamepspace = false;\n const accounts = namespaces.eip155.accounts;\n\n const currentAccountAddress = getCurrentEvmAccountAddress(instance);\n const requestedAccount = getEvmAccount(\n requestedNetwork,\n currentAccountAddress,\n meta\n );\n if (!accounts.includes(requestedAccount)) {\n accounts.push(requestedAccount);\n needUpdateNamepspace = true;\n }\n\n const currentAccount = getEvmAccount(\n currentNetwork,\n currentAccountAddress,\n meta\n );\n if (!accounts.includes(currentAccount)) {\n accounts.push(currentAccount);\n needUpdateNamepspace = true;\n }\n\n if (needUpdateNamepspace) {\n const updatedNamespaces = {\n ...namespaces,\n eip155: {\n ...namespaces.eip155,\n accounts,\n },\n };\n await instance.client.session\n .update({\n topic: session.topic,\n namespaces: updatedNamespaces,\n })\n .catch((err: unknown) => {\n console.log(err);\n });\n }\n}\n\n/*\n * Certain wallets, such as Trust Wallet and 1inch, are providing incorrect methods in\n * response to session proposal requests. These wallets do not support certain optional\n * RPC methods like \"wallet_xyz,\" but they include them in the response under the session namespace.\n * For the time being, we should avoid their session namespace response.\n * see also: https://github.com/trustwallet/wallet-core/issues/3588\n */\nexport function ignoreNamespaceMethods(instance: any): boolean {\n const WALLETS_WITH_WRONG_NAMESPACE_METHODS = ['trust', '1inch'];\n const peerName = instance?.session?.peer?.metadata?.name;\n return WALLETS_WITH_WRONG_NAMESPACE_METHODS.some((name) =>\n peerName?.toLowerCase()?.includes(name)\n );\n}\n\nexport async function persistCurrentChainId(\n client: SignClient,\n chainId?: string\n) {\n return client.core.storage.setItem(CHAIN_ID_STORAGE, {\n defaultChainId: chainId ? parseInt(chainId) : '',\n });\n}\n\n/*\n * get the latest chain id from the storage,\n * used for setting current chain id in session reconnect.\n */\nexport async function getPersistedChainId(client: SignClient) {\n try {\n const chainId = (await client.core.storage.getItem(CHAIN_ID_STORAGE))\n ?.defaultChainId;\n return !!chainId ? String(chainId) : undefined;\n } catch {\n return undefined;\n }\n}\n", "import type { WCInstance } from './types.js';\nimport type { SignerFactory } from 'rango-types';\n\nimport { retryLazyImport } from '@rango-dev/wallets-shared';\nimport { DefaultSignerFactory, TransactionType as TxType } from 'rango-types';\n\nexport default async function getSigners(\n instance: WCInstance\n): Promise<SignerFactory> {\n if (!instance.session) {\n throw new Error('Session is required for wallet connect signers.');\n }\n\n const signers = new DefaultSignerFactory();\n const EVMSigner = (\n await retryLazyImport(async () => await import('./signers/evm.js'))\n ).default;\n const COSMOSSigner = (\n await retryLazyImport(async () => await import('./signers/cosmos.js'))\n ).default;\n const SOLANASigner = (\n await retryLazyImport(async () => await import('./signers/solana.js'))\n ).default;\n\n signers.registerSigner(\n TxType.EVM,\n new EVMSigner(instance.client, instance.session)\n );\n signers.registerSigner(\n TxType.COSMOS,\n new COSMOSSigner(instance.client, instance.session)\n );\n signers.registerSigner(\n TxType.SOLANA,\n new SOLANASigner(instance.client, instance.session)\n );\n\n return signers;\n}\n"],
5
+ "mappings": "8LAcA,OAAS,SAAAA,GAAO,SAASC,OAAgB,0BACzC,OAAS,YAAAC,GAAU,eAAAC,OAAmB,4BACtC,OAAOC,OAAY,6BACnB,OAAS,aAAAC,GAAW,WAAAC,OAAe,OACnC,OAAS,kBAAAC,OAAsB,cCb/B,OACE,0CAAAC,GACA,gBAAAC,EACA,YAAAC,OACK,4BCEM,IAAAC,EAAA,KAAmB,OAAA,CAAAC,EAAA,UACvB,YAAYC,EAAkC,CAerD,KAAO,UAAYC,EAAU,KAE7B,KAAO,WAAaA,EAAU,MAE9B,KAAO,eAAiBA,EAAU,UAElC,KAAO,SAAWC,EAAU,eApB1BA,EAAU,eAAeF,CAAM,EAC/BG,EAAW,UAAUH,CAAM,EAC3B,KAAK,OAAA,CACP,CAEA,MAAc,QAAS,CACrB,GAAI,OAAO,OAAW,IAAa,CACjC,KAAa,QAAA,oBAAyB,EACtC,IAAMI,EAAQ,SAAS,cAAc,W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,EAAE,SAAW2C,GAAS,SACxD,MAAMC,EAAsBnC,EAAUwB,EAASS,EAAgBzC,CAAI,EACnE,MAAM4C,GAAoB5C,EAAMgC,EAASS,EAAgBjC,CAAQ,CACnE,SAAW+B,EAAiB,SAASF,CAAW,EAAG,CACjDnB,EAAcQ,CAAO,EACrB,MACF,KAAO,CACL,IAAMS,EAAQ,IAAI,MAAM,SAAST,CAAO,qBAAqB,EAC7D,MAAAU,GAASD,CAAK,EACRA,CACR,CACF,EAvC4C,iBAgD/BU,GAAuCtD,EAAA,IAAM,GAAN,sBAEvC6B,GAAyB7B,EAAA,MAAO,CAAE,SAAAiB,CAAS,IAAM,CAC5D,GAAM,CAAE,OAAAC,CAAO,EAAID,EAEfC,GACGqC,EAAmBrC,CAAM,EAAE,MAAO0B,GAAUY,GAAMZ,CAAK,CAAC,CAEjE,EANsC,cAQzBa,GACXA,EAEWC,GAAkE1D,EAC7E2D,IAGO,CACL,KAAM,gBACN,IAAK,8FACL,YAAa,GACb,MAAO,UACP,gBANWjB,GAAeiB,CAAc,EAOxC,aAAc,GACd,aAAc,EAChB,GAZ6E",
6
+ "names": ["debug", "logError", "Networks", "WalletTypes", "Client", "AccountId", "ChainId", "evmBlockchains", "convertEvmBlockchainMetaToEvmChainInfo", "isEvmAddress", "Networks", "WalletConnectModal", "__name", "config", "ModalCtrl", "ThemeCtrl", "ConfigCtrl", "modal", "OptionsCtrl", "AccountId", "ChainId", "evmBlockchains", "isEvmBlockchain", "Networks", "timeout", "getSdkError", "AccountId", "getLastSession", "client", "__name", "restoreSession", "pairingTopic", "timeout", "PING_TIMEOUT", "createSession", "options", "configs", "requiredNamespaces", "optionalNamespaces", "uri", "approval", "onCloseModal", "redirectLink", "url", "allNamespaces", "standaloneChains", "namespace", "modal", "getModal", "_", "reject", "state", "session", "tryGetPairing", "pairings", "tryConnect", "params", "meta", "generateOptionalNamespace", "pairing", "disconnectSessions", "cleanupSingleSession", "topic", "sessions", "requestForDeleteTopic", "allPromises", "getSdkError", "persistCurrentChainId", "getAccountsFromSession", "account", "address", "chainId", "AccountId", "chain", "solanaChainIdToNetworkName", "getAccountsFromEvent", "event", "Networks", "updateSessionAccounts", "instance", "requestedNetwork", "currentNetwork", "namespaces", "needUpdateNamepspace", "accounts", "currentAccountAddress", "getCurrentEvmAccountAddress", "requestedAccount", "getEvmAccount", "currentAccount", "updatedNamespaces", "err", "ignoreNamespaceMethods", "WALLETS_WITH_WRONG_NAMESPACE_METHODS", "peerName", "name", "CHAIN_ID_STORAGE", "getPersistedChainId", "web3Modal", "createModalInstance", "projectId", "d", "__name", "getModal", "generateOptionalNamespace", "meta", "evmChains", "evmBlockchains", "chain", "ChainId", "DEFAULT_ETHEREUM_METHODS", "DEFAULT_ETHEREUM_EVENTS", "solanaChainIdToNetworkName", "chainId", "DEFAULT_SOLANA_CHAIN_ID", "Networks", "simulateRequest", "params", "provider", "getState", "currentSession", "getLastSession", "standaloneChains", "namespace", "network", "getChainIdByNetworkName", "firstChain", "chainIdInHex", "blockchain", "switchOrAddEvmChain", "requestedNetwork", "currentNetwork", "instance", "isEvmBlockchain", "targetChain", "convertEvmBlockchainMetaToEvmChainInfo", "currentChainId", "currentChainEip", "session", "err", "getCurrentEvmAccountAddress", "account", "AccountId", "address", "isEvmAddress", "getEvmAccount", "filterEvmAccounts", "accounts", "firstEvmAddress", "retryLazyImport", "DefaultSignerFactory", "TxType", "getSigners", "instance", "signers", "DefaultSignerFactory", "EVMSigner", "retryLazyImport", "COSMOSSigner", "SOLANASigner", "TxType", "__name", "WALLET", "WalletTypes", "envs", "init", "__name", "environments", "createModalInstance", "config", "DEFAULT_NETWORK", "getInstance", "options", "currentProvider", "getState", "meta", "provider", "Client", "RELAY_URL", "DEFAULT_APP_METADATA", "params", "simulateRequest", "connect", "instance", "client", "session", "tryConnect", "currentChainId", "getPersistedChainId", "accounts", "getAccountsFromSession", "filterEvmAccounts", "subscribe", "updateChainId", "updateAccounts", "disconnect", "args", "getAccountsFromEvent", "accountsWithChain", "account", "AccountId", "chainId", "ChainId", "persistCurrentChainId", "event", "cleanupSingleSession", "switchNetwork", "network", "evmBlockchains", "chain", "error", "logError", "chaindIdStr", "evmNamespace", "authorizedChains", "ignoreNamespaceMethods", "currentNetwork", "Networks", "updateSessionAccounts", "switchOrAddEvmChain", "canSwitchNetworkTo", "disconnectSessions", "debug", "getSigners", "getWalletInfo", "allBlockChains"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/constants.ts":{"bytes":2718,"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/proxy-compare/dist/index.modern.js":{"bytes":2616,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/valtio/esm/vanilla.mjs":{"bytes":9012,"imports":[{"path":"../../node_modules/proxy-compare/dist/index.modern.js","kind":"import-statement","original":"proxy-compare"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@walletconnect/modal-core/dist/index.js":{"bytes":8844,"imports":[{"path":"../../node_modules/valtio/esm/vanilla.mjs","kind":"import-statement","original":"valtio/vanilla"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/css-tag.js":{"bytes":1576,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/reactive-element.js":{"bytes":6044,"imports":[{"path":"../../node_modules/@lit/reactive-element/css-tag.js","kind":"import-statement","original":"./css-tag.js"},{"path":"../../node_modules/@lit/reactive-element/css-tag.js","kind":"import-statement","original":"./css-tag.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit-html/lit-html.js":{"bytes":8112,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit-element/lit-element.js":{"bytes":1381,"imports":[{"path":"../../node_modules/@lit/reactive-element/reactive-element.js","kind":"import-statement","original":"@lit/reactive-element"},{"path":"../../node_modules/@lit/reactive-element/reactive-element.js","kind":"import-statement","original":"@lit/reactive-element"},{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"lit-html"},{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"lit-html"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit-html/is-server.js":{"bytes":162,"imports":[],"format":"esm"},"../../node_modules/lit/index.js":{"bytes":157,"imports":[{"path":"../../node_modules/@lit/reactive-element/reactive-element.js","kind":"import-statement","original":"@lit/reactive-element"},{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"lit-html"},{"path":"../../node_modules/lit-element/lit-element.js","kind":"import-statement","original":"lit-element/lit-element.js"},{"path":"../../node_modules/lit-html/is-server.js","kind":"import-statement","original":"lit-html/is-server.js"}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/custom-element.js":{"bytes":350,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/property.js":{"bytes":574,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/state.js":{"bytes":225,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/property.js","kind":"import-statement","original":"./property.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/base.js":{"bytes":666,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/event-options.js":{"bytes":280,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/query.js":{"bytes":612,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/query-all.js":{"bytes":388,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/query-async.js":{"bytes":392,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.js":{"bytes":725,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js":{"bytes":655,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.js","kind":"import-statement","original":"./query-assigned-elements.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit/decorators.js":{"bytes":598,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/custom-element.js","kind":"import-statement","original":"@lit/reactive-element/decorators/custom-element.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/property.js","kind":"import-statement","original":"@lit/reactive-element/decorators/property.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/state.js","kind":"import-statement","original":"@lit/reactive-element/decorators/state.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/event-options.js","kind":"import-statement","original":"@lit/reactive-element/decorators/event-options.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query.js","kind":"import-statement","original":"@lit/reactive-element/decorators/query.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query-all.js","kind":"import-statement","original":"@lit/reactive-element/decorators/query-all.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query-async.js","kind":"import-statement","original":"@lit/reactive-element/decorators/query-async.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.js","kind":"import-statement","original":"@lit/reactive-element/decorators/query-assigned-elements.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js","kind":"import-statement","original":"@lit/reactive-element/decorators/query-assigned-nodes.js"}],"format":"esm"},"../../node_modules/lit-html/directive.js":{"bytes":481,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit-html/directives/class-map.js":{"bytes":1129,"imports":[{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"../lit-html.js"},{"path":"../../node_modules/lit-html/directive.js","kind":"import-statement","original":"../directive.js"}],"format":"esm"},"../../node_modules/lit/directives/class-map.js":{"bytes":85,"imports":[{"path":"../../node_modules/lit-html/directives/class-map.js","kind":"import-statement","original":"lit-html/directives/class-map.js"}],"format":"esm"},"../../node_modules/@motionone/utils/dist/array.es.js":{"bytes":243,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/clamp.es.js":{"bytes":83,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/defaults.es.js":{"bytes":129,"imports":[],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-number.es.js":{"bytes":77,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-easing-list.es.js":{"bytes":153,"imports":[{"path":"../../node_modules/@motionone/utils/dist/is-number.es.js","kind":"import-statement","original":"./is-number.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/wrap.es.js":{"bytes":156,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/easing.es.js":{"bytes":264,"imports":[{"path":"../../node_modules/@motionone/utils/dist/is-easing-list.es.js","kind":"import-statement","original":"./is-easing-list.es.js"},{"path":"../../node_modules/@motionone/utils/dist/wrap.es.js","kind":"import-statement","original":"./wrap.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/mix.es.js":{"bytes":93,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/noop.es.js":{"bytes":83,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/progress.es.js":{"bytes":111,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/offset.es.js":{"bytes":477,"imports":[{"path":"../../node_modules/@motionone/utils/dist/mix.es.js","kind":"import-statement","original":"./mix.es.js"},{"path":"../../node_modules/@motionone/utils/dist/progress.es.js","kind":"import-statement","original":"./progress.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/interpolate.es.js":{"bytes":1175,"imports":[{"path":"../../node_modules/@motionone/utils/dist/mix.es.js","kind":"import-statement","original":"./mix.es.js"},{"path":"../../node_modules/@motionone/utils/dist/noop.es.js","kind":"import-statement","original":"./noop.es.js"},{"path":"../../node_modules/@motionone/utils/dist/offset.es.js","kind":"import-statement","original":"./offset.es.js"},{"path":"../../node_modules/@motionone/utils/dist/progress.es.js","kind":"import-statement","original":"./progress.es.js"},{"path":"../../node_modules/@motionone/utils/dist/easing.es.js","kind":"import-statement","original":"./easing.es.js"},{"path":"../../node_modules/@motionone/utils/dist/clamp.es.js","kind":"import-statement","original":"./clamp.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-cubic-bezier.es.js":{"bytes":154,"imports":[{"path":"../../node_modules/@motionone/utils/dist/is-number.es.js","kind":"import-statement","original":"./is-number.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-easing-generator.es.js":{"bytes":136,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-function.es.js":{"bytes":83,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-string.es.js":{"bytes":77,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/time.es.js":{"bytes":119,"imports":[],"format":"esm"},"../../node_modules/@motionone/utils/dist/velocity.es.js":{"bytes":278,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/index.es.js":{"bytes":884,"imports":[{"path":"../../node_modules/@motionone/utils/dist/array.es.js","kind":"import-statement","original":"./array.es.js"},{"path":"../../node_modules/@motionone/utils/dist/clamp.es.js","kind":"import-statement","original":"./clamp.es.js"},{"path":"../../node_modules/@motionone/utils/dist/defaults.es.js","kind":"import-statement","original":"./defaults.es.js"},{"path":"../../node_modules/@motionone/utils/dist/easing.es.js","kind":"import-statement","original":"./easing.es.js"},{"path":"../../node_modules/@motionone/utils/dist/interpolate.es.js","kind":"import-statement","original":"./interpolate.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-cubic-bezier.es.js","kind":"import-statement","original":"./is-cubic-bezier.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-easing-generator.es.js","kind":"import-statement","original":"./is-easing-generator.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-easing-list.es.js","kind":"import-statement","original":"./is-easing-list.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-function.es.js","kind":"import-statement","original":"./is-function.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-number.es.js","kind":"import-statement","original":"./is-number.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-string.es.js","kind":"import-statement","original":"./is-string.es.js"},{"path":"../../node_modules/@motionone/utils/dist/mix.es.js","kind":"import-statement","original":"./mix.es.js"},{"path":"../../node_modules/@motionone/utils/dist/noop.es.js","kind":"import-statement","original":"./noop.es.js"},{"path":"../../node_modules/@motionone/utils/dist/offset.es.js","kind":"import-statement","original":"./offset.es.js"},{"path":"../../node_modules/@motionone/utils/dist/progress.es.js","kind":"import-statement","original":"./progress.es.js"},{"path":"../../node_modules/@motionone/utils/dist/time.es.js","kind":"import-statement","original":"./time.es.js"},{"path":"../../node_modules/@motionone/utils/dist/velocity.es.js","kind":"import-statement","original":"./velocity.es.js"},{"path":"../../node_modules/@motionone/utils/dist/wrap.es.js","kind":"import-statement","original":"./wrap.es.js"}],"format":"esm"},"../../node_modules/@motionone/easing/dist/cubic-bezier.es.js":{"bytes":1980,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/easing/dist/steps.es.js":{"bytes":415,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/easing/dist/index.es.js":{"bytes":91,"imports":[{"path":"../../node_modules/@motionone/easing/dist/cubic-bezier.es.js","kind":"import-statement","original":"./cubic-bezier.es.js"},{"path":"../../node_modules/@motionone/easing/dist/steps.es.js","kind":"import-statement","original":"./steps.es.js"}],"format":"esm"},"../../node_modules/@motionone/animation/dist/utils/easing.es.js":{"bytes":1189,"imports":[{"path":"../../node_modules/@motionone/easing/dist/index.es.js","kind":"import-statement","original":"@motionone/easing"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/animation/dist/Animation.es.js":{"bytes":5901,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/animation/dist/utils/easing.es.js","kind":"import-statement","original":"./utils/easing.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/animation/dist/index.es.js":{"bytes":105,"imports":[{"path":"../../node_modules/@motionone/animation/dist/Animation.es.js","kind":"import-statement","original":"./Animation.es.js"},{"path":"../../node_modules/@motionone/animation/dist/utils/easing.es.js","kind":"import-statement","original":"./utils/easing.es.js"}],"format":"esm"},"../../node_modules/hey-listen/dist/hey-listen.es.js":{"bytes":427,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/types/dist/MotionValue.es.js":{"bytes":576,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/types/dist/index.es.js":{"bytes":51,"imports":[{"path":"../../node_modules/@motionone/types/dist/MotionValue.es.js","kind":"import-statement","original":"./MotionValue.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/data.es.js":{"bytes":502,"imports":[{"path":"../../node_modules/@motionone/types/dist/index.es.js","kind":"import-statement","original":"@motionone/types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js":{"bytes":2575,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/data.es.js","kind":"import-statement","original":"../data.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/css-var.es.js":{"bytes":651,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"./transforms.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js":{"bytes":1062,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/easing.es.js":{"bytes":1000,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js","kind":"import-statement","original":"./feature-detection.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js":{"bytes":387,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js":{"bytes":267,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"./transforms.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/style.es.js":{"bytes":866,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/utils/css-var.es.js","kind":"import-statement","original":"./utils/css-var.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js","kind":"import-statement","original":"./utils/get-style-name.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"./utils/transforms.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js":{"bytes":411,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/get-unit.es.js":{"bytes":574,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js":{"bytes":8891,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/data.es.js","kind":"import-statement","original":"./data.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/css-var.es.js","kind":"import-statement","original":"./utils/css-var.es.js"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"./utils/transforms.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/easing.es.js","kind":"import-statement","original":"./utils/easing.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js","kind":"import-statement","original":"./utils/feature-detection.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js","kind":"import-statement","original":"./utils/keyframes.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/style.es.js","kind":"import-statement","original":"./style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js","kind":"import-statement","original":"./utils/get-style-name.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js","kind":"import-statement","original":"./utils/stop-animation.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-unit.es.js","kind":"import-statement","original":"./utils/get-unit.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/options.es.js":{"bytes":316,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js":{"bytes":619,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/controls.es.js":{"bytes":2631,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js","kind":"import-statement","original":"./stop-animation.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/utils/stagger.es.js":{"bytes":988,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/animation/dist/index.es.js","kind":"import-statement","original":"@motionone/animation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/create-animate.es.js":{"bytes":1789,"imports":[{"path":"../../node_modules/hey-listen/dist/hey-listen.es.js","kind":"import-statement","original":"hey-listen"},{"path":"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js","kind":"import-statement","original":"./animate-style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/options.es.js","kind":"import-statement","original":"./utils/options.es.js"},{"path":"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js","kind":"import-statement","original":"../utils/resolve-elements.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/controls.es.js","kind":"import-statement","original":"./utils/controls.es.js"},{"path":"../../node_modules/@motionone/dom/dist/utils/stagger.es.js","kind":"import-statement","original":"../utils/stagger.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/index.es.js":{"bytes":170,"imports":[{"path":"../../node_modules/@motionone/animation/dist/index.es.js","kind":"import-statement","original":"@motionone/animation"},{"path":"../../node_modules/@motionone/dom/dist/animate/create-animate.es.js","kind":"import-statement","original":"./create-animate.es.js"}],"format":"esm"},"../../node_modules/tslib/tslib.es6.mjs":{"bytes":16249,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/timeline/utils/calc-time.es.js":{"bytes":469,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/timeline/utils/edit.es.js":{"bytes":1013,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/timeline/utils/sort.es.js":{"bytes":178,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/timeline/index.es.js":{"bytes":8566,"imports":[{"path":"../../node_modules/tslib/tslib.es6.mjs","kind":"import-statement","original":"tslib"},{"path":"../../node_modules/hey-listen/dist/hey-listen.es.js","kind":"import-statement","original":"hey-listen"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/utils/stagger.es.js","kind":"import-statement","original":"../utils/stagger.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js","kind":"import-statement","original":"../animate/animate-style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/controls.es.js","kind":"import-statement","original":"../animate/utils/controls.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js","kind":"import-statement","original":"../animate/utils/keyframes.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/options.es.js","kind":"import-statement","original":"../animate/utils/options.es.js"},{"path":"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js","kind":"import-statement","original":"../utils/resolve-elements.es.js"},{"path":"../../node_modules/@motionone/dom/dist/timeline/utils/calc-time.es.js","kind":"import-statement","original":"./utils/calc-time.es.js"},{"path":"../../node_modules/@motionone/dom/dist/timeline/utils/edit.es.js","kind":"import-statement","original":"./utils/edit.es.js"},{"path":"../../node_modules/@motionone/dom/dist/timeline/utils/sort.es.js","kind":"import-statement","original":"./utils/sort.es.js"},{"path":"../../node_modules/@motionone/animation/dist/index.es.js","kind":"import-statement","original":"@motionone/animation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/utils/velocity.es.js":{"bytes":292,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/spring/defaults.es.js":{"bytes":100,"imports":[],"format":"esm"},"../../node_modules/@motionone/generators/dist/spring/utils.es.js":{"bytes":232,"imports":[{"path":"../../node_modules/@motionone/generators/dist/spring/defaults.es.js","kind":"import-statement","original":"./defaults.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/utils/has-reached-target.es.js":{"bytes":188,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/spring/index.es.js":{"bytes":2335,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/generators/dist/spring/defaults.es.js","kind":"import-statement","original":"./defaults.es.js"},{"path":"../../node_modules/@motionone/generators/dist/spring/utils.es.js","kind":"import-statement","original":"./utils.es.js"},{"path":"../../node_modules/@motionone/generators/dist/utils/has-reached-target.es.js","kind":"import-statement","original":"../utils/has-reached-target.es.js"},{"path":"../../node_modules/@motionone/generators/dist/utils/velocity.es.js","kind":"import-statement","original":"../utils/velocity.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/glide/index.es.js":{"bytes":3353,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/generators/dist/utils/velocity.es.js","kind":"import-statement","original":"../utils/velocity.es.js"},{"path":"../../node_modules/@motionone/generators/dist/spring/index.es.js","kind":"import-statement","original":"../spring/index.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/utils/pregenerate-keyframes.es.js":{"bytes":1130,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/index.es.js":{"bytes":232,"imports":[{"path":"../../node_modules/@motionone/generators/dist/glide/index.es.js","kind":"import-statement","original":"./glide/index.es.js"},{"path":"../../node_modules/@motionone/generators/dist/spring/index.es.js","kind":"import-statement","original":"./spring/index.es.js"},{"path":"../../node_modules/@motionone/generators/dist/utils/pregenerate-keyframes.es.js","kind":"import-statement","original":"./utils/pregenerate-keyframes.es.js"},{"path":"../../node_modules/@motionone/generators/dist/utils/velocity.es.js","kind":"import-statement","original":"./utils/velocity.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/easing/create-generator-easing.es.js":{"bytes":5814,"imports":[{"path":"../../node_modules/@motionone/generators/dist/index.es.js","kind":"import-statement","original":"@motionone/generators"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-unit.es.js","kind":"import-statement","original":"../animate/utils/get-unit.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"../animate/utils/transforms.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js","kind":"import-statement","original":"../animate/utils/get-style-name.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/easing/spring/index.es.js":{"bytes":203,"imports":[{"path":"../../node_modules/@motionone/generators/dist/index.es.js","kind":"import-statement","original":"@motionone/generators"},{"path":"../../node_modules/@motionone/dom/dist/easing/create-generator-easing.es.js","kind":"import-statement","original":"../create-generator-easing.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/easing/glide/index.es.js":{"bytes":198,"imports":[{"path":"../../node_modules/@motionone/generators/dist/index.es.js","kind":"import-statement","original":"@motionone/generators"},{"path":"../../node_modules/@motionone/dom/dist/easing/create-generator-easing.es.js","kind":"import-statement","original":"../create-generator-easing.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/in-view.es.js":{"bytes":1945,"imports":[{"path":"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js","kind":"import-statement","original":"../utils/resolve-elements.es.js"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/resize/handle-element.es.js":{"bytes":2155,"imports":[{"path":"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js","kind":"import-statement","original":"../../utils/resolve-elements.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/resize/handle-window.es.js":{"bytes":835,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/resize/index.es.js":{"bytes":270,"imports":[{"path":"../../node_modules/@motionone/dom/dist/gestures/resize/handle-element.es.js","kind":"import-statement","original":"./handle-element.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/resize/handle-window.es.js","kind":"import-statement","original":"./handle-window.es.js"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/info.es.js":{"bytes":1465,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/inset.es.js":{"bytes":800,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/presets.es.js":{"bytes":255,"imports":[],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/edge.es.js":{"bytes":1192,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/offset.es.js":{"bytes":1408,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/edge.es.js","kind":"import-statement","original":"./edge.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/index.es.js":{"bytes":2275,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/inset.es.js","kind":"import-statement","original":"./inset.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/presets.es.js","kind":"import-statement","original":"./presets.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/offset.es.js","kind":"import-statement","original":"./offset.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/on-scroll-handler.es.js":{"bytes":2189,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/info.es.js","kind":"import-statement","original":"./info.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/index.es.js","kind":"import-statement","original":"./offsets/index.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/index.es.js":{"bytes":3059,"imports":[{"path":"../../node_modules/tslib/tslib.es6.mjs","kind":"import-statement","original":"tslib"},{"path":"../../node_modules/@motionone/dom/dist/gestures/resize/index.es.js","kind":"import-statement","original":"../resize/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/info.es.js","kind":"import-statement","original":"./info.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/on-scroll-handler.es.js","kind":"import-statement","original":"./on-scroll-handler.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/utils/has-changed.es.js":{"bytes":485,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/utils/is-variant.es.js":{"bytes":101,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/utils/resolve-variant.es.js":{"bytes":275,"imports":[{"path":"../../node_modules/@motionone/dom/dist/state/utils/is-variant.es.js","kind":"import-statement","original":"./is-variant.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/utils/schedule.es.js":{"bytes":865,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/utils/events.es.js":{"bytes":436,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/gestures/in-view.es.js":{"bytes":786,"imports":[{"path":"../../node_modules/tslib/tslib.es6.mjs","kind":"import-statement","original":"tslib"},{"path":"../../node_modules/@motionone/dom/dist/state/utils/events.es.js","kind":"import-statement","original":"../utils/events.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/in-view.es.js","kind":"import-statement","original":"../../gestures/in-view.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/gestures/hover.es.js":{"bytes":827,"imports":[{"path":"../../node_modules/@motionone/dom/dist/state/utils/events.es.js","kind":"import-statement","original":"../utils/events.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/gestures/press.es.js":{"bytes":851,"imports":[{"path":"../../node_modules/@motionone/dom/dist/state/utils/events.es.js","kind":"import-statement","original":"../utils/events.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/index.es.js":{"bytes":7197,"imports":[{"path":"../../node_modules/tslib/tslib.es6.mjs","kind":"import-statement","original":"tslib"},{"path":"../../node_modules/hey-listen/dist/hey-listen.es.js","kind":"import-statement","original":"hey-listen"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js","kind":"import-statement","original":"../animate/animate-style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/style.es.js","kind":"import-statement","original":"../animate/style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/options.es.js","kind":"import-statement","original":"../animate/utils/options.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/utils/has-changed.es.js","kind":"import-statement","original":"./utils/has-changed.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/utils/resolve-variant.es.js","kind":"import-statement","original":"./utils/resolve-variant.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/utils/schedule.es.js","kind":"import-statement","original":"./utils/schedule.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/gestures/in-view.es.js","kind":"import-statement","original":"./gestures/in-view.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/gestures/hover.es.js","kind":"import-statement","original":"./gestures/hover.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/gestures/press.es.js","kind":"import-statement","original":"./gestures/press.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/utils/events.es.js","kind":"import-statement","original":"./utils/events.es.js"},{"path":"../../node_modules/@motionone/animation/dist/index.es.js","kind":"import-statement","original":"@motionone/animation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/style-object.es.js":{"bytes":1192,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"./transforms.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/style-string.es.js":{"bytes":506,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/utils/style-object.es.js","kind":"import-statement","original":"./style-object.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/index.es.js":{"bytes":1063,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/index.es.js","kind":"import-statement","original":"./animate/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/create-animate.es.js","kind":"import-statement","original":"./animate/create-animate.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js","kind":"import-statement","original":"./animate/animate-style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/timeline/index.es.js","kind":"import-statement","original":"./timeline/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/utils/stagger.es.js","kind":"import-statement","original":"./utils/stagger.es.js"},{"path":"../../node_modules/@motionone/dom/dist/easing/spring/index.es.js","kind":"import-statement","original":"./easing/spring/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/easing/glide/index.es.js","kind":"import-statement","original":"./easing/glide/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/style.es.js","kind":"import-statement","original":"./animate/style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/in-view.es.js","kind":"import-statement","original":"./gestures/in-view.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/resize/index.es.js","kind":"import-statement","original":"./gestures/resize/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/index.es.js","kind":"import-statement","original":"./gestures/scroll/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/presets.es.js","kind":"import-statement","original":"./gestures/scroll/offsets/presets.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/controls.es.js","kind":"import-statement","original":"./animate/utils/controls.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/data.es.js","kind":"import-statement","original":"./animate/data.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js","kind":"import-statement","original":"./animate/utils/get-style-name.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/index.es.js","kind":"import-statement","original":"./state/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/style-object.es.js","kind":"import-statement","original":"./animate/utils/style-object.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/style-string.es.js","kind":"import-statement","original":"./animate/utils/style-string.es.js"}],"format":"esm"},"../../node_modules/motion/dist/animate.es.js":{"bytes":678,"imports":[{"path":"../../node_modules/@motionone/dom/dist/index.es.js","kind":"import-statement","original":"@motionone/dom"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/animation/dist/index.es.js","kind":"import-statement","original":"@motionone/animation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/motion/dist/main.es.js":{"bytes":109,"imports":[{"path":"../../node_modules/@motionone/dom/dist/index.es.js","kind":"import-statement","original":"@motionone/dom"},{"path":"../../node_modules/@motionone/types/dist/index.es.js","kind":"import-statement","original":"@motionone/types"},{"path":"../../node_modules/motion/dist/animate.es.js","kind":"import-statement","original":"./animate.es.js"}],"format":"esm"},"../../node_modules/lit-html/directives/if-defined.js":{"bytes":217,"imports":[{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"../lit-html.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit/directives/if-defined.js":{"bytes":87,"imports":[{"path":"../../node_modules/lit-html/directives/if-defined.js","kind":"import-statement","original":"lit-html/directives/if-defined.js"}],"format":"esm"},"../../node_modules/qrcode/lib/can-promise.js":{"bytes":275,"imports":[],"format":"cjs"},"../../node_modules/qrcode/lib/core/utils.js":{"bytes":1621,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/error-correction-level.js":{"bytes":893,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/bit-buffer.js":{"bytes":719,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/bit-matrix.js":{"bytes":1501,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/alignment-pattern.js":{"bytes":2996,"imports":[{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/finder-pattern.js":{"bytes":599,"imports":[{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/mask-pattern.js":{"bytes":6101,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/error-correction-code.js":{"bytes":3415,"imports":[{"path":"../../node_modules/qrcode/lib/core/error-correction-level.js","kind":"require-call","original":"./error-correction-level"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/galois-field.js":{"bytes":1899,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/polynomial.js":{"bytes":1589,"imports":[{"path":"../../node_modules/qrcode/lib/core/galois-field.js","kind":"require-call","original":"./galois-field"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/reed-solomon-encoder.js":{"bytes":1625,"imports":[{"path":"../../node_modules/qrcode/lib/core/polynomial.js","kind":"require-call","original":"./polynomial"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/version-check.js":{"bytes":268,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/regex.js":{"bytes":1084,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/mode.js":{"bytes":3983,"imports":[{"path":"../../node_modules/qrcode/lib/core/version-check.js","kind":"require-call","original":"./version-check"},{"path":"../../node_modules/qrcode/lib/core/regex.js","kind":"require-call","original":"./regex"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/version.js":{"bytes":4928,"imports":[{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"../../node_modules/qrcode/lib/core/error-correction-code.js","kind":"require-call","original":"./error-correction-code"},{"path":"../../node_modules/qrcode/lib/core/error-correction-level.js","kind":"require-call","original":"./error-correction-level"},{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"../../node_modules/qrcode/lib/core/version-check.js","kind":"require-call","original":"./version-check"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/format-info.js":{"bytes":1126,"imports":[{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/numeric-data.js":{"bytes":1211,"imports":[{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/alphanumeric-data.js":{"bytes":1822,"imports":[{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/encode-utf8/index.js":{"bytes":1366,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/byte-data.js":{"bytes":685,"imports":[{"path":"../../node_modules/encode-utf8/index.js","kind":"require-call","original":"encode-utf8"},{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/kanji-data.js":{"bytes":1584,"imports":[{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/dijkstrajs/dijkstra.js":{"bytes":5206,"imports":[],"format":"cjs"},"../../node_modules/qrcode/lib/core/segments.js":{"bytes":9331,"imports":[{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"../../node_modules/qrcode/lib/core/numeric-data.js","kind":"require-call","original":"./numeric-data"},{"path":"../../node_modules/qrcode/lib/core/alphanumeric-data.js","kind":"require-call","original":"./alphanumeric-data"},{"path":"../../node_modules/qrcode/lib/core/byte-data.js","kind":"require-call","original":"./byte-data"},{"path":"../../node_modules/qrcode/lib/core/kanji-data.js","kind":"require-call","original":"./kanji-data"},{"path":"../../node_modules/qrcode/lib/core/regex.js","kind":"require-call","original":"./regex"},{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"../../node_modules/dijkstrajs/dijkstra.js","kind":"require-call","original":"dijkstrajs"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/qrcode.js":{"bytes":15128,"imports":[{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"../../node_modules/qrcode/lib/core/error-correction-level.js","kind":"require-call","original":"./error-correction-level"},{"path":"../../node_modules/qrcode/lib/core/bit-buffer.js","kind":"require-call","original":"./bit-buffer"},{"path":"../../node_modules/qrcode/lib/core/bit-matrix.js","kind":"require-call","original":"./bit-matrix"},{"path":"../../node_modules/qrcode/lib/core/alignment-pattern.js","kind":"require-call","original":"./alignment-pattern"},{"path":"../../node_modules/qrcode/lib/core/finder-pattern.js","kind":"require-call","original":"./finder-pattern"},{"path":"../../node_modules/qrcode/lib/core/mask-pattern.js","kind":"require-call","original":"./mask-pattern"},{"path":"../../node_modules/qrcode/lib/core/error-correction-code.js","kind":"require-call","original":"./error-correction-code"},{"path":"../../node_modules/qrcode/lib/core/reed-solomon-encoder.js","kind":"require-call","original":"./reed-solomon-encoder"},{"path":"../../node_modules/qrcode/lib/core/version.js","kind":"require-call","original":"./version"},{"path":"../../node_modules/qrcode/lib/core/format-info.js","kind":"require-call","original":"./format-info"},{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"../../node_modules/qrcode/lib/core/segments.js","kind":"require-call","original":"./segments"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/renderer/utils.js":{"bytes":2894,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/renderer/canvas.js":{"bytes":1501,"imports":[{"path":"../../node_modules/qrcode/lib/renderer/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/renderer/svg-tag.js":{"bytes":1971,"imports":[{"path":"../../node_modules/qrcode/lib/renderer/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/browser.js":{"bytes":1886,"imports":[{"path":"../../node_modules/qrcode/lib/can-promise.js","kind":"require-call","original":"./can-promise"},{"path":"../../node_modules/qrcode/lib/core/qrcode.js","kind":"require-call","original":"./core/qrcode"},{"path":"../../node_modules/qrcode/lib/renderer/canvas.js","kind":"require-call","original":"./renderer/canvas"},{"path":"../../node_modules/qrcode/lib/renderer/svg-tag.js","kind":"require-call","original":"./renderer/svg-tag.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/@walletconnect/modal-ui/dist/index.js":{"bytes":85513,"imports":[{"path":"../../node_modules/lit/index.js","kind":"import-statement","original":"lit"},{"path":"../../node_modules/lit/decorators.js","kind":"import-statement","original":"lit/decorators.js"},{"path":"../../node_modules/lit/directives/class-map.js","kind":"import-statement","original":"lit/directives/class-map.js"},{"path":"../../node_modules/@walletconnect/modal-core/dist/index.js","kind":"import-statement","original":"@walletconnect/modal-core"},{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"lit-html"},{"path":"../../node_modules/motion/dist/main.es.js","kind":"import-statement","original":"motion"},{"path":"../../node_modules/lit/directives/if-defined.js","kind":"import-statement","original":"lit/directives/if-defined.js"},{"path":"../../node_modules/qrcode/lib/browser.js","kind":"import-statement","original":"qrcode"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@walletconnect/modal/dist/index.js":{"bytes":544,"imports":[{"path":"../../node_modules/@walletconnect/modal-core/dist/index.js","kind":"import-statement","original":"@walletconnect/modal-core"},{"path":"../../node_modules/@walletconnect/modal-ui/dist/index.js","kind":"dynamic-import","original":"@walletconnect/modal-ui"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/session.ts":{"bytes":10521,"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"@walletconnect/utils","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"./constants.js"},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/helpers.ts":{"bytes":6507,"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"../../node_modules/@walletconnect/modal/dist/index.js","kind":"import-statement","original":"@walletconnect/modal"},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"./constants.js"},{"path":"src/session.ts","kind":"import-statement","original":"./session.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/signers/evm.ts":{"bytes":4517,"imports":[{"path":"@rango-dev/signer-evm","kind":"import-statement","external":true},{"path":"@walletconnect/encoding","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../constants.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/signers/helper.ts":{"bytes":2088,"imports":[{"path":"@keplr-wallet/cosmos","kind":"import-statement","external":true},{"path":"@keplr-wallet/simple-fetch","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/signers/mock.ts":{"bytes":110012,"imports":[],"format":"esm"},"src/signers/cosmos.ts":{"bytes":7368,"imports":[{"path":"@cosmjs/launchpad","kind":"import-statement","external":true},{"path":"@keplr-wallet/cosmos","kind":"import-statement","external":true},{"path":"@rango-dev/signer-cosmos","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"cosmos-wallet","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../constants.js"},{"path":"src/signers/helper.ts","kind":"import-statement","original":"./helper.js"},{"path":"src/signers/mock.ts","kind":"import-statement","original":"./mock.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/signers/solana.ts":{"bytes":4696,"imports":[{"path":"@rango-dev/signer-solana","kind":"import-statement","external":true},{"path":"@solana/web3.js","kind":"import-statement","external":true},{"path":"bs58","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../constants.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/signer.ts":{"bytes":958,"imports":[{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/signers/evm.ts","kind":"dynamic-import","original":"./signers/evm.js"},{"path":"src/signers/cosmos.ts","kind":"dynamic-import","original":"./signers/cosmos.js"},{"path":"src/signers/solana.ts","kind":"dynamic-import","original":"./signers/solana.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":6671,"imports":[{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"@walletconnect/sign-client","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"./constants.js"},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers.js"},{"path":"src/session.ts","kind":"import-statement","original":"./session.js"},{"path":"src/signer.ts","kind":"import-statement","original":"./signer.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":40835},"dist/index.js":{"imports":[{"path":"dist/chunk-BPSEZJUF.js","kind":"import-statement"},{"path":"dist/chunk-RPL2NMJC.js","kind":"import-statement"},{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"},{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"@walletconnect/sign-client","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"dist/dist-6GI3ECE5.js","kind":"dynamic-import"},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"@walletconnect/utils","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"dist/evm-MYSQOTV5.js","kind":"dynamic-import"},{"path":"dist/cosmos-I3Z34UI3.js","kind":"dynamic-import"},{"path":"dist/solana-35I33VLX.js","kind":"dynamic-import"}],"exports":["canSwitchNetworkTo","config","connect","disconnect","getInstance","getSigners","getWalletInfo","init","subscribe","switchNetwork"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":2478},"src/helpers.ts":{"bytesInOutput":2119},"../../node_modules/@walletconnect/modal/dist/index.js":{"bytesInOutput":392},"src/session.ts":{"bytesInOutput":3058},"src/signer.ts":{"bytesInOutput":514}},"bytes":8965},"dist/dist-6GI3ECE5.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":565742},"dist/dist-6GI3ECE5.js":{"imports":[{"path":"dist/chunk-BPSEZJUF.js","kind":"import-statement"},{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"}],"exports":["WcmModal","WcmQrCode"],"entryPoint":"../../node_modules/@walletconnect/modal-ui/dist/index.js","inputs":{"../../node_modules/qrcode/lib/can-promise.js":{"bytesInOutput":121},"../../node_modules/qrcode/lib/core/utils.js":{"bytesInOutput":804},"../../node_modules/qrcode/lib/core/error-correction-level.js":{"bytesInOutput":530},"../../node_modules/qrcode/lib/core/bit-buffer.js":{"bytesInOutput":454},"../../node_modules/qrcode/lib/core/bit-matrix.js":{"bytesInOutput":530},"../../node_modules/qrcode/lib/core/alignment-pattern.js":{"bytesInOutput":465},"../../node_modules/qrcode/lib/core/finder-pattern.js":{"bytesInOutput":138},"../../node_modules/qrcode/lib/core/mask-pattern.js":{"bytesInOutput":2111},"../../node_modules/qrcode/lib/core/error-correction-code.js":{"bytesInOutput":1527},"../../node_modules/qrcode/lib/core/galois-field.js":{"bytesInOutput":394},"../../node_modules/qrcode/lib/core/polynomial.js":{"bytesInOutput":553},"../../node_modules/qrcode/lib/core/reed-solomon-encoder.js":{"bytesInOutput":562},"../../node_modules/qrcode/lib/core/version-check.js":{"bytesInOutput":82},"../../node_modules/qrcode/lib/core/regex.js":{"bytesInOutput":816},"../../node_modules/qrcode/lib/core/mode.js":{"bytesInOutput":1173},"../../node_modules/qrcode/lib/core/version.js":{"bytesInOutput":1474},"../../node_modules/qrcode/lib/core/format-info.js":{"bytesInOutput":222},"../../node_modules/qrcode/lib/core/numeric-data.js":{"bytesInOutput":618},"../../node_modules/qrcode/lib/core/alphanumeric-data.js":{"bytesInOutput":782},"../../node_modules/encode-utf8/index.js":{"bytesInOutput":585},"../../node_modules/qrcode/lib/core/byte-data.js":{"bytesInOutput":490},"../../node_modules/qrcode/lib/core/kanji-data.js":{"bytesInOutput":657},"../../node_modules/dijkstrajs/dijkstra.js":{"bytesInOutput":1156},"../../node_modules/qrcode/lib/core/segments.js":{"bytesInOutput":2964},"../../node_modules/qrcode/lib/core/qrcode.js":{"bytesInOutput":3561},"../../node_modules/qrcode/lib/renderer/utils.js":{"bytesInOutput":1496},"../../node_modules/qrcode/lib/renderer/canvas.js":{"bytesInOutput":845},"../../node_modules/qrcode/lib/renderer/svg-tag.js":{"bytesInOutput":987},"../../node_modules/qrcode/lib/browser.js":{"bytesInOutput":828},"../../node_modules/@lit/reactive-element/css-tag.js":{"bytesInOutput":1364},"../../node_modules/@lit/reactive-element/reactive-element.js":{"bytesInOutput":5655},"../../node_modules/lit-html/lit-html.js":{"bytesInOutput":7956},"../../node_modules/lit-element/lit-element.js":{"bytesInOutput":994},"../../node_modules/lit/index.js":{"bytesInOutput":0},"../../node_modules/lit-html/is-server.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/custom-element.js":{"bytesInOutput":192},"../../node_modules/lit/decorators.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/property.js":{"bytesInOutput":449},"../../node_modules/@lit/reactive-element/decorators/state.js":{"bytesInOutput":49},"../../node_modules/@lit/reactive-element/decorators/base.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/event-options.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/query.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/query-all.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/query-async.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.js":{"bytesInOutput":200},"../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js":{"bytesInOutput":0},"../../node_modules/lit-html/directive.js":{"bytesInOutput":328},"../../node_modules/lit-html/directives/class-map.js":{"bytesInOutput":843},"../../node_modules/lit/directives/class-map.js":{"bytesInOutput":0},"../../node_modules/@motionone/utils/dist/array.es.js":{"bytesInOutput":68},"../../node_modules/@motionone/utils/dist/index.es.js":{"bytesInOutput":0},"../../node_modules/@motionone/utils/dist/clamp.es.js":{"bytesInOutput":53},"../../node_modules/@motionone/utils/dist/defaults.es.js":{"bytesInOutput":62},"../../node_modules/@motionone/utils/dist/is-number.es.js":{"bytesInOutput":43},"../../node_modules/@motionone/utils/dist/is-easing-list.es.js":{"bytesInOutput":55},"../../node_modules/@motionone/utils/dist/wrap.es.js":{"bytesInOutput":60},"../../node_modules/@motionone/utils/dist/easing.es.js":{"bytesInOutput":79},"../../node_modules/@motionone/utils/dist/mix.es.js":{"bytesInOutput":36},"../../node_modules/@motionone/utils/dist/noop.es.js":{"bytesInOutput":47},"../../node_modules/@motionone/utils/dist/progress.es.js":{"bytesInOutput":52},"../../node_modules/@motionone/utils/dist/offset.es.js":{"bytesInOutput":179},"../../node_modules/@motionone/utils/dist/interpolate.es.js":{"bytesInOutput":214},"../../node_modules/@motionone/utils/dist/is-cubic-bezier.es.js":{"bytesInOutput":56},"../../node_modules/@motionone/utils/dist/is-easing-generator.es.js":{"bytesInOutput":73},"../../node_modules/@motionone/utils/dist/is-function.es.js":{"bytesInOutput":46},"../../node_modules/@motionone/utils/dist/is-string.es.js":{"bytesInOutput":43},"../../node_modules/@motionone/utils/dist/time.es.js":{"bytesInOutput":32},"../../node_modules/@motionone/easing/dist/cubic-bezier.es.js":{"bytesInOutput":362},"../../node_modules/@motionone/easing/dist/index.es.js":{"bytesInOutput":0},"../../node_modules/@motionone/easing/dist/steps.es.js":{"bytesInOutput":150},"../../node_modules/@motionone/animation/dist/utils/easing.es.js":{"bytesInOutput":351},"../../node_modules/@motionone/animation/dist/Animation.es.js":{"bytesInOutput":2189},"../../node_modules/@motionone/animation/dist/index.es.js":{"bytesInOutput":0},"../../node_modules/hey-listen/dist/hey-listen.es.js":{"bytesInOutput":35},"../../node_modules/@motionone/types/dist/MotionValue.es.js":{"bytesInOutput":189},"../../node_modules/@motionone/types/dist/index.es.js":{"bytesInOutput":0},"../../node_modules/@motionone/dom/dist/animate/data.es.js":{"bytesInOutput":210},"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js":{"bytesInOutput":847},"../../node_modules/@motionone/dom/dist/animate/utils/css-var.es.js":{"bytesInOutput":254},"../../node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js":{"bytesInOutput":532},"../../node_modules/@motionone/dom/dist/animate/utils/easing.es.js":{"bytesInOutput":336},"../../node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js":{"bytesInOutput":163},"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js":{"bytesInOutput":74},"../../node_modules/@motionone/dom/dist/animate/style.es.js":{"bytesInOutput":221},"../../node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js":{"bytesInOutput":138},"../../node_modules/@motionone/dom/dist/animate/utils/get-unit.es.js":{"bytesInOutput":213},"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js":{"bytesInOutput":1690},"../../node_modules/@motionone/dom/dist/animate/utils/options.es.js":{"bytesInOutput":95},"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js":{"bytesInOutput":228},"../../node_modules/@motionone/dom/dist/animate/utils/controls.es.js":{"bytesInOutput":843},"../../node_modules/@motionone/dom/dist/utils/stagger.es.js":{"bytesInOutput":62},"../../node_modules/@motionone/dom/dist/animate/create-animate.es.js":{"bytesInOutput":324},"../../node_modules/@motionone/dom/dist/animate/index.es.js":{"bytesInOutput":14},"../../node_modules/@motionone/dom/dist/index.es.js":{"bytesInOutput":0},"../../node_modules/motion/dist/main.es.js":{"bytesInOutput":0},"../../node_modules/motion/dist/animate.es.js":{"bytesInOutput":195},"../../node_modules/lit-html/directives/if-defined.js":{"bytesInOutput":21},"../../node_modules/lit/directives/if-defined.js":{"bytesInOutput":0},"../../node_modules/@walletconnect/modal-ui/dist/index.js":{"bytesInOutput":85525}},"bytes":144235},"dist/chunk-BPSEZJUF.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":64327},"dist/chunk-BPSEZJUF.js":{"imports":[{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"}],"exports":["a","b","c","d","e","f","g","h","i"],"inputs":{"../../node_modules/proxy-compare/dist/index.modern.js":{"bytesInOutput":225},"../../node_modules/valtio/esm/vanilla.mjs":{"bytesInOutput":3419},"../../node_modules/@walletconnect/modal-core/dist/index.js":{"bytesInOutput":8599}},"bytes":12404},"dist/evm-MYSQOTV5.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":6981},"dist/evm-MYSQOTV5.js":{"imports":[{"path":"dist/chunk-RPL2NMJC.js","kind":"import-statement"},{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"},{"path":"@rango-dev/signer-evm","kind":"import-statement","external":true},{"path":"@walletconnect/encoding","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/signers/evm.ts","inputs":{"src/signers/evm.ts":{"bytesInOutput":1789}},"bytes":1920},"dist/cosmos-I3Z34UI3.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":167188},"dist/cosmos-I3Z34UI3.js":{"imports":[{"path":"dist/chunk-RPL2NMJC.js","kind":"import-statement"},{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"},{"path":"@cosmjs/launchpad","kind":"import-statement","external":true},{"path":"@keplr-wallet/cosmos","kind":"import-statement","external":true},{"path":"@rango-dev/signer-cosmos","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"cosmos-wallet","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"@keplr-wallet/cosmos","kind":"import-statement","external":true},{"path":"@keplr-wallet/simple-fetch","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/signers/cosmos.ts","inputs":{"src/signers/cosmos.ts":{"bytesInOutput":3209},"src/signers/helper.ts":{"bytesInOutput":1050},"src/signers/mock.ts":{"bytesInOutput":74055}},"bytes":78449},"dist/solana-35I33VLX.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7412},"dist/solana-35I33VLX.js":{"imports":[{"path":"dist/chunk-RPL2NMJC.js","kind":"import-statement"},{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"},{"path":"@rango-dev/signer-solana","kind":"import-statement","external":true},{"path":"@solana/web3.js","kind":"import-statement","external":true},{"path":"bs58","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/signers/solana.ts","inputs":{"src/signers/solana.ts":{"bytesInOutput":1821}},"bytes":1955},"dist/chunk-RPL2NMJC.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":3379},"dist/chunk-RPL2NMJC.js":{"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true}],"exports":["a","b","c","d","e","f","g","h"],"inputs":{"src/constants.ts":{"bytesInOutput":519}},"bytes":627},"dist/chunk-DXVBX5XQ.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/chunk-DXVBX5XQ.js":{"imports":[],"exports":["a","b","c"],"inputs":{},"bytes":645}}}
1
+ {"inputs":{"src/constants.ts":{"bytes":2718,"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/proxy-compare/dist/index.modern.js":{"bytes":2616,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/valtio/esm/vanilla.mjs":{"bytes":9012,"imports":[{"path":"../../node_modules/proxy-compare/dist/index.modern.js","kind":"import-statement","original":"proxy-compare"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@walletconnect/modal-core/dist/index.js":{"bytes":8844,"imports":[{"path":"../../node_modules/valtio/esm/vanilla.mjs","kind":"import-statement","original":"valtio/vanilla"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/css-tag.js":{"bytes":1576,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/reactive-element.js":{"bytes":6044,"imports":[{"path":"../../node_modules/@lit/reactive-element/css-tag.js","kind":"import-statement","original":"./css-tag.js"},{"path":"../../node_modules/@lit/reactive-element/css-tag.js","kind":"import-statement","original":"./css-tag.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit-html/lit-html.js":{"bytes":8112,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit-element/lit-element.js":{"bytes":1381,"imports":[{"path":"../../node_modules/@lit/reactive-element/reactive-element.js","kind":"import-statement","original":"@lit/reactive-element"},{"path":"../../node_modules/@lit/reactive-element/reactive-element.js","kind":"import-statement","original":"@lit/reactive-element"},{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"lit-html"},{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"lit-html"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit-html/is-server.js":{"bytes":162,"imports":[],"format":"esm"},"../../node_modules/lit/index.js":{"bytes":157,"imports":[{"path":"../../node_modules/@lit/reactive-element/reactive-element.js","kind":"import-statement","original":"@lit/reactive-element"},{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"lit-html"},{"path":"../../node_modules/lit-element/lit-element.js","kind":"import-statement","original":"lit-element/lit-element.js"},{"path":"../../node_modules/lit-html/is-server.js","kind":"import-statement","original":"lit-html/is-server.js"}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/custom-element.js":{"bytes":350,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/property.js":{"bytes":574,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/state.js":{"bytes":225,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/property.js","kind":"import-statement","original":"./property.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/base.js":{"bytes":666,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/event-options.js":{"bytes":280,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/query.js":{"bytes":612,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/query-all.js":{"bytes":388,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/query-async.js":{"bytes":392,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.js":{"bytes":725,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js":{"bytes":655,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/base.js","kind":"import-statement","original":"./base.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.js","kind":"import-statement","original":"./query-assigned-elements.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit/decorators.js":{"bytes":598,"imports":[{"path":"../../node_modules/@lit/reactive-element/decorators/custom-element.js","kind":"import-statement","original":"@lit/reactive-element/decorators/custom-element.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/property.js","kind":"import-statement","original":"@lit/reactive-element/decorators/property.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/state.js","kind":"import-statement","original":"@lit/reactive-element/decorators/state.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/event-options.js","kind":"import-statement","original":"@lit/reactive-element/decorators/event-options.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query.js","kind":"import-statement","original":"@lit/reactive-element/decorators/query.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query-all.js","kind":"import-statement","original":"@lit/reactive-element/decorators/query-all.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query-async.js","kind":"import-statement","original":"@lit/reactive-element/decorators/query-async.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.js","kind":"import-statement","original":"@lit/reactive-element/decorators/query-assigned-elements.js"},{"path":"../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js","kind":"import-statement","original":"@lit/reactive-element/decorators/query-assigned-nodes.js"}],"format":"esm"},"../../node_modules/lit-html/directive.js":{"bytes":481,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit-html/directives/class-map.js":{"bytes":1129,"imports":[{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"../lit-html.js"},{"path":"../../node_modules/lit-html/directive.js","kind":"import-statement","original":"../directive.js"}],"format":"esm"},"../../node_modules/lit/directives/class-map.js":{"bytes":85,"imports":[{"path":"../../node_modules/lit-html/directives/class-map.js","kind":"import-statement","original":"lit-html/directives/class-map.js"}],"format":"esm"},"../../node_modules/@motionone/utils/dist/array.es.js":{"bytes":243,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/clamp.es.js":{"bytes":83,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/defaults.es.js":{"bytes":129,"imports":[],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-number.es.js":{"bytes":77,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-easing-list.es.js":{"bytes":153,"imports":[{"path":"../../node_modules/@motionone/utils/dist/is-number.es.js","kind":"import-statement","original":"./is-number.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/wrap.es.js":{"bytes":156,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/easing.es.js":{"bytes":264,"imports":[{"path":"../../node_modules/@motionone/utils/dist/is-easing-list.es.js","kind":"import-statement","original":"./is-easing-list.es.js"},{"path":"../../node_modules/@motionone/utils/dist/wrap.es.js","kind":"import-statement","original":"./wrap.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/mix.es.js":{"bytes":93,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/noop.es.js":{"bytes":83,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/progress.es.js":{"bytes":111,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/offset.es.js":{"bytes":477,"imports":[{"path":"../../node_modules/@motionone/utils/dist/mix.es.js","kind":"import-statement","original":"./mix.es.js"},{"path":"../../node_modules/@motionone/utils/dist/progress.es.js","kind":"import-statement","original":"./progress.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/interpolate.es.js":{"bytes":1175,"imports":[{"path":"../../node_modules/@motionone/utils/dist/mix.es.js","kind":"import-statement","original":"./mix.es.js"},{"path":"../../node_modules/@motionone/utils/dist/noop.es.js","kind":"import-statement","original":"./noop.es.js"},{"path":"../../node_modules/@motionone/utils/dist/offset.es.js","kind":"import-statement","original":"./offset.es.js"},{"path":"../../node_modules/@motionone/utils/dist/progress.es.js","kind":"import-statement","original":"./progress.es.js"},{"path":"../../node_modules/@motionone/utils/dist/easing.es.js","kind":"import-statement","original":"./easing.es.js"},{"path":"../../node_modules/@motionone/utils/dist/clamp.es.js","kind":"import-statement","original":"./clamp.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-cubic-bezier.es.js":{"bytes":154,"imports":[{"path":"../../node_modules/@motionone/utils/dist/is-number.es.js","kind":"import-statement","original":"./is-number.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-easing-generator.es.js":{"bytes":136,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-function.es.js":{"bytes":83,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/is-string.es.js":{"bytes":77,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/time.es.js":{"bytes":119,"imports":[],"format":"esm"},"../../node_modules/@motionone/utils/dist/velocity.es.js":{"bytes":278,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/utils/dist/index.es.js":{"bytes":884,"imports":[{"path":"../../node_modules/@motionone/utils/dist/array.es.js","kind":"import-statement","original":"./array.es.js"},{"path":"../../node_modules/@motionone/utils/dist/clamp.es.js","kind":"import-statement","original":"./clamp.es.js"},{"path":"../../node_modules/@motionone/utils/dist/defaults.es.js","kind":"import-statement","original":"./defaults.es.js"},{"path":"../../node_modules/@motionone/utils/dist/easing.es.js","kind":"import-statement","original":"./easing.es.js"},{"path":"../../node_modules/@motionone/utils/dist/interpolate.es.js","kind":"import-statement","original":"./interpolate.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-cubic-bezier.es.js","kind":"import-statement","original":"./is-cubic-bezier.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-easing-generator.es.js","kind":"import-statement","original":"./is-easing-generator.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-easing-list.es.js","kind":"import-statement","original":"./is-easing-list.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-function.es.js","kind":"import-statement","original":"./is-function.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-number.es.js","kind":"import-statement","original":"./is-number.es.js"},{"path":"../../node_modules/@motionone/utils/dist/is-string.es.js","kind":"import-statement","original":"./is-string.es.js"},{"path":"../../node_modules/@motionone/utils/dist/mix.es.js","kind":"import-statement","original":"./mix.es.js"},{"path":"../../node_modules/@motionone/utils/dist/noop.es.js","kind":"import-statement","original":"./noop.es.js"},{"path":"../../node_modules/@motionone/utils/dist/offset.es.js","kind":"import-statement","original":"./offset.es.js"},{"path":"../../node_modules/@motionone/utils/dist/progress.es.js","kind":"import-statement","original":"./progress.es.js"},{"path":"../../node_modules/@motionone/utils/dist/time.es.js","kind":"import-statement","original":"./time.es.js"},{"path":"../../node_modules/@motionone/utils/dist/velocity.es.js","kind":"import-statement","original":"./velocity.es.js"},{"path":"../../node_modules/@motionone/utils/dist/wrap.es.js","kind":"import-statement","original":"./wrap.es.js"}],"format":"esm"},"../../node_modules/@motionone/easing/dist/cubic-bezier.es.js":{"bytes":1980,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/easing/dist/steps.es.js":{"bytes":415,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/easing/dist/index.es.js":{"bytes":91,"imports":[{"path":"../../node_modules/@motionone/easing/dist/cubic-bezier.es.js","kind":"import-statement","original":"./cubic-bezier.es.js"},{"path":"../../node_modules/@motionone/easing/dist/steps.es.js","kind":"import-statement","original":"./steps.es.js"}],"format":"esm"},"../../node_modules/@motionone/animation/dist/utils/easing.es.js":{"bytes":1189,"imports":[{"path":"../../node_modules/@motionone/easing/dist/index.es.js","kind":"import-statement","original":"@motionone/easing"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/animation/dist/Animation.es.js":{"bytes":5901,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/animation/dist/utils/easing.es.js","kind":"import-statement","original":"./utils/easing.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/animation/dist/index.es.js":{"bytes":105,"imports":[{"path":"../../node_modules/@motionone/animation/dist/Animation.es.js","kind":"import-statement","original":"./Animation.es.js"},{"path":"../../node_modules/@motionone/animation/dist/utils/easing.es.js","kind":"import-statement","original":"./utils/easing.es.js"}],"format":"esm"},"../../node_modules/hey-listen/dist/hey-listen.es.js":{"bytes":427,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/types/dist/MotionValue.es.js":{"bytes":576,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/types/dist/index.es.js":{"bytes":51,"imports":[{"path":"../../node_modules/@motionone/types/dist/MotionValue.es.js","kind":"import-statement","original":"./MotionValue.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/data.es.js":{"bytes":502,"imports":[{"path":"../../node_modules/@motionone/types/dist/index.es.js","kind":"import-statement","original":"@motionone/types"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js":{"bytes":2575,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/data.es.js","kind":"import-statement","original":"../data.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/css-var.es.js":{"bytes":651,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"./transforms.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js":{"bytes":1062,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/easing.es.js":{"bytes":1000,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js","kind":"import-statement","original":"./feature-detection.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js":{"bytes":387,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js":{"bytes":267,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"./transforms.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/style.es.js":{"bytes":866,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/utils/css-var.es.js","kind":"import-statement","original":"./utils/css-var.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js","kind":"import-statement","original":"./utils/get-style-name.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"./utils/transforms.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js":{"bytes":411,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/get-unit.es.js":{"bytes":574,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js":{"bytes":8891,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/data.es.js","kind":"import-statement","original":"./data.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/css-var.es.js","kind":"import-statement","original":"./utils/css-var.es.js"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"./utils/transforms.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/easing.es.js","kind":"import-statement","original":"./utils/easing.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js","kind":"import-statement","original":"./utils/feature-detection.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js","kind":"import-statement","original":"./utils/keyframes.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/style.es.js","kind":"import-statement","original":"./style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js","kind":"import-statement","original":"./utils/get-style-name.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js","kind":"import-statement","original":"./utils/stop-animation.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-unit.es.js","kind":"import-statement","original":"./utils/get-unit.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/options.es.js":{"bytes":316,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js":{"bytes":619,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/controls.es.js":{"bytes":2631,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js","kind":"import-statement","original":"./stop-animation.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/utils/stagger.es.js":{"bytes":988,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/animation/dist/index.es.js","kind":"import-statement","original":"@motionone/animation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/create-animate.es.js":{"bytes":1789,"imports":[{"path":"../../node_modules/hey-listen/dist/hey-listen.es.js","kind":"import-statement","original":"hey-listen"},{"path":"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js","kind":"import-statement","original":"./animate-style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/options.es.js","kind":"import-statement","original":"./utils/options.es.js"},{"path":"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js","kind":"import-statement","original":"../utils/resolve-elements.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/controls.es.js","kind":"import-statement","original":"./utils/controls.es.js"},{"path":"../../node_modules/@motionone/dom/dist/utils/stagger.es.js","kind":"import-statement","original":"../utils/stagger.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/index.es.js":{"bytes":170,"imports":[{"path":"../../node_modules/@motionone/animation/dist/index.es.js","kind":"import-statement","original":"@motionone/animation"},{"path":"../../node_modules/@motionone/dom/dist/animate/create-animate.es.js","kind":"import-statement","original":"./create-animate.es.js"}],"format":"esm"},"../../node_modules/tslib/tslib.es6.mjs":{"bytes":16249,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/timeline/utils/calc-time.es.js":{"bytes":469,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/timeline/utils/edit.es.js":{"bytes":1013,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/timeline/utils/sort.es.js":{"bytes":178,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/timeline/index.es.js":{"bytes":8566,"imports":[{"path":"../../node_modules/tslib/tslib.es6.mjs","kind":"import-statement","original":"tslib"},{"path":"../../node_modules/hey-listen/dist/hey-listen.es.js","kind":"import-statement","original":"hey-listen"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/utils/stagger.es.js","kind":"import-statement","original":"../utils/stagger.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js","kind":"import-statement","original":"../animate/animate-style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/controls.es.js","kind":"import-statement","original":"../animate/utils/controls.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js","kind":"import-statement","original":"../animate/utils/keyframes.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/options.es.js","kind":"import-statement","original":"../animate/utils/options.es.js"},{"path":"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js","kind":"import-statement","original":"../utils/resolve-elements.es.js"},{"path":"../../node_modules/@motionone/dom/dist/timeline/utils/calc-time.es.js","kind":"import-statement","original":"./utils/calc-time.es.js"},{"path":"../../node_modules/@motionone/dom/dist/timeline/utils/edit.es.js","kind":"import-statement","original":"./utils/edit.es.js"},{"path":"../../node_modules/@motionone/dom/dist/timeline/utils/sort.es.js","kind":"import-statement","original":"./utils/sort.es.js"},{"path":"../../node_modules/@motionone/animation/dist/index.es.js","kind":"import-statement","original":"@motionone/animation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/utils/velocity.es.js":{"bytes":292,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/spring/defaults.es.js":{"bytes":100,"imports":[],"format":"esm"},"../../node_modules/@motionone/generators/dist/spring/utils.es.js":{"bytes":232,"imports":[{"path":"../../node_modules/@motionone/generators/dist/spring/defaults.es.js","kind":"import-statement","original":"./defaults.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/utils/has-reached-target.es.js":{"bytes":188,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/spring/index.es.js":{"bytes":2335,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/generators/dist/spring/defaults.es.js","kind":"import-statement","original":"./defaults.es.js"},{"path":"../../node_modules/@motionone/generators/dist/spring/utils.es.js","kind":"import-statement","original":"./utils.es.js"},{"path":"../../node_modules/@motionone/generators/dist/utils/has-reached-target.es.js","kind":"import-statement","original":"../utils/has-reached-target.es.js"},{"path":"../../node_modules/@motionone/generators/dist/utils/velocity.es.js","kind":"import-statement","original":"../utils/velocity.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/glide/index.es.js":{"bytes":3353,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/generators/dist/utils/velocity.es.js","kind":"import-statement","original":"../utils/velocity.es.js"},{"path":"../../node_modules/@motionone/generators/dist/spring/index.es.js","kind":"import-statement","original":"../spring/index.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/utils/pregenerate-keyframes.es.js":{"bytes":1130,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/generators/dist/index.es.js":{"bytes":232,"imports":[{"path":"../../node_modules/@motionone/generators/dist/glide/index.es.js","kind":"import-statement","original":"./glide/index.es.js"},{"path":"../../node_modules/@motionone/generators/dist/spring/index.es.js","kind":"import-statement","original":"./spring/index.es.js"},{"path":"../../node_modules/@motionone/generators/dist/utils/pregenerate-keyframes.es.js","kind":"import-statement","original":"./utils/pregenerate-keyframes.es.js"},{"path":"../../node_modules/@motionone/generators/dist/utils/velocity.es.js","kind":"import-statement","original":"./utils/velocity.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/easing/create-generator-easing.es.js":{"bytes":5814,"imports":[{"path":"../../node_modules/@motionone/generators/dist/index.es.js","kind":"import-statement","original":"@motionone/generators"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-unit.es.js","kind":"import-statement","original":"../animate/utils/get-unit.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"../animate/utils/transforms.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js","kind":"import-statement","original":"../animate/utils/get-style-name.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/easing/spring/index.es.js":{"bytes":203,"imports":[{"path":"../../node_modules/@motionone/generators/dist/index.es.js","kind":"import-statement","original":"@motionone/generators"},{"path":"../../node_modules/@motionone/dom/dist/easing/create-generator-easing.es.js","kind":"import-statement","original":"../create-generator-easing.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/easing/glide/index.es.js":{"bytes":198,"imports":[{"path":"../../node_modules/@motionone/generators/dist/index.es.js","kind":"import-statement","original":"@motionone/generators"},{"path":"../../node_modules/@motionone/dom/dist/easing/create-generator-easing.es.js","kind":"import-statement","original":"../create-generator-easing.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/in-view.es.js":{"bytes":1945,"imports":[{"path":"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js","kind":"import-statement","original":"../utils/resolve-elements.es.js"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/resize/handle-element.es.js":{"bytes":2155,"imports":[{"path":"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js","kind":"import-statement","original":"../../utils/resolve-elements.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/resize/handle-window.es.js":{"bytes":835,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/resize/index.es.js":{"bytes":270,"imports":[{"path":"../../node_modules/@motionone/dom/dist/gestures/resize/handle-element.es.js","kind":"import-statement","original":"./handle-element.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/resize/handle-window.es.js","kind":"import-statement","original":"./handle-window.es.js"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/info.es.js":{"bytes":1465,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/inset.es.js":{"bytes":800,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/presets.es.js":{"bytes":255,"imports":[],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/edge.es.js":{"bytes":1192,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/offset.es.js":{"bytes":1408,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/edge.es.js","kind":"import-statement","original":"./edge.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/index.es.js":{"bytes":2275,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/inset.es.js","kind":"import-statement","original":"./inset.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/presets.es.js","kind":"import-statement","original":"./presets.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/offset.es.js","kind":"import-statement","original":"./offset.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/on-scroll-handler.es.js":{"bytes":2189,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/info.es.js","kind":"import-statement","original":"./info.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/index.es.js","kind":"import-statement","original":"./offsets/index.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/gestures/scroll/index.es.js":{"bytes":3059,"imports":[{"path":"../../node_modules/tslib/tslib.es6.mjs","kind":"import-statement","original":"tslib"},{"path":"../../node_modules/@motionone/dom/dist/gestures/resize/index.es.js","kind":"import-statement","original":"../resize/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/info.es.js","kind":"import-statement","original":"./info.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/on-scroll-handler.es.js","kind":"import-statement","original":"./on-scroll-handler.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/utils/has-changed.es.js":{"bytes":485,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/utils/is-variant.es.js":{"bytes":101,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/utils/resolve-variant.es.js":{"bytes":275,"imports":[{"path":"../../node_modules/@motionone/dom/dist/state/utils/is-variant.es.js","kind":"import-statement","original":"./is-variant.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/utils/schedule.es.js":{"bytes":865,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/utils/events.es.js":{"bytes":436,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/gestures/in-view.es.js":{"bytes":786,"imports":[{"path":"../../node_modules/tslib/tslib.es6.mjs","kind":"import-statement","original":"tslib"},{"path":"../../node_modules/@motionone/dom/dist/state/utils/events.es.js","kind":"import-statement","original":"../utils/events.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/in-view.es.js","kind":"import-statement","original":"../../gestures/in-view.es.js"}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/gestures/hover.es.js":{"bytes":827,"imports":[{"path":"../../node_modules/@motionone/dom/dist/state/utils/events.es.js","kind":"import-statement","original":"../utils/events.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/gestures/press.es.js":{"bytes":851,"imports":[{"path":"../../node_modules/@motionone/dom/dist/state/utils/events.es.js","kind":"import-statement","original":"../utils/events.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/state/index.es.js":{"bytes":7197,"imports":[{"path":"../../node_modules/tslib/tslib.es6.mjs","kind":"import-statement","original":"tslib"},{"path":"../../node_modules/hey-listen/dist/hey-listen.es.js","kind":"import-statement","original":"hey-listen"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js","kind":"import-statement","original":"../animate/animate-style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/style.es.js","kind":"import-statement","original":"../animate/style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/options.es.js","kind":"import-statement","original":"../animate/utils/options.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/utils/has-changed.es.js","kind":"import-statement","original":"./utils/has-changed.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/utils/resolve-variant.es.js","kind":"import-statement","original":"./utils/resolve-variant.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/utils/schedule.es.js","kind":"import-statement","original":"./utils/schedule.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/gestures/in-view.es.js","kind":"import-statement","original":"./gestures/in-view.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/gestures/hover.es.js","kind":"import-statement","original":"./gestures/hover.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/gestures/press.es.js","kind":"import-statement","original":"./gestures/press.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/utils/events.es.js","kind":"import-statement","original":"./utils/events.es.js"},{"path":"../../node_modules/@motionone/animation/dist/index.es.js","kind":"import-statement","original":"@motionone/animation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/style-object.es.js":{"bytes":1192,"imports":[{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","kind":"import-statement","original":"./transforms.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/animate/utils/style-string.es.js":{"bytes":506,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/utils/style-object.es.js","kind":"import-statement","original":"./style-object.es.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@motionone/dom/dist/index.es.js":{"bytes":1063,"imports":[{"path":"../../node_modules/@motionone/dom/dist/animate/index.es.js","kind":"import-statement","original":"./animate/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/create-animate.es.js","kind":"import-statement","original":"./animate/create-animate.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js","kind":"import-statement","original":"./animate/animate-style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/timeline/index.es.js","kind":"import-statement","original":"./timeline/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/utils/stagger.es.js","kind":"import-statement","original":"./utils/stagger.es.js"},{"path":"../../node_modules/@motionone/dom/dist/easing/spring/index.es.js","kind":"import-statement","original":"./easing/spring/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/easing/glide/index.es.js","kind":"import-statement","original":"./easing/glide/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/style.es.js","kind":"import-statement","original":"./animate/style.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/in-view.es.js","kind":"import-statement","original":"./gestures/in-view.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/resize/index.es.js","kind":"import-statement","original":"./gestures/resize/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/index.es.js","kind":"import-statement","original":"./gestures/scroll/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/gestures/scroll/offsets/presets.es.js","kind":"import-statement","original":"./gestures/scroll/offsets/presets.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/controls.es.js","kind":"import-statement","original":"./animate/utils/controls.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/data.es.js","kind":"import-statement","original":"./animate/data.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js","kind":"import-statement","original":"./animate/utils/get-style-name.es.js"},{"path":"../../node_modules/@motionone/dom/dist/state/index.es.js","kind":"import-statement","original":"./state/index.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/style-object.es.js","kind":"import-statement","original":"./animate/utils/style-object.es.js"},{"path":"../../node_modules/@motionone/dom/dist/animate/utils/style-string.es.js","kind":"import-statement","original":"./animate/utils/style-string.es.js"}],"format":"esm"},"../../node_modules/motion/dist/animate.es.js":{"bytes":678,"imports":[{"path":"../../node_modules/@motionone/dom/dist/index.es.js","kind":"import-statement","original":"@motionone/dom"},{"path":"../../node_modules/@motionone/utils/dist/index.es.js","kind":"import-statement","original":"@motionone/utils"},{"path":"../../node_modules/@motionone/animation/dist/index.es.js","kind":"import-statement","original":"@motionone/animation"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/motion/dist/main.es.js":{"bytes":109,"imports":[{"path":"../../node_modules/@motionone/dom/dist/index.es.js","kind":"import-statement","original":"@motionone/dom"},{"path":"../../node_modules/@motionone/types/dist/index.es.js","kind":"import-statement","original":"@motionone/types"},{"path":"../../node_modules/motion/dist/animate.es.js","kind":"import-statement","original":"./animate.es.js"}],"format":"esm"},"../../node_modules/lit-html/directives/if-defined.js":{"bytes":217,"imports":[{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"../lit-html.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/lit/directives/if-defined.js":{"bytes":87,"imports":[{"path":"../../node_modules/lit-html/directives/if-defined.js","kind":"import-statement","original":"lit-html/directives/if-defined.js"}],"format":"esm"},"../../node_modules/qrcode/lib/can-promise.js":{"bytes":275,"imports":[],"format":"cjs"},"../../node_modules/qrcode/lib/core/utils.js":{"bytes":1621,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/error-correction-level.js":{"bytes":893,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/bit-buffer.js":{"bytes":719,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/bit-matrix.js":{"bytes":1501,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/alignment-pattern.js":{"bytes":2996,"imports":[{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/finder-pattern.js":{"bytes":599,"imports":[{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/mask-pattern.js":{"bytes":6101,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/error-correction-code.js":{"bytes":3415,"imports":[{"path":"../../node_modules/qrcode/lib/core/error-correction-level.js","kind":"require-call","original":"./error-correction-level"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/galois-field.js":{"bytes":1899,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/polynomial.js":{"bytes":1589,"imports":[{"path":"../../node_modules/qrcode/lib/core/galois-field.js","kind":"require-call","original":"./galois-field"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/reed-solomon-encoder.js":{"bytes":1625,"imports":[{"path":"../../node_modules/qrcode/lib/core/polynomial.js","kind":"require-call","original":"./polynomial"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/version-check.js":{"bytes":268,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/regex.js":{"bytes":1084,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/mode.js":{"bytes":3983,"imports":[{"path":"../../node_modules/qrcode/lib/core/version-check.js","kind":"require-call","original":"./version-check"},{"path":"../../node_modules/qrcode/lib/core/regex.js","kind":"require-call","original":"./regex"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/version.js":{"bytes":4928,"imports":[{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"../../node_modules/qrcode/lib/core/error-correction-code.js","kind":"require-call","original":"./error-correction-code"},{"path":"../../node_modules/qrcode/lib/core/error-correction-level.js","kind":"require-call","original":"./error-correction-level"},{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"../../node_modules/qrcode/lib/core/version-check.js","kind":"require-call","original":"./version-check"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/format-info.js":{"bytes":1126,"imports":[{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/numeric-data.js":{"bytes":1211,"imports":[{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/alphanumeric-data.js":{"bytes":1822,"imports":[{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/encode-utf8/index.js":{"bytes":1366,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/byte-data.js":{"bytes":685,"imports":[{"path":"../../node_modules/encode-utf8/index.js","kind":"require-call","original":"encode-utf8"},{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/kanji-data.js":{"bytes":1584,"imports":[{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/dijkstrajs/dijkstra.js":{"bytes":5206,"imports":[],"format":"cjs"},"../../node_modules/qrcode/lib/core/segments.js":{"bytes":9331,"imports":[{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"../../node_modules/qrcode/lib/core/numeric-data.js","kind":"require-call","original":"./numeric-data"},{"path":"../../node_modules/qrcode/lib/core/alphanumeric-data.js","kind":"require-call","original":"./alphanumeric-data"},{"path":"../../node_modules/qrcode/lib/core/byte-data.js","kind":"require-call","original":"./byte-data"},{"path":"../../node_modules/qrcode/lib/core/kanji-data.js","kind":"require-call","original":"./kanji-data"},{"path":"../../node_modules/qrcode/lib/core/regex.js","kind":"require-call","original":"./regex"},{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"../../node_modules/dijkstrajs/dijkstra.js","kind":"require-call","original":"dijkstrajs"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/core/qrcode.js":{"bytes":15128,"imports":[{"path":"../../node_modules/qrcode/lib/core/utils.js","kind":"require-call","original":"./utils"},{"path":"../../node_modules/qrcode/lib/core/error-correction-level.js","kind":"require-call","original":"./error-correction-level"},{"path":"../../node_modules/qrcode/lib/core/bit-buffer.js","kind":"require-call","original":"./bit-buffer"},{"path":"../../node_modules/qrcode/lib/core/bit-matrix.js","kind":"require-call","original":"./bit-matrix"},{"path":"../../node_modules/qrcode/lib/core/alignment-pattern.js","kind":"require-call","original":"./alignment-pattern"},{"path":"../../node_modules/qrcode/lib/core/finder-pattern.js","kind":"require-call","original":"./finder-pattern"},{"path":"../../node_modules/qrcode/lib/core/mask-pattern.js","kind":"require-call","original":"./mask-pattern"},{"path":"../../node_modules/qrcode/lib/core/error-correction-code.js","kind":"require-call","original":"./error-correction-code"},{"path":"../../node_modules/qrcode/lib/core/reed-solomon-encoder.js","kind":"require-call","original":"./reed-solomon-encoder"},{"path":"../../node_modules/qrcode/lib/core/version.js","kind":"require-call","original":"./version"},{"path":"../../node_modules/qrcode/lib/core/format-info.js","kind":"require-call","original":"./format-info"},{"path":"../../node_modules/qrcode/lib/core/mode.js","kind":"require-call","original":"./mode"},{"path":"../../node_modules/qrcode/lib/core/segments.js","kind":"require-call","original":"./segments"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/renderer/utils.js":{"bytes":2894,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/renderer/canvas.js":{"bytes":1501,"imports":[{"path":"../../node_modules/qrcode/lib/renderer/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/renderer/svg-tag.js":{"bytes":1971,"imports":[{"path":"../../node_modules/qrcode/lib/renderer/utils.js","kind":"require-call","original":"./utils"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/qrcode/lib/browser.js":{"bytes":1886,"imports":[{"path":"../../node_modules/qrcode/lib/can-promise.js","kind":"require-call","original":"./can-promise"},{"path":"../../node_modules/qrcode/lib/core/qrcode.js","kind":"require-call","original":"./core/qrcode"},{"path":"../../node_modules/qrcode/lib/renderer/canvas.js","kind":"require-call","original":"./renderer/canvas"},{"path":"../../node_modules/qrcode/lib/renderer/svg-tag.js","kind":"require-call","original":"./renderer/svg-tag.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/@walletconnect/modal-ui/dist/index.js":{"bytes":85513,"imports":[{"path":"../../node_modules/lit/index.js","kind":"import-statement","original":"lit"},{"path":"../../node_modules/lit/decorators.js","kind":"import-statement","original":"lit/decorators.js"},{"path":"../../node_modules/lit/directives/class-map.js","kind":"import-statement","original":"lit/directives/class-map.js"},{"path":"../../node_modules/@walletconnect/modal-core/dist/index.js","kind":"import-statement","original":"@walletconnect/modal-core"},{"path":"../../node_modules/lit-html/lit-html.js","kind":"import-statement","original":"lit-html"},{"path":"../../node_modules/motion/dist/main.es.js","kind":"import-statement","original":"motion"},{"path":"../../node_modules/lit/directives/if-defined.js","kind":"import-statement","original":"lit/directives/if-defined.js"},{"path":"../../node_modules/qrcode/lib/browser.js","kind":"import-statement","original":"qrcode"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/@walletconnect/modal/dist/index.js":{"bytes":544,"imports":[{"path":"../../node_modules/@walletconnect/modal-core/dist/index.js","kind":"import-statement","original":"@walletconnect/modal-core"},{"path":"../../node_modules/@walletconnect/modal-ui/dist/index.js","kind":"dynamic-import","original":"@walletconnect/modal-ui"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/session.ts":{"bytes":10521,"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"@walletconnect/utils","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"./constants.js"},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/helpers.ts":{"bytes":6507,"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"../../node_modules/@walletconnect/modal/dist/index.js","kind":"import-statement","original":"@walletconnect/modal"},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"./constants.js"},{"path":"src/session.ts","kind":"import-statement","original":"./session.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/signers/evm.ts":{"bytes":4517,"imports":[{"path":"@rango-dev/signer-evm","kind":"import-statement","external":true},{"path":"@walletconnect/encoding","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../constants.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/signers/helper.ts":{"bytes":2088,"imports":[{"path":"@keplr-wallet/cosmos","kind":"import-statement","external":true},{"path":"@keplr-wallet/simple-fetch","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/signers/mock.ts":{"bytes":110012,"imports":[],"format":"esm"},"src/signers/cosmos.ts":{"bytes":7368,"imports":[{"path":"@cosmjs/launchpad","kind":"import-statement","external":true},{"path":"@keplr-wallet/cosmos","kind":"import-statement","external":true},{"path":"@rango-dev/signer-cosmos","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"cosmos-wallet","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../constants.js"},{"path":"src/signers/helper.ts","kind":"import-statement","original":"./helper.js"},{"path":"src/signers/mock.ts","kind":"import-statement","original":"./mock.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/signers/solana.ts":{"bytes":4696,"imports":[{"path":"@rango-dev/signer-solana","kind":"import-statement","external":true},{"path":"@solana/web3.js","kind":"import-statement","external":true},{"path":"bs58","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"../constants.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/signer.ts":{"bytes":1148,"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/signers/evm.ts","kind":"dynamic-import","original":"./signers/evm.js"},{"path":"src/signers/cosmos.ts","kind":"dynamic-import","original":"./signers/cosmos.js"},{"path":"src/signers/solana.ts","kind":"dynamic-import","original":"./signers/solana.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":6671,"imports":[{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"@walletconnect/sign-client","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"src/constants.ts","kind":"import-statement","original":"./constants.js"},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers.js"},{"path":"src/session.ts","kind":"import-statement","original":"./session.js"},{"path":"src/signer.ts","kind":"import-statement","original":"./signer.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":41159},"dist/index.js":{"imports":[{"path":"dist/chunk-BPSEZJUF.js","kind":"import-statement"},{"path":"dist/chunk-RPL2NMJC.js","kind":"import-statement"},{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"},{"path":"@rango-dev/logging-core","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"@walletconnect/sign-client","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"dist/dist-6GI3ECE5.js","kind":"dynamic-import"},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"@walletconnect/utils","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"dist/evm-MYSQOTV5.js","kind":"dynamic-import"},{"path":"dist/cosmos-I3Z34UI3.js","kind":"dynamic-import"},{"path":"dist/solana-35I33VLX.js","kind":"dynamic-import"}],"exports":["canSwitchNetworkTo","config","connect","disconnect","getInstance","getSigners","getWalletInfo","init","subscribe","switchNetwork"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":2478},"src/helpers.ts":{"bytesInOutput":2122},"../../node_modules/@walletconnect/modal/dist/index.js":{"bytesInOutput":392},"src/session.ts":{"bytesInOutput":3058},"src/signer.ts":{"bytesInOutput":628}},"bytes":9082},"dist/dist-6GI3ECE5.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":565742},"dist/dist-6GI3ECE5.js":{"imports":[{"path":"dist/chunk-BPSEZJUF.js","kind":"import-statement"},{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"}],"exports":["WcmModal","WcmQrCode"],"entryPoint":"../../node_modules/@walletconnect/modal-ui/dist/index.js","inputs":{"../../node_modules/qrcode/lib/can-promise.js":{"bytesInOutput":121},"../../node_modules/qrcode/lib/core/utils.js":{"bytesInOutput":804},"../../node_modules/qrcode/lib/core/error-correction-level.js":{"bytesInOutput":530},"../../node_modules/qrcode/lib/core/bit-buffer.js":{"bytesInOutput":454},"../../node_modules/qrcode/lib/core/bit-matrix.js":{"bytesInOutput":530},"../../node_modules/qrcode/lib/core/alignment-pattern.js":{"bytesInOutput":465},"../../node_modules/qrcode/lib/core/finder-pattern.js":{"bytesInOutput":138},"../../node_modules/qrcode/lib/core/mask-pattern.js":{"bytesInOutput":2111},"../../node_modules/qrcode/lib/core/error-correction-code.js":{"bytesInOutput":1527},"../../node_modules/qrcode/lib/core/galois-field.js":{"bytesInOutput":394},"../../node_modules/qrcode/lib/core/polynomial.js":{"bytesInOutput":553},"../../node_modules/qrcode/lib/core/reed-solomon-encoder.js":{"bytesInOutput":562},"../../node_modules/qrcode/lib/core/version-check.js":{"bytesInOutput":82},"../../node_modules/qrcode/lib/core/regex.js":{"bytesInOutput":816},"../../node_modules/qrcode/lib/core/mode.js":{"bytesInOutput":1173},"../../node_modules/qrcode/lib/core/version.js":{"bytesInOutput":1474},"../../node_modules/qrcode/lib/core/format-info.js":{"bytesInOutput":222},"../../node_modules/qrcode/lib/core/numeric-data.js":{"bytesInOutput":618},"../../node_modules/qrcode/lib/core/alphanumeric-data.js":{"bytesInOutput":782},"../../node_modules/encode-utf8/index.js":{"bytesInOutput":585},"../../node_modules/qrcode/lib/core/byte-data.js":{"bytesInOutput":490},"../../node_modules/qrcode/lib/core/kanji-data.js":{"bytesInOutput":657},"../../node_modules/dijkstrajs/dijkstra.js":{"bytesInOutput":1156},"../../node_modules/qrcode/lib/core/segments.js":{"bytesInOutput":2964},"../../node_modules/qrcode/lib/core/qrcode.js":{"bytesInOutput":3561},"../../node_modules/qrcode/lib/renderer/utils.js":{"bytesInOutput":1496},"../../node_modules/qrcode/lib/renderer/canvas.js":{"bytesInOutput":845},"../../node_modules/qrcode/lib/renderer/svg-tag.js":{"bytesInOutput":987},"../../node_modules/qrcode/lib/browser.js":{"bytesInOutput":828},"../../node_modules/@lit/reactive-element/css-tag.js":{"bytesInOutput":1364},"../../node_modules/@lit/reactive-element/reactive-element.js":{"bytesInOutput":5655},"../../node_modules/lit-html/lit-html.js":{"bytesInOutput":7956},"../../node_modules/lit-element/lit-element.js":{"bytesInOutput":994},"../../node_modules/lit/index.js":{"bytesInOutput":0},"../../node_modules/lit-html/is-server.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/custom-element.js":{"bytesInOutput":192},"../../node_modules/lit/decorators.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/property.js":{"bytesInOutput":449},"../../node_modules/@lit/reactive-element/decorators/state.js":{"bytesInOutput":49},"../../node_modules/@lit/reactive-element/decorators/base.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/event-options.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/query.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/query-all.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/query-async.js":{"bytesInOutput":0},"../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.js":{"bytesInOutput":200},"../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js":{"bytesInOutput":0},"../../node_modules/lit-html/directive.js":{"bytesInOutput":328},"../../node_modules/lit-html/directives/class-map.js":{"bytesInOutput":843},"../../node_modules/lit/directives/class-map.js":{"bytesInOutput":0},"../../node_modules/@motionone/utils/dist/array.es.js":{"bytesInOutput":68},"../../node_modules/@motionone/utils/dist/index.es.js":{"bytesInOutput":0},"../../node_modules/@motionone/utils/dist/clamp.es.js":{"bytesInOutput":53},"../../node_modules/@motionone/utils/dist/defaults.es.js":{"bytesInOutput":62},"../../node_modules/@motionone/utils/dist/is-number.es.js":{"bytesInOutput":43},"../../node_modules/@motionone/utils/dist/is-easing-list.es.js":{"bytesInOutput":55},"../../node_modules/@motionone/utils/dist/wrap.es.js":{"bytesInOutput":60},"../../node_modules/@motionone/utils/dist/easing.es.js":{"bytesInOutput":79},"../../node_modules/@motionone/utils/dist/mix.es.js":{"bytesInOutput":36},"../../node_modules/@motionone/utils/dist/noop.es.js":{"bytesInOutput":47},"../../node_modules/@motionone/utils/dist/progress.es.js":{"bytesInOutput":52},"../../node_modules/@motionone/utils/dist/offset.es.js":{"bytesInOutput":179},"../../node_modules/@motionone/utils/dist/interpolate.es.js":{"bytesInOutput":214},"../../node_modules/@motionone/utils/dist/is-cubic-bezier.es.js":{"bytesInOutput":56},"../../node_modules/@motionone/utils/dist/is-easing-generator.es.js":{"bytesInOutput":73},"../../node_modules/@motionone/utils/dist/is-function.es.js":{"bytesInOutput":46},"../../node_modules/@motionone/utils/dist/is-string.es.js":{"bytesInOutput":43},"../../node_modules/@motionone/utils/dist/time.es.js":{"bytesInOutput":32},"../../node_modules/@motionone/easing/dist/cubic-bezier.es.js":{"bytesInOutput":362},"../../node_modules/@motionone/easing/dist/index.es.js":{"bytesInOutput":0},"../../node_modules/@motionone/easing/dist/steps.es.js":{"bytesInOutput":150},"../../node_modules/@motionone/animation/dist/utils/easing.es.js":{"bytesInOutput":351},"../../node_modules/@motionone/animation/dist/Animation.es.js":{"bytesInOutput":2189},"../../node_modules/@motionone/animation/dist/index.es.js":{"bytesInOutput":0},"../../node_modules/hey-listen/dist/hey-listen.es.js":{"bytesInOutput":35},"../../node_modules/@motionone/types/dist/MotionValue.es.js":{"bytesInOutput":189},"../../node_modules/@motionone/types/dist/index.es.js":{"bytesInOutput":0},"../../node_modules/@motionone/dom/dist/animate/data.es.js":{"bytesInOutput":210},"../../node_modules/@motionone/dom/dist/animate/utils/transforms.es.js":{"bytesInOutput":847},"../../node_modules/@motionone/dom/dist/animate/utils/css-var.es.js":{"bytesInOutput":254},"../../node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js":{"bytesInOutput":532},"../../node_modules/@motionone/dom/dist/animate/utils/easing.es.js":{"bytesInOutput":336},"../../node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js":{"bytesInOutput":163},"../../node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js":{"bytesInOutput":74},"../../node_modules/@motionone/dom/dist/animate/style.es.js":{"bytesInOutput":221},"../../node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js":{"bytesInOutput":138},"../../node_modules/@motionone/dom/dist/animate/utils/get-unit.es.js":{"bytesInOutput":213},"../../node_modules/@motionone/dom/dist/animate/animate-style.es.js":{"bytesInOutput":1690},"../../node_modules/@motionone/dom/dist/animate/utils/options.es.js":{"bytesInOutput":95},"../../node_modules/@motionone/dom/dist/utils/resolve-elements.es.js":{"bytesInOutput":228},"../../node_modules/@motionone/dom/dist/animate/utils/controls.es.js":{"bytesInOutput":843},"../../node_modules/@motionone/dom/dist/utils/stagger.es.js":{"bytesInOutput":62},"../../node_modules/@motionone/dom/dist/animate/create-animate.es.js":{"bytesInOutput":324},"../../node_modules/@motionone/dom/dist/animate/index.es.js":{"bytesInOutput":14},"../../node_modules/@motionone/dom/dist/index.es.js":{"bytesInOutput":0},"../../node_modules/motion/dist/main.es.js":{"bytesInOutput":0},"../../node_modules/motion/dist/animate.es.js":{"bytesInOutput":195},"../../node_modules/lit-html/directives/if-defined.js":{"bytesInOutput":21},"../../node_modules/lit/directives/if-defined.js":{"bytesInOutput":0},"../../node_modules/@walletconnect/modal-ui/dist/index.js":{"bytesInOutput":85525}},"bytes":144235},"dist/chunk-BPSEZJUF.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":64327},"dist/chunk-BPSEZJUF.js":{"imports":[{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"}],"exports":["a","b","c","d","e","f","g","h","i"],"inputs":{"../../node_modules/proxy-compare/dist/index.modern.js":{"bytesInOutput":225},"../../node_modules/valtio/esm/vanilla.mjs":{"bytesInOutput":3419},"../../node_modules/@walletconnect/modal-core/dist/index.js":{"bytesInOutput":8599}},"bytes":12404},"dist/evm-MYSQOTV5.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":6981},"dist/evm-MYSQOTV5.js":{"imports":[{"path":"dist/chunk-RPL2NMJC.js","kind":"import-statement"},{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"},{"path":"@rango-dev/signer-evm","kind":"import-statement","external":true},{"path":"@walletconnect/encoding","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/signers/evm.ts","inputs":{"src/signers/evm.ts":{"bytesInOutput":1789}},"bytes":1920},"dist/cosmos-I3Z34UI3.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":167188},"dist/cosmos-I3Z34UI3.js":{"imports":[{"path":"dist/chunk-RPL2NMJC.js","kind":"import-statement"},{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"},{"path":"@cosmjs/launchpad","kind":"import-statement","external":true},{"path":"@keplr-wallet/cosmos","kind":"import-statement","external":true},{"path":"@rango-dev/signer-cosmos","kind":"import-statement","external":true},{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"cosmos-wallet","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true},{"path":"@keplr-wallet/cosmos","kind":"import-statement","external":true},{"path":"@keplr-wallet/simple-fetch","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/signers/cosmos.ts","inputs":{"src/signers/cosmos.ts":{"bytesInOutput":3209},"src/signers/helper.ts":{"bytesInOutput":1050},"src/signers/mock.ts":{"bytesInOutput":74055}},"bytes":78449},"dist/solana-35I33VLX.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7412},"dist/solana-35I33VLX.js":{"imports":[{"path":"dist/chunk-RPL2NMJC.js","kind":"import-statement"},{"path":"dist/chunk-DXVBX5XQ.js","kind":"import-statement"},{"path":"@rango-dev/signer-solana","kind":"import-statement","external":true},{"path":"@solana/web3.js","kind":"import-statement","external":true},{"path":"bs58","kind":"import-statement","external":true},{"path":"caip","kind":"import-statement","external":true},{"path":"rango-types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/signers/solana.ts","inputs":{"src/signers/solana.ts":{"bytesInOutput":1821}},"bytes":1955},"dist/chunk-RPL2NMJC.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":3379},"dist/chunk-RPL2NMJC.js":{"imports":[{"path":"@rango-dev/wallets-shared","kind":"import-statement","external":true}],"exports":["a","b","c","d","e","f","g","h"],"inputs":{"src/constants.ts":{"bytesInOutput":519}},"bytes":627},"dist/chunk-DXVBX5XQ.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/chunk-DXVBX5XQ.js":{"imports":[],"exports":["a","b","c"],"inputs":{},"bytes":645}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/provider-walletconnect-2",
3
- "version": "0.41.1-next.3",
3
+ "version": "0.42.1-next.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -24,11 +24,11 @@
24
24
  "@cosmjs/launchpad": "^0.27.1",
25
25
  "@keplr-wallet/cosmos": "^0.9.12",
26
26
  "@keplr-wallet/simple-fetch": "^0.12.14",
27
- "@rango-dev/logging-core": "^0.10.1-next.0",
28
- "@rango-dev/signer-cosmos": "^0.36.1-next.0",
29
- "@rango-dev/signer-evm": "^0.38.1-next.0",
30
- "@rango-dev/signer-solana": "^0.42.1-next.0",
31
- "@rango-dev/wallets-shared": "^0.47.1-next.3",
27
+ "@rango-dev/logging-core": "^0.11.0",
28
+ "@rango-dev/signer-cosmos": "^0.37.0",
29
+ "@rango-dev/signer-evm": "^0.39.0",
30
+ "@rango-dev/signer-solana": "^0.43.0",
31
+ "@rango-dev/wallets-shared": "^0.48.1-next.0",
32
32
  "@solana/web3.js": "^1.91.4",
33
33
  "@walletconnect/encoding": "^1.0.2",
34
34
  "@walletconnect/sign-client": "^2.11.2",
package/src/signer.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { WCInstance } from './types.js';
2
2
  import type { SignerFactory } from 'rango-types';
3
3
 
4
+ import { retryLazyImport } from '@rango-dev/wallets-shared';
4
5
  import { DefaultSignerFactory, TransactionType as TxType } from 'rango-types';
5
6
 
6
7
  export default async function getSigners(
@@ -11,9 +12,15 @@ export default async function getSigners(
11
12
  }
12
13
 
13
14
  const signers = new DefaultSignerFactory();
14
- const EVMSigner = (await import('./signers/evm.js')).default;
15
- const COSMOSSigner = (await import('./signers/cosmos.js')).default;
16
- const SOLANASigner = (await import('./signers/solana.js')).default;
15
+ const EVMSigner = (
16
+ await retryLazyImport(async () => await import('./signers/evm.js'))
17
+ ).default;
18
+ const COSMOSSigner = (
19
+ await retryLazyImport(async () => await import('./signers/cosmos.js'))
20
+ ).default;
21
+ const SOLANASigner = (
22
+ await retryLazyImport(async () => await import('./signers/solana.js'))
23
+ ).default;
17
24
 
18
25
  signers.registerSigner(
19
26
  TxType.EVM,