import{c as _,a as f}from"./index.ed1fc0db.js";import{B as h}from"./Editor.5d9775d6.js";import{C as g}from"./Index.504e4ac6.js";import{C as y}from"./Card.17b56f9a.js";import{C as w}from"./SettingsRow.d3933378.js";import"./translations.d159963e.js";import{_ as v}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as s,s as b}from"./default-i18n.20001971.js";import{c as C,m as r,a2 as a,a6 as e,o as c,a as S,a1 as k,a7 as x,$ as E,a4 as B}from"./runtime-core.esm-bundler.4f558f23.js";import"./helpers.2a6f0df7.js";import"./isEqual.78f19070.js";import"./_baseIsEqual.51c85fd4.js";import"./_getTag.325cf680.js";import"./_baseClone.48b8a4d3.js";import"./_arrayEach.6af5abac.js";import"./Input.d9e61fc6.js";import"./Pencil.b89246dd.js";import"./Trash.263ee9c7.js";import"./Caret.b694929e.js";import"./runtime-dom.esm-bundler.f6259c83.js";import"./Close.8fb798f7.js";import"./Tooltip.447e44bb.js";import"./Slide.3e3dec13.js";import"./Row.29b591ed.js";const n="all-in-one-seo-pack",V={setup(){return{optionsStore:_(),rootStore:f()}},components:{BaseEditor:h,CoreAlert:g,CoreCard:y,CoreSettingsRow:w},data(){return{strings:{htaccessEditor:s(".htaccess Editor",n),editHtaccess:s("Edit .htaccess",n),description:b(s("This allows you to edit the .htaccess file for your site. All WordPress sites on an Apache server have a .htaccess file and we have provided you with a convenient way of editing it. Care should always be taken when editing important files from within WordPress as an incorrect change could cause WordPress to become inaccessible. %1$sBe sure to make a backup before making changes and ensure that you have FTP access to your web server and know how to access and edit files via FTP.%2$s",n),"<strong>","</strong>")}}}},A={class:"aioseo-tools-htaccess-editor"},H=["innerHTML"];function P(T,i,L,o,t,N){const l=e("core-alert"),p=e("base-editor"),d=e("core-settings-row"),m=e("core-card");return c(),C("div",A,[r(m,{slug:"htaccessEditor","header-text":t.strings.htaccessEditor},{default:a(()=>[S("div",{class:"aioseo-settings-row aioseo-section-description",innerHTML:t.strings.description},null,8,H),r(d,{name:t.strings.editHtaccess,align:""},{content:a(()=>[o.optionsStore.htaccessError?(c(),k(l,{key:0,type:"red"},{default:a(()=>[x(E(o.optionsStore.htaccessError),1)]),_:1})):B("",!0),r(p,{class:"htaccess-editor",disabled:!o.rootStore.aioseo.user.unfilteredHtml,modelValue:o.rootStore.aioseo.data.htaccess,"onUpdate:modelValue":i[0]||(i[0]=u=>o.rootStore.aioseo.data.htaccess=u),"line-numbers":"",monospace:"","preserve-whitespace":""},null,8,["disabled","modelValue"])]),_:1},8,["name"])]),_:1},8,["header-text"])])}const ao=v(V,[["render",P]]);export{ao as default};
