import{x as g,o as y,l as f,m as r,a,G as C,C as c,u as m,t as i,D as p}from"./vue.esm-bundler.DqIKZLqK.js";import{_ as l,s as _}from"./default-i18n.Bd0Z306Z.js";import{C as v}from"./Index.Dq2Y3sD9.js";import{S as w}from"./Caret.CE8P-qnG.js";const $={class:"aioseo-modal-body"},b={class:"reset-description"},A={__name:"DisconnectModal",props:{showModal:Boolean,loading:Boolean},emits:["continue","cancel"],setup(u){const e="all-in-one-seo-pack",t={areYouSureReset:l("Are you sure you want to disconnect Google Search Console?",e),actionCannotBeUndone:_(l("This action will disconnect %1$s from Google Search Console. By disconnecting from Google Search Console, you will no longer receive valuable insights on how your content is being discovered.",e),"AIOSEO"),yesContinue:l("Yes, I want to disconnect",e),noCancel:l("No, I changed my mind",e)};return(n,o)=>{const d=g("base-button");return y(),f(m(v),{show:u.showModal,"no-header":"",onClose:o[4]||(o[4]=s=>n.$emit("cancel")),classes:["aioseo-search-statistics-settings-modal"]},{body:r(()=>[a("div",$,[a("button",{class:"close",onClick:o[1]||(o[1]=C(s=>n.$emit("cancel"),["stop"]))},[c(m(w),{onClick:o[0]||(o[0]=s=>n.$emit("cancel"))})]),a("h3",null,i(t.areYouSureReset),1),a("div",b,i(t.actionCannotBeUndone),1),c(d,{type:"blue",size:"medium",onClick:o[2]||(o[2]=s=>n.$emit("continue")),loading:u.loading},{default:r(()=>[p(i(t.yesContinue),1)]),_:1},8,["loading"]),c(d,{type:"gray",size:"medium",onClick:o[3]||(o[3]=s=>n.$emit("cancel"))},{default:r(()=>[p(i(t.noCancel),1)]),_:1})])]),_:1},8,["show"])}}};export{A as _};
