import{d as V,h as ye,D as ae,o as r,G as h,e,n as d,f as s,v as l,t as i,w as _,C as y,R as H,c as I,S as Te,a1 as le,_ as ge,k as P,O as J,r as ce,ab as ve,x as fe,z as De,V as M,W as Q,P as Be,$ as Me,q as Ve,aa as Ne,a6 as ne,a5 as $e,E as xe,H as _e,u as Le,m as Ue,I as Ye,a as Fe,b as Ge,p as ze,F as He}from"./llFuKhWI.js";import{_ as we}from"./wMmrnhvC.js";import{I as L,_ as te}from"./BzhbCKP8.js";import{_ as Re}from"./B5hWRf_M.js";import{_ as Ke,a as qe,b as We,d as pe,e as je,c as oe,C as j,f as Qe,g as Xe}from"./ayGTa3Ud.js";import{u as Se}from"./EoaUGGBW.js";import{u as N}from"./CPl4LSD9.js";import{a as ke}from"./Bmq57C4o.js";import{_ as Je}from"./B-ANVB1o.js";import{_ as Ze}from"./CHE3CSWL.js";import{_ as es,b as ss}from"./DEcB3HXe.js";import{_ as ts}from"./DFZFob7j.js";import{u as Pe}from"./GGENp0mR.js";import{u as be}from"./8f3qKeDV.js";import{R as Oe}from"./5-zKaSZz.js";import{s as os}from"./BIPg2yNz.js";import{_ as Ie}from"./C7XqzuP1.js";import{_ as ns}from"./Op5vMJHN.js";import{_ as is}from"./D5fJcUqC.js";import{C as W}from"./CnGBFLmb.js";import{f as as}from"./0gH3qB8c.js";import{I as ls}from"./CfS3AMEv.js";import{f as cs}from"./C_ca73Qy.js";import{f as Ee}from"./BAhSLZC6.js";import{i as ie}from"./DmTcqMXd.js";import{I as rs}from"./CAVX_tXT.js";import{I as ds,a as us}from"./8YzT_2Ov.js";import{_ as Ce,a as Ae}from"./DLbfUilB.js";import ms from"./Cet_wTGo.js";import{_ as _s}from"./BtJExACf.js";import"./BYxIZdj_.js";import"./DAdDEog1.js";import"./C61MVnuK.js";import"./Ym6uCvCk.js";import"./CAGVG2Xa.js";import"./DaWAgGwk.js";import"./D_juRh_W.js";import"./BgoqZooi.js";import"./BPgkUjQu.js";import"./CawTC9db.js";import"./DrxjaUxt.js";import"./CMRDQou7.js";import"./IQURtVXU.js";import"./BlKmBCbf.js";import"./CqqOmRfu.js";import"./CzSSHsEX.js";import"./DuFVbZg1.js";import"./CemFBfVf.js";import"./D5xvDofM.js";import"./DpmnuuFF.js";import"./Br9rlyJX.js";import"./DtiWZQBA.js";import"./BQf4R7bW.js";import"./C-7E03RX.js";const hs={class:"section has-background-gradient-light"},ps={class:"container is-max-widescreen"},vs={class:"columns"},ys={class:"column is-flex-basis-100"},gs=e("span",{class:"title is-6 is-rooftitle"}," eCommerce Revenue Analytics ",-1),fs={class:"title is-2 is-flex is-fullwidth is-align-items-center"},bs={class:"box is-favicon mr-2"},$s={key:0,class:"column is-2 is-hidden-mobile"},ws={class:"columns"},Ss={class:"column"},ks={class:"column is-4 is-hidden-touch"},Cs={class:"mockup mockup__ipad is-pulled-right"},As={class:"mockup__image"},Ts={key:0,class:"column"},xs={class:"title is-7 is-rooftitle mt-4 has-text-blue-800"},Es=e("br",null,null,-1),Rs={class:"mt-1"},Ps={key:1,class:"column"},Os={class:"title is-7 is-rooftitle mt-4 has-text-blue-800"},Is={class:"mt-1"},Ds={key:2,class:"column"},Bs={class:"title is-7 is-rooftitle mt-4 has-text-blue-800"},Ms={class:"mt-1"},Vs={key:3,class:"column"},Ns={class:"title is-7 is-rooftitle mt-4 has-text-blue-800"},Ls={class:"mt-1"},Us={key:4,class:"column"},Ys={class:"title is-7 is-rooftitle mt-4 has-text-blue-800 is-relative"},Fs={class:"mt-1"},Gs=V({__name:"StoreHeader",emits:["open-modal"],setup(x,{emit:o}){const g=o,f=ye(),c=Se(),{store:t}=N(),{baseYear:b}=ae();return(v,n)=>{var k,S,C,R,T;const u=le,a=we,m=ge,$=te,p=Re,w=Ke;return r(),h("section",hs,[e("div",ps,[e("div",vs,[e("div",ys,[e("h1",null,[gs,e("span",fs,[e("span",bs,[d(u,{loading:"lazy",height:"16",width:"16",src:s(c).getFaviconUrl(((k=s(t))==null?void 0:k.favicon)??"","store"),alt:"Store Favicon",onError:n[0]||(n[0]=A=>A.target&&(A.target.style.display="none"))},null,8,["src"])]),l(" "+i((S=s(t))==null?void 0:S.slug),1)])])]),(C=s(t))!=null&&C.filename&&!s(f).hasPermission("core")?(r(),h("div",$s,[d(a,{class:"is-pulled-right",onClick:n[1]||(n[1]=A=>g("open-modal"))},{default:_(()=>[l(" Download XLS ")]),_:1})])):y("",!0)]),e("div",ws,[e("div",Ss,[e("p",null,i((R=s(t))==null?void 0:R.description),1)]),e("div",ks,[e("div",Cs,[e("div",As,[d(u,{class:"width-1-1",height:"156",width:"250",src:s(c).getScreenshotUrl(((T=s(t))==null?void 0:T.screenshot)??"","store"),alt:"Store Screenshot",onError:n[2]||(n[2]=A=>A.target&&(A.target.style.display="none"))},null,8,["src"])])])])]),d(w,{classes:"columns is-variable is-2 has-title-nowrap"},{default:_(()=>{var A,D,G,z,U,O;return[(A=s(t))!=null&&A.globalNetSales.data?(r(),h("div",Ts,[e("div",xs,[l(" Global net sales ("+i(s(b))+") ",1),d($,null,{content:_(()=>{var E;return[l(" First party net sales generated by "),e("strong",null,i((E=s(t))==null?void 0:E.slug),1),l(" after deduction of returns, allowances for damaged or missing goods and any discounts allowed."),Es,d(m,{to:{path:("ROUTES"in v?v.ROUTES:s(H)).FAQ.HUB()}},{default:_(()=>[l(" Read more ")]),_:1},8,["to"])]}),default:_(()=>[e("span",null,[d(s(L),{class:"tw-inline -tw-translate-y-0.25",width:"16",height:"16"})])]),_:1})]),e("div",Rs,i(("formatCurrency"in v?v.formatCurrency:s(ke))({number:s(t).globalNetSales.data,formatAs:"million"})),1)])):y("",!0),(D=s(t))!=null&&D.revenueAnalytics.globalRank?(r(),h("div",Ps,[e("div",Os,[l(" Global rank ("+i(s(b))+") ",1),d($,null,{content:_(()=>{var E;return[l(" eCommerce net sales rank of "),e("strong",null,i((E=s(t))==null?void 0:E.slug),1),l(", compared to all other stores on ECDB.com. ")]}),default:_(()=>[e("span",null,[d(s(L),{class:"tw-inline -tw-translate-y-0.25",width:"16",height:"16"})])]),_:1})]),e("div",Is,"#"+i((G=s(t))==null?void 0:G.revenueAnalytics.globalRank),1)])):y("",!0),(z=s(t))!=null&&z.mainCountry?(r(),h("div",Ds,[e("div",Bs,[l(" Main country "),d($,null,{content:_(()=>{var E;return[l(" Country where "),e("strong",null,i((E=s(t))==null?void 0:E.slug),1),l(" generates most of its eCommerce net sales from. ")]}),default:_(()=>[e("span",null,[d(s(L),{class:"tw-inline -tw-translate-y-0.25",width:"16",height:"16"})])]),_:1})]),e("div",Ms,[s(t).mainCountry.code?(r(),I(m,{key:0,to:("ROUTES"in v?v.ROUTES:s(H)).MARKETS.DETAIL({isoCode:s(t).mainCountry.code.toLowerCase(),slug:("SLUGS"in v?v.SLUGS:s(Te)).all})},{default:_(()=>[d(p,{class:"mr-1",country:s(t).mainCountry.code},null,8,["country"]),l(" "+i(s(t).mainCountry.name),1)]),_:1},8,["to"])):y("",!0)])])):y("",!0),(U=s(t))!=null&&U.mainCategory?(r(),h("div",Vs,[e("div",Ns,[l(" Main category "),d($,null,{content:_(()=>{var E;return[l(" Category where "),e("strong",null,i((E=s(t))==null?void 0:E.slug),1),l(" generates most of its eCommerce net sales from. ")]}),default:_(()=>[e("span",null,[d(s(L),{class:"tw-inline -tw-translate-y-0.25",width:"16",height:"16"})])]),_:1})]),e("div",Ls,[s(t).mainCategory.slug?(r(),I(m,{key:0,to:("ROUTES"in v?v.ROUTES:s(H)).MARKETS.DETAIL({isoCode:("SLUGS"in v?v.SLUGS:s(Te)).ww,slug:s(t).mainCategory.slug})},{default:_(()=>[l(i(s(t).mainCategory.name),1)]),_:1},8,["to"])):y("",!0)])])):y("",!0),(O=s(t))!=null&&O.launchYear?(r(),h("div",Us,[e("div",Ys,[l(" Launch year "),d($,null,{content:_(()=>{var E;return[l(" Year in which "),e("strong",null,i((E=s(t))==null?void 0:E.slug),1),l(" was launched. ")]}),default:_(()=>[e("span",null,[d(s(L),{class:"tw-inline -tw-translate-y-0.25",width:"16",height:"16"})])]),_:1})]),e("div",Fs,i(s(t).launchYear),1)])):y("",!0)]}),_:1})])])}}}),he=(x,o)=>{var g;return((g=(x??[]).find(f=>f.description===o))==null?void 0:g.year)??0},zs={key:0,class:"columns is-multiline"},Hs={class:"column is-full"},Ks={class:"title is-3"},qs={key:0},Ws={key:1},js={key:0,class:"column is-three-fifths"},Qs={class:"box tw-min-h-full"},Xs={class:"has-separator-bottom"},Js={class:"title is-5 has-text-blue-800"},Zs={class:"subtitle is-8"},et={key:2,class:"column is-full"},st=e("p",null,"Detailed breakdown of first-party net sales by category",-1),tt=[st],ot={key:3,class:"column is-three-fifths"},nt={class:"box tw-min-h-full"},it={class:"has-separator-bottom"},at={class:"title is-5 has-text-blue-800"},lt={class:"subtitle is-8"},ct=V({__name:"StoreRevenueAnalyticsSplits",emits:["open-modal"],setup(x,{emit:o}){const g=o,f=ye(),{store:c}=N(),t=P(()=>{var n,u;return(((u=(n=c.value)==null?void 0:n.revenueAnalytics)==null?void 0:u.countrySplits)??[]).map(a=>{var m,$;return[((m=a.country)==null?void 0:m.code)??"",(($=a.data)==null?void 0:$.value)??null]})??[]}),b=P(()=>{var n;return(((n=c.value)==null?void 0:n.revenueAnalytics.categorySplits)??[]).map(u=>{var a;return((a=u.category)==null?void 0:a.name)??""})}),v=P(()=>{var n;return(((n=c.value)==null?void 0:n.revenueAnalytics.categorySplits)??[]).map(u=>{var a,m;return{y:((a=u.data)==null?void 0:a.value)??null,dataLabels:{enabled:!1},name:u.category.name,numberFormatOptions:(m=u.data)==null?void 0:m.options}})});return(n,u)=>{var S,C,R,T,A,D,G,z,U,O,E,Y,F,K,q,Z,ee,X,B,re,de,ue,me;const a=Ze,m=es,$=te,p=qe,w=ts,k=We;return(C=(S=s(c))==null?void 0:S.revenueAnalytics.countrySplits)!=null&&C.length||(T=(R=s(c))==null?void 0:R.revenueAnalytics.categorySplits)!=null&&T.length?(r(),h("div",zs,[e("div",Hs,[e("h3",Ks,i((A=s(c))==null?void 0:A.slug)+": Distribution of eCommerce net sales",1),s(f).hasPermission("core")&&((G=(D=s(c))==null?void 0:D.revenueAnalytics.countrySplits)!=null&&G.length)?(r(),h("p",qs,"Detailed breakdown of first-party net sales by country")):s(f).hasPermission("core")?y("",!0):(r(),h("p",Ws,"Detailed breakdown of first-party net sales by country and category"))]),s(f).hasPermission("core")&&((U=(z=s(c))==null?void 0:z.revenueAnalytics.countrySplits)!=null&&U.length)?(r(),h("div",js,[d(m,{class:"has-border-bluegray-100 tw-min-h-full","chart-height":"high","hide-logo":""},{chart:_(()=>[d(a,{data:s(t),"map-keys":["iso-a2","value"],"map-join-by":"iso-a2","show-legend":"","tooltip-variant":"percent"},null,8,["data"])]),note:_(()=>[l(" Only countries with a share of more than 0.1% are highlighted.")]),_:1})])):y("",!0),(E=(O=s(c))==null?void 0:O.revenueAnalytics.countrySplits)!=null&&E.length?(r(),h("div",{key:1,class:J(["column",s(f).hasPermission("core")?"is-two-fifths":"is-half"])},[e("div",Qs,[e("div",Xs,[e("h3",Js,i((Y=s(c))==null?void 0:Y.slug)+": eCommerce net sales by country",1),e("div",Zs,[l(" in "+i(("findFrontendYear"in n?n.findFrontendYear:s(he))((F=s(c))==null?void 0:F.revenueAnalytics.frontendYears,"countrySplits"))+" ",1),d($,null,{content:_(()=>{var se;return[l(" Share of first party net sales by country "),e("strong",null,i((se=s(c))==null?void 0:se.slug),1),l(" is shipping to. ")]}),default:_(()=>[e("span",null,[d(s(L),{class:"tw-inline -tw-translate-y-0.25 tw-text-bluegray-400",width:"16",height:"16"})])]),_:1})])]),d(p,{class:"is-flex-grow-1 is-flex is-flex-direction-column is-justify-content-space-between","table-data":(K=s(c))==null?void 0:K.revenueAnalytics.countrySplits,limit:8,onOpenModal:u[0]||(u[0]=se=>g("open-modal"))},null,8,["table-data"])])],2)):y("",!0),s(f).hasPermission("core")&&((Z=(q=s(c))==null?void 0:q.revenueAnalytics.categorySplits)!=null&&Z.length)?(r(),h("div",et,tt)):y("",!0),s(f).hasPermission("core")&&((X=(ee=s(c))==null?void 0:ee.revenueAnalytics.categorySplits)!=null&&X.length)?(r(),h("div",ot,[d(m,{class:"has-border-bluegray-100 tw-min-h-full","chart-height":"high","hide-logo":""},{chart:_(()=>[d(w,{series:s(v),"x-axis-categories":s(b),"show-legend":"","legend-position":"right",donut:""},null,8,["series","x-axis-categories"])]),_:1})])):y("",!0),(re=(B=s(c))==null?void 0:B.revenueAnalytics.categorySplits)!=null&&re.length?(r(),h("div",{key:4,class:J(["column",s(f).hasPermission("core")?"is-two-fifths":"is-half"])},[e("div",nt,[e("div",it,[e("h3",at,i((de=s(c))==null?void 0:de.slug)+": eCommerce net sales by category",1),e("div",lt,[l(" in "+i(("findFrontendYear"in n?n.findFrontendYear:s(he))((ue=s(c))==null?void 0:ue.revenueAnalytics.frontendYears,"categorySplits"))+" ",1),d($,null,{content:_(()=>{var se;return[l(" Share of eCommerce net sales by distinct product categories based on the products "+i((se=s(c))==null?void 0:se.slug)+" is offering. ",1)]}),default:_(()=>[e("span",null,[d(s(L),{class:"tw-inline -tw-translate-y-0.25 tw-text-bluegray-400",width:"16",height:"16"})])]),_:1})])]),d(k,{"accordion-data":(me=s(c))==null?void 0:me.revenueAnalytics.categorySplits,onOpenModal:u[1]||(u[1]=se=>g("open-modal"))},null,8,["accordion-data"])])],2)):y("",!0)])):y("",!0)}}}),rt={key:0},dt={class:"section pb-0"},ut={class:"container pt-4 is-max-widescreen"},mt={class:"columns"},_t={class:"column is-flex-basis-100"},ht={class:"title is-2"},pt={class:"title is-3"},vt={key:0,class:"column"},yt=["disabled"],gt={key:1,class:"column is-2 is-hidden-mobile"},ft={key:0,class:"columns"},bt={class:"column is-full"},$t={class:"notification is-white has-highlight-danger"},wt=e("div",{class:"has-text-blue-800 has-text-weight-semibold"},"Please note",-1),St={class:"columns"},kt={key:0,class:"column is-full"},Ct=e("br",null,null,-1),At=e("br",null,null,-1),Tt={class:"columns"},xt={class:"column is-full"},Et=e("br",null,null,-1),Rt={key:1,class:"pt-0"},Pt={class:"columns"},Ot={class:"column is-half"},It={key:0,class:"box mb-3"},Dt={class:"columns"},Bt={class:"column"},Mt={class:"has-separator-right"},Vt=e("h3",{class:"title is-5 has-text-blue-800"},"Global rank",-1),Nt={class:"subtitle is-8"},Lt={class:"column is-flex is-align-items-center"},Ut={class:"title is-3"},Yt={key:0,class:"column is-5 is-flex is-align-items-center"},Ft={class:"column is-half"},Gt={class:"notification mb-3 is-white has-highlight-warning"},zt=e("div",{class:"has-text-blue-800 has-text-weight-semibold"},"Please note",-1),Ht=e("div",{class:"columns"},[e("div",{class:"column my-7 pb-2 pt-7 is-full is-relative"},[e("hr")])],-1),Kt=V({__name:"StoreRevenueAnalytics",emits:["open-modal"],setup(x,{emit:o}){const g=o,f=ye(),c=Se(),{store:t}=N(),{addMessage:b}=Pe(),{baseYear:v,isNuxtReady:n}=ae(),{currency:u,formattedCurrency:a}=be(),m=ce(!1),$=()=>{var p;m.value=!0,c.downloadGet(`${H.API.STORES.GET_FILE({slug:((p=t.value)==null?void 0:p.slug)??"",currency:u.value})}`).catch(()=>{b({message:"Download failed.",severity:"danger"}),g("open-modal")}).finally(()=>{m.value=!1})};return(p,w)=>{var U,O,E,Y,F,K,q,Z,ee,X;const k=Je,S=we,C=ge,R=pe,T=je,A=te,D=le,G=ct,z=oe;return(U=s(t))!=null&&U.revenueAnalytics?(r(),h("div",rt,[e("section",dt,[e("div",ut,[e("div",mt,[e("div",_t,[e("h2",ht,i((O=s(t))==null?void 0:O.slug)+": eCommerce revenue analytics",1),e("h3",pt,"eCommerce net sales development of "+i(s(t).slug),1)]),s(f).hasPermission("core")?y("",!0):(r(),h("div",vt,[e("button",{type:"button","data-gtm":"accessData--storeRevenue",class:"button is-mint-600 has-gradient",disabled:!s(n),onClick:w[0]||(w[0]=B=>p.$emit("open-modal"))}," Access detailed data ",8,yt)])),(E=s(t))!=null&&E.filename&&s(f).hasPermission("core")?(r(),h("div",gt,[d(S,{class:"is-pulled-right",variant:"tertiary",disabled:s(m)||!s(f).hasPermission("dl_xls"),onClick:$},{default:_(()=>[s(m)?(r(),I(k,{key:0})):y("",!0),l(" Download XLS ")]),_:1},8,["disabled"])])):y("",!0)]),s(f).hasPermission("core")?y("",!0):(r(),h("div",ft,[e("div",bt,[e("div",$t,[wt,l(" You are not allowed to use this information for commercial purposes. You might want to "),d(C,{to:`${("ROUTES"in p?p.ROUTES:s(H)).REQUEST.OFFER()}?type=${("REQUEST_TYPE"in p?p.REQUEST_TYPE:s(Oe)).STORES}`},{default:_(()=>[l(" register ")]),_:1},8,["to"]),l(" or "),d(C,{to:"/login"},{default:_(()=>[l(" log in ")]),_:1}),l(" to access these rights. ")])])])),e("div",St,[(Y=s(t))!=null&&Y.revenueAnalytics.netSales.length?(r(),h("div",kt,[d(R,{series:s(t).revenueAnalytics.netSales,"sub-title":`in million ${s(a)}`,"base-year":s(v),"in-million":""},{title:_(()=>{var B;return[l(i((B=s(t))==null?void 0:B.slug)+" ",1),Ct,l(" eCommerce net sales ")]}),tooltip:_(()=>[l(" First party net sales generated by "+i(s(t).slug)+" after deduction of returns, allowances for damaged or missing goods and any discounts allowed.",1),At,d(C,{to:{path:("ROUTES"in p?p.ROUTES:s(H)).FAQ.HUB()}},{default:_(()=>[l(" Read more ")]),_:1},8,["to"])]),_:1},8,["series","sub-title","base-year"])])):y("",!0)]),e("div",Tt,[e("div",xt,[(F=s(t))!=null&&F.revenueAnalytics.yearOverYearGrowth?(r(),I(T,{key:0,class:"mb-3",series:s(t).revenueAnalytics.yearOverYearGrowth,"title-position":"top","sub-title":"in percent"},{title:_(()=>{var B;return[l(i((B=s(t))==null?void 0:B.slug)+" ",1),Et,l(" YoY growth ")]}),tooltip:_(()=>{var B;return[l(" Annual growth rate of "),e("strong",null,i((B=s(t))==null?void 0:B.slug),1),l("‘s first party net sales. ")]}),_:1},8,["series"])):y("",!0),s(f).hasPermission("core")?y("",!0):(r(),h("p",Rt,[l(" For detailed information "),d(C,{to:"/login"},{default:_(()=>[l(" log in ")]),_:1}),l(" or "),d(C,{to:{path:("ROUTES"in p?p.ROUTES:s(H)).PRICING()}},{default:_(()=>[l(" sign up ")]),_:1},8,["to"]),l(". ")]))])]),e("div",Pt,[e("div",Ot,[(K=s(t))!=null&&K.revenueAnalytics.globalRank?(r(),h("div",It,[e("div",Dt,[e("div",Bt,[e("div",Mt,[Vt,e("div",Nt,[l(" by net sales "),d(A,null,{content:_(()=>[l(" eCommerce net sales rank of "),e("strong",null,i(s(t).slug),1),l(", compared to all other stores on ECDB.com. ")]),default:_(()=>[e("span",null,[d(s(L),{class:"tw-inline -tw-translate-y-0.25 tw-text-bluegray-400",width:"16",height:"16"})])]),_:1})])])]),e("div",Lt,[e("span",Ut,"#"+i(s(t).revenueAnalytics.globalRank),1)]),(q=s(t))!=null&&q.competitorAnalysis?(r(),h("div",Yt,[d(S,{"is-fullwidth":"",href:`#${("SELECTORS"in p?p.SELECTORS:s(ve)).idCompetitorAnalysis}`,onClick:w[1]||(w[1]=B=>("smoothScrollToSelector"in p?p.smoothScrollToSelector:s(os))(`#${("SELECTORS"in p?p.SELECTORS:s(ve)).idCompetitorAnalysis}`,{navbarOffset:!0}))},{default:_(()=>[l(" Analyze competitors ")]),_:1},8,["href"])])):y("",!0)])])):y("",!0)]),e("div",Ft,[e("div",Gt,[zt,l(" These numbers show the first party eCommerce net sales after deduction of returns generated by "),(Z=s(t))!=null&&Z.favicon?(r(),I(D,{key:0,width:"16",height:"16",src:s(c).getFaviconUrl(s(t).favicon,"store"),alt:"","aria-hidden":"true",class:"is-inline-block is-vertical-align-middle",onerror:"style.display='none'"},null,8,["src"])):y("",!0),e("strong",null,i((ee=s(t))==null?void 0:ee.slug)+" only",1),l(". ")])])]),d(G,{onOpenModal:w[2]||(w[2]=B=>p.$emit("open-modal"))}),d(z,{"with-columns":"","source-sections":(X=s(t))==null?void 0:X.revenueAnalytics.sourceSections},null,8,["source-sections"]),Ht])])])):y("",!0)}}}),qt={key:0},Wt={class:"section pb-0"},jt={class:"container is-max-widescreen"},Qt={key:0,class:"columns"},Xt={class:"column is-full"},Jt={class:"title is-2"},Zt={class:"title is-3"},eo={class:"columns"},so={key:0,class:"column is-full"},to=e("br",null,null,-1),oo=e("div",{class:"columns"},[e("div",{class:"column my-7 pb-2 pt-7 is-full is-relative"},[e("hr")])],-1),no=V({__name:"StoreMarketDevelopment",setup(x){const{baseYear:o}=ae(),{store:g}=N(),{getCountry:f}=fe(),{formattedCurrency:c}=be(),t=P(()=>{var v,n;return f((n=(v=g.value)==null?void 0:v.mainCountry)==null?void 0:n.code)}),b=P(()=>{var v,n,u,a,m;return!!((v=g.value)!=null&&v.mainCategory)&&!!((n=g.value)!=null&&n.mainCountry)&&!!((m=(a=(u=g.value)==null?void 0:u.marketDevelopment)==null?void 0:a.marketRevenues)!=null&&m.length)});return(v,n)=>{var m,$,p,w,k,S,C,R,T;const u=pe,a=Ie;return s(b)?(r(),h("div",qt,[e("section",Wt,[e("div",jt,[(m=s(g))!=null&&m.mainCountry&&(($=s(g))!=null&&$.mainCategory)?(r(),h("div",Qt,[e("div",Xt,[e("h2",Jt,i((p=s(g))==null?void 0:p.slug)+": Market development",1),e("h3",Zt," eCommerce net sales development in the "+i(s(g).mainCategory.name)+" market in "+i(s(t).prefixedName),1)])])):y("",!0),e("div",eo,[(w=s(g))!=null&&w.mainCountry&&((k=s(g))!=null&&k.mainCategory)?(r(),h("div",so,[d(u,{series:(S=s(g))==null?void 0:S.marketDevelopment.marketRevenues,"sub-title":`in million ${s(c)}`,tooltip:`The box shows the revenue development of the market (${(C=s(g))==null?void 0:C.mainCategory.name} in ${s(t).prefixedName}) for each year.`,"base-year":s(o),"in-million":""},{title:_(()=>{var A;return[l(i((A=s(g))==null?void 0:A.slug)+" ",1),to,l(" Development of the market revenue ")]}),_:1},8,["series","sub-title","tooltip","base-year"])])):y("",!0)]),(R=s(g))!=null&&R.mainCategory&&((T=s(g))!=null&&T.mainCountry)?(r(),I(a,{key:1,title:"Get more insights on market",items:[{label:`${s(t).name} - ${s(g).mainCategory.name}`,link:("ROUTES"in v?v.ROUTES:s(H)).MARKETS.DETAIL({isoCode:s(g).mainCountry.code.toLowerCase(),slug:s(g).mainCategory.slug})}]},null,8,["items"])):y("",!0),oo])])])):y("",!0)}}}),io=["id"],ao={class:"container is-max-widescreen"},lo={class:"columns"},co={class:"column is-full"},ro={class:"title is-2"},uo={class:"columns is-variable is-5 mt-2 mb-6"},mo={class:"column is-7"},_o={class:"title is-3"},ho=e("p",null,"Discover the most similar online stores based on net sales, product mix, and geographic reach.",-1),po={class:"column is-5 tw-relative tw-mt-6 lg:tw-mt-0"},vo=e("span",{class:"tw-absolute tw--top-2.5 tw-bg-orange-400 tw-uppercase tw-px-2 tw-py-0.5 tw-text-white tw-tracking-widest tw-text-xs tw-rounded-sm tw-font-semibold"},"New",-1),yo=e("h3",{class:"title is-3"},"Competitor comparison",-1),go=e("p",{class:"mb-4"},"Select up to 3 competitors for an in-depth comparison report.",-1),fo={class:"tw-overflow-y-scroll tw-max-h-72"},bo={class:"tw-opacity-50 tw-flex tw-items-center tw-space-x-4 tw-py-2.5 tw-px-4 tw-text-sm tw-border-b tw-border-gray-200 has-background-gray-100 has-text-black has-text-weight-semibold"},$o=e("div",{class:"tw-flex-none tw-mt-1"},[e("input",{type:"checkbox",checked:"",disabled:""})],-1),wo={class:"tw-flex-grow"},So=e("div",{class:"tw-flex-none"},[e("span",{class:"tw-py-0.5 tw-px-3 tw-bg-jade-500 tw-text-white tw-rounded-sm tw-text-xs tw-inline-block tw-w-14 tw-text-center tw-font-semibold"},"Main")],-1),ko={class:"tw-flex-none tw-mt-1"},Co=["checked","value"],Ao={class:"tw-flex-grow tw-truncate"},To={class:"tw-flex-none"},xo=e("strong",null,"Note:",-1),Eo=e("div",{class:"columns"},[e("div",{class:"column my-7 pb-2 pt-7 is-full is-relative"},[e("hr")])],-1),Ro=V({__name:"StoreCompetitorAnalysis",setup(x){const o=[W.blue_700,`${W.blue_700}F2`,`${W.blue_700}E6`,`${W.blue_700}D9`,`${W.blue_700}CC`,`${W.blue_700}BF`,`${W.blue_700}B3`,`${W.blue_700}A6`,`${W.blue_700}99`,`${W.blue_700}8C`],{store:g}=N(),{baseYear:f}=ae(),{addMessage:c}=Pe(),t=ce([]),b=P(()=>{var n,u;return(((u=(n=g.value)==null?void 0:n.competitorAnalysis)==null?void 0:u.similarStores)??[]).map(a=>{var m;return{y:(m=a.data)==null?void 0:m.value}})}),v=P(()=>{var n,u;return(((u=(n=g.value)==null?void 0:n.competitorAnalysis)==null?void 0:u.similarStores)??[]).map(a=>`