@dcl/auth-site 4.11.8-22498003597.commit-7ccb296 → 4.11.8-22499581509.commit-6c3d4c4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{ConstantsUtil-DoxZQIte.js → ConstantsUtil-CIroxmBf.js} +1 -1
- package/assets/{ContentfulRichText-XwmfBmtb.js → ContentfulRichText-BMH_7wzS.js} +1 -1
- package/assets/{ExchangeController-BS-dTQaL.js → ExchangeController-Dtn3cVrI.js} +1 -1
- package/assets/{HelpersUtil-jEznvZJQ.js → HelpersUtil-DiUzOq02.js} +1 -1
- package/assets/{NetworkUtil-BPU9yKk6.js → NetworkUtil-DUiJcxAZ.js} +1 -1
- package/assets/{SwapController-DeFTH7Nb.js → SwapController-CmwkiKgS.js} +1 -1
- package/assets/{biconomy-DleobHEm.js → biconomy-CojI_-KU.js} +1 -1
- package/assets/{ccip-wdBDIasN.js → ccip-DLu3blNa.js} +1 -1
- package/assets/{data-capture-BpgHXp5-.js → data-capture-DNmH94qE.js} +1 -1
- package/assets/{email-qqeoRdxT.js → email-BW178ypc.js} +1 -1
- package/assets/{embedded-wallet-CxJVSG9F.js → embedded-wallet-C5ykv__o.js} +1 -1
- package/assets/{engine-8t3hlpbv.js → engine-JSLhwWgq.js} +1 -1
- package/assets/{extractIPFS-NtF2fBZG.js → extractIPFS-Li1wu2yh.js} +1 -1
- package/assets/{features-BbNCEMx5.js → features-v1QOgLN0.js} +1 -1
- package/assets/{fortmatic-DwciOWJF.js → fortmatic-DVbmuaIS.js} +1 -1
- package/assets/{getInstalledModules-B_BdkrcN.js → getInstalledModules-D2GSE9O2.js} +1 -1
- package/assets/{if-defined-CTyoUr7X.js → if-defined-DFYHa5Un.js} +1 -1
- package/assets/{in-app-wallet-calls-DzSZkW8I.js → in-app-wallet-calls-Cesoe76P.js} +1 -1
- package/assets/index-65Kzknke.js +425 -0
- package/assets/{index-BmwRA_LX.js → index-6DtQ8xkZ.js} +1 -1
- package/assets/index-B4oO0IfT.css +1 -0
- package/assets/{index-D7d0JtYr.js → index-BADXpjCr.js} +1 -1
- package/assets/{index-CzomHKAA.js → index-BJ9irbbC.js} +1 -1
- package/assets/{index-BV_r-4RG.js → index-BJS8QI9I.js} +1 -1
- package/assets/{index-BC0t7_0G.js → index-BNGZY9Hh.js} +1 -1
- package/assets/{index-CrW2PY8p.js → index-BQ0pofLZ.js} +3 -3
- package/assets/{index-BZaSJtPy.js → index-BkqUcu7R.js} +1 -1
- package/assets/{index-F9aNM6RO.js → index-BlNTnzB5.js} +1 -1
- package/assets/{index-BDbdqJ_u.js → index-BpX_YJJt.js} +1 -1
- package/assets/{index-BvpllpAj.js → index-Bq8RfSBC.js} +1 -1
- package/assets/{index-BnXA4F_5.js → index-C9irgGst.js} +2 -2
- package/assets/{index-BmqPvMXv.js → index-CBufWePh.js} +1 -1
- package/assets/{index-DkXTh9cm.js → index-CCNDfHuD.js} +1 -1
- package/assets/{index-D3vMsTra.js → index-CKPPKcne.js} +1 -1
- package/assets/{index-Ca-KIiwN.js → index-CSyDDOVb.js} +1 -1
- package/assets/{index-Do12eirb.js → index-CULFeWdf.js} +2 -2
- package/assets/{index-CJctsr3v.js → index-CgusvB-Y.js} +1 -1
- package/assets/{index-6nlFjChl.js → index-CphKEUOq.js} +1 -1
- package/assets/{index-IjFd3YqG.js → index-Cq_tyLJU.js} +1 -1
- package/assets/{index-BTWKAT8h.js → index-CudIVXmO.js} +1 -1
- package/assets/{index-DP67NDHV.js → index-CuuYlds7.js} +1 -1
- package/assets/{index-BJnQvBbK.js → index-CxdTchmz.js} +1 -1
- package/assets/{index-DGVgUEEi.js → index-D8uXbCXZ.js} +1 -1
- package/assets/{index-seGc3pgr.js → index-DM_pXNko.js} +35 -31
- package/assets/{index-CB1HzxTF.js → index-DNW0vAkD.js} +4 -4
- package/assets/{index-CbSWIDJJ.js → index-DQJUPVCC.js} +4 -4
- package/assets/{index-TNCchic0.js → index-DUaMJ-1_.js} +1 -1
- package/assets/{index-B137f8S3.js → index-DW72sxt7.js} +1 -1
- package/assets/{index-BqFU92A5.js → index-DwcgDEx8.js} +1 -1
- package/assets/{index-CvpAzyaS.js → index-FSq4OhtD.js} +1 -1
- package/assets/{index-wnopjaUF.js → index-NDBBT_eK.js} +1 -1
- package/assets/{index-DyB7BZdU.js → index-PhhIqZyN.js} +1 -1
- package/assets/{index-DxP8xu4y.js → index-WBe7DNra.js} +1 -1
- package/assets/{index-CPz2M1dp.js → index-XC4KVXXL.js} +1 -1
- package/assets/{index-DFjop9Qi.js → index-gfaYEzwq.js} +1 -1
- package/assets/{index-D7Q66Ej9.js → index-gsCVOFdk.js} +1 -1
- package/assets/{index-CSSfw0Om.js → index-i1DIbWol.js} +1 -1
- package/assets/{index-fo9e9vyj.js → index-onguitAS.js} +1 -1
- package/assets/{index-BZ9no0dA.js → index-s2AizPuL.js} +1 -1
- package/assets/{networks-GT-OeK-9.js → networks-DKN-TtbA.js} +1 -1
- package/assets/{onramp-5-RzBI55.js → onramp-CweuWegK.js} +1 -1
- package/assets/{openzeppelin-BQi5JpNm.js → openzeppelin-DuFo0b8A.js} +1 -1
- package/assets/{parse-typed-data-D8A5Yic0.js → parse-typed-data-u7-aUfWj.js} +1 -1
- package/assets/{passkeys-bFpwuMpE.js → passkeys-CxJh14wv.js} +1 -1
- package/assets/{pay-with-exchange-Bf4UdPD6.js → pay-with-exchange-WIuKyDda.js} +1 -1
- package/assets/{receive-BQqSDAnB.js → receive-q96tAnjp.js} +1 -1
- package/assets/{ref-BykpTASX.js → ref-BBZ9Z2ko.js} +1 -1
- package/assets/{resolveImplementation-CBdftC4q.js → resolveImplementation-CSOgxl11.js} +1 -1
- package/assets/{secp256k1-CTbWFjaz.js → secp256k1-CzztGZqr.js} +1 -1
- package/assets/{send-DdMpMKRM.js → send-0-lcmyVp.js} +1 -1
- package/assets/{send-eip712-transaction-n47Uo9fW.js → send-eip712-transaction-CWzmh_7T.js} +1 -1
- package/assets/{send-gasless-transaction-B4YZQjMY.js → send-gasless-transaction-CGOKufgS.js} +2 -2
- package/assets/{socials-BaAAiFer.js → socials-BzuP6LmF.js} +1 -1
- package/assets/{swaps-Cn-YxwMz.js → swaps-Dl7U1kFz.js} +1 -1
- package/assets/{thirdweb-Y_ISxvhy.js → thirdweb-OxLhaj9a.js} +3 -3
- package/assets/{transactions-Cs5VMfCd.js → transactions-DUwBc4Ak.js} +1 -1
- package/assets/ui-CoG1fkb5.js +709 -0
- package/assets/{vendor-BcrylrN5.js → vendor-Cfxq3JgU.js} +2 -2
- package/assets/{verifyHash-BSDP6rv7.js → verifyHash-CPx33Jtk.js} +3 -3
- package/assets/{w3m-modal-DPggH4JX.js → w3m-modal-DDoyZ_ix.js} +1 -1
- package/assets/{web-connector-DRbbwweq.js → web-connector-CjDZtnpH.js} +3 -3
- package/index.html +5 -6
- package/package.json +3 -3
- package/assets/1949206f0b8ec64d-qrlN31md.svg +0 -9
- package/assets/805322223c96be40-CKnEN-kZ.png +0 -0
- package/assets/brand-icons-Cu_C0hZ4.svg +0 -1008
- package/assets/brand-icons-F3SPCeH1.woff +0 -0
- package/assets/brand-icons-XL9sxUpA.woff2 +0 -0
- package/assets/brand-icons-sqJ2Pg7a.eot +0 -0
- package/assets/brand-icons-ubhWoxly.ttf +0 -0
- package/assets/da0e2040ea4c51ef-rAUxngFb.svg +0 -1
- package/assets/flags-DOLqOU7Y.png +0 -0
- package/assets/icons-BOCtAERH.woff +0 -0
- package/assets/icons-CHzK1VD9.eot +0 -0
- package/assets/icons-D29ZQHHw.ttf +0 -0
- package/assets/icons-Du6TOHnR.woff2 +0 -0
- package/assets/icons-RwhydX30.svg +0 -1518
- package/assets/index-Bqrm_Dw0.css +0 -1
- package/assets/index-E7egrzpr.js +0 -425
- package/assets/outline-icons-BfdLr8tr.svg +0 -366
- package/assets/outline-icons-DD8jm0uy.ttf +0 -0
- package/assets/outline-icons-DInHoiqI.woff2 +0 -0
- package/assets/outline-icons-LX8adJ4n.eot +0 -0
- package/assets/outline-icons-aQ88nltS.woff +0 -0
- package/assets/ui-B2abKe7e.js +0 -745
- package/assets/ui-SODXwnNI.css +0 -346
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
import{j as oe,l as se,m as w,r as Ce,C as pe,a7 as F,a as xe,R as Fe,O as Re,E as Ne,q as Le,W as je}from"./index-DNW0vAkD.js";import{U as Te,n as I,r as Q,c as ae}from"./index-WBe7DNra.js";import{g as ye}from"./thirdweb-OxLhaj9a.js";import"./index-XC4KVXXL.js";import"./index-BNGZY9Hh.js";import{o as ke}from"./if-defined-DFYHa5Un.js";import"./index-CphKEUOq.js";import"./index-DUaMJ-1_.js";var me={exports:{}},ze=me.exports,Ie;function Ue(){return Ie||(Ie=1,(function(e,t){(function(i,r){e.exports=r()})(ze,(function(){var i=1e3,r=6e4,o=36e5,n="millisecond",s="second",u="minute",g="hour",p="day",y="week",$="month",j="quarter",D="year",R="date",Y="Invalid Date",X=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ee=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,te={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var l=["th","st","nd","rd"],a=h%100;return"["+h+(l[(a-20)%10]||l[a]||l[0])+"]"}},ie=function(h,l,a){var d=String(h);return!d||d.length>=l?h:""+Array(l+1-d.length).join(a)+h},q={s:ie,z:function(h){var l=-h.utcOffset(),a=Math.abs(l),d=Math.floor(a/60),c=a%60;return(l<=0?"+":"-")+ie(d,2,"0")+":"+ie(c,2,"0")},m:function h(l,a){if(l.date()<a.date())return-h(a,l);var d=12*(a.year()-l.year())+(a.month()-l.month()),c=l.clone().add(d,$),m=a-c<0,f=l.clone().add(d+(m?-1:1),$);return+(-(d+(a-c)/(m?c-f:f-c))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:$,y:D,w:y,d:p,D:R,h:g,m:u,s,ms:n,Q:j}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},S="en",O={};O[S]=te;var V="$isDayjsObject",B=function(h){return h instanceof le||!(!h||!h[V])},ce=function h(l,a,d){var c;if(!l)return S;if(typeof l=="string"){var m=l.toLowerCase();O[m]&&(c=m),a&&(O[m]=a,c=m);var f=l.split("-");if(!c&&f.length>1)return h(f[0])}else{var v=l.name;O[v]=l,c=v}return!d&&c&&(S=c),c||!d&&S},_=function(h,l){if(B(h))return h.clone();var a=typeof l=="object"?l:{};return a.date=h,a.args=arguments,new le(a)},x=q;x.l=ce,x.i=B,x.w=function(h,l){return _(h,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var le=(function(){function h(a){this.$L=ce(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[V]=!0}var l=h.prototype;return l.parse=function(a){this.$d=(function(d){var c=d.date,m=d.utc;if(c===null)return new Date(NaN);if(x.u(c))return new Date;if(c instanceof Date)return new Date(c);if(typeof c=="string"&&!/Z$/i.test(c)){var f=c.match(X);if(f){var v=f[2]-1||0,b=(f[7]||"0").substring(0,3);return m?new Date(Date.UTC(f[1],v,f[3]||1,f[4]||0,f[5]||0,f[6]||0,b)):new Date(f[1],v,f[3]||1,f[4]||0,f[5]||0,f[6]||0,b)}}return new Date(c)})(a),this.init()},l.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},l.$utils=function(){return x},l.isValid=function(){return this.$d.toString()!==Y},l.isSame=function(a,d){var c=_(a);return this.startOf(d)<=c&&c<=this.endOf(d)},l.isAfter=function(a,d){return _(a)<this.startOf(d)},l.isBefore=function(a,d){return this.endOf(d)<_(a)},l.$g=function(a,d,c){return x.u(a)?this[d]:this.set(c,a)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(a,d){var c=this,m=!!x.u(d)||d,f=x.p(a),v=function(P,A){var z=x.w(c.$u?Date.UTC(c.$y,A,P):new Date(c.$y,A,P),c);return m?z:z.endOf(p)},b=function(P,A){return x.w(c.toDate()[P].apply(c.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(A)),c)},T=this.$W,M=this.$M,C=this.$D,J="set"+(this.$u?"UTC":"");switch(f){case D:return m?v(1,0):v(31,11);case $:return m?v(1,M):v(0,M+1);case y:var W=this.$locale().weekStart||0,re=(T<W?T+7:T)-W;return v(m?C-re:C+(6-re),M);case p:case R:return b(J+"Hours",0);case g:return b(J+"Minutes",1);case u:return b(J+"Seconds",2);case s:return b(J+"Milliseconds",3);default:return this.clone()}},l.endOf=function(a){return this.startOf(a,!1)},l.$set=function(a,d){var c,m=x.p(a),f="set"+(this.$u?"UTC":""),v=(c={},c[p]=f+"Date",c[R]=f+"Date",c[$]=f+"Month",c[D]=f+"FullYear",c[g]=f+"Hours",c[u]=f+"Minutes",c[s]=f+"Seconds",c[n]=f+"Milliseconds",c)[m],b=m===p?this.$D+(d-this.$W):d;if(m===$||m===D){var T=this.clone().set(R,1);T.$d[v](b),T.init(),this.$d=T.set(R,Math.min(this.$D,T.daysInMonth())).$d}else v&&this.$d[v](b);return this.init(),this},l.set=function(a,d){return this.clone().$set(a,d)},l.get=function(a){return this[x.p(a)]()},l.add=function(a,d){var c,m=this;a=Number(a);var f=x.p(d),v=function(M){var C=_(m);return x.w(C.date(C.date()+Math.round(M*a)),m)};if(f===$)return this.set($,this.$M+a);if(f===D)return this.set(D,this.$y+a);if(f===p)return v(1);if(f===y)return v(7);var b=(c={},c[u]=r,c[g]=o,c[s]=i,c)[f]||1,T=this.$d.getTime()+a*b;return x.w(T,this)},l.subtract=function(a,d){return this.add(-1*a,d)},l.format=function(a){var d=this,c=this.$locale();if(!this.isValid())return c.invalidDate||Y;var m=a||"YYYY-MM-DDTHH:mm:ssZ",f=x.z(this),v=this.$H,b=this.$m,T=this.$M,M=c.weekdays,C=c.months,J=c.meridiem,W=function(A,z,ne,de){return A&&(A[z]||A(d,m))||ne[z].slice(0,de)},re=function(A){return x.s(v%12||12,A,"0")},P=J||function(A,z,ne){var de=A<12?"AM":"PM";return ne?de.toLowerCase():de};return m.replace(ee,(function(A,z){return z||(function(ne){switch(ne){case"YY":return String(d.$y).slice(-2);case"YYYY":return x.s(d.$y,4,"0");case"M":return T+1;case"MM":return x.s(T+1,2,"0");case"MMM":return W(c.monthsShort,T,C,3);case"MMMM":return W(C,T);case"D":return d.$D;case"DD":return x.s(d.$D,2,"0");case"d":return String(d.$W);case"dd":return W(c.weekdaysMin,d.$W,M,2);case"ddd":return W(c.weekdaysShort,d.$W,M,3);case"dddd":return M[d.$W];case"H":return String(v);case"HH":return x.s(v,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return P(v,b,!0);case"A":return P(v,b,!1);case"m":return String(b);case"mm":return x.s(b,2,"0");case"s":return String(d.$s);case"ss":return x.s(d.$s,2,"0");case"SSS":return x.s(d.$ms,3,"0");case"Z":return f}return null})(A)||f.replace(":","")}))},l.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},l.diff=function(a,d,c){var m,f=this,v=x.p(d),b=_(a),T=(b.utcOffset()-this.utcOffset())*r,M=this-b,C=function(){return x.m(f,b)};switch(v){case D:m=C()/12;break;case $:m=C();break;case j:m=C()/3;break;case y:m=(M-T)/6048e5;break;case p:m=(M-T)/864e5;break;case g:m=M/o;break;case u:m=M/r;break;case s:m=M/i;break;default:m=M}return c?m:x.a(m)},l.daysInMonth=function(){return this.endOf($).$D},l.$locale=function(){return O[this.$L]},l.locale=function(a,d){if(!a)return this.$L;var c=this.clone(),m=ce(a,d,!0);return m&&(c.$L=m),c},l.clone=function(){return x.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},h})(),_e=le.prototype;return _.prototype=_e,[["$ms",n],["$s",s],["$m",u],["$H",g],["$W",p],["$M",$],["$y",D],["$D",R]].forEach((function(h){_e[h[1]]=function(l){return this.$g(l,h[0],h[1])}})),_.extend=function(h,l){return h.$i||(h(l,le,_),h.$i=!0),_},_.locale=ce,_.isDayjs=B,_.unix=function(h){return _(1e3*h)},_.en=O[S],_.Ls=O,_.p={},_}))})(me)),me.exports}var Ee=Ue();const K=ye(Ee);var fe={exports:{}},Ye=fe.exports,Me;function qe(){return Me||(Me=1,(function(e,t){(function(i,r){e.exports=r()})(Ye,(function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var r=["th","st","nd","rd"],o=i%100;return"["+i+(r[(o-20)%10]||r[o]||r[0])+"]"}}}))})(fe)),fe.exports}var Be=qe();const We=ye(Be);var ge={exports:{}},Pe=ge.exports,Se;function He(){return Se||(Se=1,(function(e,t){(function(i,r){e.exports=r()})(Pe,(function(){return function(i,r,o){i=i||{};var n=r.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(p,y,$,j){return n.fromToBase(p,y,$,j)}o.en.relativeTime=s,n.fromToBase=function(p,y,$,j,D){for(var R,Y,X,ee=$.$locale().relativeTime||s,te=i.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ie=te.length,q=0;q<ie;q+=1){var S=te[q];S.d&&(R=j?o(p).diff($,S.d,!0):$.diff(p,S.d,!0));var O=(i.rounding||Math.round)(Math.abs(R));if(X=R>0,O<=S.r||!S.r){O<=1&&q>0&&(S=te[q-1]);var V=ee[S.l];D&&(O=D(""+O)),Y=typeof V=="string"?V.replace("%d",O):V(O,y,S.l,X);break}}if(y)return Y;var B=X?ee.future:ee.past;return typeof B=="function"?B(Y):B.replace("%s",Y)},n.to=function(p,y){return u(p,y,this,!0)},n.from=function(p,y){return u(p,y,this)};var g=function(p){return p.$u?o.utc():o()};n.toNow=function(p){return this.to(g(this),p)},n.fromNow=function(p){return this.from(g(this),p)}}}))})(ge)),ge.exports}var Ge=He();const Ve=ye(Ge);var we={exports:{}},Je=we.exports,Oe;function Ze(){return Oe||(Oe=1,(function(e,t){(function(i,r){e.exports=r()})(Je,(function(){return function(i,r,o){o.updateLocale=function(n,s){var u=o.Ls[n];if(u)return(s?Object.keys(s):[]).forEach((function(g){u[g]=s[g]})),u}}}))})(we)),we.exports}var Ke=Ze();const Qe=ye(Ke);K.extend(Ve);K.extend(Qe);const Xe={...We,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"}},et=["January","February","March","April","May","June","July","August","September","October","November","December"];K.locale("en-web3-modal",Xe);const $e={getMonthNameByIndex(e){return et[e]},getYear(e=new Date().toISOString()){return K(e).year()},getRelativeDateFromNow(e){return K(e).locale("en-web3-modal").fromNow(!0)},formatDate(e,t="DD MMM"){return K(e).format(t)}},tt=3,he=.1,it=["receive","deposit","borrow","claim"],rt=["withdraw","repay","burn"],Z={getTransactionGroupTitle(e,t){const i=$e.getYear(),r=$e.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:Z.getTransactionTransferTokenType(e),url:Z.getTransactionImageURL(e)}},getTransactionImageURL(e){var o,n,s,u,g;let t;const i=!!(e!=null&&e.nft_info),r=!!(e!=null&&e.fungible_info);return e&&i?t=(s=(n=(o=e==null?void 0:e.nft_info)==null?void 0:o.content)==null?void 0:n.preview)==null?void 0:s.url:e&&r&&(t=(g=(u=e==null?void 0:e.fungible_info)==null?void 0:u.icon)==null?void 0:g.url),t},getTransactionTransferTokenType(e){if(e!=null&&e.fungible_info)return"FUNGIBLE";if(e!=null&&e.nft_info)return"NFT"},getTransactionDescriptions(e,t){var j;const i=(j=e==null?void 0:e.metadata)==null?void 0:j.operationType,r=t||(e==null?void 0:e.transfers),o=r&&r.length>0,n=r&&r.length>1,s=o&&r.every(D=>!!(D!=null&&D.fungible_info)),[u,g]=r||[];let p=this.getTransferDescription(u),y=this.getTransferDescription(g);if(!o)return(i==="send"||i==="receive")&&s?(p=Te.getTruncateString({string:e==null?void 0:e.metadata.sentFrom,charsStart:4,charsEnd:6,truncate:"middle"}),y=Te.getTruncateString({string:e==null?void 0:e.metadata.sentTo,charsStart:4,charsEnd:6,truncate:"middle"}),[p,y]):[e.metadata.status];if(n)return r==null?void 0:r.map(D=>this.getTransferDescription(D));let $="";return it.includes(i)?$="+":rt.includes(i)&&($="-"),p=$.concat(p),[p]},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 g;const s=(g=n==null?void 0:n.fungible_info)==null?void 0:g.name,u=o.find(({fungible_info:p,direction:y})=>s&&s===(p==null?void 0:p.name)&&y===n.direction);if(u){const p=Number(u.quantity.numeric)+Number(n.quantity.numeric);u.quantity.numeric=p.toString(),u.value=(u.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 s;const n=(s=o==null?void 0:o.fungible_info)==null?void 0:s.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(s=>s.direction==="in"),n=r.filter(s=>s.direction==="out");if(o.length===1&&n.length===1){const s=o[0],u=n[0];let g=!1;if(s&&u){const p=Number(s.quantity.numeric),y=Number(u.quantity.numeric);y<p*he?(i.push(s),g=!0):p<y*he&&(i.push(u),g=!0)}g||i.push(...r)}else{const s=this.filterGasFeesFromTokenGroup(r);i.push(...s)}}}),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(u=>Number(u.quantity.numeric)),i=Math.max(...t),r=Math.min(...t),o=.01;if(r<i*o)return e==null?void 0:e.filter(g=>Number(g.quantity.numeric)>=i*o);const n=e==null?void 0:e.filter(u=>u.direction==="in"),s=e==null?void 0:e.filter(u=>u.direction==="out");if(n.length===1&&s.length===1){const u=n[0],g=s[0];if(u&&g){const p=Number(u.quantity.numeric),y=Number(g.quantity.numeric);if(y<p*he)return[u];if(p<y*he)return[g]}}return e},getQuantityFixedValue(e){return e?parseFloat(e).toFixed(tt):null}};var be;(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"})(be||(be={}));const nt=oe`
|
|
2
|
+
:host > wui-flex {
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
position: relative;
|
|
7
|
+
width: 40px;
|
|
8
|
+
height: 40px;
|
|
9
|
+
box-shadow: inset 0 0 0 1px ${({tokens:e})=>e.core.glass010};
|
|
10
|
+
background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host([data-no-images='true']) > wui-flex {
|
|
14
|
+
background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
|
|
15
|
+
border-radius: ${({borderRadius:e})=>e[3]} !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host > wui-flex wui-image {
|
|
19
|
+
display: block;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:host > wui-flex,
|
|
23
|
+
:host > wui-flex wui-image,
|
|
24
|
+
.swap-images-container,
|
|
25
|
+
.swap-images-container.nft,
|
|
26
|
+
wui-image.nft {
|
|
27
|
+
border-top-left-radius: var(--local-left-border-radius);
|
|
28
|
+
border-top-right-radius: var(--local-right-border-radius);
|
|
29
|
+
border-bottom-left-radius: var(--local-left-border-radius);
|
|
30
|
+
border-bottom-right-radius: var(--local-right-border-radius);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.swap-images-container {
|
|
34
|
+
position: relative;
|
|
35
|
+
width: 40px;
|
|
36
|
+
height: 40px;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.swap-images-container wui-image:first-child {
|
|
41
|
+
position: absolute;
|
|
42
|
+
width: 40px;
|
|
43
|
+
height: 40px;
|
|
44
|
+
top: 0;
|
|
45
|
+
left: 0%;
|
|
46
|
+
clip-path: inset(0px calc(50% + 2px) 0px 0%);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.swap-images-container wui-image:last-child {
|
|
50
|
+
clip-path: inset(0px 0px 0px calc(50% + 2px));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.swap-fallback-container {
|
|
54
|
+
position: absolute;
|
|
55
|
+
inset: 0;
|
|
56
|
+
width: 40px;
|
|
57
|
+
height: 40px;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.swap-fallback-container.first {
|
|
64
|
+
clip-path: inset(0px calc(50% + 2px) 0px 0%);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.swap-fallback-container.last {
|
|
68
|
+
clip-path: inset(0px 0px 0px calc(50% + 2px));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
wui-flex.status-box {
|
|
72
|
+
position: absolute;
|
|
73
|
+
right: 0;
|
|
74
|
+
bottom: 0;
|
|
75
|
+
transform: translate(20%, 20%);
|
|
76
|
+
border-radius: ${({borderRadius:e})=>e[4]};
|
|
77
|
+
background-color: ${({tokens:e})=>e.theme.backgroundPrimary};
|
|
78
|
+
box-shadow: 0 0 0 2px ${({tokens:e})=>e.theme.backgroundPrimary};
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
width: 16px;
|
|
81
|
+
height: 16px;
|
|
82
|
+
}
|
|
83
|
+
`;var U=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var u=e.length-1;u>=0;u--)(s=e[u])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};let N=class extends se{constructor(){super(...arguments),this.images=[],this.secondImage={type:void 0,url:""},this.failedImageUrls=new Set}handleImageError(t){return i=>{i.stopPropagation(),this.failedImageUrls.add(t),this.requestUpdate()}}render(){const[t,i]=this.images;this.images.length||(this.dataset.noImages="true");const r=(t==null?void 0:t.type)==="NFT",o=i!=null&&i.url?i.type==="NFT":r,n=r?"var(--apkt-borderRadius-3)":"var(--apkt-borderRadius-5)",s=o?"var(--apkt-borderRadius-3)":"var(--apkt-borderRadius-5)";return this.style.cssText=`
|
|
84
|
+
--local-left-border-radius: ${n};
|
|
85
|
+
--local-right-border-radius: ${s};
|
|
86
|
+
`,w`<wui-flex> ${this.templateVisual()} ${this.templateIcon()} </wui-flex>`}templateVisual(){const[t,i]=this.images;return this.images.length===2&&(t!=null&&t.url||i!=null&&i.url)?this.renderSwapImages(t,i):t!=null&&t.url&&!this.failedImageUrls.has(t.url)?this.renderSingleImage(t):(t==null?void 0:t.type)==="NFT"?this.renderPlaceholderIcon("nftPlaceholder"):this.renderPlaceholderIcon("coinPlaceholder")}renderSwapImages(t,i){return w`<div class="swap-images-container">
|
|
87
|
+
${t!=null&&t.url?this.renderImageOrFallback(t,"first",!0):null}
|
|
88
|
+
${i!=null&&i.url?this.renderImageOrFallback(i,"last",!0):null}
|
|
89
|
+
</div>`}renderSingleImage(t){return this.renderImageOrFallback(t,void 0,!1)}renderImageOrFallback(t,i,r=!1){return t.url?this.failedImageUrls.has(t.url)?r&&i?this.renderFallbackIconInContainer(i):this.renderFallbackIcon():w`<wui-image
|
|
90
|
+
src=${t.url}
|
|
91
|
+
alt="Transaction image"
|
|
92
|
+
@onLoadError=${this.handleImageError(t.url)}
|
|
93
|
+
></wui-image>`:null}renderFallbackIconInContainer(t){return w`<div class="swap-fallback-container ${t}">${this.renderFallbackIcon()}</div>`}renderFallbackIcon(){return w`<wui-icon
|
|
94
|
+
size="xl"
|
|
95
|
+
weight="regular"
|
|
96
|
+
color="default"
|
|
97
|
+
name="networkPlaceholder"
|
|
98
|
+
></wui-icon>`}renderPlaceholderIcon(t){return w`<wui-icon size="xl" weight="regular" color="default" name=${t}></wui-icon>`}templateIcon(){let t="accent-primary",i;return i=this.getIcon(),this.status&&(t=this.getStatusColor()),i?w`
|
|
99
|
+
<wui-flex alignItems="center" justifyContent="center" class="status-box">
|
|
100
|
+
<wui-icon-box size="sm" color=${t} icon=${i}></wui-icon-box>
|
|
101
|
+
</wui-flex>
|
|
102
|
+
`:null}getDirectionIcon(){switch(this.direction){case"in":return"arrowBottom";case"out":return"arrowTop";default:return}}getIcon(){return this.onlyDirectionIcon?this.getDirectionIcon():this.type==="trade"?"swapHorizontal":this.type==="approve"?"checkmark":this.type==="cancel"?"close":this.getDirectionIcon()}getStatusColor(){switch(this.status){case"confirmed":return"success";case"failed":return"error";case"pending":return"inverse";default:return"accent-primary"}}};N.styles=[nt];U([I()],N.prototype,"type",void 0);U([I()],N.prototype,"status",void 0);U([I()],N.prototype,"direction",void 0);U([I({type:Boolean})],N.prototype,"onlyDirectionIcon",void 0);U([I({type:Array})],N.prototype,"images",void 0);U([I({type:Object})],N.prototype,"secondImage",void 0);U([Q()],N.prototype,"failedImageUrls",void 0);N=U([ae("wui-transaction-visual")],N);const ot=oe`
|
|
103
|
+
:host {
|
|
104
|
+
width: 100%;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:host > wui-flex:first-child {
|
|
108
|
+
align-items: center;
|
|
109
|
+
column-gap: ${({spacing:e})=>e[2]};
|
|
110
|
+
padding: ${({spacing:e})=>e[1]} ${({spacing:e})=>e[2]};
|
|
111
|
+
width: 100%;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
:host > wui-flex:first-child wui-text:nth-child(1) {
|
|
115
|
+
text-transform: capitalize;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
wui-transaction-visual {
|
|
119
|
+
width: 40px;
|
|
120
|
+
height: 40px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
wui-flex {
|
|
124
|
+
flex: 1;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
:host wui-flex wui-flex {
|
|
128
|
+
overflow: hidden;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
:host .description-container wui-text span {
|
|
132
|
+
word-break: break-all;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
:host .description-container wui-text {
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:host .description-separator-icon {
|
|
140
|
+
margin: 0px 6px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
:host wui-text > span {
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
display: -webkit-box;
|
|
146
|
+
-webkit-box-orient: vertical;
|
|
147
|
+
-webkit-line-clamp: 1;
|
|
148
|
+
}
|
|
149
|
+
`;var E=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var u=e.length-1;u>=0;u--)(s=e[u])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};let L=class extends se{constructor(){super(...arguments),this.type="approve",this.onlyDirectionIcon=!1,this.images=[]}render(){return w`
|
|
150
|
+
<wui-flex>
|
|
151
|
+
<wui-transaction-visual
|
|
152
|
+
.status=${this.status}
|
|
153
|
+
direction=${ke(this.direction)}
|
|
154
|
+
type=${this.type}
|
|
155
|
+
.onlyDirectionIcon=${this.onlyDirectionIcon}
|
|
156
|
+
.images=${this.images}
|
|
157
|
+
></wui-transaction-visual>
|
|
158
|
+
<wui-flex flexDirection="column" gap="1">
|
|
159
|
+
<wui-text variant="lg-medium" color="primary">
|
|
160
|
+
${be[this.type]||this.type}
|
|
161
|
+
</wui-text>
|
|
162
|
+
<wui-flex class="description-container">
|
|
163
|
+
${this.templateDescription()} ${this.templateSecondDescription()}
|
|
164
|
+
</wui-flex>
|
|
165
|
+
</wui-flex>
|
|
166
|
+
<wui-text variant="sm-medium" color="secondary"><span>${this.date}</span></wui-text>
|
|
167
|
+
</wui-flex>
|
|
168
|
+
`}templateDescription(){var i;const t=(i=this.descriptions)==null?void 0:i[0];return t?w`
|
|
169
|
+
<wui-text variant="md-regular" color="secondary">
|
|
170
|
+
<span>${t}</span>
|
|
171
|
+
</wui-text>
|
|
172
|
+
`:null}templateSecondDescription(){var i;const t=(i=this.descriptions)==null?void 0:i[1];return t?w`
|
|
173
|
+
<wui-icon class="description-separator-icon" size="sm" name="arrowRight"></wui-icon>
|
|
174
|
+
<wui-text variant="md-regular" color="secondary">
|
|
175
|
+
<span>${t}</span>
|
|
176
|
+
</wui-text>
|
|
177
|
+
`:null}};L.styles=[Ce,ot];E([I()],L.prototype,"type",void 0);E([I({type:Array})],L.prototype,"descriptions",void 0);E([I()],L.prototype,"date",void 0);E([I({type:Boolean})],L.prototype,"onlyDirectionIcon",void 0);E([I()],L.prototype,"status",void 0);E([I()],L.prototype,"direction",void 0);E([I({type:Array})],L.prototype,"images",void 0);L=E([ae("wui-transaction-list-item")],L);const st=oe`
|
|
178
|
+
wui-flex {
|
|
179
|
+
position: relative;
|
|
180
|
+
display: inline-flex;
|
|
181
|
+
justify-content: center;
|
|
182
|
+
align-items: center;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
wui-image {
|
|
186
|
+
border-radius: ${({borderRadius:e})=>e[128]};
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.fallback-icon {
|
|
190
|
+
color: ${({tokens:e})=>e.theme.iconInverse};
|
|
191
|
+
border-radius: ${({borderRadius:e})=>e[3]};
|
|
192
|
+
background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.direction-icon,
|
|
196
|
+
.status-image {
|
|
197
|
+
position: absolute;
|
|
198
|
+
right: 0;
|
|
199
|
+
bottom: 0;
|
|
200
|
+
border-radius: ${({borderRadius:e})=>e[128]};
|
|
201
|
+
border: 2px solid ${({tokens:e})=>e.theme.backgroundPrimary};
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.direction-icon {
|
|
205
|
+
padding: ${({spacing:e})=>e["01"]};
|
|
206
|
+
color: ${({tokens:e})=>e.core.iconSuccess};
|
|
207
|
+
|
|
208
|
+
background-color: color-mix(
|
|
209
|
+
in srgb,
|
|
210
|
+
${({tokens:e})=>e.core.textSuccess} 30%,
|
|
211
|
+
${({tokens:e})=>e.theme.backgroundPrimary} 70%
|
|
212
|
+
);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/* -- Sizes --------------------------------------------------- */
|
|
216
|
+
:host([data-size='sm']) > wui-image:not(.status-image),
|
|
217
|
+
:host([data-size='sm']) > wui-flex {
|
|
218
|
+
width: 24px;
|
|
219
|
+
height: 24px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
:host([data-size='lg']) > wui-image:not(.status-image),
|
|
223
|
+
:host([data-size='lg']) > wui-flex {
|
|
224
|
+
width: 40px;
|
|
225
|
+
height: 40px;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
:host([data-size='sm']) .fallback-icon {
|
|
229
|
+
height: 16px;
|
|
230
|
+
width: 16px;
|
|
231
|
+
padding: ${({spacing:e})=>e[1]};
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
:host([data-size='lg']) .fallback-icon {
|
|
235
|
+
height: 32px;
|
|
236
|
+
width: 32px;
|
|
237
|
+
padding: ${({spacing:e})=>e[1]};
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
:host([data-size='sm']) .direction-icon,
|
|
241
|
+
:host([data-size='sm']) .status-image {
|
|
242
|
+
transform: translate(40%, 30%);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
:host([data-size='lg']) .direction-icon,
|
|
246
|
+
:host([data-size='lg']) .status-image {
|
|
247
|
+
transform: translate(40%, 10%);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
:host([data-size='sm']) .status-image {
|
|
251
|
+
height: 14px;
|
|
252
|
+
width: 14px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
:host([data-size='lg']) .status-image {
|
|
256
|
+
height: 20px;
|
|
257
|
+
width: 20px;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/* -- Crop effects --------------------------------------------------- */
|
|
261
|
+
.swap-crop-left-image,
|
|
262
|
+
.swap-crop-right-image {
|
|
263
|
+
position: absolute;
|
|
264
|
+
top: 0;
|
|
265
|
+
bottom: 0;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.swap-crop-left-image {
|
|
269
|
+
left: 0;
|
|
270
|
+
clip-path: inset(0px calc(50% + 1.5px) 0px 0%);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.swap-crop-right-image {
|
|
274
|
+
right: 0;
|
|
275
|
+
clip-path: inset(0px 0px 0px calc(50% + 1.5px));
|
|
276
|
+
}
|
|
277
|
+
`;var ue=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var u=e.length-1;u>=0;u--)(s=e[u])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};const ve={sm:"xxs",lg:"md"};let H=class extends se{constructor(){super(...arguments),this.type="approve",this.size="lg",this.statusImageUrl="",this.images=[]}render(){return w`<wui-flex>${this.templateVisual()} ${this.templateIcon()}</wui-flex>`}templateVisual(){switch(this.dataset.size=this.size,this.type){case"trade":return this.swapTemplate();case"fiat":return this.fiatTemplate();case"unknown":return this.unknownTemplate();default:return this.tokenTemplate()}}swapTemplate(){const[t,i]=this.images;return this.images.length===2&&(t||i)?w`
|
|
278
|
+
<wui-image class="swap-crop-left-image" src=${t} alt="Swap image"></wui-image>
|
|
279
|
+
<wui-image class="swap-crop-right-image" src=${i} alt="Swap image"></wui-image>
|
|
280
|
+
`:t?w`<wui-image src=${t} alt="Swap image"></wui-image>`:null}fiatTemplate(){return w`<wui-icon
|
|
281
|
+
class="fallback-icon"
|
|
282
|
+
size=${ve[this.size]}
|
|
283
|
+
name="dollar"
|
|
284
|
+
></wui-icon>`}unknownTemplate(){return w`<wui-icon
|
|
285
|
+
class="fallback-icon"
|
|
286
|
+
size=${ve[this.size]}
|
|
287
|
+
name="questionMark"
|
|
288
|
+
></wui-icon>`}tokenTemplate(){const[t]=this.images;return t?w`<wui-image src=${t} alt="Token image"></wui-image> `:w`<wui-icon
|
|
289
|
+
class="fallback-icon"
|
|
290
|
+
name=${this.type==="nft"?"image":"coinPlaceholder"}
|
|
291
|
+
></wui-icon>`}templateIcon(){return this.statusImageUrl?w`<wui-image
|
|
292
|
+
class="status-image"
|
|
293
|
+
src=${this.statusImageUrl}
|
|
294
|
+
alt="Status image"
|
|
295
|
+
></wui-image>`:w`<wui-icon
|
|
296
|
+
class="direction-icon"
|
|
297
|
+
size=${ve[this.size]}
|
|
298
|
+
name=${this.getTemplateIcon()}
|
|
299
|
+
></wui-icon>`}getTemplateIcon(){return this.type==="trade"?"arrowClockWise":"arrowBottom"}};H.styles=[st];ue([I()],H.prototype,"type",void 0);ue([I()],H.prototype,"size",void 0);ue([I()],H.prototype,"statusImageUrl",void 0);ue([I({type:Array})],H.prototype,"images",void 0);H=ue([ae("wui-transaction-thumbnail")],H);const at=oe`
|
|
300
|
+
:host > wui-flex:first-child {
|
|
301
|
+
gap: ${({spacing:e})=>e[2]};
|
|
302
|
+
padding: ${({spacing:e})=>e[3]};
|
|
303
|
+
width: 100%;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
wui-flex {
|
|
307
|
+
display: flex;
|
|
308
|
+
flex: 1;
|
|
309
|
+
}
|
|
310
|
+
`;var ut=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var u=e.length-1;u>=0;u--)(s=e[u])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};let De=class extends se{render(){return w`
|
|
311
|
+
<wui-flex alignItems="center" .padding=${["1","2","1","2"]}>
|
|
312
|
+
<wui-shimmer width="40px" height="40px" rounded></wui-shimmer>
|
|
313
|
+
<wui-flex flexDirection="column" gap="1">
|
|
314
|
+
<wui-shimmer width="124px" height="16px" rounded></wui-shimmer>
|
|
315
|
+
<wui-shimmer width="60px" height="14px" rounded></wui-shimmer>
|
|
316
|
+
</wui-flex>
|
|
317
|
+
<wui-shimmer width="24px" height="12px" rounded></wui-shimmer>
|
|
318
|
+
</wui-flex>
|
|
319
|
+
`}};De.styles=[Ce,at];De=ut([ae("wui-transaction-list-item-loader")],De);const ct=oe`
|
|
320
|
+
:host {
|
|
321
|
+
min-height: 100%;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.group-container[last-group='true'] {
|
|
325
|
+
padding-bottom: ${({spacing:e})=>e[3]};
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.contentContainer {
|
|
329
|
+
height: 280px;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.contentContainer > wui-icon-box {
|
|
333
|
+
width: 40px;
|
|
334
|
+
height: 40px;
|
|
335
|
+
border-radius: ${({borderRadius:e})=>e[3]};
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.contentContainer > .textContent {
|
|
339
|
+
width: 65%;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.emptyContainer {
|
|
343
|
+
height: 100%;
|
|
344
|
+
}
|
|
345
|
+
`;var G=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var u=e.length-1;u>=0;u--)(s=e[u])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};const Ae="last-transaction",lt=7;let k=class extends se{constructor(){super(),this.unsubscribe=[],this.paginationObserver=void 0,this.page="activity",this.caipAddress=pe.state.activeCaipAddress,this.transactionsByYear=F.state.transactionsByYear,this.loading=F.state.loading,this.empty=F.state.empty,this.next=F.state.next,F.clearCursor(),this.unsubscribe.push(pe.subscribeKey("activeCaipAddress",t=>{t&&this.caipAddress!==t&&(F.resetTransactions(),F.fetchTransactions(t)),this.caipAddress=t}),pe.subscribeKey("activeCaipNetwork",()=>{this.updateTransactionView()}),F.subscribe(t=>{this.transactionsByYear=t.transactionsByYear,this.loading=t.loading,this.empty=t.empty,this.next=t.next}))}firstUpdated(){this.updateTransactionView(),this.createPaginationObserver()}updated(){this.setPaginationObserver()}disconnectedCallback(){this.unsubscribe.forEach(t=>t())}render(){return w` ${this.empty?null:this.templateTransactionsByYear()}
|
|
346
|
+
${this.loading?this.templateLoading():null}
|
|
347
|
+
${!this.loading&&this.empty?this.templateEmpty():null}`}updateTransactionView(){F.resetTransactions(),this.caipAddress&&F.fetchTransactions(xe.getPlainAddress(this.caipAddress))}templateTransactionsByYear(){return Object.keys(this.transactionsByYear).sort().reverse().map(i=>{const r=parseInt(i,10),o=new Array(12).fill(null).map((n,s)=>{var p;const u=Z.getTransactionGroupTitle(r,s),g=(p=this.transactionsByYear[r])==null?void 0:p[s];return{groupTitle:u,transactions:g}}).filter(({transactions:n})=>n).reverse();return o.map(({groupTitle:n,transactions:s},u)=>{const g=u===o.length-1;return s?w`
|
|
348
|
+
<wui-flex
|
|
349
|
+
flexDirection="column"
|
|
350
|
+
class="group-container"
|
|
351
|
+
last-group="${g?"true":"false"}"
|
|
352
|
+
data-testid="month-indexes"
|
|
353
|
+
>
|
|
354
|
+
<wui-flex
|
|
355
|
+
alignItems="center"
|
|
356
|
+
flexDirection="row"
|
|
357
|
+
.padding=${["2","3","3","3"]}
|
|
358
|
+
>
|
|
359
|
+
<wui-text variant="md-medium" color="secondary" data-testid="group-title">
|
|
360
|
+
${n}
|
|
361
|
+
</wui-text>
|
|
362
|
+
</wui-flex>
|
|
363
|
+
<wui-flex flexDirection="column" gap="2">
|
|
364
|
+
${this.templateTransactions(s,g)}
|
|
365
|
+
</wui-flex>
|
|
366
|
+
</wui-flex>
|
|
367
|
+
`:null})})}templateRenderTransaction(t,i){const{date:r,descriptions:o,direction:n,images:s,status:u,type:g,transfers:p,isAllNFT:y}=this.getTransactionListItemProps(t);return w`
|
|
368
|
+
<wui-transaction-list-item
|
|
369
|
+
date=${r}
|
|
370
|
+
.direction=${n}
|
|
371
|
+
id=${i&&this.next?Ae:""}
|
|
372
|
+
status=${u}
|
|
373
|
+
type=${g}
|
|
374
|
+
.images=${s}
|
|
375
|
+
.onlyDirectionIcon=${y||p.length===1}
|
|
376
|
+
.descriptions=${o}
|
|
377
|
+
></wui-transaction-list-item>
|
|
378
|
+
`}templateTransactions(t,i){return t.map((r,o)=>{const n=i&&o===t.length-1;return w`${this.templateRenderTransaction(r,n)}`})}emptyStateActivity(){return w`<wui-flex
|
|
379
|
+
class="emptyContainer"
|
|
380
|
+
flexGrow="1"
|
|
381
|
+
flexDirection="column"
|
|
382
|
+
justifyContent="center"
|
|
383
|
+
alignItems="center"
|
|
384
|
+
.padding=${["10","5","10","5"]}
|
|
385
|
+
gap="5"
|
|
386
|
+
data-testid="empty-activity-state"
|
|
387
|
+
>
|
|
388
|
+
<wui-icon-box color="default" icon="wallet" size="xl"></wui-icon-box>
|
|
389
|
+
<wui-flex flexDirection="column" alignItems="center" gap="2">
|
|
390
|
+
<wui-text align="center" variant="lg-medium" color="primary">No Transactions yet</wui-text>
|
|
391
|
+
<wui-text align="center" variant="lg-regular" color="secondary"
|
|
392
|
+
>Start trading on dApps <br />
|
|
393
|
+
to grow your wallet!</wui-text
|
|
394
|
+
>
|
|
395
|
+
</wui-flex>
|
|
396
|
+
</wui-flex>`}emptyStateAccount(){return w`<wui-flex
|
|
397
|
+
class="contentContainer"
|
|
398
|
+
alignItems="center"
|
|
399
|
+
justifyContent="center"
|
|
400
|
+
flexDirection="column"
|
|
401
|
+
gap="4"
|
|
402
|
+
data-testid="empty-account-state"
|
|
403
|
+
>
|
|
404
|
+
<wui-icon-box icon="swapHorizontal" size="lg" color="default"></wui-icon-box>
|
|
405
|
+
<wui-flex
|
|
406
|
+
class="textContent"
|
|
407
|
+
gap="2"
|
|
408
|
+
flexDirection="column"
|
|
409
|
+
justifyContent="center"
|
|
410
|
+
flexDirection="column"
|
|
411
|
+
>
|
|
412
|
+
<wui-text variant="md-regular" align="center" color="primary">No activity yet</wui-text>
|
|
413
|
+
<wui-text variant="sm-regular" align="center" color="secondary"
|
|
414
|
+
>Your next transactions will appear here</wui-text
|
|
415
|
+
>
|
|
416
|
+
</wui-flex>
|
|
417
|
+
<wui-link @click=${this.onReceiveClick.bind(this)}>Trade</wui-link>
|
|
418
|
+
</wui-flex>`}templateEmpty(){return this.page==="account"?w`${this.emptyStateAccount()}`:w`${this.emptyStateActivity()}`}templateLoading(){return this.page==="activity"?w` <wui-flex flexDirection="column" width="100%">
|
|
419
|
+
<wui-flex .padding=${["2","3","3","3"]}>
|
|
420
|
+
<wui-shimmer width="70px" height="16px" rounded></wui-shimmer>
|
|
421
|
+
</wui-flex>
|
|
422
|
+
<wui-flex flexDirection="column" gap="2" width="100%">
|
|
423
|
+
${Array(lt).fill(w` <wui-transaction-list-item-loader></wui-transaction-list-item-loader> `).map(t=>t)}
|
|
424
|
+
</wui-flex>
|
|
425
|
+
</wui-flex>`:null}onReceiveClick(){Fe.push("WalletReceive")}createPaginationObserver(){const{projectId:t}=Re.state;this.paginationObserver=new IntersectionObserver(([i])=>{i!=null&&i.isIntersecting&&!this.loading&&(F.fetchTransactions(xe.getPlainAddress(this.caipAddress)),Ne.sendEvent({type:"track",event:"LOAD_MORE_TRANSACTIONS",properties:{address:xe.getPlainAddress(this.caipAddress),projectId:t,cursor:this.next,isSmartAccount:Le(pe.state.activeChain)===je.ACCOUNT_TYPES.SMART_ACCOUNT}}))},{}),this.setPaginationObserver()}setPaginationObserver(){var i,r,o;(i=this.paginationObserver)==null||i.disconnect();const t=(r=this.shadowRoot)==null?void 0:r.querySelector(`#${Ae}`);t&&((o=this.paginationObserver)==null||o.observe(t))}getTransactionListItemProps(t){var g,p,y;const i=$e.formatDate((g=t==null?void 0:t.metadata)==null?void 0:g.minedAt),r=Z.mergeTransfers((t==null?void 0:t.transfers)||[]),o=Z.getTransactionDescriptions(t,r),n=r==null?void 0:r[0],s=!!n&&(r==null?void 0:r.every($=>!!$.nft_info)),u=Z.getTransactionImages(r);return{date:i,direction:n==null?void 0:n.direction,descriptions:o,isAllNFT:s,images:u,status:(p=t.metadata)==null?void 0:p.status,transfers:r,type:(y=t.metadata)==null?void 0:y.operationType}}};k.styles=ct;G([I()],k.prototype,"page",void 0);G([Q()],k.prototype,"caipAddress",void 0);G([Q()],k.prototype,"transactionsByYear",void 0);G([Q()],k.prototype,"loading",void 0);G([Q()],k.prototype,"empty",void 0);G([Q()],k.prototype,"next",void 0);k=G([ae("w3m-activity-list")],k);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as d,r as m,k as c,l as f,v,m as h}from"./index-
|
|
1
|
+
import{j as d,r as m,k as c,l as f,v,m as h}from"./index-DNW0vAkD.js";import{n as r,c as y,U as b}from"./index-WBe7DNra.js";import{e as g,n as w}from"./ref-BBZ9Z2ko.js";const x=d`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._button_149jw_1{min-height:46px}._icon_149jw_5{min-width:32px;min-height:32px;background-size:contain;background-repeat:no-repeat;background-position:center}._icon-metamask-mobile_149jw_13,._icon-metamask_149jw_13{background-image:url("data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%201025%201025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_542_3186)'%3e%3cpath%20d='M862.005%20871.546L689.114%20820.065L558.73%20898.006L467.763%20897.968L337.303%20820.065L164.488%20871.546L111.92%20694.087L164.488%20497.133L111.92%20330.613L164.488%20124.233L434.526%20285.567H591.967L862.005%20124.233L914.573%20330.613L862.005%20497.133L914.573%20694.087L862.005%20871.546Z'%20fill='%23FF5C16'/%3e%3cpath%20d='M164.527%20124.233L434.566%20285.68L423.826%20396.479L164.527%20124.233Z'%20fill='%23FF5C16'/%3e%3cpath%20d='M337.34%20694.163L456.155%20784.672L337.34%20820.065V694.163Z'%20fill='%23FF5C16'/%3e%3cpath%20d='M446.659%20544.525L423.823%20396.554L277.65%20497.169L277.574%20497.132V497.207L278.026%20600.776L337.302%20544.525H337.34H446.659Z'%20fill='%23FF5C16'/%3e%3cpath%20d='M862.005%20124.233L591.967%20285.68L602.669%20396.479L862.005%20124.233Z'%20fill='%23FF5C16'/%3e%3cpath%20d='M689.19%20694.163L570.375%20784.672L689.19%20820.065V694.163Z'%20fill='%23FF5C16'/%3e%3cpath%20d='M748.922%20497.207H748.96H748.922V497.132L748.884%20497.169L602.711%20396.554L579.875%20544.525H689.194L748.508%20600.776L748.922%20497.207Z'%20fill='%23FF5C16'/%3e%3cpath%20d='M337.303%20820.062L164.488%20871.544L111.92%20694.16H337.303V820.062Z'%20fill='%23E34807'/%3e%3cpath%20d='M446.623%20544.487L479.634%20758.4L433.886%20639.463L277.953%20600.776L337.267%20544.487H446.586H446.623Z'%20fill='%23E34807'/%3e%3cpath%20d='M689.188%20820.062L862.003%20871.544L914.571%20694.16H689.188V820.062Z'%20fill='%23E34807'/%3e%3cpath%20d='M579.87%20544.487L546.859%20758.4L592.607%20639.463L748.54%20600.776L689.189%20544.487H579.87Z'%20fill='%23E34807'/%3e%3cpath%20d='M111.92%20694.085L164.488%20497.131H277.538L277.952%20600.737L433.886%20639.424L479.633%20758.361L456.119%20784.556L337.304%20694.047H111.92V694.085Z'%20fill='%23FF8D5D'/%3e%3cpath%20d='M914.573%20694.085L862.004%20497.131H748.955L748.54%20600.737L592.607%20639.424L546.859%20758.361L570.374%20784.556L689.189%20694.047H914.573V694.085Z'%20fill='%23FF8D5D'/%3e%3cpath%20d='M591.969%20285.567H513.249H434.528L423.826%20396.366L479.635%20758.25H546.862L602.709%20396.366L591.969%20285.567Z'%20fill='%23FF8D5D'/%3e%3cpath%20d='M164.488%20124.233L111.92%20330.613L164.488%20497.133H277.538L423.787%20396.479L164.488%20124.233Z'%20fill='%23661800'/%3e%3cpath%20d='M413.951%20587.451H362.739L334.854%20614.781L433.923%20639.349L413.951%20587.413V587.451Z'%20fill='%23661800'/%3e%3cpath%20d='M862.006%20124.233L914.574%20330.613L862.006%20497.133H748.956L602.707%20396.479L862.006%20124.233Z'%20fill='%23661800'/%3e%3cpath%20d='M612.617%20587.451H663.904L691.79%20614.819L592.607%20639.424L612.617%20587.413V587.451Z'%20fill='%23661800'/%3e%3cpath%20d='M558.692%20827.41L570.373%20784.635L546.859%20758.44H479.594L456.08%20784.635L467.762%20827.41'%20fill='%23661800'/%3e%3cpath%20d='M558.689%20827.407V898.043H467.76V827.407H558.689Z'%20fill='%23C0C4CD'/%3e%3cpath%20d='M337.34%20819.99L467.837%20898.007V827.372L456.155%20784.597L337.34%20819.99Z'%20fill='%23E7EBF6'/%3e%3cpath%20d='M689.19%20819.99L558.693%20898.007V827.372L570.375%20784.597L689.19%20819.99Z'%20fill='%23E7EBF6'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_542_3186'%3e%3crect%20width='1024'%20height='1024'%20fill='white'%20transform='translate(0.986328%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e")}._icon-dapper_149jw_18{background-image:url(https://cdn.decentraland.org/@dcl/auth-site/4.11.8-22499581509.commit-6c3d4c4/assets/dapper-BT_mEW8_.png)}._icon-fortmatic_149jw_22{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAABYlAAAWJQFJUiTwAAAJ1klEQVR42u3dy4slZxnH8e7THcm48YYgiJCF/0AEE3VnJMbxlupLelR0I2TqdPfcIhJBXATEhZcQBC94IaA7VyIGFAfdBAXRhUQk6MIYHEFDVi6i05cqn7fqrdN1wiw6cWa6TvXnCz/e080kXbz1vt/3eevUqbO0BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAToDpWpXbOmVV5ISyksZhGeMxjUXcVgnocAxgHBb1sl64/Z3eSWC1LOrHon2iLKqvRStyyxNj7qsxBr8Rr8s8DpctSCew+kd7JrL3mY/X9eWtyDmRW59LMdYe/WRdx1b0t+0WoF4hgJMRwJ2Ra5E4GfX1JAOR25D/7G7GmCvqn+VxOCGAk6sA/rmz3gjgMItA5JYmtgD7Fx9qXl/N41AFQABCACAAIQAQgBAACEAIAAQgBAACEAIAAQgBgACEAEAAQgAgACEAEIAQAAhACAAEIAQAAhACAAEIAYAAhAAIgACEAAiAAIQACIAAhAAIwOAUAiAAEQIgABECIAARAiAAEQIgABECIAARAiAAEQIgABECIAARAiAAEQIgABECIAARAiAAEQIggOOmmrVFTryOgSMjyDQLoCyqmQDi9yYmAeQUWQDtYDmI1/syqvz3wmZzrn+ex+FEBUAAN5RAWilkXEmT/7OfaM7xr9M4jNVfBUAAc3vEw+31ZoC8GNmKnI18OErGD8kYUn9wWlRFnNN7swAilYlJALPV/3Bno2n/Pr2vWnbGRjwWrfwEcKMKYKetAK5F3pgHympkRRY/5dHrSVcBEAEBzFcA640Irk0frF/XCkAlABAAAAIAQAAACAAAAQAgAAAEAIAAABAAAAIACIAAAAIgAIAACAAgAAIACIAAAAIgAIAACAAgAAIACIAAAAIgAIAACAAgAAIACIAAAAIgAIAACAAgAAIACIAAAAIgAIAACAAgAAIACIAAAAIgAIAACAAggGELII6vacuPVs3r6VrXynFT5v5q+rGoZq9BAAtTAUzvMmj/X8pCHxLAAgpgereBezPYXtePBLBgAuhWrekHmlL2qXKt/ku0z8Sx/1GOlT9Efz0XW6dv5f6c2AIQwMJdA5jeX6fXz1/equudjbrelWMlndtHPtac36t5HK7YChDA4l0EbAXwbJr80e7HsR/IsXL94mZzrn+aK4CVdCEVBLCIFcCfd1sBDKf/hp/9iw817VNdBWALQAAEQAAgAAIgABAAARAACIAACAAEQAAEAAIgAAIAARAAAYAACIAAQAAEQAAgAAIgABAAARAACIAACAAEQAAEAAIgAAIAARAAAYAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAACIAATG4CIAACEAIgAAIQAiAAAhACIAACEAIggPEJoHq26b+i3oscDC5tn1bxuiIAEMBNFkBZVNeunKvrC5vDSppgu5t58qsAQAA3XwDl+5stwA8iT4cIrsYx/nIYqVN+Ecf0u9Sf5dAqgCILoOgEUK10fQoCGLwAmuM5O/wBG/149/YibAEKFQABLGAFkFev1I/L0S637QASEyof5z2DFECuAMriaAtQqgAIYFEEEKV1255tLgI2QhhYJn0BDHELcKnZAlQ/bvoxXQMgAAJYpC3AwEv/QQugzAIIkf5QBUAABHCKBFAWzbF0AnjiSACVE0cABHBqKoCtpn1UBUAABHDaKoC1mQDOtddU6pXzBEAABHBqBFDl1/dmAUycNQIggJELIB1HnNPD7fbcvhh5UxbA8sMqAAIggFNRARykW5Wj/U06xji+JIClKwRAAAQw/gog2r3Laf+/Vj3e7f9LdwESAAGcggqgPYauAvhIK4BqxRkjAAIYuwDi78dxtPv/tfqF/v5fBUAABHAatgDdDUBr9Y+640yT323ABEAAYxZAe/dfqgAOLm42P2/k41P+EwABjF0A+e8f7mw05/Rvkdfm8n9J+U8ABDBmAeS/W+ar//HzF/urPwEQAAGMuwJoVv/t9rz+O/K2fGzLUx8AIgACGLUAqnw+9y61q//X87hb6bYAIAACGKMAiua233b1X5+t/m/tzuWVCyY/ARDAaAVQFker/+X2k39fyKv+aj42J4oACGCMAugmf3fff/ztP0Xu6Ca+C38EQAAjFUC+37/KEjjcbd/6e29e/fPDSl38IwACGKMAqt4XkXSl/5f7F/48/psACGCcApj9jThve/mLP57ujqm74m/vTwAEMEYBHF30289flvpC5C158k/6EgABEMB4BFD13u8/yE/72Y/ckyf9ajf5rf4EQADjEkDVW/mbyZ/v+Hsgj6928tv3EwABjEwAxdzKv7+9Pvv9ejvpq/b9/nUrPwEQwKgEUPa+cjxd8Mtv9V2P3N8v++37CYAAxiSAYu5Kf9Xc499e7f9H5B39sj+xbfITAAGMQgBVWcyt+vvpd/l9/l9F3pz3+qu9Y/CkXwIggBEIoL/qpzGyl27vzVf7H5uV+t0n/NZrZT8BEMCCC6B62Tf4HKa9fjon+Su9fh//v3f19vmTLAEX/AiAABZWAO1z+6rex3kP0vf4pdU+l/v/it9f6q/63WrvrT4CIIDFE8DRKp//TV7t99MjvHc3Zyt+uqvvS5E39P5GU/J/erNd9a38BEAAAxdAr22u4pf5Wf3NRb32wl7z4M406fNbe8+URfVI9wz/XO6v9u/rt99fzAHStXc2b+HkBzdMu4Fwwkn7ze12kD5fZgGkL5Bw5o5HTNru3vt35kne79vZZE99nCZ8+uBOmvStdKu/xr/5dgj3vvKBo8mdyv1pPgf2+gtfAVT9CuClK+fyIBhI0rGkY2oeI/Vg/fosKwJ45RXAu9Pefa5/t+ZW+JdiMj8X7U+i/Xy07wkBnJmXSbPPbyf+hok/tgrgjji5j0f7ZOQ7ke8OIWV7LE/GYPxKVABn8kB04o5dAeQJW9R3Rb4f+V705zfTZ/Mjn4t8Kvr2fdG+/XxRv+YGC0Ss9tWkzA/u8EGeMQ6StcV5KktUAU7Yq5T8Ma8Jpe/nS3v7SZrsW2frpd38fn7p6T2jvgiYMklPaxla8p5z0k1+K9CrqvCW5vqz9zp9K2/zxZwxwdNEfzj/N+f182kYINXRAMlJA6H/80mm7LVlFoAtwCvaAsza8uX9GTk/m+wVsQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABo+R+M9RwtBsH6aAAAAABJRU5ErkJggg==)}._icon-wallet-connect_149jw_26{background-image:url(https://cdn.decentraland.org/@dcl/auth-site/4.11.8-22499581509.commit-6c3d4c4/assets/wallet-connect-CniBuHFv.png)}._icon-samsung-blockchain-wallet_149jw_30{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='100%25'%20height='100%25'%20viewBox='0%200%20300%20300'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xml:space='preserve'%20xmlns:serif='http://www.serif.com/'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3e%3cg%20transform='matrix(0.766553,0,0,0.766553,35.0615,35.0613)'%3e%3cpath%20d='M297.462,105.461C293.768,77.602%20283.912,52.349%20266.521,33.86L266.515,33.86C248.024,16.47%20222.778,6.61%20194.918,2.919C168.309,-0.604%20150.189,0.26%20150.189,0.26C150.189,0.26%20132.07,-0.604%20105.46,2.919C77.595,6.611%2052.351,16.471%2033.86,33.86L33.857,33.86C16.469,52.35%206.61,77.603%202.914,105.461C-0.612,132.068%200.265,150.191%200.265,150.191C0.265,150.191%20-0.612,168.307%202.914,194.92C6.61,222.779%2016.469,248.025%2033.858,266.519L33.861,266.523C52.352,283.909%2077.596,293.77%20105.461,297.461C132.071,300.987%20150.19,300.119%20150.19,300.119C150.19,300.119%20168.309,300.987%20194.919,297.461C222.778,293.77%20248.024,283.908%20266.516,266.523L266.522,266.519C283.914,248.026%20293.769,222.78%20297.463,194.92C300.986,168.308%20300.118,150.191%20300.118,150.191C300.118,150.191%20300.985,132.069%20297.462,105.461'%20style='fill:rgb(30,75,198);fill-rule:nonzero;'/%3e%3cpath%20d='M233.959,176.377L233.959,124.004C240.433,121.056%20244.939,114.546%20244.939,106.97C244.939,96.631%20236.557,88.247%20226.217,88.247C222.378,88.247%20218.813,89.407%20215.842,91.387L169.111,64.408C169.126,64.09%20169.158,63.776%20169.158,63.452C169.158,53.112%20160.776,44.729%20150.434,44.729C140.094,44.729%20131.711,53.112%20131.711,63.452C131.711,63.694%20131.738,63.929%20131.748,64.17L84.984,91.17C82.086,89.328%2078.658,88.247%2074.969,88.247C64.629,88.247%2056.246,96.63%2056.246,106.97C56.246,114.257%2060.418,120.554%2066.493,123.649L66.493,176.73C60.418,179.826%2056.246,186.123%2056.246,193.411C56.246,203.75%2064.629,212.129%2074.969,212.129C78.657,212.129%2082.083,211.05%2084.981,209.209L131.748,236.211C131.737,236.451%20131.711,236.688%20131.711,236.929C131.711,247.269%20140.094,255.651%20150.434,255.651C160.776,255.651%20169.158,247.269%20169.158,236.929C169.158,236.608%20169.126,236.291%20169.111,235.972L215.845,208.993C218.813,210.972%20222.381,212.13%20226.217,212.13C236.557,212.13%20244.939,203.751%20244.939,193.412C244.939,185.832%20240.433,179.323%20233.959,176.377ZM207.49,193.411C207.49,194.234%20207.561,195.042%20207.664,195.836L161.984,222.209C158.801,219.708%20154.796,218.205%20150.434,218.205C145.989,218.205%20141.91,219.761%20138.7,222.351L93.454,196.227C93.595,195.305%2093.689,194.372%2093.689,193.412C93.689,185.548%2088.838,178.829%2081.97,176.055L81.97,124.327C88.838,121.555%2093.689,114.834%2093.689,106.972C93.689,106.013%2093.594,105.078%2093.454,104.158L138.701,78.034C141.911,80.621%20145.989,82.178%20150.433,82.178C154.795,82.178%20158.8,80.675%20161.98,78.173L207.663,104.548C207.56,105.344%20207.489,106.149%20207.489,106.972C207.489,114.548%20211.999,121.057%20218.473,124.005L218.473,176.379C212,179.323%20207.49,185.832%20207.49,193.411Z'%20style='fill:white;fill-rule:nonzero;'/%3e%3cpath%20d='M169.342,139.168C169.342,128.816%20160.948,120.418%20150.594,120.418C140.236,120.418%20131.84,128.816%20131.84,139.168C131.84,146.598%20136.171,152.994%20142.434,156.03L142.434,179.959L158.752,179.959L158.752,156.03C165.013,152.994%20169.342,146.599%20169.342,139.168'%20style='fill:rgb(69,210,249);'/%3e%3c/g%3e%3c/svg%3e")}._icon-coinbase_149jw_34,._icon-wallet-link_149jw_35{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='100%25'%20height='100%25'%20viewBox='0%200%201250%201250'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xml:space='preserve'%20xmlns:serif='http://www.serif.com/'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3e%3cpath%20d='M145.833,625.001c0,-264.46%20214.708,-479.168%20479.168,-479.168c264.458,0%20479.166,214.708%20479.166,479.168c-0,264.458%20-214.708,479.166%20-479.166,479.166c-264.46,-0%20-479.168,-214.708%20-479.168,-479.166Z'%20style='fill:url(%23_Linear1);'/%3e%3cpath%20d='M624.617,346.7c153.386,-0%20277.916,124.53%20277.916,277.917c0,153.386%20-124.53,277.916%20-277.916,277.916c-153.387,0%20-277.917,-124.53%20-277.917,-277.916c-0,-153.387%20124.53,-277.917%20277.917,-277.917Zm91.318,208.515c0,-12.096%20-9.821,-21.916%20-21.917,-21.916l-138.803,-0c-12.096,-0%20-21.916,9.82%20-21.916,21.916l-0,138.803c-0,12.096%209.82,21.917%2021.916,21.917l138.803,0c12.096,0%2021.917,-9.821%2021.917,-21.917l0,-138.803Z'%20style='fill:%23fff;'/%3e%3cdefs%3e%3clinearGradient%20id='_Linear1'%20x1='0'%20y1='0'%20x2='1'%20y2='0'%20gradientUnits='userSpaceOnUse'%20gradientTransform='matrix(5.8681e-14,-958.333,958.333,5.8681e-14,625.001,1104.17)'%3e%3cstop%20offset='0'%20style='stop-color:%23124bdc;stop-opacity:1'/%3e%3cstop%20offset='1'%20style='stop-color:%232d65f8;stop-opacity:1'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e")}._icon-google_149jw_39{background-image:url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1013_5889)'%3e%3cpath%20d='M12%2010.2725V13.9516H17.1127C16.8882%2015.1347%2016.2145%2016.1366%2015.2041%2016.8102L18.2872%2019.2025C20.0836%2017.5444%2021.1199%2015.1089%2021.1199%2012.2157C21.1199%2011.5421%2021.0595%2010.8943%2020.9472%2010.2726L12%2010.2725Z'%20fill='%234285F4'/%3e%3cpath%20d='M6.67582%2013.8081L5.98045%2014.3404L3.51904%2016.2576C5.08222%2019.3581%208.28607%2021.4999%2011.9997%2021.4999C14.5646%2021.4999%2016.715%2020.6536%2018.2869%2019.2027L15.2037%2016.8104C14.3574%2017.3804%2013.2778%2017.7259%2011.9997%2017.7259C9.5297%2017.7259%207.43112%2016.0591%206.6797%2013.8136L6.67582%2013.8081Z'%20fill='%2334A853'/%3e%3cpath%20d='M3.51902%207.74219C2.87132%209.02032%202.5%2010.4626%202.5%2011.9999C2.5%2013.5371%202.87132%2014.9794%203.51902%2016.2575C3.51902%2016.2661%206.67998%2013.8048%206.67998%2013.8048C6.48998%2013.2348%206.37768%2012.6303%206.37768%2011.9998C6.37768%2011.3692%206.48998%2010.7647%206.67998%2010.1947L3.51902%207.74219Z'%20fill='%23FBBC05'/%3e%3cpath%20d='M11.9999%206.28272C13.399%206.28272%2014.6426%206.76635%2015.6358%207.69909L18.3562%204.97867C16.7067%203.44142%2014.5649%202.5%2011.9999%202.5C8.28627%202.5%205.08222%204.63318%203.51904%207.74228L6.67991%2010.195C7.43123%207.94953%209.52989%206.28272%2011.9999%206.28272Z'%20fill='%23EA4335'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1013_5889'%3e%3crect%20width='19'%20height='19'%20fill='white'%20transform='translate(2.5%202.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e")}._icon-discord_149jw_43{background-image:url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1013_5875)'%3e%3cpath%20d='M18.6534%205.99368C17.4294%205.44168%2016.1174%205.03368%2014.7454%204.80168C14.7332%204.79933%2014.7205%204.80084%2014.7092%204.806C14.6979%204.81116%2014.6884%204.81972%2014.6822%204.83048C14.5142%205.12568%2014.327%205.51048%2014.1958%205.81448C12.7407%205.59707%2011.2613%205.59707%209.8062%205.81448C9.66007%205.47756%209.49528%205.14906%209.3126%204.83048C9.30641%204.81958%209.29704%204.81084%209.28575%204.8054C9.27445%204.79997%209.26177%204.79811%209.2494%204.80008C7.8782%205.03208%206.5662%205.44008%205.3414%205.99288C5.33086%205.9973%205.32193%206.00483%205.3158%206.01448C2.8262%209.67448%202.1438%2013.2441%202.479%2016.7689C2.47993%2016.7775%202.48261%2016.7859%202.48687%2016.7934C2.49114%2016.801%202.4969%2016.8076%202.5038%2016.8129C3.95691%2017.8708%205.57767%2018.6767%207.2982%2019.1969C7.31019%2019.2006%207.32302%2019.2006%207.33501%2019.1968C7.347%2019.1931%207.35759%2019.1859%207.3654%2019.1761C7.73563%2018.6809%208.06372%2018.1556%208.3462%2017.6057C8.35012%2017.5982%208.35238%2017.5899%208.35282%2017.5814C8.35327%2017.5729%208.35189%2017.5645%208.34878%2017.5566C8.34567%2017.5487%208.3409%2017.5416%208.3348%2017.5357C8.32869%2017.5298%208.3214%2017.5253%208.3134%2017.5225C7.7966%2017.3279%207.29587%2017.093%206.8158%2016.8201C6.80717%2016.8152%206.7999%2016.8082%206.79464%2016.7997C6.78938%2016.7913%206.7863%2016.7817%206.78566%2016.7718C6.78503%2016.7619%206.78687%2016.752%206.79101%2016.7429C6.79515%2016.7339%206.80147%2016.7261%206.8094%2016.7201C6.9102%2016.6457%207.011%2016.5681%207.107%2016.4905C7.11564%2016.4835%207.12605%2016.4791%207.13707%2016.4776C7.14808%2016.4762%207.15928%2016.4779%207.1694%2016.4825C10.311%2017.8937%2013.7134%2017.8937%2016.8182%2016.4825C16.8283%2016.4776%2016.8397%2016.4757%2016.8508%2016.477C16.862%2016.4783%2016.8726%2016.4827%2016.8814%2016.4897C16.9774%2016.5681%2017.0774%2016.6457%2017.179%2016.7201C17.187%2016.7259%2017.1934%2016.7337%2017.1977%2016.7426C17.202%2016.7516%2017.204%2016.7615%2017.2035%2016.7714C17.203%2016.7813%2017.2001%2016.7909%2017.195%2016.7994C17.1899%2016.8079%2017.1827%2016.815%2017.1742%2016.8201C16.6958%2017.0953%2016.1982%2017.3281%2015.6758%2017.5217C15.6678%2017.5246%2015.6605%2017.5292%2015.6544%2017.5351C15.6483%2017.5411%2015.6435%2017.5483%2015.6404%2017.5563C15.6373%2017.5642%2015.6359%2017.5727%2015.6364%2017.5812C15.6368%2017.5898%2015.6391%2017.5981%2015.643%2017.6057C15.931%2018.1553%2016.2606%2018.6785%2016.623%2019.1753C16.6305%2019.1855%2016.641%2019.1931%2016.6531%2019.1971C16.6651%2019.2011%2016.6781%2019.2013%2016.6902%2019.1977C18.4137%2018.679%2020.0371%2017.8727%2021.4918%2016.8129C21.4989%2016.8079%2021.5049%2016.8015%2021.5093%2016.794C21.5137%2016.7866%2021.5165%2016.7783%2021.5174%2016.7697C21.9174%2012.6945%2020.847%209.15368%2018.6782%206.01608C18.6729%206.00588%2018.6641%205.99793%2018.6534%205.99368ZM8.8158%2014.6225C7.8702%2014.6225%207.0902%2013.7673%207.0902%2012.7185C7.0902%2011.6689%207.855%2010.8145%208.8158%2010.8145C9.7838%2010.8145%2010.5566%2011.6761%2010.5414%2012.7185C10.5414%2013.7681%209.7766%2014.6225%208.8158%2014.6225V14.6225ZM15.1958%2014.6225C14.2494%2014.6225%2013.4702%2013.7673%2013.4702%2012.7185C13.4702%2011.6689%2014.2342%2010.8145%2015.1958%2010.8145C16.1638%2010.8145%2016.9366%2011.6761%2016.9214%2012.7185C16.9214%2013.7681%2016.1646%2014.6225%2015.1958%2014.6225V14.6225Z'%20fill='%235865F2'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1013_5875'%3e%3crect%20width='19.2'%20height='19.2'%20fill='white'%20transform='translate(2.3999%202.3999)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e")}._icon-apple_149jw_47{background-image:url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1013_5872)'%3e%3cpath%20d='M19.7521%2017.3068C19.4648%2017.9706%2019.1247%2018.5816%2018.7306%2019.1434C18.1935%2019.9092%2017.7537%2020.4393%2017.4147%2020.7337C16.8893%2021.2169%2016.3264%2021.4644%2015.7236%2021.4784C15.2908%2021.4784%2014.7689%2021.3553%2014.1614%2021.1055C13.5519%2020.8568%2012.9917%2020.7337%2012.4796%2020.7337C11.9424%2020.7337%2011.3664%2020.8568%2010.7502%2021.1055C10.133%2021.3553%209.63589%2021.4855%209.25579%2021.4984C8.67771%2021.523%208.10152%2021.2685%207.52637%2020.7337C7.15929%2020.4135%206.70013%2019.8647%206.15009%2019.0871C5.55994%2018.2567%205.07475%2017.2939%204.69464%2016.1961C4.28756%2015.0104%204.0835%2013.8622%204.0835%2012.7507C4.0835%2011.4773%204.35864%2010.3791%204.90974%209.45884C5.34285%208.71962%205.91905%208.1365%206.6402%207.70843C7.36136%207.28035%208.14057%207.06221%208.97971%207.04825C9.43886%207.04825%2010.041%207.19028%2010.7892%207.46941C11.5354%207.74947%2012.0145%207.8915%2012.2245%207.8915C12.3815%207.8915%2012.9138%207.72543%2013.816%207.39435C14.6692%207.08731%2015.3893%206.96018%2015.9792%207.01026C17.5778%207.13926%2018.7787%207.76941%2019.5774%208.90469C18.1477%209.77092%2017.4405%2010.9842%2017.4546%2012.5406C17.4675%2013.7529%2017.9073%2014.7618%2018.7717%2015.5628C19.1634%2015.9346%2019.6008%2016.2219%2020.0876%2016.426C19.982%2016.7321%2019.8706%2017.0253%2019.7521%2017.3068V17.3068ZM16.086%202.88011C16.086%203.83033%2015.7388%204.71754%2015.0468%205.53874C14.2118%206.51498%2013.2018%207.0791%2012.1065%206.99008C12.0926%206.87609%2012.0845%206.75611%2012.0845%206.63003C12.0845%205.71782%2012.4816%204.74158%2013.1868%203.94337C13.5389%203.53922%2013.9866%203.20318%2014.5296%202.93511C15.0715%202.67104%2015.584%202.52501%2016.066%202.5C16.0801%202.62703%2016.086%202.75407%2016.086%202.8801V2.88011Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1013_5872'%3e%3crect%20width='19'%20height='19'%20fill='white'%20transform='translate(2.5%202.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e")}._icon-x_149jw_51{background-image:url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.5081%204.50732H20.1788L14.3442%2011.1759L21.2082%2020.2504H15.8337L11.6243%2014.7468L6.80771%2020.2504H4.13543L10.3761%2013.1176L3.7915%204.50732H9.30238L13.1074%209.53784L17.5081%204.50732ZM16.5708%2018.6519H18.0507L8.49827%206.02189H6.91024L16.5708%2018.6519Z'%20fill='black'/%3e%3c/svg%3e")}._container_kf1sq_1{display:flex;flex-direction:column;width:100%;margin-bottom:24px}._label_kf1sq_8{color:#ffffffb3;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}._inputWrapper_kf1sq_17{display:flex;align-items:center;gap:12px}._input_kf1sq_17{flex:1;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:8px;padding:14px 16px;color:#fff;font-size:16px;outline:none;transition:border-color .2s,background-color .2s}._input_kf1sq_17::placeholder{color:#ffffff80}._input_kf1sq_17:focus{border-color:#fff6;background:#ffffff26}._input_kf1sq_17:disabled{opacity:.6;cursor:not-allowed}._nextButton_kf1sq_49{background:#ff2d55;color:#fff;border:none;border-radius:8px;padding:14px 28px;font-size:14px;font-weight:600;letter-spacing:.5px;cursor:pointer;transition:background-color .2s,opacity .2s;min-width:90px;display:flex;align-items:center;justify-content:center}._nextButton_kf1sq_49:hover:not(:disabled){background:#e6284d}._nextButton_kf1sq_49:disabled{opacity:.5;cursor:not-allowed}._spinner_kf1sq_75{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:_spin_kf1sq_75 .8s linear infinite}@keyframes _spin_kf1sq_75{to{transform:rotate(360deg)}}._inputError_kf1sq_90{border-color:#ff6b6b}._inputError_kf1sq_90:focus{border-color:#ff6b6b}._error_kf1sq_98{color:#ff6b6b;font-size:13px;margin:8px 0 0}._error_kf1sq_98:before{content:"⚠";margin-right:6px}.CustomWearablePreview{position:relative;width:100%;height:100%}.CustomWearablePreview .WearablePreview{background-color:unset}._main_1urbu_1{font-family:system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--text);position:absolute;display:grid;grid-template-columns:50% 50%;height:100%;width:100%;justify-content:space-evenly}._left_1urbu_12{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:100%;width:100%;max-width:500px;margin-left:150px}._right_1urbu_23{height:100%}._right_1urbu_23 .CustomWearablePreview{right:8%}._changeAccount_1urbu_31{margin-top:150px;border-top:1px solid white;padding-top:20px;width:350px}._changeAccount_1urbu_31 a{color:#fff;text-decoration:underline;font-size:16px}@media(max-width:767px){._main_1urbu_1{display:flex;flex-direction:column}._left_1urbu_12{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:inherit;width:100%;padding:20px;margin-left:0}}._errorLogo_eokec_1{width:40px;height:40px;background-repeat:no-repeat;background-size:cover;background-position:right;background-image:url("data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cellipse%20cx='12'%20cy='12.5'%20rx='12'%20ry='12'%20fill='%23FF2D55'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.6464%208.90655C15.9808%209.24055%2015.9806%209.78182%2015.6458%2010.1155L9.6422%2016.0993C9.30741%2016.433%208.76486%2016.4328%208.43038%2016.0988C8.0959%2015.7648%208.09615%2015.2235%208.43095%2014.8898L14.4345%208.90599C14.7693%208.5723%2015.3119%208.57255%2015.6464%208.90655Z'%20fill='%23FCFCFC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.6464%2016.099C15.3119%2016.433%2014.7693%2016.4332%2014.4345%2016.0996L8.43095%2010.1157C8.09616%209.78204%208.0959%209.24077%208.43038%208.90677C8.76486%208.57277%209.30741%208.57252%209.64221%208.9062L15.6458%2014.89C15.9806%2015.2237%2015.9808%2015.765%2015.6464%2016.099Z'%20fill='%23FCFCFC'/%3e%3c/svg%3e")}._logo_eokec_10{width:40px;height:40px;background-image:url("data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20%2040C31.0457%2040%2040%2031.0457%2040%2020C40%208.9543%2031.0457%200%2020%200C8.9543%200%200%208.9543%200%2020C0%2031.0457%208.9543%2040%2020%2040Z'%20fill='url(%23paint0_linear_997_9740)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2036C11.34%2038.51%2015.5%2040%2020%2040C24.5%2040%2028.66%2038.51%2032%2036H8Z'%20fill='%23FF2D55'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.00049%2032C5.14049%2033.51%206.49049%2034.86%208.00049%2036H32.0005C33.5105%2034.86%2034.8605%2033.51%2036.0005%2032H4.00049Z'%20fill='%23FFA25A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M26.8304%2028H1.67041C2.29041%2029.43%203.08041%2030.77%204.00041%2032H26.8404V28H26.8304Z'%20fill='%23FFC95B'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.1704%2013V28H26.6704L14.1704%2013Z'%20fill='url(%23paint1_linear_997_9740)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1.67041%2028H14.1704V13L1.67041%2028Z'%20fill='%23FCFCFC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M26.8301%2021.0005V32.0005H36.0001L26.8301%2021.0005Z'%20fill='url(%23paint2_linear_997_9740)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.6699%2032.0005H26.8299V21.0005L17.6699%2032.0005Z'%20fill='%23FCFCFC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M26.8301%2018C29.5915%2018%2031.8301%2015.7614%2031.8301%2013C31.8301%2010.2386%2029.5915%208%2026.8301%208C24.0687%208%2021.8301%2010.2386%2021.8301%2013C21.8301%2015.7614%2024.0687%2018%2026.8301%2018Z'%20fill='%23FFC95B'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.1699%2010C15.5506%2010%2016.6699%208.88071%2016.6699%207.5C16.6699%206.11929%2015.5506%205%2014.1699%205C12.7892%205%2011.6699%206.11929%2011.6699%207.5C11.6699%208.88071%2012.7892%2010%2014.1699%2010Z'%20fill='%23FFC95B'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_997_9740'%20x1='20'%20y1='-8.28426'%20x2='-8.28426'%20y2='20'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_997_9740'%20x1='14.1662'%20y1='13'%20x2='14.1662'%20y2='28'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A524B3'/%3e%3cstop%20offset='1'%20stop-color='%23FF2D55'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_997_9740'%20x1='26.827'%20y1='21.0005'%20x2='26.827'%20y2='32.0005'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A524B3'/%3e%3cstop%20offset='1'%20stop-color='%23FF2D55'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e")}._title_eokec_16{font-size:36px;font-weight:600;line-height:44px;margin-top:32px}._subtitle_eokec_23,._description_eokec_30{font-size:24px;font-weight:400;line-height:29.05px;margin-top:16px}._closeWindow_eokec_37{font-size:16px;font-weight:400;margin-top:40px}._errorMessage_eokec_43{padding:15px;border-radius:10px;margin-top:30px;line-break:anywhere;background-color:#201116bf;color:#fff;display:flex;align-items:flex-start;gap:8px}@media(max-width:767px){._errorMessage_eokec_43{padding:15px;border-radius:10px;margin-top:30px;background-color:var(--primary);color:#fff}}._code_1c1o7_1{font-size:100px;font-weight:700;line-height:121.02px;margin-top:40px}._buttons_1c1o7_8{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px;margin-top:40px;z-index:1}._noButton_1c1o7_18,._noButton_1c1o7_18:hover,._yesButton_1c1o7_20,._yesButton_1c1o7_20:hover{background:#fff!important;color:#000!important;display:flex}._noButton_1c1o7_18 ._MuiButton-startIcon_1c1o7_27{color:red}._yesButton_1c1o7_20 ._MuiButton-startIcon_1c1o7_27{color:green}._communityBubble_1c1o7_35{position:absolute;bottom:20px;right:20px}._timeoutMessage_1c1o7_41{padding:15px;border-radius:10px;margin-top:30px;line-break:anywhere;background-color:#201116bf;color:#fff;display:flex;align-items:flex-start;gap:8px}._container_15kql_1{font-family:system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;width:100%;height:100vh;display:flex;overflow:hidden}._background_15kql_9{position:fixed;height:100vh;width:100vw;background-size:cover;background-repeat:no-repeat;background-position:right;background-image:url(https://cdn.decentraland.org/@dcl/auth-site/4.11.8-22499581509.commit-6c3d4c4/assets/background-q68SxPSF.svg);z-index:-1}._left_15kql_20{flex:1;padding:1rem;color:#fff;display:flex;justify-content:center;align-items:center}._errorMessage_15kql_29{padding:15px;border-radius:10px;margin-top:30px;background-color:var(--primary);line-break:anywhere;color:#fff}._fieldLabel_15kql_38{color:#fff!important;opacity:70%;display:block;margin-bottom:4px;font-size:14px;font-weight:500}._fieldInput_15kql_47{width:100%;background:transparent;border:none;color:#fff;font-size:16px;padding:8px 0;outline:none}._fieldMessage_15kql_57{color:#fff!important;opacity:70%;margin-top:4px;font-size:13px}._field_15kql_38{margin-bottom:16px}._checkbox_15kql_68{width:18px;height:18px;margin-right:10px;cursor:pointer;accent-color:white}._randomizeButton_15kql_76{display:flex;align-items:center;justify-content:center;gap:8px}._container_15kql_1 input{border-bottom:2px solid rgba(255,255,255,.7)!important}._container_15kql_1 input::placeholder{color:#fff!important;opacity:70%}._leftInner_15kql_92{max-width:500px;display:flex;flex-direction:column}._logo_15kql_98{width:64px;height:64px}._title_15kql_103{font-size:30px;font-weight:600;line-height:36px;margin-top:24px}._subtitle_15kql_110{font-size:30px;font-weight:400;line-height:36px}._meetYourAvatar_15kql_116{font-size:18px;font-weight:600;line-height:22px;margin-top:24px}._meetYourAvatarDescription_15kql_123{font-size:14px;font-weight:400;line-height:17px;margin-top:24px}._randomize_15kql_76{margin-top:16px}._continue_15kql_135{width:75%;margin-top:24px}._logoSmall_15kql_140{width:40px;height:40px}._back_15kql_9{margin-top:26px;display:flex;align-items:center;gap:8px;cursor:pointer}._back_15kql_9>span{font-size:14px;font-weight:600;line-height:18px}._name_15kql_159{margin-top:24px}._agree_15kql_163{margin-top:24px;display:flex;align-items:center}._agree_15kql_163 a{color:#fff;font-weight:700;text-decoration:underline}._error_15kql_29{display:flex;align-items:center;gap:4px}._error_15kql_29>img{width:16px;height:16px}._emailError_15kql_187{margin-bottom:8px}._agreeError_15kql_191{opacity:70%;margin-top:8px;font-size:15px}._jumpIn_15kql_197{margin-top:24px}._right_15kql_201{flex:1;width:100%;position:relative;right:6.3%}@media screen and (max-width:768px){._container_15kql_1{overflow:unset;height:unset}._mobileContainer_15kql_214{padding:24px;color:#fff}._meetYourAvatar_15kql_116,._meetYourAvatarDescription_15kql_123{margin-top:12px}._mobilePreviewContainer_15kql_227{position:relative;display:flex;flex-direction:column}._mobilePreviewOverlay_15kql_233{position:absolute;top:0;left:0;width:100%;height:100%;background-color:transparent;z-index:10}._mobilePreviewContainer_15kql_227 .CustomWearablePreview{height:500px}._mobileButtons_15kql_247{display:flex;gap:16px}._randomize_15kql_76{flex:1;margin-top:0}._continue_15kql_135{flex:1;margin-top:0;width:unset}._mobileCompleteYourProfile_15kql_263{margin-top:47px}._agree_15kql_163{display:flex}}._main_qbssu_1{background-color:#000;width:100%;height:100%}._warningImage_1yr2e_1{height:64px;width:64px;margin-bottom:24px}._content_1yr2e_7{display:flex;flex-direction:column;align-items:center}._container_ujegm_1{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;display:flex;align-items:center;justify-content:center}._content_ujegm_13{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px}._title_ujegm_22{color:#fff;font-size:28px;font-weight:500;margin:24px 0 0;letter-spacing:.5px}._subtitle_ujegm_30{color:#ffffffd9;font-size:16px;margin:12px 0 0;max-width:400px}._spinner_ujegm_37{margin-top:24px;color:#fc9965}._retryButton_ujegm_42{margin-top:24px;background:#ff2d55;color:#fff;border:none;border-radius:8px;padding:14px 32px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .2s}._retryButton_ujegm_42:hover{background:#e6284d}._main_wkb7r_1{display:grid;grid-template-columns:40% 60%;height:100%;width:100%;max-width:100vw;position:relative;overflow:hidden;min-width:0;box-sizing:border-box}._backgroundWrapper_wkb7r_13{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;overflow:hidden}._background_wkb7r_13{width:100%;height:100%;position:absolute;top:0;left:0;background-repeat:no-repeat;background-size:cover;background-position:right;animation:_move-background_wkb7r_1 10s linear infinite alternate;transition:opacity 1s ease-in-out}._backgroundEnter_wkb7r_36{opacity:0}._backgroundEnterActive_wkb7r_40{opacity:1}._main_wkb7r_1:before{content:"";position:fixed;width:100%;height:350%;background:radial-gradient(ellipse at 0 50%,transparent 10%,#e02dd3 40%,#491975 70%);top:-100%;transform:rotate(180deg);overflow:hidden}._main_wkb7r_1._newUserMain_wkb7r_55:before{background:linear-gradient(89.65deg,#952dc600 29.59%,#5e1e828f 39.08%,#4b196abf 45.36%,#40175ddb 54.22%,#32134c 72.84%)}._left_wkb7r_59{width:100%;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:start;padding:80px 0}._leftInfo_wkb7r_69{height:100%;width:100%;max-width:420px;display:flex;flex-direction:column;justify-content:space-between}._right_wkb7r_78{display:flex;flex-direction:row;align-items:end;justify-content:center;width:100%;z-index:1}._mainContainer_wkb7r_87{display:flex;flex-direction:column;gap:48px}._footer_wkb7r_93{display:flex;flex-direction:column;margin-bottom:96px;font-size:18px;width:100%;align-items:center}._footer_wkb7r_93>p{color:#fff}._footer_wkb7r_93 a{color:#fff;text-decoration:underline}._newUserInfo_wkb7r_112{font-size:16px;line-height:150%;letter-spacing:0px}._newUserInfo_wkb7r_112 span{color:var(--Primary-Base-Primary, #FF2D55);text-decoration:underline;text-transform:uppercase;cursor:pointer}._guestInfo_wkb7r_125,._guestInfo_wkb7r_125 a{color:#fff;font-size:16px}._guestInfo_wkb7r_125{border-top:1px solid white;padding-top:15px;display:flex;gap:5px}._guestInfo_wkb7r_125 a{text-decoration:underline}@media screen and (max-width:1440px){._main_wkb7r_1{grid-template-columns:50% 50%}}@media screen and (max-width:800px){._main_wkb7r_1{display:flex;height:auto}._background_wkb7r_13{display:none}._main_wkb7r_1:before{background:radial-gradient(ellipse at 0 50%,#e02dd3,#491975 70%)}._main_wkb7r_1._newUserMain_wkb7r_55:before{background:linear-gradient(144.23deg,#491975 10.31%,#d72ccd 102.43%)}._left_wkb7r_59{padding:20px}}@keyframes _move-background_wkb7r_1{0%{transform:translate(0)}to{transform:translate(10%)}}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}html{height:100%;overflow-x:hidden}body{margin:0;min-width:100%;min-height:100dvh;min-height:100vh;height:100%;overflow-x:hidden}#root{height:100%;min-height:100%}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as v,s as m,B as g,k as T,T as I,j as e,M as c}from"./ui-
|
|
1
|
+
import{d as v,s as m,B as g,k as T,T as I,j as e,M as c}from"./ui-CoG1fkb5.js";import{u as h,e as y,a as C}from"./vendor-Cfxq3JgU.js";import"./thirdweb-OxLhaj9a.js";import{W as w,T as j,S as E,a as D,R as k,b as f,c as n,d as b,e as p,I as A,D as S,f as V,g as q,C as W,h as R}from"./index-DM_pXNko.js";const u={hasClaimedName:!0,description:"My description",tutorialStep:4095,name:"MotherHacker",userId:"0xd9b96b5dc720fc52bede1ec3b40a930e15f70ddd",email:"",ethAddress:"0xd9b96b5dc720fc52bede1ec3b40a930e15f70ddd",version:64,avatar:{bodyShape:"urn:decentraland:off-chain:base-avatars:BaseMale",wearables:["urn:decentraland:off-chain:base-avatars:eyebrows_17","urn:decentraland:off-chain:base-avatars:eyes_07","urn:decentraland:off-chain:base-avatars:beard","urn:decentraland:off-chain:base-avatars:mouth_03","urn:decentraland:off-chain:base-avatars:hair_coolshortstyle","urn:decentraland:matic:collections-v2:0xc43914be599f3f8fe4956aa3ec9d6a6aead1edfa:0:84","urn:decentraland:matic:collections-v2:0xd50191baed16bc532feb9d499fdaa805fe01d3ff:6:631873750011343120187508166102022593913370572403294667525865865224","urn:decentraland:matic:collections-v2:0xc43914be599f3f8fe4956aa3ec9d6a6aead1edfa:2:210624583337114373395836055367340864637790190801098222508621955166","urn:decentraland:off-chain:base-avatars:punk_piercing","urn:decentraland:matic:collections-v2:0x6b9ad15f1b82eb1d8b0f13d847f348b56589f83c:0:78"],forceRender:[],emotes:[{urn:"urn:decentraland:matic:collections-v2:0xea954afa4d2a8d0624adfafeb0e5a725ef777774:1:105312291668557186697918027683670432318895095400549111254310977736",slot:0},{urn:"urn:decentraland:matic:collections-v2:0xd50191baed16bc532feb9d499fdaa805fe01d3ff:3:315936875005671560093754083051011296956685286201647333762932932714",slot:1},{urn:"urn:decentraland:matic:collections-v2:0xea954afa4d2a8d0624adfafeb0e5a725ef777774:0:219",slot:2},{urn:"urn:decentraland:matic:collections-v2:0xef832a5183bf2e4099efed4c6ec981b7b41aa545:0:124",slot:3},{slot:4,urn:"hammer"},{urn:"urn:decentraland:matic:collections-v2:0x768c1027b1f1a452ecb8dab017a1e630a75f0d30:1:105312291668557186697918027683670432318895095400549111254310977547",slot:5},{urn:"urn:decentraland:matic:collections-v2:0x83134b69f9af4cb3239e0645281902a0a02adb37:0:100",slot:6},{slot:7,urn:"kiss"},{urn:"urn:decentraland:matic:collections-v2:0xc43914be599f3f8fe4956aa3ec9d6a6aead1edfa:4:421249166674228746791672110734681729275580381602196445017243910359",slot:8},{urn:"urn:decentraland:matic:collections-v2:0x0b472c2c04325a545a43370b54e93c87f3d5badf:3:315936875005671560093754083051011296956685286201647333762932932643",slot:9}],snapshots:{body:"https://peer-ec2.decentraland.org/content/contents/bafkreierlxqaqy2wqjmdf5y46p7xdzg5skpfbeyaixyrzim2hdmimazbce",face256:"https://peer-ec2.decentraland.org/content/contents/bafkreicow7jrxxezwqdkv63lvgahf42khbnuvnm5auam4sp2ph7ghbhyhi"},eyes:{color:{r:.37109375,g:.22265625,b:.1953125}},hair:{color:{r:.234375,g:.12890625,b:.04296875}},skin:{color:{r:.60546875,g:.4609375,b:.35546875}}},interests:[],hasConnectedWeb3:!0,muted:[]},s={contractAddress:"0x0000000000000000000000000000000000000000",description:"Test description",imageUrl:"https://peer.decentraland.org/lambdas/collections/contents/urn:decentraland:matic:collections-v2:0xfef5c99885c3036e591b6e6db52482891834a5f4:0/thumbnail",name:"Test NFT",rarity:v.Rarity.UNIQUE,toAddress:"0x0000000000000000000000000000000000000000",tokenId:"1",recipientProfile:{avatars:[u]}},o={manaAmount:"10 MANA",sceneImageUrl:"https://peer.decentraland.org/content/contents/bafybeietrfx6arffgapt65jkawued7mcsu75uuloodf3drxbvq2pfpggei",sceneName:"Test Scene",toAddress:"0x0000000000000000000000000000000000000000",recipientProfile:{avatars:[u]}},F=T({from:{opacity:0,transform:"translateY(-16px)"},to:{opacity:1,transform:"translateY(0)"}}),M=m(g)(({theme:a})=>({animation:`${F} ${a.transitions.duration.standard}ms ${a.transitions.easing.easeOut}`,backgroundColor:a.palette.background.paper,border:`1px solid ${a.palette.divider}`,borderRadius:a.shape.borderRadius,boxShadow:a.shadows[4],left:a.spacing(2),padding:a.spacing(1.5),position:"fixed",top:a.spacing(2),zIndex:a.zIndex.appBar})),z=m(I)(({theme:a})=>({minWidth:a.spacing(40),"& .MuiInputBase-root":{backgroundColor:a.palette.background.paper}})),r="test-request-id",G=()=>{const a=h(),{viewId:l}=y(),d=C.useMemo(()=>({closeWindow:{label:"CloseWindow",element:e.jsx(R,{})},continueInApp:{label:"ContinueInApp",element:e.jsx(W,{autoStart:!1,onContinue:()=>{},requestId:r,deepLinkUrl:"decentraland://"})},deniedSignIn:{label:"DeniedSignIn",element:e.jsx(q,{requestId:r})},deniedWalletInteraction:{label:"DeniedWalletInteraction",element:e.jsx(V,{})},differentAccountError:{label:"DifferentAccountError",element:e.jsx(S,{requestId:r})},ipValidationError:{label:"IpValidationError",element:e.jsx(A,{requestId:r,reason:"Test reason"})},manaTransfer:{label:"TransferConfirmView (Tip)",element:e.jsx(p,{type:n.TIP,transferData:o,isLoading:!1,onDeny:()=>{},onApprove:async()=>{}})},manaTransferCanceled:{label:"TransferCanceledView (Tip)",element:e.jsx(b,{type:n.TIP,transferData:o})},manaTransferComplete:{label:"TransferCompletedView (Tip)",element:e.jsx(f,{type:n.TIP,transferData:o})},nftTransfer:{label:"TransferConfirmView (Gift)",element:e.jsx(p,{type:n.GIFT,transferData:s,isLoading:!1,onDeny:()=>{},onApprove:async()=>{}})},nftTransferCanceled:{label:"TransferCanceledView (Gift)",element:e.jsx(b,{type:n.GIFT,transferData:s})},nftTransferComplete:{label:"TransferCompletedView (Gift)",element:e.jsx(f,{type:n.GIFT,transferData:s})},recoverError:{label:"RecoverError",element:e.jsx(k,{error:"Test error"})},signingError:{label:"SigningError",element:e.jsx(D,{error:"Test error"})},signInComplete:{label:"SignInComplete",element:e.jsx(E,{})},timeoutError:{label:"TimeoutError",element:e.jsx(j,{requestId:r})},walletInteractionComplete:{label:"WalletInteractionComplete",element:e.jsx(w,{})}}),[o,s]),i=l?d[l]:void 0;return e.jsxs(e.Fragment,{children:[e.jsx(M,{children:e.jsxs(z,{select:!0,label:"View",size:"small",value:l??"",onChange:t=>a(`/testView/${t.target.value}`),children:[e.jsx(c,{value:"",children:"Select a view…"}),Object.entries(d).map(([t,{label:x}])=>e.jsx(c,{value:t,children:x},t))]})}),i?i.element:null]})};export{G as TestViewPage};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as u,r as g,k as m,l as p,m as n}from"./index-
|
|
1
|
+
import{j as u,r as g,k as m,l as p,m as n}from"./index-DNW0vAkD.js";import{n as r,c as x}from"./index-WBe7DNra.js";import"./index-CphKEUOq.js";import"./index-DUaMJ-1_.js";const b=u`
|
|
2
2
|
button {
|
|
3
3
|
display: block;
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as p,l as u,R as f,M as g,m as d}from"./index-
|
|
1
|
+
import{n as p,l as u,R as f,M as g,m as d}from"./index-DNW0vAkD.js";import{n as b,r as m,c as w}from"./index-WBe7DNra.js";import{T as l}from"./index-CuuYlds7.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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as b,r as p,k as m,l as f,m as l}from"./index-
|
|
1
|
+
import{j as b,r as p,k as m,l as f,m as l}from"./index-DNW0vAkD.js";import{n as d,c as v}from"./index-WBe7DNra.js";const h=b`
|
|
2
2
|
button {
|
|
3
3
|
border: none;
|
|
4
4
|
background: transparent;
|