import{a}from"./index.9d9c8f08.js";import{B as n}from"./Editor.edd7582e.js";import{C as i}from"./index.693463c8.js";import{C as c}from"./Card.e152dae5.js";import{C as l}from"./SettingsRow.8a127375.js";import{n as u}from"./vueComponentNormalizer.58b0a173.js";import"./isArrayLikeObject.44af21ce.js";import"./default-i18n.0e73c33c.js";import"./_commonjsHelpers.10c44588.js";import"./client.d00863cc.js";import"./translations.3bc9d58c.js";import"./constants.01c2b898.js";import"./portal-vue.esm.272b3133.js";import"./Tooltip.a1ab116b.js";import"./Slide.8aaa5049.js";import"./Row.dfea53f7.js";var d=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tools-htaccess-editor"},[e("core-card",{attrs:{slug:"htaccessEditor","header-text":t.strings.htaccessEditor}},[e("div",{staticClass:"aioseo-settings-row aioseo-section-description",domProps:{innerHTML:t._s(t.strings.description)}}),e("core-settings-row",{attrs:{name:t.strings.editHtaccess,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[t.htaccessError?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.htaccessError)+" ")]):t._e(),e("base-editor",{staticClass:"htaccess-editor",attrs:{disabled:!t.$aioseo.user.unfilteredHtml,"line-numbers":"",monospace:"","preserve-whitespace":""},model:{value:t.$aioseo.data.htaccess,callback:function(r){t.$set(t.$aioseo.data,"htaccess",r)},expression:"$aioseo.data.htaccess"}})]},proxy:!0}])})],1)],1)},p=[];const _={components:{BaseEditor:n,CoreAlert:i,CoreCard:c,CoreSettingsRow:l},data(){return{strings:{htaccessEditor:this.$t.__(".htaccess Editor",this.$td),editHtaccess:this.$t.__("Edit .htaccess",this.$td),description:this.$t.sprintf(this.$t.__("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",this.$td),"<strong>","</strong>")}}},computed:{...a(["htaccessError"])}},o={};var m=u(_,d,p,!1,h,null,null,null);function h(t){for(let s in o)this[s]=o[s]}const B=function(){return m.exports}();export{B as default};
