OwlCyberSecurity - MANAGER
Edit File: wp-seo-admin-gsc-1130.min.js
(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[12],{0:function(e,t){e.exports=React},14:function(e,t){e.exports=window.yoast.styledComponents},149:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=u(n(0)),a=u(n(247)),i=u(n(250));function u(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,i,u,c,p,f,d,h,y=[],m={};for(f=0;f<e.length;f++)if("string"!==(p=e[f]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==o(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],u=f;break}y.push(t[p.value])}else y.push(p.value);return n&&(c=function(e,t){var n,o,r=t[e],a=0;for(o=e+1;o<t.length;o++)if((n=t[o]).value===r.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return o;a--}}throw new Error("Missing closing component token `"+r.value+"`")}(u,e),d=l(e.slice(u+1,c),t),i=r.default.cloneElement(n,{},d),y.push(i),c<e.length-1&&(h=l(e.slice(c+1),t),y=y.concat(h))),1===y.length?y[0]:(y.forEach(function(e,t){e&&(m["interpolation-child-"+t]=e)}),(0,a.default)(m))}t.default=function(e){var t=e.mixedString,n=e.components,r=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":o(n))){if(r)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var a=(0,i.default)(t);try{return l(a,n)}catch(e){if(r)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},150:function(e,t,n){"use strict";function o(e){return function(){return e}}var r=function(){};r.thatReturns=o,r.thatReturnsFalse=o(!1),r.thatReturnsTrue=o(!0),r.thatReturnsNull=o(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},2:function(e,t,n){e.exports=n(91)()},21:function(e,t){e.exports=window.yoast.componentsNew},22:function(e,t){e.exports=window.yoast.helpers},247:function(e,t,n){"use strict";var o=n(0),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(150),i=n(248),u=n(249),s=".",l=":",c="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function f(e,t){return e&&"object"==typeof e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function d(e,t,n,o){var a,u=typeof e;if("undefined"!==u&&"boolean"!==u||(e=null),null===e||"string"===u||"number"===u||"object"===u&&e.$$typeof===r)return n(o,e,""===t?s+f(e,0):t),1;var h=0,y=""===t?s:t+l;if(Array.isArray(e))for(var m=0;m<e.length;m++)h+=d(a=e[m],y+f(a,m),n,o);else{var w=function(e){var t=e&&(c&&e[c]||e[p]);if("function"==typeof t)return t}(e);if(w){0;for(var b,v=w.call(e),g=0;!(b=v.next()).done;)h+=d(a=b.value,y+f(a,g++),n,o)}else if("object"===u){0;var _=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===_?"object with keys {"+Object.keys(e).join(", ")+"}":_,"")}}return h}var h=/\/+/g;function y(e){return(""+e).replace(h,"$&/")}var m=w,w=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},b=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function v(e,t,n,o){this.result=e,this.keyPrefix=t,this.func=n,this.context=o,this.count=0}function g(e,t,n){var r=e.result,i=e.keyPrefix,u=e.func,s=e.context,l=u.call(s,t,e.count++);Array.isArray(l)?_(l,r,n,a.thatReturnsArgument):null!=l&&(o.isValidElement(l)&&(l=function(e,t){return o.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}(l,i+(!l.key||t&&t.key===l.key?"":y(l.key)+"/")+n)),r.push(l))}function _(e,t,n,o,r){var a="";null!=n&&(a=y(n)+"/");var i=v.getPooled(t,a,o,r);!function(e,t,n){null==e||d(e,"",t,n)}(e,g,i),v.release(i)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},function(e,t){var n=e;n.instancePool=[],n.getPooled=t||m,n.poolSize||(n.poolSize=10),n.release=b}(v,function(e,t,n,o){if(this.instancePool.length){var r=this.instancePool.pop();return this.call(r,e,t,n,o),r}return new this(e,t,n,o)});e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return u(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(o.isValidElement(e))return u(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)_(e[n],t,n,a.thatReturnsArgument);return t}},248:function(e,t,n){"use strict";var o=function(e){};e.exports=function(e,t,n,r,a,i,u,s){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,i,u,s],p=0;(l=new Error(t.replace(/%s/g,function(){return c[p++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},249:function(e,t,n){"use strict";var o=n(150);e.exports=o},250:function(e,t,n){"use strict";function o(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(o)}},258:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=l(n(0)),a=l(n(149)),i=l(n(2)),u=l(n(14)),s=n(22);function l(e){return e&&e.__esModule?e:{default:e}}var c=u.default.ul.withConfig({displayName:"UpsellBox__StyledList",componentId:"gjf66g-0"})(['list-style:none;margin:0 0 16px;padding:0;li{margin:5px 0 0 0;padding-left:16px;}span[aria-hidden="true"]:before{margin:0 8px 0 -16px;font-weight:bold;content:"+";}']),p=u.default.small.withConfig({displayName:"UpsellBox__ButtonLabel",componentId:"gjf66g-1"})(["display:block;"]),f=(0,s.makeOutboundLink)(),d=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default.Component),o(t,[{key:"createBenefitsList",value:function(e){return e.length>0&&wp.element.createElement(c,{role:"list"},e.map(function(e,t){return wp.element.createElement("li",{key:t},wp.element.createElement("span",{"aria-hidden":"true"}),(0,a.default)({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:wp.element.createElement("strong",null)}}))}))}},{key:"createInfoParagraphs",value:function(e){return e.map(function(e,t){return wp.element.createElement("p",{key:t},e)})}},{key:"render",value:function(){return wp.element.createElement("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),wp.element.createElement(f,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),wp.element.createElement(p,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),t}();d.propTypes={benefits:i.default.array,infoParagraphs:i.default.array,upsellButton:i.default.object,upsellButtonText:i.default.string.isRequired,upsellButtonLabel:i.default.string,upsellButtonHasCaret:i.default.bool},d.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.default=d},345:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalIcon=t.ModalContainer=void 0;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(14)),r=n(21),a=n(22);t.ModalContainer=o.default.div.withConfig({displayName:"Container__ModalContainer",componentId:"sc-1onoh63-0"})(["min-width:600px;@media screen and ( max-width:680px ){min-width:0;width:86vw;}"]),t.ModalIcon=(0,o.default)(r.Icon).withConfig({displayName:"Container__ModalIcon",componentId:"sc-1onoh63-1"})(["float:",";margin:",";&&{width:150px;height:150px;@media screen and ( max-width:680px ){width:80px;height:80px;}}"],(0,a.getDirectionalStyle)("right","left"),(0,a.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},47:function(e,t){e.exports=ReactDOM},6:function(e,t){e.exports=window.wp.i18n},866:function(e,t,n){"use strict";a(n(0));var o=a(n(47)),r=a(n(867));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=jQuery("#gsc_count_"+e),n=parseInt(t.text(),10)-1;n<0&&(n=0),t.text(n)}function u(e,t,n,o){jQuery.post(ajaxurl,{action:"wpseo_mark_fixed_crawl_issue",ajax_nonce:e,platform:t,category:n,url:o},function(e){"true"===e&&(i(jQuery("#field_category").val()),jQuery('span:contains("'+o+'")').closest("tr").remove())})}function s(e){u(jQuery(".wpseo-gsc-ajax-security").val(),jQuery("#field_platform").val(),jQuery("#field_category").val(),e)}jQuery(function(){jQuery(".subsubsub .yoast_help").on("click active",function(){var e="#"+jQuery(this).attr("aria-controls");jQuery(".yoast-help-panel").not(e).hide()}),jQuery("#gsc_auth_code").click(function(){var e=jQuery("#gsc_auth_url").val(),t=screen.width/2-300,n=screen.height/2-250;return window.open(e,"wpseogscauthcode","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=600, height=500, top="+n+", left="+t)});var e=document.getElementById("yoast-google-search-console-modal");e&&o.default.render(wp.element.createElement(r.default,{buyLink:wpseoAdminL10n["shortlinks.upsell.gsc.create_redirect_button"]}),e)}),window.wpseoUpdateCategoryCount=i,window.wpseoMarkAsFixed=s,window.wpseoSendMarkAsFixed=u,window.wpseo_update_category_count=i,window.wpseo_mark_as_fixed=s,window.wpseo_send_mark_as_fixed=u},867:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=c(n(0)),a=c(n(2)),i=n(6),u=n(21),s=c(n(258)),l=n(345);function c(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isModalOpen:!1},n.openModal=n.openModal.bind(n),n.closeModal=n.closeModal.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default.Component),o(t,[{key:"componentDidMount",value:function(){var e=this;jQuery(".wpseo-open-gsc-redirect-modal").click(function(t){t.preventDefault(),e.openModal()})}},{key:"openModal",value:function(){this.setState({isModalOpen:!0})}},{key:"closeModal",value:function(){this.setState({isModalOpen:!1})}},{key:"render",value:function(){if(!1===this.state.isModalOpen)return null;var e=(0,i.sprintf)((0,i.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),t=(0,i.sprintf)((0,i.__)("Creating redirects is a %s feature","wordpress-seo"),"Yoast SEO Premium"),n=(0,i.sprintf)((0,i.__)("To be able to create a redirect and fix this issue, you need %1$s. ","wordpress-seo"),"Yoast SEO Premium"),o=(0,i.sprintf)((0,i.__)("You can buy the plugin, including one year of support and updates, on %1$s.","wordpress-seo"),"yoast.com");return wp.element.createElement(u.Modal,{isOpen:this.state.isModalOpen,onClose:this.closeModal,modalAriaLabel:e,appElement:document.querySelector("#wpwrap"),heading:e},wp.element.createElement(l.ModalContainer,null,wp.element.createElement(l.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,t),wp.element.createElement(s.default,{infoParagraphs:[n,o],upsellButtonText:e,upsellButton:{href:this.props.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,i.__)("1 year free support and updates included!","wordpress-seo")})))}}]),t}();p.propTypes={buyLink:a.default.string.isRequired},t.default=p},91:function(e,t,n){"use strict";var o=n(92),r=n(93),a=n(94);e.exports=function(){function e(e,t,n,o,i,u){u!==a&&r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=o,n.PropTypes=n,n}},92:function(e,t,n){"use strict";function o(e){return function(){return e}}var r=function(){};r.thatReturns=o,r.thatReturnsFalse=o(!1),r.thatReturnsTrue=o(!0),r.thatReturnsNull=o(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},93:function(e,t,n){"use strict";var o=function(e){};e.exports=function(e,t,n,r,a,i,u,s){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,i,u,s],p=0;(l=new Error(t.replace(/%s/g,function(){return c[p++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},94:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},[[866,0]]]);