Changeset 3418147
- Timestamp:
- 12/12/2025 10:55:21 AM (43 hours ago)
- Location:
- mailpoet/trunk
- Files:
-
- 1 added
- 42 edited
-
assets/dist/js/email-editor/style/style-rtl.css (modified) (1 diff)
-
assets/dist/js/email-editor/style/style.asset.php (modified) (1 diff)
-
assets/dist/js/email-editor/style/style.css (modified) (1 diff)
-
assets/dist/js/email_editor_integration/email_editor_integration.asset.php (modified) (1 diff)
-
assets/dist/js/email_editor_integration/email_editor_integration.js (modified) (2 diffs)
-
lang/mailpoet.pot (modified) (2 diffs)
-
mailpoet.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/autoload_packages.php (modified) (1 diff)
-
vendor/composer/autoload_classmap.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (3 diffs)
-
vendor/composer/installed.json (modified) (3 diffs)
-
vendor/composer/installed.php (modified) (3 diffs)
-
vendor/composer/jetpack_autoload_classmap.php (modified) (3 diffs)
-
vendor/jetpack-autoloader/class-autoloader-handler.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-autoloader-locator.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-autoloader.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-container.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-hook-manager.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-latest-autoloader-guard.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-manifest-reader.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-path-processor.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-php-autoloader.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-plugin-locator.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-plugins-handler.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-shutdown-handler.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-version-loader.php (modified) (1 diff)
-
vendor/jetpack-autoloader/class-version-selector.php (modified) (1 diff)
-
vendor/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/class-content-renderer.php (modified) (6 diffs)
-
vendor/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/class-rendering-context.php (modified) (2 diffs)
-
vendor/woocommerce/email-editor/src/Engine/class-send-preview-email.php (modified) (2 diffs)
-
vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-abstract-block-renderer.php (modified) (2 diffs)
-
vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-column.php (modified) (1 diff)
-
vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-columns.php (modified) (1 diff)
-
vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-group.php (modified) (1 diff)
-
vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-image.php (modified) (1 diff)
-
vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-post-content.php (added)
-
vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-quote.php (modified) (2 diffs)
-
vendor/woocommerce/email-editor/src/Integrations/Core/class-initializer.php (modified) (1 diff)
-
vendor/woocommerce/email-editor/src/Integrations/WooCommerce/Renderer/Blocks/class-product-button.php (modified) (2 diffs)
-
vendor/woocommerce/email-editor/src/Integrations/WooCommerce/Renderer/Blocks/class-product-collection.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mailpoet/trunk/assets/dist/js/email-editor/style/style-rtl.css
r3394184 r3418147 1 /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** *******************!*\2 !*** css ../../../node_modules/.pnpm/[email protected][email protected]_@[email protected]_/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/[email protected][email protected][email protected] _@[email protected]_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/[email protected][email protected][email protected]_@[email protected]_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/style.scss ***!3 \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** *******************/1 /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ 2 !*** css ../../../node_modules/.pnpm/[email protected][email protected]_@[email protected]_/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/[email protected][email protected][email protected]_@[email protected]_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/style.scss ***! 3 \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ 4 4 /** 5 5 * Converts a hex value into the rgb equivalent. -
mailpoet/trunk/assets/dist/js/email-editor/style/style.asset.php
r3394184 r3418147 3 3 if (!defined('ABSPATH')) exit; 4 4 5 return array('version' => ' 9f79f2eac83d26bc4321');5 return array('version' => '7942aa01fb7e5a2e90ad'); -
mailpoet/trunk/assets/dist/js/email-editor/style/style.css
r3394184 r3418147 1 /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** *******************!*\2 !*** css ../../../node_modules/.pnpm/[email protected][email protected]_@[email protected]_/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/[email protected][email protected][email protected] _@[email protected]_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/[email protected][email protected][email protected]_@[email protected]_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/style.scss ***!3 \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** *******************/1 /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ 2 !*** css ../../../node_modules/.pnpm/[email protected][email protected]_@[email protected]_/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/[email protected][email protected][email protected]_@[email protected]_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/style.scss ***! 3 \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ 4 4 /** 5 5 * Converts a hex value into the rgb equivalent. -
mailpoet/trunk/assets/dist/js/email_editor_integration/email_editor_integration.asset.php
r3407918 r3418147 3 3 if (!defined('ABSPATH')) exit; 4 4 5 return array('dependencies' => array('jquery', 'lodash', 'moment', 'react', 'react-dom', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-format-library', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp- media-utils', 'wp-notices', 'wp-plugins', 'wp-preferences', 'wp-primitives', 'wp-priority-queue', 'wp-private-apis', 'wp-rich-text', 'wp-url'), 'version' => 'f3fbb6395ac195f3ef05');5 return array('dependencies' => array('jquery', 'lodash', 'moment', 'react', 'react-dom', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-format-library', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-preferences', 'wp-primitives', 'wp-priority-queue', 'wp-private-apis', 'wp-rich-text', 'wp-url'), 'version' => '31a857690a8e098e6c1e'); -
mailpoet/trunk/assets/dist/js/email_editor_integration/email_editor_integration.js
r3407918 r3418147 1 (()=>{var e={7762:(e,t)=>{"use strict";t.byteLength=function(e){var t=a(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=a(e),s=i[0],l=i[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,s,l)),u=0,p=l>0?s-4:s;for(n=0;n<p;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],s=16383,a=0,c=r-o;a<c;a+=s)i.push(l(e,a,a+s>c?c:a+s));return 1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=i[s],r[i.charCodeAt(s)]=s;function a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var o,i,s=[],a=t;a<r;a+=3)o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},2266:(e,t,n)=>{"use strict";const r=n(7762),o=n(6287),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50;const s=2147483647;function a(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return p(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let r=a(n);const o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(K(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);const o=function(e){if(l.isBuffer(e)){const t=0|f(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length|| Z(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return u(e),a(e<0?0:0|f(e))}function d(e){const t=e.length<0?0:0|f(e.length),n=a(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function f(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(o)return r?-1:W(e).length;t=(""+t).toLowerCase(),o=!0}}function g(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return j(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function _(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Z(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){let i,s=1,a=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){let r=-1;for(i=n;i<a;i++)if(c(e,i)===c(t,-1===r?0:i-r)){if(-1===r&&(r=i),i-r+1===l)return r*s}else-1!==r&&(i-=i-r),r=-1}else for(n+l>a&&(n=a-l),i=n;i>=0;i--){let n=!0;for(let r=0;r<l;r++)if(c(e,i+r)!==c(t,r)){n=!1;break}if(n)return i}return-1}function b(e,t,n,r){n=Number(n)||0;const o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;const i=t.length;let s;for(r>i/2&&(r=i/2),s=0;s<r;++s){const r=parseInt(t.substr(2*s,2),16);if(Z(r))return s;e[n+s]=r}return s}function w(e,t,n,r){return Y(W(t,e.length-n),e,n,r)}function x(e,t,n,r){return Y(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function S(e,t,n,r){return Y(G(t),e,n,r)}function k(e,t,n,r){return Y(function(e,t){let n,r,o;const i=[];for(let s=0;s<e.length&&!((t-=2)<0);++s)n=e.charCodeAt(s),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o<n;){const t=e[o];let i=null,s=t>239?4:t>223?3:t>191?2:1;if(o+s<=n){let n,r,a,l;switch(s){case 1:t<128&&(i=t);break;case 2:n=e[o+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(i=l));break;case 3:n=e[o+1],r=e[o+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:n=e[o+1],r=e[o+2],a=e[o+3],128==(192&n)&&128==(192&r)&&128==(192&a)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&a,l>65535&&l<1114112&&(i=l))}}null===i?(i=65533,s=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=s}return function(e){const t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=T));return n}(r)}t.kMaxLength=s,l.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)}(e,t,n)},l.allocUnsafe=function(e){return p(e)},l.allocUnsafeSlow=function(e){return p(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(K(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),K(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=l.allocUnsafe(t);let o=0;for(n=0;n<e.length;++n){let t=e[n];if(K(t,Uint8Array))o+t.length>r.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)_(this,t,t+1);return this},l.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this},l.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this},l.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,o){if(K(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0);const a=Math.min(i,s),c=this.slice(r,o),u=e.slice(t,n);for(let e=0;e<a;++e)if(c[e]!==u[e]){i=c[e],s=u[e];break}return i<s?-1:s<i?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return x(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function P(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function j(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function A(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let o="";for(let r=t;r<n;++r)o+=J[e[r]];return o}function I(e,t,n){const r=e.slice(t,n);let o="";for(let e=0;e<r.length-1;e+=2)o+=String.fromCharCode(r[e]+256*r[e+1]);return o}function N(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function B(e,t,n,r,o){V(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,n}function R(e,t,n,r,o){V(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=s,s>>=8,e[n+2]=s,s>>=8,e[n+1]=s,s>>=8,e[n]=s,n+8}function O(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,i){return t=+t,n>>>=0,i||O(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,i){return t=+t,n>>>=0,i||O(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=X((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<<BigInt(32))})),l.prototype.readBigUInt64BE=X((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(o)})),l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||N(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||N(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=X((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),l.prototype.readBigInt64BE=X((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),l.prototype.readFloatLE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);let o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=X((function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=X((function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);L(this,e,t,n,r-1,-r)}let o=0,i=1,s=0;for(this[t]=255&e;++o<n&&(i*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/i|0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);L(this,e,t,n,r-1,-r)}let o=n-1,i=1,s=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/i|0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=X((function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=X((function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const o=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{const i=l.isBuffer(e)?e:l.from(e,r),s=i.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=i[o%s]}return this};const F={};function q(e,t,n){F[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function H(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function V(e,t,n,r,o,i){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let o;throw o=i>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new F.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){z(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||U(t,e.length-(n+1))}(r,o,i)}function z(e,t){if("number"!=typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function U(e,t,n){if(Math.floor(e)!==e)throw z(e,n),new F.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}q("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),q("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),q("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=H(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=H(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r}),RangeError);const $=/[^+/0-9A-Za-z-_]/g;function W(e,t){let n;t=t||1/0;const r=e.length;let o=null;const i=[];for(let s=0;s<r;++s){if(n=e.charCodeAt(s),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function G(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,n,r){let o;for(o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function K(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Z(e){return e!=e}const J=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function X(e){return"undefined"==typeof BigInt?Q:e}function Q(){throw new Error("BigInt not supported")}},6838:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function a(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||o,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var c=Array.isArray(n);return c===Array.isArray(e)?c?l.arrayMerge(e,n,l):function(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(s(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}(e,n,l):r(n,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return a(e,n,t)}),{})};var l=a;e.exports=l},7478:(e,t,n)=>{var r=n(5836),o=n(2407),i={__proto__:null,allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,hidden:!0,ismap:!0,loop:!0,multiple:!0,muted:!0,open:!0,readonly:!0,required:!0,reversed:!0,scoped:!0,seamless:!0,selected:!0,typemustmatch:!0},s={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",o=0;o<e.length;o++){var i=e[o];"root"===i.type?n+=l(i.children,t):r.isTag(i)?n+=c(i,t):i.type===r.Directive?n+=u(i):i.type===r.Comment?n+=h(i):i.type===r.CDATA?n+=d(i):n+=p(i,t)}return n};function c(e,t){"svg"===e.name&&(t={decodeEntities:t.decodeEntities,xmlMode:!0});var n="<"+e.name,r=function(e,t){if(e){var n,r="";for(var s in e)r&&(r+=" "),!(n=e[s])&&i[s]?r+=s:r+=s+'="'+(t.decodeEntities?o.encodeXML(n):n)+'"';return r}}(e.attribs,t);return r&&(n+=" "+r),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=l(e.children,t)),a[e.name]&&!t.xmlMode||(n+="</"+e.name+">")):n+="/>",n}function u(e){return"<"+e.data+">"}function p(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in s||(n=o.encodeXML(n)),n}function d(e){return"<![CDATA["+e.children[0].data+"]]>"}function h(e){return"\x3c!--"+e.data+"--\x3e"}},5836:e=>{e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},7500:e=>{e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},7533:(e,t,n)=>{var r=n(7500),o=/\s+/g,i=n(765),s=n(1617);function a(e,t,n){"object"==typeof e?(n=t,t=e,e=null):"function"==typeof t&&(n=t,t=l),this._callback=e,this._options=t||l,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};a.prototype.onparserinit=function(e){this._parser=e},a.prototype.onreset=function(){a.call(this,this._callback,this._options,this._elementCB)},a.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},a.prototype._handleCallback=a.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},a.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},a.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var n in t="tag"===e.type?Object.create(s):Object.create(i),e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},a.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},a.prototype.onopentag=function(e,t){var n={type:"script"===e?r.Script:"style"===e?r.Style:r.Tag,name:e,attribs:t,children:[]},o=this._createDomElement(n);this._addDomElement(o),this._tagStack.push(o)},a.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===r.Text)n?t.data=(t.data+e).replace(o," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===r.Text)n?t.data=(t.data+e).replace(o," "):t.data+=e;else{n&&(e=e.replace(o," "));var i=this._createDomElement({data:e,type:r.Text});this._addDomElement(i)}},a.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===r.Comment)t.data+=e;else{var n={data:e,type:r.Comment},o=this._createDomElement(n);this._addDomElement(o),this._tagStack.push(o)}},a.prototype.oncdatastart=function(){var e={children:[{data:"",type:r.Text}],type:r.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},a.prototype.oncommentend=a.prototype.oncdataend=function(){this._tagStack.pop()},a.prototype.onprocessinginstruction=function(e,t){var n=this._createDomElement({name:e,data:t,type:r.Directive});this._addDomElement(n)},e.exports=a},1617:(e,t,n)=>{var r=n(765),o=e.exports=Object.create(r),i={tagName:"name"};Object.keys(i).forEach((function(e){var t=i[e];Object.defineProperty(o,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},765:e=>{var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return r[this.type]||r.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},r={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(e){var r=n[e];Object.defineProperty(t,e,{get:function(){return this[r]||null},set:function(e){return this[r]=e,e}})}))},5027:(e,t,n)=>{var r=e.exports;[n(3778),n(221),n(8018),n(2795),n(2724),n(4754)].forEach((function(e){Object.keys(e).forEach((function(t){r[t]=e[t].bind(r)}))}))},4754:(e,t)=>{t.removeSubsets=function(e){for(var t,n,r,o=e.length;--o>-1;){for(t=n=e[o],e[o]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(o,1);break}n=n.parent}r&&(e[o]=t)}return e};var n=t.compareDocumentPosition=function(e,t){var n,r,o,i,s,a,l=[],c=[];if(e===t)return 0;for(n=e;n;)l.unshift(n),n=n.parent;for(n=t;n;)c.unshift(n),n=n.parent;for(a=0;l[a]===c[a];)a++;return 0===a?1:(o=(r=l[a-1]).children,i=l[a],s=c[a],o.indexOf(i)>o.indexOf(s)?r===t?20:4:r===e?10:2)};t.uniqueSort=function(e){var t,r,o=e.length;for(e=e.slice();--o>-1;)t=e[o],(r=e.indexOf(t))>-1&&r<o&&e.splice(o,1);return e.sort((function(e,t){var r=n(e,t);return 2&r?-1:4&r?1:0})),e}},2724:(e,t,n)=>{var r=n(7500),o=t.isTag=r.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n))if("tag_name"===n){if(!o(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(o(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1;return!0};var i={tag_name:function(e){return"function"==typeof e?function(t){return o(t)&&e(t.name)}:"*"===e?o:function(t){return o(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!o(t)&&e(t.data)}:function(t){return!o(t)&&t.data===e}}};function s(e,t){return"function"==typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function a(e,t){return function(n){return e(n)||t(n)}}t.getElements=function(e,t,n,r){var o=Object.keys(e).map((function(t){var n=e[t];return t in i?i[t](n):s(t,n)}));return 0===o.length?[]:this.filter(o.reduce(a),t,n,r)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(s("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(i.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(i.tag_type(e),t,n,r)}},8018:(e,t)=>{t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var o=n.children;o.splice(o.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},2795:(e,t,n)=>{var r=n(7500).isTag;function o(e,t,n,r){for(var i,s=[],a=0,l=t.length;a<l&&!(e(t[a])&&(s.push(t[a]),--r<=0))&&(i=t[a].children,!(n&&i&&i.length>0&&(i=o(e,i,n,r),s=s.concat(i),(r-=i.length)<=0)));a++);return s}e.exports={filter:function(e,t,n,r){return Array.isArray(t)||(t=[t]),"number"==typeof r&&isFinite(r)||(r=1/0),o(e,t,!1!==n,r)},find:o,findOneChild:function(e,t){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return t[n];return null},findOne:function e(t,n){for(var o=null,i=0,s=n.length;i<s&&!o;i++)r(n[i])&&(t(n[i])?o=n[i]:n[i].children.length>0&&(o=e(t,n[i].children)));return o},existsOne:function e(t,n){for(var o=0,i=n.length;o<i;o++)if(r(n[o])&&(t(n[o])||n[o].children.length>0&&e(t,n[o].children)))return!0;return!1},findAll:function(e,t){for(var n=[],o=t.slice();o.length;){var i=o.shift();r(i)&&(i.children&&i.children.length>0&&o.unshift.apply(o,i.children),e(i)&&n.push(i))}return n}}},3778:(e,t,n)=>{var r=n(7500),o=n(7478),i=r.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return o(e,t)})).join(""):""},getOuterHTML:o,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):i(t)?"br"===t.name?"\n":e(t.children):t.type===r.CDATA?e(t.children):t.type===r.Text?t.data:""}}},221:(e,t)=>{var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},2407:(e,t,n)=>{var r=n(7857),o=n(5385);t.decode=function(e,t){return(!t||t<=0?o.XML:o.HTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?o.XML:o.HTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?r.XML:r.HTML)(e)},t.encodeXML=r.XML,t.encodeHTML4=t.encodeHTML5=t.encodeHTML=r.HTML,t.decodeXML=t.decodeXMLStrict=o.XML,t.decodeHTML4=t.decodeHTML5=t.decodeHTML=o.HTML,t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=o.HTMLStrict,t.escape=r.escape},5385:(e,t,n)=>{var r=n(4807),o=n(323),i=n(1929),s=n(939),a=c(i),l=c(r);function c(e){var t=Object.keys(e).join("|"),n=d(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}var u=function(){for(var e=Object.keys(o).sort(p),t=Object.keys(r).sort(p),n=0,i=0;n<t.length;n++)e[i]===t[n]?(t[n]+=";?",i++):t[n]+=";";var s=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=d(r);function l(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(s,l)}}();function p(e,t){return e<t?1:-1}function d(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?s(parseInt(t.substr(3),16)):s(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}e.exports={XML:a,HTML:u,HTMLStrict:l}},939:(e,t,n)=>{var r=n(4338);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in r&&(e=r[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},7857:(e,t,n)=>{var r=a(n(1929)),o=l(r);t.XML=h(r,o);var i=a(n(4807)),s=l(i);function a(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function l(e){var t=[],n=[];return Object.keys(e).forEach((function(e){1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.HTML=h(i,s);var c=/[^\0-\x7F]/g,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function p(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function d(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function h(e,t){function n(t){return e[t]}return function(e){return e.replace(t,n).replace(u,d).replace(c,p)}}var f=l(r);t.escape=function(e){return e.replace(f,p).replace(u,d).replace(c,p)}},3236: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(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}m(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var o,i,s,c;if(a(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=l(e))>0&&s.length>o&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){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 p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=u.bind(r);return o.listener=n,r.wrapFn=o,o}function d(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):f(o,o.length)}function h(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 f(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){r.once&&e.removeEventListener(t,o),n(i)}))}}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 l(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 a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=f(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},i.prototype.addListener=function(e,t){return c(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return c(this,e,t,!0)},i.prototype.once=function(e,t){return a(t),this.on(e,p(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,p(this,e,t)),this},i.prototype.removeListener=function(e,t){var n,r,o,i,s;if(a(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 d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},i.prototype.listenerCount=h,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},3882:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(n(4936)),i=r(n(8975)),s=n(6914),a=n(178),l=r(n(6196)),c=r(n(889)),u=r(n(8409)),p=o.default.create;function d(){var e=p();return e.compile=function(t,n){return a.compile(t,n,e)},e.precompile=function(t,n){return a.precompile(t,n,e)},e.AST=i.default,e.Compiler=a.Compiler,e.JavaScriptCompiler=l.default,e.Parser=s.parser,e.parse=s.parse,e.parseWithoutProcessing=s.parseWithoutProcessing,e}var h=d();h.create=d,u.default(h),h.Visitor=c.default,h.default=h,t.default=h,e.exports=t.default},4936:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var i=o(n(9612)),s=r(n(3716)),a=r(n(4680)),l=o(n(6516)),c=o(n(4533)),u=r(n(8409));function p(){var e=new i.HandlebarsEnvironment;return l.extend(e,i),e.SafeString=s.default,e.Exception=a.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var d=p();d.create=p,u.default(d),d.default=d,t.default=d,e.exports=t.default},9612:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=p;var o=n(6516),i=r(n(4680)),s=n(5172),a=n(2147),l=r(n(9001)),c=n(5188);t.VERSION="4.7.8",t.COMPILER_REVISION=8,t.LAST_COMPATIBLE_COMPILER_REVISION=7,t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var u="[object Object]";function p(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},s.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}p.prototype={constructor:p,logger:l.default,log:l.default.log,registerHelper:function(e,t){if(o.toString.call(e)===u){if(t)throw new i.default("Arg not supported with multiple helpers");o.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(o.toString.call(e)===u)o.extend(this.partials,e);else{if(void 0===t)throw new i.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(o.toString.call(e)===u){if(t)throw new i.default("Arg not supported with multiple decorators");o.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var d=l.default.log;t.log=d,t.createFrame=o.createFrame,t.logger=l.default},8975:(e,t)=>{"use strict";t.__esModule=!0;var n={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!n.helpers.scopedId(e)&&!e.depth}}};t.default=n,e.exports=t.default},6914:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.parseWithoutProcessing=c,t.parse=function(e,t){var n=c(e,t);return new i.default(t).accept(n)};var o=r(n(176)),i=r(n(7858)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(8478)),a=n(6516);t.parser=o.default;var l={};function c(e,t){return"Program"===e.type?e:(o.default.yy=l,l.locInfo=function(e){return new l.SourceLocation(t&&t.srcName,e)},o.default.parse(e))}a.extend(l,s)},7441:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(6516),o=void 0;function i(e,t,n){if(r.isArray(e)){for(var o=[],i=0,s=e.length;i<s;i++)o.push(t.wrap(e[i],n));return o}return"boolean"==typeof e||"number"==typeof e?e+"":e}function s(e){this.srcFile=e,this.source=[]}o||((o=function(e,t,n,r){this.src="",r&&this.add(r)}).prototype={add:function(e){r.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){r.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),s.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var e=this.empty();return this.each((function(t){e.add([" ",t,"\n"])})),e},each:function(e){for(var t=0,n=this.source.length;t<n;t++)e(this.source[t])},empty:function(){var e=this.currentLocation||{start:{}};return new o(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof o?e:(e=i(e,this,t),new o(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t=this,n=[];Object.keys(e).forEach((function(r){var o=i(e[r],t);"undefined"!==o&&n.push([t.quotedString(r),":",o])}));var r=this.generateList(n);return r.prepend("{"),r.add("}"),r},generateList:function(e){for(var t=this.empty(),n=0,r=e.length;n<r;n++)n&&t.add(","),t.add(i(e[n],this));return t},generateArray:function(e){var t=this.generateList(e);return t.prepend("["),t.add("]"),t}},t.default=s,e.exports=t.default},178:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.Compiler=l,t.precompile=function(e,t,n){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new o.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);"data"in(t=t||{})||(t.data=!0),t.compat&&(t.useDepths=!0);var r=n.parse(e,t),i=(new n.Compiler).compile(r,t);return(new n.JavaScriptCompiler).compile(i,t)},t.compile=function(e,t,n){if(void 0===t&&(t={}),null==e||"string"!=typeof e&&"Program"!==e.type)throw new o.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in(t=i.extend({},t))||(t.data=!0),t.compat&&(t.useDepths=!0);var r=void 0;function s(){var r=n.parse(e,t),o=(new n.Compiler).compile(r,t),i=(new n.JavaScriptCompiler).compile(o,t,void 0,!0);return n.template(i)}function a(e,t){return r||(r=s()),r.call(this,e,t)}return a._setup=function(e){return r||(r=s()),r._setup(e)},a._child=function(e,t,n,o){return r||(r=s()),r._child(e,t,n,o)},a};var o=r(n(4680)),i=n(6516),s=r(n(8975)),a=[].slice;function l(){}function c(e,t){if(e===t)return!0;if(i.isArray(e)&&i.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!c(e[n],t[n]))return!1;return!0}}function u(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}l.prototype={compiler:l,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;n<t;n++){var r=this.opcodes[n],o=e.opcodes[n];if(r.opcode!==o.opcode||!c(r.args,o.args))return!1}for(t=this.children.length,n=0;n<t;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,t){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[],t.knownHelpers=i.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},t.knownHelpers),this.accept(e)},compileProgram:function(e){var t=(new this.compiler).compile(e,this.options),n=this.guid++;return this.usePartial=this.usePartial||t.usePartial,this.children[n]=t,this.useDepths=this.useDepths||t.useDepths,n},accept:function(e){if(!this[e.type])throw new o.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var t=this[e.type](e);return this.sourceNode.shift(),t},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,n=t.length,r=0;r<n;r++)this.accept(t[r]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){u(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var r=this.classifySexpr(e);"helper"===r?this.helperSexpr(e,t,n):"simple"===r?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var t=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,t,void 0),r=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,r.original)},PartialStatement:function(e){this.usePartial=!0;var t=e.program;t&&(t=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new o.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var r=e.name.original,i="SubExpression"===e.name.type;i&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var s=e.indent||"";this.options.preventIndent&&s&&(this.opcode("appendContent",s),s=""),this.opcode("invokePartial",i,r,s),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){u(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var r=e.path,o=r.parts[0],i=null!=t||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),r.strict=!0,this.accept(r),this.opcode("invokeAmbiguous",o,i)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var r=this.setupFullMustacheParams(e,t,n),i=e.path,a=i.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",r.length,a);else{if(this.options.knownHelpersOnly)throw new o.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",r.length,i.original,s.default.helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=s.default.helpers.scopedId(e),r=!e.depth&&!n&&this.blockParamIndex(t);r?this.opcode("lookupBlockParam",r,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,n=0,r=t.length;for(this.opcode("pushHash");n<r;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:a.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=s.default.helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),r=!n&&s.default.helpers.helperExpression(e),o=!n&&(r||t);if(o&&!r){var i=e.path.parts[0],a=this.options;a.knownHelpers[i]?r=!0:a.knownHelpersOnly&&(o=!1)}return r?"helper":o?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;t<n;t++)this.pushParam(e[t])},pushParam:function(e){var t=null!=e.value?e.value:e.original||"";if(this.stringParams)t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",t,e.type),"SubExpression"===e.type&&this.accept(e);else{if(this.trackIds){var n=void 0;if(!e.parts||s.default.helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var r=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,r)}else(t=e.original||t).replace&&(t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,t)}this.accept(e)}},setupFullMustacheParams:function(e,t,n,r){var o=e.params;return this.pushParams(o),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",r),o},blockParamIndex:function(e){for(var t=0,n=this.options.blockParams.length;t<n;t++){var r=this.options.blockParams[t],o=r&&i.indexOf(r,e);if(r&&o>=0)return[t,o]}}}},8478:(e,t,n)=>{"use strict";t.__esModule=!0,t.SourceLocation=function(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}},t.id=function(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e},t.stripFlags=function(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}},t.stripComment=function(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},t.preparePath=function(e,t,n){n=this.locInfo(n);for(var r=e?"@":"",i=[],s=0,a=0,l=t.length;a<l;a++){var c=t[a].part,u=t[a].original!==c;if(r+=(t[a].separator||"")+c,u||".."!==c&&"."!==c&&"this"!==c)i.push(c);else{if(i.length>0)throw new o.default("Invalid path: "+r,{loc:n});".."===c&&s++}}return{type:"PathExpression",data:e,depth:s,parts:i,original:r,loc:n}},t.prepareMustache=function(e,t,n,r,o,i){var s=r.charAt(3)||r.charAt(2),a="{"!==s&&"&"!==s;return{type:/\*/.test(r)?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:a,strip:o,loc:this.locInfo(i)}},t.prepareRawBlock=function(e,t,n,r){i(e,n);var o={type:"Program",body:t,strip:{},loc:r=this.locInfo(r)};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:r}},t.prepareBlock=function(e,t,n,r,s,a){r&&r.path&&i(e,r);var l=/\*/.test(e.open);t.blockParams=e.blockParams;var c=void 0,u=void 0;if(n){if(l)throw new o.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=r.strip),u=n.strip,c=n.program}return s&&(s=c,c=t,t=s),{type:l?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:c,openStrip:e.strip,inverseStrip:u,closeStrip:r&&r.strip,loc:this.locInfo(a)}},t.prepareProgram=function(e,t){if(!t&&e.length){var n=e[0].loc,r=e[e.length-1].loc;n&&r&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:e,strip:{},loc:t}},t.preparePartialBlock=function(e,t,n,r){return i(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(r)}};var r,o=(r=n(4680))&&r.__esModule?r:{default:r};function i(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var n={loc:e.path.loc};throw new o.default(e.path.original+" doesn't match "+t,n)}}},6196:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(9612),i=r(n(4680)),s=n(6516),a=r(n(7441));function l(e){this.value=e}function c(){}c.prototype={nameLookup:function(e,t){return this.internalNameLookup(e,t)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=o.COMPILER_REVISION;return[e,o.REVISION_CHANGES[e]]},appendToBuffer:function(e,t,n){return s.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,t){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(t),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,t,n,r){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!r,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var o=e.opcodes,s=void 0,a=void 0,l=void 0,c=void 0;for(l=0,c=o.length;l<c;l++)s=o[l],this.source.currentLocation=s.loc,a=a||s.loc,this[s.opcode].apply(this,s.args);if(this.source.currentLocation=a,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new i.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),r?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(r);if(this.isChild)return u;var p={compiler:this.compilerInfo(),main:u};this.decorators&&(p.main_d=this.decorators,p.useDecorators=!0);var d=this.context,h=d.programs,f=d.decorators;for(l=0,c=h.length;l<c;l++)h[l]&&(p[l]=h[l],f[l]&&(p[l+"_d"]=f[l],p.useDecorators=!0));return this.environment.usePartial&&(p.usePartial=!0),this.options.data&&(p.useData=!0),this.useDepths&&(p.useDepths=!0),this.useBlockParams&&(p.useBlockParams=!0),this.options.compat&&(p.compat=!0),r?p.compilerOptions=this.options:(p.compiler=JSON.stringify(p.compiler),this.source.currentLocation={start:{line:1,column:0}},p=this.objectLiteral(p),t.srcName?(p=p.toStringWithSourceMap({file:t.destName})).map=p.map&&p.map.toString():p=p.toString()),p},preamble:function(){this.lastContext=0,this.source=new a.default(this.options.srcName),this.decorators=new a.default(this.options.srcName)},createFunctionContext:function(e){var t=this,n="",r=this.stackVars.concat(this.registers.list);r.length>0&&(n+=", "+r.join(", "));var o=0;Object.keys(this.aliases).forEach((function(e){var r=t.aliases[e];r.children&&r.referenceCount>1&&(n+=", alias"+ ++o+"="+e,r.children[0]="alias"+o)})),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var i=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths");var s=this.mergeSource(n);return e?(i.push(s),Function.apply(this,i)):this.source.wrap(["function(",i.join(","),") {\n ",s,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,r=void 0,o=void 0,i=void 0,s=void 0;return this.source.each((function(e){e.appendToBuffer?(i?e.prepend(" + "):i=e,s=e):(i&&(o?i.prepend("buffer += "):r=!0,s.add(";"),i=s=void 0),o=!0,t||(n=!1))})),n?i?(i.prepend("return "),s.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(r?"":this.initializeBuffer()),i?(i.prepend("return buffer + "),s.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(r?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(e){var t=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack((function(e){return[" != null ? ",e,' : ""']})),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,r){var o=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[o++])),this.resolvePath("context",e,o,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,n)},resolvePath:function(e,t,n,r,o){var i=this;if(this.options.strict||this.options.assumeObjects)this.push(function(e,t,n,r,o){var i=t.popStack(),s=n.length;for(e&&s--;r<s;r++)i=t.nameLookup(i,n[r],o);return e?[t.aliasable("container.strict"),"(",i,", ",t.quotedString(n[r]),", ",JSON.stringify(t.source.currentLocation)," )"]:i}(this.options.strict&&o,this,t,n,e));else for(var s=t.length;n<s;n++)this.replaceStack((function(o){var s=i.nameLookup(o,t[n],e);return r?[" && ",s]:[" != null ? ",s," : ",o]}))},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,t){var n=this.nameLookup("decorators",t,"decorator"),r=this.setupHelperArgs(t,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",r])," || fn;"])},invokeHelper:function(e,t,n){var r=this.popStack(),o=this.setupHelper(e,t),i=[];n&&i.push(o.name),i.push(r),this.options.strict||i.push(this.aliasable("container.hooks.helperMissing"));var s=["(",this.itemsSeparatedBy(i,"||"),")"],a=this.source.functionCall(s,"call",o.callParams);this.push(a)},itemsSeparatedBy:function(e,t){var n=[];n.push(e[0]);for(var r=1;r<e.length;r++)n.push(t,e[r]);return n},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,e,t),o=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",e,"helper")," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,r.paramsInit?["),(",r.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",r.callParams)," : helper))"])},invokePartial:function(e,t,n){var r=[],o=this.setupParams(t,1,r);e&&(t=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?r.unshift(t):r.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),r.push(o),this.push(this.source.functionCall("container.invokePartial","",r))},assignToHash:function(e){var t=this.popStack(),n=void 0,r=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var i=this.hash;n&&(i.contexts[e]=n),r&&(i.types[e]=r),o&&(i.ids[e]=o),i.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:c,compileChildren:function(e,t){for(var n=e.children,r=void 0,o=void 0,i=0,s=n.length;i<s;i++){r=n[i],o=new this.compiler;var a=this.matchExistingProgram(r);if(null==a){this.context.programs.push("");var l=this.context.programs.length;r.index=l,r.name="program"+l,this.context.programs[l]=o.compile(r,t,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=r,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,r.useDepths=this.useDepths,r.useBlockParams=this.useBlockParams}else r.index=a.index,r.name="program"+a.index,this.useDepths=this.useDepths||a.useDepths,this.useBlockParams=this.useBlockParams||a.useBlockParams}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var r=this.context.environments[t];if(r&&r.equals(e))return r}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof l||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new l(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],n=void 0,r=void 0,o=void 0;if(!this.isInline())throw new i.default("replaceStack on non-inline");var s=this.popStack(!0);if(s instanceof l)t=["(",n=[s.value]],o=!0;else{r=!0;var a=this.incrStack();t=["((",this.push(a)," = ",s,")"],n=this.topStack()}var c=e.call(this,n);o||this.popStack(),r&&this.stackSlot--,this.push(t.concat(c,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r instanceof l)this.compileStack.push(r);else{var o=this.incrStack();this.pushSource([o," = ",r,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof l)return n.value;if(!t){if(!this.stackSlot)throw new i.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof l?t.value:t},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):((t=this.aliases[e]=this.source.wrap(e)).aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,n){var r=[];return{params:r,paramsInit:this.setupHelperArgs(t,e,r,n),name:this.nameLookup("helpers",t,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(r)}},setupParams:function(e,t,n){var r={},o=[],i=[],s=[],a=!n,l=void 0;a&&(n=[]),r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var c=this.popStack(),u=this.popStack();(u||c)&&(r.fn=u||"container.noop",r.inverse=c||"container.noop");for(var p=t;p--;)l=this.popStack(),n[p]=l,this.trackIds&&(s[p]=this.popStack()),this.stringParams&&(i[p]=this.popStack(),o[p]=this.popStack());return a&&(r.args=this.source.generateArray(n)),this.trackIds&&(r.ids=this.source.generateArray(s)),this.stringParams&&(r.types=this.source.generateArray(i),r.contexts=this.source.generateArray(o)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(e,t,n,r){var o=this.setupParams(e,t,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),r?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}},function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=c.RESERVED_WORDS={},n=0,r=e.length;n<r;n++)t[e[n]]=!0}(),c.isValidJavaScriptVariableName=function(e){return!c.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t.default=c,e.exports=t.default},176:(e,t)=>{"use strict";t.__esModule=!0;var n=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(e,t,n,r,o,i,s){var a=i.length-1;switch(o){case 1:return i[a-1];case 2:this.$=r.prepareProgram(i[a]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:case 40:case 41:this.$=i[a];break;case 9:this.$={type:"CommentStatement",value:r.stripComment(i[a]),strip:r.stripFlags(i[a],i[a]),loc:r.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:i[a],value:i[a],loc:r.locInfo(this._$)};break;case 11:this.$=r.prepareRawBlock(i[a-2],i[a-1],i[a],this._$);break;case 12:this.$={path:i[a-3],params:i[a-2],hash:i[a-1]};break;case 13:this.$=r.prepareBlock(i[a-3],i[a-2],i[a-1],i[a],!1,this._$);break;case 14:this.$=r.prepareBlock(i[a-3],i[a-2],i[a-1],i[a],!0,this._$);break;case 15:this.$={open:i[a-5],path:i[a-4],params:i[a-3],hash:i[a-2],blockParams:i[a-1],strip:r.stripFlags(i[a-5],i[a])};break;case 16:case 17:this.$={path:i[a-4],params:i[a-3],hash:i[a-2],blockParams:i[a-1],strip:r.stripFlags(i[a-5],i[a])};break;case 18:this.$={strip:r.stripFlags(i[a-1],i[a-1]),program:i[a]};break;case 19:var l=r.prepareBlock(i[a-2],i[a-1],i[a],i[a],!1,this._$),c=r.prepareProgram([l],i[a-1].loc);c.chained=!0,this.$={strip:i[a-2].strip,program:c,chain:!0};break;case 21:this.$={path:i[a-1],strip:r.stripFlags(i[a-2],i[a])};break;case 22:case 23:this.$=r.prepareMustache(i[a-3],i[a-2],i[a-1],i[a-4],r.stripFlags(i[a-4],i[a]),this._$);break;case 24:this.$={type:"PartialStatement",name:i[a-3],params:i[a-2],hash:i[a-1],indent:"",strip:r.stripFlags(i[a-4],i[a]),loc:r.locInfo(this._$)};break;case 25:this.$=r.preparePartialBlock(i[a-2],i[a-1],i[a],this._$);break;case 26:this.$={path:i[a-3],params:i[a-2],hash:i[a-1],strip:r.stripFlags(i[a-4],i[a])};break;case 29:this.$={type:"SubExpression",path:i[a-3],params:i[a-2],hash:i[a-1],loc:r.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:i[a],loc:r.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:r.id(i[a-2]),value:i[a],loc:r.locInfo(this._$)};break;case 32:this.$=r.id(i[a-1]);break;case 35:this.$={type:"StringLiteral",value:i[a],original:i[a],loc:r.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(i[a]),original:Number(i[a]),loc:r.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===i[a],original:"true"===i[a],loc:r.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:r.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:r.locInfo(this._$)};break;case 42:this.$=r.preparePath(!0,i[a],this._$);break;case 43:this.$=r.preparePath(!1,i[a],this._$);break;case 44:i[a-2].push({part:r.id(i[a]),original:i[a],separator:i[a-1]}),this.$=i[a-2];break;case 45:this.$=[{part:r.id(i[a]),original:i[a]}];break;case 46:case 48:case 50:case 58:case 64:case 70:case 78:case 82:case 86:case 90:case 94:this.$=[];break;case 47:case 49:case 51:case 59:case 65:case 71:case 79:case 83:case 87:case 91:case 95:case 99:case 101:i[a-1].push(i[a]);break;case 98:case 100:this.$=[i[a]]}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=[0],n=[null],r=[],o=this.table,i="",s=0,a=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;r.push(c);var u=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var p,d,h,f,m,g,_,y,v,b,w={};;){if(h=t[t.length-1],this.defaultActions[h]?f=this.defaultActions[h]:(null==p&&(b=void 0,"number"!=typeof(b=this.lexer.lex()||1)&&(b=this.symbols_[b]||b),p=b),f=o[h]&&o[h][p]),void 0===f||!f.length||!f[0]){var x="";if(!l){for(g in v=[],o[h])this.terminals_[g]&&g>2&&v.push("'"+this.terminals_[g]+"'");x=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:c,expected:v})}}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+h+", token: "+p);switch(f[0]){case 1:t.push(p),n.push(this.lexer.yytext),r.push(this.lexer.yylloc),t.push(f[1]),p=null,d?(p=d,d=null):(a=this.lexer.yyleng,i=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc,l>0&&l--);break;case 2:if(_=this.productions_[f[1]][1],w.$=n[n.length-_],w._$={first_line:r[r.length-(_||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(_||1)].first_column,last_column:r[r.length-1].last_column},u&&(w._$.range=[r[r.length-(_||1)].range[0],r[r.length-1].range[1]]),void 0!==(m=this.performAction.call(w,i,a,s,this.yy,f[1],n,r)))return m;_&&(t=t.slice(0,-1*_*2),n=n.slice(0,-1*_),r=r.slice(0,-1*_)),t.push(this.productions_[f[1]][0]),n.push(w.$),r.push(w._$),y=o[t[t.length-2]][t[t.length-1]],t.push(y);break;case 3:return!0}}return!0}},t={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t,n,r,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),s=0;s<i.length&&(!(n=this._input.match(this.rules[i[s]]))||t&&!(n[0].length>t[0].length)||(t=n,r=s,this.options.flex));s++);return t?((o=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},options:{},performAction:function(e,t,n,r){function o(e,n){return t.yytext=t.yytext.substring(e,t.yyleng-n+e)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(o(5,9),"END_RAW_BLOCK");case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};function n(){this.yy={}}return e.lexer=t,n.prototype=e,e.Parser=n,new n}();t.default=n,e.exports=t.default},889:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(4680))&&r.__esModule?r:{default:r};function i(){this.parents=[]}function s(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function a(e){s.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function l(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}i.prototype={constructor:i,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&!i.prototype[n.type])throw new o.default('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type);e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new o.default(e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;t<n;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},accept:function(e){if(e){if(!this[e.type])throw new o.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:!1!==t?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:s,Decorator:s,BlockStatement:a,DecoratorBlock:a,PartialStatement:l,PartialBlockStatement:function(e){l.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:s,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t.default=i,e.exports=t.default},7858:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(889))&&r.__esModule?r:{default:r};function i(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function s(e,t,n){void 0===t&&(t=e.length);var r=e[t-1],o=e[t-2];return r?"ContentStatement"===r.type?(o||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function a(e,t,n){void 0===t&&(t=-1);var r=e[t+1],o=e[t+2];return r?"ContentStatement"===r.type?(o||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function l(e,t,n){var r=e[null==t?0:t+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var o=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==o}}function c(e,t,n){var r=e[null==t?e.length-1:t-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var o=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==o,r.leftStripped}}i.prototype=new o.default,i.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var r=e.body,o=0,i=r.length;o<i;o++){var u=r[o],p=this.accept(u);if(p){var d=s(r,o,n),h=a(r,o,n),f=p.openStandalone&&d,m=p.closeStandalone&&h,g=p.inlineStandalone&&d&&h;p.close&&l(r,o,!0),p.open&&c(r,o,!0),t&&g&&(l(r,o),c(r,o)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(r[o-1].original)[1])),t&&f&&(l((u.program||u.inverse).body),c(r,o)),t&&m&&(l(r,o),c((u.inverse||u.program).body))}}return e},i.prototype.BlockStatement=i.prototype.DecoratorBlock=i.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,r=n,o=n;if(n&&n.chained)for(r=n.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var i={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:a(t.body),closeStandalone:s((r||t).body)};if(e.openStrip.close&&l(t.body,null,!0),n){var u=e.inverseStrip;u.open&&c(t.body,null,!0),u.close&&l(r.body,null,!0),e.closeStrip.open&&c(o.body,null,!0),!this.options.ignoreStandalone&&s(t.body)&&a(r.body)&&(c(t.body),l(r.body))}else e.closeStrip.open&&c(t.body,null,!0);return i},i.prototype.Decorator=i.prototype.MustacheStatement=function(e){return e.strip},i.prototype.PartialStatement=i.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t.default=i,e.exports=t.default},2147:(e,t,n)=>{"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){o.default(e)};var r,o=(r=n(5943))&&r.__esModule?r:{default:r}},5943:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(6516);t.default=function(e){e.registerDecorator("inline",(function(e,t,n,o){var i=e;return t.partials||(t.partials={},i=function(o,i){var s=n.partials;n.partials=r.extend({},s,t.partials);var a=e(o,i);return n.partials=s,a}),t.partials[o.args[0]]=o.fn,i}))},e.exports=t.default},4680:(e,t)=>{"use strict";t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(e,t){var o=t&&t.loc,i=void 0,s=void 0,a=void 0,l=void 0;o&&(i=o.start.line,s=o.end.line,a=o.start.column,l=o.end.column,e+=" - "+i+":"+a);for(var c=Error.prototype.constructor.call(this,e),u=0;u<n.length;u++)this[n[u]]=c[n[u]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{o&&(this.lineNumber=i,this.endLineNumber=s,Object.defineProperty?(Object.defineProperty(this,"column",{value:a,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:l,enumerable:!0})):(this.column=a,this.endColumn=l))}catch(e){}}r.prototype=new Error,t.default=r,e.exports=t.default},5172:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){o.default(e),i.default(e),s.default(e),a.default(e),l.default(e),c.default(e),u.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var o=r(n(7922)),i=r(n(7698)),s=r(n(8934)),a=r(n(2628)),l=r(n(2797)),c=r(n(1785)),u=r(n(3183))},7922:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(6516);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,n){var o=n.inverse,i=n.fn;if(!0===t)return i(this);if(!1===t||null==t)return o(this);if(r.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):o(this);if(n.data&&n.ids){var s=r.createFrame(n.data);s.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:s}}return i(t,n)}))},e.exports=t.default},7698:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(6516),i=(r=n(4680))&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new i.default("Must pass iterator to #each");var n,r=t.fn,s=t.inverse,a=0,l="",c=void 0,u=void 0;function p(t,n,i){c&&(c.key=t,c.index=n,c.first=0===n,c.last=!!i,u&&(c.contextPath=u+t)),l+=r(e[t],{data:c,blockParams:o.blockParams([e[t],t],[u+t,null])})}if(t.data&&t.ids&&(u=o.appendContextPath(t.data.contextPath,t.ids[0])+"."),o.isFunction(e)&&(e=e.call(this)),t.data&&(c=o.createFrame(t.data)),e&&"object"==typeof e)if(o.isArray(e))for(var d=e.length;a<d;a++)a in e&&p(a,a,a===e.length-1);else if("function"==typeof Symbol&&e[Symbol.iterator]){for(var h=[],f=e[Symbol.iterator](),m=f.next();!m.done;m=f.next())h.push(m.value);for(d=(e=h).length;a<d;a++)p(a,a,a===e.length-1)}else n=void 0,Object.keys(e).forEach((function(e){void 0!==n&&p(n,a-1),n=e,a++})),void 0!==n&&p(n,a-1,!0);return 0===a&&(l=s(this)),l}))},e.exports=t.default},8934:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(4680))&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default},2628:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(6516),i=(r=n(4680))&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new i.default("#if requires exactly one argument");return o.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||o.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,n){if(2!=arguments.length)throw new i.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))},e.exports=t.default},2797:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),t[0]=o,e.log.apply(e,t)}))},e.exports=t.default},1785:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,n){return e?n.lookupProperty(e,t):e}))},e.exports=t.default},3183:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(6516),i=(r=n(4680))&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new i.default("#with requires exactly one argument");o.isFunction(e)&&(e=e.call(this));var n=t.fn;if(o.isEmpty(e))return t.inverse(this);var r=t.data;return t.data&&t.ids&&((r=o.createFrame(t.data)).contextPath=o.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:r,blockParams:o.blockParams([e],[r&&r.contextPath])})}))},e.exports=t.default},9887:(e,t,n)=>{"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.extend.apply(void 0,[Object.create(null)].concat(t))};var r=n(6516)},5188:(e,t,n)=>{"use strict";t.__esModule=!0,t.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:o.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:o.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,n){return function(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==s[e]&&(s[e]=!0,i.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}("function"==typeof e?t.methods:t.properties,n)},t.resetLoggedProperties=function(){Object.keys(s).forEach((function(e){delete s[e]}))};var r,o=n(9887),i=(r=n(9001))&&r.__esModule?r:{default:r},s=Object.create(null)},1475:(e,t)=>{"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){return"function"!=typeof e?e:function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}}},9001:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(6516),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=r.indexOf(o.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){var t=o.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[t].apply(console,r)}}};t.default=o,e.exports=t.default},8409:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",(function(){return this})),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var t=globalThis.Handlebars;e.noConflict=function(){return globalThis.Handlebars===e&&(globalThis.Handlebars=t),e}},e.exports=t.default},4533:(e,t,n)=>{"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=s.COMPILER_REVISION;if(!(t>=s.LAST_COMPATIBLE_COMPILER_REVISION&&t<=s.COMPILER_REVISION)){if(t<s.LAST_COMPATIBLE_COMPILER_REVISION){var r=s.REVISION_CHANGES[n],o=s.REVISION_CHANGES[t];throw new i.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new i.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},t.template=function(e,t){if(!t)throw new i.default("No environment passed to template");if(!e||!e.main)throw new i.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&7===e.compiler[0],r={strict:function(e,t,n){if(!e||!(t in e))throw new i.default('"'+t+'" not defined in '+e,{loc:n});return r.lookupProperty(e,t)},lookupProperty:function(e,t){var n=e[t];return null==n||Object.prototype.hasOwnProperty.call(e,t)||c.resultIsAllowed(n,r.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,o=0;o<n;o++)if(null!=(e[o]&&r.lookupProperty(e[o],t)))return e[o][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:o.escapeExpression,invokePartial:function(n,r,s){s.hash&&(r=o.extend({},r,s.hash),s.ids&&(s.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,r,s);var a=o.extend({},s,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),l=t.VM.invokePartial.call(this,n,r,a);if(null==l&&t.compile&&(s.partials[s.name]=t.compile(n,e.compilerOptions,t),l=s.partials[s.name](r,a)),null!=l){if(s.indent){for(var c=l.split("\n"),u=0,p=c.length;u<p&&(c[u]||u+1!==p);u++)c[u]=s.indent+c[u];l=c.join("\n")}return l}throw new i.default("The partial "+s.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,o){var i=this.programs[e],s=this.fn(e);return t||o||r||n?i=u(this,e,s,t,n,r,o):i||(i=this.programs[e]=u(this,e,s)),i},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=o.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function p(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=n.data;p._setup(n),!n.partial&&e.useData&&(o=function(e,t){return t&&"root"in t||((t=t?s.createFrame(t):{}).root=e),t}(t,o));var i=void 0,a=e.useBlockParams?[]:void 0;function l(t){return""+e.main(r,t,r.helpers,r.partials,o,a,i)}return e.useDepths&&(i=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(l=d(e.main,l,r,n.depths||[],o,a))(t,n)}return p.isTop=!0,p._setup=function(i){if(i.partial)r.protoAccessControl=i.protoAccessControl,r.helpers=i.helpers,r.partials=i.partials,r.decorators=i.decorators,r.hooks=i.hooks;else{var s=o.extend({},t.helpers,i.helpers);!function(e,t){Object.keys(e).forEach((function(n){var r=e[n];e[n]=function(e,t){var n=t.lookupProperty;return l.wrapHelper(e,(function(e){return o.extend({lookupProperty:n},e)}))}(r,t)}))}(s,r),r.helpers=s,e.usePartial&&(r.partials=r.mergeIfNeeded(i.partials,t.partials)),(e.usePartial||e.useDecorators)&&(r.decorators=o.extend({},t.decorators,i.decorators)),r.hooks={},r.protoAccessControl=c.createProtoAccessControl(i);var u=i.allowCallsToHelperMissing||n;a.moveHelperToHooks(r,"helperMissing",u),a.moveHelperToHooks(r,"blockHelperMissing",u)}},p._child=function(t,n,o,s){if(e.useBlockParams&&!o)throw new i.default("must pass block params");if(e.useDepths&&!s)throw new i.default("must pass parent depths");return u(r,t,e[t],n,0,o,s)},p},t.wrapProgram=u,t.resolvePartial=function(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],e},t.invokePartial=function(e,t,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var a=void 0;if(n.fn&&n.fn!==p&&function(){n.data=s.createFrame(n.data);var e=n.fn;a=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=s.createFrame(n.data),n.data["partial-block"]=r,e(t,n)},e.partials&&(n.partials=o.extend({},n.partials,e.partials))}(),void 0===e&&a&&(e=a),void 0===e)throw new i.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=p;var r,o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(6516)),i=(r=n(4680))&&r.__esModule?r:{default:r},s=n(9612),a=n(5172),l=n(1475),c=n(5188);function u(e,t,n,r,o,i,s){function a(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=s;return!s||t==s[0]||t===e.nullContext&&null===s[0]||(a=[t].concat(s)),n(e,t,e.helpers,e.partials,o.data||r,i&&[o.blockParams].concat(i),a)}return(a=d(n,a,e,s,r,i)).program=t,a.depth=s?s.length:0,a.blockParams=o||0,a}function p(){return""}function d(e,t,n,r,i,s){if(e.decorator){var a={};t=e.decorator(t,a,n,r&&r[0],i,s,r),o.extend(t,a)}return t}},3716:(e,t)=>{"use strict";function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},6516:(e,t)=>{"use strict";t.__esModule=!0,t.extend=s,t.indexOf=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return o.test(e)?e.replace(r,i):e},t.isEmpty=function(e){return!e&&0!==e||!(!c(e)||0!==e.length)},t.createFrame=function(e){var t=s({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},r=/[&<>"'`=]/g,o=/[&<>"'`=]/;function i(e){return n[e]}function s(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var a=Object.prototype.toString;t.toString=a;var l=function(e){return"function"==typeof e};l(/x/)&&(t.isFunction=l=function(e){return"function"==typeof e&&"[object Function]"===a.call(e)}),t.isFunction=l;var c=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===a.call(e)};t.isArray=c},5486:(e,t,n)=>{function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var o=n(8796).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var n=this.events[e].length;1===n?this._cbs[this.events[e][0]]():2===n?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},4516:(e,t,n)=>{var r=n(7533),o=n(5027);function i(e,t){this.init(e,t)}function s(e,t){return o.getElementsByTagName(e,t,!0)}function a(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,n){return o.getText(o.getElementsByTagName(e,t,n,1)).trim()}function c(e,t,n,r,o){var i=l(n,r,o);i&&(e[t]=i)}n(8628)(i,r),i.prototype.init=r;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};i.prototype.onend=function(){var e,t,n={},o=a(u,this.dom);o&&("feed"===o.name?(t=o.children,n.type="atom",c(n,"id","id",t),c(n,"title","title",t),(e=a("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),c(n,"description","subtitle",t),(e=l("updated",t))&&(n.updated=new Date(e)),c(n,"author","email",t,!0),n.items=s("entry",t).map((function(e){var t,n={};return c(n,"id","id",e=e.children),c(n,"title","title",e),(t=a("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=l("summary",e)||l("content",e))&&(n.description=t),(t=l("updated",e))&&(n.pubDate=new Date(t)),n}))):(t=a("channel",o.children).children,n.type=o.name.substr(0,3),n.id="",c(n,"title","title",t),c(n,"link","link",t),c(n,"description","description",t),(e=l("lastBuildDate",t))&&(n.updated=new Date(e)),c(n,"author","managingEditor",t,!0),n.items=s("item",o.children).map((function(e){var t,n={};return c(n,"id","guid",e=e.children),c(n,"title","title",e),c(n,"link","link",e),c(n,"description","description",e),(t=l("pubDate",e))&&(n.pubDate=new Date(t)),n})))),this.dom=n,r.prototype._handleCallback.call(this,o?null:Error("couldn't find root of feed"))},e.exports=i},5193:(e,t,n)=>{var r=n(7097),o={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:o,input:o,output:o,button:o,datalist:o,textarea:o,option:{option:!0},optgroup:{optgroup:!0}},s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},a={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},c=/\s|\//;function u(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(r=this._options.Tokenizer),this._tokenizer=new r(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}n(8628)(u,n(3236).EventEmitter),u.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in i)for(var t;(t=this._stack[this._stack.length-1])in i[e];this.onclosetag(t));!this._options.xmlMode&&e in s||(this._stack.push(e),e in a?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in s&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in a||e in l)&&this._foreignContext.pop(),!this._stack.length||e in s&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(e){var t=e.search(c),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},7466:(e,t,n)=>{function r(e){this._cbs=e||{}}e.exports=r;var o=n(8796).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}}))},6802:(e,t,n)=>{e.exports=o;var r=n(6126);function o(e){r.call(this,new i(this),e)}function i(e){this.scope=e}n(8628)(o,r),o.prototype.readable=!0;var s=n(8796).EVENTS;Object.keys(s).forEach((function(e){if(0===s[e])i.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===s[e])i.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==s[e])throw Error("wrong number of arguments!");i.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}}))},7097:(e,t,n)=>{e.exports=ge;var r=n(939),o=n(4807),i=n(323),s=n(1929),a=0,l=a++,c=a++,u=a++,p=a++,d=a++,h=a++,f=a++,m=a++,g=a++,_=a++,y=a++,v=a++,b=a++,w=a++,x=a++,S=a++,k=a++,E=a++,C=a++,T=a++,P=a++,j=a++,A=a++,I=a++,N=a++,L=a++,B=a++,R=a++,O=a++,M=a++,D=a++,F=a++,q=a++,H=a++,V=a++,z=a++,U=a++,$=a++,W=a++,G=a++,Y=a++,K=a++,Z=a++,J=a++,X=a++,Q=a++,ee=a++,te=a++,ne=a++,re=a++,oe=a++,ie=a++,se=a++,ae=a++,le=a++,ce=0,ue=ce++,pe=ce++,de=ce++;function he(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function fe(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(o){o===r||o===e?this._state=t:(this._state=n,this._index--)}}function me(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=u,this._index--)}}function ge(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ue,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}ge.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=c,this._sectionStart=this._index):this._decodeEntities&&this._special===ue&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=oe,this._sectionStart=this._index)},ge.prototype._stateBeforeTagName=function(e){"/"===e?this._state=d:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ue||he(e)?this._state=l:"!"===e?(this._state=x,this._sectionStart=this._index+1):"?"===e?(this._state=k,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?u:D,this._sectionStart=this._index)},ge.prototype._stateInTagName=function(e){("/"===e||">"===e||he(e))&&(this._emitToken("onopentagname"),this._state=m,this._index--)},ge.prototype._stateBeforeCloseingTagName=function(e){he(e)||(">"===e?this._state=l:this._special!==ue?"s"===e||"S"===e?this._state=F:(this._state=l,this._index--):(this._state=h,this._sectionStart=this._index))},ge.prototype._stateInCloseingTagName=function(e){(">"===e||he(e))&&(this._emitToken("onclosetag"),this._state=f,this._index--)},ge.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},ge.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=p:he(e)||(this._state=g,this._sectionStart=this._index)},ge.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):he(e)||(this._state=m,this._index--)},ge.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||he(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=_,this._index--)},ge.prototype._stateAfterAttributeName=function(e){"="===e?this._state=y:"/"===e||">"===e?(this._cbs.onattribend(),this._state=m,this._index--):he(e)||(this._cbs.onattribend(),this._state=g,this._sectionStart=this._index)},ge.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=v,this._sectionStart=this._index+1):"'"===e?(this._state=b,this._sectionStart=this._index+1):he(e)||(this._state=w,this._sectionStart=this._index,this._index--)},ge.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},ge.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},ge.prototype._stateInAttributeValueNoQuotes=function(e){he(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},ge.prototype._stateBeforeDeclaration=function(e){this._state="["===e?j:"-"===e?E:S},ge.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ge.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ge.prototype._stateBeforeComment=function(e){"-"===e?(this._state=C,this._sectionStart=this._index+1):this._state=S},ge.prototype._stateInComment=function(e){"-"===e&&(this._state=T)},ge.prototype._stateAfterComment1=function(e){this._state="-"===e?P:C},ge.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=C)},ge.prototype._stateBeforeCdata1=fe("C",A,S),ge.prototype._stateBeforeCdata2=fe("D",I,S),ge.prototype._stateBeforeCdata3=fe("A",N,S),ge.prototype._stateBeforeCdata4=fe("T",L,S),ge.prototype._stateBeforeCdata5=fe("A",B,S),ge.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=R,this._sectionStart=this._index+1):(this._state=S,this._index--)},ge.prototype._stateInCdata=function(e){"]"===e&&(this._state=O)},ge.prototype._stateAfterCdata1=function(e){this._state="]"===e?M:R},ge.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=R)},ge.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=q:"t"===e||"T"===e?this._state=Z:(this._state=u,this._index--)},ge.prototype._stateBeforeSpecialEnd=function(e){this._special!==pe||"c"!==e&&"C"!==e?this._special!==de||"t"!==e&&"T"!==e?this._state=l:this._state=ee:this._state=$},ge.prototype._stateBeforeScript1=me("R",H),ge.prototype._stateBeforeScript2=me("I",V),ge.prototype._stateBeforeScript3=me("P",z),ge.prototype._stateBeforeScript4=me("T",U),ge.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||he(e))&&(this._special=pe),this._state=u,this._index--},ge.prototype._stateAfterScript1=fe("R",W,l),ge.prototype._stateAfterScript2=fe("I",G,l),ge.prototype._stateAfterScript3=fe("P",Y,l),ge.prototype._stateAfterScript4=fe("T",K,l),ge.prototype._stateAfterScript5=function(e){">"===e||he(e)?(this._special=ue,this._state=h,this._sectionStart=this._index-6,this._index--):this._state=l},ge.prototype._stateBeforeStyle1=me("Y",J),ge.prototype._stateBeforeStyle2=me("L",X),ge.prototype._stateBeforeStyle3=me("E",Q),ge.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||he(e))&&(this._special=de),this._state=u,this._index--},ge.prototype._stateAfterStyle1=fe("Y",te,l),ge.prototype._stateAfterStyle2=fe("L",ne,l),ge.prototype._stateAfterStyle3=fe("E",re,l),ge.prototype._stateAfterStyle4=function(e){">"===e||he(e)?(this._special=ue,this._state=h,this._sectionStart=this._index-5,this._index--):this._state=l},ge.prototype._stateBeforeEntity=fe("#",ie,se),ge.prototype._stateBeforeNumericEntity=fe("X",le,ae),ge.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?s:o;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},ge.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(i.hasOwnProperty(n))return this._emitPartial(i[n]),void(this._sectionStart+=t+1);t--}},ge.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},ge.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var o=this._buffer.substring(n,this._index),i=parseInt(o,t);this._emitPartial(r(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},ge.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},ge.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},ge.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},ge.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},ge.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===l?this._stateText(e):this._state===c?this._stateBeforeTagName(e):this._state===u?this._stateInTagName(e):this._state===d?this._stateBeforeCloseingTagName(e):this._state===h?this._stateInCloseingTagName(e):this._state===f?this._stateAfterCloseingTagName(e):this._state===p?this._stateInSelfClosingTag(e):this._state===m?this._stateBeforeAttributeName(e):this._state===g?this._stateInAttributeName(e):this._state===_?this._stateAfterAttributeName(e):this._state===y?this._stateBeforeAttributeValue(e):this._state===v?this._stateInAttributeValueDoubleQuotes(e):this._state===b?this._stateInAttributeValueSingleQuotes(e):this._state===w?this._stateInAttributeValueNoQuotes(e):this._state===x?this._stateBeforeDeclaration(e):this._state===S?this._stateInDeclaration(e):this._state===k?this._stateInProcessingInstruction(e):this._state===E?this._stateBeforeComment(e):this._state===C?this._stateInComment(e):this._state===T?this._stateAfterComment1(e):this._state===P?this._stateAfterComment2(e):this._state===j?this._stateBeforeCdata1(e):this._state===A?this._stateBeforeCdata2(e):this._state===I?this._stateBeforeCdata3(e):this._state===N?this._stateBeforeCdata4(e):this._state===L?this._stateBeforeCdata5(e):this._state===B?this._stateBeforeCdata6(e):this._state===R?this._stateInCdata(e):this._state===O?this._stateAfterCdata1(e):this._state===M?this._stateAfterCdata2(e):this._state===D?this._stateBeforeSpecial(e):this._state===F?this._stateBeforeSpecialEnd(e):this._state===q?this._stateBeforeScript1(e):this._state===H?this._stateBeforeScript2(e):this._state===V?this._stateBeforeScript3(e):this._state===z?this._stateBeforeScript4(e):this._state===U?this._stateBeforeScript5(e):this._state===$?this._stateAfterScript1(e):this._state===W?this._stateAfterScript2(e):this._state===G?this._stateAfterScript3(e):this._state===Y?this._stateAfterScript4(e):this._state===K?this._stateAfterScript5(e):this._state===Z?this._stateBeforeStyle1(e):this._state===J?this._stateBeforeStyle2(e):this._state===X?this._stateBeforeStyle3(e):this._state===Q?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===ne?this._stateAfterStyle3(e):this._state===re?this._stateAfterStyle4(e):this._state===oe?this._stateBeforeEntity(e):this._state===ie?this._stateBeforeNumericEntity(e):this._state===se?this._stateInNamedEntity(e):this._state===ae?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},ge.prototype.pause=function(){this._running=!1},ge.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},ge.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},ge.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},ge.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===R||this._state===O||this._state===M?this._cbs.oncdata(e):this._state===C||this._state===T||this._state===P?this._cbs.oncomment(e):this._state!==se||this._xmlMode?this._state!==ae||this._xmlMode?this._state!==le||this._xmlMode?this._state!==u&&this._state!==m&&this._state!==y&&this._state!==_&&this._state!==g&&this._state!==b&&this._state!==v&&this._state!==w&&this._state!==h&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},ge.prototype.reset=function(){ge.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},ge.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},ge.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},ge.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},ge.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},6126:(e,t,n)=>{e.exports=a;var r=n(5193),o=n(2331).Writable,i=n(5493).I,s=n(2266).Buffer;function a(e,t){var n=this._parser=new r(e,t),s=this._decoder=new i;o.call(this,{decodeStrings:!1}),this.once("finish",(function(){n.end(s.end())}))}n(8628)(a,o),a.prototype._write=function(e,t,n){e instanceof s&&(e=this._decoder.write(e)),this._parser.write(e),n()}},8796:(e,t,n)=>{var r=n(5193),o=n(7533);function i(t,n){return delete e.exports[t],e.exports[t]=n,n}e.exports={Parser:r,Tokenizer:n(7097),ElementType:n(7500),DomHandler:o,get FeedHandler(){return i("FeedHandler",n(4516))},get Stream(){return i("Stream",n(6802))},get WritableStream(){return i("WritableStream",n(6126))},get ProxyHandler(){return i("ProxyHandler",n(7466))},get DomUtils(){return i("DomUtils",n(5027))},get CollectingHandler(){return i("CollectingHandler",n(5486))},DefaultHandler:o,get RssHandler(){return i("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var n=new o(t);return new r(n,t).end(e),n.dom},parseFeed:function(t,n){var o=new e.exports.FeedHandler(n);return new r(o,n).end(t),o.dom},createDomStream:function(e,t,n){var i=new o(e,t,n);return new r(i,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},6287:(e,t)=>{t.read=function(e,t,n,r,o){var i,s,a=8*o-r-1,l=(1<<a)-1,c=l>>1,u=-7,p=n?o-1:0,d=n?-1:1,h=e[t+p];for(p+=d,i=h&(1<<-u)-1,h>>=-u,u+=a;u>0;i=256*i+e[t+p],p+=d,u-=8);for(s=i&(1<<-u)-1,i>>=-u,u+=r;u>0;s=256*s+e[t+p],p+=d,u-=8);if(0===i)i=1-c;else{if(i===l)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),i-=c}return(h?-1:1)*s*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var s,a,l,c=8*i-o-1,u=(1<<c)-1,p=u>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(s++,l/=2),s+p>=u?(a=0,s=u):s+p>=1?(a=(t*l-1)*Math.pow(2,o),s+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,o),s=0));o>=8;e[n+h]=255&a,h+=f,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;e[n+h]=255&s,h+=f,s/=256,c-=8);e[n+h-f]|=128*m}},8628: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}}},6870:(e,t,n)=>{"use strict";var r=n(6701);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},3108:(e,t,n)=>{e.exports=n(6870)()},6701:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8363:(e,t,n)=>{"use strict";var r=n(1609);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Object.prototype.hasOwnProperty,s=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,a={},l={};function c(e){return!!i.call(l,e)||!i.call(a,e)&&(s.test(e)?l[e]=!0:(a[e]=!0,!1))}function u(e,t,n,r,o,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new u(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new u(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new u(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new u(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){p[e]=new u(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new u(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new u(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new u(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new u(e,5,!1,e.toLowerCase(),null,!1,!1)}));var d=/[\-:]([a-z])/g;function h(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(d,h);p[t]=new u(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(d,h);p[t]=new u(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(d,h);p[t]=new u(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new u(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new u("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new u(e,1,!1,e.toLowerCase(),null,!0,!0)}));var f={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(f).forEach((function(e){m.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),f[t]=f[e]}))}));var g=/["'&<>]/;function _(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=g.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var y=/([A-Z])/g,v=/^ms-/,b=Array.isArray;function w(e,t){return{insertionMode:e,selectedValue:t}}var x=new Map;function S(e,t,n){if("object"!=typeof n)throw Error(o(62));for(var r in t=!0,n)if(i.call(n,r)){var s=n[r];if(null!=s&&"boolean"!=typeof s&&""!==s){if(0===r.indexOf("--")){var a=_(r);s=_((""+s).trim())}else{a=r;var l=x.get(a);void 0!==l||(l=_(a.replace(y,"-$1").toLowerCase().replace(v,"-ms-")),x.set(a,l)),a=l,s="number"==typeof s?0===s||i.call(f,r)?""+s:s+"px":_((""+s).trim())}t?(t=!1,e.push(' style="',a,":",s)):e.push(";",a,":",s)}}t||e.push('"')}function k(e,t,n,r){switch(n){case"style":return void S(e,t,r);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=p.hasOwnProperty(n)?p[n]:null)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=t.attributeName,t.type){case 3:r&&e.push(" ",n,'=""');break;case 4:!0===r?e.push(" ",n,'=""'):!1!==r&&e.push(" ",n,'="',_(r),'"');break;case 5:isNaN(r)||e.push(" ",n,'="',_(r),'"');break;case 6:!isNaN(r)&&1<=r&&e.push(" ",n,'="',_(r),'"');break;default:t.sanitizeURL&&(r=""+r),e.push(" ",n,'="',_(r),'"')}}else if(c(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(" ",n,'="',_(r),'"')}}function E(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(""+t)}}function C(e,t,n,r){e.push(j(n));var o,s=n=null;for(o in t)if(i.call(t,o)){var a=t[o];if(null!=a)switch(o){case"children":n=a;break;case"dangerouslySetInnerHTML":s=a;break;default:k(e,r,o,a)}}return e.push(">"),E(e,s,n),"string"==typeof n?(e.push(_(n)),null):n}var T=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,P=new Map;function j(e){var t=P.get(e);if(void 0===t){if(!T.test(e))throw Error(o(65,e));t="<"+e,P.set(e,t)}return t}function A(e,t,n){if(e.push('\x3c!--$?--\x3e<template id="'),null===n)throw Error(o(395));return e.push(n),e.push('"></template>')}var I=/[<\u2028\u2029]/g;function N(e){return JSON.stringify(e).replace(I,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}function L(e,t,n,r){return n.generateStaticMarkup?(e.push(_(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(_(t)),e=!0),e)}var B=Object.assign,R=Symbol.for("react.element"),O=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),H=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),G=Symbol.for("react.scope"),Y=Symbol.for("react.debug_trace_mode"),K=Symbol.for("react.legacy_hidden"),Z=Symbol.for("react.default_value"),J=Symbol.iterator;function X(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case M:return"Fragment";case O:return"Portal";case F:return"Profiler";case D:return"StrictMode";case z:return"Suspense";case U:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case H:return(e.displayName||"Context")+".Consumer";case q:return(e._context.displayName||"Context")+".Provider";case V:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case $:return null!==(t=e.displayName||null)?t:X(e.type)||"Memo";case W:t=e._payload,e=e._init;try{return X(e(t))}catch(e){}}return null}var Q={};function ee(e,t){if(!(e=e.contextTypes))return Q;var n,r={};for(n in e)r[n]=t[n];return r}var te=null;function ne(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));ne(e,n)}t.context._currentValue2=t.value}}function re(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&re(e)}function oe(e){var t=e.parent;null!==t&&oe(t),e.context._currentValue2=e.value}function ie(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?ne(e,t):ie(e,t)}function se(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?ne(e,n):se(e,n),t.context._currentValue2=t.value}function ae(e){var t=te;t!==e&&(null===t?oe(e):null===e?re(t):t.depth===e.depth?ne(t,e):t.depth>e.depth?ie(t,e):se(t,e),te=e)}var le={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function ce(e,t,n,r){var o=void 0!==e.state?e.state:null;e.updater=le,e.props=n,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context="object"==typeof s&&null!==s?s._currentValue2:r,"function"==typeof(s=t.getDerivedStateFromProps)&&(o=null==(s=s(n,o))?o:B({},o,s),e.state=o),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&le.enqueueReplaceState(e,e.state,null),null!==i.queue&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&1===t.length)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];null!=(a="function"==typeof a?a.call(e,i,n,r):a)&&(o?(o=!1,i=B({},i,a)):B(i,a))}e.state=i}else i.queue=null}var ue={id:1,overflow:""};function pe(e,t,n){var r=e.id;e=e.overflow;var o=32-de(r)-1;r&=~(1<<o),n+=1;var i=32-de(t)+o;if(30<i){var s=o-o%5;return i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,{id:1<<32-de(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var de=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(he(e)/fe|0)|0},he=Math.log,fe=Math.LN2,me="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ge=null,_e=null,ye=null,ve=null,be=!1,we=!1,xe=0,Se=null,ke=0;function Ee(){if(null===ge)throw Error(o(321));return ge}function Ce(){if(0<ke)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function Te(){return null===ve?null===ye?(be=!1,ye=ve=Ce()):(be=!0,ve=ye):null===ve.next?(be=!1,ve=ve.next=Ce()):(be=!0,ve=ve.next),ve}function Pe(){_e=ge=null,we=!1,ye=null,ke=0,ve=Se=null}function je(e,t){return"function"==typeof t?t(e):t}function Ae(e,t,n){if(ge=Ee(),ve=Te(),be){var r=ve.queue;if(t=r.dispatch,null!==Se&&void 0!==(n=Se.get(r))){Se.delete(r),r=ve.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return ve.memoizedState=r,[r,t]}return[ve.memoizedState,t]}return e=e===je?"function"==typeof t?t():t:void 0!==n?n(t):t,ve.memoizedState=e,e=(e=ve.queue={last:null,dispatch:null}).dispatch=Ne.bind(null,ge,e),[ve.memoizedState,e]}function Ie(e,t){if(ge=Ee(),t=void 0===t?null:t,null!==(ve=Te())){var n=ve.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!me(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),ve.memoizedState=[e,t],e}function Ne(e,t,n){if(25<=ke)throw Error(o(301));if(e===ge)if(we=!0,e={action:n,next:null},null===Se&&(Se=new Map),void 0===(n=Se.get(t)))Se.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Le(){throw Error(o(394))}function Be(){}var Re={readContext:function(e){return e._currentValue2},useContext:function(e){return Ee(),e._currentValue2},useMemo:Ie,useReducer:Ae,useRef:function(e){ge=Ee();var t=(ve=Te()).memoizedState;return null===t?(e={current:e},ve.memoizedState=e):t},useState:function(e){return Ae(je,e)},useInsertionEffect:Be,useLayoutEffect:function(){},useCallback:function(e,t){return Ie((function(){return e}),t)},useImperativeHandle:Be,useEffect:Be,useDebugValue:Be,useDeferredValue:function(e){return Ee(),e},useTransition:function(){return Ee(),[!1,Le]},useId:function(){var e=_e.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-de(e)-1)).toString(32)+t;var n=Oe;if(null===n)throw Error(o(404));return t=xe++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Ee(),t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()}},Oe=null,Me=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function De(e){return console.error(e),null}function Fe(){}function qe(e,t,n,r,o,i,s,a){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var l={node:t,ping:function(){var t=e.pingedTasks;t.push(l),1===t.length&&tt(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(l),l}function He(e,t,n,r,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function Ve(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function ze(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function Ue(e,t,n,r,o){for(ge={},_e=t,xe=0,e=n(r,o);we;)we=!1,xe=0,ke+=1,ve=null,e=n(r,o);return Pe(),e}function $e(e,t,n,r){var i=n.render(),s=r.childContextTypes;if(null!=s){var a=t.legacyContext;if("function"!=typeof n.getChildContext)r=a;else{for(var l in n=n.getChildContext())if(!(l in s))throw Error(o(108,X(r)||"Unknown",l));r=B({},a,n)}t.legacyContext=r,Ye(e,t,i),t.legacyContext=a}else Ye(e,t,i)}function We(e,t){if(e&&e.defaultProps){for(var n in t=B({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function Ge(e,t,n,s,a){if("function"==typeof n)if(n.prototype&&n.prototype.isReactComponent){a=ee(n,t.legacyContext);var l=n.contextType;ce(l=new n(s,"object"==typeof l&&null!==l?l._currentValue2:a),n,s,a),$e(e,t,l,n)}else{a=Ue(e,t,n,s,l=ee(n,t.legacyContext));var u=0!==xe;if("object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof)ce(a,n,s,l),$e(e,t,a,n);else if(u){s=t.treeContext,t.treeContext=pe(s,1,0);try{Ye(e,t,a)}finally{t.treeContext=s}}else Ye(e,t,a)}else{if("string"!=typeof n){switch(n){case K:case Y:case D:case F:case M:case U:return void Ye(e,t,s.children);case G:throw Error(o(343));case z:e:{n=t.blockedBoundary,a=t.blockedSegment,l=s.fallback,s=s.children;var p={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:u=new Set,errorDigest:null},d=He(0,a.chunks.length,p,a.formatContext,!1,!1);a.children.push(d),a.lastPushedText=!1;var h=He(0,0,null,a.formatContext,!1,!1);h.parentFlushed=!0,t.blockedBoundary=p,t.blockedSegment=h;try{if(Ze(e,t,s),e.responseState.generateStaticMarkup||h.lastPushedText&&h.textEmbedded&&h.chunks.push("\x3c!-- --\x3e"),h.status=1,Qe(p,h),0===p.pendingTasks)break e}catch(t){h.status=4,p.forceClientRender=!0,p.errorDigest=Ve(e,t)}finally{t.blockedBoundary=n,t.blockedSegment=a}t=qe(e,l,n,d,u,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof n&&null!==n)switch(n.$$typeof){case V:if(s=Ue(e,t,n.render,s,a),0!==xe){n=t.treeContext,t.treeContext=pe(n,1,0);try{Ye(e,t,s)}finally{t.treeContext=n}}else Ye(e,t,s);return;case $:return void Ge(e,t,n=n.type,s=We(n,s),a);case q:if(a=s.children,n=n._context,s=s.value,l=n._currentValue2,n._currentValue2=s,te=s={parent:u=te,depth:null===u?0:u.depth+1,context:n,parentValue:l,value:s},t.context=s,Ye(e,t,a),null===(e=te))throw Error(o(403));return s=e.parentValue,e.context._currentValue2=s===Z?e.context._defaultValue:s,e=te=e.parent,void(t.context=e);case H:return void Ye(e,t,s=(s=s.children)(n._currentValue2));case W:return void Ge(e,t,n=(a=n._init)(n._payload),s=We(n,s),void 0)}throw Error(o(130,null==n?n:typeof n,""))}switch(l=function(e,t,n,s,a){switch(t){case"select":e.push(j("select"));var l=null,u=null;for(f in n)if(i.call(n,f)){var p=n[f];if(null!=p)switch(f){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;case"defaultValue":case"value":break;default:k(e,s,f,p)}}return e.push(">"),E(e,u,l),l;case"option":u=a.selectedValue,e.push(j("option"));var d=p=null,h=null,f=null;for(l in n)if(i.call(n,l)){var m=n[l];if(null!=m)switch(l){case"children":p=m;break;case"selected":h=m;break;case"dangerouslySetInnerHTML":f=m;break;case"value":d=m;default:k(e,s,l,m)}}if(null!=u)if(n=null!==d?""+d:function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(p),b(u)){for(s=0;s<u.length;s++)if(""+u[s]===n){e.push(' selected=""');break}}else""+u===n&&e.push(' selected=""');else h&&e.push(' selected=""');return e.push(">"),E(e,f,p),p;case"textarea":for(p in e.push(j("textarea")),f=u=l=null,n)if(i.call(n,p)&&null!=(d=n[p]))switch(p){case"children":f=d;break;case"value":l=d;break;case"defaultValue":u=d;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:k(e,s,p,d)}if(null===l&&null!==u&&(l=u),e.push(">"),null!=f){if(null!=l)throw Error(o(92));if(b(f)&&1<f.length)throw Error(o(93));l=""+f}return"string"==typeof l&&"\n"===l[0]&&e.push("\n"),null!==l&&e.push(_(""+l)),null;case"input":for(u in e.push(j("input")),d=f=p=l=null,n)if(i.call(n,u)&&null!=(h=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"defaultChecked":d=h;break;case"defaultValue":p=h;break;case"checked":f=h;break;case"value":l=h;break;default:k(e,s,u,h)}return null!==f?k(e,s,"checked",f):null!==d&&k(e,s,"checked",d),null!==l?k(e,s,"value",l):null!==p&&k(e,s,"value",p),e.push("/>"),null;case"menuitem":for(var g in e.push(j("menuitem")),n)if(i.call(n,g)&&null!=(l=n[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:k(e,s,g,l)}return e.push(">"),null;case"title":for(m in e.push(j("title")),l=null,n)if(i.call(n,m)&&null!=(u=n[m]))switch(m){case"children":l=u;break;case"dangerouslySetInnerHTML":throw Error(o(434));default:k(e,s,m,u)}return e.push(">"),l;case"listing":case"pre":for(d in e.push(j(t)),u=l=null,n)if(i.call(n,d)&&null!=(p=n[d]))switch(d){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;default:k(e,s,d,p)}if(e.push(">"),null!=u){if(null!=l)throw Error(o(60));if("object"!=typeof u||!("__html"in u))throw Error(o(61));null!=(n=u.__html)&&("string"==typeof n&&0<n.length&&"\n"===n[0]?e.push("\n",n):e.push(""+n))}return"string"==typeof l&&"\n"===l[0]&&e.push("\n"),l;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var y in e.push(j(t)),n)if(i.call(n,y)&&null!=(l=n[y]))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,t));default:k(e,s,y,l)}return e.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return C(e,n,t,s);case"html":return 0===a.insertionMode&&e.push("<!DOCTYPE html>"),C(e,n,t,s);default:if(-1===t.indexOf("-")&&"string"!=typeof n.is)return C(e,n,t,s);for(h in e.push(j(t)),u=l=null,n)if(i.call(n,h)&&null!=(p=n[h]))switch(h){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;case"style":S(e,s,p);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:c(h)&&"function"!=typeof p&&"symbol"!=typeof p&&e.push(" ",h,'="',_(p),'"')}return e.push(">"),E(e,u,l),l}}((a=t.blockedSegment).chunks,n,s,e.responseState,a.formatContext),a.lastPushedText=!1,u=a.formatContext,a.formatContext=function(e,t,n){switch(t){case"select":return w(1,null!=n.value?n.value:n.defaultValue);case"svg":return w(2,null);case"math":return w(3,null);case"foreignObject":return w(1,null);case"table":return w(4,null);case"thead":case"tbody":case"tfoot":return w(5,null);case"colgroup":return w(7,null);case"tr":return w(6,null)}return 4<=e.insertionMode||0===e.insertionMode?w(1,null):e}(u,n,s),Ze(e,t,l),a.formatContext=u,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:a.chunks.push("</",n,">")}a.lastPushedText=!1}}function Ye(e,t,n){if(t.node=n,"object"==typeof n&&null!==n){switch(n.$$typeof){case R:return void Ge(e,t,n.type,n.props,n.ref);case O:throw Error(o(257));case W:var r=n._init;return void Ye(e,t,n=r(n._payload))}if(b(n))return void Ke(e,t,n);if((r=null===n||"object"!=typeof n?null:"function"==typeof(r=J&&n[J]||n["@@iterator"])?r:null)&&(r=r.call(n))){if(!(n=r.next()).done){var i=[];do{i.push(n.value),n=r.next()}while(!n.done);Ke(e,t,i)}return}throw e=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"==typeof n?(r=t.blockedSegment).lastPushedText=L(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText):"number"==typeof n&&((r=t.blockedSegment).lastPushedText=L(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function Ke(e,t,n){for(var r=n.length,o=0;o<r;o++){var i=t.treeContext;t.treeContext=pe(i,r,o);try{Ze(e,t,n[o])}finally{t.treeContext=i}}}function Ze(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return Ye(e,t,n)}catch(l){if(Pe(),"object"!=typeof l||null===l||"function"!=typeof l.then)throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,ae(i),l;n=l;var s=t.blockedSegment,a=He(0,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=qe(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,ae(i)}}function Je(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,et(this,t,e)}function Xe(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,null===r?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.push(null))):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=void 0===n?Error(o(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach((function(e){return Xe(e,t,n)})),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(r=t.onAllReady)())}function Qe(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Qe(e,n)}else e.completedSegments.push(t)}function et(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=Fe,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&Qe(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Je,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(Qe(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function tt(e){if(2!==e.status){var t=te,n=Me.current;Me.current=Re;var r=Oe;Oe=e.responseState;try{var o,i=e.pingedTasks;for(o=0;o<i.length;o++){var s=i[o],a=e,l=s.blockedSegment;if(0===l.status){ae(s.context);try{Ye(a,s,s.node),a.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("\x3c!-- --\x3e"),s.abortSet.delete(s),l.status=1,et(a,s.blockedBoundary,l)}catch(e){if(Pe(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var c=s.ping;e.then(c,c)}else{s.abortSet.delete(s),l.status=4;var u=s.blockedBoundary,p=e,d=Ve(a,p);null===u?ze(a,p):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=d,u.parentFlushed&&a.clientRenderedBoundaries.push(u))),a.allPendingTasks--,0===a.allPendingTasks&&(0,a.onAllReady)()}}}}i.splice(0,o),null!==e.destination&&at(e,e.destination)}catch(t){Ve(e,t),ze(e,t)}finally{Oe=r,Me.current=n,n===Re&&ae(t)}}}function nt(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var i=!0;r=n.chunks;var s=0;n=n.children;for(var a=0;a<n.length;a++){for(i=n[a];s<i.index;s++)t.push(r[s]);i=rt(e,t,i)}for(;s<r.length-1;s++)t.push(r[s]);return s<r.length&&(i=t.push(r[s])),i;default:throw Error(o(390))}}function rt(e,t,n){var r=n.boundary;if(null===r)return nt(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)return e.responseState.generateStaticMarkup||(r=r.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),r&&(t.push(' data-dgst="'),r=_(r),t.push(r),t.push('"')),t.push("></template>")),nt(e,t,n),!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e");if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var i=e.responseState,s=i.nextSuspenseID++;return i=i.boundaryPrefix+s.toString(16),r=r.id=i,A(t,e.responseState,r),nt(e,t,n),t.push("\x3c!--/$--\x3e")}if(r.byteSize>e.progressiveChunkSize)return r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),A(t,e.responseState,r.id),nt(e,t,n),t.push("\x3c!--/$--\x3e");if(e.responseState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(n=r.completedSegments).length)throw Error(o(391));return rt(e,t,n[0]),!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function ot(e,t,n){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error(o(397))}}(t,e.responseState,n.formatContext,n.id),rt(e,t,n),function(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(o(397))}}(t,n.formatContext)}function it(e,t,n){for(var r=n.completedSegments,i=0;i<r.length;i++)st(e,t,n,r[i]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),null===r)throw Error(o(395));return n=n.toString(16),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(n),t.push('")<\/script>')}function st(e,t,n,r){if(2===r.status)return!0;var i=r.id;if(-1===i){if(-1===(r.id=n.rootSegmentID))throw Error(o(392));return ot(e,t,r)}return ot(e,t,r),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t.push('")<\/script>')}function at(e,t){try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){rt(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)t.push(r[n]);n<r.length&&t.push(r[n])}var i,s=e.clientRenderedBoundaries;for(i=0;i<s.length;i++){var a=s[i];r=t;var l=e.responseState,c=a.id,u=a.errorDigest,p=a.errorMessage,d=a.errorComponentStack;if(r.push(l.startInlineScript),l.sentClientRenderFunction?r.push('$RX("'):(l.sentClientRenderFunction=!0,r.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),null===c)throw Error(o(395));if(r.push(c),r.push('"'),u||p||d){r.push(",");var h=N(u||"");r.push(h)}if(p||d){r.push(",");var f=N(p||"");r.push(f)}if(d){r.push(",");var m=N(d);r.push(m)}if(!r.push(")<\/script>"))return e.destination=null,i++,void s.splice(0,i)}s.splice(0,i);var g=e.completedBoundaries;for(i=0;i<g.length;i++)if(!it(e,t,g[i]))return e.destination=null,i++,void g.splice(0,i);g.splice(0,i);var _=e.partialBoundaries;for(i=0;i<_.length;i++){var y=_[i];e:{s=e,a=t;var v=y.completedSegments;for(l=0;l<v.length;l++)if(!st(s,a,y,v[l])){l++,v.splice(0,l);var b=!1;break e}v.splice(0,l),b=!0}if(!b)return e.destination=null,i++,void _.splice(0,i)}_.splice(0,i);var w=e.completedBoundaries;for(i=0;i<w.length;i++)if(!it(e,t,w[i]))return e.destination=null,i++,void w.splice(0,i);w.splice(0,i)}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.push(null)}}function lt(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return Xe(n,e,t)})),n.clear(),null!==e.destination&&at(e,e.destination)}catch(t){Ve(e,t),ze(e,t)}}function ct(){}function ut(e,t,n,r){var i=!1,s=null,a="",l={push:function(e){return null!==e&&(a+=e),!0},destroy:function(e){i=!0,s=e}},c=!1;if(e=function(e,t,n,r,o,i,s,a,l){var c=[],u=new Set;return(n=He(t={destination:null,responseState:t,progressiveChunkSize:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===o?De:o,onAllReady:Fe,onShellReady:void 0===s?Fe:s,onShellError:Fe,onFatalError:Fe},0,null,n,!1,!1)).parentFlushed=!0,e=qe(t,e,null,n,u,Q,null,ue),c.push(e),t}(e,function(e,t){return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:(t=void 0===t?"":t)+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}(n,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ct,0,(function(){c=!0})),tt(e),lt(e,r),1===e.status)e.status=2,l.destroy(e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=l;try{at(e,l)}catch(t){Ve(e,t),ze(e,t)}}if(i)throw s;if(!c)throw Error(o(426));return a}t.renderToNodeStream=function(){throw Error(o(207))},t.renderToStaticMarkup=function(e,t){return ut(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.renderToStaticNodeStream=function(){throw Error(o(208))},t.renderToString=function(e,t){return ut(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.version="18.3.1"},8157:(e,t,n)=>{"use strict";var r=n(1609);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=null,s=0;function a(e,t){if(0!==t.length)if(512<t.length)0<s&&(e.enqueue(new Uint8Array(i.buffer,0,s)),i=new Uint8Array(512),s=0),e.enqueue(t);else{var n=i.length-s;n<t.length&&(0===n?e.enqueue(i):(i.set(t.subarray(0,n),s),e.enqueue(i),t=t.subarray(n)),i=new Uint8Array(512),s=0),i.set(t,s),s+=t.length}}function l(e,t){return a(e,t),!0}function c(e){i&&0<s&&(e.enqueue(new Uint8Array(i.buffer,0,s)),i=null,s=0)}var u=new TextEncoder;function p(e){return u.encode(e)}function d(e){return u.encode(e)}function h(e,t){"function"==typeof e.error?e.error(t):e.close()}var f=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},_={};function y(e){return!!f.call(_,e)||!f.call(g,e)&&(m.test(e)?_[e]=!0:(g[e]=!0,!1))}function v(e,t,n,r,o,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var w=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(w,x);b[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(w,x);b[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(w,x);b[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var S={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},k=["Webkit","ms","Moz","O"];Object.keys(S).forEach((function(e){k.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),S[t]=S[e]}))}));var E=/["'&<>]/;function C(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=E.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var T=/([A-Z])/g,P=/^ms-/,j=Array.isArray,A=d("<script>"),I=d("<\/script>"),N=d('<script src="'),L=d('<script type="module" src="'),B=d('" async=""><\/script>'),R=/(<\/|<)(s)(cript)/gi;function O(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function M(e,t){return{insertionMode:e,selectedValue:t}}var D=d("\x3c!-- --\x3e");function F(e,t,n,r){return""===t?r:(r&&e.push(D),e.push(p(C(t))),!0)}var q=new Map,H=d(' style="'),V=d(":"),z=d(";");function U(e,t,n){if("object"!=typeof n)throw Error(o(62));for(var r in t=!0,n)if(f.call(n,r)){var i=n[r];if(null!=i&&"boolean"!=typeof i&&""!==i){if(0===r.indexOf("--")){var s=p(C(r));i=p(C((""+i).trim()))}else{s=r;var a=q.get(s);void 0!==a||(a=d(C(s.replace(T,"-$1").toLowerCase().replace(P,"-ms-"))),q.set(s,a)),s=a,i="number"==typeof i?0===i||f.call(S,r)?p(""+i):p(i+"px"):p(C((""+i).trim()))}t?(t=!1,e.push(H,s,V,i)):e.push(z,s,V,i)}}t||e.push(G)}var $=d(" "),W=d('="'),G=d('"'),Y=d('=""');function K(e,t,n,r){switch(n){case"style":return void U(e,t,r);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=b.hasOwnProperty(n)?b[n]:null)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=p(t.attributeName),t.type){case 3:r&&e.push($,n,Y);break;case 4:!0===r?e.push($,n,Y):!1!==r&&e.push($,n,W,p(C(r)),G);break;case 5:isNaN(r)||e.push($,n,W,p(C(r)),G);break;case 6:!isNaN(r)&&1<=r&&e.push($,n,W,p(C(r)),G);break;default:t.sanitizeURL&&(r=""+r),e.push($,n,W,p(C(r)),G)}}else if(y(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push($,p(n),W,p(C(r)),G)}}var Z=d(">"),J=d("/>");function X(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(p(""+t))}}var Q=d(' selected=""');function ee(e,t,n,r){e.push(oe(n));var o,i=n=null;for(o in t)if(f.call(t,o)){var s=t[o];if(null!=s)switch(o){case"children":n=s;break;case"dangerouslySetInnerHTML":i=s;break;default:K(e,r,o,s)}}return e.push(Z),X(e,i,n),"string"==typeof n?(e.push(p(C(n))),null):n}var te=d("\n"),ne=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,re=new Map;function oe(e){var t=re.get(e);if(void 0===t){if(!ne.test(e))throw Error(o(65,e));t=d("<"+e),re.set(e,t)}return t}var ie=d("<!DOCTYPE html>");var se=d("</"),ae=d(">"),le=d('<template id="'),ce=d('"></template>'),ue=d("\x3c!--$--\x3e"),pe=d('\x3c!--$?--\x3e<template id="'),de=d('"></template>'),he=d("\x3c!--$!--\x3e"),fe=d("\x3c!--/$--\x3e"),me=d("<template"),ge=d('"'),_e=d(' data-dgst="');d(' data-msg="'),d(' data-stck="');var ye=d("></template>");function ve(e,t,n){if(a(e,pe),null===n)throw Error(o(395));return a(e,n),l(e,de)}var be=d('<div hidden id="'),we=d('">'),xe=d("</div>"),Se=d('<svg aria-hidden="true" style="display:none" id="'),ke=d('">'),Ee=d("</svg>"),Ce=d('<math aria-hidden="true" style="display:none" id="'),Te=d('">'),Pe=d("</math>"),je=d('<table hidden id="'),Ae=d('">'),Ie=d("</table>"),Ne=d('<table hidden><tbody id="'),Le=d('">'),Be=d("</tbody></table>"),Re=d('<table hidden><tr id="'),Oe=d('">'),Me=d("</tr></table>"),De=d('<table hidden><colgroup id="'),Fe=d('">'),qe=d("</colgroup></table>"),He=d('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ve=d('$RS("'),ze=d('","'),Ue=d('")<\/script>'),$e=d('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),We=d('$RC("'),Ge=d('","'),Ye=d('")<\/script>'),Ke=d('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Ze=d('$RX("'),Je=d('"'),Xe=d(")<\/script>"),Qe=d(","),et=/[<\u2028\u2029]/g;function tt(e){return JSON.stringify(e).replace(et,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}var nt=Object.assign,rt=Symbol.for("react.element"),ot=Symbol.for("react.portal"),it=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),at=Symbol.for("react.profiler"),lt=Symbol.for("react.provider"),ct=Symbol.for("react.context"),ut=Symbol.for("react.forward_ref"),pt=Symbol.for("react.suspense"),dt=Symbol.for("react.suspense_list"),ht=Symbol.for("react.memo"),ft=Symbol.for("react.lazy"),mt=Symbol.for("react.scope"),gt=Symbol.for("react.debug_trace_mode"),_t=Symbol.for("react.legacy_hidden"),yt=Symbol.for("react.default_value"),vt=Symbol.iterator;function bt(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case it:return"Fragment";case ot:return"Portal";case at:return"Profiler";case st:return"StrictMode";case pt:return"Suspense";case dt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ct:return(e.displayName||"Context")+".Consumer";case lt:return(e._context.displayName||"Context")+".Provider";case ut:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case ht:return null!==(t=e.displayName||null)?t:bt(e.type)||"Memo";case ft:t=e._payload,e=e._init;try{return bt(e(t))}catch(e){}}return null}var wt={};function xt(e,t){if(!(e=e.contextTypes))return wt;var n,r={};for(n in e)r[n]=t[n];return r}var St=null;function kt(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));kt(e,n)}t.context._currentValue=t.value}}function Et(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&Et(e)}function Ct(e){var t=e.parent;null!==t&&Ct(t),e.context._currentValue=e.value}function Tt(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?kt(e,t):Tt(e,t)}function Pt(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?kt(e,n):Pt(e,n),t.context._currentValue=t.value}function jt(e){var t=St;t!==e&&(null===t?Ct(e):null===e?Et(t):t.depth===e.depth?kt(t,e):t.depth>e.depth?Tt(t,e):Pt(t,e),St=e)}var At={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function It(e,t,n,r){var o=void 0!==e.state?e.state:null;e.updater=At,e.props=n,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context="object"==typeof s&&null!==s?s._currentValue:r,"function"==typeof(s=t.getDerivedStateFromProps)&&(o=null==(s=s(n,o))?o:nt({},o,s),e.state=o),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&At.enqueueReplaceState(e,e.state,null),null!==i.queue&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&1===t.length)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];null!=(a="function"==typeof a?a.call(e,i,n,r):a)&&(o?(o=!1,i=nt({},i,a)):nt(i,a))}e.state=i}else i.queue=null}var Nt={id:1,overflow:""};function Lt(e,t,n){var r=e.id;e=e.overflow;var o=32-Bt(r)-1;r&=~(1<<o),n+=1;var i=32-Bt(t)+o;if(30<i){var s=o-o%5;return i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,{id:1<<32-Bt(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var Bt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(Rt(e)/Ot|0)|0},Rt=Math.log,Ot=Math.LN2,Mt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Dt=null,Ft=null,qt=null,Ht=null,Vt=!1,zt=!1,Ut=0,$t=null,Wt=0;function Gt(){if(null===Dt)throw Error(o(321));return Dt}function Yt(){if(0<Wt)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function Kt(){return null===Ht?null===qt?(Vt=!1,qt=Ht=Yt()):(Vt=!0,Ht=qt):null===Ht.next?(Vt=!1,Ht=Ht.next=Yt()):(Vt=!0,Ht=Ht.next),Ht}function Zt(){Ft=Dt=null,zt=!1,qt=null,Wt=0,Ht=$t=null}function Jt(e,t){return"function"==typeof t?t(e):t}function Xt(e,t,n){if(Dt=Gt(),Ht=Kt(),Vt){var r=Ht.queue;if(t=r.dispatch,null!==$t&&void 0!==(n=$t.get(r))){$t.delete(r),r=Ht.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ht.memoizedState=r,[r,t]}return[Ht.memoizedState,t]}return e=e===Jt?"function"==typeof t?t():t:void 0!==n?n(t):t,Ht.memoizedState=e,e=(e=Ht.queue={last:null,dispatch:null}).dispatch=en.bind(null,Dt,e),[Ht.memoizedState,e]}function Qt(e,t){if(Dt=Gt(),t=void 0===t?null:t,null!==(Ht=Kt())){var n=Ht.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!Mt(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ht.memoizedState=[e,t],e}function en(e,t,n){if(25<=Wt)throw Error(o(301));if(e===Dt)if(zt=!0,e={action:n,next:null},null===$t&&($t=new Map),void 0===(n=$t.get(t)))$t.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function tn(){throw Error(o(394))}function nn(){}var rn={readContext:function(e){return e._currentValue},useContext:function(e){return Gt(),e._currentValue},useMemo:Qt,useReducer:Xt,useRef:function(e){Dt=Gt();var t=(Ht=Kt()).memoizedState;return null===t?(e={current:e},Ht.memoizedState=e):t},useState:function(e){return Xt(Jt,e)},useInsertionEffect:nn,useLayoutEffect:function(){},useCallback:function(e,t){return Qt((function(){return e}),t)},useImperativeHandle:nn,useEffect:nn,useDebugValue:nn,useDeferredValue:function(e){return Gt(),e},useTransition:function(){return Gt(),[!1,tn]},useId:function(){var e=Ft.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-Bt(e)-1)).toString(32)+t;var n=on;if(null===n)throw Error(o(404));return t=Ut++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Gt(),t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()}},on=null,sn=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function an(e){return console.error(e),null}function ln(){}function cn(e,t,n,r,o,i,s,a){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var l={node:t,ping:function(){var t=e.pingedTasks;t.push(l),1===t.length&&En(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(l),l}function un(e,t,n,r,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function pn(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function dn(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,h(e.destination,t)):(e.status=1,e.fatalError=t)}function hn(e,t,n,r,o){for(Dt={},Ft=t,Ut=0,e=n(r,o);zt;)zt=!1,Ut=0,Wt+=1,Ht=null,e=n(r,o);return Zt(),e}function fn(e,t,n,r){var i=n.render(),s=r.childContextTypes;if(null!=s){var a=t.legacyContext;if("function"!=typeof n.getChildContext)r=a;else{for(var l in n=n.getChildContext())if(!(l in s))throw Error(o(108,bt(r)||"Unknown",l));r=nt({},a,n)}t.legacyContext=r,yn(e,t,i),t.legacyContext=a}else yn(e,t,i)}function mn(e,t){if(e&&e.defaultProps){for(var n in t=nt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function gn(e,t,n,i,s){if("function"==typeof n)if(n.prototype&&n.prototype.isReactComponent){s=xt(n,t.legacyContext);var a=n.contextType;It(a=new n(i,"object"==typeof a&&null!==a?a._currentValue:s),n,i,s),fn(e,t,a,n)}else{s=hn(e,t,n,i,a=xt(n,t.legacyContext));var l=0!==Ut;if("object"==typeof s&&null!==s&&"function"==typeof s.render&&void 0===s.$$typeof)It(s,n,i,a),fn(e,t,s,n);else if(l){i=t.treeContext,t.treeContext=Lt(i,1,0);try{yn(e,t,s)}finally{t.treeContext=i}}else yn(e,t,s)}else{if("string"!=typeof n){switch(n){case _t:case gt:case st:case at:case it:case dt:return void yn(e,t,i.children);case mt:throw Error(o(343));case pt:e:{n=t.blockedBoundary,s=t.blockedSegment,a=i.fallback,i=i.children;var c={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l=new Set,errorDigest:null},u=un(0,s.chunks.length,c,s.formatContext,!1,!1);s.children.push(u),s.lastPushedText=!1;var d=un(0,0,null,s.formatContext,!1,!1);d.parentFlushed=!0,t.blockedBoundary=c,t.blockedSegment=d;try{if(bn(e,t,i),d.lastPushedText&&d.textEmbedded&&d.chunks.push(D),d.status=1,Sn(c,d),0===c.pendingTasks)break e}catch(t){d.status=4,c.forceClientRender=!0,c.errorDigest=pn(e,t)}finally{t.blockedBoundary=n,t.blockedSegment=s}t=cn(e,a,n,u,l,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof n&&null!==n)switch(n.$$typeof){case ut:if(i=hn(e,t,n.render,i,s),0!==Ut){n=t.treeContext,t.treeContext=Lt(n,1,0);try{yn(e,t,i)}finally{t.treeContext=n}}else yn(e,t,i);return;case ht:return void gn(e,t,n=n.type,i=mn(n,i),s);case lt:if(s=i.children,n=n._context,i=i.value,a=n._currentValue,n._currentValue=i,St=i={parent:l=St,depth:null===l?0:l.depth+1,context:n,parentValue:a,value:i},t.context=i,yn(e,t,s),null===(e=St))throw Error(o(403));return i=e.parentValue,e.context._currentValue=i===yt?e.context._defaultValue:i,e=St=e.parent,void(t.context=e);case ct:return void yn(e,t,i=(i=i.children)(n._currentValue));case ft:return void gn(e,t,n=(s=n._init)(n._payload),i=mn(n,i),void 0)}throw Error(o(130,null==n?n:typeof n,""))}switch(a=function(e,t,n,i,s){switch(t){case"select":e.push(oe("select"));var a=null,l=null;for(h in n)if(f.call(n,h)){var c=n[h];if(null!=c)switch(h){case"children":a=c;break;case"dangerouslySetInnerHTML":l=c;break;case"defaultValue":case"value":break;default:K(e,i,h,c)}}return e.push(Z),X(e,l,a),a;case"option":l=s.selectedValue,e.push(oe("option"));var u=c=null,d=null,h=null;for(a in n)if(f.call(n,a)){var m=n[a];if(null!=m)switch(a){case"children":c=m;break;case"selected":d=m;break;case"dangerouslySetInnerHTML":h=m;break;case"value":u=m;default:K(e,i,a,m)}}if(null!=l)if(n=null!==u?""+u:function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(c),j(l)){for(i=0;i<l.length;i++)if(""+l[i]===n){e.push(Q);break}}else""+l===n&&e.push(Q);else d&&e.push(Q);return e.push(Z),X(e,h,c),c;case"textarea":for(c in e.push(oe("textarea")),h=l=a=null,n)if(f.call(n,c)&&null!=(u=n[c]))switch(c){case"children":h=u;break;case"value":a=u;break;case"defaultValue":l=u;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:K(e,i,c,u)}if(null===a&&null!==l&&(a=l),e.push(Z),null!=h){if(null!=a)throw Error(o(92));if(j(h)&&1<h.length)throw Error(o(93));a=""+h}return"string"==typeof a&&"\n"===a[0]&&e.push(te),null!==a&&e.push(p(C(""+a))),null;case"input":for(l in e.push(oe("input")),u=h=c=a=null,n)if(f.call(n,l)&&null!=(d=n[l]))switch(l){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"defaultChecked":u=d;break;case"defaultValue":c=d;break;case"checked":h=d;break;case"value":a=d;break;default:K(e,i,l,d)}return null!==h?K(e,i,"checked",h):null!==u&&K(e,i,"checked",u),null!==a?K(e,i,"value",a):null!==c&&K(e,i,"value",c),e.push(J),null;case"menuitem":for(var g in e.push(oe("menuitem")),n)if(f.call(n,g)&&null!=(a=n[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:K(e,i,g,a)}return e.push(Z),null;case"title":for(m in e.push(oe("title")),a=null,n)if(f.call(n,m)&&null!=(l=n[m]))switch(m){case"children":a=l;break;case"dangerouslySetInnerHTML":throw Error(o(434));default:K(e,i,m,l)}return e.push(Z),a;case"listing":case"pre":for(u in e.push(oe(t)),l=a=null,n)if(f.call(n,u)&&null!=(c=n[u]))switch(u){case"children":a=c;break;case"dangerouslySetInnerHTML":l=c;break;default:K(e,i,u,c)}if(e.push(Z),null!=l){if(null!=a)throw Error(o(60));if("object"!=typeof l||!("__html"in l))throw Error(o(61));null!=(n=l.__html)&&("string"==typeof n&&0<n.length&&"\n"===n[0]?e.push(te,p(n)):e.push(p(""+n)))}return"string"==typeof a&&"\n"===a[0]&&e.push(te),a;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var _ in e.push(oe(t)),n)if(f.call(n,_)&&null!=(a=n[_]))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,t));default:K(e,i,_,a)}return e.push(J),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ee(e,n,t,i);case"html":return 0===s.insertionMode&&e.push(ie),ee(e,n,t,i);default:if(-1===t.indexOf("-")&&"string"!=typeof n.is)return ee(e,n,t,i);for(d in e.push(oe(t)),l=a=null,n)if(f.call(n,d)&&null!=(c=n[d]))switch(d){case"children":a=c;break;case"dangerouslySetInnerHTML":l=c;break;case"style":U(e,i,c);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:y(d)&&"function"!=typeof c&&"symbol"!=typeof c&&e.push($,p(d),W,p(C(c)),G)}return e.push(Z),X(e,l,a),a}}((s=t.blockedSegment).chunks,n,i,e.responseState,s.formatContext),s.lastPushedText=!1,l=s.formatContext,s.formatContext=function(e,t,n){switch(t){case"select":return M(1,null!=n.value?n.value:n.defaultValue);case"svg":return M(2,null);case"math":return M(3,null);case"foreignObject":return M(1,null);case"table":return M(4,null);case"thead":case"tbody":case"tfoot":return M(5,null);case"colgroup":return M(7,null);case"tr":return M(6,null)}return 4<=e.insertionMode||0===e.insertionMode?M(1,null):e}(l,n,i),bn(e,t,a),s.formatContext=l,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.chunks.push(se,p(n),ae)}s.lastPushedText=!1}}function yn(e,t,n){if(t.node=n,"object"==typeof n&&null!==n){switch(n.$$typeof){case rt:return void gn(e,t,n.type,n.props,n.ref);case ot:throw Error(o(257));case ft:var r=n._init;return void yn(e,t,n=r(n._payload))}if(j(n))return void vn(e,t,n);if((r=null===n||"object"!=typeof n?null:"function"==typeof(r=vt&&n[vt]||n["@@iterator"])?r:null)&&(r=r.call(n))){if(!(n=r.next()).done){var i=[];do{i.push(n.value),n=r.next()}while(!n.done);vn(e,t,i)}return}throw e=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"==typeof n?(r=t.blockedSegment).lastPushedText=F(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText):"number"==typeof n&&((r=t.blockedSegment).lastPushedText=F(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function vn(e,t,n){for(var r=n.length,o=0;o<r;o++){var i=t.treeContext;t.treeContext=Lt(i,r,o);try{bn(e,t,n[o])}finally{t.treeContext=i}}}function bn(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return yn(e,t,n)}catch(l){if(Zt(),"object"!=typeof l||null===l||"function"!=typeof l.then)throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,jt(i),l;n=l;var s=t.blockedSegment,a=un(0,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=cn(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,jt(i)}}function wn(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,kn(this,t,e)}function xn(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,null===r?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.close())):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=void 0===n?Error(o(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach((function(e){return xn(e,t,n)})),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(r=t.onAllReady)())}function Sn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Sn(e,n)}else e.completedSegments.push(t)}function kn(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=ln,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&Sn(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(wn,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(Sn(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function En(e){if(2!==e.status){var t=St,n=sn.current;sn.current=rn;var r=on;on=e.responseState;try{var o,i=e.pingedTasks;for(o=0;o<i.length;o++){var s=i[o],a=e,l=s.blockedSegment;if(0===l.status){jt(s.context);try{yn(a,s,s.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(D),s.abortSet.delete(s),l.status=1,kn(a,s.blockedBoundary,l)}catch(e){if(Zt(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var c=s.ping;e.then(c,c)}else{s.abortSet.delete(s),l.status=4;var u=s.blockedBoundary,p=e,d=pn(a,p);null===u?dn(a,p):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=d,u.parentFlushed&&a.clientRenderedBoundaries.push(u))),a.allPendingTasks--,0===a.allPendingTasks&&(0,a.onAllReady)()}}}}i.splice(0,o),null!==e.destination&&In(e,e.destination)}catch(t){pn(e,t),dn(e,t)}finally{on=r,sn.current=n,n===rn&&jt(t)}}}function Cn(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,a(t,le),a(t,e.placeholderPrefix),a(t,e=p(r.toString(16))),l(t,ce);case 1:n.status=2;var i=!0;r=n.chunks;var s=0;n=n.children;for(var c=0;c<n.length;c++){for(i=n[c];s<i.index;s++)a(t,r[s]);i=Tn(e,t,i)}for(;s<r.length-1;s++)a(t,r[s]);return s<r.length&&(i=l(t,r[s])),i;default:throw Error(o(390))}}function Tn(e,t,n){var r=n.boundary;if(null===r)return Cn(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)r=r.errorDigest,l(t,he),a(t,me),r&&(a(t,_e),a(t,p(C(r))),a(t,ge)),l(t,ye),Cn(e,t,n);else if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var i=e.responseState,s=i.nextSuspenseID++;i=d(i.boundaryPrefix+s.toString(16)),r=r.id=i,ve(t,e.responseState,r),Cn(e,t,n)}else if(r.byteSize>e.progressiveChunkSize)r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),ve(t,e.responseState,r.id),Cn(e,t,n);else{if(l(t,ue),1!==(n=r.completedSegments).length)throw Error(o(391));Tn(e,t,n[0])}return l(t,fe)}function Pn(e,t,n){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:return a(e,be),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,we);case 2:return a(e,Se),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,ke);case 3:return a(e,Ce),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,Te);case 4:return a(e,je),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,Ae);case 5:return a(e,Ne),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,Le);case 6:return a(e,Re),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,Oe);case 7:return a(e,De),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,Fe);default:throw Error(o(397))}}(t,e.responseState,n.formatContext,n.id),Tn(e,t,n),function(e,t){switch(t.insertionMode){case 0:case 1:return l(e,xe);case 2:return l(e,Ee);case 3:return l(e,Pe);case 4:return l(e,Ie);case 5:return l(e,Be);case 6:return l(e,Me);case 7:return l(e,qe);default:throw Error(o(397))}}(t,n.formatContext)}function jn(e,t,n){for(var r=n.completedSegments,i=0;i<r.length;i++)An(e,t,n,r[i]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,a(t,e.startInlineScript),e.sentCompleteBoundaryFunction?a(t,We):(e.sentCompleteBoundaryFunction=!0,a(t,$e)),null===r)throw Error(o(395));return n=p(n.toString(16)),a(t,r),a(t,Ge),a(t,e.segmentPrefix),a(t,n),l(t,Ye)}function An(e,t,n,r){if(2===r.status)return!0;var i=r.id;if(-1===i){if(-1===(r.id=n.rootSegmentID))throw Error(o(392));return Pn(e,t,r)}return Pn(e,t,r),a(t,(e=e.responseState).startInlineScript),e.sentCompleteSegmentFunction?a(t,Ve):(e.sentCompleteSegmentFunction=!0,a(t,He)),a(t,e.segmentPrefix),a(t,i=p(i.toString(16))),a(t,ze),a(t,e.placeholderPrefix),a(t,i),l(t,Ue)}function In(e,t){i=new Uint8Array(512),s=0;try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){Tn(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)a(t,r[n]);n<r.length&&l(t,r[n])}var u,d=e.clientRenderedBoundaries;for(u=0;u<d.length;u++){var h=d[u];r=t;var f=e.responseState,m=h.id,g=h.errorDigest,_=h.errorMessage,y=h.errorComponentStack;if(a(r,f.startInlineScript),f.sentClientRenderFunction?a(r,Ze):(f.sentClientRenderFunction=!0,a(r,Ke)),null===m)throw Error(o(395));if(a(r,m),a(r,Je),(g||_||y)&&(a(r,Qe),a(r,p(tt(g||"")))),(_||y)&&(a(r,Qe),a(r,p(tt(_||"")))),y&&(a(r,Qe),a(r,p(tt(y)))),!l(r,Xe))return e.destination=null,u++,void d.splice(0,u)}d.splice(0,u);var v=e.completedBoundaries;for(u=0;u<v.length;u++)if(!jn(e,t,v[u]))return e.destination=null,u++,void v.splice(0,u);v.splice(0,u),c(t),i=new Uint8Array(512),s=0;var b=e.partialBoundaries;for(u=0;u<b.length;u++){var w=b[u];e:{d=e,h=t;var x=w.completedSegments;for(f=0;f<x.length;f++)if(!An(d,h,w,x[f])){f++,x.splice(0,f);var S=!1;break e}x.splice(0,f),S=!0}if(!S)return e.destination=null,u++,void b.splice(0,u)}b.splice(0,u);var k=e.completedBoundaries;for(u=0;u<k.length;u++)if(!jn(e,t,k[u]))return e.destination=null,u++,void k.splice(0,u);k.splice(0,u)}finally{c(t),0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.close()}}function Nn(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return xn(n,e,t)})),n.clear(),null!==e.destination&&In(e,e.destination)}catch(t){pn(e,t),dn(e,t)}}t.renderToReadableStream=function(e,t){return new Promise((function(n,r){var o,i,s=new Promise((function(e,t){i=e,o=t})),a=function(e,t,n,r,o,i,s,a,l){var c=[],u=new Set;return(n=un(t={destination:null,responseState:t,progressiveChunkSize:void 0===r?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===o?an:o,onAllReady:void 0===i?ln:i,onShellReady:void 0===s?ln:s,onShellError:void 0===a?ln:a,onFatalError:void 0===l?ln:l},0,null,n,!1,!1)).parentFlushed=!0,e=cn(t,e,null,n,u,wt,null,Nt),c.push(e),t}(e,function(e,t,n,r,o){e=void 0===e?"":e,t=void 0===t?A:d('<script nonce="'+C(t)+'">');var i=[];if(void 0!==n&&i.push(t,p((""+n).replace(R,O)),I),void 0!==r)for(n=0;n<r.length;n++)i.push(N,p(C(r[n])),B);if(void 0!==o)for(r=0;r<o.length;r++)i.push(L,p(C(o[r])),B);return{bootstrapChunks:i,startInlineScript:t,placeholderPrefix:d(e+"P:"),segmentPrefix:d(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),function(e){return M("http://www.w3.org/2000/svg"===e?2:"http://www.w3.org/1998/Math/MathML"===e?3:0,null)}(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,(function(){var e=new ReadableStream({type:"bytes",pull:function(e){if(1===a.status)a.status=2,h(e,a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=e;try{In(a,e)}catch(e){pn(a,e),dn(a,e)}}},cancel:function(){Nn(a)}},{highWaterMark:0});e.allReady=s,n(e)}),(function(e){s.catch((function(){})),r(e)}),o);if(t&&t.signal){var l=t.signal,c=function(){Nn(a,l.reason),l.removeEventListener("abort",c)};l.addEventListener("abort",c)}En(a)}))},t.version="18.3.1"},9124:(e,t,n)=>{"use strict";var r=n(5795);t.H=r.createRoot,r.hydrateRoot},5270:(e,t,n)=>{"use strict";var r,o;r=n(8363),o=n(8157),t.version=r.version,t.renderToString=r.renderToString,t.renderToStaticMarkup=r.renderToStaticMarkup,t.renderToNodeStream=r.renderToNodeStream,t.renderToStaticNodeStream=r.renderToStaticNodeStream,t.renderToReadableStream=o.renderToReadableStream},4194:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.decodeEntities,i=void 0===n||n,s=t.transform,a=t.preprocessNodes,l=(void 0===a?function(e){return e}:a)(r.default.parseDOM(e,{decodeEntities:i}));return(0,o.default)(l,s)};var r=i(n(8796)),o=i(n(1254));function i(e){return e&&e.__esModule?e:{default:e}}},8330:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return o.default[e.type](e,t,n)};var r,o=(r=n(110))&&r.__esModule?r:{default:r}},3366:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},2261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},1012:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},3239:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=void 0;e.children.length>0&&(n=e.children[0].data);var i=(0,o.default)(e.attribs,t);return r.default.createElement("style",i,n)};var r=i(n(1609)),o=i(n(7926));function i(e){return e&&e.__esModule?e:{default:e}}},6268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var l=e.name;if(!(0,a.default)(l))return null;var c=(0,i.default)(e.attribs,t),u=null;return-1===s.default.indexOf(l)&&(u=(0,o.default)(e.children,n)),r.default.createElement(l,c,u)};var r=l(n(1609)),o=l(n(1254)),i=l(n(7926)),s=l(n(1012)),a=l(n(2902));function l(e){return e&&e.__esModule?e:{default:e}}},7351:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.data}},1745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return null}},110:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var o=n(8796),i=c(n(7351)),s=c(n(6268)),a=c(n(3239)),l=c(n(1745));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=(u(r={},o.ElementType.Text,i.default),u(r,o.ElementType.Tag,s.default),u(r,o.ElementType.Style,a.default),u(r,o.ElementType.Directive,l.default),u(r,o.ElementType.Comment,l.default),u(r,o.ElementType.Script,l.default),u(r,o.ElementType.CDATA,l.default),u(r,o.ElementType.Doctype,l.default),r)},4242:(e,t,n)=>{"use strict";n(1254),n(8330),n(8796);var r,o=(r=n(4194))&&r.__esModule?r:{default:r};t.Ay=o.default},1254:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.filter((function(e){return!(0,r.default)(e)})).map((function(e,n){var r=void 0;return"function"!=typeof t||null!==(r=t(e,n))&&!r?(0,o.default)(e,n,t):r}))};var r=i(n(1570)),o=i(n(8330));function i(e){return e&&e.__esModule?e:{default:e}}},7926:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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};t.default=function(e,t){var n=r({},(0,o.default)(e),{key:t});return"string"==typeof n.style||n.style instanceof String?n.style=(0,i.default)(n.style):delete n.style,n};var o=s(n(3440)),i=s(n(8312));function s(e){return e&&e.__esModule?e:{default:e}}},3440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).filter((function(e){return(0,i.default)(e)})).reduce((function(t,n){var r=n.toLowerCase(),i=o.default[r]||r;return t[i]=a(i,e[n]),t}),{})};var r=s(n(3366)),o=s(n(2261)),i=s(n(2902));function s(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t){return r.default.map((function(e){return e.toLowerCase()})).indexOf(e.toLowerCase())>=0&&(t=e),t}},8312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===e?{}:e.split(";").reduce((function(e,t){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(_n=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{!_n&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(t.split(/^([^:]+):/).filter((function(e,t){return t>0})).map((function(e){return e.trim().toLowerCase()})),2),r=n[0],o=n[1];return void 0===o||(e[r=r.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))]=o),e}),{})}},1570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"text"===e.type&&/\r?\n/.test(e.data)&&""===e.data.trim()}},2902:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r.hasOwnProperty(e)||(r[e]=n.test(e)),r[e]};var n=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,r={}},5538:(e,t,n)=>{"use strict";var r=n(1609),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:a.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},6106:(e,t,n)=>{"use strict";e.exports=n(5538)},6859:(e,t,n)=>{var r=n(2266),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=s),s.prototype=Object.create(o.prototype),i(o,s),s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},8255:e=>{e.exports=function(e){if(!window.satismeter){window.satismeter=function(){var e=[];function t(){e.push(arguments)}return t.q=e,t}();var t=document.createElement("script"),n=document.getElementsByTagName("script")[0].parentNode;t.async=1,t.src="https://app.satismeter.com/satismeter.js",n.appendChild(t)}return window.satismeter(e)}},5493:(e,t,n)=>{"use strict";var r=n(6859).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.I=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var o=s(t[r]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--r<n||-2===o?0:(o=s(t[r]))>=0?(o>0&&(e.lastNeed=o-2),o):--r<n||-2===o?0:(o=s(t[r]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},2331:()=>{},3698:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},4338:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},4807:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},323:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},1929:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},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=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(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.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{VERSION:()=>m,after:()=>$t,all:()=>dn,allKeys:()=>Te,any:()=>hn,assign:()=>$e,before:()=>Wt,bind:()=>Lt,bindAll:()=>Ot,chain:()=>jt,chunk:()=>Zn,clone:()=>Ke,collect:()=>sn,compact:()=>Fn,compose:()=>Ut,constant:()=>ce,contains:()=>fn,countBy:()=>jn,create:()=>Ye,debounce:()=>Ht,default:()=>Qn,defaults:()=>We,defer:()=>Ft,delay:()=>Dt,detect:()=>nn,difference:()=>Hn,drop:()=>Mn,each:()=>on,escape:()=>_t,every:()=>dn,extend:()=>Ue,extendOwn:()=>$e,filter:()=>un,find:()=>nn,findIndex:()=>Zt,findKey:()=>Yt,findLastIndex:()=>Jt,findWhere:()=>rn,first:()=>On,flatten:()=>qn,foldl:()=>ln,foldr:()=>cn,forEach:()=>on,functions:()=>Ve,get:()=>et,groupBy:()=>Tn,has:()=>tt,head:()=>On,identity:()=>nt,include:()=>fn,includes:()=>fn,indexBy:()=>Pn,indexOf:()=>en,initial:()=>Rn,inject:()=>ln,intersection:()=>$n,invert:()=>He,invoke:()=>mn,isArguments:()=>se,isArray:()=>re,isArrayBuffer:()=>Y,isBoolean:()=>F,isDataView:()=>ne,isDate:()=>U,isElement:()=>q,isEmpty:()=>ve,isEqual:()=>Ce,isError:()=>W,isFinite:()=>ae,isFunction:()=>J,isMap:()=>Re,isMatch:()=>be,isNaN:()=>le,isNull:()=>M,isNumber:()=>z,isObject:()=>O,isRegExp:()=>$,isSet:()=>Me,isString:()=>V,isSymbol:()=>G,isTypedArray:()=>me,isUndefined:()=>D,isWeakMap:()=>Oe,isWeakSet:()=>De,iteratee:()=>at,keys:()=>ye,last:()=>Dn,lastIndexOf:()=>tn,map:()=>sn,mapObject:()=>ct,matcher:()=>rt,matches:()=>rt,max:()=>vn,memoize:()=>Mt,methods:()=>Ve,min:()=>bn,mixin:()=>Xn,negate:()=>zt,noop:()=>ut,now:()=>ft,object:()=>Yn,omit:()=>Bn,once:()=>Gt,pairs:()=>qe,partial:()=>Nt,partition:()=>An,pick:()=>Ln,pluck:()=>gn,property:()=>ot,propertyOf:()=>pt,random:()=>ht,range:()=>Kn,reduce:()=>ln,reduceRight:()=>cn,reject:()=>pn,rest:()=>Mn,restArguments:()=>R,result:()=>Ct,sample:()=>Sn,select:()=>un,shuffle:()=>kn,size:()=>In,some:()=>hn,sortBy:()=>En,sortedIndex:()=>Xt,tail:()=>Mn,take:()=>On,tap:()=>Ze,template:()=>Et,templateSettings:()=>vt,throttle:()=>qt,times:()=>dt,toArray:()=>xn,toPath:()=>Je,transpose:()=>Wn,unescape:()=>yt,union:()=>Un,uniq:()=>zn,unique:()=>zn,uniqueId:()=>Pt,unzip:()=>Wn,values:()=>Fe,where:()=>yn,without:()=>Vn,wrap:()=>Vt,zip:()=>Gn});var t={};n.r(t),n.d(t,{requestSendingNewsletterPreview:()=>Bl,setContentValidation:()=>Rl,setEditorConfig:()=>Fl,setEditorSettings:()=>Ol,setEditorTheme:()=>Ml,setEditorUrls:()=>Dl,setEmailPost:()=>Il,setEmailPostType:()=>Nl,setTemplateToPost:()=>Ll,togglePreviewModal:()=>jl,updateSendPreviewEmail:()=>Al});var r={};n.r(r),n.d(r,{canUserEditGlobalEmailStyles:()=>rc,canUserEditTemplates:()=>Xl,getBlockPatternsForEmailTemplate:()=>Jl,getContentValidation:()=>gc,getCurrentTemplate:()=>tc,getCurrentTemplateContent:()=>nc,getEditedEmailContent:()=>Kl,getEditedPostTemplate:()=>ec,getEmailPostId:()=>sc,getEmailPostType:()=>ac,getEmailTemplates:()=>ic,getGlobalEmailStylesPost:()=>oc,getGlobalStylesPostId:()=>fc,getInitialEditorSettings:()=>lc,getPaletteColors:()=>cc,getPersonalizationTagsList:()=>pc,getPreviewState:()=>uc,getSentEmailEditorPosts:()=>Zl,getStyles:()=>dc,getTheme:()=>hc,getUrls:()=>mc,hasEdits:()=>Wl,hasEmptyContent:()=>Gl,isEmailSent:()=>Yl,isFeatureActive:()=>$l});const o=window.wp.hooks,i=window.wp.i18n,s=window.wp.data,a=window.wp.coreData,l=window.wp.editor,c=window.wp.plugins,u={},p={add:function(e,t){u[e]=t},t:function(e){return u[e]||'TRANSLATION "%1$s" NOT FOUND'.replace("%1$s",e)},all:function(){return u}},d=window.moment;var h=n.n(d);const f={version:.1,options:{},defaults:{offset:0,format:"F j, Y H:i:s"},init:function(e){const t=e||{};return void 0===t.offset&&void 0!==window.mailpoet_date_offset&&(t.offset="string"==typeof window.mailpoet_date_offset?parseFloat(window.mailpoet_date_offset):window.mailpoet_date_offset),void 0===t.format&&void 0!==window.mailpoet_datetime_format&&(t.format=window.mailpoet_datetime_format),this.options={...this.defaults,...t},this},format:function(e,t){const n=t||{};let r;return this.init(n),r=h().utc(e),this.options.offset&&(r=r.utcOffset(this.options.offset)),r.format(this.convertFormat(this.options.format))},toDate:function(e){return h().utc(e).toDate()},short:function(e){return this.format(e,{format:window.mailpoet_date_format||"F j, Y"})},full:function(e){return this.format(e,{format:window.mailpoet_datetime_format||"F j, Y H:i:s"})},time:function(e){return this.format(e,{format:window.mailpoet_time_format||"H:i:s"})},datetimeString:function(e){return this.format(e,{format:"Y-m-d H:i:s"})},toGmtDatetimeString:function(e){return this.format(e,{format:"Y-m-d H:i:s",offset:-1*parseFloat(window.mailpoet_date_offset||"0")})},convertFormat:function(e){let t,n,r;if(!e||e.length<=0)return e;const o={d:"DD",D:"ddd",j:"D",l:"dddd",N:"E",S:"o",w:"e",z:"DDD",W:"W",F:"MMMM",m:"MM",M:"MMM",n:"M",t:"",L:"",o:"YYYY",Y:"YYYY",y:"YY",a:"a",A:"A",B:"",g:"h",G:"H",h:"hh",H:"HH",i:"mm",s:"ss",u:"SSS",e:"zz",I:"",O:"",P:"",T:"",Z:"",c:"",r:"",U:"X"},i=[];for(t=!1,n=0,r="";e.charAt(n);n+=1)r=e.charAt(n),!0===t?(i.push(`[${r}]`),t=!1):"\\"===r?t=!0:void 0!==o[r]?i.push(o[r]):i.push(`[${r}]`);return i.join("")},isInFuture:(e,t)=>h().utc(e).isAfter(t,"s"),isInPast:(e,t)=>h().utc(e).isBefore(t,"s")};var m="1.13.6",g="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},_=Array.prototype,y=Object.prototype,v="undefined"!=typeof Symbol?Symbol.prototype:null,b=_.push,w=_.slice,x=y.toString,S=y.hasOwnProperty,k="undefined"!=typeof ArrayBuffer,E="undefined"!=typeof DataView,C=Array.isArray,T=Object.keys,P=Object.create,j=k&&ArrayBuffer.isView,A=isNaN,I=isFinite,N=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B=Math.pow(2,53)-1;function R(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function O(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function M(e){return null===e}function D(e){return void 0===e}function F(e){return!0===e||!1===e||"[object Boolean]"===x.call(e)}function q(e){return!(!e||1!==e.nodeType)}function H(e){var t="[object "+e+"]";return function(e){return x.call(e)===t}}const V=H("String"),z=H("Number"),U=H("Date"),$=H("RegExp"),W=H("Error"),G=H("Symbol"),Y=H("ArrayBuffer");var K=H("Function"),Z=g.document&&g.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof Z&&(K=function(e){return"function"==typeof e||!1});const J=K,X=H("Object");var Q=E&&X(new DataView(new ArrayBuffer(8))),ee="undefined"!=typeof Map&&X(new Map),te=H("DataView");const ne=Q?function(e){return null!=e&&J(e.getInt8)&&Y(e.buffer)}:te,re=C||H("Array");function oe(e,t){return null!=e&&S.call(e,t)}var ie=H("Arguments");!function(){ie(arguments)||(ie=function(e){return oe(e,"callee")})}();const se=ie;function ae(e){return!G(e)&&I(e)&&!isNaN(parseFloat(e))}function le(e){return z(e)&&A(e)}function ce(e){return function(){return e}}function ue(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=B}}function pe(e){return function(t){return null==t?void 0:t[e]}}const de=pe("byteLength"),he=ue(de);var fe=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const me=k?function(e){return j?j(e)&&!ne(e):he(e)&&fe.test(x.call(e))}:ce(!1),ge=pe("length");function _e(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return!0===t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=L.length,r=e.constructor,o=J(r)&&r.prototype||y,i="constructor";for(oe(e,i)&&!t.contains(i)&&t.push(i);n--;)(i=L[n])in e&&e[i]!==o[i]&&!t.contains(i)&&t.push(i)}function ye(e){if(!O(e))return[];if(T)return T(e);var t=[];for(var n in e)oe(e,n)&&t.push(n);return N&&_e(e,t),t}function ve(e){if(null==e)return!0;var t=ge(e);return"number"==typeof t&&(re(e)||V(e)||se(e))?0===t:0===ge(ye(e))}function be(e,t){var n=ye(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var s=n[i];if(t[s]!==o[s]||!(s in o))return!1}return!0}function we(e){return e instanceof we?e:this instanceof we?void(this._wrapped=e):new we(e)}function xe(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,de(e))}we.VERSION=m,we.prototype.value=function(){return this._wrapped},we.prototype.valueOf=we.prototype.toJSON=we.prototype.value,we.prototype.toString=function(){return String(this._wrapped)};var Se="[object DataView]";function ke(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&Ee(e,t,n,r)}function Ee(e,t,n,r){e instanceof we&&(e=e._wrapped),t instanceof we&&(t=t._wrapped);var o=x.call(e);if(o!==x.call(t))return!1;if(Q&&"[object Object]"==o&&ne(e)){if(!ne(t))return!1;o=Se}switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return v.valueOf.call(e)===v.valueOf.call(t);case"[object ArrayBuffer]":case Se:return Ee(xe(e),xe(t),n,r)}var i="[object Array]"===o;if(!i&&me(e)){if(de(e)!==de(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,a=t.constructor;if(s!==a&&!(J(s)&&s instanceof s&&J(a)&&a instanceof a)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var l=(n=n||[]).length;l--;)if(n[l]===e)return r[l]===t;if(n.push(e),r.push(t),i){if((l=e.length)!==t.length)return!1;for(;l--;)if(!ke(e[l],t[l],n,r))return!1}else{var c,u=ye(e);if(l=u.length,ye(t).length!==l)return!1;for(;l--;)if(!oe(t,c=u[l])||!ke(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0}function Ce(e,t){return ke(e,t)}function Te(e){if(!O(e))return[];var t=[];for(var n in e)t.push(n);return N&&_e(e,t),t}function Pe(e){var t=ge(e);return function(n){if(null==n)return!1;var r=Te(n);if(ge(r))return!1;for(var o=0;o<t;o++)if(!J(n[e[o]]))return!1;return e!==Le||!J(n[je])}}var je="forEach",Ae=["clear","delete"],Ie=["get","has","set"],Ne=Ae.concat(je,Ie),Le=Ae.concat(Ie),Be=["add"].concat(Ae,je,"has");const Re=ee?Pe(Ne):H("Map"),Oe=ee?Pe(Le):H("WeakMap"),Me=ee?Pe(Be):H("Set"),De=H("WeakSet");function Fe(e){for(var t=ye(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function qe(e){for(var t=ye(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r}function He(e){for(var t={},n=ye(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function Ve(e){var t=[];for(var n in e)J(e[n])&&t.push(n);return t.sort()}function ze(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],s=e(i),a=s.length,l=0;l<a;l++){var c=s[l];t&&void 0!==n[c]||(n[c]=i[c])}return n}}const Ue=ze(Te),$e=ze(ye),We=ze(Te,!0);function Ge(e){if(!O(e))return{};if(P)return P(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Ye(e,t){var n=Ge(e);return t&&$e(n,t),n}function Ke(e){return O(e)?re(e)?e.slice():Ue({},e):e}function Ze(e,t){return t(e),e}function Je(e){return re(e)?e:[e]}function Xe(e){return we.toPath(e)}function Qe(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function et(e,t,n){var r=Qe(e,Xe(t));return D(r)?n:r}function tt(e,t){for(var n=(t=Xe(t)).length,r=0;r<n;r++){var o=t[r];if(!oe(e,o))return!1;e=e[o]}return!!n}function nt(e){return e}function rt(e){return e=$e({},e),function(t){return be(t,e)}}function ot(e){return e=Xe(e),function(t){return Qe(t,e)}}function it(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function st(e,t,n){return null==e?nt:J(e)?it(e,t,n):O(e)&&!re(e)?rt(e):ot(e)}function at(e,t){return st(e,t,1/0)}function lt(e,t,n){return we.iteratee!==at?we.iteratee(e,t):st(e,t,n)}function ct(e,t,n){t=lt(t,n);for(var r=ye(e),o=r.length,i={},s=0;s<o;s++){var a=r[s];i[a]=t(e[a],a,e)}return i}function ut(){}function pt(e){return null==e?ut:function(t){return et(e,t)}}function dt(e,t,n){var r=Array(Math.max(0,e));t=it(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r}function ht(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}we.toPath=Je,we.iteratee=at;const ft=Date.now||function(){return(new Date).getTime()};function mt(e){var t=function(t){return e[t]},n="(?:"+ye(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}const gt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},_t=mt(gt),yt=mt(He(gt)),vt=we.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var bt=/(.)^/,wt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},xt=/\\|'|\r|\n|\u2028|\u2029/g;function St(e){return"\\"+wt[e]}var kt=/^\s*(\w|\$)+\s*$/;function Et(e,t,n){!t&&n&&(t=n),t=We({},t,we.templateSettings);var r=RegExp([(t.escape||bt).source,(t.interpolate||bt).source,(t.evaluate||bt).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,(function(t,n,r,s,a){return i+=e.slice(o,a).replace(xt,St),o=a+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":s&&(i+="';\n"+s+"\n__p+='"),t})),i+="';\n";var s,a=t.variable;if(a){if(!kt.test(a))throw new Error("variable is not a bare identifier: "+a)}else i="with(obj||{}){\n"+i+"}\n",a="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{s=new Function(a,"_",i)}catch(e){throw e.source=i,e}var l=function(e){return s.call(this,e,we)};return l.source="function("+a+"){\n"+i+"}",l}function Ct(e,t,n){var r=(t=Xe(t)).length;if(!r)return J(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=J(i)?i.call(e):i}return e}var Tt=0;function Pt(e){var t=++Tt+"";return e?e+t:t}function jt(e){var t=we(e);return t._chain=!0,t}function At(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=Ge(e.prototype),s=e.apply(i,o);return O(s)?s:i}var It=R((function(e,t){var n=It.placeholder,r=function(){for(var o=0,i=t.length,s=Array(i),a=0;a<i;a++)s[a]=t[a]===n?arguments[o++]:t[a];for(;o<arguments.length;)s.push(arguments[o++]);return At(e,r,this,this,s)};return r}));It.placeholder=we;const Nt=It,Lt=R((function(e,t,n){if(!J(e))throw new TypeError("Bind must be called on a function");var r=R((function(o){return At(e,r,t,this,n.concat(o))}));return r})),Bt=ue(ge);function Rt(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var o=r.length,i=0,s=ge(e);i<s;i++){var a=e[i];if(Bt(a)&&(re(a)||se(a)))if(t>1)Rt(a,t-1,n,r),o=r.length;else for(var l=0,c=a.length;l<c;)r[o++]=a[l++];else n||(r[o++]=a)}return r}const Ot=R((function(e,t){var n=(t=Rt(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=Lt(e[r],e)}return e}));function Mt(e,t){var n=function(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return oe(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n}const Dt=R((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),Ft=Nt(Dt,we,1);function qt(e,t,n){var r,o,i,s,a=0;n||(n={});var l=function(){a=!1===n.leading?0:ft(),r=null,s=e.apply(o,i),r||(o=i=null)},c=function(){var c=ft();a||!1!==n.leading||(a=c);var u=t-(c-a);return o=this,i=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),a=c,s=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,u)),s};return c.cancel=function(){clearTimeout(r),a=0,r=o=i=null},c}function Ht(e,t,n){var r,o,i,s,a,l=function(){var c=ft()-o;t>c?r=setTimeout(l,t-c):(r=null,n||(s=e.apply(a,i)),r||(i=a=null))},c=R((function(c){return a=this,i=c,o=ft(),r||(r=setTimeout(l,t),n&&(s=e.apply(a,i))),s}));return c.cancel=function(){clearTimeout(r),r=i=a=null},c}function Vt(e,t){return Nt(t,e)}function zt(e){return function(){return!e.apply(this,arguments)}}function Ut(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function $t(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Wt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}const Gt=Nt(Wt,2);function Yt(e,t,n){t=lt(t,n);for(var r,o=ye(e),i=0,s=o.length;i<s;i++)if(t(e[r=o[i]],r,e))return r}function Kt(e){return function(t,n,r){n=lt(n,r);for(var o=ge(t),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}const Zt=Kt(1),Jt=Kt(-1);function Xt(e,t,n,r){for(var o=(n=lt(n,r,1))(t),i=0,s=ge(e);i<s;){var a=Math.floor((i+s)/2);n(e[a])<o?i=a+1:s=a}return i}function Qt(e,t,n){return function(r,o,i){var s=0,a=ge(r);if("number"==typeof i)e>0?s=i>=0?i:Math.max(i+a,s):a=i>=0?Math.min(i+1,a):i+a+1;else if(n&&i&&a)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=t(w.call(r,s,a),le))>=0?i+s:-1;for(i=e>0?s:a-1;i>=0&&i<a;i+=e)if(r[i]===o)return i;return-1}}const en=Qt(1,Zt,Xt),tn=Qt(-1,Jt);function nn(e,t,n){var r=(Bt(e)?Zt:Yt)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function rn(e,t){return nn(e,rt(t))}function on(e,t,n){var r,o;if(t=it(t,n),Bt(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=ye(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e}function sn(e,t,n){t=lt(t,n);for(var r=!Bt(e)&&ye(e),o=(r||e).length,i=Array(o),s=0;s<o;s++){var a=r?r[s]:s;i[s]=t(e[a],a,e)}return i}function an(e){return function(t,n,r,o){var i=arguments.length>=3;return function(t,n,r,o){var i=!Bt(t)&&ye(t),s=(i||t).length,a=e>0?0:s-1;for(o||(r=t[i?i[a]:a],a+=e);a>=0&&a<s;a+=e){var l=i?i[a]:a;r=n(r,t[l],l,t)}return r}(t,it(n,o,4),r,i)}}const ln=an(1),cn=an(-1);function un(e,t,n){var r=[];return t=lt(t,n),on(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function pn(e,t,n){return un(e,zt(lt(t)),n)}function dn(e,t,n){t=lt(t,n);for(var r=!Bt(e)&&ye(e),o=(r||e).length,i=0;i<o;i++){var s=r?r[i]:i;if(!t(e[s],s,e))return!1}return!0}function hn(e,t,n){t=lt(t,n);for(var r=!Bt(e)&&ye(e),o=(r||e).length,i=0;i<o;i++){var s=r?r[i]:i;if(t(e[s],s,e))return!0}return!1}function fn(e,t,n,r){return Bt(e)||(e=Fe(e)),("number"!=typeof n||r)&&(n=0),en(e,t,n)>=0}const mn=R((function(e,t,n){var r,o;return J(t)?o=t:(t=Xe(t),r=t.slice(0,-1),t=t[t.length-1]),sn(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=Qe(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function gn(e,t){return sn(e,ot(t))}function yn(e,t){return un(e,rt(t))}function vn(e,t,n){var r,o,i=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=Bt(e)?e:Fe(e)).length;a<l;a++)null!=(r=e[a])&&r>i&&(i=r);else t=lt(t,n),on(e,(function(e,n,r){((o=t(e,n,r))>s||o===-1/0&&i===-1/0)&&(i=e,s=o)}));return i}function bn(e,t,n){var r,o,i=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=Bt(e)?e:Fe(e)).length;a<l;a++)null!=(r=e[a])&&r<i&&(i=r);else t=lt(t,n),on(e,(function(e,n,r){((o=t(e,n,r))<s||o===1/0&&i===1/0)&&(i=e,s=o)}));return i}var wn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function xn(e){return e?re(e)?w.call(e):V(e)?e.match(wn):Bt(e)?sn(e,nt):Fe(e):[]}function Sn(e,t,n){if(null==t||n)return Bt(e)||(e=Fe(e)),e[ht(e.length-1)];var r=xn(e),o=ge(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,s=0;s<t;s++){var a=ht(s,i),l=r[s];r[s]=r[a],r[a]=l}return r.slice(0,t)}function kn(e){return Sn(e,1/0)}function En(e,t,n){var r=0;return t=lt(t,n),gn(sn(e,(function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")}function Cn(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=lt(r,o),on(n,(function(t,o){var s=r(t,o,n);e(i,t,s)})),i}}const Tn=Cn((function(e,t,n){oe(e,n)?e[n].push(t):e[n]=[t]})),Pn=Cn((function(e,t,n){e[n]=t})),jn=Cn((function(e,t,n){oe(e,n)?e[n]++:e[n]=1})),An=Cn((function(e,t,n){e[n?0:1].push(t)}),!0);function In(e){return null==e?0:Bt(e)?e.length:ye(e).length}function Nn(e,t,n){return t in n}const Ln=R((function(e,t){var n={},r=t[0];if(null==e)return n;J(r)?(t.length>1&&(r=it(r,t[1])),t=Te(e)):(r=Nn,t=Rt(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o<i;o++){var s=t[o],a=e[s];r(a,s,e)&&(n[s]=a)}return n})),Bn=R((function(e,t){var n,r=t[0];return J(r)?(r=zt(r),t.length>1&&(n=t[1])):(t=sn(Rt(t,!1,!1),String),r=function(e,n){return!fn(t,n)}),Ln(e,r,n)}));function Rn(e,t,n){return w.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function On(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Rn(e,e.length-t)}function Mn(e,t,n){return w.call(e,null==t||n?1:t)}function Dn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:Mn(e,Math.max(0,e.length-t))}function Fn(e){return un(e,Boolean)}function qn(e,t){return Rt(e,t,!1)}const Hn=R((function(e,t){return t=Rt(t,!0,!0),un(e,(function(e){return!fn(t,e)}))})),Vn=R((function(e,t){return Hn(e,t)}));function zn(e,t,n,r){F(t)||(r=n,n=t,t=!1),null!=n&&(n=lt(n,r));for(var o=[],i=[],s=0,a=ge(e);s<a;s++){var l=e[s],c=n?n(l,s,e):l;t&&!n?(s&&i===c||o.push(l),i=c):n?fn(i,c)||(i.push(c),o.push(l)):fn(o,l)||o.push(l)}return o}const Un=R((function(e){return zn(Rt(e,!0,!0))}));function $n(e){for(var t=[],n=arguments.length,r=0,o=ge(e);r<o;r++){var i=e[r];if(!fn(t,i)){var s;for(s=1;s<n&&fn(arguments[s],i);s++);s===n&&t.push(i)}}return t}function Wn(e){for(var t=e&&vn(e,ge).length||0,n=Array(t),r=0;r<t;r++)n[r]=gn(e,r);return n}const Gn=R(Wn);function Yn(e,t){for(var n={},r=0,o=ge(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}function Kn(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o}function Zn(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(w.call(e,r,r+=t));return n}function Jn(e,t){return e._chain?we(t).chain():t}function Xn(e){return on(Ve(e),(function(t){var n=we[t]=e[t];we.prototype[t]=function(){var e=[this._wrapped];return b.apply(e,arguments),Jn(this,n.apply(we,e))}})),we}on(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=_[e];we.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Jn(this,n)}})),on(["concat","join","slice"],(function(e){var t=_[e];we.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Jn(this,e)}}));const Qn=we;var er=Xn(e);er._=er;const tr=er,nr=window.jQuery;var rr=n.n(nr);function or(e){return{errors:[{message:e}]}}rr()(document).on("heartbeat-tick.mailpoet-ajax",((e,t)=>{t.mailpoet_token&&(window.mailpoet_token=t.mailpoet_token)}));const ir={version:.5,options:{},defaults:{url:null,api_version:null,endpoint:null,action:null,token:null,data:{}},post:function(e){return this.request("post",e)},get:function(e){return this.request("get",e)},init:function(e){this.options=rr().extend({},this.defaults,e),null===this.options.url&&(this.options.url=window.ajaxurl),null===this.options.token&&(this.options.token=window.mailpoet_token),null===this.options.timeout&&(this.options.timeout=0)},getParams:function(){return{action:"mailpoet",api_version:this.options.api_version,token:this.options.token,endpoint:this.options.endpoint,method:this.options.action,data:this.options.data||{}}},constructGetUrl:function(e){return this.init(e),`${this.options.url}?${rr().param(this.getParams())}`},request:function(e,t){this.init(t);const n=this.getParams();tr.isObject(n.data)&&(n.data=tr.pick(n.data,(e=>null!==e)));const r=rr().Deferred(),o=Math.ceil(this.options.timeout/1e3),i=rr()[e]({url:this.options.url,data:n,success:null,dataType:"json",timeout:this.options.timeout});return this.options.onRequestStart?.(i),i.then((e=>r.resolve(e)),((e,t)=>{let n;var i,s;"abort"===t?n=t:"timeout"===t?n=or(p.t("ajaxTimeoutErrorMessage").replace("%d",o.toString())):(i=p.t("ajaxFailedErrorMessage"),n=(s=e).responseJSON?s.responseJSON:or(i.replace("%d",s.status))),r.reject(n)})),this.options={},r}};var sr=n(3882),ar=n.n(sr),lr='<svg viewBox="0 0 23 23" xmlns="http://www.w3.org/2000/svg"><path d="M21.454 1.546L1.546 21.454M1.546 1.546L21.454 21.454" stroke-width="3" stroke-linecap="round" /></svg>';const cr={version:.9,initialized:!1,opened:!1,locked:!1,prevFocus:null,subpanels:[],defaults:{title:null,type:null,position:"right",data:{},url:null,method:"get",params:{},template:null,body_template:null,width:"auto",height:"auto",overlay:!1,overlayRender:!0,focus:!0,highlight:null,onInit:null,onSuccess:null,onCancel:null},renderer:"html",options:{},templates:{overlay:'<div id="mailpoet_modal_overlay" class="mailpoet_modal_overlay" style="display:none;"></div>',popup:'<div id="mailpoet_popup" class="mailpoet_popup" tabindex="-1"><div class="mailpoet_popup_wrapper"><a href="javascript:;" id="mailpoet_modal_close" class="mailpoet_modal_close">'+lr+'</a><div id="mailpoet_popup_title" class="mailpoet_popup_title"><h2 class="mailpoet-h2"></h2></div><div class="mailpoet_popup_body clearfix"></div></div></div>',loading:'<div id="mailpoet_loading" class="mailpoet_loading" style="display:none;"><div id="mailpoet_modal_loading_1" class="mailpoet_modal_loading mailpoet_modal_loading_1"></div><div id="mailpoet_modal_loading_2" class="mailpoet_modal_loading mailpoet_modal_loading_2"></div><div id="mailpoet_modal_loading_3" class="mailpoet_modal_loading mailpoet_modal_loading_3"></div></div>',progress:'<div id="mailpoet_modal_progress" class="mailpoet_modal_progress" style="display:none;"><div class="mailpoet_modal_progress_bar" style="width: 0%"></div><div class="mailpoet_modal_progress_text">0%</div></div>',panel:'<div id="mailpoet_panel" class="mailpoet_panel"><a href="javascript:;" id="mailpoet_modal_close" class="mailpoet_modal_close">'+lr+'</a><div class="mailpoet_panel_wrapper" tabindex="-1"><div class="mailpoet_panel_body clearfix"></div></div></div>',subpanel:'<div class="mailpoet_panel_wrapper" tabindex="-1"><div class="mailpoet_panel_body clearfix"></div></div>'},getContentContainer:function(){return rr()(".mailpoet_"+this.options.type+"_body")},setRenderer:function(e){return this.renderer=e,this},compileTemplate:function(e){return"html"===this.renderer?function(){return e}:ar().compile(e)},init:function(e){var t;return!0===this.initialized&&this.close(),this.options=rr().extend({},this.defaults,e),this.setRenderer(this.options.renderer),this.initOverlay(),this.setOverlay(this.options.overlay),null!==this.options.type&&("popup"===this.options.type?(t=this.compileTemplate(this.templates[this.options.type]),rr()("#mailpoet_modal_overlay").append(t(this.options)),rr()("#mailpoet_popup").toggleClass("mailpoet_popup_has_title",Boolean(this.options.title)),rr()("#mailpoet_popup_title h2").html(this.options.title)):"panel"===this.options.type&&rr()("#mailpoet_modal_overlay").after(this.templates[this.options.type]),rr()("#mailpoet_modal_overlay").removeClass("mailpoet_popup_overlay mailpoet_panel_overlay").addClass("mailpoet_"+this.options.type+"_overlay")),void 0!==e.onSuccess&&(this.options.onSuccess=e.onSuccess),void 0!==e.onCancel&&(this.options.onCancel=e.onCancel),this.options.body_template=this.compileTemplate(this.options.template),this.setupEvents(),this.initialized=!0,this},initOverlay:function(){return 0===rr()("#mailpoet_modal_overlay").length&&(rr()("body").append(this.templates.overlay),rr()("#mailpoet_modal_overlay").append(this.templates.loading),rr()("#mailpoet_modal_overlay").append(this.templates.progress)),this},setOverlay:function(e){return!0===e?rr()("#mailpoet_modal_overlay").removeClass("mailpoet_overlay_transparent"):rr()("#mailpoet_modal_overlay").addClass("mailpoet_overlay_transparent"),this},setupEvents:function(){return rr()("#mailpoet_modal_close").on("click",this.cancel.bind(this)),rr()("#mailpoet_modal_overlay").on("click",function(e){"mailpoet_modal_overlay"===e.target.id&&this.cancel()}.bind(this)),rr()(document).on("keyup.mailpoet_modal",function(e){return!1!==this.opened&&(27===e.keyCode&&this.cancel(),!0)}.bind(this)),rr()(window).on("resize.mailpoet_modal",function(){this.setPosition()}.bind(this)),this},removeEvents:function(){return rr()(document).off("keyup.mailpoet_modal"),rr()(window).off("resize.mailpoet_modal"),rr()("#mailpoet_modal_close").off("click"),!0===this.options.overlay&&rr()("#mailpoet_modal_overlay").off("click"),this},lock:function(){return this.locked=!0,this},unlock:function(){return this.locked=!1,this},isLocked:function(){return this.locked},loadTemplate:function(){return this.subpanels.length>0?(rr()(".mailpoet_"+this.options.type+"_wrapper").hide(),rr()("#mailpoet_"+this.options.type).append(this.templates.subpanel),rr()(".mailpoet_"+this.options.type+"_body").last().html(this.subpanels[this.subpanels.length-1].element),this.options.focus&&this.focus()):this.options.element?(rr()(".mailpoet_"+this.options.type+"_body").empty(),rr()(".mailpoet_"+this.options.type+"_body").append(this.options.element)):rr()(".mailpoet_"+this.options.type+"_body").html(this.options.body_template(this.options.data)),this},loadUrl:function(){return"get"===this.options.method?rr().getJSON(this.options.url,function(e){this.options.data=rr().extend({},this.options.data,e),this.loadTemplate(),this.showModal()}.bind(this)):"post"===this.options.method&&rr().post(this.options.url,JSON.stringify(this.options.params),function(e){this.options.data=rr().extend({},this.options.data,e),this.loadTemplate(),this.showModal()}.bind(this),"json"),this},setDimensions:function(){switch(this.options.type){case"popup":this.options.width&&"auto"!==this.options.width&&rr()("#mailpoet_popup").css({width:this.options.width}),this.options.height&&"auto"!==this.options.height&&(rr()("#mailpoet_popup_wrapper").css({height:this.options.height}),rr()("#mailpoet_popup").css({height:this.options.height})),this.options.minWidth&&rr()("#mailpoet_popup").css({minWidth:this.options.minWidth});break;case"panel":"right"===this.options.position?rr()("#mailpoet_panel").css({width:this.options.width,right:0,marginRight:"-"+this.options.width,left:"auto"}):"left"===this.options.position&&rr()("#mailpoet_panel").css({width:this.options.width,left:0,marginLeft:"-"+this.options.width,right:"auto"}),rr()("#mailpoet_panel").css({minHeight:"auto"});break;default:throw new Error("Incorrect type")}return this},setPosition:function(){switch(this.options.type){case"popup":break;case"panel":setTimeout(function(){"right"===this.options.position?rr()("#mailpoet_panel").css({marginRight:0}):"left"===this.options.position&&rr()("#mailpoet_panel").css({marginLeft:0})}.bind(this),0);break;default:throw new Error("Incorrect type")}return this},showModal:function(){return this.setDimensions(),this.prevFocus=rr()(":focus"),rr()("#mailpoet_"+this.options.type).show(),this.showOverlay(),this.setPosition(),null!==this.options.highlight&&this.options.highlight.length>0&&this.highlightOn(this.options.highlight),this.options.focus&&this.focus(),rr()("#mailpoet_modal_overlay").scrollTop(0),this.opened=!0,null!==this.options.onInit&&this.options.onInit(this),this},focus:function(){return"popup"===this.options.type?rr()("#mailpoet_"+this.options.type).trigger("focus"):rr()("#mailpoet_"+this.options.type+" .mailpoet_panel_wrapper").filter(":visible").trigger("focus"),this},highlightOn:function(e){return rr()(e).addClass("mailpoet_modal_highlight"),this},highlightOff:function(){return rr()(".mailpoet_modal_highlight").removeClass("mailpoet_modal_highlight"),this},hideModal:function(){return this.opened=!1,rr()("#mailpoet_"+this.options.type).hide(),this.highlightOff(),this},showOverlay:function(){var e=rr()("body"),t=e.innerWidth();return this.options.overlayRender?(rr()("#mailpoet_modal_overlay").show(),rr()("body").addClass("mailpoet_modal_opened").css("marginRight",e.innerWidth()-t),this):this},hideOverlay:function(){return rr()("#mailpoet_modal_overlay").hide(),rr()("body").removeClass("mailpoet_modal_opened").css("marginRight",0),this},popup:function(e){var t=e||{};return t.type="popup",t.overlay=t.overlay||!0,this.init(t),this.open(),this},panel:function(e){var t=e||{};return this.subpanels=[],t.type="panel",t.overlay=t.overlay||!1,t.highlight=t.highlight||null,t.width=t.width||"40%",t.height=t.height||"auto",this.init(t),this.open(),this},subpanel:function(e){return!1===this.opened?this.panel(e):(this.subpanels.push(e),this.loadTemplate()),this},loading:function(e){return this.initOverlay(!0),!0===e?this.showLoading():this.hideLoading(),this},showLoading:function(){return rr()("#mailpoet_loading").show(),rr()("#mailpoet_modal_overlay").addClass("mailpoet_overlay_loading"),this},hideLoading:function(){return rr()("#mailpoet_loading").hide(),rr()("#mailpoet_modal_overlay").removeClass("mailpoet_overlay_loading"),this},progress:function(e){return this.initOverlay(!0),!0===e?this.showProgress():this.hideProgress(),this},showProgress:function(){return this.setProgress(0),rr()("#mailpoet_modal_progress").show(),rr()("#mailpoet_modal_overlay").addClass("mailpoet_overlay_loading"),this},hideProgress:function(){return rr()("#mailpoet_modal_progress").hide(),rr()("#mailpoet_modal_overlay").removeClass("mailpoet_overlay_loading"),this},setProgress:function(e){var t=Math.max(0,Math.min(e,100)),n=rr()("#mailpoet_modal_progress");return n.find(".mailpoet_modal_progress_bar").css({width:t+"%"}),n.find(".mailpoet_modal_progress_text").text(t+"%"),this},open:function(){return null!==this.options.template?null!==this.options.url?this.loadUrl():(this.loadTemplate(),this.showModal()):this.cancel(),this},success:function(){return this.subpanels.length>0?void 0!==this.subpanels[this.subpanels.length-1].onSuccess&&this.subpanels[this.subpanels.length-1].onSuccess(this.subpanels[this.subpanels.length-1].data):null!==this.options.onSuccess&&this.options.onSuccess(this.options.data),this.close(),this},cancel:function(){return this.subpanels.length>0?void 0!==this.subpanels[this.subpanels.length-1].onCancel&&this.subpanels[this.subpanels.length-1].onCancel(this.subpanels[this.subpanels.length-1].data):null!==this.options.onCancel&&this.options.onCancel(this.options.data),this.close(),this},destroy:function(){return this.hideOverlay(),rr()("#mailpoet_"+this.options.type).length>0&&rr()("#mailpoet_"+this.options.type).remove(),this.initialized=!1,this},close:function(){return!0===this.isLocked()?this:this.subpanels.length>0?(rr()(".mailpoet_"+this.options.type+"_wrapper").last().remove(),rr()(".mailpoet_"+this.options.type+"_wrapper").last().show(),this.subpanels.pop(),this.options.focus&&this.focus(),this):(this.removeEvents(),this.hideModal(),this.destroy(),void 0!==this.prevFocus&&this.prevFocus.focus(),this.options={onSuccess:null,onCancel:null},this)}},ur={version:1,defaults:{type:"success",message:"",static:!1,hideClose:!1,id:null,positionAfter:!1,scroll:!1,timeout:1e4,onOpen:null,onClose:null},options:{},init:function(e){return this.options=rr().extend({},this.defaults,e),this},createNotice:function(){var e;return this.element=rr()("#mailpoet_notice_"+this.options.type).clone(),this.options.id&&this.element.attr("data-id",this.options.id),this.element.removeAttr("id"),("object"==typeof this.options.positionAfter?this.options.positionAfter:"string"==typeof this.options.positionAfter?rr()(this.options.positionAfter):rr()("#mailpoet_notice_"+this.options.type)).after(this.element),e=null,null!==this.options.onClose&&(e=this.options.onClose),rr()(this.element).on("close",function(){rr()(this).fadeOut(200,(function(){null!==e&&e(),rr()(this).remove()}))}.bind(this.element)),this},updateNotice:function(){this.setMessage(this.options.message,rr()('[data-id="'+this.options.id+'"').first())},setMessage:function(e,t){var n=this.formatMessage(e);return n="<p>"+n+"</p>",(t||this.element).html(n)},formatMessage:function(e){return Array.isArray(e)?e.join("<br />"):e},show:function(e){this.init(e),null!==this.options.id&&rr()('[data-id="'+this.options.id+'"]').length>0?this.updateNotice():(this.createNotice(),this.showNotice())},showNotice:function(){switch(this.setMessage(this.options.message),this.element.insertAfter(rr()("h2.title")),this.options.type){case"success":this.element.addClass("notice notice-success");break;case"system":this.element.addClass("notice notice-warning");break;case"error":this.element.addClass("notice notice-error");break;default:this.element.addClass("notice")}this.element.fadeIn(200),!0===this.options.scroll&&this.element.get(0).scrollIntoView(!1),!1===this.options.static&&setTimeout((function(e){e.trigger("close")}),this.options.timeout,this.element),!1===this.options.hideClose&&(this.element.append('<button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>'),this.element.find(".notice-dismiss").on("click",(function(){rr()(this).trigger("close")}))),null!==this.options.onOpen&&this.options.onOpen(this.element)},hide:function(e){void 0!==e&&!0===e?rr()(".mailpoet_notice:not([id])").trigger("close"):void 0!==e&&Array.isArray(e)&&Object.keys(e).forEach((function(t){rr()('[data-id="'+e[t]+'"]').trigger("close")})),void 0!==e?rr()('[data-id="'+e+'"]').trigger("close"):rr()(".mailpoet_notice.notice-success:not([id]), .mailpoet_notice.notice-error:not([id])").trigger("close")},error:function(e,t){this.show(rr().extend({},{type:"error",message:e},t))},success:function(e,t){this.show(rr().extend({},{type:"success",message:e},t))},system:function(e,t){this.show(rr().extend({},{type:"system",static:!0,message:e},t))},showApiErrorNotice:function(e,t){let n=p.t("ajaxFailedErrorMessage"),r=t;e&&e.errors&&e.errors.length>0&&(n=e.errors.map((e=>e.message)),r=JSON.stringify(e.errors).includes("reinstall_plugin")?{...t,static:!0,scroll:!0}:t),this.show(rr().extend({},{type:"error",message:n},r))}};var pr=[],dr=[];const hr="mailpoet-track-events-cache",fr="mailpoet-tracks-events-cache",mr="saveInStorage";let gr=[];function _r(){window.mailpoetTracks||(window.mailpoetTracks={isEnabled:!0,recordEvent:(e,t)=>{const n=window.mailpoet_analytics_public_id||"";if(!n)return;const r={commonProps:{public_id:n,...t},events:[{_ut:"anon",_ui:n,_en:"mailpoet_"+e}]};gr.push(r)},flushQueue:()=>{0!==gr.length&&(gr.forEach((e=>{fetch("https://public-api.wordpress.com/rest/v1.1/tracks/record",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":"MailPoet Plugin"},body:JSON.stringify(e),keepalive:!0}).catch((()=>{}))})),gr=[])}})}function yr(e,t=[]){try{_r();const n=e.toLowerCase().replace(/[^a-z0-9]/g,"_").replace(/_{2,}/g,"_").replace(/^_|_$/g,""),r=function(e){if(!e||"object"!=typeof e)return{};const t={MailPoet:"mailpoet",WooCommerce:"woocommerce",WordPress:"wordpress"},n={};return Object.entries(e).forEach((([e,r])=>{let o=e;Object.entries(t).forEach((([e,t])=>{o=o.replace(new RegExp(e,"g"),t)})),o=o.replace(/([A-Z])/g,"_$1").toLowerCase().replace(/[^a-z0-9_]/g,"_").replace(/_{2,}/g,"_").replace(/^_|_$/g,""),n[o]=r})),n}(t);window.mailpoetTracks&&"function"==typeof window.mailpoetTracks.recordEvent&&window.mailpoetTracks.recordEvent(n,r)}catch(e){}}function vr(e,t=[],n={},r=null){let o=t;void 0!==window.mailpoet_version&&(o["MailPoet Free version"]=window.mailpoet_version),void 0!==window.mailpoet_premium_version&&(o["MailPoet Premium version"]=window.mailpoet_premium_version),function(e,t=[],n={},r=null){const o=n===mr?{}:n;"function"!=typeof window.mixpanel.track&&window.mixpanel.init(window.mixpanelTrackingId,window.mixpanelInitConfig),window.mixpanelIsLoaded?window.mixpanel.track(e,t,o,r):r&&r()}(e,o,n,r),yr(e,o)}function br(e){(window.mailpoet_analytics_enabled||e.forced)&&vr(e.name,e.data,e.options,e.callback)}function wr(e){(window.mailpoet_analytics_enabled||e.forced)&&(_r(),yr(e.name,e.data))}function xr(){if("undefined"!=typeof localStorage){const e=localStorage.getItem(hr);if(e&&window.mailpoet_analytics_enabled)return JSON.parse(e).forEach(br),void localStorage.removeItem(hr)}pr.forEach(br)}function Sr(){if("undefined"!=typeof localStorage){const e=localStorage.getItem(fr);if(e&&window.mailpoet_analytics_enabled)return JSON.parse(e).forEach(wr),void localStorage.removeItem(fr)}dr.forEach(wr)}function kr(e,t,n,r,o){pr.push({name:t,data:n,options:r,callback:o,forced:e}),r===mr&&"undefined"!=typeof localStorage&&localStorage.setItem(hr,JSON.stringify(pr)),"function"==typeof o&&o()}function Er(e,t=[],n={},r=null){let o={...t};void 0!==window.mailpoet_version&&(o["MailPoet Free version"]=window.mailpoet_version),void 0!==window.mailpoet_premium_version&&(o["MailPoet Premium version"]=window.mailpoet_premium_version),kr(!1,e,o,n,r),function(e,t,n,r){dr.push({name:t,data:n,options:r,forced:!1}),r===mr&&"undefined"!=typeof localStorage&&localStorage.setItem(fr,JSON.stringify(dr))}(0,e,o,n)}function Cr(){xr(),Sr(),window.mailpoetTracks&&"function"==typeof window.mailpoetTracks.flushQueue&&window.mailpoetTracks.flushQueue()}const Tr=tr.partial(kr,!1),Pr=tr.partial(kr,!0),jr={toLocaleFixed:function(e,t){var n=t||0,r=10**n;return(Math.round(e*r)/r).toLocaleString(void 0,{minimumFractionDigits:n,maximumFractionDigits:n})}};var Ar=n(3108),Ir=n.n(Ar),Nr=n(1609);const Lr=Math.min,Br=Math.max,Rr=Math.round,Or=Math.floor,Mr=e=>({x:e,y:e}),Dr={left:"right",right:"left",bottom:"top",top:"bottom"},Fr={start:"end",end:"start"};function qr(e,t,n){return Br(e,Lr(t,n))}function Hr(e,t){return"function"==typeof e?e(t):e}function Vr(e){return e.split("-")[0]}function zr(e){return e.split("-")[1]}function Ur(e){return"x"===e?"y":"x"}function $r(e){return"y"===e?"height":"width"}function Wr(e){return["top","bottom"].includes(Vr(e))?"y":"x"}function Gr(e){return Ur(Wr(e))}function Yr(e){return e.replace(/start|end/g,(e=>Fr[e]))}function Kr(e){return e.replace(/left|right|bottom|top/g,(e=>Dr[e]))}function Zr(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Jr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Xr(e,t,n){let{reference:r,floating:o}=e;const i=Wr(t),s=Gr(t),a=$r(s),l=Vr(t),c="y"===i,u=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-o.width,y:p};break;default:h={x:r.x,y:r.y}}switch(zr(t)){case"start":h[s]-=d*(n&&c?-1:1);break;case"end":h[s]+=d*(n&&c?-1:1)}return h}async function Qr(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Hr(t,e),f=Zr(h),m=a[d?"floating"===p?"reference":"floating":p],g=Jr(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),_="floating"===p?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),v=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=Jr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:_,offsetParent:y,strategy:l}):_);return{top:(g.top-b.top+f.top)/v.y,bottom:(b.bottom-g.bottom+f.bottom)/v.y,left:(g.left-b.left+f.left)/v.x,right:(b.right-g.right+f.right)/v.x}}function eo(e){return ro(e)?(e.nodeName||"").toLowerCase():"#document"}function to(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function no(e){var t;return null==(t=(ro(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ro(e){return e instanceof Node||e instanceof to(e).Node}function oo(e){return e instanceof Element||e instanceof to(e).Element}function io(e){return e instanceof HTMLElement||e instanceof to(e).HTMLElement}function so(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof to(e).ShadowRoot)}function ao(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ho(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function lo(e){return["table","td","th"].includes(eo(e))}function co(e){const t=uo(),n=ho(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function uo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function po(e){return["html","body","#document"].includes(eo(e))}function ho(e){return to(e).getComputedStyle(e)}function fo(e){return oo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mo(e){if("html"===eo(e))return e;const t=e.assignedSlot||e.parentNode||so(e)&&e.host||no(e);return so(t)?t.host:t}function go(e){const t=mo(e);return po(t)?e.ownerDocument?e.ownerDocument.body:e.body:io(t)&&ao(t)?t:go(t)}function _o(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=go(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=to(o);return i?t.concat(s,s.visualViewport||[],ao(o)?o:[],s.frameElement&&n?_o(s.frameElement):[]):t.concat(o,_o(o,[],n))}function yo(e){const t=ho(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=io(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Rr(n)!==i||Rr(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function vo(e){return oo(e)?e:e.contextElement}function bo(e){const t=vo(e);if(!io(t))return Mr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=yo(t);let s=(i?Rr(n.width):n.width)/r,a=(i?Rr(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const wo=Mr(0);function xo(e){const t=to(e);return uo()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:wo}function So(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=vo(e);let s=Mr(1);t&&(r?oo(r)&&(s=bo(r)):s=bo(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==to(e))&&t}(i,n,r)?xo(i):Mr(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,p=o.height/s.y;if(i){const e=to(i),t=r&&oo(r)?to(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=bo(o),t=o.getBoundingClientRect(),r=ho(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,p*=e.y,l+=i,c+=s,n=to(o),o=n.frameElement}}return Jr({width:u,height:p,x:l,y:c})}const ko=[":popover-open",":modal"];function Eo(e){return ko.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Co(e){return So(no(e)).left+fo(e).scrollLeft}function To(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=to(e),r=no(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=uo();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=no(e),n=fo(e),r=e.ownerDocument.body,o=Br(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Br(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Co(e);const a=-n.scrollTop;return"rtl"===ho(r).direction&&(s+=Br(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}(no(e));else if(oo(t))r=function(e,t){const n=So(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=io(e)?bo(e):Mr(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=xo(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Jr(r)}function Po(e,t){const n=mo(e);return!(n===t||!oo(n)||po(n))&&("fixed"===ho(n).position||Po(n,t))}function jo(e,t,n){const r=io(t),o=no(t),i="fixed"===n,s=So(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Mr(0);if(r||!r&&!i)if(("body"!==eo(t)||ao(o))&&(a=fo(t)),r){const e=So(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Co(o));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Ao(e){return"static"===ho(e).position}function Io(e,t){return io(e)&&"fixed"!==ho(e).position?t?t(e):e.offsetParent:null}function No(e,t){const n=to(e);if(Eo(e))return n;if(!io(e)){let t=mo(e);for(;t&&!po(t);){if(oo(t)&&!Ao(t))return t;t=mo(t)}return n}let r=Io(e,t);for(;r&&lo(r)&&Ao(r);)r=Io(r,t);return r&&po(r)&&Ao(r)&&!co(r)?n:r||function(e){let t=mo(e);for(;io(t)&&!po(t);){if(co(t))return t;t=mo(t)}return null}(e)||n}const Lo={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=no(r),a=!!t&&Eo(t.floating);if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Mr(1);const u=Mr(0),p=io(r);if((p||!p&&!i)&&(("body"!==eo(r)||ao(s))&&(l=fo(r)),io(r))){const e=So(r);c=bo(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y}},getDocumentElement:no,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?Eo(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=_o(e,[],!1).filter((e=>oo(e)&&"body"!==eo(e))),o=null;const i="fixed"===ho(e).position;let s=i?mo(e):e;for(;oo(s)&&!po(s);){const t=ho(s),n=co(s);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||ao(s)&&!n&&Po(e,s))?r=r.filter((e=>e!==s)):o=t,s=mo(s)}return t.set(e,r),r}(t,this._c):[].concat(n),s=[...i,r],a=s[0],l=s.reduce(((e,n)=>{const r=To(t,n,o);return e.top=Br(r.top,e.top),e.right=Lr(r.right,e.right),e.bottom=Lr(r.bottom,e.bottom),e.left=Br(r.left,e.left),e}),To(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:No,getElementRects:async function(e){const t=this.getOffsetParent||No,n=this.getDimensions,r=await n(e.floating);return{reference:jo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=yo(e);return{width:t,height:n}},getScale:bo,isElement:oo,isRTL:function(e){return"rtl"===ho(e).direction}};const Bo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=Vr(n),a=zr(n),l="y"===Wr(n),c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,p=Hr(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:f}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return a&&"number"==typeof f&&(h="end"===a?-1*f:f),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Ro=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Hr(e,t),c={x:n,y:r},u=await Qr(t,l),p=Wr(Vr(o)),d=Ur(p);let h=c[d],f=c[p];if(i){const e="y"===d?"bottom":"right";h=qr(h+u["y"===d?"top":"left"],h,h-u[e])}if(s){const e="y"===p?"bottom":"right";f=qr(f+u["y"===p?"top":"left"],f,f-u[e])}const m=a.fn({...t,[d]:h,[p]:f});return{...m,data:{x:m.x-n,y:m.y-r}}}}},Oo=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=Hr(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const _=Vr(o),y=Vr(a)===a,v=await(null==l.isRTL?void 0:l.isRTL(c.floating)),b=d||(y||!m?[Kr(a)]:function(e){const t=Kr(e);return[Yr(e),t,Yr(t)]}(a));d||"none"===f||b.push(...function(e,t,n,r){const o=zr(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}(Vr(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(Yr)))),i}(a,m,f,v));const w=[a,...b],x=await Qr(t,g),S=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&S.push(x[_]),p){const e=function(e,t,n){void 0===n&&(n=!1);const r=zr(e),o=Gr(e),i=$r(o);let s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Kr(s)),[s,Kr(s)]}(o,s,v);S.push(x[e[0]],x[e[1]])}if(k=[...k,{placement:o,overflows:S}],!S.every((e=>e<=0))){var E,C;const e=((null==(E=i.flip)?void 0:E.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(C=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:C.placement;if(!n)switch(h){case"bestFit":{var T;const e=null==(T=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:T[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},Mo=(e,t,n)=>{const r=new Map,o={platform:Lo,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:p}=Xr(c,r,l),d=r,h={},f=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:g,y:_,data:y,reset:v}=await m({x:u,y:p,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=g?g:u,p=null!=_?_:p,h={...h,[i]:{...h[i],...y}},v&&f<=50&&(f++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:u,y:p}=Xr(c,d,l))),n=-1)}return{x:u,y:p,placement:d,strategy:o,middlewareData:h}})(e,t,{...o,platform:i})};var Do=n(3698),Fo=n.n(Do);const qo={core:!1,base:!1};function Ho({css:e,id:t="react-tooltip-base-styles",type:n="base",ref:r}){var o,i;if(!e||"undefined"==typeof document||qo[n])return;if("core"===n&&"undefined"!=typeof process&&(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==n&&"undefined"!=typeof process&&(null===(i=null===process||void 0===process?void 0:process.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(t="react-tooltip-core-styles"),r||(r={});const{insertAt:s}=r;if(document.getElementById(t))return void console.warn(`[react-tooltip] Element with id '${t}' already exists. Call \`removeStyle()\` first`);const a=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css","top"===s&&a.firstChild?a.insertBefore(l,a.firstChild):a.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e)),qo[n]=!0}const Vo=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:o=10,strategy:i="absolute",middlewares:s=[Bo(Number(o)),Oo({fallbackAxisSideDirection:"start"}),Ro({padding:5})],border:a})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=s;return n?(l.push({name:"arrow",options:c={element:n,padding:5},async fn(e){const{x:t,y:n,placement:r,rects:o,platform:i,elements:s,middlewareData:a}=e,{element:l,padding:u=0}=Hr(c,e)||{};if(null==l)return{};const p=Zr(u),d={x:t,y:n},h=Gr(r),f=$r(h),m=await i.getDimensions(l),g="y"===h,_=g?"top":"left",y=g?"bottom":"right",v=g?"clientHeight":"clientWidth",b=o.reference[f]+o.reference[h]-d[h]-o.floating[f],w=d[h]-o.reference[h],x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l));let S=x?x[v]:0;S&&await(null==i.isElement?void 0:i.isElement(x))||(S=s.floating[v]||o.floating[f]);const k=b/2-w/2,E=S/2-m[f]/2-1,C=Lr(p[_],E),T=Lr(p[y],E),P=C,j=S-m[f]-T,A=S/2-m[f]/2+k,I=qr(P,A,j),N=!a.arrow&&null!=zr(r)&&A!==I&&o.reference[f]/2-(A<P?C:T)-m[f]/2<0,L=N?A<P?A-P:A-j:0;return{[h]:d[h]+L,data:{[h]:I,centerOffset:A-I-L,...N&&{alignmentOffset:L}},reset:N}}}),Mo(e,t,{placement:r,strategy:i,middleware:l}).then((({x:e,y:t,placement:n,middlewareData:r})=>{var o,i;const s={left:`${e}px`,top:`${t}px`,border:a},{x:l,y:c}=null!==(o=r.arrow)&&void 0!==o?o:{x:0,y:0},u=null!==(i={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==i?i:"bottom",p=a&&{borderBottom:a,borderRight:a};let d=0;if(a){const e=`${a}`.match(/(\d+)px/);d=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:s,tooltipArrowStyles:{left:null!=l?`${l}px`:"",top:null!=c?`${c}px`:"",right:"",bottom:"",...p,[u]:`-${4+d}px`},place:n}}))):Mo(e,t,{placement:"bottom",strategy:i,middleware:l}).then((({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})));var c},zo=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Uo=(e,t,n)=>{let r=null;const o=function(...o){const i=()=>{r=null,n||e.apply(this,o)};n&&!r&&(e.apply(this,o),r=setTimeout(i,t)),n||(r&&clearTimeout(r),r=setTimeout(i,t))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},$o=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,Wo=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>Wo(e,t[n])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!$o(e)||!$o(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>Wo(e[n],t[n])))},Go=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},Yo=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Go(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Ko="undefined"!=typeof window?Nr.useLayoutEffect:Nr.useEffect,Zo={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Jo=(0,Nr.createContext)({getTooltipData:()=>Zo});function Xo(e="DEFAULT_TOOLTIP_ID"){return(0,Nr.useContext)(Jo).getTooltipData(e)}var Qo={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},ei={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const ti=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:o="dark",anchorId:i,anchorSelect:s,place:a="top",offset:l=10,events:c=["hover"],openOnClick:u=!1,positionStrategy:p="absolute",middlewares:d,wrapper:h,delayShow:f=0,delayHide:m=0,float:g=!1,hidden:_=!1,noArrow:y=!1,clickable:v=!1,closeOnEsc:b=!1,closeOnScroll:w=!1,closeOnResize:x=!1,openEvents:S,closeEvents:k,globalCloseEvents:E,imperativeModeOnly:C,style:T,position:P,afterShow:j,afterHide:A,content:I,contentWrapperRef:N,isOpen:L,defaultIsOpen:B=!1,setIsOpen:R,activeAnchor:O,setActiveAnchor:M,border:D,opacity:F,arrowColor:q,role:H="tooltip"})=>{var V;const z=(0,Nr.useRef)(null),U=(0,Nr.useRef)(null),$=(0,Nr.useRef)(null),W=(0,Nr.useRef)(null),G=(0,Nr.useRef)(null),[Y,K]=(0,Nr.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:a}),[Z,J]=(0,Nr.useState)(!1),[X,Q]=(0,Nr.useState)(!1),[ee,te]=(0,Nr.useState)(null),ne=(0,Nr.useRef)(!1),re=(0,Nr.useRef)(null),{anchorRefs:oe,setActiveAnchor:ie}=Xo(t),se=(0,Nr.useRef)(!1),[ae,le]=(0,Nr.useState)([]),ce=(0,Nr.useRef)(!1),ue=u||c.includes("click"),pe=ue||(null==S?void 0:S.click)||(null==S?void 0:S.dblclick)||(null==S?void 0:S.mousedown),de=S?{...S}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!S&&ue&&Object.assign(de,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const he=k?{...k}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!k&&ue&&Object.assign(he,{mouseleave:!1,blur:!1,mouseout:!1});const fe=E?{...E}:{escape:b||!1,scroll:w||!1,resize:x||!1,clickOutsideAnchor:pe||!1};C&&(Object.assign(de,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(he,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(fe,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Ko((()=>(ce.current=!0,()=>{ce.current=!1})),[]);const me=e=>{ce.current&&(e&&Q(!0),setTimeout((()=>{ce.current&&(null==R||R(e),void 0===L&&J(e))}),10))};(0,Nr.useEffect)((()=>{if(void 0===L)return()=>null;L&&Q(!0);const e=setTimeout((()=>{J(L)}),10);return()=>{clearTimeout(e)}}),[L]),(0,Nr.useEffect)((()=>{if(Z!==ne.current)if(G.current&&clearTimeout(G.current),ne.current=Z,Z)null==j||j();else{const e=(e=>{const t=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!t)return 0;const[,n,r]=t;return Number(n)*("ms"===r?1:1e3)})();G.current=setTimeout((()=>{Q(!1),te(null),null==A||A()}),e+25)}}),[Z]);const ge=e=>{K((t=>Wo(t,e)?t:e))},_e=(e=f)=>{$.current&&clearTimeout($.current),X?me(!0):$.current=setTimeout((()=>{me(!0)}),e)},ye=(e=m)=>{W.current&&clearTimeout(W.current),W.current=setTimeout((()=>{se.current||me(!1)}),e)},ve=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return M(null),void ie({current:null});f?_e():me(!0),M(n),ie({current:n}),W.current&&clearTimeout(W.current)},be=()=>{v?ye(m||100):m?ye():me(!1),$.current&&clearTimeout($.current)},we=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};Vo({place:null!==(n=null==ee?void 0:ee.place)&&void 0!==n?n:a,offset:l,elementReference:r,tooltipReference:z.current,tooltipArrowReference:U.current,strategy:p,middlewares:d,border:D}).then((e=>{ge(e)}))},xe=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};we(n),re.current=n},Se=e=>{var t;if(!Z)return;const n=e.target;n.isConnected&&((null===(t=z.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${i}']`),...ae].some((e=>null==e?void 0:e.contains(n)))||(me(!1),$.current&&clearTimeout($.current)))},ke=Uo(ve,50,!0),Ee=Uo(be,50,!0),Ce=e=>{Ee.cancel(),ke(e)},Te=()=>{ke.cancel(),Ee()},Pe=(0,Nr.useCallback)((()=>{var e,t;const n=null!==(e=null==ee?void 0:ee.position)&&void 0!==e?e:P;n?we(n):g?re.current&&we(re.current):(null==O?void 0:O.isConnected)&&Vo({place:null!==(t=null==ee?void 0:ee.place)&&void 0!==t?t:a,offset:l,elementReference:O,tooltipReference:z.current,tooltipArrowReference:U.current,strategy:p,middlewares:d,border:D}).then((e=>{ce.current&&ge(e)}))}),[Z,O,I,T,a,null==ee?void 0:ee.place,l,p,P,null==ee?void 0:ee.position,g]);(0,Nr.useEffect)((()=>{var e,t;const n=new Set(oe);ae.forEach((e=>{n.add({current:e})}));const r=document.querySelector(`[id='${i}']`);r&&n.add({current:r});const o=()=>{me(!1)},s=Yo(O),a=Yo(z.current);fe.scroll&&(window.addEventListener("scroll",o),null==s||s.addEventListener("scroll",o),null==a||a.addEventListener("scroll",o));let l=null;fe.resize?window.addEventListener("resize",o):O&&z.current&&(l=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=vo(e),u=o||i?[...c?_o(c):[],..._o(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const p=c&&a?function(e,t){let n,r=null;const o=no(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:p,height:d}=e.getBoundingClientRect();if(a||t(),!p||!d)return;const h={rootMargin:-Or(u)+"px "+-Or(o.clientWidth-(c+p))+"px "+-Or(o.clientHeight-(u+d))+"px "+-Or(c)+"px",threshold:Br(0,Lr(1,l))||1};let f=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!f)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}f=!1}try{r=new IntersectionObserver(m,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(m,h)}r.observe(e)}(!0),i}(c,n):null;let d,h=-1,f=null;s&&(f=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()})),c&&!l&&f.observe(c),f.observe(t));let m=l?So(e):null;return l&&function t(){const r=So(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n(),m=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==p||p(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(d)}}(O,z.current,Pe,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const c=e=>{"Escape"===e.key&&me(!1)};fe.escape&&window.addEventListener("keydown",c),fe.clickOutsideAnchor&&window.addEventListener("click",Se);const u=[],p=e=>{Z&&(null==e?void 0:e.target)===O||ve(e)},d=e=>{Z&&(null==e?void 0:e.target)===O&&be()},h=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],f=["click","dblclick","mousedown","mouseup"];Object.entries(de).forEach((([e,t])=>{t&&(h.includes(e)?u.push({event:e,listener:Ce}):f.includes(e)&&u.push({event:e,listener:p}))})),Object.entries(he).forEach((([e,t])=>{t&&(h.includes(e)?u.push({event:e,listener:Te}):f.includes(e)&&u.push({event:e,listener:d}))})),g&&u.push({event:"pointermove",listener:xe});const m=()=>{se.current=!0},_=()=>{se.current=!1,be()};return v&&!pe&&(null===(e=z.current)||void 0===e||e.addEventListener("mouseenter",m),null===(t=z.current)||void 0===t||t.addEventListener("mouseleave",_)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)}))})),()=>{var e,t;fe.scroll&&(window.removeEventListener("scroll",o),null==s||s.removeEventListener("scroll",o),null==a||a.removeEventListener("scroll",o)),fe.resize?window.removeEventListener("resize",o):null==l||l(),fe.clickOutsideAnchor&&window.removeEventListener("click",Se),fe.escape&&window.removeEventListener("keydown",c),v&&!pe&&(null===(e=z.current)||void 0===e||e.removeEventListener("mouseenter",m),null===(t=z.current)||void 0===t||t.removeEventListener("mouseleave",_)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)}))}))}}),[O,Pe,X,oe,ae,S,k,E,ue,f,m]),(0,Nr.useEffect)((()=>{var e,n;let r=null!==(n=null!==(e=null==ee?void 0:ee.anchorSelect)&&void 0!==e?e:s)&&void 0!==n?n:"";!r&&t&&(r=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const o=new MutationObserver((e=>{const n=[],o=[];e.forEach((e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?n.push(e.target):e.oldValue===t&&o.push(e.target)),"childList"===e.type){if(O){const t=[...e.removedNodes].filter((e=>1===e.nodeType));if(r)try{o.push(...t.filter((e=>e.matches(r)))),o.push(...t.flatMap((e=>[...e.querySelectorAll(r)])))}catch(e){}t.some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,O))&&(Q(!1),me(!1),M(null),$.current&&clearTimeout($.current),W.current&&clearTimeout(W.current),!0)}))}if(r)try{const t=[...e.addedNodes].filter((e=>1===e.nodeType));n.push(...t.filter((e=>e.matches(r)))),n.push(...t.flatMap((e=>[...e.querySelectorAll(r)])))}catch(e){}}})),(n.length||o.length)&&le((e=>[...e.filter((e=>!o.includes(e))),...n]))}));return o.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{o.disconnect()}}),[t,s,null==ee?void 0:ee.anchorSelect,O]),(0,Nr.useEffect)((()=>{Pe()}),[Pe]),(0,Nr.useEffect)((()=>{if(!(null==N?void 0:N.current))return()=>null;const e=new ResizeObserver((()=>{setTimeout((()=>Pe()))}));return e.observe(N.current),()=>{e.disconnect()}}),[I,null==N?void 0:N.current]),(0,Nr.useEffect)((()=>{var e;const t=document.querySelector(`[id='${i}']`),n=[...ae,t];O&&n.includes(O)||M(null!==(e=ae[0])&&void 0!==e?e:t)}),[i,ae,O]),(0,Nr.useEffect)((()=>(B&&me(!0),()=>{$.current&&clearTimeout($.current),W.current&&clearTimeout(W.current)})),[]),(0,Nr.useEffect)((()=>{var e;let n=null!==(e=null==ee?void 0:ee.anchorSelect)&&void 0!==e?e:s;if(!n&&t&&(n=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),n)try{const e=Array.from(document.querySelectorAll(n));le(e)}catch(e){le([])}}),[t,s,null==ee?void 0:ee.anchorSelect]),(0,Nr.useEffect)((()=>{$.current&&(clearTimeout($.current),_e(f))}),[f]);const je=null!==(V=null==ee?void 0:ee.content)&&void 0!==V?V:I,Ae=Z&&Object.keys(Y.tooltipStyles).length>0;return(0,Nr.useImperativeHandle)(e,(()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return void console.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`)}te(null!=e?e:null),(null==e?void 0:e.delay)?_e(e.delay):me(!0)},close:e=>{(null==e?void 0:e.delay)?ye(e.delay):me(!1)},activeAnchor:O,place:Y.place,isOpen:Boolean(X&&!_&&je&&Ae)}))),X&&!_&&je?Nr.createElement(h,{id:t,role:H,className:Do("react-tooltip",Qo.tooltip,ei.tooltip,ei[o],n,`react-tooltip__place-${Y.place}`,Qo[Ae?"show":"closing"],Ae?"react-tooltip__show":"react-tooltip__closing","fixed"===p&&Qo.fixed,v&&Qo.clickable),onTransitionEnd:e=>{G.current&&clearTimeout(G.current),Z||"opacity"!==e.propertyName||(Q(!1),te(null),null==A||A())},style:{...T,...Y.tooltipStyles,opacity:void 0!==F&&Ae?F:void 0},ref:z},je,Nr.createElement(h,{className:Do("react-tooltip-arrow",Qo.arrow,ei.arrow,r,y&&Qo.noArrow),style:{...Y.tooltipArrowStyles,background:q?`linear-gradient(to right bottom, transparent 50%, ${q} 50%)`:void 0},ref:U})):null},ni=({content:e})=>Nr.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),ri=Nr.forwardRef((({id:e,anchorId:t,anchorSelect:n,content:r,html:o,render:i,className:s,classNameArrow:a,variant:l="dark",place:c="top",offset:u=10,wrapper:p="div",children:d=null,events:h=["hover"],openOnClick:f=!1,positionStrategy:m="absolute",middlewares:g,delayShow:_=0,delayHide:y=0,float:v=!1,hidden:b=!1,noArrow:w=!1,clickable:x=!1,closeOnEsc:S=!1,closeOnScroll:k=!1,closeOnResize:E=!1,openEvents:C,closeEvents:T,globalCloseEvents:P,imperativeModeOnly:j=!1,style:A,position:I,isOpen:N,defaultIsOpen:L=!1,disableStyleInjection:B=!1,border:R,opacity:O,arrowColor:M,setIsOpen:D,afterShow:F,afterHide:q,role:H="tooltip"},V)=>{const[z,U]=(0,Nr.useState)(r),[$,W]=(0,Nr.useState)(o),[G,Y]=(0,Nr.useState)(c),[K,Z]=(0,Nr.useState)(l),[J,X]=(0,Nr.useState)(u),[Q,ee]=(0,Nr.useState)(_),[te,ne]=(0,Nr.useState)(y),[re,oe]=(0,Nr.useState)(v),[ie,se]=(0,Nr.useState)(b),[ae,le]=(0,Nr.useState)(p),[ce,ue]=(0,Nr.useState)(h),[pe,de]=(0,Nr.useState)(m),[he,fe]=(0,Nr.useState)(null),[me,ge]=(0,Nr.useState)(null),_e=(0,Nr.useRef)(B),{anchorRefs:ye,activeAnchor:ve}=Xo(e),be=e=>null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t}),{}),we=e=>{const t={place:e=>{var t;Y(null!==(t=e)&&void 0!==t?t:c)},content:e=>{U(null!=e?e:r)},html:e=>{W(null!=e?e:o)},variant:e=>{var t;Z(null!==(t=e)&&void 0!==t?t:l)},offset:e=>{X(null===e?u:Number(e))},wrapper:e=>{var t;le(null!==(t=e)&&void 0!==t?t:p)},events:e=>{const t=null==e?void 0:e.split(" ");ue(null!=t?t:h)},"position-strategy":e=>{var t;de(null!==(t=e)&&void 0!==t?t:m)},"delay-show":e=>{ee(null===e?_:Number(e))},"delay-hide":e=>{ne(null===e?y:Number(e))},float:e=>{oe(null===e?v:"true"===e)},hidden:e=>{se(null===e?b:"true"===e)},"class-name":e=>{fe(e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)}))};(0,Nr.useEffect)((()=>{U(r)}),[r]),(0,Nr.useEffect)((()=>{W(o)}),[o]),(0,Nr.useEffect)((()=>{Y(c)}),[c]),(0,Nr.useEffect)((()=>{Z(l)}),[l]),(0,Nr.useEffect)((()=>{X(u)}),[u]),(0,Nr.useEffect)((()=>{ee(_)}),[_]),(0,Nr.useEffect)((()=>{ne(y)}),[y]),(0,Nr.useEffect)((()=>{oe(v)}),[v]),(0,Nr.useEffect)((()=>{se(b)}),[b]),(0,Nr.useEffect)((()=>{de(m)}),[m]),(0,Nr.useEffect)((()=>{_e.current!==B&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[B]),(0,Nr.useEffect)((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===B,disableBase:B}}))}),[]),(0,Nr.useEffect)((()=>{var r;const o=new Set(ye);let i=n;if(!i&&e&&(i=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),i)try{document.querySelectorAll(i).forEach((e=>{o.add({current:e})}))}catch(r){console.warn(`[react-tooltip] "${i}" is not a valid CSS selector`)}const s=document.querySelector(`[id='${t}']`);if(s&&o.add({current:s}),!o.size)return()=>null;const a=null!==(r=null!=me?me:s)&&void 0!==r?r:ve.current,l=new MutationObserver((e=>{e.forEach((e=>{var t;if(!a||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=be(a);we(n)}))})),c={attributes:!0,childList:!1,subtree:!1};if(a){const e=be(a);we(e),l.observe(a,c)}return()=>{l.disconnect()}}),[ye,ve,me,t,n]),(0,Nr.useEffect)((()=>{(null==A?void 0:A.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),R&&!zo("border",`${R}`)&&console.warn(`[react-tooltip] "${R}" is not a valid \`border\`.`),(null==A?void 0:A.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),O&&!zo("opacity",`${O}`)&&console.warn(`[react-tooltip] "${O}" is not a valid \`opacity\`.`)}),[]);let xe=d;const Se=(0,Nr.useRef)(null);if(i){const e=i({content:(null==me?void 0:me.getAttribute("data-tooltip-content"))||z||null,activeAnchor:me});xe=e?Nr.createElement("div",{ref:Se,className:"react-tooltip-content-wrapper"},e):null}else z&&(xe=z);$&&(xe=Nr.createElement(ni,{content:$}));const ke={forwardRef:V,id:e,anchorId:t,anchorSelect:n,className:Do(s,he),classNameArrow:a,content:xe,contentWrapperRef:Se,place:G,variant:K,offset:J,wrapper:ae,events:ce,openOnClick:f,positionStrategy:pe,middlewares:g,delayShow:Q,delayHide:te,float:re,hidden:ie,noArrow:w,clickable:x,closeOnEsc:S,closeOnScroll:k,closeOnResize:E,openEvents:C,closeEvents:T,globalCloseEvents:P,imperativeModeOnly:j,style:A,position:I,isOpen:N,defaultIsOpen:L,border:R,opacity:O,arrowColor:M,setIsOpen:D,afterShow:F,afterHide:q,activeAnchor:me,setActiveAnchor:e=>ge(e),role:H};return Nr.createElement(ti,{...ke})}));"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||Ho({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ho({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})}));var oi=n(4242),ii=n(6106);function si(e){let t=e.tooltipId,n=e.tooltip;return e.tooltipId||"string"!=typeof e.tooltip||(t=e.tooltip),t||(t=(Math.random()+1).toString(36).substring(7)),"string"==typeof e.tooltip&&(n=(0,ii.jsx)("span",{style:{pointerEvents:"all",maxWidth:"400px",display:"inline-block"},children:(0,oi.Ay)(e.tooltip)})),(0,ii.jsxs)("span",{className:e.className,children:[(0,ii.jsx)("span",{style:{cursor:"pointer"},className:"tooltip dashicons dashicons-editor-help","data-tip":!0,"data-tooltip-id":t}),(0,ii.jsx)(ri,{globalEventOff:"click",openOnClick:!0,className:"mailpoet-tooltip-message",id:t,place:e.place,children:n})]})}si.propTypes={tooltipId:Ir().string,tooltip:Ir().node.isRequired,place:Ir().string,className:Ir().string};var ai=n(9124);const li={show:function(e,t){(0,ai.H)(e).render((0,Nr.createElement)(si,{tooltip:t.tooltip,tooltipId:t.tooltipId,place:t.place}))}},ci={marginY:20,autoSize:function(e){e&&this.setSize(e,e.contentWindow.document.body.scrollHeight)},setSize:function(e,t){e&&(e.style.height=parseInt(t,10)+this.marginY+"px")}},ui=e=>`post.php?post=${e}&action=edit`,pi=(e,t="")=>{const n="admin.php?page=mailpoet-newsletter-editor",r=encodeURIComponent(String(e));return t?`${n}&id=${r}&context=${encodeURIComponent(t)}`:`${n}&id=${r}`},di={FeaturesController:(hi=window.mailpoet_feature_flags,{FEATURE_BRAND_TEMPLATES:"brand_templates",isSupported:e=>hi[e]||!1}),MailPoetComUrlFactory:(e=>{const t="https://www.mailpoet.com/",n="https://account.mailpoet.com/",r=(t,n,r)=>{let o=r;e&&(o.ref=e);const i=new URL(n,t);return Object.keys(o).forEach((e=>{"object"==typeof o[e]?Object.entries(o[e]).forEach((([t,n])=>{i.searchParams.set(`${e}[${t}]`,n)})):i.searchParams.set(e,o[e])})),i.toString()};return{getFreePlanUrl:e=>{const n="object"==typeof e?e:{};return n.utm_source="plugin",r(t,"free-plan",n)},getPricingPageUrl:e=>r(t,"pricing",{subscribers:e}),getUpgradeUrl:(e,t)=>r(n,"/orders/upgrade/"+e,"object"==typeof t?t:{}),getPurchasePlanUrl:(e,t,o,i)=>{let s={s:e};return"string"==typeof t&&(s.email=t),"string"==typeof o&&(s.g=o),"object"==typeof i&&(s.utm_source="plugin",s=Object.assign(s,i)),r(n,"/",s)}}})(window.mailpoet_referral_id),version:window.mailpoet_version,premiumVersion:window.mailpoet_premium_version,premiumLink:window.mailpoet_premium_link,isWoocommerceActive:window.mailpoet_woocommerce_active,isWoocommerceBookingsActive:window.mailpoet_woocommerce_bookings_active,isWoocommerceSubscriptionsActive:window.mailpoet_woocommerce_subscriptions_active,WooCommerceStoreConfig:window.mailpoet_woocommerce_store_config,premiumActive:window.mailpoet_premium_active,subscribersLimit:window.mailpoet_subscribers_limit,subscribersLimitReached:window.mailpoet_subscribers_limit_reached,subscribersCount:window.mailpoet_subscribers_count,hasPremiumSupport:window.mailpoet_has_premium_support,hasValidApiKey:window.mailpoet_has_valid_api_key,hasValidPremiumKey:window.mailpoet_has_valid_premium_key,hasValidMssApiKey:window.mailpoet_mss_key_valid,hasInvalidMssApiKey:window.mailpoet_mss_key_invalid,mtaMethod:window.mailpoet_mta_method,mtaLog:window.mailpoet_mta_log,listingPerPage:window.mailpoet_listing_per_page,libs3rdPartyEnabled:window.mailpoet_3rd_party_libs_enabled,apiVersion:window.mailpoet_api_version,emailRegex:window.mailpoet_email_regex,wpSegmentState:window.mailpoet_wp_segment_state,wpWeekStartsOn:window.mailpoet_wp_week_starts_on,urls:window.mailpoet_urls,subscribersCountsCacheCreatedAt:window.mailpoet_subscribers_counts_cache_created_at,getShortcodeLinks:()=>window.mailpoet_shortcode_links?window.mailpoet_shortcode_links:{},trackingConfig:window.mailpoet_tracking_config,I18n:p,Date:f,Ajax:ir,Modal:cr,Notice:ur,trackEvent:Tr,forceTrackEvent:Pr,Num:jr,helpTooltip:li,Iframe:ci,isPremiumPluginInstalled:window.mailpoet_premium_plugin_installed,premiumPluginDownloadUrl:window.mailpoet_premium_plugin_download_url,premiumPluginActivationUrl:window.mailpoet_premium_plugin_activation_url,pluginPartialKey:window.mailpoet_plugin_partial_key,emailVolumeLimit:window.mailpoet_email_volume_limit,emailVolumeLimitReached:window.mailpoet_email_volume_limit_reached,capabilities:window.mailpoet_capabilities,tier:window.mailpoet_tier,currentWpUserEmail:window.mailpoet_current_wp_user_email,freeMailDomains:window.mailpoet_free_domains||[],installedAt:window.mailpoet_installed_at,installedDaysAgo:window.mailpoet_installed_days_ago,emailEditorTutorialSeen:window.mailpoet_email_editor_tutorial_seen,emailEditorTutorialUrl:window.mailpoet_email_editor_tutorial_url,deactivateSubscriberAfterInactiveDays:window.mailpoet_deactivate_subscriber_after_inactive_days,tags:window.mailpoet_tags,cdnUrl:window.mailpoet_cdn_url,mainPageSlug:window.mailpoet_main_page_slug,transactionalEmailsEnabled:window.mailpoet_send_transactional_emails,transactionalEmailsOptInNoticeDismissed:window.mailpoet_transactional_emails_opt_in_notice_dismissed,mailFunctionEnabled:window.mailpoet_mail_function_enabled,corrupt_newsletters:window.corrupt_newsletters??[],adminPluginsUrl:window.mailpoet_admin_plugins_url,isDotcom:window.mailpoet_is_dotcom,cronTriggerMethod:window.mailpoet_cron_trigger_method,useBlockEmailEditorForAutomationNewsletter:window?.mailpoet_use_block_email_editor_for_automation_emails??!1,getBlockEmailEditorUrl:ui,getNewsletterEditorUrl:pi,getActiveEmailEditorUrl:(e,t="")=>e&&e.id?e.wp_post_id?ui(e.wp_post_id):pi(e.id,t):"#"};var hi;window.MailPoet=di,function(){let e,t=0;const n=()=>{window.MailPoet.forceTrackEvent=vr,window.mailpoet_analytics_enabled&&window.mailpoet_3rd_party_libs_enabled?(window.MailPoet.trackEvent=vr,window.MailPoet.queueTrackEvent=Er,window.MailPoet.processAllCachedEvents=Cr):(window.MailPoet.trackEvent=function(e,t,n,r){"function"==typeof r&&r()},window.MailPoet.queueTrackEvent=function(e,t,n,r){"function"==typeof r&&r()},window.MailPoet.processAllCachedEvents=function(){}),xr(),Sr();const e=()=>{window.mailpoetTracks&&"function"==typeof window.mailpoetTracks.flushQueue&&window.mailpoetTracks.flushQueue()};window.addEventListener("beforeunload",e),window.addEventListener("pagehide",e),setInterval(e,3e4)},r=()=>"object"==typeof window.mixpanel||!0;r()?n():e=setInterval((()=>{r()?(clearInterval(e),n()):t+=1,t>5&&clearInterval(e)}),100)}();const fi=window.wp.element,mi=window.wp.compose,gi=(window.wp.formatLibrary,window.wp.blocks);function _i(){try{return(0,gi.getBlockTypes)().filter((e=>!0===e.supports?.email)).map((e=>e.name))}catch(e){return console.error("Failed to get allowed block names:",e),[]}}const yi=window.wp.blockLibrary,vi=window.wp.blockEditor,bi=new Map;function wi(e,t){const n=(0,gi.getBlockType)(e);if(!n)return!1;const{name:r,...o}=n;try{bi.has(r)||bi.set(r,{...o});const e=t(o),n={...o,...e};return(0,gi.unregisterBlockType)(r),(0,gi.registerBlockType)(r,n),!0}catch(t){return console.error("Failed to update block settings for",e,t),!1}}const xi=new Set,Si=new Set;function ki(e,t){return`${e}||${t}`}function Ei(e,t,n,r){(0,o.addFilter)(e,t,n,r),xi.add(ki(e,t))}function Ci(e,t,n,r){(0,o.addAction)(e,t,n,r),Si.add(ki(e,t))}const Ti=(0,mi.createHigherOrderComponent)((e=>function(t){return"core/columns"!==t.name?(0,ii.jsx)(e,{...t}):(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(e,{...t}),(0,ii.jsx)(vi.InspectorControls,{children:(0,ii.jsx)("style",{children:"\n .components-panel__body .components-toggle-control .components-form-toggle { opacity: 0.3; }\n .components-panel__body .components-toggle-control .components-form-toggle__input { pointer-events: none; }\n .components-panel__body .components-toggle-control label { pointer-events: none; }\n "})})]})}),"columnsEditCallback"),Pi=["core/column","core/columns"];function ji({layoutClassNames:e}){const t=(0,vi.useBlockProps)({className:e});return(0,ii.jsxs)("div",{...t,children:[(0,ii.jsx)("p",{children:(0,i.__)("This is the Content block.","woocommerce")}),(0,ii.jsx)("p",{children:(0,i.__)("It will display all the blocks in the email content, which might be only simple text paragraphs. You can enrich your message with images, incorporate data through tables, explore different layout designs with columns, or use any other block type.","woocommerce")})]})}const Ai=(0,mi.createHigherOrderComponent)((e=>function(t){return"core/image"!==t.name?(0,ii.jsx)(e,{...t}):(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(e,{...t}),(0,ii.jsx)(vi.InspectorControls,{children:(0,ii.jsx)("style",{children:"\n .components-tools-panel .components-toggle-control { display: none; }\n "})})]})}),"imageEditCallback"),Ii=window.wp.richText,Ni=window.wp.components,Li=(e,t)=>{const n=e.current.ownerDocument.defaultView.getSelection();if(!n.rangeCount)return{start:0,end:0};const r=n.getRangeAt(0);if(null===n.anchorNode.previousSibling)return{start:n.anchorOffset,end:n.anchorOffset+r.toString().length};const o=(0,Ii.create)({html:t});let i=n.anchorNode.previousSibling;i=function(e){let t=e;for(;t&&t?.children?.length>0;)t=t.children[0];return t}(i);const s=function(e,t){let n=null;for(const[r,o]of t.entries())if(o)for(const t of o)t?.attributes&&e.tagName.toLowerCase()===t.tagName?.toLowerCase()&&e.getAttribute("data-link-href")===t?.attributes["data-link-href"]&&(n=r);return n}(i,o.formats);if(null!==s)return{start:s+n.anchorOffset+1,end:s+n.anchorOffset+r.toString().length};const a=function(e,t){for(const[n,r]of t.entries()){if(!r)continue;const{attributes:t}=r;if(e.getAttribute("data-rich-text-comment")===t["data-rich-text-comment"])return n}return null}(i,o.replacements);return null!==a?{start:a+n.anchorOffset+1,end:a+n.anchorOffset+r.toString().length}:{start:o.text.length,end:o.text.length+r.toString().length}},Bi=(e,t)=>(t.forEach((t=>{if(!e.includes(t.token.slice(0,t.token.length-1)))return;const n=t.token.substring(1,t.token.length-1).replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=new RegExp(`(?<!\x3c!--)(?<!["'])\\[(${n}(\\s[^\\]]*)?)\\](?!--\x3e)`,"g");e=e.replace(r,(e=>`\x3c!--${e}--\x3e`))})),e),Ri=({groupedTags:e,activeCategory:t,onCategorySelect:n})=>{const r=e=>e===t?"woocommerce-personalization-tags-modal-menu-item-active":"";return(0,ii.jsxs)(Ni.MenuGroup,{className:"woocommerce-personalization-tags-modal-menu",children:[(0,ii.jsx)(Ni.MenuItem,{onClick:()=>n(null),className:r(null),children:(0,i.__)("All","woocommerce")}),(0,ii.jsx)("div",{className:"woocommerce-personalization-tags-modal-menu-separator","aria-hidden":"true",role:"presentation","data-testid":"woocommerce-personalization-tags-modal-menu-separator"}),Object.keys(e).map(((e,t,o)=>(0,ii.jsxs)(fi.Fragment,{children:[(0,ii.jsx)(Ni.MenuItem,{onClick:()=>n(e),className:r(e),children:e}),t<o.length-1&&(0,ii.jsx)("div",{className:"woocommerce-personalization-tags-modal-menu-separator","aria-hidden":"true",role:"presentation","data-testid":"woocommerce-personalization-tags-modal-menu-separator"})]},e)))]})},Oi=({groupedTags:e,activeCategory:t,onInsert:n,canInsertLink:r,closeCallback:o,openLinkModal:a})=>{const{updateBlockAttributes:l}=(0,s.useDispatch)(vi.store),c=(0,s.useSelect)((e=>e(vi.store).getSelectedBlockClientId())),u=(0,s.useSelect)((e=>e(vi.store).getBlock(c))),p=["core/button"].includes(u?.name),d=null===t?Object.entries(e):[[t,e[t]||[]]];return(0,ii.jsx)(ii.Fragment,{children:d.map((([e,t])=>(0,ii.jsxs)("div",{children:[(0,ii.jsx)("div",{className:"woocommerce-personalization-tags-modal-category",children:e}),(0,ii.jsx)("div",{className:"woocommerce-personalization-tags-modal-category-group",children:t.map((t=>{const s=/\burl\b/.test(t.token);return(0,ii.jsxs)("div",{className:"woocommerce-personalization-tags-modal-category-group-item",children:[(0,ii.jsxs)("div",{className:"woocommerce-personalization-tags-modal-item-text",children:[(0,ii.jsx)("strong",{children:t.name}),t.valueToInsert]}),(0,ii.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[(0,ii.jsx)(Ni.Button,{variant:"link",onClick:()=>{n&&n(t.valueToInsert,!1)},children:(0,i.__)("Insert","woocommerce")}),p&&s&&(0,ii.jsx)(Ni.Button,{variant:"link",onClick:()=>{l(c,{url:t.valueToInsert}),o()},children:(0,i.__)("Set as URL","woocommerce")}),e===(0,i.__)("Link","woocommerce")&&r&&(0,ii.jsx)(ii.Fragment,{children:(0,ii.jsx)(Ni.Button,{variant:"link",onClick:()=>{o(),a(t)},children:(0,i.__)("Insert as link","woocommerce")})})]})]},t.token)}))})]},e)))})},Mi=({onInsert:e,isOpened:t,closeCallback:n,tag:r})=>{const[o,s]=(0,fi.useState)((0,i.__)("Link","woocommerce"));return t?(0,ii.jsxs)(Ni.Modal,{size:"small",title:(0,i.__)("Insert Link","woocommerce"),onRequestClose:n,className:"woocommerce-personalization-tags-modal",children:[(0,ii.jsx)(Ni.TextControl,{label:(0,i.__)("Link Text","woocommerce"),value:o,onChange:s}),(0,ii.jsx)(Ni.Button,{isPrimary:!0,onClick:()=>{e&&e(r.token,o)},children:(0,i.__)("Insert","woocommerce")})]}):null},Di=window.lodash,Fi=()=>(0,o.applyFilters)("woocommerce_email_editor_events_tracking_enabled",!1),qi="email_editor_events",Hi=new EventTarget,Vi=(e,t={})=>{if(!Fi())return;const n={name:`${qi}_${e}`,..."object"!=typeof t?{data:t}:t};Hi.dispatchEvent(new CustomEvent(qi,{detail:n}))},zi=function(){const e={};return(t,n={})=>{if(!Fi())return;const r=`${t}_${JSON.stringify(n).length}`;e[r]||(Vi(t,n),e[r]=!0)}}(),Ui=(0,Di.debounce)(Vi,700),$i="email-editor/editor",Wi={name:"personalization_tag",kind:"root",baseURL:"/woocommerce-email-editor/v1/personalization_tags",key:"token"},Gi=({onInsert:e,isOpened:t,closeCallback:n,canInsertLink:r=!1,openedBy:o=""})=>{const[a,l]=(0,fi.useState)(null),[c,u]=(0,fi.useState)(""),[p,d]=(0,fi.useState)(null),[h,f]=(0,fi.useState)(!1),m=(0,s.useSelect)((e=>e($i).getPersonalizationTagsList()),[]);if(h)return(0,ii.jsx)(Mi,{onInsert:(t,n)=>{e(t,n),f(!1)},isOpened:h,closeCallback:()=>f(!1),tag:p});if(!t)return null;zi("personalization_tags_modal_opened",{openedBy:o});const g=m.reduce(((e,t)=>{const{category:n,name:r,token:o}=t;return(!c||r.toLowerCase().includes(c.toLowerCase())||o.toLowerCase().includes(c.toLowerCase()))&&(e[n]||(e[n]=[]),e[n].push(t)),e}),{});return(0,ii.jsxs)(Ni.Modal,{size:"medium",title:(0,i.__)("Personalization Tags","woocommerce"),onRequestClose:()=>{n(),Vi("personalization_tags_modal_closed",{openedBy:o})},className:"woocommerce-personalization-tags-modal",children:[(0,ii.jsxs)("p",{children:[(0,i.__)("Insert personalization tags to dynamically fill in information and personalize your emails.","woocommerce")," ",(0,ii.jsx)(Ni.ExternalLink,{href:"https://kb.mailpoet.com/article/435-a-guide-to-personalisation-tags-for-tailored-newsletters#list",onClick:()=>Vi("personalization_tags_modal_learn_more_link_clicked",{openedBy:o}),children:(0,i.__)("Learn more","woocommerce")})]}),(0,ii.jsx)(Ni.SearchControl,{onChange:e=>{u(e),zi("personalization_tags_modal_search_control_input_updated",{openedBy:o})},value:c}),(0,ii.jsx)(Ri,{groupedTags:g,activeCategory:a,onCategorySelect:e=>{l(e),Vi("personalization_tags_modal_category_menu_clicked",{category:e,openedBy:o})}}),(0,ii.jsx)(Oi,{groupedTags:g,activeCategory:a,onInsert:t=>{e(t),Vi("personalization_tags_modal_tag_insert_button_clicked",{insertedTag:t,activeCategory:a,openedBy:o})},closeCallback:n,canInsertLink:r,openLinkModal:e=>{d(e),f(!0)}})]})},Yi=({contentRef:e,onUpdate:t})=>{const[n,r]=(0,fi.useState)(!1),[o,s]=(0,fi.useState)(null),[a,l]=(0,fi.useState)(""),[c,u]=(0,fi.useState)("");return(0,fi.useEffect)((()=>{if(!e||!e.current)return;const t=e.current,n=e=>{const t=e.target.closest("span[data-rich-text-comment]");if(t){const e=t.innerText.replace(/^\[|\]$/g,"");u(e),l(e),s(t),r(!0)}};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}),[e]),(0,ii.jsx)(ii.Fragment,{children:n&&o&&(0,ii.jsx)(Ni.Popover,{position:"bottom right",onClose:()=>r(!1),anchor:o,className:"woocommerce-personalization-tag-popover",children:(0,ii.jsxs)("div",{className:"woocommerce-personalization-tag-popover-content",children:[(0,ii.jsx)(Ni.TextControl,{label:(0,i.__)("Personalization Tag","woocommerce"),value:a,onChange:e=>l(e),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,ii.jsxs)("div",{className:"woocommerce-personalization-tag-popover-content-buttons",children:[(0,ii.jsx)(Ni.Button,{isTertiary:!0,onClick:()=>{r(!1)},children:(0,i.__)("Cancel","woocommerce")}),(0,ii.jsx)(Ni.Button,{isPrimary:!0,onClick:()=>{t(c,a),r(!1)},children:(0,i.__)("Update","woocommerce")})]})]})})})},Ki=({contentRef:e,onUpdate:t})=>{const[n,r]=(0,fi.useState)(!1),[o,a]=(0,fi.useState)(null),[l,c]=(0,fi.useState)(""),[u,p]=(0,fi.useState)(""),d=(0,s.useSelect)((e=>e($i).getPersonalizationTagsList()),[]);return(0,fi.useEffect)((()=>{if(!e||!e.current)return;const t=e.current,n=e=>{const t=e.target.closest("a[data-link-href]");t&&(a(t),p(t.getAttribute("data-link-href")||""),c(t.textContent||""),r(!0))};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}),[e]),(0,ii.jsx)(ii.Fragment,{children:n&&o&&(0,ii.jsx)(Ni.Popover,{position:"bottom left",onClose:()=>r(!1),anchor:o,className:"woocommerce-personalization-tag-popover",children:(0,ii.jsxs)("div",{className:"woocommerce-personalization-tag-popover-content",children:[(0,ii.jsx)(Ni.TextControl,{label:(0,i.__)("Link Text","woocommerce"),value:l,onChange:e=>c(e),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,autoComplete:"off"}),(0,ii.jsx)(Ni.SelectControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:(0,i.__)("Link tag","woocommerce"),value:u,onChange:e=>{p(e)},options:d.filter((e=>e.category===(0,i.__)("Link","woocommerce"))).map((e=>({label:e.name,value:e.token})))}),(0,ii.jsxs)("div",{className:"woocommerce-personalization-tag-popover-content-buttons",children:[(0,ii.jsx)(Ni.Button,{isTertiary:!0,onClick:()=>{r(!1)},children:(0,i.__)("Cancel","woocommerce")}),(0,ii.jsx)(Ni.Button,{isPrimary:!0,onClick:()=>{r(!1),t(o,u,l)},children:(0,i.__)("Update link","woocommerce")})]})]})})})},Zi=new Set,Ji=new Map;function Xi(e,t){(0,Ii.registerFormatType)(e,t),Zi.add(e)}function Qi({contentRef:e}){const[t,n]=(0,fi.useState)(!1),r=(0,s.useSelect)((e=>e("core/block-editor").getSelectedBlockClientId())),{updateBlockAttributes:o}=(0,s.useDispatch)("core/block-editor"),a=(0,s.useSelect)((e=>e("core/block-editor").getBlockAttributes(r))),l="text"in a?"text":"content",c=a?.[l]?.originalHTML||a?.[l]||"",u=(0,fi.useCallback)(((t,n)=>{let{start:i,end:s}=Li(e,c),a="";if(n){let e=(0,Ii.create)({html:c});e=(0,Ii.insert)(e,n,i,s),s=i+n.length,e=(0,Ii.applyFormat)(e,{type:"woocommerce-email-editor/link-shortcode",attributes:{"data-link-href":t,contenteditable:"false",style:"text-decoration: underline;"}},i,s),a=(0,Ii.toHTMLString)({value:e})}else{let e=(0,Ii.create)({html:c});e=(0,Ii.insert)(e,(0,Ii.create)({html:`\x3c!--${t}--\x3e `}),i,s),a=(0,Ii.toHTMLString)({value:e})}o(r,{[l]:a})}),[c,l,e,r,o]);return(0,ii.jsx)(vi.BlockControls,{children:(0,ii.jsxs)(Ni.ToolbarGroup,{children:[(0,ii.jsx)(Ni.ToolbarButton,{icon:"shortcode",title:(0,i.__)("Personalization Tags","woocommerce"),onClick:()=>{n(!0),Vi("block_controls_personalization_tags_button_clicked")}}),(0,ii.jsx)(Yi,{contentRef:e,onUpdate:(e,t)=>{const n=c.replace(`\x3c!--[${e}]--\x3e`,`\x3c!--[${t}]--\x3e`);o(r,{[l]:n})}}),(0,ii.jsx)(Ki,{contentRef:e,onUpdate:(e,t,n)=>{const i=e.getAttribute("data-link-href").replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=new RegExp(`<a([^>]*?)data-link-href="${i}"([^>]*?)>${e.textContent}</a>`,"gi"),a=c.replace(s,((e,r,o)=>`<a${r}data-link-href="${t}"${o}>${n}</a>`));o(r,{content:a})}}),(0,ii.jsx)(Gi,{isOpened:t,onInsert:(e,t)=>{u(e,t),n(!1)},closeCallback:()=>n(!1),canInsertLink:!0,openedBy:"block-controls"})]})})}const es=(0,mi.createHigherOrderComponent)((e=>t=>{const{attributes:n,setAttributes:r,name:o}=t,{content:i}=n,a=(0,s.useSelect)((e=>e($i).getPersonalizationTagsList()),[]),l=(0,fi.useCallback)((()=>i?Bi(i,a):""),[i,a]),c=(0,fi.useCallback)((e=>{if(void 0!==e.content){const t=Bi(e.content,a);r({...e,content:t})}else r(e)}),[a,r]);return"core/paragraph"===o||"core/heading"===o||"core/list-item"===o?(0,ii.jsx)(e,{...t,attributes:{...n,content:l()},setAttributes:c}):(0,ii.jsx)(e,{...t})}),"personalizationTagsLiveContentUpdate"),ts=window.wp.domReady;var ns=n.n(ts);new Set;const rs=new Map,os=["core/social-links"];function is(){(0,gi.getBlockTypes)().forEach((e=>{const t=e.name;if(os.includes(t))return;const n=(0,s.select)("core/blocks").getBlockStyles(t);Array.isArray(n)&&0!==n?.length&&n.forEach((e=>{!function(e,t){const n=((0,s.select)("core/blocks").getBlockStyles(e)||[]).find((e=>e.name===t));if(n){const r=rs.get(e)||[];r.find((e=>e.name===t))||(r.push(n),rs.set(e,r))}(0,gi.unregisterBlockStyle)(e,t)}(t,e.name)}))}))}const ss=e=>t=>{const{setAttributes:n}=t,r=(0,fi.useCallback)((e=>{e?.url&&e.url?.startsWith("http://[")&&(e.url=e.url.replace("http://[","[")),n(e)}),[n]);return(0,ii.jsx)(e,{...t,setAttributes:r})},as=new Set;function ls(e,t){(0,gi.registerBlockVariation)(e,t),as.add(function(e,t){return`${e}||${t}`}(e,t.name))}const cs=["behance","bluesky","chain","discord","facebook","feed","github","gravatar","instagram","linkedin","mail","mastodon","medium","patreon","pinterest","reddit","spotify","telegram","threads","tiktok","tumblr","twitch","twitter","vimeo","wordpress","whatsapp","x","youtube"],us=e=>t=>{if("core/social-links"!==t.name)return(0,ii.jsx)(e,{...t});const n=`\n\t\t.block-editor-tools-panel-color-gradient-settings__item:has([title="${(0,i.__)("Icon color")}"]) {\n\t\t\tdisplay: none !important;\n\t\t}\n\t\t.block-editor-tools-panel-color-gradient-settings__item:nth-child(2 of .block-editor-tools-panel-color-gradient-settings__item){\n\t\t\tborder-top:1px solid #ddd;\n\t\t\tborder-top-left-radius:2px;\n\t\t\tborder-top-right-radius:2px;\n\t\t}\n\t\t`;return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(e,{...t}),(0,ii.jsx)(vi.InspectorControls,{group:"color",children:(0,ii.jsx)("style",{children:n})})]})};const ps=window.wp.privateApis,{unlock:ds}=(0,ps.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/edit-site"),{ColorPanel:hs}=ds(vi.privateApis),{useGlobalStylesOutputWithConfig:fs}=ds(vi.privateApis),{Editor:ms,FullscreenMode:gs,ViewMoreMenuGroup:_s,BackButton:ys}=ds(l.privateApis),vs=void 0!==fs,{registerEntityAction:bs,unregisterEntityAction:ws}=ds((0,s.dispatch)(l.store)),xs=fs||(()=>[[],{}]),Ss=window.wp.notices,ks=window.wp.primitives,Es=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})}),Cs=window.wp.htmlEntities;function Ts(e){return"string"==typeof e.title?(0,Cs.decodeEntities)(e.title):e.title&&"rendered"in e.title?(0,Cs.decodeEntities)(e.title.rendered):e.title&&"raw"in e.title?(0,Cs.decodeEntities)(e.title.raw):""}function Ps(e,t){return t?e.length>1?(0,i.sprintf)(1 (()=>{var e={7762:(e,t)=>{"use strict";t.byteLength=function(e){var t=a(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=a(e),s=i[0],l=i[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,s,l)),u=0,p=l>0?s-4:s;for(n=0;n<p;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],s=16383,a=0,c=r-o;a<c;a+=s)i.push(l(e,a,a+s>c?c:a+s));return 1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=i[s],r[i.charCodeAt(s)]=s;function a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var o,i,s=[],a=t;a<r;a+=3)o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},2266:(e,t,n)=>{"use strict";const r=n(7762),o=n(6287),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50;const s=2147483647;function a(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return p(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let r=a(n);const o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(K(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);const o=function(e){if(l.isBuffer(e)){const t=0|f(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||J(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return u(e),a(e<0?0:0|f(e))}function d(e){const t=e.length<0?0:0|f(e.length),n=a(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function f(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(o)return r?-1:W(e).length;t=(""+t).toLowerCase(),o=!0}}function g(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return j(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function _(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),J(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){let i,s=1,a=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){let r=-1;for(i=n;i<a;i++)if(c(e,i)===c(t,-1===r?0:i-r)){if(-1===r&&(r=i),i-r+1===l)return r*s}else-1!==r&&(i-=i-r),r=-1}else for(n+l>a&&(n=a-l),i=n;i>=0;i--){let n=!0;for(let r=0;r<l;r++)if(c(e,i+r)!==c(t,r)){n=!1;break}if(n)return i}return-1}function b(e,t,n,r){n=Number(n)||0;const o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;const i=t.length;let s;for(r>i/2&&(r=i/2),s=0;s<r;++s){const r=parseInt(t.substr(2*s,2),16);if(J(r))return s;e[n+s]=r}return s}function w(e,t,n,r){return Y(W(t,e.length-n),e,n,r)}function x(e,t,n,r){return Y(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function S(e,t,n,r){return Y(G(t),e,n,r)}function k(e,t,n,r){return Y(function(e,t){let n,r,o;const i=[];for(let s=0;s<e.length&&!((t-=2)<0);++s)n=e.charCodeAt(s),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o<n;){const t=e[o];let i=null,s=t>239?4:t>223?3:t>191?2:1;if(o+s<=n){let n,r,a,l;switch(s){case 1:t<128&&(i=t);break;case 2:n=e[o+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(i=l));break;case 3:n=e[o+1],r=e[o+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:n=e[o+1],r=e[o+2],a=e[o+3],128==(192&n)&&128==(192&r)&&128==(192&a)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&a,l>65535&&l<1114112&&(i=l))}}null===i?(i=65533,s=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=s}return function(e){const t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=T));return n}(r)}t.kMaxLength=s,l.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)}(e,t,n)},l.allocUnsafe=function(e){return p(e)},l.allocUnsafeSlow=function(e){return p(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(K(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),K(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=l.allocUnsafe(t);let o=0;for(n=0;n<e.length;++n){let t=e[n];if(K(t,Uint8Array))o+t.length>r.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)_(this,t,t+1);return this},l.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this},l.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this},l.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,o){if(K(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0);const a=Math.min(i,s),c=this.slice(r,o),u=e.slice(t,n);for(let e=0;e<a;++e)if(c[e]!==u[e]){i=c[e],s=u[e];break}return i<s?-1:s<i?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return x(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function P(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function j(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function A(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let o="";for(let r=t;r<n;++r)o+=X[e[r]];return o}function I(e,t,n){const r=e.slice(t,n);let o="";for(let e=0;e<r.length-1;e+=2)o+=String.fromCharCode(r[e]+256*r[e+1]);return o}function N(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function B(e,t,n,r,o){V(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,n}function R(e,t,n,r,o){V(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=s,s>>=8,e[n+2]=s,s>>=8,e[n+1]=s,s>>=8,e[n]=s,n+8}function O(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,i){return t=+t,n>>>=0,i||O(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,i){return t=+t,n>>>=0,i||O(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=Z((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<<BigInt(32))})),l.prototype.readBigUInt64BE=Z((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(o)})),l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||N(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||N(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=Z((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),l.prototype.readBigInt64BE=Z((function(e){z(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),l.prototype.readFloatLE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);let o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=Z((function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Z((function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);L(this,e,t,n,r-1,-r)}let o=0,i=1,s=0;for(this[t]=255&e;++o<n&&(i*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/i|0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);L(this,e,t,n,r-1,-r)}let o=n-1,i=1,s=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/i|0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=Z((function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Z((function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const o=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{const i=l.isBuffer(e)?e:l.from(e,r),s=i.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=i[o%s]}return this};const F={};function q(e,t,n){F[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function H(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function V(e,t,n,r,o,i){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let o;throw o=i>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new F.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){z(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||U(t,e.length-(n+1))}(r,o,i)}function z(e,t){if("number"!=typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function U(e,t,n){if(Math.floor(e)!==e)throw z(e,n),new F.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}q("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),q("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),q("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=H(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=H(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r}),RangeError);const $=/[^+/0-9A-Za-z-_]/g;function W(e,t){let n;t=t||1/0;const r=e.length;let o=null;const i=[];for(let s=0;s<r;++s){if(n=e.charCodeAt(s),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function G(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,n,r){let o;for(o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function K(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!=e}const X=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function Z(e){return"undefined"==typeof BigInt?Q:e}function Q(){throw new Error("BigInt not supported")}},6838:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function a(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||o,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var c=Array.isArray(n);return c===Array.isArray(e)?c?l.arrayMerge(e,n,l):function(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(s(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}(e,n,l):r(n,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return a(e,n,t)}),{})};var l=a;e.exports=l},7478:(e,t,n)=>{var r=n(5836),o=n(2407),i={__proto__:null,allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,hidden:!0,ismap:!0,loop:!0,multiple:!0,muted:!0,open:!0,readonly:!0,required:!0,reversed:!0,scoped:!0,seamless:!0,selected:!0,typemustmatch:!0},s={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",o=0;o<e.length;o++){var i=e[o];"root"===i.type?n+=l(i.children,t):r.isTag(i)?n+=c(i,t):i.type===r.Directive?n+=u(i):i.type===r.Comment?n+=h(i):i.type===r.CDATA?n+=d(i):n+=p(i,t)}return n};function c(e,t){"svg"===e.name&&(t={decodeEntities:t.decodeEntities,xmlMode:!0});var n="<"+e.name,r=function(e,t){if(e){var n,r="";for(var s in e)r&&(r+=" "),!(n=e[s])&&i[s]?r+=s:r+=s+'="'+(t.decodeEntities?o.encodeXML(n):n)+'"';return r}}(e.attribs,t);return r&&(n+=" "+r),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=l(e.children,t)),a[e.name]&&!t.xmlMode||(n+="</"+e.name+">")):n+="/>",n}function u(e){return"<"+e.data+">"}function p(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in s||(n=o.encodeXML(n)),n}function d(e){return"<![CDATA["+e.children[0].data+"]]>"}function h(e){return"\x3c!--"+e.data+"--\x3e"}},5836:e=>{e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},7500:e=>{e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},7533:(e,t,n)=>{var r=n(7500),o=/\s+/g,i=n(765),s=n(1617);function a(e,t,n){"object"==typeof e?(n=t,t=e,e=null):"function"==typeof t&&(n=t,t=l),this._callback=e,this._options=t||l,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};a.prototype.onparserinit=function(e){this._parser=e},a.prototype.onreset=function(){a.call(this,this._callback,this._options,this._elementCB)},a.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},a.prototype._handleCallback=a.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},a.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},a.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var n in t="tag"===e.type?Object.create(s):Object.create(i),e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},a.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},a.prototype.onopentag=function(e,t){var n={type:"script"===e?r.Script:"style"===e?r.Style:r.Tag,name:e,attribs:t,children:[]},o=this._createDomElement(n);this._addDomElement(o),this._tagStack.push(o)},a.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===r.Text)n?t.data=(t.data+e).replace(o," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===r.Text)n?t.data=(t.data+e).replace(o," "):t.data+=e;else{n&&(e=e.replace(o," "));var i=this._createDomElement({data:e,type:r.Text});this._addDomElement(i)}},a.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===r.Comment)t.data+=e;else{var n={data:e,type:r.Comment},o=this._createDomElement(n);this._addDomElement(o),this._tagStack.push(o)}},a.prototype.oncdatastart=function(){var e={children:[{data:"",type:r.Text}],type:r.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},a.prototype.oncommentend=a.prototype.oncdataend=function(){this._tagStack.pop()},a.prototype.onprocessinginstruction=function(e,t){var n=this._createDomElement({name:e,data:t,type:r.Directive});this._addDomElement(n)},e.exports=a},1617:(e,t,n)=>{var r=n(765),o=e.exports=Object.create(r),i={tagName:"name"};Object.keys(i).forEach((function(e){var t=i[e];Object.defineProperty(o,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},765:e=>{var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return r[this.type]||r.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},r={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(e){var r=n[e];Object.defineProperty(t,e,{get:function(){return this[r]||null},set:function(e){return this[r]=e,e}})}))},5027:(e,t,n)=>{var r=e.exports;[n(3778),n(221),n(8018),n(2795),n(2724),n(4754)].forEach((function(e){Object.keys(e).forEach((function(t){r[t]=e[t].bind(r)}))}))},4754:(e,t)=>{t.removeSubsets=function(e){for(var t,n,r,o=e.length;--o>-1;){for(t=n=e[o],e[o]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(o,1);break}n=n.parent}r&&(e[o]=t)}return e};var n=t.compareDocumentPosition=function(e,t){var n,r,o,i,s,a,l=[],c=[];if(e===t)return 0;for(n=e;n;)l.unshift(n),n=n.parent;for(n=t;n;)c.unshift(n),n=n.parent;for(a=0;l[a]===c[a];)a++;return 0===a?1:(o=(r=l[a-1]).children,i=l[a],s=c[a],o.indexOf(i)>o.indexOf(s)?r===t?20:4:r===e?10:2)};t.uniqueSort=function(e){var t,r,o=e.length;for(e=e.slice();--o>-1;)t=e[o],(r=e.indexOf(t))>-1&&r<o&&e.splice(o,1);return e.sort((function(e,t){var r=n(e,t);return 2&r?-1:4&r?1:0})),e}},2724:(e,t,n)=>{var r=n(7500),o=t.isTag=r.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n))if("tag_name"===n){if(!o(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(o(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1;return!0};var i={tag_name:function(e){return"function"==typeof e?function(t){return o(t)&&e(t.name)}:"*"===e?o:function(t){return o(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!o(t)&&e(t.data)}:function(t){return!o(t)&&t.data===e}}};function s(e,t){return"function"==typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function a(e,t){return function(n){return e(n)||t(n)}}t.getElements=function(e,t,n,r){var o=Object.keys(e).map((function(t){var n=e[t];return t in i?i[t](n):s(t,n)}));return 0===o.length?[]:this.filter(o.reduce(a),t,n,r)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(s("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(i.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(i.tag_type(e),t,n,r)}},8018:(e,t)=>{t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var o=n.children;o.splice(o.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},2795:(e,t,n)=>{var r=n(7500).isTag;function o(e,t,n,r){for(var i,s=[],a=0,l=t.length;a<l&&!(e(t[a])&&(s.push(t[a]),--r<=0))&&(i=t[a].children,!(n&&i&&i.length>0&&(i=o(e,i,n,r),s=s.concat(i),(r-=i.length)<=0)));a++);return s}e.exports={filter:function(e,t,n,r){return Array.isArray(t)||(t=[t]),"number"==typeof r&&isFinite(r)||(r=1/0),o(e,t,!1!==n,r)},find:o,findOneChild:function(e,t){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return t[n];return null},findOne:function e(t,n){for(var o=null,i=0,s=n.length;i<s&&!o;i++)r(n[i])&&(t(n[i])?o=n[i]:n[i].children.length>0&&(o=e(t,n[i].children)));return o},existsOne:function e(t,n){for(var o=0,i=n.length;o<i;o++)if(r(n[o])&&(t(n[o])||n[o].children.length>0&&e(t,n[o].children)))return!0;return!1},findAll:function(e,t){for(var n=[],o=t.slice();o.length;){var i=o.shift();r(i)&&(i.children&&i.children.length>0&&o.unshift.apply(o,i.children),e(i)&&n.push(i))}return n}}},3778:(e,t,n)=>{var r=n(7500),o=n(7478),i=r.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return o(e,t)})).join(""):""},getOuterHTML:o,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):i(t)?"br"===t.name?"\n":e(t.children):t.type===r.CDATA?e(t.children):t.type===r.Text?t.data:""}}},221:(e,t)=>{var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},2407:(e,t,n)=>{var r=n(7857),o=n(5385);t.decode=function(e,t){return(!t||t<=0?o.XML:o.HTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?o.XML:o.HTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?r.XML:r.HTML)(e)},t.encodeXML=r.XML,t.encodeHTML4=t.encodeHTML5=t.encodeHTML=r.HTML,t.decodeXML=t.decodeXMLStrict=o.XML,t.decodeHTML4=t.decodeHTML5=t.decodeHTML=o.HTML,t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=o.HTMLStrict,t.escape=r.escape},5385:(e,t,n)=>{var r=n(4807),o=n(323),i=n(1929),s=n(939),a=c(i),l=c(r);function c(e){var t=Object.keys(e).join("|"),n=d(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}var u=function(){for(var e=Object.keys(o).sort(p),t=Object.keys(r).sort(p),n=0,i=0;n<t.length;n++)e[i]===t[n]?(t[n]+=";?",i++):t[n]+=";";var s=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=d(r);function l(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(s,l)}}();function p(e,t){return e<t?1:-1}function d(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?s(parseInt(t.substr(3),16)):s(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}e.exports={XML:a,HTML:u,HTMLStrict:l}},939:(e,t,n)=>{var r=n(4338);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in r&&(e=r[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},7857:(e,t,n)=>{var r=a(n(1929)),o=l(r);t.XML=h(r,o);var i=a(n(4807)),s=l(i);function a(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function l(e){var t=[],n=[];return Object.keys(e).forEach((function(e){1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.HTML=h(i,s);var c=/[^\0-\x7F]/g,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function p(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function d(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function h(e,t){function n(t){return e[t]}return function(e){return e.replace(t,n).replace(u,d).replace(c,p)}}var f=l(r);t.escape=function(e){return e.replace(f,p).replace(u,d).replace(c,p)}},3236: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(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}m(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var o,i,s,c;if(a(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=l(e))>0&&s.length>o&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){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 p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=u.bind(r);return o.listener=n,r.wrapFn=o,o}function d(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):f(o,o.length)}function h(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 f(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){r.once&&e.removeEventListener(t,o),n(i)}))}}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 l(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 a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=f(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},i.prototype.addListener=function(e,t){return c(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return c(this,e,t,!0)},i.prototype.once=function(e,t){return a(t),this.on(e,p(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,p(this,e,t)),this},i.prototype.removeListener=function(e,t){var n,r,o,i,s;if(a(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 d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},i.prototype.listenerCount=h,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},3882:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(n(4936)),i=r(n(8975)),s=n(6914),a=n(178),l=r(n(6196)),c=r(n(889)),u=r(n(8409)),p=o.default.create;function d(){var e=p();return e.compile=function(t,n){return a.compile(t,n,e)},e.precompile=function(t,n){return a.precompile(t,n,e)},e.AST=i.default,e.Compiler=a.Compiler,e.JavaScriptCompiler=l.default,e.Parser=s.parser,e.parse=s.parse,e.parseWithoutProcessing=s.parseWithoutProcessing,e}var h=d();h.create=d,u.default(h),h.Visitor=c.default,h.default=h,t.default=h,e.exports=t.default},4936:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var i=o(n(9612)),s=r(n(3716)),a=r(n(4680)),l=o(n(6516)),c=o(n(4533)),u=r(n(8409));function p(){var e=new i.HandlebarsEnvironment;return l.extend(e,i),e.SafeString=s.default,e.Exception=a.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var d=p();d.create=p,u.default(d),d.default=d,t.default=d,e.exports=t.default},9612:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=p;var o=n(6516),i=r(n(4680)),s=n(5172),a=n(2147),l=r(n(9001)),c=n(5188);t.VERSION="4.7.8",t.COMPILER_REVISION=8,t.LAST_COMPATIBLE_COMPILER_REVISION=7,t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var u="[object Object]";function p(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},s.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}p.prototype={constructor:p,logger:l.default,log:l.default.log,registerHelper:function(e,t){if(o.toString.call(e)===u){if(t)throw new i.default("Arg not supported with multiple helpers");o.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(o.toString.call(e)===u)o.extend(this.partials,e);else{if(void 0===t)throw new i.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(o.toString.call(e)===u){if(t)throw new i.default("Arg not supported with multiple decorators");o.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var d=l.default.log;t.log=d,t.createFrame=o.createFrame,t.logger=l.default},8975:(e,t)=>{"use strict";t.__esModule=!0;var n={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!n.helpers.scopedId(e)&&!e.depth}}};t.default=n,e.exports=t.default},6914:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.parseWithoutProcessing=c,t.parse=function(e,t){var n=c(e,t);return new i.default(t).accept(n)};var o=r(n(176)),i=r(n(7858)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(8478)),a=n(6516);t.parser=o.default;var l={};function c(e,t){return"Program"===e.type?e:(o.default.yy=l,l.locInfo=function(e){return new l.SourceLocation(t&&t.srcName,e)},o.default.parse(e))}a.extend(l,s)},7441:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(6516),o=void 0;function i(e,t,n){if(r.isArray(e)){for(var o=[],i=0,s=e.length;i<s;i++)o.push(t.wrap(e[i],n));return o}return"boolean"==typeof e||"number"==typeof e?e+"":e}function s(e){this.srcFile=e,this.source=[]}o||((o=function(e,t,n,r){this.src="",r&&this.add(r)}).prototype={add:function(e){r.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){r.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),s.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var e=this.empty();return this.each((function(t){e.add([" ",t,"\n"])})),e},each:function(e){for(var t=0,n=this.source.length;t<n;t++)e(this.source[t])},empty:function(){var e=this.currentLocation||{start:{}};return new o(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof o?e:(e=i(e,this,t),new o(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t=this,n=[];Object.keys(e).forEach((function(r){var o=i(e[r],t);"undefined"!==o&&n.push([t.quotedString(r),":",o])}));var r=this.generateList(n);return r.prepend("{"),r.add("}"),r},generateList:function(e){for(var t=this.empty(),n=0,r=e.length;n<r;n++)n&&t.add(","),t.add(i(e[n],this));return t},generateArray:function(e){var t=this.generateList(e);return t.prepend("["),t.add("]"),t}},t.default=s,e.exports=t.default},178:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.Compiler=l,t.precompile=function(e,t,n){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new o.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);"data"in(t=t||{})||(t.data=!0),t.compat&&(t.useDepths=!0);var r=n.parse(e,t),i=(new n.Compiler).compile(r,t);return(new n.JavaScriptCompiler).compile(i,t)},t.compile=function(e,t,n){if(void 0===t&&(t={}),null==e||"string"!=typeof e&&"Program"!==e.type)throw new o.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in(t=i.extend({},t))||(t.data=!0),t.compat&&(t.useDepths=!0);var r=void 0;function s(){var r=n.parse(e,t),o=(new n.Compiler).compile(r,t),i=(new n.JavaScriptCompiler).compile(o,t,void 0,!0);return n.template(i)}function a(e,t){return r||(r=s()),r.call(this,e,t)}return a._setup=function(e){return r||(r=s()),r._setup(e)},a._child=function(e,t,n,o){return r||(r=s()),r._child(e,t,n,o)},a};var o=r(n(4680)),i=n(6516),s=r(n(8975)),a=[].slice;function l(){}function c(e,t){if(e===t)return!0;if(i.isArray(e)&&i.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!c(e[n],t[n]))return!1;return!0}}function u(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}l.prototype={compiler:l,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;n<t;n++){var r=this.opcodes[n],o=e.opcodes[n];if(r.opcode!==o.opcode||!c(r.args,o.args))return!1}for(t=this.children.length,n=0;n<t;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,t){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[],t.knownHelpers=i.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},t.knownHelpers),this.accept(e)},compileProgram:function(e){var t=(new this.compiler).compile(e,this.options),n=this.guid++;return this.usePartial=this.usePartial||t.usePartial,this.children[n]=t,this.useDepths=this.useDepths||t.useDepths,n},accept:function(e){if(!this[e.type])throw new o.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var t=this[e.type](e);return this.sourceNode.shift(),t},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,n=t.length,r=0;r<n;r++)this.accept(t[r]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){u(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var r=this.classifySexpr(e);"helper"===r?this.helperSexpr(e,t,n):"simple"===r?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var t=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,t,void 0),r=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,r.original)},PartialStatement:function(e){this.usePartial=!0;var t=e.program;t&&(t=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new o.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var r=e.name.original,i="SubExpression"===e.name.type;i&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var s=e.indent||"";this.options.preventIndent&&s&&(this.opcode("appendContent",s),s=""),this.opcode("invokePartial",i,r,s),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){u(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var r=e.path,o=r.parts[0],i=null!=t||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),r.strict=!0,this.accept(r),this.opcode("invokeAmbiguous",o,i)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var r=this.setupFullMustacheParams(e,t,n),i=e.path,a=i.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",r.length,a);else{if(this.options.knownHelpersOnly)throw new o.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",r.length,i.original,s.default.helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=s.default.helpers.scopedId(e),r=!e.depth&&!n&&this.blockParamIndex(t);r?this.opcode("lookupBlockParam",r,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,n=0,r=t.length;for(this.opcode("pushHash");n<r;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:a.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=s.default.helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),r=!n&&s.default.helpers.helperExpression(e),o=!n&&(r||t);if(o&&!r){var i=e.path.parts[0],a=this.options;a.knownHelpers[i]?r=!0:a.knownHelpersOnly&&(o=!1)}return r?"helper":o?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;t<n;t++)this.pushParam(e[t])},pushParam:function(e){var t=null!=e.value?e.value:e.original||"";if(this.stringParams)t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",t,e.type),"SubExpression"===e.type&&this.accept(e);else{if(this.trackIds){var n=void 0;if(!e.parts||s.default.helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var r=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,r)}else(t=e.original||t).replace&&(t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,t)}this.accept(e)}},setupFullMustacheParams:function(e,t,n,r){var o=e.params;return this.pushParams(o),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",r),o},blockParamIndex:function(e){for(var t=0,n=this.options.blockParams.length;t<n;t++){var r=this.options.blockParams[t],o=r&&i.indexOf(r,e);if(r&&o>=0)return[t,o]}}}},8478:(e,t,n)=>{"use strict";t.__esModule=!0,t.SourceLocation=function(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}},t.id=function(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e},t.stripFlags=function(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}},t.stripComment=function(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},t.preparePath=function(e,t,n){n=this.locInfo(n);for(var r=e?"@":"",i=[],s=0,a=0,l=t.length;a<l;a++){var c=t[a].part,u=t[a].original!==c;if(r+=(t[a].separator||"")+c,u||".."!==c&&"."!==c&&"this"!==c)i.push(c);else{if(i.length>0)throw new o.default("Invalid path: "+r,{loc:n});".."===c&&s++}}return{type:"PathExpression",data:e,depth:s,parts:i,original:r,loc:n}},t.prepareMustache=function(e,t,n,r,o,i){var s=r.charAt(3)||r.charAt(2),a="{"!==s&&"&"!==s;return{type:/\*/.test(r)?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:a,strip:o,loc:this.locInfo(i)}},t.prepareRawBlock=function(e,t,n,r){i(e,n);var o={type:"Program",body:t,strip:{},loc:r=this.locInfo(r)};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:r}},t.prepareBlock=function(e,t,n,r,s,a){r&&r.path&&i(e,r);var l=/\*/.test(e.open);t.blockParams=e.blockParams;var c=void 0,u=void 0;if(n){if(l)throw new o.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=r.strip),u=n.strip,c=n.program}return s&&(s=c,c=t,t=s),{type:l?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:c,openStrip:e.strip,inverseStrip:u,closeStrip:r&&r.strip,loc:this.locInfo(a)}},t.prepareProgram=function(e,t){if(!t&&e.length){var n=e[0].loc,r=e[e.length-1].loc;n&&r&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:e,strip:{},loc:t}},t.preparePartialBlock=function(e,t,n,r){return i(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(r)}};var r,o=(r=n(4680))&&r.__esModule?r:{default:r};function i(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var n={loc:e.path.loc};throw new o.default(e.path.original+" doesn't match "+t,n)}}},6196:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(9612),i=r(n(4680)),s=n(6516),a=r(n(7441));function l(e){this.value=e}function c(){}c.prototype={nameLookup:function(e,t){return this.internalNameLookup(e,t)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=o.COMPILER_REVISION;return[e,o.REVISION_CHANGES[e]]},appendToBuffer:function(e,t,n){return s.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,t){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(t),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,t,n,r){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!r,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var o=e.opcodes,s=void 0,a=void 0,l=void 0,c=void 0;for(l=0,c=o.length;l<c;l++)s=o[l],this.source.currentLocation=s.loc,a=a||s.loc,this[s.opcode].apply(this,s.args);if(this.source.currentLocation=a,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new i.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),r?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(r);if(this.isChild)return u;var p={compiler:this.compilerInfo(),main:u};this.decorators&&(p.main_d=this.decorators,p.useDecorators=!0);var d=this.context,h=d.programs,f=d.decorators;for(l=0,c=h.length;l<c;l++)h[l]&&(p[l]=h[l],f[l]&&(p[l+"_d"]=f[l],p.useDecorators=!0));return this.environment.usePartial&&(p.usePartial=!0),this.options.data&&(p.useData=!0),this.useDepths&&(p.useDepths=!0),this.useBlockParams&&(p.useBlockParams=!0),this.options.compat&&(p.compat=!0),r?p.compilerOptions=this.options:(p.compiler=JSON.stringify(p.compiler),this.source.currentLocation={start:{line:1,column:0}},p=this.objectLiteral(p),t.srcName?(p=p.toStringWithSourceMap({file:t.destName})).map=p.map&&p.map.toString():p=p.toString()),p},preamble:function(){this.lastContext=0,this.source=new a.default(this.options.srcName),this.decorators=new a.default(this.options.srcName)},createFunctionContext:function(e){var t=this,n="",r=this.stackVars.concat(this.registers.list);r.length>0&&(n+=", "+r.join(", "));var o=0;Object.keys(this.aliases).forEach((function(e){var r=t.aliases[e];r.children&&r.referenceCount>1&&(n+=", alias"+ ++o+"="+e,r.children[0]="alias"+o)})),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var i=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths");var s=this.mergeSource(n);return e?(i.push(s),Function.apply(this,i)):this.source.wrap(["function(",i.join(","),") {\n ",s,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,r=void 0,o=void 0,i=void 0,s=void 0;return this.source.each((function(e){e.appendToBuffer?(i?e.prepend(" + "):i=e,s=e):(i&&(o?i.prepend("buffer += "):r=!0,s.add(";"),i=s=void 0),o=!0,t||(n=!1))})),n?i?(i.prepend("return "),s.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(r?"":this.initializeBuffer()),i?(i.prepend("return buffer + "),s.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(r?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(e){var t=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack((function(e){return[" != null ? ",e,' : ""']})),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,r){var o=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[o++])),this.resolvePath("context",e,o,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,n)},resolvePath:function(e,t,n,r,o){var i=this;if(this.options.strict||this.options.assumeObjects)this.push(function(e,t,n,r,o){var i=t.popStack(),s=n.length;for(e&&s--;r<s;r++)i=t.nameLookup(i,n[r],o);return e?[t.aliasable("container.strict"),"(",i,", ",t.quotedString(n[r]),", ",JSON.stringify(t.source.currentLocation)," )"]:i}(this.options.strict&&o,this,t,n,e));else for(var s=t.length;n<s;n++)this.replaceStack((function(o){var s=i.nameLookup(o,t[n],e);return r?[" && ",s]:[" != null ? ",s," : ",o]}))},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,t){var n=this.nameLookup("decorators",t,"decorator"),r=this.setupHelperArgs(t,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",r])," || fn;"])},invokeHelper:function(e,t,n){var r=this.popStack(),o=this.setupHelper(e,t),i=[];n&&i.push(o.name),i.push(r),this.options.strict||i.push(this.aliasable("container.hooks.helperMissing"));var s=["(",this.itemsSeparatedBy(i,"||"),")"],a=this.source.functionCall(s,"call",o.callParams);this.push(a)},itemsSeparatedBy:function(e,t){var n=[];n.push(e[0]);for(var r=1;r<e.length;r++)n.push(t,e[r]);return n},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,e,t),o=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",e,"helper")," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,r.paramsInit?["),(",r.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",r.callParams)," : helper))"])},invokePartial:function(e,t,n){var r=[],o=this.setupParams(t,1,r);e&&(t=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?r.unshift(t):r.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),r.push(o),this.push(this.source.functionCall("container.invokePartial","",r))},assignToHash:function(e){var t=this.popStack(),n=void 0,r=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var i=this.hash;n&&(i.contexts[e]=n),r&&(i.types[e]=r),o&&(i.ids[e]=o),i.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:c,compileChildren:function(e,t){for(var n=e.children,r=void 0,o=void 0,i=0,s=n.length;i<s;i++){r=n[i],o=new this.compiler;var a=this.matchExistingProgram(r);if(null==a){this.context.programs.push("");var l=this.context.programs.length;r.index=l,r.name="program"+l,this.context.programs[l]=o.compile(r,t,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=r,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,r.useDepths=this.useDepths,r.useBlockParams=this.useBlockParams}else r.index=a.index,r.name="program"+a.index,this.useDepths=this.useDepths||a.useDepths,this.useBlockParams=this.useBlockParams||a.useBlockParams}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var r=this.context.environments[t];if(r&&r.equals(e))return r}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof l||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new l(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],n=void 0,r=void 0,o=void 0;if(!this.isInline())throw new i.default("replaceStack on non-inline");var s=this.popStack(!0);if(s instanceof l)t=["(",n=[s.value]],o=!0;else{r=!0;var a=this.incrStack();t=["((",this.push(a)," = ",s,")"],n=this.topStack()}var c=e.call(this,n);o||this.popStack(),r&&this.stackSlot--,this.push(t.concat(c,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r instanceof l)this.compileStack.push(r);else{var o=this.incrStack();this.pushSource([o," = ",r,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof l)return n.value;if(!t){if(!this.stackSlot)throw new i.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof l?t.value:t},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):((t=this.aliases[e]=this.source.wrap(e)).aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,n){var r=[];return{params:r,paramsInit:this.setupHelperArgs(t,e,r,n),name:this.nameLookup("helpers",t,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(r)}},setupParams:function(e,t,n){var r={},o=[],i=[],s=[],a=!n,l=void 0;a&&(n=[]),r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var c=this.popStack(),u=this.popStack();(u||c)&&(r.fn=u||"container.noop",r.inverse=c||"container.noop");for(var p=t;p--;)l=this.popStack(),n[p]=l,this.trackIds&&(s[p]=this.popStack()),this.stringParams&&(i[p]=this.popStack(),o[p]=this.popStack());return a&&(r.args=this.source.generateArray(n)),this.trackIds&&(r.ids=this.source.generateArray(s)),this.stringParams&&(r.types=this.source.generateArray(i),r.contexts=this.source.generateArray(o)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(e,t,n,r){var o=this.setupParams(e,t,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),r?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}},function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=c.RESERVED_WORDS={},n=0,r=e.length;n<r;n++)t[e[n]]=!0}(),c.isValidJavaScriptVariableName=function(e){return!c.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t.default=c,e.exports=t.default},176:(e,t)=>{"use strict";t.__esModule=!0;var n=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(e,t,n,r,o,i,s){var a=i.length-1;switch(o){case 1:return i[a-1];case 2:this.$=r.prepareProgram(i[a]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:case 40:case 41:this.$=i[a];break;case 9:this.$={type:"CommentStatement",value:r.stripComment(i[a]),strip:r.stripFlags(i[a],i[a]),loc:r.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:i[a],value:i[a],loc:r.locInfo(this._$)};break;case 11:this.$=r.prepareRawBlock(i[a-2],i[a-1],i[a],this._$);break;case 12:this.$={path:i[a-3],params:i[a-2],hash:i[a-1]};break;case 13:this.$=r.prepareBlock(i[a-3],i[a-2],i[a-1],i[a],!1,this._$);break;case 14:this.$=r.prepareBlock(i[a-3],i[a-2],i[a-1],i[a],!0,this._$);break;case 15:this.$={open:i[a-5],path:i[a-4],params:i[a-3],hash:i[a-2],blockParams:i[a-1],strip:r.stripFlags(i[a-5],i[a])};break;case 16:case 17:this.$={path:i[a-4],params:i[a-3],hash:i[a-2],blockParams:i[a-1],strip:r.stripFlags(i[a-5],i[a])};break;case 18:this.$={strip:r.stripFlags(i[a-1],i[a-1]),program:i[a]};break;case 19:var l=r.prepareBlock(i[a-2],i[a-1],i[a],i[a],!1,this._$),c=r.prepareProgram([l],i[a-1].loc);c.chained=!0,this.$={strip:i[a-2].strip,program:c,chain:!0};break;case 21:this.$={path:i[a-1],strip:r.stripFlags(i[a-2],i[a])};break;case 22:case 23:this.$=r.prepareMustache(i[a-3],i[a-2],i[a-1],i[a-4],r.stripFlags(i[a-4],i[a]),this._$);break;case 24:this.$={type:"PartialStatement",name:i[a-3],params:i[a-2],hash:i[a-1],indent:"",strip:r.stripFlags(i[a-4],i[a]),loc:r.locInfo(this._$)};break;case 25:this.$=r.preparePartialBlock(i[a-2],i[a-1],i[a],this._$);break;case 26:this.$={path:i[a-3],params:i[a-2],hash:i[a-1],strip:r.stripFlags(i[a-4],i[a])};break;case 29:this.$={type:"SubExpression",path:i[a-3],params:i[a-2],hash:i[a-1],loc:r.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:i[a],loc:r.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:r.id(i[a-2]),value:i[a],loc:r.locInfo(this._$)};break;case 32:this.$=r.id(i[a-1]);break;case 35:this.$={type:"StringLiteral",value:i[a],original:i[a],loc:r.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(i[a]),original:Number(i[a]),loc:r.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===i[a],original:"true"===i[a],loc:r.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:r.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:r.locInfo(this._$)};break;case 42:this.$=r.preparePath(!0,i[a],this._$);break;case 43:this.$=r.preparePath(!1,i[a],this._$);break;case 44:i[a-2].push({part:r.id(i[a]),original:i[a],separator:i[a-1]}),this.$=i[a-2];break;case 45:this.$=[{part:r.id(i[a]),original:i[a]}];break;case 46:case 48:case 50:case 58:case 64:case 70:case 78:case 82:case 86:case 90:case 94:this.$=[];break;case 47:case 49:case 51:case 59:case 65:case 71:case 79:case 83:case 87:case 91:case 95:case 99:case 101:i[a-1].push(i[a]);break;case 98:case 100:this.$=[i[a]]}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=[0],n=[null],r=[],o=this.table,i="",s=0,a=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;r.push(c);var u=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var p,d,h,f,m,g,_,y,v,b,w={};;){if(h=t[t.length-1],this.defaultActions[h]?f=this.defaultActions[h]:(null==p&&(b=void 0,"number"!=typeof(b=this.lexer.lex()||1)&&(b=this.symbols_[b]||b),p=b),f=o[h]&&o[h][p]),void 0===f||!f.length||!f[0]){var x="";if(!l){for(g in v=[],o[h])this.terminals_[g]&&g>2&&v.push("'"+this.terminals_[g]+"'");x=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:c,expected:v})}}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+h+", token: "+p);switch(f[0]){case 1:t.push(p),n.push(this.lexer.yytext),r.push(this.lexer.yylloc),t.push(f[1]),p=null,d?(p=d,d=null):(a=this.lexer.yyleng,i=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc,l>0&&l--);break;case 2:if(_=this.productions_[f[1]][1],w.$=n[n.length-_],w._$={first_line:r[r.length-(_||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(_||1)].first_column,last_column:r[r.length-1].last_column},u&&(w._$.range=[r[r.length-(_||1)].range[0],r[r.length-1].range[1]]),void 0!==(m=this.performAction.call(w,i,a,s,this.yy,f[1],n,r)))return m;_&&(t=t.slice(0,-1*_*2),n=n.slice(0,-1*_),r=r.slice(0,-1*_)),t.push(this.productions_[f[1]][0]),n.push(w.$),r.push(w._$),y=o[t[t.length-2]][t[t.length-1]],t.push(y);break;case 3:return!0}}return!0}},t={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t,n,r,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),s=0;s<i.length&&(!(n=this._input.match(this.rules[i[s]]))||t&&!(n[0].length>t[0].length)||(t=n,r=s,this.options.flex));s++);return t?((o=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},options:{},performAction:function(e,t,n,r){function o(e,n){return t.yytext=t.yytext.substring(e,t.yyleng-n+e)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(o(5,9),"END_RAW_BLOCK");case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};function n(){this.yy={}}return e.lexer=t,n.prototype=e,e.Parser=n,new n}();t.default=n,e.exports=t.default},889:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(4680))&&r.__esModule?r:{default:r};function i(){this.parents=[]}function s(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function a(e){s.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function l(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}i.prototype={constructor:i,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&!i.prototype[n.type])throw new o.default('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type);e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new o.default(e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;t<n;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},accept:function(e){if(e){if(!this[e.type])throw new o.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:!1!==t?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:s,Decorator:s,BlockStatement:a,DecoratorBlock:a,PartialStatement:l,PartialBlockStatement:function(e){l.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:s,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t.default=i,e.exports=t.default},7858:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(889))&&r.__esModule?r:{default:r};function i(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function s(e,t,n){void 0===t&&(t=e.length);var r=e[t-1],o=e[t-2];return r?"ContentStatement"===r.type?(o||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function a(e,t,n){void 0===t&&(t=-1);var r=e[t+1],o=e[t+2];return r?"ContentStatement"===r.type?(o||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function l(e,t,n){var r=e[null==t?0:t+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var o=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==o}}function c(e,t,n){var r=e[null==t?e.length-1:t-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var o=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==o,r.leftStripped}}i.prototype=new o.default,i.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var r=e.body,o=0,i=r.length;o<i;o++){var u=r[o],p=this.accept(u);if(p){var d=s(r,o,n),h=a(r,o,n),f=p.openStandalone&&d,m=p.closeStandalone&&h,g=p.inlineStandalone&&d&&h;p.close&&l(r,o,!0),p.open&&c(r,o,!0),t&&g&&(l(r,o),c(r,o)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(r[o-1].original)[1])),t&&f&&(l((u.program||u.inverse).body),c(r,o)),t&&m&&(l(r,o),c((u.inverse||u.program).body))}}return e},i.prototype.BlockStatement=i.prototype.DecoratorBlock=i.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,r=n,o=n;if(n&&n.chained)for(r=n.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var i={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:a(t.body),closeStandalone:s((r||t).body)};if(e.openStrip.close&&l(t.body,null,!0),n){var u=e.inverseStrip;u.open&&c(t.body,null,!0),u.close&&l(r.body,null,!0),e.closeStrip.open&&c(o.body,null,!0),!this.options.ignoreStandalone&&s(t.body)&&a(r.body)&&(c(t.body),l(r.body))}else e.closeStrip.open&&c(t.body,null,!0);return i},i.prototype.Decorator=i.prototype.MustacheStatement=function(e){return e.strip},i.prototype.PartialStatement=i.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t.default=i,e.exports=t.default},2147:(e,t,n)=>{"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){o.default(e)};var r,o=(r=n(5943))&&r.__esModule?r:{default:r}},5943:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(6516);t.default=function(e){e.registerDecorator("inline",(function(e,t,n,o){var i=e;return t.partials||(t.partials={},i=function(o,i){var s=n.partials;n.partials=r.extend({},s,t.partials);var a=e(o,i);return n.partials=s,a}),t.partials[o.args[0]]=o.fn,i}))},e.exports=t.default},4680:(e,t)=>{"use strict";t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(e,t){var o=t&&t.loc,i=void 0,s=void 0,a=void 0,l=void 0;o&&(i=o.start.line,s=o.end.line,a=o.start.column,l=o.end.column,e+=" - "+i+":"+a);for(var c=Error.prototype.constructor.call(this,e),u=0;u<n.length;u++)this[n[u]]=c[n[u]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{o&&(this.lineNumber=i,this.endLineNumber=s,Object.defineProperty?(Object.defineProperty(this,"column",{value:a,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:l,enumerable:!0})):(this.column=a,this.endColumn=l))}catch(e){}}r.prototype=new Error,t.default=r,e.exports=t.default},5172:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){o.default(e),i.default(e),s.default(e),a.default(e),l.default(e),c.default(e),u.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var o=r(n(7922)),i=r(n(7698)),s=r(n(8934)),a=r(n(2628)),l=r(n(2797)),c=r(n(1785)),u=r(n(3183))},7922:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(6516);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,n){var o=n.inverse,i=n.fn;if(!0===t)return i(this);if(!1===t||null==t)return o(this);if(r.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):o(this);if(n.data&&n.ids){var s=r.createFrame(n.data);s.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:s}}return i(t,n)}))},e.exports=t.default},7698:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(6516),i=(r=n(4680))&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new i.default("Must pass iterator to #each");var n,r=t.fn,s=t.inverse,a=0,l="",c=void 0,u=void 0;function p(t,n,i){c&&(c.key=t,c.index=n,c.first=0===n,c.last=!!i,u&&(c.contextPath=u+t)),l+=r(e[t],{data:c,blockParams:o.blockParams([e[t],t],[u+t,null])})}if(t.data&&t.ids&&(u=o.appendContextPath(t.data.contextPath,t.ids[0])+"."),o.isFunction(e)&&(e=e.call(this)),t.data&&(c=o.createFrame(t.data)),e&&"object"==typeof e)if(o.isArray(e))for(var d=e.length;a<d;a++)a in e&&p(a,a,a===e.length-1);else if("function"==typeof Symbol&&e[Symbol.iterator]){for(var h=[],f=e[Symbol.iterator](),m=f.next();!m.done;m=f.next())h.push(m.value);for(d=(e=h).length;a<d;a++)p(a,a,a===e.length-1)}else n=void 0,Object.keys(e).forEach((function(e){void 0!==n&&p(n,a-1),n=e,a++})),void 0!==n&&p(n,a-1,!0);return 0===a&&(l=s(this)),l}))},e.exports=t.default},8934:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(4680))&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default},2628:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(6516),i=(r=n(4680))&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new i.default("#if requires exactly one argument");return o.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||o.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,n){if(2!=arguments.length)throw new i.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))},e.exports=t.default},2797:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),t[0]=o,e.log.apply(e,t)}))},e.exports=t.default},1785:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,n){return e?n.lookupProperty(e,t):e}))},e.exports=t.default},3183:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(6516),i=(r=n(4680))&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new i.default("#with requires exactly one argument");o.isFunction(e)&&(e=e.call(this));var n=t.fn;if(o.isEmpty(e))return t.inverse(this);var r=t.data;return t.data&&t.ids&&((r=o.createFrame(t.data)).contextPath=o.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:r,blockParams:o.blockParams([e],[r&&r.contextPath])})}))},e.exports=t.default},9887:(e,t,n)=>{"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.extend.apply(void 0,[Object.create(null)].concat(t))};var r=n(6516)},5188:(e,t,n)=>{"use strict";t.__esModule=!0,t.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:o.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:o.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,n){return function(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==s[e]&&(s[e]=!0,i.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}("function"==typeof e?t.methods:t.properties,n)},t.resetLoggedProperties=function(){Object.keys(s).forEach((function(e){delete s[e]}))};var r,o=n(9887),i=(r=n(9001))&&r.__esModule?r:{default:r},s=Object.create(null)},1475:(e,t)=>{"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){return"function"!=typeof e?e:function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}}},9001:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(6516),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=r.indexOf(o.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){var t=o.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[t].apply(console,r)}}};t.default=o,e.exports=t.default},8409:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",(function(){return this})),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var t=globalThis.Handlebars;e.noConflict=function(){return globalThis.Handlebars===e&&(globalThis.Handlebars=t),e}},e.exports=t.default},4533:(e,t,n)=>{"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=s.COMPILER_REVISION;if(!(t>=s.LAST_COMPATIBLE_COMPILER_REVISION&&t<=s.COMPILER_REVISION)){if(t<s.LAST_COMPATIBLE_COMPILER_REVISION){var r=s.REVISION_CHANGES[n],o=s.REVISION_CHANGES[t];throw new i.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new i.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},t.template=function(e,t){if(!t)throw new i.default("No environment passed to template");if(!e||!e.main)throw new i.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&7===e.compiler[0],r={strict:function(e,t,n){if(!e||!(t in e))throw new i.default('"'+t+'" not defined in '+e,{loc:n});return r.lookupProperty(e,t)},lookupProperty:function(e,t){var n=e[t];return null==n||Object.prototype.hasOwnProperty.call(e,t)||c.resultIsAllowed(n,r.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,o=0;o<n;o++)if(null!=(e[o]&&r.lookupProperty(e[o],t)))return e[o][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:o.escapeExpression,invokePartial:function(n,r,s){s.hash&&(r=o.extend({},r,s.hash),s.ids&&(s.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,r,s);var a=o.extend({},s,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),l=t.VM.invokePartial.call(this,n,r,a);if(null==l&&t.compile&&(s.partials[s.name]=t.compile(n,e.compilerOptions,t),l=s.partials[s.name](r,a)),null!=l){if(s.indent){for(var c=l.split("\n"),u=0,p=c.length;u<p&&(c[u]||u+1!==p);u++)c[u]=s.indent+c[u];l=c.join("\n")}return l}throw new i.default("The partial "+s.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,o){var i=this.programs[e],s=this.fn(e);return t||o||r||n?i=u(this,e,s,t,n,r,o):i||(i=this.programs[e]=u(this,e,s)),i},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=o.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function p(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=n.data;p._setup(n),!n.partial&&e.useData&&(o=function(e,t){return t&&"root"in t||((t=t?s.createFrame(t):{}).root=e),t}(t,o));var i=void 0,a=e.useBlockParams?[]:void 0;function l(t){return""+e.main(r,t,r.helpers,r.partials,o,a,i)}return e.useDepths&&(i=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(l=d(e.main,l,r,n.depths||[],o,a))(t,n)}return p.isTop=!0,p._setup=function(i){if(i.partial)r.protoAccessControl=i.protoAccessControl,r.helpers=i.helpers,r.partials=i.partials,r.decorators=i.decorators,r.hooks=i.hooks;else{var s=o.extend({},t.helpers,i.helpers);!function(e,t){Object.keys(e).forEach((function(n){var r=e[n];e[n]=function(e,t){var n=t.lookupProperty;return l.wrapHelper(e,(function(e){return o.extend({lookupProperty:n},e)}))}(r,t)}))}(s,r),r.helpers=s,e.usePartial&&(r.partials=r.mergeIfNeeded(i.partials,t.partials)),(e.usePartial||e.useDecorators)&&(r.decorators=o.extend({},t.decorators,i.decorators)),r.hooks={},r.protoAccessControl=c.createProtoAccessControl(i);var u=i.allowCallsToHelperMissing||n;a.moveHelperToHooks(r,"helperMissing",u),a.moveHelperToHooks(r,"blockHelperMissing",u)}},p._child=function(t,n,o,s){if(e.useBlockParams&&!o)throw new i.default("must pass block params");if(e.useDepths&&!s)throw new i.default("must pass parent depths");return u(r,t,e[t],n,0,o,s)},p},t.wrapProgram=u,t.resolvePartial=function(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],e},t.invokePartial=function(e,t,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var a=void 0;if(n.fn&&n.fn!==p&&function(){n.data=s.createFrame(n.data);var e=n.fn;a=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=s.createFrame(n.data),n.data["partial-block"]=r,e(t,n)},e.partials&&(n.partials=o.extend({},n.partials,e.partials))}(),void 0===e&&a&&(e=a),void 0===e)throw new i.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=p;var r,o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(6516)),i=(r=n(4680))&&r.__esModule?r:{default:r},s=n(9612),a=n(5172),l=n(1475),c=n(5188);function u(e,t,n,r,o,i,s){function a(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=s;return!s||t==s[0]||t===e.nullContext&&null===s[0]||(a=[t].concat(s)),n(e,t,e.helpers,e.partials,o.data||r,i&&[o.blockParams].concat(i),a)}return(a=d(n,a,e,s,r,i)).program=t,a.depth=s?s.length:0,a.blockParams=o||0,a}function p(){return""}function d(e,t,n,r,i,s){if(e.decorator){var a={};t=e.decorator(t,a,n,r&&r[0],i,s,r),o.extend(t,a)}return t}},3716:(e,t)=>{"use strict";function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},6516:(e,t)=>{"use strict";t.__esModule=!0,t.extend=s,t.indexOf=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return o.test(e)?e.replace(r,i):e},t.isEmpty=function(e){return!e&&0!==e||!(!c(e)||0!==e.length)},t.createFrame=function(e){var t=s({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},r=/[&<>"'`=]/g,o=/[&<>"'`=]/;function i(e){return n[e]}function s(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var a=Object.prototype.toString;t.toString=a;var l=function(e){return"function"==typeof e};l(/x/)&&(t.isFunction=l=function(e){return"function"==typeof e&&"[object Function]"===a.call(e)}),t.isFunction=l;var c=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===a.call(e)};t.isArray=c},5486:(e,t,n)=>{function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var o=n(8796).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var n=this.events[e].length;1===n?this._cbs[this.events[e][0]]():2===n?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},4516:(e,t,n)=>{var r=n(7533),o=n(5027);function i(e,t){this.init(e,t)}function s(e,t){return o.getElementsByTagName(e,t,!0)}function a(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,n){return o.getText(o.getElementsByTagName(e,t,n,1)).trim()}function c(e,t,n,r,o){var i=l(n,r,o);i&&(e[t]=i)}n(8628)(i,r),i.prototype.init=r;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};i.prototype.onend=function(){var e,t,n={},o=a(u,this.dom);o&&("feed"===o.name?(t=o.children,n.type="atom",c(n,"id","id",t),c(n,"title","title",t),(e=a("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),c(n,"description","subtitle",t),(e=l("updated",t))&&(n.updated=new Date(e)),c(n,"author","email",t,!0),n.items=s("entry",t).map((function(e){var t,n={};return c(n,"id","id",e=e.children),c(n,"title","title",e),(t=a("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=l("summary",e)||l("content",e))&&(n.description=t),(t=l("updated",e))&&(n.pubDate=new Date(t)),n}))):(t=a("channel",o.children).children,n.type=o.name.substr(0,3),n.id="",c(n,"title","title",t),c(n,"link","link",t),c(n,"description","description",t),(e=l("lastBuildDate",t))&&(n.updated=new Date(e)),c(n,"author","managingEditor",t,!0),n.items=s("item",o.children).map((function(e){var t,n={};return c(n,"id","guid",e=e.children),c(n,"title","title",e),c(n,"link","link",e),c(n,"description","description",e),(t=l("pubDate",e))&&(n.pubDate=new Date(t)),n})))),this.dom=n,r.prototype._handleCallback.call(this,o?null:Error("couldn't find root of feed"))},e.exports=i},5193:(e,t,n)=>{var r=n(7097),o={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:o,input:o,output:o,button:o,datalist:o,textarea:o,option:{option:!0},optgroup:{optgroup:!0}},s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},a={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},c=/\s|\//;function u(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(r=this._options.Tokenizer),this._tokenizer=new r(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}n(8628)(u,n(3236).EventEmitter),u.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in i)for(var t;(t=this._stack[this._stack.length-1])in i[e];this.onclosetag(t));!this._options.xmlMode&&e in s||(this._stack.push(e),e in a?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in s&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in a||e in l)&&this._foreignContext.pop(),!this._stack.length||e in s&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(e){var t=e.search(c),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},7466:(e,t,n)=>{function r(e){this._cbs=e||{}}e.exports=r;var o=n(8796).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}}))},6802:(e,t,n)=>{e.exports=o;var r=n(6126);function o(e){r.call(this,new i(this),e)}function i(e){this.scope=e}n(8628)(o,r),o.prototype.readable=!0;var s=n(8796).EVENTS;Object.keys(s).forEach((function(e){if(0===s[e])i.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===s[e])i.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==s[e])throw Error("wrong number of arguments!");i.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}}))},7097:(e,t,n)=>{e.exports=ge;var r=n(939),o=n(4807),i=n(323),s=n(1929),a=0,l=a++,c=a++,u=a++,p=a++,d=a++,h=a++,f=a++,m=a++,g=a++,_=a++,y=a++,v=a++,b=a++,w=a++,x=a++,S=a++,k=a++,E=a++,C=a++,T=a++,P=a++,j=a++,A=a++,I=a++,N=a++,L=a++,B=a++,R=a++,O=a++,M=a++,D=a++,F=a++,q=a++,H=a++,V=a++,z=a++,U=a++,$=a++,W=a++,G=a++,Y=a++,K=a++,J=a++,X=a++,Z=a++,Q=a++,ee=a++,te=a++,ne=a++,re=a++,oe=a++,ie=a++,se=a++,ae=a++,le=a++,ce=0,ue=ce++,pe=ce++,de=ce++;function he(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function fe(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(o){o===r||o===e?this._state=t:(this._state=n,this._index--)}}function me(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=u,this._index--)}}function ge(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ue,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}ge.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=c,this._sectionStart=this._index):this._decodeEntities&&this._special===ue&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=oe,this._sectionStart=this._index)},ge.prototype._stateBeforeTagName=function(e){"/"===e?this._state=d:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ue||he(e)?this._state=l:"!"===e?(this._state=x,this._sectionStart=this._index+1):"?"===e?(this._state=k,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?u:D,this._sectionStart=this._index)},ge.prototype._stateInTagName=function(e){("/"===e||">"===e||he(e))&&(this._emitToken("onopentagname"),this._state=m,this._index--)},ge.prototype._stateBeforeCloseingTagName=function(e){he(e)||(">"===e?this._state=l:this._special!==ue?"s"===e||"S"===e?this._state=F:(this._state=l,this._index--):(this._state=h,this._sectionStart=this._index))},ge.prototype._stateInCloseingTagName=function(e){(">"===e||he(e))&&(this._emitToken("onclosetag"),this._state=f,this._index--)},ge.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},ge.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=p:he(e)||(this._state=g,this._sectionStart=this._index)},ge.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):he(e)||(this._state=m,this._index--)},ge.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||he(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=_,this._index--)},ge.prototype._stateAfterAttributeName=function(e){"="===e?this._state=y:"/"===e||">"===e?(this._cbs.onattribend(),this._state=m,this._index--):he(e)||(this._cbs.onattribend(),this._state=g,this._sectionStart=this._index)},ge.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=v,this._sectionStart=this._index+1):"'"===e?(this._state=b,this._sectionStart=this._index+1):he(e)||(this._state=w,this._sectionStart=this._index,this._index--)},ge.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},ge.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},ge.prototype._stateInAttributeValueNoQuotes=function(e){he(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},ge.prototype._stateBeforeDeclaration=function(e){this._state="["===e?j:"-"===e?E:S},ge.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ge.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ge.prototype._stateBeforeComment=function(e){"-"===e?(this._state=C,this._sectionStart=this._index+1):this._state=S},ge.prototype._stateInComment=function(e){"-"===e&&(this._state=T)},ge.prototype._stateAfterComment1=function(e){this._state="-"===e?P:C},ge.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=C)},ge.prototype._stateBeforeCdata1=fe("C",A,S),ge.prototype._stateBeforeCdata2=fe("D",I,S),ge.prototype._stateBeforeCdata3=fe("A",N,S),ge.prototype._stateBeforeCdata4=fe("T",L,S),ge.prototype._stateBeforeCdata5=fe("A",B,S),ge.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=R,this._sectionStart=this._index+1):(this._state=S,this._index--)},ge.prototype._stateInCdata=function(e){"]"===e&&(this._state=O)},ge.prototype._stateAfterCdata1=function(e){this._state="]"===e?M:R},ge.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=R)},ge.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=q:"t"===e||"T"===e?this._state=J:(this._state=u,this._index--)},ge.prototype._stateBeforeSpecialEnd=function(e){this._special!==pe||"c"!==e&&"C"!==e?this._special!==de||"t"!==e&&"T"!==e?this._state=l:this._state=ee:this._state=$},ge.prototype._stateBeforeScript1=me("R",H),ge.prototype._stateBeforeScript2=me("I",V),ge.prototype._stateBeforeScript3=me("P",z),ge.prototype._stateBeforeScript4=me("T",U),ge.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||he(e))&&(this._special=pe),this._state=u,this._index--},ge.prototype._stateAfterScript1=fe("R",W,l),ge.prototype._stateAfterScript2=fe("I",G,l),ge.prototype._stateAfterScript3=fe("P",Y,l),ge.prototype._stateAfterScript4=fe("T",K,l),ge.prototype._stateAfterScript5=function(e){">"===e||he(e)?(this._special=ue,this._state=h,this._sectionStart=this._index-6,this._index--):this._state=l},ge.prototype._stateBeforeStyle1=me("Y",X),ge.prototype._stateBeforeStyle2=me("L",Z),ge.prototype._stateBeforeStyle3=me("E",Q),ge.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||he(e))&&(this._special=de),this._state=u,this._index--},ge.prototype._stateAfterStyle1=fe("Y",te,l),ge.prototype._stateAfterStyle2=fe("L",ne,l),ge.prototype._stateAfterStyle3=fe("E",re,l),ge.prototype._stateAfterStyle4=function(e){">"===e||he(e)?(this._special=ue,this._state=h,this._sectionStart=this._index-5,this._index--):this._state=l},ge.prototype._stateBeforeEntity=fe("#",ie,se),ge.prototype._stateBeforeNumericEntity=fe("X",le,ae),ge.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?s:o;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},ge.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(i.hasOwnProperty(n))return this._emitPartial(i[n]),void(this._sectionStart+=t+1);t--}},ge.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},ge.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var o=this._buffer.substring(n,this._index),i=parseInt(o,t);this._emitPartial(r(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},ge.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},ge.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},ge.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},ge.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},ge.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===l?this._stateText(e):this._state===c?this._stateBeforeTagName(e):this._state===u?this._stateInTagName(e):this._state===d?this._stateBeforeCloseingTagName(e):this._state===h?this._stateInCloseingTagName(e):this._state===f?this._stateAfterCloseingTagName(e):this._state===p?this._stateInSelfClosingTag(e):this._state===m?this._stateBeforeAttributeName(e):this._state===g?this._stateInAttributeName(e):this._state===_?this._stateAfterAttributeName(e):this._state===y?this._stateBeforeAttributeValue(e):this._state===v?this._stateInAttributeValueDoubleQuotes(e):this._state===b?this._stateInAttributeValueSingleQuotes(e):this._state===w?this._stateInAttributeValueNoQuotes(e):this._state===x?this._stateBeforeDeclaration(e):this._state===S?this._stateInDeclaration(e):this._state===k?this._stateInProcessingInstruction(e):this._state===E?this._stateBeforeComment(e):this._state===C?this._stateInComment(e):this._state===T?this._stateAfterComment1(e):this._state===P?this._stateAfterComment2(e):this._state===j?this._stateBeforeCdata1(e):this._state===A?this._stateBeforeCdata2(e):this._state===I?this._stateBeforeCdata3(e):this._state===N?this._stateBeforeCdata4(e):this._state===L?this._stateBeforeCdata5(e):this._state===B?this._stateBeforeCdata6(e):this._state===R?this._stateInCdata(e):this._state===O?this._stateAfterCdata1(e):this._state===M?this._stateAfterCdata2(e):this._state===D?this._stateBeforeSpecial(e):this._state===F?this._stateBeforeSpecialEnd(e):this._state===q?this._stateBeforeScript1(e):this._state===H?this._stateBeforeScript2(e):this._state===V?this._stateBeforeScript3(e):this._state===z?this._stateBeforeScript4(e):this._state===U?this._stateBeforeScript5(e):this._state===$?this._stateAfterScript1(e):this._state===W?this._stateAfterScript2(e):this._state===G?this._stateAfterScript3(e):this._state===Y?this._stateAfterScript4(e):this._state===K?this._stateAfterScript5(e):this._state===J?this._stateBeforeStyle1(e):this._state===X?this._stateBeforeStyle2(e):this._state===Z?this._stateBeforeStyle3(e):this._state===Q?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===ne?this._stateAfterStyle3(e):this._state===re?this._stateAfterStyle4(e):this._state===oe?this._stateBeforeEntity(e):this._state===ie?this._stateBeforeNumericEntity(e):this._state===se?this._stateInNamedEntity(e):this._state===ae?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},ge.prototype.pause=function(){this._running=!1},ge.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},ge.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},ge.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},ge.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===R||this._state===O||this._state===M?this._cbs.oncdata(e):this._state===C||this._state===T||this._state===P?this._cbs.oncomment(e):this._state!==se||this._xmlMode?this._state!==ae||this._xmlMode?this._state!==le||this._xmlMode?this._state!==u&&this._state!==m&&this._state!==y&&this._state!==_&&this._state!==g&&this._state!==b&&this._state!==v&&this._state!==w&&this._state!==h&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},ge.prototype.reset=function(){ge.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},ge.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},ge.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},ge.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},ge.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},6126:(e,t,n)=>{e.exports=a;var r=n(5193),o=n(2331).Writable,i=n(5493).I,s=n(2266).Buffer;function a(e,t){var n=this._parser=new r(e,t),s=this._decoder=new i;o.call(this,{decodeStrings:!1}),this.once("finish",(function(){n.end(s.end())}))}n(8628)(a,o),a.prototype._write=function(e,t,n){e instanceof s&&(e=this._decoder.write(e)),this._parser.write(e),n()}},8796:(e,t,n)=>{var r=n(5193),o=n(7533);function i(t,n){return delete e.exports[t],e.exports[t]=n,n}e.exports={Parser:r,Tokenizer:n(7097),ElementType:n(7500),DomHandler:o,get FeedHandler(){return i("FeedHandler",n(4516))},get Stream(){return i("Stream",n(6802))},get WritableStream(){return i("WritableStream",n(6126))},get ProxyHandler(){return i("ProxyHandler",n(7466))},get DomUtils(){return i("DomUtils",n(5027))},get CollectingHandler(){return i("CollectingHandler",n(5486))},DefaultHandler:o,get RssHandler(){return i("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var n=new o(t);return new r(n,t).end(e),n.dom},parseFeed:function(t,n){var o=new e.exports.FeedHandler(n);return new r(o,n).end(t),o.dom},createDomStream:function(e,t,n){var i=new o(e,t,n);return new r(i,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},6287:(e,t)=>{t.read=function(e,t,n,r,o){var i,s,a=8*o-r-1,l=(1<<a)-1,c=l>>1,u=-7,p=n?o-1:0,d=n?-1:1,h=e[t+p];for(p+=d,i=h&(1<<-u)-1,h>>=-u,u+=a;u>0;i=256*i+e[t+p],p+=d,u-=8);for(s=i&(1<<-u)-1,i>>=-u,u+=r;u>0;s=256*s+e[t+p],p+=d,u-=8);if(0===i)i=1-c;else{if(i===l)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),i-=c}return(h?-1:1)*s*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var s,a,l,c=8*i-o-1,u=(1<<c)-1,p=u>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(s++,l/=2),s+p>=u?(a=0,s=u):s+p>=1?(a=(t*l-1)*Math.pow(2,o),s+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,o),s=0));o>=8;e[n+h]=255&a,h+=f,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;e[n+h]=255&s,h+=f,s/=256,c-=8);e[n+h-f]|=128*m}},8628: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}}},6870:(e,t,n)=>{"use strict";var r=n(6701);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},3108:(e,t,n)=>{e.exports=n(6870)()},6701:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8363:(e,t,n)=>{"use strict";var r=n(1609);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Object.prototype.hasOwnProperty,s=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,a={},l={};function c(e){return!!i.call(l,e)||!i.call(a,e)&&(s.test(e)?l[e]=!0:(a[e]=!0,!1))}function u(e,t,n,r,o,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new u(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new u(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new u(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new u(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){p[e]=new u(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new u(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new u(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new u(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new u(e,5,!1,e.toLowerCase(),null,!1,!1)}));var d=/[\-:]([a-z])/g;function h(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(d,h);p[t]=new u(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(d,h);p[t]=new u(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(d,h);p[t]=new u(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new u(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new u("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new u(e,1,!1,e.toLowerCase(),null,!0,!0)}));var f={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(f).forEach((function(e){m.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),f[t]=f[e]}))}));var g=/["'&<>]/;function _(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=g.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var y=/([A-Z])/g,v=/^ms-/,b=Array.isArray;function w(e,t){return{insertionMode:e,selectedValue:t}}var x=new Map;function S(e,t,n){if("object"!=typeof n)throw Error(o(62));for(var r in t=!0,n)if(i.call(n,r)){var s=n[r];if(null!=s&&"boolean"!=typeof s&&""!==s){if(0===r.indexOf("--")){var a=_(r);s=_((""+s).trim())}else{a=r;var l=x.get(a);void 0!==l||(l=_(a.replace(y,"-$1").toLowerCase().replace(v,"-ms-")),x.set(a,l)),a=l,s="number"==typeof s?0===s||i.call(f,r)?""+s:s+"px":_((""+s).trim())}t?(t=!1,e.push(' style="',a,":",s)):e.push(";",a,":",s)}}t||e.push('"')}function k(e,t,n,r){switch(n){case"style":return void S(e,t,r);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=p.hasOwnProperty(n)?p[n]:null)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=t.attributeName,t.type){case 3:r&&e.push(" ",n,'=""');break;case 4:!0===r?e.push(" ",n,'=""'):!1!==r&&e.push(" ",n,'="',_(r),'"');break;case 5:isNaN(r)||e.push(" ",n,'="',_(r),'"');break;case 6:!isNaN(r)&&1<=r&&e.push(" ",n,'="',_(r),'"');break;default:t.sanitizeURL&&(r=""+r),e.push(" ",n,'="',_(r),'"')}}else if(c(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(" ",n,'="',_(r),'"')}}function E(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(""+t)}}function C(e,t,n,r){e.push(j(n));var o,s=n=null;for(o in t)if(i.call(t,o)){var a=t[o];if(null!=a)switch(o){case"children":n=a;break;case"dangerouslySetInnerHTML":s=a;break;default:k(e,r,o,a)}}return e.push(">"),E(e,s,n),"string"==typeof n?(e.push(_(n)),null):n}var T=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,P=new Map;function j(e){var t=P.get(e);if(void 0===t){if(!T.test(e))throw Error(o(65,e));t="<"+e,P.set(e,t)}return t}function A(e,t,n){if(e.push('\x3c!--$?--\x3e<template id="'),null===n)throw Error(o(395));return e.push(n),e.push('"></template>')}var I=/[<\u2028\u2029]/g;function N(e){return JSON.stringify(e).replace(I,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}function L(e,t,n,r){return n.generateStaticMarkup?(e.push(_(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(_(t)),e=!0),e)}var B=Object.assign,R=Symbol.for("react.element"),O=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),H=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),G=Symbol.for("react.scope"),Y=Symbol.for("react.debug_trace_mode"),K=Symbol.for("react.legacy_hidden"),J=Symbol.for("react.default_value"),X=Symbol.iterator;function Z(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case M:return"Fragment";case O:return"Portal";case F:return"Profiler";case D:return"StrictMode";case z:return"Suspense";case U:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case H:return(e.displayName||"Context")+".Consumer";case q:return(e._context.displayName||"Context")+".Provider";case V:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case $:return null!==(t=e.displayName||null)?t:Z(e.type)||"Memo";case W:t=e._payload,e=e._init;try{return Z(e(t))}catch(e){}}return null}var Q={};function ee(e,t){if(!(e=e.contextTypes))return Q;var n,r={};for(n in e)r[n]=t[n];return r}var te=null;function ne(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));ne(e,n)}t.context._currentValue2=t.value}}function re(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&re(e)}function oe(e){var t=e.parent;null!==t&&oe(t),e.context._currentValue2=e.value}function ie(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?ne(e,t):ie(e,t)}function se(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?ne(e,n):se(e,n),t.context._currentValue2=t.value}function ae(e){var t=te;t!==e&&(null===t?oe(e):null===e?re(t):t.depth===e.depth?ne(t,e):t.depth>e.depth?ie(t,e):se(t,e),te=e)}var le={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function ce(e,t,n,r){var o=void 0!==e.state?e.state:null;e.updater=le,e.props=n,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context="object"==typeof s&&null!==s?s._currentValue2:r,"function"==typeof(s=t.getDerivedStateFromProps)&&(o=null==(s=s(n,o))?o:B({},o,s),e.state=o),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&le.enqueueReplaceState(e,e.state,null),null!==i.queue&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&1===t.length)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];null!=(a="function"==typeof a?a.call(e,i,n,r):a)&&(o?(o=!1,i=B({},i,a)):B(i,a))}e.state=i}else i.queue=null}var ue={id:1,overflow:""};function pe(e,t,n){var r=e.id;e=e.overflow;var o=32-de(r)-1;r&=~(1<<o),n+=1;var i=32-de(t)+o;if(30<i){var s=o-o%5;return i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,{id:1<<32-de(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var de=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(he(e)/fe|0)|0},he=Math.log,fe=Math.LN2,me="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ge=null,_e=null,ye=null,ve=null,be=!1,we=!1,xe=0,Se=null,ke=0;function Ee(){if(null===ge)throw Error(o(321));return ge}function Ce(){if(0<ke)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function Te(){return null===ve?null===ye?(be=!1,ye=ve=Ce()):(be=!0,ve=ye):null===ve.next?(be=!1,ve=ve.next=Ce()):(be=!0,ve=ve.next),ve}function Pe(){_e=ge=null,we=!1,ye=null,ke=0,ve=Se=null}function je(e,t){return"function"==typeof t?t(e):t}function Ae(e,t,n){if(ge=Ee(),ve=Te(),be){var r=ve.queue;if(t=r.dispatch,null!==Se&&void 0!==(n=Se.get(r))){Se.delete(r),r=ve.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return ve.memoizedState=r,[r,t]}return[ve.memoizedState,t]}return e=e===je?"function"==typeof t?t():t:void 0!==n?n(t):t,ve.memoizedState=e,e=(e=ve.queue={last:null,dispatch:null}).dispatch=Ne.bind(null,ge,e),[ve.memoizedState,e]}function Ie(e,t){if(ge=Ee(),t=void 0===t?null:t,null!==(ve=Te())){var n=ve.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!me(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),ve.memoizedState=[e,t],e}function Ne(e,t,n){if(25<=ke)throw Error(o(301));if(e===ge)if(we=!0,e={action:n,next:null},null===Se&&(Se=new Map),void 0===(n=Se.get(t)))Se.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Le(){throw Error(o(394))}function Be(){}var Re={readContext:function(e){return e._currentValue2},useContext:function(e){return Ee(),e._currentValue2},useMemo:Ie,useReducer:Ae,useRef:function(e){ge=Ee();var t=(ve=Te()).memoizedState;return null===t?(e={current:e},ve.memoizedState=e):t},useState:function(e){return Ae(je,e)},useInsertionEffect:Be,useLayoutEffect:function(){},useCallback:function(e,t){return Ie((function(){return e}),t)},useImperativeHandle:Be,useEffect:Be,useDebugValue:Be,useDeferredValue:function(e){return Ee(),e},useTransition:function(){return Ee(),[!1,Le]},useId:function(){var e=_e.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-de(e)-1)).toString(32)+t;var n=Oe;if(null===n)throw Error(o(404));return t=xe++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Ee(),t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()}},Oe=null,Me=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function De(e){return console.error(e),null}function Fe(){}function qe(e,t,n,r,o,i,s,a){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var l={node:t,ping:function(){var t=e.pingedTasks;t.push(l),1===t.length&&tt(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(l),l}function He(e,t,n,r,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function Ve(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function ze(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function Ue(e,t,n,r,o){for(ge={},_e=t,xe=0,e=n(r,o);we;)we=!1,xe=0,ke+=1,ve=null,e=n(r,o);return Pe(),e}function $e(e,t,n,r){var i=n.render(),s=r.childContextTypes;if(null!=s){var a=t.legacyContext;if("function"!=typeof n.getChildContext)r=a;else{for(var l in n=n.getChildContext())if(!(l in s))throw Error(o(108,Z(r)||"Unknown",l));r=B({},a,n)}t.legacyContext=r,Ye(e,t,i),t.legacyContext=a}else Ye(e,t,i)}function We(e,t){if(e&&e.defaultProps){for(var n in t=B({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function Ge(e,t,n,s,a){if("function"==typeof n)if(n.prototype&&n.prototype.isReactComponent){a=ee(n,t.legacyContext);var l=n.contextType;ce(l=new n(s,"object"==typeof l&&null!==l?l._currentValue2:a),n,s,a),$e(e,t,l,n)}else{a=Ue(e,t,n,s,l=ee(n,t.legacyContext));var u=0!==xe;if("object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof)ce(a,n,s,l),$e(e,t,a,n);else if(u){s=t.treeContext,t.treeContext=pe(s,1,0);try{Ye(e,t,a)}finally{t.treeContext=s}}else Ye(e,t,a)}else{if("string"!=typeof n){switch(n){case K:case Y:case D:case F:case M:case U:return void Ye(e,t,s.children);case G:throw Error(o(343));case z:e:{n=t.blockedBoundary,a=t.blockedSegment,l=s.fallback,s=s.children;var p={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:u=new Set,errorDigest:null},d=He(0,a.chunks.length,p,a.formatContext,!1,!1);a.children.push(d),a.lastPushedText=!1;var h=He(0,0,null,a.formatContext,!1,!1);h.parentFlushed=!0,t.blockedBoundary=p,t.blockedSegment=h;try{if(Je(e,t,s),e.responseState.generateStaticMarkup||h.lastPushedText&&h.textEmbedded&&h.chunks.push("\x3c!-- --\x3e"),h.status=1,Qe(p,h),0===p.pendingTasks)break e}catch(t){h.status=4,p.forceClientRender=!0,p.errorDigest=Ve(e,t)}finally{t.blockedBoundary=n,t.blockedSegment=a}t=qe(e,l,n,d,u,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof n&&null!==n)switch(n.$$typeof){case V:if(s=Ue(e,t,n.render,s,a),0!==xe){n=t.treeContext,t.treeContext=pe(n,1,0);try{Ye(e,t,s)}finally{t.treeContext=n}}else Ye(e,t,s);return;case $:return void Ge(e,t,n=n.type,s=We(n,s),a);case q:if(a=s.children,n=n._context,s=s.value,l=n._currentValue2,n._currentValue2=s,te=s={parent:u=te,depth:null===u?0:u.depth+1,context:n,parentValue:l,value:s},t.context=s,Ye(e,t,a),null===(e=te))throw Error(o(403));return s=e.parentValue,e.context._currentValue2=s===J?e.context._defaultValue:s,e=te=e.parent,void(t.context=e);case H:return void Ye(e,t,s=(s=s.children)(n._currentValue2));case W:return void Ge(e,t,n=(a=n._init)(n._payload),s=We(n,s),void 0)}throw Error(o(130,null==n?n:typeof n,""))}switch(l=function(e,t,n,s,a){switch(t){case"select":e.push(j("select"));var l=null,u=null;for(f in n)if(i.call(n,f)){var p=n[f];if(null!=p)switch(f){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;case"defaultValue":case"value":break;default:k(e,s,f,p)}}return e.push(">"),E(e,u,l),l;case"option":u=a.selectedValue,e.push(j("option"));var d=p=null,h=null,f=null;for(l in n)if(i.call(n,l)){var m=n[l];if(null!=m)switch(l){case"children":p=m;break;case"selected":h=m;break;case"dangerouslySetInnerHTML":f=m;break;case"value":d=m;default:k(e,s,l,m)}}if(null!=u)if(n=null!==d?""+d:function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(p),b(u)){for(s=0;s<u.length;s++)if(""+u[s]===n){e.push(' selected=""');break}}else""+u===n&&e.push(' selected=""');else h&&e.push(' selected=""');return e.push(">"),E(e,f,p),p;case"textarea":for(p in e.push(j("textarea")),f=u=l=null,n)if(i.call(n,p)&&null!=(d=n[p]))switch(p){case"children":f=d;break;case"value":l=d;break;case"defaultValue":u=d;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:k(e,s,p,d)}if(null===l&&null!==u&&(l=u),e.push(">"),null!=f){if(null!=l)throw Error(o(92));if(b(f)&&1<f.length)throw Error(o(93));l=""+f}return"string"==typeof l&&"\n"===l[0]&&e.push("\n"),null!==l&&e.push(_(""+l)),null;case"input":for(u in e.push(j("input")),d=f=p=l=null,n)if(i.call(n,u)&&null!=(h=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"defaultChecked":d=h;break;case"defaultValue":p=h;break;case"checked":f=h;break;case"value":l=h;break;default:k(e,s,u,h)}return null!==f?k(e,s,"checked",f):null!==d&&k(e,s,"checked",d),null!==l?k(e,s,"value",l):null!==p&&k(e,s,"value",p),e.push("/>"),null;case"menuitem":for(var g in e.push(j("menuitem")),n)if(i.call(n,g)&&null!=(l=n[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:k(e,s,g,l)}return e.push(">"),null;case"title":for(m in e.push(j("title")),l=null,n)if(i.call(n,m)&&null!=(u=n[m]))switch(m){case"children":l=u;break;case"dangerouslySetInnerHTML":throw Error(o(434));default:k(e,s,m,u)}return e.push(">"),l;case"listing":case"pre":for(d in e.push(j(t)),u=l=null,n)if(i.call(n,d)&&null!=(p=n[d]))switch(d){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;default:k(e,s,d,p)}if(e.push(">"),null!=u){if(null!=l)throw Error(o(60));if("object"!=typeof u||!("__html"in u))throw Error(o(61));null!=(n=u.__html)&&("string"==typeof n&&0<n.length&&"\n"===n[0]?e.push("\n",n):e.push(""+n))}return"string"==typeof l&&"\n"===l[0]&&e.push("\n"),l;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var y in e.push(j(t)),n)if(i.call(n,y)&&null!=(l=n[y]))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,t));default:k(e,s,y,l)}return e.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return C(e,n,t,s);case"html":return 0===a.insertionMode&&e.push("<!DOCTYPE html>"),C(e,n,t,s);default:if(-1===t.indexOf("-")&&"string"!=typeof n.is)return C(e,n,t,s);for(h in e.push(j(t)),u=l=null,n)if(i.call(n,h)&&null!=(p=n[h]))switch(h){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;case"style":S(e,s,p);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:c(h)&&"function"!=typeof p&&"symbol"!=typeof p&&e.push(" ",h,'="',_(p),'"')}return e.push(">"),E(e,u,l),l}}((a=t.blockedSegment).chunks,n,s,e.responseState,a.formatContext),a.lastPushedText=!1,u=a.formatContext,a.formatContext=function(e,t,n){switch(t){case"select":return w(1,null!=n.value?n.value:n.defaultValue);case"svg":return w(2,null);case"math":return w(3,null);case"foreignObject":return w(1,null);case"table":return w(4,null);case"thead":case"tbody":case"tfoot":return w(5,null);case"colgroup":return w(7,null);case"tr":return w(6,null)}return 4<=e.insertionMode||0===e.insertionMode?w(1,null):e}(u,n,s),Je(e,t,l),a.formatContext=u,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:a.chunks.push("</",n,">")}a.lastPushedText=!1}}function Ye(e,t,n){if(t.node=n,"object"==typeof n&&null!==n){switch(n.$$typeof){case R:return void Ge(e,t,n.type,n.props,n.ref);case O:throw Error(o(257));case W:var r=n._init;return void Ye(e,t,n=r(n._payload))}if(b(n))return void Ke(e,t,n);if((r=null===n||"object"!=typeof n?null:"function"==typeof(r=X&&n[X]||n["@@iterator"])?r:null)&&(r=r.call(n))){if(!(n=r.next()).done){var i=[];do{i.push(n.value),n=r.next()}while(!n.done);Ke(e,t,i)}return}throw e=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"==typeof n?(r=t.blockedSegment).lastPushedText=L(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText):"number"==typeof n&&((r=t.blockedSegment).lastPushedText=L(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function Ke(e,t,n){for(var r=n.length,o=0;o<r;o++){var i=t.treeContext;t.treeContext=pe(i,r,o);try{Je(e,t,n[o])}finally{t.treeContext=i}}}function Je(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return Ye(e,t,n)}catch(l){if(Pe(),"object"!=typeof l||null===l||"function"!=typeof l.then)throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,ae(i),l;n=l;var s=t.blockedSegment,a=He(0,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=qe(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,ae(i)}}function Xe(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,et(this,t,e)}function Ze(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,null===r?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.push(null))):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=void 0===n?Error(o(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach((function(e){return Ze(e,t,n)})),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(r=t.onAllReady)())}function Qe(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Qe(e,n)}else e.completedSegments.push(t)}function et(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=Fe,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&Qe(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Xe,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(Qe(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function tt(e){if(2!==e.status){var t=te,n=Me.current;Me.current=Re;var r=Oe;Oe=e.responseState;try{var o,i=e.pingedTasks;for(o=0;o<i.length;o++){var s=i[o],a=e,l=s.blockedSegment;if(0===l.status){ae(s.context);try{Ye(a,s,s.node),a.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("\x3c!-- --\x3e"),s.abortSet.delete(s),l.status=1,et(a,s.blockedBoundary,l)}catch(e){if(Pe(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var c=s.ping;e.then(c,c)}else{s.abortSet.delete(s),l.status=4;var u=s.blockedBoundary,p=e,d=Ve(a,p);null===u?ze(a,p):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=d,u.parentFlushed&&a.clientRenderedBoundaries.push(u))),a.allPendingTasks--,0===a.allPendingTasks&&(0,a.onAllReady)()}}}}i.splice(0,o),null!==e.destination&&at(e,e.destination)}catch(t){Ve(e,t),ze(e,t)}finally{Oe=r,Me.current=n,n===Re&&ae(t)}}}function nt(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var i=!0;r=n.chunks;var s=0;n=n.children;for(var a=0;a<n.length;a++){for(i=n[a];s<i.index;s++)t.push(r[s]);i=rt(e,t,i)}for(;s<r.length-1;s++)t.push(r[s]);return s<r.length&&(i=t.push(r[s])),i;default:throw Error(o(390))}}function rt(e,t,n){var r=n.boundary;if(null===r)return nt(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)return e.responseState.generateStaticMarkup||(r=r.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),r&&(t.push(' data-dgst="'),r=_(r),t.push(r),t.push('"')),t.push("></template>")),nt(e,t,n),!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e");if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var i=e.responseState,s=i.nextSuspenseID++;return i=i.boundaryPrefix+s.toString(16),r=r.id=i,A(t,e.responseState,r),nt(e,t,n),t.push("\x3c!--/$--\x3e")}if(r.byteSize>e.progressiveChunkSize)return r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),A(t,e.responseState,r.id),nt(e,t,n),t.push("\x3c!--/$--\x3e");if(e.responseState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(n=r.completedSegments).length)throw Error(o(391));return rt(e,t,n[0]),!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function ot(e,t,n){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error(o(397))}}(t,e.responseState,n.formatContext,n.id),rt(e,t,n),function(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(o(397))}}(t,n.formatContext)}function it(e,t,n){for(var r=n.completedSegments,i=0;i<r.length;i++)st(e,t,n,r[i]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),null===r)throw Error(o(395));return n=n.toString(16),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(n),t.push('")<\/script>')}function st(e,t,n,r){if(2===r.status)return!0;var i=r.id;if(-1===i){if(-1===(r.id=n.rootSegmentID))throw Error(o(392));return ot(e,t,r)}return ot(e,t,r),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t.push('")<\/script>')}function at(e,t){try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){rt(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)t.push(r[n]);n<r.length&&t.push(r[n])}var i,s=e.clientRenderedBoundaries;for(i=0;i<s.length;i++){var a=s[i];r=t;var l=e.responseState,c=a.id,u=a.errorDigest,p=a.errorMessage,d=a.errorComponentStack;if(r.push(l.startInlineScript),l.sentClientRenderFunction?r.push('$RX("'):(l.sentClientRenderFunction=!0,r.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),null===c)throw Error(o(395));if(r.push(c),r.push('"'),u||p||d){r.push(",");var h=N(u||"");r.push(h)}if(p||d){r.push(",");var f=N(p||"");r.push(f)}if(d){r.push(",");var m=N(d);r.push(m)}if(!r.push(")<\/script>"))return e.destination=null,i++,void s.splice(0,i)}s.splice(0,i);var g=e.completedBoundaries;for(i=0;i<g.length;i++)if(!it(e,t,g[i]))return e.destination=null,i++,void g.splice(0,i);g.splice(0,i);var _=e.partialBoundaries;for(i=0;i<_.length;i++){var y=_[i];e:{s=e,a=t;var v=y.completedSegments;for(l=0;l<v.length;l++)if(!st(s,a,y,v[l])){l++,v.splice(0,l);var b=!1;break e}v.splice(0,l),b=!0}if(!b)return e.destination=null,i++,void _.splice(0,i)}_.splice(0,i);var w=e.completedBoundaries;for(i=0;i<w.length;i++)if(!it(e,t,w[i]))return e.destination=null,i++,void w.splice(0,i);w.splice(0,i)}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.push(null)}}function lt(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return Ze(n,e,t)})),n.clear(),null!==e.destination&&at(e,e.destination)}catch(t){Ve(e,t),ze(e,t)}}function ct(){}function ut(e,t,n,r){var i=!1,s=null,a="",l={push:function(e){return null!==e&&(a+=e),!0},destroy:function(e){i=!0,s=e}},c=!1;if(e=function(e,t,n,r,o,i,s,a,l){var c=[],u=new Set;return(n=He(t={destination:null,responseState:t,progressiveChunkSize:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===o?De:o,onAllReady:Fe,onShellReady:void 0===s?Fe:s,onShellError:Fe,onFatalError:Fe},0,null,n,!1,!1)).parentFlushed=!0,e=qe(t,e,null,n,u,Q,null,ue),c.push(e),t}(e,function(e,t){return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:(t=void 0===t?"":t)+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}(n,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ct,0,(function(){c=!0})),tt(e),lt(e,r),1===e.status)e.status=2,l.destroy(e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=l;try{at(e,l)}catch(t){Ve(e,t),ze(e,t)}}if(i)throw s;if(!c)throw Error(o(426));return a}t.renderToNodeStream=function(){throw Error(o(207))},t.renderToStaticMarkup=function(e,t){return ut(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.renderToStaticNodeStream=function(){throw Error(o(208))},t.renderToString=function(e,t){return ut(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.version="18.3.1"},8157:(e,t,n)=>{"use strict";var r=n(1609);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=null,s=0;function a(e,t){if(0!==t.length)if(512<t.length)0<s&&(e.enqueue(new Uint8Array(i.buffer,0,s)),i=new Uint8Array(512),s=0),e.enqueue(t);else{var n=i.length-s;n<t.length&&(0===n?e.enqueue(i):(i.set(t.subarray(0,n),s),e.enqueue(i),t=t.subarray(n)),i=new Uint8Array(512),s=0),i.set(t,s),s+=t.length}}function l(e,t){return a(e,t),!0}function c(e){i&&0<s&&(e.enqueue(new Uint8Array(i.buffer,0,s)),i=null,s=0)}var u=new TextEncoder;function p(e){return u.encode(e)}function d(e){return u.encode(e)}function h(e,t){"function"==typeof e.error?e.error(t):e.close()}var f=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},_={};function y(e){return!!f.call(_,e)||!f.call(g,e)&&(m.test(e)?_[e]=!0:(g[e]=!0,!1))}function v(e,t,n,r,o,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var w=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(w,x);b[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(w,x);b[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(w,x);b[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var S={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},k=["Webkit","ms","Moz","O"];Object.keys(S).forEach((function(e){k.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),S[t]=S[e]}))}));var E=/["'&<>]/;function C(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=E.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var T=/([A-Z])/g,P=/^ms-/,j=Array.isArray,A=d("<script>"),I=d("<\/script>"),N=d('<script src="'),L=d('<script type="module" src="'),B=d('" async=""><\/script>'),R=/(<\/|<)(s)(cript)/gi;function O(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function M(e,t){return{insertionMode:e,selectedValue:t}}var D=d("\x3c!-- --\x3e");function F(e,t,n,r){return""===t?r:(r&&e.push(D),e.push(p(C(t))),!0)}var q=new Map,H=d(' style="'),V=d(":"),z=d(";");function U(e,t,n){if("object"!=typeof n)throw Error(o(62));for(var r in t=!0,n)if(f.call(n,r)){var i=n[r];if(null!=i&&"boolean"!=typeof i&&""!==i){if(0===r.indexOf("--")){var s=p(C(r));i=p(C((""+i).trim()))}else{s=r;var a=q.get(s);void 0!==a||(a=d(C(s.replace(T,"-$1").toLowerCase().replace(P,"-ms-"))),q.set(s,a)),s=a,i="number"==typeof i?0===i||f.call(S,r)?p(""+i):p(i+"px"):p(C((""+i).trim()))}t?(t=!1,e.push(H,s,V,i)):e.push(z,s,V,i)}}t||e.push(G)}var $=d(" "),W=d('="'),G=d('"'),Y=d('=""');function K(e,t,n,r){switch(n){case"style":return void U(e,t,r);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=b.hasOwnProperty(n)?b[n]:null)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=p(t.attributeName),t.type){case 3:r&&e.push($,n,Y);break;case 4:!0===r?e.push($,n,Y):!1!==r&&e.push($,n,W,p(C(r)),G);break;case 5:isNaN(r)||e.push($,n,W,p(C(r)),G);break;case 6:!isNaN(r)&&1<=r&&e.push($,n,W,p(C(r)),G);break;default:t.sanitizeURL&&(r=""+r),e.push($,n,W,p(C(r)),G)}}else if(y(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push($,p(n),W,p(C(r)),G)}}var J=d(">"),X=d("/>");function Z(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(p(""+t))}}var Q=d(' selected=""');function ee(e,t,n,r){e.push(oe(n));var o,i=n=null;for(o in t)if(f.call(t,o)){var s=t[o];if(null!=s)switch(o){case"children":n=s;break;case"dangerouslySetInnerHTML":i=s;break;default:K(e,r,o,s)}}return e.push(J),Z(e,i,n),"string"==typeof n?(e.push(p(C(n))),null):n}var te=d("\n"),ne=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,re=new Map;function oe(e){var t=re.get(e);if(void 0===t){if(!ne.test(e))throw Error(o(65,e));t=d("<"+e),re.set(e,t)}return t}var ie=d("<!DOCTYPE html>");var se=d("</"),ae=d(">"),le=d('<template id="'),ce=d('"></template>'),ue=d("\x3c!--$--\x3e"),pe=d('\x3c!--$?--\x3e<template id="'),de=d('"></template>'),he=d("\x3c!--$!--\x3e"),fe=d("\x3c!--/$--\x3e"),me=d("<template"),ge=d('"'),_e=d(' data-dgst="');d(' data-msg="'),d(' data-stck="');var ye=d("></template>");function ve(e,t,n){if(a(e,pe),null===n)throw Error(o(395));return a(e,n),l(e,de)}var be=d('<div hidden id="'),we=d('">'),xe=d("</div>"),Se=d('<svg aria-hidden="true" style="display:none" id="'),ke=d('">'),Ee=d("</svg>"),Ce=d('<math aria-hidden="true" style="display:none" id="'),Te=d('">'),Pe=d("</math>"),je=d('<table hidden id="'),Ae=d('">'),Ie=d("</table>"),Ne=d('<table hidden><tbody id="'),Le=d('">'),Be=d("</tbody></table>"),Re=d('<table hidden><tr id="'),Oe=d('">'),Me=d("</tr></table>"),De=d('<table hidden><colgroup id="'),Fe=d('">'),qe=d("</colgroup></table>"),He=d('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ve=d('$RS("'),ze=d('","'),Ue=d('")<\/script>'),$e=d('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),We=d('$RC("'),Ge=d('","'),Ye=d('")<\/script>'),Ke=d('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Je=d('$RX("'),Xe=d('"'),Ze=d(")<\/script>"),Qe=d(","),et=/[<\u2028\u2029]/g;function tt(e){return JSON.stringify(e).replace(et,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}var nt=Object.assign,rt=Symbol.for("react.element"),ot=Symbol.for("react.portal"),it=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),at=Symbol.for("react.profiler"),lt=Symbol.for("react.provider"),ct=Symbol.for("react.context"),ut=Symbol.for("react.forward_ref"),pt=Symbol.for("react.suspense"),dt=Symbol.for("react.suspense_list"),ht=Symbol.for("react.memo"),ft=Symbol.for("react.lazy"),mt=Symbol.for("react.scope"),gt=Symbol.for("react.debug_trace_mode"),_t=Symbol.for("react.legacy_hidden"),yt=Symbol.for("react.default_value"),vt=Symbol.iterator;function bt(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case it:return"Fragment";case ot:return"Portal";case at:return"Profiler";case st:return"StrictMode";case pt:return"Suspense";case dt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ct:return(e.displayName||"Context")+".Consumer";case lt:return(e._context.displayName||"Context")+".Provider";case ut:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case ht:return null!==(t=e.displayName||null)?t:bt(e.type)||"Memo";case ft:t=e._payload,e=e._init;try{return bt(e(t))}catch(e){}}return null}var wt={};function xt(e,t){if(!(e=e.contextTypes))return wt;var n,r={};for(n in e)r[n]=t[n];return r}var St=null;function kt(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));kt(e,n)}t.context._currentValue=t.value}}function Et(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&Et(e)}function Ct(e){var t=e.parent;null!==t&&Ct(t),e.context._currentValue=e.value}function Tt(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?kt(e,t):Tt(e,t)}function Pt(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?kt(e,n):Pt(e,n),t.context._currentValue=t.value}function jt(e){var t=St;t!==e&&(null===t?Ct(e):null===e?Et(t):t.depth===e.depth?kt(t,e):t.depth>e.depth?Tt(t,e):Pt(t,e),St=e)}var At={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function It(e,t,n,r){var o=void 0!==e.state?e.state:null;e.updater=At,e.props=n,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context="object"==typeof s&&null!==s?s._currentValue:r,"function"==typeof(s=t.getDerivedStateFromProps)&&(o=null==(s=s(n,o))?o:nt({},o,s),e.state=o),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&At.enqueueReplaceState(e,e.state,null),null!==i.queue&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&1===t.length)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];null!=(a="function"==typeof a?a.call(e,i,n,r):a)&&(o?(o=!1,i=nt({},i,a)):nt(i,a))}e.state=i}else i.queue=null}var Nt={id:1,overflow:""};function Lt(e,t,n){var r=e.id;e=e.overflow;var o=32-Bt(r)-1;r&=~(1<<o),n+=1;var i=32-Bt(t)+o;if(30<i){var s=o-o%5;return i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,{id:1<<32-Bt(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var Bt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(Rt(e)/Ot|0)|0},Rt=Math.log,Ot=Math.LN2,Mt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Dt=null,Ft=null,qt=null,Ht=null,Vt=!1,zt=!1,Ut=0,$t=null,Wt=0;function Gt(){if(null===Dt)throw Error(o(321));return Dt}function Yt(){if(0<Wt)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function Kt(){return null===Ht?null===qt?(Vt=!1,qt=Ht=Yt()):(Vt=!0,Ht=qt):null===Ht.next?(Vt=!1,Ht=Ht.next=Yt()):(Vt=!0,Ht=Ht.next),Ht}function Jt(){Ft=Dt=null,zt=!1,qt=null,Wt=0,Ht=$t=null}function Xt(e,t){return"function"==typeof t?t(e):t}function Zt(e,t,n){if(Dt=Gt(),Ht=Kt(),Vt){var r=Ht.queue;if(t=r.dispatch,null!==$t&&void 0!==(n=$t.get(r))){$t.delete(r),r=Ht.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ht.memoizedState=r,[r,t]}return[Ht.memoizedState,t]}return e=e===Xt?"function"==typeof t?t():t:void 0!==n?n(t):t,Ht.memoizedState=e,e=(e=Ht.queue={last:null,dispatch:null}).dispatch=en.bind(null,Dt,e),[Ht.memoizedState,e]}function Qt(e,t){if(Dt=Gt(),t=void 0===t?null:t,null!==(Ht=Kt())){var n=Ht.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!Mt(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ht.memoizedState=[e,t],e}function en(e,t,n){if(25<=Wt)throw Error(o(301));if(e===Dt)if(zt=!0,e={action:n,next:null},null===$t&&($t=new Map),void 0===(n=$t.get(t)))$t.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function tn(){throw Error(o(394))}function nn(){}var rn={readContext:function(e){return e._currentValue},useContext:function(e){return Gt(),e._currentValue},useMemo:Qt,useReducer:Zt,useRef:function(e){Dt=Gt();var t=(Ht=Kt()).memoizedState;return null===t?(e={current:e},Ht.memoizedState=e):t},useState:function(e){return Zt(Xt,e)},useInsertionEffect:nn,useLayoutEffect:function(){},useCallback:function(e,t){return Qt((function(){return e}),t)},useImperativeHandle:nn,useEffect:nn,useDebugValue:nn,useDeferredValue:function(e){return Gt(),e},useTransition:function(){return Gt(),[!1,tn]},useId:function(){var e=Ft.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-Bt(e)-1)).toString(32)+t;var n=on;if(null===n)throw Error(o(404));return t=Ut++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Gt(),t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()}},on=null,sn=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function an(e){return console.error(e),null}function ln(){}function cn(e,t,n,r,o,i,s,a){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var l={node:t,ping:function(){var t=e.pingedTasks;t.push(l),1===t.length&&En(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(l),l}function un(e,t,n,r,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function pn(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function dn(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,h(e.destination,t)):(e.status=1,e.fatalError=t)}function hn(e,t,n,r,o){for(Dt={},Ft=t,Ut=0,e=n(r,o);zt;)zt=!1,Ut=0,Wt+=1,Ht=null,e=n(r,o);return Jt(),e}function fn(e,t,n,r){var i=n.render(),s=r.childContextTypes;if(null!=s){var a=t.legacyContext;if("function"!=typeof n.getChildContext)r=a;else{for(var l in n=n.getChildContext())if(!(l in s))throw Error(o(108,bt(r)||"Unknown",l));r=nt({},a,n)}t.legacyContext=r,yn(e,t,i),t.legacyContext=a}else yn(e,t,i)}function mn(e,t){if(e&&e.defaultProps){for(var n in t=nt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function gn(e,t,n,i,s){if("function"==typeof n)if(n.prototype&&n.prototype.isReactComponent){s=xt(n,t.legacyContext);var a=n.contextType;It(a=new n(i,"object"==typeof a&&null!==a?a._currentValue:s),n,i,s),fn(e,t,a,n)}else{s=hn(e,t,n,i,a=xt(n,t.legacyContext));var l=0!==Ut;if("object"==typeof s&&null!==s&&"function"==typeof s.render&&void 0===s.$$typeof)It(s,n,i,a),fn(e,t,s,n);else if(l){i=t.treeContext,t.treeContext=Lt(i,1,0);try{yn(e,t,s)}finally{t.treeContext=i}}else yn(e,t,s)}else{if("string"!=typeof n){switch(n){case _t:case gt:case st:case at:case it:case dt:return void yn(e,t,i.children);case mt:throw Error(o(343));case pt:e:{n=t.blockedBoundary,s=t.blockedSegment,a=i.fallback,i=i.children;var c={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l=new Set,errorDigest:null},u=un(0,s.chunks.length,c,s.formatContext,!1,!1);s.children.push(u),s.lastPushedText=!1;var d=un(0,0,null,s.formatContext,!1,!1);d.parentFlushed=!0,t.blockedBoundary=c,t.blockedSegment=d;try{if(bn(e,t,i),d.lastPushedText&&d.textEmbedded&&d.chunks.push(D),d.status=1,Sn(c,d),0===c.pendingTasks)break e}catch(t){d.status=4,c.forceClientRender=!0,c.errorDigest=pn(e,t)}finally{t.blockedBoundary=n,t.blockedSegment=s}t=cn(e,a,n,u,l,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof n&&null!==n)switch(n.$$typeof){case ut:if(i=hn(e,t,n.render,i,s),0!==Ut){n=t.treeContext,t.treeContext=Lt(n,1,0);try{yn(e,t,i)}finally{t.treeContext=n}}else yn(e,t,i);return;case ht:return void gn(e,t,n=n.type,i=mn(n,i),s);case lt:if(s=i.children,n=n._context,i=i.value,a=n._currentValue,n._currentValue=i,St=i={parent:l=St,depth:null===l?0:l.depth+1,context:n,parentValue:a,value:i},t.context=i,yn(e,t,s),null===(e=St))throw Error(o(403));return i=e.parentValue,e.context._currentValue=i===yt?e.context._defaultValue:i,e=St=e.parent,void(t.context=e);case ct:return void yn(e,t,i=(i=i.children)(n._currentValue));case ft:return void gn(e,t,n=(s=n._init)(n._payload),i=mn(n,i),void 0)}throw Error(o(130,null==n?n:typeof n,""))}switch(a=function(e,t,n,i,s){switch(t){case"select":e.push(oe("select"));var a=null,l=null;for(h in n)if(f.call(n,h)){var c=n[h];if(null!=c)switch(h){case"children":a=c;break;case"dangerouslySetInnerHTML":l=c;break;case"defaultValue":case"value":break;default:K(e,i,h,c)}}return e.push(J),Z(e,l,a),a;case"option":l=s.selectedValue,e.push(oe("option"));var u=c=null,d=null,h=null;for(a in n)if(f.call(n,a)){var m=n[a];if(null!=m)switch(a){case"children":c=m;break;case"selected":d=m;break;case"dangerouslySetInnerHTML":h=m;break;case"value":u=m;default:K(e,i,a,m)}}if(null!=l)if(n=null!==u?""+u:function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(c),j(l)){for(i=0;i<l.length;i++)if(""+l[i]===n){e.push(Q);break}}else""+l===n&&e.push(Q);else d&&e.push(Q);return e.push(J),Z(e,h,c),c;case"textarea":for(c in e.push(oe("textarea")),h=l=a=null,n)if(f.call(n,c)&&null!=(u=n[c]))switch(c){case"children":h=u;break;case"value":a=u;break;case"defaultValue":l=u;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:K(e,i,c,u)}if(null===a&&null!==l&&(a=l),e.push(J),null!=h){if(null!=a)throw Error(o(92));if(j(h)&&1<h.length)throw Error(o(93));a=""+h}return"string"==typeof a&&"\n"===a[0]&&e.push(te),null!==a&&e.push(p(C(""+a))),null;case"input":for(l in e.push(oe("input")),u=h=c=a=null,n)if(f.call(n,l)&&null!=(d=n[l]))switch(l){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"defaultChecked":u=d;break;case"defaultValue":c=d;break;case"checked":h=d;break;case"value":a=d;break;default:K(e,i,l,d)}return null!==h?K(e,i,"checked",h):null!==u&&K(e,i,"checked",u),null!==a?K(e,i,"value",a):null!==c&&K(e,i,"value",c),e.push(X),null;case"menuitem":for(var g in e.push(oe("menuitem")),n)if(f.call(n,g)&&null!=(a=n[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:K(e,i,g,a)}return e.push(J),null;case"title":for(m in e.push(oe("title")),a=null,n)if(f.call(n,m)&&null!=(l=n[m]))switch(m){case"children":a=l;break;case"dangerouslySetInnerHTML":throw Error(o(434));default:K(e,i,m,l)}return e.push(J),a;case"listing":case"pre":for(u in e.push(oe(t)),l=a=null,n)if(f.call(n,u)&&null!=(c=n[u]))switch(u){case"children":a=c;break;case"dangerouslySetInnerHTML":l=c;break;default:K(e,i,u,c)}if(e.push(J),null!=l){if(null!=a)throw Error(o(60));if("object"!=typeof l||!("__html"in l))throw Error(o(61));null!=(n=l.__html)&&("string"==typeof n&&0<n.length&&"\n"===n[0]?e.push(te,p(n)):e.push(p(""+n)))}return"string"==typeof a&&"\n"===a[0]&&e.push(te),a;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var _ in e.push(oe(t)),n)if(f.call(n,_)&&null!=(a=n[_]))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,t));default:K(e,i,_,a)}return e.push(X),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ee(e,n,t,i);case"html":return 0===s.insertionMode&&e.push(ie),ee(e,n,t,i);default:if(-1===t.indexOf("-")&&"string"!=typeof n.is)return ee(e,n,t,i);for(d in e.push(oe(t)),l=a=null,n)if(f.call(n,d)&&null!=(c=n[d]))switch(d){case"children":a=c;break;case"dangerouslySetInnerHTML":l=c;break;case"style":U(e,i,c);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:y(d)&&"function"!=typeof c&&"symbol"!=typeof c&&e.push($,p(d),W,p(C(c)),G)}return e.push(J),Z(e,l,a),a}}((s=t.blockedSegment).chunks,n,i,e.responseState,s.formatContext),s.lastPushedText=!1,l=s.formatContext,s.formatContext=function(e,t,n){switch(t){case"select":return M(1,null!=n.value?n.value:n.defaultValue);case"svg":return M(2,null);case"math":return M(3,null);case"foreignObject":return M(1,null);case"table":return M(4,null);case"thead":case"tbody":case"tfoot":return M(5,null);case"colgroup":return M(7,null);case"tr":return M(6,null)}return 4<=e.insertionMode||0===e.insertionMode?M(1,null):e}(l,n,i),bn(e,t,a),s.formatContext=l,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.chunks.push(se,p(n),ae)}s.lastPushedText=!1}}function yn(e,t,n){if(t.node=n,"object"==typeof n&&null!==n){switch(n.$$typeof){case rt:return void gn(e,t,n.type,n.props,n.ref);case ot:throw Error(o(257));case ft:var r=n._init;return void yn(e,t,n=r(n._payload))}if(j(n))return void vn(e,t,n);if((r=null===n||"object"!=typeof n?null:"function"==typeof(r=vt&&n[vt]||n["@@iterator"])?r:null)&&(r=r.call(n))){if(!(n=r.next()).done){var i=[];do{i.push(n.value),n=r.next()}while(!n.done);vn(e,t,i)}return}throw e=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"==typeof n?(r=t.blockedSegment).lastPushedText=F(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText):"number"==typeof n&&((r=t.blockedSegment).lastPushedText=F(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function vn(e,t,n){for(var r=n.length,o=0;o<r;o++){var i=t.treeContext;t.treeContext=Lt(i,r,o);try{bn(e,t,n[o])}finally{t.treeContext=i}}}function bn(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return yn(e,t,n)}catch(l){if(Jt(),"object"!=typeof l||null===l||"function"!=typeof l.then)throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,jt(i),l;n=l;var s=t.blockedSegment,a=un(0,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=cn(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,jt(i)}}function wn(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,kn(this,t,e)}function xn(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,null===r?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.close())):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=void 0===n?Error(o(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach((function(e){return xn(e,t,n)})),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(r=t.onAllReady)())}function Sn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Sn(e,n)}else e.completedSegments.push(t)}function kn(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=ln,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&Sn(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(wn,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(Sn(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function En(e){if(2!==e.status){var t=St,n=sn.current;sn.current=rn;var r=on;on=e.responseState;try{var o,i=e.pingedTasks;for(o=0;o<i.length;o++){var s=i[o],a=e,l=s.blockedSegment;if(0===l.status){jt(s.context);try{yn(a,s,s.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(D),s.abortSet.delete(s),l.status=1,kn(a,s.blockedBoundary,l)}catch(e){if(Jt(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var c=s.ping;e.then(c,c)}else{s.abortSet.delete(s),l.status=4;var u=s.blockedBoundary,p=e,d=pn(a,p);null===u?dn(a,p):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=d,u.parentFlushed&&a.clientRenderedBoundaries.push(u))),a.allPendingTasks--,0===a.allPendingTasks&&(0,a.onAllReady)()}}}}i.splice(0,o),null!==e.destination&&In(e,e.destination)}catch(t){pn(e,t),dn(e,t)}finally{on=r,sn.current=n,n===rn&&jt(t)}}}function Cn(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,a(t,le),a(t,e.placeholderPrefix),a(t,e=p(r.toString(16))),l(t,ce);case 1:n.status=2;var i=!0;r=n.chunks;var s=0;n=n.children;for(var c=0;c<n.length;c++){for(i=n[c];s<i.index;s++)a(t,r[s]);i=Tn(e,t,i)}for(;s<r.length-1;s++)a(t,r[s]);return s<r.length&&(i=l(t,r[s])),i;default:throw Error(o(390))}}function Tn(e,t,n){var r=n.boundary;if(null===r)return Cn(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)r=r.errorDigest,l(t,he),a(t,me),r&&(a(t,_e),a(t,p(C(r))),a(t,ge)),l(t,ye),Cn(e,t,n);else if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var i=e.responseState,s=i.nextSuspenseID++;i=d(i.boundaryPrefix+s.toString(16)),r=r.id=i,ve(t,e.responseState,r),Cn(e,t,n)}else if(r.byteSize>e.progressiveChunkSize)r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),ve(t,e.responseState,r.id),Cn(e,t,n);else{if(l(t,ue),1!==(n=r.completedSegments).length)throw Error(o(391));Tn(e,t,n[0])}return l(t,fe)}function Pn(e,t,n){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:return a(e,be),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,we);case 2:return a(e,Se),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,ke);case 3:return a(e,Ce),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,Te);case 4:return a(e,je),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,Ae);case 5:return a(e,Ne),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,Le);case 6:return a(e,Re),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,Oe);case 7:return a(e,De),a(e,t.segmentPrefix),a(e,p(r.toString(16))),l(e,Fe);default:throw Error(o(397))}}(t,e.responseState,n.formatContext,n.id),Tn(e,t,n),function(e,t){switch(t.insertionMode){case 0:case 1:return l(e,xe);case 2:return l(e,Ee);case 3:return l(e,Pe);case 4:return l(e,Ie);case 5:return l(e,Be);case 6:return l(e,Me);case 7:return l(e,qe);default:throw Error(o(397))}}(t,n.formatContext)}function jn(e,t,n){for(var r=n.completedSegments,i=0;i<r.length;i++)An(e,t,n,r[i]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,a(t,e.startInlineScript),e.sentCompleteBoundaryFunction?a(t,We):(e.sentCompleteBoundaryFunction=!0,a(t,$e)),null===r)throw Error(o(395));return n=p(n.toString(16)),a(t,r),a(t,Ge),a(t,e.segmentPrefix),a(t,n),l(t,Ye)}function An(e,t,n,r){if(2===r.status)return!0;var i=r.id;if(-1===i){if(-1===(r.id=n.rootSegmentID))throw Error(o(392));return Pn(e,t,r)}return Pn(e,t,r),a(t,(e=e.responseState).startInlineScript),e.sentCompleteSegmentFunction?a(t,Ve):(e.sentCompleteSegmentFunction=!0,a(t,He)),a(t,e.segmentPrefix),a(t,i=p(i.toString(16))),a(t,ze),a(t,e.placeholderPrefix),a(t,i),l(t,Ue)}function In(e,t){i=new Uint8Array(512),s=0;try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){Tn(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)a(t,r[n]);n<r.length&&l(t,r[n])}var u,d=e.clientRenderedBoundaries;for(u=0;u<d.length;u++){var h=d[u];r=t;var f=e.responseState,m=h.id,g=h.errorDigest,_=h.errorMessage,y=h.errorComponentStack;if(a(r,f.startInlineScript),f.sentClientRenderFunction?a(r,Je):(f.sentClientRenderFunction=!0,a(r,Ke)),null===m)throw Error(o(395));if(a(r,m),a(r,Xe),(g||_||y)&&(a(r,Qe),a(r,p(tt(g||"")))),(_||y)&&(a(r,Qe),a(r,p(tt(_||"")))),y&&(a(r,Qe),a(r,p(tt(y)))),!l(r,Ze))return e.destination=null,u++,void d.splice(0,u)}d.splice(0,u);var v=e.completedBoundaries;for(u=0;u<v.length;u++)if(!jn(e,t,v[u]))return e.destination=null,u++,void v.splice(0,u);v.splice(0,u),c(t),i=new Uint8Array(512),s=0;var b=e.partialBoundaries;for(u=0;u<b.length;u++){var w=b[u];e:{d=e,h=t;var x=w.completedSegments;for(f=0;f<x.length;f++)if(!An(d,h,w,x[f])){f++,x.splice(0,f);var S=!1;break e}x.splice(0,f),S=!0}if(!S)return e.destination=null,u++,void b.splice(0,u)}b.splice(0,u);var k=e.completedBoundaries;for(u=0;u<k.length;u++)if(!jn(e,t,k[u]))return e.destination=null,u++,void k.splice(0,u);k.splice(0,u)}finally{c(t),0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.close()}}function Nn(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return xn(n,e,t)})),n.clear(),null!==e.destination&&In(e,e.destination)}catch(t){pn(e,t),dn(e,t)}}t.renderToReadableStream=function(e,t){return new Promise((function(n,r){var o,i,s=new Promise((function(e,t){i=e,o=t})),a=function(e,t,n,r,o,i,s,a,l){var c=[],u=new Set;return(n=un(t={destination:null,responseState:t,progressiveChunkSize:void 0===r?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===o?an:o,onAllReady:void 0===i?ln:i,onShellReady:void 0===s?ln:s,onShellError:void 0===a?ln:a,onFatalError:void 0===l?ln:l},0,null,n,!1,!1)).parentFlushed=!0,e=cn(t,e,null,n,u,wt,null,Nt),c.push(e),t}(e,function(e,t,n,r,o){e=void 0===e?"":e,t=void 0===t?A:d('<script nonce="'+C(t)+'">');var i=[];if(void 0!==n&&i.push(t,p((""+n).replace(R,O)),I),void 0!==r)for(n=0;n<r.length;n++)i.push(N,p(C(r[n])),B);if(void 0!==o)for(r=0;r<o.length;r++)i.push(L,p(C(o[r])),B);return{bootstrapChunks:i,startInlineScript:t,placeholderPrefix:d(e+"P:"),segmentPrefix:d(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),function(e){return M("http://www.w3.org/2000/svg"===e?2:"http://www.w3.org/1998/Math/MathML"===e?3:0,null)}(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,(function(){var e=new ReadableStream({type:"bytes",pull:function(e){if(1===a.status)a.status=2,h(e,a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=e;try{In(a,e)}catch(e){pn(a,e),dn(a,e)}}},cancel:function(){Nn(a)}},{highWaterMark:0});e.allReady=s,n(e)}),(function(e){s.catch((function(){})),r(e)}),o);if(t&&t.signal){var l=t.signal,c=function(){Nn(a,l.reason),l.removeEventListener("abort",c)};l.addEventListener("abort",c)}En(a)}))},t.version="18.3.1"},9124:(e,t,n)=>{"use strict";var r=n(5795);t.H=r.createRoot,r.hydrateRoot},5270:(e,t,n)=>{"use strict";var r,o;r=n(8363),o=n(8157),t.version=r.version,t.renderToString=r.renderToString,t.renderToStaticMarkup=r.renderToStaticMarkup,t.renderToNodeStream=r.renderToNodeStream,t.renderToStaticNodeStream=r.renderToStaticNodeStream,t.renderToReadableStream=o.renderToReadableStream},4194:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.decodeEntities,i=void 0===n||n,s=t.transform,a=t.preprocessNodes,l=(void 0===a?function(e){return e}:a)(r.default.parseDOM(e,{decodeEntities:i}));return(0,o.default)(l,s)};var r=i(n(8796)),o=i(n(1254));function i(e){return e&&e.__esModule?e:{default:e}}},8330:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return o.default[e.type](e,t,n)};var r,o=(r=n(110))&&r.__esModule?r:{default:r}},3366:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},2261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},1012:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},3239:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=void 0;e.children.length>0&&(n=e.children[0].data);var i=(0,o.default)(e.attribs,t);return r.default.createElement("style",i,n)};var r=i(n(1609)),o=i(n(7926));function i(e){return e&&e.__esModule?e:{default:e}}},6268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var l=e.name;if(!(0,a.default)(l))return null;var c=(0,i.default)(e.attribs,t),u=null;return-1===s.default.indexOf(l)&&(u=(0,o.default)(e.children,n)),r.default.createElement(l,c,u)};var r=l(n(1609)),o=l(n(1254)),i=l(n(7926)),s=l(n(1012)),a=l(n(2902));function l(e){return e&&e.__esModule?e:{default:e}}},7351:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.data}},1745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return null}},110:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var o=n(8796),i=c(n(7351)),s=c(n(6268)),a=c(n(3239)),l=c(n(1745));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=(u(r={},o.ElementType.Text,i.default),u(r,o.ElementType.Tag,s.default),u(r,o.ElementType.Style,a.default),u(r,o.ElementType.Directive,l.default),u(r,o.ElementType.Comment,l.default),u(r,o.ElementType.Script,l.default),u(r,o.ElementType.CDATA,l.default),u(r,o.ElementType.Doctype,l.default),r)},4242:(e,t,n)=>{"use strict";n(1254),n(8330),n(8796);var r,o=(r=n(4194))&&r.__esModule?r:{default:r};t.Ay=o.default},1254:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.filter((function(e){return!(0,r.default)(e)})).map((function(e,n){var r=void 0;return"function"!=typeof t||null!==(r=t(e,n))&&!r?(0,o.default)(e,n,t):r}))};var r=i(n(1570)),o=i(n(8330));function i(e){return e&&e.__esModule?e:{default:e}}},7926:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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};t.default=function(e,t){var n=r({},(0,o.default)(e),{key:t});return"string"==typeof n.style||n.style instanceof String?n.style=(0,i.default)(n.style):delete n.style,n};var o=s(n(3440)),i=s(n(8312));function s(e){return e&&e.__esModule?e:{default:e}}},3440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).filter((function(e){return(0,i.default)(e)})).reduce((function(t,n){var r=n.toLowerCase(),i=o.default[r]||r;return t[i]=a(i,e[n]),t}),{})};var r=s(n(3366)),o=s(n(2261)),i=s(n(2902));function s(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t){return r.default.map((function(e){return e.toLowerCase()})).indexOf(e.toLowerCase())>=0&&(t=e),t}},8312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===e?{}:e.split(";").reduce((function(e,t){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(_n=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{!_n&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(t.split(/^([^:]+):/).filter((function(e,t){return t>0})).map((function(e){return e.trim().toLowerCase()})),2),r=n[0],o=n[1];return void 0===o||(e[r=r.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))]=o),e}),{})}},1570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"text"===e.type&&/\r?\n/.test(e.data)&&""===e.data.trim()}},2902:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r.hasOwnProperty(e)||(r[e]=n.test(e)),r[e]};var n=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,r={}},5538:(e,t,n)=>{"use strict";var r=n(1609),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:a.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},6106:(e,t,n)=>{"use strict";e.exports=n(5538)},6859:(e,t,n)=>{var r=n(2266),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=s),s.prototype=Object.create(o.prototype),i(o,s),s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},8255:e=>{e.exports=function(e){if(!window.satismeter){window.satismeter=function(){var e=[];function t(){e.push(arguments)}return t.q=e,t}();var t=document.createElement("script"),n=document.getElementsByTagName("script")[0].parentNode;t.async=1,t.src="https://app.satismeter.com/satismeter.js",n.appendChild(t)}return window.satismeter(e)}},5493:(e,t,n)=>{"use strict";var r=n(6859).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.I=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var o=s(t[r]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--r<n||-2===o?0:(o=s(t[r]))>=0?(o>0&&(e.lastNeed=o-2),o):--r<n||-2===o?0:(o=s(t[r]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},2331:()=>{},3698:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},4338:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},4807:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},323:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},1929:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},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=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(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.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{VERSION:()=>m,after:()=>$t,all:()=>dn,allKeys:()=>Te,any:()=>hn,assign:()=>$e,before:()=>Wt,bind:()=>Lt,bindAll:()=>Ot,chain:()=>jt,chunk:()=>Jn,clone:()=>Ke,collect:()=>sn,compact:()=>Fn,compose:()=>Ut,constant:()=>ce,contains:()=>fn,countBy:()=>jn,create:()=>Ye,debounce:()=>Ht,default:()=>Qn,defaults:()=>We,defer:()=>Ft,delay:()=>Dt,detect:()=>nn,difference:()=>Hn,drop:()=>Mn,each:()=>on,escape:()=>_t,every:()=>dn,extend:()=>Ue,extendOwn:()=>$e,filter:()=>un,find:()=>nn,findIndex:()=>Jt,findKey:()=>Yt,findLastIndex:()=>Xt,findWhere:()=>rn,first:()=>On,flatten:()=>qn,foldl:()=>ln,foldr:()=>cn,forEach:()=>on,functions:()=>Ve,get:()=>et,groupBy:()=>Tn,has:()=>tt,head:()=>On,identity:()=>nt,include:()=>fn,includes:()=>fn,indexBy:()=>Pn,indexOf:()=>en,initial:()=>Rn,inject:()=>ln,intersection:()=>$n,invert:()=>He,invoke:()=>mn,isArguments:()=>se,isArray:()=>re,isArrayBuffer:()=>Y,isBoolean:()=>F,isDataView:()=>ne,isDate:()=>U,isElement:()=>q,isEmpty:()=>ve,isEqual:()=>Ce,isError:()=>W,isFinite:()=>ae,isFunction:()=>X,isMap:()=>Re,isMatch:()=>be,isNaN:()=>le,isNull:()=>M,isNumber:()=>z,isObject:()=>O,isRegExp:()=>$,isSet:()=>Me,isString:()=>V,isSymbol:()=>G,isTypedArray:()=>me,isUndefined:()=>D,isWeakMap:()=>Oe,isWeakSet:()=>De,iteratee:()=>at,keys:()=>ye,last:()=>Dn,lastIndexOf:()=>tn,map:()=>sn,mapObject:()=>ct,matcher:()=>rt,matches:()=>rt,max:()=>vn,memoize:()=>Mt,methods:()=>Ve,min:()=>bn,mixin:()=>Zn,negate:()=>zt,noop:()=>ut,now:()=>ft,object:()=>Yn,omit:()=>Bn,once:()=>Gt,pairs:()=>qe,partial:()=>Nt,partition:()=>An,pick:()=>Ln,pluck:()=>gn,property:()=>ot,propertyOf:()=>pt,random:()=>ht,range:()=>Kn,reduce:()=>ln,reduceRight:()=>cn,reject:()=>pn,rest:()=>Mn,restArguments:()=>R,result:()=>Ct,sample:()=>Sn,select:()=>un,shuffle:()=>kn,size:()=>In,some:()=>hn,sortBy:()=>En,sortedIndex:()=>Zt,tail:()=>Mn,take:()=>On,tap:()=>Je,template:()=>Et,templateSettings:()=>vt,throttle:()=>qt,times:()=>dt,toArray:()=>xn,toPath:()=>Xe,transpose:()=>Wn,unescape:()=>yt,union:()=>Un,uniq:()=>zn,unique:()=>zn,uniqueId:()=>Pt,unzip:()=>Wn,values:()=>Fe,where:()=>yn,without:()=>Vn,wrap:()=>Vt,zip:()=>Gn});var t={};n.r(t),n.d(t,{requestSendingNewsletterPreview:()=>Bl,setContentValidation:()=>Rl,setEditorConfig:()=>Fl,setEditorSettings:()=>Ol,setEditorTheme:()=>Ml,setEditorUrls:()=>Dl,setEmailPost:()=>Il,setEmailPostType:()=>Nl,setTemplateToPost:()=>Ll,togglePreviewModal:()=>jl,updateSendPreviewEmail:()=>Al});var r={};n.r(r),n.d(r,{canUserEditGlobalEmailStyles:()=>rc,canUserEditTemplates:()=>Zl,getBlockPatternsForEmailTemplate:()=>Xl,getContentValidation:()=>gc,getCurrentTemplate:()=>tc,getCurrentTemplateContent:()=>nc,getEditedEmailContent:()=>Kl,getEditedPostTemplate:()=>ec,getEmailPostId:()=>sc,getEmailPostType:()=>ac,getEmailTemplates:()=>ic,getGlobalEmailStylesPost:()=>oc,getGlobalStylesPostId:()=>fc,getInitialEditorSettings:()=>lc,getPaletteColors:()=>cc,getPersonalizationTagsList:()=>pc,getPreviewState:()=>uc,getSentEmailEditorPosts:()=>Jl,getStyles:()=>dc,getTheme:()=>hc,getUrls:()=>mc,hasEdits:()=>Wl,hasEmptyContent:()=>Gl,isEmailSent:()=>Yl,isFeatureActive:()=>$l});const o=window.wp.hooks,i=window.wp.i18n,s=window.wp.data,a=window.wp.coreData,l=window.wp.editor,c=window.wp.plugins,u={},p={add:function(e,t){u[e]=t},t:function(e){return u[e]||'TRANSLATION "%1$s" NOT FOUND'.replace("%1$s",e)},all:function(){return u}},d=window.moment;var h=n.n(d);const f={version:.1,options:{},defaults:{offset:0,format:"F j, Y H:i:s"},init:function(e){const t=e||{};return void 0===t.offset&&void 0!==window.mailpoet_date_offset&&(t.offset="string"==typeof window.mailpoet_date_offset?parseFloat(window.mailpoet_date_offset):window.mailpoet_date_offset),void 0===t.format&&void 0!==window.mailpoet_datetime_format&&(t.format=window.mailpoet_datetime_format),this.options={...this.defaults,...t},this},format:function(e,t){const n=t||{};let r;return this.init(n),r=h().utc(e),this.options.offset&&(r=r.utcOffset(this.options.offset)),r.format(this.convertFormat(this.options.format))},toDate:function(e){return h().utc(e).toDate()},short:function(e){return this.format(e,{format:window.mailpoet_date_format||"F j, Y"})},full:function(e){return this.format(e,{format:window.mailpoet_datetime_format||"F j, Y H:i:s"})},time:function(e){return this.format(e,{format:window.mailpoet_time_format||"H:i:s"})},datetimeString:function(e){return this.format(e,{format:"Y-m-d H:i:s"})},toGmtDatetimeString:function(e){return this.format(e,{format:"Y-m-d H:i:s",offset:-1*parseFloat(window.mailpoet_date_offset||"0")})},convertFormat:function(e){let t,n,r;if(!e||e.length<=0)return e;const o={d:"DD",D:"ddd",j:"D",l:"dddd",N:"E",S:"o",w:"e",z:"DDD",W:"W",F:"MMMM",m:"MM",M:"MMM",n:"M",t:"",L:"",o:"YYYY",Y:"YYYY",y:"YY",a:"a",A:"A",B:"",g:"h",G:"H",h:"hh",H:"HH",i:"mm",s:"ss",u:"SSS",e:"zz",I:"",O:"",P:"",T:"",Z:"",c:"",r:"",U:"X"},i=[];for(t=!1,n=0,r="";e.charAt(n);n+=1)r=e.charAt(n),!0===t?(i.push(`[${r}]`),t=!1):"\\"===r?t=!0:void 0!==o[r]?i.push(o[r]):i.push(`[${r}]`);return i.join("")},isInFuture:(e,t)=>h().utc(e).isAfter(t,"s"),isInPast:(e,t)=>h().utc(e).isBefore(t,"s")};var m="1.13.6",g="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},_=Array.prototype,y=Object.prototype,v="undefined"!=typeof Symbol?Symbol.prototype:null,b=_.push,w=_.slice,x=y.toString,S=y.hasOwnProperty,k="undefined"!=typeof ArrayBuffer,E="undefined"!=typeof DataView,C=Array.isArray,T=Object.keys,P=Object.create,j=k&&ArrayBuffer.isView,A=isNaN,I=isFinite,N=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B=Math.pow(2,53)-1;function R(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function O(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function M(e){return null===e}function D(e){return void 0===e}function F(e){return!0===e||!1===e||"[object Boolean]"===x.call(e)}function q(e){return!(!e||1!==e.nodeType)}function H(e){var t="[object "+e+"]";return function(e){return x.call(e)===t}}const V=H("String"),z=H("Number"),U=H("Date"),$=H("RegExp"),W=H("Error"),G=H("Symbol"),Y=H("ArrayBuffer");var K=H("Function"),J=g.document&&g.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof J&&(K=function(e){return"function"==typeof e||!1});const X=K,Z=H("Object");var Q=E&&Z(new DataView(new ArrayBuffer(8))),ee="undefined"!=typeof Map&&Z(new Map),te=H("DataView");const ne=Q?function(e){return null!=e&&X(e.getInt8)&&Y(e.buffer)}:te,re=C||H("Array");function oe(e,t){return null!=e&&S.call(e,t)}var ie=H("Arguments");!function(){ie(arguments)||(ie=function(e){return oe(e,"callee")})}();const se=ie;function ae(e){return!G(e)&&I(e)&&!isNaN(parseFloat(e))}function le(e){return z(e)&&A(e)}function ce(e){return function(){return e}}function ue(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=B}}function pe(e){return function(t){return null==t?void 0:t[e]}}const de=pe("byteLength"),he=ue(de);var fe=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const me=k?function(e){return j?j(e)&&!ne(e):he(e)&&fe.test(x.call(e))}:ce(!1),ge=pe("length");function _e(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return!0===t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=L.length,r=e.constructor,o=X(r)&&r.prototype||y,i="constructor";for(oe(e,i)&&!t.contains(i)&&t.push(i);n--;)(i=L[n])in e&&e[i]!==o[i]&&!t.contains(i)&&t.push(i)}function ye(e){if(!O(e))return[];if(T)return T(e);var t=[];for(var n in e)oe(e,n)&&t.push(n);return N&&_e(e,t),t}function ve(e){if(null==e)return!0;var t=ge(e);return"number"==typeof t&&(re(e)||V(e)||se(e))?0===t:0===ge(ye(e))}function be(e,t){var n=ye(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var s=n[i];if(t[s]!==o[s]||!(s in o))return!1}return!0}function we(e){return e instanceof we?e:this instanceof we?void(this._wrapped=e):new we(e)}function xe(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,de(e))}we.VERSION=m,we.prototype.value=function(){return this._wrapped},we.prototype.valueOf=we.prototype.toJSON=we.prototype.value,we.prototype.toString=function(){return String(this._wrapped)};var Se="[object DataView]";function ke(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&Ee(e,t,n,r)}function Ee(e,t,n,r){e instanceof we&&(e=e._wrapped),t instanceof we&&(t=t._wrapped);var o=x.call(e);if(o!==x.call(t))return!1;if(Q&&"[object Object]"==o&&ne(e)){if(!ne(t))return!1;o=Se}switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return v.valueOf.call(e)===v.valueOf.call(t);case"[object ArrayBuffer]":case Se:return Ee(xe(e),xe(t),n,r)}var i="[object Array]"===o;if(!i&&me(e)){if(de(e)!==de(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,a=t.constructor;if(s!==a&&!(X(s)&&s instanceof s&&X(a)&&a instanceof a)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var l=(n=n||[]).length;l--;)if(n[l]===e)return r[l]===t;if(n.push(e),r.push(t),i){if((l=e.length)!==t.length)return!1;for(;l--;)if(!ke(e[l],t[l],n,r))return!1}else{var c,u=ye(e);if(l=u.length,ye(t).length!==l)return!1;for(;l--;)if(!oe(t,c=u[l])||!ke(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0}function Ce(e,t){return ke(e,t)}function Te(e){if(!O(e))return[];var t=[];for(var n in e)t.push(n);return N&&_e(e,t),t}function Pe(e){var t=ge(e);return function(n){if(null==n)return!1;var r=Te(n);if(ge(r))return!1;for(var o=0;o<t;o++)if(!X(n[e[o]]))return!1;return e!==Le||!X(n[je])}}var je="forEach",Ae=["clear","delete"],Ie=["get","has","set"],Ne=Ae.concat(je,Ie),Le=Ae.concat(Ie),Be=["add"].concat(Ae,je,"has");const Re=ee?Pe(Ne):H("Map"),Oe=ee?Pe(Le):H("WeakMap"),Me=ee?Pe(Be):H("Set"),De=H("WeakSet");function Fe(e){for(var t=ye(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function qe(e){for(var t=ye(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r}function He(e){for(var t={},n=ye(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function Ve(e){var t=[];for(var n in e)X(e[n])&&t.push(n);return t.sort()}function ze(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],s=e(i),a=s.length,l=0;l<a;l++){var c=s[l];t&&void 0!==n[c]||(n[c]=i[c])}return n}}const Ue=ze(Te),$e=ze(ye),We=ze(Te,!0);function Ge(e){if(!O(e))return{};if(P)return P(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Ye(e,t){var n=Ge(e);return t&&$e(n,t),n}function Ke(e){return O(e)?re(e)?e.slice():Ue({},e):e}function Je(e,t){return t(e),e}function Xe(e){return re(e)?e:[e]}function Ze(e){return we.toPath(e)}function Qe(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function et(e,t,n){var r=Qe(e,Ze(t));return D(r)?n:r}function tt(e,t){for(var n=(t=Ze(t)).length,r=0;r<n;r++){var o=t[r];if(!oe(e,o))return!1;e=e[o]}return!!n}function nt(e){return e}function rt(e){return e=$e({},e),function(t){return be(t,e)}}function ot(e){return e=Ze(e),function(t){return Qe(t,e)}}function it(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function st(e,t,n){return null==e?nt:X(e)?it(e,t,n):O(e)&&!re(e)?rt(e):ot(e)}function at(e,t){return st(e,t,1/0)}function lt(e,t,n){return we.iteratee!==at?we.iteratee(e,t):st(e,t,n)}function ct(e,t,n){t=lt(t,n);for(var r=ye(e),o=r.length,i={},s=0;s<o;s++){var a=r[s];i[a]=t(e[a],a,e)}return i}function ut(){}function pt(e){return null==e?ut:function(t){return et(e,t)}}function dt(e,t,n){var r=Array(Math.max(0,e));t=it(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r}function ht(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}we.toPath=Xe,we.iteratee=at;const ft=Date.now||function(){return(new Date).getTime()};function mt(e){var t=function(t){return e[t]},n="(?:"+ye(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}const gt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},_t=mt(gt),yt=mt(He(gt)),vt=we.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var bt=/(.)^/,wt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},xt=/\\|'|\r|\n|\u2028|\u2029/g;function St(e){return"\\"+wt[e]}var kt=/^\s*(\w|\$)+\s*$/;function Et(e,t,n){!t&&n&&(t=n),t=We({},t,we.templateSettings);var r=RegExp([(t.escape||bt).source,(t.interpolate||bt).source,(t.evaluate||bt).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,(function(t,n,r,s,a){return i+=e.slice(o,a).replace(xt,St),o=a+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":s&&(i+="';\n"+s+"\n__p+='"),t})),i+="';\n";var s,a=t.variable;if(a){if(!kt.test(a))throw new Error("variable is not a bare identifier: "+a)}else i="with(obj||{}){\n"+i+"}\n",a="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{s=new Function(a,"_",i)}catch(e){throw e.source=i,e}var l=function(e){return s.call(this,e,we)};return l.source="function("+a+"){\n"+i+"}",l}function Ct(e,t,n){var r=(t=Ze(t)).length;if(!r)return X(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=X(i)?i.call(e):i}return e}var Tt=0;function Pt(e){var t=++Tt+"";return e?e+t:t}function jt(e){var t=we(e);return t._chain=!0,t}function At(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=Ge(e.prototype),s=e.apply(i,o);return O(s)?s:i}var It=R((function(e,t){var n=It.placeholder,r=function(){for(var o=0,i=t.length,s=Array(i),a=0;a<i;a++)s[a]=t[a]===n?arguments[o++]:t[a];for(;o<arguments.length;)s.push(arguments[o++]);return At(e,r,this,this,s)};return r}));It.placeholder=we;const Nt=It,Lt=R((function(e,t,n){if(!X(e))throw new TypeError("Bind must be called on a function");var r=R((function(o){return At(e,r,t,this,n.concat(o))}));return r})),Bt=ue(ge);function Rt(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var o=r.length,i=0,s=ge(e);i<s;i++){var a=e[i];if(Bt(a)&&(re(a)||se(a)))if(t>1)Rt(a,t-1,n,r),o=r.length;else for(var l=0,c=a.length;l<c;)r[o++]=a[l++];else n||(r[o++]=a)}return r}const Ot=R((function(e,t){var n=(t=Rt(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=Lt(e[r],e)}return e}));function Mt(e,t){var n=function(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return oe(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n}const Dt=R((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),Ft=Nt(Dt,we,1);function qt(e,t,n){var r,o,i,s,a=0;n||(n={});var l=function(){a=!1===n.leading?0:ft(),r=null,s=e.apply(o,i),r||(o=i=null)},c=function(){var c=ft();a||!1!==n.leading||(a=c);var u=t-(c-a);return o=this,i=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),a=c,s=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,u)),s};return c.cancel=function(){clearTimeout(r),a=0,r=o=i=null},c}function Ht(e,t,n){var r,o,i,s,a,l=function(){var c=ft()-o;t>c?r=setTimeout(l,t-c):(r=null,n||(s=e.apply(a,i)),r||(i=a=null))},c=R((function(c){return a=this,i=c,o=ft(),r||(r=setTimeout(l,t),n&&(s=e.apply(a,i))),s}));return c.cancel=function(){clearTimeout(r),r=i=a=null},c}function Vt(e,t){return Nt(t,e)}function zt(e){return function(){return!e.apply(this,arguments)}}function Ut(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function $t(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Wt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}const Gt=Nt(Wt,2);function Yt(e,t,n){t=lt(t,n);for(var r,o=ye(e),i=0,s=o.length;i<s;i++)if(t(e[r=o[i]],r,e))return r}function Kt(e){return function(t,n,r){n=lt(n,r);for(var o=ge(t),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}const Jt=Kt(1),Xt=Kt(-1);function Zt(e,t,n,r){for(var o=(n=lt(n,r,1))(t),i=0,s=ge(e);i<s;){var a=Math.floor((i+s)/2);n(e[a])<o?i=a+1:s=a}return i}function Qt(e,t,n){return function(r,o,i){var s=0,a=ge(r);if("number"==typeof i)e>0?s=i>=0?i:Math.max(i+a,s):a=i>=0?Math.min(i+1,a):i+a+1;else if(n&&i&&a)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=t(w.call(r,s,a),le))>=0?i+s:-1;for(i=e>0?s:a-1;i>=0&&i<a;i+=e)if(r[i]===o)return i;return-1}}const en=Qt(1,Jt,Zt),tn=Qt(-1,Xt);function nn(e,t,n){var r=(Bt(e)?Jt:Yt)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function rn(e,t){return nn(e,rt(t))}function on(e,t,n){var r,o;if(t=it(t,n),Bt(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=ye(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e}function sn(e,t,n){t=lt(t,n);for(var r=!Bt(e)&&ye(e),o=(r||e).length,i=Array(o),s=0;s<o;s++){var a=r?r[s]:s;i[s]=t(e[a],a,e)}return i}function an(e){return function(t,n,r,o){var i=arguments.length>=3;return function(t,n,r,o){var i=!Bt(t)&&ye(t),s=(i||t).length,a=e>0?0:s-1;for(o||(r=t[i?i[a]:a],a+=e);a>=0&&a<s;a+=e){var l=i?i[a]:a;r=n(r,t[l],l,t)}return r}(t,it(n,o,4),r,i)}}const ln=an(1),cn=an(-1);function un(e,t,n){var r=[];return t=lt(t,n),on(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function pn(e,t,n){return un(e,zt(lt(t)),n)}function dn(e,t,n){t=lt(t,n);for(var r=!Bt(e)&&ye(e),o=(r||e).length,i=0;i<o;i++){var s=r?r[i]:i;if(!t(e[s],s,e))return!1}return!0}function hn(e,t,n){t=lt(t,n);for(var r=!Bt(e)&&ye(e),o=(r||e).length,i=0;i<o;i++){var s=r?r[i]:i;if(t(e[s],s,e))return!0}return!1}function fn(e,t,n,r){return Bt(e)||(e=Fe(e)),("number"!=typeof n||r)&&(n=0),en(e,t,n)>=0}const mn=R((function(e,t,n){var r,o;return X(t)?o=t:(t=Ze(t),r=t.slice(0,-1),t=t[t.length-1]),sn(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=Qe(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function gn(e,t){return sn(e,ot(t))}function yn(e,t){return un(e,rt(t))}function vn(e,t,n){var r,o,i=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=Bt(e)?e:Fe(e)).length;a<l;a++)null!=(r=e[a])&&r>i&&(i=r);else t=lt(t,n),on(e,(function(e,n,r){((o=t(e,n,r))>s||o===-1/0&&i===-1/0)&&(i=e,s=o)}));return i}function bn(e,t,n){var r,o,i=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=Bt(e)?e:Fe(e)).length;a<l;a++)null!=(r=e[a])&&r<i&&(i=r);else t=lt(t,n),on(e,(function(e,n,r){((o=t(e,n,r))<s||o===1/0&&i===1/0)&&(i=e,s=o)}));return i}var wn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function xn(e){return e?re(e)?w.call(e):V(e)?e.match(wn):Bt(e)?sn(e,nt):Fe(e):[]}function Sn(e,t,n){if(null==t||n)return Bt(e)||(e=Fe(e)),e[ht(e.length-1)];var r=xn(e),o=ge(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,s=0;s<t;s++){var a=ht(s,i),l=r[s];r[s]=r[a],r[a]=l}return r.slice(0,t)}function kn(e){return Sn(e,1/0)}function En(e,t,n){var r=0;return t=lt(t,n),gn(sn(e,(function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")}function Cn(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=lt(r,o),on(n,(function(t,o){var s=r(t,o,n);e(i,t,s)})),i}}const Tn=Cn((function(e,t,n){oe(e,n)?e[n].push(t):e[n]=[t]})),Pn=Cn((function(e,t,n){e[n]=t})),jn=Cn((function(e,t,n){oe(e,n)?e[n]++:e[n]=1})),An=Cn((function(e,t,n){e[n?0:1].push(t)}),!0);function In(e){return null==e?0:Bt(e)?e.length:ye(e).length}function Nn(e,t,n){return t in n}const Ln=R((function(e,t){var n={},r=t[0];if(null==e)return n;X(r)?(t.length>1&&(r=it(r,t[1])),t=Te(e)):(r=Nn,t=Rt(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o<i;o++){var s=t[o],a=e[s];r(a,s,e)&&(n[s]=a)}return n})),Bn=R((function(e,t){var n,r=t[0];return X(r)?(r=zt(r),t.length>1&&(n=t[1])):(t=sn(Rt(t,!1,!1),String),r=function(e,n){return!fn(t,n)}),Ln(e,r,n)}));function Rn(e,t,n){return w.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function On(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Rn(e,e.length-t)}function Mn(e,t,n){return w.call(e,null==t||n?1:t)}function Dn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:Mn(e,Math.max(0,e.length-t))}function Fn(e){return un(e,Boolean)}function qn(e,t){return Rt(e,t,!1)}const Hn=R((function(e,t){return t=Rt(t,!0,!0),un(e,(function(e){return!fn(t,e)}))})),Vn=R((function(e,t){return Hn(e,t)}));function zn(e,t,n,r){F(t)||(r=n,n=t,t=!1),null!=n&&(n=lt(n,r));for(var o=[],i=[],s=0,a=ge(e);s<a;s++){var l=e[s],c=n?n(l,s,e):l;t&&!n?(s&&i===c||o.push(l),i=c):n?fn(i,c)||(i.push(c),o.push(l)):fn(o,l)||o.push(l)}return o}const Un=R((function(e){return zn(Rt(e,!0,!0))}));function $n(e){for(var t=[],n=arguments.length,r=0,o=ge(e);r<o;r++){var i=e[r];if(!fn(t,i)){var s;for(s=1;s<n&&fn(arguments[s],i);s++);s===n&&t.push(i)}}return t}function Wn(e){for(var t=e&&vn(e,ge).length||0,n=Array(t),r=0;r<t;r++)n[r]=gn(e,r);return n}const Gn=R(Wn);function Yn(e,t){for(var n={},r=0,o=ge(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}function Kn(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o}function Jn(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(w.call(e,r,r+=t));return n}function Xn(e,t){return e._chain?we(t).chain():t}function Zn(e){return on(Ve(e),(function(t){var n=we[t]=e[t];we.prototype[t]=function(){var e=[this._wrapped];return b.apply(e,arguments),Xn(this,n.apply(we,e))}})),we}on(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=_[e];we.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Xn(this,n)}})),on(["concat","join","slice"],(function(e){var t=_[e];we.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Xn(this,e)}}));const Qn=we;var er=Zn(e);er._=er;const tr=er,nr=window.jQuery;var rr=n.n(nr);function or(e){return{errors:[{message:e}]}}rr()(document).on("heartbeat-tick.mailpoet-ajax",((e,t)=>{t.mailpoet_token&&(window.mailpoet_token=t.mailpoet_token)}));const ir={version:.5,options:{},defaults:{url:null,api_version:null,endpoint:null,action:null,token:null,data:{}},post:function(e){return this.request("post",e)},get:function(e){return this.request("get",e)},init:function(e){this.options=rr().extend({},this.defaults,e),null===this.options.url&&(this.options.url=window.ajaxurl),null===this.options.token&&(this.options.token=window.mailpoet_token),null===this.options.timeout&&(this.options.timeout=0)},getParams:function(){return{action:"mailpoet",api_version:this.options.api_version,token:this.options.token,endpoint:this.options.endpoint,method:this.options.action,data:this.options.data||{}}},constructGetUrl:function(e){return this.init(e),`${this.options.url}?${rr().param(this.getParams())}`},request:function(e,t){this.init(t);const n=this.getParams();tr.isObject(n.data)&&(n.data=tr.pick(n.data,(e=>null!==e)));const r=rr().Deferred(),o=Math.ceil(this.options.timeout/1e3),i=rr()[e]({url:this.options.url,data:n,success:null,dataType:"json",timeout:this.options.timeout});return this.options.onRequestStart?.(i),i.then((e=>r.resolve(e)),((e,t)=>{let n;var i,s;"abort"===t?n=t:"timeout"===t?n=or(p.t("ajaxTimeoutErrorMessage").replace("%d",o.toString())):(i=p.t("ajaxFailedErrorMessage"),n=(s=e).responseJSON?s.responseJSON:or(i.replace("%d",s.status))),r.reject(n)})),this.options={},r}};var sr=n(3882),ar=n.n(sr),lr='<svg viewBox="0 0 23 23" xmlns="http://www.w3.org/2000/svg"><path d="M21.454 1.546L1.546 21.454M1.546 1.546L21.454 21.454" stroke-width="3" stroke-linecap="round" /></svg>';const cr={version:.9,initialized:!1,opened:!1,locked:!1,prevFocus:null,subpanels:[],defaults:{title:null,type:null,position:"right",data:{},url:null,method:"get",params:{},template:null,body_template:null,width:"auto",height:"auto",overlay:!1,overlayRender:!0,focus:!0,highlight:null,onInit:null,onSuccess:null,onCancel:null},renderer:"html",options:{},templates:{overlay:'<div id="mailpoet_modal_overlay" class="mailpoet_modal_overlay" style="display:none;"></div>',popup:'<div id="mailpoet_popup" class="mailpoet_popup" tabindex="-1"><div class="mailpoet_popup_wrapper"><a href="javascript:;" id="mailpoet_modal_close" class="mailpoet_modal_close">'+lr+'</a><div id="mailpoet_popup_title" class="mailpoet_popup_title"><h2 class="mailpoet-h2"></h2></div><div class="mailpoet_popup_body clearfix"></div></div></div>',loading:'<div id="mailpoet_loading" class="mailpoet_loading" style="display:none;"><div id="mailpoet_modal_loading_1" class="mailpoet_modal_loading mailpoet_modal_loading_1"></div><div id="mailpoet_modal_loading_2" class="mailpoet_modal_loading mailpoet_modal_loading_2"></div><div id="mailpoet_modal_loading_3" class="mailpoet_modal_loading mailpoet_modal_loading_3"></div></div>',progress:'<div id="mailpoet_modal_progress" class="mailpoet_modal_progress" style="display:none;"><div class="mailpoet_modal_progress_bar" style="width: 0%"></div><div class="mailpoet_modal_progress_text">0%</div></div>',panel:'<div id="mailpoet_panel" class="mailpoet_panel"><a href="javascript:;" id="mailpoet_modal_close" class="mailpoet_modal_close">'+lr+'</a><div class="mailpoet_panel_wrapper" tabindex="-1"><div class="mailpoet_panel_body clearfix"></div></div></div>',subpanel:'<div class="mailpoet_panel_wrapper" tabindex="-1"><div class="mailpoet_panel_body clearfix"></div></div>'},getContentContainer:function(){return rr()(".mailpoet_"+this.options.type+"_body")},setRenderer:function(e){return this.renderer=e,this},compileTemplate:function(e){return"html"===this.renderer?function(){return e}:ar().compile(e)},init:function(e){var t;return!0===this.initialized&&this.close(),this.options=rr().extend({},this.defaults,e),this.setRenderer(this.options.renderer),this.initOverlay(),this.setOverlay(this.options.overlay),null!==this.options.type&&("popup"===this.options.type?(t=this.compileTemplate(this.templates[this.options.type]),rr()("#mailpoet_modal_overlay").append(t(this.options)),rr()("#mailpoet_popup").toggleClass("mailpoet_popup_has_title",Boolean(this.options.title)),rr()("#mailpoet_popup_title h2").html(this.options.title)):"panel"===this.options.type&&rr()("#mailpoet_modal_overlay").after(this.templates[this.options.type]),rr()("#mailpoet_modal_overlay").removeClass("mailpoet_popup_overlay mailpoet_panel_overlay").addClass("mailpoet_"+this.options.type+"_overlay")),void 0!==e.onSuccess&&(this.options.onSuccess=e.onSuccess),void 0!==e.onCancel&&(this.options.onCancel=e.onCancel),this.options.body_template=this.compileTemplate(this.options.template),this.setupEvents(),this.initialized=!0,this},initOverlay:function(){return 0===rr()("#mailpoet_modal_overlay").length&&(rr()("body").append(this.templates.overlay),rr()("#mailpoet_modal_overlay").append(this.templates.loading),rr()("#mailpoet_modal_overlay").append(this.templates.progress)),this},setOverlay:function(e){return!0===e?rr()("#mailpoet_modal_overlay").removeClass("mailpoet_overlay_transparent"):rr()("#mailpoet_modal_overlay").addClass("mailpoet_overlay_transparent"),this},setupEvents:function(){return rr()("#mailpoet_modal_close").on("click",this.cancel.bind(this)),rr()("#mailpoet_modal_overlay").on("click",function(e){"mailpoet_modal_overlay"===e.target.id&&this.cancel()}.bind(this)),rr()(document).on("keyup.mailpoet_modal",function(e){return!1!==this.opened&&(27===e.keyCode&&this.cancel(),!0)}.bind(this)),rr()(window).on("resize.mailpoet_modal",function(){this.setPosition()}.bind(this)),this},removeEvents:function(){return rr()(document).off("keyup.mailpoet_modal"),rr()(window).off("resize.mailpoet_modal"),rr()("#mailpoet_modal_close").off("click"),!0===this.options.overlay&&rr()("#mailpoet_modal_overlay").off("click"),this},lock:function(){return this.locked=!0,this},unlock:function(){return this.locked=!1,this},isLocked:function(){return this.locked},loadTemplate:function(){return this.subpanels.length>0?(rr()(".mailpoet_"+this.options.type+"_wrapper").hide(),rr()("#mailpoet_"+this.options.type).append(this.templates.subpanel),rr()(".mailpoet_"+this.options.type+"_body").last().html(this.subpanels[this.subpanels.length-1].element),this.options.focus&&this.focus()):this.options.element?(rr()(".mailpoet_"+this.options.type+"_body").empty(),rr()(".mailpoet_"+this.options.type+"_body").append(this.options.element)):rr()(".mailpoet_"+this.options.type+"_body").html(this.options.body_template(this.options.data)),this},loadUrl:function(){return"get"===this.options.method?rr().getJSON(this.options.url,function(e){this.options.data=rr().extend({},this.options.data,e),this.loadTemplate(),this.showModal()}.bind(this)):"post"===this.options.method&&rr().post(this.options.url,JSON.stringify(this.options.params),function(e){this.options.data=rr().extend({},this.options.data,e),this.loadTemplate(),this.showModal()}.bind(this),"json"),this},setDimensions:function(){switch(this.options.type){case"popup":this.options.width&&"auto"!==this.options.width&&rr()("#mailpoet_popup").css({width:this.options.width}),this.options.height&&"auto"!==this.options.height&&(rr()("#mailpoet_popup_wrapper").css({height:this.options.height}),rr()("#mailpoet_popup").css({height:this.options.height})),this.options.minWidth&&rr()("#mailpoet_popup").css({minWidth:this.options.minWidth});break;case"panel":"right"===this.options.position?rr()("#mailpoet_panel").css({width:this.options.width,right:0,marginRight:"-"+this.options.width,left:"auto"}):"left"===this.options.position&&rr()("#mailpoet_panel").css({width:this.options.width,left:0,marginLeft:"-"+this.options.width,right:"auto"}),rr()("#mailpoet_panel").css({minHeight:"auto"});break;default:throw new Error("Incorrect type")}return this},setPosition:function(){switch(this.options.type){case"popup":break;case"panel":setTimeout(function(){"right"===this.options.position?rr()("#mailpoet_panel").css({marginRight:0}):"left"===this.options.position&&rr()("#mailpoet_panel").css({marginLeft:0})}.bind(this),0);break;default:throw new Error("Incorrect type")}return this},showModal:function(){return this.setDimensions(),this.prevFocus=rr()(":focus"),rr()("#mailpoet_"+this.options.type).show(),this.showOverlay(),this.setPosition(),null!==this.options.highlight&&this.options.highlight.length>0&&this.highlightOn(this.options.highlight),this.options.focus&&this.focus(),rr()("#mailpoet_modal_overlay").scrollTop(0),this.opened=!0,null!==this.options.onInit&&this.options.onInit(this),this},focus:function(){return"popup"===this.options.type?rr()("#mailpoet_"+this.options.type).trigger("focus"):rr()("#mailpoet_"+this.options.type+" .mailpoet_panel_wrapper").filter(":visible").trigger("focus"),this},highlightOn:function(e){return rr()(e).addClass("mailpoet_modal_highlight"),this},highlightOff:function(){return rr()(".mailpoet_modal_highlight").removeClass("mailpoet_modal_highlight"),this},hideModal:function(){return this.opened=!1,rr()("#mailpoet_"+this.options.type).hide(),this.highlightOff(),this},showOverlay:function(){var e=rr()("body"),t=e.innerWidth();return this.options.overlayRender?(rr()("#mailpoet_modal_overlay").show(),rr()("body").addClass("mailpoet_modal_opened").css("marginRight",e.innerWidth()-t),this):this},hideOverlay:function(){return rr()("#mailpoet_modal_overlay").hide(),rr()("body").removeClass("mailpoet_modal_opened").css("marginRight",0),this},popup:function(e){var t=e||{};return t.type="popup",t.overlay=t.overlay||!0,this.init(t),this.open(),this},panel:function(e){var t=e||{};return this.subpanels=[],t.type="panel",t.overlay=t.overlay||!1,t.highlight=t.highlight||null,t.width=t.width||"40%",t.height=t.height||"auto",this.init(t),this.open(),this},subpanel:function(e){return!1===this.opened?this.panel(e):(this.subpanels.push(e),this.loadTemplate()),this},loading:function(e){return this.initOverlay(!0),!0===e?this.showLoading():this.hideLoading(),this},showLoading:function(){return rr()("#mailpoet_loading").show(),rr()("#mailpoet_modal_overlay").addClass("mailpoet_overlay_loading"),this},hideLoading:function(){return rr()("#mailpoet_loading").hide(),rr()("#mailpoet_modal_overlay").removeClass("mailpoet_overlay_loading"),this},progress:function(e){return this.initOverlay(!0),!0===e?this.showProgress():this.hideProgress(),this},showProgress:function(){return this.setProgress(0),rr()("#mailpoet_modal_progress").show(),rr()("#mailpoet_modal_overlay").addClass("mailpoet_overlay_loading"),this},hideProgress:function(){return rr()("#mailpoet_modal_progress").hide(),rr()("#mailpoet_modal_overlay").removeClass("mailpoet_overlay_loading"),this},setProgress:function(e){var t=Math.max(0,Math.min(e,100)),n=rr()("#mailpoet_modal_progress");return n.find(".mailpoet_modal_progress_bar").css({width:t+"%"}),n.find(".mailpoet_modal_progress_text").text(t+"%"),this},open:function(){return null!==this.options.template?null!==this.options.url?this.loadUrl():(this.loadTemplate(),this.showModal()):this.cancel(),this},success:function(){return this.subpanels.length>0?void 0!==this.subpanels[this.subpanels.length-1].onSuccess&&this.subpanels[this.subpanels.length-1].onSuccess(this.subpanels[this.subpanels.length-1].data):null!==this.options.onSuccess&&this.options.onSuccess(this.options.data),this.close(),this},cancel:function(){return this.subpanels.length>0?void 0!==this.subpanels[this.subpanels.length-1].onCancel&&this.subpanels[this.subpanels.length-1].onCancel(this.subpanels[this.subpanels.length-1].data):null!==this.options.onCancel&&this.options.onCancel(this.options.data),this.close(),this},destroy:function(){return this.hideOverlay(),rr()("#mailpoet_"+this.options.type).length>0&&rr()("#mailpoet_"+this.options.type).remove(),this.initialized=!1,this},close:function(){return!0===this.isLocked()?this:this.subpanels.length>0?(rr()(".mailpoet_"+this.options.type+"_wrapper").last().remove(),rr()(".mailpoet_"+this.options.type+"_wrapper").last().show(),this.subpanels.pop(),this.options.focus&&this.focus(),this):(this.removeEvents(),this.hideModal(),this.destroy(),void 0!==this.prevFocus&&this.prevFocus.focus(),this.options={onSuccess:null,onCancel:null},this)}},ur={version:1,defaults:{type:"success",message:"",static:!1,hideClose:!1,id:null,positionAfter:!1,scroll:!1,timeout:1e4,onOpen:null,onClose:null},options:{},init:function(e){return this.options=rr().extend({},this.defaults,e),this},createNotice:function(){var e;return this.element=rr()("#mailpoet_notice_"+this.options.type).clone(),this.options.id&&this.element.attr("data-id",this.options.id),this.element.removeAttr("id"),("object"==typeof this.options.positionAfter?this.options.positionAfter:"string"==typeof this.options.positionAfter?rr()(this.options.positionAfter):rr()("#mailpoet_notice_"+this.options.type)).after(this.element),e=null,null!==this.options.onClose&&(e=this.options.onClose),rr()(this.element).on("close",function(){rr()(this).fadeOut(200,(function(){null!==e&&e(),rr()(this).remove()}))}.bind(this.element)),this},updateNotice:function(){this.setMessage(this.options.message,rr()('[data-id="'+this.options.id+'"').first())},setMessage:function(e,t){var n=this.formatMessage(e);return n="<p>"+n+"</p>",(t||this.element).html(n)},formatMessage:function(e){return Array.isArray(e)?e.join("<br />"):e},show:function(e){this.init(e),null!==this.options.id&&rr()('[data-id="'+this.options.id+'"]').length>0?this.updateNotice():(this.createNotice(),this.showNotice())},showNotice:function(){switch(this.setMessage(this.options.message),this.element.insertAfter(rr()("h2.title")),this.options.type){case"success":this.element.addClass("notice notice-success");break;case"system":this.element.addClass("notice notice-warning");break;case"error":this.element.addClass("notice notice-error");break;default:this.element.addClass("notice")}this.element.fadeIn(200),!0===this.options.scroll&&this.element.get(0).scrollIntoView(!1),!1===this.options.static&&setTimeout((function(e){e.trigger("close")}),this.options.timeout,this.element),!1===this.options.hideClose&&(this.element.append('<button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>'),this.element.find(".notice-dismiss").on("click",(function(){rr()(this).trigger("close")}))),null!==this.options.onOpen&&this.options.onOpen(this.element)},hide:function(e){void 0!==e&&!0===e?rr()(".mailpoet_notice:not([id])").trigger("close"):void 0!==e&&Array.isArray(e)&&Object.keys(e).forEach((function(t){rr()('[data-id="'+e[t]+'"]').trigger("close")})),void 0!==e?rr()('[data-id="'+e+'"]').trigger("close"):rr()(".mailpoet_notice.notice-success:not([id]), .mailpoet_notice.notice-error:not([id])").trigger("close")},error:function(e,t){this.show(rr().extend({},{type:"error",message:e},t))},success:function(e,t){this.show(rr().extend({},{type:"success",message:e},t))},system:function(e,t){this.show(rr().extend({},{type:"system",static:!0,message:e},t))},showApiErrorNotice:function(e,t){let n=p.t("ajaxFailedErrorMessage"),r=t;e&&e.errors&&e.errors.length>0&&(n=e.errors.map((e=>e.message)),r=JSON.stringify(e.errors).includes("reinstall_plugin")?{...t,static:!0,scroll:!0}:t),this.show(rr().extend({},{type:"error",message:n},r))}};var pr=[],dr=[];const hr="mailpoet-track-events-cache",fr="mailpoet-tracks-events-cache",mr="saveInStorage";let gr=[];function _r(){window.mailpoetTracks||(window.mailpoetTracks={isEnabled:!0,recordEvent:(e,t)=>{const n=window.mailpoet_analytics_public_id||"";if(!n)return;const r={commonProps:{public_id:n,...t},events:[{_ut:"anon",_ui:n,_en:"mailpoet_"+e}]};gr.push(r)},flushQueue:()=>{0!==gr.length&&(gr.forEach((e=>{fetch("https://public-api.wordpress.com/rest/v1.1/tracks/record",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":"MailPoet Plugin"},body:JSON.stringify(e),keepalive:!0}).catch((()=>{}))})),gr=[])}})}function yr(e,t=[]){try{_r();const n=e.toLowerCase().replace(/[^a-z0-9]/g,"_").replace(/_{2,}/g,"_").replace(/^_|_$/g,""),r=function(e){if(!e||"object"!=typeof e)return{};const t={MailPoet:"mailpoet",WooCommerce:"woocommerce",WordPress:"wordpress"},n={};return Object.entries(e).forEach((([e,r])=>{let o=e;Object.entries(t).forEach((([e,t])=>{o=o.replace(new RegExp(e,"g"),t)})),o=o.replace(/([A-Z])/g,"_$1").toLowerCase().replace(/[^a-z0-9_]/g,"_").replace(/_{2,}/g,"_").replace(/^_|_$/g,""),n[o]=r})),n}(t);window.mailpoetTracks&&"function"==typeof window.mailpoetTracks.recordEvent&&window.mailpoetTracks.recordEvent(n,r)}catch(e){}}function vr(e,t=[],n={},r=null){let o=t;void 0!==window.mailpoet_version&&(o["MailPoet Free version"]=window.mailpoet_version),void 0!==window.mailpoet_premium_version&&(o["MailPoet Premium version"]=window.mailpoet_premium_version),function(e,t=[],n={},r=null){const o=n===mr?{}:n;"function"!=typeof window.mixpanel.track&&window.mixpanel.init(window.mixpanelTrackingId,window.mixpanelInitConfig),window.mixpanelIsLoaded?window.mixpanel.track(e,t,o,r):r&&r()}(e,o,n,r),yr(e,o)}function br(e){(window.mailpoet_analytics_enabled||e.forced)&&vr(e.name,e.data,e.options,e.callback)}function wr(e){(window.mailpoet_analytics_enabled||e.forced)&&(_r(),yr(e.name,e.data))}function xr(){if("undefined"!=typeof localStorage){const e=localStorage.getItem(hr);if(e&&window.mailpoet_analytics_enabled)return JSON.parse(e).forEach(br),void localStorage.removeItem(hr)}pr.forEach(br)}function Sr(){if("undefined"!=typeof localStorage){const e=localStorage.getItem(fr);if(e&&window.mailpoet_analytics_enabled)return JSON.parse(e).forEach(wr),void localStorage.removeItem(fr)}dr.forEach(wr)}function kr(e,t,n,r,o){pr.push({name:t,data:n,options:r,callback:o,forced:e}),r===mr&&"undefined"!=typeof localStorage&&localStorage.setItem(hr,JSON.stringify(pr)),"function"==typeof o&&o()}function Er(e,t=[],n={},r=null){let o={...t};void 0!==window.mailpoet_version&&(o["MailPoet Free version"]=window.mailpoet_version),void 0!==window.mailpoet_premium_version&&(o["MailPoet Premium version"]=window.mailpoet_premium_version),kr(!1,e,o,n,r),function(e,t,n,r){dr.push({name:t,data:n,options:r,forced:!1}),r===mr&&"undefined"!=typeof localStorage&&localStorage.setItem(fr,JSON.stringify(dr))}(0,e,o,n)}function Cr(){xr(),Sr(),window.mailpoetTracks&&"function"==typeof window.mailpoetTracks.flushQueue&&window.mailpoetTracks.flushQueue()}const Tr=tr.partial(kr,!1),Pr=tr.partial(kr,!0),jr={toLocaleFixed:function(e,t){var n=t||0,r=10**n;return(Math.round(e*r)/r).toLocaleString(void 0,{minimumFractionDigits:n,maximumFractionDigits:n})}};var Ar=n(3108),Ir=n.n(Ar),Nr=n(1609);const Lr=Math.min,Br=Math.max,Rr=Math.round,Or=Math.floor,Mr=e=>({x:e,y:e}),Dr={left:"right",right:"left",bottom:"top",top:"bottom"},Fr={start:"end",end:"start"};function qr(e,t,n){return Br(e,Lr(t,n))}function Hr(e,t){return"function"==typeof e?e(t):e}function Vr(e){return e.split("-")[0]}function zr(e){return e.split("-")[1]}function Ur(e){return"x"===e?"y":"x"}function $r(e){return"y"===e?"height":"width"}function Wr(e){return["top","bottom"].includes(Vr(e))?"y":"x"}function Gr(e){return Ur(Wr(e))}function Yr(e){return e.replace(/start|end/g,(e=>Fr[e]))}function Kr(e){return e.replace(/left|right|bottom|top/g,(e=>Dr[e]))}function Jr(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Xr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Zr(e,t,n){let{reference:r,floating:o}=e;const i=Wr(t),s=Gr(t),a=$r(s),l=Vr(t),c="y"===i,u=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-o.width,y:p};break;default:h={x:r.x,y:r.y}}switch(zr(t)){case"start":h[s]-=d*(n&&c?-1:1);break;case"end":h[s]+=d*(n&&c?-1:1)}return h}async function Qr(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Hr(t,e),f=Jr(h),m=a[d?"floating"===p?"reference":"floating":p],g=Xr(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),_="floating"===p?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),v=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=Xr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:_,offsetParent:y,strategy:l}):_);return{top:(g.top-b.top+f.top)/v.y,bottom:(b.bottom-g.bottom+f.bottom)/v.y,left:(g.left-b.left+f.left)/v.x,right:(b.right-g.right+f.right)/v.x}}function eo(e){return ro(e)?(e.nodeName||"").toLowerCase():"#document"}function to(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function no(e){var t;return null==(t=(ro(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ro(e){return e instanceof Node||e instanceof to(e).Node}function oo(e){return e instanceof Element||e instanceof to(e).Element}function io(e){return e instanceof HTMLElement||e instanceof to(e).HTMLElement}function so(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof to(e).ShadowRoot)}function ao(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ho(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function lo(e){return["table","td","th"].includes(eo(e))}function co(e){const t=uo(),n=ho(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function uo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function po(e){return["html","body","#document"].includes(eo(e))}function ho(e){return to(e).getComputedStyle(e)}function fo(e){return oo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mo(e){if("html"===eo(e))return e;const t=e.assignedSlot||e.parentNode||so(e)&&e.host||no(e);return so(t)?t.host:t}function go(e){const t=mo(e);return po(t)?e.ownerDocument?e.ownerDocument.body:e.body:io(t)&&ao(t)?t:go(t)}function _o(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=go(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=to(o);return i?t.concat(s,s.visualViewport||[],ao(o)?o:[],s.frameElement&&n?_o(s.frameElement):[]):t.concat(o,_o(o,[],n))}function yo(e){const t=ho(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=io(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Rr(n)!==i||Rr(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function vo(e){return oo(e)?e:e.contextElement}function bo(e){const t=vo(e);if(!io(t))return Mr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=yo(t);let s=(i?Rr(n.width):n.width)/r,a=(i?Rr(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const wo=Mr(0);function xo(e){const t=to(e);return uo()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:wo}function So(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=vo(e);let s=Mr(1);t&&(r?oo(r)&&(s=bo(r)):s=bo(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==to(e))&&t}(i,n,r)?xo(i):Mr(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,p=o.height/s.y;if(i){const e=to(i),t=r&&oo(r)?to(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=bo(o),t=o.getBoundingClientRect(),r=ho(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,p*=e.y,l+=i,c+=s,n=to(o),o=n.frameElement}}return Xr({width:u,height:p,x:l,y:c})}const ko=[":popover-open",":modal"];function Eo(e){return ko.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Co(e){return So(no(e)).left+fo(e).scrollLeft}function To(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=to(e),r=no(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=uo();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=no(e),n=fo(e),r=e.ownerDocument.body,o=Br(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Br(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Co(e);const a=-n.scrollTop;return"rtl"===ho(r).direction&&(s+=Br(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}(no(e));else if(oo(t))r=function(e,t){const n=So(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=io(e)?bo(e):Mr(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=xo(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Xr(r)}function Po(e,t){const n=mo(e);return!(n===t||!oo(n)||po(n))&&("fixed"===ho(n).position||Po(n,t))}function jo(e,t,n){const r=io(t),o=no(t),i="fixed"===n,s=So(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Mr(0);if(r||!r&&!i)if(("body"!==eo(t)||ao(o))&&(a=fo(t)),r){const e=So(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Co(o));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Ao(e){return"static"===ho(e).position}function Io(e,t){return io(e)&&"fixed"!==ho(e).position?t?t(e):e.offsetParent:null}function No(e,t){const n=to(e);if(Eo(e))return n;if(!io(e)){let t=mo(e);for(;t&&!po(t);){if(oo(t)&&!Ao(t))return t;t=mo(t)}return n}let r=Io(e,t);for(;r&&lo(r)&&Ao(r);)r=Io(r,t);return r&&po(r)&&Ao(r)&&!co(r)?n:r||function(e){let t=mo(e);for(;io(t)&&!po(t);){if(co(t))return t;t=mo(t)}return null}(e)||n}const Lo={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=no(r),a=!!t&&Eo(t.floating);if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Mr(1);const u=Mr(0),p=io(r);if((p||!p&&!i)&&(("body"!==eo(r)||ao(s))&&(l=fo(r)),io(r))){const e=So(r);c=bo(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y}},getDocumentElement:no,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?Eo(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=_o(e,[],!1).filter((e=>oo(e)&&"body"!==eo(e))),o=null;const i="fixed"===ho(e).position;let s=i?mo(e):e;for(;oo(s)&&!po(s);){const t=ho(s),n=co(s);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||ao(s)&&!n&&Po(e,s))?r=r.filter((e=>e!==s)):o=t,s=mo(s)}return t.set(e,r),r}(t,this._c):[].concat(n),s=[...i,r],a=s[0],l=s.reduce(((e,n)=>{const r=To(t,n,o);return e.top=Br(r.top,e.top),e.right=Lr(r.right,e.right),e.bottom=Lr(r.bottom,e.bottom),e.left=Br(r.left,e.left),e}),To(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:No,getElementRects:async function(e){const t=this.getOffsetParent||No,n=this.getDimensions,r=await n(e.floating);return{reference:jo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=yo(e);return{width:t,height:n}},getScale:bo,isElement:oo,isRTL:function(e){return"rtl"===ho(e).direction}};const Bo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=Vr(n),a=zr(n),l="y"===Wr(n),c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,p=Hr(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:f}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return a&&"number"==typeof f&&(h="end"===a?-1*f:f),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Ro=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Hr(e,t),c={x:n,y:r},u=await Qr(t,l),p=Wr(Vr(o)),d=Ur(p);let h=c[d],f=c[p];if(i){const e="y"===d?"bottom":"right";h=qr(h+u["y"===d?"top":"left"],h,h-u[e])}if(s){const e="y"===p?"bottom":"right";f=qr(f+u["y"===p?"top":"left"],f,f-u[e])}const m=a.fn({...t,[d]:h,[p]:f});return{...m,data:{x:m.x-n,y:m.y-r}}}}},Oo=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=Hr(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const _=Vr(o),y=Vr(a)===a,v=await(null==l.isRTL?void 0:l.isRTL(c.floating)),b=d||(y||!m?[Kr(a)]:function(e){const t=Kr(e);return[Yr(e),t,Yr(t)]}(a));d||"none"===f||b.push(...function(e,t,n,r){const o=zr(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}(Vr(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(Yr)))),i}(a,m,f,v));const w=[a,...b],x=await Qr(t,g),S=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&S.push(x[_]),p){const e=function(e,t,n){void 0===n&&(n=!1);const r=zr(e),o=Gr(e),i=$r(o);let s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Kr(s)),[s,Kr(s)]}(o,s,v);S.push(x[e[0]],x[e[1]])}if(k=[...k,{placement:o,overflows:S}],!S.every((e=>e<=0))){var E,C;const e=((null==(E=i.flip)?void 0:E.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(C=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:C.placement;if(!n)switch(h){case"bestFit":{var T;const e=null==(T=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:T[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},Mo=(e,t,n)=>{const r=new Map,o={platform:Lo,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:p}=Zr(c,r,l),d=r,h={},f=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:g,y:_,data:y,reset:v}=await m({x:u,y:p,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=g?g:u,p=null!=_?_:p,h={...h,[i]:{...h[i],...y}},v&&f<=50&&(f++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:u,y:p}=Zr(c,d,l))),n=-1)}return{x:u,y:p,placement:d,strategy:o,middlewareData:h}})(e,t,{...o,platform:i})};var Do=n(3698),Fo=n.n(Do);const qo={core:!1,base:!1};function Ho({css:e,id:t="react-tooltip-base-styles",type:n="base",ref:r}){var o,i;if(!e||"undefined"==typeof document||qo[n])return;if("core"===n&&"undefined"!=typeof process&&(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==n&&"undefined"!=typeof process&&(null===(i=null===process||void 0===process?void 0:process.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(t="react-tooltip-core-styles"),r||(r={});const{insertAt:s}=r;if(document.getElementById(t))return void console.warn(`[react-tooltip] Element with id '${t}' already exists. Call \`removeStyle()\` first`);const a=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css","top"===s&&a.firstChild?a.insertBefore(l,a.firstChild):a.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e)),qo[n]=!0}const Vo=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:o=10,strategy:i="absolute",middlewares:s=[Bo(Number(o)),Oo({fallbackAxisSideDirection:"start"}),Ro({padding:5})],border:a})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=s;return n?(l.push({name:"arrow",options:c={element:n,padding:5},async fn(e){const{x:t,y:n,placement:r,rects:o,platform:i,elements:s,middlewareData:a}=e,{element:l,padding:u=0}=Hr(c,e)||{};if(null==l)return{};const p=Jr(u),d={x:t,y:n},h=Gr(r),f=$r(h),m=await i.getDimensions(l),g="y"===h,_=g?"top":"left",y=g?"bottom":"right",v=g?"clientHeight":"clientWidth",b=o.reference[f]+o.reference[h]-d[h]-o.floating[f],w=d[h]-o.reference[h],x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l));let S=x?x[v]:0;S&&await(null==i.isElement?void 0:i.isElement(x))||(S=s.floating[v]||o.floating[f]);const k=b/2-w/2,E=S/2-m[f]/2-1,C=Lr(p[_],E),T=Lr(p[y],E),P=C,j=S-m[f]-T,A=S/2-m[f]/2+k,I=qr(P,A,j),N=!a.arrow&&null!=zr(r)&&A!==I&&o.reference[f]/2-(A<P?C:T)-m[f]/2<0,L=N?A<P?A-P:A-j:0;return{[h]:d[h]+L,data:{[h]:I,centerOffset:A-I-L,...N&&{alignmentOffset:L}},reset:N}}}),Mo(e,t,{placement:r,strategy:i,middleware:l}).then((({x:e,y:t,placement:n,middlewareData:r})=>{var o,i;const s={left:`${e}px`,top:`${t}px`,border:a},{x:l,y:c}=null!==(o=r.arrow)&&void 0!==o?o:{x:0,y:0},u=null!==(i={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==i?i:"bottom",p=a&&{borderBottom:a,borderRight:a};let d=0;if(a){const e=`${a}`.match(/(\d+)px/);d=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:s,tooltipArrowStyles:{left:null!=l?`${l}px`:"",top:null!=c?`${c}px`:"",right:"",bottom:"",...p,[u]:`-${4+d}px`},place:n}}))):Mo(e,t,{placement:"bottom",strategy:i,middleware:l}).then((({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})));var c},zo=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Uo=(e,t,n)=>{let r=null;const o=function(...o){const i=()=>{r=null,n||e.apply(this,o)};n&&!r&&(e.apply(this,o),r=setTimeout(i,t)),n||(r&&clearTimeout(r),r=setTimeout(i,t))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},$o=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,Wo=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>Wo(e,t[n])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!$o(e)||!$o(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>Wo(e[n],t[n])))},Go=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},Yo=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Go(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Ko="undefined"!=typeof window?Nr.useLayoutEffect:Nr.useEffect,Jo={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Xo=(0,Nr.createContext)({getTooltipData:()=>Jo});function Zo(e="DEFAULT_TOOLTIP_ID"){return(0,Nr.useContext)(Xo).getTooltipData(e)}var Qo={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},ei={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const ti=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:o="dark",anchorId:i,anchorSelect:s,place:a="top",offset:l=10,events:c=["hover"],openOnClick:u=!1,positionStrategy:p="absolute",middlewares:d,wrapper:h,delayShow:f=0,delayHide:m=0,float:g=!1,hidden:_=!1,noArrow:y=!1,clickable:v=!1,closeOnEsc:b=!1,closeOnScroll:w=!1,closeOnResize:x=!1,openEvents:S,closeEvents:k,globalCloseEvents:E,imperativeModeOnly:C,style:T,position:P,afterShow:j,afterHide:A,content:I,contentWrapperRef:N,isOpen:L,defaultIsOpen:B=!1,setIsOpen:R,activeAnchor:O,setActiveAnchor:M,border:D,opacity:F,arrowColor:q,role:H="tooltip"})=>{var V;const z=(0,Nr.useRef)(null),U=(0,Nr.useRef)(null),$=(0,Nr.useRef)(null),W=(0,Nr.useRef)(null),G=(0,Nr.useRef)(null),[Y,K]=(0,Nr.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:a}),[J,X]=(0,Nr.useState)(!1),[Z,Q]=(0,Nr.useState)(!1),[ee,te]=(0,Nr.useState)(null),ne=(0,Nr.useRef)(!1),re=(0,Nr.useRef)(null),{anchorRefs:oe,setActiveAnchor:ie}=Zo(t),se=(0,Nr.useRef)(!1),[ae,le]=(0,Nr.useState)([]),ce=(0,Nr.useRef)(!1),ue=u||c.includes("click"),pe=ue||(null==S?void 0:S.click)||(null==S?void 0:S.dblclick)||(null==S?void 0:S.mousedown),de=S?{...S}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!S&&ue&&Object.assign(de,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const he=k?{...k}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!k&&ue&&Object.assign(he,{mouseleave:!1,blur:!1,mouseout:!1});const fe=E?{...E}:{escape:b||!1,scroll:w||!1,resize:x||!1,clickOutsideAnchor:pe||!1};C&&(Object.assign(de,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(he,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(fe,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Ko((()=>(ce.current=!0,()=>{ce.current=!1})),[]);const me=e=>{ce.current&&(e&&Q(!0),setTimeout((()=>{ce.current&&(null==R||R(e),void 0===L&&X(e))}),10))};(0,Nr.useEffect)((()=>{if(void 0===L)return()=>null;L&&Q(!0);const e=setTimeout((()=>{X(L)}),10);return()=>{clearTimeout(e)}}),[L]),(0,Nr.useEffect)((()=>{if(J!==ne.current)if(G.current&&clearTimeout(G.current),ne.current=J,J)null==j||j();else{const e=(e=>{const t=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!t)return 0;const[,n,r]=t;return Number(n)*("ms"===r?1:1e3)})();G.current=setTimeout((()=>{Q(!1),te(null),null==A||A()}),e+25)}}),[J]);const ge=e=>{K((t=>Wo(t,e)?t:e))},_e=(e=f)=>{$.current&&clearTimeout($.current),Z?me(!0):$.current=setTimeout((()=>{me(!0)}),e)},ye=(e=m)=>{W.current&&clearTimeout(W.current),W.current=setTimeout((()=>{se.current||me(!1)}),e)},ve=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return M(null),void ie({current:null});f?_e():me(!0),M(n),ie({current:n}),W.current&&clearTimeout(W.current)},be=()=>{v?ye(m||100):m?ye():me(!1),$.current&&clearTimeout($.current)},we=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};Vo({place:null!==(n=null==ee?void 0:ee.place)&&void 0!==n?n:a,offset:l,elementReference:r,tooltipReference:z.current,tooltipArrowReference:U.current,strategy:p,middlewares:d,border:D}).then((e=>{ge(e)}))},xe=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};we(n),re.current=n},Se=e=>{var t;if(!J)return;const n=e.target;n.isConnected&&((null===(t=z.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${i}']`),...ae].some((e=>null==e?void 0:e.contains(n)))||(me(!1),$.current&&clearTimeout($.current)))},ke=Uo(ve,50,!0),Ee=Uo(be,50,!0),Ce=e=>{Ee.cancel(),ke(e)},Te=()=>{ke.cancel(),Ee()},Pe=(0,Nr.useCallback)((()=>{var e,t;const n=null!==(e=null==ee?void 0:ee.position)&&void 0!==e?e:P;n?we(n):g?re.current&&we(re.current):(null==O?void 0:O.isConnected)&&Vo({place:null!==(t=null==ee?void 0:ee.place)&&void 0!==t?t:a,offset:l,elementReference:O,tooltipReference:z.current,tooltipArrowReference:U.current,strategy:p,middlewares:d,border:D}).then((e=>{ce.current&&ge(e)}))}),[J,O,I,T,a,null==ee?void 0:ee.place,l,p,P,null==ee?void 0:ee.position,g]);(0,Nr.useEffect)((()=>{var e,t;const n=new Set(oe);ae.forEach((e=>{n.add({current:e})}));const r=document.querySelector(`[id='${i}']`);r&&n.add({current:r});const o=()=>{me(!1)},s=Yo(O),a=Yo(z.current);fe.scroll&&(window.addEventListener("scroll",o),null==s||s.addEventListener("scroll",o),null==a||a.addEventListener("scroll",o));let l=null;fe.resize?window.addEventListener("resize",o):O&&z.current&&(l=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=vo(e),u=o||i?[...c?_o(c):[],..._o(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const p=c&&a?function(e,t){let n,r=null;const o=no(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:p,height:d}=e.getBoundingClientRect();if(a||t(),!p||!d)return;const h={rootMargin:-Or(u)+"px "+-Or(o.clientWidth-(c+p))+"px "+-Or(o.clientHeight-(u+d))+"px "+-Or(c)+"px",threshold:Br(0,Lr(1,l))||1};let f=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!f)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}f=!1}try{r=new IntersectionObserver(m,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(m,h)}r.observe(e)}(!0),i}(c,n):null;let d,h=-1,f=null;s&&(f=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()})),c&&!l&&f.observe(c),f.observe(t));let m=l?So(e):null;return l&&function t(){const r=So(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n(),m=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==p||p(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(d)}}(O,z.current,Pe,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const c=e=>{"Escape"===e.key&&me(!1)};fe.escape&&window.addEventListener("keydown",c),fe.clickOutsideAnchor&&window.addEventListener("click",Se);const u=[],p=e=>{J&&(null==e?void 0:e.target)===O||ve(e)},d=e=>{J&&(null==e?void 0:e.target)===O&&be()},h=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],f=["click","dblclick","mousedown","mouseup"];Object.entries(de).forEach((([e,t])=>{t&&(h.includes(e)?u.push({event:e,listener:Ce}):f.includes(e)&&u.push({event:e,listener:p}))})),Object.entries(he).forEach((([e,t])=>{t&&(h.includes(e)?u.push({event:e,listener:Te}):f.includes(e)&&u.push({event:e,listener:d}))})),g&&u.push({event:"pointermove",listener:xe});const m=()=>{se.current=!0},_=()=>{se.current=!1,be()};return v&&!pe&&(null===(e=z.current)||void 0===e||e.addEventListener("mouseenter",m),null===(t=z.current)||void 0===t||t.addEventListener("mouseleave",_)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)}))})),()=>{var e,t;fe.scroll&&(window.removeEventListener("scroll",o),null==s||s.removeEventListener("scroll",o),null==a||a.removeEventListener("scroll",o)),fe.resize?window.removeEventListener("resize",o):null==l||l(),fe.clickOutsideAnchor&&window.removeEventListener("click",Se),fe.escape&&window.removeEventListener("keydown",c),v&&!pe&&(null===(e=z.current)||void 0===e||e.removeEventListener("mouseenter",m),null===(t=z.current)||void 0===t||t.removeEventListener("mouseleave",_)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)}))}))}}),[O,Pe,Z,oe,ae,S,k,E,ue,f,m]),(0,Nr.useEffect)((()=>{var e,n;let r=null!==(n=null!==(e=null==ee?void 0:ee.anchorSelect)&&void 0!==e?e:s)&&void 0!==n?n:"";!r&&t&&(r=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const o=new MutationObserver((e=>{const n=[],o=[];e.forEach((e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?n.push(e.target):e.oldValue===t&&o.push(e.target)),"childList"===e.type){if(O){const t=[...e.removedNodes].filter((e=>1===e.nodeType));if(r)try{o.push(...t.filter((e=>e.matches(r)))),o.push(...t.flatMap((e=>[...e.querySelectorAll(r)])))}catch(e){}t.some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,O))&&(Q(!1),me(!1),M(null),$.current&&clearTimeout($.current),W.current&&clearTimeout(W.current),!0)}))}if(r)try{const t=[...e.addedNodes].filter((e=>1===e.nodeType));n.push(...t.filter((e=>e.matches(r)))),n.push(...t.flatMap((e=>[...e.querySelectorAll(r)])))}catch(e){}}})),(n.length||o.length)&&le((e=>[...e.filter((e=>!o.includes(e))),...n]))}));return o.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{o.disconnect()}}),[t,s,null==ee?void 0:ee.anchorSelect,O]),(0,Nr.useEffect)((()=>{Pe()}),[Pe]),(0,Nr.useEffect)((()=>{if(!(null==N?void 0:N.current))return()=>null;const e=new ResizeObserver((()=>{setTimeout((()=>Pe()))}));return e.observe(N.current),()=>{e.disconnect()}}),[I,null==N?void 0:N.current]),(0,Nr.useEffect)((()=>{var e;const t=document.querySelector(`[id='${i}']`),n=[...ae,t];O&&n.includes(O)||M(null!==(e=ae[0])&&void 0!==e?e:t)}),[i,ae,O]),(0,Nr.useEffect)((()=>(B&&me(!0),()=>{$.current&&clearTimeout($.current),W.current&&clearTimeout(W.current)})),[]),(0,Nr.useEffect)((()=>{var e;let n=null!==(e=null==ee?void 0:ee.anchorSelect)&&void 0!==e?e:s;if(!n&&t&&(n=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),n)try{const e=Array.from(document.querySelectorAll(n));le(e)}catch(e){le([])}}),[t,s,null==ee?void 0:ee.anchorSelect]),(0,Nr.useEffect)((()=>{$.current&&(clearTimeout($.current),_e(f))}),[f]);const je=null!==(V=null==ee?void 0:ee.content)&&void 0!==V?V:I,Ae=J&&Object.keys(Y.tooltipStyles).length>0;return(0,Nr.useImperativeHandle)(e,(()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return void console.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`)}te(null!=e?e:null),(null==e?void 0:e.delay)?_e(e.delay):me(!0)},close:e=>{(null==e?void 0:e.delay)?ye(e.delay):me(!1)},activeAnchor:O,place:Y.place,isOpen:Boolean(Z&&!_&&je&&Ae)}))),Z&&!_&&je?Nr.createElement(h,{id:t,role:H,className:Do("react-tooltip",Qo.tooltip,ei.tooltip,ei[o],n,`react-tooltip__place-${Y.place}`,Qo[Ae?"show":"closing"],Ae?"react-tooltip__show":"react-tooltip__closing","fixed"===p&&Qo.fixed,v&&Qo.clickable),onTransitionEnd:e=>{G.current&&clearTimeout(G.current),J||"opacity"!==e.propertyName||(Q(!1),te(null),null==A||A())},style:{...T,...Y.tooltipStyles,opacity:void 0!==F&&Ae?F:void 0},ref:z},je,Nr.createElement(h,{className:Do("react-tooltip-arrow",Qo.arrow,ei.arrow,r,y&&Qo.noArrow),style:{...Y.tooltipArrowStyles,background:q?`linear-gradient(to right bottom, transparent 50%, ${q} 50%)`:void 0},ref:U})):null},ni=({content:e})=>Nr.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),ri=Nr.forwardRef((({id:e,anchorId:t,anchorSelect:n,content:r,html:o,render:i,className:s,classNameArrow:a,variant:l="dark",place:c="top",offset:u=10,wrapper:p="div",children:d=null,events:h=["hover"],openOnClick:f=!1,positionStrategy:m="absolute",middlewares:g,delayShow:_=0,delayHide:y=0,float:v=!1,hidden:b=!1,noArrow:w=!1,clickable:x=!1,closeOnEsc:S=!1,closeOnScroll:k=!1,closeOnResize:E=!1,openEvents:C,closeEvents:T,globalCloseEvents:P,imperativeModeOnly:j=!1,style:A,position:I,isOpen:N,defaultIsOpen:L=!1,disableStyleInjection:B=!1,border:R,opacity:O,arrowColor:M,setIsOpen:D,afterShow:F,afterHide:q,role:H="tooltip"},V)=>{const[z,U]=(0,Nr.useState)(r),[$,W]=(0,Nr.useState)(o),[G,Y]=(0,Nr.useState)(c),[K,J]=(0,Nr.useState)(l),[X,Z]=(0,Nr.useState)(u),[Q,ee]=(0,Nr.useState)(_),[te,ne]=(0,Nr.useState)(y),[re,oe]=(0,Nr.useState)(v),[ie,se]=(0,Nr.useState)(b),[ae,le]=(0,Nr.useState)(p),[ce,ue]=(0,Nr.useState)(h),[pe,de]=(0,Nr.useState)(m),[he,fe]=(0,Nr.useState)(null),[me,ge]=(0,Nr.useState)(null),_e=(0,Nr.useRef)(B),{anchorRefs:ye,activeAnchor:ve}=Zo(e),be=e=>null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t}),{}),we=e=>{const t={place:e=>{var t;Y(null!==(t=e)&&void 0!==t?t:c)},content:e=>{U(null!=e?e:r)},html:e=>{W(null!=e?e:o)},variant:e=>{var t;J(null!==(t=e)&&void 0!==t?t:l)},offset:e=>{Z(null===e?u:Number(e))},wrapper:e=>{var t;le(null!==(t=e)&&void 0!==t?t:p)},events:e=>{const t=null==e?void 0:e.split(" ");ue(null!=t?t:h)},"position-strategy":e=>{var t;de(null!==(t=e)&&void 0!==t?t:m)},"delay-show":e=>{ee(null===e?_:Number(e))},"delay-hide":e=>{ne(null===e?y:Number(e))},float:e=>{oe(null===e?v:"true"===e)},hidden:e=>{se(null===e?b:"true"===e)},"class-name":e=>{fe(e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)}))};(0,Nr.useEffect)((()=>{U(r)}),[r]),(0,Nr.useEffect)((()=>{W(o)}),[o]),(0,Nr.useEffect)((()=>{Y(c)}),[c]),(0,Nr.useEffect)((()=>{J(l)}),[l]),(0,Nr.useEffect)((()=>{Z(u)}),[u]),(0,Nr.useEffect)((()=>{ee(_)}),[_]),(0,Nr.useEffect)((()=>{ne(y)}),[y]),(0,Nr.useEffect)((()=>{oe(v)}),[v]),(0,Nr.useEffect)((()=>{se(b)}),[b]),(0,Nr.useEffect)((()=>{de(m)}),[m]),(0,Nr.useEffect)((()=>{_e.current!==B&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[B]),(0,Nr.useEffect)((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===B,disableBase:B}}))}),[]),(0,Nr.useEffect)((()=>{var r;const o=new Set(ye);let i=n;if(!i&&e&&(i=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),i)try{document.querySelectorAll(i).forEach((e=>{o.add({current:e})}))}catch(r){console.warn(`[react-tooltip] "${i}" is not a valid CSS selector`)}const s=document.querySelector(`[id='${t}']`);if(s&&o.add({current:s}),!o.size)return()=>null;const a=null!==(r=null!=me?me:s)&&void 0!==r?r:ve.current,l=new MutationObserver((e=>{e.forEach((e=>{var t;if(!a||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=be(a);we(n)}))})),c={attributes:!0,childList:!1,subtree:!1};if(a){const e=be(a);we(e),l.observe(a,c)}return()=>{l.disconnect()}}),[ye,ve,me,t,n]),(0,Nr.useEffect)((()=>{(null==A?void 0:A.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),R&&!zo("border",`${R}`)&&console.warn(`[react-tooltip] "${R}" is not a valid \`border\`.`),(null==A?void 0:A.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),O&&!zo("opacity",`${O}`)&&console.warn(`[react-tooltip] "${O}" is not a valid \`opacity\`.`)}),[]);let xe=d;const Se=(0,Nr.useRef)(null);if(i){const e=i({content:(null==me?void 0:me.getAttribute("data-tooltip-content"))||z||null,activeAnchor:me});xe=e?Nr.createElement("div",{ref:Se,className:"react-tooltip-content-wrapper"},e):null}else z&&(xe=z);$&&(xe=Nr.createElement(ni,{content:$}));const ke={forwardRef:V,id:e,anchorId:t,anchorSelect:n,className:Do(s,he),classNameArrow:a,content:xe,contentWrapperRef:Se,place:G,variant:K,offset:X,wrapper:ae,events:ce,openOnClick:f,positionStrategy:pe,middlewares:g,delayShow:Q,delayHide:te,float:re,hidden:ie,noArrow:w,clickable:x,closeOnEsc:S,closeOnScroll:k,closeOnResize:E,openEvents:C,closeEvents:T,globalCloseEvents:P,imperativeModeOnly:j,style:A,position:I,isOpen:N,defaultIsOpen:L,border:R,opacity:O,arrowColor:M,setIsOpen:D,afterShow:F,afterHide:q,activeAnchor:me,setActiveAnchor:e=>ge(e),role:H};return Nr.createElement(ti,{...ke})}));"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||Ho({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ho({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})}));var oi=n(4242),ii=n(6106);function si(e){let t=e.tooltipId,n=e.tooltip;return e.tooltipId||"string"!=typeof e.tooltip||(t=e.tooltip),t||(t=(Math.random()+1).toString(36).substring(7)),"string"==typeof e.tooltip&&(n=(0,ii.jsx)("span",{style:{pointerEvents:"all",maxWidth:"400px",display:"inline-block"},children:(0,oi.Ay)(e.tooltip)})),(0,ii.jsxs)("span",{className:e.className,children:[(0,ii.jsx)("span",{style:{cursor:"pointer"},className:"tooltip dashicons dashicons-editor-help","data-tip":!0,"data-tooltip-id":t}),(0,ii.jsx)(ri,{globalEventOff:"click",openOnClick:!0,className:"mailpoet-tooltip-message",id:t,place:e.place,children:n})]})}si.propTypes={tooltipId:Ir().string,tooltip:Ir().node.isRequired,place:Ir().string,className:Ir().string};var ai=n(9124);const li={show:function(e,t){(0,ai.H)(e).render((0,Nr.createElement)(si,{tooltip:t.tooltip,tooltipId:t.tooltipId,place:t.place}))}},ci={marginY:20,autoSize:function(e){e&&this.setSize(e,e.contentWindow.document.body.scrollHeight)},setSize:function(e,t){e&&(e.style.height=parseInt(t,10)+this.marginY+"px")}},ui=e=>`post.php?post=${e}&action=edit`,pi=(e,t="")=>{const n="admin.php?page=mailpoet-newsletter-editor",r=encodeURIComponent(String(e));return t?`${n}&id=${r}&context=${encodeURIComponent(t)}`:`${n}&id=${r}`},di={FeaturesController:(hi=window.mailpoet_feature_flags,{FEATURE_BRAND_TEMPLATES:"brand_templates",isSupported:e=>hi[e]||!1}),MailPoetComUrlFactory:(e=>{const t="https://www.mailpoet.com/",n="https://account.mailpoet.com/",r=(t,n,r)=>{let o=r;e&&(o.ref=e);const i=new URL(n,t);return Object.keys(o).forEach((e=>{"object"==typeof o[e]?Object.entries(o[e]).forEach((([t,n])=>{i.searchParams.set(`${e}[${t}]`,n)})):i.searchParams.set(e,o[e])})),i.toString()};return{getFreePlanUrl:e=>{const n="object"==typeof e?e:{};return n.utm_source="plugin",r(t,"free-plan",n)},getPricingPageUrl:e=>r(t,"pricing",{subscribers:e}),getUpgradeUrl:(e,t)=>r(n,"/orders/upgrade/"+e,"object"==typeof t?t:{}),getPurchasePlanUrl:(e,t,o,i)=>{let s={s:e};return"string"==typeof t&&(s.email=t),"string"==typeof o&&(s.g=o),"object"==typeof i&&(s.utm_source="plugin",s=Object.assign(s,i)),r(n,"/",s)}}})(window.mailpoet_referral_id),version:window.mailpoet_version,premiumVersion:window.mailpoet_premium_version,premiumLink:window.mailpoet_premium_link,isWoocommerceActive:window.mailpoet_woocommerce_active,isWoocommerceBookingsActive:window.mailpoet_woocommerce_bookings_active,isWoocommerceSubscriptionsActive:window.mailpoet_woocommerce_subscriptions_active,WooCommerceStoreConfig:window.mailpoet_woocommerce_store_config,premiumActive:window.mailpoet_premium_active,subscribersLimit:window.mailpoet_subscribers_limit,subscribersLimitReached:window.mailpoet_subscribers_limit_reached,subscribersCount:window.mailpoet_subscribers_count,hasPremiumSupport:window.mailpoet_has_premium_support,hasValidApiKey:window.mailpoet_has_valid_api_key,hasValidPremiumKey:window.mailpoet_has_valid_premium_key,hasValidMssApiKey:window.mailpoet_mss_key_valid,hasInvalidMssApiKey:window.mailpoet_mss_key_invalid,mtaMethod:window.mailpoet_mta_method,mtaLog:window.mailpoet_mta_log,listingPerPage:window.mailpoet_listing_per_page,libs3rdPartyEnabled:window.mailpoet_3rd_party_libs_enabled,apiVersion:window.mailpoet_api_version,emailRegex:window.mailpoet_email_regex,wpSegmentState:window.mailpoet_wp_segment_state,wpWeekStartsOn:window.mailpoet_wp_week_starts_on,urls:window.mailpoet_urls,subscribersCountsCacheCreatedAt:window.mailpoet_subscribers_counts_cache_created_at,getShortcodeLinks:()=>window.mailpoet_shortcode_links?window.mailpoet_shortcode_links:{},trackingConfig:window.mailpoet_tracking_config,I18n:p,Date:f,Ajax:ir,Modal:cr,Notice:ur,trackEvent:Tr,forceTrackEvent:Pr,Num:jr,helpTooltip:li,Iframe:ci,isPremiumPluginInstalled:window.mailpoet_premium_plugin_installed,premiumPluginDownloadUrl:window.mailpoet_premium_plugin_download_url,premiumPluginActivationUrl:window.mailpoet_premium_plugin_activation_url,pluginPartialKey:window.mailpoet_plugin_partial_key,emailVolumeLimit:window.mailpoet_email_volume_limit,emailVolumeLimitReached:window.mailpoet_email_volume_limit_reached,capabilities:window.mailpoet_capabilities,tier:window.mailpoet_tier,currentWpUserEmail:window.mailpoet_current_wp_user_email,freeMailDomains:window.mailpoet_free_domains||[],installedAt:window.mailpoet_installed_at,installedDaysAgo:window.mailpoet_installed_days_ago,emailEditorTutorialSeen:window.mailpoet_email_editor_tutorial_seen,emailEditorTutorialUrl:window.mailpoet_email_editor_tutorial_url,deactivateSubscriberAfterInactiveDays:window.mailpoet_deactivate_subscriber_after_inactive_days,tags:window.mailpoet_tags,cdnUrl:window.mailpoet_cdn_url,mainPageSlug:window.mailpoet_main_page_slug,transactionalEmailsEnabled:window.mailpoet_send_transactional_emails,transactionalEmailsOptInNoticeDismissed:window.mailpoet_transactional_emails_opt_in_notice_dismissed,mailFunctionEnabled:window.mailpoet_mail_function_enabled,corrupt_newsletters:window.corrupt_newsletters??[],adminPluginsUrl:window.mailpoet_admin_plugins_url,isDotcom:window.mailpoet_is_dotcom,cronTriggerMethod:window.mailpoet_cron_trigger_method,useBlockEmailEditorForAutomationNewsletter:window?.mailpoet_use_block_email_editor_for_automation_emails??!1,getBlockEmailEditorUrl:ui,getNewsletterEditorUrl:pi,getActiveEmailEditorUrl:(e,t="")=>e&&e.id?e.wp_post_id?ui(e.wp_post_id):pi(e.id,t):"#"};var hi;window.MailPoet=di,function(){let e,t=0;const n=()=>{window.MailPoet.forceTrackEvent=vr,window.mailpoet_analytics_enabled&&window.mailpoet_3rd_party_libs_enabled?(window.MailPoet.trackEvent=vr,window.MailPoet.queueTrackEvent=Er,window.MailPoet.processAllCachedEvents=Cr):(window.MailPoet.trackEvent=function(e,t,n,r){"function"==typeof r&&r()},window.MailPoet.queueTrackEvent=function(e,t,n,r){"function"==typeof r&&r()},window.MailPoet.processAllCachedEvents=function(){}),xr(),Sr();const e=()=>{window.mailpoetTracks&&"function"==typeof window.mailpoetTracks.flushQueue&&window.mailpoetTracks.flushQueue()};window.addEventListener("beforeunload",e),window.addEventListener("pagehide",e),setInterval(e,3e4)},r=()=>"object"==typeof window.mixpanel||!0;r()?n():e=setInterval((()=>{r()?(clearInterval(e),n()):t+=1,t>5&&clearInterval(e)}),100)}();const fi=window.wp.element,mi=window.wp.compose,gi=(window.wp.formatLibrary,window.wp.blocks);function _i(){try{return(0,gi.getBlockTypes)().filter((e=>!0===e.supports?.email)).map((e=>e.name))}catch(e){return console.error("Failed to get allowed block names:",e),[]}}const yi=window.wp.blockLibrary,vi=window.wp.blockEditor,bi=new Map;function wi(e,t){const n=(0,gi.getBlockType)(e);if(!n)return!1;const{name:r,...o}=n;try{bi.has(r)||bi.set(r,{...o});const e=t(o),n={...o,...e};return(0,gi.unregisterBlockType)(r),(0,gi.registerBlockType)(r,n),!0}catch(t){return console.error("Failed to update block settings for",e,t),!1}}const xi=new Set,Si=new Set;function ki(e,t){return`${e}||${t}`}function Ei(e,t,n,r){(0,o.addFilter)(e,t,n,r),xi.add(ki(e,t))}function Ci(e,t,n,r){(0,o.addAction)(e,t,n,r),Si.add(ki(e,t))}const Ti=(0,mi.createHigherOrderComponent)((e=>function(t){return"core/columns"!==t.name?(0,ii.jsx)(e,{...t}):(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(e,{...t}),(0,ii.jsx)(vi.InspectorControls,{children:(0,ii.jsx)("style",{children:"\n .components-panel__body .components-toggle-control .components-form-toggle { opacity: 0.3; }\n .components-panel__body .components-toggle-control .components-form-toggle__input { pointer-events: none; }\n .components-panel__body .components-toggle-control label { pointer-events: none; }\n "})})]})}),"columnsEditCallback"),Pi=["core/column","core/columns"];function ji({layoutClassNames:e}){const t=(0,vi.useBlockProps)({className:e});return(0,ii.jsxs)("div",{...t,children:[(0,ii.jsx)("p",{children:(0,i.__)("This is the Content block.","woocommerce")}),(0,ii.jsx)("p",{children:(0,i.__)("It will display all the blocks in the email content, which might be only simple text paragraphs. You can enrich your message with images, incorporate data through tables, explore different layout designs with columns, or use any other block type.","woocommerce")})]})}const Ai=(0,mi.createHigherOrderComponent)((e=>function(t){return"core/image"!==t.name?(0,ii.jsx)(e,{...t}):(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(e,{...t}),(0,ii.jsx)(vi.InspectorControls,{children:(0,ii.jsx)("style",{children:"\n .components-tools-panel .components-toggle-control { display: none; }\n "})})]})}),"imageEditCallback"),Ii=window.wp.richText,Ni=window.wp.components,Li=(e,t)=>{const n=e.current.ownerDocument.defaultView.getSelection();if(!n.rangeCount)return{start:0,end:0};const r=n.getRangeAt(0);if(null===n.anchorNode.previousSibling)return{start:n.anchorOffset,end:n.anchorOffset+r.toString().length};const o=(0,Ii.create)({html:t});let i=n.anchorNode.previousSibling;i=function(e){let t=e;for(;t&&t?.children?.length>0;)t=t.children[0];return t}(i);const s=function(e,t){let n=null;for(const[r,o]of t.entries())if(o)for(const t of o)t?.attributes&&e.tagName.toLowerCase()===t.tagName?.toLowerCase()&&e.getAttribute("data-link-href")===t?.attributes["data-link-href"]&&(n=r);return n}(i,o.formats);if(null!==s)return{start:s+n.anchorOffset+1,end:s+n.anchorOffset+r.toString().length};const a=function(e,t){for(const[n,r]of t.entries()){if(!r)continue;const{attributes:t}=r;if(e.getAttribute("data-rich-text-comment")===t["data-rich-text-comment"])return n}return null}(i,o.replacements);return null!==a?{start:a+n.anchorOffset+1,end:a+n.anchorOffset+r.toString().length}:{start:o.text.length,end:o.text.length+r.toString().length}},Bi=(e,t)=>(t.forEach((t=>{if(!e.includes(t.token.slice(0,t.token.length-1)))return;const n=t.token.substring(1,t.token.length-1).replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=new RegExp(`(?<!\x3c!--)(?<!["'])\\[(${n}(\\s[^\\]]*)?)\\](?!--\x3e)`,"g");e=e.replace(r,(e=>`\x3c!--${e}--\x3e`))})),e),Ri=({groupedTags:e,activeCategory:t,onCategorySelect:n})=>{const r=e=>e===t?"woocommerce-personalization-tags-modal-menu-item-active":"";return(0,ii.jsxs)(Ni.MenuGroup,{className:"woocommerce-personalization-tags-modal-menu",children:[(0,ii.jsx)(Ni.MenuItem,{onClick:()=>n(null),className:r(null),children:(0,i.__)("All","woocommerce")}),(0,ii.jsx)("div",{className:"woocommerce-personalization-tags-modal-menu-separator","aria-hidden":"true",role:"presentation","data-testid":"woocommerce-personalization-tags-modal-menu-separator"}),Object.keys(e).map(((e,t,o)=>(0,ii.jsxs)(fi.Fragment,{children:[(0,ii.jsx)(Ni.MenuItem,{onClick:()=>n(e),className:r(e),children:e}),t<o.length-1&&(0,ii.jsx)("div",{className:"woocommerce-personalization-tags-modal-menu-separator","aria-hidden":"true",role:"presentation","data-testid":"woocommerce-personalization-tags-modal-menu-separator"})]},e)))]})},Oi=({groupedTags:e,activeCategory:t,onInsert:n,canInsertLink:r,closeCallback:o,openLinkModal:a})=>{const{updateBlockAttributes:l}=(0,s.useDispatch)(vi.store),c=(0,s.useSelect)((e=>e(vi.store).getSelectedBlockClientId())),u=(0,s.useSelect)((e=>e(vi.store).getBlock(c))),p=["core/button"].includes(u?.name),d=null===t?Object.entries(e):[[t,e[t]||[]]];return(0,ii.jsx)(ii.Fragment,{children:d.map((([e,t])=>(0,ii.jsxs)("div",{children:[(0,ii.jsx)("div",{className:"woocommerce-personalization-tags-modal-category",children:e}),(0,ii.jsx)("div",{className:"woocommerce-personalization-tags-modal-category-group",children:t.map((t=>{const s=/\burl\b/.test(t.token);return(0,ii.jsxs)("div",{className:"woocommerce-personalization-tags-modal-category-group-item",children:[(0,ii.jsxs)("div",{className:"woocommerce-personalization-tags-modal-item-text",children:[(0,ii.jsx)("strong",{children:t.name}),t.valueToInsert]}),(0,ii.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[(0,ii.jsx)(Ni.Button,{variant:"link",onClick:()=>{n&&n(t.valueToInsert,!1)},children:(0,i.__)("Insert","woocommerce")}),p&&s&&(0,ii.jsx)(Ni.Button,{variant:"link",onClick:()=>{l(c,{url:t.valueToInsert}),o()},children:(0,i.__)("Set as URL","woocommerce")}),e===(0,i.__)("Link","woocommerce")&&r&&(0,ii.jsx)(ii.Fragment,{children:(0,ii.jsx)(Ni.Button,{variant:"link",onClick:()=>{o(),a(t)},children:(0,i.__)("Insert as link","woocommerce")})})]})]},t.token)}))})]},e)))})},Mi=({onInsert:e,isOpened:t,closeCallback:n,tag:r})=>{const[o,s]=(0,fi.useState)((0,i.__)("Link","woocommerce"));return t?(0,ii.jsxs)(Ni.Modal,{size:"small",title:(0,i.__)("Insert Link","woocommerce"),onRequestClose:n,className:"woocommerce-personalization-tags-modal",children:[(0,ii.jsx)(Ni.TextControl,{label:(0,i.__)("Link Text","woocommerce"),value:o,onChange:s}),(0,ii.jsx)(Ni.Button,{isPrimary:!0,onClick:()=>{e&&e(r.token,o)},children:(0,i.__)("Insert","woocommerce")})]}):null},Di=window.lodash,Fi=()=>(0,o.applyFilters)("woocommerce_email_editor_events_tracking_enabled",!1),qi="email_editor_events",Hi=new EventTarget,Vi=(e,t={})=>{if(!Fi())return;const n={name:`${qi}_${e}`,..."object"!=typeof t?{data:t}:t};Hi.dispatchEvent(new CustomEvent(qi,{detail:n}))},zi=function(){const e={};return(t,n={})=>{if(!Fi())return;const r=`${t}_${JSON.stringify(n).length}`;e[r]||(Vi(t,n),e[r]=!0)}}(),Ui=(0,Di.debounce)(Vi,700),$i="email-editor/editor",Wi={name:"personalization_tag",kind:"root",baseURL:"/woocommerce-email-editor/v1/personalization_tags",key:"token"},Gi=({onInsert:e,isOpened:t,closeCallback:n,canInsertLink:r=!1,openedBy:o=""})=>{const[a,l]=(0,fi.useState)(null),[c,u]=(0,fi.useState)(""),[p,d]=(0,fi.useState)(null),[h,f]=(0,fi.useState)(!1),m=(0,s.useSelect)((e=>e($i).getPersonalizationTagsList()),[]);if(h)return(0,ii.jsx)(Mi,{onInsert:(t,n)=>{e(t,n),f(!1)},isOpened:h,closeCallback:()=>f(!1),tag:p});if(!t)return null;zi("personalization_tags_modal_opened",{openedBy:o});const g=m.reduce(((e,t)=>{const{category:n,name:r,token:o}=t;return(!c||r.toLowerCase().includes(c.toLowerCase())||o.toLowerCase().includes(c.toLowerCase()))&&(e[n]||(e[n]=[]),e[n].push(t)),e}),{});return(0,ii.jsxs)(Ni.Modal,{size:"medium",title:(0,i.__)("Personalization Tags","woocommerce"),onRequestClose:()=>{n(),Vi("personalization_tags_modal_closed",{openedBy:o})},className:"woocommerce-personalization-tags-modal",children:[(0,ii.jsxs)("p",{children:[(0,i.__)("Insert personalization tags to dynamically fill in information and personalize your emails.","woocommerce")," ",(0,ii.jsx)(Ni.ExternalLink,{href:"https://kb.mailpoet.com/article/435-a-guide-to-personalisation-tags-for-tailored-newsletters#list",onClick:()=>Vi("personalization_tags_modal_learn_more_link_clicked",{openedBy:o}),children:(0,i.__)("Learn more","woocommerce")})]}),(0,ii.jsx)(Ni.SearchControl,{onChange:e=>{u(e),zi("personalization_tags_modal_search_control_input_updated",{openedBy:o})},value:c}),(0,ii.jsx)(Ri,{groupedTags:g,activeCategory:a,onCategorySelect:e=>{l(e),Vi("personalization_tags_modal_category_menu_clicked",{category:e,openedBy:o})}}),(0,ii.jsx)(Oi,{groupedTags:g,activeCategory:a,onInsert:t=>{e(t),Vi("personalization_tags_modal_tag_insert_button_clicked",{insertedTag:t,activeCategory:a,openedBy:o})},closeCallback:n,canInsertLink:r,openLinkModal:e=>{d(e),f(!0)}})]})},Yi=({contentRef:e,onUpdate:t})=>{const[n,r]=(0,fi.useState)(!1),[o,s]=(0,fi.useState)(null),[a,l]=(0,fi.useState)(""),[c,u]=(0,fi.useState)("");return(0,fi.useEffect)((()=>{if(!e||!e.current)return;const t=e.current,n=e=>{const t=e.target.closest("span[data-rich-text-comment]");if(t){const e=t.innerText.replace(/^\[|\]$/g,"");u(e),l(e),s(t),r(!0)}};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}),[e]),(0,ii.jsx)(ii.Fragment,{children:n&&o&&(0,ii.jsx)(Ni.Popover,{position:"bottom right",onClose:()=>r(!1),anchor:o,className:"woocommerce-personalization-tag-popover",children:(0,ii.jsxs)("div",{className:"woocommerce-personalization-tag-popover-content",children:[(0,ii.jsx)(Ni.TextControl,{label:(0,i.__)("Personalization Tag","woocommerce"),value:a,onChange:e=>l(e),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),(0,ii.jsxs)("div",{className:"woocommerce-personalization-tag-popover-content-buttons",children:[(0,ii.jsx)(Ni.Button,{isTertiary:!0,onClick:()=>{r(!1)},children:(0,i.__)("Cancel","woocommerce")}),(0,ii.jsx)(Ni.Button,{isPrimary:!0,onClick:()=>{t(c,a),r(!1)},children:(0,i.__)("Update","woocommerce")})]})]})})})},Ki=({contentRef:e,onUpdate:t})=>{const[n,r]=(0,fi.useState)(!1),[o,a]=(0,fi.useState)(null),[l,c]=(0,fi.useState)(""),[u,p]=(0,fi.useState)(""),d=(0,s.useSelect)((e=>e($i).getPersonalizationTagsList()),[]);return(0,fi.useEffect)((()=>{if(!e||!e.current)return;const t=e.current,n=e=>{const t=e.target.closest("a[data-link-href]");t&&(a(t),p(t.getAttribute("data-link-href")||""),c(t.textContent||""),r(!0))};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}),[e]),(0,ii.jsx)(ii.Fragment,{children:n&&o&&(0,ii.jsx)(Ni.Popover,{position:"bottom left",onClose:()=>r(!1),anchor:o,className:"woocommerce-personalization-tag-popover",children:(0,ii.jsxs)("div",{className:"woocommerce-personalization-tag-popover-content",children:[(0,ii.jsx)(Ni.TextControl,{label:(0,i.__)("Link Text","woocommerce"),value:l,onChange:e=>c(e),__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,autoComplete:"off"}),(0,ii.jsx)(Ni.SelectControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:(0,i.__)("Link tag","woocommerce"),value:u,onChange:e=>{p(e)},options:d.filter((e=>e.category===(0,i.__)("Link","woocommerce"))).map((e=>({label:e.name,value:e.token})))}),(0,ii.jsxs)("div",{className:"woocommerce-personalization-tag-popover-content-buttons",children:[(0,ii.jsx)(Ni.Button,{isTertiary:!0,onClick:()=>{r(!1)},children:(0,i.__)("Cancel","woocommerce")}),(0,ii.jsx)(Ni.Button,{isPrimary:!0,onClick:()=>{r(!1),t(o,u,l)},children:(0,i.__)("Update link","woocommerce")})]})]})})})},Ji=new Set,Xi=new Map;function Zi(e,t){(0,Ii.registerFormatType)(e,t),Ji.add(e)}function Qi({contentRef:e}){const[t,n]=(0,fi.useState)(!1),r=(0,s.useSelect)((e=>e("core/block-editor").getSelectedBlockClientId())),{updateBlockAttributes:o}=(0,s.useDispatch)("core/block-editor"),a=(0,s.useSelect)((e=>e("core/block-editor").getBlockAttributes(r))),l="text"in a?"text":"content",c=a?.[l]?.originalHTML||a?.[l]||"",u=(0,fi.useCallback)(((t,n)=>{let{start:i,end:s}=Li(e,c),a="";if(n){let e=(0,Ii.create)({html:c});e=(0,Ii.insert)(e,n,i,s),s=i+n.length,e=(0,Ii.applyFormat)(e,{type:"woocommerce-email-editor/link-shortcode",attributes:{"data-link-href":t,contenteditable:"false",style:"text-decoration: underline;"}},i,s),a=(0,Ii.toHTMLString)({value:e})}else{let e=(0,Ii.create)({html:c});e=(0,Ii.insert)(e,(0,Ii.create)({html:`\x3c!--${t}--\x3e `}),i,s),a=(0,Ii.toHTMLString)({value:e})}o(r,{[l]:a})}),[c,l,e,r,o]);return(0,ii.jsx)(vi.BlockControls,{children:(0,ii.jsxs)(Ni.ToolbarGroup,{children:[(0,ii.jsx)(Ni.ToolbarButton,{icon:"shortcode",title:(0,i.__)("Personalization Tags","woocommerce"),onClick:()=>{n(!0),Vi("block_controls_personalization_tags_button_clicked")}}),(0,ii.jsx)(Yi,{contentRef:e,onUpdate:(e,t)=>{const n=c.replace(`\x3c!--[${e}]--\x3e`,`\x3c!--[${t}]--\x3e`);o(r,{[l]:n})}}),(0,ii.jsx)(Ki,{contentRef:e,onUpdate:(e,t,n)=>{const i=e.getAttribute("data-link-href").replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=new RegExp(`<a([^>]*?)data-link-href="${i}"([^>]*?)>${e.textContent}</a>`,"gi"),a=c.replace(s,((e,r,o)=>`<a${r}data-link-href="${t}"${o}>${n}</a>`));o(r,{content:a})}}),(0,ii.jsx)(Gi,{isOpened:t,onInsert:(e,t)=>{u(e,t),n(!1)},closeCallback:()=>n(!1),canInsertLink:!0,openedBy:"block-controls"})]})})}const es=(0,mi.createHigherOrderComponent)((e=>t=>{const{attributes:n,setAttributes:r,name:o}=t,{content:i}=n,a=(0,s.useSelect)((e=>e($i).getPersonalizationTagsList()),[]),l=(0,fi.useCallback)((()=>i?Bi(i,a):""),[i,a]),c=(0,fi.useCallback)((e=>{if(void 0!==e.content){const t=Bi(e.content,a);r({...e,content:t})}else r(e)}),[a,r]);return"core/paragraph"===o||"core/heading"===o||"core/list-item"===o?(0,ii.jsx)(e,{...t,attributes:{...n,content:l()},setAttributes:c}):(0,ii.jsx)(e,{...t})}),"personalizationTagsLiveContentUpdate"),ts=window.wp.domReady;var ns=n.n(ts);new Set;const rs=new Map,os=["core/social-links"];function is(){(0,gi.getBlockTypes)().forEach((e=>{const t=e.name;if(os.includes(t))return;const n=(0,s.select)("core/blocks").getBlockStyles(t);Array.isArray(n)&&0!==n?.length&&n.forEach((e=>{!function(e,t){const n=((0,s.select)("core/blocks").getBlockStyles(e)||[]).find((e=>e.name===t));if(n){const r=rs.get(e)||[];r.find((e=>e.name===t))||(r.push(n),rs.set(e,r))}(0,gi.unregisterBlockStyle)(e,t)}(t,e.name)}))}))}const ss=e=>t=>{const{setAttributes:n}=t,r=(0,fi.useCallback)((e=>{e?.url&&e.url?.startsWith("http://[")&&(e.url=e.url.replace("http://[","[")),n(e)}),[n]);return(0,ii.jsx)(e,{...t,setAttributes:r})},as=new Set;function ls(e,t){(0,gi.registerBlockVariation)(e,t),as.add(function(e,t){return`${e}||${t}`}(e,t.name))}const cs=["behance","bluesky","chain","discord","facebook","feed","github","gravatar","instagram","linkedin","mail","mastodon","medium","patreon","pinterest","reddit","spotify","telegram","threads","tiktok","tumblr","twitch","twitter","vimeo","wordpress","whatsapp","x","youtube"],us=e=>t=>{if("core/social-links"!==t.name)return(0,ii.jsx)(e,{...t});const n=`\n\t\t.block-editor-tools-panel-color-gradient-settings__item:has([title="${(0,i.__)("Icon color")}"]) {\n\t\t\tdisplay: none !important;\n\t\t}\n\t\t.block-editor-tools-panel-color-gradient-settings__item:nth-child(2 of .block-editor-tools-panel-color-gradient-settings__item){\n\t\t\tborder-top:1px solid #ddd;\n\t\t\tborder-top-left-radius:2px;\n\t\t\tborder-top-right-radius:2px;\n\t\t}\n\t\t`;return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(e,{...t}),(0,ii.jsx)(vi.InspectorControls,{group:"color",children:(0,ii.jsx)("style",{children:n})})]})};const ps=window.wp.privateApis,{unlock:ds}=(0,ps.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/edit-site"),{ColorPanel:hs}=ds(vi.privateApis),{useGlobalStylesOutputWithConfig:fs}=ds(vi.privateApis),{Editor:ms,FullscreenMode:gs,ViewMoreMenuGroup:_s,BackButton:ys}=ds(l.privateApis),vs=void 0!==fs,{registerEntityAction:bs,unregisterEntityAction:ws}=ds((0,s.dispatch)(l.store)),xs=fs||(()=>[[],{}]),Ss=window.wp.notices,ks=window.wp.primitives,Es=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})}),Cs=window.wp.htmlEntities;function Ts(e){return"string"==typeof e.title?(0,Cs.decodeEntities)(e.title):e.title&&"rendered"in e.title?(0,Cs.decodeEntities)(e.title.rendered):e.title&&"raw"in e.title?(0,Cs.decodeEntities)(e.title.raw):""}function Ps(e,t){return t?e.length>1?(0,i.sprintf)( 2 2 // translators: %d: number of items to delete. 3 3 // translators: %d: number of items to delete. … … 26 26 /* translators: %s: a list of comma separated error messages */ 27 27 /* translators: %s: a list of comma separated error messages */ 28 (0,i.__)("Some errors occurred while performing the action: %s","woocommerce"),[...t].join(","))}Vi("trash_modal_move_to_trash_error",{errorMessage:e}),u(e,{type:"snackbar"})}l(!1),n?.()},isBusy:o,disabled:o,__next40pxDefaultSize:!0,children:e?(0,i.__)("Delete permanently","woocommerce"):(0,i.__)("Move to trash","woocommerce")})]})]})}}})())};function As(){(0,gi.getBlockType)("core/paragraph")||(0,yi.registerCoreBlocks)(),Ei("editor.BlockEdit","woocommerce-email-editor/filter-set-url-attribute",ss),Ei("editor.BlockEdit","woocommerce-email-editor/deactivate-stack-on-mobile",Ti),Ei("editor.BlockEdit","woocommerce-email-editor/hide-expand-on-click",Ai),wi("core/image",(e=>({...e,supports:{...e.supports||{},filter:{...e.supports?.filter||{},duetone:!1}}}))),["core/image","core/code","core/language"].forEach((e=>{!function(e){const t=(0,Ii.unregisterFormatType)(e);t&& Ji.set(e,t)}(e)})),Pi.forEach((e=>{wi(e,(e=>({...e,supports:{...e.supports||{},layout:!1,background:{...e.support?.background||{},backgroundImage:!0}}})))})),wi("core/group",(e=>{const t=e.variations??[];return{...e,variations:t.filter((e=>"group"===e.name)),supports:{...e.supports||{},layout:!1}}})),wi("core/buttons",(e=>({...e,supports:{...e.supports??{},layout:!1,__experimentalEmailFlexLayout:!0}}))),wi("core/post-content",(e=>{return{...e,edit:(t=e.edit,function(e){const{postId:n,postType:r}=e.context,{__unstableLayoutClassNames:o}=e;return n&&r?(0,ii.jsx)(t,{...e}):(0,ii.jsx)(ji,{layoutClassNames:o})})};var t})),wi("core/quote",(e=>({...e,styles:[],supports:{...e.supports,align:[]}}))),Xi("woocommerce-email-editor/shortcode",{name:"woocommerce-email-editor/shortcode",title:(0,i.__)("Personalization Tags","woocommerce"),className:"woocommerce-email-editor-personalization-tags",tagName:"span",attributes:{},interactive:!0,edit:Qi}),Xi("woocommerce-email-editor/link-shortcode",{name:"woocommerce-email-editor/link-shortcode",title:(0,i.__)("Personalization Tags Link","woocommerce"),className:"woocommerce-email-editor-personalization-tags-link",tagName:"a",attributes:{"data-link-href":"data-link-href",contenteditable:"contenteditable",style:"style"},interactive:!0,edit:null}),Ei("editor.BlockEdit","woocommerce-email-editor/with-live-content-update",es),(0,gi.getBlockTypes)().forEach((e=>{e.supports?.shadow&&wi(e.name,(e=>({...e,supports:{...e.supports,shadow:!1}})))})),wi("core/social-link",(e=>({...e,variations:(e.variations||[]).filter((e=>cs.includes(e.name))),supports:{...e.supports,layout:!1}}))),ls("core/social-links",{name:"social-links-default",title:"Social Icons",attributes:{openInNewTab:!0,showLabels:!1,align:"center",className:"is-style-logos-only"},isDefault:!0,innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"x",url:"https://x.com/WordPress"}}]}),Ei("editor.BlockEdit","woocommerce-email-editor/disable-social-links-icon-color",us),Ci("core.registerPostTypeSchema","woocommerce-email-editor/modify-move-to-trash-action",(e=>{js(e)})),Ci("core.registerPostTypeActions","woocommerce-email-editor/modify-move-to-trash-action",(e=>{js(e)})),ls("core/site-logo",{name:"site-logo-default",title:"Site Logo",attributes:{align:"center",width:120},isDefault:!0}),ns()(is)}function Is(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Is(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const Ns=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})}),Ls=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z"})}),Bs=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})}),Rs="__experimentalEmailFlexLayout";function Os(e){return(0,gi.hasBlockSupport)(e,Rs)}function Ms({justificationValue:e,onChange:t,isToolbar:n=!1}){const r=[{value:"left",icon:Ns,label:(0,i.__)("Justify items left","woocommerce")},{value:"center",icon:Ls,label:(0,i.__)("Justify items center","woocommerce")},{value:"right",icon:Bs,label:(0,i.__)("Justify items right","woocommerce")}];if(n){const n=r.map((e=>e.value));return(0,ii.jsx)(vi.JustifyContentControl,{value:e,onChange:t,allowedControls:n,popoverProps:{placement:"bottom-start"}})}return(0,ii.jsx)(Ni.__experimentalToggleGroupControl,{__nextHasNoMarginBottom:!0,label:(0,i.__)("Justification","woocommerce"),value:e,onChange:t,className:"block-editor-hooks__flex-layout-justification-controls",children:r.map((({value:e,icon:t,label:n})=>(0,ii.jsx)(Ni.__experimentalToggleGroupControlOptionIcon,{value:e,icon:t,label:n},e)))})}function Ds({setAttributes:e,attributes:t,name:n}){if(!(0,gi.getBlockSupport)(n,Rs,{}))return null;const{justifyContent:r="left"}=t.layout||{},o=n=>{e({layout:{...t.layout,justifyContent:n}})},s=()=>{const{justifyContent:n,...r}=t.layout||{};e({layout:r})};return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(vi.InspectorControls,{children:(0,ii.jsx)(Ni.__experimentalToolsPanel,{label:(0,i.__)("Layout","woocommerce"),resetAll:s,children:(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{isShownByDefault:!0,onDeselect:s,hasValue:()=>t.layout?.justifyContent||!1,label:(0,i.__)("Justification","woocommerce"),children:(0,ii.jsx)(Ni.Flex,{children:(0,ii.jsx)(Ni.FlexItem,{children:(0,ii.jsx)(Ms,{justificationValue:r,onChange:o})})})})})}),(0,ii.jsx)(vi.BlockControls,{group:"block",__experimentalShareWithChildBlocks:!0,children:(0,ii.jsx)(Ms,{justificationValue:r,onChange:o,isToolbar:!0})})]})}const Fs=(0,mi.createHigherOrderComponent)((e=>t=>[Os(t.name)&&(0,ii.jsx)(Ds,{...t},"layout"),(0,ii.jsx)(e,{...t},"edit")]),"withLayoutControls");function qs({block:e,props:t}){const{attributes:n}=t,{layout:r}=n,o=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Is(e))&&(r&&(r+=" "),r+=t);return r}(`is-content-justification-${r?.justifyContent||"left"}`,"is-layout-email-flex is-layout-flex");return(0,ii.jsx)(e,{...t,className:o})}const Hs=(0,mi.createHigherOrderComponent)((e=>function(t){return Os(t.name)?(0,ii.jsx)(qs,{block:e,props:t}):(0,ii.jsx)(e,{...t})}),"withLayoutStyles");const Vs=window.wp.commands;var zs=n(6838),Us=n.n(zs);function $s(){const{globalStylePost:e}=(0,s.useSelect)((e=>({globalStylePost:e($i).getGlobalEmailStylesPost()||null})),[]),t=(0,fi.useCallback)((t=>{e&&(0,s.dispatch)(a.store).editEntityRecord("root","globalStyles",e.id,{styles:t.styles,settings:t.settings})}),[e]);return{userTheme:{settings:e?.settings,styles:e?.styles},updateUserTheme:t}}function Ws(e){if("string"!=typeof e)return null;const t=e.match(/^var:preset\|([a-zA-Z0-9-]+)\|([a-zA-Z0-9-]+)$/);return t?`--wp--preset--${t[1]}--${t[2]}`:null}function Gs(e){const t=Ws(e);return t?`var(${t})`:e}function Ys(e){const t=Ws(e);if(!t)return e;const n=document.querySelector(":root");return n&&getComputedStyle(n).getPropertyValue(t).trim()||e}const Ks=[];function Zs(){const{userTheme:e}=$s(),{editorTheme:t,layout:n,deviceType:r,editorSettingsStyles:o}=(0,s.useSelect)((e=>{const{getEditorSettings:t,getDeviceType:n}=e(l.store),r=t();return{editorTheme:e($i).getTheme(),layout:r?.__experimentalFeatures?.layout,deviceType:n(),editorSettingsStyles:r?.styles}}),[]),i=(0,fi.useMemo)((()=>Us().all([{},t||{},e||{}])),[t,e]),[a]=xs(i);let c="";n&&"Mobile"!==r&&(c=`display:flow-root; width:${n?.contentSize}; margin: 0 auto;box-sizing: border-box;max-width: 100%;`);const u=i.styles?.spacing?.padding;return u&&(c+=`padding-left:${Gs(u.left)};`,c+=`padding-right:${Gs(u.right)};`),[(0,fi.useMemo)((()=>vs?[...a??[],{css:`.is-root-container{ ${c} }`},...o??[]]:Ks),[a,o,c])||Ks]}const Js=()=>{const e=".editor-preview-dropdown__button-external",t=async t=>{const n=t.target,r=n?.closest(e);if(!r)return;const o=(0,s.select)(l.store),a=o?.isEditedPostDirty();a&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),(0,s.dispatch)(Ss.store).createNotice("warning",(0,i.__)("You have unsaved changes. Please save the post before previewing.","woocommerce"),{context:"email-editor",isDismissible:!0}))},n=(0,fi.useCallback)((n=>{try{const r=n.target;"Enter"!==n.key&&" "!==n.key||!r?.closest(e)||t(n)}catch(e){console.warn("Preview save message guard error:",e)}}),[e]);return(0,fi.useEffect)((()=>(document.addEventListener("click",t,!0),document.addEventListener("auxclick",t,!0),document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("click",t,!0),document.removeEventListener("auxclick",t,!0),document.removeEventListener("keydown",n,!0)})),[n]),null},Xs=[];function Qs(e,t){return e.map((e=>"core/post-content"===e.name?{...e,name:"core/group",innerBlocks:t}:e.innerBlocks?.length?{...e,innerBlocks:Qs(e.innerBlocks,t)}:e))}const ea={};function ta(e="",t=!0){const{templates:n,patterns:r,emailPosts:i,hasEmailPosts:a}=(0,s.useSelect)((n=>{const r=t&&"swap"!==e?n($i).getSentEmailEditorPosts():void 0;return{templates:n($i).getEmailTemplates(),patterns:n($i).getBlockPatternsForEmailTemplate(),emailPosts:r,hasEmailPosts:!(!r||!r?.length)}}),[e,t]),l=(0,fi.useMemo)((()=>{let t=[];const o=e&&(0,gi.parse)(e);if(t=o?[{blocks:o}]:r,!t||!n)return Xs;const i=[];return n?.filter((e=>"email-general"!==e.slug))?.forEach((e=>{t?.forEach((t=>{let n=(0,gi.parse)(e.content?.raw);n=Qs(n,t.blocks),i.push({id:e.id,slug:e.slug,previewContentParsed:n,emailParsed:t.blocks,template:e,category:"basic",type:e.type,displayName:t.title?`${e.title.rendered} - ${t.title}`:e.title.rendered})}))})),i}),[n,r,e]),c=(0,fi.useMemo)((()=>i?.map((e=>{const t=(0,o.applyFilters)("woocommerce_email_editor_preferred_template_title","",e),{postTemplateContent:n}=function(e,t=[]){const n=e.template,r={postTemplateContent:null};if(!n)return r;if(ea[n])return ea[n];const o=t.find((e=>e.slug===n));if(!o)return r;const i={postTemplateContent:o?.template};return ea[n]=i,i}(e,l),r=(0,gi.parse)(e.content?.raw);let i=r;n?.content?.raw&&(i=Qs((0,gi.parse)(n?.content?.raw),r));const s={...e,title:{raw:e.title.raw,rendered:t||e.title.rendered}};return{id:e.id,slug:e.slug,previewContentParsed:i,emailParsed:r,category:"recent",type:e.type,displayName:s.title.rendered,template:s}}))),[i,l]);return[l||Xs,c||Xs,a]}const na=(0,fi.forwardRef)((({icon:e,size:t=24,...n},r)=>(0,fi.cloneElement)(e,{width:t,height:t,...n,ref:r}))),ra=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"})}),oa=(0,ii.jsx)(ks.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,ii.jsx)(ks.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})}),ia=(0,window.wp.priorityQueue.createQueue)();function sa({children:e,placeholder:t}){const[n,r]=(0,fi.useState)(!1);return(0,fi.useEffect)((()=>{const e={};return ia.add(e,(()=>{(0,fi.flushSync)((()=>{r(!0)}))})),()=>{ia.cancel(e)}}),[]),n?e:t}function aa(){return(0,ii.jsxs)("div",{className:"block-editor-inserter__no-results",children:[(0,ii.jsx)(na,{className:"block-editor-inserter__no-results-icon",icon:ra}),(0,ii.jsx)("p",{children:(0,i.__)("No recent templates.","woocommerce")}),(0,ii.jsx)("p",{children:(0,i.__)("Your recent creations will appear here as soon as you begin.","woocommerce")})]})}const la=(0,fi.memo)((function({templates:e,onTemplateSelection:t,selectedCategory:n}){const{layout:r}=(0,s.useSelect)((e=>{const{getEditorSettings:t}=e(l.store),n=t();return{layout:n?.__experimentalFeatures?.layout}})),[o]=Zs(),a=o.reduce(((e,t)=>e+(t.css??"")),"")+`.is-root-container { width: ${r.contentSize}; margin: 0 auto; }`;return"recent"===n&&0===e.length?(0,ii.jsx)(aa,{}):(0,ii.jsx)("div",{className:"block-editor-block-patterns-list",role:"listbox",children:e.map((e=>(0,ii.jsx)("div",{className:"block-editor-block-patterns-list__list-item email-editor-pattern__list-item",children:(0,ii.jsx)("div",{className:"block-editor-block-patterns-list__item",role:"button",tabIndex:0,onClick:()=>{t(e)},onKeyPress:n=>{"Enter"!==n.key&&" "!==n.key||t(e)},children:(0,ii.jsxs)(sa,{placeholder:(0,ii.jsx)("p",{children:(0,i.__)("rendering template","woocommerce")}),children:[(0,ii.jsx)(vi.BlockPreview,{blocks:e.previewContentParsed,viewportWidth:900,minHeight:300,additionalStyles:[{css:a}]}),(0,ii.jsx)(Ni.__experimentalHStack,{className:"block-editor-patterns__pattern-details",children:(0,ii.jsx)("h4",{className:"block-editor-block-patterns-list__item-title",children:e.displayName})})]})})},`${e.slug}_${e.displayName}_${e.id}`)))})}),((e,t)=>e.templates.length===t.templates.length&&e.selectedCategory===t.selectedCategory));function ca({templates:e,onTemplateSelection:t,selectedCategory:n}){const r=(0,fi.useMemo)((()=>e.filter((e=>e.category===n))),[n,e]);return(0,ii.jsxs)("div",{className:"block-editor-block-patterns-explorer__list",children:["recent"===n&&(0,ii.jsx)("div",{className:"email-editor-recent-templates-info",children:(0,ii.jsxs)(Ni.__experimentalHStack,{spacing:1,expanded:!1,justify:"start",children:[(0,ii.jsx)(na,{icon:oa}),(0,ii.jsx)("p",{children:(0,i.__)("Templates created on the legacy editor will not appear here.","woocommerce")})]})}),(0,ii.jsx)(la,{templates:r,onTemplateSelection:t,selectedCategory:n})]})}function ua({selectedCategory:e,templateCategories:t,onClickCategory:n}){const r="block-editor-block-patterns-explorer__sidebar";return(0,ii.jsx)("div",{className:r,children:(0,ii.jsx)("div",{className:`${r}__categories-list`,children:t.map((({name:t,label:o})=>(0,ii.jsx)(Ni.Button,{label:o,className:`${r}__categories-list__item`,isPressed:e===t,onClick:()=>{n(t)},children:o},t)))})})}const pa=[{name:"recent",label:"Recent"},{name:"basic",label:"Basic"}],da=(0,fi.memo)((function({hasEmailPosts:e,templates:t,handleTemplateSelection:n,templateSelectMode:r}){const[o,i]=(0,fi.useState)(pa[1].name),s="swap"===r,a=pa.filter((({name:e})=>"recent"!==e||!s));return(0,fi.useEffect)((()=>{setTimeout((()=>{e&&!s&&i(pa[0].name)}),1e3)}),[e,s]),(0,ii.jsxs)("div",{className:"block-editor-block-patterns-explorer",children:[(0,ii.jsx)(ua,{templateCategories:a,selectedCategory:o,onClickCategory:e=>{Vi("template_select_modal_category_change",{category:e}),i(e)}}),(0,ii.jsx)(ca,{templates:t,onTemplateSelection:n,selectedCategory:o})]})}));function ha({onSelectCallback:e,closeCallback:t=null,previewContent:n="",postType:r}){const o=n?"swap":"new";zi("template_select_modal_opened",{templateSelectMode:o});const[a,c,u]=ta(n),p=a?.length>0,d=t=>{const i=t.type===r,a=t.template;Vi("template_select_modal_template_selected",{templateSlug:t.slug,templateSelectMode:o,templateType:t.type}),n||(0,s.dispatch)(l.store).resetEditorBlocks(t.emailParsed),(0,s.dispatch)($i).setTemplateToPost(i?a.template:t.slug),e()},h=()=>{const e=a[0]??null;e&&(Vi("template_select_modal_handle_close_without_template_selected"),d(e))};return(0,ii.jsxs)(Ni.Modal,{title:"new"===o?(0,i.__)("Start with an email preset","woocommerce"):(0,i.__)("Select a template","woocommerce"),onRequestClose:()=>(Vi("template_select_modal_closed",{templateSelectMode:o}),t?t():h()),isFullScreen:!0,children:[(0,ii.jsx)(da,{hasEmailPosts:u,templates:[...a,...c],handleTemplateSelection:d,templateSelectMode:o}),(0,ii.jsx)(Ni.Flex,{className:"email-editor-modal-footer",justify:"flex-end",children:(0,ii.jsx)(Ni.FlexItem,{children:(0,ii.jsx)(Ni.Button,{variant:"tertiary",className:"email-editor-start_from_scratch_button",onClick:()=>(Vi("template_select_modal_start_from_scratch_clicked"),h()),isBusy:!p,children:(0,i.__)("Start from scratch","woocommerce")})})})]})}function fa(){const[e,t]=(0,fi.useState)(!1),{emailContentIsEmpty:n,emailHasEdits:r,postType:o}=(0,s.useSelect)((e=>({emailContentIsEmpty:e($i).hasEmptyContent(),emailHasEdits:e($i).hasEdits(),postType:e($i).getEmailPostType()})),[]);return!n||r||e?null:(0,ii.jsx)(ha,{onSelectCallback:()=>t(!0),postType:o})}const ma=(0,ii.jsx)(ks.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,ii.jsx)(ks.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})}),ga=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"m8.6 7 3.9 10.8h-1.7l-1-2.8H5.7l-1 2.8H3L6.9 7h1.7Zm-2.4 6.6h3L7.7 9.3l-1.5 4.3ZM17.691 8.879c.473 0 .88.055 1.221.165.352.1.643.264.875.495.274.253.456.572.544.957.088.374.132.83.132 1.37v4.554c0 .274.033.472.099.593.077.11.198.166.363.166.11 0 .215-.028.313-.083.11-.055.237-.137.38-.247l.165.28a3.304 3.304 0 0 1-.71.446c-.23.11-.527.165-.89.165-.352 0-.639-.055-.858-.165-.22-.11-.386-.27-.495-.479-.1-.209-.149-.468-.149-.775-.286.462-.627.814-1.023 1.056-.396.242-.858.363-1.386.363-.462 0-.858-.088-1.188-.264a1.752 1.752 0 0 1-.742-.726 2.201 2.201 0 0 1-.248-1.056c0-.484.11-.875.33-1.172.22-.308.5-.556.841-.742.352-.187.721-.341 1.106-.462.396-.132.765-.253 1.106-.363.351-.121.637-.259.857-.413.232-.154.347-.357.347-.61V10.81c0-.396-.066-.71-.198-.941a1.05 1.05 0 0 0-.511-.511 1.763 1.763 0 0 0-.76-.149c-.253 0-.522.039-.808.116a1.165 1.165 0 0 0-.677.412 1.1 1.1 0 0 1 .595.396c.165.187.247.424.247.71 0 .307-.104.55-.313.726-.198.176-.451.263-.76.263-.34 0-.594-.104-.758-.313a1.231 1.231 0 0 1-.248-.759c0-.297.072-.539.214-.726.154-.187.352-.363.595-.528.264-.176.6-.324 1.006-.445.418-.121.88-.182 1.386-.182Zm.99 3.729a1.57 1.57 0 0 1-.528.462c-.231.121-.479.248-.742.38a5.377 5.377 0 0 0-.76.462c-.23.165-.423.38-.577.643-.154.264-.231.6-.231 1.007 0 .429.11.77.33 1.023.22.242.517.363.891.363.308 0 .594-.088.858-.264.275-.176.528-.44.759-.792v-3.284Z"})}),_a=(0,ii.jsx)(ks.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,ii.jsx)(ks.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"})}),ya=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),va={};function ba(e){return!Object.keys(e).some((t=>Object.keys(e[t]).length>0))}function wa(e){const t=e=>{if("object"==typeof e&&null!==e||void 0===e){if(Array.isArray(e)&&0===e.length)return;for(const n in e)if(e.hasOwnProperty(n)){const r=t(e[n]);void 0===r||ba(r)?delete e[n]:e[n]=r}}return e};return t(e)}const xa=()=>{const{userTheme:e,updateUserTheme:t}=$s(),n=(0,fi.useMemo)((()=>e?wa(function(e){const t=e=>{if("object"==typeof e&&null!==e)for(const n in e)e.hasOwnProperty(n)&&(e[n]=t(e[n]));else if("string"==typeof e)return e.replace(/var\(--([a-z]+)--([a-z]+(?:--[a-z0-9]+(?:-[a-z0-9]+)*)*)--([a-z0-9-]+)\)/g,((e,t,n,r)=>`var:${n.split("--").concat(r).join("|")}`));return e};return t(e)}(e?.styles)):va),[e]),{styles:r}=(0,s.useSelect)((e=>({styles:e($i).getStyles()}))),o=(0,fi.useCallback)((n=>{const r={...e,styles:wa(n)};t(r)}),[t,e]),i=(0,fi.useCallback)(((n,r)=>{const o=function(e,t,n){const r=Array.isArray(t)?[...t]:[t],o=Array.isArray(e)?[...e]:{...e},i=r.pop();let s=o;return r.forEach((e=>{const t=s[e];s[e]=Array.isArray(t)?[...t]:{...t},s=s[e]})),s[i]=n,o}(e,["styles",...n],r);t(o)}),[t,e]);return{styles:(0,fi.useMemo)((()=>r?n?Us().all([r,n]):r:va),[r,n]),userStyles:e?.styles,defaultStyles:r,updateStyleProp:i,updateStyles:o}},Sa=[],ka={start:{scale:1,opacity:1},hover:{scale:0,opacity:0}},Ea={hover:{opacity:1},start:{opacity:.5}},Ca={hover:{scale:1,opacity:1},start:{scale:0,opacity:0}},Ta=152,Pa=32;function ja({label:e,isFocused:t,withHoverView:n}){const{colors:r}=(0,s.useSelect)((e=>({colors:e($i).getPaletteColors()})),[]),o=(0,fi.useMemo)((()=>(r?.theme||Sa).concat(r?.default||Sa)),[r]),{styles:i}=xa(),{backgroundColor:a,headingColor:l,highlightedColors:c}=(0,fi.useMemo)((()=>{const e=Ys(i?.color?.background)||"white",t=Ys(i?.color?.text)||"black",n=Ys(i?.elements?.h1?.color?.text)||t,r=Ys(i?.elements?.link?.color?.text)||n,s=Ys(i?.elements?.button?.color?.background)||r,a=o.find((({color:e})=>e.toLowerCase()===t.toLowerCase())),l=o.find((({color:e})=>e.toLowerCase()===s.toLowerCase())),c=[...a?[a]:Sa,...l?[l]:Sa,...o].filter((({color:t},n,r)=>t.toLowerCase()!==e.toLowerCase()&&n===r.findIndex((e=>e.color.toLowerCase()===t.toLowerCase())))).slice(0,2);return{backgroundColor:e,headingColor:n,highlightedColors:c}}),[i,o]),u=i?.elements?.heading?.typography?.fontWeight||"inherit",p=i?.elements?.heading?.typography?.fontFamily||"inherit",[d,h]=(0,fi.useState)(!1);return(0,ii.jsx)("div",{onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:(0,ii.jsxs)(Ni.__unstableMotion.div,{style:{height:1*Ta,width:"100%",background:a,cursor:n?"pointer":void 0},initial:"start",animate:(d||t)&&e?"hover":"start",children:[(0,ii.jsx)(Ni.__unstableMotion.div,{variants:ka,style:{height:"100%",overflow:"hidden"},children:(0,ii.jsxs)(Ni.__experimentalHStack,{spacing:10,justify:"center",style:{height:"100%",overflow:"hidden"},children:[(0,ii.jsx)(Ni.__unstableMotion.div,{style:{fontFamily:p,fontSize:65,color:l,fontWeight:u},animate:{scale:1,opacity:1},initial:{scale:.1,opacity:0},transition:{delay:.3,type:"tween"},children:"Aa"}),(0,ii.jsx)(Ni.__experimentalVStack,{spacing:4,children:c.map((({slug:e,color:t},n)=>(0,ii.jsx)(Ni.__unstableMotion.div,{style:{height:1*Pa,width:1*Pa,background:t,borderRadius:1*Pa/2},animate:{scale:1,opacity:1},initial:{scale:.1,opacity:0},transition:{delay:1===n?.2:.1}},e)))})]})}),(0,ii.jsx)(Ni.__unstableMotion.div,{variants:n&&Ea,style:{height:"100%",width:"100%",position:"absolute",top:0,overflow:"hidden",filter:"blur(60px)",opacity:.1},children:(0,ii.jsx)(Ni.__experimentalHStack,{spacing:0,justify:"flex-start",style:{height:"100%",overflow:"hidden"},children:o.slice(0,4).map((({color:e})=>(0,ii.jsx)("div",{style:{height:"100%",background:e,flexGrow:1}},e)))})}),(0,ii.jsx)(Ni.__unstableMotion.div,{variants:Ca,style:{height:"100%",width:"100%",overflow:"hidden",position:"absolute",top:0},children:(0,ii.jsx)(Ni.__experimentalVStack,{spacing:3,justify:"center",style:{height:"100%",overflow:"hidden",padding:10,boxSizing:"border-box"},children:e&&(0,ii.jsx)("div",{style:{fontSize:40,fontFamily:p,color:l,fontWeight:u,lineHeight:"1em",textAlign:"center"},children:e})})})]})})}function Aa(){return(0,ii.jsx)(Ni.Card,{size:"small",className:"edit-site-global-styles-screen-root",variant:"primary",children:(0,ii.jsx)(Ni.CardBody,{children:(0,ii.jsxs)(Ni.__experimentalVStack,{spacing:4,children:[(0,ii.jsx)(Ni.Card,{children:(0,ii.jsx)(Ni.CardMedia,{children:(0,ii.jsx)(ja,{})})}),(0,ii.jsxs)(Ni.__experimentalItemGroup,{children:[(0,ii.jsx)(Ni.__experimentalNavigatorButton,{path:"/typography",onClick:()=>Vi("styles_sidebar_navigation_click",{path:"typography"}),children:(0,ii.jsx)(Ni.__experimentalItem,{children:(0,ii.jsxs)(Ni.__experimentalHStack,{justify:"flex-start",children:[(0,ii.jsx)(Ni.Icon,{icon:ga,size:24}),(0,ii.jsx)(Ni.FlexItem,{children:(0,i.__)("Typography","woocommerce")})]})})}),(0,ii.jsx)(Ni.__experimentalNavigatorButton,{path:"/colors",onClick:()=>Vi("styles_sidebar_navigation_click",{path:"colors"}),children:(0,ii.jsx)(Ni.__experimentalItem,{children:(0,ii.jsxs)(Ni.__experimentalHStack,{justify:"flex-start",children:[(0,ii.jsx)(Ni.Icon,{icon:_a,size:24}),(0,ii.jsx)(Ni.FlexItem,{children:(0,i.__)("Colors","woocommerce")})]})})}),(0,ii.jsx)(Ni.__experimentalNavigatorButton,{path:"/layout",onClick:()=>Vi("styles_sidebar_navigation_click",{path:"layout"}),children:(0,ii.jsx)(Ni.__experimentalItem,{children:(0,ii.jsxs)(Ni.__experimentalHStack,{justify:"flex-start",children:[(0,ii.jsx)(Ni.Icon,{icon:ya,size:24}),(0,ii.jsx)(Ni.FlexItem,{children:(0,i.__)("Layout","woocommerce")})]})})})]})]})})})}const Ia={typography:{},color:{}},Na=(e,t,n="heading",r=!1)=>{switch(t){case"text":return{typography:e.typography,color:e.color};case"heading":return((e,t="heading",n=!1)=>n?Us().all([Ia,e.elements.heading||{},e.elements[t]||{}]):{...Ia,...e.elements.heading||{},...e.elements[t]||{}})(e,n??"heading",r);default:return e.elements[t]||Ia}};function La({element:e,label:t}){const{styles:n}=xa(),r=Na(n,e,null,!0),{fontFamily:o,fontStyle:s,fontWeight:a,letterSpacing:l,textDecoration:c,textTransform:u}=r.typography,p=r.color?.text||"inherit",d=r.color?.background||"#f0f0f0",h=(0,i.sprintf)(28 (0,i.__)("Some errors occurred while performing the action: %s","woocommerce"),[...t].join(","))}Vi("trash_modal_move_to_trash_error",{errorMessage:e}),u(e,{type:"snackbar"})}l(!1),n?.()},isBusy:o,disabled:o,__next40pxDefaultSize:!0,children:e?(0,i.__)("Delete permanently","woocommerce"):(0,i.__)("Move to trash","woocommerce")})]})]})}}})())};function As(){(0,gi.getBlockType)("core/paragraph")||(0,yi.registerCoreBlocks)(),Ei("editor.BlockEdit","woocommerce-email-editor/filter-set-url-attribute",ss),Ei("editor.BlockEdit","woocommerce-email-editor/deactivate-stack-on-mobile",Ti),Ei("editor.BlockEdit","woocommerce-email-editor/hide-expand-on-click",Ai),wi("core/image",(e=>({...e,supports:{...e.supports||{},filter:{...e.supports?.filter||{},duetone:!1}}}))),["core/image","core/code","core/language"].forEach((e=>{!function(e){const t=(0,Ii.unregisterFormatType)(e);t&&Xi.set(e,t)}(e)})),Pi.forEach((e=>{wi(e,(e=>({...e,supports:{...e.supports||{},layout:!1,background:{...e.support?.background||{},backgroundImage:!0}}})))})),wi("core/group",(e=>{const t=e.variations??[];return{...e,variations:t.filter((e=>"group"===e.name)),supports:{...e.supports||{},layout:!1}}})),wi("core/buttons",(e=>({...e,supports:{...e.supports??{},layout:!1,__experimentalEmailFlexLayout:!0}}))),wi("core/post-content",(e=>{return{...e,edit:(t=e.edit,function(e){const{postId:n,postType:r}=e.context,{__unstableLayoutClassNames:o}=e;return n&&r?(0,ii.jsx)(t,{...e}):(0,ii.jsx)(ji,{layoutClassNames:o})})};var t})),wi("core/quote",(e=>({...e,styles:[],supports:{...e.supports,align:[]}}))),Zi("woocommerce-email-editor/shortcode",{name:"woocommerce-email-editor/shortcode",title:(0,i.__)("Personalization Tags","woocommerce"),className:"woocommerce-email-editor-personalization-tags",tagName:"span",attributes:{},interactive:!0,edit:Qi}),Zi("woocommerce-email-editor/link-shortcode",{name:"woocommerce-email-editor/link-shortcode",title:(0,i.__)("Personalization Tags Link","woocommerce"),className:"woocommerce-email-editor-personalization-tags-link",tagName:"a",attributes:{"data-link-href":"data-link-href",contenteditable:"contenteditable",style:"style"},interactive:!0,edit:null}),Ei("editor.BlockEdit","woocommerce-email-editor/with-live-content-update",es),(0,gi.getBlockTypes)().forEach((e=>{e.supports?.shadow&&wi(e.name,(e=>({...e,supports:{...e.supports,shadow:!1}})))})),wi("core/social-link",(e=>({...e,variations:(e.variations||[]).filter((e=>cs.includes(e.name))),supports:{...e.supports,layout:!1}}))),ls("core/social-links",{name:"social-links-default",title:"Social Icons",attributes:{openInNewTab:!0,showLabels:!1,align:"center",className:"is-style-logos-only"},isDefault:!0,innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"x",url:"https://x.com/WordPress"}}]}),Ei("editor.BlockEdit","woocommerce-email-editor/disable-social-links-icon-color",us),Ci("core.registerPostTypeSchema","woocommerce-email-editor/modify-move-to-trash-action",(e=>{js(e)})),Ci("core.registerPostTypeActions","woocommerce-email-editor/modify-move-to-trash-action",(e=>{js(e)})),ls("core/site-logo",{name:"site-logo-default",title:"Site Logo",attributes:{align:"center",width:120},isDefault:!0}),ns()(is)}function Is(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Is(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const Ns=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})}),Ls=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z"})}),Bs=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})}),Rs="__experimentalEmailFlexLayout";function Os(e){return(0,gi.hasBlockSupport)(e,Rs)}function Ms({justificationValue:e,onChange:t,isToolbar:n=!1}){const r=[{value:"left",icon:Ns,label:(0,i.__)("Justify items left","woocommerce")},{value:"center",icon:Ls,label:(0,i.__)("Justify items center","woocommerce")},{value:"right",icon:Bs,label:(0,i.__)("Justify items right","woocommerce")}];if(n){const n=r.map((e=>e.value));return(0,ii.jsx)(vi.JustifyContentControl,{value:e,onChange:t,allowedControls:n,popoverProps:{placement:"bottom-start"}})}return(0,ii.jsx)(Ni.__experimentalToggleGroupControl,{__nextHasNoMarginBottom:!0,label:(0,i.__)("Justification","woocommerce"),value:e,onChange:t,className:"block-editor-hooks__flex-layout-justification-controls",children:r.map((({value:e,icon:t,label:n})=>(0,ii.jsx)(Ni.__experimentalToggleGroupControlOptionIcon,{value:e,icon:t,label:n},e)))})}function Ds({setAttributes:e,attributes:t,name:n}){if(!(0,gi.getBlockSupport)(n,Rs,{}))return null;const{justifyContent:r="left"}=t.layout||{},o=n=>{e({layout:{...t.layout,justifyContent:n}})},s=()=>{const{justifyContent:n,...r}=t.layout||{};e({layout:r})};return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(vi.InspectorControls,{children:(0,ii.jsx)(Ni.__experimentalToolsPanel,{label:(0,i.__)("Layout","woocommerce"),resetAll:s,children:(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{isShownByDefault:!0,onDeselect:s,hasValue:()=>t.layout?.justifyContent||!1,label:(0,i.__)("Justification","woocommerce"),children:(0,ii.jsx)(Ni.Flex,{children:(0,ii.jsx)(Ni.FlexItem,{children:(0,ii.jsx)(Ms,{justificationValue:r,onChange:o})})})})})}),(0,ii.jsx)(vi.BlockControls,{group:"block",__experimentalShareWithChildBlocks:!0,children:(0,ii.jsx)(Ms,{justificationValue:r,onChange:o,isToolbar:!0})})]})}const Fs=(0,mi.createHigherOrderComponent)((e=>t=>[Os(t.name)&&(0,ii.jsx)(Ds,{...t},"layout"),(0,ii.jsx)(e,{...t},"edit")]),"withLayoutControls");function qs({block:e,props:t}){const{attributes:n}=t,{layout:r}=n,o=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Is(e))&&(r&&(r+=" "),r+=t);return r}(`is-content-justification-${r?.justifyContent||"left"}`,"is-layout-email-flex is-layout-flex");return(0,ii.jsx)(e,{...t,className:o})}const Hs=(0,mi.createHigherOrderComponent)((e=>function(t){return Os(t.name)?(0,ii.jsx)(qs,{block:e,props:t}):(0,ii.jsx)(e,{...t})}),"withLayoutStyles");const Vs=window.wp.commands;var zs=n(6838),Us=n.n(zs);function $s(){const{globalStylePost:e}=(0,s.useSelect)((e=>({globalStylePost:e($i).getGlobalEmailStylesPost()||null})),[]),t=(0,fi.useCallback)((t=>{e&&(0,s.dispatch)(a.store).editEntityRecord("root","globalStyles",e.id,{styles:t.styles,settings:t.settings})}),[e]);return{userTheme:{settings:e?.settings,styles:e?.styles},updateUserTheme:t}}function Ws(e){if("string"!=typeof e)return null;const t=e.match(/^var:preset\|([a-zA-Z0-9-]+)\|([a-zA-Z0-9-]+)$/);return t?`--wp--preset--${t[1]}--${t[2]}`:null}function Gs(e){const t=Ws(e);return t?`var(${t})`:e}function Ys(e){const t=Ws(e);if(!t)return e;const n=document.querySelector(":root");return n&&getComputedStyle(n).getPropertyValue(t).trim()||e}const Ks=[];function Js(){const{userTheme:e}=$s(),{editorTheme:t,layout:n,deviceType:r,editorSettingsStyles:o}=(0,s.useSelect)((e=>{const{getEditorSettings:t,getDeviceType:n}=e(l.store),r=t();return{editorTheme:e($i).getTheme(),layout:r?.__experimentalFeatures?.layout,deviceType:n(),editorSettingsStyles:r?.styles}}),[]),i=(0,fi.useMemo)((()=>Us().all([{},t||{},e||{}])),[t,e]),[a]=xs(i);let c="";n&&"Mobile"!==r&&(c=`display:flow-root; width:${n?.contentSize||"660px"}; margin: 0 auto;box-sizing: border-box;max-width: 100%;`);const u=i.styles?.spacing?.padding;return u&&(c+=`padding-left:${Gs(u.left)};`,c+=`padding-right:${Gs(u.right)};`),[(0,fi.useMemo)((()=>vs?[...a??[],{css:`.is-root-container{ ${c} }`},...o??[]]:Ks),[a,o,c])||Ks]}const Xs=()=>{const e=".editor-preview-dropdown__button-external",t=async t=>{const n=t.target,r=n?.closest(e);if(!r)return;const o=(0,s.select)(l.store),a=o?.isEditedPostDirty();a&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),(0,s.dispatch)(Ss.store).createNotice("warning",(0,i.__)("You have unsaved changes. Please save the post before previewing.","woocommerce"),{context:"email-editor",isDismissible:!0}))},n=(0,fi.useCallback)((n=>{try{const r=n.target;"Enter"!==n.key&&" "!==n.key||!r?.closest(e)||t(n)}catch(e){console.warn("Preview save message guard error:",e)}}),[e]);return(0,fi.useEffect)((()=>(document.addEventListener("click",t,!0),document.addEventListener("auxclick",t,!0),document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("click",t,!0),document.removeEventListener("auxclick",t,!0),document.removeEventListener("keydown",n,!0)})),[n]),null},Zs=[];function Qs(e,t){return e.map((e=>"core/post-content"===e.name?{...e,name:"core/group",innerBlocks:t}:e.innerBlocks?.length?{...e,innerBlocks:Qs(e.innerBlocks,t)}:e))}const ea={};function ta(e="",t=!0){const{templates:n,patterns:r,emailPosts:i,hasEmailPosts:a}=(0,s.useSelect)((n=>{const r=t&&"swap"!==e?n($i).getSentEmailEditorPosts():void 0;return{templates:n($i).getEmailTemplates(),patterns:n($i).getBlockPatternsForEmailTemplate(),emailPosts:r,hasEmailPosts:!(!r||!r?.length)}}),[e,t]),l=(0,fi.useMemo)((()=>{let t=[];const o=e&&(0,gi.parse)(e);if(t=o?[{blocks:o}]:r,!t||!n)return Zs;const i=[];return n?.filter((e=>"email-general"!==e.slug))?.forEach((e=>{t?.forEach((t=>{let n=(0,gi.parse)(e.content?.raw);n=Qs(n,t.blocks),i.push({id:e.id,slug:e.slug,previewContentParsed:n,emailParsed:t.blocks,template:e,category:"basic",type:e.type,displayName:t.title?`${e.title.rendered} - ${t.title}`:e.title.rendered})}))})),i}),[n,r,e]),c=(0,fi.useMemo)((()=>i?.map((e=>{const t=(0,o.applyFilters)("woocommerce_email_editor_preferred_template_title","",e),{postTemplateContent:n}=function(e,t=[]){const n=e.template,r={postTemplateContent:null};if(!n)return r;if(ea[n])return ea[n];const o=t.find((e=>e.slug===n));if(!o)return r;const i={postTemplateContent:o?.template};return ea[n]=i,i}(e,l),r=(0,gi.parse)(e.content?.raw);let i=r;n?.content?.raw&&(i=Qs((0,gi.parse)(n?.content?.raw),r));const s={...e,title:{raw:e.title.raw,rendered:t||e.title.rendered}};return{id:e.id,slug:e.slug,previewContentParsed:i,emailParsed:r,category:"recent",type:e.type,displayName:s.title.rendered,template:s}}))),[i,l]);return[l||Zs,c||Zs,a]}const na=(0,fi.forwardRef)((function({icon:e,size:t=24,...n},r){return(0,fi.cloneElement)(e,{width:t,height:t,...n,ref:r})})),ra=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"})}),oa=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"})}),ia=(0,window.wp.priorityQueue.createQueue)();function sa({children:e,placeholder:t}){const[n,r]=(0,fi.useState)(!1);return(0,fi.useEffect)((()=>{const e={};return ia.add(e,(()=>{(0,fi.flushSync)((()=>{r(!0)}))})),()=>{ia.cancel(e)}}),[]),n?e:t}function aa(){return(0,ii.jsxs)("div",{className:"block-editor-inserter__no-results",children:[(0,ii.jsx)(na,{className:"block-editor-inserter__no-results-icon",icon:ra}),(0,ii.jsx)("p",{children:(0,i.__)("No recent templates.","woocommerce")}),(0,ii.jsx)("p",{children:(0,i.__)("Your recent creations will appear here as soon as you begin.","woocommerce")})]})}const la=(0,fi.memo)((function({templates:e,onTemplateSelection:t,selectedCategory:n}){const{layout:r}=(0,s.useSelect)((e=>{const{getEditorSettings:t}=e(l.store),n=t();return{layout:n?.__experimentalFeatures?.layout}})),[o]=Js(),a=o.reduce(((e,t)=>e+(t.css??"")),"")+`.is-root-container { width: ${r?.contentSize||"660px"}; margin: 0 auto; }`;return"recent"===n&&0===e.length?(0,ii.jsx)(aa,{}):(0,ii.jsx)("div",{className:"block-editor-block-patterns-list",role:"listbox",children:e.map((e=>(0,ii.jsx)("div",{className:"block-editor-block-patterns-list__list-item email-editor-pattern__list-item",children:(0,ii.jsx)("div",{className:"block-editor-block-patterns-list__item",role:"button",tabIndex:0,onClick:()=>{t(e)},onKeyPress:n=>{"Enter"!==n.key&&" "!==n.key||t(e)},children:(0,ii.jsxs)(sa,{placeholder:(0,ii.jsx)("p",{children:(0,i.__)("rendering template","woocommerce")}),children:[(0,ii.jsx)(vi.BlockPreview,{blocks:e.previewContentParsed,viewportWidth:900,minHeight:300,additionalStyles:[{css:a}]}),(0,ii.jsx)(Ni.__experimentalHStack,{className:"block-editor-patterns__pattern-details",children:(0,ii.jsx)("h4",{className:"block-editor-block-patterns-list__item-title",children:e.displayName})})]})})},`${e.slug}_${e.displayName}_${e.id}`)))})}),((e,t)=>e.templates.length===t.templates.length&&e.selectedCategory===t.selectedCategory));function ca({templates:e,onTemplateSelection:t,selectedCategory:n}){const r=(0,fi.useMemo)((()=>e.filter((e=>e.category===n))),[n,e]);return(0,ii.jsxs)("div",{className:"block-editor-block-patterns-explorer__list",children:["recent"===n&&(0,ii.jsx)("div",{className:"email-editor-recent-templates-info",children:(0,ii.jsxs)(Ni.__experimentalHStack,{spacing:1,expanded:!1,justify:"start",children:[(0,ii.jsx)(na,{icon:oa}),(0,ii.jsx)("p",{children:(0,i.__)("Templates created on the legacy editor will not appear here.","woocommerce")})]})}),(0,ii.jsx)(la,{templates:r,onTemplateSelection:t,selectedCategory:n})]})}function ua({selectedCategory:e,templateCategories:t,onClickCategory:n}){const r="block-editor-block-patterns-explorer__sidebar";return(0,ii.jsx)("div",{className:r,children:(0,ii.jsx)("div",{className:`${r}__categories-list`,children:t.map((({name:t,label:o})=>(0,ii.jsx)(Ni.Button,{label:o,className:`${r}__categories-list__item`,isPressed:e===t,onClick:()=>{n(t)},children:o},t)))})})}const pa=[{name:"recent",label:"Recent"},{name:"basic",label:"Basic"}],da=(0,fi.memo)((function({hasEmailPosts:e,templates:t,handleTemplateSelection:n,templateSelectMode:r}){const[o,i]=(0,fi.useState)(pa[1].name),s="swap"===r,a=pa.filter((({name:e})=>"recent"!==e||!s));return(0,fi.useEffect)((()=>{setTimeout((()=>{e&&!s&&i(pa[0].name)}),1e3)}),[e,s]),(0,ii.jsxs)("div",{className:"block-editor-block-patterns-explorer",children:[(0,ii.jsx)(ua,{templateCategories:a,selectedCategory:o,onClickCategory:e=>{Vi("template_select_modal_category_change",{category:e}),i(e)}}),(0,ii.jsx)(ca,{templates:t,onTemplateSelection:n,selectedCategory:o})]})}));function ha({onSelectCallback:e,closeCallback:t=null,previewContent:n="",postType:r}){const o=n?"swap":"new";zi("template_select_modal_opened",{templateSelectMode:o});const[a,c,u]=ta(n),p=a?.length>0,d=t=>{const i=t.type===r,a=t.template;Vi("template_select_modal_template_selected",{templateSlug:t.slug,templateSelectMode:o,templateType:t.type}),n||(0,s.dispatch)(l.store).resetEditorBlocks(t.emailParsed),(0,s.dispatch)($i).setTemplateToPost(i?a.template:t.slug),e()},h=()=>{const e=a[0]??null;e&&(Vi("template_select_modal_handle_close_without_template_selected"),d(e))};return(0,ii.jsxs)(Ni.Modal,{title:"new"===o?(0,i.__)("Start with an email preset","woocommerce"):(0,i.__)("Select a template","woocommerce"),onRequestClose:()=>(Vi("template_select_modal_closed",{templateSelectMode:o}),t?t():h()),isFullScreen:!0,children:[(0,ii.jsx)(da,{hasEmailPosts:u,templates:[...a,...c],handleTemplateSelection:d,templateSelectMode:o}),(0,ii.jsx)(Ni.Flex,{className:"email-editor-modal-footer",justify:"flex-end",children:(0,ii.jsx)(Ni.FlexItem,{children:(0,ii.jsx)(Ni.Button,{variant:"tertiary",className:"email-editor-start_from_scratch_button",onClick:()=>(Vi("template_select_modal_start_from_scratch_clicked"),h()),isBusy:!p,children:(0,i.__)("Start from scratch","woocommerce")})})})]})}function fa(){const[e,t]=(0,fi.useState)(!1),{emailContentIsEmpty:n,emailHasEdits:r,postType:o}=(0,s.useSelect)((e=>({emailContentIsEmpty:e($i).hasEmptyContent(),emailHasEdits:e($i).hasEdits(),postType:e($i).getEmailPostType()})),[]);return!n||r||e?null:(0,ii.jsx)(ha,{onSelectCallback:()=>t(!0),postType:o})}const ma=(0,ii.jsx)(ks.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,ii.jsx)(ks.Path,{d:"M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z"})}),ga=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})}),_a=(0,ii.jsx)(ks.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,ii.jsx)(ks.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"})}),ya=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),va={};function ba(e){return!Object.keys(e).some((t=>Object.keys(e[t]).length>0))}function wa(e){const t=e=>{if("object"==typeof e&&null!==e||void 0===e){if(Array.isArray(e)&&0===e.length)return;for(const n in e)if(e.hasOwnProperty(n)){const r=t(e[n]);void 0===r||ba(r)?delete e[n]:e[n]=r}}return e};return t(e)}const xa=()=>{const{userTheme:e,updateUserTheme:t}=$s(),n=(0,fi.useMemo)((()=>e?wa(function(e){const t=e=>{if("object"==typeof e&&null!==e)for(const n in e)e.hasOwnProperty(n)&&(e[n]=t(e[n]));else if("string"==typeof e)return e.replace(/var\(--([a-z]+)--([a-z]+(?:--[a-z0-9]+(?:-[a-z0-9]+)*)*)--([a-z0-9-]+)\)/g,((e,t,n,r)=>`var:${n.split("--").concat(r).join("|")}`));return e};return t(e)}(e?.styles)):va),[e]),{styles:r}=(0,s.useSelect)((e=>({styles:e($i).getStyles()}))),o=(0,fi.useCallback)((n=>{const r={...e,styles:wa(n)};t(r)}),[t,e]),i=(0,fi.useCallback)(((n,r)=>{const o=function(e,t,n){const r=Array.isArray(t)?[...t]:[t],o=Array.isArray(e)?[...e]:{...e},i=r.pop();let s=o;return r.forEach((e=>{const t=s[e];s[e]=Array.isArray(t)?[...t]:{...t},s=s[e]})),s[i]=n,o}(e,["styles",...n],r);t(o)}),[t,e]);return{styles:(0,fi.useMemo)((()=>r?n?Us().all([r,n]):r:va),[r,n]),userStyles:e?.styles,defaultStyles:r,updateStyleProp:i,updateStyles:o}},Sa=[],ka={start:{scale:1,opacity:1},hover:{scale:0,opacity:0}},Ea={hover:{opacity:1},start:{opacity:.5}},Ca={hover:{scale:1,opacity:1},start:{scale:0,opacity:0}},Ta=152,Pa=32;function ja({label:e,isFocused:t,withHoverView:n}){const{colors:r}=(0,s.useSelect)((e=>({colors:e($i).getPaletteColors()})),[]),o=(0,fi.useMemo)((()=>(r?.theme||Sa).concat(r?.default||Sa)),[r]),{styles:i}=xa(),{backgroundColor:a,headingColor:l,highlightedColors:c}=(0,fi.useMemo)((()=>{const e=Ys(i?.color?.background)||"white",t=Ys(i?.color?.text)||"black",n=Ys(i?.elements?.h1?.color?.text)||t,r=Ys(i?.elements?.link?.color?.text)||n,s=Ys(i?.elements?.button?.color?.background)||r,a=o.find((({color:e})=>e.toLowerCase()===t.toLowerCase())),l=o.find((({color:e})=>e.toLowerCase()===s.toLowerCase())),c=[...a?[a]:Sa,...l?[l]:Sa,...o].filter((({color:t},n,r)=>t.toLowerCase()!==e.toLowerCase()&&n===r.findIndex((e=>e.color.toLowerCase()===t.toLowerCase())))).slice(0,2);return{backgroundColor:e,headingColor:n,highlightedColors:c}}),[i,o]),u=i?.elements?.heading?.typography?.fontWeight||"inherit",p=i?.elements?.heading?.typography?.fontFamily||"inherit",[d,h]=(0,fi.useState)(!1);return(0,ii.jsx)("div",{onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:(0,ii.jsxs)(Ni.__unstableMotion.div,{style:{height:1*Ta,width:"100%",background:a,cursor:n?"pointer":void 0},initial:"start",animate:(d||t)&&e?"hover":"start",children:[(0,ii.jsx)(Ni.__unstableMotion.div,{variants:ka,style:{height:"100%",overflow:"hidden"},children:(0,ii.jsxs)(Ni.__experimentalHStack,{spacing:10,justify:"center",style:{height:"100%",overflow:"hidden"},children:[(0,ii.jsx)(Ni.__unstableMotion.div,{style:{fontFamily:p,fontSize:65,color:l,fontWeight:u},animate:{scale:1,opacity:1},initial:{scale:.1,opacity:0},transition:{delay:.3,type:"tween"},children:"Aa"}),(0,ii.jsx)(Ni.__experimentalVStack,{spacing:4,children:c.map((({slug:e,color:t},n)=>(0,ii.jsx)(Ni.__unstableMotion.div,{style:{height:1*Pa,width:1*Pa,background:t,borderRadius:1*Pa/2},animate:{scale:1,opacity:1},initial:{scale:.1,opacity:0},transition:{delay:1===n?.2:.1}},e)))})]})}),(0,ii.jsx)(Ni.__unstableMotion.div,{variants:n&&Ea,style:{height:"100%",width:"100%",position:"absolute",top:0,overflow:"hidden",filter:"blur(60px)",opacity:.1},children:(0,ii.jsx)(Ni.__experimentalHStack,{spacing:0,justify:"flex-start",style:{height:"100%",overflow:"hidden"},children:o.slice(0,4).map((({color:e})=>(0,ii.jsx)("div",{style:{height:"100%",background:e,flexGrow:1}},e)))})}),(0,ii.jsx)(Ni.__unstableMotion.div,{variants:Ca,style:{height:"100%",width:"100%",overflow:"hidden",position:"absolute",top:0},children:(0,ii.jsx)(Ni.__experimentalVStack,{spacing:3,justify:"center",style:{height:"100%",overflow:"hidden",padding:10,boxSizing:"border-box"},children:e&&(0,ii.jsx)("div",{style:{fontSize:40,fontFamily:p,color:l,fontWeight:u,lineHeight:"1em",textAlign:"center"},children:e})})})]})})}function Aa(){return(0,ii.jsx)(Ni.Card,{size:"small",className:"edit-site-global-styles-screen-root",variant:"primary",children:(0,ii.jsx)(Ni.CardBody,{children:(0,ii.jsxs)(Ni.__experimentalVStack,{spacing:4,children:[(0,ii.jsx)(Ni.Card,{children:(0,ii.jsx)(Ni.CardMedia,{children:(0,ii.jsx)(ja,{})})}),(0,ii.jsxs)(Ni.__experimentalItemGroup,{children:[(0,ii.jsx)(Ni.__experimentalNavigatorButton,{path:"/typography",onClick:()=>Vi("styles_sidebar_navigation_click",{path:"typography"}),children:(0,ii.jsx)(Ni.__experimentalItem,{children:(0,ii.jsxs)(Ni.__experimentalHStack,{justify:"flex-start",children:[(0,ii.jsx)(Ni.Icon,{icon:ga,size:24}),(0,ii.jsx)(Ni.FlexItem,{children:(0,i.__)("Typography","woocommerce")})]})})}),(0,ii.jsx)(Ni.__experimentalNavigatorButton,{path:"/colors",onClick:()=>Vi("styles_sidebar_navigation_click",{path:"colors"}),children:(0,ii.jsx)(Ni.__experimentalItem,{children:(0,ii.jsxs)(Ni.__experimentalHStack,{justify:"flex-start",children:[(0,ii.jsx)(Ni.Icon,{icon:_a,size:24}),(0,ii.jsx)(Ni.FlexItem,{children:(0,i.__)("Colors","woocommerce")})]})})}),(0,ii.jsx)(Ni.__experimentalNavigatorButton,{path:"/layout",onClick:()=>Vi("styles_sidebar_navigation_click",{path:"layout"}),children:(0,ii.jsx)(Ni.__experimentalItem,{children:(0,ii.jsxs)(Ni.__experimentalHStack,{justify:"flex-start",children:[(0,ii.jsx)(Ni.Icon,{icon:ya,size:24}),(0,ii.jsx)(Ni.FlexItem,{children:(0,i.__)("Layout","woocommerce")})]})})})]})]})})})}const Ia={typography:{},color:{}},Na=(e,t,n="heading",r=!1)=>{switch(t){case"text":return{typography:e.typography,color:e.color};case"heading":return((e,t="heading",n=!1)=>n?Us().all([Ia,e.elements.heading||{},e.elements[t]||{}]):{...Ia,...e.elements.heading||{},...e.elements[t]||{}})(e,n??"heading",r);default:return e.elements[t]||Ia}};function La({element:e,label:t}){const{styles:n}=xa(),r=Na(n,e,null,!0),{fontFamily:o,fontStyle:s,fontWeight:a,letterSpacing:l,textDecoration:c,textTransform:u}=r.typography,p=r.color?.text||"inherit",d=r.color?.background||"#f0f0f0",h=(0,i.sprintf)( 29 29 // translators: %s: is a subset of Typography, e.g., 'text' or 'links'. 30 30 // translators: %s: is a subset of Typography, e.g., 'text' or 'links'. 31 (0,i.__)("Typography %s styles","woocommerce"),t);return(0,ii.jsx)(Ni.__experimentalItem,{children:(0,ii.jsx)(Ni.__experimentalNavigatorButton,{path:`/typography/${e}`,"aria-label":h,onClick:()=>Vi("styles_sidebar_screen_typography_button_click",{element:e,label:t,path:`typography/${e}`}),children:(0,ii.jsxs)(Ni.__experimentalHStack,{justify:"flex-start",children:[(0,ii.jsx)(Ni.FlexItem,{className:"edit-site-global-styles-screen-typography__indicator",style:{fontFamily:o??"serif",background:d,color:p,fontStyle:s??"normal",fontWeight:a??"normal",letterSpacing:l??"normal",textDecoration:c??("link"===e?"underline":"none"),textTransform:u??"none"},children:"Aa"}),(0,ii.jsx)(Ni.FlexItem,{children:t})]})})})}const Ba=function(){return(0,ii.jsx)(Ni.Card,{size:"small",variant:"primary",isBorderless:!0,children:(0,ii.jsx)(Ni.CardBody,{children:(0,ii.jsxs)(Ni.__experimentalVStack,{spacing:3,children:[(0,ii.jsx)(Ni.__experimentalHeading,{level:3,className:"edit-site-global-styles-subtitle",children:(0,i.__)("Elements","woocommerce")}),(0,ii.jsxs)(Ni.__experimentalItemGroup,{isBordered:!0,isSeparated:!0,size:"small",children:[(0,ii.jsx)(La,{element:"text",label:(0,i.__)("Text","woocommerce")}),(0,ii.jsx)(La,{element:"link",label:(0,i.__)("Links","woocommerce")}),(0,ii.jsx)(La,{element:"heading",label:(0,i.__)("Headings","woocommerce")}),(0,ii.jsx)(La,{element:"button",label:(0,i.__)("Buttons","woocommerce")})]})]})})})},Ra=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})}),Oa=Ni.Navigator||Ni.__experimentalNavigatorProvider;function Ma({title:e,description:t,onBack:n}){return(0,ii.jsxs)(Ni.__experimentalVStack,{spacing:0,children:[(0,ii.jsx)(Ni.__experimentalView,{children:(0,ii.jsx)(Ni.__experimentalSpacer,{marginBottom:0,paddingX:4,paddingY:3,children:(0,ii.jsxs)(Ni.__experimentalHStack,{spacing:2,children:[(0,ii.jsx)(Oa.BackButton,{style:{minWidth:24,padding:0},icon:Ra,size:"small","aria-label":(0,i.__)("Navigate to the previous view","woocommerce"),onClick:n}),(0,ii.jsx)(Ni.__experimentalSpacer,{children:(0,ii.jsx)(Ni.__experimentalHeading,{className:"woocommerce-email-editor-styles-header",level:2,size:13,children:e})})]})})}),t&&(0,ii.jsx)("p",{className:"woocommerce-email-editor-styles-header-description",children:t})]})}Ni.Navigator||(Oa.Screen=Ni.__experimentalNavigatorScreen,Oa.BackButton=Ni.__experimentalNavigatorBackButton);const Da=Ma;function Fa(){return zi("styles_sidebar_screen_typography_opened"),(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(Da,{title:(0,i.__)("Typography","woocommerce"),description:(0,i.__)("Manage the typography settings for different elements.","woocommerce")}),(0,ii.jsx)(Ba,{})]})}const qa={fontFamily:!0,fontSize:!0,fontAppearance:!0,lineHeight:!0,letterSpacing:!1,textTransform:!1,textDecoration:!1,writingMode:!0,textColumns:!0},Ha=function({element:e,headingLevel:t,defaultControls:n=qa}){const[r,o]=(0,vi.useSettings)("typography.fontSizes","typography.fontFamilies"),s=o?.default||[],{styles:a,defaultStyles:l,updateStyleProp:c}=xa(),u=Na(a,e,t),p=Na(l,e,t),{fontFamily:d,fontSize:h,fontStyle:f,fontWeight:m,lineHeight:g,letterSpacing:_,textDecoration:y,textTransform:v}=u.typography,{fontFamily:b,fontSize:w,fontStyle:x,fontWeight:S,lineHeight:k,letterSpacing:E,textDecoration:C,textTransform:T}=p.typography,P="heading"!==e||"heading"!==t,j=(0,fi.useCallback)(((n,r)=>{c("heading"===e?["elements",t,...n]:"text"===e?[...n]:["elements",e,...n],r)}),[e,c,t]),A=t=>{j(["typography","letterSpacing"],t),Ui("styles_sidebar_screen_typography_element_panel_set_letter_spacing",{element:e,newValue:t,selectedDefaultLetterSpacing:t===E})},I=t=>{j(["typography","lineHeight"],t),Ui("styles_sidebar_screen_typography_element_panel_set_line_height",{element:e,newValue:t,selectedDefaultLineHeight:t===k})},N=n=>{j(["typography","fontSize"],n),Ui("styles_sidebar_screen_typography_element_panel_set_font_size",{element:e,headingLevel:t,newValue:n,selectedDefaultFontSize:n===w})},L=t=>{j(["typography","fontFamily"],t),Ui("styles_sidebar_screen_typography_element_panel_set_font_family",{element:e,newValue:t,selectedDefaultFontFamily:t===b})},B=t=>{j(["typography","textDecoration"],t),Ui("styles_sidebar_screen_typography_element_panel_set_text_decoration",{element:e,newValue:t,selectedDefaultTextDecoration:t===C})},R=t=>{j(["typography","textTransform"],t),Ui("styles_sidebar_screen_typography_element_panel_set_text_transform",{element:e,newValue:t,selectedDefaultTextTransform:t===T})},O=({fontStyle:t,fontWeight:n})=>{j(["typography","fontStyle"],t),j(["typography","fontWeight"],n),Ui("styles_sidebar_screen_typography_element_panel_set_font_appearance",{element:e,newFontStyle:t,newFontWeight:n,selectedDefaultFontStyle:t===x,selectedDefaultFontWeight:n===S})};return(0,ii.jsxs)(Ni.__experimentalToolsPanel,{label:(0,i.__)("Typography","woocommerce"),resetAll:()=>{j(["typography"],{}),Vi("styles_sidebar_screen_typography_element_panel_reset_all_styles_selected",{element:e,headingLevel:t})},children:[(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{label:(0,i.__)("Font family","woocommerce"),hasValue:()=>d!==b,onDeselect:()=>L(void 0),isShownByDefault:n.fontFamily,children:(0,ii.jsx)(vi.__experimentalFontFamilyControl,{value:d,onChange:L,size:"__unstable-large",fontFamilies:s,__nextHasNoMarginBottom:!0})}),P&&(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{label:(0,i.__)("Font size","woocommerce"),hasValue:()=>h!==w,onDeselect:()=>N(void 0),isShownByDefault:n.fontSize,children:(0,ii.jsx)(Ni.FontSizePicker,{value:h,onChange:N,fontSizes:r,disableCustomFontSizes:!1,withReset:!1,withSlider:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{className:"single-column",label:(0,i.__)("Appearance","woocommerce"),hasValue:()=>m!==S||f!==x,onDeselect:()=>{O({fontStyle:void 0,fontWeight:void 0})},isShownByDefault:n.fontAppearance,children:(0,ii.jsx)(vi.__experimentalFontAppearanceControl,{value:{fontStyle:f,fontWeight:m},onChange:O,hasFontStyles:!0,hasFontWeights:!0,size:"__unstable-large"})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{className:"single-column",label:(0,i.__)("Line height","woocommerce"),hasValue:()=>g!==k,onDeselect:()=>I(void 0),isShownByDefault:n.lineHeight,children:(0,ii.jsx)(vi.LineHeightControl,{__nextHasNoMarginBottom:!0,__unstableInputWidth:"auto",value:g,onChange:I,size:"__unstable-large"})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{className:"single-column",label:(0,i.__)("Letter spacing","woocommerce"),hasValue:()=>_!==E,onDeselect:()=>A(void 0),isShownByDefault:n.letterSpacing,children:(0,ii.jsx)(vi.__experimentalLetterSpacingControl,{value:_,onChange:A,size:"__unstable-large",__unstableInputWidth:"auto"})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{className:"single-column",label:(0,i.__)("Text decoration","woocommerce"),hasValue:()=>y!==C,onDeselect:()=>B(void 0),isShownByDefault:n.textDecoration,children:(0,ii.jsx)(vi.__experimentalTextDecorationControl,{value:y,onChange:B,size:"__unstable-large",__unstableInputWidth:"auto"})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{label:(0,i.__)("Letter case","woocommerce"),hasValue:()=>v!==T,onDeselect:()=>R(T),isShownByDefault:n.textTransform,children:(0,ii.jsx)(vi.__experimentalTextTransformControl,{value:v,onChange:R,showNone:!0,isBlock:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0})})]})};function Va({element:e,headingLevel:t}){const{styles:n}=xa(),r=Na(n,e,t,!0),{fontFamily:o,fontSize:i,fontStyle:s,fontWeight:a,lineHeight:l,letterSpacing:c,textDecoration:u,textTransform:p}=r.typography,d=r.color?.text||"inherit",h=r.color?.background||"#f0f0f0",f="link"===e?{textDecoration:u??"underline"}:{};return(0,ii.jsx)("div",{className:"edit-site-typography-preview",style:{fontFamily:o??"serif",background:h,color:d,lineHeight:l,fontSize:i,fontStyle:s,fontWeight:a,letterSpacing:c,textDecoration:u,textTransform:p,...f},children:"Aa"})}const za={text:{title:(0,i.__)("Text","woocommerce"),description:(0,i.__)("Manage the fonts and typography used on text.","woocommerce"),defaultControls:qa},link:{title:(0,i.__)("Links","woocommerce"),description:(0,i.__)("Manage the fonts and typography used on links.","woocommerce"),defaultControls:{...qa,textDecoration:!0}},heading:{title:(0,i.__)("Headings","woocommerce"),description:(0,i.__)("Manage the fonts and typography used on headings.","woocommerce"),defaultControls:{...qa,textTransform:!0}},button:{title:(0,i.__)("Buttons","woocommerce"),description:(0,i.__)("Manage the fonts and typography used on buttons.","woocommerce"),defaultControls:qa}};function Ua({element:e}){zi("styles_sidebar_screen_typography_element_opened",{element:e});const[t,n]=(0,fi.useState)("heading");return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(Da,{title:za[e].title,description:za[e].description}),(0,ii.jsx)(Ni.__experimentalSpacer,{marginX:4,children:(0,ii.jsx)(Va,{element:e,headingLevel:t})}),"heading"===e&&(0,ii.jsx)(Ni.__experimentalSpacer,{marginX:4,marginBottom:"1em",children:(0,ii.jsxs)(Ni.__experimentalToggleGroupControl,{label:(0,i.__)("Select heading level","woocommerce"),hideLabelFromVision:!0,value:t,onChange:e=>{n(e.toString()),Vi("styles_sidebar_screen_typography_element_heading_level_selected",{value:e})},isBlock:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,children:[(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"heading",label:(0,i._x)("All","heading levels","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h1",label:(0,i._x)("H1","Heading Level","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h2",label:(0,i._x)("H2","Heading Level","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h3",label:(0,i._x)("H3","Heading Level","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h4",label:(0,i._x)("H4","Heading Level","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h5",label:(0,i._x)("H5","Heading Level","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h6",label:(0,i._x)("H6","Heading Level","woocommerce")})]})}),(0,ii.jsx)(Ha,{element:e,headingLevel:t,defaultControls:za[e].defaultControls})]})}function $a(){zi("styles_sidebar_screen_colors_opened");const{userStyles:e,styles:t,updateStyles:n}=xa(),r=(0,s.useSelect)((e=>e($i).getTheme()),[]);return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(Da,{title:(0,i.__)("Colors","woocommerce"),description:(0,i.__)("Manage palettes and the default color of different global elements.","woocommerce")}),(0,ii.jsx)(hs,{value:e,inheritedValue:t,onChange:e=>{n(e),Vi("styles_sidebar_screen_colors_styles_updated")},settings:r?.settings,panelId:"colors"})]})}function Wa(){const[e]=(0,vi.useSettings)("spacing.units"),t=(0,Ni.__experimentalUseCustomUnits)({availableUnits:e}),{styles:n,defaultStyles:r,updateStyleProp:o}=xa();return(0,ii.jsxs)(Ni.__experimentalToolsPanel,{label:(0,i.__)("Dimensions","woocommerce"),resetAll:()=>{o(["spacing"],r.spacing),Vi("styles_sidebar_screen_layout_dimensions_reset_all_selected")},children:[(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{isShownByDefault:!0,hasValue:()=>!(0,Di.isEqual)(n.spacing.padding,r.spacing.padding),label:(0,i.__)("Padding","woocommerce"),onDeselect:()=>{o(["spacing","padding"],r.spacing.padding),Vi("styles_sidebar_screen_layout_dimensions_padding_reset_clicked")},className:"tools-panel-item-spacing",children:(0,ii.jsx)(vi.__experimentalSpacingSizesControl,{allowReset:!0,values:n.spacing.padding,onChange:e=>{o(["spacing","padding"],e),Ui("styles_sidebar_screen_layout_dimensions_padding_updated",{value:e})},label:(0,i.__)("Padding","woocommerce"),sides:["horizontal","vertical","top","left","right","bottom"],units:t})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,i.__)("Block spacing","woocommerce"),hasValue:()=>n.spacing.blockGap!==r.spacing.blockGap,onDeselect:()=>{o(["spacing","blockGap"],r.spacing.blockGap),Vi("styles_sidebar_screen_layout_dimensions_block_spacing_reset_clicked")},className:"tools-panel-item-spacing",children:(0,ii.jsx)(vi.__experimentalSpacingSizesControl,{label:(0,i.__)("Block spacing","woocommerce"),min:0,onChange:e=>{o(["spacing","blockGap"],e.top),Ui("styles_sidebar_screen_layout_dimensions_block_spacing_updated",{value:e})},showSideInLabel:!1,sides:["top"],values:{top:n.spacing.blockGap},allowReset:!0})})]})}function Ga(){return zi("styles_sidebar_screen_layout_opened"),(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(Ma,{title:(0,i.__)("Layout","woocommerce")}),(0,ii.jsx)(Wa,{})]})}const Ya=(0,fi.memo)((function(){const{userCanEditGlobalStyles:e}=(0,s.useSelect)((e=>{const{canEdit:t}=e($i).canUserEditGlobalEmailStyles();return{userCanEditGlobalStyles:t}}),[]);return e&&(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(l.PluginSidebarMoreMenuItem,{target:"email-styles-sidebar",icon:ma,children:(0,i.__)("Email styles","woocommerce")}),(0,ii.jsx)(l.PluginSidebar,{name:"email-styles-sidebar",icon:ma,title:(0,i.__)("Styles","woocommerce"),className:"woocommerce-email-editor-styles-panel",header:(0,i.__)("Styles","woocommerce"),children:(0,ii.jsxs)(Oa,{initialPath:"/",children:[(0,ii.jsx)(Oa.Screen,{path:"/",children:(0,ii.jsx)(Aa,{})}),(0,ii.jsx)(Oa.Screen,{path:"/typography",children:(0,ii.jsx)(Fa,{})}),(0,ii.jsx)(Oa.Screen,{path:"/typography/text",children:(0,ii.jsx)(Ua,{element:"text"})}),(0,ii.jsx)(Oa.Screen,{path:"/typography/link",children:(0,ii.jsx)(Ua,{element:"link"})}),(0,ii.jsx)(Oa.Screen,{path:"/typography/heading",children:(0,ii.jsx)(Ua,{element:"heading"})}),(0,ii.jsx)(Oa.Screen,{path:"/typography/button",children:(0,ii.jsx)(Ua,{element:"button"})}),(0,ii.jsx)(Oa.Screen,{path:"/colors",children:(0,ii.jsx)($a,{})}),(0,ii.jsx)(Oa.Screen,{path:"/layout",children:(0,ii.jsx)(Ga,{})})]})})]})})),Ka=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})}), Za=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})}),Ja=window.wp.keycodes,Xa=window.wp.url;var Qa;!function(e){e.SUCCESS="success",e.ERROR="error"}(Qa||(Qa={}));const el=(0,fi.memo)((function(){const e=(0,fi.useRef)(null),{requestSendingNewsletterPreview:t,togglePreviewModal:n,updateSendPreviewEmail:r}=(0,s.useDispatch)($i),{toEmail:a,isSendingPreviewEmail:l,sendingPreviewStatus:c,isModalOpened:u,errorMessage:p,postType:d}=(0,s.useSelect)((e=>({...e($i).getPreviewState(),postType:e($i).getEmailPostType()})),[]),h=()=>{t(a)},f=(0,fi.useMemo)((()=>(0,o.applyFilters)("woocommerce_email_editor_check_sending_method_configuration_link",`https://www.mailpoet.com/blog/mailpoet-smtp-plugin/?utm_source=woocommerce_email_editor&utm_medium=plugin&utm_source_platform=${d}`)),[d]),m=()=>{Vi("send_preview_email_modal_closed"),n(!1)};return(0,fi.useEffect)((()=>{u&&(e.current?.focus(),Vi("send_preview_email_modal_opened"))}),[u]),u?(0,ii.jsxs)(Ni.Modal,{className:"woocommerce-send-preview-email",title:(0,i.__)("Send a test email","woocommerce"),onRequestClose:m,focusOnMount:!1,children:[c===Qa.ERROR?(0,ii.jsxs)("div",{className:"woocommerce-send-preview-modal-notice-error",children:[(0,ii.jsx)("p",{children:(0,i.__)("Sorry, we were unable to send this email.","woocommerce")}),(0,ii.jsx)("strong",{children:p&&(0,i.sprintf)(31 (0,i.__)("Typography %s styles","woocommerce"),t);return(0,ii.jsx)(Ni.__experimentalItem,{children:(0,ii.jsx)(Ni.__experimentalNavigatorButton,{path:`/typography/${e}`,"aria-label":h,onClick:()=>Vi("styles_sidebar_screen_typography_button_click",{element:e,label:t,path:`typography/${e}`}),children:(0,ii.jsxs)(Ni.__experimentalHStack,{justify:"flex-start",children:[(0,ii.jsx)(Ni.FlexItem,{className:"edit-site-global-styles-screen-typography__indicator",style:{fontFamily:o??"serif",background:d,color:p,fontStyle:s??"normal",fontWeight:a??"normal",letterSpacing:l??"normal",textDecoration:c??("link"===e?"underline":"none"),textTransform:u??"none"},children:"Aa"}),(0,ii.jsx)(Ni.FlexItem,{children:t})]})})})}const Ba=function(){return(0,ii.jsx)(Ni.Card,{size:"small",variant:"primary",isBorderless:!0,children:(0,ii.jsx)(Ni.CardBody,{children:(0,ii.jsxs)(Ni.__experimentalVStack,{spacing:3,children:[(0,ii.jsx)(Ni.__experimentalHeading,{level:3,className:"edit-site-global-styles-subtitle",children:(0,i.__)("Elements","woocommerce")}),(0,ii.jsxs)(Ni.__experimentalItemGroup,{isBordered:!0,isSeparated:!0,size:"small",children:[(0,ii.jsx)(La,{element:"text",label:(0,i.__)("Text","woocommerce")}),(0,ii.jsx)(La,{element:"link",label:(0,i.__)("Links","woocommerce")}),(0,ii.jsx)(La,{element:"heading",label:(0,i.__)("Headings","woocommerce")}),(0,ii.jsx)(La,{element:"button",label:(0,i.__)("Buttons","woocommerce")})]})]})})})},Ra=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})}),Oa=Ni.Navigator||Ni.__experimentalNavigatorProvider;function Ma({title:e,description:t,onBack:n}){return(0,ii.jsxs)(Ni.__experimentalVStack,{spacing:0,children:[(0,ii.jsx)(Ni.__experimentalView,{children:(0,ii.jsx)(Ni.__experimentalSpacer,{marginBottom:0,paddingX:4,paddingY:3,children:(0,ii.jsxs)(Ni.__experimentalHStack,{spacing:2,children:[(0,ii.jsx)(Oa.BackButton,{style:{minWidth:24,padding:0},icon:Ra,size:"small","aria-label":(0,i.__)("Navigate to the previous view","woocommerce"),onClick:n}),(0,ii.jsx)(Ni.__experimentalSpacer,{children:(0,ii.jsx)(Ni.__experimentalHeading,{className:"woocommerce-email-editor-styles-header",level:2,size:13,children:e})})]})})}),t&&(0,ii.jsx)("p",{className:"woocommerce-email-editor-styles-header-description",children:t})]})}Ni.Navigator||(Oa.Screen=Ni.__experimentalNavigatorScreen,Oa.BackButton=Ni.__experimentalNavigatorBackButton);const Da=Ma;function Fa(){return zi("styles_sidebar_screen_typography_opened"),(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(Da,{title:(0,i.__)("Typography","woocommerce"),description:(0,i.__)("Manage the typography settings for different elements.","woocommerce")}),(0,ii.jsx)(Ba,{})]})}const qa={fontFamily:!0,fontSize:!0,fontAppearance:!0,lineHeight:!0,letterSpacing:!1,textTransform:!1,textDecoration:!1,writingMode:!0,textColumns:!0},Ha=function({element:e,headingLevel:t,defaultControls:n=qa}){const[r,o]=(0,vi.useSettings)("typography.fontSizes","typography.fontFamilies"),s=o?.default||[],{styles:a,defaultStyles:l,updateStyleProp:c}=xa(),u=Na(a,e,t),p=Na(l,e,t),{fontFamily:d,fontSize:h,fontStyle:f,fontWeight:m,lineHeight:g,letterSpacing:_,textDecoration:y,textTransform:v}=u.typography,{fontFamily:b,fontSize:w,fontStyle:x,fontWeight:S,lineHeight:k,letterSpacing:E,textDecoration:C,textTransform:T}=p.typography,P="heading"!==e||"heading"!==t,j=(0,fi.useCallback)(((n,r)=>{c("heading"===e?["elements",t,...n]:"text"===e?[...n]:["elements",e,...n],r)}),[e,c,t]),A=t=>{j(["typography","letterSpacing"],t),Ui("styles_sidebar_screen_typography_element_panel_set_letter_spacing",{element:e,newValue:t,selectedDefaultLetterSpacing:t===E})},I=t=>{j(["typography","lineHeight"],t),Ui("styles_sidebar_screen_typography_element_panel_set_line_height",{element:e,newValue:t,selectedDefaultLineHeight:t===k})},N=n=>{j(["typography","fontSize"],n),Ui("styles_sidebar_screen_typography_element_panel_set_font_size",{element:e,headingLevel:t,newValue:n,selectedDefaultFontSize:n===w})},L=t=>{j(["typography","fontFamily"],t),Ui("styles_sidebar_screen_typography_element_panel_set_font_family",{element:e,newValue:t,selectedDefaultFontFamily:t===b})},B=t=>{j(["typography","textDecoration"],t),Ui("styles_sidebar_screen_typography_element_panel_set_text_decoration",{element:e,newValue:t,selectedDefaultTextDecoration:t===C})},R=t=>{j(["typography","textTransform"],t),Ui("styles_sidebar_screen_typography_element_panel_set_text_transform",{element:e,newValue:t,selectedDefaultTextTransform:t===T})},O=({fontStyle:t,fontWeight:n})=>{j(["typography","fontStyle"],t),j(["typography","fontWeight"],n),Ui("styles_sidebar_screen_typography_element_panel_set_font_appearance",{element:e,newFontStyle:t,newFontWeight:n,selectedDefaultFontStyle:t===x,selectedDefaultFontWeight:n===S})};return(0,ii.jsxs)(Ni.__experimentalToolsPanel,{label:(0,i.__)("Typography","woocommerce"),resetAll:()=>{j(["typography"],{}),Vi("styles_sidebar_screen_typography_element_panel_reset_all_styles_selected",{element:e,headingLevel:t})},children:[(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{label:(0,i.__)("Font family","woocommerce"),hasValue:()=>d!==b,onDeselect:()=>L(void 0),isShownByDefault:n.fontFamily,children:(0,ii.jsx)(vi.__experimentalFontFamilyControl,{value:d,onChange:L,size:"__unstable-large",fontFamilies:s,__nextHasNoMarginBottom:!0})}),P&&(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{label:(0,i.__)("Font size","woocommerce"),hasValue:()=>h!==w,onDeselect:()=>N(void 0),isShownByDefault:n.fontSize,children:(0,ii.jsx)(Ni.FontSizePicker,{value:h,onChange:N,fontSizes:r,disableCustomFontSizes:!1,withReset:!1,withSlider:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{className:"single-column",label:(0,i.__)("Appearance","woocommerce"),hasValue:()=>m!==S||f!==x,onDeselect:()=>{O({fontStyle:void 0,fontWeight:void 0})},isShownByDefault:n.fontAppearance,children:(0,ii.jsx)(vi.__experimentalFontAppearanceControl,{value:{fontStyle:f,fontWeight:m},onChange:O,hasFontStyles:!0,hasFontWeights:!0,size:"__unstable-large"})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{className:"single-column",label:(0,i.__)("Line height","woocommerce"),hasValue:()=>g!==k,onDeselect:()=>I(void 0),isShownByDefault:n.lineHeight,children:(0,ii.jsx)(vi.LineHeightControl,{__nextHasNoMarginBottom:!0,__unstableInputWidth:"auto",value:g,onChange:I,size:"__unstable-large"})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{className:"single-column",label:(0,i.__)("Letter spacing","woocommerce"),hasValue:()=>_!==E,onDeselect:()=>A(void 0),isShownByDefault:n.letterSpacing,children:(0,ii.jsx)(vi.__experimentalLetterSpacingControl,{value:_,onChange:A,size:"__unstable-large",__unstableInputWidth:"auto"})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{className:"single-column",label:(0,i.__)("Text decoration","woocommerce"),hasValue:()=>y!==C,onDeselect:()=>B(void 0),isShownByDefault:n.textDecoration,children:(0,ii.jsx)(vi.__experimentalTextDecorationControl,{value:y,onChange:B,size:"__unstable-large",__unstableInputWidth:"auto"})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{label:(0,i.__)("Letter case","woocommerce"),hasValue:()=>v!==T,onDeselect:()=>R(T),isShownByDefault:n.textTransform,children:(0,ii.jsx)(vi.__experimentalTextTransformControl,{value:v,onChange:R,showNone:!0,isBlock:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0})})]})};function Va({element:e,headingLevel:t}){const{styles:n}=xa(),r=Na(n,e,t,!0),{fontFamily:o,fontSize:i,fontStyle:s,fontWeight:a,lineHeight:l,letterSpacing:c,textDecoration:u,textTransform:p}=r.typography,d=r.color?.text||"inherit",h=r.color?.background||"#f0f0f0",f="link"===e?{textDecoration:u??"underline"}:{};return(0,ii.jsx)("div",{className:"edit-site-typography-preview",style:{fontFamily:o??"serif",background:h,color:d,lineHeight:l,fontSize:i,fontStyle:s,fontWeight:a,letterSpacing:c,textDecoration:u,textTransform:p,...f},children:"Aa"})}const za={text:{title:(0,i.__)("Text","woocommerce"),description:(0,i.__)("Manage the fonts and typography used on text.","woocommerce"),defaultControls:qa},link:{title:(0,i.__)("Links","woocommerce"),description:(0,i.__)("Manage the fonts and typography used on links.","woocommerce"),defaultControls:{...qa,textDecoration:!0}},heading:{title:(0,i.__)("Headings","woocommerce"),description:(0,i.__)("Manage the fonts and typography used on headings.","woocommerce"),defaultControls:{...qa,textTransform:!0}},button:{title:(0,i.__)("Buttons","woocommerce"),description:(0,i.__)("Manage the fonts and typography used on buttons.","woocommerce"),defaultControls:qa}};function Ua({element:e}){zi("styles_sidebar_screen_typography_element_opened",{element:e});const[t,n]=(0,fi.useState)("heading");return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(Da,{title:za[e].title,description:za[e].description}),(0,ii.jsx)(Ni.__experimentalSpacer,{marginX:4,children:(0,ii.jsx)(Va,{element:e,headingLevel:t})}),"heading"===e&&(0,ii.jsx)(Ni.__experimentalSpacer,{marginX:4,marginBottom:"1em",children:(0,ii.jsxs)(Ni.__experimentalToggleGroupControl,{label:(0,i.__)("Select heading level","woocommerce"),hideLabelFromVision:!0,value:t,onChange:e=>{n(e.toString()),Vi("styles_sidebar_screen_typography_element_heading_level_selected",{value:e})},isBlock:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,children:[(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"heading",label:(0,i._x)("All","heading levels","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h1",label:(0,i._x)("H1","Heading Level","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h2",label:(0,i._x)("H2","Heading Level","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h3",label:(0,i._x)("H3","Heading Level","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h4",label:(0,i._x)("H4","Heading Level","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h5",label:(0,i._x)("H5","Heading Level","woocommerce")}),(0,ii.jsx)(Ni.__experimentalToggleGroupControlOption,{value:"h6",label:(0,i._x)("H6","Heading Level","woocommerce")})]})}),(0,ii.jsx)(Ha,{element:e,headingLevel:t,defaultControls:za[e].defaultControls})]})}function $a(){zi("styles_sidebar_screen_colors_opened");const{userStyles:e,styles:t,updateStyles:n}=xa(),r=(0,s.useSelect)((e=>e($i).getTheme()),[]);return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(Da,{title:(0,i.__)("Colors","woocommerce"),description:(0,i.__)("Manage palettes and the default color of different global elements.","woocommerce")}),(0,ii.jsx)(hs,{value:e,inheritedValue:t,onChange:e=>{n(e),Vi("styles_sidebar_screen_colors_styles_updated")},settings:r?.settings,panelId:"colors"})]})}function Wa(){const[e]=(0,vi.useSettings)("spacing.units"),t=(0,Ni.__experimentalUseCustomUnits)({availableUnits:e}),{styles:n,defaultStyles:r,updateStyleProp:o}=xa();return(0,ii.jsxs)(Ni.__experimentalToolsPanel,{label:(0,i.__)("Dimensions","woocommerce"),resetAll:()=>{o(["spacing"],r.spacing),Vi("styles_sidebar_screen_layout_dimensions_reset_all_selected")},children:[(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{isShownByDefault:!0,hasValue:()=>!(0,Di.isEqual)(n.spacing.padding,r.spacing.padding),label:(0,i.__)("Padding","woocommerce"),onDeselect:()=>{o(["spacing","padding"],r.spacing.padding),Vi("styles_sidebar_screen_layout_dimensions_padding_reset_clicked")},className:"tools-panel-item-spacing",children:(0,ii.jsx)(vi.__experimentalSpacingSizesControl,{allowReset:!0,values:n.spacing.padding,onChange:e=>{o(["spacing","padding"],e),Ui("styles_sidebar_screen_layout_dimensions_padding_updated",{value:e})},label:(0,i.__)("Padding","woocommerce"),sides:["horizontal","vertical","top","left","right","bottom"],units:t})}),(0,ii.jsx)(Ni.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,i.__)("Block spacing","woocommerce"),hasValue:()=>n.spacing.blockGap!==r.spacing.blockGap,onDeselect:()=>{o(["spacing","blockGap"],r.spacing.blockGap),Vi("styles_sidebar_screen_layout_dimensions_block_spacing_reset_clicked")},className:"tools-panel-item-spacing",children:(0,ii.jsx)(vi.__experimentalSpacingSizesControl,{label:(0,i.__)("Block spacing","woocommerce"),min:0,onChange:e=>{o(["spacing","blockGap"],e.top),Ui("styles_sidebar_screen_layout_dimensions_block_spacing_updated",{value:e})},showSideInLabel:!1,sides:["top"],values:{top:n.spacing.blockGap},allowReset:!0})})]})}function Ga(){return zi("styles_sidebar_screen_layout_opened"),(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(Ma,{title:(0,i.__)("Layout","woocommerce")}),(0,ii.jsx)(Wa,{})]})}const Ya=(0,fi.memo)((function(){const{userCanEditGlobalStyles:e}=(0,s.useSelect)((e=>{const{canEdit:t}=e($i).canUserEditGlobalEmailStyles();return{userCanEditGlobalStyles:t}}),[]);return e&&(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(l.PluginSidebarMoreMenuItem,{target:"email-styles-sidebar",icon:ma,children:(0,i.__)("Email styles","woocommerce")}),(0,ii.jsx)(l.PluginSidebar,{name:"email-styles-sidebar",icon:ma,title:(0,i.__)("Styles","woocommerce"),className:"woocommerce-email-editor-styles-panel",header:(0,i.__)("Styles","woocommerce"),children:(0,ii.jsxs)(Oa,{initialPath:"/",children:[(0,ii.jsx)(Oa.Screen,{path:"/",children:(0,ii.jsx)(Aa,{})}),(0,ii.jsx)(Oa.Screen,{path:"/typography",children:(0,ii.jsx)(Fa,{})}),(0,ii.jsx)(Oa.Screen,{path:"/typography/text",children:(0,ii.jsx)(Ua,{element:"text"})}),(0,ii.jsx)(Oa.Screen,{path:"/typography/link",children:(0,ii.jsx)(Ua,{element:"link"})}),(0,ii.jsx)(Oa.Screen,{path:"/typography/heading",children:(0,ii.jsx)(Ua,{element:"heading"})}),(0,ii.jsx)(Oa.Screen,{path:"/typography/button",children:(0,ii.jsx)(Ua,{element:"button"})}),(0,ii.jsx)(Oa.Screen,{path:"/colors",children:(0,ii.jsx)($a,{})}),(0,ii.jsx)(Oa.Screen,{path:"/layout",children:(0,ii.jsx)(Ga,{})})]})})]})})),Ka=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})}),Ja=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})}),Xa=window.wp.keycodes,Za=window.wp.url;var Qa;!function(e){e.SUCCESS="success",e.ERROR="error"}(Qa||(Qa={}));const el=(0,fi.memo)((function(){const e=(0,fi.useRef)(null),{requestSendingNewsletterPreview:t,togglePreviewModal:n,updateSendPreviewEmail:r}=(0,s.useDispatch)($i),{toEmail:a,isSendingPreviewEmail:l,sendingPreviewStatus:c,isModalOpened:u,errorMessage:p,postType:d}=(0,s.useSelect)((e=>({...e($i).getPreviewState(),postType:e($i).getEmailPostType()})),[]),h=()=>{t(a)},f=(0,fi.useMemo)((()=>(0,o.applyFilters)("woocommerce_email_editor_check_sending_method_configuration_link",`https://www.mailpoet.com/blog/mailpoet-smtp-plugin/?utm_source=woocommerce_email_editor&utm_medium=plugin&utm_source_platform=${d}`)),[d]),m=()=>{Vi("send_preview_email_modal_closed"),n(!1)};return(0,fi.useEffect)((()=>{u&&(e.current?.focus(),Vi("send_preview_email_modal_opened"))}),[u]),u?(0,ii.jsxs)(Ni.Modal,{className:"woocommerce-send-preview-email",title:(0,i.__)("Send a test email","woocommerce"),onRequestClose:m,focusOnMount:!1,children:[c===Qa.ERROR?(0,ii.jsxs)("div",{className:"woocommerce-send-preview-modal-notice-error",children:[(0,ii.jsx)("p",{children:(0,i.__)("Sorry, we were unable to send this email.","woocommerce")}),(0,ii.jsx)("strong",{children:p&&(0,i.sprintf)( 32 32 // translators: %s is an error message. 33 33 // translators: %s is an error message. 34 (0,i.__)("Error: %s","woocommerce"),p)}),(0,ii.jsxs)("ul",{children:[(0,ii.jsx)("li",{children:f&&(0,fi.createInterpolateElement)((0,i.__)("Please check your <link>sending method configuration</link> with your hosting provider.","woocommerce"),{link:(0,ii.jsx)("a",{href:f,target:"_blank",rel:"noopener noreferrer",onClick:()=>Vi("send_preview_email_modal_check_sending_method_configuration_link_clicked")})})}),(0,ii.jsx)("li",{children:(0,fi.createInterpolateElement)((0,i.__)("Or, sign up for MailPoet Sending Service to easily send emails. <link>Sign up for free</link>","woocommerce"),{link:(0,ii.jsx)("a",{href:`https://account.mailpoet.com/?s=1&g=1&utm_source=woocommerce_email_editor&utm_medium=plugin&utm_source_platform=${d}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>Vi("send_preview_email_modal_sign_up_for_mailpoet_sending_service_link_clicked")},"sign-up-for-free")})})]})]}):null,(0,ii.jsx)("p",{children:(0,i.__)("Send yourself a test email to test how your email would look like in different email apps.","woocommerce")}),(0,ii.jsx)(Ni.TextControl,{label:(0,i.__)("Send to","woocommerce"),onChange:e=>{r(e),zi("send_preview_email_modal_send_to_field_updated")},onKeyDown:e=>{const{keyCode:t}=e;t=== Ja.ENTER&&(e.preventDefault(),h(),Vi("send_preview_email_modal_send_to_field_key_code_enter"))},className:"woocommerce-send-preview-email__send-to-field",value:a,type:"email",ref:e,required:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),c===Qa.SUCCESS?(0,ii.jsxs)("p",{className:"woocommerce-send-preview-modal-notice-success",children:[(0,ii.jsx)(na,{icon:Za,style:{fill:"#4AB866"}}),(0,i.__)("Test email sent successfully!","woocommerce")]}):null,(0,ii.jsxs)("div",{className:"woocommerce-send-preview-modal-footer",children:[(0,ii.jsx)(Ni.Button,{variant:"tertiary",onClick:()=>{Vi("send_preview_email_modal_close_button_clicked"),m()},children:(0,i.__)("Cancel","woocommerce")}),(0,ii.jsx)(Ni.Button,{variant:"primary",onClick:()=>{h(),Vi("send_preview_email_modal_send_test_email_button_clicked")},disabled:l||!(0,Xa.isEmail)(a),children:l?(0,i.__)("Sending…","woocommerce"):(0,i.__)("Send test email","woocommerce")})]})]}):null}));function tl(){const{togglePreviewModal:e}=(0,s.useDispatch)($i);return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(l.PluginPreviewMenuItem,{icon:Ka,onClick:()=>{Vi("header_preview_dropdown_send_test_email_selected"),e(!0)},children:(0,i.__)("Send a test email","woocommerce")}),(0,ii.jsx)(el,{})]})}const nl=window.wp.preferences,rl=()=>{const e=(0,mi.useViewportMatch)("large");return(0,ii.jsx)(ii.Fragment,{children:e&&(0,ii.jsx)(_s,{children:(0,ii.jsx)(nl.PreferenceToggleMenuItem,{scope:$i,name:"fullscreenMode",label:(0,i.__)("Fullscreen mode","woocommerce"),info:(0,i.__)("Show and hide the admin user interface","woocommerce"),messageActivated:(0,i.__)("Fullscreen mode activated.","woocommerce"),messageDeactivated:(0,i.__)("Fullscreen mode deactivated.","woocommerce"),shortcut:Ja.displayShortcut.secondary("f")})})})};function ol({label:e,labelSuffix:t,help:n,placeholder:r,attributeName:o,attributeValue:a,updateProperty:l=(()=>{})}){const[c,u]=(0,fi.useState)(null),[p,d]=(0,fi.useState)(!1),h=(0,s.useSelect)((e=>e($i).getPersonalizationTagsList()),[]),f=(0,fi.useRef)(null),m=(0,fi.useCallback)(((e,t,n)=>{const r=n?.start??t.length,i=n?.end??t.length;let s=(0,Ii.create)({html:t});s=(0,Ii.insert)(s,(0,Ii.create)({html:`\x3c!--${e}--\x3e`}),r,i);const a=(0,Ii.toHTMLString)({value:s});l(o,a),u(null)}),[o,l]),g=(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)("span",{children:e}),(0,ii.jsx)(Ni.Button,{className:"woocommerce-settings-panel-personalization-tags-button",icon:"shortcode",title:(0,i.__)("Personalization Tags","woocommerce"),onClick:()=>{d(!0),Vi("rich_text_with_button_personalization_tags_shortcode_icon_clicked",{attributeName:o,label:e})}}),t]});return o?(0,ii.jsxs)(Ni.BaseControl,{id:"",label:g,className:`woocommerce-settings-panel-${o}-text`,help:n,__nextHasNoMarginBottom:!0,children:[(0,ii.jsx)(Gi,{isOpened:p,onInsert:e=>{m(e,a??"",c),d(!1),Vi("rich_text_with_button_personalization_tags_inserted",{attributeName:o,value:e})},closeCallback:()=>d(!1),openedBy:"RichTextWithButton-BaseControl"}),(0,ii.jsx)(Yi,{contentRef:f,onUpdate:(e,t)=>{const n=(a??"").replace(`\x3c!--[${e}]--\x3e`,`\x3c!--[${t}]--\x3e`);l(o,n)}}),(0,ii.jsx)(vi.RichText,{ref:f,className:"woocommerce-settings-panel-richtext",placeholder:r,onFocus:()=>{u(Li(f,a??""))},onKeyUp:()=>{u(Li(f,a??""))},onClick:()=>{u(Li(f,a??""))},onChange:e=>{e=Bi(e??"",h),l(o,e),zi("rich_text_with_button_input_field_updated",{attributeName:o})},value:a??"","data-automation-id":`email_${o}`})]}):null}function il({close:e}){zi("edit_template_modal_opened");const{onNavigateToEntityRecord:t,template:n}=(0,s.useSelect)((e=>{const{getEditorSettings:t}=e(l.store),n=t();return{onNavigateToEntityRecord:n?.onNavigateToEntityRecord,template:e($i).getCurrentTemplate()}}),[]);return(0,ii.jsxs)(Ni.Modal,{size:"medium",onRequestClose:e,__experimentalHideHeader:!0,children:[(0,ii.jsx)("p",{children:(0,i.__)("This template is used by multiple emails. Any changes made would affect other emails on the site. Are you sure you want to edit the template?","woocommerce")}),(0,ii.jsxs)(Ni.Flex,{justify:"end",children:[(0,ii.jsx)(Ni.FlexItem,{children:(0,ii.jsx)(Ni.Button,{variant:"tertiary",onClick:()=>{Vi("edit_template_modal_cancel_button_clicked"),e()},children:(0,i.__)("Cancel","woocommerce")})}),(0,ii.jsx)(Ni.FlexItem,{children:(0,ii.jsx)(Ni.Button,{variant:"primary",onClick:()=>{Vi("edit_template_modal_continue_button_clicked",{templateId:n.id}),t?.({postId:n.id,postType:"wp_template"})},disabled:!n.id||!t,children:(0,i.__)("Edit template","woocommerce")})})]})]})}function sl(){const{template:e,currentEmailContent:t,canUpdateTemplates:n,postType:r}=(0,s.useSelect)((e=>({template:e($i).getCurrentTemplate(),currentEmailContent:e($i).getEditedEmailContent(),canUpdateTemplates:e($i).canUserEditTemplates(),postType:e($i).getEmailPostType()})),[]),[o]=ta("swap"),[a,l]=(0,fi.useState)(!1),[c,u]=(0,fi.useState)(!1);return(0,ii.jsxs)(ii.Fragment,{children:[e&&(0,ii.jsx)(Ni.PanelRow,{children:(0,ii.jsxs)(Ni.Flex,{justify:"start",children:[(0,ii.jsx)(Ni.FlexItem,{className:"editor-post-panel__row-label",children:(0,i.__)("Template","woocommerce")}),(0,ii.jsxs)(Ni.FlexItem,{children:[!(o?.length>1||n)&&(0,ii.jsx)("b",{children:e?.title}),(o?.length>1||n)&&(0,ii.jsx)(Ni.DropdownMenu,{icon:null,text:e?.title,toggleProps:{variant:"tertiary"},label:(0,i.__)("Template actions","woocommerce"),onToggle:t=>Vi("sidebar_template_actions_clicked",{currentTemplate:e?.title,isOpen:t}),children:({onClose:e})=>(0,ii.jsxs)(ii.Fragment,{children:[n&&(0,ii.jsx)(Ni.MenuItem,{onClick:()=>{Vi("sidebar_template_actions_edit_template_clicked"),l(!0),e()},children:(0,i.__)("Edit template","woocommerce")}),o?.length>1&&(0,ii.jsx)(Ni.MenuItem,{onClick:()=>{Vi("sidebar_template_actions_swap_template_clicked"),u(!0),e()},children:(0,i.__)("Swap template","woocommerce")})]})})]})]})}),a&&(0,ii.jsx)(il,{close:()=>(Vi("edit_template_modal_closed"),l(!1))}),c&&(0,ii.jsx)(ha,{onSelectCallback:()=>u(!1),closeCallback:()=>u(!1),previewContent:t,postType:r})]})}const al={recordEvent:Vi,recordEventOnce:zi,debouncedRecordEvent:Ui};function ll(){const e=(0,fi.useMemo)((()=>(0,o.applyFilters)("woocommerce_email_editor_setting_sidebar_extension_component",ol,al)),[]),t=(0,fi.useMemo)((()=>(0,o.applyFilters)("woocommerce_email_editor_setting_sidebar_email_status_component",(()=>null),al)),[]);return(0,ii.jsxs)(l.PluginDocumentSettingPanel,{name:"email-settings-panel",title:(0,i.__)("Settings","woocommerce"),className:"woocommerce-email-editor__settings-panel",children:[(0,ii.jsx)(t,{}),(0,ii.jsx)(sl,{}),(0,ii.jsx)(l.ErrorBoundary,{canCopyContent:!0,children:(0,ii.jsx)(e,{})})]})}const cl={recordEvent:Vi,recordEventOnce:zi,debouncedRecordEvent:Ui};function ul(){const e=(0,o.applyFilters)("woocommerce_email_editor_template_sections",[],cl);return 0===e.length?null:(0,ii.jsx)(l.PluginDocumentSettingPanel,{name:"template-settings-panel",title:(0,i.__)("Settings","woocommerce"),className:"woocommerce-email-editor__settings-panel",children:e.map((e=>(0,ii.jsx)(l.ErrorBoundary,{children:(0,ii.jsx)("div",{children:e.render()},e.id)},`error-boundary-${e.id}`)))})}function pl(){const{isDirty:e}=(0,l.useEntitiesSavedStatesIsDirty)(),{hasEmptyContent:t,isEmailSent:n,urls:r}=(0,s.useSelect)((e=>({hasEmptyContent:e($i).hasEmptyContent(),isEmailSent:e($i).isEmailSent(),urls:e($i).getUrls()})),[]);function a(){r.send&&(window.location.href=r.send)}const c=t||n||e,u=(0,o.applyFilters)("woocommerce_email_editor_send_button_label",(0,i.__)("Send","woocommerce"));return(0,ii.jsx)(Ni.Button,{variant:"primary",size:"compact",onClick:()=>{Vi("header_send_button_clicked"),(0,o.applyFilters)("woocommerce_email_editor_send_action_callback",a)()},disabled:c,"data-automation-id":"email_editor_send_button",children:u})}function dl({children:e}){const t=(0,fi.useRef)(document.createElement("div"));return(0,fi.useEffect)((()=>{const e=document.getElementsByClassName("editor-post-publish-button__button")[0];e&&e.parentNode?.insertBefore(t.current,e.nextSibling)}),[t]),(0,fi.createPortal)((0,ii.jsx)(ii.Fragment,{children:e}),t.current)}function hl(){const e=(0,fi.useRef)(null),{hasNonPostEntityChanges:t,isEditedPostDirty:n,isEditingTemplate:r}=(0,s.useSelect)((e=>({hasNonPostEntityChanges:e(l.store).hasNonPostEntityChanges(),isEditedPostDirty:e(l.store).isEditedPostDirty(),isEditingTemplate:"wp_template"===e(l.store).getCurrentPostType()})),[]),o=r||t||n&&t,i=(0,fi.useCallback)(((e,t)=>{t&&e.classList.contains("force-hidden")&&e.classList.remove("force-hidden"),t||e.classList.contains("force-hidden")||e.classList.add("force-hidden")}),[]);return(0,fi.useEffect)((()=>{const t=document.getElementsByClassName("editor-post-publish-button__button")[0];return i(t,o),t?(e.current&&e.current.disconnect(),e.current=new MutationObserver((()=>{i(t,o)})),e.current.observe(t,{attributes:!0,childList:!0,subtree:!1}),()=>e.current?.disconnect()):()=>e.current?.disconnect()}),[o,i]),(0,ii.jsx)(dl,{children:!o&&(0,ii.jsx)(pl,{})})}const fl=()=>{const e="email-validation",t=(0,s.useSelect)((t=>t(Ss.store).getNotices(e)));return{notices:t,hasValidationNotice:(0,fi.useCallback)((e=>e?void 0!==t.find((t=>t.id===e)):t?.length>0),[t]),addValidationNotice:(0,fi.useCallback)(((t,n,r=[])=>{(0,s.dispatch)(Ss.store).createNotice("error",n,{id:t,isDismissible:!1,actions:r,context:e})}),[e]),removeValidationNotice:(0,fi.useCallback)((t=>{(0,s.dispatch)(Ss.store).removeNotice(t,e)}),[e])}};function ml(){const{notices:e}=fl();return 0===e.length?null:(0,ii.jsx)(Ni.Notice,{status:"error",className:"woocommerce-email-editor-validation-errors components-editor-notices__pinned",isDismissible:!1,children:(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)("strong",{children:(0,i.__)("Fix errors to continue:","woocommerce")}),(0,ii.jsx)("ul",{children:e.map((({id:e,content:t,actions:n})=>(0,ii.jsxs)("li",{children:[t,n.length>0?n.map((({label:e,onClick:t})=>(0,ii.jsx)(Ni.Button,{onClick:t,variant:"link",children:e},e))):null]},e)))})]})})}function gl({context:e="email-editor"}){const{notices:t}=(0,s.useSelect)((t=>({notices:t(Ss.store).getNotices(e)})),[e]),n=(0,fi.useMemo)((()=>({"site-editor-save-success":{content:(0,i.__)("Email design updated.","woocommerce"),removeActions:!0},"editor-save":{content:(0,i.__)("Email saved.","woocommerce"),removeActions:!1,contentCheck:e=>e.content.includes((0,i.__)("Post updated."))}})),[]),{removeNotice:r}=(0,s.useDispatch)(Ss.store),o=t.filter((({type:e})=>"snackbar"===e)).map((e=>n[e.id]?n[e.id].contentCheck&&!n[e.id].contentCheck(e)?e:{...e,content:n[e.id].content,spokenMessage:n[e.id].content,actions:n[e.id].removeActions?[]:e.actions}:e));return(0,ii.jsx)(Ni.SnackbarList,{notices:o,className:"components-editor-notices__snackbar",onRemove:t=>r(t,e)})}function _l({children:e}){const[t]=(0,fi.useState)(document.createElement("div"));return(0,fi.useEffect)((()=>{const e=document.getElementsByClassName("editor-visual-editor ")[0];e&&e.parentNode?.insertBefore(t,e)}),[t]),(0,fi.createPortal)((0,ii.jsx)(ii.Fragment,{children:e}),t)}function yl(){const{notices:e}=(0,s.useSelect)((e=>({notices:e(Ss.store).getNotices("email-editor")})),[]),{removeNotice:t}=(0,s.useDispatch)(Ss.store),n=e.filter((({isDismissible:e,type:t})=>e&&"default"===t)),r=e.filter((({isDismissible:e,type:t})=>!e&&"default"===t));return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsxs)(_l,{children:[(0,ii.jsx)(Ni.NoticeList,{notices:r,className:"components-editor-notices__pinned"}),(0,ii.jsx)(Ni.NoticeList,{notices:n,className:"components-editor-notices__dismissible",onRemove:e=>t(e,"email-editor")}),(0,ii.jsx)(ml,{})]}),(0,ii.jsx)(gl,{context:"global"}),(0,ii.jsx)(gl,{context:"email-editor"})]})}const vl=e=>{const t=(0,gi.getBlockSupport)(e,"background");return t&&!1!==t?.backgroundImage};function bl(){const e=(0,s.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),t=(0,gi.hasBlockSupport)(e?.name,"border",!1)||(0,gi.hasBlockSupport)(e?.name,"__experimentalBorder",!1);return(0,ii.jsxs)(ii.Fragment,{children:[t&&(0,ii.jsx)(Ni.Fill,{name:"InspectorControlsBorder",children:(0,ii.jsxs)(Ni.Notice,{className:"woocommerce-grid-full-width",status:"warning",isDismissible:!1,children:[(0,i.__)("Border display may vary or be unsupported in some email clients.","woocommerce"),(0,ii.jsx)("br",{}),(0,i.__)("Units other than pixels (px) lack support in old email clients.","woocommerce")]})}),vl(e?.name)&&(0,ii.jsx)(Ni.Fill,{name:"InspectorControlsBackground",children:(0,ii.jsx)(Ni.Notice,{className:"woocommerce-grid-full-width",status:"warning",isDismissible:!1,children:(0,i.__)("Select a background color for email clients that do not support background images.","woocommerce")})})]})}const wl=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,ii.jsx)(ks.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"})}),xl=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})}),Sl={edit:{opacity:0,scale:.2},hover:{opacity:1,scale:1,clipPath:"inset( 22% round 2px )"}},kl={edit:{clipPath:"inset(0% round 0px)"},hover:{clipPath:"inset( 22% round 2px )"},tap:{clipPath:"inset(0% round 0px)"}},El=()=>{const{urls:e}=(0,s.useSelect)((e=>({urls:e($i).getUrls()})),[]);function t(){e.listings&&(window.location.href=e.back)}return(0,ii.jsxs)(Ni.__unstableMotion.div,{className:"woocommerce-email-editor__view-mode-toggle",transition:{duration:.2},animate:"edit",initial:"edit",whileHover:"hover",whileTap:"tap",children:[(0,ii.jsx)(Ni.Button,{label:(0,i.__)("Close editor","woocommerce"),showTooltip:!0,tooltipPosition:"middle right",onClick:()=>{Vi("header_close_button_clicked"),(0,o.applyFilters)("woocommerce_email_editor_close_action_callback",t)()},children:(0,ii.jsx)(Ni.__unstableMotion.div,{variants:kl,children:(0,ii.jsx)("div",{className:"woocommerce-email-editor__view-mode-toggle-icon",children:(0,ii.jsx)(na,{className:"woocommerce-email-editor-icon__icon",icon:wl,size:48})})})}),(0,ii.jsx)(Ni.__unstableMotion.div,{className:"woocommerce-email-editor-icon",variants:Sl,children:(0,ii.jsx)(na,{icon:xl})})]})},Cl=()=>{const e=(0,o.applyFilters)("woocommerce_email_editor_close_content",El);return(0,ii.jsx)(ys,{children:({length:t})=>t<=1&&(0,ii.jsx)(e,{})})};function Tl({postId:e,postType:t,settings:n,contentRef:r}){const{currentPost:o,onNavigateToEntityRecord:i,onNavigateToPreviousEntityRecord:u}=function(e,t,n){const[r,o]=(0,fi.useReducer)(((e,{type:t,post:n,previousRenderingMode:r})=>"push"===t?[...e,{post:n,previousRenderingMode:r}]:"pop"===t&&e.length>1?e.slice(0,-1):e),[{post:{postId:e,postType:t}}]),{post:i,previousRenderingMode:a}=r[r.length-1],{getRenderingMode:c}=(0,s.useSelect)(l.store),{setRenderingMode:u}=(0,s.useDispatch)(l.store),p=(0,fi.useCallback)((e=>{o({type:"push",post:{postId:e.postId,postType:e.postType},previousRenderingMode:c()}),u(n)}),[c,u,n]),d=(0,fi.useCallback)((()=>{o({type:"pop"}),a&&u(a)}),[u,a]);return{currentPost:i,onNavigateToEntityRecord:p,onNavigateToPreviousEntityRecord:r.length>1?d:void 0}}(e,t,"post-only"),{post:p,template:d}=(0,s.useSelect)((e=>{const{getEntityRecord:t}=e(a.store),{getEditedPostTemplate:n}=e($i),r=t("postType",o.postType,o.postId);return{template:r&&"wp_template"!==o.postType?n(r.template):null,post:r}}),[o.postType,o.postId]),{isFullscreenEnabled:h,allCommands:f}=(0,s.useSelect)((e=>({isFullscreenEnabled:e($i).isFeatureActive("fullscreenMode"),allCommands:e(Vs.store).getCommands()})),[]),{isFullScreenForced:m,displaySendEmailButton:g}=n,{removeEditorPanel:_}=(0,s.useDispatch)(l.store);(0,fi.useEffect)((()=>{_("post-status")}),[_]);const[y]=Zs(),v=(0,fi.useMemo)((()=>({...n,onNavigateToEntityRecord:i,onNavigateToPreviousEntityRecord:u,defaultRenderingMode:"wp_template"===o.postType?"post-only":"template-locked",supportsTemplateMode:!0})),[n,i,u,o.postType]);return p&&("wp_template"===o.postType||p.template===d?.slug||!p.template&&d)?(zi("editor_layout_loaded"),(0,ii.jsx)(Ni.SlotFillProvider,{children:(0,ii.jsxs)(l.ErrorBoundary,{canCopyContent:!0,children:[(!f||0===f.length)&&(0,ii.jsx)(Vs.CommandMenu,{}),(0,ii.jsxs)(ms,{postId:o.postId,postType:o.postType,settings:v,templateId:d&&d.id,styles:y,contentRef:r,children:[(0,ii.jsx)(l.AutosaveMonitor,{}),(0,ii.jsx)(l.LocalAutosaveMonitor,{}),(0,ii.jsx)(l.UnsavedChangesWarning,{}),(0,ii.jsx)(l.EditorKeyboardShortcutsRegister,{}),(0,ii.jsx)(l.PostLockedModal,{}),(0,ii.jsx)(fa,{}),(0,ii.jsx)(Ya,{}),(0,ii.jsx)(tl,{}),(0,ii.jsx)(Js,{}),(0,ii.jsx)(gs,{isActive:m||h}),(m||h)&&(0,ii.jsx)(Cl,{}),!m&&(0,ii.jsx)(rl,{}),"wp_template"===o.postType?(0,ii.jsx)(ul,{}):(0,ii.jsx)(ll,{}),g&&(0,ii.jsx)(hl,{}),(0,ii.jsx)(yl,{}),(0,ii.jsx)(bl,{}),(0,ii.jsx)(c.PluginArea,{scope:"woocommerce-email-editor"})]})]})})):(0,ii.jsx)("div",{className:"spinner-container",children:(0,ii.jsx)(Ni.Spinner,{style:{width:"80px",height:"80px"}})})}const Pl=window.wp.dataControls;function jl(e){return{type:"CHANGE_PREVIEW_STATE",state:{isModalOpened:e}}}function Al(e){return{type:"CHANGE_PREVIEW_STATE",state:{toEmail:e}}}function Il(e,t){if(!e||!t)throw new Error("setEmailPost requires valid postId and postType parameters");return{type:"SET_EMAIL_POST",state:{postId:e,postType:t}}}function Nl(e){if(!e)throw new Error("setEmailPostType requires a valid postType parameter");return{type:"SET_EMAIL_POST",state:{postType:e}}}const Ll=e=>async({registry:t})=>{const n=t.select($i).getEmailPostId(),r=t.select($i).getEmailPostType();t.dispatch(a.store).editEntityRecord("postType",r,n,{template:e})};function*Bl(e){if(!(0,s.select)($i).getPreviewState().isSendingPreviewEmail){yield{type:"CHANGE_PREVIEW_STATE",state:{sendingPreviewStatus:null,isSendingPreviewEmail:!0}};try{const t=(0,s.select)($i).getEmailPostId();yield(0,Pl.apiFetch)({path:"/woocommerce-email-editor/v1/send_preview_email",method:"POST",data:{email:e,postId:t}}),yield{type:"CHANGE_PREVIEW_STATE",state:{sendingPreviewStatus:Qa.SUCCESS,isSendingPreviewEmail:!1}},Vi("sent_preview_email",{postId:t,email:e})}catch(t){Vi("sent_preview_email_error",{email:e}),yield{type:"CHANGE_PREVIEW_STATE",state:{sendingPreviewStatus:Qa.ERROR,isSendingPreviewEmail:!1,errorMessage:JSON.stringify(t?.error)}}}}}function Rl(e){return{type:"SET_CONTENT_VALIDATION",validation:e}}function Ol(e){return{type:"SET_EDITOR_SETTINGS",editorSettings:e}}function Ml(e){return{type:"SET_EDITOR_THEME",theme:e}}function Dl(e){return{type:"SET_EDITOR_URLS",urls:e}}function Fl(e){return{type:"SET_EDITOR_CONFIG",config:e}}function ql(e,t){switch(t.type){case"CHANGE_PREVIEW_STATE":return{...e,preview:{...e.preview,...t.state}};case"SET_EMAIL_POST":return{...e,...t.state};case"SET_CONTENT_VALIDATION":return{...e,contentValidation:t.validation};case"SET_EDITOR_SETTINGS":return{...e,editorSettings:t.editorSettings};case"SET_EDITOR_THEME":return{...e,theme:t.theme};case"SET_EDITOR_URLS":return{...e,urls:{...e.urls,...t.urls}};case"SET_EDITOR_CONFIG":return{...e,editorSettings:t.config.editorSettings,theme:t.config.theme,urls:t.config.urls,preview:{...e.preview,toEmail:t.config.userEmail},styles:{...e.styles,globalStylesPostId:t.config.globalStylesPostId??null}};default:return e}}function Hl(e){return e?.content&&"function"==typeof e.content?e.content(e):e?.blocks?(0,gi.serialize)(e.blocks):e?.content?e.content:""}const Vl=new WeakMap;function zl(e){let t=Vl.get(e);return t||(t={...e,get blocks(){return(0,gi.parse)(e.content)}},Vl.set(e,t)),t}function Ul(e){return e?{...e,title:e?.title?.raw||e?.title||"",content:e?.content?.raw||e?.content||""}:null}const $l=(0,s.createRegistrySelector)((e=>(t,n)=>!!e(nl.store).get($i,n))),Wl=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostId(),n=e($i).getEmailPostType();return!!e(a.store).hasEditsForEntityRecord("postType",n,t)})),Gl=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostId(),n=e($i).getEmailPostType(),r=e(a.store).getEntityRecord("postType",n,t);if(!r)return!0;const{content:o}=r;return!o.raw})),Yl=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostId(),n=e($i).getEmailPostType(),r=e(a.store).getEntityRecord("postType",n,t);return!!r&&"sent"===r.status})),Kl=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostId(),n=e($i).getEmailPostType(),r=e(a.store).getEditedEntityRecord("postType",n,t);return r?Hl(r):""})),Zl=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostType();return e(a.store).getEntityRecords("postType",t,{per_page:30,status:"publish,sent"})?.filter((e=>""!==e?.content?.raw))||[]})),Jl=(0,s.createRegistrySelector)((e=>{const t=e($i).getEmailPostType();return(0,s.createSelector)((()=>t?e(a.store).getBlockPatterns().filter((({templateTypes:e,postTypes:n})=>Array.isArray(e)&&e.includes("email-template")&&(void 0===n||0===n.length||n.includes(t)))).map(zl):[]),(()=>[e(a.store).getBlockPatterns(),t]))})),Xl=(0,s.createRegistrySelector)((e=>()=>e(a.store).canUser("create",{kind:"postType",name:"wp_template"})));function Ql(e,t){return Xl()?e(a.store).getEditedEntityRecord("postType","wp_template",t):Ul(e(a.store).getEntityRecord("postType","wp_template",t,{context:"view"}))}const ec=(0,s.createRegistrySelector)((e=>(t,n)=>{const r=n||e(l.store).getEditedPostAttribute("template");if(r){const t={context:"view",per_page:-1,_woocommerce_email_editor:"fetch-all-templates"},n=e(a.store).getEntityRecords("postType","wp_template",t)?.find((e=>e.slug===r));return n?Ql(e,n.id):null}const o=e(a.store).getDefaultTemplateId({slug:"email-general"});return Ql(e,o)})),tc=(0,s.createRegistrySelector)((e=>()=>{if("wp_template"===e(l.store).getCurrentPostType()){const t=e(l.store).getCurrentPostId();return e(a.store).getEditedEntityRecord("postType","wp_template",t)}return e($i).getEditedPostTemplate()})),nc=()=>{const e=tc();return e?Hl(e):""},rc=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getGlobalStylesPostId();return{postId:t,canEdit:e(a.store).canUser("update",{kind:"root",name:"globalStyles",id:t})}})),oc=(0,s.createRegistrySelector)((e=>()=>{const{postId:t,canEdit:n}=rc();return t&&void 0!==n&&t?n?e(a.store).getEditedEntityRecord("root","globalStyles",t):Ul(e(a.store).getEntityRecord("root","globalStyles",t,{context:"view"})):null})),ic=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostType();return e(a.store).getEntityRecords("postType","wp_template",{per_page:-1,post_type:t,context:"view"})?.filter((e=>e.post_types.includes(t)))}));function sc(e){return e.postId}function ac(e){return e.postType}function lc(e){return e.editorSettings}function cc(e){return e.editorSettings?.__experimentalFeatures?.color?.palette}function uc(e){return e.preview}const pc=(0,s.createRegistrySelector)((e=>()=>{const t=e(a.store).getEntityRecords(Wi.kind,Wi.name,{context:"view",per_page:-1})||[],n=e($i).getEmailPostType();if(!n)return t;if("wp_template"===n){const n=e($i).getCurrentTemplate();return t.filter((e=>void 0===e.postTypes||0===e.postTypes.length||Array.isArray(n.post_types)&&n.post_types.some((t=>e.postTypes.includes(t)))))}return t.filter((e=>void 0===e.postTypes||0===e.postTypes.length||e.postTypes.includes(n)))}));function dc(e){return e.theme?.styles}function hc(e){return e.theme}function fc(e){return e.styles.globalStylesPostId}function mc(e){return e.urls}function gc(e){return e.contentValidation}const _c=()=>{if(void 0!==(0,s.select)($i))return(0,s.select)($i);const e=(0,s.createReduxStore)($i,{actions:t,controls:Pl.controls,selectors:r,resolvers:{},reducer:ql,initialState:{editorSettings:void 0,theme:void 0,styles:{globalStylesPostId:null},urls:{back:"",listings:""},preview:{toEmail:"",isModalOpened:!1,isSendingPreviewEmail:!1,sendingPreviewStatus:null},contentValidation:void 0}});return(0,s.register)(e),(0,s.dispatch)(a.store).addEntities([Wi]),e},yc=e=>{const t=e.editorSettings?.__experimentalFeatures?.layout,n=e.theme,r=(0,s.select)($i).getGlobalEmailStylesPost(),o=r?.styles,i=Us().all([{},n.styles,o]);let a=`display:flow-root; max-width: ${t?.contentSize||"100%"}; margin: 0 auto;box-sizing: border-box;`;const l=i?.spacing?.padding;return l&&(a+=`padding-left:${Gs(l.left)};`,a+=`padding-right:${Gs(l.right)};`),`.is-root-container{ ${a} }`},vc=e=>{vs||(0,s.use)((t=>({select(n){const r=t.select(n);return"core"===n.name?{...r,__experimentalGetCurrentGlobalStylesId:()=>r.__experimentalGetCurrentGlobalStylesId()?e.globalStylesPostId:null,__experimentalGetCurrentThemeBaseGlobalStyles:()=>r.__experimentalGetCurrentThemeBaseGlobalStyles()?{...e.theme,styles:{...e.theme.styles,css:yc(e)}}:null}:r}})))},bc=window.wp.mediaUtils,wc=()=>{Ei("editor.MediaUpload","woocommerce/email-editor/replace-media-upload",(()=>bc.MediaUpload))},xc=()=>{const e={"You’ve tried to select a block that is part of a template that may be used elsewhere on your site. Would you like to edit the template?":{domain:"default",replacementText:(0,i.__)("You’ve tried to select a block that is part of a template that may be used in other emails. Would you like to edit the template?","woocommerce")}};Ei("i18n.gettext","woocommerce/email-editor/override-text",((t,n,r)=>e[n]&&e[n].domain===(r||"default")?e[n].replacementText:t))},Sc=e=>{(0,o.doAction)("woocommerce_email_editor_events",e.detail)},kc=()=>{Fi()&&Hi.addEventListener(qi,Sc)};window.addEventListener("unload",(function(){Fi()&&Hi.removeEventListener(qi,Sc)}));const Ec=(...e)=>{const t=(0,s.select)(l.store).isInserterOpened(),n=!!document.getElementsByClassName("block-editor-inserter__quick-inserter").length;let r="other_inserter";t?r="inserter_sidebar":n&&(r="quick_inserter");const o=e[0],i=e[5];!1===Array.isArray(o)&&"object"==typeof o&&Vi(`${r}_library_block_selected`,{blockName:o.name}),Array.isArray(o)&&i&&i.patternName&&Vi(`${r}_library_pattern_selected`,{patternName:i.patternName})},Cc={"core/editor":{autosave:"editor_content_auto_saved",setDeviceType:e=>{Vi(`header_preview_dropdown_${e.toLowerCase()}_selected`)},setRenderingMode:e=>{(0,s.select)(l.store).getRenderingMode()!==e&&document.querySelector(`[aria-label="${(0,i.__)("View options")}"]`)&&Vi("preview_dropdown_rendering_mode_changed",{renderingMode:e})}},"core/block-editor":{insertBlock:Ec,insertBlocks:Ec},"core/preferences":{set:(e,t,n)=>{if((0,s.select)(nl.store).get(e,t)===n)return;const r={focusMode:"focus_mode_toggle",fullscreenMode:"full_screen_mode_toggle",distractionFree:"distraction_free_toggle",fixedToolbar:"fixed_toolbar_toggle"};r[t]&&Vi(r[t],{isEnabled:n})}},"core/commands":{open:"command_menu_opened",close:"command_menu_closed"}},Tc={},Pc={},jc=()=>{Fi()&&(0,s.use)((e=>({dispatch:t=>{const n="object"==typeof t?t.name:t,r=e.dispatch(n),o=Cc[n];if(!o)return r;Tc[n]||(Tc[n]={}),Pc[n]||(Pc[n]={});for(const[e,t]of Object.entries(o))Pc[n][e]||(Pc[n][e]=r[e],Tc[n][e]=(...r)=>{try{"function"==typeof t?t(...r):"string"==typeof t&&Vi(t)}catch(e){console.error("Error tracking event",e)}return Pc[n][e](...r)}),r[e]=Tc[n][e];return r}})))};let Ac=[];function Ic(e){Ac.forEach((t=>{const n=e.target?.matches?.(t.selector)?e.target:e.target?.closest?.(t.selector);n&&("function"==typeof t.track?t.track(n,e):Vi(t.track))}))}const Nc=new WeakMap,Lc={core:["saveEditedEntityRecord","saveEntityRecord"]},Bc=()=>{Object.keys(Nc).length>0||(0,s.use)((e=>({dispatch:t=>{const n="object"==typeof t?t.name:t;if(!Lc[n])return e.dispatch(n);const r=e.dispatch(n);Nc[n]||(Nc[n]={});const o=Lc[n].filter((e=>!Nc[n][e]));if(o.length>0)for(const t of o)Nc[n][t]=r[t],r[t]=async(...r)=>{const o=e.select($i).getContentValidation(),s=o?.validateContent;if(s){let e;try{e=s()}catch(t){e=!1}if(!e)return Promise.reject(new Error((0,i.__)("Content validation failed.","woocommerce")))}return await Nc[n][t](...r)};return r}})))},Rc=window.wp.isShallowEqual;var Oc=n.n(Rc);function Mc(e){const t=(0,fi.useRef)(e);return Oc()(e,t.current)||(t.current=e),t.current}const Dc=[],Fc=()=>{const{addValidationNotice:e,hasValidationNotice:t,removeValidationNotice:n}=fl(),{editedContent:r,editedTemplateContent:i}=(0,s.useSelect)((e=>({editedContent:e($i).getEditedEmailContent(),editedTemplateContent:e($i).getCurrentTemplateContent()}))),l=Mc(r),c=Mc(i),u=(0,fi.useCallback)((()=>((e,t,{addValidationNotice:n,hasValidationNotice:r,removeValidationNotice:i})=>{const s=(0,o.applyFilters)("woocommerce_email_editor_content_validation_rules",Dc);let a=!0;return s.forEach((({id:o,testContent:s,message:l,actions:c})=>{s(e+t)?(n(o,l,c),a=!1):r(o)&&i(o)})),a})(l,c,{addValidationNotice:e,hasValidationNotice:t,removeValidationNotice:n})),[l,c,e,n,t]);return(0,fi.useEffect)((()=>((0,s.dispatch)($i).setContentValidation({validateContent:u}),()=>{(0,s.dispatch)($i).setContentValidation(void 0)})),[u]),(0,fi.useEffect)((()=>{const e=(0,s.subscribe)((()=>{t()&&u()}),a.store);return()=>e()}),[t,u]),{validateContent:u}},qc=()=>{const e=(0,fi.useMemo)((()=>{const e=(0,i.__)("Saving failed.");return new RegExp("^"+e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))}),[]);(0,fi.useEffect)((()=>{const t=(0,s.subscribe)((()=>{(0,s.select)(Ss.store).getNotices().forEach((t=>{"string"==typeof t.content&&e.test(t.content)&&(0,s.dispatch)(Ss.store).removeNotice(t.id)}))}));return()=>{t()}}),[e])},Hc=()=>{const e=(0,fi.useRef)(null),[t,n]=(0,fi.useState)(0),r=(0,fi.useCallback)((t=>{e.current=t,n((e=>++e))}),[e,n]),i=(0,s.useSelect)((e=>{const{getEditorSettings:t}=e(l.store);return t()?.allowedIframeStyleHandles??[]}));return(0,fi.useEffect)((()=>{if(!e.current)return;const{ownerDocument:t}=e.current;Array.from(document.styleSheets).filter((e=>{if(!(e?.ownerNode instanceof Element))return!1;const t=e.ownerNode.getAttribute("id"),n=t&&!i.includes(t);return(0,o.applyFilters)("woocommerce_email_editor_iframe_stylesheet_should_remove",n,e)})).map((e=>e.ownerNode.getAttribute("id"))).forEach((e=>{const n=t.getElementById(e);n&&n.remove();const r=t.createElement("style");r.id=e,t.head.appendChild(r)}))}),[i,t]),r};function Vc(){if(!window.WooCommerceEmailEditor)throw new Error("WooCommerceEmailEditor global object is not available. This is required for the email editor to work.");const e=window.WooCommerceEmailEditor.editor_settings,t=window.WooCommerceEmailEditor.editor_theme,n=window.WooCommerceEmailEditor.urls,r=window.WooCommerceEmailEditor.current_wp_user_email,o=window.WooCommerceEmailEditor.user_theme_post_id;if(!e)throw new Error("window.WooCommerceEmailEditor.editor_settings is required.");if(!t)throw new Error("window.WooCommerceEmailEditor.editor_theme is required.");if(!n||"string"!=typeof n.back||"string"!=typeof n.listings)throw new Error("window.WooCommerceEmailEditor.urls.back and .listings are required strings.");return{editorSettings:e,theme:t,urls:n,userEmail:r,globalStylesPostId:o??null}}function zc({postId:e,postType:t,isPreview:n=!1,contentRef:r=null}){const[o,i]=(0,fi.useState)(!1),{settings:a}=(0,s.useSelect)((e=>({settings:e($i).getInitialEditorSettings()})),[]);Fc(),qc();const{setEmailPost:l}=(0,s.useDispatch)($i);(0,fi.useEffect)((()=>{l(e,t),i(!0)}),[e,t,l]);const c=Hc(),u=(0,mi.useMergeRefs)([c,r]),p=(0,fi.useMemo)((()=>({...a,allowedBlockTypes:_i(),isPreviewMode:n})),[a,n]);return o?(0,ii.jsx)(fi.StrictMode,{children:(0,ii.jsx)(Tl,{postId:e,postType:t,settings:p,contentRef:u})}):null}function Uc(e){kc(),jc(),Fi()&&(Ac=[{track:"header_preview_dropdown_preview_in_new_tab_selected",selector:".editor-preview-dropdown__button-external"},{track:()=>{const e=document.getElementsByClassName("is-collapsed editor-collapsible-block-toolbar").length;Vi("header_blocks_tool_button_clicked",{isBlockToolsCollapsed:e})},selector:".editor-collapsible-block-toolbar__toggle"},{track:e=>{const t=e.classList.contains("is-opened");Vi("header_more_menu_dropdown_toggle",{isOpened:t})},selector:`.components-dropdown-menu__toggle[aria-label="${(0,i.__)("Options")}"]`},{track:e=>{(e.textContent===(0,i.__)("Save")&&"false"===e.getAttribute("aria-disabled")||e.textContent===(0,i.__)("Saving…"))&&Vi("header_save_button_clicked")},selector:".editor-post-publish-button"},{track:"header_save_email_button_clicked",selector:".editor-post-saved-state.is-saving"},{track:"inserter_sidebar_library_close_icon_clicked",selector:".block-editor-inserter__menu .block-editor-tabbed-sidebar__close-button"},{track:e=>{const t=e.classList.contains("is-opened");Vi("header_preview_dropdown_clicked",{isOpened:t})},selector:".editor-preview-dropdown__toggle"},{track:()=>{Vi("sidebar_tab_selected",{tab:"document"})},selector:'[data-tab-id="edit-post/document"]'},{track:()=>{Vi("sidebar_tab_selected",{tab:"block"})},selector:'[data-tab-id="edit-post/block"]'},{track:e=>{const t=e.classList.contains("is-pressed");Vi("header_inserter_sidebar_clicked",{isOpened:t})},selector:".editor-document-tools__inserter-toggle"},{track:e=>{const t=e.classList.contains("is-pressed");Vi("header_listview_sidebar_clicked",{isOpened:t})},selector:".editor-document-tools__document-overview-toggle"},{track:e=>{Vi("command_bar_command_clicked",{command:e.dataset?.value})},selector:'.commands-command-menu__container [role="option"]'}],document.addEventListener("click",Ic)),_c(),Bc(),(0,gi.getBlockTypes)().forEach((e=>{Os(e.name)&&wi(e.name,(e=>({...e,attributes:{...e.attributes,layout:{type:"object"}}})))})),Ei("editor.BlockListBlock","woocommerce-email-editor/with-layout-styles",Hs),Ei("editor.BlockEdit","woocommerce-email-editor/with-inspector-controls",Fs),As(),wc(),xc(),vc(e)}function $c(e){const t=document.getElementById(e);if(!t)return;const{current_post_id:n,current_post_type:r}=window.WooCommerceEmailEditor;if(null==n)throw new Error("current_post_id is required but not provided.");if(!r)throw new Error("current_post_type is required but not provided.");const i=(0,o.applyFilters)("woocommerce_email_editor_wrap_editor_component",zc);Uc(Vc());const a=Vc();(0,s.dispatch)($i).setEditorConfig(a),(0,fi.createRoot)(t).render((0,ii.jsx)(i,{postId:n,postType:r}))}const Wc=(0,ii.jsx)(ks.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,ii.jsx)(ks.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"})});var Gc=n(5270),Yc=n(8255),Kc=n.n(Yc);const Zc=window.wp.escapeHtml;function Jc({installedDaysAgo:e,reviewRequestIllustrationUrl:t,username:n}){const r=Math.round(e/30),o=e>30?(0,i.sprintf)((0,i._n)("You’ve been using MailPoet for %d month now, and we would love to read your own review.","You’ve been using MailPoet for %d months now, and we would love to read your own review.",r,"mailpoet"),r):(0,i.sprintf)((0,i._n)("You’ve been using MailPoet for %d day now, and we would love to read your own review.","You’ve been using MailPoet for %d days now, and we would love to read your own review.",e,"mailpoet"),e);return(0,ii.jsxs)("div",{className:"mailpoet_review_request",children:[(0,ii.jsx)("img",{src:t,height:"280",width:"280",alt:""}),(0,ii.jsx)("h2",{children:(0,i.__)("Thank you! Time to tell the world?","mailpoet")}),(0,ii.jsx)("p",{children:(0,i.sprintf)((0,i.__)("%s, did you know that hundreds of WordPress users read the reviews on the plugin repository? They’re also a source of inspiration for our team.","mailpoet"),(0,Zc.escapeHTML)(n))}),(0,ii.jsx)("p",{children:o}),(0,ii.jsx)("p",{children:(0,ii.jsx)("a",{href:"http://bit.ly/2Bi124o",target:"_blank",rel:"noopener noreferrer",className:"button button-primary",children:(0,i.__)("Rate us now","mailpoet")})}),(0,ii.jsx)("p",{children:(0,ii.jsx)("a",{id:"mailpoet_review_request_not_now",children:(0,i.__)("Not now")})})]})}let Xc=null;const Qc=(e=null)=>new Promise(((t,n)=>{window.mailpoet_display_nps_poll&&window.mailpoet_3rd_party_libs_enabled?(Xc||(Xc=di.Ajax.post({api_version:window.mailpoet_api_version,endpoint:"analytics",action:"getTrackingData"})),Xc).then((({data:n})=>{((e,t)=>{let n;n=t||(window.mailpoet_display_nps_form?"EqOgKsgZd832Sz9w":window.mailpoet_is_new_user?"6L479eVPXk7pBn6S":"k0aJAsQAWI2ERyGv");const r={name:window.mailpoet_current_wp_user.user_nicename,email:window.mailpoet_current_wp_user.user_email,mailpoetVersion:window.mailpoet_version,mailpoetPremiumIsActive:window.mailpoet_premium_active,createdAt:e.installedAtIso,newslettersSent:e.newslettersSent,welcomeEmails:e.welcomeEmails,postnotificationEmails:e.postnotificationEmails,woocommerceEmails:e.woocommerceEmails,subscribers:e.subscribers,lists:e.lists,sendingMethod:e.sendingMethod,woocommerceIsInstalled:e.woocommerceIsInstalled,woocommerceVersion:e.woocommerceVersion,WordPressVersion:e.WordPressVersion,blockTheme:e.blockTheme,themeVersion:e.themeVersion,theme:e.theme};e.gutenbergVersion&&(r.gutenbergVersion=e.gutenbergVersion),e.wooCommerceVersion&&(r.wooCommerceVersion=e.wooCommerceVersion),Kc()({writeKey:n,userId:window.mailpoet_current_wp_user.ID+window.mailpoet_site_url,traits:r,events:{submit:e=>{e.rating>=9&&e.completed&&di.Modal.popup({width:800,template:Gc.renderToString(Jc({username:window.mailpoet_current_wp_user_firstname||window.mailpoet_current_wp_user.user_login,reviewRequestIllustrationUrl:window.mailpoet_review_request_illustration_url,installedDaysAgo:window.mailpoet_installed_days_ago})),onInit:()=>{document.getElementById("mailpoet_review_request_not_now").addEventListener("click",(()=>di.Modal.close()))}})}}})})(n,e),t()})):n()})),eu=window.wp.date,tu=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})});function nu(){const[e]=(0,a.useEntityProp)("postType","mailpoet_email","mailpoet_data"),t=e?.scheduled_at||null,n=(0,fi.useRef)(null),r=(0,eu.getSettings)(),o=e=>{const t=(0,s.select)(l.store).getCurrentPostId(),n="mailpoet_email",r=(0,s.select)(a.store).getEditedEntityRecord("postType",n,t),o=r?.mailpoet_data||{};(0,s.dispatch)(a.store).editEntityRecord("postType",n,t,{mailpoet_data:{...o,scheduled_at:e}})},c=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join("")),u=(new Date).setHours(0,0,0,0);return(0,ii.jsx)(Ni.PanelRow,{children:(0,ii.jsxs)(Ni.Flex,{justify:"start",ref:n,children:[(0,ii.jsx)(Ni.FlexItem,{className:"editor-post-panel__row-label",children:(0,i.__)("Send","mailpoet")}),(0,ii.jsx)(Ni.FlexItem,{className:"editor-post-panel__row-control",children:(0,ii.jsx)(Ni.Dropdown,{popoverProps:{anchor:n.current,placement:"left-start",offset:36,shift:!0},renderToggle:({isOpen:e,onToggle:n})=>(0,ii.jsx)(Ni.Button,{variant:"tertiary",onClick:n,"aria-expanded":e,children:t?(0,eu.dateI18n)(r.formats.datetime,t,r.timezone.string):(0,i.__)("Immediately","mailpoet")}),renderContent:({onClose:e})=>(0,ii.jsxs)("div",{className:"mailpoet-status-panel__date-time-picker",children:[(0,ii.jsx)(Ni.__experimentalVStack,{className:"block-editor-inspector-popover-header",spacing:4,children:(0,ii.jsxs)(Ni.__experimentalHStack,{alignment:"center",children:[(0,ii.jsx)(Ni.__experimentalHeading,{className:"block-editor-inspector-popover-header__heading",level:2,size:13,children:(0,i.__)("Send","mailpoet")}),(0,ii.jsx)(Ni.__experimentalSpacer,{}),(0,ii.jsx)(Ni.Button,{size:"small",className:"block-editor-inspector-popover-header__action",label:(0,i.__)("Now","mailpoet"),variant:"tertiary",onClick:()=>o(null),children:(0,i.__)("Now","mailpoet")}),(0,ii.jsx)(Ni.Button,{size:"small",className:"block-editor-inspector-popover-header__action",label:(0,i.__)("Close","mailpoet"),icon:tu,onClick:e})]})}),(0,ii.jsx)(Ni.DateTimePicker,{currentDate:t,onChange:e=>o(e),dateOrder:/* translators: Order of day, month, and year. Available formats are 'dmy', 'mdy', and 'ymd'. */ /* translators: Order of day, month, and year. Available formats are 'dmy', 'mdy', and 'ymd'. */35 (0,i._x)("dmy","date order","mailpoet"),is12Hour:c,isInvalidDate:e=>e.getTime()<u})]})})})]})})}const ru=[];function ou(){const[e]=(0,a.useEntityProp)("postType","mailpoet_email","mailpoet_data"),t=e?.segment_ids||ru,n=(0,fi.useRef)(null),[r,o]=(0,fi.useState)([]),[c,u]=(0,fi.useState)(!0),[p,d]=(0,fi.useState)("segment");(0,fi.useEffect)((()=>{let e=!0;u(!0);const t=di.Ajax.post({api_version:window.mailpoet_api_version,endpoint:"segments",action:"listing",data:{}}),n=di.Ajax.post({api_version:window.mailpoet_api_version,endpoint:"dynamic_segments",action:"listing",data:{}});return Promise.all([t,n]).then((([t,n])=>{const r=[...t.data||[],...n.data||[]].filter((e=>!e.deleted_at));e&&o(r)})).catch((()=>{e&&o([])})).finally((()=>{e&&u(!1)})),()=>{e=!1}}),[]),(0,fi.useEffect)((()=>{if(0===r.length)return;if(0===t.length)return void d("segment");const e=r.find((e=>e.id.toString()===t[0].toString()));d("woocommerce_users"===e?.type?"all_customers":"segment")}),[t,r]);const h=(e,t)=>{const n=(0,s.select)(l.store).getCurrentPostId(),r="mailpoet_email",o=(0,s.select)(a.store).getEditedEntityRecord("postType",r,n),i=o?.mailpoet_data||{};(0,s.dispatch)(a.store).editEntityRecord("postType",r,n,{mailpoet_data:{...i,[e]:t}})},f=r.filter((e=>"default"===e.type||"dynamic"===e.type)),m=e=>{const t=e.map((e=>{const t=f.find((t=>t.name===e));return t?t.id:null})).filter((e=>null!==e));h("segment_ids",t)},g=r.find((e=>"woocommerce_users"===e.type)),_=parseInt(g?.subscribers_count?.all||"0",10),y=t.map((e=>r.find((t=>t.id.toString()===e.toString())))).filter((e=>void 0!==e)),v=y.reduce(((e,t)=>{const n=t.count_all||t.subscribers_count?.all||"0",r=parseInt(n,10);return e+(Number.isNaN(r)?0:r)}),0),b=y.filter((e=>"default"===e.type||"dynamic"===e.type));let w=(0,i.__)("Select recipients","mailpoet");return"all_customers"===p?w=(0,i.__)("All customers","mailpoet"):b.length>0&&(w=b.map((e=>e.name)).join(", ")),(0,ii.jsx)(Ni.PanelRow,{children:(0,ii.jsxs)(Ni.Flex,{justify:"start",ref:n,children:[(0,ii.jsx)(Ni.FlexItem,{className:"editor-post-panel__row-label",children:(0,i.__)("Recipients","mailpoet")}),(0,ii.jsx)(Ni.FlexItem,{className:"editor-post-panel__row-control",children:(0,ii.jsx)(Ni.Dropdown,{popoverProps:{anchor:n.current,placement:"left-start",offset:36,shift:!0},renderToggle:({isOpen:e,onToggle:t})=>(0,ii.jsx)(Ni.Button,{variant:"tertiary",onClick:t,"aria-expanded":e,disabled:c,children:w}),renderContent:({onClose:e})=>(0,ii.jsxs)("div",{className:"mailpoet-status-panel__recipients-selector",children:[(0,ii.jsx)(Ni.__experimentalVStack,{className:"block-editor-inspector-popover-header",spacing:4,children:(0,ii.jsxs)(Ni.__experimentalHStack,{alignment:"center",children:[(0,ii.jsx)(Ni.__experimentalHeading,{className:"block-editor-inspector-popover-header__heading",level:2,size:13,children:(0,i.__)("Select recipients","mailpoet")}),(0,ii.jsx)(Ni.__experimentalSpacer,{}),(0,ii.jsx)(Ni.Button,{size:"small",className:"block-editor-inspector-popover-header__action",label:(0,i.__)("Close","mailpoet"),icon:tu,onClick:e})]})}),c?(0,ii.jsx)(Ni.Spinner,{}):(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(Ni.RadioControl,{selected:p,options:[{label:(0,i.__)("Send to all customers","mailpoet"),value:"all_customers",description:(0,i.sprintf)((0,i._n)("%s recipient","%s recipients",_,"mailpoet"),_)},{label:(0,i.__)("Send to a segment","mailpoet"),value:"segment"}],onChange:e=>(e=>{if(d(e),"all_customers"===e){const e=r.find((e=>"woocommerce_users"===e.type));e&&h("segment_ids",[e.id])}else h("segment_ids",[])})(e)}),"segment"===p&&(0,ii.jsxs)("div",{className:"mailpoet-status-panel__recipients-segments",children:[(0,ii.jsx)(Ni.FormTokenField,{label:(0,i.__)("Select segment(s)","mailpoet"),value:b.map((e=>e.name)),suggestions:f.map((e=>e.name)),onChange:m,__experimentalExpandOnFocus:!0,__experimentalAutoSelectFirstMatch:!0,__experimentalShowHowTo:!1}),(0,ii.jsxs)("div",{className:"mailpoet-status-panel__recipients-total-count",children:[(0,i.__)("Total recipients: ","mailpoet")," ",v.toLocaleString()]})]})]})]})})})]})})}function iu(){return(0,ii.jsxs)(l.PluginDocumentSettingPanel,{name:"mailpoet-email-settings",title:(0,i.__)("Email settings","mailpoet"),className:"mailpoet-email-settings-panel",children:[(0,ii.jsx)(nu,{}),(0,ii.jsx)(ou,{})]})}function su(){const[e]=(0,a.useEntityProp)("postType","mailpoet_email","mailpoet_data"),t=(e,t)=>{const n=(0,s.select)(l.store).getCurrentPostId(),r="mailpoet_email",o=(0,s.select)(a.store).getEditedEntityRecord("postType",r,n),i=o?.mailpoet_data||{};(0,s.dispatch)(a.store).editEntityRecord("postType",r,n,{mailpoet_data:{...i,[e]:t}})},n=e?.subject?.length??0,r=e?.preheader?.length??0,o=(0,ii.jsxs)(Ni.__experimentalHStack,{spacing:2,alignment:"top",children:[(0,ii.jsx)("span",{className:"mailpoet-content-settings-panel__help-text",children:(0,i.__)("Personalise with tags: [site-title], [customer-firstname], [customer-lastname], [customer-email]","mailpoet")}),(0,ii.jsxs)("span",{className:Fo()("mailpoet-content-settings-panel__text-length",{"mailpoet-content-settings-panel__text-length--error":n>60}),children:[n,"/",60]})]}),c=(0,ii.jsxs)(Ni.__experimentalHStack,{spacing:2,alignment:"top",children:[(0,ii.jsx)("span",{className:"mailpoet-content-settings-panel__help-text",children:(0,i.__)("Shown as a preview in the Inbox, next to the subject line.","mailpoet")}),(0,ii.jsxs)("span",{className:Fo()("mailpoet-content-settings-panel__text-length",{"mailpoet-content-settings-panel__text-length--warning":r>80,"mailpoet-content-settings-panel__text-length--error":r>150}),children:[r,"/",150]})]});return(0,ii.jsxs)(l.PluginDocumentSettingPanel,{name:"mailpoet-content-settings",title:(0,i.__)("Content settings","mailpoet"),className:"mailpoet-content-settings-panel",children:[(0,ii.jsx)(Ni.TextareaControl,{label:(0,i.__)("Subject","mailpoet"),value:e?.subject||"",onChange:e=>t("subject",e),help:o,placeholder:(0,i.__)("Eg. The summer sale is here!","mailpoet"),"data-automation-id":"email_subject"}),(0,ii.jsx)(Ni.TextareaControl,{label:(0,i.__)("Preview text","mailpoet"),value:e?.preheader||"",onChange:e=>t("preheader",e),help:c,placeholder:(0,i.__)("Add a preview text to capture subscribers' attention and increase open rates.","mailpoet"),"data-automation-id":"email_preheader"})]})}function au(){const[e]=(0,a.useEntityProp)("postType","mailpoet_email","mailpoet_data"),t=(0,s.useSelect)((e=>{const t=e("core").getSite();return{title:t?.title||"",email:t?.email||""}}),[]);return(0,ii.jsx)(l.PluginDocumentSettingPanel,{name:"mailpoet-inbox-preview",title:(0,i.__)("Inbox preview","mailpoet"),className:"mailpoet-inbox-preview-panel",children:(0,ii.jsxs)(Ni.Card,{className:"mailpoet-inbox-preview-panel__card",children:[(0,ii.jsx)("div",{className:"mailpoet-inbox-preview-panel__from-address",children:t.title&&t.email?`${t.title} <${t.email}>`:(0,i.__)("(No sender)","mailpoet")}),(0,ii.jsx)("div",{className:"mailpoet-inbox-preview-panel__subject",children:e?.subject||(0,i.__)("(No subject)","mailpoet")}),(0,ii.jsx)("div",{className:"mailpoet-inbox-preview-panel__preheader",children:e?.preheader||(0,i.__)("(No preview text)","mailpoet")})]})})}function lu(){const[e]=(0,a.useEntityProp)("postType","mailpoet_email","mailpoet_data");return(0,ii.jsx)(l.PluginDocumentSettingPanel,{name:"mailpoet-tracking",title:(0,i.__)("Tracking","mailpoet"),children:(0,ii.jsx)(Ni.TextControl,{label:(0,i.__)("utm_campaign","mailpoet"),value:e?.utm_campaign||"",onChange:e=>((e,t)=>{const n=(0,s.select)(l.store).getCurrentPostId(),r="mailpoet_email",o=(0,s.select)(a.store).getEditedEntityRecord("postType",r,n),i=o?.mailpoet_data||{};(0,s.dispatch)(a.store).editEntityRecord("postType",r,n,{mailpoet_data:{...i,[e]:t}})})("utm_campaign",e),help:(0,i.__)("Add a tracking code to use with Google Analytics","mailpoet")})})}const cu=`<a data-link-href='[mailpoet/subscription-unsubscribe-url]' contenteditable='false' style='text-decoration: underline;' class='mailpoet-email-editor__personalization-tags-link'>${(0,i.__)("Unsubscribe","mailpoet")}</a> | <a data-link-href='[mailpoet/subscription-manage-url]' contenteditable='false' style='text-decoration: underline;' class='mailpoet-email-editor__personalization-tags-link'>${(0,i.__)("Manage subscription","mailpoet")}</a>`,uu={id:"missing-unsubscribe-link",testContent:e=>!e.includes("[mailpoet/subscription-unsubscribe-url]"),message:(0,i.__)('All emails must include an "Unsubscribe" link.',"mailpoet"),actions:[{label:(0,i.__)("Insert link","mailpoet"),onClick:()=>{const{contentBlockId:e,hasFooter:t,editedTemplateContent:n,postTemplateId:r}=function(){const e=(0,s.select)(vi.store).getBlocks().filter((e=>"mailpoet/powered-by-mailpoet"!==e.name&&"core/post-content"!==e.name)),t=(0,s.select)(vi.store).getBlocksByName("core/post-content"),n=(0,s.select)($i).getCurrentTemplateContent(),r=(0,s.select)($i).getCurrentTemplate()?.id;return{contentBlockId:t?.[0],hasFooter:e.length>0,editedTemplateContent:n,postTemplateId:r}}(),o=(0,gi.createBlock)("core/paragraph",{align:"center",fontSize:"small",content:cu});!t&&e?(0,s.dispatch)(vi.store).insertBlock(o,void 0,e):r&&(0,s.dispatch)(a.store).editEntityRecord("postType","wp_template",r,{content:`\n ${n}\n \x3c!-- wp:paragraph {"align":"center","fontSize":"small"} --\x3e\n ${cu}\n \x3c!-- /wp:paragraph --\x3e\n `})}}]},pu={};let du=!1;const hu={core:["saveEntityRecord"]};(0,o.addFilter)("woocommerce_email_editor_wrap_editor_component","mailpoet/email-editor-integration",(e=>{return t=e,function(e){const[n,r]=(0,fi.useState)(!1),o=()=>{window.satismeter("track",{event:"Request feedback"})};return(0,fi.useLayoutEffect)((()=>{Qc("9qCj2SJBE1s5OhnX5NYfRXu82pEDUB9x").then((()=>{window.satismeter&&(r(!0),window.mailpoet_display_nps_email_editor&&(window.mailpoet_display_nps_email_editor=!1,di.Ajax.post({api_version:di.apiVersion,endpoint:"user_flags",action:"set",data:{email_editor_survey_seen:di.Date.toGmtDatetimeString(new Date)}}).then(o)))})).catch((()=>{}))}),[]),(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(t,{...e}),n&&(0,ii.jsx)(Ni.Button,{icon:Wc,variant:"tertiary",className:"mailpoet-editor-feedback-button",onClick:o,children:(0,i.__)("Share feedback","mailpoet")})]})};var t})),(0,o.addFilter)("woocommerce_email_editor_content_validation_rules","mailpoet/email-editor-integration",(e=>[...e||[],uu]));const fu=window?.mailpoet_is_automation_newsletter;(0,o.addFilter)("woocommerce_email_editor_send_button_label","mailpoet/email-editor-integration",(()=>{if(fu)return(0,i.__)("Save and continue","mailpoet");const e=(0,s.select)(l.store).getCurrentPostId(),t=(0,s.select)(a.store).getEditedEntityRecord("postType","mailpoet_email",e),n=t?.mailpoet_data?.scheduled_at;return n?(0,i.__)("Review & schedule","mailpoet"):(0,i.__)("Review & send","mailpoet")}));const mu=["email_editor_events_editor_layout_loaded","email_editor_events_template_select_modal_template_selected","email_editor_events_template_select_modal_start_from_scratch_clicked","email_editor_events_header_campaign_name_title_updated","email_editor_events_header_preview_dropdown_mobile_selected","email_editor_events_header_preview_dropdown_desktop_selected","email_editor_events_header_preview_dropdown_send_test_email_selected","email_editor_events_sent_preview_email","email_editor_events_header_preview_dropdown_preview_in_new_tab_selected","email_editor_events_rich_text_with_button_personalization_tags_shortcode_icon_clicked","email_editor_events_personalization_tags_modal_tag_insert_button_clicked","email_editor_events_rich_text_with_button_input_field_updated","email_editor_events_styles_sidebar_screen_typography_opened","email_editor_events_styles_sidebar_screen_colors_opened","email_editor_events_styles_sidebar_screen_layout_opened","email_editor_events_header_send_button_clicked","email_editor_events_trash_modal_move_to_trash_button_clicked"];var gu;(0,o.addAction)("woocommerce_email_editor_events","mailpoet",(e=>{const{name:t,...n}=e;mu.includes(String(t))&&di.trackEvent(t,n)})),(0,o.addFilter)("woocommerce_email_editor_events_tracking_enabled","mailpoet/email-editor-integration",(()=>!!window.mailpoet_analytics_enabled)),fu||(0,c.registerPlugin)("mailpoet-settings-sidebar",{render:function(){return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(iu,{}),(0,ii.jsx)(su,{}),(0,ii.jsx)(au,{}),(0,ii.jsx)(lu,{})]})},scope:"woocommerce-email-editor"}),(0,o.addFilter)("woocommerce_email_editor_preferred_template_title","mailpoet/email-editor-integration",((...e)=>{const[,t]=e;return t?.mailpoet_data?.subject||""})),du||(du=!0,(0,s.use)((e=>({dispatch:t=>{const n="object"==typeof t?t.name:t;if(!hu[n])return e.dispatch(n);const r=e.dispatch(n);pu[n]||(pu[n]={});const o=hu[n].filter((e=>!pu[n][e]));return o.length>0&&o.forEach((t=>{pu[n][t]=r[t],r[t]=async(...r)=>async function(e,t,n){try{const[r,o,i,s]=e;if("string"!=typeof r||"string"!=typeof o)return await n(...e);const c=t.select($i).getEmailPostType();if("postType"!==r||o!==c)return await n(...e);if("object"!=typeof i||null===i||"number"!=typeof i?.id)return await n(...e);const u=i,p=t.select(a.store.name).getEntityRecord("postType",c,u.id);if(!p||"string"!=typeof p?.status)return await n(...e);t.dispatch(l.store.name).editPost({status:p.status});const{status:d,...h}=u;return await n(r,o,h,s)}catch(t){return console.error("Error in strip-post-status middleware:",t),await n(...e)}}(r,e,pu[n][t])})),r}})))),gu="mailpoet-email-editor","loading"===document.readyState?window.addEventListener("DOMContentLoaded",(()=>{$c(gu)}),{once:!0}):$c(gu)})()})();34 (0,i.__)("Error: %s","woocommerce"),p)}),(0,ii.jsxs)("ul",{children:[(0,ii.jsx)("li",{children:f&&(0,fi.createInterpolateElement)((0,i.__)("Please check your <link>sending method configuration</link> with your hosting provider.","woocommerce"),{link:(0,ii.jsx)("a",{href:f,target:"_blank",rel:"noopener noreferrer",onClick:()=>Vi("send_preview_email_modal_check_sending_method_configuration_link_clicked")})})}),(0,ii.jsx)("li",{children:(0,fi.createInterpolateElement)((0,i.__)("Or, sign up for MailPoet Sending Service to easily send emails. <link>Sign up for free</link>","woocommerce"),{link:(0,ii.jsx)("a",{href:`https://account.mailpoet.com/?s=1&g=1&utm_source=woocommerce_email_editor&utm_medium=plugin&utm_source_platform=${d}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>Vi("send_preview_email_modal_sign_up_for_mailpoet_sending_service_link_clicked")},"sign-up-for-free")})})]})]}):null,(0,ii.jsx)("p",{children:(0,i.__)("Send yourself a test email to test how your email would look like in different email apps.","woocommerce")}),(0,ii.jsx)(Ni.TextControl,{label:(0,i.__)("Send to","woocommerce"),onChange:e=>{r(e),zi("send_preview_email_modal_send_to_field_updated")},onKeyDown:e=>{const{keyCode:t}=e;t===Xa.ENTER&&(e.preventDefault(),h(),Vi("send_preview_email_modal_send_to_field_key_code_enter"))},className:"woocommerce-send-preview-email__send-to-field",value:a,type:"email",ref:e,required:!0,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),c===Qa.SUCCESS?(0,ii.jsxs)("p",{className:"woocommerce-send-preview-modal-notice-success",children:[(0,ii.jsx)(na,{icon:Ja,style:{fill:"#4AB866"}}),(0,i.__)("Test email sent successfully!","woocommerce")]}):null,(0,ii.jsxs)("div",{className:"woocommerce-send-preview-modal-footer",children:[(0,ii.jsx)(Ni.Button,{variant:"tertiary",onClick:()=>{Vi("send_preview_email_modal_close_button_clicked"),m()},children:(0,i.__)("Cancel","woocommerce")}),(0,ii.jsx)(Ni.Button,{variant:"primary",onClick:()=>{h(),Vi("send_preview_email_modal_send_test_email_button_clicked")},disabled:l||!(0,Za.isEmail)(a),children:l?(0,i.__)("Sending…","woocommerce"):(0,i.__)("Send test email","woocommerce")})]})]}):null}));function tl(){const{togglePreviewModal:e}=(0,s.useDispatch)($i);return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(l.PluginPreviewMenuItem,{icon:Ka,onClick:()=>{Vi("header_preview_dropdown_send_test_email_selected"),e(!0)},children:(0,i.__)("Send a test email","woocommerce")}),(0,ii.jsx)(el,{})]})}const nl=window.wp.preferences,rl=()=>{const e=(0,mi.useViewportMatch)("large");return(0,ii.jsx)(ii.Fragment,{children:e&&(0,ii.jsx)(_s,{children:(0,ii.jsx)(nl.PreferenceToggleMenuItem,{scope:$i,name:"fullscreenMode",label:(0,i.__)("Fullscreen mode","woocommerce"),info:(0,i.__)("Show and hide the admin user interface","woocommerce"),messageActivated:(0,i.__)("Fullscreen mode activated.","woocommerce"),messageDeactivated:(0,i.__)("Fullscreen mode deactivated.","woocommerce"),shortcut:Xa.displayShortcut.secondary("f")})})})};function ol({label:e,labelSuffix:t,help:n,placeholder:r,attributeName:o,attributeValue:a,updateProperty:l=(()=>{})}){const[c,u]=(0,fi.useState)(null),[p,d]=(0,fi.useState)(!1),h=(0,s.useSelect)((e=>e($i).getPersonalizationTagsList()),[]),f=(0,fi.useRef)(null),m=(0,fi.useCallback)(((e,t,n)=>{const r=n?.start??t.length,i=n?.end??t.length;let s=(0,Ii.create)({html:t});s=(0,Ii.insert)(s,(0,Ii.create)({html:`\x3c!--${e}--\x3e`}),r,i);const a=(0,Ii.toHTMLString)({value:s});l(o,a),u(null)}),[o,l]),g=(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)("span",{children:e}),(0,ii.jsx)(Ni.Button,{className:"woocommerce-settings-panel-personalization-tags-button",icon:"shortcode",title:(0,i.__)("Personalization Tags","woocommerce"),onClick:()=>{d(!0),Vi("rich_text_with_button_personalization_tags_shortcode_icon_clicked",{attributeName:o,label:e})}}),t]});return o?(0,ii.jsxs)(Ni.BaseControl,{id:"",label:g,className:`woocommerce-settings-panel-${o}-text`,help:n,__nextHasNoMarginBottom:!0,children:[(0,ii.jsx)(Gi,{isOpened:p,onInsert:e=>{m(e,a??"",c),d(!1),Vi("rich_text_with_button_personalization_tags_inserted",{attributeName:o,value:e})},closeCallback:()=>d(!1),openedBy:"RichTextWithButton-BaseControl"}),(0,ii.jsx)(Yi,{contentRef:f,onUpdate:(e,t)=>{const n=(a??"").replace(`\x3c!--[${e}]--\x3e`,`\x3c!--[${t}]--\x3e`);l(o,n)}}),(0,ii.jsx)(vi.RichText,{ref:f,className:"woocommerce-settings-panel-richtext",placeholder:r,onFocus:()=>{u(Li(f,a??""))},onKeyUp:()=>{u(Li(f,a??""))},onClick:()=>{u(Li(f,a??""))},onChange:e=>{e=Bi(e??"",h),l(o,e),zi("rich_text_with_button_input_field_updated",{attributeName:o})},value:a??"","data-automation-id":`email_${o}`})]}):null}function il({close:e}){zi("edit_template_modal_opened");const{onNavigateToEntityRecord:t,template:n}=(0,s.useSelect)((e=>{const{getEditorSettings:t}=e(l.store),n=t();return{onNavigateToEntityRecord:n?.onNavigateToEntityRecord,template:e($i).getCurrentTemplate()}}),[]);return(0,ii.jsxs)(Ni.Modal,{size:"medium",onRequestClose:e,__experimentalHideHeader:!0,children:[(0,ii.jsx)("p",{children:(0,i.__)("This template is used by multiple emails. Any changes made would affect other emails on the site. Are you sure you want to edit the template?","woocommerce")}),(0,ii.jsxs)(Ni.Flex,{justify:"end",children:[(0,ii.jsx)(Ni.FlexItem,{children:(0,ii.jsx)(Ni.Button,{variant:"tertiary",onClick:()=>{Vi("edit_template_modal_cancel_button_clicked"),e()},children:(0,i.__)("Cancel","woocommerce")})}),(0,ii.jsx)(Ni.FlexItem,{children:(0,ii.jsx)(Ni.Button,{variant:"primary",onClick:()=>{Vi("edit_template_modal_continue_button_clicked",{templateId:n.id}),t?.({postId:n.id,postType:"wp_template"})},disabled:!n.id||!t,children:(0,i.__)("Edit template","woocommerce")})})]})]})}function sl(){const{template:e,currentEmailContent:t,canUpdateTemplates:n,postType:r}=(0,s.useSelect)((e=>({template:e($i).getCurrentTemplate(),currentEmailContent:e($i).getEditedEmailContent(),canUpdateTemplates:e($i).canUserEditTemplates(),postType:e($i).getEmailPostType()})),[]),[o]=ta("swap"),[a,l]=(0,fi.useState)(!1),[c,u]=(0,fi.useState)(!1);return(0,ii.jsxs)(ii.Fragment,{children:[e&&(0,ii.jsx)(Ni.PanelRow,{children:(0,ii.jsxs)(Ni.Flex,{justify:"start",children:[(0,ii.jsx)(Ni.FlexItem,{className:"editor-post-panel__row-label",children:(0,i.__)("Template","woocommerce")}),(0,ii.jsxs)(Ni.FlexItem,{children:[!(o?.length>1||n)&&(0,ii.jsx)("b",{children:e?.title}),(o?.length>1||n)&&(0,ii.jsx)(Ni.DropdownMenu,{icon:null,text:e?.title,toggleProps:{variant:"tertiary"},label:(0,i.__)("Template actions","woocommerce"),onToggle:t=>Vi("sidebar_template_actions_clicked",{currentTemplate:e?.title,isOpen:t}),children:({onClose:e})=>(0,ii.jsxs)(ii.Fragment,{children:[n&&(0,ii.jsx)(Ni.MenuItem,{onClick:()=>{Vi("sidebar_template_actions_edit_template_clicked"),l(!0),e()},children:(0,i.__)("Edit template","woocommerce")}),o?.length>1&&(0,ii.jsx)(Ni.MenuItem,{onClick:()=>{Vi("sidebar_template_actions_swap_template_clicked"),u(!0),e()},children:(0,i.__)("Swap template","woocommerce")})]})})]})]})}),a&&(0,ii.jsx)(il,{close:()=>(Vi("edit_template_modal_closed"),l(!1))}),c&&(0,ii.jsx)(ha,{onSelectCallback:()=>u(!1),closeCallback:()=>u(!1),previewContent:t,postType:r})]})}const al={recordEvent:Vi,recordEventOnce:zi,debouncedRecordEvent:Ui};function ll(){const e=(0,fi.useMemo)((()=>(0,o.applyFilters)("woocommerce_email_editor_setting_sidebar_extension_component",ol,al)),[]),t=(0,fi.useMemo)((()=>(0,o.applyFilters)("woocommerce_email_editor_setting_sidebar_email_status_component",(()=>null),al)),[]);return(0,ii.jsxs)(l.PluginDocumentSettingPanel,{name:"email-settings-panel",title:(0,i.__)("Settings","woocommerce"),className:"woocommerce-email-editor__settings-panel",children:[(0,ii.jsx)(t,{}),(0,ii.jsx)(sl,{}),(0,ii.jsx)(l.ErrorBoundary,{canCopyContent:!0,children:(0,ii.jsx)(e,{})})]})}const cl={recordEvent:Vi,recordEventOnce:zi,debouncedRecordEvent:Ui};function ul(){const e=(0,o.applyFilters)("woocommerce_email_editor_template_sections",[],cl);return 0===e.length?null:(0,ii.jsx)(l.PluginDocumentSettingPanel,{name:"template-settings-panel",title:(0,i.__)("Settings","woocommerce"),className:"woocommerce-email-editor__settings-panel",children:e.map((e=>(0,ii.jsx)(l.ErrorBoundary,{children:(0,ii.jsx)("div",{children:e.render()},e.id)},`error-boundary-${e.id}`)))})}function pl(){const{isDirty:e}=(0,l.useEntitiesSavedStatesIsDirty)(),{hasEmptyContent:t,isEmailSent:n,urls:r}=(0,s.useSelect)((e=>({hasEmptyContent:e($i).hasEmptyContent(),isEmailSent:e($i).isEmailSent(),urls:e($i).getUrls()})),[]);function a(){r.send&&(window.location.href=r.send)}const c=t||n||e,u=(0,o.applyFilters)("woocommerce_email_editor_send_button_label",(0,i.__)("Send","woocommerce"));return(0,ii.jsx)(Ni.Button,{variant:"primary",size:"compact",onClick:()=>{Vi("header_send_button_clicked"),(0,o.applyFilters)("woocommerce_email_editor_send_action_callback",a)()},disabled:c,"data-automation-id":"email_editor_send_button",children:u})}function dl({children:e}){const t=(0,fi.useRef)(document.createElement("div"));return(0,fi.useEffect)((()=>{const e=document.getElementsByClassName("editor-post-publish-button__button")[0];e&&e.parentNode?.insertBefore(t.current,e.nextSibling)}),[t]),(0,fi.createPortal)((0,ii.jsx)(ii.Fragment,{children:e}),t.current)}function hl(){const e=(0,fi.useRef)(null),{hasNonPostEntityChanges:t,isEditedPostDirty:n,isEditingTemplate:r}=(0,s.useSelect)((e=>({hasNonPostEntityChanges:e(l.store).hasNonPostEntityChanges(),isEditedPostDirty:e(l.store).isEditedPostDirty(),isEditingTemplate:"wp_template"===e(l.store).getCurrentPostType()})),[]),o=r||t||n&&t,i=(0,fi.useCallback)(((e,t)=>{t&&e.classList.contains("force-hidden")&&e.classList.remove("force-hidden"),t||e.classList.contains("force-hidden")||e.classList.add("force-hidden")}),[]);return(0,fi.useEffect)((()=>{const t=document.getElementsByClassName("editor-post-publish-button__button")[0];return i(t,o),t?(e.current&&e.current.disconnect(),e.current=new MutationObserver((()=>{i(t,o)})),e.current.observe(t,{attributes:!0,childList:!0,subtree:!1}),()=>e.current?.disconnect()):()=>e.current?.disconnect()}),[o,i]),(0,ii.jsx)(dl,{children:!o&&(0,ii.jsx)(pl,{})})}const fl=()=>{const e="email-validation",t=(0,s.useSelect)((t=>t(Ss.store).getNotices(e)));return{notices:t,hasValidationNotice:(0,fi.useCallback)((e=>e?void 0!==t.find((t=>t.id===e)):t?.length>0),[t]),addValidationNotice:(0,fi.useCallback)(((t,n,r=[])=>{(0,s.dispatch)(Ss.store).createNotice("error",n,{id:t,isDismissible:!1,actions:r,context:e})}),[e]),removeValidationNotice:(0,fi.useCallback)((t=>{(0,s.dispatch)(Ss.store).removeNotice(t,e)}),[e])}};function ml(){const{notices:e}=fl();return 0===e.length?null:(0,ii.jsx)(Ni.Notice,{status:"error",className:"woocommerce-email-editor-validation-errors components-editor-notices__pinned",isDismissible:!1,children:(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)("strong",{children:(0,i.__)("Fix errors to continue:","woocommerce")}),(0,ii.jsx)("ul",{children:e.map((({id:e,content:t,actions:n})=>(0,ii.jsxs)("li",{children:[t,n.length>0?n.map((({label:e,onClick:t})=>(0,ii.jsx)(Ni.Button,{onClick:t,variant:"link",children:e},e))):null]},e)))})]})})}function gl({context:e="email-editor"}){const{notices:t}=(0,s.useSelect)((t=>({notices:t(Ss.store).getNotices(e)})),[e]),n=(0,fi.useMemo)((()=>({"site-editor-save-success":{content:(0,i.__)("Email design updated.","woocommerce"),removeActions:!0},"editor-save":{content:(0,i.__)("Email saved.","woocommerce"),removeActions:!1,contentCheck:e=>e.content.includes((0,i.__)("Post updated."))}})),[]),{removeNotice:r}=(0,s.useDispatch)(Ss.store),o=t.filter((({type:e})=>"snackbar"===e)).map((e=>n[e.id]?n[e.id].contentCheck&&!n[e.id].contentCheck(e)?e:{...e,content:n[e.id].content,spokenMessage:n[e.id].content,actions:n[e.id].removeActions?[]:e.actions}:e));return(0,ii.jsx)(Ni.SnackbarList,{notices:o,className:"components-editor-notices__snackbar",onRemove:t=>r(t,e)})}function _l({children:e}){const[t]=(0,fi.useState)(document.createElement("div"));return(0,fi.useEffect)((()=>{const e=document.getElementsByClassName("editor-visual-editor ")[0];e&&e.parentNode?.insertBefore(t,e)}),[t]),(0,fi.createPortal)((0,ii.jsx)(ii.Fragment,{children:e}),t)}function yl(){const{notices:e}=(0,s.useSelect)((e=>({notices:e(Ss.store).getNotices("email-editor")})),[]),{removeNotice:t}=(0,s.useDispatch)(Ss.store),n=e.filter((({isDismissible:e,type:t})=>e&&"default"===t)),r=e.filter((({isDismissible:e,type:t})=>!e&&"default"===t));return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsxs)(_l,{children:[(0,ii.jsx)(Ni.NoticeList,{notices:r,className:"components-editor-notices__pinned"}),(0,ii.jsx)(Ni.NoticeList,{notices:n,className:"components-editor-notices__dismissible",onRemove:e=>t(e,"email-editor")}),(0,ii.jsx)(ml,{})]}),(0,ii.jsx)(gl,{context:"global"}),(0,ii.jsx)(gl,{context:"email-editor"})]})}const vl=e=>{const t=(0,gi.getBlockSupport)(e,"background");return t&&!1!==t?.backgroundImage};function bl(){const e=(0,s.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),t=(0,gi.hasBlockSupport)(e?.name,"border",!1)||(0,gi.hasBlockSupport)(e?.name,"__experimentalBorder",!1);return(0,ii.jsxs)(ii.Fragment,{children:[t&&(0,ii.jsx)(Ni.Fill,{name:"InspectorControlsBorder",children:(0,ii.jsxs)(Ni.Notice,{className:"woocommerce-grid-full-width",status:"warning",isDismissible:!1,children:[(0,i.__)("Border display may vary or be unsupported in some email clients.","woocommerce"),(0,ii.jsx)("br",{}),(0,i.__)("Units other than pixels (px) lack support in old email clients.","woocommerce")]})}),vl(e?.name)&&(0,ii.jsx)(Ni.Fill,{name:"InspectorControlsBackground",children:(0,ii.jsx)(Ni.Notice,{className:"woocommerce-grid-full-width",status:"warning",isDismissible:!1,children:(0,i.__)("Select a background color for email clients that do not support background images.","woocommerce")})})]})}const wl=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,ii.jsx)(ks.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"})}),xl=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})}),Sl={edit:{opacity:0,scale:.2},hover:{opacity:1,scale:1,clipPath:"inset( 22% round 2px )"}},kl={edit:{clipPath:"inset(0% round 0px)"},hover:{clipPath:"inset( 22% round 2px )"},tap:{clipPath:"inset(0% round 0px)"}},El=()=>{const{urls:e}=(0,s.useSelect)((e=>({urls:e($i).getUrls()})),[]);function t(){e.listings&&(window.location.href=e.back)}return(0,ii.jsxs)(Ni.__unstableMotion.div,{className:"woocommerce-email-editor__view-mode-toggle",transition:{duration:.2},animate:"edit",initial:"edit",whileHover:"hover",whileTap:"tap",children:[(0,ii.jsx)(Ni.Button,{label:(0,i.__)("Close editor","woocommerce"),showTooltip:!0,tooltipPosition:"middle right",onClick:()=>{Vi("header_close_button_clicked"),(0,o.applyFilters)("woocommerce_email_editor_close_action_callback",t)()},children:(0,ii.jsx)(Ni.__unstableMotion.div,{variants:kl,children:(0,ii.jsx)("div",{className:"woocommerce-email-editor__view-mode-toggle-icon",children:(0,ii.jsx)(na,{className:"woocommerce-email-editor-icon__icon",icon:wl,size:48})})})}),(0,ii.jsx)(Ni.__unstableMotion.div,{className:"woocommerce-email-editor-icon",variants:Sl,children:(0,ii.jsx)(na,{icon:xl})})]})},Cl=()=>{const e=(0,o.applyFilters)("woocommerce_email_editor_close_content",El);return(0,ii.jsx)(ys,{children:({length:t})=>t<=1&&(0,ii.jsx)(e,{})})};function Tl({postId:e,postType:t,settings:n,contentRef:r}){const{currentPost:o,onNavigateToEntityRecord:i,onNavigateToPreviousEntityRecord:u}=function(e,t,n){const[r,o]=(0,fi.useReducer)(((e,{type:t,post:n,previousRenderingMode:r})=>"push"===t?[...e,{post:n,previousRenderingMode:r}]:"pop"===t&&e.length>1?e.slice(0,-1):e),[{post:{postId:e,postType:t}}]),{post:i,previousRenderingMode:a}=r[r.length-1],{getRenderingMode:c}=(0,s.useSelect)(l.store),{setRenderingMode:u}=(0,s.useDispatch)(l.store),p=(0,fi.useCallback)((e=>{o({type:"push",post:{postId:e.postId,postType:e.postType},previousRenderingMode:c()}),u(n)}),[c,u,n]),d=(0,fi.useCallback)((()=>{o({type:"pop"}),a&&u(a)}),[u,a]);return{currentPost:i,onNavigateToEntityRecord:p,onNavigateToPreviousEntityRecord:r.length>1?d:void 0}}(e,t,"post-only"),{post:p,template:d}=(0,s.useSelect)((e=>{const{getEntityRecord:t}=e(a.store),{getEditedPostTemplate:n}=e($i),r=t("postType",o.postType,o.postId);return{template:r&&"wp_template"!==o.postType?n(r.template):null,post:r}}),[o.postType,o.postId]),{isFullscreenEnabled:h,allCommands:f}=(0,s.useSelect)((e=>({isFullscreenEnabled:e($i).isFeatureActive("fullscreenMode"),allCommands:e(Vs.store).getCommands()})),[]),{isFullScreenForced:m,displaySendEmailButton:g}=n,{removeEditorPanel:_}=(0,s.useDispatch)(l.store);(0,fi.useEffect)((()=>{_("post-status")}),[_]);const[y]=Js(),v=(0,fi.useMemo)((()=>({...n,onNavigateToEntityRecord:i,onNavigateToPreviousEntityRecord:u,defaultRenderingMode:"wp_template"===o.postType?"post-only":"template-locked",supportsTemplateMode:!0})),[n,i,u,o.postType]);return p&&("wp_template"===o.postType||p.template===d?.slug||!p.template&&d)?(zi("editor_layout_loaded"),(0,ii.jsx)(Ni.SlotFillProvider,{children:(0,ii.jsxs)(l.ErrorBoundary,{canCopyContent:!0,children:[(!f||0===f.length)&&(0,ii.jsx)(Vs.CommandMenu,{}),(0,ii.jsxs)(ms,{postId:o.postId,postType:o.postType,settings:v,templateId:d&&d.id,styles:y,contentRef:r,children:[(0,ii.jsx)(l.AutosaveMonitor,{}),(0,ii.jsx)(l.LocalAutosaveMonitor,{}),(0,ii.jsx)(l.UnsavedChangesWarning,{}),(0,ii.jsx)(l.EditorKeyboardShortcutsRegister,{}),(0,ii.jsx)(l.PostLockedModal,{}),(0,ii.jsx)(fa,{}),(0,ii.jsx)(Ya,{}),(0,ii.jsx)(tl,{}),(0,ii.jsx)(Xs,{}),(0,ii.jsx)(gs,{isActive:m||h}),(m||h)&&(0,ii.jsx)(Cl,{}),!m&&(0,ii.jsx)(rl,{}),"wp_template"===o.postType?(0,ii.jsx)(ul,{}):(0,ii.jsx)(ll,{}),g&&(0,ii.jsx)(hl,{}),(0,ii.jsx)(yl,{}),(0,ii.jsx)(bl,{}),(0,ii.jsx)(c.PluginArea,{scope:"woocommerce-email-editor"})]})]})})):(0,ii.jsx)("div",{className:"spinner-container",children:(0,ii.jsx)(Ni.Spinner,{style:{width:"80px",height:"80px"}})})}const Pl=window.wp.dataControls;function jl(e){return{type:"CHANGE_PREVIEW_STATE",state:{isModalOpened:e}}}function Al(e){return{type:"CHANGE_PREVIEW_STATE",state:{toEmail:e}}}function Il(e,t){if(!e||!t)throw new Error("setEmailPost requires valid postId and postType parameters");return{type:"SET_EMAIL_POST",state:{postId:e,postType:t}}}function Nl(e){if(!e)throw new Error("setEmailPostType requires a valid postType parameter");return{type:"SET_EMAIL_POST",state:{postType:e}}}const Ll=e=>async({registry:t})=>{const n=t.select($i).getEmailPostId(),r=t.select($i).getEmailPostType();t.dispatch(a.store).editEntityRecord("postType",r,n,{template:e})};function*Bl(e){if(!(0,s.select)($i).getPreviewState().isSendingPreviewEmail){yield{type:"CHANGE_PREVIEW_STATE",state:{sendingPreviewStatus:null,isSendingPreviewEmail:!0}};try{const t=(0,s.select)($i).getEmailPostId();yield(0,Pl.apiFetch)({path:"/woocommerce-email-editor/v1/send_preview_email",method:"POST",data:{email:e,postId:t}}),yield{type:"CHANGE_PREVIEW_STATE",state:{sendingPreviewStatus:Qa.SUCCESS,isSendingPreviewEmail:!1}},Vi("sent_preview_email",{postId:t,email:e})}catch(t){Vi("sent_preview_email_error",{email:e}),yield{type:"CHANGE_PREVIEW_STATE",state:{sendingPreviewStatus:Qa.ERROR,isSendingPreviewEmail:!1,errorMessage:JSON.stringify(t?.error)}}}}}function Rl(e){return{type:"SET_CONTENT_VALIDATION",validation:e}}function Ol(e){return{type:"SET_EDITOR_SETTINGS",editorSettings:e}}function Ml(e){return{type:"SET_EDITOR_THEME",theme:e}}function Dl(e){return{type:"SET_EDITOR_URLS",urls:e}}function Fl(e){return{type:"SET_EDITOR_CONFIG",config:e}}function ql(e,t){switch(t.type){case"CHANGE_PREVIEW_STATE":return{...e,preview:{...e.preview,...t.state}};case"SET_EMAIL_POST":return{...e,...t.state};case"SET_CONTENT_VALIDATION":return{...e,contentValidation:t.validation};case"SET_EDITOR_SETTINGS":return{...e,editorSettings:t.editorSettings};case"SET_EDITOR_THEME":return{...e,theme:t.theme};case"SET_EDITOR_URLS":return{...e,urls:{...e.urls,...t.urls}};case"SET_EDITOR_CONFIG":return{...e,editorSettings:t.config.editorSettings,theme:t.config.theme,urls:t.config.urls,preview:{...e.preview,toEmail:t.config.userEmail},styles:{...e.styles,globalStylesPostId:t.config.globalStylesPostId??null}};default:return e}}function Hl(e){return e?.content&&"function"==typeof e.content?e.content(e):e?.blocks?(0,gi.serialize)(e.blocks):e?.content?e.content:""}const Vl=new WeakMap;function zl(e){let t=Vl.get(e);return t||(t={...e,get blocks(){return(0,gi.parse)(e.content)}},Vl.set(e,t)),t}function Ul(e){return e?{...e,title:e?.title?.raw||e?.title||"",content:e?.content?.raw||e?.content||""}:null}const $l=(0,s.createRegistrySelector)((e=>(t,n)=>!!e(nl.store).get($i,n))),Wl=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostId(),n=e($i).getEmailPostType();return!!e(a.store).hasEditsForEntityRecord("postType",n,t)})),Gl=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostId(),n=e($i).getEmailPostType(),r=e(a.store).getEntityRecord("postType",n,t);if(!r)return!0;const{content:o}=r;return!o.raw})),Yl=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostId(),n=e($i).getEmailPostType(),r=e(a.store).getEntityRecord("postType",n,t);return!!r&&"sent"===r.status})),Kl=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostId(),n=e($i).getEmailPostType(),r=e(a.store).getEditedEntityRecord("postType",n,t);return r?Hl(r):""})),Jl=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostType();return e(a.store).getEntityRecords("postType",t,{per_page:30,status:"publish,sent"})?.filter((e=>""!==e?.content?.raw))||[]})),Xl=(0,s.createRegistrySelector)((e=>{const t=e($i).getEmailPostType();return(0,s.createSelector)((()=>t?e(a.store).getBlockPatterns().filter((({templateTypes:e,postTypes:n})=>Array.isArray(e)&&e.includes("email-template")&&(void 0===n||0===n.length||n.includes(t)))).map(zl):[]),(()=>[e(a.store).getBlockPatterns(),t]))})),Zl=(0,s.createRegistrySelector)((e=>()=>e(a.store).canUser("create",{kind:"postType",name:"wp_template"})));function Ql(e,t){return Zl()?e(a.store).getEditedEntityRecord("postType","wp_template",t):Ul(e(a.store).getEntityRecord("postType","wp_template",t,{context:"view"}))}const ec=(0,s.createRegistrySelector)((e=>(t,n)=>{const r=n||e(l.store).getEditedPostAttribute("template");if(r){const t={context:"view",per_page:-1,_woocommerce_email_editor:"fetch-all-templates"},n=e(a.store).getEntityRecords("postType","wp_template",t)?.find((e=>e.slug===r));return n?Ql(e,n.id):null}const o=e(a.store).getDefaultTemplateId({slug:"email-general"});return Ql(e,o)})),tc=(0,s.createRegistrySelector)((e=>()=>{if("wp_template"===e(l.store).getCurrentPostType()){const t=e(l.store).getCurrentPostId();return e(a.store).getEditedEntityRecord("postType","wp_template",t)}return e($i).getEditedPostTemplate()})),nc=()=>{const e=tc();return e?Hl(e):""},rc=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getGlobalStylesPostId();return{postId:t,canEdit:e(a.store).canUser("update",{kind:"root",name:"globalStyles",id:t})}})),oc=(0,s.createRegistrySelector)((e=>()=>{const{postId:t,canEdit:n}=rc();return t&&void 0!==n&&t?n?e(a.store).getEditedEntityRecord("root","globalStyles",t):Ul(e(a.store).getEntityRecord("root","globalStyles",t,{context:"view"})):null})),ic=(0,s.createRegistrySelector)((e=>()=>{const t=e($i).getEmailPostType();return e(a.store).getEntityRecords("postType","wp_template",{per_page:-1,post_type:t,context:"view"})?.filter((e=>e.post_types.includes(t)))}));function sc(e){return e.postId}function ac(e){return e.postType}function lc(e){return e.editorSettings}function cc(e){return e.editorSettings?.__experimentalFeatures?.color?.palette}function uc(e){return e.preview}const pc=(0,s.createRegistrySelector)((e=>()=>{const t=e(a.store).getEntityRecords(Wi.kind,Wi.name,{context:"view",per_page:-1})||[],n=e($i).getEmailPostType();if(!n)return t;if("wp_template"===n){const n=e($i).getCurrentTemplate();return t.filter((e=>void 0===e.postTypes||0===e.postTypes.length||Array.isArray(n.post_types)&&n.post_types.some((t=>e.postTypes.includes(t)))))}return t.filter((e=>void 0===e.postTypes||0===e.postTypes.length||e.postTypes.includes(n)))}));function dc(e){return e.theme?.styles}function hc(e){return e.theme}function fc(e){return e.styles.globalStylesPostId}function mc(e){return e.urls}function gc(e){return e.contentValidation}const _c=()=>{if(void 0!==(0,s.select)($i))return(0,s.select)($i);const e=(0,s.createReduxStore)($i,{actions:t,controls:Pl.controls,selectors:r,resolvers:{},reducer:ql,initialState:{editorSettings:void 0,theme:void 0,styles:{globalStylesPostId:null},urls:{back:"",listings:""},preview:{toEmail:"",isModalOpened:!1,isSendingPreviewEmail:!1,sendingPreviewStatus:null},contentValidation:void 0}});return(0,s.register)(e),(0,s.dispatch)(a.store).addEntities([Wi]),e},yc=e=>{const t=e.editorSettings?.__experimentalFeatures?.layout,n=e.theme,r=(0,s.select)($i).getGlobalEmailStylesPost(),o=r?.styles,i=Us().all([{},n.styles,o]);let a=`display:flow-root; max-width: ${t?.contentSize||"100%"}; margin: 0 auto;box-sizing: border-box;`;const l=i?.spacing?.padding;return l&&(a+=`padding-left:${Gs(l.left)};`,a+=`padding-right:${Gs(l.right)};`),`.is-root-container{ ${a} }`},vc=e=>{vs||(0,s.use)((t=>({select(n){const r=t.select(n);return"core"===n.name?{...r,__experimentalGetCurrentGlobalStylesId:()=>r.__experimentalGetCurrentGlobalStylesId()?e.globalStylesPostId:null,__experimentalGetCurrentThemeBaseGlobalStyles:()=>r.__experimentalGetCurrentThemeBaseGlobalStyles()?{...e.theme,styles:{...e.theme.styles,css:yc(e)}}:null}:r}})))},bc=()=>{const e={"You’ve tried to select a block that is part of a template that may be used elsewhere on your site. Would you like to edit the template?":{domain:"default",replacementText:(0,i.__)("You’ve tried to select a block that is part of a template that may be used in other emails. Would you like to edit the template?","woocommerce")}};Ei("i18n.gettext","woocommerce/email-editor/override-text",((t,n,r)=>e[n]&&e[n].domain===(r||"default")?e[n].replacementText:t))},wc=e=>{(0,o.doAction)("woocommerce_email_editor_events",e.detail)},xc=()=>{Fi()&&Hi.addEventListener(qi,wc)};window.addEventListener("unload",(function(){Fi()&&Hi.removeEventListener(qi,wc)}));const Sc=(...e)=>{const t=(0,s.select)(l.store).isInserterOpened(),n=!!document.getElementsByClassName("block-editor-inserter__quick-inserter").length;let r="other_inserter";t?r="inserter_sidebar":n&&(r="quick_inserter");const o=e[0],i=e[5];!1===Array.isArray(o)&&"object"==typeof o&&Vi(`${r}_library_block_selected`,{blockName:o.name}),Array.isArray(o)&&i&&i.patternName&&Vi(`${r}_library_pattern_selected`,{patternName:i.patternName})},kc={"core/editor":{autosave:"editor_content_auto_saved",setDeviceType:e=>{Vi(`header_preview_dropdown_${e.toLowerCase()}_selected`)},setRenderingMode:e=>{(0,s.select)(l.store).getRenderingMode()!==e&&document.querySelector(`[aria-label="${(0,i.__)("View options")}"]`)&&Vi("preview_dropdown_rendering_mode_changed",{renderingMode:e})}},"core/block-editor":{insertBlock:Sc,insertBlocks:Sc},"core/preferences":{set:(e,t,n)=>{if((0,s.select)(nl.store).get(e,t)===n)return;const r={focusMode:"focus_mode_toggle",fullscreenMode:"full_screen_mode_toggle",distractionFree:"distraction_free_toggle",fixedToolbar:"fixed_toolbar_toggle"};r[t]&&Vi(r[t],{isEnabled:n})}},"core/commands":{open:"command_menu_opened",close:"command_menu_closed"}},Ec={},Cc={},Tc=()=>{Fi()&&(0,s.use)((e=>({dispatch:t=>{const n="object"==typeof t?t.name:t,r=e.dispatch(n),o=kc[n];if(!o)return r;Ec[n]||(Ec[n]={}),Cc[n]||(Cc[n]={});for(const[e,t]of Object.entries(o))Cc[n][e]||(Cc[n][e]=r[e],Ec[n][e]=(...r)=>{try{"function"==typeof t?t(...r):"string"==typeof t&&Vi(t)}catch(e){console.error("Error tracking event",e)}return Cc[n][e](...r)}),r[e]=Ec[n][e];return r}})))};let Pc=[];function jc(e){Pc.forEach((t=>{const n=e.target?.matches?.(t.selector)?e.target:e.target?.closest?.(t.selector);n&&("function"==typeof t.track?t.track(n,e):Vi(t.track))}))}const Ac=new WeakMap,Ic={core:["saveEditedEntityRecord","saveEntityRecord"]},Nc=()=>{Object.keys(Ac).length>0||(0,s.use)((e=>({dispatch:t=>{const n="object"==typeof t?t.name:t;if(!Ic[n])return e.dispatch(n);const r=e.dispatch(n);Ac[n]||(Ac[n]={});const o=Ic[n].filter((e=>!Ac[n][e]));if(o.length>0)for(const t of o)Ac[n][t]=r[t],r[t]=async(...r)=>{const o=e.select($i).getContentValidation(),s=o?.validateContent;if(s){let e;try{e=s()}catch(t){e=!1}if(!e)return Promise.reject(new Error((0,i.__)("Content validation failed.","woocommerce")))}return await Ac[n][t](...r)};return r}})))},Lc=window.wp.isShallowEqual;var Bc=n.n(Lc);function Rc(e){const t=(0,fi.useRef)(e);return Bc()(e,t.current)||(t.current=e),t.current}const Oc=[],Mc=()=>{const{addValidationNotice:e,hasValidationNotice:t,removeValidationNotice:n}=fl(),{editedContent:r,editedTemplateContent:i}=(0,s.useSelect)((e=>({editedContent:e($i).getEditedEmailContent(),editedTemplateContent:e($i).getCurrentTemplateContent()}))),l=Rc(r),c=Rc(i),u=(0,fi.useCallback)((()=>((e,t,{addValidationNotice:n,hasValidationNotice:r,removeValidationNotice:i})=>{const s=(0,o.applyFilters)("woocommerce_email_editor_content_validation_rules",Oc);let a=!0;return s.forEach((({id:o,testContent:s,message:l,actions:c})=>{s(e+t)?(n(o,l,c),a=!1):r(o)&&i(o)})),a})(l,c,{addValidationNotice:e,hasValidationNotice:t,removeValidationNotice:n})),[l,c,e,n,t]);return(0,fi.useEffect)((()=>((0,s.dispatch)($i).setContentValidation({validateContent:u}),()=>{(0,s.dispatch)($i).setContentValidation(void 0)})),[u]),(0,fi.useEffect)((()=>{const e=(0,s.subscribe)((()=>{t()&&u()}),a.store);return()=>e()}),[t,u]),{validateContent:u}},Dc=()=>{const e=(0,fi.useMemo)((()=>{const e=(0,i.__)("Saving failed.");return new RegExp("^"+e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))}),[]);(0,fi.useEffect)((()=>{const t=(0,s.subscribe)((()=>{(0,s.select)(Ss.store).getNotices().forEach((t=>{"string"==typeof t.content&&e.test(t.content)&&(0,s.dispatch)(Ss.store).removeNotice(t.id)}))}));return()=>{t()}}),[e])},Fc=()=>{const e=(0,fi.useRef)(null),[t,n]=(0,fi.useState)(0),r=(0,fi.useCallback)((t=>{e.current=t,n((e=>++e))}),[e,n]),i=(0,s.useSelect)((e=>{const{getEditorSettings:t}=e(l.store);return t()?.allowedIframeStyleHandles??[]}));return(0,fi.useEffect)((()=>{if(!e.current)return;const{ownerDocument:t}=e.current;Array.from(document.styleSheets).filter((e=>{if(!(e?.ownerNode instanceof Element))return!1;const t=e.ownerNode.getAttribute("id"),n=t&&!i.includes(t);return(0,o.applyFilters)("woocommerce_email_editor_iframe_stylesheet_should_remove",n,e)})).map((e=>e.ownerNode.getAttribute("id"))).forEach((e=>{const n=t.getElementById(e);n&&n.remove();const r=t.createElement("style");r.id=e,t.head.appendChild(r)}))}),[i,t]),r};function qc(){if(!window.WooCommerceEmailEditor)throw new Error("WooCommerceEmailEditor global object is not available. This is required for the email editor to work.");const e=window.WooCommerceEmailEditor.editor_settings,t=window.WooCommerceEmailEditor.editor_theme,n=window.WooCommerceEmailEditor.urls,r=window.WooCommerceEmailEditor.current_wp_user_email,o=window.WooCommerceEmailEditor.user_theme_post_id;if(!e)throw new Error("window.WooCommerceEmailEditor.editor_settings is required.");if(!t)throw new Error("window.WooCommerceEmailEditor.editor_theme is required.");if(!n||"string"!=typeof n.back||"string"!=typeof n.listings)throw new Error("window.WooCommerceEmailEditor.urls.back and .listings are required strings.");return{editorSettings:e,theme:t,urls:n,userEmail:r,globalStylesPostId:o??null}}function Hc({postId:e,postType:t,isPreview:n=!1,contentRef:r=null}){const[o,i]=(0,fi.useState)(!1),{settings:a}=(0,s.useSelect)((e=>({settings:e($i).getInitialEditorSettings()})),[]);Mc(),Dc();const{setEmailPost:l}=(0,s.useDispatch)($i);(0,fi.useEffect)((()=>{l(e,t),i(!0)}),[e,t,l]);const c=Fc(),u=(0,mi.useMergeRefs)([c,r]),p=(0,fi.useMemo)((()=>({...a,allowedBlockTypes:_i(),isPreviewMode:n})),[a,n]);return o?(0,ii.jsx)(fi.StrictMode,{children:(0,ii.jsx)(Tl,{postId:e,postType:t,settings:p,contentRef:u})}):null}function Vc(e){xc(),Tc(),Fi()&&(Pc=[{track:"header_preview_dropdown_preview_in_new_tab_selected",selector:".editor-preview-dropdown__button-external"},{track:()=>{const e=document.getElementsByClassName("is-collapsed editor-collapsible-block-toolbar").length;Vi("header_blocks_tool_button_clicked",{isBlockToolsCollapsed:e})},selector:".editor-collapsible-block-toolbar__toggle"},{track:e=>{const t=e.classList.contains("is-opened");Vi("header_more_menu_dropdown_toggle",{isOpened:t})},selector:`.components-dropdown-menu__toggle[aria-label="${(0,i.__)("Options")}"]`},{track:e=>{(e.textContent===(0,i.__)("Save")&&"false"===e.getAttribute("aria-disabled")||e.textContent===(0,i.__)("Saving…"))&&Vi("header_save_button_clicked")},selector:".editor-post-publish-button"},{track:"header_save_email_button_clicked",selector:".editor-post-saved-state.is-saving"},{track:"inserter_sidebar_library_close_icon_clicked",selector:".block-editor-inserter__menu .block-editor-tabbed-sidebar__close-button"},{track:e=>{const t=e.classList.contains("is-opened");Vi("header_preview_dropdown_clicked",{isOpened:t})},selector:".editor-preview-dropdown__toggle"},{track:()=>{Vi("sidebar_tab_selected",{tab:"document"})},selector:'[data-tab-id="edit-post/document"]'},{track:()=>{Vi("sidebar_tab_selected",{tab:"block"})},selector:'[data-tab-id="edit-post/block"]'},{track:e=>{const t=e.classList.contains("is-pressed");Vi("header_inserter_sidebar_clicked",{isOpened:t})},selector:".editor-document-tools__inserter-toggle"},{track:e=>{const t=e.classList.contains("is-pressed");Vi("header_listview_sidebar_clicked",{isOpened:t})},selector:".editor-document-tools__document-overview-toggle"},{track:e=>{Vi("command_bar_command_clicked",{command:e.dataset?.value})},selector:'.commands-command-menu__container [role="option"]'}],document.addEventListener("click",jc)),_c(),Nc(),(0,gi.getBlockTypes)().forEach((e=>{Os(e.name)&&wi(e.name,(e=>({...e,attributes:{...e.attributes,layout:{type:"object"}}})))})),Ei("editor.BlockListBlock","woocommerce-email-editor/with-layout-styles",Hs),Ei("editor.BlockEdit","woocommerce-email-editor/with-inspector-controls",Fs),As(),bc(),vc(e)}function zc(e){const t=document.getElementById(e);if(!t)return;const{current_post_id:n,current_post_type:r}=window.WooCommerceEmailEditor;if(null==n)throw new Error("current_post_id is required but not provided.");if(!r)throw new Error("current_post_type is required but not provided.");const i=(0,o.applyFilters)("woocommerce_email_editor_wrap_editor_component",Hc);Vc(qc());const a=qc();(0,s.dispatch)($i).setEditorConfig(a),(0,fi.createRoot)(t).render((0,ii.jsx)(i,{postId:n,postType:r}))}const Uc=(0,ii.jsx)(ks.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,ii.jsx)(ks.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"})});var $c=n(5270),Wc=n(8255),Gc=n.n(Wc);const Yc=window.wp.escapeHtml;function Kc({installedDaysAgo:e,reviewRequestIllustrationUrl:t,username:n}){const r=Math.round(e/30),o=e>30?(0,i.sprintf)((0,i._n)("You’ve been using MailPoet for %d month now, and we would love to read your own review.","You’ve been using MailPoet for %d months now, and we would love to read your own review.",r,"mailpoet"),r):(0,i.sprintf)((0,i._n)("You’ve been using MailPoet for %d day now, and we would love to read your own review.","You’ve been using MailPoet for %d days now, and we would love to read your own review.",e,"mailpoet"),e);return(0,ii.jsxs)("div",{className:"mailpoet_review_request",children:[(0,ii.jsx)("img",{src:t,height:"280",width:"280",alt:""}),(0,ii.jsx)("h2",{children:(0,i.__)("Thank you! Time to tell the world?","mailpoet")}),(0,ii.jsx)("p",{children:(0,i.sprintf)((0,i.__)("%s, did you know that hundreds of WordPress users read the reviews on the plugin repository? They’re also a source of inspiration for our team.","mailpoet"),(0,Yc.escapeHTML)(n))}),(0,ii.jsx)("p",{children:o}),(0,ii.jsx)("p",{children:(0,ii.jsx)("a",{href:"http://bit.ly/2Bi124o",target:"_blank",rel:"noopener noreferrer",className:"button button-primary",children:(0,i.__)("Rate us now","mailpoet")})}),(0,ii.jsx)("p",{children:(0,ii.jsx)("a",{id:"mailpoet_review_request_not_now",children:(0,i.__)("Not now")})})]})}let Jc=null;const Xc=(e=null)=>new Promise(((t,n)=>{window.mailpoet_display_nps_poll&&window.mailpoet_3rd_party_libs_enabled?(Jc||(Jc=di.Ajax.post({api_version:window.mailpoet_api_version,endpoint:"analytics",action:"getTrackingData"})),Jc).then((({data:n})=>{((e,t)=>{let n;n=t||(window.mailpoet_display_nps_form?"EqOgKsgZd832Sz9w":window.mailpoet_is_new_user?"6L479eVPXk7pBn6S":"k0aJAsQAWI2ERyGv");const r={name:window.mailpoet_current_wp_user.user_nicename,email:window.mailpoet_current_wp_user.user_email,mailpoetVersion:window.mailpoet_version,mailpoetPremiumIsActive:window.mailpoet_premium_active,createdAt:e.installedAtIso,newslettersSent:e.newslettersSent,welcomeEmails:e.welcomeEmails,postnotificationEmails:e.postnotificationEmails,woocommerceEmails:e.woocommerceEmails,subscribers:e.subscribers,lists:e.lists,sendingMethod:e.sendingMethod,woocommerceIsInstalled:e.woocommerceIsInstalled,woocommerceVersion:e.woocommerceVersion,WordPressVersion:e.WordPressVersion,blockTheme:e.blockTheme,themeVersion:e.themeVersion,theme:e.theme};e.gutenbergVersion&&(r.gutenbergVersion=e.gutenbergVersion),e.wooCommerceVersion&&(r.wooCommerceVersion=e.wooCommerceVersion),Gc()({writeKey:n,userId:window.mailpoet_current_wp_user.ID+window.mailpoet_site_url,traits:r,events:{submit:e=>{e.rating>=9&&e.completed&&di.Modal.popup({width:800,template:$c.renderToString(Kc({username:window.mailpoet_current_wp_user_firstname||window.mailpoet_current_wp_user.user_login,reviewRequestIllustrationUrl:window.mailpoet_review_request_illustration_url,installedDaysAgo:window.mailpoet_installed_days_ago})),onInit:()=>{document.getElementById("mailpoet_review_request_not_now").addEventListener("click",(()=>di.Modal.close()))}})}}})})(n,e),t()})):n()})),Zc=window.wp.date,Qc=(0,ii.jsx)(ks.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ii.jsx)(ks.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})});function eu(){const[e]=(0,a.useEntityProp)("postType","mailpoet_email","mailpoet_data"),t=e?.scheduled_at||null,n=(0,fi.useRef)(null),r=(0,Zc.getSettings)(),o=e=>{const t=(0,s.select)(l.store).getCurrentPostId(),n="mailpoet_email",r=(0,s.select)(a.store).getEditedEntityRecord("postType",n,t),o=r?.mailpoet_data||{};(0,s.dispatch)(a.store).editEntityRecord("postType",n,t,{mailpoet_data:{...o,scheduled_at:e}})},c=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join("")),u=(new Date).setHours(0,0,0,0);return(0,ii.jsx)(Ni.PanelRow,{children:(0,ii.jsxs)(Ni.Flex,{justify:"start",ref:n,children:[(0,ii.jsx)(Ni.FlexItem,{className:"editor-post-panel__row-label",children:(0,i.__)("Send","mailpoet")}),(0,ii.jsx)(Ni.FlexItem,{className:"editor-post-panel__row-control",children:(0,ii.jsx)(Ni.Dropdown,{popoverProps:{anchor:n.current,placement:"left-start",offset:36,shift:!0},renderToggle:({isOpen:e,onToggle:n})=>(0,ii.jsx)(Ni.Button,{variant:"tertiary",onClick:n,"aria-expanded":e,children:t?(0,Zc.dateI18n)(r.formats.datetime,t,r.timezone.string):(0,i.__)("Immediately","mailpoet")}),renderContent:({onClose:e})=>(0,ii.jsxs)("div",{className:"mailpoet-status-panel__date-time-picker",children:[(0,ii.jsx)(Ni.__experimentalVStack,{className:"block-editor-inspector-popover-header",spacing:4,children:(0,ii.jsxs)(Ni.__experimentalHStack,{alignment:"center",children:[(0,ii.jsx)(Ni.__experimentalHeading,{className:"block-editor-inspector-popover-header__heading",level:2,size:13,children:(0,i.__)("Send","mailpoet")}),(0,ii.jsx)(Ni.__experimentalSpacer,{}),(0,ii.jsx)(Ni.Button,{size:"small",className:"block-editor-inspector-popover-header__action",label:(0,i.__)("Now","mailpoet"),variant:"tertiary",onClick:()=>o(null),children:(0,i.__)("Now","mailpoet")}),(0,ii.jsx)(Ni.Button,{size:"small",className:"block-editor-inspector-popover-header__action",label:(0,i.__)("Close","mailpoet"),icon:Qc,onClick:e})]})}),(0,ii.jsx)(Ni.DateTimePicker,{currentDate:t,onChange:e=>o(e),dateOrder:/* translators: Order of day, month, and year. Available formats are 'dmy', 'mdy', and 'ymd'. */ /* translators: Order of day, month, and year. Available formats are 'dmy', 'mdy', and 'ymd'. */ 35 (0,i._x)("dmy","date order","mailpoet"),is12Hour:c,isInvalidDate:e=>e.getTime()<u})]})})})]})})}const tu=[];function nu(){const[e]=(0,a.useEntityProp)("postType","mailpoet_email","mailpoet_data"),t=e?.segment_ids||tu,n=(0,fi.useRef)(null),[r,o]=(0,fi.useState)([]),[c,u]=(0,fi.useState)(!0),[p,d]=(0,fi.useState)("segment");(0,fi.useEffect)((()=>{let e=!0;u(!0);const t=di.Ajax.post({api_version:window.mailpoet_api_version,endpoint:"segments",action:"listing",data:{}}),n=di.Ajax.post({api_version:window.mailpoet_api_version,endpoint:"dynamic_segments",action:"listing",data:{}});return Promise.all([t,n]).then((([t,n])=>{const r=[...t.data||[],...n.data||[]].filter((e=>!e.deleted_at));e&&o(r)})).catch((()=>{e&&o([])})).finally((()=>{e&&u(!1)})),()=>{e=!1}}),[]),(0,fi.useEffect)((()=>{if(0===r.length)return;if(0===t.length)return void d("segment");const e=r.find((e=>e.id.toString()===t[0].toString()));d("woocommerce_users"===e?.type?"all_customers":"segment")}),[t,r]);const h=(e,t)=>{const n=(0,s.select)(l.store).getCurrentPostId(),r="mailpoet_email",o=(0,s.select)(a.store).getEditedEntityRecord("postType",r,n),i=o?.mailpoet_data||{};(0,s.dispatch)(a.store).editEntityRecord("postType",r,n,{mailpoet_data:{...i,[e]:t}})},f=r.filter((e=>"default"===e.type||"dynamic"===e.type)),m=e=>{const t=e.map((e=>{const t=f.find((t=>t.name===e));return t?t.id:null})).filter((e=>null!==e));h("segment_ids",t)},g=r.find((e=>"woocommerce_users"===e.type)),_=parseInt(g?.subscribers_count?.all||"0",10),y=t.map((e=>r.find((t=>t.id.toString()===e.toString())))).filter((e=>void 0!==e)),v=y.reduce(((e,t)=>{const n=t.count_all||t.subscribers_count?.all||"0",r=parseInt(n,10);return e+(Number.isNaN(r)?0:r)}),0),b=y.filter((e=>"default"===e.type||"dynamic"===e.type));let w=(0,i.__)("Select recipients","mailpoet");return"all_customers"===p?w=(0,i.__)("All customers","mailpoet"):b.length>0&&(w=b.map((e=>e.name)).join(", ")),(0,ii.jsx)(Ni.PanelRow,{children:(0,ii.jsxs)(Ni.Flex,{justify:"start",ref:n,children:[(0,ii.jsx)(Ni.FlexItem,{className:"editor-post-panel__row-label",children:(0,i.__)("Recipients","mailpoet")}),(0,ii.jsx)(Ni.FlexItem,{className:"editor-post-panel__row-control",children:(0,ii.jsx)(Ni.Dropdown,{popoverProps:{anchor:n.current,placement:"left-start",offset:36,shift:!0},renderToggle:({isOpen:e,onToggle:t})=>(0,ii.jsx)(Ni.Button,{variant:"tertiary",onClick:t,"aria-expanded":e,disabled:c,children:w}),renderContent:({onClose:e})=>(0,ii.jsxs)("div",{className:"mailpoet-status-panel__recipients-selector",children:[(0,ii.jsx)(Ni.__experimentalVStack,{className:"block-editor-inspector-popover-header",spacing:4,children:(0,ii.jsxs)(Ni.__experimentalHStack,{alignment:"center",children:[(0,ii.jsx)(Ni.__experimentalHeading,{className:"block-editor-inspector-popover-header__heading",level:2,size:13,children:(0,i.__)("Select recipients","mailpoet")}),(0,ii.jsx)(Ni.__experimentalSpacer,{}),(0,ii.jsx)(Ni.Button,{size:"small",className:"block-editor-inspector-popover-header__action",label:(0,i.__)("Close","mailpoet"),icon:Qc,onClick:e})]})}),c?(0,ii.jsx)(Ni.Spinner,{}):(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(Ni.RadioControl,{selected:p,options:[{label:(0,i.__)("Send to all customers","mailpoet"),value:"all_customers",description:(0,i.sprintf)((0,i._n)("%s recipient","%s recipients",_,"mailpoet"),_)},{label:(0,i.__)("Send to a segment","mailpoet"),value:"segment"}],onChange:e=>(e=>{if(d(e),"all_customers"===e){const e=r.find((e=>"woocommerce_users"===e.type));e&&h("segment_ids",[e.id])}else h("segment_ids",[])})(e)}),"segment"===p&&(0,ii.jsxs)("div",{className:"mailpoet-status-panel__recipients-segments",children:[(0,ii.jsx)(Ni.FormTokenField,{label:(0,i.__)("Select segment(s)","mailpoet"),value:b.map((e=>e.name)),suggestions:f.map((e=>e.name)),onChange:m,__experimentalExpandOnFocus:!0,__experimentalAutoSelectFirstMatch:!0,__experimentalShowHowTo:!1}),(0,ii.jsxs)("div",{className:"mailpoet-status-panel__recipients-total-count",children:[(0,i.__)("Total recipients: ","mailpoet")," ",v.toLocaleString()]})]})]})]})})})]})})}function ru(){return(0,ii.jsxs)(l.PluginDocumentSettingPanel,{name:"mailpoet-email-settings",title:(0,i.__)("Email settings","mailpoet"),className:"mailpoet-email-settings-panel",children:[(0,ii.jsx)(eu,{}),(0,ii.jsx)(nu,{})]})}function ou(){const[e]=(0,a.useEntityProp)("postType","mailpoet_email","mailpoet_data"),t=(e,t)=>{const n=(0,s.select)(l.store).getCurrentPostId(),r="mailpoet_email",o=(0,s.select)(a.store).getEditedEntityRecord("postType",r,n),i=o?.mailpoet_data||{};(0,s.dispatch)(a.store).editEntityRecord("postType",r,n,{mailpoet_data:{...i,[e]:t}})},n=e?.subject?.length??0,r=e?.preheader?.length??0,o=(0,ii.jsxs)(Ni.__experimentalHStack,{spacing:2,alignment:"top",children:[(0,ii.jsx)("span",{className:"mailpoet-content-settings-panel__help-text",children:(0,i.__)("Personalise with tags: [site-title], [customer-firstname], [customer-lastname], [customer-email]","mailpoet")}),(0,ii.jsxs)("span",{className:Fo()("mailpoet-content-settings-panel__text-length",{"mailpoet-content-settings-panel__text-length--error":n>60}),children:[n,"/",60]})]}),c=(0,ii.jsxs)(Ni.__experimentalHStack,{spacing:2,alignment:"top",children:[(0,ii.jsx)("span",{className:"mailpoet-content-settings-panel__help-text",children:(0,i.__)("Shown as a preview in the Inbox, next to the subject line.","mailpoet")}),(0,ii.jsxs)("span",{className:Fo()("mailpoet-content-settings-panel__text-length",{"mailpoet-content-settings-panel__text-length--warning":r>80,"mailpoet-content-settings-panel__text-length--error":r>150}),children:[r,"/",150]})]});return(0,ii.jsxs)(l.PluginDocumentSettingPanel,{name:"mailpoet-content-settings",title:(0,i.__)("Content settings","mailpoet"),className:"mailpoet-content-settings-panel",children:[(0,ii.jsx)(Ni.TextareaControl,{label:(0,i.__)("Subject","mailpoet"),value:e?.subject||"",onChange:e=>t("subject",e),help:o,placeholder:(0,i.__)("Eg. The summer sale is here!","mailpoet"),"data-automation-id":"email_subject"}),(0,ii.jsx)(Ni.TextareaControl,{label:(0,i.__)("Preview text","mailpoet"),value:e?.preheader||"",onChange:e=>t("preheader",e),help:c,placeholder:(0,i.__)("Add a preview text to capture subscribers' attention and increase open rates.","mailpoet"),"data-automation-id":"email_preheader"})]})}function iu(){const[e]=(0,a.useEntityProp)("postType","mailpoet_email","mailpoet_data"),t=(0,s.useSelect)((e=>{const t=e("core").getSite();return{title:t?.title||"",email:t?.email||""}}),[]);return(0,ii.jsx)(l.PluginDocumentSettingPanel,{name:"mailpoet-inbox-preview",title:(0,i.__)("Inbox preview","mailpoet"),className:"mailpoet-inbox-preview-panel",children:(0,ii.jsxs)(Ni.Card,{className:"mailpoet-inbox-preview-panel__card",children:[(0,ii.jsx)("div",{className:"mailpoet-inbox-preview-panel__from-address",children:t.title&&t.email?`${t.title} <${t.email}>`:(0,i.__)("(No sender)","mailpoet")}),(0,ii.jsx)("div",{className:"mailpoet-inbox-preview-panel__subject",children:e?.subject||(0,i.__)("(No subject)","mailpoet")}),(0,ii.jsx)("div",{className:"mailpoet-inbox-preview-panel__preheader",children:e?.preheader||(0,i.__)("(No preview text)","mailpoet")})]})})}function su(){const[e]=(0,a.useEntityProp)("postType","mailpoet_email","mailpoet_data");return(0,ii.jsx)(l.PluginDocumentSettingPanel,{name:"mailpoet-tracking",title:(0,i.__)("Tracking","mailpoet"),children:(0,ii.jsx)(Ni.TextControl,{label:(0,i.__)("utm_campaign","mailpoet"),value:e?.utm_campaign||"",onChange:e=>((e,t)=>{const n=(0,s.select)(l.store).getCurrentPostId(),r="mailpoet_email",o=(0,s.select)(a.store).getEditedEntityRecord("postType",r,n),i=o?.mailpoet_data||{};(0,s.dispatch)(a.store).editEntityRecord("postType",r,n,{mailpoet_data:{...i,[e]:t}})})("utm_campaign",e),help:(0,i.__)("Add a tracking code to use with Google Analytics","mailpoet")})})}const au=`<a data-link-href='[mailpoet/subscription-unsubscribe-url]' contenteditable='false' style='text-decoration: underline;' class='mailpoet-email-editor__personalization-tags-link'>${(0,i.__)("Unsubscribe","mailpoet")}</a> | <a data-link-href='[mailpoet/subscription-manage-url]' contenteditable='false' style='text-decoration: underline;' class='mailpoet-email-editor__personalization-tags-link'>${(0,i.__)("Manage subscription","mailpoet")}</a>`,lu={id:"missing-unsubscribe-link",testContent:e=>!e.includes("[mailpoet/subscription-unsubscribe-url]"),message:(0,i.__)('All emails must include an "Unsubscribe" link.',"mailpoet"),actions:[{label:(0,i.__)("Insert link","mailpoet"),onClick:()=>{const{contentBlockId:e,hasFooter:t,editedTemplateContent:n,postTemplateId:r}=function(){const e=(0,s.select)(vi.store).getBlocks().filter((e=>"mailpoet/powered-by-mailpoet"!==e.name&&"core/post-content"!==e.name)),t=(0,s.select)(vi.store).getBlocksByName("core/post-content"),n=(0,s.select)($i).getCurrentTemplateContent(),r=(0,s.select)($i).getCurrentTemplate()?.id;return{contentBlockId:t?.[0],hasFooter:e.length>0,editedTemplateContent:n,postTemplateId:r}}(),o=(0,gi.createBlock)("core/paragraph",{align:"center",fontSize:"small",content:au});!t&&e?(0,s.dispatch)(vi.store).insertBlock(o,void 0,e):r&&(0,s.dispatch)(a.store).editEntityRecord("postType","wp_template",r,{content:`\n ${n}\n \x3c!-- wp:paragraph {"align":"center","fontSize":"small"} --\x3e\n ${au}\n \x3c!-- /wp:paragraph --\x3e\n `})}}]},cu={};let uu=!1;const pu={core:["saveEntityRecord"]};(0,o.addFilter)("woocommerce_email_editor_wrap_editor_component","mailpoet/email-editor-integration",(e=>{return t=e,function(e){const[n,r]=(0,fi.useState)(!1),o=()=>{window.satismeter("track",{event:"Request feedback"})};return(0,fi.useLayoutEffect)((()=>{Xc("9qCj2SJBE1s5OhnX5NYfRXu82pEDUB9x").then((()=>{window.satismeter&&(r(!0),window.mailpoet_display_nps_email_editor&&(window.mailpoet_display_nps_email_editor=!1,di.Ajax.post({api_version:di.apiVersion,endpoint:"user_flags",action:"set",data:{email_editor_survey_seen:di.Date.toGmtDatetimeString(new Date)}}).then(o)))})).catch((()=>{}))}),[]),(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(t,{...e}),n&&(0,ii.jsx)(Ni.Button,{icon:Uc,variant:"tertiary",className:"mailpoet-editor-feedback-button",onClick:o,children:(0,i.__)("Share feedback","mailpoet")})]})};var t})),(0,o.addFilter)("woocommerce_email_editor_content_validation_rules","mailpoet/email-editor-integration",(e=>[...e||[],lu]));const du=window?.mailpoet_is_automation_newsletter;(0,o.addFilter)("woocommerce_email_editor_send_button_label","mailpoet/email-editor-integration",(()=>{if(du)return(0,i.__)("Save and continue","mailpoet");const e=(0,s.select)(l.store).getCurrentPostId(),t=(0,s.select)(a.store).getEditedEntityRecord("postType","mailpoet_email",e),n=t?.mailpoet_data?.scheduled_at;return n?(0,i.__)("Review & schedule","mailpoet"):(0,i.__)("Review & send","mailpoet")}));const hu=["email_editor_events_editor_layout_loaded","email_editor_events_template_select_modal_template_selected","email_editor_events_template_select_modal_start_from_scratch_clicked","email_editor_events_header_campaign_name_title_updated","email_editor_events_header_preview_dropdown_mobile_selected","email_editor_events_header_preview_dropdown_desktop_selected","email_editor_events_header_preview_dropdown_send_test_email_selected","email_editor_events_sent_preview_email","email_editor_events_header_preview_dropdown_preview_in_new_tab_selected","email_editor_events_rich_text_with_button_personalization_tags_shortcode_icon_clicked","email_editor_events_personalization_tags_modal_tag_insert_button_clicked","email_editor_events_rich_text_with_button_input_field_updated","email_editor_events_styles_sidebar_screen_typography_opened","email_editor_events_styles_sidebar_screen_colors_opened","email_editor_events_styles_sidebar_screen_layout_opened","email_editor_events_header_send_button_clicked","email_editor_events_trash_modal_move_to_trash_button_clicked"];var fu;(0,o.addAction)("woocommerce_email_editor_events","mailpoet",(e=>{const{name:t,...n}=e;hu.includes(String(t))&&di.trackEvent(t,n)})),(0,o.addFilter)("woocommerce_email_editor_events_tracking_enabled","mailpoet/email-editor-integration",(()=>!!window.mailpoet_analytics_enabled)),du||(0,c.registerPlugin)("mailpoet-settings-sidebar",{render:function(){return(0,ii.jsxs)(ii.Fragment,{children:[(0,ii.jsx)(ru,{}),(0,ii.jsx)(ou,{}),(0,ii.jsx)(iu,{}),(0,ii.jsx)(su,{})]})},scope:"woocommerce-email-editor"}),(0,o.addFilter)("woocommerce_email_editor_preferred_template_title","mailpoet/email-editor-integration",((...e)=>{const[,t]=e;return t?.mailpoet_data?.subject||""})),uu||(uu=!0,(0,s.use)((e=>({dispatch:t=>{const n="object"==typeof t?t.name:t;if(!pu[n])return e.dispatch(n);const r=e.dispatch(n);cu[n]||(cu[n]={});const o=pu[n].filter((e=>!cu[n][e]));return o.length>0&&o.forEach((t=>{cu[n][t]=r[t],r[t]=async(...r)=>async function(e,t,n){try{const[r,o,i,s]=e;if("string"!=typeof r||"string"!=typeof o)return await n(...e);const c=t.select($i).getEmailPostType();if("postType"!==r||o!==c)return await n(...e);if("object"!=typeof i||null===i||"number"!=typeof i?.id)return await n(...e);const u=i,p=t.select(a.store.name).getEntityRecord("postType",c,u.id);if(!p||"string"!=typeof p?.status)return await n(...e);t.dispatch(l.store.name).editPost({status:p.status});const{status:d,...h}=u;return await n(r,o,h,s)}catch(t){return console.error("Error in strip-post-status middleware:",t),await n(...e)}}(r,e,cu[n][t])})),r}})))),fu="mailpoet-email-editor","loading"===document.readyState?window.addEventListener("DOMContentLoaded",(()=>{zc(fu)}),{once:!0}):zc(fu)})()})(); -
mailpoet/trunk/lang/mailpoet.pot
r3415398 r3418147 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: MailPoet 5.17. 3\n"5 "Project-Id-Version: MailPoet 5.17.4\n" 6 6 "Report-Msgid-Bugs-To: http://support.mailpoet.com/\n" 7 7 "Last-Translator: MailPoet i18n (https://www.transifex.com/organization/wysija)\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-12- 08T13:00:43+00:00\n"12 "POT-Creation-Date: 2025-12-12T09:38:08+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.10.0\n" -
mailpoet/trunk/mailpoet.php
r3415398 r3418147 6 6 /* 7 7 * Plugin Name: MailPoet 8 * Version: 5.17. 38 * Version: 5.17.4 9 9 * Plugin URI: https://www.mailpoet.com 10 10 * Description: Create and send newsletters, post notifications and welcome emails from your WordPress. … … 24 24 25 25 $mailpoetPlugin = [ 26 'version' => '5.17. 3',26 'version' => '5.17.4', 27 27 'filename' => __FILE__, 28 28 'path' => dirname(__FILE__), -
mailpoet/trunk/readme.txt
r3415398 r3418147 4 4 Requires at least: 6.8 5 5 Tested up to: 6.9 6 Stable tag: 5.17. 36 Stable tag: 5.17.4 7 7 Requires PHP: 7.4 8 8 License: GPLv3 … … 228 228 == Changelog == 229 229 230 = 5.17.3 - 2025-12-08 = 231 * Added: Ability to cancel an automation run for a single subscriber; 232 * Updated: Bump the minimum required WordPress version to 6.8 and tested up to version to 6.9. 230 = 5.17.4 - 2025-12-12 = 231 * Fixed: Rendering of Wide width blocks when WooCommerce 10.4.0 is active. 233 232 234 233 [See the changelog for all versions.](https://github.com/mailpoet/mailpoet/blob/trunk/mailpoet/changelog.txt) -
mailpoet/trunk/vendor/autoload.php
r3394184 r3418147 20 20 } 21 21 require_once __DIR__ . '/composer/autoload_real.php'; 22 return ComposerAutoloaderInit de2d289f3a5a76e56e1080cad124dbd0::getLoader();22 return ComposerAutoloaderInitcb2d44e3d30962ec48179c3ba635dcd4::getLoader(); -
mailpoet/trunk/vendor/autoload_packages.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/composer/autoload_classmap.php
r3394184 r3418147 179 179 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\List_Item' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-list-item.php', 180 180 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Media_Text' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-media-text.php', 181 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Post_Content' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-post-content.php', 181 182 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Quote' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-quote.php', 182 183 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Social_Link' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-social-link.php', -
mailpoet/trunk/vendor/composer/autoload_real.php
r3394184 r3418147 2 2 if (!defined('ABSPATH')) exit; 3 3 // autoload_real.php @generated by Composer 4 class ComposerAutoloaderInit de2d289f3a5a76e56e1080cad124dbd04 class ComposerAutoloaderInitcb2d44e3d30962ec48179c3ba635dcd4 5 5 { 6 6 private static $loader; … … 17 17 } 18 18 require __DIR__ . '/platform_check.php'; 19 spl_autoload_register(array('ComposerAutoloaderInit de2d289f3a5a76e56e1080cad124dbd0', 'loadClassLoader'), true, true);19 spl_autoload_register(array('ComposerAutoloaderInitcb2d44e3d30962ec48179c3ba635dcd4', 'loadClassLoader'), true, true); 20 20 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 21 spl_autoload_unregister(array('ComposerAutoloaderInit de2d289f3a5a76e56e1080cad124dbd0', 'loadClassLoader'));21 spl_autoload_unregister(array('ComposerAutoloaderInitcb2d44e3d30962ec48179c3ba635dcd4', 'loadClassLoader')); 22 22 require __DIR__ . '/autoload_static.php'; 23 call_user_func(\Composer\Autoload\ComposerStaticInit de2d289f3a5a76e56e1080cad124dbd0::getInitializer($loader));23 call_user_func(\Composer\Autoload\ComposerStaticInitcb2d44e3d30962ec48179c3ba635dcd4::getInitializer($loader)); 24 24 $loader->register(true); 25 $filesToLoad = \Composer\Autoload\ComposerStaticInit de2d289f3a5a76e56e1080cad124dbd0::$files;25 $filesToLoad = \Composer\Autoload\ComposerStaticInitcb2d44e3d30962ec48179c3ba635dcd4::$files; 26 26 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 27 27 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
mailpoet/trunk/vendor/composer/autoload_static.php
r3394184 r3418147 3 3 namespace Composer\Autoload; 4 4 if (!defined('ABSPATH')) exit; 5 class ComposerStaticInit de2d289f3a5a76e56e1080cad124dbd05 class ComposerStaticInitcb2d44e3d30962ec48179c3ba635dcd4 6 6 { 7 7 public static $files = array ( … … 237 237 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\List_Item' => __DIR__ . '/..' . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-list-item.php', 238 238 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Media_Text' => __DIR__ . '/..' . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-media-text.php', 239 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Post_Content' => __DIR__ . '/..' . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-post-content.php', 239 240 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Quote' => __DIR__ . '/..' . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-quote.php', 240 241 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Social_Link' => __DIR__ . '/..' . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-social-link.php', … … 1823 1824 { 1824 1825 return \Closure::bind(function () use ($loader) { 1825 $loader->prefixLengthsPsr4 = ComposerStaticInit de2d289f3a5a76e56e1080cad124dbd0::$prefixLengthsPsr4;1826 $loader->prefixDirsPsr4 = ComposerStaticInit de2d289f3a5a76e56e1080cad124dbd0::$prefixDirsPsr4;1827 $loader->classMap = ComposerStaticInit de2d289f3a5a76e56e1080cad124dbd0::$classMap;1826 $loader->prefixLengthsPsr4 = ComposerStaticInitcb2d44e3d30962ec48179c3ba635dcd4::$prefixLengthsPsr4; 1827 $loader->prefixDirsPsr4 = ComposerStaticInitcb2d44e3d30962ec48179c3ba635dcd4::$prefixDirsPsr4; 1828 $loader->classMap = ComposerStaticInitcb2d44e3d30962ec48179c3ba635dcd4::$classMap; 1828 1829 }, null, ClassLoader::class); 1829 1830 } -
mailpoet/trunk/vendor/composer/installed.json
r3394184 r3418147 295 295 { 296 296 "name": "woocommerce/email-editor", 297 "version": " 1.9.0",298 "version_normalized": " 1.9.0.0",297 "version": "2.1.0", 298 "version_normalized": "2.1.0.0", 299 299 "source": { 300 300 "type": "git", 301 301 "url": "https://github.com/woocommerce/email-editor.git", 302 "reference": " 8e4d9352b2742b2c07b20140995d264673960f45"303 }, 304 "dist": { 305 "type": "zip", 306 "url": "https://api.github.com/repos/woocommerce/email-editor/zipball/ 8e4d9352b2742b2c07b20140995d264673960f45",307 "reference": " 8e4d9352b2742b2c07b20140995d264673960f45",302 "reference": "3f36b4a494950eeb57fa6439a50f1a45cdcb001f" 303 }, 304 "dist": { 305 "type": "zip", 306 "url": "https://api.github.com/repos/woocommerce/email-editor/zipball/3f36b4a494950eeb57fa6439a50f1a45cdcb001f", 307 "reference": "3f36b4a494950eeb57fa6439a50f1a45cdcb001f", 308 308 "shasum": "" 309 309 }, … … 317 317 "yoast/phpunit-polyfills": "^4.0" 318 318 }, 319 "time": "2025-1 0-31T12:36:12+00:00",319 "time": "2025-11-30T12:26:38+00:00", 320 320 "type": "wordpress-plugin", 321 321 "extra": { … … 349 349 "description": "Email editor based on WordPress Gutenberg package.", 350 350 "support": { 351 "source": "https://github.com/woocommerce/email-editor/tree/ 1.9.0"351 "source": "https://github.com/woocommerce/email-editor/tree/2.1.0" 352 352 }, 353 353 "install-path": "../woocommerce/email-editor" -
mailpoet/trunk/vendor/composer/installed.php
r3415398 r3418147 6 6 'pretty_version' => 'dev-trunk', 7 7 'version' => 'dev-trunk', 8 'reference' => ' 4a4a931e09e651ab675b7a5ad744219d25c2d498',8 'reference' => '395432ad82a23f2d6831ff494f3b41c56772651e', 9 9 'type' => 'library', 10 10 'install_path' => __DIR__ . '/../../', … … 16 16 'pretty_version' => 'dev-trunk', 17 17 'version' => 'dev-trunk', 18 'reference' => ' 4a4a931e09e651ab675b7a5ad744219d25c2d498',18 'reference' => '395432ad82a23f2d6831ff494f3b41c56772651e', 19 19 'type' => 'library', 20 20 'install_path' => __DIR__ . '/../../', … … 76 76 ), 77 77 'woocommerce/email-editor' => array( 78 'pretty_version' => ' 1.9.0',79 'version' => ' 1.9.0.0',80 'reference' => ' 8e4d9352b2742b2c07b20140995d264673960f45',78 'pretty_version' => '2.1.0', 79 'version' => '2.1.0.0', 80 'reference' => '3f36b4a494950eeb57fa6439a50f1a45cdcb001f', 81 81 'type' => 'wordpress-plugin', 82 82 'install_path' => __DIR__ . '/../woocommerce/email-editor', -
mailpoet/trunk/vendor/composer/jetpack_autoload_classmap.php
r3394184 r3418147 6 6 return array( 7 7 'Attribute' => array( 8 'version' => ' 1.9.0.0',8 'version' => '2.1.0.0', 9 9 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Polyfill/Php80/Resources/stubs/Attribute.php' 10 10 ), … … 14 14 ), 15 15 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\Caching\\SimpleStringCache' => array( 16 'version' => ' 1.9.0.0',16 'version' => '2.1.0.0', 17 17 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/Caching/SimpleStringCache.php' 18 18 ), 19 19 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\CssInliner' => array( 20 'version' => ' 1.9.0.0',20 'version' => '2.1.0.0', 21 21 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/CssInliner.php' 22 22 ), 23 23 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\Css\\CssDocument' => array( 24 'version' => ' 1.9.0.0',24 'version' => '2.1.0.0', 25 25 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/Css/CssDocument.php' 26 26 ), 27 27 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\Css\\StyleRule' => array( 28 'version' => ' 1.9.0.0',28 'version' => '2.1.0.0', 29 29 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/Css/StyleRule.php' 30 30 ), 31 31 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\HtmlProcessor\\AbstractHtmlProcessor' => array( 32 'version' => ' 1.9.0.0',32 'version' => '2.1.0.0', 33 33 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/HtmlProcessor/AbstractHtmlProcessor.php' 34 34 ), 35 35 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\HtmlProcessor\\CssToAttributeConverter' => array( 36 'version' => ' 1.9.0.0',36 'version' => '2.1.0.0', 37 37 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/HtmlProcessor/CssToAttributeConverter.php' 38 38 ), 39 39 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\HtmlProcessor\\CssVariableEvaluator' => array( 40 'version' => ' 1.9.0.0',40 'version' => '2.1.0.0', 41 41 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/HtmlProcessor/CssVariableEvaluator.php' 42 42 ), 43 43 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\HtmlProcessor\\HtmlNormalizer' => array( 44 'version' => ' 1.9.0.0',44 'version' => '2.1.0.0', 45 45 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/HtmlProcessor/HtmlNormalizer.php' 46 46 ), 47 47 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\HtmlProcessor\\HtmlPruner' => array( 48 'version' => ' 1.9.0.0',48 'version' => '2.1.0.0', 49 49 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/HtmlProcessor/HtmlPruner.php' 50 50 ), 51 51 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\Utilities\\ArrayIntersector' => array( 52 'version' => ' 1.9.0.0',52 'version' => '2.1.0.0', 53 53 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/Utilities/ArrayIntersector.php' 54 54 ), 55 55 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\Utilities\\CssConcatenator' => array( 56 'version' => ' 1.9.0.0',56 'version' => '2.1.0.0', 57 57 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/Utilities/CssConcatenator.php' 58 58 ), 59 59 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\Utilities\\DeclarationBlockParser' => array( 60 'version' => ' 1.9.0.0',60 'version' => '2.1.0.0', 61 61 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/Utilities/DeclarationBlockParser.php' 62 62 ), 63 63 'Automattic\\WooCommerce\\EmailEditorVendor\\Pelago\\Emogrifier\\Utilities\\Preg' => array( 64 'version' => ' 1.9.0.0',64 'version' => '2.1.0.0', 65 65 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Pelago/Emogrifier/Utilities/Preg.php' 66 66 ), 67 67 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\CSSElement' => array( 68 'version' => ' 1.9.0.0',68 'version' => '2.1.0.0', 69 69 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/CSSElement.php' 70 70 ), 71 71 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\CSSList\\AtRuleBlockList' => array( 72 'version' => ' 1.9.0.0',72 'version' => '2.1.0.0', 73 73 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/CSSList/AtRuleBlockList.php' 74 74 ), 75 75 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\CSSList\\CSSBlockList' => array( 76 'version' => ' 1.9.0.0',76 'version' => '2.1.0.0', 77 77 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/CSSList/CSSBlockList.php' 78 78 ), 79 79 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\CSSList\\CSSList' => array( 80 'version' => ' 1.9.0.0',80 'version' => '2.1.0.0', 81 81 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/CSSList/CSSList.php' 82 82 ), 83 83 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\CSSList\\Document' => array( 84 'version' => ' 1.9.0.0',84 'version' => '2.1.0.0', 85 85 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/CSSList/Document.php' 86 86 ), 87 87 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\CSSList\\KeyFrame' => array( 88 'version' => ' 1.9.0.0',88 'version' => '2.1.0.0', 89 89 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/CSSList/KeyFrame.php' 90 90 ), 91 91 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Comment\\Comment' => array( 92 'version' => ' 1.9.0.0',92 'version' => '2.1.0.0', 93 93 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Comment/Comment.php' 94 94 ), 95 95 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Comment\\Commentable' => array( 96 'version' => ' 1.9.0.0',96 'version' => '2.1.0.0', 97 97 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Comment/Commentable.php' 98 98 ), 99 99 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\OutputFormat' => array( 100 'version' => ' 1.9.0.0',100 'version' => '2.1.0.0', 101 101 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/OutputFormat.php' 102 102 ), 103 103 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\OutputFormatter' => array( 104 'version' => ' 1.9.0.0',104 'version' => '2.1.0.0', 105 105 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/OutputFormatter.php' 106 106 ), 107 107 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Parser' => array( 108 'version' => ' 1.9.0.0',108 'version' => '2.1.0.0', 109 109 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Parser.php' 110 110 ), 111 111 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Parsing\\Anchor' => array( 112 'version' => ' 1.9.0.0',112 'version' => '2.1.0.0', 113 113 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Parsing/Anchor.php' 114 114 ), 115 115 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Parsing\\OutputException' => array( 116 'version' => ' 1.9.0.0',116 'version' => '2.1.0.0', 117 117 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Parsing/OutputException.php' 118 118 ), 119 119 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Parsing\\ParserState' => array( 120 'version' => ' 1.9.0.0',120 'version' => '2.1.0.0', 121 121 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Parsing/ParserState.php' 122 122 ), 123 123 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Parsing\\SourceException' => array( 124 'version' => ' 1.9.0.0',124 'version' => '2.1.0.0', 125 125 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Parsing/SourceException.php' 126 126 ), 127 127 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Parsing\\UnexpectedEOFException' => array( 128 'version' => ' 1.9.0.0',128 'version' => '2.1.0.0', 129 129 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Parsing/UnexpectedEOFException.php' 130 130 ), 131 131 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Parsing\\UnexpectedTokenException' => array( 132 'version' => ' 1.9.0.0',132 'version' => '2.1.0.0', 133 133 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Parsing/UnexpectedTokenException.php' 134 134 ), 135 135 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Position\\Position' => array( 136 'version' => ' 1.9.0.0',136 'version' => '2.1.0.0', 137 137 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Position/Position.php' 138 138 ), 139 139 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Position\\Positionable' => array( 140 'version' => ' 1.9.0.0',140 'version' => '2.1.0.0', 141 141 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Position/Positionable.php' 142 142 ), 143 143 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Property\\AtRule' => array( 144 'version' => ' 1.9.0.0',144 'version' => '2.1.0.0', 145 145 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Property/AtRule.php' 146 146 ), 147 147 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Property\\CSSNamespace' => array( 148 'version' => ' 1.9.0.0',148 'version' => '2.1.0.0', 149 149 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Property/CSSNamespace.php' 150 150 ), 151 151 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Property\\Charset' => array( 152 'version' => ' 1.9.0.0',152 'version' => '2.1.0.0', 153 153 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Property/Charset.php' 154 154 ), 155 155 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Property\\Import' => array( 156 'version' => ' 1.9.0.0',156 'version' => '2.1.0.0', 157 157 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Property/Import.php' 158 158 ), 159 159 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Property\\KeyframeSelector' => array( 160 'version' => ' 1.9.0.0',160 'version' => '2.1.0.0', 161 161 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Property/KeyframeSelector.php' 162 162 ), 163 163 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Property\\Selector' => array( 164 'version' => ' 1.9.0.0',164 'version' => '2.1.0.0', 165 165 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Property/Selector.php' 166 166 ), 167 167 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Renderable' => array( 168 'version' => ' 1.9.0.0',168 'version' => '2.1.0.0', 169 169 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Renderable.php' 170 170 ), 171 171 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\RuleSet\\AtRuleSet' => array( 172 'version' => ' 1.9.0.0',172 'version' => '2.1.0.0', 173 173 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/RuleSet/AtRuleSet.php' 174 174 ), 175 175 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\RuleSet\\DeclarationBlock' => array( 176 'version' => ' 1.9.0.0',176 'version' => '2.1.0.0', 177 177 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/RuleSet/DeclarationBlock.php' 178 178 ), 179 179 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\RuleSet\\RuleSet' => array( 180 'version' => ' 1.9.0.0',180 'version' => '2.1.0.0', 181 181 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/RuleSet/RuleSet.php' 182 182 ), 183 183 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Rule\\Rule' => array( 184 'version' => ' 1.9.0.0',184 'version' => '2.1.0.0', 185 185 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Rule/Rule.php' 186 186 ), 187 187 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Settings' => array( 188 'version' => ' 1.9.0.0',188 'version' => '2.1.0.0', 189 189 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Settings.php' 190 190 ), 191 191 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\CSSFunction' => array( 192 'version' => ' 1.9.0.0',192 'version' => '2.1.0.0', 193 193 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/CSSFunction.php' 194 194 ), 195 195 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\CSSString' => array( 196 'version' => ' 1.9.0.0',196 'version' => '2.1.0.0', 197 197 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/CSSString.php' 198 198 ), 199 199 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\CalcFunction' => array( 200 'version' => ' 1.9.0.0',200 'version' => '2.1.0.0', 201 201 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/CalcFunction.php' 202 202 ), 203 203 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\CalcRuleValueList' => array( 204 'version' => ' 1.9.0.0',204 'version' => '2.1.0.0', 205 205 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/CalcRuleValueList.php' 206 206 ), 207 207 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\Color' => array( 208 'version' => ' 1.9.0.0',208 'version' => '2.1.0.0', 209 209 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/Color.php' 210 210 ), 211 211 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\LineName' => array( 212 'version' => ' 1.9.0.0',212 'version' => '2.1.0.0', 213 213 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/LineName.php' 214 214 ), 215 215 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\PrimitiveValue' => array( 216 'version' => ' 1.9.0.0',216 'version' => '2.1.0.0', 217 217 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/PrimitiveValue.php' 218 218 ), 219 219 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\RuleValueList' => array( 220 'version' => ' 1.9.0.0',220 'version' => '2.1.0.0', 221 221 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/RuleValueList.php' 222 222 ), 223 223 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\Size' => array( 224 'version' => ' 1.9.0.0',224 'version' => '2.1.0.0', 225 225 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/Size.php' 226 226 ), 227 227 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\URL' => array( 228 'version' => ' 1.9.0.0',228 'version' => '2.1.0.0', 229 229 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/URL.php' 230 230 ), 231 231 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\Value' => array( 232 'version' => ' 1.9.0.0',232 'version' => '2.1.0.0', 233 233 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/Value.php' 234 234 ), 235 235 'Automattic\\WooCommerce\\EmailEditorVendor\\Sabberworm\\CSS\\Value\\ValueList' => array( 236 'version' => ' 1.9.0.0',236 'version' => '2.1.0.0', 237 237 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/ValueList.php' 238 238 ), 239 239 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\CssSelectorConverter' => array( 240 'version' => ' 1.9.0.0',240 'version' => '2.1.0.0', 241 241 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/CssSelectorConverter.php' 242 242 ), 243 243 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Exception\\ExceptionInterface' => array( 244 'version' => ' 1.9.0.0',244 'version' => '2.1.0.0', 245 245 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Exception/ExceptionInterface.php' 246 246 ), 247 247 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Exception\\ExpressionErrorException' => array( 248 'version' => ' 1.9.0.0',248 'version' => '2.1.0.0', 249 249 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Exception/ExpressionErrorException.php' 250 250 ), 251 251 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Exception\\InternalErrorException' => array( 252 'version' => ' 1.9.0.0',252 'version' => '2.1.0.0', 253 253 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Exception/InternalErrorException.php' 254 254 ), 255 255 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Exception\\ParseException' => array( 256 'version' => ' 1.9.0.0',256 'version' => '2.1.0.0', 257 257 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Exception/ParseException.php' 258 258 ), 259 259 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Exception\\SyntaxErrorException' => array( 260 'version' => ' 1.9.0.0',260 'version' => '2.1.0.0', 261 261 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Exception/SyntaxErrorException.php' 262 262 ), 263 263 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\AbstractNode' => array( 264 'version' => ' 1.9.0.0',264 'version' => '2.1.0.0', 265 265 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/AbstractNode.php' 266 266 ), 267 267 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\AttributeNode' => array( 268 'version' => ' 1.9.0.0',268 'version' => '2.1.0.0', 269 269 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/AttributeNode.php' 270 270 ), 271 271 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\ClassNode' => array( 272 'version' => ' 1.9.0.0',272 'version' => '2.1.0.0', 273 273 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/ClassNode.php' 274 274 ), 275 275 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\CombinedSelectorNode' => array( 276 'version' => ' 1.9.0.0',276 'version' => '2.1.0.0', 277 277 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php' 278 278 ), 279 279 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\ElementNode' => array( 280 'version' => ' 1.9.0.0',280 'version' => '2.1.0.0', 281 281 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/ElementNode.php' 282 282 ), 283 283 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\FunctionNode' => array( 284 'version' => ' 1.9.0.0',284 'version' => '2.1.0.0', 285 285 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/FunctionNode.php' 286 286 ), 287 287 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\HashNode' => array( 288 'version' => ' 1.9.0.0',288 'version' => '2.1.0.0', 289 289 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/HashNode.php' 290 290 ), 291 291 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\NegationNode' => array( 292 'version' => ' 1.9.0.0',292 'version' => '2.1.0.0', 293 293 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/NegationNode.php' 294 294 ), 295 295 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\NodeInterface' => array( 296 'version' => ' 1.9.0.0',296 'version' => '2.1.0.0', 297 297 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/NodeInterface.php' 298 298 ), 299 299 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\PseudoNode' => array( 300 'version' => ' 1.9.0.0',300 'version' => '2.1.0.0', 301 301 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/PseudoNode.php' 302 302 ), 303 303 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\SelectorNode' => array( 304 'version' => ' 1.9.0.0',304 'version' => '2.1.0.0', 305 305 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/SelectorNode.php' 306 306 ), 307 307 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Node\\Specificity' => array( 308 'version' => ' 1.9.0.0',308 'version' => '2.1.0.0', 309 309 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Node/Specificity.php' 310 310 ), 311 311 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Handler\\CommentHandler' => array( 312 'version' => ' 1.9.0.0',312 'version' => '2.1.0.0', 313 313 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Handler/CommentHandler.php' 314 314 ), 315 315 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Handler\\HandlerInterface' => array( 316 'version' => ' 1.9.0.0',316 'version' => '2.1.0.0', 317 317 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Handler/HandlerInterface.php' 318 318 ), 319 319 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Handler\\HashHandler' => array( 320 'version' => ' 1.9.0.0',320 'version' => '2.1.0.0', 321 321 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Handler/HashHandler.php' 322 322 ), 323 323 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Handler\\IdentifierHandler' => array( 324 'version' => ' 1.9.0.0',324 'version' => '2.1.0.0', 325 325 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Handler/IdentifierHandler.php' 326 326 ), 327 327 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Handler\\NumberHandler' => array( 328 'version' => ' 1.9.0.0',328 'version' => '2.1.0.0', 329 329 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Handler/NumberHandler.php' 330 330 ), 331 331 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Handler\\StringHandler' => array( 332 'version' => ' 1.9.0.0',332 'version' => '2.1.0.0', 333 333 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Handler/StringHandler.php' 334 334 ), 335 335 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Handler\\WhitespaceHandler' => array( 336 'version' => ' 1.9.0.0',336 'version' => '2.1.0.0', 337 337 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Handler/WhitespaceHandler.php' 338 338 ), 339 339 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Parser' => array( 340 'version' => ' 1.9.0.0',340 'version' => '2.1.0.0', 341 341 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Parser.php' 342 342 ), 343 343 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\ParserInterface' => array( 344 'version' => ' 1.9.0.0',344 'version' => '2.1.0.0', 345 345 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/ParserInterface.php' 346 346 ), 347 347 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Reader' => array( 348 'version' => ' 1.9.0.0',348 'version' => '2.1.0.0', 349 349 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Reader.php' 350 350 ), 351 351 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Shortcut\\ClassParser' => array( 352 'version' => ' 1.9.0.0',352 'version' => '2.1.0.0', 353 353 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Shortcut/ClassParser.php' 354 354 ), 355 355 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Shortcut\\ElementParser' => array( 356 'version' => ' 1.9.0.0',356 'version' => '2.1.0.0', 357 357 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Shortcut/ElementParser.php' 358 358 ), 359 359 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Shortcut\\EmptyStringParser' => array( 360 'version' => ' 1.9.0.0',360 'version' => '2.1.0.0', 361 361 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Shortcut/EmptyStringParser.php' 362 362 ), 363 363 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Shortcut\\HashParser' => array( 364 'version' => ' 1.9.0.0',364 'version' => '2.1.0.0', 365 365 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Shortcut/HashParser.php' 366 366 ), 367 367 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Token' => array( 368 'version' => ' 1.9.0.0',368 'version' => '2.1.0.0', 369 369 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Token.php' 370 370 ), 371 371 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\TokenStream' => array( 372 'version' => ' 1.9.0.0',372 'version' => '2.1.0.0', 373 373 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/TokenStream.php' 374 374 ), 375 375 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Tokenizer\\Tokenizer' => array( 376 'version' => ' 1.9.0.0',376 'version' => '2.1.0.0', 377 377 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Tokenizer/Tokenizer.php' 378 378 ), 379 379 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Tokenizer\\TokenizerEscaping' => array( 380 'version' => ' 1.9.0.0',380 'version' => '2.1.0.0', 381 381 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerEscaping.php' 382 382 ), 383 383 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\Parser\\Tokenizer\\TokenizerPatterns' => array( 384 'version' => ' 1.9.0.0',384 'version' => '2.1.0.0', 385 385 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerPatterns.php' 386 386 ), 387 387 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\Extension\\AbstractExtension' => array( 388 'version' => ' 1.9.0.0',388 'version' => '2.1.0.0', 389 389 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/Extension/AbstractExtension.php' 390 390 ), 391 391 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\Extension\\AttributeMatchingExtension' => array( 392 'version' => ' 1.9.0.0',392 'version' => '2.1.0.0', 393 393 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/Extension/AttributeMatchingExtension.php' 394 394 ), 395 395 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\Extension\\CombinationExtension' => array( 396 'version' => ' 1.9.0.0',396 'version' => '2.1.0.0', 397 397 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/Extension/CombinationExtension.php' 398 398 ), 399 399 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\Extension\\ExtensionInterface' => array( 400 'version' => ' 1.9.0.0',400 'version' => '2.1.0.0', 401 401 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/Extension/ExtensionInterface.php' 402 402 ), 403 403 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\Extension\\FunctionExtension' => array( 404 'version' => ' 1.9.0.0',404 'version' => '2.1.0.0', 405 405 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/Extension/FunctionExtension.php' 406 406 ), 407 407 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\Extension\\HtmlExtension' => array( 408 'version' => ' 1.9.0.0',408 'version' => '2.1.0.0', 409 409 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/Extension/HtmlExtension.php' 410 410 ), 411 411 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\Extension\\NodeExtension' => array( 412 'version' => ' 1.9.0.0',412 'version' => '2.1.0.0', 413 413 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/Extension/NodeExtension.php' 414 414 ), 415 415 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\Extension\\PseudoClassExtension' => array( 416 'version' => ' 1.9.0.0',416 'version' => '2.1.0.0', 417 417 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/Extension/PseudoClassExtension.php' 418 418 ), 419 419 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\Translator' => array( 420 'version' => ' 1.9.0.0',420 'version' => '2.1.0.0', 421 421 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/Translator.php' 422 422 ), 423 423 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\TranslatorInterface' => array( 424 'version' => ' 1.9.0.0',424 'version' => '2.1.0.0', 425 425 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/TranslatorInterface.php' 426 426 ), 427 427 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Component\\CssSelector\\XPath\\XPathExpr' => array( 428 'version' => ' 1.9.0.0',428 'version' => '2.1.0.0', 429 429 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Component/CssSelector/XPath/XPathExpr.php' 430 430 ), 431 431 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Polyfill\\Php80\\Php80' => array( 432 'version' => ' 1.9.0.0',432 'version' => '2.1.0.0', 433 433 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Polyfill/Php80/Php80.php' 434 434 ), 435 435 'Automattic\\WooCommerce\\EmailEditorVendor\\Symfony\\Polyfill\\Php80\\PhpToken' => array( 436 'version' => ' 1.9.0.0',436 'version' => '2.1.0.0', 437 437 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Polyfill/Php80/PhpToken.php' 438 438 ), 439 439 'Automattic\\WooCommerce\\EmailEditor\\AccessDeniedException' => array( 440 'version' => ' 1.9.0.0',440 'version' => '2.1.0.0', 441 441 'path' => $vendorDir . '/woocommerce/email-editor/src/exceptions.php' 442 442 ), 443 443 'Automattic\\WooCommerce\\EmailEditor\\Bootstrap' => array( 444 'version' => ' 1.9.0.0',444 'version' => '2.1.0.0', 445 445 'path' => $vendorDir . '/woocommerce/email-editor/src/class-bootstrap.php' 446 446 ), 447 447 'Automattic\\WooCommerce\\EmailEditor\\ConflictException' => array( 448 'version' => ' 1.9.0.0',448 'version' => '2.1.0.0', 449 449 'path' => $vendorDir . '/woocommerce/email-editor/src/exceptions.php' 450 450 ), 451 451 'Automattic\\WooCommerce\\EmailEditor\\Container' => array( 452 'version' => ' 1.9.0.0',452 'version' => '2.1.0.0', 453 453 'path' => $vendorDir . '/woocommerce/email-editor/src/class-container.php' 454 454 ), 455 455 'Automattic\\WooCommerce\\EmailEditor\\Email_Css_Inliner' => array( 456 'version' => ' 1.9.0.0',456 'version' => '2.1.0.0', 457 457 'path' => $vendorDir . '/woocommerce/email-editor/src/class-email-css-inliner.php' 458 458 ), 459 459 'Automattic\\WooCommerce\\EmailEditor\\Email_Editor_Container' => array( 460 'version' => ' 1.9.0.0',460 'version' => '2.1.0.0', 461 461 'path' => $vendorDir . '/woocommerce/email-editor/src/class-email-editor-container.php' 462 462 ), 463 463 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Assets_Manager' => array( 464 'version' => ' 1.9.0.0',464 'version' => '2.1.0.0', 465 465 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-assets-manager.php' 466 466 ), 467 467 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Dependency_Check' => array( 468 'version' => ' 1.9.0.0',468 'version' => '2.1.0.0', 469 469 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-dependency-check.php' 470 470 ), 471 471 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Email_Api_Controller' => array( 472 'version' => ' 1.9.0.0',472 'version' => '2.1.0.0', 473 473 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-email-api-controller.php' 474 474 ), 475 475 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Email_Editor' => array( 476 'version' => ' 1.9.0.0',476 'version' => '2.1.0.0', 477 477 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-email-editor.php' 478 478 ), 479 479 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Email_Styles_Schema' => array( 480 'version' => ' 1.9.0.0',480 'version' => '2.1.0.0', 481 481 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-email-styles-schema.php' 482 482 ), 483 483 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Logger\\Default_Email_Editor_Logger' => array( 484 'version' => ' 1.9.0.0',484 'version' => '2.1.0.0', 485 485 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Logger/class-default-email-editor-logger.php' 486 486 ), 487 487 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Logger\\Email_Editor_Logger' => array( 488 'version' => ' 1.9.0.0',488 'version' => '2.1.0.0', 489 489 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Logger/class-email-editor-logger.php' 490 490 ), 491 491 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Logger\\Email_Editor_Logger_Interface' => array( 492 'version' => ' 1.9.0.0',492 'version' => '2.1.0.0', 493 493 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Logger/class-email-editor-logger-interface.php' 494 494 ), 495 495 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Patterns\\Abstract_Pattern' => array( 496 'version' => ' 1.9.0.0',496 'version' => '2.1.0.0', 497 497 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Patterns/class-abstract-pattern.php' 498 498 ), 499 499 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Patterns\\Patterns' => array( 500 'version' => ' 1.9.0.0',500 'version' => '2.1.0.0', 501 501 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Patterns/class-patterns.php' 502 502 ), 503 503 'Automattic\\WooCommerce\\EmailEditor\\Engine\\PersonalizationTags\\HTML_Tag_Processor' => array( 504 'version' => ' 1.9.0.0',504 'version' => '2.1.0.0', 505 505 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/PersonalizationTags/class-html-tag-processor.php' 506 506 ), 507 507 'Automattic\\WooCommerce\\EmailEditor\\Engine\\PersonalizationTags\\Personalization_Tag' => array( 508 'version' => ' 1.9.0.0',508 'version' => '2.1.0.0', 509 509 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/PersonalizationTags/class-personalization-tag.php' 510 510 ), 511 511 'Automattic\\WooCommerce\\EmailEditor\\Engine\\PersonalizationTags\\Personalization_Tags_Registry' => array( 512 'version' => ' 1.9.0.0',512 'version' => '2.1.0.0', 513 513 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/PersonalizationTags/class-personalization-tags-registry.php' 514 514 ), 515 515 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Personalizer' => array( 516 'version' => ' 1.9.0.0',516 'version' => '2.1.0.0', 517 517 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-personalizer.php' 518 518 ), 519 519 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Block_Renderer' => array( 520 'version' => ' 1.9.0.0',520 'version' => '2.1.0.0', 521 521 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/class-block-renderer.php' 522 522 ), 523 523 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Blocks_Parser' => array( 524 'version' => ' 1.9.0.0',524 'version' => '2.1.0.0', 525 525 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/class-blocks-parser.php' 526 526 ), 527 527 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Content_Renderer' => array( 528 'version' => ' 1.9.0.0',528 'version' => '2.1.0.0', 529 529 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/class-content-renderer.php' 530 530 ), 531 531 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Layout\\Flex_Layout_Renderer' => array( 532 'version' => ' 1.9.0.0',532 'version' => '2.1.0.0', 533 533 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Layout/class-flex-layout-renderer.php' 534 534 ), 535 535 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Postprocessors\\Border_Style_Postprocessor' => array( 536 'version' => ' 1.9.0.0',536 'version' => '2.1.0.0', 537 537 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Postprocessors/class-border-style-postprocessor.php' 538 538 ), 539 539 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Postprocessors\\Highlighting_Postprocessor' => array( 540 'version' => ' 1.9.0.0',540 'version' => '2.1.0.0', 541 541 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Postprocessors/class-highlighting-postprocessor.php' 542 542 ), 543 543 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Postprocessors\\Postprocessor' => array( 544 'version' => ' 1.9.0.0',544 'version' => '2.1.0.0', 545 545 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Postprocessors/interface-postprocessor.php' 546 546 ), 547 547 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Postprocessors\\Variables_Postprocessor' => array( 548 'version' => ' 1.9.0.0',548 'version' => '2.1.0.0', 549 549 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Postprocessors/class-variables-postprocessor.php' 550 550 ), 551 551 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Preprocessors\\Blocks_Width_Preprocessor' => array( 552 'version' => ' 1.9.0.0',552 'version' => '2.1.0.0', 553 553 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Preprocessors/class-blocks-width-preprocessor.php' 554 554 ), 555 555 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Preprocessors\\Cleanup_Preprocessor' => array( 556 'version' => ' 1.9.0.0',556 'version' => '2.1.0.0', 557 557 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Preprocessors/class-cleanup-preprocessor.php' 558 558 ), 559 559 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Preprocessors\\Preprocessor' => array( 560 'version' => ' 1.9.0.0',560 'version' => '2.1.0.0', 561 561 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Preprocessors/interface-preprocessor.php' 562 562 ), 563 563 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Preprocessors\\Quote_Preprocessor' => array( 564 'version' => ' 1.9.0.0',564 'version' => '2.1.0.0', 565 565 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Preprocessors/class-quote-preprocessor.php' 566 566 ), 567 567 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Preprocessors\\Spacing_Preprocessor' => array( 568 'version' => ' 1.9.0.0',568 'version' => '2.1.0.0', 569 569 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Preprocessors/class-spacing-preprocessor.php' 570 570 ), 571 571 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Preprocessors\\Typography_Preprocessor' => array( 572 'version' => ' 1.9.0.0',572 'version' => '2.1.0.0', 573 573 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/Preprocessors/class-typography-preprocessor.php' 574 574 ), 575 575 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Process_Manager' => array( 576 'version' => ' 1.9.0.0',576 'version' => '2.1.0.0', 577 577 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/class-process-manager.php' 578 578 ), 579 579 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\ContentRenderer\\Rendering_Context' => array( 580 'version' => ' 1.9.0.0',580 'version' => '2.1.0.0', 581 581 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/class-rendering-context.php' 582 582 ), 583 583 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\Css_Inliner' => array( 584 'version' => ' 1.9.0.0',584 'version' => '2.1.0.0', 585 585 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/interface-css-inliner.php' 586 586 ), 587 587 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\Html2Text' => array( 588 'version' => ' 1.9.0.0',588 'version' => '2.1.0.0', 589 589 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/class-html2text.php' 590 590 ), 591 591 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\Html2Text_Exception' => array( 592 'version' => ' 1.9.0.0',592 'version' => '2.1.0.0', 593 593 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/class-html2text-exception.php' 594 594 ), 595 595 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Renderer\\Renderer' => array( 596 'version' => ' 1.9.0.0',596 'version' => '2.1.0.0', 597 597 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Renderer/class-renderer.php' 598 598 ), 599 599 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Send_Preview_Email' => array( 600 'version' => ' 1.9.0.0',600 'version' => '2.1.0.0', 601 601 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-send-preview-email.php' 602 602 ), 603 603 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Settings_Controller' => array( 604 'version' => ' 1.9.0.0',604 'version' => '2.1.0.0', 605 605 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-settings-controller.php' 606 606 ), 607 607 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Site_Style_Sync_Controller' => array( 608 'version' => ' 1.9.0.0',608 'version' => '2.1.0.0', 609 609 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-site-style-sync-controller.php' 610 610 ), 611 611 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Templates\\Template' => array( 612 'version' => ' 1.9.0.0',612 'version' => '2.1.0.0', 613 613 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Templates/class-template.php' 614 614 ), 615 615 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Templates\\Templates' => array( 616 'version' => ' 1.9.0.0',616 'version' => '2.1.0.0', 617 617 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Templates/class-templates.php' 618 618 ), 619 619 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Templates\\Templates_Registry' => array( 620 'version' => ' 1.9.0.0',620 'version' => '2.1.0.0', 621 621 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/Templates/class-templates-registry.php' 622 622 ), 623 623 'Automattic\\WooCommerce\\EmailEditor\\Engine\\Theme_Controller' => array( 624 'version' => ' 1.9.0.0',624 'version' => '2.1.0.0', 625 625 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-theme-controller.php' 626 626 ), 627 627 'Automattic\\WooCommerce\\EmailEditor\\Engine\\User_Theme' => array( 628 'version' => ' 1.9.0.0',628 'version' => '2.1.0.0', 629 629 'path' => $vendorDir . '/woocommerce/email-editor/src/Engine/class-user-theme.php' 630 630 ), 631 631 'Automattic\\WooCommerce\\EmailEditor\\Exception' => array( 632 'version' => ' 1.9.0.0',632 'version' => '2.1.0.0', 633 633 'path' => $vendorDir . '/woocommerce/email-editor/src/exceptions.php' 634 634 ), 635 635 'Automattic\\WooCommerce\\EmailEditor\\HttpAwareException' => array( 636 'version' => ' 1.9.0.0',636 'version' => '2.1.0.0', 637 637 'path' => $vendorDir . '/woocommerce/email-editor/src/exceptions.php' 638 638 ), 639 639 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Initializer' => array( 640 'version' => ' 1.9.0.0',640 'version' => '2.1.0.0', 641 641 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/class-initializer.php' 642 642 ), 643 643 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Abstract_Block_Renderer' => array( 644 'version' => ' 1.9.0.0',644 'version' => '2.1.0.0', 645 645 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-abstract-block-renderer.php' 646 646 ), 647 647 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Audio' => array( 648 'version' => ' 1.9.0.0',648 'version' => '2.1.0.0', 649 649 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-audio.php' 650 650 ), 651 651 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Button' => array( 652 'version' => ' 1.9.0.0',652 'version' => '2.1.0.0', 653 653 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-button.php' 654 654 ), 655 655 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Buttons' => array( 656 'version' => ' 1.9.0.0',656 'version' => '2.1.0.0', 657 657 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-buttons.php' 658 658 ), 659 659 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Column' => array( 660 'version' => ' 1.9.0.0',660 'version' => '2.1.0.0', 661 661 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-column.php' 662 662 ), 663 663 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Columns' => array( 664 'version' => ' 1.9.0.0',664 'version' => '2.1.0.0', 665 665 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-columns.php' 666 666 ), 667 667 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Cover' => array( 668 'version' => ' 1.9.0.0',668 'version' => '2.1.0.0', 669 669 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-cover.php' 670 670 ), 671 671 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Embed' => array( 672 'version' => ' 1.9.0.0',672 'version' => '2.1.0.0', 673 673 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-embed.php' 674 674 ), 675 675 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Fallback' => array( 676 'version' => ' 1.9.0.0',676 'version' => '2.1.0.0', 677 677 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-fallback.php' 678 678 ), 679 679 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Gallery' => array( 680 'version' => ' 1.9.0.0',680 'version' => '2.1.0.0', 681 681 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-gallery.php' 682 682 ), 683 683 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Group' => array( 684 'version' => ' 1.9.0.0',684 'version' => '2.1.0.0', 685 685 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-group.php' 686 686 ), 687 687 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Image' => array( 688 'version' => ' 1.9.0.0',688 'version' => '2.1.0.0', 689 689 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-image.php' 690 690 ), 691 691 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\List_Block' => array( 692 'version' => ' 1.9.0.0',692 'version' => '2.1.0.0', 693 693 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-list-block.php' 694 694 ), 695 695 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\List_Item' => array( 696 'version' => ' 1.9.0.0',696 'version' => '2.1.0.0', 697 697 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-list-item.php' 698 698 ), 699 699 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Media_Text' => array( 700 'version' => ' 1.9.0.0',700 'version' => '2.1.0.0', 701 701 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-media-text.php' 702 702 ), 703 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Post_Content' => array( 704 'version' => '2.1.0.0', 705 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-post-content.php' 706 ), 703 707 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Quote' => array( 704 'version' => ' 1.9.0.0',708 'version' => '2.1.0.0', 705 709 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-quote.php' 706 710 ), 707 711 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Social_Link' => array( 708 'version' => ' 1.9.0.0',712 'version' => '2.1.0.0', 709 713 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-social-link.php' 710 714 ), 711 715 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Social_Links' => array( 712 'version' => ' 1.9.0.0',716 'version' => '2.1.0.0', 713 717 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-social-links.php' 714 718 ), 715 719 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Table' => array( 716 'version' => ' 1.9.0.0',720 'version' => '2.1.0.0', 717 721 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-table.php' 718 722 ), 719 723 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Text' => array( 720 'version' => ' 1.9.0.0',724 'version' => '2.1.0.0', 721 725 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-text.php' 722 726 ), 723 727 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Core\\Renderer\\Blocks\\Video' => array( 724 'version' => ' 1.9.0.0',728 'version' => '2.1.0.0', 725 729 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-video.php' 726 730 ), 727 731 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Utils\\Dom_Document_Helper' => array( 728 'version' => ' 1.9.0.0',732 'version' => '2.1.0.0', 729 733 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Utils/class-dom-document-helper.php' 730 734 ), 731 735 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Utils\\Html_Processing_Helper' => array( 732 'version' => ' 1.9.0.0',736 'version' => '2.1.0.0', 733 737 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Utils/class-html-processing-helper.php' 734 738 ), 735 739 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Utils\\Social_Links_Helper' => array( 736 'version' => ' 1.9.0.0',740 'version' => '2.1.0.0', 737 741 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Utils/class-social-links-helper.php' 738 742 ), 739 743 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Utils\\Styles_Helper' => array( 740 'version' => ' 1.9.0.0',744 'version' => '2.1.0.0', 741 745 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Utils/class-styles-helper.php' 742 746 ), 743 747 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\Utils\\Table_Wrapper_Helper' => array( 744 'version' => ' 1.9.0.0',748 'version' => '2.1.0.0', 745 749 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/Utils/class-table-wrapper-helper.php' 746 750 ), 747 751 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\WooCommerce\\Initializer' => array( 748 'version' => ' 1.9.0.0',752 'version' => '2.1.0.0', 749 753 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/WooCommerce/class-initializer.php' 750 754 ), 751 755 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\WooCommerce\\Renderer\\Blocks\\Abstract_Product_Block_Renderer' => array( 752 'version' => ' 1.9.0.0',756 'version' => '2.1.0.0', 753 757 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/WooCommerce/Renderer/Blocks/class-abstract-product-block-renderer.php' 754 758 ), 755 759 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\WooCommerce\\Renderer\\Blocks\\Product_Button' => array( 756 'version' => ' 1.9.0.0',760 'version' => '2.1.0.0', 757 761 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/WooCommerce/Renderer/Blocks/class-product-button.php' 758 762 ), 759 763 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\WooCommerce\\Renderer\\Blocks\\Product_Collection' => array( 760 'version' => ' 1.9.0.0',764 'version' => '2.1.0.0', 761 765 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/WooCommerce/Renderer/Blocks/class-product-collection.php' 762 766 ), 763 767 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\WooCommerce\\Renderer\\Blocks\\Product_Image' => array( 764 'version' => ' 1.9.0.0',768 'version' => '2.1.0.0', 765 769 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/WooCommerce/Renderer/Blocks/class-product-image.php' 766 770 ), 767 771 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\WooCommerce\\Renderer\\Blocks\\Product_Price' => array( 768 'version' => ' 1.9.0.0',772 'version' => '2.1.0.0', 769 773 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/WooCommerce/Renderer/Blocks/class-product-price.php' 770 774 ), 771 775 'Automattic\\WooCommerce\\EmailEditor\\Integrations\\WooCommerce\\Renderer\\Blocks\\Product_Sale_Badge' => array( 772 'version' => ' 1.9.0.0',776 'version' => '2.1.0.0', 773 777 'path' => $vendorDir . '/woocommerce/email-editor/src/Integrations/WooCommerce/Renderer/Blocks/class-product-sale-badge.php' 774 778 ), 775 779 'Automattic\\WooCommerce\\EmailEditor\\InvalidStateException' => array( 776 'version' => ' 1.9.0.0',780 'version' => '2.1.0.0', 777 781 'path' => $vendorDir . '/woocommerce/email-editor/src/exceptions.php' 778 782 ), 779 783 'Automattic\\WooCommerce\\EmailEditor\\NewsletterProcessingException' => array( 780 'version' => ' 1.9.0.0',784 'version' => '2.1.0.0', 781 785 'path' => $vendorDir . '/woocommerce/email-editor/src/exceptions.php' 782 786 ), 783 787 'Automattic\\WooCommerce\\EmailEditor\\NotFoundException' => array( 784 'version' => ' 1.9.0.0',788 'version' => '2.1.0.0', 785 789 'path' => $vendorDir . '/woocommerce/email-editor/src/exceptions.php' 786 790 ), 787 791 'Automattic\\WooCommerce\\EmailEditor\\Package' => array( 788 'version' => ' 1.9.0.0',792 'version' => '2.1.0.0', 789 793 'path' => $vendorDir . '/woocommerce/email-editor/src/class-package.php' 790 794 ), 791 795 'Automattic\\WooCommerce\\EmailEditor\\RuntimeException' => array( 792 'version' => ' 1.9.0.0',796 'version' => '2.1.0.0', 793 797 'path' => $vendorDir . '/woocommerce/email-editor/src/exceptions.php' 794 798 ), 795 799 'Automattic\\WooCommerce\\EmailEditor\\UnexpectedValueException' => array( 796 'version' => ' 1.9.0.0',800 'version' => '2.1.0.0', 797 801 'path' => $vendorDir . '/woocommerce/email-editor/src/exceptions.php' 798 802 ), 799 803 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Builder' => array( 800 'version' => ' 1.9.0.0',804 'version' => '2.1.0.0', 801 805 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/class-builder.php' 802 806 ), 803 807 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Schema' => array( 804 'version' => ' 1.9.0.0',808 'version' => '2.1.0.0', 805 809 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/class-schema.php' 806 810 ), 807 811 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Schema\\Any_Of_Schema' => array( 808 'version' => ' 1.9.0.0',812 'version' => '2.1.0.0', 809 813 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/Schema/class-any-of-schema.php' 810 814 ), 811 815 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Schema\\Array_Schema' => array( 812 'version' => ' 1.9.0.0',816 'version' => '2.1.0.0', 813 817 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/Schema/class-array-schema.php' 814 818 ), 815 819 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Schema\\Boolean_Schema' => array( 816 'version' => ' 1.9.0.0',820 'version' => '2.1.0.0', 817 821 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/Schema/class-boolean-schema.php' 818 822 ), 819 823 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Schema\\Integer_Schema' => array( 820 'version' => ' 1.9.0.0',824 'version' => '2.1.0.0', 821 825 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/Schema/class-integer-schema.php' 822 826 ), 823 827 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Schema\\Null_Schema' => array( 824 'version' => ' 1.9.0.0',828 'version' => '2.1.0.0', 825 829 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/Schema/class-null-schema.php' 826 830 ), 827 831 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Schema\\Number_Schema' => array( 828 'version' => ' 1.9.0.0',832 'version' => '2.1.0.0', 829 833 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/Schema/class-number-schema.php' 830 834 ), 831 835 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Schema\\Object_Schema' => array( 832 'version' => ' 1.9.0.0',836 'version' => '2.1.0.0', 833 837 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/Schema/class-object-schema.php' 834 838 ), 835 839 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Schema\\One_Of_Schema' => array( 836 'version' => ' 1.9.0.0',840 'version' => '2.1.0.0', 837 841 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/Schema/class-one-of-schema.php' 838 842 ), 839 843 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Schema\\String_Schema' => array( 840 'version' => ' 1.9.0.0',844 'version' => '2.1.0.0', 841 845 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/Schema/class-string-schema.php' 842 846 ), 843 847 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Validation_Exception' => array( 844 'version' => ' 1.9.0.0',848 'version' => '2.1.0.0', 845 849 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/class-validation-exception.php' 846 850 ), 847 851 'Automattic\\WooCommerce\\EmailEditor\\Validator\\Validator' => array( 848 'version' => ' 1.9.0.0',852 'version' => '2.1.0.0', 849 853 'path' => $vendorDir . '/woocommerce/email-editor/src/Validator/class-validator.php' 850 854 ), 851 855 'EmailEditorVendor_Attribute' => array( 852 'version' => ' 1.9.0.0',856 'version' => '2.1.0.0', 853 857 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/classes/symfony/polyfill-php80/Resources/stubs/Attribute.php' 854 858 ), 855 859 'EmailEditorVendor_PhpToken' => array( 856 'version' => ' 1.9.0.0',860 'version' => '2.1.0.0', 857 861 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/classes/symfony/polyfill-php80/Resources/stubs/PhpToken.php' 858 862 ), 859 863 'EmailEditorVendor_Stringable' => array( 860 'version' => ' 1.9.0.0',864 'version' => '2.1.0.0', 861 865 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/classes/symfony/polyfill-php80/Resources/stubs/Stringable.php' 862 866 ), 863 867 'EmailEditorVendor_UnhandledMatchError' => array( 864 'version' => ' 1.9.0.0',868 'version' => '2.1.0.0', 865 869 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/classes/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php' 866 870 ), 867 871 'EmailEditorVendor_ValueError' => array( 868 'version' => ' 1.9.0.0',872 'version' => '2.1.0.0', 869 873 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/classes/symfony/polyfill-php80/Resources/stubs/ValueError.php' 870 874 ), … … 7010 7014 ), 7011 7015 'PhpToken' => array( 7012 'version' => ' 1.9.0.0',7016 'version' => '2.1.0.0', 7013 7017 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Polyfill/Php80/Resources/stubs/PhpToken.php' 7014 7018 ), 7015 7019 'Stringable' => array( 7016 'version' => ' 1.9.0.0',7020 'version' => '2.1.0.0', 7017 7021 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Polyfill/Php80/Resources/stubs/Stringable.php' 7018 7022 ), 7019 7023 'UnhandledMatchError' => array( 7020 'version' => ' 1.9.0.0',7024 'version' => '2.1.0.0', 7021 7025 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Polyfill/Php80/Resources/stubs/UnhandledMatchError.php' 7022 7026 ), 7023 7027 'ValueError' => array( 7024 'version' => ' 1.9.0.0',7028 'version' => '2.1.0.0', 7025 7029 'path' => $vendorDir . '/woocommerce/email-editor/vendor-prefixed/packages/Symfony/Polyfill/Php80/Resources/stubs/ValueError.php' 7026 7030 ), -
mailpoet/trunk/vendor/jetpack-autoloader/class-autoloader-handler.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-autoloader-locator.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-autoloader.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-container.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-hook-manager.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-latest-autoloader-guard.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-manifest-reader.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-path-processor.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-php-autoloader.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-plugin-locator.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-plugins-handler.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-shutdown-handler.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-version-loader.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/jetpack-autoloader/class-version-selector.php
r3394184 r3418147 1 1 <?php 2 namespace Automattic\Jetpack\Autoloader\jp de2d289f3a5a76e56e1080cad124dbd0\al5_0_8;2 namespace Automattic\Jetpack\Autoloader\jpcb2d44e3d30962ec48179c3ba635dcd4\al5_0_8; 3 3 if (!defined('ABSPATH')) exit; 4 4 // phpcs:ignore -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/class-content-renderer.php
r3350424 r3418147 7 7 use Automattic\WooCommerce\EmailEditor\Engine\Theme_Controller; 8 8 use Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks\Fallback; 9 use Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks\Post_Content; 9 10 use WP_Block_Template; 10 11 use WP_Block_Type_Registry; … … 22 23 private Fallback $fallback_renderer; 23 24 private Email_Editor_Logger $logger; 25 private $backup_post_content_callback; 24 26 public function __construct( 25 27 Process_Manager $preprocess_manager, … … 39 41 add_filter( 'block_parser_class', array( $this, 'block_parser' ) ); 40 42 add_filter( 'woocommerce_email_blocks_renderer_parsed_blocks', array( $this, 'preprocess_parsed_blocks' ) ); 43 // Swap core/post-content render callback for email rendering. 44 // This prevents issues with WordPress's static $seen_ids array when rendering 45 // multiple emails in a single request (e.g., MailPoet batch processing). 46 $post_content_type = $this->block_type_registry->get_registered( 'core/post-content' ); 47 if ( $post_content_type ) { 48 // Save the original callback (may be null or WordPress's default). 49 $this->backup_post_content_callback = $post_content_type->render_callback; 50 // Replace with our stateless renderer. 51 $post_content_renderer = new Post_Content(); 52 $post_content_type->render_callback = array( $post_content_renderer, 'render_stateless' ); 53 } 41 54 } 42 55 public function render( WP_Post $post, WP_Block_Template $template ): string { … … 54 67 } 55 68 public function render_block( string $block_content, array $parsed_block ): string { 56 $context = new Rendering_Context( $this->theme_controller->get_theme() ); 69 $email_context = apply_filters( 'woocommerce_email_editor_rendering_email_context', array() ); 70 $context = new Rendering_Context( $this->theme_controller->get_theme(), $email_context ); 57 71 $block_type = $this->block_type_registry->get_registered( $parsed_block['blockName'] ); 58 72 try { … … 82 96 $this->backup_template_id = $_wp_current_template_id; 83 97 $this->backup_query = $wp_query; 84 $this->backup_post = $ email_post;98 $this->backup_post = $post; 85 99 $_wp_current_template_id = $template->id; 86 100 $_wp_current_template_content = $template->content; … … 92 106 remove_filter( 'block_parser_class', array( $this, 'block_parser' ) ); 93 107 remove_filter( 'woocommerce_email_blocks_renderer_parsed_blocks', array( $this, 'preprocess_parsed_blocks' ) ); 108 // Restore the original core/post-content render callback. 109 // Note: We always restore it, even if it was null originally. 110 $post_content_type = $this->block_type_registry->get_registered( 'core/post-content' ); 111 if ( $post_content_type ) { 112 // @phpstan-ignore-next-line -- WordPress core allows null for render_callback despite type definition. 113 $post_content_type->render_callback = $this->backup_post_content_callback; 114 } 94 115 // Restore globals to their original values. 95 116 global $_wp_current_template_content, $_wp_current_template_id, $wp_query, $post; -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Engine/Renderer/ContentRenderer/class-rendering-context.php
r3350424 r3418147 7 7 class Rendering_Context { 8 8 private WP_Theme_JSON $theme_json; 9 public function __construct( WP_Theme_JSON $theme_json ) { 9 private array $email_context; 10 public function __construct( WP_Theme_JSON $theme_json, array $email_context = array() ) { 10 11 $this->theme_json = $theme_json; 12 $this->email_context = $email_context; 11 13 } 12 14 public function get_theme_json(): WP_Theme_JSON { … … 42 44 return $color_slug; 43 45 } 46 public function get_email_context(): array { 47 return $this->email_context; 48 } 49 public function get_user_id(): ?int { 50 return isset( $this->email_context['user_id'] ) && is_numeric( $this->email_context['user_id'] ) ? (int) $this->email_context['user_id'] : null; 51 } 52 public function get_recipient_email(): ?string { 53 return isset( $this->email_context['recipient_email'] ) && is_string( $this->email_context['recipient_email'] ) ? $this->email_context['recipient_email'] : null; 54 } 55 public function get( string $key, $default_value = null ) { 56 return $this->email_context[ $key ] ?? $default_value; 57 } 44 58 } -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Engine/class-send-preview-email.php
r3350424 r3418147 30 30 $subject = $post->post_title; 31 31 $language = get_bloginfo( 'language' ); 32 // Add filter to set preview context for block renderers. 33 add_filter( 'woocommerce_email_editor_rendering_email_context', array( $this, 'add_preview_context' ) ); 32 34 $rendered_data = $this->renderer->render( 33 35 $post, … … 36 38 $language 37 39 ); 38 $rendered_data = apply_filters( 'woocommerce_email_editor_send_preview_email_rendered_data', $rendered_data ); 40 // Remove filter after rendering. 41 remove_filter( 'woocommerce_email_editor_rendering_email_context', array( $this, 'add_preview_context' ) ); 42 $rendered_data = apply_filters( 'woocommerce_email_editor_send_preview_email_rendered_data', $rendered_data, $post ); 39 43 return $this->set_personalize_content( $rendered_data['html'] ); 44 } 45 public function add_preview_context( $email_context ): array { 46 $email_context['is_user_preview'] = true; 47 return $email_context; 40 48 } 41 49 public function set_personalize_content( string $content ): string { -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-abstract-block-renderer.php
r3350424 r3418147 5 5 use Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer\Block_Renderer; 6 6 use Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer\Rendering_Context; 7 use Automattic\WooCommerce\EmailEditor\Integrations\Utils\Dom_Document_Helper; 7 8 use Automattic\WooCommerce\EmailEditor\Integrations\Utils\Styles_Helper; 8 9 use Automattic\WooCommerce\EmailEditor\Integrations\Utils\Table_Wrapper_Helper; … … 14 15 protected function compile_css( ...$styles ): string { 15 16 return WP_Style_Engine::compile_css( array_merge( ...$styles ), '' ); 17 } 18 protected function get_inner_content( string $block_content, string $tag_name = 'div' ): string { 19 $dom_helper = new Dom_Document_Helper( $block_content ); 20 $element = $dom_helper->find_element( $tag_name ); 21 return $element ? $dom_helper->get_element_inner_html( $element ) : $block_content; 16 22 } 17 23 protected function add_spacer( $content, $email_attrs ): string { -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-column.php
r3350424 r3418147 12 12 } 13 13 protected function render_content( string $block_content, array $parsed_block, Rendering_Context $rendering_context ): string { 14 $content = '';15 foreach ( $parsed_block['innerBlocks'] ?? array() as $block ) {16 $content .= render_block( $block );17 }18 14 return str_replace( 19 15 '{column_content}', 20 $ content,16 $this->get_inner_content( $block_content ), 21 17 $this->get_block_wrapper( $block_content, $parsed_block, $rendering_context ) 22 18 ); -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-columns.php
r3350424 r3418147 9 9 class Columns extends Abstract_Block_Renderer { 10 10 protected function render_content( string $block_content, array $parsed_block, Rendering_Context $rendering_context ): string { 11 $content = '';12 foreach ( $parsed_block['innerBlocks'] ?? array() as $block ) {13 $content .= render_block( $block );14 }15 11 return str_replace( 16 12 '{columns_content}', 17 $ content,13 $this->get_inner_content( $block_content ), 18 14 $this->getBlockWrapper( $block_content, $parsed_block, $rendering_context ) 19 15 ); -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-group.php
r3389661 r3418147 9 9 class Group extends Abstract_Block_Renderer { 10 10 protected function render_content( string $block_content, array $parsed_block, Rendering_Context $rendering_context ): string { 11 $content = '';12 $inner_blocks = $parsed_block['innerBlocks'] ?? array();13 foreach ( $inner_blocks as $block ) {14 $content .= render_block( $block );15 }16 11 return str_replace( 17 12 '{group_content}', 18 $ content,13 $this->get_inner_content( $block_content ), 19 14 $this->get_block_wrapper( $block_content, $parsed_block, $rendering_context ) 20 15 ); -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-image.php
r3389661 r3418147 62 62 if ( ! isset( $parsed_block['email_attrs']['width'] ) ) { 63 63 $parsed_block['attrs']['width'] = '100%'; 64 return $parsed_block; 64 65 } 65 66 $max_width = Styles_Helper::parse_value( $parsed_block['email_attrs']['width'] ); 67 $image_size = null; 66 68 if ( $image_url ) { 69 // Try to extract width from URL query parameter if it exists. 70 $parsed_url = wp_parse_url( $image_url ); 71 if ( isset( $parsed_url['query'] ) ) { 72 parse_str( $parsed_url['query'], $query_params ); 73 if ( isset( $query_params['w'] ) && is_numeric( $query_params['w'] ) && $query_params['w'] > 0 ) { 74 $image_size = (int) $query_params['w']; 75 } 76 } 77 // Next we check the attachment data if it has an ID. 78 if ( ! isset( $image_size ) ) { 79 $attachment_id = $parsed_block['attrs']['id'] ?? null; 80 if ( $attachment_id ) { 81 $size_slug = $parsed_block['attrs']['sizeSlug'] ?? 'large'; 82 // Check the metadata first. 83 $metadata = wp_get_attachment_metadata( $attachment_id ); 84 if ( $metadata ) { 85 if ( isset( $metadata['sizes'][ $size_slug ]['width'] ) ) { 86 $image_size = (int) $metadata['sizes'][ $size_slug ]['width']; 87 } elseif ( 'full' === $size_slug && isset( $metadata['width'] ) ) { 88 $image_size = (int) $metadata['width']; 89 } 90 } 91 // Try to get dimensions from wp_get_attachment_image_src if metadata didn't have it. 92 if ( ! isset( $image_size ) ) { 93 $image_src = wp_get_attachment_image_src( $attachment_id, $size_slug ); 94 if ( $image_src && isset( $image_src[1] ) ) { 95 $image_size = (int) $image_src[1]; 96 } 97 } 98 } 99 } 100 // Fallback to wp_getimagesize if we still don't have a size. 101 if ( ! isset( $image_size ) ) { 67 102 $upload_dir = wp_upload_dir(); 68 103 $image_path = str_replace( $upload_dir['baseurl'], $upload_dir['basedir'], $image_url ); 69 $image_size = wp_getimagesize( $image_path ); 70 $image_size = $image_size ? $image_size[0] : $max_width; 71 $width = min( $image_size, $max_width ); 72 } else { 73 $width = $max_width; 74 } 104 $result = wp_getimagesize( $image_path ); 105 if ( $result ) { 106 $image_size = (int) $result[0]; 107 } 108 } 109 } 110 // Use the found image size or fall back to max_width. 111 $width = isset( $image_size ) ? min( $image_size, $max_width ) : $max_width; 75 112 $parsed_block['attrs']['width'] = "{$width}px"; 76 113 return $parsed_block; -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Integrations/Core/Renderer/Blocks/class-quote.php
r3350424 r3418147 9 9 class Quote extends Abstract_Block_Renderer { 10 10 protected function render_content( string $block_content, array $parsed_block, Rendering_Context $rendering_context ): string { 11 $content = '';12 11 $dom_helper = new Dom_Document_Helper( $block_content ); 13 12 // Extract citation if present. … … 21 20 ); 22 21 } 23 // Process inner blocks for main content.24 $inner_blocks = $parsed_block['innerBlocks'] ?? array();25 foreach ( $inner_blocks as $block ) {26 $content .= render_block( $block );27 }28 22 return str_replace( 29 23 array( '{quote_content}', '{citation_content}' ), 30 array( $ content, $citation_content ),24 array( $this->get_inner_content( $block_content ), $citation_content ), 31 25 $this->get_block_wrapper( $block_content, $parsed_block, $rendering_context ) 32 26 ); -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Integrations/Core/class-initializer.php
r3389661 r3418147 20 20 use Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks\List_Item; 21 21 use Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks\Media_Text; 22 use Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks\Post_Content; 22 23 use Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks\Quote; 23 24 use Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks\Video; -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Integrations/WooCommerce/Renderer/Blocks/class-product-button.php
r3389661 r3418147 33 33 return ''; 34 34 } 35 // Check if this is a cart-contents collection to customize button text and link. 36 $collection = $parsed_block['context']['collection'] ?? ''; 37 $is_cart_contents = 'woocommerce/product-collection/cart-contents' === $collection; 38 if ( $is_cart_contents ) { 39 // For cart contents, link to cart page instead of product page. 40 $button_text = __( 'Finish checkout', 'woocommerce' ); 41 $button_url = wc_get_cart_url(); 42 } else { 35 43 $button_text = $product->add_to_cart_text() ? $product->add_to_cart_text() : __( 'Add to cart', 'woocommerce' ); 36 44 if ( $product->is_type( 'external' ) && $product instanceof \WC_Product_External ) { … … 39 47 } else { 40 48 $button_url = $product->get_permalink(); 49 } 41 50 } 42 51 $block_attributes = array_replace_recursive( -
mailpoet/trunk/vendor/woocommerce/email-editor/src/Integrations/WooCommerce/Renderer/Blocks/class-product-collection.php
r3389661 r3418147 8 8 protected function render_content( string $block_content, array $parsed_block, Rendering_Context $rendering_context ): string { 9 9 // Create a query for the Product Collection block. 10 $query = $this->prepare_and_execute_query( $parsed_block ); 10 $query = $this->prepare_and_execute_query( $parsed_block, $rendering_context ); 11 // Get collection type to pass to child blocks. 12 $collection_type = $parsed_block['attrs']['collection'] ?? ''; 11 13 $content = ''; 12 14 foreach ( $parsed_block['innerBlocks'] as $inner_block ) { 13 15 switch ( $inner_block['blockName'] ) { 14 16 case 'woocommerce/product-template': 15 $content .= $this->render_product_template( $inner_block, $query );17 $content .= $this->render_product_template( $inner_block, $query, $collection_type ); 16 18 break; 17 19 default: … … 23 25 return $content; 24 26 } 25 private function render_product_template( array $inner_block, \WP_Query $query ): string {27 private function render_product_template( array $inner_block, \WP_Query $query, string $collection_type ): string { 26 28 if ( ! $query->have_posts() ) { 27 29 return $this->render_no_results_message(); … … 40 42 ) 41 43 ); 42 return $this->render_product_grid( $products, $inner_block );43 } 44 private function render_product_grid( array $products, array $inner_block ): string {44 return $this->render_product_grid( $products, $inner_block, $collection_type ); 45 } 46 private function render_product_grid( array $products, array $inner_block, string $collection_type ): string { 45 47 // We start with supporting 1 product per row. 46 48 $content = ''; 47 49 foreach ( $products as $product ) { 48 50 $content .= $this->add_spacer( 49 $this->render_product_content( $product, $inner_block ),51 $this->render_product_content( $product, $inner_block, $collection_type ), 50 52 $inner_block['email_attrs'] ?? array() 51 53 ); … … 53 55 return $content; 54 56 } 55 private function render_product_content( ?\WC_Product $product, array $template_block ): string {57 private function render_product_content( ?\WC_Product $product, array $template_block, string $collection_type ): string { 56 58 $content = ''; 57 59 if ( ! $product ) { … … 66 68 $inner_block['context'] = $inner_block['context'] ?? array(); 67 69 $inner_block['context']['postId'] = $product->get_id(); 70 $inner_block['context']['collection'] = $collection_type; 68 71 $content .= render_block( $inner_block ); 69 72 break; … … 87 90 return $content; 88 91 } 89 private function prepare_and_execute_query( array $parsed_block ): WP_Query {92 private function prepare_and_execute_query( array $parsed_block, Rendering_Context $rendering_context ): WP_Query { 90 93 $collection = $parsed_block['attrs']['collection'] ?? ''; 91 94 $query_attrs = $parsed_block['attrs']['query'] ?? array(); … … 173 176 $query_args['tax_query'] = array_merge( $query_args['tax_query'], $attribute_queries ); // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_tax_query 174 177 } 175 // Handle special collections: upsells, cross-sells, related .176 $product_ids_to_include = $this->get_collection_specific_product_ids( $collection, $parsed_block );178 // Handle special collections: upsells, cross-sells, related, cart-contents. 179 $product_ids_to_include = $this->get_collection_specific_product_ids( $collection, $parsed_block, $rendering_context ); 177 180 if ( ! empty( $product_ids_to_include ) ) { 178 181 $query_args['post__in'] = $product_ids_to_include; … … 234 237 return $attribute_queries; 235 238 } 236 private function get_collection_specific_product_ids( string $collection, array $parsed_block ): array {239 private function get_collection_specific_product_ids( string $collection, array $parsed_block, Rendering_Context $rendering_context ): array { 237 240 switch ( $collection ) { 238 241 case 'woocommerce/product-collection/upsells': … … 242 245 case 'woocommerce/product-collection/related': 243 246 return $this->get_related_product_ids( $parsed_block ); 247 case 'woocommerce/product-collection/cart-contents': 248 return $this->get_cart_contents_product_ids( $parsed_block, $rendering_context ); 244 249 default: 245 250 return array(); … … 320 325 return $product_references; 321 326 } 327 private function get_cart_contents_product_ids( array $parsed_block, Rendering_Context $rendering_context ): array { 328 // Try to get cart product IDs from the user's cart using user ID or email. 329 $cart_product_ids = $this->get_user_cart_product_ids_from_context( $rendering_context ); 330 if ( ! empty( $cart_product_ids ) ) { 331 return $cart_product_ids; 332 } 333 // For preview emails, show sample products so users can see what the email will look like. 334 if ( $rendering_context->get( 'is_user_preview', false ) ) { 335 return $this->get_sample_product_ids_for_preview(); 336 } 337 // For real emails with empty cart, return -1 to ensure no products are shown. 338 return array( -1 ); 339 } 340 private function get_user_cart_product_ids_from_context( Rendering_Context $rendering_context ): array { 341 $user_id = $rendering_context->get_user_id(); 342 $email = $rendering_context->get_recipient_email(); 343 // Use shared utility if available (WooCommerce 10.4+). 344 if ( class_exists( '\Automattic\WooCommerce\Blocks\Utils\CartCheckoutUtils' ) && 345 method_exists( '\Automattic\WooCommerce\Blocks\Utils\CartCheckoutUtils', 'get_cart_product_ids_for_user' ) ) { 346 // @phpstan-ignore-next-line - Method exists in newer WooCommerce versions. 347 return \Automattic\WooCommerce\Blocks\Utils\CartCheckoutUtils::get_cart_product_ids_for_user( $user_id, $email ); 348 } 349 // Fallback: Get user ID from email if needed, then fetch cart. 350 if ( ! $user_id && $email ) { 351 $user = get_user_by( 'email', $email ); 352 if ( $user ) { 353 $user_id = $user->ID; 354 } 355 } 356 if ( ! $user_id ) { 357 return array(); 358 } 359 // Fallback implementation for older WooCommerce versions. 360 $cart_data = get_user_meta( $user_id, '_woocommerce_persistent_cart_' . get_current_blog_id(), true ); 361 if ( ! is_array( $cart_data ) || empty( $cart_data ) || ! isset( $cart_data['cart'] ) || ! is_array( $cart_data['cart'] ) ) { 362 return array(); 363 } 364 $product_ids = array(); 365 foreach ( $cart_data['cart'] as $cart_item ) { 366 if ( is_array( $cart_item ) && isset( $cart_item['product_id'] ) && is_numeric( $cart_item['product_id'] ) ) { 367 $product_ids[] = (int) $cart_item['product_id']; 368 } 369 } 370 return array_unique( $product_ids ); 371 } 372 private function get_sample_product_ids_for_preview(): array { 373 $query = new WP_Query( 374 array( 375 'post_type' => 'product', 376 'post_status' => 'publish', 377 'posts_per_page' => 3, 378 'orderby' => 'date', 379 'order' => 'DESC', 380 'fields' => 'ids', 381 ) 382 ); 383 if ( ! empty( $query->posts ) && is_array( $query->posts ) ) { 384 return array_map( 385 static function ( $id ) { 386 return is_numeric( $id ) ? (int) $id : 0; 387 }, 388 $query->posts 389 ); 390 } 391 return array( -1 ); 392 } 322 393 private function render_no_results_message(): string { 323 394 return sprintf(
Note: See TracChangeset
for help on using the changeset viewer.