@m0-foundation/swap-component 0.0.1
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/dist/m0-swap-component/ConstantsUtil-btJ3XIXu.js +28 -0
- package/dist/m0-swap-component/ConstantsUtil-btJ3XIXu.js.map +1 -0
- package/dist/m0-swap-component/HelpersUtil-5wkO4kIW.js +142 -0
- package/dist/m0-swap-component/HelpersUtil-5wkO4kIW.js.map +1 -0
- package/dist/m0-swap-component/PhArrowCircleDown-BiDIiYXi.js +76 -0
- package/dist/m0-swap-component/PhArrowCircleDown-BiDIiYXi.js.map +1 -0
- package/dist/m0-swap-component/PhArrowClockwise-BRnlxNUR.js +76 -0
- package/dist/m0-swap-component/PhArrowClockwise-BRnlxNUR.js.map +1 -0
- package/dist/m0-swap-component/PhArrowDown-Co2hyXIs.js +76 -0
- package/dist/m0-swap-component/PhArrowDown-Co2hyXIs.js.map +1 -0
- package/dist/m0-swap-component/PhArrowLeft-Cb8ijwK6.js +76 -0
- package/dist/m0-swap-component/PhArrowLeft-Cb8ijwK6.js.map +1 -0
- package/dist/m0-swap-component/PhArrowRight-B9t--Gmh.js +76 -0
- package/dist/m0-swap-component/PhArrowRight-B9t--Gmh.js.map +1 -0
- package/dist/m0-swap-component/PhArrowSquareOut-eGBMEr5T.js +76 -0
- package/dist/m0-swap-component/PhArrowSquareOut-eGBMEr5T.js.map +1 -0
- package/dist/m0-swap-component/PhArrowUp-CjSpT-xh.js +76 -0
- package/dist/m0-swap-component/PhArrowUp-CjSpT-xh.js.map +1 -0
- package/dist/m0-swap-component/PhArrowUpRight-B8u6wk-A.js +76 -0
- package/dist/m0-swap-component/PhArrowUpRight-B8u6wk-A.js.map +1 -0
- package/dist/m0-swap-component/PhArrowsClockwise-CBcfV6j6.js +76 -0
- package/dist/m0-swap-component/PhArrowsClockwise-CBcfV6j6.js.map +1 -0
- package/dist/m0-swap-component/PhArrowsDownUp-CMVR84b1.js +76 -0
- package/dist/m0-swap-component/PhArrowsDownUp-CMVR84b1.js.map +1 -0
- package/dist/m0-swap-component/PhArrowsLeftRight-CmXk8rs2.js +76 -0
- package/dist/m0-swap-component/PhArrowsLeftRight-CmXk8rs2.js.map +1 -0
- package/dist/m0-swap-component/PhBank-BigtjnS8.js +76 -0
- package/dist/m0-swap-component/PhBank-BigtjnS8.js.map +1 -0
- package/dist/m0-swap-component/PhBrowser-BOulLD8D.js +76 -0
- package/dist/m0-swap-component/PhBrowser-BOulLD8D.js.map +1 -0
- package/dist/m0-swap-component/PhCaretDown-BvvZ65ad.js +76 -0
- package/dist/m0-swap-component/PhCaretDown-BvvZ65ad.js.map +1 -0
- package/dist/m0-swap-component/PhCaretLeft-DtwjZbZ7.js +76 -0
- package/dist/m0-swap-component/PhCaretLeft-DtwjZbZ7.js.map +1 -0
- package/dist/m0-swap-component/PhCaretRight-C8LuSZkO.js +76 -0
- package/dist/m0-swap-component/PhCaretRight-C8LuSZkO.js.map +1 -0
- package/dist/m0-swap-component/PhCaretUp-B2lAObip.js +76 -0
- package/dist/m0-swap-component/PhCaretUp-B2lAObip.js.map +1 -0
- package/dist/m0-swap-component/PhCheck-DQtuVrQf.js +76 -0
- package/dist/m0-swap-component/PhCheck-DQtuVrQf.js.map +1 -0
- package/dist/m0-swap-component/PhCircleHalf-CXfZ0QZv.js +76 -0
- package/dist/m0-swap-component/PhCircleHalf-CXfZ0QZv.js.map +1 -0
- package/dist/m0-swap-component/PhClock-CXsmuc_a.js +76 -0
- package/dist/m0-swap-component/PhClock-CXsmuc_a.js.map +1 -0
- package/dist/m0-swap-component/PhCompass-Cg-qnMon.js +76 -0
- package/dist/m0-swap-component/PhCompass-Cg-qnMon.js.map +1 -0
- package/dist/m0-swap-component/PhCopy-kGRKcvb4.js +76 -0
- package/dist/m0-swap-component/PhCopy-kGRKcvb4.js.map +1 -0
- package/dist/m0-swap-component/PhCreditCard-jYFausLO.js +76 -0
- package/dist/m0-swap-component/PhCreditCard-jYFausLO.js.map +1 -0
- package/dist/m0-swap-component/PhCurrencyDollar-C8vSY3fy.js +76 -0
- package/dist/m0-swap-component/PhCurrencyDollar-C8vSY3fy.js.map +1 -0
- package/dist/m0-swap-component/PhDesktop-AczlBCho.js +76 -0
- package/dist/m0-swap-component/PhDesktop-AczlBCho.js.map +1 -0
- package/dist/m0-swap-component/PhDeviceMobile-3rFbdWLA.js +76 -0
- package/dist/m0-swap-component/PhDeviceMobile-3rFbdWLA.js.map +1 -0
- package/dist/m0-swap-component/PhDotsThree-cJsXXsvY.js +76 -0
- package/dist/m0-swap-component/PhDotsThree-cJsXXsvY.js.map +1 -0
- package/dist/m0-swap-component/PhEnvelope-C1bxHVXw.js +76 -0
- package/dist/m0-swap-component/PhEnvelope-C1bxHVXw.js.map +1 -0
- package/dist/m0-swap-component/PhFunnelSimple-DhqB9fsu.js +76 -0
- package/dist/m0-swap-component/PhFunnelSimple-DhqB9fsu.js.map +1 -0
- package/dist/m0-swap-component/PhGlobe-BFp6kx95.js +76 -0
- package/dist/m0-swap-component/PhGlobe-BFp6kx95.js.map +1 -0
- package/dist/m0-swap-component/PhIdentificationCard-BdYxckWB.js +76 -0
- package/dist/m0-swap-component/PhIdentificationCard-BdYxckWB.js.map +1 -0
- package/dist/m0-swap-component/PhImage-CXxX5oq3.js +76 -0
- package/dist/m0-swap-component/PhImage-CXxX5oq3.js.map +1 -0
- package/dist/m0-swap-component/PhInfo-BcuP36hY.js +76 -0
- package/dist/m0-swap-component/PhInfo-BcuP36hY.js.map +1 -0
- package/dist/m0-swap-component/PhLightbulb-DkWwRl94.js +76 -0
- package/dist/m0-swap-component/PhLightbulb-DkWwRl94.js.map +1 -0
- package/dist/m0-swap-component/PhMagnifyingGlass-B_fFjslY.js +76 -0
- package/dist/m0-swap-component/PhMagnifyingGlass-B_fFjslY.js.map +1 -0
- package/dist/m0-swap-component/PhPaperPlaneRight-BIzGG3QW.js +76 -0
- package/dist/m0-swap-component/PhPaperPlaneRight-BIzGG3QW.js.map +1 -0
- package/dist/m0-swap-component/PhPlus-BGosT2zu.js +76 -0
- package/dist/m0-swap-component/PhPlus-BGosT2zu.js.map +1 -0
- package/dist/m0-swap-component/PhPower-BMqDnP1n.js +76 -0
- package/dist/m0-swap-component/PhPower-BMqDnP1n.js.map +1 -0
- package/dist/m0-swap-component/PhPuzzlePiece-DNMpiJNU.js +76 -0
- package/dist/m0-swap-component/PhPuzzlePiece-DNMpiJNU.js.map +1 -0
- package/dist/m0-swap-component/PhQrCode-DrHkqrU4.js +76 -0
- package/dist/m0-swap-component/PhQrCode-DrHkqrU4.js.map +1 -0
- package/dist/m0-swap-component/PhQuestion-zTfvwqNz.js +76 -0
- package/dist/m0-swap-component/PhQuestion-zTfvwqNz.js.map +1 -0
- package/dist/m0-swap-component/PhQuestionMark-h3Nk1Yf1.js +76 -0
- package/dist/m0-swap-component/PhQuestionMark-h3Nk1Yf1.js.map +1 -0
- package/dist/m0-swap-component/PhSealCheck-DPPqSt6G.js +76 -0
- package/dist/m0-swap-component/PhSealCheck-DPPqSt6G.js.map +1 -0
- package/dist/m0-swap-component/PhSignOut-CJgnrE_v.js +76 -0
- package/dist/m0-swap-component/PhSignOut-CJgnrE_v.js.map +1 -0
- package/dist/m0-swap-component/PhSpinner-CMTEIWbw.js +76 -0
- package/dist/m0-swap-component/PhSpinner-CMTEIWbw.js.map +1 -0
- package/dist/m0-swap-component/PhTrash-CeDVW4am.js +76 -0
- package/dist/m0-swap-component/PhTrash-CeDVW4am.js.map +1 -0
- package/dist/m0-swap-component/PhUser-lQ9WUtAV.js +76 -0
- package/dist/m0-swap-component/PhUser-lQ9WUtAV.js.map +1 -0
- package/dist/m0-swap-component/PhVault-EnLnS_IQ.js +76 -0
- package/dist/m0-swap-component/PhVault-EnLnS_IQ.js.map +1 -0
- package/dist/m0-swap-component/PhWallet-CUeDZydd.js +76 -0
- package/dist/m0-swap-component/PhWallet-CUeDZydd.js.map +1 -0
- package/dist/m0-swap-component/PhWarning-CokeGZs2.js +76 -0
- package/dist/m0-swap-component/PhWarning-CokeGZs2.js.map +1 -0
- package/dist/m0-swap-component/PhWarningCircle-vWtA7S0R.js +76 -0
- package/dist/m0-swap-component/PhWarningCircle-vWtA7S0R.js.map +1 -0
- package/dist/m0-swap-component/PhX-DwCRIvoc.js +76 -0
- package/dist/m0-swap-component/PhX-DwCRIvoc.js.map +1 -0
- package/dist/m0-swap-component/data-capture-BmovBbKV.js +573 -0
- package/dist/m0-swap-component/data-capture-BmovBbKV.js.map +1 -0
- package/dist/m0-swap-component/email-B4niz3Ms.js +445 -0
- package/dist/m0-swap-component/email-B4niz3Ms.js.map +1 -0
- package/dist/m0-swap-component/embedded-wallet-D6bzjX_K.js +988 -0
- package/dist/m0-swap-component/embedded-wallet-D6bzjX_K.js.map +1 -0
- package/dist/m0-swap-component/features-EhJNVE-M.js +355 -0
- package/dist/m0-swap-component/features-EhJNVE-M.js.map +1 -0
- package/dist/m0-swap-component/if-defined-2CMpVr2R.js +12 -0
- package/dist/m0-swap-component/if-defined-2CMpVr2R.js.map +1 -0
- package/dist/m0-swap-component/index-B4xuj7uR.js +965 -0
- package/dist/m0-swap-component/index-B4xuj7uR.js.map +1 -0
- package/dist/m0-swap-component/index-BVZ66GYf.js +206 -0
- package/dist/m0-swap-component/index-BVZ66GYf.js.map +1 -0
- package/dist/m0-swap-component/index-BZXyMieH.js +150 -0
- package/dist/m0-swap-component/index-BZXyMieH.js.map +1 -0
- package/dist/m0-swap-component/index-Bj5sA_Ri.js +252 -0
- package/dist/m0-swap-component/index-Bj5sA_Ri.js.map +1 -0
- package/dist/m0-swap-component/index-Bs-pPJYj.js +129 -0
- package/dist/m0-swap-component/index-Bs-pPJYj.js.map +1 -0
- package/dist/m0-swap-component/index-CMS76VPf.js +474 -0
- package/dist/m0-swap-component/index-CMS76VPf.js.map +1 -0
- package/dist/m0-swap-component/index-CoMTkqee.js +95 -0
- package/dist/m0-swap-component/index-CoMTkqee.js.map +1 -0
- package/dist/m0-swap-component/index-DE0OtbL2.js +3566 -0
- package/dist/m0-swap-component/index-DE0OtbL2.js.map +1 -0
- package/dist/m0-swap-component/index-DEG-YczD.js +231 -0
- package/dist/m0-swap-component/index-DEG-YczD.js.map +1 -0
- package/dist/m0-swap-component/index-DY_Ijq_4.js +4345 -0
- package/dist/m0-swap-component/index-DY_Ijq_4.js.map +1 -0
- package/dist/m0-swap-component/index-IRpGhIhy.js +9394 -0
- package/dist/m0-swap-component/index-IRpGhIhy.js.map +1 -0
- package/dist/m0-swap-component/index-Z70nBYWG.js +113 -0
- package/dist/m0-swap-component/index-Z70nBYWG.js.map +1 -0
- package/dist/m0-swap-component/index-iNFotRMa.js +73 -0
- package/dist/m0-swap-component/index-iNFotRMa.js.map +1 -0
- package/dist/m0-swap-component/index-n1fooC-v.js +37757 -0
- package/dist/m0-swap-component/index-n1fooC-v.js.map +1 -0
- package/dist/m0-swap-component/index.esm.js +2 -0
- package/dist/m0-swap-component/index.esm.js.map +1 -0
- package/dist/m0-swap-component/loader.esm.js.map +1 -0
- package/dist/m0-swap-component/m0-swap-component.esm.js +48 -0
- package/dist/m0-swap-component/m0-swap-component.esm.js.map +1 -0
- package/dist/m0-swap-component/native-CPtqJIn7.js +18 -0
- package/dist/m0-swap-component/native-CPtqJIn7.js.map +1 -0
- package/dist/m0-swap-component/onramp-BppY2eDR.js +1003 -0
- package/dist/m0-swap-component/onramp-BppY2eDR.js.map +1 -0
- package/dist/m0-swap-component/pay-with-exchange-BJYQgTMB.js +639 -0
- package/dist/m0-swap-component/pay-with-exchange-BJYQgTMB.js.map +1 -0
- package/dist/m0-swap-component/property-BN-VaT99.js +625 -0
- package/dist/m0-swap-component/property-BN-VaT99.js.map +1 -0
- package/dist/m0-swap-component/receive-BptRM_5_.js +281 -0
- package/dist/m0-swap-component/receive-BptRM_5_.js.map +1 -0
- package/dist/m0-swap-component/ref-3xALOvo5.js +25 -0
- package/dist/m0-swap-component/ref-3xALOvo5.js.map +1 -0
- package/dist/m0-swap-component/send-BCyHM4Zr.js +1408 -0
- package/dist/m0-swap-component/send-BCyHM4Zr.js.map +1 -0
- package/dist/m0-swap-component/socials-BbajCSWV.js +824 -0
- package/dist/m0-swap-component/socials-BbajCSWV.js.map +1 -0
- package/dist/m0-swap-component/swap-module-5ZLM-vAV.js +140887 -0
- package/dist/m0-swap-component/swap-module-5ZLM-vAV.js.map +1 -0
- package/dist/m0-swap-component/swap-module.entry.esm.js.map +1 -0
- package/dist/m0-swap-component/swap-module.entry.js +15 -0
- package/dist/m0-swap-component/swaps-DyGe65DR.js +2121 -0
- package/dist/m0-swap-component/swaps-DyGe65DR.js.map +1 -0
- package/dist/m0-swap-component/transactions-BZ9l4zt5.js +60 -0
- package/dist/m0-swap-component/transactions-BZ9l4zt5.js.map +1 -0
- package/dist/m0-swap-component/utils-RCeZbvdb.js +95 -0
- package/dist/m0-swap-component/utils-RCeZbvdb.js.map +1 -0
- package/dist/m0-swap-component/w3m-modal-D0HWVPsj.js +2097 -0
- package/dist/m0-swap-component/w3m-modal-D0HWVPsj.js.map +1 -0
- package/dist/m0-swap-component/wui-button-BeTWD3Va.js +223 -0
- package/dist/m0-swap-component/wui-button-BeTWD3Va.js.map +1 -0
- package/dist/m0-swap-component/wui-email-input-CgnfUH0c.js +65 -0
- package/dist/m0-swap-component/wui-email-input-CgnfUH0c.js.map +1 -0
- package/dist/m0-swap-component/wui-icon-B0uTDhW-.js +4 -0
- package/dist/m0-swap-component/wui-icon-B0uTDhW-.js.map +1 -0
- package/dist/m0-swap-component/wui-icon-box-s87lODBB.js +4 -0
- package/dist/m0-swap-component/wui-icon-box-s87lODBB.js.map +1 -0
- package/dist/m0-swap-component/wui-icon-link-BFpV9kPE.js +127 -0
- package/dist/m0-swap-component/wui-icon-link-BFpV9kPE.js.map +1 -0
- package/dist/m0-swap-component/wui-image-BvjxoR51.js +4 -0
- package/dist/m0-swap-component/wui-image-BvjxoR51.js.map +1 -0
- package/dist/m0-swap-component/wui-input-amount-CWQfP3RO.js +182 -0
- package/dist/m0-swap-component/wui-input-amount-CWQfP3RO.js.map +1 -0
- package/dist/m0-swap-component/wui-input-text-g0sN4B2y.js +4 -0
- package/dist/m0-swap-component/wui-input-text-g0sN4B2y.js.map +1 -0
- package/dist/m0-swap-component/wui-link-VqM3wLny.js +123 -0
- package/dist/m0-swap-component/wui-link-VqM3wLny.js.map +1 -0
- package/dist/m0-swap-component/wui-list-item-BIijofqN.js +170 -0
- package/dist/m0-swap-component/wui-list-item-BIijofqN.js.map +1 -0
- package/dist/m0-swap-component/wui-list-social-C7GhkRc8.js +119 -0
- package/dist/m0-swap-component/wui-list-social-C7GhkRc8.js.map +1 -0
- package/dist/m0-swap-component/wui-list-token-C94lmAbT.js +134 -0
- package/dist/m0-swap-component/wui-list-token-C94lmAbT.js.map +1 -0
- package/dist/m0-swap-component/wui-list-wallet-C7fnQvCW.js +622 -0
- package/dist/m0-swap-component/wui-list-wallet-C7fnQvCW.js.map +1 -0
- package/dist/m0-swap-component/wui-loading-spinner-CW2_5SKA.js +4 -0
- package/dist/m0-swap-component/wui-loading-spinner-CW2_5SKA.js.map +1 -0
- package/dist/m0-swap-component/wui-loading-thumbnail-y3sGkT5j.js +337 -0
- package/dist/m0-swap-component/wui-loading-thumbnail-y3sGkT5j.js.map +1 -0
- package/dist/m0-swap-component/wui-qr-code-DekJTDGf.js +3412 -0
- package/dist/m0-swap-component/wui-qr-code-DekJTDGf.js.map +1 -0
- package/dist/m0-swap-component/wui-separator-DMZIL_Av.js +67 -0
- package/dist/m0-swap-component/wui-separator-DMZIL_Av.js.map +1 -0
- package/dist/m0-swap-component/wui-shimmer-CVFC8fMx.js +4 -0
- package/dist/m0-swap-component/wui-shimmer-CVFC8fMx.js.map +1 -0
- package/dist/m0-swap-component/wui-text-BS_lZKY4.js +1127 -0
- package/dist/m0-swap-component/wui-text-BS_lZKY4.js.map +1 -0
- package/dist/m0-swap-component/wui-token-button-CsOFoNJG.js +214 -0
- package/dist/m0-swap-component/wui-token-button-CsOFoNJG.js.map +1 -0
- package/dist/m0-swap-component/wui-visual-hU2Mkyrv.js +565 -0
- package/dist/m0-swap-component/wui-visual-hU2Mkyrv.js.map +1 -0
- package/dist/m0-swap-component/wui-wallet-switch-CWbdtfbN.js +459 -0
- package/dist/m0-swap-component/wui-wallet-switch-CWbdtfbN.js.map +1 -0
- package/dist/types/components/swap-module/balances.d.ts +16 -0
- package/dist/types/components/swap-module/chains.d.ts +16 -0
- package/dist/types/components/swap-module/store.d.ts +34 -0
- package/dist/types/components/swap-module/swap-module.d.ts +113 -0
- package/dist/types/components/swap-module/utils/constants.d.ts +7 -0
- package/dist/types/components/swap-module/utils/formatters.d.ts +23 -0
- package/dist/types/components/swap-module/utils/reown.d.ts +59 -0
- package/dist/types/components/swap-module/utils/wallet.d.ts +83 -0
- package/dist/types/components.d.ts +165 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1732 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +60 -0
|
@@ -0,0 +1,625 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2019 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
const r = globalThis, c$1 = r.ShadowRoot && (r.ShadyCSS === void 0 || r.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, a$1 = Symbol(), i$1 = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let l$2 = class l {
|
|
8
|
+
constructor(s, t, o) {
|
|
9
|
+
if (this._$cssResult$ = !0, o !== a$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
10
|
+
this.cssText = s, this.t = t;
|
|
11
|
+
}
|
|
12
|
+
get styleSheet() {
|
|
13
|
+
let s = this.o;
|
|
14
|
+
const t = this.t;
|
|
15
|
+
if (c$1 && s === void 0) {
|
|
16
|
+
const o = t !== void 0 && t.length === 1;
|
|
17
|
+
o && (s = i$1.get(t)), s === void 0 && ((this.o = s = new CSSStyleSheet()).replaceSync(this.cssText), o && i$1.set(t, s));
|
|
18
|
+
}
|
|
19
|
+
return s;
|
|
20
|
+
}
|
|
21
|
+
toString() {
|
|
22
|
+
return this.cssText;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
const h$1 = (e) => new l$2(typeof e == "string" ? e : e + "", void 0, a$1), p$3 = (e, ...s) => {
|
|
26
|
+
const t = e.length === 1 ? e[0] : s.reduce((o, S, u) => o + ((n) => {
|
|
27
|
+
if (n._$cssResult$ === !0) return n.cssText;
|
|
28
|
+
if (typeof n == "number") return n;
|
|
29
|
+
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
|
+
})(S) + e[u + 1], e[0]);
|
|
31
|
+
return new l$2(t, e, a$1);
|
|
32
|
+
}, d$2 = (e, s) => {
|
|
33
|
+
if (c$1) e.adoptedStyleSheets = s.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
34
|
+
else for (const t of s) {
|
|
35
|
+
const o = document.createElement("style"), S = r.litNonce;
|
|
36
|
+
S !== void 0 && o.setAttribute("nonce", S), o.textContent = t.cssText, e.appendChild(o);
|
|
37
|
+
}
|
|
38
|
+
}, y$3 = c$1 ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((s) => {
|
|
39
|
+
let t = "";
|
|
40
|
+
for (const o of s.cssRules) t += o.cssText;
|
|
41
|
+
return h$1(t);
|
|
42
|
+
})(e) : e;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @license
|
|
46
|
+
* Copyright 2017 Google LLC
|
|
47
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
|
+
*/
|
|
49
|
+
const { is: b$2, defineProperty: v$1, getOwnPropertyDescriptor: S$1, getOwnPropertyNames: U$1, getOwnPropertySymbols: w$2, getPrototypeOf: A } = Object, a = globalThis, f$2 = a.trustedTypes, O$2 = f$2 ? f$2.emptyScript : "", p$2 = a.reactiveElementPolyfillSupport, l$1 = (o, t) => o, d$1 = { toAttribute(o, t) {
|
|
50
|
+
switch (t) {
|
|
51
|
+
case Boolean:
|
|
52
|
+
o = o ? O$2 : null;
|
|
53
|
+
break;
|
|
54
|
+
case Object:
|
|
55
|
+
case Array:
|
|
56
|
+
o = o == null ? o : JSON.stringify(o);
|
|
57
|
+
}
|
|
58
|
+
return o;
|
|
59
|
+
}, fromAttribute(o, t) {
|
|
60
|
+
let e = o;
|
|
61
|
+
switch (t) {
|
|
62
|
+
case Boolean:
|
|
63
|
+
e = o !== null;
|
|
64
|
+
break;
|
|
65
|
+
case Number:
|
|
66
|
+
e = o === null ? null : Number(o);
|
|
67
|
+
break;
|
|
68
|
+
case Object:
|
|
69
|
+
case Array:
|
|
70
|
+
try {
|
|
71
|
+
e = JSON.parse(o);
|
|
72
|
+
} catch (s) {
|
|
73
|
+
e = null;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return e;
|
|
77
|
+
} }, y$2 = (o, t) => !b$2(o, t), E$1 = { attribute: !0, type: String, converter: d$1, reflect: !1, hasChanged: y$2 };
|
|
78
|
+
var _$1, $;
|
|
79
|
+
(_$1 = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), ($ = a.litPropertyMetadata) != null || (a.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
80
|
+
class c extends HTMLElement {
|
|
81
|
+
static addInitializer(t) {
|
|
82
|
+
var e;
|
|
83
|
+
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
84
|
+
}
|
|
85
|
+
static get observedAttributes() {
|
|
86
|
+
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
87
|
+
}
|
|
88
|
+
static createProperty(t, e = E$1) {
|
|
89
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
90
|
+
const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
|
91
|
+
i !== void 0 && v$1(this.prototype, t, i);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
static getPropertyDescriptor(t, e, s) {
|
|
95
|
+
var r;
|
|
96
|
+
const { get: i, set: n } = (r = S$1(this.prototype, t)) != null ? r : { get() {
|
|
97
|
+
return this[e];
|
|
98
|
+
}, set(h) {
|
|
99
|
+
this[e] = h;
|
|
100
|
+
} };
|
|
101
|
+
return { get() {
|
|
102
|
+
return i == null ? void 0 : i.call(this);
|
|
103
|
+
}, set(h) {
|
|
104
|
+
const g = i == null ? void 0 : i.call(this);
|
|
105
|
+
n.call(this, h), this.requestUpdate(t, g, s);
|
|
106
|
+
}, configurable: !0, enumerable: !0 };
|
|
107
|
+
}
|
|
108
|
+
static getPropertyOptions(t) {
|
|
109
|
+
var e;
|
|
110
|
+
return (e = this.elementProperties.get(t)) != null ? e : E$1;
|
|
111
|
+
}
|
|
112
|
+
static _$Ei() {
|
|
113
|
+
if (this.hasOwnProperty(l$1("elementProperties"))) return;
|
|
114
|
+
const t = A(this);
|
|
115
|
+
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
116
|
+
}
|
|
117
|
+
static finalize() {
|
|
118
|
+
if (this.hasOwnProperty(l$1("finalized"))) return;
|
|
119
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(l$1("properties"))) {
|
|
120
|
+
const e = this.properties, s = [...U$1(e), ...w$2(e)];
|
|
121
|
+
for (const i of s) this.createProperty(i, e[i]);
|
|
122
|
+
}
|
|
123
|
+
const t = this[Symbol.metadata];
|
|
124
|
+
if (t !== null) {
|
|
125
|
+
const e = litPropertyMetadata.get(t);
|
|
126
|
+
if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
|
|
127
|
+
}
|
|
128
|
+
this._$Eh = /* @__PURE__ */ new Map();
|
|
129
|
+
for (const [e, s] of this.elementProperties) {
|
|
130
|
+
const i = this._$Eu(e, s);
|
|
131
|
+
i !== void 0 && this._$Eh.set(i, e);
|
|
132
|
+
}
|
|
133
|
+
this.elementStyles = this.finalizeStyles(this.styles);
|
|
134
|
+
}
|
|
135
|
+
static finalizeStyles(t) {
|
|
136
|
+
const e = [];
|
|
137
|
+
if (Array.isArray(t)) {
|
|
138
|
+
const s = new Set(t.flat(1 / 0).reverse());
|
|
139
|
+
for (const i of s) e.unshift(y$3(i));
|
|
140
|
+
} else t !== void 0 && e.push(y$3(t));
|
|
141
|
+
return e;
|
|
142
|
+
}
|
|
143
|
+
static _$Eu(t, e) {
|
|
144
|
+
const s = e.attribute;
|
|
145
|
+
return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
146
|
+
}
|
|
147
|
+
constructor() {
|
|
148
|
+
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
|
149
|
+
}
|
|
150
|
+
_$Ev() {
|
|
151
|
+
var t;
|
|
152
|
+
this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
|
|
153
|
+
}
|
|
154
|
+
addController(t) {
|
|
155
|
+
var e, s;
|
|
156
|
+
((e = this._$EO) != null ? e : this._$EO = /* @__PURE__ */ new Set()).add(t), this.renderRoot !== void 0 && this.isConnected && ((s = t.hostConnected) == null || s.call(t));
|
|
157
|
+
}
|
|
158
|
+
removeController(t) {
|
|
159
|
+
var e;
|
|
160
|
+
(e = this._$EO) == null || e.delete(t);
|
|
161
|
+
}
|
|
162
|
+
_$E_() {
|
|
163
|
+
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
164
|
+
for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
|
|
165
|
+
t.size > 0 && (this._$Ep = t);
|
|
166
|
+
}
|
|
167
|
+
createRenderRoot() {
|
|
168
|
+
var e;
|
|
169
|
+
const t = (e = this.shadowRoot) != null ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
170
|
+
return d$2(t, this.constructor.elementStyles), t;
|
|
171
|
+
}
|
|
172
|
+
connectedCallback() {
|
|
173
|
+
var t, e;
|
|
174
|
+
(t = this.renderRoot) != null || (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (e = this._$EO) == null || e.forEach((s) => {
|
|
175
|
+
var i;
|
|
176
|
+
return (i = s.hostConnected) == null ? void 0 : i.call(s);
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
enableUpdating(t) {
|
|
180
|
+
}
|
|
181
|
+
disconnectedCallback() {
|
|
182
|
+
var t;
|
|
183
|
+
(t = this._$EO) == null || t.forEach((e) => {
|
|
184
|
+
var s;
|
|
185
|
+
return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
attributeChangedCallback(t, e, s) {
|
|
189
|
+
this._$AK(t, s);
|
|
190
|
+
}
|
|
191
|
+
_$EC(t, e) {
|
|
192
|
+
var n;
|
|
193
|
+
const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
|
|
194
|
+
if (i !== void 0 && s.reflect === !0) {
|
|
195
|
+
const r = (((n = s.converter) == null ? void 0 : n.toAttribute) !== void 0 ? s.converter : d$1).toAttribute(e, s.type);
|
|
196
|
+
this._$Em = t, r == null ? this.removeAttribute(i) : this.setAttribute(i, r), this._$Em = null;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
_$AK(t, e) {
|
|
200
|
+
var n;
|
|
201
|
+
const s = this.constructor, i = s._$Eh.get(t);
|
|
202
|
+
if (i !== void 0 && this._$Em !== i) {
|
|
203
|
+
const r = s.getPropertyOptions(i), h = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((n = r.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? r.converter : d$1;
|
|
204
|
+
this._$Em = i, this[i] = h.fromAttribute(e, r.type), this._$Em = null;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
requestUpdate(t, e, s) {
|
|
208
|
+
var i;
|
|
209
|
+
if (t !== void 0) {
|
|
210
|
+
if (s != null || (s = this.constructor.getPropertyOptions(t)), !((i = s.hasChanged) != null ? i : y$2)(this[t], e)) return;
|
|
211
|
+
this.P(t, e, s);
|
|
212
|
+
}
|
|
213
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
214
|
+
}
|
|
215
|
+
P(t, e, s) {
|
|
216
|
+
var i;
|
|
217
|
+
this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && ((i = this._$Ej) != null ? i : this._$Ej = /* @__PURE__ */ new Set()).add(t);
|
|
218
|
+
}
|
|
219
|
+
async _$ET() {
|
|
220
|
+
this.isUpdatePending = !0;
|
|
221
|
+
try {
|
|
222
|
+
await this._$ES;
|
|
223
|
+
} catch (e) {
|
|
224
|
+
Promise.reject(e);
|
|
225
|
+
}
|
|
226
|
+
const t = this.scheduleUpdate();
|
|
227
|
+
return t != null && await t, !this.isUpdatePending;
|
|
228
|
+
}
|
|
229
|
+
scheduleUpdate() {
|
|
230
|
+
return this.performUpdate();
|
|
231
|
+
}
|
|
232
|
+
performUpdate() {
|
|
233
|
+
var s, i;
|
|
234
|
+
if (!this.isUpdatePending) return;
|
|
235
|
+
if (!this.hasUpdated) {
|
|
236
|
+
if ((s = this.renderRoot) != null || (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
237
|
+
for (const [r, h] of this._$Ep) this[r] = h;
|
|
238
|
+
this._$Ep = void 0;
|
|
239
|
+
}
|
|
240
|
+
const n = this.constructor.elementProperties;
|
|
241
|
+
if (n.size > 0) for (const [r, h] of n) h.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.P(r, this[r], h);
|
|
242
|
+
}
|
|
243
|
+
let t = !1;
|
|
244
|
+
const e = this._$AL;
|
|
245
|
+
try {
|
|
246
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((n) => {
|
|
247
|
+
var r;
|
|
248
|
+
return (r = n.hostUpdate) == null ? void 0 : r.call(n);
|
|
249
|
+
}), this.update(e)) : this._$EU();
|
|
250
|
+
} catch (n) {
|
|
251
|
+
throw t = !1, this._$EU(), n;
|
|
252
|
+
}
|
|
253
|
+
t && this._$AE(e);
|
|
254
|
+
}
|
|
255
|
+
willUpdate(t) {
|
|
256
|
+
}
|
|
257
|
+
_$AE(t) {
|
|
258
|
+
var e;
|
|
259
|
+
(e = this._$EO) == null || e.forEach((s) => {
|
|
260
|
+
var i;
|
|
261
|
+
return (i = s.hostUpdated) == null ? void 0 : i.call(s);
|
|
262
|
+
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
263
|
+
}
|
|
264
|
+
_$EU() {
|
|
265
|
+
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
266
|
+
}
|
|
267
|
+
get updateComplete() {
|
|
268
|
+
return this.getUpdateComplete();
|
|
269
|
+
}
|
|
270
|
+
getUpdateComplete() {
|
|
271
|
+
return this._$ES;
|
|
272
|
+
}
|
|
273
|
+
shouldUpdate(t) {
|
|
274
|
+
return !0;
|
|
275
|
+
}
|
|
276
|
+
update(t) {
|
|
277
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
|
278
|
+
}
|
|
279
|
+
updated(t) {
|
|
280
|
+
}
|
|
281
|
+
firstUpdated(t) {
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
var m$1;
|
|
285
|
+
c.elementStyles = [], c.shadowRootOptions = { mode: "open" }, c[l$1("elementProperties")] = /* @__PURE__ */ new Map(), c[l$1("finalized")] = /* @__PURE__ */ new Map(), p$2 == null || p$2({ ReactiveElement: c }), ((m$1 = a.reactiveElementVersions) != null ? m$1 : a.reactiveElementVersions = []).push("2.0.4");
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @license
|
|
289
|
+
* Copyright 2017 Google LLC
|
|
290
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
291
|
+
*/
|
|
292
|
+
const y$1 = globalThis, S = y$1.trustedTypes, I = S ? S.createPolicy("lit-html", { createHTML: (h) => h }) : void 0, W = "$lit$", p$1 = `lit$${Math.random().toFixed(9).slice(2)}$`, k = "?" + p$1, F = `<${k}>`, v = document, x = () => v.createComment(""), H = (h) => h === null || typeof h != "object" && typeof h != "function", D = Array.isArray, Z = (h) => D(h) || typeof (h == null ? void 0 : h[Symbol.iterator]) == "function", w$1 = `[
|
|
293
|
+
\f\r]`, m = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, B = /-->/g, P$1 = />/g, u$1 = RegExp(`>|${w$1}(?:([^\\s"'>=/]+)(${w$1}*=${w$1}*(?:[^
|
|
294
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), R = /'/g, U = /"/g, V = /^(?:script|style|textarea|title)$/i, O$1 = (h) => (t, ...e) => ({ _$litType$: h, strings: t, values: e }), Y = O$1(1), tt = O$1(2), N = Symbol.for("lit-noChange"), _ = Symbol.for("lit-nothing"), j = /* @__PURE__ */ new WeakMap(), g$1 = v.createTreeWalker(v, 129);
|
|
295
|
+
function z(h, t) {
|
|
296
|
+
if (!Array.isArray(h) || !h.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
297
|
+
return I !== void 0 ? I.createHTML(t) : t;
|
|
298
|
+
}
|
|
299
|
+
const q = (h, t) => {
|
|
300
|
+
const e = h.length - 1, s = [];
|
|
301
|
+
let i, o = t === 2 ? "<svg>" : "", n = m;
|
|
302
|
+
for (let A = 0; A < e; A++) {
|
|
303
|
+
const r = h[A];
|
|
304
|
+
let a, $, l = -1, c = 0;
|
|
305
|
+
for (; c < r.length && (n.lastIndex = c, $ = n.exec(r), $ !== null); ) c = n.lastIndex, n === m ? $[1] === "!--" ? n = B : $[1] !== void 0 ? n = P$1 : $[2] !== void 0 ? (V.test($[2]) && (i = RegExp("</" + $[2], "g")), n = u$1) : $[3] !== void 0 && (n = u$1) : n === u$1 ? $[0] === ">" ? (n = i != null ? i : m, l = -1) : $[1] === void 0 ? l = -2 : (l = n.lastIndex - $[2].length, a = $[1], n = $[3] === void 0 ? u$1 : $[3] === '"' ? U : R) : n === U || n === R ? n = u$1 : n === B || n === P$1 ? n = m : (n = u$1, i = void 0);
|
|
306
|
+
const d = n === u$1 && h[A + 1].startsWith("/>") ? " " : "";
|
|
307
|
+
o += n === m ? r + F : l >= 0 ? (s.push(a), r.slice(0, l) + W + r.slice(l) + p$1 + d) : r + p$1 + (l === -2 ? A : d);
|
|
308
|
+
}
|
|
309
|
+
return [z(h, o + (h[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
|
|
310
|
+
};
|
|
311
|
+
class T {
|
|
312
|
+
constructor({ strings: t, _$litType$: e }, s) {
|
|
313
|
+
let i;
|
|
314
|
+
this.parts = [];
|
|
315
|
+
let o = 0, n = 0;
|
|
316
|
+
const A = t.length - 1, r = this.parts, [a, $] = q(t, e);
|
|
317
|
+
if (this.el = T.createElement(a, s), g$1.currentNode = this.el.content, e === 2) {
|
|
318
|
+
const l = this.el.content.firstChild;
|
|
319
|
+
l.replaceWith(...l.childNodes);
|
|
320
|
+
}
|
|
321
|
+
for (; (i = g$1.nextNode()) !== null && r.length < A; ) {
|
|
322
|
+
if (i.nodeType === 1) {
|
|
323
|
+
if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(W)) {
|
|
324
|
+
const c = $[n++], d = i.getAttribute(l).split(p$1), C = /([.?@])?(.*)/.exec(c);
|
|
325
|
+
r.push({ type: 1, index: o, name: C[2], strings: d, ctor: C[1] === "." ? J : C[1] === "?" ? K : C[1] === "@" ? Q : M }), i.removeAttribute(l);
|
|
326
|
+
} else l.startsWith(p$1) && (r.push({ type: 6, index: o }), i.removeAttribute(l));
|
|
327
|
+
if (V.test(i.tagName)) {
|
|
328
|
+
const l = i.textContent.split(p$1), c = l.length - 1;
|
|
329
|
+
if (c > 0) {
|
|
330
|
+
i.textContent = S ? S.emptyScript : "";
|
|
331
|
+
for (let d = 0; d < c; d++) i.append(l[d], x()), g$1.nextNode(), r.push({ type: 2, index: ++o });
|
|
332
|
+
i.append(l[c], x());
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
} else if (i.nodeType === 8) if (i.data === k) r.push({ type: 2, index: o });
|
|
336
|
+
else {
|
|
337
|
+
let l = -1;
|
|
338
|
+
for (; (l = i.data.indexOf(p$1, l + 1)) !== -1; ) r.push({ type: 7, index: o }), l += p$1.length - 1;
|
|
339
|
+
}
|
|
340
|
+
o++;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
static createElement(t, e) {
|
|
344
|
+
const s = v.createElement("template");
|
|
345
|
+
return s.innerHTML = t, s;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
function f$1(h, t, e = h, s) {
|
|
349
|
+
var n, A, r;
|
|
350
|
+
if (t === N) return t;
|
|
351
|
+
let i = s !== void 0 ? (n = e._$Co) == null ? void 0 : n[s] : e._$Cl;
|
|
352
|
+
const o = H(t) ? void 0 : t._$litDirective$;
|
|
353
|
+
return (i == null ? void 0 : i.constructor) !== o && ((A = i == null ? void 0 : i._$AO) == null || A.call(i, !1), o === void 0 ? i = void 0 : (i = new o(h), i._$AT(h, e, s)), s !== void 0 ? ((r = e._$Co) != null ? r : e._$Co = [])[s] = i : e._$Cl = i), i !== void 0 && (t = f$1(h, i._$AS(h, t.values), i, s)), t;
|
|
354
|
+
}
|
|
355
|
+
class G {
|
|
356
|
+
constructor(t, e) {
|
|
357
|
+
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
358
|
+
}
|
|
359
|
+
get parentNode() {
|
|
360
|
+
return this._$AM.parentNode;
|
|
361
|
+
}
|
|
362
|
+
get _$AU() {
|
|
363
|
+
return this._$AM._$AU;
|
|
364
|
+
}
|
|
365
|
+
u(t) {
|
|
366
|
+
var a;
|
|
367
|
+
const { el: { content: e }, parts: s } = this._$AD, i = ((a = t == null ? void 0 : t.creationScope) != null ? a : v).importNode(e, !0);
|
|
368
|
+
g$1.currentNode = i;
|
|
369
|
+
let o = g$1.nextNode(), n = 0, A = 0, r = s[0];
|
|
370
|
+
for (; r !== void 0; ) {
|
|
371
|
+
if (n === r.index) {
|
|
372
|
+
let $;
|
|
373
|
+
r.type === 2 ? $ = new b$1(o, o.nextSibling, this, t) : r.type === 1 ? $ = new r.ctor(o, r.name, r.strings, this, t) : r.type === 6 && ($ = new X(o, this, t)), this._$AV.push($), r = s[++A];
|
|
374
|
+
}
|
|
375
|
+
n !== (r == null ? void 0 : r.index) && (o = g$1.nextNode(), n++);
|
|
376
|
+
}
|
|
377
|
+
return g$1.currentNode = v, i;
|
|
378
|
+
}
|
|
379
|
+
p(t) {
|
|
380
|
+
let e = 0;
|
|
381
|
+
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
let b$1 = class b {
|
|
385
|
+
get _$AU() {
|
|
386
|
+
var t, e;
|
|
387
|
+
return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
|
|
388
|
+
}
|
|
389
|
+
constructor(t, e, s, i) {
|
|
390
|
+
var o;
|
|
391
|
+
this.type = 2, this._$AH = _, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (o = i == null ? void 0 : i.isConnected) != null ? o : !0;
|
|
392
|
+
}
|
|
393
|
+
get parentNode() {
|
|
394
|
+
let t = this._$AA.parentNode;
|
|
395
|
+
const e = this._$AM;
|
|
396
|
+
return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
|
|
397
|
+
}
|
|
398
|
+
get startNode() {
|
|
399
|
+
return this._$AA;
|
|
400
|
+
}
|
|
401
|
+
get endNode() {
|
|
402
|
+
return this._$AB;
|
|
403
|
+
}
|
|
404
|
+
_$AI(t, e = this) {
|
|
405
|
+
t = f$1(this, t, e), H(t) ? t === _ || t == null || t === "" ? (this._$AH !== _ && this._$AR(), this._$AH = _) : t !== this._$AH && t !== N && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Z(t) ? this.k(t) : this._(t);
|
|
406
|
+
}
|
|
407
|
+
S(t) {
|
|
408
|
+
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
409
|
+
}
|
|
410
|
+
T(t) {
|
|
411
|
+
this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
|
|
412
|
+
}
|
|
413
|
+
_(t) {
|
|
414
|
+
this._$AH !== _ && H(this._$AH) ? this._$AA.nextSibling.data = t : this.T(v.createTextNode(t)), this._$AH = t;
|
|
415
|
+
}
|
|
416
|
+
$(t) {
|
|
417
|
+
var o;
|
|
418
|
+
const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = T.createElement(z(s.h, s.h[0]), this.options)), s);
|
|
419
|
+
if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(e);
|
|
420
|
+
else {
|
|
421
|
+
const n = new G(i, this), A = n.u(this.options);
|
|
422
|
+
n.p(e), this.T(A), this._$AH = n;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
_$AC(t) {
|
|
426
|
+
let e = j.get(t.strings);
|
|
427
|
+
return e === void 0 && j.set(t.strings, e = new T(t)), e;
|
|
428
|
+
}
|
|
429
|
+
k(t) {
|
|
430
|
+
D(this._$AH) || (this._$AH = [], this._$AR());
|
|
431
|
+
const e = this._$AH;
|
|
432
|
+
let s, i = 0;
|
|
433
|
+
for (const o of t) i === e.length ? e.push(s = new b(this.S(x()), this.S(x()), this, this.options)) : s = e[i], s._$AI(o), i++;
|
|
434
|
+
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
|
435
|
+
}
|
|
436
|
+
_$AR(t = this._$AA.nextSibling, e) {
|
|
437
|
+
var s;
|
|
438
|
+
for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
439
|
+
const i = t.nextSibling;
|
|
440
|
+
t.remove(), t = i;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
setConnected(t) {
|
|
444
|
+
var e;
|
|
445
|
+
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
class M {
|
|
449
|
+
get tagName() {
|
|
450
|
+
return this.element.tagName;
|
|
451
|
+
}
|
|
452
|
+
get _$AU() {
|
|
453
|
+
return this._$AM._$AU;
|
|
454
|
+
}
|
|
455
|
+
constructor(t, e, s, i, o) {
|
|
456
|
+
this.type = 1, this._$AH = _, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = _;
|
|
457
|
+
}
|
|
458
|
+
_$AI(t, e = this, s, i) {
|
|
459
|
+
const o = this.strings;
|
|
460
|
+
let n = !1;
|
|
461
|
+
if (o === void 0) t = f$1(this, t, e, 0), n = !H(t) || t !== this._$AH && t !== N, n && (this._$AH = t);
|
|
462
|
+
else {
|
|
463
|
+
const A = t;
|
|
464
|
+
let r, a;
|
|
465
|
+
for (t = o[0], r = 0; r < o.length - 1; r++) a = f$1(this, A[s + r], e, r), a === N && (a = this._$AH[r]), n || (n = !H(a) || a !== this._$AH[r]), a === _ ? t = _ : t !== _ && (t += (a != null ? a : "") + o[r + 1]), this._$AH[r] = a;
|
|
466
|
+
}
|
|
467
|
+
n && !i && this.j(t);
|
|
468
|
+
}
|
|
469
|
+
j(t) {
|
|
470
|
+
t === _ ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
class J extends M {
|
|
474
|
+
constructor() {
|
|
475
|
+
super(...arguments), this.type = 3;
|
|
476
|
+
}
|
|
477
|
+
j(t) {
|
|
478
|
+
this.element[this.name] = t === _ ? void 0 : t;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
class K extends M {
|
|
482
|
+
constructor() {
|
|
483
|
+
super(...arguments), this.type = 4;
|
|
484
|
+
}
|
|
485
|
+
j(t) {
|
|
486
|
+
this.element.toggleAttribute(this.name, !!t && t !== _);
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
class Q extends M {
|
|
490
|
+
constructor(t, e, s, i, o) {
|
|
491
|
+
super(t, e, s, i, o), this.type = 5;
|
|
492
|
+
}
|
|
493
|
+
_$AI(t, e = this) {
|
|
494
|
+
var n;
|
|
495
|
+
if ((t = (n = f$1(this, t, e, 0)) != null ? n : _) === N) return;
|
|
496
|
+
const s = this._$AH, i = t === _ && s !== _ || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== _ && (s === _ || i);
|
|
497
|
+
i && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
498
|
+
}
|
|
499
|
+
handleEvent(t) {
|
|
500
|
+
var e, s;
|
|
501
|
+
typeof this._$AH == "function" ? this._$AH.call((s = (e = this.options) == null ? void 0 : e.host) != null ? s : this.element, t) : this._$AH.handleEvent(t);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
class X {
|
|
505
|
+
constructor(t, e, s) {
|
|
506
|
+
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
|
507
|
+
}
|
|
508
|
+
get _$AU() {
|
|
509
|
+
return this._$AM._$AU;
|
|
510
|
+
}
|
|
511
|
+
_$AI(t) {
|
|
512
|
+
f$1(this, t);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
const E = y$1.litHtmlPolyfillSupport;
|
|
516
|
+
var L;
|
|
517
|
+
E == null || E(T, b$1), ((L = y$1.litHtmlVersions) != null ? L : y$1.litHtmlVersions = []).push("3.1.4");
|
|
518
|
+
const et = (h, t, e) => {
|
|
519
|
+
var o, n;
|
|
520
|
+
const s = (o = e == null ? void 0 : e.renderBefore) != null ? o : t;
|
|
521
|
+
let i = s._$litPart$;
|
|
522
|
+
if (i === void 0) {
|
|
523
|
+
const A = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
|
|
524
|
+
s._$litPart$ = i = new b$1(t.insertBefore(x(), A), A, void 0, e != null ? e : {});
|
|
525
|
+
}
|
|
526
|
+
return i._$AI(h), i;
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* @license
|
|
531
|
+
* Copyright 2017 Google LLC
|
|
532
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
533
|
+
*/
|
|
534
|
+
class n extends c {
|
|
535
|
+
constructor() {
|
|
536
|
+
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
537
|
+
}
|
|
538
|
+
createRenderRoot() {
|
|
539
|
+
var t, r;
|
|
540
|
+
const e = super.createRenderRoot();
|
|
541
|
+
return (r = (t = this.renderOptions).renderBefore) != null || (t.renderBefore = e.firstChild), e;
|
|
542
|
+
}
|
|
543
|
+
update(e) {
|
|
544
|
+
const t = this.render();
|
|
545
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = et(t, this.renderRoot, this.renderOptions);
|
|
546
|
+
}
|
|
547
|
+
connectedCallback() {
|
|
548
|
+
var e;
|
|
549
|
+
super.connectedCallback(), (e = this._$Do) == null || e.setConnected(!0);
|
|
550
|
+
}
|
|
551
|
+
disconnectedCallback() {
|
|
552
|
+
var e;
|
|
553
|
+
super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
|
|
554
|
+
}
|
|
555
|
+
render() {
|
|
556
|
+
return N;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
var o;
|
|
560
|
+
n._$litElement$ = !0, n.finalized = !0, (o = globalThis.litElementHydrateSupport) == null || o.call(globalThis, { LitElement: n });
|
|
561
|
+
const s$1 = globalThis.litElementPolyfillSupport;
|
|
562
|
+
s$1 == null || s$1({ LitElement: n });
|
|
563
|
+
var i;
|
|
564
|
+
((i = globalThis.litElementVersions) != null ? i : globalThis.litElementVersions = []).push("4.0.6");
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* @license
|
|
568
|
+
* Copyright 2017 Google LLC
|
|
569
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
570
|
+
*/
|
|
571
|
+
const s = (e) => (t, n) => {
|
|
572
|
+
n !== void 0 ? n.addInitializer(() => {
|
|
573
|
+
customElements.define(e, t);
|
|
574
|
+
}) : customElements.define(e, t);
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
var h = Object.defineProperty, f = Object.defineProperties;
|
|
578
|
+
var y = Object.getOwnPropertyDescriptors;
|
|
579
|
+
var p = Object.getOwnPropertySymbols;
|
|
580
|
+
var g = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
|
|
581
|
+
var d = (e, t, r) => t in e ? h(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, l = (e, t) => {
|
|
582
|
+
for (var r in t || (t = {}))
|
|
583
|
+
g.call(t, r) && d(e, r, t[r]);
|
|
584
|
+
if (p)
|
|
585
|
+
for (var r of p(t))
|
|
586
|
+
P.call(t, r) && d(e, r, t[r]);
|
|
587
|
+
return e;
|
|
588
|
+
}, u = (e, t) => f(e, y(t));
|
|
589
|
+
/**
|
|
590
|
+
* @license
|
|
591
|
+
* Copyright 2017 Google LLC
|
|
592
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
593
|
+
*/
|
|
594
|
+
const b = { attribute: !0, type: String, converter: d$1, reflect: !1, hasChanged: y$2 }, w = (e = b, t, r) => {
|
|
595
|
+
const { kind: n, metadata: s } = r;
|
|
596
|
+
let a = globalThis.litPropertyMetadata.get(s);
|
|
597
|
+
if (a === void 0 && globalThis.litPropertyMetadata.set(s, a = /* @__PURE__ */ new Map()), a.set(r.name, e), n === "accessor") {
|
|
598
|
+
const { name: o } = r;
|
|
599
|
+
return { set(i) {
|
|
600
|
+
const c = t.get.call(this);
|
|
601
|
+
t.set.call(this, i), this.requestUpdate(o, c, e);
|
|
602
|
+
}, init(i) {
|
|
603
|
+
return i !== void 0 && this.P(o, void 0, e), i;
|
|
604
|
+
} };
|
|
605
|
+
}
|
|
606
|
+
if (n === "setter") {
|
|
607
|
+
const { name: o } = r;
|
|
608
|
+
return function(i) {
|
|
609
|
+
const c = this[o];
|
|
610
|
+
t.call(this, i), this.requestUpdate(o, c, e);
|
|
611
|
+
};
|
|
612
|
+
}
|
|
613
|
+
throw Error("Unsupported decorator location: " + n);
|
|
614
|
+
};
|
|
615
|
+
function O(e) {
|
|
616
|
+
return (t, r) => typeof r == "object" ? w(e, t, r) : ((n, s, a) => {
|
|
617
|
+
const o = s.hasOwnProperty(a);
|
|
618
|
+
return s.constructor.createProperty(a, o ? u(l({}, n), { wrapped: !0 }) : n), o ? Object.getOwnPropertyDescriptor(s, a) : void 0;
|
|
619
|
+
})(e, t, r);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export { O, Y, n, p$3 as p, s, tt as t };
|
|
623
|
+
//# sourceMappingURL=property-BN-VaT99.js.map
|
|
624
|
+
|
|
625
|
+
//# sourceMappingURL=property-BN-VaT99.js.map
|