cloudcommerce 2.0.4 → 2.0.6

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 (186) hide show
  1. package/.github/workflows/test-apps.yml +2 -2
  2. package/CHANGELOG.md +18 -0
  3. package/README.md +1 -1
  4. package/action.yml +4 -4
  5. package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
  6. package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
  7. package/ecomplus-stores/barra-doce/functions/ssr/src/assets/style.css +2 -2
  8. package/ecomplus-stores/barra-doce/functions/ssr/src/components/ProductCard.vue +1 -1
  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/package.json +2 -2
  12. package/packages/api/lib/api.d.ts +8 -2
  13. package/packages/api/lib/api.js +8 -6
  14. package/packages/api/lib/api.js.map +1 -1
  15. package/packages/api/package.json +3 -2
  16. package/packages/api/src/api.ts +12 -6
  17. package/packages/api/tests/index.test.ts +9 -0
  18. package/packages/api/types.d.ts +35 -26
  19. package/packages/apps/affiliate-program/package.json +1 -1
  20. package/packages/apps/correios/package.json +1 -1
  21. package/packages/apps/custom-payment/package.json +1 -1
  22. package/packages/apps/custom-shipping/package.json +1 -1
  23. package/packages/apps/datafrete/package.json +1 -1
  24. package/packages/apps/discounts/package.json +1 -1
  25. package/packages/apps/emails/package.json +1 -1
  26. package/packages/apps/fb-conversions/package.json +1 -1
  27. package/packages/apps/flash-courier/package.json +1 -1
  28. package/packages/apps/frenet/package.json +1 -1
  29. package/packages/apps/galaxpay/package.json +1 -1
  30. package/packages/apps/google-analytics/package.json +1 -1
  31. package/packages/apps/jadlog/package.json +1 -1
  32. package/packages/apps/loyalty-points/package.json +1 -1
  33. package/packages/apps/mandae/package.json +1 -1
  34. package/packages/apps/melhor-envio/package.json +1 -1
  35. package/packages/apps/mercadopago/package.json +1 -1
  36. package/packages/apps/pagarme/package.json +1 -1
  37. package/packages/apps/pagarme-v5/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 +1 -1
  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/handle-order-transaction.js.map +1 -1
  51. package/packages/modules/package.json +1 -1
  52. package/packages/modules/src/firebase/functions-checkout/handle-order-transaction.ts +1 -1
  53. package/packages/passport/package.json +1 -1
  54. package/packages/ssr/lib/lib/cron-ssr-save-views.js +8 -4
  55. package/packages/ssr/lib/lib/cron-ssr-save-views.js.map +1 -1
  56. package/packages/ssr/package.json +2 -2
  57. package/packages/ssr/src/lib/cron-ssr-save-views.ts +8 -4
  58. package/packages/storefront/config/storefront.tailwind.cjs +10 -1
  59. package/packages/storefront/config/storefront.unocss.cjs +1 -1
  60. package/packages/storefront/dist/client/_astro/AccountPage.oxrx8xO0.js +1 -0
  61. package/packages/storefront/dist/client/_astro/CartSidebar.ShqcM66P.js +1 -0
  62. package/packages/storefront/dist/client/_astro/HeroSlider.OYdereCn.js +1 -0
  63. package/packages/storefront/dist/client/_astro/PitchBar.RVEArMQA.js +1 -0
  64. package/packages/storefront/dist/client/_astro/Prices.Bsod-tLh.js +1 -0
  65. package/packages/storefront/dist/client/_astro/ProductDetails.TQM36pzk.js +7 -0
  66. package/packages/storefront/dist/client/_astro/ProductShelf.HX1P9sTW.js +1 -0
  67. package/packages/storefront/dist/client/_astro/ProductShelf._0iHMZBO.js +1 -0
  68. package/packages/storefront/dist/client/_astro/QuantitySelector.SEAsIOhe.js +1 -0
  69. package/packages/storefront/dist/client/_astro/SearchModal.JVuqMQFe.js +1 -0
  70. package/packages/storefront/dist/client/_astro/SearchShowcase.zwEq0xsL.js +1 -0
  71. package/packages/storefront/dist/client/_astro/ShopHeader.BoPmUmjI.js +7 -0
  72. package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper.40kDRyEO.js +1 -0
  73. package/packages/storefront/dist/client/_astro/{_slug_.cfRx-rdA.css → _slug_.PTG68eA8.css} +1 -1
  74. package/packages/storefront/dist/client/_astro/client.nPN_zw-c.js +1 -0
  75. package/packages/storefront/dist/client/_astro/customer-session.yn5lG3w3.js +7 -0
  76. package/packages/storefront/dist/client/_astro/format-money.ykh8O7d2.js +1 -0
  77. package/packages/storefront/dist/client/_astro/grid-title.z5ui_5pL.js +1 -0
  78. package/packages/storefront/dist/client/_astro/hoisted.FcmEawNA.js +1 -0
  79. package/packages/storefront/dist/client/_astro/hoisted.daSrX1-i.js +1 -0
  80. package/packages/storefront/dist/client/_astro/hoisted.hpPOAcMM.js +1 -0
  81. package/packages/storefront/dist/client/_astro/i18n.MycOopxQ.js +1 -0
  82. package/packages/storefront/dist/client/_astro/img.c2KI4eO6.js +1 -0
  83. package/packages/storefront/dist/client/_astro/index.8acAQSHW.js +1 -0
  84. package/packages/storefront/dist/client/_astro/index.NRzvVgQf.js +1 -0
  85. package/packages/storefront/dist/client/_astro/modules-info.dHD0h8Nc.js +1 -0
  86. package/packages/storefront/dist/client/_astro/name.itYHl42A.js +1 -0
  87. package/packages/storefront/dist/client/_astro/runtime-core.esm-bundler.Pr2hdd7G.js +1 -0
  88. package/packages/storefront/dist/client/_astro/shopping-cart.MgpVRgys.js +1 -0
  89. package/packages/storefront/dist/client/_astro/use-analytics.D9xd-k7D.js +1 -0
  90. package/packages/storefront/dist/client/_astro/use-product-card.gKh9czSW.js +1 -0
  91. package/packages/storefront/dist/client/_astro/use-text-value.ZIz7zsXT.js +4 -0
  92. package/packages/storefront/dist/server/chunks/{CartSidebar_gCUGFy65.mjs → CartSidebar_8VAKl-jR.mjs} +1 -1
  93. package/packages/storefront/dist/server/chunks/{SearchModal_2uYZ9tHy.mjs → SearchModal_7debttOi.mjs} +5 -5
  94. package/packages/storefront/dist/server/chunks/{_.._FnNLvTNv.mjs → _.._D6rq0cLa.mjs} +1 -1
  95. package/packages/storefront/dist/server/chunks/{account_iZ2QmK5E.mjs → _page__WXDIwV7g.mjs} +1 -1
  96. package/packages/storefront/dist/server/chunks/{~fallback_wxuqpDXG.mjs → account_DOT2RzND.mjs} +1 -1
  97. package/packages/storefront/dist/server/chunks/astro/{assets-service_TpUb271h.mjs → assets-service_gJYJeEDH.mjs} +9 -5
  98. package/packages/storefront/dist/server/chunks/{astro_PpArQAsY.mjs → astro_H-6uiAAG.mjs} +36 -30
  99. package/packages/storefront/dist/server/chunks/index_eXlHIU83.mjs +6 -0
  100. package/packages/storefront/dist/server/chunks/{node_wOa5hJmt.mjs → node_-eQO2yOn.mjs} +1 -1
  101. package/packages/storefront/dist/server/chunks/pages/{__cEcxuEWe.mjs → __fI3NeWvy.mjs} +1750 -730
  102. package/packages/storefront/dist/server/chunks/pages/_page__Piz8geXW.mjs +165 -0
  103. package/packages/storefront/dist/server/chunks/pages/{account_WliDuQOB.mjs → account_6pD7OYw-.mjs} +6 -3
  104. package/packages/storefront/dist/server/chunks/pages/index_2F5yi6YO.mjs +128 -0
  105. package/packages/storefront/dist/server/chunks/pages/{node_ZaY4t9qW.mjs → node_-Buhxl8v.mjs} +3 -3
  106. package/packages/storefront/dist/server/chunks/pages/{~fallback_TL5hPXF_.mjs → ~fallback_okEL1qQ3.mjs} +25 -8
  107. package/packages/storefront/dist/server/chunks/~fallback_M-xiy2GE.mjs +6 -0
  108. package/packages/storefront/dist/server/entry.mjs +34 -29
  109. package/packages/storefront/dist/server/manifest_oV2meNKS.mjs +196 -0
  110. package/packages/storefront/dist/server/renderers.mjs +5 -612
  111. package/packages/storefront/package.json +3 -3
  112. package/packages/storefront/src/lib/components/globals/ALink.vue +1 -0
  113. package/packages/test-base/package.json +1 -1
  114. package/packages/types/package.json +1 -1
  115. package/packages/storefront/dist/client/_astro/AccountPage.Osc6ffV0.js +0 -1
  116. package/packages/storefront/dist/client/_astro/CartSidebar.LrfpXG2B.js +0 -1
  117. package/packages/storefront/dist/client/_astro/HeroSlider.Zf6kCaqD.js +0 -1
  118. package/packages/storefront/dist/client/_astro/PitchBar.N4d9fV8H.js +0 -1
  119. package/packages/storefront/dist/client/_astro/Prices.eQ9Vd255.js +0 -1
  120. package/packages/storefront/dist/client/_astro/ProductDetails.Ln_jf57U.js +0 -7
  121. package/packages/storefront/dist/client/_astro/ProductShelf.X389bv9S.js +0 -1
  122. package/packages/storefront/dist/client/_astro/ProductShelf.vj6lVDCr.js +0 -1
  123. package/packages/storefront/dist/client/_astro/QuantitySelector.qSJQlvTe.js +0 -1
  124. package/packages/storefront/dist/client/_astro/SearchModal.BrVoDBvg.js +0 -1
  125. package/packages/storefront/dist/client/_astro/SearchShowcase.KAz3nwco.js +0 -1
  126. package/packages/storefront/dist/client/_astro/ShopHeader.mFKGzhIu.js +0 -7
  127. package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper._suIQ7WC.js +0 -1
  128. package/packages/storefront/dist/client/_astro/client.PdegUP6S.js +0 -1
  129. package/packages/storefront/dist/client/_astro/customer-session.KkTHFOXl.js +0 -7
  130. package/packages/storefront/dist/client/_astro/ecom-icon_12falx.png +0 -0
  131. package/packages/storefront/dist/client/_astro/ecom-icon_15pqnO.png +0 -0
  132. package/packages/storefront/dist/client/_astro/ecom-icon_t3guw.png +0 -0
  133. package/packages/storefront/dist/client/_astro/ecom-utils.Ld2zf-Ve.js +0 -1
  134. package/packages/storefront/dist/client/_astro/format-money.Axn0YFLJ.js +0 -1
  135. package/packages/storefront/dist/client/_astro/grid-title.GntHOijE.js +0 -1
  136. package/packages/storefront/dist/client/_astro/headphone_T2Jjc.avif +0 -0
  137. package/packages/storefront/dist/client/_astro/headphone_Z1CG18r.webp +0 -0
  138. package/packages/storefront/dist/client/_astro/hoisted.3ec9NcvP.js +0 -1
  139. package/packages/storefront/dist/client/_astro/hoisted.UnTlypMd.js +0 -1
  140. package/packages/storefront/dist/client/_astro/i18n.3-NUtxYq.js +0 -1
  141. package/packages/storefront/dist/client/_astro/img.pozlYdd3.js +0 -1
  142. package/packages/storefront/dist/client/_astro/index.TkCbiY_p.js +0 -1
  143. package/packages/storefront/dist/client/_astro/index.m6fK0JXC.js +0 -1
  144. package/packages/storefront/dist/client/_astro/logo_1UBsBq.webp +0 -0
  145. package/packages/storefront/dist/client/_astro/logo_Z1K5PE9.png +0 -0
  146. package/packages/storefront/dist/client/_astro/logo_Z1KIIl1.avif +0 -0
  147. package/packages/storefront/dist/client/_astro/modules-info.mmwB1qIJ.js +0 -1
  148. package/packages/storefront/dist/client/_astro/name.49dZlpDx.js +0 -1
  149. package/packages/storefront/dist/client/_astro/passion_LHbe9.webp +0 -0
  150. package/packages/storefront/dist/client/_astro/passion_Z23MeUb.avif +0 -0
  151. package/packages/storefront/dist/client/_astro/rect8589_1TtOHY.png +0 -0
  152. package/packages/storefront/dist/client/_astro/rect8589_1f5opX.webp +0 -0
  153. package/packages/storefront/dist/client/_astro/rect8589_IUskt.webp +0 -0
  154. package/packages/storefront/dist/client/_astro/rect8589_Uxfdf.png +0 -0
  155. package/packages/storefront/dist/client/_astro/rect8589_Z15uApA.png +0 -0
  156. package/packages/storefront/dist/client/_astro/rect8589_Z1Ap1Im.avif +0 -0
  157. package/packages/storefront/dist/client/_astro/rect8589_Z1JT1HB.webp +0 -0
  158. package/packages/storefront/dist/client/_astro/rect8589_ZY9mtN.avif +0 -0
  159. package/packages/storefront/dist/client/_astro/rect8589_tMFW0.avif +0 -0
  160. package/packages/storefront/dist/client/_astro/rect859_1TgQXS.avif +0 -0
  161. package/packages/storefront/dist/client/_astro/rect859_2Nm1z.avif +0 -0
  162. package/packages/storefront/dist/client/_astro/rect859_DIqwR.png +0 -0
  163. package/packages/storefront/dist/client/_astro/rect859_Z1IKDb2.png +0 -0
  164. package/packages/storefront/dist/client/_astro/rect859_Z29FI4V.webp +0 -0
  165. package/packages/storefront/dist/client/_astro/rect859_Z2kFHGk.avif +0 -0
  166. package/packages/storefront/dist/client/_astro/rect859_ZkpPFI.webp +0 -0
  167. package/packages/storefront/dist/client/_astro/rect859_jXzBi.png +0 -0
  168. package/packages/storefront/dist/client/_astro/rect859_x1l16.webp +0 -0
  169. package/packages/storefront/dist/client/_astro/rect89_1TSfW7.avif +0 -0
  170. package/packages/storefront/dist/client/_astro/rect89_Z1re32x.webp +0 -0
  171. package/packages/storefront/dist/client/_astro/shopping-cart.Ean2uW2R.js +0 -1
  172. package/packages/storefront/dist/client/_astro/use-analytics.Y7amTmnr.js +0 -1
  173. package/packages/storefront/dist/client/_astro/use-product-card.zB4z32bC.js +0 -1
  174. package/packages/storefront/dist/client/_astro/use-text-value.f9pDzruv.js +0 -4
  175. package/packages/storefront/dist/client/app/account/index.html +0 -56
  176. package/packages/storefront/dist/client/app/index.html +0 -96
  177. package/packages/storefront/dist/client/headset-gamer-corsair-hs40-raptor-ca-9011122-naap-vinho/index.html +0 -107
  178. package/packages/storefront/dist/client/index.html +0 -120
  179. package/packages/storefront/dist/client/macbook-apple-pro-15.4-intel-core-i7-2.6ghz-ram-16gb-ssd-512gb-mr972ll/a-prata/index.html +0 -107
  180. package/packages/storefront/dist/client/mouse-gamer-corsair-optico-harpoon-rgb-ch-9301011-na/index.html +0 -107
  181. package/packages/storefront/dist/client/teclado-gamer-fortrek-mecanico-k5-rgb-outemu-blue-preto/index.html +0 -107
  182. package/packages/storefront/dist/client/~fallback/index.html +0 -74
  183. package/packages/storefront/dist/server/chunks/index_1q5IpD39.mjs +0 -6
  184. package/packages/storefront/dist/server/chunks/index_JEU6B2DI.mjs +0 -6
  185. package/packages/storefront/dist/server/chunks/pages/index_2bQLkQf-.mjs +0 -317
  186. package/packages/storefront/dist/server/manifest_YgAgEwvF.mjs +0 -196
@@ -1 +0,0 @@
1
- function Dn(e,t){const n=Object.create(null),s=e.split(",");for(let l=0;l<s.length;l++)n[s[l]]=!0;return t?l=>!!n[l.toLowerCase()]:l=>!!n[l]}const te={},st=[],Me=()=>{},Vr=()=>!1,sn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ds=e=>e.startsWith("onUpdate:"),ue=Object.assign,Kn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Yr=Object.prototype.hasOwnProperty,J=(e,t)=>Yr.call(e,t),D=Array.isArray,rt=e=>Rt(e)==="[object Map]",Ks=e=>Rt(e)==="[object Set]",ds=e=>Rt(e)==="[object Date]",K=e=>typeof e=="function",ie=e=>typeof e=="string",qe=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",$s=e=>(G(e)||K(e))&&K(e.then)&&K(e.catch),Ws=Object.prototype.toString,Rt=e=>Ws.call(e),Jr=e=>Rt(e).slice(8,-1),qs=e=>Rt(e)==="[object Object]",$n=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xt=Dn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zr=/-(\w)/g,je=rn(e=>e.replace(Zr,(t,n)=>n?n.toUpperCase():"")),Qr=/\B([A-Z])/g,ln=rn(e=>e.replace(Qr,"-$1").toLowerCase()),Wn=rn(e=>e.charAt(0).toUpperCase()+e.slice(1)),mn=rn(e=>e?`on${Wn(e)}`:""),Ge=(e,t)=>!Object.is(e,t),yn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Zt=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Xr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},zr=e=>{const t=ie(e)?Number(e):NaN;return isNaN(t)?e:t};let ps;const vn=()=>ps||(ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function on(e){if(D(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],l=ie(s)?nl(s):on(s);if(l)for(const r in l)t[r]=l[r]}return t}else if(ie(e)||G(e))return e}const Gr=/;(?![^(]*\))/g,el=/:([^]+)/,tl=/\/\*[^]*?\*\//g;function nl(e){const t={};return e.replace(tl,"").split(Gr).forEach(n=>{if(n){const s=n.split(el);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function cn(e){let t="";if(ie(e))t=e;else if(D(e))for(let n=0;n<e.length;n++){const s=cn(e[n]);s&&(t+=s+" ")}else if(G(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function oo(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ie(t)&&(e.class=cn(t)),n&&(e.style=on(n)),e}const sl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",co=Dn(sl);function fo(e){return!!e||e===""}function rl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Ss(e[s],t[s]);return n}function Ss(e,t){if(e===t)return!0;let n=ds(e),s=ds(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=qe(e),s=qe(t),n||s)return e===t;if(n=D(e),s=D(t),n||s)return n&&s?rl(e,t):!1;if(n=G(e),s=G(t),n||s){if(!n||!s)return!1;const l=Object.keys(e).length,r=Object.keys(t).length;if(l!==r)return!1;for(const i in e){const o=e.hasOwnProperty(i),f=t.hasOwnProperty(i);if(o&&!f||!o&&f||!Ss(e[i],t[i]))return!1}}return String(e)===String(t)}const uo=e=>ie(e)?e:e==null?"":D(e)||G(e)&&(e.toString===Ws||!K(e.toString))?JSON.stringify(e,Vs,2):String(e),Vs=(e,t)=>t&&t.__v_isRef?Vs(e,t.value):rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,l],r)=>(n[bn(s,r)+" =>"]=l,n),{})}:Ks(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>bn(n))}:qe(t)?bn(t):G(t)&&!D(t)&&!qs(t)?String(t):t,bn=(e,t="")=>{var n;return qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ye;class ll{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ye,!t&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ye;try{return ye=this,t()}finally{ye=n}}}on(){ye=this}off(){ye=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const l=this.parent.scopes.pop();l&&l!==this&&(this.parent.scopes[this.index]=l,l.index=this.index)}this.parent=void 0,this._active=!1}}}function il(e,t=ye){t&&t.active&&t.effects.push(e)}function ol(){return ye}function ao(e){ye&&ye.cleanups.push(e)}const qn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ys=e=>(e.w&Se)>0,Js=e=>(e.n&Se)>0,cl=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Se},fl=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const l=t[s];Ys(l)&&!Js(l)?l.delete(e):t[n++]=l,l.w&=~Se,l.n&=~Se}t.length=n}},Qt=new WeakMap;let yt=0,Se=1;const Fn=30;let Ee;const Xe=Symbol(""),An=Symbol("");class Sn{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,il(this,s)}run(){if(!this.active)return this.fn();let t=Ee,n=$e;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ee,Ee=this,$e=!0,Se=1<<++yt,yt<=Fn?cl(this):gs(this),this.fn()}finally{yt<=Fn&&fl(this),Se=1<<--yt,Ee=this.parent,$e=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ee===this?this.deferStop=!0:this.active&&(gs(this),this.onStop&&this.onStop(),this.active=!1)}}function gs(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let $e=!0;const Zs=[];function pt(){Zs.push($e),$e=!1}function gt(){const e=Zs.pop();$e=e===void 0?!0:e}function _e(e,t,n){if($e&&Ee){let s=Qt.get(e);s||Qt.set(e,s=new Map);let l=s.get(n);l||s.set(n,l=qn()),Qs(l)}}function Qs(e,t){let n=!1;yt<=Fn?Js(e)||(e.n|=Se,n=!Ys(e)):n=!e.has(Ee),n&&(e.add(Ee),Ee.deps.push(e))}function Ne(e,t,n,s,l,r){const i=Qt.get(e);if(!i)return;let o=[];if(t==="clear")o=[...i.values()];else if(n==="length"&&D(e)){const f=Number(s);i.forEach((a,g)=>{(g==="length"||!qe(g)&&g>=f)&&o.push(a)})}else switch(n!==void 0&&o.push(i.get(n)),t){case"add":D(e)?$n(n)&&o.push(i.get("length")):(o.push(i.get(Xe)),rt(e)&&o.push(i.get(An)));break;case"delete":D(e)||(o.push(i.get(Xe)),rt(e)&&o.push(i.get(An)));break;case"set":rt(e)&&o.push(i.get(Xe));break}if(o.length===1)o[0]&&On(o[0]);else{const f=[];for(const a of o)a&&f.push(...a);On(qn(f))}}function On(e,t){const n=D(e)?e:[...e];for(const s of n)s.computed&&_s(s);for(const s of n)s.computed||_s(s)}function _s(e,t){(e!==Ee||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function ul(e,t){var n;return(n=Qt.get(e))==null?void 0:n.get(t)}const al=Dn("__proto__,__v_isRef,__isVue"),Xs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qe)),ms=hl();function hl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Z(this);for(let r=0,i=this.length;r<i;r++)_e(s,"get",r+"");const l=s[t](...n);return l===-1||l===!1?s[t](...n.map(Z)):l}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){pt();const s=Z(this)[t].apply(this,n);return gt(),s}}),e}function dl(e){const t=Z(this);return _e(t,"has",e),t.hasOwnProperty(e)}class zs{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const l=this._isReadonly,r=this._shallow;if(n==="__v_isReactive")return!l;if(n==="__v_isReadonly")return l;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(l?r?Fl:nr:r?tr:er).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=D(t);if(!l){if(i&&J(ms,n))return Reflect.get(ms,n,s);if(n==="hasOwnProperty")return dl}const o=Reflect.get(t,n,s);return(qe(n)?Xs.has(n):al(n))||(l||_e(t,"get",n),r)?o:ae(o)?i&&$n(n)?o:o.value:G(o)?l?sr(o):Jn(o):o}}class Gs extends zs{constructor(t=!1){super(!1,t)}set(t,n,s,l){let r=t[n];if(!this._shallow){const f=ft(r);if(!Xt(s)&&!ft(s)&&(r=Z(r),s=Z(s)),!D(t)&&ae(r)&&!ae(s))return f?!1:(r.value=s,!0)}const i=D(t)&&$n(n)?Number(n)<t.length:J(t,n),o=Reflect.set(t,n,s,l);return t===Z(l)&&(i?Ge(s,r)&&Ne(t,"set",n,s):Ne(t,"add",n,s)),o}deleteProperty(t,n){const s=J(t,n);t[n];const l=Reflect.deleteProperty(t,n);return l&&s&&Ne(t,"delete",n,void 0),l}has(t,n){const s=Reflect.has(t,n);return(!qe(n)||!Xs.has(n))&&_e(t,"has",n),s}ownKeys(t){return _e(t,"iterate",D(t)?"length":Xe),Reflect.ownKeys(t)}}class pl extends zs{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const gl=new Gs,_l=new pl,ml=new Gs(!0),Vn=e=>e,fn=e=>Reflect.getPrototypeOf(e);function Bt(e,t,n=!1,s=!1){e=e.__v_raw;const l=Z(e),r=Z(t);n||(Ge(t,r)&&_e(l,"get",t),_e(l,"get",r));const{has:i}=fn(l),o=s?Vn:n?Qn:Et;if(i.call(l,t))return o(e.get(t));if(i.call(l,r))return o(e.get(r));e!==l&&e.get(t)}function kt(e,t=!1){const n=this.__v_raw,s=Z(n),l=Z(e);return t||(Ge(e,l)&&_e(s,"has",e),_e(s,"has",l)),e===l?n.has(e):n.has(e)||n.has(l)}function Nt(e,t=!1){return e=e.__v_raw,!t&&_e(Z(e),"iterate",Xe),Reflect.get(e,"size",e)}function ys(e){e=Z(e);const t=Z(this);return fn(t).has.call(t,e)||(t.add(e),Ne(t,"add",e,e)),this}function bs(e,t){t=Z(t);const n=Z(this),{has:s,get:l}=fn(n);let r=s.call(n,e);r||(e=Z(e),r=s.call(n,e));const i=l.call(n,e);return n.set(e,t),r?Ge(t,i)&&Ne(n,"set",e,t):Ne(n,"add",e,t),this}function xs(e){const t=Z(this),{has:n,get:s}=fn(t);let l=n.call(t,e);l||(e=Z(e),l=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return l&&Ne(t,"delete",e,void 0),r}function Ts(){const e=Z(this),t=e.size!==0,n=e.clear();return t&&Ne(e,"clear",void 0,void 0),n}function jt(e,t){return function(s,l){const r=this,i=r.__v_raw,o=Z(i),f=t?Vn:e?Qn:Et;return!e&&_e(o,"iterate",Xe),i.forEach((a,g)=>s.call(l,f(a),f(g),r))}}function Ht(e,t,n){return function(...s){const l=this.__v_raw,r=Z(l),i=rt(r),o=e==="entries"||e===Symbol.iterator&&i,f=e==="keys"&&i,a=l[e](...s),g=n?Vn:t?Qn:Et;return!t&&_e(r,"iterate",f?An:Xe),{next(){const{value:d,done:_}=a.next();return _?{value:d,done:_}:{value:o?[g(d[0]),g(d[1])]:g(d),done:_}},[Symbol.iterator](){return this}}}}function Le(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yl(){const e={get(r){return Bt(this,r)},get size(){return Nt(this)},has:kt,add:ys,set:bs,delete:xs,clear:Ts,forEach:jt(!1,!1)},t={get(r){return Bt(this,r,!1,!0)},get size(){return Nt(this)},has:kt,add:ys,set:bs,delete:xs,clear:Ts,forEach:jt(!1,!0)},n={get(r){return Bt(this,r,!0)},get size(){return Nt(this,!0)},has(r){return kt.call(this,r,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:jt(!0,!1)},s={get(r){return Bt(this,r,!0,!0)},get size(){return Nt(this,!0)},has(r){return kt.call(this,r,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:jt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Ht(r,!1,!1),n[r]=Ht(r,!0,!1),t[r]=Ht(r,!1,!0),s[r]=Ht(r,!0,!0)}),[e,n,t,s]}const[bl,xl,Tl,Cl]=yl();function Yn(e,t){const n=t?e?Cl:Tl:e?xl:bl;return(s,l,r)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?s:Reflect.get(J(n,l)&&l in s?n:s,l,r)}const wl={get:Yn(!1,!1)},El={get:Yn(!1,!0)},vl={get:Yn(!0,!1)},er=new WeakMap,tr=new WeakMap,nr=new WeakMap,Fl=new WeakMap;function Al(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ol(e){return e.__v_skip||!Object.isExtensible(e)?0:Al(Jr(e))}function Jn(e){return ft(e)?e:Zn(e,!1,gl,wl,er)}function Rl(e){return Zn(e,!1,ml,El,tr)}function sr(e){return Zn(e,!0,_l,vl,nr)}function Zn(e,t,n,s,l){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=l.get(e);if(r)return r;const i=Ol(e);if(i===0)return e;const o=new Proxy(e,i===2?s:n);return l.set(e,o),o}function lt(e){return ft(e)?lt(e.__v_raw):!!(e&&e.__v_isReactive)}function ft(e){return!!(e&&e.__v_isReadonly)}function Xt(e){return!!(e&&e.__v_isShallow)}function rr(e){return lt(e)||ft(e)}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function lr(e){return Zt(e,"__v_skip",!0),e}const Et=e=>G(e)?Jn(e):e,Qn=e=>G(e)?sr(e):e;function ir(e){$e&&Ee&&(e=Z(e),Qs(e.dep||(e.dep=qn())))}function or(e,t){e=Z(e);const n=e.dep;n&&On(n)}function ae(e){return!!(e&&e.__v_isRef===!0)}function Wt(e){return cr(e,!1)}function ho(e){return cr(e,!0)}function cr(e,t){return ae(e)?e:new Pl(e,t)}class Pl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Z(t),this._value=n?t:Et(t)}get value(){return ir(this),this._value}set value(t){const n=this.__v_isShallow||Xt(t)||ft(t);t=n?t:Z(t),Ge(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Et(t),or(this))}}function Ml(e){return ae(e)?e.value:e}const Il={get:(e,t,n)=>Ml(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const l=e[t];return ae(l)&&!ae(n)?(l.value=n,!0):Reflect.set(e,t,n,s)}};function fr(e){return lt(e)?e:new Proxy(e,Il)}class Bl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ul(Z(this._object),this._key)}}class kl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function po(e,t,n){return ae(e)?e:K(e)?new kl(e):G(e)&&arguments.length>1?Nl(e,t,n):Wt(e)}function Nl(e,t,n){const s=e[t];return ae(s)?s:new Bl(e,t,n)}class jl{constructor(t,n,s,l){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Sn(t,()=>{this._dirty||(this._dirty=!0,or(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!l,this.__v_isReadonly=s}get value(){const t=Z(this);return ir(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Hl(e,t,n=!1){let s,l;const r=K(e);return r?(s=e,l=Me):(s=e.get,l=e.set),new jl(s,l,r||!l,n)}function We(e,t,n,s){let l;try{l=s?e(...s):e()}catch(r){_t(r,t,n)}return l}function ve(e,t,n,s){if(K(e)){const r=We(e,t,n,s);return r&&$s(r)&&r.catch(i=>{_t(i,t,n)}),r}const l=[];for(let r=0;r<e.length;r++)l.push(ve(e[r],t,n,s));return l}function _t(e,t,n,s=!0){const l=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,o=n;for(;r;){const a=r.ec;if(a){for(let g=0;g<a.length;g++)if(a[g](e,i,o)===!1)return}r=r.parent}const f=t.appContext.config.errorHandler;if(f){We(f,null,10,[e,i,o]);return}}Ll(e,n,l,s)}function Ll(e,t,n,s=!0){console.error(e)}let vt=!1,Rn=!1;const fe=[];let Re=0;const it=[];let ke=null,Ze=0;const ur=Promise.resolve();let Xn=null;function Ul(e){const t=Xn||ur;return e?t.then(this?e.bind(this):e):t}function Dl(e){let t=Re+1,n=fe.length;for(;t<n;){const s=t+n>>>1,l=fe[s],r=Ft(l);r<e||r===e&&l.pre?t=s+1:n=s}return t}function un(e){(!fe.length||!fe.includes(e,vt&&e.allowRecurse?Re+1:Re))&&(e.id==null?fe.push(e):fe.splice(Dl(e.id),0,e),ar())}function ar(){!vt&&!Rn&&(Rn=!0,Xn=ur.then(hr))}function Kl(e){const t=fe.indexOf(e);t>Re&&fe.splice(t,1)}function Pn(e){D(e)?it.push(...e):(!ke||!ke.includes(e,e.allowRecurse?Ze+1:Ze))&&it.push(e),ar()}function Cs(e,t,n=vt?Re+1:0){for(;n<fe.length;n++){const s=fe[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;fe.splice(n,1),n--,s()}}}function zt(e){if(it.length){const t=[...new Set(it)];if(it.length=0,ke){ke.push(...t);return}for(ke=t,ke.sort((n,s)=>Ft(n)-Ft(s)),Ze=0;Ze<ke.length;Ze++)ke[Ze]();ke=null,Ze=0}}const Ft=e=>e.id==null?1/0:e.id,$l=(e,t)=>{const n=Ft(e)-Ft(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function hr(e){Rn=!1,vt=!0,fe.sort($l);try{for(Re=0;Re<fe.length;Re++){const t=fe[Re];t&&t.active!==!1&&We(t,null,14)}}finally{Re=0,fe.length=0,zt(),vt=!1,Xn=null,(fe.length||it.length)&&hr()}}function Wl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||te;let l=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in s){const g=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:_}=s[g]||te;_&&(l=n.map(v=>ie(v)?v.trim():v)),d&&(l=n.map(Xr))}let o,f=s[o=mn(t)]||s[o=mn(je(t))];!f&&r&&(f=s[o=mn(ln(t))]),f&&ve(f,e,6,l);const a=s[o+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,ve(a,e,6,l)}}function dr(e,t,n=!1){const s=t.emitsCache,l=s.get(e);if(l!==void 0)return l;const r=e.emits;let i={},o=!1;if(!K(e)){const f=a=>{const g=dr(a,t,!0);g&&(o=!0,ue(i,g))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!o?(G(e)&&s.set(e,null),null):(D(r)?r.forEach(f=>i[f]=null):ue(i,r),G(e)&&s.set(e,i),i)}function an(e,t){return!e||!sn(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,ln(t))||J(e,t))}let oe=null,pr=null;function Gt(e){const t=oe;return oe=e,pr=e&&e.type.__scopeId||null,t}function ql(e,t=oe,n){if(!t||e._n)return e;const s=(...l)=>{s._d&&js(-1);const r=Gt(t);let i;try{i=e(...l)}finally{Gt(r),s._d&&js(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function xn(e){const{type:t,vnode:n,proxy:s,withProxy:l,props:r,propsOptions:[i],slots:o,attrs:f,emit:a,render:g,renderCache:d,data:_,setupState:v,ctx:O,inheritAttrs:R}=e;let q,Y;const U=Gt(e);try{if(n.shapeFlag&4){const h=l||s,C=h;q=Te(g.call(C,h,d,r,v,_,O)),Y=f}else{const h=t;q=Te(h.length>1?h(r,{attrs:f,slots:o,emit:a}):h(r,null)),Y=t.props?f:Vl(f)}}catch(h){wt.length=0,_t(h,e,1),q=ne(de)}let m=q;if(Y&&R!==!1){const h=Object.keys(Y),{shapeFlag:C}=m;h.length&&C&7&&(i&&h.some(Ds)&&(Y=Yl(Y,i)),m=Ve(m,Y))}return n.dirs&&(m=Ve(m),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(m.transition=n.transition),q=m,Gt(U),q}function Sl(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(Ot(s)){if(s.type!==de||s.children==="v-if"){if(t)return;t=s}}else return}return t}const Vl=e=>{let t;for(const n in e)(n==="class"||n==="style"||sn(n))&&((t||(t={}))[n]=e[n]);return t},Yl=(e,t)=>{const n={};for(const s in e)(!Ds(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Jl(e,t,n){const{props:s,children:l,component:r}=e,{props:i,children:o,patchFlag:f}=t,a=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?ws(s,i,a):!!i;if(f&8){const g=t.dynamicProps;for(let d=0;d<g.length;d++){const _=g[d];if(i[_]!==s[_]&&!an(a,_))return!0}}}else return(l||o)&&(!o||!o.$stable)?!0:s===i?!1:s?i?ws(s,i,a):!0:!!i;return!1}function ws(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let l=0;l<s.length;l++){const r=s[l];if(t[r]!==e[r]&&!an(n,r))return!0}return!1}function zn({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Gn="components";function go(e,t){return _r(Gn,e,!0,t)||e}const gr=Symbol.for("v-ndc");function _o(e){return ie(e)?_r(Gn,e,!1)||e:e||gr}function _r(e,t,n=!0,s=!1){const l=oe||le;if(l){const r=l.type;if(e===Gn){const o=Yi(r,!1);if(o&&(o===t||o===je(t)||o===Wn(je(t))))return r}const i=Es(l[e]||r[e],t)||Es(l.appContext[e],t);return!i&&s?r:i}}function Es(e,t){return e&&(e[t]||e[je(t)]||e[Wn(je(t))])}const Zl=e=>e.__isSuspense,Ql={name:"Suspense",__isSuspense:!0,process(e,t,n,s,l,r,i,o,f,a){e==null?Xl(t,n,s,l,r,i,o,f,a):zl(e,t,n,s,l,i,o,f,a)},hydrate:Gl,create:es,normalize:ei},mo=Ql;function At(e,t){const n=e.props&&e.props[t];K(n)&&n()}function Xl(e,t,n,s,l,r,i,o,f){const{p:a,o:{createElement:g}}=f,d=g("div"),_=e.suspense=es(e,l,s,t,d,n,r,i,o,f);a(null,_.pendingBranch=e.ssContent,d,null,s,_,r,i),_.deps>0?(At(e,"onPending"),At(e,"onFallback"),a(null,e.ssFallback,t,n,s,null,r,i),ot(_,e.ssFallback)):_.resolve(!1,!0)}function zl(e,t,n,s,l,r,i,o,{p:f,um:a,o:{createElement:g}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const _=t.ssContent,v=t.ssFallback,{activeBranch:O,pendingBranch:R,isInFallback:q,isHydrating:Y}=d;if(R)d.pendingBranch=_,Pe(_,R)?(f(R,_,d.hiddenContainer,null,l,d,r,i,o),d.deps<=0?d.resolve():q&&(f(O,v,n,s,l,null,r,i,o),ot(d,v))):(d.pendingId++,Y?(d.isHydrating=!1,d.activeBranch=R):a(R,l,d),d.deps=0,d.effects.length=0,d.hiddenContainer=g("div"),q?(f(null,_,d.hiddenContainer,null,l,d,r,i,o),d.deps<=0?d.resolve():(f(O,v,n,s,l,null,r,i,o),ot(d,v))):O&&Pe(_,O)?(f(O,_,n,s,l,d,r,i,o),d.resolve(!0)):(f(null,_,d.hiddenContainer,null,l,d,r,i,o),d.deps<=0&&d.resolve()));else if(O&&Pe(_,O))f(O,_,n,s,l,d,r,i,o),ot(d,_);else if(At(t,"onPending"),d.pendingBranch=_,d.pendingId++,f(null,_,d.hiddenContainer,null,l,d,r,i,o),d.deps<=0)d.resolve();else{const{timeout:U,pendingId:m}=d;U>0?setTimeout(()=>{d.pendingId===m&&d.fallback(v)},U):U===0&&d.fallback(v)}}function es(e,t,n,s,l,r,i,o,f,a,g=!1){const{p:d,m:_,um:v,n:O,o:{parentNode:R,remove:q}}=a;let Y;const U=ti(e);U&&t?.pendingBranch&&(Y=t.pendingId,t.deps++);const m=e.props?zr(e.props.timeout):void 0,h={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:l,anchor:r,deps:0,pendingId:0,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!g,isHydrating:g,isUnmounted:!1,effects:[],resolve(C=!1,k=!1){const{vnode:B,activeBranch:E,pendingBranch:I,pendingId:P,effects:$,parentComponent:Q,container:X}=h;let ce=!1;if(h.isHydrating)h.isHydrating=!1;else if(!C){ce=E&&I.transition&&I.transition.mode==="out-in",ce&&(E.transition.afterLeave=()=>{P===h.pendingId&&(_(I,X,O(E),0),Pn($))});let{anchor:S}=h;E&&(S=O(E),v(E,Q,h,!0)),ce||_(I,X,S,0)}ot(h,I),h.pendingBranch=null,h.isInFallback=!1;let se=h.parent,L=!1;for(;se;){if(se.pendingBranch){se.effects.push(...$),L=!0;break}se=se.parent}!L&&!ce&&Pn($),h.effects=[],U&&t&&t.pendingBranch&&Y===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),At(B,"onResolve")},fallback(C){if(!h.pendingBranch)return;const{vnode:k,activeBranch:B,parentComponent:E,container:I,isSVG:P}=h;At(k,"onFallback");const $=O(B),Q=()=>{h.isInFallback&&(d(null,C,I,$,E,null,P,o,f),ot(h,C))},X=C.transition&&C.transition.mode==="out-in";X&&(B.transition.afterLeave=Q),h.isInFallback=!0,v(B,E,null,!0),X||Q()},move(C,k,B){h.activeBranch&&_(h.activeBranch,C,k,B),h.container=C},next(){return h.activeBranch&&O(h.activeBranch)},registerDep(C,k){const B=!!h.pendingBranch;B&&h.deps++;const E=C.vnode.el;C.asyncDep.catch(I=>{_t(I,C,0)}).then(I=>{if(C.isUnmounted||h.isUnmounted||h.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:P}=C;Ln(C,I,!1),E&&(P.el=E);const $=!E&&C.subTree.el;k(C,P,R(E||C.subTree.el),E?null:O(C.subTree),h,i,f),$&&q($),zn(C,P.el),B&&--h.deps===0&&h.resolve()})},unmount(C,k){h.isUnmounted=!0,h.activeBranch&&v(h.activeBranch,n,C,k),h.pendingBranch&&v(h.pendingBranch,n,C,k)}};return h}function Gl(e,t,n,s,l,r,i,o,f){const a=t.suspense=es(t,s,n,e.parentNode,document.createElement("div"),null,l,r,i,o,!0),g=f(e,a.pendingBranch=t.ssContent,n,a,r,i);return a.deps===0&&a.resolve(!1,!0),g}function ei(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=vs(s?n.default:n),e.ssFallback=s?vs(n.fallback):ne(de)}function vs(e){let t;if(K(e)){const n=at&&e._c;n&&(e._d=!1,ls()),e=e(),n&&(e._d=!0,t=Ce,jr())}return D(e)&&(e=Sl(e)),e=Te(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function mr(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):Pn(e)}function ot(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,l=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=l,zn(s,l))}function ti(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function yo(e,t){return ts(e,null,t)}const Lt={};function Tn(e,t,n){return ts(e,t,n)}function ts(e,t,{immediate:n,deep:s,flush:l,onTrack:r,onTrigger:i}=te){var o;const f=ol()===((o=le)==null?void 0:o.scope)?le:null;let a,g=!1,d=!1;if(ae(e)?(a=()=>e.value,g=Xt(e)):lt(e)?(a=()=>e,s=!0):D(e)?(d=!0,g=e.some(h=>lt(h)||Xt(h)),a=()=>e.map(h=>{if(ae(h))return h.value;if(lt(h))return Qe(h);if(K(h))return We(h,f,2)})):K(e)?t?a=()=>We(e,f,2):a=()=>{if(!(f&&f.isUnmounted))return _&&_(),ve(e,f,3,[v])}:a=Me,t&&s){const h=a;a=()=>Qe(h())}let _,v=h=>{_=U.onStop=()=>{We(h,f,4),_=U.onStop=void 0}},O;if(dt)if(v=Me,t?n&&ve(t,f,3,[a(),d?[]:void 0,v]):a(),l==="sync"){const h=Xi();O=h.__watcherHandles||(h.__watcherHandles=[])}else return Me;let R=d?new Array(e.length).fill(Lt):Lt;const q=()=>{if(U.active)if(t){const h=U.run();(s||g||(d?h.some((C,k)=>Ge(C,R[k])):Ge(h,R)))&&(_&&_(),ve(t,f,3,[h,R===Lt?void 0:d&&R[0]===Lt?[]:R,v]),R=h)}else U.run()};q.allowRecurse=!!t;let Y;l==="sync"?Y=q:l==="post"?Y=()=>pe(q,f&&f.suspense):(q.pre=!0,f&&(q.id=f.uid),Y=()=>un(q));const U=new Sn(a,Y);t?n?q():R=U.run():l==="post"?pe(U.run.bind(U),f&&f.suspense):U.run();const m=()=>{U.stop(),f&&f.scope&&Kn(f.scope.effects,U)};return O&&O.push(m),m}function ni(e,t,n){const s=this.proxy,l=ie(e)?e.includes(".")?yr(s,e):()=>s[e]:e.bind(s,s);let r;K(t)?r=t:(r=t.handler,n=t);const i=le;ht(this);const o=ts(l,r.bind(s),n);return i?ht(i):ze(),o}function yr(e,t){const n=t.split(".");return()=>{let s=e;for(let l=0;l<n.length&&s;l++)s=s[n[l]];return s}}function Qe(e,t){if(!G(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ae(e))Qe(e.value,t);else if(D(e))for(let n=0;n<e.length;n++)Qe(e[n],t);else if(Ks(e)||rt(e))e.forEach(n=>{Qe(n,t)});else if(qs(e))for(const n in e)Qe(e[n],t);return e}function bo(e,t){const n=oe;if(n===null)return e;const s=pn(n)||n.proxy,l=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,f,a=te]=t[r];i&&(K(i)&&(i={mounted:i,updated:i}),i.deep&&Qe(o),l.push({dir:i,instance:s,value:o,oldValue:void 0,arg:f,modifiers:a}))}return e}function Oe(e,t,n,s){const l=e.dirs,r=t&&t.dirs;for(let i=0;i<l.length;i++){const o=l[i];r&&(o.oldValue=r[i].value);let f=o.dir[s];f&&(pt(),ve(f,n,8,[e.el,o,e,t]),gt())}}const De=Symbol("_leaveCb"),Ut=Symbol("_enterCb");function si(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Cr(()=>{e.isMounted=!0}),wr(()=>{e.isUnmounting=!0}),e}const be=[Function,Array],ri={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:be,onEnter:be,onAfterEnter:be,onEnterCancelled:be,onBeforeLeave:be,onLeave:be,onAfterLeave:be,onLeaveCancelled:be,onBeforeAppear:be,onAppear:be,onAfterAppear:be,onAppearCancelled:be},li={name:"BaseTransition",props:ri,setup(e,{slots:t}){const n=$i(),s=si();let l;return()=>{const r=t.default&&xr(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const R of r)if(R.type!==de){i=R;break}}const o=Z(e),{mode:f}=o;if(s.isLeaving)return Cn(i);const a=Fs(i);if(!a)return Cn(i);const g=Mn(a,o,s,n);In(a,g);const d=n.subTree,_=d&&Fs(d);let v=!1;const{getTransitionKey:O}=a.type;if(O){const R=O();l===void 0?l=R:R!==l&&(l=R,v=!0)}if(_&&_.type!==de&&(!Pe(a,_)||v)){const R=Mn(_,o,s,n);if(In(_,R),f==="out-in")return s.isLeaving=!0,R.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Cn(i);f==="in-out"&&a.type!==de&&(R.delayLeave=(q,Y,U)=>{const m=br(s,_);m[String(_.key)]=_,q[De]=()=>{Y(),q[De]=void 0,delete g.delayedLeave},g.delayedLeave=U})}return i}}},xo=li;function br(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Mn(e,t,n,s){const{appear:l,mode:r,persisted:i=!1,onBeforeEnter:o,onEnter:f,onAfterEnter:a,onEnterCancelled:g,onBeforeLeave:d,onLeave:_,onAfterLeave:v,onLeaveCancelled:O,onBeforeAppear:R,onAppear:q,onAfterAppear:Y,onAppearCancelled:U}=t,m=String(e.key),h=br(n,e),C=(E,I)=>{E&&ve(E,s,9,I)},k=(E,I)=>{const P=I[1];C(E,I),D(E)?E.every($=>$.length<=1)&&P():E.length<=1&&P()},B={mode:r,persisted:i,beforeEnter(E){let I=o;if(!n.isMounted)if(l)I=R||o;else return;E[De]&&E[De](!0);const P=h[m];P&&Pe(e,P)&&P.el[De]&&P.el[De](),C(I,[E])},enter(E){let I=f,P=a,$=g;if(!n.isMounted)if(l)I=q||f,P=Y||a,$=U||g;else return;let Q=!1;const X=E[Ut]=ce=>{Q||(Q=!0,ce?C($,[E]):C(P,[E]),B.delayedLeave&&B.delayedLeave(),E[Ut]=void 0)};I?k(I,[E,X]):X()},leave(E,I){const P=String(e.key);if(E[Ut]&&E[Ut](!0),n.isUnmounting)return I();C(d,[E]);let $=!1;const Q=E[De]=X=>{$||($=!0,I(),X?C(O,[E]):C(v,[E]),E[De]=void 0,h[P]===e&&delete h[P])};h[P]=e,_?k(_,[E,Q]):Q()},clone(E){return Mn(E,t,n,s)}};return B}function Cn(e){if(Pt(e))return e=Ve(e),e.children=null,e}function Fs(e){return Pt(e)?e.children?e.children[0]:void 0:e}function In(e,t){e.shapeFlag&6&&e.component?In(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function xr(e,t=!1,n){let s=[],l=0;for(let r=0;r<e.length;r++){let i=e[r];const o=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===ge?(i.patchFlag&128&&l++,s=s.concat(xr(i.children,t,o))):(t||i.type!==de)&&s.push(o!=null?Ve(i,{key:o}):i)}if(l>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function ii(e,t){return K(e)?ue({name:e.name},t,{setup:e}):e}const ct=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function To(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:l=200,timeout:r,suspensible:i=!0,onError:o}=e;let f=null,a,g=0;const d=()=>(g++,f=null,_()),_=()=>{let v;return f||(v=f=t().catch(O=>{if(O=O instanceof Error?O:new Error(String(O)),o)return new Promise((R,q)=>{o(O,()=>R(d()),()=>q(O),g+1)});throw O}).then(O=>v!==f&&f?f:(O&&(O.__esModule||O[Symbol.toStringTag]==="Module")&&(O=O.default),a=O,O)))};return ii({name:"AsyncComponentWrapper",__asyncLoader:_,get __asyncResolved(){return a},setup(){const v=le;if(a)return()=>wn(a,v);const O=U=>{f=null,_t(U,v,13,!s)};if(i&&v.suspense||dt)return _().then(U=>()=>wn(U,v)).catch(U=>(O(U),()=>s?ne(s,{error:U}):null));const R=Wt(!1),q=Wt(),Y=Wt(!!l);return l&&setTimeout(()=>{Y.value=!1},l),r!=null&&setTimeout(()=>{if(!R.value&&!q.value){const U=new Error(`Async component timed out after ${r}ms.`);O(U),q.value=U}},r),_().then(()=>{R.value=!0,v.parent&&Pt(v.parent.vnode)&&un(v.parent.update)}).catch(U=>{O(U),q.value=U}),()=>{if(R.value&&a)return wn(a,v);if(q.value&&s)return ne(s,{error:q.value});if(n&&!Y.value)return ne(n)}}})}function wn(e,t){const{ref:n,props:s,children:l,ce:r}=t.vnode,i=ne(e,s,l);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const Pt=e=>e.type.__isKeepAlive;function oi(e,t){Tr(e,"a",t)}function ci(e,t){Tr(e,"da",t)}function Tr(e,t,n=le){const s=e.__wdc||(e.__wdc=()=>{let l=n;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(hn(t,s,n),n){let l=n.parent;for(;l&&l.parent;)Pt(l.parent.vnode)&&fi(s,t,n,l),l=l.parent}}function fi(e,t,n,s){const l=hn(t,e,s,!0);Er(()=>{Kn(s[t],l)},n)}function hn(e,t,n=le,s=!1){if(n){const l=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;pt(),ht(n);const o=ve(t,n,e,i);return ze(),gt(),o});return s?l.unshift(r):l.push(r),r}}const He=e=>(t,n=le)=>(!dt||e==="sp")&&hn(e,(...s)=>t(...s),n),ui=He("bm"),Cr=He("m"),ai=He("bu"),hi=He("u"),wr=He("bum"),Er=He("um"),di=He("sp"),pi=He("rtg"),gi=He("rtc");function _i(e,t=le){hn("ec",e,t)}function Co(e,t,n,s){let l;const r=n&&n[s];if(D(e)||ie(e)){l=new Array(e.length);for(let i=0,o=e.length;i<o;i++)l[i]=t(e[i],i,void 0,r&&r[i])}else if(typeof e=="number"){l=new Array(e);for(let i=0;i<e;i++)l[i]=t(i+1,i,void 0,r&&r[i])}else if(G(e))if(e[Symbol.iterator])l=Array.from(e,(i,o)=>t(i,o,void 0,r&&r[o]));else{const i=Object.keys(e);l=new Array(i.length);for(let o=0,f=i.length;o<f;o++){const a=i[o];l[o]=t(e[a],a,o,r&&r[o])}}else l=[];return n&&(n[s]=l),l}function wo(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(D(s))for(let l=0;l<s.length;l++)e[s[l].name]=s[l].fn;else s&&(e[s.name]=s.key?(...l)=>{const r=s.fn(...l);return r&&(r.key=s.key),r}:s.fn)}return e}function Eo(e,t,n={},s,l){if(oe.isCE||oe.parent&&ct(oe.parent)&&oe.parent.isCE)return t!=="default"&&(n.name=t),ne("slot",n,s&&s());let r=e[t];r&&r._c&&(r._d=!1),ls();const i=r&&vr(r(n)),o=Lr(ge,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!l&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),r&&r._c&&(r._d=!0),o}function vr(e){return e.some(t=>Ot(t)?!(t.type===de||t.type===ge&&!vr(t.children)):!0)?e:null}const Bn=e=>e?$r(e)?pn(e)||e.proxy:Bn(e.parent):null,Tt=ue(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Bn(e.parent),$root:e=>Bn(e.root),$emit:e=>e.emit,$options:e=>ns(e),$forceUpdate:e=>e.f||(e.f=()=>un(e.update)),$nextTick:e=>e.n||(e.n=Ul.bind(e.proxy)),$watch:e=>ni.bind(e)}),En=(e,t)=>e!==te&&!e.__isScriptSetup&&J(e,t),mi={get({_:e},t){const{ctx:n,setupState:s,data:l,props:r,accessCache:i,type:o,appContext:f}=e;let a;if(t[0]!=="$"){const v=i[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return l[t];case 4:return n[t];case 3:return r[t]}else{if(En(s,t))return i[t]=1,s[t];if(l!==te&&J(l,t))return i[t]=2,l[t];if((a=e.propsOptions[0])&&J(a,t))return i[t]=3,r[t];if(n!==te&&J(n,t))return i[t]=4,n[t];kn&&(i[t]=0)}}const g=Tt[t];let d,_;if(g)return t==="$attrs"&&_e(e,"get",t),g(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(n!==te&&J(n,t))return i[t]=4,n[t];if(_=f.config.globalProperties,J(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:l,ctx:r}=e;return En(l,t)?(l[t]=n,!0):s!==te&&J(s,t)?(s[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:l,propsOptions:r}},i){let o;return!!n[i]||e!==te&&J(e,i)||En(t,i)||(o=r[0])&&J(o,i)||J(s,i)||J(Tt,i)||J(l.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function As(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let kn=!0;function yi(e){const t=ns(e),n=e.proxy,s=e.ctx;kn=!1,t.beforeCreate&&Os(t.beforeCreate,e,"bc");const{data:l,computed:r,methods:i,watch:o,provide:f,inject:a,created:g,beforeMount:d,mounted:_,beforeUpdate:v,updated:O,activated:R,deactivated:q,beforeDestroy:Y,beforeUnmount:U,destroyed:m,unmounted:h,render:C,renderTracked:k,renderTriggered:B,errorCaptured:E,serverPrefetch:I,expose:P,inheritAttrs:$,components:Q,directives:X,filters:ce}=t;if(a&&bi(a,s,null),i)for(const S in i){const N=i[S];K(N)&&(s[S]=N.bind(n))}if(l){const S=l.call(n,n);G(S)&&(e.data=Jn(S))}if(kn=!0,r)for(const S in r){const N=r[S],Ie=K(N)?N.bind(n,n):K(N.get)?N.get.bind(n,n):Me,Mt=!K(N)&&K(N.set)?N.set.bind(n):Me,Ye=Zi({get:Ie,set:Mt});Object.defineProperty(s,S,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Fe=>Ye.value=Fe})}if(o)for(const S in o)Fr(o[S],s,n,S);if(f){const S=K(f)?f.call(n):f;Reflect.ownKeys(S).forEach(N=>{vi(N,S[N])})}g&&Os(g,e,"c");function L(S,N){D(N)?N.forEach(Ie=>S(Ie.bind(n))):N&&S(N.bind(n))}if(L(ui,d),L(Cr,_),L(ai,v),L(hi,O),L(oi,R),L(ci,q),L(_i,E),L(gi,k),L(pi,B),L(wr,U),L(Er,h),L(di,I),D(P))if(P.length){const S=e.exposed||(e.exposed={});P.forEach(N=>{Object.defineProperty(S,N,{get:()=>n[N],set:Ie=>n[N]=Ie})})}else e.exposed||(e.exposed={});C&&e.render===Me&&(e.render=C),$!=null&&(e.inheritAttrs=$),Q&&(e.components=Q),X&&(e.directives=X)}function bi(e,t,n=Me){D(e)&&(e=Nn(e));for(const s in e){const l=e[s];let r;G(l)?"default"in l?r=qt(l.from||s,l.default,!0):r=qt(l.from||s):r=qt(l),ae(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Os(e,t,n){ve(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fr(e,t,n,s){const l=s.includes(".")?yr(n,s):()=>n[s];if(ie(e)){const r=t[e];K(r)&&Tn(l,r)}else if(K(e))Tn(l,e.bind(n));else if(G(e))if(D(e))e.forEach(r=>Fr(r,t,n,s));else{const r=K(e.handler)?e.handler.bind(n):t[e.handler];K(r)&&Tn(l,r,e)}}function ns(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:l,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,o=r.get(t);let f;return o?f=o:!l.length&&!n&&!s?f=t:(f={},l.length&&l.forEach(a=>en(f,a,i,!0)),en(f,t,i)),G(t)&&r.set(t,f),f}function en(e,t,n,s=!1){const{mixins:l,extends:r}=t;r&&en(e,r,n,!0),l&&l.forEach(i=>en(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const o=xi[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const xi={data:Rs,props:Ps,emits:Ps,methods:bt,computed:bt,beforeCreate:he,created:he,beforeMount:he,mounted:he,beforeUpdate:he,updated:he,beforeDestroy:he,beforeUnmount:he,destroyed:he,unmounted:he,activated:he,deactivated:he,errorCaptured:he,serverPrefetch:he,components:bt,directives:bt,watch:Ci,provide:Rs,inject:Ti};function Rs(e,t){return t?e?function(){return ue(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Ti(e,t){return bt(Nn(e),Nn(t))}function Nn(e){if(D(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function he(e,t){return e?[...new Set([].concat(e,t))]:t}function bt(e,t){return e?ue(Object.create(null),e,t):t}function Ps(e,t){return e?D(e)&&D(t)?[...new Set([...e,...t])]:ue(Object.create(null),As(e),As(t??{})):t}function Ci(e,t){if(!e)return t;if(!t)return e;const n=ue(Object.create(null),e);for(const s in t)n[s]=he(e[s],t[s]);return n}function Ar(){return{app:null,config:{isNativeTag:Vr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let wi=0;function Ei(e,t){return function(s,l=null){K(s)||(s=ue({},s)),l!=null&&!G(l)&&(l=null);const r=Ar(),i=new WeakSet;let o=!1;const f=r.app={_uid:wi++,_component:s,_props:l,_container:null,_context:r,_instance:null,version:zi,get config(){return r.config},set config(a){},use(a,...g){return i.has(a)||(a&&K(a.install)?(i.add(a),a.install(f,...g)):K(a)&&(i.add(a),a(f,...g))),f},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),f},component(a,g){return g?(r.components[a]=g,f):r.components[a]},directive(a,g){return g?(r.directives[a]=g,f):r.directives[a]},mount(a,g,d){if(!o){const _=ne(s,l);return _.appContext=r,g&&t?t(_,a):e(_,a,d),o=!0,f._container=a,a.__vue_app__=f,pn(_.component)||_.component.proxy}},unmount(){o&&(e(null,f._container),delete f._container.__vue_app__)},provide(a,g){return r.provides[a]=g,f},runWithContext(a){tn=f;try{return a()}finally{tn=null}}};return f}}let tn=null;function vi(e,t){if(le){let n=le.provides;const s=le.parent&&le.parent.provides;s===n&&(n=le.provides=Object.create(s)),n[e]=t}}function qt(e,t,n=!1){const s=le||oe;if(s||tn){const l=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:tn._context.provides;if(l&&e in l)return l[e];if(arguments.length>1)return n&&K(t)?t.call(s&&s.proxy):t}}function Fi(e,t,n,s=!1){const l={},r={};Zt(r,dn,1),e.propsDefaults=Object.create(null),Or(e,t,l,r);for(const i in e.propsOptions[0])i in l||(l[i]=void 0);n?e.props=s?l:Rl(l):e.type.props?e.props=l:e.props=r,e.attrs=r}function Ai(e,t,n,s){const{props:l,attrs:r,vnode:{patchFlag:i}}=e,o=Z(l),[f]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const g=e.vnode.dynamicProps;for(let d=0;d<g.length;d++){let _=g[d];if(an(e.emitsOptions,_))continue;const v=t[_];if(f)if(J(r,_))v!==r[_]&&(r[_]=v,a=!0);else{const O=je(_);l[O]=jn(f,o,O,v,e,!1)}else v!==r[_]&&(r[_]=v,a=!0)}}}else{Or(e,t,l,r)&&(a=!0);let g;for(const d in o)(!t||!J(t,d)&&((g=ln(d))===d||!J(t,g)))&&(f?n&&(n[d]!==void 0||n[g]!==void 0)&&(l[d]=jn(f,o,d,void 0,e,!0)):delete l[d]);if(r!==o)for(const d in r)(!t||!J(t,d))&&(delete r[d],a=!0)}a&&Ne(e,"set","$attrs")}function Or(e,t,n,s){const[l,r]=e.propsOptions;let i=!1,o;if(t)for(let f in t){if(xt(f))continue;const a=t[f];let g;l&&J(l,g=je(f))?!r||!r.includes(g)?n[g]=a:(o||(o={}))[g]=a:an(e.emitsOptions,f)||(!(f in s)||a!==s[f])&&(s[f]=a,i=!0)}if(r){const f=Z(n),a=o||te;for(let g=0;g<r.length;g++){const d=r[g];n[d]=jn(l,f,d,a[d],e,!J(a,d))}}return i}function jn(e,t,n,s,l,r){const i=e[n];if(i!=null){const o=J(i,"default");if(o&&s===void 0){const f=i.default;if(i.type!==Function&&!i.skipFactory&&K(f)){const{propsDefaults:a}=l;n in a?s=a[n]:(ht(l),s=a[n]=f.call(null,t),ze())}else s=f}i[0]&&(r&&!o?s=!1:i[1]&&(s===""||s===ln(n))&&(s=!0))}return s}function Rr(e,t,n=!1){const s=t.propsCache,l=s.get(e);if(l)return l;const r=e.props,i={},o=[];let f=!1;if(!K(e)){const g=d=>{f=!0;const[_,v]=Rr(d,t,!0);ue(i,_),v&&o.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(g),e.extends&&g(e.extends),e.mixins&&e.mixins.forEach(g)}if(!r&&!f)return G(e)&&s.set(e,st),st;if(D(r))for(let g=0;g<r.length;g++){const d=je(r[g]);Ms(d)&&(i[d]=te)}else if(r)for(const g in r){const d=je(g);if(Ms(d)){const _=r[g],v=i[d]=D(_)||K(_)?{type:_}:ue({},_);if(v){const O=ks(Boolean,v.type),R=ks(String,v.type);v[0]=O>-1,v[1]=R<0||O<R,(O>-1||J(v,"default"))&&o.push(d)}}}const a=[i,o];return G(e)&&s.set(e,a),a}function Ms(e){return e[0]!=="$"}function Is(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Bs(e,t){return Is(e)===Is(t)}function ks(e,t){return D(t)?t.findIndex(n=>Bs(n,e)):K(t)&&Bs(t,e)?0:-1}const Pr=e=>e[0]==="_"||e==="$stable",ss=e=>D(e)?e.map(Te):[Te(e)],Oi=(e,t,n)=>{if(t._n)return t;const s=ql((...l)=>ss(t(...l)),n);return s._c=!1,s},Mr=(e,t,n)=>{const s=e._ctx;for(const l in e){if(Pr(l))continue;const r=e[l];if(K(r))t[l]=Oi(l,r,s);else if(r!=null){const i=ss(r);t[l]=()=>i}}},Ir=(e,t)=>{const n=ss(t);e.slots.default=()=>n},Ri=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Z(t),Zt(t,"_",n)):Mr(t,e.slots={})}else e.slots={},t&&Ir(e,t);Zt(e.slots,dn,1)},Pi=(e,t,n)=>{const{vnode:s,slots:l}=e;let r=!0,i=te;if(s.shapeFlag&32){const o=t._;o?n&&o===1?r=!1:(ue(l,t),!n&&o===1&&delete l._):(r=!t.$stable,Mr(t,l)),i=t}else t&&(Ir(e,t),i={default:1});if(r)for(const o in l)!Pr(o)&&i[o]==null&&delete l[o]};function nn(e,t,n,s,l=!1){if(D(e)){e.forEach((_,v)=>nn(_,t&&(D(t)?t[v]:t),n,s,l));return}if(ct(s)&&!l)return;const r=s.shapeFlag&4?pn(s.component)||s.component.proxy:s.el,i=l?null:r,{i:o,r:f}=e,a=t&&t.r,g=o.refs===te?o.refs={}:o.refs,d=o.setupState;if(a!=null&&a!==f&&(ie(a)?(g[a]=null,J(d,a)&&(d[a]=null)):ae(a)&&(a.value=null)),K(f))We(f,o,12,[i,g]);else{const _=ie(f),v=ae(f);if(_||v){const O=()=>{if(e.f){const R=_?J(d,f)?d[f]:g[f]:f.value;l?D(R)&&Kn(R,r):D(R)?R.includes(r)||R.push(r):_?(g[f]=[r],J(d,f)&&(d[f]=g[f])):(f.value=[r],e.k&&(g[e.k]=f.value))}else _?(g[f]=i,J(d,f)&&(d[f]=i)):v&&(f.value=i,e.k&&(g[e.k]=i))};i?(O.id=-1,pe(O,n)):O()}}}let Ue=!1;const Dt=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Kt=e=>e.nodeType===8;function Mi(e){const{mt:t,p:n,o:{patchProp:s,createText:l,nextSibling:r,parentNode:i,remove:o,insert:f,createComment:a}}=e,g=(m,h)=>{if(!h.hasChildNodes()){n(null,m,h),zt(),h._vnode=m;return}Ue=!1,d(h.firstChild,m,null,null,null),zt(),h._vnode=m,Ue&&console.error("Hydration completed but contains mismatches.")},d=(m,h,C,k,B,E=!1)=>{const I=Kt(m)&&m.data==="[",P=()=>R(m,h,C,k,B,I),{type:$,ref:Q,shapeFlag:X,patchFlag:ce}=h;let se=m.nodeType;h.el=m,ce===-2&&(E=!1,h.dynamicChildren=null);let L=null;switch($){case ut:se!==3?h.children===""?(f(h.el=l(""),i(m),m),L=m):L=P():(m.data!==h.children&&(Ue=!0,m.data=h.children),L=r(m));break;case de:U(m)?(L=r(m),Y(h.el=m.content.firstChild,m,C)):se!==8||I?L=P():L=r(m);break;case St:if(I&&(m=r(m),se=m.nodeType),se===1||se===3){L=m;const S=!h.children.length;for(let N=0;N<h.staticCount;N++)S&&(h.children+=L.nodeType===1?L.outerHTML:L.data),N===h.staticCount-1&&(h.anchor=L),L=r(L);return I?r(L):L}else P();break;case ge:I?L=O(m,h,C,k,B,E):L=P();break;default:if(X&1)(se!==1||h.type.toLowerCase()!==m.tagName.toLowerCase())&&!U(m)?L=P():L=_(m,h,C,k,B,E);else if(X&6){h.slotScopeIds=B;const S=i(m);if(I?L=q(m):Kt(m)&&m.data==="teleport start"?L=q(m,m.data,"teleport end"):L=r(m),t(h,S,null,C,k,Dt(S),E),ct(h)){let N;I?(N=ne(ge),N.anchor=L?L.previousSibling:S.lastChild):N=m.nodeType===3?Kr(""):ne("div"),N.el=m,h.component.subTree=N}}else X&64?se!==8?L=P():L=h.type.hydrate(m,h,C,k,B,E,e,v):X&128&&(L=h.type.hydrate(m,h,C,k,Dt(i(m)),B,E,e,d))}return Q!=null&&nn(Q,null,k,h),L},_=(m,h,C,k,B,E)=>{E=E||!!h.dynamicChildren;const{type:I,props:P,patchFlag:$,shapeFlag:Q,dirs:X,transition:ce}=h,se=I==="input"||I==="option";if(se||$!==-1){X&&Oe(h,null,C,"created");let L=!1;if(U(m)){L=kr(k,ce)&&C&&C.vnode.props&&C.vnode.props.appear;const N=m.content.firstChild;L&&ce.beforeEnter(N),Y(N,m,C),h.el=m=N}if(P)if(se||!E||$&48)for(const N in P)(se&&(N.endsWith("value")||N==="indeterminate")||sn(N)&&!xt(N)||N[0]===".")&&s(m,N,null,P[N],!1,void 0,C);else P.onClick&&s(m,"onClick",null,P.onClick,!1,void 0,C);let S;if((S=P&&P.onVnodeBeforeMount)&&xe(S,C,h),X&&Oe(h,null,C,"beforeMount"),((S=P&&P.onVnodeMounted)||X||L)&&mr(()=>{S&&xe(S,C,h),L&&ce.enter(m),X&&Oe(h,null,C,"mounted")},k),Q&16&&!(P&&(P.innerHTML||P.textContent))){let N=v(m.firstChild,h,m,C,k,B,E);for(;N;){Ue=!0;const Ie=N;N=N.nextSibling,o(Ie)}}else Q&8&&m.textContent!==h.children&&(Ue=!0,m.textContent=h.children)}return m.nextSibling},v=(m,h,C,k,B,E,I)=>{I=I||!!h.dynamicChildren;const P=h.children,$=P.length;for(let Q=0;Q<$;Q++){const X=I?P[Q]:P[Q]=Te(P[Q]);if(m)m=d(m,X,k,B,E,I);else{if(X.type===ut&&!X.children)continue;Ue=!0,n(null,X,C,null,k,B,Dt(C),E)}}return m},O=(m,h,C,k,B,E)=>{const{slotScopeIds:I}=h;I&&(B=B?B.concat(I):I);const P=i(m),$=v(r(m),h,P,C,k,B,E);return $&&Kt($)&&$.data==="]"?r(h.anchor=$):(Ue=!0,f(h.anchor=a("]"),P,$),$)},R=(m,h,C,k,B,E)=>{if(Ue=!0,h.el=null,E){const $=q(m);for(;;){const Q=r(m);if(Q&&Q!==$)o(Q);else break}}const I=r(m),P=i(m);return o(m),n(null,h,P,I,C,k,Dt(P),B),I},q=(m,h="[",C="]")=>{let k=0;for(;m;)if(m=r(m),m&&Kt(m)&&(m.data===h&&k++,m.data===C)){if(k===0)return r(m);k--}return m},Y=(m,h,C)=>{const k=h.parentNode;k&&k.replaceChild(m,h);let B=C;for(;B;)B.vnode.el===h&&(B.vnode.el=B.subTree.el=m),B=B.parent},U=m=>m.nodeType===1&&m.tagName.toLowerCase()==="template";return[g,d]}const pe=mr;function vo(e){return Br(e)}function Fo(e){return Br(e,Mi)}function Br(e,t){const n=vn();n.__VUE__=!0;const{insert:s,remove:l,patchProp:r,createElement:i,createText:o,createComment:f,setText:a,setElementText:g,parentNode:d,nextSibling:_,setScopeId:v=Me,insertStaticContent:O}=e,R=(c,u,p,y=null,b=null,w=null,A=!1,T=null,F=!!u.dynamicChildren)=>{if(c===u)return;c&&!Pe(c,u)&&(y=It(c),Fe(c,b,w,!0),c=null),u.patchFlag===-2&&(F=!1,u.dynamicChildren=null);const{type:x,ref:j,shapeFlag:M}=u;switch(x){case ut:q(c,u,p,y);break;case de:Y(c,u,p,y);break;case St:c==null&&U(u,p,y,A);break;case ge:Q(c,u,p,y,b,w,A,T,F);break;default:M&1?C(c,u,p,y,b,w,A,T,F):M&6?X(c,u,p,y,b,w,A,T,F):(M&64||M&128)&&x.process(c,u,p,y,b,w,A,T,F,et)}j!=null&&b&&nn(j,c&&c.ref,w,u||c,!u)},q=(c,u,p,y)=>{if(c==null)s(u.el=o(u.children),p,y);else{const b=u.el=c.el;u.children!==c.children&&a(b,u.children)}},Y=(c,u,p,y)=>{c==null?s(u.el=f(u.children||""),p,y):u.el=c.el},U=(c,u,p,y)=>{[c.el,c.anchor]=O(c.children,u,p,y,c.el,c.anchor)},m=({el:c,anchor:u},p,y)=>{let b;for(;c&&c!==u;)b=_(c),s(c,p,y),c=b;s(u,p,y)},h=({el:c,anchor:u})=>{let p;for(;c&&c!==u;)p=_(c),l(c),c=p;l(u)},C=(c,u,p,y,b,w,A,T,F)=>{A=A||u.type==="svg",c==null?k(u,p,y,b,w,A,T,F):I(c,u,b,w,A,T,F)},k=(c,u,p,y,b,w,A,T)=>{let F,x;const{type:j,props:M,shapeFlag:H,transition:W,dirs:V}=c;if(F=c.el=i(c.type,w,M&&M.is,M),H&8?g(F,c.children):H&16&&E(c.children,F,null,y,b,w&&j!=="foreignObject",A,T),V&&Oe(c,null,y,"created"),B(F,c,c.scopeId,A,y),M){for(const z in M)z!=="value"&&!xt(z)&&r(F,z,null,M[z],w,c.children,y,b,Be);"value"in M&&r(F,"value",null,M.value),(x=M.onVnodeBeforeMount)&&xe(x,y,c)}V&&Oe(c,null,y,"beforeMount");const ee=kr(b,W);ee&&W.beforeEnter(F),s(F,u,p),((x=M&&M.onVnodeMounted)||ee||V)&&pe(()=>{x&&xe(x,y,c),ee&&W.enter(F),V&&Oe(c,null,y,"mounted")},b)},B=(c,u,p,y,b)=>{if(p&&v(c,p),y)for(let w=0;w<y.length;w++)v(c,y[w]);if(b){let w=b.subTree;if(u===w){const A=b.vnode;B(c,A,A.scopeId,A.slotScopeIds,b.parent)}}},E=(c,u,p,y,b,w,A,T,F=0)=>{for(let x=F;x<c.length;x++){const j=c[x]=T?Ke(c[x]):Te(c[x]);R(null,j,u,p,y,b,w,A,T)}},I=(c,u,p,y,b,w,A)=>{const T=u.el=c.el;let{patchFlag:F,dynamicChildren:x,dirs:j}=u;F|=c.patchFlag&16;const M=c.props||te,H=u.props||te;let W;p&&Je(p,!1),(W=H.onVnodeBeforeUpdate)&&xe(W,p,u,c),j&&Oe(u,c,p,"beforeUpdate"),p&&Je(p,!0);const V=b&&u.type!=="foreignObject";if(x?P(c.dynamicChildren,x,T,p,y,V,w):A||N(c,u,T,null,p,y,V,w,!1),F>0){if(F&16)$(T,u,M,H,p,y,b);else if(F&2&&M.class!==H.class&&r(T,"class",null,H.class,b),F&4&&r(T,"style",M.style,H.style,b),F&8){const ee=u.dynamicProps;for(let z=0;z<ee.length;z++){const re=ee[z],we=M[re],tt=H[re];(tt!==we||re==="value")&&r(T,re,we,tt,b,c.children,p,y,Be)}}F&1&&c.children!==u.children&&g(T,u.children)}else!A&&x==null&&$(T,u,M,H,p,y,b);((W=H.onVnodeUpdated)||j)&&pe(()=>{W&&xe(W,p,u,c),j&&Oe(u,c,p,"updated")},y)},P=(c,u,p,y,b,w,A)=>{for(let T=0;T<u.length;T++){const F=c[T],x=u[T],j=F.el&&(F.type===ge||!Pe(F,x)||F.shapeFlag&70)?d(F.el):p;R(F,x,j,null,y,b,w,A,!0)}},$=(c,u,p,y,b,w,A)=>{if(p!==y){if(p!==te)for(const T in p)!xt(T)&&!(T in y)&&r(c,T,p[T],null,A,u.children,b,w,Be);for(const T in y){if(xt(T))continue;const F=y[T],x=p[T];F!==x&&T!=="value"&&r(c,T,x,F,A,u.children,b,w,Be)}"value"in y&&r(c,"value",p.value,y.value)}},Q=(c,u,p,y,b,w,A,T,F)=>{const x=u.el=c?c.el:o(""),j=u.anchor=c?c.anchor:o("");let{patchFlag:M,dynamicChildren:H,slotScopeIds:W}=u;W&&(T=T?T.concat(W):W),c==null?(s(x,p,y),s(j,p,y),E(u.children,p,j,b,w,A,T,F)):M>0&&M&64&&H&&c.dynamicChildren?(P(c.dynamicChildren,H,p,b,w,A,T),(u.key!=null||b&&u===b.subTree)&&rs(c,u,!0)):N(c,u,p,j,b,w,A,T,F)},X=(c,u,p,y,b,w,A,T,F)=>{u.slotScopeIds=T,c==null?u.shapeFlag&512?b.ctx.activate(u,p,y,A,F):ce(u,p,y,b,w,A,F):se(c,u,F)},ce=(c,u,p,y,b,w,A)=>{const T=c.component=Ki(c,y,b);if(Pt(c)&&(T.ctx.renderer=et),Wi(T),T.asyncDep){if(b&&b.registerDep(T,L),!c.el){const F=T.subTree=ne(de);Y(null,F,u,p)}return}L(T,c,u,p,b,w,A)},se=(c,u,p)=>{const y=u.component=c.component;if(Jl(c,u,p))if(y.asyncDep&&!y.asyncResolved){S(y,u,p);return}else y.next=u,Kl(y.update),y.update();else u.el=c.el,y.vnode=u},L=(c,u,p,y,b,w,A)=>{const T=()=>{if(c.isMounted){let{next:j,bu:M,u:H,parent:W,vnode:V}=c,ee=j,z;Je(c,!1),j?(j.el=V.el,S(c,j,A)):j=V,M&&yn(M),(z=j.props&&j.props.onVnodeBeforeUpdate)&&xe(z,W,j,V),Je(c,!0);const re=xn(c),we=c.subTree;c.subTree=re,R(we,re,d(we.el),It(we),c,b,w),j.el=re.el,ee===null&&zn(c,re.el),H&&pe(H,b),(z=j.props&&j.props.onVnodeUpdated)&&pe(()=>xe(z,W,j,V),b)}else{let j;const{el:M,props:H}=u,{bm:W,m:V,parent:ee}=c,z=ct(u);if(Je(c,!1),W&&yn(W),!z&&(j=H&&H.onVnodeBeforeMount)&&xe(j,ee,u),Je(c,!0),M&&_n){const re=()=>{c.subTree=xn(c),_n(M,c.subTree,c,b,null)};z?u.type.__asyncLoader().then(()=>!c.isUnmounted&&re()):re()}else{const re=c.subTree=xn(c);R(null,re,p,y,c,b,w),u.el=re.el}if(V&&pe(V,b),!z&&(j=H&&H.onVnodeMounted)){const re=u;pe(()=>xe(j,ee,re),b)}(u.shapeFlag&256||ee&&ct(ee.vnode)&&ee.vnode.shapeFlag&256)&&c.a&&pe(c.a,b),c.isMounted=!0,u=p=y=null}},F=c.effect=new Sn(T,()=>un(x),c.scope),x=c.update=()=>F.run();x.id=c.uid,Je(c,!0),x()},S=(c,u,p)=>{u.component=c;const y=c.vnode.props;c.vnode=u,c.next=null,Ai(c,u.props,y,p),Pi(c,u.children,p),pt(),Cs(c),gt()},N=(c,u,p,y,b,w,A,T,F=!1)=>{const x=c&&c.children,j=c?c.shapeFlag:0,M=u.children,{patchFlag:H,shapeFlag:W}=u;if(H>0){if(H&128){Mt(x,M,p,y,b,w,A,T,F);return}else if(H&256){Ie(x,M,p,y,b,w,A,T,F);return}}W&8?(j&16&&Be(x,b,w),M!==x&&g(p,M)):j&16?W&16?Mt(x,M,p,y,b,w,A,T,F):Be(x,b,w,!0):(j&8&&g(p,""),W&16&&E(M,p,y,b,w,A,T,F))},Ie=(c,u,p,y,b,w,A,T,F)=>{c=c||st,u=u||st;const x=c.length,j=u.length,M=Math.min(x,j);let H;for(H=0;H<M;H++){const W=u[H]=F?Ke(u[H]):Te(u[H]);R(c[H],W,p,null,b,w,A,T,F)}x>j?Be(c,b,w,!0,!1,M):E(u,p,y,b,w,A,T,F,M)},Mt=(c,u,p,y,b,w,A,T,F)=>{let x=0;const j=u.length;let M=c.length-1,H=j-1;for(;x<=M&&x<=H;){const W=c[x],V=u[x]=F?Ke(u[x]):Te(u[x]);if(Pe(W,V))R(W,V,p,null,b,w,A,T,F);else break;x++}for(;x<=M&&x<=H;){const W=c[M],V=u[H]=F?Ke(u[H]):Te(u[H]);if(Pe(W,V))R(W,V,p,null,b,w,A,T,F);else break;M--,H--}if(x>M){if(x<=H){const W=H+1,V=W<j?u[W].el:y;for(;x<=H;)R(null,u[x]=F?Ke(u[x]):Te(u[x]),p,V,b,w,A,T,F),x++}}else if(x>H)for(;x<=M;)Fe(c[x],b,w,!0),x++;else{const W=x,V=x,ee=new Map;for(x=V;x<=H;x++){const me=u[x]=F?Ke(u[x]):Te(u[x]);me.key!=null&&ee.set(me.key,x)}let z,re=0;const we=H-V+1;let tt=!1,us=0;const mt=new Array(we);for(x=0;x<we;x++)mt[x]=0;for(x=W;x<=M;x++){const me=c[x];if(re>=we){Fe(me,b,w,!0);continue}let Ae;if(me.key!=null)Ae=ee.get(me.key);else for(z=V;z<=H;z++)if(mt[z-V]===0&&Pe(me,u[z])){Ae=z;break}Ae===void 0?Fe(me,b,w,!0):(mt[Ae-V]=x+1,Ae>=us?us=Ae:tt=!0,R(me,u[Ae],p,null,b,w,A,T,F),re++)}const as=tt?Ii(mt):st;for(z=as.length-1,x=we-1;x>=0;x--){const me=V+x,Ae=u[me],hs=me+1<j?u[me+1].el:y;mt[x]===0?R(null,Ae,p,hs,b,w,A,T,F):tt&&(z<0||x!==as[z]?Ye(Ae,p,hs,2):z--)}}},Ye=(c,u,p,y,b=null)=>{const{el:w,type:A,transition:T,children:F,shapeFlag:x}=c;if(x&6){Ye(c.component.subTree,u,p,y);return}if(x&128){c.suspense.move(u,p,y);return}if(x&64){A.move(c,u,p,et);return}if(A===ge){s(w,u,p);for(let M=0;M<F.length;M++)Ye(F[M],u,p,y);s(c.anchor,u,p);return}if(A===St){m(c,u,p);return}if(y!==2&&x&1&&T)if(y===0)T.beforeEnter(w),s(w,u,p),pe(()=>T.enter(w),b);else{const{leave:M,delayLeave:H,afterLeave:W}=T,V=()=>s(w,u,p),ee=()=>{M(w,()=>{V(),W&&W()})};H?H(w,V,ee):ee()}else s(w,u,p)},Fe=(c,u,p,y=!1,b=!1)=>{const{type:w,props:A,ref:T,children:F,dynamicChildren:x,shapeFlag:j,patchFlag:M,dirs:H}=c;if(T!=null&&nn(T,null,p,c,!0),j&256){u.ctx.deactivate(c);return}const W=j&1&&H,V=!ct(c);let ee;if(V&&(ee=A&&A.onVnodeBeforeUnmount)&&xe(ee,u,c),j&6)Sr(c.component,p,y);else{if(j&128){c.suspense.unmount(p,y);return}W&&Oe(c,null,u,"beforeUnmount"),j&64?c.type.remove(c,u,p,b,et,y):x&&(w!==ge||M>0&&M&64)?Be(x,u,p,!1,!0):(w===ge&&M&384||!b&&j&16)&&Be(F,u,p),y&&cs(c)}(V&&(ee=A&&A.onVnodeUnmounted)||W)&&pe(()=>{ee&&xe(ee,u,c),W&&Oe(c,null,u,"unmounted")},p)},cs=c=>{const{type:u,el:p,anchor:y,transition:b}=c;if(u===ge){qr(p,y);return}if(u===St){h(c);return}const w=()=>{l(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(c.shapeFlag&1&&b&&!b.persisted){const{leave:A,delayLeave:T}=b,F=()=>A(p,w);T?T(c.el,w,F):F()}else w()},qr=(c,u)=>{let p;for(;c!==u;)p=_(c),l(c),c=p;l(u)},Sr=(c,u,p)=>{const{bum:y,scope:b,update:w,subTree:A,um:T}=c;y&&yn(y),b.stop(),w&&(w.active=!1,Fe(A,c,u,p)),T&&pe(T,u),pe(()=>{c.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Be=(c,u,p,y=!1,b=!1,w=0)=>{for(let A=w;A<c.length;A++)Fe(c[A],u,p,y,b)},It=c=>c.shapeFlag&6?It(c.component.subTree):c.shapeFlag&128?c.suspense.next():_(c.anchor||c.el),fs=(c,u,p)=>{c==null?u._vnode&&Fe(u._vnode,null,null,!0):R(u._vnode||null,c,u,null,null,null,p),Cs(),zt(),u._vnode=c},et={p:R,um:Fe,m:Ye,r:cs,mt:ce,mc:E,pc:N,pbc:P,n:It,o:e};let gn,_n;return t&&([gn,_n]=t(et)),{render:fs,hydrate:gn,createApp:Ei(fs,gn)}}function Je({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function kr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rs(e,t,n=!1){const s=e.children,l=t.children;if(D(s)&&D(l))for(let r=0;r<s.length;r++){const i=s[r];let o=l[r];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=l[r]=Ke(l[r]),o.el=i.el),n||rs(i,o)),o.type===ut&&(o.el=i.el)}}function Ii(e){const t=e.slice(),n=[0];let s,l,r,i,o;const f=e.length;for(s=0;s<f;s++){const a=e[s];if(a!==0){if(l=n[n.length-1],e[l]<a){t[s]=l,n.push(s);continue}for(r=0,i=n.length-1;r<i;)o=r+i>>1,e[n[o]]<a?r=o+1:i=o;a<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}const Bi=e=>e.__isTeleport,Ct=e=>e&&(e.disabled||e.disabled===""),Ns=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Hn=(e,t)=>{const n=e&&e.to;return ie(n)?t?t(n):null:n},ki={name:"Teleport",__isTeleport:!0,process(e,t,n,s,l,r,i,o,f,a){const{mc:g,pc:d,pbc:_,o:{insert:v,querySelector:O,createText:R,createComment:q}}=a,Y=Ct(t.props);let{shapeFlag:U,children:m,dynamicChildren:h}=t;if(e==null){const C=t.el=R(""),k=t.anchor=R("");v(C,n,s),v(k,n,s);const B=t.target=Hn(t.props,O),E=t.targetAnchor=R("");B&&(v(E,B),i=i||Ns(B));const I=(P,$)=>{U&16&&g(m,P,$,l,r,i,o,f)};Y?I(n,k):B&&I(B,E)}else{t.el=e.el;const C=t.anchor=e.anchor,k=t.target=e.target,B=t.targetAnchor=e.targetAnchor,E=Ct(e.props),I=E?n:k,P=E?C:B;if(i=i||Ns(k),h?(_(e.dynamicChildren,h,I,l,r,i,o),rs(e,t,!0)):f||d(e,t,I,P,l,r,i,o,!1),Y)E?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):$t(t,n,C,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=Hn(t.props,O);$&&$t(t,$,null,a,0)}else E&&$t(t,k,B,a,1)}Nr(t)},remove(e,t,n,s,{um:l,o:{remove:r}},i){const{shapeFlag:o,children:f,anchor:a,targetAnchor:g,target:d,props:_}=e;if(d&&r(g),i&&r(a),o&16){const v=i||!Ct(_);for(let O=0;O<f.length;O++){const R=f[O];l(R,t,n,v,!!R.dynamicChildren)}}},move:$t,hydrate:Ni};function $t(e,t,n,{o:{insert:s},m:l},r=2){r===0&&s(e.targetAnchor,t,n);const{el:i,anchor:o,shapeFlag:f,children:a,props:g}=e,d=r===2;if(d&&s(i,t,n),(!d||Ct(g))&&f&16)for(let _=0;_<a.length;_++)l(a[_],t,n,2);d&&s(o,t,n)}function Ni(e,t,n,s,l,r,{o:{nextSibling:i,parentNode:o,querySelector:f}},a){const g=t.target=Hn(t.props,f);if(g){const d=g._lpa||g.firstChild;if(t.shapeFlag&16)if(Ct(t.props))t.anchor=a(i(e),t,o(e),n,s,l,r),t.targetAnchor=d;else{t.anchor=i(e);let _=d;for(;_;)if(_=i(_),_&&_.nodeType===8&&_.data==="teleport anchor"){t.targetAnchor=_,g._lpa=t.targetAnchor&&i(t.targetAnchor);break}a(d,t,g,n,s,l,r)}Nr(t)}return t.anchor&&i(t.anchor)}const Ao=ki;function Nr(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const ge=Symbol.for("v-fgt"),ut=Symbol.for("v-txt"),de=Symbol.for("v-cmt"),St=Symbol.for("v-stc"),wt=[];let Ce=null;function ls(e=!1){wt.push(Ce=e?null:[])}function jr(){wt.pop(),Ce=wt[wt.length-1]||null}let at=1;function js(e){at+=e}function Hr(e){return e.dynamicChildren=at>0?Ce||st:null,jr(),at>0&&Ce&&Ce.push(e),e}function Oo(e,t,n,s,l,r){return Hr(Dr(e,t,n,s,l,r,!0))}function Lr(e,t,n,s,l){return Hr(ne(e,t,n,s,l,!0))}function Ot(e){return e?e.__v_isVNode===!0:!1}function Pe(e,t){return e.type===t.type&&e.key===t.key}const dn="__vInternal",Ur=({key:e})=>e??null,Vt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||ae(e)||K(e)?{i:oe,r:e,k:t,f:!!n}:e:null);function Dr(e,t=null,n=null,s=0,l=null,r=e===ge?0:1,i=!1,o=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ur(t),ref:t&&Vt(t),scopeId:pr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:oe};return o?(is(f,n),r&128&&e.normalize(f)):n&&(f.shapeFlag|=ie(n)?8:16),at>0&&!i&&Ce&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&Ce.push(f),f}const ne=ji;function ji(e,t=null,n=null,s=0,l=null,r=!1){if((!e||e===gr)&&(e=de),Ot(e)){const o=Ve(e,t,!0);return n&&is(o,n),at>0&&!r&&Ce&&(o.shapeFlag&6?Ce[Ce.indexOf(e)]=o:Ce.push(o)),o.patchFlag|=-2,o}if(Ji(e)&&(e=e.__vccOpts),t){t=Hi(t);let{class:o,style:f}=t;o&&!ie(o)&&(t.class=cn(o)),G(f)&&(rr(f)&&!D(f)&&(f=ue({},f)),t.style=on(f))}const i=ie(e)?1:Zl(e)?128:Bi(e)?64:G(e)?4:K(e)?2:0;return Dr(e,t,n,s,l,i,r,!0)}function Hi(e){return e?rr(e)||dn in e?ue({},e):e:null}function Ve(e,t,n=!1){const{props:s,ref:l,patchFlag:r,children:i}=e,o=t?Li(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&Ur(o),ref:t&&t.ref?n&&l?D(l)?l.concat(Vt(t)):[l,Vt(t)]:Vt(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ve(e.ssContent),ssFallback:e.ssFallback&&Ve(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Kr(e=" ",t=0){return ne(ut,null,e,t)}function Ro(e="",t=!1){return t?(ls(),Lr(de,null,e)):ne(de,null,e)}function Te(e){return e==null||typeof e=="boolean"?ne(de):D(e)?ne(ge,null,e.slice()):typeof e=="object"?Ke(e):ne(ut,null,String(e))}function Ke(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ve(e)}function is(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&65){const l=t.default;l&&(l._c&&(l._d=!1),is(e,l()),l._c&&(l._d=!0));return}else{n=32;const l=t._;!l&&!(dn in t)?t._ctx=oe:l===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:oe},n=32):(t=String(t),s&64?(n=16,t=[Kr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Li(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const l in s)if(l==="class")t.class!==s.class&&(t.class=cn([t.class,s.class]));else if(l==="style")t.style=on([t.style,s.style]);else if(sn(l)){const r=t[l],i=s[l];i&&r!==i&&!(D(r)&&r.includes(i))&&(t[l]=r?[].concat(r,i):i)}else l!==""&&(t[l]=s[l])}return t}function xe(e,t,n,s=null){ve(e,t,7,[n,s])}const Ui=Ar();let Di=0;function Ki(e,t,n){const s=e.type,l=(t?t.appContext:e.appContext)||Ui,r={uid:Di++,vnode:e,type:s,parent:t,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,scope:new ll(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(l.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Rr(s,l),emitsOptions:dr(s,l),emit:null,emitted:null,propsDefaults:te,inheritAttrs:s.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=Wl.bind(null,r),e.ce&&e.ce(r),r}let le=null;const $i=()=>le||oe;let os,nt,Hs="__VUE_INSTANCE_SETTERS__";(nt=vn()[Hs])||(nt=vn()[Hs]=[]),nt.push(e=>le=e),os=e=>{nt.length>1?nt.forEach(t=>t(e)):nt[0](e)};const ht=e=>{os(e),e.scope.on()},ze=()=>{le&&le.scope.off(),os(null)};function $r(e){return e.vnode.shapeFlag&4}let dt=!1;function Wi(e,t=!1){dt=t;const{props:n,children:s}=e.vnode,l=$r(e);Fi(e,n,l,t),Ri(e,s);const r=l?qi(e,t):void 0;return dt=!1,r}function qi(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=lr(new Proxy(e.ctx,mi));const{setup:s}=n;if(s){const l=e.setupContext=s.length>1?Vi(e):null;ht(e),pt();const r=We(s,e,0,[e.props,l]);if(gt(),ze(),$s(r)){if(r.then(ze,ze),t)return r.then(i=>{Ln(e,i,t)}).catch(i=>{_t(i,e,0)});e.asyncDep=r}else Ln(e,r,t)}else Wr(e,t)}function Ln(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=fr(t)),Wr(e,n)}let Ls;function Wr(e,t,n){const s=e.type;if(!e.render){if(!t&&Ls&&!s.render){const l=s.template||ns(e).template;if(l){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:f}=s,a=ue(ue({isCustomElement:r,delimiters:o},i),f);s.render=Ls(l,a)}}e.render=s.render||Me}{ht(e),pt();try{yi(e)}finally{gt(),ze()}}}function Si(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return _e(e,"get","$attrs"),t[n]}}))}function Vi(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Si(e)},slots:e.slots,emit:e.emit,expose:t}}function pn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(fr(lr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Tt)return Tt[n](e)},has(t,n){return n in t||n in Tt}}))}function Yi(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Ji(e){return K(e)&&"__vccOpts"in e}const Zi=(e,t)=>Hl(e,t,dt);function Po(e,t,n){const s=arguments.length;return s===2?G(t)&&!D(t)?Ot(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ot(n)&&(n=[n]),ne(e,t,n))}const Qi=Symbol.for("v-scx"),Xi=()=>qt(Qi),zi="3.3.13";var Us={};let Yt,Jt;typeof window=="object"&&window?Jt=Yt=window:typeof process=="object"&&Us?(Jt=global,Yt=Us):Jt=Yt=typeof self=="object"&&self||{};const Gi="en_us",eo="USD",to="$",no="US",so=1011,ro="5b1abe30a4d4531b8fe40725",lo=e=>{if(typeof document=="object"&&document){const t=document.getElementsByTagName("meta");for(let n=0;n<t.length;n++)if(t[n].getAttribute("name")===e.replace(/_/g,"-")){const s=t[n].getAttribute("content");return e==="ecom_store_id"?parseInt(s,10):s}}return Yt[e.toUpperCase()]},Un={};["lang","currency","currency_symbol","country_code","store_id","store_object_id"].forEach(e=>{Un[e]=lo("ecom_"+e)});const io={get(e){const t=Un[e];if(t!=null&&t!=="")return t;switch(e){case"lang":return Gi;case"currency":return eo;case"currency_symbol":return to;case"country_code":return no;case"store_id":return so;case"store_object_id":return ro}return null},set(e,t){Un[e]=t}};Jt.$ecomConfig;export{_o as $,sn as A,xo as B,Ds as C,Gi as D,ln as E,je as F,Wn as G,co as H,fo as I,ve as J,Rl as K,go as L,ls as M,Oo as N,uo as O,Ro as P,Dr as Q,Kr as R,cn as S,ne as T,ql as U,bo as V,ge as W,Co as X,Eo as Y,Lr as Z,io as _,Wt as a,Li as a0,oo as a1,Hi as a2,qt as a3,vi as a4,po as a5,js as a6,on as a7,Er as a8,yo as a9,Z as aa,wr as ab,mo as ac,Ao as ad,To as ae,Ve as af,wo as ag,sr as b,Zi as c,ii as d,ao as e,$i as f,ol as g,ie as h,K as i,vo as j,Fo as k,Xr as l,D as m,Ul as n,Cr as o,yn as p,Ss as q,Jn as r,ho as s,Po as t,Ml as u,ue as v,Tn as w,ri as x,G as y,zr as z};
@@ -1 +0,0 @@
1
- import{_ as t}from"./ecom-utils.Ld2zf-Ve.js";import{g as c}from"./price.Easct8WC.js";const s=(r,o=t.get("currency"),e=t.get("lang"))=>{if(typeof r=="object"?r!==null&&(r=c(r)):typeof r=="string"&&(r=parseFloat(r)),o)try{return r.toLocaleString(e.replace("_","-"),{style:"currency",currency:o})}catch(f){console.error(f)}const n=(o||t.get("currency_symbol"))+" ";return typeof r=="number"?n+r:""},g=s;export{g as f};
@@ -1 +0,0 @@
1
- import{_ as g}from"./ecom-utils.Ld2zf-Ve.js";import{g as a}from"./name.49dZlpDx.js";const s=(t,e,i=g.get("lang"))=>{let r;return Array.isArray(e)?r=e.find(o=>o.grid_id===t):console.error("`grids` must be array to get grid title"),r?a(r,i):t},m=s;export{m as g};
@@ -1 +0,0 @@
1
- import{u as C,w as V,a as I,e as Y,b as $,t as v}from"./use-analytics.Y7amTmnr.js";import{a as H}from"./afetch.5c8VmT0-.js";import{u as R}from"./index.TkCbiY_p.js";import"./customer-session.KkTHFOXl.js";import"./sf-utils.yjuG8NjM.js";import"./ecom-utils.Ld2zf-Ve.js";import"./shopping-cart.Ean2uW2R.js";import"./price.Easct8WC.js";import"./name.49dZlpDx.js";import"./i18n.3-NUtxYq.js";const p={waiting:Promise.resolve(),params:{content_ids:[],content_name:""}},A=(t,e="BRL",n=!1)=>{const a={currency:e,content_category:t.item_category,content_name:t.item_name,value:t.price,content_type:"product"};return n?(a.contents=[{id:t.item_id,quantity:t.quantity}],Number(t.quantity)<0&&(a.value=0)):a.content_ids=[t.item_id],a},W=async({event:t})=>{if(t.name==="page_view")return p.waiting=new Promise(a=>{setTimeout(a,110)}),p.params.content_name=t.params.page_title,[{name:"PageView"}];const{items:e,currency:n}=t.params;if(t.name==="view_item"&&e){const a=e[0];if(a)return a.item_list_id==="product-page"?[{name:"ViewContent",params:A(a,n)}]:(e.forEach(({item_id:i})=>{p.params.content_ids.push(i)}),p.params.content_ids.length>e.length?[{name:null}]:(await p.waiting,[{name:"ViewContent",params:{...p.params,content_type:"product"}}]))}if((t.name==="add_to_cart"||t.name==="remove_from_cart")&&e){const a=t.name==="add_to_cart";return e.map(i=>({name:"AddToCart",params:A({...i,quantity:a?i.quantity||1:-(i.quantity||1)},n,!0)}))}return[{name:null}]},h={waiting:Promise.resolve(),params:{description:"",contents:[]}},w=(t,e=!1)=>{const n={content_id:t.item_id,content_name:t.item_name,price:t.price,content_category:t.item_category,brand:t.item_brand};return e&&(n.quantity=t.quantity),n},D=async({event:t})=>{if(t.name==="page_view")return h.waiting=new Promise(a=>{setTimeout(a,110)}),h.params.description=t.params.page_title,[{name:"PageView"}];const{items:e,currency:n}=t.params;if(t.name==="view_item"&&e){const a=e[0];if(a)return a.item_list_id==="product-page"?[{name:"ViewContent",params:{contents:[w(a)],content_type:"product",currency:n,value:a.price}}]:(e.forEach(i=>{h.params.contents.push(w(i))}),h.params.contents.length>e.length?[{name:null}]:(await h.waiting,[{name:"ViewContent",params:{...h.params,content_type:"product",currency:n}}]))}if((t.name==="add_to_cart"||t.name==="remove_from_cart")&&e){const a=t.name==="add_to_cart";return e.map(i=>{const l=i.quantity||1,{price:d}=i;return{name:"AddToCart",params:{contents:[w({...i,quantity:a?l:-l},!0)],content_type:"product",currency:n,value:a&&typeof d=="number"?l*d:0}}})}return[{name:null}]};let b=[];const F=R(()=>{H("/_analytics",{method:"post",body:{...I(),events:b}}),b=[]},200),_=t=>{b.push(t),F()};{C(),V(async n=>{const{name:a,params:i}=n.event;_({type:"gtag",name:a,params:i});const{gtag:l,dataLayer:d,fbq:s,ttq:c}=window;typeof l=="function"&&l("event",a,i),d&&typeof d.push=="function"&&d.push(["event",a,i]),(await W(n)).forEach(o=>{o.name&&(_({type:"fbq",...o}),typeof s=="function"&&s("track",o.name,o.params))}),(await D(n)).forEach(o=>{o.name&&(_({type:"ttk",...o}),typeof c?.page=="function"&&(o.name==="PageView"?c.page():c.track(o.name,o.params)))})});let t="";const e=()=>{const n=window.location.toString();n!==t&&(Y("page_view",{...$(),page_location:n,client_id:v.g_client_id||v.client_id}),t=n)};e(),window.addEventListener("storefront:apiContext",()=>{try{window.dataLayer.push(function(){this.reset(),e()})}catch{e()}})}const y=t=>history.replaceState(t,""),k=!!document.startViewTransition,g=()=>!!document.querySelector('[name="astro-view-transitions-enabled"]'),q=t=>document.dispatchEvent(new Event(t)),P=()=>q("astro:load"),f="data-astro-transition-persist";let m=history.state?.index||0;!history.state&&g()&&y({index:m,scrollY:0});const G=(t,e)=>{let n=!1,a=!1;return(...i)=>{if(n){a=!0;return}t(...i),n=!0,setTimeout(()=>{a&&(a=!1,t(...i)),n=!1},e)}};async function M(t){const e=await fetch(t),n=await e.text();return{ok:e.ok,html:n}}function x(){const t=document.querySelector('[name="astro-view-transitions-fallback"]');return t?t.getAttribute("content"):"animate"}function L(){for(const t of document.scripts)t.dataset.astroExec=""}function K(){let t=Promise.resolve();for(const e of Array.from(document.scripts)){if(e.dataset.astroExec==="")continue;const n=document.createElement("script");n.innerHTML=e.innerHTML;for(const a of e.attributes){if(a.name==="src"){const i=new Promise(l=>{n.onload=l});t=t.then(()=>i)}n.setAttribute(a.name,a.value)}n.dataset.astroExec="",e.replaceWith(n)}return t}const B=new DOMParser;async function T(t,e,n){const a=B.parseFromString(t,"text/html"),i=s=>{const c=s.getAttribute(f),u=c&&a.head.querySelector(`[${f}="${c}"]`);if(u)return u;if(s.matches("link[rel=stylesheet]")){const r=s.getAttribute("href");return a.head.querySelector(`link[rel=stylesheet][href="${r}"]`)}if(s.tagName==="SCRIPT"){let r=s;for(const o of a.scripts)if(r.textContent&&r.textContent===o.textContent||r.type===o.type&&r.src&&r.src===o.src)return o}return null},l=()=>{a.querySelectorAll("head noscript").forEach(r=>r.remove());const s=document.documentElement,c=[...s.attributes].filter(({name:r})=>(s.removeAttribute(r),r.startsWith("data-astro-")));[...a.documentElement.attributes,...c].forEach(({name:r,value:o})=>s.setAttribute(r,o));for(const r of Array.from(document.head.children)){const o=i(r);o?o.remove():r.remove()}document.head.append(...a.head.children);const u=document.body;document.body.replaceWith(a.body);for(const r of u.querySelectorAll(`[${f}]`)){const o=r.getAttribute(f),E=document.querySelector(`[${f}="${o}"]`);E&&E.replaceWith(r)}if(scrollTo({left:0,top:0,behavior:"instant"}),e?.scrollY===0&&location.hash){const r=decodeURIComponent(location.hash.slice(1)),o=document.getElementById(r);o&&(e.scrollY=o.offsetTop,y(e),o.scrollIntoView())}else e&&e.scrollY!==0&&scrollTo(0,e.scrollY);q("astro:beforeload")},d=[];for(const s of a.querySelectorAll("head link[rel=stylesheet]"))if(!document.querySelector(`[${f}="${s.getAttribute(f)}"], link[rel=stylesheet]`)){const c=document.createElement("link");c.setAttribute("rel","preload"),c.setAttribute("as","style"),c.setAttribute("href",s.getAttribute("href")),d.push(new Promise(u=>{["load","error"].forEach(r=>c.addEventListener(r,u)),document.head.append(c)}))}if(d.length&&await Promise.all(d),n==="animate"){let s=!1;addEventListener("animationstart",()=>s=!0,{once:!0}),document.documentElement.dataset.astroTransitionFallback="old",await new Promise(c=>{const u=()=>{removeEventListener("animationend",u),clearTimeout(r),l(),c(!0),document.documentElement.dataset.astroTransitionFallback="new"};addEventListener("animationend",u,{once:!0});let r=setTimeout(()=>!s&&u())})}else l()}async function S(t,e,n){let a;const{html:i,ok:l}=await M(e);if(!l){location.href=e;return}document.documentElement.dataset.astroTransition=t,k?a=document.startViewTransition(()=>T(i,n)).finished:a=T(i,n,x());try{await a}finally{await K(),L(),P()}}function N(t){if(document.querySelector(`link[rel=prefetch][href="${t}"]`))return;if(navigator.connection){let n=navigator.connection;if(n.saveData||/(2|3)g/.test(n.effectiveType||""))return}let e=document.createElement("link");e.setAttribute("rel","prefetch"),e.setAttribute("href",t),document.head.append(e)}(k||x()!=="none")&&!location.pathname.startsWith("/app/")&&(L(),document.addEventListener("click",t=>{let e=t.target;if(e instanceof Element&&e.tagName!=="A"&&(e=e.closest("a")),!e||!(e instanceof HTMLAnchorElement)||e.dataset.astroReload!==void 0||e.hasAttribute("download")||!e.href||e.pathname.startsWith("/app/")||e.target&&e.target!=="_self"||e.origin!==location.origin||t.button!==0||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey||t.defaultPrevented||!g())return;if(location.pathname===e.pathname&&location.search===e.search){if(e.hash)return;if(t.preventDefault(),y({...history.state,scrollY}),scrollTo({left:0,top:0,behavior:"instant"}),location.hash){const a={index:++m,scrollY:0};history.pushState(a,"",e.href)}return}t.preventDefault(),S("forward",e.href,{index:++m,scrollY:0});const n={index:m,scrollY};y({index:m-1,scrollY}),history.pushState(n,"",e.href)}),addEventListener("popstate",t=>{if(!g()&&t.state){location.reload();return}if(t.state===null)return;const e=history.state,n=e?.index??m+1,a=n>m?"forward":"back";S(a,location.href,e),m=n}),["mouseenter","touchstart","focus"].forEach(t=>{document.addEventListener(t,e=>{if(e.target instanceof HTMLAnchorElement){let n=e.target;n.origin===location.origin&&n.pathname!==location.pathname&&!n.pathname.startsWith("/app/")&&n.dataset.astroReload===void 0&&!n.hasAttribute("download")&&n.role!=="button"&&g()&&N(n.pathname)}},{passive:!0,capture:!0})}),addEventListener("load",P),addEventListener("scroll",G(()=>{history.state&&y({...history.state,scrollY})},300),{passive:!0}));
@@ -1 +0,0 @@
1
- import{i as E,s as b,c as p,a as N}from"./customer-session.KkTHFOXl.js";import{s as w}from"./shopping-cart.Ean2uW2R.js";import{g as v,e as I}from"./use-analytics.Y7amTmnr.js";import{u as O}from"./afetch.5c8VmT0-.js";import{w as T}from"./ecom-utils.Ld2zf-Ve.js";import"./hoisted.3ec9NcvP.js";import"./sf-utils.yjuG8NjM.js";import"./index.TkCbiY_p.js";import"./price.Easct8WC.js";import"./name.49dZlpDx.js";import"./i18n.3-NUtxYq.js";const R=o=>{let a="";if(typeof o=="object"&&o!==null){let i=Array.isArray(o.phones)?o.phones[0]:o;i&&i.number&&(i.country_code&&(a=`+${i.country_code} `),a+=i.number)}return a},k=R,M=()=>{const o=window.storefrontApp?.router;if(o){const a=()=>sessionStorage.getItem("st_discount_coupon")||void 0,i=s=>Math.round(s*100)/100,h=[],r=(s,t)=>{h.includes(s)||(h.push(s),t||(t={value:i(w.subtotal||0),items:w.items.map(v)}),s!=="view_cart"&&(t.coupon=a(),h.includes("begin_checkout")||r("begin_checkout")),I(s,t))};let g=!1;const m=(s,t)=>{if(!g){if(localStorage.getItem("gtag.orderIdSent")!==s){let _;if(t)try{_=JSON.parse(t)}catch{}const{amount:l}=_||window.storefrontApp,S={transaction_id:s,value:i(l?.total||w.subtotal||0),items:w.items.map(v),coupon:_?_.extra_discount?.discount_coupon:a()};l&&(l.freight!==void 0&&(S.shipping=i(l.freight)),l.tax!==void 0&&(S.tax=i(l.tax)));let A=1;const{dataLayer:y,__sendGTMExtraPurchaseData:P}=window;if(y&&P){const n={};let e;if(p){n.customerDisplayName=N.value;let c=p.value.name;if(!c?.given_name)try{const f=sessionStorage.getItem("ecomCustomerAccount");if(f){const C=JSON.parse(f);typeof C=="object"&&C&&(c=C.name)}}catch{}c&&(n.customerGivenName=c.given_name,n.customerFamilyName=c.family_name),n.customerEmail=p.value.main_email,n.customerPhone=k(p.value),e=p.value.addresses?.[0]}try{const c=sessionStorage.getItem("ecomCustomerAddress");if(c){const f=JSON.parse(c);typeof e=="object"&&e?Object.assign(e,f):e=f}}catch{}e&&e.zip&&(n.shippingAddrZip=e.zip,n.shippingAddrStreet=e.street,n.shippingAddrNumber=e.number,e.street&&e.number&&(n.shippingAddrStreet+=`, ${e.number}`),n.shippingAddrCity=e.city,n.shippingAddrProvinceCode=e.province_code),y.push({event:"purchaseExtraData",...n}),A=100}setTimeout(()=>I("purchase",S),A),localStorage.setItem("gtag.orderIdSent",s)}g=!0}};let u;const d=({name:s,params:t})=>{switch(s){case"cart":r("view_cart");break;case"checkout":t.step?Number(t.step)===1?r("add_shipping_info"):Number(t.step)===2&&r("add_payment_info"):r("begin_checkout");break;case"confirmation":clearTimeout(u),t.json?m(t.id,decodeURIComponent(t.json)):u=setTimeout(()=>{m(t.id)},1500);break}};o.currentRoute&&d(o.currentRoute),o.afterEach(d)}};{Object.keys(O).length&&sessionStorage.setItem("ecomUtm",JSON.stringify(O));let o=window.location.search;!o&&window.location.hash&&(o="?"+window.location.hash.split("?")[1]);const a=new URLSearchParams(o);a.get("product_id")&&a.get("quantity")==="1"&&(localStorage.setItem("ecomShoppingCart__tmp",JSON.stringify({items:[{product_id:a.get("product_id"),variation_id:a.get("variation_id")||void 0,quantity:1}]})),window.ECOM_CART_STORAGE_KEY="ecomShoppingCart__tmp");const{hostname:i}=window.location,{domain:h}=globalThis.$storefront.settings,r=`https://ecomplus.io/v2/:${window.ECOM_STORE_ID}/`;window.ECOMCLIENT_API_STORE=r,window.ECOMCLIENT_API_STORE_CACHE=r,window.ECOMCLIENT_API_PASSPORT=r,window.ECOMCLIENT_API_SEARCH=`${r}/search/_els/`,window.ECOMCLIENT_API_MODULES=["localhost","127.0.0.1"].includes(i)?`https://${h}/_api/modules/`:"/_api/modules/";const g=()=>{const{ecomPassport:u}=window;T(E,async()=>{E.value?u.setSession({auth:{...b.auth,id:b.auth?.customer_id,level:3},customer:p.value}):u.checkLogin()&&u.logout()},{immediate:!0}),T(p,d=>{(d.display_name||d.main_email)&&u.setCustomer(d)},{immediate:!0}),setTimeout(M,400)},m=document.createElement("script");m.src="https://cdn.jsdelivr.net/npm/@ecomplus/storefront-app@2.0.0-beta.190/dist/lib/js/app.js",m.onload=g,document.body.appendChild(m)}
@@ -1 +0,0 @@
1
- import{D as n,_ as o}from"./ecom-utils.Ld2zf-Ve.js";const t=(e,f=o.get("lang"))=>{if(typeof e=="object"&&e!==null){const p=Object.keys(e)[0];if(/^[a-z]{2}(_[a-z]{2})?$/.test(p))return e[f]||e[n]||e[p];{const r=Array.isArray(e)?[]:{};for(const s in e)e[s]!==void 0&&(r[s]=t(e[s],f));return r}}return e},u=t;export{u as i};
@@ -1 +0,0 @@
1
- import{_ as n}from"./ecom-utils.Ld2zf-Ve.js";const m=(l,f,o)=>{if(o||(o=n.get("default_img_size")||"normal"),l){let{pictures:a,picture:e}=l;e||a||(Array.isArray(l)?a=l:e=l),Array.isArray(a)&&(e=f&&a.filter(r=>r._id===f)[0]||a[0]);let s;if(typeof e=="object"&&e!==null){if(s=e[o],s&&s.url)return s;let r;switch(o){case"small":r=["normal","big"];break;case"normal":r=["big","zoom","small"];break;case"big":r=["zoom","normal"];break;case"zoom":r=["big"];break;default:r=["big","zoom","normal","small"]}for(let i=0;i<r.length;i++){const t=r[i];if(e[t]&&e[t].url)return e[t]}for(const i in e)if(e[i]&&e[i].url)return e[i]}}},b=m;export{b as g};
@@ -1 +0,0 @@
1
- import{w as g,n as T,u as D,a as y,b as F,c as A,o as C,g as W,e as k,f as I}from"./ecom-utils.Ld2zf-Ve.js";function M(e){return W()?(k(e),!0):!1}function B(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let o=0;return{next:()=>({value:t[o++],done:o>t.length})}}}),n}else return Object.assign([...t],e)}function m(e){return typeof e=="function"?e():D(e)}const O=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const _=Object.prototype.toString,H=e=>_.call(e)==="[object Object]",l=()=>{},J=R();function R(){var e,t;return O&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function v(e,t){function n(...o){return new Promise((i,r)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(i).catch(r)})}return n}const P=e=>e();function x(e,t={}){let n,o,i=l;const r=u=>{clearTimeout(u),i(),i=l};return u=>{const s=m(e),c=m(t.maxWait);return n&&r(n),s<=0||c!==void 0&&c<=0?(o&&(r(o),o=null),Promise.resolve(u())):new Promise((f,p)=>{i=t.rejectOnCancel?p:f,c&&!o&&(o=setTimeout(()=>{n&&r(n),o=null,f(u())},c)),n=setTimeout(()=>{o&&r(o),o=null,f(u())},s)})}}function z(e,t=!0,n=!0,o=!1){let i=0,r,a=!0,u=l,s;const c=()=>{r&&(clearTimeout(r),r=void 0,u(),u=l)};return p=>{const d=m(e),h=Date.now()-i,w=()=>s=p();return c(),d<=0?(i=Date.now(),w()):(h>d&&(n||!a)?(i=Date.now(),w()):t&&(s=new Promise((b,j)=>{u=o?j:b,r=setTimeout(()=>{i=Date.now(),a=!0,b(w()),c()},Math.max(0,d-h))})),!n&&!r&&(r=setTimeout(()=>a=!0,d)),a=!1,s)}}function E(e=P){const t=y(!0);function n(){t.value=!1}function o(){t.value=!0}const i=(...r)=>{t.value&&e(...r)};return{isActive:F(t),pause:n,resume:o,eventFilter:i}}function G(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const L=/-(\w)/g,K=G(e=>e.replace(L,(t,n)=>n?n.toUpperCase():""));function N(e,t=!1,n="Timeout"){return new Promise((o,i)=>{setTimeout(t?()=>i(n):o,e)})}function V(e){return e||I()}function Q(e,t=200,n={}){return v(x(t,n),e)}function X(e,t=200,n=!1,o=!0,i=!1){return v(z(t,n,o,i),e)}function S(e,t,n={}){const{eventFilter:o=P,...i}=n;return g(e,v(o,t),i)}function Y(e,t,n={}){const{eventFilter:o,...i}=n,{eventFilter:r,pause:a,resume:u,isActive:s}=E(o);return{stop:S(e,t,{...i,eventFilter:r}),pause:a,resume:u,isActive:s}}function Z(e,t=!0,n){const o=V(n);o?C(e,o):t?e():T(e)}function U(e,t,n={}){const{immediate:o=!0}=n,i=y(!1);let r=null;function a(){r&&(clearTimeout(r),r=null)}function u(){i.value=!1,a()}function s(...c){a(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=null,e(...c)},m(t))}return o&&(i.value=!0,O&&s()),M(u),{isPending:F(i),start:s,stop:u}}function $(e=1e3,t={}){const{controls:n=!1,callback:o}=t,i=U(o??l,e,t),r=A(()=>!i.isPending.value);return n?{ready:r,...i}:r}function ee(e,t,n={}){const{debounce:o=0,maxWait:i=void 0,...r}=n;return S(e,t,{...r,eventFilter:x(o,{maxWait:i})})}function te(e,t,n){const o=g(e,(...i)=>(T(()=>o()),t(...i)),n);return o}export{H as a,X as b,K as c,Z as d,J as e,M as f,te as g,ee as h,O as i,$ as j,B as m,l as n,N as p,m as t,Q as u,Y as w};
@@ -1 +0,0 @@
1
- import{m as N,w as X,i as q,n as k,a as z,t as _,c as B,u as Q,b as Y,d as G,e as J,f as Z}from"./index.TkCbiY_p.js";import{s as ee,r as D,w as te,d as W,a as C,c as j}from"./ecom-utils.Ld2zf-Ve.js";function re(t={}){const{inheritAttrs:u=!0}=t,o=ee(),r=W({setup(p,{slots:e}){return()=>{o.value=e.default}}}),b=W({inheritAttrs:u,setup(p,{attrs:e,slots:i}){return()=>{var v;o.value;const f=(v=o.value)==null?void 0:v.call(o,{...oe(e),$slots:i});return u&&f?.length===1?f[0]:f}}});return N({define:r,reuse:b},[r,b])}function oe(t){const u={};for(const o in t)u[B(o)]=t[o];return u}function P(t){var u;const o=_(t);return(u=o?.$el)!=null?u:o}const R=q?window:void 0;function A(...t){let u,o,r,b;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,r,b]=t,u=R):[u,o,r,b]=t,!u)return k;Array.isArray(o)||(o=[o]),Array.isArray(r)||(r=[r]);const p=[],e=()=>{p.forEach(h=>h()),p.length=0},i=(h,y,n,c)=>(h.addEventListener(y,n,c),()=>h.removeEventListener(y,n,c)),v=te(()=>[P(u),_(b)],([h,y])=>{if(e(),!h)return;const n=z(y)?{...y}:y;p.push(...o.flatMap(c=>r.map(m=>i(h,c,m,n))))},{immediate:!0,flush:"post"}),f=()=>{v(),e()};return Z(f),f}let U=!1;function le(t,u,o={}){const{window:r=R,ignore:b=[],capture:p=!0,detectIframe:e=!1}=o;if(!r)return;J&&!U&&(U=!0,Array.from(r.document.body.children).forEach(n=>n.addEventListener("click",k)),r.document.documentElement.addEventListener("click",k));let i=!0;const v=n=>b.some(c=>{if(typeof c=="string")return Array.from(r.document.querySelectorAll(c)).some(m=>m===n.target||n.composedPath().includes(m));{const m=P(c);return m&&(n.target===m||n.composedPath().includes(m))}}),h=[A(r,"click",n=>{const c=P(t);if(!(!c||c===n.target||n.composedPath().includes(c))){if(n.detail===0&&(i=!v(n)),!i){i=!0;return}u(n)}},{passive:!0,capture:p}),A(r,"pointerdown",n=>{const c=P(t);i=!v(n)&&!!(c&&!n.composedPath().includes(c))},{passive:!0}),e&&A(r,"blur",n=>{setTimeout(()=>{var c;const m=P(t);((c=r.document.activeElement)==null?void 0:c.tagName)==="IFRAME"&&!m?.contains(r.document.activeElement)&&u(n)},0)})].filter(Boolean);return()=>h.forEach(n=>n())}function ae(t,u={}){const{delayEnter:o=0,delayLeave:r=0,window:b=R}=u,p=C(!1);let e;const i=v=>{const f=v?o:r;e&&(clearTimeout(e),e=void 0),f?e=setTimeout(()=>p.value=v,f):p.value=v};return b&&(A(t,"mouseenter",()=>i(!0),{passive:!0}),A(t,"mouseleave",()=>i(!1),{passive:!0})),p}const K=1;function ie(t,u={}){const{throttle:o=0,idle:r=200,onStop:b=k,onScroll:p=k,offset:e={left:0,right:0,top:0,bottom:0},eventListenerOptions:i={capture:!1,passive:!0},behavior:v="auto",window:f=R}=u,h=C(0),y=C(0),n=j({get(){return h.value},set(a){m(a,void 0)}}),c=j({get(){return y.value},set(a){m(void 0,a)}});function m(a,L){var E,$,x;if(!f)return;const S=_(t);S&&((x=S instanceof Document?f.document.body:S)==null||x.scrollTo({top:(E=_(L))!=null?E:c.value,left:($=_(a))!=null?$:n.value,behavior:_(v)}))}const T=C(!1),w=D({left:!0,right:!1,top:!0,bottom:!1}),s=D({left:!1,right:!1,top:!1,bottom:!1}),l=a=>{T.value&&(T.value=!1,s.left=!1,s.right=!1,s.top=!1,s.bottom=!1,b(a))},d=Q(l,o+r),g=a=>{var L;if(!f)return;const E=a.document?a.document.documentElement:(L=a.documentElement)!=null?L:a,{display:$,flexDirection:x}=getComputedStyle(E),S=E.scrollLeft;s.left=S<h.value,s.right=S>h.value;const M=Math.abs(S)<=0+(e.left||0),F=Math.abs(S)+E.clientWidth>=E.scrollWidth-(e.right||0)-K;$==="flex"&&x==="row-reverse"?(w.left=F,w.right=M):(w.left=M,w.right=F),h.value=S;let O=E.scrollTop;a===f.document&&!O&&(O=f.document.body.scrollTop),s.top=O<y.value,s.bottom=O>y.value;const I=Math.abs(O)<=0+(e.top||0),V=Math.abs(O)+E.clientHeight>=E.scrollHeight-(e.bottom||0)-K;$==="flex"&&x==="column-reverse"?(w.top=V,w.bottom=I):(w.top=I,w.bottom=V),y.value=O},H=a=>{var L;if(!f)return;const E=(L=a.target.documentElement)!=null?L:a.target;g(E),T.value=!0,d(a),p(a)};return A(t,"scroll",o?Y(H,o,!0,!1):H,i),G(()=>{const a=_(t);a&&g(a)}),A(t,"scrollend",l,i),{x:n,y:c,isScrolling:T,arrivedState:w,directions:s,measure(){const a=_(t);f&&a&&g(a)}}}function ce(t="history",u={}){const{initialValue:o={},removeNullishValues:r=!0,removeFalsyValues:b=!1,write:p=!0,window:e=R}=u;if(!e)return D(o);const i=D({});function v(){if(t==="history")return e.location.search||"";if(t==="hash"){const s=e.location.hash||"",l=s.indexOf("?");return l>0?s.slice(l):""}else return(e.location.hash||"").replace(/^#/,"")}function f(s){const l=s.toString();if(t==="history")return`${l?`?${l}`:""}${e.location.hash||""}`;if(t==="hash-params")return`${e.location.search||""}${l?`#${l}`:""}`;const d=e.location.hash||"#",g=d.indexOf("?");return g>0?`${d.slice(0,g)}${l?`?${l}`:""}`:`${d}${l?`?${l}`:""}`}function h(){return new URLSearchParams(v())}function y(s){const l=new Set(Object.keys(i));for(const d of s.keys()){const g=s.getAll(d);i[d]=g.length>1?g:s.get(d)||"",l.delete(d)}Array.from(l).forEach(d=>delete i[d])}const{pause:n,resume:c}=X(i,()=>{const s=new URLSearchParams("");Object.keys(i).forEach(l=>{const d=i[l];Array.isArray(d)?d.forEach(g=>s.append(l,g)):r&&d==null||b&&!d?s.delete(l):s.set(l,d)}),m(s)},{deep:!0});function m(s,l){n(),l&&y(s),e.history.replaceState(e.history.state,e.document.title,e.location.pathname+f(s)),c()}function T(){p&&m(h(),!0)}A(e,"popstate",T,!1),t!=="history"&&A(e,"hashchange",T,!1);const w=h();return w.keys().next().value?y(w):Object.assign(i,o),i}export{ie as a,ae as b,re as c,le as o,ce as u};
@@ -1 +0,0 @@
1
- import{l as v,u as g,a as I}from"./afetch.5c8VmT0-.js";import{r as O}from"./sf-utils.yjuG8NjM.js";import{r as S,c as l}from"./ecom-utils.Ld2zf-Ve.js";import{f as x}from"./format-money.Axn0YFLJ.js";const w={list_payments:{},calculate_shipping:{},apply_discount:{}},n=S(w);v.then(o=>{Object.assign(n,o)});{const o="MODULES_INFO",m=sessionStorage.getItem(o);if(m)try{const a=JSON.parse(m);a.__timestamp>=Date.now()-1e3*60*5?(delete a.__timestamp,Object.assign(n,a)):sessionStorage.removeItem(o)}catch{sessionStorage.removeItem(o)}O(()=>{const a=[];["list_payments","calculate_shipping"].forEach(i=>{Object.keys(n[i]).length||a.push({modName:i})}),Object.keys(g).length&&a.push({modName:"apply_discount",reqOptions:{method:"post",body:{utm:g}}}),a.forEach(({modName:i,reqOptions:p})=>{const{hostname:c}=window.location,{domain:f}=globalThis.$storefront.settings,d=c!=="localhost"&&c!=="127.0.0.1"?`https://${f}/_api/modules/`:"/_api/modules/";I(`${d}${i}`,p).then(async h=>{if(h.ok){const s={};n[i]=s;const{result:y}=await h.json();Array.isArray(y)&&y.forEach(({error:b,response:r})=>{if(!b){let t,e;switch(i){case"calculate_shipping":t="free_shipping_from_value",e=r[t],typeof e=="number"&&(s[t]===void 0||e<s[t])&&(s[t]=e);break;case"list_payments":t="installments_option",e=r[t],e&&(!s[t]||e.monthly_interest<s[t].monthly_interest||e.max_number>s[t].max_number)&&(s[t]=e),t="discount_option",e=r[t],e&&(!s[t]||e.value>s[t].value)&&r.payment_gateways.forEach(({discount:_})=>{_&&_.apply_at!=="freight"&&_.value===e.value&&(s[t]={apply_at:_.apply_at,...e})}),t="loyalty_points_programs",e=r[t],e&&(s[t]={...s[t],...e});break;default:t="available_extra_discount",e=r[t],e&&(!s[t]||e.value>s[t].value)&&(s[t]=e)}}}),sessionStorage.setItem(o,JSON.stringify({...n,__timestamp:Date.now()}))}}).catch(console.error)})})}const D=l(()=>n.calculate_shipping.free_shipping_from_value),F=l(()=>n.list_payments.installments_option),J=l(()=>n.list_payments.discount_option),V=l(()=>n.list_payments.loyalty_points_programs),q=l(()=>n.apply_discount.available_extra_discount),k=(o,m,u,a=x)=>l(()=>{const i=`{${u}}`,p=o.indexOf(i);if(p>-1){const c=n[m][u];if(c){const f=a(c);return o.substring(0,p)+f+o.substring(p+i.length)}return""}return o}),A=o=>k(o,"calculate_shipping","free_shipping_from_value");export{q as a,J as d,D as f,F as i,V as l,A as p};
@@ -1 +0,0 @@
1
- import{_ as t}from"./ecom-utils.Ld2zf-Ve.js";import{i as n}from"./i18n.3-NUtxYq.js";const r=(e,i=t.get("lang"))=>i&&e.i18n&&e.i18n[i]?e.i18n[i]:e.name||e.title||n(e.i18n,i)||"",a=r;export{a as g};
@@ -1 +0,0 @@
1
- import{u as _}from"./customer-session.KkTHFOXl.js";import{c as l,w as y}from"./ecom-utils.Ld2zf-Ve.js";import{g as m}from"./price.Easct8WC.js";import{u as g}from"./index.TkCbiY_p.js";const q=()=>{let i=Math.floor(Math.random()*1e6).toString()+Date.now();for(;i.length<24;)i+="0";return i},h=q;function b(i){return{all:i=i||new Map,on:function(t,r){var o=i.get(t);o?o.push(r):i.set(t,[r])},off:function(t,r){var o=i.get(t);o&&(r?o.splice(o.indexOf(r)>>>0,1):i.set(t,[]))},emit:function(t,r){var o=i.get(t);o&&o.slice().map(function(n){n(r)}),(o=i.get("*"))&&o.slice().map(function(n){n(t,r)})}}}const v=(i,{flags:t})=>!i.flags&&!t?!0:!i.flags||!t||i.flags.length!==t.length?!1:i.flags.every(r=>t.includes(r)),C=(i,t)=>{if(typeof t.product_id!="string"||typeof t.quantity!="number"||!(t.quantity>=0)||typeof t.price!="number"||!(t.price>=0))return null;const{items:r}=i;if(!t.kit_product)for(let n=0;n<r.length;n++){const a=r[n];if(!a.kit_product&&a.product_id===t.product_id&&a.variation_id===t.variation_id&&(!a.customizations||!a.customizations.length)&&v(a,t))return a.quantity+=t.quantity,t.price&&(a.price=t.price),t.final_price&&(a.final_price=t.final_price),a}const o={...t};if((!t._id||t._id===t.variation_id||r.find(({_id:n})=>n===t._id))&&(o._id=h()),t.customizations){const n=[];t.customizations.forEach((a,c)=>{n[c]={...a}}),o.customizations=n}return r.push(o),o},k=(i,t,r)=>{(typeof r!="number"||Number.isNaN(r))&&(r=i.min_quantity||1);const o=i.min_quantity||0,n=t&&i.variations?i.variations.find(({_id:c})=>c===t):void 0,a={product_id:i._id,variation_id:t,sku:n?.sku||i.sku,name:n?.name||i.name,slug:i.slug,production_time:n?.production_time||i.production_time,currency_id:i.currency_id,currency_symbol:i.currency_symbol,base_price:n?.base_price||i.base_price,max_quantity:i.quantity,quantity:o>0?Math.max(o,r):r,price:m(i)};return n?.picture_id&&i.pictures&&(a.picture=i.pictures.find(c=>c._id===n.picture_id)),!a.picture&&i.pictures&&([a.picture]=i.pictures),a},E="ecomShoppingCart",x={subtotal:0,items:[]},s=_(E,x),O=l(()=>s.items.reduce((i,t)=>i+t.quantity,0)),z=i=>{C(s,i)},S=i=>{for(let t=0;t<s.items.length;t++)if(s.items[t]._id===i){s.items.splice(t,1);break}},D=(i,t,r)=>z(k(i,t,r)),f=b(),p=()=>s.items.map(i=>({...i}));let e=p();const N=g(i=>{["addCartItem","removeCartItem"].forEach(t=>{const r=t==="addCartItem",o=r?i:e,n=r?e:i;o.forEach(a=>{if(!a.quantity)return;const u=n.find(({_id:d})=>d===a._id)?.quantity||0;a.quantity>u&&f.emit(t,{...a,quantity:a.quantity-u})})}),e=p()},200);y(s.items,i=>{i.forEach(t=>{let r=t.kit_product?.price&&t.kit_product.pack_quantity?t.kit_product.price/t.kit_product.pack_quantity:t.price;Array.isArray(t.customizations)&&t.customizations.forEach(a=>{if(a.add_to_price){const{type:c,addition:u}=a.add_to_price;r+=c==="fixed"?u:t.price*(u/100)}}),t.final_price=r;const o=t.min_quantity||1,n=t.max_quantity;typeof t.quantity!="number"||Number.isNaN(t.quantity)||t.quantity<o?t.quantity=o:n&&t.quantity>n&&(t.quantity=n)}),s.subtotal=i.reduce((t,r)=>t+r.quantity*(r.final_price||r.price),0),N(i)});const Q={on:f.on,off:f.off};export{D as a,Q as c,k as p,S as r,s,O as t};
@@ -1 +0,0 @@
1
- import{u as S,b as I,d as w,c as $}from"./customer-session.KkTHFOXl.js";import{c as C}from"./shopping-cart.Ean2uW2R.js";import{a as u,r as G,c as p,K as b,w as v}from"./ecom-utils.Ld2zf-Ve.js";import{u as P,g as x}from"./index.TkCbiY_p.js";import{u as N}from"./afetch.5c8VmT0-.js";import{g as T}from"./name.49dZlpDx.js";import{g as R}from"./price.Easct8WC.js";const A="ecomSeachHistory",l=S(A,[]);for(let s=0;s<l.length;s++)typeof l[s]!="string"&&(l.splice(s,1),s-=1);const L=async({term:s,params:i,fields:r,url:t="search/v1"})=>{if(typeof s=="string"&&(s=s.trim(),s.length<2))return{data:{result:[],meta:null}};const a=await I.get(t,{fields:r,params:s?{...i,term:s}:i});if(s&&a.data.result.length){const o=s,e=l.findIndex(n=>n.includes(o)&&!n.replace(o,"").includes(" "));if(e>-1){const n=l[e];l.splice(e,1),l.unshift(n)}else{const n=l.findIndex(g=>o.startsWith(g));n>-1&&l.splice(n,1),l.unshift(s)}for(;l.length>20;)l.pop()}return a};class H{fields;term=u(null);isWithCount=u(!0);isWithBuckets=u(!0);params=G({});pageSize=u(24);pageNumber=u(1);#s=u(!1);isFetching=p(()=>this.#s.value);#t=u(!1);wasFetched=p(()=>this.#t.value);#i=u(null);#e;fetching=p(()=>this.#i.value);#a=u(null);fetchError=p(()=>this.#a.value);products=b([]);meta=b({offset:0,limit:0,fields:[],sort:[],query:{}});#n;constructor({fields:i,debounce:r=150}={}){this.fields=i,this.#n=P(t=>(this.#s.value=!0,L(t)),r),v([this.term,this.params,this.pageSize],()=>{this.pageNumber.value=1}),v(this.pageNumber,()=>{this.#t.value=!1})}async fetch(i){i!==void 0&&i!==this.term.value&&(this.term.value=i,this.pageNumber.value=1);const r=this.pageSize.value,t=r*(this.pageNumber.value-1);this.#i.value||(this.#i.value=new Promise(o=>{this.#e=o}));let a;try{a=await this.#n({term:this.term.value,params:{...this.params,limit:r,offset:t,count:this.isWithCount.value||void 0,buckets:this.isWithBuckets.value||void 0},fields:this.fields})}catch(o){throw this.#e&&(this.#a.value=o,this.#e()),o}if(a){this.#s.value=!1,this.#t.value=!0;const{data:o}=a;o.meta&&this.setResult(o),this.#e&&this.#e()}}setResult(i){i.meta&&Object.assign(this.meta,i.meta),i.result&&(this.products.splice(0),i.result.forEach(r=>this.products.push(r))),i.meta&&i.result&&(this.#t.value=!0)}}const c={},f={},E=()=>{f.resolve||(f.waiting=new Promise(s=>{f.resolve=s}))};E();const M=()=>({page_location:window.location.toString(),language:globalThis.$storefront.settings.lang||"pt_br",page_title:document.title,user_agent:navigator.userAgent}),q=()=>({...f.params||M(),...c,user_id:$.value._id,utm:N}),y="GtagEvent";let m={},h="";const d=async(s,i)=>{const r=i;if(s==="page_view"){m={};const{apiContext:t}=window.$storefront;if(h="",t){const{name:a}=t.doc;switch(t.resource){case"categories":h=`Category: ${a}`;break;case"brands":h=`Brand: ${a}`;break;case"collections":h=`Collection: ${a}`;break}}else{const{pathname:a}=window.location;a==="/"?h="Home":(/^\/s\/?/.test(a)||a==="/search"||a==="/busca")&&(h="Search results")}f.resolve&&(f.params=i,f.resolve(),f.resolve=null)}else f.waiting&&await f.waiting,s==="view_item"&&r.items?.forEach(t=>{if(t.index!==void 0)return;if(!t.item_list_id&&!t.item_list_name){const{apiContext:o}=window.$storefront;o?.doc._id===t.object_id&&(t.item_list_id="product-page",t.item_list_name="Product page")}const a=t.item_list_id||t.item_list_name||h;a&&(m[a]?m[a]+=1:m[a]=1,t.index=m[a],!t.item_list_id&&!t.item_list_name&&(t.item_list_name=a))}),typeof r.value=="number"&&!r.currency&&(r.currency=window.ECOM_CURRENCY||"BRL");try{const t={type:y,...q(),event:{name:s,params:r}};window.postMessage(t,window.origin)}catch(t){console.error(t)}},O=s=>{window.addEventListener("message",({data:i})=>{i.type===y&&s(i)})},F=s=>{const[i,...r]=T(s).split(" / "),t={item_name:i,item_id:s.sku,price:Math.round(R(s)*100)/100,object_id:s._id};r&&r.length?t.item_variant=r.join(" / "):s.variation_id&&(t.item_name=i.replace(window.__customGTMVariantRegex||/\s[^\s]+$/,""),t.item_variant=i.replace(t.item_name,"").trim()),(s.quantity===0||s.quantity&&s.product_id)&&(t.quantity=s.quantity);const{brands:a,categories:o}=s;if(a?.length&&(t.item_brand=a[0].name),o?.length)for(let e=0;e<o.length;e++){const{name:n}=o[e];if(e===0)t.item_category=n;else if(t[`item_category${e+1}`]=n,e===4)break}return t},U=()=>{document.addEventListener("astro:beforeload",E);const{gtag:s,GTAG_TAG_ID:i,GA_TRACKING_ID:r}=window,t=i||r;t&&typeof s=="function"&&["client_id","session_id","gclid"].forEach(e=>{s("get",t,e,n=>{c[e==="gclid"?e:`g_${e}`]=n})});const a=new URL(window.location.toString());["gclid","fbclid","ttclid"].forEach(e=>{const n=c[e]||a.searchParams.get(e);n?(c[e]=n,sessionStorage.setItem(`analytics_${e}`,n)):c[e]=sessionStorage.getItem(`analytics_${e}`)||void 0});const o=["_fbp"];c.fbclid||o.push("_fbc"),c.g_client_id||o.push("_ga"),o.forEach(e=>{document.cookie.split(";").forEach(n=>{const[g,_]=n.split("=");if(g.trim()===e&&_)switch(e){case"_fbp":c.fbp=_;break;case"_fbc":c.fbclid=_;break;case"_ga":c.g_client_id=_.substring(6);break}})}),["client_id","session_id"].forEach(e=>{const n=e==="client_id"?localStorage:sessionStorage,g=n.getItem(`analytics_${e}`);g?c[e]=g:c[e]=c[`g_${e}`]||`${Math.ceil(Math.random()*1e6)}.${Math.ceil(Math.random()*1e6)}`,n.setItem(`analytics_${e}`,c[e])}),w.value?d("login",{}):x(w,()=>d("login",{})),C.on("*",(e,n)=>{d(e==="addCartItem"?"add_to_cart":"remove_from_cart",{items:[F(n)]})}),v(l,()=>{const e=l[0];e&&d("search",{search_term:e})}),window.location.pathname==="/s"&&setTimeout(()=>{const e=new URLSearchParams(window.location.search).get("q");e&&typeof e=="string"&&d("view_search_results",{search_term:e})},300)};export{H as S,q as a,M as b,d as e,F as g,l as s,c as t,U as u,O as w};
@@ -1 +0,0 @@
1
- import{b as k}from"./customer-session.KkTHFOXl.js";import{s as I}from"./sf-utils.yjuG8NjM.js";import{e as P,g as p}from"./use-analytics.Y7amTmnr.js";import{g as w}from"./img.pozlYdd3.js";import{a as g,K as N,c as n}from"./ecom-utils.Ld2zf-Ve.js";import{g as f,c as q}from"./price.Easct8WC.js";import{g as E}from"./name.49dZlpDx.js";const O=t=>t&&t.min_quantity||1,S=O,$=t=>!t.hasOwnProperty("quantity")||t.quantity>=S(t),G=$,K=t=>{const a=g(!1);let r=null;const c=g(null),{productId:s}=t,e=N({...t.product,_id:t.product?._id||s,price:f(t.product||{})});!t.product&&s&&(a.value=!0,r=(async()=>{try{const{data:i}=await k.get(`products/${s}`);Object.assign(e,i)}catch(i){console.error(i),c.value=i}a.value=!1})());const d=n(()=>E(e)),h=n(()=>{const{slug:i}=e;return typeof i=="string"?`/${i}`:null}),v=n(()=>{const{pictures:i}=e,m=[];return i&&i.forEach(b=>{const l=w(b);l&&m.push(l)}),m}),o=n(()=>G(e)),u=n(()=>o.value&&e.available&&e.visible),_=n(()=>{if(q(e)){const i=e.base_price;return Math.round((i-f(e))*100/i)}return 0}),y=n(()=>e.has_variations?!0:!!e.variations?.length);return P("view_item",{value:u.value?e.price:0,items:[{...p(e),item_list_name:t.listName,item_list_id:t.listId||t.listName&&I(t.listName)}]}),{isFetching:a,fetching:r,fetchError:c,product:e,title:d,link:h,images:v,isInStock:o,isActive:u,discountPercentage:_,hasVariations:y}};export{G as c,K as u};
@@ -1,4 +0,0 @@
1
- import{_ as Q,w as Z,v as J}from"./_plugin-vue_export-helper._suIQ7WC.js";import{d as W,a as w,w as P,a5 as T,c as g,n as B,L as ee,M as y,Z as _,U as D,S as A,a7 as te,Y as j,N as F,P as E,Q as $,ad as ne,T as re,V as le,af as ae,t as oe,W as ie,a3 as se,a4 as ue,o as ce,a9 as k}from"./ecom-utils.Ld2zf-Ve.js";const de=W({__name:"Drawer",props:{modelValue:{type:Boolean,default:!1},isHidden:{type:Boolean,default:!1},placement:{default:"start"},position:{default:"fixed"},animation:{default:"slide"},hasCloseButton:{type:Boolean,default:!0},anchorEl:{},backdropTarget:{default:"#teleported-top"},canLockScroll:{type:Boolean,default:!0},maxWidth:{},class:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){t();const r=e,a=n,l=()=>a("update:modelValue",!1),o=w(null),i=h=>{if(!o.value?.contains(h.target)){if(r.anchorEl?.contains(h.target))return;l()}},d=h=>{h.key==="Escape"&&l()},s=w(0);P(T(r,"modelValue"),async h=>{h?(r.canLockScroll&&(s.value=window.innerWidth-document.documentElement.clientWidth,document.body.style.overflow="hidden",document.body.style.paddingRight=`${s.value}px`),setTimeout(()=>{document.addEventListener("click",i,{passive:!0}),document.addEventListener("keydown",d,{passive:!0})},500)):(r.canLockScroll&&(document.body.style.overflow="",document.body.style.paddingRight=""),document.removeEventListener("click",i),document.removeEventListener("keydown",d))});const u=g(()=>{if(r.animation!=="slide")return null;switch(r.placement){case"start":return"left";case"end":return"right";case"top":return"down";default:return"up"}}),f=w(null);r.animation==="scale"&&P(T(r,"modelValue"),h=>{h?B(()=>{setTimeout(()=>{f.value="transition",setTimeout(()=>{r.modelValue&&(f.value="")},300)},50)}):f.value="transition scale-90"},{immediate:!0});const v=g(()=>Array.isArray(r.class)?r.class:[r.class]),p=g(()=>r.position==="fixed"),c=g(()=>r.placement==="start"||r.placement==="end"),m={props:r,emit:a,close:l,drawer:o,outsideClickListener:i,escClickListener:d,scrollbarWidth:s,slideTo:u,animationClassName:f,customClassList:v,isFixed:p,isPlacementX:c};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}}),fe=["open","data-drawer"],me={class:"relative h-full"},pe=$("i",{class:"i-close text-base-400 hover:text-base-600 m-0 text-3xl"},null,-1),ve={key:0,class:"fixed left-0 top-0 z-30 h-screen w-screen bg-black/50","data-drawer-backdrop":""};function he(e,t,n,r,a,l){const o=ee("Fade");return y(),_(o,{slide:r.slideTo,speed:"slow","is-floating":""},{default:D(()=>[n.modelValue?le((y(),F("dialog",{key:0,ref:"drawer",class:A(["z-40 w-screen p-0",[n.position,r.isPlacementX?"m-0":"mx-auto",r.isPlacementX&&!n.maxWidth?"max-w-sm":null,r.isFixed?`top-0 ${r.isPlacementX?"h-screen":"max-h-screen"}`:null,r.isFixed&&n.placement!=="end"?"left-0":null,r.isFixed&&n.placement==="end"?"left-auto right-0":null,r.animationClassName,...r.customClassList]]),style:te({maxWidth:n.maxWidth?`min(${n.maxWidth}, calc(100vw - ${r.scrollbarWidth}px))`:r.isPlacementX?void 0:`calc(100vw - ${r.scrollbarWidth}px)`}),open:n.modelValue,"data-drawer":n.placement},[$("div",me,[n.hasCloseButton?(y(),F("button",{key:0,type:"button","aria-label":"Fechar",onClick:Z(r.close,["prevent"]),class:A(["absolute top-2 z-30 rounded",n.placement==="end"?"left-2":"right-2"]),"data-drawer-close":""},[j(e.$slots,"close",{},()=>[pe])],2)):E("",!0),j(e.$slots,"default")]),n.backdropTarget?(y(),_(ne,{key:0,to:n.backdropTarget},[re(o,null,{default:D(()=>[n.modelValue&&!n.isHidden?(y(),F("div",ve)):E("",!0)]),_:1})],8,["to"])):E("",!0)],14,fe)),[[J,!n.isHidden]]):E("",!0)]),_:3},8,["slide"])}const Xe=Q(de,[["render",he]]);function L(e,t,...n){if(e in t){let a=t[e];return typeof a=="function"?a(...n):a}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,L),r}var we=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(we||{}),be=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(be||{});function ye({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...a}){var l;let o=U(r,n),i=Object.assign(a,{props:o});if(e||t&2&&o.static)return N(i);if(t&1){let d=(l=o.unmount)==null||l?0:1;return L(d,{0(){return null},1(){return N({...a,props:{...o,hidden:!0,style:{display:"none"}}})}})}return N(i)}function N({props:e,attrs:t,slots:n,slot:r,name:a}){var l,o;let{as:i,...d}=ge(e,["unmount","static"]),s=(l=n.default)==null?void 0:l.call(n,r),u={};if(r){let f=!1,v=[];for(let[p,c]of Object.entries(r))typeof c=="boolean"&&(f=!0),c===!0&&v.push(p);f&&(u["data-headlessui-state"]=v.join(" "))}if(i==="template"){if(s=R(s??[]),Object.keys(d).length>0||Object.keys(t).length>0){let[f,...v]=s??[];if(!Ee(f)||v.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(d).concat(Object.keys(t)).map(m=>m.trim()).filter((m,h,Y)=>Y.indexOf(m)===h).sort((m,h)=>m.localeCompare(h)).map(m=>` - ${m}`).join(`
2
- `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(m=>` - ${m}`).join(`
3
- `)].join(`
4
- `));let p=U((o=f.props)!=null?o:{},d),c=ae(f,p);for(let m in p)m.startsWith("on")&&(c.props||(c.props={}),c.props[m]=p[m]);return c}return Array.isArray(s)&&s.length===1?s[0]:s}return oe(i,Object.assign({},d,u),{default:()=>s})}function R(e){return e.flatMap(t=>t.type===ie?R(t.children):[t])}function U(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let a in r)a.startsWith("on")&&typeof r[a]=="function"?(n[a]!=null||(n[a]=[]),n[a].push(r[a])):t[a]=r[a];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](a,...l){let o=n[r];for(let i of o){if(a instanceof Event&&a.defaultPrevented)return;i(a,...l)}}});return t}function Ke(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function ge(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ee(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let xe=0;function Fe(){return++xe}function ze(){return Fe()}var Ne=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Ne||{});function Se(e){throw new Error("Unexpected object: "+e)}var ke=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(ke||{});function Ge(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),a=r??-1,l=(()=>{switch(e.focus){case 0:return n.findIndex(o=>!t.resolveDisabled(o));case 1:{let o=n.slice().reverse().findIndex((i,d,s)=>a!==-1&&s.length-d-1>=a?!1:!t.resolveDisabled(i));return o===-1?o:n.length-1-o}case 2:return n.findIndex((o,i)=>i<=a?!1:!t.resolveDisabled(o));case 3:{let o=n.slice().reverse().findIndex(i=>!t.resolveDisabled(i));return o===-1?o:n.length-1-o}case 4:return n.findIndex(o=>t.resolveId(o)===e.id);case 5:return null;default:Se(e)}})();return l===-1?r:l}function b(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}let X=Symbol("Context");var Le=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Le||{});function qe(){return se(X,null)}function Ye(e){ue(X,e)}function C(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Qe(e,t){let n=w(C(e.value.type,e.value.as));return ce(()=>{n.value=C(e.value.type,e.value.as)}),k(()=>{var r;n.value||b(t)&&b(t)instanceof HTMLButtonElement&&!((r=b(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}var Oe=Object.defineProperty,Pe=(e,t,n)=>t in e?Oe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t,n)=>(Pe(e,typeof t!="symbol"?t+"":t,n),n);class Te{constructor(){I(this,"current",this.detect()),I(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}}let O=new Te;function K(e){if(O.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=b(e);if(t)return t.ownerDocument}return document}let S=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var _e=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(_e||{}),De=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(De||{}),Ae=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Ae||{});function z(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(S)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var G=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(G||{});function q(e,t=0){var n;return e===((n=K(e))==null?void 0:n.body)?!1:L(t,{0(){return e.matches(S)},1(){let r=e;for(;r!==null;){if(r.matches(S))return!0;r=r.parentElement}return!1}})}function Ze(e){let t=K(e);B(()=>{t&&!q(t.activeElement,0)&&Ce(e)})}var je=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(je||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Ce(e){e?.focus({preventScroll:!0})}let Ie=["textarea","input"].join(",");function Me(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,Ie))!=null?n:!1}function He(e,t=n=>n){return e.slice().sort((n,r)=>{let a=t(n),l=t(r);if(a===null||l===null)return 0;let o=a.compareDocumentPosition(l);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Je(e,t){return Ve(z(),t,{relativeTo:e})}function Ve(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:a=[]}={}){var l;let o=(l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)!=null?l:document,i=Array.isArray(e)?n?He(e):e:z(e);a.length>0&&i.length>1&&(i=i.filter(c=>!a.includes(c))),r=r??o.activeElement;let d=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,i.indexOf(r))-1;if(t&4)return Math.max(0,i.indexOf(r))+1;if(t&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},f=0,v=i.length,p;do{if(f>=v||f+v<=0)return 0;let c=s+f;if(t&16)c=(c+v)%v;else{if(c<0)return 3;if(c>=v)return 1}p=i[c],p?.focus(u),f+=d}while(p!==o.activeElement);return t&6&&Me(p)&&p.select(),2}function x(e,t,n){O.isServer||k(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function We(e,t,n){O.isServer||k(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function et(e,t,n=g(()=>!0)){function r(l,o){if(!n.value||l.defaultPrevented)return;let i=o(l);if(i===null||!i.getRootNode().contains(i))return;let d=function s(u){return typeof u=="function"?s(u()):Array.isArray(u)||u instanceof Set?u:[u]}(e);for(let s of d){if(s===null)continue;let u=s instanceof HTMLElement?s:b(s);if(u!=null&&u.contains(i)||l.composed&&l.composedPath().includes(u))return}return!q(i,G.Loose)&&i.tabIndex!==-1&&l.preventDefault(),t(l,i)}let a=w(null);x("pointerdown",l=>{var o,i;n.value&&(a.value=((i=(o=l.composedPath)==null?void 0:o.call(l))==null?void 0:i[0])||l.target)},!0),x("mousedown",l=>{var o,i;n.value&&(a.value=((i=(o=l.composedPath)==null?void 0:o.call(l))==null?void 0:i[0])||l.target)},!0),x("click",l=>{a.value&&(r(l,()=>a.value),a.value=null)},!0),x("touchend",l=>r(l,()=>l.target instanceof HTMLElement?l.target:null),!0),We("blur",l=>r(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var Be=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Be||{});let tt=W({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...a}=e,l={"aria-hidden":(r&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return ye({ourProps:l,theirProps:a,slot:{},attrs:n,slots:t,name:"Hidden"})}}});function M(e){return[e.screenX,e.screenY]}function nt(){let e=w([-1,-1]);return{wasMoved(t){let n=M(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=M(t)}}}let H=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function V(e){var t,n;let r=(t=e.innerText)!=null?t:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return r;let l=!1;for(let i of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))i.remove(),l=!0;let o=l?(n=a.innerText)!=null?n:"":r;return H.test(o)&&(o=o.replace(H,"")),o}function $e(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(a=>{let l=document.getElementById(a);if(l){let o=l.getAttribute("aria-label");return typeof o=="string"?o.trim():V(l).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return V(e).trim()}function rt(e){let t=w(""),n=w("");return()=>{let r=b(e);if(!r)return"";let a=r.innerText;if(t.value===a)return n.value;let l=$e(r).trim().toLowerCase();return t.value=a,n.value=l,l}}export{Xe as D,z as E,ye as H,Ke as K,we as N,He as O,Ve as P,ge as T,Ze as _,ke as a,Be as b,Ye as c,Qe as d,rt as e,tt as f,nt as g,G as h,Ne as i,We as j,O as k,Le as l,K as m,_e as n,b as o,qe as p,De as q,ze as t,L as u,Je as v,q as w,Ge as x,et as y};
@@ -1,56 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="pt-br">
3
- <head data-capo=""><meta charset="UTF-8"><meta name="viewport" content="width=device-width"><title>E-Com Plus demoStore</title><script data-astro-transition-persist="astro-23j4qrxj-1">
4
- window._emitApiContext = (id = null) => {
5
- console.log('[ctx] emit ' + id);
6
- window.dispatchEvent(new Event('storefront:apiContext'));
7
- window._emitedContextId = id;
8
- };
9
- window.ECOM_STORE_ID = 1011;
10
- window.ECOM_LANG = 'pt_br';
11
- window.ECOM_CURRENCY = 'BRL';
12
- window.ECOM_CURRENCY_SYMBOL = 'R$';
13
- window.ECOM_COUNTRY_CODE = 'BR';
14
- window.$storefront = {"settings":{"domain":"demo.ecomplus.app","name":"E-Com Plus demoStore","description":"E-Com Plus é a plataforma de e-commerce API-first desenhada para modelos de negócio e experiências de compra únicas. Flexibilidade do código aberto com facilidade de SaaS para que você comece rápido, venda do seu jeito e escale sem limitações.","logo":"/img/uploads/logo.png","icon":"/img/uploads/ecom-icon.png","primaryColor":"#37003c","email":"","phone":"","address":"","corporateName":"","docNumber":"","lang":"pt_br","currency":"BRL","currencySymbol":"R$","countryCode":"BR","whatsapp":"(31) 9 8272-1558","instagram":"https://www.instagram.com/ecomclub/","facebook":"https://www.facebook.com/ecom.clubpage/","twitter":"","youtube":"https://www.youtube.com/channel/UCBlIxK5JAub0E1EX_qHdzmA","tiktok":"","pinterest":"","threads":"","serviceLinks":[{"title":"Fale conosco","href":"/p/contato"},{"title":"Privacidade e termos","href":"/p/terms"}],"paymentMethods":["pix","visa","mastercard","elo","amex","hipercard","boleto"],"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":200}}},"data":{}};
15
- window._firstLoadContextId = null;</script><script>
16
- $storefront.apiContext = null;
17
- delete $storefront.apiContext;
18
- delete $storefront.context;
19
- _emitApiContext();</script><script>
20
- window.$firebaseConfig = {
21
- apiKey: "AIzaSyCnvm7QrPKzSBrUi09Z3zTgjDST0t4Yikg",
22
- authDomain: "ecom2-demo.firebaseapp.com",
23
- projectId: "ecom2-demo",
24
- storageBucket: "ecom2-demo.appspot.com",
25
- messagingSenderId: "70369627313",
26
- appId: "1:70369627313:web:06634033b9c6208fe7e690"
27
- };
28
- </script><link rel="stylesheet" href="/_astro/_slug_.cfRx-rdA.css"><script type="module" src="/_astro/hoisted.3ec9NcvP.js"></script><meta name="theme-color" content="#37003c"><link rel="icon" type="image/png" href="/_image?f=png&#38;w=32&#38;h=32&#38;href=%2Fimg%2Fuploads%2Fecom-icon.png&#38;V=_" sizes="32x32"><link rel="icon" type="image/png" href="/_image?f=png&#38;w=192&#38;h=192&#38;href=%2Fimg%2Fuploads%2Fecom-icon.png&#38;V=_" sizes="192x192"><meta name="description" content="E-Com Plus é a plataforma de e-commerce API-first desenhada para modelos de negócio e experiências de compra únicas. Flexibilidade do código aberto com facilidade de SaaS para que você comece rápido, venda do seu jeito e escale sem limitações."><meta name="author" content="E-Com Plus demoStore"><meta name="generator" content="Astro v4.0.7"><link rel="canonical" href="https://demo.ecomplus.app/app/account/"><link rel="apple-touch-icon" href="/_image?f=png&#38;w=192&#38;h=192&#38;href=%2Fimg%2Fuploads%2Fecom-icon.png&#38;V=_"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta property="og:site_name" content="E-Com Plus demoStore"><meta property="og:url" content="https://demo.ecomplus.app/app/account/"><meta property="og:title" content="E-Com Plus demoStore"><meta property="og:description" content="E-Com Plus é a plataforma de e-commerce API-first desenhada para modelos de negócio e experiências de compra únicas. Flexibilidade do código aberto com facilidade de SaaS para que você comece rápido, venda do seu jeito e escale sem limitações."><meta property="og:type" content="website"><meta property="og:locale" content="ptBR"><meta name="twitter:card" content="summary"><meta name="ecom-store-id" content="1011"><script type="application/ld+json">{"@context":"http://schema.org","@type":"Organization","name":"E-Com Plus demoStore","url":"https://demo.ecomplus.app/","logo":"https://demo.ecomplus.app/img/uploads/logo.png"}</script></head>
29
- <body style="visibility:hidden" class="!visible"> <!-- Prevent FOUC -->
30
- <div id="teleported-overlap" class="relative z-[59]"></div>
31
- <div id="teleported-top" class="relative z-[19]"></div>
32
-
33
-
34
-
35
-
36
-
37
-
38
- <main>
39
- <style>astro-island,astro-slot,astro-static-slot{display:contents}</style><script>(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event("astro:only"));})();;(()=>{var b=Object.defineProperty;var f=(c,o,i)=>o in c?b(c,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):c[o]=i;var l=(c,o,i)=>(f(c,typeof o!="symbol"?o+"":o,i),i);var p;{let c={0:t=>m(t),1:t=>i(t),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(i(t)),5:t=>new Set(i(t)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(t),9:t=>new Uint16Array(t),10:t=>new Uint32Array(t)},o=t=>{let[e,r]=t;return e in c?c[e](r):void 0},i=t=>t.map(o),m=t=>typeof t!="object"||t===null?t:Object.fromEntries(Object.entries(t).map(([e,r])=>[e,o(r)]));customElements.get("astro-island")||customElements.define("astro-island",(p=class extends HTMLElement{constructor(){super(...arguments);l(this,"Component");l(this,"hydrator");l(this,"hydrate",async()=>{var d;if(!this.hydrator||!this.isConnected)return;let e=(d=this.parentElement)==null?void 0:d.closest("astro-island[ssr]");if(e){e.addEventListener("astro:hydrate",this.hydrate,{once:!0});return}let r=this.querySelectorAll("astro-slot"),a={},h=this.querySelectorAll("template[data-astro-template]");for(let n of h){let s=n.closest(this.tagName);s!=null&&s.isSameNode(this)&&(a[n.getAttribute("data-astro-template")||"default"]=n.innerHTML,n.remove())}for(let n of r){let s=n.closest(this.tagName);s!=null&&s.isSameNode(this)&&(a[n.getAttribute("name")||"default"]=n.innerHTML)}let u;try{u=this.hasAttribute("props")?m(JSON.parse(this.getAttribute("props"))):{}}catch(n){let s=this.getAttribute("component-url")||"<unknown>",y=this.getAttribute("component-export");throw y&&(s+=` (export ${y})`),console.error(`[hydrate] Error parsing props for component ${s}`,this.getAttribute("props"),n),n}await this.hydrator(this)(this.Component,u,a,{client:this.getAttribute("client")}),this.removeAttribute("ssr"),this.dispatchEvent(new CustomEvent("astro:hydrate"))});l(this,"unmount",()=>{this.isConnected||this.dispatchEvent(new CustomEvent("astro:unmount"))})}disconnectedCallback(){document.removeEventListener("astro:after-swap",this.unmount),document.addEventListener("astro:after-swap",this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute("await-children")||document.readyState==="interactive"||document.readyState==="complete")this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener("DOMContentLoaded",e),r.disconnect(),this.childrenConnectedCallback()},r=new MutationObserver(()=>{var a;((a=this.lastChild)==null?void 0:a.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue==="astro:end"&&(this.lastChild.remove(),e())});r.observe(this,{childList:!0}),document.addEventListener("DOMContentLoaded",e)}}async childrenConnectedCallback(){let e=this.getAttribute("before-hydration-url");e&&await import(e),this.start()}start(){let e=JSON.parse(this.getAttribute("opts")),r=this.getAttribute("client");if(Astro[r]===void 0){window.addEventListener(`astro:${r}`,()=>this.start(),{once:!0});return}Astro[r](async()=>{let a=this.getAttribute("renderer-url"),[h,{default:u}]=await Promise.all([import(this.getAttribute("component-url")),a?import(a):()=>()=>{}]),d=this.getAttribute("component-export")||"default";if(!d.includes("."))this.Component=h[d];else{this.Component=h;for(let n of d.split("."))this.Component=this.Component[n]}return this.hydrator=u,this.hydrate},e,this)}attributeChangedCallback(){this.hydrate()}},l(p,"observedAttributes",["props"]),p))}})();</script><astro-island uid="Z1ufmnP" component-url="/_astro/AccountPage.Osc6ffV0.js" component-export="default" renderer-url="/_astro/client.PdegUP6S.js" props="{}" ssr="" client="only" opts="{&quot;name&quot;:&quot;AccountPage&quot;,&quot;value&quot;:true}" await-children=""><template data-astro-template="logo"><picture>
40
- <source type="image/avif" srcset="/_astro/logo_Z1KIIl1.avif 300w" sizes="150px"><source type="image/webp" srcset="/_astro/logo_1UBsBq.webp 300w" sizes="150px"><source type="image/png" srcset="/_astro/logo_Z1K5PE9.png 300w" sizes="150px">
41
- <img src="/_astro/logo_Z1K5PE9.png" alt="E-Com Plus demoStore" loading="lazy" decoding="async" slot="logo" class="max-w-[150px]" width="300" height="71">
42
- </picture></template><!--astro:end--></astro-island>
43
- </main>
44
-
45
-
46
-
47
-
48
-
49
-
50
- <div id="teleported-bottom" class="relative z-[19]"></div>
51
- <picture data-alt="Icon" class="hidden absolute" style="bottom: -1000px">
52
- <source type="image/png" srcset="/_astro/ecom-icon_t3guw.png 32w,/_astro/ecom-icon_12falx.png 192w,/_astro/ecom-icon_15pqnO.png 512w" sizes="32px">
53
-
54
- </picture>
55
- </body>
56
- </html>