cloudcommerce 2.3.0 → 2.3.2

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.
Files changed (215) hide show
  1. package/.github/workflows/test-apps.yml +3 -3
  2. package/CHANGELOG.md +24 -0
  3. package/action.yml +6 -6
  4. package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
  5. package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
  6. package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
  7. package/ecomplus-stores/barra-doce/package.json +2 -2
  8. package/package.json +6 -6
  9. package/packages/api/package.json +1 -1
  10. package/packages/apps/affiliate-program/package.json +1 -1
  11. package/packages/apps/correios/package.json +2 -2
  12. package/packages/apps/custom-payment/package.json +1 -1
  13. package/packages/apps/custom-shipping/package.json +1 -1
  14. package/packages/apps/datafrete/package.json +1 -1
  15. package/packages/apps/discounts/package.json +1 -1
  16. package/packages/apps/emails/package.json +1 -1
  17. package/packages/apps/fb-conversions/package.json +2 -2
  18. package/packages/apps/flash-courier/package.json +1 -1
  19. package/packages/apps/frenet/package.json +1 -1
  20. package/packages/apps/galaxpay/package.json +1 -1
  21. package/packages/apps/google-analytics/package.json +1 -1
  22. package/packages/apps/jadlog/package.json +1 -1
  23. package/packages/apps/loyalty-points/package.json +1 -1
  24. package/packages/apps/mandae/package.json +1 -1
  25. package/packages/apps/melhor-envio/package.json +1 -1
  26. package/packages/apps/mercadopago/package.json +1 -1
  27. package/packages/apps/pagarme/package.json +1 -1
  28. package/packages/apps/pagarme-v5/package.json +1 -1
  29. package/packages/apps/paghiper/package.json +1 -1
  30. package/packages/apps/pix/package.json +1 -1
  31. package/packages/apps/tiny-erp/package.json +1 -1
  32. package/packages/apps/webhooks/package.json +1 -1
  33. package/packages/cli/ci/bunny-config-base.sh +4 -2
  34. package/packages/cli/config/firestore.rules +3 -0
  35. package/packages/cli/package.json +1 -1
  36. package/packages/config/package.json +1 -1
  37. package/packages/emails/package.json +1 -1
  38. package/packages/eslint/package.json +5 -5
  39. package/packages/events/package.json +1 -1
  40. package/packages/feeds/package.json +1 -1
  41. package/packages/firebase/package.json +2 -2
  42. package/packages/i18n/package.json +1 -1
  43. package/packages/modules/package.json +1 -1
  44. package/packages/passport/package.json +1 -1
  45. package/packages/ssr/lib/lib/analytics/send-to-ga4.js +2 -1
  46. package/packages/ssr/lib/lib/analytics/send-to-ga4.js.map +1 -1
  47. package/packages/ssr/lib/lib/analytics-events.js +11 -1
  48. package/packages/ssr/lib/lib/analytics-events.js.map +1 -1
  49. package/packages/ssr/lib/lib/cron-ssr-save-views.js +11 -5
  50. package/packages/ssr/lib/lib/cron-ssr-save-views.js.map +1 -1
  51. package/packages/ssr/lib/lib/serve-storefront.js +35 -21
  52. package/packages/ssr/lib/lib/serve-storefront.js.map +1 -1
  53. package/packages/ssr/package.json +4 -4
  54. package/packages/ssr/src/lib/analytics/send-to-ga4.ts +2 -0
  55. package/packages/ssr/src/lib/analytics-events.ts +11 -1
  56. package/packages/ssr/src/lib/cron-ssr-save-views.ts +11 -8
  57. package/packages/ssr/src/lib/serve-storefront.ts +36 -22
  58. package/packages/storefront/astro.config.mjs +4 -1
  59. package/packages/storefront/config/astro/vue-server.mjs +64 -0
  60. package/packages/storefront/dist/client/_astro/AccountPage.0M6_FdU6.js +1 -0
  61. package/packages/storefront/dist/client/_astro/CartSidebar.L0Vbhsdt.js +1 -0
  62. package/packages/storefront/dist/client/_astro/HeroSlider.ju9TsLrJ.js +1 -0
  63. package/packages/storefront/dist/client/_astro/PitchBar.yqD9ycx5.js +1 -0
  64. package/packages/storefront/dist/client/_astro/Prices.xI1rdM1e.js +1 -0
  65. package/packages/storefront/dist/client/_astro/ProductDetails.FQtM5kpd.js +7 -0
  66. package/packages/storefront/dist/client/_astro/ProductShelf.-4fsYkPB.js +1 -0
  67. package/packages/storefront/dist/client/_astro/ProductShelf.GAAhKdTN.js +1 -0
  68. package/packages/storefront/dist/client/_astro/QuantitySelector.v7L8EYOR.js +1 -0
  69. package/packages/storefront/dist/client/_astro/SearchModal.rasg5jV6.js +1 -0
  70. package/packages/storefront/dist/client/_astro/SearchShowcase.kA6jICYo.js +1 -0
  71. package/packages/storefront/dist/client/_astro/ShopHeader.v_L96Y90.js +7 -0
  72. package/packages/storefront/dist/client/_astro/{_plugin-vue_export-helper.SO-0jCqa.js → _plugin-vue_export-helper.xATGHWd9.js} +2 -2
  73. package/packages/storefront/dist/client/_astro/afetch.OifQZgwR.js +1 -0
  74. package/packages/storefront/dist/client/_astro/client.YJ00ta5M.js +1 -0
  75. package/packages/storefront/dist/client/_astro/customer-session.ZD6tLDQJ.js +7 -0
  76. package/packages/storefront/dist/client/_astro/{firebase-app.VduCDgof.js → firebase-app.iLdzDVjL.js} +1 -1
  77. package/packages/storefront/dist/client/_astro/format-money.1_HtF5S2.js +1 -0
  78. package/packages/storefront/dist/client/_astro/grid-title.pK2Nn3i-.js +1 -0
  79. package/packages/storefront/dist/client/_astro/hoisted.GaT7bmE3.js +1 -0
  80. package/packages/storefront/dist/client/_astro/hoisted.ICXGWNEA.js +1 -0
  81. package/packages/storefront/dist/client/_astro/hoisted.XOXTrHqn.js +1 -0
  82. package/packages/storefront/dist/client/_astro/i18n.zhlBzJt8.js +1 -0
  83. package/packages/storefront/dist/client/_astro/img.AnjeGdy_.js +1 -0
  84. package/packages/storefront/dist/client/_astro/{index-dd468b12.fl8bpn8l.js → index-bea2a320.eWykogwr.js} +93 -93
  85. package/packages/storefront/dist/client/_astro/index.KfrHdfOH.js +1 -0
  86. package/packages/storefront/dist/client/_astro/index.ShNlAyu1.js +1 -0
  87. package/packages/storefront/dist/client/_astro/modules-info.HP6478mG.js +1 -0
  88. package/packages/storefront/dist/client/_astro/name.VA3MEpe0.js +1 -0
  89. package/packages/storefront/dist/client/_astro/server-data.4C60Esyt.js +1 -0
  90. package/packages/storefront/dist/client/_astro/sf-utils.c42cbZ9W.js +13 -0
  91. package/packages/storefront/dist/client/_astro/shopping-cart.nSNNOrp9.js +1 -0
  92. package/packages/storefront/dist/client/_astro/use-analytics.wTmoP8B1.js +1 -0
  93. package/packages/storefront/dist/client/_astro/use-product-card.UFr8SCuD.js +1 -0
  94. package/packages/storefront/dist/client/_astro/use-text-value.lKqoIagH.js +4 -0
  95. package/packages/storefront/dist/server/_noop-middleware.mjs +3 -0
  96. package/packages/storefront/dist/server/chunks/{CartSidebar_yYIzwp_R.mjs → CartSidebar_3_1aFp67.mjs} +1 -1
  97. package/packages/storefront/dist/server/chunks/{SearchModal_GvRUZ6ce.mjs → SearchModal_2azP1u7P.mjs} +1 -1
  98. package/packages/storefront/dist/server/chunks/_.._19fCuQdO.mjs +5 -0
  99. package/packages/storefront/dist/server/chunks/_page__qqIVxbal.mjs +5 -0
  100. package/packages/storefront/dist/server/chunks/account_vK6pmJlz.mjs +5 -0
  101. package/packages/storefront/dist/server/chunks/astro/{assets-service_yXRChsFH.mjs → assets-service_631fRtTy.mjs} +66 -11
  102. package/packages/storefront/dist/server/chunks/{astro_F4pl3toV.mjs → astro_u-oSb215.mjs} +24 -14
  103. package/packages/storefront/dist/server/chunks/index__05fnqFh.mjs +5 -0
  104. package/packages/storefront/dist/server/chunks/node_zqXXqc-u.mjs +5 -0
  105. package/packages/storefront/dist/server/chunks/pages/{__z8Igc_-f.mjs → __ZucPYaOo.mjs} +1313 -979
  106. package/packages/storefront/dist/server/chunks/pages/{_page__-V1Q-Ymk.mjs → _page__0sN9U0SD.mjs} +30 -12
  107. package/packages/storefront/dist/server/chunks/pages/account_OQr_6KN1.mjs +33 -0
  108. package/packages/storefront/dist/server/chunks/pages/{index_QqJiJpFy.mjs → index_3IjgOEIq.mjs} +16 -4
  109. package/packages/storefront/dist/server/chunks/pages/node_OmjWRf8D.mjs +112 -0
  110. package/packages/storefront/dist/server/chunks/pages/~fallback_133FK-CP.mjs +59 -0
  111. package/packages/storefront/dist/server/chunks/~fallback_Wahcp9Wk.mjs +5 -0
  112. package/packages/storefront/dist/server/entry.mjs +289 -166
  113. package/packages/storefront/dist/server/manifest_9FASPYUE.mjs +202 -0
  114. package/packages/storefront/dist/server/renderers.mjs +45 -34
  115. package/packages/storefront/package.json +5 -5
  116. package/packages/storefront/server.d.ts +0 -1
  117. package/packages/storefront/src/lib/$storefront.d.ts +23 -16
  118. package/packages/storefront/src/lib/composables/use-pagination.ts +1 -3
  119. package/packages/storefront/src/lib/layouts/BaseHead.astro +5 -0
  120. package/packages/storefront/src/lib/scripts/git-cms-auth.ts +3 -0
  121. package/packages/storefront/src/lib/scripts/push-analytics-events.ts +14 -7
  122. package/packages/storefront/src/lib/scripts/sso-ecom.ts +0 -0
  123. package/packages/storefront/src/lib/ssr-context.ts +49 -7
  124. package/packages/storefront/src/lib/state/use-analytics.ts +12 -11
  125. package/packages/storefront/src/lib/state/use-storage.ts +23 -9
  126. package/packages/test-base/package.json +1 -1
  127. package/packages/types/package.json +1 -1
  128. package/packages/storefront/dist/client/_astro/AccountPage.HcKW6HTE.js +0 -1
  129. package/packages/storefront/dist/client/_astro/CartSidebar.osvr0MUo.js +0 -1
  130. package/packages/storefront/dist/client/_astro/HeroSlider.I5mC8JdX.js +0 -1
  131. package/packages/storefront/dist/client/_astro/PitchBar.xC4J7MDy.js +0 -1
  132. package/packages/storefront/dist/client/_astro/Prices.Jt09rVKv.js +0 -1
  133. package/packages/storefront/dist/client/_astro/ProductDetails.oouZY3cL.js +0 -7
  134. package/packages/storefront/dist/client/_astro/ProductShelf.dYlXuNId.js +0 -1
  135. package/packages/storefront/dist/client/_astro/ProductShelf.vGE0E3Qf.js +0 -1
  136. package/packages/storefront/dist/client/_astro/QuantitySelector.OL4MN-C_.js +0 -1
  137. package/packages/storefront/dist/client/_astro/SearchModal.d8lbvLay.js +0 -1
  138. package/packages/storefront/dist/client/_astro/SearchShowcase.ynowXX4j.js +0 -1
  139. package/packages/storefront/dist/client/_astro/ShopHeader.l4KJGvUd.js +0 -7
  140. package/packages/storefront/dist/client/_astro/afetch.5c8VmT0-.js +0 -1
  141. package/packages/storefront/dist/client/_astro/client.ZhEmw4hZ.js +0 -1
  142. package/packages/storefront/dist/client/_astro/customer-session.TRPGDX3c.js +0 -7
  143. package/packages/storefront/dist/client/_astro/ecom-icon_12falx.png +0 -0
  144. package/packages/storefront/dist/client/_astro/ecom-icon_15pqnO.png +0 -0
  145. package/packages/storefront/dist/client/_astro/ecom-icon_t3guw.png +0 -0
  146. package/packages/storefront/dist/client/_astro/format-money.iK5LGydz.js +0 -1
  147. package/packages/storefront/dist/client/_astro/grid-title.vGKBy72g.js +0 -1
  148. package/packages/storefront/dist/client/_astro/headphone_T2Jjc.avif +0 -0
  149. package/packages/storefront/dist/client/_astro/headphone_Z1CG18r.webp +0 -0
  150. package/packages/storefront/dist/client/_astro/hoisted.8pwSenCN.js +0 -1
  151. package/packages/storefront/dist/client/_astro/hoisted.SLwcAI01.js +0 -1
  152. package/packages/storefront/dist/client/_astro/hoisted.gqV7f6f3.js +0 -1
  153. package/packages/storefront/dist/client/_astro/i18n.Lxnz1oF-.js +0 -1
  154. package/packages/storefront/dist/client/_astro/img.WnsidxCx.js +0 -1
  155. package/packages/storefront/dist/client/_astro/index.R7A-Pg5V.js +0 -1
  156. package/packages/storefront/dist/client/_astro/index.q6KIyKlJ.js +0 -1
  157. package/packages/storefront/dist/client/_astro/logo_1UBsBq.webp +0 -0
  158. package/packages/storefront/dist/client/_astro/logo_Z1K5PE9.png +0 -0
  159. package/packages/storefront/dist/client/_astro/logo_Z1KIIl1.avif +0 -0
  160. package/packages/storefront/dist/client/_astro/modules-info.WWsUqEPZ.js +0 -1
  161. package/packages/storefront/dist/client/_astro/name.urFqJ5yn.js +0 -1
  162. package/packages/storefront/dist/client/_astro/passion_LHbe9.webp +0 -0
  163. package/packages/storefront/dist/client/_astro/passion_Z23MeUb.avif +0 -0
  164. package/packages/storefront/dist/client/_astro/rect8589_1TtOHY.png +0 -0
  165. package/packages/storefront/dist/client/_astro/rect8589_1f5opX.webp +0 -0
  166. package/packages/storefront/dist/client/_astro/rect8589_IUskt.webp +0 -0
  167. package/packages/storefront/dist/client/_astro/rect8589_Uxfdf.png +0 -0
  168. package/packages/storefront/dist/client/_astro/rect8589_Z15uApA.png +0 -0
  169. package/packages/storefront/dist/client/_astro/rect8589_Z1Ap1Im.avif +0 -0
  170. package/packages/storefront/dist/client/_astro/rect8589_Z1JT1HB.webp +0 -0
  171. package/packages/storefront/dist/client/_astro/rect8589_ZY9mtN.avif +0 -0
  172. package/packages/storefront/dist/client/_astro/rect8589_tMFW0.avif +0 -0
  173. package/packages/storefront/dist/client/_astro/rect859_1TgQXS.avif +0 -0
  174. package/packages/storefront/dist/client/_astro/rect859_2Nm1z.avif +0 -0
  175. package/packages/storefront/dist/client/_astro/rect859_DIqwR.png +0 -0
  176. package/packages/storefront/dist/client/_astro/rect859_Z1IKDb2.png +0 -0
  177. package/packages/storefront/dist/client/_astro/rect859_Z29FI4V.webp +0 -0
  178. package/packages/storefront/dist/client/_astro/rect859_Z2kFHGk.avif +0 -0
  179. package/packages/storefront/dist/client/_astro/rect859_ZkpPFI.webp +0 -0
  180. package/packages/storefront/dist/client/_astro/rect859_jXzBi.png +0 -0
  181. package/packages/storefront/dist/client/_astro/rect859_x1l16.webp +0 -0
  182. package/packages/storefront/dist/client/_astro/rect89_1TSfW7.avif +0 -0
  183. package/packages/storefront/dist/client/_astro/rect89_Z1re32x.webp +0 -0
  184. package/packages/storefront/dist/client/_astro/runtime-core.esm-bundler.XTSAdOlw.js +0 -13
  185. package/packages/storefront/dist/client/_astro/sf-utils.luvTU5uS.js +0 -1
  186. package/packages/storefront/dist/client/_astro/shopping-cart.ATTXCPd0.js +0 -1
  187. package/packages/storefront/dist/client/_astro/use-analytics.WpkjGsWi.js +0 -1
  188. package/packages/storefront/dist/client/_astro/use-product-card.BhUXhJIp.js +0 -1
  189. package/packages/storefront/dist/client/_astro/use-text-value.XE_A2nDM.js +0 -4
  190. package/packages/storefront/dist/client/app/account/index.html +0 -58
  191. package/packages/storefront/dist/client/app/index.html +0 -98
  192. package/packages/storefront/dist/client/blog/1/index.html +0 -86
  193. package/packages/storefront/dist/client/index.html +0 -131
  194. package/packages/storefront/dist/client/macbook-apple-pro-15.4-intel-core-i7-2.6ghz-ram-16gb-ssd-512gb-mr972ll/a-prata/index.html +0 -93
  195. package/packages/storefront/dist/client/monitores-gamer/index.html +0 -95
  196. package/packages/storefront/dist/client/mouse-gamer-corsair-optico-harpoon-rgb-ch-9301011-na/index.html +0 -93
  197. package/packages/storefront/dist/client/p/contato/index.html +0 -90
  198. package/packages/storefront/dist/client/p/terms/index.html +0 -101
  199. package/packages/storefront/dist/client/posts/3/index.html +0 -101
  200. package/packages/storefront/dist/client/posts/4/index.html +0 -101
  201. package/packages/storefront/dist/client/~fallback/index.html +0 -99
  202. package/packages/storefront/dist/server/_empty-middleware.mjs +0 -3
  203. package/packages/storefront/dist/server/chunks/_.._Lq3r7hpv.mjs +0 -6
  204. package/packages/storefront/dist/server/chunks/_page__LqbeNfr1.mjs +0 -6
  205. package/packages/storefront/dist/server/chunks/account_4n4rpirV.mjs +0 -6
  206. package/packages/storefront/dist/server/chunks/index_SwXtE1IM.mjs +0 -6
  207. package/packages/storefront/dist/server/chunks/node_Nzz44v5l.mjs +0 -6
  208. package/packages/storefront/dist/server/chunks/pages/account_frSUn7gD.mjs +0 -22
  209. package/packages/storefront/dist/server/chunks/pages/node_FoDIj_f7.mjs +0 -257
  210. package/packages/storefront/dist/server/chunks/pages/~fallback_t0lNhRm9.mjs +0 -33
  211. package/packages/storefront/dist/server/chunks/~fallback_EWqi0UyU.mjs +0 -6
  212. package/packages/storefront/dist/server/images.dist.csv +0 -30
  213. package/packages/storefront/dist/server/images.src.csv +0 -11
  214. package/packages/storefront/dist/server/manifest_ZHJUD8_m.mjs +0 -196
  215. package/packages/storefront/dist/server/static-builds.csv +0 -71
@@ -1,257 +0,0 @@
1
- import { isRemotePath } from '@astrojs/internal-helpers/path';
2
- import { readFile } from 'fs/promises';
3
- import mime from 'mime/lite.js';
4
- import 'os';
5
- import { A as AstroError, I as InvalidImageService, i as isESMImportedImage, a as isLocalService, b as isRemoteImage, D as DEFAULT_HASH_PROPS, c as isRemoteAllowed } from '../astro/assets-service_yXRChsFH.mjs';
6
- import { A as AstroError$1, j as ExpectedImageOptions, E as ExpectedImage, k as InvalidImageService$1, c as createAstro, b as createComponent, l as ImageMissingAlt, r as renderTemplate, m as maybeRenderHead, d as addAttribute, s as spreadAttributes } from '../astro_F4pl3toV.mjs';
7
- import 'clsx';
8
-
9
- async function getConfiguredImageService$1() {
10
- if (!globalThis?.astroAsset?.imageService) {
11
- const { default: service } = await import(
12
- // @ts-expect-error
13
- '../astro/assets-service_yXRChsFH.mjs'
14
- ).then(n => n.n).catch((e) => {
15
- const error = new AstroError(InvalidImageService);
16
- error.cause = e;
17
- throw error;
18
- });
19
- if (!globalThis.astroAsset)
20
- globalThis.astroAsset = {};
21
- globalThis.astroAsset.imageService = service;
22
- return service;
23
- }
24
- return globalThis.astroAsset.imageService;
25
- }
26
-
27
- const fnv1a52 = (str) => {
28
- const len = str.length;
29
- let i = 0, t0 = 0, v0 = 8997, t1 = 0, v1 = 33826, t2 = 0, v2 = 40164, t3 = 0, v3 = 52210;
30
- while (i < len) {
31
- v0 ^= str.charCodeAt(i++);
32
- t0 = v0 * 435;
33
- t1 = v1 * 435;
34
- t2 = v2 * 435;
35
- t3 = v3 * 435;
36
- t2 += v0 << 8;
37
- t3 += v1 << 8;
38
- t1 += t0 >>> 16;
39
- v0 = t0 & 65535;
40
- t2 += t1 >>> 16;
41
- v1 = t1 & 65535;
42
- v3 = t3 + (t2 >>> 16) & 65535;
43
- v2 = t2 & 65535;
44
- }
45
- return (v3 & 15) * 281474976710656 + v2 * 4294967296 + v1 * 65536 + (v0 ^ v3 >> 4);
46
- };
47
- const etag = (payload, weak = false) => {
48
- const prefix = weak ? 'W/"' : '"';
49
- return prefix + fnv1a52(payload).toString(36) + payload.length.toString(36) + '"';
50
- };
51
-
52
- async function getConfiguredImageService() {
53
- if (!globalThis?.astroAsset?.imageService) {
54
- const { default: service } = await import(
55
- // @ts-expect-error
56
- '../astro/assets-service_yXRChsFH.mjs'
57
- ).then(n => n.n).catch((e) => {
58
- const error = new AstroError$1(InvalidImageService$1);
59
- error.cause = e;
60
- throw error;
61
- });
62
- if (!globalThis.astroAsset)
63
- globalThis.astroAsset = {};
64
- globalThis.astroAsset.imageService = service;
65
- return service;
66
- }
67
- return globalThis.astroAsset.imageService;
68
- }
69
- async function getImage$1(options, imageConfig) {
70
- if (!options || typeof options !== "object") {
71
- throw new AstroError$1({
72
- ...ExpectedImageOptions,
73
- message: ExpectedImageOptions.message(JSON.stringify(options))
74
- });
75
- }
76
- if (typeof options.src === "undefined") {
77
- throw new AstroError$1({
78
- ...ExpectedImage,
79
- message: ExpectedImage.message(
80
- options.src,
81
- "undefined",
82
- JSON.stringify(options)
83
- )
84
- });
85
- }
86
- const service = await getConfiguredImageService();
87
- const resolvedOptions = {
88
- ...options,
89
- src: typeof options.src === "object" && "then" in options.src ? (await options.src).default ?? await options.src : options.src
90
- };
91
- const originalPath = isESMImportedImage(resolvedOptions.src) ? resolvedOptions.src.fsPath : resolvedOptions.src;
92
- const clonedSrc = isESMImportedImage(resolvedOptions.src) ? (
93
- // @ts-expect-error - clone is a private, hidden prop
94
- resolvedOptions.src.clone ?? resolvedOptions.src
95
- ) : resolvedOptions.src;
96
- resolvedOptions.src = clonedSrc;
97
- const validatedOptions = service.validateOptions ? await service.validateOptions(resolvedOptions, imageConfig) : resolvedOptions;
98
- const srcSetTransforms = service.getSrcSet ? await service.getSrcSet(validatedOptions, imageConfig) : [];
99
- let imageURL = await service.getURL(validatedOptions, imageConfig);
100
- let srcSets = await Promise.all(
101
- srcSetTransforms.map(async (srcSet) => ({
102
- transform: srcSet.transform,
103
- url: await service.getURL(srcSet.transform, imageConfig),
104
- descriptor: srcSet.descriptor,
105
- attributes: srcSet.attributes
106
- }))
107
- );
108
- if (isLocalService(service) && globalThis.astroAsset.addStaticImage && !(isRemoteImage(validatedOptions.src) && imageURL === validatedOptions.src)) {
109
- const propsToHash = service.propertiesToHash ?? DEFAULT_HASH_PROPS;
110
- imageURL = globalThis.astroAsset.addStaticImage(validatedOptions, propsToHash, originalPath);
111
- srcSets = srcSetTransforms.map((srcSet) => ({
112
- transform: srcSet.transform,
113
- url: globalThis.astroAsset.addStaticImage(srcSet.transform, propsToHash, originalPath),
114
- descriptor: srcSet.descriptor,
115
- attributes: srcSet.attributes
116
- }));
117
- }
118
- return {
119
- rawOptions: resolvedOptions,
120
- options: validatedOptions,
121
- src: imageURL,
122
- srcSet: {
123
- values: srcSets,
124
- attribute: srcSets.map((srcSet) => `${srcSet.url} ${srcSet.descriptor}`).join(", ")
125
- },
126
- attributes: service.getHTMLAttributes !== void 0 ? await service.getHTMLAttributes(validatedOptions, imageConfig) : {}
127
- };
128
- }
129
-
130
- const $$Astro$1 = createAstro("https://demo.ecomplus.app");
131
- const $$Image = createComponent(async ($$result, $$props, $$slots) => {
132
- const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
133
- Astro2.self = $$Image;
134
- const props = Astro2.props;
135
- if (props.alt === void 0 || props.alt === null) {
136
- throw new AstroError$1(ImageMissingAlt);
137
- }
138
- if (typeof props.width === "string") {
139
- props.width = parseInt(props.width);
140
- }
141
- if (typeof props.height === "string") {
142
- props.height = parseInt(props.height);
143
- }
144
- const image = await getImage(props);
145
- const additionalAttributes = {};
146
- if (image.srcSet.values.length > 0) {
147
- additionalAttributes.srcset = image.srcSet.attribute;
148
- }
149
- return renderTemplate`${maybeRenderHead()}<img${addAttribute(image.src, "src")}${spreadAttributes(additionalAttributes)}${spreadAttributes(image.attributes)}>`;
150
- }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/node_modules/astro/components/Image.astro", void 0);
151
-
152
- const $$Astro = createAstro("https://demo.ecomplus.app");
153
- const $$Picture = createComponent(async ($$result, $$props, $$slots) => {
154
- const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
155
- Astro2.self = $$Picture;
156
- const defaultFormats = ["webp"];
157
- const defaultFallbackFormat = "png";
158
- const specialFormatsFallback = ["gif", "svg", "jpg", "jpeg"];
159
- const { formats = defaultFormats, pictureAttributes = {}, fallbackFormat, ...props } = Astro2.props;
160
- if (props.alt === void 0 || props.alt === null) {
161
- throw new AstroError$1(ImageMissingAlt);
162
- }
163
- const optimizedImages = await Promise.all(
164
- formats.map(
165
- async (format) => await getImage({ ...props, format, widths: props.widths, densities: props.densities })
166
- )
167
- );
168
- let resultFallbackFormat = fallbackFormat ?? defaultFallbackFormat;
169
- if (!fallbackFormat && isESMImportedImage(props.src) && specialFormatsFallback.includes(props.src.format)) {
170
- resultFallbackFormat = props.src.format;
171
- }
172
- const fallbackImage = await getImage({
173
- ...props,
174
- format: resultFallbackFormat,
175
- widths: props.widths,
176
- densities: props.densities
177
- });
178
- const imgAdditionalAttributes = {};
179
- const sourceAdditionaAttributes = {};
180
- if (props.sizes) {
181
- sourceAdditionaAttributes.sizes = props.sizes;
182
- }
183
- if (fallbackImage.srcSet.values.length > 0) {
184
- imgAdditionalAttributes.srcset = fallbackImage.srcSet.attribute;
185
- }
186
- return renderTemplate`${maybeRenderHead()}<picture${spreadAttributes(pictureAttributes)}> ${Object.entries(optimizedImages).map(([_, image]) => {
187
- const srcsetAttribute = props.densities || !props.densities && !props.widths ? `${image.src}${image.srcSet.values.length > 0 ? ", " + image.srcSet.attribute : ""}` : image.srcSet.attribute;
188
- return renderTemplate`<source${addAttribute(srcsetAttribute, "srcset")}${addAttribute("image/" + image.options.format, "type")}${spreadAttributes(sourceAdditionaAttributes)}>`;
189
- })} <img${addAttribute(fallbackImage.src, "src")}${spreadAttributes(imgAdditionalAttributes)}${spreadAttributes(fallbackImage.attributes)}> </picture>`;
190
- }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/node_modules/astro/components/Picture.astro", void 0);
191
-
192
- const imageConfig = {"service":{"entrypoint":"astro/assets/services/noop","config":{}},"domains":[],"remotePatterns":[],"endpoint":"astro/assets/endpoint/node"};
193
- const assetsDir = new URL("file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/dist/client/");
194
- const getImage = async (options) => await getImage$1(options, imageConfig);
195
-
196
- async function loadLocalImage(src, url) {
197
- const filePath = new URL("." + src, assetsDir);
198
- let buffer = void 0;
199
- try {
200
- buffer = await readFile(filePath);
201
- } catch (e) {
202
- const sourceUrl = new URL(src, url.origin);
203
- buffer = await loadRemoteImage(sourceUrl);
204
- }
205
- return buffer;
206
- }
207
- async function loadRemoteImage(src) {
208
- try {
209
- const res = await fetch(src);
210
- if (!res.ok) {
211
- return void 0;
212
- }
213
- return Buffer.from(await res.arrayBuffer());
214
- } catch (err) {
215
- return void 0;
216
- }
217
- }
218
- const GET = async ({ request }) => {
219
- try {
220
- const imageService = await getConfiguredImageService$1();
221
- if (!("transform" in imageService)) {
222
- throw new Error("Configured image service is not a local service");
223
- }
224
- const url = new URL(request.url);
225
- const transform = await imageService.parseURL(url, imageConfig);
226
- if (!transform?.src) {
227
- throw new Error("Incorrect transform returned by `parseURL`");
228
- }
229
- let inputBuffer = void 0;
230
- if (isRemotePath(transform.src)) {
231
- if (isRemoteAllowed(transform.src, imageConfig) === false) {
232
- return new Response("Forbidden", { status: 403 });
233
- }
234
- inputBuffer = await loadRemoteImage(new URL(transform.src));
235
- } else {
236
- inputBuffer = await loadLocalImage(transform.src, url);
237
- }
238
- if (!inputBuffer) {
239
- return new Response("Not Found", { status: 404 });
240
- }
241
- const { data, format } = await imageService.transform(inputBuffer, transform, imageConfig);
242
- return new Response(data, {
243
- status: 200,
244
- headers: {
245
- "Content-Type": mime.getType(format) ?? `image/${format}`,
246
- "Cache-Control": "public, max-age=31536000",
247
- ETag: etag(data.toString()),
248
- Date: (/* @__PURE__ */ new Date()).toUTCString()
249
- }
250
- });
251
- } catch (err) {
252
- console.error("Could not process image request:", err);
253
- return new Response(`Server Error: ${err}`, { status: 500 });
254
- }
255
- };
256
-
257
- export { GET };
@@ -1,33 +0,0 @@
1
- import { c as createAstro, b as createComponent, r as renderTemplate, m as maybeRenderHead, d as addAttribute, e as renderComponent, F as Fragment } from '../astro_F4pl3toV.mjs';
2
- import 'kleur/colors';
3
- import { f as i19error, h as i19errorMsg, j as i19notFound, k as i19home, l as loadRouteContext, $ as $$BaseHead, a as $$PageHeader, b as $$PageFooter, c as $$Base } from './__z8Igc_-f.mjs';
4
- import 'clsx';
5
-
6
- const $$Astro$1 = createAstro("https://demo.ecomplus.app");
7
- const $$Fallback = createComponent(async ($$result, $$props, $$slots) => {
8
- const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
9
- Astro2.self = $$Fallback;
10
- return renderTemplate`${maybeRenderHead()}<main> <article class="prose mx-auto px-8 pb-32 pt-20"> <h1>${i19error} :/</h1> <p class="hidden text-xl" id="errorMsg"> ${i19errorMsg} </p> <p class="hidden text-xl" id="404Msg"> ${i19notFound} (404)
11
- </p> <p class="text-xl" id="loadingMsg">
12
- ... ... ...
13
- </p> <a href="/" class="text-2xl"> <i class="i-arrow-right mr-1 rotate-180"></i> ${i19home} </a> </article> </main>`;
14
- }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/main/Fallback.astro", void 0);
15
-
16
- const $$Astro = createAstro("https://demo.ecomplus.app");
17
- const $$fallback = createComponent(async ($$result, $$props, $$slots) => {
18
- const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
19
- Astro2.self = $$fallback;
20
- let routeContext;
21
- try {
22
- routeContext = await loadRouteContext(Astro2);
23
- } catch (err) {
24
- return err.astroResponse;
25
- }
26
- const { settings } = routeContext;
27
- return renderTemplate`<html${addAttribute(routeContext?.lang.replace("_", "-"), "lang")}> ${renderComponent($$result, "Base", $$Base, {}, { "base-head": ($$result2) => renderTemplate`${renderComponent($$result2, "Fragment", Fragment, { "slot": "base-head" }, { "default": ($$result3) => renderTemplate`${renderComponent($$result3, "BaseHead", $$BaseHead, {})}<title>${`${i19error} | ${settings.name}`}</title>` })}`, "default": ($$result2) => renderTemplate`${renderComponent($$result2, "PageHeader", $$PageHeader, {})}${renderComponent($$result2, "FallbackMain", $$Fallback, {})}${renderComponent($$result2, "PageFooter", $$PageFooter, {})}` })}</html>`;
28
- }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/~fallback.astro", void 0);
29
-
30
- const $$file = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/~fallback.astro";
31
- const $$url = "/~fallback";
32
-
33
- export { $$fallback as default, $$file as file, $$url as url };
@@ -1,6 +0,0 @@
1
- export { renderers } from '../renderers.mjs';
2
- export { onRequest } from '../_empty-middleware.mjs';
3
-
4
- const page = () => import('./pages/~fallback_t0lNhRm9.mjs');
5
-
6
- export { page };
@@ -1,30 +0,0 @@
1
- ecom-icon_12falx.png,192,192
2
- ecom-icon_15pqnO.png,512,512
3
- ecom-icon_t3guw.png,32,32
4
- logo_Z1K5PE9.png,300,71
5
- rect8589_1TtOHY.png,640,159
6
- rect8589_Uxfdf.png,1500,373
7
- rect8589_Z15uApA.png,828,206
8
- rect859_DIqwR.png,640,159
9
- rect859_jXzBi.png,1500,373
10
- rect859_Z1IKDb2.png,828,206
11
- headphone_Z1CG18r.webp,480,320
12
- logo_1UBsBq.webp,300,71
13
- passion_LHbe9.webp,480,320
14
- rect8589_1f5opX.webp,640,159
15
- rect8589_IUskt.webp,1500,373
16
- rect8589_Z1JT1HB.webp,828,206
17
- rect859_x1l16.webp,828,206
18
- rect859_Z29FI4V.webp,640,159
19
- rect859_ZkpPFI.webp,1500,373
20
- rect89_Z1re32x.webp,1201,311
21
- headphone_T2Jjc.avif,480,320
22
- logo_Z1KIIl1.avif,300,71
23
- passion_Z23MeUb.avif,480,320
24
- rect8589_tMFW0.avif,828,206
25
- rect8589_Z1Ap1Im.avif,640,159
26
- rect8589_ZY9mtN.avif,1500,373
27
- rect859_1TgQXS.avif,1500,373
28
- rect859_2Nm1z.avif,640,159
29
- rect859_Z2kFHGk.avif,828,206
30
- rect89_1TSfW7.avif,1201,311
@@ -1,11 +0,0 @@
1
- img/icon.png,512,512
2
- img/large-icon.png,1024,1024
3
- img/uploads/ecom-icon.png,1024,1024
4
- img/uploads/logo.png,411,97
5
- img/uploads/og-image.png,1200,1200
6
- img/uploads/rect8589.png,1500,373
7
- img/uploads/rect859.png,1500,373
8
- img/uploads/banner2.webp,1200,311
9
- img/uploads/headphone.webp,480,320
10
- img/uploads/passion.webp,480,320
11
- img/uploads/rect89.webp,1201,311
@@ -1,196 +0,0 @@
1
- import '@astrojs/internal-helpers/path';
2
- import 'cookie';
3
- import { bold, red, yellow, dim, blue } from 'kleur/colors';
4
- import 'string-width';
5
- import './chunks/astro_F4pl3toV.mjs';
6
- import 'clsx';
7
- import { compile } from 'path-to-regexp';
8
-
9
- const dateTimeFormat = new Intl.DateTimeFormat([], {
10
- hour: "2-digit",
11
- minute: "2-digit",
12
- second: "2-digit",
13
- hour12: false
14
- });
15
- const levels = {
16
- debug: 20,
17
- info: 30,
18
- warn: 40,
19
- error: 50,
20
- silent: 90
21
- };
22
- function log(opts, level, label, message, newLine = true) {
23
- const logLevel = opts.level;
24
- const dest = opts.dest;
25
- const event = {
26
- label,
27
- level,
28
- message,
29
- newLine
30
- };
31
- if (!isLogLevelEnabled(logLevel, level)) {
32
- return;
33
- }
34
- dest.write(event);
35
- }
36
- function isLogLevelEnabled(configuredLogLevel, level) {
37
- return levels[configuredLogLevel] <= levels[level];
38
- }
39
- function info(opts, label, message, newLine = true) {
40
- return log(opts, "info", label, message, newLine);
41
- }
42
- function warn(opts, label, message, newLine = true) {
43
- return log(opts, "warn", label, message, newLine);
44
- }
45
- function error(opts, label, message, newLine = true) {
46
- return log(opts, "error", label, message, newLine);
47
- }
48
- function debug(...args) {
49
- if ("_astroGlobalDebug" in globalThis) {
50
- globalThis._astroGlobalDebug(...args);
51
- }
52
- }
53
- function getEventPrefix({ level, label }) {
54
- const timestamp = `${dateTimeFormat.format(/* @__PURE__ */ new Date())}`;
55
- const prefix = [];
56
- if (level === "error" || level === "warn") {
57
- prefix.push(bold(timestamp));
58
- prefix.push(`[${level.toUpperCase()}]`);
59
- } else {
60
- prefix.push(timestamp);
61
- }
62
- if (label) {
63
- prefix.push(`[${label}]`);
64
- }
65
- if (level === "error") {
66
- return red(prefix.join(" "));
67
- }
68
- if (level === "warn") {
69
- return yellow(prefix.join(" "));
70
- }
71
- if (prefix.length === 1) {
72
- return dim(prefix[0]);
73
- }
74
- return dim(prefix[0]) + " " + blue(prefix.splice(1).join(" "));
75
- }
76
- if (typeof process !== "undefined") {
77
- let proc = process;
78
- if ("argv" in proc && Array.isArray(proc.argv)) {
79
- if (proc.argv.includes("--verbose")) ; else if (proc.argv.includes("--silent")) ; else ;
80
- }
81
- }
82
- class Logger {
83
- options;
84
- constructor(options) {
85
- this.options = options;
86
- }
87
- info(label, message, newLine = true) {
88
- info(this.options, label, message, newLine);
89
- }
90
- warn(label, message, newLine = true) {
91
- warn(this.options, label, message, newLine);
92
- }
93
- error(label, message, newLine = true) {
94
- error(this.options, label, message, newLine);
95
- }
96
- debug(label, ...messages) {
97
- debug(label, ...messages);
98
- }
99
- level() {
100
- return this.options.level;
101
- }
102
- forkIntegrationLogger(label) {
103
- return new AstroIntegrationLogger(this.options, label);
104
- }
105
- }
106
- class AstroIntegrationLogger {
107
- options;
108
- label;
109
- constructor(logging, label) {
110
- this.options = logging;
111
- this.label = label;
112
- }
113
- /**
114
- * Creates a new logger instance with a new label, but the same log options.
115
- */
116
- fork(label) {
117
- return new AstroIntegrationLogger(this.options, label);
118
- }
119
- info(message) {
120
- info(this.options, this.label, message);
121
- }
122
- warn(message) {
123
- warn(this.options, this.label, message);
124
- }
125
- error(message) {
126
- error(this.options, this.label, message);
127
- }
128
- debug(message) {
129
- debug(this.label, message);
130
- }
131
- }
132
-
133
- function getRouteGenerator(segments, addTrailingSlash) {
134
- const template = segments.map((segment) => {
135
- return "/" + segment.map((part) => {
136
- if (part.spread) {
137
- return `:${part.content.slice(3)}(.*)?`;
138
- } else if (part.dynamic) {
139
- return `:${part.content}`;
140
- } else {
141
- return part.content.normalize().replace(/\?/g, "%3F").replace(/#/g, "%23").replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
142
- }
143
- }).join("");
144
- }).join("");
145
- let trailing = "";
146
- if (addTrailingSlash === "always" && segments.length) {
147
- trailing = "/";
148
- }
149
- const toPath = compile(template + trailing);
150
- return toPath;
151
- }
152
-
153
- function deserializeRouteData(rawRouteData) {
154
- return {
155
- route: rawRouteData.route,
156
- type: rawRouteData.type,
157
- pattern: new RegExp(rawRouteData.pattern),
158
- params: rawRouteData.params,
159
- component: rawRouteData.component,
160
- generate: getRouteGenerator(rawRouteData.segments, rawRouteData._meta.trailingSlash),
161
- pathname: rawRouteData.pathname || void 0,
162
- segments: rawRouteData.segments,
163
- prerender: rawRouteData.prerender,
164
- redirect: rawRouteData.redirect,
165
- redirectRoute: rawRouteData.redirectRoute ? deserializeRouteData(rawRouteData.redirectRoute) : void 0,
166
- fallbackRoutes: rawRouteData.fallbackRoutes.map((fallback) => {
167
- return deserializeRouteData(fallback);
168
- })
169
- };
170
- }
171
-
172
- function deserializeManifest(serializedManifest) {
173
- const routes = [];
174
- for (const serializedRoute of serializedManifest.routes) {
175
- routes.push({
176
- ...serializedRoute,
177
- routeData: deserializeRouteData(serializedRoute.routeData)
178
- });
179
- const route = serializedRoute;
180
- route.routeData = deserializeRouteData(serializedRoute.routeData);
181
- }
182
- const assets = new Set(serializedManifest.assets);
183
- const componentMetadata = new Map(serializedManifest.componentMetadata);
184
- const clientDirectives = new Map(serializedManifest.clientDirectives);
185
- return {
186
- ...serializedManifest,
187
- assets,
188
- componentMetadata,
189
- clientDirectives,
190
- routes
191
- };
192
- }
193
-
194
- const manifest = deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"endpoint","isIndex":false,"route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/astro@4.2.1_@types+node@18.19.8_typescript@5.2.2/node_modules/astro/dist/assets/endpoint/node.js","pathname":"/_image","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.PxLuJZKI.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.Hc-dqhcW.css"}],"routeData":{"route":"/app","isIndex":true,"type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.Wi6YpdWJ.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.Hc-dqhcW.css"}],"routeData":{"route":"/app/account","isIndex":false,"type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.Wi6YpdWJ.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.Hc-dqhcW.css"}],"routeData":{"route":"/blog/[page]","isIndex":false,"type":"page","pattern":"^\\/blog\\/([^/]+?)\\/?$","segments":[[{"content":"blog","dynamic":false,"spread":false}],[{"content":"page","dynamic":true,"spread":false}]],"params":["page"],"component":"src/pages/blog/[page].astro","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.WBjTfX6e.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.Hc-dqhcW.css"}],"routeData":{"route":"/~fallback","isIndex":false,"type":"page","pattern":"^\\/~fallback\\/?$","segments":[[{"content":"~fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/~fallback.astro","pathname":"/~fallback","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.Wi6YpdWJ.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.Hc-dqhcW.css"}],"routeData":{"route":"/[...slug]","isIndex":false,"type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}}],"site":"https://demo.ecomplus.app","base":"/","trailingSlash":"ignore","compressHTML":true,"componentMetadata":[["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/BaseHead.astro",{"propagation":"in-tree","containsHead":false}],["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/[...slug].astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astro-page:src/pages/[...slug]@_@astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astrojs-ssr-virtual-entry",{"propagation":"in-tree","containsHead":false}],["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/account.astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astro-page:src/pages/app/account@_@astro",{"propagation":"in-tree","containsHead":false}],["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/index.astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astro-page:src/pages/app/index@_@astro",{"propagation":"in-tree","containsHead":false}],["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/blog/[page].astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astro-page:src/pages/blog/[page]@_@astro",{"propagation":"in-tree","containsHead":false}],["/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/~fallback.astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astro-page:src/pages/~fallback@_@astro",{"propagation":"in-tree","containsHead":false}]],"renderers":[],"clientDirectives":[["idle","(()=>{var i=t=>{let e=async()=>{await(await t())()};\"requestIdleCallback\"in window?window.requestIdleCallback(e):setTimeout(e,200)};(self.Astro||(self.Astro={})).idle=i;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var s=(i,t)=>{let a=async()=>{await(await i())()};if(t.value){let e=matchMedia(t.value);e.matches?a():e.addEventListener(\"change\",a,{once:!0})}};(self.Astro||(self.Astro={})).media=s;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var l=(s,i,o)=>{let r=async()=>{await(await s())()},t=typeof i.value==\"object\"?i.value:void 0,c={rootMargin:t==null?void 0:t.rootMargin},n=new IntersectionObserver(e=>{for(let a of e)if(a.isIntersecting){n.disconnect(),r();break}},c);for(let e of o.children)n.observe(e)};(self.Astro||(self.Astro={})).visible=l;window.dispatchEvent(new Event(\"astro:visible\"));})();"],["context","(()=>{var a=(s,o)=>{let n=async()=>{await(await s())()},r=()=>{let t=Array.isArray(o.value)?o.value:[o.value];for(let e=0;e<t.length;e++)if(typeof t[e]==\"string\"&&t[e].startsWith(\"data:\")){let d=t[e].substring(5);if(!window.$storefront?.data?.[d]){window.addEventListener(`storefront:data:${d}`,r,{once:!0});return}}if(t.includes(\"idle\")){if(typeof window.requestIdleCallback==\"function\"){setTimeout(()=>window.requestIdleCallback(n),9);return}setTimeout(n,200);return}n()},i=window.$storefront?.apiContext?.doc._id||null;if(window._firstLoadContextId===i&&window._emitedContextId===i){console.log(\"[ctx] first load\"),r(),document.addEventListener(\"astro:beforeload\",()=>{delete window._firstLoadContextId},{once:!0});return}window.addEventListener(\"storefront:apiContext\",r,{once:!0})};(self.Astro||(self.Astro={})).context=a;window.dispatchEvent(new Event(\"astro:context\"));})();\n"]],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"entry.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000empty-middleware":"_empty-middleware.mjs","/src/pages/blog/[page].astro":"chunks/pages/_page__-V1Q-Ymk.mjs","/src/pages/app/account.astro":"chunks/pages/account_frSUn7gD.mjs","/src/pages/app/index.astro":"chunks/pages/index_QqJiJpFy.mjs","/../../node_modules/.pnpm/astro@4.2.1_@types+node@18.19.8_typescript@5.2.2/node_modules/astro/dist/assets/endpoint/node.js":"chunks/pages/node_FoDIj_f7.mjs","/src/pages/~fallback.astro":"chunks/pages/~fallback_t0lNhRm9.mjs","\u0000@astrojs-manifest":"manifest_ZHJUD8_m.mjs","\u0000@astro-page:../../node_modules/.pnpm/astro@4.2.1_@types+node@18.19.8_typescript@5.2.2/node_modules/astro/dist/assets/endpoint/node@_@js":"chunks/node_Nzz44v5l.mjs","\u0000@astro-page:src/pages/app/index@_@astro":"chunks/index_SwXtE1IM.mjs","\u0000@astro-page:src/pages/app/account@_@astro":"chunks/account_4n4rpirV.mjs","\u0000@astro-page:src/pages/blog/[page]@_@astro":"chunks/_page__LqbeNfr1.mjs","\u0000@astro-page:src/pages/~fallback@_@astro":"chunks/~fallback_EWqi0UyU.mjs","\u0000@astro-page:src/pages/[...slug]@_@astro":"chunks/_.._Lq3r7hpv.mjs","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/SearchModal.vue":"_astro/SearchModal.R55jFaBZ.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/CartSidebar.vue":"_astro/CartSidebar.G25ZUnKP.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe.css?inline":"_astro/photoswipe.0V7m2jWu.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe-lightbox.esm.js":"_astro/photoswipe-lightbox.esm.dZBqKD9u.js","/astro/hoisted.js?q=1":"_astro/hoisted.WBjTfX6e.js","~/components/AccountPage.vue":"_astro/AccountPage.89hLh9p2.js","~/components/HeroSlider.vue":"_astro/HeroSlider.XZb2xsyV.js","/astro/hoisted.js?q=0":"_astro/hoisted.PxLuJZKI.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/scripts/firebase-app.ts":"_astro/firebase-app.VduCDgof.js","~/components/PitchBar.vue":"_astro/PitchBar.Nr7T3S3T.js","~/components/SearchShowcase.vue":"_astro/SearchShowcase.I1PPFu_n.js","~/components/ShopHeader.vue":"_astro/ShopHeader.OLf0l4Ot.js","~/components/ProductShelf.vue":"_astro/ProductShelf.xSxmHkTe.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe.esm.js":"_astro/photoswipe.esm.Ylh9TGkz.js","/astro/hoisted.js?q=2":"_astro/hoisted.Wi6YpdWJ.js","~/components/ProductDetails.vue":"_astro/ProductDetails.ntFWLjla.js","@astrojs/vue/client.js":"_astro/client.ZhEmw4hZ.js","astro:scripts/before-hydration.js":""},"assets":["/_astro/_slug_.Hc-dqhcW.css","/robots.txt","/_astro/AccountPage.89hLh9p2.js","/_astro/CartSidebar.G25ZUnKP.js","/_astro/HeroSlider.XZb2xsyV.js","/_astro/PitchBar.Nr7T3S3T.js","/_astro/Prices.Ye-m2HTo.js","/_astro/ProductDetails.ntFWLjla.js","/_astro/ProductShelf.PPitdYxI.js","/_astro/ProductShelf.xSxmHkTe.js","/_astro/QuantitySelector.tumfWDjC.js","/_astro/SearchModal.R55jFaBZ.js","/_astro/SearchShowcase.I1PPFu_n.js","/_astro/ShopHeader.OLf0l4Ot.js","/_astro/_plugin-vue_export-helper.SO-0jCqa.js","/_astro/afetch.5c8VmT0-.js","/_astro/client.ZhEmw4hZ.js","/_astro/customer-session.AcETMuhI.js","/_astro/firebase-app.VduCDgof.js","/_astro/format-money.iK5LGydz.js","/_astro/grid-title.vGKBy72g.js","/_astro/hoisted.PxLuJZKI.js","/_astro/hoisted.WBjTfX6e.js","/_astro/hoisted.Wi6YpdWJ.js","/_astro/i18n.Lxnz1oF-.js","/_astro/img-sizes.gxAI9JNh.js","/_astro/img.WnsidxCx.js","/_astro/index-dd468b12.fl8bpn8l.js","/_astro/index.R7A-Pg5V.js","/_astro/index.q6KIyKlJ.js","/_astro/modules-info.tVRhvxNm.js","/_astro/name.urFqJ5yn.js","/_astro/photoswipe-lightbox.esm.dZBqKD9u.js","/_astro/photoswipe.0V7m2jWu.js","/_astro/photoswipe.esm.Ylh9TGkz.js","/_astro/price.Easct8WC.js","/_astro/runtime-core.esm-bundler.XTSAdOlw.js","/_astro/sf-utils.Z4H-dRBJ.js","/_astro/shopping-cart.dJsZkyuD.js","/_astro/use-analytics.uqK_2k_k.js","/_astro/use-product-card.WRVLjenR.js","/_astro/use-text-value.XE_A2nDM.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner2.webp","/img/uploads/ecom-icon.png","/img/uploads/headphone.webp","/img/uploads/logo.png","/img/uploads/og-image.png","/img/uploads/passion.webp","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.webp"]});
195
-
196
- export { AstroIntegrationLogger as A, Logger as L, getEventPrefix as g, levels as l, manifest };
@@ -1,71 +0,0 @@
1
- /_astro/AccountPage.89hLh9p2.js
2
- /_astro/afetch.5c8VmT0-.js
3
- /_astro/CartSidebar.G25ZUnKP.js
4
- /_astro/client.ZhEmw4hZ.js
5
- /_astro/customer-session.AcETMuhI.js
6
- /_astro/ecom-icon_12falx.png
7
- /_astro/ecom-icon_15pqnO.png
8
- /_astro/ecom-icon_t3guw.png
9
- /_astro/firebase-app.VduCDgof.js
10
- /_astro/format-money.iK5LGydz.js
11
- /_astro/grid-title.vGKBy72g.js
12
- /_astro/headphone_T2Jjc.avif
13
- /_astro/headphone_Z1CG18r.webp
14
- /_astro/HeroSlider.XZb2xsyV.js
15
- /_astro/hoisted.PxLuJZKI.js
16
- /_astro/hoisted.WBjTfX6e.js
17
- /_astro/hoisted.Wi6YpdWJ.js
18
- /_astro/i18n.Lxnz1oF-.js
19
- /_astro/img-sizes.gxAI9JNh.js
20
- /_astro/img.WnsidxCx.js
21
- /_astro/index-dd468b12.fl8bpn8l.js
22
- /_astro/index.q6KIyKlJ.js
23
- /_astro/index.R7A-Pg5V.js
24
- /_astro/logo_1UBsBq.webp
25
- /_astro/logo_Z1K5PE9.png
26
- /_astro/logo_Z1KIIl1.avif
27
- /_astro/modules-info.tVRhvxNm.js
28
- /_astro/name.urFqJ5yn.js
29
- /_astro/passion_LHbe9.webp
30
- /_astro/passion_Z23MeUb.avif
31
- /_astro/photoswipe.0V7m2jWu.js
32
- /_astro/photoswipe.esm.Ylh9TGkz.js
33
- /_astro/photoswipe-lightbox.esm.dZBqKD9u.js
34
- /_astro/PitchBar.Nr7T3S3T.js
35
- /_astro/_plugin-vue_export-helper.SO-0jCqa.js
36
- /_astro/price.Easct8WC.js
37
- /_astro/Prices.Ye-m2HTo.js
38
- /_astro/ProductDetails.ntFWLjla.js
39
- /_astro/ProductShelf.PPitdYxI.js
40
- /_astro/ProductShelf.xSxmHkTe.js
41
- /_astro/QuantitySelector.tumfWDjC.js
42
- /_astro/rect8589_1f5opX.webp
43
- /_astro/rect8589_1TtOHY.png
44
- /_astro/rect8589_IUskt.webp
45
- /_astro/rect8589_tMFW0.avif
46
- /_astro/rect8589_Uxfdf.png
47
- /_astro/rect8589_Z15uApA.png
48
- /_astro/rect8589_Z1Ap1Im.avif
49
- /_astro/rect8589_Z1JT1HB.webp
50
- /_astro/rect8589_ZY9mtN.avif
51
- /_astro/rect859_1TgQXS.avif
52
- /_astro/rect859_2Nm1z.avif
53
- /_astro/rect859_DIqwR.png
54
- /_astro/rect859_jXzBi.png
55
- /_astro/rect859_x1l16.webp
56
- /_astro/rect859_Z1IKDb2.png
57
- /_astro/rect859_Z29FI4V.webp
58
- /_astro/rect859_Z2kFHGk.avif
59
- /_astro/rect859_ZkpPFI.webp
60
- /_astro/rect89_1TSfW7.avif
61
- /_astro/rect89_Z1re32x.webp
62
- /_astro/runtime-core.esm-bundler.XTSAdOlw.js
63
- /_astro/SearchModal.R55jFaBZ.js
64
- /_astro/SearchShowcase.I1PPFu_n.js
65
- /_astro/sf-utils.Z4H-dRBJ.js
66
- /_astro/ShopHeader.OLf0l4Ot.js
67
- /_astro/shopping-cart.dJsZkyuD.js
68
- /_astro/_slug_.Hc-dqhcW.css
69
- /_astro/use-analytics.uqK_2k_k.js
70
- /_astro/use-product-card.WRVLjenR.js
71
- /_astro/use-text-value.XE_A2nDM.js