cloudcommerce 0.26.2 → 0.26.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 (132) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
  3. package/ecomplus-stores/barra-doce/functions/ssr/index.js +0 -1
  4. package/ecomplus-stores/barra-doce/functions/ssr/package.json +8 -8
  5. package/ecomplus-stores/barra-doce/functions/ssr/src/components/CartItem.vue +64 -0
  6. package/ecomplus-stores/barra-doce/functions/ssr/src/components/CartSidebar.vue +38 -7
  7. package/ecomplus-stores/barra-doce/functions/ssr/src/components/Prices.vue +2 -3
  8. package/ecomplus-stores/barra-doce/functions/ssr/src/components/ShopHeader.vue +8 -4
  9. package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
  10. package/ecomplus-stores/barra-doce/package.json +2 -2
  11. package/ecomplus-stores/iluminim/functions/many/package.json +3 -3
  12. package/ecomplus-stores/iluminim/functions/ssr/package.json +8 -8
  13. package/ecomplus-stores/iluminim/functions/ssr/src/components/CartItem.vue +64 -0
  14. package/ecomplus-stores/iluminim/functions/ssr/src/components/CartSidebar.vue +37 -6
  15. package/ecomplus-stores/iluminim/functions/ssr/src/components/Prices.vue +2 -3
  16. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeader.vue +6 -2
  17. package/ecomplus-stores/iluminim/functions/with-apps/package.json +3 -3
  18. package/ecomplus-stores/iluminim/package.json +2 -2
  19. package/package.json +3 -3
  20. package/packages/api/package.json +1 -1
  21. package/packages/apps/affilate-program/package.json +1 -1
  22. package/packages/apps/correios/package.json +1 -1
  23. package/packages/apps/custom-payment/package.json +1 -1
  24. package/packages/apps/custom-shipping/package.json +1 -1
  25. package/packages/apps/datafrete/package.json +1 -1
  26. package/packages/apps/discounts/package.json +1 -1
  27. package/packages/apps/emails/package.json +2 -2
  28. package/packages/apps/fb-conversions/package.json +1 -1
  29. package/packages/apps/flash-courier/package.json +1 -1
  30. package/packages/apps/frenet/package.json +1 -1
  31. package/packages/apps/galaxpay/package.json +1 -1
  32. package/packages/apps/google-analytics/package.json +1 -1
  33. package/packages/apps/jadlog/package.json +1 -1
  34. package/packages/apps/loyalty-points/package.json +1 -1
  35. package/packages/apps/melhor-envio/package.json +1 -1
  36. package/packages/apps/mercadopago/package.json +1 -1
  37. package/packages/apps/pagarme/package.json +1 -1
  38. package/packages/apps/paghiper/package.json +1 -1
  39. package/packages/apps/pix/package.json +1 -1
  40. package/packages/apps/tiny-erp/package.json +1 -1
  41. package/packages/apps/webhooks/package.json +1 -1
  42. package/packages/cli/package.json +1 -1
  43. package/packages/config/package.json +1 -1
  44. package/packages/emails/package.json +1 -1
  45. package/packages/eslint/package.json +3 -3
  46. package/packages/events/package.json +1 -1
  47. package/packages/feeds/package.json +1 -1
  48. package/packages/firebase/package.json +1 -1
  49. package/packages/i18n/package.json +1 -1
  50. package/packages/modules/lib/firebase/functions-checkout/request-to-module.js +2 -2
  51. package/packages/modules/lib/firebase/functions-checkout/request-to-module.js.map +1 -1
  52. package/packages/modules/lib/firebase/functions-checkout/utils.js +21 -9
  53. package/packages/modules/lib/firebase/functions-checkout/utils.js.map +1 -1
  54. package/packages/modules/package.json +2 -2
  55. package/packages/modules/schemas/@checkout.cjs +0 -1
  56. package/packages/modules/src/firebase/functions-checkout/request-to-module.ts +2 -2
  57. package/packages/modules/src/firebase/functions-checkout/utils.ts +23 -9
  58. package/packages/passport/package.json +1 -1
  59. package/packages/ssr/package.json +2 -2
  60. package/packages/storefront/dist/client/_astro/{Carousel.926668f2.js → Carousel.0b24e2cb.js} +1 -1
  61. package/packages/storefront/dist/client/_astro/CartSidebar.2731d333.js +1 -0
  62. package/packages/storefront/dist/client/_astro/{HeroSlider.1f0524aa.js → HeroSlider.a70b2582.js} +1 -1
  63. package/packages/storefront/dist/client/_astro/{PitchBar.7407eeaf.js → PitchBar.13991988.js} +1 -1
  64. package/packages/storefront/dist/client/_astro/{Prices.562a32ab.js → Prices.cdfa346a.js} +1 -1
  65. package/packages/storefront/dist/client/_astro/{ProductShelf.763cd2ca.js → ProductShelf.619c56a5.js} +1 -1
  66. package/packages/storefront/dist/client/_astro/SearchModal.117a477d.js +1 -0
  67. package/packages/storefront/dist/client/_astro/{ShopHeader.126900a6.js → ShopHeader.2c2fded7.js} +2 -2
  68. package/packages/storefront/dist/client/_astro/_...slug_.b693913e.css +1 -0
  69. package/packages/storefront/dist/client/_astro/{_plugin-vue_export-helper.ee681fa8.js → _plugin-vue_export-helper.fc5e2f5b.js} +1 -1
  70. package/packages/storefront/dist/client/_astro/{api.a2eda23e.js → api.39f40cd8.js} +1 -1
  71. package/packages/storefront/dist/client/_astro/client.a5d2898b.js +1 -0
  72. package/packages/storefront/dist/client/_astro/{firebase-app.93857bfb.js → firebase-app.8c541cce.js} +3 -3
  73. package/packages/storefront/dist/client/_astro/{format-money.923559cc.js → format-money.86f14860.js} +1 -1
  74. package/packages/storefront/dist/client/_astro/hoisted.d90361ee.js +1 -0
  75. package/packages/storefront/dist/client/_astro/{img.ec6ba316.js → img.d4891d80.js} +1 -1
  76. package/packages/storefront/dist/client/_astro/index.33801818.js +1 -0
  77. package/packages/storefront/dist/client/_astro/{modules-info.48980668.js → modules-info.ec412b24.js} +1 -1
  78. package/packages/storefront/dist/client/_empty-middleware.mjs +3 -0
  79. package/packages/storefront/dist/client/chunks/CartSidebar.0ce1e999.mjs +382 -0
  80. package/packages/storefront/dist/client/chunks/SearchModal.f603145b.mjs +32 -0
  81. package/packages/storefront/dist/client/chunks/astro.11be33ee.mjs +1424 -0
  82. package/packages/storefront/dist/{server/chunks/pages/_...slug_.astro.fd8a229f.mjs → client/chunks/pages/_...slug_.astro.ec6517ba.mjs} +360 -274
  83. package/packages/storefront/dist/{server/chunks/pages/account.astro.3b21bff8.mjs → client/chunks/pages/account.astro.3d2605e6.mjs} +2 -10
  84. package/packages/storefront/dist/{server/chunks/pages/index.astro.dab642f5.mjs → client/chunks/pages/index.astro.8ad03206.mjs} +167 -17
  85. package/packages/storefront/dist/{server/chunks/pages/~fallback.astro.7630c0d6.mjs → client/chunks/pages/~fallback.astro.d31d20b4.mjs} +8 -20
  86. package/packages/storefront/dist/client/chunks/sharp.3f154e38.mjs +74 -0
  87. package/packages/storefront/dist/client/manifest.e39eb543.mjs +79 -0
  88. package/packages/storefront/dist/client/pages/_---slug_.astro.mjs +23 -0
  89. package/packages/storefront/dist/client/pages/app/account.astro.mjs +23 -0
  90. package/packages/storefront/dist/client/pages/app.astro.mjs +23 -0
  91. package/packages/storefront/dist/client/pages/index.astro.mjs +23 -0
  92. package/packages/storefront/dist/client/pages/~fallback.astro.mjs +23 -0
  93. package/packages/storefront/dist/client/registerSW.js +1 -0
  94. package/packages/storefront/dist/client/renderers.mjs +369 -0
  95. package/packages/storefront/dist/client/sw.js +1 -1
  96. package/packages/storefront/dist/server/chunks/{CartSidebar.2b555408.mjs → CartSidebar.cca9fdd3.mjs} +14 -24
  97. package/packages/storefront/dist/server/chunks/{SearchModal.f418e188.mjs → SearchModal.a680efae.mjs} +8 -19
  98. package/packages/storefront/dist/server/chunks/_...f7cdc954.mjs +24 -0
  99. package/packages/storefront/dist/server/chunks/account@_@astro.fa8b921b.mjs +24 -0
  100. package/packages/storefront/dist/server/chunks/{astro.bb5b7191.mjs → astro.440a2e08.mjs} +149 -1859
  101. package/packages/storefront/dist/server/chunks/image-endpoint@_@js.802bf648.mjs +24 -0
  102. package/packages/storefront/dist/server/chunks/index@_@astro.a122f091.mjs +24 -0
  103. package/packages/storefront/dist/server/chunks/index@_@astro.da98dcbe.mjs +24 -0
  104. package/packages/storefront/dist/server/chunks/pages/_...slug_.astro.08ba5973.mjs +3930 -0
  105. package/packages/storefront/dist/server/chunks/pages/account.astro.f11f26f3.mjs +15 -0
  106. package/packages/storefront/dist/server/chunks/pages/image-endpoint.js.a9374d3e.mjs +238 -0
  107. package/packages/storefront/dist/server/chunks/pages/index.astro.079f316a.mjs +1650 -0
  108. package/packages/storefront/dist/server/chunks/pages/~fallback.astro.01594623.mjs +55 -0
  109. package/packages/storefront/dist/server/chunks/sharp.52841bb4.mjs +75 -0
  110. package/packages/storefront/dist/server/chunks/~fallback@_@astro.876a97c5.mjs +24 -0
  111. package/packages/storefront/dist/server/entry.mjs +1167 -2360
  112. package/packages/storefront/dist/server/manifest.12e7a10c.mjs +561 -0
  113. package/packages/storefront/dist/server/renderers.mjs +10 -21
  114. package/packages/storefront/package.json +6 -6
  115. package/packages/storefront/src/lib/layouts/BaseHead.astro +3 -2
  116. package/packages/test-base/package.json +1 -1
  117. package/packages/types/modules/@checkout:params.d.ts +1 -1
  118. package/packages/types/package.json +1 -1
  119. package/ecomplus-stores/iluminim/.ecomplus.cd.json +0 -5
  120. package/packages/storefront/dist/client/_astro/CartSidebar.eadba34f.js +0 -1
  121. package/packages/storefront/dist/client/_astro/SearchModal.cffd4c2d.js +0 -1
  122. package/packages/storefront/dist/client/_astro/_...slug_.36cd433d.css +0 -1
  123. package/packages/storefront/dist/client/_astro/client.e6d9439a.js +0 -1
  124. package/packages/storefront/dist/client/_astro/hoisted.572313d6.js +0 -1
  125. package/packages/storefront/dist/client/_astro/index.709ac149.js +0 -1
  126. package/packages/storefront/dist/server/chunks/_...d32bcc0c.mjs +0 -35
  127. package/packages/storefront/dist/server/chunks/account@_@astro.0106855f.mjs +0 -35
  128. package/packages/storefront/dist/server/chunks/endpoint@_@js.35807882.mjs +0 -35
  129. package/packages/storefront/dist/server/chunks/index@_@astro.477f5af1.mjs +0 -35
  130. package/packages/storefront/dist/server/chunks/index@_@astro.e5a61d6e.mjs +0 -35
  131. package/packages/storefront/dist/server/chunks/pages/endpoint.js.247079ba.mjs +0 -119
  132. package/packages/storefront/dist/server/chunks/~fallback@_@astro.65227dd7.mjs +0 -35
@@ -1,13 +1,5 @@
1
- import { c as createAstro, a as createComponent, r as renderTemplate } from '../astro.bb5b7191.mjs';
2
- import 'path-to-regexp';
3
- import 'cookie';
4
- import '@astrojs/internal-helpers/path';
5
- import 'kleur/colors';
6
- import 'node:fs';
7
- import 'node:http';
8
- import 'node:tls';
9
- import 'mime';
10
- import 'string-width';
1
+ import { c as createAstro, a as createComponent, r as renderTemplate } from '../astro.11be33ee.mjs';
2
+ import 'clsx';
11
3
  import 'html-escaper';
12
4
 
13
5
  const $$Astro = createAstro("https://ecom2-demo.web.app");
@@ -1,7 +1,8 @@
1
- import { c as createAstro, a as createComponent, r as renderTemplate, b as renderComponent, F as Fragment, m as maybeRenderHead, d as addAttribute, u as unescapeHTML } from '../astro.bb5b7191.mjs';
2
- import { _ as _export_sfc, s as socialNetworks, S as SocialNetworkLink, $ as $$Picture, p as parseShippingPhrase, C as Carousel, a as CarouselControl, b as availableExtraDiscount, c as installmentsOption, d as discountOption, l as loyaltyPointsPrograms, e as addProductToCart, f as loadRouteContext, g as $$BaseHead, h as $$PageHeader, j as $$Base } from './_...slug_.astro.fd8a229f.mjs';
3
- import { useSSRContext, defineComponent, computed, mergeProps, createVNode, resolveDynamicComponent, resolveComponent, withCtx, renderSlot, openBlock, createBlock, createCommentVNode, createTextVNode, toDisplayString, ref, shallowReactive, withDirectives, vShow, Fragment as Fragment$1, renderList, withModifiers, withAsyncContext } from 'vue';
4
- import { ssrRenderAttrs, ssrInterpolate, ssrRenderVNode, ssrRenderSlot, ssrRenderList, ssrRenderComponent, ssrRenderStyle, ssrRenderClass, ssrRenderAttr } from 'vue/server-renderer';
1
+ import { c as createAstro, a as createComponent, r as renderTemplate, b as renderComponent, F as Fragment, m as maybeRenderHead, d as addAttribute, u as unescapeHTML } from '../astro.11be33ee.mjs';
2
+ import { _ as _export_sfc, s as socialNetworks, S as SocialNetworkLink, u as useSharedData, f as filterMainCategories, $ as $$Picture, p as parseShippingPhrase, C as Carousel, a as CarouselControl, b as availableExtraDiscount, i as installmentsOption, d as discountOption, l as loyaltyPointsPrograms, c as addProductToCart, e as loadRouteContext, g as $$BaseHead, h as $$PageHeader, j as $$Base } from './_...slug_.astro.ec6517ba.mjs';
3
+ import 'clsx';
4
+ import { useSSRContext, defineComponent, computed, mergeProps, createVNode, resolveDynamicComponent, resolveComponent, createSlots, withCtx, toDisplayString, createTextVNode, renderSlot, openBlock, createBlock, createCommentVNode, ref, shallowReactive, withDirectives, vShow, Fragment as Fragment$1, renderList, withModifiers, withAsyncContext } from 'vue';
5
+ import { ssrRenderAttrs, ssrInterpolate, ssrRenderVNode, ssrRenderSlot, ssrRenderList, ssrRenderComponent, ssrRenderClass, ssrRenderStyle, ssrRenderAttr } from 'vue/server-renderer';
5
6
  import api from '@cloudcommerce/api';
6
7
  import { inStock, price, name, img, onPromotion } from '@ecomplus/utils';
7
8
  import { useElementHover, watchOnce } from '@vueuse/core';
@@ -60,7 +61,11 @@ const PaymentMethodFlag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["ssrRender"
60
61
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
61
62
  __name: "ShopFooter",
62
63
  props: {
63
- stamps: {}
64
+ stamps: {},
65
+ categories: {},
66
+ categoriesColTitle: {},
67
+ pageLinks: {},
68
+ pagesColTitle: {}
64
69
  },
65
70
  setup(__props, { expose: __expose }) {
66
71
  __expose();
@@ -73,18 +78,136 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
73
78
  });
74
79
  function _sfc_ssrRender$5(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
75
80
  const _component_ALink = resolveComponent("ALink");
76
- _push(`<footer${ssrRenderAttrs(mergeProps({ class: "w-screen bg-base-50 border-t border-base-100 py-2" }, _attrs))}><div class="ui-section"><div class="pb-7 border-b border-base-200 flex"><div class="text-base">`);
81
+ _push(`<footer${ssrRenderAttrs(mergeProps({ class: "w-screen bg-base-50 border-t border-base-100 py-2" }, _attrs))}><div class="ui-section"><div class="pb-7 border-b border-base-200 flex justify-between flex-wrap lg:flex-nowrap sm:gap-x-10 gap-y-5"><div class="shrink">`);
77
82
  ssrRenderSlot(_ctx.$slots, "logo", {}, null, _push, _parent);
78
- _push(`<p class="my-3">${ssrInterpolate(_ctx.$settings.description)}</p><div class="flex gap-2 text-base-500"><!--[-->`);
83
+ if (_ctx.$settings.description) {
84
+ _push(`<div class="prose"><p>${ssrInterpolate(_ctx.$settings.description)}</p></div>`);
85
+ } else {
86
+ _push(`<!---->`);
87
+ }
88
+ _push(`<div class="flex gap-2 text-base-500"><!--[-->`);
79
89
  ssrRenderList($setup.socialNetworks, (href, network) => {
80
90
  _push(`<span>`);
81
91
  _push(ssrRenderComponent($setup["SocialNetworkLink"], {
82
92
  network,
83
93
  class: "p-1 hover:text-primary"
84
- }, null, _parent));
94
+ }, createSlots({ _: 2 }, [
95
+ network === "whatsapp" ? {
96
+ name: "append",
97
+ fn: withCtx((_, _push2, _parent2, _scopeId) => {
98
+ if (_push2) {
99
+ _push2(`<span class="ml-1 text-sm text-base-600"${_scopeId}>${ssrInterpolate(_ctx.$settings.whatsapp)}</span>`);
100
+ } else {
101
+ return [
102
+ createVNode("span", { class: "ml-1 text-sm text-base-600" }, toDisplayString(_ctx.$settings.whatsapp), 1)
103
+ ];
104
+ }
105
+ }),
106
+ key: "0"
107
+ } : void 0
108
+ ]), _parent));
85
109
  _push(`</span>`);
86
110
  });
87
- _push(`<!--]--></div></div></div></div><div class="ui-section"><div class="flex justify-between items-start gap-5"><ul class="flex flex-wrap gap-y-3 gap-x-6 lg:gap-x-8"><!--[-->`);
111
+ _push(`<!--]--></div>`);
112
+ if (_ctx.$settings.address || _ctx.$settings.phone) {
113
+ _push(`<div class="mt-3 text-base-700">`);
114
+ if (_ctx.$settings.address) {
115
+ _push(`<address class="inline-block mr-4">${ssrInterpolate(_ctx.$settings.address)}</address>`);
116
+ } else {
117
+ _push(`<!---->`);
118
+ }
119
+ if (_ctx.$settings.phone) {
120
+ _push(ssrRenderComponent(_component_ALink, {
121
+ href: `tel:${_ctx.$settings.phone.replace(/\D/g, "")}`,
122
+ class: "hover:text-primary"
123
+ }, {
124
+ default: withCtx((_, _push2, _parent2, _scopeId) => {
125
+ if (_push2) {
126
+ _push2(`<i class="i-phone mr-0.5"${_scopeId}></i> ${ssrInterpolate(_ctx.$settings.phone)}`);
127
+ } else {
128
+ return [
129
+ createVNode("i", { class: "i-phone mr-0.5" }),
130
+ createTextVNode(" " + toDisplayString(_ctx.$settings.phone), 1)
131
+ ];
132
+ }
133
+ }),
134
+ _: 1
135
+ }, _parent));
136
+ } else {
137
+ _push(`<!---->`);
138
+ }
139
+ _push(`</div>`);
140
+ } else {
141
+ _push(`<!---->`);
142
+ }
143
+ _push(`</div>`);
144
+ if ($props.categories?.length) {
145
+ _push(`<div class="basis-1/2 sm:basis-auto"><div class="text-lg font-medium mb-2.5">${ssrInterpolate($props.categoriesColTitle || "Categorias")}</div><ul class="${ssrRenderClass([$props.categories.length > 4 ? "grid md:grid-cols-2 gap-x-5 gap-y-1.5" : "space-y-1.5", "text-sm"])}"><!--[-->`);
146
+ ssrRenderList($props.categories, ({ name, slug }, i) => {
147
+ _push(`<li>`);
148
+ _push(ssrRenderComponent(_component_ALink, {
149
+ href: `/${slug}`,
150
+ class: "ui-link text-base-600"
151
+ }, {
152
+ default: withCtx((_, _push2, _parent2, _scopeId) => {
153
+ if (_push2) {
154
+ _push2(`${ssrInterpolate(name)}`);
155
+ } else {
156
+ return [
157
+ createTextVNode(toDisplayString(name), 1)
158
+ ];
159
+ }
160
+ }),
161
+ _: 2
162
+ }, _parent));
163
+ _push(`</li>`);
164
+ });
165
+ _push(`<!--]--><li>`);
166
+ _push(ssrRenderComponent(_component_ALink, {
167
+ href: "/s",
168
+ class: "ui-link text-base-900"
169
+ }, {
170
+ default: withCtx((_, _push2, _parent2, _scopeId) => {
171
+ if (_push2) {
172
+ _push2(`${ssrInterpolate("Todos os produtos")}`);
173
+ } else {
174
+ return [
175
+ createTextVNode(toDisplayString("Todos os produtos"))
176
+ ];
177
+ }
178
+ }),
179
+ _: 1
180
+ }, _parent));
181
+ _push(`</li></ul></div>`);
182
+ } else {
183
+ _push(`<!---->`);
184
+ }
185
+ if ($props.pageLinks?.length) {
186
+ _push(`<div class="basis-1/2 sm:basis-auto"><div class="text-lg font-medium mb-2.5">${ssrInterpolate($props.pagesColTitle || "Institucional")}</div><ul class="${ssrRenderClass([$props.pageLinks.length > 5 ? "grid md:grid-cols-2 gap-x-5 gap-y-1.5" : "space-y-1.5", "text-sm"])}"><!--[-->`);
187
+ ssrRenderList($props.pageLinks, ({ title, href }, i) => {
188
+ _push(`<li>`);
189
+ _push(ssrRenderComponent(_component_ALink, {
190
+ href,
191
+ class: "ui-link text-base-600"
192
+ }, {
193
+ default: withCtx((_, _push2, _parent2, _scopeId) => {
194
+ if (_push2) {
195
+ _push2(`${ssrInterpolate(title)}`);
196
+ } else {
197
+ return [
198
+ createTextVNode(toDisplayString(title), 1)
199
+ ];
200
+ }
201
+ }),
202
+ _: 2
203
+ }, _parent));
204
+ _push(`</li>`);
205
+ });
206
+ _push(`<!--]--></ul></div>`);
207
+ } else {
208
+ _push(`<!---->`);
209
+ }
210
+ _push(`</div></div><div class="ui-section"><div class="flex flex-wrap lg:flex-nowrap justify-between items-start gap-5"><ul class="flex gap-y-3 gap-x-6 lg:gap-x-8 items-center md:flex-wrap mx-auto md:mx-0 overflow-x-auto md:overflow-hidden"><!--[-->`);
88
211
  ssrRenderList($props.stamps, (stamp, i) => {
89
212
  _push(`<li>`);
90
213
  _push(ssrRenderComponent(_component_ALink, {
@@ -155,14 +278,14 @@ function _sfc_ssrRender$5(_ctx, _push, _parent, _attrs, $props, $setup, $data, $
155
278
  }, _parent));
156
279
  _push(`</li>`);
157
280
  });
158
- _push(`<!--]--></ul><div class="flex flex-wrap md:flex-nowrap justify-end items-center gap-4 text-3xl md:text-2xl"><!--[-->`);
281
+ _push(`<!--]--></ul><div class="flex flex-wrap md:flex-nowrap justify-end items-center gap-4 text-2xl mx-auto md:mx-0 overflow-x-auto md:overflow-hidden"><!--[-->`);
159
282
  ssrRenderList(_ctx.$settings.payment_methods, (paymentMethod) => {
160
283
  _push(ssrRenderComponent($setup["PaymentMethodFlag"], {
161
284
  key: paymentMethod,
162
285
  flag: paymentMethod
163
286
  }, null, _parent));
164
287
  });
165
- _push(`<!--]--></div></div><div class="mt-6 text-xs text-center md:text-left md:flex justify-between gap-4"><div class="mb-3 md:mb-0"> @ ${ssrInterpolate(( new Date()).getFullYear())} ${ssrInterpolate(_ctx.$settings.corporate_name)} ${ssrInterpolate(_ctx.$settings.address ? `/ ${_ctx.$settings.address}` : "")} / ${ssrInterpolate(_ctx.$settings.doc_number)}</div>`);
288
+ _push(`<!--]--></div></div><div class="mt-7 text-xs text-center md:text-left md:flex justify-between gap-4"><div class="mb-3 md:mb-0"> @ ${ssrInterpolate(( new Date()).getFullYear())} ${ssrInterpolate(_ctx.$settings.corporate_name)} ${ssrInterpolate(_ctx.$settings.address ? `/ ${_ctx.$settings.address}` : "")} / ${ssrInterpolate(_ctx.$settings.doc_number)}</div>`);
166
289
  _push(ssrRenderComponent(_component_ALink, {
167
290
  href: "https://www.ecomplus.io/",
168
291
  class: "italic text-[#37003c]"
@@ -198,9 +321,37 @@ const $$PageFooter = createComponent(async ($$result, $$props, $$slots) => {
198
321
  const LogoHeading = isHomepage ? "h2" : "h3";
199
322
  const layoutContent = await getContent("layout");
200
323
  const {
201
- footer: { stamps }
324
+ footer: {
325
+ stamps,
326
+ categories_list: categoriesList,
327
+ pages_list: pagesList
328
+ }
202
329
  } = layoutContent;
203
- return renderTemplate`${renderComponent($$result, "ShopFooter", ShopFooter, { "stamps": stamps }, { "logo": ($$result2) => renderTemplate`${renderComponent($$result2, "Fragment", Fragment, { "slot": "logo" }, { "default": ($$result3) => renderTemplate`
330
+ let mainCategories;
331
+ let pageLinks;
332
+ if (categoriesList?.enabled) {
333
+ if (categoriesList.categories?.length) {
334
+ mainCategories = categoriesList.categories;
335
+ } else {
336
+ const { value: categories } = await useSharedData({ field: "categories" });
337
+ mainCategories = filterMainCategories(categories);
338
+ }
339
+ }
340
+ if (pagesList?.enabled) {
341
+ if (pagesList.links?.length) {
342
+ pageLinks = pagesList.links;
343
+ } else {
344
+ pageLinks = [];
345
+ const pageSlugs = await getContent("extra-pages/");
346
+ for (let i = 0; i < pageSlugs.length; i++) {
347
+ const { title } = await getContent(`extra-pages/${pageSlugs[i]}`);
348
+ if (title) {
349
+ pageLinks.push({ title, href: `/p/${pageSlugs[i]}` });
350
+ }
351
+ }
352
+ }
353
+ }
354
+ return renderTemplate`${renderComponent($$result, "ShopFooter", ShopFooter, { "stamps": stamps, "categories": mainCategories, "categoriesColTitle": categoriesList?.title, "pageLinks": pageLinks, "pagesColTitle": pagesList?.title }, { "logo": ($$result2) => renderTemplate`${renderComponent($$result2, "Fragment", Fragment, { "slot": "logo" }, { "default": ($$result3) => renderTemplate`
204
355
  ${maybeRenderHead()}<a href="/">
205
356
  ${renderComponent($$result3, "LogoHeading", LogoHeading, {}, { "default": ($$result4) => renderTemplate`
206
357
  ${renderComponent($$result4, "Picture", $$Picture, { "src": settings.logo, "alt": settings.name, "widths": [300], "loading": "lazy", "class": "max-w-[150px]" })}
@@ -970,8 +1121,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
970
1121
  function _sfc_ssrRender$2(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
971
1122
  const _component_Fade = resolveComponent("Fade");
972
1123
  _push(`<div${ssrRenderAttrs(mergeProps({
973
- class: ["text-base-600 [&>div]:[font-size:90%] [&_small]:lowercase [&_small]:[font-size:92%]", $props.isBig ? "text-lg" : null],
974
- "data-prices": ""
1124
+ class: ["text-base-600 [&>div]:[font-size:90%] [&_small]:[font-size:92%] [&_small]:lowercase", $props.isBig ? "text-lg" : null]
975
1125
  }, _attrs))}>`);
976
1126
  if ($setup.comparePrice) {
977
1127
  _push(`<span class="text-base-500 mr-1 text-[87%]">`);
@@ -1042,7 +1192,7 @@ function _sfc_ssrRender$2(_ctx, _push, _parent, _attrs, $props, $setup, $data, $
1042
1192
  }
1043
1193
  _push2(`<span${_scopeId}>${ssrInterpolate(_ctx.$money($setup.installmentValue))}</span>`);
1044
1194
  if (!$setup.monthlyInterest && $props.isLiteral) {
1045
- _push2(`<small${_scopeId}>${ssrInterpolate("Sem juros")}</small>`);
1195
+ _push2(`<small${_scopeId}>${ssrInterpolate(` ${"Sem juros"}`)}</small>`);
1046
1196
  } else {
1047
1197
  _push2(`<!---->`);
1048
1198
  }
@@ -1057,7 +1207,7 @@ function _sfc_ssrRender$2(_ctx, _push, _parent, _attrs, $props, $setup, $data, $
1057
1207
  createTextVNode(" " + toDisplayString($setup.installmentsNumber) + "x ", 1),
1058
1208
  $props.isLiteral ? (openBlock(), createBlock("small", { key: 1 }, toDisplayString(` ${"De"} `))) : createCommentVNode("", true),
1059
1209
  createVNode("span", null, toDisplayString(_ctx.$money($setup.installmentValue)), 1),
1060
- !$setup.monthlyInterest && $props.isLiteral ? (openBlock(), createBlock("small", { key: 2 }, toDisplayString("Sem juros"))) : createCommentVNode("", true)
1210
+ !$setup.monthlyInterest && $props.isLiteral ? (openBlock(), createBlock("small", { key: 2 }, toDisplayString(` ${"Sem juros"}`))) : createCommentVNode("", true)
1061
1211
  ])) : createCommentVNode("", true)
1062
1212
  ];
1063
1213
  }
@@ -1,29 +1,17 @@
1
- import { c as createAstro, a as createComponent, r as renderTemplate, m as maybeRenderHead, d as addAttribute, b as renderComponent } from '../astro.bb5b7191.mjs';
2
- import { f as loadRouteContext, g as $$BaseHead, h as $$PageHeader, j as $$Base } from './_...slug_.astro.fd8a229f.mjs';
3
- import 'path-to-regexp';
4
- import 'cookie';
5
- import '@astrojs/internal-helpers/path';
6
- import 'kleur/colors';
7
- import 'node:fs';
8
- import 'node:http';
9
- import 'node:tls';
10
- import 'mime';
11
- import 'string-width';
1
+ import { c as createAstro, a as createComponent, r as renderTemplate, m as maybeRenderHead, d as addAttribute, b as renderComponent } from '../astro.11be33ee.mjs';
2
+ import { e as loadRouteContext, g as $$BaseHead, h as $$PageHeader, j as $$Base } from './_...slug_.astro.ec6517ba.mjs';
3
+ import 'clsx';
12
4
  import 'html-escaper';
13
- import 'node:fs/promises';
14
- import 'node:path';
15
- import 'node:url';
16
- import 'http-cache-semantics';
17
- import 'node:os';
18
- import 'image-size';
19
- import 'magic-string';
20
- import 'node:stream';
21
5
  import '@cloudcommerce/api';
22
6
  import 'node:events';
7
+ import 'node:fs';
8
+ import 'node:path';
23
9
  import '@cloudcommerce/config';
24
10
  import '@ecomplus/utils';
25
11
  import 'ultrahtml';
26
- /* empty css */import 'vue';
12
+ /* empty css */import 'image-size';
13
+ import 'mime';
14
+ import 'vue';
27
15
  import '@vueuse/core';
28
16
  import 'vue/server-renderer';
29
17
  import '@headlessui/vue';
@@ -0,0 +1,74 @@
1
+ import { A as AstroError, i as MissingSharp } from './astro.11be33ee.mjs';
2
+ import { q as baseService, v as parseQuality } from './pages/_...slug_.astro.ec6517ba.mjs';
3
+ import 'clsx';
4
+ import 'html-escaper';
5
+ import '@cloudcommerce/api';
6
+ import 'node:events';
7
+ import 'node:fs';
8
+ import 'node:path';
9
+ import '@cloudcommerce/config';
10
+ import '@ecomplus/utils';
11
+ import 'ultrahtml';
12
+ /* empty css */import 'image-size';
13
+ import 'mime';
14
+ import 'vue';
15
+ import '@vueuse/core';
16
+ import 'vue/server-renderer';
17
+ import '@headlessui/vue';
18
+
19
+ let sharp;
20
+ const qualityTable = {
21
+ low: 25,
22
+ mid: 50,
23
+ high: 80,
24
+ max: 100
25
+ };
26
+ async function loadSharp() {
27
+ let sharpImport;
28
+ try {
29
+ sharpImport = (await import('sharp')).default;
30
+ } catch (e) {
31
+ throw new AstroError(MissingSharp);
32
+ }
33
+ return sharpImport;
34
+ }
35
+ const sharpService = {
36
+ validateOptions: baseService.validateOptions,
37
+ getURL: baseService.getURL,
38
+ parseURL: baseService.parseURL,
39
+ getHTMLAttributes: baseService.getHTMLAttributes,
40
+ async transform(inputBuffer, transformOptions) {
41
+ if (!sharp)
42
+ sharp = await loadSharp();
43
+ const transform = transformOptions;
44
+ if (transform.format === "svg")
45
+ return { data: inputBuffer, format: "svg" };
46
+ let result = sharp(inputBuffer, { failOnError: false, pages: -1 });
47
+ result.rotate();
48
+ if (transform.height && !transform.width) {
49
+ result.resize({ height: transform.height });
50
+ } else if (transform.width) {
51
+ result.resize({ width: transform.width });
52
+ }
53
+ if (transform.format) {
54
+ let quality = void 0;
55
+ if (transform.quality) {
56
+ const parsedQuality = parseQuality(transform.quality);
57
+ if (typeof parsedQuality === "number") {
58
+ quality = parsedQuality;
59
+ } else {
60
+ quality = transform.quality in qualityTable ? qualityTable[transform.quality] : void 0;
61
+ }
62
+ }
63
+ result.toFormat(transform.format, { quality });
64
+ }
65
+ const { data, info } = await result.toBuffer({ resolveWithObject: true });
66
+ return {
67
+ data,
68
+ format: info.format
69
+ };
70
+ }
71
+ };
72
+ var sharp_default = sharpService;
73
+
74
+ export { sharp_default as default };
@@ -0,0 +1,79 @@
1
+ import 'cookie';
2
+ import 'kleur/colors';
3
+ import 'string-width';
4
+ import './chunks/astro.11be33ee.mjs';
5
+ import 'clsx';
6
+ import 'mime';
7
+ import { compile } from 'path-to-regexp';
8
+ import 'html-escaper';
9
+
10
+ if (typeof process !== "undefined") {
11
+ let proc = process;
12
+ if ("argv" in proc && Array.isArray(proc.argv)) {
13
+ if (proc.argv.includes("--verbose")) ; else if (proc.argv.includes("--silent")) ; else ;
14
+ }
15
+ }
16
+
17
+ new TextEncoder();
18
+
19
+ function getRouteGenerator(segments, addTrailingSlash) {
20
+ const template = segments.map((segment) => {
21
+ return "/" + segment.map((part) => {
22
+ if (part.spread) {
23
+ return `:${part.content.slice(3)}(.*)?`;
24
+ } else if (part.dynamic) {
25
+ return `:${part.content}`;
26
+ } else {
27
+ return part.content.normalize().replace(/\?/g, "%3F").replace(/#/g, "%23").replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
28
+ }
29
+ }).join("");
30
+ }).join("");
31
+ let trailing = "";
32
+ if (addTrailingSlash === "always" && segments.length) {
33
+ trailing = "/";
34
+ }
35
+ const toPath = compile(template + trailing);
36
+ return toPath;
37
+ }
38
+
39
+ function deserializeRouteData(rawRouteData) {
40
+ return {
41
+ route: rawRouteData.route,
42
+ type: rawRouteData.type,
43
+ pattern: new RegExp(rawRouteData.pattern),
44
+ params: rawRouteData.params,
45
+ component: rawRouteData.component,
46
+ generate: getRouteGenerator(rawRouteData.segments, rawRouteData._meta.trailingSlash),
47
+ pathname: rawRouteData.pathname || void 0,
48
+ segments: rawRouteData.segments,
49
+ prerender: rawRouteData.prerender,
50
+ redirect: rawRouteData.redirect,
51
+ redirectRoute: rawRouteData.redirectRoute ? deserializeRouteData(rawRouteData.redirectRoute) : void 0
52
+ };
53
+ }
54
+
55
+ function deserializeManifest(serializedManifest) {
56
+ const routes = [];
57
+ for (const serializedRoute of serializedManifest.routes) {
58
+ routes.push({
59
+ ...serializedRoute,
60
+ routeData: deserializeRouteData(serializedRoute.routeData)
61
+ });
62
+ const route = serializedRoute;
63
+ route.routeData = deserializeRouteData(serializedRoute.routeData);
64
+ }
65
+ const assets = new Set(serializedManifest.assets);
66
+ const componentMetadata = new Map(serializedManifest.componentMetadata);
67
+ const clientDirectives = new Map(serializedManifest.clientDirectives);
68
+ return {
69
+ ...serializedManifest,
70
+ assets,
71
+ componentMetadata,
72
+ clientDirectives,
73
+ routes
74
+ };
75
+ }
76
+
77
+ const manifest = deserializeManifest({"adapterName":"","routes":[{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.d90361ee.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.b693913e.css"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.d90361ee.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.b693913e.css"}],"routeData":{"route":"/~fallback","type":"page","pattern":"^\\/~fallback\\/?$","segments":[[{"content":"~fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/~fallback.astro","pathname":"/~fallback","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/app/account","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,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.d90361ee.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.b693913e.css"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","prerender":false,"_meta":{"trailingSlash":"ignore"}}}],"site":"https://ecom2-demo.web.app","base":"/","compressHTML":false,"componentMetadata":[],"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 r=(i,c,n)=>{let s=async()=>{await(await i())()},t=new IntersectionObserver(e=>{for(let o of e)if(o.isIntersecting){t.disconnect(),s();break}});for(let e of n.children)t.observe(e)};(self.Astro||(self.Astro={})).visible=r;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000@astro-page:src/pages/index@_@astro":"pages/index.astro.mjs","\u0000@astro-page:src/pages/~fallback@_@astro":"pages/~fallback.astro.mjs","\u0000@astro-page:src/pages/app/index@_@astro":"pages/app.astro.mjs","\u0000@astro-page:src/pages/app/account@_@astro":"pages/app/account.astro.mjs","\u0000@astro-page:src/pages/[...slug]@_@astro":"pages/_---slug_.astro.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000empty-middleware":"_empty-middleware.mjs","/src/pages/app/account.astro":"chunks/pages/account.astro.3d2605e6.mjs","/src/pages/~fallback.astro":"chunks/pages/~fallback.astro.d31d20b4.mjs","\u0000@astrojs-manifest":"manifest.e39eb543.mjs","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/SearchModal.vue":"_astro/SearchModal.117a477d.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/CartSidebar.vue":"_astro/CartSidebar.2731d333.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/node_modules/astro/dist/assets/services/sharp.js":"chunks/sharp.3f154e38.mjs","~/components/PitchBar.vue":"_astro/PitchBar.13991988.js","~/components/ProductShelf.vue":"_astro/ProductShelf.619c56a5.js","~/components/HeroSlider.vue":"_astro/HeroSlider.a70b2582.js","@astrojs/vue/client.js":"_astro/client.a5d2898b.js","/astro/hoisted.js?q=0":"_astro/hoisted.d90361ee.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"_astro/workbox-window.prod.es5.a7b12eab.js","~/components/ShopHeader.vue":"_astro/ShopHeader.2c2fded7.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/scripts/firebase-app.ts":"_astro/firebase-app.8c541cce.js","astro:scripts/before-hydration.js":""},"assets":["/_empty-middleware.mjs","/manifest.webmanifest","/registerSW.js","/renderers.mjs","/robots.txt","/sw.js","/workbox-5e0bf4e4.js","/_astro/Carousel.0b24e2cb.js","/_astro/CartSidebar.2731d333.js","/_astro/HeroSlider.a70b2582.js","/_astro/PitchBar.13991988.js","/_astro/Prices.cdfa346a.js","/_astro/ProductShelf.619c56a5.js","/_astro/SearchModal.117a477d.js","/_astro/ShopHeader.2c2fded7.js","/_astro/_...slug_.b693913e.css","/_astro/_plugin-vue_export-helper.fc5e2f5b.js","/_astro/api.39f40cd8.js","/_astro/client.a5d2898b.js","/_astro/firebase-app.8c541cce.js","/_astro/format-money.86f14860.js","/_astro/hoisted.d90361ee.js","/_astro/img.d4891d80.js","/_astro/index.33801818.js","/_astro/modules-info.ec412b24.js","/_astro/preload-helper.cf010ec4.js","/_astro/session-utm.744b0db3.js","/_astro/workbox-window.prod.es5.a7b12eab.js","/chunks/CartSidebar.0ce1e999.mjs","/chunks/SearchModal.f603145b.mjs","/chunks/astro.11be33ee.mjs","/chunks/sharp.3f154e38.mjs","/img/icon.png","/img/large-icon.png","/pages/_---slug_.astro.mjs","/pages/app.astro.mjs","/pages/index.astro.mjs","/pages/~fallback.astro.mjs","/chunks/pages/_...slug_.astro.ec6517ba.mjs","/chunks/pages/account.astro.3d2605e6.mjs","/chunks/pages/index.astro.8ad03206.mjs","/chunks/pages/~fallback.astro.d31d20b4.mjs","/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","/pages/app/account.astro.mjs"]});
78
+
79
+ export { manifest };
@@ -0,0 +1,23 @@
1
+ export { renderers } from '../renderers.mjs';
2
+ export { onRequest } from '../_empty-middleware.mjs';
3
+ import 'vue';
4
+ import 'vue/server-renderer';
5
+ import '@ecomplus/utils';
6
+ import '../chunks/pages/_...slug_.astro.ec6517ba.mjs';
7
+ import '../chunks/astro.11be33ee.mjs';
8
+ import 'clsx';
9
+ import 'html-escaper';
10
+ import '@cloudcommerce/api';
11
+ import 'node:events';
12
+ import 'node:fs';
13
+ import 'node:path';
14
+ import '@cloudcommerce/config';
15
+ import 'ultrahtml';
16
+ /* empty css */import 'image-size';
17
+ import 'mime';
18
+ import '@vueuse/core';
19
+ import '@headlessui/vue';
20
+
21
+ const page = () => import('../chunks/pages/_...slug_.astro.ec6517ba.mjs').then(n => n.w);
22
+
23
+ export { page };
@@ -0,0 +1,23 @@
1
+ export { renderers } from '../../renderers.mjs';
2
+ export { onRequest } from '../../_empty-middleware.mjs';
3
+ import 'vue';
4
+ import 'vue/server-renderer';
5
+ import '@ecomplus/utils';
6
+ import '../../chunks/pages/_...slug_.astro.ec6517ba.mjs';
7
+ import '../../chunks/astro.11be33ee.mjs';
8
+ import 'clsx';
9
+ import 'html-escaper';
10
+ import '@cloudcommerce/api';
11
+ import 'node:events';
12
+ import 'node:fs';
13
+ import 'node:path';
14
+ import '@cloudcommerce/config';
15
+ import 'ultrahtml';
16
+ /* empty css */import 'image-size';
17
+ import 'mime';
18
+ import '@vueuse/core';
19
+ import '@headlessui/vue';
20
+
21
+ const page = () => import('../../chunks/pages/account.astro.3d2605e6.mjs');
22
+
23
+ export { page };
@@ -0,0 +1,23 @@
1
+ export { renderers } from '../renderers.mjs';
2
+ export { onRequest } from '../_empty-middleware.mjs';
3
+ import 'vue';
4
+ import 'vue/server-renderer';
5
+ import '@ecomplus/utils';
6
+ import '../chunks/pages/_...slug_.astro.ec6517ba.mjs';
7
+ import '../chunks/astro.11be33ee.mjs';
8
+ import 'clsx';
9
+ import 'html-escaper';
10
+ import '@cloudcommerce/api';
11
+ import 'node:events';
12
+ import 'node:fs';
13
+ import 'node:path';
14
+ import '@cloudcommerce/config';
15
+ import 'ultrahtml';
16
+ /* empty css */import 'image-size';
17
+ import 'mime';
18
+ import '@vueuse/core';
19
+ import '@headlessui/vue';
20
+
21
+ const page = () => import('../chunks/pages/index.astro.8ad03206.mjs').then(n => n.a);
22
+
23
+ export { page };
@@ -0,0 +1,23 @@
1
+ export { renderers } from '../renderers.mjs';
2
+ export { onRequest } from '../_empty-middleware.mjs';
3
+ import 'vue';
4
+ import 'vue/server-renderer';
5
+ import '@ecomplus/utils';
6
+ import '../chunks/pages/_...slug_.astro.ec6517ba.mjs';
7
+ import '../chunks/astro.11be33ee.mjs';
8
+ import 'clsx';
9
+ import 'html-escaper';
10
+ import '@cloudcommerce/api';
11
+ import 'node:events';
12
+ import 'node:fs';
13
+ import 'node:path';
14
+ import '@cloudcommerce/config';
15
+ import 'ultrahtml';
16
+ /* empty css */import 'image-size';
17
+ import 'mime';
18
+ import '@vueuse/core';
19
+ import '@headlessui/vue';
20
+
21
+ const page = () => import('../chunks/pages/index.astro.8ad03206.mjs').then(n => n.i);
22
+
23
+ export { page };
@@ -0,0 +1,23 @@
1
+ export { renderers } from '../renderers.mjs';
2
+ export { onRequest } from '../_empty-middleware.mjs';
3
+ import 'vue';
4
+ import 'vue/server-renderer';
5
+ import '@ecomplus/utils';
6
+ import '../chunks/pages/_...slug_.astro.ec6517ba.mjs';
7
+ import '../chunks/astro.11be33ee.mjs';
8
+ import 'clsx';
9
+ import 'html-escaper';
10
+ import '@cloudcommerce/api';
11
+ import 'node:events';
12
+ import 'node:fs';
13
+ import 'node:path';
14
+ import '@cloudcommerce/config';
15
+ import 'ultrahtml';
16
+ /* empty css */import 'image-size';
17
+ import 'mime';
18
+ import '@vueuse/core';
19
+ import '@headlessui/vue';
20
+
21
+ const page = () => import('../chunks/pages/~fallback.astro.d31d20b4.mjs');
22
+
23
+ export { page };
@@ -0,0 +1 @@
1
+ if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('/sw.js', { scope: '/' })})}