@wix/himalaya-cli 0.1761.0 → 0.1763.0
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/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +5 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +10 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +23 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +136 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +112 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{7c3c05d452efd3f1e1e81b47dde7d9fa870c1e5217b00b253661a22b571fdbef.bin → a96903bb457796ee606fe986078d9629ba53b5ba4013bdb94e8afba3288284ed.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +51413 -50002
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/base44-app-to-himi-app.md +56 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +10 -0
- package/guides/himi-json-output.md +35 -0
- package/guides/one-app-section-mappings.md +6 -6
- package/guides/one-app-to-himi-app.md +33 -4
- package/guides/push-cli-onboarding.md +25 -14
- package/guides/recipe-dynamic-list.md +4 -2
- package/guides/wix-business-context.md +1 -1
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/ar.json +9 -420
- package/templates/beauty-salon/l10n/cs.json +9 -420
- package/templates/beauty-salon/l10n/da.json +9 -420
- package/templates/beauty-salon/l10n/de.json +9 -420
- package/templates/beauty-salon/l10n/el.json +9 -420
- package/templates/beauty-salon/l10n/en.json +8 -61
- package/templates/beauty-salon/l10n/es.json +9 -420
- package/templates/beauty-salon/l10n/fi.json +9 -420
- package/templates/beauty-salon/l10n/fr.json +9 -420
- package/templates/beauty-salon/l10n/he.json +9 -338
- package/templates/beauty-salon/l10n/hu.json +9 -420
- package/templates/beauty-salon/l10n/id.json +9 -420
- package/templates/beauty-salon/l10n/it.json +9 -420
- package/templates/beauty-salon/l10n/ja.json +9 -420
- package/templates/beauty-salon/l10n/ko.json +9 -420
- package/templates/beauty-salon/l10n/lt.json +9 -420
- package/templates/beauty-salon/l10n/nl.json +9 -420
- package/templates/beauty-salon/l10n/no.json +9 -420
- package/templates/beauty-salon/l10n/pl.json +9 -420
- package/templates/beauty-salon/l10n/pt.json +9 -420
- package/templates/beauty-salon/l10n/ru.json +9 -420
- package/templates/beauty-salon/l10n/sv.json +9 -420
- package/templates/beauty-salon/l10n/th.json +9 -420
- package/templates/beauty-salon/l10n/tr.json +9 -420
- package/templates/beauty-salon/l10n/uk.json +9 -420
- package/templates/beauty-salon/l10n/vi.json +9 -420
- package/templates/beauty-salon/l10n/zh.json +9 -420
- package/templates/branded-lite/l10n/ar.json +31 -5
- package/templates/branded-lite/l10n/cs.json +31 -5
- package/templates/branded-lite/l10n/da.json +31 -5
- package/templates/branded-lite/l10n/de.json +31 -5
- package/templates/branded-lite/l10n/el.json +31 -5
- package/templates/branded-lite/l10n/en.json +8 -6
- package/templates/branded-lite/l10n/es.json +31 -5
- package/templates/branded-lite/l10n/fi.json +31 -5
- package/templates/branded-lite/l10n/fr.json +31 -5
- package/templates/branded-lite/l10n/he.json +27 -4
- package/templates/branded-lite/l10n/hu.json +31 -5
- package/templates/branded-lite/l10n/id.json +31 -5
- package/templates/branded-lite/l10n/it.json +31 -5
- package/templates/branded-lite/l10n/ja.json +31 -5
- package/templates/branded-lite/l10n/ko.json +31 -5
- package/templates/branded-lite/l10n/lt.json +31 -5
- package/templates/branded-lite/l10n/nl.json +31 -5
- package/templates/branded-lite/l10n/no.json +31 -5
- package/templates/branded-lite/l10n/pl.json +31 -5
- package/templates/branded-lite/l10n/pt.json +31 -5
- package/templates/branded-lite/l10n/ru.json +31 -5
- package/templates/branded-lite/l10n/sv.json +31 -5
- package/templates/branded-lite/l10n/th.json +31 -5
- package/templates/branded-lite/l10n/tr.json +31 -5
- package/templates/branded-lite/l10n/uk.json +31 -5
- package/templates/branded-lite/l10n/vi.json +31 -5
- package/templates/branded-lite/l10n/zh.json +31 -5
- package/templates/branded-lite/recipes/blog-search.json +45 -0
- package/templates/{events-meetups/recipes/programs-participant-carousel.json → branded-lite/recipes/galleries-carousel.json} +39 -118
- package/templates/{gym-fitness/recipes/programs-participant-carousel.json → branded-lite/recipes/galleries-list.json} +43 -121
- package/templates/{community-club/recipes/events-inline-list.json → branded-lite/recipes/group-feed.json} +112 -89
- package/templates/{beauty-salon/recipes/programs-participant-carousel.json → branded-lite/recipes/groups-cards.json} +71 -93
- package/templates/{beauty-salon/recipes/groups-list.json → branded-lite/recipes/services-list.json} +33 -9
- package/templates/{community-club/recipes/groups-list.json → branded-lite/recipes/subscriptions-list.json} +124 -60
- package/templates/branded-lite/recipes/upcoming-bookings.json +350 -0
- package/templates/branded-lite/recipes/videos-carousel.json +248 -0
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +75 -21
- package/templates/branded-lite/tier5-src/_shared/galleries-section.ts +115 -0
- package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +137 -0
- package/templates/branded-lite/tier5-src/_shared/groups-section.ts +7 -3
- package/templates/branded-lite/tier5-src/_shared/my-subscriptions-section.ts +107 -0
- package/templates/branded-lite/tier5-src/_shared/plans-section.ts +11 -3
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +2 -0
- package/templates/branded-lite/tier5-src/_shared/services-section.ts +122 -0
- package/templates/branded-lite/tier5-src/_shared/upcoming-bookings-section.ts +102 -0
- package/templates/branded-lite/tier5-src/_shared/videos-section.ts +91 -0
- package/templates/brandy/README.md +21 -3
- package/templates/brandy/config.ts +131 -14
- package/templates/brandy/dev/index.ts +41 -5
- package/templates/brandy/dev/member-screens.ts +14412 -0
- package/templates/brandy/provisioning.member.example.json +25 -0
- package/templates/brandy/tier5-src/_shared/branded-lite-hosted.ts +280 -0
- package/templates/brandy/tier5-src/_shared/branded-load-state.ts +109 -0
- package/templates/brandy/tier5-src/_shared/chat-live.ts +242 -0
- package/templates/brandy/tier5-src/_shared/collection-contract.ts +228 -0
- package/templates/brandy/tier5-src/_shared/collection-query-legacy.ts +194 -0
- package/templates/brandy/tier5-src/_shared/collection-query.ts +252 -0
- package/templates/brandy/tier5-src/_shared/collection-service.ts +423 -0
- package/templates/brandy/tier5-src/_shared/engine-intl.ts +523 -0
- package/templates/brandy/tier5-src/_shared/himi-account.ts +194 -0
- package/templates/brandy/tier5-src/_shared/himi-store.ts +7 -0
- package/templates/brandy/tier5-src/_shared/himi-text.ts +24 -0
- package/templates/brandy/tier5-src/_shared/hosted-checkout.ts +70 -0
- package/templates/brandy/tier5-src/_shared/iap-worker.ts +127 -0
- package/templates/brandy/tier5-src/_shared/inbox-rooms.ts +68 -0
- package/templates/brandy/tier5-src/_shared/live-session.ts +172 -0
- package/templates/brandy/tier5-src/_shared/local-preferences.ts +38 -0
- package/templates/brandy/tier5-src/_shared/member-access.ts +63 -0
- package/templates/brandy/tier5-src/_shared/member-account-routes.ts +52 -0
- package/templates/brandy/tier5-src/_shared/member-orders.ts +8 -0
- package/templates/brandy/tier5-src/_shared/member-read.ts +82 -0
- package/templates/brandy/tier5-src/_shared/member-screen.ts +99 -0
- package/templates/brandy/tier5-src/_shared/notification-target.ts +141 -0
- package/templates/brandy/tier5-src/_shared/online-actions.ts +76 -0
- package/templates/brandy/tier5-src/_shared/owner-load-error.ts +348 -0
- package/templates/brandy/tier5-src/_shared/payment-setup.ts +6 -0
- package/templates/brandy/tier5-src/_shared/pricing-plan-display.ts +64 -0
- package/templates/brandy/tier5-src/_shared/rich-body.ts +78 -0
- package/templates/brandy/tier5-src/_shared/rich-content-link.ts +34 -0
- package/templates/brandy/tier5-src/_shared/sign-in-sheet.ts +18 -0
- package/templates/brandy/tier5-src/_shared/store-order-presentation.ts +56 -0
- package/templates/brandy/tier5-src/_shared/wix-bi.ts +85 -0
- package/templates/brandy/tier5-src/_shared/wix-member-links.ts +114 -0
- package/templates/brandy/tier5-src/himi-branded-lite-inbox/index.ts +92 -0
- package/templates/brandy/tier5-src/himi-branded-lite-notifications/index.ts +256 -0
- package/templates/brandy/tier5-src/himi-branded-lite-order/index.ts +477 -0
- package/templates/brandy/tier5-src/himi-branded-lite-orders/index.ts +327 -0
- package/templates/brandy/tier5-src/himi-store-account/index.ts +1007 -0
- package/templates/brandy/tier5-src/wix-spaces-chat-thread/index.ts +350 -0
- package/templates/brandy/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/brandy/tier5-src/wix-spaces-my-subscriptions/index.ts +89 -0
- package/templates/brandy/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
- package/templates/brandy/tokens.json +25 -0
- package/templates/community-club/l10n/ar.json +0 -412
- package/templates/community-club/l10n/cs.json +0 -412
- package/templates/community-club/l10n/da.json +0 -412
- package/templates/community-club/l10n/de.json +0 -412
- package/templates/community-club/l10n/el.json +0 -412
- package/templates/community-club/l10n/en.json +1 -46
- package/templates/community-club/l10n/es.json +0 -412
- package/templates/community-club/l10n/fi.json +0 -412
- package/templates/community-club/l10n/fr.json +0 -412
- package/templates/community-club/l10n/he.json +0 -331
- package/templates/community-club/l10n/hu.json +0 -412
- package/templates/community-club/l10n/id.json +0 -412
- package/templates/community-club/l10n/it.json +0 -412
- package/templates/community-club/l10n/ja.json +0 -412
- package/templates/community-club/l10n/ko.json +0 -412
- package/templates/community-club/l10n/lt.json +0 -412
- package/templates/community-club/l10n/nl.json +0 -412
- package/templates/community-club/l10n/no.json +0 -412
- package/templates/community-club/l10n/pl.json +0 -412
- package/templates/community-club/l10n/pt.json +0 -412
- package/templates/community-club/l10n/ru.json +0 -412
- package/templates/community-club/l10n/sv.json +0 -412
- package/templates/community-club/l10n/th.json +0 -412
- package/templates/community-club/l10n/tr.json +0 -412
- package/templates/community-club/l10n/uk.json +0 -412
- package/templates/community-club/l10n/vi.json +0 -412
- package/templates/community-club/l10n/zh.json +0 -412
- package/templates/events-meetups/l10n/ar.json +0 -412
- package/templates/events-meetups/l10n/cs.json +0 -412
- package/templates/events-meetups/l10n/da.json +0 -412
- package/templates/events-meetups/l10n/de.json +0 -412
- package/templates/events-meetups/l10n/el.json +0 -412
- package/templates/events-meetups/l10n/en.json +1 -46
- package/templates/events-meetups/l10n/es.json +0 -412
- package/templates/events-meetups/l10n/fi.json +0 -412
- package/templates/events-meetups/l10n/fr.json +0 -412
- package/templates/events-meetups/l10n/he.json +0 -331
- package/templates/events-meetups/l10n/hu.json +0 -412
- package/templates/events-meetups/l10n/id.json +0 -412
- package/templates/events-meetups/l10n/it.json +0 -412
- package/templates/events-meetups/l10n/ja.json +0 -412
- package/templates/events-meetups/l10n/ko.json +0 -412
- package/templates/events-meetups/l10n/lt.json +0 -412
- package/templates/events-meetups/l10n/nl.json +0 -412
- package/templates/events-meetups/l10n/no.json +0 -412
- package/templates/events-meetups/l10n/pl.json +0 -412
- package/templates/events-meetups/l10n/pt.json +0 -412
- package/templates/events-meetups/l10n/ru.json +0 -412
- package/templates/events-meetups/l10n/sv.json +0 -412
- package/templates/events-meetups/l10n/th.json +0 -412
- package/templates/events-meetups/l10n/tr.json +0 -412
- package/templates/events-meetups/l10n/uk.json +0 -412
- package/templates/events-meetups/l10n/vi.json +0 -412
- package/templates/events-meetups/l10n/zh.json +0 -412
- package/templates/gym-fitness/l10n/ar.json +9 -405
- package/templates/gym-fitness/l10n/cs.json +9 -405
- package/templates/gym-fitness/l10n/da.json +9 -405
- package/templates/gym-fitness/l10n/de.json +9 -405
- package/templates/gym-fitness/l10n/el.json +9 -405
- package/templates/gym-fitness/l10n/en.json +8 -51
- package/templates/gym-fitness/l10n/es.json +9 -405
- package/templates/gym-fitness/l10n/fi.json +9 -405
- package/templates/gym-fitness/l10n/fr.json +9 -405
- package/templates/gym-fitness/l10n/he.json +9 -326
- package/templates/gym-fitness/l10n/hu.json +9 -405
- package/templates/gym-fitness/l10n/id.json +9 -405
- package/templates/gym-fitness/l10n/it.json +9 -405
- package/templates/gym-fitness/l10n/ja.json +9 -405
- package/templates/gym-fitness/l10n/ko.json +9 -405
- package/templates/gym-fitness/l10n/lt.json +9 -405
- package/templates/gym-fitness/l10n/nl.json +9 -405
- package/templates/gym-fitness/l10n/no.json +9 -405
- package/templates/gym-fitness/l10n/pl.json +9 -405
- package/templates/gym-fitness/l10n/pt.json +9 -405
- package/templates/gym-fitness/l10n/ru.json +9 -405
- package/templates/gym-fitness/l10n/sv.json +9 -405
- package/templates/gym-fitness/l10n/th.json +9 -405
- package/templates/gym-fitness/l10n/tr.json +9 -405
- package/templates/gym-fitness/l10n/uk.json +9 -405
- package/templates/gym-fitness/l10n/vi.json +9 -405
- package/templates/gym-fitness/l10n/zh.json +9 -405
- package/templates/nonprofit-cause/l10n/ar.json +0 -387
- package/templates/nonprofit-cause/l10n/cs.json +0 -387
- package/templates/nonprofit-cause/l10n/da.json +0 -387
- package/templates/nonprofit-cause/l10n/de.json +0 -387
- package/templates/nonprofit-cause/l10n/el.json +0 -387
- package/templates/nonprofit-cause/l10n/en.json +1 -46
- package/templates/nonprofit-cause/l10n/es.json +0 -387
- package/templates/nonprofit-cause/l10n/fi.json +0 -387
- package/templates/nonprofit-cause/l10n/fr.json +0 -387
- package/templates/nonprofit-cause/l10n/he.json +0 -311
- package/templates/nonprofit-cause/l10n/hu.json +0 -387
- package/templates/nonprofit-cause/l10n/id.json +0 -387
- package/templates/nonprofit-cause/l10n/it.json +0 -387
- package/templates/nonprofit-cause/l10n/ja.json +0 -387
- package/templates/nonprofit-cause/l10n/ko.json +0 -387
- package/templates/nonprofit-cause/l10n/lt.json +0 -387
- package/templates/nonprofit-cause/l10n/nl.json +0 -387
- package/templates/nonprofit-cause/l10n/no.json +0 -387
- package/templates/nonprofit-cause/l10n/pl.json +0 -387
- package/templates/nonprofit-cause/l10n/pt.json +0 -387
- package/templates/nonprofit-cause/l10n/ru.json +0 -387
- package/templates/nonprofit-cause/l10n/sv.json +0 -387
- package/templates/nonprofit-cause/l10n/th.json +0 -387
- package/templates/nonprofit-cause/l10n/tr.json +0 -387
- package/templates/nonprofit-cause/l10n/uk.json +0 -387
- package/templates/nonprofit-cause/l10n/vi.json +0 -387
- package/templates/nonprofit-cause/l10n/zh.json +0 -387
- package/templates/podcast-creator/l10n/ar.json +0 -417
- package/templates/podcast-creator/l10n/cs.json +0 -417
- package/templates/podcast-creator/l10n/da.json +0 -417
- package/templates/podcast-creator/l10n/de.json +0 -417
- package/templates/podcast-creator/l10n/el.json +0 -417
- package/templates/podcast-creator/l10n/en.json +1 -46
- package/templates/podcast-creator/l10n/es.json +0 -417
- package/templates/podcast-creator/l10n/fi.json +0 -417
- package/templates/podcast-creator/l10n/fr.json +0 -417
- package/templates/podcast-creator/l10n/he.json +0 -335
- package/templates/podcast-creator/l10n/hu.json +0 -417
- package/templates/podcast-creator/l10n/id.json +0 -417
- package/templates/podcast-creator/l10n/it.json +0 -417
- package/templates/podcast-creator/l10n/ja.json +0 -417
- package/templates/podcast-creator/l10n/ko.json +0 -417
- package/templates/podcast-creator/l10n/lt.json +0 -417
- package/templates/podcast-creator/l10n/nl.json +0 -417
- package/templates/podcast-creator/l10n/no.json +0 -417
- package/templates/podcast-creator/l10n/pl.json +0 -417
- package/templates/podcast-creator/l10n/pt.json +0 -417
- package/templates/podcast-creator/l10n/ru.json +0 -417
- package/templates/podcast-creator/l10n/sv.json +0 -417
- package/templates/podcast-creator/l10n/th.json +0 -417
- package/templates/podcast-creator/l10n/tr.json +0 -417
- package/templates/podcast-creator/l10n/uk.json +0 -417
- package/templates/podcast-creator/l10n/vi.json +0 -417
- package/templates/podcast-creator/l10n/zh.json +0 -417
- package/templates/portfolio-creative/l10n/ar.json +0 -437
- package/templates/portfolio-creative/l10n/cs.json +0 -437
- package/templates/portfolio-creative/l10n/da.json +0 -437
- package/templates/portfolio-creative/l10n/de.json +0 -437
- package/templates/portfolio-creative/l10n/el.json +0 -437
- package/templates/portfolio-creative/l10n/en.json +1 -46
- package/templates/portfolio-creative/l10n/es.json +0 -437
- package/templates/portfolio-creative/l10n/fi.json +0 -437
- package/templates/portfolio-creative/l10n/fr.json +0 -437
- package/templates/portfolio-creative/l10n/he.json +0 -351
- package/templates/portfolio-creative/l10n/hu.json +0 -437
- package/templates/portfolio-creative/l10n/id.json +0 -437
- package/templates/portfolio-creative/l10n/it.json +0 -437
- package/templates/portfolio-creative/l10n/ja.json +0 -437
- package/templates/portfolio-creative/l10n/ko.json +0 -437
- package/templates/portfolio-creative/l10n/lt.json +0 -437
- package/templates/portfolio-creative/l10n/nl.json +0 -437
- package/templates/portfolio-creative/l10n/no.json +0 -437
- package/templates/portfolio-creative/l10n/pl.json +0 -437
- package/templates/portfolio-creative/l10n/pt.json +0 -437
- package/templates/portfolio-creative/l10n/ru.json +0 -437
- package/templates/portfolio-creative/l10n/sv.json +0 -437
- package/templates/portfolio-creative/l10n/th.json +0 -437
- package/templates/portfolio-creative/l10n/tr.json +0 -437
- package/templates/portfolio-creative/l10n/uk.json +0 -437
- package/templates/portfolio-creative/l10n/vi.json +0 -437
- package/templates/portfolio-creative/l10n/zh.json +0 -437
- package/templates/restaurant/l10n/ar.json +0 -447
- package/templates/restaurant/l10n/cs.json +0 -447
- package/templates/restaurant/l10n/da.json +0 -447
- package/templates/restaurant/l10n/de.json +0 -447
- package/templates/restaurant/l10n/el.json +0 -447
- package/templates/restaurant/l10n/en.json +1 -46
- package/templates/restaurant/l10n/es.json +0 -447
- package/templates/restaurant/l10n/fi.json +0 -447
- package/templates/restaurant/l10n/fr.json +0 -447
- package/templates/restaurant/l10n/he.json +0 -359
- package/templates/restaurant/l10n/hu.json +0 -447
- package/templates/restaurant/l10n/id.json +0 -447
- package/templates/restaurant/l10n/it.json +0 -447
- package/templates/restaurant/l10n/ja.json +0 -447
- package/templates/restaurant/l10n/ko.json +0 -447
- package/templates/restaurant/l10n/lt.json +0 -447
- package/templates/restaurant/l10n/nl.json +0 -447
- package/templates/restaurant/l10n/no.json +0 -447
- package/templates/restaurant/l10n/pl.json +0 -447
- package/templates/restaurant/l10n/pt.json +0 -447
- package/templates/restaurant/l10n/ru.json +0 -447
- package/templates/restaurant/l10n/sv.json +0 -447
- package/templates/restaurant/l10n/th.json +0 -447
- package/templates/restaurant/l10n/tr.json +0 -447
- package/templates/restaurant/l10n/uk.json +0 -447
- package/templates/restaurant/l10n/vi.json +0 -447
- package/templates/restaurant/l10n/zh.json +0 -447
- package/templates/retail-store/l10n/ar.json +0 -462
- package/templates/retail-store/l10n/cs.json +0 -462
- package/templates/retail-store/l10n/da.json +0 -462
- package/templates/retail-store/l10n/de.json +0 -462
- package/templates/retail-store/l10n/el.json +0 -462
- package/templates/retail-store/l10n/en.json +1 -61
- package/templates/retail-store/l10n/es.json +0 -462
- package/templates/retail-store/l10n/fi.json +0 -462
- package/templates/retail-store/l10n/fr.json +0 -462
- package/templates/retail-store/l10n/he.json +0 -371
- package/templates/retail-store/l10n/hu.json +0 -462
- package/templates/retail-store/l10n/id.json +0 -462
- package/templates/retail-store/l10n/it.json +0 -462
- package/templates/retail-store/l10n/ja.json +0 -462
- package/templates/retail-store/l10n/ko.json +0 -462
- package/templates/retail-store/l10n/lt.json +0 -462
- package/templates/retail-store/l10n/nl.json +0 -462
- package/templates/retail-store/l10n/no.json +0 -462
- package/templates/retail-store/l10n/pl.json +0 -462
- package/templates/retail-store/l10n/pt.json +0 -462
- package/templates/retail-store/l10n/ru.json +0 -462
- package/templates/retail-store/l10n/sv.json +0 -462
- package/templates/retail-store/l10n/th.json +0 -462
- package/templates/retail-store/l10n/tr.json +0 -462
- package/templates/retail-store/l10n/uk.json +0 -462
- package/templates/retail-store/l10n/vi.json +0 -462
- package/templates/retail-store/l10n/zh.json +0 -462
- package/templates/yoga-studio/l10n/ar.json +9 -197
- package/templates/yoga-studio/l10n/cs.json +9 -197
- package/templates/yoga-studio/l10n/da.json +9 -197
- package/templates/yoga-studio/l10n/de.json +9 -197
- package/templates/yoga-studio/l10n/el.json +9 -197
- package/templates/yoga-studio/l10n/en.json +8 -30
- package/templates/yoga-studio/l10n/es.json +9 -197
- package/templates/yoga-studio/l10n/fi.json +9 -197
- package/templates/yoga-studio/l10n/fr.json +9 -197
- package/templates/yoga-studio/l10n/he.json +9 -159
- package/templates/yoga-studio/l10n/hu.json +9 -197
- package/templates/yoga-studio/l10n/id.json +9 -197
- package/templates/yoga-studio/l10n/it.json +9 -197
- package/templates/yoga-studio/l10n/ja.json +9 -197
- package/templates/yoga-studio/l10n/ko.json +9 -197
- package/templates/yoga-studio/l10n/lt.json +9 -197
- package/templates/yoga-studio/l10n/nl.json +9 -197
- package/templates/yoga-studio/l10n/no.json +9 -197
- package/templates/yoga-studio/l10n/pl.json +9 -197
- package/templates/yoga-studio/l10n/pt.json +9 -197
- package/templates/yoga-studio/l10n/ru.json +9 -197
- package/templates/yoga-studio/l10n/sv.json +9 -197
- package/templates/yoga-studio/l10n/th.json +9 -197
- package/templates/yoga-studio/l10n/tr.json +9 -197
- package/templates/yoga-studio/l10n/uk.json +9 -197
- package/templates/yoga-studio/l10n/vi.json +9 -197
- package/templates/yoga-studio/l10n/zh.json +9 -197
- package/templates/beauty-salon/recipes/announcement-card.json +0 -72
- package/templates/beauty-salon/recipes/blog-hero.json +0 -95
- package/templates/beauty-salon/recipes/blog-list-thumb-start.json +0 -394
- package/templates/beauty-salon/recipes/blog-list.json +0 -394
- package/templates/beauty-salon/recipes/blog-see-all.json +0 -50
- package/templates/beauty-salon/recipes/events-inline-list.json +0 -228
- package/templates/beauty-salon/recipes/events-inline.json +0 -309
- package/templates/beauty-salon/recipes/faq-list.json +0 -503
- package/templates/beauty-salon/recipes/members-list.json +0 -445
- package/templates/beauty-salon/recipes/plans-card.json +0 -811
- package/templates/beauty-salon/recipes/products-carousel.json +0 -141
- package/templates/beauty-salon/recipes/products-grid.json +0 -143
- package/templates/beauty-salon/recipes/programs-card.json +0 -254
- package/templates/beauty-salon/recipes/programs-carousel.json +0 -234
- package/templates/beauty-salon/recipes/programs-filters.json +0 -94
- package/templates/beauty-salon/recipes/programs-see-all.json +0 -43
- package/templates/beauty-salon/recipes/section-error.json +0 -58
- package/templates/beauty-salon/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/beauty-salon/tier5-src/_shared/event-registration.ts +0 -86
- package/templates/beauty-salon/tier5-src/_shared/events-card.ts +0 -33
- package/templates/beauty-salon/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/beauty-salon/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/beauty-salon/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/beauty-salon/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/beauty-salon/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/beauty-salon/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/beauty-salon/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/beauty-salon/tier5-src/_shared/products-section.ts +0 -76
- package/templates/beauty-salon/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/community-club/recipes/announcement-card.json +0 -72
- package/templates/community-club/recipes/blog-hero.json +0 -95
- package/templates/community-club/recipes/blog-list-thumb-start.json +0 -394
- package/templates/community-club/recipes/blog-list.json +0 -394
- package/templates/community-club/recipes/blog-see-all.json +0 -50
- package/templates/community-club/recipes/events-inline.json +0 -309
- package/templates/community-club/recipes/faq-list.json +0 -503
- package/templates/community-club/recipes/members-list.json +0 -445
- package/templates/community-club/recipes/plans-card.json +0 -811
- package/templates/community-club/recipes/products-carousel.json +0 -141
- package/templates/community-club/recipes/products-grid.json +0 -143
- package/templates/community-club/recipes/programs-card.json +0 -254
- package/templates/community-club/recipes/programs-carousel.json +0 -234
- package/templates/community-club/recipes/programs-filters.json +0 -94
- package/templates/community-club/recipes/programs-participant-carousel.json +0 -257
- package/templates/community-club/recipes/programs-see-all.json +0 -43
- package/templates/community-club/recipes/section-error.json +0 -58
- package/templates/community-club/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/community-club/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/community-club/tier5-src/_shared/events-card.ts +0 -33
- package/templates/community-club/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/community-club/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/community-club/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/community-club/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/community-club/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/community-club/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/community-club/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/community-club/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/community-club/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/community-club/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/community-club/tier5-src/_shared/products-section.ts +0 -76
- package/templates/community-club/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/community-club/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/community-club/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/events-meetups/recipes/announcement-card.json +0 -72
- package/templates/events-meetups/recipes/blog-hero.json +0 -95
- package/templates/events-meetups/recipes/blog-list-thumb-start.json +0 -394
- package/templates/events-meetups/recipes/blog-list.json +0 -394
- package/templates/events-meetups/recipes/blog-see-all.json +0 -50
- package/templates/events-meetups/recipes/events-inline-list.json +0 -228
- package/templates/events-meetups/recipes/events-inline.json +0 -309
- package/templates/events-meetups/recipes/faq-list.json +0 -503
- package/templates/events-meetups/recipes/groups-list.json +0 -196
- package/templates/events-meetups/recipes/members-list.json +0 -445
- package/templates/events-meetups/recipes/plans-card.json +0 -811
- package/templates/events-meetups/recipes/products-carousel.json +0 -141
- package/templates/events-meetups/recipes/products-grid.json +0 -143
- package/templates/events-meetups/recipes/programs-card.json +0 -254
- package/templates/events-meetups/recipes/programs-carousel.json +0 -234
- package/templates/events-meetups/recipes/programs-filters.json +0 -94
- package/templates/events-meetups/recipes/programs-see-all.json +0 -43
- package/templates/events-meetups/recipes/section-error.json +0 -58
- package/templates/events-meetups/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/events-meetups/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +0 -51
- package/templates/events-meetups/tier5-src/_shared/events-card.ts +0 -33
- package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/events-meetups/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/events-meetups/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/events-meetups/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/events-meetups/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/events-meetups/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/events-meetups/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/events-meetups/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/events-meetups/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/events-meetups/tier5-src/_shared/products-section.ts +0 -76
- package/templates/events-meetups/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/events-meetups/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/events-meetups/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/gym-fitness/recipes/announcement-card.json +0 -72
- package/templates/gym-fitness/recipes/blog-hero.json +0 -95
- package/templates/gym-fitness/recipes/blog-list-thumb-start.json +0 -394
- package/templates/gym-fitness/recipes/blog-list.json +0 -394
- package/templates/gym-fitness/recipes/blog-see-all.json +0 -50
- package/templates/gym-fitness/recipes/events-inline-list.json +0 -228
- package/templates/gym-fitness/recipes/events-inline.json +0 -309
- package/templates/gym-fitness/recipes/faq-list.json +0 -503
- package/templates/gym-fitness/recipes/groups-list.json +0 -196
- package/templates/gym-fitness/recipes/members-list.json +0 -445
- package/templates/gym-fitness/recipes/plans-card.json +0 -811
- package/templates/gym-fitness/recipes/products-carousel.json +0 -141
- package/templates/gym-fitness/recipes/products-grid.json +0 -143
- package/templates/gym-fitness/recipes/programs-card.json +0 -254
- package/templates/gym-fitness/recipes/programs-carousel.json +0 -234
- package/templates/gym-fitness/recipes/programs-filters.json +0 -94
- package/templates/gym-fitness/recipes/programs-see-all.json +0 -43
- package/templates/gym-fitness/recipes/section-error.json +0 -58
- package/templates/gym-fitness/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/gym-fitness/tier5-src/_shared/events-card.ts +0 -33
- package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/gym-fitness/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/gym-fitness/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/gym-fitness/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/gym-fitness/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/gym-fitness/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/gym-fitness/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/gym-fitness/tier5-src/_shared/products-section.ts +0 -76
- package/templates/gym-fitness/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/nonprofit-cause/recipes/announcement-card.json +0 -72
- package/templates/nonprofit-cause/recipes/blog-hero.json +0 -95
- package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +0 -394
- package/templates/nonprofit-cause/recipes/blog-list.json +0 -394
- package/templates/nonprofit-cause/recipes/blog-see-all.json +0 -50
- package/templates/nonprofit-cause/recipes/events-inline-list.json +0 -228
- package/templates/nonprofit-cause/recipes/events-inline.json +0 -309
- package/templates/nonprofit-cause/recipes/faq-list.json +0 -503
- package/templates/nonprofit-cause/recipes/groups-list.json +0 -196
- package/templates/nonprofit-cause/recipes/members-list.json +0 -445
- package/templates/nonprofit-cause/recipes/plans-card.json +0 -811
- package/templates/nonprofit-cause/recipes/products-carousel.json +0 -141
- package/templates/nonprofit-cause/recipes/products-grid.json +0 -143
- package/templates/nonprofit-cause/recipes/programs-card.json +0 -254
- package/templates/nonprofit-cause/recipes/programs-carousel.json +0 -234
- package/templates/nonprofit-cause/recipes/programs-filters.json +0 -94
- package/templates/nonprofit-cause/recipes/programs-participant-carousel.json +0 -257
- package/templates/nonprofit-cause/recipes/programs-see-all.json +0 -43
- package/templates/nonprofit-cause/recipes/section-error.json +0 -58
- package/templates/nonprofit-cause/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/nonprofit-cause/tier5-src/_shared/events-card.ts +0 -33
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/nonprofit-cause/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/nonprofit-cause/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/nonprofit-cause/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/nonprofit-cause/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/nonprofit-cause/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/nonprofit-cause/tier5-src/_shared/products-section.ts +0 -76
- package/templates/nonprofit-cause/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/podcast-creator/recipes/announcement-card.json +0 -72
- package/templates/podcast-creator/recipes/blog-hero.json +0 -95
- package/templates/podcast-creator/recipes/blog-list-thumb-start.json +0 -394
- package/templates/podcast-creator/recipes/blog-list.json +0 -394
- package/templates/podcast-creator/recipes/blog-see-all.json +0 -50
- package/templates/podcast-creator/recipes/events-inline-list.json +0 -228
- package/templates/podcast-creator/recipes/events-inline.json +0 -309
- package/templates/podcast-creator/recipes/faq-list.json +0 -503
- package/templates/podcast-creator/recipes/groups-list.json +0 -196
- package/templates/podcast-creator/recipes/members-list.json +0 -445
- package/templates/podcast-creator/recipes/plans-card.json +0 -811
- package/templates/podcast-creator/recipes/products-carousel.json +0 -141
- package/templates/podcast-creator/recipes/products-grid.json +0 -143
- package/templates/podcast-creator/recipes/programs-card.json +0 -254
- package/templates/podcast-creator/recipes/programs-carousel.json +0 -234
- package/templates/podcast-creator/recipes/programs-filters.json +0 -94
- package/templates/podcast-creator/recipes/programs-participant-carousel.json +0 -257
- package/templates/podcast-creator/recipes/programs-see-all.json +0 -43
- package/templates/podcast-creator/recipes/section-error.json +0 -58
- package/templates/podcast-creator/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/podcast-creator/tier5-src/_shared/events-card.ts +0 -33
- package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/podcast-creator/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/podcast-creator/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/podcast-creator/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/podcast-creator/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/podcast-creator/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/podcast-creator/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/podcast-creator/tier5-src/_shared/products-section.ts +0 -76
- package/templates/podcast-creator/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/portfolio-creative/recipes/announcement-card.json +0 -72
- package/templates/portfolio-creative/recipes/blog-hero.json +0 -95
- package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +0 -394
- package/templates/portfolio-creative/recipes/blog-list.json +0 -394
- package/templates/portfolio-creative/recipes/blog-see-all.json +0 -50
- package/templates/portfolio-creative/recipes/events-inline-list.json +0 -228
- package/templates/portfolio-creative/recipes/events-inline.json +0 -309
- package/templates/portfolio-creative/recipes/faq-list.json +0 -503
- package/templates/portfolio-creative/recipes/groups-list.json +0 -196
- package/templates/portfolio-creative/recipes/members-list.json +0 -445
- package/templates/portfolio-creative/recipes/plans-card.json +0 -811
- package/templates/portfolio-creative/recipes/products-carousel.json +0 -141
- package/templates/portfolio-creative/recipes/products-grid.json +0 -143
- package/templates/portfolio-creative/recipes/programs-card.json +0 -254
- package/templates/portfolio-creative/recipes/programs-carousel.json +0 -234
- package/templates/portfolio-creative/recipes/programs-filters.json +0 -94
- package/templates/portfolio-creative/recipes/programs-participant-carousel.json +0 -257
- package/templates/portfolio-creative/recipes/programs-see-all.json +0 -43
- package/templates/portfolio-creative/recipes/section-error.json +0 -58
- package/templates/portfolio-creative/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/portfolio-creative/tier5-src/_shared/events-card.ts +0 -33
- package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/portfolio-creative/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/portfolio-creative/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/portfolio-creative/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/portfolio-creative/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/portfolio-creative/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/portfolio-creative/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/portfolio-creative/tier5-src/_shared/products-section.ts +0 -76
- package/templates/portfolio-creative/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/restaurant/recipes/announcement-card.json +0 -72
- package/templates/restaurant/recipes/blog-hero.json +0 -95
- package/templates/restaurant/recipes/blog-list-thumb-start.json +0 -394
- package/templates/restaurant/recipes/blog-list.json +0 -394
- package/templates/restaurant/recipes/blog-see-all.json +0 -50
- package/templates/restaurant/recipes/events-inline-list.json +0 -228
- package/templates/restaurant/recipes/events-inline.json +0 -309
- package/templates/restaurant/recipes/faq-list.json +0 -503
- package/templates/restaurant/recipes/groups-list.json +0 -196
- package/templates/restaurant/recipes/members-list.json +0 -445
- package/templates/restaurant/recipes/plans-card.json +0 -811
- package/templates/restaurant/recipes/products-carousel.json +0 -141
- package/templates/restaurant/recipes/products-grid.json +0 -143
- package/templates/restaurant/recipes/programs-card.json +0 -254
- package/templates/restaurant/recipes/programs-carousel.json +0 -234
- package/templates/restaurant/recipes/programs-filters.json +0 -94
- package/templates/restaurant/recipes/programs-participant-carousel.json +0 -257
- package/templates/restaurant/recipes/programs-see-all.json +0 -43
- package/templates/restaurant/recipes/section-error.json +0 -58
- package/templates/restaurant/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/restaurant/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/restaurant/tier5-src/_shared/events-card.ts +0 -33
- package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/restaurant/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/restaurant/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/restaurant/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/restaurant/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/restaurant/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/restaurant/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/restaurant/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/restaurant/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/restaurant/tier5-src/_shared/products-section.ts +0 -76
- package/templates/restaurant/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/restaurant/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/restaurant/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/retail-store/recipes/announcement-card.json +0 -72
- package/templates/retail-store/recipes/blog-hero.json +0 -95
- package/templates/retail-store/recipes/blog-list-thumb-start.json +0 -394
- package/templates/retail-store/recipes/blog-list.json +0 -394
- package/templates/retail-store/recipes/blog-see-all.json +0 -50
- package/templates/retail-store/recipes/events-inline-list.json +0 -228
- package/templates/retail-store/recipes/events-inline.json +0 -309
- package/templates/retail-store/recipes/faq-list.json +0 -503
- package/templates/retail-store/recipes/groups-list.json +0 -196
- package/templates/retail-store/recipes/members-list.json +0 -445
- package/templates/retail-store/recipes/plans-card.json +0 -811
- package/templates/retail-store/recipes/products-carousel.json +0 -141
- package/templates/retail-store/recipes/products-grid.json +0 -143
- package/templates/retail-store/recipes/programs-card.json +0 -254
- package/templates/retail-store/recipes/programs-carousel.json +0 -234
- package/templates/retail-store/recipes/programs-filters.json +0 -94
- package/templates/retail-store/recipes/programs-participant-carousel.json +0 -257
- package/templates/retail-store/recipes/programs-see-all.json +0 -43
- package/templates/retail-store/recipes/section-error.json +0 -58
- package/templates/retail-store/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/retail-store/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/retail-store/tier5-src/_shared/event-registration.ts +0 -86
- package/templates/retail-store/tier5-src/_shared/events-card.ts +0 -33
- package/templates/retail-store/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/retail-store/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/retail-store/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/retail-store/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/retail-store/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/retail-store/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/retail-store/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/retail-store/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/retail-store/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/retail-store/tier5-src/_shared/products-section.ts +0 -76
- package/templates/retail-store/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/retail-store/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/retail-store/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/yoga-studio/recipes/announcement-card.json +0 -72
- package/templates/yoga-studio/recipes/blog-hero.json +0 -95
- package/templates/yoga-studio/recipes/blog-list-thumb-start.json +0 -394
- package/templates/yoga-studio/recipes/blog-list.json +0 -394
- package/templates/yoga-studio/recipes/blog-see-all.json +0 -50
- package/templates/yoga-studio/recipes/events-inline-list.json +0 -228
- package/templates/yoga-studio/recipes/events-inline.json +0 -309
- package/templates/yoga-studio/recipes/faq-list.json +0 -503
- package/templates/yoga-studio/recipes/groups-list.json +0 -196
- package/templates/yoga-studio/recipes/members-list.json +0 -445
- package/templates/yoga-studio/recipes/plans-card.json +0 -811
- package/templates/yoga-studio/recipes/products-carousel.json +0 -141
- package/templates/yoga-studio/recipes/products-grid.json +0 -143
- package/templates/yoga-studio/recipes/programs-card.json +0 -254
- package/templates/yoga-studio/recipes/programs-carousel.json +0 -234
- package/templates/yoga-studio/recipes/programs-filters.json +0 -94
- package/templates/yoga-studio/recipes/programs-participant-carousel.json +0 -257
- package/templates/yoga-studio/recipes/programs-see-all.json +0 -43
- package/templates/yoga-studio/recipes/section-error.json +0 -58
- package/templates/yoga-studio/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/yoga-studio/tier5-src/_shared/events-card.ts +0 -33
- package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/yoga-studio/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/yoga-studio/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/yoga-studio/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/yoga-studio/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/yoga-studio/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/yoga-studio/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/yoga-studio/tier5-src/_shared/products-section.ts +0 -76
- package/templates/yoga-studio/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +0 -21
- /package/templates/{community-club → brandy}/tier5-src/_shared/detail-presence.ts +0 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { dispatch } from "@himalaya/dispatch";
|
|
2
|
+
// Relative for node resolution (see himi-store.ts note); rewritten off-repo.
|
|
3
|
+
import { displayName, getMyData, initials, type WixMyData } from "@himalaya/wix-users";
|
|
4
|
+
import { getMyMember } from "@himalaya/wix-members";
|
|
5
|
+
import { wixMediaUrl } from "@himalaya/wix-media";
|
|
6
|
+
import { formatDateMedium, formatWeekdayDateTime } from "../_shared/engine-intl.js";
|
|
7
|
+
import { copyParam } from "./himi-copy.js";
|
|
8
|
+
|
|
9
|
+
export interface AccountProfile {
|
|
10
|
+
isMember: boolean;
|
|
11
|
+
identityLine: string;
|
|
12
|
+
detailLine: string;
|
|
13
|
+
memberName: string;
|
|
14
|
+
memberEmail: string;
|
|
15
|
+
memberImage: string;
|
|
16
|
+
memberInitials: string;
|
|
17
|
+
hasMemberImage: boolean;
|
|
18
|
+
noMemberImage: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface AccountActivityRow {
|
|
22
|
+
id: string;
|
|
23
|
+
title: string;
|
|
24
|
+
subtitle: string;
|
|
25
|
+
meta: string;
|
|
26
|
+
status: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function strOf(arg: unknown): string {
|
|
30
|
+
if (typeof arg === "string") return arg;
|
|
31
|
+
const a = arg as { value?: string; text?: string } | undefined;
|
|
32
|
+
return a?.value ?? a?.text ?? "";
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function titleCase(value?: string): string {
|
|
36
|
+
return (value || "")
|
|
37
|
+
.toLowerCase()
|
|
38
|
+
.split(/[_\s-]+/)
|
|
39
|
+
.filter(Boolean)
|
|
40
|
+
.map((part) => part[0].toUpperCase() + part.slice(1))
|
|
41
|
+
.join(" ");
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function fmtDate(value?: string): string {
|
|
45
|
+
if (!value) return "";
|
|
46
|
+
const date = new Date(value);
|
|
47
|
+
if (Number.isNaN(date.getTime())) return "";
|
|
48
|
+
return formatDateMedium(date);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function fmtDateTime(value?: string): string {
|
|
52
|
+
if (!value) return "";
|
|
53
|
+
const date = new Date(value);
|
|
54
|
+
if (Number.isNaN(date.getTime())) return "";
|
|
55
|
+
return formatWeekdayDateTime(date);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function initialsFromName(value: string): string {
|
|
59
|
+
const parts = value.trim().split(/\s+/).filter(Boolean);
|
|
60
|
+
if (!parts.length) return "";
|
|
61
|
+
const first = parts[0]?.[0] ?? "";
|
|
62
|
+
const last = parts.length > 1 ? parts[parts.length - 1]?.[0] ?? "" : "";
|
|
63
|
+
return (first + last).toUpperCase();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function profileImage(data: WixMyData): string {
|
|
67
|
+
const profile = data.profile as { profileImage?: string; photo?: { url?: string }; imageUrl?: string } | undefined;
|
|
68
|
+
return profile?.profileImage || profile?.photo?.url || profile?.imageUrl || "";
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function profileFromData(data: WixMyData, fallbackEmail = ""): AccountProfile {
|
|
72
|
+
const email = fallbackEmail || data.email || data.contactEmail || "";
|
|
73
|
+
const name = displayName(data) || email || "Member";
|
|
74
|
+
const image = profileImage(data);
|
|
75
|
+
return {
|
|
76
|
+
isMember: true,
|
|
77
|
+
identityLine: copyParam("account.signedIn", "Signed in"),
|
|
78
|
+
detailLine: email || name,
|
|
79
|
+
memberName: name,
|
|
80
|
+
memberEmail: email,
|
|
81
|
+
memberImage: image,
|
|
82
|
+
memberInitials: initials(data) || initialsFromName(name) || "M",
|
|
83
|
+
hasMemberImage: !!image,
|
|
84
|
+
noMemberImage: !image,
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/** The signed-in site member's name and photo from their member record, or undefined when it
|
|
89
|
+
* cannot be read or names nobody (the caller then shows the email). */
|
|
90
|
+
async function siteMemberProfile(email: string): Promise<AccountProfile | undefined> {
|
|
91
|
+
try {
|
|
92
|
+
const member = (await getMyMember({ fieldsets: ["FULL"] }))?.member;
|
|
93
|
+
const name = [member?.contact?.firstName, member?.contact?.lastName].map((part) => (part ?? "").trim()).filter(Boolean).join(" ")
|
|
94
|
+
|| (member?.profile?.nickname ?? "").trim();
|
|
95
|
+
if (!name) return undefined;
|
|
96
|
+
const image = wixMediaUrl(member?.profile?.photo?.url) || wixMediaUrl(member?.profile?.photo?.id) || "";
|
|
97
|
+
return {
|
|
98
|
+
isMember: true,
|
|
99
|
+
identityLine: copyParam("account.signedIn", "Signed in"),
|
|
100
|
+
detailLine: email || name,
|
|
101
|
+
memberName: name,
|
|
102
|
+
memberEmail: email || member?.loginEmail || "",
|
|
103
|
+
memberImage: image,
|
|
104
|
+
memberInitials: initialsFromName(name) || "M",
|
|
105
|
+
hasMemberImage: !!image,
|
|
106
|
+
noMemberImage: !image,
|
|
107
|
+
};
|
|
108
|
+
} catch {
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function guestProfile(detailLine: string): AccountProfile {
|
|
114
|
+
return {
|
|
115
|
+
isMember: false,
|
|
116
|
+
identityLine: copyParam("account.guestIdentity", "Browsing as a guest"),
|
|
117
|
+
detailLine,
|
|
118
|
+
memberName: "",
|
|
119
|
+
memberEmail: "",
|
|
120
|
+
memberImage: "",
|
|
121
|
+
memberInitials: "M",
|
|
122
|
+
hasMemberImage: false,
|
|
123
|
+
noMemberImage: true,
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/** `himi.wix.memberIdentity`: the member's email ("" when none is known) and whether a member is
|
|
128
|
+
* signed in. `signedIn` is true only when the host says so explicitly — native hosts answer it
|
|
129
|
+
* for a member whose email is not known yet (an injected or hosted session before `members/my`
|
|
130
|
+
* answers); hosts that predate it answer the email alone. */
|
|
131
|
+
export async function memberIdentity(): Promise<{ email: string; signedIn: boolean }> {
|
|
132
|
+
try {
|
|
133
|
+
const identity = await dispatch("himi.wix.memberIdentity") as unknown;
|
|
134
|
+
const direct = identity as { email?: unknown; signedIn?: unknown } | null;
|
|
135
|
+
const wrapped = identity as { payload?: { email?: unknown; signedIn?: unknown } } | null;
|
|
136
|
+
const raw = direct?.email ?? wrapped?.payload?.email;
|
|
137
|
+
const email = typeof raw === "string" ? raw : "";
|
|
138
|
+
const signedIn = (direct?.signedIn ?? wrapped?.payload?.signedIn) === true;
|
|
139
|
+
return { email, signedIn: signedIn || !!email };
|
|
140
|
+
} catch {
|
|
141
|
+
return { email: "", signedIn: false };
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export async function signedInEmail(): Promise<string> {
|
|
146
|
+
return (await memberIdentity()).email;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/** A signed-in member nothing names yet: signed in, with a neutral label rather than another
|
|
150
|
+
* member's name or the sign-in form. */
|
|
151
|
+
function neutralMemberProfile(): AccountProfile {
|
|
152
|
+
const name = copyParam("account.member", "Member");
|
|
153
|
+
return {
|
|
154
|
+
isMember: true,
|
|
155
|
+
identityLine: copyParam("account.signedIn", "Signed in"),
|
|
156
|
+
detailLine: name,
|
|
157
|
+
memberName: name,
|
|
158
|
+
memberEmail: "",
|
|
159
|
+
memberImage: "",
|
|
160
|
+
memberInitials: "M",
|
|
161
|
+
hasMemberImage: false,
|
|
162
|
+
noMemberImage: true,
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export async function loadMemberProfile(guestDetailLine: string): Promise<AccountProfile> {
|
|
167
|
+
// `himi.wix.memberIdentity` is the session source of truth. Visitor-scoped
|
|
168
|
+
// getMyData can still return a site/account nickname (e.g. apptestercoowner)
|
|
169
|
+
// after sign-out or for anonymous — never treat that as a signed-in member.
|
|
170
|
+
const identity = await memberIdentity();
|
|
171
|
+
if (!identity.signedIn) return guestProfile(guestDetailLine);
|
|
172
|
+
const storedEmail = identity.email;
|
|
173
|
+
if (!storedEmail) return (await siteMemberProfile("")) ?? neutralMemberProfile();
|
|
174
|
+
try {
|
|
175
|
+
const data = await getMyData();
|
|
176
|
+
return profileFromData(data, storedEmail);
|
|
177
|
+
} catch {
|
|
178
|
+
// The account profile is an owner endpoint: the web host refuses it, and a site member need
|
|
179
|
+
// not have one. The member's own record (the Members API) still names them.
|
|
180
|
+
const member = await siteMemberProfile(storedEmail);
|
|
181
|
+
if (member) return member;
|
|
182
|
+
return {
|
|
183
|
+
isMember: true,
|
|
184
|
+
identityLine: copyParam("account.signedIn", "Signed in"),
|
|
185
|
+
detailLine: storedEmail,
|
|
186
|
+
memberName: storedEmail,
|
|
187
|
+
memberEmail: storedEmail,
|
|
188
|
+
memberImage: "",
|
|
189
|
+
memberInitials: initialsFromName(storedEmail) || "M",
|
|
190
|
+
hasMemberImage: false,
|
|
191
|
+
noMemberImage: true,
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Graduated to the SDK (SP-3): the store display helpers + v3 product query now live in
|
|
2
|
+
// @himalaya/wix-stores. This thin re-export keeps existing bundle imports working; new
|
|
3
|
+
// code should import from "@himalaya/wix-stores" directly.
|
|
4
|
+
// Relative so node (tests importing worker sources) resolves it too — the bare
|
|
5
|
+
// "@himalaya/wix-stores" name exists only in the esbuild alias map / the off-repo
|
|
6
|
+
// umbrella. gen-templates.mts rewrites this back to @himalaya/wix-stores off-repo.
|
|
7
|
+
export * from "@himalaya/wix-stores";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Shared display-text helpers for himi cards: trim catalog artifacts from titles and
|
|
2
|
+
// derive up-to-two-letter placeholder initials so same-first-letter lists still vary.
|
|
3
|
+
|
|
4
|
+
/** Trim trailing artifact markers (stray asterisks / footnote daggers) and whitespace
|
|
5
|
+
* that leak from test/seed catalogs, without touching interior punctuation. Falls back
|
|
6
|
+
* to the original when trimming would empty the string. */
|
|
7
|
+
export function cleanTitle(value?: string): string {
|
|
8
|
+
const raw = (value ?? "").trim();
|
|
9
|
+
const cleaned = raw.replace(/[\s*†‡]+$/u, "").trim();
|
|
10
|
+
return cleaned || raw;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** Up to two significant initials for a placeholder avatar. Two-plus words → first
|
|
14
|
+
* letter of the first two; a single word → its first two alphanumerics. Keeps a list
|
|
15
|
+
* of similar names (e.g. many "Booking…") from collapsing to one identical glyph. */
|
|
16
|
+
export function initials(value?: string): string {
|
|
17
|
+
const words = (value ?? "").trim().split(/\s+/).filter(Boolean);
|
|
18
|
+
if (words.length === 0) return "#";
|
|
19
|
+
if (words.length === 1) {
|
|
20
|
+
const alnum = words[0].replace(/[^\p{L}\p{N}]/gu, "");
|
|
21
|
+
return (alnum.slice(0, 2) || "#").toUpperCase();
|
|
22
|
+
}
|
|
23
|
+
return ((words[0][0] ?? "") + (words[1][0] ?? "")).toUpperCase();
|
|
24
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// Hosted checkout. A Branded Lite hosted in a host shell (Spaces) pays as the member the host
|
|
2
|
+
// lent it: Headless `createRedirectSession` does not take a Member instance, so the HOST opens the site's
|
|
3
|
+
// checkout signed in as that member. The worker names only its ecom checkout; the host reads Wix's
|
|
4
|
+
// checkout URL, mints a one-time member session and opens the site's `createSessionCookie` → checkout.
|
|
5
|
+
// The session token never reaches this worker.
|
|
6
|
+
//
|
|
7
|
+
// Classic Wix Events tickets and classic Pricing Plans have no ecom checkout: for those the
|
|
8
|
+
// worker names the page by id (`himi.host.memberSitePage`) and the host opens the site's own event or
|
|
9
|
+
// plans page the same way, signed in — where the member picks and pays on the site. A member's orders
|
|
10
|
+
// are the same (Wix lists them to no member identity), so My orders opens the site's own page too.
|
|
11
|
+
|
|
12
|
+
import { dispatch } from "@himalaya/dispatch";
|
|
13
|
+
import { hostSiteFromInput } from "./branded-lite-hosted.js";
|
|
14
|
+
|
|
15
|
+
/** The host verbs (registered by the host shell, never by the app itself). The first prepares the
|
|
16
|
+
* checkout and answers a one-time ticket; the second opens it. Two steps so the caller's charge guard
|
|
17
|
+
* is re-read after the host's network round trips and right before the checkout opens — the prepared
|
|
18
|
+
* URL (which carries the member's session token) stays in the host; only the ticket crosses here. */
|
|
19
|
+
export const HOSTED_CHECKOUT_ACTION = "himi.host.memberCheckout";
|
|
20
|
+
export const HOSTED_CHECKOUT_OPEN_ACTION = "himi.host.memberCheckout.open";
|
|
21
|
+
/** Prepares a site PAGE (not an ecom checkout) the same way; opened with [HOSTED_CHECKOUT_OPEN_ACTION]. */
|
|
22
|
+
export const HOSTED_SITE_PAGE_ACTION = "himi.host.memberSitePage";
|
|
23
|
+
|
|
24
|
+
/** A site page a hosted worker may ask its host for — ids only, never a URL: the host reads the URL
|
|
25
|
+
* from Wix itself and decides whether the member may be signed in there. */
|
|
26
|
+
export type HostedSitePage = { page: "event"; eventId: string } | { page: "plans"; planId?: string } | { page: "orders" };
|
|
27
|
+
|
|
28
|
+
/** Whether this worker runs inside a host that opened a site for it. */
|
|
29
|
+
export function isHostedWorker(): boolean {
|
|
30
|
+
return hostSiteFromInput((globalThis as { himalaya?: { input?: unknown } }).himalaya?.input) !== null;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
type HostAnswer = { opened?: unknown; ticket?: unknown; payload?: { opened?: unknown; ticket?: unknown } } | null;
|
|
34
|
+
type HostOpener = (stillMayCharge: () => Promise<boolean>) => Promise<boolean | "withdrawn">;
|
|
35
|
+
|
|
36
|
+
/** Prepare with [action] [params] → re-read the guard → open by ticket. A host without the verbs, or one
|
|
37
|
+
* that refused (Wix named no page, an unsafe URL, no account session), → false, never a throw. */
|
|
38
|
+
function hostOpener(action: string, params: Record<string, string>): HostOpener {
|
|
39
|
+
return async (stillMayCharge) => {
|
|
40
|
+
try {
|
|
41
|
+
const prepared = await dispatch(action, params) as HostAnswer;
|
|
42
|
+
const ticket = prepared?.ticket ?? prepared?.payload?.ticket;
|
|
43
|
+
if (typeof ticket !== "string" || !ticket) return false;
|
|
44
|
+
// An unopened ticket simply expires in the host: nothing to cancel.
|
|
45
|
+
if (!(await stillMayCharge())) return "withdrawn";
|
|
46
|
+
const result = await dispatch(HOSTED_CHECKOUT_OPEN_ACTION, { ticket }) as HostAnswer;
|
|
47
|
+
const opened = result?.opened ?? result?.payload?.opened;
|
|
48
|
+
return opened === true || opened === "true";
|
|
49
|
+
} catch {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** `payCashierOrder`'s `openCashier` for a hosted app: the host prepares [checkoutId]'s checkout as the
|
|
56
|
+
* lent member, the caller's guard is re-read, and only then does the host open it. Resolves whether it
|
|
57
|
+
* opened ("withdrawn" when the guard said no); a host without the verbs (or that refused) → false. */
|
|
58
|
+
export function hostedCheckoutOpener(checkoutId: string): HostOpener {
|
|
59
|
+
return hostOpener(HOSTED_CHECKOUT_ACTION, { checkoutId });
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/** The site's own [page] opened by the host, signed in as the lent member where the host deems it safe
|
|
63
|
+
* (a visitor otherwise) — the same two steps and answers as [hostedCheckoutOpener]. */
|
|
64
|
+
export function hostedSitePageOpener(page: HostedSitePage): HostOpener {
|
|
65
|
+
const params: Record<string, string> = page.page === "event"
|
|
66
|
+
? { page: "event", eventId: page.eventId }
|
|
67
|
+
: page.page === "orders" ? { page: "orders" }
|
|
68
|
+
: { page: "plans", ...(page.planId ? { planId: page.planId } : {}) };
|
|
69
|
+
return hostOpener(HOSTED_SITE_PAGE_ACTION, params);
|
|
70
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// Worker-side glue for the shared IAP layer (`@himalaya/iap` catalog pricing and
|
|
2
|
+
// `@himalaya/iap-checkout` → createIapCommerce), shared by every screen that shows or sells an
|
|
3
|
+
// IAP-backed item. Mapping, Apple prices, payment guards, the host scope and the sale live in the
|
|
4
|
+
// SDK; this only supplies the copy and the hydration reset.
|
|
5
|
+
import { hostSessionFromGlobal, type IapPriceCopy } from "@himalaya/iap";
|
|
6
|
+
import type { IapCommerce, IapPurchaseCopy, IapRestoreResult } from "@himalaya/iap-checkout";
|
|
7
|
+
import { paymentSetupMessage } from "./payment-setup.js";
|
|
8
|
+
import { copyParam, copyTemplate } from "./himi-copy.js";
|
|
9
|
+
|
|
10
|
+
/** Price labels from the screen's copy pack (`<prefix>.priceLoadingText`, …). */
|
|
11
|
+
export function iapPriceCopy(prefix: string): IapPriceCopy {
|
|
12
|
+
return {
|
|
13
|
+
loading: copyParam(`${prefix}.priceLoadingText`, "Loading price…"),
|
|
14
|
+
unavailable: copyParam(`${prefix}.priceUnavailableText`, "Price unavailable"),
|
|
15
|
+
oneTimePurchase: copyParam(`${prefix}.oneTimePurchaseLabel`, "One-time purchase"),
|
|
16
|
+
purchaseUnavailable: copyParam(`${prefix}.purchaseUnavailableText`, "Purchasing is not available yet."),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/** App Store purchase labels from the screen's copy pack (`<prefix>.buyCta`, …), for
|
|
21
|
+
* `iapPurchaseFields`. Customer copy only: no backend names, ids or diagnostics. */
|
|
22
|
+
export function iapPurchaseCopy(prefix: string): IapPurchaseCopy {
|
|
23
|
+
return {
|
|
24
|
+
buy: copyParam(`${prefix}.buyCta`, "Buy now"),
|
|
25
|
+
processing: copyParam(`${prefix}.purchaseProcessingText`, "Processing your purchase…"),
|
|
26
|
+
awaitingApproval: copyParam(`${prefix}.purchaseAwaitingApprovalText`, "Waiting for approval"),
|
|
27
|
+
unavailable: copyParam(`${prefix}.purchaseTemporarilyUnavailableText`, "Purchasing is temporarily unavailable."),
|
|
28
|
+
signInRequired: copyParam(`${prefix}.purchaseSignInText`, "Sign in to buy."),
|
|
29
|
+
sitePaymentUnavailable: paymentSetupMessage(prefix),
|
|
30
|
+
memberDetailsRequired: copyParam(`${prefix}.purchaseMemberDetailsText`, "Add your first name, last name and email to your profile, then try again."),
|
|
31
|
+
alreadySubscribed: copyParam(`${prefix}.purchaseAlreadySubscribedText`, "You already have a subscription in this app."),
|
|
32
|
+
retry: copyParam(`${prefix}.purchaseRetryText`, "Something went wrong. Try again."),
|
|
33
|
+
priceChanged: copyParam(`${prefix}.purchasePriceChangedText`, "The price changed. Check it and try again."),
|
|
34
|
+
support: copyParam(`${prefix}.purchaseSupportText`, "We couldn't finish this purchase. Contact support."),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** The Restore purchases control (App Review 3.1.1) a screen binds. */
|
|
39
|
+
export interface IapRestoreFields {
|
|
40
|
+
restoreHidden: boolean;
|
|
41
|
+
restoreLabel: string;
|
|
42
|
+
restoreDisabled: boolean;
|
|
43
|
+
restoreMessage: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** Keep these out of hydration: a restore's answer belongs to the run that got it. */
|
|
47
|
+
export const IAP_RESTORE_KEYS = ["restoreHidden", "restoreLabel", "restoreDisabled", "restoreMessage"] as const;
|
|
48
|
+
|
|
49
|
+
/** The control before the screen knows it sells through Apple. */
|
|
50
|
+
export const NO_IAP_RESTORE: IapRestoreFields = { restoreHidden: true, restoreLabel: "", restoreDisabled: false, restoreMessage: "" };
|
|
51
|
+
|
|
52
|
+
export interface IapRestoreControl {
|
|
53
|
+
/** `sellsThroughApple` is the screen's own signal: its item's App Store route, or Account's
|
|
54
|
+
* purchase readiness. */
|
|
55
|
+
fields(sellsThroughApple: boolean): IapRestoreFields;
|
|
56
|
+
/** Runs the shared `commerce.restore()`, repainting as it starts and when it answers. A tap while
|
|
57
|
+
* one runs is ignored. */
|
|
58
|
+
run(): Promise<void>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** Copy from the screen's pack (`<prefix>.restorePurchasesCta`, …). The restore itself, and the access
|
|
62
|
+
* re-read after it, are the shared commerce's. */
|
|
63
|
+
export function createIapRestore(
|
|
64
|
+
commerce: Pick<IapCommerce, "restore">,
|
|
65
|
+
options: { prefix: string; repaint(): void; /** The session generation; defaults to the host's. */ generation?: () => number },
|
|
66
|
+
): IapRestoreControl {
|
|
67
|
+
const generation = options.generation ?? (() => hostSessionFromGlobal().current().generation);
|
|
68
|
+
let running = false;
|
|
69
|
+
let message = "";
|
|
70
|
+
let messageGeneration = -1;
|
|
71
|
+
|
|
72
|
+
function say(text: string, forGeneration: number): void {
|
|
73
|
+
message = text;
|
|
74
|
+
messageGeneration = forGeneration;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
async function run(): Promise<void> {
|
|
78
|
+
if (running) return;
|
|
79
|
+
running = true;
|
|
80
|
+
const startedFor = generation();
|
|
81
|
+
say(copyParam(`${options.prefix}.restoringText`, "Restoring…"), startedFor);
|
|
82
|
+
options.repaint();
|
|
83
|
+
// Stamped with the session the tap was for: an answer landing after a sign-out is never shown.
|
|
84
|
+
say(restoreMessage(await restored(commerce), options.prefix), startedFor);
|
|
85
|
+
running = false;
|
|
86
|
+
options.repaint();
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
fields: (sellsThroughApple) => ({
|
|
91
|
+
restoreHidden: !sellsThroughApple,
|
|
92
|
+
restoreLabel: copyParam(`${options.prefix}.restorePurchasesCta`, "Restore purchases"),
|
|
93
|
+
restoreDisabled: running,
|
|
94
|
+
// The answer was for the person signed in when it ran; another session never inherits it.
|
|
95
|
+
restoreMessage: sellsThroughApple && messageGeneration === generation() ? message : "",
|
|
96
|
+
}),
|
|
97
|
+
run,
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
function restored(commerce: Pick<IapCommerce, "restore">): Promise<IapRestoreResult> {
|
|
102
|
+
return commerce.restore().catch(() => ({ status: "failed", code: "storeUnavailable" }) as const);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function restoreMessage(result: IapRestoreResult, prefix: string): string {
|
|
106
|
+
if (result.status === "needsSignIn") return copyParam(`${prefix}.restoreSignInText`, "Sign in to restore your purchases.");
|
|
107
|
+
if (result.status === "failed") return result.code === "sessionChanged" ? "" : copyParam(`${prefix}.restoreFailedText`, "Couldn't reach the App Store. Try again.");
|
|
108
|
+
// Every part that happened is said: a recovery never hides a refusal or a purchase still pending.
|
|
109
|
+
const parts = [
|
|
110
|
+
result.recovered === 1 ? copyParam(`${prefix}.restoredOneText`, "Restored 1 purchase.") : "",
|
|
111
|
+
result.recovered > 1 ? copyTemplate(`${prefix}.restoredManyText`, "Restored {count} purchases.", { count: result.recovered }) : "",
|
|
112
|
+
// Held unfinished because Wix refused it (another member's purchase, say).
|
|
113
|
+
result.refused > 0 ? copyParam(`${prefix}.restoreRefusedText`, "A purchase on this Apple ID couldn't be added to this account. Contact support.") : "",
|
|
114
|
+
result.pending > 0 ? copyParam(`${prefix}.restorePendingText`, "A purchase is still being confirmed. Try again in a moment.") : "",
|
|
115
|
+
].filter(Boolean);
|
|
116
|
+
return parts.length ? parts.join(" ") : copyParam(`${prefix}.restoreUpToDateText`, "Your purchases are up to date.");
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** What `notHydrated` does, for a runtime that ignores the option (a binary older than it, still
|
|
120
|
+
* served new bundles): put the listed keys back to their declared values before any action runs,
|
|
121
|
+
* so a persisted price or an enabled purchase action never paints as this run's. */
|
|
122
|
+
export function resetUnhydratedKeysOnOlderRuntime<S extends object>(svc: { getState(): S }, declared: S, keys: readonly (keyof S & string)[]): void {
|
|
123
|
+
if ((globalThis as { himalaya?: { hydrationOptOut?: unknown } }).himalaya?.hydrationOptOut === true) return;
|
|
124
|
+
const booted = svc.getState();
|
|
125
|
+
if (!booted || typeof booted !== "object") return;
|
|
126
|
+
for (const key of keys) booted[key] = declared[key];
|
|
127
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// The member's Inbox rows: every chatroom the member-role chat list returns, business and member alike.
|
|
2
|
+
// Pure, so the worker and its tests share one classification of what a room is.
|
|
3
|
+
|
|
4
|
+
type RecordValue = Record<string, unknown>;
|
|
5
|
+
const object = (value: unknown): RecordValue =>
|
|
6
|
+
value !== null && typeof value === "object" && !Array.isArray(value) ? value as RecordValue : {};
|
|
7
|
+
|
|
8
|
+
/** The two-party room between the member and the business (the Smart Chat room). Another member's
|
|
9
|
+
* room has no `businessContext`, and a contact-less room is not the business's. */
|
|
10
|
+
export function isBusinessRoom(value: unknown): boolean {
|
|
11
|
+
const room = object(value);
|
|
12
|
+
return typeof room.id === "string" && !!room.id &&
|
|
13
|
+
typeof room.participantId === "string" && !!room.participantId &&
|
|
14
|
+
room.participantCount === 2 && room.clientReferenceType === "contactId" &&
|
|
15
|
+
Object.keys(object(room.businessContext)).length > 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface InboxRow {
|
|
19
|
+
id: string;
|
|
20
|
+
title: string;
|
|
21
|
+
subtitle: string;
|
|
22
|
+
/** The screen a tap opens: the business chat for the business room, a thread for any other. */
|
|
23
|
+
screenId: "himi_business_chat" | "himi_chat_thread";
|
|
24
|
+
/** `chatroom` makes the thread use `id` as the room instead of resolving it as a member id. */
|
|
25
|
+
kind: "chatroom" | "";
|
|
26
|
+
photo: string;
|
|
27
|
+
initial: string;
|
|
28
|
+
unread: boolean;
|
|
29
|
+
unreadDot: string;
|
|
30
|
+
/** Sort key only; not bound to the screen. */
|
|
31
|
+
at: number;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const text = (value: unknown): string => (typeof value === "string" ? value.trim() : "");
|
|
35
|
+
|
|
36
|
+
function titleOf(room: RecordValue, business: boolean): string {
|
|
37
|
+
const display = text(object(room.displayData).name);
|
|
38
|
+
if (business) return text(object(room.businessContext).name) || display;
|
|
39
|
+
return display;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/** Newest conversation first; archived rooms and rooms without an id are dropped. `fallbackTitle` names a
|
|
43
|
+
* room that carries no name (the caller passes the localised word, not a hard-coded English one). */
|
|
44
|
+
export function inboxRows(rooms: unknown[], fallbackTitle: string): InboxRow[] {
|
|
45
|
+
const rows: InboxRow[] = [];
|
|
46
|
+
for (const value of rooms) {
|
|
47
|
+
const room = object(value);
|
|
48
|
+
const id = text(room.id);
|
|
49
|
+
if (!id || room.isArchived === true) continue;
|
|
50
|
+
const business = isBusinessRoom(room);
|
|
51
|
+
const title = titleOf(room, business) || fallbackTitle;
|
|
52
|
+
const last = object(room.lastMessage);
|
|
53
|
+
const unread = typeof room.unreadCount === "number" && room.unreadCount > 0;
|
|
54
|
+
rows.push({
|
|
55
|
+
id,
|
|
56
|
+
title,
|
|
57
|
+
subtitle: text(last.summary),
|
|
58
|
+
screenId: business ? "himi_business_chat" : "himi_chat_thread",
|
|
59
|
+
kind: business ? "" : "chatroom",
|
|
60
|
+
photo: text(object(object(room.displayData).image).url),
|
|
61
|
+
initial: (title[0] ?? "#").toUpperCase(),
|
|
62
|
+
unread,
|
|
63
|
+
unreadDot: unread ? "●" : "",
|
|
64
|
+
at: typeof last.createdAt === "number" ? last.createdAt : typeof room.createdAt === "number" ? room.createdAt : 0,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
return rows.sort((a, b) => b.at - a.at);
|
|
68
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
// #2050 — the worker side of a followed live session, shared by the Owner and the
|
|
2
|
+
// Branded order flows.
|
|
3
|
+
//
|
|
4
|
+
// Shared deliberately rather than written twice. The two flows differ only in which
|
|
5
|
+
// record they follow and what they call it; everything that decides whether a
|
|
6
|
+
// background frame can ever reach the device — that a session ref is present, that
|
|
7
|
+
// it carries an expiry, that `pushUpdates` is on so iOS has a token to register — is
|
|
8
|
+
// identical, and two copies of it would drift into one flow silently losing
|
|
9
|
+
// background delivery while the other kept it.
|
|
10
|
+
//
|
|
11
|
+
// What is NOT here, on purpose: the account, the business, and the push token. The
|
|
12
|
+
// worker does not know them and must not choose them. The host reads its own signed-in
|
|
13
|
+
// scope at start and freezes it into the mapping, so a worker cannot scope a
|
|
14
|
+
// subscription to another tenant even by mistake.
|
|
15
|
+
|
|
16
|
+
import { start, end, type LiveActivityComponent } from "@himalaya/live-activity";
|
|
17
|
+
|
|
18
|
+
/** The fields a following worker adds to its own state. Flags are pre-negated
|
|
19
|
+
* because descriptors bind booleans through `hiddenWhen`, which takes one path. */
|
|
20
|
+
export interface LiveSessionFields {
|
|
21
|
+
/** Token for `end`. Empty when nothing is running. */
|
|
22
|
+
liveActivityId: string;
|
|
23
|
+
liveTracking: boolean;
|
|
24
|
+
notLiveTracking: boolean;
|
|
25
|
+
/** One honest line about the live surface — including "this device has none". */
|
|
26
|
+
liveNote: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export const IDLE_LIVE_SESSION: LiveSessionFields = {
|
|
30
|
+
liveActivityId: "",
|
|
31
|
+
liveTracking: false,
|
|
32
|
+
notLiveTracking: true,
|
|
33
|
+
liveNote: "",
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
function node(id: string, type: string, props: Record<string, unknown>): LiveActivityComponent {
|
|
37
|
+
return { id, body: { package: "himalaya", type, props } };
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* The frozen widget-safe frame the live surface renders (family
|
|
42
|
+
* `ios_live_activity`): headline + one detail line. Only widget-safe components —
|
|
43
|
+
* the activity process has no worker, so a Card, Button or list would be dropped by
|
|
44
|
+
* the native renderer rather than rendered.
|
|
45
|
+
*
|
|
46
|
+
* This is the FIRST frame only. Every later frame arrives from the serve plane with
|
|
47
|
+
* its own content, which is the entire point of the subscription: the worker is gone
|
|
48
|
+
* by then.
|
|
49
|
+
*/
|
|
50
|
+
export function liveSessionFrame(headline: string, detail: string): LiveActivityComponent {
|
|
51
|
+
return node("live_root", "VStack", {
|
|
52
|
+
spacing: 6,
|
|
53
|
+
children: [
|
|
54
|
+
node("live_headline", "Text", { text: headline, style: "bodyEmphasis" }),
|
|
55
|
+
node("live_detail", "Text", { text: detail, style: "caption" }),
|
|
56
|
+
],
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface BeginLiveSessionOptions {
|
|
61
|
+
/** Groups related activities (iOS attributes type / Android channel tag). */
|
|
62
|
+
activityType: string;
|
|
63
|
+
entityType: "order" | "booking" | "session";
|
|
64
|
+
/** The exact record id. Scoped by the host's account/business, never global. */
|
|
65
|
+
entityId: string;
|
|
66
|
+
headline: string;
|
|
67
|
+
detail: string;
|
|
68
|
+
/** Exact record route, so the surface opens the record it is about. Required by
|
|
69
|
+
* the subscription registry — a subscription that cannot name its record cannot
|
|
70
|
+
* satisfy "deep-link into the exact record after process death". */
|
|
71
|
+
deepLink: string;
|
|
72
|
+
/** How long the session may live, in seconds from now. */
|
|
73
|
+
ttlSeconds: number;
|
|
74
|
+
/** Re-entry with the activity token (or "" when the device has no live surface). */
|
|
75
|
+
onStarted: (activityId: string) => void;
|
|
76
|
+
/** Copy for the two terminal notes, so each flow speaks its own language. */
|
|
77
|
+
startingNote: string;
|
|
78
|
+
unavailableNote: string;
|
|
79
|
+
now?: () => number;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Which start attempt is still wanted.
|
|
84
|
+
*
|
|
85
|
+
* `beginLiveSession` returns `liveTracking: true` with an EMPTY `liveActivityId`, so
|
|
86
|
+
* the row offers "Stop following" while `start` is still in flight. Stopping in that
|
|
87
|
+
* window used to be silently undone: `stopLiveSession` had no id to end, and the
|
|
88
|
+
* pending `.then` then called `onStarted` and flipped the row back to following —
|
|
89
|
+
* over a surface the OS had just created and the revoked subscription would never
|
|
90
|
+
* address again. A tap the user made is not a tap the app may discard, so the stop
|
|
91
|
+
* invalidates the start instead. (#2237 review)
|
|
92
|
+
*/
|
|
93
|
+
let startGeneration = 0;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Begin following a record. Returns the "starting" fields immediately and re-enters
|
|
97
|
+
* through `onStarted` — `start` is not awaited so the button flips at once, the same
|
|
98
|
+
* pattern the demo live-activity worker uses and for the same reason: T5 is
|
|
99
|
+
* request/response, so an awaited network round trip would freeze the row.
|
|
100
|
+
*/
|
|
101
|
+
export function beginLiveSession(o: BeginLiveSessionOptions): LiveSessionFields {
|
|
102
|
+
const nowSeconds = Math.floor((o.now?.() ?? Date.now()) / 1000);
|
|
103
|
+
const generation = ++startGeneration;
|
|
104
|
+
start({
|
|
105
|
+
activityType: o.activityType,
|
|
106
|
+
content: liveSessionFrame(o.headline, o.detail),
|
|
107
|
+
title: o.headline,
|
|
108
|
+
deepLink: o.deepLink,
|
|
109
|
+
// Both are load-bearing on iOS: `session` records the mapping, `pushUpdates`
|
|
110
|
+
// asks ActivityKit for the token the host registers. With only the first, the
|
|
111
|
+
// device would hold a mapping nothing can ever address.
|
|
112
|
+
pushUpdates: true,
|
|
113
|
+
// Android promotion: a user-followed, bounded, time-sensitive activity is
|
|
114
|
+
// exactly what it is for. The system may still keep it an ordinary notification.
|
|
115
|
+
promoted: true,
|
|
116
|
+
// The SAME TTL the registry session gets, handed to the NATIVE surface too.
|
|
117
|
+
// Omitting it did not mean "use a sensible default": the SDK sends 0,
|
|
118
|
+
// `LiveUpdatePolicy.DEFAULT_TTL_MS` is 0, `duration(0)` returns 0, and the
|
|
119
|
+
// capability then stores `Long.MAX_VALUE` and calls `setTimeoutAfter(0)` — so
|
|
120
|
+
// an Android Live Update with no terminal push and no revocation stayed on
|
|
121
|
+
// the shade forever, while the declared follow TTL said 12 or 24 hours.
|
|
122
|
+
// Android clamps to its own MAX_TTL_MS (8h), which is its bound to enforce.
|
|
123
|
+
// (#2237 review)
|
|
124
|
+
staleAfterMs: o.ttlSeconds * 1000,
|
|
125
|
+
session: {
|
|
126
|
+
entityType: o.entityType,
|
|
127
|
+
entityId: o.entityId,
|
|
128
|
+
expiresAt: nowSeconds + o.ttlSeconds,
|
|
129
|
+
},
|
|
130
|
+
})
|
|
131
|
+
.then((r) => {
|
|
132
|
+
if (generation !== startGeneration) {
|
|
133
|
+
// Unfollowed while this was starting. The surface exists NOW and the
|
|
134
|
+
// unfollow could not end it — there was no id yet — so end it here.
|
|
135
|
+
// Skipping this is what leaves an unaddressable live surface on the
|
|
136
|
+
// device after the user has already stopped.
|
|
137
|
+
if (r.activityId) end({ activityId: r.activityId, dismissAfterMs: 0 });
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
o.onStarted(r.activityId);
|
|
141
|
+
})
|
|
142
|
+
.catch(() => {
|
|
143
|
+
// A failed start has nothing to clean up; it must still not report itself
|
|
144
|
+
// onto a row the user has moved on from.
|
|
145
|
+
if (generation === startGeneration) o.onStarted("");
|
|
146
|
+
});
|
|
147
|
+
return { liveActivityId: "", liveTracking: true, notLiveTracking: false, liveNote: o.startingNote };
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/** Resolve the deferred start. An empty id means the device has no live surface
|
|
151
|
+
* (web, iOS < 16.2, activities or notifications disabled) — reported, not hidden. */
|
|
152
|
+
export function liveSessionStarted(
|
|
153
|
+
activityId: string,
|
|
154
|
+
followingNote: string,
|
|
155
|
+
unavailableNote: string,
|
|
156
|
+
): LiveSessionFields {
|
|
157
|
+
const id = (activityId ?? "").trim();
|
|
158
|
+
if (!id) return { ...IDLE_LIVE_SESSION, liveNote: unavailableNote };
|
|
159
|
+
return { liveActivityId: id, liveTracking: true, notLiveTracking: false, liveNote: followingNote };
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Stop following. Ends the OS surface; the host's own cleanup drops the server
|
|
164
|
+
* subscription, so the server cannot keep pushing to a surface the user dismissed.
|
|
165
|
+
*/
|
|
166
|
+
export function stopLiveSession(activityId: string, stoppedNote: string): LiveSessionFields {
|
|
167
|
+
// Cancels a start still in flight. Unconditional, because the case this exists
|
|
168
|
+
// for is exactly the one where `activityId` is still empty.
|
|
169
|
+
startGeneration++;
|
|
170
|
+
if (activityId) end({ activityId, dismissAfterMs: 0 });
|
|
171
|
+
return { ...IDLE_LIVE_SESSION, liveNote: stoppedNote };
|
|
172
|
+
}
|