cloudcommerce 2.3.1 → 2.3.3

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 (275) hide show
  1. package/.gitmodules +3 -3
  2. package/CHANGELOG.md +22 -0
  3. package/ecomplus-stores/{barra-doce → barradoce}/functions/many/package.json +3 -3
  4. package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/package.json +8 -8
  5. package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/DocDescription.vue +1 -1
  6. package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/content/Hero.astro +2 -2
  7. package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/content/Sections.astro +13 -13
  8. package/ecomplus-stores/{barra-doce → barradoce}/functions/with-apps/package.json +3 -3
  9. package/ecomplus-stores/{barra-doce → barradoce}/package.json +5 -5
  10. package/ecomplus-stores/tia-sonia/package.json +1 -1
  11. package/package.json +6 -6
  12. package/packages/api/package.json +1 -1
  13. package/packages/api/types/brands.d.ts +0 -8
  14. package/packages/api/types/categories.d.ts +0 -8
  15. package/packages/api/types/collections.d.ts +0 -8
  16. package/packages/api/types/products.d.ts +0 -8
  17. package/packages/api/types/stores.d.ts +11 -0
  18. package/packages/apps/affiliate-program/package.json +1 -1
  19. package/packages/apps/correios/package.json +2 -2
  20. package/packages/apps/custom-payment/package.json +1 -1
  21. package/packages/apps/custom-shipping/package.json +1 -1
  22. package/packages/apps/datafrete/package.json +1 -1
  23. package/packages/apps/discounts/package.json +1 -1
  24. package/packages/apps/emails/package.json +1 -1
  25. package/packages/apps/fb-conversions/package.json +2 -2
  26. package/packages/apps/flash-courier/package.json +1 -1
  27. package/packages/apps/frenet/package.json +1 -1
  28. package/packages/apps/galaxpay/package.json +1 -1
  29. package/packages/apps/google-analytics/package.json +1 -1
  30. package/packages/apps/jadlog/package.json +1 -1
  31. package/packages/apps/loyalty-points/package.json +1 -1
  32. package/packages/apps/mandae/package.json +1 -1
  33. package/packages/apps/melhor-envio/package.json +1 -1
  34. package/packages/apps/mercadopago/package.json +1 -1
  35. package/packages/apps/pagarme/package.json +1 -1
  36. package/packages/apps/pagarme-v5/package.json +1 -1
  37. package/packages/apps/paghiper/package.json +1 -1
  38. package/packages/apps/pix/package.json +1 -1
  39. package/packages/apps/tiny-erp/package.json +1 -1
  40. package/packages/apps/webhooks/package.json +1 -1
  41. package/packages/cli/package.json +1 -1
  42. package/packages/config/package.json +1 -1
  43. package/packages/emails/package.json +1 -1
  44. package/packages/eslint/package.json +5 -5
  45. package/packages/eslint/storefront.eslintrc.cjs +1 -0
  46. package/packages/events/package.json +1 -1
  47. package/packages/feeds/package.json +1 -1
  48. package/packages/firebase/package.json +2 -2
  49. package/packages/i18n/package.json +1 -1
  50. package/packages/modules/package.json +1 -1
  51. package/packages/passport/package.json +1 -1
  52. package/packages/ssr/lib/lib/analytics/send-to-ga4.js +2 -1
  53. package/packages/ssr/lib/lib/analytics/send-to-ga4.js.map +1 -1
  54. package/packages/ssr/lib/lib/analytics-events.js +11 -1
  55. package/packages/ssr/lib/lib/analytics-events.js.map +1 -1
  56. package/packages/ssr/lib/lib/serve-storefront.js +35 -21
  57. package/packages/ssr/lib/lib/serve-storefront.js.map +1 -1
  58. package/packages/ssr/package.json +3 -3
  59. package/packages/ssr/src/lib/analytics/send-to-ga4.ts +2 -0
  60. package/packages/ssr/src/lib/analytics-events.ts +11 -1
  61. package/packages/ssr/src/lib/serve-storefront.ts +36 -22
  62. package/packages/storefront/astro.config.mjs +4 -1
  63. package/packages/storefront/client.d.ts +3 -0
  64. package/packages/storefront/config/astro/vue-server.mjs +64 -0
  65. package/packages/storefront/dist/client/_astro/{AccountPage.3-eqV6OR.js → AccountPage.0M6_FdU6.js} +1 -1
  66. package/packages/storefront/dist/client/_astro/{CartSidebar.-Gy6eqIy.js → CartSidebar.L0Vbhsdt.js} +1 -1
  67. package/packages/storefront/dist/client/_astro/ProductDetails.FQtM5kpd.js +7 -0
  68. package/packages/storefront/dist/client/_astro/{ProductShelf.qbTNzuvn.js → ProductShelf.-4fsYkPB.js} +1 -1
  69. package/packages/storefront/dist/client/_astro/{ProductShelf.b77WjhZZ.js → ProductShelf.GAAhKdTN.js} +1 -1
  70. package/packages/storefront/dist/client/_astro/{SearchModal.WzDMBjqi.js → SearchModal.rasg5jV6.js} +1 -1
  71. package/packages/storefront/dist/client/_astro/SearchShowcase.kA6jICYo.js +1 -0
  72. package/packages/storefront/dist/client/_astro/ShopHeader.v_L96Y90.js +7 -0
  73. package/packages/storefront/dist/client/_astro/{_slug_.WkuZ8tvp.css → _slug_.4W7qhV-L.css} +1 -1
  74. package/packages/storefront/dist/client/_astro/customer-session.ZD6tLDQJ.js +7 -0
  75. package/packages/storefront/dist/client/_astro/{firebase-app.VduCDgof.js → firebase-app.iLdzDVjL.js} +1 -1
  76. package/packages/storefront/dist/client/_astro/hoisted.GaT7bmE3.js +1 -0
  77. package/packages/storefront/dist/client/_astro/{hoisted.xTPkED8g.js → hoisted.ICXGWNEA.js} +1 -1
  78. package/packages/storefront/dist/client/_astro/hoisted.XOXTrHqn.js +1 -0
  79. package/packages/storefront/dist/client/_astro/{index-dd468b12.fl8bpn8l.js → index-bea2a320.eWykogwr.js} +93 -93
  80. package/packages/storefront/dist/client/_astro/{shopping-cart.v-dB3kHB.js → shopping-cart.nSNNOrp9.js} +1 -1
  81. package/packages/storefront/dist/client/_astro/use-analytics.wTmoP8B1.js +1 -0
  82. package/packages/storefront/dist/client/_astro/{use-product-card.nNtSJVtB.js → use-product-card.UFr8SCuD.js} +1 -1
  83. package/packages/storefront/dist/client/_astro/use-text-value.lKqoIagH.js +4 -0
  84. package/packages/storefront/dist/server/chunks/{CartSidebar_blvgfFa-.mjs → CartSidebar_3_1aFp67.mjs} +1 -1
  85. package/packages/storefront/dist/server/chunks/{SearchModal_Sktaq643.mjs → SearchModal_2azP1u7P.mjs} +1 -1
  86. package/packages/storefront/dist/server/chunks/_.._19fCuQdO.mjs +5 -0
  87. package/packages/storefront/dist/server/chunks/{_page__9PfWVh79.mjs → _page__qqIVxbal.mjs} +1 -1
  88. package/packages/storefront/dist/server/chunks/{account_R4bpY7O1.mjs → account_vK6pmJlz.mjs} +1 -1
  89. package/packages/storefront/dist/server/chunks/astro/{assets-service_oQ4-9MNg.mjs → assets-service_631fRtTy.mjs} +66 -11
  90. package/packages/storefront/dist/server/chunks/{astro_ECsNQeA2.mjs → astro_u-oSb215.mjs} +8 -2
  91. package/packages/storefront/dist/server/chunks/{index__PeYBuja.mjs → index__05fnqFh.mjs} +1 -1
  92. package/packages/storefront/dist/server/chunks/{node_njrZIjT6.mjs → node_zqXXqc-u.mjs} +1 -1
  93. package/packages/storefront/dist/server/chunks/pages/{__XOsz50la.mjs → __ZucPYaOo.mjs} +380 -118
  94. package/packages/storefront/dist/server/chunks/pages/{_page__cIw_KTpN.mjs → _page__0sN9U0SD.mjs} +19 -3
  95. package/packages/storefront/dist/server/chunks/pages/account_OQr_6KN1.mjs +33 -0
  96. package/packages/storefront/dist/server/chunks/pages/{index_KP7Gn0ld.mjs → index_3IjgOEIq.mjs} +15 -4
  97. package/packages/storefront/dist/server/chunks/pages/node_OmjWRf8D.mjs +112 -0
  98. package/packages/storefront/dist/server/chunks/pages/~fallback_133FK-CP.mjs +59 -0
  99. package/packages/storefront/dist/server/chunks/~fallback_Wahcp9Wk.mjs +5 -0
  100. package/packages/storefront/dist/server/entry.mjs +9 -9
  101. package/packages/storefront/dist/server/manifest_9FASPYUE.mjs +202 -0
  102. package/packages/storefront/dist/server/renderers.mjs +45 -34
  103. package/packages/storefront/package.json +6 -5
  104. package/packages/storefront/server.d.ts +0 -1
  105. package/packages/storefront/src/decap-cms/gen-preview-container.ts +32 -0
  106. package/packages/storefront/src/decap-cms/get-cms-config.ts +59 -0
  107. package/packages/storefront/src/lib/$storefront.d.ts +23 -16
  108. package/packages/storefront/src/lib/components/ViewTransitions.astro +4 -1
  109. package/packages/storefront/src/lib/composables/use-pagination.ts +1 -3
  110. package/packages/storefront/src/lib/layouts/BaseHead.astro +5 -0
  111. package/packages/storefront/src/lib/scripts/decap-cms.ts +117 -0
  112. package/packages/storefront/src/lib/scripts/push-analytics-events.ts +8 -6
  113. package/packages/storefront/src/lib/ssr-context.ts +46 -6
  114. package/packages/storefront/src/lib/state/use-analytics.ts +12 -11
  115. package/packages/storefront/src/lib/state/use-storage.ts +23 -9
  116. package/packages/test-base/package.json +1 -1
  117. package/packages/types/package.json +1 -1
  118. package/packages/storefront/dist/client/_astro/ProductDetails.ATGXfGhG.js +0 -7
  119. package/packages/storefront/dist/client/_astro/SearchShowcase.9gIA4Cq0.js +0 -1
  120. package/packages/storefront/dist/client/_astro/ShopHeader.Ee4OJr3q.js +0 -7
  121. package/packages/storefront/dist/client/_astro/customer-session.dSYHWdP4.js +0 -7
  122. package/packages/storefront/dist/client/_astro/ecom-icon_12falx.png +0 -0
  123. package/packages/storefront/dist/client/_astro/ecom-icon_15pqnO.png +0 -0
  124. package/packages/storefront/dist/client/_astro/ecom-icon_t3guw.png +0 -0
  125. package/packages/storefront/dist/client/_astro/headphone_T2Jjc.avif +0 -0
  126. package/packages/storefront/dist/client/_astro/headphone_Z1CG18r.webp +0 -0
  127. package/packages/storefront/dist/client/_astro/hoisted.d2SGwVMl.js +0 -1
  128. package/packages/storefront/dist/client/_astro/hoisted.x1b7VHef.js +0 -1
  129. package/packages/storefront/dist/client/_astro/logo_1UBsBq.webp +0 -0
  130. package/packages/storefront/dist/client/_astro/logo_Z1K5PE9.png +0 -0
  131. package/packages/storefront/dist/client/_astro/logo_Z1KIIl1.avif +0 -0
  132. package/packages/storefront/dist/client/_astro/passion_LHbe9.webp +0 -0
  133. package/packages/storefront/dist/client/_astro/passion_Z23MeUb.avif +0 -0
  134. package/packages/storefront/dist/client/_astro/rect8589_1TtOHY.png +0 -0
  135. package/packages/storefront/dist/client/_astro/rect8589_1f5opX.webp +0 -0
  136. package/packages/storefront/dist/client/_astro/rect8589_IUskt.webp +0 -0
  137. package/packages/storefront/dist/client/_astro/rect8589_Uxfdf.png +0 -0
  138. package/packages/storefront/dist/client/_astro/rect8589_Z15uApA.png +0 -0
  139. package/packages/storefront/dist/client/_astro/rect8589_Z1Ap1Im.avif +0 -0
  140. package/packages/storefront/dist/client/_astro/rect8589_Z1JT1HB.webp +0 -0
  141. package/packages/storefront/dist/client/_astro/rect8589_ZY9mtN.avif +0 -0
  142. package/packages/storefront/dist/client/_astro/rect8589_tMFW0.avif +0 -0
  143. package/packages/storefront/dist/client/_astro/rect859_1TgQXS.avif +0 -0
  144. package/packages/storefront/dist/client/_astro/rect859_2Nm1z.avif +0 -0
  145. package/packages/storefront/dist/client/_astro/rect859_DIqwR.png +0 -0
  146. package/packages/storefront/dist/client/_astro/rect859_Z1IKDb2.png +0 -0
  147. package/packages/storefront/dist/client/_astro/rect859_Z29FI4V.webp +0 -0
  148. package/packages/storefront/dist/client/_astro/rect859_Z2kFHGk.avif +0 -0
  149. package/packages/storefront/dist/client/_astro/rect859_ZkpPFI.webp +0 -0
  150. package/packages/storefront/dist/client/_astro/rect859_jXzBi.png +0 -0
  151. package/packages/storefront/dist/client/_astro/rect859_x1l16.webp +0 -0
  152. package/packages/storefront/dist/client/_astro/rect89_1TSfW7.avif +0 -0
  153. package/packages/storefront/dist/client/_astro/rect89_Z1re32x.webp +0 -0
  154. package/packages/storefront/dist/client/_astro/use-analytics._ef6TM4P.js +0 -1
  155. package/packages/storefront/dist/client/_astro/use-text-value.0OP9HCfP.js +0 -4
  156. package/packages/storefront/dist/client/~fallback.html +0 -99
  157. package/packages/storefront/dist/client/~index.html +0 -131
  158. package/packages/storefront/dist/server/chunks/_.._yTK2xBRC.mjs +0 -5
  159. package/packages/storefront/dist/server/chunks/pages/account_l-FHyDJd.mjs +0 -23
  160. package/packages/storefront/dist/server/chunks/pages/node_FoLtkdH1.mjs +0 -257
  161. package/packages/storefront/dist/server/chunks/pages/~fallback_KPp6Nh_p.mjs +0 -34
  162. package/packages/storefront/dist/server/chunks/~fallback_p7P7NIL5.mjs +0 -5
  163. package/packages/storefront/dist/server/images.dist.csv +0 -30
  164. package/packages/storefront/dist/server/images.src.csv +0 -11
  165. package/packages/storefront/dist/server/manifest_E6KbHQrT.mjs +0 -202
  166. package/packages/storefront/dist/server/static-builds.csv +0 -71
  167. package/packages/storefront/src/lib/scripts/git-cms-auth.ts +0 -3
  168. package/packages/storefront/src/lib/scripts/sso-ecom.ts +0 -0
  169. /package/ecomplus-stores/{barra-doce → barradoce}/.devcontainer/devcontainer.json +0 -0
  170. /package/ecomplus-stores/{barra-doce → barradoce}/.editorconfig +0 -0
  171. /package/ecomplus-stores/{barra-doce → barradoce}/.eslintrc.cjs +0 -0
  172. /package/ecomplus-stores/{barra-doce → barradoce}/.firebaserc +0 -0
  173. /package/ecomplus-stores/{barra-doce → barradoce}/.github/build-and-deploy +0 -0
  174. /package/ecomplus-stores/{barra-doce → barradoce}/.github/renovate.json +0 -0
  175. /package/ecomplus-stores/{barra-doce → barradoce}/.github/workflows/build-and-deploy.yml +0 -0
  176. /package/ecomplus-stores/{barra-doce → barradoce}/.github/workflows/calibreapp-image-actions.yml +0 -0
  177. /package/ecomplus-stores/{barra-doce → barradoce}/.gitpod.yml +0 -0
  178. /package/ecomplus-stores/{barra-doce → barradoce}/.husky/pre-commit +0 -0
  179. /package/ecomplus-stores/{barra-doce → barradoce}/.idx/dev.nix +0 -0
  180. /package/ecomplus-stores/{barra-doce → barradoce}/.nvmrc +0 -0
  181. /package/ecomplus-stores/{barra-doce → barradoce}/.vscode/extensions.json +0 -0
  182. /package/ecomplus-stores/{barra-doce → barradoce}/.vscode/launch.json +0 -0
  183. /package/ecomplus-stores/{barra-doce → barradoce}/.vscode/settings.json +0 -0
  184. /package/ecomplus-stores/{barra-doce → barradoce}/README.md +0 -0
  185. /package/ecomplus-stores/{barra-doce → barradoce}/SETUP.md +0 -0
  186. /package/ecomplus-stores/{barra-doce → barradoce}/SETUP.pt-BR.md +0 -0
  187. /package/ecomplus-stores/{barra-doce → barradoce}/conf/firebase.json +0 -0
  188. /package/ecomplus-stores/{barra-doce → barradoce}/functions/config.json +0 -0
  189. /package/ecomplus-stores/{barra-doce → barradoce}/functions/example.env +0 -0
  190. /package/ecomplus-stores/{barra-doce → barradoce}/functions/many/index.js +0 -0
  191. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/.eslintrc.cjs +0 -0
  192. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/.staged.eslintrc.cjs +0 -0
  193. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/astro.config.mjs +0 -0
  194. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/3.md +0 -0
  195. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/4.md +0 -0
  196. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/5.md +0 -0
  197. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/dos.md +0 -0
  198. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/uno.md +0 -0
  199. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/extra-pages/contato.md +0 -0
  200. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/extra-pages/terms.md +0 -0
  201. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/extra-pages/trocas.md +0 -0
  202. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/layout.json +0 -0
  203. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/brands.json +0 -0
  204. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/categories.json +0 -0
  205. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/collections.json +0 -0
  206. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/home.json +0 -0
  207. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/products.json +0 -0
  208. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/search.json +0 -0
  209. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/settings.json +0 -0
  210. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/index.js +0 -0
  211. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/admin/.gitkeep +0 -0
  212. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/assets/.gitkeep +0 -0
  213. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/icon.png +0 -0
  214. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/large-icon.png +0 -0
  215. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/banner-forma-decora.jpg +0 -0
  216. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/ecom-icon.png +0 -0
  217. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/logo-barradoce.webp +0 -0
  218. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/og-image.png +0 -0
  219. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/robots.txt +0 -0
  220. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/scripts/build.sh +0 -0
  221. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/assets/style.css +0 -0
  222. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/AccountMenu.vue +0 -0
  223. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/AccountPage.vue +0 -0
  224. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Banner.vue +0 -0
  225. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/BannersGrid.astro +0 -0
  226. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/BlogPosts.vue +0 -0
  227. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Breadcrumbs.vue +0 -0
  228. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/CartItem.vue +0 -0
  229. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/CartSidebar.vue +0 -0
  230. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/CheckoutPage.vue +0 -0
  231. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Collapse.vue +0 -0
  232. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ContentEntry.vue +0 -0
  233. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/DocBanners.vue +0 -0
  234. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/FooterStamps.vue +0 -0
  235. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/HeroSlider.vue +0 -0
  236. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ImagesGallery.vue +0 -0
  237. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/LoginForm.vue +0 -0
  238. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/PageTitle.vue +0 -0
  239. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Pagination.vue +0 -0
  240. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/PitchBar.vue +0 -0
  241. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Prices.vue +0 -0
  242. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductCard.vue +0 -0
  243. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductDetails.vue +0 -0
  244. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductShelf.vue +0 -0
  245. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductSpecifications.vue +0 -0
  246. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SearchFilters.vue +0 -0
  247. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SearchModal.vue +0 -0
  248. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SearchShowcase.vue +0 -0
  249. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopFooter.vue +0 -0
  250. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopHeader.vue +0 -0
  251. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopHeaderMenu.vue +0 -0
  252. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopHeaderSubmenu.vue +0 -0
  253. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopSidenav.vue +0 -0
  254. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopSidenavCategory.vue +0 -0
  255. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SkuSelector.vue +0 -0
  256. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/env.d.ts +0 -0
  257. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/layouts/Base.astro +0 -0
  258. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/layouts/PageFooter.astro +0 -0
  259. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/layouts/PageHeader.astro +0 -0
  260. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/Fallback.astro +0 -0
  261. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/Main.astro +0 -0
  262. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/[...slug].astro +0 -0
  263. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/_vue.ts +0 -0
  264. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/app/account.astro +0 -0
  265. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/app/index.astro +0 -0
  266. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/blog/[page].astro +0 -0
  267. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/blog/_blog-pages.ts +0 -0
  268. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/~fallback.astro +0 -0
  269. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/scripts/InlineScripts.astro +0 -0
  270. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/tailwind.config.cjs +0 -0
  271. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/tsconfig.json +0 -0
  272. /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/uno.config.cjs +0 -0
  273. /package/ecomplus-stores/{barra-doce → barradoce}/functions/with-apps/index.js +0 -0
  274. /package/ecomplus-stores/{barra-doce → barradoce}/scripts/install.sh +0 -0
  275. /package/ecomplus-stores/{barra-doce → barradoce}/tailwind.config.cjs +0 -0
@@ -1,7 +1,7 @@
1
- import { c as createAstro, b as createComponent, r as renderTemplate, d as addAttribute, e as renderComponent, F as Fragment, m as maybeRenderHead, u as unescapeHTML } from '../astro_ECsNQeA2.mjs';
1
+ import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, i as renderComponent, F as Fragment, m as maybeRenderHead, u as unescapeHTML } from '../astro_u-oSb215.mjs';
2
2
  import 'kleur/colors';
3
3
  import 'cssesc';
4
- import { g as getConfig, P as Pagination, _ as _export_sfc, l as loadRouteContext, $ as $$Base, a as $$BaseHead, b as $$PageHeader, c as $$PageFooter } from './__XOsz50la.mjs';
4
+ import { g as getConfig, P as Pagination, _ as _export_sfc, l as loadRouteContext, $ as $$Base, a as $$BaseHead, b as $$PageHeader, c as $$PageFooter } from './__ZucPYaOo.mjs';
5
5
  import { useSSRContext, defineComponent, computed, resolveComponent, mergeProps } from 'vue';
6
6
  import { ssrRenderAttrs, ssrRenderAttr, ssrRenderComponent, ssrInterpolate, ssrRenderList } from 'vue/server-renderer';
7
7
 
@@ -145,7 +145,23 @@ const $$page = createComponent(async ($$result, $$props, $$slots) => {
145
145
  })
146
146
  );
147
147
  const metaTitle = `Blog | ${settings.name}`;
148
- return renderTemplate`<html${addAttribute(routeContext.lang.replace("_", "-"), "lang")}> ${routeContext && renderTemplate`${renderComponent($$result, "Fragment", Fragment, {}, { "default": ($$result2) => renderTemplate`${renderComponent($$result2, "Base", $$Base, { "metaTitle": metaTitle }, { "base-head": ($$result3) => renderTemplate`${renderComponent($$result3, "Fragment", Fragment, { "slot": "base-head" }, { "default": ($$result4) => renderTemplate`${renderComponent($$result4, "BaseHead", $$BaseHead, {})}<title>${`Blog | ${settings.name}`}</title><meta name="description"${addAttribute(settings.description, "content")}>` })}`, "default": ($$result3) => renderTemplate`${renderComponent($$result3, "PageHeader", $$PageHeader, {})}${maybeRenderHead()}<main>${renderComponent($$result3, "BlogPosts", BlogPosts, { "page": page, "totalPages": totalPages, "posts": posts })}</main>${renderComponent($$result3, "PageFooter", $$PageFooter, {})}` })}` })}`}${loadError && renderTemplate`${renderComponent($$result, "Fragment", Fragment, {}, { "default": ($$result2) => renderTemplate`${unescapeHTML(loadError.responseHTML)}` })}`}</html>`;
148
+ return renderTemplate`<html${addAttribute(routeContext.lang.replace("_", "-"), "lang")}>
149
+ ${routeContext && renderTemplate`${renderComponent($$result, "Fragment", Fragment, {}, { "default": ($$result2) => renderTemplate`
150
+ ${renderComponent($$result2, "Base", $$Base, { "metaTitle": metaTitle }, { "base-head": ($$result3) => renderTemplate`${renderComponent($$result3, "Fragment", Fragment, { "slot": "base-head" }, { "default": ($$result4) => renderTemplate`
151
+ ${renderComponent($$result4, "BaseHead", $$BaseHead, {})}
152
+ <title>${`Blog | ${settings.name}`}</title>
153
+ <meta name="description"${addAttribute(settings.description, "content")}>
154
+ ` })}`, "default": ($$result3) => renderTemplate`
155
+
156
+ ${renderComponent($$result3, "PageHeader", $$PageHeader, {})}
157
+ ${maybeRenderHead()}<main>
158
+ ${renderComponent($$result3, "BlogPosts", BlogPosts, { "page": page, "totalPages": totalPages, "posts": posts })}
159
+ </main>
160
+ ${renderComponent($$result3, "PageFooter", $$PageFooter, {})}
161
+ ` })}
162
+ ` })}`}
163
+ ${loadError && renderTemplate`${renderComponent($$result, "Fragment", Fragment, {}, { "default": ($$result2) => renderTemplate`${unescapeHTML(loadError.responseHTML)}` })}`}
164
+ </html>`;
149
165
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/blog/[page].astro", void 0);
150
166
  const $$file = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/blog/[page].astro";
151
167
  const $$url = "/blog/[page]";
@@ -0,0 +1,33 @@
1
+ import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, i as renderComponent, F as Fragment, m as maybeRenderHead } from '../astro_u-oSb215.mjs';
2
+ import 'kleur/colors';
3
+ import 'cssesc';
4
+ import { l as loadRouteContext, a as $$BaseHead, i as i19myAccount, d as $$Picture, $ as $$Base } from './__ZucPYaOo.mjs';
5
+
6
+ const $$Astro = createAstro("https://demo.ecomplus.app");
7
+ const $$Account = createComponent(async ($$result, $$props, $$slots) => {
8
+ const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
9
+ Astro2.self = $$Account;
10
+ let routeContext;
11
+ try {
12
+ routeContext = await loadRouteContext(Astro2);
13
+ } catch (err) {
14
+ return err.astroResponse;
15
+ }
16
+ const { settings } = routeContext;
17
+ return renderTemplate`<html${addAttribute(routeContext.lang.replace("_", "-"), "lang")}>
18
+ ${renderComponent($$result, "Base", $$Base, {}, { "base-head": ($$result2) => renderTemplate`${renderComponent($$result2, "Fragment", Fragment, { "slot": "base-head" }, { "default": ($$result3) => renderTemplate`
19
+ ${renderComponent($$result3, "BaseHead", $$BaseHead, {})}
20
+ <title>${`${i19myAccount} | ${settings.name}`}</title>
21
+ ` })}`, "default": ($$result2) => renderTemplate`
22
+
23
+ ${maybeRenderHead()}<main>
24
+ ${renderComponent($$result2, "AccountPage", null, { "client:only": true, "client:component-hydration": "only", "client:component-path": "~/components/AccountPage.vue", "client:component-export": "default" }, { "logo": ($$result3) => renderTemplate`${renderComponent($$result3, "Picture", $$Picture, { "slot": "logo", "src": settings.logo, "alt": settings.name, "widths": [300], "loading": "lazy", "class": "max-w-[150px]" })}` })}
25
+ </main>
26
+ ` })}
27
+ </html>`;
28
+ }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/account.astro", void 0);
29
+
30
+ const $$file = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/account.astro";
31
+ const $$url = "/app/account";
32
+
33
+ export { $$Account as default, $$file as file, $$url as url };
@@ -1,7 +1,7 @@
1
- import { c as createAstro, b as createComponent, r as renderTemplate, d as addAttribute, e as renderComponent, F as Fragment } from '../astro_ECsNQeA2.mjs';
1
+ import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, i as renderComponent, F as Fragment } from '../astro_u-oSb215.mjs';
2
2
  import 'kleur/colors';
3
3
  import 'cssesc';
4
- import { F as FooterStamps, _ as _export_sfc, l as loadRouteContext, a as $$BaseHead, e as i19shoppingCart, d as $$Picture, $ as $$Base } from './__XOsz50la.mjs';
4
+ import { F as FooterStamps, _ as _export_sfc, l as loadRouteContext, a as $$BaseHead, e as i19shoppingCart, d as $$Picture, $ as $$Base } from './__ZucPYaOo.mjs';
5
5
  import { useSSRContext, defineComponent, resolveComponent, mergeProps, withCtx, createTextVNode, toDisplayString, createVNode } from 'vue';
6
6
  import { ssrRenderAttrs, ssrRenderSlot, ssrInterpolate, ssrRenderList, ssrRenderComponent } from 'vue/server-renderer';
7
7
 
@@ -68,7 +68,12 @@ const $$Index = createComponent(async ($$result, $$props, $$slots) => {
68
68
  const { settings, getContent } = routeContext;
69
69
  const layoutContent = await getContent("layout");
70
70
  const { footer: { stamps } } = layoutContent;
71
- 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>${`${i19shoppingCart} | ${settings.name}`}</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ecomplus/storefront-twbs@7/dist/cdn/storefront-twbs.min.css"><style>
71
+ return renderTemplate`<html${addAttribute(routeContext.lang.replace("_", "-"), "lang")}>
72
+ ${renderComponent($$result, "Base", $$Base, {}, { "base-head": ($$result2) => renderTemplate`${renderComponent($$result2, "Fragment", Fragment, { "slot": "base-head" }, { "default": ($$result3) => renderTemplate`
73
+ ${renderComponent($$result3, "BaseHead", $$BaseHead, {})}
74
+ <title>${`${i19shoppingCart} | ${settings.name}`}</title>
75
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ecomplus/storefront-twbs@7/dist/cdn/storefront-twbs.min.css">
76
+ <style>
72
77
  body {
73
78
  --primary: var(--c-primary);
74
79
  --primary-yiq: var(--c-on-primary);
@@ -109,7 +114,13 @@ const $$Index = createComponent(async ($$result, $$props, $$slots) => {
109
114
  #storefront-app p {
110
115
  margin-bottom: 1rem;
111
116
  }
112
- </style>` })}`, "default": ($$result2) => renderTemplate`${renderComponent($$result2, "CheckoutPage", CheckoutPage, { "footerStamps": stamps }, { "logo": ($$result3) => renderTemplate`${renderComponent($$result3, "Picture", $$Picture, { "slot": "logo", "src": settings.logo, "alt": settings.name, "widths": [300], "loading": "lazy", "class": "max-w-[150px]" })}` })}` })}</html>`;
117
+ </style>
118
+ ` })}`, "default": ($$result2) => renderTemplate`
119
+
120
+ ${renderComponent($$result2, "CheckoutPage", CheckoutPage, { "footerStamps": stamps }, { "logo": ($$result3) => renderTemplate`${renderComponent($$result3, "Picture", $$Picture, { "slot": "logo", "src": settings.logo, "alt": settings.name, "widths": [300], "loading": "lazy", "class": "max-w-[150px]" })}` })}
121
+
122
+ ` })}
123
+ </html>`;
113
124
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/index.astro", void 0);
114
125
 
115
126
  const $$file = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/index.astro";
@@ -0,0 +1,112 @@
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, c as isRemoteAllowed } from '../astro/assets-service_631fRtTy.mjs';
6
+ import { f as imageConfig, h as assetsDir } from './__ZucPYaOo.mjs';
7
+
8
+ async function getConfiguredImageService() {
9
+ if (!globalThis?.astroAsset?.imageService) {
10
+ const { default: service } = await import(
11
+ // @ts-expect-error
12
+ '../astro/assets-service_631fRtTy.mjs'
13
+ ).then(n => n.s).catch((e) => {
14
+ const error = new AstroError(InvalidImageService);
15
+ error.cause = e;
16
+ throw error;
17
+ });
18
+ if (!globalThis.astroAsset)
19
+ globalThis.astroAsset = {};
20
+ globalThis.astroAsset.imageService = service;
21
+ return service;
22
+ }
23
+ return globalThis.astroAsset.imageService;
24
+ }
25
+
26
+ const fnv1a52 = (str) => {
27
+ const len = str.length;
28
+ let i = 0, t0 = 0, v0 = 8997, t1 = 0, v1 = 33826, t2 = 0, v2 = 40164, t3 = 0, v3 = 52210;
29
+ while (i < len) {
30
+ v0 ^= str.charCodeAt(i++);
31
+ t0 = v0 * 435;
32
+ t1 = v1 * 435;
33
+ t2 = v2 * 435;
34
+ t3 = v3 * 435;
35
+ t2 += v0 << 8;
36
+ t3 += v1 << 8;
37
+ t1 += t0 >>> 16;
38
+ v0 = t0 & 65535;
39
+ t2 += t1 >>> 16;
40
+ v1 = t1 & 65535;
41
+ v3 = t3 + (t2 >>> 16) & 65535;
42
+ v2 = t2 & 65535;
43
+ }
44
+ return (v3 & 15) * 281474976710656 + v2 * 4294967296 + v1 * 65536 + (v0 ^ v3 >> 4);
45
+ };
46
+ const etag = (payload, weak = false) => {
47
+ const prefix = weak ? 'W/"' : '"';
48
+ return prefix + fnv1a52(payload).toString(36) + payload.length.toString(36) + '"';
49
+ };
50
+
51
+ async function loadLocalImage(src, url) {
52
+ const filePath = new URL("." + src, assetsDir);
53
+ let buffer = void 0;
54
+ try {
55
+ buffer = await readFile(filePath);
56
+ } catch (e) {
57
+ const sourceUrl = new URL(src, url.origin);
58
+ buffer = await loadRemoteImage(sourceUrl);
59
+ }
60
+ return buffer;
61
+ }
62
+ async function loadRemoteImage(src) {
63
+ try {
64
+ const res = await fetch(src);
65
+ if (!res.ok) {
66
+ return void 0;
67
+ }
68
+ return Buffer.from(await res.arrayBuffer());
69
+ } catch (err) {
70
+ return void 0;
71
+ }
72
+ }
73
+ const GET = async ({ request }) => {
74
+ try {
75
+ const imageService = await getConfiguredImageService();
76
+ if (!("transform" in imageService)) {
77
+ throw new Error("Configured image service is not a local service");
78
+ }
79
+ const url = new URL(request.url);
80
+ const transform = await imageService.parseURL(url, imageConfig);
81
+ if (!transform?.src) {
82
+ throw new Error("Incorrect transform returned by `parseURL`");
83
+ }
84
+ let inputBuffer = void 0;
85
+ if (isRemotePath(transform.src)) {
86
+ if (isRemoteAllowed(transform.src, imageConfig) === false) {
87
+ return new Response("Forbidden", { status: 403 });
88
+ }
89
+ inputBuffer = await loadRemoteImage(new URL(transform.src));
90
+ } else {
91
+ inputBuffer = await loadLocalImage(transform.src, url);
92
+ }
93
+ if (!inputBuffer) {
94
+ return new Response("Not Found", { status: 404 });
95
+ }
96
+ const { data, format } = await imageService.transform(inputBuffer, transform, imageConfig);
97
+ return new Response(data, {
98
+ status: 200,
99
+ headers: {
100
+ "Content-Type": mime.getType(format) ?? `image/${format}`,
101
+ "Cache-Control": "public, max-age=31536000",
102
+ ETag: etag(data.toString()),
103
+ Date: (/* @__PURE__ */ new Date()).toUTCString()
104
+ }
105
+ });
106
+ } catch (err) {
107
+ console.error("Could not process image request:", err);
108
+ return new Response(`Server Error: ${err}`, { status: 500 });
109
+ }
110
+ };
111
+
112
+ export { GET };
@@ -0,0 +1,59 @@
1
+ import { e as createAstro, f as createComponent, r as renderTemplate, m as maybeRenderHead, h as addAttribute, i as renderComponent, F as Fragment } from '../astro_u-oSb215.mjs';
2
+ import 'kleur/colors';
3
+ import 'cssesc';
4
+ import { j as i19error, k as i19errorMsg, m as i19notFound, n as i19home, l as loadRouteContext, a as $$BaseHead, b as $$PageHeader, c as $$PageFooter, $ as $$Base } from './__ZucPYaOo.mjs';
5
+ import 'clsx';
6
+
7
+ const $$Astro$1 = createAstro("https://demo.ecomplus.app");
8
+ const $$Fallback = createComponent(async ($$result, $$props, $$slots) => {
9
+ const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
10
+ Astro2.self = $$Fallback;
11
+ return renderTemplate`${maybeRenderHead()}<main>
12
+ <article class="prose mx-auto px-8 pb-32 pt-20">
13
+ <h1>${i19error} :/</h1>
14
+ <p class="hidden text-xl" id="errorMsg">
15
+ ${i19errorMsg}
16
+ </p>
17
+ <p class="hidden text-xl" id="404Msg">
18
+ ${i19notFound} (404)
19
+ </p>
20
+ <p class="text-xl" id="loadingMsg">
21
+ ... ... ...
22
+ </p>
23
+ <a href="/" class="text-2xl">
24
+ <i class="i-arrow-right mr-1 rotate-180"></i>
25
+ ${i19home}
26
+ </a>
27
+ </article>
28
+
29
+ </main>`;
30
+ }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/main/Fallback.astro", void 0);
31
+
32
+ const $$Astro = createAstro("https://demo.ecomplus.app");
33
+ const $$fallback = createComponent(async ($$result, $$props, $$slots) => {
34
+ const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
35
+ Astro2.self = $$fallback;
36
+ let routeContext;
37
+ try {
38
+ routeContext = await loadRouteContext(Astro2);
39
+ } catch (err) {
40
+ return err.astroResponse;
41
+ }
42
+ const { settings } = routeContext;
43
+ return renderTemplate`<html${addAttribute(routeContext?.lang.replace("_", "-"), "lang")}>
44
+ ${renderComponent($$result, "Base", $$Base, {}, { "base-head": ($$result2) => renderTemplate`${renderComponent($$result2, "Fragment", Fragment, { "slot": "base-head" }, { "default": ($$result3) => renderTemplate`
45
+ ${renderComponent($$result3, "BaseHead", $$BaseHead, {})}
46
+ <title>${`${i19error} | ${settings.name}`}</title>
47
+ ` })}`, "default": ($$result2) => renderTemplate`
48
+
49
+ ${renderComponent($$result2, "PageHeader", $$PageHeader, {})}
50
+ ${renderComponent($$result2, "FallbackMain", $$Fallback, {})}
51
+ ${renderComponent($$result2, "PageFooter", $$PageFooter, {})}
52
+ ` })}
53
+ </html>`;
54
+ }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/~fallback.astro", void 0);
55
+
56
+ const $$file = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/~fallback.astro";
57
+ const $$url = "/~fallback";
58
+
59
+ export { $$fallback as default, $$file as file, $$url as url };
@@ -0,0 +1,5 @@
1
+ export { renderers } from '../renderers.mjs';
2
+
3
+ const page = () => import('./pages/~fallback_133FK-CP.mjs');
4
+
5
+ export { page };
@@ -1,8 +1,8 @@
1
1
  import { renderers } from './renderers.mjs';
2
- import { l as levels, g as getEventPrefix, L as Logger, A as AstroIntegrationLogger, manifest } from './manifest_E6KbHQrT.mjs';
2
+ import { l as levels, g as getEventPrefix, L as Logger, A as AstroIntegrationLogger, manifest } from './manifest_9FASPYUE.mjs';
3
3
  import fs from 'node:fs';
4
4
  import { appendForwardSlash as appendForwardSlash$1, joinPaths, trimSlashes, slash, prependForwardSlash as prependForwardSlash$1, removeTrailingForwardSlash, collapseDuplicateSlashes } from '@astrojs/internal-helpers/path';
5
- import { R as ROUTE_DATA_SYMBOL, A as AstroError, n as ResponseSentError, o as MiddlewareNoDataOrNextCalled, p as MiddlewareNotAResponse, G as GetStaticPathsRequired, q as InvalidGetStaticPathsReturn, t as InvalidGetStaticPathsEntry, v as GetStaticPathsExpectedParams, w as GetStaticPathsInvalidRouteParam, P as PageNumberParamNotFound, N as NoMatchingStaticPathFound, x as PrerenderDynamicEndpointPathCollide, y as LocalsNotAnObject, z as ASTRO_VERSION, C as ClientAddressNotAvailable, S as StaticClientAddressNotAvailable, B as renderEndpoint, D as ReservedSlotName, g as renderSlotToString, H as renderJSX, J as chunkToString, K as CantRenderPage, O as renderPage$1, Q as REROUTE_DIRECTIVE_HEADER } from './chunks/astro_ECsNQeA2.mjs';
5
+ import { R as ROUTE_DATA_SYMBOL, A as AstroError, o as ResponseSentError, p as MiddlewareNoDataOrNextCalled, q as MiddlewareNotAResponse, G as GetStaticPathsRequired, t as InvalidGetStaticPathsReturn, v as InvalidGetStaticPathsEntry, w as GetStaticPathsExpectedParams, x as GetStaticPathsInvalidRouteParam, P as PageNumberParamNotFound, N as NoMatchingStaticPathFound, y as PrerenderDynamicEndpointPathCollide, z as LocalsNotAnObject, B as ASTRO_VERSION, C as ClientAddressNotAvailable, S as StaticClientAddressNotAvailable, D as renderEndpoint, H as ReservedSlotName, k as renderSlotToString, J as renderJSX, K as chunkToString, O as CantRenderPage, Q as renderPage$1, T as REROUTE_DIRECTIVE_HEADER } from './chunks/astro_u-oSb215.mjs';
6
6
  import { serialize, parse } from 'cookie';
7
7
  import 'kleur/colors';
8
8
  import 'clsx';
@@ -2436,14 +2436,14 @@ const serverEntrypointModule = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.de
2436
2436
  start
2437
2437
  }, Symbol.toStringTag, { value: 'Module' }));
2438
2438
 
2439
- const _page0 = () => import('./chunks/node_njrZIjT6.mjs');
2440
- const _page1 = () => import('./chunks/~fallback_p7P7NIL5.mjs');
2441
- const _page2 = () => import('./chunks/index__PeYBuja.mjs');
2442
- const _page3 = () => import('./chunks/account_R4bpY7O1.mjs');
2443
- const _page4 = () => import('./chunks/_page__9PfWVh79.mjs');
2444
- const _page5 = () => import('./chunks/_.._yTK2xBRC.mjs');
2439
+ const _page0 = () => import('./chunks/node_zqXXqc-u.mjs');
2440
+ const _page1 = () => import('./chunks/~fallback_Wahcp9Wk.mjs');
2441
+ const _page2 = () => import('./chunks/index__05fnqFh.mjs');
2442
+ const _page3 = () => import('./chunks/account_vK6pmJlz.mjs');
2443
+ const _page4 = () => import('./chunks/_page__qqIVxbal.mjs');
2444
+ const _page5 = () => import('./chunks/_.._19fCuQdO.mjs');
2445
2445
  const pageMap = new Map([
2446
- ["../../node_modules/.pnpm/astro@4.3.1_@types+node@18.19.10_typescript@5.2.2/node_modules/astro/dist/assets/endpoint/node.js", _page0],
2446
+ ["../../node_modules/.pnpm/astro@4.3.2_@types+node@18.19.14_typescript@5.2.2/node_modules/astro/dist/assets/endpoint/node.js", _page0],
2447
2447
  ["src/pages/~fallback.astro", _page1],
2448
2448
  ["src/pages/app/index.astro", _page2],
2449
2449
  ["src/pages/app/account.astro", _page3],
@@ -0,0 +1,202 @@
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_u-oSb215.mjs';
6
+ import 'clsx';
7
+ import 'cssesc';
8
+ import { compile } from 'path-to-regexp';
9
+
10
+ const dateTimeFormat = new Intl.DateTimeFormat([], {
11
+ hour: "2-digit",
12
+ minute: "2-digit",
13
+ second: "2-digit",
14
+ hour12: false
15
+ });
16
+ const levels = {
17
+ debug: 20,
18
+ info: 30,
19
+ warn: 40,
20
+ error: 50,
21
+ silent: 90
22
+ };
23
+ function log(opts, level, label, message, newLine = true) {
24
+ const logLevel = opts.level;
25
+ const dest = opts.dest;
26
+ const event = {
27
+ label,
28
+ level,
29
+ message,
30
+ newLine
31
+ };
32
+ if (!isLogLevelEnabled(logLevel, level)) {
33
+ return;
34
+ }
35
+ dest.write(event);
36
+ }
37
+ function isLogLevelEnabled(configuredLogLevel, level) {
38
+ return levels[configuredLogLevel] <= levels[level];
39
+ }
40
+ function info(opts, label, message, newLine = true) {
41
+ return log(opts, "info", label, message, newLine);
42
+ }
43
+ function warn(opts, label, message, newLine = true) {
44
+ return log(opts, "warn", label, message, newLine);
45
+ }
46
+ function error(opts, label, message, newLine = true) {
47
+ return log(opts, "error", label, message, newLine);
48
+ }
49
+ function debug(...args) {
50
+ if ("_astroGlobalDebug" in globalThis) {
51
+ globalThis._astroGlobalDebug(...args);
52
+ }
53
+ }
54
+ function getEventPrefix({ level, label }) {
55
+ const timestamp = `${dateTimeFormat.format(/* @__PURE__ */ new Date())}`;
56
+ const prefix = [];
57
+ if (level === "error" || level === "warn") {
58
+ prefix.push(bold(timestamp));
59
+ prefix.push(`[${level.toUpperCase()}]`);
60
+ } else {
61
+ prefix.push(timestamp);
62
+ }
63
+ if (label) {
64
+ prefix.push(`[${label}]`);
65
+ }
66
+ if (level === "error") {
67
+ return red(prefix.join(" "));
68
+ }
69
+ if (level === "warn") {
70
+ return yellow(prefix.join(" "));
71
+ }
72
+ if (prefix.length === 1) {
73
+ return dim(prefix[0]);
74
+ }
75
+ return dim(prefix[0]) + " " + blue(prefix.splice(1).join(" "));
76
+ }
77
+ if (typeof process !== "undefined") {
78
+ let proc = process;
79
+ if ("argv" in proc && Array.isArray(proc.argv)) {
80
+ if (proc.argv.includes("--verbose")) ; else if (proc.argv.includes("--silent")) ; else ;
81
+ }
82
+ }
83
+ class Logger {
84
+ options;
85
+ constructor(options) {
86
+ this.options = options;
87
+ }
88
+ info(label, message, newLine = true) {
89
+ info(this.options, label, message, newLine);
90
+ }
91
+ warn(label, message, newLine = true) {
92
+ warn(this.options, label, message, newLine);
93
+ }
94
+ error(label, message, newLine = true) {
95
+ error(this.options, label, message, newLine);
96
+ }
97
+ debug(label, ...messages) {
98
+ debug(label, ...messages);
99
+ }
100
+ level() {
101
+ return this.options.level;
102
+ }
103
+ forkIntegrationLogger(label) {
104
+ return new AstroIntegrationLogger(this.options, label);
105
+ }
106
+ }
107
+ class AstroIntegrationLogger {
108
+ options;
109
+ label;
110
+ constructor(logging, label) {
111
+ this.options = logging;
112
+ this.label = label;
113
+ }
114
+ /**
115
+ * Creates a new logger instance with a new label, but the same log options.
116
+ */
117
+ fork(label) {
118
+ return new AstroIntegrationLogger(this.options, label);
119
+ }
120
+ info(message) {
121
+ info(this.options, this.label, message);
122
+ }
123
+ warn(message) {
124
+ warn(this.options, this.label, message);
125
+ }
126
+ error(message) {
127
+ error(this.options, this.label, message);
128
+ }
129
+ debug(message) {
130
+ debug(this.label, message);
131
+ }
132
+ }
133
+
134
+ function getRouteGenerator(segments, addTrailingSlash) {
135
+ const template = segments.map((segment) => {
136
+ return "/" + segment.map((part) => {
137
+ if (part.spread) {
138
+ return `:${part.content.slice(3)}(.*)?`;
139
+ } else if (part.dynamic) {
140
+ return `:${part.content}`;
141
+ } else {
142
+ return part.content.normalize().replace(/\?/g, "%3F").replace(/#/g, "%23").replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
143
+ }
144
+ }).join("");
145
+ }).join("");
146
+ let trailing = "";
147
+ if (addTrailingSlash === "always" && segments.length) {
148
+ trailing = "/";
149
+ }
150
+ const toPath = compile(template + trailing);
151
+ return toPath;
152
+ }
153
+
154
+ function deserializeRouteData(rawRouteData) {
155
+ return {
156
+ route: rawRouteData.route,
157
+ type: rawRouteData.type,
158
+ pattern: new RegExp(rawRouteData.pattern),
159
+ params: rawRouteData.params,
160
+ component: rawRouteData.component,
161
+ generate: getRouteGenerator(rawRouteData.segments, rawRouteData._meta.trailingSlash),
162
+ pathname: rawRouteData.pathname || void 0,
163
+ segments: rawRouteData.segments,
164
+ prerender: rawRouteData.prerender,
165
+ redirect: rawRouteData.redirect,
166
+ redirectRoute: rawRouteData.redirectRoute ? deserializeRouteData(rawRouteData.redirectRoute) : void 0,
167
+ fallbackRoutes: rawRouteData.fallbackRoutes.map((fallback) => {
168
+ return deserializeRouteData(fallback);
169
+ }),
170
+ isIndex: rawRouteData.isIndex
171
+ };
172
+ }
173
+
174
+ function deserializeManifest(serializedManifest) {
175
+ const routes = [];
176
+ for (const serializedRoute of serializedManifest.routes) {
177
+ routes.push({
178
+ ...serializedRoute,
179
+ routeData: deserializeRouteData(serializedRoute.routeData)
180
+ });
181
+ const route = serializedRoute;
182
+ route.routeData = deserializeRouteData(serializedRoute.routeData);
183
+ }
184
+ const assets = new Set(serializedManifest.assets);
185
+ const componentMetadata = new Map(serializedManifest.componentMetadata);
186
+ const clientDirectives = new Map(serializedManifest.clientDirectives);
187
+ return {
188
+ // in case user middleware exists, this no-op middleware will be reassigned (see plugin-ssr.ts)
189
+ middleware(_, next) {
190
+ return next();
191
+ },
192
+ ...serializedManifest,
193
+ assets,
194
+ componentMetadata,
195
+ clientDirectives,
196
+ routes
197
+ };
198
+ }
199
+
200
+ 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.3.2_@types+node@18.19.14_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.XOXTrHqn.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.4W7qhV-L.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.ICXGWNEA.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.4W7qhV-L.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.GaT7bmE3.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.4W7qhV-L.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.GaT7bmE3.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.4W7qhV-L.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.GaT7bmE3.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.4W7qhV-L.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":false,"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","\u0000noop-middleware":"_noop-middleware.mjs","/src/pages/blog/[page].astro":"chunks/pages/_page__0sN9U0SD.mjs","/src/pages/app/account.astro":"chunks/pages/account_OQr_6KN1.mjs","/src/pages/app/index.astro":"chunks/pages/index_3IjgOEIq.mjs","/../../node_modules/.pnpm/astro@4.3.2_@types+node@18.19.14_typescript@5.2.2/node_modules/astro/dist/assets/endpoint/node.js":"chunks/pages/node_OmjWRf8D.mjs","/src/pages/~fallback.astro":"chunks/pages/~fallback_133FK-CP.mjs","\u0000@astrojs-manifest":"manifest_9FASPYUE.mjs","\u0000@astro-page:../../node_modules/.pnpm/astro@4.3.2_@types+node@18.19.14_typescript@5.2.2/node_modules/astro/dist/assets/endpoint/node@_@js":"chunks/node_zqXXqc-u.mjs","\u0000@astro-page:src/pages/~fallback@_@astro":"chunks/~fallback_Wahcp9Wk.mjs","\u0000@astro-page:src/pages/app/index@_@astro":"chunks/index__05fnqFh.mjs","\u0000@astro-page:src/pages/app/account@_@astro":"chunks/account_vK6pmJlz.mjs","\u0000@astro-page:src/pages/blog/[page]@_@astro":"chunks/_page__qqIVxbal.mjs","\u0000@astro-page:src/pages/[...slug]@_@astro":"chunks/_.._19fCuQdO.mjs","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/SearchModal.vue":"_astro/SearchModal.rasg5jV6.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/CartSidebar.vue":"_astro/CartSidebar.L0Vbhsdt.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe.css?inline":"_astro/photoswipe.0V7m2jWu.js","/astro/hoisted.js?q=1":"_astro/hoisted.XOXTrHqn.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/scripts/firebase-app.ts":"_astro/firebase-app.iLdzDVjL.js","~/components/PitchBar.vue":"_astro/PitchBar.yqD9ycx5.js","~/components/AccountPage.vue":"_astro/AccountPage.0M6_FdU6.js","@astrojs/vue/client.js":"_astro/client.YJ00ta5M.js","~/components/ProductDetails.vue":"_astro/ProductDetails.FQtM5kpd.js","/astro/hoisted.js?q=2":"_astro/hoisted.GaT7bmE3.js","~/components/ProductShelf.vue":"_astro/ProductShelf.GAAhKdTN.js","~/components/SearchShowcase.vue":"_astro/SearchShowcase.kA6jICYo.js","/astro/hoisted.js?q=0":"_astro/hoisted.ICXGWNEA.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe-lightbox.esm.js":"_astro/photoswipe-lightbox.esm.dZBqKD9u.js","~/components/HeroSlider.vue":"_astro/HeroSlider.ju9TsLrJ.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe.esm.js":"_astro/photoswipe.esm.Ylh9TGkz.js","~/components/ShopHeader.vue":"_astro/ShopHeader.v_L96Y90.js","astro:scripts/before-hydration.js":""},"assets":["/_astro/_slug_.4W7qhV-L.css","/robots.txt","/img/icon.png","/img/large-icon.png","/_astro/AccountPage.0M6_FdU6.js","/_astro/CartSidebar.L0Vbhsdt.js","/_astro/HeroSlider.ju9TsLrJ.js","/_astro/PitchBar.yqD9ycx5.js","/_astro/Prices.xI1rdM1e.js","/_astro/ProductDetails.FQtM5kpd.js","/_astro/ProductShelf.-4fsYkPB.js","/_astro/ProductShelf.GAAhKdTN.js","/_astro/QuantitySelector.v7L8EYOR.js","/_astro/SearchModal.rasg5jV6.js","/_astro/SearchShowcase.kA6jICYo.js","/_astro/ShopHeader.v_L96Y90.js","/_astro/_plugin-vue_export-helper.xATGHWd9.js","/_astro/afetch.OifQZgwR.js","/_astro/client.YJ00ta5M.js","/_astro/customer-session.ZD6tLDQJ.js","/_astro/firebase-app.iLdzDVjL.js","/_astro/format-money.1_HtF5S2.js","/_astro/grid-title.pK2Nn3i-.js","/_astro/hoisted.GaT7bmE3.js","/_astro/hoisted.ICXGWNEA.js","/_astro/hoisted.XOXTrHqn.js","/_astro/i18n.zhlBzJt8.js","/_astro/img-sizes.gxAI9JNh.js","/_astro/img.AnjeGdy_.js","/_astro/index-bea2a320.eWykogwr.js","/_astro/index.KfrHdfOH.js","/_astro/index.ShNlAyu1.js","/_astro/modules-info.HP6478mG.js","/_astro/name.VA3MEpe0.js","/_astro/photoswipe-lightbox.esm.dZBqKD9u.js","/_astro/photoswipe.0V7m2jWu.js","/_astro/photoswipe.esm.Ylh9TGkz.js","/_astro/price.Easct8WC.js","/_astro/server-data.4C60Esyt.js","/_astro/sf-utils.c42cbZ9W.js","/_astro/shopping-cart.nSNNOrp9.js","/_astro/use-analytics.wTmoP8B1.js","/_astro/use-product-card.UFr8SCuD.js","/_astro/use-text-value.lKqoIagH.js","/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"],"buildFormat":"directory"});
201
+
202
+ export { AstroIntegrationLogger as A, Logger as L, getEventPrefix as g, levels as l, manifest };