cloudcommerce 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/test-apps.yml +3 -3
- package/CHANGELOG.md +24 -0
- package/action.yml +6 -6
- package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
- package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
- package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
- package/ecomplus-stores/barra-doce/package.json +2 -2
- package/package.json +6 -6
- package/packages/api/package.json +1 -1
- package/packages/apps/affiliate-program/package.json +1 -1
- package/packages/apps/correios/package.json +2 -2
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/package.json +1 -1
- package/packages/apps/fb-conversions/package.json +2 -2
- package/packages/apps/flash-courier/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/galaxpay/package.json +1 -1
- package/packages/apps/google-analytics/package.json +1 -1
- package/packages/apps/jadlog/package.json +1 -1
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/mandae/package.json +1 -1
- package/packages/apps/melhor-envio/package.json +1 -1
- package/packages/apps/mercadopago/package.json +1 -1
- package/packages/apps/pagarme/package.json +1 -1
- package/packages/apps/pagarme-v5/package.json +1 -1
- package/packages/apps/paghiper/package.json +1 -1
- package/packages/apps/pix/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/apps/webhooks/package.json +1 -1
- package/packages/cli/ci/bunny-config-base.sh +4 -2
- package/packages/cli/config/firestore.rules +3 -0
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +1 -1
- package/packages/eslint/package.json +5 -5
- package/packages/events/package.json +1 -1
- package/packages/feeds/package.json +1 -1
- package/packages/firebase/package.json +2 -2
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/lib/lib/analytics/send-to-ga4.js +2 -1
- package/packages/ssr/lib/lib/analytics/send-to-ga4.js.map +1 -1
- package/packages/ssr/lib/lib/analytics-events.js +11 -1
- package/packages/ssr/lib/lib/analytics-events.js.map +1 -1
- package/packages/ssr/lib/lib/cron-ssr-save-views.js +11 -5
- package/packages/ssr/lib/lib/cron-ssr-save-views.js.map +1 -1
- package/packages/ssr/lib/lib/serve-storefront.js +35 -21
- package/packages/ssr/lib/lib/serve-storefront.js.map +1 -1
- package/packages/ssr/package.json +4 -4
- package/packages/ssr/src/lib/analytics/send-to-ga4.ts +2 -0
- package/packages/ssr/src/lib/analytics-events.ts +11 -1
- package/packages/ssr/src/lib/cron-ssr-save-views.ts +11 -8
- package/packages/ssr/src/lib/serve-storefront.ts +36 -22
- package/packages/storefront/astro.config.mjs +4 -1
- package/packages/storefront/config/astro/vue-server.mjs +64 -0
- package/packages/storefront/dist/client/_astro/AccountPage.0M6_FdU6.js +1 -0
- package/packages/storefront/dist/client/_astro/CartSidebar.L0Vbhsdt.js +1 -0
- package/packages/storefront/dist/client/_astro/HeroSlider.ju9TsLrJ.js +1 -0
- package/packages/storefront/dist/client/_astro/PitchBar.yqD9ycx5.js +1 -0
- package/packages/storefront/dist/client/_astro/Prices.xI1rdM1e.js +1 -0
- package/packages/storefront/dist/client/_astro/ProductDetails.FQtM5kpd.js +7 -0
- package/packages/storefront/dist/client/_astro/ProductShelf.-4fsYkPB.js +1 -0
- package/packages/storefront/dist/client/_astro/ProductShelf.GAAhKdTN.js +1 -0
- package/packages/storefront/dist/client/_astro/QuantitySelector.v7L8EYOR.js +1 -0
- package/packages/storefront/dist/client/_astro/SearchModal.rasg5jV6.js +1 -0
- package/packages/storefront/dist/client/_astro/SearchShowcase.kA6jICYo.js +1 -0
- package/packages/storefront/dist/client/_astro/ShopHeader.v_L96Y90.js +7 -0
- package/packages/storefront/dist/client/_astro/{_plugin-vue_export-helper.SO-0jCqa.js → _plugin-vue_export-helper.xATGHWd9.js} +2 -2
- package/packages/storefront/dist/client/_astro/afetch.OifQZgwR.js +1 -0
- package/packages/storefront/dist/client/_astro/client.YJ00ta5M.js +1 -0
- package/packages/storefront/dist/client/_astro/customer-session.ZD6tLDQJ.js +7 -0
- package/packages/storefront/dist/client/_astro/{firebase-app.VduCDgof.js → firebase-app.iLdzDVjL.js} +1 -1
- package/packages/storefront/dist/client/_astro/format-money.1_HtF5S2.js +1 -0
- package/packages/storefront/dist/client/_astro/grid-title.pK2Nn3i-.js +1 -0
- package/packages/storefront/dist/client/_astro/hoisted.GaT7bmE3.js +1 -0
- package/packages/storefront/dist/client/_astro/hoisted.ICXGWNEA.js +1 -0
- package/packages/storefront/dist/client/_astro/hoisted.XOXTrHqn.js +1 -0
- package/packages/storefront/dist/client/_astro/i18n.zhlBzJt8.js +1 -0
- package/packages/storefront/dist/client/_astro/img.AnjeGdy_.js +1 -0
- package/packages/storefront/dist/client/_astro/{index-dd468b12.fl8bpn8l.js → index-bea2a320.eWykogwr.js} +93 -93
- package/packages/storefront/dist/client/_astro/index.KfrHdfOH.js +1 -0
- package/packages/storefront/dist/client/_astro/index.ShNlAyu1.js +1 -0
- package/packages/storefront/dist/client/_astro/modules-info.HP6478mG.js +1 -0
- package/packages/storefront/dist/client/_astro/name.VA3MEpe0.js +1 -0
- package/packages/storefront/dist/client/_astro/server-data.4C60Esyt.js +1 -0
- package/packages/storefront/dist/client/_astro/sf-utils.c42cbZ9W.js +13 -0
- package/packages/storefront/dist/client/_astro/shopping-cart.nSNNOrp9.js +1 -0
- package/packages/storefront/dist/client/_astro/use-analytics.wTmoP8B1.js +1 -0
- package/packages/storefront/dist/client/_astro/use-product-card.UFr8SCuD.js +1 -0
- package/packages/storefront/dist/client/_astro/use-text-value.lKqoIagH.js +4 -0
- package/packages/storefront/dist/server/_noop-middleware.mjs +3 -0
- package/packages/storefront/dist/server/chunks/{CartSidebar_yYIzwp_R.mjs → CartSidebar_3_1aFp67.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/{SearchModal_GvRUZ6ce.mjs → SearchModal_2azP1u7P.mjs} +1 -1
- package/packages/storefront/dist/server/chunks/_.._19fCuQdO.mjs +5 -0
- package/packages/storefront/dist/server/chunks/_page__qqIVxbal.mjs +5 -0
- package/packages/storefront/dist/server/chunks/account_vK6pmJlz.mjs +5 -0
- package/packages/storefront/dist/server/chunks/astro/{assets-service_yXRChsFH.mjs → assets-service_631fRtTy.mjs} +66 -11
- package/packages/storefront/dist/server/chunks/{astro_F4pl3toV.mjs → astro_u-oSb215.mjs} +24 -14
- package/packages/storefront/dist/server/chunks/index__05fnqFh.mjs +5 -0
- package/packages/storefront/dist/server/chunks/node_zqXXqc-u.mjs +5 -0
- package/packages/storefront/dist/server/chunks/pages/{__z8Igc_-f.mjs → __ZucPYaOo.mjs} +1313 -979
- package/packages/storefront/dist/server/chunks/pages/{_page__-V1Q-Ymk.mjs → _page__0sN9U0SD.mjs} +30 -12
- package/packages/storefront/dist/server/chunks/pages/account_OQr_6KN1.mjs +33 -0
- package/packages/storefront/dist/server/chunks/pages/{index_QqJiJpFy.mjs → index_3IjgOEIq.mjs} +16 -4
- package/packages/storefront/dist/server/chunks/pages/node_OmjWRf8D.mjs +112 -0
- package/packages/storefront/dist/server/chunks/pages/~fallback_133FK-CP.mjs +59 -0
- package/packages/storefront/dist/server/chunks/~fallback_Wahcp9Wk.mjs +5 -0
- package/packages/storefront/dist/server/entry.mjs +289 -166
- package/packages/storefront/dist/server/manifest_9FASPYUE.mjs +202 -0
- package/packages/storefront/dist/server/renderers.mjs +45 -34
- package/packages/storefront/package.json +5 -5
- package/packages/storefront/server.d.ts +0 -1
- package/packages/storefront/src/lib/$storefront.d.ts +23 -16
- package/packages/storefront/src/lib/composables/use-pagination.ts +1 -3
- package/packages/storefront/src/lib/layouts/BaseHead.astro +5 -0
- package/packages/storefront/src/lib/scripts/git-cms-auth.ts +3 -0
- package/packages/storefront/src/lib/scripts/push-analytics-events.ts +14 -7
- package/packages/storefront/src/lib/scripts/sso-ecom.ts +0 -0
- package/packages/storefront/src/lib/ssr-context.ts +49 -7
- package/packages/storefront/src/lib/state/use-analytics.ts +12 -11
- package/packages/storefront/src/lib/state/use-storage.ts +23 -9
- package/packages/test-base/package.json +1 -1
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/client/_astro/AccountPage.HcKW6HTE.js +0 -1
- package/packages/storefront/dist/client/_astro/CartSidebar.osvr0MUo.js +0 -1
- package/packages/storefront/dist/client/_astro/HeroSlider.I5mC8JdX.js +0 -1
- package/packages/storefront/dist/client/_astro/PitchBar.xC4J7MDy.js +0 -1
- package/packages/storefront/dist/client/_astro/Prices.Jt09rVKv.js +0 -1
- package/packages/storefront/dist/client/_astro/ProductDetails.oouZY3cL.js +0 -7
- package/packages/storefront/dist/client/_astro/ProductShelf.dYlXuNId.js +0 -1
- package/packages/storefront/dist/client/_astro/ProductShelf.vGE0E3Qf.js +0 -1
- package/packages/storefront/dist/client/_astro/QuantitySelector.OL4MN-C_.js +0 -1
- package/packages/storefront/dist/client/_astro/SearchModal.d8lbvLay.js +0 -1
- package/packages/storefront/dist/client/_astro/SearchShowcase.ynowXX4j.js +0 -1
- package/packages/storefront/dist/client/_astro/ShopHeader.l4KJGvUd.js +0 -7
- package/packages/storefront/dist/client/_astro/afetch.5c8VmT0-.js +0 -1
- package/packages/storefront/dist/client/_astro/client.ZhEmw4hZ.js +0 -1
- package/packages/storefront/dist/client/_astro/customer-session.TRPGDX3c.js +0 -7
- package/packages/storefront/dist/client/_astro/ecom-icon_12falx.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_15pqnO.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_t3guw.png +0 -0
- package/packages/storefront/dist/client/_astro/format-money.iK5LGydz.js +0 -1
- package/packages/storefront/dist/client/_astro/grid-title.vGKBy72g.js +0 -1
- package/packages/storefront/dist/client/_astro/headphone_T2Jjc.avif +0 -0
- package/packages/storefront/dist/client/_astro/headphone_Z1CG18r.webp +0 -0
- package/packages/storefront/dist/client/_astro/hoisted.8pwSenCN.js +0 -1
- package/packages/storefront/dist/client/_astro/hoisted.SLwcAI01.js +0 -1
- package/packages/storefront/dist/client/_astro/hoisted.gqV7f6f3.js +0 -1
- package/packages/storefront/dist/client/_astro/i18n.Lxnz1oF-.js +0 -1
- package/packages/storefront/dist/client/_astro/img.WnsidxCx.js +0 -1
- package/packages/storefront/dist/client/_astro/index.R7A-Pg5V.js +0 -1
- package/packages/storefront/dist/client/_astro/index.q6KIyKlJ.js +0 -1
- package/packages/storefront/dist/client/_astro/logo_1UBsBq.webp +0 -0
- package/packages/storefront/dist/client/_astro/logo_Z1K5PE9.png +0 -0
- package/packages/storefront/dist/client/_astro/logo_Z1KIIl1.avif +0 -0
- package/packages/storefront/dist/client/_astro/modules-info.WWsUqEPZ.js +0 -1
- package/packages/storefront/dist/client/_astro/name.urFqJ5yn.js +0 -1
- package/packages/storefront/dist/client/_astro/passion_LHbe9.webp +0 -0
- package/packages/storefront/dist/client/_astro/passion_Z23MeUb.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_1TtOHY.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_1f5opX.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_IUskt.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Uxfdf.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z15uApA.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z1Ap1Im.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z1JT1HB.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_ZY9mtN.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_tMFW0.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_1TgQXS.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_2Nm1z.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_DIqwR.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z1IKDb2.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z29FI4V.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z2kFHGk.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_ZkpPFI.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect859_jXzBi.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_x1l16.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect89_1TSfW7.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect89_Z1re32x.webp +0 -0
- package/packages/storefront/dist/client/_astro/runtime-core.esm-bundler.XTSAdOlw.js +0 -13
- package/packages/storefront/dist/client/_astro/sf-utils.luvTU5uS.js +0 -1
- package/packages/storefront/dist/client/_astro/shopping-cart.ATTXCPd0.js +0 -1
- package/packages/storefront/dist/client/_astro/use-analytics.WpkjGsWi.js +0 -1
- package/packages/storefront/dist/client/_astro/use-product-card.BhUXhJIp.js +0 -1
- package/packages/storefront/dist/client/_astro/use-text-value.XE_A2nDM.js +0 -4
- package/packages/storefront/dist/client/app/account/index.html +0 -58
- package/packages/storefront/dist/client/app/index.html +0 -98
- package/packages/storefront/dist/client/blog/1/index.html +0 -86
- package/packages/storefront/dist/client/index.html +0 -131
- package/packages/storefront/dist/client/macbook-apple-pro-15.4-intel-core-i7-2.6ghz-ram-16gb-ssd-512gb-mr972ll/a-prata/index.html +0 -93
- package/packages/storefront/dist/client/monitores-gamer/index.html +0 -95
- package/packages/storefront/dist/client/mouse-gamer-corsair-optico-harpoon-rgb-ch-9301011-na/index.html +0 -93
- package/packages/storefront/dist/client/p/contato/index.html +0 -90
- package/packages/storefront/dist/client/p/terms/index.html +0 -101
- package/packages/storefront/dist/client/posts/3/index.html +0 -101
- package/packages/storefront/dist/client/posts/4/index.html +0 -101
- package/packages/storefront/dist/client/~fallback/index.html +0 -99
- package/packages/storefront/dist/server/_empty-middleware.mjs +0 -3
- package/packages/storefront/dist/server/chunks/_.._Lq3r7hpv.mjs +0 -6
- package/packages/storefront/dist/server/chunks/_page__LqbeNfr1.mjs +0 -6
- package/packages/storefront/dist/server/chunks/account_4n4rpirV.mjs +0 -6
- package/packages/storefront/dist/server/chunks/index_SwXtE1IM.mjs +0 -6
- package/packages/storefront/dist/server/chunks/node_Nzz44v5l.mjs +0 -6
- package/packages/storefront/dist/server/chunks/pages/account_frSUn7gD.mjs +0 -22
- package/packages/storefront/dist/server/chunks/pages/node_FoDIj_f7.mjs +0 -257
- package/packages/storefront/dist/server/chunks/pages/~fallback_t0lNhRm9.mjs +0 -33
- package/packages/storefront/dist/server/chunks/~fallback_EWqi0UyU.mjs +0 -6
- package/packages/storefront/dist/server/images.dist.csv +0 -30
- package/packages/storefront/dist/server/images.src.csv +0 -11
- package/packages/storefront/dist/server/manifest_ZHJUD8_m.mjs +0 -196
- package/packages/storefront/dist/server/static-builds.csv +0 -71
|
@@ -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.WpkjGsWi.js";import{a as H}from"./afetch.5c8VmT0-.js";import{u as R}from"./index.q6KIyKlJ.js";import"./customer-session.TRPGDX3c.js";import"./sf-utils.luvTU5uS.js";import"./runtime-core.esm-bundler.XTSAdOlw.js";import"./shopping-cart.ATTXCPd0.js";import"./price.Easct8WC.js";import"./name.urFqJ5yn.js";import"./i18n.Lxnz1oF-.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"./hoisted.8pwSenCN.js";import"./afetch.5c8VmT0-.js";import"./use-analytics.WpkjGsWi.js";import"./customer-session.TRPGDX3c.js";import"./sf-utils.luvTU5uS.js";import"./index.q6KIyKlJ.js";import"./runtime-core.esm-bundler.XTSAdOlw.js";import"./shopping-cart.ATTXCPd0.js";import"./price.Easct8WC.js";import"./name.urFqJ5yn.js";import"./i18n.Lxnz1oF-.js";const t=window.location.search.includes("status=404")?"404Msg":"5xxMsg";document.getElementById(t).style.display="block";document.getElementById("loadingMsg").style.display="none";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as E,s as b,c as p,a as N}from"./customer-session.TRPGDX3c.js";import{s as w}from"./shopping-cart.ATTXCPd0.js";import{g as v,e as I}from"./use-analytics.WpkjGsWi.js";import{u as O}from"./afetch.5c8VmT0-.js";import"./index.q6KIyKlJ.js";import{w as T}from"./runtime-core.esm-bundler.XTSAdOlw.js";import"./hoisted.8pwSenCN.js";import"./sf-utils.luvTU5uS.js";import"./price.Easct8WC.js";import"./name.urFqJ5yn.js";import"./i18n.Lxnz1oF-.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"./runtime-core.esm-bundler.XTSAdOlw.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"./runtime-core.esm-bundler.XTSAdOlw.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{m as N,w as X,i as q,n as $,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.q6KIyKlJ.js";import{s as ee,r as D,w as te,d as W,a as C,c as j}from"./runtime-core.esm-bundler.XTSAdOlw.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 k(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 $;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(()=>[k(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",$)),r.document.documentElement.addEventListener("click",$));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=k(c);return m&&(n.target===m||n.composedPath().includes(m))}}),h=[A(r,"click",n=>{const c=k(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=k(t);i=!v(n)&&!!(c&&!n.composedPath().includes(c))},{passive:!0}),e&&A(r,"blur",n=>{setTimeout(()=>{var c;const m=k(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=$,onScroll:p=$,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,P;if(!f)return;const S=_(t);S&&((P=S instanceof Document?f.document.body:S)==null||P.scrollTo({top:(E=_(L))!=null?E:c.value,left:(x=_(a))!=null?x: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:x,flexDirection:P}=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;x==="flex"&&P==="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;x==="flex"&&P==="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{C as D,_ as C,w as b,E as T,F as A,a as y,G as F,c as W,H as _,I,J as k,K as M}from"./runtime-core.esm-bundler.XTSAdOlw.js";D.$ecomConfig||C;function E(e){return k()?(M(e),!0):!1}function $(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():A(e)}const O=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const G=Object.prototype.toString,q=e=>G.call(e)==="[object Object]",l=()=>{},B=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=s=>{clearTimeout(s),i(),i=l};return s=>{const u=m(e),c=m(t.maxWait);return n&&r(n),u<=0||c!==void 0&&c<=0?(o&&(r(o),o=null),Promise.resolve(s())):new Promise((f,p)=>{i=t.rejectOnCancel?p:f,c&&!o&&(o=setTimeout(()=>{n&&r(n),o=null,f(s())},c)),n=setTimeout(()=>{o&&r(o),o=null,f(s())},u)})}}function z(e,t=!0,n=!0,o=!1){let i=0,r,a=!0,s=l,u;const c=()=>{r&&(clearTimeout(r),r=void 0,s(),s=l)};return p=>{const d=m(e),h=Date.now()-i,w=()=>u=p();return c(),d<=0?(i=Date.now(),w()):(h>d&&(n||!a)?(i=Date.now(),w()):t&&(u=new Promise((g,j)=>{s=o?j:g,r=setTimeout(()=>{i=Date.now(),a=!0,g(w()),c()},Math.max(0,d-h))})),!n&&!r&&(r=setTimeout(()=>a=!0,d)),a=!1,u)}}function L(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 V(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const H=/-(\w)/g,N=V(e=>e.replace(H,(t,n)=>n?n.toUpperCase():""));function Q(e,t=!1,n="Timeout"){return new Promise((o,i)=>{setTimeout(t?()=>i(n):o,e)})}function J(e){return e||I()}function X(e,t=200,n={}){return v(x(t,n),e)}function Y(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 b(e,v(o,t),i)}function Z(e,t,n={}){const{eventFilter:o,...i}=n,{eventFilter:r,pause:a,resume:s,isActive:u}=L(o);return{stop:S(e,t,{...i,eventFilter:r}),pause:a,resume:s,isActive:u}}function ee(e,t=!0,n){J()?_(e,n):t?e():T(e)}function K(e,t,n={}){const{immediate:o=!0}=n,i=y(!1);let r=null;function a(){r&&(clearTimeout(r),r=null)}function s(){i.value=!1,a()}function u(...c){a(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=null,e(...c)},m(t))}return o&&(i.value=!0,O&&u()),E(s),{isPending:F(i),start:u,stop:s}}function te(e=1e3,t={}){const{controls:n=!1,callback:o}=t,i=K(o??l,e,t),r=W(()=>!i.isPending.value);return n?{ready:r,...i}:r}function ne(e,t,n={}){const{debounce:o=0,maxWait:i=void 0,...r}=n;return S(e,t,{...r,eventFilter:x(o,{maxWait:i})})}function oe(e,t,n){const o=b(e,(...i)=>(T(()=>o()),t(...i)),n);return o}export{q as a,Y as b,N as c,ee as d,B as e,E as f,oe as g,ne as h,O as i,te as j,$ as m,l as n,Q as p,m as t,X as u,Z as w};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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.luvTU5uS.js";import{r as S,c as l}from"./runtime-core.esm-bundler.XTSAdOlw.js";import{f as x}from"./format-money.iK5LGydz.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"./runtime-core.esm-bundler.XTSAdOlw.js";import{i as n}from"./i18n.Lxnz1oF-.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};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
var gs={};let St,pn;typeof window=="object"&&window?pn=St=window:typeof process=="object"&&gs?(pn=global,St=gs):pn=St=typeof self=="object"&&self||{};const Xr="en_us",zr="USD",el="$",tl="US",nl=1011,sl="5b1abe30a4d4531b8fe40725",rl=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 St[e.toUpperCase()]},wn={};["lang","currency","currency_symbol","country_code","store_id","store_object_id"].forEach(e=>{wn[e]=rl("ecom_"+e)});const ho={get(e){const t=wn[e];if(t!=null&&t!=="")return t;switch(e){case"lang":return Xr;case"currency":return zr;case"currency_symbol":return el;case"country_code":return tl;case"store_id":return nl;case"store_object_id":return sl}return null},set(e,t){wn[e]=t}};/**
|
|
2
|
-
* @vue/shared v3.4.15
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**/function Vn(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ee={},nt=[],Te=()=>{},ll=()=>!1,en=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$s=e=>e.startsWith("onUpdate:"),ue=Object.assign,$n=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},il=Object.prototype.hasOwnProperty,J=(e,t)=>il.call(e,t),U=Array.isArray,st=e=>Et(e)==="[object Map]",Ds=e=>Et(e)==="[object Set]",ps=e=>Et(e)==="[object Date]",$=e=>typeof e=="function",le=e=>typeof e=="string",De=e=>typeof e=="symbol",z=e=>e!==null&&typeof e=="object",Ks=e=>(z(e)||$(e))&&$(e.then)&&$(e.catch),Ws=Object.prototype.toString,Et=e=>Ws.call(e),ol=e=>Et(e).slice(8,-1),qs=e=>Et(e)==="[object Object]",Dn=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gt=Vn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fl=/-(\w)/g,Be=tn(e=>e.replace(fl,(t,n)=>n?n.toUpperCase():"")),cl=/\B([A-Z])/g,nn=tn(e=>e.replace(cl,"-$1").toLowerCase()),Kn=tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),_n=tn(e=>e?`on${Kn(e)}`:""),Ke=(e,t)=>!Object.is(e,t),yn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Wt=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ul=e=>{const t=parseFloat(e);return isNaN(t)?e:t},al=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let _s;const Gs=()=>_s||(_s=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function sn(e){if(U(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=le(s)?pl(s):sn(s);if(r)for(const l in r)t[l]=r[l]}return t}else if(le(e)||z(e))return e}const hl=/;(?![^(]*\))/g,dl=/:([^]+)/,gl=/\/\*[^]*?\*\//g;function pl(e){const t={};return e.replace(gl,"").split(hl).forEach(n=>{if(n){const s=n.split(dl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function rn(e){let t="";if(le(e))t=e;else if(U(e))for(let n=0;n<e.length;n++){const s=rn(e[n]);s&&(t+=s+" ")}else if(z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function go(e){if(!e)return null;let{class:t,style:n}=e;return t&&!le(t)&&(e.class=rn(t)),n&&(e.style=sn(n)),e}const _l="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",po=Vn(_l);function _o(e){return!!e||e===""}function yl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Ys(e[s],t[s]);return n}function Ys(e,t){if(e===t)return!0;let n=ps(e),s=ps(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=De(e),s=De(t),n||s)return e===t;if(n=U(e),s=U(t),n||s)return n&&s?yl(e,t):!1;if(n=z(e),s=z(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,l=Object.keys(t).length;if(r!==l)return!1;for(const i in e){const o=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(o&&!c||!o&&c||!Ys(e[i],t[i]))return!1}}return String(e)===String(t)}const yo=e=>le(e)?e:e==null?"":U(e)||z(e)&&(e.toString===Ws||!$(e.toString))?JSON.stringify(e,Js,2):String(e),Js=(e,t)=>t&&t.__v_isRef?Js(e,t.value):st(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],l)=>(n[mn(s,l)+" =>"]=r,n),{})}:Ds(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>mn(n))}:De(t)?mn(t):z(t)&&!U(t)&&!qs(t)?String(t):t,mn=(e,t="")=>{var n;return De(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.4.15
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let me;class ml{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){me=this}off(){me=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 r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function bl(e,t=me){t&&t.active&&t.effects.push(e)}function xl(){return me}function mo(e){me&&me.cleanups.push(e)}let Ze;class Wn{constructor(t,n,s,r){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,bl(this,r)}get dirty(){if(this._dirtyLevel===1){Xe();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Cl(n.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),ze()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ve,n=Ze;try{return Ve=!0,Ze=this,this._runnings++,ys(this),this.fn()}finally{ms(this),this._runnings--,Ze=n,Ve=t}}stop(){var t;this.active&&(ys(this),ms(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Cl(e){return e.value}function ys(e){e._trackId++,e._depsLength=0}function ms(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Zs(e.deps[t],e);e.deps.length=e._depsLength}}function Zs(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ve=!0,Fn=0;const Qs=[];function Xe(){Qs.push(Ve),Ve=!1}function ze(){const e=Qs.pop();Ve=e===void 0?!0:e}function qn(){Fn++}function Gn(){for(Fn--;!Fn&&An.length;)An.shift()()}function Xs(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&Zs(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const An=[];function zs(e,t,n){qn();for(const s of e.keys())if(s._dirtyLevel<t&&e.get(s)===s._trackId){const r=s._dirtyLevel;s._dirtyLevel=t,r===0&&(s._shouldSchedule=!0,s.trigger())}er(e),Gn()}function er(e){for(const t of e.keys())t.scheduler&&t._shouldSchedule&&(!t._runnings||t.allowRecurse)&&e.get(t)===t._trackId&&(t._shouldSchedule=!1,An.push(t.scheduler))}const tr=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},qt=new WeakMap,Qe=Symbol(""),Rn=Symbol("");function _e(e,t,n){if(Ve&&Ze){let s=qt.get(e);s||qt.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=tr(()=>s.delete(n))),Xs(Ze,r)}}function Le(e,t,n,s,r,l){const i=qt.get(e);if(!i)return;let o=[];if(t==="clear")o=[...i.values()];else if(n==="length"&&U(e)){const c=Number(s);i.forEach((a,d)=>{(d==="length"||!De(d)&&d>=c)&&o.push(a)})}else switch(n!==void 0&&o.push(i.get(n)),t){case"add":U(e)?Dn(n)&&o.push(i.get("length")):(o.push(i.get(Qe)),st(e)&&o.push(i.get(Rn)));break;case"delete":U(e)||(o.push(i.get(Qe)),st(e)&&o.push(i.get(Rn)));break;case"set":st(e)&&o.push(i.get(Qe));break}qn();for(const c of o)c&&zs(c,2);Gn()}function Tl(e,t){var n;return(n=qt.get(e))==null?void 0:n.get(t)}const El=Vn("__proto__,__v_isRef,__isVue"),nr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(De)),bs=vl();function vl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Z(this);for(let l=0,i=this.length;l<i;l++)_e(s,"get",l+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(Z)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Xe(),qn();const s=Z(this)[t].apply(this,n);return Gn(),ze(),s}}),e}function wl(e){const t=Z(this);return _e(t,"has",e),t.hasOwnProperty(e)}class sr{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,l=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return l;if(n==="__v_raw")return s===(r?l?Hl:or:l?ir:lr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=U(t);if(!r){if(i&&J(bs,n))return Reflect.get(bs,n,s);if(n==="hasOwnProperty")return wl}const o=Reflect.get(t,n,s);return(De(n)?nr.has(n):El(n))||(r||_e(t,"get",n),l)?o:ae(o)?i&&Dn(n)?o:o.value:z(o)?r?fr(o):Zn(o):o}}class rr extends sr{constructor(t=!1){super(!1,t)}set(t,n,s,r){let l=t[n];if(!this._shallow){const c=ft(l);if(!Gt(s)&&!ft(s)&&(l=Z(l),s=Z(s)),!U(t)&&ae(l)&&!ae(s))return c?!1:(l.value=s,!0)}const i=U(t)&&Dn(n)?Number(n)<t.length:J(t,n),o=Reflect.set(t,n,s,r);return t===Z(r)&&(i?Ke(s,l)&&Le(t,"set",n,s):Le(t,"add",n,s)),o}deleteProperty(t,n){const s=J(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Le(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!De(n)||!nr.has(n))&&_e(t,"has",n),s}ownKeys(t){return _e(t,"iterate",U(t)?"length":Qe),Reflect.ownKeys(t)}}class Fl extends sr{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Al=new rr,Rl=new Fl,Ol=new rr(!0),Yn=e=>e,ln=e=>Reflect.getPrototypeOf(e);function Ot(e,t,n=!1,s=!1){e=e.__v_raw;const r=Z(e),l=Z(t);n||(Ke(t,l)&&_e(r,"get",t),_e(r,"get",l));const{has:i}=ln(r),o=s?Yn:n?Xn:mt;if(i.call(r,t))return o(e.get(t));if(i.call(r,l))return o(e.get(l));e!==r&&e.get(t)}function It(e,t=!1){const n=this.__v_raw,s=Z(n),r=Z(e);return t||(Ke(e,r)&&_e(s,"has",e),_e(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Mt(e,t=!1){return e=e.__v_raw,!t&&_e(Z(e),"iterate",Qe),Reflect.get(e,"size",e)}function xs(e){e=Z(e);const t=Z(this);return ln(t).has.call(t,e)||(t.add(e),Le(t,"add",e,e)),this}function Cs(e,t){t=Z(t);const n=Z(this),{has:s,get:r}=ln(n);let l=s.call(n,e);l||(e=Z(e),l=s.call(n,e));const i=r.call(n,e);return n.set(e,t),l?Ke(t,i)&&Le(n,"set",e,t):Le(n,"add",e,t),this}function Ts(e){const t=Z(this),{has:n,get:s}=ln(t);let r=n.call(t,e);r||(e=Z(e),r=n.call(t,e)),s&&s.call(t,e);const l=t.delete(e);return r&&Le(t,"delete",e,void 0),l}function Es(){const e=Z(this),t=e.size!==0,n=e.clear();return t&&Le(e,"clear",void 0,void 0),n}function Pt(e,t){return function(s,r){const l=this,i=l.__v_raw,o=Z(i),c=t?Yn:e?Xn:mt;return!e&&_e(o,"iterate",Qe),i.forEach((a,d)=>s.call(r,c(a),c(d),l))}}function Lt(e,t,n){return function(...s){const r=this.__v_raw,l=Z(r),i=st(l),o=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),d=n?Yn:t?Xn:mt;return!t&&_e(l,"iterate",c?Rn:Qe),{next(){const{value:h,done:_}=a.next();return _?{value:h,done:_}:{value:o?[d(h[0]),d(h[1])]:d(h),done:_}},[Symbol.iterator](){return this}}}}function Ne(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Il(){const e={get(l){return Ot(this,l)},get size(){return Mt(this)},has:It,add:xs,set:Cs,delete:Ts,clear:Es,forEach:Pt(!1,!1)},t={get(l){return Ot(this,l,!1,!0)},get size(){return Mt(this)},has:It,add:xs,set:Cs,delete:Ts,clear:Es,forEach:Pt(!1,!0)},n={get(l){return Ot(this,l,!0)},get size(){return Mt(this,!0)},has(l){return It.call(this,l,!0)},add:Ne("add"),set:Ne("set"),delete:Ne("delete"),clear:Ne("clear"),forEach:Pt(!0,!1)},s={get(l){return Ot(this,l,!0,!0)},get size(){return Mt(this,!0)},has(l){return It.call(this,l,!0)},add:Ne("add"),set:Ne("set"),delete:Ne("delete"),clear:Ne("clear"),forEach:Pt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=Lt(l,!1,!1),n[l]=Lt(l,!0,!1),t[l]=Lt(l,!1,!0),s[l]=Lt(l,!0,!0)}),[e,n,t,s]}const[Ml,Pl,Ll,Bl]=Il();function Jn(e,t){const n=t?e?Bl:Ll:e?Pl:Ml;return(s,r,l)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(J(n,r)&&r in s?n:s,r,l)}const kl={get:Jn(!1,!1)},Nl={get:Jn(!1,!0)},jl={get:Jn(!0,!1)},lr=new WeakMap,ir=new WeakMap,or=new WeakMap,Hl=new WeakMap;function Sl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ul(e){return e.__v_skip||!Object.isExtensible(e)?0:Sl(ol(e))}function Zn(e){return ft(e)?e:Qn(e,!1,Al,kl,lr)}function Vl(e){return Qn(e,!1,Ol,Nl,ir)}function fr(e){return Qn(e,!0,Rl,jl,or)}function Qn(e,t,n,s,r){if(!z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=r.get(e);if(l)return l;const i=Ul(e);if(i===0)return e;const o=new Proxy(e,i===2?s:n);return r.set(e,o),o}function rt(e){return ft(e)?rt(e.__v_raw):!!(e&&e.__v_isReactive)}function ft(e){return!!(e&&e.__v_isReadonly)}function Gt(e){return!!(e&&e.__v_isShallow)}function cr(e){return rt(e)||ft(e)}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function ur(e){return Wt(e,"__v_skip",!0),e}const mt=e=>z(e)?Zn(e):e,Xn=e=>z(e)?fr(e):e;class ar{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Wn(()=>t(this._value),()=>Ut(this,1),()=>this.dep&&er(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Z(this);return(!t._cacheable||t.effect.dirty)&&Ke(t._value,t._value=t.effect.run())&&Ut(t,2),hr(t),t.effect._dirtyLevel>=1&&Ut(t,1),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function $l(e,t,n=!1){let s,r;const l=$(e);return l?(s=e,r=Te):(s=e.get,r=e.set),new ar(s,r,l||!r,n)}function hr(e){Ve&&Ze&&(e=Z(e),Xs(Ze,e.dep||(e.dep=tr(()=>e.dep=void 0,e instanceof ar?e:void 0))))}function Ut(e,t=2,n){e=Z(e);const s=e.dep;s&&zs(s,t)}function ae(e){return!!(e&&e.__v_isRef===!0)}function Vt(e){return dr(e,!1)}function bo(e){return dr(e,!0)}function dr(e,t){return ae(e)?e:new Dl(e,t)}class Dl{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:mt(t)}get value(){return hr(this),this._value}set value(t){const n=this.__v_isShallow||Gt(t)||ft(t);t=n?t:Z(t),Ke(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mt(t),Ut(this,2))}}function Kl(e){return ae(e)?e.value:e}const Wl={get:(e,t,n)=>Kl(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ae(r)&&!ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function gr(e){return rt(e)?e:new Proxy(e,Wl)}class ql{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 Tl(Z(this._object),this._key)}}class Gl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xo(e,t,n){return ae(e)?e:$(e)?new Gl(e):z(e)&&arguments.length>1?Yl(e,t,n):Vt(e)}function Yl(e,t,n){const s=e[t];return ae(s)?s:new ql(e,t,n)}/**
|
|
10
|
-
* @vue/runtime-core v3.4.15
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function $e(e,t,n,s){let r;try{r=s?e(...s):e()}catch(l){at(l,t,n)}return r}function we(e,t,n,s){if($(e)){const l=$e(e,t,n,s);return l&&Ks(l)&&l.catch(i=>{at(i,t,n)}),l}const r=[];for(let l=0;l<e.length;l++)r.push(we(e[l],t,n,s));return r}function at(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let l=t.parent;const i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,i,o)===!1)return}l=l.parent}const c=t.appContext.config.errorHandler;if(c){$e(c,null,10,[e,i,o]);return}}Jl(e,n,r,s)}function Jl(e,t,n,s=!0){console.error(e)}let bt=!1,On=!1;const ce=[];let Oe=0;const lt=[];let He=null,Ye=0;const pr=Promise.resolve();let zn=null;function Zl(e){const t=zn||pr;return e?t.then(this?e.bind(this):e):t}function Ql(e){let t=Oe+1,n=ce.length;for(;t<n;){const s=t+n>>>1,r=ce[s],l=xt(r);l<e||l===e&&r.pre?t=s+1:n=s}return t}function on(e){(!ce.length||!ce.includes(e,bt&&e.allowRecurse?Oe+1:Oe))&&(e.id==null?ce.push(e):ce.splice(Ql(e.id),0,e),_r())}function _r(){!bt&&!On&&(On=!0,zn=pr.then(yr))}function Xl(e){const t=ce.indexOf(e);t>Oe&&ce.splice(t,1)}function In(e){U(e)?lt.push(...e):(!He||!He.includes(e,e.allowRecurse?Ye+1:Ye))&<.push(e),_r()}function vs(e,t,n=bt?Oe+1:0){for(;n<ce.length;n++){const s=ce[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;ce.splice(n,1),n--,s()}}}function Yt(e){if(lt.length){const t=[...new Set(lt)].sort((n,s)=>xt(n)-xt(s));if(lt.length=0,He){He.push(...t);return}for(He=t,Ye=0;Ye<He.length;Ye++)He[Ye]();He=null,Ye=0}}const xt=e=>e.id==null?1/0:e.id,zl=(e,t)=>{const n=xt(e)-xt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function yr(e){On=!1,bt=!0,ce.sort(zl);try{for(Oe=0;Oe<ce.length;Oe++){const t=ce[Oe];t&&t.active!==!1&&$e(t,null,14)}}finally{Oe=0,ce.length=0,Yt(),bt=!1,zn=null,(ce.length||lt.length)&&yr()}}function ei(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ee;let r=n;const l=t.startsWith("update:"),i=l&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:_}=s[d]||ee;_&&(r=n.map(w=>le(w)?w.trim():w)),h&&(r=n.map(ul))}let o,c=s[o=_n(t)]||s[o=_n(Be(t))];!c&&l&&(c=s[o=_n(nn(t))]),c&&we(c,e,6,r);const a=s[o+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,we(a,e,6,r)}}function mr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const l=e.emits;let i={},o=!1;if(!$(e)){const c=a=>{const d=mr(a,t,!0);d&&(o=!0,ue(i,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!l&&!o?(z(e)&&s.set(e,null),null):(U(l)?l.forEach(c=>i[c]=null):ue(i,l),z(e)&&s.set(e,i),i)}function fn(e,t){return!e||!en(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,nn(t))||J(e,t))}let re=null,br=null;function Jt(e){const t=re;return re=e,br=e&&e.type.__scopeId||null,t}function ti(e,t=re,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ss(-1);const l=Jt(t);let i;try{i=e(...r)}finally{Jt(l),s._d&&Ss(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function bn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:l,propsOptions:[i],slots:o,attrs:c,emit:a,render:d,renderCache:h,data:_,setupState:w,ctx:O,inheritAttrs:P}=e;let S,W;const K=Jt(e);try{if(n.shapeFlag&4){const T=r||s,C=T;S=Ce(d.call(C,T,h,l,w,_,O)),W=c}else{const T=t;S=Ce(T.length>1?T(l,{attrs:c,slots:o,emit:a}):T(l,null)),W=t.props?c:si(c)}}catch(T){yt.length=0,at(T,e,1),S=ne(de)}let g=S;if(W&&P!==!1){const T=Object.keys(W),{shapeFlag:C}=g;T.length&&C&7&&(i&&T.some($s)&&(W=ri(W,i)),g=We(g,W))}return n.dirs&&(g=We(g),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),S=g,Jt(K),S}function ni(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(Tt(r)){if(r.type!==de||r.children==="v-if"){if(n)return;n=r}}else return}return n}const si=e=>{let t;for(const n in e)(n==="class"||n==="style"||en(n))&&((t||(t={}))[n]=e[n]);return t},ri=(e,t)=>{const n={};for(const s in e)(!$s(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function li(e,t,n){const{props:s,children:r,component:l}=e,{props:i,children:o,patchFlag:c}=t,a=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ws(s,i,a):!!i;if(c&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const _=d[h];if(i[_]!==s[_]&&!fn(a,_))return!0}}}else return(r||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 r=0;r<s.length;r++){const l=s[r];if(t[l]!==e[l]&&!fn(n,l))return!0}return!1}function es({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const ts="components";function Co(e,t){return Cr(ts,e,!0,t)||e}const xr=Symbol.for("v-ndc");function To(e){return le(e)?Cr(ts,e,!1)||e:e||xr}function Cr(e,t,n=!0,s=!1){const r=re||oe;if(r){const l=r.type;if(e===ts){const o=fo(l,!1);if(o&&(o===t||o===Be(t)||o===Kn(Be(t))))return l}const i=Fs(r[e]||l[e],t)||Fs(r.appContext[e],t);return!i&&s?l:i}}function Fs(e,t){return e&&(e[t]||e[Be(t)]||e[Kn(Be(t))])}const ii=e=>e.__isSuspense;let Mn=0;const oi={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,l,i,o,c,a){if(e==null)fi(t,n,s,r,l,i,o,c,a);else{if(l&&l.deps>0){t.suspense=e.suspense;return}ci(e,t,n,s,r,i,o,c,a)}},hydrate:ui,create:ns,normalize:ai},Eo=oi;function Ct(e,t){const n=e.props&&e.props[t];$(n)&&n()}function fi(e,t,n,s,r,l,i,o,c){const{p:a,o:{createElement:d}}=c,h=d("div"),_=e.suspense=ns(e,r,s,t,h,n,l,i,o,c);a(null,_.pendingBranch=e.ssContent,h,null,s,_,l,i),_.deps>0?(Ct(e,"onPending"),Ct(e,"onFallback"),a(null,e.ssFallback,t,n,s,null,l,i),it(_,e.ssFallback)):_.resolve(!1,!0)}function ci(e,t,n,s,r,l,i,o,{p:c,um:a,o:{createElement:d}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const _=t.ssContent,w=t.ssFallback,{activeBranch:O,pendingBranch:P,isInFallback:S,isHydrating:W}=h;if(P)h.pendingBranch=_,Ie(_,P)?(c(P,_,h.hiddenContainer,null,r,h,l,i,o),h.deps<=0?h.resolve():S&&(W||(c(O,w,n,s,r,null,l,i,o),it(h,w)))):(h.pendingId=Mn++,W?(h.isHydrating=!1,h.activeBranch=P):a(P,r,h),h.deps=0,h.effects.length=0,h.hiddenContainer=d("div"),S?(c(null,_,h.hiddenContainer,null,r,h,l,i,o),h.deps<=0?h.resolve():(c(O,w,n,s,r,null,l,i,o),it(h,w))):O&&Ie(_,O)?(c(O,_,n,s,r,h,l,i,o),h.resolve(!0)):(c(null,_,h.hiddenContainer,null,r,h,l,i,o),h.deps<=0&&h.resolve()));else if(O&&Ie(_,O))c(O,_,n,s,r,h,l,i,o),it(h,_);else if(Ct(t,"onPending"),h.pendingBranch=_,_.shapeFlag&512?h.pendingId=_.component.suspenseId:h.pendingId=Mn++,c(null,_,h.hiddenContainer,null,r,h,l,i,o),h.deps<=0)h.resolve();else{const{timeout:K,pendingId:g}=h;K>0?setTimeout(()=>{h.pendingId===g&&h.fallback(w)},K):K===0&&h.fallback(w)}}function ns(e,t,n,s,r,l,i,o,c,a,d=!1){const{p:h,m:_,um:w,n:O,o:{parentNode:P,remove:S}}=a;let W;const K=hi(e);K&&t?.pendingBranch&&(W=t.pendingId,t.deps++);const g=e.props?al(e.props.timeout):void 0,T=l,C={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:r,deps:0,pendingId:Mn++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(b=!1,B=!1){const{vnode:A,activeBranch:L,pendingBranch:I,pendingId:D,effects:Y,parentComponent:Q,container:fe}=C;let se=!1;C.isHydrating?C.isHydrating=!1:b||(se=L&&I.transition&&I.transition.mode==="out-in",se&&(L.transition.afterLeave=()=>{D===C.pendingId&&(_(I,fe,l===T?O(L):l,0),In(Y))}),L&&(P(L.el)!==C.hiddenContainer&&(l=O(L)),w(L,Q,C,!0)),se||_(I,fe,l,0)),it(C,I),C.pendingBranch=null,C.isInFallback=!1;let k=C.parent,q=!1;for(;k;){if(k.pendingBranch){k.effects.push(...Y),q=!0;break}k=k.parent}!q&&!se&&In(Y),C.effects=[],K&&t&&t.pendingBranch&&W===t.pendingId&&(t.deps--,t.deps===0&&!B&&t.resolve()),Ct(A,"onResolve")},fallback(b){if(!C.pendingBranch)return;const{vnode:B,activeBranch:A,parentComponent:L,container:I,namespace:D}=C;Ct(B,"onFallback");const Y=O(A),Q=()=>{C.isInFallback&&(h(null,b,I,Y,L,null,D,o,c),it(C,b))},fe=b.transition&&b.transition.mode==="out-in";fe&&(A.transition.afterLeave=Q),C.isInFallback=!0,w(A,L,null,!0),fe||Q()},move(b,B,A){C.activeBranch&&_(C.activeBranch,b,B,A),C.container=b},next(){return C.activeBranch&&O(C.activeBranch)},registerDep(b,B){const A=!!C.pendingBranch;A&&C.deps++;const L=b.vnode.el;b.asyncDep.catch(I=>{at(I,b,0)}).then(I=>{if(b.isUnmounted||C.isUnmounted||C.pendingId!==b.suspenseId)return;b.asyncResolved=!0;const{vnode:D}=b;Un(b,I,!1),L&&(D.el=L);const Y=!L&&b.subTree.el;B(b,D,P(L||b.subTree.el),L?null:O(b.subTree),C,i,c),Y&&S(Y),es(b,D.el),A&&--C.deps===0&&C.resolve()})},unmount(b,B){C.isUnmounted=!0,C.activeBranch&&w(C.activeBranch,n,b,B),C.pendingBranch&&w(C.pendingBranch,n,b,B)}};return C}function ui(e,t,n,s,r,l,i,o,c){const a=t.suspense=ns(t,s,n,e.parentNode,document.createElement("div"),null,r,l,i,o,!0),d=c(e,a.pendingBranch=t.ssContent,n,a,l,i);return a.deps===0&&a.resolve(!1,!0),d}function ai(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=As(s?n.default:n),e.ssFallback=s?As(n.fallback):ne(de)}function As(e){let t;if($(e)){const n=ut&&e._c;n&&(e._d=!1,os()),e=e(),n&&(e._d=!0,t=Ee,$r())}return U(e)&&(e=ni(e)),e=Ce(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Tr(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):In(e)}function it(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,es(s,r))}function hi(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const di=Symbol.for("v-scx"),gi=()=>$t(di);function vo(e,t){return ss(e,null,t)}const Bt={};function xn(e,t,n){return ss(e,t,n)}function ss(e,t,{immediate:n,deep:s,flush:r,once:l,onTrack:i,onTrigger:o}=ee){if(t&&l){const b=t;t=(...B)=>{b(...B),C()}}const c=oe,a=b=>s===!0?b:Je(b,s===!1?1:void 0);let d,h=!1,_=!1;if(ae(e)?(d=()=>e.value,h=Gt(e)):rt(e)?(d=()=>a(e),h=!0):U(e)?(_=!0,h=e.some(b=>rt(b)||Gt(b)),d=()=>e.map(b=>{if(ae(b))return b.value;if(rt(b))return a(b);if($(b))return $e(b,c,2)})):$(e)?t?d=()=>$e(e,c,2):d=()=>(w&&w(),we(e,c,3,[O])):d=Te,t&&s){const b=d;d=()=>Je(b())}let w,O=b=>{w=g.onStop=()=>{$e(b,c,4),w=g.onStop=void 0}},P;if(Ft)if(O=Te,t?n&&we(t,c,3,[d(),_?[]:void 0,O]):d(),r==="sync"){const b=gi();P=b.__watcherHandles||(b.__watcherHandles=[])}else return Te;let S=_?new Array(e.length).fill(Bt):Bt;const W=()=>{if(!(!g.active||!g.dirty))if(t){const b=g.run();(s||h||(_?b.some((B,A)=>Ke(B,S[A])):Ke(b,S)))&&(w&&w(),we(t,c,3,[b,S===Bt?void 0:_&&S[0]===Bt?[]:S,O]),S=b)}else g.run()};W.allowRecurse=!!t;let K;r==="sync"?K=W:r==="post"?K=()=>ge(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),K=()=>on(W));const g=new Wn(d,Te,K),T=xl(),C=()=>{g.stop(),T&&$n(T.effects,g)};return t?n?W():S=g.run():r==="post"?ge(g.run.bind(g),c&&c.suspense):g.run(),P&&P.push(C),C}function pi(e,t,n){const s=this.proxy,r=le(e)?e.includes(".")?Er(s,e):()=>s[e]:e.bind(s,s);let l;$(t)?l=t:(l=t.handler,n=t);const i=wt(this),o=ss(r,l.bind(s),n);return i(),o}function Er(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function Je(e,t,n=0,s){if(!z(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),ae(e))Je(e.value,t,n,s);else if(U(e))for(let r=0;r<e.length;r++)Je(e[r],t,n,s);else if(Ds(e)||st(e))e.forEach(r=>{Je(r,t,n,s)});else if(qs(e))for(const r in e)Je(e[r],t,n,s);return e}function wo(e,t){if(re===null)return e;const n=an(re)||re.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[l,i,o,c=ee]=t[r];l&&($(l)&&(l={mounted:l,updated:l}),l.deep&&Je(i),s.push({dir:l,instance:n,value:i,oldValue:void 0,arg:o,modifiers:c}))}return e}function Re(e,t,n,s){const r=e.dirs,l=t&&t.dirs;for(let i=0;i<r.length;i++){const o=r[i];l&&(o.oldValue=l[i].value);let c=o.dir[s];c&&(Xe(),we(c,n,8,[e.el,o,e,t]),ze())}}const Se=Symbol("_leaveCb"),kt=Symbol("_enterCb");function _i(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ar(()=>{e.isMounted=!0}),Rr(()=>{e.isUnmounting=!0}),e}const be=[Function,Array],yi={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},mi={name:"BaseTransition",props:yi,setup(e,{slots:t}){const n=so(),s=_i();let r;return()=>{const l=t.default&&wr(t.default(),!0);if(!l||!l.length)return;let i=l[0];if(l.length>1){for(const P of l)if(P.type!==de){i=P;break}}const o=Z(e),{mode:c}=o;if(s.isLeaving)return Cn(i);const a=Rs(i);if(!a)return Cn(i);const d=Pn(a,o,s,n);Ln(a,d);const h=n.subTree,_=h&&Rs(h);let w=!1;const{getTransitionKey:O}=a.type;if(O){const P=O();r===void 0?r=P:P!==r&&(r=P,w=!0)}if(_&&_.type!==de&&(!Ie(a,_)||w)){const P=Pn(_,o,s,n);if(Ln(_,P),c==="out-in")return s.isLeaving=!0,P.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Cn(i);c==="in-out"&&a.type!==de&&(P.delayLeave=(S,W,K)=>{const g=vr(s,_);g[String(_.key)]=_,S[Se]=()=>{W(),S[Se]=void 0,delete d.delayedLeave},d.delayedLeave=K})}return i}}},Fo=mi;function vr(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 Pn(e,t,n,s){const{appear:r,mode:l,persisted:i=!1,onBeforeEnter:o,onEnter:c,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:h,onLeave:_,onAfterLeave:w,onLeaveCancelled:O,onBeforeAppear:P,onAppear:S,onAfterAppear:W,onAppearCancelled:K}=t,g=String(e.key),T=vr(n,e),C=(A,L)=>{A&&we(A,s,9,L)},b=(A,L)=>{const I=L[1];C(A,L),U(A)?A.every(D=>D.length<=1)&&I():A.length<=1&&I()},B={mode:l,persisted:i,beforeEnter(A){let L=o;if(!n.isMounted)if(r)L=P||o;else return;A[Se]&&A[Se](!0);const I=T[g];I&&Ie(e,I)&&I.el[Se]&&I.el[Se](),C(L,[A])},enter(A){let L=c,I=a,D=d;if(!n.isMounted)if(r)L=S||c,I=W||a,D=K||d;else return;let Y=!1;const Q=A[kt]=fe=>{Y||(Y=!0,fe?C(D,[A]):C(I,[A]),B.delayedLeave&&B.delayedLeave(),A[kt]=void 0)};L?b(L,[A,Q]):Q()},leave(A,L){const I=String(e.key);if(A[kt]&&A[kt](!0),n.isUnmounting)return L();C(h,[A]);let D=!1;const Y=A[Se]=Q=>{D||(D=!0,L(),Q?C(O,[A]):C(w,[A]),A[Se]=void 0,T[I]===e&&delete T[I])};T[I]=e,_?b(_,[A,Y]):Y()},clone(A){return Pn(A,t,n,s)}};return B}function Cn(e){if(vt(e))return e=We(e),e.children=null,e}function Rs(e){return vt(e)?e.children?e.children[0]:void 0:e}function Ln(e,t){e.shapeFlag&6&&e.component?Ln(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 wr(e,t=!1,n){let s=[],r=0;for(let l=0;l<e.length;l++){let i=e[l];const o=n==null?i.key:String(n)+String(i.key!=null?i.key:l);i.type===pe?(i.patchFlag&128&&r++,s=s.concat(wr(i.children,t,o))):(t||i.type!==de)&&s.push(o!=null?We(i,{key:o}):i)}if(r>1)for(let l=0;l<s.length;l++)s[l].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function bi(e,t){return $(e)?ue({name:e.name},t,{setup:e}):e}const ot=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ao(e){$(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:l,suspensible:i=!0,onError:o}=e;let c=null,a,d=0;const h=()=>(d++,c=null,_()),_=()=>{let w;return c||(w=c=t().catch(O=>{if(O=O instanceof Error?O:new Error(String(O)),o)return new Promise((P,S)=>{o(O,()=>P(h()),()=>S(O),d+1)});throw O}).then(O=>w!==c&&c?c:(O&&(O.__esModule||O[Symbol.toStringTag]==="Module")&&(O=O.default),a=O,O)))};return bi({name:"AsyncComponentWrapper",__asyncLoader:_,get __asyncResolved(){return a},setup(){const w=oe;if(a)return()=>Tn(a,w);const O=K=>{c=null,at(K,w,13,!s)};if(i&&w.suspense||Ft)return _().then(K=>()=>Tn(K,w)).catch(K=>(O(K),()=>s?ne(s,{error:K}):null));const P=Vt(!1),S=Vt(),W=Vt(!!r);return r&&setTimeout(()=>{W.value=!1},r),l!=null&&setTimeout(()=>{if(!P.value&&!S.value){const K=new Error(`Async component timed out after ${l}ms.`);O(K),S.value=K}},l),_().then(()=>{P.value=!0,w.parent&&vt(w.parent.vnode)&&(w.parent.effect.dirty=!0,on(w.parent.update))}).catch(K=>{O(K),S.value=K}),()=>{if(P.value&&a)return Tn(a,w);if(S.value&&s)return ne(s,{error:S.value});if(n&&!W.value)return ne(n)}}})}function Tn(e,t){const{ref:n,props:s,children:r,ce:l}=t.vnode,i=ne(e,s,r);return i.ref=n,i.ce=l,delete t.vnode.ce,i}const vt=e=>e.type.__isKeepAlive;function xi(e,t){Fr(e,"a",t)}function Ci(e,t){Fr(e,"da",t)}function Fr(e,t,n=oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(cn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)vt(r.parent.vnode)&&Ti(s,t,n,r),r=r.parent}}function Ti(e,t,n,s){const r=cn(t,e,s,!0);Or(()=>{$n(s[t],r)},n)}function cn(e,t,n=oe,s=!1){if(n){const r=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Xe();const o=wt(n),c=we(t,n,e,i);return o(),ze(),c});return s?r.unshift(l):r.push(l),l}}const ke=e=>(t,n=oe)=>(!Ft||e==="sp")&&cn(e,(...s)=>t(...s),n),Ei=ke("bm"),Ar=ke("m"),vi=ke("bu"),wi=ke("u"),Rr=ke("bum"),Or=ke("um"),Fi=ke("sp"),Ai=ke("rtg"),Ri=ke("rtc");function Oi(e,t=oe){cn("ec",e,t)}function Ro(e,t,n,s){let r;const l=n&&n[s];if(U(e)||le(e)){r=new Array(e.length);for(let i=0,o=e.length;i<o;i++)r[i]=t(e[i],i,void 0,l&&l[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,l&&l[i])}else if(z(e))if(e[Symbol.iterator])r=Array.from(e,(i,o)=>t(i,o,void 0,l&&l[o]));else{const i=Object.keys(e);r=new Array(i.length);for(let o=0,c=i.length;o<c;o++){const a=i[o];r[o]=t(e[a],a,o,l&&l[o])}}else r=[];return n&&(n[s]=r),r}function Oo(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(U(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const l=s.fn(...r);return l&&(l.key=s.key),l}:s.fn)}return e}function Io(e,t,n={},s,r){if(re.isCE||re.parent&&ot(re.parent)&&re.parent.isCE)return t!=="default"&&(n.name=t),ne("slot",n,s&&s());let l=e[t];l&&l._c&&(l._d=!1),os();const i=l&&Ir(l(n)),o=Kr(pe,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),l&&l._c&&(l._d=!0),o}function Ir(e){return e.some(t=>Tt(t)?!(t.type===de||t.type===pe&&!Ir(t.children)):!0)?e:null}const Bn=e=>e?Yr(e)?an(e)||e.proxy:Bn(e.parent):null,pt=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=>rs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,on(e.update)}),$nextTick:e=>e.n||(e.n=Zl.bind(e.proxy)),$watch:e=>pi.bind(e)}),En=(e,t)=>e!==ee&&!e.__isScriptSetup&&J(e,t),Ii={get({_:e},t){const{ctx:n,setupState:s,data:r,props:l,accessCache:i,type:o,appContext:c}=e;let a;if(t[0]!=="$"){const w=i[t];if(w!==void 0)switch(w){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return l[t]}else{if(En(s,t))return i[t]=1,s[t];if(r!==ee&&J(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&J(a,t))return i[t]=3,l[t];if(n!==ee&&J(n,t))return i[t]=4,n[t];kn&&(i[t]=0)}}const d=pt[t];let h,_;if(d)return t==="$attrs"&&_e(e,"get",t),d(e);if((h=o.__cssModules)&&(h=h[t]))return h;if(n!==ee&&J(n,t))return i[t]=4,n[t];if(_=c.config.globalProperties,J(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:l}=e;return En(r,t)?(r[t]=n,!0):s!==ee&&J(s,t)?(s[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:l}},i){let o;return!!n[i]||e!==ee&&J(e,i)||En(t,i)||(o=l[0])&&J(o,i)||J(s,i)||J(pt,i)||J(r.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 Os(e){return U(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let kn=!0;function Mi(e){const t=rs(e),n=e.proxy,s=e.ctx;kn=!1,t.beforeCreate&&Is(t.beforeCreate,e,"bc");const{data:r,computed:l,methods:i,watch:o,provide:c,inject:a,created:d,beforeMount:h,mounted:_,beforeUpdate:w,updated:O,activated:P,deactivated:S,beforeDestroy:W,beforeUnmount:K,destroyed:g,unmounted:T,render:C,renderTracked:b,renderTriggered:B,errorCaptured:A,serverPrefetch:L,expose:I,inheritAttrs:D,components:Y,directives:Q,filters:fe}=t;if(a&&Pi(a,s,null),i)for(const q in i){const j=i[q];$(j)&&(s[q]=j.bind(n))}if(r){const q=r.call(n,n);z(q)&&(e.data=Zn(q))}if(kn=!0,l)for(const q in l){const j=l[q],Me=$(j)?j.bind(n,n):$(j.get)?j.get.bind(n,n):Te,At=!$(j)&&$(j.set)?j.set.bind(n):Te,qe=uo({get:Me,set:At});Object.defineProperty(s,q,{enumerable:!0,configurable:!0,get:()=>qe.value,set:Fe=>qe.value=Fe})}if(o)for(const q in o)Mr(o[q],s,n,q);if(c){const q=$(c)?c.call(n):c;Reflect.ownKeys(q).forEach(j=>{Hi(j,q[j])})}d&&Is(d,e,"c");function k(q,j){U(j)?j.forEach(Me=>q(Me.bind(n))):j&&q(j.bind(n))}if(k(Ei,h),k(Ar,_),k(vi,w),k(wi,O),k(xi,P),k(Ci,S),k(Oi,A),k(Ri,b),k(Ai,B),k(Rr,K),k(Or,T),k(Fi,L),U(I))if(I.length){const q=e.exposed||(e.exposed={});I.forEach(j=>{Object.defineProperty(q,j,{get:()=>n[j],set:Me=>n[j]=Me})})}else e.exposed||(e.exposed={});C&&e.render===Te&&(e.render=C),D!=null&&(e.inheritAttrs=D),Y&&(e.components=Y),Q&&(e.directives=Q)}function Pi(e,t,n=Te){U(e)&&(e=Nn(e));for(const s in e){const r=e[s];let l;z(r)?"default"in r?l=$t(r.from||s,r.default,!0):l=$t(r.from||s):l=$t(r),ae(l)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>l.value,set:i=>l.value=i}):t[s]=l}}function Is(e,t,n){we(U(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mr(e,t,n,s){const r=s.includes(".")?Er(n,s):()=>n[s];if(le(e)){const l=t[e];$(l)&&xn(r,l)}else if($(e))xn(r,e.bind(n));else if(z(e))if(U(e))e.forEach(l=>Mr(l,t,n,s));else{const l=$(e.handler)?e.handler.bind(n):t[e.handler];$(l)&&xn(r,l,e)}}function rs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,o=l.get(t);let c;return o?c=o:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>Zt(c,a,i,!0)),Zt(c,t,i)),z(t)&&l.set(t,c),c}function Zt(e,t,n,s=!1){const{mixins:r,extends:l}=t;l&&Zt(e,l,n,!0),r&&r.forEach(i=>Zt(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const o=Li[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const Li={data:Ms,props:Ps,emits:Ps,methods:dt,computed:dt,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:dt,directives:dt,watch:ki,provide:Ms,inject:Bi};function Ms(e,t){return t?e?function(){return ue($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function Bi(e,t){return dt(Nn(e),Nn(t))}function Nn(e){if(U(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 dt(e,t){return e?ue(Object.create(null),e,t):t}function Ps(e,t){return e?U(e)&&U(t)?[...new Set([...e,...t])]:ue(Object.create(null),Os(e),Os(t??{})):t}function ki(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 Pr(){return{app:null,config:{isNativeTag:ll,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 Ni=0;function ji(e,t){return function(s,r=null){$(s)||(s=ue({},s)),r!=null&&!z(r)&&(r=null);const l=Pr(),i=new WeakSet;let o=!1;const c=l.app={_uid:Ni++,_component:s,_props:r,_container:null,_context:l,_instance:null,version:ao,get config(){return l.config},set config(a){},use(a,...d){return i.has(a)||(a&&$(a.install)?(i.add(a),a.install(c,...d)):$(a)&&(i.add(a),a(c,...d))),c},mixin(a){return l.mixins.includes(a)||l.mixins.push(a),c},component(a,d){return d?(l.components[a]=d,c):l.components[a]},directive(a,d){return d?(l.directives[a]=d,c):l.directives[a]},mount(a,d,h){if(!o){const _=ne(s,r);return _.appContext=l,h===!0?h="svg":h===!1&&(h=void 0),d&&t?t(_,a):e(_,a,h),o=!0,c._container=a,a.__vue_app__=c,an(_.component)||_.component.proxy}},unmount(){o&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,d){return l.provides[a]=d,c},runWithContext(a){Qt=c;try{return a()}finally{Qt=null}}};return c}}let Qt=null;function Hi(e,t){if(oe){let n=oe.provides;const s=oe.parent&&oe.parent.provides;s===n&&(n=oe.provides=Object.create(s)),n[e]=t}}function $t(e,t,n=!1){const s=oe||re;if(s||Qt){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Qt._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&$(t)?t.call(s&&s.proxy):t}}function Si(e,t,n,s=!1){const r={},l={};Wt(l,un,1),e.propsDefaults=Object.create(null),Lr(e,t,r,l);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Vl(r):e.type.props?e.props=r:e.props=l,e.attrs=l}function Ui(e,t,n,s){const{props:r,attrs:l,vnode:{patchFlag:i}}=e,o=Z(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let _=d[h];if(fn(e.emitsOptions,_))continue;const w=t[_];if(c)if(J(l,_))w!==l[_]&&(l[_]=w,a=!0);else{const O=Be(_);r[O]=jn(c,o,O,w,e,!1)}else w!==l[_]&&(l[_]=w,a=!0)}}}else{Lr(e,t,r,l)&&(a=!0);let d;for(const h in o)(!t||!J(t,h)&&((d=nn(h))===h||!J(t,d)))&&(c?n&&(n[h]!==void 0||n[d]!==void 0)&&(r[h]=jn(c,o,h,void 0,e,!0)):delete r[h]);if(l!==o)for(const h in l)(!t||!J(t,h))&&(delete l[h],a=!0)}a&&Le(e,"set","$attrs")}function Lr(e,t,n,s){const[r,l]=e.propsOptions;let i=!1,o;if(t)for(let c in t){if(gt(c))continue;const a=t[c];let d;r&&J(r,d=Be(c))?!l||!l.includes(d)?n[d]=a:(o||(o={}))[d]=a:fn(e.emitsOptions,c)||(!(c in s)||a!==s[c])&&(s[c]=a,i=!0)}if(l){const c=Z(n),a=o||ee;for(let d=0;d<l.length;d++){const h=l[d];n[h]=jn(r,c,h,a[h],e,!J(a,h))}}return i}function jn(e,t,n,s,r,l){const i=e[n];if(i!=null){const o=J(i,"default");if(o&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&$(c)){const{propsDefaults:a}=r;if(n in a)s=a[n];else{const d=wt(r);s=a[n]=c.call(null,t),d()}}else s=c}i[0]&&(l&&!o?s=!1:i[1]&&(s===""||s===nn(n))&&(s=!0))}return s}function Br(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const l=e.props,i={},o=[];let c=!1;if(!$(e)){const d=h=>{c=!0;const[_,w]=Br(h,t,!0);ue(i,_),w&&o.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!l&&!c)return z(e)&&s.set(e,nt),nt;if(U(l))for(let d=0;d<l.length;d++){const h=Be(l[d]);Ls(h)&&(i[h]=ee)}else if(l)for(const d in l){const h=Be(d);if(Ls(h)){const _=l[d],w=i[h]=U(_)||$(_)?{type:_}:ue({},_);if(w){const O=Ns(Boolean,w.type),P=Ns(String,w.type);w[0]=O>-1,w[1]=P<0||O<P,(O>-1||J(w,"default"))&&o.push(h)}}}const a=[i,o];return z(e)&&s.set(e,a),a}function Ls(e){return e[0]!=="$"}function Bs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ks(e,t){return Bs(e)===Bs(t)}function Ns(e,t){return U(t)?t.findIndex(n=>ks(n,e)):$(t)&&ks(t,e)?0:-1}const kr=e=>e[0]==="_"||e==="$stable",ls=e=>U(e)?e.map(Ce):[Ce(e)],Vi=(e,t,n)=>{if(t._n)return t;const s=ti((...r)=>ls(t(...r)),n);return s._c=!1,s},Nr=(e,t,n)=>{const s=e._ctx;for(const r in e){if(kr(r))continue;const l=e[r];if($(l))t[r]=Vi(r,l,s);else if(l!=null){const i=ls(l);t[r]=()=>i}}},jr=(e,t)=>{const n=ls(t);e.slots.default=()=>n},$i=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Z(t),Wt(t,"_",n)):Nr(t,e.slots={})}else e.slots={},t&&jr(e,t);Wt(e.slots,un,1)},Di=(e,t,n)=>{const{vnode:s,slots:r}=e;let l=!0,i=ee;if(s.shapeFlag&32){const o=t._;o?n&&o===1?l=!1:(ue(r,t),!n&&o===1&&delete r._):(l=!t.$stable,Nr(t,r)),i=t}else t&&(jr(e,t),i={default:1});if(l)for(const o in r)!kr(o)&&i[o]==null&&delete r[o]};function Xt(e,t,n,s,r=!1){if(U(e)){e.forEach((_,w)=>Xt(_,t&&(U(t)?t[w]:t),n,s,r));return}if(ot(s)&&!r)return;const l=s.shapeFlag&4?an(s.component)||s.component.proxy:s.el,i=r?null:l,{i:o,r:c}=e,a=t&&t.r,d=o.refs===ee?o.refs={}:o.refs,h=o.setupState;if(a!=null&&a!==c&&(le(a)?(d[a]=null,J(h,a)&&(h[a]=null)):ae(a)&&(a.value=null)),$(c))$e(c,o,12,[i,d]);else{const _=le(c),w=ae(c),O=e.f;if(_||w){const P=()=>{if(O){const S=_?J(h,c)?h[c]:d[c]:c.value;r?U(S)&&$n(S,l):U(S)?S.includes(l)||S.push(l):_?(d[c]=[l],J(h,c)&&(h[c]=d[c])):(c.value=[l],e.k&&(d[e.k]=c.value))}else _?(d[c]=i,J(h,c)&&(h[c]=i)):w&&(c.value=i,e.k&&(d[e.k]=i))};r||O?P():(P.id=-1,ge(P,n))}}}let je=!1;const Ki=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Wi=e=>e.namespaceURI.includes("MathML"),Nt=e=>{if(Ki(e))return"svg";if(Wi(e))return"mathml"},jt=e=>e.nodeType===8;function qi(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:l,parentNode:i,remove:o,insert:c,createComment:a}}=e,d=(g,T)=>{if(!T.hasChildNodes()){n(null,g,T),Yt(),T._vnode=g;return}je=!1,h(T.firstChild,g,null,null,null),Yt(),T._vnode=g,je&&console.error("Hydration completed but contains mismatches.")},h=(g,T,C,b,B,A=!1)=>{const L=jt(g)&&g.data==="[",I=()=>P(g,T,C,b,B,L),{type:D,ref:Y,shapeFlag:Q,patchFlag:fe}=T;let se=g.nodeType;T.el=g,fe===-2&&(A=!1,T.dynamicChildren=null);let k=null;switch(D){case ct:se!==3?T.children===""?(c(T.el=r(""),i(g),g),k=g):k=I():(g.data!==T.children&&(je=!0,g.data=T.children),k=l(g));break;case de:K(g)?(k=l(g),W(T.el=g.content.firstChild,g,C)):se!==8||L?k=I():k=l(g);break;case Dt:if(L&&(g=l(g),se=g.nodeType),se===1||se===3){k=g;const q=!T.children.length;for(let j=0;j<T.staticCount;j++)q&&(T.children+=k.nodeType===1?k.outerHTML:k.data),j===T.staticCount-1&&(T.anchor=k),k=l(k);return L?l(k):k}else I();break;case pe:L?k=O(g,T,C,b,B,A):k=I();break;default:if(Q&1)(se!==1||T.type.toLowerCase()!==g.tagName.toLowerCase())&&!K(g)?k=I():k=_(g,T,C,b,B,A);else if(Q&6){T.slotScopeIds=B;const q=i(g);if(L?k=S(g):jt(g)&&g.data==="teleport start"?k=S(g,g.data,"teleport end"):k=l(g),t(T,q,null,C,b,Nt(q),A),ot(T)){let j;L?(j=ne(pe),j.anchor=k?k.previousSibling:q.lastChild):j=g.nodeType===3?Gr(""):ne("div"),j.el=g,T.component.subTree=j}}else Q&64?se!==8?k=I():k=T.type.hydrate(g,T,C,b,B,A,e,w):Q&128&&(k=T.type.hydrate(g,T,C,b,Nt(i(g)),B,A,e,h))}return Y!=null&&Xt(Y,null,b,T),k},_=(g,T,C,b,B,A)=>{A=A||!!T.dynamicChildren;const{type:L,props:I,patchFlag:D,shapeFlag:Y,dirs:Q,transition:fe}=T,se=L==="input"||L==="option";if(se||D!==-1){Q&&Re(T,null,C,"created");let k=!1;if(K(g)){k=Sr(b,fe)&&C&&C.vnode.props&&C.vnode.props.appear;const j=g.content.firstChild;k&&fe.beforeEnter(j),W(j,g,C),T.el=g=j}if(Y&16&&!(I&&(I.innerHTML||I.textContent))){let j=w(g.firstChild,T,g,C,b,B,A);for(;j;){je=!0;const Me=j;j=j.nextSibling,o(Me)}}else Y&8&&g.textContent!==T.children&&(je=!0,g.textContent=T.children);if(I)if(se||!A||D&48)for(const j in I)(se&&(j.endsWith("value")||j==="indeterminate")||en(j)&&!gt(j)||j[0]===".")&&s(g,j,null,I[j],void 0,void 0,C);else I.onClick&&s(g,"onClick",null,I.onClick,void 0,void 0,C);let q;(q=I&&I.onVnodeBeforeMount)&&xe(q,C,T),Q&&Re(T,null,C,"beforeMount"),((q=I&&I.onVnodeMounted)||Q||k)&&Tr(()=>{q&&xe(q,C,T),k&&fe.enter(g),Q&&Re(T,null,C,"mounted")},b)}return g.nextSibling},w=(g,T,C,b,B,A,L)=>{L=L||!!T.dynamicChildren;const I=T.children,D=I.length;for(let Y=0;Y<D;Y++){const Q=L?I[Y]:I[Y]=Ce(I[Y]);if(g)g=h(g,Q,b,B,A,L);else{if(Q.type===ct&&!Q.children)continue;je=!0,n(null,Q,C,null,b,B,Nt(C),A)}}return g},O=(g,T,C,b,B,A)=>{const{slotScopeIds:L}=T;L&&(B=B?B.concat(L):L);const I=i(g),D=w(l(g),T,I,C,b,B,A);return D&&jt(D)&&D.data==="]"?l(T.anchor=D):(je=!0,c(T.anchor=a("]"),I,D),D)},P=(g,T,C,b,B,A)=>{if(je=!0,T.el=null,A){const D=S(g);for(;;){const Y=l(g);if(Y&&Y!==D)o(Y);else break}}const L=l(g),I=i(g);return o(g),n(null,T,I,L,C,b,Nt(I),B),L},S=(g,T="[",C="]")=>{let b=0;for(;g;)if(g=l(g),g&&jt(g)&&(g.data===T&&b++,g.data===C)){if(b===0)return l(g);b--}return g},W=(g,T,C)=>{const b=T.parentNode;b&&b.replaceChild(g,T);let B=C;for(;B;)B.vnode.el===T&&(B.vnode.el=B.subTree.el=g),B=B.parent},K=g=>g.nodeType===1&&g.tagName.toLowerCase()==="template";return[d,h]}const ge=Tr;function Mo(e){return Hr(e)}function Po(e){return Hr(e,qi)}function Hr(e,t){const n=Gs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:l,createElement:i,createText:o,createComment:c,setText:a,setElementText:d,parentNode:h,nextSibling:_,setScopeId:w=Te,insertStaticContent:O}=e,P=(f,u,p,y=null,m=null,v=null,R=void 0,E=null,F=!!u.dynamicChildren)=>{if(f===u)return;f&&!Ie(f,u)&&(y=Rt(f),Fe(f,m,v,!0),f=null),u.patchFlag===-2&&(F=!1,u.dynamicChildren=null);const{type:x,ref:M,shapeFlag:H}=u;switch(x){case ct:S(f,u,p,y);break;case de:W(f,u,p,y);break;case Dt:f==null&&K(u,p,y,R);break;case pe:Y(f,u,p,y,m,v,R,E,F);break;default:H&1?C(f,u,p,y,m,v,R,E,F):H&6?Q(f,u,p,y,m,v,R,E,F):(H&64||H&128)&&x.process(f,u,p,y,m,v,R,E,F,et)}M!=null&&m&&Xt(M,f&&f.ref,v,u||f,!u)},S=(f,u,p,y)=>{if(f==null)s(u.el=o(u.children),p,y);else{const m=u.el=f.el;u.children!==f.children&&a(m,u.children)}},W=(f,u,p,y)=>{f==null?s(u.el=c(u.children||""),p,y):u.el=f.el},K=(f,u,p,y)=>{[f.el,f.anchor]=O(f.children,u,p,y,f.el,f.anchor)},g=({el:f,anchor:u},p,y)=>{let m;for(;f&&f!==u;)m=_(f),s(f,p,y),f=m;s(u,p,y)},T=({el:f,anchor:u})=>{let p;for(;f&&f!==u;)p=_(f),r(f),f=p;r(u)},C=(f,u,p,y,m,v,R,E,F)=>{u.type==="svg"?R="svg":u.type==="math"&&(R="mathml"),f==null?b(u,p,y,m,v,R,E,F):L(f,u,m,v,R,E,F)},b=(f,u,p,y,m,v,R,E)=>{let F,x;const{props:M,shapeFlag:H,transition:N,dirs:V}=f;if(F=f.el=i(f.type,v,M&&M.is,M),H&8?d(F,f.children):H&16&&A(f.children,F,null,y,m,vn(f,v),R,E),V&&Re(f,null,y,"created"),B(F,f,f.scopeId,R,y),M){for(const X in M)X!=="value"&&!gt(X)&&l(F,X,null,M[X],v,f.children,y,m,Pe);"value"in M&&l(F,"value",null,M.value,v),(x=M.onVnodeBeforeMount)&&xe(x,y,f)}V&&Re(f,null,y,"beforeMount");const G=Sr(m,N);G&&N.beforeEnter(F),s(F,u,p),((x=M&&M.onVnodeMounted)||G||V)&&ge(()=>{x&&xe(x,y,f),G&&N.enter(F),V&&Re(f,null,y,"mounted")},m)},B=(f,u,p,y,m)=>{if(p&&w(f,p),y)for(let v=0;v<y.length;v++)w(f,y[v]);if(m){let v=m.subTree;if(u===v){const R=m.vnode;B(f,R,R.scopeId,R.slotScopeIds,m.parent)}}},A=(f,u,p,y,m,v,R,E,F=0)=>{for(let x=F;x<f.length;x++){const M=f[x]=E?Ue(f[x]):Ce(f[x]);P(null,M,u,p,y,m,v,R,E)}},L=(f,u,p,y,m,v,R)=>{const E=u.el=f.el;let{patchFlag:F,dynamicChildren:x,dirs:M}=u;F|=f.patchFlag&16;const H=f.props||ee,N=u.props||ee;let V;if(p&&Ge(p,!1),(V=N.onVnodeBeforeUpdate)&&xe(V,p,u,f),M&&Re(u,f,p,"beforeUpdate"),p&&Ge(p,!0),x?I(f.dynamicChildren,x,E,p,y,vn(u,m),v):R||j(f,u,E,null,p,y,vn(u,m),v,!1),F>0){if(F&16)D(E,u,H,N,p,y,m);else if(F&2&&H.class!==N.class&&l(E,"class",null,N.class,m),F&4&&l(E,"style",H.style,N.style,m),F&8){const G=u.dynamicProps;for(let X=0;X<G.length;X++){const te=G[X],ie=H[te],ve=N[te];(ve!==ie||te==="value")&&l(E,te,ie,ve,m,f.children,p,y,Pe)}}F&1&&f.children!==u.children&&d(E,u.children)}else!R&&x==null&&D(E,u,H,N,p,y,m);((V=N.onVnodeUpdated)||M)&&ge(()=>{V&&xe(V,p,u,f),M&&Re(u,f,p,"updated")},y)},I=(f,u,p,y,m,v,R)=>{for(let E=0;E<u.length;E++){const F=f[E],x=u[E],M=F.el&&(F.type===pe||!Ie(F,x)||F.shapeFlag&70)?h(F.el):p;P(F,x,M,null,y,m,v,R,!0)}},D=(f,u,p,y,m,v,R)=>{if(p!==y){if(p!==ee)for(const E in p)!gt(E)&&!(E in y)&&l(f,E,p[E],null,R,u.children,m,v,Pe);for(const E in y){if(gt(E))continue;const F=y[E],x=p[E];F!==x&&E!=="value"&&l(f,E,x,F,R,u.children,m,v,Pe)}"value"in y&&l(f,"value",p.value,y.value,R)}},Y=(f,u,p,y,m,v,R,E,F)=>{const x=u.el=f?f.el:o(""),M=u.anchor=f?f.anchor:o("");let{patchFlag:H,dynamicChildren:N,slotScopeIds:V}=u;V&&(E=E?E.concat(V):V),f==null?(s(x,p,y),s(M,p,y),A(u.children||[],p,M,m,v,R,E,F)):H>0&&H&64&&N&&f.dynamicChildren?(I(f.dynamicChildren,N,p,m,v,R,E),(u.key!=null||m&&u===m.subTree)&&is(f,u,!0)):j(f,u,p,M,m,v,R,E,F)},Q=(f,u,p,y,m,v,R,E,F)=>{u.slotScopeIds=E,f==null?u.shapeFlag&512?m.ctx.activate(u,p,y,R,F):fe(u,p,y,m,v,R,F):se(f,u,F)},fe=(f,u,p,y,m,v,R)=>{const E=f.component=no(f,y,m);if(vt(f)&&(E.ctx.renderer=et),ro(E),E.asyncDep){if(m&&m.registerDep(E,k),!f.el){const F=E.subTree=ne(de);W(null,F,u,p)}}else k(E,f,u,p,m,v,R)},se=(f,u,p)=>{const y=u.component=f.component;if(li(f,u,p))if(y.asyncDep&&!y.asyncResolved){q(y,u,p);return}else y.next=u,Xl(y.update),y.effect.dirty=!0,y.update();else u.el=f.el,y.vnode=u},k=(f,u,p,y,m,v,R)=>{const E=()=>{if(f.isMounted){let{next:M,bu:H,u:N,parent:V,vnode:G}=f;{const tt=Ur(f);if(tt){M&&(M.el=G.el,q(f,M,R)),tt.asyncDep.then(()=>{f.isUnmounted||E()});return}}let X=M,te;Ge(f,!1),M?(M.el=G.el,q(f,M,R)):M=G,H&&yn(H),(te=M.props&&M.props.onVnodeBeforeUpdate)&&xe(te,V,M,G),Ge(f,!0);const ie=bn(f),ve=f.subTree;f.subTree=ie,P(ve,ie,h(ve.el),Rt(ve),f,m,v),M.el=ie.el,X===null&&es(f,ie.el),N&&ge(N,m),(te=M.props&&M.props.onVnodeUpdated)&&ge(()=>xe(te,V,M,G),m)}else{let M;const{el:H,props:N}=u,{bm:V,m:G,parent:X}=f,te=ot(u);if(Ge(f,!1),V&&yn(V),!te&&(M=N&&N.onVnodeBeforeMount)&&xe(M,X,u),Ge(f,!0),H&&gn){const ie=()=>{f.subTree=bn(f),gn(H,f.subTree,f,m,null)};te?u.type.__asyncLoader().then(()=>!f.isUnmounted&&ie()):ie()}else{const ie=f.subTree=bn(f);P(null,ie,p,y,f,m,v),u.el=ie.el}if(G&&ge(G,m),!te&&(M=N&&N.onVnodeMounted)){const ie=u;ge(()=>xe(M,X,ie),m)}(u.shapeFlag&256||X&&ot(X.vnode)&&X.vnode.shapeFlag&256)&&f.a&&ge(f.a,m),f.isMounted=!0,u=p=y=null}},F=f.effect=new Wn(E,Te,()=>on(x),f.scope),x=f.update=()=>{F.dirty&&F.run()};x.id=f.uid,Ge(f,!0),x()},q=(f,u,p)=>{u.component=f;const y=f.vnode.props;f.vnode=u,f.next=null,Ui(f,u.props,y,p),Di(f,u.children,p),Xe(),vs(f),ze()},j=(f,u,p,y,m,v,R,E,F=!1)=>{const x=f&&f.children,M=f?f.shapeFlag:0,H=u.children,{patchFlag:N,shapeFlag:V}=u;if(N>0){if(N&128){At(x,H,p,y,m,v,R,E,F);return}else if(N&256){Me(x,H,p,y,m,v,R,E,F);return}}V&8?(M&16&&Pe(x,m,v),H!==x&&d(p,H)):M&16?V&16?At(x,H,p,y,m,v,R,E,F):Pe(x,m,v,!0):(M&8&&d(p,""),V&16&&A(H,p,y,m,v,R,E,F))},Me=(f,u,p,y,m,v,R,E,F)=>{f=f||nt,u=u||nt;const x=f.length,M=u.length,H=Math.min(x,M);let N;for(N=0;N<H;N++){const V=u[N]=F?Ue(u[N]):Ce(u[N]);P(f[N],V,p,null,m,v,R,E,F)}x>M?Pe(f,m,v,!0,!1,H):A(u,p,y,m,v,R,E,F,H)},At=(f,u,p,y,m,v,R,E,F)=>{let x=0;const M=u.length;let H=f.length-1,N=M-1;for(;x<=H&&x<=N;){const V=f[x],G=u[x]=F?Ue(u[x]):Ce(u[x]);if(Ie(V,G))P(V,G,p,null,m,v,R,E,F);else break;x++}for(;x<=H&&x<=N;){const V=f[H],G=u[N]=F?Ue(u[N]):Ce(u[N]);if(Ie(V,G))P(V,G,p,null,m,v,R,E,F);else break;H--,N--}if(x>H){if(x<=N){const V=N+1,G=V<M?u[V].el:y;for(;x<=N;)P(null,u[x]=F?Ue(u[x]):Ce(u[x]),p,G,m,v,R,E,F),x++}}else if(x>N)for(;x<=H;)Fe(f[x],m,v,!0),x++;else{const V=x,G=x,X=new Map;for(x=G;x<=N;x++){const ye=u[x]=F?Ue(u[x]):Ce(u[x]);ye.key!=null&&X.set(ye.key,x)}let te,ie=0;const ve=N-G+1;let tt=!1,as=0;const ht=new Array(ve);for(x=0;x<ve;x++)ht[x]=0;for(x=V;x<=H;x++){const ye=f[x];if(ie>=ve){Fe(ye,m,v,!0);continue}let Ae;if(ye.key!=null)Ae=X.get(ye.key);else for(te=G;te<=N;te++)if(ht[te-G]===0&&Ie(ye,u[te])){Ae=te;break}Ae===void 0?Fe(ye,m,v,!0):(ht[Ae-G]=x+1,Ae>=as?as=Ae:tt=!0,P(ye,u[Ae],p,null,m,v,R,E,F),ie++)}const hs=tt?Gi(ht):nt;for(te=hs.length-1,x=ve-1;x>=0;x--){const ye=G+x,Ae=u[ye],ds=ye+1<M?u[ye+1].el:y;ht[x]===0?P(null,Ae,p,ds,m,v,R,E,F):tt&&(te<0||x!==hs[te]?qe(Ae,p,ds,2):te--)}}},qe=(f,u,p,y,m=null)=>{const{el:v,type:R,transition:E,children:F,shapeFlag:x}=f;if(x&6){qe(f.component.subTree,u,p,y);return}if(x&128){f.suspense.move(u,p,y);return}if(x&64){R.move(f,u,p,et);return}if(R===pe){s(v,u,p);for(let H=0;H<F.length;H++)qe(F[H],u,p,y);s(f.anchor,u,p);return}if(R===Dt){g(f,u,p);return}if(y!==2&&x&1&&E)if(y===0)E.beforeEnter(v),s(v,u,p),ge(()=>E.enter(v),m);else{const{leave:H,delayLeave:N,afterLeave:V}=E,G=()=>s(v,u,p),X=()=>{H(v,()=>{G(),V&&V()})};N?N(v,G,X):X()}else s(v,u,p)},Fe=(f,u,p,y=!1,m=!1)=>{const{type:v,props:R,ref:E,children:F,dynamicChildren:x,shapeFlag:M,patchFlag:H,dirs:N}=f;if(E!=null&&Xt(E,null,p,f,!0),M&256){u.ctx.deactivate(f);return}const V=M&1&&N,G=!ot(f);let X;if(G&&(X=R&&R.onVnodeBeforeUnmount)&&xe(X,u,f),M&6)Qr(f.component,p,y);else{if(M&128){f.suspense.unmount(p,y);return}V&&Re(f,null,u,"beforeUnmount"),M&64?f.type.remove(f,u,p,m,et,y):x&&(v!==pe||H>0&&H&64)?Pe(x,u,p,!1,!0):(v===pe&&H&384||!m&&M&16)&&Pe(F,u,p),y&&cs(f)}(G&&(X=R&&R.onVnodeUnmounted)||V)&&ge(()=>{X&&xe(X,u,f),V&&Re(f,null,u,"unmounted")},p)},cs=f=>{const{type:u,el:p,anchor:y,transition:m}=f;if(u===pe){Zr(p,y);return}if(u===Dt){T(f);return}const v=()=>{r(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:R,delayLeave:E}=m,F=()=>R(p,v);E?E(f.el,v,F):F()}else v()},Zr=(f,u)=>{let p;for(;f!==u;)p=_(f),r(f),f=p;r(u)},Qr=(f,u,p)=>{const{bum:y,scope:m,update:v,subTree:R,um:E}=f;y&&yn(y),m.stop(),v&&(v.active=!1,Fe(R,f,u,p)),E&&ge(E,u),ge(()=>{f.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Pe=(f,u,p,y=!1,m=!1,v=0)=>{for(let R=v;R<f.length;R++)Fe(f[R],u,p,y,m)},Rt=f=>f.shapeFlag&6?Rt(f.component.subTree):f.shapeFlag&128?f.suspense.next():_(f.anchor||f.el);let hn=!1;const us=(f,u,p)=>{f==null?u._vnode&&Fe(u._vnode,null,null,!0):P(u._vnode||null,f,u,null,null,null,p),hn||(hn=!0,vs(),Yt(),hn=!1),u._vnode=f},et={p:P,um:Fe,m:qe,r:cs,mt:fe,mc:A,pc:j,pbc:I,n:Rt,o:e};let dn,gn;return t&&([dn,gn]=t(et)),{render:us,hydrate:dn,createApp:ji(us,dn)}}function vn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ge({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Sr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function is(e,t,n=!1){const s=e.children,r=t.children;if(U(s)&&U(r))for(let l=0;l<s.length;l++){const i=s[l];let o=r[l];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=r[l]=Ue(r[l]),o.el=i.el),n||is(i,o)),o.type===ct&&(o.el=i.el)}}function Gi(e){const t=e.slice(),n=[0];let s,r,l,i,o;const c=e.length;for(s=0;s<c;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(l=0,i=n.length-1;l<i;)o=l+i>>1,e[n[o]]<a?l=o+1:i=o;a<e[n[l]]&&(l>0&&(t[s]=n[l-1]),n[l]=s)}}for(l=n.length,i=n[l-1];l-- >0;)n[l]=i,i=t[i];return n}function Ur(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ur(t)}const Yi=e=>e.__isTeleport,_t=e=>e&&(e.disabled||e.disabled===""),js=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Hs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Hn=(e,t)=>{const n=e&&e.to;return le(n)?t?t(n):null:n},Ji={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,l,i,o,c,a){const{mc:d,pc:h,pbc:_,o:{insert:w,querySelector:O,createText:P,createComment:S}}=a,W=_t(t.props);let{shapeFlag:K,children:g,dynamicChildren:T}=t;if(e==null){const C=t.el=P(""),b=t.anchor=P("");w(C,n,s),w(b,n,s);const B=t.target=Hn(t.props,O),A=t.targetAnchor=P("");B&&(w(A,B),i==="svg"||js(B)?i="svg":(i==="mathml"||Hs(B))&&(i="mathml"));const L=(I,D)=>{K&16&&d(g,I,D,r,l,i,o,c)};W?L(n,b):B&&L(B,A)}else{t.el=e.el;const C=t.anchor=e.anchor,b=t.target=e.target,B=t.targetAnchor=e.targetAnchor,A=_t(e.props),L=A?n:b,I=A?C:B;if(i==="svg"||js(b)?i="svg":(i==="mathml"||Hs(b))&&(i="mathml"),T?(_(e.dynamicChildren,T,L,r,l,i,o),is(e,t,!0)):c||h(e,t,L,I,r,l,i,o,!1),W)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ht(t,n,C,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const D=t.target=Hn(t.props,O);D&&Ht(t,D,null,a,0)}else A&&Ht(t,b,B,a,1)}Vr(t)},remove(e,t,n,s,{um:r,o:{remove:l}},i){const{shapeFlag:o,children:c,anchor:a,targetAnchor:d,target:h,props:_}=e;if(h&&l(d),i&&l(a),o&16){const w=i||!_t(_);for(let O=0;O<c.length;O++){const P=c[O];r(P,t,n,w,!!P.dynamicChildren)}}},move:Ht,hydrate:Zi};function Ht(e,t,n,{o:{insert:s},m:r},l=2){l===0&&s(e.targetAnchor,t,n);const{el:i,anchor:o,shapeFlag:c,children:a,props:d}=e,h=l===2;if(h&&s(i,t,n),(!h||_t(d))&&c&16)for(let _=0;_<a.length;_++)r(a[_],t,n,2);h&&s(o,t,n)}function Zi(e,t,n,s,r,l,{o:{nextSibling:i,parentNode:o,querySelector:c}},a){const d=t.target=Hn(t.props,c);if(d){const h=d._lpa||d.firstChild;if(t.shapeFlag&16)if(_t(t.props))t.anchor=a(i(e),t,o(e),n,s,r,l),t.targetAnchor=h;else{t.anchor=i(e);let _=h;for(;_;)if(_=i(_),_&&_.nodeType===8&&_.data==="teleport anchor"){t.targetAnchor=_,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}a(h,t,d,n,s,r,l)}Vr(t)}return t.anchor&&i(t.anchor)}const Lo=Ji;function Vr(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 pe=Symbol.for("v-fgt"),ct=Symbol.for("v-txt"),de=Symbol.for("v-cmt"),Dt=Symbol.for("v-stc"),yt=[];let Ee=null;function os(e=!1){yt.push(Ee=e?null:[])}function $r(){yt.pop(),Ee=yt[yt.length-1]||null}let ut=1;function Ss(e){ut+=e}function Dr(e){return e.dynamicChildren=ut>0?Ee||nt:null,$r(),ut>0&&Ee&&Ee.push(e),e}function Bo(e,t,n,s,r,l){return Dr(qr(e,t,n,s,r,l,!0))}function Kr(e,t,n,s,r){return Dr(ne(e,t,n,s,r,!0))}function Tt(e){return e?e.__v_isVNode===!0:!1}function Ie(e,t){return e.type===t.type&&e.key===t.key}const un="__vInternal",Wr=({key:e})=>e??null,Kt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||ae(e)||$(e)?{i:re,r:e,k:t,f:!!n}:e:null);function qr(e,t=null,n=null,s=0,r=null,l=e===pe?0:1,i=!1,o=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wr(t),ref:t&&Kt(t),scopeId:br,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:l,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:re};return o?(fs(c,n),l&128&&e.normalize(c)):n&&(c.shapeFlag|=le(n)?8:16),ut>0&&!i&&Ee&&(c.patchFlag>0||l&6)&&c.patchFlag!==32&&Ee.push(c),c}const ne=Qi;function Qi(e,t=null,n=null,s=0,r=null,l=!1){if((!e||e===xr)&&(e=de),Tt(e)){const o=We(e,t,!0);return n&&fs(o,n),ut>0&&!l&&Ee&&(o.shapeFlag&6?Ee[Ee.indexOf(e)]=o:Ee.push(o)),o.patchFlag|=-2,o}if(co(e)&&(e=e.__vccOpts),t){t=Xi(t);let{class:o,style:c}=t;o&&!le(o)&&(t.class=rn(o)),z(c)&&(cr(c)&&!U(c)&&(c=ue({},c)),t.style=sn(c))}const i=le(e)?1:ii(e)?128:Yi(e)?64:z(e)?4:$(e)?2:0;return qr(e,t,n,s,r,i,l,!0)}function Xi(e){return e?cr(e)||un in e?ue({},e):e:null}function We(e,t,n=!1){const{props:s,ref:r,patchFlag:l,children:i}=e,o=t?zi(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&Wr(o),ref:t&&t.ref?n&&r?U(r)?r.concat(Kt(t)):[r,Kt(t)]:Kt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&We(e.ssContent),ssFallback:e.ssFallback&&We(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Gr(e=" ",t=0){return ne(ct,null,e,t)}function ko(e="",t=!1){return t?(os(),Kr(de,null,e)):ne(de,null,e)}function Ce(e){return e==null||typeof e=="boolean"?ne(de):U(e)?ne(pe,null,e.slice()):typeof e=="object"?Ue(e):ne(ct,null,String(e))}function Ue(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:We(e)}function fs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),fs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(un in t)?t._ctx=re:r===3&&re&&(re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:re},n=32):(t=String(t),s&64?(n=16,t=[Gr(t)]):n=8);e.children=t,e.shapeFlag|=n}function zi(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=rn([t.class,s.class]));else if(r==="style")t.style=sn([t.style,s.style]);else if(en(r)){const l=t[r],i=s[r];i&&l!==i&&!(U(l)&&l.includes(i))&&(t[r]=l?[].concat(l,i):i)}else r!==""&&(t[r]=s[r])}return t}function xe(e,t,n,s=null){we(e,t,7,[n,s])}const eo=Pr();let to=0;function no(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||eo,l={uid:to++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ml(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Br(s,r),emitsOptions:mr(s,r),emit:null,emitted:null,propsDefaults:ee,inheritAttrs:s.inheritAttrs,ctx:ee,data:ee,props:ee,attrs:ee,slots:ee,refs:ee,setupState:ee,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 l.ctx={_:l},l.root=t?t.root:l,l.emit=ei.bind(null,l),e.ce&&e.ce(l),l}let oe=null;const so=()=>oe||re;let zt,Sn;{const e=Gs(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),l=>{r.length>1?r.forEach(i=>i(l)):r[0](l)}};zt=t("__VUE_INSTANCE_SETTERS__",n=>oe=n),Sn=t("__VUE_SSR_SETTERS__",n=>Ft=n)}const wt=e=>{const t=oe;return zt(e),e.scope.on(),()=>{e.scope.off(),zt(t)}},Us=()=>{oe&&oe.scope.off(),zt(null)};function Yr(e){return e.vnode.shapeFlag&4}let Ft=!1;function ro(e,t=!1){t&&Sn(t);const{props:n,children:s}=e.vnode,r=Yr(e);Si(e,n,r,t),$i(e,s);const l=r?lo(e,t):void 0;return t&&Sn(!1),l}function lo(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ur(new Proxy(e.ctx,Ii));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?oo(e):null,l=wt(e);Xe();const i=$e(s,e,0,[e.props,r]);if(ze(),l(),Ks(i)){if(i.then(Us,Us),t)return i.then(o=>{Un(e,o,t)}).catch(o=>{at(o,e,0)});e.asyncDep=i}else Un(e,i,t)}else Jr(e,t)}function Un(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:z(t)&&(e.setupState=gr(t)),Jr(e,n)}let Vs;function Jr(e,t,n){const s=e.type;if(!e.render){if(!t&&Vs&&!s.render){const r=s.template||rs(e).template;if(r){const{isCustomElement:l,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:c}=s,a=ue(ue({isCustomElement:l,delimiters:o},i),c);s.render=Vs(r,a)}}e.render=s.render||Te}{const r=wt(e);Xe();try{Mi(e)}finally{ze(),r()}}}function io(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return _e(e,"get","$attrs"),t[n]}}))}function oo(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return io(e)},slots:e.slots,emit:e.emit,expose:t}}function an(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gr(ur(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in pt)return pt[n](e)},has(t,n){return n in t||n in pt}}))}function fo(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function co(e){return $(e)&&"__vccOpts"in e}const uo=(e,t)=>$l(e,t,Ft);function No(e,t,n){const s=arguments.length;return s===2?z(t)&&!U(t)?Tt(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Tt(n)&&(n=[n]),ne(e,t,n))}const ao="3.4.15";export{Kr as $,we as A,Fo as B,pn as C,Xr as D,Zl as E,Kl as F,fr as G,Ar as H,so as I,xl as J,mo as K,Vl as L,Co as M,os as N,Bo as O,yo as P,ko as Q,qr as R,Gr as S,rn as T,ne as U,ti as V,wo as W,pe as X,Ro as Y,Io as Z,ho as _,Vt as a,To as a0,zi as a1,go as a2,Xi as a3,$t as a4,Hi as a5,xo as a6,Ss as a7,sn as a8,Or as a9,vo as aa,Z as ab,Rr as ac,Eo as ad,Lo as ae,Ao as af,We as ag,Oo as ah,le as b,uo as c,bi as d,Mo as e,Po as f,U as g,yn as h,$ as i,Ys as j,No as k,ul as l,ue as m,yi as n,z as o,en as p,$s as q,Zn as r,bo as s,al as t,nn as u,Be as v,xn as w,Kn as x,po as y,_o as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let t,s;t=navigator.userAgent,s=document.body?document.body.offsetWidth:window.screen.width;const g=/Android|iPhone|iPad|iPod|webOS/i.test(t),p=s<640,d=s>=1024,o=["whatsapp","instagram","facebook","twitter","youtube","tiktok","pinterest","threads"],a={},c=()=>{if(!globalThis.$storefront)return;const{settings:e}=globalThis.$storefront;o.forEach(r=>{e[r]&&(a[r]=e[r])})};c();globalThis.__sfId=typeof globalThis.__sfId=="number"?globalThis.__sfId:-1;const f=()=>String(++globalThis.__sfId),u=(e,r=300)=>{typeof window.requestIdleCallback=="function"?window.requestIdleCallback(e):setTimeout(e,r)},l=e=>e.replace(/[ÁáÃãÂâÀà]/g,"a").replace(/[ÉéÊê]/g,"e").replace(/[Íí]/g,"i").replace(/[ÕõÓóÔô]/g,"o").replace(/[Úú]/g,"u").replace(/[Çç]/g,"c"),b=e=>l(e.trim()).toLowerCase().replace(/[\W\r\n]/gm,"-").replace(/-{2,}/g,"-").replace(/(^-)|(-$)/g,""),n=e=>e.toLowerCase().replace(/Á/g,"á").replace(/Ã/g,"ã").replace(/Â/g,"â").replace(/À/g,"à").replace(/É/g,"é").replace(/Ê/g,"ê").replace(/Í/g,"í").replace(/Õ/g,"õ").replace(/Ó/g,"ó").replace(/Ô/g,"ô").replace(/Ú/g,"ú").replace(/Ç/g,"ç"),i=e=>n(e.trim()).replace(/[\r\n]/gm," ").replace(/[^\w-&%áãâàéêíõóôúç]/g," ").replace(/\s{2,}/g," "),w=(e,r="/s/")=>`${r}${encodeURIComponent(i(e))}`,h=(e,r=0)=>{for(;e.offsetParent;)r+=e.offsetTop,e=e.offsetParent;return window.scroll({top:r,behavior:"smooth"})};export{h as a,g as b,l as c,p as d,a as e,w as g,d as i,u as r,b as s,f as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as _}from"./customer-session.TRPGDX3c.js";import{u as l}from"./index.q6KIyKlJ.js";import{g as y}from"./price.Easct8WC.js";import{c as m,w as g}from"./runtime-core.esm-bundler.XTSAdOlw.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:y(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=m(()=>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=l(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);g(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 $,d as b,c as C}from"./customer-session.TRPGDX3c.js";import{c as T}from"./shopping-cart.ATTXCPd0.js";import{a as u,r as G,c as w,L as E,w as v}from"./runtime-core.esm-bundler.XTSAdOlw.js";import{u as N,g as R}from"./index.q6KIyKlJ.js";import{u as x}from"./afetch.5c8VmT0-.js";import{g as P}from"./name.urFqJ5yn.js";import{g as A}from"./price.Easct8WC.js";const L="ecomSeachHistory",f=S(L,[]);for(let t=0;t<f.length;t++)typeof f[t]!="string"&&(f.splice(t,1),t-=1);const M=async({term:t,params:s,fields:n,url:i="search/v1"})=>{if(typeof t=="string"&&(t=t.trim(),t.length<2))return{data:{result:[],meta:null}};const a=await $.get(i,{fields:n,params:t?{...s,term:t}:s});if(t&&a.data.result.length){const r=t,c=f.findIndex(e=>e.includes(r)&&!e.replace(r,"").includes(" "));if(c>-1){const e=f[c];f.splice(c,1),f.unshift(e)}else{const e=f.findIndex(o=>r.startsWith(o));e>-1&&f.splice(e,1),f.unshift(t)}for(;f.length>20;)f.pop()}return a};class K{fields;term=u(null);isWithCount=u(!0);isWithBuckets=u(!0);params=G({});pageSize=u(24);pageNumber=u(1);#i=u(!1);isFetching=w(()=>this.#i.value);#e=u(!1);wasFetched=w(()=>this.#e.value);#s=u(null);#t;fetching=w(()=>this.#s.value);#a=u(null);fetchError=w(()=>this.#a.value);products=E([]);meta=E({offset:0,limit:0,fields:[],sort:[],query:{}});#n;constructor({fields:s,debounce:n=150}={}){this.fields=s,this.#n=N(i=>(this.#i.value=!0,M(i)),n),v([this.term,this.params,this.pageSize],()=>{this.wasFetched.value&&(this.pageNumber.value=1,this.#e.value=!1)}),v(this.pageNumber,()=>{this.#e.value=!1})}async fetch(s){s!==void 0&&s!==this.term.value&&(this.term.value=s,this.pageNumber.value=1);const n=this.pageSize.value,i=n*(this.pageNumber.value-1);this.#s.value||(this.#s.value=new Promise(r=>{this.#t=r}));let a;try{a=await this.#n({term:this.term.value,params:{...this.params,limit:n,offset:i,count:this.isWithCount.value||void 0,buckets:this.isWithBuckets.value||void 0},fields:this.fields})}catch(r){throw this.#t&&(this.#a.value=r,this.#t()),r}if(a){this.#i.value=!1,this.#e.value=!0;const{data:r}=a;r.meta&&this.setResult(r),this.#t&&this.#t()}}setResult(s){s.meta&&Object.assign(this.meta,s.meta),s.result&&(this.products.splice(0),s.result.forEach(n=>this.products.push(n))),s.meta&&s.result&&setTimeout(()=>{this.#e.value=!0},9)}}const l={},h={},I=()=>{h.resolve||(h.waiting=new Promise(t=>{h.resolve=t}))};I();const B=()=>({page_location:window.location.toString(),language:globalThis.$storefront.settings.lang||"pt_br",page_title:document.title,user_agent:navigator.userAgent}),F=()=>({...h.params||B(),...l,user_id:C.value._id,utm:x}),y="GtagEvent";let d={},g="";const _=async(t,s)=>{const n=s;if(t==="page_view"){d={};const{apiContext:i}=window.$storefront;if(g="",i){const{name:a}=i.doc;switch(i.resource){case"categories":g=`Category: ${a}`;break;case"brands":g=`Brand: ${a}`;break;case"collections":g=`Collection: ${a}`;break}}else{const{pathname:a}=window.location;a==="/"?g="Home":(/^\/s\/?/.test(a)||a==="/search"||a==="/busca")&&(g="Search results")}h.resolve&&(h.params=s,h.resolve(),h.resolve=null)}else h.waiting&&await h.waiting,t==="view_item"&&n.items?.forEach(i=>{if(i.index!==void 0)return;if(!i.item_list_id&&!i.item_list_name){const{apiContext:r}=window.$storefront;r?.doc._id===i.object_id&&(i.item_list_id="product-page",i.item_list_name="Product page")}const a=i.item_list_id||i.item_list_name||g;a&&(d[a]?d[a]+=1:d[a]=1,i.index=d[a],!i.item_list_id&&!i.item_list_name&&(i.item_list_name=a))}),typeof n.value=="number"&&!n.currency&&(n.currency=window.ECOM_CURRENCY||"BRL");try{const i={type:y,...F(),event:{name:t,params:n}};window.postMessage(i,window.origin)}catch(i){console.error(i)}},O=t=>{window.addEventListener("message",({data:s})=>{s.type===y&&t(s)})},V=t=>{const[s,...n]=P(t).split(" / "),i={item_name:s,item_id:t.sku,price:Math.round(A(t)*100)/100,object_id:t._id};n&&n.length?i.item_variant=n.join(" / "):t.variation_id&&(i.item_name=s.replace(window.__customGTMVariantRegex||/\s[^\s]+$/,""),i.item_variant=s.replace(i.item_name,"").trim()),(t.quantity===0||t.quantity&&t.product_id)&&(i.quantity=t.quantity);const{brands:a,categories:r}=t;if(a?.length&&(i.item_brand=a[0].name),r?.length)for(let c=0;c<r.length;c++){const{name:e}=r[c];if(c===0)i.item_category=e;else if(i[`item_category${c+1}`]=e,c===4)break}return i},Y=({experimentId:t=window.AB_EXPERIMENT_ID}={})=>{document.addEventListener("astro:beforeload",I);const{gtag:s,GTAG_TAG_ID:n,GA_TRACKING_ID:i}=window,a=n||i;if(typeof s=="function"){a&&["client_id","session_id","gclid"].forEach(o=>{s("get",a,o,m=>{l[o==="gclid"?o:`g_${o}`]=m})});const{GIT_BRANCH:e}=window;if(e){const o=t?`${t}-${window.GIT_BRANCH}`:e.startsWith("main-")&&e;o&&s("event","experience_impression",{exp_variant_string:o})}}const r=new URL(window.location.toString());["gclid","fbclid","ttclid"].forEach(e=>{const o=l[e]||r.searchParams.get(e);o?(l[e]=o,sessionStorage.setItem(`analytics_${e}`,o)):l[e]=sessionStorage.getItem(`analytics_${e}`)||void 0});const c=["_fbp"];l.fbclid||c.push("_fbc"),l.g_client_id||c.push("_ga"),c.forEach(e=>{document.cookie.split(";").forEach(o=>{const[m,p]=o.split("=");if(m.trim()===e&&p)switch(e){case"_fbp":l.fbp=p;break;case"_fbc":l.fbclid=p;break;case"_ga":l.g_client_id=p.substring(6);break}})}),["client_id","session_id"].forEach(e=>{const o=e==="client_id"?localStorage:sessionStorage,m=o.getItem(`analytics_${e}`);m?l[e]=m:l[e]=l[`g_${e}`]||`${Math.ceil(Math.random()*1e6)}.${Math.ceil(Math.random()*1e6)}`,o.setItem(`analytics_${e}`,l[e])}),b.value?_("login",{}):R(b,()=>_("login",{})),T.on("*",(e,o)=>{_(e==="addCartItem"?"add_to_cart":"remove_from_cart",{items:[V(o)]})}),v(f,()=>{const e=f[0];e&&_("search",{search_term:e})}),window.location.pathname.startsWith("/s")&&setTimeout(()=>{let e=new URLSearchParams(window.location.search).get("q");e||(e=decodeURIComponent(window.location.pathname.split("/")[2])),e&&typeof e=="string"&&_("view_search_results",{search_term:e})},300)};export{K as S,F as a,B as b,_ as e,V as g,f as s,l as t,Y as u,O as w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as k}from"./customer-session.TRPGDX3c.js";import{s as p}from"./sf-utils.luvTU5uS.js";import{e as I,g as P}from"./use-analytics.WpkjGsWi.js";import{g,c as w}from"./price.Easct8WC.js";import"./index.q6KIyKlJ.js";import{a as f,L as N,c as n}from"./runtime-core.esm-bundler.XTSAdOlw.js";import{g as q}from"./name.urFqJ5yn.js";import{g as E}from"./img.WnsidxCx.js";const O=t=>t&&t.min_quantity||1,S=O,$=t=>!t.hasOwnProperty("quantity")||t.quantity>=S(t),G=$,M=t=>{const a=f(!1);let s=null;const c=f(null),{productId:r}=t,e=N({...t.product,_id:t.product?._id||r,price:g(t.product||{})});!t.product&&r&&(a.value=!0,s=(async()=>{try{const{data:i}=await k.get(`products/${r}`);Object.assign(e,i)}catch(i){console.error(i),c.value=i}a.value=!1})());const d=n(()=>q(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=E(b);l&&m.push(l)}),m}),o=n(()=>G(e)),u=n(()=>o.value&&e.available&&e.visible),_=n(()=>{if(w(e)){const i=e.base_price;return Math.round((i-g(e))*100/i)}return 0}),y=n(()=>e.has_variations?!0:!!e.variations?.length);return I("view_item",{value:u.value?e.price:0,items:[{...P(e),item_list_name:t.listName,item_list_id:t.listId||t.listName&&p(t.listName)}]}),{isFetching:a,fetching:s,fetchError:c,product:e,title:d,link:h,images:v,isInStock:o,isActive:u,discountPercentage:_,hasVariations:y}};export{G as c,M as u};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{_ as Q,w as Z,v as J}from"./_plugin-vue_export-helper.SO-0jCqa.js";import{d as V,a as w,w as P,a6 as A,c as y,E as W,M as ee,N as b,$ as T,V as _,T as D,a8 as te,Z as j,O as F,Q as E,R as B,ae as ne,U as re,W as le,aa as k,H as ae,ag as oe,k as ie,X as se,a4 as ue,a5 as ce}from"./runtime-core.esm-bundler.XTSAdOlw.js";const de=V({__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:n,emit:t}){n();const r=e,a=t,l=()=>a("update:modelValue",!1),o=w(null),i=h=>{if(!o.value?.contains(h.target)){if(r.anchorEl?.contains(h.target))return;l()}},m=h=>{h.key==="Escape"&&l()},s=w(0);P(A(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",m,{passive:!0})},500)):(r.canLockScroll&&(document.body.style.overflow="",document.body.style.paddingRight=""),document.removeEventListener("click",i),document.removeEventListener("keydown",m))});const u=y(()=>{if(r.animation!=="slide")return null;switch(r.placement){case"start":return"left";case"end":return"right";case"top":return"down";default:return"up"}}),d=w(null);r.animation==="scale"&&P(A(r,"modelValue"),h=>{h?W(()=>{setTimeout(()=>{d.value="transition",setTimeout(()=>{r.modelValue&&(d.value="")},300)},50)}):d.value="transition scale-90"},{immediate:!0});const p=y(()=>Array.isArray(r.class)?r.class:[r.class]),v=y(()=>r.position==="fixed"),c=y(()=>r.placement==="start"||r.placement==="end"),f={props:r,emit:a,close:l,drawer:o,outsideClickListener:i,escClickListener:m,scrollbarWidth:s,slideTo:u,animationClassName:d,customClassList:p,isFixed:v,isPlacementX:c};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}}),fe=["open","data-drawer"],me={class:"relative h-full"},ve=B("i",{class:"m-0 text-3xl text-base-400 i-close hover:text-base-600"},null,-1),pe={key:0,class:"size-screen fixed left-0 top-0 z-30 bg-black/50","data-drawer-backdrop":""};function he(e,n,t,r,a,l){const o=ee("Fade");return b(),T(o,{slide:r.slideTo,speed:"slow","is-floating":""},{default:_(()=>[t.modelValue?le((b(),F("dialog",{key:0,ref:"drawer",class:D(["z-40 w-screen p-0",[t.position,r.isPlacementX?"m-0":"mx-auto",r.isPlacementX&&!t.maxWidth?"max-w-sm":null,r.isFixed?`top-0 ${r.isPlacementX?"h-screen":"max-h-screen"}`:null,r.isFixed&&t.placement!=="end"?"left-0":null,r.isFixed&&t.placement==="end"?"left-auto right-0":null,r.animationClassName,...r.customClassList]]),style:te({maxWidth:t.maxWidth?`min(${t.maxWidth}, calc(100vw - ${r.scrollbarWidth}px))`:r.isPlacementX?void 0:`calc(100vw - ${r.scrollbarWidth}px)`}),open:t.modelValue,"data-drawer":t.placement},[B("div",me,[t.hasCloseButton?(b(),F("button",{key:0,type:"button","aria-label":"Fechar",onClick:Z(r.close,["prevent"]),class:D(["absolute top-2 z-30 rounded",t.placement==="end"?"left-2":"right-2"]),"data-drawer-close":""},[j(e.$slots,"close",{},()=>[ve])],2)):E("",!0),j(e.$slots,"default")]),t.backdropTarget?(b(),T(ne,{key:0,to:t.backdropTarget},[re(o,null,{default:_(()=>[t.modelValue&&!t.isHidden?(b(),F("div",pe)):E("",!0)]),_:1})],8,["to"])):E("",!0)],14,fe)),[[J,!t.isHidden]]):E("",!0)]),_:3},8,["slide"])}const Ge=Q(de,[["render",he]]);let we=0;function ge(){return++we}function qe(){return ge()}function g(e){var n;if(e==null||e.value==null)return null;let t=(n=e.value.$el)!=null?n:e.value;return t instanceof Node?t:null}function L(e,n,...t){if(e in n){let a=n[e];return typeof a=="function"?a(...t):a}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,L),r}var be=Object.defineProperty,ye=(e,n,t)=>n in e?be(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,C=(e,n,t)=>(ye(e,typeof n!="symbol"?n+"":n,t),t);let Ee=class{constructor(){C(this,"current",this.detect()),C(this,"currentId",0)}set(n){this.current!==n&&(this.currentId=0,this.current=n)}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"}},O=new Ee;function R(e){if(O.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let n=g(e);if(n)return n.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 xe=(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))(xe||{}),Fe=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Fe||{}),Ne=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Ne||{});function U(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(S)).sort((n,t)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var X=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(X||{});function z(e,n=0){var t;return e===((t=R(e))==null?void 0:t.body)?!1:L(n,{0(){return e.matches(S)},1(){let r=e;for(;r!==null;){if(r.matches(S))return!0;r=r.parentElement}return!1}})}function Qe(e){let n=R(e);W(()=>{n&&!z(n.activeElement,0)&&ke(e)})}var Se=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Se||{});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 ke(e){e?.focus({preventScroll:!0})}let Le=["textarea","input"].join(",");function Oe(e){var n,t;return(t=(n=e?.matches)==null?void 0:n.call(e,Le))!=null?t:!1}function Pe(e,n=t=>t){return e.slice().sort((t,r)=>{let a=n(t),l=n(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 Ze(e,n){return Ae(U(),n,{relativeTo:e})}function Ae(e,n,{sorted:t=!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)?t?Pe(e):e:U(e);a.length>0&&i.length>1&&(i=i.filter(c=>!a.includes(c))),r=r??o.activeElement;let m=(()=>{if(n&5)return 1;if(n&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(n&1)return 0;if(n&2)return Math.max(0,i.indexOf(r))-1;if(n&4)return Math.max(0,i.indexOf(r))+1;if(n&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=n&32?{preventScroll:!0}:{},d=0,p=i.length,v;do{if(d>=p||d+p<=0)return 0;let c=s+d;if(n&16)c=(c+p)%p;else{if(c<0)return 3;if(c>=p)return 1}v=i[c],v?.focus(u),d+=m}while(v!==o.activeElement);return n&6&&Oe(v)&&v.select(),2}function Te(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function _e(){return/Android/gi.test(window.navigator.userAgent)}function De(){return Te()||_e()}function x(e,n,t){O.isServer||k(r=>{document.addEventListener(e,n,t),r(()=>document.removeEventListener(e,n,t))})}function je(e,n,t){O.isServer||k(r=>{window.addEventListener(e,n,t),r(()=>window.removeEventListener(e,n,t))})}function Je(e,n,t=y(()=>!0)){function r(l,o){if(!t.value||l.defaultPrevented)return;let i=o(l);if(i===null||!i.getRootNode().contains(i))return;let m=function s(u){return typeof u=="function"?s(u()):Array.isArray(u)||u instanceof Set?u:[u]}(e);for(let s of m){if(s===null)continue;let u=s instanceof HTMLElement?s:g(s);if(u!=null&&u.contains(i)||l.composed&&l.composedPath().includes(u))return}return!z(i,X.Loose)&&i.tabIndex!==-1&&l.preventDefault(),n(l,i)}let a=w(null);x("pointerdown",l=>{var o,i;t.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;t.value&&(a.value=((i=(o=l.composedPath)==null?void 0:o.call(l))==null?void 0:i[0])||l.target)},!0),x("click",l=>{De()||a.value&&(r(l,()=>a.value),a.value=null)},!0),x("touchend",l=>r(l,()=>l.target instanceof HTMLElement?l.target:null),!0),je("blur",l=>r(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function M(e,n){if(e)return e;let t=n??"button";if(typeof t=="string"&&t.toLowerCase()==="button")return"button"}function et(e,n){let t=w(M(e.value.type,e.value.as));return ae(()=>{t.value=M(e.value.type,e.value.as)}),k(()=>{var r;t.value||g(n)&&g(n)instanceof HTMLButtonElement&&!((r=g(n))!=null&&r.hasAttribute("type"))&&(t.value="button")}),t}function I(e){return[e.screenX,e.screenY]}function tt(){let e=w([-1,-1]);return{wasMoved(n){let t=I(n);return e.value[0]===t[0]&&e.value[1]===t[1]?!1:(e.value=t,!0)},update(n){e.value=I(n)}}}var Ce=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Ce||{}),Me=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Me||{});function Ie({visible:e=!0,features:n=0,ourProps:t,theirProps:r,...a}){var l;let o=G(r,t),i=Object.assign(a,{props:o});if(e||n&2&&o.static)return N(i);if(n&1){let m=(l=o.unmount)==null||l?0:1;return L(m,{0(){return null},1(){return N({...a,props:{...o,hidden:!0,style:{display:"none"}}})}})}return N(i)}function N({props:e,attrs:n,slots:t,slot:r,name:a}){var l,o;let{as:i,...m}=He(e,["unmount","static"]),s=(l=t.default)==null?void 0:l.call(t,r),u={};if(r){let d=!1,p=[];for(let[v,c]of Object.entries(r))typeof c=="boolean"&&(d=!0),c===!0&&p.push(v);d&&(u["data-headlessui-state"]=p.join(" "))}if(i==="template"){if(s=K(s??[]),Object.keys(m).length>0||Object.keys(n).length>0){let[d,...p]=s??[];if(!$e(d)||p.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(m).concat(Object.keys(n)).map(f=>f.trim()).filter((f,h,Y)=>Y.indexOf(f)===h).sort((f,h)=>f.localeCompare(h)).map(f=>` - ${f}`).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(f=>` - ${f}`).join(`
|
|
3
|
-
`)].join(`
|
|
4
|
-
`));let v=G((o=d.props)!=null?o:{},m,u),c=oe(d,v,!0);for(let f in v)f.startsWith("on")&&(c.props||(c.props={}),c.props[f]=v[f]);return c}return Array.isArray(s)&&s.length===1?s[0]:s}return ie(i,Object.assign({},m,u),{default:()=>s})}function K(e){return e.flatMap(n=>n.type===se?K(n.children):[n])}function G(...e){if(e.length===0)return{};if(e.length===1)return e[0];let n={},t={};for(let r of e)for(let a in r)a.startsWith("on")&&typeof r[a]=="function"?(t[a]!=null||(t[a]=[]),t[a].push(r[a])):n[a]=r[a];if(n.disabled||n["aria-disabled"])return Object.assign(n,Object.fromEntries(Object.keys(t).map(r=>[r,void 0])));for(let r in t)Object.assign(n,{[r](a,...l){let o=t[r];for(let i of o){if(a instanceof Event&&a.defaultPrevented)return;i(a,...l)}}});return n}function nt(e){let n=Object.assign({},e);for(let t in n)n[t]===void 0&&delete n[t];return n}function He(e,n=[]){let t=Object.assign({},e);for(let r of n)r in t&&delete t[r];return t}function $e(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var Ve=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ve||{});let rt=V({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:n,attrs:t}){return()=>{var r;let{features:a,...l}=e,o={"aria-hidden":(a&2)===2?!0:(r=l["aria-hidden"])!=null?r: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",...(a&4)===4&&(a&2)!==2&&{display:"none"}}};return Ie({ourProps:o,theirProps:l,slot:{},attrs:t,slots:n,name:"Hidden"})}}}),q=Symbol("Context");var We=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(We||{});function lt(){return ue(q,null)}function at(e){ce(q,e)}var Be=(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))(Be||{});function Re(e){throw new Error("Unexpected object: "+e)}var Ue=(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))(Ue||{});function ot(e,n){let t=n.resolveItems();if(t.length<=0)return null;let r=n.resolveActiveIndex(),a=r??-1;switch(e.focus){case 0:{for(let l=0;l<t.length;++l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 1:{a===-1&&(a=t.length);for(let l=a-1;l>=0;--l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 2:{for(let l=a+1;l<t.length;++l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 3:{for(let l=t.length-1;l>=0;--l)if(!n.resolveDisabled(t[l],l,t))return l;return r}case 4:{for(let l=0;l<t.length;++l)if(n.resolveId(t[l],l,t)===e.id)return l;return r}case 5:return null;default:Re(e)}}let H=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function $(e){var n,t;let r=(n=e.innerText)!=null?n:"",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?(t=a.innerText)!=null?t:"":r;return H.test(o)&&(o=o.replace(H,"")),o}function Xe(e){let n=e.getAttribute("aria-label");if(typeof n=="string")return n.trim();let t=e.getAttribute("aria-labelledby");if(t){let r=t.split(" ").map(a=>{let l=document.getElementById(a);if(l){let o=l.getAttribute("aria-label");return typeof o=="string"?o.trim():$(l).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return $(e).trim()}function it(e){let n=w(""),t=w("");return()=>{let r=g(e);if(!r)return"";let a=r.innerText;if(n.value===a)return t.value;let l=Xe(r).trim().toLowerCase();return n.value=a,t.value=l,l}}export{Ie as A,Ge as D,nt as E,Ce as N,Pe as O,Ae as P,He as T,Qe as _,z as a,rt as b,Ue as c,qe as d,et as e,ot as f,tt as g,X as h,We as i,Be as j,R as k,lt as l,O as m,je as n,g as o,it as p,xe as q,U as r,Ve as s,at as t,L as u,Ze as v,Je as w,Fe as x};
|
|
@@ -1,58 +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>Minha conta | E-Com Plus demoStore</title><script data-astro-transition-persist="astro-kvdive2p-1">
|
|
4
|
-
window.__sfId = -1;
|
|
5
|
-
window._emitApiContext = (id = null) => {
|
|
6
|
-
console.log('[ctx] emit ' + id);
|
|
7
|
-
window.dispatchEvent(new Event('storefront:apiContext'));
|
|
8
|
-
window._emitedContextId = id;
|
|
9
|
-
};
|
|
10
|
-
window.ECOM_STORE_ID = 1011;
|
|
11
|
-
window.ECOM_LANG = 'pt_br';
|
|
12
|
-
window.ECOM_CURRENCY = 'BRL';
|
|
13
|
-
window.ECOM_CURRENCY_SYMBOL = 'R$';
|
|
14
|
-
window.ECOM_COUNTRY_CODE = 'BR';
|
|
15
|
-
window.GIT_BRANCH = '';
|
|
16
|
-
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":{}};
|
|
17
|
-
window._firstLoadContextId = null;</script><script>
|
|
18
|
-
$storefront.apiContext = null;
|
|
19
|
-
delete $storefront.apiContext;
|
|
20
|
-
delete $storefront.context;
|
|
21
|
-
_emitApiContext();</script><script>
|
|
22
|
-
window.$firebaseConfig = {
|
|
23
|
-
apiKey: "AIzaSyCnvm7QrPKzSBrUi09Z3zTgjDST0t4Yikg",
|
|
24
|
-
authDomain: "ecom2-demo.firebaseapp.com",
|
|
25
|
-
projectId: "ecom2-demo",
|
|
26
|
-
storageBucket: "ecom2-demo.appspot.com",
|
|
27
|
-
messagingSenderId: "70369627313",
|
|
28
|
-
appId: "1:70369627313:web:06634033b9c6208fe7e690",
|
|
29
|
-
};
|
|
30
|
-
</script><link rel="stylesheet" href="/_astro/_slug_.4W7qhV-L.css"><script type="module" src="/_astro/hoisted.8pwSenCN.js"></script><meta name="theme-color" content="#37003c"><link rel="icon" type="image/png" href="/_image?f=png&w=32&h=32&href=%2Fimg%2Fuploads%2Fecom-icon.png&V=_" sizes="32x32"><link rel="icon" type="image/png" href="/_image?f=png&w=192&h=192&href=%2Fimg%2Fuploads%2Fecom-icon.png&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.2.6"><link rel="canonical" href="https://demo.ecomplus.app/app/account/"><link rel="apple-touch-icon" href="/_image?f=png&w=192&h=192&href=%2Fimg%2Fuploads%2Fecom-icon.png&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=""><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>
|
|
31
|
-
<body style="visibility:hidden" class="!visible"> <!-- Prevent FOUC -->
|
|
32
|
-
<div id="teleported-overlap" class="relative z-[59]"></div>
|
|
33
|
-
<div id="teleported-top" class="relative z-[19]"></div>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<main>
|
|
41
|
-
<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.HcKW6HTE.js" component-export="default" renderer-url="/_astro/client.ZhEmw4hZ.js" props="{}" ssr="" client="only" opts="{"name":"AccountPage","value":true}" await-children=""><template data-astro-template="logo"><picture>
|
|
42
|
-
<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">
|
|
43
|
-
<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">
|
|
44
|
-
</picture></template><!--astro:end--></astro-island>
|
|
45
|
-
</main>
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
<div id="teleported-bottom" class="relative z-[19]"></div>
|
|
53
|
-
<picture data-alt="Icon" class="absolute hidden" style="bottom: -1000px">
|
|
54
|
-
<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">
|
|
55
|
-
|
|
56
|
-
</picture>
|
|
57
|
-
</body>
|
|
58
|
-
</html>
|