(window["aioseopjsonp"]=window["aioseopjsonp"]||[]).push([["redirects-pro-partials-ServerConfigReloadWarning-vue"],{"1ddf":function(e,t,r){},2094:function(e,t,r){"use strict";r("1ddf")},ab04:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.redirectServerTest.failed&&"server"===e.redirectOptions.main.method?r("core-alert",{attrs:{size:"small",type:"yellow"}},[r("div",{domProps:{innerHTML:e._s(e.strings.nginxReload)}}),r("div",{domProps:{innerHTML:e._s(e.strings.dontKnow)}}),r("base-button",{attrs:{type:"blue",size:"small",loading:e.redirectServerTest.testing},on:{click:function(t){return e.testServerRedirects()}}},[e._v(" "+e._s(e.strings.checkAgain)+" ")])],1):e._e()},i=[],n=r("5530"),o=r("2f62"),a={data:function(){return{strings:{nginxReload:this.$t.sprintf(this.$t.__("Your redirect settings have been updated. In order for them to work properly you may need to reload your %1$s configuration. %2$s",this.$td),this.detectedServer(),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"redirectServerConfigReload",!0)),dontKnow:this.$t.__("If you don't know how to do that please revert your Redirect Method to PHP.",this.$td),checkAgain:this.$t.__("Check Again",this.$td)}}},computed:Object(n["a"])({},Object(o["c"])("redirects",["redirectOptions","redirectServerTest"])),methods:Object(n["a"])(Object(n["a"])({},Object(o["b"])("redirects",["testServerRedirects"])),{},{maybeTest:function(){this.testServerRedirects()},detectedServer:function(){return this.$aioseo.data.server.apache?"Apache":this.$aioseo.data.server.nginx?"NGINX":this.$t.__("Server",this.$td)}}),mounted:function(){this.maybeTest(),this.$bus.$on("changes-saved",this.maybeTest)},beforeDestroy:function(){this.$bus.$off("changes-saved",this.maybeTest)}},d=a,c=(r("2094"),r("2877")),h=Object(c["a"])(d,s,i,!1,null,"7fef8436",null);t["default"]=h.exports}}]);