@salla.sa/twilight-components 2.13.17 → 2.13.19
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/cjs/{camera-807a5122.js → camera-82e553eb.js} +1 -9
- package/dist/cjs/camera-82e553eb.js.map +1 -0
- package/dist/cjs/check-771d889f.js +15 -0
- package/dist/cjs/check-771d889f.js.map +1 -0
- package/dist/cjs/{index-40f35e63.js → index-96c545df.js} +12 -3
- package/dist/cjs/index-96c545df.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-add-product-button_47.cjs.entry.js +5 -4
- package/dist/cjs/salla-add-product-button_47.cjs.entry.js.map +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +10 -20
- package/dist/cjs/salla-app-install-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +107 -0
- package/dist/cjs/salla-order-summary.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-options.cjs.entry.js +4 -3
- package/dist/cjs/salla-product-options.cjs.entry.js.map +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/salla-app-install-alert/interfaces.js +2 -0
- package/dist/collection/components/salla-app-install-alert/interfaces.js.map +1 -0
- package/dist/collection/components/salla-app-install-alert/salla-app-install-alert.js +9 -19
- package/dist/collection/components/salla-app-install-alert/salla-app-install-alert.js.map +1 -1
- package/dist/collection/components/salla-order-summary/interfaces.js +2 -0
- package/dist/collection/components/salla-order-summary/interfaces.js.map +1 -0
- package/dist/collection/components/salla-order-summary/salla-order-summary.css +3 -0
- package/dist/collection/components/salla-order-summary/salla-order-summary.js +113 -0
- package/dist/collection/components/salla-order-summary/salla-order-summary.js.map +1 -0
- package/dist/collection/components/salla-order-summary/test/salla-order-summary.e2e.js +13 -0
- package/dist/collection/components/salla-order-summary/test/salla-order-summary.e2e.js.map +1 -0
- package/dist/collection/components/salla-order-summary/test/salla-order-summary.spec.js +21 -0
- package/dist/collection/components/salla-order-summary/test/salla-order-summary.spec.js.map +1 -0
- package/dist/collection/components/salla-quick-order/salla-quick-order.js +1 -1
- package/dist/collection/components/salla-quick-order/salla-quick-order.js.map +1 -1
- package/dist/components/salla-app-install-alert.js +9 -19
- package/dist/components/salla-app-install-alert.js.map +1 -1
- package/dist/components/salla-order-summary.d.ts +11 -0
- package/dist/components/salla-order-summary.js +137 -0
- package/dist/components/salla-order-summary.js.map +1 -0
- package/dist/components/salla-quick-order.js +1 -1
- package/dist/components/salla-quick-order.js.map +1 -1
- package/dist/esm/{camera-a379486d.js → camera-d0a93c12.js} +2 -9
- package/dist/esm/camera-d0a93c12.js.map +1 -0
- package/dist/esm/check-838f37a7.js +13 -0
- package/dist/esm/check-838f37a7.js.map +1 -0
- package/dist/esm/{index-e6c3f002.js → index-9a9b1e67.js} +12 -3
- package/dist/esm/index-9a9b1e67.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-add-product-button_47.entry.js +4 -3
- package/dist/esm/salla-add-product-button_47.entry.js.map +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +10 -20
- package/dist/esm/salla-app-install-alert.entry.js.map +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-conditional-fields.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +103 -0
- package/dist/esm/salla-order-summary.entry.js.map +1 -0
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-options.entry.js +3 -2
- package/dist/esm/salla-product-options.entry.js.map +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-products-slider.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm-es5/camera-d0a93c12.js +5 -0
- package/dist/esm-es5/check-838f37a7.js +5 -0
- package/dist/esm-es5/{index-e6c3f002.js → index-9a9b1e67.js} +2 -2
- package/dist/esm-es5/index-9a9b1e67.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/salla-add-product-button_47.entry.js +2 -2
- package/dist/esm-es5/salla-add-product-button_47.entry.js.map +1 -1
- package/dist/esm-es5/salla-advertisement.entry.js +1 -1
- package/dist/esm-es5/salla-app-install-alert.entry.js +1 -1
- package/dist/esm-es5/salla-app-install-alert.entry.js.map +1 -1
- package/dist/esm-es5/salla-apps-icons.entry.js +1 -1
- package/dist/esm-es5/salla-conditional-fields.entry.js +1 -1
- package/dist/esm-es5/salla-contacts.entry.js +1 -1
- package/dist/esm-es5/salla-filters-widget.entry.js +1 -1
- package/dist/esm-es5/salla-filters.entry.js +1 -1
- package/dist/esm-es5/salla-installment.entry.js +1 -1
- package/dist/esm-es5/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm-es5/salla-notification-item.entry.js +1 -1
- package/dist/esm-es5/salla-notifications.entry.js +1 -1
- package/dist/esm-es5/salla-offer.entry.js +1 -1
- package/dist/esm-es5/salla-order-summary.entry.js +5 -0
- package/dist/esm-es5/salla-order-summary.entry.js.map +1 -0
- package/dist/esm-es5/salla-payments.entry.js +1 -1
- package/dist/esm-es5/salla-price-range.entry.js +1 -1
- package/dist/esm-es5/salla-product-options.entry.js +1 -1
- package/dist/esm-es5/salla-product-options.entry.js.map +1 -1
- package/dist/esm-es5/salla-products-list.entry.js +1 -1
- package/dist/esm-es5/salla-products-slider.entry.js +1 -1
- package/dist/esm-es5/salla-social.entry.js +1 -1
- package/dist/esm-es5/twilight.js +1 -1
- package/dist/esm-es5/twilight.js.map +1 -1
- package/dist/twilight/p-0186ffc1.js +5 -0
- package/dist/twilight/{p-b7b592bc.entry.js → p-06371bb0.entry.js} +2 -2
- package/dist/twilight/{p-3834f37c.entry.js → p-09708e69.entry.js} +2 -2
- package/dist/twilight/{p-06ee24b3.system.entry.js → p-0b502ded.system.entry.js} +2 -2
- package/dist/twilight/{p-6d939dd2.entry.js → p-1670ae9f.entry.js} +10 -10
- package/dist/twilight/{p-6d939dd2.entry.js.map → p-1670ae9f.entry.js.map} +1 -1
- package/dist/twilight/p-19338c46.entry.js +5 -0
- package/dist/twilight/p-19338c46.entry.js.map +1 -0
- package/dist/twilight/p-1d8dea0d.system.entry.js +5 -0
- package/dist/twilight/p-1d8dea0d.system.entry.js.map +1 -0
- package/dist/twilight/{p-bf4cc420.system.entry.js → p-244fdaa3.system.entry.js} +2 -2
- package/dist/twilight/p-26807b00.system.entry.js +5 -0
- package/dist/twilight/{p-3b9dc939.system.entry.js.map → p-26807b00.system.entry.js.map} +1 -1
- package/dist/twilight/{p-9d806602.system.entry.js → p-26ccfdb9.system.entry.js} +2 -2
- package/dist/twilight/{p-06d0f1fc.system.entry.js → p-27e67445.system.entry.js} +2 -2
- package/dist/twilight/{p-025d4f2d.system.entry.js → p-2919b445.system.entry.js} +2 -2
- package/dist/twilight/{p-dd9b5ccb.js → p-294dad80.js} +2 -2
- package/dist/twilight/p-294dad80.js.map +1 -0
- package/dist/twilight/{p-390ad22a.system.entry.js → p-4923a67f.system.entry.js} +2 -2
- package/dist/twilight/p-4f6a5307.js +5 -0
- package/dist/twilight/p-4f6a5307.js.map +1 -0
- package/dist/twilight/{p-6b22ed0e.system.entry.js → p-52e80e00.system.entry.js} +2 -2
- package/dist/twilight/{p-1868754d.system.entry.js → p-5ab9e320.system.entry.js} +2 -2
- package/dist/twilight/{p-8241fdbe.system.entry.js → p-5add79da.system.entry.js} +2 -2
- package/dist/twilight/{p-73543cab.entry.js → p-5cf571e0.entry.js} +2 -2
- package/dist/twilight/{p-ce624f5f.system.entry.js → p-5d8d9481.system.entry.js} +2 -2
- package/dist/twilight/p-61858adc.system.js +5 -0
- package/dist/twilight/p-61858adc.system.js.map +1 -0
- package/dist/twilight/{p-d4007670.system.entry.js → p-63de8456.system.entry.js} +10 -10
- package/dist/twilight/{p-d4007670.system.entry.js.map → p-63de8456.system.entry.js.map} +1 -1
- package/dist/twilight/{p-333ec93c.entry.js → p-65a4715d.entry.js} +2 -2
- package/dist/twilight/{p-4ce6ce88.entry.js → p-65f0067f.entry.js} +2 -2
- package/dist/twilight/{p-6d6256da.system.entry.js → p-66da3f43.system.entry.js} +2 -2
- package/dist/twilight/p-70434381.system.js +5 -0
- package/dist/twilight/p-70434381.system.js.map +1 -0
- package/dist/twilight/{p-54d6d3b2.system.entry.js → p-78b1292d.system.entry.js} +2 -2
- package/dist/twilight/{p-124dbc8a.entry.js → p-7ce64b51.entry.js} +2 -2
- package/dist/twilight/{p-c6bac58c.entry.js → p-7fc43537.entry.js} +2 -2
- package/dist/twilight/p-80f28677.system.js +5 -0
- package/dist/twilight/{p-22970c71.system.js.map → p-80f28677.system.js.map} +1 -1
- package/dist/twilight/{p-a576382e.entry.js → p-93a0c3f0.entry.js} +2 -2
- package/dist/twilight/{p-2196dcbb.entry.js → p-94ad2e62.entry.js} +2 -2
- package/dist/twilight/p-97a6c220.system.entry.js +5 -0
- package/dist/twilight/p-97a6c220.system.entry.js.map +1 -0
- package/dist/twilight/{p-878fc12c.system.entry.js → p-9afefe3a.system.entry.js} +2 -2
- package/dist/twilight/{p-2d5a5668.system.entry.js → p-bb77d0d9.system.entry.js} +2 -2
- package/dist/twilight/p-c7f23f03.entry.js +5 -0
- package/dist/twilight/{p-af0f70cd.entry.js.map → p-c7f23f03.entry.js.map} +1 -1
- package/dist/twilight/{p-25656ae8.entry.js → p-c8c265d7.entry.js} +2 -2
- package/dist/twilight/{p-9a7f3e65.system.entry.js → p-d1b7315f.system.entry.js} +2 -2
- package/dist/twilight/{p-041f94a6.entry.js → p-d41dfff7.entry.js} +2 -2
- package/dist/twilight/{p-3d58cecc.entry.js → p-d5e825e0.entry.js} +2 -2
- package/dist/twilight/{p-37d0c076.entry.js → p-e218f9e3.entry.js} +2 -2
- package/dist/twilight/{p-2768c606.entry.js → p-e6bb10f0.entry.js} +2 -2
- package/dist/twilight/{p-89564b2e.entry.js → p-e7aa06ff.entry.js} +2 -2
- package/dist/twilight/{p-a54fbc9b.system.entry.js → p-ed382e13.system.entry.js} +2 -2
- package/dist/twilight/{p-548cb28d.system.js → p-eebd57c0.system.js} +2 -2
- package/dist/twilight/p-eebd57c0.system.js.map +1 -0
- package/dist/twilight/{p-0c2748dd.entry.js → p-f30e7de2.entry.js} +2 -2
- package/dist/twilight/p-f5cd04ef.entry.js +5 -0
- package/dist/twilight/p-f5cd04ef.entry.js.map +1 -0
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/twilight/twilight.esm.js.map +1 -1
- package/dist/twilight/twilight.js +1 -1
- package/dist/types/components/salla-app-install-alert/interfaces.d.ts +6 -0
- package/dist/types/components/salla-app-install-alert/salla-app-install-alert.d.ts +5 -6
- package/dist/types/components/salla-order-summary/interfaces.d.ts +20 -0
- package/dist/types/components/salla-order-summary/salla-order-summary.d.ts +24 -0
- package/dist/types/components.d.ts +21 -0
- package/package.json +5 -5
- package/dist/cjs/camera-807a5122.js.map +0 -1
- package/dist/cjs/index-40f35e63.js.map +0 -1
- package/dist/esm/camera-a379486d.js.map +0 -1
- package/dist/esm/index-e6c3f002.js.map +0 -1
- package/dist/esm-es5/camera-a379486d.js +0 -5
- package/dist/esm-es5/index-e6c3f002.js.map +0 -1
- package/dist/twilight/p-22970c71.system.js +0 -5
- package/dist/twilight/p-3b9dc939.system.entry.js +0 -5
- package/dist/twilight/p-548cb28d.system.js.map +0 -1
- package/dist/twilight/p-59b293ab.system.entry.js +0 -5
- package/dist/twilight/p-59b293ab.system.entry.js.map +0 -1
- package/dist/twilight/p-af0f70cd.entry.js +0 -5
- package/dist/twilight/p-bcafcefb.system.js +0 -5
- package/dist/twilight/p-cbda894f.js +0 -5
- package/dist/twilight/p-dd9b5ccb.js.map +0 -1
- package/dist/twilight/p-f0a605cc.entry.js +0 -5
- package/dist/twilight/p-f0a605cc.entry.js.map +0 -1
- package/dist/types/global.d.ts +0 -20
- /package/dist/esm-es5/{camera-a379486d.js.map → camera-d0a93c12.js.map} +0 -0
- /package/dist/{twilight/p-bcafcefb.system.js.map → esm-es5/check-838f37a7.js.map} +0 -0
- /package/dist/twilight/{p-cbda894f.js.map → p-0186ffc1.js.map} +0 -0
- /package/dist/twilight/{p-b7b592bc.entry.js.map → p-06371bb0.entry.js.map} +0 -0
- /package/dist/twilight/{p-3834f37c.entry.js.map → p-09708e69.entry.js.map} +0 -0
- /package/dist/twilight/{p-06ee24b3.system.entry.js.map → p-0b502ded.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-bf4cc420.system.entry.js.map → p-244fdaa3.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-9d806602.system.entry.js.map → p-26ccfdb9.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-06d0f1fc.system.entry.js.map → p-27e67445.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-025d4f2d.system.entry.js.map → p-2919b445.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-390ad22a.system.entry.js.map → p-4923a67f.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-6b22ed0e.system.entry.js.map → p-52e80e00.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-1868754d.system.entry.js.map → p-5ab9e320.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-8241fdbe.system.entry.js.map → p-5add79da.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-73543cab.entry.js.map → p-5cf571e0.entry.js.map} +0 -0
- /package/dist/twilight/{p-ce624f5f.system.entry.js.map → p-5d8d9481.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-333ec93c.entry.js.map → p-65a4715d.entry.js.map} +0 -0
- /package/dist/twilight/{p-4ce6ce88.entry.js.map → p-65f0067f.entry.js.map} +0 -0
- /package/dist/twilight/{p-6d6256da.system.entry.js.map → p-66da3f43.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-54d6d3b2.system.entry.js.map → p-78b1292d.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-124dbc8a.entry.js.map → p-7ce64b51.entry.js.map} +0 -0
- /package/dist/twilight/{p-c6bac58c.entry.js.map → p-7fc43537.entry.js.map} +0 -0
- /package/dist/twilight/{p-a576382e.entry.js.map → p-93a0c3f0.entry.js.map} +0 -0
- /package/dist/twilight/{p-2196dcbb.entry.js.map → p-94ad2e62.entry.js.map} +0 -0
- /package/dist/twilight/{p-878fc12c.system.entry.js.map → p-9afefe3a.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-2d5a5668.system.entry.js.map → p-bb77d0d9.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-25656ae8.entry.js.map → p-c8c265d7.entry.js.map} +0 -0
- /package/dist/twilight/{p-9a7f3e65.system.entry.js.map → p-d1b7315f.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-041f94a6.entry.js.map → p-d41dfff7.entry.js.map} +0 -0
- /package/dist/twilight/{p-3d58cecc.entry.js.map → p-d5e825e0.entry.js.map} +0 -0
- /package/dist/twilight/{p-37d0c076.entry.js.map → p-e218f9e3.entry.js.map} +0 -0
- /package/dist/twilight/{p-2768c606.entry.js.map → p-e6bb10f0.entry.js.map} +0 -0
- /package/dist/twilight/{p-89564b2e.entry.js.map → p-e7aa06ff.entry.js.map} +0 -0
- /package/dist/twilight/{p-a54fbc9b.system.entry.js.map → p-ed382e13.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-0c2748dd.entry.js.map → p-f30e7de2.entry.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
const t="twilight";let e;let n;let s=false;let l=false;let o=false;let i=false;let f=false;const c=(t,e="")=>{{return()=>{}}};const r=(t,e)=>{{return()=>{}}};const u="r";const a="o";const d="s";const $="t";const h="s-id";const y="sty-id";const p="c-id";const m="{visibility:hidden}.hydrated{visibility:inherit}";const w="http://www.w3.org/1999/xlink";const b={};const g="http://www.w3.org/2000/svg";const v="http://www.w3.org/1999/xhtml";const k=t=>{t=typeof t;return t==="object"||t==="function"};function S(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const j=(t,e,...n)=>{let s=null;let l=null;let o=null;let i=false;let f=false;const c=[];const r=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){r(s)}else if(s!=null&&typeof s!=="boolean"){if(i=typeof t!=="function"&&!k(s)){s=String(s)}if(i&&f){c[c.length-1].t+=s}else{c.push(i?O(null,s):s)}f=i}}};r(n);if(e){if(e.key){l=e.key}if(e.name){o=e.name}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}const u=O(t,null);u.l=e;if(c.length>0){u.o=c}{u.i=l}{u.u=o}return u};const O=(t,e)=>{const n={$:0,h:t,t:e,p:null,o:null};{n.l=null}{n.i=null}{n.u=null}return n};const x={};const C=t=>t&&t.h===x;const M=(t,e,n,s)=>{const l=c("hydrateClient",e);const o=t.shadowRoot;const i=[];const f=[];const r=null;const u=s.m=O(e,null);if(!qt.g){R(Ht.body,qt.g=new Map)}t[h]=n;t.removeAttribute(h);P(u,i,f,r,t,t,n);i.map((t=>{const n=t.v+"."+t.k;const s=qt.g.get(n);const l=t.p;if(s&&Vt&&s["s-en"]===""){s.parentNode.insertBefore(l,s.nextSibling)}if(!o){l["s-hn"]=e;if(s){l["s-ol"]=s;l["s-ol"]["s-nr"]=l}}qt.g.delete(n)}));l()};const P=(t,e,n,s,l,o,i)=>{let f;let c;let r;let a;if(o.nodeType===1){f=o.getAttribute(p);if(f){c=f.split(".");if(c[0]===i||c[0]==="0"){r={$:0,v:c[0],k:c[1],S:c[2],j:c[3],h:o.tagName.toLowerCase(),p:o,l:null,o:null,i:null,u:null,t:null};e.push(r);o.removeAttribute(p);if(!t.o){t.o=[]}t.o[r.j]=r;t=r;if(s&&r.S==="0"){s[r.j]=r.p}}}for(a=o.childNodes.length-1;a>=0;a--){P(t,e,n,s,l,o.childNodes[a],i)}if(o.shadowRoot){for(a=o.shadowRoot.childNodes.length-1;a>=0;a--){P(t,e,n,s,l,o.shadowRoot.childNodes[a],i)}}}else if(o.nodeType===8){c=o.nodeValue.split(".");if(c[1]===i||c[1]==="0"){f=c[0];r={$:0,v:c[1],k:c[2],S:c[3],j:c[4],p:o,l:null,o:null,i:null,u:null,h:null,t:null};if(f===$){r.p=o.nextSibling;if(r.p&&r.p.nodeType===3){r.t=r.p.textContent;e.push(r);o.remove();if(!t.o){t.o=[]}t.o[r.j]=r;if(s&&r.S==="0"){s[r.j]=r.p}}}else if(r.v===i){if(f===d){r.h="slot";if(c[5]){o["s-sn"]=r.u=c[5]}else{o["s-sn"]=""}o["s-sr"]=true;n.push(r);if(!t.o){t.o=[]}t.o[r.j]=r}else if(f===u){{l["s-cr"]=o;o["s-cn"]=true}}}}}else if(t&&t.h==="style"){const e=O(null,o.textContent);e.p=o;e.j="0";t.o=[e]}};const R=(t,e)=>{if(t.nodeType===1){let n=0;for(;n<t.childNodes.length;n++){R(t.childNodes[n],e)}if(t.shadowRoot){for(n=0;n<t.shadowRoot.childNodes.length;n++){R(t.shadowRoot.childNodes[n],e)}}}else if(t.nodeType===8){const n=t.nodeValue.split(".");if(n[0]===a){e.set(n[1]+"."+n[2],t);t.nodeValue="";t["s-en"]=n[3]}}};const I=(t,e)=>{if(t!=null&&!k(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const T=t=>Tt(t).O;const L=(t,e,n)=>{const s=T(t);return{emit:t=>N(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const N=(t,e,n)=>{const s=qt.ce(e,n);t.dispatchEvent(s);return s};const U=new WeakMap;const E=(t,e,n)=>{let s=Dt.get(t);if(zt&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}Dt.set(t,s)};const W=(t,e,n)=>{var s;const l=D(e);const o=Dt.get(l);t=t.nodeType===11?t:Ht;if(o){if(typeof o==="string"){t=t.head||t;let e=U.get(t);let n;if(!e){U.set(t,e=new Set)}if(!e.has(l)){if(t.host&&(n=t.querySelector(`[${y}="${l}"]`))){n.innerHTML=o}else{n=Ht.createElement("style");n.innerHTML=o;const e=(s=qt.C)!==null&&s!==void 0?s:S(Ht);if(e!=null){n.setAttribute("nonce",e)}t.insertBefore(n,t.querySelector("link"))}if(e){e.add(l)}}}else if(!t.adoptedStyleSheets.includes(o)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]}}return l};const A=t=>{const e=t.M;const n=t.O;const s=c("attachStyles",e.P);W(n.getRootNode(),e);s()};const D=(t,e)=>"sc-"+t.P;const F=(t,e,n,s,l,o)=>{if(n!==s){let i=Ut(t,e);let f=e.toLowerCase();if(e==="class"){const e=t.classList;const l=q(n);const o=q(s);e.remove(...l.filter((t=>t&&!o.includes(t))));e.add(...o.filter((t=>t&&!l.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!i&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Ut(Ft,f)){e=f.slice(2)}else{e=f[2]+e.slice(3)}if(n){qt.rel(t,e,n,false)}if(s){qt.ael(t,e,s,false)}}else{const c=k(s);if((i||c&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(e==="list"){i=false}else if(n==null||t[e]!=l){t[e]=l}}else{t[e]=s}}catch(t){}}let r=false;{if(f!==(f=f.replace(/^xlink\:?/,""))){e=f;r=true}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){if(r){t.removeAttributeNS(w,e)}else{t.removeAttribute(e)}}}else if((!i||o&4||l)&&!c){s=s===true?"":s;if(r){t.setAttributeNS(w,e,s)}else{t.setAttribute(e,s)}}}}};const H=/\s/;const q=t=>!t?[]:t.split(H);const V=(t,e,n,s)=>{const l=e.p.nodeType===11&&e.p.host?e.p.host:e.p;const o=t&&t.l||b;const i=e.l||b;{for(s in o){if(!(s in i)){F(l,s,o[s],undefined,n,e.$)}}}for(s in i){F(l,s,o[s],i[s],n,e.$)}};const _=(t,l,f,c)=>{const r=l.o[f];let u=0;let a;let d;let $;if(!s){o=true;if(r.h==="slot"){r.$|=r.o?2:1}}if(r.t!==null){a=r.p=Ht.createTextNode(r.t)}else if(r.$&1){a=r.p=Ht.createTextNode("")}else{if(!i){i=r.h==="svg"}a=r.p=Ht.createElementNS(i?g:v,r.$&2?"slot-fb":r.h);if(i&&r.h==="foreignObject"){i=false}{V(null,r,i)}if(r.o){for(u=0;u<r.o.length;++u){d=_(t,r,u);if(d){a.appendChild(d)}}}{if(r.h==="svg"){i=false}else if(a.tagName==="foreignObject"){i=true}}}{a["s-hn"]=n;if(r.$&(2|1)){a["s-sr"]=true;a["s-cr"]=e;a["s-sn"]=r.u||"";$=t&&t.o&&t.o[f];if($&&$.h===r.h&&t.p){z(t.p,false)}}}return a};const z=(t,e)=>{qt.$|=1;const s=t.childNodes;for(let t=s.length-1;t>=0;t--){const l=s[t];if(l["s-hn"]!==n&&l["s-ol"]){X(l).insertBefore(l,Q(l));l["s-ol"].remove();l["s-ol"]=undefined;o=true}if(e){z(l,e)}}qt.$&=~1};const B=(t,e,n,s,l,o)=>{let i=t["s-cr"]&&t["s-cr"].parentNode||t;let f;for(;l<=o;++l){if(s[l]){f=_(null,n,l);if(f){s[l].p=f;i.insertBefore(f,Q(e))}}}};const G=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.p;st(e);if(t){{l=true;if(t["s-ol"]){t["s-ol"].remove()}else{z(t,true)}}t.remove()}}}};const J=(t,e,n,s)=>{let l=0;let o=0;let i=0;let f=0;let c=e.length-1;let r=e[0];let u=e[c];let a=s.length-1;let d=s[0];let $=s[a];let h;let y;while(l<=c&&o<=a){if(r==null){r=e[++l]}else if(u==null){u=e[--c]}else if(d==null){d=s[++o]}else if($==null){$=s[--a]}else if(K(r,d)){Y(r,d);r=e[++l];d=s[++o]}else if(K(u,$)){Y(u,$);u=e[--c];$=s[--a]}else if(K(r,$)){if(r.h==="slot"||$.h==="slot"){z(r.p.parentNode,false)}Y(r,$);t.insertBefore(r.p,u.p.nextSibling);r=e[++l];$=s[--a]}else if(K(u,d)){if(r.h==="slot"||$.h==="slot"){z(u.p.parentNode,false)}Y(u,d);t.insertBefore(u.p,r.p);u=e[--c];d=s[++o]}else{i=-1;{for(f=l;f<=c;++f){if(e[f]&&e[f].i!==null&&e[f].i===d.i){i=f;break}}}if(i>=0){y=e[i];if(y.h!==d.h){h=_(e&&e[o],n,i)}else{Y(y,d);e[i]=undefined;h=y.p}d=s[++o]}else{h=_(e&&e[o],n,o);d=s[++o]}if(h){{X(r.p).insertBefore(h,Q(r.p))}}}}if(l>c){B(t,s[a+1]==null?null:s[a+1].p,n,s,o,a)}else if(o>a){G(e,l,c)}};const K=(t,e)=>{if(t.h===e.h){if(t.h==="slot"){return t.u===e.u}{return t.i===e.i}}return false};const Q=t=>t&&t["s-ol"]||t;const X=t=>(t["s-ol"]?t["s-ol"]:t).parentNode;const Y=(t,e)=>{const n=e.p=t.p;const s=t.o;const l=e.o;const o=e.h;const f=e.t;let c;if(f===null){{i=o==="svg"?true:o==="foreignObject"?false:i}{if(o==="slot");else{V(t,e,i)}}if(s!==null&&l!==null){J(n,s,e,l)}else if(l!==null){if(t.t!==null){n.textContent=""}B(n,null,e,l,0,l.length-1)}else if(s!==null){G(s,0,s.length-1)}if(i&&o==="svg"){i=false}}else if(c=n["s-cr"]){c.parentNode.textContent=f}else if(t.t!==f){n.data=f}};const Z=t=>{const e=t.childNodes;let n;let s;let l;let o;let i;let f;for(s=0,l=e.length;s<l;s++){n=e[s];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<l;o++){f=e[o].nodeType;if(e[o]["s-hn"]!==n["s-hn"]||i!==""){if(f===1&&i===e[o].getAttribute("slot")){n.hidden=true;break}}else{if(f===1||f===3&&e[o].textContent.trim()!==""){n.hidden=true;break}}}}Z(n)}}};const tt=[];const et=t=>{let e;let n;let s;let o;let i;let f;let c=0;const r=t.childNodes;const u=r.length;for(;c<u;c++){e=r[c];if(e["s-sr"]&&(n=e["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;o=e["s-sn"];for(f=s.length-1;f>=0;f--){n=s[f];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==e["s-hn"]){if(nt(n,o)){i=tt.find((t=>t.R===n));l=true;n["s-sn"]=n["s-sn"]||o;if(i){i.I=e}else{tt.push({I:e,R:n})}if(n["s-sr"]){tt.map((t=>{if(nt(t.R,n["s-sn"])){i=tt.find((t=>t.R===n));if(i&&!t.I){t.I=i.I}}}))}}else if(!tt.some((t=>t.R===n))){tt.push({R:n})}}}}if(e.nodeType===1){et(e)}}};const nt=(t,e)=>{if(t.nodeType===1){if(t.getAttribute("slot")===null&&e===""){return true}if(t.getAttribute("slot")===e){return true}return false}if(t["s-sn"]===e){return true}return e===""};const st=t=>{{t.l&&t.l.ref&&t.l.ref(null);t.o&&t.o.map(st)}};const lt=(t,i,f=false)=>{const c=t.O;const r=t.M;const u=t.m||O(null,null);const a=C(i)?i:j(null,null,i);n=c.tagName;if(r.T){a.l=a.l||{};r.T.map((([t,e])=>a.l[e]=c[t]))}if(f&&a.l){for(const t of Object.keys(a.l)){if(c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){a.l[t]=c[t]}}}a.h=null;a.$|=4;t.m=a;a.p=u.p=c;{e=c["s-cr"];s=(r.$&1)!==0;l=false}Y(u,a);{qt.$|=1;if(o){et(a.p);let t;let e;let n;let s;let l;let o;let i=0;for(;i<tt.length;i++){t=tt[i];e=t.R;if(!e["s-ol"]){n=Ht.createTextNode("");n["s-nr"]=e;e.parentNode.insertBefore(e["s-ol"]=n,e)}}for(i=0;i<tt.length;i++){t=tt[i];e=t.R;if(t.I){s=t.I.parentNode;l=t.I.nextSibling;n=e["s-ol"];while(n=n.previousSibling){o=n["s-nr"];if(o&&o["s-sn"]===e["s-sn"]&&s===o.parentNode){o=o.nextSibling;if(!o||!o["s-nr"]){l=o;break}}}if(!l&&s!==e.parentNode||e.nextSibling!==l){if(e!==l){if(!e["s-hn"]&&e["s-ol"]){e["s-hn"]=e["s-ol"].parentNode.nodeName}s.insertBefore(e,l)}}}else{if(e.nodeType===1){e.hidden=true}}}}if(l){Z(a.p)}qt.$&=~1;tt.length=0}};const ot=(t,e)=>{if(e&&!t.L&&e["s-p"]){e["s-p"].push(new Promise((e=>t.L=e)))}};const it=(t,e)=>{{t.$|=16}if(t.$&4){t.$|=512;return}ot(t,t.N);const n=()=>ft(t,e);return Yt(n)};const ft=(t,e)=>{const n=c("scheduleUpdate",t.M.P);const s=t.U;let l;if(e){{t.$|=256;if(t.W){t.W.map((([t,e])=>ht(s,t,e)));t.W=undefined}}{l=ht(s,"componentWillLoad")}}n();return ct(l,(()=>ut(t,s,e)))};const ct=(t,e)=>rt(t)?t.then(e):e();const rt=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const ut=async(t,e,n)=>{var s;const l=t.O;const o=c("update",t.M.P);const i=l["s-rc"];if(n){A(t)}const f=c("render",t.M.P);{at(t,e,l,n)}if(i){i.map((t=>t()));l["s-rc"]=undefined}f();o();{const e=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>dt(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.$|=4;e.length=0}}};const at=(t,e,n,s)=>{try{e=e.render();{t.$&=~16}{t.$|=2}{{{lt(t,e,s)}}}}catch(e){Et(e,t.O)}return null};const dt=t=>{const e=t.M.P;const n=t.O;const s=c("postUpdate",e);const l=t.U;const o=t.N;{ht(l,"componentDidRender")}if(!(t.$&64)){t.$|=64;{yt(n)}{ht(l,"componentDidLoad")}s();{t.A(n);if(!o){$t()}}}else{s()}{t.D(n)}{if(t.L){t.L();t.L=undefined}if(t.$&512){Xt((()=>it(t,false)))}t.$&=~(4|512)}};const $t=e=>{{yt(Ht.documentElement)}Xt((()=>N(Ft,"appload",{detail:{namespace:t}})))};const ht=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){Et(t)}}return undefined};const yt=t=>t.classList.add("hydrated");const pt=(t,e)=>Tt(t).F.get(e);const mt=(t,e,n,s)=>{const l=Tt(t);const o=l.O;const i=l.F.get(e);const f=l.$;const c=l.U;n=I(n,s.H[e][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const u=n!==i&&!r;if((!(f&8)||i===undefined)&&u){l.F.set(e,n);if(c){if(s.q&&f&128){const t=s.q[e];if(t){t.map((t=>{try{c[t](n,i,e)}catch(t){Et(t,o)}}))}}if((f&(2|16))===2){if(c.componentShouldUpdate){if(c.componentShouldUpdate(n,i,e)===false){return}}it(l,false)}}}};const wt=(t,e,n)=>{if(e.H){if(t.watchers){e.q=t.watchers}const s=Object.entries(e.H);const l=t.prototype;s.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,t,{get(){return pt(this,t)},set(n){mt(this,t,n,e)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,t,{value(...e){const n=Tt(this);return n.V.then((()=>n.U[t](...e)))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(t,e,s){qt.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e)){s=this[e];delete this[e]}else if(l.hasOwnProperty(e)&&typeof this[e]==="number"&&this[e]==s){return}this[e]=s===null&&typeof this[e]==="boolean"?false:s}))};t.observedAttributes=s.filter((([t,e])=>e[0]&15)).map((([t,s])=>{const l=s[1]||t;n.set(l,t);if(s[0]&512){e.T.push([t,l])}return l}))}}return t};const bt=async(t,e,n,s,l)=>{if((e.$&32)===0){e.$|=32;{l=At(n);if(l.then){const t=r();l=await l;t()}if(!l.isProxied){{n.q=l.watchers}wt(l,n,2);l.isProxied=true}const t=c("createInstance",n.P);{e.$|=8}try{new l(e)}catch(t){Et(t)}{e.$&=~8}{e.$|=128}t();gt(e.U)}if(l.style){let t=l.style;const e=D(n);if(!Dt.has(e)){const s=c("registerStyles",n.P);E(e,t,!!(n.$&1));s()}}}const o=e.N;const i=()=>it(e,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const gt=t=>{{ht(t,"connectedCallback")}};const vt=t=>{if((qt.$&1)===0){const e=Tt(t);const n=e.M;const s=c("connectedCallback",n.P);if(!(e.$&1)){e.$|=1;let s;{s=t.getAttribute(h);if(s){M(t,n.P,s,e)}}if(!s){if(n.$&(4|8)){kt(t)}}{let n=t;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ot(e,e.N=n);break}}}if(n.H){Object.entries(n.H).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{bt(t,e,n)}}else{xt(t,e,n._);if(e===null||e===void 0?void 0:e.U){gt(e.U)}else if(e===null||e===void 0?void 0:e.B){e.B.then((()=>gt(e.U)))}}s()}};const kt=t=>{const e=t["s-cr"]=Ht.createComment("");e["s-cn"]=true;t.insertBefore(e,t.firstChild)};const St=t=>{};const jt=async t=>{if((qt.$&1)===0){const e=Tt(t);{if(e.G){e.G.map((t=>t()));e.G=undefined}}if(e===null||e===void 0?void 0:e.U);else if(e===null||e===void 0?void 0:e.B){e.B.then((()=>St()))}}};const Ot=(t,e={})=>{var n;const s=c();const l=[];const o=e.exclude||[];const i=Ft.customElements;const f=Ht.head;const r=f.querySelector("meta[charset]");const u=Ht.createElement("style");const a=[];let d;let $=true;Object.assign(qt,e);qt.J=new URL(e.resourcesUrl||"./",Ht.baseURI).href;{qt.$|=2}t.map((t=>{t[1].map((e=>{const n={$:e[0],P:e[1],H:e[2],_:e[3]};{n.H=e[2]}{n._=e[3]}{n.T=[]}{n.q={}}const s=n.P;const f=class extends HTMLElement{constructor(t){super(t);t=this;Nt(t,n)}connectedCallback(){if(d){clearTimeout(d);d=null}if($){a.push(this)}else{qt.jmp((()=>vt(this)))}}disconnectedCallback(){qt.jmp((()=>jt(this)))}componentOnReady(){return Tt(this).B}};n.K=t[0];if(!o.includes(s)&&!i.get(s)){l.push(s);i.define(s,wt(f,n,1))}}))}));{u.innerHTML=l+m;u.setAttribute("data-styles","");const t=(n=qt.C)!==null&&n!==void 0?n:S(Ht);if(t!=null){u.setAttribute("nonce",t)}f.insertBefore(u,r?r.nextSibling:f.firstChild)}$=false;if(a.length){a.map((t=>t.connectedCallback()))}else{{qt.jmp((()=>d=setTimeout($t,30)))}}s()};const xt=(t,e,n,s)=>{if(n){n.map((([n,s,l])=>{const o=Mt(t,n);const i=Ct(e,l);const f=Pt(n);qt.ael(o,s,i,f);(e.G=e.G||[]).push((()=>qt.rel(o,s,i,f)))}))}};const Ct=(t,e)=>n=>{try{{if(t.$&256){t.U[e](n)}else{(t.W=t.W||[]).push([e,n])}}}catch(t){Et(t)}};const Mt=(t,e)=>{if(e&8)return Ft;return t};const Pt=t=>(t&2)!==0;const Rt=t=>qt.C=t;const It=new WeakMap;const Tt=t=>It.get(t);const Lt=(t,e)=>It.set(e.U=t,e);const Nt=(t,e)=>{const n={$:0,O:t,M:e,F:new Map};{n.V=new Promise((t=>n.D=t))}{n.B=new Promise((t=>n.A=t));t["s-p"]=[];t["s-rc"]=[]}xt(t,n,e._);return It.set(t,n)};const Ut=(t,e)=>e in t;const Et=(t,e)=>(0,console.error)(t,e);const Wt=new Map;const At=(t,e,n)=>{const s=t.P.replace(/-/g,"_");const l=t.K;const o=Wt.get(l);if(o){return o[s]}
|
|
4
|
+
const t="twilight";let e;let n;let s=false;let l=false;let o=false;let i=false;let f=false;const c=(t,e="")=>{{return()=>{}}};const r=(t,e)=>{{return()=>{}}};const u="r";const a="o";const d="s";const $="t";const h="s-id";const y="sty-id";const p="c-id";const m="{visibility:hidden}.hydrated{visibility:inherit}";const b="http://www.w3.org/1999/xlink";const w={};const g="http://www.w3.org/2000/svg";const v="http://www.w3.org/1999/xhtml";const k=t=>{t=typeof t;return t==="object"||t==="function"};function S(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const j=(t,e,...n)=>{let s=null;let l=null;let o=null;let i=false;let f=false;const c=[];const r=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){r(s)}else if(s!=null&&typeof s!=="boolean"){if(i=typeof t!=="function"&&!k(s)){s=String(s)}if(i&&f){c[c.length-1].t+=s}else{c.push(i?O(null,s):s)}f=i}}};r(n);if(e){if(e.key){l=e.key}if(e.name){o=e.name}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}const u=O(t,null);u.l=e;if(c.length>0){u.o=c}{u.i=l}{u.u=o}return u};const O=(t,e)=>{const n={$:0,h:t,t:e,p:null,o:null};{n.l=null}{n.i=null}{n.u=null}return n};const x={};const C=t=>t&&t.h===x;const M=(t,e,n,s)=>{const l=c("hydrateClient",e);const o=t.shadowRoot;const i=[];const f=[];const r=null;const u=s.m=O(e,null);if(!qt.g){R(Ht.body,qt.g=new Map)}t[h]=n;t.removeAttribute(h);P(u,i,f,r,t,t,n);i.map((t=>{const n=t.v+"."+t.k;const s=qt.g.get(n);const l=t.p;if(s&&Vt&&s["s-en"]===""){s.parentNode.insertBefore(l,s.nextSibling)}if(!o){l["s-hn"]=e;if(s){l["s-ol"]=s;l["s-ol"]["s-nr"]=l}}qt.g.delete(n)}));l()};const P=(t,e,n,s,l,o,i)=>{let f;let c;let r;let a;if(o.nodeType===1){f=o.getAttribute(p);if(f){c=f.split(".");if(c[0]===i||c[0]==="0"){r={$:0,v:c[0],k:c[1],S:c[2],j:c[3],h:o.tagName.toLowerCase(),p:o,l:null,o:null,i:null,u:null,t:null};e.push(r);o.removeAttribute(p);if(!t.o){t.o=[]}t.o[r.j]=r;t=r;if(s&&r.S==="0"){s[r.j]=r.p}}}for(a=o.childNodes.length-1;a>=0;a--){P(t,e,n,s,l,o.childNodes[a],i)}if(o.shadowRoot){for(a=o.shadowRoot.childNodes.length-1;a>=0;a--){P(t,e,n,s,l,o.shadowRoot.childNodes[a],i)}}}else if(o.nodeType===8){c=o.nodeValue.split(".");if(c[1]===i||c[1]==="0"){f=c[0];r={$:0,v:c[1],k:c[2],S:c[3],j:c[4],p:o,l:null,o:null,i:null,u:null,h:null,t:null};if(f===$){r.p=o.nextSibling;if(r.p&&r.p.nodeType===3){r.t=r.p.textContent;e.push(r);o.remove();if(!t.o){t.o=[]}t.o[r.j]=r;if(s&&r.S==="0"){s[r.j]=r.p}}}else if(r.v===i){if(f===d){r.h="slot";if(c[5]){o["s-sn"]=r.u=c[5]}else{o["s-sn"]=""}o["s-sr"]=true;n.push(r);if(!t.o){t.o=[]}t.o[r.j]=r}else if(f===u){{l["s-cr"]=o;o["s-cn"]=true}}}}}else if(t&&t.h==="style"){const e=O(null,o.textContent);e.p=o;e.j="0";t.o=[e]}};const R=(t,e)=>{if(t.nodeType===1){let n=0;for(;n<t.childNodes.length;n++){R(t.childNodes[n],e)}if(t.shadowRoot){for(n=0;n<t.shadowRoot.childNodes.length;n++){R(t.shadowRoot.childNodes[n],e)}}}else if(t.nodeType===8){const n=t.nodeValue.split(".");if(n[0]===a){e.set(n[1]+"."+n[2],t);t.nodeValue="";t["s-en"]=n[3]}}};const I=(t,e)=>{if(t!=null&&!k(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const T=t=>Tt(t).O;const L=(t,e,n)=>{const s=T(t);return{emit:t=>N(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const N=(t,e,n)=>{const s=qt.ce(e,n);t.dispatchEvent(s);return s};const U=new WeakMap;const E=(t,e,n)=>{let s=Dt.get(t);if(zt&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}Dt.set(t,s)};const W=(t,e,n)=>{var s;const l=D(e);const o=Dt.get(l);t=t.nodeType===11?t:Ht;if(o){if(typeof o==="string"){t=t.head||t;let e=U.get(t);let n;if(!e){U.set(t,e=new Set)}if(!e.has(l)){if(t.host&&(n=t.querySelector(`[${y}="${l}"]`))){n.innerHTML=o}else{n=Ht.createElement("style");n.innerHTML=o;const e=(s=qt.C)!==null&&s!==void 0?s:S(Ht);if(e!=null){n.setAttribute("nonce",e)}t.insertBefore(n,t.querySelector("link"))}if(e){e.add(l)}}}else if(!t.adoptedStyleSheets.includes(o)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]}}return l};const A=t=>{const e=t.M;const n=t.O;const s=c("attachStyles",e.P);W(n.getRootNode(),e);s()};const D=(t,e)=>"sc-"+t.P;const F=(t,e,n,s,l,o)=>{if(n!==s){let i=Ut(t,e);let f=e.toLowerCase();if(e==="class"){const e=t.classList;const l=q(n);const o=q(s);e.remove(...l.filter((t=>t&&!o.includes(t))));e.add(...o.filter((t=>t&&!l.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!i&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Ut(Ft,f)){e=f.slice(2)}else{e=f[2]+e.slice(3)}if(n){qt.rel(t,e,n,false)}if(s){qt.ael(t,e,s,false)}}else{const c=k(s);if((i||c&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(e==="list"){i=false}else if(n==null||t[e]!=l){t[e]=l}}else{t[e]=s}}catch(t){}}let r=false;{if(f!==(f=f.replace(/^xlink\:?/,""))){e=f;r=true}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){if(r){t.removeAttributeNS(b,e)}else{t.removeAttribute(e)}}}else if((!i||o&4||l)&&!c){s=s===true?"":s;if(r){t.setAttributeNS(b,e,s)}else{t.setAttribute(e,s)}}}}};const H=/\s/;const q=t=>!t?[]:t.split(H);const V=(t,e,n,s)=>{const l=e.p.nodeType===11&&e.p.host?e.p.host:e.p;const o=t&&t.l||w;const i=e.l||w;{for(s in o){if(!(s in i)){F(l,s,o[s],undefined,n,e.$)}}}for(s in i){F(l,s,o[s],i[s],n,e.$)}};const _=(t,l,f,c)=>{const r=l.o[f];let u=0;let a;let d;let $;if(!s){o=true;if(r.h==="slot"){r.$|=r.o?2:1}}if(r.t!==null){a=r.p=Ht.createTextNode(r.t)}else if(r.$&1){a=r.p=Ht.createTextNode("")}else{if(!i){i=r.h==="svg"}a=r.p=Ht.createElementNS(i?g:v,r.$&2?"slot-fb":r.h);if(i&&r.h==="foreignObject"){i=false}{V(null,r,i)}if(r.o){for(u=0;u<r.o.length;++u){d=_(t,r,u);if(d){a.appendChild(d)}}}{if(r.h==="svg"){i=false}else if(a.tagName==="foreignObject"){i=true}}}{a["s-hn"]=n;if(r.$&(2|1)){a["s-sr"]=true;a["s-cr"]=e;a["s-sn"]=r.u||"";$=t&&t.o&&t.o[f];if($&&$.h===r.h&&t.p){z(t.p,false)}}}return a};const z=(t,e)=>{qt.$|=1;const s=t.childNodes;for(let t=s.length-1;t>=0;t--){const l=s[t];if(l["s-hn"]!==n&&l["s-ol"]){X(l).insertBefore(l,Q(l));l["s-ol"].remove();l["s-ol"]=undefined;o=true}if(e){z(l,e)}}qt.$&=~1};const B=(t,e,n,s,l,o)=>{let i=t["s-cr"]&&t["s-cr"].parentNode||t;let f;for(;l<=o;++l){if(s[l]){f=_(null,n,l);if(f){s[l].p=f;i.insertBefore(f,Q(e))}}}};const G=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.p;st(e);if(t){{l=true;if(t["s-ol"]){t["s-ol"].remove()}else{z(t,true)}}t.remove()}}}};const J=(t,e,n,s)=>{let l=0;let o=0;let i=0;let f=0;let c=e.length-1;let r=e[0];let u=e[c];let a=s.length-1;let d=s[0];let $=s[a];let h;let y;while(l<=c&&o<=a){if(r==null){r=e[++l]}else if(u==null){u=e[--c]}else if(d==null){d=s[++o]}else if($==null){$=s[--a]}else if(K(r,d)){Y(r,d);r=e[++l];d=s[++o]}else if(K(u,$)){Y(u,$);u=e[--c];$=s[--a]}else if(K(r,$)){if(r.h==="slot"||$.h==="slot"){z(r.p.parentNode,false)}Y(r,$);t.insertBefore(r.p,u.p.nextSibling);r=e[++l];$=s[--a]}else if(K(u,d)){if(r.h==="slot"||$.h==="slot"){z(u.p.parentNode,false)}Y(u,d);t.insertBefore(u.p,r.p);u=e[--c];d=s[++o]}else{i=-1;{for(f=l;f<=c;++f){if(e[f]&&e[f].i!==null&&e[f].i===d.i){i=f;break}}}if(i>=0){y=e[i];if(y.h!==d.h){h=_(e&&e[o],n,i)}else{Y(y,d);e[i]=undefined;h=y.p}d=s[++o]}else{h=_(e&&e[o],n,o);d=s[++o]}if(h){{X(r.p).insertBefore(h,Q(r.p))}}}}if(l>c){B(t,s[a+1]==null?null:s[a+1].p,n,s,o,a)}else if(o>a){G(e,l,c)}};const K=(t,e)=>{if(t.h===e.h){if(t.h==="slot"){return t.u===e.u}{return t.i===e.i}}return false};const Q=t=>t&&t["s-ol"]||t;const X=t=>(t["s-ol"]?t["s-ol"]:t).parentNode;const Y=(t,e)=>{const n=e.p=t.p;const s=t.o;const l=e.o;const o=e.h;const f=e.t;let c;if(f===null){{i=o==="svg"?true:o==="foreignObject"?false:i}{if(o==="slot");else{V(t,e,i)}}if(s!==null&&l!==null){J(n,s,e,l)}else if(l!==null){if(t.t!==null){n.textContent=""}B(n,null,e,l,0,l.length-1)}else if(s!==null){G(s,0,s.length-1)}if(i&&o==="svg"){i=false}}else if(c=n["s-cr"]){c.parentNode.textContent=f}else if(t.t!==f){n.data=f}};const Z=t=>{const e=t.childNodes;let n;let s;let l;let o;let i;let f;for(s=0,l=e.length;s<l;s++){n=e[s];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<l;o++){f=e[o].nodeType;if(e[o]["s-hn"]!==n["s-hn"]||i!==""){if(f===1&&i===e[o].getAttribute("slot")){n.hidden=true;break}}else{if(f===1||f===3&&e[o].textContent.trim()!==""){n.hidden=true;break}}}}Z(n)}}};const tt=[];const et=t=>{let e;let n;let s;let o;let i;let f;let c=0;const r=t.childNodes;const u=r.length;for(;c<u;c++){e=r[c];if(e["s-sr"]&&(n=e["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;o=e["s-sn"];for(f=s.length-1;f>=0;f--){n=s[f];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==e["s-hn"]){if(nt(n,o)){i=tt.find((t=>t.R===n));l=true;n["s-sn"]=n["s-sn"]||o;if(i){i.I=e}else{tt.push({I:e,R:n})}if(n["s-sr"]){tt.map((t=>{if(nt(t.R,n["s-sn"])){i=tt.find((t=>t.R===n));if(i&&!t.I){t.I=i.I}}}))}}else if(!tt.some((t=>t.R===n))){tt.push({R:n})}}}}if(e.nodeType===1){et(e)}}};const nt=(t,e)=>{if(t.nodeType===1){if(t.getAttribute("slot")===null&&e===""){return true}if(t.getAttribute("slot")===e){return true}return false}if(t["s-sn"]===e){return true}return e===""};const st=t=>{{t.l&&t.l.ref&&t.l.ref(null);t.o&&t.o.map(st)}};const lt=(t,i,f=false)=>{const c=t.O;const r=t.M;const u=t.m||O(null,null);const a=C(i)?i:j(null,null,i);n=c.tagName;if(r.T){a.l=a.l||{};r.T.map((([t,e])=>a.l[e]=c[t]))}if(f&&a.l){for(const t of Object.keys(a.l)){if(c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){a.l[t]=c[t]}}}a.h=null;a.$|=4;t.m=a;a.p=u.p=c;{e=c["s-cr"];s=(r.$&1)!==0;l=false}Y(u,a);{qt.$|=1;if(o){et(a.p);let t;let e;let n;let s;let l;let o;let i=0;for(;i<tt.length;i++){t=tt[i];e=t.R;if(!e["s-ol"]){n=Ht.createTextNode("");n["s-nr"]=e;e.parentNode.insertBefore(e["s-ol"]=n,e)}}for(i=0;i<tt.length;i++){t=tt[i];e=t.R;if(t.I){s=t.I.parentNode;l=t.I.nextSibling;n=e["s-ol"];while(n=n.previousSibling){o=n["s-nr"];if(o&&o["s-sn"]===e["s-sn"]&&s===o.parentNode){o=o.nextSibling;if(!o||!o["s-nr"]){l=o;break}}}if(!l&&s!==e.parentNode||e.nextSibling!==l){if(e!==l){if(!e["s-hn"]&&e["s-ol"]){e["s-hn"]=e["s-ol"].parentNode.nodeName}s.insertBefore(e,l)}}}else{if(e.nodeType===1){e.hidden=true}}}}if(l){Z(a.p)}qt.$&=~1;tt.length=0}};const ot=(t,e)=>{if(e&&!t.L&&e["s-p"]){e["s-p"].push(new Promise((e=>t.L=e)))}};const it=(t,e)=>{{t.$|=16}if(t.$&4){t.$|=512;return}ot(t,t.N);const n=()=>ft(t,e);return Yt(n)};const ft=(t,e)=>{const n=c("scheduleUpdate",t.M.P);const s=t.U;let l;if(e){{t.$|=256;if(t.W){t.W.map((([t,e])=>ht(s,t,e)));t.W=undefined}}{l=ht(s,"componentWillLoad")}}n();return ct(l,(()=>ut(t,s,e)))};const ct=(t,e)=>rt(t)?t.then(e):e();const rt=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const ut=async(t,e,n)=>{var s;const l=t.O;const o=c("update",t.M.P);const i=l["s-rc"];if(n){A(t)}const f=c("render",t.M.P);{at(t,e,l,n)}if(i){i.map((t=>t()));l["s-rc"]=undefined}f();o();{const e=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>dt(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.$|=4;e.length=0}}};const at=(t,e,n,s)=>{try{e=e.render();{t.$&=~16}{t.$|=2}{{{lt(t,e,s)}}}}catch(e){Et(e,t.O)}return null};const dt=t=>{const e=t.M.P;const n=t.O;const s=c("postUpdate",e);const l=t.U;const o=t.N;{ht(l,"componentDidRender")}if(!(t.$&64)){t.$|=64;{yt(n)}{ht(l,"componentDidLoad")}s();{t.A(n);if(!o){$t()}}}else{s()}{t.D(n)}{if(t.L){t.L();t.L=undefined}if(t.$&512){Xt((()=>it(t,false)))}t.$&=~(4|512)}};const $t=e=>{{yt(Ht.documentElement)}Xt((()=>N(Ft,"appload",{detail:{namespace:t}})))};const ht=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){Et(t)}}return undefined};const yt=t=>t.classList.add("hydrated");const pt=(t,e)=>Tt(t).F.get(e);const mt=(t,e,n,s)=>{const l=Tt(t);const o=l.O;const i=l.F.get(e);const f=l.$;const c=l.U;n=I(n,s.H[e][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const u=n!==i&&!r;if((!(f&8)||i===undefined)&&u){l.F.set(e,n);if(c){if(s.q&&f&128){const t=s.q[e];if(t){t.map((t=>{try{c[t](n,i,e)}catch(t){Et(t,o)}}))}}if((f&(2|16))===2){if(c.componentShouldUpdate){if(c.componentShouldUpdate(n,i,e)===false){return}}it(l,false)}}}};const bt=(t,e,n)=>{if(e.H){if(t.watchers){e.q=t.watchers}const s=Object.entries(e.H);const l=t.prototype;s.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,t,{get(){return pt(this,t)},set(n){mt(this,t,n,e)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,t,{value(...e){const n=Tt(this);return n.V.then((()=>n.U[t](...e)))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(t,e,s){qt.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e)){s=this[e];delete this[e]}else if(l.hasOwnProperty(e)&&typeof this[e]==="number"&&this[e]==s){return}this[e]=s===null&&typeof this[e]==="boolean"?false:s}))};t.observedAttributes=s.filter((([t,e])=>e[0]&15)).map((([t,s])=>{const l=s[1]||t;n.set(l,t);if(s[0]&512){e.T.push([t,l])}return l}))}}return t};const wt=async(t,e,n,s,l)=>{if((e.$&32)===0){e.$|=32;{l=At(n);if(l.then){const t=r();l=await l;t()}if(!l.isProxied){{n.q=l.watchers}bt(l,n,2);l.isProxied=true}const t=c("createInstance",n.P);{e.$|=8}try{new l(e)}catch(t){Et(t)}{e.$&=~8}{e.$|=128}t();gt(e.U)}if(l.style){let t=l.style;const e=D(n);if(!Dt.has(e)){const s=c("registerStyles",n.P);E(e,t,!!(n.$&1));s()}}}const o=e.N;const i=()=>it(e,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const gt=t=>{{ht(t,"connectedCallback")}};const vt=t=>{if((qt.$&1)===0){const e=Tt(t);const n=e.M;const s=c("connectedCallback",n.P);if(!(e.$&1)){e.$|=1;let s;{s=t.getAttribute(h);if(s){M(t,n.P,s,e)}}if(!s){if(n.$&(4|8)){kt(t)}}{let n=t;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ot(e,e.N=n);break}}}if(n.H){Object.entries(n.H).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{wt(t,e,n)}}else{xt(t,e,n._);if(e===null||e===void 0?void 0:e.U){gt(e.U)}else if(e===null||e===void 0?void 0:e.B){e.B.then((()=>gt(e.U)))}}s()}};const kt=t=>{const e=t["s-cr"]=Ht.createComment("");e["s-cn"]=true;t.insertBefore(e,t.firstChild)};const St=t=>{{ht(t,"disconnectedCallback")}};const jt=async t=>{if((qt.$&1)===0){const e=Tt(t);{if(e.G){e.G.map((t=>t()));e.G=undefined}}if(e===null||e===void 0?void 0:e.U){St(e.U)}else if(e===null||e===void 0?void 0:e.B){e.B.then((()=>St(e.U)))}}};const Ot=(t,e={})=>{var n;const s=c();const l=[];const o=e.exclude||[];const i=Ft.customElements;const f=Ht.head;const r=f.querySelector("meta[charset]");const u=Ht.createElement("style");const a=[];let d;let $=true;Object.assign(qt,e);qt.J=new URL(e.resourcesUrl||"./",Ht.baseURI).href;{qt.$|=2}t.map((t=>{t[1].map((e=>{const n={$:e[0],P:e[1],H:e[2],_:e[3]};{n.H=e[2]}{n._=e[3]}{n.T=[]}{n.q={}}const s=n.P;const f=class extends HTMLElement{constructor(t){super(t);t=this;Nt(t,n)}connectedCallback(){if(d){clearTimeout(d);d=null}if($){a.push(this)}else{qt.jmp((()=>vt(this)))}}disconnectedCallback(){qt.jmp((()=>jt(this)))}componentOnReady(){return Tt(this).B}};n.K=t[0];if(!o.includes(s)&&!i.get(s)){l.push(s);i.define(s,bt(f,n,1))}}))}));{u.innerHTML=l+m;u.setAttribute("data-styles","");const t=(n=qt.C)!==null&&n!==void 0?n:S(Ht);if(t!=null){u.setAttribute("nonce",t)}f.insertBefore(u,r?r.nextSibling:f.firstChild)}$=false;if(a.length){a.map((t=>t.connectedCallback()))}else{{qt.jmp((()=>d=setTimeout($t,30)))}}s()};const xt=(t,e,n,s)=>{if(n){n.map((([n,s,l])=>{const o=Mt(t,n);const i=Ct(e,l);const f=Pt(n);qt.ael(o,s,i,f);(e.G=e.G||[]).push((()=>qt.rel(o,s,i,f)))}))}};const Ct=(t,e)=>n=>{try{{if(t.$&256){t.U[e](n)}else{(t.W=t.W||[]).push([e,n])}}}catch(t){Et(t)}};const Mt=(t,e)=>{if(e&8)return Ft;return t};const Pt=t=>(t&2)!==0;const Rt=t=>qt.C=t;const It=new WeakMap;const Tt=t=>It.get(t);const Lt=(t,e)=>It.set(e.U=t,e);const Nt=(t,e)=>{const n={$:0,O:t,M:e,F:new Map};{n.V=new Promise((t=>n.D=t))}{n.B=new Promise((t=>n.A=t));t["s-p"]=[];t["s-rc"]=[]}xt(t,n,e._);return It.set(t,n)};const Ut=(t,e)=>e in t;const Et=(t,e)=>(0,console.error)(t,e);const Wt=new Map;const At=(t,e,n)=>{const s=t.P.replace(/-/g,"_");const l=t.K;const o=Wt.get(l);if(o){return o[s]}
|
|
5
5
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((t=>{{Wt.set(l,t)}return t[s]}),Et)};const Dt=new Map;const Ft=typeof window!=="undefined"?window:{};const Ht=Ft.document||{head:{}};const qt={$:0,J:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const Vt=true;const _t=t=>Promise.resolve(t);const zt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const Bt=[];const Gt=[];const Jt=(t,e)=>n=>{t.push(n);if(!f){f=true;if(e&&qt.$&4){Xt(Qt)}else{qt.raf(Qt)}}};const Kt=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){Et(t)}}t.length=0};const Qt=()=>{Kt(Bt);{Kt(Gt);if(f=Bt.length>0){qt.raf(Qt)}}};const Xt=t=>_t().then(t);const Yt=Jt(Gt,true);export{x as H,Ot as b,L as c,T as g,j as h,_t as p,Lt as r,Rt as s};
|
|
6
|
-
//# sourceMappingURL=p-
|
|
6
|
+
//# sourceMappingURL=p-294dad80.js.map
|