@dcl/blog-site 0.0.1-22113628803.commit-fff42a1
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/_redirects +3 -0
- package/assets/RoobertPRO-Bold-BLoSpx-h.otf +0 -0
- package/assets/RoobertPRO-Bold-zQ2qeH97.ttf +0 -0
- package/assets/add-HfZHK2fj.js +15 -0
- package/assets/all-wallets-m3Q_BdSv.js +6 -0
- package/assets/app-store-BNgLH0-z.js +17 -0
- package/assets/apple-ANuLUO8Y.js +18 -0
- package/assets/arrow-bottom-D6pToNHo.js +8 -0
- package/assets/arrow-bottom-circle-DUT2Dv51.js +11 -0
- package/assets/arrow-left-q4q9YVi3.js +8 -0
- package/assets/arrow-right-DASg5l5w.js +8 -0
- package/assets/arrow-top-DZCCNDTr.js +8 -0
- package/assets/bank-Dvo9jDr9.js +14 -0
- package/assets/basic-LHHyA19k.js +2128 -0
- package/assets/browser-31kcbL_C.js +14 -0
- package/assets/card-CFCq6F15.js +14 -0
- package/assets/ccip-Cohpddd_.js +1 -0
- package/assets/checkmark-QPkj1qQG.js +11 -0
- package/assets/checkmark-bold-zXuu-wcp.js +8 -0
- package/assets/chevron-bottom-Dqs_68n2.js +8 -0
- package/assets/chevron-left-CBd4ygRo.js +8 -0
- package/assets/chevron-right-nbeOSP6c.js +8 -0
- package/assets/chevron-top-DbymvkEQ.js +8 -0
- package/assets/chrome-store-DoEtpWNe.js +61 -0
- package/assets/clock-CS5E2MUj.js +8 -0
- package/assets/close-CX1C8CYJ.js +8 -0
- package/assets/coinPlaceholder-D2gtd8eC.js +8 -0
- package/assets/compass-slrJBlCv.js +8 -0
- package/assets/copy-CMih7tcA.js +15 -0
- package/assets/core-CjVm5NjM.js +908 -0
- package/assets/create-submenu-DEFVbrc5.png +0 -0
- package/assets/cursor-BRn1A03S.js +3 -0
- package/assets/cursor-transparent-MKJ02Hge.js +12 -0
- package/assets/desktop-DGd514Gx.js +9 -0
- package/assets/disconnect-BUq2N6Cm.js +8 -0
- package/assets/discord-BFKcUyQS.js +17 -0
- package/assets/etherscan-D33AWxxB.js +6 -0
- package/assets/exclamation-triangle-soJJPRXR.js +4 -0
- package/assets/explore-submenu-KVl6Dc-h.png +0 -0
- package/assets/extension-LP3zcSLt.js +8 -0
- package/assets/external-link-C0XMvtQk.js +8 -0
- package/assets/facebook-DGXac7rm.js +26 -0
- package/assets/farcaster-JzU9abAY.js +12 -0
- package/assets/filters-DuwyZN4x.js +8 -0
- package/assets/github-b1bWD_fH.js +18 -0
- package/assets/google-CmhYfZJv.js +18 -0
- package/assets/governance-submenu-CXxLX9nT.png +0 -0
- package/assets/help-circle-B2ObdIQa.js +12 -0
- package/assets/hooks.module-Dz_XB4AG.js +1 -0
- package/assets/id-JDEA4AYM.js +12 -0
- package/assets/image-tTtGLNDS.js +4 -0
- package/assets/index-BgDDpj9r.js +12 -0
- package/assets/index-Bpdy2MPa.js +5 -0
- package/assets/index-CgC_Ab1L.js +11 -0
- package/assets/index-D7Ixl_EB.js +395 -0
- package/assets/index-DZsTT0L6.js +895 -0
- package/assets/index-DfzECMTB.js +1 -0
- package/assets/index-iRCpTifY.js +1 -0
- package/assets/index-nibyPLVP.js +1 -0
- package/assets/index.es-WW4Bfhht.js +39 -0
- package/assets/info-R7mdJKyL.js +3 -0
- package/assets/info-circle-DHfjraJm.js +12 -0
- package/assets/learn-submenu-Xs1jOwfy.png +0 -0
- package/assets/lightbulb-Oueymsiy.js +3 -0
- package/assets/localBatchGatewayRequest-Cmlbv8SL.js +1 -0
- package/assets/mail-BKSx4Yuw.js +8 -0
- package/assets/man-default1-BEO13leF.png +0 -0
- package/assets/marketplace-submenu-CjxTqNhj.png +0 -0
- package/assets/mobile-QDZBxudi.js +9 -0
- package/assets/more-DAFugzVV.js +11 -0
- package/assets/network-placeholder-C_nY6s4Z.js +14 -0
- package/assets/nftPlaceholder--Be0HhIC.js +8 -0
- package/assets/off-D8lqix4E.js +8 -0
- package/assets/play-store-ZRhJ-ceS.js +32 -0
- package/assets/plus-BR9PIF2L.js +13 -0
- package/assets/qr-code-JGo7Egtx.js +6 -0
- package/assets/recycle-horizontal-DuUhAfmw.js +9 -0
- package/assets/refresh-BHEZJGlM.js +8 -0
- package/assets/reown-logo-KxRbVhfb.js +12 -0
- package/assets/search-hsNg53W1.js +8 -0
- package/assets/secp256k1-80N7tfNU.js +1 -0
- package/assets/secp256k1-BpOIzfuH.js +1 -0
- package/assets/send-iw4KzruG.js +15 -0
- package/assets/swapHorizontal-DW93SfcR.js +8 -0
- package/assets/swapHorizontalBold-B0-sTZrM.js +8 -0
- package/assets/swapHorizontalMedium-CojKMX5T.js +16 -0
- package/assets/swapHorizontalRoundedBold-BbH3JOq1.js +8 -0
- package/assets/swapVertical-By4Z0hO6.js +8 -0
- package/assets/telegram-BBJaS687.js +16 -0
- package/assets/three-dots-BnXK_CiH.js +5 -0
- package/assets/twitch-C-30YYiM.js +18 -0
- package/assets/twitterIcon-CQ5KzDGf.js +6 -0
- package/assets/verify-BpAxV_YQ.js +8 -0
- package/assets/verify-filled-Ct_OhT3a.js +8 -0
- package/assets/w3m-modal-KCWBSIxk.js +642 -0
- package/assets/wallet-BV62huv5.js +8 -0
- package/assets/wallet-placeholder-CNcppdv7.js +14 -0
- package/assets/walletconnect-C_tjBcnl.js +30 -0
- package/assets/warning-circle-64ldyNwf.js +12 -0
- package/assets/x-CtLwePcZ.js +12 -0
- package/favicon.ico +0 -0
- package/index.html +38 -0
- package/manifest.json +8 -0
- package/package.json +21 -0
- package/service-worker.js +166 -0
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
const __vite__fileDeps=["assets/add-HfZHK2fj.js","assets/core-CjVm5NjM.js","assets/index-DZsTT0L6.js","assets/index.es-WW4Bfhht.js","assets/index-nibyPLVP.js","assets/all-wallets-m3Q_BdSv.js","assets/arrow-bottom-circle-DUT2Dv51.js","assets/app-store-BNgLH0-z.js","assets/apple-ANuLUO8Y.js","assets/arrow-bottom-D6pToNHo.js","assets/arrow-left-q4q9YVi3.js","assets/arrow-right-DASg5l5w.js","assets/arrow-top-DZCCNDTr.js","assets/bank-Dvo9jDr9.js","assets/browser-31kcbL_C.js","assets/card-CFCq6F15.js","assets/checkmark-QPkj1qQG.js","assets/checkmark-bold-zXuu-wcp.js","assets/chevron-bottom-Dqs_68n2.js","assets/chevron-left-CBd4ygRo.js","assets/chevron-right-nbeOSP6c.js","assets/chevron-top-DbymvkEQ.js","assets/chrome-store-DoEtpWNe.js","assets/clock-CS5E2MUj.js","assets/close-CX1C8CYJ.js","assets/compass-slrJBlCv.js","assets/coinPlaceholder-D2gtd8eC.js","assets/copy-CMih7tcA.js","assets/cursor-BRn1A03S.js","assets/cursor-transparent-MKJ02Hge.js","assets/desktop-DGd514Gx.js","assets/disconnect-BUq2N6Cm.js","assets/discord-BFKcUyQS.js","assets/etherscan-D33AWxxB.js","assets/extension-LP3zcSLt.js","assets/external-link-C0XMvtQk.js","assets/facebook-DGXac7rm.js","assets/farcaster-JzU9abAY.js","assets/filters-DuwyZN4x.js","assets/github-b1bWD_fH.js","assets/google-CmhYfZJv.js","assets/help-circle-B2ObdIQa.js","assets/image-tTtGLNDS.js","assets/id-JDEA4AYM.js","assets/info-circle-DHfjraJm.js","assets/lightbulb-Oueymsiy.js","assets/mail-BKSx4Yuw.js","assets/mobile-QDZBxudi.js","assets/more-DAFugzVV.js","assets/network-placeholder-C_nY6s4Z.js","assets/nftPlaceholder--Be0HhIC.js","assets/off-D8lqix4E.js","assets/play-store-ZRhJ-ceS.js","assets/plus-BR9PIF2L.js","assets/qr-code-JGo7Egtx.js","assets/recycle-horizontal-DuUhAfmw.js","assets/refresh-BHEZJGlM.js","assets/search-hsNg53W1.js","assets/send-iw4KzruG.js","assets/swapHorizontal-DW93SfcR.js","assets/swapHorizontalMedium-CojKMX5T.js","assets/swapHorizontalBold-B0-sTZrM.js","assets/swapHorizontalRoundedBold-BbH3JOq1.js","assets/swapVertical-By4Z0hO6.js","assets/telegram-BBJaS687.js","assets/three-dots-BnXK_CiH.js","assets/twitch-C-30YYiM.js","assets/x-CtLwePcZ.js","assets/twitterIcon-CQ5KzDGf.js","assets/verify-BpAxV_YQ.js","assets/verify-filled-Ct_OhT3a.js","assets/wallet-BV62huv5.js","assets/walletconnect-C_tjBcnl.js","assets/wallet-placeholder-CNcppdv7.js","assets/warning-circle-64ldyNwf.js","assets/info-R7mdJKyL.js","assets/exclamation-triangle-soJJPRXR.js","assets/reown-logo-KxRbVhfb.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
import{B as G,D as q,i as S,r as E,a as b,b as f,n as Y,F as V,o as H,e as X}from"./core-CjVm5NjM.js";import{_ as a}from"./index-DZsTT0L6.js";const w={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},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"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let h=0;h<5;h+=1){const p=this.tintColor(o,.15*h);u.push(`rgb(${p[0]}, ${p[1]}, ${p[2]})`)}return`
|
|
3
|
+
--local-color-1: ${u[0]};
|
|
4
|
+
--local-color-2: ${u[1]};
|
|
5
|
+
--local-color-3: ${u[2]};
|
|
6
|
+
--local-color-4: ${u[3]};
|
|
7
|
+
--local-color-5: ${u[4]};
|
|
8
|
+
--local-radial-circle: ${c}
|
|
9
|
+
`},hexToRgb(t){const e=parseInt(t,16),i=e>>16&255,o=e>>8&255,n=e&255;return[i,o,n]},tintColor(t,e){const[i,o,n]=t,r=Math.round(i+(255-i)*e),s=Math.round(o+(255-o)*e),c=Math.round(n+(255-n)*e);return[r,s,c]},isNumber(t){return{number:/^[0-9]+$/u}.number.test(t)},getColorTheme(t){var e;return t||(typeof window<"u"&&window.matchMedia?(e=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&e.matches?"dark":"light":"dark")},splitBalance(t){const e=t.split(".");return e.length===2?[e[0],e[1]]:["0","00"]},roundNumber(t,e,i){return t.toString().length>=e?Number(t).toFixed(i):t},formatNumberToLocalString(t,e=2){return t===void 0?"0.00":typeof t=="number"?t.toLocaleString("en-US",{maximumFractionDigits:e,minimumFractionDigits:e}):parseFloat(t).toLocaleString("en-US",{maximumFractionDigits:e,minimumFractionDigits:e})}};function K(t,e){const{kind:i,elements:o}=e;return{kind:i,elements:o,finisher(n){customElements.get(t)||customElements.define(t,n)}}}function Z(t,e){return customElements.get(t)||customElements.define(t,e),e}function $(t){return function(i){return typeof i=="function"?Z(t,i):K(t,i)}}/**
|
|
10
|
+
* @license
|
|
11
|
+
* Copyright 2017 Google LLC
|
|
12
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
+
*/const Q={attribute:!0,type:String,converter:G,reflect:!1,hasChanged:q},J=(t=Q,e,i)=>{const{kind:o,metadata:n}=i;let r=globalThis.litPropertyMetadata.get(n);if(r===void 0&&globalThis.litPropertyMetadata.set(n,r=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),r.set(i.name,t),o==="accessor"){const{name:s}=i;return{set(c){const u=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,u,t,!0,c)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(o==="setter"){const{name:s}=i;return function(c){const u=this[s];e.call(this,c),this.requestUpdate(s,u,t,!0,c)}}throw Error("Unsupported decorator location: "+o)};function l(t){return(e,i)=>typeof i=="object"?J(t,e,i):((o,n,r)=>{const s=n.hasOwnProperty(r);return n.constructor.createProperty(r,o),s?Object.getOwnPropertyDescriptor(n,r):void 0})(t,e,i)}/**
|
|
14
|
+
* @license
|
|
15
|
+
* Copyright 2017 Google LLC
|
|
16
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
|
+
*/function Et(t){return l({...t,state:!0,attribute:!1})}const tt=S`
|
|
18
|
+
:host {
|
|
19
|
+
display: flex;
|
|
20
|
+
width: inherit;
|
|
21
|
+
height: inherit;
|
|
22
|
+
}
|
|
23
|
+
`;var _=function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let d=class extends b{render(){return this.style.cssText=`
|
|
24
|
+
flex-direction: ${this.flexDirection};
|
|
25
|
+
flex-wrap: ${this.flexWrap};
|
|
26
|
+
flex-basis: ${this.flexBasis};
|
|
27
|
+
flex-grow: ${this.flexGrow};
|
|
28
|
+
flex-shrink: ${this.flexShrink};
|
|
29
|
+
align-items: ${this.alignItems};
|
|
30
|
+
justify-content: ${this.justifyContent};
|
|
31
|
+
column-gap: ${this.columnGap&&`var(--wui-spacing-${this.columnGap})`};
|
|
32
|
+
row-gap: ${this.rowGap&&`var(--wui-spacing-${this.rowGap})`};
|
|
33
|
+
gap: ${this.gap&&`var(--wui-spacing-${this.gap})`};
|
|
34
|
+
padding-top: ${this.padding&&w.getSpacingStyles(this.padding,0)};
|
|
35
|
+
padding-right: ${this.padding&&w.getSpacingStyles(this.padding,1)};
|
|
36
|
+
padding-bottom: ${this.padding&&w.getSpacingStyles(this.padding,2)};
|
|
37
|
+
padding-left: ${this.padding&&w.getSpacingStyles(this.padding,3)};
|
|
38
|
+
margin-top: ${this.margin&&w.getSpacingStyles(this.margin,0)};
|
|
39
|
+
margin-right: ${this.margin&&w.getSpacingStyles(this.margin,1)};
|
|
40
|
+
margin-bottom: ${this.margin&&w.getSpacingStyles(this.margin,2)};
|
|
41
|
+
margin-left: ${this.margin&&w.getSpacingStyles(this.margin,3)};
|
|
42
|
+
`,f`<slot></slot>`}};d.styles=[E,tt];_([l()],d.prototype,"flexDirection",void 0);_([l()],d.prototype,"flexWrap",void 0);_([l()],d.prototype,"flexBasis",void 0);_([l()],d.prototype,"flexGrow",void 0);_([l()],d.prototype,"flexShrink",void 0);_([l()],d.prototype,"alignItems",void 0);_([l()],d.prototype,"justifyContent",void 0);_([l()],d.prototype,"columnGap",void 0);_([l()],d.prototype,"rowGap",void 0);_([l()],d.prototype,"gap",void 0);_([l()],d.prototype,"padding",void 0);_([l()],d.prototype,"margin",void 0);d=_([$("wui-flex")],d);/**
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2018 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/const $t=t=>t??Y;/**
|
|
47
|
+
* @license
|
|
48
|
+
* Copyright 2020 Google LLC
|
|
49
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
|
+
*/const et=t=>t===null||typeof t!="object"&&typeof t!="function",it=t=>t.strings===void 0;/**
|
|
51
|
+
* @license
|
|
52
|
+
* Copyright 2017 Google LLC
|
|
53
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
|
+
*/const U={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},W=t=>(...e)=>({_$litDirective$:t,values:e});let F=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,i,o){this._$Ct=e,this._$AM=i,this._$Ci=o}_$AS(e,i){return this.update(e,i)}update(e,i){return this.render(...i)}};/**
|
|
55
|
+
* @license
|
|
56
|
+
* Copyright 2017 Google LLC
|
|
57
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
+
*/const T=(t,e)=>{var o;const i=t._$AN;if(i===void 0)return!1;for(const n of i)(o=n._$AO)==null||o.call(n,e,!1),T(n,e);return!0},I=t=>{let e,i;do{if((e=t._$AM)===void 0)break;i=e._$AN,i.delete(t),t=e}while((i==null?void 0:i.size)===0)},N=t=>{for(let e;e=t._$AM;t=e){let i=e._$AN;if(i===void 0)e._$AN=i=new Set;else if(i.has(t))break;i.add(t),at(e)}};function rt(t){this._$AN!==void 0?(I(this),this._$AM=t,N(this)):this._$AM=t}function ot(t,e=!1,i=0){const o=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(o))for(let r=i;r<o.length;r++)T(o[r],!1),I(o[r]);else o!=null&&(T(o,!1),I(o));else T(this,t)}const at=t=>{t.type==U.CHILD&&(t._$AP??(t._$AP=ot),t._$AQ??(t._$AQ=rt))};class nt extends F{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,i,o){super._$AT(e,i,o),N(this),this.isConnected=e._$AU}_$AO(e,i=!0){var o,n;e!==this.isConnected&&(this.isConnected=e,e?(o=this.reconnected)==null||o.call(this):(n=this.disconnected)==null||n.call(this)),i&&(T(this,e),I(this))}setValue(e){if(it(this._$Ct))this._$Ct._$AI(e,this);else{const i=[...this._$Ct._$AH];i[this._$Ci]=e,this._$Ct._$AI(i,this,0)}}disconnected(){}reconnected(){}}/**
|
|
59
|
+
* @license
|
|
60
|
+
* Copyright 2021 Google LLC
|
|
61
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
|
+
*/class st{constructor(e){this.G=e}disconnect(){this.G=void 0}reconnect(e){this.G=e}deref(){return this.G}}class ct{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){this.Y??(this.Y=new Promise(e=>this.Z=e))}resume(){var e;(e=this.Z)==null||e.call(this),this.Y=this.Z=void 0}}/**
|
|
63
|
+
* @license
|
|
64
|
+
* Copyright 2017 Google LLC
|
|
65
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
66
|
+
*/const j=t=>!et(t)&&typeof t.then=="function",B=1073741823;class lt extends nt{constructor(){super(...arguments),this._$Cwt=B,this._$Cbt=[],this._$CK=new st(this),this._$CX=new ct}render(...e){return e.find(i=>!j(i))??V}update(e,i){const o=this._$Cbt;let n=o.length;this._$Cbt=i;const r=this._$CK,s=this._$CX;this.isConnected||this.disconnected();for(let c=0;c<i.length&&!(c>this._$Cwt);c++){const u=i[c];if(!j(u))return this._$Cwt=c,u;c<n&&u===o[c]||(this._$Cwt=B,n=0,Promise.resolve(u).then(async h=>{for(;s.get();)await s.get();const p=r.deref();if(p!==void 0){const D=p._$Cbt.indexOf(u);D>-1&&D<p._$Cwt&&(p._$Cwt=D,p.setValue(h))}}))}return V}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}}const ut=W(lt);class dt{constructor(){this.cache=new Map}set(e,i){this.cache.set(e,i)}get(e){return this.cache.get(e)}has(e){return this.cache.has(e)}delete(e){this.cache.delete(e)}clear(){this.cache.clear()}}const C=new dt,_t=S`
|
|
67
|
+
:host {
|
|
68
|
+
display: flex;
|
|
69
|
+
aspect-ratio: var(--local-aspect-ratio);
|
|
70
|
+
color: var(--local-color);
|
|
71
|
+
width: var(--local-width);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
svg {
|
|
75
|
+
width: inherit;
|
|
76
|
+
height: inherit;
|
|
77
|
+
object-fit: contain;
|
|
78
|
+
object-position: center;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.fallback {
|
|
82
|
+
width: var(--local-width);
|
|
83
|
+
height: var(--local-height);
|
|
84
|
+
}
|
|
85
|
+
`;var A=function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const M={add:async()=>(await a(async()=>{const{addSvg:t}=await import("./add-HfZHK2fj.js");return{addSvg:t}},__vite__mapDeps([0,1,2,3,4]))).addSvg,allWallets:async()=>(await a(async()=>{const{allWalletsSvg:t}=await import("./all-wallets-m3Q_BdSv.js");return{allWalletsSvg:t}},__vite__mapDeps([5,1,2,3,4]))).allWalletsSvg,arrowBottomCircle:async()=>(await a(async()=>{const{arrowBottomCircleSvg:t}=await import("./arrow-bottom-circle-DUT2Dv51.js");return{arrowBottomCircleSvg:t}},__vite__mapDeps([6,1,2,3,4]))).arrowBottomCircleSvg,appStore:async()=>(await a(async()=>{const{appStoreSvg:t}=await import("./app-store-BNgLH0-z.js");return{appStoreSvg:t}},__vite__mapDeps([7,1,2,3,4]))).appStoreSvg,apple:async()=>(await a(async()=>{const{appleSvg:t}=await import("./apple-ANuLUO8Y.js");return{appleSvg:t}},__vite__mapDeps([8,1,2,3,4]))).appleSvg,arrowBottom:async()=>(await a(async()=>{const{arrowBottomSvg:t}=await import("./arrow-bottom-D6pToNHo.js");return{arrowBottomSvg:t}},__vite__mapDeps([9,1,2,3,4]))).arrowBottomSvg,arrowLeft:async()=>(await a(async()=>{const{arrowLeftSvg:t}=await import("./arrow-left-q4q9YVi3.js");return{arrowLeftSvg:t}},__vite__mapDeps([10,1,2,3,4]))).arrowLeftSvg,arrowRight:async()=>(await a(async()=>{const{arrowRightSvg:t}=await import("./arrow-right-DASg5l5w.js");return{arrowRightSvg:t}},__vite__mapDeps([11,1,2,3,4]))).arrowRightSvg,arrowTop:async()=>(await a(async()=>{const{arrowTopSvg:t}=await import("./arrow-top-DZCCNDTr.js");return{arrowTopSvg:t}},__vite__mapDeps([12,1,2,3,4]))).arrowTopSvg,bank:async()=>(await a(async()=>{const{bankSvg:t}=await import("./bank-Dvo9jDr9.js");return{bankSvg:t}},__vite__mapDeps([13,1,2,3,4]))).bankSvg,browser:async()=>(await a(async()=>{const{browserSvg:t}=await import("./browser-31kcbL_C.js");return{browserSvg:t}},__vite__mapDeps([14,1,2,3,4]))).browserSvg,card:async()=>(await a(async()=>{const{cardSvg:t}=await import("./card-CFCq6F15.js");return{cardSvg:t}},__vite__mapDeps([15,1,2,3,4]))).cardSvg,checkmark:async()=>(await a(async()=>{const{checkmarkSvg:t}=await import("./checkmark-QPkj1qQG.js");return{checkmarkSvg:t}},__vite__mapDeps([16,1,2,3,4]))).checkmarkSvg,checkmarkBold:async()=>(await a(async()=>{const{checkmarkBoldSvg:t}=await import("./checkmark-bold-zXuu-wcp.js");return{checkmarkBoldSvg:t}},__vite__mapDeps([17,1,2,3,4]))).checkmarkBoldSvg,chevronBottom:async()=>(await a(async()=>{const{chevronBottomSvg:t}=await import("./chevron-bottom-Dqs_68n2.js");return{chevronBottomSvg:t}},__vite__mapDeps([18,1,2,3,4]))).chevronBottomSvg,chevronLeft:async()=>(await a(async()=>{const{chevronLeftSvg:t}=await import("./chevron-left-CBd4ygRo.js");return{chevronLeftSvg:t}},__vite__mapDeps([19,1,2,3,4]))).chevronLeftSvg,chevronRight:async()=>(await a(async()=>{const{chevronRightSvg:t}=await import("./chevron-right-nbeOSP6c.js");return{chevronRightSvg:t}},__vite__mapDeps([20,1,2,3,4]))).chevronRightSvg,chevronTop:async()=>(await a(async()=>{const{chevronTopSvg:t}=await import("./chevron-top-DbymvkEQ.js");return{chevronTopSvg:t}},__vite__mapDeps([21,1,2,3,4]))).chevronTopSvg,chromeStore:async()=>(await a(async()=>{const{chromeStoreSvg:t}=await import("./chrome-store-DoEtpWNe.js");return{chromeStoreSvg:t}},__vite__mapDeps([22,1,2,3,4]))).chromeStoreSvg,clock:async()=>(await a(async()=>{const{clockSvg:t}=await import("./clock-CS5E2MUj.js");return{clockSvg:t}},__vite__mapDeps([23,1,2,3,4]))).clockSvg,close:async()=>(await a(async()=>{const{closeSvg:t}=await import("./close-CX1C8CYJ.js");return{closeSvg:t}},__vite__mapDeps([24,1,2,3,4]))).closeSvg,compass:async()=>(await a(async()=>{const{compassSvg:t}=await import("./compass-slrJBlCv.js");return{compassSvg:t}},__vite__mapDeps([25,1,2,3,4]))).compassSvg,coinPlaceholder:async()=>(await a(async()=>{const{coinPlaceholderSvg:t}=await import("./coinPlaceholder-D2gtd8eC.js");return{coinPlaceholderSvg:t}},__vite__mapDeps([26,1,2,3,4]))).coinPlaceholderSvg,copy:async()=>(await a(async()=>{const{copySvg:t}=await import("./copy-CMih7tcA.js");return{copySvg:t}},__vite__mapDeps([27,1,2,3,4]))).copySvg,cursor:async()=>(await a(async()=>{const{cursorSvg:t}=await import("./cursor-BRn1A03S.js");return{cursorSvg:t}},__vite__mapDeps([28,1,2,3,4]))).cursorSvg,cursorTransparent:async()=>(await a(async()=>{const{cursorTransparentSvg:t}=await import("./cursor-transparent-MKJ02Hge.js");return{cursorTransparentSvg:t}},__vite__mapDeps([29,1,2,3,4]))).cursorTransparentSvg,desktop:async()=>(await a(async()=>{const{desktopSvg:t}=await import("./desktop-DGd514Gx.js");return{desktopSvg:t}},__vite__mapDeps([30,1,2,3,4]))).desktopSvg,disconnect:async()=>(await a(async()=>{const{disconnectSvg:t}=await import("./disconnect-BUq2N6Cm.js");return{disconnectSvg:t}},__vite__mapDeps([31,1,2,3,4]))).disconnectSvg,discord:async()=>(await a(async()=>{const{discordSvg:t}=await import("./discord-BFKcUyQS.js");return{discordSvg:t}},__vite__mapDeps([32,1,2,3,4]))).discordSvg,etherscan:async()=>(await a(async()=>{const{etherscanSvg:t}=await import("./etherscan-D33AWxxB.js");return{etherscanSvg:t}},__vite__mapDeps([33,1,2,3,4]))).etherscanSvg,extension:async()=>(await a(async()=>{const{extensionSvg:t}=await import("./extension-LP3zcSLt.js");return{extensionSvg:t}},__vite__mapDeps([34,1,2,3,4]))).extensionSvg,externalLink:async()=>(await a(async()=>{const{externalLinkSvg:t}=await import("./external-link-C0XMvtQk.js");return{externalLinkSvg:t}},__vite__mapDeps([35,1,2,3,4]))).externalLinkSvg,facebook:async()=>(await a(async()=>{const{facebookSvg:t}=await import("./facebook-DGXac7rm.js");return{facebookSvg:t}},__vite__mapDeps([36,1,2,3,4]))).facebookSvg,farcaster:async()=>(await a(async()=>{const{farcasterSvg:t}=await import("./farcaster-JzU9abAY.js");return{farcasterSvg:t}},__vite__mapDeps([37,1,2,3,4]))).farcasterSvg,filters:async()=>(await a(async()=>{const{filtersSvg:t}=await import("./filters-DuwyZN4x.js");return{filtersSvg:t}},__vite__mapDeps([38,1,2,3,4]))).filtersSvg,github:async()=>(await a(async()=>{const{githubSvg:t}=await import("./github-b1bWD_fH.js");return{githubSvg:t}},__vite__mapDeps([39,1,2,3,4]))).githubSvg,google:async()=>(await a(async()=>{const{googleSvg:t}=await import("./google-CmhYfZJv.js");return{googleSvg:t}},__vite__mapDeps([40,1,2,3,4]))).googleSvg,helpCircle:async()=>(await a(async()=>{const{helpCircleSvg:t}=await import("./help-circle-B2ObdIQa.js");return{helpCircleSvg:t}},__vite__mapDeps([41,1,2,3,4]))).helpCircleSvg,image:async()=>(await a(async()=>{const{imageSvg:t}=await import("./image-tTtGLNDS.js");return{imageSvg:t}},__vite__mapDeps([42,1,2,3,4]))).imageSvg,id:async()=>(await a(async()=>{const{idSvg:t}=await import("./id-JDEA4AYM.js");return{idSvg:t}},__vite__mapDeps([43,1,2,3,4]))).idSvg,infoCircle:async()=>(await a(async()=>{const{infoCircleSvg:t}=await import("./info-circle-DHfjraJm.js");return{infoCircleSvg:t}},__vite__mapDeps([44,1,2,3,4]))).infoCircleSvg,lightbulb:async()=>(await a(async()=>{const{lightbulbSvg:t}=await import("./lightbulb-Oueymsiy.js");return{lightbulbSvg:t}},__vite__mapDeps([45,1,2,3,4]))).lightbulbSvg,mail:async()=>(await a(async()=>{const{mailSvg:t}=await import("./mail-BKSx4Yuw.js");return{mailSvg:t}},__vite__mapDeps([46,1,2,3,4]))).mailSvg,mobile:async()=>(await a(async()=>{const{mobileSvg:t}=await import("./mobile-QDZBxudi.js");return{mobileSvg:t}},__vite__mapDeps([47,1,2,3,4]))).mobileSvg,more:async()=>(await a(async()=>{const{moreSvg:t}=await import("./more-DAFugzVV.js");return{moreSvg:t}},__vite__mapDeps([48,1,2,3,4]))).moreSvg,networkPlaceholder:async()=>(await a(async()=>{const{networkPlaceholderSvg:t}=await import("./network-placeholder-C_nY6s4Z.js");return{networkPlaceholderSvg:t}},__vite__mapDeps([49,1,2,3,4]))).networkPlaceholderSvg,nftPlaceholder:async()=>(await a(async()=>{const{nftPlaceholderSvg:t}=await import("./nftPlaceholder--Be0HhIC.js");return{nftPlaceholderSvg:t}},__vite__mapDeps([50,1,2,3,4]))).nftPlaceholderSvg,off:async()=>(await a(async()=>{const{offSvg:t}=await import("./off-D8lqix4E.js");return{offSvg:t}},__vite__mapDeps([51,1,2,3,4]))).offSvg,playStore:async()=>(await a(async()=>{const{playStoreSvg:t}=await import("./play-store-ZRhJ-ceS.js");return{playStoreSvg:t}},__vite__mapDeps([52,1,2,3,4]))).playStoreSvg,plus:async()=>(await a(async()=>{const{plusSvg:t}=await import("./plus-BR9PIF2L.js");return{plusSvg:t}},__vite__mapDeps([53,1,2,3,4]))).plusSvg,qrCode:async()=>(await a(async()=>{const{qrCodeIcon:t}=await import("./qr-code-JGo7Egtx.js");return{qrCodeIcon:t}},__vite__mapDeps([54,1,2,3,4]))).qrCodeIcon,recycleHorizontal:async()=>(await a(async()=>{const{recycleHorizontalSvg:t}=await import("./recycle-horizontal-DuUhAfmw.js");return{recycleHorizontalSvg:t}},__vite__mapDeps([55,1,2,3,4]))).recycleHorizontalSvg,refresh:async()=>(await a(async()=>{const{refreshSvg:t}=await import("./refresh-BHEZJGlM.js");return{refreshSvg:t}},__vite__mapDeps([56,1,2,3,4]))).refreshSvg,search:async()=>(await a(async()=>{const{searchSvg:t}=await import("./search-hsNg53W1.js");return{searchSvg:t}},__vite__mapDeps([57,1,2,3,4]))).searchSvg,send:async()=>(await a(async()=>{const{sendSvg:t}=await import("./send-iw4KzruG.js");return{sendSvg:t}},__vite__mapDeps([58,1,2,3,4]))).sendSvg,swapHorizontal:async()=>(await a(async()=>{const{swapHorizontalSvg:t}=await import("./swapHorizontal-DW93SfcR.js");return{swapHorizontalSvg:t}},__vite__mapDeps([59,1,2,3,4]))).swapHorizontalSvg,swapHorizontalMedium:async()=>(await a(async()=>{const{swapHorizontalMediumSvg:t}=await import("./swapHorizontalMedium-CojKMX5T.js");return{swapHorizontalMediumSvg:t}},__vite__mapDeps([60,1,2,3,4]))).swapHorizontalMediumSvg,swapHorizontalBold:async()=>(await a(async()=>{const{swapHorizontalBoldSvg:t}=await import("./swapHorizontalBold-B0-sTZrM.js");return{swapHorizontalBoldSvg:t}},__vite__mapDeps([61,1,2,3,4]))).swapHorizontalBoldSvg,swapHorizontalRoundedBold:async()=>(await a(async()=>{const{swapHorizontalRoundedBoldSvg:t}=await import("./swapHorizontalRoundedBold-BbH3JOq1.js");return{swapHorizontalRoundedBoldSvg:t}},__vite__mapDeps([62,1,2,3,4]))).swapHorizontalRoundedBoldSvg,swapVertical:async()=>(await a(async()=>{const{swapVerticalSvg:t}=await import("./swapVertical-By4Z0hO6.js");return{swapVerticalSvg:t}},__vite__mapDeps([63,1,2,3,4]))).swapVerticalSvg,telegram:async()=>(await a(async()=>{const{telegramSvg:t}=await import("./telegram-BBJaS687.js");return{telegramSvg:t}},__vite__mapDeps([64,1,2,3,4]))).telegramSvg,threeDots:async()=>(await a(async()=>{const{threeDotsSvg:t}=await import("./three-dots-BnXK_CiH.js");return{threeDotsSvg:t}},__vite__mapDeps([65,1,2,3,4]))).threeDotsSvg,twitch:async()=>(await a(async()=>{const{twitchSvg:t}=await import("./twitch-C-30YYiM.js");return{twitchSvg:t}},__vite__mapDeps([66,1,2,3,4]))).twitchSvg,twitter:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-CtLwePcZ.js");return{xSvg:t}},__vite__mapDeps([67,1,2,3,4]))).xSvg,twitterIcon:async()=>(await a(async()=>{const{twitterIconSvg:t}=await import("./twitterIcon-CQ5KzDGf.js");return{twitterIconSvg:t}},__vite__mapDeps([68,1,2,3,4]))).twitterIconSvg,verify:async()=>(await a(async()=>{const{verifySvg:t}=await import("./verify-BpAxV_YQ.js");return{verifySvg:t}},__vite__mapDeps([69,1,2,3,4]))).verifySvg,verifyFilled:async()=>(await a(async()=>{const{verifyFilledSvg:t}=await import("./verify-filled-Ct_OhT3a.js");return{verifyFilledSvg:t}},__vite__mapDeps([70,1,2,3,4]))).verifyFilledSvg,wallet:async()=>(await a(async()=>{const{walletSvg:t}=await import("./wallet-BV62huv5.js");return{walletSvg:t}},__vite__mapDeps([71,1,2,3,4]))).walletSvg,walletConnect:async()=>(await a(async()=>{const{walletConnectSvg:t}=await import("./walletconnect-C_tjBcnl.js");return{walletConnectSvg:t}},__vite__mapDeps([72,1,2,3,4]))).walletConnectSvg,walletConnectLightBrown:async()=>(await a(async()=>{const{walletConnectLightBrownSvg:t}=await import("./walletconnect-C_tjBcnl.js");return{walletConnectLightBrownSvg:t}},__vite__mapDeps([72,1,2,3,4]))).walletConnectLightBrownSvg,walletConnectBrown:async()=>(await a(async()=>{const{walletConnectBrownSvg:t}=await import("./walletconnect-C_tjBcnl.js");return{walletConnectBrownSvg:t}},__vite__mapDeps([72,1,2,3,4]))).walletConnectBrownSvg,walletPlaceholder:async()=>(await a(async()=>{const{walletPlaceholderSvg:t}=await import("./wallet-placeholder-CNcppdv7.js");return{walletPlaceholderSvg:t}},__vite__mapDeps([73,1,2,3,4]))).walletPlaceholderSvg,warningCircle:async()=>(await a(async()=>{const{warningCircleSvg:t}=await import("./warning-circle-64ldyNwf.js");return{warningCircleSvg:t}},__vite__mapDeps([74,1,2,3,4]))).warningCircleSvg,x:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-CtLwePcZ.js");return{xSvg:t}},__vite__mapDeps([67,1,2,3,4]))).xSvg,info:async()=>(await a(async()=>{const{infoSvg:t}=await import("./info-R7mdJKyL.js");return{infoSvg:t}},__vite__mapDeps([75,1,2,3,4]))).infoSvg,exclamationTriangle:async()=>(await a(async()=>{const{exclamationTriangleSvg:t}=await import("./exclamation-triangle-soJJPRXR.js");return{exclamationTriangleSvg:t}},__vite__mapDeps([76,1,2,3,4]))).exclamationTriangleSvg,reown:async()=>(await a(async()=>{const{reownSvg:t}=await import("./reown-logo-KxRbVhfb.js");return{reownSvg:t}},__vite__mapDeps([77,1,2,3,4]))).reownSvg};async function gt(t){if(C.has(t))return C.get(t);const i=(M[t]??M.copy)();return C.set(t,i),i}let m=class extends b{constructor(){super(...arguments),this.size="md",this.name="copy",this.color="fg-300",this.aspectRatio="1 / 1"}render(){return this.style.cssText=`
|
|
86
|
+
--local-color: ${`var(--wui-color-${this.color});`}
|
|
87
|
+
--local-width: ${`var(--wui-icon-size-${this.size});`}
|
|
88
|
+
--local-aspect-ratio: ${this.aspectRatio}
|
|
89
|
+
`,f`${ut(gt(this.name),f`<div class="fallback"></div>`)}`}};m.styles=[E,H,_t];A([l()],m.prototype,"size",void 0);A([l()],m.prototype,"name",void 0);A([l()],m.prototype,"color",void 0);A([l()],m.prototype,"aspectRatio",void 0);m=A([$("wui-icon")],m);/**
|
|
90
|
+
* @license
|
|
91
|
+
* Copyright 2018 Google LLC
|
|
92
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
93
|
+
*/const ht=W(class extends F{constructor(t){var e;if(super(t),t.type!==U.ATTRIBUTE||t.name!=="class"||((e=t.strings)==null?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var o,n;if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(r=>r!=="")));for(const r in e)e[r]&&!((o=this.nt)!=null&&o.has(r))&&this.st.add(r);return this.render(e)}const i=t.element.classList;for(const r of this.st)r in e||(i.remove(r),this.st.delete(r));for(const r in e){const s=!!e[r];s===this.st.has(r)||(n=this.nt)!=null&&n.has(r)||(s?(i.add(r),this.st.add(r)):(i.remove(r),this.st.delete(r)))}return V}}),pt=S`
|
|
94
|
+
:host {
|
|
95
|
+
display: inline-flex !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
slot {
|
|
99
|
+
width: 100%;
|
|
100
|
+
display: inline-block;
|
|
101
|
+
font-style: normal;
|
|
102
|
+
font-family: var(--wui-font-family);
|
|
103
|
+
font-feature-settings:
|
|
104
|
+
'tnum' on,
|
|
105
|
+
'lnum' on,
|
|
106
|
+
'case' on;
|
|
107
|
+
line-height: 130%;
|
|
108
|
+
font-weight: var(--wui-font-weight-regular);
|
|
109
|
+
overflow: inherit;
|
|
110
|
+
text-overflow: inherit;
|
|
111
|
+
text-align: var(--local-align);
|
|
112
|
+
color: var(--local-color);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.wui-line-clamp-1 {
|
|
116
|
+
overflow: hidden;
|
|
117
|
+
display: -webkit-box;
|
|
118
|
+
-webkit-box-orient: vertical;
|
|
119
|
+
-webkit-line-clamp: 1;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.wui-line-clamp-2 {
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
display: -webkit-box;
|
|
125
|
+
-webkit-box-orient: vertical;
|
|
126
|
+
-webkit-line-clamp: 2;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.wui-font-medium-400 {
|
|
130
|
+
font-size: var(--wui-font-size-medium);
|
|
131
|
+
font-weight: var(--wui-font-weight-light);
|
|
132
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.wui-font-medium-600 {
|
|
136
|
+
font-size: var(--wui-font-size-medium);
|
|
137
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.wui-font-title-600 {
|
|
141
|
+
font-size: var(--wui-font-size-title);
|
|
142
|
+
letter-spacing: var(--wui-letter-spacing-title);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.wui-font-title-6-600 {
|
|
146
|
+
font-size: var(--wui-font-size-title-6);
|
|
147
|
+
letter-spacing: var(--wui-letter-spacing-title-6);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.wui-font-mini-700 {
|
|
151
|
+
font-size: var(--wui-font-size-mini);
|
|
152
|
+
letter-spacing: var(--wui-letter-spacing-mini);
|
|
153
|
+
text-transform: uppercase;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.wui-font-large-500,
|
|
157
|
+
.wui-font-large-600,
|
|
158
|
+
.wui-font-large-700 {
|
|
159
|
+
font-size: var(--wui-font-size-large);
|
|
160
|
+
letter-spacing: var(--wui-letter-spacing-large);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.wui-font-2xl-500,
|
|
164
|
+
.wui-font-2xl-600,
|
|
165
|
+
.wui-font-2xl-700 {
|
|
166
|
+
font-size: var(--wui-font-size-2xl);
|
|
167
|
+
letter-spacing: var(--wui-letter-spacing-2xl);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.wui-font-paragraph-400,
|
|
171
|
+
.wui-font-paragraph-500,
|
|
172
|
+
.wui-font-paragraph-600,
|
|
173
|
+
.wui-font-paragraph-700 {
|
|
174
|
+
font-size: var(--wui-font-size-paragraph);
|
|
175
|
+
letter-spacing: var(--wui-letter-spacing-paragraph);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.wui-font-small-400,
|
|
179
|
+
.wui-font-small-500,
|
|
180
|
+
.wui-font-small-600 {
|
|
181
|
+
font-size: var(--wui-font-size-small);
|
|
182
|
+
letter-spacing: var(--wui-letter-spacing-small);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.wui-font-tiny-400,
|
|
186
|
+
.wui-font-tiny-500,
|
|
187
|
+
.wui-font-tiny-600 {
|
|
188
|
+
font-size: var(--wui-font-size-tiny);
|
|
189
|
+
letter-spacing: var(--wui-letter-spacing-tiny);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.wui-font-micro-700,
|
|
193
|
+
.wui-font-micro-600 {
|
|
194
|
+
font-size: var(--wui-font-size-micro);
|
|
195
|
+
letter-spacing: var(--wui-letter-spacing-micro);
|
|
196
|
+
text-transform: uppercase;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.wui-font-tiny-400,
|
|
200
|
+
.wui-font-small-400,
|
|
201
|
+
.wui-font-medium-400,
|
|
202
|
+
.wui-font-paragraph-400 {
|
|
203
|
+
font-weight: var(--wui-font-weight-light);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.wui-font-large-700,
|
|
207
|
+
.wui-font-paragraph-700,
|
|
208
|
+
.wui-font-micro-700,
|
|
209
|
+
.wui-font-mini-700 {
|
|
210
|
+
font-weight: var(--wui-font-weight-bold);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.wui-font-medium-600,
|
|
214
|
+
.wui-font-medium-title-600,
|
|
215
|
+
.wui-font-title-6-600,
|
|
216
|
+
.wui-font-large-600,
|
|
217
|
+
.wui-font-paragraph-600,
|
|
218
|
+
.wui-font-small-600,
|
|
219
|
+
.wui-font-tiny-600,
|
|
220
|
+
.wui-font-micro-600 {
|
|
221
|
+
font-weight: var(--wui-font-weight-medium);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
:host([disabled]) {
|
|
225
|
+
opacity: 0.4;
|
|
226
|
+
}
|
|
227
|
+
`;var O=function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let y=class extends b{constructor(){super(...arguments),this.variant="paragraph-500",this.color="fg-300",this.align="left",this.lineClamp=void 0}render(){const e={[`wui-font-${this.variant}`]:!0,[`wui-color-${this.color}`]:!0,[`wui-line-clamp-${this.lineClamp}`]:!!this.lineClamp};return this.style.cssText=`
|
|
228
|
+
--local-align: ${this.align};
|
|
229
|
+
--local-color: var(--wui-color-${this.color});
|
|
230
|
+
`,f`<slot class=${ht(e)}></slot>`}};y.styles=[E,pt];O([l()],y.prototype,"variant",void 0);O([l()],y.prototype,"color",void 0);O([l()],y.prototype,"align",void 0);O([l()],y.prototype,"lineClamp",void 0);y=O([$("wui-text")],y);const vt=S`
|
|
231
|
+
:host {
|
|
232
|
+
display: inline-flex;
|
|
233
|
+
justify-content: center;
|
|
234
|
+
align-items: center;
|
|
235
|
+
position: relative;
|
|
236
|
+
overflow: hidden;
|
|
237
|
+
background-color: var(--wui-color-gray-glass-020);
|
|
238
|
+
border-radius: var(--local-border-radius);
|
|
239
|
+
border: var(--local-border);
|
|
240
|
+
box-sizing: content-box;
|
|
241
|
+
width: var(--local-size);
|
|
242
|
+
height: var(--local-size);
|
|
243
|
+
min-height: var(--local-size);
|
|
244
|
+
min-width: var(--local-size);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
@supports (background: color-mix(in srgb, white 50%, black)) {
|
|
248
|
+
:host {
|
|
249
|
+
background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
`;var v=function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let g=class extends b{constructor(){super(...arguments),this.size="md",this.backgroundColor="accent-100",this.iconColor="accent-100",this.background="transparent",this.border=!1,this.borderColor="wui-color-bg-125",this.icon="copy"}render(){const e=this.iconSize||this.size,i=this.size==="lg",o=this.size==="xl",n=i?"12%":"16%",r=i?"xxs":o?"s":"3xl",s=this.background==="gray",c=this.background==="opaque",u=this.backgroundColor==="accent-100"&&c||this.backgroundColor==="success-100"&&c||this.backgroundColor==="error-100"&&c||this.backgroundColor==="inverse-100"&&c;let h=`var(--wui-color-${this.backgroundColor})`;return u?h=`var(--wui-icon-box-bg-${this.backgroundColor})`:s&&(h=`var(--wui-color-gray-${this.backgroundColor})`),this.style.cssText=`
|
|
253
|
+
--local-bg-value: ${h};
|
|
254
|
+
--local-bg-mix: ${u||s?"100%":n};
|
|
255
|
+
--local-border-radius: var(--wui-border-radius-${r});
|
|
256
|
+
--local-size: var(--wui-icon-box-size-${this.size});
|
|
257
|
+
--local-border: ${this.borderColor==="wui-color-bg-125"?"2px":"1px"} solid ${this.border?`var(--${this.borderColor})`:"transparent"}
|
|
258
|
+
`,f` <wui-icon color=${this.iconColor} size=${e} name=${this.icon}></wui-icon> `}};g.styles=[E,X,vt];v([l()],g.prototype,"size",void 0);v([l()],g.prototype,"backgroundColor",void 0);v([l()],g.prototype,"iconColor",void 0);v([l()],g.prototype,"iconSize",void 0);v([l()],g.prototype,"background",void 0);v([l({type:Boolean})],g.prototype,"border",void 0);v([l()],g.prototype,"borderColor",void 0);v([l()],g.prototype,"icon",void 0);g=v([$("wui-icon-box")],g);const wt=S`
|
|
259
|
+
:host {
|
|
260
|
+
display: block;
|
|
261
|
+
width: var(--local-width);
|
|
262
|
+
height: var(--local-height);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
img {
|
|
266
|
+
display: block;
|
|
267
|
+
width: 100%;
|
|
268
|
+
height: 100%;
|
|
269
|
+
object-fit: cover;
|
|
270
|
+
object-position: center center;
|
|
271
|
+
border-radius: inherit;
|
|
272
|
+
}
|
|
273
|
+
`;var L=function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let x=class extends b{constructor(){super(...arguments),this.src="./path/to/image.jpg",this.alt="Image",this.size=void 0}render(){return this.style.cssText=`
|
|
274
|
+
--local-width: ${this.size?`var(--wui-icon-size-${this.size});`:"100%"};
|
|
275
|
+
--local-height: ${this.size?`var(--wui-icon-size-${this.size});`:"100%"};
|
|
276
|
+
`,f`<img src=${this.src} alt=${this.alt} @error=${this.handleImageError} />`}handleImageError(){this.dispatchEvent(new CustomEvent("onLoadError",{bubbles:!0,composed:!0}))}};x.styles=[E,H,wt];L([l()],x.prototype,"src",void 0);L([l()],x.prototype,"alt",void 0);L([l()],x.prototype,"size",void 0);x=L([$("wui-image")],x);const ft=S`
|
|
277
|
+
:host {
|
|
278
|
+
display: flex;
|
|
279
|
+
justify-content: center;
|
|
280
|
+
align-items: center;
|
|
281
|
+
height: var(--wui-spacing-m);
|
|
282
|
+
padding: 0 var(--wui-spacing-3xs) !important;
|
|
283
|
+
border-radius: var(--wui-border-radius-5xs);
|
|
284
|
+
transition:
|
|
285
|
+
border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1),
|
|
286
|
+
background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
|
|
287
|
+
will-change: border-radius, background-color;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
:host > wui-text {
|
|
291
|
+
transform: translateY(5%);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
:host([data-variant='main']) {
|
|
295
|
+
background-color: var(--wui-color-accent-glass-015);
|
|
296
|
+
color: var(--wui-color-accent-100);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
:host([data-variant='shade']) {
|
|
300
|
+
background-color: var(--wui-color-gray-glass-010);
|
|
301
|
+
color: var(--wui-color-fg-200);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
:host([data-variant='success']) {
|
|
305
|
+
background-color: var(--wui-icon-box-bg-success-100);
|
|
306
|
+
color: var(--wui-color-success-100);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
:host([data-variant='error']) {
|
|
310
|
+
background-color: var(--wui-icon-box-bg-error-100);
|
|
311
|
+
color: var(--wui-color-error-100);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
:host([data-size='lg']) {
|
|
315
|
+
padding: 11px 5px !important;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
:host([data-size='lg']) > wui-text {
|
|
319
|
+
transform: translateY(2%);
|
|
320
|
+
}
|
|
321
|
+
`;var z=function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let R=class extends b{constructor(){super(...arguments),this.variant="main",this.size="lg"}render(){this.dataset.variant=this.variant,this.dataset.size=this.size;const e=this.size==="md"?"mini-700":"micro-700";return f`
|
|
322
|
+
<wui-text data-variant=${this.variant} variant=${e} color="inherit">
|
|
323
|
+
<slot></slot>
|
|
324
|
+
</wui-text>
|
|
325
|
+
`}};R.styles=[E,ft];z([l()],R.prototype,"variant",void 0);z([l()],R.prototype,"size",void 0);R=z([$("wui-tag")],R);const mt=S`
|
|
326
|
+
:host {
|
|
327
|
+
display: flex;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
:host([data-size='sm']) > svg {
|
|
331
|
+
width: 12px;
|
|
332
|
+
height: 12px;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
:host([data-size='md']) > svg {
|
|
336
|
+
width: 16px;
|
|
337
|
+
height: 16px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
:host([data-size='lg']) > svg {
|
|
341
|
+
width: 24px;
|
|
342
|
+
height: 24px;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
:host([data-size='xl']) > svg {
|
|
346
|
+
width: 32px;
|
|
347
|
+
height: 32px;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
svg {
|
|
351
|
+
animation: rotate 2s linear infinite;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
circle {
|
|
355
|
+
fill: none;
|
|
356
|
+
stroke: var(--local-color);
|
|
357
|
+
stroke-width: 4px;
|
|
358
|
+
stroke-dasharray: 1, 124;
|
|
359
|
+
stroke-dashoffset: 0;
|
|
360
|
+
stroke-linecap: round;
|
|
361
|
+
animation: dash 1.5s ease-in-out infinite;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
:host([data-size='md']) > svg > circle {
|
|
365
|
+
stroke-width: 6px;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
:host([data-size='sm']) > svg > circle {
|
|
369
|
+
stroke-width: 8px;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
@keyframes rotate {
|
|
373
|
+
100% {
|
|
374
|
+
transform: rotate(360deg);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
@keyframes dash {
|
|
379
|
+
0% {
|
|
380
|
+
stroke-dasharray: 1, 124;
|
|
381
|
+
stroke-dashoffset: 0;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
50% {
|
|
385
|
+
stroke-dasharray: 90, 124;
|
|
386
|
+
stroke-dashoffset: -35;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
100% {
|
|
390
|
+
stroke-dashoffset: -125;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
`;var k=function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let P=class extends b{constructor(){super(...arguments),this.color="accent-100",this.size="lg"}render(){return this.style.cssText=`--local-color: ${this.color==="inherit"?"inherit":`var(--wui-color-${this.color})`}`,this.dataset.size=this.size,f`<svg viewBox="25 25 50 50">
|
|
394
|
+
<circle r="20" cy="50" cx="50"></circle>
|
|
395
|
+
</svg>`}};P.styles=[E,mt];k([l()],P.prototype,"color",void 0);k([l()],P.prototype,"size",void 0);P=k([$("wui-loading-spinner")],P);export{w as U,ht as a,$ as c,W as e,nt as f,l as n,$t as o,Et as r};
|