cloudcommerce 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/ecomplus-stores/monocard/functions/ssr/package.json +0 -2
  3. package/ecomplus-stores/tia-sonia/functions/ssr/package.json +0 -2
  4. package/package.json +7 -7
  5. package/packages/api/package.json +1 -1
  6. package/packages/apps/correios/package.json +2 -2
  7. package/packages/apps/custom-payment/package.json +1 -1
  8. package/packages/apps/custom-shipping/package.json +1 -1
  9. package/packages/apps/datafrete/package.json +2 -2
  10. package/packages/apps/discounts/package.json +1 -1
  11. package/packages/apps/emails/package.json +1 -1
  12. package/packages/apps/fb-conversions/lib/fb-conversions-events.js +131 -111
  13. package/packages/apps/fb-conversions/lib/fb-conversions-events.js.map +1 -1
  14. package/packages/apps/fb-conversions/lib/functions-lib/create-fb-objects.js +69 -0
  15. package/packages/apps/fb-conversions/lib/functions-lib/create-fb-objects.js.map +1 -0
  16. package/packages/apps/fb-conversions/package.json +1 -1
  17. package/packages/apps/fb-conversions/src/fb-conversions-events.ts +173 -125
  18. package/packages/apps/fb-conversions/src/functions-lib/create-fb-objects.ts +104 -0
  19. package/packages/apps/frenet/package.json +2 -2
  20. package/packages/apps/galaxpay/package.json +2 -2
  21. package/packages/apps/google-analytics/package.json +2 -2
  22. package/packages/apps/infinitepay/package.json +2 -2
  23. package/packages/apps/jadlog/package.json +2 -2
  24. package/packages/apps/loyalty-points/package.json +1 -1
  25. package/packages/apps/melhor-envio/CHANGELOG.md +1 -0
  26. package/packages/apps/melhor-envio/README.md +1 -0
  27. package/packages/apps/melhor-envio/events.js +1 -0
  28. package/packages/apps/melhor-envio/lib/functions-lib/database.d.ts +18 -0
  29. package/packages/apps/melhor-envio/lib/functions-lib/database.js +115 -0
  30. package/packages/apps/melhor-envio/lib/functions-lib/database.js.map +1 -0
  31. package/packages/apps/melhor-envio/lib/functions-lib/events-to-melhor-envio.d.ts +7 -0
  32. package/packages/apps/melhor-envio/lib/functions-lib/events-to-melhor-envio.js +112 -0
  33. package/packages/apps/melhor-envio/lib/functions-lib/events-to-melhor-envio.js.map +1 -0
  34. package/packages/apps/melhor-envio/lib/functions-lib/new-label.d.ts +42 -0
  35. package/packages/apps/melhor-envio/lib/functions-lib/new-label.js +185 -0
  36. package/packages/apps/melhor-envio/lib/functions-lib/new-label.js.map +1 -0
  37. package/packages/apps/melhor-envio/lib/functions-lib/order-is-valid.d.ts +5 -0
  38. package/packages/apps/melhor-envio/lib/functions-lib/order-is-valid.js +40 -0
  39. package/packages/apps/melhor-envio/lib/functions-lib/order-is-valid.js.map +1 -0
  40. package/packages/apps/melhor-envio/lib/functions-lib/tracking-codes.d.ts +2 -0
  41. package/packages/apps/melhor-envio/lib/functions-lib/tracking-codes.js +164 -0
  42. package/packages/apps/melhor-envio/lib/functions-lib/tracking-codes.js.map +1 -0
  43. package/packages/apps/melhor-envio/lib/index.d.ts +1 -0
  44. package/packages/apps/melhor-envio/lib/index.js +2 -0
  45. package/packages/apps/melhor-envio/lib/index.js.map +1 -0
  46. package/packages/apps/melhor-envio/lib/melhor-envio-events.d.ts +6 -0
  47. package/packages/apps/melhor-envio/lib/melhor-envio-events.js +17 -0
  48. package/packages/apps/melhor-envio/lib/melhor-envio-events.js.map +1 -0
  49. package/packages/apps/melhor-envio/lib/melhor-envio.d.ts +2 -0
  50. package/packages/apps/melhor-envio/lib/melhor-envio.js +6 -0
  51. package/packages/apps/melhor-envio/lib/melhor-envio.js.map +1 -0
  52. package/packages/apps/melhor-envio/lib-mjs/calculate-melhor-envio.mjs +341 -0
  53. package/packages/apps/melhor-envio/lib-mjs/functions/client-melhor-envio.mjs +14 -0
  54. package/packages/apps/melhor-envio/lib-mjs/functions/error-handling.mjs +62 -0
  55. package/packages/apps/melhor-envio/lib-mjs/functions/new-shipment.mjs +119 -0
  56. package/packages/apps/melhor-envio/package.json +36 -0
  57. package/packages/apps/melhor-envio/src/functions-lib/database.ts +140 -0
  58. package/packages/apps/melhor-envio/src/functions-lib/events-to-melhor-envio.ts +137 -0
  59. package/packages/apps/melhor-envio/src/functions-lib/new-label.ts +214 -0
  60. package/packages/apps/melhor-envio/src/functions-lib/order-is-valid.ts +51 -0
  61. package/packages/apps/melhor-envio/src/functions-lib/tracking-codes.ts +191 -0
  62. package/packages/apps/melhor-envio/src/index.ts +1 -0
  63. package/packages/apps/melhor-envio/src/melhor-envio-events.ts +24 -0
  64. package/packages/apps/melhor-envio/src/melhor-envio.ts +7 -0
  65. package/packages/apps/melhor-envio/tsconfig.json +6 -0
  66. package/packages/apps/mercadopago/package.json +2 -2
  67. package/packages/apps/pagarme/package.json +2 -2
  68. package/packages/apps/paghiper/package.json +3 -3
  69. package/packages/apps/pix/package.json +2 -2
  70. package/packages/apps/tiny-erp/package.json +2 -2
  71. package/packages/cli/package.json +1 -1
  72. package/packages/config/package.json +1 -1
  73. package/packages/emails/package.json +3 -3
  74. package/packages/events/lib/firebase.js +2 -0
  75. package/packages/events/lib/firebase.js.map +1 -1
  76. package/packages/events/package.json +2 -1
  77. package/packages/events/src/firebase.ts +2 -0
  78. package/packages/firebase/lib/config.d.ts +4 -0
  79. package/packages/firebase/lib/config.js +8 -0
  80. package/packages/firebase/lib/config.js.map +1 -1
  81. package/packages/firebase/package.json +2 -2
  82. package/packages/firebase/src/config.ts +9 -0
  83. package/packages/i18n/lib/en_us/i19buyTogether.txt +1 -0
  84. package/packages/i18n/lib/en_us/i19buyTogetherWith.txt +1 -0
  85. package/packages/i18n/lib/en_us/i19report.txt +1 -0
  86. package/packages/i18n/lib/en_us/i19toggleMenu.txt +1 -0
  87. package/packages/i18n/lib/en_us/i19uponRequest.txt +1 -0
  88. package/packages/i18n/lib/en_us/i19usedPoints.txt +1 -0
  89. package/packages/i18n/lib/en_us.d.ts +6 -0
  90. package/packages/i18n/lib/en_us.js +6 -0
  91. package/packages/i18n/lib/en_us.js.map +1 -1
  92. package/packages/i18n/lib/pt_br/i19buyTogether.txt +1 -0
  93. package/packages/i18n/lib/pt_br/i19buyTogetherWith.txt +1 -0
  94. package/packages/i18n/lib/pt_br/i19report.txt +1 -0
  95. package/packages/i18n/lib/pt_br/i19toggleMenu.txt +1 -0
  96. package/packages/i18n/lib/pt_br/i19uponRequest.txt +1 -0
  97. package/packages/i18n/lib/pt_br/i19usedPoints.txt +1 -0
  98. package/packages/i18n/lib/pt_br.d.ts +6 -0
  99. package/packages/i18n/lib/pt_br.js +6 -0
  100. package/packages/i18n/lib/pt_br.js.map +1 -1
  101. package/packages/i18n/package.json +1 -1
  102. package/packages/i18n/src/en_us.ts +6 -0
  103. package/packages/i18n/src/pt_br.ts +6 -0
  104. package/packages/modules/lib/firebase/call-app-module.js +5 -0
  105. package/packages/modules/lib/firebase/call-app-module.js.map +1 -1
  106. package/packages/modules/package.json +3 -2
  107. package/packages/modules/src/firebase/call-app-module.ts +5 -0
  108. package/packages/passport/package.json +1 -1
  109. package/packages/ssr/package.json +6 -7
  110. package/packages/storefront/.eslintrc.cjs +1 -1
  111. package/packages/storefront/astro.config.mjs +8 -1
  112. package/packages/storefront/dist/client/_astro/PitchBar.209c6645.js +1 -0
  113. package/packages/storefront/dist/client/_astro/Prices.6fbcb5ac.js +1 -0
  114. package/packages/storefront/dist/client/_astro/Prices.vue_vue_type_script_setup_true_lang.44f23680.js +1 -0
  115. package/packages/storefront/dist/client/_astro/ProductCard.ee5eee91.js +1 -0
  116. package/packages/storefront/dist/client/_astro/ShopHeader.b801c785.js +1 -0
  117. package/packages/storefront/dist/client/_astro/_...slug_.32968ccf.css +1 -0
  118. package/packages/storefront/dist/client/_astro/client.5a46cc02.js +1 -0
  119. package/packages/storefront/dist/client/_astro/ecom-utils.92f137f6.js +1 -0
  120. package/packages/storefront/dist/client/_astro/hoisted.6edd7364.js +1 -0
  121. package/packages/storefront/dist/client/_astro/index.844a4059.js +1 -0
  122. package/packages/storefront/dist/client/{assets → _astro}/index.90df622b.css +0 -0
  123. package/packages/storefront/dist/client/_astro/modules-info.d9373e21.js +1 -0
  124. package/packages/storefront/dist/client/_astro/runtime-core.esm-bundler.f04cee62.js +1 -0
  125. package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.00313542.js +1 -0
  126. package/packages/storefront/dist/client/_astro/server.60de185d.css +1 -0
  127. package/packages/storefront/dist/client/{chunks/session-utm.ceebe967.js → _astro/session-utm.72684b84.js} +0 -0
  128. package/packages/storefront/dist/client/_astro/use-component-variant.58788b6e.js +1 -0
  129. package/packages/storefront/dist/client/{chunks/workbox-window.prod.es5.10f2e5ac.js → _astro/workbox-window.prod.es5.295a6886.js} +0 -0
  130. package/packages/storefront/dist/client/fallback/index.html +79 -0
  131. package/packages/storefront/dist/client/sw.js +1 -1
  132. package/packages/storefront/dist/server/chunks/astro.89bd9221.mjs +3378 -0
  133. package/packages/storefront/dist/server/chunks/pages/all.23de4e5c.mjs +2453 -0
  134. package/packages/storefront/dist/server/chunks/prerender.f40361a3.mjs +2 -0
  135. package/packages/storefront/dist/server/entry.mjs +2016 -11995
  136. package/packages/storefront/package.json +10 -11
  137. package/packages/storefront/src/lib/assets/base.css +16 -11
  138. package/packages/storefront/src/lib/components/Carousel.vue +52 -82
  139. package/packages/storefront/src/lib/components/Drawer.vue +103 -0
  140. package/packages/storefront/src/lib/components/PitchBar.vue +16 -11
  141. package/packages/storefront/src/lib/components/Prices.vue +29 -29
  142. package/packages/storefront/src/lib/components/ShopHeader.vue +82 -0
  143. package/packages/storefront/src/lib/components/StickyHeader.vue +73 -32
  144. package/packages/storefront/src/lib/components/globals/Fade.vue +10 -14
  145. package/packages/storefront/src/lib/composables/use-component-variant.ts +6 -2
  146. package/packages/storefront/src/lib/composables/use-prices.ts +4 -2
  147. package/packages/storefront/src/lib/layouts/BaseBody.astro +1 -0
  148. package/packages/storefront/src/lib/layouts/PagesHeader.astro +28 -13
  149. package/packages/storefront/src/lib/ssr/Picture.astro +7 -2
  150. package/packages/storefront/tailwind.config.cjs +4 -0
  151. package/packages/storefront/uno.config.cjs +1 -1
  152. package/packages/types/package.json +1 -1
  153. package/packages/storefront/dist/client/PitchBar.5ae15bda.js +0 -1
  154. package/packages/storefront/dist/client/Prices.248d1aae.js +0 -1
  155. package/packages/storefront/dist/client/ProductCard.4848304c.js +0 -1
  156. package/packages/storefront/dist/client/assets/_...slug_.b701cbb1.css +0 -1
  157. package/packages/storefront/dist/client/assets/server.4d9646d8.css +0 -1
  158. package/packages/storefront/dist/client/chunks/Prices.vue_vue_type_script_setup_true_lang.2d01aaa2.js +0 -1
  159. package/packages/storefront/dist/client/chunks/ecom-utils.cd6787a7.js +0 -1
  160. package/packages/storefront/dist/client/chunks/modules-info.fcab5bba.js +0 -1
  161. package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.923790dc.js +0 -1
  162. package/packages/storefront/dist/client/client.2356f675.js +0 -1
  163. package/packages/storefront/dist/client/hoisted.11b849a7.js +0 -1
@@ -0,0 +1,79 @@
1
+ <!DOCTYPE html>
2
+ <html lang="pt-br">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width">
6
+ <meta name="theme-color" content="#137c5c">
7
+ <link rel="icon" href="/_image?f=png&#38;w=32&#38;h=32&#38;href=%2Fimg%2Fuploads%2Flarge-icon.png&#38;V=_">
8
+ <title>My Shop</title>
9
+ <meta name="description" content="My PWA Shop">
10
+ <meta name="author" content="My Shop">
11
+ <meta name="generator" content="Astro v2.0.2">
12
+ <link rel="canonical" href="https://ecom2-002.web.app/fallback/">
13
+ <link rel="apple-touch-icon" href="/img/uploads/large-icon.png">
14
+ <meta name="apple-mobile-web-app-capable" content="yes">
15
+ <meta name="apple-mobile-web-app-status-bar-style" content="default">
16
+ <meta property="og:site_name" content="My Shop">
17
+ <meta property="og:url" content="https://ecom2-002.web.app/fallback/">
18
+ <meta property="og:title" content="My Shop">
19
+ <meta property="og:description" content="My PWA Shop">
20
+ <meta property="og:type" content="website">
21
+ <meta property="og:locale" content="ptBR">
22
+
23
+
24
+ <meta name="twitter:card" content="summary">
25
+
26
+ <meta name="ecom-store-id" content="1011">
27
+ <link rel="manifest" href="/manifest.webmanifest">
28
+
29
+ <script>
30
+ window.ECOM_STORE_ID = 1011;
31
+ window.ECOM_LANG = 'pt_br';
32
+ window.ECOM_CURRENCY = 'BRL';
33
+ window.ECOM_CURRENCY_SYMBOL = 'R$';
34
+ window.ECOM_COUNTRY_CODE = 'R$';
35
+ window.storefront = {"settings":{"domain":"ecom2-002.web.app","name":"My Shop","description":"My PWA Shop","logo":"/img/uploads/logo.webp","icon":"/img/uploads/large-icon.png","primary_color":"#137c5c","email":"","phone":"","address":"","corporate_name":"","doc_number":"","lang":"pt_br","currency":"BRL","currency_symbol":"R$","country_code":"BR","modules":{"list_payments":{"installments_option":{"max_number":null,"monthly_interest":null,"min_installment":null},"discount_option":{"label":null,"apply_at":null,"type":null,"value":null},"loyalty_points_program":{"id":null,"name":null,"ratio":null,"earn_percentage":null}},"calculate_shipping":{"free_shipping_from_value":150}}}};</script>
36
+ <script type="application/ld+json">{"@context":"http://schema.org","@type":"Organization","name":"My Shop","url":"https://ecom2-002.web.app/","logo":"https://ecom2-002.web.app/img/uploads/logo.webp"}</script>
37
+
38
+
39
+
40
+ <script>
41
+ window.firebaseConfig = {
42
+ apiKey: 'AIzaSyCrVzemDgpyp9i6ni7Yc5ZuEVfXYwl-4J0',
43
+ authDomain: 'ecom2-002.firebaseapp.com',
44
+ projectId: 'ecom2-002',
45
+ storageBucket: 'ecom2-002.appspot.com',
46
+ messagingSenderId: '402807248219',
47
+ appId: '1:402807248219:web:cf7d57759751e74776367e',
48
+ measurementId: 'G-SC592CE0GB',
49
+ };
50
+ </script>
51
+ <link rel="stylesheet" href="/_astro/_...slug_.32968ccf.css" /><script type="module" src="/_astro/hoisted.6edd7364.js"></script></head>
52
+ <body>
53
+ <style>astro-island,astro-slot{display:contents}</style><script>(self.Astro=self.Astro||{}).idle=t=>{const e=async()=>{await(await t())()};"requestIdleCallback"in window?window.requestIdleCallback(e):setTimeout(e,200)},window.dispatchEvent(new Event("astro:idle"));var l;{const c={0:t=>t,1:t=>JSON.parse(t,o),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(JSON.parse(t,o)),5:t=>new Set(JSON.parse(t,o)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(JSON.parse(t)),9:t=>new Uint16Array(JSON.parse(t)),10:t=>new Uint32Array(JSON.parse(t))},o=(t,s)=>{if(t===""||!Array.isArray(s))return s;const[e,n]=s;return e in c?c[e](n):void 0};customElements.get("astro-island")||customElements.define("astro-island",(l=class extends HTMLElement{constructor(){super(...arguments);this.hydrate=()=>{if(!this.hydrator||this.parentElement&&this.parentElement.closest("astro-island[ssr]"))return;const s=this.querySelectorAll("astro-slot"),e={},n=this.querySelectorAll("template[data-astro-template]");for(const r of n){const i=r.closest(this.tagName);!i||!i.isSameNode(this)||(e[r.getAttribute("data-astro-template")||"default"]=r.innerHTML,r.remove())}for(const r of s){const i=r.closest(this.tagName);!i||!i.isSameNode(this)||(e[r.getAttribute("name")||"default"]=r.innerHTML)}const a=this.hasAttribute("props")?JSON.parse(this.getAttribute("props"),o):{};this.hydrator(this)(this.Component,a,e,{client:this.getAttribute("client")}),this.removeAttribute("ssr"),window.removeEventListener("astro:hydrate",this.hydrate),window.dispatchEvent(new CustomEvent("astro:hydrate"))}}connectedCallback(){!this.hasAttribute("await-children")||this.firstChild?this.childrenConnectedCallback():new MutationObserver((s,e)=>{e.disconnect(),this.childrenConnectedCallback()}).observe(this,{childList:!0})}async childrenConnectedCallback(){window.addEventListener("astro:hydrate",this.hydrate);let s=this.getAttribute("before-hydration-url");s&&await import(s),this.start()}start(){const s=JSON.parse(this.getAttribute("opts")),e=this.getAttribute("client");if(Astro[e]===void 0){window.addEventListener(`astro:${e}`,()=>this.start(),{once:!0});return}Astro[e](async()=>{const n=this.getAttribute("renderer-url"),[a,{default:r}]=await Promise.all([import(this.getAttribute("component-url")),n?import(n):()=>()=>{}]),i=this.getAttribute("component-export")||"default";if(!i.includes("."))this.Component=a[i];else{this.Component=a;for(const d of i.split("."))this.Component=this.Component[d]}return this.hydrator=r,this.hydrate},s,this)}attributeChangedCallback(){this.hydrator&&this.hydrate()}},l.observedAttributes=["props"],l))}</script><script>(self.Astro=self.Astro||{}).load=a=>{(async()=>await(await a())())()},window.dispatchEvent(new Event("astro:load"));</script>
54
+
55
+ <astro-island uid="1hctD4" component-url="/_astro/PitchBar.209c6645.js" component-export="default" renderer-url="/_astro/client.5a46cc02.js" props="{&quot;slides&quot;:[1,&quot;[[0,{\&quot;href\&quot;:[0,\&quot;/promotion\&quot;],\&quot;html\&quot;:[0,\&quot;Aproveite nossos descontos de até 50%!\&quot;]}],[0,{\&quot;href\&quot;:[0,\&quot;\&quot;],\&quot;html\&quot;:[0,\&quot;&lt;b&gt;Frete grátis&lt;/b&gt; &lt;d-md&gt;para todo Brasil&lt;/d-md&gt; a partir de {{free_shipping_from_value}}\&quot;]}]]&quot;]}" ssr="" client="idle" opts="{&quot;name&quot;:&quot;PitchBar&quot;,&quot;value&quot;:true}" await-children=""><div class="bg-base-100" data-pitch-bar><div class="container md:w-2/3 mx-auto px-3 py-1"><div data-carousel><ul data-carousel-wrapper><!--[--><!--[--><li><a href="/promotion" class="inline-block px-8 hover:underline"><!--[--><!--[--><span class="prose text-sm text-base-800" data-pitch-bar-slide>Aproveite nossos descontos de até 50%!</span><!--]--><!--]--></a></li><li><span href class="inline-block px-8"><!--[--><span class="prose text-sm text-base-800" data-pitch-bar-slide><b>Frete grátis</b> <d-md>para todo Brasil</d-md> a partir de R$ 150,00</span><!--]--></span></li><!--]--><!--]--></ul><!--[--><!--[--><div style="" class="text-xl leading-none text-base-400" data-pitch-bar-controls><button type="button" aria-label="Anterior" data-carousel-control="previous" class="pr-2 bg-base-100 hover:text-base-700"><!--[--><i class="i-chevron-left m-0"></i><!--]--></button><button type="button" aria-label="Próximo" data-carousel-control="next" class="pl-2 bg-base-100 hover:text-base-700"><!--[--><i class="i-chevron-right m-0"></i><!--]--></button></div><!--]--><!--]--></div></div></div></astro-island>
56
+
57
+
58
+ <astro-island uid="oQUvX" component-url="/_astro/ShopHeader.b801c785.js" component-export="default" renderer-url="/_astro/client.5a46cc02.js" props="{}" ssr="" client="load" opts="{&quot;name&quot;:&quot;ShopHeader&quot;,&quot;value&quot;:true}" await-children=""><!--[--><div style=""></div><header class="py-3 sm:py-4 md:py-5 z-50 top-0 will-change-transform" style="transition:none;" data-sticky-header=""><!--[--><div class="container lg:max-w-7xl mx-auto px-1 lg:pl-3 grid grid-flow-col grid-cols-3 justify-between items-center md:grid-cols-none md:auto-cols-max" data-header><!--[--><div class="md:hidden" data-sidenav-toggle><button class="px-2 my-1" aria-label="Abrir/fechar menu"><!--[--><i class="i-menu text-base-500 text-3xl"></i><!--]--></button><div class="relative -ml-1 lg:-ml-3"><!--teleport start--><!----><!--teleport end--></div></div><!--]--><!--[--><astro-slot name="logo">
59
+ <a href="/">
60
+ <h2><picture>
61
+ <source type="image/avif" srcset="/_image?f=avif&#38;w=300&#38;h=117&#38;ar=2.570281124497992&#38;href=%2Fimg%2Fuploads%2Flogo.webp 300w" sizes="150px"><source type="image/webp" srcset="/_image?f=webp&#38;w=300&#38;h=117&#38;ar=2.570281124497992&#38;href=%2Fimg%2Fuploads%2Flogo.webp 300w" sizes="150px">
62
+ <img alt="My Shop" src="/_image?f=webp&#38;w=300&#38;h=117&#38;ar=2.570281124497992&#38;href=%2Fimg%2Fuploads%2Flogo.webp" loading="lazy" decoding="async" alt="My Shop" fetchpriority="high" class="hover:drop-shadow-sm">
63
+ </picture></h2>
64
+ </a>
65
+ </astro-slot><!--]--><!--[--><!--]--><!--[--><div class="px-2 flex justify-end items-center gap-3 lg:gap-4 text-base-800" data-header-buttons><!--[--><!--[--><button class="" aria-label="Buscar produtos" data-header-button="search"><!--[--><i class="i-search hover:text-primary w-7 h-7 hover:scale-110 active:scale-125"></i><!--]--></button><!--]--><!--[--><button class="hidden sm:block" aria-label="Minha conta" data-header-button="account"><!--[--><i class="i-account hover:text-primary w-7 h-7 hover:scale-110 active:scale-125"></i><!--]--></button><!--]--><!--[--><button class="" aria-label="Abrir carrinho" data-header-button="cart"><!--[--><i class="i-shopping-cart hover:text-primary w-7 h-7 hover:scale-110 active:scale-125"></i><!--]--></button><!--]--><!--]--></div><!--]--></div><!--]--></header><!--]--></astro-island>
66
+
67
+
68
+
69
+ <link rel="stylesheet" href="/_astro/_...slug_.32968ccf.css" /><script type="module" src="/_astro/hoisted.6edd7364.js"></script><main>
70
+ <h1>Error :/</h1>
71
+ <p class="instructions">
72
+ Check out the <code>src/pages</code> directory to get started.<br>
73
+ <strong>Code Challenge:</strong> Tweak the "Welcome to Astro" message above.
74
+ </p>
75
+ </main>
76
+
77
+ <div id="teleported"></div>
78
+ </body>
79
+ </html>
@@ -1 +1 @@
1
- if(!self.define){let e,s={};const n=(n,r)=>(n=new URL(n+".js",r).href,s[n]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()})).then((()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(r,i)=>{const u=e||("document"in self?document.currentScript.src:"")||location.href;if(s[u])return;let o={};const a=e=>n(e,u),l={module:{uri:u},exports:o,require:a};s[u]=Promise.all(r.map((e=>l[e]||a(e)))).then((e=>(i(...e),o)))}}define(["./workbox-e2ee76b5"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/_...slug_.b701cbb1.css",revision:null},{url:"assets/index.90df622b.css",revision:null},{url:"assets/server.4d9646d8.css",revision:null},{url:"chunks/ecom-utils.cd6787a7.js",revision:null},{url:"chunks/modules-info.fcab5bba.js",revision:null},{url:"chunks/Prices.vue_vue_type_script_setup_true_lang.2d01aaa2.js",revision:null},{url:"chunks/runtime-dom.esm-bundler.923790dc.js",revision:null},{url:"chunks/session-utm.ceebe967.js",revision:null},{url:"chunks/workbox-window.prod.es5.10f2e5ac.js",revision:null},{url:"client.2356f675.js",revision:null},{url:"hoisted.11b849a7.js",revision:null},{url:"PitchBar.5ae15bda.js",revision:null},{url:"Prices.248d1aae.js",revision:null},{url:"ProductCard.4848304c.js",revision:null},{url:"img/uploads/large-icon.png",revision:"0b35db516cfa7475b1c2f8c081e8d54d"},{url:"manifest.webmanifest",revision:"6a858866b0560997f368e27ab5418e15"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/404"))),e.registerRoute(/^\/$/,new e.NetworkFirst,"GET"),e.registerRoute(/\/((?!(?:admin|assets|img)(\/|$))[^.]+)(\.(?!js|css|xml|txt|png|jpg|jpeg|webp|avif|svg|gif)[^.]+)*$/,new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/assets\//,new e.StaleWhileRevalidate({cacheName:"assets",plugins:[]}),"GET"),e.registerRoute(/^\/_image$/,new e.StaleWhileRevalidate({cacheName:"sharp-images",plugins:[new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/img\/uploads\/.*\.(?:png|jpg|jpeg|webp|avif|svg|gif)$/,new e.StaleWhileRevalidate({cacheName:"cms-images",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/ecomplus\.io/,new e.NetworkFirst({cacheName:"store-api",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/normal\//,new e.CacheFirst({cacheName:"product-thumbnails",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/big\//,new e.CacheFirst({cacheName:"product-pictures",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET")}));
1
+ if(!self.define){let e,s={};const r=(r,n)=>(r=new URL(r+".js",n).href,s[r]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=s,document.head.appendChild(e)}else e=r,importScripts(r),s()})).then((()=>{let e=s[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(n,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let l={};const t=e=>r(e,o),u={module:{uri:o},exports:l,require:t};s[o]=Promise.all(n.map((e=>u[e]||t(e)))).then((e=>(i(...e),l)))}}define(["./workbox-e2ee76b5"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"_astro/_...slug_.32968ccf.css",revision:null},{url:"_astro/client.5a46cc02.js",revision:null},{url:"_astro/ecom-utils.92f137f6.js",revision:null},{url:"_astro/hoisted.6edd7364.js",revision:null},{url:"_astro/index.844a4059.js",revision:null},{url:"_astro/index.90df622b.css",revision:null},{url:"_astro/modules-info.d9373e21.js",revision:null},{url:"_astro/PitchBar.209c6645.js",revision:null},{url:"_astro/Prices.6fbcb5ac.js",revision:null},{url:"_astro/Prices.vue_vue_type_script_setup_true_lang.44f23680.js",revision:null},{url:"_astro/ProductCard.ee5eee91.js",revision:null},{url:"_astro/runtime-core.esm-bundler.f04cee62.js",revision:null},{url:"_astro/runtime-dom.esm-bundler.00313542.js",revision:null},{url:"_astro/server.60de185d.css",revision:null},{url:"_astro/session-utm.72684b84.js",revision:null},{url:"_astro/ShopHeader.b801c785.js",revision:null},{url:"_astro/use-component-variant.58788b6e.js",revision:null},{url:"_astro/workbox-window.prod.es5.295a6886.js",revision:null},{url:"img/uploads/large-icon.png",revision:"0b35db516cfa7475b1c2f8c081e8d54d"},{url:"manifest.webmanifest",revision:"6a858866b0560997f368e27ab5418e15"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/404"))),e.registerRoute(/^\/$/,new e.NetworkFirst,"GET"),e.registerRoute(/\/((?!(?:admin|assets|img)(\/|$))[^.]+)(\.(?!js|css|xml|txt|png|jpg|jpeg|webp|avif|svg|gif)[^.]+)*$/,new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/assets\//,new e.StaleWhileRevalidate({cacheName:"assets",plugins:[]}),"GET"),e.registerRoute(/^\/_image$/,new e.StaleWhileRevalidate({cacheName:"sharp-images",plugins:[new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/img\/uploads\/.*\.(?:png|jpg|jpeg|webp|avif|svg|gif)$/,new e.StaleWhileRevalidate({cacheName:"cms-images",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/ecomplus\.io/,new e.NetworkFirst({cacheName:"store-api",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/normal\//,new e.CacheFirst({cacheName:"product-thumbnails",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/big\//,new e.CacheFirst({cacheName:"product-pictures",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET")}));