{"version":3,"sources":["webpack:///./node_modules/@walletconnect/modal/dist/index.js"],"names":["d","constructor","e","this","openModal","t","open","closeModal","close","subscribeModal","subscribe","setTheme","o","setThemeConfig","i","setConfig","initUi","async","window","document","createElement","body","insertAdjacentElement","n","setIsUiLoaded"],"mappings":"0GAAA,0EAAsG,MAAMA,EAAEC,YAAYC,GAAGC,KAAKC,UAAUC,IAAEC,KAAKH,KAAKI,WAAWF,IAAEG,MAAML,KAAKM,eAAeJ,IAAEK,UAAUP,KAAKQ,SAASC,IAAEC,eAAeD,IAAEC,eAAeX,GAAGY,IAAEC,UAAUb,GAAGC,KAAKa,QAAQA,CAACC,eAAe,UAAUC,OAAO,IAAI,OAAO,gDAAkC,MAAMhB,EAAEiB,SAASC,cAAc,aAAaD,SAASE,KAAKC,sBAAsB,YAAYpB,GAAGqB,IAAEC,eAAcA,EAAA","file":"js/chunk-2d0d0180.393dd5f8.js","sourcesContent":["import{ModalCtrl as t,ThemeCtrl as o,ConfigCtrl as i,OptionsCtrl as n}from\"@walletconnect/modal-core\";class d{constructor(e){this.openModal=t.open,this.closeModal=t.close,this.subscribeModal=t.subscribe,this.setTheme=o.setThemeConfig,o.setThemeConfig(e),i.setConfig(e),this.initUi()}async initUi(){if(typeof window<\"u\"){await import(\"@walletconnect/modal-ui\");const e=document.createElement(\"wcm-modal\");document.body.insertAdjacentElement(\"beforeend\",e),n.setIsUiLoaded(!0)}}}export{d as WalletConnectModal};\n"],"sourceRoot":""}