getStatisticsByTerm:n}=v,{statistics:d,hasZeroResults:u}=R(v),{getTopListings:m}=Ro(),h=Po(),{getKeywordsIdeas:S,resetFilters:_}=h,{keywordFilter:k,includedKeywords:M,excludedKeywords:pe,loading:W,keywordIdeasRowsPerPage:Q}=R(h),{getKeywordToolNearMatches:fe}=No(),{preferences:U}=R(c),{getLists:wt,getKeywordsList:bt}=oe(),{preferences:Y}=R(y),{data:ye}=Zt(to),xt=de(),{selectedCountry:kt,selectedMarketplace:_t}=R(xt),{searchParams:T}=ee(),ae=P(!0),St=x(()=>F.value&&u.value&&!I.value),I=P(!1),te=P(!1),j=x(()=>({country:T.value.country,keyword:T.value.keyword,marketplace:T.value.source})),ve=P(null),he=x(()=>Le(T.value.keyword)),Ve=x(()=>j.value.marketplace!=="all"),De=x(()=>T.value.country?.toLowerCase()==="usa"),$t=x(()=>I.value),ge=x(()=>w.value!=="expert"),je=x(()=>$t.value||!F.value||he.value),Ct={free:`You must be working hard! Have you considered upgrading to our Basic Plan to get:
<ul class="list-disc list-inside my-2">
<li>100 Keyword lookups daily</li>
<li>Unlock New Tools within eRank and much more!</li>
</ul>
Thank you for using our Keyword Tool!`,basic:"Oops! It looks like you've exceeded your quota for the Keyword Tool today. You can return to the Keyword Tool at midnight EST when your quota resets. Need more keyword lookups? Consider upgrading to an eRank Pro plan to increase your daily quota to 200 lookups per day.",pro:"Oops! It looks like you've exceeded your quota for the Keyword Tool today. You can return to the Keyword Tool at midnight EST when your quota resets. Need more keyword lookups? Consider upgrading to an eRank Expert plan to increase your daily quota to 500 lookups per day.",expert:"Oops! It looks like you've exceeded your quota for the Keyword Tool today. You can return to the Keyword Tool at midnight EST when your quota resets."},Tt=x(()=>Ct[w.value]),Me=x(()=>w.value),Lt=x(()=>Number.isFinite(Q.value)&&Number(Q.value)>0?Number(Q.value):Number.isFinite(ye.value)&&Number(ye.value)>0?Number(ye.value):10),Ie=async()=>{const A=j.value.keyword;if(Le(A)){W.value=!1,I.value=!1,te.value=!1,A&&ve.value!==A&&(ve.value=A,r.add({severity:"error",summary:"Search too long",detail:ct,life:5e3,errorCode:"KEYWORD_TOO_LONG"}),mt(A,String(t.meta?.title??"Keyword Tool")));return}if(ve.value=null,f.value.keyword_tool.quota_exceeded)I.value=!0,te.value=!0;else{I.value=!1,te.value=!1,W.value=!0;const E=await n(j.value);if(await He(),Z(le.SEARCHED_FOR_KEYWORD,{Country:kt.value,Keyword:T.value.keyword,Marketplace:_t.value.code,Source:t.meta?.title,"Er
