Full Site Editing - Version 3.21252

Version Description

Download this release

Release Info

Developer chriskmnds
Plugin Icon wp plugin Full Site Editing
Version 3.21252
Comparing to
See all releases

Code changes from version 3.20657 to 3.21252

full-site-editing-plugin.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: WordPress.com Editing Toolkit
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
- * Version: 3.20657
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
@@ -42,7 +42,7 @@ namespace A8C\FSE;
42
  *
43
  * @var string
44
  */
45
- define( 'A8C_ETK_PLUGIN_VERSION', '3.20657' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
2
  /**
3
  * Plugin Name: WordPress.com Editing Toolkit
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
+ * Version: 3.21252
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
42
  *
43
  * @var string
44
  */
45
+ define( 'A8C_ETK_PLUGIN_VERSION', '3.21252' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.5
5
  Tested up to: 5.6
6
- Stable tag: 3.20657
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.5
5
  Tested up to: 5.6
6
+ Stable tag: 3.21252
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
whats-new/dist/whats-new.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-react-i18n'), 'version' => '4e3fafe4a2f24369010f2f222dc062d0');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-react-i18n'), 'version' => '7448c73d60638f2db354cc678a019a21');
whats-new/dist/whats-new.js CHANGED
@@ -1 +1 @@
1
- !function(){var t={2680:function(t,e,n){"use strict";var r=n(7286),o=n(9429),i=o(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&i(t,".prototype.")>-1?o(n):n}},9429:function(t,e,n){"use strict";var r=n(4090),o=n(7286),i=o("%Function.prototype.apply%"),s=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(s,i),a=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(f){u=null}t.exports=function(t){var e=c(r,s,arguments);if(a&&u){var n=a(e,"length");n.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return c(r,i,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},3421:function(t,e){"use strict";var n=decodeURIComponent,r=encodeURIComponent,o=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(t,e){try{return e(t)}catch(n){return t}}},2699:function(t){"use strict";var e,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};e=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function i(){i.init.call(this)}t.exports=i,t.exports.once=function(t,e){return new Promise((function(n,r){function o(){void 0!==i&&t.removeListener("error",i),n([].slice.call(arguments))}var i;"error"!==e&&(i=function(n){t.removeListener(e,o),r(n)},t.once("error",i)),t.once(e,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function a(t){return void 0===t._maxListeners?i.defaultMaxListeners:t._maxListeners}function u(t,e,n,r){var o,i,s,u;if(c(n),void 0===(i=t._events)?(i=t._events=Object.create(null),t._eventsCount=0):(void 0!==i.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),i=t._events),s=i[e]),void 0===s)s=i[e]=n,++t._eventsCount;else if("function"==typeof s?s=i[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=a(t))>0&&s.length>o&&!s.warned){s.warned=!0;var p=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");p.name="MaxListenersExceededWarning",p.emitter=t,p.type=e,p.count=s.length,u=p,console&&console.warn&&console.warn(u)}return t}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},o=p.bind(r);return o.listener=n,r.wrapFn=o,o}function f(t,e,n){var r=t._events;if(void 0===r)return[];var o=r[e];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(o):d(o,o.length)}function h(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function d(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");s=t}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},i.prototype.getMaxListeners=function(){return a(this)},i.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var o="error"===t,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var s;if(e.length>0&&(s=e[0]),s instanceof Error)throw s;var c=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw c.context=s,c}var a=i[t];if(void 0===a)return!1;if("function"==typeof a)r(a,this,e);else{var u=a.length,p=d(a,u);for(n=0;n<u;++n)r(p[n],this,e)}return!0},i.prototype.addListener=function(t,e){return u(this,t,e,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(t,e){return u(this,t,e,!0)},i.prototype.once=function(t,e){return c(e),this.on(t,l(this,t,e)),this},i.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,l(this,t,e)),this},i.prototype.removeListener=function(t,e){var n,r,o,i,s;if(c(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===e||n[i].listener===e){s=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,o),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,s||e)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},i.prototype.listeners=function(t){return f(this,t,!0)},i.prototype.rawListeners=function(t){return f(this,t,!1)},i.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):h.call(t,e)},i.prototype.listenerCount=h,i.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},7795:function(t){"use strict";var e="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,o="[object Function]";t.exports=function(t){var i=this;if("function"!=typeof i||r.call(i)!==o)throw new TypeError(e+i);for(var s,c=n.call(arguments,1),a=function(){if(this instanceof s){var e=i.apply(this,c.concat(n.call(arguments)));return Object(e)===e?e:this}return i.apply(t,c.concat(n.call(arguments)))},u=Math.max(0,i.length-c.length),p=[],l=0;l<u;l++)p.push("$"+l);if(s=Function("binder","return function ("+p.join(",")+"){ return binder.apply(this,arguments); }")(a),i.prototype){var f=function(){};f.prototype=i.prototype,s.prototype=new f,f.prototype=null}return s}},4090:function(t,e,n){"use strict";var r=n(7795);t.exports=Function.prototype.bind||r},7286:function(t,e,n){"use strict";var r,o=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(e){}},a=Object.getOwnPropertyDescriptor;if(a)try{a({},"")}catch(x){a=null}var u=function(){throw new s},p=a?function(){try{return u}catch(t){try{return a(arguments,"callee").get}catch(e){return u}}}():u,l=n(2636)(),f=Object.getPrototypeOf||function(t){return t.__proto__},h={},d="undefined"==typeof Uint8Array?r:f(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":l?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&l?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?f(""[Symbol.iterator]()):r,"%Symbol%":l?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":p,"%TypedArray%":d,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},m=function t(e){var n;if("%AsyncFunction%"===e)n=c("async function () {}");else if("%GeneratorFunction%"===e)n=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=c("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(n=f(o.prototype))}return y[e]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=n(4090),v=n(3198),b=w.call(Function.call,Array.prototype.concat),_=w.call(Function.apply,Array.prototype.splice),C=w.call(Function.call,String.prototype.replace),S=w.call(Function.call,String.prototype.slice),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,A=function(t){var e=S(t,0,1),n=S(t,-1);if("%"===e&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return C(t,E,(function(t,e,n,o){r[r.length]=n?C(o,P,"$1"):e||t})),r},j=function(t,e){var n,r=t;if(v(g,r)&&(r="%"+(n=g[r])[0]+"%"),v(y,r)){var i=y[r];if(i===h&&(i=m(r)),void 0===i&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var n=A(t),r=n.length>0?n[0]:"",i=j("%"+r+"%",e),c=i.name,u=i.value,p=!1,l=i.alias;l&&(r=l[0],_(n,b([0,1],l)));for(var f=1,h=!0;f<n.length;f+=1){var d=n[f],m=S(d,0,1),g=S(d,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&h||(p=!0),v(y,c="%"+(r+="."+d)+"%"))u=y[c];else if(null!=u){if(!(d in u)){if(!e)throw new s("base intrinsic for "+t+" exists, but the property is not available.");return}if(a&&f+1>=n.length){var w=a(u,d);u=(h=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:u[d]}else h=v(u,d),u=u[d];h&&!p&&(y[c]=u)}}return u}},2636:function(t,e,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(6679);t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},6679:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},3198:function(t,e,n){"use strict";var r=n(4090);t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},4495:function(t,e,n){"use strict";var r=n(212),o=n(9561);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=i,i.prototype.update=function(t,e){if(t=r.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var o=0;o<t.length;o+=this._delta32)this._update(t,o,o+this._delta32)}return this},i.prototype.digest=function(t){return this.update(this._pad()),o(null===this.pending),this._digest(t)},i.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,n=e-(t+this.padLength)%e,r=new Array(n+this.padLength);r[0]=128;for(var o=1;o<n;o++)r[o]=0;if(t<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[o++]=0;r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=t>>>24&255,r[o++]=t>>>16&255,r[o++]=t>>>8&255,r[o++]=255&t}else for(r[o++]=255&t,r[o++]=t>>>8&255,r[o++]=t>>>16&255,r[o++]=t>>>24&255,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,i=8;i<this.padLength;i++)r[o++]=0;return r}},8032:function(t,e,n){"use strict";var r=n(212),o=n(4495),i=n(713),s=n(9561),c=r.sum32,a=r.sum32_4,u=r.sum32_5,p=i.ch32,l=i.maj32,f=i.s0_256,h=i.s1_256,d=i.g0_256,y=i.g1_256,m=o.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function w(){if(!(this instanceof w))return new w;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}r.inherits(w,m),t.exports=w,w.blockSize=512,w.outSize=256,w.hmacStrength=192,w.padLength=64,w.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=a(y(n[r-2]),n[r-7],d(n[r-15]),n[r-16]);var o=this.h[0],i=this.h[1],m=this.h[2],g=this.h[3],w=this.h[4],v=this.h[5],b=this.h[6],_=this.h[7];for(s(this.k.length===n.length),r=0;r<n.length;r++){var C=u(_,h(w),p(w,v,b),this.k[r],n[r]),S=c(f(o),l(o,i,m));_=b,b=v,v=w,w=c(g,C),g=m,m=i,i=o,o=c(C,S)}this.h[0]=c(this.h[0],o),this.h[1]=c(this.h[1],i),this.h[2]=c(this.h[2],m),this.h[3]=c(this.h[3],g),this.h[4]=c(this.h[4],w),this.h[5]=c(this.h[5],v),this.h[6]=c(this.h[6],b),this.h[7]=c(this.h[7],_)},w.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},713:function(t,e,n){"use strict";var r=n(212).rotr32;function o(t,e,n){return t&e^~t&n}function i(t,e,n){return t&e^t&n^e&n}function s(t,e,n){return t^e^n}e.ft_1=function(t,e,n,r){return 0===t?o(e,n,r):1===t||3===t?s(e,n,r):2===t?i(e,n,r):void 0},e.ch32=o,e.maj32=i,e.p32=s,e.s0_256=function(t){return r(t,2)^r(t,13)^r(t,22)},e.s1_256=function(t){return r(t,6)^r(t,11)^r(t,25)},e.g0_256=function(t){return r(t,7)^r(t,18)^t>>>3},e.g1_256=function(t){return r(t,17)^r(t,19)^t>>>10}},212:function(t,e,n){"use strict";var r=n(9561),o=n(1285);function i(t,e){return 55296==(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1)))}function s(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function c(t){return 1===t.length?"0"+t:t}function a(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=o,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),o=0;o<t.length;o+=2)n.push(parseInt(t[o]+t[o+1],16))}else for(var r=0,o=0;o<t.length;o++){var s=t.charCodeAt(o);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):i(t,o)?(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++o)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(o=0;o<t.length;o++)n[o]=0|t[o];return n},e.toHex=function(t){for(var e="",n=0;n<t.length;n++)e+=c(t[n].toString(16));return e},e.htonl=s,e.toHex32=function(t,e){for(var n="",r=0;r<t.length;r++){var o=t[r];"little"===e&&(o=s(o)),n+=a(o.toString(16))}return n},e.zero2=c,e.zero8=a,e.join32=function(t,e,n,o){var i=n-e;r(i%4==0);for(var s=new Array(i/4),c=0,a=e;c<s.length;c++,a+=4){var u;u="big"===o?t[a]<<24|t[a+1]<<16|t[a+2]<<8|t[a+3]:t[a+3]<<24|t[a+2]<<16|t[a+1]<<8|t[a],s[c]=u>>>0}return s},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,o=0;r<t.length;r++,o+=4){var i=t[r];"big"===e?(n[o]=i>>>24,n[o+1]=i>>>16&255,n[o+2]=i>>>8&255,n[o+3]=255&i):(n[o+3]=i>>>24,n[o+2]=i>>>16&255,n[o+1]=i>>>8&255,n[o]=255&i)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,r){return t+e+n+r>>>0},e.sum32_5=function(t,e,n,r,o){return t+e+n+r+o>>>0},e.sum64=function(t,e,n,r){var o=t[e],i=r+t[e+1]>>>0,s=(i<r?1:0)+n+o;t[e]=s>>>0,t[e+1]=i},e.sum64_hi=function(t,e,n,r){return(e+r>>>0<e?1:0)+t+n>>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,o,i,s,c){var a=0,u=e;return a+=(u=u+r>>>0)<e?1:0,a+=(u=u+i>>>0)<i?1:0,t+n+o+s+(a+=(u=u+c>>>0)<c?1:0)>>>0},e.sum64_4_lo=function(t,e,n,r,o,i,s,c){return e+r+i+c>>>0},e.sum64_5_hi=function(t,e,n,r,o,i,s,c,a,u){var p=0,l=e;return p+=(l=l+r>>>0)<e?1:0,p+=(l=l+i>>>0)<i?1:0,p+=(l=l+c>>>0)<c?1:0,t+n+o+s+a+(p+=(l=l+u>>>0)<u?1:0)>>>0},e.sum64_5_lo=function(t,e,n,r,o,i,s,c,a,u){return e+r+i+c+u>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},1285:function(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},2779:function(){},9561:function(t){function e(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=e,e.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},1378:function(t){var e=1e3,n=60*e,r=60*n,o=24*r,i=7*o,s=365.25*o;function c(t,e,n,r){var o=e>=1.5*n;return Math.round(t/n)+" "+r+(o?"s":"")}t.exports=function(t,a){a=a||{};var u=typeof t;if("string"===u&&t.length>0)return function(t){if((t=String(t)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!c)return;var a=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(t);if("number"===u&&isFinite(t))return a.long?function(t){var i=Math.abs(t);if(i>=o)return c(t,i,o,"day");if(i>=r)return c(t,i,r,"hour");if(i>=n)return c(t,i,n,"minute");if(i>=e)return c(t,i,e,"second");return t+" ms"}(t):function(t){var i=Math.abs(t);if(i>=o)return Math.round(t/o)+"d";if(i>=r)return Math.round(t/r)+"h";if(i>=n)return Math.round(t/n)+"m";if(i>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},9500:function(t,e,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,s=r&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,a=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&a&&"function"==typeof a.get?a.get:null,p=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,y=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,w="function"==typeof BigInt?BigInt.prototype.valueOf:null,v=Object.getOwnPropertySymbols,b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,_="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C=Object.prototype.propertyIsEnumerable,S=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),E=n(3260).custom,P=E&&O(E)?E:null,A="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function j(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function x(t){return String(t).replace(/"/g,"&quot;")}function q(t){return!("[object Array]"!==Z(t)||A&&"object"==typeof t&&A in t)}function O(t){if(_)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!b)return!1;try{return b.call(t),!0}catch(e){}return!1}t.exports=function t(e,n,r,o){var c=n||{};if(k(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(k(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!k(c,"customInspect")||c.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(k(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return N(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var y=void 0===c.depth?5:c.depth;if(void 0===r&&(r=0),r>=y&&y>0&&"object"==typeof e)return q(e)?"[Array]":"[Object]";var v=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=Array(t.indent+1).join(" ")}return{base:n,prev:Array(e+1).join(n)}}(c,r);if(void 0===o)o=[];else if(L(o,e)>=0)return"[Circular]";function C(e,n,i){if(n&&(o=o.slice()).push(n),i){var s={depth:c.depth};return k(c,"quoteStyle")&&(s.quoteStyle=c.quoteStyle),t(e,s,r+1,o)}return t(e,c,r+1,o)}if("function"==typeof e){var E=function(t){if(t.name)return t.name;var e=g.call(m.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),F=M(e,C);return"[Function"+(E?": "+E:" (anonymous)")+"]"+(F.length>0?" { "+F.join(", ")+" }":"")}if(O(e)){var R=_?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):b.call(e);return"object"!=typeof e||_?R:I(R)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var D="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],B=0;B<W.length;B++)D+=" "+W[B].name+"="+j(x(W[B].value),"double",c);return D+=">",e.childNodes&&e.childNodes.length&&(D+="..."),D+="</"+String(e.nodeName).toLowerCase()+">"}if(q(e)){if(0===e.length)return"[]";var V=M(e,C);return v&&!function(t){for(var e=0;e<t.length;e++)if(L(t[e],"\n")>=0)return!1;return!0}(V)?"["+T(V,v)+"]":"[ "+V.join(", ")+" ]"}if(function(t){return!("[object Error]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e)){var z=M(e,C);return 0===z.length?"["+String(e)+"]":"{ ["+String(e)+"] "+z.join(", ")+" }"}if("object"==typeof e&&a){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{u.call(t)}catch(D){return!0}return t instanceof Map}catch(e){}return!1}(e)){var G=[];return s.call(e,(function(t,n){G.push(C(n,e,!0)+" => "+C(t,e))})),U("Map",i.call(e),G,v)}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t);try{i.call(t)}catch(e){return!0}return t instanceof Set}catch(n){}return!1}(e)){var H=[];return p.call(e,(function(t){H.push(C(t,e))})),U("Set",u.call(e),H,v)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t,l);try{f.call(t,f)}catch(D){return!0}return t instanceof WeakMap}catch(e){}return!1}(e))return $("WeakMap");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{l.call(t,l)}catch(D){return!0}return t instanceof WeakSet}catch(e){}return!1}(e))return $("WeakSet");if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{return h.call(t),!0}catch(e){}return!1}(e))return $("WeakRef");if(function(t){return!("[object Number]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e))return I(C(Number(e)));if(function(t){if(!t||"object"!=typeof t||!w)return!1;try{return w.call(t),!0}catch(e){}return!1}(e))return I(C(w.call(e)));if(function(t){return!("[object Boolean]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e))return I(d.call(e));if(function(t){return!("[object String]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e))return I(C(String(e)));if(!function(t){return!("[object Date]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e)&&!function(t){return!("[object RegExp]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e)){var J=M(e,C),Q=S?S(e)===Object.prototype:e instanceof Object||e.constructor===Object,K=e instanceof Object?"":"null prototype",X=!Q&&A&&Object(e)===e&&A in e?Z(e).slice(8,-1):K?"Object":"",Y=(Q||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(X||K?"["+[].concat(X||[],K||[]).join(": ")+"] ":"");return 0===J.length?Y+"{}":v?Y+"{"+T(J,v)+"}":Y+"{ "+J.join(", ")+" }"}return String(e)};var F=Object.prototype.hasOwnProperty||function(t){return t in this};function k(t,e){return F.call(t,e)}function Z(t){return y.call(t)}function L(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function N(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return N(t.slice(0,e.maxStringLength),e)+r}return j(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,R),"single",e)}function R(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function I(t){return"Object("+t+")"}function $(t){return t+" { ? }"}function U(t,e,n,r){return t+" ("+e+") {"+(r?T(n,r):n.join(", "))+"}"}function T(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+t.join(","+n)+"\n"+e.prev}function M(t,e){var n=q(t),r=[];if(n){r.length=t.length;for(var o=0;o<t.length;o++)r[o]=k(t,o)?e(t[o],t):""}var i,s="function"==typeof v?v(t):[];if(_){i={};for(var c=0;c<s.length;c++)i["$"+s[c]]=s[c]}for(var a in t)k(t,a)&&(n&&String(Number(a))===a&&a<t.length||_&&i["$"+a]instanceof Symbol||(/[^\w$]/.test(a)?r.push(e(a,t)+": "+e(t[a],t)):r.push(a+": "+e(t[a],t))));if("function"==typeof v)for(var u=0;u<s.length;u++)C.call(t,s[u])&&r.push("["+e(s[u])+"]: "+e(t[s[u]],t));return r}},8650:function(t){var e,n=window.ProgressEvent,r=!!n;try{e=new n("loaded"),r="loaded"===e.type,e=null}catch(o){r=!1}t.exports=r?n:"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("Event");return n.initEvent(t,!1,!1),e?(n.lengthComputable=Boolean(e.lengthComputable),n.loaded=Number(e.loaded)||0,n.total=Number(e.total)||0):(n.lengthComputable=!1,n.loaded=n.total=0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.lengthComputable=Boolean(e.lengthComputable),n.loaded=Number(e.loaded)||0,n.total=Number(e.total)||0):(n.lengthComputable=!1,n.loaded=n.total=0),n}},5527:function(t){"use strict";var e=String.prototype.replace,n=/%20/g,r="RFC1738",o="RFC3986";t.exports={default:o,formatters:{RFC1738:function(t){return e.call(t,n,"+")},RFC3986:function(t){return String(t)}},RFC1738:r,RFC3986:o}},9126:function(t,e,n){"use strict";var r=n(6845),o=n(9166),i=n(5527);t.exports={formats:i,parse:o,stringify:r}},9166:function(t,e,n){"use strict";var r=n(2493),o=Object.prototype.hasOwnProperty,i=Array.isArray,s={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},a=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,n,r){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=c?i.slice(0,c.index):i,p=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;p.push(u)}for(var l=0;n.depth>0&&null!==(c=s.exec(i))&&l<n.depth;){if(l+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;p.push(c[1])}return c&&p.push("["+i.slice(c.index)+"]"),function(t,e,n,r){for(var o=r?e:a(e,n),i=t.length-1;i>=0;--i){var s,c=t[i];if("[]"===c&&n.parseArrays)s=[].concat(o);else{s=n.plainObjects?Object.create(null):{};var u="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,p=parseInt(u,10);n.parseArrays||""!==u?!isNaN(p)&&c!==u&&String(p)===u&&p>=0&&n.parseArrays&&p<=n.arrayLimit?(s=[])[p]=o:s[u]=o:s={0:o}}o=s}return o}(p,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:s.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var n,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?d="utf-8":"utf8=%26%2310003%3B"===f[n]&&(d="iso-8859-1"),h=n,n=f.length);for(n=0;n<f.length;++n)if(n!==h){var y,m,g=f[n],w=g.indexOf("]="),v=-1===w?g.indexOf("="):w+1;-1===v?(y=e.decoder(g,s.decoder,d,"key"),m=e.strictNullHandling?null:""):(y=e.decoder(g.slice(0,v),s.decoder,d,"key"),m=r.maybeMap(a(g.slice(v+1),e),(function(t){return e.decoder(t,s.decoder,d,"value")}))),m&&e.interpretNumericEntities&&"iso-8859-1"===d&&(m=c(m)),g.indexOf("[]=")>-1&&(m=i(m)?[m]:m),o.call(u,y)?u[y]=r.combine(u[y],m):u[y]=m}return u}(t,n):t,l=n.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h<f.length;++h){var d=f[h],y=u(d,p[d],n,"string"==typeof t);l=r.merge(l,y,n)}return!0===n.allowSparse?l:r.compact(l)}},6845:function(t,e,n){"use strict";var r=n(4294),o=n(2493),i=n(5527),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},a=Array.isArray,u=Array.prototype.push,p=function(t,e){u.apply(t,a(e)?e:[e])},l=Date.prototype.toISOString,f=i.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},d=function t(e,n,i,s,c,u,l,f,d,y,m,g,w,v,b){var _,C=e;if(b.has(e))throw new RangeError("Cyclic object value");if("function"==typeof l?C=l(n,C):C instanceof Date?C=y(C):"comma"===i&&a(C)&&(C=o.maybeMap(C,(function(t){return t instanceof Date?y(t):t}))),null===C){if(s)return u&&!w?u(n,h.encoder,v,"key",m):n;C=""}if("string"==typeof(_=C)||"number"==typeof _||"boolean"==typeof _||"symbol"==typeof _||"bigint"==typeof _||o.isBuffer(C))return u?[g(w?n:u(n,h.encoder,v,"key",m))+"="+g(u(C,h.encoder,v,"value",m))]:[g(n)+"="+g(String(C))];var S,E=[];if(void 0===C)return E;if("comma"===i&&a(C))S=[{value:C.length>0?C.join(",")||null:void 0}];else if(a(l))S=l;else{var P=Object.keys(C);S=f?P.sort(f):P}for(var A=0;A<S.length;++A){var j=S[A],x="object"==typeof j&&void 0!==j.value?j.value:C[j];if(!c||null!==x){var q=a(C)?"function"==typeof i?i(n,j):n:n+(d?"."+j:"["+j+"]");b.set(e,!0);var O=r();p(E,t(x,q,i,s,c,u,l,f,d,y,m,g,w,v,O))}}return E};t.exports=function(t,e){var n,o=t,u=function(t){if(!t)return h;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||h.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==t.format){if(!s.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=i.formatters[n],o=h.filter;return("function"==typeof t.filter||a(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===t.allowDots?h.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:h.charsetSentinel,delimiter:void 0===t.delimiter?h.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:h.encode,encoder:"function"==typeof t.encoder?t.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:h.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:h.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:h.strictNullHandling}}(e);"function"==typeof u.filter?o=(0,u.filter)("",o):a(u.filter)&&(n=u.filter);var l,f=[];if("object"!=typeof o||null===o)return"";l=e&&e.arrayFormat in c?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var y=c[l];n||(n=Object.keys(o)),u.sort&&n.sort(u.sort);for(var m=r(),g=0;g<n.length;++g){var w=n[g];u.skipNulls&&null===o[w]||p(f,d(o[w],w,y,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,m))}var v=f.join(u.delimiter),b=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),v.length>0?b+v:""}},2493:function(t,e,n){"use strict";var r=n(5527),o=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:c,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var o=e[r],s=o.obj[o.prop],c=Object.keys(s),a=0;a<c.length;++a){var u=c[a],p=s[u];"object"==typeof p&&null!==p&&-1===n.indexOf(p)&&(e.push({obj:s,prop:u}),n.push(p))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(t,e,n,o,i){if(0===t.length)return t;var c=t;if("symbol"==typeof t?c=Symbol.prototype.toString.call(t):"string"!=typeof t&&(c=String(t)),"iso-8859-1"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",u=0;u<c.length;++u){var p=c.charCodeAt(u);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===r.RFC1738&&(40===p||41===p)?a+=c.charAt(u):p<128?a+=s[p]:p<2048?a+=s[192|p>>6]+s[128|63&p]:p<55296||p>=57344?a+=s[224|p>>12]+s[128|p>>6&63]+s[128|63&p]:(u+=1,p=65536+((1023&p)<<10|1023&c.charCodeAt(u)),a+=s[240|p>>18]+s[128|p>>12&63]+s[128|p>>6&63]+s[128|63&p])}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(i(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var s=e;return i(e)&&!i(n)&&(s=c(e,r)),i(e)&&i(n)?(n.forEach((function(n,i){if(o.call(e,i)){var s=e[i];s&&"object"==typeof s&&n&&"object"==typeof n?e[i]=t(s,n,r):e.push(n)}else e[i]=n})),e):Object.keys(n).reduce((function(e,i){var s=n[i];return o.call(e,i)?e[i]=t(e[i],s,r):e[i]=s,e}),s)}}},4294:function(t,e,n){"use strict";var r=n(7286),o=n(2680),i=n(9500),s=r("%TypeError%"),c=r("%WeakMap%",!0),a=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),p=o("WeakMap.prototype.set",!0),l=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),y=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new s("Side channel does not contain "+i(t))},get:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(t)return u(t,r)}else if(a){if(e)return f(e,r)}else if(n)return function(t,e){var n=y(t,e);return n&&n.value}(n,r)},has:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(t)return l(t,r)}else if(a){if(e)return d(e,r)}else if(n)return function(t,e){return!!y(t,e)}(n,r);return!1},set:function(r,o){c&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new c),p(t,r,o)):a?(e||(e=new a),h(e,r,o)):(n||(n={key:{},next:null}),function(t,e,n){var r=y(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,o))}};return r}},9239:function(t,e,n){"object"==typeof window&&window.whatsNewAssetsUrl&&(n.p=window.whatsNewAssetsUrl)},8814:function(t,e,n){"use strict";var r=n(9818);const o={whatsNew:!1};(0,r.registerStore)("automattic/whats-new",{reducer:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,e=arguments.length>1?arguments[1]:void 0;return"TOGGLE_FEATURE"===e.type?{whatsNew:!t.whatsNew}:t},actions:{toggleWhatsNew:()=>({type:"TOGGLE_FEATURE"})},selectors:{isWhatsNewActive:t=>t.whatsNew}})},5840:function(t,e,n){"use strict";var r=n(9307),o=(n(9239),n(6115)),i=n(3585),s=n(5609),c=n(5736),a=n(8817),u=n(9196);const __=c.__;function p(){const[t,e]=(0,u.useState)(!1);return(0,r.useEffect)((()=>{t&&(0,o.jN)("calypso_block_editor_whats_new_open")}),[t]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Fill,{name:"ToolsMoreMenuGroup"},(0,r.createElement)(s.MenuItem,{onClick:()=>e(!0)},__("What's new","full-site-editing"))),t&&(0,r.createElement)(i.Z,{onClose:()=>e(!1)}))}(0,a.registerPlugin)("whats-new",{render:()=>(0,r.createElement)(p,null)})},6115:function(t,e,n){"use strict";n.d(e,{jN:function(){return r.jN}});n(1694),n(6209),n(9377);var r=n(9792);n(3722)},9377:function(t,e,n){"use strict";let r=null;"undefined"!=typeof window&&window.addEventListener("popstate",(function(){r=null}))},9792:function(t,e,n){"use strict";n.d(e,{jN:function(){return f}});var r=n(2699),o=n(4898),i=(n(3421),n(2819)),s=(n(9377),n(6209),n(9358));n(1694);const c=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account","calypso_checkout_switch_to_p_24","calypso_checkout_composite_p24_submit_clicked"];let a,u=Promise.resolve();function p(t){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(t))}"undefined"!=typeof document&&(u=(0,o.ve)("//stats.wp.com/w.js?63"));const l=new r.EventEmitter;function f(t,e){if(e=e||{},(0,s.Z)('Record event "%s" called with props %o',t,e),t.startsWith("calypso_")||(0,i.includes)(c,t)){if(a){const t=a(e);e={...e,...t}}e=(0,i.omitBy)(e,(t=>void 0===t)),(0,s.Z)('Recording event "%s" with actual props %o',t,e),p(["recordEvent",t,e]),l.emit("record-event",t,e)}else(0,s.Z)('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}},3722:function(t,e,n){"use strict";n(9792)},6209:function(t,e,n){"use strict";n(4)},9358:function(t,e,n){"use strict";var r=n(8049),o=n.n(r);e.Z=o()("calypso:analytics")},1694:function(t,e,n){"use strict";n(9358)},4:function(t,e,n){"use strict";n(8032)},849:function(t,e,n){"use strict";n.d(e,{bU:function(){return p}});var r=n(7896),o=n(9307),i=n(4333),s=n(5736),c=n(9196);const a=(0,c.createContext)(null);function u(){var t,e;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)return"";const e=["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"],n=t.toLowerCase();return(e.includes(n)?n.replace("_","-"):n.replace(/([-_].*)$/i,""))||"en"}(s.getLocaleData?null===(t=s.getLocaleData())||void 0===t||null===(e=t[""])||void 0===e?void 0:e.language:"")}function p(){const t=(0,c.useContext)(a),e=!!t,[n,r]=(0,c.useState)(u());return(0,c.useEffect)((()=>{if(!e)return r(u()),s.subscribe((()=>{r(u())}))}),[e]),t||n||"en"}(0,i.createHigherOrderComponent)((t=>e=>{const n=p();return(0,o.createElement)(t,(0,r.Z)({locale:n},e))}),"withLocale")},3340:function(t,e,n){"use strict";n.d(e,{hg:function(){return c},lZ:function(){return a},_W:function(){return p},Yt:function(){return l}});var r=n(8049);const o=n.n(r)()("lib/load-script/callback-handler"),i=new Map;function s(){return i}function c(t){return s().has(t)}function a(t,e){const n=s();c(t)?(o(`Adding a callback for an existing script from "${t}"`),n.get(t).add(e)):(o(`Adding a callback for a new script from "${t}"`),n.set(t,new Set([e])))}function u(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=s(),r=n.get(t);if(r){o(`Executing callbacks for "${t}"`+(null===e?" with success":` with error "${e}"`)),r.forEach((t=>{"function"==typeof t&&t(e)})),n.delete(t)}}function p(){const t=this.getAttribute("src");o(`Handling successful request for "${t}"`),u(t),this.onload=null}function l(){const t=this.getAttribute("src");o(`Handling failed request for "${t}"`),u(t,new Error(`Failed to load script "${t}"`)),this.onerror=null}},5606:function(t,e,n){"use strict";n.d(e,{C:function(){return c},k:function(){return a}});var r=n(8049),o=n.n(r),i=n(3340);const s=o()("lib/load-script/dom-operations");function c(t){s(`Creating script element for "${t}"`);const e=document.createElement("script");return e.src=t,e.type="text/javascript",e.async=!0,e.onload=i._W,e.onerror=i.Yt,e}function a(t){s("Attaching element to head"),document.head.appendChild(t)}},4898:function(t,e,n){"use strict";n.d(e,{ve:function(){return c}});var r=n(8049),o=n.n(r),i=n(3340),s=n(5606);o()("package/load-script");function c(t,e){if(!(0,i.hg)(t)&&(0,s.k)((0,s.C)(t)),"function"!=typeof e)return new Promise(((e,n)=>{(0,i.lZ)(t,(t=>{null===t?e():n(t)}))}));(0,i.lZ)(t,e)}},3585:function(t,e,n){"use strict";var r=n(9307),o=n(849),i=n(5609),s=n(6656),c=n(9196),a=n(1202),u=n(8552),p=n(869);n(2779);e.Z=t=>{let{onClose:e}=t;const[n,l]=(0,c.useState)(null),__=(0,s.useI18n)().__,f=(0,o.bU)();return(0,c.useEffect)((()=>{const t=(0,a.Z)();t.request=u.ZP,t.req.get({path:`/whats-new/list?_locale=${f}`,apiNamespace:"wpcom/v2"}).then((t=>{l(t)}))}),[f]),n?(0,r.createElement)(i.Guide,{className:"whats-new-guide__main",contentLabel:__("What's New at WordPress.com","full-site-editing"),finishButtonText:__("Close","full-site-editing"),onFinish:e},n.map(((t,e)=>(0,r.createElement)(p.Z,{pageNumber:e+1,isLastPage:e===n.length-1,description:t.description,heading:t.heading,imageSrc:t.imageSrc,link:t.link})))):null}},869:function(t,e,n){"use strict";var r=n(9307),o=n(6115),i=n(5609),s=n(6656),c=n(9196);e.Z=function(t){let{description:e,heading:n,imageSrc:a,isLastPage:u,link:p,pageNumber:l}=t;const __=(0,s.useI18n)().__;return(0,c.useEffect)((()=>{(0,o.jN)("wpcom_whats_new_slide_view",{slide_number:l,is_last_slide:u})}),[u,l]),(0,r.createElement)(i.GuidePage,{className:"whats-new-page__container"},(0,r.createElement)("div",{className:"whats-new-page__text"},n&&(0,r.createElement)("h1",{className:"whats-new-page__heading"},n),(0,r.createElement)("div",{className:"whats-new-page__description"},e&&(0,r.createElement)("p",null,e),p&&(0,r.createElement)(i.Button,{className:"whats-new-page__link",href:p,isTertiary:!0,isLink:!0,target:"_blank"},__("Learn more","full-site-editing")))),(0,r.createElement)("div",{className:"whats-new-page__visual"},a&&(0,r.createElement)("img",{src:a,alt:e,"aria-hidden":"true",className:"whats-new-page__image"})))}},8552:function(t,e,n){"use strict";var r=n(8049),o=n.n(r),i=n(8650),s=n.n(i),c=n(8767),a=n(2884),u=n.n(a);const p=o()("wpcom-proxy-request"),l="https://public-api.wordpress.com",f=window.location.protocol+"//"+window.location.host,h=(()=>{let t=!1;try{window.postMessage({toString:function(){t=!0}},"*")}catch(e){}return t})(),d=(()=>{try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(t){return!1}})();let y,m=null,g=!1;const w={},v=!!window.ProgressEvent&&!!window.FormData;p('using "origin": %o',f);const b=(t,e)=>{const n=Object.assign({},t);p("request(%o)",n),m||P();const r=(0,c.Z)();n.callback=r,n.supports_args=!0,n.supports_error_obj=!0,n.supports_progress=v,n.method=String(n.method||"GET").toUpperCase(),p("params object: %o",n);const o=new window.XMLHttpRequest;if(o.params=n,w[r]=o,"function"==typeof e){let t=!1;const n=n=>{if(t)return;t=!0;const r=n.response||o.response;p("body: ",r),p("headers: ",n.headers),e(null,r,n.headers)},r=n=>{if(t)return;t=!0;const r=n.error||n.err||n;p("error: ",r),p("headers: ",n.headers),e(r,null,n.headers)};o.addEventListener("load",n),o.addEventListener("abort",r),o.addEventListener("error",r)}return"function"==typeof n.onStreamRecord&&delete n.onStreamRecord,g?C(n):(p("buffering API request since proxying <iframe> is not yet loaded"),y.push(n)),o},_=(t,e)=>"function"==typeof e?b(t,e):new Promise(((e,n)=>{b(t,((t,r)=>{t?n(t):e(r)}))}));function C(t){p("sending API request to proxy <iframe> %o",t),t.formData&&function(t){if(!window.chrome||!d)return;for(let e=0;e<t.length;e++){const n=E(t[e][1]);n&&(t[e][1]=new window.File([n],n.name,{type:n.type}))}}(t.formData),m.contentWindow.postMessage(h?JSON.stringify(t):t,l)}function S(t){return t&&"[object File]"===Object.prototype.toString.call(t)}function E(t){return S(t)?t:"object"==typeof t&&S(t.fileContents)?t.fileContents:null}function P(){p("install()"),m&&(p("uninstall()"),window.removeEventListener("message",A),document.body.removeChild(m),g=!1,m=null),y=[],window.addEventListener("message",A),m=document.createElement("iframe"),m.src=l+"/wp-admin/rest-proxy/?v=2.0#"+f,m.style.display="none",document.body.appendChild(m)}function A(t){if(p("onmessage"),t.origin!==l)return void p("ignoring message... %o !== %o",t.origin,l);if(t.source!==m.contentWindow)return void p("ignoring message... iframe elements do not match");let{data:e}=t;if(!e)return p("no `data`, bailing");if("ready"===e)return void function(){if(p('proxy <iframe> "load" event'),g=!0,y){for(let t=0;t<y.length;t++)C(y[t]);y=null}}();if(h&&"string"==typeof e&&(e=JSON.parse(e)),e.upload||e.download)return function(t){p('got "progress" event: %o',t);const e=w[t.callbackId];if(e){const n=new(s())("progress",t);(t.upload?e.upload:e).dispatchEvent(n)}}(e);if(!e.length)return p("`e.data` doesn't appear to be an Array, bailing...");const n=e[e.length-1];if(!(n in w))return p("bailing, no matching request with callback: %o",n);const r=w[n],{params:o}=r,i=e[0];let c=e[1];const a=e[2];if(207===c||delete w[n],o.metaAPI?c="metaAPIupdated"===i?200:500:p("got %o status code for URL: %o",c,o.path),"object"==typeof a&&(a.status=c,f=a["Content-Type"],/^application[/]x-ndjson($|;)/.test(f))){j(r,new Error("stream mode processing is not yet implemented for wpcom-proxy-request"),a)}else{var f;if(c&&2===Math.floor(c/100))!function(t,e,n){const r=new(s())("load");r.data=r.body=r.response=e,r.headers=n,t.dispatchEvent(r)}(r,i,a);else{j(r,u()(o,c,i),a)}}}function j(t,e,n){const r=new(s())("error");r.error=r.err=e,r.headers=n,t.dispatchEvent(r)}e.ZP=_},1202:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var r=n(8049),o=n.n(r),i=n(9728),s=n(7114),c=n(35),a=n(2836),u=n(6870),p=n(2579),l=n(4308),f=n(3818),h=n(781),d=n(3918);const y=o()("wpcom");function m(t,e){if(!(this instanceof m))return new m(t,e);"function"==typeof t&&(e=t,t=null),t&&(y("Token defined: %s…",t.substring(0,6)),this.token=t);this.request=e||((t,e)=>{y("No request handler. Failing."),e(new Error("No request handler provided"))}),this.req=new h.Z(this),this.pinghub=new f.Z(this),this.apiVersion="1.1"}m.prototype.me=function(){return new a.Z(this)},m.prototype.domains=function(){return new c.Z(this)},m.prototype.domain=function(t){return new s.Z(t,this)},m.prototype.site=function(t){return new p.Z(t,this)},m.prototype.users=function(){return new l.Z(this)},m.prototype.plans=function(){return new u.Z(this)},m.prototype.batch=function(){return new i.Z(this)},m.prototype.freshlyPressed=function(t,e){return this.req.get("/freshly-pressed",t,e)},m.prototype.sendRequest=function(t,e,n,r){const o="WARN! Don use `sendRequest() anymore. Use `this.req` method.";return console&&console.warn?console.warn(o):console.log(o),d.Z.call(this,t,e,n,r)},m.Batch=i.Z,m.Domain=s.Z,m.Domains=c.Z,m.Me=a.Z,m.Pinghub=f.Z,m.Plans=u.Z,m.Request=h.Z,m.Site=p.Z,m.Users=l.Z,Promise.prototype.timeout||(Promise.prototype.timeout=function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e4;const n=new Promise(((n,r)=>{t=setTimeout((()=>{r(new Error("Action timed out while waiting for response."))}),e)})),r=()=>(clearTimeout(t),this);return Promise.race([this.then(r).catch(r),n])})},9728:function(t,e){"use strict";class n{constructor(t){if(!(this instanceof n))return new n(t);this.wpcom=t,this.urls=[]}add(t){return this.urls.push(t),this}run(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return"function"==typeof t&&(e=t,t={}),t.urls=this.urls,this.wpcom.req.get("/batch",t,e)}}e.Z=n},6398:function(t,e){"use strict";class n{constructor(t,e){if(!(this instanceof n))return new n(t,e);this._domain=t,this._subpath="/domains/"+this._domain+"/dns",this.wpcom=e}add(t,e,n){return"function"==typeof e&&(n=e,e={}),this.wpcom.req.post(this._subpath+"/add",e,t,n)}delete(t,e,n){return this.wpcom.req.post(this._subpath+"/delete",e,t,n)}setDefaultARecords(t,e){return this.wpcom.req.post(this._subpath+"/set-default-a-records",t,null,e)}}e.Z=n},4449:function(t,e){"use strict";class n{constructor(t,e,r){if(!(this instanceof n))return new n(t,e,r);t&&(this._email=t),this._domain=e,this._subpath="/domains/"+this._domain+"/email/",this.wpcom=r}forward(t,e,n){const r={destination:t};return this.wpcom.req.post(this._subpath+this._email,e,r,n)}add(t,e,n,r){"function"==typeof n&&(r=n,n={});const o={mailbox:t,destination:e};return this.wpcom.req.post(this._subpath+"new",n,o,r)}delete(t,e,n){return this.wpcom.req.del(this._subpath+t+"/delete",e,n)}}e.Z=n},7114:function(t,e,n){"use strict";var r=n(6666),o=n(6398),i=n(4449);const s="/domains/";class c{constructor(t,e){if((0,r.Z)(this,"checkAuthCode",(function(t,e){return this.wpcom.req.get(`${s+encodeURIComponent(this._id)}/inbound-transfer-check-auth-code`,{auth_code:t},e)})),(0,r.Z)(this,"isDomainAvailable",(function(t,e,n){return this.wpcom.req.get(`${s+encodeURIComponent(this._id)}/is-available`,{blog_id:t,apiVersion:"1.3",is_cart_pre_check:e},n)})),!(this instanceof c))return new c(t,e);this._id=t,this.wpcom=e}status(t,e){return this.wpcom.req.get(s+this._id+"/status",t,e)}isAvailable(t,e){return this.wpcom.req.get(s+this._id+"/is-available",t,e)}isMappable(t,e){return this.wpcom.req.get(s+this._id+"/is-mappable",t,e)}canRedirect(t,e,n){const r=s+t+"/"+this._id+"/can-redirect";return this.wpcom.req.get(r,e,n)}emailForwards(t,e){return this.wpcom.req.get(s+this._id+"/email",t,e)}nameserversList(t,e){return this.wpcom.req.get(s+this._id+"/nameservers",t,e)}updateNameservers(t,e,n){const r={nameservers:t};return this.wpcom.req.post(s+this._id+"/nameservers",e,r,n)}dnsList(t,e){return this.wpcom.req.get(s+this._id+"/dns",t,e)}googleAppsList(t,e){return this.wpcom.req.get(s+this._id+"/google-apps",t,e)}resendICANN(t,e){return this.wpcom.req.post(s+this._id+"/resend-icann",t,e)}email(t){return new i.Z(t,this._id,this.wpcom)}dns(){return new o.Z(this._id,this.wpcom)}mappingSetupInfo(t,e,n){return this.wpcom.req.get(s+this._id+"/mapping-setup-info/"+t,e,n)}mappingStatus(t,e){return this.wpcom.req.get(s+this._id+"/mapping-status",t,e)}updateConnectionModeAndGetMappingStatus(t,e,n){const r={mode:t};return this.wpcom.req.post(s+this._id+"/mapping-status",e,r,n)}}e.Z=c},35:function(t,e){"use strict";const n="/domains/";class r{constructor(t){if(!(this instanceof r))return new r(t);this.wpcom=t}suggestions(t,e){return"string"==typeof t&&(t={query:t}),this.wpcom.req.get(n+"suggestions",t,e)}suggestionsExamples(t,e){return this.wpcom.req.get(n+"suggestions/examples",t,e)}supportedCountries(t,e){return this.wpcom.req.get(n+"supported-countries",t,e)}supportedStates(t,e,r){const o=n+"supported-states/"+t;return this.wpcom.req.get(o,e,r)}}e.Z=r},2921:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r="/me/connected-applications/";class o{constructor(t,e){if(!(this instanceof o))return new o(t,e);this._id=t,this.wpcom=e}get(t,e){return this.wpcom.req.get(r+this._id,t,e)}delete(t,e){return this.wpcom.req.del(r+this._id+"/delete",t,e)}}},2836:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(2921),o=n(2769),i=n(2695),s=n(7699),c=n(9814);function a(t){if(!(this instanceof a))return new a(t);this.wpcom=t}a.prototype.get=function(t,e){return this.wpcom.req.get("/me",t,e)},a.prototype.billingHistory=function(t,e){return this.wpcom.req.get("/me/billing-history",t,e)},a.prototype.postsList=function(t,e){return this.wpcom.req.get("/me/posts",t,e)},a.prototype.sites=function(t,e){return this.wpcom.req.get("/me/sites",t,e)},a.prototype.likes=function(t,e){return this.wpcom.req.get("/me/likes",t,e)},a.prototype.connectedApps=function(t,e){return this.wpcom.req.get("/me/connected-applications",t,e)},a.prototype.keyringConnections=function(t,e){return this.wpcom.req.get("/me/connections",t,e)},a.prototype.publicizeConnections=function(t,e){return this.wpcom.req.get("/me/publicize-connections",t,e)},a.prototype.settings=function(){return new s.Z(this.wpcom)},a.prototype.connectedApp=function(t){return new r.Z(t,this.wpcom)},a.prototype.publicizeConnection=function(t){return new i.Z(t,this.wpcom)},a.prototype.twoStep=function(){return new c.Z(this.wpcom)},a.prototype.keyringConnection=function(t){return new o.Z(t,this.wpcom)}},2769:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r="/me/connections/";class o{constructor(t,e){if(!(this instanceof o))return new o(t,e);this._id=t,this.wpcom=e}get(t,e){return this.wpcom.req.get({path:r+this._id,apiNamespace:"wpcom/v2"},t,e)}delete(t,e){return this.wpcom.req.get({path:r+this._id,apiNamespace:"wpcom/v2",method:"DELETE"},t,e)}}},2695:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r="/me/publicize-connections/";class o{constructor(t,e){if(!(this instanceof o))return new o(t,e);this._id=t,this.wpcom=e}get(t,e){return this.wpcom.req.get(r+this._id,t,e)}add(t,e,n){return this.wpcom.req.post(r+"new",t,e,n)}update(t,e,n){return this.wpcom.req.put(r+this._id,t,e,n)}delete(t,e){return this.wpcom.req.del(r+this._id+"/delete",t,e)}}},7699:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(142),o=n(9283);function i(t){if(!(this instanceof i))return new i(t);this.wpcom=t}i.prototype.get=function(t,e){return this.wpcom.req.get("/me/settings",t,e)},i.prototype.update=function(t,e,n){return this.wpcom.req.put("/me/settings/",t,e,n)},i.prototype.profileLinks=function(){return new o.Z(this.wpcom)},i.prototype.password=function(){return new r.Z(this.wpcom)}},142:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});class r{constructor(t){if(!(this instanceof r))return new r(t);this.wpcom=t}validate(t,e,n){return this.wpcom.req.post("/me/settings/password/validate",e,{password:t},n)}}},9283:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r="/me/settings/profile-links";function o(t){if(!(this instanceof o))return new o(t);this.wpcom=t}o.prototype.get=function(t,e){return this.wpcom.req.get(r,t,e)},o.prototype.mine=o.prototype.get,o.prototype.add=function(t,e,n){"function"==typeof e&&(n=e,e={}),t instanceof Array||(t=[t]),e.apiVersion="1.2";return this.wpcom.req.post("/me/settings/profile-links/new",e,{links:t},n)},o.prototype.del=function(t,e,n){const o=r+"/"+t+"/delete";return this.wpcom.req.del(o,e,n)},o.prototype.delete=o.prototype.del},9814:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(4086);class o{constructor(t){if(!(this instanceof o))return new o(t);this.wpcom=t}get(t,e){return this.wpcom.req.get("/me/two-step/",t,e)}sms(){return new r.Z(this.wpcom)}}},4086:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});class r{constructor(t){if(!(this instanceof r))return new r(t);this.wpcom=t}send(t,e){return this.wpcom.req.post("/me/two-step/sms/new",t,e)}}},6870:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r="/plans";class o{constructor(t){if(!(this instanceof o))return new o(t);this.wpcom=t}list(t,e){return this.wpcom.req.get(r,t,e)}features(t,e){return this.wpcom.req.get("/plans/features",t,e)}}},209:function(t,e){"use strict";e.Z=[{name:"categoriesList",subpath:"categories"},{name:"commentsList",subpath:"comments"},{name:"domainsList",subpath:"domains"},{name:"embedsList",subpath:"embeds"},{name:"followsList",subpath:"follows"},{name:"mediaList",subpath:"media"},{name:"pageTemplates",subpath:"page-templates"},{name:"pluginsList",subpath:"plugins"},{name:"postsList",subpath:"posts"},{name:"postTypesList",subpath:"post-types"},{name:"shortcodesList",subpath:"shortcodes"},{name:"stats",subpath:"stats"},{name:"statsClicks",subpath:"stats/clicks"},{name:"statsCommentFollowers",subpath:"stats/comment-followers"},{name:"statsComments",subpath:"stats/comments"},{name:"statsCountryViews",subpath:"stats/country-views"},{name:"statsFollowers",subpath:"stats/followers"},{name:"statsInsights",subpath:"stats/insights"},{name:"statsPublicize",subpath:"stats/publicize"},{name:"statsReferrers",subpath:"stats/referrers"},{name:"statsSearchTerms",subpath:"stats/search-terms"},{name:"statsStreak",subpath:"stats/streak"},{name:"statsSummary",subpath:"stats/summary"},{name:"statsTags",subpath:"stats/tags"},{name:"statsTopAuthors",subpath:"stats/top-authors"},{name:"statsTopPosts",subpath:"stats/top-posts"},{name:"statsVideoPlays",subpath:"stats/video-plays"},{name:"statsVisits",subpath:"stats/visits"},{name:"tagsList",subpath:"tags"},{name:"usersList",subpath:"users"},{name:"wpcomPluginsList",subpath:"wpcom-plugins"}]},8729:function(t,e){"use strict";e.Z=[{name:"likesList",subpath:"likes"},{name:"subscribersList",subpath:"subscribers"}]},3388:function(t,e,n){"use strict";function r(t,e,n){if(!e)throw new Error("`site id` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._sid=e,this._slug=t}n.d(e,{Z:function(){return r}}),r.prototype.slug=function(t){this._slug=t},r.prototype.get=function(t,e){const n="/sites/"+this._sid+"/categories/slug:"+this._slug;return this.wpcom.req.get(n,t,e)},r.prototype.add=function(t,e,n){const r="/sites/"+this._sid+"/categories/new";return this.wpcom.req.post(r,t,e,n)},r.prototype.update=function(t,e,n){const r="/sites/"+this._sid+"/categories/slug:"+this._slug;return this.wpcom.req.put(r,t,e,n)},r.prototype.delete=r.prototype.del=function(t,e){const n="/sites/"+this._sid+"/categories/slug:"+this._slug+"/delete";return this.wpcom.req.del(n,t,e)}},1832:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(7369);function o(t,e,n,r){if(!n)throw new Error("`site id` is not correctly defined");if(!(this instanceof o))return new o(t,e,n,r);this.wpcom=r,this._cid=t,this._pid=e,this._sid=n}o.prototype.get=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid;return this.wpcom.req.get(n,t,e)},o.prototype.replies=function(t,e){const n="/sites/"+this._sid+"/posts/"+this._pid+"/replies/";return this.wpcom.req.get(n,t,e)},o.prototype.add=function(t,e,n){void 0===n&&(void 0===e?(e=t,t={}):"function"==typeof e&&(n=e,e=t,t={})),e="string"==typeof e?{content:e}:e;const r="/sites/"+this._sid+"/posts/"+this._pid+"/replies/new";return this.wpcom.req.post(r,t,e,n)},o.prototype.update=function(t,e,n){"function"==typeof e&&(n=e,e=t,t={}),e="string"==typeof e?{content:e}:e;const r="/sites/"+this._sid+"/comments/"+this._cid;return this.wpcom.req.put(r,t,e,n)},o.prototype.reply=function(t,e,n){"function"==typeof e&&(n=e,e=t,t={}),e="string"==typeof e?{content:e}:e;const r="/sites/"+this._sid+"/comments/"+this._cid+"/replies/new";return this.wpcom.req.post(r,t,e,n)},o.prototype.del=o.prototype.delete=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid+"/delete";return this.wpcom.req.del(n,t,e)},o.prototype.like=function(){return(0,r.Z)(this._cid,this._sid,this.wpcom)},o.prototype.likesList=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid+"/likes";return this.wpcom.req.get(n,t,e)}},7369:function(t,e,n){"use strict";function r(t,e,n){if(!e)throw new Error("`site id` is not correctly defined");if(!t)throw new Error("`comment id` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._cid=t,this._sid=e}n.d(e,{Z:function(){return r}}),r.prototype.mine=r.prototype.state=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid+"/likes/mine";return this.wpcom.req.get(n,t,e)},r.prototype.add=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid+"/likes/new";return this.wpcom.req.post(n,t,e)},r.prototype.del=r.prototype.delete=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid+"/likes/mine/delete";return this.wpcom.req.del(n,t,e)}},2096:function(t,e){"use strict";class n{constructor(t,e){if(!t)throw new Error("`site id` is not correctly defined");if(!(this instanceof n))return new n(t,e);this.wpcom=e,this._sid=t,this.path=`/sites/${this._sid}/vouchers`}list(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return t.apiNamespace="wpcom/v2",this.wpcom.req.get(this.path,t,e)}get(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e.apiNamespace="wpcom/v2",this.wpcom.req.get(`${this.path}/${t}`,e,n)}assign(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e.apiNamespace="wpcom/v2",this.wpcom.req.post(`${this.path}/${t}/assign`,e,{},n)}}e.Z=n},7569:function(t,e){"use strict";class n{constructor(t,e){if(!(this instanceof n))return new n(t,e);this._sid=t,this.path=`/sites/${this._sid}/domains`,this.wpcom=e}getPrimary(t,e){return this.wpcom.req.get(`${this.path}/primary`,t,e)}setPrimary(t,e){return this.wpcom.req.put(`${this.path}/primary`,{},{domain:t},e)}getRedirect(t,e){return this.wpcom.req.get(`${this.path}/redirect`,t,e)}setRedirect(t,e){return"string"==typeof t&&(t={location:t}),this.wpcom.req.put(`${this.path}/redirect`,{},t,e)}}e.Z=n},8447:function(t,e,n){"use strict";function r(t,e){if(!t)throw new Error("`site id` is not correctly defined");if(!(this instanceof r))return new r(t,e);this.wpcom=e,this._sid=t}n.d(e,{Z:function(){return r}}),r.prototype.mine=r.prototype.state=function(t,e){const n="/sites/"+this._sid+"/follows/mine";return this.wpcom.req.get(n,t,e)},r.prototype.follow=r.prototype.add=function(t,e){const n="/sites/"+this._sid+"/follows/new";return this.wpcom.req.put(n,t,null,e)},r.prototype.unfollow=r.prototype.del=function(t,e){const n="/sites/"+this._sid+"/follows/mine/delete";return this.wpcom.req.del(n,t,null,e)}},2579:function(t,e,n){"use strict";var r=n(8049),o=n.n(r),i=n(209),s=n(3388),c=n(1832),a=n(2096),u=n(7569),p=n(8447),l=n(8837),f=n(361),h=n(3164),d=n(7187),y=n(150),m=n(5489),g=n(1986),w=n(1753),v=n(4866),b=n(9426);const _=o()("wpcom:site");class C{constructor(t,e){if(!(this instanceof C))return new C(t,e);this.wpcom=e,_("set %o site id",t),this._id=encodeURIComponent(t),this.path=`/sites/${this._id}`}get(t,e){return this.wpcom.req.get(this.path,t,e)}post(t){return new h.Z(t,this._id,this.wpcom)}addPost(t,e){return new h.Z(null,this._id,this.wpcom).add(t,e)}deletePost(t,e){return new h.Z(t,this._id,this.wpcom).delete(e)}media(t){return new l.Z(t,this._id,this.wpcom)}addMediaFiles(t,e,n){return new l.Z(null,this._id,this.wpcom).addFiles(t,e,n)}addMediaUrls(t,e,n){return new l.Z(null,this._id,this.wpcom).addUrls(t,e,n)}deleteMedia(t,e){return new l.Z(t,this._id,this.wpcom).del(e)}comment(t){return new c.Z(t,null,this._id,this.wpcom)}follow(){return new p.Z(this._id,this.wpcom)}plugin(t){return new f.Z(t,this._id,this.wpcom)}wpcomPlugin(t){return new v.Z(t,this._id,this.wpcom)}category(t){return new s.Z(t,this._id,this.wpcom)}tag(t){return new m.Z(t,this._id,this.wpcom)}taxonomy(t){return new g.Z(t,this._id,this.wpcom)}creditVouchers(){return new a.Z(this._id,this.wpcom)}postType(t){return new d.Z(t,this._id,this.wpcom)}settings(){return new y.Z(this._id,this.wpcom)}domain(){return new u.Z(this._id,this.wpcom)}postCounts(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"post",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return"function"==typeof e&&(n=e,e={}),this.wpcom.req.get(`${this.path}/post-counts/${t}`,e,n)}renderShortcode(t,e,n){if("string"!=typeof t)throw new TypeError("expected a url String");return"function"==typeof e&&(n=e,e={}),(e=e||{}).shortcode=t,this.wpcom.req.get(`${this.path}/shortcodes/render`,e,n)}renderEmbed(t,e,n){if("string"!=typeof t)throw new TypeError("expected an embed String");return"function"==typeof e&&(n=e,e={}),(e=e||{}).embed_url=t,this.wpcom.req.get(`${this.path}/embeds/render`,e,n)}statsReferrersSpamNew(t,e){const n=`${this.path}/stats/referrers/spam/new`;return this.wpcom.req.post(n,{domain:t},null,e)}statsReferrersSpamDelete(t,e){const n=`${this.path}/stats/referrers/spam/delete`;return this.wpcom.req.post(n,{domain:t},null,e)}statsVideo(t,e,n){const r=`${this.path}/stats/video/${t}`;return"function"==typeof e&&(n=e,e={}),this.wpcom.req.get(r,e,n)}statsPostViews(t,e,n){const r=`${this.path}/stats/post/${t}`;return"function"==typeof e&&(n=e,e={}),this.wpcom.req.get(r,e,n)}wordAds(){return new w.Z(this._id,this.wpcom)}}(0,b.Z)(C,i.Z,((t,e)=>`/sites/${e._id}/${t.subpath}`)),e.Z=C},8837:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(8049),o=n.n(r),i=n(6426);const s=o()("wpcom:media");function c(t){const e=[];let n,r,o,c;for(t=Array.isArray(t)?t:[t],n=0;n<t.length;n++){r=t[n],"string"==typeof r&&(r=(0,i.U)(r));const a=!!r._readableState,u="undefined"!=typeof File&&r instanceof File;if(s("isStream: %s",a),s("isFile: %s",u),!u&&!a){for(o in r)s("add %o => %o",o,r[o]),"file"!==o&&(c="attrs["+n+"]["+o+"]",e.push([c,r[o]]));r=r.file,"string"==typeof r&&(r=(0,i.U)(r))}e.push(["media[]",r])}return e}function a(t,e,n){if(!(this instanceof a))return new a(t,e,n);this.wpcom=n,this._sid=e,this._id=t,this._id||s("WARN: media `id` is not defined")}a.prototype.get=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;t.apiVersion=t.apiVersion||"1.2";const n="/sites/"+this._sid+"/media/"+this._id;return this.wpcom.req.get(n,t,e)},a.prototype.update=function(t,e,n){const r={path:"/sites/"+this._sid+"/media/"+this._id};return this.wpcom.req.put(r,t,e,n)},a.prototype.edit=function(t,e,n){"function"!=typeof e&&e||(n=e,e=t,t={});const r={path:"/sites/"+this._sid+"/media/"+this._id+"/edit"};if(e&&e.media){r.formData=[["media",e.media]],delete e.media;for(const t in e)r.formData.push([`attrs[${t}]`,e[t]]);e=null}return this.wpcom.req.put(r,t,e,n)},a.prototype.addFiles=function(t,e,n){void 0===n&&(void 0===e?(e=t,t={}):"function"==typeof e&&(n=e,e=t,t={}));const r={path:"/sites/"+this._sid+"/media/new",formData:c(e)};return this.wpcom.req.post(r,t,null,n)},a.prototype.addUrls=function(t,e,n){void 0===n&&(void 0===e?(e=t,t={}):"function"==typeof e&&(n=e,e=t,t={}));const r="/sites/"+this._sid+"/media/new",o={media_urls:[]};let i,s,c,a;for(e=Array.isArray(e)?e:[e],i=0;i<e.length;i++){if(s=e[i],"string"==typeof s)c=s;else{for(a in o.attrs||(o.attrs=[]),o.attrs[i]={},s)"url"!==a&&(o.attrs[i][a]=s[a]);c=s.url}o.media_urls.push(c)}return this.wpcom.req.post(r,t,o,n)},a.prototype.delete=a.prototype.del=function(t,e){const n="/sites/"+this._sid+"/media/"+this._id+"/delete";return this.wpcom.req.del(n,t,e)}},361:function(t,e){"use strict";class n{constructor(t,e,r){if(!(this instanceof n))return new n(t,e,r);if(!t)throw new Error("`slug` is not correctly defined");this._slug=encodeURIComponent(t),this._sid=e,this.wpcom=r;const o=`/sites/${this._sid}/plugins`;this.pluginPath=`${o}/${this._slug}`}get(t,e){return this.wpcom.req.get(this.pluginPath,t,e)}update(t,e,n){return this.wpcom.req.put(this.pluginPath,t,e,n)}updateVersion(t,e){return this.wpcom.req.put(`${this.pluginPath}/update`,t,e)}install(t,e){return this.wpcom.req.put(`${this.pluginPath}/install`,t,e)}delete(t,e){return this.wpcom.req.put(`${this.pluginPath}/delete`,t,e)}activate(t,e){return this.update(t,{active:!0},e)}deactivate(t,e){return this.update(t,{active:!1},e)}enableAutoupdate(t,e){return this.update(t,{autoupdate:!0},e)}disableAutoupdate(t,e){return this.update(t,{autoupdate:!1},e)}}e.Z=n},7187:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});class r{constructor(t,e,n){if(!e)throw new TypeError("`siteId` is not correctly defined");if(!t)throw new TypeError("`postType` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._siteId=encodeURIComponent(e),this._postType=encodeURIComponent(t),this._rootPath=`/sites/${this._siteId}/post-types/${this._postType}`}taxonomiesList(t,e){const n=`${this._rootPath}/taxonomies`;return this.wpcom.req.get(n,t,e)}}},3164:function(t,e,n){"use strict";var r=n(8049),o=n.n(r),i=n(8729),s=n(1832),c=n(9932),a=n(3185),u=n(2250),p=n(9426);const l=o()("wpcom:post");class f{constructor(t,e,n){if(!(this instanceof f))return new f(t,e,n);this.wpcom=n,this._sid=e,this.path=`/sites/${this._sid}/posts`,"object"!=typeof(t=t||{})?this._id=t:(this._id=t.id,this._slug=t.slug)}id(t){this._id=t}slug(t){this._slug=t}getPostPath(){return`${this.path}/${this._id}`}get(t,e){return!this._id&&this._slug?this.getBySlug(t,e):this.wpcom.req.get(this.getPostPath(),t,e)}getBySlug(t,e){return this.wpcom.req.get(`${this.path}/slug:${this._slug}`,t,e)}add(t,e,n){return void 0===n&&(void 0===e?(e=t,t={}):"function"==typeof e&&(n=e,e=t,t={})),this.wpcom.req.post(`${this.path}/new`,t,e).then((t=>{if(this._id=t.ID,l("Set post _id: %s",this._id),this._slug=t.slug,l("Set post _slug: %s",this._slug),"function"!=typeof n)return Promise.resolve(t);n(null,t)})).catch((t=>{if("function"!=typeof n)return Promise.reject(t);n(t)}))}update(t,e,n){return this.wpcom.req.put(this.getPostPath(),t,e,n)}delete(t,e){const n=`${this.getPostPath()}/delete`;return this.wpcom.req.del(n,t,e)}del(t,e){return this.delete(t,e)}restore(t,e){return this.wpcom.req.put(`${this.getPostPath()}/restore`,t,null,e)}related(t,e){return this.wpcom.req.put(`${this.getPostPath()}/related`,t,null,e)}comment(t){return new s.Z(t,this._id,this._sid,this.wpcom)}comments(t,e){return new s.Z(null,this._id,this._sid,this.wpcom).replies(t,e)}like(){return new c.Z(this._id,this._sid,this.wpcom)}reblog(){return new a.Z(this._id,this._sid,this.wpcom)}subscriber(){return new u.Z(this._id,this._sid,this.wpcom)}}(0,p.Z)(f,i.Z,((t,e)=>`/sites/${e._sid}/posts/${e._id}/${t.subpath}`)),e.Z=f},9932:function(t,e,n){"use strict";function r(t,e,n){if(!e)throw new Error("`site id` is not correctly defined");if(!t)throw new Error("`post id` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._pid=t,this._sid=e}n.d(e,{Z:function(){return r}}),r.prototype.mine=r.prototype.state=function(t,e){const n="/sites/"+this._sid+"/posts/"+this._pid+"/likes/mine";return this.wpcom.req.get(n,t,e)},r.prototype.add=function(t,e){const n="/sites/"+this._sid+"/posts/"+this._pid+"/likes/new";return this.wpcom.req.put(n,t,null,e)},r.prototype.del=r.prototype.delete=function(t,e){const n="/sites/"+this._sid+"/posts/"+this._pid+"/likes/mine/delete";return this.wpcom.req.del(n,t,e)}},3185:function(t,e,n){"use strict";function r(t,e,n){if(!e)throw new Error("`site id` is not correctly defined");if(!t)throw new Error("`post id` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._pid=t,this._sid=e}n.d(e,{Z:function(){return r}}),r.prototype.mine=r.prototype.state=function(t,e){const n="/sites/"+this._sid+"/posts/"+this._pid+"/reblogs/mine";return this.wpcom.req.get(n,t,e)},r.prototype.add=function(t,e,n){if("function"==typeof e&&(n=e,e=t,t={}),e&&!e.destination_site_id)return n(new Error("destination_site_id is not defined"));const r="/sites/"+this._sid+"/posts/"+this._pid+"/reblogs/new";return this.wpcom.req.put(r,t,e,n)},r.prototype.to=function(t,e,n){return void 0===n&&(void 0===e?e=null:"function"==typeof e&&(n=e,e=null)),this.add({note:e,destination_site_id:t},n)}},2250:function(t,e){"use strict";class n{constructor(t,e,r){if(!e)throw new Error("`side id` is not correctly defined");if(!t)throw new Error("`post id` is not correctly defined");if(!(this instanceof n))return new n(t,e,r);this.wpcom=r,this._id=t,this._sid=e,this.path=`/sites/${this._sid}/posts/${this._id}/subscribers`}mine(t,e){return this.wpcom.req.get(`${this.path}/mine`,t,e)}add(t,e){return this.wpcom.req.put(`${this.path}/new`,t,null,e)}del(t,e){return this.wpcom.req.del(`${this.path}/mine/delete`,t,e)}}n.prototype.state=n.prototype.mine,n.prototype.delete=n.prototype.del,e.Z=n},150:function(t,e){"use strict";class n{constructor(t,e){if(!t)throw new Error("`site id` is not correctly defined");if(!(this instanceof n))return new n(t,e);this.wpcom=e,this._sid=t,this.path=`/sites/${this._sid}/settings`}get(t,e){return this.wpcom.req.get(this.path,t,e)}getOption(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const n={fields:"settings"};return new Promise(((r,o)=>{this.wpcom.req.get(this.path,n,((n,i)=>{if(n)return e(n),o(n);if(!i)return e(),r();const s=i.settings;return s&&void 0!==s[t]?(e(null,s[t]),r(s[t])):(e(null,i),r(i))}))}))}update(t,e,n){return this.wpcom.req.put(this.path,t,e,n)}setOption(t,e,n){return this.wpcom.req.put(this.path,{},{[t]:e},n)}}e.Z=n},5489:function(t,e,n){"use strict";function r(t,e,n){if(!e)throw new Error("`site id` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._sid=e,this._slug=t}n.d(e,{Z:function(){return r}}),r.prototype.slug=function(t){this._slug=t},r.prototype.get=function(t,e){const n="/sites/"+this._sid+"/tags/slug:"+this._slug;return this.wpcom.req.get(n,t,e)},r.prototype.add=function(t,e,n){const r="/sites/"+this._sid+"/tags/new";return this.wpcom.req.post(r,t,e,n)},r.prototype.update=function(t,e,n){const r="/sites/"+this._sid+"/tags/slug:"+this._slug;return this.wpcom.req.put(r,t,e,n)},r.prototype.delete=r.prototype.del=function(t,e){const n="/sites/"+this._sid+"/tags/slug:"+this._slug+"/delete";return this.wpcom.req.del(n,t,e)}},1986:function(t,e,n){"use strict";var r=n(4046);class o{constructor(t,e,n){if(!e)throw new TypeError("`siteId` is not correctly defined");if(!t)throw new TypeError("`taxonomy` is not correctly defined");if(!(this instanceof o))return new o(t,e,n);this.wpcom=n,this._siteId=encodeURIComponent(e),this._taxonomy=encodeURIComponent(t),this._rootPath=`/sites/${this._siteId}/taxonomies/${this._taxonomy}`}termsList(t,e){const n=`${this._rootPath}/terms`;return this.wpcom.req.get(n,t,e)}term(t){return new r.Z(t,this._taxonomy,this._siteId,this.wpcom)}}e.Z=o},4046:function(t,e){"use strict";class n{constructor(t,e,r,o){if(!r)throw new TypeError("`siteId` is not correctly defined");if(!e)throw new TypeError("`taxonomy` is not correctly defined");if(!(this instanceof n))return new n(t,e,r,o);this.wpcom=o,this._siteId=encodeURIComponent(r),this._taxonomy=encodeURIComponent(e),this._term=encodeURIComponent(t),this._taxonomyPath=`/sites/${this._siteId}/taxonomies/${this._taxonomy}/terms`}get(t,e){if(!this._term)throw new Error("`term` is not correctly defined");"function"==typeof t&&(e=t,t={});const n=`${this._taxonomyPath}/slug:${this._term}`;return this.wpcom.req.get(n,t,e)}add(t,e){if(!t||!t.name)throw new Error("`params.name` is not correctly defined");const n=`${this._taxonomyPath}/new`;return this.wpcom.req.post(n,t,e)}delete(t){if(!this._term)throw new Error("`term` is not correctly defined");const e=`${this._taxonomyPath}/slug:${this._term}/delete`;return this.wpcom.req.del(e,t)}update(t,e){if(!this._term)throw new Error("`term` is not correctly defined");const n=`${this._taxonomyPath}/slug:${this._term}`;return this.wpcom.req.put(n,t,e)}}e.Z=n},3243:function(t,e,n){"use strict";function r(t,e){if(!(this instanceof r))return new r(t,e);this._sid=t,this.wpcom=e}n.d(e,{Z:function(){return r}}),r.prototype.get=function(t,e){return this.wpcom.req.get("/sites/"+this._sid+"/wordads/earnings",t,e)}},1753:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3243),o=n(4549),i=n(1731);function s(t,e){if(!(this instanceof s))return new s(t,e);this._sid=t,this.wpcom=e}s.prototype.settings=function(){return new o.Z(this._sid,this.wpcom)},s.prototype.earnings=function(){return new r.Z(this._sid,this.wpcom)},s.prototype.tos=function(){return new i.Z(this._sid,this.wpcom)}},4549:function(t,e,n){"use strict";function r(t,e){if(!(this instanceof r))return new r(t,e);this._sid=t,this.wpcom=e}n.d(e,{Z:function(){return r}}),r.prototype.get=function(t,e){return this.wpcom.req.get("/sites/"+this._sid+"/wordads/settings",t,e)},r.prototype.update=function(t,e,n){const r="/sites/"+this._sid+"/wordads/settings";return this.wpcom.req.post(r,t,e,n)}},1731:function(t,e,n){"use strict";function r(t,e){if(!(this instanceof r))return new r(t,e);this._sid=t,this.wpcom=e}n.d(e,{Z:function(){return r}}),r.prototype.get=function(t,e){return this.wpcom.req.get("/sites/"+this._sid+"/wordads/tos",t,e)},r.prototype.update=function(t,e,n){const r="/sites/"+this._sid+"/wordads/tos";return this.wpcom.req.post(r,t,e,n)},r.prototype.sign=function(t,e){const n="/sites/"+this._sid+"/wordads/tos";return this.wpcom.req.post(n,t,{tos:"signed"},e)}},4866:function(t,e){"use strict";class n{constructor(t,e,r){if(!(this instanceof n))return new n(t,e,r);if(!t)throw new Error("`slug` is not correctly defined");this._slug=encodeURIComponent(t),this._sid=e,this.wpcom=r;const o=`/sites/${this._sid}/wpcom-plugins`;this.pluginPath=`${o}/${this._slug}`}update(t,e,n){return this.wpcom.req.put(this.pluginPath,t,e,n)}activate(t,e){return this.update(t,{active:!0},e)}deactivate(t,e){return this.update(t,{active:!1},e)}}e.Z=n},4308:function(t,e,n){"use strict";function r(t){if(!(this instanceof r))return new r(t);this.wpcom=t}n.d(e,{Z:function(){return r}}),r.prototype.suggest=function(t,e){return this.wpcom.req.get("/users/suggest",t,e)}},6426:function(t,e,n){"use strict";function r(){throw new Error("Cannot call fs functions within the browser")}n.d(e,{U:function(){return r}})},3818:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(8049);const o=n.n(r)()("wpcom:pinghub");function i(t){if(!(this instanceof i))return new i(t);this.wpcom=t,this.conns={}}i.prototype.connect=function(t,e){o("connect",t,e);const n=this,r={action:"connect",path:"/pinghub"+t},i=this.conns[t]=this.wpcom.req.get(r,(function(){}));i.onload=function(n){o("onload",t,n),e(null,n)},i.onerror=i.onabort=i.onclose=function(r){o("onerror",t,r),n.remove(t),e(r,null)}},i.prototype.disconnect=function(t){o("disconnect",t);const e={action:"disconnect",path:"/pinghub"+t};this.wpcom.req.get(e,(function(){}))},i.prototype.remove=function(t){o("remove",t),delete this.conns[t]}},781:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(3918);function o(t){this.wpcom=t}o.prototype.get=function(t,e,n){return"function"==typeof e&&(n=e,e={}),r.Z.call(this.wpcom,t,e,null,n)},o.prototype.post=o.prototype.put=function(t,e,n,o){return void 0===o&&(void 0===n?(n=e,e={}):"function"==typeof n&&(o=n,n=e,e={})),(t="string"==typeof t?{path:t}:t).method=t.method||"post",r.Z.call(this.wpcom,t,e,n,o)},o.prototype.del=function(t,e,n){return"function"==typeof e&&(n=e,e={}),this.post(t,e,null,n)}},9426:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(8049);const o=n.n(r)()("wpcom:runtime"),i=(t,e)=>function(n,r){const o=e(t,this);return this.wpcom.req.get(o,n,r)};function s(t,e,n){e.forEach((e=>{o("Adding %o",(e="object"==typeof e?e:{name:e}).name),t.prototype[e.name]=i(e,n)}))}},3918:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(8049),o=n.n(r),i=n(9126),s=n.n(i);const c=o()("wpcom:send-request"),a=o()("wpcom:send-request:res");function u(t,e,n,r){return c("sendRequest(%o )",(t="string"==typeof t?{path:t}:t).path),t.method=(t.method||"get").toUpperCase(),"function"==typeof e&&(r=e,e={}),"function"==typeof n&&(r=n,n=null),(e=e||{}).apiVersion?(t.apiVersion=e.apiVersion,c("apiVersion: %o",t.apiVersion),delete e.apiVersion):t.apiVersion=this.apiVersion,e.apiNamespace&&(t.apiNamespace=e.apiNamespace,c("apiNamespace: %o",t.apiNamespace),delete e.apiNamespace),e.proxyOrigin&&(t.proxyOrigin=e.proxyOrigin,c("proxyOrigin: %o",t.proxyOrigin),delete e.proxyOrigin),e=s().stringify(e,{arrayFormat:"brackets"}),t.query=e,n&&(t.body=n),c("params: %o",t),"function"==typeof r?this.request(t,(function(t,e,n){a(e),r(t,e,n)})):new Promise(((e,n)=>{this.request(t,((t,r)=>{a(r),t?n(t):e(r)}))}))}},8049:function(t,e,n){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(r++,"%c"===t&&(o=r))})),e.splice(o,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(n){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(n){}!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG);return t},e.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+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.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"],e.log=console.debug||console.log||(()=>{}),t.exports=n(2632)(e);const{formatters:r}=t.exports;r.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2632:function(t,e,n){t.exports=function(t){function e(t){let n,o,i,s=null;function c(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];if(!c.enabled)return;const i=c,s=Number(new Date),a=s-(n||s);i.diff=a,i.prev=n,i.curr=s,n=s,r[0]=e.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let u=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((t,n)=>{if("%%"===t)return"%";u++;const o=e.formatters[n];if("function"==typeof o){const e=r[u];t=o.call(i,e),r.splice(u,1),u--}return t})),e.formatArgs.call(i,r);const p=i.log||e.log;p.apply(i,r)}return c.namespace=t,c.useColors=e.useColors(),c.color=e.selectColor(t),c.extend=r,c.destroy=e.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==e.namespaces&&(o=e.namespaces,i=e.enabled(t)),i),set:t=>{s=t}}),"function"==typeof e.init&&e.init(c),c}function r(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function o(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(o),...e.skips.map(o).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(1378),e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}},3830:function(t,e,n){"use strict";var r=n(956);t.exports=function(){var t=r.apply(r,arguments);return t.charAt(0).toUpperCase()+t.slice(1)}},956:function(t){"use strict";t.exports=function(){var t=[].map.call(arguments,(function(t){return t.trim()})).filter((function(t){return t.length})).join("-");return t.length?1!==t.length&&/[_.\- ]+/.test(t)?t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(t,e){return e.toUpperCase()})):t[0]===t[0].toLowerCase()&&t.slice(1)!==t.slice(1).toLowerCase()?t:t.toLowerCase():""}},2686:function(t,e){"use strict";e.Z=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},5302:function(t,e,n){"use strict";var r;n.d(e,{Z:function(){return i}});var o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},708:function(t,e,n){"use strict";for(var r=n(6525),o=[],i=0;i<256;++i)o.push((i+256).toString(16).substr(1));e.Z=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]).toLowerCase();if(!(0,r.Z)(n))throw TypeError("Stringified UUID is invalid");return n}},8767:function(t,e,n){"use strict";var r=n(5302),o=n(708);e.Z=function(t,e,n){var i=(t=t||{}).random||(t.rng||r.Z)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){n=n||0;for(var s=0;s<16;++s)e[n+s]=i[s];return e}return(0,o.Z)(i)}},6525:function(t,e,n){"use strict";var r=n(2686);e.Z=function(t){return"string"==typeof t&&r.Z.test(t)}},2884:function(t,e,n){var r=n(3830),o=n(7260);function i(t,e){if(e)if("number"==typeof e)s(t,e);else{e.status_code&&s(t,e.status_code),e.error&&(t.name=a(e.error)),e.error_description&&(t.message=e.error_description);var n=e.errors;if(n)i(t,n.length?n[0]:n);for(var r in e)t[r]=e[r];t.status&&(e.method||e.path)&&c(t)}}function s(t,e){t.name=a(o[e]),t.status=t.statusCode=e,c(t)}function c(t){var e=t.status,n=t.method,r=t.path,o=e+" status code",i=n||r;i&&(o+=' for "'),n&&(o+=n),i&&(o+=" "),r&&(o+=r),i&&(o+='"'),t.message=o}function a(t){return r(String(t).replace(/error$/i,""),"error")}t.exports=function t(){for(var e=new Error,n=0;n<arguments.length;n++)i(e,arguments[n]);"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(e,t);return e}},7260:function(t){t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},9196:function(t){"use strict";t.exports=window.React},2819:function(t){"use strict";t.exports=window.lodash},5609:function(t){"use strict";t.exports=window.wp.components},4333:function(t){"use strict";t.exports=window.wp.compose},9818:function(t){"use strict";t.exports=window.wp.data},9307:function(t){"use strict";t.exports=window.wp.element},5736:function(t){"use strict";t.exports=window.wp.i18n},8817:function(t){"use strict";t.exports=window.wp.plugins},6656:function(t){"use strict";t.exports=window.wp.reactI18n},3260:function(){},6666:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:function(){return r}})},7896:function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{Z:function(){return r}})}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t}();var r={};!function(){"use strict";n.r(r);n(5840),n(8814)}(),window.EditingToolkit=r}();
1
+ !function(){var t={2680:function(t,e,n){"use strict";var r=n(7286),o=n(9429),i=o(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&i(t,".prototype.")>-1?o(n):n}},9429:function(t,e,n){"use strict";var r=n(4090),o=n(7286),i=o("%Function.prototype.apply%"),s=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(s,i),a=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(f){u=null}t.exports=function(t){var e=c(r,s,arguments);if(a&&u){var n=a(e,"length");n.configurable&&u(e,"length",{value:1+p(0,t.length-(arguments.length-1))})}return e};var l=function(){return c(r,i,arguments)};u?u(t.exports,"apply",{value:l}):t.exports.apply=l},3421:function(t,e){"use strict";var n=decodeURIComponent,r=encodeURIComponent,o=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(t,e){try{return e(t)}catch(n){return t}}},2699:function(t){"use strict";var e,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};e=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function i(){i.init.call(this)}t.exports=i,t.exports.once=function(t,e){return new Promise((function(n,r){function o(){void 0!==i&&t.removeListener("error",i),n([].slice.call(arguments))}var i;"error"!==e&&(i=function(n){t.removeListener(e,o),r(n)},t.once("error",i)),t.once(e,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function a(t){return void 0===t._maxListeners?i.defaultMaxListeners:t._maxListeners}function u(t,e,n,r){var o,i,s,u;if(c(n),void 0===(i=t._events)?(i=t._events=Object.create(null),t._eventsCount=0):(void 0!==i.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),i=t._events),s=i[e]),void 0===s)s=i[e]=n,++t._eventsCount;else if("function"==typeof s?s=i[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=a(t))>0&&s.length>o&&!s.warned){s.warned=!0;var p=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");p.name="MaxListenersExceededWarning",p.emitter=t,p.type=e,p.count=s.length,u=p,console&&console.warn&&console.warn(u)}return t}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},o=p.bind(r);return o.listener=n,r.wrapFn=o,o}function f(t,e,n){var r=t._events;if(void 0===r)return[];var o=r[e];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(o):d(o,o.length)}function h(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function d(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");s=t}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},i.prototype.getMaxListeners=function(){return a(this)},i.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var o="error"===t,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var s;if(e.length>0&&(s=e[0]),s instanceof Error)throw s;var c=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw c.context=s,c}var a=i[t];if(void 0===a)return!1;if("function"==typeof a)r(a,this,e);else{var u=a.length,p=d(a,u);for(n=0;n<u;++n)r(p[n],this,e)}return!0},i.prototype.addListener=function(t,e){return u(this,t,e,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(t,e){return u(this,t,e,!0)},i.prototype.once=function(t,e){return c(e),this.on(t,l(this,t,e)),this},i.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,l(this,t,e)),this},i.prototype.removeListener=function(t,e){var n,r,o,i,s;if(c(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===e||n[i].listener===e){s=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,o),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,s||e)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},i.prototype.listeners=function(t){return f(this,t,!0)},i.prototype.rawListeners=function(t){return f(this,t,!1)},i.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):h.call(t,e)},i.prototype.listenerCount=h,i.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},7795:function(t){"use strict";var e="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,o="[object Function]";t.exports=function(t){var i=this;if("function"!=typeof i||r.call(i)!==o)throw new TypeError(e+i);for(var s,c=n.call(arguments,1),a=function(){if(this instanceof s){var e=i.apply(this,c.concat(n.call(arguments)));return Object(e)===e?e:this}return i.apply(t,c.concat(n.call(arguments)))},u=Math.max(0,i.length-c.length),p=[],l=0;l<u;l++)p.push("$"+l);if(s=Function("binder","return function ("+p.join(",")+"){ return binder.apply(this,arguments); }")(a),i.prototype){var f=function(){};f.prototype=i.prototype,s.prototype=new f,f.prototype=null}return s}},4090:function(t,e,n){"use strict";var r=n(7795);t.exports=Function.prototype.bind||r},7286:function(t,e,n){"use strict";var r,o=SyntaxError,i=Function,s=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(e){}},a=Object.getOwnPropertyDescriptor;if(a)try{a({},"")}catch(x){a=null}var u=function(){throw new s},p=a?function(){try{return u}catch(t){try{return a(arguments,"callee").get}catch(e){return u}}}():u,l=n(2636)(),f=Object.getPrototypeOf||function(t){return t.__proto__},h={},d="undefined"==typeof Uint8Array?r:f(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":l?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&l?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?f(""[Symbol.iterator]()):r,"%Symbol%":l?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":p,"%TypedArray%":d,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},m=function t(e){var n;if("%AsyncFunction%"===e)n=c("async function () {}");else if("%GeneratorFunction%"===e)n=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=c("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(n=f(o.prototype))}return y[e]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=n(4090),v=n(3198),b=w.call(Function.call,Array.prototype.concat),_=w.call(Function.apply,Array.prototype.splice),C=w.call(Function.call,String.prototype.replace),S=w.call(Function.call,String.prototype.slice),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,A=function(t){var e=S(t,0,1),n=S(t,-1);if("%"===e&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return C(t,E,(function(t,e,n,o){r[r.length]=n?C(o,P,"$1"):e||t})),r},j=function(t,e){var n,r=t;if(v(g,r)&&(r="%"+(n=g[r])[0]+"%"),v(y,r)){var i=y[r];if(i===h&&(i=m(r)),void 0===i&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');var n=A(t),r=n.length>0?n[0]:"",i=j("%"+r+"%",e),c=i.name,u=i.value,p=!1,l=i.alias;l&&(r=l[0],_(n,b([0,1],l)));for(var f=1,h=!0;f<n.length;f+=1){var d=n[f],m=S(d,0,1),g=S(d,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&h||(p=!0),v(y,c="%"+(r+="."+d)+"%"))u=y[c];else if(null!=u){if(!(d in u)){if(!e)throw new s("base intrinsic for "+t+" exists, but the property is not available.");return}if(a&&f+1>=n.length){var w=a(u,d);u=(h=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:u[d]}else h=v(u,d),u=u[d];h&&!p&&(y[c]=u)}}return u}},2636:function(t,e,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(6679);t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},6679:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},3198:function(t,e,n){"use strict";var r=n(4090);t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},4495:function(t,e,n){"use strict";var r=n(212),o=n(9561);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=i,i.prototype.update=function(t,e){if(t=r.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var o=0;o<t.length;o+=this._delta32)this._update(t,o,o+this._delta32)}return this},i.prototype.digest=function(t){return this.update(this._pad()),o(null===this.pending),this._digest(t)},i.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,n=e-(t+this.padLength)%e,r=new Array(n+this.padLength);r[0]=128;for(var o=1;o<n;o++)r[o]=0;if(t<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[o++]=0;r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=t>>>24&255,r[o++]=t>>>16&255,r[o++]=t>>>8&255,r[o++]=255&t}else for(r[o++]=255&t,r[o++]=t>>>8&255,r[o++]=t>>>16&255,r[o++]=t>>>24&255,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,i=8;i<this.padLength;i++)r[o++]=0;return r}},8032:function(t,e,n){"use strict";var r=n(212),o=n(4495),i=n(713),s=n(9561),c=r.sum32,a=r.sum32_4,u=r.sum32_5,p=i.ch32,l=i.maj32,f=i.s0_256,h=i.s1_256,d=i.g0_256,y=i.g1_256,m=o.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function w(){if(!(this instanceof w))return new w;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}r.inherits(w,m),t.exports=w,w.blockSize=512,w.outSize=256,w.hmacStrength=192,w.padLength=64,w.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=a(y(n[r-2]),n[r-7],d(n[r-15]),n[r-16]);var o=this.h[0],i=this.h[1],m=this.h[2],g=this.h[3],w=this.h[4],v=this.h[5],b=this.h[6],_=this.h[7];for(s(this.k.length===n.length),r=0;r<n.length;r++){var C=u(_,h(w),p(w,v,b),this.k[r],n[r]),S=c(f(o),l(o,i,m));_=b,b=v,v=w,w=c(g,C),g=m,m=i,i=o,o=c(C,S)}this.h[0]=c(this.h[0],o),this.h[1]=c(this.h[1],i),this.h[2]=c(this.h[2],m),this.h[3]=c(this.h[3],g),this.h[4]=c(this.h[4],w),this.h[5]=c(this.h[5],v),this.h[6]=c(this.h[6],b),this.h[7]=c(this.h[7],_)},w.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},713:function(t,e,n){"use strict";var r=n(212).rotr32;function o(t,e,n){return t&e^~t&n}function i(t,e,n){return t&e^t&n^e&n}function s(t,e,n){return t^e^n}e.ft_1=function(t,e,n,r){return 0===t?o(e,n,r):1===t||3===t?s(e,n,r):2===t?i(e,n,r):void 0},e.ch32=o,e.maj32=i,e.p32=s,e.s0_256=function(t){return r(t,2)^r(t,13)^r(t,22)},e.s1_256=function(t){return r(t,6)^r(t,11)^r(t,25)},e.g0_256=function(t){return r(t,7)^r(t,18)^t>>>3},e.g1_256=function(t){return r(t,17)^r(t,19)^t>>>10}},212:function(t,e,n){"use strict";var r=n(9561),o=n(1285);function i(t,e){return 55296==(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1)))}function s(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function c(t){return 1===t.length?"0"+t:t}function a(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=o,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),o=0;o<t.length;o+=2)n.push(parseInt(t[o]+t[o+1],16))}else for(var r=0,o=0;o<t.length;o++){var s=t.charCodeAt(o);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):i(t,o)?(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++o)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(o=0;o<t.length;o++)n[o]=0|t[o];return n},e.toHex=function(t){for(var e="",n=0;n<t.length;n++)e+=c(t[n].toString(16));return e},e.htonl=s,e.toHex32=function(t,e){for(var n="",r=0;r<t.length;r++){var o=t[r];"little"===e&&(o=s(o)),n+=a(o.toString(16))}return n},e.zero2=c,e.zero8=a,e.join32=function(t,e,n,o){var i=n-e;r(i%4==0);for(var s=new Array(i/4),c=0,a=e;c<s.length;c++,a+=4){var u;u="big"===o?t[a]<<24|t[a+1]<<16|t[a+2]<<8|t[a+3]:t[a+3]<<24|t[a+2]<<16|t[a+1]<<8|t[a],s[c]=u>>>0}return s},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,o=0;r<t.length;r++,o+=4){var i=t[r];"big"===e?(n[o]=i>>>24,n[o+1]=i>>>16&255,n[o+2]=i>>>8&255,n[o+3]=255&i):(n[o+3]=i>>>24,n[o+2]=i>>>16&255,n[o+1]=i>>>8&255,n[o]=255&i)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,r){return t+e+n+r>>>0},e.sum32_5=function(t,e,n,r,o){return t+e+n+r+o>>>0},e.sum64=function(t,e,n,r){var o=t[e],i=r+t[e+1]>>>0,s=(i<r?1:0)+n+o;t[e]=s>>>0,t[e+1]=i},e.sum64_hi=function(t,e,n,r){return(e+r>>>0<e?1:0)+t+n>>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,o,i,s,c){var a=0,u=e;return a+=(u=u+r>>>0)<e?1:0,a+=(u=u+i>>>0)<i?1:0,t+n+o+s+(a+=(u=u+c>>>0)<c?1:0)>>>0},e.sum64_4_lo=function(t,e,n,r,o,i,s,c){return e+r+i+c>>>0},e.sum64_5_hi=function(t,e,n,r,o,i,s,c,a,u){var p=0,l=e;return p+=(l=l+r>>>0)<e?1:0,p+=(l=l+i>>>0)<i?1:0,p+=(l=l+c>>>0)<c?1:0,t+n+o+s+a+(p+=(l=l+u>>>0)<u?1:0)>>>0},e.sum64_5_lo=function(t,e,n,r,o,i,s,c,a,u){return e+r+i+c+u>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},1285:function(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},2779:function(){},9561:function(t){function e(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=e,e.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},1378:function(t){var e=1e3,n=60*e,r=60*n,o=24*r,i=7*o,s=365.25*o;function c(t,e,n,r){var o=e>=1.5*n;return Math.round(t/n)+" "+r+(o?"s":"")}t.exports=function(t,a){a=a||{};var u=typeof t;if("string"===u&&t.length>0)return function(t){if((t=String(t)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!c)return;var a=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(t);if("number"===u&&isFinite(t))return a.long?function(t){var i=Math.abs(t);if(i>=o)return c(t,i,o,"day");if(i>=r)return c(t,i,r,"hour");if(i>=n)return c(t,i,n,"minute");if(i>=e)return c(t,i,e,"second");return t+" ms"}(t):function(t){var i=Math.abs(t);if(i>=o)return Math.round(t/o)+"d";if(i>=r)return Math.round(t/r)+"h";if(i>=n)return Math.round(t/n)+"m";if(i>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},9500:function(t,e,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,s=r&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,a=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&a&&"function"==typeof a.get?a.get:null,p=c&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,y=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,w="function"==typeof BigInt?BigInt.prototype.valueOf:null,v=Object.getOwnPropertySymbols,b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,_="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C=Object.prototype.propertyIsEnumerable,S=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),E=n(3260).custom,P=E&&O(E)?E:null,A="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function j(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function x(t){return String(t).replace(/"/g,"&quot;")}function q(t){return!("[object Array]"!==Z(t)||A&&"object"==typeof t&&A in t)}function O(t){if(_)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!b)return!1;try{return b.call(t),!0}catch(e){}return!1}t.exports=function t(e,n,r,o){var c=n||{};if(k(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(k(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!k(c,"customInspect")||c.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(k(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return N(e,c);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var y=void 0===c.depth?5:c.depth;if(void 0===r&&(r=0),r>=y&&y>0&&"object"==typeof e)return q(e)?"[Array]":"[Object]";var v=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=Array(t.indent+1).join(" ")}return{base:n,prev:Array(e+1).join(n)}}(c,r);if(void 0===o)o=[];else if(L(o,e)>=0)return"[Circular]";function C(e,n,i){if(n&&(o=o.slice()).push(n),i){var s={depth:c.depth};return k(c,"quoteStyle")&&(s.quoteStyle=c.quoteStyle),t(e,s,r+1,o)}return t(e,c,r+1,o)}if("function"==typeof e){var E=function(t){if(t.name)return t.name;var e=g.call(m.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),F=M(e,C);return"[Function"+(E?": "+E:" (anonymous)")+"]"+(F.length>0?" { "+F.join(", ")+" }":"")}if(O(e)){var R=_?String(e).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):b.call(e);return"object"!=typeof e||_?R:I(R)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var D="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],B=0;B<W.length;B++)D+=" "+W[B].name+"="+j(x(W[B].value),"double",c);return D+=">",e.childNodes&&e.childNodes.length&&(D+="..."),D+="</"+String(e.nodeName).toLowerCase()+">"}if(q(e)){if(0===e.length)return"[]";var z=M(e,C);return v&&!function(t){for(var e=0;e<t.length;e++)if(L(t[e],"\n")>=0)return!1;return!0}(z)?"["+U(z,v)+"]":"[ "+z.join(", ")+" ]"}if(function(t){return!("[object Error]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e)){var V=M(e,C);return 0===V.length?"["+String(e)+"]":"{ ["+String(e)+"] "+V.join(", ")+" }"}if("object"==typeof e&&a){if(P&&"function"==typeof e[P])return e[P]();if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{u.call(t)}catch(D){return!0}return t instanceof Map}catch(e){}return!1}(e)){var G=[];return s.call(e,(function(t,n){G.push(C(n,e,!0)+" => "+C(t,e))})),T("Map",i.call(e),G,v)}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t);try{i.call(t)}catch(e){return!0}return t instanceof Set}catch(n){}return!1}(e)){var H=[];return p.call(e,(function(t){H.push(C(t,e))})),T("Set",u.call(e),H,v)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t,l);try{f.call(t,f)}catch(D){return!0}return t instanceof WeakMap}catch(e){}return!1}(e))return $("WeakMap");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{l.call(t,l)}catch(D){return!0}return t instanceof WeakSet}catch(e){}return!1}(e))return $("WeakSet");if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{return h.call(t),!0}catch(e){}return!1}(e))return $("WeakRef");if(function(t){return!("[object Number]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e))return I(C(Number(e)));if(function(t){if(!t||"object"!=typeof t||!w)return!1;try{return w.call(t),!0}catch(e){}return!1}(e))return I(C(w.call(e)));if(function(t){return!("[object Boolean]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e))return I(d.call(e));if(function(t){return!("[object String]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e))return I(C(String(e)));if(!function(t){return!("[object Date]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e)&&!function(t){return!("[object RegExp]"!==Z(t)||A&&"object"==typeof t&&A in t)}(e)){var J=M(e,C),Q=S?S(e)===Object.prototype:e instanceof Object||e.constructor===Object,K=e instanceof Object?"":"null prototype",X=!Q&&A&&Object(e)===e&&A in e?Z(e).slice(8,-1):K?"Object":"",Y=(Q||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(X||K?"["+[].concat(X||[],K||[]).join(": ")+"] ":"");return 0===J.length?Y+"{}":v?Y+"{"+U(J,v)+"}":Y+"{ "+J.join(", ")+" }"}return String(e)};var F=Object.prototype.hasOwnProperty||function(t){return t in this};function k(t,e){return F.call(t,e)}function Z(t){return y.call(t)}function L(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function N(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return N(t.slice(0,e.maxStringLength),e)+r}return j(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,R),"single",e)}function R(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function I(t){return"Object("+t+")"}function $(t){return t+" { ? }"}function T(t,e,n,r){return t+" ("+e+") {"+(r?U(n,r):n.join(", "))+"}"}function U(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+t.join(","+n)+"\n"+e.prev}function M(t,e){var n=q(t),r=[];if(n){r.length=t.length;for(var o=0;o<t.length;o++)r[o]=k(t,o)?e(t[o],t):""}var i,s="function"==typeof v?v(t):[];if(_){i={};for(var c=0;c<s.length;c++)i["$"+s[c]]=s[c]}for(var a in t)k(t,a)&&(n&&String(Number(a))===a&&a<t.length||_&&i["$"+a]instanceof Symbol||(/[^\w$]/.test(a)?r.push(e(a,t)+": "+e(t[a],t)):r.push(a+": "+e(t[a],t))));if("function"==typeof v)for(var u=0;u<s.length;u++)C.call(t,s[u])&&r.push("["+e(s[u])+"]: "+e(t[s[u]],t));return r}},8650:function(t){var e,n=window.ProgressEvent,r=!!n;try{e=new n("loaded"),r="loaded"===e.type,e=null}catch(o){r=!1}t.exports=r?n:"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("Event");return n.initEvent(t,!1,!1),e?(n.lengthComputable=Boolean(e.lengthComputable),n.loaded=Number(e.loaded)||0,n.total=Number(e.total)||0):(n.lengthComputable=!1,n.loaded=n.total=0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.lengthComputable=Boolean(e.lengthComputable),n.loaded=Number(e.loaded)||0,n.total=Number(e.total)||0):(n.lengthComputable=!1,n.loaded=n.total=0),n}},5527:function(t){"use strict";var e=String.prototype.replace,n=/%20/g,r="RFC1738",o="RFC3986";t.exports={default:o,formatters:{RFC1738:function(t){return e.call(t,n,"+")},RFC3986:function(t){return String(t)}},RFC1738:r,RFC3986:o}},9126:function(t,e,n){"use strict";var r=n(6845),o=n(9166),i=n(5527);t.exports={formats:i,parse:o,stringify:r}},9166:function(t,e,n){"use strict";var r=n(2493),o=Object.prototype.hasOwnProperty,i=Array.isArray,s={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},a=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,n,r){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=c?i.slice(0,c.index):i,p=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;p.push(u)}for(var l=0;n.depth>0&&null!==(c=s.exec(i))&&l<n.depth;){if(l+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;p.push(c[1])}return c&&p.push("["+i.slice(c.index)+"]"),function(t,e,n,r){for(var o=r?e:a(e,n),i=t.length-1;i>=0;--i){var s,c=t[i];if("[]"===c&&n.parseArrays)s=[].concat(o);else{s=n.plainObjects?Object.create(null):{};var u="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,p=parseInt(u,10);n.parseArrays||""!==u?!isNaN(p)&&c!==u&&String(p)===u&&p>=0&&n.parseArrays&&p<=n.arrayLimit?(s=[])[p]=o:s[u]=o:s={0:o}}o=s}return o}(p,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?s.charset:t.charset;return{allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:s.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var n,u={},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=p.split(e.delimiter,l),h=-1,d=e.charset;if(e.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?d="utf-8":"utf8=%26%2310003%3B"===f[n]&&(d="iso-8859-1"),h=n,n=f.length);for(n=0;n<f.length;++n)if(n!==h){var y,m,g=f[n],w=g.indexOf("]="),v=-1===w?g.indexOf("="):w+1;-1===v?(y=e.decoder(g,s.decoder,d,"key"),m=e.strictNullHandling?null:""):(y=e.decoder(g.slice(0,v),s.decoder,d,"key"),m=r.maybeMap(a(g.slice(v+1),e),(function(t){return e.decoder(t,s.decoder,d,"value")}))),m&&e.interpretNumericEntities&&"iso-8859-1"===d&&(m=c(m)),g.indexOf("[]=")>-1&&(m=i(m)?[m]:m),o.call(u,y)?u[y]=r.combine(u[y],m):u[y]=m}return u}(t,n):t,l=n.plainObjects?Object.create(null):{},f=Object.keys(p),h=0;h<f.length;++h){var d=f[h],y=u(d,p[d],n,"string"==typeof t);l=r.merge(l,y,n)}return!0===n.allowSparse?l:r.compact(l)}},6845:function(t,e,n){"use strict";var r=n(4294),o=n(2493),i=n(5527),s=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},a=Array.isArray,u=Array.prototype.push,p=function(t,e){u.apply(t,a(e)?e:[e])},l=Date.prototype.toISOString,f=i.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},d=function t(e,n,i,s,c,u,l,f,d,y,m,g,w,v,b){var _,C=e;if(b.has(e))throw new RangeError("Cyclic object value");if("function"==typeof l?C=l(n,C):C instanceof Date?C=y(C):"comma"===i&&a(C)&&(C=o.maybeMap(C,(function(t){return t instanceof Date?y(t):t}))),null===C){if(s)return u&&!w?u(n,h.encoder,v,"key",m):n;C=""}if("string"==typeof(_=C)||"number"==typeof _||"boolean"==typeof _||"symbol"==typeof _||"bigint"==typeof _||o.isBuffer(C))return u?[g(w?n:u(n,h.encoder,v,"key",m))+"="+g(u(C,h.encoder,v,"value",m))]:[g(n)+"="+g(String(C))];var S,E=[];if(void 0===C)return E;if("comma"===i&&a(C))S=[{value:C.length>0?C.join(",")||null:void 0}];else if(a(l))S=l;else{var P=Object.keys(C);S=f?P.sort(f):P}for(var A=0;A<S.length;++A){var j=S[A],x="object"==typeof j&&void 0!==j.value?j.value:C[j];if(!c||null!==x){var q=a(C)?"function"==typeof i?i(n,j):n:n+(d?"."+j:"["+j+"]");b.set(e,!0);var O=r();p(E,t(x,q,i,s,c,u,l,f,d,y,m,g,w,v,O))}}return E};t.exports=function(t,e){var n,o=t,u=function(t){if(!t)return h;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||h.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==t.format){if(!s.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=i.formatters[n],o=h.filter;return("function"==typeof t.filter||a(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===t.allowDots?h.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:h.charsetSentinel,delimiter:void 0===t.delimiter?h.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:h.encode,encoder:"function"==typeof t.encoder?t.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:h.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:h.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:h.strictNullHandling}}(e);"function"==typeof u.filter?o=(0,u.filter)("",o):a(u.filter)&&(n=u.filter);var l,f=[];if("object"!=typeof o||null===o)return"";l=e&&e.arrayFormat in c?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var y=c[l];n||(n=Object.keys(o)),u.sort&&n.sort(u.sort);for(var m=r(),g=0;g<n.length;++g){var w=n[g];u.skipNulls&&null===o[w]||p(f,d(o[w],w,y,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,m))}var v=f.join(u.delimiter),b=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),v.length>0?b+v:""}},2493:function(t,e,n){"use strict";var r=n(5527),o=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:c,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var o=e[r],s=o.obj[o.prop],c=Object.keys(s),a=0;a<c.length;++a){var u=c[a],p=s[u];"object"==typeof p&&null!==p&&-1===n.indexOf(p)&&(e.push({obj:s,prop:u}),n.push(p))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(t,e,n,o,i){if(0===t.length)return t;var c=t;if("symbol"==typeof t?c=Symbol.prototype.toString.call(t):"string"!=typeof t&&(c=String(t)),"iso-8859-1"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",u=0;u<c.length;++u){var p=c.charCodeAt(u);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===r.RFC1738&&(40===p||41===p)?a+=c.charAt(u):p<128?a+=s[p]:p<2048?a+=s[192|p>>6]+s[128|63&p]:p<55296||p>=57344?a+=s[224|p>>12]+s[128|p>>6&63]+s[128|63&p]:(u+=1,p=65536+((1023&p)<<10|1023&c.charCodeAt(u)),a+=s[240|p>>18]+s[128|p>>12&63]+s[128|p>>6&63]+s[128|63&p])}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(i(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var s=e;return i(e)&&!i(n)&&(s=c(e,r)),i(e)&&i(n)?(n.forEach((function(n,i){if(o.call(e,i)){var s=e[i];s&&"object"==typeof s&&n&&"object"==typeof n?e[i]=t(s,n,r):e.push(n)}else e[i]=n})),e):Object.keys(n).reduce((function(e,i){var s=n[i];return o.call(e,i)?e[i]=t(e[i],s,r):e[i]=s,e}),s)}}},4294:function(t,e,n){"use strict";var r=n(7286),o=n(2680),i=n(9500),s=r("%TypeError%"),c=r("%WeakMap%",!0),a=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),p=o("WeakMap.prototype.set",!0),l=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),y=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new s("Side channel does not contain "+i(t))},get:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(t)return u(t,r)}else if(a){if(e)return f(e,r)}else if(n)return function(t,e){var n=y(t,e);return n&&n.value}(n,r)},has:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(t)return l(t,r)}else if(a){if(e)return d(e,r)}else if(n)return function(t,e){return!!y(t,e)}(n,r);return!1},set:function(r,o){c&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new c),p(t,r,o)):a?(e||(e=new a),h(e,r,o)):(n||(n={key:{},next:null}),function(t,e,n){var r=y(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,o))}};return r}},9239:function(t,e,n){"object"==typeof window&&window.whatsNewAssetsUrl&&(n.p=window.whatsNewAssetsUrl)},8814:function(t,e,n){"use strict";var r=n(9818);const o={whatsNew:!1};(0,r.registerStore)("automattic/whats-new",{reducer:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,e=arguments.length>1?arguments[1]:void 0;return"TOGGLE_FEATURE"===e.type?{whatsNew:!t.whatsNew}:t},actions:{toggleWhatsNew:()=>({type:"TOGGLE_FEATURE"})},selectors:{isWhatsNewActive:t=>t.whatsNew}})},5840:function(t,e,n){"use strict";var r=n(9307),o=(n(9239),n(6115)),i=n(3585),s=n(5609),c=n(5736),a=n(8817),u=n(9196);const __=c.__;function p(){const[t,e]=(0,u.useState)(!1);return(0,r.useEffect)((()=>{t&&(0,o.jN)("calypso_block_editor_whats_new_open")}),[t]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.Fill,{name:"ToolsMoreMenuGroup"},(0,r.createElement)(s.MenuItem,{onClick:()=>e(!0)},__("What's new","full-site-editing"))),t&&(0,r.createElement)(i.Z,{onClose:()=>e(!1)}))}(0,a.registerPlugin)("whats-new",{render:()=>(0,r.createElement)(p,null)})},6115:function(t,e,n){"use strict";n.d(e,{jN:function(){return r.jN}});n(1694),n(6209),n(9377);var r=n(9792);n(3722)},9377:function(t,e,n){"use strict";let r=null;"undefined"!=typeof window&&window.addEventListener("popstate",(function(){r=null}))},9792:function(t,e,n){"use strict";n.d(e,{jN:function(){return f}});var r=n(2699),o=n(4898),i=(n(3421),n(2819)),s=(n(9377),n(6209),n(9358));n(1694);const c=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account","calypso_checkout_switch_to_p_24","calypso_checkout_composite_p24_submit_clicked"];let a,u=Promise.resolve();function p(t){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(t))}"undefined"!=typeof document&&(u=(0,o.ve)("//stats.wp.com/w.js?63"));const l=new r.EventEmitter;function f(t,e){if(e=e||{},(0,s.Z)('Record event "%s" called with props %o',t,e),t.startsWith("calypso_")||(0,i.includes)(c,t)){if(a){const t=a(e);e={...e,...t}}e=(0,i.omitBy)(e,(t=>void 0===t)),(0,s.Z)('Recording event "%s" with actual props %o',t,e),p(["recordEvent",t,e]),l.emit("record-event",t,e)}else(0,s.Z)('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}},3722:function(t,e,n){"use strict";n(9792)},6209:function(t,e,n){"use strict";n(4)},9358:function(t,e,n){"use strict";var r=n(8049),o=n.n(r);e.Z=o()("calypso:analytics")},1694:function(t,e,n){"use strict";n(9358)},4:function(t,e,n){"use strict";n(8032)},849:function(t,e,n){"use strict";n.d(e,{bU:function(){return p}});var r=n(7896),o=n(9307),i=n(4333),s=n(5736),c=n(9196);const a=(0,c.createContext)(null);function u(){var t,e;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)return"";const e=["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"],n=t.toLowerCase();return(e.includes(n)?n.replace("_","-"):n.replace(/([-_].*)$/i,""))||"en"}(s.getLocaleData?null===(t=s.getLocaleData())||void 0===t||null===(e=t[""])||void 0===e?void 0:e.language:"")}function p(){const t=(0,c.useContext)(a),e=!!t,[n,r]=(0,c.useState)(u());return(0,c.useEffect)((()=>{if(!e)return r(u()),s.subscribe((()=>{r(u())}))}),[e]),t||n||"en"}(0,i.createHigherOrderComponent)((t=>e=>{const n=p();return(0,o.createElement)(t,(0,r.Z)({locale:n},e))}),"withLocale")},3340:function(t,e,n){"use strict";n.d(e,{hg:function(){return c},lZ:function(){return a},_W:function(){return p},Yt:function(){return l}});var r=n(8049);const o=n.n(r)()("lib/load-script/callback-handler"),i=new Map;function s(){return i}function c(t){return s().has(t)}function a(t,e){const n=s();c(t)?(o(`Adding a callback for an existing script from "${t}"`),n.get(t).add(e)):(o(`Adding a callback for a new script from "${t}"`),n.set(t,new Set([e])))}function u(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=s(),r=n.get(t);if(r){o(`Executing callbacks for "${t}"`+(null===e?" with success":` with error "${e}"`)),r.forEach((t=>{"function"==typeof t&&t(e)})),n.delete(t)}}function p(){const t=this.getAttribute("src");o(`Handling successful request for "${t}"`),u(t),this.onload=null}function l(){const t=this.getAttribute("src");o(`Handling failed request for "${t}"`),u(t,new Error(`Failed to load script "${t}"`)),this.onerror=null}},5606:function(t,e,n){"use strict";n.d(e,{C:function(){return c},k:function(){return a}});var r=n(8049),o=n.n(r),i=n(3340);const s=o()("lib/load-script/dom-operations");function c(t){s(`Creating script element for "${t}"`);const e=document.createElement("script");return e.src=t,e.type="text/javascript",e.async=!0,e.onload=i._W,e.onerror=i.Yt,e}function a(t){s("Attaching element to head"),document.head.appendChild(t)}},4898:function(t,e,n){"use strict";n.d(e,{ve:function(){return c}});var r=n(8049),o=n.n(r),i=n(3340),s=n(5606);o()("package/load-script");function c(t,e){if(!(0,i.hg)(t)&&(0,s.k)((0,s.C)(t)),"function"!=typeof e)return new Promise(((e,n)=>{(0,i.lZ)(t,(t=>{null===t?e():n(t)}))}));(0,i.lZ)(t,e)}},3585:function(t,e,n){"use strict";var r=n(9307),o=n(849),i=n(5609),s=n(6656),c=n(9196),a=n(1202),u=n(8552),p=n(869);n(2779);e.Z=t=>{let{onClose:e}=t;const[n,l]=(0,c.useState)(null),__=(0,s.useI18n)().__,f=(0,o.bU)();return(0,c.useEffect)((()=>{const t=(0,a.Z)();t.request=u.ZP,t.req.get({path:`/whats-new/list?_locale=${f}`,apiNamespace:"wpcom/v2"}).then((t=>{l(t)}))}),[f]),n?(0,r.createElement)(i.Guide,{className:"whats-new-guide__main",contentLabel:__("What's New at WordPress.com","full-site-editing"),finishButtonText:__("Close","full-site-editing"),onFinish:e},n.map(((t,e)=>(0,r.createElement)(p.Z,{pageNumber:e+1,isLastPage:e===n.length-1,description:t.description,heading:t.heading,imageSrc:t.imageSrc,link:t.link})))):null}},869:function(t,e,n){"use strict";var r=n(9307),o=n(6115),i=n(5609),s=n(6656),c=n(9196);e.Z=function(t){let{description:e,heading:n,imageSrc:a,isLastPage:u,link:p,pageNumber:l}=t;const __=(0,s.useI18n)().__;return(0,c.useEffect)((()=>{(0,o.jN)("wpcom_whats_new_slide_view",{slide_number:l,is_last_slide:u})}),[u,l]),(0,r.createElement)(i.GuidePage,{className:"whats-new-page__container"},(0,r.createElement)("div",{className:"whats-new-page__text"},n&&(0,r.createElement)("h1",{className:"whats-new-page__heading"},n),(0,r.createElement)("div",{className:"whats-new-page__description"},e&&(0,r.createElement)("p",null,e),p&&(0,r.createElement)(i.Button,{className:"whats-new-page__link",href:p,isTertiary:!0,isLink:!0,target:"_blank"},__("Learn more","full-site-editing")))),(0,r.createElement)("div",{className:"whats-new-page__visual"},a&&(0,r.createElement)("img",{src:a,alt:e,"aria-hidden":"true",className:"whats-new-page__image"})))}},8552:function(t,e,n){"use strict";var r=n(8049),o=n.n(r),i=n(8650),s=n.n(i),c=n(8767),a=n(2884),u=n.n(a);const p=o()("wpcom-proxy-request"),l="https://public-api.wordpress.com",f=window.location.protocol+"//"+window.location.host,h=(()=>{let t=!1;try{window.postMessage({toString:function(){t=!0}},"*")}catch(e){}return t})(),d=(()=>{try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(t){return!1}})();let y,m=null,g=!1;const w={},v=!!window.ProgressEvent&&!!window.FormData;p('using "origin": %o',f);const b=(t,e)=>{const n=Object.assign({},t);p("request(%o)",n),m||P();const r=(0,c.Z)();n.callback=r,n.supports_args=!0,n.supports_error_obj=!0,n.supports_progress=v,n.method=String(n.method||"GET").toUpperCase(),p("params object: %o",n);const o=new window.XMLHttpRequest;if(o.params=n,w[r]=o,"function"==typeof e){let t=!1;const n=n=>{if(t)return;t=!0;const r=n.response||o.response;p("body: ",r),p("headers: ",n.headers),e(null,r,n.headers)},r=n=>{if(t)return;t=!0;const r=n.error||n.err||n;p("error: ",r),p("headers: ",n.headers),e(r,null,n.headers)};o.addEventListener("load",n),o.addEventListener("abort",r),o.addEventListener("error",r)}return"function"==typeof n.onStreamRecord&&delete n.onStreamRecord,g?C(n):(p("buffering API request since proxying <iframe> is not yet loaded"),y.push(n)),o},_=(t,e)=>"function"==typeof e?b(t,e):new Promise(((e,n)=>{b(t,((t,r)=>{t?n(t):e(r)}))}));function C(t){p("sending API request to proxy <iframe> %o",t),t.formData&&function(t){if(!window.chrome||!d)return;for(let e=0;e<t.length;e++){const n=E(t[e][1]);n&&(t[e][1]=new window.File([n],n.name,{type:n.type}))}}(t.formData),m.contentWindow.postMessage(h?JSON.stringify(t):t,l)}function S(t){return t&&"[object File]"===Object.prototype.toString.call(t)}function E(t){return S(t)?t:"object"==typeof t&&S(t.fileContents)?t.fileContents:null}function P(){p("install()"),m&&(p("uninstall()"),window.removeEventListener("message",A),document.body.removeChild(m),g=!1,m=null),y=[],window.addEventListener("message",A),m=document.createElement("iframe"),m.src=l+"/wp-admin/rest-proxy/?v=2.0#"+f,m.style.display="none",document.body.appendChild(m)}function A(t){if(p("onmessage"),t.origin!==l)return void p("ignoring message... %o !== %o",t.origin,l);if(t.source!==m.contentWindow)return void p("ignoring message... iframe elements do not match");let{data:e}=t;if(!e)return p("no `data`, bailing");if("ready"===e)return void function(){if(p('proxy <iframe> "load" event'),g=!0,y){for(let t=0;t<y.length;t++)C(y[t]);y=null}}();if(h&&"string"==typeof e&&(e=JSON.parse(e)),e.upload||e.download)return function(t){p('got "progress" event: %o',t);const e=w[t.callbackId];if(e){const n=new(s())("progress",t);(t.upload?e.upload:e).dispatchEvent(n)}}(e);if(!e.length)return p("`e.data` doesn't appear to be an Array, bailing...");const n=e[e.length-1];if(!(n in w))return p("bailing, no matching request with callback: %o",n);const r=w[n],{params:o}=r,i=e[0];let c=e[1];const a=e[2];if(207===c||delete w[n],o.metaAPI?c="metaAPIupdated"===i?200:500:p("got %o status code for URL: %o",c,o.path),"object"==typeof a&&(a.status=c,f=a["Content-Type"],/^application[/]x-ndjson($|;)/.test(f))){j(r,new Error("stream mode processing is not yet implemented for wpcom-proxy-request"),a)}else{var f;if(c&&2===Math.floor(c/100))!function(t,e,n){const r=new(s())("load");r.data=r.body=r.response=e,r.headers=n,t.dispatchEvent(r)}(r,i,a);else{j(r,u()(o,c,i),a)}}}function j(t,e,n){const r=new(s())("error");r.error=r.err=e,r.headers=n,t.dispatchEvent(r)}e.ZP=_},1202:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var r=n(8049),o=n.n(r),i=n(9728),s=n(7114),c=n(35),a=n(2836),u=n(6870),p=n(2579),l=n(4308),f=n(3818),h=n(781),d=n(3918);const y=o()("wpcom");function m(t,e){if(!(this instanceof m))return new m(t,e);"function"==typeof t&&(e=t,t=null),t&&(y("Token defined: %s…",t.substring(0,6)),this.token=t);this.request=e||((t,e)=>{y("No request handler. Failing."),e(new Error("No request handler provided"))}),this.req=new h.Z(this),this.pinghub=new f.Z(this),this.apiVersion="1.1"}m.prototype.me=function(){return new a.Z(this)},m.prototype.domains=function(){return new c.Z(this)},m.prototype.domain=function(t){return new s.Z(t,this)},m.prototype.site=function(t){return new p.Z(t,this)},m.prototype.users=function(){return new l.Z(this)},m.prototype.plans=function(){return new u.Z(this)},m.prototype.batch=function(){return new i.Z(this)},m.prototype.freshlyPressed=function(t,e){return this.req.get("/freshly-pressed",t,e)},m.prototype.sendRequest=function(t,e,n,r){const o="WARN! Don use `sendRequest() anymore. Use `this.req` method.";return console&&console.warn?console.warn(o):console.log(o),d.Z.call(this,t,e,n,r)},m.Batch=i.Z,m.Domain=s.Z,m.Domains=c.Z,m.Me=a.Z,m.Pinghub=f.Z,m.Plans=u.Z,m.Request=h.Z,m.Site=p.Z,m.Users=l.Z,Promise.prototype.timeout||(Promise.prototype.timeout=function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e4;const n=new Promise(((n,r)=>{t=setTimeout((()=>{r(new Error("Action timed out while waiting for response."))}),e)})),r=()=>(clearTimeout(t),this);return Promise.race([this.then(r).catch(r),n])})},9728:function(t,e){"use strict";class n{constructor(t){if(!(this instanceof n))return new n(t);this.wpcom=t,this.urls=[]}add(t){return this.urls.push(t),this}run(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return"function"==typeof t&&(e=t,t={}),t.urls=this.urls,this.wpcom.req.get("/batch",t,e)}}e.Z=n},6398:function(t,e){"use strict";class n{constructor(t,e){if(!(this instanceof n))return new n(t,e);this._domain=t,this._subpath="/domains/"+this._domain+"/dns",this.wpcom=e}add(t,e,n){return"function"==typeof e&&(n=e,e={}),this.wpcom.req.post(this._subpath+"/add",e,t,n)}delete(t,e,n){return this.wpcom.req.post(this._subpath+"/delete",e,t,n)}setDefaultARecords(t,e){return this.wpcom.req.post(this._subpath+"/set-default-a-records",t,null,e)}}e.Z=n},4449:function(t,e){"use strict";class n{constructor(t,e,r){if(!(this instanceof n))return new n(t,e,r);t&&(this._email=t),this._domain=e,this._subpath="/domains/"+this._domain+"/email/",this.wpcom=r}forward(t,e,n){const r={destination:t};return this.wpcom.req.post(this._subpath+this._email,e,r,n)}add(t,e,n,r){"function"==typeof n&&(r=n,n={});const o={mailbox:t,destination:e};return this.wpcom.req.post(this._subpath+"new",n,o,r)}delete(t,e,n){return this.wpcom.req.del(this._subpath+t+"/delete",e,n)}}e.Z=n},7114:function(t,e,n){"use strict";var r=n(6666),o=n(6398),i=n(4449);const s="/domains/";class c{constructor(t,e){if((0,r.Z)(this,"checkAuthCode",(function(t,e){return this.wpcom.req.get(`${s+encodeURIComponent(this._id)}/inbound-transfer-check-auth-code`,{auth_code:t},e)})),!(this instanceof c))return new c(t,e);this._id=t,this.wpcom=e}status(t,e){return this.wpcom.req.get(s+this._id+"/status",t,e)}isAvailable(t,e){return this.wpcom.req.get(s+this._id+"/is-available",t,e)}isMappable(t,e){return this.wpcom.req.get(s+this._id+"/is-mappable",t,e)}canRedirect(t,e,n){const r=s+t+"/"+this._id+"/can-redirect";return this.wpcom.req.get(r,e,n)}emailForwards(t,e){return this.wpcom.req.get(s+this._id+"/email",t,e)}nameserversList(t,e){return this.wpcom.req.get(s+this._id+"/nameservers",t,e)}updateNameservers(t,e,n){const r={nameservers:t};return this.wpcom.req.post(s+this._id+"/nameservers",e,r,n)}dnsList(t,e){return this.wpcom.req.get(s+this._id+"/dns",t,e)}googleAppsList(t,e){return this.wpcom.req.get(s+this._id+"/google-apps",t,e)}resendICANN(t,e){return this.wpcom.req.post(s+this._id+"/resend-icann",t,e)}email(t){return new i.Z(t,this._id,this.wpcom)}dns(){return new o.Z(this._id,this.wpcom)}mappingSetupInfo(t,e,n){return this.wpcom.req.get(s+this._id+"/mapping-setup-info/"+t,e,n)}mappingStatus(t,e){return this.wpcom.req.get(s+this._id+"/mapping-status",t,e)}updateConnectionModeAndGetMappingStatus(t,e,n){const r={mode:t};return this.wpcom.req.post(s+this._id+"/mapping-status",e,r,n)}}e.Z=c},35:function(t,e){"use strict";const n="/domains/";class r{constructor(t){if(!(this instanceof r))return new r(t);this.wpcom=t}suggestions(t,e){return"string"==typeof t&&(t={query:t}),this.wpcom.req.get(n+"suggestions",t,e)}suggestionsExamples(t,e){return this.wpcom.req.get(n+"suggestions/examples",t,e)}supportedCountries(t,e){return this.wpcom.req.get(n+"supported-countries",t,e)}supportedStates(t,e,r){const o=n+"supported-states/"+t;return this.wpcom.req.get(o,e,r)}}e.Z=r},2921:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r="/me/connected-applications/";class o{constructor(t,e){if(!(this instanceof o))return new o(t,e);this._id=t,this.wpcom=e}get(t,e){return this.wpcom.req.get(r+this._id,t,e)}delete(t,e){return this.wpcom.req.del(r+this._id+"/delete",t,e)}}},2836:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(2921),o=n(2769),i=n(2695),s=n(7699),c=n(9814);function a(t){if(!(this instanceof a))return new a(t);this.wpcom=t}a.prototype.get=function(t,e){return this.wpcom.req.get("/me",t,e)},a.prototype.billingHistory=function(t,e){return this.wpcom.req.get("/me/billing-history",t,e)},a.prototype.postsList=function(t,e){return this.wpcom.req.get("/me/posts",t,e)},a.prototype.sites=function(t,e){return this.wpcom.req.get("/me/sites",t,e)},a.prototype.likes=function(t,e){return this.wpcom.req.get("/me/likes",t,e)},a.prototype.connectedApps=function(t,e){return this.wpcom.req.get("/me/connected-applications",t,e)},a.prototype.keyringConnections=function(t,e){return this.wpcom.req.get("/me/connections",t,e)},a.prototype.publicizeConnections=function(t,e){return this.wpcom.req.get("/me/publicize-connections",t,e)},a.prototype.settings=function(){return new s.Z(this.wpcom)},a.prototype.connectedApp=function(t){return new r.Z(t,this.wpcom)},a.prototype.publicizeConnection=function(t){return new i.Z(t,this.wpcom)},a.prototype.twoStep=function(){return new c.Z(this.wpcom)},a.prototype.keyringConnection=function(t){return new o.Z(t,this.wpcom)}},2769:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r="/me/connections/";class o{constructor(t,e){if(!(this instanceof o))return new o(t,e);this._id=t,this.wpcom=e}get(t,e){return this.wpcom.req.get({path:r+this._id,apiNamespace:"wpcom/v2"},t,e)}delete(t,e){return this.wpcom.req.get({path:r+this._id,apiNamespace:"wpcom/v2",method:"DELETE"},t,e)}}},2695:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r="/me/publicize-connections/";class o{constructor(t,e){if(!(this instanceof o))return new o(t,e);this._id=t,this.wpcom=e}get(t,e){return this.wpcom.req.get(r+this._id,t,e)}add(t,e,n){return this.wpcom.req.post(r+"new",t,e,n)}update(t,e,n){return this.wpcom.req.put(r+this._id,t,e,n)}delete(t,e){return this.wpcom.req.del(r+this._id+"/delete",t,e)}}},7699:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(142),o=n(9283);function i(t){if(!(this instanceof i))return new i(t);this.wpcom=t}i.prototype.get=function(t,e){return this.wpcom.req.get("/me/settings",t,e)},i.prototype.update=function(t,e,n){return this.wpcom.req.put("/me/settings/",t,e,n)},i.prototype.profileLinks=function(){return new o.Z(this.wpcom)},i.prototype.password=function(){return new r.Z(this.wpcom)}},142:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});class r{constructor(t){if(!(this instanceof r))return new r(t);this.wpcom=t}validate(t,e,n){return this.wpcom.req.post("/me/settings/password/validate",e,{password:t},n)}}},9283:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r="/me/settings/profile-links";function o(t){if(!(this instanceof o))return new o(t);this.wpcom=t}o.prototype.get=function(t,e){return this.wpcom.req.get(r,t,e)},o.prototype.mine=o.prototype.get,o.prototype.add=function(t,e,n){"function"==typeof e&&(n=e,e={}),t instanceof Array||(t=[t]),e.apiVersion="1.2";return this.wpcom.req.post("/me/settings/profile-links/new",e,{links:t},n)},o.prototype.del=function(t,e,n){const o=r+"/"+t+"/delete";return this.wpcom.req.del(o,e,n)},o.prototype.delete=o.prototype.del},9814:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(4086);class o{constructor(t){if(!(this instanceof o))return new o(t);this.wpcom=t}get(t,e){return this.wpcom.req.get("/me/two-step/",t,e)}sms(){return new r.Z(this.wpcom)}}},4086:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});class r{constructor(t){if(!(this instanceof r))return new r(t);this.wpcom=t}send(t,e){return this.wpcom.req.post("/me/two-step/sms/new",t,e)}}},6870:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r="/plans";class o{constructor(t){if(!(this instanceof o))return new o(t);this.wpcom=t}list(t,e){return this.wpcom.req.get(r,t,e)}features(t,e){return this.wpcom.req.get("/plans/features",t,e)}}},209:function(t,e){"use strict";e.Z=[{name:"categoriesList",subpath:"categories"},{name:"commentsList",subpath:"comments"},{name:"domainsList",subpath:"domains"},{name:"embedsList",subpath:"embeds"},{name:"followsList",subpath:"follows"},{name:"mediaList",subpath:"media"},{name:"pageTemplates",subpath:"page-templates"},{name:"pluginsList",subpath:"plugins"},{name:"postsList",subpath:"posts"},{name:"postTypesList",subpath:"post-types"},{name:"shortcodesList",subpath:"shortcodes"},{name:"stats",subpath:"stats"},{name:"statsClicks",subpath:"stats/clicks"},{name:"statsCommentFollowers",subpath:"stats/comment-followers"},{name:"statsComments",subpath:"stats/comments"},{name:"statsCountryViews",subpath:"stats/country-views"},{name:"statsFollowers",subpath:"stats/followers"},{name:"statsInsights",subpath:"stats/insights"},{name:"statsPublicize",subpath:"stats/publicize"},{name:"statsReferrers",subpath:"stats/referrers"},{name:"statsSearchTerms",subpath:"stats/search-terms"},{name:"statsStreak",subpath:"stats/streak"},{name:"statsSummary",subpath:"stats/summary"},{name:"statsTags",subpath:"stats/tags"},{name:"statsTopAuthors",subpath:"stats/top-authors"},{name:"statsTopPosts",subpath:"stats/top-posts"},{name:"statsVideoPlays",subpath:"stats/video-plays"},{name:"statsVisits",subpath:"stats/visits"},{name:"tagsList",subpath:"tags"},{name:"usersList",subpath:"users"},{name:"wpcomPluginsList",subpath:"wpcom-plugins"}]},8729:function(t,e){"use strict";e.Z=[{name:"likesList",subpath:"likes"},{name:"subscribersList",subpath:"subscribers"}]},3388:function(t,e,n){"use strict";function r(t,e,n){if(!e)throw new Error("`site id` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._sid=e,this._slug=t}n.d(e,{Z:function(){return r}}),r.prototype.slug=function(t){this._slug=t},r.prototype.get=function(t,e){const n="/sites/"+this._sid+"/categories/slug:"+this._slug;return this.wpcom.req.get(n,t,e)},r.prototype.add=function(t,e,n){const r="/sites/"+this._sid+"/categories/new";return this.wpcom.req.post(r,t,e,n)},r.prototype.update=function(t,e,n){const r="/sites/"+this._sid+"/categories/slug:"+this._slug;return this.wpcom.req.put(r,t,e,n)},r.prototype.delete=r.prototype.del=function(t,e){const n="/sites/"+this._sid+"/categories/slug:"+this._slug+"/delete";return this.wpcom.req.del(n,t,e)}},1832:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(7369);function o(t,e,n,r){if(!n)throw new Error("`site id` is not correctly defined");if(!(this instanceof o))return new o(t,e,n,r);this.wpcom=r,this._cid=t,this._pid=e,this._sid=n}o.prototype.get=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid;return this.wpcom.req.get(n,t,e)},o.prototype.replies=function(t,e){const n="/sites/"+this._sid+"/posts/"+this._pid+"/replies/";return this.wpcom.req.get(n,t,e)},o.prototype.add=function(t,e,n){void 0===n&&(void 0===e?(e=t,t={}):"function"==typeof e&&(n=e,e=t,t={})),e="string"==typeof e?{content:e}:e;const r="/sites/"+this._sid+"/posts/"+this._pid+"/replies/new";return this.wpcom.req.post(r,t,e,n)},o.prototype.update=function(t,e,n){"function"==typeof e&&(n=e,e=t,t={}),e="string"==typeof e?{content:e}:e;const r="/sites/"+this._sid+"/comments/"+this._cid;return this.wpcom.req.put(r,t,e,n)},o.prototype.reply=function(t,e,n){"function"==typeof e&&(n=e,e=t,t={}),e="string"==typeof e?{content:e}:e;const r="/sites/"+this._sid+"/comments/"+this._cid+"/replies/new";return this.wpcom.req.post(r,t,e,n)},o.prototype.del=o.prototype.delete=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid+"/delete";return this.wpcom.req.del(n,t,e)},o.prototype.like=function(){return(0,r.Z)(this._cid,this._sid,this.wpcom)},o.prototype.likesList=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid+"/likes";return this.wpcom.req.get(n,t,e)}},7369:function(t,e,n){"use strict";function r(t,e,n){if(!e)throw new Error("`site id` is not correctly defined");if(!t)throw new Error("`comment id` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._cid=t,this._sid=e}n.d(e,{Z:function(){return r}}),r.prototype.mine=r.prototype.state=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid+"/likes/mine";return this.wpcom.req.get(n,t,e)},r.prototype.add=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid+"/likes/new";return this.wpcom.req.post(n,t,e)},r.prototype.del=r.prototype.delete=function(t,e){const n="/sites/"+this._sid+"/comments/"+this._cid+"/likes/mine/delete";return this.wpcom.req.del(n,t,e)}},2096:function(t,e){"use strict";class n{constructor(t,e){if(!t)throw new Error("`site id` is not correctly defined");if(!(this instanceof n))return new n(t,e);this.wpcom=e,this._sid=t,this.path=`/sites/${this._sid}/vouchers`}list(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return t.apiNamespace="wpcom/v2",this.wpcom.req.get(this.path,t,e)}get(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e.apiNamespace="wpcom/v2",this.wpcom.req.get(`${this.path}/${t}`,e,n)}assign(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e.apiNamespace="wpcom/v2",this.wpcom.req.post(`${this.path}/${t}/assign`,e,{},n)}}e.Z=n},7569:function(t,e){"use strict";class n{constructor(t,e){if(!(this instanceof n))return new n(t,e);this._sid=t,this.path=`/sites/${this._sid}/domains`,this.wpcom=e}getPrimary(t,e){return this.wpcom.req.get(`${this.path}/primary`,t,e)}setPrimary(t,e){return this.wpcom.req.put(`${this.path}/primary`,{},{domain:t},e)}getRedirect(t,e){return this.wpcom.req.get(`${this.path}/redirect`,t,e)}setRedirect(t,e){return"string"==typeof t&&(t={location:t}),this.wpcom.req.put(`${this.path}/redirect`,{},t,e)}}e.Z=n},8447:function(t,e,n){"use strict";function r(t,e){if(!t)throw new Error("`site id` is not correctly defined");if(!(this instanceof r))return new r(t,e);this.wpcom=e,this._sid=t}n.d(e,{Z:function(){return r}}),r.prototype.mine=r.prototype.state=function(t,e){const n="/sites/"+this._sid+"/follows/mine";return this.wpcom.req.get(n,t,e)},r.prototype.follow=r.prototype.add=function(t,e){const n="/sites/"+this._sid+"/follows/new";return this.wpcom.req.put(n,t,null,e)},r.prototype.unfollow=r.prototype.del=function(t,e){const n="/sites/"+this._sid+"/follows/mine/delete";return this.wpcom.req.del(n,t,null,e)}},2579:function(t,e,n){"use strict";var r=n(8049),o=n.n(r),i=n(209),s=n(3388),c=n(1832),a=n(2096),u=n(7569),p=n(8447),l=n(8837),f=n(361),h=n(3164),d=n(7187),y=n(150),m=n(5489),g=n(1986),w=n(1753),v=n(4866),b=n(9426);const _=o()("wpcom:site");class C{constructor(t,e){if(!(this instanceof C))return new C(t,e);this.wpcom=e,_("set %o site id",t),this._id=encodeURIComponent(t),this.path=`/sites/${this._id}`}get(t,e){return this.wpcom.req.get(this.path,t,e)}post(t){return new h.Z(t,this._id,this.wpcom)}addPost(t,e){return new h.Z(null,this._id,this.wpcom).add(t,e)}deletePost(t,e){return new h.Z(t,this._id,this.wpcom).delete(e)}media(t){return new l.Z(t,this._id,this.wpcom)}addMediaFiles(t,e,n){return new l.Z(null,this._id,this.wpcom).addFiles(t,e,n)}addMediaUrls(t,e,n){return new l.Z(null,this._id,this.wpcom).addUrls(t,e,n)}deleteMedia(t,e){return new l.Z(t,this._id,this.wpcom).del(e)}comment(t){return new c.Z(t,null,this._id,this.wpcom)}follow(){return new p.Z(this._id,this.wpcom)}plugin(t){return new f.Z(t,this._id,this.wpcom)}wpcomPlugin(t){return new v.Z(t,this._id,this.wpcom)}category(t){return new s.Z(t,this._id,this.wpcom)}tag(t){return new m.Z(t,this._id,this.wpcom)}taxonomy(t){return new g.Z(t,this._id,this.wpcom)}creditVouchers(){return new a.Z(this._id,this.wpcom)}postType(t){return new d.Z(t,this._id,this.wpcom)}settings(){return new y.Z(this._id,this.wpcom)}domain(){return new u.Z(this._id,this.wpcom)}postCounts(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"post",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return"function"==typeof e&&(n=e,e={}),this.wpcom.req.get(`${this.path}/post-counts/${t}`,e,n)}renderShortcode(t,e,n){if("string"!=typeof t)throw new TypeError("expected a url String");return"function"==typeof e&&(n=e,e={}),(e=e||{}).shortcode=t,this.wpcom.req.get(`${this.path}/shortcodes/render`,e,n)}renderEmbed(t,e,n){if("string"!=typeof t)throw new TypeError("expected an embed String");return"function"==typeof e&&(n=e,e={}),(e=e||{}).embed_url=t,this.wpcom.req.get(`${this.path}/embeds/render`,e,n)}statsReferrersSpamNew(t,e){const n=`${this.path}/stats/referrers/spam/new`;return this.wpcom.req.post(n,{domain:t},null,e)}statsReferrersSpamDelete(t,e){const n=`${this.path}/stats/referrers/spam/delete`;return this.wpcom.req.post(n,{domain:t},null,e)}statsVideo(t,e,n){const r=`${this.path}/stats/video/${t}`;return"function"==typeof e&&(n=e,e={}),this.wpcom.req.get(r,e,n)}statsPostViews(t,e,n){const r=`${this.path}/stats/post/${t}`;return"function"==typeof e&&(n=e,e={}),this.wpcom.req.get(r,e,n)}wordAds(){return new w.Z(this._id,this.wpcom)}}(0,b.Z)(C,i.Z,((t,e)=>`/sites/${e._id}/${t.subpath}`)),e.Z=C},8837:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(8049),o=n.n(r),i=n(6426);const s=o()("wpcom:media");function c(t){const e=[];let n,r,o,c;for(t=Array.isArray(t)?t:[t],n=0;n<t.length;n++){r=t[n],"string"==typeof r&&(r=(0,i.U)(r));const a=!!r._readableState,u="undefined"!=typeof File&&r instanceof File;if(s("isStream: %s",a),s("isFile: %s",u),!u&&!a){for(o in r)s("add %o => %o",o,r[o]),"file"!==o&&(c="attrs["+n+"]["+o+"]",e.push([c,r[o]]));r=r.file,"string"==typeof r&&(r=(0,i.U)(r))}e.push(["media[]",r])}return e}function a(t,e,n){if(!(this instanceof a))return new a(t,e,n);this.wpcom=n,this._sid=e,this._id=t,this._id||s("WARN: media `id` is not defined")}a.prototype.get=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;t.apiVersion=t.apiVersion||"1.2";const n="/sites/"+this._sid+"/media/"+this._id;return this.wpcom.req.get(n,t,e)},a.prototype.update=function(t,e,n){const r={path:"/sites/"+this._sid+"/media/"+this._id};return this.wpcom.req.put(r,t,e,n)},a.prototype.edit=function(t,e,n){"function"!=typeof e&&e||(n=e,e=t,t={});const r={path:"/sites/"+this._sid+"/media/"+this._id+"/edit"};if(e&&e.media){r.formData=[["media",e.media]],delete e.media;for(const t in e)r.formData.push([`attrs[${t}]`,e[t]]);e=null}return this.wpcom.req.put(r,t,e,n)},a.prototype.addFiles=function(t,e,n){void 0===n&&(void 0===e?(e=t,t={}):"function"==typeof e&&(n=e,e=t,t={}));const r={path:"/sites/"+this._sid+"/media/new",formData:c(e)};return this.wpcom.req.post(r,t,null,n)},a.prototype.addUrls=function(t,e,n){void 0===n&&(void 0===e?(e=t,t={}):"function"==typeof e&&(n=e,e=t,t={}));const r="/sites/"+this._sid+"/media/new",o={media_urls:[]};let i,s,c,a;for(e=Array.isArray(e)?e:[e],i=0;i<e.length;i++){if(s=e[i],"string"==typeof s)c=s;else{for(a in o.attrs||(o.attrs=[]),o.attrs[i]={},s)"url"!==a&&(o.attrs[i][a]=s[a]);c=s.url}o.media_urls.push(c)}return this.wpcom.req.post(r,t,o,n)},a.prototype.delete=a.prototype.del=function(t,e){const n="/sites/"+this._sid+"/media/"+this._id+"/delete";return this.wpcom.req.del(n,t,e)}},361:function(t,e){"use strict";class n{constructor(t,e,r){if(!(this instanceof n))return new n(t,e,r);if(!t)throw new Error("`slug` is not correctly defined");this._slug=encodeURIComponent(t),this._sid=e,this.wpcom=r;const o=`/sites/${this._sid}/plugins`;this.pluginPath=`${o}/${this._slug}`}get(t,e){return this.wpcom.req.get(this.pluginPath,t,e)}update(t,e,n){return this.wpcom.req.put(this.pluginPath,t,e,n)}updateVersion(t,e){return this.wpcom.req.put(`${this.pluginPath}/update`,t,e)}install(t,e){return this.wpcom.req.put(`${this.pluginPath}/install`,t,e)}delete(t,e){return this.wpcom.req.put(`${this.pluginPath}/delete`,t,e)}activate(t,e){return this.update(t,{active:!0},e)}deactivate(t,e){return this.update(t,{active:!1},e)}enableAutoupdate(t,e){return this.update(t,{autoupdate:!0},e)}disableAutoupdate(t,e){return this.update(t,{autoupdate:!1},e)}}e.Z=n},7187:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});class r{constructor(t,e,n){if(!e)throw new TypeError("`siteId` is not correctly defined");if(!t)throw new TypeError("`postType` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._siteId=encodeURIComponent(e),this._postType=encodeURIComponent(t),this._rootPath=`/sites/${this._siteId}/post-types/${this._postType}`}taxonomiesList(t,e){const n=`${this._rootPath}/taxonomies`;return this.wpcom.req.get(n,t,e)}}},3164:function(t,e,n){"use strict";var r=n(8049),o=n.n(r),i=n(8729),s=n(1832),c=n(9932),a=n(3185),u=n(2250),p=n(9426);const l=o()("wpcom:post");class f{constructor(t,e,n){if(!(this instanceof f))return new f(t,e,n);this.wpcom=n,this._sid=e,this.path=`/sites/${this._sid}/posts`,"object"!=typeof(t=t||{})?this._id=t:(this._id=t.id,this._slug=t.slug)}id(t){this._id=t}slug(t){this._slug=t}getPostPath(){return`${this.path}/${this._id}`}get(t,e){return!this._id&&this._slug?this.getBySlug(t,e):this.wpcom.req.get(this.getPostPath(),t,e)}getBySlug(t,e){return this.wpcom.req.get(`${this.path}/slug:${this._slug}`,t,e)}add(t,e,n){return void 0===n&&(void 0===e?(e=t,t={}):"function"==typeof e&&(n=e,e=t,t={})),this.wpcom.req.post(`${this.path}/new`,t,e).then((t=>{if(this._id=t.ID,l("Set post _id: %s",this._id),this._slug=t.slug,l("Set post _slug: %s",this._slug),"function"!=typeof n)return Promise.resolve(t);n(null,t)})).catch((t=>{if("function"!=typeof n)return Promise.reject(t);n(t)}))}update(t,e,n){return this.wpcom.req.put(this.getPostPath(),t,e,n)}delete(t,e){const n=`${this.getPostPath()}/delete`;return this.wpcom.req.del(n,t,e)}del(t,e){return this.delete(t,e)}restore(t,e){return this.wpcom.req.put(`${this.getPostPath()}/restore`,t,null,e)}related(t,e){return this.wpcom.req.put(`${this.getPostPath()}/related`,t,null,e)}comment(t){return new s.Z(t,this._id,this._sid,this.wpcom)}comments(t,e){return new s.Z(null,this._id,this._sid,this.wpcom).replies(t,e)}like(){return new c.Z(this._id,this._sid,this.wpcom)}reblog(){return new a.Z(this._id,this._sid,this.wpcom)}subscriber(){return new u.Z(this._id,this._sid,this.wpcom)}}(0,p.Z)(f,i.Z,((t,e)=>`/sites/${e._sid}/posts/${e._id}/${t.subpath}`)),e.Z=f},9932:function(t,e,n){"use strict";function r(t,e,n){if(!e)throw new Error("`site id` is not correctly defined");if(!t)throw new Error("`post id` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._pid=t,this._sid=e}n.d(e,{Z:function(){return r}}),r.prototype.mine=r.prototype.state=function(t,e){const n="/sites/"+this._sid+"/posts/"+this._pid+"/likes/mine";return this.wpcom.req.get(n,t,e)},r.prototype.add=function(t,e){const n="/sites/"+this._sid+"/posts/"+this._pid+"/likes/new";return this.wpcom.req.put(n,t,null,e)},r.prototype.del=r.prototype.delete=function(t,e){const n="/sites/"+this._sid+"/posts/"+this._pid+"/likes/mine/delete";return this.wpcom.req.del(n,t,e)}},3185:function(t,e,n){"use strict";function r(t,e,n){if(!e)throw new Error("`site id` is not correctly defined");if(!t)throw new Error("`post id` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._pid=t,this._sid=e}n.d(e,{Z:function(){return r}}),r.prototype.mine=r.prototype.state=function(t,e){const n="/sites/"+this._sid+"/posts/"+this._pid+"/reblogs/mine";return this.wpcom.req.get(n,t,e)},r.prototype.add=function(t,e,n){if("function"==typeof e&&(n=e,e=t,t={}),e&&!e.destination_site_id)return n(new Error("destination_site_id is not defined"));const r="/sites/"+this._sid+"/posts/"+this._pid+"/reblogs/new";return this.wpcom.req.put(r,t,e,n)},r.prototype.to=function(t,e,n){return void 0===n&&(void 0===e?e=null:"function"==typeof e&&(n=e,e=null)),this.add({note:e,destination_site_id:t},n)}},2250:function(t,e){"use strict";class n{constructor(t,e,r){if(!e)throw new Error("`side id` is not correctly defined");if(!t)throw new Error("`post id` is not correctly defined");if(!(this instanceof n))return new n(t,e,r);this.wpcom=r,this._id=t,this._sid=e,this.path=`/sites/${this._sid}/posts/${this._id}/subscribers`}mine(t,e){return this.wpcom.req.get(`${this.path}/mine`,t,e)}add(t,e){return this.wpcom.req.put(`${this.path}/new`,t,null,e)}del(t,e){return this.wpcom.req.del(`${this.path}/mine/delete`,t,e)}}n.prototype.state=n.prototype.mine,n.prototype.delete=n.prototype.del,e.Z=n},150:function(t,e){"use strict";class n{constructor(t,e){if(!t)throw new Error("`site id` is not correctly defined");if(!(this instanceof n))return new n(t,e);this.wpcom=e,this._sid=t,this.path=`/sites/${this._sid}/settings`}get(t,e){return this.wpcom.req.get(this.path,t,e)}getOption(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const n={fields:"settings"};return new Promise(((r,o)=>{this.wpcom.req.get(this.path,n,((n,i)=>{if(n)return e(n),o(n);if(!i)return e(),r();const s=i.settings;return s&&void 0!==s[t]?(e(null,s[t]),r(s[t])):(e(null,i),r(i))}))}))}update(t,e,n){return this.wpcom.req.put(this.path,t,e,n)}setOption(t,e,n){return this.wpcom.req.put(this.path,{},{[t]:e},n)}}e.Z=n},5489:function(t,e,n){"use strict";function r(t,e,n){if(!e)throw new Error("`site id` is not correctly defined");if(!(this instanceof r))return new r(t,e,n);this.wpcom=n,this._sid=e,this._slug=t}n.d(e,{Z:function(){return r}}),r.prototype.slug=function(t){this._slug=t},r.prototype.get=function(t,e){const n="/sites/"+this._sid+"/tags/slug:"+this._slug;return this.wpcom.req.get(n,t,e)},r.prototype.add=function(t,e,n){const r="/sites/"+this._sid+"/tags/new";return this.wpcom.req.post(r,t,e,n)},r.prototype.update=function(t,e,n){const r="/sites/"+this._sid+"/tags/slug:"+this._slug;return this.wpcom.req.put(r,t,e,n)},r.prototype.delete=r.prototype.del=function(t,e){const n="/sites/"+this._sid+"/tags/slug:"+this._slug+"/delete";return this.wpcom.req.del(n,t,e)}},1986:function(t,e,n){"use strict";var r=n(4046);class o{constructor(t,e,n){if(!e)throw new TypeError("`siteId` is not correctly defined");if(!t)throw new TypeError("`taxonomy` is not correctly defined");if(!(this instanceof o))return new o(t,e,n);this.wpcom=n,this._siteId=encodeURIComponent(e),this._taxonomy=encodeURIComponent(t),this._rootPath=`/sites/${this._siteId}/taxonomies/${this._taxonomy}`}termsList(t,e){const n=`${this._rootPath}/terms`;return this.wpcom.req.get(n,t,e)}term(t){return new r.Z(t,this._taxonomy,this._siteId,this.wpcom)}}e.Z=o},4046:function(t,e){"use strict";class n{constructor(t,e,r,o){if(!r)throw new TypeError("`siteId` is not correctly defined");if(!e)throw new TypeError("`taxonomy` is not correctly defined");if(!(this instanceof n))return new n(t,e,r,o);this.wpcom=o,this._siteId=encodeURIComponent(r),this._taxonomy=encodeURIComponent(e),this._term=encodeURIComponent(t),this._taxonomyPath=`/sites/${this._siteId}/taxonomies/${this._taxonomy}/terms`}get(t,e){if(!this._term)throw new Error("`term` is not correctly defined");"function"==typeof t&&(e=t,t={});const n=`${this._taxonomyPath}/slug:${this._term}`;return this.wpcom.req.get(n,t,e)}add(t,e){if(!t||!t.name)throw new Error("`params.name` is not correctly defined");const n=`${this._taxonomyPath}/new`;return this.wpcom.req.post(n,t,e)}delete(t){if(!this._term)throw new Error("`term` is not correctly defined");const e=`${this._taxonomyPath}/slug:${this._term}/delete`;return this.wpcom.req.del(e,t)}update(t,e){if(!this._term)throw new Error("`term` is not correctly defined");const n=`${this._taxonomyPath}/slug:${this._term}`;return this.wpcom.req.put(n,t,e)}}e.Z=n},3243:function(t,e,n){"use strict";function r(t,e){if(!(this instanceof r))return new r(t,e);this._sid=t,this.wpcom=e}n.d(e,{Z:function(){return r}}),r.prototype.get=function(t,e){return this.wpcom.req.get("/sites/"+this._sid+"/wordads/earnings",t,e)}},1753:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3243),o=n(4549),i=n(1731);function s(t,e){if(!(this instanceof s))return new s(t,e);this._sid=t,this.wpcom=e}s.prototype.settings=function(){return new o.Z(this._sid,this.wpcom)},s.prototype.earnings=function(){return new r.Z(this._sid,this.wpcom)},s.prototype.tos=function(){return new i.Z(this._sid,this.wpcom)}},4549:function(t,e,n){"use strict";function r(t,e){if(!(this instanceof r))return new r(t,e);this._sid=t,this.wpcom=e}n.d(e,{Z:function(){return r}}),r.prototype.get=function(t,e){return this.wpcom.req.get("/sites/"+this._sid+"/wordads/settings",t,e)},r.prototype.update=function(t,e,n){const r="/sites/"+this._sid+"/wordads/settings";return this.wpcom.req.post(r,t,e,n)}},1731:function(t,e,n){"use strict";function r(t,e){if(!(this instanceof r))return new r(t,e);this._sid=t,this.wpcom=e}n.d(e,{Z:function(){return r}}),r.prototype.get=function(t,e){return this.wpcom.req.get("/sites/"+this._sid+"/wordads/tos",t,e)},r.prototype.update=function(t,e,n){const r="/sites/"+this._sid+"/wordads/tos";return this.wpcom.req.post(r,t,e,n)},r.prototype.sign=function(t,e){const n="/sites/"+this._sid+"/wordads/tos";return this.wpcom.req.post(n,t,{tos:"signed"},e)}},4866:function(t,e){"use strict";class n{constructor(t,e,r){if(!(this instanceof n))return new n(t,e,r);if(!t)throw new Error("`slug` is not correctly defined");this._slug=encodeURIComponent(t),this._sid=e,this.wpcom=r;const o=`/sites/${this._sid}/wpcom-plugins`;this.pluginPath=`${o}/${this._slug}`}update(t,e,n){return this.wpcom.req.put(this.pluginPath,t,e,n)}activate(t,e){return this.update(t,{active:!0},e)}deactivate(t,e){return this.update(t,{active:!1},e)}}e.Z=n},4308:function(t,e,n){"use strict";function r(t){if(!(this instanceof r))return new r(t);this.wpcom=t}n.d(e,{Z:function(){return r}}),r.prototype.suggest=function(t,e){return this.wpcom.req.get("/users/suggest",t,e)}},6426:function(t,e,n){"use strict";function r(){throw new Error("Cannot call fs functions within the browser")}n.d(e,{U:function(){return r}})},3818:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(8049);const o=n.n(r)()("wpcom:pinghub");function i(t){if(!(this instanceof i))return new i(t);this.wpcom=t,this.conns={}}i.prototype.connect=function(t,e){o("connect",t,e);const n=this,r={action:"connect",path:"/pinghub"+t},i=this.conns[t]=this.wpcom.req.get(r,(function(){}));i.onload=function(n){o("onload",t,n),e(null,n)},i.onerror=i.onabort=i.onclose=function(r){o("onerror",t,r),n.remove(t),e(r,null)}},i.prototype.disconnect=function(t){o("disconnect",t);const e={action:"disconnect",path:"/pinghub"+t};this.wpcom.req.get(e,(function(){}))},i.prototype.remove=function(t){o("remove",t),delete this.conns[t]}},781:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(3918);function o(t){this.wpcom=t}o.prototype.get=function(t,e,n){return"function"==typeof e&&(n=e,e={}),r.Z.call(this.wpcom,t,e,null,n)},o.prototype.post=o.prototype.put=function(t,e,n,o){return void 0===o&&(void 0===n?(n=e,e={}):"function"==typeof n&&(o=n,n=e,e={})),(t="string"==typeof t?{path:t}:t).method=t.method||"post",r.Z.call(this.wpcom,t,e,n,o)},o.prototype.del=function(t,e,n){return"function"==typeof e&&(n=e,e={}),this.post(t,e,null,n)}},9426:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(8049);const o=n.n(r)()("wpcom:runtime"),i=(t,e)=>function(n,r){const o=e(t,this);return this.wpcom.req.get(o,n,r)};function s(t,e,n){e.forEach((e=>{o("Adding %o",(e="object"==typeof e?e:{name:e}).name),t.prototype[e.name]=i(e,n)}))}},3918:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(8049),o=n.n(r),i=n(9126),s=n.n(i);const c=o()("wpcom:send-request"),a=o()("wpcom:send-request:res");function u(t,e,n,r){return c("sendRequest(%o )",(t="string"==typeof t?{path:t}:t).path),t.method=(t.method||"get").toUpperCase(),"function"==typeof e&&(r=e,e={}),"function"==typeof n&&(r=n,n=null),(e=e||{}).apiVersion?(t.apiVersion=e.apiVersion,c("apiVersion: %o",t.apiVersion),delete e.apiVersion):t.apiVersion=this.apiVersion,e.apiNamespace&&(t.apiNamespace=e.apiNamespace,c("apiNamespace: %o",t.apiNamespace),delete e.apiNamespace),e.proxyOrigin&&(t.proxyOrigin=e.proxyOrigin,c("proxyOrigin: %o",t.proxyOrigin),delete e.proxyOrigin),e=s().stringify(e,{arrayFormat:"brackets"}),t.query=e,n&&(t.body=n),c("params: %o",t),"function"==typeof r?this.request(t,(function(t,e,n){a(e),r(t,e,n)})):new Promise(((e,n)=>{this.request(t,((t,r)=>{a(r),t?n(t):e(r)}))}))}},8049:function(t,e,n){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(r++,"%c"===t&&(o=r))})),e.splice(o,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(n){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(n){}!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG);return t},e.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+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.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"],e.log=console.debug||console.log||(()=>{}),t.exports=n(2632)(e);const{formatters:r}=t.exports;r.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2632:function(t,e,n){t.exports=function(t){function e(t){let n,o,i,s=null;function c(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];if(!c.enabled)return;const i=c,s=Number(new Date),a=s-(n||s);i.diff=a,i.prev=n,i.curr=s,n=s,r[0]=e.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let u=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((t,n)=>{if("%%"===t)return"%";u++;const o=e.formatters[n];if("function"==typeof o){const e=r[u];t=o.call(i,e),r.splice(u,1),u--}return t})),e.formatArgs.call(i,r);const p=i.log||e.log;p.apply(i,r)}return c.namespace=t,c.useColors=e.useColors(),c.color=e.selectColor(t),c.extend=r,c.destroy=e.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==e.namespaces&&(o=e.namespaces,i=e.enabled(t)),i),set:t=>{s=t}}),"function"==typeof e.init&&e.init(c),c}function r(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function o(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(o),...e.skips.map(o).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(1378),e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((n=>{e[n]=t[n]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}},3830:function(t,e,n){"use strict";var r=n(956);t.exports=function(){var t=r.apply(r,arguments);return t.charAt(0).toUpperCase()+t.slice(1)}},956:function(t){"use strict";t.exports=function(){var t=[].map.call(arguments,(function(t){return t.trim()})).filter((function(t){return t.length})).join("-");return t.length?1!==t.length&&/[_.\- ]+/.test(t)?t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(t,e){return e.toUpperCase()})):t[0]===t[0].toLowerCase()&&t.slice(1)!==t.slice(1).toLowerCase()?t:t.toLowerCase():""}},2686:function(t,e){"use strict";e.Z=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},5302:function(t,e,n){"use strict";var r;n.d(e,{Z:function(){return i}});var o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},708:function(t,e,n){"use strict";for(var r=n(6525),o=[],i=0;i<256;++i)o.push((i+256).toString(16).substr(1));e.Z=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]).toLowerCase();if(!(0,r.Z)(n))throw TypeError("Stringified UUID is invalid");return n}},8767:function(t,e,n){"use strict";var r=n(5302),o=n(708);e.Z=function(t,e,n){var i=(t=t||{}).random||(t.rng||r.Z)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){n=n||0;for(var s=0;s<16;++s)e[n+s]=i[s];return e}return(0,o.Z)(i)}},6525:function(t,e,n){"use strict";var r=n(2686);e.Z=function(t){return"string"==typeof t&&r.Z.test(t)}},2884:function(t,e,n){var r=n(3830),o=n(7260);function i(t,e){if(e)if("number"==typeof e)s(t,e);else{e.status_code&&s(t,e.status_code),e.error&&(t.name=a(e.error)),e.error_description&&(t.message=e.error_description);var n=e.errors;if(n)i(t,n.length?n[0]:n);for(var r in e)t[r]=e[r];t.status&&(e.method||e.path)&&c(t)}}function s(t,e){t.name=a(o[e]),t.status=t.statusCode=e,c(t)}function c(t){var e=t.status,n=t.method,r=t.path,o=e+" status code",i=n||r;i&&(o+=' for "'),n&&(o+=n),i&&(o+=" "),r&&(o+=r),i&&(o+='"'),t.message=o}function a(t){return r(String(t).replace(/error$/i,""),"error")}t.exports=function t(){for(var e=new Error,n=0;n<arguments.length;n++)i(e,arguments[n]);"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(e,t);return e}},7260:function(t){t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},9196:function(t){"use strict";t.exports=window.React},2819:function(t){"use strict";t.exports=window.lodash},5609:function(t){"use strict";t.exports=window.wp.components},4333:function(t){"use strict";t.exports=window.wp.compose},9818:function(t){"use strict";t.exports=window.wp.data},9307:function(t){"use strict";t.exports=window.wp.element},5736:function(t){"use strict";t.exports=window.wp.i18n},8817:function(t){"use strict";t.exports=window.wp.plugins},6656:function(t){"use strict";t.exports=window.wp.reactI18n},3260:function(){},6666:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:function(){return r}})},7896:function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{Z:function(){return r}})}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t}();var r={};!function(){"use strict";n.r(r);n(5840),n(8814)}(),window.EditingToolkit=r}();
wpcom-block-editor-nux/dist/wpcom-block-editor-nux.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '0fb8cc1b5b208f3546ed4a6b896dfd22');
1
+ <?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '3cc2199cf787054391629a869ddf7108');
wpcom-block-editor-nux/dist/wpcom-block-editor-nux.css CHANGED
@@ -1 +1 @@
1
- .wpcom-block-editor-nux-modal .components-modal__header{height:auto;padding:10px;border-bottom:0;position:absolute;left:0;right:0;margin:0;background-color:transparent}.wpcom-block-editor-nux-modal .components-modal__header button{left:unset}.wpcom-block-editor-nux-modal .components-modal__header button svg path{transform:scale(1.4);transform-origin:center}.wpcom-block-editor-nux-modal .components-modal__content{padding:84px 20px 20px;margin-top:0}.wpcom-block-editor-nux-modal .components-modal__content:before{margin:0}@media(min-width:480px){.wpcom-block-editor-nux-modal .components-modal__content{text-align:center}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__image-container{display:flex;justify-content:center}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__title{margin:34px 0 0;font-size:2.25rem;font-weight:500;line-height:1.2}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__title{margin-top:24px}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__description{max-width:352px;margin:16px 0 0;font-size:1rem}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__description{margin:20px auto 0;font-size:1.125rem}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons{display:flex;flex-direction:column;justify-content:center;margin-top:24px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:130px;height:40px;justify-content:center;border-radius:3px;font-size:.875rem}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button+.components-button{margin-top:12px}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons{flex-direction:row;margin-top:28px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button+.components-button{margin-top:0;margin-left:16px}}@media(min-width:600px){.wpcom-block-editor-draft-post-modal .components-modal__content{padding:48px 128px}}.wpcom-block-editor-draft-post-modal .wpcom-block-editor-nux-modal__image-container img{width:209px;height:95px}@media(min-width:600px){.wpcom-block-editor-post-published-modal .components-modal__content{padding:48px 90px}}.wpcom-block-editor-post-published-modal .wpcom-block-editor-nux-modal__image-container img{width:158px;height:85px}.wpcom-block-editor-post-published-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:113px}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}@keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.wpcom-block-editor-nux.components-modal__frame{overflow:visible;height:65vh;top:calc(17.5vh - 35px)}@media(max-width:660px){.wpcom-block-editor-nux.components-modal__frame{width:90vw;min-width:90vw;left:5vw;right:5vw}}@media(min-width:660px){.wpcom-block-editor-nux.components-modal__frame{width:720px;height:350px;top:calc(50% - 35px)}}.wpcom-block-editor-nux .components-modal__header{position:absolute;max-width:90%;left:5%}@media(min-width:660px){.wpcom-block-editor-nux .components-modal__header{display:none}}.wpcom-block-editor-nux .components-guide__container{margin-top:0}.wpcom-block-editor-nux .components-guide__footer{position:absolute;width:100%;height:70px;bottom:-70px;left:0;padding:20px 0;margin:0;display:flex;justify-content:center;background:#fff;border-top:1px solid #dcdcde}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__footer{border-top:none}}.wpcom-block-editor-nux .components-guide__page{position:absolute;width:100%;max-width:90vw;height:100%;justify-content:start}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__page{max-width:100%}}.wpcom-block-editor-nux .components-guide__page-control{position:relative;height:0;top:100%;overflow:visible;margin:0 auto;z-index:2;display:none}.wpcom-block-editor-nux .components-guide__page-control:before{display:inline-block;content:"";height:70px;vertical-align:middle}.wpcom-block-editor-nux .components-guide__page-control li{vertical-align:middle;margin-bottom:0}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__page-control{display:block}}.wpcom-block-editor-nux__page{display:flex;flex-direction:column-reverse;justify-content:flex-end;background:#fff;width:100%;height:90%;max-width:90vw}@media(min-width:660px){.wpcom-block-editor-nux__page{flex-direction:row;justify-content:flex-start;position:absolute;max-width:100%;min-height:350px;bottom:0}}@media(min-width:660px){.wpcom-block-editor-nux__text,.wpcom-block-editor-nux__visual{flex:1 0 50%;min-width:290px}}.wpcom-block-editor-nux__text{padding:0 25px 25px;height:60%}@media(min-width:660px){.wpcom-block-editor-nux__text{height:auto;padding:40px 50px}}.wpcom-block-editor-nux__visual{height:40%;background:#1381d8;text-align:center}@media(min-width:660px){.wpcom-block-editor-nux__visual{height:auto}}.wpcom-block-editor-nux__heading{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;color:#1d2327;font-size:32px;line-height:1.19}@media(min-width:660px){.wpcom-block-editor-nux__heading{font-size:42px}}body.locale-de .wpcom-block-editor-nux__heading{font-size:24px}@media(min-width:660px){body.locale-de .wpcom-block-editor-nux__heading{font-size:28px}}.wpcom-block-editor-nux__description{font-size:15px;line-height:22px;color:#50575e}@media(min-width:660px){.wpcom-block-editor-nux__description{font-size:17px;line-height:26px}}.wpcom-block-editor-nux__image{max-width:100%;height:auto;flex:1;align-self:center;max-height:100%}.wpcom-block-editor-nux__image.align-bottom{align-self:flex-end}@media(min-width:660px){.wpcom-block-editor-nux__image{max-height:none}}.welcome-tour-card__heading{font-size:1.125rem;margin:.5rem 0}.welcome-tour-card__description{font-size:.875rem;line-height:1.5rem;margin:0}.welcome-tour-card__description .components-button{height:auto;line-height:1;text-decoration:underline;padding:0 0 0 4px}.wpcom-editor-welcome-tour__minimized{border-radius:2px;box-shadow:0 2px 6px rgba(60,66,87,.08),0 0 0 1px rgba(60,66,87,.16),0 1px 1px rgba(0,0,0,.08);background-color:#fff;color:#000}.wpcom-editor-welcome-tour__minimized .components-button{height:44px}.wpcom-editor-welcome-tour__minimized .components-button .wpcom-editor-welcome-tour__minimized-tour-index{color:#949494}.wpcom-editor-welcome-tour__minimized .components-button svg{color:#50575e}.wpcom-editor-welcome-tour__minimized .components-button:hover .wpcom-editor-welcome-tour__minimized-tour-index,.wpcom-editor-welcome-tour__minimized .components-button:hover svg{color:inherit}.wpcom-editor-welcome-tour-card-frame{position:relative}.wpcom-editor-welcome-tour-card-frame .components-guide__page-control{bottom:0;left:16px;margin:0;position:absolute}.wpcom-editor-welcome-tour-card-frame .components-guide__page-control li{margin-bottom:0}.wpcom-editor-welcome-tour>.tour-kit__frame{box-shadow:none}.welcome-tour-card{width:400px;max-width:92vw}.welcome-tour-card.welcome-tour-card.is-elevated{box-shadow:none;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 2px 4px 0 rgba(0,0,0,.1)}.welcome-tour-card.components-card{border:none;border-radius:4px;box-shadow:none}.welcome-tour-card .components-card__body{min-height:114px}.welcome-tour-card .components-card__body,.welcome-tour-card .components-card__footer{border-top:none;padding:16px!important}.welcome-tour-card .components-card__footer .welcome-tour__end-text{color:#949494;font-size:.875rem;font-style:italic}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon{background-color:#f6f7f7;border-radius:50%;color:#949494;margin-left:8px}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon path{fill:#949494}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon.active{background-color:#000;opacity:1}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon.active path{fill:#fff}.welcome-tour-card .components-card__media{height:0;padding-top:66%;position:relative;width:100%}.welcome-tour-card .components-card__media img{left:0;position:absolute;top:0;width:100%}.welcome-tour-card .components-guide__page-control{margin:0}.welcome-tour-card .components-guide__page-control .components-button{min-width:auto}.welcome-tour-card .components-guide__page-control .components-button.has-icon{padding:3px}.welcome-tour-card .components-guide__page-control li{margin-bottom:0}.welcome-tour-card__minimize-icon svg{position:relative;left:-2px}.welcome-tour-card__overlay-controls{left:0;padding:12px;position:absolute;right:0;z-index:1}.welcome-tour-card__overlay-controls .components-button{width:32px;min-width:32px;height:32px;background:#32373c;transition:opacity .2s;opacity:.7}.welcome-tour-card__overlay-controls .components-button:active{opacity:.9}@media(hover:hover)and (pointer:fine){.welcome-tour-card__overlay-controls .components-button{opacity:0}.tour-kit__frame:focus-within .welcome-tour-card__overlay-controls .components-button,.tour-kit__frame:hover .welcome-tour-card__overlay-controls .components-button{opacity:.7}.tour-kit__frame:focus-within .welcome-tour-card__overlay-controls .components-button:focus,.tour-kit__frame:focus-within .welcome-tour-card__overlay-controls .components-button:hover,.tour-kit__frame:hover .welcome-tour-card__overlay-controls .components-button:focus,.tour-kit__frame:hover .welcome-tour-card__overlay-controls .components-button:hover{opacity:.9}}.welcome-tour-card__next-btn{margin-left:12px;justify-content:center;min-width:85px}.tour-kit__frame{border-radius:2px;bottom:44px;display:inline;left:16px;position:fixed;z-index:9999;cursor:default;box-shadow:0 0 3px 0 rgba(0,0,0,.25);background:#fff}.tour-kit__overlay{position:fixed;width:100vw;height:100vh;top:0;left:0;background:#000;opacity:0}.tour-kit__overlay.--visible{opacity:.5}.tour-kit__spotlight.--visible{position:fixed;width:50px;height:50px;overflow:hidden;outline:99999px solid rgba(0,0,0,.5);border-radius:2px;z-index:1}.tour-kit__arrow{visibility:hidden}.tour-kit__arrow,.tour-kit__arrow:before{position:absolute;width:12px;height:12px;background:inherit;z-index:-1}.tour-kit__arrow:before{visibility:visible;content:"";transform:rotate(45deg)}.tour-kit__frame[data-popper-placement^=top]>.tour-kit__arrow{bottom:-6px}.tour-kit__frame[data-popper-placement^=top]>.tour-kit__arrow:before{box-shadow:1px 1px 2px -1px rgba(0,0,0,.25)}.tour-kit__frame[data-popper-placement^=bottom]>.tour-kit__arrow{top:-6px}.tour-kit__frame[data-popper-placement^=bottom]>.tour-kit__arrow:before{box-shadow:-1px -1px 2px -1px rgba(0,0,0,.25)}.tour-kit__frame[data-popper-placement^=left]>.tour-kit__arrow{right:-6px}.tour-kit__frame[data-popper-placement^=left]>.tour-kit__arrow:before{box-shadow:-1px 1px 2px -1px rgba(0,0,0,.25)}.tour-kit__frame[data-popper-placement^=right]>.tour-kit__arrow{left:-6px}.tour-kit__frame[data-popper-placement^=right]>.tour-kit__arrow:before{box-shadow:1px -1px 2px -1px rgba(0,0,0,.25)}
1
+ .wpcom-block-editor-nux-modal .components-modal__header{height:auto;padding:10px;border-bottom:0;position:absolute;left:0;right:0;margin:0;background-color:transparent}.wpcom-block-editor-nux-modal .components-modal__header button{left:unset}.wpcom-block-editor-nux-modal .components-modal__header button svg path{transform:scale(1.4);transform-origin:center}.wpcom-block-editor-nux-modal .components-modal__content{padding:84px 20px 20px;margin-top:0}.wpcom-block-editor-nux-modal .components-modal__content:before{margin:0}@media(min-width:480px){.wpcom-block-editor-nux-modal .components-modal__content{text-align:center}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__image-container{display:flex;justify-content:center}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__title{margin:34px 0 0;font-size:2.25rem;font-weight:500;line-height:1.2}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__title{margin-top:24px}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__description{max-width:352px;margin:16px 0 0;font-size:1rem}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__description{margin:20px auto 0;font-size:1.125rem}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons{display:flex;flex-direction:column;justify-content:center;margin-top:24px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:130px;height:40px;justify-content:center;border-radius:3px;font-size:.875rem}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button+.components-button{margin-top:12px}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons{flex-direction:row;margin-top:28px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button+.components-button{margin-top:0;margin-left:16px}}@media(min-width:600px){.wpcom-block-editor-draft-post-modal .components-modal__content{padding:48px 128px}}.wpcom-block-editor-draft-post-modal .wpcom-block-editor-nux-modal__image-container img{width:209px;height:95px}@media(min-width:600px){.wpcom-block-editor-post-published-modal .components-modal__content{padding:48px 90px}}.wpcom-block-editor-post-published-modal .wpcom-block-editor-nux-modal__image-container img{width:158px;height:85px}.wpcom-block-editor-post-published-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:113px}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}@keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.wpcom-block-editor-nux.components-modal__frame{overflow:visible;height:65vh;top:calc(17.5vh - 35px)}@media(max-width:660px){.wpcom-block-editor-nux.components-modal__frame{width:90vw;min-width:90vw;left:5vw;right:5vw}}@media(min-width:660px){.wpcom-block-editor-nux.components-modal__frame{width:720px;height:350px;top:calc(50% - 35px)}}.wpcom-block-editor-nux .components-modal__header{position:absolute;max-width:90%;left:5%}@media(min-width:660px){.wpcom-block-editor-nux .components-modal__header{display:none}}.wpcom-block-editor-nux .components-guide__container{margin-top:0}.wpcom-block-editor-nux .components-guide__footer{position:absolute;width:100%;height:70px;bottom:-70px;left:0;padding:20px 0;margin:0;display:flex;justify-content:center;background:#fff;border-top:1px solid #dcdcde}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__footer{border-top:none}}.wpcom-block-editor-nux .components-guide__page{position:absolute;width:100%;max-width:90vw;height:100%;justify-content:start}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__page{max-width:100%}}.wpcom-block-editor-nux .components-guide__page-control{position:relative;height:0;top:100%;overflow:visible;margin:0 auto;z-index:2;display:none}.wpcom-block-editor-nux .components-guide__page-control:before{display:inline-block;content:"";height:70px;vertical-align:middle}.wpcom-block-editor-nux .components-guide__page-control li{vertical-align:middle;margin-bottom:0}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__page-control{display:block}}.wpcom-block-editor-nux__page{display:flex;flex-direction:column-reverse;justify-content:flex-end;background:#fff;width:100%;height:90%;max-width:90vw}@media(min-width:660px){.wpcom-block-editor-nux__page{flex-direction:row;justify-content:flex-start;position:absolute;max-width:100%;min-height:350px;bottom:0}}@media(min-width:660px){.wpcom-block-editor-nux__text,.wpcom-block-editor-nux__visual{flex:1 0 50%;min-width:290px}}.wpcom-block-editor-nux__text{padding:0 25px 25px;height:60%}@media(min-width:660px){.wpcom-block-editor-nux__text{height:auto;padding:40px 50px}}.wpcom-block-editor-nux__visual{height:40%;background:#1381d8;text-align:center}@media(min-width:660px){.wpcom-block-editor-nux__visual{height:auto}}.wpcom-block-editor-nux__heading{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;color:#1d2327;font-size:32px;line-height:1.19}@media(min-width:660px){.wpcom-block-editor-nux__heading{font-size:42px}}body.locale-de .wpcom-block-editor-nux__heading{font-size:24px}@media(min-width:660px){body.locale-de .wpcom-block-editor-nux__heading{font-size:28px}}.wpcom-block-editor-nux__description{font-size:15px;line-height:22px;color:#50575e}@media(min-width:660px){.wpcom-block-editor-nux__description{font-size:17px;line-height:26px}}.wpcom-block-editor-nux__image{max-width:100%;height:auto;flex:1;align-self:center;max-height:100%}.wpcom-block-editor-nux__image.align-bottom{align-self:flex-end}@media(min-width:660px){.wpcom-block-editor-nux__image{max-height:none}}.welcome-tour-card__heading{font-size:1.125rem;margin:.5rem 0}.welcome-tour-card__description{font-size:.875rem;line-height:1.5rem;margin:0}.welcome-tour-card__description .components-button{height:auto;line-height:1;text-decoration:underline;padding:0 0 0 4px}.wpcom-editor-welcome-tour__minimized{border-radius:2px;box-shadow:0 2px 6px rgba(60,66,87,.08),0 0 0 1px rgba(60,66,87,.16),0 1px 1px rgba(0,0,0,.08);background-color:#fff;color:#000}.wpcom-editor-welcome-tour__minimized .components-button{height:44px}.wpcom-editor-welcome-tour__minimized .components-button .wpcom-editor-welcome-tour__minimized-tour-index{color:#949494}.wpcom-editor-welcome-tour__minimized .components-button svg{color:#50575e}.wpcom-editor-welcome-tour__minimized .components-button:hover .wpcom-editor-welcome-tour__minimized-tour-index,.wpcom-editor-welcome-tour__minimized .components-button:hover svg{color:inherit}.wpcom-editor-welcome-tour-card-frame{position:relative}.wpcom-editor-welcome-tour-card-frame .components-guide__page-control{bottom:0;left:16px;margin:0;position:absolute}.wpcom-editor-welcome-tour-card-frame .components-guide__page-control li{margin-bottom:0}.wpcom-editor-welcome-tour>.tour-kit-frame__container{box-shadow:none}.welcome-tour-card{width:400px;max-width:92vw}.welcome-tour-card.welcome-tour-card.is-elevated{box-shadow:none;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 2px 4px 0 rgba(0,0,0,.1)}.welcome-tour-card.components-card{border:none;border-radius:4px;box-shadow:none}.welcome-tour-card .components-card__body{min-height:114px}.welcome-tour-card .components-card__body,.welcome-tour-card .components-card__footer{border-top:none;padding:16px!important}.welcome-tour-card .components-card__footer .welcome-tour__end-text{color:#949494;font-size:.875rem;font-style:italic}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon{background-color:#f6f7f7;border-radius:50%;color:#949494;margin-left:8px}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon path{fill:#949494}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon.active{background-color:#000;opacity:1}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon.active path{fill:#fff}.welcome-tour-card .components-card__media{height:0;padding-top:66%;position:relative;width:100%}.welcome-tour-card .components-card__media img{left:0;position:absolute;top:0;width:100%}.welcome-tour-card .components-guide__page-control{margin:0}.welcome-tour-card .components-guide__page-control .components-button{min-width:auto}.welcome-tour-card .components-guide__page-control .components-button.has-icon{padding:3px}.welcome-tour-card .components-guide__page-control li{margin-bottom:0}.welcome-tour-card__minimize-icon svg{position:relative;left:-2px}.welcome-tour-card__overlay-controls{left:0;padding:12px;position:absolute;right:0;z-index:1}.welcome-tour-card__overlay-controls .components-button{width:32px;min-width:32px;height:32px;background:#32373c;transition:opacity .2s;opacity:.7}.welcome-tour-card__overlay-controls .components-button:active{opacity:.9}@media(hover:hover)and (pointer:fine){.welcome-tour-card__overlay-controls .components-button{opacity:0}.tour-kit-frame__container:focus-within .welcome-tour-card__overlay-controls .components-button,.tour-kit-frame__container:hover .welcome-tour-card__overlay-controls .components-button{opacity:.7}.tour-kit-frame__container:focus-within .welcome-tour-card__overlay-controls .components-button:focus,.tour-kit-frame__container:focus-within .welcome-tour-card__overlay-controls .components-button:hover,.tour-kit-frame__container:hover .welcome-tour-card__overlay-controls .components-button:focus,.tour-kit-frame__container:hover .welcome-tour-card__overlay-controls .components-button:hover{opacity:.9}}.welcome-tour-card__next-btn{margin-left:12px;justify-content:center;min-width:85px}.tour-kit-frame__container{border-radius:2px;bottom:44px;display:inline;left:16px;position:fixed;z-index:9999;cursor:default;box-shadow:0 0 3px 0 rgba(0,0,0,.25);background:#fff}.tour-kit-overlay{position:fixed;width:100vw;height:100vh;top:0;left:0;background:#000;opacity:0}.tour-kit-overlay.--visible{opacity:.5}.tour-kit-spotlight.--visible{position:fixed;width:50px;height:50px;overflow:hidden;outline:99999px solid rgba(0,0,0,.5);border-radius:2px;z-index:1}.tour-kit-frame__arrow{visibility:hidden}.tour-kit-frame__arrow,.tour-kit-frame__arrow:before{position:absolute;width:12px;height:12px;background:inherit;z-index:-1}.tour-kit-frame__arrow:before{visibility:visible;content:"";transform:rotate(45deg)}.tour-kit-frame__container[data-popper-placement^=top]>.tour-kit-frame__arrow{bottom:-6px}.tour-kit-frame__container[data-popper-placement^=top]>.tour-kit-frame__arrow:before{box-shadow:1px 1px 2px -1px rgba(0,0,0,.25)}.tour-kit-frame__container[data-popper-placement^=bottom]>.tour-kit-frame__arrow{top:-6px}.tour-kit-frame__container[data-popper-placement^=bottom]>.tour-kit-frame__arrow:before{box-shadow:-1px -1px 2px -1px rgba(0,0,0,.25)}.tour-kit-frame__container[data-popper-placement^=left]>.tour-kit-frame__arrow{right:-6px}.tour-kit-frame__container[data-popper-placement^=left]>.tour-kit-frame__arrow:before{box-shadow:-1px 1px 2px -1px rgba(0,0,0,.25)}.tour-kit-frame__container[data-popper-placement^=right]>.tour-kit-frame__arrow{left:-6px}.tour-kit-frame__container[data-popper-placement^=right]>.tour-kit-frame__arrow:before{box-shadow:1px -1px 2px -1px rgba(0,0,0,.25)}
wpcom-block-editor-nux/dist/wpcom-block-editor-nux.js CHANGED
@@ -1,6 +1,6 @@
1
- !function(){var e={7566:function(e,t,n){"use strict";n.d(t,{kZ:function(){return p}});var r=n(2140),o=n(6249),i=n(1119),s=n(7936),u=n(421),c=n(4806),a=n(3352),l=n(8555),d={placement:"bottom",modifiers:[],strategy:"absolute"};function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function p(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,p=void 0===n?[]:n,m=t.defaultOptions,h=void 0===m?d:m;return function(e,t,n){void 0===n&&(n=h);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},d,h),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},g=[],v=!1,w={state:m,setOptions:function(n){var r="function"==typeof n?n(m.options):n;y(),m.options=Object.assign({},h,m.options,r),m.scrollParents={reference:(0,l.kK)(e)?(0,i.Z)(e):e.contextElement?(0,i.Z)(e.contextElement):[],popper:(0,i.Z)(t)};var o=(0,u.Z)((0,a.Z)([].concat(p,m.options.modifiers)));return m.orderedModifiers=o.filter((function(e){return e.enabled})),m.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:m,name:t,instance:w,options:r}),s=function(){};g.push(i||s)}})),w.update()},forceUpdate:function(){if(!v){var e=m.elements,t=e.reference,n=e.popper;if(f(t,n)){m.rects={reference:(0,r.Z)(t,(0,s.Z)(n),"fixed"===m.options.strategy),popper:(0,o.Z)(n)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach((function(e){return m.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<m.orderedModifiers.length;i++)if(!0!==m.reset){var u=m.orderedModifiers[i],c=u.fn,a=u.options,l=void 0===a?{}:a,d=u.name;"function"==typeof c&&(m=c({state:m,options:l,name:d,instance:w})||m)}else m.reset=!1,i=-1}}},update:(0,c.Z)((function(){return new Promise((function(e){w.forceUpdate(),e(m)}))})),destroy:function(){y(),v=!0}};if(!f(e,t))return w;function y(){g.forEach((function(e){return e()})),g=[]}return w.setOptions(n).then((function(e){!v&&n.onFirstUpdate&&n.onFirstUpdate(e)})),w}}},5350:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8555);function o(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Zq)(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}},2881:function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}n.d(t,{Z:function(){return r}})},889:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(6166),o=n(4691),i=n(6764),s=n(1119),u=n(7936),c=n(2021),a=n(9546),l=n(8555),d=n(2881),f=n(2882),p=n(5350),m=n(98),h=n(7365),g=n(8072);function v(e,t){return t===r.Pj?(0,h.Z)((0,o.Z)(e)):(0,l.Re)(t)?function(e){var t=(0,d.Z)(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):(0,h.Z)((0,i.Z)((0,c.Z)(e)))}function w(e,t,n){var r="clippingParents"===t?function(e){var t=(0,s.Z)((0,f.Z)(e)),n=["absolute","fixed"].indexOf((0,a.Z)(e).position)>=0&&(0,l.Re)(e)?(0,u.Z)(e):e;return(0,l.kK)(n)?t.filter((function(e){return(0,l.kK)(e)&&(0,p.Z)(e,n)&&"body"!==(0,m.Z)(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],c=o.reduce((function(t,n){var r=v(e,n);return t.top=(0,g.Fp)(r.top,t.top),t.right=(0,g.VV)(r.right,t.right),t.bottom=(0,g.VV)(r.bottom,t.bottom),t.left=(0,g.Fp)(r.left,t.left),t}),v(e,i));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}},2140:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2881),o=n(6637),i=n(98),s=n(8555),u=n(1051),c=n(2021),a=n(8519);function l(e,t,n){void 0===n&&(n=!1);var l=(0,s.Re)(t),d=(0,s.Re)(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return 1!==n||1!==r}(t),f=(0,c.Z)(t),p=(0,r.Z)(e,d),m={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(l||!l&&!n)&&(("body"!==(0,i.Z)(t)||(0,a.Z)(f))&&(m=(0,o.Z)(t)),(0,s.Re)(t)?((h=(0,r.Z)(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):f&&(h.x=(0,u.Z)(f))),{x:p.left+m.scrollLeft-h.x,y:p.top+m.scrollTop-h.y,width:p.width,height:p.height}}},9546:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3189);function o(e){return(0,r.Z)(e).getComputedStyle(e)}},2021:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8555);function o(e){return(((0,r.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}},6764:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2021),o=n(9546),i=n(1051),s=n(5392),u=n(8072);function c(e){var t,n=(0,r.Z)(e),c=(0,s.Z)(e),a=null==(t=e.ownerDocument)?void 0:t.body,l=(0,u.Fp)(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),d=(0,u.Fp)(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),f=-c.scrollLeft+(0,i.Z)(e),p=-c.scrollTop;return"rtl"===(0,o.Z)(a||n).direction&&(f+=(0,u.Fp)(n.clientWidth,a?a.clientWidth:0)-l),{width:l,height:d,x:f,y:p}}},812:function(e,t,n){"use strict";function r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}n.d(t,{Z:function(){return r}})},6249:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2881);function o(e){var t=(0,r.Z)(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}},98:function(e,t,n){"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{Z:function(){return r}})},6637:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5392),o=n(3189),i=n(8555),s=n(812);function u(e){return e!==(0,o.Z)(e)&&(0,i.Re)(e)?(0,s.Z)(e):(0,r.Z)(e)}},7936:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(3189),o=n(98),i=n(9546),s=n(8555),u=n(1725),c=n(2882);function a(e){return(0,s.Re)(e)&&"fixed"!==(0,i.Z)(e).position?e.offsetParent:null}function l(e){for(var t=(0,r.Z)(e),n=a(e);n&&(0,u.Z)(n)&&"static"===(0,i.Z)(n).position;)n=a(n);return n&&("html"===(0,o.Z)(n)||"body"===(0,o.Z)(n)&&"static"===(0,i.Z)(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,s.Re)(e)&&"fixed"===(0,i.Z)(e).position)return null;for(var n=(0,c.Z)(e);(0,s.Re)(n)&&["html","body"].indexOf((0,o.Z)(n))<0;){var r=(0,i.Z)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}},2882:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(98),o=n(2021),i=n(8555);function s(e){return"html"===(0,r.Z)(e)?e:e.assignedSlot||e.parentNode||((0,i.Zq)(e)?e.host:null)||(0,o.Z)(e)}},7915:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(2882),o=n(8519),i=n(98),s=n(8555);function u(e){return["html","body","#document"].indexOf((0,i.Z)(e))>=0?e.ownerDocument.body:(0,s.Re)(e)&&(0,o.Z)(e)?e:u((0,r.Z)(e))}},4691:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(3189),o=n(2021),i=n(1051);function s(e){var t=(0,r.Z)(e),n=(0,o.Z)(e),s=t.visualViewport,u=n.clientWidth,c=n.clientHeight,a=0,l=0;return s&&(u=s.width,c=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=s.offsetLeft,l=s.offsetTop)),{width:u,height:c,x:a+(0,i.Z)(e),y:l}}},3189:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{Z:function(){return r}})},5392:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3189);function o(e){var t=(0,r.Z)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},1051:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2881),o=n(2021),i=n(5392);function s(e){return(0,r.Z)((0,o.Z)(e)).left+(0,i.Z)(e).scrollLeft}},8555:function(e,t,n){"use strict";n.d(t,{kK:function(){return o},Re:function(){return i},Zq:function(){return s}});var r=n(3189);function o(e){return e instanceof(0,r.Z)(e).Element||e instanceof Element}function i(e){return e instanceof(0,r.Z)(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,r.Z)(e).ShadowRoot||e instanceof ShadowRoot)}},8519:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9546);function o(e){var t=(0,r.Z)(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}},1725:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98);function o(e){return["table","td","th"].indexOf((0,r.Z)(e))>=0}},1119:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(7915),o=n(2882),i=n(3189),s=n(8519);function u(e,t){var n;void 0===t&&(t=[]);var c=(0,r.Z)(e),a=c===(null==(n=e.ownerDocument)?void 0:n.body),l=(0,i.Z)(c),d=a?[l].concat(l.visualViewport||[],(0,s.Z)(c)?c:[]):c,f=t.concat(d);return a?f:f.concat(u((0,o.Z)(d)))}},6166:function(e,t,n){"use strict";n.d(t,{we:function(){return r},I:function(){return o},F2:function(){return i},t$:function(){return s},d7:function(){return u},mv:function(){return c},BL:function(){return a},ut:function(){return l},zV:function(){return d},Pj:function(){return f},k5:function(){return p},YP:function(){return m},bw:function(){return h},Ct:function(){return g},xs:function(){return v}});var r="top",o="bottom",i="right",s="left",u="auto",c=[r,o,i,s],a="start",l="end",d="clippingParents",f="viewport",p="popper",m="reference",h=c.reduce((function(e,t){return e.concat([t+"-"+a,t+"-"+l])}),[]),g=[].concat(c,[u]).reduce((function(e,t){return e.concat([t,t+"-"+a,t+"-"+l])}),[]),v=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},1414:function(e,t,n){"use strict";var r=n(98),o=n(8555);t.Z={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},s=t.elements[e];(0,o.Re)(s)&&(0,r.Z)(s)&&(Object.assign(s.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],s=t.attributes[e]||{},u=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,o.Re)(i)&&(0,r.Z)(i)&&(Object.assign(i.style,u),Object.keys(s).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]}},335:function(e,t,n){"use strict";var r=n(7677),o=n(6249),i=n(5350),s=n(7936),u=n(1505),c=n(964),a=n(6713),l=n(315),d=n(6166);t.Z={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,f=e.options,p=n.elements.arrow,m=n.modifiersData.popperOffsets,h=(0,r.Z)(n.placement),g=(0,u.Z)(h),v=[d.t$,d.F2].indexOf(h)>=0?"height":"width";if(p&&m){var w=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,a.Z)("number"!=typeof e?e:(0,l.Z)(e,d.mv))}(f.padding,n),y=(0,o.Z)(p),b="y"===g?d.we:d.t$,_="y"===g?d.I:d.F2,E=n.rects.reference[v]+n.rects.reference[g]-m[g]-n.rects.popper[v],C=m[g]-n.rects.reference[g],x=(0,s.Z)(p),S=x?"y"===g?x.clientHeight||0:x.clientWidth||0:0,Z=E/2-C/2,k=w[b],O=S-y[v]-w[_],M=S/2-y[v]/2+Z,P=(0,c.Z)(k,M,O),F=g;n.modifiersData[i]=((t={})[F]=P,t.centerOffset=P-M,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&(0,i.Z)(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},917:function(e,t,n){"use strict";var r=n(6166),o=n(7936),i=n(3189),s=n(2021),u=n(9546),c=n(7677),a=n(4531),l=n(8072),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f(e){var t,n=e.popper,c=e.popperRect,a=e.placement,f=e.variation,p=e.offsets,m=e.position,h=e.gpuAcceleration,g=e.adaptive,v=e.roundOffsets,w=!0===v?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:(0,l.NM)((0,l.NM)(t*r)/r)||0,y:(0,l.NM)((0,l.NM)(n*r)/r)||0}}(p):"function"==typeof v?v(p):p,y=w.x,b=void 0===y?0:y,_=w.y,E=void 0===_?0:_,C=p.hasOwnProperty("x"),x=p.hasOwnProperty("y"),S=r.t$,Z=r.we,k=window;if(g){var O=(0,o.Z)(n),M="clientHeight",P="clientWidth";O===(0,i.Z)(n)&&(O=(0,s.Z)(n),"static"!==(0,u.Z)(O).position&&"absolute"===m&&(M="scrollHeight",P="scrollWidth")),O=O,a!==r.we&&(a!==r.t$&&a!==r.F2||f!==r.ut)||(Z=r.I,E-=O[M]-c.height,E*=h?1:-1),a!==r.t$&&(a!==r.we&&a!==r.I||f!==r.ut)||(S=r.F2,b-=O[P]-c.width,b*=h?1:-1)}var F,L=Object.assign({position:m},g&&d);return h?Object.assign({},L,((F={})[Z]=x?"0":"",F[S]=C?"0":"",F.transform=(k.devicePixelRatio||1)<=1?"translate("+b+"px, "+E+"px)":"translate3d("+b+"px, "+E+"px, 0)",F)):Object.assign({},L,((t={})[Z]=x?E+"px":"",t[S]=C?b+"px":"",t.transform="",t))}t.Z={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,s=void 0===i||i,u=n.roundOffsets,l=void 0===u||u,d={placement:(0,c.Z)(t.placement),variation:(0,a.Z)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,f(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,f(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},3191:function(e,t,n){"use strict";var r=n(3189),o={passive:!0};t.Z={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,u=void 0===s||s,c=i.resize,a=void 0===c||c,l=(0,r.Z)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return u&&d.forEach((function(e){e.addEventListener("scroll",n.update,o)})),a&&l.addEventListener("resize",n.update,o),function(){u&&d.forEach((function(e){e.removeEventListener("scroll",n.update,o)})),a&&l.removeEventListener("resize",n.update,o)}},data:{}}},5207:function(e,t,n){"use strict";var r=n(942),o=n(7677),i=n(12),s=n(9356),u=n(7826),c=n(6166),a=n(4531);t.Z={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,l=e.name;if(!t.modifiersData[l]._skip){for(var d=n.mainAxis,f=void 0===d||d,p=n.altAxis,m=void 0===p||p,h=n.fallbackPlacements,g=n.padding,v=n.boundary,w=n.rootBoundary,y=n.altBoundary,b=n.flipVariations,_=void 0===b||b,E=n.allowedAutoPlacements,C=t.options.placement,x=(0,o.Z)(C),S=h||(x===C||!_?[(0,r.Z)(C)]:function(e){if((0,o.Z)(e)===c.d7)return[];var t=(0,r.Z)(e);return[(0,i.Z)(e),t,(0,i.Z)(t)]}(C)),Z=[C].concat(S).reduce((function(e,n){return e.concat((0,o.Z)(n)===c.d7?(0,u.Z)(t,{placement:n,boundary:v,rootBoundary:w,padding:g,flipVariations:_,allowedAutoPlacements:E}):n)}),[]),k=t.rects.reference,O=t.rects.popper,M=new Map,P=!0,F=Z[0],L=0;L<Z.length;L++){var j=Z[L],R=(0,o.Z)(j),z=(0,a.Z)(j)===c.BL,T=[c.we,c.I].indexOf(R)>=0,N=T?"width":"height",A=(0,s.Z)(t,{placement:j,boundary:v,rootBoundary:w,altBoundary:y,padding:g}),W=T?z?c.F2:c.t$:z?c.I:c.we;k[N]>O[N]&&(W=(0,r.Z)(W));var I=(0,r.Z)(W),G=[];if(f&&G.push(A[R]<=0),m&&G.push(A[W]<=0,A[I]<=0),G.every((function(e){return e}))){F=j,P=!1;break}M.set(j,G)}if(P)for(var D=function(e){var t=Z.find((function(t){var n=M.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return F=t,"break"},B=_?3:1;B>0;B--){if("break"===D(B))break}t.placement!==F&&(t.modifiersData[l]._skip=!0,t.placement=F,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},2883:function(e,t,n){"use strict";var r=n(6166),o=n(9356);function i(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function s(e){return[r.we,r.F2,r.I,r.t$].some((function(t){return e[t]>=0}))}t.Z={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,u=t.rects.popper,c=t.modifiersData.preventOverflow,a=(0,o.Z)(t,{elementContext:"reference"}),l=(0,o.Z)(t,{altBoundary:!0}),d=i(a,r),f=i(l,u,c),p=s(d),m=s(f);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}}},3108:function(e,t,n){"use strict";var r=n(7677),o=n(6166);t.Z={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.offset,u=void 0===s?[0,0]:s,c=o.Ct.reduce((function(e,n){return e[n]=function(e,t,n){var i=(0,r.Z)(e),s=[o.t$,o.we].indexOf(i)>=0?-1:1,u="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=u[0],a=u[1];return c=c||0,a=(a||0)*s,[o.t$,o.F2].indexOf(i)>=0?{x:a,y:c}:{x:c,y:a}}(n,t.rects,u),e}),{}),a=c[t.placement],l=a.x,d=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[i]=c}}},5435:function(e,t,n){"use strict";var r=n(6919);t.Z={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,r.Z)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},6998:function(e,t,n){"use strict";var r=n(6166),o=n(7677),i=n(1505),s=n(5754),u=n(964),c=n(6249),a=n(7936),l=n(9356),d=n(4531),f=n(3046),p=n(8072);t.Z={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,m=e.name,h=n.mainAxis,g=void 0===h||h,v=n.altAxis,w=void 0!==v&&v,y=n.boundary,b=n.rootBoundary,_=n.altBoundary,E=n.padding,C=n.tether,x=void 0===C||C,S=n.tetherOffset,Z=void 0===S?0:S,k=(0,l.Z)(t,{boundary:y,rootBoundary:b,padding:E,altBoundary:_}),O=(0,o.Z)(t.placement),M=(0,d.Z)(t.placement),P=!M,F=(0,i.Z)(O),L=(0,s.Z)(F),j=t.modifiersData.popperOffsets,R=t.rects.reference,z=t.rects.popper,T="function"==typeof Z?Z(Object.assign({},t.rects,{placement:t.placement})):Z,N={x:0,y:0};if(j){if(g||w){var A="y"===F?r.we:r.t$,W="y"===F?r.I:r.F2,I="y"===F?"height":"width",G=j[F],D=j[F]+k[A],B=j[F]-k[W],U=x?-z[I]/2:0,H=M===r.BL?R[I]:z[I],$=M===r.BL?-z[I]:-R[I],V=t.elements.arrow,q=x&&V?(0,c.Z)(V):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,f.Z)(),Y=K[A],J=K[W],X=(0,u.Z)(0,R[I],q[I]),Q=P?R[I]/2-U-X-Y-T:H-X-Y-T,ee=P?-R[I]/2+U+X+J+T:$+X+J+T,te=t.elements.arrow&&(0,a.Z)(t.elements.arrow),ne=te?"y"===F?te.clientTop||0:te.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][F]:0,oe=j[F]+Q-re-ne,ie=j[F]+ee-re;if(g){var se=(0,u.Z)(x?(0,p.VV)(D,oe):D,G,x?(0,p.Fp)(B,ie):B);j[F]=se,N[F]=se-G}if(w){var ue="x"===F?r.we:r.t$,ce="x"===F?r.I:r.F2,ae=j[L],le=ae+k[ue],de=ae-k[ce],fe=(0,u.Z)(x?(0,p.VV)(le,oe):le,ae,x?(0,p.Fp)(de,ie):de);j[L]=fe,N[L]=fe-ae}}t.modifiersData[m]=N}},requiresIfExists:["offset"]}},7295:function(e,t,n){"use strict";n.d(t,{fi:function(){return m}});var r=n(7566),o=n(3191),i=n(5435),s=n(917),u=n(1414),c=n(3108),a=n(5207),l=n(6998),d=n(335),f=n(2883),p=[o.Z,i.Z,s.Z,u.Z,c.Z,a.Z,l.Z,d.Z,f.Z],m=(0,r.kZ)({defaultModifiers:p})},7826:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(4531),o=n(6166),i=n(9356),s=n(7677);function u(e,t){void 0===t&&(t={});var n=t,u=n.placement,c=n.boundary,a=n.rootBoundary,l=n.padding,d=n.flipVariations,f=n.allowedAutoPlacements,p=void 0===f?o.Ct:f,m=(0,r.Z)(u),h=m?d?o.bw:o.bw.filter((function(e){return(0,r.Z)(e)===m})):o.mv,g=h.filter((function(e){return p.indexOf(e)>=0}));0===g.length&&(g=h);var v=g.reduce((function(t,n){return t[n]=(0,i.Z)(e,{placement:n,boundary:c,rootBoundary:a,padding:l})[(0,s.Z)(n)],t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}},6919:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(7677),o=n(4531),i=n(1505),s=n(6166);function u(e){var t,n=e.reference,u=e.element,c=e.placement,a=c?(0,r.Z)(c):null,l=c?(0,o.Z)(c):null,d=n.x+n.width/2-u.width/2,f=n.y+n.height/2-u.height/2;switch(a){case s.we:t={x:d,y:n.y-u.height};break;case s.I:t={x:d,y:n.y+n.height};break;case s.F2:t={x:n.x+n.width,y:f};break;case s.t$:t={x:n.x-u.width,y:f};break;default:t={x:n.x,y:n.y}}var p=a?(0,i.Z)(a):null;if(null!=p){var m="y"===p?"height":"width";switch(l){case s.BL:t[p]=t[p]-(n[m]/2-u[m]/2);break;case s.ut:t[p]=t[p]+(n[m]/2-u[m]/2)}}return t}},4806:function(e,t,n){"use strict";function r(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}n.d(t,{Z:function(){return r}})},9356:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(889),o=n(2021),i=n(2881),s=n(6919),u=n(7365),c=n(6166),a=n(8555),l=n(6713),d=n(315);function f(e,t){void 0===t&&(t={});var n=t,f=n.placement,p=void 0===f?e.placement:f,m=n.boundary,h=void 0===m?c.zV:m,g=n.rootBoundary,v=void 0===g?c.Pj:g,w=n.elementContext,y=void 0===w?c.k5:w,b=n.altBoundary,_=void 0!==b&&b,E=n.padding,C=void 0===E?0:E,x=(0,l.Z)("number"!=typeof C?C:(0,d.Z)(C,c.mv)),S=y===c.k5?c.YP:c.k5,Z=e.rects.popper,k=e.elements[_?S:y],O=(0,r.Z)((0,a.kK)(k)?k:k.contextElement||(0,o.Z)(e.elements.popper),h,v),M=(0,i.Z)(e.elements.reference),P=(0,s.Z)({reference:M,element:Z,strategy:"absolute",placement:p}),F=(0,u.Z)(Object.assign({},Z,P)),L=y===c.k5?F:M,j={top:O.top-L.top+x.top,bottom:L.bottom-O.bottom+x.bottom,left:O.left-L.left+x.left,right:L.right-O.right+x.right},R=e.modifiersData.offset;if(y===c.k5&&R){var z=R[p];Object.keys(j).forEach((function(e){var t=[c.F2,c.I].indexOf(e)>=0?1:-1,n=[c.we,c.I].indexOf(e)>=0?"y":"x";j[e]+=z[n]*t}))}return j}},315:function(e,t,n){"use strict";function r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,{Z:function(){return r}})},5754:function(e,t,n){"use strict";function r(e){return"x"===e?"y":"x"}n.d(t,{Z:function(){return r}})},7677:function(e,t,n){"use strict";function r(e){return e.split("-")[0]}n.d(t,{Z:function(){return r}})},3046:function(e,t,n){"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{Z:function(){return r}})},1505:function(e,t,n){"use strict";function r(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{Z:function(){return r}})},942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r={left:"right",right:"left",bottom:"top",top:"bottom"};function o(e){return e.replace(/left|right|bottom|top/g,(function(e){return r[e]}))}},12:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r={start:"end",end:"start"};function o(e){return e.replace(/start|end/g,(function(e){return r[e]}))}},4531:function(e,t,n){"use strict";function r(e){return e.split("-")[1]}n.d(t,{Z:function(){return r}})},8072:function(e,t,n){"use strict";n.d(t,{Fp:function(){return r},VV:function(){return o},NM:function(){return i}});var r=Math.max,o=Math.min,i=Math.round},3352:function(e,t,n){"use strict";function r(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}n.d(t,{Z:function(){return r}})},6713:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3046);function o(e){return Object.assign({},(0,r.Z)(),e)}},421:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(6166);function o(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function i(e){var t=o(e);return r.xs.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}},7365:function(e,t,n){"use strict";function r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}n.d(t,{Z:function(){return r}})},964:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8072);function o(e,t,n){return(0,r.Fp)(e,(0,r.VV)(t,n))}},5869:function(e,t,n){"use strict";var r=n(9307);t.Z=function(e){let{icon:t,size:n=24,...o}=e;return(0,r.cloneElement)(t,{width:n,height:n,...o})}},8565:function(e,t,n){"use strict";var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.Z=i},2779:function(e,t){var n;
2
  /*!
3
  Copyright (c) 2018 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var s=o.apply(null,n);s&&e.push(s)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var u in n)r.call(n,u)&&n[u]&&e.push(u);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},3421:function(e,t){"use strict";var n=decodeURIComponent,r=encodeURIComponent,o=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e,t){try{return t(e)}catch(n){return e}}},2699:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(n,r){function o(){void 0!==i&&e.removeListener("error",i),n([].slice.call(arguments))}var i;"error"!==t&&(i=function(n){e.removeListener(t,o),r(n)},e.once("error",i)),e.once(t,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function a(e,t,n,r){var o,i,s,a;if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),s=i[t]),void 0===s)s=i[t]=n,++e._eventsCount;else if("function"==typeof s?s=i[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=c(e))>0&&s.length>o&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,a=l,console&&console.warn&&console.warn(a)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=l.bind(r);return o.listener=n,r.wrapFn=o,o}function f(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):m(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return c(this)},i.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var u=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw u.context=s,u}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)r(c,this,t);else{var a=c.length,l=m(c,a);for(n=0;n<a;++n)r(l[n],this,t)}return!0},i.prototype.addListener=function(e,t){return a(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return a(this,e,t,!0)},i.prototype.once=function(e,t){return u(t),this.on(e,d(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,d(this,e,t)),this},i.prototype.removeListener=function(e,t){var n,r,o,i,s;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){s=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return f(this,e,!0)},i.prototype.rawListeners=function(e){return f(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},4495:function(e,t,n){"use strict";var r=n(212),o=n(9561);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var o=1;o<n;o++)r[o]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[o++]=0;r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=e>>>24&255,r[o++]=e>>>16&255,r[o++]=e>>>8&255,r[o++]=255&e}else for(r[o++]=255&e,r[o++]=e>>>8&255,r[o++]=e>>>16&255,r[o++]=e>>>24&255,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,i=8;i<this.padLength;i++)r[o++]=0;return r}},8032:function(e,t,n){"use strict";var r=n(212),o=n(4495),i=n(713),s=n(9561),u=r.sum32,c=r.sum32_4,a=r.sum32_5,l=i.ch32,d=i.maj32,f=i.s0_256,p=i.s1_256,m=i.g0_256,h=i.g1_256,g=o.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function w(){if(!(this instanceof w))return new w;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}r.inherits(w,g),e.exports=w,w.blockSize=512,w.outSize=256,w.hmacStrength=192,w.padLength=64,w.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=c(h(n[r-2]),n[r-7],m(n[r-15]),n[r-16]);var o=this.h[0],i=this.h[1],g=this.h[2],v=this.h[3],w=this.h[4],y=this.h[5],b=this.h[6],_=this.h[7];for(s(this.k.length===n.length),r=0;r<n.length;r++){var E=a(_,p(w),l(w,y,b),this.k[r],n[r]),C=u(f(o),d(o,i,g));_=b,b=y,y=w,w=u(v,E),v=g,g=i,i=o,o=u(E,C)}this.h[0]=u(this.h[0],o),this.h[1]=u(this.h[1],i),this.h[2]=u(this.h[2],g),this.h[3]=u(this.h[3],v),this.h[4]=u(this.h[4],w),this.h[5]=u(this.h[5],y),this.h[6]=u(this.h[6],b),this.h[7]=u(this.h[7],_)},w.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},713:function(e,t,n){"use strict";var r=n(212).rotr32;function o(e,t,n){return e&t^~e&n}function i(e,t,n){return e&t^e&n^t&n}function s(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?o(t,n,r):1===e||3===e?s(t,n,r):2===e?i(t,n,r):void 0},t.ch32=o,t.maj32=i,t.p32=s,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},212:function(e,t,n){"use strict";var r=n(9561),o=n(1285);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function u(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)n.push(parseInt(e[o]+e[o+1],16))}else for(var r=0,o=0;o<e.length;o++){var s=e.charCodeAt(o);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):i(e,o)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++o)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(o=0;o<e.length;o++)n[o]=0|e[o];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=u(e[n].toString(16));return t},t.htonl=s,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e[r];"little"===t&&(o=s(o)),n+=c(o.toString(16))}return n},t.zero2=u,t.zero8=c,t.join32=function(e,t,n,o){var i=n-t;r(i%4==0);for(var s=new Array(i/4),u=0,c=t;u<s.length;u++,c+=4){var a;a="big"===o?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],s[u]=a>>>0}return s},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,o=0;r<e.length;r++,o+=4){var i=e[r];"big"===t?(n[o]=i>>>24,n[o+1]=i>>>16&255,n[o+2]=i>>>8&255,n[o+3]=255&i):(n[o+3]=i>>>24,n[o+2]=i>>>16&255,n[o+1]=i>>>8&255,n[o]=255&i)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,o){return e+t+n+r+o>>>0},t.sum64=function(e,t,n,r){var o=e[t],i=r+e[t+1]>>>0,s=(i<r?1:0)+n+o;e[t]=s>>>0,e[t+1]=i},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,o,i,s,u){var c=0,a=t;return c+=(a=a+r>>>0)<t?1:0,c+=(a=a+i>>>0)<i?1:0,e+n+o+s+(c+=(a=a+u>>>0)<u?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,o,i,s,u){return t+r+i+u>>>0},t.sum64_5_hi=function(e,t,n,r,o,i,s,u,c,a){var l=0,d=t;return l+=(d=d+r>>>0)<t?1:0,l+=(d=d+i>>>0)<i?1:0,l+=(d=d+u>>>0)<u?1:0,e+n+o+s+c+(l+=(d=d+a>>>0)<a?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,o,i,s,u,c,a){return t+r+i+u+a>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},1285:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},721:function(){},730:function(){},3335:function(){},4727:function(){},7807:function(){},6910:function(){},9561:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},1378:function(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o,s=365.25*o;function u(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,c){c=c||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var u=/^(-?(?:\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(!u)return;var c=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===a&&isFinite(e))return c.long?function(e){var i=Math.abs(e);if(i>=o)return u(e,i,o,"day");if(i>=r)return u(e,i,r,"hour");if(i>=n)return u(e,i,n,"minute");if(i>=t)return u(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))}},8435:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var u,c,a,l;if(Array.isArray(e)){if((u=e.length)!=s.length)return!1;for(c=u;0!=c--;)if(!i(e[c],s[c]))return!1;return!0}if(n&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(l=e.entries();!(c=l.next()).done;)if(!s.has(c.value[0]))return!1;for(l=e.entries();!(c=l.next()).done;)if(!i(c.value[1],s.get(c.value[0])))return!1;return!0}if(r&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(l=e.entries();!(c=l.next()).done;)if(!s.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((u=e.length)!=s.length)return!1;for(c=u;0!=c--;)if(e[c]!==s[c])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===s.toString();if((u=(a=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(c=u;0!=c--;)if(!Object.prototype.hasOwnProperty.call(s,a[c]))return!1;if(t&&e instanceof Element)return!1;for(c=u;0!=c--;)if(("_owner"!==a[c]&&"__v"!==a[c]&&"__o"!==a[c]||!e.$$typeof)&&!i(e[a[c]],s[a[c]]))return!1;return!0}return e!=e&&s!=s}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},6194:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(9196),o=n(7295),i=n(8435),s=n.n(i),u=n(855),c=[],a=function(e,t,n){void 0===n&&(n={});var i=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||c},l=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),d=l[0],f=l[1],p=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);f({styles:(0,u.sq)(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,u.sq)(n.map((function(e){return[e,t.attributes[e]]})))})},requires:["computeStyles"]}}),[]),m=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[p,{name:"applyStyles",enabled:!1}])};return s()(i.current,e)?i.current||e:(i.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,p]),h=r.useRef();return(0,u.LI)((function(){h.current&&h.current.setOptions(m)}),[m]),(0,u.LI)((function(){if(null!=e&&null!=t){var r=(n.createPopper||o.fi)(e,t,m);return h.current=r,function(){r.destroy(),h.current=null}}}),[e,t,n.createPopper]),{state:h.current?h.current.state:null,styles:d.styles,attributes:d.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}}},855:function(e,t,n){"use strict";n.d(t,{sq:function(){return o},LI:function(){return i}});var r=n(9196),o=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},i="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect},7869:function(e,t,n){"use strict";var r=n(9307),o=(n(3945),n(849)),i=n(4655),s=n(5609),u=n(9818),c=n(8817),a=n(6483),l=n(3867),d=n(9935),f=n(1970),p=n(374),m=n(2753);function h(){var e;const[t]=(0,r.useState)((0,a.getQueryArg)(window.location.href,"showDraftPostModal")),{show:n,isLoaded:c,variant:d,isManuallyOpened:h,isNewPageLayoutModalOpen:g}=(0,u.useSelect)((e=>{const t=e("automattic/wpcom-welcome-guide"),n=e("automattic/starter-page-layouts");return{show:t.isWelcomeGuideShown(),isLoaded:t.isWelcomeGuideStatusLoaded(),variant:t.getWelcomeGuideVariant(),isManuallyOpened:t.isWelcomeGuideManuallyOpened(),isNewPageLayoutModalOpen:null==n?void 0:n.isOpen()}}),[]),v=null===(e=(0,u.useDispatch)("automattic/starter-page-layouts"))||void 0===e?void 0:e.setOpenState,{fetchWelcomeGuideStatus:w}=(0,u.useDispatch)("automattic/wpcom-welcome-guide");return(0,r.useEffect)((()=>{c||w()}),[w,c]),!n||g?null:d===f.yn&&!h&&v?(v("OPEN_FOR_BLANK_CANVAS"),null):d===f.Sz?(0,r.createElement)(o.Iw,{localeSlug:window.wpcomBlockEditorNuxLocale??i.OP},t?(0,r.createElement)(l.Z,null):(0,r.createElement)(m.Z,null)):"modal"===d&&s.Guide&&s.GuidePage?(0,r.createElement)(p.Z,null):null}(0,c.registerPlugin)("wpcom-block-editor-nux",{render:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h,null),(0,r.createElement)(d.Z,null))})},1568:function(e,t,n){"use strict";var r=n(9818);n(462);const o=(0,r.subscribe)((()=>{var e;(0,r.dispatch)("core/nux").disableTips(),null!==(e=(0,r.select)("core/edit-post"))&&void 0!==e&&e.isFeatureActive("welcomeGuide")&&(0,r.dispatch)("core/edit-post").toggleFeature("welcomeGuide"),o()}));(0,r.subscribe)((()=>{var e;(0,r.select)("core/nux").areTipsEnabled()&&((0,r.dispatch)("core/nux").disableTips(),(0,r.dispatch)("automattic/wpcom-welcome-guide").setShowWelcomeGuide(!0)),null!==(e=(0,r.select)("core/edit-post"))&&void 0!==e&&e.isFeatureActive("welcomeGuide")&&((0,r.dispatch)("core/edit-post").toggleFeature("welcomeGuide"),(0,r.dispatch)("automattic/wpcom-welcome-guide").setShowWelcomeGuide(!0,{openedManually:!0}))}))},3867:function(e,t,n){"use strict";var r=n(9307),o=n(6115),i=n(5609),s=n(9818),u=n(2694),c=n(5736),a=n(3634),l=n(3790);n(721);const __=c.__,d="a8c.wpcom-block-editor.closeEditor";t.Z=()=>{const e=window._currentSiteId,t=(0,s.useSelect)((t=>t("automattic/site").getPrimarySiteDomain(e))),n=`/home/${(null==t?void 0:t.domain)||window.location.hostname}`,[c,f]=(0,r.useState)(!0),p=()=>f(!1);return(0,r.createElement)(a.Z,{isOpen:c,className:"wpcom-block-editor-draft-post-modal",title:__("Write your first post","full-site-editing"),description:__("It’s time to flex those writing muscles and start drafting your first post!","full-site-editing"),imageSrc:l,actionButtons:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Button,{isPrimary:!0,onClick:p},__("Start writing","full-site-editing")),(0,r.createElement)(i.Button,{isSecondary:!0,onClick:()=>{(0,u.hasAction)(d)?(0,u.doAction)(d,n):window.location.href=`https://wordpress.com${n}`}},__("I'm not ready","full-site-editing"))),onRequestClose:p,onOpen:()=>(0,o.jN)("calypso_editor_wpcom_draft_post_modal_show")})}},3634:function(e,t,n){"use strict";var r=n(9307),o=n(5609),i=n(2779),s=n.n(i);n(9196),n(730);t.Z=e=>{let{isOpen:t,className:n,title:i,description:u,imageSrc:c,actionButtons:a,onRequestClose:l,onOpen:d}=e;const f=(0,r.useRef)(null);return(0,r.useEffect)((()=>{!f.current&&t&&(null==d||d()),f.current=t}),[f,t,d]),t?(0,r.createElement)(o.Modal,{className:s()("wpcom-block-editor-nux-modal",n),open:t,title:"",onRequestClose:l},(0,r.createElement)("div",{className:"wpcom-block-editor-nux-modal__image-container"},(0,r.createElement)("img",{src:c,alt:i})),(0,r.createElement)("h1",{className:"wpcom-block-editor-nux-modal__title"},i),(0,r.createElement)("p",{className:"wpcom-block-editor-nux-modal__description"},u),(0,r.createElement)("div",{className:"wpcom-block-editor-nux-modal__buttons"},a)):null}},9935:function(e,t,n){"use strict";var r=n(9307),o=n(6115),i=n(5609),s=n(9818),u=n(5736),c=n(3634),a=n(5275);n(3335);const __=u.__;t.Z=()=>{const{link:e}=(0,s.useSelect)((e=>e("core/editor").getCurrentPost())),t=(0,s.useSelect)((e=>e("core/editor").getCurrentPostType())),n=(0,s.useSelect)((e=>e("core/editor").isCurrentPostPublished())),u=(0,r.useRef)(n),l=(0,s.useSelect)((e=>e("automattic/wpcom-welcome-guide").getShouldShowFirstPostPublishedModal())),[d,f]=(0,r.useState)(!1),{fetchShouldShowFirstPostPublishedModal:p,setShouldShowFirstPostPublishedModal:m}=(0,s.useDispatch)("automattic/wpcom-welcome-guide");return(0,r.useEffect)((()=>{p()}),[p]),(0,r.useEffect)((()=>{l&&!u.current&&n&&"post"===t&&(u.current=n,m(!1),window.setTimeout((()=>{f(!0)})))}),[t,l,n,m]),(0,r.createElement)(c.Z,{isOpen:d,className:"wpcom-block-editor-post-published-modal",title:__("Your first post is published!","full-site-editing"),description:__("Congratulations! You did it. View your post to see how it will look on your site.","full-site-editing"),imageSrc:a,actionButtons:(0,r.createElement)(i.Button,{isPrimary:!0,href:e},__("View Post","full-site-editing")),onRequestClose:()=>f(!1),onOpen:()=>(0,o.jN)("calypso_editor_wpcom_first_post_published_modal_show")})}},3945:function(e,t,n){"object"==typeof window&&window.wpcomBlockEditorNuxAssetsUrl&&(n.p=window.wpcomBlockEditorNuxAssetsUrl)},1970:function(e,t,n){"use strict";n.d(t,{Sz:function(){return u},yn:function(){return c},z2:function(){return f}});var r=n(6989),o=n.n(r),i=n(9818),s=n(3418);n(3288);const u="tour",c="blank-canvas-tour",a=(0,i.combineReducers)({welcomeGuideManuallyOpened:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"WPCOM_WELCOME_GUIDE_SHOW_SET":return void 0!==t.openedManually?t.openedManually:e;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return!1;default:return e}},showWelcomeGuide:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS":return t.response.show_welcome_guide;case"WPCOM_WELCOME_GUIDE_SHOW_SET":return t.show;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return;default:return e}},tourRating:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"WPCOM_WELCOME_GUIDE_TOUR_RATING_SET":return t.tourRating;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return;default:return e}},welcomeGuideVariant:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS":return t.response.variant;case"WPCOM_HAS_USED_PATTERNS_MODAL":return e===c?u:e;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return u;default:return e}},shouldShowFirstPostPublishedModal:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"WPCOM_SET_SHOULD_SHOW_FIRST_POST_PUBLISHED_MODAL":return t.value;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return!1;default:return e}}}),l={*fetchWelcomeGuideStatus(){return{type:"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS",response:yield(0,s.apiFetch)({path:"/wpcom/v2/block-editor/nux"})}},*fetchShouldShowFirstPostPublishedModal(){return{type:"WPCOM_SET_SHOULD_SHOW_FIRST_POST_PUBLISHED_MODAL",value:(yield(0,s.apiFetch)({path:"/wpcom/v2/block-editor/should-show-first-post-published-modal"})).should_show_first_post_published_modal}},setShowWelcomeGuide:function(e){let{openedManually:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o()({path:"/wpcom/v2/block-editor/nux",method:"POST",data:{show_welcome_guide:e}}),{type:"WPCOM_WELCOME_GUIDE_SHOW_SET",show:e,openedManually:t}},setTourRating:e=>({type:"WPCOM_WELCOME_GUIDE_TOUR_RATING_SET",tourRating:e}),setUsedPageOrPatternsModal:()=>({type:"WPCOM_HAS_USED_PATTERNS_MODAL"}),setShouldShowFirstPostPublishedModal:e=>({type:"WPCOM_SET_SHOULD_SHOW_FIRST_POST_PUBLISHED_MODAL",value:e}),resetStore:()=>({type:"WPCOM_WELCOME_GUIDE_RESET_STORE"})},d={isWelcomeGuideManuallyOpened:e=>e.welcomeGuideManuallyOpened,isWelcomeGuideShown:e=>!!e.showWelcomeGuide,isWelcomeGuideStatusLoaded:e=>void 0!==e.showWelcomeGuide,getTourRating:e=>e.tourRating,getWelcomeGuideVariant:e=>"modal"===e.welcomeGuideVariant?u:e.welcomeGuideVariant,getShouldShowFirstPostPublishedModal:e=>e.shouldShowFirstPostPublishedModal};function f(){return(0,i.registerStore)("automattic/wpcom-welcome-guide",{reducer:a,actions:l,selectors:d,controls:s.controls,persist:!0})}},374:function(e,t,n){"use strict";var r=n(7896),o=n(9307),i=n(6115),s=n(5609),u=n(9818),c=n(5736),a=n(9711),l=n(6595),d=n(5486),f=n(7821);n(4727);const __=c.__;function p(e){let{pageNumber:t,isLastPage:n,alignBottom:r=!1,heading:u,description:c,imgSrc:a}=e;return(0,o.useEffect)((()=>{var e;(0,i.jN)("calypso_editor_wpcom_nux_slide_view",{slide_number:t,is_last_slide:n,is_gutenboarding:null===(e=window.calypsoifyGutenberg)||void 0===e?void 0:e.isGutenboarding})}),[]),(0,o.createElement)(s.GuidePage,{className:"wpcom-block-editor-nux__page"},(0,o.createElement)("div",{className:"wpcom-block-editor-nux__text"},(0,o.createElement)("h1",{className:"wpcom-block-editor-nux__heading"},u),(0,o.createElement)("div",{className:"wpcom-block-editor-nux__description"},c)),(0,o.createElement)("div",{className:"wpcom-block-editor-nux__visual"},(0,o.createElement)("img",{key:a,src:a,alt:"","aria-hidden":"true",className:"wpcom-block-editor-nux__image"+(r?" align-bottom":"")})))}t.Z=function(){const{show:e,isNewPageLayoutModalOpen:t,isManuallyOpened:n}=(0,u.useSelect)((e=>({show:e("automattic/wpcom-welcome-guide").isWelcomeGuideShown(),isNewPageLayoutModalOpen:e("automattic/starter-page-layouts")&&e("automattic/starter-page-layouts").isOpen(),isManuallyOpened:e("automattic/wpcom-welcome-guide").isWelcomeGuideManuallyOpened()}))),{setShowWelcomeGuide:c}=(0,u.useDispatch)("automattic/wpcom-welcome-guide");if((0,o.useEffect)((()=>{var r;e&&!t&&(0,i.jN)("calypso_editor_wpcom_nux_open",{is_gutenboarding:null===(r=window.calypsoifyGutenberg)||void 0===r?void 0:r.isGutenboarding,is_manually_opened:n})}),[n,t,e]),!e||t)return null;const m=[{heading:__("Welcome to your website","full-site-editing"),description:__("Edit your homepage, add the pages you need, and change your site’s look and feel.","full-site-editing"),imgSrc:l,alignBottom:!0},{heading:__("Add or edit your content","full-site-editing"),description:__("Edit the placeholder content we’ve started you off with, or click the plus sign to add more content.","full-site-editing"),imgSrc:a},{heading:__("Preview your site as you go","full-site-editing"),description:__("As you edit your site content, click “Preview” to see your site the way your visitors will.","full-site-editing"),imgSrc:d,alignBottom:!0},{heading:__("Hidden until you’re ready","full-site-editing"),description:__("Your site will remain hidden until launched. Click “Launch” in the toolbar to share it with the world.","full-site-editing"),imgSrc:f,alignBottom:!0}];return(0,o.createElement)(s.Guide,{className:"wpcom-block-editor-nux",contentLabel:__("Welcome to your website","full-site-editing"),finishButtonText:__("Get started","full-site-editing"),onFinish:()=>{var e;(0,i.jN)("calypso_editor_wpcom_nux_dismiss",{is_gutenboarding:null===(e=window.calypsoifyGutenberg)||void 0===e?void 0:e.isGutenboarding}),c(!1,{openedManually:!1})}},m.map(((e,t)=>(0,o.createElement)(p,(0,r.Z)({key:e.heading,pageNumber:t+1,isLastPage:t===m.length-1},e)))))}},8574:function(e,t,n){"use strict";var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.086 5.412l3.476-.015c-.627.625-1.225 1.22-1.82 1.81l-.03.031c-.977.971-1.944 1.934-3.015 3.004l1.06 1.061c1.07-1.07 2.036-2.03 3.013-3.002l.03-.03 1.817-1.808-.03 3.448 1.5.013.046-5.28.007-.759-.76.003-5.301.024.007 1.5zM9.914 18.587l-3.476.016c.627-.625 1.225-1.22 1.82-1.81l.03-.031c.977-.971 1.944-1.934 3.015-3.004l-1.06-1.061c-1.07 1.069-2.036 2.03-3.012 3.001l-.001.001-.03.03-1.817 1.808.03-3.448-1.5-.013-.046 5.279-.007.76.76-.003 5.301-.024-.007-1.5z"}));t.Z=i},6139:function(e,t,n){"use strict";var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.514 9.988l-3.476.016c.627-.626 1.225-1.22 1.82-1.811l.03-.03v-.001c.977-.971 1.944-1.933 3.015-3.004l-1.06-1.06c-1.07 1.069-2.037 2.03-3.013 3.001l-.03.03-1.818 1.809.03-3.449-1.5-.013-.045 5.28-.007.76.76-.004 5.301-.024-.007-1.5zM5.486 14.012l3.477-.016-1.82 1.811-.03.03c-.977.972-1.945 1.934-3.015 3.005l1.06 1.06c1.07-1.068 2.035-2.03 3.012-3V16.9l.03-.03 1.818-1.809-.03 3.449 1.5.013.046-5.28.006-.76-.76.004-5.3.024.006 1.5z",fill:"#fff"}));t.Z=i},4308:function(e,t,n){"use strict";var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M13.131 19.12a.667.667 0 001.227-.417l-.436-4.989h3.88c.954 0 1.64-.916 1.37-1.831L17.42 5.919a.286.286 0 00-.274-.205H9.429v7.588l3.702 5.818zm-5.417-5.977V5.714h-2v7.429h2zm5.98 8a2.381 2.381 0 01-2.01-1.103l-3.297-5.183H4V4h13.145a2 2 0 011.919 1.436l1.753 5.963a3.143 3.143 0 01-3.015 4.03h-2.01l.274 3.125a2.381 2.381 0 01-2.372 2.589z",fill:"#000"}));t.Z=i},9425:function(e,t,n){"use strict";var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/SVG"},(0,r.createElement)(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M13.131 4.023a.667.667 0 011.227.416l-.436 4.99h3.88c.954 0 1.64.916 1.37 1.831l-1.753 5.963a.286.286 0 01-.274.206H9.429V9.84l3.702-5.818zM7.714 10v7.428h-2V10h2zm5.98-8c-.814 0-1.572.416-2.01 1.103L8.388 8.286H4v10.857h13.145a2 2 0 001.919-1.436l1.753-5.963a3.143 3.143 0 00-3.015-4.03h-2.01l.274-3.125A2.381 2.381 0 0013.694 2z",fill:"#000"}));t.Z=i},9483:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(9307),o=n(5609),i=n(5736),s=n(444),u=n(2819);const __=i.__;function c(e){let{currentPage:t,numberOfPages:n,setCurrentPage:s}=e;return(0,r.createElement)("ul",{className:"components-guide__page-control","aria-label":__("Guide controls","full-site-editing")},(0,u.times)(n,(e=>(0,r.createElement)("li",{key:e,"aria-current":e===t?"step":void 0},(0,r.createElement)(o.Button,{key:e,icon:(0,r.createElement)(a,{isSelected:e===t}),"aria-label":(0,i.sprintf)(__("Page %1$d of %2$d","full-site-editing"),e+1,n),onClick:()=>s(e)})))))}const a=e=>{let{isSelected:t}=e;return(0,r.createElement)(s.SVG,{width:"6",height:"6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(s.Circle,{cx:"3",cy:"3",r:"3",fill:t?"#32373C":"#E1E3E6"}))}},2069:function(e,t,n){"use strict";var r=n(9307),o=n(6115),i=n(5609),s=n(9818),u=n(5736),c=n(8565),a=n(2779),l=n.n(a),d=n(6139),f=n(4308),p=n(9425),m=n(9483);n(7807);const __=u.__;function h(e){let{currentStepIndex:t,lastStepIndex:n,onDismiss:o,setCurrentStepIndex:s,onNextStepProgression:u,onPreviousStepProgression:c,setInitialFocusedElement:a}=e;const l=__("Try it out!","full-site-editing"),d=__("Next","full-site-editing");return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.Z,{currentPage:t,numberOfPages:n+1,setCurrentPage:s}),(0,r.createElement)("div",null,0===t?(0,r.createElement)(i.Button,{isTertiary:!0,onClick:o("no-thanks-btn")},__("Skip","full-site-editing")):(0,r.createElement)(i.Button,{isTertiary:!0,onClick:c},__("Back","full-site-editing")),(0,r.createElement)(i.Button,{className:"welcome-tour-card__next-btn",isPrimary:!0,onClick:u,ref:a},0===t?l:d)))}function g(e){let{onMinimize:t,onDismiss:n}=e;const o=l()("welcome-tour-card__overlay-controls");return(0,r.createElement)("div",{className:o},(0,r.createElement)(i.Flex,null,(0,r.createElement)(i.Button,{label:__("Minimize Tour","full-site-editing"),isPrimary:!0,className:"welcome-tour-card__minimize-icon",icon:d.Z,iconSize:24,onClick:t}),(0,r.createElement)(i.Button,{label:__("Close Tour","full-site-editing"),isPrimary:!0,icon:c.Z,iconSize:24,onClick:n("close-btn")})))}function v(e){let{isGutenboarding:t}=e,n=!1;const u=(0,s.useSelect)((e=>e("automattic/wpcom-welcome-guide").getTourRating())),{setTourRating:c}=(0,s.useDispatch)("automattic/wpcom-welcome-guide");!n&&u&&(n=!0);const a=e=>{n||(n=!0,c(e?"thumbs-up":"thumbs-down"),(0,o.jN)("calypso_editor_wpcom_tour_rate",{thumbs_up:e,is_gutenboarding:t}))};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",{className:"welcome-tour__end-text"},__("Did you find this guide helpful?","full-site-editing")),(0,r.createElement)("div",null,(0,r.createElement)(i.Button,{"aria-label":__("Rate thumbs up","full-site-editing"),className:l()("welcome-tour__end-icon",{active:"thumbs-up"===u}),disabled:n,icon:p.Z,onClick:()=>a(!0),iconSize:24}),(0,r.createElement)(i.Button,{"aria-label":__("Rate thumbs down","full-site-editing"),className:l()("welcome-tour__end-icon",{active:"thumbs-down"===u}),disabled:n,icon:f.Z,onClick:()=>a(!1),iconSize:24})))}t.Z=function(e){let{cardContent:t,currentStepIndex:n,justMaximized:s,lastStepIndex:u,onMinimize:c,onDismiss:a,setJustMaximized:l,setCurrentStepIndex:d,onNextStepProgression:f,onPreviousStepProgression:p,isGutenboarding:m,setInitialFocusedElement:w}=e;const{description:y,heading:b,imgSrc:_}=t,E=n===u;var C;return C=()=>{s?l(!1):(0,o.jN)("calypso_editor_wpcom_tour_slide_view",{slide_number:n+1,is_last_slide:E,slide_heading:b,is_gutenboarding:m})},(0,r.useEffect)(C,[]),(0,r.createElement)(i.Card,{className:"welcome-tour-card",isElevated:!0},(0,r.createElement)(g,{onDismiss:a,onMinimize:c}),(0,r.createElement)(i.CardMedia,null,(0,r.createElement)("img",{alt:__("Editor Welcome Tour","full-site-editing"),src:_})),(0,r.createElement)(i.CardBody,null,(0,r.createElement)("h2",{className:"welcome-tour-card__heading"},b),(0,r.createElement)("p",{className:"welcome-tour-card__description"},y,E?(0,r.createElement)(i.Button,{className:"welcome-tour-card__description",isTertiary:!0,onClick:()=>d(0),ref:w},__("Restart tour","full-site-editing")):null)),(0,r.createElement)(i.CardFooter,null,E?(0,r.createElement)(v,{isGutenboarding:m}):(0,r.createElement)(h,{currentStepIndex:n,lastStepIndex:u,onDismiss:a,setCurrentStepIndex:d,onNextStepProgression:f,onPreviousStepProgression:p,setInitialFocusedElement:w})))}},7520:function(e,t,n){"use strict";n.d(t,{M:function(){return i},m:function(){return s}});var r=n(9307);const o=(0,r.createContext)({}),i=e=>{let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.createElement)(o.Provider,{value:{justMaximized:n,setJustMaximized:i}},t)},s=()=>(0,r.useContext)(o)},2753:function(e,t,n){"use strict";var r=n(9307),o=n(6115),i=n(849),s=n(1990),u=n(9818),c=n(7520),a=n(4316),l=n(6778),d=n(8953);n(7807);function f(){var e;const t=(0,i.bU)(),{setShowWelcomeGuide:n}=(0,u.useDispatch)("automattic/wpcom-welcome-guide"),f=null===(e=window.calypsoifyGutenberg)||void 0===e?void 0:e.isGutenboarding,p=()=>new URLSearchParams(document.location.search).has("welcome-tour-next"),m=(0,d.Z)(t,p()),{setJustMaximized:h}=(0,c.m)();m.forEach((e=>(new window.Image).src=e.meta.imgSrc));const g={steps:m,renderers:{tourStep:l.Z,tourMinimized:a.Z},closeHandler:(e,t,r)=>{(0,o.jN)("calypso_editor_wpcom_tour_dismiss",{is_gutenboarding:f,slide_number:t+1,action:r}),n(!1,{openedManually:!1})},options:{callbacks:{onMinimize:e=>{(0,o.jN)("calypso_editor_wpcom_tour_minimize",{is_gutenboarding:f,slide_number:e+1})},onMaximize:e=>{h(!0),(0,o.jN)("calypso_editor_wpcom_tour_maximize",{is_gutenboarding:f,slide_number:e+1})}},effects:{__experimental__spotlight:p(),arrowIndicator:!1},popperModifiers:[(0,r.useMemo)((()=>({name:"offset",options:{offset:e=>{let{placement:t,reference:n}=e;if("bottom"===t){const e=document.querySelector(".edit-post-header").getBoundingClientRect();return[0,e.height+e.y-(n.height+n.y)+16]}return[0,0]}}})),[])],className:"wpcom-editor-welcome-tour"}};return(0,r.createElement)(s.Z,{config:g})}t.Z=function(){const{show:e,isNewPageLayoutModalOpen:t,isManuallyOpened:n}=(0,u.useSelect)((e=>({show:e("automattic/wpcom-welcome-guide").isWelcomeGuideShown(),isNewPageLayoutModalOpen:e("automattic/starter-page-layouts")&&e("automattic/starter-page-layouts").isOpen(),isManuallyOpened:e("automattic/wpcom-welcome-guide").isWelcomeGuideManuallyOpened()}))),s=(0,i.bU)();return(new window.Image).src=(0,d.Z)(s)[0].meta.imgSrc,(0,r.useEffect)((()=>{var r;(e||t)&&(0,o.jN)("calypso_editor_wpcom_tour_open",{is_gutenboarding:null===(r=window.calypsoifyGutenberg)||void 0===r?void 0:r.isGutenboarding,is_manually_opened:n})}),[t,n,e]),!e||t?null:(0,r.createElement)(c.M,null,(0,r.createElement)(f,null))}},4316:function(e,t,n){"use strict";var r=n(9307),o=n(5609),i=n(5736),s=n(5869),u=n(8565),c=n(8574);const __=i.__;t.Z=e=>{let{steps:t,onMaximize:n,onDismiss:a,currentStepIndex:l}=e;const d=l+1,f=t.length-1+1;return(0,r.createElement)(o.Flex,{gap:0,className:"wpcom-editor-welcome-tour__minimized"},(0,r.createElement)(o.Button,{onClick:n,"aria-label":__("Resume Tour","full-site-editing")},(0,r.createElement)(o.Flex,{gap:13},(0,r.createElement)("p",null,(0,r.createInterpolateElement)((0,i.sprintf)(__("Resume welcome tour <span>(%1$d/%2$d)</span>","full-site-editing"),d,f),{span:(0,r.createElement)("span",{className:"wpcom-editor-welcome-tour__minimized-tour-index"})})),(0,r.createElement)(s.Z,{icon:c.Z,size:24}))),(0,r.createElement)(o.Button,{onClick:a("close-btn-minimized"),"aria-label":__("Close Tour","full-site-editing")},(0,r.createElement)(s.Z,{icon:u.Z,size:24})))}},6778:function(e,t,n){"use strict";var r=n(9307),o=n(2069),i=n(7520);t.Z=e=>{var t;let{steps:n,currentStepIndex:s,onDismiss:u,onNext:c,onPrevious:a,onMinimize:l,setInitialFocusedElement:d,onGoToStep:f}=e;const p=n.length-1,m=null===(t=window.calypsoifyGutenberg)||void 0===t?void 0:t.isGutenboarding,{justMaximized:h,setJustMaximized:g}=(0,i.m)();return(0,r.createElement)(o.Z,{cardContent:n[s].meta,currentStepIndex:s,justMaximized:h,lastStepIndex:p,onDismiss:u,onMinimize:l,setJustMaximized:g,setCurrentStepIndex:f,onNextStepProgression:c,onPreviousStepProgression:a,isGutenboarding:m,setInitialFocusedElement:d})}},8953:function(e,t,n){"use strict";var r=n(9307),o=n(7498),i=n(5609),s=n(5736);const __=s.__,u=[{desktop:null,mobile:null},{desktop:null,mobile:null},{mobile:".edit-post-header .edit-post-header__toolbar .components-button.edit-post-header-toolbar__inserter-toggle",desktop:".edit-post-header .edit-post-header__toolbar .components-button.edit-post-header-toolbar__inserter-toggle"},{desktop:null,mobile:null},{mobile:".edit-post-header .edit-post-header__settings .interface-pinned-items > button:nth-child(1)",desktop:".edit-post-header .edit-post-header__settings .interface-pinned-items > button:nth-child(1)"},{mobile:".edit-post-header .edit-post-header__toolbar .components-button.editor-history__undo",desktop:".edit-post-header .edit-post-header__toolbar .components-button.editor-history__undo"},{mobile:null,desktop:null},{desktop:null,mobile:null}];t.Z=function(e,t){return[{referenceElements:t&&u[0],meta:{heading:__("Welcome to WordPress!","full-site-editing"),description:__("Take this short, interactive tour to learn the fundamentals of the WordPress editor.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-welcome.png",animation:null}},{referenceElements:t&&u[1],meta:{heading:__("Everything is a block","full-site-editing"),description:__("In the WordPress Editor, paragraphs, images, and videos are all blocks.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-all-blocks.gif",animation:null}},{referenceElements:t&&u[2],meta:{heading:__("Adding a new block","full-site-editing"),description:__("Click + to open the inserter. Then click the block you want to add.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-add-block.gif",animation:"block-inserter"}},{referenceElements:t&&u[3],meta:{heading:__("Click a block to change it","full-site-editing"),description:__("Use the toolbar to change the appearance of a selected block. Try making it bold.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-make-bold.gif",animation:null}},{referenceElements:t&&u[4],meta:{heading:__("More Options","full-site-editing"),description:__("Click the settings icon to see even more options.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-more-options.gif",animation:null}},{referenceElements:t&&u[5],meta:{heading:__("Undo any mistake","full-site-editing"),description:__("Click the Undo button if you've made a mistake.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-undo.gif",animation:"undo-button"}},{referenceElements:t&&u[6],meta:{heading:__("Drag & drop","full-site-editing"),description:__("To move blocks around, click and drag the handle.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-move-block.gif",animation:"undo-button"}},{referenceElements:t&&u[7],meta:{heading:__("Congratulations!","full-site-editing"),description:(0,r.createInterpolateElement)(__("You've learned the basics. Remember, your site is private until you <link_to_launch_site_docs>decide to launch</link_to_launch_site_docs>. View the <link_to_editor_docs>block editing docs</link_to_editor_docs> to learn more.","full-site-editing"),{link_to_launch_site_docs:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/support/settings/privacy-settings/#launch-your-site",e)}),link_to_editor_docs:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/support/wordpress-editor/",e)})}),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-finish.png",animation:"block-inserter"}}]}},6115:function(e,t,n){"use strict";n.d(t,{jN:function(){return r.jN}});n(1694),n(6209),n(9377);var r=n(9792);n(3722)},9377:function(e,t,n){"use strict";let r=null;"undefined"!=typeof window&&window.addEventListener("popstate",(function(){r=null}))},9792:function(e,t,n){"use strict";n.d(t,{jN:function(){return f}});var r=n(2699),o=n(4898),i=(n(3421),n(2819)),s=(n(9377),n(6209),n(9358));n(1694);const u=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account","calypso_checkout_switch_to_p_24","calypso_checkout_composite_p24_submit_clicked"];let c,a=Promise.resolve();function l(e){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(e))}"undefined"!=typeof document&&(a=(0,o.ve)("//stats.wp.com/w.js?63"));const d=new r.EventEmitter;function f(e,t){if(t=t||{},(0,s.Z)('Record event "%s" called with props %o',e,t),e.startsWith("calypso_")||(0,i.includes)(u,e)){if(c){const e=c(t);t={...t,...e}}t=(0,i.omitBy)(t,(e=>void 0===e)),(0,s.Z)('Recording event "%s" with actual props %o',e,t),l(["recordEvent",e,t]),d.emit("record-event",e,t)}else(0,s.Z)('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}},3722:function(e,t,n){"use strict";n(9792)},6209:function(e,t,n){"use strict";n(4)},9358:function(e,t,n){"use strict";var r=n(8049),o=n.n(r);t.Z=o()("calypso:analytics")},1694:function(e,t,n){"use strict";n(9358)},4:function(e,t,n){"use strict";n(8032)},849:function(e,t,n){"use strict";n.d(t,{Iw:function(){return a},bU:function(){return d}});var r=n(7896),o=n(9307),i=n(4333),s=n(5736),u=n(9196);const c=(0,u.createContext)(null),a=e=>{let{children:t,localeSlug:n}=e;return(0,o.createElement)(c.Provider,{value:n},t)};function l(){var e,t;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e)return"";const t=["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"],n=e.toLowerCase();return(t.includes(n)?n.replace("_","-"):n.replace(/([-_].*)$/i,""))||"en"}(s.getLocaleData?null===(e=s.getLocaleData())||void 0===e||null===(t=e[""])||void 0===t?void 0:t.language:"")}function d(){const e=(0,u.useContext)(c),t=!!e,[n,r]=(0,u.useState)(l());return(0,u.useEffect)((()=>{if(!t)return r(l()),s.subscribe((()=>{r(l())}))}),[t]),e||n||"en"}(0,i.createHigherOrderComponent)((e=>t=>{const n=d();return(0,o.createElement)(e,(0,r.Z)({locale:n},t))}),"withLocale")},4655:function(e,t,n){"use strict";n.d(t,{OP:function(){return r},GG:function(){return o},iT:function(){return i},xn:function(){return s},Xb:function(){return u},hI:function(){return c},mL:function(){return a},vS:function(){return l},_r:function(){return d}});const r="en",o=["en","ja","es","pt","fr","pt-br"],i=["en","fr","de","es"],s=["en","fr","de","es"],u={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},c=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],a=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],l=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],d=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},7498:function(e,t,n){"use strict";n.d(t,{aq:function(){return h}});var r=n(7896),o=n(9307),i=n(4333),s=n(9196),u=n(849),c=n(4655);const a="http://__domain__.invalid",l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(n,r)=>(t.includes(r)&&"en"!==r&&n.pathname.substr(0,r.length+2)!=="/"+r+"/"&&(n.host=`${c.Xb[r]||r}.${e}`),n)},d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return(r,o)=>(r.host="wordpress.com","object"==typeof n&&n instanceof RegExp&&!n.test(r.pathname)&&(t=[]),r.pathname=e+r.pathname,t.includes(o)&&"en"!==o&&(r.pathname=o+r.pathname),r)},f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return(r,o)=>"object"==typeof t&&t instanceof RegExp&&!t.test(r.pathname)?r:e.includes(o)&&"en"!==o?("prefix"===n?r.pathname=o+r.pathname:"suffix"===n&&(r.pathname.endsWith("/")?r.pathname+=o+"/":r.pathname+="/"+o),r):r},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(n,r)=>f(e,t,"prefix")(n,r)},m={"wordpress.com/support/":p(c.hI),"wordpress.com/forums/":p(c.mL),"wordpress.com/blog/":p(c.GG,/^\/blog\/?$/),"wordpress.com/tos/":p(c.vS),"wordpress.com/wp-admin/":l("wordpress.com",c.vS),"wordpress.com/wp-login.php":l("wordpress.com",c.vS),"jetpack.com":l("jetpack.com",c._r),"en.support.wordpress.com":d("/support",c.hI),"en.blog.wordpress.com":d("/blog",c.GG,/^\/$/),"en.forums.wordpress.com":d("/forums",c.mL),"automattic.com/privacy/":p(c.iT),"automattic.com/cookies/":p(c.xn),"wordpress.com/help/contact/":(e,t,n)=>n?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),p(c.hI)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:p(c.vS)(e,t),"wordpress.com/theme/":(e,t,n)=>n?e:p(c.vS)(e,t),"wordpress.com/themes/":(e,t,n)=>n?e:p(c.vS)(e,t),"wordpress.com/log-in/":(e,t,n)=>n?e:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(n,r)=>f(e,t,"suffix")(n,r)}(c.vS)(e,t)};function h(e,t){let n,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];try{n=new URL(String(e),a)}catch(s){return e}if(n.origin===a)return e;n.protocol="https:",n.hostname="",n.pathname.endsWith(".php")||(n.pathname=(n.pathname+"/").replace(/\/+$/,"/"));const o=n.pathname.substr(0,1+n.pathname.indexOf("/",1));if("en.wordpress.com"===n.host&&(n.host="wordpress.com"),"/"+t+"/"===o)return e;const i=[n.host,n.host+o,n.host+n.pathname];for(let u=i.length-1;u>=0;u--)if(i[u]in m)return m[i[u]](n,t,r).href;return e}function g(){const e=(0,u.bU)();return(0,s.useCallback)(((t,n,r)=>h(t,n||e,r)),[e])}(0,i.createHigherOrderComponent)((e=>t=>{const n=g();return(0,o.createElement)(e,(0,r.Z)({localizeUrl:n},t))}),"withLocalizeUrl")},3340:function(e,t,n){"use strict";n.d(t,{hg:function(){return u},lZ:function(){return c},_W:function(){return l},Yt:function(){return d}});var r=n(8049);const o=n.n(r)()("lib/load-script/callback-handler"),i=new Map;function s(){return i}function u(e){return s().has(e)}function c(e,t){const n=s();u(e)?(o(`Adding a callback for an existing script from "${e}"`),n.get(e).add(t)):(o(`Adding a callback for a new script from "${e}"`),n.set(e,new Set([t])))}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=s(),r=n.get(e);if(r){o(`Executing callbacks for "${e}"`+(null===t?" with success":` with error "${t}"`)),r.forEach((e=>{"function"==typeof e&&e(t)})),n.delete(e)}}function l(){const e=this.getAttribute("src");o(`Handling successful request for "${e}"`),a(e),this.onload=null}function d(){const e=this.getAttribute("src");o(`Handling failed request for "${e}"`),a(e,new Error(`Failed to load script "${e}"`)),this.onerror=null}},5606:function(e,t,n){"use strict";n.d(t,{C:function(){return u},k:function(){return c}});var r=n(8049),o=n.n(r),i=n(3340);const s=o()("lib/load-script/dom-operations");function u(e){s(`Creating script element for "${e}"`);const t=document.createElement("script");return t.src=e,t.type="text/javascript",t.async=!0,t.onload=i._W,t.onerror=i.Yt,t}function c(e){s("Attaching element to head"),document.head.appendChild(e)}},4898:function(e,t,n){"use strict";n.d(t,{ve:function(){return u}});var r=n(8049),o=n.n(r),i=n(3340),s=n(5606);o()("package/load-script");function u(e,t){if(!(0,i.hg)(e)&&(0,s.k)((0,s.C)(e)),"function"!=typeof t)return new Promise(((t,n)=>{(0,i.lZ)(e,(e=>{null===e?t():n(e)}))}));(0,i.lZ)(e,t)}},8626:function(e,t,n){"use strict";var r=n(9307),o=(n(9196),n(7474)),i=n(5386),s=n(9946);t.Z=e=>{let{onMinimize:t,onDismiss:n,onNextStepProgression:u,onPreviousStepProgression:c,tourContainerRef:a,isMinimized:l}=e;return(0,o.Z)(a)?l?(0,r.createElement)((function(){return(0,s.Z)({onEscape:n("esc-key-minimized")}),null}),null):(0,r.createElement)((function(){return(0,s.Z)({onEscape:t,onArrowRight:u,onArrowLeft:c}),(0,i.Z)(a),null}),null):null}},1075:function(e,t,n){"use strict";var r=n(9307),o=n(2779),i=n.n(o);t.Z=e=>{let{visible:t}=e;return(0,r.createElement)("div",{className:i()("tour-kit__overlay",{"--visible":t})})}},9012:function(e,t,n){"use strict";var r=n(7896),o=n(9307),i=n(2779),s=n.n(i),u=n(3082),c=n(1075);t.Z=e=>{let{referenceElement:t}=e;const n=(0,o.useRef)(null),i=[(0,o.useMemo)((()=>({name:"offset",options:{offset:e=>{let{placement:t,reference:n,popper:r}=e;return"bottom"===t?[0,-(n.height+(r.height-n.height)/2)]:[0,0]}}})),[])],{styles:a,attributes:l}=(0,u.Z)(t,n.current,i),d=t?{style:null==a?void 0:a.popper,...null==l?void 0:l.popper}:null;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(c.Z,{visible:!d}),(0,o.createElement)("div",(0,r.Z)({className:s()("tour-kit__spotlight",{"--visible":!!d}),ref:n},d)))}},4326:function(e,t,n){"use strict";var r=n(7896),o=n(9307),i=n(2779),s=n.n(i),u=n(3082),c=n(8626),a=n(1075),l=n(9012);const d=(e,t)=>{"function"==typeof t&&t(e)};t.Z=e=>{var t,n,i,f,p,m,h,g,v,w,y,b,_,E,C,x,S;let{config:Z}=e;const k=(0,o.useRef)(null),O=(0,o.useRef)(null),[M,P]=(0,o.useState)(null),[F,L]=(0,o.useState)(!1),[j,R]=(0,o.useState)(0),z=Z.steps.length-1,T=(null===(t=Z.steps[j].referenceElements)||void 0===t?void 0:t.desktop)||null,N=T?document.querySelector(T):null,A=()=>{var e,t;return!1!==(null===(e=Z.options)||void 0===e||null===(t=e.effects)||void 0===t?void 0:t.arrowIndicator)&&!(!N||F)},{styles:W,attributes:I}=(0,u.Z)(N,O.current,[{name:"preventOverflow",options:{rootBoundary:"document",padding:16}},{name:"arrow",options:{padding:12}},{name:"offset",options:{offset:[0,A()?12:10]}},...(null===(n=Z.options)||void 0===n?void 0:n.popperModifiers)||[]]),G=!F&&N?{style:null==W?void 0:W.popper,...null==I?void 0:I.popper}:null,D={style:null==W?void 0:W.arrow,...null==I?void 0:I.arrow},B=(0,o.useCallback)((()=>{var e,t;return!(null===(e=Z.options)||void 0===e||null===(t=e.effects)||void 0===t||!t.__experimental__spotlight)&&!F}),[null===(i=Z.options)||void 0===i||null===(f=i.effects)||void 0===f?void 0:f.__experimental__spotlight,F]),U=(0,o.useCallback)((()=>{var e,t;return!(B()||null===(e=Z.options)||void 0===e||null===(t=e.effects)||void 0===t||!t.overlay)&&!F}),[null===(p=Z.options)||void 0===p||null===(m=p.effects)||void 0===m?void 0:m.overlay,F,B]),H=(0,o.useCallback)((e=>()=>{Z.closeHandler(Z.steps,j,e)}),[Z,j]),$=(0,o.useCallback)((()=>{var e,t;z>j&&R(j+1),d(j,null===(e=Z.options)||void 0===e||null===(t=e.callbacks)||void 0===t?void 0:t.onNextStep)}),[null===(h=Z.options)||void 0===h||null===(g=h.callbacks)||void 0===g?void 0:g.onNextStep,j,z]),V=(0,o.useCallback)((()=>{var e,t;j&&R(j-1),d(j,null===(e=Z.options)||void 0===e||null===(t=e.callbacks)||void 0===t?void 0:t.onPreviousStep)}),[null===(v=Z.options)||void 0===v||null===(w=v.callbacks)||void 0===w?void 0:w.onPreviousStep,j]),q=(0,o.useCallback)((e=>{var t,n;R(e),d(j,null===(t=Z.options)||void 0===t||null===(n=t.callbacks)||void 0===n?void 0:n.onGoToStep)}),[null===(y=Z.options)||void 0===y||null===(b=y.callbacks)||void 0===b?void 0:b.onGoToStep,j]),K=(0,o.useCallback)((()=>{var e,t;L(!0),d(j,null===(e=Z.options)||void 0===e||null===(t=e.callbacks)||void 0===t?void 0:t.onMinimize)}),[null===(_=Z.options)||void 0===_||null===(E=_.callbacks)||void 0===E?void 0:E.onMinimize,j]),Y=(0,o.useCallback)((()=>{var e,t;L(!1),d(j,null===(e=Z.options)||void 0===e||null===(t=e.callbacks)||void 0===t?void 0:t.onMaximize)}),[null===(C=Z.options)||void 0===C||null===(x=C.callbacks)||void 0===x?void 0:x.onMaximize,j]);(0,o.useEffect)((()=>{setTimeout((()=>null==M?void 0:M.focus()))}),[M]);const J=s()("tour-kit",null===(S=Z.options)||void 0===S?void 0:S.className);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(c.Z,{onMinimize:K,onDismiss:H,onNextStepProgression:$,onPreviousStepProgression:V,tourContainerRef:k,isMinimized:F}),(0,o.createElement)("div",{className:J,ref:k},U()&&(0,o.createElement)(a.Z,{visible:!0}),B()&&(0,o.createElement)(l.Z,{referenceElement:N}),(0,o.createElement)("div",(0,r.Z)({className:"tour-kit__frame",ref:O},G),A()&&(0,o.createElement)("div",(0,r.Z)({className:"tour-kit__arrow","data-popper-arrow":!0},D)),F?(0,o.createElement)(o.Fragment,null,Z.renderers.tourMinimized({steps:Z.steps,currentStepIndex:j,onMaximize:Y,onDismiss:H})):(0,o.createElement)(o.Fragment,null,Z.renderers.tourStep({steps:Z.steps,currentStepIndex:j,onDismiss:H,onNext:$,onPrevious:V,onMinimize:K,setInitialFocusedElement:P,onGoToStep:q})))))}},1990:function(e,t,n){"use strict";var r=n(9307),o=n(4326);n(6910);t.Z=e=>{let{config:t}=e;const n=(0,r.useRef)(document.createElement("div")).current;return(0,r.useEffect)((()=>(n.classList.add("tour-kit__portal-parent"),document.body.appendChild(n),()=>{document.body.removeChild(n)})),[n]),(0,r.createElement)("div",null,(0,r.createPortal)((0,r.createElement)(o.Z,{config:t}),n))}},7474:function(e,t,n){"use strict";var r=n(9307);t.Z=e=>{const[t,n]=(0,r.useState)(!1),o=(0,r.useCallback)((()=>{var t;document.hasFocus()&&null!==(t=e.current)&&void 0!==t&&t.contains(document.activeElement)?n(!0):n(!1)}),[e]),i=(0,r.useCallback)((t=>{var r;null!==(r=e.current)&&void 0!==r&&r.contains(t.target)?n(!0):n(!1)}),[e]),s=(0,r.useCallback)((t=>{var r;"Tab"===t.key&&(null!==(r=e.current)&&void 0!==r&&r.contains(t.target)?n(!0):n(!1))}),[e]);return(0,r.useEffect)((()=>(document.addEventListener("focusin",o),document.addEventListener("mousedown",i),document.addEventListener("keyup",s),()=>{document.removeEventListener("focusin",o),document.removeEventListener("mousedown",i),document.removeEventListener("keyup",s)})),[e,o,s,i]),t}},5386:function(e,t,n){"use strict";var r=n(9307);t.Z=e=>{const[t,n]=(0,r.useState)(),[o,i]=(0,r.useState)(),s=(0,r.useCallback)((e=>{let n=!1;"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(null==o||o.focus(),n=!0):document.activeElement===o&&(null==t||t.focus(),n=!0)),n&&(e.preventDefault(),e.stopPropagation())}),[t,o]);(0,r.useEffect)((()=>{var t;const r=null===(t=e.current)||void 0===t?void 0:t.querySelectorAll(["a[href]:not([disabled])","button:not([disabled])","textarea:not([disabled])",'input[type="text"]:not([disabled])','input[type="radio"]:not([disabled])','input[type="checkbox"]:not([disabled])',"select:not([disabled])"].toString());return r&&r.length&&(n(r[0]),i(r[r.length-1])),document.addEventListener("keydown",s),()=>{document.removeEventListener("keydown",s)}}),[e,s])}},9946:function(e,t,n){"use strict";var r=n(9307);t.Z=e=>{let{onEscape:t,onArrowRight:n,onArrowLeft:o}=e;const i=(0,r.useCallback)((e=>{let r=!1;switch(e.key){case"Escape":t&&(t(),r=!0);break;case"ArrowRight":n&&(n(),r=!0);break;case"ArrowLeft":o&&(o(),r=!0)}r&&(e.preventDefault(),e.stopPropagation())}),[t,n,o]);(0,r.useEffect)((()=>(document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i)})),[i])}},3082:function(e,t,n){"use strict";var r=n(6194);t.Z=(e,t,n)=>{const{styles:o,attributes:i}=(0,r.D)(e,t,{strategy:"fixed",modifiers:n});return e?{styles:o,attributes:i}:{}}},8049:function(e,t,n){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(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.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,console.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=console.debug||console.log||(()=>{}),e.exports=n(2632)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},2632:function(e,t,n){e.exports=function(e){function t(e){let n,o,i,s=null;function u(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if(!u.enabled)return;const i=u,s=Number(new Date),c=s-(n||s);i.diff=c,i.prev=n,i.curr=s,n=s,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let a=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";a++;const o=t.formatters[n];if("function"==typeof o){const t=r[a];e=o.call(i,t),r.splice(a,1),a--}return e})),t.formatArgs.call(i,r);const l=i.log||t.log;l.apply(i,r)}return u.namespace=e,u.useColors=t.useColors(),u.color=t.selectColor(e),u.extend=r,u.destroy=t.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{s=e}}),"function"==typeof t.init&&t.init(u),u}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(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(o),...t.skips.map(o).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<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(1378),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},3790:function(e,t,n){"use strict";e.exports=n.p+"images/draft-post-19715e868be3c82bb350.svg"},5275:function(e,t,n){"use strict";e.exports=n.p+"images/post-published-ca9ddfc04a7c889a72d2.svg"},9711:function(e,t,n){"use strict";e.exports=n.p+"images/block-picker-baad989c3eaa6c60cc56.svg"},6595:function(e,t,n){"use strict";e.exports=n.p+"images/editor-a1965f46cfb792664a14.svg"},5486:function(e,t,n){"use strict";e.exports=n.p+"images/preview-a3fa241fd59995b1fc42.svg"},7821:function(e,t,n){"use strict";e.exports=n.p+"images/private-761a5407869f32039248.svg"},9196:function(e){"use strict";e.exports=window.React},3288:function(e){"use strict";e.exports=window["a8c-fse-common-data-stores"]},2819:function(e){"use strict";e.exports=window.lodash},6989:function(e){"use strict";e.exports=window.wp.apiFetch},5609:function(e){"use strict";e.exports=window.wp.components},4333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},3418:function(e){"use strict";e.exports=window.wp.dataControls},9307:function(e){"use strict";e.exports=window.wp.element},2694:function(e){"use strict";e.exports=window.wp.hooks},5736:function(e){"use strict";e.exports=window.wp.i18n},462:function(e){"use strict";e.exports=window.wp.nux},8817:function(e){"use strict";e.exports=window.wp.plugins},444:function(e){"use strict";e.exports=window.wp.primitives},6483:function(e){"use strict";e.exports=window.wp.url},7896:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}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]={exports:{}};return e[r](i,i.exports,n),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.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},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}();var r={};!function(){"use strict";n.r(r);var e=n(1970);n(1568),n(7869);(0,e.z2)()}(),window.EditingToolkit=r}();
1
+ !function(){var e={7566:function(e,t,n){"use strict";n.d(t,{kZ:function(){return p}});var r=n(2140),o=n(6249),i=n(1119),s=n(7936),c=n(421),u=n(4806),a=n(3352),l=n(8555),d={placement:"bottom",modifiers:[],strategy:"absolute"};function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function p(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,p=void 0===n?[]:n,m=t.defaultOptions,h=void 0===m?d:m;return function(e,t,n){void 0===n&&(n=h);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},d,h),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},g=[],v=!1,w={state:m,setOptions:function(n){var r="function"==typeof n?n(m.options):n;y(),m.options=Object.assign({},h,m.options,r),m.scrollParents={reference:(0,l.kK)(e)?(0,i.Z)(e):e.contextElement?(0,i.Z)(e.contextElement):[],popper:(0,i.Z)(t)};var o=(0,c.Z)((0,a.Z)([].concat(p,m.options.modifiers)));return m.orderedModifiers=o.filter((function(e){return e.enabled})),m.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:m,name:t,instance:w,options:r}),s=function(){};g.push(i||s)}})),w.update()},forceUpdate:function(){if(!v){var e=m.elements,t=e.reference,n=e.popper;if(f(t,n)){m.rects={reference:(0,r.Z)(t,(0,s.Z)(n),"fixed"===m.options.strategy),popper:(0,o.Z)(n)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach((function(e){return m.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<m.orderedModifiers.length;i++)if(!0!==m.reset){var c=m.orderedModifiers[i],u=c.fn,a=c.options,l=void 0===a?{}:a,d=c.name;"function"==typeof u&&(m=u({state:m,options:l,name:d,instance:w})||m)}else m.reset=!1,i=-1}}},update:(0,u.Z)((function(){return new Promise((function(e){w.forceUpdate(),e(m)}))})),destroy:function(){y(),v=!0}};if(!f(e,t))return w;function y(){g.forEach((function(e){return e()})),g=[]}return w.setOptions(n).then((function(e){!v&&n.onFirstUpdate&&n.onFirstUpdate(e)})),w}}},5350:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8555);function o(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Zq)(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}},2881:function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}n.d(t,{Z:function(){return r}})},889:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(6166),o=n(4691),i=n(6764),s=n(1119),c=n(7936),u=n(2021),a=n(9546),l=n(8555),d=n(2881),f=n(2882),p=n(5350),m=n(98),h=n(7365),g=n(8072);function v(e,t){return t===r.Pj?(0,h.Z)((0,o.Z)(e)):(0,l.Re)(t)?function(e){var t=(0,d.Z)(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):(0,h.Z)((0,i.Z)((0,u.Z)(e)))}function w(e,t,n){var r="clippingParents"===t?function(e){var t=(0,s.Z)((0,f.Z)(e)),n=["absolute","fixed"].indexOf((0,a.Z)(e).position)>=0&&(0,l.Re)(e)?(0,c.Z)(e):e;return(0,l.kK)(n)?t.filter((function(e){return(0,l.kK)(e)&&(0,p.Z)(e,n)&&"body"!==(0,m.Z)(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],u=o.reduce((function(t,n){var r=v(e,n);return t.top=(0,g.Fp)(r.top,t.top),t.right=(0,g.VV)(r.right,t.right),t.bottom=(0,g.VV)(r.bottom,t.bottom),t.left=(0,g.Fp)(r.left,t.left),t}),v(e,i));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}},2140:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2881),o=n(6637),i=n(98),s=n(8555),c=n(1051),u=n(2021),a=n(8519);function l(e,t,n){void 0===n&&(n=!1);var l=(0,s.Re)(t),d=(0,s.Re)(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return 1!==n||1!==r}(t),f=(0,u.Z)(t),p=(0,r.Z)(e,d),m={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(l||!l&&!n)&&(("body"!==(0,i.Z)(t)||(0,a.Z)(f))&&(m=(0,o.Z)(t)),(0,s.Re)(t)?((h=(0,r.Z)(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):f&&(h.x=(0,c.Z)(f))),{x:p.left+m.scrollLeft-h.x,y:p.top+m.scrollTop-h.y,width:p.width,height:p.height}}},9546:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3189);function o(e){return(0,r.Z)(e).getComputedStyle(e)}},2021:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8555);function o(e){return(((0,r.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}},6764:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(2021),o=n(9546),i=n(1051),s=n(5392),c=n(8072);function u(e){var t,n=(0,r.Z)(e),u=(0,s.Z)(e),a=null==(t=e.ownerDocument)?void 0:t.body,l=(0,c.Fp)(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),d=(0,c.Fp)(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),f=-u.scrollLeft+(0,i.Z)(e),p=-u.scrollTop;return"rtl"===(0,o.Z)(a||n).direction&&(f+=(0,c.Fp)(n.clientWidth,a?a.clientWidth:0)-l),{width:l,height:d,x:f,y:p}}},812:function(e,t,n){"use strict";function r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}n.d(t,{Z:function(){return r}})},6249:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2881);function o(e){var t=(0,r.Z)(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}},98:function(e,t,n){"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{Z:function(){return r}})},6637:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5392),o=n(3189),i=n(8555),s=n(812);function c(e){return e!==(0,o.Z)(e)&&(0,i.Re)(e)?(0,s.Z)(e):(0,r.Z)(e)}},7936:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(3189),o=n(98),i=n(9546),s=n(8555),c=n(1725),u=n(2882);function a(e){return(0,s.Re)(e)&&"fixed"!==(0,i.Z)(e).position?e.offsetParent:null}function l(e){for(var t=(0,r.Z)(e),n=a(e);n&&(0,c.Z)(n)&&"static"===(0,i.Z)(n).position;)n=a(n);return n&&("html"===(0,o.Z)(n)||"body"===(0,o.Z)(n)&&"static"===(0,i.Z)(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,s.Re)(e)&&"fixed"===(0,i.Z)(e).position)return null;for(var n=(0,u.Z)(e);(0,s.Re)(n)&&["html","body"].indexOf((0,o.Z)(n))<0;){var r=(0,i.Z)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}},2882:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(98),o=n(2021),i=n(8555);function s(e){return"html"===(0,r.Z)(e)?e:e.assignedSlot||e.parentNode||((0,i.Zq)(e)?e.host:null)||(0,o.Z)(e)}},7915:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2882),o=n(8519),i=n(98),s=n(8555);function c(e){return["html","body","#document"].indexOf((0,i.Z)(e))>=0?e.ownerDocument.body:(0,s.Re)(e)&&(0,o.Z)(e)?e:c((0,r.Z)(e))}},4691:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(3189),o=n(2021),i=n(1051);function s(e){var t=(0,r.Z)(e),n=(0,o.Z)(e),s=t.visualViewport,c=n.clientWidth,u=n.clientHeight,a=0,l=0;return s&&(c=s.width,u=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=s.offsetLeft,l=s.offsetTop)),{width:c,height:u,x:a+(0,i.Z)(e),y:l}}},3189:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{Z:function(){return r}})},5392:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3189);function o(e){var t=(0,r.Z)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},1051:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2881),o=n(2021),i=n(5392);function s(e){return(0,r.Z)((0,o.Z)(e)).left+(0,i.Z)(e).scrollLeft}},8555:function(e,t,n){"use strict";n.d(t,{kK:function(){return o},Re:function(){return i},Zq:function(){return s}});var r=n(3189);function o(e){return e instanceof(0,r.Z)(e).Element||e instanceof Element}function i(e){return e instanceof(0,r.Z)(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,r.Z)(e).ShadowRoot||e instanceof ShadowRoot)}},8519:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9546);function o(e){var t=(0,r.Z)(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}},1725:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98);function o(e){return["table","td","th"].indexOf((0,r.Z)(e))>=0}},1119:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(7915),o=n(2882),i=n(3189),s=n(8519);function c(e,t){var n;void 0===t&&(t=[]);var u=(0,r.Z)(e),a=u===(null==(n=e.ownerDocument)?void 0:n.body),l=(0,i.Z)(u),d=a?[l].concat(l.visualViewport||[],(0,s.Z)(u)?u:[]):u,f=t.concat(d);return a?f:f.concat(c((0,o.Z)(d)))}},6166:function(e,t,n){"use strict";n.d(t,{we:function(){return r},I:function(){return o},F2:function(){return i},t$:function(){return s},d7:function(){return c},mv:function(){return u},BL:function(){return a},ut:function(){return l},zV:function(){return d},Pj:function(){return f},k5:function(){return p},YP:function(){return m},bw:function(){return h},Ct:function(){return g},xs:function(){return v}});var r="top",o="bottom",i="right",s="left",c="auto",u=[r,o,i,s],a="start",l="end",d="clippingParents",f="viewport",p="popper",m="reference",h=u.reduce((function(e,t){return e.concat([t+"-"+a,t+"-"+l])}),[]),g=[].concat(u,[c]).reduce((function(e,t){return e.concat([t,t+"-"+a,t+"-"+l])}),[]),v=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},1414:function(e,t,n){"use strict";var r=n(98),o=n(8555);t.Z={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},s=t.elements[e];(0,o.Re)(s)&&(0,r.Z)(s)&&(Object.assign(s.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],s=t.attributes[e]||{},c=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,o.Re)(i)&&(0,r.Z)(i)&&(Object.assign(i.style,c),Object.keys(s).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]}},335:function(e,t,n){"use strict";var r=n(7677),o=n(6249),i=n(5350),s=n(7936),c=n(1505),u=n(964),a=n(6713),l=n(315),d=n(6166);t.Z={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,f=e.options,p=n.elements.arrow,m=n.modifiersData.popperOffsets,h=(0,r.Z)(n.placement),g=(0,c.Z)(h),v=[d.t$,d.F2].indexOf(h)>=0?"height":"width";if(p&&m){var w=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,a.Z)("number"!=typeof e?e:(0,l.Z)(e,d.mv))}(f.padding,n),y=(0,o.Z)(p),b="y"===g?d.we:d.t$,_="y"===g?d.I:d.F2,E=n.rects.reference[v]+n.rects.reference[g]-m[g]-n.rects.popper[v],x=m[g]-n.rects.reference[g],C=(0,s.Z)(p),S=C?"y"===g?C.clientHeight||0:C.clientWidth||0:0,Z=E/2-x/2,k=w[b],O=S-y[v]-w[_],M=S/2-y[v]/2+Z,P=(0,u.Z)(k,M,O),F=g;n.modifiersData[i]=((t={})[F]=P,t.centerOffset=P-M,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&(0,i.Z)(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},917:function(e,t,n){"use strict";var r=n(6166),o=n(7936),i=n(3189),s=n(2021),c=n(9546),u=n(7677),a=n(4531),l=n(8072),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f(e){var t,n=e.popper,u=e.popperRect,a=e.placement,f=e.variation,p=e.offsets,m=e.position,h=e.gpuAcceleration,g=e.adaptive,v=e.roundOffsets,w=!0===v?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:(0,l.NM)((0,l.NM)(t*r)/r)||0,y:(0,l.NM)((0,l.NM)(n*r)/r)||0}}(p):"function"==typeof v?v(p):p,y=w.x,b=void 0===y?0:y,_=w.y,E=void 0===_?0:_,x=p.hasOwnProperty("x"),C=p.hasOwnProperty("y"),S=r.t$,Z=r.we,k=window;if(g){var O=(0,o.Z)(n),M="clientHeight",P="clientWidth";O===(0,i.Z)(n)&&(O=(0,s.Z)(n),"static"!==(0,c.Z)(O).position&&"absolute"===m&&(M="scrollHeight",P="scrollWidth")),O=O,a!==r.we&&(a!==r.t$&&a!==r.F2||f!==r.ut)||(Z=r.I,E-=O[M]-u.height,E*=h?1:-1),a!==r.t$&&(a!==r.we&&a!==r.I||f!==r.ut)||(S=r.F2,b-=O[P]-u.width,b*=h?1:-1)}var F,L=Object.assign({position:m},g&&d);return h?Object.assign({},L,((F={})[Z]=C?"0":"",F[S]=x?"0":"",F.transform=(k.devicePixelRatio||1)<=1?"translate("+b+"px, "+E+"px)":"translate3d("+b+"px, "+E+"px, 0)",F)):Object.assign({},L,((t={})[Z]=C?E+"px":"",t[S]=x?b+"px":"",t.transform="",t))}t.Z={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,s=void 0===i||i,c=n.roundOffsets,l=void 0===c||c,d={placement:(0,u.Z)(t.placement),variation:(0,a.Z)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,f(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,f(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},3191:function(e,t,n){"use strict";var r=n(3189),o={passive:!0};t.Z={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,c=void 0===s||s,u=i.resize,a=void 0===u||u,l=(0,r.Z)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return c&&d.forEach((function(e){e.addEventListener("scroll",n.update,o)})),a&&l.addEventListener("resize",n.update,o),function(){c&&d.forEach((function(e){e.removeEventListener("scroll",n.update,o)})),a&&l.removeEventListener("resize",n.update,o)}},data:{}}},5207:function(e,t,n){"use strict";var r=n(942),o=n(7677),i=n(12),s=n(9356),c=n(7826),u=n(6166),a=n(4531);t.Z={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,l=e.name;if(!t.modifiersData[l]._skip){for(var d=n.mainAxis,f=void 0===d||d,p=n.altAxis,m=void 0===p||p,h=n.fallbackPlacements,g=n.padding,v=n.boundary,w=n.rootBoundary,y=n.altBoundary,b=n.flipVariations,_=void 0===b||b,E=n.allowedAutoPlacements,x=t.options.placement,C=(0,o.Z)(x),S=h||(C===x||!_?[(0,r.Z)(x)]:function(e){if((0,o.Z)(e)===u.d7)return[];var t=(0,r.Z)(e);return[(0,i.Z)(e),t,(0,i.Z)(t)]}(x)),Z=[x].concat(S).reduce((function(e,n){return e.concat((0,o.Z)(n)===u.d7?(0,c.Z)(t,{placement:n,boundary:v,rootBoundary:w,padding:g,flipVariations:_,allowedAutoPlacements:E}):n)}),[]),k=t.rects.reference,O=t.rects.popper,M=new Map,P=!0,F=Z[0],L=0;L<Z.length;L++){var j=Z[L],R=(0,o.Z)(j),z=(0,a.Z)(j)===u.BL,A=[u.we,u.I].indexOf(R)>=0,T=A?"width":"height",N=(0,s.Z)(t,{placement:j,boundary:v,rootBoundary:w,altBoundary:y,padding:g}),W=A?z?u.F2:u.t$:z?u.I:u.we;k[T]>O[T]&&(W=(0,r.Z)(W));var I=(0,r.Z)(W),G=[];if(f&&G.push(N[R]<=0),m&&G.push(N[W]<=0,N[I]<=0),G.every((function(e){return e}))){F=j,P=!1;break}M.set(j,G)}if(P)for(var D=function(e){var t=Z.find((function(t){var n=M.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return F=t,"break"},B=_?3:1;B>0;B--){if("break"===D(B))break}t.placement!==F&&(t.modifiersData[l]._skip=!0,t.placement=F,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},2883:function(e,t,n){"use strict";var r=n(6166),o=n(9356);function i(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function s(e){return[r.we,r.F2,r.I,r.t$].some((function(t){return e[t]>=0}))}t.Z={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,c=t.rects.popper,u=t.modifiersData.preventOverflow,a=(0,o.Z)(t,{elementContext:"reference"}),l=(0,o.Z)(t,{altBoundary:!0}),d=i(a,r),f=i(l,c,u),p=s(d),m=s(f);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}}},3108:function(e,t,n){"use strict";var r=n(7677),o=n(6166);t.Z={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.offset,c=void 0===s?[0,0]:s,u=o.Ct.reduce((function(e,n){return e[n]=function(e,t,n){var i=(0,r.Z)(e),s=[o.t$,o.we].indexOf(i)>=0?-1:1,c="function"==typeof n?n(Object.assign({},t,{placement:e})):n,u=c[0],a=c[1];return u=u||0,a=(a||0)*s,[o.t$,o.F2].indexOf(i)>=0?{x:a,y:u}:{x:u,y:a}}(n,t.rects,c),e}),{}),a=u[t.placement],l=a.x,d=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[i]=u}}},5435:function(e,t,n){"use strict";var r=n(6919);t.Z={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,r.Z)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},6998:function(e,t,n){"use strict";var r=n(6166),o=n(7677),i=n(1505),s=n(5754),c=n(964),u=n(6249),a=n(7936),l=n(9356),d=n(4531),f=n(3046),p=n(8072);t.Z={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,m=e.name,h=n.mainAxis,g=void 0===h||h,v=n.altAxis,w=void 0!==v&&v,y=n.boundary,b=n.rootBoundary,_=n.altBoundary,E=n.padding,x=n.tether,C=void 0===x||x,S=n.tetherOffset,Z=void 0===S?0:S,k=(0,l.Z)(t,{boundary:y,rootBoundary:b,padding:E,altBoundary:_}),O=(0,o.Z)(t.placement),M=(0,d.Z)(t.placement),P=!M,F=(0,i.Z)(O),L=(0,s.Z)(F),j=t.modifiersData.popperOffsets,R=t.rects.reference,z=t.rects.popper,A="function"==typeof Z?Z(Object.assign({},t.rects,{placement:t.placement})):Z,T={x:0,y:0};if(j){if(g||w){var N="y"===F?r.we:r.t$,W="y"===F?r.I:r.F2,I="y"===F?"height":"width",G=j[F],D=j[F]+k[N],B=j[F]-k[W],U=C?-z[I]/2:0,H=M===r.BL?R[I]:z[I],$=M===r.BL?-z[I]:-R[I],V=t.elements.arrow,q=C&&V?(0,u.Z)(V):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,f.Z)(),Y=K[N],J=K[W],X=(0,c.Z)(0,R[I],q[I]),Q=P?R[I]/2-U-X-Y-A:H-X-Y-A,ee=P?-R[I]/2+U+X+J+A:$+X+J+A,te=t.elements.arrow&&(0,a.Z)(t.elements.arrow),ne=te?"y"===F?te.clientTop||0:te.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][F]:0,oe=j[F]+Q-re-ne,ie=j[F]+ee-re;if(g){var se=(0,c.Z)(C?(0,p.VV)(D,oe):D,G,C?(0,p.Fp)(B,ie):B);j[F]=se,T[F]=se-G}if(w){var ce="x"===F?r.we:r.t$,ue="x"===F?r.I:r.F2,ae=j[L],le=ae+k[ce],de=ae-k[ue],fe=(0,c.Z)(C?(0,p.VV)(le,oe):le,ae,C?(0,p.Fp)(de,ie):de);j[L]=fe,T[L]=fe-ae}}t.modifiersData[m]=T}},requiresIfExists:["offset"]}},7295:function(e,t,n){"use strict";n.d(t,{fi:function(){return m}});var r=n(7566),o=n(3191),i=n(5435),s=n(917),c=n(1414),u=n(3108),a=n(5207),l=n(6998),d=n(335),f=n(2883),p=[o.Z,i.Z,s.Z,c.Z,u.Z,a.Z,l.Z,d.Z,f.Z],m=(0,r.kZ)({defaultModifiers:p})},7826:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(4531),o=n(6166),i=n(9356),s=n(7677);function c(e,t){void 0===t&&(t={});var n=t,c=n.placement,u=n.boundary,a=n.rootBoundary,l=n.padding,d=n.flipVariations,f=n.allowedAutoPlacements,p=void 0===f?o.Ct:f,m=(0,r.Z)(c),h=m?d?o.bw:o.bw.filter((function(e){return(0,r.Z)(e)===m})):o.mv,g=h.filter((function(e){return p.indexOf(e)>=0}));0===g.length&&(g=h);var v=g.reduce((function(t,n){return t[n]=(0,i.Z)(e,{placement:n,boundary:u,rootBoundary:a,padding:l})[(0,s.Z)(n)],t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}},6919:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(7677),o=n(4531),i=n(1505),s=n(6166);function c(e){var t,n=e.reference,c=e.element,u=e.placement,a=u?(0,r.Z)(u):null,l=u?(0,o.Z)(u):null,d=n.x+n.width/2-c.width/2,f=n.y+n.height/2-c.height/2;switch(a){case s.we:t={x:d,y:n.y-c.height};break;case s.I:t={x:d,y:n.y+n.height};break;case s.F2:t={x:n.x+n.width,y:f};break;case s.t$:t={x:n.x-c.width,y:f};break;default:t={x:n.x,y:n.y}}var p=a?(0,i.Z)(a):null;if(null!=p){var m="y"===p?"height":"width";switch(l){case s.BL:t[p]=t[p]-(n[m]/2-c[m]/2);break;case s.ut:t[p]=t[p]+(n[m]/2-c[m]/2)}}return t}},4806:function(e,t,n){"use strict";function r(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}n.d(t,{Z:function(){return r}})},9356:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(889),o=n(2021),i=n(2881),s=n(6919),c=n(7365),u=n(6166),a=n(8555),l=n(6713),d=n(315);function f(e,t){void 0===t&&(t={});var n=t,f=n.placement,p=void 0===f?e.placement:f,m=n.boundary,h=void 0===m?u.zV:m,g=n.rootBoundary,v=void 0===g?u.Pj:g,w=n.elementContext,y=void 0===w?u.k5:w,b=n.altBoundary,_=void 0!==b&&b,E=n.padding,x=void 0===E?0:E,C=(0,l.Z)("number"!=typeof x?x:(0,d.Z)(x,u.mv)),S=y===u.k5?u.YP:u.k5,Z=e.rects.popper,k=e.elements[_?S:y],O=(0,r.Z)((0,a.kK)(k)?k:k.contextElement||(0,o.Z)(e.elements.popper),h,v),M=(0,i.Z)(e.elements.reference),P=(0,s.Z)({reference:M,element:Z,strategy:"absolute",placement:p}),F=(0,c.Z)(Object.assign({},Z,P)),L=y===u.k5?F:M,j={top:O.top-L.top+C.top,bottom:L.bottom-O.bottom+C.bottom,left:O.left-L.left+C.left,right:L.right-O.right+C.right},R=e.modifiersData.offset;if(y===u.k5&&R){var z=R[p];Object.keys(j).forEach((function(e){var t=[u.F2,u.I].indexOf(e)>=0?1:-1,n=[u.we,u.I].indexOf(e)>=0?"y":"x";j[e]+=z[n]*t}))}return j}},315:function(e,t,n){"use strict";function r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,{Z:function(){return r}})},5754:function(e,t,n){"use strict";function r(e){return"x"===e?"y":"x"}n.d(t,{Z:function(){return r}})},7677:function(e,t,n){"use strict";function r(e){return e.split("-")[0]}n.d(t,{Z:function(){return r}})},3046:function(e,t,n){"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{Z:function(){return r}})},1505:function(e,t,n){"use strict";function r(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{Z:function(){return r}})},942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r={left:"right",right:"left",bottom:"top",top:"bottom"};function o(e){return e.replace(/left|right|bottom|top/g,(function(e){return r[e]}))}},12:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r={start:"end",end:"start"};function o(e){return e.replace(/start|end/g,(function(e){return r[e]}))}},4531:function(e,t,n){"use strict";function r(e){return e.split("-")[1]}n.d(t,{Z:function(){return r}})},8072:function(e,t,n){"use strict";n.d(t,{Fp:function(){return r},VV:function(){return o},NM:function(){return i}});var r=Math.max,o=Math.min,i=Math.round},3352:function(e,t,n){"use strict";function r(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}n.d(t,{Z:function(){return r}})},6713:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3046);function o(e){return Object.assign({},(0,r.Z)(),e)}},421:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(6166);function o(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function i(e){var t=o(e);return r.xs.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}},7365:function(e,t,n){"use strict";function r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}n.d(t,{Z:function(){return r}})},964:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8072);function o(e,t,n){return(0,r.Fp)(e,(0,r.VV)(t,n))}},5869:function(e,t,n){"use strict";var r=n(9307);t.Z=function(e){let{icon:t,size:n=24,...o}=e;return(0,r.cloneElement)(t,{width:n,height:n,...o})}},8565:function(e,t,n){"use strict";var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.Z=i},2779:function(e,t){var n;
2
  /*!
3
  Copyright (c) 2018 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var s=o.apply(null,n);s&&e.push(s)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var c in n)r.call(n,c)&&n[c]&&e.push(c);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},3421:function(e,t){"use strict";var n=decodeURIComponent,r=encodeURIComponent,o=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e,t){try{return t(e)}catch(n){return e}}},2699:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(n,r){function o(){void 0!==i&&e.removeListener("error",i),n([].slice.call(arguments))}var i;"error"!==t&&(i=function(n){e.removeListener(t,o),r(n)},e.once("error",i)),e.once(t,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function a(e,t,n,r){var o,i,s,a;if(c(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),s=i[t]),void 0===s)s=i[t]=n,++e._eventsCount;else if("function"==typeof s?s=i[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=u(e))>0&&s.length>o&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,a=l,console&&console.warn&&console.warn(a)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=l.bind(r);return o.listener=n,r.wrapFn=o,o}function f(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):m(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return u(this)},i.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var c=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw c.context=s,c}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)r(u,this,t);else{var a=u.length,l=m(u,a);for(n=0;n<a;++n)r(l[n],this,t)}return!0},i.prototype.addListener=function(e,t){return a(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return a(this,e,t,!0)},i.prototype.once=function(e,t){return c(t),this.on(e,d(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,d(this,e,t)),this},i.prototype.removeListener=function(e,t){var n,r,o,i,s;if(c(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){s=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return f(this,e,!0)},i.prototype.rawListeners=function(e){return f(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},4495:function(e,t,n){"use strict";var r=n(212),o=n(9561);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var o=1;o<n;o++)r[o]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[o++]=0;r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=e>>>24&255,r[o++]=e>>>16&255,r[o++]=e>>>8&255,r[o++]=255&e}else for(r[o++]=255&e,r[o++]=e>>>8&255,r[o++]=e>>>16&255,r[o++]=e>>>24&255,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,i=8;i<this.padLength;i++)r[o++]=0;return r}},8032:function(e,t,n){"use strict";var r=n(212),o=n(4495),i=n(713),s=n(9561),c=r.sum32,u=r.sum32_4,a=r.sum32_5,l=i.ch32,d=i.maj32,f=i.s0_256,p=i.s1_256,m=i.g0_256,h=i.g1_256,g=o.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function w(){if(!(this instanceof w))return new w;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}r.inherits(w,g),e.exports=w,w.blockSize=512,w.outSize=256,w.hmacStrength=192,w.padLength=64,w.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=u(h(n[r-2]),n[r-7],m(n[r-15]),n[r-16]);var o=this.h[0],i=this.h[1],g=this.h[2],v=this.h[3],w=this.h[4],y=this.h[5],b=this.h[6],_=this.h[7];for(s(this.k.length===n.length),r=0;r<n.length;r++){var E=a(_,p(w),l(w,y,b),this.k[r],n[r]),x=c(f(o),d(o,i,g));_=b,b=y,y=w,w=c(v,E),v=g,g=i,i=o,o=c(E,x)}this.h[0]=c(this.h[0],o),this.h[1]=c(this.h[1],i),this.h[2]=c(this.h[2],g),this.h[3]=c(this.h[3],v),this.h[4]=c(this.h[4],w),this.h[5]=c(this.h[5],y),this.h[6]=c(this.h[6],b),this.h[7]=c(this.h[7],_)},w.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},713:function(e,t,n){"use strict";var r=n(212).rotr32;function o(e,t,n){return e&t^~e&n}function i(e,t,n){return e&t^e&n^t&n}function s(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?o(t,n,r):1===e||3===e?s(t,n,r):2===e?i(t,n,r):void 0},t.ch32=o,t.maj32=i,t.p32=s,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},212:function(e,t,n){"use strict";var r=n(9561),o=n(1285);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function u(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)n.push(parseInt(e[o]+e[o+1],16))}else for(var r=0,o=0;o<e.length;o++){var s=e.charCodeAt(o);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):i(e,o)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++o)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(o=0;o<e.length;o++)n[o]=0|e[o];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=c(e[n].toString(16));return t},t.htonl=s,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e[r];"little"===t&&(o=s(o)),n+=u(o.toString(16))}return n},t.zero2=c,t.zero8=u,t.join32=function(e,t,n,o){var i=n-t;r(i%4==0);for(var s=new Array(i/4),c=0,u=t;c<s.length;c++,u+=4){var a;a="big"===o?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u],s[c]=a>>>0}return s},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,o=0;r<e.length;r++,o+=4){var i=e[r];"big"===t?(n[o]=i>>>24,n[o+1]=i>>>16&255,n[o+2]=i>>>8&255,n[o+3]=255&i):(n[o+3]=i>>>24,n[o+2]=i>>>16&255,n[o+1]=i>>>8&255,n[o]=255&i)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,o){return e+t+n+r+o>>>0},t.sum64=function(e,t,n,r){var o=e[t],i=r+e[t+1]>>>0,s=(i<r?1:0)+n+o;e[t]=s>>>0,e[t+1]=i},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,o,i,s,c){var u=0,a=t;return u+=(a=a+r>>>0)<t?1:0,u+=(a=a+i>>>0)<i?1:0,e+n+o+s+(u+=(a=a+c>>>0)<c?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,o,i,s,c){return t+r+i+c>>>0},t.sum64_5_hi=function(e,t,n,r,o,i,s,c,u,a){var l=0,d=t;return l+=(d=d+r>>>0)<t?1:0,l+=(d=d+i>>>0)<i?1:0,l+=(d=d+c>>>0)<c?1:0,e+n+o+s+u+(l+=(d=d+a>>>0)<a?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,o,i,s,c,u,a){return t+r+i+c+a>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},1285:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},721:function(){},730:function(){},3335:function(){},4727:function(){},7807:function(){},6910:function(){},9561:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},1378:function(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o,s=365.25*o;function c(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,u){u=u||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\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(!c)return;var u=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*i;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*r;case"minutes":case"minute":case"mins":case"min":case"m":return u*n;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(e);if("number"===a&&isFinite(e))return u.long?function(e){var i=Math.abs(e);if(i>=o)return c(e,i,o,"day");if(i>=r)return c(e,i,r,"hour");if(i>=n)return c(e,i,n,"minute");if(i>=t)return c(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))}},8435:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var c,u,a,l;if(Array.isArray(e)){if((c=e.length)!=s.length)return!1;for(u=c;0!=u--;)if(!i(e[u],s[u]))return!1;return!0}if(n&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(l=e.entries();!(u=l.next()).done;)if(!s.has(u.value[0]))return!1;for(l=e.entries();!(u=l.next()).done;)if(!i(u.value[1],s.get(u.value[0])))return!1;return!0}if(r&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(l=e.entries();!(u=l.next()).done;)if(!s.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((c=e.length)!=s.length)return!1;for(u=c;0!=u--;)if(e[u]!==s[u])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===s.toString();if((c=(a=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(u=c;0!=u--;)if(!Object.prototype.hasOwnProperty.call(s,a[u]))return!1;if(t&&e instanceof Element)return!1;for(u=c;0!=u--;)if(("_owner"!==a[u]&&"__v"!==a[u]&&"__o"!==a[u]||!e.$$typeof)&&!i(e[a[u]],s[a[u]]))return!1;return!0}return e!=e&&s!=s}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},6194:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(9196),o=n(7295),i=n(8435),s=n.n(i),c=n(855),u=[],a=function(e,t,n){void 0===n&&(n={});var i=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||u},l=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),d=l[0],f=l[1],p=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);f({styles:(0,c.sq)(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,c.sq)(n.map((function(e){return[e,t.attributes[e]]})))})},requires:["computeStyles"]}}),[]),m=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[p,{name:"applyStyles",enabled:!1}])};return s()(i.current,e)?i.current||e:(i.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,p]),h=r.useRef();return(0,c.LI)((function(){h.current&&h.current.setOptions(m)}),[m]),(0,c.LI)((function(){if(null!=e&&null!=t){var r=(n.createPopper||o.fi)(e,t,m);return h.current=r,function(){r.destroy(),h.current=null}}}),[e,t,n.createPopper]),{state:h.current?h.current.state:null,styles:d.styles,attributes:d.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}}},855:function(e,t,n){"use strict";n.d(t,{sq:function(){return o},LI:function(){return i}});var r=n(9196),o=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},i="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect},7869:function(e,t,n){"use strict";var r=n(9307),o=(n(3945),n(849)),i=n(4655),s=n(5609),c=n(9818),u=n(8817),a=n(6483),l=n(3867),d=n(9935),f=n(1970),p=n(374),m=n(2753);function h(){var e;const[t]=(0,r.useState)((0,a.getQueryArg)(window.location.href,"showDraftPostModal")),{show:n,isLoaded:u,variant:d,isManuallyOpened:h,isNewPageLayoutModalOpen:g}=(0,c.useSelect)((e=>{const t=e("automattic/wpcom-welcome-guide"),n=e("automattic/starter-page-layouts");return{show:t.isWelcomeGuideShown(),isLoaded:t.isWelcomeGuideStatusLoaded(),variant:t.getWelcomeGuideVariant(),isManuallyOpened:t.isWelcomeGuideManuallyOpened(),isNewPageLayoutModalOpen:null==n?void 0:n.isOpen()}}),[]),v=null===(e=(0,c.useDispatch)("automattic/starter-page-layouts"))||void 0===e?void 0:e.setOpenState,{fetchWelcomeGuideStatus:w}=(0,c.useDispatch)("automattic/wpcom-welcome-guide");return(0,r.useEffect)((()=>{u||w()}),[w,u]),!n||g?null:d===f.yn&&!h&&v?(v("OPEN_FOR_BLANK_CANVAS"),null):d===f.Sz?(0,r.createElement)(o.Iw,{localeSlug:window.wpcomBlockEditorNuxLocale??i.OP},t?(0,r.createElement)(l.Z,null):(0,r.createElement)(m.Z,null)):"modal"===d&&s.Guide&&s.GuidePage?(0,r.createElement)(p.Z,null):null}(0,u.registerPlugin)("wpcom-block-editor-nux",{render:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(h,null),(0,r.createElement)(d.Z,null))})},1568:function(e,t,n){"use strict";var r=n(9818);n(462);const o=(0,r.subscribe)((()=>{var e;(0,r.dispatch)("core/nux").disableTips(),null!==(e=(0,r.select)("core/edit-post"))&&void 0!==e&&e.isFeatureActive("welcomeGuide")&&(0,r.dispatch)("core/edit-post").toggleFeature("welcomeGuide"),o()}));(0,r.subscribe)((()=>{var e;(0,r.select)("core/nux").areTipsEnabled()&&((0,r.dispatch)("core/nux").disableTips(),(0,r.dispatch)("automattic/wpcom-welcome-guide").setShowWelcomeGuide(!0)),null!==(e=(0,r.select)("core/edit-post"))&&void 0!==e&&e.isFeatureActive("welcomeGuide")&&((0,r.dispatch)("core/edit-post").toggleFeature("welcomeGuide"),(0,r.dispatch)("automattic/wpcom-welcome-guide").setShowWelcomeGuide(!0,{openedManually:!0}))}))},3867:function(e,t,n){"use strict";var r=n(9307),o=n(6115),i=n(5609),s=n(9818),c=n(2694),u=n(5736),a=n(3634),l=n(3790);n(721);const __=u.__,d="a8c.wpcom-block-editor.closeEditor";t.Z=()=>{const e=window._currentSiteId,t=(0,s.useSelect)((t=>t("automattic/site").getPrimarySiteDomain(e))),n=`/home/${(null==t?void 0:t.domain)||window.location.hostname}`,[u,f]=(0,r.useState)(!0),p=()=>f(!1);return(0,r.createElement)(a.Z,{isOpen:u,className:"wpcom-block-editor-draft-post-modal",title:__("Write your first post","full-site-editing"),description:__("It’s time to flex those writing muscles and start drafting your first post!","full-site-editing"),imageSrc:l,actionButtons:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Button,{isPrimary:!0,onClick:p},__("Start writing","full-site-editing")),(0,r.createElement)(i.Button,{isSecondary:!0,onClick:()=>{(0,c.hasAction)(d)?(0,c.doAction)(d,n):window.location.href=`https://wordpress.com${n}`}},__("I'm not ready","full-site-editing"))),onRequestClose:p,onOpen:()=>(0,o.jN)("calypso_editor_wpcom_draft_post_modal_show")})}},3634:function(e,t,n){"use strict";var r=n(9307),o=n(5609),i=n(2779),s=n.n(i);n(9196),n(730);t.Z=e=>{let{isOpen:t,className:n,title:i,description:c,imageSrc:u,actionButtons:a,onRequestClose:l,onOpen:d}=e;const f=(0,r.useRef)(null);return(0,r.useEffect)((()=>{!f.current&&t&&(null==d||d()),f.current=t}),[f,t,d]),t?(0,r.createElement)(o.Modal,{className:s()("wpcom-block-editor-nux-modal",n),open:t,title:"",onRequestClose:l},(0,r.createElement)("div",{className:"wpcom-block-editor-nux-modal__image-container"},(0,r.createElement)("img",{src:u,alt:i})),(0,r.createElement)("h1",{className:"wpcom-block-editor-nux-modal__title"},i),(0,r.createElement)("p",{className:"wpcom-block-editor-nux-modal__description"},c),(0,r.createElement)("div",{className:"wpcom-block-editor-nux-modal__buttons"},a)):null}},9935:function(e,t,n){"use strict";var r=n(9307),o=n(6115),i=n(5609),s=n(9818),c=n(5736),u=n(3634),a=n(5275);n(3335);const __=c.__;t.Z=()=>{const{link:e}=(0,s.useSelect)((e=>e("core/editor").getCurrentPost())),t=(0,s.useSelect)((e=>e("core/editor").getCurrentPostType())),n=(0,s.useSelect)((e=>e("core/editor").isCurrentPostPublished())),c=(0,r.useRef)(n),l=(0,s.useSelect)((e=>e("automattic/wpcom-welcome-guide").getShouldShowFirstPostPublishedModal())),[d,f]=(0,r.useState)(!1),{fetchShouldShowFirstPostPublishedModal:p,setShouldShowFirstPostPublishedModal:m}=(0,s.useDispatch)("automattic/wpcom-welcome-guide");return(0,r.useEffect)((()=>{p()}),[p]),(0,r.useEffect)((()=>{l&&!c.current&&n&&"post"===t&&(c.current=n,m(!1),window.setTimeout((()=>{f(!0)})))}),[t,l,n,m]),(0,r.createElement)(u.Z,{isOpen:d,className:"wpcom-block-editor-post-published-modal",title:__("Your first post is published!","full-site-editing"),description:__("Congratulations! You did it. View your post to see how it will look on your site.","full-site-editing"),imageSrc:a,actionButtons:(0,r.createElement)(i.Button,{isPrimary:!0,href:e},__("View Post","full-site-editing")),onRequestClose:()=>f(!1),onOpen:()=>(0,o.jN)("calypso_editor_wpcom_first_post_published_modal_show")})}},3945:function(e,t,n){"object"==typeof window&&window.wpcomBlockEditorNuxAssetsUrl&&(n.p=window.wpcomBlockEditorNuxAssetsUrl)},1970:function(e,t,n){"use strict";n.d(t,{Sz:function(){return c},yn:function(){return u},z2:function(){return f}});var r=n(6989),o=n.n(r),i=n(9818),s=n(3418);n(3288);const c="tour",u="blank-canvas-tour",a=(0,i.combineReducers)({welcomeGuideManuallyOpened:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"WPCOM_WELCOME_GUIDE_SHOW_SET":return void 0!==t.openedManually?t.openedManually:e;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return!1;default:return e}},showWelcomeGuide:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS":return t.response.show_welcome_guide;case"WPCOM_WELCOME_GUIDE_SHOW_SET":return t.show;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return;default:return e}},tourRating:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"WPCOM_WELCOME_GUIDE_TOUR_RATING_SET":return t.tourRating;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return;default:return e}},welcomeGuideVariant: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"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS":return t.response.variant;case"WPCOM_HAS_USED_PATTERNS_MODAL":return e===u?c:e;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return c;default:return e}},shouldShowFirstPostPublishedModal:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"WPCOM_SET_SHOULD_SHOW_FIRST_POST_PUBLISHED_MODAL":return t.value;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return!1;default:return e}}}),l={*fetchWelcomeGuideStatus(){return{type:"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS",response:yield(0,s.apiFetch)({path:"/wpcom/v2/block-editor/nux"})}},*fetchShouldShowFirstPostPublishedModal(){return{type:"WPCOM_SET_SHOULD_SHOW_FIRST_POST_PUBLISHED_MODAL",value:(yield(0,s.apiFetch)({path:"/wpcom/v2/block-editor/should-show-first-post-published-modal"})).should_show_first_post_published_modal}},setShowWelcomeGuide:function(e){let{openedManually:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o()({path:"/wpcom/v2/block-editor/nux",method:"POST",data:{show_welcome_guide:e}}),{type:"WPCOM_WELCOME_GUIDE_SHOW_SET",show:e,openedManually:t}},setTourRating:e=>({type:"WPCOM_WELCOME_GUIDE_TOUR_RATING_SET",tourRating:e}),setUsedPageOrPatternsModal:()=>({type:"WPCOM_HAS_USED_PATTERNS_MODAL"}),setShouldShowFirstPostPublishedModal:e=>({type:"WPCOM_SET_SHOULD_SHOW_FIRST_POST_PUBLISHED_MODAL",value:e}),resetStore:()=>({type:"WPCOM_WELCOME_GUIDE_RESET_STORE"})},d={isWelcomeGuideManuallyOpened:e=>e.welcomeGuideManuallyOpened,isWelcomeGuideShown:e=>!!e.showWelcomeGuide,isWelcomeGuideStatusLoaded:e=>void 0!==e.showWelcomeGuide,getTourRating:e=>e.tourRating,getWelcomeGuideVariant:e=>"modal"===e.welcomeGuideVariant?c:e.welcomeGuideVariant,getShouldShowFirstPostPublishedModal:e=>e.shouldShowFirstPostPublishedModal};function f(){return(0,i.registerStore)("automattic/wpcom-welcome-guide",{reducer:a,actions:l,selectors:d,controls:s.controls,persist:!0})}},374:function(e,t,n){"use strict";var r=n(7896),o=n(9307),i=n(6115),s=n(5609),c=n(9818),u=n(5736),a=n(9711),l=n(6595),d=n(5486),f=n(7821);n(4727);const __=u.__;function p(e){let{pageNumber:t,isLastPage:n,alignBottom:r=!1,heading:c,description:u,imgSrc:a}=e;return(0,o.useEffect)((()=>{var e;(0,i.jN)("calypso_editor_wpcom_nux_slide_view",{slide_number:t,is_last_slide:n,is_gutenboarding:null===(e=window.calypsoifyGutenberg)||void 0===e?void 0:e.isGutenboarding})}),[]),(0,o.createElement)(s.GuidePage,{className:"wpcom-block-editor-nux__page"},(0,o.createElement)("div",{className:"wpcom-block-editor-nux__text"},(0,o.createElement)("h1",{className:"wpcom-block-editor-nux__heading"},c),(0,o.createElement)("div",{className:"wpcom-block-editor-nux__description"},u)),(0,o.createElement)("div",{className:"wpcom-block-editor-nux__visual"},(0,o.createElement)("img",{key:a,src:a,alt:"","aria-hidden":"true",className:"wpcom-block-editor-nux__image"+(r?" align-bottom":"")})))}t.Z=function(){const{show:e,isNewPageLayoutModalOpen:t,isManuallyOpened:n}=(0,c.useSelect)((e=>({show:e("automattic/wpcom-welcome-guide").isWelcomeGuideShown(),isNewPageLayoutModalOpen:e("automattic/starter-page-layouts")&&e("automattic/starter-page-layouts").isOpen(),isManuallyOpened:e("automattic/wpcom-welcome-guide").isWelcomeGuideManuallyOpened()}))),{setShowWelcomeGuide:u}=(0,c.useDispatch)("automattic/wpcom-welcome-guide");if((0,o.useEffect)((()=>{var r;e&&!t&&(0,i.jN)("calypso_editor_wpcom_nux_open",{is_gutenboarding:null===(r=window.calypsoifyGutenberg)||void 0===r?void 0:r.isGutenboarding,is_manually_opened:n})}),[n,t,e]),!e||t)return null;const m=[{heading:__("Welcome to your website","full-site-editing"),description:__("Edit your homepage, add the pages you need, and change your site’s look and feel.","full-site-editing"),imgSrc:l,alignBottom:!0},{heading:__("Add or edit your content","full-site-editing"),description:__("Edit the placeholder content we’ve started you off with, or click the plus sign to add more content.","full-site-editing"),imgSrc:a},{heading:__("Preview your site as you go","full-site-editing"),description:__("As you edit your site content, click “Preview” to see your site the way your visitors will.","full-site-editing"),imgSrc:d,alignBottom:!0},{heading:__("Hidden until you’re ready","full-site-editing"),description:__("Your site will remain hidden until launched. Click “Launch” in the toolbar to share it with the world.","full-site-editing"),imgSrc:f,alignBottom:!0}];return(0,o.createElement)(s.Guide,{className:"wpcom-block-editor-nux",contentLabel:__("Welcome to your website","full-site-editing"),finishButtonText:__("Get started","full-site-editing"),onFinish:()=>{var e;(0,i.jN)("calypso_editor_wpcom_nux_dismiss",{is_gutenboarding:null===(e=window.calypsoifyGutenberg)||void 0===e?void 0:e.isGutenboarding}),u(!1,{openedManually:!1})}},m.map(((e,t)=>(0,o.createElement)(p,(0,r.Z)({key:e.heading,pageNumber:t+1,isLastPage:t===m.length-1},e)))))}},8574:function(e,t,n){"use strict";var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.086 5.412l3.476-.015c-.627.625-1.225 1.22-1.82 1.81l-.03.031c-.977.971-1.944 1.934-3.015 3.004l1.06 1.061c1.07-1.07 2.036-2.03 3.013-3.002l.03-.03 1.817-1.808-.03 3.448 1.5.013.046-5.28.007-.759-.76.003-5.301.024.007 1.5zM9.914 18.587l-3.476.016c.627-.625 1.225-1.22 1.82-1.81l.03-.031c.977-.971 1.944-1.934 3.015-3.004l-1.06-1.061c-1.07 1.069-2.036 2.03-3.012 3.001l-.001.001-.03.03-1.817 1.808.03-3.448-1.5-.013-.046 5.279-.007.76.76-.003 5.301-.024-.007-1.5z"}));t.Z=i},6139:function(e,t,n){"use strict";var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.514 9.988l-3.476.016c.627-.626 1.225-1.22 1.82-1.811l.03-.03v-.001c.977-.971 1.944-1.933 3.015-3.004l-1.06-1.06c-1.07 1.069-2.037 2.03-3.013 3.001l-.03.03-1.818 1.809.03-3.449-1.5-.013-.045 5.28-.007.76.76-.004 5.301-.024-.007-1.5zM5.486 14.012l3.477-.016-1.82 1.811-.03.03c-.977.972-1.945 1.934-3.015 3.005l1.06 1.06c1.07-1.068 2.035-2.03 3.012-3V16.9l.03-.03 1.818-1.809-.03 3.449 1.5.013.046-5.28.006-.76-.76.004-5.3.024.006 1.5z",fill:"#fff"}));t.Z=i},4308:function(e,t,n){"use strict";var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M13.131 19.12a.667.667 0 001.227-.417l-.436-4.989h3.88c.954 0 1.64-.916 1.37-1.831L17.42 5.919a.286.286 0 00-.274-.205H9.429v7.588l3.702 5.818zm-5.417-5.977V5.714h-2v7.429h2zm5.98 8a2.381 2.381 0 01-2.01-1.103l-3.297-5.183H4V4h13.145a2 2 0 011.919 1.436l1.753 5.963a3.143 3.143 0 01-3.015 4.03h-2.01l.274 3.125a2.381 2.381 0 01-2.372 2.589z",fill:"#000"}));t.Z=i},9425:function(e,t,n){"use strict";var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/SVG"},(0,r.createElement)(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M13.131 4.023a.667.667 0 011.227.416l-.436 4.99h3.88c.954 0 1.64.916 1.37 1.831l-1.753 5.963a.286.286 0 01-.274.206H9.429V9.84l3.702-5.818zM7.714 10v7.428h-2V10h2zm5.98-8c-.814 0-1.572.416-2.01 1.103L8.388 8.286H4v10.857h13.145a2 2 0 001.919-1.436l1.753-5.963a3.143 3.143 0 00-3.015-4.03h-2.01l.274-3.125A2.381 2.381 0 0013.694 2z",fill:"#000"}));t.Z=i},9483:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(9307),o=n(5609),i=n(5736),s=n(444),c=n(2819);const __=i.__;function u(e){let{currentPage:t,numberOfPages:n,setCurrentPage:s}=e;return(0,r.createElement)("ul",{className:"components-guide__page-control","aria-label":__("Guide controls","full-site-editing")},(0,c.times)(n,(e=>(0,r.createElement)("li",{key:e,"aria-current":e===t?"step":void 0},(0,r.createElement)(o.Button,{key:e,icon:(0,r.createElement)(a,{isSelected:e===t}),"aria-label":(0,i.sprintf)(__("Page %1$d of %2$d","full-site-editing"),e+1,n),onClick:()=>s(e)})))))}const a=e=>{let{isSelected:t}=e;return(0,r.createElement)(s.SVG,{width:"6",height:"6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(s.Circle,{cx:"3",cy:"3",r:"3",fill:t?"#32373C":"#E1E3E6"}))}},2069:function(e,t,n){"use strict";var r=n(9307),o=n(6115),i=n(5609),s=n(9818),c=n(5736),u=n(8565),a=n(2779),l=n.n(a),d=n(6139),f=n(4308),p=n(9425),m=n(9483);n(7807);const __=c.__;function h(e){let{currentStepIndex:t,lastStepIndex:n,onDismiss:o,setCurrentStepIndex:s,onNextStepProgression:c,onPreviousStepProgression:u,setInitialFocusedElement:a}=e;const l=__("Try it out!","full-site-editing"),d=__("Next","full-site-editing");return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.Z,{currentPage:t,numberOfPages:n+1,setCurrentPage:s}),(0,r.createElement)("div",null,0===t?(0,r.createElement)(i.Button,{isTertiary:!0,onClick:o("no-thanks-btn")},__("Skip","full-site-editing")):(0,r.createElement)(i.Button,{isTertiary:!0,onClick:u},__("Back","full-site-editing")),(0,r.createElement)(i.Button,{className:"welcome-tour-card__next-btn",isPrimary:!0,onClick:c,ref:a},0===t?l:d)))}function g(e){let{onMinimize:t,onDismiss:n}=e;const o=l()("welcome-tour-card__overlay-controls");return(0,r.createElement)("div",{className:o},(0,r.createElement)(i.Flex,null,(0,r.createElement)(i.Button,{label:__("Minimize Tour","full-site-editing"),isPrimary:!0,className:"welcome-tour-card__minimize-icon",icon:d.Z,iconSize:24,onClick:t}),(0,r.createElement)(i.Button,{label:__("Close Tour","full-site-editing"),isPrimary:!0,icon:u.Z,iconSize:24,onClick:n("close-btn")})))}function v(e){let{isGutenboarding:t}=e,n=!1;const c=(0,s.useSelect)((e=>e("automattic/wpcom-welcome-guide").getTourRating())),{setTourRating:u}=(0,s.useDispatch)("automattic/wpcom-welcome-guide");!n&&c&&(n=!0);const a=e=>{n||(n=!0,u(e?"thumbs-up":"thumbs-down"),(0,o.jN)("calypso_editor_wpcom_tour_rate",{thumbs_up:e,is_gutenboarding:t}))};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",{className:"welcome-tour__end-text"},__("Did you find this guide helpful?","full-site-editing")),(0,r.createElement)("div",null,(0,r.createElement)(i.Button,{"aria-label":__("Rate thumbs up","full-site-editing"),className:l()("welcome-tour__end-icon",{active:"thumbs-up"===c}),disabled:n,icon:p.Z,onClick:()=>a(!0),iconSize:24}),(0,r.createElement)(i.Button,{"aria-label":__("Rate thumbs down","full-site-editing"),className:l()("welcome-tour__end-icon",{active:"thumbs-down"===c}),disabled:n,icon:f.Z,onClick:()=>a(!1),iconSize:24})))}t.Z=function(e){let{cardContent:t,currentStepIndex:n,justMaximized:s,lastStepIndex:c,onMinimize:u,onDismiss:a,setJustMaximized:l,setCurrentStepIndex:d,onNextStepProgression:f,onPreviousStepProgression:p,isGutenboarding:m,setInitialFocusedElement:w}=e;const{description:y,heading:b,imgSrc:_}=t,E=n===c;var x;return x=()=>{s?l(!1):(0,o.jN)("calypso_editor_wpcom_tour_slide_view",{slide_number:n+1,is_last_slide:E,slide_heading:b,is_gutenboarding:m})},(0,r.useEffect)(x,[]),(0,r.createElement)(i.Card,{className:"welcome-tour-card",isElevated:!0},(0,r.createElement)(g,{onDismiss:a,onMinimize:u}),(0,r.createElement)(i.CardMedia,null,(0,r.createElement)("img",{alt:__("Editor Welcome Tour","full-site-editing"),src:_})),(0,r.createElement)(i.CardBody,null,(0,r.createElement)("h2",{className:"welcome-tour-card__heading"},b),(0,r.createElement)("p",{className:"welcome-tour-card__description"},y,E?(0,r.createElement)(i.Button,{className:"welcome-tour-card__description",isTertiary:!0,onClick:()=>d(0),ref:w},__("Restart tour","full-site-editing")):null)),(0,r.createElement)(i.CardFooter,null,E?(0,r.createElement)(v,{isGutenboarding:m}):(0,r.createElement)(h,{currentStepIndex:n,lastStepIndex:c,onDismiss:a,setCurrentStepIndex:d,onNextStepProgression:f,onPreviousStepProgression:p,setInitialFocusedElement:w})))}},7520:function(e,t,n){"use strict";n.d(t,{M:function(){return i},m:function(){return s}});var r=n(9307);const o=(0,r.createContext)({}),i=e=>{let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.createElement)(o.Provider,{value:{justMaximized:n,setJustMaximized:i}},t)},s=()=>(0,r.useContext)(o)},2753:function(e,t,n){"use strict";var r=n(9307),o=n(6115),i=n(849),s=n(6424),c=n(9818),u=n(7520),a=n(4316),l=n(6778),d=n(8953);n(7807);function f(){var e;const t=(0,i.bU)(),{setShowWelcomeGuide:n}=(0,c.useDispatch)("automattic/wpcom-welcome-guide"),f=null===(e=window.calypsoifyGutenberg)||void 0===e?void 0:e.isGutenboarding,p=()=>new URLSearchParams(document.location.search).has("welcome-tour-next"),m=(0,d.Z)(t,p()),{setJustMaximized:h}=(0,u.m)();m.forEach((e=>(new window.Image).src=e.meta.imgSrc));const g={steps:m,renderers:{tourStep:l.Z,tourMinimized:a.Z},closeHandler:(e,t,r)=>{(0,o.jN)("calypso_editor_wpcom_tour_dismiss",{is_gutenboarding:f,slide_number:t+1,action:r}),n(!1,{openedManually:!1})},options:{callbacks:{onMinimize:e=>{(0,o.jN)("calypso_editor_wpcom_tour_minimize",{is_gutenboarding:f,slide_number:e+1})},onMaximize:e=>{h(!0),(0,o.jN)("calypso_editor_wpcom_tour_maximize",{is_gutenboarding:f,slide_number:e+1})}},effects:{__experimental__spotlight:p(),arrowIndicator:!1},popperModifiers:[(0,r.useMemo)((()=>({name:"offset",options:{offset:e=>{let{placement:t,reference:n}=e;if("bottom"===t){const e=document.querySelector(".edit-post-header").getBoundingClientRect();return[0,e.height+e.y-(n.height+n.y)+16]}return[0,0]}}})),[])],className:"wpcom-editor-welcome-tour"}};return(0,r.createElement)(s.Z,{config:g})}t.Z=function(){const{show:e,isNewPageLayoutModalOpen:t,isManuallyOpened:n}=(0,c.useSelect)((e=>({show:e("automattic/wpcom-welcome-guide").isWelcomeGuideShown(),isNewPageLayoutModalOpen:e("automattic/starter-page-layouts")&&e("automattic/starter-page-layouts").isOpen(),isManuallyOpened:e("automattic/wpcom-welcome-guide").isWelcomeGuideManuallyOpened()}))),s=(0,i.bU)();return(new window.Image).src=(0,d.Z)(s)[0].meta.imgSrc,(0,r.useEffect)((()=>{var r;(e||t)&&(0,o.jN)("calypso_editor_wpcom_tour_open",{is_gutenboarding:null===(r=window.calypsoifyGutenberg)||void 0===r?void 0:r.isGutenboarding,is_manually_opened:n})}),[t,n,e]),!e||t?null:(0,r.createElement)(u.M,null,(0,r.createElement)(f,null))}},4316:function(e,t,n){"use strict";var r=n(9307),o=n(5609),i=n(5736),s=n(5869),c=n(8565),u=n(8574);const __=i.__;t.Z=e=>{let{steps:t,onMaximize:n,onDismiss:a,currentStepIndex:l}=e;const d=l+1,f=t.length-1+1;return(0,r.createElement)(o.Flex,{gap:0,className:"wpcom-editor-welcome-tour__minimized"},(0,r.createElement)(o.Button,{onClick:n,"aria-label":__("Resume Tour","full-site-editing")},(0,r.createElement)(o.Flex,{gap:13},(0,r.createElement)("p",null,(0,r.createInterpolateElement)((0,i.sprintf)(__("Resume welcome tour <span>(%1$d/%2$d)</span>","full-site-editing"),d,f),{span:(0,r.createElement)("span",{className:"wpcom-editor-welcome-tour__minimized-tour-index"})})),(0,r.createElement)(s.Z,{icon:u.Z,size:24}))),(0,r.createElement)(o.Button,{onClick:a("close-btn-minimized"),"aria-label":__("Close Tour","full-site-editing")},(0,r.createElement)(s.Z,{icon:c.Z,size:24})))}},6778:function(e,t,n){"use strict";var r=n(9307),o=n(2069),i=n(7520);t.Z=e=>{var t;let{steps:n,currentStepIndex:s,onDismiss:c,onNext:u,onPrevious:a,onMinimize:l,setInitialFocusedElement:d,onGoToStep:f}=e;const p=n.length-1,m=null===(t=window.calypsoifyGutenberg)||void 0===t?void 0:t.isGutenboarding,{justMaximized:h,setJustMaximized:g}=(0,i.m)();return(0,r.createElement)(o.Z,{cardContent:n[s].meta,currentStepIndex:s,justMaximized:h,lastStepIndex:p,onDismiss:c,onMinimize:l,setJustMaximized:g,setCurrentStepIndex:f,onNextStepProgression:u,onPreviousStepProgression:a,isGutenboarding:m,setInitialFocusedElement:d})}},8953:function(e,t,n){"use strict";var r=n(9307),o=n(7498),i=n(5609),s=n(5736);const __=s.__,c=[{desktop:null,mobile:null},{desktop:null,mobile:null},{mobile:".edit-post-header .edit-post-header__toolbar .components-button.edit-post-header-toolbar__inserter-toggle",desktop:".edit-post-header .edit-post-header__toolbar .components-button.edit-post-header-toolbar__inserter-toggle"},{desktop:null,mobile:null},{mobile:".edit-post-header .edit-post-header__settings .interface-pinned-items > button:nth-child(1)",desktop:".edit-post-header .edit-post-header__settings .interface-pinned-items > button:nth-child(1)"},{mobile:".edit-post-header .edit-post-header__toolbar .components-button.editor-history__undo",desktop:".edit-post-header .edit-post-header__toolbar .components-button.editor-history__undo"},{mobile:null,desktop:null},{desktop:null,mobile:null}];t.Z=function(e,t){return[{referenceElements:t&&c[0],meta:{heading:__("Welcome to WordPress!","full-site-editing"),description:__("Take this short, interactive tour to learn the fundamentals of the WordPress editor.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-welcome.png",animation:null}},{referenceElements:t&&c[1],meta:{heading:__("Everything is a block","full-site-editing"),description:__("In the WordPress Editor, paragraphs, images, and videos are all blocks.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-all-blocks.gif",animation:null}},{referenceElements:t&&c[2],meta:{heading:__("Adding a new block","full-site-editing"),description:__("Click + to open the inserter. Then click the block you want to add.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-add-block.gif",animation:"block-inserter"}},{referenceElements:t&&c[3],meta:{heading:__("Click a block to change it","full-site-editing"),description:__("Use the toolbar to change the appearance of a selected block. Try making it bold.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-make-bold.gif",animation:null}},{referenceElements:t&&c[4],meta:{heading:__("More Options","full-site-editing"),description:__("Click the settings icon to see even more options.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-more-options.gif",animation:null}},{referenceElements:t&&c[5],meta:{heading:__("Undo any mistake","full-site-editing"),description:__("Click the Undo button if you've made a mistake.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-undo.gif",animation:"undo-button"}},{referenceElements:t&&c[6],meta:{heading:__("Drag & drop","full-site-editing"),description:__("To move blocks around, click and drag the handle.","full-site-editing"),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-move-block.gif",animation:"undo-button"}},{referenceElements:t&&c[7],meta:{heading:__("Congratulations!","full-site-editing"),description:(0,r.createInterpolateElement)(__("You've learned the basics. Remember, your site is private until you <link_to_launch_site_docs>decide to launch</link_to_launch_site_docs>. View the <link_to_editor_docs>block editing docs</link_to_editor_docs> to learn more.","full-site-editing"),{link_to_launch_site_docs:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/support/settings/privacy-settings/#launch-your-site",e)}),link_to_editor_docs:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/support/wordpress-editor/",e)})}),imgSrc:"https://s0.wp.com/i/editor-welcome-tour/slide-finish.png",animation:"block-inserter"}}]}},6115:function(e,t,n){"use strict";n.d(t,{jN:function(){return r.jN}});n(1694),n(6209),n(9377);var r=n(9792);n(3722)},9377:function(e,t,n){"use strict";let r=null;"undefined"!=typeof window&&window.addEventListener("popstate",(function(){r=null}))},9792:function(e,t,n){"use strict";n.d(t,{jN:function(){return f}});var r=n(2699),o=n(4898),i=(n(3421),n(2819)),s=(n(9377),n(6209),n(9358));n(1694);const c=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account","calypso_checkout_switch_to_p_24","calypso_checkout_composite_p24_submit_clicked"];let u,a=Promise.resolve();function l(e){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(e))}"undefined"!=typeof document&&(a=(0,o.ve)("//stats.wp.com/w.js?63"));const d=new r.EventEmitter;function f(e,t){if(t=t||{},(0,s.Z)('Record event "%s" called with props %o',e,t),e.startsWith("calypso_")||(0,i.includes)(c,e)){if(u){const e=u(t);t={...t,...e}}t=(0,i.omitBy)(t,(e=>void 0===e)),(0,s.Z)('Recording event "%s" with actual props %o',e,t),l(["recordEvent",e,t]),d.emit("record-event",e,t)}else(0,s.Z)('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}},3722:function(e,t,n){"use strict";n(9792)},6209:function(e,t,n){"use strict";n(4)},9358:function(e,t,n){"use strict";var r=n(8049),o=n.n(r);t.Z=o()("calypso:analytics")},1694:function(e,t,n){"use strict";n(9358)},4:function(e,t,n){"use strict";n(8032)},849:function(e,t,n){"use strict";n.d(t,{Iw:function(){return a},bU:function(){return d}});var r=n(7896),o=n(9307),i=n(4333),s=n(5736),c=n(9196);const u=(0,c.createContext)(null),a=e=>{let{children:t,localeSlug:n}=e;return(0,o.createElement)(u.Provider,{value:n},t)};function l(){var e,t;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e)return"";const t=["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"],n=e.toLowerCase();return(t.includes(n)?n.replace("_","-"):n.replace(/([-_].*)$/i,""))||"en"}(s.getLocaleData?null===(e=s.getLocaleData())||void 0===e||null===(t=e[""])||void 0===t?void 0:t.language:"")}function d(){const e=(0,c.useContext)(u),t=!!e,[n,r]=(0,c.useState)(l());return(0,c.useEffect)((()=>{if(!t)return r(l()),s.subscribe((()=>{r(l())}))}),[t]),e||n||"en"}(0,i.createHigherOrderComponent)((e=>t=>{const n=d();return(0,o.createElement)(e,(0,r.Z)({locale:n},t))}),"withLocale")},4655:function(e,t,n){"use strict";n.d(t,{OP:function(){return r},GG:function(){return o},iT:function(){return i},xn:function(){return s},Xb:function(){return c},hI:function(){return u},mL:function(){return a},vS:function(){return l},_r:function(){return d}});const r="en",o=["en","ja","es","pt","fr","pt-br"],i=["en","fr","de","es"],s=["en","fr","de","es"],c={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},u=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],a=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],l=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],d=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},7498:function(e,t,n){"use strict";n.d(t,{aq:function(){return h}});var r=n(7896),o=n(9307),i=n(4333),s=n(9196),c=n(849),u=n(4655);const a="http://__domain__.invalid",l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(n,r)=>(t.includes(r)&&"en"!==r&&n.pathname.substr(0,r.length+2)!=="/"+r+"/"&&(n.host=`${u.Xb[r]||r}.${e}`),n)},d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return(r,o)=>(r.host="wordpress.com","object"==typeof n&&n instanceof RegExp&&!n.test(r.pathname)&&(t=[]),r.pathname=e+r.pathname,t.includes(o)&&"en"!==o&&(r.pathname=o+r.pathname),r)},f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return(r,o)=>"object"==typeof t&&t instanceof RegExp&&!t.test(r.pathname)?r:e.includes(o)&&"en"!==o?("prefix"===n?r.pathname=o+r.pathname:"suffix"===n&&(r.pathname.endsWith("/")?r.pathname+=o+"/":r.pathname+="/"+o),r):r},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(n,r)=>f(e,t,"prefix")(n,r)},m={"wordpress.com/support/":p(u.hI),"wordpress.com/forums/":p(u.mL),"wordpress.com/blog/":p(u.GG,/^\/blog\/?$/),"wordpress.com/tos/":p(u.vS),"wordpress.com/wp-admin/":l("wordpress.com",u.vS),"wordpress.com/wp-login.php":l("wordpress.com",u.vS),"jetpack.com":l("jetpack.com",u._r),"en.support.wordpress.com":d("/support",u.hI),"en.blog.wordpress.com":d("/blog",u.GG,/^\/$/),"en.forums.wordpress.com":d("/forums",u.mL),"automattic.com/privacy/":p(u.iT),"automattic.com/cookies/":p(u.xn),"wordpress.com/help/contact/":(e,t,n)=>n?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),p(u.hI)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:p(u.vS)(e,t),"wordpress.com/theme/":(e,t,n)=>n?e:p(u.vS)(e,t),"wordpress.com/themes/":(e,t,n)=>n?e:p(u.vS)(e,t),"wordpress.com/log-in/":(e,t,n)=>n?e:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(n,r)=>f(e,t,"suffix")(n,r)}(u.vS)(e,t)};function h(e,t){let n,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];try{n=new URL(String(e),a)}catch(s){return e}if(n.origin===a)return e;n.protocol="https:",n.hostname="",n.pathname.endsWith(".php")||(n.pathname=(n.pathname+"/").replace(/\/+$/,"/"));const o=n.pathname.substr(0,1+n.pathname.indexOf("/",1));if("en.wordpress.com"===n.host&&(n.host="wordpress.com"),"/"+t+"/"===o)return e;const i=[n.host,n.host+o,n.host+n.pathname];for(let c=i.length-1;c>=0;c--)if(i[c]in m)return m[i[c]](n,t,r).href;return e}function g(){const e=(0,c.bU)();return(0,s.useCallback)(((t,n,r)=>h(t,n||e,r)),[e])}(0,i.createHigherOrderComponent)((e=>t=>{const n=g();return(0,o.createElement)(e,(0,r.Z)({localizeUrl:n},t))}),"withLocalizeUrl")},3340:function(e,t,n){"use strict";n.d(t,{hg:function(){return c},lZ:function(){return u},_W:function(){return l},Yt:function(){return d}});var r=n(8049);const o=n.n(r)()("lib/load-script/callback-handler"),i=new Map;function s(){return i}function c(e){return s().has(e)}function u(e,t){const n=s();c(e)?(o(`Adding a callback for an existing script from "${e}"`),n.get(e).add(t)):(o(`Adding a callback for a new script from "${e}"`),n.set(e,new Set([t])))}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=s(),r=n.get(e);if(r){o(`Executing callbacks for "${e}"`+(null===t?" with success":` with error "${t}"`)),r.forEach((e=>{"function"==typeof e&&e(t)})),n.delete(e)}}function l(){const e=this.getAttribute("src");o(`Handling successful request for "${e}"`),a(e),this.onload=null}function d(){const e=this.getAttribute("src");o(`Handling failed request for "${e}"`),a(e,new Error(`Failed to load script "${e}"`)),this.onerror=null}},5606:function(e,t,n){"use strict";n.d(t,{C:function(){return c},k:function(){return u}});var r=n(8049),o=n.n(r),i=n(3340);const s=o()("lib/load-script/dom-operations");function c(e){s(`Creating script element for "${e}"`);const t=document.createElement("script");return t.src=e,t.type="text/javascript",t.async=!0,t.onload=i._W,t.onerror=i.Yt,t}function u(e){s("Attaching element to head"),document.head.appendChild(e)}},4898:function(e,t,n){"use strict";n.d(t,{ve:function(){return c}});var r=n(8049),o=n.n(r),i=n(3340),s=n(5606);o()("package/load-script");function c(e,t){if(!(0,i.hg)(e)&&(0,s.k)((0,s.C)(e)),"function"!=typeof t)return new Promise(((t,n)=>{(0,i.lZ)(e,(e=>{null===e?t():n(e)}))}));(0,i.lZ)(e,t)}},8626:function(e,t,n){"use strict";var r=n(9307),o=(n(9196),n(7474)),i=n(5386),s=n(9946);t.Z=e=>{let{onMinimize:t,onDismiss:n,onNextStepProgression:c,onPreviousStepProgression:u,tourContainerRef:a,isMinimized:l}=e;return(0,o.Z)(a)?l?(0,r.createElement)((function(){return(0,s.Z)({onEscape:n("esc-key-minimized")}),null}),null):(0,r.createElement)((function(){return(0,s.Z)({onEscape:t,onArrowRight:c,onArrowLeft:u}),(0,i.Z)(a),null}),null):null}},4065:function(e,t,n){"use strict";var r=n(7896),o=n(9307),i=n(6951),s=n(2779),c=n.n(s),u=n(3082),a=n(8626),l=n(7858),d=n(8074);const f=(e,t)=>{"function"==typeof t&&t(e)};t.Z=e=>{var t,n,s,p,m,h,g,v,w,y,b,_,E,x,C,S,Z;let{config:k}=e;const O=(0,o.useRef)(null),M=(0,o.useRef)(null),[P,F]=(0,o.useState)(null),[L,j]=(0,o.useState)(!1),[R,z]=(0,o.useState)(0),A=k.steps.length-1,T=(0,i._z)(),N=(null===(t=k.steps[R].referenceElements)||void 0===t?void 0:t[T?"mobile":"desktop"])||null,W=N?document.querySelector(N):null,I=()=>{var e,t;return!1!==(null===(e=k.options)||void 0===e||null===(t=e.effects)||void 0===t?void 0:t.arrowIndicator)&&!(!W||L)},{styles:G,attributes:D}=(0,u.Z)(W,M.current,[{name:"preventOverflow",options:{rootBoundary:"document",padding:16}},{name:"arrow",options:{padding:12}},{name:"offset",options:{offset:[0,I()?12:10]}},...(null===(n=k.options)||void 0===n?void 0:n.popperModifiers)||[]]),B=!L&&W?{style:null==G?void 0:G.popper,...null==D?void 0:D.popper}:null,U={style:null==G?void 0:G.arrow,...null==D?void 0:D.arrow},H=(0,o.useCallback)((()=>{var e,t;return!(null===(e=k.options)||void 0===e||null===(t=e.effects)||void 0===t||!t.__experimental__spotlight)&&!L}),[null===(s=k.options)||void 0===s||null===(p=s.effects)||void 0===p?void 0:p.__experimental__spotlight,L]),$=(0,o.useCallback)((()=>{var e,t;return!(H()||null===(e=k.options)||void 0===e||null===(t=e.effects)||void 0===t||!t.overlay)&&!L}),[null===(m=k.options)||void 0===m||null===(h=m.effects)||void 0===h?void 0:h.overlay,L,H]),V=(0,o.useCallback)((e=>()=>{k.closeHandler(k.steps,R,e)}),[k,R]),q=(0,o.useCallback)((()=>{var e,t;A>R&&z(R+1),f(R,null===(e=k.options)||void 0===e||null===(t=e.callbacks)||void 0===t?void 0:t.onNextStep)}),[null===(g=k.options)||void 0===g||null===(v=g.callbacks)||void 0===v?void 0:v.onNextStep,R,A]),K=(0,o.useCallback)((()=>{var e,t;R&&z(R-1),f(R,null===(e=k.options)||void 0===e||null===(t=e.callbacks)||void 0===t?void 0:t.onPreviousStep)}),[null===(w=k.options)||void 0===w||null===(y=w.callbacks)||void 0===y?void 0:y.onPreviousStep,R]),Y=(0,o.useCallback)((e=>{var t,n;z(e),f(R,null===(t=k.options)||void 0===t||null===(n=t.callbacks)||void 0===n?void 0:n.onGoToStep)}),[null===(b=k.options)||void 0===b||null===(_=b.callbacks)||void 0===_?void 0:_.onGoToStep,R]),J=(0,o.useCallback)((()=>{var e,t;j(!0),f(R,null===(e=k.options)||void 0===e||null===(t=e.callbacks)||void 0===t?void 0:t.onMinimize)}),[null===(E=k.options)||void 0===E||null===(x=E.callbacks)||void 0===x?void 0:x.onMinimize,R]),X=(0,o.useCallback)((()=>{var e,t;j(!1),f(R,null===(e=k.options)||void 0===e||null===(t=e.callbacks)||void 0===t?void 0:t.onMaximize)}),[null===(C=k.options)||void 0===C||null===(S=C.callbacks)||void 0===S?void 0:S.onMaximize,R]);(0,o.useEffect)((()=>{setTimeout((()=>null==P?void 0:P.focus()))}),[P]);const Q=c()("tour-kit-frame",null===(Z=k.options)||void 0===Z?void 0:Z.className);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(a.Z,{onMinimize:J,onDismiss:V,onNextStepProgression:q,onPreviousStepProgression:K,tourContainerRef:O,isMinimized:L}),(0,o.createElement)("div",{className:Q,ref:O},$()&&(0,o.createElement)(l.Z,{visible:!0}),H()&&(0,o.createElement)(d.Z,{referenceElement:W}),(0,o.createElement)("div",(0,r.Z)({className:"tour-kit-frame__container",ref:M},B),I()&&(0,o.createElement)("div",(0,r.Z)({className:"tour-kit-frame__arrow","data-popper-arrow":!0},U)),L?(0,o.createElement)(o.Fragment,null,k.renderers.tourMinimized({steps:k.steps,currentStepIndex:R,onMaximize:X,onDismiss:V})):(0,o.createElement)(o.Fragment,null,k.renderers.tourStep({steps:k.steps,currentStepIndex:R,onDismiss:V,onNext:q,onPrevious:K,onMinimize:J,setInitialFocusedElement:F,onGoToStep:Y})))))}},7858:function(e,t,n){"use strict";var r=n(9307),o=n(2779),i=n.n(o);t.Z=e=>{let{visible:t}=e;return(0,r.createElement)("div",{className:i()("tour-kit-overlay",{"--visible":t})})}},6424:function(e,t,n){"use strict";var r=n(9307),o=n(4065);n(6910);t.Z=e=>{let{config:t}=e;const n=(0,r.useRef)(document.createElement("div")).current;return(0,r.useEffect)((()=>(n.classList.add("tour-kit-portal"),document.body.appendChild(n),()=>{document.body.removeChild(n)})),[n]),(0,r.createElement)("div",null,(0,r.createPortal)((0,r.createElement)(o.Z,{config:t}),n))}},8074:function(e,t,n){"use strict";var r=n(7896),o=n(9307),i=n(2779),s=n.n(i),c=n(3082),u=n(7858);t.Z=e=>{let{referenceElement:t}=e;const n=(0,o.useRef)(null),i=[(0,o.useMemo)((()=>({name:"offset",options:{offset:e=>{let{placement:t,reference:n,popper:r}=e;return"bottom"===t?[0,-(n.height+(r.height-n.height)/2)]:[0,0]}}})),[])],{styles:a,attributes:l}=(0,c.Z)(t,n.current,i),d=t?{style:null==a?void 0:a.popper,...null==l?void 0:l.popper}:null;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.Z,{visible:!d}),(0,o.createElement)("div",(0,r.Z)({className:s()("tour-kit-spotlight",{"--visible":!!d}),ref:n},d)))}},7474:function(e,t,n){"use strict";var r=n(9307);t.Z=e=>{const[t,n]=(0,r.useState)(!1),o=(0,r.useCallback)((()=>{var t;document.hasFocus()&&null!==(t=e.current)&&void 0!==t&&t.contains(document.activeElement)?n(!0):n(!1)}),[e]),i=(0,r.useCallback)((t=>{var r;null!==(r=e.current)&&void 0!==r&&r.contains(t.target)?n(!0):n(!1)}),[e]),s=(0,r.useCallback)((t=>{var r;"Tab"===t.key&&(null!==(r=e.current)&&void 0!==r&&r.contains(t.target)?n(!0):n(!1))}),[e]);return(0,r.useEffect)((()=>(document.addEventListener("focusin",o),document.addEventListener("mousedown",i),document.addEventListener("keyup",s),()=>{document.removeEventListener("focusin",o),document.removeEventListener("mousedown",i),document.removeEventListener("keyup",s)})),[e,o,s,i]),t}},5386:function(e,t,n){"use strict";var r=n(9307);t.Z=e=>{const[t,n]=(0,r.useState)(),[o,i]=(0,r.useState)(),s=(0,r.useCallback)((e=>{let n=!1;"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(null==o||o.focus(),n=!0):document.activeElement===o&&(null==t||t.focus(),n=!0)),n&&(e.preventDefault(),e.stopPropagation())}),[t,o]);(0,r.useEffect)((()=>{var t;const r=null===(t=e.current)||void 0===t?void 0:t.querySelectorAll(["a[href]:not([disabled])","button:not([disabled])","textarea:not([disabled])",'input[type="text"]:not([disabled])','input[type="radio"]:not([disabled])','input[type="checkbox"]:not([disabled])',"select:not([disabled])"].toString());return r&&r.length&&(n(r[0]),i(r[r.length-1])),document.addEventListener("keydown",s),()=>{document.removeEventListener("keydown",s)}}),[e,s])}},9946:function(e,t,n){"use strict";var r=n(9307);t.Z=e=>{let{onEscape:t,onArrowRight:n,onArrowLeft:o}=e;const i=(0,r.useCallback)((e=>{let r=!1;switch(e.key){case"Escape":t&&(t(),r=!0);break;case"ArrowRight":n&&(n(),r=!0);break;case"ArrowLeft":o&&(o(),r=!0)}r&&(e.preventDefault(),e.stopPropagation())}),[t,n,o]);(0,r.useEffect)((()=>(document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i)})),[i])}},3082:function(e,t,n){"use strict";var r=n(6194);t.Z=(e,t,n)=>{const{styles:o,attributes:i}=(0,r.D)(e,t,{strategy:"fixed",modifiers:n});return e?{styles:o,attributes:i}:{}}},6951:function(e,t,n){"use strict";n.d(t,{_z:function(){return a}});var r=n(7896),o=n(9307),i=n(6268),s=n(4333),c=n(9196);function u(e){const[t,n]=(0,c.useState)((()=>({isActive:(0,i.kV)(e),breakpoint:e})));return(0,c.useEffect)((()=>(0,i.Sp)(e,(function(t){n((n=>n.isActive===t&&n.breakpoint===e?n:{isActive:t,breakpoint:e}))}))),[e]),e===t.breakpoint?t.isActive:(0,i.kV)(e)}function a(){return u(i.Gh)}(0,s.createHigherOrderComponent)((e=>(0,c.forwardRef)(((t,n)=>{const s=u(i.Gh);return(0,o.createElement)(e,(0,r.Z)({},t,{isBreakpointActive:s,ref:n}))}))),"WithMobileBreakpoint"),(0,s.createHigherOrderComponent)((e=>(0,c.forwardRef)(((t,n)=>{const s=u(i.oh);return(0,o.createElement)(e,(0,r.Z)({},t,{isBreakpointActive:s,ref:n}))}))),"WithDesktopBreakpoint")},6268:function(e,t,n){"use strict";n.d(t,{Gh:function(){return o},oh:function(){return i},kV:function(){return d},Sp:function(){return f}});const r=769,o="<480px",i=">960px",s="undefined"==typeof window||!window.matchMedia,c=()=>null;function u(){let{min:e,max:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return void 0!==e&&void 0!==t?s?{matches:r>e&&r<=t}:window.matchMedia(`(min-width: ${e+1}px) and (max-width: ${t}px)`):void 0!==e?s?{matches:r>e}:window.matchMedia(`(min-width: ${e+1}px)`):void 0!==t&&(s?{matches:r<=t}:window.matchMedia(`(max-width: ${t}px)`))}const a={"<480px":u({max:480}),"<660px":u({max:660}),"<782px":u({max:782}),"<800px":u({max:800}),"<960px":u({max:960}),"<1040px":u({max:1040}),"<1280px":u({max:1280}),"<1400px":u({max:1400}),">480px":u({min:480}),">660px":u({min:660}),">782px":u({min:782}),">800px":u({min:800}),">960px":u({min:960}),">1040px":u({min:1040}),">1280px":u({min:1280}),">1400px":u({min:1400}),"480px-660px":u({min:480,max:660}),"660px-960px":u({min:660,max:960}),"480px-960px":u({min:480,max:960})};function l(e){if(a.hasOwnProperty(e))return a[e];try{console.warn("Undefined breakpoint used in `mobile-first-breakpoint`",e)}catch(t){}}function d(e){const t=l(e);return t?t.matches:void 0}function f(e,t){if(!t)return c;const n=l(e);if(n&&!s){const e=e=>t(e.matches);return n.addListener(e),()=>n.removeListener(e)}return c}},8049:function(e,t,n){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(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.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,console.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=console.debug||console.log||(()=>{}),e.exports=n(2632)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},2632:function(e,t,n){e.exports=function(e){function t(e){let n,o,i,s=null;function c(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if(!c.enabled)return;const i=c,s=Number(new Date),u=s-(n||s);i.diff=u,i.prev=n,i.curr=s,n=s,r[0]=t.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");let a=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,((e,n)=>{if("%%"===e)return"%";a++;const o=t.formatters[n];if("function"==typeof o){const t=r[a];e=o.call(i,t),r.splice(a,1),a--}return e})),t.formatArgs.call(i,r);const l=i.log||t.log;l.apply(i,r)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=r,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{s=e}}),"function"==typeof t.init&&t.init(c),c}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(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(o),...t.skips.map(o).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<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(1378),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},3790:function(e,t,n){"use strict";e.exports=n.p+"images/draft-post-19715e868be3c82bb350.svg"},5275:function(e,t,n){"use strict";e.exports=n.p+"images/post-published-ca9ddfc04a7c889a72d2.svg"},9711:function(e,t,n){"use strict";e.exports=n.p+"images/block-picker-baad989c3eaa6c60cc56.svg"},6595:function(e,t,n){"use strict";e.exports=n.p+"images/editor-a1965f46cfb792664a14.svg"},5486:function(e,t,n){"use strict";e.exports=n.p+"images/preview-a3fa241fd59995b1fc42.svg"},7821:function(e,t,n){"use strict";e.exports=n.p+"images/private-761a5407869f32039248.svg"},9196:function(e){"use strict";e.exports=window.React},3288:function(e){"use strict";e.exports=window["a8c-fse-common-data-stores"]},2819:function(e){"use strict";e.exports=window.lodash},6989:function(e){"use strict";e.exports=window.wp.apiFetch},5609:function(e){"use strict";e.exports=window.wp.components},4333:function(e){"use strict";e.exports=window.wp.compose},9818:function(e){"use strict";e.exports=window.wp.data},3418:function(e){"use strict";e.exports=window.wp.dataControls},9307:function(e){"use strict";e.exports=window.wp.element},2694:function(e){"use strict";e.exports=window.wp.hooks},5736:function(e){"use strict";e.exports=window.wp.i18n},462:function(e){"use strict";e.exports=window.wp.nux},8817:function(e){"use strict";e.exports=window.wp.plugins},444:function(e){"use strict";e.exports=window.wp.primitives},6483:function(e){"use strict";e.exports=window.wp.url},7896:function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}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]={exports:{}};return e[r](i,i.exports,n),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.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},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}();var r={};!function(){"use strict";n.r(r);var e=n(1970);n(1568),n(7869);(0,e.z2)()}(),window.EditingToolkit=r}();
wpcom-block-editor-nux/dist/wpcom-block-editor-nux.rtl.css CHANGED
@@ -1 +1 @@
1
- .wpcom-block-editor-nux-modal .components-modal__header{height:auto;padding:10px;border-bottom:0;position:absolute;right:0;left:0;margin:0;background-color:transparent}.wpcom-block-editor-nux-modal .components-modal__header button{right:unset}.wpcom-block-editor-nux-modal .components-modal__header button svg path{transform:scale(1.4);transform-origin:center}.wpcom-block-editor-nux-modal .components-modal__content{padding:84px 20px 20px;margin-top:0}.wpcom-block-editor-nux-modal .components-modal__content:before{margin:0}@media(min-width:480px){.wpcom-block-editor-nux-modal .components-modal__content{text-align:center}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__image-container{display:flex;justify-content:center}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__title{margin:34px 0 0;font-size:2.25rem;font-weight:500;line-height:1.2}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__title{margin-top:24px}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__description{max-width:352px;margin:16px 0 0;font-size:1rem}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__description{margin:20px auto 0;font-size:1.125rem}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons{display:flex;flex-direction:column;justify-content:center;margin-top:24px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:130px;height:40px;justify-content:center;border-radius:3px;font-size:.875rem}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button+.components-button{margin-top:12px}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons{flex-direction:row;margin-top:28px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button+.components-button{margin-top:0;margin-right:16px}}@media(min-width:600px){.wpcom-block-editor-draft-post-modal .components-modal__content{padding:48px 128px}}.wpcom-block-editor-draft-post-modal .wpcom-block-editor-nux-modal__image-container img{width:209px;height:95px}@media(min-width:600px){.wpcom-block-editor-post-published-modal .components-modal__content{padding:48px 90px}}.wpcom-block-editor-post-published-modal .wpcom-block-editor-nux-modal__image-container img{width:158px;height:85px}.wpcom-block-editor-post-published-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:113px}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}@keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.wpcom-block-editor-nux.components-modal__frame{overflow:visible;height:65vh;top:calc(17.5vh - 35px)}@media(max-width:660px){.wpcom-block-editor-nux.components-modal__frame{width:90vw;min-width:90vw;right:5vw;left:5vw}}@media(min-width:660px){.wpcom-block-editor-nux.components-modal__frame{width:720px;height:350px;top:calc(50% - 35px)}}.wpcom-block-editor-nux .components-modal__header{position:absolute;max-width:90%;right:5%}@media(min-width:660px){.wpcom-block-editor-nux .components-modal__header{display:none}}.wpcom-block-editor-nux .components-guide__container{margin-top:0}.wpcom-block-editor-nux .components-guide__footer{position:absolute;width:100%;height:70px;bottom:-70px;right:0;padding:20px 0;margin:0;display:flex;justify-content:center;background:#fff;border-top:1px solid #dcdcde}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__footer{border-top:none}}.wpcom-block-editor-nux .components-guide__page{position:absolute;width:100%;max-width:90vw;height:100%;justify-content:start}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__page{max-width:100%}}.wpcom-block-editor-nux .components-guide__page-control{position:relative;height:0;top:100%;overflow:visible;margin:0 auto;z-index:2;display:none}.wpcom-block-editor-nux .components-guide__page-control:before{display:inline-block;content:"";height:70px;vertical-align:middle}.wpcom-block-editor-nux .components-guide__page-control li{vertical-align:middle;margin-bottom:0}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__page-control{display:block}}.wpcom-block-editor-nux__page{display:flex;flex-direction:column-reverse;justify-content:flex-end;background:#fff;width:100%;height:90%;max-width:90vw}@media(min-width:660px){.wpcom-block-editor-nux__page{flex-direction:row;justify-content:flex-start;position:absolute;max-width:100%;min-height:350px;bottom:0}}@media(min-width:660px){.wpcom-block-editor-nux__text,.wpcom-block-editor-nux__visual{flex:1 0 50%;min-width:290px}}.wpcom-block-editor-nux__text{padding:0 25px 25px;height:60%}@media(min-width:660px){.wpcom-block-editor-nux__text{height:auto;padding:40px 50px}}.wpcom-block-editor-nux__visual{height:40%;background:#1381d8;text-align:center}@media(min-width:660px){.wpcom-block-editor-nux__visual{height:auto}}.wpcom-block-editor-nux__heading{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;color:#1d2327;font-size:32px;line-height:1.19}@media(min-width:660px){.wpcom-block-editor-nux__heading{font-size:42px}}body.locale-de .wpcom-block-editor-nux__heading{font-size:24px}@media(min-width:660px){body.locale-de .wpcom-block-editor-nux__heading{font-size:28px}}.wpcom-block-editor-nux__description{font-size:15px;line-height:22px;color:#50575e}@media(min-width:660px){.wpcom-block-editor-nux__description{font-size:17px;line-height:26px}}.wpcom-block-editor-nux__image{max-width:100%;height:auto;flex:1;align-self:center;max-height:100%}.wpcom-block-editor-nux__image.align-bottom{align-self:flex-end}@media(min-width:660px){.wpcom-block-editor-nux__image{max-height:none}}.welcome-tour-card__heading{font-size:1.125rem;margin:.5rem 0}.welcome-tour-card__description{font-size:.875rem;line-height:1.5rem;margin:0}.welcome-tour-card__description .components-button{height:auto;line-height:1;text-decoration:underline;padding:0 4px 0 0}.wpcom-editor-welcome-tour__minimized{border-radius:2px;box-shadow:0 2px 6px rgba(60,66,87,.08),0 0 0 1px rgba(60,66,87,.16),0 1px 1px rgba(0,0,0,.08);background-color:#fff;color:#000}.wpcom-editor-welcome-tour__minimized .components-button{height:44px}.wpcom-editor-welcome-tour__minimized .components-button .wpcom-editor-welcome-tour__minimized-tour-index{color:#949494}.wpcom-editor-welcome-tour__minimized .components-button svg{color:#50575e}.wpcom-editor-welcome-tour__minimized .components-button:hover .wpcom-editor-welcome-tour__minimized-tour-index,.wpcom-editor-welcome-tour__minimized .components-button:hover svg{color:inherit}.wpcom-editor-welcome-tour-card-frame{position:relative}.wpcom-editor-welcome-tour-card-frame .components-guide__page-control{bottom:0;right:16px;margin:0;position:absolute}.wpcom-editor-welcome-tour-card-frame .components-guide__page-control li{margin-bottom:0}.wpcom-editor-welcome-tour>.tour-kit__frame{box-shadow:none}.welcome-tour-card{width:400px;max-width:92vw}.welcome-tour-card.welcome-tour-card.is-elevated{box-shadow:none;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 2px 4px 0 rgba(0,0,0,.1)}.welcome-tour-card.components-card{border:none;border-radius:4px;box-shadow:none}.welcome-tour-card .components-card__body{min-height:114px}.welcome-tour-card .components-card__body,.welcome-tour-card .components-card__footer{border-top:none;padding:16px!important}.welcome-tour-card .components-card__footer .welcome-tour__end-text{color:#949494;font-size:.875rem;font-style:italic}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon{background-color:#f6f7f7;border-radius:50%;color:#949494;margin-right:8px}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon path{fill:#949494}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon.active{background-color:#000;opacity:1}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon.active path{fill:#fff}.welcome-tour-card .components-card__media{height:0;padding-top:66%;position:relative;width:100%}.welcome-tour-card .components-card__media img{right:0;position:absolute;top:0;width:100%}.welcome-tour-card .components-guide__page-control{margin:0}.welcome-tour-card .components-guide__page-control .components-button{min-width:auto}.welcome-tour-card .components-guide__page-control .components-button.has-icon{padding:3px}.welcome-tour-card .components-guide__page-control li{margin-bottom:0}.welcome-tour-card__minimize-icon svg{position:relative;right:-2px}.welcome-tour-card__overlay-controls{right:0;padding:12px;position:absolute;left:0;z-index:1}.welcome-tour-card__overlay-controls .components-button{width:32px;min-width:32px;height:32px;background:#32373c;transition:opacity .2s;opacity:.7}.welcome-tour-card__overlay-controls .components-button:active{opacity:.9}@media(hover:hover)and (pointer:fine){.welcome-tour-card__overlay-controls .components-button{opacity:0}.tour-kit__frame:focus-within .welcome-tour-card__overlay-controls .components-button,.tour-kit__frame:hover .welcome-tour-card__overlay-controls .components-button{opacity:.7}.tour-kit__frame:focus-within .welcome-tour-card__overlay-controls .components-button:focus,.tour-kit__frame:focus-within .welcome-tour-card__overlay-controls .components-button:hover,.tour-kit__frame:hover .welcome-tour-card__overlay-controls .components-button:focus,.tour-kit__frame:hover .welcome-tour-card__overlay-controls .components-button:hover{opacity:.9}}.welcome-tour-card__next-btn{margin-right:12px;justify-content:center;min-width:85px}.tour-kit__frame{border-radius:2px;bottom:44px;display:inline;right:16px;position:fixed;z-index:9999;cursor:default;box-shadow:0 0 3px 0 rgba(0,0,0,.25);background:#fff}.tour-kit__overlay{position:fixed;width:100vw;height:100vh;top:0;right:0;background:#000;opacity:0}.tour-kit__overlay.--visible{opacity:.5}.tour-kit__spotlight.--visible{position:fixed;width:50px;height:50px;overflow:hidden;outline:99999px solid rgba(0,0,0,.5);border-radius:2px;z-index:1}.tour-kit__arrow{visibility:hidden}.tour-kit__arrow,.tour-kit__arrow:before{position:absolute;width:12px;height:12px;background:inherit;z-index:-1}.tour-kit__arrow:before{visibility:visible;content:"";transform:rotate(-45deg)}.tour-kit__frame[data-popper-placement^=top]>.tour-kit__arrow{bottom:-6px}.tour-kit__frame[data-popper-placement^=top]>.tour-kit__arrow:before{box-shadow:-1px 1px 2px -1px rgba(0,0,0,.25)}.tour-kit__frame[data-popper-placement^=bottom]>.tour-kit__arrow{top:-6px}.tour-kit__frame[data-popper-placement^=bottom]>.tour-kit__arrow:before{box-shadow:1px -1px 2px -1px rgba(0,0,0,.25)}.tour-kit__frame[data-popper-placement^=left]>.tour-kit__arrow{left:-6px}.tour-kit__frame[data-popper-placement^=left]>.tour-kit__arrow:before{box-shadow:1px 1px 2px -1px rgba(0,0,0,.25)}.tour-kit__frame[data-popper-placement^=right]>.tour-kit__arrow{right:-6px}.tour-kit__frame[data-popper-placement^=right]>.tour-kit__arrow:before{box-shadow:-1px -1px 2px -1px rgba(0,0,0,.25)}
1
+ .wpcom-block-editor-nux-modal .components-modal__header{height:auto;padding:10px;border-bottom:0;position:absolute;right:0;left:0;margin:0;background-color:transparent}.wpcom-block-editor-nux-modal .components-modal__header button{right:unset}.wpcom-block-editor-nux-modal .components-modal__header button svg path{transform:scale(1.4);transform-origin:center}.wpcom-block-editor-nux-modal .components-modal__content{padding:84px 20px 20px;margin-top:0}.wpcom-block-editor-nux-modal .components-modal__content:before{margin:0}@media(min-width:480px){.wpcom-block-editor-nux-modal .components-modal__content{text-align:center}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__image-container{display:flex;justify-content:center}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__title{margin:34px 0 0;font-size:2.25rem;font-weight:500;line-height:1.2}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__title{margin-top:24px}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__description{max-width:352px;margin:16px 0 0;font-size:1rem}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__description{margin:20px auto 0;font-size:1.125rem}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons{display:flex;flex-direction:column;justify-content:center;margin-top:24px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:130px;height:40px;justify-content:center;border-radius:3px;font-size:.875rem}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button+.components-button{margin-top:12px}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons{flex-direction:row;margin-top:28px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button+.components-button{margin-top:0;margin-right:16px}}@media(min-width:600px){.wpcom-block-editor-draft-post-modal .components-modal__content{padding:48px 128px}}.wpcom-block-editor-draft-post-modal .wpcom-block-editor-nux-modal__image-container img{width:209px;height:95px}@media(min-width:600px){.wpcom-block-editor-post-published-modal .components-modal__content{padding:48px 90px}}.wpcom-block-editor-post-published-modal .wpcom-block-editor-nux-modal__image-container img{width:158px;height:85px}.wpcom-block-editor-post-published-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:113px}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}@keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.wpcom-block-editor-nux.components-modal__frame{overflow:visible;height:65vh;top:calc(17.5vh - 35px)}@media(max-width:660px){.wpcom-block-editor-nux.components-modal__frame{width:90vw;min-width:90vw;right:5vw;left:5vw}}@media(min-width:660px){.wpcom-block-editor-nux.components-modal__frame{width:720px;height:350px;top:calc(50% - 35px)}}.wpcom-block-editor-nux .components-modal__header{position:absolute;max-width:90%;right:5%}@media(min-width:660px){.wpcom-block-editor-nux .components-modal__header{display:none}}.wpcom-block-editor-nux .components-guide__container{margin-top:0}.wpcom-block-editor-nux .components-guide__footer{position:absolute;width:100%;height:70px;bottom:-70px;right:0;padding:20px 0;margin:0;display:flex;justify-content:center;background:#fff;border-top:1px solid #dcdcde}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__footer{border-top:none}}.wpcom-block-editor-nux .components-guide__page{position:absolute;width:100%;max-width:90vw;height:100%;justify-content:start}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__page{max-width:100%}}.wpcom-block-editor-nux .components-guide__page-control{position:relative;height:0;top:100%;overflow:visible;margin:0 auto;z-index:2;display:none}.wpcom-block-editor-nux .components-guide__page-control:before{display:inline-block;content:"";height:70px;vertical-align:middle}.wpcom-block-editor-nux .components-guide__page-control li{vertical-align:middle;margin-bottom:0}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__page-control{display:block}}.wpcom-block-editor-nux__page{display:flex;flex-direction:column-reverse;justify-content:flex-end;background:#fff;width:100%;height:90%;max-width:90vw}@media(min-width:660px){.wpcom-block-editor-nux__page{flex-direction:row;justify-content:flex-start;position:absolute;max-width:100%;min-height:350px;bottom:0}}@media(min-width:660px){.wpcom-block-editor-nux__text,.wpcom-block-editor-nux__visual{flex:1 0 50%;min-width:290px}}.wpcom-block-editor-nux__text{padding:0 25px 25px;height:60%}@media(min-width:660px){.wpcom-block-editor-nux__text{height:auto;padding:40px 50px}}.wpcom-block-editor-nux__visual{height:40%;background:#1381d8;text-align:center}@media(min-width:660px){.wpcom-block-editor-nux__visual{height:auto}}.wpcom-block-editor-nux__heading{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;color:#1d2327;font-size:32px;line-height:1.19}@media(min-width:660px){.wpcom-block-editor-nux__heading{font-size:42px}}body.locale-de .wpcom-block-editor-nux__heading{font-size:24px}@media(min-width:660px){body.locale-de .wpcom-block-editor-nux__heading{font-size:28px}}.wpcom-block-editor-nux__description{font-size:15px;line-height:22px;color:#50575e}@media(min-width:660px){.wpcom-block-editor-nux__description{font-size:17px;line-height:26px}}.wpcom-block-editor-nux__image{max-width:100%;height:auto;flex:1;align-self:center;max-height:100%}.wpcom-block-editor-nux__image.align-bottom{align-self:flex-end}@media(min-width:660px){.wpcom-block-editor-nux__image{max-height:none}}.welcome-tour-card__heading{font-size:1.125rem;margin:.5rem 0}.welcome-tour-card__description{font-size:.875rem;line-height:1.5rem;margin:0}.welcome-tour-card__description .components-button{height:auto;line-height:1;text-decoration:underline;padding:0 4px 0 0}.wpcom-editor-welcome-tour__minimized{border-radius:2px;box-shadow:0 2px 6px rgba(60,66,87,.08),0 0 0 1px rgba(60,66,87,.16),0 1px 1px rgba(0,0,0,.08);background-color:#fff;color:#000}.wpcom-editor-welcome-tour__minimized .components-button{height:44px}.wpcom-editor-welcome-tour__minimized .components-button .wpcom-editor-welcome-tour__minimized-tour-index{color:#949494}.wpcom-editor-welcome-tour__minimized .components-button svg{color:#50575e}.wpcom-editor-welcome-tour__minimized .components-button:hover .wpcom-editor-welcome-tour__minimized-tour-index,.wpcom-editor-welcome-tour__minimized .components-button:hover svg{color:inherit}.wpcom-editor-welcome-tour-card-frame{position:relative}.wpcom-editor-welcome-tour-card-frame .components-guide__page-control{bottom:0;right:16px;margin:0;position:absolute}.wpcom-editor-welcome-tour-card-frame .components-guide__page-control li{margin-bottom:0}.wpcom-editor-welcome-tour>.tour-kit-frame__container{box-shadow:none}.welcome-tour-card{width:400px;max-width:92vw}.welcome-tour-card.welcome-tour-card.is-elevated{box-shadow:none;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 2px 4px 0 rgba(0,0,0,.1)}.welcome-tour-card.components-card{border:none;border-radius:4px;box-shadow:none}.welcome-tour-card .components-card__body{min-height:114px}.welcome-tour-card .components-card__body,.welcome-tour-card .components-card__footer{border-top:none;padding:16px!important}.welcome-tour-card .components-card__footer .welcome-tour__end-text{color:#949494;font-size:.875rem;font-style:italic}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon{background-color:#f6f7f7;border-radius:50%;color:#949494;margin-right:8px}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon path{fill:#949494}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon.active{background-color:#000;opacity:1}.welcome-tour-card .components-card__footer .welcome-tour__end-icon.components-button.has-icon.active path{fill:#fff}.welcome-tour-card .components-card__media{height:0;padding-top:66%;position:relative;width:100%}.welcome-tour-card .components-card__media img{right:0;position:absolute;top:0;width:100%}.welcome-tour-card .components-guide__page-control{margin:0}.welcome-tour-card .components-guide__page-control .components-button{min-width:auto}.welcome-tour-card .components-guide__page-control .components-button.has-icon{padding:3px}.welcome-tour-card .components-guide__page-control li{margin-bottom:0}.welcome-tour-card__minimize-icon svg{position:relative;right:-2px}.welcome-tour-card__overlay-controls{right:0;padding:12px;position:absolute;left:0;z-index:1}.welcome-tour-card__overlay-controls .components-button{width:32px;min-width:32px;height:32px;background:#32373c;transition:opacity .2s;opacity:.7}.welcome-tour-card__overlay-controls .components-button:active{opacity:.9}@media(hover:hover)and (pointer:fine){.welcome-tour-card__overlay-controls .components-button{opacity:0}.tour-kit-frame__container:focus-within .welcome-tour-card__overlay-controls .components-button,.tour-kit-frame__container:hover .welcome-tour-card__overlay-controls .components-button{opacity:.7}.tour-kit-frame__container:focus-within .welcome-tour-card__overlay-controls .components-button:focus,.tour-kit-frame__container:focus-within .welcome-tour-card__overlay-controls .components-button:hover,.tour-kit-frame__container:hover .welcome-tour-card__overlay-controls .components-button:focus,.tour-kit-frame__container:hover .welcome-tour-card__overlay-controls .components-button:hover{opacity:.9}}.welcome-tour-card__next-btn{margin-right:12px;justify-content:center;min-width:85px}.tour-kit-frame__container{border-radius:2px;bottom:44px;display:inline;right:16px;position:fixed;z-index:9999;cursor:default;box-shadow:0 0 3px 0 rgba(0,0,0,.25);background:#fff}.tour-kit-overlay{position:fixed;width:100vw;height:100vh;top:0;right:0;background:#000;opacity:0}.tour-kit-overlay.--visible{opacity:.5}.tour-kit-spotlight.--visible{position:fixed;width:50px;height:50px;overflow:hidden;outline:99999px solid rgba(0,0,0,.5);border-radius:2px;z-index:1}.tour-kit-frame__arrow{visibility:hidden}.tour-kit-frame__arrow,.tour-kit-frame__arrow:before{position:absolute;width:12px;height:12px;background:inherit;z-index:-1}.tour-kit-frame__arrow:before{visibility:visible;content:"";transform:rotate(-45deg)}.tour-kit-frame__container[data-popper-placement^=top]>.tour-kit-frame__arrow{bottom:-6px}.tour-kit-frame__container[data-popper-placement^=top]>.tour-kit-frame__arrow:before{box-shadow:-1px 1px 2px -1px rgba(0,0,0,.25)}.tour-kit-frame__container[data-popper-placement^=bottom]>.tour-kit-frame__arrow{top:-6px}.tour-kit-frame__container[data-popper-placement^=bottom]>.tour-kit-frame__arrow:before{box-shadow:1px -1px 2px -1px rgba(0,0,0,.25)}.tour-kit-frame__container[data-popper-placement^=left]>.tour-kit-frame__arrow{left:-6px}.tour-kit-frame__container[data-popper-placement^=left]>.tour-kit-frame__arrow:before{box-shadow:1px 1px 2px -1px rgba(0,0,0,.25)}.tour-kit-frame__container[data-popper-placement^=right]>.tour-kit-frame__arrow{right:-6px}.tour-kit-frame__container[data-popper-placement^=right]>.tour-kit-frame__arrow:before{box-shadow:-1px -1px 2px -1px rgba(0,0,0,.25)}
wpcom-block-editor-nux/src/welcome-tour/style-tour.scss CHANGED
@@ -66,7 +66,7 @@ $welcome-tour-button-background-color: #32373c; // former $dark-gray-700. TODO:
66
  }
67
  }
68
 
69
- .wpcom-editor-welcome-tour > .tour-kit__frame {
70
  box-shadow: none;
71
  }
72
 
@@ -184,8 +184,8 @@ $welcome-tour-button-background-color: #32373c; // former $dark-gray-700. TODO:
184
  opacity: 0;
185
  }
186
 
187
- .tour-kit__frame:hover &,
188
- .tour-kit__frame:focus-within & {
189
  .components-button {
190
  opacity: 0.7;
191
 
66
  }
67
  }
68
 
69
+ .wpcom-editor-welcome-tour > .tour-kit-frame__container {
70
  box-shadow: none;
71
  }
72
 
184
  opacity: 0;
185
  }
186
 
187
+ .tour-kit-frame__container:hover &,
188
+ .tour-kit-frame__container:focus-within & {
189
  .components-button {
190
  opacity: 0.7;
191