@cirkay-eng/cirkay-components 0.9.22-beta.3 → 0.9.22-beta.8
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/README.md +36 -8
- package/dist/base/magic/MagicAPI.d.ts.map +1 -1
- package/dist/base/magic/MagicAPI.js +0 -1
- package/dist/base/magic/MagicAPI.js.map +1 -1
- package/dist/base/n3xus/types.d.ts +3 -0
- package/dist/base/n3xus/types.d.ts.map +1 -1
- package/dist/components/connected/connected.d.ts +2 -2
- package/dist/components/connected/connected.d.ts.map +1 -1
- package/dist/components/connected/connected.js +40 -48
- package/dist/components/connected/connected.js.map +1 -1
- package/dist/components/fan-pass-claim/fan-pass-claim.d.ts +9 -1
- package/dist/components/fan-pass-claim/fan-pass-claim.d.ts.map +1 -1
- package/dist/components/fan-pass-claim/fan-pass-claim.js +446 -63
- package/dist/components/fan-pass-claim/fan-pass-claim.js.map +1 -1
- package/dist/components/fan-pass-claim/types.d.ts +2 -1
- package/dist/components/fan-pass-claim/types.d.ts.map +1 -1
- package/dist/components/fan-pass-claim/types.js +1 -0
- package/dist/components/fan-pass-claim/types.js.map +1 -1
- package/dist/components/fan-pass-unlock/fan-pass-unlock.d.ts +7 -1
- package/dist/components/fan-pass-unlock/fan-pass-unlock.d.ts.map +1 -1
- package/dist/components/fan-pass-unlock/fan-pass-unlock.js +472 -73
- package/dist/components/fan-pass-unlock/fan-pass-unlock.js.map +1 -1
- package/dist/components/fan-pass-unlock/types.d.ts +3 -1
- package/dist/components/fan-pass-unlock/types.d.ts.map +1 -1
- package/dist/components/fan-pass-unlock/types.js +2 -0
- package/dist/components/fan-pass-unlock/types.js.map +1 -1
- package/dist/controllers/LoginController.d.ts +4 -30
- package/dist/controllers/LoginController.d.ts.map +1 -1
- package/dist/controllers/LoginController.js +1 -1
- package/dist/controllers/LoginController.js.map +1 -1
- package/dist/docs/fan-pass-claim/fan-pass-claim.stories.d.ts.map +1 -1
- package/dist/docs/fan-pass-unlock/fan-pass-unlock.stories.d.ts.map +1 -1
- package/dist/events/login.d.ts +8 -1
- package/dist/events/login.d.ts.map +1 -1
- package/dist/events/login.js +1 -0
- package/dist/events/login.js.map +1 -1
- package/dist/node_modules/.pnpm/@magic-sdk_provider@28.20.0_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js +3 -3
- package/dist/node_modules/.pnpm/@magic-sdk_provider@28.20.0_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js.map +1 -1
- package/dist/node_modules/.pnpm/{@rollup_plugin-typescript@12.1.2_rollup@4.34.6_tslib@2.8.1_typescript@5.7.3 → @rollup_plugin-typescript@12.1.2_rollup@4.32.1_tslib@2.8.1_typescript@5.7.3}/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/node_modules/.pnpm/magic-sdk@28.21.0/node_modules/magic-sdk/dist/es/index.js +9 -0
- package/dist/node_modules/.pnpm/magic-sdk@28.21.0/node_modules/magic-sdk/dist/es/index.js.map +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/helpers.d.ts +2 -0
- package/dist/utils/helpers.d.ts.map +1 -1
- package/dist/utils/helpers.js +19 -1
- package/dist/utils/helpers.js.map +1 -1
- package/package.json +4 -4
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js +0 -9
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js.map +0 -1
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/base.js +0 -9
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/base.js.map +0 -1
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js +0 -10
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js.map +0 -1
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/query.js +0 -10
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/query.js.map +0 -1
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js +0 -10
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js.map +0 -1
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js +0 -11
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js.map +0 -1
- package/dist/node_modules/.pnpm/@magic-sdk_provider@29.0.6_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js +0 -10
- package/dist/node_modules/.pnpm/@magic-sdk_provider@29.0.6_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@magic-sdk_provider@29.1.0_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js +0 -10
- package/dist/node_modules/.pnpm/@magic-sdk_provider@29.1.0_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@magic-sdk_provider@29.4.1_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js +0 -10
- package/dist/node_modules/.pnpm/@magic-sdk_provider@29.4.1_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@magic-sdk_provider@29.4.2_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js +0 -10
- package/dist/node_modules/.pnpm/@magic-sdk_provider@29.4.2_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@magic-sdk_provider@33.4.1_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js +0 -10
- package/dist/node_modules/.pnpm/@magic-sdk_provider@33.4.1_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@magic-sdk_types@24.18.2/node_modules/@magic-sdk/types/dist/es/index.js +0 -4
- package/dist/node_modules/.pnpm/@magic-sdk_types@24.18.2/node_modules/@magic-sdk/types/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@magic-sdk_types@24.19.0/node_modules/@magic-sdk/types/dist/es/index.js +0 -4
- package/dist/node_modules/.pnpm/@magic-sdk_types@24.19.0/node_modules/@magic-sdk/types/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@magic-sdk_types@24.21.0/node_modules/@magic-sdk/types/dist/es/index.js +0 -4
- package/dist/node_modules/.pnpm/@magic-sdk_types@24.21.0/node_modules/@magic-sdk/types/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@magic-sdk_types@27.4.0/node_modules/@magic-sdk/types/dist/es/index.js +0 -4
- package/dist/node_modules/.pnpm/@magic-sdk_types@27.4.0/node_modules/@magic-sdk/types/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/box/box.js +0 -299
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/box/box.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/box/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/box/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button/button.js +0 -297
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button/button.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button/styles/button-main.js +0 -112
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button/styles/button-main.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button/styles/button-outline.js +0 -47
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button/styles/button-outline.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button/styles/button-plain.js +0 -69
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button/styles/button-plain.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button-icon/button-icon.js +0 -154
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button-icon/button-icon.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button-icon/button-icon.styles.js +0 -96
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button-icon/button-icon.styles.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button-icon/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/button-icon/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/disclosure/disclosure.js +0 -456
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/disclosure/disclosure.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/header-drawer/header-drawer.js +0 -306
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/header-drawer/header-drawer.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/header-drawer/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/header-drawer/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/horizontal-stack/horizontal-stack.js +0 -87
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/horizontal-stack/horizontal-stack.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/horizontal-stack/horizontal-stack.styles.js +0 -64
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/horizontal-stack/horizontal-stack.styles.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/horizontal-stack/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/horizontal-stack/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/icon/icon.js +0 -74
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/icon/icon.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/icon/icon.styles.js +0 -31
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/icon/icon.styles.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/image/image.js +0 -132
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/image/image.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/input/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/input/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/input/input.js +0 -260
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/input/input.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/input/input.styles.js +0 -118
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/input/input.styles.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/link/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/link/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/link/link.js +0 -53
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/link/link.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/link/link.styles.js +0 -39
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/link/link.styles.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/link-group/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/link-group/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/link-group/link-group.js +0 -188
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/link-group/link-group.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/logo/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/logo/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/logo/logo.js +0 -157
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/logo/logo.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/menu-drawer/menu-drawer.js +0 -195
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/menu-drawer/menu-drawer.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/overlay/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/overlay/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/overlay/overlay.js +0 -117
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/overlay/overlay.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/text/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/text/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/text/text.js +0 -319
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/text/text.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/vertical-stack/index.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/vertical-stack/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/vertical-stack/vertical-stack.js +0 -93
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/vertical-stack/vertical-stack.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/vertical-stack/vertical-stack.styles.js +0 -51
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/components/vertical-stack/vertical-stack.styles.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/constructedStyleSheet.js +0 -12
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/constructedStyleSheet.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/depracated-element-prop.js +0 -12
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/depracated-element-prop.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/form-controller.js +0 -271
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/form-controller.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/mergeStyles.js +0 -13
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/mergeStyles.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/paddingTransformations.js +0 -76
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/paddingTransformations.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/push-element.js +0 -52
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/push-element.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/settings.js +0 -6
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/settings.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/slot.js +0 -46
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/slot.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/slotInitialised.js +0 -16
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/slotInitialised.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/watch.js +0 -28
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/internal/watch.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.34.6_tslib@2.8.1_typescript@5.7.3/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/button.js +0 -83
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/button.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/component.styles.js +0 -36
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/component.styles.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/flex.js +0 -157
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/flex.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/form-control.styles.js +0 -150
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/form-control.styles.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/global.js +0 -48
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/global.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/icon-size.js +0 -25
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/icon-size.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/placeholder-media.js +0 -34
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/placeholder-media.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/text.styles.js +0 -240
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/styles/text.styles.js.map +0 -1
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/utilities/base-path.js +0 -7
- package/dist/node_modules/.pnpm/@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/utilities/base-path.js.map +0 -1
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.34.6_tslib@2.8.1_typescript@5.7.3/node_modules/tslib/tslib.es6.js +0 -31
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.34.8_tslib@2.8.1_typescript@5.7.3/node_modules/tslib/tslib.es6.js +0 -31
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.34.8_tslib@2.8.1_typescript@5.7.3/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.40.1_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js +0 -31
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.40.1_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.4_rollup@4.44.1_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js +0 -31
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.4_rollup@4.44.1_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.2/node_modules/tslib/tslib.es6.js +0 -31
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.2/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.4_rollup@4.46.3_tslib@2.8.1_typescript@5.9.2/node_modules/tslib/tslib.es6.js +0 -31
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.4_rollup@4.46.3_tslib@2.8.1_typescript@5.9.2/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.58.0_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js +0 -31
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.58.0_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directive.js +0 -9
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directive.js.map +0 -1
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/class-map.js +0 -11
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/class-map.js.map +0 -1
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js +0 -10
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js.map +0 -1
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/style-map.js +0 -11
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/style-map.js.map +0 -1
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/unsafe-html.js +0 -11
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/unsafe-html.js.map +0 -1
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js +0 -9
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js.map +0 -1
- package/dist/node_modules/.pnpm/magic-sdk@28.21.1/node_modules/magic-sdk/dist/es/index.js +0 -9
- package/dist/node_modules/.pnpm/magic-sdk@28.21.1/node_modules/magic-sdk/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/magic-sdk@29.0.6/node_modules/magic-sdk/dist/es/index.js +0 -9
- package/dist/node_modules/.pnpm/magic-sdk@29.0.6/node_modules/magic-sdk/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/magic-sdk@29.1.0/node_modules/magic-sdk/dist/es/index.js +0 -9
- package/dist/node_modules/.pnpm/magic-sdk@29.1.0/node_modules/magic-sdk/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/magic-sdk@29.4.1/node_modules/magic-sdk/dist/es/index.js +0 -9
- package/dist/node_modules/.pnpm/magic-sdk@29.4.1/node_modules/magic-sdk/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/magic-sdk@29.4.2/node_modules/magic-sdk/dist/es/index.js +0 -9
- package/dist/node_modules/.pnpm/magic-sdk@29.4.2/node_modules/magic-sdk/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/magic-sdk@33.4.1/node_modules/magic-sdk/dist/es/index.js +0 -9
- package/dist/node_modules/.pnpm/magic-sdk@33.4.1/node_modules/magic-sdk/dist/es/index.js.map +0 -1
- package/dist/node_modules/.pnpm/query-selector-shadow-dom@1.0.1/node_modules/query-selector-shadow-dom/src/normalize.js +0 -169
- package/dist/node_modules/.pnpm/query-selector-shadow-dom@1.0.1/node_modules/query-selector-shadow-dom/src/normalize.js.map +0 -1
- package/dist/node_modules/.pnpm/query-selector-shadow-dom@1.0.1/node_modules/query-selector-shadow-dom/src/querySelectorDeep.js +0 -161
- package/dist/node_modules/.pnpm/query-selector-shadow-dom@1.0.1/node_modules/query-selector-shadow-dom/src/querySelectorDeep.js.map +0 -1
- /package/dist/node_modules/.pnpm/{@pushengineering_push-web-components@3.4.47_@floating-ui_utils@0.2.9_lit@3.3.0/node_modules/@pushengineering/push-web-components/dist/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.34.6_tslib@2.8.1_typescript@5.7.3 → @rollup_plugin-typescript@12.1.2_rollup@4.32.1_tslib@2.8.1_typescript@5.7.3}/node_modules/tslib/tslib.es6.js +0 -0
package/README.md
CHANGED
|
@@ -15,18 +15,30 @@ Using via Cirkay Fan Pass CDN
|
|
|
15
15
|
The UMD bundle includes all components and dependencies in a single file. Add the following script tag to your HTML:
|
|
16
16
|
|
|
17
17
|
```html
|
|
18
|
-
<!--
|
|
19
|
-
<script src="https://cdn.n3xus.services/fan-pass-cdn/cirkay-fan-pass-standalone-umd.
|
|
18
|
+
<!-- Latest -->
|
|
19
|
+
<script src="https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/latest/cirkay-fan-pass-standalone-umd.umd.js"></script>
|
|
20
|
+
|
|
21
|
+
<!-- Pinned (replace <version>) -->
|
|
22
|
+
<script src="https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/<version>/cirkay-fan-pass-standalone-umd.<version>.umd.js"></script>
|
|
20
23
|
```
|
|
21
24
|
|
|
22
|
-
###
|
|
25
|
+
### ES Modules (Standalone or Modular)
|
|
23
26
|
|
|
24
|
-
|
|
27
|
+
Use ES Modules if you prefer `import` (or if your app already provides shared dependencies like Lit).
|
|
25
28
|
|
|
26
29
|
```html
|
|
27
30
|
<script type="module">
|
|
28
|
-
//
|
|
29
|
-
import { FanPassClaim, FanPassUnlock, MobilePass } from 'https://cdn.n3xus.services/fan-pass-cdn/cirkay-fan-pass-standalone-es.
|
|
31
|
+
// Standalone ES module (includes dependencies)
|
|
32
|
+
import { FanPassClaim, FanPassUnlock, MobilePass } from 'https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/latest/cirkay-fan-pass-standalone-es.esm.js';
|
|
33
|
+
|
|
34
|
+
// Or pinned (replace <version>)
|
|
35
|
+
// import { FanPassClaim, FanPassUnlock, MobilePass } from 'https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/<version>/cirkay-fan-pass-standalone-es.<version>.esm.js';
|
|
36
|
+
|
|
37
|
+
// Modular ES module (excludes dependencies like lit / push-web-components)
|
|
38
|
+
// import { FanPassClaim, FanPassUnlock, MobilePass } from 'https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/latest/cirkay-fan-pass-modular-es.esm.js';
|
|
39
|
+
//
|
|
40
|
+
// Or pinned (replace <version>)
|
|
41
|
+
// import { FanPassClaim, FanPassUnlock, MobilePass } from 'https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/<version>/cirkay-fan-pass-modular-es.<version>.esm.js';
|
|
30
42
|
</script>
|
|
31
43
|
```
|
|
32
44
|
|
|
@@ -104,6 +116,7 @@ A component for claiming Fan Passes.
|
|
|
104
116
|
:validateAfterModal="false"
|
|
105
117
|
redeemCode=""
|
|
106
118
|
successUrl="https://example.com/success"
|
|
119
|
+
successUrlTarget="_blank"
|
|
107
120
|
:autoRedirect="false"
|
|
108
121
|
:showRedeemInput="true"
|
|
109
122
|
:staging="false"
|
|
@@ -124,6 +137,7 @@ A component for claiming Fan Passes.
|
|
|
124
137
|
| validateAfterModal | Boolean | false | Validate after modal display |
|
|
125
138
|
| redeemCode | String | '' | Code for redeeming Fan Pass |
|
|
126
139
|
| successUrl | String | '' | URL to redirect after success |
|
|
140
|
+
| successUrlTarget | String | '_blank' | Target attribute for success URL link ('_blank', '_self', '_parent', or '_top') |
|
|
127
141
|
| autoRedirect | Boolean | false | Auto redirect after success |
|
|
128
142
|
| showRedeemInput | Boolean | true | Show redeem code input |
|
|
129
143
|
| staging | Boolean | false | Use staging environment |
|
|
@@ -182,6 +196,14 @@ document.querySelector('fp-claim').addEventListener('fp-claim-claimed', (event)
|
|
|
182
196
|
|
|
183
197
|
## Bundle Types
|
|
184
198
|
|
|
199
|
+
The CDN publishes multiple bundles. Choose the one that matches your setup:
|
|
200
|
+
|
|
201
|
+
| Bundle | Format | Includes dependencies | Latest | Pinned (replace `<version>`) |
|
|
202
|
+
|---|---|---|---|---|
|
|
203
|
+
| Standalone UMD | `<script>` | Yes | `https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/latest/cirkay-fan-pass-standalone-umd.umd.js` | `https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/<version>/cirkay-fan-pass-standalone-umd.<version>.umd.js` |
|
|
204
|
+
| Standalone ES | `import` | Yes | `https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/latest/cirkay-fan-pass-standalone-es.esm.js` | `https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/<version>/cirkay-fan-pass-standalone-es.<version>.esm.js` |
|
|
205
|
+
| Modular ES | `import` | No | `https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/latest/cirkay-fan-pass-modular-es.esm.js` | `https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/<version>/cirkay-fan-pass-modular-es.<version>.esm.js` |
|
|
206
|
+
|
|
185
207
|
|
|
186
208
|
## Production
|
|
187
209
|
|
|
@@ -190,12 +212,18 @@ For production, use the minified versions:
|
|
|
190
212
|
|
|
191
213
|
```html
|
|
192
214
|
<!-- UMD -->
|
|
193
|
-
<script src="https://cdn.n3xus.services/fan-pass-cdn/cirkay-fan-pass-standalone-umd.
|
|
215
|
+
<script src="https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/latest/cirkay-fan-pass-standalone-umd.umd.js"></script>
|
|
216
|
+
|
|
217
|
+
<!-- UMD (Pinned - replace <version>) -->
|
|
218
|
+
<script src="https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/<version>/cirkay-fan-pass-standalone-umd.<version>.umd.js"></script>
|
|
194
219
|
|
|
195
220
|
<!-- ES Modules -->
|
|
196
221
|
<script type="module">
|
|
197
222
|
// Load main bundle
|
|
198
|
-
import { FanPassClaim, FanPassUnlock, MobilePass } from 'https://cdn.n3xus.services/fan-pass-cdn/cirkay-fan-pass-standalone-es.
|
|
223
|
+
import { FanPassClaim, FanPassUnlock, MobilePass } from 'https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/latest/cirkay-fan-pass-standalone-es.esm.js';
|
|
224
|
+
|
|
225
|
+
// Or pinned (replace <version>)
|
|
226
|
+
// import { FanPassClaim, FanPassUnlock, MobilePass } from 'https://cdn.n3xus.services/fan-pass-cdn/cirkay-components/<version>/cirkay-fan-pass-standalone-es.<version>.esm.js';
|
|
199
227
|
</script>
|
|
200
228
|
```
|
|
201
229
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MagicAPI.d.ts","sourceRoot":"","sources":["../../../src/base/magic/MagicAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AAGjC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAY5C,MAAM,WAAW,YAAY;IACzB,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,QAAQ,GAAI,WAAU,YAGlC,KAAG,
|
|
1
|
+
{"version":3,"file":"MagicAPI.d.ts","sourceRoot":"","sources":["../../../src/base/magic/MagicAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AAGjC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAY5C,MAAM,WAAW,YAAY;IACzB,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,QAAQ,GAAI,WAAU,YAGlC,KAAG,KAkBH,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MagicAPI.js","sources":["../../../src/base/magic/MagicAPI.ts"],"sourcesContent":[null],"names":["Magic"],"mappings":";;;;AAqBO,MAAM,QAAQ,GAAG,CAAC,QAAA,GAAyB;IAC9C,WAAW,EAAE,WAAW,CAAC,UAAU;AACnC,IAAA,aAAa,EAAE;AAClB,CAAA,KAAW;AACR,IAAA,MAAM,WAAW,GAAG,QAAQ,CAAC,WAAW,EAAE,WAAW,EAAE,KAAK,WAAW,CAAC,UAAU,CAAC,WAAW;AAC1F,UAAE;UACA,eAAe;AACrB,IAAA,MAAM,WAAW,GAAgB;AAC7B,QAAA,OAAO,EAAE;AACL,YAAA,MAAM,EAAE,0BAA0B;AAClC,YAAA,OAAO,EAAE;AACZ,SAAA;AACD,QAAA,eAAe,EAAE,IAAI;AACrB,QAAA,YAAY,EAAE,IAAI;KACrB;
|
|
1
|
+
{"version":3,"file":"MagicAPI.js","sources":["../../../src/base/magic/MagicAPI.ts"],"sourcesContent":[null],"names":["Magic"],"mappings":";;;;AAqBO,MAAM,QAAQ,GAAG,CAAC,QAAA,GAAyB;IAC9C,WAAW,EAAE,WAAW,CAAC,UAAU;AACnC,IAAA,aAAa,EAAE;AAClB,CAAA,KAAW;AACR,IAAA,MAAM,WAAW,GAAG,QAAQ,CAAC,WAAW,EAAE,WAAW,EAAE,KAAK,WAAW,CAAC,UAAU,CAAC,WAAW;AAC1F,UAAE;UACA,eAAe;AACrB,IAAA,MAAM,WAAW,GAAgB;AAC7B,QAAA,OAAO,EAAE;AACL,YAAA,MAAM,EAAE,0BAA0B;AAClC,YAAA,OAAO,EAAE;AACZ,SAAA;AACD,QAAA,eAAe,EAAE,IAAI;AACrB,QAAA,YAAY,EAAE,IAAI;KACrB;IACD,MAAM,QAAQ,GAAG,IAAIA,EAAK,CACtB,WAAW,EACX,WAAW,CACd;AAED,IAAA,OAAO,QAAQ;AACnB;;;;"}
|
|
@@ -50,12 +50,15 @@ export type MobilePassData = {
|
|
|
50
50
|
export type AccessCheckData = {
|
|
51
51
|
ok: boolean;
|
|
52
52
|
error?: string;
|
|
53
|
+
state?: string;
|
|
53
54
|
data?: {
|
|
54
55
|
email: string;
|
|
55
56
|
sessionToken: string;
|
|
56
57
|
holds: boolean;
|
|
58
|
+
active: boolean;
|
|
57
59
|
expired: boolean;
|
|
58
60
|
expiryDate: string;
|
|
61
|
+
startDate?: string;
|
|
59
62
|
mobilePasses?: Array<MobilePassData>;
|
|
60
63
|
};
|
|
61
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/base/n3xus/types.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACnB,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,UAAU,eAAe;CAC5B;AAED,MAAM,MAAM,cAAc,GAAG;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,QAAQ,CAAC,EAAE;QACP,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,GAAG,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;CACJ,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ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
|
@@ -3,8 +3,6 @@ import '@pushengineering/push-web-components/text';
|
|
|
3
3
|
import '@pushengineering/push-web-components/button';
|
|
4
4
|
import '@pushengineering/push-web-components/vertical-stack';
|
|
5
5
|
import '@pushengineering/push-web-components/header-drawer';
|
|
6
|
-
import '@pushengineering/push-web-components/link';
|
|
7
|
-
import '@pushengineering/push-web-components/logo';
|
|
8
6
|
import CirkayElement from '../../internal/CirkayElement';
|
|
9
7
|
import { FpSession } from '../../utils/helpers';
|
|
10
8
|
import { Environment } from '../../base/n3xus/types';
|
|
@@ -25,6 +23,8 @@ export declare class Connected extends CirkayElement {
|
|
|
25
23
|
private handleLogout;
|
|
26
24
|
private _popoverFocusOut;
|
|
27
25
|
private _toggleSuccessPopover;
|
|
26
|
+
closePopover(): void;
|
|
27
|
+
private parseDisplayText;
|
|
28
28
|
private _setupFormListener;
|
|
29
29
|
private _handleFormChange;
|
|
30
30
|
private renderPopoverMenu;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected.d.ts","sourceRoot":"","sources":["../../../src/components/connected/connected.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,KAAK,CAAA;AAE/C,OAAO,2CAA2C,CAAA;AAClD,OAAO,6CAA6C,CAAA;AACpD,OAAO,qDAAqD,CAAA;AAC5D,OAAO,oDAAoD,CAAA;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"connected.d.ts","sourceRoot":"","sources":["../../../src/components/connected/connected.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,KAAK,CAAA;AAE/C,OAAO,2CAA2C,CAAA;AAClD,OAAO,6CAA6C,CAAA;AACpD,OAAO,qDAAqD,CAAA;AAC5D,OAAO,oDAAoD,CAAA;AAC3D,OAAO,aAAa,MAAM,8BAA8B,CAAA;AACxD,OAAO,EAAE,SAAS,EAAoB,MAAM,qBAAqB,CAAA;AAGjE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAcpD,qBAAa,SAAU,SAAQ,aAAa;IACxC,OAAO,CAAC,eAAe,CAA+B;IAE1B,WAAW,EAAE,WAAW,CAAyB;IACjD,MAAM,SAAK;IACX,YAAY,SAAS;IACrC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAChB,YAAY,UAAQ;IACpB,qBAAqB,UAAQ;IAG1D,YAAY,UAAQ;IAGpB,UAAU,EAAE,SAAS,GAAG,IAAI,CAAO;;IAOnC,iBAAiB;IAuBjB,oBAAoB;IAKpB,OAAO,CAAC,mBAAmB;YAkBb,YAAY;IAiB1B,OAAO,CAAC,gBAAgB;IAMxB,OAAO,CAAC,qBAAqB;IAItB,YAAY;IAQnB,OAAO,CAAC,gBAAgB;IA6BxB,OAAO,CAAC,kBAAkB;IAmB1B,OAAO,CAAC,iBAAiB,CAqCxB;IAED,OAAO,CAAC,iBAAiB;IAsElB,MAAM,IAAI,cAAc;IA6K/B,OAAgB,MAAM,0BAmOrB;CACJ"}
|
|
@@ -5,8 +5,6 @@ import '@pushengineering/push-web-components/text';
|
|
|
5
5
|
import '@pushengineering/push-web-components/button';
|
|
6
6
|
import '@pushengineering/push-web-components/vertical-stack';
|
|
7
7
|
import '@pushengineering/push-web-components/header-drawer';
|
|
8
|
-
import '@pushengineering/push-web-components/link';
|
|
9
|
-
import '@pushengineering/push-web-components/logo';
|
|
10
8
|
import CirkayElement from '../../internal/CirkayElement.js';
|
|
11
9
|
import { getLatestSession } from '../../utils/helpers.js';
|
|
12
10
|
import { LoginController } from '../../controllers/LoginController.js';
|
|
@@ -108,6 +106,33 @@ class Connected extends CirkayElement {
|
|
|
108
106
|
_toggleSuccessPopover() {
|
|
109
107
|
this._popoverOpen = !this._popoverOpen ? true : false;
|
|
110
108
|
}
|
|
109
|
+
closePopover() {
|
|
110
|
+
this._popoverOpen = false;
|
|
111
|
+
}
|
|
112
|
+
parseDisplayText(text) {
|
|
113
|
+
const parts = text.split('\n\n');
|
|
114
|
+
if (parts.length >= 3) {
|
|
115
|
+
const date = parts[parts.length - 1];
|
|
116
|
+
const mainTextParts = parts.slice(0, -1);
|
|
117
|
+
const mainTextArray = [];
|
|
118
|
+
mainTextParts.forEach((part, index) => {
|
|
119
|
+
mainTextArray.push(html `${part}`);
|
|
120
|
+
if (index < mainTextParts.length - 1) {
|
|
121
|
+
mainTextArray.push(html `<br>`);
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
return { mainText: html `${mainTextArray}`, date };
|
|
125
|
+
}
|
|
126
|
+
const textParts = text.split('\n');
|
|
127
|
+
const textArray = [];
|
|
128
|
+
textParts.forEach((part, index) => {
|
|
129
|
+
textArray.push(html `${part}`);
|
|
130
|
+
if (index < textParts.length - 1) {
|
|
131
|
+
textArray.push(html `<br>`);
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
return { mainText: html `${textArray}` };
|
|
135
|
+
}
|
|
111
136
|
_setupFormListener() {
|
|
112
137
|
const formSlot = this.querySelector('[slot="form-content"]');
|
|
113
138
|
if (formSlot) {
|
|
@@ -159,6 +184,7 @@ class Connected extends CirkayElement {
|
|
|
159
184
|
part="popover-content"
|
|
160
185
|
class="popover__content-inner"
|
|
161
186
|
>
|
|
187
|
+
<slot name="popover-actions"></slot>
|
|
162
188
|
<pu-button
|
|
163
189
|
exportparts="button:button-link,button:disconnect-link"
|
|
164
190
|
part="base-button-link base-disconnect-link"
|
|
@@ -197,7 +223,8 @@ class Connected extends CirkayElement {
|
|
|
197
223
|
}
|
|
198
224
|
const displayText = this.displayText
|
|
199
225
|
? this.displayText
|
|
200
|
-
: '
|
|
226
|
+
: 'Connected';
|
|
227
|
+
const parsedText = this.parseDisplayText(displayText.toString());
|
|
201
228
|
return html `
|
|
202
229
|
<pu-box
|
|
203
230
|
exportparts="base:account-connected,content:account-connected-content"
|
|
@@ -223,7 +250,12 @@ class Connected extends CirkayElement {
|
|
|
223
250
|
withoutMargin
|
|
224
251
|
>
|
|
225
252
|
${this.loginController?.user?.email
|
|
226
|
-
?
|
|
253
|
+
? html `
|
|
254
|
+
${parsedText.mainText}
|
|
255
|
+
${parsedText.date
|
|
256
|
+
? html `<br><span class="date-text">${parsedText.date}</span>`
|
|
257
|
+
: ''}
|
|
258
|
+
`
|
|
227
259
|
: html `<svg
|
|
228
260
|
part="connecting-spinner"
|
|
229
261
|
class="loading__spinner"
|
|
@@ -253,7 +285,6 @@ class Connected extends CirkayElement {
|
|
|
253
285
|
fontWeight="regular"
|
|
254
286
|
withoutMargin
|
|
255
287
|
>
|
|
256
|
-
connected as:
|
|
257
288
|
${this.loginController?.user?.email}
|
|
258
289
|
</pu-text>
|
|
259
290
|
`
|
|
@@ -292,44 +323,6 @@ class Connected extends CirkayElement {
|
|
|
292
323
|
`
|
|
293
324
|
: null}
|
|
294
325
|
|
|
295
|
-
<pu-horizontal-stack
|
|
296
|
-
part="base-powered-by-layout"
|
|
297
|
-
exportparts="base:powered-by-layout"
|
|
298
|
-
spacing="4"
|
|
299
|
-
align="center"
|
|
300
|
-
alignNarrow="center"
|
|
301
|
-
justify="center"
|
|
302
|
-
justifyNarrow="center"
|
|
303
|
-
>
|
|
304
|
-
<pu-text
|
|
305
|
-
exportparts="base:powered-by-text"
|
|
306
|
-
part="base-powered-by-text base-text base-body"
|
|
307
|
-
class="powered-by-text"
|
|
308
|
-
as="span"
|
|
309
|
-
variant="bodyXs"
|
|
310
|
-
withoutMargin
|
|
311
|
-
>
|
|
312
|
-
Powered by
|
|
313
|
-
<pu-link target="_blank" url="http://cirkay.com">Cirkay®</pu-link>
|
|
314
|
-
</pu-text>
|
|
315
|
-
<pu-logo
|
|
316
|
-
class="cirkay-logo"
|
|
317
|
-
url="https://cirkay.com/"
|
|
318
|
-
target="_blank"
|
|
319
|
-
alt="Cirkay Logo"
|
|
320
|
-
height="12"
|
|
321
|
-
imgsrc="https://n3xus-store.s3.eu-west-2.amazonaws.com/staging/assets/cirkay-logo-transparent-no-padding.webp"
|
|
322
|
-
imgsrcset="
|
|
323
|
-
https://n3xus-store.s3.eu-west-2.amazonaws.com/staging/assets/cirkay-logo-transparent-no-padding.webp 4x,
|
|
324
|
-
https://n3xus-store.s3.eu-west-2.amazonaws.com/staging/assets/cirkay-logo-transparent-no-padding.webp 3x,
|
|
325
|
-
https://n3xus-store.s3.eu-west-2.amazonaws.com/staging/assets/cirkay-logo-transparent-no-padding.webp 2x,
|
|
326
|
-
https://n3xus-store.s3.eu-west-2.amazonaws.com/staging/assets/cirkay-logo-transparent-no-padding.webp 1x
|
|
327
|
-
"
|
|
328
|
-
imgsizes=""
|
|
329
|
-
imgwidth="12"
|
|
330
|
-
imgheight="12"
|
|
331
|
-
></pu-logo>
|
|
332
|
-
</pu-horizontal-stack>
|
|
333
326
|
<div
|
|
334
327
|
part="popover-positioning-container"
|
|
335
328
|
class="popover-positioning-container"
|
|
@@ -380,12 +373,11 @@ Connected.styles = css `
|
|
|
380
373
|
:host {
|
|
381
374
|
font-size: var(--fp-font-size-base, 1em);
|
|
382
375
|
}
|
|
383
|
-
.cirkay-logo {
|
|
384
|
-
width: 12px;
|
|
385
|
-
}
|
|
386
376
|
|
|
387
|
-
.
|
|
388
|
-
|
|
377
|
+
.date-text {
|
|
378
|
+
white-space: nowrap;
|
|
379
|
+
font-size: 0.85em;
|
|
380
|
+
display: inline-block;
|
|
389
381
|
}
|
|
390
382
|
|
|
391
383
|
/* success box and popover */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected.js","sources":["../../../src/components/connected/connected.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connected.js","sources":["../../../src/components/connected/connected.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;AAwBM,MAAO,SAAU,SAAQ,aAAa,CAAA;AAgBxC,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,EAAE;QAhBH,IAAA,CAAA,eAAe,GAA2B,IAAI;AAE1B,QAAA,IAAA,CAAA,WAAW,GAAgB,WAAW,CAAC,UA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,SAAA,EAAA,uBAAA,EAAA,MAAA,CAAA;AAG1D,UAAA,CAAA;AADC,IAAA,KAAK;AACc,CAAA,EAAA,SAAA,CAAA,SAAA,EAAA,cAAA,EAAA,MAAA,CAAA;AAGpB,UAAA,CAAA;AADC,IAAA,KAAK;AAC6B,CAAA,EAAA,SAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;;;;"}
|
|
@@ -9,6 +9,7 @@ import '@pushengineering/push-web-components/overlay';
|
|
|
9
9
|
import CirkayElement from '../../internal/CirkayElement';
|
|
10
10
|
import '../login';
|
|
11
11
|
import { ClaimStatus } from '../../base/n3xus/types';
|
|
12
|
+
import { LinkTarget } from '../../types';
|
|
12
13
|
import '../login';
|
|
13
14
|
import '../frame';
|
|
14
15
|
import '../error-screen';
|
|
@@ -28,6 +29,7 @@ export default class FanPassClaim extends CirkayElement {
|
|
|
28
29
|
private n3xusAPIController;
|
|
29
30
|
private mintRequestDid;
|
|
30
31
|
private walletCheckResponse;
|
|
32
|
+
private walletCheckInFlight;
|
|
31
33
|
private loginFlow;
|
|
32
34
|
private unlockedContent;
|
|
33
35
|
private callerId;
|
|
@@ -45,6 +47,7 @@ export default class FanPassClaim extends CirkayElement {
|
|
|
45
47
|
environment: Environment;
|
|
46
48
|
debugLogging: boolean;
|
|
47
49
|
successUrl: string;
|
|
50
|
+
successUrlTarget: LinkTarget;
|
|
48
51
|
campaignUrl: string;
|
|
49
52
|
autoRedirect: boolean;
|
|
50
53
|
showRedeemInput: boolean;
|
|
@@ -57,6 +60,7 @@ export default class FanPassClaim extends CirkayElement {
|
|
|
57
60
|
claimingText: string;
|
|
58
61
|
claimSuccessText: string;
|
|
59
62
|
claimSuccessPerkButtonText: string;
|
|
63
|
+
connectedText: string;
|
|
60
64
|
faqUrl: string;
|
|
61
65
|
_claimState: ClaimStateTypes;
|
|
62
66
|
_campaignState: CampaignState;
|
|
@@ -66,6 +70,8 @@ export default class FanPassClaim extends CirkayElement {
|
|
|
66
70
|
_codeStatus: ClaimStatus | null | undefined;
|
|
67
71
|
_loginComponent: Login | undefined;
|
|
68
72
|
_alreadyClaimed: boolean;
|
|
73
|
+
_startDate: Date | null;
|
|
74
|
+
_notStartedMessage: string;
|
|
69
75
|
constructor();
|
|
70
76
|
connectedCallback(): void;
|
|
71
77
|
private handleMintType;
|
|
@@ -78,7 +84,6 @@ export default class FanPassClaim extends CirkayElement {
|
|
|
78
84
|
private startPolling;
|
|
79
85
|
private stopPolling;
|
|
80
86
|
private delay;
|
|
81
|
-
private isRetryableWalletCheckState;
|
|
82
87
|
private checkWalletForNftWithRetry;
|
|
83
88
|
private setCodeStatus;
|
|
84
89
|
private getCampaignInformation;
|
|
@@ -90,13 +95,16 @@ export default class FanPassClaim extends CirkayElement {
|
|
|
90
95
|
logout(): Promise<void>;
|
|
91
96
|
closeOverlay(e?: Event | null): void;
|
|
92
97
|
openOverlay(e?: Event | null): void;
|
|
98
|
+
private handleOpenModalFromPopover;
|
|
93
99
|
private onClaimModalClickOut;
|
|
94
100
|
private logging;
|
|
95
101
|
private renderMobilePass;
|
|
96
102
|
private renderClaimSuccess;
|
|
103
|
+
private renderRedeemedNotStarted;
|
|
97
104
|
private setPageNumber;
|
|
98
105
|
private renderContent;
|
|
99
106
|
private renderClaimButton;
|
|
107
|
+
private getConnectedDisplayText;
|
|
100
108
|
render(): TemplateResult;
|
|
101
109
|
}
|
|
102
110
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fan-pass-claim.d.ts","sourceRoot":"","sources":["../../../src/components/fan-pass-claim/fan-pass-claim.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAA;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAGzC,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEpC,OAAO,6CAA6C,CAAA;AACpD,OAAO,kDAAkD,CAAA;AACzD,OAAO,2CAA2C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