@dcl/auth-site 4.11.6 → 4.11.7-22454021046.commit-66796b0

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 (85) hide show
  1. package/assets/{ConstantsUtil-BtcH_hsD.js → ConstantsUtil-BTAzJJxk.js} +1 -1
  2. package/assets/{ContentfulRichText-DMk8DR3b.js → ContentfulRichText-CNupunN0.js} +1 -1
  3. package/assets/{ExchangeController-BcnRxNdJ.js → ExchangeController-CuOYUbfc.js} +1 -1
  4. package/assets/{HelpersUtil-DvnliRND.js → HelpersUtil-YNapFkFh.js} +1 -1
  5. package/assets/{NetworkUtil-DNR1FlLN.js → NetworkUtil-CD3vSNT7.js} +1 -1
  6. package/assets/{SwapController-CwSKENOF.js → SwapController-DrlyUGPV.js} +1 -1
  7. package/assets/{biconomy-h4_VFNqN.js → biconomy-DTu3si1o.js} +1 -1
  8. package/assets/{ccip-BWqnmsjx.js → ccip-D5ItzRTJ.js} +1 -1
  9. package/assets/{data-capture-BHEo5E44.js → data-capture-Bg0ymc3M.js} +1 -1
  10. package/assets/{email-DUf0Jwhn.js → email-D8pIgYBD.js} +1 -1
  11. package/assets/{embedded-wallet-DFoAzSza.js → embedded-wallet-gHcj1Ug0.js} +1 -1
  12. package/assets/{engine-CdWJLzJC.js → engine-UABeH_6f.js} +1 -1
  13. package/assets/{extractIPFS-RcYqz3bH.js → extractIPFS-CQm4Lfxn.js} +1 -1
  14. package/assets/{features-BT-J7LU8.js → features-8iuvUBOX.js} +1 -1
  15. package/assets/{fortmatic-CoWLJfAb.js → fortmatic-BDXJ9G0I.js} +1 -1
  16. package/assets/{getInstalledModules-DsPuLK7r.js → getInstalledModules-BaYiUMRS.js} +1 -1
  17. package/assets/{if-defined-CB31LdD-.js → if-defined-BF9I5J02.js} +1 -1
  18. package/assets/{in-app-wallet-calls-De9q3-Yp.js → in-app-wallet-calls-Bvgy2Wwy.js} +1 -1
  19. package/assets/{index-DdOQ1xiw.js → index-9lGdg_wK.js} +1 -1
  20. package/assets/{index-D_x4JKEQ.js → index-Af9_kegn.js} +1 -1
  21. package/assets/{index-y2GmnEOw.js → index-B-W6T1X4.js} +1 -1
  22. package/assets/{index-BEPlJ97F.js → index-B0fOeQap.js} +4 -4
  23. package/assets/{index--2a9K7YZ.js → index-B5r_j0Li.js} +1 -1
  24. package/assets/{index-DavVEG0P.js → index-B7oq1SUZ.js} +1 -1
  25. package/assets/{index-gND0rlLz.js → index-BAZuhuRr.js} +1 -1
  26. package/assets/{index-DWYDPBlT.js → index-BCdaX6iB.js} +1 -1
  27. package/assets/{index-DIjwdmoX.js → index-BClMuZwo.js} +1 -1
  28. package/assets/{index-CxLXQZsn.js → index-BKPA7SzV.js} +1 -1
  29. package/assets/{index-DmtgXDmF.js → index-BUFkyjHj.js} +2 -2
  30. package/assets/{index-Ir4dEqNw.js → index-B_kW3Yhl.js} +1 -1
  31. package/assets/{index-onTPSaRT.js → index-BeUke7ss.js} +1 -1
  32. package/assets/{index-Bb_MkeIN.js → index-BfQPBVwi.js} +1 -1
  33. package/assets/{index-C9e5ryDD.js → index-C3TwnbJ0.js} +1 -1
  34. package/assets/{index-DIb6toJw.js → index-CCstzpOt.js} +1 -1
  35. package/assets/{index-Ucgtmw0I.js → index-CDsKeHLj.js} +1 -1
  36. package/assets/{index-D7_M_Os8.js → index-CG0bHdNn.js} +1 -1
  37. package/assets/{index-BahHILj2.js → index-CMJ3gxHq.js} +1 -1
  38. package/assets/{index-pD6jKtos.js → index-CR_zliSk.js} +1 -1
  39. package/assets/index-CepewSPs.css +1 -0
  40. package/assets/{index-C0ZFzbcE.js → index-CfTC08bB.js} +1 -1
  41. package/assets/{index-Bse9yVHC.js → index-Cg848Vuk.js} +1 -1
  42. package/assets/{index-CV8MIRId.js → index-CirjKUPe.js} +1 -1
  43. package/assets/{index-Bh0Q9TZW.js → index-CpqfO3Fu.js} +1 -1
  44. package/assets/{index-C6Vn7Hi6.js → index-D3H2w5Dg.js} +3 -3
  45. package/assets/{index-Bvv8ltnY.js → index-DDBFQgeU.js} +1 -1
  46. package/assets/{index-UbeFZIXa.js → index-DRBMp33n.js} +10 -10
  47. package/assets/{index-_bZ2EqKO.js → index-DUkCj92Q.js} +1 -1
  48. package/assets/{index-kolTl-cy.js → index-DXKmHQFl.js} +1 -1
  49. package/assets/{index-qSM3pc2Q.js → index-DYZKyCcD.js} +1 -1
  50. package/assets/{index-BpBQ72Y1.js → index-DgGaVj9b.js} +1 -1
  51. package/assets/{index-Xy1fdEOq.js → index-Dj-YWmEI.js} +1 -1
  52. package/assets/{index-BE4GCHQ4.js → index-DxyyW0Jm.js} +1 -1
  53. package/assets/{index-BpG3v8-6.js → index-DywrWdSU.js} +1 -1
  54. package/assets/{index-CrSF8xvL.js → index-EYTsSwJc.js} +1 -1
  55. package/assets/{index-D36Zbtwh.js → index-OvR6np2S.js} +1 -1
  56. package/assets/{index-BBCXfObe.js → index-P8zpMhr9.js} +1 -1
  57. package/assets/{index-taJn-ksF.js → index-RBJm1wiJ.js} +1 -1
  58. package/assets/{index-DUjbH6XW.js → index-bjFHiMAH.js} +1 -1
  59. package/assets/{index-DLx0zQre.js → index-rxpeVSmh.js} +1 -1
  60. package/assets/{networks-Bls60KSK.js → networks-0gi1krg9.js} +1 -1
  61. package/assets/{onramp-BNzRDmwx.js → onramp-BA7ikoiv.js} +1 -1
  62. package/assets/{openzeppelin-DlWJIOp5.js → openzeppelin-O09ukhZg.js} +1 -1
  63. package/assets/{parse-typed-data-B7oez8mz.js → parse-typed-data-Ce_IaeBF.js} +1 -1
  64. package/assets/{passkeys-DPOEMSGp.js → passkeys-DHLhvTu3.js} +1 -1
  65. package/assets/{pay-with-exchange-Bicg3xiK.js → pay-with-exchange-9QX5nGGs.js} +1 -1
  66. package/assets/{receive-DKQnNNTs.js → receive-CbfDGh_-.js} +1 -1
  67. package/assets/{ref-CkVYbi4i.js → ref-DwxsHcHt.js} +1 -1
  68. package/assets/{resolveImplementation-CmQ_0FAF.js → resolveImplementation-2lZfVl_e.js} +1 -1
  69. package/assets/{secp256k1-CKeGheU4.js → secp256k1-D1xykcxS.js} +1 -1
  70. package/assets/{send-VYgt0qbc.js → send-De-l7DoB.js} +1 -1
  71. package/assets/{send-eip712-transaction-C0ImWXJB.js → send-eip712-transaction-CPy9K26L.js} +1 -1
  72. package/assets/{send-gasless-transaction-CZfC-IR9.js → send-gasless-transaction-BwvRA-A9.js} +2 -2
  73. package/assets/{socials-kD_wWqRL.js → socials-Ce6huyS_.js} +1 -1
  74. package/assets/{swaps-CJuokWwC.js → swaps-CQU91P8x.js} +1 -1
  75. package/assets/{thirdweb-D2FCK_r7.js → thirdweb-BRnTqiE8.js} +3 -3
  76. package/assets/{transactions-BeG-QRJ9.js → transactions-CaFGyVgB.js} +1 -1
  77. package/assets/{ui-Bc-IV9jN.js → ui-K0fEM8Xq.js} +6 -6
  78. package/assets/{ui-B7Y5IBjn.css → ui-c1q6kjoK.css} +3 -3
  79. package/assets/{vendor-BIkJaebv.js → vendor-BdvXkHxW.js} +1 -1
  80. package/assets/{verifyHash-CahzvAe4.js → verifyHash-BF3HkgUn.js} +3 -3
  81. package/assets/{w3m-modal-Cuil9y_I.js → w3m-modal-CXHsdgc3.js} +1 -1
  82. package/assets/{web-connector-DlAt0sH_.js → web-connector-DOKq8Bjn.js} +3 -3
  83. package/index.html +6 -6
  84. package/package.json +3 -3
  85. package/assets/index-hjUMxDMd.css +0 -1
@@ -1,4 +1,4 @@
1
- import{n as d,r as p,l as m,v as r,m as x}from"./index-BEPlJ97F.js";import{n as h,c as f}from"./index-Xy1fdEOq.js";const g=d`
1
+ import{n as d,r as p,l as m,v as r,m as x}from"./index-B0fOeQap.js";import{n as h,c as f}from"./index-Dj-YWmEI.js";const g=d`
2
2
  :host {
3
3
  display: flex;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PhArrowCircleDown-B305t-Sh.js","assets/property-C9JG5tag.js","assets/PhArrowClockwise-CJPxQhr_.js","assets/PhArrowDown-C4hT9BVu.js","assets/PhArrowLeft-Way4Cu-r.js","assets/PhArrowRight-Cp5ZME0F.js","assets/PhArrowSquareOut-NnrK69c5.js","assets/PhArrowsDownUp-BjBI4ckC.js","assets/PhArrowsLeftRight-CuLpbKRk.js","assets/PhArrowUp-Dph6j8rm.js","assets/PhArrowUpRight-BpJjRRRh.js","assets/PhArrowsClockwise-CFUT8X7R.js","assets/PhBank-Dchr4XQJ.js","assets/PhBrowser-dUu2TrC1.js","assets/PhCaretDown-78IuKU3V.js","assets/PhCaretLeft-_aiyH7n1.js","assets/PhCaretRight-8zJQEuDX.js","assets/PhCaretUp-CiCxKWwN.js","assets/PhCheck-CcADx8br.js","assets/PhCircleHalf-BYzSzd2h.js","assets/PhClock-UItiXeJq.js","assets/PhCompass-CUy3uA7t.js","assets/PhCopy-C-PDgSlZ.js","assets/PhCreditCard-CWRaUT6F.js","assets/PhCurrencyDollar-Cqla3AXT.js","assets/PhDesktop-BBIPrYLl.js","assets/PhDeviceMobile-BdsPaATg.js","assets/PhDotsThree-BMXCQl-0.js","assets/PhVault-l2PHF38a.js","assets/PhEnvelope-yUsis6yU.js","assets/PhFunnelSimple-Ba7BbWTp.js","assets/PhGlobe-DgLxBk5U.js","assets/PhIdentificationCard-Czjmq9Z3.js","assets/PhImage-BAJ_erz6.js","assets/PhInfo-Cr4DhVUE.js","assets/PhLightbulb-BX_7duTr.js","assets/PhMagnifyingGlass-Mygfryvz.js","assets/PhPaperPlaneRight-BeuCA660.js","assets/PhPlus-BMjcHjsT.js","assets/PhPower-CGffGmdb.js","assets/PhPuzzlePiece-wm_GpVSi.js","assets/PhQrCode-DRwRzXCH.js","assets/PhQuestion-M09j2U0T.js","assets/PhQuestionMark-BP9EMB6h.js","assets/PhSealCheck-BfG80yKn.js","assets/PhSignOut-C5YOWlPT.js","assets/PhSpinner-BXooDYzU.js","assets/PhTrash-Biq6rmmL.js","assets/PhUser-CAgZSpGe.js","assets/PhWallet-w25D16It.js","assets/PhWarning-DPEydIPw.js","assets/PhWarningCircle-BqjT745H.js","assets/PhX-s-SmVExa.js"])))=>i.map(i=>d[i]);
2
- import{a8 as A,a9 as T,n as V,r as y,l as x,m as E,D as s,v as g,aa as Z,j as I}from"./index-BEPlJ97F.js";import{_ as l}from"./thirdweb-D2FCK_r7.js";const L=".",v={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--apkt-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--apkt-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},formatCurrency(t=0,e={}){const i=Number(t);return isNaN(i)?"$0.00":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2,...e}).format(i)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:o}){return t.length<=e+i?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n==null?void 0:n.replace("px","")),h=`${a}% ${a}% at 65% 40%`,p=[];for(let d=0;d<5;d+=1){const m=this.tintColor(o,.15*d);p.push(`rgb(${m[0]}, ${m[1]}, ${m[2]})`)}return`
2
+ import{a8 as A,a9 as T,n as V,r as y,l as x,m as E,D as s,v as g,aa as Z,j as I}from"./index-B0fOeQap.js";import{_ as l}from"./thirdweb-BRnTqiE8.js";const L=".",v={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--apkt-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--apkt-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},formatCurrency(t=0,e={}){const i=Number(t);return isNaN(i)?"$0.00":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2,...e}).format(i)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:o}){return t.length<=e+i?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n==null?void 0:n.replace("px","")),h=`${a}% ${a}% at 65% 40%`,p=[];for(let d=0;d<5;d+=1){const m=this.tintColor(o,.15*d);p.push(`rgb(${m[0]}, ${m[1]}, ${m[2]})`)}return`
3
3
  --local-color-1: ${p[0]};
4
4
  --local-color-2: ${p[1]};
5
5
  --local-color-3: ${p[2]};
@@ -1,4 +1,4 @@
1
- import{n as m,r as c,l as f,m as d}from"./index-BEPlJ97F.js";import{n as u,c as b}from"./index-Xy1fdEOq.js";import{o as h}from"./if-defined-CB31LdD-.js";import"./index-DavVEG0P.js";const v=m`
1
+ import{n as m,r as c,l as f,m as d}from"./index-B0fOeQap.js";import{n as u,c as b}from"./index-Dj-YWmEI.js";import{o as h}from"./if-defined-BF9I5J02.js";import"./index-B7oq1SUZ.js";const v=m`
2
2
  :host {
3
3
  position: relative;
4
4
  display: inline-block;
@@ -1,4 +1,4 @@
1
- import{D as x,j as W,r as I,l as M,m as v}from"./index-BEPlJ97F.js";import{n as y,c as O}from"./index-Xy1fdEOq.js";import"./index-Bh0Q9TZW.js";import{g as N}from"./thirdweb-D2FCK_r7.js";import{r as q}from"./index-UbeFZIXa.js";var A=q();const D=N(A),Q=.1,_=2.5,w=7;function k(t,a,d){return t===a?!1:(t-a<0?a-t:t-a)<=d+Q}function P(t,a){const d=Array.prototype.slice.call(D.create(t,{errorCorrectionLevel:a}).modules.data,0),l=Math.sqrt(d.length);return d.reduce((h,f,p)=>(p%l===0?h.push([f]):h[h.length-1].push(f))&&h,[])}const j={generate({uri:t,size:a,logoSize:d,padding:l=8,dotColor:h="var(--apkt-colors-black)"}){const p=[],u=P(t,"Q"),n=(a-2*l)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:e})=>{const s=(u.length-w)*n*i+l,r=(u.length-w)*n*e+l,c=.45;for(let o=0;o<E.length;o+=1){const m=n*(w-o*2);p.push(x`
1
+ import{D as x,j as W,r as I,l as M,m as v}from"./index-B0fOeQap.js";import{n as y,c as O}from"./index-Dj-YWmEI.js";import"./index-CpqfO3Fu.js";import{g as N}from"./thirdweb-BRnTqiE8.js";import{r as q}from"./index-DRBMp33n.js";var A=q();const D=N(A),Q=.1,_=2.5,w=7;function k(t,a,d){return t===a?!1:(t-a<0?a-t:t-a)<=d+Q}function P(t,a){const d=Array.prototype.slice.call(D.create(t,{errorCorrectionLevel:a}).modules.data,0),l=Math.sqrt(d.length);return d.reduce((h,f,p)=>(p%l===0?h.push([f]):h[h.length-1].push(f))&&h,[])}const j={generate({uri:t,size:a,logoSize:d,padding:l=8,dotColor:h="var(--apkt-colors-black)"}){const p=[],u=P(t,"Q"),n=(a-2*l)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:e})=>{const s=(u.length-w)*n*i+l,r=(u.length-w)*n*e+l,c=.45;for(let o=0;o<E.length;o+=1){const m=n*(w-o*2);p.push(x`
2
2
  <rect
3
3
  fill=${o===2?"var(--apkt-colors-black)":"var(--apkt-colors-white)"}
4
4
  width=${o===0?m-10:m}
@@ -1,4 +1,4 @@
1
- import{C as l,E as g,R as h,y as m,S as w,a as c,F as E,G as _,j as y,r as b,l as C,m as v,k as R}from"./index-BEPlJ97F.js";import{C as O}from"./NetworkUtil-DNR1FlLN.js";import{n as d,c as S}from"./index-Xy1fdEOq.js";import{o as $}from"./if-defined-CB31LdD-.js";function I(){try{return c.returnOpenHref(`${O.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 G(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,y as m,S as w,a as c,F as E,G as _,j as y,r as b,l as C,m as v,k as R}from"./index-B0fOeQap.js";import{C as O}from"./NetworkUtil-CD3vSNT7.js";import{n as d,c as S}from"./index-Dj-YWmEI.js";import{o as $}from"./if-defined-BF9I5J02.js";function I(){try{return c.returnOpenHref(`${O.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 G(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{j as A,l as O,m as c,r as B,C as R,a4 as m,a as j,R as Y,O as G,E as V,q as W,W as H}from"./index-BEPlJ97F.js";import{U as q,n as d,r as T,c as _}from"./index-Xy1fdEOq.js";import{g as N}from"./thirdweb-D2FCK_r7.js";import{r as K,a as J,b as Q}from"./ui-Bc-IV9jN.js";import"./index-C9e5ryDD.js";import"./index-DUjbH6XW.js";import{o as X}from"./if-defined-CB31LdD-.js";import"./index-Bh0Q9TZW.js";import"./index-DIjwdmoX.js";var Z=K();const I=N(Z);var ee=J();const te=N(ee);var ie=Q();const re=N(ie);var S={exports:{}},ne=S.exports,M;function oe(){return M||(M=1,(function(e,t){(function(i,r){e.exports=r()})(ne,(function(){return function(i,r,o){o.updateLocale=function(n,a){var s=o.Ls[n];if(s)return(a?Object.keys(a):[]).forEach((function(l){s[l]=a[l]})),s}}}))})(S)),S.exports}var ae=oe();const se=N(ae);I.extend(re);I.extend(se);const le={...te,name:"en-web3-modal",relativeTime:{future:"in %s",past:"%s ago",s:"%d sec",m:"1 min",mm:"%d min",h:"1 hr",hh:"%d hrs",d:"1 d",dd:"%d d",M:"1 mo",MM:"%d mo",y:"1 yr",yy:"%d yr"}},ce=["January","February","March","April","May","June","July","August","September","October","November","December"];I.locale("en-web3-modal",le);const z={getMonthNameByIndex(e){return ce[e]},getYear(e=new Date().toISOString()){return I(e).year()},getRelativeDateFromNow(e){return I(e).locale("en-web3-modal").fromNow(!0)},formatDate(e,t="DD MMM"){return I(e).format(t)}},ue=3,F=.1,de=["receive","deposit","borrow","claim"],pe=["withdraw","repay","burn"],$={getTransactionGroupTitle(e,t){const i=z.getYear(),r=z.getMonthNameByIndex(t);return e===i?r:`${r} ${e}`},getTransactionImages(e){const[t]=e;return(e==null?void 0:e.length)>1?e.map(r=>this.getTransactionImage(r)):[this.getTransactionImage(t)]},getTransactionImage(e){return{type:$.getTransactionTransferTokenType(e),url:$.getTransactionImageURL(e)}},getTransactionImageURL(e){var o,n,a,s,l;let t;const i=!!(e!=null&&e.nft_info),r=!!(e!=null&&e.fungible_info);return e&&i?t=(a=(n=(o=e==null?void 0:e.nft_info)==null?void 0:o.content)==null?void 0:n.preview)==null?void 0:a.url:e&&r&&(t=(l=(s=e==null?void 0:e.fungible_info)==null?void 0:s.icon)==null?void 0:l.url),t},getTransactionTransferTokenType(e){if(e!=null&&e.fungible_info)return"FUNGIBLE";if(e!=null&&e.nft_info)return"NFT"},getTransactionDescriptions(e,t){var k;const i=(k=e==null?void 0:e.metadata)==null?void 0:k.operationType,r=t||(e==null?void 0:e.transfers),o=r&&r.length>0,n=r&&r.length>1,a=o&&r.every(v=>!!(v!=null&&v.fungible_info)),[s,l]=r||[];let u=this.getTransferDescription(s),p=this.getTransferDescription(l);if(!o)return(i==="send"||i==="receive")&&a?(u=q.getTruncateString({string:e==null?void 0:e.metadata.sentFrom,charsStart:4,charsEnd:6,truncate:"middle"}),p=q.getTruncateString({string:e==null?void 0:e.metadata.sentTo,charsStart:4,charsEnd:6,truncate:"middle"}),[u,p]):[e.metadata.status];if(n)return r==null?void 0:r.map(v=>this.getTransferDescription(v));let D="";return de.includes(i)?D="+":pe.includes(i)&&(D="-"),u=D.concat(u),[u]},getTransferDescription(e){var i;let t="";return e&&(e!=null&&e.nft_info?t=((i=e==null?void 0:e.nft_info)==null?void 0:i.name)||"-":e!=null&&e.fungible_info&&(t=this.getFungibleTransferDescription(e)||"-")),t},getFungibleTransferDescription(e){var r;return e?[this.getQuantityFixedValue(e==null?void 0:e.quantity.numeric),(r=e==null?void 0:e.fungible_info)==null?void 0:r.symbol].join(" ").trim():null},mergeTransfers(e){if((e==null?void 0:e.length)<=1)return e;const i=this.filterGasFeeTransfers(e).reduce((o,n)=>{var l;const a=(l=n==null?void 0:n.fungible_info)==null?void 0:l.name,s=o.find(({fungible_info:u,direction:p})=>a&&a===(u==null?void 0:u.name)&&p===n.direction);if(s){const u=Number(s.quantity.numeric)+Number(n.quantity.numeric);s.quantity.numeric=u.toString(),s.value=(s.value||0)+(n.value||0)}else o.push(n);return o},[]);let r=i;return i.length>2&&(r=i.sort((o,n)=>(n.value||0)-(o.value||0)).slice(0,2)),r=r.sort((o,n)=>o.direction==="out"&&n.direction==="in"?-1:o.direction==="in"&&n.direction==="out"?1:0),r},filterGasFeeTransfers(e){const t=e==null?void 0:e.reduce((r,o)=>{var a;const n=(a=o==null?void 0:o.fungible_info)==null?void 0:a.name;return n&&(r[n]||(r[n]=[]),r[n].push(o)),r},{}),i=[];return Object.values(t??{}).forEach(r=>{if(r.length===1){const o=r[0];o&&i.push(o)}else{const o=r.filter(a=>a.direction==="in"),n=r.filter(a=>a.direction==="out");if(o.length===1&&n.length===1){const a=o[0],s=n[0];let l=!1;if(a&&s){const u=Number(a.quantity.numeric),p=Number(s.quantity.numeric);p<u*F?(i.push(a),l=!0):u<p*F&&(i.push(s),l=!0)}l||i.push(...r)}else{const a=this.filterGasFeesFromTokenGroup(r);i.push(...a)}}}),e==null||e.forEach(r=>{var o;(o=r==null?void 0:r.fungible_info)!=null&&o.name||i.push(r)}),i},filterGasFeesFromTokenGroup(e){if(e.length<=1)return e;const t=e==null?void 0:e.map(s=>Number(s.quantity.numeric)),i=Math.max(...t),r=Math.min(...t),o=.01;if(r<i*o)return e==null?void 0:e.filter(l=>Number(l.quantity.numeric)>=i*o);const n=e==null?void 0:e.filter(s=>s.direction==="in"),a=e==null?void 0:e.filter(s=>s.direction==="out");if(n.length===1&&a.length===1){const s=n[0],l=a[0];if(s&&l){const u=Number(s.quantity.numeric),p=Number(l.quantity.numeric);if(p<u*F)return[s];if(u<p*F)return[l]}}return e},getQuantityFixedValue(e){return e?parseFloat(e).toFixed(ue):null}};var E;(function(e){e.approve="approved",e.bought="bought",e.borrow="borrowed",e.burn="burnt",e.cancel="canceled",e.claim="claimed",e.deploy="deployed",e.deposit="deposited",e.execute="executed",e.mint="minted",e.receive="received",e.repay="repaid",e.send="sent",e.sell="sold",e.stake="staked",e.trade="swapped",e.unstake="unstaked",e.withdraw="withdrawn"})(E||(E={}));const me=A`
1
+ import{j as A,l as O,m as c,r as B,C as R,a4 as m,a as j,R as Y,O as G,E as V,q as W,W as H}from"./index-B0fOeQap.js";import{U as q,n as d,r as T,c as _}from"./index-Dj-YWmEI.js";import{g as N}from"./thirdweb-BRnTqiE8.js";import{r as K,a as J,b as Q}from"./ui-K0fEM8Xq.js";import"./index-C3TwnbJ0.js";import"./index-bjFHiMAH.js";import{o as X}from"./if-defined-BF9I5J02.js";import"./index-CpqfO3Fu.js";import"./index-BClMuZwo.js";var Z=K();const I=N(Z);var ee=J();const te=N(ee);var ie=Q();const re=N(ie);var S={exports:{}},ne=S.exports,M;function oe(){return M||(M=1,(function(e,t){(function(i,r){e.exports=r()})(ne,(function(){return function(i,r,o){o.updateLocale=function(n,a){var s=o.Ls[n];if(s)return(a?Object.keys(a):[]).forEach((function(l){s[l]=a[l]})),s}}}))})(S)),S.exports}var ae=oe();const se=N(ae);I.extend(re);I.extend(se);const le={...te,name:"en-web3-modal",relativeTime:{future:"in %s",past:"%s ago",s:"%d sec",m:"1 min",mm:"%d min",h:"1 hr",hh:"%d hrs",d:"1 d",dd:"%d d",M:"1 mo",MM:"%d mo",y:"1 yr",yy:"%d yr"}},ce=["January","February","March","April","May","June","July","August","September","October","November","December"];I.locale("en-web3-modal",le);const z={getMonthNameByIndex(e){return ce[e]},getYear(e=new Date().toISOString()){return I(e).year()},getRelativeDateFromNow(e){return I(e).locale("en-web3-modal").fromNow(!0)},formatDate(e,t="DD MMM"){return I(e).format(t)}},ue=3,F=.1,de=["receive","deposit","borrow","claim"],pe=["withdraw","repay","burn"],$={getTransactionGroupTitle(e,t){const i=z.getYear(),r=z.getMonthNameByIndex(t);return e===i?r:`${r} ${e}`},getTransactionImages(e){const[t]=e;return(e==null?void 0:e.length)>1?e.map(r=>this.getTransactionImage(r)):[this.getTransactionImage(t)]},getTransactionImage(e){return{type:$.getTransactionTransferTokenType(e),url:$.getTransactionImageURL(e)}},getTransactionImageURL(e){var o,n,a,s,l;let t;const i=!!(e!=null&&e.nft_info),r=!!(e!=null&&e.fungible_info);return e&&i?t=(a=(n=(o=e==null?void 0:e.nft_info)==null?void 0:o.content)==null?void 0:n.preview)==null?void 0:a.url:e&&r&&(t=(l=(s=e==null?void 0:e.fungible_info)==null?void 0:s.icon)==null?void 0:l.url),t},getTransactionTransferTokenType(e){if(e!=null&&e.fungible_info)return"FUNGIBLE";if(e!=null&&e.nft_info)return"NFT"},getTransactionDescriptions(e,t){var k;const i=(k=e==null?void 0:e.metadata)==null?void 0:k.operationType,r=t||(e==null?void 0:e.transfers),o=r&&r.length>0,n=r&&r.length>1,a=o&&r.every(v=>!!(v!=null&&v.fungible_info)),[s,l]=r||[];let u=this.getTransferDescription(s),p=this.getTransferDescription(l);if(!o)return(i==="send"||i==="receive")&&a?(u=q.getTruncateString({string:e==null?void 0:e.metadata.sentFrom,charsStart:4,charsEnd:6,truncate:"middle"}),p=q.getTruncateString({string:e==null?void 0:e.metadata.sentTo,charsStart:4,charsEnd:6,truncate:"middle"}),[u,p]):[e.metadata.status];if(n)return r==null?void 0:r.map(v=>this.getTransferDescription(v));let D="";return de.includes(i)?D="+":pe.includes(i)&&(D="-"),u=D.concat(u),[u]},getTransferDescription(e){var i;let t="";return e&&(e!=null&&e.nft_info?t=((i=e==null?void 0:e.nft_info)==null?void 0:i.name)||"-":e!=null&&e.fungible_info&&(t=this.getFungibleTransferDescription(e)||"-")),t},getFungibleTransferDescription(e){var r;return e?[this.getQuantityFixedValue(e==null?void 0:e.quantity.numeric),(r=e==null?void 0:e.fungible_info)==null?void 0:r.symbol].join(" ").trim():null},mergeTransfers(e){if((e==null?void 0:e.length)<=1)return e;const i=this.filterGasFeeTransfers(e).reduce((o,n)=>{var l;const a=(l=n==null?void 0:n.fungible_info)==null?void 0:l.name,s=o.find(({fungible_info:u,direction:p})=>a&&a===(u==null?void 0:u.name)&&p===n.direction);if(s){const u=Number(s.quantity.numeric)+Number(n.quantity.numeric);s.quantity.numeric=u.toString(),s.value=(s.value||0)+(n.value||0)}else o.push(n);return o},[]);let r=i;return i.length>2&&(r=i.sort((o,n)=>(n.value||0)-(o.value||0)).slice(0,2)),r=r.sort((o,n)=>o.direction==="out"&&n.direction==="in"?-1:o.direction==="in"&&n.direction==="out"?1:0),r},filterGasFeeTransfers(e){const t=e==null?void 0:e.reduce((r,o)=>{var a;const n=(a=o==null?void 0:o.fungible_info)==null?void 0:a.name;return n&&(r[n]||(r[n]=[]),r[n].push(o)),r},{}),i=[];return Object.values(t??{}).forEach(r=>{if(r.length===1){const o=r[0];o&&i.push(o)}else{const o=r.filter(a=>a.direction==="in"),n=r.filter(a=>a.direction==="out");if(o.length===1&&n.length===1){const a=o[0],s=n[0];let l=!1;if(a&&s){const u=Number(a.quantity.numeric),p=Number(s.quantity.numeric);p<u*F?(i.push(a),l=!0):u<p*F&&(i.push(s),l=!0)}l||i.push(...r)}else{const a=this.filterGasFeesFromTokenGroup(r);i.push(...a)}}}),e==null||e.forEach(r=>{var o;(o=r==null?void 0:r.fungible_info)!=null&&o.name||i.push(r)}),i},filterGasFeesFromTokenGroup(e){if(e.length<=1)return e;const t=e==null?void 0:e.map(s=>Number(s.quantity.numeric)),i=Math.max(...t),r=Math.min(...t),o=.01;if(r<i*o)return e==null?void 0:e.filter(l=>Number(l.quantity.numeric)>=i*o);const n=e==null?void 0:e.filter(s=>s.direction==="in"),a=e==null?void 0:e.filter(s=>s.direction==="out");if(n.length===1&&a.length===1){const s=n[0],l=a[0];if(s&&l){const u=Number(s.quantity.numeric),p=Number(l.quantity.numeric);if(p<u*F)return[s];if(u<p*F)return[l]}}return e},getQuantityFixedValue(e){return e?parseFloat(e).toFixed(ue):null}};var E;(function(e){e.approve="approved",e.bought="bought",e.borrow="borrowed",e.burn="burnt",e.cancel="canceled",e.claim="claimed",e.deploy="deployed",e.deposit="deposited",e.execute="executed",e.mint="minted",e.receive="received",e.repay="repaid",e.send="sent",e.sell="sold",e.stake="staked",e.trade="swapped",e.unstake="unstaked",e.withdraw="withdrawn"})(E||(E={}));const me=A`
2
2
  :host > wui-flex {
3
3
  display: flex;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{p as g,s as C,i as w,j as k,r as $,l as m,m as d,O as l}from"./index-BEPlJ97F.js";import{n as x,c as f,r as v}from"./index-Xy1fdEOq.js";import{o as z}from"./if-defined-CB31LdD-.js";import{e as O,n as _}from"./ref-CkVYbi4i.js";const h=g({isLegalCheckboxChecked:!1}),u={state:h,subscribe(e){return w(h,()=>e(h))},subscribeKey(e,t){return C(h,e,t)},setIsLegalCheckboxChecked(e){h.isLegalCheckboxChecked=e}},E=k`
1
+ import{p as g,s as C,i as w,j as k,r as $,l as m,m as d,O as l}from"./index-B0fOeQap.js";import{n as x,c as f,r as v}from"./index-Dj-YWmEI.js";import{o as z}from"./if-defined-BF9I5J02.js";import{e as O,n as _}from"./ref-DwxsHcHt.js";const h=g({isLegalCheckboxChecked:!1}),u={state:h,subscribe(e){return w(h,()=>e(h))},subscribeKey(e,t){return C(h,e,t)},setIsLegalCheckboxChecked(e){h.isLegalCheckboxChecked=e}},E=k`
2
2
  label {
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as l,r as p,k as h,l as b,m as y}from"./index-BEPlJ97F.js";import{n as r,c as f}from"./index-Xy1fdEOq.js";import{o as v}from"./if-defined-CB31LdD-.js";const m=l`
1
+ import{j as l,r as p,k as h,l as b,m as y}from"./index-B0fOeQap.js";import{n as r,c as f}from"./index-Dj-YWmEI.js";import{o as v}from"./if-defined-BF9I5J02.js";const m=l`
2
2
  :host {
3
3
  position: relative;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{j as b,r as p,k as m,l as f,m as l}from"./index-BEPlJ97F.js";import{n as d,c as v}from"./index-Xy1fdEOq.js";const h=b`
1
+ import{j as b,r as p,k as m,l as f,m as l}from"./index-B0fOeQap.js";import{n as d,c as v}from"./index-Dj-YWmEI.js";const h=b`
2
2
  button {
3
3
  border: none;
4
4
  background: transparent;
@@ -1,4 +1,4 @@
1
- import{n as p,l as u,R as f,M as g,m as d}from"./index-BEPlJ97F.js";import{n as b,r as m,c as w}from"./index-Xy1fdEOq.js";import{T as l}from"./index-y2GmnEOw.js";const C={interpolate(r,e,t){if(r.length!==2||e.length!==2)throw new Error("inputRange and outputRange must be an array of length 2");const n=r[0]||0,i=r[1]||0,o=e[0]||0,s=e[1]||0;return t<n?o:t>i?s:(s-o)/(i-n)*(t-n)+o}},M=p`
1
+ import{n as p,l as u,R as f,M as g,m as d}from"./index-B0fOeQap.js";import{n as b,r as m,c as w}from"./index-Dj-YWmEI.js";import{T as l}from"./index-B-W6T1X4.js";const C={interpolate(r,e,t){if(r.length!==2||e.length!==2)throw new Error("inputRange and outputRange must be an array of length 2");const n=r[0]||0,i=r[1]||0,o=e[0]||0,s=e[1]||0;return t<n?o:t>i?s:(s-o)/(i-n)*(t-n)+o}},M=p`
2
2
  :host {
3
3
  width: 100%;
4
4
  display: block;