import{u as A,a as T,C as V,B,_ as G}from"./Cta.760070e3.js";import{c as y,a as L}from"./index.36512665.js";import{j as b}from"./helpers.a0b389be.js";import{C as I}from"./Caret.cc16468c.js";import{C as w}from"./SettingsRow.e76e5dcb.js";import{G as D}from"./constants.a8a14dc3.js";import"./translations.d159963e.js";import{_ as N}from"./_plugin-vue_export-helper.eefbdd86.js";import{f as M,x as p,o as u,c as h,a as l,H as e,m as c,y as P,t as _,u as i,l as C,b as R}from"./runtime-dom.esm-bundler.c4caba60.js";import{_ as r}from"./default-i18n.20001971.js";import{C as U}from"./Blur.63f260fa.js";import{C as z}from"./Card.1222adc7.js";import"./datetime.f197aeae.js";import"./Tooltip.e12834fc.js";import"./index.f3c7a985.js";import"./Index.7f1f6aba.js";import"./CheckSolid.b3bb7c27.js";import"./popup.92105c51.js";import"./params.af7ed354.js";import"./SchemaStore.79ec0be9.js";import"./metabox.cc5e29b7.js";import"./cleanForSlug.cacc99d0.js";import"./toString.1e64e8a6.js";import"./contentHasAssets.e1428256.js";import"./_baseSet.ca702273.js";import"./regex.8a6101c0.js";import"./Index.312910ac.js";import"./Row.d49feaf0.js";import"./Slide.9bb3b45e.js";const a="all-in-one-seo-pack",F={setup(){const m=y(),o=M(()=>20<m.aiCreditPercentage?"blue":"red");return{aiStore:A(),optionsStore:y(),aiContent:T(),alertColor:o,GLOBAL_STRINGS:D,links:L}},components:{CoreAlert:I,CoreSettingsRow:w,CreditCounter:V,BuyOrConnectActions:B},data(){return{faqSvg:"faq",keyPointsSvg:"key-points",repurposeContentSvg:"repurpose-content",strings:{description:r("Get advanced AI suggestions for meta tags, social media posts, FAQs, key points, and more — all perfectly tailored to your content.",a),tone:r("Tone",a),toneDescription:r("The default tone that characterizes your content. This can be overridden while using the AI Content Generator.",a),audience:r("Audience",a),audienceDescription:r("The default audience that usually reads your content. This can be overridden while using the AI Content Generator.",a),connect:r("Connect to AI Content",a)}}},methods:{getAssetUrl:b}},H={class:"credit-counter-hero"},q={class:"description"},j=["innerHTML"],E={class:"aioseo-description"},Q={class:"aioseo-description"};function J(m,o,f,t,n,v){const k=p("credit-counter"),x=p("core-alert"),O=p("buy-or-connect-actions"),d=p("core-settings-row"),g=p("base-select");return u(),h("div",null,[l("div",H,[e(x,{type:t.alertColor},{default:c(()=>[e(k,{isSettingsPage:!0})]),_:1},8,["type"]),l("span",q,[P(_(n.strings.description)+" ",1),l("span",{innerHTML:t.links.getDocLink(t.GLOBAL_STRINGS.learnMore,"aiContentGenerator",!0)},null,8,j)])]),e(d,{name:n.strings.connect,class:"aioseo-ai-content-settings__connect"},{content:c(()=>[e(O)]),_:1},8,["name"]),e(d,{name:n.strings.tone},{content:c(()=>[e(g,{size:"medium",options:t.aiContent.toneOptions,modelValue:t.aiContent.toneOptions.find(s=>s.value===t.optionsStore.options.aiContent.tone),"onUpdate:modelValue":o[0]||(o[0]=s=>t.optionsStore.options.aiContent.tone=s.value)},null,8,["options","modelValue"]),l("div",E,_(n.strings.toneDescription),1)]),_:1},8,["name"]),e(d,{name:n.strings.audience},{content:c(()=>[e(g,{size:"medium",options:t.aiContent.audienceOptions,modelValue:t.aiContent.audienceOptions.find(s=>s.value===t.optionsStore.options.aiContent.audience),"onUpdate:modelValue":o[1]||(o[1]=s=>t.optionsStore.options.aiContent.audience=s.value)},null,8,["options","modelValue"]),l("div",Q,_(n.strings.audienceDescription),1)]),_:1},8,["name"])])}const S=N(F,[["render",J]]),K={class:"aioseo-ai-content-settings"},xt={__name:"AiContent",setup(m){const f={aiContentSettings:r("AI Content Settings","all-in-one-seo-pack")},t=A();return(n,v)=>(u(),h("div",K,[e(i(z),{slug:"aiContentSettings","header-text":f.aiContentSettings},{default:c(()=>[i(t).isFreeAndOutOfCredits?(u(),C(i(U),{key:0},{default:c(()=>[e(i(S))]),_:1})):(u(),C(i(S),{key:1})),i(t).isFreeAndOutOfCredits?(u(),C(i(G),{key:2})):R("",!0)]),_:1},8,["header-text"])]))}};export{xt as default};
