@beamimpact/web-sdk 1.48.0 → 1.51.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/chunks/_share-dialog-dependencies-B3N69ml2.esm.js +2 -0
- package/dist/chunks/_share-dialog-dependencies-B3N69ml2.esm.js.map +1 -0
- package/dist/chunks/_share-dialog-dependencies-CHbTSPha.esm.js +2 -0
- package/dist/chunks/_share-dialog-dependencies-CHbTSPha.esm.js.map +1 -0
- package/dist/chunks/{beam-errors-fXDkG1zo.esm.d.ts → beam-errors-CCe004HS.esm.d.ts} +2 -7
- package/dist/chunks/beam-errors-Ci0d3926.esm.js +2 -0
- package/dist/chunks/beam-errors-Ci0d3926.esm.js.map +1 -0
- package/dist/chunks/cart-contents-CUgc4y1N.esm.d.ts +18 -0
- package/dist/chunks/cart-contents-DkoytiZh.esm.js +2 -0
- package/dist/chunks/{cart-contents-h60geKWa.esm.js.map → cart-contents-DkoytiZh.esm.js.map} +1 -1
- package/dist/chunks/{css-card-grid-nEc--M5M.esm.js → css-card-grid-B6IEaTiP.esm.js} +2 -2
- package/dist/chunks/{css-card-grid-nEc--M5M.esm.js.map → css-card-grid-B6IEaTiP.esm.js.map} +1 -1
- package/dist/chunks/enforce-config-CQb5MiAV.esm.js +3 -0
- package/dist/chunks/enforce-config-CQb5MiAV.esm.js.map +1 -0
- package/dist/chunks/enforce-config-Cw52SuAc.esm.js +3 -0
- package/dist/chunks/enforce-config-Cw52SuAc.esm.js.map +1 -0
- package/dist/chunks/{events-ZCTR9JGZ.esm.d.ts → events-BKkf9u9l.esm.d.ts} +33 -4
- package/dist/chunks/events-BohmT6Lp.esm.js +2 -0
- package/dist/chunks/events-BohmT6Lp.esm.js.map +1 -0
- package/dist/chunks/{index-JDZQClkA.esm.js → index-BQ4Nr7Ux.esm.js} +2 -2
- package/dist/chunks/{index-JDZQClkA.esm.js.map → index-BQ4Nr7Ux.esm.js.map} +1 -1
- package/dist/chunks/index-B_8DexDX.esm.js +2 -0
- package/dist/chunks/index-B_8DexDX.esm.js.map +1 -0
- package/dist/chunks/{index-v6fG3D6u.esm.d.ts → index-BqBEii8E.esm.d.ts} +1 -1
- package/dist/chunks/index-C-beNpP0.esm.js +2 -0
- package/dist/chunks/index-C-beNpP0.esm.js.map +1 -0
- package/dist/chunks/{index-E8H5A7Qq.esm.js → index-C3hpHWh1.esm.js} +1 -1
- package/dist/chunks/index-C3hpHWh1.esm.js.map +1 -0
- package/dist/chunks/{index-XHm2EBaD.esm.js → index-CFYWEffm.esm.js} +2 -2
- package/dist/chunks/{index-XHm2EBaD.esm.js.map → index-CFYWEffm.esm.js.map} +1 -1
- package/dist/chunks/{index-FQExZDX9.esm.js → index-CFtmDAHb.esm.js} +1 -1
- package/dist/chunks/index-CFtmDAHb.esm.js.map +1 -0
- package/dist/chunks/{index-eXilYHHK.esm.js → index-C_ZNnJIS.esm.js} +2 -2
- package/dist/chunks/{index-eXilYHHK.esm.js.map → index-C_ZNnJIS.esm.js.map} +1 -1
- package/dist/chunks/{index-PA0NAKHV.esm.d.ts → index-CbKkAM6h.esm.d.ts} +1 -1
- package/dist/chunks/index-CbWdmBet.esm.js +2 -0
- package/dist/chunks/index-CbWdmBet.esm.js.map +1 -0
- package/dist/chunks/index-CpPbNdWA.esm.js +2 -0
- package/dist/chunks/index-CpPbNdWA.esm.js.map +1 -0
- package/dist/chunks/index-CyiXyHi8.esm.js +2 -0
- package/dist/chunks/index-CyiXyHi8.esm.js.map +1 -0
- package/dist/chunks/{index-XCMf22lv.esm.js → index-D6qJfs7_.esm.js} +1 -1
- package/dist/chunks/index-D6qJfs7_.esm.js.map +1 -0
- package/dist/chunks/index-DhtZDPvk.esm.js +2 -0
- package/dist/chunks/index-DhtZDPvk.esm.js.map +1 -0
- package/dist/chunks/index-Dnm34FcO.esm.d.ts +46 -0
- package/dist/chunks/index-DvbUE31b.esm.d.ts +46 -0
- package/dist/chunks/index-GcpuX_TZ.esm.js +2 -0
- package/dist/chunks/index-GcpuX_TZ.esm.js.map +1 -0
- package/dist/chunks/index-JSoHc6g1.esm.js +2 -0
- package/dist/chunks/index-JSoHc6g1.esm.js.map +1 -0
- package/dist/chunks/index-MS8_Vije.esm.d.ts +15 -0
- package/dist/chunks/index-XZRQN4Rs.esm.js +2 -0
- package/dist/chunks/index-XZRQN4Rs.esm.js.map +1 -0
- package/dist/chunks/{index-JJjxnRZK.esm.js → index-kDoWfjd5.esm.js} +2 -2
- package/dist/chunks/{index-JJjxnRZK.esm.js.map → index-kDoWfjd5.esm.js.map} +1 -1
- package/dist/chunks/index-n7pxZENA.esm.js +2 -0
- package/dist/chunks/index-n7pxZENA.esm.js.map +1 -0
- package/dist/chunks/{index-PiMq5a49.esm.js → index-oGObXjk6.esm.js} +1 -1
- package/dist/chunks/index-oGObXjk6.esm.js.map +1 -0
- package/dist/chunks/{index--z5MSe4-.esm.d.ts → index-v0tUXySN.esm.d.ts} +3 -2
- package/dist/chunks/{is-all-html-elements-SdSkxirh.esm.js → is-all-html-elements-fcB7UUA1.esm.js} +1 -1
- package/dist/chunks/{is-all-html-elements-SdSkxirh.esm.js.map → is-all-html-elements-fcB7UUA1.esm.js.map} +1 -1
- package/dist/chunks/lit-5uUWs2aX.esm.js +34 -0
- package/dist/chunks/{lit-iNN5L_Qk.esm.js.map → lit-5uUWs2aX.esm.js.map} +1 -1
- package/dist/chunks/loading-template-DXNS89Th.esm.js +2 -0
- package/dist/chunks/{loading-template-t4fFsYtr.esm.js.map → loading-template-DXNS89Th.esm.js.map} +1 -1
- package/dist/chunks/{localize-m-_ESmpk.esm.js → localize-CQCRjY9s.esm.js} +6 -6
- package/dist/chunks/{localize-m-_ESmpk.esm.js.map → localize-CQCRjY9s.esm.js.map} +1 -1
- package/dist/chunks/{localize-o-cYvHQf.esm.js → localize-cDQFOecn.esm.js} +6 -6
- package/dist/chunks/{localize-o-cYvHQf.esm.js.map → localize-cDQFOecn.esm.js.map} +1 -1
- package/dist/chunks/lodash-7H4x2457.esm.js +2 -0
- package/dist/chunks/lodash-7H4x2457.esm.js.map +1 -0
- package/dist/chunks/{openapi-spec-hjdK2L9Q.esm.d.ts → openapi-spec-VAt3phhg.esm.d.ts} +332 -0
- package/dist/chunks/order-page-CMGPM57D.esm.js +2 -0
- package/dist/chunks/order-page-CMGPM57D.esm.js.map +1 -0
- package/dist/chunks/order-page-FzVtMkga.esm.js +2 -0
- package/dist/chunks/order-page-FzVtMkga.esm.js.map +1 -0
- package/dist/chunks/{order-page-9clVUPaS.esm.d.ts → order-page-tSPKLQ24.esm.d.ts} +11 -8
- package/dist/chunks/{progress-bar-PMU_xI3L.esm.js → progress-bar-oJB_t7od.esm.js} +4 -4
- package/dist/chunks/{progress-bar-PMU_xI3L.esm.js.map → progress-bar-oJB_t7od.esm.js.map} +1 -1
- package/dist/chunks/promo-pill-label-D9ptiGak.esm.js +16 -0
- package/dist/chunks/{promo-pill-label-P1X4xeAx.esm.js.map → promo-pill-label-D9ptiGak.esm.js.map} +1 -1
- package/dist/chunks/promo-types-C1unMpo2.esm.d.ts +14 -0
- package/dist/chunks/promoManager-B9cTR1R3.esm.js +2 -0
- package/dist/chunks/promoManager-B9cTR1R3.esm.js.map +1 -0
- package/dist/chunks/promoManager-fl54hq13.esm.js +2 -0
- package/dist/chunks/promoManager-fl54hq13.esm.js.map +1 -0
- package/dist/chunks/{responsive-2lC2Wrtg.esm.js → responsive-9jAzOYoE.esm.js} +2 -2
- package/dist/chunks/{responsive-2lC2Wrtg.esm.js.map → responsive-9jAzOYoE.esm.js.map} +1 -1
- package/dist/chunks/routes-CaSRr919.esm.js +2 -0
- package/dist/chunks/routes-CaSRr919.esm.js.map +1 -0
- package/dist/chunks/{routes-iurI6dvR.esm.d.ts → routes-DDRd747e.esm.d.ts} +76 -3
- package/dist/chunks/routes-KHEaM_40.esm.js +2 -0
- package/dist/chunks/routes-KHEaM_40.esm.js.map +1 -0
- package/dist/chunks/{share-button-k_Xn5956.esm.js → share-button-BbG-gnwj.esm.js} +4 -4
- package/dist/chunks/{share-button-diP8wKOc.esm.js.map → share-button-BbG-gnwj.esm.js.map} +1 -1
- package/dist/chunks/{share-button-diP8wKOc.esm.js → share-button-CvTUluNq.esm.js} +4 -4
- package/dist/chunks/{share-button-k_Xn5956.esm.js.map → share-button-CvTUluNq.esm.js.map} +1 -1
- package/dist/chunks/{share-button-hDn8fnBI.esm.d.ts → share-button-DBVhw4qa.esm.d.ts} +1 -1
- package/dist/chunks/{share-button-SNvuFDC9.esm.js → share-button-R7jgVCPv.esm.js} +1 -1
- package/dist/chunks/{share-button-SNvuFDC9.esm.js.map → share-button-R7jgVCPv.esm.js.map} +1 -1
- package/dist/chunks/{types-zbTZ8-KP.esm.d.ts → types-CPxMwnoR.esm.d.ts} +5 -1
- package/dist/chunks/update-cart-3JFUCJLD.esm.js +2 -0
- package/dist/chunks/update-cart-3JFUCJLD.esm.js.map +1 -0
- package/dist/chunks/update-cart-DNfl9QP2.esm.js +2 -0
- package/dist/chunks/update-cart-DNfl9QP2.esm.js.map +1 -0
- package/dist/chunks/{update-cart-l86bU5uS.esm.d.ts → update-cart-NiToHHJH.esm.d.ts} +2 -2
- package/dist/chunks/{vendor-GKiOHg2N.esm.js → vendor-DRA8u-S7.esm.js} +2 -2
- package/dist/chunks/{vendor-GKiOHg2N.esm.js.map → vendor-DRA8u-S7.esm.js.map} +1 -1
- package/dist/components/beam-partner-logos.d.ts +1 -1
- package/dist/components/beam-partner-logos.esm.js +4 -4
- package/dist/components/beam-partner-logos.esm.js.map +1 -1
- package/dist/components/beam-partner-logos.js +4 -4
- package/dist/components/beam-partner-logos.js.map +1 -1
- package/dist/components/community-impact.d.ts +3 -3
- package/dist/components/community-impact.esm.js +13 -13
- package/dist/components/community-impact.esm.js.map +1 -1
- package/dist/components/community-impact.js +13 -13
- package/dist/components/community-impact.js.map +1 -1
- package/dist/components/cumulative-impact.d.ts +2 -2
- package/dist/components/cumulative-impact.esm.js +8 -8
- package/dist/components/cumulative-impact.esm.js.map +1 -1
- package/dist/components/cumulative-impact.js +8 -8
- package/dist/components/cumulative-impact.js.map +1 -1
- package/dist/components/impact-overview.d.ts +9 -5
- package/dist/components/impact-overview.esm.js +19 -19
- package/dist/components/impact-overview.esm.js.map +1 -1
- package/dist/components/impact-overview.js +19 -19
- package/dist/components/impact-overview.js.map +1 -1
- package/dist/components/index.d.ts +8 -8
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/post-purchase.d.ts +15 -7
- package/dist/components/post-purchase.esm.js +4 -4
- package/dist/components/post-purchase.esm.js.map +1 -1
- package/dist/components/post-purchase.js +4 -4
- package/dist/components/post-purchase.js.map +1 -1
- package/dist/components/product-details-page.d.ts +25 -7
- package/dist/components/product-details-page.esm.js +39 -28
- package/dist/components/product-details-page.esm.js.map +1 -1
- package/dist/components/product-details-page.js +39 -28
- package/dist/components/product-details-page.js.map +1 -1
- package/dist/components/redeem-transaction.d.ts +8 -17
- package/dist/components/redeem-transaction.esm.js +27 -27
- package/dist/components/redeem-transaction.esm.js.map +1 -1
- package/dist/components/redeem-transaction.js +27 -27
- package/dist/components/redeem-transaction.js.map +1 -1
- package/dist/components/select-nonprofit.d.ts +13 -6
- package/dist/components/select-nonprofit.esm.js +50 -45
- package/dist/components/select-nonprofit.esm.js.map +1 -1
- package/dist/components/select-nonprofit.js +50 -45
- package/dist/components/select-nonprofit.js.map +1 -1
- package/dist/components/select-subscription-nonprofit.d.ts +3 -3
- package/dist/components/select-subscription-nonprofit.esm.js +13 -13
- package/dist/components/select-subscription-nonprofit.esm.js.map +1 -1
- package/dist/components/select-subscription-nonprofit.js +13 -13
- package/dist/components/select-subscription-nonprofit.js.map +1 -1
- package/dist/components/shopify.d.ts +12 -11
- package/dist/components/shopify.esm.js +1 -1
- package/dist/components/shopify.esm.js.map +1 -1
- package/dist/components/shopify.js +1 -1
- package/dist/components/shopify.js.map +1 -1
- package/dist/components/social-share.d.ts +3 -3
- package/dist/components/social-share.esm.js +3 -3
- package/dist/components/social-share.esm.js.map +1 -1
- package/dist/components/social-share.js +3 -3
- package/dist/components/social-share.js.map +1 -1
- package/dist/components/subscription-impact.d.ts +5 -4
- package/dist/components/subscription-impact.esm.js +16 -16
- package/dist/components/subscription-impact.esm.js.map +1 -1
- package/dist/components/subscription-impact.js +16 -16
- package/dist/components/subscription-impact.js.map +1 -1
- package/dist/components/subscription-management.d.ts +18 -7
- package/dist/components/subscription-management.esm.js +9 -9
- package/dist/components/subscription-management.esm.js.map +1 -1
- package/dist/components/subscription-management.js +9 -9
- package/dist/components/subscription-management.js.map +1 -1
- package/dist/index.d.ts +23 -21
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/beam.d.ts +1 -1
- package/dist/integrations/beam.esm.js +1 -1
- package/dist/integrations/beam.esm.js.map +1 -1
- package/dist/integrations/beam.js +1 -1
- package/dist/integrations/beam.js.map +1 -1
- package/dist/integrations/cart.d.ts +4 -4
- package/dist/integrations/cart.esm.js +1 -1
- package/dist/integrations/cart.js +1 -1
- package/dist/integrations/index.d.ts +19 -17
- package/dist/integrations/index.esm.js +1 -1
- package/dist/integrations/index.js +1 -1
- package/dist/integrations/logs.d.ts +2 -2
- package/dist/integrations/logs.esm.js +1 -1
- package/dist/integrations/logs.js +1 -1
- package/dist/integrations/promoManager.d.ts +36 -0
- package/dist/integrations/promoManager.esm.js +2 -0
- package/dist/integrations/promoManager.esm.js.map +1 -0
- package/dist/integrations/promoManager.js +2 -0
- package/dist/integrations/promoManager.js.map +1 -0
- package/dist/integrations/session.d.ts +1 -1
- package/dist/integrations/session.esm.js +1 -1
- package/dist/integrations/session.js +1 -1
- package/dist/integrations/shopify.d.ts +10 -10
- package/dist/integrations/shopify.esm.js +1 -1
- package/dist/integrations/shopify.js +1 -1
- package/dist/integrations/statsig.d.ts +1 -1
- package/dist/integrations/statsig.esm.js +2 -2
- package/dist/integrations/statsig.esm.js.map +1 -1
- package/dist/integrations/statsig.js +2 -2
- package/dist/integrations/statsig.js.map +1 -1
- package/dist/integrations/utils.d.ts +7 -5
- package/dist/integrations/utils.esm.js +1 -1
- package/dist/integrations/utils.js +1 -1
- package/dist/react/beam-partner-logos.d.ts +1 -1
- package/dist/react/beam-partner-logos.esm.js +1 -1
- package/dist/react/beam-partner-logos.js +1 -1
- package/dist/react/community-impact.d.ts +3 -3
- package/dist/react/community-impact.esm.js +1 -1
- package/dist/react/community-impact.js +1 -1
- package/dist/react/cumulative-impact.d.ts +2 -2
- package/dist/react/cumulative-impact.esm.js +1 -1
- package/dist/react/cumulative-impact.js +1 -1
- package/dist/react/impact-overview.d.ts +4 -4
- package/dist/react/impact-overview.esm.js +1 -1
- package/dist/react/impact-overview.esm.js.map +1 -1
- package/dist/react/impact-overview.js +1 -1
- package/dist/react/impact-overview.js.map +1 -1
- package/dist/react/index.d.ts +10 -9
- package/dist/react/index.esm.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/post-purchase.d.ts +7 -7
- package/dist/react/post-purchase.esm.js +1 -1
- package/dist/react/post-purchase.esm.js.map +1 -1
- package/dist/react/post-purchase.js +1 -1
- package/dist/react/post-purchase.js.map +1 -1
- package/dist/react/product-details-page.d.ts +3 -3
- package/dist/react/product-details-page.esm.js +1 -1
- package/dist/react/product-details-page.esm.js.map +1 -1
- package/dist/react/product-details-page.js +1 -1
- package/dist/react/product-details-page.js.map +1 -1
- package/dist/react/redeem-transaction.d.ts +8 -7
- package/dist/react/redeem-transaction.esm.js +1 -1
- package/dist/react/redeem-transaction.js +1 -1
- package/dist/react/select-nonprofit.d.ts +8 -7
- package/dist/react/select-nonprofit.esm.js +1 -1
- package/dist/react/select-nonprofit.esm.js.map +1 -1
- package/dist/react/select-nonprofit.js +1 -1
- package/dist/react/select-nonprofit.js.map +1 -1
- package/dist/react/select-subscription-nonprofit.d.ts +7 -6
- package/dist/react/select-subscription-nonprofit.esm.js +1 -1
- package/dist/react/select-subscription-nonprofit.js +1 -1
- package/dist/react/social-share.d.ts +3 -3
- package/dist/react/social-share.esm.js +1 -1
- package/dist/react/social-share.esm.js.map +1 -1
- package/dist/react/social-share.js +1 -1
- package/dist/react/social-share.js.map +1 -1
- package/dist/react/subscription-impact.d.ts +4 -4
- package/dist/react/subscription-impact.esm.js +1 -1
- package/dist/react/subscription-impact.js +1 -1
- package/dist/react/subscription-management.d.ts +7 -7
- package/dist/react/subscription-management.esm.js +1 -1
- package/dist/react/subscription-management.js +1 -1
- package/dist/utils/beam-errors.d.ts +1 -1
- package/dist/utils/beam-errors.esm.js +1 -1
- package/dist/utils/beam-errors.js +1 -1
- package/dist/utils/cart.esm.js +1 -1
- package/dist/utils/cart.js +1 -1
- package/dist/utils/cookies.esm.js +1 -1
- package/dist/utils/cookies.esm.js.map +1 -1
- package/dist/utils/cookies.js +1 -1
- package/dist/utils/cookies.js.map +1 -1
- package/dist/utils/debounce.esm.js +1 -1
- package/dist/utils/debounce.js +1 -1
- package/dist/utils/events.d.ts +5 -4
- package/dist/utils/events.esm.js +1 -1
- package/dist/utils/events.js +1 -1
- package/dist/utils/index.d.ts +7 -5
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/is-equal.esm.js +1 -1
- package/dist/utils/is-equal.js +1 -1
- package/dist/utils/local-storage.esm.js +1 -1
- package/dist/utils/local-storage.js +1 -1
- package/dist/utils/memoize-last.esm.js +1 -1
- package/dist/utils/memoize-last.esm.js.map +1 -1
- package/dist/utils/memoize-last.js +1 -1
- package/dist/utils/memoize-last.js.map +1 -1
- package/dist/utils/network-listeners.esm.js +1 -1
- package/dist/utils/network-listeners.esm.js.map +1 -1
- package/dist/utils/network-listeners.js +1 -1
- package/dist/utils/network-listeners.js.map +1 -1
- package/dist/utils/promoManager.d.ts +123 -0
- package/dist/utils/promoManager.esm.js +2 -0
- package/dist/utils/promoManager.esm.js.map +1 -0
- package/dist/utils/promoManager.js +2 -0
- package/dist/utils/promoManager.js.map +1 -0
- package/dist/utils/remote-session.esm.js +1 -1
- package/dist/utils/remote-session.js +1 -1
- package/dist/utils/wait-for-element.esm.js +1 -1
- package/dist/utils/wait-for-element.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/_share-dialog-dependencies-2jzbs44g.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-2jzbs44g.esm.js.map +0 -1
- package/dist/chunks/_share-dialog-dependencies-C8uChjuF.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-C8uChjuF.esm.js.map +0 -1
- package/dist/chunks/beam-errors-P-Lu07Ce.esm.js +0 -2
- package/dist/chunks/beam-errors-P-Lu07Ce.esm.js.map +0 -1
- package/dist/chunks/cart-contents-CMm57qu0.esm.d.ts +0 -11
- package/dist/chunks/cart-contents-h60geKWa.esm.js +0 -2
- package/dist/chunks/enforce-config-ZAI7WYAd.esm.js +0 -3
- package/dist/chunks/enforce-config-ZAI7WYAd.esm.js.map +0 -1
- package/dist/chunks/enforce-config-ZyPq_4CF.esm.js +0 -3
- package/dist/chunks/enforce-config-ZyPq_4CF.esm.js.map +0 -1
- package/dist/chunks/events-6Z5MkCRr.esm.js +0 -2
- package/dist/chunks/events-6Z5MkCRr.esm.js.map +0 -1
- package/dist/chunks/index-2bLOkP4H.esm.d.ts +0 -32
- package/dist/chunks/index-CsWTfuok.esm.js +0 -2
- package/dist/chunks/index-CsWTfuok.esm.js.map +0 -1
- package/dist/chunks/index-E8H5A7Qq.esm.js.map +0 -1
- package/dist/chunks/index-FQExZDX9.esm.js.map +0 -1
- package/dist/chunks/index-GynYZRPI.esm.d.ts +0 -32
- package/dist/chunks/index-M7Ut5U3j.esm.js +0 -2
- package/dist/chunks/index-M7Ut5U3j.esm.js.map +0 -1
- package/dist/chunks/index-MIp7LlXH.esm.js +0 -2
- package/dist/chunks/index-MIp7LlXH.esm.js.map +0 -1
- package/dist/chunks/index-PiMq5a49.esm.js.map +0 -1
- package/dist/chunks/index-WvOCqhxv.esm.js +0 -2
- package/dist/chunks/index-WvOCqhxv.esm.js.map +0 -1
- package/dist/chunks/index-XCMf22lv.esm.js.map +0 -1
- package/dist/chunks/index-XH3OS_sy.esm.d.ts +0 -15
- package/dist/chunks/index-YJNgLCif.esm.js +0 -2
- package/dist/chunks/index-YJNgLCif.esm.js.map +0 -1
- package/dist/chunks/index-a6oXV2ro.esm.js +0 -2
- package/dist/chunks/index-a6oXV2ro.esm.js.map +0 -1
- package/dist/chunks/index-dkwGkvOu.esm.js +0 -2
- package/dist/chunks/index-dkwGkvOu.esm.js.map +0 -1
- package/dist/chunks/index-iK195-B9.esm.js +0 -2
- package/dist/chunks/index-iK195-B9.esm.js.map +0 -1
- package/dist/chunks/index-nstmHC95.esm.js +0 -2
- package/dist/chunks/index-nstmHC95.esm.js.map +0 -1
- package/dist/chunks/index-vq14EaW4.esm.js +0 -2
- package/dist/chunks/index-vq14EaW4.esm.js.map +0 -1
- package/dist/chunks/lit-iNN5L_Qk.esm.js +0 -34
- package/dist/chunks/loading-template-t4fFsYtr.esm.js +0 -2
- package/dist/chunks/lodash-P8OIs-at.esm.js +0 -2
- package/dist/chunks/lodash-P8OIs-at.esm.js.map +0 -1
- package/dist/chunks/order-page-Z3WcYluU.esm.js +0 -2
- package/dist/chunks/order-page-Z3WcYluU.esm.js.map +0 -1
- package/dist/chunks/order-page-rrfJ4w9F.esm.js +0 -2
- package/dist/chunks/order-page-rrfJ4w9F.esm.js.map +0 -1
- package/dist/chunks/promo-pill-label-P1X4xeAx.esm.js +0 -16
- package/dist/chunks/routes-Dmf2ZNnZ.esm.js +0 -2
- package/dist/chunks/routes-Dmf2ZNnZ.esm.js.map +0 -1
- package/dist/chunks/routes-o1QpF40R.esm.js +0 -2
- package/dist/chunks/routes-o1QpF40R.esm.js.map +0 -1
- package/dist/chunks/shoelace-components-wBxNHnyr.esm.js +0 -2
- package/dist/chunks/shoelace-components-wBxNHnyr.esm.js.map +0 -1
- package/dist/chunks/shoelace-components-xrhk189_.esm.js +0 -2
- package/dist/chunks/shoelace-components-xrhk189_.esm.js.map +0 -1
- package/dist/chunks/update-cart-EGTcbNRX.esm.js +0 -2
- package/dist/chunks/update-cart-EGTcbNRX.esm.js.map +0 -1
- package/dist/chunks/update-cart-FwtFnnGe.esm.js +0 -2
- package/dist/chunks/update-cart-FwtFnnGe.esm.js.map +0 -1
- /package/dist/chunks/{index-EGiUuWe-.esm.d.ts → index-C-hPf29c.esm.d.ts} +0 -0
- /package/dist/chunks/{index-hn6JhG_w.esm.d.ts → index-DXj15KHe.esm.d.ts} +0 -0
- /package/dist/chunks/{index-mTXm0DPh.esm.d.ts → index-DbaDUPup.esm.d.ts} +0 -0
- /package/dist/chunks/{progress-bar-0VS_AmEf.esm.d.ts → progress-bar-CveZ8E6Q.esm.d.ts} +0 -0
- /package/dist/chunks/{promo-pill-label-3bA1z-la.esm.d.ts → promo-pill-label-BXRqZHET.esm.d.ts} +0 -0
- /package/dist/chunks/{types-aju0qrRe.esm.d.ts → types-C7gqAyyH.esm.d.ts} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
class e extends Error{constructor(r,{cause:o,name:t="BeamError"}={}){super(r,{cause:o}),this.name=t,this.supportUrl="https://beamimpact.com"}}class a extends e{constructor(r,o,t){super(t,{name:"BeamNetworkError"}),this.response=r,this.body=o}}class n extends e{constructor(r=[],o){super(o,{name:"BeamMissingConfig"}),this.missingConfigKeyNames=r}}class i extends e{constructor(r="Both transactionId and subscriptionId cannot be specified at the same time."){super(r,{name:"BeamInvalidAttributeCombinationError"})}}class c extends e{constructor(r){super(r,{name:"BeamLocalStorageError"})}}class m extends e{constructor(r){super(r,{name:"BeamSetupError"})}}var u=Object.freeze({__proto__:null,BeamError:e,InvalidAttributeCombinationError:i,LocalStorageError:c,MissingConfig:n,NetworkError:a,SetupError:m});export{e as B,i as I,c as L,n as M,a as N,m as S,u as b};
|
|
2
|
-
//# sourceMappingURL=beam-errors-P-Lu07Ce.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"beam-errors-P-Lu07Ce.esm.js","sources":["../../src/utils/beam-errors.ts"],"sourcesContent":["export class BeamError extends Error {\n supportUrl: string;\n constructor(msg?: string, { cause, name = \"BeamError\" }: { cause?: any; name?: string } = {}) {\n super(msg, { cause });\n this.name = name;\n this.supportUrl = \"https://beamimpact.com\";\n }\n}\n\nexport class NetworkError extends BeamError {\n /** Fetch Response object with .ok, .status, etc.*/\n response: Response;\n /** If network response included JSON payload, it is parsed and available here */\n body?: Record<string, string>;\n constructor(response: Response, body?: Record<string, string>, msg?: string) {\n super(msg, { name: \"BeamNetworkError\" });\n this.response = response;\n this.body = body;\n }\n}\n\nexport class MissingConfig extends BeamError {\n missingConfigKeyNames: string[];\n constructor(missingConfigKeyNames: string[] = [], msg?: string) {\n super(msg, { name: \"BeamMissingConfig\" });\n this.missingConfigKeyNames = missingConfigKeyNames;\n }\n}\n\nexport class InvalidAttributeCombinationError extends BeamError {\n constructor(msg = \"Both transactionId and subscriptionId cannot be specified at the same time.\") {\n super(msg, { name: \"BeamInvalidAttributeCombinationError\" });\n }\n}\n\nexport class LocalStorageError extends BeamError {\n constructor(msg?: string) {\n super(msg, { name: \"BeamLocalStorageError\" });\n }\n}\n\nexport class SetupError extends BeamError {\n constructor(msg?: string) {\n super(msg, { name: \"BeamSetupError\" });\n }\n}\n"],"names":["BeamError","msg","cause","name","NetworkError","response","body","MissingConfig","missingConfigKeyNames","InvalidAttributeCombinationError","LocalStorageError","SetupError"],"mappings":"AAAa,MAAAA,UAAkB,KAAM,CAEnC,YAAYC,EAAc,CAAE,MAAAC,EAAO,KAAAC,EAAO,WAAY,EAAoC,CAAA,EAAI,CAC5F,MAAMF,EAAK,CAAE,MAAAC,CAAM,CAAC,EACpB,KAAK,KAAOC,EACZ,KAAK,WAAa,wBACpB,CACF,CAEO,MAAMC,UAAqBJ,CAAU,CAK1C,YAAYK,EAAoBC,EAA+BL,EAAc,CAC3E,MAAMA,EAAK,CAAE,KAAM,kBAAmB,CAAC,EACvC,KAAK,SAAWI,EAChB,KAAK,KAAOC,CACd,CACF,CAEO,MAAMC,UAAsBP,CAAU,CAE3C,YAAYQ,EAAkC,CAAIP,EAAAA,EAAc,CAC9D,MAAMA,EAAK,CAAE,KAAM,mBAAoB,CAAC,EACxC,KAAK,sBAAwBO,CAC/B,CACF,CAEO,MAAMC,UAAyCT,CAAU,CAC9D,YAAYC,EAAM,8EAA+E,CAC/F,MAAMA,EAAK,CAAE,KAAM,sCAAuC,CAAC,CAC7D,CACF,CAEa,MAAAS,UAA0BV,CAAU,CAC/C,YAAYC,EAAc,CACxB,MAAMA,EAAK,CAAE,KAAM,uBAAwB,CAAC,CAC9C,CACF,CAEa,MAAAU,UAAmBX,CAAU,CACxC,YAAYC,EAAc,CACxB,MAAMA,EAAK,CAAE,KAAM,gBAAiB,CAAC,CACvC,CACF"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { p as paths } from './openapi-spec-hjdK2L9Q.esm.js';
|
|
2
|
-
|
|
3
|
-
type TCartApi = paths["/chain/findEligibleNonprofitsForCart"]["post"]["requestBody"]["content"]["application/json"]["cart"];
|
|
4
|
-
type TCart = TCartApi & {
|
|
5
|
-
content: {
|
|
6
|
-
items: Record<string, any>[];
|
|
7
|
-
discounts?: Record<string, any>[] | undefined | null;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export type { TCart as T, TCartApi as a };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{f as r}from"./lit-iNN5L_Qk.esm.js";import{M as s,I as a}from"./beam-errors-P-Lu07Ce.esm.js";import{logger as l}from"../utils/logger.esm.js";const d=r`html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{/*height:auto;*/max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}`;function f(i,e=i.tagName){customElements.get(e)||customElements.define(e,i)}function h(i,e){const t=[],n=e;for(const o of i)n[o]==null&&t.push(o);if(t.length>0)throw l.error(`Beam Impact - Missing Required Config Values:
|
|
2
|
-
`,t.join(", "),e),new s(t);return!0}function m(i,e){return i.every(t=>t in e&&e[t]!=null)}function u(i,e){if(i.every(t=>e[t]!==null&&e[t]!==void 0))throw new a}export{u as a,m as b,d as c,f as d,h as e};
|
|
3
|
-
//# sourceMappingURL=enforce-config-ZAI7WYAd.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enforce-config-ZAI7WYAd.esm.js","sources":["../../src/shared/css-reset.ts","../../src/shared/defineCustomElement.ts","../../src/shared/enforce-config.ts"],"sourcesContent":["import { css } from \"lit\";\n\n// minireset.css v0.0.7 | MIT License | github.com/jgthms/minireset.css\n// prettier-ignore\nexport const cssReset = css`html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{/*height:auto;*/max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}`;\n","/**\n * Defines a custom element based on its static tagName property\n */\nexport function defineCustomElement(\n CustomElementClass: CustomElementConstructor & { tagName: string },\n tagName = CustomElementClass[\"tagName\"]\n) {\n customElements.get(tagName) || customElements.define(tagName, CustomElementClass);\n}\n","import { InvalidAttributeCombinationError, MissingConfig } from \"../utils/beam-errors\";\nimport { logger } from \"../utils/logger\";\n\nexport function enforceConfig<T>(keys: (keyof T)[], input: unknown): input is Required<T> {\n const missingKeys: string[] = [];\n const check = input as Record<string | number | symbol, unknown>;\n for (const key of keys) {\n if (check[key] == null) {\n missingKeys.push(key as string);\n }\n }\n if (missingKeys.length > 0) {\n logger.error(\"Beam Impact - Missing Required Config Values:\\n\", missingKeys.join(\", \"), input);\n throw new MissingConfig(missingKeys);\n }\n return true;\n}\n\nexport function areRequiredKeysDefined<T extends object>(requiredKeys: (keyof T)[], config: T): boolean {\n return requiredKeys.every((key) => key in config && config[key] != null);\n}\n\nexport function checkForInvalidAttributeCombinations<T>(keys: (keyof T)[], config: T): void {\n const InvalidAttributeCombinationsPresent = keys.every((key) => config[key] !== null && config[key] !== undefined);\n if (InvalidAttributeCombinationsPresent) {\n throw new InvalidAttributeCombinationError();\n }\n}\n"],"names":["cssReset","css","defineCustomElement","CustomElementClass","tagName","enforceConfig","keys","input","missingKeys","check","key","logger","MissingConfig","areRequiredKeysDefined","requiredKeys","config","checkForInvalidAttributeCombinations","InvalidAttributeCombinationError"],"mappings":"mJAIO,MAAMA,EAAWC,gaCDjB,SAASC,EACdC,EACAC,EAAUD,EAAmB,QAC7B,CACA,eAAe,IAAIC,CAAO,GAAK,eAAe,OAAOA,EAASD,CAAkB,CAClF,CCLO,SAASE,EAAiBC,EAAmBC,EAAsC,CACxF,MAAMC,EAAwB,CAAA,EACxBC,EAAQF,EACd,UAAWG,KAAOJ,EACZG,EAAMC,CAAG,GAAK,MAChBF,EAAY,KAAKE,CAAa,EAGlC,GAAIF,EAAY,OAAS,EACvB,MAAAG,EAAO,MAAM;AAAA,EAAmDH,EAAY,KAAK,IAAI,EAAGD,CAAK,EACvF,IAAIK,EAAcJ,CAAW,EAErC,MAAO,EACT,CAEO,SAASK,EAAyCC,EAA2BC,EAAoB,CACtG,OAAOD,EAAa,MAAOJ,GAAQA,KAAOK,GAAUA,EAAOL,CAAG,GAAK,IAAI,CACzE,CAEO,SAASM,EAAwCV,EAAmBS,EAAiB,CAE1F,GAD4CT,EAAK,MAAOI,GAAQK,EAAOL,CAAG,IAAM,MAAQK,EAAOL,CAAG,IAAM,MAAS,EAE/G,MAAM,IAAIO,CAEd"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{f as r}from"./lit-iNN5L_Qk.esm.js";import{M as s,I as a}from"./beam-errors-P-Lu07Ce.esm.js";import{logger as l}from"../utils/logger.js";const d=r`html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{/*height:auto;*/max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}`;function f(i,e=i.tagName){customElements.get(e)||customElements.define(e,i)}function h(i,e){const t=[],n=e;for(const o of i)n[o]==null&&t.push(o);if(t.length>0)throw l.error(`Beam Impact - Missing Required Config Values:
|
|
2
|
-
`,t.join(", "),e),new s(t);return!0}function m(i,e){return i.every(t=>t in e&&e[t]!=null)}function u(i,e){if(i.every(t=>e[t]!==null&&e[t]!==void 0))throw new a}export{u as a,m as b,d as c,f as d,h as e};
|
|
3
|
-
//# sourceMappingURL=enforce-config-ZyPq_4CF.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enforce-config-ZyPq_4CF.esm.js","sources":["../../src/shared/css-reset.ts","../../src/shared/defineCustomElement.ts","../../src/shared/enforce-config.ts"],"sourcesContent":["import { css } from \"lit\";\n\n// minireset.css v0.0.7 | MIT License | github.com/jgthms/minireset.css\n// prettier-ignore\nexport const cssReset = css`html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{/*height:auto;*/max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}`;\n","/**\n * Defines a custom element based on its static tagName property\n */\nexport function defineCustomElement(\n CustomElementClass: CustomElementConstructor & { tagName: string },\n tagName = CustomElementClass[\"tagName\"]\n) {\n customElements.get(tagName) || customElements.define(tagName, CustomElementClass);\n}\n","import { InvalidAttributeCombinationError, MissingConfig } from \"../utils/beam-errors\";\nimport { logger } from \"../utils/logger\";\n\nexport function enforceConfig<T>(keys: (keyof T)[], input: unknown): input is Required<T> {\n const missingKeys: string[] = [];\n const check = input as Record<string | number | symbol, unknown>;\n for (const key of keys) {\n if (check[key] == null) {\n missingKeys.push(key as string);\n }\n }\n if (missingKeys.length > 0) {\n logger.error(\"Beam Impact - Missing Required Config Values:\\n\", missingKeys.join(\", \"), input);\n throw new MissingConfig(missingKeys);\n }\n return true;\n}\n\nexport function areRequiredKeysDefined<T extends object>(requiredKeys: (keyof T)[], config: T): boolean {\n return requiredKeys.every((key) => key in config && config[key] != null);\n}\n\nexport function checkForInvalidAttributeCombinations<T>(keys: (keyof T)[], config: T): void {\n const InvalidAttributeCombinationsPresent = keys.every((key) => config[key] !== null && config[key] !== undefined);\n if (InvalidAttributeCombinationsPresent) {\n throw new InvalidAttributeCombinationError();\n }\n}\n"],"names":["cssReset","css","defineCustomElement","CustomElementClass","tagName","enforceConfig","keys","input","missingKeys","check","key","logger","MissingConfig","areRequiredKeysDefined","requiredKeys","config","checkForInvalidAttributeCombinations","InvalidAttributeCombinationError"],"mappings":"+IAIO,MAAMA,EAAWC,gaCDjB,SAASC,EACdC,EACAC,EAAUD,EAAmB,QAC7B,CACA,eAAe,IAAIC,CAAO,GAAK,eAAe,OAAOA,EAASD,CAAkB,CAClF,CCLO,SAASE,EAAiBC,EAAmBC,EAAsC,CACxF,MAAMC,EAAwB,CAAA,EACxBC,EAAQF,EACd,UAAWG,KAAOJ,EACZG,EAAMC,CAAG,GAAK,MAChBF,EAAY,KAAKE,CAAa,EAGlC,GAAIF,EAAY,OAAS,EACvB,MAAAG,EAAO,MAAM;AAAA,EAAmDH,EAAY,KAAK,IAAI,EAAGD,CAAK,EACvF,IAAIK,EAAcJ,CAAW,EAErC,MAAO,EACT,CAEO,SAASK,EAAyCC,EAA2BC,EAAoB,CACtG,OAAOD,EAAa,MAAOJ,GAAQA,KAAOK,GAAUA,EAAOL,CAAG,GAAK,IAAI,CACzE,CAEO,SAASM,EAAwCV,EAAmBS,EAAiB,CAE1F,GAD4CT,EAAK,MAAOI,GAAQK,EAAOL,CAAG,IAAM,MAAQK,EAAOL,CAAG,IAAM,MAAS,EAE/G,MAAM,IAAIO,CAEd"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const t=class C extends CustomEvent{constructor(e){super(C.eventName,{detail:e,bubbles:!0,composed:!0})}};t.eventName="beamnetworkcall";let a=t;const s=class E extends CustomEvent{constructor(e){super(E.eventName,{detail:e,bubbles:!0,composed:!0})}};s.eventName="beamnonprofitselect";let n=s;const o=class N extends CustomEvent{constructor(e){super(N.eventName,{detail:e,bubbles:!0,composed:!0})}};o.eventName="beamcartchange";let r=o;const m=class i extends CustomEvent{constructor(e){super(i.eventName,{detail:e,bubbles:!0,composed:!0})}};m.eventName="beamcartcreated";let c=m;const l=class B extends CustomEvent{constructor(e){super(B.eventName,{detail:e,bubbles:!0,composed:!0})}};l.eventName="beamordercreated";let v=l;const d=class f extends CustomEvent{constructor(e){super(f.eventName,{detail:e,bubbles:!0,composed:!0})}};d.eventName="beamstatuschange";let u=d;const b=class x extends CustomEvent{constructor(e){super(x.eventName,{detail:e,bubbles:!0,composed:!0})}};b.eventName="beamnonprofitselectionremoved";let p=b;var g=Object.freeze({__proto__:null,BeamCartChangeEvent:r,BeamCartCreatedEvent:c,BeamNetworkCallEvent:a,BeamNonprofitSelectEvent:n,BeamNonprofitSelectionRemovedEvent:p,BeamOrderCreatedEvent:v,BeamStatusChangeEvent:u});export{u as B,v as a,n as b,a as c,r as d,g as e,c as f,p as g};
|
|
2
|
-
//# sourceMappingURL=events-6Z5MkCRr.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events-6Z5MkCRr.esm.js","sources":["../../src/utils/events.ts"],"sourcesContent":["import { TCartApi } from \"../shared/cart-contents\";\nimport { TId, WidgetName } from \"../shared/types\";\n\n/* ------------------------------------------------------------------------------------------------------------------ */\n\ntype NetworkEventDetail =\n | { url: string; method: string; type: \"fetch\"; response: Response }\n | { url: string; method: string; type: \"xhr\"; xhr: XMLHttpRequest };\n\n/**\n * beamnetworkcall\n * Emitted by the Beam network listener whenever any API calls are made on the page\n */\nexport class BeamNetworkCallEvent extends CustomEvent<NetworkEventDetail> {\n static eventName = \"beamnetworkcall\" as const;\n constructor(detail: NetworkEventDetail) {\n super(BeamNetworkCallEvent.eventName, { detail, bubbles: true, composed: true });\n }\n}\n\n/* ------------------------------------------------------------------------------------------------------------------ */\n\ntype NonprofitSelectDetail = {\n selectionId?: string;\n selectedNonprofitId?: number | null;\n nonprofitName?: string | null;\n source?: WidgetName | null;\n};\n\n/**\n * beamnonprofitselect\n * Emitted when the end user selects a nonprofit in the Beam widget, and when the previous selection was restored\n * automatically\n */\nexport class BeamNonprofitSelectEvent extends CustomEvent<NonprofitSelectDetail> {\n static eventName = \"beamnonprofitselect\" as const;\n constructor(detail: NonprofitSelectDetail) {\n super(BeamNonprofitSelectEvent.eventName, { detail, bubbles: true, composed: true });\n }\n}\n\n/* ------------------------------------------------------------------------------------------------------------------ */\n\ntype CartChangeDetail = TCartApi & {\n cartId?: string;\n subtotal?: number;\n itemCount?: number;\n currencyCode?: string;\n};\n\n/**\n * beamcartchange\n * Emitted when Beam detects that cart contents have changed, and when items are added to the cart for the first time\n */\nexport class BeamCartChangeEvent extends CustomEvent<CartChangeDetail> {\n static eventName = \"beamcartchange\" as const;\n constructor(detail: CartChangeDetail) {\n super(BeamCartChangeEvent.eventName, { detail, bubbles: true, composed: true });\n }\n}\n\n/* ------------------------------------------------------------------------------------------------------------------ */\n\ntype CartCreatedDetail = CartChangeDetail;\n\n/**\n * beamcartcreated\n * Emitted when a cart is created in Beam for the first time, but NOT when the cart is updated\n * Beam's cart expiration rules are used to determine when a returning visit counts as the same cart\n */\nexport class BeamCartCreatedEvent extends CustomEvent<CartCreatedDetail> {\n static eventName = \"beamcartcreated\" as const;\n constructor(detail: CartCreatedDetail) {\n super(BeamCartCreatedEvent.eventName, { detail, bubbles: true, composed: true });\n }\n}\n\n/* ------------------------------------------------------------------------------------------------------------------ */\n\ntype OrderCreatedDetail = {\n orderId: TId;\n transactionId: TId;\n cartTotal: number;\n currencyCode: string;\n};\n\n/**\n * beamordercreated\n * Emitted when an order is registered with Beam for the first time, but NOT on repeat visits, page refreshes, etc.\n */\nexport class BeamOrderCreatedEvent extends CustomEvent<OrderCreatedDetail> {\n static eventName = \"beamordercreated\" as const;\n\n constructor(detail: OrderCreatedDetail) {\n super(BeamOrderCreatedEvent.eventName, { detail, bubbles: true, composed: true });\n }\n}\n\n/* ------------------------------------------------------------------------------------------------------------------ */\n\n/**\n * beamstatuschange\n * Emitted when the Beam config object has finished initializing along with all plugins\n */\ntype BeamStatusChangeEventDetail = { status: \"pending\" } | { status: \"error\"; error: Error } | { status: \"ready\" };\nexport class BeamStatusChangeEvent extends CustomEvent<BeamStatusChangeEventDetail> {\n static eventName = \"beamstatuschange\" as const;\n\n constructor(detail: BeamStatusChangeEventDetail) {\n super(BeamStatusChangeEvent.eventName, { detail, bubbles: true, composed: true });\n }\n}\n\n/* ------------------------------------------------------------------------------------------------------------------ */\ntype NonprofitSelectionRemovedDetail = {\n previousNonprofitId?: number | null;\n newNonprofitId?: number | null;\n selectionId?: string;\n};\n\n/**\n * beamnonprofitselectionremoved\n * Emitted when the nonprofit selection is removed from deselection or due to nonprofit cohort change\n */\nexport class BeamNonprofitSelectionRemovedEvent extends CustomEvent<NonprofitSelectionRemovedDetail> {\n static eventName = \"beamnonprofitselectionremoved\" as const;\n constructor(detail: NonprofitSelectionRemovedDetail) {\n super(BeamNonprofitSelectionRemovedEvent.eventName, { detail, bubbles: true, composed: true });\n }\n}\n"],"names":["_BeamNetworkCallEvent","detail","BeamNetworkCallEvent","_BeamNonprofitSelectEvent","BeamNonprofitSelectEvent","_BeamCartChangeEvent","BeamCartChangeEvent","_BeamCartCreatedEvent","BeamCartCreatedEvent","_BeamOrderCreatedEvent","BeamOrderCreatedEvent","_BeamStatusChangeEvent","BeamStatusChangeEvent","_BeamNonprofitSelectionRemovedEvent","BeamNonprofitSelectionRemovedEvent"],"mappings":"AAaO,MAAMA,EAAN,MAAMA,UAA6B,WAAgC,CAExE,YAAYC,EAA4B,CACtC,MAAMD,EAAqB,UAAW,CAAE,OAAAC,EAAQ,QAAS,GAAM,SAAU,EAAK,CAAC,CACjF,CACF,EALaD,EACJ,UAAY,kBADd,IAAME,EAANF,EAqBA,MAAMG,EAAN,MAAMA,UAAiC,WAAmC,CAE/E,YAAYF,EAA+B,CACzC,MAAME,EAAyB,UAAW,CAAE,OAAAF,EAAQ,QAAS,GAAM,SAAU,EAAK,CAAC,CACrF,CACF,EALaE,EACJ,UAAY,sBADd,IAAMC,EAAND,EAoBA,MAAME,EAAN,MAAMA,UAA4B,WAA8B,CAErE,YAAYJ,EAA0B,CACpC,MAAMI,EAAoB,UAAW,CAAE,OAAAJ,EAAQ,QAAS,GAAM,SAAU,EAAK,CAAC,CAChF,CACF,EALaI,EACJ,UAAY,iBADR,IAAAC,EAAND,EAgBA,MAAME,EAAN,MAAMA,UAA6B,WAA+B,CAEvE,YAAYN,EAA2B,CACrC,MAAMM,EAAqB,UAAW,CAAE,OAAAN,EAAQ,QAAS,GAAM,SAAU,EAAK,CAAC,CACjF,CACF,EALaM,EACJ,UAAY,sBADRC,EAAND,EAoBA,MAAME,EAAN,MAAMA,UAA8B,WAAgC,CAGzE,YAAYR,EAA4B,CACtC,MAAMQ,EAAsB,UAAW,CAAE,OAAAR,EAAQ,QAAS,GAAM,SAAU,EAAK,CAAC,CAClF,CACF,EANaQ,EACJ,UAAY,uBADRC,EAAND,EAeA,MAAME,EAAN,MAAMA,UAA8B,WAAyC,CAGlF,YAAYV,EAAqC,CAC/C,MAAMU,EAAsB,UAAW,CAAE,OAAAV,EAAQ,QAAS,GAAM,SAAU,EAAK,CAAC,CAClF,CACF,EANaU,EACJ,UAAY,mBADR,IAAAC,EAAND,EAmBA,MAAME,EAAN,MAAMA,UAA2C,WAA6C,CAEnG,YAAYZ,EAAyC,CACnD,MAAMY,EAAmC,UAAW,CAAE,OAAAZ,EAAQ,QAAS,GAAM,SAAU,EAAK,CAAC,CAC/F,CACF,EALaY,EACJ,UAAY,gCADd,IAAMC,EAAND"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { b as beamErrors } from './beam-errors-fXDkG1zo.esm.js';
|
|
2
|
-
import { e as events } from './events-ZCTR9JGZ.esm.js';
|
|
3
|
-
import { logger } from '../utils/logger.js';
|
|
4
|
-
import { initNetworkListeners } from '../utils/network-listeners.js';
|
|
5
|
-
import { createScopedLocalStorage } from '../utils/local-storage.js';
|
|
6
|
-
import { waitForElement } from '../utils/wait-for-element.js';
|
|
7
|
-
import { CookieChangeEvent, deleteCookieValue, getCookieMap, getCookieValue, setCookieValue } from '../utils/cookies.js';
|
|
8
|
-
import { getRemoteSession, saveRemoteSession } from '../utils/remote-session.js';
|
|
9
|
-
import { memoizeLast } from '../utils/memoize-last.js';
|
|
10
|
-
import debounce from 'lodash-es/debounce';
|
|
11
|
-
import isEqual from 'lodash-es/isEqual';
|
|
12
|
-
|
|
13
|
-
declare const index_CookieChangeEvent: typeof CookieChangeEvent;
|
|
14
|
-
declare const index_createScopedLocalStorage: typeof createScopedLocalStorage;
|
|
15
|
-
declare const index_debounce: typeof debounce;
|
|
16
|
-
declare const index_deleteCookieValue: typeof deleteCookieValue;
|
|
17
|
-
declare const index_events: typeof events;
|
|
18
|
-
declare const index_getCookieMap: typeof getCookieMap;
|
|
19
|
-
declare const index_getCookieValue: typeof getCookieValue;
|
|
20
|
-
declare const index_getRemoteSession: typeof getRemoteSession;
|
|
21
|
-
declare const index_initNetworkListeners: typeof initNetworkListeners;
|
|
22
|
-
declare const index_isEqual: typeof isEqual;
|
|
23
|
-
declare const index_logger: typeof logger;
|
|
24
|
-
declare const index_memoizeLast: typeof memoizeLast;
|
|
25
|
-
declare const index_saveRemoteSession: typeof saveRemoteSession;
|
|
26
|
-
declare const index_setCookieValue: typeof setCookieValue;
|
|
27
|
-
declare const index_waitForElement: typeof waitForElement;
|
|
28
|
-
declare namespace index {
|
|
29
|
-
export { index_CookieChangeEvent as CookieChangeEvent, index_createScopedLocalStorage as createScopedLocalStorage, index_debounce as debounce, index_deleteCookieValue as deleteCookieValue, beamErrors as errors, index_events as events, index_getCookieMap as getCookieMap, index_getCookieValue as getCookieValue, index_getRemoteSession as getRemoteSession, index_initNetworkListeners as initNetworkListeners, index_isEqual as isEqual, index_logger as logger, index_memoizeLast as memoizeLast, index_saveRemoteSession as saveRemoteSession, index_setCookieValue as setCookieValue, index_waitForElement as waitForElement };
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { index as i };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./beam-errors-P-Lu07Ce.esm.js";import{e as o}from"./events-6Z5MkCRr.esm.js";import{logger as t}from"../utils/logger.esm.js";import{initNetworkListeners as r}from"../utils/network-listeners.esm.js";import{createScopedLocalStorage as i}from"../utils/local-storage.esm.js";import{waitForElement as m}from"../utils/wait-for-element.esm.js";import{deleteCookieValue as a,getCookieMap as s,getCookieValue as l,setCookieValue as n}from"../utils/cookies.esm.js";import{getRemoteSession as p,saveRemoteSession as g}from"../utils/remote-session.esm.js";import{memoizeLast as f}from"../utils/memoize-last.esm.js";import{d as u,i as k}from"./lodash-P8OIs-at.esm.js";var c=Object.freeze({__proto__:null,createScopedLocalStorage:i,debounce:u,deleteCookieValue:a,errors:e,events:o,getCookieMap:s,getCookieValue:l,getRemoteSession:p,initNetworkListeners:r,isEqual:k,logger:t,memoizeLast:f,saveRemoteSession:g,setCookieValue:n,waitForElement:m});export{c as i};
|
|
2
|
-
//# sourceMappingURL=index-CsWTfuok.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-CsWTfuok.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-E8H5A7Qq.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-FQExZDX9.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { b as beamErrors } from './beam-errors-fXDkG1zo.esm.js';
|
|
2
|
-
import { e as events } from './events-ZCTR9JGZ.esm.js';
|
|
3
|
-
import { logger } from '../utils/logger.js';
|
|
4
|
-
import { initNetworkListeners } from '../utils/network-listeners.js';
|
|
5
|
-
import { createScopedLocalStorage } from '../utils/local-storage.js';
|
|
6
|
-
import { waitForElement } from '../utils/wait-for-element.js';
|
|
7
|
-
import { CookieChangeEvent, deleteCookieValue, getCookieMap, getCookieValue, setCookieValue } from '../utils/cookies.js';
|
|
8
|
-
import { getRemoteSession, saveRemoteSession } from '../utils/remote-session.js';
|
|
9
|
-
import { memoizeLast } from '../utils/memoize-last.js';
|
|
10
|
-
import debounce from 'lodash-es/debounce';
|
|
11
|
-
import isEqual from 'lodash-es/isEqual';
|
|
12
|
-
|
|
13
|
-
declare const index_CookieChangeEvent: typeof CookieChangeEvent;
|
|
14
|
-
declare const index_createScopedLocalStorage: typeof createScopedLocalStorage;
|
|
15
|
-
declare const index_debounce: typeof debounce;
|
|
16
|
-
declare const index_deleteCookieValue: typeof deleteCookieValue;
|
|
17
|
-
declare const index_events: typeof events;
|
|
18
|
-
declare const index_getCookieMap: typeof getCookieMap;
|
|
19
|
-
declare const index_getCookieValue: typeof getCookieValue;
|
|
20
|
-
declare const index_getRemoteSession: typeof getRemoteSession;
|
|
21
|
-
declare const index_initNetworkListeners: typeof initNetworkListeners;
|
|
22
|
-
declare const index_isEqual: typeof isEqual;
|
|
23
|
-
declare const index_logger: typeof logger;
|
|
24
|
-
declare const index_memoizeLast: typeof memoizeLast;
|
|
25
|
-
declare const index_saveRemoteSession: typeof saveRemoteSession;
|
|
26
|
-
declare const index_setCookieValue: typeof setCookieValue;
|
|
27
|
-
declare const index_waitForElement: typeof waitForElement;
|
|
28
|
-
declare namespace index {
|
|
29
|
-
export { index_CookieChangeEvent as CookieChangeEvent, index_createScopedLocalStorage as createScopedLocalStorage, index_debounce as debounce, index_deleteCookieValue as deleteCookieValue, beamErrors as errors, index_events as events, index_getCookieMap as getCookieMap, index_getCookieValue as getCookieValue, index_getRemoteSession as getRemoteSession, index_initNetworkListeners as initNetworkListeners, index_isEqual as isEqual, index_logger as logger, index_memoizeLast as memoizeLast, index_saveRemoteSession as saveRemoteSession, index_setCookieValue as setCookieValue, index_waitForElement as waitForElement };
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { index as i };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{H as t,g as e,S as r,_ as a,v as i,F as o,s,G as g}from"./order-page-rrfJ4w9F.esm.js";var d=Object.freeze({__proto__:null,addBeamAttributesToCart:t,appendBeamAttributesToCart:e,appendStatsigToShopifyCartAttributes:r,getCurrentCart:a,getShopifyCart:i,registerCartIntegration:o,showBeamOrderPageWidgets:s,trackCart:g});export{d as i};
|
|
2
|
-
//# sourceMappingURL=index-M7Ut5U3j.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-M7Ut5U3j.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./beam-errors-P-Lu07Ce.esm.js";import{e as o}from"./events-6Z5MkCRr.esm.js";import{logger as t}from"../utils/logger.js";import{initNetworkListeners as r}from"../utils/network-listeners.js";import{createScopedLocalStorage as i}from"../utils/local-storage.js";import{waitForElement as m}from"../utils/wait-for-element.js";import{deleteCookieValue as a,getCookieMap as s,getCookieValue as l,setCookieValue as n}from"../utils/cookies.js";import{getRemoteSession as p,saveRemoteSession as g}from"../utils/remote-session.js";import{memoizeLast as f}from"../utils/memoize-last.js";import{d as u,i as k}from"./lodash-P8OIs-at.esm.js";var c=Object.freeze({__proto__:null,createScopedLocalStorage:i,debounce:u,deleteCookieValue:a,errors:e,events:o,getCookieMap:s,getCookieValue:l,getRemoteSession:p,initNetworkListeners:r,isEqual:k,logger:t,memoizeLast:f,saveRemoteSession:g,setCookieValue:n,waitForElement:m});export{c as i};
|
|
2
|
-
//# sourceMappingURL=index-MIp7LlXH.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-MIp7LlXH.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-PiMq5a49.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{H as t,g as e,S as r,_ as a,v as i,F as o,s,G as g}from"./order-page-Z3WcYluU.esm.js";var d=Object.freeze({__proto__:null,addBeamAttributesToCart:t,appendBeamAttributesToCart:e,appendStatsigToShopifyCartAttributes:r,getCurrentCart:a,getShopifyCart:i,registerCartIntegration:o,showBeamOrderPageWidgets:s,trackCart:g});export{d as i};
|
|
2
|
-
//# sourceMappingURL=index-WvOCqhxv.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-WvOCqhxv.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-XCMf22lv.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { i as index$5 } from './index-GynYZRPI.esm.js';
|
|
2
|
-
import { i as index$4 } from './index--z5MSe4-.esm.js';
|
|
3
|
-
import { i as index$3 } from './index-EGiUuWe-.esm.js';
|
|
4
|
-
import { i as index$1 } from './index-v6fG3D6u.esm.js';
|
|
5
|
-
import { i as index$2 } from './index-PA0NAKHV.esm.js';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* This file is used to provide type definitions
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
declare namespace index {
|
|
12
|
-
export { index$1 as Cart, index$2 as Logs, index$3 as Session, index$4 as Shopify, index$5 as Utils };
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { index as i };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./beam-errors-P-Lu07Ce.esm.js";import{e as o}from"./events-6Z5MkCRr.esm.js";import{logger as t}from"../utils/logger.js";import{initNetworkListeners as r}from"../utils/network-listeners.js";import{createScopedLocalStorage as i}from"../utils/local-storage.js";import{waitForElement as m}from"../utils/wait-for-element.js";import{deleteCookieValue as a,getCookieMap as s,getCookieValue as l,setCookieValue as n}from"../utils/cookies.js";import{getRemoteSession as p,saveRemoteSession as g}from"../utils/remote-session.js";import{memoizeLast as f}from"../utils/memoize-last.js";import{d as u,i as k}from"./lodash-P8OIs-at.esm.js";var c=Object.freeze({__proto__:null,createScopedLocalStorage:i,debounce:u,deleteCookieValue:a,errors:e,events:o,getCookieMap:s,getCookieValue:l,getRemoteSession:p,initNetworkListeners:r,isEqual:k,logger:t,memoizeLast:f,saveRemoteSession:g,setCookieValue:n,waitForElement:m});export{c as i};
|
|
2
|
-
//# sourceMappingURL=index-YJNgLCif.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-YJNgLCif.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-a6oXV2ro.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i}from"./index-YJNgLCif.esm.js";import{i as o}from"./index-WvOCqhxv.esm.js";import{i as r}from"./index-JDZQClkA.esm.js";import{i as e}from"./index-a6oXV2ro.esm.js";import{i as m}from"./index-XHm2EBaD.esm.js";var s=Object.freeze({__proto__:null,Cart:e,Logs:m,Session:r,Shopify:o,Utils:i});export{s as i};
|
|
2
|
-
//# sourceMappingURL=index-dkwGkvOu.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-dkwGkvOu.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./beam-errors-P-Lu07Ce.esm.js";import{e as o}from"./events-6Z5MkCRr.esm.js";import{logger as t}from"../utils/logger.esm.js";import{initNetworkListeners as r}from"../utils/network-listeners.esm.js";import{createScopedLocalStorage as i}from"../utils/local-storage.esm.js";import{waitForElement as m}from"../utils/wait-for-element.esm.js";import{deleteCookieValue as a,getCookieMap as s,getCookieValue as l,setCookieValue as n}from"../utils/cookies.esm.js";import{getRemoteSession as p,saveRemoteSession as g}from"../utils/remote-session.esm.js";import{memoizeLast as f}from"../utils/memoize-last.esm.js";import{d as u,i as k}from"./lodash-P8OIs-at.esm.js";var c=Object.freeze({__proto__:null,createScopedLocalStorage:i,debounce:u,deleteCookieValue:a,errors:e,events:o,getCookieMap:s,getCookieValue:l,getRemoteSession:p,initNetworkListeners:r,isEqual:k,logger:t,memoizeLast:f,saveRemoteSession:g,setCookieValue:n,waitForElement:m});export{c as i};
|
|
2
|
-
//# sourceMappingURL=index-iK195-B9.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-iK195-B9.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-nstmHC95.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i}from"./index-CsWTfuok.esm.js";import{i as o}from"./index-M7Ut5U3j.esm.js";import{i as r}from"./index-eXilYHHK.esm.js";import{i as e}from"./index-nstmHC95.esm.js";import{i as m}from"./index-JJjxnRZK.esm.js";var s=Object.freeze({__proto__:null,Cart:e,Logs:m,Session:r,Shopify:o,Utils:i});export{s as i};
|
|
2
|
-
//# sourceMappingURL=index-vq14EaW4.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-vq14EaW4.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
const J=window,lt=J.ShadowRoot&&(J.ShadyCSS===void 0||J.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ht=Symbol(),Ct=new WeakMap;let Tt=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==ht)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(lt&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=Ct.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Ct.set(e,t))}return t}toString(){return this.cssText}};const Pt=i=>new Tt(typeof i=="string"?i:i+"",void 0,ht),Se=(i,...t)=>{const e=i.length===1?i[0]:t.reduce((s,n,r)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+i[r+1],i[0]);return new Tt(e,i,ht)},we=(i,t)=>{lt?i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const s=document.createElement("style"),n=J.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,i.appendChild(s)})},Ut=lt?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return Pt(e)})(i):i;var at;const Y=window,xt=Y.trustedTypes,Ce=xt?xt.emptyScript:"",Nt=Y.reactiveElementPolyfillSupport,ct={toAttribute(i,t){switch(t){case Boolean:i=i?Ce:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch{e=null}}return e}},Ht=(i,t)=>t!==i&&(t==t||i==i),dt={attribute:!0,type:String,converter:ct,reflect:!1,hasChanged:Ht};let U=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,s)=>{const n=this._$Ep(s,e);n!==void 0&&(this._$Ev.set(n,s),t.push(n))}),t}static createProperty(t,e=dt){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const s=typeof t=="symbol"?Symbol():"__"+t,n=this.getPropertyDescriptor(t,s,e);n!==void 0&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(n){const r=this[t];this[e]=n,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||dt}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,s=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const n of s)this.createProperty(n,e[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const n of s)e.unshift(Ut(n))}else t!==void 0&&e.push(Ut(t));return e}static _$Ep(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,s;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)===null||s===void 0||s.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return we(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var s;return(s=e.hostConnected)===null||s===void 0?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var s;return(s=e.hostDisconnected)===null||s===void 0?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e,s=dt){var n;const r=this.constructor._$Ep(t,s);if(r!==void 0&&s.reflect===!0){const o=(((n=s.converter)===null||n===void 0?void 0:n.toAttribute)!==void 0?s.converter:ct).toAttribute(e,s.type);this._$El=t,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$El=null}}_$AK(t,e){var s;const n=this.constructor,r=n._$Ev.get(t);if(r!==void 0&&this._$El!==r){const o=n.getPropertyOptions(r),a=typeof o.converter=="function"?{fromAttribute:o.converter}:((s=o.converter)===null||s===void 0?void 0:s.fromAttribute)!==void 0?o.converter:ct;this._$El=r,this[r]=a.fromAttribute(e,o.type),this._$El=null}}requestUpdate(t,e,s){let n=!0;t!==void 0&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||Ht)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,s))):n=!1),!this.isUpdatePending&&n&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((n,r)=>this[r]=n),this._$Ei=void 0);let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$ES)===null||t===void 0||t.forEach(n=>{var r;return(r=n.hostUpdate)===null||r===void 0?void 0:r.call(n)}),this.update(s)):this._$Ek()}catch(n){throw e=!1,this._$Ek(),n}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(s=>{var n;return(n=s.hostUpdated)===null||n===void 0?void 0:n.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,s)=>this._$EO(s,this[s],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};U.finalized=!0,U.elementProperties=new Map,U.elementStyles=[],U.shadowRootOptions={mode:"open"},Nt?.({ReactiveElement:U}),((at=Y.reactiveElementVersions)!==null&&at!==void 0?at:Y.reactiveElementVersions=[]).push("1.6.1");var ut;const F=window,x=F.trustedTypes,Ot=x?x.createPolicy("lit-html",{createHTML:i=>i}):void 0,g=`lit$${(Math.random()+"").slice(9)}$`,$t="?"+g,Te=`<${$t}>`,N=document,R=(i="")=>N.createComment(i),k=i=>i===null||typeof i!="object"&&typeof i!="function",Mt=Array.isArray,Rt=i=>Mt(i)||typeof i?.[Symbol.iterator]=="function",L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,kt=/-->/g,Lt=/>/g,E=RegExp(`>|[
|
|
2
|
-
\f\r](?:([^\\s"'>=/]+)([
|
|
3
|
-
\f\r]*=[
|
|
4
|
-
\f\r]*(?:[^
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),jt=/'/g,Bt=/"/g,It=/^(?:script|style|textarea|title)$/i,Pe=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),Ue=Pe(1),A=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),Dt=new WeakMap,H=N.createTreeWalker(N,129,null,!1),zt=(i,t)=>{const e=i.length-1,s=[];let n,r=t===2?"<svg>":"",o=L;for(let l=0;l<e;l++){const h=i[l];let $,c,d=-1,u=0;for(;u<h.length&&(o.lastIndex=u,c=o.exec(h),c!==null);)u=o.lastIndex,o===L?c[1]==="!--"?o=kt:c[1]!==void 0?o=Lt:c[2]!==void 0?(It.test(c[2])&&(n=RegExp("</"+c[2],"g")),o=E):c[3]!==void 0&&(o=E):o===E?c[0]===">"?(o=n??L,d=-1):c[1]===void 0?d=-2:(d=o.lastIndex-c[2].length,$=c[1],o=c[3]===void 0?E:c[3]==='"'?Bt:jt):o===Bt||o===jt?o=E:o===kt||o===Lt?o=L:(o=E,n=void 0);const p=o===E&&i[l+1].startsWith("/>")?" ":"";r+=o===L?h+Te:d>=0?(s.push($),h.slice(0,d)+"$lit$"+h.slice(d)+g+p):h+g+(d===-2?(s.push(void 0),l):p)}const a=r+(i[e]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return[Ot!==void 0?Ot.createHTML(a):a,s]};let pt=class Ee{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,o=0;const a=t.length-1,l=this.parts,[h,$]=zt(t,e);if(this.el=Ee.createElement(h,s),H.currentNode=this.el.content,e===2){const c=this.el.content,d=c.firstChild;d.remove(),c.append(...d.childNodes)}for(;(n=H.nextNode())!==null&&l.length<a;){if(n.nodeType===1){if(n.hasAttributes()){const c=[];for(const d of n.getAttributeNames())if(d.endsWith("$lit$")||d.startsWith(g)){const u=$[o++];if(c.push(d),u!==void 0){const p=n.getAttribute(u.toLowerCase()+"$lit$").split(g),v=/([.?@])?(.*)/.exec(u);l.push({type:1,index:r,name:v[2],strings:p,ctor:v[1]==="."?Wt:v[1]==="?"?qt:v[1]==="@"?Zt:j})}else l.push({type:6,index:r})}for(const d of c)n.removeAttribute(d)}if(It.test(n.tagName)){const c=n.textContent.split(g),d=c.length-1;if(d>0){n.textContent=x?x.emptyScript:"";for(let u=0;u<d;u++)n.append(c[u],R()),H.nextNode(),l.push({type:2,index:++r});n.append(c[d],R())}}}else if(n.nodeType===8)if(n.data===$t)l.push({type:2,index:r});else{let c=-1;for(;(c=n.data.indexOf(g,c+1))!==-1;)l.push({type:7,index:r}),c+=g.length-1}r++}}static createElement(t,e){const s=N.createElement("template");return s.innerHTML=t,s}};function b(i,t,e=i,s){var n,r,o,a;if(t===A)return t;let l=s!==void 0?(n=e._$Co)===null||n===void 0?void 0:n[s]:e._$Cl;const h=k(t)?void 0:t._$litDirective$;return l?.constructor!==h&&((r=l?._$AO)===null||r===void 0||r.call(l,!1),h===void 0?l=void 0:(l=new h(i),l._$AT(i,e,s)),s!==void 0?((o=(a=e)._$Co)!==null&&o!==void 0?o:a._$Co=[])[s]=l:e._$Cl=l),l!==void 0&&(t=b(i,l._$AS(i,t.values),l,s)),t}let Vt=class{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:s},parts:n}=this._$AD,r=((e=t?.creationScope)!==null&&e!==void 0?e:N).importNode(s,!0);H.currentNode=r;let o=H.nextNode(),a=0,l=0,h=n[0];for(;h!==void 0;){if(a===h.index){let $;h.type===2?$=new Q(o,o.nextSibling,this,t):h.type===1?$=new h.ctor(o,h.name,h.strings,this,t):h.type===6&&($=new Kt(o,this,t)),this.u.push($),h=n[++l]}a!==h?.index&&(o=H.nextNode(),a++)}return r}p(t){let e=0;for(const s of this.u)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},Q=class be{constructor(t,e,s,n){var r;this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cm=(r=n?.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&t.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=b(this,t,e),k(t)?t===_||t==null||t===""?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==A&&this.g(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Rt(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==_&&k(this._$AH)?this._$AA.nextSibling.data=t:this.T(N.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:n}=t,r=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=pt.createElement(n.h,this.options)),n);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.p(s);else{const o=new Vt(r,this),a=o.v(this.options);o.p(s),this.T(a),this._$AH=o}}_$AC(t){let e=Dt.get(t.strings);return e===void 0&&Dt.set(t.strings,e=new pt(t)),e}k(t){Mt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,n=0;for(const r of t)n===e.length?e.push(s=new be(this.O(R()),this.O(R()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)===null||s===void 0||s.call(this,!1,!0,e);t&&t!==this._$AB;){const n=t.nextSibling;t.remove(),t=n}}setConnected(t){var e;this._$AM===void 0&&(this._$Cm=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}},j=class{constructor(t,e,s,n,r){this.type=1,this._$AH=_,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=_}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,n){const r=this.strings;let o=!1;if(r===void 0)t=b(this,t,e,0),o=!k(t)||t!==this._$AH&&t!==A,o&&(this._$AH=t);else{const a=t;let l,h;for(t=r[0],l=0;l<r.length-1;l++)h=b(this,a[s+l],e,l),h===A&&(h=this._$AH[l]),o||(o=!k(h)||h!==this._$AH[l]),h===_?t=_:t!==_&&(t+=(h??"")+r[l+1]),this._$AH[l]=h}o&&!n&&this.j(t)}j(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Wt=class extends j{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===_?void 0:t}};const xe=x?x.emptyScript:"";let qt=class extends j{constructor(){super(...arguments),this.type=4}j(t){t&&t!==_?this.element.setAttribute(this.name,xe):this.element.removeAttribute(this.name)}},Zt=class extends j{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){var s;if((t=(s=b(this,t,e,0))!==null&&s!==void 0?s:_)===A)return;const n=this._$AH,r=t===_&&n!==_||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==_&&(n===_||r);r&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&s!==void 0?s:this.element,t):this._$AH.handleEvent(t)}},Kt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){b(this,t)}};const Ne={P:"$lit$",A:g,M:$t,C:1,L:zt,R:Vt,D:Rt,V:b,I:Q,H:j,N:qt,U:Zt,B:Wt,F:Kt},Jt=F.litHtmlPolyfillSupport;Jt?.(pt,Q),((ut=F.litHtmlVersions)!==null&&ut!==void 0?ut:F.litHtmlVersions=[]).push("2.6.1");const Yt=(i,t,e)=>{var s,n;const r=(s=e?.renderBefore)!==null&&s!==void 0?s:t;let o=r._$litPart$;if(o===void 0){const a=(n=e?.renderBefore)!==null&&n!==void 0?n:null;r._$litPart$=o=new Q(t.insertBefore(R(),a),a,void 0,e??{})}return o._$AI(i),o};var _t,ft;let B=class extends U{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const s=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=s.firstChild),s}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Yt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return A}};B.finalized=!0,B._$litElement$=!0,(_t=globalThis.litElementHydrateSupport)===null||_t===void 0||_t.call(globalThis,{LitElement:B});const Ft=globalThis.litElementPolyfillSupport;Ft?.({LitElement:B}),((ft=globalThis.litElementVersions)!==null&&ft!==void 0?ft:globalThis.litElementVersions=[]).push("3.2.2");const He=(i,t)=>t.kind==="method"&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(e){e.createProperty(t.key,i)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){typeof t.initializer=="function"&&(this[t.key]=t.initializer.call(this))},finisher(e){e.createProperty(t.key,i)}};function Qt(i){return(t,e)=>e!==void 0?((s,n,r)=>{n.constructor.createProperty(r,s)})(i,t,e):He(i,t)}const Oe=new Set(["children","localName","ref","style","className"]),Gt=new WeakMap,Me=(i,t,e,s,n)=>{const r=n?.[t];r===void 0||e===s?(i[t]=e,e==null&&t in HTMLElement.prototype&&i.removeAttribute(t)):((o,a,l)=>{let h=Gt.get(o);h===void 0&&Gt.set(o,h=new Map);let $=h.get(a);l!==void 0?$===void 0?(h.set(a,$={handleEvent:l}),o.addEventListener(a,$)):$.handleEvent=l:$!==void 0&&(h.delete(a),o.removeEventListener(a,$))})(i,r,e)},Re=({react:i,tagName:t,elementClass:e,events:s,displayName:n})=>{const r=new Set(Object.keys(s??{})),o=i.forwardRef((a,l)=>{const h=i.useRef(null),$=i.useRef(null),c={},d={};for(const[u,p]of Object.entries(a))Oe.has(u)?c[u==="className"?"class":u]=p:r.has(u)||u in e.prototype?d[u]=p:c[u]=p;return i.useLayoutEffect(()=>{if($.current!==null){for(const u in d)Me($.current,u,a[u],h.current?h.current[u]:void 0,s);h.current=a}}),i.useLayoutEffect(()=>{$.current?.removeAttribute("defer-hydration")},[]),c.suppressHydrationWarning=!0,i.createElement(t,{...c,ref:u=>{$.current=u,typeof l=="function"?l(u):l!==null&&(l.current=u)}})});return o.displayName=n??e.name,o};function ke(i){return Qt({...i,state:!0})}const G={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},X=i=>(...t)=>({_$litDirective$:i,values:t});let tt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};const Le=X(class extends tt{constructor(i){var t;if(super(i),i.type!==G.ATTRIBUTE||i.name!=="style"||((t=i.strings)===null||t===void 0?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(i){return Object.keys(i).reduce((t,e)=>{const s=i[e];return s==null?t:t+`${e=e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(i,[t]){const{style:e}=i.element;if(this.vt===void 0){this.vt=new Set;for(const s in t)this.vt.add(s);return this.render(t)}this.vt.forEach(s=>{t[s]==null&&(this.vt.delete(s),s.includes("-")?e.removeProperty(s):e[s]="")});for(const s in t){const n=t[s];n!=null&&(this.vt.add(s),s.includes("-")?e.setProperty(s,n):e[s]=n)}return A}});let vt=class extends tt{constructor(t){if(super(t),this.it=_,t.type!==G.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===_||t==null)return this._t=void 0,this.it=t;if(t===A)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}};vt.directiveName="unsafeHTML",vt.resultType=1;const je=X(vt);const Be=({finisher:i,descriptor:t})=>(e,s)=>{var n;if(s===void 0){const r=(n=e.originalKey)!==null&&n!==void 0?n:e.key,o=t!=null?{kind:"method",placement:"prototype",key:r,descriptor:t(e.key)}:{...e,key:r};return i!=null&&(o.finisher=function(a){i(a,r)}),o}{const r=e.constructor;t!==void 0&&Object.defineProperty(e,s,t(s)),i?.(r,s)}};function Ie(i){return Be({descriptor:t=>({get(){var e,s;return(s=(e=this.renderRoot)===null||e===void 0?void 0:e.querySelectorAll(i))!==null&&s!==void 0?s:[]},enumerable:!0,configurable:!0})})}var At;((At=window.HTMLSlotElement)===null||At===void 0?void 0:At.prototype.assignedElements)!=null;const et=globalThis,yt=et.ShadowRoot&&(et.ShadyCSS===void 0||et.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),Xt=new WeakMap;let te=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==gt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(yt&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=Xt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Xt.set(e,t))}return t}toString(){return this.cssText}};const De=i=>new te(typeof i=="string"?i:i+"",void 0,gt),ze=(i,...t)=>{const e=i.length===1?i[0]:t.reduce((s,n,r)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+i[r+1],i[0]);return new te(e,i,gt)},Ve=(i,t)=>{if(yt)i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),n=et.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,i.appendChild(s)}},ee=yt?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return De(e)})(i):i;const{is:We,defineProperty:qe,getOwnPropertyDescriptor:Ze,getOwnPropertyNames:Ke,getOwnPropertySymbols:Je,getPrototypeOf:Ye}=Object,st=globalThis,se=st.trustedTypes,Fe=se?se.emptyScript:"",Qe=st.reactiveElementPolyfillSupport,I=(i,t)=>i,it={toAttribute(i,t){switch(t){case Boolean:i=i?Fe:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch{e=null}}return e}},mt=(i,t)=>!We(i,t),ie={attribute:!0,type:String,converter:it,reflect:!1,hasChanged:mt};Symbol.metadata??=Symbol("metadata"),st.litPropertyMetadata??=new WeakMap;class O extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ie){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),n=this.getPropertyDescriptor(t,s,e);n!==void 0&&qe(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){const{get:n,set:r}=Ze(this.prototype,t)??{get(){return this[e]},set(o){this[e]=o}};return{get(){return n?.call(this)},set(o){const a=n?.call(this);r.call(this,o),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ie}static _$Ei(){if(this.hasOwnProperty(I("elementProperties")))return;const t=Ye(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(I("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(I("properties"))){const e=this.properties,s=[...Ke(e),...Je(e)];for(const n of s)this.createProperty(n,e[n])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const n of s)e.unshift(ee(n))}else t!==void 0&&e.push(ee(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$ES??=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$ES?.splice(this._$ES.indexOf(t)>>>0,1)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ve(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$ES?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$ES?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e){const s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){const r=(s.converter?.toAttribute!==void 0?s.converter:it).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){const s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){const r=s.getPropertyOptions(n),o=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:it;this._$Em=n,this[n]=o.fromAttribute(e,r.type),this._$Em=null}}requestUpdate(t,e,s,n=!1,r){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??mt)(n?r:this[t],e))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$ES?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$ET()}catch(s){throw t=!1,this._$ET(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$ES?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(e=>this._$EO(e,this[e])),this._$ET()}updated(t){}firstUpdated(t){}}O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[I("elementProperties")]=new Map,O[I("finalized")]=new Map,Qe?.({ReactiveElement:O}),(st.reactiveElementVersions??=[]).push("2.0.1");const Et=globalThis,nt=Et.trustedTypes,ne=nt?nt.createPolicy("lit-html",{createHTML:i=>i}):void 0,re="$lit$",m=`lit$${(Math.random()+"").slice(9)}$`,oe="?"+m,Ge=`<${oe}>`,S=document,D=()=>S.createComment(""),z=i=>i===null||typeof i!="object"&&typeof i!="function",le=Array.isArray,Xe=i=>le(i)||typeof i?.[Symbol.iterator]=="function",bt=`[
|
|
6
|
-
\f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,he=/-->/g,ae=/>/g,w=RegExp(`>|${bt}(?:([^\\s"'>=/]+)(${bt}*=${bt}*(?:[^
|
|
7
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ce=/'/g,de=/"/g,ue=/^(?:script|style|textarea|title)$/i,ts=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),$e=ts(1),C=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),pe=new WeakMap,T=S.createTreeWalker(S,129);function _e(i,t){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return ne!==void 0?ne.createHTML(t):t}const es=(i,t)=>{const e=i.length-1,s=[];let n,r=t===2?"<svg>":"",o=V;for(let a=0;a<e;a++){const l=i[a];let h,$,c=-1,d=0;for(;d<l.length&&(o.lastIndex=d,$=o.exec(l),$!==null);)d=o.lastIndex,o===V?$[1]==="!--"?o=he:$[1]!==void 0?o=ae:$[2]!==void 0?(ue.test($[2])&&(n=RegExp("</"+$[2],"g")),o=w):$[3]!==void 0&&(o=w):o===w?$[0]===">"?(o=n??V,c=-1):$[1]===void 0?c=-2:(c=o.lastIndex-$[2].length,h=$[1],o=$[3]===void 0?w:$[3]==='"'?de:ce):o===de||o===ce?o=w:o===he||o===ae?o=V:(o=w,n=void 0);const u=o===w&&i[a+1].startsWith("/>")?" ":"";r+=o===V?l+Ge:c>=0?(s.push(h),l.slice(0,c)+re+l.slice(c)+m+u):l+m+(c===-2?a:u)}return[_e(i,r+(i[e]||"<?>")+(t===2?"</svg>":"")),s]};class Z{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,o=0;const a=t.length-1,l=this.parts,[h,$]=es(t,e);if(this.el=Z.createElement(h,s),T.currentNode=this.el.content,e===2){const c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(n=T.nextNode())!==null&&l.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(const c of n.getAttributeNames())if(c.endsWith(re)){const d=$[o++],u=n.getAttribute(c).split(m),p=/([.?@])?(.*)/.exec(d);l.push({type:1,index:r,name:p[2],strings:u,ctor:p[1]==="."?is:p[1]==="?"?ns:p[1]==="@"?rs:rt}),n.removeAttribute(c)}else c.startsWith(m)&&(l.push({type:6,index:r}),n.removeAttribute(c));if(ue.test(n.tagName)){const c=n.textContent.split(m),d=c.length-1;if(d>0){n.textContent=nt?nt.emptyScript:"";for(let u=0;u<d;u++)n.append(c[u],D()),T.nextNode(),l.push({type:2,index:++r});n.append(c[d],D())}}}else if(n.nodeType===8)if(n.data===oe)l.push({type:2,index:r});else{let c=-1;for(;(c=n.data.indexOf(m,c+1))!==-1;)l.push({type:7,index:r}),c+=m.length-1}r++}}static createElement(t,e){const s=S.createElement("template");return s.innerHTML=t,s}}function M(i,t,e=i,s){if(t===C)return t;let n=s!==void 0?e._$Co?.[s]:e._$Cl;const r=z(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(i),n._$AT(i,e,s)),s!==void 0?(e._$Co??=[])[s]=n:e._$Cl=n),n!==void 0&&(t=M(i,n._$AS(i,t.values),n,s)),t}class ss{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,n=(t?.creationScope??S).importNode(e,!0);T.currentNode=n;let r=T.nextNode(),o=0,a=0,l=s[0];for(;l!==void 0;){if(o===l.index){let h;l.type===2?h=new K(r,r.nextSibling,this,t):l.type===1?h=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(h=new os(r,this,t)),this._$AV.push(h),l=s[++a]}o!==l?.index&&(r=T.nextNode(),o++)}return T.currentNode=S,n}p(t){let e=0;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++}}class K{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),z(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==C&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Xe(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==f&&z(this._$AH)?this._$AA.nextSibling.data=t:this.$(S.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=Z.createElement(_e(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{const r=new ss(n,this),o=r.u(this.options);r.p(e),this.$(o),this._$AH=r}}_$AC(t){let e=pe.get(t.strings);return e===void 0&&pe.set(t.strings,e=new Z(t)),e}T(t){le(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,n=0;for(const r of t)n===e.length?e.push(s=new K(this.k(D()),this.k(D()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}}class rt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,r){this.type=1,this._$AH=f,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=f}_$AI(t,e=this,s,n){const r=this.strings;let o=!1;if(r===void 0)t=M(this,t,e,0),o=!z(t)||t!==this._$AH&&t!==C,o&&(this._$AH=t);else{const a=t;let l,h;for(t=r[0],l=0;l<r.length-1;l++)h=M(this,a[s+l],e,l),h===C&&(h=this._$AH[l]),o||=!z(h)||h!==this._$AH[l],h===f?t=f:t!==f&&(t+=(h??"")+r[l+1]),this._$AH[l]=h}o&&!n&&this.O(t)}O(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class is extends rt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===f?void 0:t}}class ns extends rt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==f)}}class rs extends rt{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??f)===C)return;const s=this._$AH,n=t===f&&s!==f||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==f&&(s===f||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class os{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const ls=Et.litHtmlPolyfillSupport;ls?.(Z,K),(Et.litHtmlVersions??=[]).push("3.0.2");const hs=(i,t,e)=>{const s=e?.renderBefore??t;let n=s._$litPart$;if(n===void 0){const r=e?.renderBefore??null;s._$litPart$=n=new K(t.insertBefore(D(),r),r,void 0,e??{})}return n._$AI(i),n};let W=class extends O{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=hs(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return C}};W._$litElement$=!0,W.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:W});const as=globalThis.litElementPolyfillSupport;as?.({LitElement:W}),(globalThis.litElementVersions??=[]).push("4.0.1");const cs={attribute:!0,type:String,converter:it,reflect:!1,hasChanged:mt},ds=(i=cs,t,e)=>{const{kind:s,metadata:n}=e;let r=globalThis.litPropertyMetadata.get(n);if(r===void 0&&globalThis.litPropertyMetadata.set(n,r=new Map),r.set(e.name,i),s==="accessor"){const{name:o}=e;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(o,l,i)},init(a){return a!==void 0&&this.C(o,void 0,i),a}}}if(s==="setter"){const{name:o}=e;return function(a){const l=this[o];t.call(this,a),this.requestUpdate(o,l,i)}}throw Error("Unsupported decorator location: "+s)};function fe(i){return(t,e)=>typeof e=="object"?ds(i,t,e):((s,n,r)=>{const o=n.hasOwnProperty(r);return n.constructor.createProperty(r,o?{...s,wrapped:!0}:s),o?Object.getOwnPropertyDescriptor(n,r):void 0})(i,t,e)}function us(i){return fe({...i,state:!0,attribute:!1})}const ve=(i,t,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(i,t,e),e);function $s(i,t){return(e,s,n)=>{const r=o=>o.renderRoot?.querySelector(i)??null;if(t){const{get:o,set:a}=typeof s=="object"?e:n??(()=>{const l=Symbol();return{get(){return this[l]},set(h){this[l]=h}}})();return ve(e,s,{get(){if(t){let l=o.call(this);return l===void 0&&(l=r(this),a.call(this,l)),l}return r(this)}})}return ve(e,s,{get(){return r(this)}})}}const ps=(i,t)=>t===void 0?i?._$litType$!==void 0:i?._$litType$===t;const{I:_s}=Ne,Ae=()=>document.createComment(""),q=(i,t,e)=>{var s;const n=i._$AA.parentNode,r=t===void 0?i._$AB:t._$AA;if(e===void 0){const o=n.insertBefore(Ae(),r),a=n.insertBefore(Ae(),r);e=new _s(o,a,i,i.options)}else{const o=e._$AB.nextSibling,a=e._$AM,l=a!==i;if(l){let h;(s=e._$AQ)===null||s===void 0||s.call(e,i),e._$AM=i,e._$AP!==void 0&&(h=i._$AU)!==a._$AU&&e._$AP(h)}if(o!==r||l){let h=e._$AA;for(;h!==o;){const $=h.nextSibling;n.insertBefore(h,r),h=$}}}return e},P=(i,t,e=i)=>(i._$AI(t,e),i),fs={},vs=(i,t=fs)=>i._$AH=t,As=i=>i._$AH,St=i=>{var t;(t=i._$AP)===null||t===void 0||t.call(i,!1,!0);let e=i._$AA;const s=i._$AB.nextSibling;for(;e!==s;){const n=e.nextSibling;e.remove(),e=n}};const ye=(i,t,e)=>{const s=new Map;for(let n=t;n<=e;n++)s.set(i[n],n);return s},ys=X(class extends tt{constructor(i){if(super(i),i.type!==G.CHILD)throw Error("repeat() can only be used in text expressions")}ht(i,t,e){let s;e===void 0?e=t:t!==void 0&&(s=t);const n=[],r=[];let o=0;for(const a of i)n[o]=s?s(a,o):o,r[o]=e(a,o),o++;return{values:r,keys:n}}render(i,t,e){return this.ht(i,t,e).values}update(i,[t,e,s]){var n;const r=As(i),{values:o,keys:a}=this.ht(t,e,s);if(!Array.isArray(r))return this.ut=a,o;const l=(n=this.ut)!==null&&n!==void 0?n:this.ut=[],h=[];let $,c,d=0,u=r.length-1,p=0,v=o.length-1;for(;d<=u&&p<=v;)if(r[d]===null)d++;else if(r[u]===null)u--;else if(l[d]===a[p])h[p]=P(r[d],o[p]),d++,p++;else if(l[u]===a[v])h[v]=P(r[u],o[v]),u--,v--;else if(l[d]===a[v])h[v]=P(r[d],o[v]),q(i,h[v+1],r[d]),d++,v--;else if(l[u]===a[p])h[p]=P(r[u],o[p]),q(i,r[d],r[u]),u--,p++;else if($===void 0&&($=ye(a,p,v),c=ye(l,d,u)),$.has(l[d]))if($.has(l[u])){const y=c.get(a[p]),ot=y!==void 0?r[y]:null;if(ot===null){const wt=q(i,r[d]);P(wt,o[p]),h[p]=wt}else h[p]=P(ot,o[p]),q(i,r[d],ot),r[y]=null;p++}else St(r[u]),u--;else St(r[d]),d++;for(;p<=v;){const y=q(i,h[v+1]);P(y,o[p]),h[p++]=y}for(;d<=u;){const y=r[d++];y!==null&&St(y)}return this.ut=a,vs(i,h),A}});const gs={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ms=i=>(...t)=>({_$litDirective$:i,values:t});class Es{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}const bs=ms(class extends Es{constructor(i){if(super(i),i.type!==gs.ATTRIBUTE||i.name!=="class"||i.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(t=>i[t]).join(" ")+" "}update(i,[t]){if(this.it===void 0){this.it=new Set,i.strings!==void 0&&(this.st=new Set(i.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(const s in t)t[s]&&!this.st?.has(s)&&this.it.add(s);return this.render(t)}const e=i.element.classList;for(const s of this.it)s in t||(e.remove(s),this.it.delete(s));for(const s in t){const n=!!t[s];n===this.it.has(s)||this.st?.has(s)||(n?(e.add(s),this.it.add(s)):(e.remove(s),this.it.delete(s)))}return C}});const Ss=X(class extends tt{constructor(i){var t;if(super(i),i.type!==G.ATTRIBUTE||i.name!=="class"||((t=i.strings)===null||t===void 0?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(t=>i[t]).join(" ")+" "}update(i,[t]){var e,s;if(this.nt===void 0){this.nt=new Set,i.strings!==void 0&&(this.st=new Set(i.strings.join(" ").split(/\s/).filter(r=>r!=="")));for(const r in t)t[r]&&!(!((e=this.st)===null||e===void 0)&&e.has(r))&&this.nt.add(r);return this.render(t)}const n=i.element.classList;this.nt.forEach(r=>{r in t||(n.remove(r),this.nt.delete(r))});for(const r in t){const o=!!t[r];o===this.nt.has(r)||!((s=this.st)===null||s===void 0)&&s.has(r)||(o?(n.add(r),this.nt.add(r)):(n.remove(r),this.nt.delete(r)))}return A}});const ge=Symbol.for(""),ws=i=>{if(i?.r===ge)return i?._$litStatic$},Cs=(i,...t)=>({_$litStatic$:t.reduce((e,s,n)=>e+(r=>{if(r._$litStatic$!==void 0)return r._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${r}. Use 'unsafeStatic' to pass non-literal values, but
|
|
8
|
-
take care to ensure page security.`)})(s)+i[n+1],i[0]),r:ge}),me=new Map,Ts=i=>(t,...e)=>{const s=e.length;let n,r;const o=[],a=[];let l,h=0,$=!1;for(;h<s;){for(l=t[h];h<s&&(r=e[h],(n=ws(r))!==void 0);)l+=n+t[++h],$=!0;h!==s&&a.push(r),o.push(l),h++}if(h===s&&o.push(t[s]),$){const c=o.join("$$lit$$");(t=me.get(c))===void 0&&(o.raw=o,me.set(c,t=o)),e=a}return i(t,...e)},Ps=Ts($e);const Us=i=>i??f;export{Yt as Z,bs as a,$s as b,Cs as c,Ps as d,ps as e,Se as f,Qt as g,B as h,ze as i,Pt as j,je as k,Re as l,Le as m,fe as n,Us as o,Ie as p,ys as q,us as r,W as s,ke as t,Ss as u,$e as x,Ue as y};
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
* Copyright 2019 Google LLC
|
|
12
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* @license
|
|
16
|
-
* Copyright 2017 Google LLC
|
|
17
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
|
-
*/
|
|
19
|
-
/**
|
|
20
|
-
* @license
|
|
21
|
-
* Copyright 2018 Google LLC
|
|
22
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
-
*/
|
|
24
|
-
/**
|
|
25
|
-
* @license
|
|
26
|
-
* Copyright 2021 Google LLC
|
|
27
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
28
|
-
*/
|
|
29
|
-
/**
|
|
30
|
-
* @license
|
|
31
|
-
* Copyright 2020 Google LLC
|
|
32
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
33
|
-
*/
|
|
34
|
-
//# sourceMappingURL=lit-iNN5L_Qk.esm.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function D(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ne=typeof global=="object"&&global&&global.Object===Object&&global,De=typeof self=="object"&&self&&self.Object===Object&&self,A=ne||De||Function("return this")(),X=function(){return A.Date.now()},Fe=/\s/;function Ne(e){for(var t=e.length;t--&&Fe.test(e.charAt(t)););return t}var Ge=/^\s+/;function Be(e){return e&&e.slice(0,Ne(e)+1).replace(Ge,"")}var I=A.Symbol,ae=Object.prototype,Ue=ae.hasOwnProperty,ze=ae.toString,F=I?I.toStringTag:void 0;function He(e){var t=Ue.call(e,F),r=e[F];try{e[F]=void 0;var n=!0}catch{}var i=ze.call(e);return n&&(t?e[F]=r:delete e[F]),i}var We=Object.prototype,Ke=We.toString;function qe(e){return Ke.call(e)}var Xe="[object Null]",Je="[object Undefined]",ie=I?I.toStringTag:void 0;function C(e){return e==null?e===void 0?Je:Xe:ie&&ie in Object(e)?He(e):qe(e)}function L(e){return e!=null&&typeof e=="object"}var Ye="[object Symbol]";function Ze(e){return typeof e=="symbol"||L(e)&&C(e)==Ye}var oe=0/0,Qe=/^[-+]0x[0-9a-f]+$/i,Ve=/^0b[01]+$/i,ke=/^0o[0-7]+$/i,et=parseInt;function se(e){if(typeof e=="number")return e;if(Ze(e))return oe;if(D(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=D(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Be(e);var r=Ve.test(e);return r||ke.test(e)?et(e.slice(2),r?2:8):Qe.test(e)?oe:+e}var tt="Expected a function",rt=Math.max,nt=Math.min;function at(e,t,r){var n,i,a,s,o,u,f=0,_=!1,d=!1,l=!0;if(typeof e!="function")throw new TypeError(tt);t=se(t)||0,D(r)&&(_=!!r.leading,d="maxWait"in r,a=d?rt(se(r.maxWait)||0,t):a,l="trailing"in r?!!r.trailing:l);function h(p){var $=n,R=i;return n=i=void 0,f=p,s=e.apply(R,$),s}function g(p){return f=p,o=setTimeout(v,t),_?h(p):s}function y(p){var $=p-u,R=p-f,re=t-$;return d?nt(re,a-R):re}function b(p){var $=p-u,R=p-f;return u===void 0||$>=t||$<0||d&&R>=a}function v(){var p=X();if(b(p))return T(p);o=setTimeout(v,y(p))}function T(p){return o=void 0,l&&n?h(p):(n=i=void 0,s)}function U(){o!==void 0&&clearTimeout(o),f=0,n=u=i=o=void 0}function E(){return o===void 0?s:T(X())}function O(){var p=X(),$=b(p);if(n=arguments,i=this,u=p,$){if(o===void 0)return g(u);if(d)return clearTimeout(o),o=setTimeout(v,t),h(u)}return o===void 0&&(o=setTimeout(v,t)),s}return O.cancel=U,O.flush=E,O}function it(){this.__data__=[],this.size=0}function fe(e,t){return e===t||e!==e&&t!==t}function z(e,t){for(var r=e.length;r--;)if(fe(e[r][0],t))return r;return-1}var ot=Array.prototype,st=ot.splice;function ft(e){var t=this.__data__,r=z(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():st.call(t,r,1),--this.size,!0}function ut(e){var t=this.__data__,r=z(t,e);return r<0?void 0:t[r][1]}function ct(e){return z(this.__data__,e)>-1}function lt(e,t){var r=this.__data__,n=z(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function m(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}m.prototype.clear=it,m.prototype.delete=ft,m.prototype.get=ut,m.prototype.has=ct,m.prototype.set=lt;function pt(){this.__data__=new m,this.size=0}function dt(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function gt(e){return this.__data__.get(e)}function _t(e){return this.__data__.has(e)}var ht="[object AsyncFunction]",yt="[object Function]",vt="[object GeneratorFunction]",bt="[object Proxy]";function ue(e){if(!D(e))return!1;var t=C(e);return t==yt||t==vt||t==ht||t==bt}var J=A["__core-js_shared__"],ce=function(){var e=/[^.]+$/.exec(J&&J.keys&&J.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Tt(e){return!!ce&&ce in e}var At=Function.prototype,mt=At.toString;function j(e){if(e!=null){try{return mt.call(e)}catch{}try{return e+""}catch{}}return""}var Ot=/[\\^$.*+?()[\]{}|]/g,$t=/^\[object .+?Constructor\]$/,wt=Function.prototype,jt=Object.prototype,St=wt.toString,Pt=jt.hasOwnProperty,xt=RegExp("^"+St.call(Pt).replace(Ot,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Et(e){if(!D(e)||Tt(e))return!1;var t=ue(e)?xt:$t;return t.test(j(e))}function It(e,t){return e?.[t]}function M(e,t){var r=It(e,t);return Et(r)?r:void 0}var N=M(A,"Map"),G=M(Object,"create");function Ct(){this.__data__=G?G(null):{},this.size=0}function Lt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Mt="__lodash_hash_undefined__",Rt=Object.prototype,Dt=Rt.hasOwnProperty;function Ft(e){var t=this.__data__;if(G){var r=t[e];return r===Mt?void 0:r}return Dt.call(t,e)?t[e]:void 0}var Nt=Object.prototype,Gt=Nt.hasOwnProperty;function Bt(e){var t=this.__data__;return G?t[e]!==void 0:Gt.call(t,e)}var Ut="__lodash_hash_undefined__";function zt(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=G&&t===void 0?Ut:t,this}function S(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}S.prototype.clear=Ct,S.prototype.delete=Lt,S.prototype.get=Ft,S.prototype.has=Bt,S.prototype.set=zt;function Ht(){this.size=0,this.__data__={hash:new S,map:new(N||m),string:new S}}function Wt(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function H(e,t){var r=e.__data__;return Wt(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Kt(e){var t=H(this,e).delete(e);return this.size-=t?1:0,t}function qt(e){return H(this,e).get(e)}function Xt(e){return H(this,e).has(e)}function Jt(e,t){var r=H(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function P(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}P.prototype.clear=Ht,P.prototype.delete=Kt,P.prototype.get=qt,P.prototype.has=Xt,P.prototype.set=Jt;var Yt=200;function Zt(e,t){var r=this.__data__;if(r instanceof m){var n=r.__data__;if(!N||n.length<Yt-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new P(n)}return r.set(e,t),this.size=r.size,this}function w(e){var t=this.__data__=new m(e);this.size=t.size}w.prototype.clear=pt,w.prototype.delete=dt,w.prototype.get=gt,w.prototype.has=_t,w.prototype.set=Zt;var Qt="__lodash_hash_undefined__";function Vt(e){return this.__data__.set(e,Qt),this}function kt(e){return this.__data__.has(e)}function W(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new P;++t<r;)this.add(e[t])}W.prototype.add=W.prototype.push=Vt,W.prototype.has=kt;function er(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function tr(e,t){return e.has(t)}var rr=1,nr=2;function le(e,t,r,n,i,a){var s=r&rr,o=e.length,u=t.length;if(o!=u&&!(s&&u>o))return!1;var f=a.get(e),_=a.get(t);if(f&&_)return f==t&&_==e;var d=-1,l=!0,h=r&nr?new W:void 0;for(a.set(e,t),a.set(t,e);++d<o;){var g=e[d],y=t[d];if(n)var b=s?n(y,g,d,t,e,a):n(g,y,d,e,t,a);if(b!==void 0){if(b)continue;l=!1;break}if(h){if(!er(t,function(v,T){if(!tr(h,T)&&(g===v||i(g,v,r,n,a)))return h.push(T)})){l=!1;break}}else if(!(g===y||i(g,y,r,n,a))){l=!1;break}}return a.delete(e),a.delete(t),l}var pe=A.Uint8Array;function ar(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function ir(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var or=1,sr=2,fr="[object Boolean]",ur="[object Date]",cr="[object Error]",lr="[object Map]",pr="[object Number]",dr="[object RegExp]",gr="[object Set]",_r="[object String]",hr="[object Symbol]",yr="[object ArrayBuffer]",vr="[object DataView]",de=I?I.prototype:void 0,Y=de?de.valueOf:void 0;function br(e,t,r,n,i,a,s){switch(r){case vr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case yr:return!(e.byteLength!=t.byteLength||!a(new pe(e),new pe(t)));case fr:case ur:case pr:return fe(+e,+t);case cr:return e.name==t.name&&e.message==t.message;case dr:case _r:return e==t+"";case lr:var o=ar;case gr:var u=n∨if(o||(o=ir),e.size!=t.size&&!u)return!1;var f=s.get(e);if(f)return f==t;n|=sr,s.set(e,t);var _=le(o(e),o(t),n,i,a,s);return s.delete(e),_;case hr:if(Y)return Y.call(e)==Y.call(t)}return!1}function Tr(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var K=Array.isArray;function Ar(e,t,r){var n=t(e);return K(e)?n:Tr(n,r(e))}function mr(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[i++]=s)}return a}function Or(){return[]}var $r=Object.prototype,wr=$r.propertyIsEnumerable,ge=Object.getOwnPropertySymbols,jr=ge?function(e){return e==null?[]:(e=Object(e),mr(ge(e),function(t){return wr.call(e,t)}))}:Or;function Sr(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Pr="[object Arguments]";function _e(e){return L(e)&&C(e)==Pr}var he=Object.prototype,xr=he.hasOwnProperty,Er=he.propertyIsEnumerable,Ir=_e(function(){return arguments}())?_e:function(e){return L(e)&&xr.call(e,"callee")&&!Er.call(e,"callee")};function Cr(){return!1}var ye=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ve=ye&&typeof module=="object"&&module&&!module.nodeType&&module,Lr=ve&&ve.exports===ye,be=Lr?A.Buffer:void 0,Mr=be?be.isBuffer:void 0,Z=Mr||Cr,Rr=9007199254740991,Dr=/^(?:0|[1-9]\d*)$/;function Fr(e,t){var r=typeof e;return t=t??Rr,!!t&&(r=="number"||r!="symbol"&&Dr.test(e))&&e>-1&&e%1==0&&e<t}var Nr=9007199254740991;function Te(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Nr}var Gr="[object Arguments]",Br="[object Array]",Ur="[object Boolean]",zr="[object Date]",Hr="[object Error]",Wr="[object Function]",Kr="[object Map]",qr="[object Number]",Xr="[object Object]",Jr="[object RegExp]",Yr="[object Set]",Zr="[object String]",Qr="[object WeakMap]",Vr="[object ArrayBuffer]",kr="[object DataView]",en="[object Float32Array]",tn="[object Float64Array]",rn="[object Int8Array]",nn="[object Int16Array]",an="[object Int32Array]",on="[object Uint8Array]",sn="[object Uint8ClampedArray]",fn="[object Uint16Array]",un="[object Uint32Array]",c={};c[en]=c[tn]=c[rn]=c[nn]=c[an]=c[on]=c[sn]=c[fn]=c[un]=!0,c[Gr]=c[Br]=c[Vr]=c[Ur]=c[kr]=c[zr]=c[Hr]=c[Wr]=c[Kr]=c[qr]=c[Xr]=c[Jr]=c[Yr]=c[Zr]=c[Qr]=!1;function cn(e){return L(e)&&Te(e.length)&&!!c[C(e)]}function ln(e){return function(t){return e(t)}}var Ae=typeof exports=="object"&&exports&&!exports.nodeType&&exports,B=Ae&&typeof module=="object"&&module&&!module.nodeType&&module,pn=B&&B.exports===Ae,Q=pn&&ne.process,me=function(){try{var e=B&&B.require&&B.require("util").types;return e||Q&&Q.binding&&Q.binding("util")}catch{}}(),Oe=me&&me.isTypedArray,$e=Oe?ln(Oe):cn,dn=Object.prototype,gn=dn.hasOwnProperty;function _n(e,t){var r=K(e),n=!r&&Ir(e),i=!r&&!n&&Z(e),a=!r&&!n&&!i&&$e(e),s=r||n||i||a,o=s?Sr(e.length,String):[],u=o.length;for(var f in e)(t||gn.call(e,f))&&!(s&&(f=="length"||i&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Fr(f,u)))&&o.push(f);return o}var hn=Object.prototype;function yn(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||hn;return e===r}function vn(e,t){return function(r){return e(t(r))}}var bn=vn(Object.keys,Object),Tn=Object.prototype,An=Tn.hasOwnProperty;function mn(e){if(!yn(e))return bn(e);var t=[];for(var r in Object(e))An.call(e,r)&&r!="constructor"&&t.push(r);return t}function On(e){return e!=null&&Te(e.length)&&!ue(e)}function $n(e){return On(e)?_n(e):mn(e)}function we(e){return Ar(e,$n,jr)}var wn=1,jn=Object.prototype,Sn=jn.hasOwnProperty;function Pn(e,t,r,n,i,a){var s=r&wn,o=we(e),u=o.length,f=we(t),_=f.length;if(u!=_&&!s)return!1;for(var d=u;d--;){var l=o[d];if(!(s?l in t:Sn.call(t,l)))return!1}var h=a.get(e),g=a.get(t);if(h&&g)return h==t&&g==e;var y=!0;a.set(e,t),a.set(t,e);for(var b=s;++d<u;){l=o[d];var v=e[l],T=t[l];if(n)var U=s?n(T,v,l,t,e,a):n(v,T,l,e,t,a);if(!(U===void 0?v===T||i(v,T,r,n,a):U)){y=!1;break}b||(b=l=="constructor")}if(y&&!b){var E=e.constructor,O=t.constructor;E!=O&&"constructor"in e&&"constructor"in t&&!(typeof E=="function"&&E instanceof E&&typeof O=="function"&&O instanceof O)&&(y=!1)}return a.delete(e),a.delete(t),y}var V=M(A,"DataView"),k=M(A,"Promise"),ee=M(A,"Set"),te=M(A,"WeakMap"),je="[object Map]",xn="[object Object]",Se="[object Promise]",Pe="[object Set]",xe="[object WeakMap]",Ee="[object DataView]",En=j(V),In=j(N),Cn=j(k),Ln=j(ee),Mn=j(te),x=C;(V&&x(new V(new ArrayBuffer(1)))!=Ee||N&&x(new N)!=je||k&&x(k.resolve())!=Se||ee&&x(new ee)!=Pe||te&&x(new te)!=xe)&&(x=function(e){var t=C(e),r=t==xn?e.constructor:void 0,n=r?j(r):"";if(n)switch(n){case En:return Ee;case In:return je;case Cn:return Se;case Ln:return Pe;case Mn:return xe}return t});var Ie=x,Rn=1,Ce="[object Arguments]",Le="[object Array]",q="[object Object]",Dn=Object.prototype,Me=Dn.hasOwnProperty;function Fn(e,t,r,n,i,a){var s=K(e),o=K(t),u=s?Le:Ie(e),f=o?Le:Ie(t);u=u==Ce?q:u,f=f==Ce?q:f;var _=u==q,d=f==q,l=u==f;if(l&&Z(e)){if(!Z(t))return!1;s=!0,_=!1}if(l&&!_)return a||(a=new w),s||$e(e)?le(e,t,r,n,i,a):br(e,t,u,r,n,i,a);if(!(r&Rn)){var h=_&&Me.call(e,"__wrapped__"),g=d&&Me.call(t,"__wrapped__");if(h||g){var y=h?e.value():e,b=g?t.value():t;return a||(a=new w),i(y,b,r,n,a)}}return l?(a||(a=new w),Pn(e,t,r,n,i,a)):!1}function Re(e,t,r,n,i){return e===t?!0:e==null||t==null||!L(e)&&!L(t)?e!==e&&t!==t:Fn(e,t,r,n,Re,i)}function Nn(e,t){return Re(e,t)}export{at as d,Nn as i};
|
|
2
|
-
//# sourceMappingURL=lodash-P8OIs-at.esm.js.map
|