@rango-dev/provider-walletconnect-2 0.55.1-next.2 → 0.56.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.
@@ -0,0 +1,2 @@
1
+ import"./chunk-6V3WUFOU.js";import{a as l}from"./chunk-DXVBX5XQ.js";import{cleanEvmError as h,toHexQuantity as o}from"@rango-dev/signer-evm";import*as m from"@walletconnect/encoding";import{AccountId as E,ChainId as p}from"caip";import"rango-types";var d="eip155",g=class u{static{l(this,"EVMSigner")}client;session;constructor(t,e){this.client=t,this.session=e}static buildTx(t){let e={data:t.data||"0x",value:t.value?o(t.value):"0x0"};return t.from&&(e.from=t.from),t.to&&(e.to=t.to),t.nonce&&(e.nonce=o(t.nonce)),t.gasLimit&&(e.gas=o(t.gasLimit)),t.maxFeePerGas&&t.maxPriorityFeePerGas?(e.maxFeePerGas=o(t.maxFeePerGas),e.maxPriorityFeePerGas=o(t.maxPriorityFeePerGas)):t.gasPrice&&(e.gasPrice=o(t.gasPrice)),e}async signMessage(t,e,i){let n=this.isNetworkAndAccountExistInSession({address:e,chainId:i}),r=new p({namespace:d,reference:n.chainId}),a=[m.utf8ToHex(t,!0),e],c;try{c=await this.client.request({topic:this.session.topic,chainId:r.toString(),request:{method:"personal_sign",params:a}})}catch(f){throw h(f)}return c}async signAndSendTx(t,e,i){try{let n=this.isNetworkAndAccountExistInSession({address:e,chainId:i}),r=u.buildTx(t),s=await this.client.request({topic:this.session.topic,chainId:n.caipChainId,request:{method:"eth_sendTransaction",params:[r]}});if(!s?.startsWith("0x"))throw new Error(`Received an invalid hash on signing the transaction. (hash=${s})`);return{hash:s}}catch(n){let r=h(n),s=this.session,a={namspaces:s?.namespaces,peering:s?.peer?.metadata,code:n?.code};throw r.context=a,r}}isNetworkAndAccountExistInSession(t){let{address:e,chainId:i}=t;if(!i)throw console.log("isNetworkAndAccountExistInSession",t),new Error("You need to set your chain for signing message/transaction.");let n=i.startsWith("0x")?String(parseInt(i)):i,r=new E({chainId:{namespace:d,reference:n},address:e}),s=this.session.namespaces[d]?.accounts.map(c=>c.toLowerCase());if(!s||!s.includes(r.toString()))throw console.warn("Available adresses and requested address:",s,r.toString(),i,e),new Error("Your requested address doesn't exist on your wallect connect session. Please reconnect your wallet.");let a=new p({namespace:d,reference:n});return{chainId:n,address:e,caipChainId:a.toString()}}},C=g;export{C as default};
2
+ //# sourceMappingURL=evm-3ID4XY4Y.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/signers/evm.ts"],
4
+ "sourcesContent": ["import type { SignClient } from '@walletconnect/sign-client/dist/types/client';\nimport type { SessionTypes } from '@walletconnect/types';\nimport type { EvmTransaction } from 'rango-types/mainApi';\n\nimport { cleanEvmError, toHexQuantity } from '@rango-dev/signer-evm';\nimport * as encoding from '@walletconnect/encoding';\nimport { AccountId, ChainId } from 'caip';\nimport { type GenericSigner } from 'rango-types';\n\nimport { EthereumRPCMethods, NAMESPACES } from '../constants.js';\n\nconst NAMESPACE_NAME = NAMESPACES.ETHEREUM;\n\ntype WalletConnectEvmTx = {\n from?: string;\n to?: string;\n data: string;\n value: string;\n gas?: string;\n gasPrice?: string;\n maxFeePerGas?: string;\n maxPriorityFeePerGas?: string;\n nonce?: string;\n};\n\nclass EVMSigner implements GenericSigner<EvmTransaction> {\n private client: SignClient;\n private session: SessionTypes.Struct;\n\n constructor(client: SignClient, session: SessionTypes.Struct) {\n this.client = client;\n this.session = session;\n }\n\n /**\n * Map Rango's EvmTransaction to WalletConnect eth_sendTransaction params.\n *\n * Unlike DefaultEvmSigner.buildTx (ethers TransactionRequest with gasLimit +\n * decimal fee strings), WC sends params raw over the relay. Wallets like\n * Ledger Live parse QUANTITY as hex, so decimal fees get inflated (~40x+).\n *\n * This builder:\n * - uses `gas` (JSON-RPC), not ethers' `gasLimit`\n * - hex-encodes gas, fees, value, and nonce\n */\n static buildTx(evmTx: EvmTransaction): WalletConnectEvmTx {\n const tx: WalletConnectEvmTx = {\n data: evmTx.data || '0x',\n /*\n * Approvals and many contract calls have value=null from the API.\n * Some WC wallets reject missing value; send 0x0 explicitly.\n */\n value: evmTx.value ? toHexQuantity(evmTx.value) : '0x0',\n };\n\n if (evmTx.from) {\n tx.from = evmTx.from;\n }\n if (evmTx.to) {\n tx.to = evmTx.to;\n }\n if (evmTx.nonce) {\n tx.nonce = toHexQuantity(evmTx.nonce);\n }\n if (evmTx.gasLimit) {\n tx.gas = toHexQuantity(evmTx.gasLimit);\n }\n if (evmTx.maxFeePerGas && evmTx.maxPriorityFeePerGas) {\n tx.maxFeePerGas = toHexQuantity(evmTx.maxFeePerGas);\n tx.maxPriorityFeePerGas = toHexQuantity(evmTx.maxPriorityFeePerGas);\n } else if (evmTx.gasPrice) {\n tx.gasPrice = toHexQuantity(evmTx.gasPrice);\n }\n\n return tx;\n }\n\n public async signMessage(\n msg: string,\n address: string,\n chainId: string | null\n ): Promise<string> {\n const requestedFor = this.isNetworkAndAccountExistInSession({\n address,\n chainId,\n });\n\n const caipChainId = new ChainId({\n namespace: NAMESPACE_NAME,\n reference: requestedFor.chainId,\n });\n const hexMsg = encoding.utf8ToHex(msg, true);\n\n const params = [hexMsg, address];\n\n let signature: string;\n try {\n // Send message to wallet (using relayer)\n signature = await this.client.request({\n topic: this.session.topic,\n chainId: caipChainId.toString(),\n request: {\n method: EthereumRPCMethods.PERSONAL_SIGN,\n params,\n },\n });\n } catch (error) {\n throw cleanEvmError(error);\n }\n\n /*\n * TODO: We can also verify the signature here\n * Check web-examples: dapps/react-dapp-v2/src/contexts/JsonRpcContext.tsx\n */\n\n return signature;\n }\n\n async signAndSendTx(\n tx: EvmTransaction,\n address: string,\n chainId: string | null\n ): Promise<{ hash: string }> {\n try {\n const requestedFor = this.isNetworkAndAccountExistInSession({\n address,\n chainId,\n });\n const transaction = EVMSigner.buildTx(tx);\n const hash: string = await this.client.request({\n topic: this.session.topic,\n chainId: requestedFor.caipChainId,\n request: {\n method: EthereumRPCMethods.SEND_TRANSACTION,\n params: [transaction],\n },\n });\n // Some wallets e.g. Rainbow wallet are returning invalid hash (e.g. 'null') in case of the rejection\n if (!hash?.startsWith('0x')) {\n throw new Error(\n `Received an invalid hash on signing the transaction. (hash=${hash})`\n );\n }\n return {\n hash,\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } catch (error: any) {\n const modifiedError = cleanEvmError(error);\n const session = this.session;\n const context = {\n namspaces: session?.namespaces,\n peering: session?.peer?.metadata,\n code: error?.code,\n };\n modifiedError.context = context;\n throw modifiedError;\n }\n }\n\n private isNetworkAndAccountExistInSession(requestedFor: {\n address: string;\n chainId: string | null;\n }) {\n const { address, chainId } = requestedFor;\n\n if (!chainId) {\n console.log('isNetworkAndAccountExistInSession', requestedFor);\n throw new Error(\n 'You need to set your chain for signing message/transaction.'\n );\n }\n\n /*\n * TODO: We need to make sure we are using a single format for chain ids, it should be hex or number.\n * This is a quick fix for evm.\n */\n const chainIdNumber = chainId.startsWith('0x')\n ? String(parseInt(chainId))\n : chainId;\n\n const caipAddress = new AccountId({\n chainId: {\n namespace: NAMESPACE_NAME,\n reference: chainIdNumber,\n },\n address,\n });\n const addresses = this.session.namespaces[NAMESPACE_NAME]?.accounts.map(\n (address) => address.toLowerCase()\n );\n\n if (!addresses || !addresses.includes(caipAddress.toString())) {\n console.warn(\n 'Available adresses and requested address:',\n addresses,\n caipAddress.toString(),\n chainId,\n address\n );\n throw new Error(\n `Your requested address doesn't exist on your wallect connect session. Please reconnect your wallet.`\n );\n }\n\n const caipChainId = new ChainId({\n namespace: NAMESPACE_NAME,\n reference: chainIdNumber,\n });\n\n return {\n chainId: chainIdNumber,\n address,\n caipChainId: caipChainId.toString(),\n };\n }\n}\n\nexport default EVMSigner;\n"],
5
+ "mappings": "oEAIA,OAAS,iBAAAA,EAAe,iBAAAC,MAAqB,wBAC7C,UAAYC,MAAc,0BAC1B,OAAS,aAAAC,EAAW,WAAAC,MAAe,OACnC,MAAmC,cAInC,IAAMC,WAcAC,EAAN,MAAMC,CAAmD,CAzBzD,MAyByD,CAAAC,EAAA,kBAC/C,OACA,QAER,YAAYC,EAAoBC,EAA8B,CAC5D,KAAK,OAASD,EACd,KAAK,QAAUC,CACjB,CAaA,OAAO,QAAQC,EAA2C,CACxD,IAAMC,EAAyB,CAC7B,KAAMD,EAAM,MAAQ,KAKpB,MAAOA,EAAM,MAAQE,EAAcF,EAAM,KAAK,EAAI,KACpD,EAEA,OAAIA,EAAM,OACRC,EAAG,KAAOD,EAAM,MAEdA,EAAM,KACRC,EAAG,GAAKD,EAAM,IAEZA,EAAM,QACRC,EAAG,MAAQC,EAAcF,EAAM,KAAK,GAElCA,EAAM,WACRC,EAAG,IAAMC,EAAcF,EAAM,QAAQ,GAEnCA,EAAM,cAAgBA,EAAM,sBAC9BC,EAAG,aAAeC,EAAcF,EAAM,YAAY,EAClDC,EAAG,qBAAuBC,EAAcF,EAAM,oBAAoB,GACzDA,EAAM,WACfC,EAAG,SAAWC,EAAcF,EAAM,QAAQ,GAGrCC,CACT,CAEA,MAAa,YACXE,EACAC,EACAC,EACiB,CACjB,IAAMC,EAAe,KAAK,kCAAkC,CAC1D,QAAAF,EACA,QAAAC,CACF,CAAC,EAEKE,EAAc,IAAIC,EAAQ,CAC9B,UAAWd,EACX,UAAWY,EAAa,OAC1B,CAAC,EAGKG,EAAS,CAFS,YAAUN,EAAK,EAAI,EAEnBC,CAAO,EAE3BM,EACJ,GAAI,CAEFA,EAAY,MAAM,KAAK,OAAO,QAAQ,CACpC,MAAO,KAAK,QAAQ,MACpB,QAASH,EAAY,SAAS,EAC9B,QAAS,CACP,uBACA,OAAAE,CACF,CACF,CAAC,CACH,OAASE,EAAO,CACd,MAAMC,EAAcD,CAAK,CAC3B,CAOA,OAAOD,CACT,CAEA,MAAM,cACJT,EACAG,EACAC,EAC2B,CAC3B,GAAI,CACF,IAAMC,EAAe,KAAK,kCAAkC,CAC1D,QAAAF,EACA,QAAAC,CACF,CAAC,EACKQ,EAAcjB,EAAU,QAAQK,CAAE,EAClCa,EAAe,MAAM,KAAK,OAAO,QAAQ,CAC7C,MAAO,KAAK,QAAQ,MACpB,QAASR,EAAa,YACtB,QAAS,CACP,6BACA,OAAQ,CAACO,CAAW,CACtB,CACF,CAAC,EAED,GAAI,CAACC,GAAM,WAAW,IAAI,EACxB,MAAM,IAAI,MACR,8DAA8DA,CAAI,GACpE,EAEF,MAAO,CACL,KAAAA,CACF,CAEF,OAASH,EAAY,CACnB,IAAMI,EAAgBH,EAAcD,CAAK,EACnCZ,EAAU,KAAK,QACfiB,EAAU,CACd,UAAWjB,GAAS,WACpB,QAASA,GAAS,MAAM,SACxB,KAAMY,GAAO,IACf,EACA,MAAAI,EAAc,QAAUC,EAClBD,CACR,CACF,CAEQ,kCAAkCT,EAGvC,CACD,GAAM,CAAE,QAAAF,EAAS,QAAAC,CAAQ,EAAIC,EAE7B,GAAI,CAACD,EACH,cAAQ,IAAI,oCAAqCC,CAAY,EACvD,IAAI,MACR,6DACF,EAOF,IAAMW,EAAgBZ,EAAQ,WAAW,IAAI,EACzC,OAAO,SAASA,CAAO,CAAC,EACxBA,EAEEa,EAAc,IAAIC,EAAU,CAChC,QAAS,CACP,UAAWzB,EACX,UAAWuB,CACb,EACA,QAAAb,CACF,CAAC,EACKgB,EAAY,KAAK,QAAQ,WAAW1B,CAAc,GAAG,SAAS,IACjEU,GAAYA,EAAQ,YAAY,CACnC,EAEA,GAAI,CAACgB,GAAa,CAACA,EAAU,SAASF,EAAY,SAAS,CAAC,EAC1D,cAAQ,KACN,4CACAE,EACAF,EAAY,SAAS,EACrBb,EACAD,CACF,EACM,IAAI,MACR,qGACF,EAGF,IAAMG,EAAc,IAAIC,EAAQ,CAC9B,UAAWd,EACX,UAAWuB,CACb,CAAC,EAED,MAAO,CACL,QAASA,EACT,QAAAb,EACA,YAAaG,EAAY,SAAS,CACpC,CACF,CACF,EAEOc,EAAQ1B",
6
+ "names": ["cleanEvmError", "toHexQuantity", "encoding", "AccountId", "ChainId", "NAMESPACE_NAME", "EVMSigner", "_EVMSigner", "__name", "client", "session", "evmTx", "tx", "toHexQuantity", "msg", "address", "chainId", "requestedFor", "caipChainId", "ChainId", "params", "signature", "error", "cleanEvmError", "transaction", "hash", "modifiedError", "context", "chainIdNumber", "caipAddress", "AccountId", "addresses", "evm_default"]
7
+ }
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{d as R,e as B,g as h,h as S}from"./chunk-BPSEZJUF.js";import{a as x,b as P,c as E,d as W,e as D,f as O,g as L,h as b}from"./chunk-6V3WUFOU.js";import{a as r}from"./chunk-DXVBX5XQ.js";import{debug as we,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 Q,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),B.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),R.setIsUiLoaded(!0)}}};import{AccountId as X,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 U}from"@walletconnect/utils";import{AccountId as H}from"caip";function w(e){return e.session.values[e.session.values.length-1]}r(w,"getLastSession");async function de(e,n){return await me(e.ping({topic:n}),P),w(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(k=>k.chains).flat(),C=y();C.openModal({uri:a,chains:p}),l=new Promise((k,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 F(e,n){let{meta:s}=n,o=$(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(F,"tryConnect");async function q(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(q,"cleanupSingleSession");async function A(e){let n=[],s=e.session.getAll();for(let t of s)n.push(e.disconnect({topic:t.topic,reason:U("USER_DISCONNECTED")}));let o=e.pairing.getAll();for(let t of o)n.push(e.disconnect({topic:t.topic,reason:U("USER_DISCONNECTED")}));return T(e,void 0),await Promise.all(n)}r(A,"disconnectSessions");function j(e){return Object.values(e.namespaces).map(s=>s.accounts).flat().map(s=>{let{address:o,chainId:t}=new H(s),i=K(t.reference);return{address:o,chainId:i}})}r(j,"getAccountsFromSession");function G(e){return Object.values(e.params.namespaces).map(s=>s.accounts).flat().map(s=>{let{address:o,chainId:t}=new H(s);return{accounts:[o],chainId:t.namespace==="solana"?le.SOLANA:t.reference}})}r(G,"getAccountsFromEvent");async function J(e,n,s,o){let t=e.session,i=t.namespaces,a=!1,c=i.eip155.accounts,l=Y(e),m=I(n,l,o);c.includes(m)||(c.push(m),a=!0);let d=I(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(J,"updateSessionAccounts");function z(e){let n=["trust","1inch"],s=e?.session?.peer?.metadata?.name;return n.some(o=>s?.toLowerCase()?.includes(o))}r(z,"ignoreNamespaceMethods");async function T(e,n){return e.core.storage.setItem(E,{defaultChainId:n?parseInt(n):""})}r(T,"persistCurrentChainId");async function V(e){try{let n=(await e.core.storage.getItem(E))?.defaultChainId;return n?String(n):void 0}catch{return}}r(V,"getPersistedChainId");var v;function Z(e){v||(v=new g({projectId:e,themeMode:"light",themeVariables:{"--wcm-z-index":"999999999"}}))}r(Z,"createModalInstance");function y(){return v}r(y,"getModal");function $(e){let s=Se(e).map(t=>new N({namespace:"eip155",reference:String(parseInt(t.chainId))}).toString());return{eip155:{methods:D,events:W,chains:s}}}r($,"generateOptionalNamespace");function K(e){return e===O?Ee.SOLANA:e}r(K,"solanaChainIdToNetworkName");async function ee(e,n,s,o){if(e.method==="eth_chainId"){let t=w(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(ee,"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 ne(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(ne,"switchOrAddEvmChain");function Y(e){return e.session.namespaces.eip155.accounts?.map(n=>new X(n).address)?.filter(n=>Q(n))?.[0]}r(Y,"getCurrentEvmAccountAddress");function I(e,n,s){let o=M(e,s);return X.format({chainId:{namespace:"eip155",reference:String(o)},address:n})}r(I,"getEvmAccount");function te(e,n){let s=!1;return e.filter(({address:o,chainId:t})=>{if(Q(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(te,"filterEvmAccounts");import{dynamicImportWithRefinedError as se}from"@rango-dev/wallets-shared";import{DefaultSignerFactory as Ie,TransactionType as oe}from"rango-types";async function _(e){if(!e.session)throw new Error("Session is required for wallet connect signers.");let n=new Ie,s=(await se(async()=>await import("./evm-7WN7BITC.js"))).default,o=(await se(async()=>await import("./solana-MFA7C5XI.js"))).default;return n.registerSigner(oe.EVM,new s(e.client,e.session)),n.registerSigner(oe.SOLANA,new o(e.client,e.session)),n}r(_,"getSigners");var Me=Te.WALLET_CONNECT_2,f={WC_PROJECT_ID:"",DISABLE_MODAL_AND_OPEN_LINK:void 0},an=r(e=>{f=e,Z(f.WC_PROJECT_ID)},"init"),cn={type:Me,checkInstallation:!1,isAsyncInstance:!0,defaultNetwork:x,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:L})}return{client:t,session:null,request:async i=>ee(i,t,o,s)}},"getInstance"),ln=r(async({instance:e,meta:n})=>{let{client:s}=e,o=await F(s,{meta:n,envs:f});e.session=o;let t=await V(s),i=j(o);return te(i,t)},"connect"),mn=r(({instance:e,updateChainId:n,updateAccounts:s,disconnect:o})=>{let{client:t}=e;t.on("session_update",i=>{G(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),q(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")&&!z(n)){let p=o?.().network||Ae.ETHEREUM;await J(n,e,p,s),await ne(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=>we(s))},"disconnect"),hn=_,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};
1
+ import{d as R,e as B,g as h,h as S}from"./chunk-BPSEZJUF.js";import{a as x,b as P,c as E,d as W,e as D,f as O,g as L,h as b}from"./chunk-6V3WUFOU.js";import{a as r}from"./chunk-DXVBX5XQ.js";import{debug as we,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 Q,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),B.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),R.setIsUiLoaded(!0)}}};import{AccountId as X,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 U}from"@walletconnect/utils";import{AccountId as H}from"caip";function w(e){return e.session.values[e.session.values.length-1]}r(w,"getLastSession");async function de(e,n){return await me(e.ping({topic:n}),P),w(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(k=>k.chains).flat(),C=y();C.openModal({uri:a,chains:p}),l=new Promise((k,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 F(e,n){let{meta:s}=n,o=$(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(F,"tryConnect");async function q(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(q,"cleanupSingleSession");async function A(e){let n=[],s=e.session.getAll();for(let t of s)n.push(e.disconnect({topic:t.topic,reason:U("USER_DISCONNECTED")}));let o=e.pairing.getAll();for(let t of o)n.push(e.disconnect({topic:t.topic,reason:U("USER_DISCONNECTED")}));return T(e,void 0),await Promise.all(n)}r(A,"disconnectSessions");function j(e){return Object.values(e.namespaces).map(s=>s.accounts).flat().map(s=>{let{address:o,chainId:t}=new H(s),i=K(t.reference);return{address:o,chainId:i}})}r(j,"getAccountsFromSession");function G(e){return Object.values(e.params.namespaces).map(s=>s.accounts).flat().map(s=>{let{address:o,chainId:t}=new H(s);return{accounts:[o],chainId:t.namespace==="solana"?le.SOLANA:t.reference}})}r(G,"getAccountsFromEvent");async function J(e,n,s,o){let t=e.session,i=t.namespaces,a=!1,c=i.eip155.accounts,l=Y(e),m=I(n,l,o);c.includes(m)||(c.push(m),a=!0);let d=I(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(J,"updateSessionAccounts");function z(e){let n=["trust","1inch"],s=e?.session?.peer?.metadata?.name;return n.some(o=>s?.toLowerCase()?.includes(o))}r(z,"ignoreNamespaceMethods");async function T(e,n){return e.core.storage.setItem(E,{defaultChainId:n?parseInt(n):""})}r(T,"persistCurrentChainId");async function V(e){try{let n=(await e.core.storage.getItem(E))?.defaultChainId;return n?String(n):void 0}catch{return}}r(V,"getPersistedChainId");var v;function Z(e){v||(v=new g({projectId:e,themeMode:"light",themeVariables:{"--wcm-z-index":"999999999"}}))}r(Z,"createModalInstance");function y(){return v}r(y,"getModal");function $(e){let s=Se(e).map(t=>new N({namespace:"eip155",reference:String(parseInt(t.chainId))}).toString());return{eip155:{methods:D,events:W,chains:s}}}r($,"generateOptionalNamespace");function K(e){return e===O?Ee.SOLANA:e}r(K,"solanaChainIdToNetworkName");async function ee(e,n,s,o){if(e.method==="eth_chainId"){let t=w(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(ee,"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 ne(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(ne,"switchOrAddEvmChain");function Y(e){return e.session.namespaces.eip155.accounts?.map(n=>new X(n).address)?.filter(n=>Q(n))?.[0]}r(Y,"getCurrentEvmAccountAddress");function I(e,n,s){let o=M(e,s);return X.format({chainId:{namespace:"eip155",reference:String(o)},address:n})}r(I,"getEvmAccount");function te(e,n){let s=!1;return e.filter(({address:o,chainId:t})=>{if(Q(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(te,"filterEvmAccounts");import{dynamicImportWithRefinedError as se}from"@rango-dev/wallets-shared";import{DefaultSignerFactory as Ie,TransactionType as oe}from"rango-types";async function _(e){if(!e.session)throw new Error("Session is required for wallet connect signers.");let n=new Ie,s=(await se(async()=>await import("./evm-3ID4XY4Y.js"))).default,o=(await se(async()=>await import("./solana-MFA7C5XI.js"))).default;return n.registerSigner(oe.EVM,new s(e.client,e.session)),n.registerSigner(oe.SOLANA,new o(e.client,e.session)),n}r(_,"getSigners");var Me=Te.WALLET_CONNECT_2,f={WC_PROJECT_ID:"",DISABLE_MODAL_AND_OPEN_LINK:void 0},an=r(e=>{f=e,Z(f.WC_PROJECT_ID)},"init"),cn={type:Me,checkInstallation:!1,isAsyncInstance:!0,defaultNetwork:x,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:L})}return{client:t,session:null,request:async i=>ee(i,t,o,s)}},"getInstance"),ln=r(async({instance:e,meta:n})=>{let{client:s}=e,o=await F(s,{meta:n,envs:f});e.session=o;let t=await V(s),i=j(o);return te(i,t)},"connect"),mn=r(({instance:e,updateChainId:n,updateAccounts:s,disconnect:o})=>{let{client:t}=e;t.on("session_update",i=>{G(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),q(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")&&!z(n)){let p=o?.().network||Ae.ETHEREUM;await J(n,e,p,s),await ne(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=>we(s))},"disconnect"),hn=_,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
@@ -1 +1 @@
1
- {"inputs":{"src/constants.ts":{"bytes":2330,"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":10645,"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":6294,"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":4586,"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/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":995,"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/solana.ts","kind":"dynamic-import","original":"./signers/solana.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":6738,"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":40868},"dist/index.js":{"imports":[{"path":"dist/chunk-BPSEZJUF.js","kind":"import-statement"},{"path":"dist/chunk-6V3WUFOU.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-7WN7BITC.js","kind":"dynamic-import"},{"path":"dist/solana-MFA7C5XI.js","kind":"dynamic-import"}],"exports":["canSwitchNetworkTo","config","connect","disconnect","getInstance","getSigners","getWalletInfo","init","subscribe","switchNetwork"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":2477},"src/helpers.ts":{"bytesInOutput":2117},"../../node_modules/@walletconnect/modal/dist/index.js":{"bytesInOutput":392},"src/session.ts":{"bytesInOutput":3058},"src/signer.ts":{"bytesInOutput":528}},"bytes":8976},"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-7WN7BITC.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7051},"dist/evm-7WN7BITC.js":{"imports":[{"path":"dist/chunk-6V3WUFOU.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/solana-MFA7C5XI.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7412},"dist/solana-MFA7C5XI.js":{"imports":[{"path":"dist/chunk-6V3WUFOU.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-6V3WUFOU.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":2977},"dist/chunk-6V3WUFOU.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":2330,"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":10645,"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":6294,"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":6165,"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/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":995,"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/solana.ts","kind":"dynamic-import","original":"./signers/solana.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":6738,"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":40868},"dist/index.js":{"imports":[{"path":"dist/chunk-BPSEZJUF.js","kind":"import-statement"},{"path":"dist/chunk-6V3WUFOU.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-3ID4XY4Y.js","kind":"dynamic-import"},{"path":"dist/solana-MFA7C5XI.js","kind":"dynamic-import"}],"exports":["canSwitchNetworkTo","config","connect","disconnect","getInstance","getSigners","getWalletInfo","init","subscribe","switchNetwork"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":2477},"src/helpers.ts":{"bytesInOutput":2117},"../../node_modules/@walletconnect/modal/dist/index.js":{"bytesInOutput":392},"src/session.ts":{"bytesInOutput":3058},"src/signer.ts":{"bytesInOutput":528}},"bytes":8976},"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-3ID4XY4Y.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":9135},"dist/evm-3ID4XY4Y.js":{"imports":[{"path":"dist/chunk-6V3WUFOU.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":2140}},"bytes":2271},"dist/solana-MFA7C5XI.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7412},"dist/solana-MFA7C5XI.js":{"imports":[{"path":"dist/chunk-6V3WUFOU.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-6V3WUFOU.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":2977},"dist/chunk-6V3WUFOU.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}}}
@@ -2,10 +2,33 @@ import type { SignClient } from '@walletconnect/sign-client/dist/types/client';
2
2
  import type { SessionTypes } from '@walletconnect/types';
3
3
  import type { EvmTransaction } from 'rango-types/mainApi';
4
4
  import { type GenericSigner } from 'rango-types';
5
+ type WalletConnectEvmTx = {
6
+ from?: string;
7
+ to?: string;
8
+ data: string;
9
+ value: string;
10
+ gas?: string;
11
+ gasPrice?: string;
12
+ maxFeePerGas?: string;
13
+ maxPriorityFeePerGas?: string;
14
+ nonce?: string;
15
+ };
5
16
  declare class EVMSigner implements GenericSigner<EvmTransaction> {
6
17
  private client;
7
18
  private session;
8
19
  constructor(client: SignClient, session: SessionTypes.Struct);
20
+ /**
21
+ * Map Rango's EvmTransaction to WalletConnect eth_sendTransaction params.
22
+ *
23
+ * Unlike DefaultEvmSigner.buildTx (ethers TransactionRequest with gasLimit +
24
+ * decimal fee strings), WC sends params raw over the relay. Wallets like
25
+ * Ledger Live parse QUANTITY as hex, so decimal fees get inflated (~40x+).
26
+ *
27
+ * This builder:
28
+ * - uses `gas` (JSON-RPC), not ethers' `gasLimit`
29
+ * - hex-encodes gas, fees, value, and nonce
30
+ */
31
+ static buildTx(evmTx: EvmTransaction): WalletConnectEvmTx;
9
32
  signMessage(msg: string, address: string, chainId: string | null): Promise<string>;
10
33
  signAndSendTx(tx: EvmTransaction, address: string, chainId: string | null): Promise<{
11
34
  hash: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/provider-walletconnect-2",
3
- "version": "0.55.1-next.2",
3
+ "version": "0.56.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@rango-dev/logging-core": "^0.13.0",
25
- "@rango-dev/signer-evm": "^0.43.0",
25
+ "@rango-dev/signer-evm": "^0.44.0",
26
26
  "@rango-dev/signer-solana": "^0.48.0",
27
- "@rango-dev/wallets-shared": "^0.61.1-next.2",
27
+ "@rango-dev/wallets-shared": "^0.61.0",
28
28
  "@solana/web3.js": "^1.91.4",
29
29
  "@walletconnect/encoding": "^1.0.2",
30
30
  "@walletconnect/sign-client": "^2.11.2",
@@ -2,7 +2,7 @@ import type { SignClient } from '@walletconnect/sign-client/dist/types/client';
2
2
  import type { SessionTypes } from '@walletconnect/types';
3
3
  import type { EvmTransaction } from 'rango-types/mainApi';
4
4
 
5
- import { cleanEvmError, DefaultEvmSigner } from '@rango-dev/signer-evm';
5
+ import { cleanEvmError, toHexQuantity } from '@rango-dev/signer-evm';
6
6
  import * as encoding from '@walletconnect/encoding';
7
7
  import { AccountId, ChainId } from 'caip';
8
8
  import { type GenericSigner } from 'rango-types';
@@ -11,6 +11,18 @@ import { EthereumRPCMethods, NAMESPACES } from '../constants.js';
11
11
 
12
12
  const NAMESPACE_NAME = NAMESPACES.ETHEREUM;
13
13
 
14
+ type WalletConnectEvmTx = {
15
+ from?: string;
16
+ to?: string;
17
+ data: string;
18
+ value: string;
19
+ gas?: string;
20
+ gasPrice?: string;
21
+ maxFeePerGas?: string;
22
+ maxPriorityFeePerGas?: string;
23
+ nonce?: string;
24
+ };
25
+
14
26
  class EVMSigner implements GenericSigner<EvmTransaction> {
15
27
  private client: SignClient;
16
28
  private session: SessionTypes.Struct;
@@ -20,6 +32,49 @@ class EVMSigner implements GenericSigner<EvmTransaction> {
20
32
  this.session = session;
21
33
  }
22
34
 
35
+ /**
36
+ * Map Rango's EvmTransaction to WalletConnect eth_sendTransaction params.
37
+ *
38
+ * Unlike DefaultEvmSigner.buildTx (ethers TransactionRequest with gasLimit +
39
+ * decimal fee strings), WC sends params raw over the relay. Wallets like
40
+ * Ledger Live parse QUANTITY as hex, so decimal fees get inflated (~40x+).
41
+ *
42
+ * This builder:
43
+ * - uses `gas` (JSON-RPC), not ethers' `gasLimit`
44
+ * - hex-encodes gas, fees, value, and nonce
45
+ */
46
+ static buildTx(evmTx: EvmTransaction): WalletConnectEvmTx {
47
+ const tx: WalletConnectEvmTx = {
48
+ data: evmTx.data || '0x',
49
+ /*
50
+ * Approvals and many contract calls have value=null from the API.
51
+ * Some WC wallets reject missing value; send 0x0 explicitly.
52
+ */
53
+ value: evmTx.value ? toHexQuantity(evmTx.value) : '0x0',
54
+ };
55
+
56
+ if (evmTx.from) {
57
+ tx.from = evmTx.from;
58
+ }
59
+ if (evmTx.to) {
60
+ tx.to = evmTx.to;
61
+ }
62
+ if (evmTx.nonce) {
63
+ tx.nonce = toHexQuantity(evmTx.nonce);
64
+ }
65
+ if (evmTx.gasLimit) {
66
+ tx.gas = toHexQuantity(evmTx.gasLimit);
67
+ }
68
+ if (evmTx.maxFeePerGas && evmTx.maxPriorityFeePerGas) {
69
+ tx.maxFeePerGas = toHexQuantity(evmTx.maxFeePerGas);
70
+ tx.maxPriorityFeePerGas = toHexQuantity(evmTx.maxPriorityFeePerGas);
71
+ } else if (evmTx.gasPrice) {
72
+ tx.gasPrice = toHexQuantity(evmTx.gasPrice);
73
+ }
74
+
75
+ return tx;
76
+ }
77
+
23
78
  public async signMessage(
24
79
  msg: string,
25
80
  address: string,
@@ -71,7 +126,7 @@ class EVMSigner implements GenericSigner<EvmTransaction> {
71
126
  address,
72
127
  chainId,
73
128
  });
74
- const transaction = DefaultEvmSigner.buildTx(tx);
129
+ const transaction = EVMSigner.buildTx(tx);
75
130
  const hash: string = await this.client.request({
76
131
  topic: this.session.topic,
77
132
  chainId: requestedFor.caipChainId,
@@ -1,2 +0,0 @@
1
- import"./chunk-6V3WUFOU.js";import{a as h}from"./chunk-DXVBX5XQ.js";import{cleanEvmError as p,DefaultEvmSigner as u}from"@rango-dev/signer-evm";import*as l from"@walletconnect/encoding";import{AccountId as S,ChainId as m}from"caip";import"rango-types";var a="eip155",d=class{static{h(this,"EVMSigner")}client;session;constructor(r,n){this.client=r,this.session=n}async signMessage(r,n,t){let s=this.isNetworkAndAccountExistInSession({address:n,chainId:t}),i=new m({namespace:a,reference:s.chainId}),o=[l.utf8ToHex(r,!0),n],c;try{c=await this.client.request({topic:this.session.topic,chainId:i.toString(),request:{method:"personal_sign",params:o}})}catch(g){throw p(g)}return c}async signAndSendTx(r,n,t){try{let s=this.isNetworkAndAccountExistInSession({address:n,chainId:t}),i=u.buildTx(r),e=await this.client.request({topic:this.session.topic,chainId:s.caipChainId,request:{method:"eth_sendTransaction",params:[i]}});if(!e?.startsWith("0x"))throw new Error(`Received an invalid hash on signing the transaction. (hash=${e})`);return{hash:e}}catch(s){let i=p(s),e=this.session,o={namspaces:e?.namespaces,peering:e?.peer?.metadata,code:s?.code};throw i.context=o,i}}isNetworkAndAccountExistInSession(r){let{address:n,chainId:t}=r;if(!t)throw console.log("isNetworkAndAccountExistInSession",r),new Error("You need to set your chain for signing message/transaction.");let s=t.startsWith("0x")?String(parseInt(t)):t,i=new S({chainId:{namespace:a,reference:s},address:n}),e=this.session.namespaces[a]?.accounts.map(c=>c.toLowerCase());if(!e||!e.includes(i.toString()))throw console.warn("Available adresses and requested address:",e,i.toString(),t,n),new Error("Your requested address doesn't exist on your wallect connect session. Please reconnect your wallet.");let o=new m({namespace:a,reference:s});return{chainId:s,address:n,caipChainId:o.toString()}}},C=d;export{C as default};
2
- //# sourceMappingURL=evm-7WN7BITC.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/signers/evm.ts"],
4
- "sourcesContent": ["import type { SignClient } from '@walletconnect/sign-client/dist/types/client';\nimport type { SessionTypes } from '@walletconnect/types';\nimport type { EvmTransaction } from 'rango-types/mainApi';\n\nimport { cleanEvmError, DefaultEvmSigner } from '@rango-dev/signer-evm';\nimport * as encoding from '@walletconnect/encoding';\nimport { AccountId, ChainId } from 'caip';\nimport { type GenericSigner } from 'rango-types';\n\nimport { EthereumRPCMethods, NAMESPACES } from '../constants.js';\n\nconst NAMESPACE_NAME = NAMESPACES.ETHEREUM;\n\nclass EVMSigner implements GenericSigner<EvmTransaction> {\n private client: SignClient;\n private session: SessionTypes.Struct;\n\n constructor(client: SignClient, session: SessionTypes.Struct) {\n this.client = client;\n this.session = session;\n }\n\n public async signMessage(\n msg: string,\n address: string,\n chainId: string | null\n ): Promise<string> {\n const requestedFor = this.isNetworkAndAccountExistInSession({\n address,\n chainId,\n });\n\n const caipChainId = new ChainId({\n namespace: NAMESPACE_NAME,\n reference: requestedFor.chainId,\n });\n const hexMsg = encoding.utf8ToHex(msg, true);\n\n const params = [hexMsg, address];\n\n let signature: string;\n try {\n // Send message to wallet (using relayer)\n signature = await this.client.request({\n topic: this.session.topic,\n chainId: caipChainId.toString(),\n request: {\n method: EthereumRPCMethods.PERSONAL_SIGN,\n params,\n },\n });\n } catch (error) {\n throw cleanEvmError(error);\n }\n\n /*\n * TODO: We can also verify the signature here\n * Check web-examples: dapps/react-dapp-v2/src/contexts/JsonRpcContext.tsx\n */\n\n return signature;\n }\n\n async signAndSendTx(\n tx: EvmTransaction,\n address: string,\n chainId: string | null\n ): Promise<{ hash: string }> {\n try {\n const requestedFor = this.isNetworkAndAccountExistInSession({\n address,\n chainId,\n });\n const transaction = DefaultEvmSigner.buildTx(tx);\n const hash: string = await this.client.request({\n topic: this.session.topic,\n chainId: requestedFor.caipChainId,\n request: {\n method: EthereumRPCMethods.SEND_TRANSACTION,\n params: [transaction],\n },\n });\n // Some wallets e.g. Rainbow wallet are returning invalid hash (e.g. 'null') in case of the rejection\n if (!hash?.startsWith('0x')) {\n throw new Error(\n `Received an invalid hash on signing the transaction. (hash=${hash})`\n );\n }\n return {\n hash,\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } catch (error: any) {\n const modifiedError = cleanEvmError(error);\n const session = this.session;\n const context = {\n namspaces: session?.namespaces,\n peering: session?.peer?.metadata,\n code: error?.code,\n };\n modifiedError.context = context;\n throw modifiedError;\n }\n }\n\n private isNetworkAndAccountExistInSession(requestedFor: {\n address: string;\n chainId: string | null;\n }) {\n const { address, chainId } = requestedFor;\n\n if (!chainId) {\n console.log('isNetworkAndAccountExistInSession', requestedFor);\n throw new Error(\n 'You need to set your chain for signing message/transaction.'\n );\n }\n\n /*\n * TODO: We need to make sure we are using a single format for chain ids, it should be hex or number.\n * This is a quick fix for evm.\n */\n const chainIdNumber = chainId.startsWith('0x')\n ? String(parseInt(chainId))\n : chainId;\n\n const caipAddress = new AccountId({\n chainId: {\n namespace: NAMESPACE_NAME,\n reference: chainIdNumber,\n },\n address,\n });\n const addresses = this.session.namespaces[NAMESPACE_NAME]?.accounts.map(\n (address) => address.toLowerCase()\n );\n\n if (!addresses || !addresses.includes(caipAddress.toString())) {\n console.warn(\n 'Available adresses and requested address:',\n addresses,\n caipAddress.toString(),\n chainId,\n address\n );\n throw new Error(\n `Your requested address doesn't exist on your wallect connect session. Please reconnect your wallet.`\n );\n }\n\n const caipChainId = new ChainId({\n namespace: NAMESPACE_NAME,\n reference: chainIdNumber,\n });\n\n return {\n chainId: chainIdNumber,\n address,\n caipChainId: caipChainId.toString(),\n };\n }\n}\n\nexport default EVMSigner;\n"],
5
- "mappings": "oEAIA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,wBAChD,UAAYC,MAAc,0BAC1B,OAAS,aAAAC,EAAW,WAAAC,MAAe,OACnC,MAAmC,cAInC,IAAMC,WAEAC,EAAN,KAAyD,CAbzD,MAayD,CAAAC,EAAA,kBAC/C,OACA,QAER,YAAYC,EAAoBC,EAA8B,CAC5D,KAAK,OAASD,EACd,KAAK,QAAUC,CACjB,CAEA,MAAa,YACXC,EACAC,EACAC,EACiB,CACjB,IAAMC,EAAe,KAAK,kCAAkC,CAC1D,QAAAF,EACA,QAAAC,CACF,CAAC,EAEKE,EAAc,IAAIC,EAAQ,CAC9B,UAAWV,EACX,UAAWQ,EAAa,OAC1B,CAAC,EAGKG,EAAS,CAFS,YAAUN,EAAK,EAAI,EAEnBC,CAAO,EAE3BM,EACJ,GAAI,CAEFA,EAAY,MAAM,KAAK,OAAO,QAAQ,CACpC,MAAO,KAAK,QAAQ,MACpB,QAASH,EAAY,SAAS,EAC9B,QAAS,CACP,uBACA,OAAAE,CACF,CACF,CAAC,CACH,OAASE,EAAO,CACd,MAAMC,EAAcD,CAAK,CAC3B,CAOA,OAAOD,CACT,CAEA,MAAM,cACJG,EACAT,EACAC,EAC2B,CAC3B,GAAI,CACF,IAAMC,EAAe,KAAK,kCAAkC,CAC1D,QAAAF,EACA,QAAAC,CACF,CAAC,EACKS,EAAcC,EAAiB,QAAQF,CAAE,EACzCG,EAAe,MAAM,KAAK,OAAO,QAAQ,CAC7C,MAAO,KAAK,QAAQ,MACpB,QAASV,EAAa,YACtB,QAAS,CACP,6BACA,OAAQ,CAACQ,CAAW,CACtB,CACF,CAAC,EAED,GAAI,CAACE,GAAM,WAAW,IAAI,EACxB,MAAM,IAAI,MACR,8DAA8DA,CAAI,GACpE,EAEF,MAAO,CACL,KAAAA,CACF,CAEF,OAASL,EAAY,CACnB,IAAMM,EAAgBL,EAAcD,CAAK,EACnCT,EAAU,KAAK,QACfgB,EAAU,CACd,UAAWhB,GAAS,WACpB,QAASA,GAAS,MAAM,SACxB,KAAMS,GAAO,IACf,EACA,MAAAM,EAAc,QAAUC,EAClBD,CACR,CACF,CAEQ,kCAAkCX,EAGvC,CACD,GAAM,CAAE,QAAAF,EAAS,QAAAC,CAAQ,EAAIC,EAE7B,GAAI,CAACD,EACH,cAAQ,IAAI,oCAAqCC,CAAY,EACvD,IAAI,MACR,6DACF,EAOF,IAAMa,EAAgBd,EAAQ,WAAW,IAAI,EACzC,OAAO,SAASA,CAAO,CAAC,EACxBA,EAEEe,EAAc,IAAIC,EAAU,CAChC,QAAS,CACP,UAAWvB,EACX,UAAWqB,CACb,EACA,QAAAf,CACF,CAAC,EACKkB,EAAY,KAAK,QAAQ,WAAWxB,CAAc,GAAG,SAAS,IACjEM,GAAYA,EAAQ,YAAY,CACnC,EAEA,GAAI,CAACkB,GAAa,CAACA,EAAU,SAASF,EAAY,SAAS,CAAC,EAC1D,cAAQ,KACN,4CACAE,EACAF,EAAY,SAAS,EACrBf,EACAD,CACF,EACM,IAAI,MACR,qGACF,EAGF,IAAMG,EAAc,IAAIC,EAAQ,CAC9B,UAAWV,EACX,UAAWqB,CACb,CAAC,EAED,MAAO,CACL,QAASA,EACT,QAAAf,EACA,YAAaG,EAAY,SAAS,CACpC,CACF,CACF,EAEOgB,EAAQxB",
6
- "names": ["cleanEvmError", "DefaultEvmSigner", "encoding", "AccountId", "ChainId", "NAMESPACE_NAME", "EVMSigner", "__name", "client", "session", "msg", "address", "chainId", "requestedFor", "caipChainId", "ChainId", "params", "signature", "error", "cleanEvmError", "tx", "transaction", "DefaultEvmSigner", "hash", "modifiedError", "context", "chainIdNumber", "caipAddress", "AccountId", "addresses", "evm_default"]
7
- }