/*! For license information please see plugins-page.js.LICENSE.txt */ !function(){var e={90605:function(e,t,n){"use strict";var r=n(5806),o=n(55246);function i(e){return i="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},i(e)}var c,a,s=n(27452).codes,u=s.ERR_AMBIGUOUS_ARGUMENT,l=s.ERR_INVALID_ARG_TYPE,p=s.ERR_INVALID_ARG_VALUE,f=s.ERR_INVALID_RETURN_VALUE,d=s.ERR_MISSING_ARGS,y=n(71228),g=n(23333).inspect,h=n(23333).types,m=h.isPromise,v=h.isRegExp,b=Object.assign?Object.assign:n(45685).assign,E=Object.is?Object.is:n(88706);new Map;function w(){var e=n(81562);c=e.isDeepEqual,a=e.isDeepStrictEqual}var _=!1,S=e.exports=C,j={};function O(e){if(e.message instanceof Error)throw e.message;throw new y(e)}function k(e,t,n,r){if(!n){var o=!1;if(0===t)o=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var i=new y({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw i.generatedMessage=o,i}}function C(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;oe.length)&&(n=e.length),e.substring(n-t.length,n)===t}var m="",v="",b="",E="",w={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function _(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function S(e){return y(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function j(e,t,n){var o="",i="",c=0,a="",s=!1,u=S(e),l=u.split("\n"),p=S(t).split("\n"),f=0,y="";if("strictEqual"===n&&"object"===d(e)&&"object"===d(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===l.length&&1===p.length&&l[0]!==p[0]){var g=l[0].length+p[0].length;if(g<=10){if(!("object"===d(e)&&null!==e||"object"===d(t)&&null!==t||0===e&&0===t))return"".concat(w[n],"\n\n")+"".concat(l[0]," !== ").concat(p[0],"\n")}else if("strictEqualObject"!==n){if(g<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;l[0][f]===p[0][f];)f++;f>2&&(y="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",f),"^"),f=0)}}}for(var _=l[l.length-1],j=p[p.length-1];_===j&&(f++<2?a="\n ".concat(_).concat(a):o=_,l.pop(),p.pop(),0!==l.length&&0!==p.length);)_=l[l.length-1],j=p[p.length-1];var O=Math.max(l.length,p.length);if(0===O){var k=u.split("\n");if(k.length>30)for(k[26]="".concat(m,"...").concat(E);k.length>27;)k.pop();return"".concat(w.notIdentical,"\n\n").concat(k.join("\n"),"\n")}f>3&&(a="\n".concat(m,"...").concat(E).concat(a),s=!0),""!==o&&(a="\n ".concat(o).concat(a),o="");var C=0,P=w[n]+"\n".concat(v,"+ actual").concat(E," ").concat(b,"- expected").concat(E),A=" ".concat(m,"...").concat(E," Lines skipped");for(f=0;f1&&f>2&&(T>4?(i+="\n".concat(m,"...").concat(E),s=!0):T>3&&(i+="\n ".concat(p[f-2]),C++),i+="\n ".concat(p[f-1]),C++),c=f,o+="\n".concat(b,"-").concat(E," ").concat(p[f]),C++;else if(p.length1&&f>2&&(T>4?(i+="\n".concat(m,"...").concat(E),s=!0):T>3&&(i+="\n ".concat(l[f-2]),C++),i+="\n ".concat(l[f-1]),C++),c=f,i+="\n".concat(v,"+").concat(E," ").concat(l[f]),C++;else{var N=p[f],x=l[f],I=x!==N&&(!h(x,",")||x.slice(0,-1)!==N);I&&h(N,",")&&N.slice(0,-1)===x&&(I=!1,x+=","),I?(T>1&&f>2&&(T>4?(i+="\n".concat(m,"...").concat(E),s=!0):T>3&&(i+="\n ".concat(l[f-2]),C++),i+="\n ".concat(l[f-1]),C++),c=f,i+="\n".concat(v,"+").concat(E," ").concat(x),o+="\n".concat(b,"-").concat(E," ").concat(N),C+=2):(i+=o,o="",1!==T&&0!==f||(i+="\n ".concat(x),C++))}if(C>20&&f30)for(h[26]="".concat(m,"...").concat(E);h.length>27;)h.pop();n=1===h.length?c(this,f(t).call(this,"".concat(y," ").concat(h[0]))):c(this,f(t).call(this,"".concat(y,"\n\n").concat(h.join("\n"),"\n")))}else{var O=S(u),k="",C=w[i];"notDeepEqual"===i||"notEqual"===i?(O="".concat(w[i],"\n\n").concat(O)).length>1024&&(O="".concat(O.slice(0,1021),"...")):(k="".concat(S(l)),O.length>512&&(O="".concat(O.slice(0,509),"...")),k.length>512&&(k="".concat(k.slice(0,509),"...")),"deepEqual"===i||"equal"===i?O="".concat(C,"\n\n").concat(O,"\n\nshould equal\n\n"):k=" ".concat(i," ").concat(k)),n=c(this,f(t).call(this,"".concat(O).concat(k)))}return Error.stackTraceLimit=p,n.generatedMessage=!o,Object.defineProperty(a(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=u,n.expected=l,n.operator=i,Error.captureStackTrace&&Error.captureStackTrace(a(n),s),n.stack,n.name="AssertionError",c(n)}var n,s,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,s=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:y.custom,value:function(e,t){return y(this,function(e){for(var t=1;t2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",(function(e,t,o){var i,c,s,u;if(void 0===a&&(a=n(90605)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(c="not ",t.substr(!s||s<0?0:+s,c.length)===c)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))u="The ".concat(e," ").concat(i," ").concat(p(t,"type"));else{var l=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";u='The "'.concat(e,'" ').concat(l," ").concat(i," ").concat(p(t,"type"))}return u+=". Received type ".concat(r(o))}),TypeError),l("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=n(23333));var o=s.inspect(t);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(o)}),TypeError,RangeError),l("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var o;return o=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(o,".")}),TypeError),l("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r0,"At least one arg needs to be specified");var o="The ",i=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),i){case 1:o+="".concat(t[0]," argument");break;case 2:o+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:o+=t.slice(0,i-1).join(", "),o+=", and ".concat(t[i-1]," arguments")}return"".concat(o," must be specified")}),TypeError),e.exports.codes=u},81562:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(_n=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==c.return||c.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(e){return 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},o(e)}var i=void 0!==/a/g.flags,c=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},a=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},s=Object.is?Object.is:n(88706),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},l=Number.isNaN?Number.isNaN:n(17614);function p(e){return e.call.bind(e)}var f=p(Object.prototype.hasOwnProperty),d=p(Object.prototype.propertyIsEnumerable),y=p(Object.prototype.toString),g=n(23333).types,h=g.isAnyArrayBuffer,m=g.isArrayBufferView,v=g.isDate,b=g.isMap,E=g.isRegExp,w=g.isSet,_=g.isNativeError,S=g.isBoxedPrimitive,j=g.isNumberObject,O=g.isStringObject,k=g.isBooleanObject,C=g.isBigIntObject,P=g.isSymbolObject,A=g.isFloat32Array,T=g.isFloat64Array;function N(e){if(0===e.length||e.length>10)return!0;for(var t=0;t57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function x(e){return Object.keys(e).filter(N).concat(u(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function I(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o-1?o(n):n}},43120:function(e,t,n){"use strict";var r=n(75433),o=n(25165),i=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),a=o("%Reflect.apply%",!0)||r.call(c,i),s=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=a(r,c,arguments);if(s&&u){var n=s(t,"length");n.configurable&&u(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var p=function(){return a(r,i,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},55246:function(e,t,n){var r=n(23333),o=n(90605);function i(){return(new Date).getTime()}var c,a=Array.prototype.slice,s={};c="undefined"!=typeof window&&window.console||"undefined"!=typeof window&&window.console?window.console:{};for(var u=[[function(){},"log"],[function(){c.log.apply(c,arguments)},"info"],[function(){c.log.apply(c,arguments)},"warn"],[function(){c.warn.apply(c,arguments)},"error"],[function(e){s[e]=i()},"time"],[function(e){var t=s[e];if(!t)throw new Error("No such label: "+e);delete s[e];var n=i()-t;c.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=r.format.apply(null,arguments),c.error(e.stack)},"trace"],[function(e){c.log(r.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=a.call(arguments,1);o.ok(!1,r.format.apply(null,t))}},"assert"]],l=0;l2?arguments[2]:{},i=r(t);o&&(i=c.call(i,Object.getOwnPropertySymbols(t)));for(var a=0;a1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');var n=k(e),r=n.length>0?n[0]:"",i=C("%"+r+"%",t),a=i.name,u=i.value,l=!1,p=i.alias;p&&(r=p[0],w(n,E([0,1],p)));for(var f=1,d=!0;f=n.length){var v=s(u,y);u=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:u[y]}else d=b(u,y),u=u[y];d&&!l&&(g[a]=u)}}return u}},45992:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(4461);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},4461:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},77828:function(e,t,n){"use strict";var r=n(4461);e.exports=function(){return r()&&!!Symbol.toStringTag}},99569:function(e,t,n){"use strict";var r=n(75433);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},13266:function(e,t,n){"use strict";var r=n(80364),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return r.isMemo(e)?c:a[e.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=c;var u=Object.defineProperty,l=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,y=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(y){var o=d(n);o&&o!==y&&e(t,o,r)}var c=l(n);p&&(c=c.concat(p(n)));for(var a=s(t),g=s(n),h=0;h=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},a=function(){return i(arguments)}();i.isLegacyArguments=c,e.exports=a?i:c},57372:function(e,t,n){"use strict";var r,o=Object.prototype.toString,i=Function.prototype.toString,c=/^\s*(?:function)?\*/,a=n(77828)(),s=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(c.test(i.call(e)))return!0;if(!a)return"[object GeneratorFunction]"===o.call(e);if(!s)return!1;if(void 0===r){var t=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&s(t)}return s(e)===r}},46618:function(e){"use strict";e.exports=function(e){return e!=e}},17614:function(e,t,n){"use strict";var r=n(43120),o=n(13185),i=n(46618),c=n(42775),a=n(49582),s=r(c(),Number);o(s,{getPolyfill:c,implementation:i,shim:a}),e.exports=s},42775:function(e,t,n){"use strict";var r=n(46618);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},49582:function(e,t,n){"use strict";var r=n(13185),o=n(42775);e.exports=function(){var e=o();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},8639:function(e,t,n){"use strict";var r=n(49478),o=n(87331),i=n(16422),c=i("Object.prototype.toString"),a=n(77828)(),s="undefined"==typeof globalThis?window:globalThis,u=o(),l=i("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n-1}return!!d&&function(e){var t=!1;return r(f,(function(n,r){if(!t)try{t=n.call(e)===r}catch(e){}})),t}(e)}},31993:function(){},33272:function(){},70453:function(){},47637:function(){},32002:function(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o,c=365.25*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,s){s=s||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*c;case"weeks":case"week":case"w":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===u&&isFinite(e))return s.long?function(e){var i=Math.abs(e);if(i>=o)return a(e,i,o,"day");if(i>=r)return a(e,i,r,"hour");if(i>=n)return a(e,i,n,"minute");if(i>=t)return a(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},72335:function(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},88706:function(e,t,n){"use strict";var r=n(13185),o=n(43120),i=n(72335),c=n(75432),a=n(95894),s=o(c(),Object);r(s,{getPolyfill:c,implementation:i,shim:a}),e.exports=s},75432:function(e,t,n){"use strict";var r=n(72335);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},95894:function(e,t,n){"use strict";var r=n(75432),o=n(13185);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},96128:function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,c=n(56133),a=Object.prototype.propertyIsEnumerable,s=!a.call({toString:null},"toString"),u=a.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{p(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=c(e),a=t&&"[object String]"===i.call(e),f=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var y=u&&n;if(a&&e.length>0&&!o.call(e,0))for(var g=0;g0)for(var h=0;h=0&&"[object Function]"===t.call(e.callee)),r}},5806:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var a,s=[],u=!1,l=-1;function p(){u&&a&&(u=!1,a.length?s=a.concat(s):l=-1,s.length&&f())}function f(){if(!u){var e=c(p);u=!0;for(var t=s.length;t;){for(a=s,s=[];++l1)for(var n=1;n, or pass a custom React context provider to and the corresponding React context consumer to '+c+" in connect options.");var n,r=e.storeState,o=e.store,i=this.props;k&&(i=this.props.wrapperProps,n=this.props.forwardedRef);var s=this.selectDerivedProps(r,i,o,a);return this.selectChildElement(t,s,n)},u.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,d.isContextConsumer)(f().createElement(this.props.context.Consumer,null))?this.props.context:N;return f().createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},s}(g);if(m.WrappedComponent=t,m.displayName=c,k){var b=f().forwardRef((function(e,t){return f().createElement(m,{wrapperProps:e,forwardedRef:t})}));return b.displayName=c,b.WrappedComponent=t,s()(b,t)}return s()(m,t)}}},28274:function(e,t,n){"use strict";var r,o,i,c,a,s,u,l,p,f,d,y,g=n(95672),h=n(20879),m=n(4193),v=n(37110),b=n(80214),E=n(26150),w=n(94262),_=n(27189);function S(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function j(e,t){return e===t}t.Z=(i=(o=void 0===r?{}:r).connectHOC,c=void 0===i?m.Z:i,a=o.mapStateToPropsFactories,s=void 0===a?E.ZP:a,u=o.mapDispatchToPropsFactories,l=void 0===u?b.ZP:u,p=o.mergePropsFactories,f=void 0===p?w.ZP:p,d=o.selectorFactory,y=void 0===d?_.ZP:d,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,u=o.areStatesEqual,p=void 0===u?j:u,d=o.areOwnPropsEqual,m=void 0===d?v.Z:d,b=o.areStatePropsEqual,E=void 0===b?v.Z:b,w=o.areMergedPropsEqual,_=void 0===w?v.Z:w,O=(0,h.Z)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=S(e,s,"mapStateToProps"),C=S(t,l,"mapDispatchToProps"),P=S(n,f,"mergeProps");return c(y,(0,g.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:k,initMapDispatchToProps:C,initMergeProps:P,pure:a,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:E,areMergedPropsEqual:_},O))})},80214:function(e,t,n){"use strict";var r=n(74978),o=n(68821);t.ZP=[function(e){return"function"==typeof e?(0,o.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,o.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,o.dX)((function(t){return(0,r.DE)(e,t)})):void 0}]},26150:function(e,t,n){"use strict";var r=n(68821);t.ZP=[function(e){return"function"==typeof e?(0,r.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,r.dX)((function(){return{}}))}]},94262:function(e,t,n){"use strict";var r=n(95672);n(80450);function o(e,t,n){return(0,r.Z)({},n,e,t)}t.ZP=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,c=!1;return function(t,n,a){var s=e(t,n,a);return c?o&&i(s,r)||(r=s):(c=!0,r=s),r}}}(e):void 0},function(e){return e?void 0:function(){return o}}]},27189:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(20879);n(51617);function o(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function i(e,t,n,r,o){var i,c,a,s,u,l=o.areStatesEqual,p=o.areOwnPropsEqual,f=o.areStatePropsEqual,d=!1;function y(o,d){var y,g,h=!p(d,c),m=!l(o,i);return i=o,c=d,h&&m?(a=e(i,c),t.dependsOnOwnProps&&(s=t(r,c)),u=n(a,s,c)):h?(e.dependsOnOwnProps&&(a=e(i,c)),t.dependsOnOwnProps&&(s=t(r,c)),u=n(a,s,c)):m?(y=e(i,c),g=!f(y,a),a=y,g&&(u=n(a,s,c)),u):u}return function(o,l){return d?y(o,l):(a=e(i=o,c=l),s=t(r,c),u=n(a,s,c),d=!0,u)}}function c(e,t){var n=t.initMapStateToProps,c=t.initMapDispatchToProps,a=t.initMergeProps,s=(0,r.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),u=n(e,s),l=c(e,s),p=a(e,s);return(s.pure?i:o)(u,l,p,e,s)}},51617:function(e,t,n){"use strict";n(28477)},68821:function(e,t,n){"use strict";n.d(t,{dX:function(){return r},xv:function(){return i}});n(80450);function r(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(t,n)),i},r}}},2620:function(e,t,n){"use strict";n.d(t,{zt:function(){return r.Z},$j:function(){return o.Z}});var r=n(32054),o=(n(4193),n(1992),n(28274))},37110:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function i(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){a=e},assignSuperProps:function(e){a=(0,i.assign)(a,e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);c("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);u.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);c("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),c('Built stat "%s" in group "%s"',t,e);return n}(e,t);u.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){u.tracks.recordPageView(e),u.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,o,i,c){u.ga.recordPurchase(e,t,n,r,o,i,c)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(a&&(c("- Super Props: %o",a),t=(0,i.assign)(t,a)),c('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):c('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};u.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){u.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){c("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};u.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),u.ga.initialized=!0)},recordPageView:function(e,t){u.ga.initialize(),c("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){u.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),c(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,o,i,c){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:c}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.Z=u},19570:function(e,t,n){"use strict";var r=n(92819),o=n(96483),i=n(26251);function c(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const a=c("JsonParseError"),s=c("JsonParseAfterRedirectError"),u=c("Api404Error"),l=c("Api404AfterRedirectError"),p=c("FetchNetworkError");const f=new function(e,t){let n=e,c={"X-WP-Nonce":t},a={credentials:"same-origin",headers:c},s={method:"post",credentials:"same-origin",headers:(0,r.assign)({},c,{"Content-type":"application/json"})},u=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+r.join("&")};const l={setApiRoot(e){n=e},setApiNonce(e){c={"X-WP-Nonce":e},a={credentials:"same-origin",headers:c},s={method:"post",credentials:"same-origin",headers:(0,r.assign)({},c,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,i.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,i.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),f(`${n}jetpack/v4/connection/register`,s,{body:JSON.stringify(r)}).then(d).then(y)},fetchAuthorizationUrl:e=>p((0,o.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),a).then(d).then(y),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,a).then(y),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,a).then(y),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,a).then(d).then(y),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,a).then(y),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,a).then(d).then(y),updateUserTrackingSettings:e=>f(`${n}jetpack/v4/tracking/settings`,s,{body:JSON.stringify(e)}).then(d).then(y),disconnectSite:()=>f(`${n}jetpack/v4/connection`,s,{body:JSON.stringify({isActive:!1})}).then(d).then(y),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,a).then(d).then(y),unlinkUser:()=>f(`${n}jetpack/v4/connection/user`,s,{body:JSON.stringify({linked:!1})}).then(d).then(y),reconnect:()=>f(`${n}jetpack/v4/connection/reconnect`,s).then(d).then(y),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,a).then(d).then(y),setHasSeenWCConnectionModal:()=>f(`${n}jetpack/v4/seen-wc-connection-modal`,s).then(d).then(y),fetchModules:()=>p(`${n}jetpack/v4/module/all`,a).then(d).then(y),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,a).then(d).then(y),activateModule:e=>f(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!0})}).then(d).then(y),deactivateModule:e=>f(`${n}jetpack/v4/module/${e}/active`,s,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>f(`${n}jetpack/v4/module/${e}`,s,{body:JSON.stringify(t)}).then(d).then(y),updateSettings:e=>f(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(d).then(y),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,a).then(d).then(y),resetOptions:e=>f(`${n}jetpack/v4/options/${e}`,s,{body:JSON.stringify({reset:!0})}).then(d).then(y),activateVaultPress:()=>f(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(d).then(y),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,a).then(d).then(y),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),f(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify(r)}).then(d).then(y)},activateAkismet:()=>f(`${n}jetpack/v4/plugins`,s,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(d).then(y),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,a).then(d).then(y),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,a).then(d).then(y),checkAkismetKeyTyped:e=>f(`${n}jetpack/v4/module/akismet/key/check`,s,{body:JSON.stringify({api_key:e})}).then(d).then(y),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),a).then(d).then(y).then(g),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,a).then(d).then(y),getPlans:()=>p(`${n}jetpack/v4/plans`,a).then(d).then(y),fetchSettings:()=>p(`${n}jetpack/v4/settings`,a).then(d).then(y),updateSetting:e=>f(`${n}jetpack/v4/settings`,s,{body:JSON.stringify(e)}).then(d).then(y),fetchSiteData:()=>p(`${n}jetpack/v4/site`,a).then(d).then(y).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,a).then(d).then(y).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,a).then(d).then(y),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,a).then(d).then(y).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,a).then(d).then(y).then((e=>JSON.parse(e.data))),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,a).then(d).then(y),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,a).then(d).then(y),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,a).then(d).then(y),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,a).then(d).then(y),saveRecommendationsData:e=>f(`${n}jetpack/v4/recommendations/data`,s,{body:JSON.stringify({data:e})}).then(d),fetchProducts:()=>p(`${n}jetpack/v4/products`,a).then(d).then(y),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,a).then(d).then(y).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,a).then(d).then(y).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>f(`${n}jetpack/v4/notice/${e}`,s,{body:JSON.stringify({dismissed:!0})}).then(d).then(y),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,a).then(d).then(y),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,a).then(d).then(y),verifySiteGoogle:e=>f(`${n}jetpack/v4/verify-site/google`,s,{body:JSON.stringify({keyring_id:e})}).then(d).then(y),sendMobileLoginEmail:()=>f(`${n}jetpack/v4/mobile/send-login-email`,s).then(d).then(y),submitSurvey:e=>f(`${n}jetpack/v4/marketing/survey`,s,{body:JSON.stringify(e)}).then(d).then(y),saveSetupQuestionnaire:e=>f(`${n}jetpack/v4/setup/questionnaire`,s,{body:JSON.stringify(e)}).then(d).then(y),updateLicensingError:e=>f(`${n}jetpack/v4/licensing/error`,s,{body:JSON.stringify(e)}).then(d).then(y),updateLicenseKey:e=>f(`${n}jetpack/v4/licensing/set-license`,s,{body:JSON.stringify({license:e})}).then(d).then(y),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,a).then(d).then(y),updateLicensingActivationNoticeDismiss:e=>f(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,s,{body:JSON.stringify({last_detached_count:e})}).then(d).then(y),updateRecommendationsStep:e=>f(`${n}jetpack/v4/recommendations/step`,s,{body:JSON.stringify({step:e})}).then(d),confirmIDCSafeMode:()=>f(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,s).then(d),startIDCFresh:e=>f(`${n}jetpack/v4/identity-crisis/start-fresh`,s,{body:JSON.stringify({redirect_uri:e})}).then(d).then(y),migrateIDC:()=>f(`${n}jetpack/v4/identity-crisis/migrate`,s).then(d),attachLicenses:e=>f(`${n}jetpack/v4/licensing/attach-licenses`,s,{body:JSON.stringify({licenses:e})}).then(d).then(y),fetchSearchPlanInfo:()=>p(`${n}jetpack/v4/search/plan`,a).then(d).then(y),fetchSearchSettings:()=>p(`${n}jetpack/v4/search/settings`,a).then(d).then(y),updateSearchSettings:e=>f(`${n}jetpack/v4/search/settings`,s,{body:JSON.stringify(e)}).then(d).then(y),fetchSearchStats:()=>p(`${n}jetpack/v4/search/stats`,a).then(d).then(y)};function p(e,t){return fetch(u(e),t)}function f(e,t,n){return fetch(e,(0,r.assign)({},t,n)).catch(h)}function g(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}(0,r.assign)(this,l)};function d(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new u})):e.json().catch((e=>g(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function y(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new s(n):new a}function h(){throw new p}t.ZP=f},78310:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(23698),c=n.n(i);n(31993);const a=e=>{const{format:t,icon:n,imageUrl:r}=e;return o().createElement("div",{className:"jp-components__decorative-card "+(t?"jp-components__decorative-card--"+t:"")},o().createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:r?`url( ${r} )`:""}}),o().createElement("div",{className:"jp-components__decorative-card__content"},o().createElement("div",{className:"jp-components__decorative-card__lines"})),(()=>{if(n)return o().createElement("div",{className:"jp-components__decorative-card__icon-container"},o().createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n}))})())};a.propTypes={format:c().oneOf(["horizontal","vertical"]),icon:c().oneOf(["unlink"]),imageUrl:c().string},a.defaultProps={format:"horizontal"},t.Z=a},71415:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r;var o;"undefined"!=typeof window&&(r=null===(o=window.Initial_State)||void 0===o?void 0:o.calypsoEnv);if(0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);Object.keys(t).map((e=>{n[e]=encodeURIComponent(t[e])})),!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);const i=Object.keys(n).map((e=>e+"="+n[e])).join("&");return"https://jetpack.com/redirect/?"+i}n.d(t,{Z:function(){return r}})},26251:function(e,t,n){var r=n(55246);let o={};try{o=n(92787)}catch{r.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),o={missingConfig:!0}}const i=e=>o.hasOwnProperty(e);e.exports={jetpackConfigHas:i,jetpackConfigGet:e=>{if(!i(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return o[e]}}},73593:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(23698),c=n.n(i),a=n(65736),s=n(2332);const __=a.__,u=e=>{const{connectedPlugins:t,disconnectingPlugin:n}=e,i=(0,r.useMemo)((()=>{if(t){return Object.keys(t).map((e=>Object.assign({slug:e},t[e]))).filter((e=>n!==e.slug))}return[]}),[t,n]);return t&&i.length>0?o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},i.map((e=>o().createElement(s.Z,{title:e.name}))))):null};u.propTypes={connectedPlugins:c().object,disconnectingPlugin:c().string},t.Z=u},2332:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(23698),c=n.n(i);n(33272);const a=e=>{const{title:t,value:n,description:r}=e;return o().createElement("div",{className:"jp-connection__disconnect-card card"},o().createElement("div",{className:"jp-connection__disconnect-card__card-content"},o().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},t),(n||r)&&o().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},o().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},n),o().createElement("div",{className:"jp-connection__disconnect-card__card-description"},r))))};a.propTypes={title:c().string,value:c().string|c().number,description:c().number},t.Z=a},15628:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(23698),c=n.n(i),a=n(65736),s=n(55609),u=n(19570),l=n(80816),p=n(26251),f=(n(70453),n(80163)),d=n(71496),y=n(84130),g=n(55700);const __=a.__,h=e=>{const[t,n]=(0,r.useState)(!1),[i,c]=(0,r.useState)(!1),[a,h]=(0,r.useState)(!1),[m,v]=(0,r.useState)(!1),[b,E]=(0,r.useState)(!1),[w,_]=(0,r.useState)(!1),{apiRoot:S,apiNonce:j,connectedPlugins:O,title:k,pluginScreenDisconnectCallback:C,onDisconnected:P,onError:A,disconnectStepComponent:T,context:N,connectedUser:x,connectedSiteId:I,isOpen:F,onClose:D}=e;let R="";(0,p.jetpackConfigHas)("consumer_slug")&&(R=(0,p.jetpackConfigGet)("consumer_slug"));const U=(0,r.useMemo)((()=>({context:N,plugin:R})),[N,R]);(0,r.useEffect)((()=>{u.ZP.setApiRoot(S),u.ZP.setApiNonce(j)}),[S,j]),(0,r.useEffect)((()=>{x&&x.ID&&x.login&&l.Z.initialize(x.ID,x.login)}),[x,x.ID,x.login]),(0,r.useEffect)((()=>{F&&l.Z.tracks.recordEvent("jetpack_disconnect_dialog_open",U)}),[F,U]),(0,r.useEffect)((()=>{F&&(i?!i||m||b?m&&!b?l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},U)):b&&l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},U)):l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},U)):l.Z.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},U)))}),[F,i,m,b,U]);const $=(0,r.useCallback)((()=>{u.ZP.disconnectSite().then((()=>{n(!1),c(!0)})).catch((e=>{n(!1),h(e),A&&A(e)}))}),[n,c,h,A]),M=(0,r.useCallback)(((e,t)=>{_(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);l.Z.tracks.recordEvent("jetpack_disconnect_survey_submit",t),E(!0),_(!1)})).catch((e=>{l.Z.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},t)),E(!0),_(!1)}))}),[_,E]),L=(0,r.useCallback)((e=>{e&&e.preventDefault(),h(!1),n(!0),"plugins"!==N?$():C&&C(e)}),[h,n,C,N,$]),q=(0,r.useCallback)((e=>l.Z.tracks.recordEvent(e,U)),[U]),B=(0,r.useCallback)((()=>x.ID&&I),[x,I]),J=(0,r.useCallback)(((e,t,n)=>{if(n&&n.preventDefault(),!B())return void E(!0);const r={site_id:I,user_id:x.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:t||null}}},o=Object.assign({},U,{disconnect_reason:e});M(r,o)}),[M,E,B,I,x,U]),Z=(0,r.useCallback)((e=>{e&&e.preventDefault(),P&&P(),D()}),[P,D]),V=(0,r.useCallback)((e=>{e&&e.preventDefault(),v(!0)}),[v]);return o().createElement(o().Fragment,null,F&&o().createElement(s.Modal,{title:"",contentLabel:k,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:D,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(i?" jp-connection__disconnect-dialog__success":"")},i?!i||m||b?m&&!b?o().createElement(y.Z,{isSubmittingFeedback:w,onFeedBackProvided:J,onExit:Z}):b?o().createElement(g.Z,{onExit:Z}):void 0:o().createElement(d.Z,{canProvideFeedback:B(),onProvideFeedback:V,onExit:Z}):o().createElement(f.Z,{title:k,connectedPlugins:O,disconnectStepComponent:T,isDisconnecting:t,closeModal:D,onDisconnect:L,disconnectError:a,context:N,disconnectingPlugin:R,trackModalClick:q})))};h.propTypes={apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,title:c().string,onDisconnected:c().func,onError:c().func,context:c().string,connectedPlugins:c().object,pluginScreenDisconnectCallback:c().func,disconnectStepComponent:c().element,connectedUser:c().object,connectedSiteId:c().number,isOpen:c().bool,onClose:c().func},h.defaultProps={title:__("Are you sure you want to disconnect?","jetpack"),context:"jetpack-dashboard",connectedUser:{}},t.Z=h},71496:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(23698),c=n.n(i),a=n(69307),s=n(65736),u=n(55609),l=n(78310),p=n(62042);const __=s.__,f=e=>{const{onExit:t,canProvideFeedback:n,onProvideFeedback:r}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(l.Z,{icon:"unlink",imageUrl:p}),o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},o().createElement("h1",null,(0,a.createInterpolateElement)(__("Jetpack has been
successfully disconnected.","jetpack"),{br:o().createElement("br",null)})),n&&o().createElement(o().Fragment,null,o().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack")),o().createElement("p",null,o().createElement(u.Button,{isPrimary:!0,onClick:r,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack"))),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("No thank you","jetpack"))),!n&&o().createElement(o().Fragment,null,o().createElement("p",null,o().createElement(u.Button,{isPrimary:!0,onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))))};f.PropTypes={onExit:c().func,onProvideFeedback:c().func,canProvideFeedback:c().bool},t.Z=f},80163:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(69307),c=n(65736),a=n(71415),s=n(55609),u=n(23698),l=n.n(u),p=n(73593);const __=c.__,f=e=>{const{title:t,isDisconnecting:n,onDisconnect:c,disconnectError:u,disconnectStepComponent:l,connectedPlugins:f,disconnectingPlugin:d,closeModal:y,context:g,trackModalClick:h}=e,m=(0,r.useCallback)((()=>h("jetpack_disconnect_dialog_click_learn_about")),[h]),v=(0,r.useCallback)((()=>h("jetpack_disconnect_dialog_click_support")),[h]),b=(0,r.useCallback)((()=>{h("jetpack_disconnect_dialog_click_stay_connected"),y()}),[h,y]),E=(0,r.useCallback)((e=>{h("jetpack_disconnect_dialog_click_disconnect"),c(e)}),[h,c]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},t),o().createElement(p.Z,{connectedPlugins:f,disconnectingPlugin:d}),l,(()=>{if(!f&&!l)return o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack"),o().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack")))})()),o().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},o().createElement("div",{className:"jp-row"},o().createElement("div",{className:"lg-col-span-7 md-col-span-8 sm-col-span-4"},o().createElement("p",null,(0,i.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support.","jetpack"),{strong:o().createElement("strong",null),jpConnectionInfoLink:o().createElement("a",{href:(0,a.Z)("why-the-wordpress-com-connection-is-important-for-jetpack"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:m}),jpSupportLink:o().createElement("a",{href:(0,a.Z)("jetpack-support"),rel:"noopener noreferrer",target:"_blank",className:"jp-connection__disconnect-dialog__link",onClick:v})}))),o().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-5 md-col-span-8 sm-col-span-4"},o().createElement(s.Button,{isPrimary:!0,disabled:n,onClick:b,className:"jp-connection__disconnect-dialog__btn-dismiss"},__("Stay connected","jetpack")),(()=>{let e=__("Disconnect","jetpack");return n?e=__("Disconnecting…","jetpack"):"plugins"===g&&(e=__("Disconnect and Deactivate","jetpack")),o().createElement(s.Button,{isPrimary:!0,disabled:n,onClick:E,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),u&&o().createElement("p",{className:"jp-connection__disconnect-dialog__error"},u)))};f.propTypes={title:l().string,isDisconnecting:l().bool,onDisconnect:l().func,disconnectError:l().bool,disconnectStepComponent:l().elementType,connectedPlugins:l().array,disconnectingPlugin:l().string,closeModal:l().func,context:l().string,trackModalClick:l().func},t.Z=f},84130:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(23698),c=n.n(i),a=n(65736),s=(n(47637),n(71194));const __=a.__,u=e=>{const{onExit:t,onFeedBackProvided:n,isSubmittingFeedback:r}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack")),o().createElement(s.Z,{onSubmit:n,isSubmittingFeedback:r}),o().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:t},__("Skip for now","jetpack")))};u.PropTypes={onExit:c().func,onFeedBackProvided:c().func,isSubmittingFeedback:c().bool},t.Z=u},55700:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(23698),c=n.n(i),a=n(78310),s=n(65736),u=n(55609),l=n(69307),p=n(90724);const __=s.__,f=e=>{const{onExit:t}=e;return o().createElement("div",{className:"jp-connection__disconnect-dialog__content"},o().createElement(a.Z,{format:"vertical",imageUrl:p}),o().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},o().createElement("h1",null,__("Thank you!","jetpack")),o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,l.createInterpolateElement)(__("Your answer has been submitted.
Thanks for your input on how we can improve Jetpack.","jetpack"),{br:o().createElement("br",null)})),o().createElement(u.Button,{isPrimary:!0,onClick:t,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack"))))};f.PropTypes={onExit:c().func,assetBaseUrl:c().string},t.Z=f},71194:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(23698),c=n.n(i),a=n(55609),s=n(65736),u=n(87215);const __=s.__,l=e=>{const{onSubmit:t,isSubmittingFeedback:n}=e,[i,c]=(0,r.useState)(),[s,l]=(0,r.useState)(),p=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack")},{id:"not-working",answerText:__("I can't get it to work.","jetpack")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack")},{id:"buggy",answerText:__("It's buggy.","jetpack")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack")}],f="another-reason",d=(0,r.useCallback)((()=>{t(i,i===f?s:"")}),[t,f,s,i]),y=(0,r.useCallback)((e=>{const t=e.target.value;e.stopPropagation(),l(t)}),[l]),g=e=>e===i?"jp-connect__disconnect-survey-card--selected":"",h=(0,r.useCallback)(((e,t)=>{switch(t.key){case"Enter":case"Space":case"Spacebar":case" ":c(e)}}),[c]);return o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},p.map((e=>o().createElement(u.Z,{id:e.id,onClick:c,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+g(e.id)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),o().createElement(u.Z,{id:f,onClick:c,onKeyDown:h,className:"card jp-connect__disconnect-survey-card "+g(f)},o().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack")," ",o().createElement("input",{placeholder:__("share your experience","jetpack"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:s,onChange:y,maxLength:1e3})))),o().createElement("p",null,o().createElement(a.Button,{disabled:!i||n,isPrimary:!0,onClick:d,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},n?__("Submitting…","jetpack"):__("Submit Feedback","jetpack",0))))};l.PropTypes={onSubmit:c().func,isSubmittingFeedback:c().bool},t.Z=l},87215:function(e,t,n){"use strict";var r=n(99196),o=n.n(r);n(47637);t.Z=e=>{const{id:t,onClick:n,onKeyDown:i,children:c,className:a}=e,s=(0,r.useCallback)((()=>{n(t)}),[t,n]),u=(0,r.useCallback)((e=>{i(t,e)}),[t,i]);return o().createElement("div",{tabIndex:"0",role:"button",onClick:s,onKeyDown:u,className:"card jp-connect__disconnect-survey-card "+a},c)}},87137:function(e,t,n){"use strict";n.d(t,{o:function(){return r},m:function(){return o}});const r="NEW_NOTICE",o="REMOVE_NOTICE"},21094:function(e,t,n){"use strict";var r=n(92819),o=n(87137);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i={noticeId:n.id||(0,r.uniqueId)(),duration:n.duration,showDismiss:"boolean"!=typeof n.showDismiss||n.showDismiss,isPersistent:n.isPersistent||!1,displayOnNextPage:n.displayOnNextPage||!1,status:e,text:t};return{type:o.o,notice:i}}i.bind(null,"is-success"),i.bind(null,"is-error"),i.bind(null,"is-info"),i.bind(null,"is-warning")},31008:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(74978),o=n(87137);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.o:return[t.notice,...e];case o.m:return e.filter((e=>e.noticeId!==t.noticeId))}return e}(0,r.UY)({globalNotices:i})},27711:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(2332),c=n(69307),a=n(55609),s=n(65736),u=n(71415);const __=s.__;t.Z=e=>{const{siteBenefits:t}=e;return o().createElement(o().Fragment,null,t.length>0&&o().createElement(o().Fragment,null,o().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.","jetpack"))),o().createElement("div",{className:"jp-connection__disconnect-card__group"},t.map((e=>{let{value:t,description:n,title:r}=e;return o().createElement(i.Z,{title:r,value:t,description:n})})))),t.length<=2&&o().createElement("div",{className:"jetpack-benefits__general-benefits-section"},o().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack has many powerful tools that can help you achieve your goals","jetpack")),o().createElement("ul",{className:"jetpack-benefits__general-benefits-list"},o().createElement("li",{key:"reason-cdn"},(0,c.createInterpolateElement)(__("Speed up your site and provide mobile-ready images with our CDN","jetpack"),{ExternalLink:o().createElement(a.ExternalLink,{href:(0,u.Z)("jetpack-features-design-content-delivery-network"),rel:"noopener noreferrer",target:"_blank"})})),o().createElement("li",{key:"reason-brute-force"},(0,c.createInterpolateElement)(__("Block brute force attacks and get immediate notifications if your site is down","jetpack"),{ExternalLink:o().createElement(a.ExternalLink,{href:(0,u.Z)("jetpack-features-security"),rel:"noopener noreferrer",target:"_blank"})})),o().createElement("li",{key:"reason-social"},(0,c.createInterpolateElement)(__("Grow your traffic with automated social publishing and sharing","jetpack"),{ExternalLink:o().createElement(a.ExternalLink,{href:(0,u.Z)("jetpack-support-social"),rel:"noopener noreferrer",target:"_blank"})})))))}},81200:function(e,t,n){"use strict";n(92819)},60265:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(2620),c=n(65736),a=n(37617),s=n(66552),u=n(88872),l=n(41147),p=n(19570),f=n(15628),d=n(27711);const __=c.__;t.Z=(0,i.$j)((e=>({apiRoot:(0,s.yB)(e),apiNonce:(0,s.VY)(e),connectedPlugins:(0,u.H0)(e),siteBenefits:(0,u.nq)(e),connectionUserData:(0,l.tN)(e)})),(e=>({fetchConnectedPlugins:()=>e((0,u.tG)()),fetchSiteBenefits:()=>e((0,u.IO)()),fetchUserConnectionData:()=>e((0,l.jb)())})))((e=>{const{apiRoot:t,apiNonce:n,connectedPlugins:i,siteBenefits:c,connectionUserData:s,fetchConnectedPlugins:u,fetchSiteBenefits:l,fetchUserConnectionData:y}=e,[g,h]=(0,r.useState)(!1);(0,r.useEffect)((()=>{l(),u(),y()}),[l,u,y]);const m=document.querySelector("#deactivate-jetpack, #deactivate-jetpack-dev");m.setAttribute("title",__("Deactivate Jetpack","jetpack")),m.textContent=__("Disconnect and Deactivate","jetpack"),(0,r.useEffect)((()=>{p.ZP.setApiRoot(t),p.ZP.setApiNonce(n)}),[t,n]);const v=(0,r.useCallback)((()=>{h(!g)}),[h,g]),b=(0,r.useCallback)((e=>{e.preventDefault(),v()}),[v]);(0,r.useEffect)((()=>(m.addEventListener("click",b),()=>{m.removeEventListener("click",b)})),[m,b]);const E=(0,r.useCallback)((()=>{window.location.href=m.getAttribute("href")}),[m]),w=c?o().createElement(d.Z,{siteBenefits:c}):null;return o().createElement(a.Z,null,o().createElement(f.Z,{apiRoot:t,apiNonce:n,connectedPlugins:i,connectedUser:{ID:null==s?void 0:s.ID,login:null==s?void 0:s.login},context:"plugins",isOpen:g,onClose:v,pluginScreenDisconnectCallback:E,disconnectStepComponent:w}))}))},37617:function(e,t,n){"use strict";var r=n(91850),o=n.n(r),i=n(99196),c=n.n(i);const a=document.getElementById("jetpack-plugin-portal-sidecar");class s extends c().Component{constructor(e){super(e),this.portalNode=document.createElement("div")}componentDidMount(){a.appendChild(this.portalNode)}componentWillUnmount(){a.removeChild(this.portalNode)}render(){return o().createPortal(this.props.children,this.portalNode)}}t.Z=s},67592:function(e,t,n){"use strict";n.d(t,{R9:function(){return r},q7:function(){return o},Uy:function(){return i},hm:function(){return c},J1:function(){return a},U7:function(){return s},BV:function(){return u},ie:function(){return l},AA:function(){return p},IW:function(){return f},Mo:function(){return d},dD:function(){return y},lj:function(){return g},o2:function(){return h},yb:function(){return m},bG:function(){return v},sO:function(){return b},B9:function(){return E},jE:function(){return w},kF:function(){return _},I3:function(){return S},sG:function(){return j},n2:function(){return O},Jy:function(){return k},Gu:function(){return C},xk:function(){return P},CD:function(){return A},L:function(){return T},Lo:function(){return N},Hy:function(){return x},m:function(){return I},a8:function(){return F},ar:function(){return D},TR:function(){return R},g:function(){return U},i7:function(){return $},ik:function(){return M},rQ:function(){return L},fH:function(){return q},l9:function(){return B},Mg:function(){return J},nD:function(){return Z},rw:function(){return V},Vl:function(){return H},VN:function(){return W},g9:function(){return G},Fe:function(){return K},lt:function(){return z},Dz:function(){return Y},Ab:function(){return X},Ep:function(){return Q},zO:function(){return ee},Qm:function(){return te},XP:function(){return ne},K0:function(){return re},b8:function(){return oe},hF:function(){return ie},jt:function(){return ce}});const r="JETPACK_SET_INITIAL_STATE",o="CONNECT_URL_FETCH",i="CONNECT_URL_FETCH_FAIL",c="CONNECT_URL_FETCH_SUCCESS",a="DISCONNECT_SITE",s="DISCONNECT_SITE_FAIL",u="DISCONNECT_SITE_SUCCESS",l="CONNECT_USER",p="RESET_CONNECT_USER",f="UNLINK_USER",d="UNLINK_USER_FAIL",y="UNLINK_USER_SUCCESS",g="USER_CONNECTION_DATA_FETCH",h="USER_CONNECTION_DATA_FETCH_FAIL",m="USER_CONNECTION_DATA_FETCH_SUCCESS",v="SITE_RECONNECT",b="SITE_RECONNECT_SUCCESS",E="SITE_RECONNECT_FAIL",w="JETPACK_MODULES_LIST_FETCH",_="JETPACK_MODULES_LIST_FETCH_FAIL",S="JETPACK_MODULES_LIST_RECEIVE",j="JETPACK_MODULE_ACTIVATE",O="JETPACK_MODULE_ACTIVATE_SUCCESS",k="JETPACK_MODULE_ACTIVATE_FAIL",C="JETPACK_MODULE_DEACTIVATE",P="JETPACK_MODULE_DEACTIVATE_FAIL",A="JETPACK_MODULE_DEACTIVATE_SUCCESS",T="JETPACK_MODULE_UPDATE_OPTIONS",N="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",x="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",I="JETPACK_CONNECTION_STATUS_FETCH",F="JETPACK_SITE_CONNECTED_PLUGINS_FETCH",D="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_RECEIVE",R="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_FAIL",U="JETPACK_PRODUCTS_FETCH",$="JETPACK_PRODUCTS_FETCH_RECEIVE",M="JETPACK_PRODUCTS_FETCH_FAIL",L="JETPACK_SITE_DATA_FETCH",q="JETPACK_SITE_DATA_FETCH_RECEIVE",B="JETPACK_SITE_DATA_FETCH_FAIL",J="JETPACK_SITE_BENEFITS_FETCH",Z="JETPACK_SITE_BENEFITS_FETCH_RECEIVE",V="JETPACK_SITE_BENEFITS_FETCH_FAIL",H="JETPACK_SITE_FEATURES_FETCH",W="JETPACK_SITE_FEATURES_FETCH_RECEIVE",G="JETPACK_SITE_FEATURES_FETCH_FAIL",K="JETPACK_SITE_PLANS_FETCH",z="JETPACK_SITE_PLANS_FETCH_RECEIVE",Y="JETPACK_SITE_PLANS_FETCH_FAIL",X="JETPACK_SITE_PURCHASES_FETCH",Q="JETPACK_SITE_PURCHASES_FETCH_RECEIVE",ee="JETPACK_SITE_PURCHASES_FETCH_FAIL",te="JETPACK_PLUGINS_DATA_FETCH",ne="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",re="JETPACK_PLUGINS_DATA_FETCH_FAIL",oe="SET_PLAN_DURATION",ie="MOCK_SWITCH_USER_PERMISSIONS",ce="JETPACK_CONNECTION_HAS_SEEN_WC_CONNECTION_MODAL"},64769:function(e,t,n){"use strict";n.d(t,{jb:function(){return i}});n(65736),n(21094);var r=n(67592),o=n(19570);n(66552);const i=()=>e=>(e({type:r.lj}),o.ZP.fetchUserConnectionData().then((t=>{e({type:r.yb,userConnectionData:t})})).catch((t=>{e({type:r.o2,error:t})})))},41147:function(e,t,n){"use strict";n.d(t,{tN:function(){return r.tN},jb:function(){return o.jb}});var r=n(6861),o=n(64769)},6861:function(e,t,n){"use strict";n.d(t,{I6:function(){return a},tN:function(){return s}});var r=n(74978),o=n(92819),i=n(67592);n(93107);const c={disconnectingSite:!1,connectingUser:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1,reconnectingSite:!1},a=(0,r.UY)({connectUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R9:return(0,o.get)(t,"initialState.connectUrl",e);case i.hm:return t.connectUrl;default:return e}},status:function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{siteConnected:window.Initial_State.connectionStatus},r=arguments.length>1?arguments[1]:void 0;switch(r.type){case i.m:case i.BV:return(0,o.assign)({},n,{siteConnected:r.siteConnected});case i.dD:return(0,o.assign)({},n,{siteConnected:{...n.siteConnected,isUserConnected:!1}});case i.yb:return!0===(null===(e=r.userConnectionData)||void 0===e||null===(t=e.currentUser)||void 0===t?void 0:t.isConnected)?(0,o.assign)({},n,{siteConnected:{...n.siteConnected,hasConnectedOwner:!0}}):n;default:return n}},user:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.userData||{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.yb:return(0,o.assign)({},e,t.userConnectionData);case i.dD:const n=(0,o.assign)({},e.currentUser,{isConnected:!1});return(0,o.assign)({},e,{currentUser:n});case i.hF:return(0,o.merge)({},e,t.initialState);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.J1:return(0,o.assign)({},e,{disconnectingSite:!0});case i.IW:return(0,o.assign)({},e,{unlinkingUser:!0});case i.ie:return(0,o.assign)({},e,{connectingUser:!0,connectingUserFeatureLabel:t.featureLabel});case i.AA:return(0,o.assign)({},e,{connectingUser:!1});case i.q7:return(0,o.assign)({},e,{fetchingConnectUrl:!0});case i.lj:return(0,o.assign)({},e,{fetchingUserData:!0});case i.bG:return(0,o.assign)({},e,{reconnectingSite:!0});case i.U7:case i.BV:return(0,o.assign)({},e,{disconnectingSite:!1});case i.Mo:case i.dD:return(0,o.assign)({},e,{unlinkingUser:!1});case i.Uy:case i.hm:return(0,o.assign)({},e,{fetchingConnectUrl:!1});case i.o2:case i.yb:return(0,o.assign)({},e,{fetchingUserData:!1});case i.B9:case i.sO:return(0,o.assign)({},e,{reconnectingSite:!1});default:return e}},hasSeenWCConnectionModal:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.hasSeenWCConnectionModal||!1,t=arguments.length>1?arguments[1]:void 0;return t.type===i.jt||e}});function s(e){var t;return null===(t=e.jetpack.connection.user.currentUser)||void 0===t?void 0:t.wpcomUser}},66552:function(e,t,n){"use strict";n.d(t,{VY:function(){return r.VY},yB:function(){return r.yB}});var r=n(67643)},67643:function(e,t,n){"use strict";n.d(t,{E3:function(){return i},VY:function(){return c},yB:function(){return a}});var r=n(92819),o=n(67592);n(89238),n(13553),n(41147);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.R9:return(0,r.assign)({},e,t.initialState);case o.hF:return(0,r.merge)({},e,{userData:t.initialState});default:return e}};function c(e){return(0,r.get)(e.jetpack.initialState,"WP_API_nonce")}function a(e){return(0,r.get)(e.jetpack.initialState,"WP_API_root")}},7954:function(e,t,n){"use strict";n(92819),n(65736),n(21094),n(91172),n(19570)},93107:function(e,t,n){"use strict";n(91172),n(7954)},91172:function(e,t,n){"use strict";var r=n(74978),o=n(92819),i=n(67592);n(61744);const c={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}};(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R9:return(0,o.assign)({},t.initialState.getModules);case i.I3:return(0,o.assign)({},e,t.modules);case i.n2:return(0,o.assign)({},e,{[t.module]:(0,o.assign)({},e[t.module],{activated:!0})});case i.CD:return(0,o.assign)({},e,{[t.module]:(0,o.assign)({},e[t.module],{activated:!1})});case i.Hy:const n=(0,o.assign)({},e[t.module]);return Object.keys(t.newOptionValues).forEach((e=>{n.options[e].current_value=t.newOptionValues[e]})),(0,o.assign)({},e,{[t.module]:n});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.jE:return(0,o.assign)({},e,{fetchingModulesList:!0});case i.kF:case i.I3:return(0,o.assign)({},e,{fetchingModulesList:!1});case i.sG:return(0,o.assign)({},e,{activating:(0,o.assign)({},e.activating,{[t.module]:!0})});case i.Jy:case i.n2:return(0,o.assign)({},e,{activating:(0,o.assign)({},e.activating,{[t.module]:!1})});case i.Gu:return(0,o.assign)({},e,{deactivating:(0,o.assign)({},e.deactivating,{[t.module]:!0})});case i.xk:case i.CD:return(0,o.assign)({},e,{deactivating:(0,o.assign)({},e.deactivating,{[t.module]:!1})});case i.L:const n=(0,o.assign)({},e.updatingOption);return n[t.module]=(0,o.assign)({},n[t.module]),Object.keys(t.newOptionValues).forEach((e=>{n[t.module][e]=!0})),(0,o.assign)({},e,{updatingOption:(0,o.assign)({},e.updatingOption,n)});case i.Lo:case i.Hy:const r=(0,o.assign)({},e.updatingOption);return r[t.module]=(0,o.assign)({},r[t.module]),Object.keys(t.newOptionValues).forEach((e=>{r[t.module][e]=!1})),(0,o.assign)({},e,{updatingOption:(0,o.assign)({},e.updatingOption,r)});default:return e}}})},89238:function(e,t,n){"use strict";var r=n(74978),o=n(67592);(0,r.UY)({duration:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"yearly",t=arguments.length>1?arguments[1]:void 0;return t.type===o.b8?t.duration:e}})},37457:function(e,t,n){"use strict";n(19570)},13553:function(e,t,n){"use strict";n(79367),n(37457)},79367:function(e,t,n){"use strict";var r=n(92819),o=n(74978),i=n(67592);(0,o.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.i7?t.products:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.g:return(0,r.assign)({},e,{isFetchingProducts:!0});case i.i7:case i.ik:return(0,r.assign)({},e,{isFetchingProducts:!1});default:return e}}})},40719:function(e,t,n){"use strict";var r=n(74978),o=n(31008),i=n(67643),c=n(6861),a=n(17881);const s=(0,r.UY)({initialState:i.E3,connection:c.I6,siteData:a.I6});t.Z=(0,r.UY)({globalNotices:o.x,jetpack:s})},30007:function(e,t,n){"use strict";var r=n(74978),o=n(53126),i=n(40719);t.Z=(0,r.qC)((0,r.md)(o.Z),"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)(r.MT)(i.Z)},74424:function(e,t,n){"use strict";n.d(t,{IO:function(){return i},tG:function(){return c}});var r=n(67592),o=n(19570);const i=()=>e=>(e({type:r.Mg}),o.ZP.fetchSiteBenefits().then((t=>{e({type:r.nD,siteBenefits:t})})).catch((t=>{e({type:r.rw,error:t})}))),c=()=>e=>(e({type:r.a8}),o.ZP.fetchConnectedPlugins().then((t=>(e({type:r.ar,connectedPlugins:t}),t))).catch((t=>{e({type:r.TR,error:t})})))},88872:function(e,t,n){"use strict";n.d(t,{H0:function(){return r.H0},nq:function(){return r.nq},tG:function(){return o.tG},IO:function(){return o.IO}});var r=n(17881),o=n(74424)},36583:function(e,t,n){"use strict";n(19570)},61744:function(e,t,n){"use strict";n(40054),n(36583)},40054:function(e,t,n){"use strict";var r=n(92819),o=n(74978),i=n(67592);const c={isFetchingPluginsData:!1};(0,o.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.XP?(0,r.assign)({},t.pluginsData):e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.Qm:return(0,r.assign)({},e,{isFetchingPluginsData:!0});case i.K0:case i.XP:return(0,r.assign)({},e,{isFetchingPluginsData:!1});default:return e}}})},17881:function(e,t,n){"use strict";n.d(t,{I6:function(){return s},nq:function(){return u},H0:function(){return l}});var r=n(74978),o=n(92819),i=n(65736),c=(n(81200),n(67592));const __=i.__,a={isFetchingSiteData:!1},s=(0,r.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.fH:return(0,o.assign)({},e,t.siteData);case c.nD:return(0,o.merge)({},e,{site:{benefits:t.siteBenefits}});case c.ar:return(0,o.merge)({},e,{site:{connectedPlugins:t.connectedPlugins}});case c.VN:return(0,o.merge)({},e,{site:{features:t.siteFeatures}});case c.lt:return(0,o.merge)({},e,{sitePlans:t.plans});case c.Ep:return(0,o.merge)({},e,{sitePurchases:t.purchases});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c.rQ:return(0,o.assign)({},e,{isFetchingSiteData:!0});case c.Mg:return(0,o.assign)({},e,{isFetchingSiteBenefits:!0});case c.a8:return(0,o.assign)({},e,{isFetchingConnectedPlugins:!0});case c.Vl:return(0,o.assign)({},e,{isFetchingSiteFeatures:!0});case c.Fe:return(0,o.assign)({},e,{isFetchingSitePlans:!0});case c.Ab:return(0,o.assign)({},e,{isFetchingSitePurchases:!0});case c.l9:case c.fH:return(0,o.assign)({},e,{isFetchingSiteData:!1});case c.rw:case c.nD:return(0,o.assign)({},e,{isFetchingSiteBenefits:!1});case c.TR:case c.ar:return(0,o.assign)({},e,{isFetchingConnectedPlugins:!1,isDoneFetchingConnectedPlugins:!0});case c.g9:case c.VN:return(0,o.assign)({},e,{isFetchingSiteFeatures:!1});case c.Dz:case c.lt:return(0,o.assign)({},e,{isFetchingSitePlans:!1});case c.zO:case c.Ep:return(0,o.assign)({},e,{isFetchingSitePurchases:!1});default:return e}},errors:function(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(r.type===c.l9){switch(r.error.name){case"ApiError":e="reconnect",t=__("There seems to be a problem with your connection to WordPress.com. If the problem persists, try reconnecting.","jetpack");break;case"JsonParseError":e="support",t=__("Jetpack encountered an error and was unable to display the Dashboard. Please try refreshing the page.","jetpack");break;default:e=null,t=__("There seems to be a problem with your website.","jetpack")}return(0,o.assign)({},n,{message:r.error.hasOwnProperty("response")?r.error.response.message:t,action:e,code:r.error.hasOwnProperty("response")?r.error.response.code:"fetch_site_data_fail_other",data:r.error.hasOwnProperty("response")?r.error.response.data:{}})}return n}});function u(e){return(0,o.get)(e.jetpack.siteData,["data","site","benefits"],null)}function l(e){const t=function(e){return function(e){return!!e.jetpack.siteData.requests.isDoneFetchingConnectedPlugins}(e)?(0,o.get)(e.jetpack.siteData,["data","site","connectedPlugins"],[]).filter((e=>"jetpack"!==e.slug)):null}(e);return t&&t.reduce(((e,t)=>(e[t.slug]={name:t.name},e)),{})}},95339:function(e,t,n){var r=n(55246),o=n(5806);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==o&&"env"in o&&(e=o.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,r.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=r.debug||r.log||(()=>{}),e.exports=n(84330)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},84330:function(e,t,n){var r=n(55246);e.exports=function(e){function t(e){let n,r,i,c=null;function a(){for(var e=arguments.length,r=new Array(e),o=0;o{if("%%"===e)return"%";u++;const o=t.formatters[n];if("function"==typeof o){const t=r[u];e=o.call(i,t),r.splice(u,1),u--}return e})),t.formatArgs.call(i,r);const l=i.log||t.log;l.apply(i,r)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=o,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==c?c:(r!==t.namespaces&&(r=t.namespaces,i=t.enabled(e)),i),set:e=>{c=e}}),"function"==typeof t.init&&t.init(a),a}function o(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),w(r.showHidden)&&(r.showHidden=!1),w(r.depth)&&(r.depth=2),w(r.colors)&&(r.colors=!1),w(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=p),d(r,e,r.depth)}function p(e,t){var n=l.styles[t];return n?"["+l.colors[n][0]+"m"+e+"["+l.colors[n][1]+"m":e}function f(e,t){return e}function d(e,n,r){if(e.customInspect&&n&&k(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return E(o)||(o=d(e,o,r)),o}var i=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(E(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(b(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(v(t))return e.stylize("null","null")}(e,n);if(i)return i;var c=Object.keys(n),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(c);if(e.showHidden&&(c=Object.getOwnPropertyNames(n)),O(n)&&(c.indexOf("message")>=0||c.indexOf("description")>=0))return y(n);if(0===c.length){if(k(n)){var s=n.name?": "+n.name:"";return e.stylize("[Function"+s+"]","special")}if(_(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(j(n))return e.stylize(Date.prototype.toString.call(n),"date");if(O(n))return y(n)}var u,l="",p=!1,f=["{","}"];(h(n)&&(p=!0,f=["[","]"]),k(n))&&(l=" [Function"+(n.name?": "+n.name:"")+"]");return _(n)&&(l=" "+RegExp.prototype.toString.call(n)),j(n)&&(l=" "+Date.prototype.toUTCString.call(n)),O(n)&&(l=" "+y(n)),0!==c.length||p&&0!=n.length?r<0?_(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=p?function(e,t,n,r,o){for(var i=[],c=0,a=t.length;c=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,l,f)):f[0]+l+f[1]}function y(e){return"["+Error.prototype.toString.call(e)+"]"}function g(e,t,n,r,o,i){var c,a,s;if((s=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?a=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(a=e.stylize("[Setter]","special")),N(r,o)||(c="["+o+"]"),a||(e.seen.indexOf(s.value)<0?(a=v(n)?d(e,s.value,null):d(e,s.value,n-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),w(c)){if(i&&o.match(/^\d+$/))return a;(c=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(c=c.substr(1,c.length-2),c=e.stylize(c,"name")):(c=c.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),c=e.stylize(c,"string"))}return c+": "+a}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function v(e){return null===e}function b(e){return"number"==typeof e}function E(e){return"string"==typeof e}function w(e){return void 0===e}function _(e){return S(e)&&"[object RegExp]"===C(e)}function S(e){return"object"==typeof e&&null!==e}function j(e){return S(e)&&"[object Date]"===C(e)}function O(e){return S(e)&&("[object Error]"===C(e)||e instanceof Error)}function k(e){return"function"==typeof e}function C(e){return Object.prototype.toString.call(e)}function P(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);o.error("%s %d: %s",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(58370),t.isArray=h,t.isBoolean=m,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=b,t.isString=E,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=w,t.isRegExp=_,t.types.isRegExp=_,t.isObject=S,t.isDate=j,t.types.isDate=j,t.isError=O,t.types.isNativeError=O,t.isFunction=k,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(11311);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(){var e=new Date,t=[P(e.getHours()),P(e.getMinutes()),P(e.getSeconds())].join(":");return[e.getDate(),A[e.getMonth()],t].join(" ")}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){o.log("%s - %s",T(),t.format.apply(t,arguments))},t.inherits=n(59503),t._extend=function(e,t){if(!t||!S(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var x="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(x&&e[x]){var t;if("function"!=typeof(t=e[x]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,x,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),o=[],i=0;i=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},43051:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),function(){"use strict";var e=n(91850),t=n.n(e),r=n(99196),o=n.n(r),i=n(2620),c=n(30007),a=n(60265);function s(){const e=document.getElementById("jetpack-plugin-portal-app");t().render(o().createElement(i.zt,{store:c.Z},o().createElement(a.Z,null)),e)}"loading"!==document.readyState?s():document.addEventListener("DOMContentLoaded",(()=>{s()}))}()}();