@dcl/auth-site 5.1.2-34524962947.commit-c3b4bf2 → 5.1.2-34527380948.commit-800b743

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.
Files changed (116) hide show
  1. package/assets/{ConstantsUtil-DP9HKY5D.js → ConstantsUtil-C8ECmZhU.js} +1 -1
  2. package/assets/{ContentfulRichText-BssZV2jG.js → ContentfulRichText-B8EsGupg.js} +1 -1
  3. package/assets/{ExchangeController-2-tmrsVo.js → ExchangeController-2EREmGS6.js} +1 -1
  4. package/assets/{HelpersUtil-G-ttexgk.js → HelpersUtil-BEYLlBvJ.js} +1 -1
  5. package/assets/{LoginPage-CN969Mzq.js → LoginPage-M2pAlMG7.js} +1 -1
  6. package/assets/{NetworkUtil-CAbFACGC.js → NetworkUtil-wJaKVJLn.js} +1 -1
  7. package/assets/{SwapController-CBF7_cLL.js → SwapController-CJSfh-mR.js} +1 -1
  8. package/assets/{W3MFrameProviderSingleton-DWYoW4MC.js → W3MFrameProviderSingleton-BocmJdyW.js} +3 -3
  9. package/assets/{biconomy-D8U0vtA8.js → biconomy-DDYTEovS.js} +1 -1
  10. package/assets/{browser-DvDokY9m.js → browser-DtA1iGET.js} +1 -1
  11. package/assets/browser-ponyfill-Nb_5PKPO.js +1 -0
  12. package/assets/{ccip-DoW2JhQm.js → ccip-Cls81NUZ.js} +1 -1
  13. package/assets/{ccip-BOIGsm1Y.js → ccip-D-IlJFu_.js} +1 -1
  14. package/assets/{chains-DwGn4Qhb.js → chains-6VsvPhKC.js} +1 -1
  15. package/assets/{common-C3U3NVnW.js → common-DFM5OWHL.js} +1 -1
  16. package/assets/{controller-Yskek2X1.js → controller-Bl_MPuC4.js} +2 -2
  17. package/assets/{data-capture-cSp7KxPh.js → data-capture-X5Mf2Qoa.js} +1 -1
  18. package/assets/{email-DvzkJPnh.js → email-HDTfmK4C.js} +1 -1
  19. package/assets/{embedded-wallet-CUWuM-o9.js → embedded-wallet-CMV8lWTB.js} +1 -1
  20. package/assets/{engine-BA60tUw_.js → engine-DoG7SCFM.js} +1 -1
  21. package/assets/{estimate-l1-fee-Bk6gXX0c.js → estimate-l1-fee-BBmB0mvh.js} +1 -1
  22. package/assets/{ethereum-BJ_I5XoR.js → ethereum-DVP4Atgo.js} +1 -1
  23. package/assets/{extractIPFS-CJBk3nUp.js → extractIPFS-dC87FCbF.js} +1 -1
  24. package/assets/{features-BrLxj4d0.js → features-B_P5QAUC.js} +1 -1
  25. package/assets/{fetchTokenMetadata-12lavQSj.js → fetchTokenMetadata-DL6Gbtxx.js} +1 -1
  26. package/assets/{fortmatic-CfkevlPB.js → fortmatic-DydcY1cL.js} +1 -1
  27. package/assets/{get-ecosystem-wallet-info-C_Oi6Edv.js → get-ecosystem-wallet-info-CsLInMQo.js} +1 -1
  28. package/assets/{getBalance-DQCsQNE3.js → getBalance-DtwITx47.js} +1 -1
  29. package/assets/{getInstalledModules-CievZ6nG.js → getInstalledModules-BNFqYqcn.js} +1 -1
  30. package/assets/{getNFT-DchyAE-X.js → getNFT-BgQWQfdm.js} +1 -1
  31. package/assets/{getNFT-F5uCNKev.js → getNFT-D5BqU6GU.js} +2 -2
  32. package/assets/{if-defined-DqlAZTUO.js → if-defined-DUohvO5V.js} +1 -1
  33. package/assets/{in-app-DV8zPLq9.js → in-app-rHBiV1-L.js} +2 -2
  34. package/assets/{in-app-wallet-calls-B4bAQUBa.js → in-app-wallet-calls-DuUU9868.js} +1 -1
  35. package/assets/{index-DQFom4Wy.js → index--YIYpyo9.js} +1 -1
  36. package/assets/{index-p6h80e3f.js → index-2HNTJL6G.js} +1 -1
  37. package/assets/{index-DEvQ65cm.js → index-6Fpt2zZw.js} +2 -2
  38. package/assets/{index-BecveQH2.js → index-B2C-8ONi.js} +1 -1
  39. package/assets/{index-Dxrm4EPx.js → index-BAlxm-qQ.js} +2 -2
  40. package/assets/{index-WpAqBWQA.js → index-BHREycPk.js} +1 -1
  41. package/assets/{index-rymhDxVC.js → index-BJKTN3fZ.js} +1 -1
  42. package/assets/{index-CU-3nryz.js → index-BMRcjULh.js} +1 -1
  43. package/assets/{index-AfQYA0v-.js → index-BQAz_bkv.js} +1 -1
  44. package/assets/{index-BAnsDNYN.js → index-BZPzhMxI.js} +1 -1
  45. package/assets/{index-Bk6fDwhD.css → index-B_fE_8wi.css} +1 -1
  46. package/assets/{index-1XlsRf0v.js → index-Be4Gc4pU.js} +3 -3
  47. package/assets/{index-TpsBtcIA.js → index-Bi2SrRD3.js} +1 -1
  48. package/assets/{index-Bc3ifK0g.js → index-Bpa11_Gz.js} +1 -1
  49. package/assets/{index-CDSKpH1E.js → index-Bq8alsp4.js} +1 -1
  50. package/assets/{index-Ckp_AVaU.js → index-BrjikWJo.js} +30 -30
  51. package/assets/{index-BY-v6iyb.js → index-BsbeuIQs.js} +1 -1
  52. package/assets/{index-CqwLUoCw.js → index-Bw8YcLUQ.js} +1 -1
  53. package/assets/{index-lCM0Yxgq.js → index-C03_gX71.js} +1 -1
  54. package/assets/{index-BhiZEafo.js → index-C1rZSnuU.js} +1 -1
  55. package/assets/{index-CnyOSDhm.js → index-C3EsNm0L.js} +1 -1
  56. package/assets/{index-Dn6NAEjj.js → index-C3T37ZwO.js} +1 -1
  57. package/assets/{index-Boxyd2oA.js → index-CCQJdEsd.js} +1 -1
  58. package/assets/{index-B71PsJ8j.js → index-CD6YKi-4.js} +1 -1
  59. package/assets/{index-BdokbB_S.js → index-CN8Emqbp.js} +1 -1
  60. package/assets/{index-B0JAfmvp.js → index-CXf9heLl.js} +1 -1
  61. package/assets/{index-DC2uOj0j.js → index-D1isKCM4.js} +3 -3
  62. package/assets/{index-B2qqxvUY.js → index-D6L1etNM.js} +1 -1
  63. package/assets/{index-sBxkRzNb.js → index-DDTcK-qU.js} +1 -1
  64. package/assets/{index-C0FjaoKZ.js → index-DEDY4tq2.js} +1 -1
  65. package/assets/{index-Cvu-wA-k.js → index-DLC_CweH.js} +1 -1
  66. package/assets/{index-BP_c6dUM.js → index-DSBZH4iY.js} +1 -1
  67. package/assets/{index-CiOyCbnB.js → index-DTvwD9S0.js} +1 -1
  68. package/assets/{index-DOUiqvQb.js → index-DWjwKnh8.js} +3 -3
  69. package/assets/{index-Vzgy5xZi.js → index-Dgm3ttZY.js} +1 -1
  70. package/assets/{index-inPY-_ay.js → index-Dj5uImB2.js} +1 -1
  71. package/assets/{index-CKON5R6N.js → index-DnneMju0.js} +1 -1
  72. package/assets/{index-zSzFalOk.js → index-DnuQi5WI.js} +1 -1
  73. package/assets/{index-xWgbvees.js → index-DodOW1Wt.js} +1 -1
  74. package/assets/{index-COrqQldh.js → index-Ds72qZSZ.js} +1 -1
  75. package/assets/{index-Ob_SpPRA.js → index-JzEB5g04.js} +1 -1
  76. package/assets/{index-BBWAwLCX.js → index-XBQ5Br_v.js} +1 -1
  77. package/assets/{index-C2bhVCAO.js → index-YAfFJt2_.js} +1 -1
  78. package/assets/{index-v-mZEbxM.js → index-_dxkXQSu.js} +1 -1
  79. package/assets/{index-YtQbGnNu.js → index-cDF4M3wz.js} +1 -1
  80. package/assets/{index-CtypDxih.js → index-e1u8n10M.js} +1 -1
  81. package/assets/{index-De9m-UWS.js → index-fl6qKDcH.js} +1 -1
  82. package/assets/{index-DoTS3nqG.js → index-tNxiIPfs.js} +1 -1
  83. package/assets/{index-0vgrRMWM.js → index-zjUSMdGN.js} +1 -1
  84. package/assets/{index.es-BwSxqfVq.js → index.es-B01KqDbC.js} +1 -1
  85. package/assets/{index.es-WblwLow3.js → index.es-x9-iTI-5.js} +1 -1
  86. package/assets/{linkAccount-BewRH79r.js → linkAccount-CWWS9njK.js} +1 -1
  87. package/assets/{native-Bfy9T2NR.js → native-CaPYzoa_.js} +1 -1
  88. package/assets/{networks-B94dMaIx.js → networks-DGAoWb-A.js} +3 -3
  89. package/assets/{onramp-D5hikdnD.js → onramp-7o3aBeIm.js} +1 -1
  90. package/assets/{openzeppelin-y_BW_p9H.js → openzeppelin-DGbz_rk9.js} +1 -1
  91. package/assets/{ownerOf-DbLTUlQ8.js → ownerOf-D9skLcOE.js} +1 -1
  92. package/assets/{parseNft-BWjfjF1i.js → parseNft-CHZtZ4_y.js} +2 -2
  93. package/assets/{pay-with-exchange-CBt57SPn.js → pay-with-exchange-D2lDJF_V.js} +1 -1
  94. package/assets/{qr-overlay-9LqXa93u.js → qr-overlay-CiJMrATX.js} +3 -3
  95. package/assets/{receive-DYGa0uth.js → receive-c1uDVl1c.js} +1 -1
  96. package/assets/{ref-CH5m8g-_.js → ref-Ba1Lu66V.js} +1 -1
  97. package/assets/{resolveImplementation-tOR8MDOZ.js → resolveImplementation-CKe673d_.js} +1 -1
  98. package/assets/{secp256k1-C7e03vVD.js → secp256k1-GsuJbDQC.js} +1 -1
  99. package/assets/{send-BZVnfh_Q.js → send-AACpSoKu.js} +1 -1
  100. package/assets/{send-eip712-transaction-CXGAJp1J.js → send-eip712-transaction-GQGQjcsY.js} +1 -1
  101. package/assets/{send-gasless-transaction-gX81A9kf.js → send-gasless-transaction-ghMFE10K.js} +2 -2
  102. package/assets/{session-proposal-C7vqH4fC.js → session-proposal-CePlUwzE.js} +1 -1
  103. package/assets/{session-request-CGXJcyJV.js → session-request-CsOrPe7h.js} +2 -2
  104. package/assets/{socials-D78l6pou.js → socials-gcOsIlac.js} +1 -1
  105. package/assets/{swaps-DrOcN6PI.js → swaps-B6DbBvl9.js} +1 -1
  106. package/assets/{thirdweb-CaPz3IIA.js → thirdweb-B6-3DUyb.js} +5 -5
  107. package/assets/{totalSupply-BakRyzgy.js → totalSupply-CBuBUeFj.js} +1 -1
  108. package/assets/{transactions-jBCnxUW2.js → transactions-CewnQNUl.js} +1 -1
  109. package/assets/{ui-DR5Eq4NP.js → ui-DF3UBKHP.js} +5 -5
  110. package/assets/{vendor-DWoMeO8l.js → vendor-EnciFPIR.js} +1 -1
  111. package/assets/{w3m-modal-CqcJ-ri7.js → w3m-modal-Cx14K2WR.js} +1 -1
  112. package/assets/{wallets-CVw0qVp4.js → wallets-BuQNLf7I.js} +4 -4
  113. package/assets/{web-connector-Xa5kysut.js → web-connector-CAmR4wmW.js} +3 -3
  114. package/index.html +5 -5
  115. package/package.json +3 -3
  116. package/assets/browser-ponyfill-DxSJjNwY.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d as u,r as h,e as f,i as p,h as g}from"./index-DC2uOj0j.js";import{n as d,c as m}from"./index-CDSKpH1E.js";import{o as b}from"./if-defined-DqlAZTUO.js";const y=u`
1
+ import{d as u,r as h,e as f,i as p,h as g}from"./index-D1isKCM4.js";import{n as d,c as m}from"./index-Bq8alsp4.js";import{o as b}from"./if-defined-DUohvO5V.js";const y=u`
2
2
  :host {
3
3
  display: inline-flex;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{r as T}from"./index-CpWZ5dtQ.js";import{b3 as y,b4 as k,b5 as I}from"./index-Ckp_AVaU.js";import"./thirdweb-CaPz3IIA.js";import"./ui-DR5Eq4NP.js";import"./vendor-DWoMeO8l.js";const q=()=>"9.1.0",v=t=>t.toString(16).padStart(2,"0"),C=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,v).join("")},R=()=>typeof window<"u"?C(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:R(),method:t,params:e,env:{sdkVersion:q()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var m;(function(t){t.requestAddressBook="requestAddressBook"})(m||(m={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let p=!0;return Array.isArray(this.allowedOrigins)&&(p=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&p},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const b=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;T();class E{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!b(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class A{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",O="0x20c13b0b",f=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class S{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",f);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",f)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(m).includes(a)):!1)}}const w=(t,e)=>e.some(s=>s.parentCapability===t),V=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new S(this.communicator);let i=await n.getPermissions();if(w(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!w(e,i))throw new d("Permissions rejected",f);return a.apply(this)},s};var M=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class _{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=y({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=y({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===O}catch{return!1}}calculateMessageHash(e){return k(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return I({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),b(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}M([V()],_.prototype,"requestAddressBook",null);class G{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new A(this.communicator),this.txs=new E(this.communicator),this.safe=new _(this.communicator),this.wallet=new S(this.communicator)}}export{g as MessageFormatter,r as Methods,c as RPC_CALLS,m as RestrictedMethods,G as default,q as getSDKVersion,b as isObjectEIP712TypedData};
1
+ import{r as T}from"./index-CpWZ5dtQ.js";import{b3 as y,b4 as k,b5 as I}from"./index-BrjikWJo.js";import"./thirdweb-B6-3DUyb.js";import"./ui-DF3UBKHP.js";import"./vendor-EnciFPIR.js";const q=()=>"9.1.0",v=t=>t.toString(16).padStart(2,"0"),C=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,v).join("")},R=()=>typeof window<"u"?C(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:R(),method:t,params:e,env:{sdkVersion:q()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var m;(function(t){t.requestAddressBook="requestAddressBook"})(m||(m={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let p=!0;return Array.isArray(this.allowedOrigins)&&(p=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&p},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const b=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;T();class E{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!b(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class A{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",O="0x20c13b0b",f=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class S{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",f);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",f)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(m).includes(a)):!1)}}const w=(t,e)=>e.some(s=>s.parentCapability===t),V=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new S(this.communicator);let i=await n.getPermissions();if(w(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!w(e,i))throw new d("Permissions rejected",f);return a.apply(this)},s};var M=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class _{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=y({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=y({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===O}catch{return!1}}calculateMessageHash(e){return k(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return I({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),b(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}M([V()],_.prototype,"requestAddressBook",null);class G{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new A(this.communicator),this.txs=new E(this.communicator),this.safe=new _(this.communicator),this.wallet=new S(this.communicator)}}export{g as MessageFormatter,r as Methods,c as RPC_CALLS,m as RestrictedMethods,G as default,q as getSDKVersion,b as isObjectEIP712TypedData};
@@ -1,4 +1,4 @@
1
- import{C as l,E as g,R as h,i as m,S as w,a as c,r as E,k as _}from"./W3MFrameProviderSingleton-DWYoW4MC.js";import{C as R}from"./NetworkUtil-CAbFACGC.js";import{d as y,r as b,i as C,h as v,e as O}from"./index-DC2uOj0j.js";import{n as d,c as S}from"./index-CDSKpH1E.js";import{o as $}from"./if-defined-DqlAZTUO.js";function I(){try{return c.returnOpenHref(`${R.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function L(){h.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=l.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();l.setAccountProp("farcasterUrl",t,l.state.activeChain)}catch(t){h.goBack(),w.showError(t)}}}async function T(e){h.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const i=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(c.isTelegram()||(t=I()),t)l.setAccountProp("socialWindow",E(t),l.state.activeChain);else if(!c.isTelegram())throw new Error("Could not create social popup");const{uri:n}=await o.provider.getSocialRedirectUri({provider:e});if(!n)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=n),c.isTelegram()){_.setTelegramSocialProvider(e);const r=c.formatTelegramSocialLoginUrl(n);c.openHref(r,"_top")}clearTimeout(i)}}catch(i){t==null||t.close();const n=c.parseError(i);w.showError(n),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:n}})}}async function F(e){l.setAccountProp("socialProvider",e,l.state.activeChain),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await L():await T(e)}const U=y`
1
+ import{C as l,E as g,R as h,i as m,S as w,a as c,r as E,k as _}from"./W3MFrameProviderSingleton-BocmJdyW.js";import{C as R}from"./NetworkUtil-wJaKVJLn.js";import{d as y,r as b,i as C,h as v,e as O}from"./index-D1isKCM4.js";import{n as d,c as S}from"./index-Bq8alsp4.js";import{o as $}from"./if-defined-DUohvO5V.js";function I(){try{return c.returnOpenHref(`${R.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function L(){h.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=l.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();l.setAccountProp("farcasterUrl",t,l.state.activeChain)}catch(t){h.goBack(),w.showError(t)}}}async function T(e){h.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const i=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(c.isTelegram()||(t=I()),t)l.setAccountProp("socialWindow",E(t),l.state.activeChain);else if(!c.isTelegram())throw new Error("Could not create social popup");const{uri:n}=await o.provider.getSocialRedirectUri({provider:e});if(!n)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=n),c.isTelegram()){_.setTelegramSocialProvider(e);const r=c.formatTelegramSocialLoginUrl(n);c.openHref(r,"_top")}clearTimeout(i)}}catch(i){t==null||t.close();const n=c.parseError(i);w.showError(n),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:n}})}}async function F(e){l.setAccountProp("socialProvider",e,l.state.activeChain),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await L():await T(e)}const U=y`
2
2
  :host {
3
3
  display: flex;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{a as B,c as v,p as w}from"./thirdweb-CaPz3IIA.js";var m={};/*! *****************************************************************************
1
+ import{a as B,c as v,p as w}from"./thirdweb-B6-3DUyb.js";var m={};/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -1,4 +1,4 @@
1
- import{d as v,r as _,e as W,i as f,h as l,j as ee}from"./index-DC2uOj0j.js";import{n as c,c as p,U as F,r as u,b as Ii}from"./index-CDSKpH1E.js";import{o as w}from"./if-defined-DqlAZTUO.js";import"./index-CtypDxih.js";import"./index-BdokbB_S.js";import"./index-C0FjaoKZ.js";import{C as d,O as m,D as Ee,j as S,a as y,M as P,E as C,k as me,i as b,R as h,b as D,S as A,d as x,e as ze,W as Fe,a4 as Xt,a3 as he,U as J,L as qi,q as I,a8 as tt,A as _i,u as Ki,t as Gi,o as Xi,T as ft,F as Yt,G as Qt,a6 as Yi,ad as Qi,I as Bt,ae as Ji}from"./W3MFrameProviderSingleton-DWYoW4MC.js";import"./index-BY-v6iyb.js";import{a as Ps,W as Ds}from"./index-B2qqxvUY.js";import"./index-sBxkRzNb.js";import"./index-B0JAfmvp.js";import"./index-0vgrRMWM.js";import{C as E}from"./NetworkUtil-CAbFACGC.js";import{H as Jt}from"./HelpersUtil-G-ttexgk.js";import{n as Zi}from"./index-BAnsDNYN.js";import{E as Q}from"./ExchangeController-2-tmrsVo.js";import"./index-CKON5R6N.js";import"./index-BBWAwLCX.js";import"./index-B71PsJ8j.js";import{M as mt}from"./MathUtil-BGCe3rZ3.js";import"./index-xWgbvees.js";import{e as Zt,n as ei}from"./ref-CH5m8g-_.js";import"./index-Dn6NAEjj.js";import"./index-YtQbGnNu.js";import"./index-zSzFalOk.js";import"./index-COrqQldh.js";import{O as bt}from"./index-AfQYA0v-.js";import{e as en}from"./index-lCM0Yxgq.js";import"./index-BecveQH2.js";import"./index-p6h80e3f.js";import{N as tn}from"./NavigationUtil-DmfK5sOV.js";import"./index-rymhDxVC.js";import"./thirdweb-CaPz3IIA.js";import"./ui-DR5Eq4NP.js";import"./vendor-DWoMeO8l.js";import"./index-Ckp_AVaU.js";import"./index-Cvu-wA-k.js";import"./index-BhiZEafo.js";import"./index-nibyPLVP.js";import"./index.es-WblwLow3.js";import"./browser-ponyfill-DxSJjNwY.js";import"./fromHex-CMtWckFK.js";import"./ConstantsUtil-DP9HKY5D.js";import"./browser-DvDokY9m.js";const nn=v`
1
+ import{d as v,r as _,e as W,i as f,h as l,j as ee}from"./index-D1isKCM4.js";import{n as c,c as p,U as F,r as u,b as Ii}from"./index-Bq8alsp4.js";import{o as w}from"./if-defined-DUohvO5V.js";import"./index-e1u8n10M.js";import"./index-CN8Emqbp.js";import"./index-DEDY4tq2.js";import{C as d,O as m,D as Ee,j as S,a as y,M as P,E as C,k as me,i as b,R as h,b as D,S as A,d as x,e as ze,W as Fe,a4 as Xt,a3 as he,U as J,L as qi,q as I,a8 as tt,A as _i,u as Ki,t as Gi,o as Xi,T as ft,F as Yt,G as Qt,a6 as Yi,ad as Qi,I as Bt,ae as Ji}from"./W3MFrameProviderSingleton-BocmJdyW.js";import"./index-BsbeuIQs.js";import{a as Ps,W as Ds}from"./index-D6L1etNM.js";import"./index-DDTcK-qU.js";import"./index-CXf9heLl.js";import"./index-zjUSMdGN.js";import{C as E}from"./NetworkUtil-wJaKVJLn.js";import{H as Jt}from"./HelpersUtil-BEYLlBvJ.js";import{n as Zi}from"./index-BZPzhMxI.js";import{E as Q}from"./ExchangeController-2EREmGS6.js";import"./index-DnneMju0.js";import"./index-XBQ5Br_v.js";import"./index-CD6YKi-4.js";import{M as mt}from"./MathUtil-BGCe3rZ3.js";import"./index-DodOW1Wt.js";import{e as Zt,n as ei}from"./ref-Ba1Lu66V.js";import"./index-C3T37ZwO.js";import"./index-cDF4M3wz.js";import"./index-DnuQi5WI.js";import"./index-Ds72qZSZ.js";import{O as bt}from"./index-BQAz_bkv.js";import{e as en}from"./index-C03_gX71.js";import"./index-B2C-8ONi.js";import"./index-2HNTJL6G.js";import{N as tn}from"./NavigationUtil-DmfK5sOV.js";import"./index-BJKTN3fZ.js";import"./thirdweb-B6-3DUyb.js";import"./ui-DF3UBKHP.js";import"./vendor-EnciFPIR.js";import"./index-BrjikWJo.js";import"./index-DLC_CweH.js";import"./index-C1rZSnuU.js";import"./index-nibyPLVP.js";import"./index.es-x9-iTI-5.js";import"./browser-ponyfill-Nb_5PKPO.js";import"./fromHex-CMtWckFK.js";import"./ConstantsUtil-C8ECmZhU.js";import"./browser-DtA1iGET.js";const nn=v`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{d as c,r as h,e as m,i as b,h as a}from"./index-DC2uOj0j.js";import{n as o,c as x}from"./index-CDSKpH1E.js";import{o as f}from"./if-defined-DqlAZTUO.js";import{e as $,n as g}from"./ref-CH5m8g-_.js";const w=c`
1
+ import{d as c,r as h,e as m,i as b,h as a}from"./index-D1isKCM4.js";import{n as o,c as x}from"./index-Bq8alsp4.js";import{o as f}from"./if-defined-DUohvO5V.js";import{e as $,n as g}from"./ref-Ba1Lu66V.js";const w=c`
2
2
  :host {
3
3
  position: relative;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d as u,r as g,e as m,i as p,h as n}from"./index-DC2uOj0j.js";import{n as r,c as x}from"./index-CDSKpH1E.js";import"./index-CtypDxih.js";import"./index-YtQbGnNu.js";const b=u`
1
+ import{d as u,r as g,e as m,i as p,h as n}from"./index-D1isKCM4.js";import{n as r,c as x}from"./index-Bq8alsp4.js";import"./index-e1u8n10M.js";import"./index-cDF4M3wz.js";const b=u`
2
2
  button {
3
3
  display: block;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{j as b,i as g,h as m,d as v}from"./index-DC2uOj0j.js";import{n as y,r as h,c as w}from"./index-CDSKpH1E.js";import{w as x,p as $,s as R,c as T,R as C,M as P}from"./W3MFrameProviderSingleton-DWYoW4MC.js";const a=$({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),_={state:a,subscribe(t){return T(a,()=>t(a))},subscribeKey(t,e){return R(a,t,e)},showTooltip({message:t,triggerRect:e,variant:o}){a.open=!0,a.message=t,a.triggerRect=e,a.variant=o},hide(){a.open=!1,a.message="",a.triggerRect={width:0,height:0,top:0,left:0}}},s=x(_),j=b`
1
+ import{j as b,i as g,h as m,d as v}from"./index-D1isKCM4.js";import{n as y,r as h,c as w}from"./index-Bq8alsp4.js";import{w as x,p as $,s as R,c as T,R as C,M as P}from"./W3MFrameProviderSingleton-BocmJdyW.js";const a=$({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),_={state:a,subscribe(t){return T(a,()=>t(a))},subscribeKey(t,e){return R(a,t,e)},showTooltip({message:t,triggerRect:e,variant:o}){a.open=!0,a.message=t,a.triggerRect=e,a.variant=o},hide(){a.open=!1,a.message="",a.triggerRect={width:0,height:0,top:0,left:0}}},s=x(_),j=b`
2
2
  :host {
3
3
  width: 100%;
4
4
  display: block;
@@ -1,4 +1,4 @@
1
- import{j as d,r as p,i as m,v as r,h as x}from"./index-DC2uOj0j.js";import{n as h,c as f}from"./index-CDSKpH1E.js";const g=d`
1
+ import{j as d,r as p,i as m,v as r,h as x}from"./index-D1isKCM4.js";import{n as h,c as f}from"./index-Bq8alsp4.js";const g=d`
2
2
  :host {
3
3
  display: flex;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{d as h,r as m,e as g,i as y,h as d}from"./index-DC2uOj0j.js";import{n as i,c as b}from"./index-CDSKpH1E.js";import{o as c}from"./if-defined-DqlAZTUO.js";import"./index-BdokbB_S.js";const f=h`
1
+ import{d as h,r as m,e as g,i as y,h as d}from"./index-D1isKCM4.js";import{n as i,c as b}from"./index-Bq8alsp4.js";import{o as c}from"./if-defined-DUohvO5V.js";import"./index-CN8Emqbp.js";const f=h`
2
2
  :host {
3
3
  width: 100%;
4
4
  }