@salla.sa/twilight-components 2.11.86 → 2.11.88
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/_commonjsHelpers-f57e29ee.js +2 -0
- package/dist/cjs/_commonjsHelpers-f57e29ee.js.map +1 -0
- package/dist/cjs/app-globals-bf20263f.js +2 -0
- package/dist/cjs/app-globals-bf20263f.js.map +1 -0
- package/dist/cjs/camera-058ddeeb.js +2 -0
- package/dist/cjs/camera-058ddeeb.js.map +1 -0
- package/dist/cjs/cart-3ecaa815.js +2 -0
- package/dist/cjs/cart-3ecaa815.js.map +1 -0
- package/dist/cjs/css-shim-c9fa4209.js +2 -0
- package/dist/cjs/css-shim-c9fa4209.js.map +1 -0
- package/dist/cjs/dom-92c2a073.js +2 -0
- package/dist/cjs/dom-92c2a073.js.map +1 -0
- package/dist/cjs/index-1d2b3370.js +2 -0
- package/dist/cjs/index-1d2b3370.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/salla-add-product-button.cjs.entry.js +2 -0
- package/dist/cjs/salla-add-product-button.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-button_37.cjs.entry.js +3 -1
- package/dist/cjs/salla-button_37.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-comment-form.cjs.entry.js +2 -0
- package/dist/cjs/salla-comment-form.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-conditional-fields.cjs.entry.js +2 -0
- package/dist/cjs/salla-conditional-fields.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-installment.cjs.entry.js +2 -0
- package/dist/cjs/salla-installment.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -0
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-product-options.cjs.entry.js +2 -0
- package/dist/cjs/salla-product-options.cjs.entry.js.map +1 -0
- package/dist/cjs/salla-select.cjs.entry.js +2 -0
- package/dist/cjs/salla-select.cjs.entry.js.map +1 -0
- package/dist/cjs/twilight.cjs.js +2 -0
- package/dist/cjs/twilight.cjs.js.map +1 -0
- package/dist/collection/Helpers/Helper.js +1 -0
- package/dist/collection/Helpers/Helper.js.map +1 -0
- package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +1 -0
- package/dist/collection/components/salla-add-product-button/salla-add-product-button.js.map +1 -0
- package/dist/collection/components/salla-button/salla-button.js +1 -0
- package/dist/collection/components/salla-button/salla-button.js.map +1 -0
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -0
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js.map +1 -0
- package/dist/collection/components/salla-color-picker/interfaces.js +1 -0
- package/dist/collection/components/salla-color-picker/interfaces.js.map +1 -0
- package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -0
- package/dist/collection/components/salla-color-picker/salla-color-picker.js.map +1 -0
- package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -0
- package/dist/collection/components/salla-comment-form/salla-comment-form.js.map +1 -0
- package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -0
- package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js.map +1 -0
- package/dist/collection/components/salla-count-down/salla-count-down.js +1 -0
- package/dist/collection/components/salla-count-down/salla-count-down.js.map +1 -0
- package/dist/collection/components/salla-datetime-picker/interfaces.js +1 -0
- package/dist/collection/components/salla-datetime-picker/interfaces.js.map +1 -0
- package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -0
- package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js.map +1 -0
- package/dist/collection/components/salla-file-upload/interfaces.js +1 -0
- package/dist/collection/components/salla-file-upload/interfaces.js.map +1 -0
- package/dist/collection/components/salla-file-upload/salla-file-upload.js +1 -0
- package/dist/collection/components/salla-file-upload/salla-file-upload.js.map +1 -0
- package/dist/collection/components/salla-gifting/gift-schema.js +1 -0
- package/dist/collection/components/salla-gifting/gift-schema.js.map +1 -0
- package/dist/collection/components/salla-gifting/intefaces.js +1 -0
- package/dist/collection/components/salla-gifting/intefaces.js.map +1 -0
- package/dist/collection/components/salla-gifting/salla-gifting.js +1 -0
- package/dist/collection/components/salla-gifting/salla-gifting.js.map +1 -0
- package/dist/collection/components/salla-infinite-scroll/salla-infinite-scroll.js +1 -0
- package/dist/collection/components/salla-infinite-scroll/salla-infinite-scroll.js.map +1 -0
- package/dist/collection/components/salla-installment/salla-installment.js +1 -0
- package/dist/collection/components/salla-installment/salla-installment.js.map +1 -0
- package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -0
- package/dist/collection/components/salla-list-tile/salla-list-tile.js.map +1 -0
- package/dist/collection/components/salla-loading/salla-loading.js +1 -0
- package/dist/collection/components/salla-loading/salla-loading.js.map +1 -0
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -0
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js.map +1 -0
- package/dist/collection/components/salla-login-modal/intefaces.js +1 -0
- package/dist/collection/components/salla-login-modal/intefaces.js.map +1 -0
- package/dist/collection/components/salla-login-modal/salla-login-modal.js +1 -0
- package/dist/collection/components/salla-login-modal/salla-login-modal.js.map +1 -0
- package/dist/collection/components/salla-loyalty/loyalty-schema.js +1 -0
- package/dist/collection/components/salla-loyalty/loyalty-schema.js.map +1 -0
- package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -0
- package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js.map +1 -0
- package/dist/collection/components/salla-loyalty/salla-loyalty.js +1 -0
- package/dist/collection/components/salla-loyalty/salla-loyalty.js.map +1 -0
- package/dist/collection/components/salla-map/map-styles.js +1 -0
- package/dist/collection/components/salla-map/map-styles.js.map +1 -0
- package/dist/collection/components/salla-map/salla-map.js +1 -0
- package/dist/collection/components/salla-map/salla-map.js.map +1 -0
- package/dist/collection/components/salla-modal/salla-modal.js +1 -0
- package/dist/collection/components/salla-modal/salla-modal.js.map +1 -0
- package/dist/collection/components/salla-offer-modal/offer-schema.js +1 -0
- package/dist/collection/components/salla-offer-modal/offer-schema.js.map +1 -0
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -0
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js.map +1 -0
- package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -0
- package/dist/collection/components/salla-placeholder/salla-placeholder.js.map +1 -0
- package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -0
- package/dist/collection/components/salla-product-availability/salla-product-availability.js.map +1 -0
- package/dist/collection/components/salla-product-options/interfaces.js +1 -0
- package/dist/collection/components/salla-product-options/interfaces.js.map +1 -0
- package/dist/collection/components/salla-product-options/salla-product-options.js +1 -0
- package/dist/collection/components/salla-product-options/salla-product-options.js.map +1 -0
- package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +1 -0
- package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js.map +1 -0
- package/dist/collection/components/salla-progress-bar/salla-progress-bar.js +1 -0
- package/dist/collection/components/salla-progress-bar/salla-progress-bar.js.map +1 -0
- package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -0
- package/dist/collection/components/salla-quantity-input/salla-quantity-input.js.map +1 -0
- package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +2 -1
- package/dist/collection/components/salla-quick-buy/salla-quick-buy.js.map +1 -0
- package/dist/collection/components/salla-quick-order/salla-quick-order.js +1 -0
- package/dist/collection/components/salla-quick-order/salla-quick-order.js.map +1 -0
- package/dist/collection/components/salla-rating-modal/order-feedback-response.js +1 -0
- package/dist/collection/components/salla-rating-modal/order-feedback-response.js.map +1 -0
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +1 -0
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js.map +1 -0
- package/dist/collection/components/salla-rating-stars/salla-rating-stars.js +1 -0
- package/dist/collection/components/salla-rating-stars/salla-rating-stars.js.map +1 -0
- package/dist/collection/components/salla-scopes/interfaces.js +1 -0
- package/dist/collection/components/salla-scopes/interfaces.js.map +1 -0
- package/dist/collection/components/salla-scopes/salla-scopes.js +1 -0
- package/dist/collection/components/salla-scopes/salla-scopes.js.map +1 -0
- package/dist/collection/components/salla-search/salla-search.js +1 -0
- package/dist/collection/components/salla-search/salla-search.js.map +1 -0
- package/dist/collection/components/salla-search/search-response.js +1 -0
- package/dist/collection/components/salla-search/search-response.js.map +1 -0
- package/dist/collection/components/salla-select/salla-select.js +1 -0
- package/dist/collection/components/salla-select/salla-select.js.map +1 -0
- package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -0
- package/dist/collection/components/salla-skeleton/salla-skeleton.js.map +1 -0
- package/dist/collection/components/salla-slider/salla-slider.js +1 -0
- package/dist/collection/components/salla-slider/salla-slider.js.map +1 -0
- package/dist/collection/components/salla-social-share/interfaces.js +1 -0
- package/dist/collection/components/salla-social-share/interfaces.js.map +1 -0
- package/dist/collection/components/salla-social-share/salla-social-share.js +1 -0
- package/dist/collection/components/salla-social-share/salla-social-share.js.map +1 -0
- package/dist/collection/components/salla-tabs/interfaces.js +1 -0
- package/dist/collection/components/salla-tabs/interfaces.js.map +1 -0
- package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -0
- package/dist/collection/components/salla-tabs/salla-tab-content.js.map +1 -0
- package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -0
- package/dist/collection/components/salla-tabs/salla-tab-header.js.map +1 -0
- package/dist/collection/components/salla-tabs/salla-tabs.js +1 -0
- package/dist/collection/components/salla-tabs/salla-tabs.js.map +1 -0
- package/dist/collection/components/salla-tabs/utils.js +1 -0
- package/dist/collection/components/salla-tabs/utils.js.map +1 -0
- package/dist/collection/components/salla-tel-input/interfaces.js +1 -0
- package/dist/collection/components/salla-tel-input/interfaces.js.map +1 -0
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -0
- package/dist/collection/components/salla-tel-input/salla-tel-input.js.map +1 -0
- package/dist/collection/components/salla-user-menu/interfaces.js +1 -0
- package/dist/collection/components/salla-user-menu/interfaces.js.map +1 -0
- package/dist/collection/components/salla-user-menu/salla-user-menu.js +1 -0
- package/dist/collection/components/salla-user-menu/salla-user-menu.js.map +1 -0
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -0
- package/dist/collection/components/salla-user-settings/salla-user-settings.js.map +1 -0
- package/dist/collection/components/salla-verify/salla-verify.js +1 -0
- package/dist/collection/components/salla-verify/salla-verify.js.map +1 -0
- package/dist/collection/global/app-dev.js +1 -0
- package/dist/collection/global/app-dev.js.map +1 -0
- package/dist/collection/global/app.js +1 -0
- package/dist/collection/global/app.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/interfaces/colors.js +1 -0
- package/dist/collection/interfaces/colors.js.map +1 -0
- package/dist/collection/interfaces/index.js +1 -0
- package/dist/collection/interfaces/index.js.map +1 -0
- package/dist/collection/interfaces/ratio.js +1 -0
- package/dist/collection/interfaces/ratio.js.map +1 -0
- package/dist/components/Helper.js +2 -0
- package/dist/components/Helper.js.map +1 -0
- package/dist/components/_commonjsHelpers.js +2 -0
- package/dist/components/_commonjsHelpers.js.map +1 -0
- package/dist/components/anime.es.js +2 -0
- package/dist/components/anime.es.js.map +1 -0
- package/dist/components/bell-ring.js +2 -0
- package/dist/components/bell-ring.js.map +1 -0
- package/dist/components/camera.js +2 -0
- package/dist/components/camera.js.map +1 -0
- package/dist/components/cancel.js +2 -0
- package/dist/components/cancel.js.map +1 -0
- package/dist/components/cart.js +2 -0
- package/dist/components/cart.js.map +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/keyboard_arrow_down.js +2 -0
- package/dist/components/keyboard_arrow_down.js.map +1 -0
- package/dist/components/keyboard_arrow_right.js +2 -0
- package/dist/components/keyboard_arrow_right.js.map +1 -0
- package/dist/components/mail.js +2 -0
- package/dist/components/mail.js.map +1 -0
- package/dist/components/salla-add-product-button.js +2 -0
- package/dist/components/salla-add-product-button.js.map +1 -0
- package/dist/components/salla-button.js +2 -0
- package/dist/components/salla-button.js.map +1 -0
- package/dist/components/salla-button2.js +2 -0
- package/dist/components/salla-button2.js.map +1 -0
- package/dist/components/salla-cart-summary.js +2 -0
- package/dist/components/salla-cart-summary.js.map +1 -0
- package/dist/components/salla-color-picker.js +2 -0
- package/dist/components/salla-color-picker.js.map +1 -0
- package/dist/components/salla-color-picker2.js +2 -0
- package/dist/components/salla-color-picker2.js.map +1 -0
- package/dist/components/salla-comment-form.js +2 -0
- package/dist/components/salla-comment-form.js.map +1 -0
- package/dist/components/salla-conditional-fields.js +2 -0
- package/dist/components/salla-conditional-fields.js.map +1 -0
- package/dist/components/salla-conditional-fields2.js +2 -0
- package/dist/components/salla-conditional-fields2.js.map +1 -0
- package/dist/components/salla-count-down.js +2 -0
- package/dist/components/salla-count-down.js.map +1 -0
- package/dist/components/salla-datetime-picker.js +2 -0
- package/dist/components/salla-datetime-picker.js.map +1 -0
- package/dist/components/salla-datetime-picker2.js +2 -0
- package/dist/components/salla-datetime-picker2.js.map +1 -0
- package/dist/components/salla-file-upload.js +2 -0
- package/dist/components/salla-file-upload.js.map +1 -0
- package/dist/components/salla-file-upload2.js +2 -0
- package/dist/components/salla-file-upload2.js.map +1 -0
- package/dist/components/salla-gifting.js +2 -0
- package/dist/components/salla-gifting.js.map +1 -0
- package/dist/components/salla-infinite-scroll.js +2 -0
- package/dist/components/salla-infinite-scroll.js.map +1 -0
- package/dist/components/salla-installment.js +2 -0
- package/dist/components/salla-installment.js.map +1 -0
- package/dist/components/salla-list-tile.js +2 -0
- package/dist/components/salla-list-tile.js.map +1 -0
- package/dist/components/salla-list-tile2.js +2 -0
- package/dist/components/salla-list-tile2.js.map +1 -0
- package/dist/components/salla-loading.js +2 -0
- package/dist/components/salla-loading.js.map +1 -0
- package/dist/components/salla-loading2.js +2 -0
- package/dist/components/salla-loading2.js.map +1 -0
- package/dist/components/salla-localization-modal.js +2 -0
- package/dist/components/salla-localization-modal.js.map +1 -0
- package/dist/components/salla-login-modal.js +2 -0
- package/dist/components/salla-login-modal.js.map +1 -0
- package/dist/components/salla-loyalty-prize-item.js +2 -0
- package/dist/components/salla-loyalty-prize-item.js.map +1 -0
- package/dist/components/salla-loyalty.js +2 -0
- package/dist/components/salla-loyalty.js.map +1 -0
- package/dist/components/salla-map.js +2 -0
- package/dist/components/salla-map.js.map +1 -0
- package/dist/components/salla-map2.js +2 -0
- package/dist/components/salla-map2.js.map +1 -0
- package/dist/components/salla-modal.js +2 -0
- package/dist/components/salla-modal.js.map +1 -0
- package/dist/components/salla-modal2.js +2 -0
- package/dist/components/salla-modal2.js.map +1 -0
- package/dist/components/salla-offer-modal.js +2 -0
- package/dist/components/salla-offer-modal.js.map +1 -0
- package/dist/components/salla-placeholder.js +2 -0
- package/dist/components/salla-placeholder.js.map +1 -0
- package/dist/components/salla-placeholder2.js +2 -0
- package/dist/components/salla-placeholder2.js.map +1 -0
- package/dist/components/salla-product-availability.js +2 -0
- package/dist/components/salla-product-availability.js.map +1 -0
- package/dist/components/salla-product-availability2.js +2 -0
- package/dist/components/salla-product-availability2.js.map +1 -0
- package/dist/components/salla-product-options.js +2 -0
- package/dist/components/salla-product-options.js.map +1 -0
- package/dist/components/salla-product-size-guide.js +2 -0
- package/dist/components/salla-product-size-guide.js.map +1 -0
- package/dist/components/salla-progress-bar.js +2 -0
- package/dist/components/salla-progress-bar.js.map +1 -0
- package/dist/components/salla-progress-bar2.js +2 -0
- package/dist/components/salla-progress-bar2.js.map +1 -0
- package/dist/components/salla-quantity-input.js +2 -0
- package/dist/components/salla-quantity-input.js.map +1 -0
- package/dist/components/salla-quick-buy.js +2 -0
- package/dist/components/salla-quick-buy.js.map +1 -0
- package/dist/components/salla-quick-buy2.js +3 -1
- package/dist/components/salla-quick-buy2.js.map +1 -0
- package/dist/components/salla-quick-order.js +2 -0
- package/dist/components/salla-quick-order.js.map +1 -0
- package/dist/components/salla-rating-modal.js +2 -0
- package/dist/components/salla-rating-modal.js.map +1 -0
- package/dist/components/salla-rating-stars.js +2 -0
- package/dist/components/salla-rating-stars.js.map +1 -0
- package/dist/components/salla-rating-stars2.js +2 -0
- package/dist/components/salla-rating-stars2.js.map +1 -0
- package/dist/components/salla-scopes.js +2 -0
- package/dist/components/salla-scopes.js.map +1 -0
- package/dist/components/salla-search.js +2 -0
- package/dist/components/salla-search.js.map +1 -0
- package/dist/components/salla-select.js +2 -0
- package/dist/components/salla-select.js.map +1 -0
- package/dist/components/salla-skeleton.js +2 -0
- package/dist/components/salla-skeleton.js.map +1 -0
- package/dist/components/salla-skeleton2.js +2 -0
- package/dist/components/salla-skeleton2.js.map +1 -0
- package/dist/components/salla-slider.js +2 -0
- package/dist/components/salla-slider.js.map +1 -0
- package/dist/components/salla-slider2.js +2 -0
- package/dist/components/salla-slider2.js.map +1 -0
- package/dist/components/salla-social-share.js +2 -0
- package/dist/components/salla-social-share.js.map +1 -0
- package/dist/components/salla-tab-content.js +2 -0
- package/dist/components/salla-tab-content.js.map +1 -0
- package/dist/components/salla-tab-content2.js +2 -0
- package/dist/components/salla-tab-content2.js.map +1 -0
- package/dist/components/salla-tab-header.js +2 -0
- package/dist/components/salla-tab-header.js.map +1 -0
- package/dist/components/salla-tab-header2.js +2 -0
- package/dist/components/salla-tab-header2.js.map +1 -0
- package/dist/components/salla-tabs.js +2 -0
- package/dist/components/salla-tabs.js.map +1 -0
- package/dist/components/salla-tabs2.js +2 -0
- package/dist/components/salla-tabs2.js.map +1 -0
- package/dist/components/salla-tel-input.js +2 -0
- package/dist/components/salla-tel-input.js.map +1 -0
- package/dist/components/salla-tel-input2.js +2 -0
- package/dist/components/salla-tel-input2.js.map +1 -0
- package/dist/components/salla-user-menu.js +2 -0
- package/dist/components/salla-user-menu.js.map +1 -0
- package/dist/components/salla-user-settings.js +2 -0
- package/dist/components/salla-user-settings.js.map +1 -0
- package/dist/components/salla-verify.js +2 -0
- package/dist/components/salla-verify.js.map +1 -0
- package/dist/components/salla-verify2.js +2 -0
- package/dist/components/salla-verify2.js.map +1 -0
- package/dist/components/search.js +2 -0
- package/dist/components/search.js.map +1 -0
- package/dist/components/star.js +2 -0
- package/dist/components/star.js.map +1 -0
- package/dist/components/star2.js +2 -0
- package/dist/components/star2.js.map +1 -0
- package/dist/esm/_commonjsHelpers-a7c4abac.js +2 -0
- package/dist/esm/_commonjsHelpers-a7c4abac.js.map +1 -0
- package/dist/esm/app-globals-30874674.js +2 -0
- package/dist/esm/app-globals-30874674.js.map +1 -0
- package/dist/esm/camera-647ab50f.js +2 -0
- package/dist/esm/camera-647ab50f.js.map +1 -0
- package/dist/esm/cart-8c60b447.js +2 -0
- package/dist/esm/cart-8c60b447.js.map +1 -0
- package/dist/esm/css-shim-0e7604db.js +2 -0
- package/dist/esm/css-shim-0e7604db.js.map +1 -0
- package/dist/esm/dom-a1a72c67.js +2 -0
- package/dist/esm/dom-a1a72c67.js.map +1 -0
- package/dist/esm/index-f1d446ac.js +2 -0
- package/dist/esm/index-f1d446ac.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +2 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/salla-add-product-button.entry.js +2 -0
- package/dist/esm/salla-add-product-button.entry.js.map +1 -0
- package/dist/esm/salla-button_37.entry.js +3 -1
- package/dist/esm/salla-button_37.entry.js.map +1 -0
- package/dist/esm/salla-comment-form.entry.js +2 -0
- package/dist/esm/salla-comment-form.entry.js.map +1 -0
- package/dist/esm/salla-conditional-fields.entry.js +2 -0
- package/dist/esm/salla-conditional-fields.entry.js.map +1 -0
- package/dist/esm/salla-installment.entry.js +2 -0
- package/dist/esm/salla-installment.entry.js.map +1 -0
- package/dist/esm/salla-loyalty-prize-item.entry.js +2 -0
- package/dist/esm/salla-loyalty-prize-item.entry.js.map +1 -0
- package/dist/esm/salla-product-options.entry.js +2 -0
- package/dist/esm/salla-product-options.entry.js.map +1 -0
- package/dist/esm/salla-select.entry.js +2 -0
- package/dist/esm/salla-select.entry.js.map +1 -0
- package/dist/esm/twilight.js +2 -0
- package/dist/esm/twilight.js.map +1 -0
- package/dist/esm-es5/_commonjsHelpers-a7c4abac.js +2 -1
- package/dist/esm-es5/_commonjsHelpers-a7c4abac.js.map +1 -0
- package/dist/esm-es5/app-globals-30874674.js +2 -1
- package/dist/esm-es5/app-globals-30874674.js.map +1 -0
- package/dist/esm-es5/camera-647ab50f.js +2 -1
- package/dist/esm-es5/camera-647ab50f.js.map +1 -0
- package/dist/esm-es5/cart-8c60b447.js +2 -1
- package/dist/esm-es5/cart-8c60b447.js.map +1 -0
- package/dist/esm-es5/css-shim-0e7604db.js +2 -1
- package/dist/esm-es5/css-shim-0e7604db.js.map +1 -0
- package/dist/esm-es5/dom-a1a72c67.js +2 -1
- package/dist/esm-es5/dom-a1a72c67.js.map +1 -0
- package/dist/esm-es5/index-f1d446ac.js +2 -1
- package/dist/esm-es5/index-f1d446ac.js.map +1 -0
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/index.js.map +1 -0
- package/dist/esm-es5/loader.js +2 -1
- package/dist/esm-es5/loader.js.map +1 -0
- package/dist/esm-es5/salla-add-product-button.entry.js +2 -1
- package/dist/esm-es5/salla-add-product-button.entry.js.map +1 -0
- package/dist/esm-es5/salla-button_37.entry.js +2 -1
- package/dist/esm-es5/salla-button_37.entry.js.map +1 -0
- package/dist/esm-es5/salla-comment-form.entry.js +2 -1
- package/dist/esm-es5/salla-comment-form.entry.js.map +1 -0
- package/dist/esm-es5/salla-conditional-fields.entry.js +2 -1
- package/dist/esm-es5/salla-conditional-fields.entry.js.map +1 -0
- package/dist/esm-es5/salla-installment.entry.js +2 -1
- package/dist/esm-es5/salla-installment.entry.js.map +1 -0
- package/dist/esm-es5/salla-loyalty-prize-item.entry.js +2 -1
- package/dist/esm-es5/salla-loyalty-prize-item.entry.js.map +1 -0
- package/dist/esm-es5/salla-product-options.entry.js +2 -1
- package/dist/esm-es5/salla-product-options.entry.js.map +1 -0
- package/dist/esm-es5/salla-select.entry.js +2 -1
- package/dist/esm-es5/salla-select.entry.js.map +1 -0
- package/dist/esm-es5/twilight.js +2 -1
- package/dist/esm-es5/twilight.js.map +1 -0
- package/dist/twilight/index.esm.js +2 -0
- package/dist/twilight/index.esm.js.map +1 -0
- package/dist/twilight/p-195385b2.system.entry.js +2 -1
- package/dist/twilight/p-195385b2.system.entry.js.map +1 -0
- package/dist/twilight/p-1b53ebda.system.entry.js +2 -1
- package/dist/twilight/p-1b53ebda.system.entry.js.map +1 -0
- package/dist/twilight/p-217e1d1c.system.entry.js +2 -1
- package/dist/twilight/p-217e1d1c.system.entry.js.map +1 -0
- package/dist/twilight/p-244303eb.system.entry.js +2 -1
- package/dist/twilight/p-244303eb.system.entry.js.map +1 -0
- package/dist/twilight/p-263fa3eb.entry.js +5 -0
- package/dist/twilight/p-263fa3eb.entry.js.map +1 -0
- package/dist/twilight/p-3d828bb4.js +2 -1
- package/dist/twilight/p-3d828bb4.js.map +1 -0
- package/dist/twilight/{p-0d221d45.system.entry.js → p-47d4791b.system.entry.js} +2 -1
- package/dist/twilight/p-47d4791b.system.entry.js.map +1 -0
- package/dist/twilight/p-4bf1c1a4.system.js +2 -1
- package/dist/twilight/p-4bf1c1a4.system.js.map +1 -0
- package/dist/twilight/p-4db4fcd9.entry.js +5 -0
- package/dist/twilight/p-4db4fcd9.entry.js.map +1 -0
- package/dist/twilight/p-56830c52.system.entry.js +2 -1
- package/dist/twilight/p-56830c52.system.entry.js.map +1 -0
- package/dist/twilight/p-5db948f2.js +12 -9
- package/dist/twilight/p-5db948f2.js.map +1 -0
- package/dist/twilight/p-6c70f3bc.entry.js +5 -0
- package/dist/twilight/p-6c70f3bc.entry.js.map +1 -0
- package/dist/twilight/p-71b1ddca.js +10 -3
- package/dist/twilight/p-71b1ddca.js.map +1 -0
- package/dist/twilight/p-776c1d2a.system.entry.js +2 -1
- package/dist/twilight/p-776c1d2a.system.entry.js.map +1 -0
- package/dist/twilight/p-7dc66c07.js +3 -2
- package/dist/twilight/p-7dc66c07.js.map +1 -0
- package/dist/twilight/p-7f520307.system.js +2 -1
- package/dist/twilight/p-7f520307.system.js.map +1 -0
- package/dist/twilight/p-854e2c89.system.js +2 -1
- package/dist/twilight/p-854e2c89.system.js.map +1 -0
- package/dist/twilight/p-89f1c6be.system.js +2 -1
- package/dist/twilight/p-89f1c6be.system.js.map +1 -0
- package/dist/twilight/p-8a13cf01.js +2 -1
- package/dist/twilight/p-8a13cf01.js.map +1 -0
- package/dist/twilight/p-916b409e.entry.js +5 -0
- package/dist/twilight/p-916b409e.entry.js.map +1 -0
- package/dist/twilight/p-99ed8fff.system.js +2 -1
- package/dist/twilight/p-99ed8fff.system.js.map +1 -0
- package/dist/twilight/p-a2885c84.entry.js +54 -0
- package/dist/twilight/p-a2885c84.entry.js.map +1 -0
- package/dist/twilight/p-ad42e3b6.system.js +2 -1
- package/dist/twilight/p-ad42e3b6.system.js.map +1 -0
- package/dist/twilight/p-b540cfc6.system.entry.js +2 -1
- package/dist/twilight/p-b540cfc6.system.entry.js.map +1 -0
- package/dist/twilight/p-b7610000.system.js +2 -1
- package/dist/twilight/p-b7610000.system.js.map +1 -0
- package/dist/twilight/p-bf0e322d.entry.js +5 -0
- package/dist/twilight/p-bf0e322d.entry.js.map +1 -0
- package/dist/twilight/p-c328c14e.system.js +2 -1
- package/dist/twilight/p-c328c14e.system.js.map +1 -0
- package/dist/twilight/p-ccd78636.js +2 -1
- package/dist/twilight/p-ccd78636.js.map +1 -0
- package/dist/twilight/p-ce54db8d.js +2 -1
- package/dist/twilight/p-ce54db8d.js.map +1 -0
- package/dist/twilight/p-d9130020.system.js +2 -1
- package/dist/twilight/p-d9130020.system.js.map +1 -0
- package/dist/twilight/p-ea05267e.entry.js +5 -0
- package/dist/twilight/p-ea05267e.entry.js.map +1 -0
- package/dist/twilight/p-fc4186fb.entry.js +5 -0
- package/dist/twilight/p-fc4186fb.entry.js.map +1 -0
- package/dist/twilight/twilight.esm.js +2 -1
- package/dist/twilight/twilight.esm.js.map +1 -0
- package/package.json +2 -2
- package/dist/twilight/p-03695034.entry.js +0 -4
- package/dist/twilight/p-55eb5ff5.entry.js +0 -4
- package/dist/twilight/p-643ea74e.entry.js +0 -4
- package/dist/twilight/p-7707edf6.entry.js +0 -4
- package/dist/twilight/p-7d966812.entry.js +0 -4
- package/dist/twilight/p-a7bd281c.entry.js +0 -4
- package/dist/twilight/p-df0e0ea8.entry.js +0 -36
- package/dist/twilight/p-f0de0ca1.entry.js +0 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
System.register([],(function(c){"use strict";return{execute:function(){var t=c("C",'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="30" height="32" viewBox="0 0 30 32">\n<title>cart</title>\n<path d="M15.426 28.084c0-1.412-0.85-2.684-2.156-3.226-1.305-0.54-2.807-0.241-3.805 0.758-0.999 0.998-1.298 2.5-0.758 3.805 0.54 1.303 1.815 2.155 3.226 2.155 1.928-0.003 3.49-1.564 3.492-3.492h0.001zM10.597 28.084h0.001c0-0.54 0.326-1.027 0.825-1.235 0.498-0.206 1.074-0.091 1.455 0.29 0.383 0.382 0.497 0.957 0.29 1.456-0.208 0.5-0.695 0.825-1.235 0.825-0.355 0-0.695-0.142-0.944-0.391-0.251-0.251-0.392-0.591-0.392-0.946h-0.001l0.001 0.001zM28.23 28.084c0-1.412-0.85-2.684-2.155-3.226-1.305-0.54-2.807-0.241-3.806 0.758s-1.297 2.5-0.756 3.805c0.54 1.303 1.813 2.155 3.226 2.155 1.927-0.003 3.49-1.564 3.491-3.492zM23.401 28.084c0-0.54 0.326-1.027 0.825-1.235 0.5-0.206 1.075-0.091 1.457 0.29s0.497 0.957 0.289 1.456c-0.206 0.5-0.693 0.825-1.233 0.825-0.738 0-1.337-0.599-1.337-1.337l-0.001 0.001zM1.953 0.234l-0.342-0.059c-0.29-0.064-0.594-0.004-0.839 0.166-0.247 0.169-0.414 0.436-0.463 0.734-0.050 0.3 0.023 0.607 0.201 0.85s0.444 0.402 0.738 0.44l0.341 0.059c1.825 0.324 3.248 1.794 3.548 3.662l1.981 12.369h-0.001c0.218 1.387 0.913 2.651 1.96 3.563s2.379 1.412 3.754 1.41h14.242c0.601 0 1.088-0.498 1.088-1.112s-0.487-1.112-1.088-1.112h-14.242c-1.679-0.001-3.139-1.183-3.525-2.854h11.463c1.614 0.004 3.188-0.518 4.493-1.49 1.305-0.973 2.271-2.346 2.762-3.918l1.298-4.136c0.145-0.455 0.065-0.953-0.213-1.336-0.278-0.385-0.72-0.608-1.187-0.602h-20.467l-0.181-1.141c-0.218-1.367-0.849-2.631-1.802-3.615-0.954-0.983-2.184-1.64-3.518-1.878h-0.001zM26.946 9.096l-0.993 3.169v-0.001c-0.353 1.122-1.044 2.101-1.975 2.796s-2.056 1.067-3.208 1.067h-11.833l-1.125-7.042 19.134 0.011z"></path>\n</svg>\n')}}}));
|
|
4
|
+
System.register([],(function(c){"use strict";return{execute:function(){var t=c("C",'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="30" height="32" viewBox="0 0 30 32">\n<title>cart</title>\n<path d="M15.426 28.084c0-1.412-0.85-2.684-2.156-3.226-1.305-0.54-2.807-0.241-3.805 0.758-0.999 0.998-1.298 2.5-0.758 3.805 0.54 1.303 1.815 2.155 3.226 2.155 1.928-0.003 3.49-1.564 3.492-3.492h0.001zM10.597 28.084h0.001c0-0.54 0.326-1.027 0.825-1.235 0.498-0.206 1.074-0.091 1.455 0.29 0.383 0.382 0.497 0.957 0.29 1.456-0.208 0.5-0.695 0.825-1.235 0.825-0.355 0-0.695-0.142-0.944-0.391-0.251-0.251-0.392-0.591-0.392-0.946h-0.001l0.001 0.001zM28.23 28.084c0-1.412-0.85-2.684-2.155-3.226-1.305-0.54-2.807-0.241-3.806 0.758s-1.297 2.5-0.756 3.805c0.54 1.303 1.813 2.155 3.226 2.155 1.927-0.003 3.49-1.564 3.491-3.492zM23.401 28.084c0-0.54 0.326-1.027 0.825-1.235 0.5-0.206 1.075-0.091 1.457 0.29s0.497 0.957 0.289 1.456c-0.206 0.5-0.693 0.825-1.233 0.825-0.738 0-1.337-0.599-1.337-1.337l-0.001 0.001zM1.953 0.234l-0.342-0.059c-0.29-0.064-0.594-0.004-0.839 0.166-0.247 0.169-0.414 0.436-0.463 0.734-0.050 0.3 0.023 0.607 0.201 0.85s0.444 0.402 0.738 0.44l0.341 0.059c1.825 0.324 3.248 1.794 3.548 3.662l1.981 12.369h-0.001c0.218 1.387 0.913 2.651 1.96 3.563s2.379 1.412 3.754 1.41h14.242c0.601 0 1.088-0.498 1.088-1.112s-0.487-1.112-1.088-1.112h-14.242c-1.679-0.001-3.139-1.183-3.525-2.854h11.463c1.614 0.004 3.188-0.518 4.493-1.49 1.305-0.973 2.271-2.346 2.762-3.918l1.298-4.136c0.145-0.455 0.065-0.953-0.213-1.336-0.278-0.385-0.72-0.608-1.187-0.602h-20.467l-0.181-1.141c-0.218-1.367-0.849-2.631-1.802-3.615-0.954-0.983-2.184-1.64-3.518-1.878h-0.001zM26.946 9.096l-0.993 3.169v-0.001c-0.353 1.122-1.044 2.101-1.975 2.796s-2.056 1.067-3.208 1.067h-11.833l-1.125-7.042 19.134 0.011z"></path>\n</svg>\n')}}}));
|
|
5
|
+
//# sourceMappingURL=p-4bf1c1a4.system.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import{r as t,h as o,H as r}from"./p-7dc66c07.js";const a="salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;-webkit-transition:-webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{-webkit-box-shadow:0 0 #0000, 0 0 #0000, 5px 10px 30px #2B2D340D;box-shadow:0 0 #0000, 0 0 #0000, 5px 10px 30px #2B2D340D}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;-webkit-box-shadow:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--color-text);font-size:var(--font-sm);line-height:1.25;padding:18px 20px 18px 100px !important;background:white;border-radius:0.375rem;-webkit-transition:-webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{-webkit-box-shadow:0 0 #0000, 0 0 #0000, 5px 10px 30px #2B2D340D;box-shadow:0 0 #0000, 0 0 #0000, 5px 10px 30px #2B2D340D}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px;top:18px;margin:0 !important}.ltr .tamara-product-widget .tamara-logo{right:20px;left:auto}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}";const i=class{constructor(o){t(this,o);this.tabbyBorderRemoved=false;this.tabbyRemoveBorderTries=0;this.language=salla.config.get("user.language_code");this.currency=salla.config.get("user.currency_code");salla.lang.onLoaded((()=>{const t=salla.config.get("store.settings.installments");if(t){this.tamaraIsActive=t.includes("tamara_installment");this.tabbyIsActive=t.includes("tabby_installment");this.spotiiIsActive=t.includes("spotii_pay")}this.renderInstallments()}))}render(){return o(r,null,this.tamaraIsActive?o("div",{class:"tamara-product-widget","data-price":this.price,"data-currency":this.currency,"data-lang":this.language,"data-payment-type":"installment"}):"",this.tabbyIsActive?o("div",{id:"tabbyPromoWrapper"},o("div",{id:"tabbyPromo"})):"",this.spotiiIsActive?o("div",{class:"spotii-wrapper"},o("div",{class:"spotii-promo"})):"")}renderInstallments(){if(this.tamaraIsActive){var t=document.createElement("script");t.setAttribute("src","https://cdn.tamara.co/widget/product-widget.min.js");document.head.appendChild(t);t.onload=()=>{window.TamaraProductWidget.init({lang:this.language});setTimeout((()=>{window.TamaraProductWidget.render()}),300)}}if(this.tabbyIsActive){var t=document.createElement("script");t.setAttribute("src","https://checkout.tabby.ai/tabby-promo.js");document.head.appendChild(t);t.onload=()=>{const t=window.TabbyPromo;new t({selector:"#tabbyPromo",currency:this.currency,price:this.price,lang:this.language});document.querySelectorAll(".tabby-promo-snippet__logo").forEach((function(t){t.setAttribute("aria-label","Tabby Logo")}))};this.removeTabbyBorder()}if(this.spotiiIsActive){let o=salla.money((Number(this.price)/3).toFixed(2));let r=salla.config.get("theme.is_rtl",true);window.spotiiConfig={targetXPath:[".spotii-wrapper"],renderToPath:[".spotii-promo"],numberOfPayment:3,currency:this.currency,templateLine:"${textOne} ${number} ${textTwo} "+o+"${logo} ${info}",textOne:r?"جزء الدفع على":"Split it into",textTwo:r?"أقساط متساوية بدون تكاليف اضافية بقيمة":"payments of",textThree:"مع",price:this.price};var t=document.createElement("script");t.setAttribute("src",salla.url.cdn("js/price-widget-ar-salla.js"));document.head.appendChild(t)}}removeTabbyBorder(){if(this.tabbyBorderRemoved||this.tabbyRemoveBorderTries>5){return}this.tabbyRemoveBorderTries++;setTimeout((()=>{let t=document.querySelector("#tabbyPromo>div>div");t=t?t.shadowRoot.querySelector('div[class^="styles__tabby-promo-snippet--"]'):null;if(t){t.style="border: none; margin: 15px 0!important;";this.tabbyBorderRemoved=true}else{this.removeTabbyBorder()}}),this.tabbyRemoveBorderTries*500)}};i.style=a;export{i as salla_installment};
|
|
5
|
+
//# sourceMappingURL=p-4db4fcd9.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["src/components/salla-installment/salla-installment.scss?tag=salla-installment","src/components/salla-installment/salla-installment.tsx"],"names":["sallaInstallmentCss","SallaInstallment","[object Object]","hostRef","this","tabbyBorderRemoved","tabbyRemoveBorderTries","language","salla","config","get","currency","lang","onLoaded","installment","tamaraIsActive","includes","tabbyIsActive","spotiiIsActive","renderInstallments","h","Host","class","data-price","price","data-currency","data-lang","data-payment-type","id","script","document","createElement","setAttribute","head","appendChild","onload","window","TamaraProductWidget","init","setTimeout","render","TabbyPromo","selector","querySelectorAll","forEach","element","removeTabbyBorder","amount","money","Number","toFixed","isRTL","spotiiConfig","targetXPath","renderToPath","numberOfPayment","templateLine","textOne","textTwo","textThree","url","cdn","promo","querySelector","shadowRoot","style"],"mappings":";;;kDAAA,MAAMA,EAAsB,0vGCOfC,EAAgB,MAI3BC,YAAAC,aAHQC,KAAAC,mBAA8B,MAC9BD,KAAAE,uBAAiC,EAqBjCF,KAAAG,SAAmBC,MAAMC,OAAOC,IAAI,sBAIpCN,KAAAO,SAAmBH,MAAMC,OAAOC,IAAI,sBAtB1CF,MAAMI,KAAKC,UAAS,KAClB,MAAMC,EAAcN,MAAMC,OAAOC,IAAI,+BACrC,GAAII,EAAa,CACfV,KAAKW,eAAiBD,EAAYE,SAAS,sBAC3CZ,KAAKa,cAAgBH,EAAYE,SAAS,qBAC1CZ,KAAKc,eAAiBJ,EAAYE,SAAS,cAE7CZ,KAAKe,wBAqBTjB,SACE,OACEkB,EAACC,EAAI,KACFjB,KAAKW,eACJK,EAAA,MAAA,CAAKE,MAAM,wBAAuBC,aACjBnB,KAAKoB,MAAKC,gBACPrB,KAAKO,SAAQe,YACjBtB,KAAKG,SAAQoB,oBACN,gBAErB,GAEHvB,KAAKa,cACJG,EAAA,MAAA,CAAKQ,GAAG,qBACNR,EAAA,MAAA,CAAKQ,GAAG,gBAER,GAEHxB,KAAKc,eACJE,EAAA,MAAA,CAAKE,MAAM,kBAETF,EAAA,MAAA,CAAKE,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SAASiC,cAAc,uBACxCD,EAAQA,EAAQA,EAAME,WAAWD,cAAc,+CAAiD,KAChG,GAAID,EAAO,CACTA,EAAMG,MAAQ,0CACd7D,KAAKC,mBAAqB,SACrB,CACLD,KAAK0C,uBAEN1C,KAAKE,uBAAyB","sourcesContent":["/*\n The whole installment methods is a third-party widgets,\n So there aren't a custom classes (as other components) to style them.\n*/\n\nsalla-installment:empty {\n display: none;\n}\n/*\n* Installment::Tabby\n*/\n#tabbyPromoWrapper {\n background: white;\n border-radius: 0.375rem;\n transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);\n margin-bottom: 20px;\n\n .salla-y &{\n border: 1px solid var(--color-grey-dark);\n border-radius: 12px\n }\n\n &:hover{\n box-shadow: 0 0 #0000, 0 0 #0000, 5px 10px 30px #2B2D340D;\n }\n\n #tabbyPromo {\n * {\n font-family: var(--font-main);\n }\n\n > div > div {\n max-width: none;\n //padding: 15px;\n box-shadow: none;\n border: none;\n }\n\n .tabby-promo-snippet {\n max-width: 100%;\n min-height: 100px;\n padding: 18px 20px;\n // border-color: var(--color-grey-dark);\n border: none !important;\n\n\n &__text, &__link {\n font-size: var(--font-sm);\n color: var(--color-text) !important;\n }\n\n &__link {\n font-weight: bold;\n }\n }\n }\n}\n\n.tabby-promo-wrapper {\n #tabby-promo {\n font-family: var(--font-main) !important;\n\n .tabby-promo {\n &__feature-title {\n font-size: var(--font-md);\n }\n\n &__feature-desc {\n font-size: var(--font-sm);\n line-height: 20px;\n }\n }\n }\n}\n\n/*\n* Installment::Tamara & Spotii\n*/\n.tamara-product-widget{\n margin-bottom: 20px;\n}\n\n.tamara-product-widget,\n.spotii-wrapper {\n min-height: 100px;\n position: relative;\n color: var(--color-text);\n font-size: var(--font-sm);\n line-height: 1.25;\n padding: 18px 20px 18px 100px !important;\n background: white;\n border-radius: 0.375rem;\n transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);\n\n .salla-y &{\n border-radius: 12px;\n border: 1px solid var(--color-grey-dark);\n }\n\n &:hover{\n box-shadow: 0 0 #0000, 0 0 #0000, 5px 10px 30px #2B2D340D;\n }\n .spotii-logo {\n float: left;\n margin: 0 0 0 -75px;\n }\n}\n.ltr .tamara-product-widget,\n.ltr .spotii-wrapper{\n text-align: left;\n padding: 18px 100px 18px 20px !important;\n .spotii-logo {\n float: right;\n margin: 0 -75px 0 0;\n }\n .spotii-product-widget {\n text-align: left !important;\n }\n}\n\n.spotii-wrapper {\n margin-bottom: 20px;\n .spotii-promo {\n font-size: var(--font-md);\n }\n\n .spotii-product-widget {\n font-size: var(--font-sm) !important;\n margin-top: 10px;\n }\n}\n\n.tamara-product-widget{\n .tamara-logo {\n position: absolute;\n left: 20px;\n top: 18px;\n margin: 0 !important;\n\n .ltr &{\n right: 20px;\n left: auto;\n }\n }\n\n span {\n font-family: var(--font-main);\n font-size: var(--font-sm);\n color: var(--color-text);\n\n &:last-child {\n display: block;\n position: relative;\n margin-top: 8px;\n }\n }\n}\n\n.tamara-popup {\n &__wrap {\n overflow: auto !important;\n }\n}\n","import {Component, Host, h, Prop, State} from '@stencil/core';\n\n@Component({\n tag: 'salla-installment',\n styleUrl: 'salla-installment.scss',\n})\n\nexport class SallaInstallment {\n private tabbyBorderRemoved: boolean = false;\n private tabbyRemoveBorderTries: number = 0;\n\n constructor() {\n salla.lang.onLoaded(() => {\n const installment = salla.config.get('store.settings.installments');\n if (installment) {\n this.tamaraIsActive = installment.includes('tamara_installment');\n this.tabbyIsActive = installment.includes('tabby_installment');\n this.spotiiIsActive = installment.includes('spotii_pay');\n }\n this.renderInstallments();\n });\n }\n\n /**\n * Current product price\n */\n @Prop() price: string;\n /**\n * Language code\n */\n @Prop() language: string = salla.config.get('user.language_code');\n /**\n * Currency code\n */\n @Prop() currency: string = salla.config.get('user.currency_code');\n\n @State() tamaraIsActive: boolean;\n @State() tabbyIsActive: boolean;\n @State() spotiiIsActive: boolean;\n\n render() {\n return (\n <Host>\n {this.tamaraIsActive ?\n <div class=\"tamara-product-widget\"\n data-price={this.price}\n data-currency={this.currency}\n data-lang={this.language}\n data-payment-type=\"installment\">\n </div>\n : ''}\n\n {this.tabbyIsActive ?\n <div id=\"tabbyPromoWrapper\">\n <div id=\"tabbyPromo\"></div>\n </div>\n : ''}\n\n {this.spotiiIsActive ?\n <div class=\"spotii-wrapper\">\n {/*No need for the price, the price already in the page, and also tammara & tabby doesn't have price */}\n <div class=\"spotii-promo\"></div>\n </div>\n : ''}\n </Host>\n );\n }\n\n renderInstallments() {\n // Tamara\n if (this.tamaraIsActive) {\n var script = document.createElement('script');\n script.setAttribute('src', 'https://cdn.tamara.co/widget/product-widget.min.js');\n document.head.appendChild(script);\n script.onload = () => {\n window.TamaraProductWidget.init({lang: this.language})\n setTimeout(() => {\n window.TamaraProductWidget.render()\n }, 300)\n }\n }\n\n // tabby\n if (this.tabbyIsActive) {\n var script = document.createElement('script');\n script.setAttribute('src', 'https://checkout.tabby.ai/tabby-promo.js');\n document.head.appendChild(script);\n script.onload = () => {\n const TabbyPromo = window.TabbyPromo;\n new TabbyPromo({\n selector: '#tabbyPromo',\n currency: this.currency,\n price: this.price,\n lang: this.language,\n });\n document.querySelectorAll('.tabby-promo-snippet__logo').forEach(function (element) {\n element.setAttribute('aria-label', 'Tabby Logo')\n });\n }\n //this is workaround to remove the default border and add margin\n this.removeTabbyBorder();\n }\n\n // Spotii\n if (this.spotiiIsActive) {\n let amount = salla.money((Number(this.price) / 3).toFixed(2));\n let isRTL = salla.config.get('theme.is_rtl', true);\n window.spotiiConfig = {\n targetXPath: ['.spotii-wrapper'],\n renderToPath: ['.spotii-promo'],\n numberOfPayment: 3,\n currency: this.currency,\n templateLine: \"${textOne} ${number} ${textTwo} \" + amount + \"${logo} ${info}\",\n //todo:: translate these\n textOne: isRTL ? \"جزء الدفع على\" : \"Split it into\",\n textTwo: isRTL ? \"أقساط متساوية بدون تكاليف اضافية بقيمة\" : \"payments of\",\n textThree: \"مع\",\n price: this.price,\n // forcedShow: false,\n // merchantID: null,\n }\n\n var script = document.createElement('script');\n\n script.setAttribute('src', salla.url.cdn('js/price-widget-ar-salla.js'));\n document.head.appendChild(script);\n // script.onload = () => {\n // // setTimeout()\n // }\n }\n\n }\n\n /**\n * this is workaround to remove the default border and add margin\n * we will try to remove tabby border 5 times for 7.5 seconds\n */\n removeTabbyBorder() {\n if (this.tabbyBorderRemoved || this.tabbyRemoveBorderTries > 5) {\n return;\n }\n this.tabbyRemoveBorderTries++;\n setTimeout(() => {\n let promo: any = document.querySelector('#tabbyPromo>div>div');\n promo = promo ? promo.shadowRoot.querySelector('div[class^=\"styles__tabby-promo-snippet--\"]') : null;\n if (promo) {\n promo.style = 'border: none; margin: 15px 0!important;';\n this.tabbyBorderRemoved = true;\n } else {\n this.removeTabbyBorder();\n }\n }, this.tabbyRemoveBorderTries * 500)\n }\n}\n"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-d9130020.system.js"],(function(e){"use strict";var t,n,o,a;return{setters:[function(e){t=e.r;n=e.h;o=e.H;a=e.g}],execute:function(){var i=e("salla_conditional_fields",function(){function e(e){t(this,e)}e.prototype.hideAllOptions=function(e){var t=this;this.host.querySelectorAll('[data-show-when^="options['.concat(e,'"]')).forEach((function(e){e.classList.add("hidden");t.hideAllOptions(e.dataset.optionId);t.disableInputs(e)}))};e.prototype.disableInputs=function(e){e.querySelectorAll("[name]").forEach((function(e){var t;e.setAttribute("disabled","");e.removeAttribute("required");if(((t=e===null||e===void 0?void 0:e.tagName)===null||t===void 0?void 0:t.toLowerCase())==="select"){e.value=""}if(["checkbox"].includes(e.getAttribute("type"))&&e.hasOwnProperty("checked")){e.checked=false}}))};e.prototype.changeHandler=function(e){var t=this;var n;salla.event.emit("salla-onditional-fields::change",e);salla.log("Received the change event: ",e);if(!e.target||!["SELECT"].includes(e.target.tagName)&&!["checkbox"].includes(e.target.getAttribute("type"))){salla.log("Ignore the change because is not support input: "+(((n=e===null||e===void 0?void 0:e.target)===null||n===void 0?void 0:n.tagName)||"N/A"));return}var o=e.target.name.replace("[]","");var a=e.target.getAttribute("type")==="checkbox";salla.log("Trying to find all the element with condition:",'[data-show-when^="'.concat(o,'"]'));this.host.querySelectorAll('[data-show-when^="'.concat(o,'"]')).forEach((function(n){var o=!(n===null||n===void 0?void 0:n.dataset.showWhen.includes("!="));var i=n===null||n===void 0?void 0:n.dataset.showWhen.replace(/(.*)(=|!=)(.*)/gm,"$3").trim();var r;if(a){var l=Array.from(t.host.querySelectorAll('input[name="'.concat(e.target.name,'"]:checked')),(function(e){return e===null||e===void 0?void 0:e.value}));r=l.includes(i.toString())}else{r=i===e.target.value}salla.log("The input is ",a?"Multiple":"Single"," value:",r);var s=o&&r||!o&&!r;if(s){n.classList.remove("hidden");n.querySelectorAll("[name]").forEach((function(e){e.removeAttribute("disabled");if(!["checkbox"].includes(e.getAttribute("type"))&&n.getElementsByClassName("required").length){e.setAttribute("required","")}}))}else{t.hideAllOptions(n.dataset.optionId);n.classList.add("hidden");t.disableInputs(n)}}))};e.prototype.componentDidRender=function(){var e=this;this.host.querySelectorAll("[data-show-when]").forEach((function(t){var n;var o=(n=t===null||t===void 0?void 0:t.dataset)===null||n===void 0?void 0:n.showWhen.replace(/(.*)(=|!=)(.*)/gm,"$1").trim();if(!o){return}e.changeHandler({target:e.host.querySelector('[name^="'+o+'"]')})}))};e.prototype.render=function(){return n(o,null,n("slot",null))};Object.defineProperty(e.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});return e}())}}}));
|
|
4
|
+
System.register(["./p-d9130020.system.js"],(function(e){"use strict";var t,n,o,a;return{setters:[function(e){t=e.r;n=e.h;o=e.H;a=e.g}],execute:function(){var i=e("salla_conditional_fields",function(){function e(e){t(this,e)}e.prototype.hideAllOptions=function(e){var t=this;this.host.querySelectorAll('[data-show-when^="options['.concat(e,'"]')).forEach((function(e){e.classList.add("hidden");t.hideAllOptions(e.dataset.optionId);t.disableInputs(e)}))};e.prototype.disableInputs=function(e){e.querySelectorAll("[name]").forEach((function(e){var t;e.setAttribute("disabled","");e.removeAttribute("required");if(((t=e===null||e===void 0?void 0:e.tagName)===null||t===void 0?void 0:t.toLowerCase())==="select"){e.value=""}if(["checkbox"].includes(e.getAttribute("type"))&&e.hasOwnProperty("checked")){e.checked=false}}))};e.prototype.changeHandler=function(e){var t=this;var n;salla.event.emit("salla-onditional-fields::change",e);salla.log("Received the change event: ",e);if(!e.target||!["SELECT"].includes(e.target.tagName)&&!["checkbox"].includes(e.target.getAttribute("type"))){salla.log("Ignore the change because is not support input: "+(((n=e===null||e===void 0?void 0:e.target)===null||n===void 0?void 0:n.tagName)||"N/A"));return}var o=e.target.name.replace("[]","");var a=e.target.getAttribute("type")==="checkbox";salla.log("Trying to find all the element with condition:",'[data-show-when^="'.concat(o,'"]'));this.host.querySelectorAll('[data-show-when^="'.concat(o,'"]')).forEach((function(n){var o=!(n===null||n===void 0?void 0:n.dataset.showWhen.includes("!="));var i=n===null||n===void 0?void 0:n.dataset.showWhen.replace(/(.*)(=|!=)(.*)/gm,"$3").trim();var r;if(a){var l=Array.from(t.host.querySelectorAll('input[name="'.concat(e.target.name,'"]:checked')),(function(e){return e===null||e===void 0?void 0:e.value}));r=l.includes(i.toString())}else{r=i===e.target.value}salla.log("The input is ",a?"Multiple":"Single"," value:",r);var s=o&&r||!o&&!r;if(s){n.classList.remove("hidden");n.querySelectorAll("[name]").forEach((function(e){e.removeAttribute("disabled");if(!["checkbox"].includes(e.getAttribute("type"))&&n.getElementsByClassName("required").length){e.setAttribute("required","")}}))}else{t.hideAllOptions(n.dataset.optionId);n.classList.add("hidden");t.disableInputs(n)}}))};e.prototype.componentDidRender=function(){var e=this;this.host.querySelectorAll("[data-show-when]").forEach((function(t){var n;var o=(n=t===null||t===void 0?void 0:t.dataset)===null||n===void 0?void 0:n.showWhen.replace(/(.*)(=|!=)(.*)/gm,"$1").trim();if(!o){return}e.changeHandler({target:e.host.querySelector('[name^="'+o+'"]')})}))};e.prototype.render=function(){return n(o,null,n("slot",null))};Object.defineProperty(e.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});return e}())}}}));
|
|
5
|
+
//# sourceMappingURL=p-56830c52.system.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["src/components/salla-conditional-fields/salla-conditional-fields.tsx"],"names":["SallaConditionalFields","exports","class_1","prototype","hideAllOptions","optionId","_this","this","host","querySelectorAll","concat","forEach","field","classList","add","dataset","disableInputs","input","setAttribute","removeAttribute","_a","tagName","toLowerCase","value","includes","getAttribute","hasOwnProperty","checked","changeHandler","event","salla","emit","log","target","name","replace","isMultiple","isEqual","showWhen","trim","isSelected","selectedValues","Array","from","e","toString","showTheInput","remove","getElementsByClassName","length","componentDidRender","optionName","querySelector","render","h","Host"],"mappings":";;;8JASaA,EAAsBC,EAAA,2BAAA,mCAIzBC,EAAAC,UAAAC,eAAA,SAAeC,GAAf,IAAAC,EAAAC,KACNA,KAAKC,KAAKC,iBAAiB,6BAAAC,OAA6BL,EAAQ,OAAMM,SAAQ,SAACC,GAC7EA,EAAMC,UAAUC,IAAI,UACpBR,EAAKF,eAAeQ,EAAMG,QAAQV,UAClCC,EAAKU,cAAcJ,OAIfV,EAAAC,UAAAa,cAAA,SAAcJ,GACpBA,EAAMH,iBAAiB,UAAUE,SAAQ,SAACM,SAExCA,EAAMC,aAAa,WAAY,IAC/BD,EAAME,gBAAgB,YACtB,KAAIC,EAAAH,IAAK,MAALA,SAAK,OAAA,EAALA,EAAOI,WAAO,MAAAD,SAAA,OAAA,EAAAA,EAAEE,iBAAkB,SAAU,CAC9CL,EAAMM,MAAQ,GAEhB,GAAI,CAAC,YAAYC,SAASP,EAAMQ,aAAa,UAAYR,EAAMS,eAAe,WAAY,CAExFT,EAAMU,QAAU,WAMtBzB,EAAAC,UAAAyB,cAAA,SAAcC,GAAd,IAAAvB,EAAAC,WACEuB,MA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P,EAAMQ,aAAa,UAAYb,EAAMoC,uBAAuB,YAAYC,OAAQ,CACzGhC,EAAMC,aAAa,WAAY,YAG9B,CACLZ,EAAKF,eAAeQ,EAAMG,QAAQV,UAClCO,EAAMC,UAAUC,IAAI,UACpBR,EAAKU,cAAcJ,QAK3BV,EAAAC,UAAA+C,mBAAA,WAAA,IAAA5C,EAAAC,KACEA,KAAKC,KAAKC,iBAAiB,oBAAoBE,SAAQ,SAACC,SAEtD,IAAIuC,GAAa/B,EAAAR,IAAK,MAALA,SAAK,OAAA,EAALA,EAAOG,WAAO,MAAAK,SAAA,OAAA,EAAAA,EAAEkB,SAASH,QAAQ,mBAAoB,MAAMI,OAC5E,IAAKY,EAAY,CACf,OAGF7C,EAAKsB,cAAc,CACjBK,OAAQ3B,EAAKE,KAAK4C,cAAc,WAAaD,EAAa,YAKhEjD,EAAAC,UAAAkD,OAAA,WACE,OACEC,EAACC,EAAI,KACHD,EAAA,OAAA,+HAjG2B","sourcesContent":["import { Component, Element, Host, Listen, h } from '@stencil/core';\n\n/**\n * its to easy to use, currenlty its support select & checkbox input as trigger for show/hide the dom\n * the dom you can put it like this data-show-when=\"{name of the field} {= or !=} {value of the field}\"\n */\n@Component({\n tag: 'salla-conditional-fields'\n})\nexport class SallaConditionalFields {\n\n @Element() host: HTMLElement;\n\n private hideAllOptions(optionId) {\n this.host.querySelectorAll(`[data-show-when^=\"options[${optionId}\"]`).forEach((field: HTMLElement) => {\n field.classList.add('hidden');\n this.hideAllOptions(field.dataset.optionId);\n this.disableInputs(field);\n });\n }\n\n private disableInputs(field) {\n field.querySelectorAll('[name]').forEach((input) => {\n\n input.setAttribute('disabled', '');\n input.removeAttribute('required');\n if (input?.tagName?.toLowerCase() === 'select') {\n input.value = ''\n }\n if (['checkbox'].includes(input.getAttribute('type')) && input.hasOwnProperty('checked')) {\n // @ts-ignore\n input.checked = false;\n }\n });\n }\n \n @Listen('change')\n changeHandler(event) {\n salla.event.emit('salla-onditional-fields::change', event);\n salla.log('Received the change event: ', event);\n\n if (!event.target || !['SELECT'].includes(event.target.tagName) && !['checkbox'].includes(event.target.getAttribute('type'))) {\n salla.log('Ignore the change because is not support input: ' + (event?.target?.tagName || 'N/A'));\n return;\n }\n\n // to extract the option id from the input name, the supported names are name[*] and name[*][]\n let optionId = event.target.name.replace('[]', '');\n let isMultiple = event.target.getAttribute('type') === 'checkbox';\n\n\n salla.log('Trying to find all the element with condition:', `[data-show-when^=\"${optionId}\"]`);\n\n this.host.querySelectorAll(`[data-show-when^=\"${optionId}\"]`)\n .forEach((field: HTMLElement) => {\n let isEqual = !field?.dataset.showWhen.includes('!=');\n let value = field?.dataset.showWhen.replace(/(.*)(=|!=)(.*)/gm, '$3').trim();\n // let isSelected = isMultiple ? event.target?.checked : value === event.target.value;\n let isSelected;\n\n if (isMultiple) {\n // @ts-ignore\n let selectedValues = Array.from(this.host.querySelectorAll(`input[name=\"${event.target.name}\"]:checked`), e => e?.value);\n isSelected = selectedValues.includes(value.toString());\n } else {\n isSelected = value === event.target.value;\n }\n\n salla.log('The input is ', (isMultiple ? 'Multiple' : 'Single'), ' value:', isSelected);\n\n let showTheInput = (isEqual && isSelected) || (!isEqual && !isSelected);\n if (showTheInput) {\n field.classList.remove('hidden');\n field.querySelectorAll('[name]').forEach((input) => {\n input.removeAttribute('disabled');\n\n //To handle focus on hidden input error\n if (!['checkbox'].includes(input.getAttribute('type')) && field.getElementsByClassName('required').length) {\n input.setAttribute('required', '');\n }\n });\n } else {\n this.hideAllOptions(field.dataset.optionId);\n field.classList.add('hidden');\n this.disableInputs(field);\n }\n });\n }\n\n componentDidRender() {\n this.host.querySelectorAll(`[data-show-when]`).forEach((field) => {\n // @ts-ignore\n let optionName = field?.dataset?.showWhen.replace(/(.*)(=|!=)(.*)/gm, '$1').trim();\n if (!optionName) {\n return;\n }\n\n this.changeHandler({\n target: this.host.querySelector('[name^=\"' + optionName + '\"]')\n })\n });\n }\n\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
self,function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function n(n){var i=t.has(n);return n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(n),!i&&n}function i(t){var n=t.isConnected;if(void 0!==n)return n;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function e(t,n){for(;n&&n!==t&&!n.nextSibling;)n=n.parentNode;return n&&n!==t?n.nextSibling:null}function o(t,n,i){i=void 0===i?new Set:i;for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var f=r;n(f);var c=f.localName;if("link"===c&&"import"===f.getAttribute("rel")){if((r=f.import)instanceof Node&&!i.has(r))for(i.add(r),r=r.firstChild;r;r=r.nextSibling)o(r,n,i);r=e(t,f);continue}if("template"===c){r=e(t,f);continue}if(f=f.__CE_shadowRoot)for(f=f.firstChild;f;f=f.nextSibling)o(f,n,i)}r=r.firstChild?r.firstChild:e(t,r)}}function r(t,n,i){t[n]=i}function f(){this.a=new Map,this.g=new Map,this.c=[],this.f=[],this.b=!1}function c(t,n){t.b&&o(n,(function(n){return u(t,n)}))}function u(t,n){if(t.b&&!n.__CE_patched){n.__CE_patched=!0;for(var i=0;i<t.c.length;i++)t.c[i](n);for(i=0;i<t.f.length;i++)t.f[i](n)}}function s(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state?t.connectedCallback(e):l(t,e)}}function a(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state&&t.disconnectedCallback(e)}}function h(t,n,i){var e=(i=void 0===i?{}:i).u||new Set,r=i.i||function(n){return l(t,n)},f=[];if(o(n,(function(n){if("link"===n.localName&&"import"===n.getAttribute("rel")){var i=n.import;i instanceof Node&&(i.__CE_isImportDocument=!0,i.__CE_hasRegistry=!0),i&&"complete"===i.readyState?i.__CE_documentLoadHandled=!0:n.addEventListener("load",(function(){var i=n.import;if(!i.__CE_documentLoadHandled){i.__CE_documentLoadHandled=!0;var o=new Set(e);o.delete(i),h(t,i,{u:o,i:r})}}))}else f.push(n)}),e),t.b)for(n=0;n<f.length;n++)u(t,f[n]);for(n=0;n<f.length;n++)r(f[n])}function l(t,n){if(void 0===n.__CE_state){var e=n.ownerDocument;if((e.defaultView||e.__CE_isImportDocument&&e.__CE_hasRegistry)&&(e=t.a.get(n.localName))){e.constructionStack.push(n);var o=e.constructorFunction;try{try{if(new o!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{e.constructionStack.pop()}}catch(t){throw n.__CE_state=2,t}if(n.__CE_state=1,n.__CE_definition=e,e.attributeChangedCallback)for(e=e.observedAttributes,o=0;o<e.length;o++){var r=e[o],f=n.getAttribute(r);null!==f&&t.attributeChangedCallback(n,r,null,f,null)}i(n)&&t.connectedCallback(n)}}}function d(t){var n=document;this.c=t,this.a=n,this.b=void 0,h(this.c,this.a),"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function w(t){t.b&&t.b.disconnect()}function v(){var t=this;this.b=this.a=void 0,this.c=new Promise((function(n){t.b=n,t.a&&n(t.a)}))}function m(t){if(t.a)throw Error("Already resolved.");t.a=void 0,t.b&&t.b(void 0)}function b(t){this.c=!1,this.a=t,this.j=new Map,this.f=function(t){return t()},this.b=!1,this.g=[],this.o=new d(t)}f.prototype.connectedCallback=function(t){var n=t.__CE_definition;n.connectedCallback&&n.connectedCallback.call(t)},f.prototype.disconnectedCallback=function(t){var n=t.__CE_definition;n.disconnectedCallback&&n.disconnectedCallback.call(t)},f.prototype.attributeChangedCallback=function(t,n,i,e,o){var r=t.__CE_definition;r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(n)&&r.attributeChangedCallback.call(t,n,i,e,o)},d.prototype.f=function(t){var n=this.a.readyState;for("interactive"!==n&&"complete"!==n||w(this),n=0;n<t.length;n++)for(var i=t[n].addedNodes,e=0;e<i.length;e++)h(this.c,i[e])},b.prototype.l=function(t,i){var e=this;if(!(i instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!n(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(t){var n=r[t];if(void 0!==n&&!(n instanceof Function))throw Error("The '"+t+"' callback must be a function.");return n},r=i.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=o("connectedCallback"),c=o("disconnectedCallback"),u=o("adoptedCallback"),s=o("attributeChangedCallback"),a=i.observedAttributes||[]}catch(t){return}finally{this.c=!1}(function(t,n,i){t.a.set(n,i),t.g.set(i.constructorFunction,i)})(this.a,t,i={localName:t,constructorFunction:i,connectedCallback:f,disconnectedCallback:c,adoptedCallback:u,attributeChangedCallback:s,observedAttributes:a,constructionStack:[]}),this.g.push(i),this.b||(this.b=!0,this.f((function(){return function(t){if(!1!==t.b){t.b=!1;for(var n=t.g,i=[],e=new Map,o=0;o<n.length;o++)e.set(n[o].localName,[]);for(h(t.a,document,{i:function(n){if(void 0===n.__CE_state){var o=n.localName,r=e.get(o);r?r.push(n):t.a.a.get(o)&&i.push(n)}}}),o=0;o<i.length;o++)l(t.a,i[o]);for(;0<n.length;){var r=n.shift();o=r.localName,r=e.get(r.localName);for(var f=0;f<r.length;f++)l(t.a,r[f]);(o=t.j.get(o))&&m(o)}}}(e)})))},b.prototype.i=function(t){h(this.a,t)},b.prototype.get=function(t){if(t=this.a.a.get(t))return t.constructorFunction},b.prototype.m=function(t){if(!n(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var i=this.j.get(t);return i||(i=new v,this.j.set(t,i),this.a.a.get(t)&&!this.g.some((function(n){return n.localName===t}))&&m(i)),i.c},b.prototype.s=function(t){w(this.o);var n=this.f;this.f=function(i){return t((function(){return n(i)}))}},window.CustomElementRegistry=b,b.prototype.define=b.prototype.l,b.prototype.upgrade=b.prototype.i,b.prototype.get=b.prototype.get,b.prototype.whenDefined=b.prototype.m,b.prototype.polyfillWrapFlushCallback=b.prototype.s;var E=window.Document.prototype.createElement,p=window.Document.prototype.createElementNS,g=window.Document.prototype.importNode,y=window.Document.prototype.prepend,C=window.Document.prototype.append,T=window.DocumentFragment.prototype.prepend,j=window.DocumentFragment.prototype.append,D=window.Node.prototype.cloneNode,N=window.Node.prototype.appendChild,A=window.Node.prototype.insertBefore,O=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,k=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),L=window.Element.prototype.attachShadow,S=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),F=window.Element.prototype.getAttribute,H=window.Element.prototype.setAttribute,x=window.Element.prototype.removeAttribute,z=window.Element.prototype.getAttributeNS,P=window.Element.prototype.setAttributeNS,R=window.Element.prototype.removeAttributeNS,$=window.Element.prototype.insertAdjacentElement,_=window.Element.prototype.insertAdjacentHTML,B=window.Element.prototype.prepend,I=window.Element.prototype.append,U=window.Element.prototype.before,W=window.Element.prototype.after,q=window.Element.prototype.replaceWith,G=window.Element.prototype.remove,J=window.HTMLElement,K=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Q=window.HTMLElement.prototype.insertAdjacentElement,V=window.HTMLElement.prototype.insertAdjacentHTML,X=new function(){};function Y(t,n,e){function o(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var u=o[c];if(u instanceof Element&&i(u)&&f.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&s(t,f)}}void 0!==e.h&&(n.prepend=o(e.h)),void 0!==e.append&&(n.append=o(e.append))}var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var tt=new f;!function(){var t=tt;window.HTMLElement=function(){function n(){var n=this.constructor,i=t.g.get(n);if(!i)throw Error("The custom element being constructed was not registered with `customElements`.");var e=i.constructionStack;if(0===e.length)return e=E.call(document,i.localName),Object.setPrototypeOf(e,n.prototype),e.__CE_state=1,e.__CE_definition=i,u(t,e),e;var o=e[i=e.length-1];if(o===X)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return e[i]=X,Object.setPrototypeOf(o,n.prototype),u(t,o),o}return Object.defineProperty(n.prototype=J.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),n}()}(),function(){var t=tt;r(Document.prototype,"createElement",(function(n){if(this.__CE_hasRegistry){var i=t.a.get(n);if(i)return new i.constructorFunction}return n=E.call(this,n),u(t,n),n})),r(Document.prototype,"importNode",(function(n,i){return n=g.call(this,n,!!i),this.__CE_hasRegistry?h(t,n):c(t,n),n})),r(Document.prototype,"createElementNS",(function(n,i){if(this.__CE_hasRegistry&&(null===n||"http://www.w3.org/1999/xhtml"===n)){var e=t.a.get(i);if(e)return new e.constructorFunction}return n=p.call(this,n,i),u(t,n),n})),Y(t,Document.prototype,{h:y,append:C})}(),Y(tt,DocumentFragment.prototype,{h:T,append:j}),function(){function t(t,e){Object.defineProperty(t,"textContent",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)e.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,f=r.length;if(0<f&&i(this)){o=Array(f);for(var c=0;c<f;c++)o[c]=r[c]}}if(e.set.call(this,t),o)for(t=0;t<o.length;t++)a(n,o[t])}}})}var n=tt;r(Node.prototype,"insertBefore",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=A.call(this,t,e),i(this))for(e=0;e<o.length;e++)s(n,o[e]);return t}return o=i(t),e=A.call(this,t,e),o&&a(n,t),i(this)&&s(n,t),e})),r(Node.prototype,"appendChild",(function(t){if(t instanceof DocumentFragment){var e=Array.prototype.slice.apply(t.childNodes);if(t=N.call(this,t),i(this))for(var o=0;o<e.length;o++)s(n,e[o]);return t}return e=i(t),o=N.call(this,t),e&&a(n,t),i(this)&&s(n,t),o})),r(Node.prototype,"cloneNode",(function(t){return t=D.call(this,!!t),this.ownerDocument.__CE_hasRegistry?h(n,t):c(n,t),t})),r(Node.prototype,"removeChild",(function(t){var e=i(t),o=O.call(this,t);return e&&a(n,t),o})),r(Node.prototype,"replaceChild",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=M.call(this,t,e),i(this))for(a(n,e),e=0;e<o.length;e++)s(n,o[e]);return t}o=i(t);var r=M.call(this,t,e),f=i(this);return f&&a(n,e),o&&a(n,t),f&&s(n,t),r})),k&&k.get?t(Node.prototype,k):function(t,n){t.b=!0,t.c.push(n)}(n,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){for(var t=[],n=0;n<this.childNodes.length;n++){var i=this.childNodes[n];i.nodeType!==Node.COMMENT_NODE&&t.push(i.textContent)}return t.join("")},set:function(t){for(;this.firstChild;)O.call(this,this.firstChild);null!=t&&""!==t&&N.call(this,document.createTextNode(t))}})}))}(),function(){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var e=this,r=void 0;if(i(this)&&(r=[],o(this,(function(t){t!==e&&r.push(t)}))),n.set.call(this,t),r)for(var u=0;u<r.length;u++){var s=r[u];1===s.__CE_state&&f.disconnectedCallback(s)}return this.ownerDocument.__CE_hasRegistry?h(f,this):c(f,this),t}})}function n(t,n){r(t,"insertAdjacentElement",(function(t,e){var o=i(e);return t=n.call(this,t,e),o&&a(f,e),i(t)&&s(f,e),t}))}function e(t,n){function i(t,n){for(var i=[];t!==n;t=t.nextSibling)i.push(t);for(n=0;n<i.length;n++)h(f,i[n])}r(t,"insertAdjacentHTML",(function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),i(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),i(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),i(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+t+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),i(this.nextSibling,o)}}))}var f=tt;L&&r(Element.prototype,"attachShadow",(function(t){t=L.call(this,t);var n=f;if(n.b&&!t.__CE_patched){t.__CE_patched=!0;for(var i=0;i<n.c.length;i++)n.c[i](t)}return this.__CE_shadowRoot=t})),S&&S.get?t(Element.prototype,S):K&&K.get?t(HTMLElement.prototype,K):function(t,n){t.b=!0,t.f.push(n)}(f,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){return D.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,i=n?this.content:this,e=p.call(document,this.namespaceURI,this.localName);for(e.innerHTML=t;0<i.childNodes.length;)O.call(i,i.childNodes[0]);for(t=n?e.content:e;0<t.childNodes.length;)N.call(i,t.childNodes[0])}})})),r(Element.prototype,"setAttribute",(function(t,n){if(1!==this.__CE_state)return H.call(this,t,n);var i=F.call(this,t);H.call(this,t,n),n=F.call(this,t),f.attributeChangedCallback(this,t,i,n,null)})),r(Element.prototype,"setAttributeNS",(function(t,n,i){if(1!==this.__CE_state)return P.call(this,t,n,i);var e=z.call(this,t,n);P.call(this,t,n,i),i=z.call(this,t,n),f.attributeChangedCallback(this,n,e,i,t)})),r(Element.prototype,"removeAttribute",(function(t){if(1!==this.__CE_state)return x.call(this,t);var n=F.call(this,t);x.call(this,t),null!==n&&f.attributeChangedCallback(this,t,n,null,null)})),r(Element.prototype,"removeAttributeNS",(function(t,n){if(1!==this.__CE_state)return R.call(this,t,n);var i=z.call(this,t,n);R.call(this,t,n);var e=z.call(this,t,n);i!==e&&f.attributeChangedCallback(this,n,i,e,t)})),Q?n(HTMLElement.prototype,Q):$?n(Element.prototype,$):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),V?e(HTMLElement.prototype,V):_?e(Element.prototype,_):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),Y(f,Element.prototype,{h:B,append:I}),function(t){function n(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var u=o[c];if(u instanceof Element&&i(u)&&f.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&s(t,f)}}var e=Element.prototype;void 0!==U&&(e.before=n(U)),void 0!==U&&(e.after=n(W)),void 0!==q&&r(e,"replaceWith",(function(n){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];o=[];for(var r=[],f=0;f<e.length;f++){var c=e[f];if(c instanceof Element&&i(c)&&r.push(c),c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)o.push(c);else o.push(c)}for(f=i(this),q.apply(this,e),e=0;e<r.length;e++)a(t,r[e]);if(f)for(a(t,this),e=0;e<o.length;e++)(r=o[e])instanceof Element&&s(t,r)})),void 0!==G&&r(e,"remove",(function(){var n=i(this);G.call(this),n&&a(t,this)}))}(f)}(),document.__CE_hasRegistry=!0;var nt=new b(tt);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:nt})}}(),"string"!=typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var t=document.querySelector("base");return t&&t.href?t.href:document.URL}}),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),i},window.CustomEvent.prototype=window.Event.prototype),function(t,n,i){t.composedPath||(t.composedPath=function(){if(this.path)return this.path;var t=this.target;for(this.path=[];null!==t.parentNode;)this.path.push(t),t=t.parentNode;return this.path.push(n,i),this.path})}(Event.prototype,document,window),
|
|
4
|
+
(function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function n(n){var i=t.has(n);n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(n);return!i&&n}function i(t){var n=t.isConnected;if(void 0!==n)return n;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function e(t,n){for(;n&&n!==t&&!n.nextSibling;)n=n.parentNode;return n&&n!==t?n.nextSibling:null}function o(t,n,i){i=void 0===i?new Set:i;for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var f=r;n(f);var c=f.localName;if("link"===c&&"import"===f.getAttribute("rel")){r=f.import;if(r instanceof Node&&!i.has(r))for(i.add(r),r=r.firstChild;r;r=r.nextSibling)o(r,n,i);r=e(t,f);continue}else if("template"===c){r=e(t,f);continue}if(f=f.__CE_shadowRoot)for(f=f.firstChild;f;f=f.nextSibling)o(f,n,i)}r=r.firstChild?r.firstChild:e(t,r)}}function r(t,n,i){t[n]=i}function f(){this.a=new Map;this.g=new Map;this.c=[];this.f=[];this.b=!1}function c(t,n,i){t.a.set(n,i);t.g.set(i.constructorFunction,i)}function u(t,n){t.b=!0;t.c.push(n)}function s(t,n){t.b=!0;t.f.push(n)}function a(t,n){t.b&&o(n,(function(n){return h(t,n)}))}function h(t,n){if(t.b&&!n.__CE_patched){n.__CE_patched=!0;for(var i=0;i<t.c.length;i++)t.c[i](n);for(i=0;i<t.f.length;i++)t.f[i](n)}}function l(t,n){var i=[];o(n,(function(t){return i.push(t)}));for(n=0;n<i.length;n++){var e=i[n];1===e.__CE_state?t.connectedCallback(e):w(t,e)}}function d(t,n){var i=[];o(n,(function(t){return i.push(t)}));for(n=0;n<i.length;n++){var e=i[n];1===e.__CE_state&&t.disconnectedCallback(e)}}function v(t,n,i){i=void 0===i?{}:i;var e=i.u||new Set,r=i.i||function(n){return w(t,n)},f=[];o(n,(function(n){if("link"===n.localName&&"import"===n.getAttribute("rel")){var i=n.import;i instanceof Node&&(i.__CE_isImportDocument=!0,i.__CE_hasRegistry=!0);i&&"complete"===i.readyState?i.__CE_documentLoadHandled=!0:n.addEventListener("load",(function(){var i=n.import;if(!i.__CE_documentLoadHandled){i.__CE_documentLoadHandled=!0;var o=new Set(e);o.delete(i);v(t,i,{u:o,i:r})}}))}else f.push(n)}),e);if(t.b)for(n=0;n<f.length;n++)h(t,f[n]);for(n=0;n<f.length;n++)r(f[n])}function w(t,n){if(void 0===n.__CE_state){var e=n.ownerDocument;if(e.defaultView||e.__CE_isImportDocument&&e.__CE_hasRegistry)if(e=t.a.get(n.localName)){e.constructionStack.push(n);var o=e.constructorFunction;try{try{if(new o!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{e.constructionStack.pop()}}catch(t){throw n.__CE_state=2,t}n.__CE_state=1;n.__CE_definition=e;if(e.attributeChangedCallback)for(e=e.observedAttributes,o=0;o<e.length;o++){var r=e[o],f=n.getAttribute(r);null!==f&&t.attributeChangedCallback(n,r,null,f,null)}i(n)&&t.connectedCallback(n)}}}f.prototype.connectedCallback=function(t){var n=t.__CE_definition;n.connectedCallback&&n.connectedCallback.call(t)};f.prototype.disconnectedCallback=function(t){var n=t.__CE_definition;n.disconnectedCallback&&n.disconnectedCallback.call(t)};f.prototype.attributeChangedCallback=function(t,n,i,e,o){var r=t.__CE_definition;r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(n)&&r.attributeChangedCallback.call(t,n,i,e,o)};function m(t){var n=document;this.c=t;this.a=n;this.b=void 0;v(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function b(t){t.b&&t.b.disconnect()}m.prototype.f=function(t){var n=this.a.readyState;"interactive"!==n&&"complete"!==n||b(this);for(n=0;n<t.length;n++)for(var i=t[n].addedNodes,e=0;e<i.length;e++)v(this.c,i[e])};function E(){var t=this;this.b=this.a=void 0;this.c=new Promise((function(n){t.b=n;t.a&&n(t.a)}))}function p(t){if(t.a)throw Error("Already resolved.");t.a=void 0;t.b&&t.b(void 0)}function g(t){this.c=!1;this.a=t;this.j=new Map;this.f=function(t){return t()};this.b=!1;this.g=[];this.o=new m(t)}g.prototype.l=function(t,i){var e=this;if(!(i instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!n(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(t){var n=r[t];if(void 0!==n&&!(n instanceof Function))throw Error("The '"+t+"' callback must be a function.");return n},r=i.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=o("connectedCallback");var u=o("disconnectedCallback");var s=o("adoptedCallback");var a=o("attributeChangedCallback");var h=i.observedAttributes||[]}catch(t){return}finally{this.c=!1}i={localName:t,constructorFunction:i,connectedCallback:f,disconnectedCallback:u,adoptedCallback:s,attributeChangedCallback:a,observedAttributes:h,constructionStack:[]};c(this.a,t,i);this.g.push(i);this.b||(this.b=!0,this.f((function(){return y(e)})))};g.prototype.i=function(t){v(this.a,t)};function y(t){if(!1!==t.b){t.b=!1;for(var n=t.g,i=[],e=new Map,o=0;o<n.length;o++)e.set(n[o].localName,[]);v(t.a,document,{i:function(n){if(void 0===n.__CE_state){var o=n.localName,r=e.get(o);r?r.push(n):t.a.a.get(o)&&i.push(n)}}});for(o=0;o<i.length;o++)w(t.a,i[o]);for(;0<n.length;){var r=n.shift();o=r.localName;r=e.get(r.localName);for(var f=0;f<r.length;f++)w(t.a,r[f]);(o=t.j.get(o))&&p(o)}}}g.prototype.get=function(t){if(t=this.a.a.get(t))return t.constructorFunction};g.prototype.m=function(t){if(!n(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var i=this.j.get(t);if(i)return i.c;i=new E;this.j.set(t,i);this.a.a.get(t)&&!this.g.some((function(n){return n.localName===t}))&&p(i);return i.c};g.prototype.s=function(t){b(this.o);var n=this.f;this.f=function(i){return t((function(){return n(i)}))}};window.CustomElementRegistry=g;g.prototype.define=g.prototype.l;g.prototype.upgrade=g.prototype.i;g.prototype.get=g.prototype.get;g.prototype.whenDefined=g.prototype.m;g.prototype.polyfillWrapFlushCallback=g.prototype.s;var C=window.Document.prototype.createElement,T=window.Document.prototype.createElementNS,j=window.Document.prototype.importNode,D=window.Document.prototype.prepend,N=window.Document.prototype.append,A=window.DocumentFragment.prototype.prepend,O=window.DocumentFragment.prototype.append,M=window.Node.prototype.cloneNode,S=window.Node.prototype.appendChild,k=window.Node.prototype.insertBefore,L=window.Node.prototype.removeChild,F=window.Node.prototype.replaceChild,H=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),x=window.Element.prototype.attachShadow,z=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),P=window.Element.prototype.getAttribute,R=window.Element.prototype.setAttribute,$=window.Element.prototype.removeAttribute,_=window.Element.prototype.getAttributeNS,B=window.Element.prototype.setAttributeNS,I=window.Element.prototype.removeAttributeNS,U=window.Element.prototype.insertAdjacentElement,W=window.Element.prototype.insertAdjacentHTML,q=window.Element.prototype.prepend,G=window.Element.prototype.append,J=window.Element.prototype.before,K=window.Element.prototype.after,Q=window.Element.prototype.replaceWith,V=window.Element.prototype.remove,X=window.HTMLElement,Y=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Z=window.HTMLElement.prototype.insertAdjacentElement,tt=window.HTMLElement.prototype.insertAdjacentHTML;var nt=new function(){};function it(){var t=st;window.HTMLElement=function(){function n(){var n=this.constructor,i=t.g.get(n);if(!i)throw Error("The custom element being constructed was not registered with `customElements`.");var e=i.constructionStack;if(0===e.length)return e=C.call(document,i.localName),Object.setPrototypeOf(e,n.prototype),e.__CE_state=1,e.__CE_definition=i,h(t,e),e;i=e.length-1;var o=e[i];if(o===nt)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[i]=nt;Object.setPrototypeOf(o,n.prototype);h(t,o);return o}n.prototype=X.prototype;Object.defineProperty(n.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n});return n}()}function et(t,n,e){function o(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var u=o[c];u instanceof Element&&i(u)&&f.push(u);if(u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}n.apply(this,o);for(o=0;o<f.length;o++)d(t,f[o]);if(i(this))for(o=0;o<r.length;o++)f=r[o],f instanceof Element&&l(t,f)}}void 0!==e.h&&(n.prepend=o(e.h));void 0!==e.append&&(n.append=o(e.append))}function ot(){var t=st;r(Document.prototype,"createElement",(function(n){if(this.__CE_hasRegistry){var i=t.a.get(n);if(i)return new i.constructorFunction}n=C.call(this,n);h(t,n);return n}));r(Document.prototype,"importNode",(function(n,i){n=j.call(this,n,!!i);this.__CE_hasRegistry?v(t,n):a(t,n);return n}));r(Document.prototype,"createElementNS",(function(n,i){if(this.__CE_hasRegistry&&(null===n||"http://www.w3.org/1999/xhtml"===n)){var e=t.a.get(i);if(e)return new e.constructorFunction}n=T.call(this,n,i);h(t,n);return n}));et(t,Document.prototype,{h:D,append:N})}function rt(){function t(t,e){Object.defineProperty(t,"textContent",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)e.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,f=r.length;if(0<f&&i(this)){o=Array(f);for(var c=0;c<f;c++)o[c]=r[c]}}e.set.call(this,t);if(o)for(t=0;t<o.length;t++)d(n,o[t])}}})}var n=st;r(Node.prototype,"insertBefore",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);t=k.call(this,t,e);if(i(this))for(e=0;e<o.length;e++)l(n,o[e]);return t}o=i(t);e=k.call(this,t,e);o&&d(n,t);i(this)&&l(n,t);return e}));r(Node.prototype,"appendChild",(function(t){if(t instanceof DocumentFragment){var e=Array.prototype.slice.apply(t.childNodes);t=S.call(this,t);if(i(this))for(var o=0;o<e.length;o++)l(n,e[o]);return t}e=i(t);o=S.call(this,t);e&&d(n,t);i(this)&&l(n,t);return o}));r(Node.prototype,"cloneNode",(function(t){t=M.call(this,!!t);this.ownerDocument.__CE_hasRegistry?v(n,t):a(n,t);return t}));r(Node.prototype,"removeChild",(function(t){var e=i(t),o=L.call(this,t);e&&d(n,t);return o}));r(Node.prototype,"replaceChild",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);t=F.call(this,t,e);if(i(this))for(d(n,e),e=0;e<o.length;e++)l(n,o[e]);return t}o=i(t);var r=F.call(this,t,e),f=i(this);f&&d(n,e);o&&d(n,t);f&&l(n,t);return r}));H&&H.get?t(Node.prototype,H):u(n,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){for(var t=[],n=0;n<this.childNodes.length;n++){var i=this.childNodes[n];i.nodeType!==Node.COMMENT_NODE&&t.push(i.textContent)}return t.join("")},set:function(t){for(;this.firstChild;)L.call(this,this.firstChild);null!=t&&""!==t&&S.call(this,document.createTextNode(t))}})}))}function ft(t){function n(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var u=o[c];u instanceof Element&&i(u)&&f.push(u);if(u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}n.apply(this,o);for(o=0;o<f.length;o++)d(t,f[o]);if(i(this))for(o=0;o<r.length;o++)f=r[o],f instanceof Element&&l(t,f)}}var e=Element.prototype;void 0!==J&&(e.before=n(J));void 0!==J&&(e.after=n(K));void 0!==Q&&r(e,"replaceWith",(function(n){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];o=[];for(var r=[],f=0;f<e.length;f++){var c=e[f];c instanceof Element&&i(c)&&r.push(c);if(c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)o.push(c);else o.push(c)}f=i(this);Q.apply(this,e);for(e=0;e<r.length;e++)d(t,r[e]);if(f)for(d(t,this),e=0;e<o.length;e++)r=o[e],r instanceof Element&&l(t,r)}));void 0!==V&&r(e,"remove",(function(){var n=i(this);V.call(this);n&&d(t,this)}))}function ct(){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var e=this,r=void 0;i(this)&&(r=[],o(this,(function(t){t!==e&&r.push(t)})));n.set.call(this,t);if(r)for(var c=0;c<r.length;c++){var u=r[c];1===u.__CE_state&&f.disconnectedCallback(u)}this.ownerDocument.__CE_hasRegistry?v(f,this):a(f,this);return t}})}function n(t,n){r(t,"insertAdjacentElement",(function(t,e){var o=i(e);t=n.call(this,t,e);o&&d(f,e);i(t)&&l(f,e);return t}))}function e(t,n){function i(t,n){for(var i=[];t!==n;t=t.nextSibling)i.push(t);for(n=0;n<i.length;n++)v(f,i[n])}r(t,"insertAdjacentHTML",(function(t,e){t=t.toLowerCase();if("beforebegin"===t){var o=this.previousSibling;n.call(this,t,e);i(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),i(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),i(o||this.firstChild,null);else if("afterend"===t)o=this.nextSibling,n.call(this,t,e),i(this.nextSibling,o);else throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.")}))}var f=st;x&&r(Element.prototype,"attachShadow",(function(t){t=x.call(this,t);var n=f;if(n.b&&!t.__CE_patched){t.__CE_patched=!0;for(var i=0;i<n.c.length;i++)n.c[i](t)}return this.__CE_shadowRoot=t}));z&&z.get?t(Element.prototype,z):Y&&Y.get?t(HTMLElement.prototype,Y):s(f,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){return M.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,i=n?this.content:this,e=T.call(document,this.namespaceURI,this.localName);for(e.innerHTML=t;0<i.childNodes.length;)L.call(i,i.childNodes[0]);for(t=n?e.content:e;0<t.childNodes.length;)S.call(i,t.childNodes[0])}})}));r(Element.prototype,"setAttribute",(function(t,n){if(1!==this.__CE_state)return R.call(this,t,n);var i=P.call(this,t);R.call(this,t,n);n=P.call(this,t);f.attributeChangedCallback(this,t,i,n,null)}));r(Element.prototype,"setAttributeNS",(function(t,n,i){if(1!==this.__CE_state)return B.call(this,t,n,i);var e=_.call(this,t,n);B.call(this,t,n,i);i=_.call(this,t,n);f.attributeChangedCallback(this,n,e,i,t)}));r(Element.prototype,"removeAttribute",(function(t){if(1!==this.__CE_state)return $.call(this,t);var n=P.call(this,t);$.call(this,t);null!==n&&f.attributeChangedCallback(this,t,n,null,null)}));r(Element.prototype,"removeAttributeNS",(function(t,n){if(1!==this.__CE_state)return I.call(this,t,n);var i=_.call(this,t,n);I.call(this,t,n);var e=_.call(this,t,n);i!==e&&f.attributeChangedCallback(this,n,i,e,t)}));Z?n(HTMLElement.prototype,Z):U?n(Element.prototype,U):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");tt?e(HTMLElement.prototype,tt):W?e(Element.prototype,W):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");et(f,Element.prototype,{h:q,append:G});ft(f)}var ut=window.customElements;if(!ut||ut.forcePolyfill||"function"!=typeof ut.define||"function"!=typeof ut.get){var st=new f;it();ot();et(st,DocumentFragment.prototype,{h:A,append:O});rt();ct();document.__CE_hasRegistry=!0;var at=new g(st);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:at})}}).call(self);"string"!==typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var t=document.querySelector("base");return t&&t.href?t.href:document.URL}});"function"!==typeof window.CustomEvent&&(window.CustomEvent=function(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");i.initCustomEvent(t,n.bubbles,n.cancelable,n.detail);return i},window.CustomEvent.prototype=window.Event.prototype);(function(t,n,i){t.composedPath||(t.composedPath=function(){if(this.path)return this.path;var t=this.target;for(this.path=[];null!==t.parentNode;)this.path.push(t),t=t.parentNode;this.path.push(n,i);return this.path})})(Event.prototype,document,window);
|
|
5
5
|
/*!
|
|
6
6
|
Element.closest and Element.matches
|
|
7
7
|
https://github.com/jonathantneal/closest
|
|
8
8
|
Creative Commons Zero v1.0 Universal
|
|
9
|
-
*/
|
|
10
|
-
function(t){"function"!=typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(t){t=(this.document||this.ownerDocument).querySelectorAll(t);for(var n=0;t[n]&&t[n]!==this;)++n;return!!t[n]}),"function"!=typeof t.closest&&(t.closest=function(t){for(var n=this;n&&1===n.nodeType;){if(n.matches(t))return n;n=n.parentNode}return null})}(window.Element.prototype),
|
|
9
|
+
*/(function(t){"function"!==typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(t){t=(this.document||this.ownerDocument).querySelectorAll(t);for(var n=0;t[n]&&t[n]!==this;)++n;return!!t[n]});"function"!==typeof t.closest&&(t.closest=function(t){for(var n=this;n&&1===n.nodeType;){if(n.matches(t))return n;n=n.parentNode}return null})})(window.Element.prototype);
|
|
11
10
|
/*!
|
|
12
11
|
Element.getRootNode()
|
|
13
|
-
*/
|
|
14
|
-
function(t){function n(t){return(t=i(t))&&11===t.nodeType?n(t.host):t}function i(t){return t&&t.parentNode?i(t.parentNode):t}"function"!=typeof t.getRootNode&&(t.getRootNode=function(t){return t&&t.composed?n(this):i(this)})}(Element.prototype),
|
|
12
|
+
*/(function(t){function n(t){t=i(t);return t&&11===t.nodeType?n(t.host):t}function i(t){return t&&t.parentNode?i(t.parentNode):t}"function"!==typeof t.getRootNode&&(t.getRootNode=function(t){return t&&t.composed?n(this):i(this)})})(Element.prototype);
|
|
15
13
|
/*!
|
|
16
14
|
Element.isConnected()
|
|
17
|
-
*/
|
|
18
|
-
|
|
15
|
+
*/(function(t){"isConnected"in t||Object.defineProperty(t,"isConnected",{configurable:!0,enumerable:!0,get:function(){var t=this.getRootNode({composed:!0});return t&&9===t.nodeType}})})(Element.prototype);
|
|
16
|
+
/*!
|
|
17
|
+
Element.remove()
|
|
18
|
+
*/(function(t){t.forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}))})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
|
|
19
|
+
/*!
|
|
20
|
+
Element.classList
|
|
21
|
+
*/!function(t){"classList"in t||Object.defineProperty(t,"classList",{get:function(){var t=this,n=(t.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function i(){n.length>0?t.setAttribute("class",n.join(" ")):t.removeAttribute("class")}return""===n[0]&&n.splice(0,1),n.toggle=function(t,e){void 0!==e?e?n.add(t):n.remove(t):-1!==n.indexOf(t)?n.splice(n.indexOf(t),1):n.push(t),i()},n.add=function(){for(var t=[].slice.call(arguments),e=0,o=t.length;e<o;e++)-1===n.indexOf(t[e])&&n.push(t[e]);i()},n.remove=function(){for(var t=[].slice.call(arguments),e=0,o=t.length;e<o;e++)-1!==n.indexOf(t[e])&&n.splice(n.indexOf(t[e]),1);i()},n.item=function(t){return n[t]},n.contains=function(t){return-1!==n.indexOf(t)},n.replace=function(t,e){-1!==n.indexOf(t)&&n.splice(n.indexOf(t),1,e),i()},n.value=t.getAttribute("class")||"",n}})}(Element.prototype);
|
|
19
22
|
/*!
|
|
20
23
|
DOMTokenList
|
|
21
|
-
*/
|
|
22
|
-
|
|
24
|
+
*/(function(t){try{document.body.classList.add()}catch(e){var n=t.add,i=t.remove;t.add=function(){for(var t=0;t<arguments.length;t++)n.call(this,arguments[t])};t.remove=function(){for(var t=0;t<arguments.length;t++)i.call(this,arguments[t])}}})(DOMTokenList.prototype);
|
|
25
|
+
//# sourceMappingURL=p-5db948f2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["node_modules/@stencil/core/internal/client/dom.js"],"names":["aa","Set","split","g","a","b","has","test","l","isConnected","__CE_isImportDocument","Document","parentNode","window","ShadowRoot","host","n","nextSibling","p","d","c","nodeType","Node","ELEMENT_NODE","e","f","localName","getAttribute","import","add","firstChild","__CE_shadowRoot","r","u","this","Map","ba","set","constructorFunction","ca","push","da","v","w","__CE_patched","length","x","__CE_state","connectedCallback","y","z","disconnectedCallback","A","i","__CE_hasRegistry","readyState","__CE_documentLoadHandled","addEventListener","delete","ownerDocument","defaultView","get","constructionStack","Error","pop","t","__CE_definition","attributeChangedCallback","observedAttributes","prototype","call","indexOf","B","document","MutationObserver","bind","observe","childList","subtree","C","disconnect","addedNodes","ea","Promise","D","E","j","o","Function","TypeError","SyntaxError","Object","k","h","m","q","adoptedCallback","fa","shift","reject","some","s","CustomElementRegistry","define","upgrade","whenDefined","polyfillWrapFlushCallback","F","createElement","G","createElementNS","ha","importNode","ia","prepend","ja","append","ka","DocumentFragment","la","H","cloneNode","I","appendChild","J","insertBefore","K","removeChild","L","replaceChild","M","getOwnPropertyDescriptor","N","Element","attachShadow","O","P","Q","setAttribute","R","removeAttribute","S","getAttributeNS","T","setAttributeNS","U","removeAttributeNS","ma","insertAdjacentElement","na","insertAdjacentHTML","oa","pa","V","before","qa","after","ra","replaceWith","sa","remove","ta","HTMLElement","W","ua","va","wa","xa","X","constructor","setPrototypeOf","defineProperty","writable","configurable","enumerable","value","Y","arguments","apply","ya","za","TEXT_NODE","childNodes","Array","slice","COMMENT_NODE","textContent","join","createTextNode","Aa","Ba","toLowerCase","previousSibling","lastChild","String","innerHTML","content","namespaceURI","console","warn","Z","customElements","forcePolyfill","self","baseURI","querySelector","href","URL","CustomEvent","bubbles","cancelable","detail","createEvent","initCustomEvent","Event","composedPath","path","target","matches","msMatchesSelector","mozMatchesSelector","webkitMatchesSelector","querySelectorAll","closest","getRootNode","composed","forEach","hasOwnProperty","CharacterData","DocumentType","replace","splice","toggle","item","contains","body","classList","DOMTokenList"],"mappings":";;;CAGA,WACA,IAAIA,EAAG,IAAIC,IAAI,mHAAmHC,MAAM,MAAM,SAASC,EAAEC,GAAG,IAAIC,EAAEL,EAAGM,IAAIF,GAAGA,EAAE,mCAAmCG,KAAKH,GAAG,OAAQC,GAAGD,EAAE,SAASI,EAAEJ,GAAG,IAAIC,EAAED,EAAEK,YAAY,QAAQ,IAAIJ,EAAE,OAAOA,EAAE,KAAKD,KAAKA,EAAEM,uBAAuBN,aAAaO,WAAWP,EAAEA,EAAEQ,aAAaC,OAAOC,YAAYV,aAAaU,WAAWV,EAAEW,UAAU,GAAG,SAAUX,KAAKA,EAAEM,uBAAuBN,aAAaO,WACxd,SAASK,EAAEZ,EAAEC,GAAG,KAAKA,GAAGA,IAAID,IAAIC,EAAEY,aAAaZ,EAAEA,EAAEO,WAAW,OAAOP,GAAGA,IAAID,EAAEC,EAAEY,YAAY,KAC5F,SAASC,EAAEd,EAAEC,EAAEc,GAAGA,OAAO,IAAIA,EAAE,IAAIlB,IAAIkB,EAAE,IAAI,IAAIC,EAAEhB,EAAEgB,GAAG,CAAC,GAAGA,EAAEC,WAAWC,KAAKC,aAAa,CAAC,IAAIC,EAAEJ,EAAEf,EAAEmB,GAAG,IAAIC,EAA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EwK,KAAK,SAASjN,GAAG,OAAOyC,EAAEzC,IAAIyC,EAAEyK,SAAS,SAASlN,GAAG,OAAQ,IAAIyC,EAAEM,QAAQ/C,IAAIyC,EAAEqK,QAAQ,SAAS9M,EAAE6B,IAAI,IAAIY,EAAEM,QAAQ/C,IAAIyC,EAAEsK,OAAOtK,EAAEM,QAAQ/C,GAAG,EAAE6B,GAAGrC,KAAMiD,EAAE8G,MAAMvJ,EAAEG,aAAa,UAAU,GAAGsC,KAAz0B,CAAg1BoE,QAAQhE;;;GAKz1B,SAAUhE,GAAG,IAAIoE,SAASkK,KAAKC,UAAU/M,MAAO,MAAML,GAAG,IAAIJ,EAAEf,EAAEwB,IAAIV,EAAEd,EAAE2J,OAAO3J,EAAEwB,IAAI,WAAW,IAAI,IAAIzB,EAAE,EAAEA,EAAE6K,UAAUpI,OAAOzC,IAAIgB,EAAEkD,KAAKpC,KAAK+I,UAAU7K,KAAMC,EAAE2J,OAAO,WAAW,IAAI,IAAI5J,EAAE,EAAEA,EAAE6K,UAAUpI,OAAOzC,IAAIe,EAAEmD,KAAKpC,KAAK+I,UAAU7K,OAA7O,CAAuPyO,aAAaxK","sourcesContent":["/*\n Stencil Client Patch Browser v2.17.4 | MIT Licensed | https://stenciljs.com\n */\n(function(){\nvar aa=new Set(\"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph\".split(\" \"));function g(a){var b=aa.has(a);a=/^[a-z][.0-9_a-z]*-[\\-.0-9_a-z]*$/.test(a);return !b&&a}function l(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return !(!a||!(a.__CE_isImportDocument||a instanceof Document))}\n function n(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}\n function p(a,b,d){d=void 0===d?new Set:d;for(var c=a;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;b(e);var f=e.localName;if(\"link\"===f&&\"import\"===e.getAttribute(\"rel\")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)p(c,b,d);c=n(a,e);continue}else if(\"template\"===f){c=n(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)p(e,b,d);}c=c.firstChild?c.firstChild:n(a,c);}}function r(a,b,d){a[b]=d;}function u(){this.a=new Map;this.g=new Map;this.c=[];this.f=[];this.b=!1;}function ba(a,b,d){a.a.set(b,d);a.g.set(d.constructorFunction,d);}function ca(a,b){a.b=!0;a.c.push(b);}function da(a,b){a.b=!0;a.f.push(b);}function v(a,b){a.b&&p(b,function(b){return w(a,b)});}function w(a,b){if(a.b&&!b.__CE_patched){b.__CE_patched=!0;for(var d=0;d<a.c.length;d++)a.c[d](b);for(d=0;d<a.f.length;d++)a.f[d](b);}}\n function x(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state?a.connectedCallback(c):y(a,c);}}function z(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state&&a.disconnectedCallback(c);}}\n function A(a,b,d){d=void 0===d?{}:d;var c=d.u||new Set,e=d.i||function(b){return y(a,b)},f=[];p(b,function(b){if(\"link\"===b.localName&&\"import\"===b.getAttribute(\"rel\")){var d=b.import;d instanceof Node&&(d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0);d&&\"complete\"===d.readyState?d.__CE_documentLoadHandled=!0:b.addEventListener(\"load\",function(){var d=b.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var f=new Set(c);f.delete(d);A(a,d,{u:f,i:e});}});}else f.push(b);},c);if(a.b)for(b=\n 0;b<f.length;b++)w(a,f[b]);for(b=0;b<f.length;b++)e(f[b]);}\n function y(a,b){if(void 0===b.__CE_state){var d=b.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=a.a.get(b.localName)){d.constructionStack.push(b);var c=d.constructorFunction;try{try{if(new c!==b)throw Error(\"The custom element constructor did not produce the element being upgraded.\");}finally{d.constructionStack.pop();}}catch(t){throw b.__CE_state=2,t;}b.__CE_state=1;b.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=\n d[c],f=b.getAttribute(e);null!==f&&a.attributeChangedCallback(b,e,null,f,null);}l(b)&&a.connectedCallback(b);}}}u.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a);};u.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a);};\n u.prototype.attributeChangedCallback=function(a,b,d,c,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,d,c,e);};function B(a){var b=document;this.c=a;this.a=b;this.b=void 0;A(this.c,this.a);\"loading\"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}));}function C(a){a.b&&a.b.disconnect();}B.prototype.f=function(a){var b=this.a.readyState;\"interactive\"!==b&&\"complete\"!==b||C(this);for(b=0;b<a.length;b++)for(var d=a[b].addedNodes,c=0;c<d.length;c++)A(this.c,d[c]);};function ea(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a);});}function D(a){if(a.a)throw Error(\"Already resolved.\");a.a=void 0;a.b&&a.b(void 0);}function E(a){this.c=!1;this.a=a;this.j=new Map;this.f=function(b){return b()};this.b=!1;this.g=[];this.o=new B(a);}\n E.prototype.l=function(a,b){var d=this;if(!(b instanceof Function))throw new TypeError(\"Custom element constructors must be functions.\");if(!g(a))throw new SyntaxError(\"The element name '\"+a+\"' is not valid.\");if(this.a.a.get(a))throw Error(\"A custom element with name '\"+a+\"' has already been defined.\");if(this.c)throw Error(\"A custom element is already being defined.\");this.c=!0;try{var c=function(b){var a=e[b];if(void 0!==a&&!(a instanceof Function))throw Error(\"The '\"+b+\"' callback must be a function.\");\n return a},e=b.prototype;if(!(e instanceof Object))throw new TypeError(\"The custom element constructor's prototype is not an object.\");var f=c(\"connectedCallback\");var t=c(\"disconnectedCallback\");var k=c(\"adoptedCallback\");var h=c(\"attributeChangedCallback\");var m=b.observedAttributes||[];}catch(q){return}finally{this.c=!1;}b={localName:a,constructorFunction:b,connectedCallback:f,disconnectedCallback:t,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:m,constructionStack:[]};ba(this.a,\n a,b);this.g.push(b);this.b||(this.b=!0,this.f(function(){return fa(d)}));};E.prototype.i=function(a){A(this.a,a);};\n function fa(a){if(!1!==a.b){a.b=!1;for(var b=a.g,d=[],c=new Map,e=0;e<b.length;e++)c.set(b[e].localName,[]);A(a.a,document,{i:function(b){if(void 0===b.__CE_state){var e=b.localName,f=c.get(e);f?f.push(b):a.a.a.get(e)&&d.push(b);}}});for(e=0;e<d.length;e++)y(a.a,d[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=c.get(f.localName);for(var t=0;t<f.length;t++)y(a.a,f[t]);(e=a.j.get(e))&&D(e);}}}E.prototype.get=function(a){if(a=this.a.a.get(a))return a.constructorFunction};\n E.prototype.m=function(a){if(!g(a))return Promise.reject(new SyntaxError(\"'\"+a+\"' is not a valid custom element name.\"));var b=this.j.get(a);if(b)return b.c;b=new ea;this.j.set(a,b);this.a.a.get(a)&&!this.g.some(function(b){return b.localName===a})&&D(b);return b.c};E.prototype.s=function(a){C(this.o);var b=this.f;this.f=function(d){return a(function(){return b(d)})};};window.CustomElementRegistry=E;E.prototype.define=E.prototype.l;E.prototype.upgrade=E.prototype.i;E.prototype.get=E.prototype.get;\n E.prototype.whenDefined=E.prototype.m;E.prototype.polyfillWrapFlushCallback=E.prototype.s;var F=window.Document.prototype.createElement,G=window.Document.prototype.createElementNS,ha=window.Document.prototype.importNode,ia=window.Document.prototype.prepend,ja=window.Document.prototype.append,ka=window.DocumentFragment.prototype.prepend,la=window.DocumentFragment.prototype.append,H=window.Node.prototype.cloneNode,I=window.Node.prototype.appendChild,J=window.Node.prototype.insertBefore,K=window.Node.prototype.removeChild,L=window.Node.prototype.replaceChild,M=Object.getOwnPropertyDescriptor(window.Node.prototype,\n \"textContent\"),N=window.Element.prototype.attachShadow,O=Object.getOwnPropertyDescriptor(window.Element.prototype,\"innerHTML\"),P=window.Element.prototype.getAttribute,Q=window.Element.prototype.setAttribute,R=window.Element.prototype.removeAttribute,S=window.Element.prototype.getAttributeNS,T=window.Element.prototype.setAttributeNS,U=window.Element.prototype.removeAttributeNS,ma=window.Element.prototype.insertAdjacentElement,na=window.Element.prototype.insertAdjacentHTML,oa=window.Element.prototype.prepend,\n pa=window.Element.prototype.append,V=window.Element.prototype.before,qa=window.Element.prototype.after,ra=window.Element.prototype.replaceWith,sa=window.Element.prototype.remove,ta=window.HTMLElement,W=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,\"innerHTML\"),ua=window.HTMLElement.prototype.insertAdjacentElement,va=window.HTMLElement.prototype.insertAdjacentHTML;var wa=new function(){};function xa(){var a=X;window.HTMLElement=function(){function b(){var b=this.constructor,c=a.g.get(b);if(!c)throw Error(\"The custom element being constructed was not registered with `customElements`.\");var e=c.constructionStack;if(0===e.length)return e=F.call(document,c.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=c,w(a,e),e;c=e.length-1;var f=e[c];if(f===wa)throw Error(\"The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.\");\n e[c]=wa;Object.setPrototypeOf(f,b.prototype);w(a,f);return f}b.prototype=ta.prototype;Object.defineProperty(b.prototype,\"constructor\",{writable:!0,configurable:!0,enumerable:!1,value:b});return b}();}function Y(a,b,d){function c(b){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var f=[],m=0;m<e.length;m++){var q=e[m];q instanceof Element&&l(q)&&f.push(q);if(q instanceof DocumentFragment)for(q=q.firstChild;q;q=q.nextSibling)c.push(q);else c.push(q);}b.apply(this,e);for(e=0;e<f.length;e++)z(a,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&x(a,f);}}void 0!==d.h&&(b.prepend=c(d.h));void 0!==d.append&&(b.append=c(d.append));}function ya(){var a=X;r(Document.prototype,\"createElement\",function(b){if(this.__CE_hasRegistry){var d=a.a.get(b);if(d)return new d.constructorFunction}b=F.call(this,b);w(a,b);return b});r(Document.prototype,\"importNode\",function(b,d){b=ha.call(this,b,!!d);this.__CE_hasRegistry?A(a,b):v(a,b);return b});r(Document.prototype,\"createElementNS\",function(b,d){if(this.__CE_hasRegistry&&(null===b||\"http://www.w3.org/1999/xhtml\"===b)){var c=a.a.get(d);if(c)return new c.constructorFunction}b=G.call(this,b,\n d);w(a,b);return b});Y(a,Document.prototype,{h:ia,append:ja});}function za(){function a(a,c){Object.defineProperty(a,\"textContent\",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,a);else {var d=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&l(this)){d=Array(k);for(var h=0;h<k;h++)d[h]=e[h];}}c.set.call(this,a);if(d)for(a=0;a<d.length;a++)z(b,d[a]);}}});}var b=X;r(Node.prototype,\"insertBefore\",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);\n a=J.call(this,a,c);if(l(this))for(c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);c=J.call(this,a,c);e&&z(b,a);l(this)&&x(b,a);return c});r(Node.prototype,\"appendChild\",function(a){if(a instanceof DocumentFragment){var c=Array.prototype.slice.apply(a.childNodes);a=I.call(this,a);if(l(this))for(var e=0;e<c.length;e++)x(b,c[e]);return a}c=l(a);e=I.call(this,a);c&&z(b,a);l(this)&&x(b,a);return e});r(Node.prototype,\"cloneNode\",function(a){a=H.call(this,!!a);this.ownerDocument.__CE_hasRegistry?A(b,a):v(b,\n a);return a});r(Node.prototype,\"removeChild\",function(a){var c=l(a),e=K.call(this,a);c&&z(b,a);return e});r(Node.prototype,\"replaceChild\",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);a=L.call(this,a,c);if(l(this))for(z(b,c),c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);var f=L.call(this,a,c),d=l(this);d&&z(b,c);e&&z(b,a);d&&x(b,a);return f});M&&M.get?a(Node.prototype,M):ca(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){for(var a=[],\n b=0;b<this.childNodes.length;b++){var f=this.childNodes[b];f.nodeType!==Node.COMMENT_NODE&&a.push(f.textContent);}return a.join(\"\")},set:function(a){for(;this.firstChild;)K.call(this,this.firstChild);null!=a&&\"\"!==a&&I.call(this,document.createTextNode(a));}});});}function Aa(a){function b(b){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var m=c[h];m instanceof Element&&l(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)d.push(m);else d.push(m);}b.apply(this,c);for(c=0;c<k.length;c++)z(a,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&x(a,k);}}var d=Element.prototype;void 0!==V&&(d.before=b(V));void 0!==V&&(d.after=b(qa));void 0!==ra&&\n r(d,\"replaceWith\",function(b){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var d=[],k=0;k<e.length;k++){var h=e[k];h instanceof Element&&l(h)&&d.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)c.push(h);else c.push(h);}k=l(this);ra.apply(this,e);for(e=0;e<d.length;e++)z(a,d[e]);if(k)for(z(a,this),e=0;e<c.length;e++)d=c[e],d instanceof Element&&x(a,d);});void 0!==sa&&r(d,\"remove\",function(){var b=l(this);sa.call(this);b&&z(a,this);});}function Ba(){function a(a,b){Object.defineProperty(a,\"innerHTML\",{enumerable:b.enumerable,configurable:!0,get:b.get,set:function(a){var e=this,d=void 0;l(this)&&(d=[],p(this,function(a){a!==e&&d.push(a);}));b.set.call(this,a);if(d)for(var f=0;f<d.length;f++){var t=d[f];1===t.__CE_state&&c.disconnectedCallback(t);}this.ownerDocument.__CE_hasRegistry?A(c,this):v(c,this);return a}});}function b(a,b){r(a,\"insertAdjacentElement\",function(a,e){var d=l(e);a=b.call(this,a,e);d&&z(c,e);l(a)&&x(c,e);return a});}\n function d(a,b){function e(a,b){for(var e=[];a!==b;a=a.nextSibling)e.push(a);for(b=0;b<e.length;b++)A(c,e[b]);}r(a,\"insertAdjacentHTML\",function(a,c){a=a.toLowerCase();if(\"beforebegin\"===a){var d=this.previousSibling;b.call(this,a,c);e(d||this.parentNode.firstChild,this);}else if(\"afterbegin\"===a)d=this.firstChild,b.call(this,a,c),e(this.firstChild,d);else if(\"beforeend\"===a)d=this.lastChild,b.call(this,a,c),e(d||this.firstChild,null);else if(\"afterend\"===a)d=this.nextSibling,b.call(this,a,c),e(this.nextSibling,\n d);else throw new SyntaxError(\"The value provided (\"+String(a)+\") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.\");});}var c=X;N&&r(Element.prototype,\"attachShadow\",function(a){a=N.call(this,a);var b=c;if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var e=0;e<b.c.length;e++)b.c[e](a);}return this.__CE_shadowRoot=a});O&&O.get?a(Element.prototype,O):W&&W.get?a(HTMLElement.prototype,W):da(c,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return H.call(this,!0).innerHTML},\n set:function(a){var b=\"template\"===this.localName,c=b?this.content:this,e=G.call(document,this.namespaceURI,this.localName);for(e.innerHTML=a;0<c.childNodes.length;)K.call(c,c.childNodes[0]);for(a=b?e.content:e;0<a.childNodes.length;)I.call(c,a.childNodes[0]);}});});r(Element.prototype,\"setAttribute\",function(a,b){if(1!==this.__CE_state)return Q.call(this,a,b);var e=P.call(this,a);Q.call(this,a,b);b=P.call(this,a);c.attributeChangedCallback(this,a,e,b,null);});r(Element.prototype,\"setAttributeNS\",function(a,\n b,d){if(1!==this.__CE_state)return T.call(this,a,b,d);var e=S.call(this,a,b);T.call(this,a,b,d);d=S.call(this,a,b);c.attributeChangedCallback(this,b,e,d,a);});r(Element.prototype,\"removeAttribute\",function(a){if(1!==this.__CE_state)return R.call(this,a);var b=P.call(this,a);R.call(this,a);null!==b&&c.attributeChangedCallback(this,a,b,null,null);});r(Element.prototype,\"removeAttributeNS\",function(a,b){if(1!==this.__CE_state)return U.call(this,a,b);var d=S.call(this,a,b);U.call(this,a,b);var e=S.call(this,\n a,b);d!==e&&c.attributeChangedCallback(this,b,d,e,a);});ua?b(HTMLElement.prototype,ua):ma?b(Element.prototype,ma):console.warn(\"Custom Elements: `Element#insertAdjacentElement` was not patched.\");va?d(HTMLElement.prototype,va):na?d(Element.prototype,na):console.warn(\"Custom Elements: `Element#insertAdjacentHTML` was not patched.\");Y(c,Element.prototype,{h:oa,append:pa});Aa(c);}var Z=window.customElements;if(!Z||Z.forcePolyfill||\"function\"!=typeof Z.define||\"function\"!=typeof Z.get){var X=new u;xa();ya();Y(X,DocumentFragment.prototype,{h:ka,append:la});za();Ba();document.__CE_hasRegistry=!0;var customElements=new E(X);Object.defineProperty(window,\"customElements\",{configurable:!0,enumerable:!0,value:customElements});}}).call(self);\n\n// Polyfill document.baseURI\n\"string\"!==typeof document.baseURI&&Object.defineProperty(Document.prototype,\"baseURI\",{enumerable:!0,configurable:!0,get:function(){var a=document.querySelector(\"base\");return a&&a.href?a.href:document.URL}});\n\n// Polyfill CustomEvent\n\"function\"!==typeof window.CustomEvent&&(window.CustomEvent=function(c,a){a=a||{bubbles:!1,cancelable:!1,detail:void 0};var b=document.createEvent(\"CustomEvent\");b.initCustomEvent(c,a.bubbles,a.cancelable,a.detail);return b},window.CustomEvent.prototype=window.Event.prototype);\n\n// Event.composedPath\n(function(b,c,d){b.composedPath||(b.composedPath=function(){if(this.path)return this.path;var a=this.target;for(this.path=[];null!==a.parentNode;)this.path.push(a),a=a.parentNode;this.path.push(c,d);return this.path});})(Event.prototype,document,window);\n\n/*!\nElement.closest and Element.matches\nhttps://github.com/jonathantneal/closest\nCreative Commons Zero v1.0 Universal\n*/\n(function(a){\"function\"!==typeof a.matches&&(a.matches=a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||function(a){a=(this.document||this.ownerDocument).querySelectorAll(a);for(var b=0;a[b]&&a[b]!==this;)++b;return !!a[b]});\"function\"!==typeof a.closest&&(a.closest=function(a){for(var b=this;b&&1===b.nodeType;){if(b.matches(a))return b;b=b.parentNode;}return null});})(window.Element.prototype);\n\n/*!\nElement.getRootNode()\n*/\n(function(c){function d(a){a=b(a);return a&&11===a.nodeType?d(a.host):a}function b(a){return a&&a.parentNode?b(a.parentNode):a}\"function\"!==typeof c.getRootNode&&(c.getRootNode=function(a){return a&&a.composed?d(this):b(this)});})(Element.prototype);\n\n/*!\nElement.isConnected()\n*/\n(function(a){\"isConnected\"in a||Object.defineProperty(a,\"isConnected\",{configurable:!0,enumerable:!0,get:function(){var a=this.getRootNode({composed:!0});return a&&9===a.nodeType}});})(Element.prototype);\n\n/*!\nElement.remove()\n*/\n(function(b){b.forEach(function(a){a.hasOwnProperty(\"remove\")||Object.defineProperty(a,\"remove\",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this);}});});})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);\n\n/*!\nElement.classList\n*/\n!function(e){'classList'in e||Object.defineProperty(e,\"classList\",{get:function(){var e=this,t=(e.getAttribute(\"class\")||\"\").replace(/^\\s+|\\s$/g,\"\").split(/\\s+/g);function n(){t.length>0?e.setAttribute(\"class\",t.join(\" \")):e.removeAttribute(\"class\");}return \"\"===t[0]&&t.splice(0,1),t.toggle=function(e,i){void 0!==i?i?t.add(e):t.remove(e):-1!==t.indexOf(e)?t.splice(t.indexOf(e),1):t.push(e),n();},t.add=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1===t.indexOf(e[i])&&t.push(e[i]);n();},t.remove=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1!==t.indexOf(e[i])&&t.splice(t.indexOf(e[i]),1);n();},t.item=function(e){return t[e]},t.contains=function(e){return -1!==t.indexOf(e)},t.replace=function(e,i){-1!==t.indexOf(e)&&t.splice(t.indexOf(e),1,i),n();},t.value=e.getAttribute(\"class\")||\"\",t}});}(Element.prototype);\n\n/*!\nDOMTokenList\n*/\n(function(b){try{document.body.classList.add();}catch(e){var c=b.add,d=b.remove;b.add=function(){for(var a=0;a<arguments.length;a++)c.call(this,arguments[a]);};b.remove=function(){for(var a=0;a<arguments.length;a++)d.call(this,arguments[a]);};}})(DOMTokenList.prototype);\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
import{r as t,c as i,h as s,H as l}from"./p-7dc66c07.js";const e="salla-loyalty-prize-item:hover{-webkit-box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important;box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";const a=class{constructor(s){t(this,s);this.prizeItemSelected=i(this,"prizeItemSelected",7)}onPrizeItemClick(){this.prizeItemSelected.emit(this.item)}render(){return s(l,null,s("div",{onClick:this.onPrizeItemClick.bind(this)},s("img",{class:"s-loyalty-prize-item-image",src:this.item.image,alt:this.item.name}),s("div",{class:"s-loyalty-prize-item-title"},this.item.name),s("div",{class:"s-loyalty-prize-item-subtitle"},this.item.description),s("div",{class:"s-loyalty-prize-item-points"},this.item.cost_points," Points")))}};a.style=e;export{a as salla_loyalty_prize_item};
|
|
5
|
+
//# sourceMappingURL=p-6c70f3bc.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["src/components/salla-loyalty/salla-loyalty-prize-item.scss?tag=salla-loyalty-prize-item","src/components/salla-loyalty/salla-loyalty-prize-item.tsx"],"names":["sallaLoyaltyPrizeItemCss","SallaLoyaltyPrizeItem","[object Object]","this","prizeItemSelected","emit","item","h","Host","onClick","onPrizeItemClick","bind","class","src","image","alt","name","description","cost_points"],"mappings":";;;yDAAA,MAAMA,EAA2B,kKCQpBC,EAAqB,oFAY9BC,mBACIC,KAAKC,kBAAkBC,KAAKF,KAAKG,MAGrCJ,SACI,OACIK,EAACC,EAAI,KACDD,EAAA,MAAA,CAAKE,QAASN,KAAKO,iBAAiBC,KAAKR,OACrCI,EAAA,MAAA,CAAKK,MAAM,6BAA6BC,IAAKV,KAAKG,KAAKQ,MAAOC,IAAKZ,KAAKG,KAAKU,OAC7ET,EAAA,MAAA,CAAKK,MAAM,8BAA8BT,KAAKG,KAAKU,MACnDT,EAAA,MAAA,CAAKK,MAAM,iCAAiCT,KAAKG,KAAKW,aACtDV,EAAA,MAAA,CAAKK,MAAM,+BAA+BT,KAAKG,KAAKY,YAAW","sourcesContent":["\nsalla-loyalty-prize-item:hover {\n box-shadow: 0 5px 15px 1px rgb(0 0 0 / 4%)!important;\n}\n\n","import { Component, h, Prop, Host, Event, EventEmitter } from '@stencil/core';\nimport { Item } from \"./loyalty-schema\"\n\n\n@Component({\n tag: 'salla-loyalty-prize-item',\n styleUrl: 'salla-loyalty-prize-item.scss',\n})\nexport class SallaLoyaltyPrizeItem {\n\n /**\n * Prize item to be displayed in this component.\n */\n @Prop() item: Item;\n\n /**\n * Event emmited when the user select this item.\n */\n @Event() prizeItemSelected: EventEmitter<Item>\n\n onPrizeItemClick() {\n this.prizeItemSelected.emit(this.item)\n }\n\n render() {\n return (\n <Host>\n <div onClick={this.onPrizeItemClick.bind(this)}>\n <img class=\"s-loyalty-prize-item-image\" src={this.item.image} alt={this.item.name} />\n <div class=\"s-loyalty-prize-item-title\">{this.item.name}</div>\n <div class=\"s-loyalty-prize-item-subtitle\">{this.item.description}</div>\n <div class=\"s-loyalty-prize-item-points\">{this.item.cost_points} Points</div>\n </div>\n </Host>\n );\n }\n}\n"]}
|