var c=Object.defineProperty;var o=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var r=(t,s,e)=>s in t?c(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e,a=(t,s)=>{for(var e in s||(s={}))l.call(s,e)&&r(t,e,s[e]);if(o)for(var e of o(s))u.call(s,e)&&r(t,e,s[e]);return t};import{a as d}from"./index.24bc83f1.js";import{B as p}from"./Editor.5ff17c83.js";import{C as _}from"./Index.6b49ef32.js";import{C as m}from"./Card.af43a02b.js";import{C as h}from"./SettingsRow.eb71f07b.js";import{n as f}from"./vueComponentNormalizer.87056a83.js";import"./default-i18n.abde8d59.js";import"./isArrayLikeObject.26ec157b.js";import"./_commonjsHelpers.f40d732e.js";import"./index.6be33911.js";import"./client.94d919c5.js";import"./constants.50303a5f.js";import"./Tooltip.3ec20ff5.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./Row.13b6f3f1.js";var v=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(i){t.$set(t.$aioseo.data,"htaccess",i)},expression:"$aioseo.data.htaccess"}})]},proxy:!0}])})],1)],1)},g=[];const y={components:{BaseEditor:p,CoreAlert:_,CoreCard:m,CoreSettingsRow:h},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({},d(["htaccessError"]))},n={};var $=f(y,v,g,!1,w,null,null,null);function w(t){for(let s in n)this[s]=n[s]}var z=function(){return $.exports}();export{z as default};
