@8btc/docxtojson 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +11 -16
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).docxtojson={})}(this,function(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function r(e,r){if(e){if("string"==typeof e)return t(e,r);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||r(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t,r,n,i,o
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).docxtojson={})}(this,function(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function r(e,r){if(e){if("string"==typeof e)return t(e,r);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||r(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function a(e){return function(){var t=this,r=arguments;return new Promise(function(n,a){var o=e.apply(t,r);function s(e){i(o,n,a,s,u,"next",e)}function u(e){i(o,n,a,s,u,"throw",e)}s(void 0)})}}var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){if(this instanceof e){var r=[null];return r.push.apply(r,arguments),new(Function.bind.apply(t,r))}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var u={},l={get exports(){return u},set exports(e){u=e}},f={},c={get exports(){return f},set exports(e){f=e}};!function(e){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports}(c);var h={},d={get exports(){return h},set exports(e){h=e}},p={},g={get exports(){return p},set exports(e){p=e}};!function(e){function t(r,n,i,a){var o=Object.defineProperty;try{o({},"",{})}catch(r){o=0}e.exports=t=function(e,r,n,i){function a(r,n){t(e,r,function(e){return this._invoke(r,n,e)})}r?o?o(e,r,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[r]=n:(a("next",0),a("throw",1),a("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n,i,a)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(g),function(e){var t=p;function r(){
|
|
2
2
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
3
|
-
var n,i,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.toStringTag||"@@toStringTag";function l(e,r,o,a){var s=r&&r.prototype instanceof c?r:c,l=Object.create(s.prototype);return t(l,"_invoke",function(e,t,r){var o,a,s,l=0,c=r||[],h=!1,f={p:0,n:0,v:n,a:d,f:d.bind(n,4),d:function(e,t){return o=e,a=0,s=n,f.n=t,u}};function d(e,t){for(a=e,s=t,i=0;!h&&l&&!r&&i<c.length;i++){var r,o=c[i],d=f.p,p=o[2];e>3?(r=p===t)&&(s=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=n):o[0]<=d&&((r=e<2&&d<o[1])?(a=0,f.v=t,f.n=o[1]):d<p&&(r=e<3||o[0]>t||t>p)&&(o[4]=e,o[5]=t,f.n=p,a=0))}if(r||e>1)return u;throw h=!0,t}return function(r,c,p){if(l>1)throw TypeError("Generator is already running");for(h&&1===c&&d(c,p),a=c,s=p;(i=a<2?n:s)||!h;){o||(a?a<3?(a>1&&(f.n=-1),d(a,s)):f.n=s:f.v=s);try{if(l=2,o){if(a||(r="next"),i=o[r]){if(!(i=i.call(o,s)))throw TypeError("iterator result is not an object");if(!i.done)return i;s=i.value,a<2&&(a=0)}else 1===a&&(i=o.return)&&i.call(o),a<2&&(s=TypeError("The iterator does not provide a '"+r+"' method"),a=1);o=n}else if((i=(h=f.n<0)?s:e.call(t,f))!==u)break}catch(e){o=n,a=1,s=e}finally{l=1}}return{value:i,done:h}}}(e,o,a),!0),l}var u={};function c(){}function h(){}function f(){}i=Object.getPrototypeOf;var d=[][a]?i(i([][a]())):(t(i={},a,function(){return this}),i),p=f.prototype=c.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,t(e,s,"GeneratorFunction")),e.prototype=Object.create(p),e}return h.prototype=f,t(p,"constructor",f),t(f,"constructor",h),h.displayName="GeneratorFunction",t(f,s,"GeneratorFunction"),t(p),t(p,s,"Generator"),t(p,a,function(){return this}),t(p,"toString",function(){return"[object Generator]"}),(e.exports=r=function(){return{w:l,m:m}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(d);var g={},v={get exports(){return g},set exports(e){g=e}},b={},w={get exports(){return b},set exports(e){b=e}},y={},x={get exports(){return y},set exports(e){y=e}};!function(e){var t=c,r=p;e.exports=function e(n,i){function o(e,r,a,s){try{var l=n[e](r),u=l.value;return u instanceof t?i.resolve(u.v).then(function(e){o("next",e,a,s)},function(e){o("throw",e,a,s)}):i.resolve(u).then(function(e){l.value=e,a(l)},function(e){return o("throw",e,a,s)})}catch(e){s(e)}}var a;this.next||(r(e.prototype),r(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(e,t,r){function n(){return new i(function(t,n){o(e,r,t,n)})}return a=a?a.then(n,n):n()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports}(x),function(e){var t=f,r=y;e.exports=function(e,n,i,o,a){return new r(t().w(e,n,i,o),a||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports}(w),function(e){var t=b;e.exports=function(e,r,n,i,o){var a=t(e,r,n,i,o);return a.next().then(function(e){return e.done?e.value:a.next()})},e.exports.__esModule=!0,e.exports.default=e.exports}(v);var _={},E={get exports(){return _},set exports(e){_=e}};!function(e){e.exports=function(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function e(){for(;r.length;)if((n=r.pop())in t)return e.value=n,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports}(E);var A={},S={get exports(){return A},set exports(e){A=e}},N={},C={get exports(){return N},set exports(e){N=e}};!function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(C),function(e){var t=N.default;e.exports=function(e){if(null!=e){var r=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(t(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports}(S),function(e){var t=c,r=f,n=g,i=b,o=y,a=_,s=A;function l(){var u=r(),c=u.m(l),h=(Object.getPrototypeOf?Object.getPrototypeOf(c):c.__proto__).constructor;function f(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))}var d={throw:1,return:2,break:3,continue:3};function p(e){var t,r;return function(n){t||(t={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(e,t){return r(n.a,d[e],t)},delegateYield:function(e,i,o){return t.resultName=i,r(n.d,s(e),o)},finish:function(e){return r(n.f,e)}},r=function(e,r,i){n.p=t.prev,n.n=t.next;try{return e(r,i)}finally{t.next=n.n}}),t.resultName&&(t[t.resultName]=n.v,t.resultName=void 0),t.sent=n.v,t.next=n.n;try{return e.call(this,t)}finally{n.p=t.prev,n.n=t.next}}}return(e.exports=l=function(){return{wrap:function(e,t,r,n){return u.w(p(e),t,r,n&&n.reverse())},isGeneratorFunction:f,mark:u.m,awrap:function(e,r){return new t(e,r)},AsyncIterator:o,async:function(e,t,r,o,a){return(f(t)?i:n)(p(e),t,r,o,a)},keys:a,values:s}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports}(u);var T=l(),k=T;try{regeneratorRuntime=T}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=T:Function("r","regeneratorRuntime = r")(T)}var O={},R={},D="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},M=[],L=[],P="undefined"!=typeof Uint8Array?Uint8Array:Array,I=!1;function B(){I=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)M[t]=e[t],L[e.charCodeAt(t)]=t;L["-".charCodeAt(0)]=62,L["_".charCodeAt(0)]=63}function j(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[63&e]}function q(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(j(n));return i.join("")}function F(e){var t;I||B();for(var r=e.length,n=r%3,i="",o=[],a=16383,s=0,l=r-n;s<l;s+=a)o.push(q(e,s,s+a>l?l:s+a));return 1===n?(t=e[r-1],i+=M[t>>2],i+=M[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=M[t>>10],i+=M[t>>4&63],i+=M[t<<2&63],i+="="),o.push(i),o.join("")}function U(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,h=r?i-1:0,f=r?-1:1,d=e[t+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+h],h+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+h],h+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)}function z(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,h=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?f/l:f*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(t*l-1)*Math.pow(2,i),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+d]=255&a,d+=p,a/=256,u-=8);e[r+d-p]|=128*m}var W={}.toString,H=Array.isArray||function(e){return"[object Array]"==W.call(e)};$.TYPED_ARRAY_SUPPORT=void 0===D.TYPED_ARRAY_SUPPORT||D.TYPED_ARRAY_SUPPORT;var V=G();function G(){return $.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Y(e,t){if(G()<t)throw new RangeError("Invalid typed array length");return $.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=$.prototype:(null===e&&(e=new $(t)),e.length=t),e}function $(e,t,r){if(!($.TYPED_ARRAY_SUPPORT||this instanceof $))return new $(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return J(this,e)}return X(this,e,t,r)}function X(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);$.TYPED_ARRAY_SUPPORT?(e=t).__proto__=$.prototype:e=K(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!$.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|te(t,r);e=Y(e,n);var i=e.write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(ee(t)){var r=0|Q(t.length);return 0===(e=Y(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?Y(e,0):K(e,t);if("Buffer"===t.type&&H(t.data))return K(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Z(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function J(e,t){if(Z(t),e=Y(e,t<0?0:0|Q(t)),!$.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function K(e,t){var r=t.length<0?0:0|Q(t.length);e=Y(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function Q(e){if(e>=G())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+G().toString(16)+" bytes");return 0|e}function ee(e){return!(null==e||!e._isBuffer)}function te(e,t){if(ee(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Te(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ke(e).length;default:if(n)return Te(e).length;t=(""+t).toLowerCase(),n=!0}}function re(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return ve(this,t,r);case"utf8":case"utf-8":return de(this,t,r);case"ascii":return me(this,t,r);case"latin1":case"binary":return ge(this,t,r);case"base64":return fe(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return be(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function ne(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function ie(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=$.from(t,n)),ee(t))return 0===t.length?-1:oe(e,t,r,n,i);if("number"==typeof t)return t&=255,$.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):oe(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function oe(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var h=!0,f=0;f<l;f++)if(u(e,o+f)!==u(t,f)){h=!1;break}if(h)return o}return-1}function ae(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function se(e,t,r,n){return Oe(Te(t,e.length-r),e,r,n)}function le(e,t,r,n){return Oe(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function ue(e,t,r,n){return le(e,t,r,n)}function ce(e,t,r,n){return Oe(ke(t),e,r,n)}function he(e,t,r,n){return Oe(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function fe(e,t,r){return 0===t&&r===e.length?F(e):F(e.slice(t,r))}function de(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,u=e[i],c=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=r)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=h}return function(e){var t=e.length;if(t<=pe)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=pe));return r}(n)}$.poolSize=8192,$._augment=function(e){return e.__proto__=$.prototype,e},$.from=function(e,t,r){return X(null,e,t,r)},$.TYPED_ARRAY_SUPPORT&&($.prototype.__proto__=Uint8Array.prototype,$.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&$[Symbol.species]),$.alloc=function(e,t,r){return function(e,t,r,n){return Z(t),t<=0?Y(e,t):void 0!==r?"string"==typeof n?Y(e,t).fill(r,n):Y(e,t).fill(r):Y(e,t)}(null,e,t,r)},$.allocUnsafe=function(e){return J(null,e)},$.allocUnsafeSlow=function(e){return J(null,e)},$.isBuffer=Re,$.compare=function(e,t){if(!ee(e)||!ee(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},$.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}},$.concat=function(e,t){if(!H(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return $.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=$.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!ee(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},$.byteLength=te,$.prototype._isBuffer=!0,$.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)ne(this,t,t+1);return this},$.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)ne(this,t,t+3),ne(this,t+1,t+2);return this},$.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)ne(this,t,t+7),ne(this,t+1,t+6),ne(this,t+2,t+5),ne(this,t+3,t+4);return this},$.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?de(this,0,e):re.apply(this,arguments)},$.prototype.equals=function(e){if(!ee(e))throw new TypeError("Argument must be a Buffer");return this===e||0===$.compare(this,e)},$.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},$.prototype.compare=function(e,t,r,n,i){if(!ee(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(n,i),u=e.slice(t,r),c=0;c<s;++c)if(l[c]!==u[c]){o=l[c],a=u[c];break}return o<a?-1:a<o?1:0},$.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},$.prototype.indexOf=function(e,t,r){return ie(this,e,t,r,!0)},$.prototype.lastIndexOf=function(e,t,r){return ie(this,e,t,r,!1)},$.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return ae(this,e,t,r);case"utf8":case"utf-8":return se(this,e,t,r);case"ascii":return le(this,e,t,r);case"latin1":case"binary":return ue(this,e,t,r);case"base64":return ce(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},$.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var pe=4096;function me(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function ge(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function ve(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=Ce(e[o]);return i}function be(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function we(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function ye(e,t,r,n,i,o){if(!ee(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function xe(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function _e(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function Ee(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ae(e,t,r,n,i){return i||Ee(e,0,r,4),z(e,t,r,n,23,4),r+4}function Se(e,t,r,n,i){return i||Ee(e,0,r,8),z(e,t,r,n,52,8),r+8}$.prototype.slice=function(e,t){var r,n=this.length;if((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),$.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=$.prototype;else{var i=t-e;r=new $(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},$.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||we(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},$.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||we(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},$.prototype.readUInt8=function(e,t){return t||we(e,1,this.length),this[e]},$.prototype.readUInt16LE=function(e,t){return t||we(e,2,this.length),this[e]|this[e+1]<<8},$.prototype.readUInt16BE=function(e,t){return t||we(e,2,this.length),this[e]<<8|this[e+1]},$.prototype.readUInt32LE=function(e,t){return t||we(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},$.prototype.readUInt32BE=function(e,t){return t||we(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},$.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||we(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},$.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||we(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},$.prototype.readInt8=function(e,t){return t||we(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},$.prototype.readInt16LE=function(e,t){t||we(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},$.prototype.readInt16BE=function(e,t){t||we(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},$.prototype.readInt32LE=function(e,t){return t||we(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},$.prototype.readInt32BE=function(e,t){return t||we(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},$.prototype.readFloatLE=function(e,t){return t||we(e,4,this.length),U(this,e,!0,23,4)},$.prototype.readFloatBE=function(e,t){return t||we(e,4,this.length),U(this,e,!1,23,4)},$.prototype.readDoubleLE=function(e,t){return t||we(e,8,this.length),U(this,e,!0,52,8)},$.prototype.readDoubleBE=function(e,t){return t||we(e,8,this.length),U(this,e,!1,52,8)},$.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||ye(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},$.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||ye(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},$.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||ye(this,e,t,1,255,0),$.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},$.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||ye(this,e,t,2,65535,0),$.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):xe(this,e,t,!0),t+2},$.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||ye(this,e,t,2,65535,0),$.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):xe(this,e,t,!1),t+2},$.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||ye(this,e,t,4,4294967295,0),$.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):_e(this,e,t,!0),t+4},$.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||ye(this,e,t,4,4294967295,0),$.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):_e(this,e,t,!1),t+4},$.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);ye(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},$.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);ye(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},$.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||ye(this,e,t,1,127,-128),$.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},$.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||ye(this,e,t,2,32767,-32768),$.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):xe(this,e,t,!0),t+2},$.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||ye(this,e,t,2,32767,-32768),$.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):xe(this,e,t,!1),t+2},$.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||ye(this,e,t,4,2147483647,-2147483648),$.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):_e(this,e,t,!0),t+4},$.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||ye(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),$.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):_e(this,e,t,!1),t+4},$.prototype.writeFloatLE=function(e,t,r){return Ae(this,e,t,!0,r)},$.prototype.writeFloatBE=function(e,t,r){return Ae(this,e,t,!1,r)},$.prototype.writeDoubleLE=function(e,t,r){return Se(this,e,t,!0,r)},$.prototype.writeDoubleBE=function(e,t,r){return Se(this,e,t,!1,r)},$.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!$.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},$.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!$.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=ee(e)?e:Te(new $(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var Ne=/[^+\/0-9A-Za-z-_]/g;function Ce(e){return e<16?"0"+e.toString(16):e.toString(16)}function Te(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function ke(e){return function(e){var t,r,n,i,o,a;I||B();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new P(3*s/4-o),n=o>0?s-4:s;var l=0;for(t=0,r=0;t<n;t+=4,r+=3)i=L[e.charCodeAt(t)]<<18|L[e.charCodeAt(t+1)]<<12|L[e.charCodeAt(t+2)]<<6|L[e.charCodeAt(t+3)],a[l++]=i>>16&255,a[l++]=i>>8&255,a[l++]=255&i;return 2===o?(i=L[e.charCodeAt(t)]<<2|L[e.charCodeAt(t+1)]>>4,a[l++]=255&i):1===o&&(i=L[e.charCodeAt(t)]<<10|L[e.charCodeAt(t+1)]<<4|L[e.charCodeAt(t+2)]>>2,a[l++]=i>>8&255,a[l++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Ne,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Oe(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Re(e){return null!=e&&(!!e._isBuffer||De(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&De(e.slice(0,0))}(e))}function De(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Me=Object.freeze({__proto__:null,Buffer:$,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return+e!=e&&(e=0),$.alloc(+e)},isBuffer:Re,kMaxLength:V}),Le={};function Pe(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}var Be=Pe,je=Ie;function qe(e){if(Be===setTimeout)return setTimeout(e,0);if((Be===Pe||!Be)&&setTimeout)return Be=setTimeout,setTimeout(e,0);try{return Be(e,0)}catch(t){try{return Be.call(null,e,0)}catch(t){return Be.call(this,e,0)}}}"function"==typeof D.setTimeout&&(Be=setTimeout),"function"==typeof D.clearTimeout&&(je=clearTimeout);var Fe,Ue=[],ze=!1,We=-1;function He(){ze&&Fe&&(ze=!1,Fe.length?Ue=Fe.concat(Ue):We=-1,Ue.length&&Ve())}function Ve(){if(!ze){var e=qe(He);ze=!0;for(var t=Ue.length;t;){for(Fe=Ue,Ue=[];++We<t;)Fe&&Fe[We].run();We=-1,t=Ue.length}Fe=null,ze=!1,function(e){if(je===clearTimeout)return clearTimeout(e);if((je===Ie||!je)&&clearTimeout)return je=clearTimeout,clearTimeout(e);try{return je(e)}catch(t){try{return je.call(null,e)}catch(t){return je.call(this,e)}}}(e)}}function Ge(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Ue.push(new Ye(e,t)),1!==Ue.length||ze||qe(Ve)}function Ye(e,t){this.fun=e,this.array=t}Ye.prototype.run=function(){this.fun.apply(null,this.array)};function $e(){}var Xe=$e,Ze=$e,Je=$e,Ke=$e,Qe=$e,et=$e,tt=$e;var rt=D.performance||{},nt=rt.now||rt.mozNow||rt.msNow||rt.oNow||rt.webkitNow||function(){return(new Date).getTime()};var it=new Date;var ot={nextTick:Ge,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Xe,addListener:Ze,once:Je,off:Ke,removeListener:Qe,removeAllListeners:et,emit:tt,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*nt.call(rt),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-it)/1e3}},at={},st={get exports(){return at},set exports(e){at=e}};function lt(){}function ut(){ut.init.call(this)}function ct(e){return void 0===e._maxListeners?ut.defaultMaxListeners:e._maxListeners}function ht(e,t,r,n){var i,o,a,s;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((o=e._events)?(o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]):(o=e._events=new lt,e._eventsCount=0),a){if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),!a.warned&&(i=ct(e))&&i>0&&a.length>i){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,"function"==typeof console.warn?console.warn(s):console.log(s)}}else a=o[t]=r,++e._eventsCount;return e}function ft(e,t,r){var n=!1;function i(){e.removeListener(t,i),n||(n=!0,r.apply(e,arguments))}return i.listener=r,i}function dt(e){var t=this._events;if(t){var r=t[e];if("function"==typeof r)return 1;if(r)return r.length}return 0}function pt(e,t){for(var r=new Array(t);t--;)r[t]=e[t];return r}lt.prototype=Object.create(null),ut.EventEmitter=ut,ut.usingDomains=!1,ut.prototype.domain=void 0,ut.prototype._events=void 0,ut.prototype._maxListeners=void 0,ut.defaultMaxListeners=10,ut.init=function(){this.domain=null,ut.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new lt,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ut.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},ut.prototype.getMaxListeners=function(){return ct(this)},ut.prototype.emit=function(e){var t,r,n,i,o,a,s,l="error"===e;if(a=this._events)l=l&&null==a.error;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],!s){if(t instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(r=a[e]))return!1;var c="function"==typeof r;switch(n=arguments.length){case 1:!function(e,t,r){if(t)e.call(r);else for(var n=e.length,i=pt(e,n),o=0;o<n;++o)i[o].call(r)}(r,c,this);break;case 2:!function(e,t,r,n){if(t)e.call(r,n);else for(var i=e.length,o=pt(e,i),a=0;a<i;++a)o[a].call(r,n)}(r,c,this,arguments[1]);break;case 3:!function(e,t,r,n,i){if(t)e.call(r,n,i);else for(var o=e.length,a=pt(e,o),s=0;s<o;++s)a[s].call(r,n,i)}(r,c,this,arguments[1],arguments[2]);break;case 4:!function(e,t,r,n,i,o){if(t)e.call(r,n,i,o);else for(var a=e.length,s=pt(e,a),l=0;l<a;++l)s[l].call(r,n,i,o)}(r,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(n-1),o=1;o<n;o++)i[o-1]=arguments[o];!function(e,t,r,n){if(t)e.apply(r,n);else for(var i=e.length,o=pt(e,i),a=0;a<i;++a)o[a].apply(r,n)}(r,c,this,i)}return!0},ut.prototype.addListener=function(e,t){return ht(this,e,t,!1)},ut.prototype.on=ut.prototype.addListener,ut.prototype.prependListener=function(e,t){return ht(this,e,t,!0)},ut.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,ft(this,e,t)),this},ut.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,ft(this,e,t)),this},ut.prototype.removeListener=function(e,t){var r,n,i,o,a;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[e]))return this;if(r===t||r.listener&&r.listener===t)0===--this._eventsCount?this._events=new lt:(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length;o-- >0;)if(r[o]===t||r[o].listener&&r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;if(1===r.length){if(r[0]=void 0,0===--this._eventsCount)return this._events=new lt,this;delete n[e]}else!function(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}(r,i);n.removeListener&&this.emit("removeListener",e,a||t)}return this},ut.prototype.removeAllListeners=function(e){var t,r;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=new lt,this._eventsCount=0):r[e]&&(0===--this._eventsCount?this._events=new lt:delete r[e]),this;if(0===arguments.length){for(var n,i=Object.keys(r),o=0;o<i.length;++o)"removeListener"!==(n=i[o])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=new lt,this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(t)do{this.removeListener(e,t[t.length-1])}while(t[0]);return this},ut.prototype.listeners=function(e){var t,r,n=this._events;return r=n&&(t=n[e])?"function"==typeof t?[t.listener||t]:function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(t):[],r},ut.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):dt.call(e,t)},ut.prototype.listenerCount=dt,ut.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var mt=Object.freeze({__proto__:null,EventEmitter:ut,default:ut}),gt="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},vt=/%[sdj%]/g;function bt(e){if(!Lt(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Et(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(e).replace(vt,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),a=n[r];r<i;a=n[++r])Rt(a)||!jt(a)?o+=" "+a:o+=" "+Et(a);return o}function wt(e,t){if(It(D.process))return function(){return wt(e,t).apply(this,arguments)};if(!0===ot.noDeprecation)return e;var r=!1;return function(){if(!r){if(ot.throwDeprecation)throw new Error(t);ot.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}}var yt,xt={};function _t(e){if(It(yt)&&(yt=ot.env.NODE_DEBUG||""),e=e.toUpperCase(),!xt[e])if(new RegExp("\\b"+e+"\\b","i").test(yt)){xt[e]=function(){var t=bt.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else xt[e]=function(){};return xt[e]}function Et(e,t){var r={seen:[],stylize:St};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Ot(t)?r.showHidden=t:t&&$t(r,t),It(r.showHidden)&&(r.showHidden=!1),It(r.depth)&&(r.depth=2),It(r.colors)&&(r.colors=!1),It(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=At),Nt(r,e,r.depth)}function At(e,t){var r=Et.styles[t];return r?"["+Et.colors[r][0]+"m"+e+"["+Et.colors[r][1]+"m":e}function St(e,t){return e}function Nt(e,t,r){if(e.customInspect&&t&&Ut(t.inspect)&&t.inspect!==Et&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return Lt(n)||(n=Nt(e,n,r)),n}var i=function(e,t){if(It(t))return e.stylize("undefined","undefined");if(Lt(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(Mt(t))return e.stylize(""+t,"number");if(Ot(t))return e.stylize(""+t,"boolean");if(Rt(t))return e.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),a=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),Ft(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Ct(t);if(0===o.length){if(Ut(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Bt(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(qt(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Ft(t))return Ct(t)}var l,u="",c=!1,h=["{","}"];(kt(t)&&(c=!0,h=["[","]"]),Ut(t))&&(u=" [Function"+(t.name?": "+t.name:"")+"]");return Bt(t)&&(u=" "+RegExp.prototype.toString.call(t)),qt(t)&&(u=" "+Date.prototype.toUTCString.call(t)),Ft(t)&&(u=" "+Ct(t)),0!==o.length||c&&0!=t.length?r<0?Bt(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=c?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)Xt(t,String(a))?o.push(Tt(e,t,r,n,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(Tt(e,t,r,n,i,!0))}),o}(e,t,r,a,o):o.map(function(n){return Tt(e,t,r,a,n,c)}),e.seen.pop(),function(e,t,r){var n=e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(l,u,h)):h[0]+u+h[1]}function Ct(e){return"["+Error.prototype.toString.call(e)+"]"}function Tt(e,t,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),Xt(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=Rt(r)?Nt(e,l.value,null):Nt(e,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),It(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function kt(e){return Array.isArray(e)}function Ot(e){return"boolean"==typeof e}function Rt(e){return null===e}function Dt(e){return null==e}function Mt(e){return"number"==typeof e}function Lt(e){return"string"==typeof e}function Pt(e){return"symbol"==typeof e}function It(e){return void 0===e}function Bt(e){return jt(e)&&"[object RegExp]"===Ht(e)}function jt(e){return"object"==typeof e&&null!==e}function qt(e){return jt(e)&&"[object Date]"===Ht(e)}function Ft(e){return jt(e)&&("[object Error]"===Ht(e)||e instanceof Error)}function Ut(e){return"function"==typeof e}function zt(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Wt(e){return Re(e)}function Ht(e){return Object.prototype.toString.call(e)}function Vt(e){return e<10?"0"+e.toString(10):e.toString(10)}Et.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Et.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Gt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Yt(){var e,t;console.log("%s - %s",(e=new Date,t=[Vt(e.getHours()),Vt(e.getMinutes()),Vt(e.getSeconds())].join(":"),[e.getDate(),Gt[e.getMonth()],t].join(" ")),bt.apply(null,arguments))}function $t(e,t){if(!t||!jt(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}function Xt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Zt={inherits:gt,_extend:$t,log:Yt,isBuffer:Wt,isPrimitive:zt,isFunction:Ut,isError:Ft,isDate:qt,isObject:jt,isRegExp:Bt,isUndefined:It,isSymbol:Pt,isString:Lt,isNumber:Mt,isNullOrUndefined:Dt,isNull:Rt,isBoolean:Ot,isArray:kt,inspect:Et,deprecate:wt,format:bt,debuglog:_t},Jt=Object.freeze({__proto__:null,_extend:$t,debuglog:_t,default:Zt,deprecate:wt,format:bt,inherits:gt,inspect:Et,isArray:kt,isBoolean:Ot,isBuffer:Wt,isDate:qt,isError:Ft,isFunction:Ut,isNull:Rt,isNullOrUndefined:Dt,isNumber:Mt,isObject:jt,isPrimitive:zt,isRegExp:Bt,isString:Lt,isSymbol:Pt,isUndefined:It,log:Yt});function Kt(){this.head=null,this.tail=null,this.length=0}Kt.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},Kt.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},Kt.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},Kt.prototype.clear=function(){this.head=this.tail=null,this.length=0},Kt.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},Kt.prototype.concat=function(e){if(0===this.length)return $.alloc(0);if(1===this.length)return this.head.data;for(var t=$.allocUnsafe(e>>>0),r=this.head,n=0;r;)r.data.copy(t,n),n+=r.data.length,r=r.next;return t};var Qt=$.isEncoding||function(e){switch(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 er(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!Qt(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=rr;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=nr;break;default:return void(this.write=tr)}this.charBuffer=new $(6),this.charReceived=0,this.charLength=0}function tr(e){return e.toString(this.encoding)}function rr(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function nr(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}er.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";if(e=e.slice(r,e.length),!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var n=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,n),n-=this.charReceived);var i;n=(t+=e.toString(this.encoding,0,n)).length-1;if((i=t.charCodeAt(n))>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,n)}return t},er.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},er.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t},ar.ReadableState=or;var ir=_t("stream");function or(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Lr&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.buffer=new Kt,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new er(e.encoding),this.encoding=e.encoding)}function ar(e){if(!(this instanceof ar))return new ar(e);this._readableState=new or(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),ut.call(this)}function sr(e,t,r,n,i){var o=function(e,t){var r=null;Re(t)||"string"==typeof t||null==t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));return r}(t,r);if(o)e.emit("error",o);else if(null===r)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,cr(e)}(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!i){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var l;!t.decoder||i||n||(r=t.decoder.write(r),l=!t.objectMode&&0===r.length),i||(t.reading=!1),l||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&cr(e))),function(e,t){t.readingMore||(t.readingMore=!0,Ge(fr,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}gt(ar,ut),ar.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding)!==r.encoding&&(e=$.from(e,t),t=""),sr(this,r,e,t,!1)},ar.prototype.unshift=function(e){return sr(this,this._readableState,e,"",!0)},ar.prototype.isPaused=function(){return!1===this._readableState.flowing},ar.prototype.setEncoding=function(e){return this._readableState.decoder=new er(e),this._readableState.encoding=e,this};var lr=8388608;function ur(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=lr?e=lr:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function cr(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(ir("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Ge(hr,e):hr(e))}function hr(e){ir("emit readable"),e.emit("readable"),mr(e)}function fr(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(ir("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function dr(e){ir("readable nexttick read 0"),e.read(0)}function pr(e,t){t.reading||(ir("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),mr(e),t.flowing&&!t.reading&&e.read(0)}function mr(e){var t=e._readableState;for(ir("flow",t.flowing);t.flowing&&null!==e.read(););}function gr(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=$.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,a),0===(e-=a)){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function vr(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Ge(br,t,e))}function br(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function wr(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function yr(){}function xr(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}function _r(e,t){Object.defineProperty(this,"buffer",{get:wt(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof Lr&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?Ge(i,n):i(n);e._writableState.errorEmitted=!0,e.emit("error",n)}(e,r,n,t,i);else{var o=Cr(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||Nr(e,r),n?Ge(Sr,e,r,o,i):Sr(e,r,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Or(this)}function Er(e){if(!(this instanceof Er||this instanceof Lr))return new Er(e);this._writableState=new _r(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),ut.call(this)}function Ar(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function Sr(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),kr(e,t)}function Nr(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var a=0;r;)i[a]=r,r=r.next,a+=1;Ar(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new Or(t)}else{for(;r;){var s=r.chunk,l=r.encoding,u=r.callback;if(Ar(e,t,!1,t.objectMode?1:s.length,s,l,u),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function Cr(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function Tr(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function kr(e,t){var r=Cr(t);return r&&(0===t.pendingcb?(Tr(e,t),t.finished=!0,e.emit("finish")):Tr(e,t)),r}function Or(e){var t=this;this.next=null,this.entry=null,this.finish=function(r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}ar.prototype.read=function(e){ir("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return ir("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?vr(this):cr(this),null;if(0===(e=ur(e,t))&&t.ended)return 0===t.length&&vr(this),null;var n,i=t.needReadable;return ir("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&ir("length less than watermark",i=!0),t.ended||t.reading?ir("reading or ended",i=!1):i&&(ir("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=ur(r,t))),null===(n=e>0?gr(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&vr(this)),null!==n&&this.emit("data",n),n},ar.prototype._read=function(e){this.emit("error",new Error("not implemented"))},ar.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,ir("pipe count=%d opts=%j",n.pipesCount,t);var i=!t||!1!==t.end?a:u;function o(e){ir("onunpipe"),e===r&&u()}function a(){ir("onend"),e.end()}n.endEmitted?Ge(i):r.once("end",i),e.on("unpipe",o);var s=function(e){return function(){var t=e._readableState;ir("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,mr(e))}}(r);e.on("drain",s);var l=!1;function u(){ir("cleanup"),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",f),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",u),r.removeListener("data",h),l=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var c=!1;function h(t){ir("ondata"),c=!1,!1!==e.write(t)||c||((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==wr(n.pipes,e))&&!l&&(ir("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,c=!0),r.pause())}function f(t){var r;ir("onerror",t),m(),e.removeListener("error",f),0===(r="error",e.listeners(r).length)&&e.emit("error",t)}function d(){e.removeListener("finish",p),m()}function p(){ir("onfinish"),e.removeListener("close",d),m()}function m(){ir("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",d),e.once("finish",p),e.emit("pipe",r),n.flowing||(ir("pipe resume"),r.resume()),e},ar.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var o=wr(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},ar.prototype.on=function(e,t){var r=ut.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&cr(this):Ge(dr,this))}return r},ar.prototype.addListener=ar.prototype.on,ar.prototype.resume=function(){var e=this._readableState;return e.flowing||(ir("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Ge(pr,e,t))}(this,e)),this},ar.prototype.pause=function(){return ir("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(ir("pause"),this._readableState.flowing=!1,this.emit("pause")),this},ar.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;for(var i in e.on("end",function(){if(ir("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){(ir("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&null==i)||(t.objectMode||i&&i.length)&&(n.push(i)||(r=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}(["error","close","destroy","pause","resume"],function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(t){ir("wrapped _read",t),r&&(r=!1,e.resume())},n},ar._fromList=gr,Er.WritableState=_r,gt(Er,ut),_r.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},Er.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Er.prototype.write=function(e,t,r){var n=this._writableState,i=!1;return"function"==typeof t&&(r=t,t=null),$.isBuffer(e)?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=yr),n.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),Ge(t,r)}(this,r):function(e,t,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):$.isBuffer(r)||"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),Ge(n,o),i=!1),i}(this,n,e,r)&&(n.pendingcb++,i=function(e,t,r,n,i){r=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=$.from(t,r));return t}(t,r,n),$.isBuffer(r)&&(n="buffer");var o=t.objectMode?1:r.length;t.length+=o;var a=t.length<t.highWaterMark;a||(t.needDrain=!0);if(t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new xr(r,n,i),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Ar(e,t,!1,o,r,n,i);return a}(this,n,e,t,r)),i},Er.prototype.cork=function(){this._writableState.corked++},Er.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||Nr(this,e))},Er.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Er.prototype._write=function(e,t,r){r(new Error("not implemented"))},Er.prototype._writev=null,Er.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,kr(e,t),r&&(t.finished?Ge(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},gt(Lr,ar);for(var Rr=Object.keys(Er.prototype),Dr=0;Dr<Rr.length;Dr++){var Mr=Rr[Dr];Lr.prototype[Mr]||(Lr.prototype[Mr]=Er.prototype[Mr])}function Lr(e){if(!(this instanceof Lr))return new Lr(e);ar.call(this,e),Er.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",Pr)}function Pr(){this.allowHalfOpen||this._writableState.ended||Ge(Ir,this)}function Ir(e){e.end()}function Br(e){this.afterTransform=function(t,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!=r&&e.push(r);i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function jr(e){if(!(this instanceof jr))return new jr(e);Lr.call(this,e),this._transformState=new Br(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e){qr(t,e)}):qr(t)})}function qr(e,t){if(t)return e.emit("error",t);var r=e._writableState,n=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(n.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}function Fr(e){if(!(this instanceof Fr))return new Fr(e);jr.call(this,e)}function Ur(){ut.call(this)}gt(jr,Lr),jr.prototype.push=function(e,t){return this._transformState.needTransform=!1,Lr.prototype.push.call(this,e,t)},jr.prototype._transform=function(e,t,r){throw new Error("Not implemented")},jr.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},jr.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},gt(Fr,jr),Fr.prototype._transform=function(e,t,r){r(null,e)},gt(Ur,ut),Ur.Readable=ar,Ur.Writable=Er,Ur.Duplex=Lr,Ur.Transform=jr,Ur.PassThrough=Fr,Ur.Stream=Ur,Ur.prototype.pipe=function(e,t){var r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",a),r.on("close",s));var o=!1;function a(){o||(o=!0,e.end())}function s(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(u(),0===ut.listenerCount(this,"error"))throw e}function u(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",a),r.removeListener("close",s),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("error",l),e.on("error",l),r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e};var zr,Wr,Hr,Vr=s(Object.freeze({__proto__:null,Duplex:Lr,PassThrough:Fr,Readable:ar,Stream:Ur,Transform:jr,Writable:Er,default:Ur})),Gr={},Yr={get exports(){return Gr},set exports(e){Gr=e}};function $r(){if(zr)return Gr;return zr=1,void 0===ot||!ot.version||0===ot.version.indexOf("v0.")||0===ot.version.indexOf("v1.")&&0!==ot.version.indexOf("v1.8.")?Yr.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,o,a=arguments.length;switch(a){case 0:case 1:return Ge(e);case 2:return Ge(function(){e.call(null,t)});case 3:return Ge(function(){e.call(null,t,r)});case 4:return Ge(function(){e.call(null,t,r,n)});default:for(i=new Array(a-1),o=0;o<i.length;)i[o++]=arguments[o];return Ge(function(){e.apply(null,i)})}}}:Yr.exports=ot,Gr}var Xr,Zr=s(mt),Jr={},Kr={get exports(){return Jr},set exports(e){Jr=e}};function Qr(){return Xr||(Xr=1,function(e){e.exports=Vr}(Kr)),Jr}var en,tn={},rn={get exports(){return tn},set exports(e){tn=e}},nn=s(Me);function on(){return en||(en=1,function(e,t){var r=nn,n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=o),i(n,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}(rn,tn)),tn}var an,sn={};function ln(){if(an)return sn;function e(e){return Object.prototype.toString.call(e)}return an=1,sn.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===e(t)},sn.isBoolean=function(e){return"boolean"==typeof e},sn.isNull=function(e){return null===e},sn.isNullOrUndefined=function(e){return null==e},sn.isNumber=function(e){return"number"==typeof e},sn.isString=function(e){return"string"==typeof e},sn.isSymbol=function(e){return"symbol"==typeof e},sn.isUndefined=function(e){return void 0===e},sn.isRegExp=function(t){return"[object RegExp]"===e(t)},sn.isObject=function(e){return"object"==typeof e&&null!==e},sn.isDate=function(t){return"[object Date]"===e(t)},sn.isError=function(t){return"[object Error]"===e(t)||t instanceof Error},sn.isFunction=function(e){return"function"==typeof e},sn.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},sn.isBuffer=nn.Buffer.isBuffer,sn}var un,cn={},hn={get exports(){return cn},set exports(e){cn=e}},dn=s(Jt),pn={},mn={get exports(){return pn},set exports(e){pn=e}};!function(e){try{var t=dn;if("function"!=typeof t.inherits)throw"";e.exports=t.inherits}catch(t){e.exports=(un||(un=1,"function"==typeof Object.create?mn.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:mn.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}),pn)}}(hn);var gn,vn,bn,wn,yn,xn,_n,En,An,Sn={},Nn={get exports(){return Sn},set exports(e){Sn=e}};function Cn(){return gn||(gn=1,function(e){var t=on().Buffer,r=dn;function n(e,t,r){e.copy(t,r)}e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return t.alloc(0);for(var r=t.allocUnsafe(e>>>0),i=this.head,o=0;i;)n(i.data,r,o),o+=i.data.length,i=i.next;return r},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})}(Nn)),Sn}function Tn(){if(bn)return vn;bn=1;var e=$r();function t(e,t){e.emit("error",t)}return vn={destroy:function(r,n){var i=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(n?n(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(t,this,r)):e.nextTick(t,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(r){!n&&r?i._writableState?i._writableState.errorEmitted||(i._writableState.errorEmitted=!0,e.nextTick(t,i,r)):e.nextTick(t,i,r):n&&n(r)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}},vn}function kn(){return yn?wn:(yn=1,wn=dn.deprecate)}function On(){if(_n)return xn;_n=1;var e=$r();function t(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}xn=p;var r,n=e.nextTick;p.WritableState=d;var i=Object.create(ln());i.inherits=cn;var o={deprecate:kn()},s=Qr(),l=on().Buffer,u=(void 0!==a?a:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var c,h=Tn();function f(){}function d(i,o){r=r||Rn(),i=i||{};var a=o instanceof r;this.objectMode=!!i.objectMode,a&&(this.objectMode=this.objectMode||!!i.writableObjectMode);var s=i.highWaterMark,l=i.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:a&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===i.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=i.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,r){var i=t._writableState,o=i.sync,a=i.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(i),r)!function(t,r,n,i,o){--r.pendingcb,n?(e.nextTick(o,i),e.nextTick(y,t,r),t._writableState.errorEmitted=!0,t.emit("error",i)):(o(i),t._writableState.errorEmitted=!0,t.emit("error",i),y(t,r))}(t,i,o,r,a);else{var s=b(i);s||i.corked||i.bufferProcessing||!i.bufferedRequest||v(t,i),o?n(g,t,i,s,a):g(t,i,s,a)}}(o,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function p(e){if(r=r||Rn(),!(c.call(p,this)||this instanceof r))return new p(e);this._writableState=new d(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function m(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function g(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),y(e,t)}function v(e,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(e._writev&&n&&n.next){var i=r.bufferedRequestCount,o=new Array(i),a=r.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,m(e,r,!0,r.length,o,"",a.finish),r.pendingcb++,r.lastBufferedRequest=null,a.next?(r.corkedRequestsFree=a.next,a.next=null):r.corkedRequestsFree=new t(r),r.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,c=n.encoding,h=n.callback;if(m(e,r,!1,r.objectMode?1:u.length,u,c,h),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function w(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),y(e,t)})}function y(t,r){var n=b(r);return n&&(!function(t,r){r.prefinished||r.finalCalled||("function"==typeof t._final?(r.pendingcb++,r.finalCalled=!0,e.nextTick(w,t,r)):(r.prefinished=!0,t.emit("prefinish")))}(t,r),0===r.pendingcb&&(r.finished=!0,t.emit("finish"))),n}return i.inherits(p,s),d.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(d.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(p,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===p&&(e&&e._writableState instanceof d)}})):c=function(e){return e instanceof this},p.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},p.prototype.write=function(t,r,n){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=t,l.isBuffer(i)||i instanceof u);return s&&!l.isBuffer(t)&&(t=function(e){return l.from(e)}(t)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=o.defaultEncoding),"function"!=typeof n&&(n=f),o.ended?function(t,r){var n=new Error("write after end");t.emit("error",n),e.nextTick(r,n)}(this,n):(s||function(t,r,n,i){var o=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||r.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),e.nextTick(i,a),o=!1),o}(this,o,t,n))&&(o.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,r));return t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else m(e,t,!1,s,n,i,o);return u}(this,o,s,t,r,n)),a},p.prototype.cork=function(){this._writableState.corked++},p.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||v(this,e))},p.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(p.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),p.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},p.prototype._writev=null,p.prototype.end=function(t,r,n){var i=this._writableState;"function"==typeof t?(n=t,t=null,r=null):"function"==typeof r&&(n=r,r=null),null!=t&&this.write(t,r),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,r,n){r.ending=!0,y(t,r),n&&(r.finished?e.nextTick(n):t.once("finish",n));r.ended=!0,t.writable=!1}(this,i,n)},Object.defineProperty(p.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),p.prototype.destroy=h.destroy,p.prototype._undestroy=h.undestroy,p.prototype._destroy=function(e,t){this.end(),t(e)},xn}function Rn(){if(An)return En;An=1;var e=$r(),t=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};En=l;var r=Object.create(ln());r.inherits=cn;var n=zn(),i=On();r.inherits(l,n);for(var o=t(i.prototype),a=0;a<o.length;a++){var s=o[a];l.prototype[s]||(l.prototype[s]=i.prototype[s])}function l(e){if(!(this instanceof l))return new l(e);n.call(this,e),i.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",u)}function u(){this.allowHalfOpen||this._writableState.ended||e.nextTick(c,this)}function c(e){e.end()}return Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),l.prototype._destroy=function(t,r){this.push(null),this.end(),e.nextTick(r,t)},En}var Dn,Mn,Ln,Pn,In,Bn,jn,qn,Fn={};function Un(){if(Dn)return Fn;Dn=1;var e=on().Buffer,t=e.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 r(r){var n;switch(this.encoding=function(r){var n=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}}(r);if("string"!=typeof n&&(e.isEncoding===t||!t(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=o,this.end=a,n=4;break;case"utf8":this.fillLast=i,n=4;break;case"base64":this.text=s,this.end=l,n=3;break;default:return this.write=u,void(this.end=c)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(n)}function n(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){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!==r?r: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 o(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function s(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?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-r))}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function u(e){return e.toString(this.encoding)}function c(e){return e&&e.length?this.write(e):""}return Fn.StringDecoder=r,r.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},r.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},r.prototype.text=function(e,t){var r=function(e,t,r){var i=t.length-1;if(i<r)return 0;var o=n(t[i]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--i<r||-2===o)return 0;if(o=n(t[i]),o>=0)return o>0&&(e.lastNeed=o-2),o;if(--i<r||-2===o)return 0;if(o=n(t[i]),o>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},r.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},Fn}function zn(){if(Ln)return Mn;Ln=1;var e=$r();Mn=g;var t,r=function(){if(Hr)return Wr;Hr=1;var e={}.toString;return Wr=Array.isArray||function(t){return"[object Array]"==e.call(t)}}();g.ReadableState=m,Zr.EventEmitter;var n=function(e,t){return e.listeners(t).length},i=Qr(),o=on().Buffer,s=(void 0!==a?a:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l=Object.create(ln());l.inherits=cn;var u=dn,c=void 0;c=u&&u.debuglog?u.debuglog("stream"):function(){};var h,f=Cn(),d=Tn();l.inherits(g,i);var p=["error","close","destroy","pause","resume"];function m(e,r){e=e||{};var n=r instanceof(t=t||Rn());this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=Un().StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function g(e){if(t=t||Rn(),!(this instanceof g))return new g(e);this._readableState=new m(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),i.call(this)}function v(e,t,r,n,i){var a,l=e._readableState;null===t?(l.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,x(e)}(e,l)):(i||(a=function(e,t){var r;n=t,o.isBuffer(n)||n instanceof s||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(l,t)),a?e.emit("error",a):l.objectMode||t&&t.length>0?("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===o.prototype||(t=function(e){return o.from(e)}(t)),n?l.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):b(e,l,t,!0):l.ended?e.emit("error",new Error("stream.push() after EOF")):(l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?b(e,l,t,!1):E(e,l)):b(e,l,t,!1))):n||(l.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(l)}function b(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&x(e)),E(e,t)}Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),g.prototype.destroy=d.destroy,g.prototype._undestroy=d.undestroy,g.prototype._destroy=function(e,t){this.push(null),t(e)},g.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=o.from(e,t),t=""),r=!0),v(this,e,t,!1,r)},g.prototype.unshift=function(e){return v(this,e,null,!0,!1)},g.prototype.isPaused=function(){return!1===this._readableState.flowing},g.prototype.setEncoding=function(e){return h||(h=Un().StringDecoder),this._readableState.decoder=new h(e),this._readableState.encoding=e,this};var w=8388608;function y(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=w?e=w:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(t){var r=t._readableState;r.needReadable=!1,r.emittedReadable||(c("emitReadable",r.flowing),r.emittedReadable=!0,r.sync?e.nextTick(_,t):_(t))}function _(e){c("emit readable"),e.emit("readable"),C(e)}function E(t,r){r.readingMore||(r.readingMore=!0,e.nextTick(A,t,r))}function A(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(c("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function S(e){c("readable nexttick read 0"),e.read(0)}function N(e,t){t.reading||(c("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),C(e),t.flowing&&!t.reading&&e.read(0)}function C(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function T(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=o.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,s),0===(e-=s)){s===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function k(t){var r=t._readableState;if(r.length>0)throw new Error('"endReadable()" called on non-empty stream');r.endEmitted||(r.ended=!0,e.nextTick(O,r,t))}function O(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}return g.prototype.read=function(e){c("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?k(this):x(this),null;if(0===(e=y(e,t))&&t.ended)return 0===t.length&&k(this),null;var n,i=t.needReadable;return c("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&c("length less than watermark",i=!0),t.ended||t.reading?c("reading or ended",i=!1):i&&(c("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=y(r,t))),null===(n=e>0?T(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&k(this)),null!==n&&this.emit("data",n),n},g.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},g.prototype.pipe=function(t,i){var o=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=t;break;case 1:a.pipes=[a.pipes,t];break;default:a.pipes.push(t)}a.pipesCount+=1,c("pipe count=%d opts=%j",a.pipesCount,i);var s=(!i||!1!==i.end)&&t!==ot.stdout&&t!==ot.stderr?u:b;function l(e,r){c("onunpipe"),e===o&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,c("cleanup"),t.removeListener("close",g),t.removeListener("finish",v),t.removeListener("drain",h),t.removeListener("error",m),t.removeListener("unpipe",l),o.removeListener("end",u),o.removeListener("end",b),o.removeListener("data",p),f=!0,!a.awaitDrain||t._writableState&&!t._writableState.needDrain||h())}function u(){c("onend"),t.end()}a.endEmitted?e.nextTick(s):o.once("end",s),t.on("unpipe",l);var h=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&n(e,"data")&&(t.flowing=!0,C(e))}}(o);t.on("drain",h);var f=!1;var d=!1;function p(e){c("ondata"),d=!1,!1!==t.write(e)||d||((1===a.pipesCount&&a.pipes===t||a.pipesCount>1&&-1!==R(a.pipes,t))&&!f&&(c("false write response, pause",a.awaitDrain),a.awaitDrain++,d=!0),o.pause())}function m(e){c("onerror",e),b(),t.removeListener("error",m),0===n(t,"error")&&t.emit("error",e)}function g(){t.removeListener("finish",v),b()}function v(){c("onfinish"),t.removeListener("close",g),b()}function b(){c("unpipe"),o.unpipe(t)}return o.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?r(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(t,"error",m),t.once("close",g),t.once("finish",v),t.emit("pipe",o),a.flowing||(c("pipe resume"),o.resume()),t},g.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=R(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},g.prototype.on=function(t,r){var n=i.prototype.on.call(this,t,r);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var o=this._readableState;o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.emittedReadable=!1,o.reading?o.length&&x(this):e.nextTick(S,this))}return n},g.prototype.addListener=g.prototype.on,g.prototype.resume=function(){var t=this._readableState;return t.flowing||(c("resume"),t.flowing=!0,function(t,r){r.resumeScheduled||(r.resumeScheduled=!0,e.nextTick(N,t,r))}(this,t)),this},g.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this},g.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(c("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(c("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<p.length;o++)e.on(p[o],this.emit.bind(this,p[o]));return this._read=function(t){c("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(g.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),g._fromList=T,Mn}function Wn(){if(In)return Pn;In=1,Pn=n;var e=Rn(),t=Object.create(ln());function r(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function n(t){if(!(this instanceof n))return new n(t);e.call(this,t),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",i)}function i(){var e=this;"function"==typeof this._flush?this._flush(function(t,r){o(e,t,r)}):o(this,null,null)}function o(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}return t.inherits=cn,t.inherits(n,e),n.prototype.push=function(t,r){return this._transformState.needTransform=!1,e.prototype.push.call(this,t,r)},n.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},n.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},n.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},n.prototype._destroy=function(t,r){var n=this;e.prototype._destroy.call(this,t,function(e){r(e),n.emit("close")})},Pn}function Hn(){return qn||(qn=1,function(e,t){var r=Vr;"disable"===ot.env.READABLE_STREAM&&r?(e.exports=r,(t=e.exports=r.Readable).Readable=r.Readable,t.Writable=r.Writable,t.Duplex=r.Duplex,t.Transform=r.Transform,t.PassThrough=r.PassThrough,t.Stream=r):((t=e.exports=zn()).Stream=r||t,t.Readable=t,t.Writable=On(),t.Duplex=Rn(),t.Transform=Wn(),t.PassThrough=function(){if(jn)return Bn;jn=1,Bn=r;var e=Wn(),t=Object.create(ln());function r(t){if(!(this instanceof r))return new r(t);e.call(this,t)}return t.inherits=cn,t.inherits(r,e),r.prototype._transform=function(e,t,r){r(null,e)},Bn}())}(st,at)),at}if(Le.base64=!0,Le.array=!0,Le.string=!0,Le.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,Le.nodebuffer=void 0!==$,Le.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)Le.blob=!1;else{var Vn=new ArrayBuffer(0);try{Le.blob=0===new Blob([Vn],{type:"application/zip"}).size}catch(e){try{var Gn=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Gn.append(Vn),Le.blob=0===Gn.getBlob("application/zip").size}catch(e){Le.blob=!1}}}try{Le.nodestream=!!Hn().Readable}catch(e){Le.nodestream=!1}var Yn,$n={};function Xn(){if(Yn)return $n;Yn=1;var e=ii(),t=Le,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return $n.encode=function(t){for(var n,i,o,a,s,l,u,c=[],h=0,f=t.length,d=f,p="string"!==e.getTypeOf(t);h<t.length;)d=f-h,p?(n=t[h++],i=h<f?t[h++]:0,o=h<f?t[h++]:0):(n=t.charCodeAt(h++),i=h<f?t.charCodeAt(h++):0,o=h<f?t.charCodeAt(h++):0),a=n>>2,s=(3&n)<<4|i>>4,l=d>1?(15&i)<<2|o>>6:64,u=d>2?63&o:64,c.push(r.charAt(a)+r.charAt(s)+r.charAt(l)+r.charAt(u));return c.join("")},$n.decode=function(e){var n,i,o,a,s,l,u=0,c=0,h="data:";if(e.substr(0,5)===h)throw new Error("Invalid base64 input, it looks like a data url.");var f,d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===r.charAt(64)&&d--,e.charAt(e.length-2)===r.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=t.uint8array?new Uint8Array(0|d):new Array(0|d);u<e.length;)n=r.indexOf(e.charAt(u++))<<2|(a=r.indexOf(e.charAt(u++)))>>4,i=(15&a)<<4|(s=r.indexOf(e.charAt(u++)))>>2,o=(3&s)<<6|(l=r.indexOf(e.charAt(u++))),f[c++]=n,64!==s&&(f[c++]=i),64!==l&&(f[c++]=o);return f},$n}var Zn,Jn,Kn,Qn,ei={isNode:void 0!==$,newBufferFrom:function(e,t){if($.from&&$.from!==Uint8Array.from)return $.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new $(e,t)},allocBuffer:function(e){if($.alloc)return $.alloc(e);var t=new $(e);return t.fill(0),t},isBuffer:function(e){return Re(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}};var ti=null;ti="undefined"!=typeof Promise?Promise:function(){if(Qn)return Kn;Qn=1;var e=function(){if(Jn)return Zn;Jn=1;var e,t,r=a.MutationObserver||a.WebKitMutationObserver;if(r){var n=0,i=new r(u),o=a.document.createTextNode("");i.observe(o,{characterData:!0}),e=function(){o.data=n=++n%2}}else if(a.setImmediate||void 0===a.MessageChannel)e="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var e=a.document.createElement("script");e.onreadystatechange=function(){u(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},a.document.documentElement.appendChild(e)}:function(){setTimeout(u,0)};else{var s=new a.MessageChannel;s.port1.onmessage=u,e=function(){s.port2.postMessage(0)}}var l=[];function u(){var e,r;t=!0;for(var n=l.length;n;){for(r=l,l=[],e=-1;++e<n;)r[e]();n=l.length}t=!1}return Zn=function(r){1!==l.push(r)||t||e()}}();function t(){}var r={},n=["REJECTED"],i=["FULFILLED"],o=["PENDING"];function s(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=o,this.queue=[],this.outcome=void 0,e!==t&&h(this,e)}function l(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function u(t,n,i){e(function(){var e;try{e=n(i)}catch(e){return r.reject(t,e)}e===t?r.reject(t,new TypeError("Cannot resolve promise with itself")):r.resolve(t,e)})}function c(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function h(e,t){var n=!1;function i(t){n||(n=!0,r.reject(e,t))}function o(t){n||(n=!0,r.resolve(e,t))}var a=f(function(){t(o,i)});"error"===a.status&&i(a.value)}function f(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}return Kn=s,s.prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})},s.prototype.catch=function(e){return this.then(null,e)},s.prototype.then=function(e,r){if("function"!=typeof e&&this.state===i||"function"!=typeof r&&this.state===n)return this;var a=new this.constructor(t);return this.state!==o?u(a,this.state===i?e:r,this.outcome):this.queue.push(new l(a,e,r)),a},l.prototype.callFulfilled=function(e){r.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){u(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){r.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){u(this.promise,this.onRejected,e)},r.resolve=function(e,t){var n=f(c,t);if("error"===n.status)return r.reject(e,n.value);var o=n.value;if(o)h(e,o);else{e.state=i,e.outcome=t;for(var a=-1,s=e.queue.length;++a<s;)e.queue[a].callFulfilled(t)}return e},r.reject=function(e,t){e.state=n,e.outcome=t;for(var r=-1,i=e.queue.length;++r<i;)e.queue[r].callRejected(t);return e},s.resolve=function(e){return e instanceof this?e:r.resolve(new this(t),e)},s.reject=function(e){var n=new this(t);return r.reject(n,e)},s.all=function(e){var n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var i=e.length,o=!1;if(!i)return this.resolve([]);for(var a=new Array(i),s=0,l=-1,u=new this(t);++l<i;)c(e[l],l);return u;function c(e,t){n.resolve(e).then(function(e){a[t]=e,++s!==i||o||(o=!0,r.resolve(u,a))},function(e){o||(o=!0,r.reject(u,e))})}},s.race=function(e){var n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var i=e.length,o=!1;if(!i)return this.resolve([]);for(var a=-1,s=new this(t);++a<i;)l(e[a]);return s;function l(e){n.resolve(e).then(function(e){o||(o=!0,r.resolve(s,e))},function(e){o||(o=!0,r.reject(s,e))})}},Kn}();var ri,ni={Promise:ti};function ii(){return ri||(ri=1,function(e){var t=Le,r=Xn(),n=ei,i=ni;function o(e){return e}function a(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e.newBlob=function(t,r){e.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var s={stringifyByChunk:function(e,t,r){var n=[],i=0,o=e.length;if(o<=r)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,o)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,o)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return t.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return t.nodebuffer&&1===String.fromCharCode.apply(null,n.allocBuffer(1)).length}catch(e){return!1}}()}};function l(t){var r=65536,n=e.getTypeOf(t),i=!0;if("uint8array"===n?i=s.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=s.applyCanBeUsed.nodebuffer),i)for(;r>1;)try{return s.stringifyByChunk(t,n,r)}catch(e){r=Math.floor(r/2)}return s.stringifyByChar(t)}function u(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}e.applyFromCharCode=l;var c={};c.string={string:o,array:function(e){return a(e,new Array(e.length))},arraybuffer:function(e){return c.string.uint8array(e).buffer},uint8array:function(e){return a(e,new Uint8Array(e.length))},nodebuffer:function(e){return a(e,n.allocBuffer(e.length))}},c.array={string:l,array:o,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(e)}},c.arraybuffer={string:function(e){return l(new Uint8Array(e))},array:function(e){return u(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:o,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(new Uint8Array(e))}},c.uint8array={string:l,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:o,nodebuffer:function(e){return n.newBufferFrom(e)}},c.nodebuffer={string:l,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return c.nodebuffer.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:o},e.transformTo=function(t,r){if(r||(r=""),!t)return r;e.checkSupport(t);var n=e.getTypeOf(r);return c[n][t](r)},e.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},e.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":t.nodebuffer&&n.isBuffer(e)?"nodebuffer":t.uint8array&&e instanceof Uint8Array?"uint8array":t.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},e.checkSupport=function(e){if(!t[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},e.delay=function(e,t,r){setImmediate(function(){e.apply(r||null,t||[])})},e.inherits=function(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r},e.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},e.prepareContent=function(n,o,s,l,u){return i.Promise.resolve(o).then(function(e){return t.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new i.Promise(function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)}):e}).then(function(o){var c,h=e.getTypeOf(o);return h?("arraybuffer"===h?o=e.transformTo("uint8array",o):"string"===h&&(u?o=r.decode(o):s&&!0!==l&&(o=a(c=o,t.uint8array?new Uint8Array(c.length):new Array(c.length)))),o):i.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}}(R)),R}function oi(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}!function(e){if(!e.setImmediate){var t,r,n,i,o,a=1,s={},l=!1,u=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?t=function(e){Ge(function(){f(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){f(e.data)},t=function(e){n.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,t=function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):t=function(e){setTimeout(f,0,e)}:(i="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&f(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),t=function(t){e.postMessage(i+t,"*")}),c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];var i={callback:e,args:r};return s[a]=i,t(a),a++},c.clearImmediate=h}function h(e){delete s[e]}function f(e){if(l)setTimeout(f,0,e);else{var t=s[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{h(e),l=!1}}}}}("undefined"==typeof self?a:self),oi.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};var ai=oi;!function(e){for(var t=ii(),r=Le,n=ei,i=ai,o=new Array(256),a=0;a<256;a++)o[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;o[254]=o[254]=1;function s(){i.call(this,"utf-8 decode"),this.leftOver=null}function l(){i.call(this,"utf-8 encode")}e.utf8encode=function(e){return r.nodebuffer?n.newBufferFrom(e,"utf-8"):function(e){var t,n,i,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=r.uint8array?new Uint8Array(l):new Array(l),a=0,o=0;a<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t}(e)},e.utf8decode=function(e){return r.nodebuffer?t.transformTo("nodebuffer",e).toString("utf-8"):function(e){var r,n,i,a,s=e.length,l=new Array(2*s);for(n=0,r=0;r<s;)if((i=e[r++])<128)l[n++]=i;else if((a=o[i])>4)l[n++]=65533,r+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&r<s;)i=i<<6|63&e[r++],a--;a>1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),t.applyFromCharCode(l)}(e=t.transformTo(r.uint8array?"uint8array":"array",e))},t.inherits(s,i),s.prototype.processChunk=function(n){var i=t.transformTo(r.uint8array?"uint8array":"array",n.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var a=i;(i=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),i.set(a,this.leftOver.length)}else i=this.leftOver.concat(i);this.leftOver=null}var s=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}(i),l=i;s!==i.length&&(r.uint8array?(l=i.subarray(0,s),this.leftOver=i.subarray(s,i.length)):(l=i.slice(0,s),this.leftOver=i.slice(s,i.length))),this.push({data:e.utf8decode(l),meta:n.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=s,t.inherits(l,i),l.prototype.processChunk=function(t){this.push({data:e.utf8encode(t.data),meta:t.meta})},e.Utf8EncodeWorker=l}(O);var si=ai,li=ii();function ui(e){si.call(this,"ConvertWorker to "+e),this.destType=e}li.inherits(ui,si),ui.prototype.processChunk=function(e){this.push({data:li.transformTo(this.destType,e.data),meta:e.meta})};var ci,hi,fi=ui;var di=ii(),pi=fi,mi=ai,gi=Xn(),vi=ni,bi=null;if(Le.nodestream)try{bi=function(){if(hi)return ci;hi=1;var e=Hn().Readable;function t(t,r,n){e.call(this,r),this._helper=t;var i=this;t.on("data",function(e,t){i.push(e)||i._helper.pause(),n&&n(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}return ii().inherits(t,e),t.prototype._read=function(){this._helper.resume()},ci=t}()}catch(e){}function wi(e,t){return new vi.Promise(function(r,n){var i=[],o=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",function(e,r){i.push(e),t&&t(r)}).on("error",function(e){i=[],n(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return di.newBlob(di.transformTo("arraybuffer",t),r);case"base64":return gi.encode(t);default:return di.transformTo(e,t)}}(a,function(e,t){var r,n=0,i=null,o=0;for(r=0;r<t.length;r++)o+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(o),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return $.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(o,i),s);r(e)}catch(e){n(e)}i=[]}).resume()})}function yi(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,di.checkSupport(n),this._worker=e.pipe(new pi(n)),e.lock()}catch(e){this._worker=new mi("error"),this._worker.error(e)}}yi.prototype={accumulate:function(e){return wi(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,function(e){t.call(r,e.data,e.meta)}):this._worker.on(e,function(){di.delay(t,arguments,r)}),this},resume:function(){return di.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(di.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new bi(this,{objectMode:"nodebuffer"!==this._outputType},e)}};var xi=yi,_i={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},Ei=ii(),Ai=ai;function Si(e){Ai.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=Ei.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}Ei.inherits(Si,Ai),Si.prototype.cleanUp=function(){Ai.prototype.cleanUp.call(this),this.data=null},Si.prototype.resume=function(){return!!Ai.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Ei.delay(this._tickAndRepeat,[],this)),!0)},Si.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Ei.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},Si.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})};var Ni=Si,Ci=ii();var Ti=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();var ki=function(e,t){return void 0!==e&&e.length?"string"!==Ci.getTypeOf(e)?function(e,t,r,n){var i=Ti,o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var i=Ti,o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0},Oi=ai,Ri=ki;function Di(){Oi.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}ii().inherits(Di,Oi),Di.prototype.processChunk=function(e){this.streamInfo.crc32=Ri(e.data,this.streamInfo.crc32||0),this.push(e)};var Mi=Di,Li=ii(),Pi=ai;function Ii(e){Pi.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}Li.inherits(Ii,Pi),Ii.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}Pi.prototype.processChunk.call(this,e)};var Bi=ni,ji=Ni,qi=Mi,Fi=Ii;function Ui(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}Ui.prototype={getContentWorker:function(){var e=new ji(Bi.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Fi("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new ji(Bi.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},Ui.createWorkerFrom=function(e,t,r){return e.pipe(new qi).pipe(new Fi("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new Fi("compressedSize")).withStreamInfo("compression",t)};var zi=Ui,Wi=xi,Hi=Ni,Vi=O,Gi=zi,Yi=ai,$i=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};$i.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new Vi.Utf8EncodeWorker)),!i&&n&&(t=t.pipe(new Vi.Utf8DecodeWorker))}catch(e){(t=new Yi("error")).error(e)}return new Wi(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof Gi&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new Vi.Utf8EncodeWorker)),Gi.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof Gi?this._data.getContentWorker():this._data instanceof Yi?this._data:new Hi(this._data)}};for(var Xi=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Zi=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Ji=0;Ji<Xi.length;Ji++)$i.prototype[Xi[Ji]]=Zi;var Ki=$i,Qi={},eo={},to={},ro={};!function(e){var t="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var i in n)r(n,i)&&(e[i]=n[i])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){var t,r,n,i,o,a;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(a=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)o=e[t],a.set(o,i),i+=o.length;return a}},i={arraySet:function(e,t,r,n,i){for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)}(ro);var no={},io={},oo={},ao=ro;function so(e){for(var t=e.length;--t>=0;)e[t]=0}var lo=256,uo=286,co=30,ho=15,fo=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],po=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],mo=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],go=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],vo=new Array(576);so(vo);var bo=new Array(60);so(bo);var wo=new Array(512);so(wo);var yo=new Array(256);so(yo);var xo=new Array(29);so(xo);var _o,Eo,Ao,So=new Array(co);function No(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function Co(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function To(e){return e<256?wo[e]:wo[256+(e>>>7)]}function ko(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Oo(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,ko(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function Ro(e,t,r){Oo(e,r[2*t],r[2*t+1])}function Do(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function Mo(e,t,r){var n,i,o=new Array(16),a=0;for(n=1;n<=ho;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Do(o[s]++,s))}}function Lo(e){var t;for(t=0;t<uo;t++)e.dyn_ltree[2*t]=0;for(t=0;t<co;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Po(e){e.bi_valid>8?ko(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Io(e,t,r,n){var i=2*t,o=2*r;return e[i]<e[o]||e[i]===e[o]&&n[t]<=n[r]}function Bo(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&Io(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Io(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function jo(e,t,r){var n,i,o,a,s=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?Ro(e,i,t):(Ro(e,(o=yo[i])+lo+1,t),0!==(a=fo[o])&&Oo(e,i-=xo[o],a),Ro(e,o=To(--n),r),0!==(a=po[o])&&Oo(e,n-=So[o],a))}while(s<e.last_lit);Ro(e,256,t)}function qo(e,t){var r,n,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<l;r++)0!==o[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):o[2*r+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;r>=1;r--)Bo(e,o,r);i=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Bo(e,o,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,o[2*i]=o[2*r]+o[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,o[2*r+1]=o[2*n+1]=i,e.heap[1]=i++,Bo(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,o,a,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,h=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(o=0;o<=ho;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(o=l[2*l[2*(n=e.heap[r])+1]+1]+1)>p&&(o=p,m++),l[2*n+1]=o,n>u||(e.bl_count[o]++,a=0,n>=d&&(a=f[n-d]),s=l[2*n],e.opt_len+=s*(o+a),h&&(e.static_len+=s*(c[2*n+1]+a)));if(0!==m){do{for(o=p-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(o=p;0!==o;o--)for(n=e.bl_count[o];0!==n;)(i=e.heap[--r])>u||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),n--)}}(e,t),Mo(o,u,e.bl_count)}function Fo(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=t[2*(n+1)+1],++s<l&&i===a||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4))}function Uo(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),n=0;n<=r;n++)if(i=a,a=t[2*(n+1)+1],!(++s<l&&i===a)){if(s<u)do{Ro(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==o&&(Ro(e,i,e.bl_tree),s--),Ro(e,16,e.bl_tree),Oo(e,s-3,2)):s<=10?(Ro(e,17,e.bl_tree),Oo(e,s-3,3)):(Ro(e,18,e.bl_tree),Oo(e,s-11,7));s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4)}}so(So);var zo=!1;function Wo(e,t,r,n){Oo(e,0+(n?1:0),3),function(e,t,r,n){Po(e),n&&(ko(e,r),ko(e,~r)),ao.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}oo._tr_init=function(e){zo||(!function(){var e,t,r,n,i,o=new Array(16);for(r=0,n=0;n<28;n++)for(xo[n]=r,e=0;e<1<<fo[n];e++)yo[r++]=n;for(yo[r-1]=n,i=0,n=0;n<16;n++)for(So[n]=i,e=0;e<1<<po[n];e++)wo[i++]=n;for(i>>=7;n<co;n++)for(So[n]=i<<7,e=0;e<1<<po[n]-7;e++)wo[256+i++]=n;for(t=0;t<=ho;t++)o[t]=0;for(e=0;e<=143;)vo[2*e+1]=8,e++,o[8]++;for(;e<=255;)vo[2*e+1]=9,e++,o[9]++;for(;e<=279;)vo[2*e+1]=7,e++,o[7]++;for(;e<=287;)vo[2*e+1]=8,e++,o[8]++;for(Mo(vo,287,o),e=0;e<co;e++)bo[2*e+1]=5,bo[2*e]=Do(e,5);_o=new No(vo,fo,257,uo,ho),Eo=new No(bo,po,0,co,ho),Ao=new No(new Array(0),mo,0,19,7)}(),zo=!0),e.l_desc=new Co(e.dyn_ltree,_o),e.d_desc=new Co(e.dyn_dtree,Eo),e.bl_desc=new Co(e.bl_tree,Ao),e.bi_buf=0,e.bi_valid=0,Lo(e)},oo._tr_stored_block=Wo,oo._tr_flush_block=function(e,t,r,n){var i,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<lo;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),qo(e,e.l_desc),qo(e,e.d_desc),a=function(e){var t;for(Fo(e,e.dyn_ltree,e.l_desc.max_code),Fo(e,e.dyn_dtree,e.d_desc.max_code),qo(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*go[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?Wo(e,t,r,n):4===e.strategy||o===i?(Oo(e,2+(n?1:0),3),jo(e,vo,bo)):(Oo(e,4+(n?1:0),3),function(e,t,r,n){var i;for(Oo(e,t-257,5),Oo(e,r-1,5),Oo(e,n-4,4),i=0;i<n;i++)Oo(e,e.bl_tree[2*go[i]+1],3);Uo(e,e.dyn_ltree,t-1),Uo(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),jo(e,e.dyn_ltree,e.dyn_dtree)),Lo(e),n&&Po(e)},oo._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(yo[r]+lo+1)]++,e.dyn_dtree[2*To(t)]++),e.last_lit===e.lit_bufsize-1},oo._tr_align=function(e){Oo(e,2,3),Ro(e,256,vo),function(e){16===e.bi_valid?(ko(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)};var Ho=function(e,t,r,n){for(var i=65535&e,o=e>>>16&65535,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{o=o+(i=i+t[n++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16};var Vo=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();var Go,Yo=function(e,t,r,n){var i=Vo,o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},$o={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Xo=ro,Zo=oo,Jo=Ho,Ko=Yo,Qo=$o,ea=-2,ta=258,ra=262,na=103,ia=113,oa=666;function aa(e,t){return e.msg=Qo[t],t}function sa(e){return(e<<1)-(e>4?9:0)}function la(e){for(var t=e.length;--t>=0;)e[t]=0}function ua(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(Xo.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function ca(e,t){Zo._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ua(e.strm)}function ha(e,t){e.pending_buf[e.pending++]=t}function fa(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function da(e,t,r,n){var i=e.avail_in;return i>n&&(i=n),0===i?0:(e.avail_in-=i,Xo.arraySet(t,e.input,e.next_in,i,r),1===e.state.wrap?e.adler=Jo(e.adler,t,i,r):2===e.state.wrap&&(e.adler=Ko(e.adler,t,i,r)),e.next_in+=i,e.total_in+=i,i)}function pa(e,t){var r,n,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-ra?e.strstart-(e.w_size-ra):0,u=e.window,c=e.w_mask,h=e.prev,f=e.strstart+ta,d=u[o+a-1],p=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(r=t)+a]===p&&u[r+a-1]===d&&u[r]===u[o]&&u[++r]===u[o+1]){o+=2,r++;do{}while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&o<f);if(n=ta-(f-o),o=f-ta,n>a){if(e.match_start=t,a=n,n>=s)break;d=u[o+a-1],p=u[o+a]}}}while((t=h[t&c])>l&&0!==--i);return a<=e.lookahead?a:e.lookahead}function ma(e){var t,r,n,i,o,a=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-ra)){Xo.arraySet(e.window,e.window,a,a,0),e.match_start-=a,e.strstart-=a,e.block_start-=a,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=a?n-a:0}while(--r);t=r=a;do{n=e.prev[--t],e.prev[t]=n>=a?n-a:0}while(--r);i+=a}if(0===e.strm.avail_in)break;if(r=da(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=r,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+3-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<ra&&0!==e.strm.avail_in)}function ga(e,t){for(var r,n;;){if(e.lookahead<ra){if(ma(e),e.lookahead<ra&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-ra&&(e.match_length=pa(e,r)),e.match_length>=3)if(n=Zo._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=Zo._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(ca(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(ca(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(ca(e,!1),0===e.strm.avail_out)?1:2}function va(e,t){for(var r,n,i;;){if(e.lookahead<ra){if(ma(e),e.lookahead<ra&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-ra&&(e.match_length=pa(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=Zo._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(ca(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=Zo._tr_tally(e,0,e.window[e.strstart-1]))&&ca(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=Zo._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(ca(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(ca(e,!1),0===e.strm.avail_out)?1:2}function ba(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function wa(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Xo.Buf16(1146),this.dyn_dtree=new Xo.Buf16(122),this.bl_tree=new Xo.Buf16(78),la(this.dyn_ltree),la(this.dyn_dtree),la(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Xo.Buf16(16),this.heap=new Xo.Buf16(573),la(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Xo.Buf16(573),la(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ya(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:ia,e.adler=2===t.wrap?0:1,t.last_flush=0,Zo._tr_init(t),0):aa(e,ea)}function xa(e){var t,r=ya(e);return 0===r&&((t=e.state).window_size=2*t.w_size,la(t.head),t.max_lazy_match=Go[t.level].max_lazy,t.good_match=Go[t.level].good_length,t.nice_match=Go[t.level].nice_length,t.max_chain_length=Go[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),r}function _a(e,t,r,n,i,o){if(!e)return ea;var a=1;if(-1===t&&(t=6),n<0?(a=0,n=-n):n>15&&(a=2,n-=16),i<1||i>9||8!==r||n<8||n>15||t<0||t>9||o<0||o>4)return aa(e,ea);8===n&&(n=9);var s=new wa;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Xo.Buf8(2*s.w_size),s.head=new Xo.Buf16(s.hash_size),s.prev=new Xo.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Xo.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=r,xa(e)}Go=[new ba(0,0,0,0,function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ma(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,ca(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-ra&&(ca(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(ca(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(ca(e,!1),e.strm.avail_out),1)}),new ba(4,4,8,4,ga),new ba(4,5,16,8,ga),new ba(4,6,32,32,ga),new ba(4,4,16,16,va),new ba(8,16,32,32,va),new ba(8,16,128,128,va),new ba(8,32,128,256,va),new ba(32,128,258,1024,va),new ba(32,258,258,4096,va)],io.deflateInit=function(e,t){return _a(e,t,8,15,8,0)},io.deflateInit2=_a,io.deflateReset=xa,io.deflateResetKeep=ya,io.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?ea:(e.state.gzhead=t,0):ea},io.deflate=function(e,t){var r,n,i,o;if(!e||!e.state||t>5||t<0)return e?aa(e,ea):ea;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||n.status===oa&&4!==t)return aa(e,0===e.avail_out?-5:ea);if(n.strm=e,r=n.last_flush,n.last_flush=t,42===n.status)if(2===n.wrap)e.adler=0,ha(n,31),ha(n,139),ha(n,8),n.gzhead?(ha(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),ha(n,255&n.gzhead.time),ha(n,n.gzhead.time>>8&255),ha(n,n.gzhead.time>>16&255),ha(n,n.gzhead.time>>24&255),ha(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),ha(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(ha(n,255&n.gzhead.extra.length),ha(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Ko(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(ha(n,0),ha(n,0),ha(n,0),ha(n,0),ha(n,0),ha(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),ha(n,3),n.status=ia);else{var a=8+(n.w_bits-8<<4)<<8;a|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(a|=32),a+=31-a%31,n.status=ia,fa(n,a),0!==n.strstart&&(fa(n,e.adler>>>16),fa(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=Ko(e.adler,n.pending_buf,n.pending-i,i)),ua(e),i=n.pending,n.pending!==n.pending_buf_size));)ha(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=Ko(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Ko(e.adler,n.pending_buf,n.pending-i,i)),ua(e),i=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,ha(n,o)}while(0!==o);n.gzhead.hcrc&&n.pending>i&&(e.adler=Ko(e.adler,n.pending_buf,n.pending-i,i)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Ko(e.adler,n.pending_buf,n.pending-i,i)),ua(e),i=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,ha(n,o)}while(0!==o);n.gzhead.hcrc&&n.pending>i&&(e.adler=Ko(e.adler,n.pending_buf,n.pending-i,i)),0===o&&(n.status=na)}else n.status=na;if(n.status===na&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&ua(e),n.pending+2<=n.pending_buf_size&&(ha(n,255&e.adler),ha(n,e.adler>>8&255),e.adler=0,n.status=ia)):n.status=ia),0!==n.pending){if(ua(e),0===e.avail_out)return n.last_flush=-1,0}else if(0===e.avail_in&&sa(t)<=sa(r)&&4!==t)return aa(e,-5);if(n.status===oa&&0!==e.avail_in)return aa(e,-5);if(0!==e.avail_in||0!==n.lookahead||0!==t&&n.status!==oa){var s=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(ma(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=Zo._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(ca(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(ca(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(ca(e,!1),0===e.strm.avail_out)?1:2}(n,t):3===n.strategy?function(e,t){for(var r,n,i,o,a=e.window;;){if(e.lookahead<=ta){if(ma(e),e.lookahead<=ta&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=a[i=e.strstart-1])===a[++i]&&n===a[++i]&&n===a[++i]){o=e.strstart+ta;do{}while(n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&i<o);e.match_length=ta-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=Zo._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=Zo._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(ca(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(ca(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(ca(e,!1),0===e.strm.avail_out)?1:2}(n,t):Go[n.level].func(n,t);if(3!==s&&4!==s||(n.status=oa),1===s||3===s)return 0===e.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===t?Zo._tr_align(n):5!==t&&(Zo._tr_stored_block(n,0,0,!1),3===t&&(la(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),ua(e),0===e.avail_out))return n.last_flush=-1,0}return 4!==t?0:n.wrap<=0?1:(2===n.wrap?(ha(n,255&e.adler),ha(n,e.adler>>8&255),ha(n,e.adler>>16&255),ha(n,e.adler>>24&255),ha(n,255&e.total_in),ha(n,e.total_in>>8&255),ha(n,e.total_in>>16&255),ha(n,e.total_in>>24&255)):(fa(n,e.adler>>>16),fa(n,65535&e.adler)),ua(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)},io.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==na&&t!==ia&&t!==oa?aa(e,ea):(e.state=null,t===ia?aa(e,-3):0):ea},io.deflateSetDictionary=function(e,t){var r,n,i,o,a,s,l,u,c=t.length;if(!e||!e.state)return ea;if(2===(o=(r=e.state).wrap)||1===o&&42!==r.status||r.lookahead)return ea;for(1===o&&(e.adler=Jo(e.adler,t,c,0)),r.wrap=0,c>=r.w_size&&(0===o&&(la(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=new Xo.Buf8(r.w_size),Xo.arraySet(u,t,c-r.w_size,r.w_size,0),t=u,c=r.w_size),a=e.avail_in,s=e.next_in,l=e.input,e.avail_in=c,e.next_in=0,e.input=t,ma(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--i);r.strstart=n,r.lookahead=2,ma(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=l,e.avail_in=a,r.wrap=o,0},io.deflateInfo="pako deflate (from Nodeca project)";var Ea={},Aa=ro,Sa=!0,Na=!0;try{String.fromCharCode.apply(null,[0])}catch(e){Sa=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){Na=!1}for(var Ca=new Aa.Buf8(256),Ta=0;Ta<256;Ta++)Ca[Ta]=Ta>=252?6:Ta>=248?5:Ta>=240?4:Ta>=224?3:Ta>=192?2:1;function ka(e,t){if(t<65534&&(e.subarray&&Na||!e.subarray&&Sa))return String.fromCharCode.apply(null,Aa.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}Ca[254]=Ca[254]=1,Ea.string2buf=function(e){var t,r,n,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new Aa.Buf8(s),o=0,i=0;o<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t},Ea.buf2binstring=function(e){return ka(e,e.length)},Ea.binstring2buf=function(e){for(var t=new Aa.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t},Ea.buf2string=function(e,t){var r,n,i,o,a=t||e.length,s=new Array(2*a);for(n=0,r=0;r<a;)if((i=e[r++])<128)s[n++]=i;else if((o=Ca[i])>4)s[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r<a;)i=i<<6|63&e[r++],o--;o>1?s[n++]=65533:i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|1023&i)}return ka(s,n)},Ea.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+Ca[e[r]]>t?r:t};var Oa=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Ra=io,Da=ro,Ma=Ea,La=$o,Pa=Oa,Ia=Object.prototype.toString;function Ba(e){if(!(this instanceof Ba))return new Ba(e);this.options=Da.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Pa,this.strm.avail_out=0;var r=Ra.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(La[r]);if(t.header&&Ra.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(n="string"==typeof t.dictionary?Ma.string2buf(t.dictionary):"[object ArrayBuffer]"===Ia.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=Ra.deflateSetDictionary(this.strm,n)))throw new Error(La[r]);this._dict_set=!0}}function ja(e,t){var r=new Ba(t);if(r.push(e,!0),r.err)throw r.msg||La[r.err];return r.result}Ba.prototype.push=function(e,t){var r,n,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,"string"==typeof e?i.input=Ma.string2buf(e):"[object ArrayBuffer]"===Ia.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new Da.Buf8(o),i.next_out=0,i.avail_out=o),1!==(r=Ra.deflate(i,n))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==i.avail_out&&(0!==i.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(Ma.buf2binstring(Da.shrinkBuf(i.output,i.next_out))):this.onData(Da.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||0===i.avail_out)&&1!==r);return 4===n?(r=Ra.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),i.avail_out=0,!0)},Ba.prototype.onData=function(e){this.chunks.push(e)},Ba.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Da.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},no.Deflate=Ba,no.deflate=ja,no.deflateRaw=function(e,t){return(t=t||{}).raw=!0,ja(e,t)},no.gzip=function(e,t){return(t=t||{}).gzip=!0,ja(e,t)};var qa={},Fa={},Ua=ro,za=15,Wa=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Ha=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Va=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Ga=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Ya=ro,$a=Ho,Xa=Yo,Za=function(e,t){var r,n,i,o,a,s,l,u,c,h,f,d,p,m,g,v,b,w,y,x,_,E,A,S,N;r=e.state,n=e.next_in,S=e.input,i=n+(e.avail_in-5),o=e.next_out,N=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=r.dmax,u=r.wsize,c=r.whave,h=r.wnext,f=r.window,d=r.hold,p=r.bits,m=r.lencode,g=r.distcode,v=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;e:do{p<15&&(d+=S[n++]<<p,p+=8,d+=S[n++]<<p,p+=8),w=m[d&v];t:for(;;){if(d>>>=y=w>>>24,p-=y,0===(y=w>>>16&255))N[o++]=65535&w;else{if(!(16&y)){if(64&y){if(32&y){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}w=m[(65535&w)+(d&(1<<y)-1)];continue t}for(x=65535&w,(y&=15)&&(p<y&&(d+=S[n++]<<p,p+=8),x+=d&(1<<y)-1,d>>>=y,p-=y),p<15&&(d+=S[n++]<<p,p+=8,d+=S[n++]<<p,p+=8),w=g[d&b];;){if(d>>>=y=w>>>24,p-=y,16&(y=w>>>16&255)){if(_=65535&w,p<(y&=15)&&(d+=S[n++]<<p,(p+=8)<y&&(d+=S[n++]<<p,p+=8)),(_+=d&(1<<y)-1)>l){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=y,p-=y,_>(y=o-a)){if((y=_-y)>c&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(E=0,A=f,0===h){if(E+=u-y,y<x){x-=y;do{N[o++]=f[E++]}while(--y);E=o-_,A=N}}else if(h<y){if(E+=u+h-y,(y-=h)<x){x-=y;do{N[o++]=f[E++]}while(--y);if(E=0,h<x){x-=y=h;do{N[o++]=f[E++]}while(--y);E=o-_,A=N}}}else if(E+=h-y,y<x){x-=y;do{N[o++]=f[E++]}while(--y);E=o-_,A=N}for(;x>2;)N[o++]=A[E++],N[o++]=A[E++],N[o++]=A[E++],x-=3;x&&(N[o++]=A[E++],x>1&&(N[o++]=A[E++]))}else{E=o-_;do{N[o++]=N[E++],N[o++]=N[E++],N[o++]=N[E++],x-=3}while(x>2);x&&(N[o++]=N[E++],x>1&&(N[o++]=N[E++]))}break}if(64&y){e.msg="invalid distance code",r.mode=30;break e}w=g[(65535&w)+(d&(1<<y)-1)]}}break}}while(n<i&&o<s);n-=x=p>>3,d&=(1<<(p-=x<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=o<s?s-o+257:257-(o-s),r.hold=d,r.bits=p},Ja=function(e,t,r,n,i,o,a,s){var l,u,c,h,f,d,p,m,g,v=s.bits,b=0,w=0,y=0,x=0,_=0,E=0,A=0,S=0,N=0,C=0,T=null,k=0,O=new Ua.Buf16(16),R=new Ua.Buf16(16),D=null,M=0;for(b=0;b<=za;b++)O[b]=0;for(w=0;w<n;w++)O[t[r+w]]++;for(_=v,x=za;x>=1&&0===O[x];x--);if(_>x&&(_=x),0===x)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(y=1;y<x&&0===O[y];y++);for(_<y&&(_=y),S=1,b=1;b<=za;b++)if(S<<=1,(S-=O[b])<0)return-1;if(S>0&&(0===e||1!==x))return-1;for(R[1]=0,b=1;b<za;b++)R[b+1]=R[b]+O[b];for(w=0;w<n;w++)0!==t[r+w]&&(a[R[t[r+w]]++]=w);if(0===e?(T=D=a,d=19):1===e?(T=Wa,k-=257,D=Ha,M-=257,d=256):(T=Va,D=Ga,d=-1),C=0,w=0,b=y,f=o,E=_,A=0,c=-1,h=(N=1<<_)-1,1===e&&N>852||2===e&&N>592)return 1;for(;;){p=b-A,a[w]<d?(m=0,g=a[w]):a[w]>d?(m=D[M+a[w]],g=T[k+a[w]]):(m=96,g=0),l=1<<b-A,y=u=1<<E;do{i[f+(C>>A)+(u-=l)]=p<<24|m<<16|g}while(0!==u);for(l=1<<b-1;C&l;)l>>=1;if(0!==l?(C&=l-1,C+=l):C=0,w++,0===--O[b]){if(b===x)break;b=t[r+a[w]]}if(b>_&&(C&h)!==c){for(0===A&&(A=_),f+=y,S=1<<(E=b-A);E+A<x&&!((S-=O[E+A])<=0);)E++,S<<=1;if(N+=1<<E,1===e&&N>852||2===e&&N>592)return 1;i[c=C&h]=_<<24|E<<16|f-o}}return 0!==C&&(i[f+C]=b-A<<24|64<<16),s.bits=_,0},Ka=-2,Qa=12,es=30;function ts(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function rs(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Ya.Buf16(320),this.work=new Ya.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ns(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Ya.Buf32(852),t.distcode=t.distdyn=new Ya.Buf32(592),t.sane=1,t.back=-1,0):Ka}function is(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,ns(e)):Ka}function os(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Ka:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,is(e))):Ka}function as(e,t){var r,n;return e?(n=new rs,e.state=n,n.window=null,0!==(r=os(e,t))&&(e.state=null),r):Ka}var ss,ls,us=!0;function cs(e){if(us){var t;for(ss=new Ya.Buf32(512),ls=new Ya.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ja(1,e.lens,0,288,ss,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ja(2,e.lens,0,32,ls,0,e.work,{bits:5}),us=!1}e.lencode=ss,e.lenbits=9,e.distcode=ls,e.distbits=5}function hs(e,t,r,n){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Ya.Buf8(o.wsize)),n>=o.wsize?(Ya.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>n&&(i=n),Ya.arraySet(o.window,t,r-n,i,o.wnext),(n-=i)?(Ya.arraySet(o.window,t,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}Fa.inflateReset=is,Fa.inflateReset2=os,Fa.inflateResetKeep=ns,Fa.inflateInit=function(e){return as(e,15)},Fa.inflateInit2=as,Fa.inflate=function(e,t){var r,n,i,o,a,s,l,u,c,h,f,d,p,m,g,v,b,w,y,x,_,E,A,S,N=0,C=new Ya.Buf8(4),T=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Ka;(r=e.state).mode===Qa&&(r.mode=13),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,n=e.input,s=e.avail_in,u=r.hold,c=r.bits,h=s,f=l,E=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(2&r.wrap&&35615===u){r.check=0,C[0]=255&u,C[1]=u>>>8&255,r.check=Xa(r.check,C,2,0),u=0,c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=es;break}if(8!=(15&u)){e.msg="unknown compression method",r.mode=es;break}if(c-=4,_=8+(15&(u>>>=4)),0===r.wbits)r.wbits=_;else if(_>r.wbits){e.msg="invalid window size",r.mode=es;break}r.dmax=1<<_,e.adler=r.check=1,r.mode=512&u?10:Qa,u=0,c=0;break;case 2:for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(r.flags=u,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=es;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=es;break}r.head&&(r.head.text=u>>8&1),512&r.flags&&(C[0]=255&u,C[1]=u>>>8&255,r.check=Xa(r.check,C,2,0)),u=0,c=0,r.mode=3;case 3:for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.head&&(r.head.time=u),512&r.flags&&(C[0]=255&u,C[1]=u>>>8&255,C[2]=u>>>16&255,C[3]=u>>>24&255,r.check=Xa(r.check,C,4,0)),u=0,c=0,r.mode=4;case 4:for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.head&&(r.head.xflags=255&u,r.head.os=u>>8),512&r.flags&&(C[0]=255&u,C[1]=u>>>8&255,r.check=Xa(r.check,C,2,0)),u=0,c=0,r.mode=5;case 5:if(1024&r.flags){for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.length=u,r.head&&(r.head.extra_len=u),512&r.flags&&(C[0]=255&u,C[1]=u>>>8&255,r.check=Xa(r.check,C,2,0)),u=0,c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=r.length)>s&&(d=s),d&&(r.head&&(_=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),Ya.arraySet(r.head.extra,n,o,d,_)),512&r.flags&&(r.check=Xa(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break e;d=0;do{_=n[o+d++],r.head&&_&&r.length<65536&&(r.head.name+=String.fromCharCode(_))}while(_&&d<s);if(512&r.flags&&(r.check=Xa(r.check,n,d,o)),s-=d,o+=d,_)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===s)break e;d=0;do{_=n[o+d++],r.head&&_&&r.length<65536&&(r.head.comment+=String.fromCharCode(_))}while(_&&d<s);if(512&r.flags&&(r.check=Xa(r.check,n,d,o)),s-=d,o+=d,_)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(u!==(65535&r.check)){e.msg="header crc mismatch",r.mode=es;break}u=0,c=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=Qa;break;case 10:for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}e.adler=r.check=ts(u),u=0,c=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,r.hold=u,r.bits=c,2;e.adler=r.check=1,r.mode=Qa;case Qa:if(5===t||6===t)break e;case 13:if(r.last){u>>>=7&c,c-=7&c,r.mode=27;break}for(;c<3;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}switch(r.last=1&u,c-=1,3&(u>>>=1)){case 0:r.mode=14;break;case 1:if(cs(r),r.mode=20,6===t){u>>>=2,c-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=es}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",r.mode=es;break}if(r.length=65535&u,u=0,c=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(d=r.length){if(d>s&&(d=s),d>l&&(d=l),0===d)break e;Ya.arraySet(i,n,o,d,a),s-=d,o+=d,l-=d,a+=d,r.length-=d;break}r.mode=Qa;break;case 17:for(;c<14;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(r.nlen=257+(31&u),u>>>=5,c-=5,r.ndist=1+(31&u),u>>>=5,c-=5,r.ncode=4+(15&u),u>>>=4,c-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=es;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;c<3;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.lens[T[r.have++]]=7&u,u>>>=3,c-=3}for(;r.have<19;)r.lens[T[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,A={bits:r.lenbits},E=Ja(0,r.lens,0,19,r.lencode,0,r.work,A),r.lenbits=A.bits,E){e.msg="invalid code lengths set",r.mode=es;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;v=(N=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,b=65535&N,!((g=N>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(b<16)u>>>=g,c-=g,r.lens[r.have++]=b;else{if(16===b){for(S=g+2;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(u>>>=g,c-=g,0===r.have){e.msg="invalid bit length repeat",r.mode=es;break}_=r.lens[r.have-1],d=3+(3&u),u>>>=2,c-=2}else if(17===b){for(S=g+3;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}c-=g,_=0,d=3+(7&(u>>>=g)),u>>>=3,c-=3}else{for(S=g+7;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}c-=g,_=0,d=11+(127&(u>>>=g)),u>>>=7,c-=7}if(r.have+d>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=es;break}for(;d--;)r.lens[r.have++]=_}}if(r.mode===es)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=es;break}if(r.lenbits=9,A={bits:r.lenbits},E=Ja(1,r.lens,0,r.nlen,r.lencode,0,r.work,A),r.lenbits=A.bits,E){e.msg="invalid literal/lengths set",r.mode=es;break}if(r.distbits=6,r.distcode=r.distdyn,A={bits:r.distbits},E=Ja(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,A),r.distbits=A.bits,E){e.msg="invalid distances set",r.mode=es;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,r.hold=u,r.bits=c,Za(e,f),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,n=e.input,s=e.avail_in,u=r.hold,c=r.bits,r.mode===Qa&&(r.back=-1);break}for(r.back=0;v=(N=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,b=65535&N,!((g=N>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(v&&!(240&v)){for(w=g,y=v,x=b;v=(N=r.lencode[x+((u&(1<<w+y)-1)>>w)])>>>16&255,b=65535&N,!(w+(g=N>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}u>>>=w,c-=w,r.back+=w}if(u>>>=g,c-=g,r.back+=g,r.length=b,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=Qa;break}if(64&v){e.msg="invalid literal/length code",r.mode=es;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(S=r.extra;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.length+=u&(1<<r.extra)-1,u>>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(N=r.distcode[u&(1<<r.distbits)-1])>>>16&255,b=65535&N,!((g=N>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(!(240&v)){for(w=g,y=v,x=b;v=(N=r.distcode[x+((u&(1<<w+y)-1)>>w)])>>>16&255,b=65535&N,!(w+(g=N>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}u>>>=w,c-=w,r.back+=w}if(u>>>=g,c-=g,r.back+=g,64&v){e.msg="invalid distance code",r.mode=es;break}r.offset=b,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(S=r.extra;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.offset+=u&(1<<r.extra)-1,u>>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=es;break}r.mode=25;case 25:if(0===l)break e;if(d=f-l,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=es;break}d>r.wnext?(d-=r.wnext,p=r.wsize-d):p=r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=i,p=a-r.offset,d=r.length;d>l&&(d=l),l-=d,r.length-=d;do{i[a++]=m[p++]}while(--d);0===r.length&&(r.mode=21);break;case 26:if(0===l)break e;i[a++]=r.length,l--,r.mode=21;break;case 27:if(r.wrap){for(;c<32;){if(0===s)break e;s--,u|=n[o++]<<c,c+=8}if(f-=l,e.total_out+=f,r.total+=f,f&&(e.adler=r.check=r.flags?Xa(r.check,i,f,a-f):$a(r.check,i,f,a-f)),f=l,(r.flags?u:ts(u))!==r.check){e.msg="incorrect data check",r.mode=es;break}u=0,c=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(u!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=es;break}u=0,c=0}r.mode=29;case 29:E=1;break e;case es:E=-3;break e;case 31:return-4;default:return Ka}return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,r.hold=u,r.bits=c,(r.wsize||f!==e.avail_out&&r.mode<es&&(r.mode<27||4!==t))&&hs(e,e.output,e.next_out,f-e.avail_out),h-=e.avail_in,f-=e.avail_out,e.total_in+=h,e.total_out+=f,r.total+=f,r.wrap&&f&&(e.adler=r.check=r.flags?Xa(r.check,i,f,e.next_out-f):$a(r.check,i,f,e.next_out-f)),e.data_type=r.bits+(r.last?64:0)+(r.mode===Qa?128:0)+(20===r.mode||15===r.mode?256:0),(0===h&&0===f||4===t)&&0===E&&(E=-5),E},Fa.inflateEnd=function(e){if(!e||!e.state)return Ka;var t=e.state;return t.window&&(t.window=null),e.state=null,0},Fa.inflateGetHeader=function(e,t){var r;return e&&e.state&&2&(r=e.state).wrap?(r.head=t,t.done=!1,0):Ka},Fa.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?Ka:11===r.mode&&$a(1,t,n,0)!==r.check?-3:hs(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):Ka},Fa.inflateInfo="pako inflate (from Nodeca project)";var fs={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};var ds=Fa,ps=ro,ms=Ea,gs=fs,vs=$o,bs=Oa,ws=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},ys=Object.prototype.toString;function xs(e){if(!(this instanceof xs))return new xs(e);this.options=ps.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new bs,this.strm.avail_out=0;var r=ds.inflateInit2(this.strm,t.windowBits);if(r!==gs.Z_OK)throw new Error(vs[r]);if(this.header=new ws,ds.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=ms.string2buf(t.dictionary):"[object ArrayBuffer]"===ys.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ds.inflateSetDictionary(this.strm,t.dictionary))!==gs.Z_OK))throw new Error(vs[r])}function _s(e,t){var r=new xs(t);if(r.push(e,!0),r.err)throw r.msg||vs[r.err];return r.result}xs.prototype.push=function(e,t){var r,n,i,o,a,s=this.strm,l=this.options.chunkSize,u=this.options.dictionary,c=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?gs.Z_FINISH:gs.Z_NO_FLUSH,"string"==typeof e?s.input=ms.binstring2buf(e):"[object ArrayBuffer]"===ys.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new ps.Buf8(l),s.next_out=0,s.avail_out=l),(r=ds.inflate(s,gs.Z_NO_FLUSH))===gs.Z_NEED_DICT&&u&&(r=ds.inflateSetDictionary(this.strm,u)),r===gs.Z_BUF_ERROR&&!0===c&&(r=gs.Z_OK,c=!1),r!==gs.Z_STREAM_END&&r!==gs.Z_OK)return this.onEnd(r),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&r!==gs.Z_STREAM_END&&(0!==s.avail_in||n!==gs.Z_FINISH&&n!==gs.Z_SYNC_FLUSH)||("string"===this.options.to?(i=ms.utf8border(s.output,s.next_out),o=s.next_out-i,a=ms.buf2string(s.output,i),s.next_out=o,s.avail_out=l-o,o&&ps.arraySet(s.output,s.output,i,o,0),this.onData(a)):this.onData(ps.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(c=!0)}while((s.avail_in>0||0===s.avail_out)&&r!==gs.Z_STREAM_END);return r===gs.Z_STREAM_END&&(n=gs.Z_FINISH),n===gs.Z_FINISH?(r=ds.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===gs.Z_OK):n!==gs.Z_SYNC_FLUSH||(this.onEnd(gs.Z_OK),s.avail_out=0,!0)},xs.prototype.onData=function(e){this.chunks.push(e)},xs.prototype.onEnd=function(e){e===gs.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=ps.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},qa.Inflate=xs,qa.inflate=_s,qa.inflateRaw=function(e,t){return(t=t||{}).raw=!0,_s(e,t)},qa.ungzip=_s;var Es={};(0,ro.assign)(Es,no,qa,fs);var As="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,Ss=Es,Ns=ii(),Cs=ai,Ts=As?"uint8array":"array";function ks(e,t){Cs.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}to.magic="\b\0",Ns.inherits(ks,Cs),ks.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(Ns.transformTo(Ts,e.data),!1)},ks.prototype.flush=function(){Cs.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},ks.prototype.cleanUp=function(){Cs.prototype.cleanUp.call(this),this._pako=null},ks.prototype._createPako=function(){this._pako=new Ss[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},to.compressWorker=function(e){return new ks("Deflate",e)},to.uncompressWorker=function(){return new ks("Inflate",{})};var Os=ai;eo.STORE={magic:"\0\0",compressWorker:function(){return new Os("STORE compression")},uncompressWorker:function(){return new Os("STORE decompression")}},eo.DEFLATE=to;var Rs={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\b"},Ds=ii(),Ms=ai,Ls=O,Ps=ki,Is=Rs,Bs=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},js=function(e,t,r,n,i,o){var a,s,l=e.file,u=e.compression,c=o!==Ls.utf8encode,h=Ds.transformTo("string",o(l.name)),f=Ds.transformTo("string",Ls.utf8encode(l.name)),d=l.comment,p=Ds.transformTo("string",o(d)),m=Ds.transformTo("string",Ls.utf8encode(d)),g=f.length!==l.name.length,v=m.length!==d.length,b="",w="",y="",x=l.dir,_=l.date,E={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(E.crc32=e.crc32,E.compressedSize=e.compressedSize,E.uncompressedSize=e.uncompressedSize);var A=0;t&&(A|=8),c||!g&&!v||(A|=2048);var S,N,C,T=0,k=0;x&&(T|=16),"UNIX"===i?(k=798,T|=(S=l.unixPermissions,N=x,C=S,S||(C=N?16893:33204),(65535&C)<<16)):(k=20,T|=63&(l.dosPermissions||0)),a=_.getUTCHours(),a<<=6,a|=_.getUTCMinutes(),a<<=5,a|=_.getUTCSeconds()/2,s=_.getUTCFullYear()-1980,s<<=4,s|=_.getUTCMonth()+1,s<<=5,s|=_.getUTCDate(),g&&(w=Bs(1,1)+Bs(Ps(h),4)+f,b+="up"+Bs(w.length,2)+w),v&&(y=Bs(1,1)+Bs(Ps(p),4)+m,b+="uc"+Bs(y.length,2)+y);var O="";return O+="\n\0",O+=Bs(A,2),O+=u.magic,O+=Bs(a,2),O+=Bs(s,2),O+=Bs(E.crc32,4),O+=Bs(E.compressedSize,4),O+=Bs(E.uncompressedSize,4),O+=Bs(h.length,2),O+=Bs(b.length,2),{fileRecord:Is.LOCAL_FILE_HEADER+O+h+b,dirRecord:Is.CENTRAL_FILE_HEADER+Bs(k,2)+O+Bs(p.length,2)+"\0\0\0\0"+Bs(T,4)+Bs(n,4)+h+b+p}},qs=function(e){return Is.DATA_DESCRIPTOR+Bs(e.crc32,4)+Bs(e.compressedSize,4)+Bs(e.uncompressedSize,4)};function Fs(e,t,r,n){Ms.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Ds.inherits(Fs,Ms),Fs.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,Ms.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},Fs.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=js(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Fs.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=js(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:qs(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Fs.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=function(e,t,r,n,i){var o=Ds.transformTo("string",i(n));return Is.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Bs(e,2)+Bs(e,2)+Bs(t,4)+Bs(r,4)+Bs(o.length,2)+o}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},Fs.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},Fs.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},Fs.prototype.resume=function(){return!!Ms.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},Fs.prototype.error=function(e){var t=this._sources;if(!Ms.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},Fs.prototype.lock=function(){Ms.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};var Us=eo,zs=Fs;Qi.generateWorker=function(e,t,r){var n=new zs(t.streamFiles,r,t.platform,t.encodeFileName),i=0;try{e.forEach(function(e,r){i++;var o=function(e,t){var r=e||t,n=Us[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(r.options.compression,t.compression),a=r.options.compressionOptions||t.compressionOptions||{},s=r.dir,l=r.date;r._compressWorker(o,a).withStreamInfo("file",{name:e,dir:s,date:l,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)}),n.entriesCount=i}catch(e){n.error(e)}return n};var Ws=ii(),Hs=ai;function Vs(e,t){Hs.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}Ws.inherits(Vs,Hs),Vs.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},Vs.prototype.pause=function(){return!!Hs.prototype.pause.call(this)&&(this._stream.pause(),!0)},Vs.prototype.resume=function(){return!!Hs.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var Gs=Vs,Ys=O,$s=ii(),Xs=ai,Zs=xi,Js=_i,Ks=zi,Qs=Ki,el=Qi,tl=ei,rl=Gs,nl=function(e,t,r){var n,i=$s.getTypeOf(t),o=$s.extend(r||{},Js);o.date=o.date||new Date,null!==o.compression&&(o.compression=o.compression.toUpperCase()),"string"==typeof o.unixPermissions&&(o.unixPermissions=parseInt(o.unixPermissions,8)),o.unixPermissions&&16384&o.unixPermissions&&(o.dir=!0),o.dosPermissions&&16&o.dosPermissions&&(o.dir=!0),o.dir&&(e=ol(e)),o.createFolders&&(n=il(e))&&al.call(this,n,!0);var a="string"===i&&!1===o.binary&&!1===o.base64;r&&void 0!==r.binary||(o.binary=!a),(t instanceof Ks&&0===t.uncompressedSize||o.dir||!t||0===t.length)&&(o.base64=!1,o.binary=!0,t="",o.compression="STORE",i="string");var s=null;s=t instanceof Ks||t instanceof Xs?t:tl.isNode&&tl.isStream(t)?new rl(e,t):$s.prepareContent(e,t,o.binary,o.optimizedBinaryString,o.base64);var l=new Qs(e,s,o);this.files[e]=l},il=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},ol=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},al=function(e,t){return t=void 0!==t?t:Js.createFolders,e=ol(e),this.files[e]||nl.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function sl(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var ll={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach(function(r,n){e(r,n)&&t.push(n)}),t},file:function(e,t,r){if(1===arguments.length){if(sl(e)){var n=e;return this.filter(function(e,t){return!t.dir&&n.test(e)})}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,nl.call(this,e,t,r),this},folder:function(e){if(!e)return this;if(sl(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=this.root+e,r=al.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter(function(t,r){return r.name.slice(0,e.length)===e}),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=$s.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Ys.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");$s.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=el.generateWorker(this,r,n)}catch(e){(t=new Xs("error")).error(e)}return new Zs(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},ul=ll,cl=ii();function hl(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}hl.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return cl.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}};var fl=hl,dl=fl;function pl(e){dl.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}ii().inherits(pl,dl),pl.prototype.byteAt=function(e){return this.data[this.zero+e]},pl.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===r&&this.data[o+2]===n&&this.data[o+3]===i)return o-this.zero;return-1},pl.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&r===o[1]&&n===o[2]&&i===o[3]},pl.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var ml=pl,gl=fl;function vl(e){gl.call(this,e)}ii().inherits(vl,gl),vl.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},vl.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},vl.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},vl.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var bl=vl,wl=ml;function yl(e){wl.call(this,e)}ii().inherits(yl,wl),yl.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var xl=yl,_l=xl;function El(e){_l.call(this,e)}ii().inherits(El,_l),El.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var Al=El,Sl=ii(),Nl=Le,Cl=ml,Tl=bl,kl=Al,Ol=xl,Rl=function(e){var t=Sl.getTypeOf(e);return Sl.checkSupport(t),"string"!==t||Nl.uint8array?"nodebuffer"===t?new kl(e):Nl.uint8array?new Ol(Sl.transformTo("uint8array",e)):new Cl(Sl.transformTo("array",e)):new Tl(e)},Dl=Rl,Ml=ii(),Ll=zi,Pl=ki,Il=O,Bl=eo,jl=Le;function ql(e,t){this.options=e,this.loadOptions=t}ql.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=function(e){for(var t in Bl)if(Object.prototype.hasOwnProperty.call(Bl,t)&&Bl[t].magic===e)return Bl[t];return null}(this.compressionMethod),null===t)throw new Error("Corrupted zip : compression "+Ml.pretty(this.compressionMethod)+" unknown (inner file : "+Ml.transformTo("string",this.fileName)+")");this.decompressed=new Ll(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=Dl(this.extraFields[1].value);this.uncompressedSize===Ml.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===Ml.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===Ml.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===Ml.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=jl.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Il.utf8decode(this.fileName),this.fileCommentStr=Il.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=Ml.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=Ml.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Dl(e.value);return 1!==t.readInt(1)||Pl(this.fileName)!==t.readInt(4)?null:Il.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Dl(e.value);return 1!==t.readInt(1)||Pl(this.fileComment)!==t.readInt(4)?null:Il.utf8decode(t.readData(e.length-5))}return null}};var Fl=ql,Ul=Rl,zl=ii(),Wl=Rs,Hl=Fl,Vl=Le;function Gl(e){this.files=[],this.loadOptions=e}Gl.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+zl.pretty(t)+", expected "+zl.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=Vl.uint8array?"uint8array":"array",r=zl.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(Wl.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(Wl.CENTRAL_FILE_HEADER);)(e=new Hl({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(Wl.CENTRAL_DIRECTORY_END);if(e<0)throw!this.isSignature(0,Wl.LOCAL_FILE_HEADER)?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory");this.reader.setIndex(e);var t=e;if(this.checkSignature(Wl.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===zl.MAX_VALUE_16BITS||this.diskWithCentralDirStart===zl.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===zl.MAX_VALUE_16BITS||this.centralDirRecords===zl.MAX_VALUE_16BITS||this.centralDirSize===zl.MAX_VALUE_32BITS||this.centralDirOffset===zl.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(Wl.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(Wl.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Wl.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Wl.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(Wl.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(n>0)this.isSignature(t,Wl.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=Ul(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var Yl=Gl,$l=ii(),Xl=ni,Zl=O,Jl=Yl,Kl=Mi,Ql=ei;function eu(e){return new Xl.Promise(function(t,r){var n=e.decompressed.getContentWorker().pipe(new Kl);n.on("error",function(e){r(e)}).on("end",function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}function tu(){if(!(this instanceof tu))return new tu;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new tu;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}tu.prototype=ul,tu.prototype.loadAsync=function(e,t){var r=this;return t=$l.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Zl.utf8decode}),Ql.isNode&&Ql.isStream(e)?Xl.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):$l.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var r=new Jl(t);return r.load(e),r}).then(function(e){var r=[Xl.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var i=0;i<n.length;i++)r.push(eu(n[i]));return Xl.Promise.all(r)}).then(function(e){for(var n=e.shift(),i=n.files,o=0;o<i.length;o++){var a=i[o],s=a.fileNameStr,l=$l.resolve(a.fileNameStr);r.file(l,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders}),a.dir||(r.file(l).unsafeOriginalName=s)}return n.zipComment.length&&(r.comment=n.zipComment),r})},tu.support=Le,tu.defaults=_i,tu.version="3.10.1",tu.loadAsync=function(e,t){return(new tu).loadAsync(e,t)},tu.external=ni;var ru=tu;function nu(e,t){var r=(t=t||{}).pos||0,n=!!t.keepComments,i=!!t.keepWhitespace,o="<".charCodeAt(0),a=">".charCodeAt(0),s="-".charCodeAt(0),l="/".charCodeAt(0),u="!".charCodeAt(0),c="'".charCodeAt(0),h='"'.charCodeAt(0),f="[".charCodeAt(0),d="]".charCodeAt(0);function p(t){for(var c=[];e[r];)if(e.charCodeAt(r)==o){if(e.charCodeAt(r+1)===l){var h=r+2;if(r=e.indexOf(">",r),-1==e.substring(h,r).indexOf(t)){var p=e.substring(0,r).split("\n");throw new Error("Unexpected close tag\nLine: "+(p.length-1)+"\nColumn: "+(p[p.length-1].length+1)+"\nChar: "+e[r])}return r+1&&(r+=1),c}if(e.charCodeAt(r+1)===u){if(e.charCodeAt(r+2)==s){const t=r;for(;-1!==r&&(e.charCodeAt(r)!==a||e.charCodeAt(r-1)!=s||e.charCodeAt(r-2)!=s||-1==r);)r=e.indexOf(">",r+1);-1===r&&(r=e.length),n&&c.push(e.substring(t,r+1))}else{if(e.charCodeAt(r+2)===f&&e.charCodeAt(r+8)===f&&"cdata"===e.substr(r+3,5).toLowerCase()){var g=e.indexOf("]]>",r);-1==g?(c.push(e.substr(r+9)),r=e.length):(c.push(e.substring(r+9,g)),r=g+3);continue}{const t=r+1;r+=2;for(var v=!1;(e.charCodeAt(r)!==a||!0===v)&&e[r];)e.charCodeAt(r)===f?v=!0:!0===v&&e.charCodeAt(r)===d&&(v=!1),r++;c.push(e.substring(t,r))}}r++;continue}var b=w();c.push(b),"?"===b.tagName[0]&&(c.push(...b.children),b.children=[])}else{var y=m();if(i)y.length>0&&c.push(y);else{var x=y.trim();x.length>0&&c.push(x)}r++}return c}function m(){var t=r;return-2===(r=e.indexOf("<",r)-1)&&(r=e.length),e.slice(t,r+1)}var g="\r\n\t>/= ";function v(){for(var t=r;-1===g.indexOf(e[r])&&e[r];)r++;return e.slice(t,r)}var b=t.noChildNodes||["img","br","input","meta","link","hr"];function w(){r++;const t=v(),n={};let i=[];for(;e.charCodeAt(r)!==a&&e[r];){var o=e.charCodeAt(r);if(o>64&&o<91||o>96&&o<123){for(var s=v(),u=e.charCodeAt(r);u&&u!==c&&u!==h&&!(u>64&&u<91||u>96&&u<123)&&u!==a;)r++,u=e.charCodeAt(r);if(u===c||u===h){var f=y();if(-1===r)return{tagName:t,attributes:n,children:i}}else f=null,r--;n[s]=f}r++}if(e.charCodeAt(r-1)!==l)if("script"==t){var d=r+1;r=e.indexOf("<\/script>",r),i=[e.slice(d,r)],r+=9}else if("style"==t){d=r+1;r=e.indexOf("</style>",r),i=[e.slice(d,r)],r+=8}else-1===b.indexOf(t)?(r++,i=p(t)):r++;else r++;return{tagName:t,attributes:n,children:i}}function y(){var t=e[r],n=r+1;return r=e.indexOf(t,n),e.slice(n,r)}function x(){var r=new RegExp("\\s"+t.attrName+"\\s*=['\"]"+t.attrValue+"['\"]").exec(e);return r?r.index:-1}var _=null;if(void 0!==t.attrValue){t.attrName=t.attrName||"id";for(_=[];-1!==(r=x());)-1!==(r=e.lastIndexOf("<",r))&&_.push(w()),e=e.substr(r),r=0}else _=t.parseNode?w():p("");return t.filter&&(_=ou(_,t.filter)),t.simplify?iu(Array.isArray(_)?_:[_]):(t.setPos&&(_.pos=r),_)}function iu(e){var t={};if(!e.length)return"";if(1===e.length&&"string"==typeof e[0])return e[0];for(var r in e.forEach(function(e){if("object"==typeof e){t[e.tagName]||(t[e.tagName]=[]);var r=iu(e.children);t[e.tagName].push(r),Object.keys(e.attributes).length&&"string"!=typeof r&&(r._attributes=e.attributes)}}),t)1==t[r].length&&(t[r]=t[r][0]);return t}function ou(e,t,r=0,n=""){var i=[];return e.forEach(function(e,o){if("object"==typeof e&&t(e,o,r,n)&&i.push(e),e.children){var a=ou(e.children,t,r+1,(n?n+".":"")+o+"."+e.tagName);i=i.concat(a)}}),i}var au,su,lu,uu,cu,hu={},fu={get exports(){return hu},set exports(e){hu=e}},du={},pu={get exports(){return du},set exports(e){du=e}},mu={},gu={get exports(){return mu},set exports(e){mu=e}};function vu(){return au||(au=1,function(e){e.exports=Vr}(gu)),mu}function bu(){if(lu)return su;function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach(function(e){r(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function r(e,t,r){return(t=i(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}lu=1;var o=nn.Buffer,a=dn.inspect,s=a&&a.custom||"inspect";function l(e,t,r){o.prototype.copy.call(e,t,r)}return su=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var r,i,u;return r=e,i=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t=o.allocUnsafe(e>>>0),r=this.head,n=0;r;)l(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0===(e-=a)){a===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(a));break}++n}return this.length-=n,t}},{key:s,value:function(e,r){return a(this,t(t({},r),{},{depth:0,customInspect:!1}))}}],i&&n(r.prototype,i),u&&n(r,u),Object.defineProperty(r,"prototype",{writable:!1}),e}(),su}function wu(){if(cu)return uu;function e(e,n){r(e,n),t(e)}function t(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function r(e,t){e.emit("error",t)}return cu=1,uu={destroy:function(n,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Ge(r,this,n)):Ge(r,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(r){!i&&r?o._writableState?o._writableState.errorEmitted?Ge(t,o):(o._writableState.errorEmitted=!0,Ge(e,o,r)):Ge(e,o,r):i?(Ge(t,o),i(r)):Ge(t,o)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}},uu}var yu,xu,_u,Eu,Au,Su,Nu,Cu={};function Tu(){if(yu)return Cu;yu=1;const e={};function t(t,r,n){n||(n=Error);class i extends n{constructor(e,t,n){super(function(e,t,n){return"string"==typeof r?r:r(e,t,n)}(e,t,n))}}i.prototype.name=n.name,i.prototype.code=t,e[t]=i}function r(e,t){if(Array.isArray(e)){const r=e.length;return e=e.map(e=>String(e)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}return t("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(e,t,n){let i;var o,a;let s;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s=`The ${e} ${i} ${r(t,"type")}`;else{const n=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s=`The "${e}" ${n} ${i} ${r(t,"type")}`}return s+=". Received type "+typeof n,s},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Cu.codes=e,Cu}function ku(){if(_u)return xu;_u=1;var e=Tu().codes.ERR_INVALID_OPT_VALUE;return xu={getHighWaterMark:function(t,r,n,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(r,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new e(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}}function Ou(){if(Au)return Eu;function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var t;Au=1,Eu=_,_.WritableState=x;var r={deprecate:kn()},n=vu(),i=nn.Buffer,o=(void 0!==a?a:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var s,l=wu(),u=ku().getHighWaterMark,c=Tu().codes,h=c.ERR_INVALID_ARG_TYPE,f=c.ERR_METHOD_NOT_IMPLEMENTED,d=c.ERR_MULTIPLE_CALLBACK,p=c.ERR_STREAM_CANNOT_PIPE,m=c.ERR_STREAM_DESTROYED,g=c.ERR_STREAM_NULL_VALUES,v=c.ERR_STREAM_WRITE_AFTER_END,b=c.ERR_UNKNOWN_ENCODING,w=l.errorOrDestroy;function y(){}function x(r,n,i){t=t||Ru(),r=r||{},"boolean"!=typeof i&&(i=n instanceof t),this.objectMode=!!r.objectMode,i&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=u(this,r,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===r.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new d;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(Ge(i,n),Ge(T,e,t),e._writableState.errorEmitted=!0,w(e,n)):(i(n),e._writableState.errorEmitted=!0,w(e,n),T(e,t))}(e,r,n,t,i);else{var o=N(r)||e.destroyed;o||r.corked||r.bufferProcessing||!r.bufferedRequest||S(e,r),n?Ge(A,e,r,o,i):A(e,r,o,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function _(e){var r=this instanceof(t=t||Ru());if(!r&&!s.call(_,this))return new _(e);this._writableState=new x(e,this,r),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),n.call(this)}function E(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new m("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function A(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),T(e,t)}function S(t,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(t._writev&&n&&n.next){var i=r.bufferedRequestCount,o=new Array(i),a=r.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,E(t,r,!0,r.length,o,"",a.finish),r.pendingcb++,r.lastBufferedRequest=null,a.next?(r.corkedRequestsFree=a.next,a.next=null):r.corkedRequestsFree=new e(r),r.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,c=n.encoding,h=n.callback;if(E(t,r,!1,r.objectMode?1:u.length,u,c,h),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function N(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function C(e,t){e._final(function(r){t.pendingcb--,r&&w(e,r),t.prefinished=!0,e.emit("prefinish"),T(e,t)})}function T(e,t){var r=N(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,Ge(C,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}return cn(_,n),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===_&&(e&&e._writableState instanceof x)}})):s=function(e){return e instanceof this},_.prototype.pipe=function(){w(this,new p)},_.prototype.write=function(e,t,r){var n,a=this._writableState,s=!1,l=!a.objectMode&&(n=e,i.isBuffer(n)||n instanceof o);return l&&!i.isBuffer(e)&&(e=function(e){return i.from(e)}(e)),"function"==typeof t&&(r=t,t=null),l?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof r&&(r=y),a.ending?function(e,t){var r=new v;w(e,r),Ge(t,r)}(this,r):(l||function(e,t,r,n){var i;return null===r?i=new g:"string"==typeof r||t.objectMode||(i=new h("chunk",["string","Buffer"],r)),!i||(w(e,i),Ge(n,i),!1)}(this,a,e,r))&&(a.pendingcb++,s=function(e,t,r,n,o,a){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,r));return t}(t,n,o);n!==s&&(r=!0,o="buffer",n=s)}var l=t.objectMode?1:n.length;t.length+=l;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:a,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else E(e,t,!1,l,n,o,a);return u}(this,a,l,e,t,r)),s},_.prototype.cork=function(){this._writableState.corked++},_.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||S(this,e))},_.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new b(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(_.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),_.prototype._write=function(e,t,r){r(new f("_write()"))},_.prototype._writev=null,_.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,T(e,t),r&&(t.finished?Ge(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r),this},Object.defineProperty(_.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),_.prototype.destroy=l.destroy,_.prototype._undestroy=l.undestroy,_.prototype._destroy=function(e,t){t(e)},Eu}function Ru(){if(Nu)return Su;Nu=1;var e=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};Su=a;var t=tc(),r=Ou();cn(a,t);for(var n=e(r.prototype),i=0;i<n.length;i++){var o=n[i];a.prototype[o]||(a.prototype[o]=r.prototype[o])}function a(e){if(!(this instanceof a))return new a(e);t.call(this,e),r.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",s)))}function s(){this._writableState.ended||Ge(l,this)}function l(e){e.end()}return Object.defineProperty(a.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(a.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(a.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(a.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),Su}var Du,Mu,Lu,Pu,Iu,Bu,ju,qu,Fu,Uu,zu,Wu,Hu,Vu,Gu,Yu,$u={},Xu={},Zu={get exports(){return Xu},set exports(e){Xu=e}};function Ju(){if(Mu)return $u;Mu=1;var e=(Du||(Du=1,function(e,t){var r=nn,n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=o),o.prototype=Object.create(n.prototype),i(n,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}(Zu,Xu)),Xu).Buffer,t=e.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 r(r){var n;switch(this.encoding=function(r){var n=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}}(r);if("string"!=typeof n&&(e.isEncoding===t||!t(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=o,this.end=a,n=4;break;case"utf8":this.fillLast=i,n=4;break;case"base64":this.text=s,this.end=l,n=3;break;default:return this.write=u,void(this.end=c)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(n)}function n(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){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!==r?r: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 o(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function s(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?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-r))}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function u(e){return e.toString(this.encoding)}function c(e){return e&&e.length?this.write(e):""}return $u.StringDecoder=r,r.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},r.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},r.prototype.text=function(e,t){var r=function(e,t,r){var i=t.length-1;if(i<r)return 0;var o=n(t[i]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--i<r||-2===o)return 0;if(o=n(t[i]),o>=0)return o>0&&(e.lastNeed=o-2),o;if(--i<r||-2===o)return 0;if(o=n(t[i]),o>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},r.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},$u}function Ku(){if(Pu)return Lu;Pu=1;var e=Tu().codes.ERR_STREAM_PREMATURE_CLOSE;function t(){}return Lu=function r(n,i,o){if("function"==typeof i)return r(n,null,i);i||(i={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||t);var a=i.readable||!1!==i.readable&&n.readable,s=i.writable||!1!==i.writable&&n.writable,l=function(){n.writable||c()},u=n._writableState&&n._writableState.finished,c=function(){s=!1,u=!0,a||o.call(n)},h=n._readableState&&n._readableState.endEmitted,f=function(){a=!1,h=!0,s||o.call(n)},d=function(e){o.call(n,e)},p=function(){var t;return a&&!h?(n._readableState&&n._readableState.ended||(t=new e),o.call(n,t)):s&&!u?(n._writableState&&n._writableState.ended||(t=new e),o.call(n,t)):void 0},m=function(){n.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(n)?s&&!n._writableState&&(n.on("end",l),n.on("close",l)):(n.on("complete",c),n.on("abort",p),n.req?m():n.on("request",m)),n.on("end",f),n.on("finish",c),!1!==i.error&&n.on("error",d),n.on("close",p),function(){n.removeListener("complete",c),n.removeListener("abort",p),n.removeListener("request",m),n.req&&n.req.removeListener("finish",c),n.removeListener("end",l),n.removeListener("close",l),n.removeListener("finish",c),n.removeListener("end",f),n.removeListener("error",d),n.removeListener("close",p)}},Lu}function Qu(){if(Bu)return Iu;var e;function t(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Bu=1;var r=Ku(),n=Symbol("lastResolve"),i=Symbol("lastReject"),o=Symbol("error"),a=Symbol("ended"),s=Symbol("lastPromise"),l=Symbol("handlePromise"),u=Symbol("stream");function c(e,t){return{value:e,done:t}}function h(e){var t=e[n];if(null!==t){var r=e[u].read();null!==r&&(e[s]=null,e[n]=null,e[i]=null,t(c(r,!1)))}}function f(e){Ge(h,e)}var d=Object.getPrototypeOf(function(){}),p=Object.setPrototypeOf((t(e={get stream(){return this[u]},next:function(){var e=this,t=this[o];if(null!==t)return Promise.reject(t);if(this[a])return Promise.resolve(c(void 0,!0));if(this[u].destroyed)return new Promise(function(t,r){Ge(function(){e[o]?r(e[o]):t(c(void 0,!0))})});var r,n=this[s];if(n)r=new Promise(function(e,t){return function(r,n){e.then(function(){t[a]?r(c(void 0,!0)):t[l](r,n)},n)}}(n,this));else{var i=this[u].read();if(null!==i)return Promise.resolve(c(i,!1));r=new Promise(this[l])}return this[s]=r,r}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var e=this;return new Promise(function(t,r){e[u].destroy(null,function(e){e?r(e):t(c(void 0,!0))})})}),e),d);return Iu=function(e){var h,d=Object.create(p,(t(h={},u,{value:e,writable:!0}),t(h,n,{value:null,writable:!0}),t(h,i,{value:null,writable:!0}),t(h,o,{value:null,writable:!0}),t(h,a,{value:e._readableState.endEmitted,writable:!0}),t(h,l,{value:function(e,t){var r=d[u].read();r?(d[s]=null,d[n]=null,d[i]=null,e(c(r,!1))):(d[n]=e,d[i]=t)},writable:!0}),h));return d[s]=null,r(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=d[i];return null!==t&&(d[s]=null,d[n]=null,d[i]=null,t(e)),void(d[o]=e)}var r=d[n];null!==r&&(d[s]=null,d[n]=null,d[i]=null,r(c(void 0,!0))),d[a]=!0}),e.on("readable",f.bind(null,d)),d},Iu}function ec(){if(qu)return ju;function e(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}qu=1;var n=Tu().codes.ERR_INVALID_ARG_TYPE;return ju=function(i,o,a){var s;if(o&&"function"==typeof o.next)s=o;else if(o&&o[Symbol.asyncIterator])s=o[Symbol.asyncIterator]();else{if(!o||!o[Symbol.iterator])throw new n("iterable",["Iterable"],o);s=o[Symbol.iterator]()}var l=new i(function(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach(function(t){r(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({objectMode:!0},a)),u=!1;function c(){return h.apply(this,arguments)}function h(){return h=function(t){return function(){var r=this,n=arguments;return new Promise(function(i,o){var a=t.apply(r,n);function s(t){e(a,i,o,s,l,"next",t)}function l(t){e(a,i,o,s,l,"throw",t)}s(void 0)})}}(function*(){try{var e=yield s.next(),t=e.value;e.done?l.push(null):l.push(yield t)?c():u=!1}catch(e){l.destroy(e)}}),h.apply(this,arguments)}return l._read=function(){u||(u=!0,c())},l},ju}function tc(){if(Uu)return Fu;var e;Uu=1,Fu=_,_.ReadableState=x,Zr.EventEmitter;var t=function(e,t){return e.listeners(t).length},r=vu(),n=nn.Buffer,i=(void 0!==a?a:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var o,s=dn;o=s&&s.debuglog?s.debuglog("stream"):function(){};var l,u,c,h=bu(),f=wu(),d=ku().getHighWaterMark,p=Tu().codes,m=p.ERR_INVALID_ARG_TYPE,g=p.ERR_STREAM_PUSH_AFTER_EOF,v=p.ERR_METHOD_NOT_IMPLEMENTED,b=p.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;cn(_,r);var w=f.errorOrDestroy,y=["error","close","destroy","pause","resume"];function x(t,r,n){e=e||Ru(),t=t||{},"boolean"!=typeof n&&(n=r instanceof e),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=d(this,t,"readableHighWaterMark",n),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(l||(l=Ju().StringDecoder),this.decoder=new l(t.encoding),this.encoding=t.encoding)}function _(t){if(e=e||Ru(),!(this instanceof _))return new _(t);var n=this instanceof e;this._readableState=new x(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),r.call(this)}function E(e,t,r,a,s){o("readableAddChunk",t);var l,u=e._readableState;if(null===t)u.reading=!1,function(e,t){if(o("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?C(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,T(e)))}(e,u);else if(s||(l=function(e,t){var r;o=t,n.isBuffer(o)||o instanceof i||"string"==typeof t||void 0===t||e.objectMode||(r=new m("chunk",["string","Buffer","Uint8Array"],t));var o;return r}(u,t)),l)w(e,l);else if(u.objectMode||t&&t.length>0)if("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===n.prototype||(t=function(e){return n.from(e)}(t)),a)u.endEmitted?w(e,new b):A(e,u,t,!0);else if(u.ended)w(e,new g);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?A(e,u,t,!1):k(e,u)):A(e,u,t,!1)}else a||(u.reading=!1,k(e,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function A(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&C(e)),k(e,t)}Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),_.prototype.destroy=f.destroy,_.prototype._undestroy=f.undestroy,_.prototype._destroy=function(e,t){t(e)},_.prototype.push=function(e,t){var r,i=this._readableState;return i.objectMode?r=!0:"string"==typeof e&&((t=t||i.defaultEncoding)!==i.encoding&&(e=n.from(e,t),t=""),r=!0),E(this,e,t,!1,r)},_.prototype.unshift=function(e){return E(this,e,null,!0,!1)},_.prototype.isPaused=function(){return!1===this._readableState.flowing},_.prototype.setEncoding=function(e){l||(l=Ju().StringDecoder);var t=new l(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var S=1073741824;function N(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=S?e=S:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function C(e){var t=e._readableState;o("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(o("emitReadable",t.flowing),t.emittedReadable=!0,Ge(T,e))}function T(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function k(e,t){t.readingMore||(t.readingMore=!0,Ge(O,e,t))}function O(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(o("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function R(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function D(e){o("readable nexttick read 0"),e.read(0)}function M(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function P(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function I(e){var t=e._readableState;o("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,Ge(B,t,e))}function B(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function j(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}return _.prototype.read=function(e){o("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return o("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):C(this),null;if(0===(e=N(e,t))&&t.ended)return 0===t.length&&I(this),null;var n,i=t.needReadable;return o("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&o("length less than watermark",i=!0),t.ended||t.reading?o("reading or ended",i=!1):i&&(o("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=N(r,t))),null===(n=e>0?P(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&I(this)),null!==n&&this.emit("data",n),n},_.prototype._read=function(e){w(this,new v("_read()"))},_.prototype.pipe=function(e,r){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,o("pipe count=%d opts=%j",i.pipesCount,r);var a=(!r||!1!==r.end)&&e!==ot.stdout&&e!==ot.stderr?l:m;function s(t,r){o("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,o("cleanup"),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("drain",u),e.removeListener("error",f),e.removeListener("unpipe",s),n.removeListener("end",l),n.removeListener("end",m),n.removeListener("data",h),c=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){o("onend"),e.end()}i.endEmitted?Ge(a):n.once("end",a),e.on("unpipe",s);var u=function(e){return function(){var r=e._readableState;o("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&t(e,"data")&&(r.flowing=!0,L(e))}}(n);e.on("drain",u);var c=!1;function h(t){o("ondata");var r=e.write(t);o("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==j(i.pipes,e))&&!c&&(o("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function f(r){o("onerror",r),m(),e.removeListener("error",f),0===t(e,"error")&&w(e,r)}function d(){e.removeListener("finish",p),m()}function p(){o("onfinish"),e.removeListener("close",d),m()}function m(){o("unpipe"),n.unpipe(e)}return n.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",d),e.once("finish",p),e.emit("pipe",n),i.flowing||(o("pipe resume"),n.resume()),e},_.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=j(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},_.prototype.on=function(e,t){var n=r.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,o("on readable",i.length,i.reading),i.length?C(this):i.reading||Ge(D,this))),n},_.prototype.addListener=_.prototype.on,_.prototype.removeListener=function(e,t){var n=r.prototype.removeListener.call(this,e,t);return"readable"===e&&Ge(R,this),n},_.prototype.removeAllListeners=function(e){var t=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||Ge(R,this),t},_.prototype.resume=function(){var e=this._readableState;return e.flowing||(o("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Ge(M,e,t))}(this,e)),e.paused=!1,this},_.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},_.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(o("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(o("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<y.length;a++)e.on(y[a],this.emit.bind(this,y[a]));return this._read=function(t){o("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(_.prototype[Symbol.asyncIterator]=function(){return void 0===u&&(u=Qu()),u(this)}),Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(_.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(_.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),_._fromList=P,Object.defineProperty(_.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(_.from=function(e,t){return void 0===c&&(c=ec()),c(_,e,t)}),Fu}function rc(){if(Wu)return zu;Wu=1,zu=s;var e=Tu().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,r=e.ERR_MULTIPLE_CALLBACK,n=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=e.ERR_TRANSFORM_WITH_LENGTH_0,o=Ru();function a(e,t){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(null===i)return this.emit("error",new r);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),i(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);o.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",l)}function l(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?u(this,null,null):this._flush(function(t,r){u(e,t,r)})}function u(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new i;if(e._transformState.transforming)throw new n;return e.push(null)}return cn(s,o),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,o.prototype.push.call(this,e,t)},s.prototype._transform=function(e,r,n){n(new t("_transform()"))},s.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},s.prototype._destroy=function(e,t){o.prototype._destroy.call(this,e,function(e){t(e)})},zu}function nc(){if(Yu)return Gu;var e;Yu=1;var t=Tu().codes,r=t.ERR_MISSING_ARGS,n=t.ERR_STREAM_DESTROYED;function i(e){if(e)throw e}function o(e){e()}function a(e,t){return e.pipe(t)}return Gu=function(){for(var t=arguments.length,s=new Array(t),l=0;l<t;l++)s[l]=arguments[l];var u,c=function(e){return e.length?"function"!=typeof e[e.length-1]?i:e.pop():i}(s);if(Array.isArray(s[0])&&(s=s[0]),s.length<2)throw new r("streams");var h=s.map(function(t,r){var i=r<s.length-1;return function(t,r,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var a=!1;t.on("close",function(){a=!0}),void 0===e&&(e=Ku()),e(t,{readable:r,writable:i},function(e){if(e)return o(e);a=!0,o()});var s=!1;return function(e){if(!a&&!s)return s=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new n("pipe"))}}(t,i,r>0,function(e){u||(u=e),e&&h.forEach(o),i||(h.forEach(o),c(u))})});return s.reduce(a)},Gu}!function(e,t){var r=Vr;"disable"===ot.env.READABLE_STREAM&&r?(e.exports=r.Readable,Object.assign(e.exports,r),e.exports.Stream=r):((t=e.exports=tc()).Stream=r||t,t.Readable=t,t.Writable=Ou(),t.Duplex=Ru(),t.Transform=rc(),t.PassThrough=function(){if(Vu)return Hu;Vu=1,Hu=t;var e=rc();function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return cn(t,e),t.prototype._transform=function(e,t,r){r(null,e)},Hu}(),t.finished=Ku(),t.pipeline=nc())}(pu,du);var ic=du.Transform,oc=cn;function ac(e){ic.call(this,e),this._destroyed=!1}function sc(e,t,r){r(null,e)}function lc(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=sc),"function"!=typeof n&&(n=null),e(t,r,n)}}function uc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return cc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cc(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function cc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function hc(e){var t,r,n,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:t"===e.tagName});if(!s)return null;var l="preserve"===(null===(r=s.attributes)||void 0===r?void 0:r["xml:space"])||"preserve"===(null===(n=s.attributes)||void 0===n?void 0:n.space),u="";if(s.children?u=s.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof s&&(u=s),l&&a){var c=function(e,t){for(var r,n,i=/<w:t[^>]*xml:space=["']preserve["'][^>]*>([\s\S]*?)<\/w:t>/g,o=null,a=(null===(r=t.children)||void 0===r?void 0:r.filter(function(e){return"string"==typeof e}).join(""))||"";null!==(n=i.exec(e));){var s=n[1];if(s.includes(a)||a===s.trim()){o=s;break}}return o}(a,s);null!==c&&(u=c)}if(!u||0===u.length)return null;var h=null===(i=e.children)||void 0===i?void 0:i.find(function(e){return"w:rPr"===e.tagName}),f={value:u};if(o.size&&(f.size=o.size),o.bold&&(f.bold=o.bold),h){var d,p,m,g,v,b,w,y,x,_,E,A,S,N,C=null===(d=h.children)||void 0===d?void 0:d.find(function(e){return"w:rFonts"===e.tagName});null!=C&&null!==(p=C.attributes)&&void 0!==p&&p["w:ascii"]&&(f.font=C.attributes["w:ascii"]);var T=null===(m=h.children)||void 0===m?void 0:m.find(function(e){return"w:sz"===e.tagName});null!=T&&null!==(g=T.attributes)&&void 0!==g&&g["w:val"]&&(f.size=parseInt(T.attributes["w:val"])/2),(null===(v=h.children)||void 0===v?void 0:v.find(function(e){return"w:b"===e.tagName}))&&(f.bold=!0),(null===(b=h.children)||void 0===b?void 0:b.find(function(e){return"w:i"===e.tagName}))&&(f.italic=!0),(null===(w=h.children)||void 0===w?void 0:w.find(function(e){return"w:u"===e.tagName}))&&(f.underline=!0),(null===(y=h.children)||void 0===y?void 0:y.find(function(e){return"w:strike"===e.tagName}))&&(f.strikeout=!0);var k=null===(x=h.children)||void 0===x?void 0:x.find(function(e){return"w:color"===e.tagName});if(null!=k&&null!==(_=k.attributes)&&void 0!==_&&_["w:val"]){var O=k.attributes["w:val"];/^[0-9A-Fa-f]{6}$/.test(O)?f.color="#"+O:f.color=O}var R=null===(E=h.children)||void 0===E?void 0:E.find(function(e){return"w:highlight"===e.tagName});if(null!=R&&null!==(A=R.attributes)&&void 0!==A&&A["w:val"]){var D=R.attributes["w:val"];/^[0-9A-Fa-f]{6}$/.test(D)?f.highlight="#"+D:f.highlight=D}var M=null===(S=h.children)||void 0===S?void 0:S.find(function(e){return"w:vertAlign"===e.tagName});if(null!=M&&null!==(N=M.attributes)&&void 0!==N&&N["w:val"]){var L=M.attributes["w:val"].toLowerCase();"superscript"===L?f.type="superscript":"subscript"===L&&(f.type="subscript")}}return f}function fc(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=[],a=uc((null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(a.s();!(r=a.n()).done;){var s=hc(r.value,n,i);s&&o.push(s)}}catch(e){a.e(e)}finally{a.f()}return o}function dc(e){var t,r,n,i,o=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!o)return null;var a=null===(r=o.children)||void 0===r?void 0:r.find(function(e){return"w:spacing"===e.tagName});if(!a)return null;var s=null===(n=a.attributes)||void 0===n?void 0:n["w:line"];if(!s)return null;if("auto"===s||"Auto"===s)return null;null===(i=a.attributes)||void 0===i||i["w:lineRule"];var l=parseInt(s,10);return isNaN(l)?null:l/240}function pc(e){var t,r,n=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!n)return{};var i={},o=null===(r=n.children)||void 0===r?void 0:r.find(function(e){return"w:outlineLvl"===e.tagName});if(o){var a,s=parseInt((null===(a=o.attributes)||void 0===a?void 0:a["w:val"])||"0");s>=0&&s<6&&(i.size=[26,24,22,20,18,16][s],i.bold=!0)}return i}oc(ac,ic),ac.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var t=this;Ge(function(){e&&t.emit("error",e),t.emit("close")})}},fu.exports=lc(function(e,t,r){var n=new ac(e);return n._transform=t,r&&(n._flush=r),n}),hu.ctor=lc(function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=Object.assign({},e,t),ac.call(this,this.options)}return oc(n,ac),n.prototype._transform=t,r&&(n.prototype._flush=r),n}),hu.obj=lc(function(e,t,r){var n=new ac(Object.assign({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n});var mc="left",gc="center",vc="right",bc="alignment",wc="justify";function yc(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!i)return null;var o=null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:jc"===e.tagName});if(!o)return null;var a=null===(n=o.attributes)||void 0===n?void 0:n["w:val"];if(!a)return null;var s=a.toLowerCase();return{left:mc,center:gc,right:vc,both:bc,justify:wc,distribute:wc,start:mc,end:vc}[s]||null}function xc(e){var t=function(e){var t,r,n,i=null==e||null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!i)return null;var o=null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:outlineLvl"===e.tagName});if(o){var a,s=null===(a=o.attributes)||void 0===a?void 0:a["w:val"];if(void 0!==s)return{0:"first",1:"second",2:"third",3:"fourth",4:"fifth",5:"sixth"}[s]||null}var l=null===(n=i.children)||void 0===n?void 0:n.find(function(e){return"w:pStyle"===e.tagName});if(l){var u,c=null===(u=l.attributes)||void 0===u?void 0:u["w:val"];if(c){if(/^[2-7]$/.test(c))return{2:"first",3:"second",4:"third",5:"fourth",6:"fifth",7:"sixth"}[c]||null;var h=c.match(/(?:Heading|heading|标题)(\s*)(\d)/i);if(h){var f=parseInt(h[2])-1;if(f>=0&&f<6)return["first","second","third","fourth","fifth","sixth"][f]}}}return null}(e);if(!t)return null;var r=fc(e,pc(e));if(0===r.length)return null;var n=yc(e);n&&r.forEach(function(e){e.rowFlex=n});var i={value:"",type:"title",valueList:r,level:t},o=dc(e);return null!==o&&r.forEach(function(e){e.rowMargin=o}),i}function _c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ec(e){return Ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ec(e)}function Ac(e){var t=function(e,t){if("object"!=Ec(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ec(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ec(t)?t:t+""}function Sc(e,t,r){return(t=Ac(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Cc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Cc(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function Cc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Tc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function kc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tc(Object(r),!0).forEach(function(t){Sc(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Oc(e){var t,r,n,i=null==e||null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!i)return!0;if(null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:outlineLvl"===e.tagName}))return!1;var o=null===(n=i.children)||void 0===n?void 0:n.find(function(e){return"w:pStyle"===e.tagName});if(o){var a,s=null===(a=o.attributes)||void 0===a?void 0:a["w:val"];if(s){if(/^[2-7]$/.test(s))return!1;if(/(?:Heading|heading|标题)(\s*)(\d)/i.test(s))return!1}}return!0}function Rc(e){var t,r=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:r"===e.tagName});return!r||0===r.length||!r.some(function(e){var t,r=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:t"===e.tagName});if(!r)return!1;var n="";return r.children?n=r.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof r&&(n=r),n.trim().length>0})}function Dc(e){var t={value:"\n"},r=yc(e);r&&(t.rowFlex=r);var n=dc(e);return null!==n&&(t.rowMargin=n),t}function Mc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Oc(e))return null;if(Rc(e))return Dc(e);var r=fc(e,{},t);if(0===r.length)return Dc(e);if(1===r.length&&1===Object.keys(r[0]).length){var n={value:r[0].value,type:"text"},i=yc(e);i&&(n.rowFlex=i);var o=dc(e);return null!==o&&(n.rowMargin=o),n}var a=r[0];if(r.every(function(e){var t=Object.keys(a).filter(function(e){return"value"!==e}),r=Object.keys(e).filter(function(e){return"value"!==e});return t.length===r.length&&t.every(function(t){return a[t]===e[t]})})){var s=kc({value:r.map(function(e){return e.value}).join(""),type:"text"},Object.fromEntries(Object.entries(a).filter(function(e){return"value"!==_c(e,1)[0]}))),l=yc(e);l&&(s.rowFlex=l);var u=dc(e);return null!==u&&(s.rowMargin=u),s}var c=kc({value:r[0].value,type:"text"},Object.fromEntries(Object.entries(r[0]).filter(function(e){return"value"!==_c(e,1)[0]}))),h=yc(e);h&&(c.rowFlex=h);var f=dc(e);return null!==f&&(c.rowMargin=f),c}function Lc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Oc(e))return null;if(Rc(e))return[Dc(e)];var r=e.children||[],n=[],i=[],o=r.find(function(e){return"w:pPr"===e.tagName}),a=0;if(o){var s,l=null===(s=o.children)||void 0===s?void 0:s.find(function(e){return"w:ind"===e.tagName});if(l){var u,c,h=null===(u=l.attributes)||void 0===u?void 0:u["w:firstLine"],f=null===(c=l.attributes)||void 0===c?void 0:c["w:left"],d=r.some(function(e){var t;return"w:tab"===e.tagName||"w:r"===e.tagName&&(null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:tab"===e.tagName}))});d||(f&&parseInt(f,10)>0&&a++,h&&parseInt(h,10)>0&&a++,0===a&&h&&parseInt(h,10)>0&&(a=1))}}for(var p=0;p<a;p++)n.push({value:"",type:"tab"});var m,g=pc(e),v=Nc(r);try{for(v.s();!(m=v.n()).done;){var b=m.value;if("w:pPr"!==b.tagName)if("w:tab"!==b.tagName){if("w:r"===b.tagName){var w,y,x=null===(w=b.children)||void 0===w?void 0:w.find(function(e){return"w:tab"===e.tagName}),_=null===(y=b.children)||void 0===y?void 0:y.find(function(e){return"w:t"===e.tagName});if(x){if(i.length>0){var E=Pc(i,e);E&&n.push(E),i=[]}n.push({value:"",type:"tab"})}if(_){var A=hc(b,g,t);if(A)if("superscript"===A.type||"subscript"===A.type){if(i.length>0){var S=Pc(i,e);S&&n.push(S),i=[]}var N=kc({value:A.value,type:A.type},Object.fromEntries(Object.entries(A).filter(function(e){var t=_c(e,1)[0];return"value"!==t&&"type"!==t})));n.push(N)}else i.push(A)}}}else{if(i.length>0){var C=Pc(i,e);C&&n.push(C),i=[]}n.push({value:"",type:"tab"})}}}catch(e){v.e(e)}finally{v.f()}if(i.length>0){var T=Pc(i,e);T&&n.push(T)}return n.length>0?n:null}function Pc(e,t){if(0===e.length)return null;if(1===e.length&&1===Object.keys(e[0]).length){var r={value:e[0].value,type:"text"},n=yc(t);n&&(r.rowFlex=n);var i=dc(t);return null!==i&&(r.rowMargin=i),r}var o=e.map(function(e){return e.value}).join(""),a=e[0],s=kc({value:o,type:"text"},Object.fromEntries(Object.entries(a).filter(function(e){return"value"!==_c(e,1)[0]}))),l=yc(t);l&&(s.rowFlex=l);var u=dc(t);return null!==u&&(s.rowMargin=u),s}var Ic=72/914400;function Bc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function jc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bc(Object(r),!0).forEach(function(t){Sc(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function qc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Fc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fc(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function Fc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Uc(e){var t="string"==typeof e?parseInt(e,10):e;return isNaN(t)?0:t/20}function zc(e){var t,r,n,i,o=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:tcPr"===e.tagName});if(!o)return{colspan:1,rowspan:1,isVMergeStart:!1};var a=null===(r=o.children)||void 0===r?void 0:r.find(function(e){return"w:gridSpan"===e.tagName}),s=null===(n=o.children)||void 0===n?void 0:n.find(function(e){return"w:vMerge"===e.tagName}),l=1,u=1,c=!1;if(null!=a&&null!==(i=a.attributes)&&void 0!==i&&i["w:val"]&&(l=parseInt(a.attributes["w:val"],10)||1),s){var h,f=null===(h=s.attributes)||void 0===h?void 0:h["w:val"];if(f&&"restart"!==f){if("continue"===f)return null}else c=!0,u=1}return{colspan:l,rowspan:u,isVMergeStart:c}}function Wc(e,t,r,n){for(var i=1,o=t+1;o<e.length;o++){var a,s,l=0,u=!1,c=qc((null===(a=e[o].children)||void 0===a?void 0:a.filter(function(e){return"w:tc"===e.tagName}))||[]);try{for(c.s();!(s=c.n()).done;){var h,f,d,p,m=null===(h=s.value.children)||void 0===h?void 0:h.find(function(e){return"w:tcPr"===e.tagName}),g=null==m||null===(f=m.children)||void 0===f?void 0:f.find(function(e){return"w:vMerge"===e.tagName}),v=null==m||null===(d=m.children)||void 0===d?void 0:d.find(function(e){return"w:gridSpan"===e.tagName}),b=null!=v&&null!==(p=v.attributes)&&void 0!==p&&p["w:val"]&&parseInt(v.attributes["w:val"],10)||1;if(l<=r&&l+b>r){if(!g)break;var w,y=null===(w=g.attributes)||void 0===w?void 0:w["w:val"];if("continue"===y||!y&&l===r){u=!0;break}}l+=b}}catch(e){c.e(e)}finally{c.f()}if(!u)break;i++}return i}function Hc(e){var t,r,n=[],i=qc((null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:p"===e.tagName}))||[]);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=fc(o);if(0!==a.length){var s=a.map(function(e){return e.value}).join("");if(1===a.length&&1===Object.keys(a[0]).length)n.push({value:s});else{var l=a[0],u=jc({value:s,type:"text"},Object.fromEntries(Object.entries(l).filter(function(e){return"value"!==_c(e,1)[0]}))),c=yc(o);c&&(u.rowFlex=c),n.push(u)}}else n.push({value:"\n"})}}catch(e){i.e(e)}finally{i.f()}return n.length>0?n:[{value:""}]}function Vc(e,t,r){var n,i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=null===(n=e.children)||void 0===n?void 0:n.find(function(e){return"w:trPr"===e.tagName}),s=null,l=null;if(a){var u,c,h=null===(u=a.children)||void 0===u?void 0:u.find(function(e){return"w:trHeight"===e.tagName});if(null!=h&&null!==(c=h.attributes)&&void 0!==c&&c["w:val"]){var f=Uc(h.attributes["w:val"]);s=f,l=f}}var d,p=[],m=0,g=qc((null===(i=e.children)||void 0===i?void 0:i.filter(function(e){return"w:tc"===e.tagName}))||[]);try{for(g.s();!(d=g.n()).done;){for(var v=d.value;o[m]&&o[m]>0;)o[m]--,m++;var b=zc(v);if(null!==b){var w=Hc(v),y=b.rowspan;if(b.isVMergeStart&&(y=Wc(r,t,m,b.colspan)),y>1)for(var x=0;x<b.colspan;x++)o[m+x]||(o[m+x]=y-1);var _={colspan:b.colspan,rowspan:y,value:w};p.push(_),m+=b.colspan}}}catch(e){g.e(e)}finally{g.f()}if(0===p.length)return null;var E={tdList:p};return null!==s&&(E.height=s),null!==l&&(E.minHeight=l),E}function Gc(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:tblPr"===e.tagName}),o=null===(r=e.children)||void 0===r?void 0:r.find(function(e){return"w:tblGrid"===e.tagName}),a=(null===(n=e.children)||void 0===n?void 0:n.filter(function(e){return"w:tr"===e.tagName}))||[];if(0===a.length)return null;var s,l,u=null;if(i){var c,h,f=null===(c=i.children)||void 0===c?void 0:c.find(function(e){return"w:tblW"===e.tagName});if(null!=f&&null!==(h=f.attributes)&&void 0!==h&&h["w:w"]){var d=f.attributes["w:type"],p=f.attributes["w:w"];"dxa"===d?u=Uc(p):"pct"===d||("nil"===d||"auto"===d?u=null:(l="string"==typeof(s=p)?parseInt(s,10):s,u=isNaN(l)?0:l*Ic))}}var m=[],g=0;if(o){var v,b,w=qc((null===(v=o.children)||void 0===v?void 0:v.filter(function(e){return"w:gridCol"===e.tagName}))||[]);try{for(w.s();!(b=w.n()).done;){var y,x=null===(y=b.value.attributes)||void 0===y?void 0:y["w:w"];if(x){var _=Uc(x);m.push({width:_}),g+=_}}}catch(e){w.e(e)}finally{w.f()}}null===u&&g>0&&(u=g);for(var E=[],A=[],S=0;S<a.length;S++){for(var N=a[S],C=0;C<A.length;C++)A[C]>0&&A[C]--;var T=Vc(N,S,a,A);T&&E.push(T)}if(0===E.length)return null;for(var k=0,O=0,R=E;O<R.length;O++){var D=R[O];k+=D.height||D.minHeight||0}var M={value:"",type:"table",trList:E};return null!==u&&(M.width=u),k>0&&(M.height=k),m.length>0&&(M.colgroup=m),M}function Yc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return $c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function $c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Xc(e){if(!function(e){var t=e.children||[],r=t.filter(function(e){return"w:tab"===e.tagName}),n=t.filter(function(e){return"w:r"===e.tagName})||[];if(t.filter(function(e){return"w:tab"!==e.tagName&&"w:r"!==e.tagName&&"w:pPr"!==e.tagName}).length>0)return!1;if(r.length>0&&0===n.length)return!0;if(n.length>0){var i,o=Yc(n);try{for(o.s();!(i=o.n()).done;){var a,s,l=i.value,u=null===(a=l.children)||void 0===a?void 0:a.find(function(e){return"w:tab"===e.tagName}),c=null===(s=l.children)||void 0===s?void 0:s.find(function(e){return"w:t"===e.tagName});if(c){var h="";if(c.children?h=c.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof c&&(h=c),""!==h.trim())return!1}if(!u&&!c&&(l.children||[]).some(function(e){return"string"!=typeof e&&"w:rPr"!==e.tagName&&"w:tab"!==e.tagName&&"w:t"!==e.tagName}))return!1}}catch(e){o.e(e)}finally{o.f()}var f=n.some(function(e){var t;return null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:tab"===e.tagName})});return r.length>0||f}return!1}(e))return null;var t={value:"",type:"tab"},r=yc(e);return r&&(t.rowFlex=r),t}function Zc(e){var t=e.children||[];if(t.filter(function(e){return"w:tab"===e.tagName}).length>0)return!0;var r=t.filter(function(e){return"w:r"===e.tagName})||[];if(r.some(function(e){var t;return null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:tab"===e.tagName})}))return!0;var n=t.find(function(e){return"w:pPr"===e.tagName});if(n){var i,o=null===(i=n.children)||void 0===i?void 0:i.find(function(e){return"w:ind"===e.tagName});if(o){var a,s=null===(a=o.attributes)||void 0===a?void 0:a["w:firstLine"];if(s&&parseInt(s,10)>0)if(r.some(function(e){var t;return null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:t"===e.tagName})}))return!0}}return!1}function Jc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Kc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kc(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function Kc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Qc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qc(Object(r),!0).forEach(function(t){Sc(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function th(e){var t={value:"\n"},r=yc(e);r&&(t.rowFlex=r);var n=dc(e);return null!==n&&(t.rowMargin=n),t}function rh(e,t){if(0===e.length)return null;if(1===e.length&&1===Object.keys(e[0]).length){var r={value:e[0].value,type:"text"},n=yc(t);n&&(r.rowFlex=n);var i=dc(t);return null!==i&&(r.rowMargin=i),r}var o=e.map(function(e){return e.value}).join(""),a=e[0],s=eh({value:o,type:"text"},Object.fromEntries(Object.entries(a).filter(function(e){return"value"!==_c(e,1)[0]}))),l=yc(t);l&&(s.rowFlex=l);var u=dc(t);return null!==u&&(s.rowMargin=u),s}function nh(e){var t;return((null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:r"===e.tagName}))||[]).some(function(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:rPr"===e.tagName});if(!i)return!1;var o=null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:vertAlign"===e.tagName});if(!o)return!1;var a=null===(n=o.attributes)||void 0===n||null===(n=n["w:val"])||void 0===n?void 0:n.toLowerCase();return"superscript"===a||"subscript"===a})}function ih(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!function(e){var t,r,n,i=null==e||null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!i)return!0;if(null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:outlineLvl"===e.tagName}))return!1;var o=null===(n=i.children)||void 0===n?void 0:n.find(function(e){return"w:pStyle"===e.tagName});if(o){var a,s=null===(a=o.attributes)||void 0===a?void 0:a["w:val"];if(s){if(/^[2-7]$/.test(s))return!1;if(/(?:Heading|heading|标题)(\s*)(\d)/i.test(s))return!1}}return!0}(e))return null;if(function(e){var t,r=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:r"===e.tagName});return!r||0===r.length||!r.some(function(e){var t,r=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:t"===e.tagName});if(!r)return!1;var n="";return r.children?n=r.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof r&&(n=r),n.trim().length>0})}(e))return[th(e)];var r=fc(e,pc(e),t);if(0===r.length)return[th(e)];var n,i=[],o=[],a=Jc(r);try{for(a.s();!(n=a.n()).done;){var s=n.value;if("superscript"===s.type||"subscript"===s.type){if(o.length>0){var l=rh(o,e);l&&i.push(l),o=[]}var u=eh({value:s.value,type:s.type},Object.fromEntries(Object.entries(s).filter(function(e){var t=_c(e,1)[0];return"value"!==t&&"type"!==t})));i.push(u)}else o.push(s)}}catch(e){a.e(e)}finally{a.f()}if(o.length>0){var c=rh(o,e);c&&i.push(c)}return i.length>0?i:null}function oh(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!i)return!1;var o=null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:pBdr"===e.tagName});return!!o&&!!(null===(n=o.children)||void 0===n?void 0:n.find(function(e){return"w:bottom"===e.tagName}))}function ah(e){var t,r,n,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:554;if(!oh(e))return null;var s=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!s)return null;var l=null===(r=s.children)||void 0===r?void 0:r.find(function(e){return"w:pBdr"===e.tagName});if(!l)return null;var u=null===(n=l.children)||void 0===n?void 0:n.find(function(e){return"w:bottom"===e.tagName});if(!u)return null;var c={value:"\n",type:"separator"},h=function(e){if(!e)return[];var t=e.toLowerCase();return"single"===t||"thick"===t?[]:"wave"===t?[1,1]:"dashed"===t?[3,1]:"double"===t?[4,4]:"dotted"===t?[7,3,3,3]:"thinthickthinmediumgap"===t?[6,2,2,2,2,2]:"dotDash"===t||"dotdash"===t?[4,4]:"dotDotDash"===t||"dotdotdash"===t?[7,3,3,3]:[]}(null===(i=u.attributes)||void 0===i?void 0:i["w:val"]);c.dashArray=h,c.width=a;var f=null===(o=u.attributes)||void 0===o?void 0:o["w:color"];f&&"auto"!==f&&(c.color=f);var d=yc(e);return d&&(c.rowFlex=d),c}function sh(e){var t,r,n=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});return!!n&&!!(null===(r=n.children)||void 0===r?void 0:r.find(function(e){return"w:numPr"===e.tagName}))}function lh(e){var t,r,n,i,o=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!o)return null;var a=null===(r=o.children)||void 0===r?void 0:r.find(function(e){return"w:numPr"===e.tagName});if(!a)return null;var s=null===(n=a.children)||void 0===n?void 0:n.find(function(e){return"w:numId"===e.tagName});if(!s)return null;var l=null===(i=s.attributes)||void 0===i?void 0:i["w:val"];return l&&"0"!==l?String(l):null}function uh(e){var t,r,n,i,o=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!o)return 0;var a=null===(r=o.children)||void 0===r?void 0:r.find(function(e){return"w:numPr"===e.tagName});if(!a)return 0;var s=null===(n=a.children)||void 0===n?void 0:n.find(function(e){return"w:ilvl"===e.tagName});return s?parseInt((null===(i=s.attributes)||void 0===i?void 0:i["w:val"])||"0",10):0}function ch(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=fc(e,pc(e),t);if(0===r.length)return null;var n={value:"\n"+r.map(function(e){return e.value}).join("")},i=yc(e);i&&(n.rowFlex=i);var o=dc(e);if(null!==o&&(n.rowMargin=o),r.length>0){var a=r[0];Object.keys(a).forEach(function(e){"value"!==e&&(n[e]=a[e])})}return n}function hh(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(t>=e.length)return null;var i=e[t];if(!sh(i))return null;var o=lh(i),a=uh(i);if(!o||"0"===o)return null;for(var s=function(e,t){if(!e||!t)return null;var r=e.match(new RegExp('<w:num w:numId="'.concat(t,'">[\\s\\S]*?<w:abstractNumId w:val="(\\d+)"')));if(!r)return null;var n=r[1],i=e.match(new RegExp('<w:abstractNum w:abstractNumId="'.concat(n,'"[\\s\\S]*?<w:lvl w:ilvl="0"[\\s\\S]*?<w:numFmt w:val="([^"]+)"')));if(!i)return null;var o=i[1],a="ul",s="disc";if("decimal"===o||"decimalZero"===o||"upperRoman"===o||"lowerRoman"===o||"upperLetter"===o||"lowerLetter"===o)a="ol",s="decimal";else if("bullet"===o){var l=e.match(new RegExp('<w:abstractNum w:abstractNumId="'.concat(n,'"[\\s\\S]*?<w:lvl w:ilvl="0"[\\s\\S]*?<w:lvlText w:val="([^"]+)"')));if(l){var u=l[1];u.includes("●")||u.includes("•")||u.includes("·")?s="disc":u.includes("○")||u.includes("◦")?s="circle":(u.includes("■")||u.includes("□"))&&(s="square")}}return{listType:a,listStyle:s}}(r,o),l=(null==s?void 0:s.listType)||"ul",u=(null==s?void 0:s.listStyle)||"disc",c=[],h=t;h<e.length;){var f=e[h];if(!sh(f))break;var d=lh(f),p=uh(f);if(!d||"0"===d||d!==o||p!==a)break;var m=ch(f,n);m&&c.push(m),h++}if(0===c.length)return null;var g=c.map(function(e){return e.value.substring(1)}).join("\n"),v={value:"\n"+g};if(c.length>0){var b=c[0];Object.keys(b).forEach(function(e){if("value"!==e){var t=c.every(function(t){return t[e]===b[e]});t&&(v[e]=b[e])}})}return{value:"",type:"list",valueList:[v],listType:l,listStyle:u,processedCount:c.length}}function fh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function dh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fh(Object(r),!0).forEach(function(t){Sc(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fh(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ph(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return mh(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mh(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function mh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function gh(e){var t,r,n=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:hyperlink"===e.tagName});if(n&&n.length>0)return!0;var i,o=ph((null===(r=e.children)||void 0===r?void 0:r.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(o.s();!(i=o.n()).done;){var a,s,l=i.value;if(null===(a=l.children)||void 0===a?void 0:a.find(function(e){return"w:hyperlink"===e.tagName}))return!0;var u,c=null===(s=l.children)||void 0===s?void 0:s.find(function(e){return"w:instrText"===e.tagName});if(c)if(((null===(u=c.children)||void 0===u?void 0:u.join(""))||"").includes("HYPERLINK"))return!0}}catch(e){o.e(e)}finally{o.f()}return!1}function vh(e){if(!e)return null;var t=e.replace(/"/g,'"'),r=t.match(/HYPERLINK\s+"([^"]+)"/);if(r)return r[1];var n=t.match(/HYPERLINK\s+\\l\s+"([^"]+)"/);return n?"#"+n[1]:null}function bh(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=null,o=[],a=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:hyperlink"===e.tagName});if(a&&a.length>0){var s,l,u,c=a[0],h=null===(s=c.attributes)||void 0===s?void 0:s["r:id"],f=null===(l=c.attributes)||void 0===l?void 0:l["w:anchor"];h&&r?i=function(e,t){if(!e||!t)return null;var r=e.match(new RegExp('<Relationship[^>]*Id="'.concat(t,'"[^>]*Target="([^"]+)"')));return r?r[1]:null}(r,h):f&&(i="#"+f),o=(null===(u=c.children)||void 0===u?void 0:u.filter(function(e){return"w:r"===e.tagName}))||[]}else for(var d,p=(null===(d=e.children)||void 0===d?void 0:d.filter(function(e){return"w:r"===e.tagName}))||[],m=!1,g=0;g<p.length;g++){var v,b,w,y=p[g],x=null===(v=y.children)||void 0===v?void 0:v.find(function(e){return"w:fldChar"===e.tagName}),_=null===(b=y.children)||void 0===b?void 0:b.find(function(e){return"w:instrText"===e.tagName});if(_){var E,A=(null===(E=_.children)||void 0===E?void 0:E.join(""))||"";A.includes("HYPERLINK")&&(i=vh(A))}if(x){var S,N=null===(S=x.attributes)||void 0===S?void 0:S["w:fldCharType"];if("separate"===N)m=!0;else if("end"===N)break}if(m&&i)(null===(w=y.children)||void 0===w?void 0:w.some(function(e){return"w:fldChar"===e.tagName}))||o.push(y)}if(!i)return null;var C=pc(e),T=[];if(o.length>0){var k,O=ph(o);try{for(O.s();!(k=O.n()).done;){var R=hc(k.value,C,n);R&&R.value&&T.push(dh({value:R.value},Object.fromEntries(Object.entries(R).filter(function(e){return"value"!==_c(e,1)[0]}))))}}catch(e){O.e(e)}finally{O.f()}}else{var D,M,L=ph((null===(D=e.children)||void 0===D?void 0:D.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(L.s();!(M=L.n()).done;){var P,I,B=M.value,j=null===(P=B.children)||void 0===P?void 0:P.some(function(e){return"w:fldChar"===e.tagName}),q=null===(I=B.children)||void 0===I?void 0:I.some(function(e){return"w:instrText"===e.tagName});if(!j&&!q){var F=hc(B,C,n);F&&F.value&&T.push(dh({value:F.value},Object.fromEntries(Object.entries(F).filter(function(e){return"value"!==_c(e,1)[0]}))))}}}catch(e){L.e(e)}finally{L.f()}}if(0===T.length)return null;var U={value:"",type:"hyperlink",url:i,valueList:T},z=yc(e);return z&&(U.rowFlex=z),U}function wh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function yh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wh(Object(r),!0).forEach(function(t){Sc(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wh(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function xh(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return _h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function _h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Eh(e,t){if(!e||!t)return null;var r=e.match(new RegExp('<Relationship[^>]*Id="'.concat(t,'"[^>]*Type="[^"]*image[^"]*"[^>]*Target="([^"]+)"')));return r?r[1]:null}function Ah(e){var t,r,n,i,o,a,s,l,u,c=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"wp:inline"===e.tagName}),h=null===(r=e.children)||void 0===r?void 0:r.find(function(e){return"wp:anchor"===e.tagName}),f=c||h;if(!f)return null;var d=null===(n=f.children)||void 0===n?void 0:n.find(function(e){return"a:graphic"===e.tagName});if(!d)return null;var p=null===(i=d.children)||void 0===i?void 0:i.find(function(e){return"a:graphicData"===e.tagName});if(!p)return null;var m=null===(o=p.children)||void 0===o?void 0:o.find(function(e){return"pic:pic"===e.tagName});if(!m)return null;var g=null===(a=m.children)||void 0===a?void 0:a.find(function(e){return"pic:blipFill"===e.tagName});if(!g)return null;var v=null===(s=g.children)||void 0===s?void 0:s.find(function(e){return"a:blip"===e.tagName});if(!v)return null;var b=null===(l=v.attributes)||void 0===l?void 0:l["r:embed"],w=null===(u=v.attributes)||void 0===u?void 0:u["r:link"];return b||w||null}function Sh(e){var t,r,n,i,o,a=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"wp:inline"===e.tagName}),s=null===(r=e.children)||void 0===r?void 0:r.find(function(e){return"wp:anchor"===e.tagName}),l=a||s;if(!l)return null;var u=null===(n=l.children)||void 0===n?void 0:n.find(function(e){return"wp:extent"===e.tagName});if(!u)return null;var c=null===(i=u.attributes)||void 0===i?void 0:i.cx,h=null===(o=u.attributes)||void 0===o?void 0:o.cy;return c&&h?{width:Math.round(parseInt(c)*Ic*10)/10,height:Math.round(parseInt(h)*Ic*10)/10}:null}function Nh(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:drawing"===e.tagName}),o=null===(r=e.children)||void 0===r?void 0:r.filter(function(e){return"w:pict"===e.tagName});if(i&&i.length>0||o&&o.length>0)return!0;var a,s=xh((null===(n=e.children)||void 0===n?void 0:n.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(s.s();!(a=s.n()).done;){var l;if(null===(l=a.value.children)||void 0===l?void 0:l.find(function(e){return"w:drawing"===e.tagName}))return!0}}catch(e){s.e(e)}finally{s.f()}return!1}function Ch(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:drawing"===e.tagName}),o=null===(r=e.children)||void 0===r?void 0:r.filter(function(e){return"w:pict"===e.tagName});if(i&&i.length>0||o&&o.length>0){var a,s,l=xh((null===(a=e.children)||void 0===a?void 0:a.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(l.s();!(s=l.n()).done;){var u,c=null===(u=s.value.children)||void 0===u?void 0:u.find(function(e){return"w:t"===e.tagName});if(c){var h="";if(c.children?h=c.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof c&&(h=c),h.trim().length>0)return!1}}}catch(e){l.e(e)}finally{l.f()}return!0}var f,d=!1,p=!1,m=xh((null===(n=e.children)||void 0===n?void 0:n.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(m.s();!(f=m.n()).done;){var g,v,b=f.value;(null===(g=b.children)||void 0===g?void 0:g.find(function(e){return"w:drawing"===e.tagName}))&&(d=!0);var w=null===(v=b.children)||void 0===v?void 0:v.find(function(e){return"w:t"===e.tagName});if(w){var y="";w.children?y=w.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof w&&(y=w),y.trim().length>0&&(p=!0)}}}catch(e){m.e(e)}finally{m.f()}return d&&!p}function Th(e,t,r,n){return kh.apply(this,arguments)}function kh(){return(kh=o(k.mark(function e(t,r,n,i){var o,a,s,l,u,c,h,f,d,p,m;return k.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=Ah(t)){e.next=1;break}return e.abrupt("return",null);case 1:if(s=null,n&&(s=Eh(n,a)),s){e.next=2;break}return e.abrupt("return",null);case 2:if(l=s.startsWith("word/")?s:"word/".concat(s),u=r.file(l)){e.next=3;break}return e.abrupt("return",null);case 3:return e.next=4,u.async("base64");case 4:if(c=e.sent){e.next=5;break}return e.abrupt("return",null);case 5:return h=null===(o=l.split(".").pop())||void 0===o?void 0:o.toLowerCase(),f="data:".concat({png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",bmp:"image/bmp",webp:"image/webp"}[h]||"image/png",";base64,").concat(c),d=Sh(t),p=yc(i),m={value:f,type:"image",width:(null==d?void 0:d.width)||0,height:(null==d?void 0:d.height)||0},p&&(m.rowFlex=p),e.abrupt("return",m);case 6:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Oh(e,t){return Rh.apply(this,arguments)}function Rh(){return Rh=o(k.mark(function e(t,r){var n,i,o,a,s,l,u,c,h,f,d,p=arguments;return k.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p.length>2&&void 0!==p[2]?p[2]:null,Nh(t)){e.next=1;break}return e.abrupt("return",null);case 1:i=[],o=t.children||[],a=xh(o),e.prev=2,a.s();case 3:if((s=a.n()).done){e.next=8;break}if("w:drawing"!==(l=s.value).tagName){e.next=5;break}return e.next=4,Th(l,r,n,t);case 4:(u=e.sent)&&i.push(u),e.next=7;break;case 5:if("w:r"!==l.tagName){e.next=7;break}if(h=null===(c=l.children)||void 0===c?void 0:c.find(function(e){return"w:drawing"===e.tagName}),!h){e.next=7;break}return e.next=6,Th(h,r,n,t);case 6:(f=e.sent)&&i.push(f);case 7:e.next=3;break;case 8:e.next=10;break;case 9:e.prev=9,d=e.catch(2),a.e(d);case 10:return e.prev=10,a.f(),e.finish(10);case 11:if(0!==i.length){e.next=12;break}return e.abrupt("return",null);case 12:return e.abrupt("return",i);case 13:case"end":return e.stop()}},e,null,[[2,9,10,11]])})),Rh.apply(this,arguments)}function Dh(e,t){return Mh.apply(this,arguments)}function Mh(){return Mh=o(k.mark(function e(t,r){var n,i,o,a,s,l,u,c,h,f,d,p,m,g,v,b,w,y,x,_,E,A,S,N,C=arguments;return k.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=C.length>2&&void 0!==C[2]?C[2]:null,i=C.length>3&&void 0!==C[3]?C[3]:null,Nh(t)){e.next=1;break}return e.abrupt("return",null);case 1:o=[],a=t.children||[],s=pc(t),l=xh(a),e.prev=2,l.s();case 3:if((u=l.n()).done){e.next=11;break}if("w:pPr"!==(c=u.value).tagName){e.next=4;break}return e.abrupt("continue",10);case 4:if("w:tab"!==c.tagName){e.next=5;break}return h={value:"",type:"tab"},(f=yc(t))&&(h.rowFlex=f),o.push(h),e.abrupt("continue",10);case 5:if("w:drawing"!==c.tagName){e.next=7;break}return e.next=6,Th(c,r,n,t);case 6:return(d=e.sent)&&o.push(d),e.abrupt("continue",10);case 7:if("w:r"!==c.tagName){e.next=10;break}if(v=null===(p=c.children)||void 0===p?void 0:p.find(function(e){return"w:drawing"===e.tagName}),!v){e.next=9;break}return e.next=8,Th(v,r,n,t);case 8:return(b=e.sent)&&o.push(b),e.abrupt("continue",10);case 9:w=null===(m=c.children)||void 0===m?void 0:m.find(function(e){return"w:tab"===e.tagName}),w&&(y={value:"",type:"tab"},(x=yc(t))&&(y.rowFlex=x),o.push(y)),_=null===(g=c.children)||void 0===g?void 0:g.find(function(e){return"w:t"===e.tagName}),_&&(E=hc(c,s,i))&&E.value&&""!==E.value.trim()&&(A=yh({value:E.value,type:"text"},Object.fromEntries(Object.entries(E).filter(function(e){var t=_c(e,1)[0];return"value"!==t&&"type"!==t}))),(S=yc(t))&&(A.rowFlex=S),o.push(A));case 10:e.next=3;break;case 11:e.next=13;break;case 12:e.prev=12,N=e.catch(2),l.e(N);case 13:return e.prev=13,l.f(),e.finish(13);case 14:return e.abrupt("return",o.length>0?o:null);case 15:case"end":return e.stop()}},e,null,[[2,12,13,14]])})),Mh.apply(this,arguments)}function Lh(e,t){return Ph.apply(this,arguments)}function Ph(){return Ph=o(k.mark(function e(t,r){var n,i,o,a,s,l,u,c,h,f,d,p=arguments;return k.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=p.length>2&&void 0!==p[2]?p[2]:null,!(o=null===(n=t.children)||void 0===n?void 0:n.filter(function(e){return"w:drawing"===e.tagName}))||0===o.length){s=(null===(a=t.children)||void 0===a?void 0:a.filter(function(e){return"w:r"===e.tagName}))||[],o=[],l=xh(s);try{for(l.s();!(u=l.n()).done;)h=u.value,(f=null===(c=h.children)||void 0===c?void 0:c.find(function(e){return"w:drawing"===e.tagName}))&&o.push(f)}catch(e){l.e(e)}finally{l.f()}}if(o&&0!==o.length){e.next=1;break}return e.abrupt("return",null);case 1:return d=o[0],e.next=2,Th(d,r,i,t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),Ph.apply(this,arguments)}var Ih={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12};let{ELEMENT_NODE:Bh,TEXT_NODE:jh,CDATA_SECTION_NODE:qh,DOCUMENT_NODE:Fh,DOCUMENT_FRAGMENT_NODE:Uh}=Ih;var zh=function(e,t={}){let r=/^(\w+):(.+)/.exec(e);return r&&t[r[1]]?{ns:t[r[1]],ln:r[2]}:{qn:e}};let Wh=zh;let{ELEMENT_NODE:Hh,TEXT_NODE:Vh,CDATA_SECTION_NODE:Gh,DOCUMENT_NODE:Yh}=Ih,$h=zh,Xh=e=>e.toLowerCase();var Zh={};!function(e){var t=require("jsdom");e.document=function(){return t.jsdom()},e.implementation=function(){return e.document().implementation}}(Zh);var Jh={};!function(e){!function(e){function t(){this.init()}function r(e){this.expression=e}function n(){}function i(e){arguments.length>0&&this.init(e)}function o(e){arguments.length>0&&this.init(e)}function a(e,t){arguments.length>0&&this.init(e,t)}function s(e,t){arguments.length>0&&this.init(e,t)}function l(e,t){arguments.length>0&&this.init(e,t)}function u(e,t){arguments.length>0&&this.init(e,t)}function c(e,t){arguments.length>0&&this.init(e,t)}function h(e,t){arguments.length>0&&this.init(e,t)}function f(e,t){arguments.length>0&&this.init(e,t)}function d(e,t){arguments.length>0&&this.init(e,t)}function p(e,t){arguments.length>0&&this.init(e,t)}function m(e,t){arguments.length>0&&this.init(e,t)}function g(e,t){arguments.length>0&&this.init(e,t)}function v(e,t){arguments.length>0&&this.init(e,t)}function b(e,t){arguments.length>0&&this.init(e,t)}function w(e,t){arguments.length>0&&this.init(e,t)}function y(e,t){arguments.length>0&&this.init(e,t)}function x(e,t,r){arguments.length>0&&this.init(e,t,r)}function _(e){for(;e&&e.parentNode;)e=e.parentNode;return e}function E(e,t){arguments.length>0&&this.init(e,t)}function A(e,t,r){arguments.length>0&&this.init(e,t,r)}function S(e,t){arguments.length>0&&this.init(e,t)}function N(e){arguments.length>0&&this.init(e)}function C(e,t){arguments.length>0&&this.init(e,t)}function T(e){arguments.length>0&&this.init(e)}function k(e){arguments.length>0&&this.init(e)}function O(e){arguments.length>0&&this.init(e)}function R(e){this.init(e)}function D(){this.init()}function M(e,t,r){this.isXPathNamespace=!0,this.ownerDocument=r.ownerDocument,this.nodeName="#namespace",this.prefix=e,this.localName=e,this.namespaceURI=t,this.nodeValue=t,this.ownerElement=r,this.nodeType=M.XPATH_NAMESPACE_NODE}t.prototype=new Object,t.prototype.constructor=t,t.superclass=Object.prototype,t.prototype.init=function(){this.reduceActions=[],this.reduceActions[3]=function(e){return new s(e[0],e[2])},this.reduceActions[5]=function(e){return new l(e[0],e[2])},this.reduceActions[7]=function(e){return new u(e[0],e[2])},this.reduceActions[8]=function(e){return new c(e[0],e[2])},this.reduceActions[10]=function(e){return new h(e[0],e[2])},this.reduceActions[11]=function(e){return new f(e[0],e[2])},this.reduceActions[12]=function(e){return new d(e[0],e[2])},this.reduceActions[13]=function(e){return new p(e[0],e[2])},this.reduceActions[15]=function(e){return new m(e[0],e[2])},this.reduceActions[16]=function(e){return new g(e[0],e[2])},this.reduceActions[18]=function(e){return new v(e[0],e[2])},this.reduceActions[19]=function(e){return new b(e[0],e[2])},this.reduceActions[20]=function(e){return new w(e[0],e[2])},this.reduceActions[22]=function(e){return new o(e[1])},this.reduceActions[24]=function(e){return new y(e[0],e[2])},this.reduceActions[25]=function(e){return new x(void 0,void 0,e[0])},this.reduceActions[27]=function(e){return e[0].locationPath=e[2],e[0]},this.reduceActions[28]=function(e){return e[0].locationPath=e[2],e[0].locationPath.steps.unshift(new A(A.DESCENDANTORSELF,new S(S.NODE,void 0),[])),e[0]},this.reduceActions[29]=function(e){return new x(e[0],[],void 0)},this.reduceActions[30]=function(e){return F.instance_of(e[0],x)?(null==e[0].filterPredicates&&(e[0].filterPredicates=[]),e[0].filterPredicates.push(e[1]),e[0]):new x(e[0],[e[1]],void 0)},this.reduceActions[32]=function(e){return e[1]},this.reduceActions[33]=function(e){return new T(e[0])},this.reduceActions[34]=function(e){return new k(e[0])},this.reduceActions[36]=function(e){return new C(e[0],[])},this.reduceActions[37]=function(e){return new C(e[0],e[2])},this.reduceActions[38]=function(e){return[e[0]]},this.reduceActions[39]=function(e){return e[2].unshift(e[0]),e[2]},this.reduceActions[43]=function(e){return new E(!0,[])},this.reduceActions[44]=function(e){return e[1].absolute=!0,e[1]},this.reduceActions[46]=function(e){return new E(!1,[e[0]])},this.reduceActions[47]=function(e){return e[0].steps.push(e[2]),e[0]},this.reduceActions[49]=function(e){return new A(e[0],e[1],[])},this.reduceActions[50]=function(e){return new A(A.CHILD,e[0],[])},this.reduceActions[51]=function(e){return new A(e[0],e[1],e[2])},this.reduceActions[52]=function(e){return new A(A.CHILD,e[0],e[1])},this.reduceActions[54]=function(e){return[e[0]]},this.reduceActions[55]=function(e){return e[1].unshift(e[0]),e[1]},this.reduceActions[56]=function(e){return"ancestor"==e[0]?A.ANCESTOR:"ancestor-or-self"==e[0]?A.ANCESTORORSELF:"attribute"==e[0]?A.ATTRIBUTE:"child"==e[0]?A.CHILD:"descendant"==e[0]?A.DESCENDANT:"descendant-or-self"==e[0]?A.DESCENDANTORSELF:"following"==e[0]?A.FOLLOWING:"following-sibling"==e[0]?A.FOLLOWINGSIBLING:"namespace"==e[0]?A.NAMESPACE:"parent"==e[0]?A.PARENT:"preceding"==e[0]?A.PRECEDING:"preceding-sibling"==e[0]?A.PRECEDINGSIBLING:"self"==e[0]?A.SELF:-1},this.reduceActions[57]=function(e){return A.ATTRIBUTE},this.reduceActions[59]=function(e){return"comment"==e[0]?new S(S.COMMENT,void 0):"text"==e[0]?new S(S.TEXT,void 0):"processing-instruction"==e[0]?new S(S.PI,void 0):"node"==e[0]?new S(S.NODE,void 0):new S(-1,void 0)},this.reduceActions[60]=function(e){return new S(S.PI,e[2])},this.reduceActions[61]=function(e){return e[1]},this.reduceActions[63]=function(e){return e[1].absolute=!0,e[1].steps.unshift(new A(A.DESCENDANTORSELF,new S(S.NODE,void 0),[])),e[1]},this.reduceActions[64]=function(e){return e[0].steps.push(new A(A.DESCENDANTORSELF,new S(S.NODE,void 0),[])),e[0].steps.push(e[2]),e[0]},this.reduceActions[65]=function(e){return new A(A.SELF,new S(S.NODE,void 0),[])},this.reduceActions[66]=function(e){return new A(A.PARENT,new S(S.NODE,void 0),[])},this.reduceActions[67]=function(e){return new N(e[1])},this.reduceActions[68]=function(e){return new S(S.NAMETESTANY,void 0)},this.reduceActions[69]=function(e){var t=e[0].substring(0,e[0].indexOf(":"));return new S(S.NAMETESTPREFIXANY,t)},this.reduceActions[70]=function(e){return new S(S.NAMETESTQNAME,e[0])}},t.actionTable=[" s s sssssssss s ss s ss"," s ","r rrrrrrrrr rrrrrrr rr r "," rrrrr "," s s sssssssss s ss s ss","rs rrrrrrrr s sssssrrrrrr rrs rs "," s s sssssssss s ss s ss"," s "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s "," s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr r ","a ","r s rr r ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrs rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r srrrrrrrr rrrrrrs rr sr ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r "," sssss ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrr rrrrr rr r "," s "," s "," rrrrr "," s s sssssssss s sss s ss","r srrrrrrrr rrrrrrs rr r "," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss ss s ss"," s s sssssssss s ss s ss"," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr rr "," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," rr "," s "," rs ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrr rr r "," r "," s ","r srrrrrrrr rrrrrrs rr r ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s s sssssssss s ss s ss","r rrrrrrrrr rrrrrrr rr rr "," r "],t.actionTableNumber=[" 1 0 /.-,+*)(' & %$ # \"!"," J ","a aaaaaaaaa aaaaaaa aa a "," YYYYY "," 1 0 /.-,+*)(' & %$ # \"!","K1 KKKKKKKK . +*)('KKKKKK KK# K\" "," 1 0 /.-,+*)(' & %$ # \"!"," N "," O ","e eeeeeeeee eeeeeee ee ee ","f fffffffff fffffff ff ff ","d ddddddddd ddddddd dd dd ","B BBBBBBBBB BBBBBBB BB BB ","A AAAAAAAAA AAAAAAA AA AA "," P "," Q "," 1 . +*)(' # \" ","b bbbbbbbbb bbbbbbb bb b "," ","! S !! ! ",'" T" "" " ',"$ V $$ U $$ $ ","& &ZY&& &XW && & ",") ))))) )))\\[ )) ) ",". ....._^] ..... .. . ","1 11111111 11111 11 1 ","5 55555555 55555` 55 5 ","7 77777777 777777 77 7 ","9 99999999 999999 99 9 ",": c:::::::: ::::::b :: a: ","I fIIIIIIII IIIIIIe II I ","= ========= ======= == == ","? ????????? ??????? ?? ?? ","C CCCCCCCCC CCCCCCC CC CC ","J JJJJJJJJ JJJJJJ JJ J ","M MMMMMMMM MMMMMM MM M ","N NNNNNNNNN NNNNNNN NN N ","P PPPPPPPPP PPPPPPP PP P "," +*)(' ","R RRRRRRRRR RRRRRRR RR aR ","U UUUUUUUUU UUUUUUU UU U ","Z ZZZZZZZZZ ZZZZZZZ ZZ ZZ ","c ccccccccc ccccccc cc cc "," j ","L fLLLLLLLL LLLLLLe LL L ","6 66666666 66666 66 6 "," k "," l "," XXXXX "," 1 0 /.-,+*)(' & %$m # \"!","_ f________ ______e __ _ "," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 . +*)(' # \" "," 1 . +*)(' # \" ","> >>>>>>>>> >>>>>>> >> >> "," 1 . +*)(' # \" "," 1 . +*)(' # \" ","Q QQQQQQQQQ QQQQQQQ QQ aQ ","V VVVVVVVVV VVVVVVV VV aV ","T TTTTTTTTT TTTTTTT TT T ","@ @@@@@@@@@ @@@@@@@ @@ @@ "," ","[ [[[[[[[[[ [[[[[[[ [[ [[ ","D DDDDDDDDD DDDDDDD DD DD "," HH "," "," F ","# T# ## # ","% V %% U %% % ","' 'ZY'' 'XW '' ' ","( (ZY(( (XW (( ( ","+ +++++ +++\\[ ++ + ","* ***** ***\\[ ** * ","- ----- ---\\[ -- - ",", ,,,,, ,,,\\[ ,, , ","0 00000_^] 00000 00 0 ","/ /////_^] ///// // / ","2 22222222 22222 22 2 ","3 33333333 33333 33 3 ","4 44444444 44444 44 4 ","8 88888888 888888 88 8 "," ^ "," ","; f;;;;;;;; ;;;;;;e ;; ; ","< f<<<<<<<< <<<<<<e << < ","O OOOOOOOOO OOOOOOO OO O ","` ````````` ``````` `` ` ","S SSSSSSSSS SSSSSSS SS S ","W WWWWWWWWW WWWWWWW WW W ","\\ \\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\ \\\\ \\\\ ","E EEEEEEEEE EEEEEEE EE EE "," 1 0 /.-,+*)(' & %$ # \"!","] ]]]]]]]]] ]]]]]]] ]] ]] "," G "],t.gotoTable=["3456789:;<=>?@ AB CDEFGH IJ "," "," "," ","L456789:;<=>?@ AB CDEFGH IJ "," M EFGH IJ "," N;<=>?@ AB CDEFGH IJ "," "," "," "," "," "," "," "," "," "," S EFGH IJ "," "," "," "," "," "," "," "," "," "," "," "," "," e "," "," "," "," "," "," "," "," "," h J "," i j "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABpqCDEFGH IJ "," "," r6789:;<=>?@ AB CDEFGH IJ "," s789:;<=>?@ AB CDEFGH IJ "," t89:;<=>?@ AB CDEFGH IJ "," u89:;<=>?@ AB CDEFGH IJ "," v9:;<=>?@ AB CDEFGH IJ "," w9:;<=>?@ AB CDEFGH IJ "," x9:;<=>?@ AB CDEFGH IJ "," y9:;<=>?@ AB CDEFGH IJ "," z:;<=>?@ AB CDEFGH IJ "," {:;<=>?@ AB CDEFGH IJ "," |;<=>?@ AB CDEFGH IJ "," };<=>?@ AB CDEFGH IJ "," ~;<=>?@ AB CDEFGH IJ "," =>?@ AB CDEFGH IJ ","456789:;<=>?@ AB CDEFGH IJ"," EFGH IJ "," EFGH IJ "," "," GH IJ ","
GH IJ "," i "," i "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABqCDEFGH IJ "," "," "],t.productions=[[1,1,2],[2,1,3],[3,1,4],[3,3,3,-9,4],[4,1,5],[4,3,4,-8,5],[5,1,6],[5,3,5,-22,6],[5,3,5,-5,6],[6,1,7],[6,3,6,-23,7],[6,3,6,-24,7],[6,3,6,-6,7],[6,3,6,-7,7],[7,1,8],[7,3,7,-25,8],[7,3,7,-26,8],[8,1,9],[8,3,8,-12,9],[8,3,8,-11,9],[8,3,8,-10,9],[9,1,10],[9,2,-26,9],[10,1,11],[10,3,10,-27,11],[11,1,12],[11,1,13],[11,3,13,-28,14],[11,3,13,-4,14],[13,1,15],[13,2,13,16],[15,1,17],[15,3,-29,2,-30],[15,1,-15],[15,1,-16],[15,1,18],[18,3,-13,-29,-30],[18,4,-13,-29,19,-30],[19,1,20],[19,3,20,-31,19],[20,1,2],[12,1,14],[12,1,21],[21,1,-28],[21,2,-28,14],[21,1,22],[14,1,23],[14,3,14,-28,23],[14,1,24],[23,2,25,26],[23,1,26],[23,3,25,26,27],[23,2,26,27],[23,1,28],[27,1,16],[27,2,16,27],[25,2,-14,-3],[25,1,-32],[26,1,29],[26,3,-20,-29,-30],[26,4,-21,-29,-15,-30],[16,3,-33,30,-34],[30,1,2],[22,2,-4,14],[24,3,14,-4,23],[28,1,-35],[28,1,-2],[17,2,-36,-18],[29,1,-17],[29,1,-19],[29,1,-18]],t.DOUBLEDOT=2,t.DOUBLECOLON=3,t.DOUBLESLASH=4,t.NOTEQUAL=5,t.LESSTHANOREQUAL=6,t.GREATERTHANOREQUAL=7,t.AND=8,t.OR=9,t.MOD=10,t.DIV=11,t.MULTIPLYOPERATOR=12,t.FUNCTIONNAME=13,t.AXISNAME=14,t.LITERAL=15,t.NUMBER=16,t.ASTERISKNAMETEST=17,t.QNAME=18,t.NCNAMECOLONASTERISK=19,t.NODETYPE=20,t.PROCESSINGINSTRUCTIONWITHLITERAL=21,t.EQUALS=22,t.LESSTHAN=23,t.GREATERTHAN=24,t.PLUS=25,t.MINUS=26,t.BAR=27,t.SLASH=28,t.LEFTPARENTHESIS=29,t.RIGHTPARENTHESIS=30,t.COMMA=31,t.AT=32,t.LEFTBRACKET=33,t.RIGHTBRACKET=34,t.DOT=35,t.DOLLAR=36,t.prototype.tokenize=function(e){for(var r=[],n=[],i=e+"\0",o=0,a=i.charAt(o++);;){for(;" "==a||"\t"==a||"\r"==a||"\n"==a;)a=i.charAt(o++);if("\0"==a||o>=i.length)break;if("("!=a)if(")"!=a)if("["!=a)if("]"!=a)if("@"!=a)if(","!=a)if("|"!=a)if("+"!=a)if("-"!=a)if("="!=a)if("$"!=a)if("."!=a)if("'"!=a&&'"'!=a)if(a>="0"&&a<="9"){h=a;for(a=i.charAt(o++);a>="0"&&a<="9";)h+=a,a=i.charAt(o++);if("."==a&&i.charAt(o)>="0"&&i.charAt(o)<="9")for(h+=a,h+=i.charAt(o++),a=i.charAt(o++);a>="0"&&a<="9";)h+=a,a=i.charAt(o++);r.push(t.NUMBER),n.push(h)}else if("*"!=a)if(":"!=a||":"!=i.charAt(o))if("/"!=a)if("!"!=a||"="!=i.charAt(o))if("<"!=a)if(">"!=a){if("_"!=a&&!F.isLetter(a.charCodeAt(0)))throw new Error("Unexpected character "+a);var s=a;for(a=i.charAt(o++);F.isNCNameChar(a.charCodeAt(0));)s+=a,a=i.charAt(o++);if(r.length>0&&(l=r[r.length-1])!=t.AT&&l!=t.DOUBLECOLON&&l!=t.LEFTPARENTHESIS&&l!=t.LEFTBRACKET&&l!=t.AND&&l!=t.OR&&l!=t.MOD&&l!=t.DIV&&l!=t.MULTIPLYOPERATOR&&l!=t.SLASH&&l!=t.DOUBLESLASH&&l!=t.BAR&&l!=t.PLUS&&l!=t.MINUS&&l!=t.EQUALS&&l!=t.NOTEQUAL&&l!=t.LESSTHAN&&l!=t.LESSTHANOREQUAL&&l!=t.GREATERTHAN&&l!=t.GREATERTHANOREQUAL){if("and"==s){r.push(t.AND),n.push(s);continue}if("or"==s){r.push(t.OR),n.push(s);continue}if("mod"==s){r.push(t.MOD),n.push(s);continue}if("div"==s){r.push(t.DIV),n.push(s);continue}}if(":"==a){if("*"==i.charAt(o)){r.push(t.NCNAMECOLONASTERISK),n.push(s+":*"),o++,a=i.charAt(o++);continue}if("_"==i.charAt(o)||F.isLetter(i.charCodeAt(o))){for(s+=":",a=i.charAt(o++);F.isNCNameChar(a.charCodeAt(0));)s+=a,a=i.charAt(o++);if("("==a){r.push(t.FUNCTIONNAME),n.push(s);continue}r.push(t.QNAME),n.push(s);continue}if(":"==i.charAt(o)){r.push(t.AXISNAME),n.push(s);continue}}if("("==a){if("comment"==s||"text"==s||"node"==s){r.push(t.NODETYPE),n.push(s);continue}if("processing-instruction"==s){")"==i.charAt(o)?r.push(t.NODETYPE):r.push(t.PROCESSINGINSTRUCTIONWITHLITERAL),n.push(s);continue}r.push(t.FUNCTIONNAME),n.push(s);continue}r.push(t.QNAME),n.push(s)}else{if("="==i.charAt(o)){r.push(t.GREATERTHANOREQUAL),n.push(">="),o++,a=i.charAt(o++);continue}r.push(t.GREATERTHAN),n.push(">"),a=i.charAt(o++)}else{if("="==i.charAt(o)){r.push(t.LESSTHANOREQUAL),n.push("<="),o++,a=i.charAt(o++);continue}r.push(t.LESSTHAN),n.push("<"),a=i.charAt(o++)}else r.push(t.NOTEQUAL),n.push("!="),o++,a=i.charAt(o++);else{if("/"==(a=i.charAt(o++))){r.push(t.DOUBLESLASH),n.push("//"),a=i.charAt(o++);continue}r.push(t.SLASH),n.push("/")}else r.push(t.DOUBLECOLON),n.push("::"),o++,a=i.charAt(o++);else{var l;if(r.length>0&&(l=r[r.length-1])!=t.AT&&l!=t.DOUBLECOLON&&l!=t.LEFTPARENTHESIS&&l!=t.LEFTBRACKET&&l!=t.AND&&l!=t.OR&&l!=t.MOD&&l!=t.DIV&&l!=t.MULTIPLYOPERATOR&&l!=t.SLASH&&l!=t.DOUBLESLASH&&l!=t.BAR&&l!=t.PLUS&&l!=t.MINUS&&l!=t.EQUALS&&l!=t.NOTEQUAL&&l!=t.LESSTHAN&&l!=t.LESSTHANOREQUAL&&l!=t.GREATERTHAN&&l!=t.GREATERTHANOREQUAL){r.push(t.MULTIPLYOPERATOR),n.push(a),a=i.charAt(o++);continue}r.push(t.ASTERISKNAMETEST),n.push(a),a=i.charAt(o++)}else{for(var u=a,c="";o<i.length&&(a=i.charAt(o))!==u;)c+=a,o+=1;if(a!==u)throw U.fromMessage("Unterminated string literal: "+u+c);o+=1,r.push(t.LITERAL),n.push(c),a=i.charAt(o++)}else{if("."==(a=i.charAt(o++))){r.push(t.DOUBLEDOT),n.push(".."),a=i.charAt(o++);continue}if(a>="0"&&a<="9"){var h="."+a;for(a=i.charAt(o++);a>="0"&&a<="9";)h+=a,a=i.charAt(o++);r.push(t.NUMBER),n.push(h);continue}r.push(t.DOT),n.push(".")}else r.push(t.DOLLAR),n.push(a),a=i.charAt(o++);else r.push(t.EQUALS),n.push(a),a=i.charAt(o++);else r.push(t.MINUS),n.push(a),a=i.charAt(o++);else r.push(t.PLUS),n.push(a),a=i.charAt(o++);else r.push(t.BAR),n.push(a),a=i.charAt(o++);else r.push(t.COMMA),n.push(a),a=i.charAt(o++);else r.push(t.AT),n.push(a),a=i.charAt(o++);else r.push(t.RIGHTBRACKET),n.push(a),a=i.charAt(o++);else r.push(t.LEFTBRACKET),n.push(a),a=i.charAt(o++);else r.push(t.RIGHTPARENTHESIS),n.push(a),a=i.charAt(o++);else r.push(t.LEFTPARENTHESIS),n.push(a),a=i.charAt(o++)}return r.push(1),n.push("[EOF]"),[r,n]},t.SHIFT="s",t.REDUCE="r",t.ACCEPT="a",t.prototype.parse=function(e){var n,i,o=this.tokenize(e);if(null!=o){n=o[0],i=o[1];var a,s,l=0,u=[],c=[],h=[];for(u.push(0),c.push(1),h.push("_S"),a=n[l],s=i[l++];;)switch(e=u[u.length-1],t.actionTable[e].charAt(a-1)){case t.SHIFT:c.push(-a),h.push(s),u.push(t.actionTableNumber[e].charCodeAt(a-1)-32),a=n[l],s=i[l++];break;case t.REDUCE:for(var f=t.productions[t.actionTableNumber[e].charCodeAt(a-1)-32][1],d=[],p=0;p<f;p++)c.pop(),d.unshift(h.pop()),u.pop();var m=u[u.length-1];c.push(t.productions[t.actionTableNumber[e].charCodeAt(a-1)-32][0]),null==this.reduceActions[t.actionTableNumber[e].charCodeAt(a-1)-32]?h.push(d[0]):h.push(this.reduceActions[t.actionTableNumber[e].charCodeAt(a-1)-32](d)),u.push(t.gotoTable[m].charCodeAt(t.productions[t.actionTableNumber[e].charCodeAt(a-1)-32][0]-2)-33);break;case t.ACCEPT:return new r(h.pop());default:throw new Error("XPath parse error")}}},r.prototype=new Object,r.prototype.constructor=r,r.superclass=Object.prototype,r.prototype.toString=function(){return this.expression.toString()},r.prototype.evaluate=function(e){if(e.contextNode=e.expressionContextNode,e.contextSize=1,e.contextPosition=1,e.caseInsensitive=!1,null!=e.contextNode){var t=e.contextNode;9!=t.nodeType&&(t=t.ownerDocument);try{e.caseInsensitive=t.implementation.hasFeature("HTML","2.0")}catch(t){e.caseInsensitive=!0}}return this.expression.evaluate(e)},r.XML_NAMESPACE_URI="http://www.w3.org/XML/1998/namespace",r.XMLNS_NAMESPACE_URI="http://www.w3.org/2000/xmlns/",n.prototype=new Object,n.prototype.constructor=n,n.superclass=Object.prototype,n.prototype.init=function(){},n.prototype.toString=function(){return"<Expression>"},n.prototype.evaluate=function(e){throw new Error("Could not evaluate expression.")},i.prototype=new n,i.prototype.constructor=i,i.superclass=n.prototype,i.prototype.init=function(e){this.rhs=e},o.prototype=new i,o.prototype.constructor=o,o.superclass=i.prototype,o.prototype.init=function(e){o.superclass.init.call(this,e)},o.prototype.evaluate=function(e){return this.rhs.evaluate(e).number().negate()},o.prototype.toString=function(){return"-"+this.rhs.toString()},a.prototype=new n,a.prototype.constructor=a,a.superclass=n.prototype,a.prototype.init=function(e,t){this.lhs=e,this.rhs=t},s.prototype=new a,s.prototype.constructor=s,s.superclass=a.prototype,s.prototype.init=function(e,t){s.superclass.init.call(this,e,t)},s.prototype.toString=function(){return"("+this.lhs.toString()+" or "+this.rhs.toString()+")"},s.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?t:this.rhs.evaluate(e).bool()},l.prototype=new a,l.prototype.constructor=l,l.superclass=a.prototype,l.prototype.init=function(e,t){l.superclass.init.call(this,e,t)},l.prototype.toString=function(){return"("+this.lhs.toString()+" and "+this.rhs.toString()+")"},l.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?this.rhs.evaluate(e).bool():t},u.prototype=new a,u.prototype.constructor=u,u.superclass=a.prototype,u.prototype.init=function(e,t){u.superclass.init.call(this,e,t)},u.prototype.toString=function(){return"("+this.lhs.toString()+" = "+this.rhs.toString()+")"},u.prototype.evaluate=function(e){return this.lhs.evaluate(e).equals(this.rhs.evaluate(e))},c.prototype=new a,c.prototype.constructor=c,c.superclass=a.prototype,c.prototype.init=function(e,t){c.superclass.init.call(this,e,t)},c.prototype.toString=function(){return"("+this.lhs.toString()+" != "+this.rhs.toString()+")"},c.prototype.evaluate=function(e){return this.lhs.evaluate(e).notequal(this.rhs.evaluate(e))},h.prototype=new a,h.prototype.constructor=h,h.superclass=a.prototype,h.prototype.init=function(e,t){h.superclass.init.call(this,e,t)},h.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthan(this.rhs.evaluate(e))},h.prototype.toString=function(){return"("+this.lhs.toString()+" < "+this.rhs.toString()+")"},f.prototype=new a,f.prototype.constructor=f,f.superclass=a.prototype,f.prototype.init=function(e,t){f.superclass.init.call(this,e,t)},f.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthan(this.rhs.evaluate(e))},f.prototype.toString=function(){return"("+this.lhs.toString()+" > "+this.rhs.toString()+")"},d.prototype=new a,d.prototype.constructor=d,d.superclass=a.prototype,d.prototype.init=function(e,t){d.superclass.init.call(this,e,t)},d.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthanorequal(this.rhs.evaluate(e))},d.prototype.toString=function(){return"("+this.lhs.toString()+" <= "+this.rhs.toString()+")"},p.prototype=new a,p.prototype.constructor=p,p.superclass=a.prototype,p.prototype.init=function(e,t){p.superclass.init.call(this,e,t)},p.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthanorequal(this.rhs.evaluate(e))},p.prototype.toString=function(){return"("+this.lhs.toString()+" >= "+this.rhs.toString()+")"},m.prototype=new a,m.prototype.constructor=m,m.superclass=a.prototype,m.prototype.init=function(e,t){m.superclass.init.call(this,e,t)},m.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().plus(this.rhs.evaluate(e).number())},m.prototype.toString=function(){return"("+this.lhs.toString()+" + "+this.rhs.toString()+")"},g.prototype=new a,g.prototype.constructor=g,g.superclass=a.prototype,g.prototype.init=function(e,t){g.superclass.init.call(this,e,t)},g.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().minus(this.rhs.evaluate(e).number())},g.prototype.toString=function(){return"("+this.lhs.toString()+" - "+this.rhs.toString()+")"},v.prototype=new a,v.prototype.constructor=v,v.superclass=a.prototype,v.prototype.init=function(e,t){v.superclass.init.call(this,e,t)},v.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().multiply(this.rhs.evaluate(e).number())},v.prototype.toString=function(){return"("+this.lhs.toString()+" * "+this.rhs.toString()+")"},b.prototype=new a,b.prototype.constructor=b,b.superclass=a.prototype,b.prototype.init=function(e,t){b.superclass.init.call(this,e,t)},b.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().div(this.rhs.evaluate(e).number())},b.prototype.toString=function(){return"("+this.lhs.toString()+" div "+this.rhs.toString()+")"},w.prototype=new a,w.prototype.constructor=w,w.superclass=a.prototype,w.prototype.init=function(e,t){w.superclass.init.call(this,e,t)},w.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().mod(this.rhs.evaluate(e).number())},w.prototype.toString=function(){return"("+this.lhs.toString()+" mod "+this.rhs.toString()+")"},y.prototype=new a,y.prototype.constructor=y,y.superclass=a.prototype,y.prototype.init=function(e,t){y.superclass.init.call(this,e,t)},y.prototype.evaluate=function(e){return this.lhs.evaluate(e).nodeset().union(this.rhs.evaluate(e).nodeset())},y.prototype.toString=function(){return this.lhs.toString()+" | "+this.rhs.toString()},x.prototype=new n,x.prototype.constructor=x,x.superclass=n.prototype,x.prototype.init=function(e,t,r){x.superclass.init.call(this),this.filter=e,this.filterPredicates=t,this.locationPath=r},x.prototype.evaluate=function(e){var t,n=new P;if(n.variableResolver=e.variableResolver,n.functionResolver=e.functionResolver,n.namespaceResolver=e.namespaceResolver,n.expressionContextNode=e.expressionContextNode,n.virtualRoot=e.virtualRoot,n.caseInsensitive=e.caseInsensitive,null==this.filter)t=[e.contextNode];else{var i=this.filter.evaluate(e);if(!F.instance_of(i,D)){if(null!=this.filterPredicates&&this.filterPredicates.length>0||null!=this.locationPath)throw new Error("Path expression filter must evaluate to a nodset if predicates or location path are used");return i}if(t=i.toUnsortedArray(),null!=this.filterPredicates)for(var o=0;o<this.filterPredicates.length;o++){var a=this.filterPredicates[o],s=[];for(n.contextSize=t.length,n.contextPosition=1;n.contextPosition<=n.contextSize;n.contextPosition++)n.contextNode=t[n.contextPosition-1],this.predicateMatches(a,n)&&s.push(n.contextNode);t=s}}if(null!=this.locationPath){if(this.locationPath.absolute)if(9!=t[0].nodeType)if(null!=n.virtualRoot)t=[n.virtualRoot];else if(null==t[0].ownerDocument){for(var l=t[0];null!=l.parentNode;)l=l.parentNode;t=[l]}else t=[t[0].ownerDocument];else t=[t[0]];for(var u=0;u<this.locationPath.steps.length;u++){var c=this.locationPath.steps[u];for(s=[],o=0;o<t.length;o++)switch(n.contextNode=t[o],c.axis){case A.ANCESTOR:if(n.contextNode===n.virtualRoot)break;for(h=2==n.contextNode.nodeType?this.getOwnerElement(n.contextNode):n.contextNode.parentNode;null!=h&&(c.nodeTest.matches(h,n)&&s.push(h),h!==n.virtualRoot);)h=h.parentNode;break;case A.ANCESTORORSELF:for(var h=n.contextNode;null!=h&&(c.nodeTest.matches(h,n)&&s.push(h),h!==n.virtualRoot);h=2==h.nodeType?this.getOwnerElement(h):h.parentNode);break;case A.ATTRIBUTE:var f=n.contextNode.attributes;if(null!=f)for(var d=0;d<f.length;d++){h=f.item(d);c.nodeTest.matches(h,n)&&s.push(h)}break;case A.CHILD:for(h=n.contextNode.firstChild;null!=h;h=h.nextSibling)c.nodeTest.matches(h,n)&&s.push(h);break;case A.DESCENDANT:for(var p=[n.contextNode.firstChild];p.length>0;)for(h=p.pop();null!=h;)c.nodeTest.matches(h,n)&&s.push(h),null!=h.firstChild?(p.push(h.nextSibling),h=h.firstChild):h=h.nextSibling;break;case A.DESCENDANTORSELF:c.nodeTest.matches(n.contextNode,n)&&s.push(n.contextNode);for(p=[n.contextNode.firstChild];p.length>0;)for(h=p.pop();null!=h;)c.nodeTest.matches(h,n)&&s.push(h),null!=h.firstChild?(p.push(h.nextSibling),h=h.firstChild):h=h.nextSibling;break;case A.FOLLOWING:if(n.contextNode===n.virtualRoot)break;p=[];null!=n.contextNode.firstChild?p.unshift(n.contextNode.firstChild):p.unshift(n.contextNode.nextSibling);for(h=n.contextNode.parentNode;null!=h&&9!=h.nodeType&&h!==n.virtualRoot;h=h.parentNode)p.unshift(h.nextSibling);do{for(h=p.pop();null!=h;)c.nodeTest.matches(h,n)&&s.push(h),null!=h.firstChild?(p.push(h.nextSibling),h=h.firstChild):h=h.nextSibling}while(p.length>0);break;case A.FOLLOWINGSIBLING:if(n.contextNode===n.virtualRoot)break;for(h=n.contextNode.nextSibling;null!=h;h=h.nextSibling)c.nodeTest.matches(h,n)&&s.push(h);break;case A.NAMESPACE:l={};if(1==n.contextNode.nodeType){l.xml=r.XML_NAMESPACE_URI,l.xmlns=r.XMLNS_NAMESPACE_URI;for(h=n.contextNode;null!=h&&1==h.nodeType;h=h.parentNode)for(d=0;d<h.attributes.length;d++){var m=h.attributes.item(d),g=String(m.name);if("xmlns"==g)null==l[""]&&(l[""]=m.value);else if(g.length>6&&"xmlns:"==g.substring(0,6)){null==l[v=g.substring(6,g.length)]&&(l[v]=m.value)}}for(var v in l){var b=new M(v,l[v],n.contextNode);c.nodeTest.matches(b,n)&&s.push(b)}}break;case A.PARENT:h=null,n.contextNode!==n.virtualRoot&&(h=2==n.contextNode.nodeType?this.getOwnerElement(n.contextNode):n.contextNode.parentNode),null!=h&&c.nodeTest.matches(h,n)&&s.push(h);break;case A.PRECEDING:p=null!=n.virtualRoot?[n.virtualRoot]:[_(n.contextNode)];e:for(;p.length>0;)for(h=p.pop();null!=h;){if(h==n.contextNode)break e;c.nodeTest.matches(h,n)&&s.unshift(h),null!=h.firstChild?(p.push(h.nextSibling),h=h.firstChild):h=h.nextSibling}break;case A.PRECEDINGSIBLING:if(n.contextNode===n.virtualRoot)break;for(h=n.contextNode.previousSibling;null!=h;h=h.previousSibling)c.nodeTest.matches(h,n)&&s.push(h);break;case A.SELF:c.nodeTest.matches(n.contextNode,n)&&s.push(n.contextNode)}t=s;for(o=0;o<c.predicates.length;o++){a=c.predicates[o],s=[];for(n.contextSize=t.length,n.contextPosition=1;n.contextPosition<=n.contextSize;n.contextPosition++)n.contextNode=t[n.contextPosition-1],this.predicateMatches(a,n)&&s.push(n.contextNode);t=s}}}return(i=new D).addArray(t),i},x.prototype.predicateMatches=function(e,t){var r=e.evaluate(t);return F.instance_of(r,k)?t.contextPosition==r.numberValue():r.booleanValue()},x.prototype.toString=function(){if(null!=this.filter){var e=this.filter.toString();if(F.instance_of(this.filter,T)&&(e="'"+e+"'"),null!=this.filterPredicates)for(var t=0;t<this.filterPredicates.length;t++)e=e+"["+this.filterPredicates[t].toString()+"]";return null!=this.locationPath&&(this.locationPath.absolute||(e+="/"),e+=this.locationPath.toString()),e}return this.locationPath.toString()},x.prototype.getOwnerElement=function(e){if(e.ownerElement)return e.ownerElement;try{if(e.selectSingleNode)return e.selectSingleNode("..")}catch(e){}for(var t=(9==e.nodeType?e:e.ownerDocument).getElementsByTagName("*"),r=0;r<t.length;r++)for(var n=t.item(r),i=n.attributes,o=0;o<i.length;o++){if(i.item(o)===e)return n}return null},E.prototype=new Object,E.prototype.constructor=E,E.superclass=Object.prototype,E.prototype.init=function(e,t){this.absolute=e,this.steps=t},E.prototype.toString=function(){var e;e=this.absolute?"/":"";for(var t=0;t<this.steps.length;t++)0!=t&&(e+="/"),e+=this.steps[t].toString();return e},A.prototype=new Object,A.prototype.constructor=A,A.superclass=Object.prototype,A.prototype.init=function(e,t,r){this.axis=e,this.nodeTest=t,this.predicates=r},A.prototype.toString=function(){var e;switch(this.axis){case A.ANCESTOR:e="ancestor";break;case A.ANCESTORORSELF:e="ancestor-or-self";break;case A.ATTRIBUTE:e="attribute";break;case A.CHILD:e="child";break;case A.DESCENDANT:e="descendant";break;case A.DESCENDANTORSELF:e="descendant-or-self";break;case A.FOLLOWING:e="following";break;case A.FOLLOWINGSIBLING:e="following-sibling";break;case A.NAMESPACE:e="namespace";break;case A.PARENT:e="parent";break;case A.PRECEDING:e="preceding";break;case A.PRECEDINGSIBLING:e="preceding-sibling";break;case A.SELF:e="self"}e+="::",e+=this.nodeTest.toString();for(var t=0;t<this.predicates.length;t++)e+="["+this.predicates[t].toString()+"]";return e},A.ANCESTOR=0,A.ANCESTORORSELF=1,A.ATTRIBUTE=2,A.CHILD=3,A.DESCENDANT=4,A.DESCENDANTORSELF=5,A.FOLLOWING=6,A.FOLLOWINGSIBLING=7,A.NAMESPACE=8,A.PARENT=9,A.PRECEDING=10,A.PRECEDINGSIBLING=11,A.SELF=12,S.prototype=new Object,S.prototype.constructor=S,S.superclass=Object.prototype,S.prototype.init=function(e,t){this.type=e,this.value=t},S.prototype.toString=function(){switch(this.type){case S.NAMETESTANY:return"*";case S.NAMETESTPREFIXANY:return this.value+":*";case S.NAMETESTRESOLVEDANY:return"{"+this.value+"}*";case S.NAMETESTQNAME:return this.value;case S.NAMETESTRESOLVEDNAME:return"{"+this.namespaceURI+"}"+this.value;case S.COMMENT:return"comment()";case S.TEXT:return"text()";case S.PI:return null!=this.value?'processing-instruction("'+this.value+'")':"processing-instruction()";case S.NODE:return"node()"}return"<unknown nodetest type>"},S.prototype.matches=function(e,t){var r=e.nodeType;switch(this.type){case S.NAMETESTANY:return 2===r||1===r||r===M.XPATH_NAMESPACE_NODE;case S.NAMETESTPREFIXANY:if(2===r||1===r){var n=t.namespaceResolver.getNamespace(this.value,t.expressionContextNode);if(null==n)throw new Error("Cannot resolve QName "+this.value);return n===(e.namespaceURI||"")}return!1;case S.NAMETESTQNAME:if(2===r||1===r||r===M.XPATH_NAMESPACE_NODE){var i=F.resolveQName(this.value,t.namespaceResolver,t.expressionContextNode,!1);if(null==i[0])throw new Error("Cannot resolve QName "+this.value);i[0]=String(i[0])||null,i[1]=String(i[1]);var o=[String(e.namespaceURI||"")||null,String(e.localName||e.nodeName)];return t.caseInsensitive?i[0]===o[0]&&i[1].toLowerCase()===o[1].toLowerCase():i[0]===o[0]&&i[1]===o[1]}return!1;case S.COMMENT:return 8===r;case S.TEXT:return 3===r||4==r;case S.PI:return 7===r&&(null==this.value||e.nodeName==this.value);case S.NODE:return 9===r||1===r||2===r||3===r||4===r||8===r||7===r}return!1},S.NAMETESTANY=0,S.NAMETESTPREFIXANY=1,S.NAMETESTQNAME=2,S.COMMENT=3,S.TEXT=4,S.PI=5,S.NODE=6,N.prototype=new n,N.prototype.constructor=N,N.superclass=n.prototype,N.prototype.init=function(e){this.variable=e},N.prototype.toString=function(){return"$"+this.variable},N.prototype.evaluate=function(e){var t=F.resolveQName(this.variable,e.namespaceResolver,e.contextNode,!1);if(null==t[0])throw new Error("Cannot resolve QName "+fn);var r=e.variableResolver.getVariable(t[1],t[0]);if(!r)throw U.fromMessage("Undeclared variable: "+this.toString());return r},C.prototype=new n,C.prototype.constructor=C,C.superclass=n.prototype,C.prototype.init=function(e,t){this.functionName=e,this.arguments=t},C.prototype.toString=function(){for(var e=this.functionName+"(",t=0;t<this.arguments.length;t++)t>0&&(e+=", "),e+=this.arguments[t].toString();return e+")"},C.prototype.evaluate=function(e){var t=B.getFunctionFromContext(this.functionName,e);if(!t)throw new Error("Unknown function "+this.functionName);var r=[e].concat(this.arguments);return t.apply(e.functionResolver.thisArg,r)},T.prototype=new n,T.prototype.constructor=T,T.superclass=n.prototype,T.prototype.init=function(e){this.str=String(e)},T.prototype.toString=function(){return this.str},T.prototype.evaluate=function(e){return this},T.prototype.string=function(){return this},T.prototype.number=function(){return new k(this.str)},T.prototype.bool=function(){return new O(this.str)},T.prototype.nodeset=function(){throw new Error("Cannot convert string to nodeset")},T.prototype.stringValue=function(){return this.str},T.prototype.numberValue=function(){return this.number().numberValue()},T.prototype.booleanValue=function(){return this.bool().booleanValue()},T.prototype.equals=function(e){return F.instance_of(e,O)?this.bool().equals(e):F.instance_of(e,k)?this.number().equals(e):F.instance_of(e,D)?e.compareWithString(this,L.equals):new O(this.str==e.str)},T.prototype.notequal=function(e){return F.instance_of(e,O)?this.bool().notequal(e):F.instance_of(e,k)?this.number().notequal(e):F.instance_of(e,D)?e.compareWithString(this,L.notequal):new O(this.str!=e.str)},T.prototype.lessthan=function(e){return F.instance_of(e,D)?e.compareWithNumber(this.number(),L.greaterthanorequal):this.number().lessthan(e.number())},T.prototype.greaterthan=function(e){return F.instance_of(e,D)?e.compareWithNumber(this.number(),L.lessthanorequal):this.number().greaterthan(e.number())},T.prototype.lessthanorequal=function(e){return F.instance_of(e,D)?e.compareWithNumber(this.number(),L.greaterthan):this.number().lessthanorequal(e.number())},T.prototype.greaterthanorequal=function(e){return F.instance_of(e,D)?e.compareWithNumber(this.number(),L.lessthan):this.number().greaterthanorequal(e.number())},k.prototype=new n,k.prototype.constructor=k,k.superclass=n.prototype,k.prototype.init=function(e){this.num="string"==typeof e?this.parse(e):Number(e)},k.prototype.numberFormat=/^\s*-?[0-9]*\.?[0-9]+\s*$/,k.prototype.parse=function(e){return this.numberFormat.test(e)?parseFloat(e):Number.NaN},k.prototype.toString=function(){var e=this.num.toString();return-1!==e.indexOf("e-")?function(e){for(var t=e.split("e-"),r=t[0].replace(".",""),n=Number(t[1]),i=0;i<n-1;i+=1)r="0"+r;return"0."+r}(e):-1!==e.indexOf("e")?function(e){for(var t=e.split("e"),r=t[0].replace(".",""),n=Number(t[1])+1-r.length,i=0;i<n;i+=1)r+="0";return r}(e):e},k.prototype.evaluate=function(e){return this},k.prototype.string=function(){return new T(this.toString())},k.prototype.number=function(){return this},k.prototype.bool=function(){return new O(this.num)},k.prototype.nodeset=function(){throw new Error("Cannot convert number to nodeset")},k.prototype.stringValue=function(){return this.string().stringValue()},k.prototype.numberValue=function(){return this.num},k.prototype.booleanValue=function(){return this.bool().booleanValue()},k.prototype.negate=function(){return new k(-this.num)},k.prototype.equals=function(e){return F.instance_of(e,O)?this.bool().equals(e):F.instance_of(e,T)?this.equals(e.number()):F.instance_of(e,D)?e.compareWithNumber(this,L.equals):new O(this.num==e.num)},k.prototype.notequal=function(e){return F.instance_of(e,O)?this.bool().notequal(e):F.instance_of(e,T)?this.notequal(e.number()):F.instance_of(e,D)?e.compareWithNumber(this,L.notequal):new O(this.num!=e.num)},k.prototype.lessthan=function(e){return F.instance_of(e,D)?e.compareWithNumber(this,L.greaterthanorequal):F.instance_of(e,O)||F.instance_of(e,T)?this.lessthan(e.number()):new O(this.num<e.num)},k.prototype.greaterthan=function(e){return F.instance_of(e,D)?e.compareWithNumber(this,L.lessthanorequal):F.instance_of(e,O)||F.instance_of(e,T)?this.greaterthan(e.number()):new O(this.num>e.num)},k.prototype.lessthanorequal=function(e){return F.instance_of(e,D)?e.compareWithNumber(this,L.greaterthan):F.instance_of(e,O)||F.instance_of(e,T)?this.lessthanorequal(e.number()):new O(this.num<=e.num)},k.prototype.greaterthanorequal=function(e){return F.instance_of(e,D)?e.compareWithNumber(this,L.lessthan):F.instance_of(e,O)||F.instance_of(e,T)?this.greaterthanorequal(e.number()):new O(this.num>=e.num)},k.prototype.plus=function(e){return new k(this.num+e.num)},k.prototype.minus=function(e){return new k(this.num-e.num)},k.prototype.multiply=function(e){return new k(this.num*e.num)},k.prototype.div=function(e){return new k(this.num/e.num)},k.prototype.mod=function(e){return new k(this.num%e.num)},O.prototype=new n,O.prototype.constructor=O,O.superclass=n.prototype,O.prototype.init=function(e){this.b=Boolean(e)},O.prototype.toString=function(){return this.b.toString()},O.prototype.evaluate=function(e){return this},O.prototype.string=function(){return new T(this.b)},O.prototype.number=function(){return new k(this.b)},O.prototype.bool=function(){return this},O.prototype.nodeset=function(){throw new Error("Cannot convert boolean to nodeset")},O.prototype.stringValue=function(){return this.string().stringValue()},O.prototype.numberValue=function(){return this.num().numberValue()},O.prototype.booleanValue=function(){return this.b},O.prototype.not=function(){return new O(!this.b)},O.prototype.equals=function(e){return F.instance_of(e,T)||F.instance_of(e,k)?this.equals(e.bool()):F.instance_of(e,D)?e.compareWithBoolean(this,L.equals):new O(this.b==e.b)},O.prototype.notequal=function(e){return F.instance_of(e,T)||F.instance_of(e,k)?this.notequal(e.bool()):F.instance_of(e,D)?e.compareWithBoolean(this,L.notequal):new O(this.b!=e.b)},O.prototype.lessthan=function(e){return F.instance_of(e,D)?e.compareWithNumber(this.number(),L.greaterthanorequal):this.number().lessthan(e.number())},O.prototype.greaterthan=function(e){return F.instance_of(e,D)?e.compareWithNumber(this.number(),L.lessthanorequal):this.number().greaterthan(e.number())},O.prototype.lessthanorequal=function(e){return F.instance_of(e,D)?e.compareWithNumber(this.number(),L.greaterthan):this.number().lessthanorequal(e.number())},O.prototype.greaterthanorequal=function(e){return F.instance_of(e,D)?e.compareWithNumber(this.number(),L.lessthan):this.number().greaterthanorequal(e.number())},R.prototype=new Object,R.prototype.constructor=R,R.superclass=Object.prototype,R.prototype.init=function(e){this.left=null,this.right=null,this.node=e,this.depth=1},R.prototype.balance=function(){var e=null==this.left?0:this.left.depth,t=null==this.right?0:this.right.depth;if(e>t+1)(null==this.left.left?0:this.left.left.depth)<(null==this.left.right?0:this.left.right.depth)&&this.left.rotateRR(),this.rotateLL();else if(e+1<t){var r=null==this.right.right?0:this.right.right.depth;(null==this.right.left?0:this.right.left.depth)>r&&this.right.rotateLL(),this.rotateRR()}},R.prototype.rotateLL=function(){var e=this.node,t=this.right;this.node=this.left.node,this.right=this.left,this.left=this.left.left,this.right.left=this.right.right,this.right.right=t,this.right.node=e,this.right.updateInNewLocation(),this.updateInNewLocation()},R.prototype.rotateRR=function(){var e=this.node,t=this.left;this.node=this.right.node,this.left=this.right,this.right=this.right.right,this.left.right=this.left.left,this.left.left=t,this.left.node=e,this.left.updateInNewLocation(),this.updateInNewLocation()},R.prototype.updateInNewLocation=function(){this.getDepthFromChildren()},R.prototype.getDepthFromChildren=function(){this.depth=null==this.node?0:1,null!=this.left&&(this.depth=this.left.depth+1),null!=this.right&&this.depth<=this.right.depth&&(this.depth=this.right.depth+1)},R.prototype.add=function(e){if(e===this.node)return!1;var t=function(e,t){if(e===t)return 0;if(e.compareDocumentPosition){var r=e.compareDocumentPosition(t);return 1&r||10&r?1:20&r?-1:0}for(var n=0,i=0,o=e;null!=o;o=o.parentNode||o.ownerElement)n++;for(var a=t;null!=a;a=a.parentNode||a.ownerElement)i++;if(n>i){for(;n>i;)e=e.parentNode||e.ownerElement,n--;if(e===t)return 1}else if(i>n){for(;i>n;)t=t.parentNode||t.ownerElement,i--;if(e===t)return-1}for(var s=e.parentNode||e.ownerElement,l=t.parentNode||t.ownerElement;s!==l;)t=l,s=(e=s).parentNode||e.ownerElement,l=t.parentNode||t.ownerElement;var u=F.isAttribute(e),c=F.isAttribute(t);if(u&&!c)return-1;if(!u&&c)return 1;if(s)for(var h=u?s.attributes:s.childNodes,f=h.length,d=0;d<f;d+=1){var p=h[d];if(p===e)return-1;if(p===t)return 1}throw new Error("Unexpected: could not determine node order")}(e,this.node),r=!1;return-1==t?null==this.left?(this.left=new R(e),r=!0):(r=this.left.add(e))&&this.balance():1==t&&(null==this.right?(this.right=new R(e),r=!0):(r=this.right.add(e))&&this.balance()),r&&this.getDepthFromChildren(),r},D.prototype=new n,D.prototype.constructor=D,D.superclass=n.prototype,D.prototype.init=function(){this.tree=null,this.nodes=[],this.size=0},D.prototype.toString=function(){var e=this.first();return null==e?"":this.stringForNode(e)},D.prototype.evaluate=function(e){return this},D.prototype.string=function(){return new T(this.toString())},D.prototype.stringValue=function(){return this.toString()},D.prototype.number=function(){return new k(this.string())},D.prototype.numberValue=function(){return Number(this.string())},D.prototype.bool=function(){return new O(this.booleanValue())},D.prototype.booleanValue=function(){return!!this.size},D.prototype.nodeset=function(){return this},D.prototype.stringForNode=function(e){return 9==e.nodeType||1==e.nodeType||11===e.nodeType?this.stringForContainerNode(e):2===e.nodeType?e.value||e.nodeValue:e.isNamespaceNode?e.namespace:e.nodeValue},D.prototype.stringForContainerNode=function(e){for(var t="",r=e.firstChild;null!=r;r=r.nextSibling){var n=r.nodeType;1!==n&&3!==n&&4!==n&&9!==n&&11!==n||(t+=this.stringForNode(r))}return t},D.prototype.buildTree=function(){if(!this.tree&&this.nodes.length){this.tree=new R(this.nodes[0]);for(var e=1;e<this.nodes.length;e+=1)this.tree.add(this.nodes[e])}return this.tree},D.prototype.first=function(){var e=this.buildTree();if(null==e)return null;for(;null!=e.left;)e=e.left;return e.node},D.prototype.add=function(e){for(var t=0;t<this.nodes.length;t+=1)if(e===this.nodes[t])return;this.tree=null,this.nodes.push(e),this.size+=1},D.prototype.addArray=function(e){for(var t=0;t<e.length;t+=1)this.add(e[t])},D.prototype.toArray=function(){var e=[];return this.toArrayRec(this.buildTree(),e),e},D.prototype.toArrayRec=function(e,t){null!=e&&(this.toArrayRec(e.left,t),t.push(e.node),this.toArrayRec(e.right,t))},D.prototype.toUnsortedArray=function(){return this.nodes.slice()},D.prototype.compareWithString=function(e,t){for(var r=this.toUnsortedArray(),n=0;n<r.length;n++){var i=r[n],o=t(new T(this.stringForNode(i)),e);if(o.booleanValue())return o}return new O(!1)},D.prototype.compareWithNumber=function(e,t){for(var r=this.toUnsortedArray(),n=0;n<r.length;n++){var i=r[n],o=t(new k(this.stringForNode(i)),e);if(o.booleanValue())return o}return new O(!1)},D.prototype.compareWithBoolean=function(e,t){return t(this.bool(),e)},D.prototype.compareWithNodeSet=function(e,t){for(var r=this.toUnsortedArray(),n=function(e,r){return t(r,e)},i=0;i<r.length;i++){var o=new T(this.stringForNode(r[i])),a=e.compareWithString(o,n);if(a.booleanValue())return a}return new O(!1)},D.prototype.equals=function(e){return F.instance_of(e,T)?this.compareWithString(e,L.equals):F.instance_of(e,k)?this.compareWithNumber(e,L.equals):F.instance_of(e,O)?this.compareWithBoolean(e,L.equals):this.compareWithNodeSet(e,L.equals)},D.prototype.notequal=function(e){return F.instance_of(e,T)?this.compareWithString(e,L.notequal):F.instance_of(e,k)?this.compareWithNumber(e,L.notequal):F.instance_of(e,O)?this.compareWithBoolean(e,L.notequal):this.compareWithNodeSet(e,L.notequal)},D.prototype.lessthan=function(e){return F.instance_of(e,T)?this.compareWithNumber(e.number(),L.lessthan):F.instance_of(e,k)?this.compareWithNumber(e,L.lessthan):F.instance_of(e,O)?this.compareWithBoolean(e,L.lessthan):this.compareWithNodeSet(e,L.lessthan)},D.prototype.greaterthan=function(e){return F.instance_of(e,T)?this.compareWithNumber(e.number(),L.greaterthan):F.instance_of(e,k)?this.compareWithNumber(e,L.greaterthan):F.instance_of(e,O)?this.compareWithBoolean(e,L.greaterthan):this.compareWithNodeSet(e,L.greaterthan)},D.prototype.lessthanorequal=function(e){return F.instance_of(e,T)?this.compareWithNumber(e.number(),L.lessthanorequal):F.instance_of(e,k)?this.compareWithNumber(e,L.lessthanorequal):F.instance_of(e,O)?this.compareWithBoolean(e,L.lessthanorequal):this.compareWithNodeSet(e,L.lessthanorequal)},D.prototype.greaterthanorequal=function(e){return F.instance_of(e,T)?this.compareWithNumber(e.number(),L.greaterthanorequal):F.instance_of(e,k)?this.compareWithNumber(e,L.greaterthanorequal):F.instance_of(e,O)?this.compareWithBoolean(e,L.greaterthanorequal):this.compareWithNodeSet(e,L.greaterthanorequal)},D.prototype.union=function(e){var t=new D;return t.addArray(this.toUnsortedArray()),t.addArray(e.toUnsortedArray()),t},M.prototype=new Object,M.prototype.constructor=M,M.superclass=Object.prototype,M.prototype.toString=function(){return'{ "'+this.prefix+'", "'+this.namespaceURI+'" }'};var L=new Object;function P(e,t,r){this.variableResolver=null!=e?e:new I,this.namespaceResolver=null!=t?t:new j,this.functionResolver=null!=r?r:new B}function I(){}function B(e){this.thisArg=null!=e?e:q,this.functions=new Object,this.addStandardFunctions()}function j(){}L.equals=function(e,t){return e.equals(t)},L.notequal=function(e,t){return e.notequal(t)},L.lessthan=function(e,t){return e.lessthan(t)},L.greaterthan=function(e,t){return e.greaterthan(t)},L.lessthanorequal=function(e,t){return e.lessthanorequal(t)},L.greaterthanorequal=function(e,t){return e.greaterthanorequal(t)},P.prototype=new Object,P.prototype.constructor=P,P.superclass=Object.prototype,I.prototype=new Object,I.prototype.constructor=I,I.superclass=Object.prototype,I.prototype.getVariable=function(e,t){return null},B.prototype=new Object,B.prototype.constructor=B,B.superclass=Object.prototype,B.prototype.addStandardFunctions=function(){this.functions["{}last"]=q.last,this.functions["{}position"]=q.position,this.functions["{}count"]=q.count,this.functions["{}id"]=q.id,this.functions["{}local-name"]=q.localName,this.functions["{}namespace-uri"]=q.namespaceURI,this.functions["{}name"]=q.name,this.functions["{}string"]=q.string,this.functions["{}concat"]=q.concat,this.functions["{}starts-with"]=q.startsWith,this.functions["{}contains"]=q.contains,this.functions["{}substring-before"]=q.substringBefore,this.functions["{}substring-after"]=q.substringAfter,this.functions["{}substring"]=q.substring,this.functions["{}string-length"]=q.stringLength,this.functions["{}normalize-space"]=q.normalizeSpace,this.functions["{}translate"]=q.translate,this.functions["{}boolean"]=q.boolean_,this.functions["{}not"]=q.not,this.functions["{}true"]=q.true_,this.functions["{}false"]=q.false_,this.functions["{}lang"]=q.lang,this.functions["{}number"]=q.number,this.functions["{}sum"]=q.sum,this.functions["{}floor"]=q.floor,this.functions["{}ceiling"]=q.ceiling,this.functions["{}round"]=q.round},B.prototype.addFunction=function(e,t,r){this.functions["{"+e+"}"+t]=r},B.getFunctionFromContext=function(e,t){var r=F.resolveQName(e,t.namespaceResolver,t.contextNode,!1);if(null===r[0])throw new Error("Cannot resolve QName "+name);return t.functionResolver.getFunction(r[1],r[0])},B.prototype.getFunction=function(e,t){return this.functions["{"+t+"}"+e]},j.prototype=new Object,j.prototype.constructor=j,j.superclass=Object.prototype,j.prototype.getNamespace=function(e,t){if("xml"==e)return r.XML_NAMESPACE_URI;if("xmlns"==e)return r.XMLNS_NAMESPACE_URI;for(9==t.nodeType?t=t.documentElement:2==t.nodeType?t=x.prototype.getOwnerElement(t):1!=t.nodeType&&(t=t.parentNode);null!=t&&1==t.nodeType;){for(var n=t.attributes,i=0;i<n.length;i++){var o=n.item(i),a=o.name||o.nodeName;if("xmlns"===a&&""===e||a==="xmlns:"+e)return String(o.value||o.nodeValue)}t=t.parentNode}return null};var q=new Object;q.last=function(){var e=arguments[0];if(1!=arguments.length)throw new Error("Function last expects ()");return new k(e.contextSize)},q.position=function(){var e=arguments[0];if(1!=arguments.length)throw new Error("Function position expects ()");return new k(e.contextPosition)},q.count=function(){var e,t=arguments[0];if(2!=arguments.length||!F.instance_of(e=arguments[1].evaluate(t),D))throw new Error("Function count expects (node-set)");return new k(e.size)},q.id=function(){var e,t=arguments[0];if(2!=arguments.length)throw new Error("Function id expects (object)");e=arguments[1].evaluate(t);for(var r=(e=F.instance_of(e,D)?e.toArray().join(" "):e.stringValue()).split(/[\x0d\x0a\x09\x20]+/),n=new D,i=9==t.contextNode.nodeType?t.contextNode:t.contextNode.ownerDocument,o=0;o<r.length;o++){var a;null!=(a=i.getElementById?i.getElementById(r[o]):F.getElementById(i,r[o]))&&n.add(a)}return n},q.localName=function(){var e,t=arguments[0];if(1==arguments.length)e=t.contextNode;else{if(2!=arguments.length)throw new Error("Function local-name expects (node-set?)");e=arguments[1].evaluate(t).first()}return new T(null==e?"":e.localName||e.baseName||e.target||e.nodeName||"")},q.namespaceURI=function(){var e,t=arguments[0];if(1==arguments.length)e=t.contextNode;else{if(2!=arguments.length)throw new Error("Function namespace-uri expects (node-set?)");e=arguments[1].evaluate(t).first()}return new T(null==e?"":e.namespaceURI)},q.name=function(){var e,t=arguments[0];if(1==arguments.length)e=t.contextNode;else{if(2!=arguments.length)throw new Error("Function name expects (node-set?)");e=arguments[1].evaluate(t).first()}return null==e?new T(""):1==e.nodeType?new T(e.nodeName):2==e.nodeType?new T(e.name||e.nodeName):7===e.nodeType?new T(e.target||e.nodeName):null==e.localName?new T(""):new T(e.localName)},q.string=function(){var e=arguments[0];if(1==arguments.length)return new T(D.prototype.stringForNode(e.contextNode));if(2==arguments.length)return arguments[1].evaluate(e).string();throw new Error("Function string expects (object?)")},q.concat=function(){var e=arguments[0];if(arguments.length<3)throw new Error("Function concat expects (string, string, string*)");for(var t="",r=1;r<arguments.length;r++)t+=arguments[r].evaluate(e).stringValue();return new T(t)},q.startsWith=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function startsWith expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),r=arguments[2].evaluate(e).stringValue();return new O(t.substring(0,r.length)==r)},q.contains=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function contains expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),r=arguments[2].evaluate(e).stringValue();return new O(-1!==t.indexOf(r))},q.substringBefore=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function substring-before expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),r=arguments[2].evaluate(e).stringValue();return new T(t.substring(0,t.indexOf(r)))},q.substringAfter=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function substring-after expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),r=arguments[2].evaluate(e).stringValue();if(0==r.length)return new T(t);var n=t.indexOf(r);return new T(-1==n?"":t.substring(n+r.length))},q.substring=function(){var e=arguments[0];if(3!=arguments.length&&4!=arguments.length)throw new Error("Function substring expects (string, number, number?)");var t=arguments[1].evaluate(e).stringValue(),r=Math.round(arguments[2].evaluate(e).numberValue())-1,n=4==arguments.length?r+Math.round(arguments[3].evaluate(e).numberValue()):void 0;return new T(t.substring(r,n))},q.stringLength=function(){var e,t=arguments[0];if(1==arguments.length)e=D.prototype.stringForNode(t.contextNode);else{if(2!=arguments.length)throw new Error("Function string-length expects (string?)");e=arguments[1].evaluate(t).stringValue()}return new k(e.length)},q.normalizeSpace=function(){var e,t=arguments[0];if(1==arguments.length)e=D.prototype.stringForNode(t.contextNode);else{if(2!=arguments.length)throw new Error("Function normalize-space expects (string?)");e=arguments[1].evaluate(t).stringValue()}for(var r=0,n=e.length-1;F.isSpace(e.charCodeAt(n));)n--;for(var i="";r<=n&&F.isSpace(e.charCodeAt(r));)r++;for(;r<=n;)if(F.isSpace(e.charCodeAt(r)))for(i+=" ";r<=n&&F.isSpace(e.charCodeAt(r));)r++;else i+=e.charAt(r),r++;return new T(i)},q.translate=function(){var e=arguments[0];if(4!=arguments.length)throw new Error("Function translate expects (string, string, string)");for(var t=arguments[1].evaluate(e).stringValue(),r=arguments[2].evaluate(e).stringValue(),n=arguments[3].evaluate(e).stringValue(),i=[],o=0;o<r.length;o++){var a=r.charCodeAt(o);if(null==i[a]){var s=o>n.length?"":n.charAt(o);i[a]=s}}var l="";for(o=0;o<t.length;o++){var u=i[e=t.charCodeAt(o)];l+=null==u?t.charAt(o):u}return new T(l)},q.boolean_=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function boolean expects (object)");return arguments[1].evaluate(e).bool()},q.not=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function not expects (object)");return arguments[1].evaluate(e).bool().not()},q.true_=function(){if(1!=arguments.length)throw new Error("Function true expects ()");return new O(!0)},q.false_=function(){if(1!=arguments.length)throw new Error("Function false expects ()");return new O(!1)},q.lang=function(){var e,t=arguments[0];if(2!=arguments.length)throw new Error("Function lang expects (string)");for(var n=t.contextNode;null!=n&&9!=n.nodeType;n=n.parentNode){var i=n.getAttributeNS(r.XML_NAMESPACE_URI,"lang");if(null!=i){e=String(i);break}}if(null==e)return new O(!1);var o=arguments[1].evaluate(t).stringValue();return new O(e.substring(0,o.length)==o&&(e.length==o.length||"-"==e.charAt(o.length)))},q.number=function(){var e=arguments[0];if(1!=arguments.length&&2!=arguments.length)throw new Error("Function number expects (object?)");return 1==arguments.length?new k(D.prototype.stringForNode(e.contextNode)):arguments[1].evaluate(e).number()},q.sum=function(){var e,t=arguments[0];if(2!=arguments.length||!F.instance_of(e=arguments[1].evaluate(t),D))throw new Error("Function sum expects (node-set)");e=e.toUnsortedArray();for(var r=0,n=0;n<e.length;n++)r+=new k(D.prototype.stringForNode(e[n])).numberValue();return new k(r)},q.floor=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function floor expects (number)");return new k(Math.floor(arguments[1].evaluate(e).numberValue()))},q.ceiling=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function ceiling expects (number)");return new k(Math.ceil(arguments[1].evaluate(e).numberValue()))},q.round=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function round expects (number)");return new k(Math.round(arguments[1].evaluate(e).numberValue()))};var F=new Object;F.isAttribute=function(e){return e&&(2===e.nodeType||e.ownerElement)},F.splitQName=function(e){var t=e.indexOf(":");return-1==t?[null,e]:[e.substring(0,t),e.substring(t+1)]},F.resolveQName=function(e,t,r,n){var i=F.splitQName(e);return null!=i[0]?i[0]=t.getNamespace(i[0],r):n?(i[0]=t.getNamespace("",r),null==i[0]&&(i[0]="")):i[0]="",i},F.isSpace=function(e){return 9==e||13==e||10==e||32==e},F.isLetter=function(e){return e>=65&&e<=90||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=255||e>=256&&e<=305||e>=308&&e<=318||e>=321&&e<=328||e>=330&&e<=382||e>=384&&e<=451||e>=461&&e<=496||e>=500&&e<=501||e>=506&&e<=535||e>=592&&e<=680||e>=699&&e<=705||902==e||e>=904&&e<=906||908==e||e>=910&&e<=929||e>=931&&e<=974||e>=976&&e<=982||986==e||988==e||990==e||992==e||e>=994&&e<=1011||e>=1025&&e<=1036||e>=1038&&e<=1103||e>=1105&&e<=1116||e>=1118&&e<=1153||e>=1168&&e<=1220||e>=1223&&e<=1224||e>=1227&&e<=1228||e>=1232&&e<=1259||e>=1262&&e<=1269||e>=1272&&e<=1273||e>=1329&&e<=1366||1369==e||e>=1377&&e<=1414||e>=1488&&e<=1514||e>=1520&&e<=1522||e>=1569&&e<=1594||e>=1601&&e<=1610||e>=1649&&e<=1719||e>=1722&&e<=1726||e>=1728&&e<=1742||e>=1744&&e<=1747||1749==e||e>=1765&&e<=1766||e>=2309&&e<=2361||2365==e||e>=2392&&e<=2401||e>=2437&&e<=2444||e>=2447&&e<=2448||e>=2451&&e<=2472||e>=2474&&e<=2480||2482==e||e>=2486&&e<=2489||e>=2524&&e<=2525||e>=2527&&e<=2529||e>=2544&&e<=2545||e>=2565&&e<=2570||e>=2575&&e<=2576||e>=2579&&e<=2600||e>=2602&&e<=2608||e>=2610&&e<=2611||e>=2613&&e<=2614||e>=2616&&e<=2617||e>=2649&&e<=2652||2654==e||e>=2674&&e<=2676||e>=2693&&e<=2699||2701==e||e>=2703&&e<=2705||e>=2707&&e<=2728||e>=2730&&e<=2736||e>=2738&&e<=2739||e>=2741&&e<=2745||2749==e||2784==e||e>=2821&&e<=2828||e>=2831&&e<=2832||e>=2835&&e<=2856||e>=2858&&e<=2864||e>=2866&&e<=2867||e>=2870&&e<=2873||2877==e||e>=2908&&e<=2909||e>=2911&&e<=2913||e>=2949&&e<=2954||e>=2958&&e<=2960||e>=2962&&e<=2965||e>=2969&&e<=2970||2972==e||e>=2974&&e<=2975||e>=2979&&e<=2980||e>=2984&&e<=2986||e>=2990&&e<=2997||e>=2999&&e<=3001||e>=3077&&e<=3084||e>=3086&&e<=3088||e>=3090&&e<=3112||e>=3114&&e<=3123||e>=3125&&e<=3129||e>=3168&&e<=3169||e>=3205&&e<=3212||e>=3214&&e<=3216||e>=3218&&e<=3240||e>=3242&&e<=3251||e>=3253&&e<=3257||3294==e||e>=3296&&e<=3297||e>=3333&&e<=3340||e>=3342&&e<=3344||e>=3346&&e<=3368||e>=3370&&e<=3385||e>=3424&&e<=3425||e>=3585&&e<=3630||3632==e||e>=3634&&e<=3635||e>=3648&&e<=3653||e>=3713&&e<=3714||3716==e||e>=3719&&e<=3720||3722==e||3725==e||e>=3732&&e<=3735||e>=3737&&e<=3743||e>=3745&&e<=3747||3749==e||3751==e||e>=3754&&e<=3755||e>=3757&&e<=3758||3760==e||e>=3762&&e<=3763||3773==e||e>=3776&&e<=3780||e>=3904&&e<=3911||e>=3913&&e<=3945||e>=4256&&e<=4293||e>=4304&&e<=4342||4352==e||e>=4354&&e<=4355||e>=4357&&e<=4359||4361==e||e>=4363&&e<=4364||e>=4366&&e<=4370||4412==e||4414==e||4416==e||4428==e||4430==e||4432==e||e>=4436&&e<=4437||4441==e||e>=4447&&e<=4449||4451==e||4453==e||4455==e||4457==e||e>=4461&&e<=4462||e>=4466&&e<=4467||4469==e||4510==e||4520==e||4523==e||e>=4526&&e<=4527||e>=4535&&e<=4536||4538==e||e>=4540&&e<=4546||4587==e||4592==e||4601==e||e>=7680&&e<=7835||e>=7840&&e<=7929||e>=7936&&e<=7957||e>=7960&&e<=7965||e>=7968&&e<=8005||e>=8008&&e<=8013||e>=8016&&e<=8023||8025==e||8027==e||8029==e||e>=8031&&e<=8061||e>=8064&&e<=8116||e>=8118&&e<=8124||8126==e||e>=8130&&e<=8132||e>=8134&&e<=8140||e>=8144&&e<=8147||e>=8150&&e<=8155||e>=8160&&e<=8172||e>=8178&&e<=8180||e>=8182&&e<=8188||8486==e||e>=8490&&e<=8491||8494==e||e>=8576&&e<=8578||e>=12353&&e<=12436||e>=12449&&e<=12538||e>=12549&&e<=12588||e>=44032&&e<=55203||e>=19968&&e<=40869||12295==e||e>=12321&&e<=12329},F.isNCNameChar=function(e){return e>=48&&e<=57||e>=1632&&e<=1641||e>=1776&&e<=1785||e>=2406&&e<=2415||e>=2534&&e<=2543||e>=2662&&e<=2671||e>=2790&&e<=2799||e>=2918&&e<=2927||e>=3047&&e<=3055||e>=3174&&e<=3183||e>=3302&&e<=3311||e>=3430&&e<=3439||e>=3664&&e<=3673||e>=3792&&e<=3801||e>=3872&&e<=3881||46==e||45==e||95==e||F.isLetter(e)||e>=768&&e<=837||e>=864&&e<=865||e>=1155&&e<=1158||e>=1425&&e<=1441||e>=1443&&e<=1465||e>=1467&&e<=1469||1471==e||e>=1473&&e<=1474||1476==e||e>=1611&&e<=1618||1648==e||e>=1750&&e<=1756||e>=1757&&e<=1759||e>=1760&&e<=1764||e>=1767&&e<=1768||e>=1770&&e<=1773||e>=2305&&e<=2307||2364==e||e>=2366&&e<=2380||2381==e||e>=2385&&e<=2388||e>=2402&&e<=2403||e>=2433&&e<=2435||2492==e||2494==e||2495==e||e>=2496&&e<=2500||e>=2503&&e<=2504||e>=2507&&e<=2509||2519==e||e>=2530&&e<=2531||2562==e||2620==e||2622==e||2623==e||e>=2624&&e<=2626||e>=2631&&e<=2632||e>=2635&&e<=2637||e>=2672&&e<=2673||e>=2689&&e<=2691||2748==e||e>=2750&&e<=2757||e>=2759&&e<=2761||e>=2763&&e<=2765||e>=2817&&e<=2819||2876==e||e>=2878&&e<=2883||e>=2887&&e<=2888||e>=2891&&e<=2893||e>=2902&&e<=2903||e>=2946&&e<=2947||e>=3006&&e<=3010||e>=3014&&e<=3016||e>=3018&&e<=3021||3031==e||e>=3073&&e<=3075||e>=3134&&e<=3140||e>=3142&&e<=3144||e>=3146&&e<=3149||e>=3157&&e<=3158||e>=3202&&e<=3203||e>=3262&&e<=3268||e>=3270&&e<=3272||e>=3274&&e<=3277||e>=3285&&e<=3286||e>=3330&&e<=3331||e>=3390&&e<=3395||e>=3398&&e<=3400||e>=3402&&e<=3405||3415==e||3633==e||e>=3636&&e<=3642||e>=3655&&e<=3662||3761==e||e>=3764&&e<=3769||e>=3771&&e<=3772||e>=3784&&e<=3789||e>=3864&&e<=3865||3893==e||3895==e||3897==e||3902==e||3903==e||e>=3953&&e<=3972||e>=3974&&e<=3979||e>=3984&&e<=3989||3991==e||e>=3993&&e<=4013||e>=4017&&e<=4023||4025==e||e>=8400&&e<=8412||8417==e||e>=12330&&e<=12335||12441==e||12442==e||183==e||720==e||721==e||903==e||1600==e||3654==e||3782==e||12293==e||e>=12337&&e<=12341||e>=12445&&e<=12446||e>=12540&&e<=12542},F.coalesceText=function(e){for(var t=e.firstChild;null!=t;t=t.nextSibling)if(3==t.nodeType||4==t.nodeType){var r=t.nodeValue,n=t;for(t=t.nextSibling;null!=t&&(3==t.nodeType||4==t.nodeType);){r+=t.nodeValue;var i=t;t=t.nextSibling,i.parentNode.removeChild(i)}if(4==n.nodeType){var o=n.parentNode;if(null==n.nextSibling)o.removeChild(n),o.appendChild(o.ownerDocument.createTextNode(r));else{var a=n.nextSibling;o.removeChild(n),o.insertBefore(o.ownerDocument.createTextNode(r),a)}}else n.nodeValue=r;if(null==t)break}else 1==t.nodeType&&F.coalesceText(t)},F.instance_of=function(e,t){for(;null!=e;){if(e.constructor===t)return!0;if(e===Object)return!1;e=e.constructor.superclass}return!1},F.getElementById=function(e,t){if(1==e.nodeType&&(e.getAttribute("id")==t||e.getAttributeNS(null,"id")==t))return e;for(var r=e.firstChild;null!=r;r=r.nextSibling){var n=F.getElementById(r,t);if(null!=n)return n}return null};var U=function(){function e(t,r,n){var i=Error.call(this,function(t,r){var n=r?": "+r.toString():"";switch(t){case e.INVALID_EXPRESSION_ERR:return"Invalid expression"+n;case e.TYPE_ERR:return"Type error"+n}return null}(t,r)||n);return i.code=t,i.exception=r,i}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.superclass=Error,e.prototype.toString=function(){return this.message},e.fromMessage=function(t,r){return new e(null,r,t)},e.INVALID_EXPRESSION_ERR=51,e.TYPE_ERR=52,e}();function z(e,t,r){this.xpath=r.parse(e),this.context=new P,this.context.namespaceResolver=new W(t)}function W(e){this.xpathNSResolver=e}function H(e){this.node=e,this.namespaceResolver=new j}function V(e,t){switch(t==V.ANY_TYPE&&(e.constructor===T?t=V.STRING_TYPE:e.constructor===k?t=V.NUMBER_TYPE:e.constructor===O?t=V.BOOLEAN_TYPE:e.constructor===D&&(t=V.UNORDERED_NODE_ITERATOR_TYPE)),this.resultType=t,t){case V.NUMBER_TYPE:return void(this.numberValue=e.numberValue());case V.STRING_TYPE:return void(this.stringValue=e.stringValue());case V.BOOLEAN_TYPE:return void(this.booleanValue=e.booleanValue());case V.ANY_UNORDERED_NODE_TYPE:case V.FIRST_ORDERED_NODE_TYPE:if(e.constructor===D)return void(this.singleNodeValue=e.first());break;case V.UNORDERED_NODE_ITERATOR_TYPE:case V.ORDERED_NODE_ITERATOR_TYPE:if(e.constructor===D)return this.invalidIteratorState=!1,this.nodes=e.toArray(),void(this.iteratorIndex=0);break;case V.UNORDERED_NODE_SNAPSHOT_TYPE:case V.ORDERED_NODE_SNAPSHOT_TYPE:if(e.constructor===D)return this.nodes=e.toArray(),void(this.snapshotLength=this.nodes.length)}throw new U(U.TYPE_ERR)}function G(e,t){e.createExpression=function(e,r){try{return new z(e,r,t)}catch(e){throw new U(U.INVALID_EXPRESSION_ERR,e)}},e.createNSResolver=function(e){return new H(e)},e.evaluate=function(r,n,i,o,a){if(o<0||o>9)throw{code:0,toString:function(){return"Request type not supported"}};return e.createExpression(r,i,t).evaluate(n,o,a)}}z.prototype={},z.prototype.constructor=z,z.superclass=Object.prototype,z.prototype.evaluate=function(e,t,r){return this.context.expressionContextNode=e,new V(this.xpath.evaluate(this.context),t)},W.prototype={},W.prototype.constructor=W,W.superclass=Object.prototype,W.prototype.getNamespace=function(e,t){return null==this.xpathNSResolver?null:this.xpathNSResolver.lookupNamespaceURI(e)},H.prototype={},H.prototype.constructor=H,H.superclass=Object.prototype,H.prototype.lookupNamespaceURI=function(e){return this.namespaceResolver.getNamespace(e,this.node)},V.prototype={},V.prototype.constructor=V,V.superclass=Object.prototype,V.prototype.iterateNext=function(){if(this.resultType!=V.UNORDERED_NODE_ITERATOR_TYPE&&this.resultType!=V.ORDERED_NODE_ITERATOR_TYPE)throw new U(U.TYPE_ERR);return this.nodes[this.iteratorIndex++]},V.prototype.snapshotItem=function(e){if(this.resultType!=V.UNORDERED_NODE_SNAPSHOT_TYPE&&this.resultType!=V.ORDERED_NODE_SNAPSHOT_TYPE)throw new U(U.TYPE_ERR);return this.nodes[e]},V.ANY_TYPE=0,V.NUMBER_TYPE=1,V.STRING_TYPE=2,V.BOOLEAN_TYPE=3,V.UNORDERED_NODE_ITERATOR_TYPE=4,V.ORDERED_NODE_ITERATOR_TYPE=5,V.UNORDERED_NODE_SNAPSHOT_TYPE=6,V.ORDERED_NODE_SNAPSHOT_TYPE=7,V.ANY_UNORDERED_NODE_TYPE=8,V.FIRST_ORDERED_NODE_TYPE=9;try{var Y=!0;try{document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("XPath",null)&&(Y=!1)}catch(e){}Y&&G(document,new t)}catch(e){}G(e,new t),function(){var r=new t,n=new j,i=new B,o=new I;function a(e){return{getNamespace:function(t,r){return e(t,r)||n.getNamespace(t,r)}}}function s(e){return e&&"function"==typeof e.getNamespace?a((t=e).getNamespace.bind(t)):"function"==typeof e?a(e):"object"==typeof e?(r=e,a(function(e){return r[e]})):n;var t,r}function l(e){if(null==e||e instanceof T||e instanceof O||e instanceof k||e instanceof D)return e;switch(typeof e){case"string":return new T(e);case"boolean":return new O(e);case"number":return new k(e)}var t=new D;return t.addArray([].concat(e)),t}function u(e){return{getFunction:function(t,r){var n=e(t,r);return n?function(e){return function(t){var r=Array.prototype.slice.call(arguments,1).map(function(e){return e.evaluate(t)});return l(e.apply(this,[].concat(t,r)))}}(n):i.getFunction(t,r)}}}function c(e){return e&&"function"==typeof e.getFunction?u((t=e).getFunction.bind(t)):"function"==typeof e?u(e):"object"==typeof e?(r=e,u(function(e){return r[e]})):i;var t,r}function h(e){return{getVariable:function(t,r){return l(e(t,r))}}}function f(e){var t=new P;return e?(t.namespaceResolver=s(e.namespaces),t.functionResolver=c(e.functions),t.variableResolver=function(e){if(e){if("function"==typeof e.getVariable)return h(e.getVariable.bind(e));if("function"==typeof e)return h(e);if("object"==typeof e)return h(function(t){return e[t]})}return o}(e.variables),t.expressionContextNode=e.node):t.namespaceResolver=n,t}var d={evaluate:function(e){return function(e,t){var r=f(t);return e.evaluate(r)}(this.expression,e)},evaluateNumber:function(e){return this.evaluate(e).numberValue()},evaluateString:function(e){return this.evaluate(e).stringValue()},evaluateBoolean:function(e){return this.evaluate(e).booleanValue()},evaluateNodeSet:function(e){return this.evaluate(e).nodeset()},select:function(e){return this.evaluateNodeSet(e).toArray()},select1:function(e){return this.select(e)[0]}};e.parse=function(e){var t=r.parse(e);return Object.create(d,{expression:{value:t}})}}(),e.XPath=r,e.XPathParser=t,e.XPathResult=V,e.Step=A,e.NodeTest=S,e.BarOperation=y,e.NamespaceResolver=j,e.FunctionResolver=B,e.VariableResolver=I,e.Utilities=F,e.XPathContext=P,e.XNodeSet=D,e.XBoolean=O,e.XString=T,e.XNumber=k,e.select=function(t,r,n){return e.selectWithResolver(t,r,null,n)},e.useNamespaces=function(t){var r={mappings:t||{},lookupNamespaceURI:function(e){return this.mappings[e]}};return function(t,n,i){return e.selectWithResolver(t,n,r,i)}},e.selectWithResolver=function(e,r,n,i){var o=new z(e,n,new t),a=V.ANY_TYPE,s=o.evaluate(r,a,null);return s.resultType==V.STRING_TYPE?s=s.stringValue:s.resultType==V.NUMBER_TYPE?s=s.numberValue:s.resultType==V.BOOLEAN_TYPE?s=s.booleanValue:(s=s.nodes,i&&(s=s[0])),s},e.select1=function(t,r){return e.select(t,r,!0)}}(e)}(Jh);var Kh={},Qh=/[|\\{}()[\]^$+*?.]/g;let ef=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Qh,"\\$&")};Kh.oprx=new RegExp(["¨","!",'"',"#","&","(",")","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_","`","{","|","}","~","¡","¦","¬","¯","°","±","²","³","´","·","¹","¿","×","~","÷","ˇ","˘","˙","˜","˝","̀","́","̂","̃","̄","̅","̆","̇","̈","̉","̊","̋","̌","̍","̎","̏","̐","̑","̒","̓","̔","̕","̖","̗","̘","̙","̚","̛","̜","̝","̞","̟","̠","̡","̢","̣","̤","̥","̦","̧","̨","̩","̪","̫","̬","̭","̮","̯","̰","̱","̲","̳","̴","̵","̶","̷","̸","̿"," "," "," "," "," "," "," "," "," ","‐","‒","–","—","‖","†","‡","•","․","‥","…","′","″","‴","‼","⁀","⁄","⁎","⁏","⁐","⁗","","","","⁰","⁴","⁵","⁶","⁷","⁸","⁹","⁺","⁻","⁼","⁽","⁾","₀","₁","₂","₃","₄","₅","₆","₇","₈","₉","₊","₋","₌","₍","₎","⃐","⃑","⃒","⃓","⃔","⃕","⃖","⃗","⃘","⃙","⃚","⃛","⃜","⃝","⃞","⃟","⃠","⃡","⃤","⃥","⃦","⃧","⃨","⃩","⃪","⅀","ⅆ","←","↑","→","↓","↔","↕","↖","↗","↘","↙","↚","↛","↜","↝","↞","↟","↠","↡","↢","↣","↤","↥","↦","↧","↨","↩","↪","↫","↬","↭","↮","↯","↰","↱","↲","↳","↶","↷","↺","↻","↼","↽","↾","↿","⇀","⇁","⇂","⇃","⇄","⇅","⇆","⇇","⇈","⇉","⇊","⇋","⇌","⇍","⇎","⇏","⇐","⇑","⇒","⇓","⇔","⇕","⇖","⇗","⇘","⇙","⇚","⇛","⇜","⇝","⇞","⇟","⇠","⇡","⇢","⇣","⇤","⇥","⇦","⇧","⇨","⇩","⇳","⇴","⇵","⇶","⇷","⇸","⇹","⇺","⇻","⇼","⇽","⇾","⇿","∀","∁","∂","∃","∄","∆","∇","∈","∉","∊","∋","∌","∍","∏","∐","∑","−","∓","∔","∕","∖","∗","∘","∙","√","∛","∜","∝","∣","∤","∥","∦","∧","∨","∩","∪","∫","∬","∭","∮","∯","∰","∱","∲","∳","∴","∵","∶","∷","∸","∹","∺","∻","∼","∽","∾","≀","≁","≂","≃","≄","≅","≆","≇","≈","≉","≊","≋","≌","≍","≎","≏","≐","≑","≒","≓","≔","≕","≖","≗","≘","≙","≚","≛","≜","≝","≞","≟","≠","≡","≢","≣","≤","≥","≦","≧","≨","≩","≪","≫","≬","≭","≮","≯","≰","≱","≲","≳","≴","≵","≶","≷","≸","≹","≺","≻","≼","≽","≾","≿","⊀","⊁","⊂","⊃","⊄","⊅","⊆","⊇","⊈","⊉","⊊","⊋","⊌","⊍","⊎","⊏","⊐","⊑","⊒","⊓","⊔","⊕","⊖","⊗","⊘","⊙","⊚","⊛","⊜","⊝","⊞","⊟","⊠","⊡","⊢","⊣","⊥","⊦","⊧","⊨","⊩","⊪","⊫","⊬","⊭","⊮","⊯","⊰","⊱","⊲","⊳","⊴","⊵","⊶","⊷","⊸","⊹","⊺","⊻","⊼","⊽","⋀","⋁","⋂","⋃","⋄","⋅","⋆","⋇","⋈","⋉","⋊","⋋","⋌","⋍","⋎","⋏","⋐","⋑","⋒","⋓","⋔","⋕","⋖","⋗","⋘","⋙","⋚","⋛","⋜","⋝","⋞","⋟","⋠","⋡","⋢","⋣","⋤","⋥","⋦","⋧","⋨","⋩","⋪","⋫","⋬","⋭","⋮","⋯","⋰","⋱","⋲","⋳","⋴","⋵","⋶","⋷","⋸","⋹","⋺","⋻","⋼","⋽","⋾","⋿","⌅","⌆","⌈","⌉","⌊","⌋","⌜","⌝","⌞","⌟","⌢","⌣","〈","〉","⌽","⌿","⎰","⎱","⏜","⏝","⏞","⏟","⏠","│","├","┤","┬","┴","▁","█","▒","■","□","▭","▲","△","▴","▵","▶","▷","▸","▹","▼","▽","▾","▿","◀","◁","◂","◃","◄","◅","◊","○","◦","◫","◬","◸","◹","◺","◻","◼","◽","◾","◿","★","☆","❲","❳","⟑","⟒","⟓","⟔","⟕","⟖","⟗","⟘","⟙","⟚","⟛","⟜","⟝","⟞","⟟","⟠","⟡","⟢","⟣","⟤","⟥","⟦","⟧","⟨","⟩","⟪","⟫","⟰","⟱","⟲","⟳","⟴","⟵","⟶","⟷","⟸","⟹","⟺","⟻","⟼","⟽","⟾","⟿","⤀","⤁","⤂","⤃","⤄","⤅","⤆","⤇","⤈","⤉","⤊","⤋","⤌","⤍","⤎","⤏","⤐","⤑","⤒","⤓","⤔","⤕","⤖","⤗","⤘","⤙","⤚","⤛","⤜","⤝","⤞","⤟","⤠","⤡","⤢","⤣","⤤","⤥","⤦","⤧","⤨","⤩","⤪","⤫","⤬","⤭","⤮","⤯","⤰","⤱","⤲","⤳","⤴","⤵","⤶","⤷","⤸","⤹","⤺","⤻","⤼","⤽","⤾","⤿","⥀","⥁","⥂","⥃","⥄","⥅","⥆","⥇","⥈","⥉","⥊","⥋","⥌","⥍","⥎","⥏","⥐","⥑","⥒","⥓","⥔","⥕","⥖","⥗","⥘","⥙","⥚","⥛","⥜","⥝","⥞","⥟","⥠","⥡","⥢","⥣","⥤","⥥","⥦","⥧","⥨","⥩","⥪","⥫","⥬","⥭","⥮","⥯","⥰","⥱","⥲","⥳","⥴","⥵","⥶","⥷","⥸","⥹","⥺","⥻","⥼","⥽","⥾","⥿","⦀","⦂","⦃","⦄","⦅","⦆","⦇","⦈","⦉","⦊","⦋","⦌","⦍","⦎","⦏","⦐","⦑","⦒","⦓","⦔","⦕","⦖","⦗","⦘","⦙","⦚","⦶","⦷","⦸","⦹","⧀","⧁","⧄","⧅","⧆","⧇","⧈","⧎","⧏","⧐","⧑","⧒","⧓","⧔","⧕","⧖","⧗","⧘","⧙","⧚","⧛","⧟","⧡","⧢","⧣","⧤","⧥","⧦","⧫","⧴","⧵","⧶","⧷","⧸","⧹","⧺","⧻","⧼","⧽","⧾","⧿","⨀","⨁","⨂","⨃","⨄","⨅","⨆","⨇","⨈","⨉","⨊","⨋","⨌","⨍","⨎","⨏","⨐","⨑","⨒","⨓","⨔","⨕","⨖","⨗","⨘","⨙","⨚","⨛","⨜","⨝","⨞","⨟","⨠","⨡","⨢","⨣","⨤","⨥","⨦","⨧","⨨","⨩","⨪","⨫","⨬","⨭","⨮","⨯","⨰","⨱","⨲","⨳","⨴","⨵","⨶","⨷","⨸","⨹","⨺","⨻","⨼","⨽","⨾","⨿","⩀","⩁","⩂","⩃","⩄","⩅","⩆","⩇","⩈","⩉","⩊","⩋","⩌","⩍","⩎","⩏","⩐","⩑","⩒","⩓","⩔","⩕","⩖","⩗","⩘","⩙","⩚","⩛","⩜","⩝","⩞","⩟","⩠","⩡","⩢","⩣","⩤","⩥","⩦","⩧","⩨","⩩","⩪","⩫","⩬","⩭","⩮","⩯","⩰","⩱","⩲","⩳","⩴","⩵","⩶","⩷","⩸","⩹","⩺","⩻","⩼","⩽","⩾","⩿","⪀","⪁","⪂","⪃","⪄","⪅","⪆","⪇","⪈","⪉","⪊","⪋","⪌","⪍","⪎","⪏","⪐","⪑","⪒","⪓","⪔","⪕","⪖","⪗","⪘","⪙","⪚","⪛","⪜","⪝","⪞","⪟","⪠","⪡","⪢","⪣","⪤","⪥","⪦","⪧","⪨","⪩","⪪","⪫","⪬","⪭","⪮","⪯","⪰","⪱","⪲","⪳","⪴","⪵","⪶","⪷","⪸","⪹","⪺","⪻","⪼","⪽","⪾","⪿","⫀","⫁","⫂","⫃","⫄","⫅","⫆","⫇","⫈","⫉","⫊","⫋","⫌","⫍","⫎","⫏","⫐","⫑","⫒","⫓","⫔","⫕","⫖","⫗","⫘","⫙","⫚","⫛","⫝̸","⫝","⫞","⫟","⫠","⫢","⫣","⫤","⫥","⫦","⫧","⫨","⫩","⫪","⫫","⫬","⫭","⫮","⫯","⫰","⫲","⫳","⫴","⫵","⫶","⫷","⫸","⫹","⫺","⫻","⫼","⫽","⫾","⫿","⬄","⬆","⬇","⬌","⬍","〔","〕","〖","〗","〘","〙","!","&","(",")","+",",","-",".","/",":",";","<","=",">","?","@","[","\","]","^","_","{","|","}"].map(e=>ef(e)).join("|"));let tf,rf=class{constructor({mode:e="function"}={}){this.templates=[],this.mode=e,this.lookupText=null,this.lookupDocument=null,this.lookupElement={}}match(e,t){if(Array.isArray(e)||(e=[e]),"function"===this.mode){if(e.find(e=>"function"!=typeof e))throw new Error("All matchers must be functions");this.templates.push({matcher:e,template:t})}else{if("lookup"!==this.mode)throw new Error(`Unknown mode ${this.mode}`);if(e.find(e=>!e.nt))throw new Error("All matchers must be objects with a type");e.forEach(({nt:e,ns:r,ln:n})=>{if("text"===e){if(this.lookupText)throw new Error("You can only have one text lookup template");this.lookupText=t}else if("document"===e){if(this.lookupDocument)throw new Error("You can only have one document lookup template");this.lookupDocument=t}else{if("element"!==e)throw new Error(`Unknown lookup node type "${e}"`);if(this.lookupElement[r]||(this.lookupElement[r]={}),this.lookupElement[r][n])throw new Error(`You can only have one element lookup template ${r}|${n}`);this.lookupElement[r][n]=t}})}return this}result(e){this.res=e}findMatch(e){let t=e.nodeType;if("function"===this.mode)for(let t=0;t<this.templates.length;t++){let r=this.templates[t];if(!r.matcher.some(t=>t(e)))continue;this.stack.unshift(e);let n=r.template(e,this.out[0],this);return this.stack.shift(),n}else{if("lookup"!==this.mode)throw new Error(`Unknown mode ${this.mode}`);if((t===jh||t===qh)&&this.lookupText){this.stack.unshift(e);let t=this.lookupText(e,this.out[0],this);return this.stack.shift(),t}if(t===Fh&&this.lookupDocument){this.stack.unshift(e);let t=this.lookupDocument(e,this.out[0],this);return this.stack.shift(),t}if(t===Bh){let{namespaceURI:t,localName:r}=e,n=this.lookupElement[t]&&this.lookupElement[t][r]||this.lookupElement[""]&&this.lookupElement[""]["*"];if(n){this.stack.unshift(e);let t=n(e,this.out[0],this);return this.stack.shift(),t}}}if(t===jh||t===qh){let t=this.out[0];if(t){let r=t.ownerDocument.createTextNode(e.textContent);t.appendChild(r)}return e}if(t===Bh||t===Fh||t===Uh){this.stack.unshift(e);let t=this.walk(this.out[0]);return this.stack.shift(),t}}walk(e,t){this.out.unshift(e);let r=[];if(t)Array.isArray(t)||(t=[t]),t.forEach(e=>r.push(this.findMatch(e)));else{let e=this.stack[0].firstChild;for(;e;)r.push(this.findMatch(e)),e=e.nextSibling}return this.out.shift(),r}run(e,t){if(this.stack=[],this.out=[],this.res=null,!t)return this.findMatch(e),this.res;Ge(()=>{this.findMatch(e),t(null,this.res)})}},nf=function(e,t={},r={}){return{el:(t,n={},i)=>{let o=Wh(t,r),a=o.ns?e.createElementNS(o.ns,t):e.createElement(t);return Object.keys(n).forEach(e=>{if(null==n[e]||""===n[e])return;let t=Wh(e,r);t.ns?a.setAttributeNS(t.ns,e,n[e]):a.setAttribute(e,n[e])}),i&&i.appendChild(a),a},amap:(e,n={})=>(Object.keys(t).forEach(i=>{let o=Wh(i,r);o.ns&&e.hasAttributeNS(o.ns,o.ln)?n[t[i]]=e.getAttributeNS(o.ns,o.ln):o.qn&&e.hasAttribute(i)&&(n[t[i]]=e.getAttribute(i))}),n)}},of=zh,af=class{constructor(e={},t=!1){this.ns=e,this.ci=t}text(){return e=>e.nodeType===Vh||e.nodeType===Gh}document(){return e=>e.nodeType===Yh}el(e){let t=$h(e,this.ns);return t.ns?e=>!(e.nodeType!==Hh||e.namespaceURI!==t.ns&&"*"!==t.ns||(this.ci?Xh(e.localName)!==Xh(t.ln):e.localName!==t.ln)&&"*"!==t.ln):t=>t.nodeType===Hh&&((this.ci?Xh(t.nodeName)===Xh(e):t.nodeName===e)||"*"===e)}},sf=Zh,lf=Jh,{oprx:uf}=Kh,cf={m:"http://schemas.openxmlformats.org/officeDocument/2006/math"},hf=lf.useNamespaces(cf),ff=(e,t,r,n=!1)=>{let i=hf(e,r)[0];if(!i)return n?void 0:"";let o=of(t,cf);return o.ns?i.getAttributeNS(o.ns,o.ln):i.getAttribute(o.qn)};var df=function(e){let t=new af(cf);return(new rf).match(t.document(),Tf).match(t.el("m:oMathPara"),(e,t,r)=>{Tf(e,t,r),r.res.setAttribute("display","block"),r.walk(t)}).match(t.el("m:oMath"),(e,t,r)=>{Tf(e,t,r);let n=e.parentNode;n&&n.namespaceURI===cf.m&&"oMathPara"===n.localName&&r.res.setAttribute("display","block"),r.walk(t)}).match(t.el("m:f"),(e,t,r)=>{let n=(ff("./m:fPr[last()]/m:type","m:val",e)||"").toLowerCase(),i="lin"===n?tf("mrow",{},t):tf("mfrac",function(e){return"skw"===e||"lin"===e?{bevelled:"true"}:"nobar"===e?{linethickness:"0pt"}:{}}(n),t),o=tf("mrow",{},i);if(r.walk(o,hf("m:num[1]",e)),"lin"===n){tf("mo",{},i).textContent="/"}let a=tf("mrow",{},i);r.walk(a,hf("m:den[1]",e))}).match(t.el("m:r"),(e,t)=>{let r=ff("m:rPr[last()]/m:nor","m:val",e)||!1;if(r&&(r=gf(r)),r){tf("mtext",{},t).textContent=pf(hf(".//m:t",e).map(e=>e.textContent).join(""))}else hf(".//m:t",e).forEach(r=>{bf(e,t,{toParse:hf("./text()",r).map(e=>e.data).join(""),scr:ff("../m:rPr[last()]/m:scr","m:val",r),sty:ff("../m:rPr[last()]/m:sty","m:val",r),nor:!1})})}).match(t.el("m:limLow"),(e,t,r)=>{let n=tf("munder",{},t),i=tf("mrow",{},n),o=tf("mrow",{},n);r.walk(i,hf("m:e[1]",e)),r.walk(o,hf("m:lim[1]",e))}).match(t.el("m:limUpp"),(e,t,r)=>{let n=tf("mover",{},t),i=tf("mrow",{},n),o=tf("mrow",{},n);r.walk(i,hf("m:e[1]",e)),r.walk(o,hf("m:lim[1]",e))}).match(t.el("m:sSub"),(e,t,r)=>{let n=tf("msub",{},t),i=tf("mrow",{},n),o=tf("mrow",{},n);r.walk(i,hf("m:e[1]",e)),r.walk(o,hf("m:sub[1]",e))}).match(t.el("m:sSup"),(e,t,r)=>{let n=tf("msup",{},t),i=tf("mrow",{},n),o=tf("mrow",{},n);r.walk(i,hf("m:e[1]",e)),r.walk(o,hf("m:sup[1]",e))}).match(t.el("m:sSubSup"),(e,t,r)=>{let n=tf("msubsup",{},t),i=tf("mrow",{},n),o=tf("mrow",{},n),a=tf("mrow",{},n);r.walk(i,hf("m:e[1]",e)),r.walk(o,hf("m:sub[1]",e)),r.walk(a,hf("m:sup[1]",e))}).match(t.el("m:sPre"),(e,t,r)=>{let n=tf("mmultiscripts",{},t),i=tf("mrow",{},n);r.walk(i,hf("m:e[1]",e)),tf("mprescripts",{},n),Ef(r,n,hf("m:sub[1]",e)),Ef(r,n,hf("m:sup[1]",e))}).match(t.el("m:m"),(e,t,r)=>{let n=ff("m:mPr[last()]/m:mcs/m:mc/m:mcPr[last()]/m:mcJc","m:val",e).toLowerCase(),i=tf("mtable",n&&"center"!==n?{columnalign:n}:{},t);hf("m:mr",e).forEach(e=>{let t=tf("mtr",{},i);hf("m:e",e).forEach(e=>{let n=tf("mtd",{},t);r.walk(n,e)})})}).match(t.el("m:rad"),(e,t,r)=>{let n=ff("m:radPr[last()]/m:degHide","m:val",e)||!1;if(n&&(n=gf(n)),n){let n=tf("msqrt",{},t);r.walk(n,hf("m:e[1]",e))}else{let n=tf("mroot",{},t),i=tf("mrow",{},n),o=tf("mrow",{},n);r.walk(i,hf("m:e[1]",e)),r.walk(o,hf("m:deg[1]",e))}}).match(t.el("m:nary"),(e,t,r)=>{let n=ff("m:naryPr[last()]/m:subHide","m:val",e)||!1;n&&(n=gf(n));let i=ff("m:naryPr[last()]/m:supHide","m:val",e)||!1;i&&(i=gf(i));let o=ff("m:naryPr[last()]/m:limLoc","m:val",e).toLowerCase();o=""===o||"subsup"===o;let a=ff("m:naryPr[last()]/m:grow","m:val",e)||!1;a&&(a=gf(a));let s=tf("mrow",{},t);if(i&&n)Af(e,s,e,a);else if(n){let t=tf(o?"msup":"mover",{},s);Af(e,t,e,a);let n=tf("mrow",{},t);r.walk(n,hf("m:sup[1]",e))}else if(i){let t=tf(o?"msub":"munder",{},s);Af(e,t,e,a);let n=tf("mrow",{},t);r.walk(n,hf("m:sub[1]",e))}else{let t=tf(o?"msubsup":"munderover",{},s);Af(e,t,e,a);let n=tf("mrow",{},t),i=tf("mrow",{},t);r.walk(n,hf("m:sub[1]",e)),r.walk(i,hf("m:sup[1]",e))}let l=tf("mrow",{},s);r.walk(l,hf("m:e[1]",e))}).match(t.el("m:d"),(e,t,r)=>{let n={},i=ff("m:dPr[1]/m:begChr","m:val",e,!0),o=ff("m:dPr[1]/m:endChr","m:val",e,!0),a=ff("m:dPr[1]/m:sepChr","m:val",e)||"|";void 0!==i&&"("!==i&&(n.open=i),void 0!==o&&")"!==o&&(n.close=o),","!==a&&(n.separators=a);let s=tf("mfenced",n,t);hf("m:e",e).forEach(e=>{let t=tf("mrow",{},s);r.walk(t,e)})}).match(t.el("m:eqArr"),(e,t,r)=>{let n=tf("mtable",{},t);hf("m:e",e).forEach(t=>{let i,o=tf("mtr",{},n),a=tf("mtd",{},o),s=ff("m:argPr[last()]/m:scrLvl","m:val",t);i="0"===s&&s?tf("mstyle",{scriptlevel:s},a):tf("mrow",{},a),tf("maligngroup",{},i),Sf(r,e,i,1,hf("*[1]",t)[0])})}).match(t.el("m:func"),(e,t,r)=>{let n=tf("mrow",{},t),i=tf("mrow",{},n);hf("m:fName",e).forEach(e=>r.walk(i,e)),tf("mo",{},n).textContent="";let o=tf("mrow",{},n);r.walk(o,hf("m:e",e))}).match(t.el("m:acc"),(e,t,r)=>{let n=tf("mover",{accent:"true"},t),i=tf("mrow",{},n),o=ff("m:accPr/m:chr","m:val",e).substr(0,1)||"̂",a=Nf[s=o]||s;var s;if(r.walk(i,hf("m:e[1]",e)),0===o.length)tf("mo",{},n);else{let t=ff("m:rPr[last()]/m:nor","m:val",e)||!1;t&&(t=gf(t)),bf(e,n,{toParse:a,scr:ff("m:e[1]/*/m:rPr[last()]/m:scr","m:val",e),sty:ff("m:e[1]/*/m:rPr[last()]/m:sty","m:val",e),nor:t})}}).match(t.el("m:groupChr"),(e,t,r)=>{let n=hf("m:groupChrPr[last()]",e)[0],i=ff("m:pos","m:val",n).toLowerCase(),o=ff("m:vertJc","m:val",n).toLowerCase(),a=ff("m:chr","m:val",n),s=a?a.substr(0,1):"⏟",l=t=>{let n=tf("mrow",{},t);r.walk(n,hf("m:e[1]",e))},u=e=>{tf("mo",{},e).textContent=s};if("top"===i)if("bot"===o){let e=tf("mover",{accent:"false"},t);l(e),u(e)}else{let e=tf("munder",{accentunder:"false"},t);u(e),l(e)}else if("bot"===o){let e=tf("mover",{accent:"false"},t);u(e),l(e)}else{let e=tf("munder",{accentunder:"false"},t);l(e),u(e)}}).match(t.el("m:borderBox"),(e,t,r)=>{let n,i=vf(ff("m:borderBoxPr[last()]/m:hideTop[last()]","m:val",e).toLowerCase()),o=vf(ff("m:borderBoxPr[last()]/m:hideBot[last()]","m:val",e).toLowerCase()),a=vf(ff("m:borderBoxPr[last()]/m:hideLeft[last()]","m:val",e).toLowerCase()),s=vf(ff("m:borderBoxPr[last()]/m:hideRight[last()]","m:val",e).toLowerCase()),l=vf(ff("m:borderBoxPr[last()]/m:strikeH[last()]","m:val",e).toLowerCase()),u=vf(ff("m:borderBoxPr[last()]/m:strikeV[last()]","m:val",e).toLowerCase()),c=vf(ff("m:borderBoxPr[last()]/m:strikeBLTR[last()]","m:val",e).toLowerCase()),h=vf(ff("m:borderBoxPr[last()]/m:strikeTLBR[last()]","m:val",e).toLowerCase());n=!(i&&o&&a&&s)||l||u||c||h?tf("menclose",function({hideTop:e,hideBot:t,hideLeft:r,hideRight:n,strikeH:i,strikeV:o,strikeBLTR:a,strikeTLBR:s}){let l=[];e||t||r||n?(e||l.push("top"),t||l.push("bottom"),r||l.push("left"),n||l.push("right")):l.push("box");i&&l.push("horizontalstrike");o&&l.push("verticalstrike");a&&l.push("updiagonalstrike");s&&l.push("downdiagonalstrike");return{notation:l.join(" ")}}({hideTop:i,hideBot:o,hideLeft:a,hideRight:s,strikeH:l,strikeV:u,strikeBLTR:c,strikeTLBR:h}),t):tf("mrow",{},t),r.walk(n,hf("m:e[1]",e))}).match(t.el("m:bar"),(e,t,r)=>{if("top"===ff("m:barPr/m:pos","m:val",e).toLowerCase()){let n=tf("mover",{accent:"false"},t),i=tf("mrow",{},n),o=tf("mo",{},n);r.walk(i,hf("m:e[1]",e)),o.textContent="¯"}else{let n=tf("munder",{underaccent:"false"},t),i=tf("mrow",{},n),o=tf("mo",{},n);r.walk(i,hf("m:e[1]",e)),o.textContent="_"}}).match([t.el("m:e"),t.el("m:den"),t.el("m:num"),t.el("m:lim"),t.el("m:sup"),t.el("m:sub")],(e,t,r)=>{let n=ff("m:argPr[last()]/m:scrLvl","m:val",e);if(n){let e=tf("mstyle",{scriptlevel:n},t);r.walk(e)}else r.walk(t)}).match(t.el("m:phant"),(e,t,r)=>{let n=ff("m:phantPr[last()]/m:zeroWid[last()]","m:val",e).toLowerCase()||!1;n&&(n=gf(n));let i=ff("m:phantPr[last()]/m:zeroAsc[last()]","m:val",e).toLowerCase()||!1;i&&(i=gf(i));let o,a=ff("m:phantPr[last()]/m:zeroDesc[last()]","m:val",e).toLowerCase()||!1;if(a&&(a=gf(a)),gf(ff("m:phantPr[last()]/m:show[last()]","m:val",e).toLowerCase()))o=tf("mpadded",Cf({zeroWid:n,zeroAsc:i,zeroDesc:a}),t);else if(n||i||a){let e=tf("mphantom",{},t);o=tf("mpadded",Cf({zeroWid:n,zeroAsc:i,zeroDesc:a}),e)}else o=tf("mphantom",{},t);let s=tf("mrow",{},o);r.walk(s,hf("m:e",e))}).run(e)};function pf(e){if(e)return e.replace(/\s/g," ")}function mf(e){if(null!=e)return"on"===(e=e.toLowerCase())||"1"===e||"true"===e||"off"!==e&&"0"!==e&&"false"!==e&&void 0}function gf(e){return!1!==mf(e)}function vf(e){return mf(e)||!1}function bf(e,t,{toParse:r="",scr:n,sty:i,nor:o}){if(!r.length)return;let a=yf(r,uf),s=yf(r,/\d/),l=1===a;if(l||1===s)if(l){tf("mo",xf({nor:o,tokenType:"mo"}),t).textContent=r.substr(0,1),bf(e,t,{toParse:r.substr(1),scr:n,sty:i,nor:o})}else{let a=_f(r);tf("mn",xf({scr:n,sty:"p",nor:o,tokenType:"mn"}),t).textContent=a,bf(e,t,{toParse:r.substr(a.length),scr:n,sty:i,nor:o})}else{let l;l=hf("ancestor::m:fName",e)[0]?a||s?Math.min(a||Number.MAX_VALUE,s||Number.MAX_VALUE)-1:r.length:1,tf("mi",xf({scr:n,sty:i,nor:o,charToPrint:l,tokenType:"mi"}),t).textContent=pf(r.substr(0,l)),bf(e,t,{toParse:r.substr(l),scr:n,sty:i,nor:o})}}function wf(e,t,{toParse:r="",scr:n,sty:i,nor:o,align:a}){if(r.length)if("&"===r[0])tf(a?"malignmark":"maligngroup",{},t),wf(e,t,{toParse:r.substr(1),align:!a,scr:n,sty:i,nor:o});else{let s=yf(r,uf),l=yf(r,/\d/),u=1===s;if(u||1===l)if(u){if(o){tf("mtext",{},t).textContent=r.substr(0,1)}else{tf("mo",xf({nor:o,charToPrint:1,tokenType:"mo"}),t).textContent=r.substr(0,1)}wf(e,t,{toParse:r.substr(1),scr:n,sty:i,nor:o,align:a})}else{let s=_f(r);if(o){tf("mtext",{},t).textContent=r.substr(0,s.length)}else{tf("mn",xf({sty:"p",nor:o,charToPrint:1,tokenType:"mn"}),t).textContent=r.substr(0,s.length)}wf(e,t,{toParse:r.substr(s.length),scr:n,sty:i,nor:o,align:a})}else{if(o){tf("mtext",{},t).textContent=pf(r.substr(0,1))}else{tf("mi",xf({scr:n,sty:i,nor:o,charToPrint:1,tokenType:"mi"}),t).textContent=pf(r.substr(0,1))}wf(e,t,{toParse:r.substr(1),scr:n,sty:i,nor:o,align:a})}}}function yf(e,t){let r=t.exec(e);return r?r.index+1:0}function xf({scr:e,sty:t,nor:r,charToPrint:n=0,tokenType:i}){let o={};if(r)o.mathvariant="normal";else{let r,a="b"===t||"bi"===t?"bold":"normal",s="b"===t||"p"===t?"normal":"italic";if("mn"!==i&&("monospace"===e?r="monospace":"sans-serif"===e&&"i"===t?r="sans-serif-italic":"sans-serif"===e&&"b"===t?r="bold-sans-serif":"sans-serif"===e&&"bi"===t?r="sans-serif-bold-italic":"sans-serif"===e?r="sans-serif":"fraktur"!==e||"b"!==t&&"i"!==t?"fraktur"===e?r="fraktur":"double-struck"===e?r="double-struck":"script"!==e||"b"!==t&&"i"!==t?"script"===e?r="script":"roman"!==e&&e||("b"===t?r="bold":"i"===t?r="italic":"p"===t?r="normal":"bi"===t&&(r="bold-italic")):r="bold-script":r="bold-fraktur"),"mo"===i&&"normal"!==r)return o;if("mi"===i&&1===n&&("italic"===r||!r))return o;"mi"===i&&n>1&&("italic"===r||!r)?o.mathvariant="italic":r&&"italic"!==r?o.mathvariant=r:("italic"!==s||"mi"===i&&1===n||(o.fontstyle="italic"),"bold"===a&&(o.fontweight="bold"))}return o}function _f(e){if(!e)return"";let t="";return e.replace(/^(\d+)/,(e,r)=>{t=r}),t}function Ef(e,t,r){if(r&&r.length){let n=tf("mrow",{},t);e.walk(n,r)}else tf("none",{},t)}function Af(e,t,r,n=!1){let i=tf("mo",{stretchy:n?"true":"false"},t),o=ff("./m:naryPr[last()]/m:chr","m:val",e);i.textContent=o||"∫"}function Sf(e,t,r,n,i){let o=hf("m:t",i).map(e=>e.textContent).join("");if(hf("self::m:r",i)[0]){let e=ff("m:rPr[last()]/m:nor","m:val",t)||!1;e&&(e=gf(e)),wf(t,r,{toParse:o,scr:ff("../m:rPr[last()]/m:scr","m:val",t),sty:ff("../m:rPr[last()]/m:sty","m:val",t),nor:e,align:n})}else e.walk(r,i);if(hf("following-sibling::*",i).length){let a=function(e){return((e||"").match(/&/g)||[]).length}(o);Sf(e,t,r,(n+a%2)%2,hf("following-sibling::*",i)[0])}}let Nf={"̆":"˘","̮":"˘","̒":"¸","̧":"¸","̀":"`","̖":"`","̅":"-","̲":"-","̣":".","̇":"˙","̋":"˝","̗":"´","́":"´","̰":"~","̃":"~","̤":"¨","̈":"¨","̬":"ˇ","̌":"ˇ","̂":"^","̭":"^","⃗":"→","⃯":"→","⃖":"←","⃮":"←"};function Cf({zeroWid:e,zeroAsc:t,zeroDesc:r}){let n={};return e&&(n.width="0in"),t&&(n.height="0in"),r&&(n.depth="0in"),n}function Tf(e,t,r){if(r.res)return;let n=sf.implementation().createHTMLDocument(""),i=nf(n,{},cf),o=n.createElementNS("http://www.w3.org/1998/Math/MathML","math");o.setAttribute("display","inline"),tf=i.el,r.result(o),r.walk(o)}var kf={},Of={get exports(){return kf},set exports(e){kf=e}};function Rf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Df(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Mf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function Mf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Lf(e){if(!e||!e.children)return!1;if(e.children.find(function(e){var t,r;return"m:oMathPara"===e.tagName||"oMathPara"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":oMathPara"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("oMathPara"))}))return!0;if(e.children.find(function(e){var t,r;return"m:oMath"===e.tagName||"oMath"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":oMath"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("oMath"))}))return!0;var t=e.children.filter(function(e){var t,r;return"w:r"===e.tagName||"r"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":r"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("r"))});if(t&&t.length>0){var r,n=Df(t);try{for(n.s();!(r=n.n()).done;){var i=r.value;if(i.children)if(i.children.find(function(e){var t,r;return"m:oMath"===e.tagName||"oMath"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":oMath"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("oMath"))}))return!0}}catch(e){n.e(e)}finally{n.f()}}return!1}function Pf(e){if(!e||"object"!==Ec(e))return"";if("string"==typeof e)return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");if(!e.tagName)return"";for(var t=e.tagName,r=e.attributes||{},n=e.children||[],i="",o=0,a=Object.entries(r);o<a.length;o++){var s=_c(a[o],2),l=s[0],u=s[1];if(null!=u){var c=String(u).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");i+=" ".concat(l,'="').concat(c,'"')}}var h,f="",d=Df(n);try{for(d.s();!(h=d.n()).done;){var p=h.value;("string"==typeof p||"object"===Ec(p)&&null!==p)&&(f+=Pf(p))}}catch(e){d.e(e)}finally{d.f()}return 0===n.length?"<".concat(t).concat(i," />"):"<".concat(t).concat(i,">").concat(f,"</").concat(t,">")}function If(e){return e?"string"==typeof e?e:e.outerHTML?e.outerHTML:"function"==typeof e.toString?e.toString():"undefined"!=typeof XMLSerializer?(new XMLSerializer).serializeToString(e):Bf(e):""}function Bf(e){if(!e||"object"!==Ec(e))return"";var t=e.tagName||e.nodeName||"";if(!t)return"";var r=e.attributes||{},n="";if(void 0!==r.length)for(var i=0;i<r.length;i++){var o=r[i];n+=" ".concat(o.name,'="').concat(String(o.value).replace(/"/g,"""),'"')}else for(var a=0,s=Object.entries(r);a<s.length;a++){var l=_c(s[a],2),u=l[0],c=l[1];null!=c&&(n+=" ".concat(u,'="').concat(String(c).replace(/"/g,"""),'"'))}for(var h=e.childNodes||e.children||[],f="",d=0;d<h.length;d++){var p=h[d];3===p.nodeType?f+=String(p.textContent||p.nodeValue||""):f+=Bf(p)}return 0===h.length?"<".concat(t).concat(n," />"):"<".concat(t).concat(n,">").concat(f,"</").concat(t,">")}function jf(e){if(!e||!e.tagName)return"";try{var t=Pf(e);if(!t||""===t.trim())return"";if(!t.includes("xmlns:m=")&&!t.includes("xmlns:m ="))t.match(/^<([^:>]+:)?oMath/)&&(t=t.replace(/^<([^:>]+:)?oMath/,'<$1oMath xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"'));var r=df(t);if(!r)return"";var n=If(r);if(!n||""===n.trim())return"";var i=kf.MathMLToLaTeX.convert(n);return i?i.trim():""}catch(e){return console.warn("OMML to LaTeX conversion failed:",e),""}}function qf(e,t){if(e)return e.find(function(e){var r,n;return e.tagName===t||e.tagName===t.split(":").pop()||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith(":".concat(t.split(":").pop())))||(null===(n=e.tagName)||void 0===n?void 0:n.endsWith(t.split(":").pop()))})}function Ff(e){if(!Lf(e))return!1;if(zf(e))return!1;if(qf(e.children,"m:oMathPara"))return!0;if(qf(e.children,"m:oMath")){var t,r=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){var t,r;return"w:r"===e.tagName||"r"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":r"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("r"))});if(r&&r.length>0){var n,i=Df(r);try{for(i.s();!(n=i.n()).done;){var o=qf(n.value.children,"w:t");if(o){var a="";if(o.children?a=o.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof o&&(a=o),a.trim().length>0)return!1}}}catch(e){i.e(e)}finally{i.f()}}return!0}return!1}function Uf(e){if(!Lf(e))return null;var t="",r=qf(e.children,"m:oMathPara");if(r){var n=qf(r.children,"m:oMath");n&&(t=jf(n))}else{if(qf(e.children,"m:oMath")){var i,o=[],a=Df(e.children.filter(function(e){var t,r;return"m:oMath"===e.tagName||"oMath"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":oMath"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("oMath"))}));try{for(a.s();!(i=a.n()).done;){var s=jf(i.value);s&&o.push(s)}}catch(e){a.e(e)}finally{a.f()}t=o.join(" ")}else{var l,u=null===(l=e.children)||void 0===l?void 0:l.filter(function(e){var t,r;return"w:r"===e.tagName||"r"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":r"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("r"))});if(u&&u.length>0){var c,h=[],f=Df(u);try{for(f.s();!(c=f.n()).done;){var d=qf(c.value.children,"m:oMath");if(d){var p=jf(d);p&&h.push(p)}}}catch(e){f.e(e)}finally{f.f()}t=h.join(" ")}}}if(!t||0===t.trim().length)return null;var m={value:t=t.trim(),type:"latex"},g=yc(e);g&&(m.rowFlex=g);var v=dc(e);null!==v&&(m.rowMargin=v);var b=pc(e);return b.size&&(m.size=b.size),b.bold&&(m.bold=b.bold),b.italic&&(m.italic=b.italic),b.color&&(m.color=b.color),b.highlight&&(m.highlight=b.highlight),m}function zf(e){var t,r;if(!Lf(e))return!1;var n=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){var t,r;return"w:r"===e.tagName||"r"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":r"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("r"))});if(!n||0===n.length)return!1;var i,o=Df(n);try{for(o.s();!(i=o.n()).done;){var a=qf(i.value.children,"w:t");if(a){var s="";if(a.children?s=a.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof a&&(s=a),s.trim().length>0)return!0}}}catch(e){o.e(e)}finally{o.f()}if((null===(r=e.children)||void 0===r?void 0:r.some(function(e){var t,r;return"m:oMath"===e.tagName||"oMath"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":oMath"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("oMath"))}))&&n&&n.length>0){var l,u=Df(n);try{for(u.s();!(l=u.n()).done;){var c=qf(l.value.children,"w:t");if(c){var h="";if(c.children?h=c.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof c&&(h=c),h.trim().length>0)return!0}}}catch(e){u.e(e)}finally{u.f()}}return!1}function Wf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=qf(e.children,"m:oMath");if(!r)return null;var n=jf(r);if(!n||0===n.trim().length)return null;var i={value:n.trim(),type:"latex"};if(t){var o,a=yc(t);a&&(i.rowFlex=a);var s=dc(t);null!==s&&(i.rowMargin=s);var l=pc(t),u=null===(o=e.children)||void 0===o?void 0:o.find(function(e){return"w:rPr"===e.tagName});if(u){var c,h,f,d,p,m,g,v,b,w,y,x,_=null===(c=u.children)||void 0===c?void 0:c.find(function(e){return"w:rFonts"===e.tagName});null!=_&&null!==(h=_.attributes)&&void 0!==h&&h["w:ascii"]&&(i.font=_.attributes["w:ascii"]);var E=null===(f=u.children)||void 0===f?void 0:f.find(function(e){return"w:sz"===e.tagName});null!=E&&null!==(d=E.attributes)&&void 0!==d&&d["w:val"]&&(i.size=parseInt(E.attributes["w:val"])/2),(null===(p=u.children)||void 0===p?void 0:p.find(function(e){return"w:b"===e.tagName}))&&(i.bold=!0),(null===(m=u.children)||void 0===m?void 0:m.find(function(e){return"w:i"===e.tagName}))&&(i.italic=!0),(null===(g=u.children)||void 0===g?void 0:g.find(function(e){return"w:u"===e.tagName}))&&(i.underline=!0),(null===(v=u.children)||void 0===v?void 0:v.find(function(e){return"w:strike"===e.tagName}))&&(i.strikeout=!0);var A=null===(b=u.children)||void 0===b?void 0:b.find(function(e){return"w:color"===e.tagName});if(null!=A&&null!==(w=A.attributes)&&void 0!==w&&w["w:val"]){var S=A.attributes["w:val"];/^[0-9A-Fa-f]{6}$/.test(S)?i.color="#"+S:i.color=S}var N=null===(y=u.children)||void 0===y?void 0:y.find(function(e){return"w:highlight"===e.tagName});if(null!=N&&null!==(x=N.attributes)&&void 0!==x&&x["w:val"]){var C=N.attributes["w:val"];/^[0-9A-Fa-f]{6}$/.test(C)?i.highlight="#"+C:i.highlight=C}}!i.size&&l.size&&(i.size=l.size),!i.bold&&l.bold&&(i.bold=l.bold),!i.italic&&l.italic&&(i.italic=l.italic),!i.color&&l.color&&(i.color=l.color),!i.highlight&&l.highlight&&(i.highlight=l.highlight)}return i}function Hf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!zf(e))return null;if(!Oc(e))return null;if(Rc(e))return[Dc(e)];var r,n=[],i=e.children||[],o=pc(e),a=[],s=Df(i);try{for(s.s();!(r=s.n()).done;){var l,u,c,h,f,d,p,m,g=r.value;if(!("w:pPr"===g.tagName||"pPr"===g.tagName||null!==(l=g.tagName)&&void 0!==l&&l.endsWith(":pPr")||null!==(u=g.tagName)&&void 0!==u&&u.endsWith("pPr")))if("m:oMath"===g.tagName||"oMath"===g.tagName||null!==(c=g.tagName)&&void 0!==c&&c.endsWith(":oMath")||null!==(h=g.tagName)&&void 0!==h&&h.endsWith("oMath")){if(a.length>0){var v=Vf(a,e);v&&n.push(v),a=[]}var b=jf(g);if(b&&b.trim().length>0){var w={value:b.trim(),type:"latex"},y=yc(e);y&&(w.rowFlex=y);var x=dc(e);null!==x&&(w.rowMargin=x);var _=pc(e);_.size&&(w.size=_.size),_.bold&&(w.bold=_.bold),_.italic&&(w.italic=_.italic),_.color&&(w.color=_.color),_.highlight&&(w.highlight=_.highlight),n.push(w)}}else if("w:r"===g.tagName||"r"===g.tagName||null!==(f=g.tagName)&&void 0!==f&&f.endsWith(":r")||null!==(d=g.tagName)&&void 0!==d&&d.endsWith("r")){var E=qf(g.children,"m:oMath"),A=qf(g.children,"w:t");if(E){if(a.length>0){var S=Vf(a,e);S&&n.push(S),a=[]}var N=Wf(g,e,t);N&&n.push(N)}else if(A){var C=hc(g,o,t);C&&C.value&&a.push(C)}}else if("m:oMathPara"===g.tagName||"oMathPara"===g.tagName||null!==(p=g.tagName)&&void 0!==p&&p.endsWith(":oMathPara")||null!==(m=g.tagName)&&void 0!==m&&m.endsWith("oMathPara")){if(a.length>0){var T=Vf(a,e);T&&n.push(T),a=[]}var k=qf(g.children,"m:oMath");if(k){var O=jf(k);if(O&&O.trim().length>0){var R={value:O.trim(),type:"latex"},D=yc(e);D&&(R.rowFlex=D);var M=dc(e);null!==M&&(R.rowMargin=M);var L=pc(e);L.size&&(R.size=L.size),L.bold&&(R.bold=L.bold),L.italic&&(R.italic=L.italic),L.color&&(R.color=L.color),L.highlight&&(R.highlight=L.highlight),n.push(R)}}}}}catch(e){s.e(e)}finally{s.f()}if(a.length>0){var P=Vf(a,e);P&&n.push(P)}return n.length>0?n:null}function Vf(e,t){if(0===e.length)return null;if(1===e.length&&1===Object.keys(e[0]).length){var r={value:e[0].value,type:"text"},n=yc(t);n&&(r.rowFlex=n);var i=dc(t);return null!==i&&(r.rowMargin=i),r}var o=e.map(function(e){return e.value}).join(""),a=e[0],s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rf(Object(r),!0).forEach(function(t){Sc(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rf(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({value:o,type:"text"},Object.fromEntries(Object.entries(a).filter(function(e){return"value"!==_c(e,1)[0]}))),l=yc(t);l&&(s.rowFlex=l);var u=dc(t);return null!==u&&(s.rowMargin=u),s}function Gf(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Yf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function Yf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function $f(e){if(!e)return"";var t=e.split(":");return t.length>1?t[t.length-1]:e}function Xf(e,t){return Zf.apply(this,arguments)}function Zf(){return Zf=o(k.mark(function e(t,r){var n,i,o,a,s,l,u,c,h,f,d,p,m,g,v,b,w,y,x,_,E,A,S,N,C,T,O,R,D,M,L,P,I,B,j,q,F,U,z,W,H,V,G,Y,$,X,Z,J,K,Q,ee,te,re,ne,ie,oe,ae=arguments;return k.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=ae.length>2&&void 0!==ae[2]?ae[2]:null,i=ae.length>3&&void 0!==ae[3]?ae[3]:null,o=ae.length>4&&void 0!==ae[4]?ae[4]:null,t){e.next=1;break}return e.abrupt("return",[]);case 1:a=[],s=t.children||[],l=s.filter(function(e){var t;return"w:p"===e.tagName||"p"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":p"))||"p"===$f(e.tagName)}),u=0;case 2:if(!(u<s.length)){e.next=28;break}if(c=s[u],h=s[u+1],"tbl"!==(f=$f(c.tagName))){e.next=3;break}return(d=Gc(c))&&(a.push(d),p=h?$f(h.tagName):null,h&&"p"===p&&!Rc(h)&&a.push({value:"\n"})),e.abrupt("continue",27);case 3:if("p"===f){e.next=4;break}return e.abrupt("continue",27);case 4:if(m=c,g=h&&"p"===$f(h.tagName)?h:null,!Rc(m)||Nh(m)||oh(m)||Lf(m)){e.next=5;break}return(v=Mc(m,o))&&a.push(v),e.abrupt("continue",27);case 5:if(!(b=xc(m))){e.next=10;break}if(a.push(b),!Nh(m)){e.next=9;break}if(!Ch(m)){e.next=7;break}return e.next=6,Lh(m,r,i);case 6:(w=e.sent)&&a.push(w),e.next=9;break;case 7:return e.next=8,Oh(m,r,i,o);case 8:if((y=e.sent)&&y.length>0){x=Gf(y);try{for(x.s();!(_=x.n()).done;)E=_.value,a.push(E)}catch(e){x.e(e)}finally{x.f()}}case 9:return oh(m)?(A=ah(m))&&(a.push(A),a.push({value:"\n"})):!g||Rc(g)||sh(g)||a.push({value:"\n"}),e.abrupt("continue",27);case 10:if(!(S=ah(m))){e.next=11;break}return a.push(S),a.push({value:"\n"}),e.abrupt("continue",27);case 11:if(!gh(m)){e.next=12;break}return(N=bh(m,i,o))&&(a.push(N),!g||Rc(g)||sh(g)||a.push({value:"\n"})),e.abrupt("continue",27);case 12:if(!Nh(m)){e.next=18;break}if(!Ch(m)){e.next=14;break}return e.next=13,Lh(m,r,i);case 13:return(C=e.sent)&&(a.length>0&&"\n"!==a[a.length-1].value&&a.push({value:"\n"}),a.push(C),!g||Rc(g)||sh(g)||a.push({value:"\n"})),e.abrupt("continue",27);case 14:if(!Zc(m)){e.next=16;break}return e.next=15,Dh(m,r,i,o);case 15:if(!((T=e.sent)&&T.length>0)){e.next=16;break}O=Gf(T);try{for(O.s();!(R=O.n()).done;)D=R.value,a.push(D)}catch(e){O.e(e)}finally{O.f()}return!g||Rc(g)||sh(g)||a.push({value:"\n"}),e.abrupt("continue",27);case 16:return(M=Mc(m,o))&&"\n"!==M.value&&a.push(M),e.next=17,Oh(m,r,i,o);case 17:if((L=e.sent)&&L.length>0){P=Gf(L);try{for(P.s();!(I=P.n()).done;)B=I.value,a.push(B)}catch(e){P.e(e)}finally{P.f()}}return!g||Rc(g)||sh(g)||a.push({value:"\n"}),e.abrupt("continue",27);case 18:if(!Lf(m)){e.next=21;break}if(!zf(m)){e.next=20;break}if(!((j=Hf(m,o))&&j.length>0)){e.next=19;break}q=Gf(j);try{for(q.s();!(F=q.n()).done;)U=F.value,a.push(U)}catch(e){q.e(e)}finally{q.f()}return!g||Rc(g)||sh(g)||a.push({value:"\n"}),e.abrupt("continue",27);case 19:e.next=21;break;case 20:if(!(z=Uf(m))){e.next=21;break}return Ff(m)&&a.length>0&&"\n"!==a[a.length-1].value&&a.push({value:"\n"}),a.push(z),!g||Rc(g)||sh(g)||a.push({value:"\n"}),e.abrupt("continue",27);case 21:if(!((W=l.indexOf(m))>=0&&sh(m))){e.next=22;break}if(!(H=hh(l,W,n,o))){e.next=22;break}for(V=H.processedCount||H.valueList.length,delete H.processedCount;a.length>0&&"\n"===a[a.length-1].value;)a.pop();return a.push(H),u+=V-1,!h||"w:p"!==h.tagName||Rc(h)||sh(h)||a.push({value:"\n"}),e.abrupt("continue",27);case 22:if(!(G=Xc(m))){e.next=23;break}return a.push(G),e.abrupt("continue",27);case 23:if(Y=Zc(m),$=nh(m),!Y&&!$){e.next=25;break}if(!Y){e.next=24;break}if(!((X=Lc(m,o))&&X.length>0)){e.next=24;break}Z=Gf(X);try{for(Z.s();!(J=Z.n()).done;)K=J.value,a.push(K)}catch(e){Z.e(e)}finally{Z.f()}return!g||Rc(g)||sh(g)||a.push({value:"\n"}),e.abrupt("continue",27);case 24:if(!$||Y){e.next=25;break}if(!((Q=ih(m,o))&&Q.length>0)){e.next=25;break}ee=Gf(Q);try{for(ee.s();!(te=ee.n()).done;)re=te.value,a.push(re)}catch(e){ee.e(e)}finally{ee.f()}return!g||Rc(g)||sh(g)||a.push({value:"\n"}),e.abrupt("continue",27);case 25:if(!oh(m)){e.next=26;break}return(ne=Mc(m,o))&&"\n"!==ne.value&&a.push(ne),(ie=ah(m))&&(a.push(ie),a.push({value:"\n"})),e.abrupt("continue",27);case 26:(oe=Mc(m,o))&&(a.push(oe),"\n"!==oe.value&&g&&!Rc(g)&&a.push({value:"\n"}));case 27:u++,e.next=2;break;case 28:return e.abrupt("return",a);case 29:case"end":return e.stop()}},e)})),Zf.apply(this,arguments)}function Jf(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Kf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function Kf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Qf(e){if(!e)return"";var t=e.split(":");return t.length>1?t[t.length-1]:e}function ed(e){return e?("string"==typeof e?parseInt(e,10):e)/20:null}function td(e){var t,r;if(!e)return{};var n={},i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"pgSz"===Qf(e.tagName)});if(i){var o,a,s,l=null===(o=i.attributes)||void 0===o?void 0:o["w:w"],u=null===(a=i.attributes)||void 0===a?void 0:a["w:h"],c=null===(s=i.attributes)||void 0===s?void 0:s["w:orient"];l&&(n.width=ed(l)),u&&(n.height=ed(u)),c&&(n.paperDirection="landscape"===c?"horizontal":"vertical")}var h=null===(r=e.children)||void 0===r?void 0:r.find(function(e){return"pgMar"===Qf(e.tagName)});if(h){var f,d,p,m,g=null===(f=h.attributes)||void 0===f?void 0:f["w:top"],v=null===(d=h.attributes)||void 0===d?void 0:d["w:right"],b=null===(p=h.attributes)||void 0===p?void 0:p["w:bottom"],w=null===(m=h.attributes)||void 0===m?void 0:m["w:left"];(g||v||b||w)&&(n.margins=[g?ed(g):0,v?ed(v):0,b?ed(b):0,w?ed(w):0])}return n}function rd(e){var t,r;if(!e)return{};var n={},i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"defaultFontSize"===Qf(e.tagName)});if(i){var o,a=null===(o=i.attributes)||void 0===o?void 0:o["w:val"];a&&(n.defaultSize=parseInt(a,10)/2)}var s=null===(r=e.children)||void 0===r?void 0:r.find(function(e){return"defaultFonts"===Qf(e.tagName)});if(s){var l,u,c,h=null===(l=s.attributes)||void 0===l?void 0:l["w:ascii"],f=null===(u=s.attributes)||void 0===u?void 0:u["w:eastAsia"],d=null===(c=s.attributes)||void 0===c?void 0:c["w:hAnsi"];n.defaultFont=h||f||d||"Microsoft YaHei"}return n}function nd(e){var t;if(!e)return{};var r,n={},i=Jf((null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"style"===Qf(e.tagName)}))||[]);try{for(i.s();!(r=i.n()).done;){var o,a,s=r.value,l=null===(o=s.attributes)||void 0===o?void 0:o["w:type"],u="1"===(null===(a=s.attributes)||void 0===a?void 0:a["w:default"]);if("paragraph"===l&&u){var c,h,f=null===(c=s.children)||void 0===c?void 0:c.find(function(e){return"pPr"===Qf(e.tagName)});if(f){var d,p=null===(d=f.children)||void 0===d?void 0:d.find(function(e){return"spacing"===Qf(e.tagName)});if(p){var m,g,v=null===(m=p.attributes)||void 0===m?void 0:m["w:line"],b=null===(g=p.attributes)||void 0===g?void 0:g["w:lineRule"];v&&"auto"===b&&(n.defaultRowMargin=parseInt(v,10)/240)}}var w=null===(h=s.children)||void 0===h?void 0:h.find(function(e){return"rPr"===Qf(e.tagName)});if(w){var y,x,_,E=null===(y=w.children)||void 0===y?void 0:y.find(function(e){return"sz"===Qf(e.tagName)});if(E){var A,S=null===(A=E.attributes)||void 0===A?void 0:A["w:val"];S&&(n.defaultSize=parseInt(S,10)/2)}var N=null===(x=w.children)||void 0===x?void 0:x.find(function(e){return"color"===Qf(e.tagName)});if(N){var C,T=null===(C=N.attributes)||void 0===C?void 0:C["w:val"];T&&"auto"!==T&&"000000"!==T&&(n.defaultColor="#".concat(T))}var k=null===(_=w.children)||void 0===_?void 0:_.find(function(e){return"rFonts"===Qf(e.tagName)});if(k){var O,R,D,M=null===(O=k.attributes)||void 0===O?void 0:O["w:ascii"],L=null===(R=k.attributes)||void 0===R?void 0:R["w:eastAsia"],P=null===(D=k.attributes)||void 0===D?void 0:D["w:hAnsi"];n.defaultFont=M||L||P||"Microsoft YaHei"}}}}}catch(e){i.e(e)}finally{i.f()}return n}function id(e,t){return od.apply(this,arguments)}function od(){return od=o(k.mark(function e(t,r){var n,i,o,a,s,l,u,c,h,f,d,p,m,g,v,b,w,y,x;return k.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n={mode:"edit",locale:"zhCN",defaultType:"TEXT",defaultColor:"#0a0a0a",defaultFont:"Microsoft YaHei",defaultSize:16,minSize:5,maxSize:72,defaultBasicRowMarginHeight:8,defaultRowMargin:1,defaultTabWidth:32,width:794,height:1123,scale:1,pageGap:20,margins:[100,120,100,120],paperDirection:"vertical",pageMode:"paging",renderMode:"speed",printPixelRatio:3,inactiveAlpha:.6,maskMargin:[0,0,0,0]},e.prev=1,r&&(o=function(e){if(!e||!e.children)return null;var t,r=Jf(e.children);try{for(r.s();!(t=r.n()).done;){var n=t.value;if("sectPr"===Qf(n.tagName||""))return n;var i=o(n);if(i)return i}}catch(e){r.e(e)}finally{r.f()}return null},a=nu(r),s=Array.isArray(a)?a.find(function(e){return"w:document"===e.tagName})||a[0]:a,l=null==s||null===(i=s.children)||void 0===i?void 0:i.find(function(e){return"w:body"===e.tagName}),(u=o(l))&&(c=td(u),Object.assign(n,c))),!(h=t.file("word/settings.xml"))){e.next=3;break}return e.next=2,h.async("string");case 2:f=e.sent,d=nu(f),p=Array.isArray(d)?d.find(function(e){return"w:settings"===e.tagName})||d[0]:d,p&&(m=rd(p),Object.assign(n,m));case 3:if(!(g=t.file("word/styles.xml"))){e.next=5;break}return e.next=4,g.async("string");case 4:v=e.sent,b=nu(v),w=Array.isArray(b)?b.find(function(e){return"w:styles"===e.tagName})||b[0]:b,w&&(y=nd(w),Object.assign(n,y));case 5:e.next=7;break;case 6:e.prev=6,x=e.catch(1),console.warn("解析文档配置失败:",x);case 7:return e.abrupt("return",n);case 8:case"end":return e.stop()}},e,null,[[1,6]])})),od.apply(this,arguments)}function ad(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return sd(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sd(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function sd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ld(e){if(!e)return"";var t=e.split(":");return t.length>1?t[t.length-1]:e}function ud(){return ud=o(k.mark(function e(t){var r,i,o,a,s,l,u,c,h,f,d,p,m,g,v,b,w,y,x,_,E,A,S,N,C,T,O,R,D,M,L,P,I,B,j,q,F,U,z,W,H,V,G,Y,$,X,Z,J,K,Q,ee,te,re,ne,ie,oe,ae,se,le,ue,ce,he,fe,de,pe,me,ge,ve,be,we,ye,xe,_e,Ee,Ae,Se,Ne,Ce,Te,ke,Oe,Re,De,Me,Le,Pe,Ie,Be,je,qe,Fe,Ue,ze,We,He,Ve,Ge,Ye,$e;return k.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=1,ru.loadAsync(t);case 1:if(i=e.sent,o=i.file("word/document.xml")){e.next=2;break}throw new Error("无法找到 word/document.xml 文件");case 2:return e.next=3,o.async("string");case 3:if(a=e.sent,s=null,!(l=i.file("word/numbering.xml"))){e.next=5;break}return e.next=4,l.async("string");case 4:s=e.sent;case 5:if(u=null,!(c=i.file("word/_rels/document.xml.rels"))){e.next=7;break}return e.next=6,c.async("string");case 6:u=e.sent;case 7:if(h=new Set,f=new Set,u){d=nu(u),p=Array.isArray(d)?d.find(function(e){return"Relationships"===e.tagName})||d[0]:d,m=(null==p?void 0:p.children)||[],g=ad(m);try{for(g.s();!(v=g.n()).done;)"Relationship"===(b=v.value).tagName&&(E=(null===(w=b.attributes)||void 0===w?void 0:w.Type)||(null===(y=b.attributes)||void 0===y?void 0:y.type),A=(null===(x=b.attributes)||void 0===x?void 0:x.Target)||(null===(_=b.attributes)||void 0===_?void 0:_.target),E&&A&&(E.includes("header")?h.add(A):E.includes("footer")&&f.add(A)))}catch(e){g.e(e)}finally{g.f()}}if(S=Array.from(h),N=Array.from(f),C=nu(a),T=Array.isArray(C)?C.find(function(e){return"w:document"===e.tagName})||C[0]:C,O=null==T||null===(r=T.children)||void 0===r?void 0:r.find(function(e){return"w:body"===e.tagName}),O){e.next=9;break}return e.next=8,id(i,a);case 8:return R=e.sent,e.abrupt("return",{header:[],main:[],footer:[],options:R});case 9:D=[],M=O.children||[],L=M.filter(function(e){return"w:p"===e.tagName}),P=0;case 10:if(!(P<M.length)){e.next=34;break}if(I=M[P],B=M[P+1],"w:tbl"!==I.tagName){e.next=11;break}return(j=Gc(I))&&(D.push(j),B&&"w:p"===B.tagName&&!Rc(B)&&D.push({value:"\n"})),e.abrupt("continue",33);case 11:if("w:p"===I.tagName){e.next=12;break}return e.abrupt("continue",33);case 12:if(q=I,F=B&&"w:p"===B.tagName?B:null,!Rc(q)||Nh(q)||oh(q)||Lf(q)){e.next=13;break}return(U=Mc(q,a))&&D.push(U),e.abrupt("continue",33);case 13:if(!(z=xc(q))){e.next=18;break}if(D.push(z),!Nh(q)){e.next=17;break}if(!Ch(q)){e.next=15;break}return e.next=14,Lh(q,i,u);case 14:(W=e.sent)&&D.push(W),e.next=17;break;case 15:return e.next=16,Oh(q,i,u,a);case 16:if((H=e.sent)&&H.length>0){V=ad(H);try{for(V.s();!(G=V.n()).done;)Y=G.value,D.push(Y)}catch(e){V.e(e)}finally{V.f()}}case 17:return oh(q)?($=ah(q))&&(D.push($),D.push({value:"\n"})):!F||Rc(F)||sh(F)||D.push({value:"\n"}),e.abrupt("continue",33);case 18:if(!(X=ah(q))){e.next=19;break}return D.push(X),D.push({value:"\n"}),e.abrupt("continue",33);case 19:if(!gh(q)){e.next=20;break}if(!(Z=bh(q,u,a))){e.next=20;break}return D.push(Z),!F||Rc(F)||sh(F)||D.push({value:"\n"}),e.abrupt("continue",33);case 20:if(!Nh(q)){e.next=24;break}if(!Ch(q)){e.next=22;break}return e.next=21,Lh(q,i,u);case 21:return(J=e.sent)&&(D.length>0&&"\n"!==D[D.length-1].value&&D.push({value:"\n"}),D.push(J),!F||Rc(F)||sh(F)||D.push({value:"\n"})),e.abrupt("continue",33);case 22:return(K=Mc(q,a))&&"\n"!==K.value&&D.push(K),e.next=23,Oh(q,i,u,a);case 23:if((Q=e.sent)&&Q.length>0){ee=ad(Q);try{for(ee.s();!(te=ee.n()).done;)re=te.value,D.push(re)}catch(e){ee.e(e)}finally{ee.f()}}return!F||Rc(F)||sh(F)||D.push({value:"\n"}),e.abrupt("continue",33);case 24:if(!Lf(q)){e.next=27;break}if(!zf(q)){e.next=26;break}if(!((ne=Hf(q,a))&&ne.length>0)){e.next=25;break}ie=ad(ne);try{for(ie.s();!(oe=ie.n()).done;)ae=oe.value,D.push(ae)}catch(e){ie.e(e)}finally{ie.f()}return!F||Rc(F)||sh(F)||D.push({value:"\n"}),e.abrupt("continue",33);case 25:e.next=27;break;case 26:if(!(se=Uf(q))){e.next=27;break}return Ff(q)&&D.length>0&&"\n"!==D[D.length-1].value&&D.push({value:"\n"}),D.push(se),!F||Rc(F)||sh(F)||D.push({value:"\n"}),e.abrupt("continue",33);case 27:if(!((le=L.indexOf(q))>=0&&sh(q))){e.next=28;break}if(!(ue=hh(L,le,s,a))){e.next=28;break}for(ce=ue.processedCount||ue.valueList.length,delete ue.processedCount;D.length>0&&"\n"===D[D.length-1].value;)D.pop();return D.push(ue),P+=ce-1,!B||"w:p"!==B.tagName||Rc(B)||sh(B)||D.push({value:"\n"}),e.abrupt("continue",33);case 28:if(!(he=Xc(q))){e.next=29;break}return D.push(he),e.abrupt("continue",33);case 29:if(fe=Zc(q),de=nh(q),!fe&&!de){e.next=31;break}if(!fe){e.next=30;break}if(!((pe=Lc(q,a))&&pe.length>0)){e.next=30;break}me=ad(pe);try{for(me.s();!(ge=me.n()).done;)ve=ge.value,D.push(ve)}catch(e){me.e(e)}finally{me.f()}return!F||Rc(F)||sh(F)||D.push({value:"\n"}),e.abrupt("continue",33);case 30:if(!de||fe){e.next=31;break}if(!((be=ih(q,a))&&be.length>0)){e.next=31;break}we=ad(be);try{for(we.s();!(ye=we.n()).done;)xe=ye.value,D.push(xe)}catch(e){we.e(e)}finally{we.f()}return!F||Rc(F)||sh(F)||D.push({value:"\n"}),e.abrupt("continue",33);case 31:if(!oh(q)){e.next=32;break}return(_e=Mc(q,a))&&"\n"!==_e.value&&D.push(_e),(Ee=ah(q))&&(D.push(Ee),D.push({value:"\n"})),e.abrupt("continue",33);case 32:(Ae=Mc(q,a))&&(D.push(Ae),"\n"!==Ae.value&&F&&!Rc(F)&&D.push({value:"\n"}));case 33:P++,e.next=10;break;case 34:Se=[],Ne=new Map,Ce=k.mark(function e(){var t,r,o,a,l,u,c,h,f,d,p,m,g,v,b,w;return k.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=ke[Te],e.prev=1,r=t.startsWith("word/")?t:"word/".concat(t),!(o=i.file(r))){e.next=7;break}return e.next=2,o.async("string");case 2:if(u=e.sent,c=nu(u),h=Array.isArray(c)?c.find(function(e){return"w:hdr"===e.tagName||"hdr"===e.tagName||"hdr"===ld(e.tagName)})||c[0]:c,f=h?{children:(null===(a=h.children)||void 0===a?void 0:a.filter(function(e){return"w:p"===e.tagName||"w:tbl"===e.tagName||"p"===ld(e.tagName)||"tbl"===ld(e.tagName)}))||[]}:{children:[]},d=JSON.stringify(null===(l=f.children)||void 0===l?void 0:l.map(function(e){if("p"===ld(e.tagName)){var r,n=(null===(r=e.children)||void 0===r?void 0:r.filter(function(e){return"r"===ld(e.tagName)}))||[],i=n.map(function(e){var t,r,n=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"t"===ld(e.tagName)});return(null==n||null===(r=n.children)||void 0===r?void 0:r.filter(function(e){return"string"==typeof e}).join(""))||""}).join("");return{type:"p",text:i}}return"tbl"===ld(e.tagName)?{type:"tbl",id:t}:null}).filter(Boolean)),!Ne.has(d)){e.next=3;break}return e.abrupt("return",1);case 3:if(p=null,m=t.split("/").pop(),g="word/_rels/".concat(m,".rels"),!(v=i.file(g))){e.next=5;break}return e.next=4,v.async("string");case 4:p=e.sent;case 5:if(!f){e.next=7;break}return e.next=6,Xf(f,i,s,p,u);case 6:b=e.sent,Se.push.apply(Se,n(b)),Ne.set(d,!0);case 7:e.next=9;break;case 8:e.prev=8,w=e.catch(1),console.warn("解析 header 文件 ".concat(t," 失败:"),w);case 9:case"end":return e.stop()}},e,null,[[1,8]])}),Te=0,ke=S;case 35:if(!(Te<ke.length)){e.next=38;break}return e.delegateYield(Ce(),"t0",36);case 36:if(!e.t0){e.next=37;break}return e.abrupt("continue",37);case 37:Te++,e.next=35;break;case 38:Oe=[],Re=0,De=N;case 39:if(!(Re<De.length)){e.next=48;break}if(Me=De[Re],e.prev=40,Le=Me.startsWith("word/")?Me:"word/".concat(Me),!(Pe=i.file(Le))){e.next=45;break}return e.next=41,Pe.async("string");case 41:if(Be=e.sent,je=nu(Be),qe=Array.isArray(je)?je.find(function(e){return"w:ftr"===e.tagName||"ftr"===e.tagName||"ftr"===ld(e.tagName)})||je[0]:je,Fe=qe?{children:(null===(Ie=qe.children)||void 0===Ie?void 0:Ie.filter(function(e){return"w:p"===e.tagName||"w:tbl"===e.tagName||"p"===ld(e.tagName)||"tbl"===ld(e.tagName)}))||[]}:{children:[]},Ue=null,ze=Me.split("/").pop(),We="word/_rels/".concat(ze,".rels"),!(He=i.file(We))){e.next=43;break}return e.next=42,He.async("string");case 42:Ue=e.sent;case 43:if(!Fe){e.next=45;break}return e.next=44,Xf(Fe,i,s,Ue,Be);case 44:Ve=e.sent,Oe.push.apply(Oe,n(Ve));case 45:e.next=47;break;case 46:e.prev=46,Ye=e.catch(40),console.warn("解析 footer 文件 ".concat(Me," 失败:"),Ye);case 47:Re++,e.next=39;break;case 48:return e.next=49,id(i,a);case 49:return Ge=e.sent,e.abrupt("return",{header:Se,main:D,footer:Oe,options:Ge});case 50:throw e.prev=50,$e=e.catch(0),console.error("解析 DOCX 文件失败:",$e),$e;case 51:case"end":return e.stop()}},e,null,[[0,50],[40,46]])})),ud.apply(this,arguments)}!function(e){var t;t=()=>(()=>{var e={4582:(e,t)=>{function r(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var n=r({HTML:"text/html",isHTML:function(e){return e===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.find=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var i=e[n];if(t.call(void 0,i,n,e))return i}},t.freeze=r,t.MIME_TYPE=n,t.NAMESPACE=i},5752:(e,t,r)=>{var n=r(4582),i=r(4722),o=r(6559),a=r(4466),s=i.DOMImplementation,l=n.NAMESPACE,u=a.ParseError,c=a.XMLReader;function h(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function f(e){this.options=e||{locator:{}}}function d(){this.cdata=!1}function p(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}f.prototype.parseFromString=function(e,t){var r=this.options,n=new c,i=r.domBuilder||new d,a=r.errorHandler,s=r.locator,u=r.xmlns||{},f=/\/x?html?$/.test(t),p=f?o.HTML_ENTITIES:o.XML_ENTITIES;s&&i.setDocumentLocator(s),n.errorHandler=function(e,t,r){if(!e){if(t instanceof d)return t;e=t}var n={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(r){e(t,r)}:e),n[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+m(r))}||function(){}}return r=r||{},o("warning"),o("error"),o("fatalError"),n}(a,i,s),n.domBuilder=r.domBuilder||i,f&&(u[""]=l.HTML),u.xml=u.xml||l.XML;var g=r.normalizeLineEndings||h;return e&&"string"==typeof e?n.parse(g(e),u,p):n.errorHandler.error("invalid doc source"),i.doc},d.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var i=this.doc,o=i.createElementNS(e,r||t),a=n.length;v(this,o),this.currentElement=o,this.locator&&p(this.locator,o);for(var s=0;s<a;s++){e=n.getURI(s);var l=n.getValue(s),u=(r=n.getQName(s),i.createAttributeNS(e,r));this.locator&&p(n.getLocator(s),u),u.value=u.nodeValue=l,o.setAttributeNode(u)}},endElement:function(e,t,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&p(this.locator,r),v(this,r)},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=g.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&p(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,r){e=g.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&p(this.locator,n),v(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(e,t,r);this.locator&&p(this.locator,i),v(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,m(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,m(this.locator))},fatalError:function(e){throw new u(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){d.prototype[e]=function(){return null}}),t.DOMParser=f},4722:(e,t,r)=>{var n=r(4582),i=n.find,o=n.NAMESPACE;function a(e){return""!==e}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}(e);return Object.keys(t.reduce(s,{}))}function u(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function c(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,u(r,n=new n),e.prototype=r=n}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e)}var h={},f=h.ELEMENT_NODE=1,d=h.ATTRIBUTE_NODE=2,p=h.TEXT_NODE=3,m=h.CDATA_SECTION_NODE=4,g=h.ENTITY_REFERENCE_NODE=5,v=h.ENTITY_NODE=6,b=h.PROCESSING_INSTRUCTION_NODE=7,w=h.COMMENT_NODE=8,y=h.DOCUMENT_NODE=9,x=h.DOCUMENT_TYPE_NODE=10,_=h.DOCUMENT_FRAGMENT_NODE=11,E=h.NOTATION_NODE=12,A={},S={},N=(A.INDEX_SIZE_ERR=(S[1]="Index size error",1),A.DOMSTRING_SIZE_ERR=(S[2]="DOMString size error",2),A.HIERARCHY_REQUEST_ERR=(S[3]="Hierarchy request error",3)),C=(A.WRONG_DOCUMENT_ERR=(S[4]="Wrong document",4),A.INVALID_CHARACTER_ERR=(S[5]="Invalid character",5),A.NO_DATA_ALLOWED_ERR=(S[6]="No data allowed",6),A.NO_MODIFICATION_ALLOWED_ERR=(S[7]="No modification allowed",7),A.NOT_FOUND_ERR=(S[8]="Not found",8)),T=(A.NOT_SUPPORTED_ERR=(S[9]="Not supported",9),A.INUSE_ATTRIBUTE_ERR=(S[10]="Attribute in use",10));function k(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,S[e]),this.message=S[e],Error.captureStackTrace&&Error.captureStackTrace(this,k);return r.code=e,t&&(this.message=this.message+": "+t),r}function O(){}function R(e,t){this._node=e,this._refresh=t,D(this)}function D(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(be(e,"length",r.length),!e.$$length||r.length<e.$$length)for(var n=r.length;n in e;n++)Object.prototype.hasOwnProperty.call(e,n)&&delete e[n];u(r,e),e._inc=t}}function M(){}function L(e,t){for(var r=e.length;r--;)if(e[r]===t)return r}function P(e,t,r,n){if(n?t[L(t,n)]=r:t[t.length++]=r,e){r.ownerElement=e;var i=e.ownerDocument;i&&(n&&z(i,e,n),function(e,t,r){e&&e._inc++,r.namespaceURI===o.XMLNS&&(t._nsMap[r.prefix?r.localName:""]=r.value)}(i,e,r))}}function I(e,t,r){var n=L(t,r);if(!(n>=0))throw new k(C,new Error(e.tagName+"@"+r));for(var i=t.length-1;n<i;)t[n]=t[++n];if(t.length=i,e){var o=e.ownerDocument;o&&(z(o,e,r),r.ownerElement=null)}}function B(){}function j(){}function q(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function F(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(F(e,t))return!0}while(e=e.nextSibling)}function U(){this.ownerDocument=this}function z(e,t,r,n){e&&e._inc++,r.namespaceURI===o.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function W(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var i=t.firstChild,o=0;i;)n[o++]=i,i=i.nextSibling;n.length=o,delete n[n.length]}}}function H(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,W(e.ownerDocument,e),t}function V(e){return e&&e.nodeType===j.DOCUMENT_TYPE_NODE}function G(e){return e&&e.nodeType===j.ELEMENT_NODE}function Y(e){return e&&e.nodeType===j.TEXT_NODE}function $(e,t){var r=e.childNodes||[];if(i(r,G)||V(t))return!1;var n=i(r,V);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function X(e,t){var r=e.childNodes||[];if(i(r,function(e){return G(e)&&e!==t}))return!1;var n=i(r,V);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function Z(e,t,r){var n=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===j.DOCUMENT_FRAGMENT_NODE){var a=o.filter(G);if(a.length>1||i(o,Y))throw new k(N,"More than one element or text in fragment");if(1===a.length&&!$(e,r))throw new k(N,"Element in fragment can not be inserted before doctype")}if(G(t)&&!$(e,r))throw new k(N,"Only one element can be added and only after doctype");if(V(t)){if(i(n,V))throw new k(N,"Only one doctype is allowed");var s=i(n,G);if(r&&n.indexOf(s)<n.indexOf(r))throw new k(N,"Doctype can only be inserted before an element");if(!r&&s)throw new k(N,"Doctype can not be appended since element is present")}}function J(e,t,r){var n=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===j.DOCUMENT_FRAGMENT_NODE){var a=o.filter(G);if(a.length>1||i(o,Y))throw new k(N,"More than one element or text in fragment");if(1===a.length&&!X(e,r))throw new k(N,"Element in fragment can not be inserted before doctype")}if(G(t)&&!X(e,r))throw new k(N,"Only one element can be added and only after doctype");if(V(t)){if(i(n,function(e){return V(e)&&e!==r}))throw new k(N,"Only one doctype is allowed");var s=i(n,G);if(r&&n.indexOf(s)<n.indexOf(r))throw new k(N,"Doctype can only be inserted before an element")}}function K(e,t,r,n){(function(e,t,r){if(!function(e){return e&&(e.nodeType===j.DOCUMENT_NODE||e.nodeType===j.DOCUMENT_FRAGMENT_NODE||e.nodeType===j.ELEMENT_NODE)}(e))throw new k(N,"Unexpected parent node type "+e.nodeType);if(r&&r.parentNode!==e)throw new k(C,"child not in parent");if(!function(e){return e&&(G(e)||Y(e)||V(e)||e.nodeType===j.DOCUMENT_FRAGMENT_NODE||e.nodeType===j.COMMENT_NODE||e.nodeType===j.PROCESSING_INSTRUCTION_NODE)}(t)||V(t)&&e.nodeType!==j.DOCUMENT_NODE)throw new k(N,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)})(e,t,r),e.nodeType===j.DOCUMENT_NODE&&(n||Z)(e,t,r);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===_){var o=t.firstChild;if(null==o)return t;var a=t.lastChild}else o=a=t;var s=r?r.previousSibling:e.lastChild;o.previousSibling=s,a.nextSibling=r,s?s.nextSibling=o:e.firstChild=o,null==r?e.lastChild=a:r.previousSibling=a;do{o.parentNode=e}while(o!==a&&(o=o.nextSibling));return W(e.ownerDocument||e,e),t.nodeType==_&&(t.firstChild=t.lastChild=null),t}function Q(){this._nsMap={}}function ee(){}function te(){}function re(){}function ne(){}function ie(){}function oe(){}function ae(){}function se(){}function le(){}function ue(){}function ce(){}function he(){}function fe(e,t){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,o=n.namespaceURI;if(o&&null==i&&null==(i=n.lookupPrefix(o)))var a=[{namespace:o,prefix:null}];return me(this,r,e,t,a),r.join("")}function de(e,t,r){var n=e.prefix||"",i=e.namespaceURI;if(!i)return!1;if("xml"===n&&i===o.XML||i===o.XMLNS)return!1;for(var a=r.length;a--;){var s=r[a];if(s.prefix===n)return s.namespace!==i}return!0}function pe(e,t,r){e.push(" ",t,'="',r.replace(/[<>&"\t\n\r]/g,q),'"')}function me(e,t,r,n,i){if(i||(i=[]),n){if(!(e=n(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case f:var a=e.attributes,s=a.length,l=e.firstChild,u=e.tagName,c=u;if(!(r=o.isHTML(e.namespaceURI)||r)&&!e.prefix&&e.namespaceURI){for(var h,v=0;v<a.length;v++)if("xmlns"===a.item(v).name){h=a.item(v).value;break}if(!h)for(var E=i.length-1;E>=0;E--)if(""===(A=i[E]).prefix&&A.namespace===e.namespaceURI){h=A.namespace;break}if(h!==e.namespaceURI)for(E=i.length-1;E>=0;E--){var A;if((A=i[E]).namespace===e.namespaceURI){A.prefix&&(c=A.prefix+":"+u);break}}}t.push("<",c);for(var S=0;S<s;S++)"xmlns"==(N=a.item(S)).prefix?i.push({prefix:N.localName,namespace:N.value}):"xmlns"==N.nodeName&&i.push({prefix:"",namespace:N.value});for(S=0;S<s;S++){var N,C,T;de(N=a.item(S),0,i)&&(pe(t,(C=N.prefix||"")?"xmlns:"+C:"xmlns",T=N.namespaceURI),i.push({prefix:C,namespace:T})),me(N,t,r,n,i)}if(u===c&&de(e,0,i)&&(pe(t,(C=e.prefix||"")?"xmlns:"+C:"xmlns",T=e.namespaceURI),i.push({prefix:C,namespace:T})),l||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(u)){if(t.push(">"),r&&/^script$/i.test(u))for(;l;)l.data?t.push(l.data):me(l,t,r,n,i.slice()),l=l.nextSibling;else for(;l;)me(l,t,r,n,i.slice()),l=l.nextSibling;t.push("</",c,">")}else t.push("/>");return;case y:case _:for(l=e.firstChild;l;)me(l,t,r,n,i.slice()),l=l.nextSibling;return;case d:return pe(t,e.name,e.value);case p:return t.push(e.data.replace(/[<&>]/g,q));case m:return t.push("<![CDATA[",e.data,"]]>");case w:return t.push("\x3c!--",e.data,"--\x3e");case x:var k=e.publicId,O=e.systemId;if(t.push("<!DOCTYPE ",e.name),k)t.push(" PUBLIC ",k),O&&"."!=O&&t.push(" ",O),t.push(">");else if(O&&"."!=O)t.push(" SYSTEM ",O,">");else{var R=e.internalSubset;R&&t.push(" [",R,"]"),t.push(">")}return;case b:return t.push("<?",e.target," ",e.data,"?>");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ge(e,t,r){var n;switch(t.nodeType){case f:(n=t.cloneNode(!1)).ownerDocument=e;case _:break;case d:r=!0}if(n||(n=t.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,r)for(var i=t.firstChild;i;)n.appendChild(ge(e,i,r)),i=i.nextSibling;return n}function ve(e,t,r){var n=new t.constructor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=t[i];"object"!=typeof o&&o!=n[i]&&(n[i]=o)}switch(t.childNodes&&(n.childNodes=new O),n.ownerDocument=e,n.nodeType){case f:var a=t.attributes,s=n.attributes=new M,l=a.length;s._ownerElement=n;for(var u=0;u<l;u++)n.setAttributeNode(ve(e,a.item(u),!0));break;case d:r=!0}if(r)for(var c=t.firstChild;c;)n.appendChild(ve(e,c,r)),c=c.nextSibling;return n}function be(e,t,r){e[t]=r}A.INVALID_STATE_ERR=(S[11]="Invalid state",11),A.SYNTAX_ERR=(S[12]="Syntax error",12),A.INVALID_MODIFICATION_ERR=(S[13]="Invalid modification",13),A.NAMESPACE_ERR=(S[14]="Invalid namespace",14),A.INVALID_ACCESS_ERR=(S[15]="Invalid access",15),k.prototype=Error.prototype,u(A,k),O.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var r=[],n=0;n<this.length;n++)me(this[n],r,e,t);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},R.prototype.item=function(e){return D(this),this[e]||null},c(R,O),M.prototype={length:0,item:O.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var r=this[t];if(r.nodeName==e)return r}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new k(T);var r=this.getNamedItem(e.nodeName);return P(this._ownerElement,this,e,r),r},setNamedItemNS:function(e){var t,r=e.ownerElement;if(r&&r!=this._ownerElement)throw new k(T);return t=this.getNamedItemNS(e.namespaceURI,e.localName),P(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return I(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return I(this._ownerElement,this,r),r},getNamedItemNS:function(e,t){for(var r=this.length;r--;){var n=this[r];if(n.localName==t&&n.namespaceURI==e)return n}return null}},B.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,r){var n=new U;if(n.implementation=this,n.childNodes=new O,n.doctype=r||null,r&&n.appendChild(r),t){var i=n.createElementNS(e,t);n.appendChild(i)}return n},createDocumentType:function(e,t,r){var n=new oe;return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=r||"",n}},j.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return K(this,e,t)},replaceChild:function(e,t){K(this,e,t,J),t&&this.removeChild(t)},removeChild:function(e){return H(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return ve(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==p&&e.nodeType==p?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;t=t.nodeType==d?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==d?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(h,j),u(h,j.prototype),U.prototype={nodeName:"#document",nodeType:y,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==_){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return K(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===f&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),H(this,e)},replaceChild:function(e,t){K(this,e,t,J),e.ownerDocument=this,t&&this.removeChild(t),G(e)&&(this.documentElement=e)},importNode:function(e,t){return ge(this,e,t)},getElementById:function(e){var t=null;return F(this.documentElement,function(r){if(r.nodeType==f&&r.getAttribute("id")==e)return t=r,!0}),t},getElementsByClassName:function(e){var t=l(e);return new R(this,function(r){var n=[];return t.length>0&&F(r.documentElement,function(i){if(i!==r&&i.nodeType===f){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var s=l(o);a=t.every((u=s,function(e){return u&&-1!==u.indexOf(e)}))}a&&n.push(i)}}var u}),n})},createElement:function(e){var t=new Q;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new O,(t.attributes=new M)._ownerElement=t,t},createDocumentFragment:function(){var e=new ue;return e.ownerDocument=this,e.childNodes=new O,e},createTextNode:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ne;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new ce;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){var t=new ee;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new le;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new Q,n=t.split(":"),i=r.attributes=new M;return r.childNodes=new O,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,i._ownerElement=r,r},createAttributeNS:function(e,t){var r=new ee,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},c(U,j),Q.prototype={nodeType:f,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===_?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,W(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new R(this,function(t){var r=[];return F(t,function(n){n===t||n.nodeType!=f||"*"!==e&&n.tagName!=e||r.push(n)}),r})},getElementsByTagNameNS:function(e,t){return new R(this,function(r){var n=[];return F(r,function(i){i===r||i.nodeType!==f||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||n.push(i)}),n})}},U.prototype.getElementsByTagName=Q.prototype.getElementsByTagName,U.prototype.getElementsByTagNameNS=Q.prototype.getElementsByTagNameNS,c(Q,j),ee.prototype.nodeType=d,c(ee,j),te.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(S[N])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length}},c(te,j),re.prototype={nodeName:"#text",nodeType:p,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},c(re,te),ne.prototype={nodeName:"#comment",nodeType:w},c(ne,te),ie.prototype={nodeName:"#cdata-section",nodeType:m},c(ie,te),oe.prototype.nodeType=x,c(oe,j),ae.prototype.nodeType=E,c(ae,j),se.prototype.nodeType=v,c(se,j),le.prototype.nodeType=g,c(le,j),ue.prototype.nodeName="#document-fragment",ue.prototype.nodeType=_,c(ue,j),ce.prototype.nodeType=b,c(ce,j),he.prototype.serializeToString=function(e,t,r){return fe.call(e,t,r)},j.prototype.toString=fe;try{if(Object.defineProperty){function we(e){switch(e.nodeType){case f:case _:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(we(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(R.prototype,"length",{get:function(){return D(this),this.$$length}}),Object.defineProperty(j.prototype,"textContent",{get:function(){return we(this)},set:function(e){switch(this.nodeType){case f:case _:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),be=function(e,t,r){e["$$"+t]=r}}}catch(ye){}t.DocumentType=oe,t.DOMException=k,t.DOMImplementation=B,t.Element=Q,t.Node=j,t.NodeList=O,t.XMLSerializer=he},6559:(e,t,r)=>{var n=r(4582).freeze;t.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=n({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:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",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:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",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:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",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:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",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:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",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:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",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:"▫",emsp:" ",emsp13:" ",emsp14:" ",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:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",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",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",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:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",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:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",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:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",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:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",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:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",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:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",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:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",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:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",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:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",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:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",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:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",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:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",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:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",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:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",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:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",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:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",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:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",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:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",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:""}),t.entityMap=t.HTML_ENTITIES},8978:(e,t,r)=>{var n=r(4722);t.DOMImplementation=n.DOMImplementation,t.XMLSerializer=n.XMLSerializer,t.DOMParser=r(5752).DOMParser},4466:(e,t,r)=>{var n=r(4582).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function l(){}function u(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,r,i,o,a){function s(e,t,n){r.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),n)}for(var l,u=++t,c=0;;){var h=e.charAt(u);switch(h){case"=":if(1===c)l=e.slice(t,u),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(a.warning('attribute value must after "="'),l=e.slice(t,u)),t=u+1,!((u=e.indexOf(h,t))>0))throw new Error("attribute value no end '"+h+"' match");s(l,f=e.slice(t,u),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');s(l,f=e.slice(t,u),t),a.warning('attribute "'+l+'" missed start quot('+h+")!!"),t=u+1,c=5}break;case"/":switch(c){case 0:r.setTagName(e.slice(t,u));case 5:case 6:case 7:c=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==c&&r.setTagName(e.slice(t,u)),u;case">":switch(c){case 0:r.setTagName(e.slice(t,u));case 5:case 6:case 7:break;case 4:case 1:"/"===(f=e.slice(t,u)).slice(-1)&&(r.closed=!0,f=f.slice(0,-1));case 2:2===c&&(f=l),4==c?(a.warning('attribute "'+f+'" missed quot(")!'),s(l,f,t)):(n.isHTML(i[""])&&f.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+f+'" missed value!! "'+f+'" instead!!'),s(f,f,t));break;case 3:throw new Error("attribute value missed!!")}return u;case"":h=" ";default:if(h<=" ")switch(c){case 0:r.setTagName(e.slice(t,u)),c=6;break;case 1:l=e.slice(t,u),c=2;break;case 4:var f=e.slice(t,u);a.warning('attribute "'+f+'" missed quot(")!!'),s(l,f,t);case 5:c=6}else switch(c){case 2:r.tagName,n.isHTML(i[""])&&l.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),s(l,l,t),t=u,c=1;break;case 5:a.warning('attribute space is required"'+l+'"!!');case 6:c=1,t=u;break;case 3:c=4,t=u;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function h(e,t,r){for(var i=e.tagName,o=null,a=e.length;a--;){var s=e[a],l=s.qName,u=s.value;if((d=l.indexOf(":"))>0)var c=s.prefix=l.slice(0,d),h=l.slice(d+1),f="xmlns"===c&&h;else h=l,c=null,f="xmlns"===l&&"";s.localName=h,!1!==f&&(null==o&&(o={},p(r,r={})),r[f]=o[f]=u,s.uri=n.XMLNS,t.startPrefixMapping(f,u))}for(a=e.length;a--;)(c=(s=e[a]).prefix)&&("xml"===c&&(s.uri=n.XML),"xmlns"!==c&&(s.uri=r[c||""]));var d;(d=i.indexOf(":"))>0?(c=e.prefix=i.slice(0,d),h=e.localName=i.slice(d+1)):(c=null,h=e.localName=i);var m=e.uri=r[c||""];if(t.startElement(m,h,i,e),!e.closed)return e.currentNSMap=r,e.localNSMap=o,!0;if(t.endElement(m,h,i),o)for(c in o)Object.prototype.hasOwnProperty.call(o,c)&&t.endPrefixMapping(c)}function f(e,t,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=e.indexOf("</"+r+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(r)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,n),i.characters(a,0,a.length),o)}return t+1}function d(e,t,r,n){var i=n[r];return null==i&&((i=e.lastIndexOf("</"+r+">"))<t&&(i=e.lastIndexOf("</"+r)),n[r]=i),i<t}function p(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function m(e,t,r,n){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(r.comment(e,t+4,i-t-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,i-t-9),r.endCDATA(),i+3}var o=function(e,t){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);r=i.exec(e);)if(n.push(r),r[1])return n}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],l=!1,u=!1;a>3&&(/^public$/i.test(o[2][0])?(l=o[3][0],u=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(u=o[3][0]));var c=o[a-1];return r.startDTD(s,l,u),r.endDTD(),c.index+c[0].length}return-1}function g(e,t,r){var n=e.indexOf("?>",t);if(n){var i=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return i?(i[0].length,r.processingInstruction(i[1],i[2]),n+2):-1}return-1}function v(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,l.prototype={parse:function(e,t,r){var i=this.domBuilder;i.startDocument(),p(t,t={}),function(e,t,r,i,o){function a(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(r,t)?r[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function l(t){if(t>A){var r=e.substring(A,t).replace(/&#?\w+;/g,a);x&&p(A),i.characters(r,0,t-A),A=t}}function p(t,r){for(;t>=w&&(r=y.exec(e));)b=r.index,w=b+r[0].length,x.lineNumber++;x.columnNumber=t-b+1}for(var b=0,w=0,y=/.*(?:\r\n?|\n)|.*$/g,x=i.locator,_=[{currentNSMap:t}],E={},A=0;;){try{var S=e.indexOf("<",A);if(S<0){if(!e.substr(A).match(/^\s*$/)){var N=i.doc,C=N.createTextNode(e.substr(A));N.appendChild(C),i.currentElement=C}return}switch(S>A&&l(S),e.charAt(S+1)){case"/":var T=e.indexOf(">",S+3),k=e.substring(S+2,T).replace(/[ \t\n\r]+$/g,""),O=_.pop();T<0?(k=e.substring(S+2).replace(/[\s<].*/,""),o.error("end tag name: "+k+" is not complete:"+O.tagName),T=S+1+k.length):k.match(/\s</)&&(k=k.replace(/[\s<].*/,""),o.error("end tag name: "+k+" maybe not complete"),T=S+1+k.length);var R=O.localNSMap,D=O.tagName==k;if(D||O.tagName&&O.tagName.toLowerCase()==k.toLowerCase()){if(i.endElement(O.uri,O.localName,k),R)for(var M in R)Object.prototype.hasOwnProperty.call(R,M)&&i.endPrefixMapping(M);D||o.fatalError("end tag name: "+k+" is not match the current start tagName:"+O.tagName)}else _.push(O);T++;break;case"?":x&&p(S),T=g(e,S,i);break;case"!":x&&p(S),T=m(e,S,i,o);break;default:x&&p(S);var L=new v,P=_[_.length-1].currentNSMap,I=(T=c(e,S,L,P,a,o),L.length);if(!L.closed&&d(e,T,L.tagName,E)&&(L.closed=!0,r.nbsp||o.warning("unclosed xml attribute")),x&&I){for(var B=u(x,{}),j=0;j<I;j++){var q=L[j];p(q.offset),q.locator=u(x,{})}i.locator=B,h(L,i,P)&&_.push(L),i.locator=x}else h(L,i,P)&&_.push(L);n.isHTML(L.uri)&&!L.closed?T=f(e,T,L.tagName,a,i):T++}}catch(e){if(e instanceof s)throw e;o.error("element parse error: "+e),T=-1}T>A?A=T:l(Math.max(S,A)+1)}}(e,t,r,i,this.errorHandler),i.endDocument()}},v.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=l,t.ParseError=s},8917:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidNumberOfChildrenError=void 0;var n=r(6200);Object.defineProperty(t,"InvalidNumberOfChildrenError",{enumerable:!0,get:function(){return n.InvalidNumberOfChildrenError}})},6200:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidNumberOfChildrenError=void 0;class r extends Error{constructor(e,t,r,n="exactly"){super(`${e} tag must have ${n} ${t} children. It's actually ${r}`),this.name="InvalidNumberOfChildrenError"}}t.InvalidNumberOfChildrenError=r},4279:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(828),t),i(r(5975),t),i(r(799),t),i(r(2424),t)},5975:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JoinWithManySeparators=void 0;class r{constructor(e){this._separators=e}static join(e,t,n=""){const i=t.length>0?t:void 0!==n?[n]:[];return new r(i)._join(e)}_join(e){return e.reduce((e,t,r,n)=>e+t+(r===n.length-1?"":this._get(r)),"")}_get(e){return this._separators[e]?this._separators[e]:this._separators[this._separators.length-1]}}t.JoinWithManySeparators=r},799:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mathMLElementToLaTeXConverter=void 0;const n=r(5443);t.mathMLElementToLaTeXConverter=e=>new n.MathMLElementToLatexConverterAdapter(e).toLatexConverter()},2424:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeWhiteSpaces=void 0,t.normalizeWhiteSpaces=e=>e.replace(/\s+/g," ")},7192:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BracketWrapper=void 0;const n=r(1855);t.BracketWrapper=class{constructor(){this._open="{",this._close="}"}wrap(e){return new n.Wrapper(this._open,this._close).wrap(e)}}},5025:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenericWrapper=void 0;const n=r(1855);t.GenericWrapper=class{constructor(e,t){this._open="\\left"+e,this._close="\\right"+t}wrap(e){return new n.Wrapper(this._open,this._close).wrap(e)}}},828:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenericWrapper=t.ParenthesisWrapper=t.BracketWrapper=void 0;var n=r(7192);Object.defineProperty(t,"BracketWrapper",{enumerable:!0,get:function(){return n.BracketWrapper}});var i=r(1168);Object.defineProperty(t,"ParenthesisWrapper",{enumerable:!0,get:function(){return i.ParenthesisWrapper}});var o=r(5025);Object.defineProperty(t,"GenericWrapper",{enumerable:!0,get:function(){return o.GenericWrapper}})},1168:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ParenthesisWrapper=void 0;const n=r(1855);t.ParenthesisWrapper=class{constructor(){this._open="\\left(",this._close="\\right)"}wrap(e){return new n.Wrapper(this._open,this._close).wrap(e)}wrapIfMoreThanOneChar(e){return e.length<=1?e:this.wrap(e)}}},1855:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=void 0,t.Wrapper=class{constructor(e,t){this._open=e,this._close=t}wrap(e){return this._open+e+this._close}}},2697:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VoidMathMLElement=void 0,t.VoidMathMLElement=class{constructor(){this.name="void",this.value="",this.children=[],this.attributes={}}}},4760:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenericSpacingWrapper=void 0;const n=r(4279);t.GenericSpacingWrapper=class{constructor(e){this._mathmlElement=e}convert(){return this._mathmlElement.children.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert()).join(" ")}}},9376:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenericUnderOver=void 0;const n=r(799),i=r(8917),o=r(472);t.GenericUnderOver=class{constructor(e){this._mathmlElement=e}convert(){const{name:e,children:t}=this._mathmlElement,r=t.length;if(2!==r)throw new i.InvalidNumberOfChildrenError(e,2,r);const o=(0,n.mathMLElementToLaTeXConverter)(t[0]).convert(),a=(0,n.mathMLElementToLaTeXConverter)(t[1]).convert();return this._applyCommand(o,a)}_applyCommand(e,t){const r=this._mathmlElement.name.match(/under/)?s.Under:s.Over;return new a(r).apply(e,t)}};class a{constructor(e){this._type=e}apply(e,t){return o.latexAccents.includes(t)?`${t}{${e}}`:`${this._defaultCommand}{${t}}{${e}}`}get _defaultCommand(){return this._type===s.Under?"\\underset":"\\overset"}}var s;!function(e){e[e.Under=0]="Under",e[e.Over=1]="Over"}(s||(s={}))},6959:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Void=t.MSpace=t.MRow=t.GenericUnderOver=t.GenericSpacingWrapper=t.MTr=t.MTable=t.MUnderover=t.MText=t.MMultiscripts=t.MSubsup=t.MSub=t.MSup=t.MPhantom=t.MError=t.MEnclose=t.MAction=t.MRoot=t.MFrac=t.MFenced=t.MSqrt=t.MN=t.MO=t.MI=t.Math=void 0;var n=r(393);Object.defineProperty(t,"Math",{enumerable:!0,get:function(){return n.Math}});var i=r(7037);Object.defineProperty(t,"MI",{enumerable:!0,get:function(){return i.MI}});var o=r(3487);Object.defineProperty(t,"MO",{enumerable:!0,get:function(){return o.MO}});var a=r(4464);Object.defineProperty(t,"MN",{enumerable:!0,get:function(){return a.MN}});var s=r(8686);Object.defineProperty(t,"MSqrt",{enumerable:!0,get:function(){return s.MSqrt}});var l=r(9511);Object.defineProperty(t,"MFenced",{enumerable:!0,get:function(){return l.MFenced}});var u=r(6440);Object.defineProperty(t,"MFrac",{enumerable:!0,get:function(){return u.MFrac}});var c=r(6052);Object.defineProperty(t,"MRoot",{enumerable:!0,get:function(){return c.MRoot}});var h=r(1678);Object.defineProperty(t,"MAction",{enumerable:!0,get:function(){return h.MAction}});var f=r(2631);Object.defineProperty(t,"MEnclose",{enumerable:!0,get:function(){return f.MEnclose}});var d=r(1840);Object.defineProperty(t,"MError",{enumerable:!0,get:function(){return d.MError}});var p=r(7443);Object.defineProperty(t,"MPhantom",{enumerable:!0,get:function(){return p.MPhantom}});var m=r(6926);Object.defineProperty(t,"MSup",{enumerable:!0,get:function(){return m.MSup}});var g=r(2564);Object.defineProperty(t,"MSub",{enumerable:!0,get:function(){return g.MSub}});var v=r(1358);Object.defineProperty(t,"MSubsup",{enumerable:!0,get:function(){return v.MSubsup}});var b=r(8303);Object.defineProperty(t,"MMultiscripts",{enumerable:!0,get:function(){return b.MMultiscripts}});var w=r(3951);Object.defineProperty(t,"MText",{enumerable:!0,get:function(){return w.MText}});var y=r(1222);Object.defineProperty(t,"MUnderover",{enumerable:!0,get:function(){return y.MUnderover}});var x=r(2350);Object.defineProperty(t,"MTable",{enumerable:!0,get:function(){return x.MTable}});var _=r(1586);Object.defineProperty(t,"MTr",{enumerable:!0,get:function(){return _.MTr}});var E=r(4760);Object.defineProperty(t,"GenericSpacingWrapper",{enumerable:!0,get:function(){return E.GenericSpacingWrapper}});var A=r(9376);Object.defineProperty(t,"GenericUnderOver",{enumerable:!0,get:function(){return A.GenericUnderOver}});var S=r(6346);Object.defineProperty(t,"MRow",{enumerable:!0,get:function(){return S.MRow}});var N=r(3700);Object.defineProperty(t,"MSpace",{enumerable:!0,get:function(){return N.MSpace}});var C=r(9165);Object.defineProperty(t,"Void",{enumerable:!0,get:function(){return C.Void}})},1678:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MAction=void 0;const n=r(799);t.MAction=class{constructor(e){this._mathmlElement=e}convert(){const{children:e}=this._mathmlElement;return this._isToggle()?e.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert()).join(" \\Longrightarrow "):(0,n.mathMLElementToLaTeXConverter)(e[0]).convert()}_isToggle(){const{actiontype:e}=this._mathmlElement.attributes;return"toggle"===e||!e}}},393:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Math=void 0;const n=r(799),i=r(2424);t.Math=class{constructor(e){this._mathmlElement=e}convert(){const e=this._mathmlElement.children.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert()).join(" ");return(0,i.normalizeWhiteSpaces)(e)}}},2631:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEnclose=void 0;const n=r(799);t.MEnclose=class{constructor(e){this._mathmlElement=e}convert(){const e=this._mathmlElement.children.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert()).join(" ");return"actuarial"===this._notation?`\\overline{\\left.${e}\\right|}`:"radical"===this._notation?`\\sqrt{${e}}`:["box","roundedbox","circle"].includes(this._notation)?`\\boxed{${e}}`:"left"===this._notation?`\\left|${e}`:"right"===this._notation?`${e}\\right|`:"top"===this._notation?`\\overline{${e}}`:"bottom"===this._notation?`\\underline{${e}}`:"updiagonalstrike"===this._notation?`\\cancel{${e}}`:"downdiagonalstrike"===this._notation?`\\bcancel{${e}}`:"updiagonalarrow"===this._notation?`\\cancelto{}{${e}}`:["verticalstrike","horizontalstrike"].includes(this._notation)?`\\hcancel{${e}}`:"madruwb"===this._notation?`\\underline{${e}\\right|}`:"phasorangle"===this._notation?`{\\angle \\underline{${e}}}`:`\\overline{\\left.\\right)${e}}`}get _notation(){return this._mathmlElement.attributes.notation||"longdiv"}}},1840:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MError=void 0;const n=r(799);t.MError=class{constructor(e){this._mathmlElement=e}convert(){return`\\color{red}{${this._mathmlElement.children.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert()).join(" ")}}`}}},9511:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MFenced=void 0;const n=r(799),i=r(4279);t.MFenced=class{constructor(e){this._mathmlElement=e,this.open=this._mathmlElement.attributes.open||"",this.close=this._mathmlElement.attributes.close||""}convert(){const e=this._mathmlElement.children.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert());if(this._isThereRelativeOfName(this._mathmlElement.children,"mtable"))return new a(this.open,this.close).apply(e);const t=this._mathmlElement.attributes.separators,r=void 0!==t,i=t?Array.from(t):[],s=r?"":",";return new o(this.open,this.close,i,s).apply(e)}_isThereRelativeOfName(e,t){return e.some(e=>e.name===t||this._isThereRelativeOfName(e.children,t))}};class o{constructor(e,t,r,n){this.separators=r,this.defaultSeparator=n,this.open=e||"(",this.close=t||")"}apply(e){const t=i.JoinWithManySeparators.join(e,this.separators,this.defaultSeparator);return new i.GenericWrapper(this.open,this.close).wrap(t)}}class a{constructor(e,t){this._genericCommand="matrix",this.separators=new s(e,t)}apply(e){const t=this._command,r=`\\begin{${t}}\n${e.join("")}\n\\end{${t}}`;return t===this._genericCommand?this.separators.wrap(r):r}get _command(){return this.separators.areParentheses()?"pmatrix":this.separators.areSquareBrackets()?"bmatrix":this.separators.areBrackets()?"Bmatrix":this.separators.areDivides()?"vmatrix":this.separators.areParallels()?"Vmatrix":this.separators.areNotEqual()?this._genericCommand:"bmatrix"}}class s{constructor(e,t){this.open=e,this.close=t}wrap(e){return new i.GenericWrapper(this.open,this.close).wrap(e)}areParentheses(){return this._compare("(",")")}areSquareBrackets(){return this._compare("[","]")}areBrackets(){return this._compare("{","}")}areDivides(){return this._compare("|","|")}areParallels(){return this._compare("||","||")}areNotEqual(){return this.open!==this.close}_compare(e,t){return this.open===e&&this.close===t}}},6440:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MFrac=void 0;const n=r(8917),i=r(4279);t.MFrac=class{constructor(e){this._mathmlElement=e}convert(){const{children:e,name:t}=this._mathmlElement,r=e.length;if(2!==r)throw new n.InvalidNumberOfChildrenError(t,2,r);const o=(0,i.mathMLElementToLaTeXConverter)(e[0]).convert(),a=(0,i.mathMLElementToLaTeXConverter)(e[1]).convert();return this._isBevelled()?`${this._wrapIfMoreThanOneChar(o)}/${this._wrapIfMoreThanOneChar(a)}`:`\\frac{${o}}{${a}}`}_wrapIfMoreThanOneChar(e){return(new i.ParenthesisWrapper).wrapIfMoreThanOneChar(e)}_isBevelled(){return!!this._mathmlElement.attributes.bevelled}}},7037:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MI=void 0;const n=r(4279),i=r(5406),o=r(6122);t.MI=class{constructor(e){this.utf8Converter=new o.HashUTF8ToLtXConverter,this._mathmlElement=e}convert(){const e=(0,n.normalizeWhiteSpaces)(this._mathmlElement.value);if(" "===e)return a.apply(e);const t=e.trim(),r=a.apply(t),i=this.utf8Converter.convert(r);return i!==r?i:this.wrapInMathVariant(r,this.getMathVariant(this._mathmlElement.attributes))}getMathVariant(e){if(e&&e.mathvariant)return e.mathvariant}wrapInMathVariant(e,t){switch(t){case"bold":return`\\mathbf{${e}}`;case"italic":return`\\mathit{${e}}`;case"bold-italic":return`\\mathbf{\\mathit{${e}}}`;case"double-struck":return`\\mathbb{${e}}`;case"bold-fraktur":return`\\mathbf{\\mathfrak{${e}}}`;case"script":return`\\mathcal{${e}}`;case"bold-script":return`\\mathbf{\\mathcal{${e}}}`;case"fraktur":return`\\mathfrak{${e}}`;case"sans-serif":return`\\mathsf{${e}}`;case"bold-sans-serif":return`\\mathbf{\\mathsf{${e}}}`;case"sans-serif-italic":return`\\mathsf{\\mathit{${e}}}`;case"sans-serif-bold-italic":return`\\mathbf{\\mathsf{\\mathit{${e}}}}`;case"monospace":return`\\mathtt{${e}}`;default:return e}}};class a{constructor(e){this._value=e}static apply(e){return new a(e)._apply()}_apply(){return this._findByCharacter()||this._findByGlyph()||this._findByNumber()||(new o.HashUTF8ToLtXConverter).convert(this._value)}_findByCharacter(){return i.allMathSymbolsByChar[this._value]}_findByGlyph(){return i.allMathSymbolsByGlyph[this._value]}_findByNumber(){return i.mathNumberByGlyph[this._value]}}},8303:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MMultiscripts=void 0;const n=r(4279),i=r(8917);t.MMultiscripts=class{constructor(e){this._mathmlElement=e}convert(){const{name:e,children:t}=this._mathmlElement,r=t.length;if(r<3)throw new i.InvalidNumberOfChildrenError(e,3,r,"at least");const o=(0,n.mathMLElementToLaTeXConverter)(t[0]).convert();return this._prescriptLatex()+this._wrapInParenthesisIfThereIsSpace(o)+this._postscriptLatex()}_prescriptLatex(){const{children:e}=this._mathmlElement;let t,r;if(this._isPrescripts(e[1]))t=e[2],r=e[3];else{if(!this._isPrescripts(e[3]))return"";t=e[4],r=e[5]}return`\\_{${(0,n.mathMLElementToLaTeXConverter)(t).convert()}}^{${(0,n.mathMLElementToLaTeXConverter)(r).convert()}}`}_postscriptLatex(){const{children:e}=this._mathmlElement;if(this._isPrescripts(e[1]))return"";const t=e[1],r=e[2];return`_{${(0,n.mathMLElementToLaTeXConverter)(t).convert()}}^{${(0,n.mathMLElementToLaTeXConverter)(r).convert()}}`}_wrapInParenthesisIfThereIsSpace(e){return e.match(/\s+/g)?(new n.ParenthesisWrapper).wrap(e):e}_isPrescripts(e){return"mprescripts"===(null==e?void 0:e.name)}}},4464:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MN=void 0;const n=r(4279),i=r(5406);t.MN=class{constructor(e){this._mathmlElement=e}convert(){const e=(0,n.normalizeWhiteSpaces)(this._mathmlElement.value).trim();return i.mathNumberByGlyph[e]||e}}},3487:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MO=void 0;const n=r(4279),i=r(5406);t.MO=class{constructor(e){this._mathmlElement=e}convert(){const e=(0,n.normalizeWhiteSpaces)(this._mathmlElement.value).trim();return o.operate(e)}};class o{constructor(e){this._value=e}static operate(e){return new o(e)._operate()}_operate(){return this._findByCharacter()||this._findByGlyph()||this._findByNumber()||(new i.HashUTF8ToLtXConverter).convert(this._value)}_findByCharacter(){return i.allMathOperatorsByChar[this._value]}_findByGlyph(){return i.allMathOperatorsByGlyph[this._value]}_findByNumber(){return i.mathNumberByGlyph[this._value]}}},7443:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MPhantom=void 0,t.MPhantom=class{constructor(e){this._mathmlElement=e}convert(){return""}}},6052:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MRoot=void 0;const n=r(4279),i=r(8917);t.MRoot=class{constructor(e){this._mathmlElement=e}convert(){const{name:e,children:t}=this._mathmlElement,r=t.length;if(2!==r)throw new i.InvalidNumberOfChildrenError(e,2,r);const o=(0,n.mathMLElementToLaTeXConverter)(t[0]).convert();return`\\sqrt[${(0,n.mathMLElementToLaTeXConverter)(t[1]).convert()}]{${o}}`}}},6346:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MRow=void 0;const n=r(4279);t.MRow=class{constructor(e){this._mathmlElement=e}convert(){return this._isLinearSystemPattern()?this._convertAsLinearSystem():this._mathmlElement.children.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert()).join(" ")}_isLinearSystemPattern(){const{children:e}=this._mathmlElement;if(3!==e.length)return!1;const t=e[0],r="mo"===t.name&&"{"===t.value.trim(),n="mtable"===e[1].name,i=e[2],o="mo"===i.name&&""===i.value.trim();return r&&n&&o}_convertAsLinearSystem(){return`\\begin{cases} ${this._mathmlElement.children[1].children.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert()).join(" \\\\ ")} \\end{cases}`}}},3700:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MSpace=void 0,t.MSpace=class{constructor(e){this._mathmlElement=e}convert(){const{linebreak:e}=this._mathmlElement.attributes;return"newline"===e?" \\\\ ":" "}}},8686:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MSqrt=void 0;const n=r(4279);t.MSqrt=class{constructor(e){this._mathmlElement=e}convert(){return`\\sqrt{${this._mathmlElement.children.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert()).join(" ")}}`}}},2564:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MSub=void 0;const n=r(4279),i=r(8917);t.MSub=class{constructor(e){this._mathmlElement=e}convert(){const{name:e,children:t}=this._mathmlElement,r=t.length;if(2!==r)throw new i.InvalidNumberOfChildrenError(e,2,r);const n=t[0],o=t[1];return`${this._handleBaseChild(n)}_${this._handleSubscriptChild(o)}`}_handleBaseChild(e){const t=e.children,r=(0,n.mathMLElementToLaTeXConverter)(e).convert();return t.length<=1?r:(new n.ParenthesisWrapper).wrapIfMoreThanOneChar(r)}_handleSubscriptChild(e){const t=(0,n.mathMLElementToLaTeXConverter)(e).convert();return(new n.BracketWrapper).wrap(t)}}},1358:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MSubsup=void 0;const n=r(4279),i=r(8917);t.MSubsup=class{constructor(e){this._mathmlElement=e}convert(){const{name:e,children:t}=this._mathmlElement,r=t.length;if(3!==r)throw new i.InvalidNumberOfChildrenError(e,3,r);const n=t[0],o=t[1],a=t[2];return`${this._handleBaseChild(n)}_${this._handleSubscriptChild(o)}^${this._handleSuperscriptChild(a)}`}_handleBaseChild(e){const t=e.children,r=(0,n.mathMLElementToLaTeXConverter)(e).convert();return t.length<=1?r:(new n.ParenthesisWrapper).wrapIfMoreThanOneChar(r)}_handleSubscriptChild(e){const t=(0,n.mathMLElementToLaTeXConverter)(e).convert();return(new n.BracketWrapper).wrap(t)}_handleSuperscriptChild(e){const t=(0,n.mathMLElementToLaTeXConverter)(e).convert();return(new n.BracketWrapper).wrap(t)}}},6926:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MSup=void 0;const n=r(4279),i=r(8917);t.MSup=class{constructor(e){this._mathmlElement=e}convert(){const{name:e,children:t}=this._mathmlElement,r=t.length;if(2!==r)throw new i.InvalidNumberOfChildrenError(e,2,r);const n=t[0],o=t[1];return`${this._handleBaseChild(n)}^${this._handleExponentChild(o)}`}_handleBaseChild(e){const t=e.children,r=(0,n.mathMLElementToLaTeXConverter)(e).convert();return t.length<=1?r:(new n.ParenthesisWrapper).wrapIfMoreThanOneChar(r)}_handleExponentChild(e){const t=(0,n.mathMLElementToLaTeXConverter)(e).convert();return(new n.BracketWrapper).wrap(t)}}},2350:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MTable=void 0;const n=r(4279);t.MTable=class{constructor(e){this._mathmlElement=e,this._addFlagRecursiveIfName(this._mathmlElement.children,"mtable","innerTable")}convert(){const e=this._mathmlElement.children.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert()).join(" \\\\\n");return this._hasFlag("innerTable")?this._wrap(e):e}_wrap(e){return`\\begin{matrix}${e}\\end{matrix}`}_addFlagRecursiveIfName(e,t,r){e.forEach(e=>{e.name===t&&(e.attributes[r]=r),this._addFlagRecursiveIfName(e.children,t,r)})}_hasFlag(e){return!!this._mathmlElement.attributes[e]}}},3951:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MText=void 0;const n=r(7037);t.MText=class{constructor(e){this._mathmlElement=e}convert(){const{attributes:e,value:t}=this._mathmlElement;return[...t].map(e=>/^[a-zA-Z0-9]$/.test(e)||" "===e?{value:e,isAlphanumeric:!0}:{value:e,isAlphanumeric:!1}).reduce((e,t)=>{if(t.isAlphanumeric){const r=e[e.length-1];if(r&&r.isAlphanumeric)return r.value+=t.value,e}return[...e,t]},[]).map(t=>t.isAlphanumeric?new i(e.mathvariant).apply(t.value):new n.MI({name:"mi",attributes:{},children:[],value:t.value}).convert()).join("")}};class i{constructor(e){this._mathvariant=e||"normal"}apply(e){return this._commands.reduce((t,r,n)=>0===n?`${r}{${e}}`:`${r}{${t}}`,"")}get _commands(){switch(this._mathvariant){case"bold":return["\\textbf"];case"italic":return["\\textit"];case"bold-italic":return["\\textit","\\textbf"];case"double-struck":return["\\mathbb"];case"monospace":return["\\mathtt"];case"bold-fraktur":case"fraktur":return["\\mathfrak"];default:return["\\text"]}}}},1586:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MTr=void 0;const n=r(4279);t.MTr=class{constructor(e){this._mathmlElement=e}convert(){return this._mathmlElement.children.map(e=>(0,n.mathMLElementToLaTeXConverter)(e)).map(e=>e.convert()).join(" & ")}}},1222:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MUnderover=void 0;const n=r(4279),i=r(8917);t.MUnderover=class{constructor(e){this._mathmlElement=e}convert(){const{name:e,children:t}=this._mathmlElement,r=t.length;if(3!==r)throw new i.InvalidNumberOfChildrenError(e,3,r);return`${(0,n.mathMLElementToLaTeXConverter)(t[0]).convert()}_{${(0,n.mathMLElementToLaTeXConverter)(t[1]).convert()}}^{${(0,n.mathMLElementToLaTeXConverter)(t[2]).convert()}}`}}},9165:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Void=void 0,t.Void=class{constructor(e){this._mathmlElement=e}convert(){return""}}},5443:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MathMLElementToLatexConverterAdapter=void 0;const a=o(r(6959)),s=r(2697);t.MathMLElementToLatexConverterAdapter=class{constructor(e){this._mathMLElement=null!=e?e:new s.VoidMathMLElement}toLatexConverter(){const{name:e}=this._mathMLElement;return new(l[e]||a.GenericSpacingWrapper)(this._mathMLElement)}};const l={math:a.Math,mi:a.MI,mo:a.MO,mn:a.MN,msqrt:a.MSqrt,mfenced:a.MFenced,mfrac:a.MFrac,mroot:a.MRoot,maction:a.MAction,menclose:a.MEnclose,merror:a.MError,mphantom:a.MPhantom,msup:a.MSup,msub:a.MSub,msubsup:a.MSubsup,mmultiscripts:a.MMultiscripts,mtext:a.MText,munderover:a.MUnderover,mtable:a.MTable,mtr:a.MTr,mover:a.GenericUnderOver,munder:a.GenericUnderOver,mrow:a.MRow,mspace:a.MSpace,mpadded:a.GenericSpacingWrapper,void:a.Void}},5243:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorHandler=void 0,t.ErrorHandler=class{constructor(){this._errors=[],this.errorLocator={}}fixError(e,t){return this._isMissingAttributeValueError(t)?(this._errors.push(t),this._fixMissingAttribute(t,e)):e}isThereAnyErrors(){return this._errors.length>0}cleanErrors(){this._errors=[]}_fixMissingAttribute(e,t){const r=e.split('"')[1];if(r)return t.replace(this._matchMissingValueForAttribute(r),"");for(;this._mathGenericMissingValue().exec(t);)t=t.replace(this._mathGenericMissingValue(),"$1$3");return t}_matchMissingValueForAttribute(e){return new RegExp(`(${e}=(?!("|')))|(${e}(?!("|')))`,"gm")}_mathGenericMissingValue(){return/(\<.* )(\w+=(?!\"|\'))(.*\>)/gm}_isMissingAttributeValueError(e){return!!e.includes("attribute")&&!!e.includes("missed")||e.includes("attribute value missed")}}},9208:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(9548),t),i(r(5243),t),i(r(1101),t)},1101:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ElementsToMathMLAdapter=void 0,t.ElementsToMathMLAdapter=class{convert(e){return e.filter(e=>void 0!==e.tagName).map(e=>this._convertElement(e))}_convertElement(e){return{name:e.tagName,attributes:this._convertElementAttributes(e.attributes),value:this._hasElementChild(e)?"":e.textContent||"",children:this._hasElementChild(e)?this.convert(Array.from(e.childNodes)):[]}}_convertElementAttributes(e){return Array.from(e).reduce((e,t)=>Object.assign({[t.nodeName]:t.nodeValue===t.nodeName?"":t.nodeValue},e),{})}_hasElementChild(e){const t=e.childNodes;return!!t&&0!==t.length&&this._isThereAnyNoTextNode(t)}_isThereAnyNoTextNode(e){return Array.from(e).some(e=>"#text"!==e.nodeName)}}},9548:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.XmlToMathMLAdapter=void 0;const i=n(r(8978));t.XmlToMathMLAdapter=class{constructor(e,t){this._xml="",this._elementsConvertor=e,this._errorHandler=t,this._xmlDOM=new i.default.DOMParser({locator:this._errorHandler.errorLocator,errorHandler:this._fixError.bind(this)})}convert(e){return this._xml=this._removeLineBreaks(e),this._xml=this._removeMsWordPrefixes(this._xml),this._elementsConvertor.convert(this._mathMLElements)}_fixError(e){this._xml=this._errorHandler.fixError(this._xml,e)}_removeLineBreaks(e){return e.replace(/\n|\r\n|\r/g,"")}_removeMsWordPrefixes(e){return e.replace(/mml:/g,"")}get _mathMLElements(){let e=this._xmlDOM.parseFromString(this._xml).getElementsByTagName("math");return this._errorHandler.isThereAnyErrors()&&(this._errorHandler.cleanErrors(),e=this._xmlDOM.parseFromString(this._xml).getElementsByTagName("math")),Array.from(e)}}},7941:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(8585),t)},8585:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.makeToMathElementsConverter=void 0;const n=r(9208);t.makeToMathElementsConverter=()=>{const e=new n.ElementsToMathMLAdapter,t=new n.ErrorHandler;return new n.XmlToMathMLAdapter(e,t)}},8672:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(3798),t)},3798:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MathMLToLaTeX=void 0;const n=r(5443),i=r(7941);t.MathMLToLaTeX=class{static convert(e){return(0,i.makeToMathElementsConverter)().convert(e).map(e=>new n.MathMLElementToLatexConverterAdapter(e).toLatexConverter()).map(e=>e.convert()).join("").trim()}}},2965:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.allMathOperatorsByChar=void 0,t.allMathOperatorsByChar={_:"\\underline","⏡":"\\underbrace","⏠":"\\overbrace","⏟":"\\underbrace","⏞":"\\overbrace","⏝":"\\underbrace","⏜":"\\overbrace","⎵":"\\underbrace","⎴":"\\overbrace","⃜":"\\square","⃛":"\\square","⁤":"","⁗":"''''","‾":"\\bar","‷":"```","‶":"``","‵":"`","‴":"'''","″":"''","‟":"``","„":",,","‛":"`","‚":",","̂":"\\hat","˷":"\\sim","˝":"\\sim","˜":"\\sim","˚":"\\circ","˙":"\\cdot","˘":"","ˍ":"\\_","ˋ":"ˋ","ˊ":"ˊ","ˉ":"ˉ","ˇ":"","ˆ":"\\hat","º":"o","¹":"1","¸":"¸","´":"´","³":"3","²":"2","°":"\\circ","¯":"\\bar","ª":"a","¨":"\\cdot\\cdot","~":"\\sim","`":"`","^":"\\hat","--":"--","++":"++","&":"\\&","⁡":"","∜":"\\sqrt[4]{}","∛":"\\sqrt[3]{}","√":"\\sqrt{}","ⅆ":"d","ⅅ":"\\mathbb{D}","?":"?","@":"@","//":"//","!!":"!!","!":"!","♯":"\\#","♮":"","♭":"","′":"'","<>":"<>","**":"\\star\\star","∇":"\\nabla","∂":"\\partial","⊙":"\\bigodot","¬":"\\neg","∢":"\\measuredangle","∡":"\\measuredangle","∠":"\\angle","÷":"\\div","/":"/","∖":"\\backslash","\\":"\\backslash","%":"\\%","⊗":"\\bigotimes","·":"\\cdot","⨿":"\\coprod","⨯":"\\times","⋅":"\\cdot","⊡":"\\boxdot","⊠":"\\boxtimes","⁢":"","⁃":"-","•":"\\cdot","×":"\\times",".":".","*":"\\star","∪":"\\cup","∩":"\\cap","∐":"\\coprod","∏":"\\prod","≀":"","⫿":"","⫼":"\\mid\\mid\\mid","⨉":"\\times","⨈":"","⨇":"","⨆":"\\sqcup","⨅":"\\sqcap","⨂":"\\otimes","⨀":"\\odot","⋂":"\\cap","⋁":"\\vee","⋀":"\\wedge","⨄":"\\uplus","⨃":"\\cup","⋃":"\\cup","⨜":"\\underline{\\int}","⨛":"\\overline{\\int}","⨚":"\\int","⨙":"\\int","⨘":"\\int","⨗":"\\int","⨖":"\\oint","⨕":"\\oint","⨔":"\\int","⨓":"\\int","⨒":"\\int","⨑":"\\int","⨐":"\\int","⨏":"\\bcancel{\\int}","⨎":"","⨍":"\\hcancel{\\int}","⨌":"\\iiiint","∳":"\\oint","∲":"\\oint","∱":"\\int","∰":"\\oiint","∯":"\\oiint","∮":"\\oint","∫":"\\int","⨁":"\\oplus","⊘":"\\oslash","⊖":"\\ominus","⊕":"\\oplus","∭":"\\iiint","∬":"\\iint","⨋":"","⨊":"","∑":"\\sum","⊟":"\\boxminus","⊞":"\\boxplus","∔":"\\dot{+}","∓":"+-","−":"-","±":"\\pm","-":"-","+":"+","⭆":"\\Rrightarrow","⭅":"\\Lleftarrow","⧴":":\\rightarrow","⧯":"","⧟":"\\bullet-\\bullet","⦟":"\\angle","⦞":"\\measuredangle","⦝":"\\measuredangle","⦜":"\\perp","⦛":"\\measuredangle","⦚":"","⦙":"\\vdots","⥿":"","⥾":"","⥽":"\\prec","⥼":"\\succ","⥻":"\\underset{\\rightarrow}{\\supset}","⥺":"","⥹":"\\underset{\\rightarrow}{\\subset}","⥸":"\\underset{\\rightarrow}{>}","⥷":"","⥶":"\\underset{\\leftarrow}{<}","⥵":"\\underset{\\approx}{\\rightarrow}","⥴":"\\underset{\\sim}{\\rightarrow}","⥳":"\\underset{\\sim}{\\leftarrow}","⥲":"\\overset{\\sim}{\\rightarrow}","⥱":"\\overset{=}{\\rightarrow}","⥰":"","⥯":"","⥮":"","⥭":"\\overline{\\rightharpoondown}","⥬":"\\underline{\\rightharpoonup}","⥫":"\\overline{\\leftharpoondown}","⥪":"\\underline{\\leftharpoonup}","⥩":"\\rightleftharpoons","⥨":"\\rightleftharpoons","⥧":"\\rightleftharpoons","⥦":"\\rightleftharpoons","⥥":"\\Downarrow","⥤":"\\Rightarrow","⥣":"\\Uparrow","⥢":"\\Leftarrow","⥡":"\\downarrow","⥠":"\\uparrow","⥟":"\\rightarrow","⥞":"\\leftarrow","⥝":"\\downarrow","⥜":"\\uparrow","⥛":"\\rightarrow","⥚":"\\leftarrow","⥙":"\\downarrow","⥘":"\\uparrow","⥗":"\\rightarrow","⥖":"\\leftarrow","⥕":"\\downarrow","⥔":"\\uparrow","⥓":"\\rightarrow","⥒":"\\leftarrow","⥑":"\\updownarrow","⥐":"\\leftrightarrow","⥏":"\\updownarrow","⥎":"\\leftrightarrow","⥍":"\\updownarrow","⥌":"\\updownarrow","⥋":"\\leftrightarrow","⥊":"\\leftrightarrow","⥉":"","⥈":"\\leftrightarrow","⥇":"\\nrightarrow","⥆":"","⥅":"","⥄":"\\rightleftarrows","⥃":"\\leftrightarrows","⥂":"\\rightleftarrows","⥁":"\\circlearrowright","⥀":"\\circlearrowleft","⤿":"\\rightarrow","⤾":"\\leftarrow","⤽":"","⤼":"","⤻":"","⤺":"","⤹":"","⤸":"","⤷":"\\Rsh","⤶":"\\Lsh","⤵":"\\downarrow","⤴":"\\uparrow","⤳":"\\leadsto","⤲":"","⤱":"","⤰":"","⤯":"","⤮":"","⤭":"","⤬":"\\times","⤫":"\\times","⤪":"","⤩":"","⤨":"","⤧":"","⤦":"","⤥":"","⤤":"","⤣":"","⤢":"","⤡":"","⤠":"\\mapsto\\cdot","⤟":"\\cdot\\leftarrow","⤞":"\\rightarrow\\cdot","⤝":"\\leftarrow","⤜":"\\rightarrow","⤛":"\\leftarrow","⤚":"\\rightarrow","⤙":"\\leftarrow","⤘":"\\rightarrow","⤗":"\\rightarrow","⤖":"\\rightarrow","⤕":"\\rightarrow","⤔":"\\rightarrow","⤓":"\\downarrow","⤒":"\\uparrow","⤑":"\\rightarrow","⤐":"\\rightarrow","⤏":"\\rightarrow","⤎":"\\leftarrow","⤍":"\\rightarrow","⤌":"\\leftarrow","⤋":"\\Downarrow","⤊":"\\Uparrow","⤉":"\\uparrow","⤈":"\\downarrow","⤇":"\\Rightarrow","⤆":"\\Leftarrow","⤅":"\\mapsto","⤄":"\\nLeftrightarrow","⤃":"\\nRightarrow","⤂":"\\nLeftarrow","⤁":"\\rightsquigarrow","⤀":"\\rightsquigarrow","⟿":"\\rightsquigarrow","⟾":"\\Rightarrow","⟽":"\\Leftarrow","⟼":"\\mapsto","⟻":"\\leftarrow","⟺":"\\Longleftrightarrow","⟹":"\\Longrightarrow","⟸":"\\Longleftarrow","⟷":"\\leftrightarrow","⟶":"\\rightarrow","⟵":"\\leftarrow","⟱":"\\Downarrow","⟰":"\\Uparrow","⊸":"\\rightarrow","⇿":"\\leftrightarrow","⇾":"\\rightarrow","⇽":"\\leftarrow","⇼":"\\nleftrightarrow","⇻":"\\nrightarrow","⇺":"\\nleftarrow","⇹":"\\nleftrightarrow","⇸":"\\nrightarrow","⇷":"\\nleftarrow","⇶":"\\Rrightarrow","⇵":"","⇴":"\\rightarrow","⇳":"\\Updownarrow","⇲":"\\searrow","⇱":"\\nwarrow","⇰":"\\Leftarrow","⇯":"\\Uparrow","⇮":"\\Uparrow","⇭":"\\Uparrow","⇬":"\\Uparrow","⇫":"\\Uparrow","⇪":"\\Uparrow","⇩":"\\Downarrow","⇨":"\\Rightarrow","⇧":"\\Uparrow","⇦":"\\Leftarrow","⇥":"\\rightarrow","⇤":"\\leftarrow","⇣":"\\downarrow","⇢":"\\rightarrow","⇡":"\\uparrow","⇠":"\\leftarrow","⇟":"\\downarrow","⇞":"\\uparrow","⇝":"\\rightsquigarrow","⇜":"\\leftarrow","⇛":"\\Rrightarrow","⇚":"\\Lleftarrow","⇙":"\\swarrow","⇘":"\\searrow","⇗":"\\nearrow","⇖":"\\nwarrow","⇕":"\\Updownarrow","⇔":"\\Leftrightarrow","⇓":"\\Downarrow","⇒":"\\Rightarrow","⇑":"\\Uparrow","⇐":"\\Leftarrow","⇏":"\\nRightarrow","⇎":"\\nLeftrightarrow","⇍":"\\nLeftarrow","⇌":"\\rightleftharpoons","⇋":"\\leftrightharpoons","⇊":"\\downdownarrows","⇉":"\\rightrightarrows","⇈":"\\upuparrows","⇇":"\\leftleftarrows","⇆":"\\leftrightarrows","⇅":"","⇄":"\\rightleftarrows","⇃":"\\downharpoonleft","⇂":"\\downharpoonright","⇁":"\\rightharpoondown","⇀":"\\rightharpoonup","↿":"\\upharpoonleft","↾":"\\upharpoonright","↽":"\\leftharpoondown","↼":"\\leftharpoonup","↻":"\\circlearrowright","↺":"\\circlearrowleft","↹":"\\leftrightarrows","↸":"\\overline{\\nwarrow}","↷":"\\curvearrowright","↶":"\\curvearrowleft","↵":"\\swarrow","↴":"\\searrow","↳":"\\Rsh","↲":"\\Lsh","↱":"\\Rsh","↰":"\\Lsh","↯":"\\swarrow","↮":"","↭":"\\leftrightsquigarrow","↬":"\\looparrowright","↫":"\\looparrowleft","↪":"\\hookrightarrow","↩":"\\hookleftarrow","↨":"\\underline{\\updownarrow}","↧":"\\downarrow","↦":"\\rightarrowtail","↥":"\\uparrow","↤":"\\leftarrowtail","↣":"\\rightarrowtail","↢":"\\leftarrowtail","↡":"\\downarrow","↠":"\\twoheadrightarrow","↟":"\\uparrow","↞":"\\twoheadleftarrow","↝":"\\nearrow","↜":"\\nwarrow","↛":"","↚":"","↙":"\\swarrow","↘":"\\searrow","↗":"\\nearrow","↖":"\\nwarrow","↕":"\\updownarrow","↔":"\\leftrightarrow","↓":"\\downarrow","→":"\\rightarrow","↑":"\\uparrow","←":"\\leftarrow","|||":"\\left|||\\right.","||":"\\left||\\right.","|":"\\left|\\right.","⫾":"","⫽":"//","⫻":"///","⫺":"","⫹":"","⫸":"","⫷":"","⫶":"\\vdots","⫵":"","⫴":"","⫳":"","⫲":"\\nparallel","⫱":"","⫰":"","⫯":"","⫮":"\\bcancel{\\mid}","⫭":"","⫬":"","⫫":"","⫪":"","⫩":"","⫨":"\\underline{\\perp}","⫧":"\\overline{\\top}","⫦":"","⫥":"","⫤":"","⫣":"","⫢":"","⫡":"","⫠":"\\perp","⫟":"\\top","⫞":"\\dashv","⫝̸":"","⫝":"","⫛":"\\pitchfork","⫚":"","⫙":"","⫘":"","⫗":"","⫖":"","⫕":"","⫔":"","⫓":"","⫒":"","⫑":"","⫐":"","⫏":"","⫎":"","⫍":"","⫌":"\\underset{\\neq}{\\supset}","⫋":"\\underset{\\neq}{\\subset}","⫊":"\\underset{\\approx}{\\supset}","⫉":"\\underset{\\approx}{\\subset}","⫈":"\\underset{\\sim}{\\supset}","⫇":"\\underset{\\sim}{\\subset}","⫆":"\\supseteqq","⫅":"\\subseteqq","⫄":"\\dot{\\supseteq}","⫃":"\\dot{\\subseteq}","⫂":"\\underset{\\times}{\\supset}","⫁":"\\underset{\\times}{\\subset}","⫀":"\\underset{+}{\\supset}","⪿":"\\underset{+}{\\subset}","⪾":"","⪽":"","⪼":"\\gg ","⪻":"\\ll","⪺":"\\underset{\\cancel{\\approx}}{\\succ}","⪹":"\\underset{\\cancel{\\approx}}{\\prec}","⪸":"\\underset{\\approx}{\\succ}","⪷":"\\underset{\\approx}{\\prec}","⪶":"\\underset{\\cancel{=}}{\\succ}","⪵":"\\underset{\\cancel{=}}{\\prec}","⪴":"\\underset{=}{\\succ}","⪳":"\\underset{=}{\\prec}","⪲":"","⪱":"","⪮":"","⪭":"\\underline{\\hcancel{>}}","⪬":"\\underline{\\hcancel{>}}","⪫":"\\hcancel{>}","⪪":"\\hcancel{<}","⪩":"","⪨":"","⪧":"\\vartriangleright","⪦":"\\vartriangleleft","⪥":"><","⪤":"><","⪣":"\\underline{\\ll}","⪢̸":"\\cancel{\\gg}","⪢":"\\gg","⪡̸":"\\cancel{\\ll}","⪡":"\\ll","⪠":"\\overset{\\sim}{\\geqq}","⪟":"\\overset{\\sim}{\\leqq}","⪞":"\\overset{\\sim}{>}","⪝":"\\overset{\\sim}{<}","⪜":"","⪛":"","⪚":"\\overset{=}{>}","⪙":"\\overset{=}{<}","⪘":"","⪗":"","⪖":"","⪕":"","⪔":"","⪓":"","⪒":"\\underset{=}{\\gtrless}","⪑":"\\underset{=}{\\lessgtr}","⪐":"\\underset{<}{\\gtrsim}","⪏":"\\underset{>}{\\lesssim}","⪎":"\\underset{\\simeq}{>}","⪍":"\\underset{\\simeq}{<}","⪌":"\\gtreqqless","⪋":"\\lesseqqgtr","⪊":"\\underset{\\cancel{\\approx}}{>}","⪉":"\\underset{\\approx}{<}","⪆":"\\underset{\\approx}{>}","⪅":"\\underset{\\approx}{<}","⪄":"","⪃":"","⪂":"","⪁":"","⪀":"","⩿":"","⩾̸":"\\bcancel{\\geq}","⩾":"\\geq","⩽̸":"\\bcancel{\\leq}","⩽":"\\leq","⩼":"","⩻":"","⩺":"","⩹":"","⩸":"\\overset{\\dots}{\\equiv}","⩷":"","⩶":"===","⩵":"==","⩴":"::=","⩳":"","⩲":"\\underset{=}{+}","⩱":"\\overset{=}{+}","⩰":"\\overset{\\approx}{=}","⩯":"\\overset{\\wedge}{=}","⩮":"\\overset{*}{=}","⩭":"\\dot{\\approx}","⩬":"","⩫":"","⩪":"\\dot{\\sim}","⩩":"","⩨":"","⩧":"\\dot{\\equiv}","⩦":"\\underset{\\cdot}{=}","⩥":"","⩤":"","⩣":"\\underset{=}{\\vee}","⩢":"\\overset{=}{\\vee}","⩡":"ul(vv)","⩠":"\\underset{=}{\\wedge}","⩟":"\\underline{\\wedge}","⩞":"\\overset{=}{\\wedge}","⩝":"\\hcancel{\\vee}","⩜":"\\hcancel{\\wedge}","⩛":"","⩚":"","⩙":"","⩘":"\\vee","⩗":"\\wedge","⩖":"","⩕":"","⩔":"","⩓":"","⩒":"\\dot{\\vee}","⩑":"\\dot{\\wedge}","⩐":"","⩏":"","⩎":"","⩍":"\\overline{\\cap}","⩌":"\\overline{\\cup}","⩋":"","⩊":"","⩉":"","⩈":"","⩇":"","⩆":"","⩅":"","⩄":"","⩃":"\\overline{\\cap}","⩂":"\\overline{\\cup}","⩁":"","⩀":"","⨾":"","⨽":"\\llcorner","⨼":"\\lrcorner","⨻":"","⨺":"","⨹":"","⨸":"","⨷":"","⨶":"\\hat{\\otimes}","⨵":"","⨴":"","⨳":"","⨲":"\\underline{\\times}","⨱":"\\underline{\\times}","⨰":"\\dot{\\times}","⨮":"","⨭":"","⨬":"","⨫":"","⨪":"","⨩":"","⨨":"","⨧":"","⨦":"\\underset{\\sim}{+}","⨥":"\\underset{\\circ}{+}","⨤":"\\overset{\\sim}{+}","⨣":"\\hat{+}","⨢":"\\dot{+}","⨡":"\\upharpoonright","⨠":">>","⨟":"","⨞":"\\triangleleft","⨝":"\\bowtie","⧿":"","⧾":"+","⧻":"\\hcancel{|||}","⧺":"\\hcancel{||}","⧹":"\\backslash","⧸":"/","⧷":"hcancel{\backslash}","⧶":"","⧵":"\\backslash","⧲":"\\Phi","⧱":"","⧰":"","⧮":"","⧭":"","⧬":"","⧫":"\\lozenge","⧪":"","⧩":"","⧨":"","⧧":"\\ddagger","⧢":"\\sqcup\\sqcup","⧡":"","⧠":"\\square","⧞":"","⧝":"","⧜":"","⧛":"\\{\\{","⧙":"\\{","⧘":"\\}","⧗":"","⧖":"","⧕":"\\bowtie","⧔":"\\bowtie","⧓":"\\bowtie","⧒":"\\bowtie","⧑":"\\bowtie","⧐̸":"| \\not\\triangleright","⧐":"| \\triangleright","⧏̸":"\\not\\triangleleft |","⧏":"\\triangleleft |","⧎":"","⧍":"\\triangle","⧌":"","⧋":"\\underline{\\triangle}","⧊":"\\dot{\\triangle}","⧉":"","⧈":"\\boxed{\\circ}","⧇":"\\boxed{\\circ}","⧆":"\\boxed{\\rightarrow}","⧅":"\\bcancel{\\square}","⧄":"\\cancel{\\square}","⧃":"\\odot","⧂":"\\odot","⦿":"\\odot","⦾":"\\odot","⦽":"\\varnothing","⦼":"\\oplus","⦻":"\\otimes","⦺":"","⦹":"\\varnothing","⦸":"\\varnothing","⦷":"\\ominus","⦶":"\\ominus","⦵":"\\ominus","⦴":"\\vec{\\varnothing}","⦳":"\\vec{\\varnothing}","⦲":"\\dot{\\varnothing}","⦱":"\\overline{\\varnothing}","⦰":"\\varnothing","⦯":"","⦮":"","⦭":"","⦬":"","⦫":"","⦪":"","⦩":"","⦨":"","⦧":"","⦦":"","⦥":"","⦤":"","⦣":"","⦢":"","⦡":"\\not\\lor","⦠":"\\bcancel{>}","⦂":":","⦁":"\\circ","❘":"|","▲":"\\bigtriangleup","⋿":"\\Epsilon","⋾":"\\overline{\\ni}","⋽":"\\overline{\\ni}","⋼":"\\in","⋻":"\\in","⋺":"\\in","⋹":"\\underline{\\in}","⋸":"\\underline{\\in}","⋷":"\\overline{\\in}","⋶":"\\overline{\\in}","⋵":"\\dot{\\in}","⋴":"\\in","⋳":"\\in","⋲":"\\in","⋰":"\\ddots","⋩":"\\underset{\\sim}{\\succ}","⋨":"\\underset{\\sim}{\\prec}","⋧":"\\underset{\\not\\sim}{>}","⋦":"\\underset{\\not\\sim}{<}","⋥":"\\not\\sqsupseteq","⋤":"\\not\\sqsubseteq","⋣":"\\not\\sqsupseteq","⋢":"\\not\\sqsubseteq","⋡":"\\nsucc","⋠":"\\nprec","⋟":"\\succ","⋞":"\\prec","⋝":"\\overline{>}","⋜":"\\overline{<}","⋛":"\\underset{>}{\\leq}","⋚":"\\underset{<}{\\geq}","⋕":"\\#","⋓":"\\cup","⋒":"\\cap","⋑":"\\supset","⋐":"\\subset","⋏":"\\wedge","⋎":"\\vee","⋍":"\\simeq","⋈":"\\bowtie","⋇":"\\ast","⋆":"\\star","⋄":"\\diamond","⊿":"\\triangle","⊾":"\\measuredangle","⊽":"\\overline{\\lor}","⊼":"\\overline{\\land}","⊻":"\\underline{\\lor}","⊺":"\\top","⊹":"","⊷":"\\circ\\multimap","⊶":"\\circ\\multimap","⊳":"\\triangleright","⊲":"\\triangleleft","⊱":"\\succ","⊰":"\\prec","⊫":"|\\models","⊪":"|\\models","⊧":"\\models","⊦":"\\vdash","⊝":"\\ominus","⊜":"\\ominus","⊛":"\\odot","⊚":"\\odot","⊔":"\\sqcup","⊓":"\\sqcap","⊒":"\\sqsupseteq","⊑":"\\sqsubseteq","⊐̸":"\\not\\sqsupset","⊐":"\\sqsupset","⊏̸":"\\not\\sqsubset","⊏":"\\sqsubset","⊎":"\\cup","⊍":"\\cup","⊌":"\\cup","≿̸":"\\not\\succsim","≿":"\\succsim","≾":"\\precsim","≹":"\\not\\overset{>}{<}","≸":"\\not\\overset{>}{<}","≷":"\\overset{>}{<}","≶":"\\overset{<}{>}","≵":"\\not\\geg","≴":"\\not\\leq","≳":"\\geg","≲":"\\leq","≬":"","≧":"\\geg","≦̸":"\\not\\leq","≦":"\\leq","≣":"\\overset{=}{=} ","≞":"\\overset{m}{=} ","≝":"\\overset{def}{=}","≘":"=","≖":"=","≕":"=:","≓":"\\doteq","≒":"\\doteq","≑":"\\doteq","≐":"\\doteq","≏̸":"","≏":"","≎̸":"","≎":"","≌":"\\approx","≋":"\\approx","≊":"\\approx","≂̸":"\\neq","≂":"=","∿":"\\sim","∾":"\\infty","∽̱":"\\sim","∽":"\\sim","∻":"\\sim","∺":":-:","∹":"-:","∸":"\\bot","∷":"::","∶":":","∣":"|","∟":"\\llcorner","∙":"\\cdot","∘":"\\circ","∗":"*","∕":"/","∎":"\\square","∍":"\\ni","∊":"\\in","∆":"\\Delta","⁄":"/","⪰̸":"\\nsucceq","⪰":"\\succeq","⪯̸":"\\npreceq","⪯":"\\preceq","⪈":"\\ngeqslant","⪇":"\\nleqslant","⧳":"\\Phi","⧦":"\\models","⧥":"\\not\\equiv","⧤":"\\approx\\neq","⧣":"\\neq","⧁":"\\circle","⧀":"\\circle","◦":"\\circle","◗":"\\circle","◖":"\\circle","●":"\\circle","◎":"\\circledcirc","◍":"\\circledcirc","◌":"\\circledcirc","◉":"\\circledcirc","◈":"\\diamond","◇":"\\diamond","◆":"\\diamond","◅":"\\triangleleft","◄":"\\triangleleft","◃":"\\triangleleft","◂":"\\triangleleft","◁":"\\triangleleft","◀":"\\triangleleft","▿":"\\triangledown","▾":"\\triangledown","▽":"\\triangledown","▼":"\\triangledown","▹":"\\triangleright","▸":"\\triangleright","▷":"\\triangleright","▶":"\\triangleright","▵":"\\triangle","▴":"\\triangle","△":"\\triangle","▱":"\\square","▰":"\\square","▯":"\\square","▮":"\\square","▭":"\\square","▫":"\\square","▪":"\\square","□":"\\square","■":"\\square","⋭":"\\not\\triangleright","⋬":"\\not\\triangleleft","⋫":"\\not\\triangleright","⋪":"\\not\\triangleleft","⋙":"\\ggg","⋘":"\\lll","⋗":"*>","⋖":"<*","⋔":"\\pitchfork","⋌":"","⋋":"","⋊":"\\rtimes","⋉":"\\ltimes","⊵":"\\triangleright","⊴":"","⊥":"\\bot","⊁":"\\nsucc","⊀":"\\preceq","≽":"\\succeq","≼":"\\preceq","≻":"\\succ","≺":"\\prec","≱":"\\geq/","≰":"\\leq/","≭":"\\neq","≫̸":"\\not\\gg","≫":"\\gg","≪̸":"\\not\\ll","≪":"\\ll","≩":"\\ngeqslant","≨":"\\nleqslant","≡":"\\equiv","≟":"\\doteq","≜":"\\triangleq","≛":"\\doteq","≚":"\\triangleq","≙":"\\triangleq","≗":"\\doteq","≔":":=","≍":"\\asymp","≇":"\\ncong","≆":"\\ncong","≅":"\\cong","≄":"\\not\\simeq","≃":"\\simeq","≁":"\\not\\sim","∦":"\\not\\parallel","∥":"\\parallel","∤":"\\not|","∝":"\\propto","==":"==","=":"=",":=":":=","/=":"=","-=":"-=","+=":"+=","*=":"*=","!=":"!=","≠":"\\neq","≢":"\\equiv /","≉":"\\approx /","∼":"sim","≈":"\\approx","≮":"</","<":"<","≯":">/",">=":">=",">":">","≥":"\\geq","≤":"\\leq","<=":"<=","⊋":"\\supsetneq","⊊":"\\subsetneq","⊉":"\\nsupseteq","⊈":"\\nsubseteq","⊇":"\\supseteq","⊆":"\\subseteq","⊅":"\\not\\supset","⊄":"\\not\\subset","⊃⃒":"\\supset |","⊃":"\\supset","⊂⃒":"\\subset |","⊂":"\\subset","∌":"\\not\\in","∉":"\\notin","∈":"\\in","∁":"C","∄":"\\nexists","∃":"\\exists","∀":"\\forall","∧":"\\land","&&":"\\&\\&","∨":"\\lor","⊯":"\\cancel{\\vDash}","⊮":"\\cancel{\\Vdash}","⊭":"\\nvDash","⊬":"\\nvDash","⊩":"\\Vdash","⊨":"\\vDash","⊤":"\\top","⊣":"\\dashv","⊢":"\\vdash","∋":"\\ni","⋱":"\\ddots","⋯":"\\hdots","⋮":"\\vdots","…":"\\hdots","϶":"\\ni",":":":","...":"\\cdots","..":"..","->":"->","∵":"\\because","∴":"\\therefore ","⁣":"",",":",",";":";","⧽":"\\}","⧼":"\\{","⦘":"\\]","⦗":"\\[","⦖":"\\ll","⦕":"\\gg","⦔":"\\gg","⦓":"\\ll","⦒":"\\gg","⦑":"\\ll","⦐":"\\]","⦏":"\\]","⦎":"\\]","⦍":"\\[","⦌":"\\[","⦋":"\\]","⦊":"\\triangleright","⦉":"\\triangleleft","⦈":"|\\)","⦇":"\\(|","⦆":"|\\)","⦅":"\\(\\(","⦄":"|\\}","⦃":"\\{|","⦀":"\\||","⟯":"\\left. \\right]","⟮":"\\left[ \\right.","⟭":"\\left. \\right]]","⟬":"\\left[[ \\right.","⟫":"\\gg","⟪":"\\ll","⟩":"\\rangle","⟨":"\\langle","⟧":"\\left. \\right]]","⟦":"\\left[[ \\right.","❳":"\\left.\\right)","❲":"\\left(\\right.","〉":"\\rangle","〈":"\\langle","⌋":"\\rfloor","⌊":"\\lfloor","⌉":"\\rceil","⌈":"\\lceil","‖":"\\parallel","}":"\\left.\\right}","{":"\\left{\\right.","]":"\\left]\\right.","[":"\\left[\\right.",")":"\\left.\\right)","(":"\\left(\\right.","”":'"',"“":"``","’":"'","‘":"`","%CE%B1":"\\alpha","%CE%B2":"\\beta","%CE%B3":"\\gamma","%CE%93":"\\Gamma","%CE%B4":"\\delta","%CE%94":"\\Delta","%CF%B5":"\\epsilon","%CE%B6":"\\zeta","%CE%B7":"\\eta","%CE%B8":"\\theta","%CE%98":"\\Theta","%CE%B9":"\\iota","%CE%BA":"\\kappa","%CE%BB":"\\lambda","%CE%BC":"\\mu","%CE%BD":"\\nu","%CE%BF":"\\omicron","%CF%80":"\\pi","%CE%A0":"\\Pi","%CF%81":"\\pho","%CF%83":"\\sigma","%CE%A3":"\\Sigma","%CF%84":"\\tau","%CF%85":"\\upsilon","%CE%A5":"\\Upsilon","%CF%95":"\\phi","%CE%A6":"\\Phi","%CF%87":"\\chi","%CF%88":"\\psi","%CE%A8":"\\Psi","%CF%89":"\\omega","%CE%A9":"\\Omega"}},9039:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.allMathOperatorsByGlyph=void 0,t.allMathOperatorsByGlyph={_:"\\underline","⏡":"\\underbrace","⏠":"\\overbrace","⏟":"\\underbrace","⏞":"\\overbrace","⏝":"\\underbrace","⏜":"\\overbrace","⎵":"\\underbrace","⎴":"\\overbrace","⃜":"\\square","⃛":"\\square","":"","⁗":"''''","‾":"\\overline","‷":"```","‶":"``","‵":"`","‴":"'''","″":"''","‟":"``","„":",,","‛":"`","‚":",","^":"\\hat","˷":"\\sim","˝":"\\sim","˜":"\\sim","˚":"\\circ","˙":"\\cdot","˘":" ","ˍ":"\\_","ˋ":"ˋ","ˊ":"ˊ","ˉ":"ˉ","ˇ":"","ˆ":"\\hat","º":"o","¹":"1","¸":",","´":"´","³":"3","²":"2","°":"\\circ","¯":"\\bar","ª":"a","↛":"\\nrightarrow","¨":"\\cdot\\cdot","~":"\\sim","`":"`","--":"--","++":"++","&":"\\&","∜":"\\sqrt[4]{}","∛":"\\sqrt[3]{}","√":"\\sqrt{}","ⅆ":"d","ⅅ":"\\mathbb{D}","?":"?","@":"@","//":"//","!!":"!!","!":"!","♯":"\\#","♮":"","♭":"","′":"'","<>":"<>","**":"\\star\\star","∇":"\\nabla","∂":"\\partial","⊙":"\\bigodot","¬":"\\neg","∢":"\\measuredangle","∡":"\\measuredangle","∠":"\\angle","÷":"\\div","/":"/","∖":"\\backslash","\\":"\\backslash","%":"\\%","⊗":"\\bigotimes","·":"\\cdot","⨿":"\\coprod","⨯":"\\times","⋅":"\\cdot","⊡":"\\boxdot","⊠":"\\boxtimes","":"","⁃":"-","•":"\\cdot",".":".","*":"\\star","∪":"\\cup","∩":"\\cap","∐":"\\coprod","∏":"\\prod","≀":"","⫿":"","⫼":"\\mid\\mid\\mid","⨉":"\\times","⨈":"","⨇":"","⨆":"\\sqcup","⨅":"\\sqcap","⨂":"\\otimes","⨀":"\\odot","⋂":"\\cap","⋁":"\\vee","⋀":"\\wedge","⨄":"\\uplus","⨃":"\\cup","⋃":"\\cup","⨜":"\\underline{\\int}","⨛":"\\overline{\\int}","⨚":"\\int","⨙":"\\int","⨘":"\\int","⨗":"\\int","⨖":"\\oint","⨕":"\\oint","⨔":"\\int","⨓":"\\int","⨒":"\\int","⨑":"\\int","⨐":"\\int","⨏":"\\bcancel{\\int}","⨎":"","⨍":"\\hcancel{\\int}","⨌":"\\iiiint","∳":"\\oint","∲":"\\oint","∱":"\\int","∰":"\\oiint","∯":"\\oiint","∮":"\\oint","∫":"\\int","⨁":"\\oplus","⊘":"\\oslash","⊖":"\\ominus","⊕":"\\oplus","∭":"\\iiint","∬":"\\iint","⨋":"","⨊":"","∑":"\\sum","⊟":"\\boxminus","⊞":"\\boxplus","∔":"\\dot{+}","∓":"+-","−":"-","±":"\\pm","-":"-","+":"+","⭆":"\\Rrightarrow","⭅":"\\Lleftarrow","⧴":":\\rightarrow","⧯":"","⧟":"\\bullet-\\bullet","⦟":"\\angle","⦞":"\\measuredangle","⦝":"\\measuredangle","⦜":"\\perp","⦛":"\\measuredangle","⦚":"","⦙":"\\vdots","⥿":"","⥾":"","⥽":"\\prec","⥼":"\\succ","⥻":"\\underset{\\rightarrow}{\\supset}","⥺":"","⥹":"\\underset{\\rightarrow}{\\subset}","⥸":"\\underset{\\rightarrow}{>}","⥷":"","⥶":"\\underset{\\leftarrow}{<}","⥵":"\\underset{\\approx}{\\rightarrow}","⥴":"\\underset{\\sim}{\\rightarrow}","⥳":"\\underset{\\sim}{\\leftarrow}","⥲":"\\overset{\\sim}{\\rightarrow}","⥱":"\\overset{=}{\\rightarrow}","⥰":"","⥯":"","⥮":"","⥭":"\\overline{\\rightharpoondown}","⥬":"\\underline{\\rightharpoonup}","⥫":"\\overline{\\leftharpoondown}","⥪":"\\underline{\\leftharpoonup}","⥩":"\\rightleftharpoons","⥨":"\\rightleftharpoons","⥧":"\\rightleftharpoons","⥦":"\\rightleftharpoons","⥥":"\\Downarrow","⥤":"\\Rightarrow","⥣":"\\Uparrow","⥢":"\\Leftarrow","⥡":"\\downarrow","⥠":"\\uparrow","⥟":"\\rightarrow","⥞":"\\leftarrow","⥝":"\\downarrow","⥜":"\\uparrow","⥛":"\\rightarrow","⥚":"\\leftarrow","⥙":"\\downarrow","⥘":"\\uparrow","⥗":"\\rightarrow","⥖":"\\leftarrow","⥕":"\\downarrow","⥔":"\\uparrow","⥓":"\\rightarrow","⥒":"\\leftarrow","⥑":"\\updownarrow","⥐":"\\leftrightarrow","⥏":"\\updownarrow","⥎":"\\leftrightarrow","⥍":"\\updownarrow","⥌":"\\updownarrow","⥋":"\\leftrightarrow","⥊":"\\leftrightarrow","⥉":"","⥈":"\\leftrightarrow","⥇":"\\nrightarrow","⥆":"","⥅":"","⥄":"\\rightleftarrows","⥃":"\\leftrightarrows","⥂":"\\rightleftarrows","⥁":"\\circlearrowright","⥀":"\\circlearrowleft","⤿":"\\rightarrow","⤾":"\\leftarrow","⤽":"\\leftarrow","⤼":"\\rightarrow","⤻":"\\rightarrow","⤺":"\\leftarrow","⤹":"\\downarrow","⤸":"\\downarrow","⤷":"\\Rsh","⤶":"\\Lsh","⤵":"\\downarrow","⤴":"\\uparrow","⤳":"\\rightarrow","⤲":"\\leftarrow","⤱":" ","⤰":" ","⤯":" ","⤮":" ","⤭":" ","⤬":"\\times","⤫":"\\times","⤪":" ","⤩":" ","⤨":" ","⤧":" ","⤦":" ","⤥":" ","⤤":" ","⤣":" ","⤢":" ","⤡":" ","⤠":"\\mapsto\\cdot","⤟":"\\cdot\\leftarrow","⤞":"\\rightarrow\\cdot","⤝":"\\leftarrow","⤜":"\\rightarrow","⤛":"\\leftarrow","⤚":"\\rightarrow","⤙":"\\leftarrow","⤘":"\\rightarrow","⤗":"\\rightarrow","⤖":"\\rightarrow","⤕":"\\rightarrow","⤔":"\\rightarrow","⤓":"\\downarrow","⤒":"\\uparrow","⤑":"\\rightarrow","⤐":"\\rightarrow","⤏":"\\rightarrow","⤎":"\\leftarrow","⤍":"\\rightarrow","⤌":"\\leftarrow","⤋":"\\Downarrow","⤊":"\\Uparrow","⤉":"\\uparrow","⤈":"\\downarrow","⤇":"\\Rightarrow","⤆":"\\Leftarrow","⤅":"\\mapsto","⤄":"\\nLeftrightarrow","⤃":"\\nRightarrow","⤂":"\\nLeftarrow","⤁":"\\rightsquigarrow","⤀":"\\rightsquigarrow","⟿":"\\rightsquigarrow","⟾":"\\Rightarrow","⟽":"\\Leftarrow","⟼":"\\mapsto","⟻":"\\leftarrow","⟺":"\\Longleftrightarrow","⟹":"\\Longrightarrow","⟸":"\\Longleftarrow","⟷":"\\leftrightarrow","⟶":"\\rightarrow","⟵":"\\leftarrow","⟱":"\\Downarrow","⟰":"\\Uparrow","⊸":"\\rightarrow","⇿":"\\leftrightarrow","⇾":"\\rightarrow","⇽":"\\leftarrow","⇼":"\\nleftrightarrow","⇻":"\\nrightarrow","⇺":"\\nleftarrow","⇹":"\\nleftrightarrow","⇸":"\\nrightarrow","⇷":"\\nleftarrow","⇶":"\\Rrightarrow","⇵":"","⇴":"\\rightarrow","⇳":"\\Updownarrow","⇲":"\\searrow","⇱":"\\nwarrow","⇰":"\\Leftarrow","⇯":"\\Uparrow","⇮":"\\Uparrow","⇭":"\\Uparrow","⇬":"\\Uparrow","⇫":"\\Uparrow","⇪":"\\Uparrow","⇩":"\\Downarrow","⇨":"\\Rightarrow","⇧":"\\Uparrow","⇦":"\\Leftarrow","⇥":"\\rightarrow","⇤":"\\leftarrow","⇣":"\\downarrow","⇢":"\\rightarrow","⇡":"\\uparrow","⇠":"\\leftarrow","⇟":"\\downarrow","⇞":"\\uparrow","⇝":"\\rightsquigarrow","⇜":"\\leftarrow","⇛":"\\Rrightarrow","⇚":"\\Lleftarrow","⇙":"\\swarrow","⇘":"\\searrow","⇗":"\\nearrow","⇖":"\\nwarrow","⇕":"\\Updownarrow","⇔":"\\Leftrightarrow","⇓":"\\Downarrow","⇒":"\\Rightarrow","⇑":"\\Uparrow","⇐":"\\Leftarrow","⇏":"\\nRightarrow","⇎":"\\nLeftrightarrow","⇍":"\\nLeftarrow","⇌":"\\rightleftharpoons","⇋":"\\leftrightharpoons","⇊":"\\downdownarrows","⇉":"\\rightrightarrows","⇈":"\\upuparrows","⇇":"\\leftleftarrows","⇆":"\\leftrightarrows","⇅":"","⇄":"\\rightleftarrows","⇃":"\\downharpoonleft","⇂":"\\downharpoonright","⇁":"\\rightharpoondown","⇀":"\\rightharpoonup","↿":"\\upharpoonleft","↾":"\\upharpoonright","↽":"\\leftharpoondown","↼":"\\leftharpoonup","↻":"\\circlearrowright","↺":"\\circlearrowleft","↹":"\\leftrightarrows","↸":"\\overline{\\nwarrow}","↷":"\\curvearrowright","↶":"\\curvearrowleft","↵":"\\swarrow","↴":"\\searrow","↳":"\\Rsh","↲":"\\Lsh","↱":"\\Rsh","↰":"\\Lsh","↯":"\\swarrow","↮":"","↭":"\\leftrightsquigarrow","↬":"\\looparrowright","↫":"\\looparrowleft","↪":"\\hookrightarrow","↩":"\\hookleftarrow","↨":"\\underline{\\updownarrow}","↧":"\\downarrow","↦":"\\rightarrowtail","↥":"\\uparrow","↤":"\\leftarrowtail","↣":"\\rightarrowtail","↢":"\\leftarrowtail","↡":"\\downarrow","↠":"\\twoheadrightarrow","↟":"\\uparrow","↞":"\\twoheadleftarrow","↝":"\\nearrow","↜":"\\nwarrow","↚":"","↙":"\\swarrow","↘":"\\searrow","↗":"\\nearrow","↖":"\\nwarrow","↕":"\\updownarrow","↔":"\\leftrightarrow","↓":"\\downarrow","→":"\\rightarrow","↑":"\\uparrow","←":"\\leftarrow","|||":"\\left|||\\right.","||":"\\left||\\right.","|":"\\mid","⫾":"","⫽":"//","⫻":"///","⫺":"","⫹":"","⫸":"","⫷":"","⫶":"\\vdots","⫵":"","⫴":"","⫳":"","⫲":"\\nparallel","⫱":"","⫰":"","⫯":"","⫮":"\\bcancel{\\mid}","⫭":"","⫬":"","⫫":"","⫪":"","⫩":"","⫨":"\\underline{\\perp}","⫧":"\\overline{\\top}","⫦":"","⫥":"","⫤":"","⫣":"","⫢":"","⫡":"","⫠":"\\perp","⫟":"\\top","⫞":"\\dashv","⫝̸":"","⫝":"","⫛":"\\pitchfork","⫚":"","⫙":"","⫘":"","⫗":"","⫖":"","⫕":"","⫔":"","⫓":"","⫒":"","⫑":"","⫐":"","⫏":"","⫎":"","⫍":"","⫌":"\\underset{\\neq}{\\supset}","⫋":"\\underset{\\neq}{\\subset}","⫊":"\\underset{\\approx}{\\supset}","⫉":"\\underset{\\approx}{\\subset}","⫈":"\\underset{\\sim}{\\supset}","⫇":"\\underset{\\sim}{\\subset}","⫆":"\\supseteqq","⫅":"\\subseteqq","⫄":"\\dot{\\supseteq}","⫃":"\\dot{\\subseteq}","⫂":"\\underset{\\times}{\\supset}","⫁":"\\underset{\\times}{\\subset}","⫀":"\\underset{+}{\\supset}","⪿":"\\underset{+}{\\subset}","⪾":"","⪽":"","⪼":"\\gg ","⪻":"\\ll","⪺":"\\underset{\\cancel{\\approx}}{\\succ}","⪹":"\\underset{\\cancel{\\approx}}{\\prec}","⪸":"\\underset{\\approx}{\\succ}","⪷":"\\underset{\\approx}{\\prec}","⪶":"\\underset{\\cancel{=}}{\\succ}","⪵":"\\underset{\\cancel{=}}{\\prec}","⪴":"\\underset{=}{\\succ}","⪳":"\\underset{=}{\\prec}","⪲":"","⪱":"","⪮":"","⪭":"\\underline{\\hcancel{>}}","⪬":"\\underline{\\hcancel{>}}","⪫":"\\hcancel{>}","⪪":"\\hcancel{<}","⪩":"","⪨":"","⪧":"\\vartriangleright","⪦":"\\vartriangleleft","⪥":"><","⪤":"><","⪣":"\\underline{\\ll}","⪢̸":"\\cancel{\\gg}","⪢":"\\gg","⪡̸":"\\cancel{\\ll}","⪡":"\\ll","⪠":"\\overset{\\sim}{\\geqq}","⪟":"\\overset{\\sim}{\\leqq}","⪞":"\\overset{\\sim}{>}","⪝":"\\overset{\\sim}{<}","⪜":"","⪛":"","⪚":"\\overset{=}{>}","⪙":"\\overset{=}{<}","⪘":"","⪗":"","⪖":"","⪕":"","⪔":"","⪓":"","⪒":"\\underset{=}{\\gtrless}","⪑":"\\underset{=}{\\lessgtr}","⪐":"\\underset{<}{\\gtrsim}","⪏":"\\underset{>}{\\lesssim}","⪎":"\\underset{\\simeq}{>}","⪍":"\\underset{\\simeq}{<}","⪌":"\\gtreqqless","⪋":"\\lesseqqgtr","⪊":"\\underset{\\cancel{\\approx}}{>}","⪉":"\\underset{\\approx}{<}","⪆":"\\underset{\\approx}{>}","⪅":"\\underset{\\approx}{<}","⪄":"","⪃":"","⪂":"","⪁":"","⪀":"","⩿":"","⩾̸":"\\bcancel{\\geq}","⩾":"\\geq","⩽̸":"\\bcancel{\\leq}","⩽":"\\leq","⩼":"","⩻":"","⩺":"","⩹":"","⩸":"\\overset{\\dots}{\\equiv}","⩷":"","⩶":"===","⩵":"==","⩴":"::=","⩳":"","⩲":"\\underset{=}{+}","⩱":"\\overset{=}{+}","⩰":"\\overset{\\approx}{=}","⩯":"\\overset{\\wedge}{=}","⩮":"\\overset{*}{=}","⩭":"\\dot{\\approx}","⩬":"","⩫":"","⩪":"\\dot{\\sim}","⩩":"","⩨":"","⩧":"\\dot{\\equiv}","⩦":"\\underset{\\cdot}{=}","⩥":"","⩤":"","⩣":"\\underset{=}{\\vee}","⩢":"\\overset{=}{\\vee}","⩡":"ul(vv)","⩠":"\\underset{=}{\\wedge}","⩟":"\\underline{\\wedge}","⩞":"\\overset{=}{\\wedge}","⩝":"\\hcancel{\\vee}","⩜":"\\hcancel{\\wedge}","⩛":"","⩚":"","⩙":"","⩘":"\\vee","⩗":"\\wedge","⩖":"","⩕":"","⩔":"","⩓":"","⩒":"\\dot{\\vee}","⩑":"\\dot{\\wedge}","⩐":"","⩏":"","⩎":"","⩍":"\\overline{\\cap}","⩌":"\\overline{\\cup}","⩋":"","⩊":"","⩉":"","⩈":"","⩇":"","⩆":"","⩅":"","⩄":"","⩃":"\\overline{\\cap}","⩂":"\\overline{\\cup}","⩁":"","⩀":"","⨾":"","⨽":"\\llcorner","⨼":"\\lrcorner","⨻":"","⨺":"","⨹":"","⨸":"","⨷":"","⨶":"\\hat{\\otimes}","⨵":"","⨴":"","⨳":"","⨲":"\\underline{\\times}","⨱":"\\underline{\\times}","⨰":"\\dot{\\times}","⨮":"\\bigodot","⨭":"\\bigodot","⨬":"","⨫":"","⨪":"","⨩":"","⨨":"","⨧":"","◻":"\\Box","⨦":"\\underset{\\sim}{+}","⨥":"\\underset{\\circ}{+}","⨤":"\\overset{\\sim}{+}","⨣":"\\hat{+}","⨢":"\\dot{+}","⨡":"\\upharpoonright","⨠":">>","⨟":"","⨞":"\\triangleleft","⨝":"\\bowtie","⧿":"","⧾":"+","⧻":"\\hcancel{|||}","⧺":"\\hcancel{||}","⧹":"\\backslash","⧸":"/","⧷":"hcancel{\backslash}","⧶":"","⧵":"\\backslash","⧲":"\\Phi","⧱":"","⧰":"","⧮":"","⧭":"","⧬":"","⧫":"\\lozenge","⧪":"","⧩":"","⧨":"","⧧":"\\ddagger","⧢":"\\sqcup\\sqcup","⧡":"","⧠":"\\square","⧞":"","⧝":"","⧜":"","⧛":"\\{\\{","⧙":"\\{","⧘":"\\}","⧗":"","⧖":"","⧕":"\\bowtie","⧔":"\\bowtie","⧓":"\\bowtie","⧒":"\\bowtie","⧑":"\\bowtie","⧐̸":"| \\not\\triangleright","⧐":"| \\triangleright","⧏̸":"\\not\\triangleleft |","⧏":"\\triangleleft |","⧎":"","⧍":"\\triangle","⧌":"","⧋":"\\underline{\\triangle}","⧊":"\\dot{\\triangle}","⧉":"","⧈":"\\boxed{\\circ}","⧇":"\\boxed{\\circ}","⧆":"\\boxed{\\rightarrow}","⧅":"\\bcancel{\\square}","⧄":"\\cancel{\\square}","⧃":"\\odot","⧂":"\\odot","⦿":"\\odot","⦾":"\\odot","⦽":"\\varnothing","⦼":"\\oplus","⦻":"\\otimes","⦺":"","⦹":"\\varnothing","⦸":"\\varnothing","⦷":"\\ominus","⦶":"\\ominus","⦵":"\\ominus","⦴":"\\vec{\\varnothing}","⦳":"\\vec{\\varnothing}","⦲":"\\dot{\\varnothing}","⦱":"\\overline{\\varnothing}","⦰":"\\varnothing","⦯":"\\measuredangle","⦮":"\\measuredangle","⦭":"\\measuredangle","⦬":"\\measuredangle","⦫":"\\measuredangle","⦪":"\\measuredangle","⦩":"\\measuredangle","⦨":"\\measuredangle","⦧":"","⦦":"","⦥":"","⦤":"","⦣":"\\ulcorner","⦢":"\\measuredangle","⦡":"\\not\\lor","⦠":"\\bcancel{>}","⦂":":","⦁":"\\cdot","❘":"\\mid","▲":"\\bigtriangleup","⋿":"\\Epsilon","⋾":"\\overline{\\ni}","⋽":"\\overline{\\ni}","⋼":"\\in","⋻":"\\in","⋺":"\\in","⋹":"\\underline{\\in}","⋸":"\\underline{\\in}","⋷":"\\overline{\\in}","⋶":"\\overline{\\in}","⋵":"\\dot{\\in}","⋴":"\\in","⋳":"\\in","⋲":"\\in","⋰":"\\ddots","։":":","⋩":"\\underset{\\sim}{\\succ}","⋨":"\\underset{\\sim}{\\prec}","⋧":"\\underset{\\not\\sim}{>}","⋦":"\\underset{\\not\\sim}{<}","⋥":"\\not\\sqsupseteq","⋤":"\\not\\sqsubseteq","⋣":"\\not\\sqsupseteq","⋢":"\\not\\sqsubseteq","⋡":"\\nsucc","⋠":"\\nprec","⋟":"\\succ","⋞":"\\prec","⋝":"\\overline{>}","⋜":"\\overline{<}","⋛":"\\underset{>}{\\leq}","⋚":"\\underset{<}{\\geq}","⋕":"\\#","⋓":"\\cup","⋒":"\\cap","⋑":"\\supset","⋐":"\\subset","⋏":"\\wedge","⋎":"\\vee","⋍":"\\simeq","⋈":"\\Join","⋇":"\\ast","⋆":"\\star","⋄":"\\diamond","⊿":"\\triangle","⊾":"\\measuredangle","⊽":"\\overline{\\lor}","⊼":"\\overline{\\land}","⊻":"\\underline{\\lor}","⊺":"\\top","土":"\\pm","十":"+","⊹":"","⊷":"\\circ\\multimap","⊶":"\\circ\\multimap","⊳":"\\triangleright","⊲":"\\triangleleft","⊱":"\\succ","⊰":"\\prec","⊫":"|\\models","⊪":"|\\models","⊧":"\\models","⊦":"\\vdash","⊝":"\\ominus","⊜":"\\ominus","⊛":"\\odot","⊚":"\\odot","⊔":"\\sqcup","⊓":"\\sqcap","⊒":"\\sqsupseteq","⊑":"\\sqsubseteq","⊐̸":"\\not\\sqsupset","⊐":"\\sqsupset","⊏̸":"\\not\\sqsubset","⊏":"\\sqsubset","⊎":"\\cup","⊍":"\\cup","⊌":"\\cup","≿̸":"\\not\\succsim","≿":"\\succsim","≾":"\\precsim","≹":"\\not\\overset{>}{<}","≸":"\\not\\overset{>}{<}","≷":"\\overset{>}{<}","≶":"\\overset{<}{>}","≵":"\\not\\geg","≴":"\\not\\leq","≳":"\\geg","≲":"\\leq","≬":"","≧":"\\geg","≦̸":"\\not\\leq","≦":"\\leq","≣":"\\overset{=}{=} ","≞":"\\overset{m}{=} ","≝":"\\overset{def}{=}","≘":"=","≖":"=","≕":"=:","≓":"\\doteq","≒":"\\doteq","≑":"\\doteq","≐":"\\doteq","≏̸":"","≏":"","≎̸":"","≎":"","≌":"\\approx","≋":"\\approx","≊":"\\approx","≂̸":"\\neq","≂":"=","∿":"\\sim","∾":"\\infty","∽̱":"\\sim","∽":"\\sim","∻":"\\sim","∺":":-:","∹":"-:","∸":"\\bot","∷":"::","∶":":","∣":"\\mid","∟":"\\llcorner","∘":"\\circ","∗":"*","∕":"/","∎":"\\square","∍":"\\ni","∊":"\\in","∆":"\\Delta","⁄":"/","⪰̸":"\\nsucceq","⪰":"\\succeq","⪯̸":"\\npreceq","⪯":"\\preceq","⪈":"\\ngeqslant","⪇":"\\nleqslant","⧳":"\\Phi","⧦":"\\models","⧥":"\\not\\equiv","⧤":"\\approx\\neq","⧣":"\\neq","⧁":"\\circle","⧀":"\\circle","◦":"\\circle","◗":"\\circle","◖":"\\circle","●":"\\circle","◎":"\\circledcirc","◍":"\\circledcirc","◌":"\\circledcirc","◉":"\\circledcirc","◈":"\\diamond","◇":"\\diamond","◆":"\\diamond","◅":"\\triangleleft","◄":"\\triangleleft","◃":"\\triangleleft","◂":"\\triangleleft","◁":"\\triangleleft","◀":"\\triangleleft","▿":"\\triangledown","▾":"\\triangledown","▽":"\\triangledown","▼":"\\triangledown","▹":"\\triangleright","▸":"\\triangleright","▷":"\\triangleright","▶":"\\triangleright","▵":"\\triangle","▴":"\\triangle","△":"\\triangle","▱":"\\square","▰":"\\blacksquare","▯":"\\square","▮":"\\blacksquare","▭":"\\square","▫":"\\square","▪":"\\square","□":"\\square","■":"\\blacksquare","⋭":"\\not\\triangleright","⋬":"\\not\\triangleleft","⋫":"\\not\\triangleright","⋪":"\\not\\triangleleft","⋙":"\\ggg","⋘":"\\lll","⋗":"*>","⋖":"<*","⋔":"\\pitchfork","⋌":"","⋋":"\\bowtie","⋊":"\\ltimes","⋉":"\\rtimes","⊵":"\\triangleright","\\triangleleft":"","⊥":"\\bot","⊁":"\\nsucc","⊀":"\\preceq","≽":"\\succeq","≼":"\\preceq","≻":"\\succ","≺":"\\prec","≱":"\\geq/","≰":"\\leq/","≭":"\\neq","≫̸":"\\not\\gg","≫":"\\gg","≪̸":"\\not\\ll","≪":"\\ll","≩":"\\ngeqslant","≨":"\\nleqslant","≡":"\\equiv","≟":"\\doteq","≜":"\\triangleq","≛":"\\doteq","≚":"\\triangleq","≙":"\\triangleq","≗":"\\doteq","≔":":=","≍":"\\asymp","≇":"\\ncong","≆":"\\ncong","≅":"\\cong","≄":"\\not\\simeq","≃":"\\simeq","≁":"\\not\\sim","∦":"\\not\\parallel","∥":"\\parallel","∤":"\\not|","∝":"\\propto","==":"==","=":"=",":=":":=","/=":"=","-=":"-=","+=":"+=","*=":"*=","!=":"!=","≠":"\\neq","≢":"\\equiv /","≉":"\\approx /","∼":"sim","≈":"\\approx","≮":"</","<":"<","≯":">/",">=":">=",">":">","≥":"\\geq","≤":"\\leq","<=":"<=","⊋":"\\supsetneq","⊊":"\\subsetneq","⊉":"\\nsupseteq","⊈":"\\nsubseteq","⊇":"\\supseteq","⊆":"\\subseteq","⊅":"\\not\\supset","⊄":"\\not\\subset","⊃⃒":"\\supset |","⊃":"\\supset","⊂⃒":"\\subset |","⊂":"\\subset","∌":"\\not\\in","∉":"\\notin","∈":"\\in","∁":"C","∄":"\\nexists","∃":"\\exists","∀":"\\forall","∧":"\\land","&&":"\\&\\&","∨":"\\lor","⊯":"\\cancel{\\vDash}","⊮":"\\cancel{\\Vdash}","⊭":"\\nvDash","⊬":"\\nvDash","⊩":"\\Vdash","⊨":"\\vDash","⊤":"\\top","⊣":"\\dashv","⊢":"\\vdash","∋":"\\ni","⋱":"\\ddots","⋯":"\\hdots","⋮":"\\vdots","϶":"\\ni",":":":","...":"\\cdots","..":"..","->":"->","∵":"\\because","∴":"\\therefore ","":"\\llbracket",",":",",";":";","⧽":"\\}","⧼":"\\{","⦘":"\\]","⦗":"\\[","⦖":"\\ll","⦕":"\\gg","⦔":"\\gg","⦓":"\\ll","⦒":"\\gg","⦑":"\\ll","⦐":"\\]","⦏":"\\]","⦎":"\\]","⦍":"\\[","⦌":"\\[","⦋":"\\]","⦊":"\\triangleright","⦉":"\\triangleleft","⦈":"|\\)","⦇":"\\(|","⦆":"|\\)","⦅":"\\(\\(","⦄":"|\\}","⦃":"\\{|","⦀":"\\||","⟯":"\\left. \\right]","⟮":"\\left[ \\right.","⟭":"\\left. \\right]]","⟬":"\\left[[ \\right.","⟫":"\\gg","⟪":"\\ll","⟧":"\\)|","⟦":"\\(|","❳":"\\left.\\right)","❲":"\\left(\\right.","〉":"\\rangle","〈":"\\langle","⌋":"\\rfloor","⌊":"\\lfloor","⌉":"\\rceil","⌈":"\\lceil","‖":"\\parallel","}":"\\left.\\right}","{":"\\left{\\right.","]":"\\left]\\right.","[":"\\left[\\right.",")":"\\left.\\right)","(":"\\left(\\right.","”":'\\"',"“":"\\text{``}","’":"'","‘":"`","α":"\\alpha","β":"\\beta","γ":"\\gamma","Γ":"\\Gamma","δ":"\\delta","Δ":"\\Delta","ϵ":"\\epsilon","ζ":"\\zeta","η":"\\eta","θ":"\\theta","Θ":"\\Theta","ι":"\\iota","κ":"\\kappa","λ":"\\lambda","ν":"\\nu","ο":"\\omicron","π":"\\pi","Π":"\\Pi","ρ":"\\rho","σ":"\\sigma","Σ":"\\Sigma","τ":"\\tau","υ":"\\upsilon","Υ":"\\Upsilon","ϕ":"\\phi","Φ":"\\Phi","χ":"\\chi","ψ":"\\psi","Ψ":"\\Psi","ω":"\\omega","Ω":"\\Omega","Ω":"\\Omega","∅":"\\emptyset","⟲":"\\circlearrowleft","⟳":"\\circlearrowright","×":"\\times","½":"\\dfrac{1}{2}","μ":"\\mu","Ө":"\\theta","✓":"\\checkmark","⟩":"\\rangle","⟨":"\\langle","¼":"\\dfrac{1}{4}","…":"\\ldots","ℏ":"\\hbar","ℜ":"\\mathfrak{R}","Ѳ":"\\theta","Ø":"\\emptyset","ϱ":"\\varrho","ф":"\\phi","ℇ":"\\varepsilon",T:"T","∙":"\\cdot","Ρ":"P","∞":"\\infty","ᐁ":"\\nabla","ƞ":"\\eta","⁺":"^{+}","⁻":"^{-}","⁼":"^{=}","⁽":"^{(}","⁾":"^{)}","〗":"\\)|","〖":"\\langle",";":";","൦":"\\circ","┴":"\\perp","✕":"\\times","⎻":"-","»":"\\gg","⬆":"\\uparrow","⬇":"\\downarrow","⬅":"\\leftarrow","➡":"\\rightarrow","⎼":"-","⎜":"\\mid","⎥":"\\mid","ħ":"\\hbar","⮕":"\\rightarrow","・":"\\cdot","¦":"\\mid","£":"\\pounds","¥":"\\yen","✗":"\\times","✔":"\\checkmark","ⁿ":"^{n}","«":"\\ll","เ":"\\prime","†":"\\dagger","│":"\\mid",$:"\\$","#":"\\#","℃":"\\text{\\textdegree C}","℉":"\\text{\\textdegree F}","█":"\\blacksquare","℧":"\\mho","ⅇ":"\\text{e}","ɼ":"r","‡":"\\ddagger","ἱ":"i","ϒ":"\\Upsilon","𝛿":"\\delta","˳":"\\cdot","ѳ":"\\theta","𝜙":"\\phi","П":"\\prod","о":"o","ђ":"\\hbar","Ʌ":"\\Lambda","।":"\\mid","€":"\\euro","ῡ":"\\bar{u}","φ":"\\varphi","ȼ":"c","𝞮":"\\epsilon","Χ":"\\mathsf{X}","ₙ":"_{n}"}},8249:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.allMathSymbolsByChar=void 0,t.allMathSymbolsByChar={" ":"\\textrm{ }","∃":"\\exists","∀":"\\forall","⇔":"\\iff","⇒":"=>","¬":"\\neg","ℤ":"\\mathbb{Z}","ℝ":"\\mathbb{R}","ℚ":"\\mathbb{Q}","ℕ":"\\mathbb{N}","ℂ":"CC","□":"\\square","⋄":"\\diamond","△":"\\triangle","⌢":"\\frown","∠":"\\angle","⋱":"\\ddots","⋮":"\\vdots","∵":"\\because","∴":"\\therefore","ℵ":"\\aleph","∅":"\\oslash","±":"\\pm","∇":"\\nabla","∂":"\\partial","∮":"\\oint","∫":"\\int","⋃":"\\cup","∪":"\\cup","⋂":"\\cap","∩":"\\cap","⋁":"\\vee","∨":"\\vee","⋀":"\\wedge","∧":"\\wedge","∏":"\\prod","∑":"\\sum","⊙":"\\bigodot","⊗":"\\bigoplus","⊕":"o+","∘":"@","⋈":"\\bowtie","⋊":"\\rtimes","⋉":"\\ltimes","÷":"\\div","×":"\\times","\\":"\\backslash","⋆":"\\star","∗":"\\star","⋅":"\\cdot","Ω":"\\Omega","ω":"\\omega","Ψ":"\\Psi","ψ":"\\psi","χ":"\\chi","φ":"\\varphi","Φ":"\\Phi","ϕ":"\\phi","υ":"\\upsilon","τ":"\\tau","Σ":"\\Sigma","σ":"\\sigma","ρ":"\\rho","Π":"\\Pi","π":"\\pi","Ξ":"\\Xi","ξ":"\\xi","ν":"\\nu","μ":"\\mu","Λ":"\\Lambda","λ":"\\lambda","κ":"\\kappa","ι":"\\iota","ϑ":"\\vartheta","Θ":"\\Theta","θ":"\\theta","η":"\\eta","ζ":"\\zeta","ɛ":"\\varepsilon","ε":"\\epsilon","Δ":"\\Delta","δ":"\\delta","Γ":"\\Gamma","γ":"\\gamma","β":"\\beta","α":"\\alpha","∞":"\\infty","":"\\text{\\textdir TRT}","":"\\text{\\textdir LTR}"}},8171:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.allMathSymbolsByGlyph=void 0,t.allMathSymbolsByGlyph={" ":"\\textrm{ }","∃":"\\exists","∀":"\\forall","⇔":"\\iff","⇒":"\\Rightarrow","¬":"\\neg","□":"\\square","⋄":"\\diamond","△":"\\triangle","⌢":"\\frown","∠":"\\angle","⋱":"\\ddots","⋮":"\\vdots","∵":"\\because","∴":"\\therefore","ℵ":"\\aleph","∅":"\\emptyset","±":"\\pm","∇":"\\nabla","∂":"\\partial","∮":"\\oint","∫":"\\int","⋃":"\\cup","∪":"\\cup","⋂":"\\cap","∩":"\\cap","⋁":"\\vee","∨":"\\vee","⋀":"\\wedge","∧":"\\wedge","∏":"\\prod","∑":"\\sum","⊙":"\\bigodot","⊗":"\\bigoplus","⊕":"o+","∘":"@","⋈":"\\bowtie","⋊":"\\rtimes","⋉":"\\ltimes","÷":"\\div","×":"\\times","\\":"\\backslash","⋆":"\\star","∗":"\\star","⋅":"\\cdot","Ω":"\\Omega","ω":"\\omega","Ψ":"\\Psi","ψ":"\\psi","χ":"\\chi","φ":"\\varphi","Φ":"\\Phi","ϕ":"\\phi","υ":"\\upsilon","τ":"\\tau","Σ":"\\Sigma","σ":"\\sigma","ρ":"\\rho","Π":"\\Pi","π":"\\pi","Ξ":"\\Xi","ξ":"\\xi","ν":"\\nu","μ":"\\mu","Λ":"\\Lambda","λ":"\\lambda","κ":"\\kappa","ι":"\\iota","ϑ":"\\vartheta","Θ":"\\Theta","θ":"\\theta","η":"\\eta","ζ":"\\zeta","ɛ":"\\varepsilon","ε":"\\epsilon","Δ":"\\Delta","δ":"\\delta","Γ":"\\Gamma","γ":"\\gamma","β":"\\beta","α":"\\alpha","∞":"\\infty","ϵ":"\\epsilon","µ":"\\mu","²":"^{2}","ı":"\\imath","∎":"\\blacksquare","ม":"\\mathbf{m}","Ω":"\\Omega","⟲":"\\circlearrowleft","⟳":"\\circlearrowright","त":" ","¥":"\\yen","⁽":"^{(}","⁾":"^{)}","ß":"\\ss","Ћ":"\\hbar","⦵":"\\ominus","⊿":"\\bigtriangleup","↛'":"\\nrightarrow","†":"\\dagger","เ":"\\prime","白":" ","⿱":" ","ℸ":"\\wp","퓰":" ","ⁿ":"^{n}","✔":"\\checkmark","✗":"\\times","½":"\\dfrac{1}{2}","Ө":"\\theta","✓":"\\checkmark","⟩":"\\rangle","⟨":"\\langle","〈":"\\langle","¼":"\\dfrac{1}{4}","…":"\\ldots","ℏ":"\\hbar","ℜ":"\\mathfrak{R}","Ѳ":"\\theta","Ø":"\\emptyset","ϱ":"\\varrho","ф":"\\phi",T:"T","∙":"\\cdot","Ρ":"P","ᐁ":"\\nabla","ƞ":"\\eta","ɣ":"\\gamma","ћ":"\\hbar","Ɛ":"\\varepsilon","ⅅ":"\\_{D}","𝜆":"\\lambda","〗":"\\rangle","〖":"\\langle",";":";","𝑥":"x","𝑦":"y","𝑧":"z","𝑖":"i","𝑗":"j","𝑘":"k","𝑚":"m","𝑒":"e","𝑟":"r","ɳ":"\\eta","𝛽":"\\beta","⍵":"\\omega","℘":"\\wp","𝜋":"\\pi","Є":"\\epsilon","є":"\\epsilon","𝜀":"\\epsilon","п":"\\pi","Ν":"\\nu","ɵ":"\\theta","𝜓":"\\psi","ϴ":"\\theta","ɸ":"\\phi","Ӷ":"\\Gamma","ɭ":"\\ell","ʋ":"\\upsilon","𝛟":"\\varphi","⍬":"\\theta","Ф":"\\Phi","𝜑":"\\varphi","ⅈ":"i","ο":"o","ơ":"o","ƒ":"f","⍴":"\\rho","🇽":"x","𝑝":"p","𝑞":"q","𝑠":"s","𝑡":"t","𝑢":"u","𝑣":"v","𝑤":"w","𝑎":"a","𝑏":"b","𝑐":"c","𝑑":"d","𝑓":"f","𝑔":"g","𝑙":"l","𝑛":"n","𝑜":"o","𝔀":"w","𝚟":"v","ṁ":"m","൦":"\\circ","┴":"\\perp","✕":"\\times","∣":"\\mid","Փ":"\\Phi","⎜":"\\mid","ħ":"\\hbar","ፈ":" ","⦨":"\\llbracket","ế":"\\hat{e}","¢":"\\cent","⤹":"\\downarrow","⤸":"\\downarrow","⤷":"\\Rsh","⤶":"\\Lsh","⤵":"\\downarrow","⤴":"\\uparrow","⤳":"\\rightarrow","|":"\\mid","⎥":"\\mid","♥":"\\heartsuit","О":"0","Υ":"Y","х":"x","𝓏":"z","𝓎":"y","𝓍":"x","р":"p","а":"a","£":"\\pounds",m:"m","𝚵":"\\Xi","⓪":"\\textcircled{0}","①":"\\textcircled{1}","②":"\\textcircled{2}","③":"\\textcircled{3}","④":"\\textcircled{4}","⑤":"\\textcircled{5}","⑥":"\\textcircled{6}","⑦":"\\textcircled{7}","⑧":"\\textcircled{8}","⑨":"\\textcircled{9}","⑩":"\\textcircled{10}","⑪":"\\textcircled{11}","⑫":"\\textcircled{12}","⑬":"\\textcircled{13}","⑭":"\\textcircled{14}","⑮":"\\textcircled{15}","⑯":"\\textcircled{16}","⑰":"\\textcircled{17}","⑱":"\\textcircled{18}","⑲":"\\textcircled{19}","⑳":"\\textcircled{20}","㉑":"\\textcircled{21}","㉒":"\\textcircled{22}","㉓":"\\textcircled{23}","㉔":"\\textcircled{24}","㉕":"\\textcircled{25}","㉖":"\\textcircled{26}","㉗":"\\textcircled{27}","㉘":"\\textcircled{28}","㉙":"\\textcircled{29}","㉚":"\\textcircled{30}","㉛":"\\textcircled{31}","㉜":"\\textcircled{32}","㉝":"\\textcircled{33}","㉞":"\\textcircled{34}","㉟":"\\textcircled{35}","㊱":"\\textcircled{36}","㊲":"\\textcircled{37}","㊳":"\\textcircled{38}","㊴":"\\textcircled{39}","㊵":"\\textcircled{40}","㊶":"\\textcircled{41}","㊷":"\\textcircled{42}","㊸":"\\textcircled{43}","㊹":"\\textcircled{44}","㊺":"\\textcircled{45}","㊻":"\\textcircled{46}","㊼":"\\textcircled{47}","㊽":"\\textcircled{48}","㊾":"\\textcircled{49}","㊿":"\\textcircled{50}","&":"\\&","‖":"\\parallel","%":"\\%","“":"\\text{``}",$:"\\$","#":"\\#","℃":"\\text{\\textdegree C}","℉":"\\text{\\textdegree F}","█":"\\blacksquare","℧":"\\mho","⌋":"\\rfloor","⌊":"\\lfloor","⌉":"\\rceil","⌈":"\\lceil","ℇ":"\\varepsilon","ⅇ":"\\text{e}","ɼ":"r","↛":"\\nrightarrow","ˆ":"\\hat{}","‾":"\\overline","→":"\\rightarrow","‡":"\\ddagger","・":"\\cdot","▱":"\\square","∆":"\\Delta","ἱ":"i","∡":"\\angle","ϒ":"\\Upsilon","↓":"\\downarrow","↑":"\\uparrow","»":"\\gg","⊤":"\\top","⧸":"/","𝛿":"\\delta","˳":"\\cdot","։":":","⦪":"\\measuredangle","⦩":"\\measuredangle","⦫":"\\measuredangle","⦁":"\\cdot","ѳ":"\\theta","⦢":"\\measuredangle","¸":",","⎻":"\\overline","⟦":"\\llbracket","𝜙":"\\phi","П":"\\prod","о":"o","≈":"\\approx","≤":"\\leq","ђ":"\\hbar","Ʌ":"\\Lambda","土":"\\pm","⎼":"-","十":"+","≠":"\\neq","←":"\\leftarrow","।":"\\mid","€":"\\euro","˘":" ","ῡ":"\\bar{u}","∥":"\\parallel","↔":"\\leftrightarrow","√":"\\sqrt{}","ȼ":"c","𝞮":"\\epsilon","·":"\\cdot","⦬":"\\measuredangle","⦮":"\\measuredangle","⦭":"\\measuredangle","«":"\\ll","Χ":"\\mathsf{X}","│":"\\mid","〉":"\\rangle","ₙ":"_{n}","▫":"\\square","●":"\\circle","”":'\\"'}},5406:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(2965),t),i(r(9039),t),i(r(8249),t),i(r(8171),t),i(r(472),t),i(r(4320),t),i(r(6122),t)},472:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.latexAccents=void 0,t.latexAccents=["\\hat","\\bar","\\underbrace","\\overbrace"]},4320:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mathNumberByGlyph=void 0,t.mathNumberByGlyph={"₀":"_{0}","₁":"_{1}","₂":"_{2}","₃":"_{3}","₄":"_{4}","₅":"_{5}","₆":"_{6}","₇":"_{7}","₈":"_{8}","₉":"_{9}","⁰":"^{0}","¹":"^{1}","²":"^{2}","³":"^{3}","⁴":"^{4}","⁵":"^{5}","⁶":"^{6}","⁷":"^{7}","⁸":"^{8}","⁹":"^{9}","ⁿ":"^{n}","ₙ":"_{n}","⓪":"\\textcircled{0}","①":"\\textcircled{1}","②":"\\textcircled{2}","③":"\\textcircled{3}","④":"\\textcircled{4}","⑤":"\\textcircled{5}","⑥":"\\textcircled{6}","⑦":"\\textcircled{7}","⑧":"\\textcircled{8}","⑨":"\\textcircled{9}","⑩":"\\textcircled{10}","⑪":"\\textcircled{11}","⑫":"\\textcircled{12}","⑬":"\\textcircled{13}","⑭":"\\textcircled{14}","⑮":"\\textcircled{15}","⑯":"\\textcircled{16}","⑰":"\\textcircled{17}","⑱":"\\textcircled{18}","⑲":"\\textcircled{19}","⑳":"\\textcircled{20}","㉑":"\\textcircled{21}","㉒":"\\textcircled{22}","㉓":"\\textcircled{23}","㉔":"\\textcircled{24}","㉕":"\\textcircled{25}","㉖":"\\textcircled{26}","㉗":"\\textcircled{27}","㉘":"\\textcircled{28}","㉙":"\\textcircled{29}","㉚":"\\textcircled{30}","㉛":"\\textcircled{31}","㉜":"\\textcircled{32}","㉝":"\\textcircled{33}","㉞":"\\textcircled{34}","㉟":"\\textcircled{35}","㊱":"\\textcircled{36}","㊲":"\\textcircled{37}","㊳":"\\textcircled{38}","㊴":"\\textcircled{39}","㊵":"\\textcircled{40}","㊶":"\\textcircled{41}","㊷":"\\textcircled{42}","㊸":"\\textcircled{43}","㊹":"\\textcircled{44}","㊺":"\\textcircled{45}","㊻":"\\textcircled{46}","㊼":"\\textcircled{47}","㊽":"\\textcircled{48}","㊾":"\\textcircled{49}","㊿":"\\textcircled{50}","½":"\\dfrac{1}{2}","⅓":"\\dfrac{1}{3}","⅔":"\\dfrac{2}{3}","¼":"\\dfrac{1}{4}","¾":"\\dfrac{3}{4}","⅕":"\\dfrac{1}{5}","⅖":"\\dfrac{2}{5}","⅗":"\\dfrac{3}{5}","⅘":"\\dfrac{4}{5}","⅙":"\\dfrac{1}{6}","⅚":"\\dfrac{5}{6}","⅐":"\\dfrac{1}{7}","⅛":"\\dfrac{1}{8}","⅜":"\\dfrac{3}{8}","⅝":"\\dfrac{5}{8}","⅞":"\\dfrac{7}{8}","⅑":"\\dfrac{1}{9}","⅒":"\\dfrac{1}{10}"}},6122:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HashUTF8ToLtXConverter=void 0,t.HashUTF8ToLtXConverter=class{convert(e){if(e.match(/[a-z0-9]/i))return e;const t=r[e];return t?this.convertAccentCharToLtX(t)||e:this.convertSpecialCharToLtX(e)||e}convertAccentCharToLtX(e){const{char:t,accent:r}=e,i=n[r];return i?`\\${i}{${t}}`:null}convertSpecialCharToLtX(e){const t=i[e];if(!t)return null;const{letter:r,fontCmd:n}=t;return`\\${n}{${r}}`}};const r={"á":{char:"a",accent:"´"},"à":{char:"a",accent:"`"},"â":{char:"a",accent:"^"},"ã":{char:"a",accent:"~"},"ä":{char:"a",accent:"¨"},"å":{char:"a",accent:"˚"},"ą":{char:"a",accent:"˙"},"ă":{char:"a",accent:"˘"},"ǎ":{char:"a",accent:"ˇ"},"ǟ":{char:"a",accent:"ˆ"},"ǻ":{char:"a",accent:"˙"},"ǡ":{char:"a",accent:"-"},"ā":{char:"a",accent:"-"},"é":{char:"e",accent:"´"},"è":{char:"e",accent:"`"},"ê":{char:"e",accent:"^"},"ë":{char:"e",accent:"¨"},"ę":{char:"e",accent:"˙"},"ě":{char:"e",accent:"ˇ"},"ȇ":{char:"i",accent:"^"},"ё":{char:"e",accent:"¨"},"ē":{char:"e",accent:"-"},"í":{char:"i",accent:"´"},"ì":{char:"i",accent:"`"},"î":{char:"i",accent:"^"},"ï":{char:"i",accent:"¨"},"į":{char:"i",accent:"˙"},"ǐ":{char:"i",accent:"ˇ"},"ȉ":{char:"i",accent:"`"},"ȋ":{char:"i",accent:"¨"},"ī":{char:"i",accent:"-"},"ó":{char:"o",accent:"´"},"ò":{char:"o",accent:"`"},"ô":{char:"o",accent:"^"},"õ":{char:"o",accent:"~"},"ö":{char:"o",accent:"¨"},"ő":{char:"o",accent:"˝"},"ǒ":{char:"o",accent:"ˇ"},"ȍ":{char:"o",accent:"`"},"ȏ":{char:"o",accent:"¨"},"ȫ":{char:"o",accent:"˘"},"ȭ":{char:"o",accent:"˝"},"ȯ":{char:"o",accent:"˙"},"ō":{char:"o",accent:"-"},"ú":{char:"u",accent:"´"},"ù":{char:"u",accent:"`"},"û":{char:"u",accent:"^"},"ü":{char:"u",accent:"¨"},"ű":{char:"u",accent:"˝"},"ǔ":{char:"u",accent:"ˇ"},"ǖ":{char:"u",accent:"¨"},"ǘ":{char:"u",accent:"¨"},"ǚ":{char:"u",accent:"¨"},"ǜ":{char:"u",accent:"¨"},"ȕ":{char:"u",accent:"`"},"ȗ":{char:"u",accent:"¨"},"ū":{char:"u",accent:"-"},"ý":{char:"y",accent:"´"},"ỳ":{char:"y",accent:"`"},"ŷ":{char:"y",accent:"^"},"ÿ":{char:"y",accent:"¨"},"ȳ":{char:"y",accent:"-"},"Á":{char:"A",accent:"´"},"À":{char:"A",accent:"`"},"Â":{char:"A",accent:"^"},"Ã":{char:"A",accent:"~"},"Ä":{char:"A",accent:"¨"},"Å":{char:"A",accent:"˚"},"Å":{char:"A",accent:"˚"},"Ȧ":{char:"A",accent:"˙"},"Ă":{char:"A",accent:"˘"},"Ǎ":{char:"A",accent:"ˇ"},"Ǟ":{char:"A",accent:"˝"},"Ǻ":{char:"A",accent:"˚"},"Ǡ":{char:"A",accent:"-"},"Ā":{char:"A",accent:"-"},"É":{char:"E",accent:"´"},"È":{char:"E",accent:"`"},"Ė":{char:"E",accent:"˙"},"Ê":{char:"E",accent:"^"},"Ë":{char:"E",accent:"¨"},"Ě":{char:"E",accent:"ˇ"},"Ȅ":{char:"E",accent:"`"},"Ȇ":{char:"E",accent:"¨"},"Ē":{char:"E",accent:"-"},"Í":{char:"I",accent:"´"},"Ì":{char:"I",accent:"`"},"Î":{char:"I",accent:"^"},"Ï":{char:"I",accent:"¨"},"Ĭ":{char:"I",accent:"˘"},"Ǐ":{char:"I",accent:"ˇ"},"Ȉ":{char:"I",accent:"`"},"Ȋ":{char:"I",accent:"¨"},"Ī":{char:"I",accent:"-"},"Ó":{char:"O",accent:"´"},"Ò":{char:"O",accent:"`"},"Ô":{char:"O",accent:"^"},"Õ":{char:"O",accent:"~"},"Ö":{char:"O",accent:"¨"},"Ő":{char:"O",accent:"˝"},"Ǒ":{char:"O",accent:"ˇ"},"Ȍ":{char:"O",accent:"`"},"Ȏ":{char:"O",accent:"¨"},"Ȫ":{char:"O",accent:"˘"},"Ȭ":{char:"O",accent:"˝"},"Ȯ":{char:"O",accent:"˙"},"Ō":{char:"O",accent:"-"},"Ú":{char:"U",accent:"´"},"Ù":{char:"U",accent:"`"},"Û":{char:"U",accent:"^"},"Ü":{char:"U",accent:"¨"},"Ű":{char:"U",accent:"˝"},"Ǔ":{char:"U",accent:"ˇ"},"Ǖ":{char:"U",accent:"¨"},"Ȕ":{char:"U",accent:"`"},"Ȗ":{char:"U",accent:"¨"},"Ū":{char:"U",accent:"-"},"Ý":{char:"Y",accent:"´"},"Ỳ":{char:"Y",accent:"`"},"Ŷ":{char:"Y",accent:"^"},"Ÿ":{char:"Y",accent:"¨"},"Ȳ":{char:"Y",accent:"-"},"ñ":{char:"n",accent:"~"},"Ñ":{char:"N",accent:"~"},"ç":{char:"c",accent:"˙"},"Ç":{char:"C",accent:"˙"},"ṽ":{char:"v",accent:"~"},"Ṽ":{char:"V",accent:"~"},"ĵ":{char:"j",accent:"^"},"Ĵ":{char:"J",accent:"^"},"ź":{char:"z",accent:"´"},"Ź":{char:"Z",accent:"´"},"Ż":{char:"Z",accent:"^"},"ż":{char:"z",accent:"^"},"Ž":{char:"Z",accent:"ˇ"},"ž":{char:"z",accent:"ˇ"},"ẑ":{char:"z",accent:"ˆ"}},n={"´":"acute","`":"grave","^":"hat","~":"tilde","¨":"ddot","˚":"mathring","˘":"breve","ˇ":"check","˝":"H","˙":"dot","-":"bar","ˆ":"hat","˜":"tilde"},i={"𝐀":{letter:"A",fontCmd:"mathbf"},"𝐁":{letter:"B",fontCmd:"mathbf"},"𝐂":{letter:"C",fontCmd:"mathbf"},"𝐃":{letter:"D",fontCmd:"mathbf"},"𝐄":{letter:"E",fontCmd:"mathbf"},"Ε":{letter:"E",fontCmd:"mathbf"},"𝐅":{letter:"F",fontCmd:"mathbf"},"𝐆":{letter:"G",fontCmd:"mathbf"},"𝐇":{letter:"H",fontCmd:"mathbf"},"𝐈":{letter:"I",fontCmd:"mathbf"},"𝐉":{letter:"J",fontCmd:"mathbf"},"𝐊":{letter:"K",fontCmd:"mathbf"},"𝐋":{letter:"L",fontCmd:"mathbf"},"𝐌":{letter:"M",fontCmd:"mathbf"},"𝐍":{letter:"N",fontCmd:"mathbf"},"𝐎":{letter:"O",fontCmd:"mathbf"},"𝐏":{letter:"P",fontCmd:"mathbf"},"𝐐":{letter:"Q",fontCmd:"mathbf"},"𝐑":{letter:"R",fontCmd:"mathbf"},"𝐒":{letter:"S",fontCmd:"mathbf"},"𝐓":{letter:"T",fontCmd:"mathbf"},"𝐔":{letter:"U",fontCmd:"mathbf"},"𝐕":{letter:"V",fontCmd:"mathbf"},"𝐖":{letter:"W",fontCmd:"mathbf"},"𝐗":{letter:"X",fontCmd:"mathbf"},"𝞆":{letter:"X",fontCmd:"mathbf"},"𝐘":{letter:"Y",fontCmd:"mathbf"},"𝐙":{letter:"Z",fontCmd:"mathbf"},"𝟎":{letter:"0",fontCmd:"mathbf"},"𝟏":{letter:"1",fontCmd:"mathbf"},"𝟐":{letter:"2",fontCmd:"mathbf"},"𝟑":{letter:"3",fontCmd:"mathbf"},"𝟒":{letter:"4",fontCmd:"mathbf"},"𝟓":{letter:"5",fontCmd:"mathbf"},"𝟔":{letter:"6",fontCmd:"mathbf"},"𝟕":{letter:"7",fontCmd:"mathbf"},"𝟖":{letter:"8",fontCmd:"mathbf"},"𝟗":{letter:"9",fontCmd:"mathbf"},"𝐴":{letter:"A",fontCmd:"mathit"},"𝐵":{letter:"B",fontCmd:"mathit"},"𝐶":{letter:"C",fontCmd:"mathit"},"𝐷":{letter:"D",fontCmd:"mathit"},"𝐸":{letter:"E",fontCmd:"mathit"},"𝐹":{letter:"F",fontCmd:"mathit"},"𝐺":{letter:"G",fontCmd:"mathit"},"𝐻":{letter:"H",fontCmd:"mathit"},"𝐼":{letter:"I",fontCmd:"mathit"},"Ι":{letter:"I",fontCmd:"mathit"},"𝐽":{letter:"J",fontCmd:"mathit"},"𝐾":{letter:"K",fontCmd:"mathit"},"𝐿":{letter:"L",fontCmd:"mathit"},"𝑀":{letter:"M",fontCmd:"mathit"},"𝑁":{letter:"N",fontCmd:"mathit"},"𝑂":{letter:"O",fontCmd:"mathit"},"𝑃":{letter:"P",fontCmd:"mathit"},"𝑄":{letter:"Q",fontCmd:"mathit"},"𝑅":{letter:"R",fontCmd:"mathit"},"𝑆":{letter:"S",fontCmd:"mathit"},"𝑇":{letter:"T",fontCmd:"mathit"},"𝑈":{letter:"U",fontCmd:"mathit"},"𝑉":{letter:"V",fontCmd:"mathit"},"𝑊":{letter:"W",fontCmd:"mathit"},"𝑋":{letter:"X",fontCmd:"mathit"},"𝑌":{letter:"Y",fontCmd:"mathit"},"𝑍":{letter:"Z",fontCmd:"mathit"},"𝔸":{letter:"A",fontCmd:"mathbb"},"𝔹":{letter:"B",fontCmd:"mathbb"},"ℂ":{letter:"C",fontCmd:"mathbb"},"𝔻":{letter:"D",fontCmd:"mathbb"},"𝔼":{letter:"E",fontCmd:"mathbb"},"𝔽":{letter:"F",fontCmd:"mathbb"},"𝔾":{letter:"G",fontCmd:"mathbb"},"ℍ":{letter:"H",fontCmd:"mathbb"},"𝕀":{letter:"I",fontCmd:"mathbb"},"𝕁":{letter:"J",fontCmd:"mathbb"},"𝕂":{letter:"K",fontCmd:"mathbb"},"𝕃":{letter:"L",fontCmd:"mathbb"},"𝕄":{letter:"M",fontCmd:"mathbb"},"ℕ":{letter:"N",fontCmd:"mathbb"},"𝕆":{letter:"O",fontCmd:"mathbb"},"ℙ":{letter:"P",fontCmd:"mathbb"},"ℚ":{letter:"Q",fontCmd:"mathbb"},"ℝ":{letter:"R",fontCmd:"mathbb"},"𝕊":{letter:"S",fontCmd:"mathbb"},"𝕋":{letter:"T",fontCmd:"mathbb"},"𝕌":{letter:"U",fontCmd:"mathbb"},"𝕍":{letter:"V",fontCmd:"mathbb"},"𝕎":{letter:"W",fontCmd:"mathbb"},"𝕏":{letter:"X",fontCmd:"mathbb"},"𝕐":{letter:"Y",fontCmd:"mathbb"},"ℤ":{letter:"Z",fontCmd:"mathbb"},"𝟘":{letter:"0",fontCmd:"mathbb"},"𝟙":{letter:"1",fontCmd:"mathbb"},"𝟚":{letter:"2",fontCmd:"mathbb"},"𝟛":{letter:"3",fontCmd:"mathbb"},"𝟜":{letter:"4",fontCmd:"mathbb"},"𝟝":{letter:"5",fontCmd:"mathbb"},"𝟞":{letter:"6",fontCmd:"mathbb"},"𝟟":{letter:"7",fontCmd:"mathbb"},"𝟠":{letter:"8",fontCmd:"mathbb"},"𝟡":{letter:"9",fontCmd:"mathbb"},"𝒜":{letter:"A",fontCmd:"mathcal"},"𝓐":{letter:"A",fontCmd:"mathcal"},"ℬ":{letter:"B",fontCmd:"mathcal"},"𝒞":{letter:"C",fontCmd:"mathcal"},"𝒟":{letter:"D",fontCmd:"mathcal"},"𝓓":{letter:"D",fontCmd:"mathcal"},"ℰ":{letter:"E",fontCmd:"mathcal"},"ℱ":{letter:"F",fontCmd:"mathcal"},"𝓕":{letter:"F",fontCmd:"mathcal"},"𝒢":{letter:"G",fontCmd:"mathcal"},"ℋ":{letter:"H",fontCmd:"mathcal"},"ℐ":{letter:"I",fontCmd:"mathcal"},"𝒥":{letter:"J",fontCmd:"mathcal"},"𝒦":{letter:"K",fontCmd:"mathcal"},"ℒ":{letter:"L",fontCmd:"mathcal"},"𝓛":{letter:"L",fontCmd:"mathcal"},"ℳ":{letter:"M",fontCmd:"mathcal"},"𝒩":{letter:"N",fontCmd:"mathcal"},"𝒪":{letter:"O",fontCmd:"mathcal"},"𝓞":{letter:"O",fontCmd:"mathcal"},"𝒫":{letter:"P",fontCmd:"mathcal"},"𝒬":{letter:"Q",fontCmd:"mathcal"},"ℛ":{letter:"R",fontCmd:"mathcal"},"𝕽":{letter:"R",fontCmd:"mathcal"},"℟":{letter:"R",fontCmd:"mathcal"},"𝒮":{letter:"S",fontCmd:"mathcal"},"𝒯":{letter:"T",fontCmd:"mathcal"},"𝒰":{letter:"U",fontCmd:"mathcal"},"𝒱":{letter:"V",fontCmd:"mathcal"},"𝒲":{letter:"W",fontCmd:"mathcal"},"𝒳":{letter:"X",fontCmd:"mathcal"},"𝒴":{letter:"Y",fontCmd:"mathcal"},"𝒵":{letter:"Z",fontCmd:"mathcal"},"𝔄":{letter:"A",fontCmd:"mathfrak"},"𝔅":{letter:"B",fontCmd:"mathfrak"},"ℭ":{letter:"C",fontCmd:"mathfrak"},"𝔇":{letter:"D",fontCmd:"mathfrak"},"𝔈":{letter:"E",fontCmd:"mathfrak"},"𝔉":{letter:"F",fontCmd:"mathfrak"},"𝔊":{letter:"G",fontCmd:"mathfrak"},"ℌ":{letter:"H",fontCmd:"mathfrak"},"ℑ":{letter:"I",fontCmd:"mathfrak"},"𝔍":{letter:"J",fontCmd:"mathfrak"},"𝔎":{letter:"K",fontCmd:"mathfrak"},"𝔏":{letter:"L",fontCmd:"mathfrak"},"𝔐":{letter:"M",fontCmd:"mathfrak"},"𝔑":{letter:"N",fontCmd:"mathfrak"},"𝔒":{letter:"O",fontCmd:"mathfrak"},"𝔓":{letter:"P",fontCmd:"mathfrak"},"𝔔":{letter:"Q",fontCmd:"mathfrak"},"ℜ":{letter:"R",fontCmd:"mathfrak"},"𝔖":{letter:"S",fontCmd:"mathfrak"},"𝔗":{letter:"T",fontCmd:"mathfrak"},"𝔘":{letter:"U",fontCmd:"mathfrak"},"𝔙":{letter:"V",fontCmd:"mathfrak"},"𝔚":{letter:"W",fontCmd:"mathfrak"},"𝔛":{letter:"X",fontCmd:"mathfrak"},"𝔜":{letter:"Y",fontCmd:"mathfrak"},"ℨ":{letter:"Z",fontCmd:"mathfrak"},"𝖠":{letter:"A",fontCmd:"mathsf"},"Α":{letter:"A",fontCmd:"mathsf"},"𝖡":{letter:"B",fontCmd:"mathsf"},"Β":{letter:"B",fontCmd:"mathsf"},"𝖢":{letter:"C",fontCmd:"mathsf"},"𝖣":{letter:"D",fontCmd:"mathsf"},"𝖤":{letter:"E",fontCmd:"mathsf"},"𝖥":{letter:"F",fontCmd:"mathsf"},"𝖦":{letter:"G",fontCmd:"mathsf"},"𝖧":{letter:"H",fontCmd:"mathsf"},"𝖨":{letter:"I",fontCmd:"mathsf"},"𝖩":{letter:"J",fontCmd:"mathsf"},"ȷ":{letter:"J",fontCmd:"mathsf"},"𝖪":{letter:"K",fontCmd:"mathsf"},"Κ":{letter:"K",fontCmd:"mathsf"},"𝖫":{letter:"L",fontCmd:"mathsf"},"𝖬":{letter:"M",fontCmd:"mathsf"},"𝖭":{letter:"N",fontCmd:"mathsf"},"𝖮":{letter:"O",fontCmd:"mathsf"},"𝖯":{letter:"P",fontCmd:"mathsf"},"𝖰":{letter:"Q",fontCmd:"mathsf"},"𝖱":{letter:"R",fontCmd:"mathsf"},"𝖲":{letter:"S",fontCmd:"mathsf"},"𝖳":{letter:"T",fontCmd:"mathsf"},"𝖴":{letter:"U",fontCmd:"mathsf"},"𝖵":{letter:"V",fontCmd:"mathsf"},"𝖶":{letter:"W",fontCmd:"mathsf"},"𝖷":{letter:"X",fontCmd:"mathsf"},"Χ":{letter:"X",fontCmd:"mathsf"},"𝖸":{letter:"Y",fontCmd:"mathsf"},"𝖹":{letter:"Z",fontCmd:"mathsf"},"𝚨":{letter:"A",fontCmd:"mathtt"},"𝚩":{letter:"B",fontCmd:"mathtt"},"𝚪":{letter:"\\Gamma",fontCmd:"mathtt"},"𝚫":{letter:"\\Delta",fontCmd:"mathtt"},"𝚬":{letter:"E",fontCmd:"mathtt"},"𝚭":{letter:"F",fontCmd:"mathtt"},"𝚮":{letter:"G",fontCmd:"mathtt"},"𝚯":{letter:"\\Theta",fontCmd:"mathtt"},"𝚰":{letter:"I",fontCmd:"mathtt"},"𝚱":{letter:"J",fontCmd:"mathtt"},"𝚲":{letter:"\\Lambda",fontCmd:"mathtt"},"𝚳":{letter:"L",fontCmd:"mathtt"},"𝚴":{letter:"M",fontCmd:"mathtt"},"𝚵":{letter:"\\Pi",fontCmd:"mathtt"},"𝚶":{letter:"O",fontCmd:"mathtt"},"𝚷":{letter:"\\Pi",fontCmd:"mathtt"},"𝚸":{letter:"Q",fontCmd:"mathtt"},"𝚹":{letter:"R",fontCmd:"mathtt"},"𝚺":{letter:"S",fontCmd:"mathtt"},"𝚻":{letter:"T",fontCmd:"mathtt"},"𝚼":{letter:"U",fontCmd:"mathtt"},"𝚽":{letter:"\\Phi",fontCmd:"mathtt"},"𝚾":{letter:"W",fontCmd:"mathtt"},"𝚿":{letter:"\\Psi",fontCmd:"mathtt"},"𝛀":{letter:"\\Omega",fontCmd:"mathtt"}}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}var n={};return(()=>{var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.MathMLToLaTeX=void 0;var t=r(8672);Object.defineProperty(e,"MathMLToLaTeX",{enumerable:!0,get:function(){return t.MathMLToLaTeX}})})(),n})(),e.exports=t()}(Of),e.parse=function(e){return ud.apply(this,arguments)}});
|
|
3
|
+
var n,i,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.toStringTag||"@@toStringTag";function u(e,r,a,o){var s=r&&r.prototype instanceof f?r:f,u=Object.create(s.prototype);return t(u,"_invoke",function(e,t,r){var a,o,s,u=0,f=r||[],c=!1,h={p:0,n:0,v:n,a:d,f:d.bind(n,4),d:function(e,t){return a=e,o=0,s=n,h.n=t,l}};function d(e,t){for(o=e,s=t,i=0;!c&&u&&!r&&i<f.length;i++){var r,a=f[i],d=h.p,p=a[2];e>3?(r=p===t)&&(s=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=n):a[0]<=d&&((r=e<2&&d<a[1])?(o=0,h.v=t,h.n=a[1]):d<p&&(r=e<3||a[0]>t||t>p)&&(a[4]=e,a[5]=t,h.n=p,o=0))}if(r||e>1)return l;throw c=!0,t}return function(r,f,p){if(u>1)throw TypeError("Generator is already running");for(c&&1===f&&d(f,p),o=f,s=p;(i=o<2?n:s)||!c;){a||(o?o<3?(o>1&&(h.n=-1),d(o,s)):h.n=s:h.v=s);try{if(u=2,a){if(o||(r="next"),i=a[r]){if(!(i=i.call(a,s)))throw TypeError("iterator result is not an object");if(!i.done)return i;s=i.value,o<2&&(o=0)}else 1===o&&(i=a.return)&&i.call(a),o<2&&(s=TypeError("The iterator does not provide a '"+r+"' method"),o=1);a=n}else if((i=(c=h.n<0)?s:e.call(t,h))!==l)break}catch(e){a=n,o=1,s=e}finally{u=1}}return{value:i,done:c}}}(e,a,o),!0),u}var l={};function f(){}function c(){}function h(){}i=Object.getPrototypeOf;var d=[][o]?i(i([][o]())):(t(i={},o,function(){return this}),i),p=h.prototype=f.prototype=Object.create(d);function g(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,t(e,s,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=h,t(p,"constructor",h),t(h,"constructor",c),c.displayName="GeneratorFunction",t(h,s,"GeneratorFunction"),t(p),t(p,s,"Generator"),t(p,o,function(){return this}),t(p,"toString",function(){return"[object Generator]"}),(e.exports=r=function(){return{w:u,m:g}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(d);var v={},b={get exports(){return v},set exports(e){v=e}},m={},y={get exports(){return m},set exports(e){m=e}},w={},_={get exports(){return w},set exports(e){w=e}};!function(e){var t=f,r=p;e.exports=function e(n,i){function a(e,r,o,s){try{var u=n[e](r),l=u.value;return l instanceof t?i.resolve(l.v).then(function(e){a("next",e,o,s)},function(e){a("throw",e,o,s)}):i.resolve(l).then(function(e){u.value=e,o(u)},function(e){return a("throw",e,o,s)})}catch(e){s(e)}}var o;this.next||(r(e.prototype),r(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(e,t,r){function n(){return new i(function(t,n){a(e,r,t,n)})}return o=o?o.then(n,n):n()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports}(_),function(e){var t=h,r=w;e.exports=function(e,n,i,a,o){return new r(t().w(e,n,i,a),o||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports}(y),function(e){var t=m;e.exports=function(e,r,n,i,a){var o=t(e,r,n,i,a);return o.next().then(function(e){return e.done?e.value:o.next()})},e.exports.__esModule=!0,e.exports.default=e.exports}(b);var S={},k={get exports(){return S},set exports(e){S=e}};!function(e){e.exports=function(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function e(){for(;r.length;)if((n=r.pop())in t)return e.value=n,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports}(k);var x={},E={get exports(){return x},set exports(e){x=e}},O={},N={get exports(){return O},set exports(e){O=e}};!function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(N),function(e){var t=O.default;e.exports=function(e){if(null!=e){var r=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(t(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports}(E),function(e){var t=f,r=h,n=v,i=m,a=w,o=S,s=x;function u(){var l=r(),f=l.m(u),c=(Object.getPrototypeOf?Object.getPrototypeOf(f):f.__proto__).constructor;function h(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===c||"GeneratorFunction"===(t.displayName||t.name))}var d={throw:1,return:2,break:3,continue:3};function p(e){var t,r;return function(n){t||(t={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(e,t){return r(n.a,d[e],t)},delegateYield:function(e,i,a){return t.resultName=i,r(n.d,s(e),a)},finish:function(e){return r(n.f,e)}},r=function(e,r,i){n.p=t.prev,n.n=t.next;try{return e(r,i)}finally{t.next=n.n}}),t.resultName&&(t[t.resultName]=n.v,t.resultName=void 0),t.sent=n.v,t.next=n.n;try{return e.call(this,t)}finally{n.p=t.prev,n.n=t.next}}}return(e.exports=u=function(){return{wrap:function(e,t,r,n){return l.w(p(e),t,r,n&&n.reverse())},isGeneratorFunction:h,mark:l.m,awrap:function(e,r){return new t(e,r)},AsyncIterator:a,async:function(e,t,r,a,o){return(h(t)?i:n)(p(e),t,r,a,o)},keys:o,values:s}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports}(l);var A=u(),R=A;try{regeneratorRuntime=A}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=A:Function("r","regeneratorRuntime = r")(A)}var C={},j={},T="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},M=[],P=[],I="undefined"!=typeof Uint8Array?Uint8Array:Array,L=!1;function D(){L=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)M[t]=e[t],P[e.charCodeAt(t)]=t;P["-".charCodeAt(0)]=62,P["_".charCodeAt(0)]=63}function B(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[63&e]}function z(e,t,r){for(var n,i=[],a=t;a<r;a+=3)n=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(B(n));return i.join("")}function F(e){var t;L||D();for(var r=e.length,n=r%3,i="",a=[],o=16383,s=0,u=r-n;s<u;s+=o)a.push(z(e,s,s+o>u?u:s+o));return 1===n?(t=e[r-1],i+=M[t>>2],i+=M[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=M[t>>10],i+=M[t>>4&63],i+=M[t<<2&63],i+="="),a.push(i),a.join("")}function q(e,t,r,n,i){var a,o,s=8*i-n-1,u=(1<<s)-1,l=u>>1,f=-7,c=r?i-1:0,h=r?-1:1,d=e[t+c];for(c+=h,a=d&(1<<-f)-1,d>>=-f,f+=s;f>0;a=256*a+e[t+c],c+=h,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+e[t+c],c+=h,f-=8);if(0===a)a=1-l;else{if(a===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),a-=l}return(d?-1:1)*o*Math.pow(2,a-n)}function U(e,t,r,n,i,a){var o,s,u,l=8*a-i-1,f=(1<<l)-1,c=f>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=f):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+c>=1?h/u:h*Math.pow(2,1-c))*u>=2&&(o++,u/=2),o+c>=f?(s=0,o=f):o+c>=1?(s=(t*u-1)*Math.pow(2,i),o+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[r+d]=255&o,d+=p,o/=256,l-=8);e[r+d-p]|=128*g}var W={}.toString,H=Array.isArray||function(e){return"[object Array]"==W.call(e)};V.TYPED_ARRAY_SUPPORT=void 0===T.TYPED_ARRAY_SUPPORT||T.TYPED_ARRAY_SUPPORT;var Z=Y();function Y(){return V.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function $(e,t){if(Y()<t)throw new RangeError("Invalid typed array length");return V.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=V.prototype:(null===e&&(e=new V(t)),e.length=t),e}function V(e,t,r){if(!(V.TYPED_ARRAY_SUPPORT||this instanceof V))return new V(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return X(this,e)}return K(this,e,t,r)}function K(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);V.TYPED_ARRAY_SUPPORT?(e=t).__proto__=V.prototype:e=J(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!V.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|te(t,r);e=$(e,n);var i=e.write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(ee(t)){var r=0|Q(t.length);return 0===(e=$(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?$(e,0):J(e,t);if("Buffer"===t.type&&H(t.data))return J(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function G(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function X(e,t){if(G(t),e=$(e,t<0?0:0|Q(t)),!V.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function J(e,t){var r=t.length<0?0:0|Q(t.length);e=$(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function Q(e){if(e>=Y())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y().toString(16)+" bytes");return 0|e}function ee(e){return!(null==e||!e._isBuffer)}function te(e,t){if(ee(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Ae(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Re(e).length;default:if(n)return Ae(e).length;t=(""+t).toLowerCase(),n=!0}}function re(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return be(this,t,r);case"utf8":case"utf-8":return de(this,t,r);case"ascii":return ge(this,t,r);case"latin1":case"binary":return ve(this,t,r);case"base64":return he(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function ne(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function ie(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=V.from(t,n)),ee(t))return 0===t.length?-1:ae(e,t,r,n,i);if("number"==typeof t)return t&=255,V.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):ae(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ae(e,t,r,n,i){var a,o=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,r/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var f=-1;for(a=r;a<s;a++)if(l(e,a)===l(t,-1===f?0:a-f)){if(-1===f&&(f=a),a-f+1===u)return f*o}else-1!==f&&(a-=a-f),f=-1}else for(r+u>s&&(r=s-u),a=r;a>=0;a--){for(var c=!0,h=0;h<u;h++)if(l(e,a+h)!==l(t,h)){c=!1;break}if(c)return a}return-1}function oe(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[r+o]=s}return o}function se(e,t,r,n){return Ce(Ae(t,e.length-r),e,r,n)}function ue(e,t,r,n){return Ce(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function le(e,t,r,n){return ue(e,t,r,n)}function fe(e,t,r,n){return Ce(Re(t),e,r,n)}function ce(e,t,r,n){return Ce(function(e,t){for(var r,n,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i=r%256,a.push(i),a.push(n);return a}(t,e.length-r),e,r,n)}function he(e,t,r){return 0===t&&r===e.length?F(e):F(e.slice(t,r))}function de(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,s,u,l=e[i],f=null,c=l>239?4:l>223?3:l>191?2:1;if(i+c<=r)switch(c){case 1:l<128&&(f=l);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&l)<<6|63&a)>127&&(f=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&l)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,c=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=c}return function(e){var t=e.length;if(t<=pe)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=pe));return r}(n)}V.poolSize=8192,V._augment=function(e){return e.__proto__=V.prototype,e},V.from=function(e,t,r){return K(null,e,t,r)},V.TYPED_ARRAY_SUPPORT&&(V.prototype.__proto__=Uint8Array.prototype,V.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&V[Symbol.species]),V.alloc=function(e,t,r){return function(e,t,r,n){return G(t),t<=0?$(e,t):void 0!==r?"string"==typeof n?$(e,t).fill(r,n):$(e,t).fill(r):$(e,t)}(null,e,t,r)},V.allocUnsafe=function(e){return X(null,e)},V.allocUnsafeSlow=function(e){return X(null,e)},V.isBuffer=je,V.compare=function(e,t){if(!ee(e)||!ee(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},V.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}},V.concat=function(e,t){if(!H(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return V.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=V.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!ee(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},V.byteLength=te,V.prototype._isBuffer=!0,V.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)ne(this,t,t+1);return this},V.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)ne(this,t,t+3),ne(this,t+1,t+2);return this},V.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)ne(this,t,t+7),ne(this,t+1,t+6),ne(this,t+2,t+5),ne(this,t+3,t+4);return this},V.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?de(this,0,e):re.apply(this,arguments)},V.prototype.equals=function(e){if(!ee(e))throw new TypeError("Argument must be a Buffer");return this===e||0===V.compare(this,e)},V.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},V.prototype.compare=function(e,t,r,n,i){if(!ee(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0),s=Math.min(a,o),u=this.slice(n,i),l=e.slice(t,r),f=0;f<s;++f)if(u[f]!==l[f]){a=u[f],o=l[f];break}return a<o?-1:o<a?1:0},V.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},V.prototype.indexOf=function(e,t,r){return ie(this,e,t,r,!0)},V.prototype.lastIndexOf=function(e,t,r){return ie(this,e,t,r,!1)},V.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return oe(this,e,t,r);case"utf8":case"utf-8":return se(this,e,t,r);case"ascii":return ue(this,e,t,r);case"latin1":case"binary":return le(this,e,t,r);case"base64":return fe(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},V.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var pe=4096;function ge(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function ve(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function be(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=Ne(e[a]);return i}function me(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function ye(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function we(e,t,r,n,i,a){if(!ee(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function _e(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i<a;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function Se(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i<a;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function ke(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function xe(e,t,r,n,i){return i||ke(e,0,r,4),U(e,t,r,n,23,4),r+4}function Ee(e,t,r,n,i){return i||ke(e,0,r,8),U(e,t,r,n,52,8),r+8}V.prototype.slice=function(e,t){var r,n=this.length;if((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),V.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=V.prototype;else{var i=t-e;r=new V(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r},V.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||ye(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},V.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||ye(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},V.prototype.readUInt8=function(e,t){return t||ye(e,1,this.length),this[e]},V.prototype.readUInt16LE=function(e,t){return t||ye(e,2,this.length),this[e]|this[e+1]<<8},V.prototype.readUInt16BE=function(e,t){return t||ye(e,2,this.length),this[e]<<8|this[e+1]},V.prototype.readUInt32LE=function(e,t){return t||ye(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},V.prototype.readUInt32BE=function(e,t){return t||ye(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},V.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||ye(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},V.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||ye(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},V.prototype.readInt8=function(e,t){return t||ye(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},V.prototype.readInt16LE=function(e,t){t||ye(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},V.prototype.readInt16BE=function(e,t){t||ye(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},V.prototype.readInt32LE=function(e,t){return t||ye(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},V.prototype.readInt32BE=function(e,t){return t||ye(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},V.prototype.readFloatLE=function(e,t){return t||ye(e,4,this.length),q(this,e,!0,23,4)},V.prototype.readFloatBE=function(e,t){return t||ye(e,4,this.length),q(this,e,!1,23,4)},V.prototype.readDoubleLE=function(e,t){return t||ye(e,8,this.length),q(this,e,!0,52,8)},V.prototype.readDoubleBE=function(e,t){return t||ye(e,8,this.length),q(this,e,!1,52,8)},V.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||we(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},V.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||we(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},V.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||we(this,e,t,1,255,0),V.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},V.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||we(this,e,t,2,65535,0),V.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):_e(this,e,t,!0),t+2},V.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||we(this,e,t,2,65535,0),V.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):_e(this,e,t,!1),t+2},V.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||we(this,e,t,4,4294967295,0),V.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Se(this,e,t,!0),t+4},V.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||we(this,e,t,4,4294967295,0),V.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Se(this,e,t,!1),t+4},V.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);we(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o|0)-s&255;return t+r},V.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);we(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o|0)-s&255;return t+r},V.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||we(this,e,t,1,127,-128),V.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},V.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||we(this,e,t,2,32767,-32768),V.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):_e(this,e,t,!0),t+2},V.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||we(this,e,t,2,32767,-32768),V.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):_e(this,e,t,!1),t+2},V.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||we(this,e,t,4,2147483647,-2147483648),V.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Se(this,e,t,!0),t+4},V.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||we(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),V.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Se(this,e,t,!1),t+4},V.prototype.writeFloatLE=function(e,t,r){return xe(this,e,t,!0,r)},V.prototype.writeFloatBE=function(e,t,r){return xe(this,e,t,!1,r)},V.prototype.writeDoubleLE=function(e,t,r){return Ee(this,e,t,!0,r)},V.prototype.writeDoubleBE=function(e,t,r){return Ee(this,e,t,!1,r)},V.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,a=n-r;if(this===e&&r<t&&t<n)for(i=a-1;i>=0;--i)e[i+t]=this[i+r];else if(a<1e3||!V.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),t);return a},V.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!V.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var o=ee(e)?e:Ae(new V(e,n).toString()),s=o.length;for(a=0;a<r-t;++a)this[a+t]=o[a%s]}return this};var Oe=/[^+\/0-9A-Za-z-_]/g;function Ne(e){return e<16?"0"+e.toString(16):e.toString(16)}function Ae(e,t){var r;t=t||1/0;for(var n=e.length,i=null,a=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function Re(e){return function(e){var t,r,n,i,a,o;L||D();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a="="===e[s-2]?2:"="===e[s-1]?1:0,o=new I(3*s/4-a),n=a>0?s-4:s;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)i=P[e.charCodeAt(t)]<<18|P[e.charCodeAt(t+1)]<<12|P[e.charCodeAt(t+2)]<<6|P[e.charCodeAt(t+3)],o[u++]=i>>16&255,o[u++]=i>>8&255,o[u++]=255&i;return 2===a?(i=P[e.charCodeAt(t)]<<2|P[e.charCodeAt(t+1)]>>4,o[u++]=255&i):1===a&&(i=P[e.charCodeAt(t)]<<10|P[e.charCodeAt(t+1)]<<4|P[e.charCodeAt(t+2)]>>2,o[u++]=i>>8&255,o[u++]=255&i),o}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Oe,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Ce(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function je(e){return null!=e&&(!!e._isBuffer||Te(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Te(e.slice(0,0))}(e))}function Te(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Me=Object.freeze({__proto__:null,Buffer:V,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return+e!=e&&(e=0),V.alloc(+e)},isBuffer:je,kMaxLength:Z}),Pe={};function Ie(){throw new Error("setTimeout has not been defined")}function Le(){throw new Error("clearTimeout has not been defined")}var De=Ie,Be=Le;function ze(e){if(De===setTimeout)return setTimeout(e,0);if((De===Ie||!De)&&setTimeout)return De=setTimeout,setTimeout(e,0);try{return De(e,0)}catch(t){try{return De.call(null,e,0)}catch(t){return De.call(this,e,0)}}}"function"==typeof T.setTimeout&&(De=setTimeout),"function"==typeof T.clearTimeout&&(Be=clearTimeout);var Fe,qe=[],Ue=!1,We=-1;function He(){Ue&&Fe&&(Ue=!1,Fe.length?qe=Fe.concat(qe):We=-1,qe.length&&Ze())}function Ze(){if(!Ue){var e=ze(He);Ue=!0;for(var t=qe.length;t;){for(Fe=qe,qe=[];++We<t;)Fe&&Fe[We].run();We=-1,t=qe.length}Fe=null,Ue=!1,function(e){if(Be===clearTimeout)return clearTimeout(e);if((Be===Le||!Be)&&clearTimeout)return Be=clearTimeout,clearTimeout(e);try{return Be(e)}catch(t){try{return Be.call(null,e)}catch(t){return Be.call(this,e)}}}(e)}}function Ye(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];qe.push(new $e(e,t)),1!==qe.length||Ue||ze(Ze)}function $e(e,t){this.fun=e,this.array=t}$e.prototype.run=function(){this.fun.apply(null,this.array)};function Ve(){}var Ke=Ve,Ge=Ve,Xe=Ve,Je=Ve,Qe=Ve,et=Ve,tt=Ve;var rt=T.performance||{},nt=rt.now||rt.mozNow||rt.msNow||rt.oNow||rt.webkitNow||function(){return(new Date).getTime()};var it=new Date;var at={nextTick:Ye,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Ke,addListener:Ge,once:Xe,off:Je,removeListener:Qe,removeAllListeners:et,emit:tt,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*nt.call(rt),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-it)/1e3}},ot={},st={get exports(){return ot},set exports(e){ot=e}};function ut(){}function lt(){lt.init.call(this)}function ft(e){return void 0===e._maxListeners?lt.defaultMaxListeners:e._maxListeners}function ct(e,t,r,n){var i,a,o,s;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((a=e._events)?(a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),o=a[t]):(a=e._events=new ut,e._eventsCount=0),o){if("function"==typeof o?o=a[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),!o.warned&&(i=ft(e))&&i>0&&o.length>i){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,s=u,"function"==typeof console.warn?console.warn(s):console.log(s)}}else o=a[t]=r,++e._eventsCount;return e}function ht(e,t,r){var n=!1;function i(){e.removeListener(t,i),n||(n=!0,r.apply(e,arguments))}return i.listener=r,i}function dt(e){var t=this._events;if(t){var r=t[e];if("function"==typeof r)return 1;if(r)return r.length}return 0}function pt(e,t){for(var r=new Array(t);t--;)r[t]=e[t];return r}ut.prototype=Object.create(null),lt.EventEmitter=lt,lt.usingDomains=!1,lt.prototype.domain=void 0,lt.prototype._events=void 0,lt.prototype._maxListeners=void 0,lt.defaultMaxListeners=10,lt.init=function(){this.domain=null,lt.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new ut,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},lt.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},lt.prototype.getMaxListeners=function(){return ft(this)},lt.prototype.emit=function(e){var t,r,n,i,a,o,s,u="error"===e;if(o=this._events)u=u&&null==o.error;else if(!u)return!1;if(s=this.domain,u){if(t=arguments[1],!s){if(t instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(r=o[e]))return!1;var f="function"==typeof r;switch(n=arguments.length){case 1:!function(e,t,r){if(t)e.call(r);else for(var n=e.length,i=pt(e,n),a=0;a<n;++a)i[a].call(r)}(r,f,this);break;case 2:!function(e,t,r,n){if(t)e.call(r,n);else for(var i=e.length,a=pt(e,i),o=0;o<i;++o)a[o].call(r,n)}(r,f,this,arguments[1]);break;case 3:!function(e,t,r,n,i){if(t)e.call(r,n,i);else for(var a=e.length,o=pt(e,a),s=0;s<a;++s)o[s].call(r,n,i)}(r,f,this,arguments[1],arguments[2]);break;case 4:!function(e,t,r,n,i,a){if(t)e.call(r,n,i,a);else for(var o=e.length,s=pt(e,o),u=0;u<o;++u)s[u].call(r,n,i,a)}(r,f,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(n-1),a=1;a<n;a++)i[a-1]=arguments[a];!function(e,t,r,n){if(t)e.apply(r,n);else for(var i=e.length,a=pt(e,i),o=0;o<i;++o)a[o].apply(r,n)}(r,f,this,i)}return!0},lt.prototype.addListener=function(e,t){return ct(this,e,t,!1)},lt.prototype.on=lt.prototype.addListener,lt.prototype.prependListener=function(e,t){return ct(this,e,t,!0)},lt.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,ht(this,e,t)),this},lt.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,ht(this,e,t)),this},lt.prototype.removeListener=function(e,t){var r,n,i,a,o;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[e]))return this;if(r===t||r.listener&&r.listener===t)0===--this._eventsCount?this._events=new ut:(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,a=r.length;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){o=r[a].listener,i=a;break}if(i<0)return this;if(1===r.length){if(r[0]=void 0,0===--this._eventsCount)return this._events=new ut,this;delete n[e]}else!function(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}(r,i);n.removeListener&&this.emit("removeListener",e,o||t)}return this},lt.prototype.removeAllListeners=function(e){var t,r;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=new ut,this._eventsCount=0):r[e]&&(0===--this._eventsCount?this._events=new ut:delete r[e]),this;if(0===arguments.length){for(var n,i=Object.keys(r),a=0;a<i.length;++a)"removeListener"!==(n=i[a])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=new ut,this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(t)do{this.removeListener(e,t[t.length-1])}while(t[0]);return this},lt.prototype.listeners=function(e){var t,r,n=this._events;return r=n&&(t=n[e])?"function"==typeof t?[t.listener||t]:function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(t):[],r},lt.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):dt.call(e,t)},lt.prototype.listenerCount=dt,lt.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var gt=Object.freeze({__proto__:null,EventEmitter:lt,default:lt}),vt="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},bt=/%[sdj%]/g;function mt(e){if(!Pt(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(kt(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(e).replace(bt,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),o=n[r];r<i;o=n[++r])jt(o)||!Bt(o)?a+=" "+o:a+=" "+kt(o);return a}function yt(e,t){if(Lt(T.process))return function(){return yt(e,t).apply(this,arguments)};if(!0===at.noDeprecation)return e;var r=!1;return function(){if(!r){if(at.throwDeprecation)throw new Error(t);at.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}}var wt,_t={};function St(e){if(Lt(wt)&&(wt=at.env.NODE_DEBUG||""),e=e.toUpperCase(),!_t[e])if(new RegExp("\\b"+e+"\\b","i").test(wt)){_t[e]=function(){var t=mt.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else _t[e]=function(){};return _t[e]}function kt(e,t){var r={seen:[],stylize:Et};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Ct(t)?r.showHidden=t:t&&Vt(r,t),Lt(r.showHidden)&&(r.showHidden=!1),Lt(r.depth)&&(r.depth=2),Lt(r.colors)&&(r.colors=!1),Lt(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=xt),Ot(r,e,r.depth)}function xt(e,t){var r=kt.styles[t];return r?"["+kt.colors[r][0]+"m"+e+"["+kt.colors[r][1]+"m":e}function Et(e,t){return e}function Ot(e,t,r){if(e.customInspect&&t&&qt(t.inspect)&&t.inspect!==kt&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return Pt(n)||(n=Ot(e,n,r)),n}var i=function(e,t){if(Lt(t))return e.stylize("undefined","undefined");if(Pt(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(Mt(t))return e.stylize(""+t,"number");if(Ct(t))return e.stylize(""+t,"boolean");if(jt(t))return e.stylize("null","null")}(e,t);if(i)return i;var a=Object.keys(t),o=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),Ft(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return Nt(t);if(0===a.length){if(qt(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Dt(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(zt(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Ft(t))return Nt(t)}var u,l="",f=!1,c=["{","}"];(Rt(t)&&(f=!0,c=["[","]"]),qt(t))&&(l=" [Function"+(t.name?": "+t.name:"")+"]");return Dt(t)&&(l=" "+RegExp.prototype.toString.call(t)),zt(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Ft(t)&&(l=" "+Nt(t)),0!==a.length||f&&0!=t.length?r<0?Dt(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=f?function(e,t,r,n,i){for(var a=[],o=0,s=t.length;o<s;++o)Kt(t,String(o))?a.push(At(e,t,r,n,String(o),!0)):a.push("");return i.forEach(function(i){i.match(/^\d+$/)||a.push(At(e,t,r,n,i,!0))}),a}(e,t,r,o,a):a.map(function(n){return At(e,t,r,o,n,f)}),e.seen.pop(),function(e,t,r){var n=e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(u,l,c)):c[0]+l+c[1]}function Nt(e){return"["+Error.prototype.toString.call(e)+"]"}function At(e,t,r,n,i,a){var o,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),Kt(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=jt(r)?Ot(e,u.value,null):Ot(e,u.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),Lt(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function Rt(e){return Array.isArray(e)}function Ct(e){return"boolean"==typeof e}function jt(e){return null===e}function Tt(e){return null==e}function Mt(e){return"number"==typeof e}function Pt(e){return"string"==typeof e}function It(e){return"symbol"==typeof e}function Lt(e){return void 0===e}function Dt(e){return Bt(e)&&"[object RegExp]"===Ht(e)}function Bt(e){return"object"==typeof e&&null!==e}function zt(e){return Bt(e)&&"[object Date]"===Ht(e)}function Ft(e){return Bt(e)&&("[object Error]"===Ht(e)||e instanceof Error)}function qt(e){return"function"==typeof e}function Ut(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Wt(e){return je(e)}function Ht(e){return Object.prototype.toString.call(e)}function Zt(e){return e<10?"0"+e.toString(10):e.toString(10)}kt.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},kt.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Yt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function $t(){var e,t;console.log("%s - %s",(e=new Date,t=[Zt(e.getHours()),Zt(e.getMinutes()),Zt(e.getSeconds())].join(":"),[e.getDate(),Yt[e.getMonth()],t].join(" ")),mt.apply(null,arguments))}function Vt(e,t){if(!t||!Bt(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}function Kt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Gt={inherits:vt,_extend:Vt,log:$t,isBuffer:Wt,isPrimitive:Ut,isFunction:qt,isError:Ft,isDate:zt,isObject:Bt,isRegExp:Dt,isUndefined:Lt,isSymbol:It,isString:Pt,isNumber:Mt,isNullOrUndefined:Tt,isNull:jt,isBoolean:Ct,isArray:Rt,inspect:kt,deprecate:yt,format:mt,debuglog:St},Xt=Object.freeze({__proto__:null,_extend:Vt,debuglog:St,default:Gt,deprecate:yt,format:mt,inherits:vt,inspect:kt,isArray:Rt,isBoolean:Ct,isBuffer:Wt,isDate:zt,isError:Ft,isFunction:qt,isNull:jt,isNullOrUndefined:Tt,isNumber:Mt,isObject:Bt,isPrimitive:Ut,isRegExp:Dt,isString:Pt,isSymbol:It,isUndefined:Lt,log:$t});function Jt(){this.head=null,this.tail=null,this.length=0}Jt.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},Jt.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},Jt.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},Jt.prototype.clear=function(){this.head=this.tail=null,this.length=0},Jt.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},Jt.prototype.concat=function(e){if(0===this.length)return V.alloc(0);if(1===this.length)return this.head.data;for(var t=V.allocUnsafe(e>>>0),r=this.head,n=0;r;)r.data.copy(t,n),n+=r.data.length,r=r.next;return t};var Qt=V.isEncoding||function(e){switch(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 er(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!Qt(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=rr;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=nr;break;default:return void(this.write=tr)}this.charBuffer=new V(6),this.charReceived=0,this.charLength=0}function tr(e){return e.toString(this.encoding)}function rr(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function nr(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}er.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";if(e=e.slice(r,e.length),!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var n=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,n),n-=this.charReceived);var i;n=(t+=e.toString(this.encoding,0,n)).length-1;if((i=t.charCodeAt(n))>=55296&&i<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,n)}return t},er.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},er.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t},or.ReadableState=ar;var ir=St("stream");function ar(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Pr&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.buffer=new Jt,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new er(e.encoding),this.encoding=e.encoding)}function or(e){if(!(this instanceof or))return new or(e);this._readableState=new ar(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),lt.call(this)}function sr(e,t,r,n,i){var a=function(e,t){var r=null;je(t)||"string"==typeof t||null==t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));return r}(t,r);if(a)e.emit("error",a);else if(null===r)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,fr(e)}(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!i){var o=new Error("stream.push() after EOF");e.emit("error",o)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var u;!t.decoder||i||n||(r=t.decoder.write(r),u=!t.objectMode&&0===r.length),i||(t.reading=!1),u||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&fr(e))),function(e,t){t.readingMore||(t.readingMore=!0,Ye(hr,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}vt(or,lt),or.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding)!==r.encoding&&(e=V.from(e,t),t=""),sr(this,r,e,t,!1)},or.prototype.unshift=function(e){return sr(this,this._readableState,e,"",!0)},or.prototype.isPaused=function(){return!1===this._readableState.flowing},or.prototype.setEncoding=function(e){return this._readableState.decoder=new er(e),this._readableState.encoding=e,this};var ur=8388608;function lr(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=ur?e=ur:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function fr(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(ir("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Ye(cr,e):cr(e))}function cr(e){ir("emit readable"),e.emit("readable"),gr(e)}function hr(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(ir("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function dr(e){ir("readable nexttick read 0"),e.read(0)}function pr(e,t){t.reading||(ir("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),gr(e),t.flowing&&!t.reading&&e.read(0)}function gr(e){var t=e._readableState;for(ir("flow",t.flowing);t.flowing&&null!==e.read(););}function vr(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=V.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function br(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Ye(mr,t,e))}function mr(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function yr(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function wr(){}function _r(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}function Sr(e,t){Object.defineProperty(this,"buffer",{get:yt(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof Pr&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?Ye(i,n):i(n);e._writableState.errorEmitted=!0,e.emit("error",n)}(e,r,n,t,i);else{var a=Nr(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||Or(e,r),n?Ye(Er,e,r,a,i):Er(e,r,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Cr(this)}function kr(e){if(!(this instanceof kr||this instanceof Pr))return new kr(e);this._writableState=new Sr(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),lt.call(this)}function xr(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function Er(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),Rr(e,t)}function Or(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var o=0;r;)i[o]=r,r=r.next,o+=1;xr(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new Cr(t)}else{for(;r;){var s=r.chunk,u=r.encoding,l=r.callback;if(xr(e,t,!1,t.objectMode?1:s.length,s,u,l),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function Nr(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function Ar(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function Rr(e,t){var r=Nr(t);return r&&(0===t.pendingcb?(Ar(e,t),t.finished=!0,e.emit("finish")):Ar(e,t)),r}function Cr(e){var t=this;this.next=null,this.entry=null,this.finish=function(r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}or.prototype.read=function(e){ir("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return ir("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?br(this):fr(this),null;if(0===(e=lr(e,t))&&t.ended)return 0===t.length&&br(this),null;var n,i=t.needReadable;return ir("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&ir("length less than watermark",i=!0),t.ended||t.reading?ir("reading or ended",i=!1):i&&(ir("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=lr(r,t))),null===(n=e>0?vr(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&br(this)),null!==n&&this.emit("data",n),n},or.prototype._read=function(e){this.emit("error",new Error("not implemented"))},or.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,ir("pipe count=%d opts=%j",n.pipesCount,t);var i=!t||!1!==t.end?o:l;function a(e){ir("onunpipe"),e===r&&l()}function o(){ir("onend"),e.end()}n.endEmitted?Ye(i):r.once("end",i),e.on("unpipe",a);var s=function(e){return function(){var t=e._readableState;ir("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,gr(e))}}(r);e.on("drain",s);var u=!1;function l(){ir("cleanup"),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",o),r.removeListener("end",l),r.removeListener("data",c),u=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var f=!1;function c(t){ir("ondata"),f=!1,!1!==e.write(t)||f||((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==yr(n.pipes,e))&&!u&&(ir("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,f=!0),r.pause())}function h(t){var r;ir("onerror",t),g(),e.removeListener("error",h),0===(r="error",e.listeners(r).length)&&e.emit("error",t)}function d(){e.removeListener("finish",p),g()}function p(){ir("onfinish"),e.removeListener("close",d),g()}function g(){ir("unpipe"),r.unpipe(e)}return r.on("data",c),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",d),e.once("finish",p),e.emit("pipe",r),n.flowing||(ir("pipe resume"),r.resume()),e},or.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var a=yr(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},or.prototype.on=function(e,t){var r=lt.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&fr(this):Ye(dr,this))}return r},or.prototype.addListener=or.prototype.on,or.prototype.resume=function(){var e=this._readableState;return e.flowing||(ir("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Ye(pr,e,t))}(this,e)),this},or.prototype.pause=function(){return ir("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(ir("pause"),this._readableState.flowing=!1,this.emit("pause")),this},or.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;for(var i in e.on("end",function(){if(ir("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){(ir("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&null==i)||(t.objectMode||i&&i.length)&&(n.push(i)||(r=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}(["error","close","destroy","pause","resume"],function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(t){ir("wrapped _read",t),r&&(r=!1,e.resume())},n},or._fromList=vr,kr.WritableState=Sr,vt(kr,lt),Sr.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},kr.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},kr.prototype.write=function(e,t,r){var n=this._writableState,i=!1;return"function"==typeof t&&(r=t,t=null),V.isBuffer(e)?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=wr),n.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),Ye(t,r)}(this,r):function(e,t,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):V.isBuffer(r)||"string"==typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),Ye(n,a),i=!1),i}(this,n,e,r)&&(n.pendingcb++,i=function(e,t,r,n,i){r=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=V.from(t,r));return t}(t,r,n),V.isBuffer(r)&&(n="buffer");var a=t.objectMode?1:r.length;t.length+=a;var o=t.length<t.highWaterMark;o||(t.needDrain=!0);if(t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new _r(r,n,i),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else xr(e,t,!1,a,r,n,i);return o}(this,n,e,t,r)),i},kr.prototype.cork=function(){this._writableState.corked++},kr.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||Or(this,e))},kr.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},kr.prototype._write=function(e,t,r){r(new Error("not implemented"))},kr.prototype._writev=null,kr.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,Rr(e,t),r&&(t.finished?Ye(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},vt(Pr,or);for(var jr=Object.keys(kr.prototype),Tr=0;Tr<jr.length;Tr++){var Mr=jr[Tr];Pr.prototype[Mr]||(Pr.prototype[Mr]=kr.prototype[Mr])}function Pr(e){if(!(this instanceof Pr))return new Pr(e);or.call(this,e),kr.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",Ir)}function Ir(){this.allowHalfOpen||this._writableState.ended||Ye(Lr,this)}function Lr(e){e.end()}function Dr(e){this.afterTransform=function(t,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!=r&&e.push(r);i(t);var a=e._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&e._read(a.highWaterMark)}(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function Br(e){if(!(this instanceof Br))return new Br(e);Pr.call(this,e),this._transformState=new Dr(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e){zr(t,e)}):zr(t)})}function zr(e,t){if(t)return e.emit("error",t);var r=e._writableState,n=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(n.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}function Fr(e){if(!(this instanceof Fr))return new Fr(e);Br.call(this,e)}function qr(){lt.call(this)}vt(Br,Pr),Br.prototype.push=function(e,t){return this._transformState.needTransform=!1,Pr.prototype.push.call(this,e,t)},Br.prototype._transform=function(e,t,r){throw new Error("Not implemented")},Br.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},Br.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},vt(Fr,Br),Fr.prototype._transform=function(e,t,r){r(null,e)},vt(qr,lt),qr.Readable=or,qr.Writable=kr,qr.Duplex=Pr,qr.Transform=Br,qr.PassThrough=Fr,qr.Stream=qr,qr.prototype.pipe=function(e,t){var r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",o),r.on("close",s));var a=!1;function o(){a||(a=!0,e.end())}function s(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(l(),0===lt.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",s),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",u),e.on("error",u),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e};var Ur,Wr,Hr,Zr=s(Object.freeze({__proto__:null,Duplex:Pr,PassThrough:Fr,Readable:or,Stream:qr,Transform:Br,Writable:kr,default:qr})),Yr={},$r={get exports(){return Yr},set exports(e){Yr=e}};function Vr(){if(Ur)return Yr;return Ur=1,void 0===at||!at.version||0===at.version.indexOf("v0.")||0===at.version.indexOf("v1.")&&0!==at.version.indexOf("v1.8.")?$r.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,a,o=arguments.length;switch(o){case 0:case 1:return Ye(e);case 2:return Ye(function(){e.call(null,t)});case 3:return Ye(function(){e.call(null,t,r)});case 4:return Ye(function(){e.call(null,t,r,n)});default:for(i=new Array(o-1),a=0;a<i.length;)i[a++]=arguments[a];return Ye(function(){e.apply(null,i)})}}}:$r.exports=at,Yr}var Kr,Gr=s(gt),Xr={},Jr={get exports(){return Xr},set exports(e){Xr=e}};function Qr(){return Kr||(Kr=1,function(e){e.exports=Zr}(Jr)),Xr}var en,tn={},rn={get exports(){return tn},set exports(e){tn=e}},nn=s(Me);function an(){return en||(en=1,function(e,t){var r=nn,n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),i(n,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}(rn,tn)),tn}var on,sn={};function un(){if(on)return sn;function e(e){return Object.prototype.toString.call(e)}return on=1,sn.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===e(t)},sn.isBoolean=function(e){return"boolean"==typeof e},sn.isNull=function(e){return null===e},sn.isNullOrUndefined=function(e){return null==e},sn.isNumber=function(e){return"number"==typeof e},sn.isString=function(e){return"string"==typeof e},sn.isSymbol=function(e){return"symbol"==typeof e},sn.isUndefined=function(e){return void 0===e},sn.isRegExp=function(t){return"[object RegExp]"===e(t)},sn.isObject=function(e){return"object"==typeof e&&null!==e},sn.isDate=function(t){return"[object Date]"===e(t)},sn.isError=function(t){return"[object Error]"===e(t)||t instanceof Error},sn.isFunction=function(e){return"function"==typeof e},sn.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},sn.isBuffer=nn.Buffer.isBuffer,sn}var ln,fn={},cn={get exports(){return fn},set exports(e){fn=e}},hn=s(Xt),dn={},pn={get exports(){return dn},set exports(e){dn=e}};!function(e){try{var t=hn;if("function"!=typeof t.inherits)throw"";e.exports=t.inherits}catch(t){e.exports=(ln||(ln=1,"function"==typeof Object.create?pn.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:pn.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}),dn)}}(cn);var gn,vn,bn,mn,yn,wn,_n,Sn,kn,xn={},En={get exports(){return xn},set exports(e){xn=e}};function On(){return gn||(gn=1,function(e){var t=an().Buffer,r=hn;function n(e,t,r){e.copy(t,r)}e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return t.alloc(0);for(var r=t.allocUnsafe(e>>>0),i=this.head,a=0;i;)n(i.data,r,a),a+=i.data.length,i=i.next;return r},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})}(En)),xn}function Nn(){if(bn)return vn;bn=1;var e=Vr();function t(e,t){e.emit("error",t)}return vn={destroy:function(r,n){var i=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(n?n(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(t,this,r)):e.nextTick(t,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(r){!n&&r?i._writableState?i._writableState.errorEmitted||(i._writableState.errorEmitted=!0,e.nextTick(t,i,r)):e.nextTick(t,i,r):n&&n(r)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}},vn}function An(){return yn?mn:(yn=1,mn=hn.deprecate)}function Rn(){if(_n)return wn;_n=1;var e=Vr();function t(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}wn=p;var r,n=e.nextTick;p.WritableState=d;var i=Object.create(un());i.inherits=fn;var a={deprecate:An()},s=Qr(),u=an().Buffer,l=(void 0!==o?o:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var f,c=Nn();function h(){}function d(i,a){r=r||Cn(),i=i||{};var o=a instanceof r;this.objectMode=!!i.objectMode,o&&(this.objectMode=this.objectMode||!!i.writableObjectMode);var s=i.highWaterMark,u=i.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:o&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===i.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=i.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,r){var i=t._writableState,a=i.sync,o=i.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(i),r)!function(t,r,n,i,a){--r.pendingcb,n?(e.nextTick(a,i),e.nextTick(w,t,r),t._writableState.errorEmitted=!0,t.emit("error",i)):(a(i),t._writableState.errorEmitted=!0,t.emit("error",i),w(t,r))}(t,i,a,r,o);else{var s=m(i);s||i.corked||i.bufferProcessing||!i.bufferedRequest||b(t,i),a?n(v,t,i,s,o):v(t,i,s,o)}}(a,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function p(e){if(r=r||Cn(),!(f.call(p,this)||this instanceof r))return new p(e);this._writableState=new d(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function g(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function v(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),w(e,t)}function b(e,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(e._writev&&n&&n.next){var i=r.bufferedRequestCount,a=new Array(i),o=r.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)a[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;a.allBuffers=u,g(e,r,!0,r.length,a,"",o.finish),r.pendingcb++,r.lastBufferedRequest=null,o.next?(r.corkedRequestsFree=o.next,o.next=null):r.corkedRequestsFree=new t(r),r.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,f=n.encoding,c=n.callback;if(g(e,r,!1,r.objectMode?1:l.length,l,f,c),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function m(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function y(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),w(e,t)})}function w(t,r){var n=m(r);return n&&(!function(t,r){r.prefinished||r.finalCalled||("function"==typeof t._final?(r.pendingcb++,r.finalCalled=!0,e.nextTick(y,t,r)):(r.prefinished=!0,t.emit("prefinish")))}(t,r),0===r.pendingcb&&(r.finished=!0,t.emit("finish"))),n}return i.inherits(p,s),d.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(d.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(p,Symbol.hasInstance,{value:function(e){return!!f.call(this,e)||this===p&&(e&&e._writableState instanceof d)}})):f=function(e){return e instanceof this},p.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},p.prototype.write=function(t,r,n){var i,a=this._writableState,o=!1,s=!a.objectMode&&(i=t,u.isBuffer(i)||i instanceof l);return s&&!u.isBuffer(t)&&(t=function(e){return u.from(e)}(t)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=a.defaultEncoding),"function"!=typeof n&&(n=h),a.ended?function(t,r){var n=new Error("write after end");t.emit("error",n),e.nextTick(r,n)}(this,n):(s||function(t,r,n,i){var a=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||r.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),e.nextTick(i,o),a=!1),a}(this,a,t,n))&&(a.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else g(e,t,!1,s,n,i,a);return l}(this,a,s,t,r,n)),o},p.prototype.cork=function(){this._writableState.corked++},p.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||b(this,e))},p.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(p.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),p.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},p.prototype._writev=null,p.prototype.end=function(t,r,n){var i=this._writableState;"function"==typeof t?(n=t,t=null,r=null):"function"==typeof r&&(n=r,r=null),null!=t&&this.write(t,r),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,r,n){r.ending=!0,w(t,r),n&&(r.finished?e.nextTick(n):t.once("finish",n));r.ended=!0,t.writable=!1}(this,i,n)},Object.defineProperty(p.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),p.prototype.destroy=c.destroy,p.prototype._undestroy=c.undestroy,p.prototype._destroy=function(e,t){this.end(),t(e)},wn}function Cn(){if(kn)return Sn;kn=1;var e=Vr(),t=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};Sn=u;var r=Object.create(un());r.inherits=fn;var n=qn(),i=Rn();r.inherits(u,n);for(var a=t(i.prototype),o=0;o<a.length;o++){var s=a[o];u.prototype[s]||(u.prototype[s]=i.prototype[s])}function u(e){if(!(this instanceof u))return new u(e);n.call(this,e),i.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",l)}function l(){this.allowHalfOpen||this._writableState.ended||e.nextTick(f,this)}function f(e){e.end()}return Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),u.prototype._destroy=function(t,r){this.push(null),this.end(),e.nextTick(r,t)},Sn}var jn,Tn,Mn,Pn,In,Ln,Dn,Bn,zn={};function Fn(){if(jn)return zn;jn=1;var e=an().Buffer,t=e.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 r(r){var n;switch(this.encoding=function(r){var n=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}}(r);if("string"!=typeof n&&(e.isEncoding===t||!t(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=a,this.end=o,n=4;break;case"utf8":this.fillLast=i,n=4;break;case"base64":this.text=s,this.end=u,n=3;break;default:return this.write=l,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(n)}function n(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){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!==r?r: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 a(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function o(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function s(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?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-r))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}return zn.StringDecoder=r,r.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},r.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},r.prototype.text=function(e,t){var r=function(e,t,r){var i=t.length-1;if(i<r)return 0;var a=n(t[i]);if(a>=0)return a>0&&(e.lastNeed=a-1),a;if(--i<r||-2===a)return 0;if(a=n(t[i]),a>=0)return a>0&&(e.lastNeed=a-2),a;if(--i<r||-2===a)return 0;if(a=n(t[i]),a>=0)return a>0&&(2===a?a=0:e.lastNeed=a-3),a;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},r.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},zn}function qn(){if(Mn)return Tn;Mn=1;var e=Vr();Tn=v;var t,r=function(){if(Hr)return Wr;Hr=1;var e={}.toString;return Wr=Array.isArray||function(t){return"[object Array]"==e.call(t)}}();v.ReadableState=g,Gr.EventEmitter;var n=function(e,t){return e.listeners(t).length},i=Qr(),a=an().Buffer,s=(void 0!==o?o:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u=Object.create(un());u.inherits=fn;var l=hn,f=void 0;f=l&&l.debuglog?l.debuglog("stream"):function(){};var c,h=On(),d=Nn();u.inherits(v,i);var p=["error","close","destroy","pause","resume"];function g(e,r){e=e||{};var n=r instanceof(t=t||Cn());this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,o=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:o,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(c||(c=Fn().StringDecoder),this.decoder=new c(e.encoding),this.encoding=e.encoding)}function v(e){if(t=t||Cn(),!(this instanceof v))return new v(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),i.call(this)}function b(e,t,r,n,i){var o,u=e._readableState;null===t?(u.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,_(e)}(e,u)):(i||(o=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof s||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(u,t)),o?e.emit("error",o):u.objectMode||t&&t.length>0?("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n?u.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):m(e,u,t,!0):u.ended?e.emit("error",new Error("stream.push() after EOF")):(u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?m(e,u,t,!1):k(e,u)):m(e,u,t,!1))):n||(u.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(u)}function m(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&_(e)),k(e,t)}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),v.prototype.destroy=d.destroy,v.prototype._undestroy=d.undestroy,v.prototype._destroy=function(e,t){this.push(null),t(e)},v.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=a.from(e,t),t=""),r=!0),b(this,e,t,!1,r)},v.prototype.unshift=function(e){return b(this,e,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(e){return c||(c=Fn().StringDecoder),this._readableState.decoder=new c(e),this._readableState.encoding=e,this};var y=8388608;function w(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=y?e=y:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(t){var r=t._readableState;r.needReadable=!1,r.emittedReadable||(f("emitReadable",r.flowing),r.emittedReadable=!0,r.sync?e.nextTick(S,t):S(t))}function S(e){f("emit readable"),e.emit("readable"),N(e)}function k(t,r){r.readingMore||(r.readingMore=!0,e.nextTick(x,t,r))}function x(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(f("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function E(e){f("readable nexttick read 0"),e.read(0)}function O(e,t){t.reading||(f("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function A(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=a.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,s),0===(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function R(t){var r=t._readableState;if(r.length>0)throw new Error('"endReadable()" called on non-empty stream');r.endEmitted||(r.ended=!0,e.nextTick(C,r,t))}function C(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function j(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}return v.prototype.read=function(e){f("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?R(this):_(this),null;if(0===(e=w(e,t))&&t.ended)return 0===t.length&&R(this),null;var n,i=t.needReadable;return f("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&f("length less than watermark",i=!0),t.ended||t.reading?f("reading or ended",i=!1):i&&(f("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=w(r,t))),null===(n=e>0?A(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&R(this)),null!==n&&this.emit("data",n),n},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(t,i){var a=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,f("pipe count=%d opts=%j",o.pipesCount,i);var s=(!i||!1!==i.end)&&t!==at.stdout&&t!==at.stderr?l:m;function u(e,r){f("onunpipe"),e===a&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),t.removeListener("close",v),t.removeListener("finish",b),t.removeListener("drain",c),t.removeListener("error",g),t.removeListener("unpipe",u),a.removeListener("end",l),a.removeListener("end",m),a.removeListener("data",p),h=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||c())}function l(){f("onend"),t.end()}o.endEmitted?e.nextTick(s):a.once("end",s),t.on("unpipe",u);var c=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&n(e,"data")&&(t.flowing=!0,N(e))}}(a);t.on("drain",c);var h=!1;var d=!1;function p(e){f("ondata"),d=!1,!1!==t.write(e)||d||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==j(o.pipes,t))&&!h&&(f("false write response, pause",o.awaitDrain),o.awaitDrain++,d=!0),a.pause())}function g(e){f("onerror",e),m(),t.removeListener("error",g),0===n(t,"error")&&t.emit("error",e)}function v(){t.removeListener("finish",b),m()}function b(){f("onfinish"),t.removeListener("close",v),m()}function m(){f("unpipe"),a.unpipe(t)}return a.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?r(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(t,"error",g),t.once("close",v),t.once("finish",b),t.emit("pipe",a),o.flowing||(f("pipe resume"),a.resume()),t},v.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=j(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},v.prototype.on=function(t,r){var n=i.prototype.on.call(this,t,r);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var a=this._readableState;a.endEmitted||a.readableListening||(a.readableListening=a.needReadable=!0,a.emittedReadable=!1,a.reading?a.length&&_(this):e.nextTick(E,this))}return n},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var t=this._readableState;return t.flowing||(f("resume"),t.flowing=!0,function(t,r){r.resumeScheduled||(r.resumeScheduled=!0,e.nextTick(O,t,r))}(this,t)),this},v.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(f("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(f("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<p.length;a++)e.on(p[a],this.emit.bind(this,p[a]));return this._read=function(t){f("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=A,Tn}function Un(){if(In)return Pn;In=1,Pn=n;var e=Cn(),t=Object.create(un());function r(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function n(t){if(!(this instanceof n))return new n(t);e.call(this,t),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",i)}function i(){var e=this;"function"==typeof this._flush?this._flush(function(t,r){a(e,t,r)}):a(this,null,null)}function a(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}return t.inherits=fn,t.inherits(n,e),n.prototype.push=function(t,r){return this._transformState.needTransform=!1,e.prototype.push.call(this,t,r)},n.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},n.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},n.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},n.prototype._destroy=function(t,r){var n=this;e.prototype._destroy.call(this,t,function(e){r(e),n.emit("close")})},Pn}function Wn(){return Bn||(Bn=1,function(e,t){var r=Zr;"disable"===at.env.READABLE_STREAM&&r?(e.exports=r,(t=e.exports=r.Readable).Readable=r.Readable,t.Writable=r.Writable,t.Duplex=r.Duplex,t.Transform=r.Transform,t.PassThrough=r.PassThrough,t.Stream=r):((t=e.exports=qn()).Stream=r||t,t.Readable=t,t.Writable=Rn(),t.Duplex=Cn(),t.Transform=Un(),t.PassThrough=function(){if(Dn)return Ln;Dn=1,Ln=r;var e=Un(),t=Object.create(un());function r(t){if(!(this instanceof r))return new r(t);e.call(this,t)}return t.inherits=fn,t.inherits(r,e),r.prototype._transform=function(e,t,r){r(null,e)},Ln}())}(st,ot)),ot}if(Pe.base64=!0,Pe.array=!0,Pe.string=!0,Pe.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,Pe.nodebuffer=void 0!==V,Pe.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)Pe.blob=!1;else{var Hn=new ArrayBuffer(0);try{Pe.blob=0===new Blob([Hn],{type:"application/zip"}).size}catch(e){try{var Zn=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Zn.append(Hn),Pe.blob=0===Zn.getBlob("application/zip").size}catch(e){Pe.blob=!1}}}try{Pe.nodestream=!!Wn().Readable}catch(e){Pe.nodestream=!1}var Yn,$n={};function Vn(){if(Yn)return $n;Yn=1;var e=ni(),t=Pe,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return $n.encode=function(t){for(var n,i,a,o,s,u,l,f=[],c=0,h=t.length,d=h,p="string"!==e.getTypeOf(t);c<t.length;)d=h-c,p?(n=t[c++],i=c<h?t[c++]:0,a=c<h?t[c++]:0):(n=t.charCodeAt(c++),i=c<h?t.charCodeAt(c++):0,a=c<h?t.charCodeAt(c++):0),o=n>>2,s=(3&n)<<4|i>>4,u=d>1?(15&i)<<2|a>>6:64,l=d>2?63&a:64,f.push(r.charAt(o)+r.charAt(s)+r.charAt(u)+r.charAt(l));return f.join("")},$n.decode=function(e){var n,i,a,o,s,u,l=0,f=0,c="data:";if(e.substr(0,5)===c)throw new Error("Invalid base64 input, it looks like a data url.");var h,d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===r.charAt(64)&&d--,e.charAt(e.length-2)===r.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=t.uint8array?new Uint8Array(0|d):new Array(0|d);l<e.length;)n=r.indexOf(e.charAt(l++))<<2|(o=r.indexOf(e.charAt(l++)))>>4,i=(15&o)<<4|(s=r.indexOf(e.charAt(l++)))>>2,a=(3&s)<<6|(u=r.indexOf(e.charAt(l++))),h[f++]=n,64!==s&&(h[f++]=i),64!==u&&(h[f++]=a);return h},$n}var Kn,Gn,Xn,Jn,Qn={isNode:void 0!==V,newBufferFrom:function(e,t){if(V.from&&V.from!==Uint8Array.from)return V.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new V(e,t)},allocBuffer:function(e){if(V.alloc)return V.alloc(e);var t=new V(e);return t.fill(0),t},isBuffer:function(e){return je(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}};var ei=null;ei="undefined"!=typeof Promise?Promise:function(){if(Jn)return Xn;Jn=1;var e=function(){if(Gn)return Kn;Gn=1;var e,t,r=o.MutationObserver||o.WebKitMutationObserver;if(r){var n=0,i=new r(l),a=o.document.createTextNode("");i.observe(a,{characterData:!0}),e=function(){a.data=n=++n%2}}else if(o.setImmediate||void 0===o.MessageChannel)e="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var e=o.document.createElement("script");e.onreadystatechange=function(){l(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},o.document.documentElement.appendChild(e)}:function(){setTimeout(l,0)};else{var s=new o.MessageChannel;s.port1.onmessage=l,e=function(){s.port2.postMessage(0)}}var u=[];function l(){var e,r;t=!0;for(var n=u.length;n;){for(r=u,u=[],e=-1;++e<n;)r[e]();n=u.length}t=!1}return Kn=function(r){1!==u.push(r)||t||e()}}();function t(){}var r={},n=["REJECTED"],i=["FULFILLED"],a=["PENDING"];function s(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=a,this.queue=[],this.outcome=void 0,e!==t&&c(this,e)}function u(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function l(t,n,i){e(function(){var e;try{e=n(i)}catch(e){return r.reject(t,e)}e===t?r.reject(t,new TypeError("Cannot resolve promise with itself")):r.resolve(t,e)})}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function c(e,t){var n=!1;function i(t){n||(n=!0,r.reject(e,t))}function a(t){n||(n=!0,r.resolve(e,t))}var o=h(function(){t(a,i)});"error"===o.status&&i(o.value)}function h(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}return Xn=s,s.prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})},s.prototype.catch=function(e){return this.then(null,e)},s.prototype.then=function(e,r){if("function"!=typeof e&&this.state===i||"function"!=typeof r&&this.state===n)return this;var o=new this.constructor(t);return this.state!==a?l(o,this.state===i?e:r,this.outcome):this.queue.push(new u(o,e,r)),o},u.prototype.callFulfilled=function(e){r.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){l(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){r.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){l(this.promise,this.onRejected,e)},r.resolve=function(e,t){var n=h(f,t);if("error"===n.status)return r.reject(e,n.value);var a=n.value;if(a)c(e,a);else{e.state=i,e.outcome=t;for(var o=-1,s=e.queue.length;++o<s;)e.queue[o].callFulfilled(t)}return e},r.reject=function(e,t){e.state=n,e.outcome=t;for(var r=-1,i=e.queue.length;++r<i;)e.queue[r].callRejected(t);return e},s.resolve=function(e){return e instanceof this?e:r.resolve(new this(t),e)},s.reject=function(e){var n=new this(t);return r.reject(n,e)},s.all=function(e){var n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var i=e.length,a=!1;if(!i)return this.resolve([]);for(var o=new Array(i),s=0,u=-1,l=new this(t);++u<i;)f(e[u],u);return l;function f(e,t){n.resolve(e).then(function(e){o[t]=e,++s!==i||a||(a=!0,r.resolve(l,o))},function(e){a||(a=!0,r.reject(l,e))})}},s.race=function(e){var n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var i=e.length,a=!1;if(!i)return this.resolve([]);for(var o=-1,s=new this(t);++o<i;)u(e[o]);return s;function u(e){n.resolve(e).then(function(e){a||(a=!0,r.resolve(s,e))},function(e){a||(a=!0,r.reject(s,e))})}},Xn}();var ti,ri={Promise:ei};function ni(){return ti||(ti=1,function(e){var t=Pe,r=Vn(),n=Qn,i=ri;function a(e){return e}function o(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e.newBlob=function(t,r){e.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var s={stringifyByChunk:function(e,t,r){var n=[],i=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;i<a;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,a)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return t.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return t.nodebuffer&&1===String.fromCharCode.apply(null,n.allocBuffer(1)).length}catch(e){return!1}}()}};function u(t){var r=65536,n=e.getTypeOf(t),i=!0;if("uint8array"===n?i=s.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=s.applyCanBeUsed.nodebuffer),i)for(;r>1;)try{return s.stringifyByChunk(t,n,r)}catch(e){r=Math.floor(r/2)}return s.stringifyByChar(t)}function l(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}e.applyFromCharCode=u;var f={};f.string={string:a,array:function(e){return o(e,new Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return o(e,new Uint8Array(e.length))},nodebuffer:function(e){return o(e,n.allocBuffer(e.length))}},f.array={string:u,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(e)}},f.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return l(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:u,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:a,nodebuffer:function(e){return n.newBufferFrom(e)}},f.nodebuffer={string:u,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:a},e.transformTo=function(t,r){if(r||(r=""),!t)return r;e.checkSupport(t);var n=e.getTypeOf(r);return f[n][t](r)},e.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},e.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":t.nodebuffer&&n.isBuffer(e)?"nodebuffer":t.uint8array&&e instanceof Uint8Array?"uint8array":t.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},e.checkSupport=function(e){if(!t[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},e.delay=function(e,t,r){setImmediate(function(){e.apply(r||null,t||[])})},e.inherits=function(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r},e.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},e.prepareContent=function(n,a,s,u,l){return i.Promise.resolve(a).then(function(e){return t.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new i.Promise(function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)}):e}).then(function(a){var f,c=e.getTypeOf(a);return c?("arraybuffer"===c?a=e.transformTo("uint8array",a):"string"===c&&(l?a=r.decode(a):s&&!0!==u&&(a=o(f=a,t.uint8array?new Uint8Array(f.length):new Array(f.length)))),a):i.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}}(j)),j}function ii(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}!function(e){if(!e.setImmediate){var t,r,n,i,a,o=1,s={},u=!1,l=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?t=function(e){Ye(function(){h(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){h(e.data)},t=function(e){n.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,t=function(e){var t=l.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):t=function(e){setTimeout(h,0,e)}:(i="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&h(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),t=function(t){e.postMessage(i+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];var i={callback:e,args:r};return s[o]=i,t(o),o++},f.clearImmediate=c}function c(e){delete s[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=s[e];if(t){u=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{c(e),u=!1}}}}}("undefined"==typeof self?o:self),ii.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};var ai=ii;!function(e){for(var t=ni(),r=Pe,n=Qn,i=ai,a=new Array(256),o=0;o<256;o++)a[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;a[254]=a[254]=1;function s(){i.call(this,"utf-8 decode"),this.leftOver=null}function u(){i.call(this,"utf-8 encode")}e.utf8encode=function(e){return r.nodebuffer?n.newBufferFrom(e,"utf-8"):function(e){var t,n,i,a,o,s=e.length,u=0;for(a=0;a<s;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),u+=n<128?1:n<2048?2:n<65536?3:4;for(t=r.uint8array?new Uint8Array(u):new Array(u),o=0,a=0;o<u;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t}(e)},e.utf8decode=function(e){return r.nodebuffer?t.transformTo("nodebuffer",e).toString("utf-8"):function(e){var r,n,i,o,s=e.length,u=new Array(2*s);for(n=0,r=0;r<s;)if((i=e[r++])<128)u[n++]=i;else if((o=a[i])>4)u[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r<s;)i=i<<6|63&e[r++],o--;o>1?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return u.length!==n&&(u.subarray?u=u.subarray(0,n):u.length=n),t.applyFromCharCode(u)}(e=t.transformTo(r.uint8array?"uint8array":"array",e))},t.inherits(s,i),s.prototype.processChunk=function(n){var i=t.transformTo(r.uint8array?"uint8array":"array",n.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=i;(i=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),i.set(o,this.leftOver.length)}else i=this.leftOver.concat(i);this.leftOver=null}var s=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}(i),u=i;s!==i.length&&(r.uint8array?(u=i.subarray(0,s),this.leftOver=i.subarray(s,i.length)):(u=i.slice(0,s),this.leftOver=i.slice(s,i.length))),this.push({data:e.utf8decode(u),meta:n.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=s,t.inherits(u,i),u.prototype.processChunk=function(t){this.push({data:e.utf8encode(t.data),meta:t.meta})},e.Utf8EncodeWorker=u}(C);var oi=ai,si=ni();function ui(e){oi.call(this,"ConvertWorker to "+e),this.destType=e}si.inherits(ui,oi),ui.prototype.processChunk=function(e){this.push({data:si.transformTo(this.destType,e.data),meta:e.meta})};var li,fi,ci=ui;var hi=ni(),di=ci,pi=ai,gi=Vn(),vi=ri,bi=null;if(Pe.nodestream)try{bi=function(){if(fi)return li;fi=1;var e=Wn().Readable;function t(t,r,n){e.call(this,r),this._helper=t;var i=this;t.on("data",function(e,t){i.push(e)||i._helper.pause(),n&&n(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}return ni().inherits(t,e),t.prototype._read=function(){this._helper.resume()},li=t}()}catch(e){}function mi(e,t){return new vi.Promise(function(r,n){var i=[],a=e._internalType,o=e._outputType,s=e._mimeType;e.on("data",function(e,r){i.push(e),t&&t(r)}).on("error",function(e){i=[],n(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return hi.newBlob(hi.transformTo("arraybuffer",t),r);case"base64":return gi.encode(t);default:return hi.transformTo(e,t)}}(o,function(e,t){var r,n=0,i=null,a=0;for(r=0;r<t.length;r++)a+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(a),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return V.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(a,i),s);r(e)}catch(e){n(e)}i=[]}).resume()})}function yi(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,hi.checkSupport(n),this._worker=e.pipe(new di(n)),e.lock()}catch(e){this._worker=new pi("error"),this._worker.error(e)}}yi.prototype={accumulate:function(e){return mi(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,function(e){t.call(r,e.data,e.meta)}):this._worker.on(e,function(){hi.delay(t,arguments,r)}),this},resume:function(){return hi.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(hi.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new bi(this,{objectMode:"nodebuffer"!==this._outputType},e)}};var wi=yi,_i={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},Si=ni(),ki=ai;function xi(e){ki.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=Si.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}Si.inherits(xi,ki),xi.prototype.cleanUp=function(){ki.prototype.cleanUp.call(this),this.data=null},xi.prototype.resume=function(){return!!ki.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Si.delay(this._tickAndRepeat,[],this)),!0)},xi.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Si.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},xi.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})};var Ei=xi,Oi=ni();var Ni=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();var Ai=function(e,t){return void 0!==e&&e.length?"string"!==Oi.getTypeOf(e)?function(e,t,r,n){var i=Ni,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[255&(e^t[o])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var i=Ni,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[255&(e^t.charCodeAt(o))];return-1^e}(0|t,e,e.length,0):0},Ri=ai,Ci=Ai;function ji(){Ri.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}ni().inherits(ji,Ri),ji.prototype.processChunk=function(e){this.streamInfo.crc32=Ci(e.data,this.streamInfo.crc32||0),this.push(e)};var Ti=ji,Mi=ni(),Pi=ai;function Ii(e){Pi.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}Mi.inherits(Ii,Pi),Ii.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}Pi.prototype.processChunk.call(this,e)};var Li=ri,Di=Ei,Bi=Ti,zi=Ii;function Fi(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}Fi.prototype={getContentWorker:function(){var e=new Di(Li.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new zi("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new Di(Li.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},Fi.createWorkerFrom=function(e,t,r){return e.pipe(new Bi).pipe(new zi("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new zi("compressedSize")).withStreamInfo("compression",t)};var qi=Fi,Ui=wi,Wi=Ei,Hi=C,Zi=qi,Yi=ai,$i=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};$i.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new Hi.Utf8EncodeWorker)),!i&&n&&(t=t.pipe(new Hi.Utf8DecodeWorker))}catch(e){(t=new Yi("error")).error(e)}return new Ui(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof Zi&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new Hi.Utf8EncodeWorker)),Zi.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof Zi?this._data.getContentWorker():this._data instanceof Yi?this._data:new Wi(this._data)}};for(var Vi=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Ki=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Gi=0;Gi<Vi.length;Gi++)$i.prototype[Vi[Gi]]=Ki;var Xi=$i,Ji={},Qi={},ea={},ta={};!function(e){var t="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var i in n)r(n,i)&&(e[i]=n[i])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},i={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)}(ta);var ra={},na={},ia={},aa=ta;function oa(e){for(var t=e.length;--t>=0;)e[t]=0}var sa=256,ua=286,la=30,fa=15,ca=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ha=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],da=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],pa=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ga=new Array(576);oa(ga);var va=new Array(60);oa(va);var ba=new Array(512);oa(ba);var ma=new Array(256);oa(ma);var ya=new Array(29);oa(ya);var wa,_a,Sa,ka=new Array(la);function xa(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function Ea(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Oa(e){return e<256?ba[e]:ba[256+(e>>>7)]}function Na(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Aa(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,Na(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function Ra(e,t,r){Aa(e,r[2*t],r[2*t+1])}function Ca(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function ja(e,t,r){var n,i,a=new Array(16),o=0;for(n=1;n<=fa;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Ca(a[s]++,s))}}function Ta(e){var t;for(t=0;t<ua;t++)e.dyn_ltree[2*t]=0;for(t=0;t<la;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Ma(e){e.bi_valid>8?Na(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Pa(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function Ia(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&Pa(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Pa(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function La(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?Ra(e,i,t):(Ra(e,(a=ma[i])+sa+1,t),0!==(o=ca[a])&&Aa(e,i-=ya[a],o),Ra(e,a=Oa(--n),r),0!==(o=ha[a])&&Aa(e,n-=ka[a],o))}while(s<e.last_lit);Ra(e,256,t)}function Da(e,t){var r,n,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<u;r++)0!==a[2*r]?(e.heap[++e.heap_len]=l=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=l,r=e.heap_len>>1;r>=1;r--)Ia(e,a,r);i=u;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ia(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,Ia(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,a,o,s,u=t.dyn_tree,l=t.max_code,f=t.stat_desc.static_tree,c=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(a=0;a<=fa;a++)e.bl_count[a]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(a=u[2*u[2*(n=e.heap[r])+1]+1]+1)>p&&(a=p,g++),u[2*n+1]=a,n>l||(e.bl_count[a]++,o=0,n>=d&&(o=h[n-d]),s=u[2*n],e.opt_len+=s*(a+o),c&&(e.static_len+=s*(f[2*n+1]+o)));if(0!==g){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(a=p;0!==a;a--)for(n=e.bl_count[a];0!==n;)(i=e.heap[--r])>l||(u[2*i+1]!==a&&(e.opt_len+=(a-u[2*i+1])*u[2*i],u[2*i+1]=a),n--)}}(e,t),ja(a,l,e.bl_count)}function Ba(e,t,r){var n,i,a=-1,o=t[1],s=0,u=7,l=4;for(0===o&&(u=138,l=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<u&&i===o||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,a=i,0===o?(u=138,l=3):i===o?(u=6,l=3):(u=7,l=4))}function za(e,t,r){var n,i,a=-1,o=t[1],s=0,u=7,l=4;for(0===o&&(u=138,l=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<u&&i===o)){if(s<l)do{Ra(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==a&&(Ra(e,i,e.bl_tree),s--),Ra(e,16,e.bl_tree),Aa(e,s-3,2)):s<=10?(Ra(e,17,e.bl_tree),Aa(e,s-3,3)):(Ra(e,18,e.bl_tree),Aa(e,s-11,7));s=0,a=i,0===o?(u=138,l=3):i===o?(u=6,l=3):(u=7,l=4)}}oa(ka);var Fa=!1;function qa(e,t,r,n){Aa(e,0+(n?1:0),3),function(e,t,r,n){Ma(e),n&&(Na(e,r),Na(e,~r)),aa.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}ia._tr_init=function(e){Fa||(!function(){var e,t,r,n,i,a=new Array(16);for(r=0,n=0;n<28;n++)for(ya[n]=r,e=0;e<1<<ca[n];e++)ma[r++]=n;for(ma[r-1]=n,i=0,n=0;n<16;n++)for(ka[n]=i,e=0;e<1<<ha[n];e++)ba[i++]=n;for(i>>=7;n<la;n++)for(ka[n]=i<<7,e=0;e<1<<ha[n]-7;e++)ba[256+i++]=n;for(t=0;t<=fa;t++)a[t]=0;for(e=0;e<=143;)ga[2*e+1]=8,e++,a[8]++;for(;e<=255;)ga[2*e+1]=9,e++,a[9]++;for(;e<=279;)ga[2*e+1]=7,e++,a[7]++;for(;e<=287;)ga[2*e+1]=8,e++,a[8]++;for(ja(ga,287,a),e=0;e<la;e++)va[2*e+1]=5,va[2*e]=Ca(e,5);wa=new xa(ga,ca,257,ua,fa),_a=new xa(va,ha,0,la,fa),Sa=new xa(new Array(0),da,0,19,7)}(),Fa=!0),e.l_desc=new Ea(e.dyn_ltree,wa),e.d_desc=new Ea(e.dyn_dtree,_a),e.bl_desc=new Ea(e.bl_tree,Sa),e.bi_buf=0,e.bi_valid=0,Ta(e)},ia._tr_stored_block=qa,ia._tr_flush_block=function(e,t,r,n){var i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<sa;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),Da(e,e.l_desc),Da(e,e.d_desc),o=function(e){var t;for(Ba(e,e.dyn_ltree,e.l_desc.max_code),Ba(e,e.dyn_dtree,e.d_desc.max_code),Da(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*pa[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==t?qa(e,t,r,n):4===e.strategy||a===i?(Aa(e,2+(n?1:0),3),La(e,ga,va)):(Aa(e,4+(n?1:0),3),function(e,t,r,n){var i;for(Aa(e,t-257,5),Aa(e,r-1,5),Aa(e,n-4,4),i=0;i<n;i++)Aa(e,e.bl_tree[2*pa[i]+1],3);za(e,e.dyn_ltree,t-1),za(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),La(e,e.dyn_ltree,e.dyn_dtree)),Ta(e),n&&Ma(e)},ia._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(ma[r]+sa+1)]++,e.dyn_dtree[2*Oa(t)]++),e.last_lit===e.lit_bufsize-1},ia._tr_align=function(e){Aa(e,2,3),Ra(e,256,ga),function(e){16===e.bi_valid?(Na(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)};var Ua=function(e,t,r,n){for(var i=65535&e,a=e>>>16&65535,o=0;0!==r;){r-=o=r>2e3?2e3:r;do{a=a+(i=i+t[n++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16};var Wa=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();var Ha,Za=function(e,t,r,n){var i=Wa,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[255&(e^t[o])];return-1^e},Ya={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},$a=ta,Va=ia,Ka=Ua,Ga=Za,Xa=Ya,Ja=-2,Qa=258,eo=262,to=103,ro=113,no=666;function io(e,t){return e.msg=Xa[t],t}function ao(e){return(e<<1)-(e>4?9:0)}function oo(e){for(var t=e.length;--t>=0;)e[t]=0}function so(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&($a.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function uo(e,t){Va._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,so(e.strm)}function lo(e,t){e.pending_buf[e.pending++]=t}function fo(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function co(e,t,r,n){var i=e.avail_in;return i>n&&(i=n),0===i?0:(e.avail_in-=i,$a.arraySet(t,e.input,e.next_in,i,r),1===e.state.wrap?e.adler=Ka(e.adler,t,i,r):2===e.state.wrap&&(e.adler=Ga(e.adler,t,i,r)),e.next_in+=i,e.total_in+=i,i)}function ho(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-eo?e.strstart-(e.w_size-eo):0,l=e.window,f=e.w_mask,c=e.prev,h=e.strstart+Qa,d=l[a+o-1],p=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(r=t)+o]===p&&l[r+o-1]===d&&l[r]===l[a]&&l[++r]===l[a+1]){a+=2,r++;do{}while(l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&a<h);if(n=Qa-(h-a),a=h-Qa,n>o){if(e.match_start=t,o=n,n>=s)break;d=l[a+o-1],p=l[a+o]}}}while((t=c[t&f])>u&&0!==--i);return o<=e.lookahead?o:e.lookahead}function po(e){var t,r,n,i,a,o=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=o+(o-eo)){$a.arraySet(e.window,e.window,o,o,0),e.match_start-=o,e.strstart-=o,e.block_start-=o,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=o?n-o:0}while(--r);t=r=o;do{n=e.prev[--t],e.prev[t]=n>=o?n-o:0}while(--r);i+=o}if(0===e.strm.avail_in)break;if(r=co(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=r,e.lookahead+e.insert>=3)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+3-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<eo&&0!==e.strm.avail_in)}function go(e,t){for(var r,n;;){if(e.lookahead<eo){if(po(e),e.lookahead<eo&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-eo&&(e.match_length=ho(e,r)),e.match_length>=3)if(n=Va._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=Va._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(uo(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(uo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(uo(e,!1),0===e.strm.avail_out)?1:2}function vo(e,t){for(var r,n,i;;){if(e.lookahead<eo){if(po(e),e.lookahead<eo&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-eo&&(e.match_length=ho(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=Va._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(uo(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=Va._tr_tally(e,0,e.window[e.strstart-1]))&&uo(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=Va._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(uo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(uo(e,!1),0===e.strm.avail_out)?1:2}function bo(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function mo(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new $a.Buf16(1146),this.dyn_dtree=new $a.Buf16(122),this.bl_tree=new $a.Buf16(78),oo(this.dyn_ltree),oo(this.dyn_dtree),oo(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new $a.Buf16(16),this.heap=new $a.Buf16(573),oo(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new $a.Buf16(573),oo(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function yo(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:ro,e.adler=2===t.wrap?0:1,t.last_flush=0,Va._tr_init(t),0):io(e,Ja)}function wo(e){var t,r=yo(e);return 0===r&&((t=e.state).window_size=2*t.w_size,oo(t.head),t.max_lazy_match=Ha[t.level].max_lazy,t.good_match=Ha[t.level].good_length,t.nice_match=Ha[t.level].nice_length,t.max_chain_length=Ha[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),r}function _o(e,t,r,n,i,a){if(!e)return Ja;var o=1;if(-1===t&&(t=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),i<1||i>9||8!==r||n<8||n>15||t<0||t>9||a<0||a>4)return io(e,Ja);8===n&&(n=9);var s=new mo;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new $a.Buf8(2*s.w_size),s.head=new $a.Buf16(s.hash_size),s.prev=new $a.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new $a.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,wo(e)}Ha=[new bo(0,0,0,0,function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(po(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,uo(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-eo&&(uo(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(uo(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(uo(e,!1),e.strm.avail_out),1)}),new bo(4,4,8,4,go),new bo(4,5,16,8,go),new bo(4,6,32,32,go),new bo(4,4,16,16,vo),new bo(8,16,32,32,vo),new bo(8,16,128,128,vo),new bo(8,32,128,256,vo),new bo(32,128,258,1024,vo),new bo(32,258,258,4096,vo)],na.deflateInit=function(e,t){return _o(e,t,8,15,8,0)},na.deflateInit2=_o,na.deflateReset=wo,na.deflateResetKeep=yo,na.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?Ja:(e.state.gzhead=t,0):Ja},na.deflate=function(e,t){var r,n,i,a;if(!e||!e.state||t>5||t<0)return e?io(e,Ja):Ja;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||n.status===no&&4!==t)return io(e,0===e.avail_out?-5:Ja);if(n.strm=e,r=n.last_flush,n.last_flush=t,42===n.status)if(2===n.wrap)e.adler=0,lo(n,31),lo(n,139),lo(n,8),n.gzhead?(lo(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),lo(n,255&n.gzhead.time),lo(n,n.gzhead.time>>8&255),lo(n,n.gzhead.time>>16&255),lo(n,n.gzhead.time>>24&255),lo(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),lo(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(lo(n,255&n.gzhead.extra.length),lo(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Ga(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(lo(n,0),lo(n,0),lo(n,0),lo(n,0),lo(n,0),lo(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),lo(n,3),n.status=ro);else{var o=8+(n.w_bits-8<<4)<<8;o|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(o|=32),o+=31-o%31,n.status=ro,fo(n,o),0!==n.strstart&&(fo(n,e.adler>>>16),fo(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=Ga(e.adler,n.pending_buf,n.pending-i,i)),so(e),i=n.pending,n.pending!==n.pending_buf_size));)lo(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=Ga(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Ga(e.adler,n.pending_buf,n.pending-i,i)),so(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,lo(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(e.adler=Ga(e.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Ga(e.adler,n.pending_buf,n.pending-i,i)),so(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,lo(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(e.adler=Ga(e.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.status=to)}else n.status=to;if(n.status===to&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&so(e),n.pending+2<=n.pending_buf_size&&(lo(n,255&e.adler),lo(n,e.adler>>8&255),e.adler=0,n.status=ro)):n.status=ro),0!==n.pending){if(so(e),0===e.avail_out)return n.last_flush=-1,0}else if(0===e.avail_in&&ao(t)<=ao(r)&&4!==t)return io(e,-5);if(n.status===no&&0!==e.avail_in)return io(e,-5);if(0!==e.avail_in||0!==n.lookahead||0!==t&&n.status!==no){var s=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(po(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=Va._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(uo(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(uo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(uo(e,!1),0===e.strm.avail_out)?1:2}(n,t):3===n.strategy?function(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=Qa){if(po(e),e.lookahead<=Qa&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=o[i=e.strstart-1])===o[++i]&&n===o[++i]&&n===o[++i]){a=e.strstart+Qa;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);e.match_length=Qa-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=Va._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=Va._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(uo(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(uo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(uo(e,!1),0===e.strm.avail_out)?1:2}(n,t):Ha[n.level].func(n,t);if(3!==s&&4!==s||(n.status=no),1===s||3===s)return 0===e.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===t?Va._tr_align(n):5!==t&&(Va._tr_stored_block(n,0,0,!1),3===t&&(oo(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),so(e),0===e.avail_out))return n.last_flush=-1,0}return 4!==t?0:n.wrap<=0?1:(2===n.wrap?(lo(n,255&e.adler),lo(n,e.adler>>8&255),lo(n,e.adler>>16&255),lo(n,e.adler>>24&255),lo(n,255&e.total_in),lo(n,e.total_in>>8&255),lo(n,e.total_in>>16&255),lo(n,e.total_in>>24&255)):(fo(n,e.adler>>>16),fo(n,65535&e.adler)),so(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)},na.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==to&&t!==ro&&t!==no?io(e,Ja):(e.state=null,t===ro?io(e,-3):0):Ja},na.deflateSetDictionary=function(e,t){var r,n,i,a,o,s,u,l,f=t.length;if(!e||!e.state)return Ja;if(2===(a=(r=e.state).wrap)||1===a&&42!==r.status||r.lookahead)return Ja;for(1===a&&(e.adler=Ka(e.adler,t,f,0)),r.wrap=0,f>=r.w_size&&(0===a&&(oo(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new $a.Buf8(r.w_size),$a.arraySet(l,t,f-r.w_size,r.w_size,0),t=l,f=r.w_size),o=e.avail_in,s=e.next_in,u=e.input,e.avail_in=f,e.next_in=0,e.input=t,po(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--i);r.strstart=n,r.lookahead=2,po(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=u,e.avail_in=o,r.wrap=a,0},na.deflateInfo="pako deflate (from Nodeca project)";var So={},ko=ta,xo=!0,Eo=!0;try{String.fromCharCode.apply(null,[0])}catch(e){xo=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){Eo=!1}for(var Oo=new ko.Buf8(256),No=0;No<256;No++)Oo[No]=No>=252?6:No>=248?5:No>=240?4:No>=224?3:No>=192?2:1;function Ao(e,t){if(t<65534&&(e.subarray&&Eo||!e.subarray&&xo))return String.fromCharCode.apply(null,ko.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}Oo[254]=Oo[254]=1,So.string2buf=function(e){var t,r,n,i,a,o=e.length,s=0;for(i=0;i<o;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new ko.Buf8(s),a=0,i=0;a<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|63&r):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t},So.buf2binstring=function(e){return Ao(e,e.length)},So.binstring2buf=function(e){for(var t=new ko.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t},So.buf2string=function(e,t){var r,n,i,a,o=t||e.length,s=new Array(2*o);for(n=0,r=0;r<o;)if((i=e[r++])<128)s[n++]=i;else if((a=Oo[i])>4)s[n++]=65533,r+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&r<o;)i=i<<6|63&e[r++],a--;a>1?s[n++]=65533:i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|1023&i)}return Ao(s,n)},So.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+Oo[e[r]]>t?r:t};var Ro=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Co=na,jo=ta,To=So,Mo=Ya,Po=Ro,Io=Object.prototype.toString;function Lo(e){if(!(this instanceof Lo))return new Lo(e);this.options=jo.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Po,this.strm.avail_out=0;var r=Co.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(Mo[r]);if(t.header&&Co.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(n="string"==typeof t.dictionary?To.string2buf(t.dictionary):"[object ArrayBuffer]"===Io.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=Co.deflateSetDictionary(this.strm,n)))throw new Error(Mo[r]);this._dict_set=!0}}function Do(e,t){var r=new Lo(t);if(r.push(e,!0),r.err)throw r.msg||Mo[r.err];return r.result}Lo.prototype.push=function(e,t){var r,n,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,"string"==typeof e?i.input=To.string2buf(e):"[object ArrayBuffer]"===Io.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new jo.Buf8(a),i.next_out=0,i.avail_out=a),1!==(r=Co.deflate(i,n))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==i.avail_out&&(0!==i.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(To.buf2binstring(jo.shrinkBuf(i.output,i.next_out))):this.onData(jo.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||0===i.avail_out)&&1!==r);return 4===n?(r=Co.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),i.avail_out=0,!0)},Lo.prototype.onData=function(e){this.chunks.push(e)},Lo.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=jo.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},ra.Deflate=Lo,ra.deflate=Do,ra.deflateRaw=function(e,t){return(t=t||{}).raw=!0,Do(e,t)},ra.gzip=function(e,t){return(t=t||{}).gzip=!0,Do(e,t)};var Bo={},zo={},Fo=ta,qo=15,Uo=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Wo=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Ho=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Zo=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Yo=ta,$o=Ua,Vo=Za,Ko=function(e,t){var r,n,i,a,o,s,u,l,f,c,h,d,p,g,v,b,m,y,w,_,S,k,x,E,O;r=e.state,n=e.next_in,E=e.input,i=n+(e.avail_in-5),a=e.next_out,O=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),u=r.dmax,l=r.wsize,f=r.whave,c=r.wnext,h=r.window,d=r.hold,p=r.bits,g=r.lencode,v=r.distcode,b=(1<<r.lenbits)-1,m=(1<<r.distbits)-1;e:do{p<15&&(d+=E[n++]<<p,p+=8,d+=E[n++]<<p,p+=8),y=g[d&b];t:for(;;){if(d>>>=w=y>>>24,p-=w,0===(w=y>>>16&255))O[a++]=65535&y;else{if(!(16&w)){if(64&w){if(32&w){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}y=g[(65535&y)+(d&(1<<w)-1)];continue t}for(_=65535&y,(w&=15)&&(p<w&&(d+=E[n++]<<p,p+=8),_+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=E[n++]<<p,p+=8,d+=E[n++]<<p,p+=8),y=v[d&m];;){if(d>>>=w=y>>>24,p-=w,16&(w=y>>>16&255)){if(S=65535&y,p<(w&=15)&&(d+=E[n++]<<p,(p+=8)<w&&(d+=E[n++]<<p,p+=8)),(S+=d&(1<<w)-1)>u){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=w,p-=w,S>(w=a-o)){if((w=S-w)>f&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(k=0,x=h,0===c){if(k+=l-w,w<_){_-=w;do{O[a++]=h[k++]}while(--w);k=a-S,x=O}}else if(c<w){if(k+=l+c-w,(w-=c)<_){_-=w;do{O[a++]=h[k++]}while(--w);if(k=0,c<_){_-=w=c;do{O[a++]=h[k++]}while(--w);k=a-S,x=O}}}else if(k+=c-w,w<_){_-=w;do{O[a++]=h[k++]}while(--w);k=a-S,x=O}for(;_>2;)O[a++]=x[k++],O[a++]=x[k++],O[a++]=x[k++],_-=3;_&&(O[a++]=x[k++],_>1&&(O[a++]=x[k++]))}else{k=a-S;do{O[a++]=O[k++],O[a++]=O[k++],O[a++]=O[k++],_-=3}while(_>2);_&&(O[a++]=O[k++],_>1&&(O[a++]=O[k++]))}break}if(64&w){e.msg="invalid distance code",r.mode=30;break e}y=v[(65535&y)+(d&(1<<w)-1)]}}break}}while(n<i&&a<s);n-=_=p>>3,d&=(1<<(p-=_<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=a<s?s-a+257:257-(a-s),r.hold=d,r.bits=p},Go=function(e,t,r,n,i,a,o,s){var u,l,f,c,h,d,p,g,v,b=s.bits,m=0,y=0,w=0,_=0,S=0,k=0,x=0,E=0,O=0,N=0,A=null,R=0,C=new Fo.Buf16(16),j=new Fo.Buf16(16),T=null,M=0;for(m=0;m<=qo;m++)C[m]=0;for(y=0;y<n;y++)C[t[r+y]]++;for(S=b,_=qo;_>=1&&0===C[_];_--);if(S>_&&(S=_),0===_)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(w=1;w<_&&0===C[w];w++);for(S<w&&(S=w),E=1,m=1;m<=qo;m++)if(E<<=1,(E-=C[m])<0)return-1;if(E>0&&(0===e||1!==_))return-1;for(j[1]=0,m=1;m<qo;m++)j[m+1]=j[m]+C[m];for(y=0;y<n;y++)0!==t[r+y]&&(o[j[t[r+y]]++]=y);if(0===e?(A=T=o,d=19):1===e?(A=Uo,R-=257,T=Wo,M-=257,d=256):(A=Ho,T=Zo,d=-1),N=0,y=0,m=w,h=a,k=S,x=0,f=-1,c=(O=1<<S)-1,1===e&&O>852||2===e&&O>592)return 1;for(;;){p=m-x,o[y]<d?(g=0,v=o[y]):o[y]>d?(g=T[M+o[y]],v=A[R+o[y]]):(g=96,v=0),u=1<<m-x,w=l=1<<k;do{i[h+(N>>x)+(l-=u)]=p<<24|g<<16|v}while(0!==l);for(u=1<<m-1;N&u;)u>>=1;if(0!==u?(N&=u-1,N+=u):N=0,y++,0===--C[m]){if(m===_)break;m=t[r+o[y]]}if(m>S&&(N&c)!==f){for(0===x&&(x=S),h+=w,E=1<<(k=m-x);k+x<_&&!((E-=C[k+x])<=0);)k++,E<<=1;if(O+=1<<k,1===e&&O>852||2===e&&O>592)return 1;i[f=N&c]=S<<24|k<<16|h-a}}return 0!==N&&(i[h+N]=m-x<<24|64<<16),s.bits=S,0},Xo=-2,Jo=12,Qo=30;function es(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ts(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Yo.Buf16(320),this.work=new Yo.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function rs(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Yo.Buf32(852),t.distcode=t.distdyn=new Yo.Buf32(592),t.sane=1,t.back=-1,0):Xo}function ns(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,rs(e)):Xo}function is(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Xo:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,ns(e))):Xo}function as(e,t){var r,n;return e?(n=new ts,e.state=n,n.window=null,0!==(r=is(e,t))&&(e.state=null),r):Xo}var os,ss,us=!0;function ls(e){if(us){var t;for(os=new Yo.Buf32(512),ss=new Yo.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Go(1,e.lens,0,288,os,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Go(2,e.lens,0,32,ss,0,e.work,{bits:5}),us=!1}e.lencode=os,e.lenbits=9,e.distcode=ss,e.distbits=5}function fs(e,t,r,n){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Yo.Buf8(a.wsize)),n>=a.wsize?(Yo.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>n&&(i=n),Yo.arraySet(a.window,t,r-n,i,a.wnext),(n-=i)?(Yo.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}zo.inflateReset=ns,zo.inflateReset2=is,zo.inflateResetKeep=rs,zo.inflateInit=function(e){return as(e,15)},zo.inflateInit2=as,zo.inflate=function(e,t){var r,n,i,a,o,s,u,l,f,c,h,d,p,g,v,b,m,y,w,_,S,k,x,E,O=0,N=new Yo.Buf8(4),A=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Xo;(r=e.state).mode===Jo&&(r.mode=13),o=e.next_out,i=e.output,u=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,l=r.hold,f=r.bits,c=s,h=u,k=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;f<16;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}if(2&r.wrap&&35615===l){r.check=0,N[0]=255&l,N[1]=l>>>8&255,r.check=Vo(r.check,N,2,0),l=0,f=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",r.mode=Qo;break}if(8!=(15&l)){e.msg="unknown compression method",r.mode=Qo;break}if(f-=4,S=8+(15&(l>>>=4)),0===r.wbits)r.wbits=S;else if(S>r.wbits){e.msg="invalid window size",r.mode=Qo;break}r.dmax=1<<S,e.adler=r.check=1,r.mode=512&l?10:Jo,l=0,f=0;break;case 2:for(;f<16;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}if(r.flags=l,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=Qo;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=Qo;break}r.head&&(r.head.text=l>>8&1),512&r.flags&&(N[0]=255&l,N[1]=l>>>8&255,r.check=Vo(r.check,N,2,0)),l=0,f=0,r.mode=3;case 3:for(;f<32;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}r.head&&(r.head.time=l),512&r.flags&&(N[0]=255&l,N[1]=l>>>8&255,N[2]=l>>>16&255,N[3]=l>>>24&255,r.check=Vo(r.check,N,4,0)),l=0,f=0,r.mode=4;case 4:for(;f<16;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}r.head&&(r.head.xflags=255&l,r.head.os=l>>8),512&r.flags&&(N[0]=255&l,N[1]=l>>>8&255,r.check=Vo(r.check,N,2,0)),l=0,f=0,r.mode=5;case 5:if(1024&r.flags){for(;f<16;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}r.length=l,r.head&&(r.head.extra_len=l),512&r.flags&&(N[0]=255&l,N[1]=l>>>8&255,r.check=Vo(r.check,N,2,0)),l=0,f=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=r.length)>s&&(d=s),d&&(r.head&&(S=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),Yo.arraySet(r.head.extra,n,a,d,S)),512&r.flags&&(r.check=Vo(r.check,n,d,a)),s-=d,a+=d,r.length-=d),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break e;d=0;do{S=n[a+d++],r.head&&S&&r.length<65536&&(r.head.name+=String.fromCharCode(S))}while(S&&d<s);if(512&r.flags&&(r.check=Vo(r.check,n,d,a)),s-=d,a+=d,S)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===s)break e;d=0;do{S=n[a+d++],r.head&&S&&r.length<65536&&(r.head.comment+=String.fromCharCode(S))}while(S&&d<s);if(512&r.flags&&(r.check=Vo(r.check,n,d,a)),s-=d,a+=d,S)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;f<16;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}if(l!==(65535&r.check)){e.msg="header crc mismatch",r.mode=Qo;break}l=0,f=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=Jo;break;case 10:for(;f<32;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}e.adler=r.check=es(l),l=0,f=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=l,r.bits=f,2;e.adler=r.check=1,r.mode=Jo;case Jo:if(5===t||6===t)break e;case 13:if(r.last){l>>>=7&f,f-=7&f,r.mode=27;break}for(;f<3;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}switch(r.last=1&l,f-=1,3&(l>>>=1)){case 0:r.mode=14;break;case 1:if(ls(r),r.mode=20,6===t){l>>>=2,f-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=Qo}l>>>=2,f-=2;break;case 14:for(l>>>=7&f,f-=7&f;f<32;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}if((65535&l)!=(l>>>16^65535)){e.msg="invalid stored block lengths",r.mode=Qo;break}if(r.length=65535&l,l=0,f=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(d=r.length){if(d>s&&(d=s),d>u&&(d=u),0===d)break e;Yo.arraySet(i,n,a,d,o),s-=d,a+=d,u-=d,o+=d,r.length-=d;break}r.mode=Jo;break;case 17:for(;f<14;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}if(r.nlen=257+(31&l),l>>>=5,f-=5,r.ndist=1+(31&l),l>>>=5,f-=5,r.ncode=4+(15&l),l>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Qo;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;f<3;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}r.lens[A[r.have++]]=7&l,l>>>=3,f-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,x={bits:r.lenbits},k=Go(0,r.lens,0,19,r.lencode,0,r.work,x),r.lenbits=x.bits,k){e.msg="invalid code lengths set",r.mode=Qo;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;b=(O=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,m=65535&O,!((v=O>>>24)<=f);){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}if(m<16)l>>>=v,f-=v,r.lens[r.have++]=m;else{if(16===m){for(E=v+2;f<E;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}if(l>>>=v,f-=v,0===r.have){e.msg="invalid bit length repeat",r.mode=Qo;break}S=r.lens[r.have-1],d=3+(3&l),l>>>=2,f-=2}else if(17===m){for(E=v+3;f<E;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}f-=v,S=0,d=3+(7&(l>>>=v)),l>>>=3,f-=3}else{for(E=v+7;f<E;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}f-=v,S=0,d=11+(127&(l>>>=v)),l>>>=7,f-=7}if(r.have+d>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Qo;break}for(;d--;)r.lens[r.have++]=S}}if(r.mode===Qo)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=Qo;break}if(r.lenbits=9,x={bits:r.lenbits},k=Go(1,r.lens,0,r.nlen,r.lencode,0,r.work,x),r.lenbits=x.bits,k){e.msg="invalid literal/lengths set",r.mode=Qo;break}if(r.distbits=6,r.distcode=r.distdyn,x={bits:r.distbits},k=Go(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,x),r.distbits=x.bits,k){e.msg="invalid distances set",r.mode=Qo;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(s>=6&&u>=258){e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=l,r.bits=f,Ko(e,h),o=e.next_out,i=e.output,u=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,l=r.hold,f=r.bits,r.mode===Jo&&(r.back=-1);break}for(r.back=0;b=(O=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,m=65535&O,!((v=O>>>24)<=f);){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}if(b&&!(240&b)){for(y=v,w=b,_=m;b=(O=r.lencode[_+((l&(1<<y+w)-1)>>y)])>>>16&255,m=65535&O,!(y+(v=O>>>24)<=f);){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}l>>>=y,f-=y,r.back+=y}if(l>>>=v,f-=v,r.back+=v,r.length=m,0===b){r.mode=26;break}if(32&b){r.back=-1,r.mode=Jo;break}if(64&b){e.msg="invalid literal/length code",r.mode=Qo;break}r.extra=15&b,r.mode=22;case 22:if(r.extra){for(E=r.extra;f<E;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}r.length+=l&(1<<r.extra)-1,l>>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;b=(O=r.distcode[l&(1<<r.distbits)-1])>>>16&255,m=65535&O,!((v=O>>>24)<=f);){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}if(!(240&b)){for(y=v,w=b,_=m;b=(O=r.distcode[_+((l&(1<<y+w)-1)>>y)])>>>16&255,m=65535&O,!(y+(v=O>>>24)<=f);){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}l>>>=y,f-=y,r.back+=y}if(l>>>=v,f-=v,r.back+=v,64&b){e.msg="invalid distance code",r.mode=Qo;break}r.offset=m,r.extra=15&b,r.mode=24;case 24:if(r.extra){for(E=r.extra;f<E;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}r.offset+=l&(1<<r.extra)-1,l>>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Qo;break}r.mode=25;case 25:if(0===u)break e;if(d=h-u,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Qo;break}d>r.wnext?(d-=r.wnext,p=r.wsize-d):p=r.wnext-d,d>r.length&&(d=r.length),g=r.window}else g=i,p=o-r.offset,d=r.length;d>u&&(d=u),u-=d,r.length-=d;do{i[o++]=g[p++]}while(--d);0===r.length&&(r.mode=21);break;case 26:if(0===u)break e;i[o++]=r.length,u--,r.mode=21;break;case 27:if(r.wrap){for(;f<32;){if(0===s)break e;s--,l|=n[a++]<<f,f+=8}if(h-=u,e.total_out+=h,r.total+=h,h&&(e.adler=r.check=r.flags?Vo(r.check,i,h,o-h):$o(r.check,i,h,o-h)),h=u,(r.flags?l:es(l))!==r.check){e.msg="incorrect data check",r.mode=Qo;break}l=0,f=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;f<32;){if(0===s)break e;s--,l+=n[a++]<<f,f+=8}if(l!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=Qo;break}l=0,f=0}r.mode=29;case 29:k=1;break e;case Qo:k=-3;break e;case 31:return-4;default:return Xo}return e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=l,r.bits=f,(r.wsize||h!==e.avail_out&&r.mode<Qo&&(r.mode<27||4!==t))&&fs(e,e.output,e.next_out,h-e.avail_out),c-=e.avail_in,h-=e.avail_out,e.total_in+=c,e.total_out+=h,r.total+=h,r.wrap&&h&&(e.adler=r.check=r.flags?Vo(r.check,i,h,e.next_out-h):$o(r.check,i,h,e.next_out-h)),e.data_type=r.bits+(r.last?64:0)+(r.mode===Jo?128:0)+(20===r.mode||15===r.mode?256:0),(0===c&&0===h||4===t)&&0===k&&(k=-5),k},zo.inflateEnd=function(e){if(!e||!e.state)return Xo;var t=e.state;return t.window&&(t.window=null),e.state=null,0},zo.inflateGetHeader=function(e,t){var r;return e&&e.state&&2&(r=e.state).wrap?(r.head=t,t.done=!1,0):Xo},zo.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?Xo:11===r.mode&&$o(1,t,n,0)!==r.check?-3:fs(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):Xo},zo.inflateInfo="pako inflate (from Nodeca project)";var cs={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};var hs=zo,ds=ta,ps=So,gs=cs,vs=Ya,bs=Ro,ms=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},ys=Object.prototype.toString;function ws(e){if(!(this instanceof ws))return new ws(e);this.options=ds.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new bs,this.strm.avail_out=0;var r=hs.inflateInit2(this.strm,t.windowBits);if(r!==gs.Z_OK)throw new Error(vs[r]);if(this.header=new ms,hs.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=ps.string2buf(t.dictionary):"[object ArrayBuffer]"===ys.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=hs.inflateSetDictionary(this.strm,t.dictionary))!==gs.Z_OK))throw new Error(vs[r])}function _s(e,t){var r=new ws(t);if(r.push(e,!0),r.err)throw r.msg||vs[r.err];return r.result}ws.prototype.push=function(e,t){var r,n,i,a,o,s=this.strm,u=this.options.chunkSize,l=this.options.dictionary,f=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?gs.Z_FINISH:gs.Z_NO_FLUSH,"string"==typeof e?s.input=ps.binstring2buf(e):"[object ArrayBuffer]"===ys.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new ds.Buf8(u),s.next_out=0,s.avail_out=u),(r=hs.inflate(s,gs.Z_NO_FLUSH))===gs.Z_NEED_DICT&&l&&(r=hs.inflateSetDictionary(this.strm,l)),r===gs.Z_BUF_ERROR&&!0===f&&(r=gs.Z_OK,f=!1),r!==gs.Z_STREAM_END&&r!==gs.Z_OK)return this.onEnd(r),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&r!==gs.Z_STREAM_END&&(0!==s.avail_in||n!==gs.Z_FINISH&&n!==gs.Z_SYNC_FLUSH)||("string"===this.options.to?(i=ps.utf8border(s.output,s.next_out),a=s.next_out-i,o=ps.buf2string(s.output,i),s.next_out=a,s.avail_out=u-a,a&&ds.arraySet(s.output,s.output,i,a,0),this.onData(o)):this.onData(ds.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(f=!0)}while((s.avail_in>0||0===s.avail_out)&&r!==gs.Z_STREAM_END);return r===gs.Z_STREAM_END&&(n=gs.Z_FINISH),n===gs.Z_FINISH?(r=hs.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===gs.Z_OK):n!==gs.Z_SYNC_FLUSH||(this.onEnd(gs.Z_OK),s.avail_out=0,!0)},ws.prototype.onData=function(e){this.chunks.push(e)},ws.prototype.onEnd=function(e){e===gs.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=ds.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Bo.Inflate=ws,Bo.inflate=_s,Bo.inflateRaw=function(e,t){return(t=t||{}).raw=!0,_s(e,t)},Bo.ungzip=_s;var Ss={};(0,ta.assign)(Ss,ra,Bo,cs);var ks="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,xs=Ss,Es=ni(),Os=ai,Ns=ks?"uint8array":"array";function As(e,t){Os.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}ea.magic="\b\0",Es.inherits(As,Os),As.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(Es.transformTo(Ns,e.data),!1)},As.prototype.flush=function(){Os.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},As.prototype.cleanUp=function(){Os.prototype.cleanUp.call(this),this._pako=null},As.prototype._createPako=function(){this._pako=new xs[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},ea.compressWorker=function(e){return new As("Deflate",e)},ea.uncompressWorker=function(){return new As("Inflate",{})};var Rs=ai;Qi.STORE={magic:"\0\0",compressWorker:function(){return new Rs("STORE compression")},uncompressWorker:function(){return new Rs("STORE decompression")}},Qi.DEFLATE=ea;var Cs={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\b"},js=ni(),Ts=ai,Ms=C,Ps=Ai,Is=Cs,Ls=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},Ds=function(e,t,r,n,i,a){var o,s,u=e.file,l=e.compression,f=a!==Ms.utf8encode,c=js.transformTo("string",a(u.name)),h=js.transformTo("string",Ms.utf8encode(u.name)),d=u.comment,p=js.transformTo("string",a(d)),g=js.transformTo("string",Ms.utf8encode(d)),v=h.length!==u.name.length,b=g.length!==d.length,m="",y="",w="",_=u.dir,S=u.date,k={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(k.crc32=e.crc32,k.compressedSize=e.compressedSize,k.uncompressedSize=e.uncompressedSize);var x=0;t&&(x|=8),f||!v&&!b||(x|=2048);var E,O,N,A=0,R=0;_&&(A|=16),"UNIX"===i?(R=798,A|=(E=u.unixPermissions,O=_,N=E,E||(N=O?16893:33204),(65535&N)<<16)):(R=20,A|=63&(u.dosPermissions||0)),o=S.getUTCHours(),o<<=6,o|=S.getUTCMinutes(),o<<=5,o|=S.getUTCSeconds()/2,s=S.getUTCFullYear()-1980,s<<=4,s|=S.getUTCMonth()+1,s<<=5,s|=S.getUTCDate(),v&&(y=Ls(1,1)+Ls(Ps(c),4)+h,m+="up"+Ls(y.length,2)+y),b&&(w=Ls(1,1)+Ls(Ps(p),4)+g,m+="uc"+Ls(w.length,2)+w);var C="";return C+="\n\0",C+=Ls(x,2),C+=l.magic,C+=Ls(o,2),C+=Ls(s,2),C+=Ls(k.crc32,4),C+=Ls(k.compressedSize,4),C+=Ls(k.uncompressedSize,4),C+=Ls(c.length,2),C+=Ls(m.length,2),{fileRecord:Is.LOCAL_FILE_HEADER+C+c+m,dirRecord:Is.CENTRAL_FILE_HEADER+Ls(R,2)+C+Ls(p.length,2)+"\0\0\0\0"+Ls(A,4)+Ls(n,4)+c+m+p}},Bs=function(e){return Is.DATA_DESCRIPTOR+Ls(e.crc32,4)+Ls(e.compressedSize,4)+Ls(e.uncompressedSize,4)};function zs(e,t,r,n){Ts.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}js.inherits(zs,Ts),zs.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,Ts.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},zs.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=Ds(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},zs.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=Ds(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:Bs(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},zs.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=function(e,t,r,n,i){var a=js.transformTo("string",i(n));return Is.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Ls(e,2)+Ls(e,2)+Ls(t,4)+Ls(r,4)+Ls(a.length,2)+a}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},zs.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},zs.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},zs.prototype.resume=function(){return!!Ts.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},zs.prototype.error=function(e){var t=this._sources;if(!Ts.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},zs.prototype.lock=function(){Ts.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};var Fs=Qi,qs=zs;Ji.generateWorker=function(e,t,r){var n=new qs(t.streamFiles,r,t.platform,t.encodeFileName),i=0;try{e.forEach(function(e,r){i++;var a=function(e,t){var r=e||t,n=Fs[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(r.options.compression,t.compression),o=r.options.compressionOptions||t.compressionOptions||{},s=r.dir,u=r.date;r._compressWorker(a,o).withStreamInfo("file",{name:e,dir:s,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)}),n.entriesCount=i}catch(e){n.error(e)}return n};var Us=ni(),Ws=ai;function Hs(e,t){Ws.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}Us.inherits(Hs,Ws),Hs.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},Hs.prototype.pause=function(){return!!Ws.prototype.pause.call(this)&&(this._stream.pause(),!0)},Hs.prototype.resume=function(){return!!Ws.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var Zs=Hs,Ys=C,$s=ni(),Vs=ai,Ks=wi,Gs=_i,Xs=qi,Js=Xi,Qs=Ji,eu=Qn,tu=Zs,ru=function(e,t,r){var n,i=$s.getTypeOf(t),a=$s.extend(r||{},Gs);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(e=iu(e)),a.createFolders&&(n=nu(e))&&au.call(this,n,!0);var o="string"===i&&!1===a.binary&&!1===a.base64;r&&void 0!==r.binary||(a.binary=!o),(t instanceof Xs&&0===t.uncompressedSize||a.dir||!t||0===t.length)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",i="string");var s=null;s=t instanceof Xs||t instanceof Vs?t:eu.isNode&&eu.isStream(t)?new tu(e,t):$s.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new Js(e,s,a);this.files[e]=u},nu=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},iu=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},au=function(e,t){return t=void 0!==t?t:Gs.createFolders,e=iu(e),this.files[e]||ru.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function ou(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var su={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach(function(r,n){e(r,n)&&t.push(n)}),t},file:function(e,t,r){if(1===arguments.length){if(ou(e)){var n=e;return this.filter(function(e,t){return!t.dir&&n.test(e)})}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,ru.call(this,e,t,r),this},folder:function(e){if(!e)return this;if(ou(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=this.root+e,r=au.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter(function(t,r){return r.name.slice(0,e.length)===e}),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=$s.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Ys.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");$s.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=Qs.generateWorker(this,r,n)}catch(e){(t=new Vs("error")).error(e)}return new Ks(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},uu=su,lu=ni();function fu(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}fu.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return lu.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}};var cu=fu,hu=cu;function du(e){hu.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}ni().inherits(du,hu),du.prototype.byteAt=function(e){return this.data[this.zero+e]},du.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1},du.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[3]},du.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var pu=du,gu=cu;function vu(e){gu.call(this,e)}ni().inherits(vu,gu),vu.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},vu.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},vu.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},vu.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var bu=vu,mu=pu;function yu(e){mu.call(this,e)}ni().inherits(yu,mu),yu.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var wu=yu,_u=wu;function Su(e){_u.call(this,e)}ni().inherits(Su,_u),Su.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var ku=Su,xu=ni(),Eu=Pe,Ou=pu,Nu=bu,Au=ku,Ru=wu,Cu=function(e){var t=xu.getTypeOf(e);return xu.checkSupport(t),"string"!==t||Eu.uint8array?"nodebuffer"===t?new Au(e):Eu.uint8array?new Ru(xu.transformTo("uint8array",e)):new Ou(xu.transformTo("array",e)):new Nu(e)},ju=Cu,Tu=ni(),Mu=qi,Pu=Ai,Iu=C,Lu=Qi,Du=Pe;function Bu(e,t){this.options=e,this.loadOptions=t}Bu.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=function(e){for(var t in Lu)if(Object.prototype.hasOwnProperty.call(Lu,t)&&Lu[t].magic===e)return Lu[t];return null}(this.compressionMethod),null===t)throw new Error("Corrupted zip : compression "+Tu.pretty(this.compressionMethod)+" unknown (inner file : "+Tu.transformTo("string",this.fileName)+")");this.decompressed=new Mu(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=ju(this.extraFields[1].value);this.uncompressedSize===Tu.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===Tu.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===Tu.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===Tu.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=Du.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Iu.utf8decode(this.fileName),this.fileCommentStr=Iu.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=Tu.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=Tu.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=ju(e.value);return 1!==t.readInt(1)||Pu(this.fileName)!==t.readInt(4)?null:Iu.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=ju(e.value);return 1!==t.readInt(1)||Pu(this.fileComment)!==t.readInt(4)?null:Iu.utf8decode(t.readData(e.length-5))}return null}};var zu=Bu,Fu=Cu,qu=ni(),Uu=Cs,Wu=zu,Hu=Pe;function Zu(e){this.files=[],this.loadOptions=e}Zu.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+qu.pretty(t)+", expected "+qu.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=Hu.uint8array?"uint8array":"array",r=qu.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(Uu.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(Uu.CENTRAL_FILE_HEADER);)(e=new Wu({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(Uu.CENTRAL_DIRECTORY_END);if(e<0)throw!this.isSignature(0,Uu.LOCAL_FILE_HEADER)?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory");this.reader.setIndex(e);var t=e;if(this.checkSignature(Uu.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===qu.MAX_VALUE_16BITS||this.diskWithCentralDirStart===qu.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===qu.MAX_VALUE_16BITS||this.centralDirRecords===qu.MAX_VALUE_16BITS||this.centralDirSize===qu.MAX_VALUE_32BITS||this.centralDirOffset===qu.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(Uu.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(Uu.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Uu.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Uu.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(Uu.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(n>0)this.isSignature(t,Uu.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=Fu(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var Yu=Zu,$u=ni(),Vu=ri,Ku=C,Gu=Yu,Xu=Ti,Ju=Qn;function Qu(e){return new Vu.Promise(function(t,r){var n=e.decompressed.getContentWorker().pipe(new Xu);n.on("error",function(e){r(e)}).on("end",function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}function el(){if(!(this instanceof el))return new el;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new el;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}el.prototype=uu,el.prototype.loadAsync=function(e,t){var r=this;return t=$u.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Ku.utf8decode}),Ju.isNode&&Ju.isStream(e)?Vu.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):$u.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var r=new Gu(t);return r.load(e),r}).then(function(e){var r=[Vu.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var i=0;i<n.length;i++)r.push(Qu(n[i]));return Vu.Promise.all(r)}).then(function(e){for(var n=e.shift(),i=n.files,a=0;a<i.length;a++){var o=i[a],s=o.fileNameStr,u=$u.resolve(o.fileNameStr);r.file(u,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:t.createFolders}),o.dir||(r.file(u).unsafeOriginalName=s)}return n.zipComment.length&&(r.comment=n.zipComment),r})},el.support=Pe,el.defaults=_i,el.version="3.10.1",el.loadAsync=function(e,t){return(new el).loadAsync(e,t)},el.external=ri;var tl=el;function rl(e,t){var r=(t=t||{}).pos||0,n=!!t.keepComments,i=!!t.keepWhitespace,a="<".charCodeAt(0),o=">".charCodeAt(0),s="-".charCodeAt(0),u="/".charCodeAt(0),l="!".charCodeAt(0),f="'".charCodeAt(0),c='"'.charCodeAt(0),h="[".charCodeAt(0),d="]".charCodeAt(0);function p(t){for(var f=[];e[r];)if(e.charCodeAt(r)==a){if(e.charCodeAt(r+1)===u){var c=r+2;if(r=e.indexOf(">",r),-1==e.substring(c,r).indexOf(t)){var p=e.substring(0,r).split("\n");throw new Error("Unexpected close tag\nLine: "+(p.length-1)+"\nColumn: "+(p[p.length-1].length+1)+"\nChar: "+e[r])}return r+1&&(r+=1),f}if(e.charCodeAt(r+1)===l){if(e.charCodeAt(r+2)==s){const t=r;for(;-1!==r&&(e.charCodeAt(r)!==o||e.charCodeAt(r-1)!=s||e.charCodeAt(r-2)!=s||-1==r);)r=e.indexOf(">",r+1);-1===r&&(r=e.length),n&&f.push(e.substring(t,r+1))}else{if(e.charCodeAt(r+2)===h&&e.charCodeAt(r+8)===h&&"cdata"===e.substr(r+3,5).toLowerCase()){var v=e.indexOf("]]>",r);-1==v?(f.push(e.substr(r+9)),r=e.length):(f.push(e.substring(r+9,v)),r=v+3);continue}{const t=r+1;r+=2;for(var b=!1;(e.charCodeAt(r)!==o||!0===b)&&e[r];)e.charCodeAt(r)===h?b=!0:!0===b&&e.charCodeAt(r)===d&&(b=!1),r++;f.push(e.substring(t,r))}}r++;continue}var m=y();f.push(m),"?"===m.tagName[0]&&(f.push(...m.children),m.children=[])}else{var w=g();if(i)w.length>0&&f.push(w);else{var _=w.trim();_.length>0&&f.push(_)}r++}return f}function g(){var t=r;return-2===(r=e.indexOf("<",r)-1)&&(r=e.length),e.slice(t,r+1)}var v="\r\n\t>/= ";function b(){for(var t=r;-1===v.indexOf(e[r])&&e[r];)r++;return e.slice(t,r)}var m=t.noChildNodes||["img","br","input","meta","link","hr"];function y(){r++;const t=b(),n={};let i=[];for(;e.charCodeAt(r)!==o&&e[r];){var a=e.charCodeAt(r);if(a>64&&a<91||a>96&&a<123){for(var s=b(),l=e.charCodeAt(r);l&&l!==f&&l!==c&&!(l>64&&l<91||l>96&&l<123)&&l!==o;)r++,l=e.charCodeAt(r);if(l===f||l===c){var h=w();if(-1===r)return{tagName:t,attributes:n,children:i}}else h=null,r--;n[s]=h}r++}if(e.charCodeAt(r-1)!==u)if("script"==t){var d=r+1;r=e.indexOf("<\/script>",r),i=[e.slice(d,r)],r+=9}else if("style"==t){d=r+1;r=e.indexOf("</style>",r),i=[e.slice(d,r)],r+=8}else-1===m.indexOf(t)?(r++,i=p(t)):r++;else r++;return{tagName:t,attributes:n,children:i}}function w(){var t=e[r],n=r+1;return r=e.indexOf(t,n),e.slice(n,r)}function _(){var r=new RegExp("\\s"+t.attrName+"\\s*=['\"]"+t.attrValue+"['\"]").exec(e);return r?r.index:-1}var S=null;if(void 0!==t.attrValue){t.attrName=t.attrName||"id";for(S=[];-1!==(r=_());)-1!==(r=e.lastIndexOf("<",r))&&S.push(y()),e=e.substr(r),r=0}else S=t.parseNode?y():p("");return t.filter&&(S=il(S,t.filter)),t.simplify?nl(Array.isArray(S)?S:[S]):(t.setPos&&(S.pos=r),S)}function nl(e){var t={};if(!e.length)return"";if(1===e.length&&"string"==typeof e[0])return e[0];for(var r in e.forEach(function(e){if("object"==typeof e){t[e.tagName]||(t[e.tagName]=[]);var r=nl(e.children);t[e.tagName].push(r),Object.keys(e.attributes).length&&"string"!=typeof r&&(r._attributes=e.attributes)}}),t)1==t[r].length&&(t[r]=t[r][0]);return t}function il(e,t,r=0,n=""){var i=[];return e.forEach(function(e,a){if("object"==typeof e&&t(e,a,r,n)&&i.push(e),e.children){var o=il(e.children,t,r+1,(n?n+".":"")+a+"."+e.tagName);i=i.concat(o)}}),i}var al,ol,sl,ul,ll,fl={},cl={get exports(){return fl},set exports(e){fl=e}},hl={},dl={get exports(){return hl},set exports(e){hl=e}},pl={},gl={get exports(){return pl},set exports(e){pl=e}};function vl(){return al||(al=1,function(e){e.exports=Zr}(gl)),pl}function bl(){if(sl)return ol;function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach(function(e){r(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function r(e,t,r){return(t=i(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}sl=1;var a=nn.Buffer,o=hn.inspect,s=o&&o.custom||"inspect";function u(e,t,r){a.prototype.copy.call(e,t,r)}return ol=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var r,i,l;return r=e,i=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t=a.allocUnsafe(e>>>0),r=this.head,n=0;r;)u(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,a=e>i.length?i.length:e;if(a===i.length?n+=i:n+=i.slice(0,e),0===(e-=a)){a===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(a));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:s,value:function(e,r){return o(this,t(t({},r),{},{depth:0,customInspect:!1}))}}],i&&n(r.prototype,i),l&&n(r,l),Object.defineProperty(r,"prototype",{writable:!1}),e}(),ol}function ml(){if(ll)return ul;function e(e,n){r(e,n),t(e)}function t(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function r(e,t){e.emit("error",t)}return ll=1,ul={destroy:function(n,i){var a=this,o=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return o||s?(i?i(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Ye(r,this,n)):Ye(r,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(r){!i&&r?a._writableState?a._writableState.errorEmitted?Ye(t,a):(a._writableState.errorEmitted=!0,Ye(e,a,r)):Ye(e,a,r):i?(Ye(t,a),i(r)):Ye(t,a)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}},ul}var yl,wl,_l,Sl,kl,xl,El,Ol={};function Nl(){if(yl)return Ol;yl=1;const e={};function t(t,r,n){n||(n=Error);class i extends n{constructor(e,t,n){super(function(e,t,n){return"string"==typeof r?r:r(e,t,n)}(e,t,n))}}i.prototype.name=n.name,i.prototype.code=t,e[t]=i}function r(e,t){if(Array.isArray(e)){const r=e.length;return e=e.map(e=>String(e)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}return t("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(e,t,n){let i;var a,o;let s;if("string"==typeof t&&(a="not ",t.substr(!o||o<0?0:+o,a.length)===a)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s=`The ${e} ${i} ${r(t,"type")}`;else{const n=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s=`The "${e}" ${n} ${i} ${r(t,"type")}`}return s+=". Received type "+typeof n,s},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ol.codes=e,Ol}function Al(){if(_l)return wl;_l=1;var e=Nl().codes.ERR_INVALID_OPT_VALUE;return wl={getHighWaterMark:function(t,r,n,i){var a=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(r,i,n);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0)throw new e(i?n:"highWaterMark",a);return Math.floor(a)}return t.objectMode?16:16384}}}function Rl(){if(kl)return Sl;function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var t;kl=1,Sl=S,S.WritableState=_;var r={deprecate:An()},n=vl(),i=nn.Buffer,a=(void 0!==o?o:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var s,u=ml(),l=Al().getHighWaterMark,f=Nl().codes,c=f.ERR_INVALID_ARG_TYPE,h=f.ERR_METHOD_NOT_IMPLEMENTED,d=f.ERR_MULTIPLE_CALLBACK,p=f.ERR_STREAM_CANNOT_PIPE,g=f.ERR_STREAM_DESTROYED,v=f.ERR_STREAM_NULL_VALUES,b=f.ERR_STREAM_WRITE_AFTER_END,m=f.ERR_UNKNOWN_ENCODING,y=u.errorOrDestroy;function w(){}function _(r,n,i){t=t||Cl(),r=r||{},"boolean"!=typeof i&&(i=n instanceof t),this.objectMode=!!r.objectMode,i&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=l(this,r,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===r.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new d;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(Ye(i,n),Ye(A,e,t),e._writableState.errorEmitted=!0,y(e,n)):(i(n),e._writableState.errorEmitted=!0,y(e,n),A(e,t))}(e,r,n,t,i);else{var a=O(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||E(e,r),n?Ye(x,e,r,a,i):x(e,r,a,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function S(e){var r=this instanceof(t=t||Cl());if(!r&&!s.call(S,this))return new S(e);this._writableState=new _(e,this,r),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),n.call(this)}function k(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function x(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),A(e,t)}function E(t,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(t._writev&&n&&n.next){var i=r.bufferedRequestCount,a=new Array(i),o=r.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)a[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;a.allBuffers=u,k(t,r,!0,r.length,a,"",o.finish),r.pendingcb++,r.lastBufferedRequest=null,o.next?(r.corkedRequestsFree=o.next,o.next=null):r.corkedRequestsFree=new e(r),r.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,f=n.encoding,c=n.callback;if(k(t,r,!1,r.objectMode?1:l.length,l,f,c),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function O(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function N(e,t){e._final(function(r){t.pendingcb--,r&&y(e,r),t.prefinished=!0,e.emit("prefinish"),A(e,t)})}function A(e,t){var r=O(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,Ye(N,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}return fn(S,n),_.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(_.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===S&&(e&&e._writableState instanceof _)}})):s=function(e){return e instanceof this},S.prototype.pipe=function(){y(this,new p)},S.prototype.write=function(e,t,r){var n,o=this._writableState,s=!1,u=!o.objectMode&&(n=e,i.isBuffer(n)||n instanceof a);return u&&!i.isBuffer(e)&&(e=function(e){return i.from(e)}(e)),"function"==typeof t&&(r=t,t=null),u?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=w),o.ending?function(e,t){var r=new b;y(e,r),Ye(t,r)}(this,r):(u||function(e,t,r,n){var i;return null===r?i=new v:"string"==typeof r||t.objectMode||(i=new c("chunk",["string","Buffer"],r)),!i||(y(e,i),Ye(n,i),!1)}(this,o,e,r))&&(o.pendingcb++,s=function(e,t,r,n,a,o){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,r));return t}(t,n,a);n!==s&&(r=!0,a="buffer",n=s)}var u=t.objectMode?1:n.length;t.length+=u;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:a,isBuf:r,callback:o,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else k(e,t,!1,u,n,a,o);return l}(this,o,u,e,t,r)),s},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||E(this,e))},S.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new m(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,r){r(new h("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,A(e,t),r&&(t.finished?Ye(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=u.destroy,S.prototype._undestroy=u.undestroy,S.prototype._destroy=function(e,t){t(e)},Sl}function Cl(){if(El)return xl;El=1;var e=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};xl=o;var t=ef(),r=Rl();fn(o,t);for(var n=e(r.prototype),i=0;i<n.length;i++){var a=n[i];o.prototype[a]||(o.prototype[a]=r.prototype[a])}function o(e){if(!(this instanceof o))return new o(e);t.call(this,e),r.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",s)))}function s(){this._writableState.ended||Ye(u,this)}function u(e){e.end()}return Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(o.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(o.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),xl}var jl,Tl,Ml,Pl,Il,Ll,Dl,Bl,zl,Fl,ql,Ul,Wl,Hl,Zl,Yl,$l={},Vl={},Kl={get exports(){return Vl},set exports(e){Vl=e}};function Gl(){if(Tl)return $l;Tl=1;var e=(jl||(jl=1,function(e,t){var r=nn,n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),a.prototype=Object.create(n.prototype),i(n,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}(Kl,Vl)),Vl).Buffer,t=e.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 r(r){var n;switch(this.encoding=function(r){var n=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}}(r);if("string"!=typeof n&&(e.isEncoding===t||!t(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=a,this.end=o,n=4;break;case"utf8":this.fillLast=i,n=4;break;case"base64":this.text=s,this.end=u,n=3;break;default:return this.write=l,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(n)}function n(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){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!==r?r: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 a(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function o(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function s(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?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-r))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}return $l.StringDecoder=r,r.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},r.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},r.prototype.text=function(e,t){var r=function(e,t,r){var i=t.length-1;if(i<r)return 0;var a=n(t[i]);if(a>=0)return a>0&&(e.lastNeed=a-1),a;if(--i<r||-2===a)return 0;if(a=n(t[i]),a>=0)return a>0&&(e.lastNeed=a-2),a;if(--i<r||-2===a)return 0;if(a=n(t[i]),a>=0)return a>0&&(2===a?a=0:e.lastNeed=a-3),a;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},r.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},$l}function Xl(){if(Pl)return Ml;Pl=1;var e=Nl().codes.ERR_STREAM_PREMATURE_CLOSE;function t(){}return Ml=function r(n,i,a){if("function"==typeof i)return r(n,null,i);i||(i={}),a=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(a||t);var o=i.readable||!1!==i.readable&&n.readable,s=i.writable||!1!==i.writable&&n.writable,u=function(){n.writable||f()},l=n._writableState&&n._writableState.finished,f=function(){s=!1,l=!0,o||a.call(n)},c=n._readableState&&n._readableState.endEmitted,h=function(){o=!1,c=!0,s||a.call(n)},d=function(e){a.call(n,e)},p=function(){var t;return o&&!c?(n._readableState&&n._readableState.ended||(t=new e),a.call(n,t)):s&&!l?(n._writableState&&n._writableState.ended||(t=new e),a.call(n,t)):void 0},g=function(){n.req.on("finish",f)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(n)?s&&!n._writableState&&(n.on("end",u),n.on("close",u)):(n.on("complete",f),n.on("abort",p),n.req?g():n.on("request",g)),n.on("end",h),n.on("finish",f),!1!==i.error&&n.on("error",d),n.on("close",p),function(){n.removeListener("complete",f),n.removeListener("abort",p),n.removeListener("request",g),n.req&&n.req.removeListener("finish",f),n.removeListener("end",u),n.removeListener("close",u),n.removeListener("finish",f),n.removeListener("end",h),n.removeListener("error",d),n.removeListener("close",p)}},Ml}function Jl(){if(Ll)return Il;var e;function t(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Ll=1;var r=Xl(),n=Symbol("lastResolve"),i=Symbol("lastReject"),a=Symbol("error"),o=Symbol("ended"),s=Symbol("lastPromise"),u=Symbol("handlePromise"),l=Symbol("stream");function f(e,t){return{value:e,done:t}}function c(e){var t=e[n];if(null!==t){var r=e[l].read();null!==r&&(e[s]=null,e[n]=null,e[i]=null,t(f(r,!1)))}}function h(e){Ye(c,e)}var d=Object.getPrototypeOf(function(){}),p=Object.setPrototypeOf((t(e={get stream(){return this[l]},next:function(){var e=this,t=this[a];if(null!==t)return Promise.reject(t);if(this[o])return Promise.resolve(f(void 0,!0));if(this[l].destroyed)return new Promise(function(t,r){Ye(function(){e[a]?r(e[a]):t(f(void 0,!0))})});var r,n=this[s];if(n)r=new Promise(function(e,t){return function(r,n){e.then(function(){t[o]?r(f(void 0,!0)):t[u](r,n)},n)}}(n,this));else{var i=this[l].read();if(null!==i)return Promise.resolve(f(i,!1));r=new Promise(this[u])}return this[s]=r,r}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var e=this;return new Promise(function(t,r){e[l].destroy(null,function(e){e?r(e):t(f(void 0,!0))})})}),e),d);return Il=function(e){var c,d=Object.create(p,(t(c={},l,{value:e,writable:!0}),t(c,n,{value:null,writable:!0}),t(c,i,{value:null,writable:!0}),t(c,a,{value:null,writable:!0}),t(c,o,{value:e._readableState.endEmitted,writable:!0}),t(c,u,{value:function(e,t){var r=d[l].read();r?(d[s]=null,d[n]=null,d[i]=null,e(f(r,!1))):(d[n]=e,d[i]=t)},writable:!0}),c));return d[s]=null,r(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=d[i];return null!==t&&(d[s]=null,d[n]=null,d[i]=null,t(e)),void(d[a]=e)}var r=d[n];null!==r&&(d[s]=null,d[n]=null,d[i]=null,r(f(void 0,!0))),d[o]=!0}),e.on("readable",h.bind(null,d)),d},Il}function Ql(){if(Bl)return Dl;function e(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Bl=1;var n=Nl().codes.ERR_INVALID_ARG_TYPE;return Dl=function(i,a,o){var s;if(a&&"function"==typeof a.next)s=a;else if(a&&a[Symbol.asyncIterator])s=a[Symbol.asyncIterator]();else{if(!a||!a[Symbol.iterator])throw new n("iterable",["Iterable"],a);s=a[Symbol.iterator]()}var u=new i(function(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach(function(t){r(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({objectMode:!0},o)),l=!1;function f(){return c.apply(this,arguments)}function c(){var t;return t=function*(){try{var e=yield s.next(),t=e.value;e.done?u.push(null):u.push(yield t)?f():l=!1}catch(e){u.destroy(e)}},c=function(){var r=this,n=arguments;return new Promise(function(i,a){var o=t.apply(r,n);function s(t){e(o,i,a,s,u,"next",t)}function u(t){e(o,i,a,s,u,"throw",t)}s(void 0)})},c.apply(this,arguments)}return u._read=function(){l||(l=!0,f())},u},Dl}function ef(){if(Fl)return zl;var e;Fl=1,zl=S,S.ReadableState=_,Gr.EventEmitter;var t=function(e,t){return e.listeners(t).length},r=vl(),n=nn.Buffer,i=(void 0!==o?o:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var a,s=hn;a=s&&s.debuglog?s.debuglog("stream"):function(){};var u,l,f,c=bl(),h=ml(),d=Al().getHighWaterMark,p=Nl().codes,g=p.ERR_INVALID_ARG_TYPE,v=p.ERR_STREAM_PUSH_AFTER_EOF,b=p.ERR_METHOD_NOT_IMPLEMENTED,m=p.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;fn(S,r);var y=h.errorOrDestroy,w=["error","close","destroy","pause","resume"];function _(t,r,n){e=e||Cl(),t=t||{},"boolean"!=typeof n&&(n=r instanceof e),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=d(this,t,"readableHighWaterMark",n),this.buffer=new c,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(u||(u=Gl().StringDecoder),this.decoder=new u(t.encoding),this.encoding=t.encoding)}function S(t){if(e=e||Cl(),!(this instanceof S))return new S(t);var n=this instanceof e;this._readableState=new _(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),r.call(this)}function k(e,t,r,o,s){a("readableAddChunk",t);var u,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(a("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?N(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}(e,l);else if(s||(u=function(e,t){var r;a=t,n.isBuffer(a)||a instanceof i||"string"==typeof t||void 0===t||e.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],t));var a;return r}(l,t)),u)y(e,u);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===n.prototype||(t=function(e){return n.from(e)}(t)),o)l.endEmitted?y(e,new m):x(e,l,t,!0);else if(l.ended)y(e,new v);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?x(e,l,t,!1):R(e,l)):x(e,l,t,!1)}else o||(l.reading=!1,R(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function x(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&N(e)),R(e,t)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=h.destroy,S.prototype._undestroy=h.undestroy,S.prototype._destroy=function(e,t){t(e)},S.prototype.push=function(e,t){var r,i=this._readableState;return i.objectMode?r=!0:"string"==typeof e&&((t=t||i.defaultEncoding)!==i.encoding&&(e=n.from(e,t),t=""),r=!0),k(this,e,t,!1,r)},S.prototype.unshift=function(e){return k(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(e){u||(u=Gl().StringDecoder);var t=new u(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var E=1073741824;function O(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=E?e=E:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function N(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,Ye(A,e))}function A(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,P(e)}function R(e,t){t.readingMore||(t.readingMore=!0,Ye(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(a("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function j(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function T(e){a("readable nexttick read 0"),e.read(0)}function M(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),P(e),t.flowing&&!t.reading&&e.read(0)}function P(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function I(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function L(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,Ye(D,t,e))}function D(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function B(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}return S.prototype.read=function(e){a("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return a("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):N(this),null;if(0===(e=O(e,t))&&t.ended)return 0===t.length&&L(this),null;var n,i=t.needReadable;return a("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&a("length less than watermark",i=!0),t.ended||t.reading?a("reading or ended",i=!1):i&&(a("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=O(r,t))),null===(n=e>0?I(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&L(this)),null!==n&&this.emit("data",n),n},S.prototype._read=function(e){y(this,new b("_read()"))},S.prototype.pipe=function(e,r){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,a("pipe count=%d opts=%j",i.pipesCount,r);var o=(!r||!1!==r.end)&&e!==at.stdout&&e!==at.stderr?u:g;function s(t,r){a("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,a("cleanup"),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("drain",l),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",u),n.removeListener("end",g),n.removeListener("data",c),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function u(){a("onend"),e.end()}i.endEmitted?Ye(o):n.once("end",o),e.on("unpipe",s);var l=function(e){return function(){var r=e._readableState;a("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&t(e,"data")&&(r.flowing=!0,P(e))}}(n);e.on("drain",l);var f=!1;function c(t){a("ondata");var r=e.write(t);a("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==B(i.pipes,e))&&!f&&(a("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(r){a("onerror",r),g(),e.removeListener("error",h),0===t(e,"error")&&y(e,r)}function d(){e.removeListener("finish",p),g()}function p(){a("onfinish"),e.removeListener("close",d),g()}function g(){a("unpipe"),n.unpipe(e)}return n.on("data",c),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",d),e.once("finish",p),e.emit("pipe",n),i.flowing||(a("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=B(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},S.prototype.on=function(e,t){var n=r.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,a("on readable",i.length,i.reading),i.length?N(this):i.reading||Ye(T,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=r.prototype.removeListener.call(this,e,t);return"readable"===e&&Ye(j,this),n},S.prototype.removeAllListeners=function(e){var t=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||Ye(j,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Ye(M,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(a("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(a("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<w.length;o++)e.on(w[o],this.emit.bind(this,w[o]));return this._read=function(t){a("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=Jl()),l(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=I,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(e,t){return void 0===f&&(f=Ql()),f(S,e,t)}),zl}function tf(){if(Ul)return ql;Ul=1,ql=s;var e=Nl().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,r=e.ERR_MULTIPLE_CALLBACK,n=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=e.ERR_TRANSFORM_WITH_LENGTH_0,a=Cl();function o(e,t){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(null===i)return this.emit("error",new r);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),i(e);var a=this._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);a.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",u)}function u(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?l(this,null,null):this._flush(function(t,r){l(e,t,r)})}function l(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new i;if(e._transformState.transforming)throw new n;return e.push(null)}return fn(s,a),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},s.prototype._transform=function(e,r,n){n(new t("_transform()"))},s.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},s.prototype._destroy=function(e,t){a.prototype._destroy.call(this,e,function(e){t(e)})},ql}function rf(){if(Yl)return Zl;var e;Yl=1;var t=Nl().codes,r=t.ERR_MISSING_ARGS,n=t.ERR_STREAM_DESTROYED;function i(e){if(e)throw e}function a(e){e()}function o(e,t){return e.pipe(t)}return Zl=function(){for(var t=arguments.length,s=new Array(t),u=0;u<t;u++)s[u]=arguments[u];var l,f=function(e){return e.length?"function"!=typeof e[e.length-1]?i:e.pop():i}(s);if(Array.isArray(s[0])&&(s=s[0]),s.length<2)throw new r("streams");var c=s.map(function(t,r){var i=r<s.length-1;return function(t,r,i,a){a=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(a);var o=!1;t.on("close",function(){o=!0}),void 0===e&&(e=Xl()),e(t,{readable:r,writable:i},function(e){if(e)return a(e);o=!0,a()});var s=!1;return function(e){if(!o&&!s)return s=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void a(e||new n("pipe"))}}(t,i,r>0,function(e){l||(l=e),e&&c.forEach(a),i||(c.forEach(a),f(l))})});return s.reduce(o)},Zl}!function(e,t){var r=Zr;"disable"===at.env.READABLE_STREAM&&r?(e.exports=r.Readable,Object.assign(e.exports,r),e.exports.Stream=r):((t=e.exports=ef()).Stream=r||t,t.Readable=t,t.Writable=Rl(),t.Duplex=Cl(),t.Transform=tf(),t.PassThrough=function(){if(Hl)return Wl;Hl=1,Wl=t;var e=tf();function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return fn(t,e),t.prototype._transform=function(e,t,r){r(null,e)},Wl}(),t.finished=Xl(),t.pipeline=rf())}(dl,hl);var nf=hl.Transform,af=fn;function of(e){nf.call(this,e),this._destroyed=!1}function sf(e,t,r){r(null,e)}function uf(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=sf),"function"!=typeof n&&(n=null),e(t,r,n)}}function lf(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return ff(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ff(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function ff(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function cf(e){var t,r,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:t"===e.tagName});if(!s)return null;var u="preserve"===(null===(r=s.attributes)||void 0===r?void 0:r["xml:space"])||"preserve"===(null===(n=s.attributes)||void 0===n?void 0:n.space),l="";if(s.children?l=s.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof s&&(l=s),u&&o){var f=function(e,t){for(var r,n,i=/<w:t[^>]*xml:space=["']preserve["'][^>]*>([\s\S]*?)<\/w:t>/g,a=null,o=(null===(r=t.children)||void 0===r?void 0:r.filter(function(e){return"string"==typeof e}).join(""))||"";null!==(n=i.exec(e));){var s=n[1];if(s.includes(o)||o===s.trim()){a=s;break}}return a}(o,s);null!==f&&(l=f)}if(!l||0===l.length)return null;var c=null===(i=e.children)||void 0===i?void 0:i.find(function(e){return"w:rPr"===e.tagName}),h={value:l};if(a.size&&(h.size=a.size),a.bold&&(h.bold=a.bold),c){var d,p,g,v,b,m,y,w,_,S,k,x,E,O,N=null===(d=c.children)||void 0===d?void 0:d.find(function(e){return"w:rFonts"===e.tagName});null!=N&&null!==(p=N.attributes)&&void 0!==p&&p["w:ascii"]&&(h.font=N.attributes["w:ascii"]);var A=null===(g=c.children)||void 0===g?void 0:g.find(function(e){return"w:sz"===e.tagName});null!=A&&null!==(v=A.attributes)&&void 0!==v&&v["w:val"]&&(h.size=parseInt(A.attributes["w:val"])/2),(null===(b=c.children)||void 0===b?void 0:b.find(function(e){return"w:b"===e.tagName}))&&(h.bold=!0),(null===(m=c.children)||void 0===m?void 0:m.find(function(e){return"w:i"===e.tagName}))&&(h.italic=!0),(null===(y=c.children)||void 0===y?void 0:y.find(function(e){return"w:u"===e.tagName}))&&(h.underline=!0),(null===(w=c.children)||void 0===w?void 0:w.find(function(e){return"w:strike"===e.tagName}))&&(h.strikeout=!0);var R=null===(_=c.children)||void 0===_?void 0:_.find(function(e){return"w:color"===e.tagName});if(null!=R&&null!==(S=R.attributes)&&void 0!==S&&S["w:val"]){var C=R.attributes["w:val"];/^[0-9A-Fa-f]{6}$/.test(C)?h.color="#"+C:h.color=C}var j=null===(k=c.children)||void 0===k?void 0:k.find(function(e){return"w:highlight"===e.tagName});if(null!=j&&null!==(x=j.attributes)&&void 0!==x&&x["w:val"]){var T=j.attributes["w:val"];/^[0-9A-Fa-f]{6}$/.test(T)?h.highlight="#"+T:h.highlight=T}var M=null===(E=c.children)||void 0===E?void 0:E.find(function(e){return"w:vertAlign"===e.tagName});if(null!=M&&null!==(O=M.attributes)&&void 0!==O&&O["w:val"]){var P=M.attributes["w:val"].toLowerCase();"superscript"===P?h.type="superscript":"subscript"===P&&(h.type="subscript")}}return h}function hf(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=[],o=lf((null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(o.s();!(r=o.n()).done;){var s=cf(r.value,n,i);s&&a.push(s)}}catch(e){o.e(e)}finally{o.f()}return a}function df(e){var t,r,n,i,a=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!a)return null;var o=null===(r=a.children)||void 0===r?void 0:r.find(function(e){return"w:spacing"===e.tagName});if(!o)return null;var s=null===(n=o.attributes)||void 0===n?void 0:n["w:line"];if(!s)return null;if("auto"===s||"Auto"===s)return null;null===(i=o.attributes)||void 0===i||i["w:lineRule"];var u=parseInt(s,10);return isNaN(u)?null:u/240}function pf(e){var t,r,n=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!n)return{};var i={},a=null===(r=n.children)||void 0===r?void 0:r.find(function(e){return"w:outlineLvl"===e.tagName});if(a){var o,s=parseInt((null===(o=a.attributes)||void 0===o?void 0:o["w:val"])||"0");s>=0&&s<6&&(i.size=[26,24,22,20,18,16][s],i.bold=!0)}return i}af(of,nf),of.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var t=this;Ye(function(){e&&t.emit("error",e),t.emit("close")})}},cl.exports=uf(function(e,t,r){var n=new of(e);return n._transform=t,r&&(n._flush=r),n}),fl.ctor=uf(function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=Object.assign({},e,t),of.call(this,this.options)}return af(n,of),n.prototype._transform=t,r&&(n.prototype._flush=r),n}),fl.obj=uf(function(e,t,r){var n=new of(Object.assign({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n});var gf="left",vf="center",bf="right",mf="alignment",yf="justify";function wf(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!i)return null;var a=null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:jc"===e.tagName});if(!a)return null;var o=null===(n=a.attributes)||void 0===n?void 0:n["w:val"];if(!o)return null;var s=o.toLowerCase();return{left:gf,center:vf,right:bf,both:mf,justify:yf,distribute:yf,start:gf,end:bf}[s]||null}function _f(e){var t=function(e){var t,r,n,i=null==e||null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!i)return null;var a=null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:outlineLvl"===e.tagName});if(a){var o,s=null===(o=a.attributes)||void 0===o?void 0:o["w:val"];if(void 0!==s)return{0:"first",1:"second",2:"third",3:"fourth",4:"fifth",5:"sixth"}[s]||null}var u=null===(n=i.children)||void 0===n?void 0:n.find(function(e){return"w:pStyle"===e.tagName});if(u){var l,f=null===(l=u.attributes)||void 0===l?void 0:l["w:val"];if(f){if(/^[2-7]$/.test(f))return{2:"first",3:"second",4:"third",5:"fourth",6:"fifth",7:"sixth"}[f]||null;var c=f.match(/(?:Heading|heading|标题)(\s*)(\d)/i);if(c){var h=parseInt(c[2])-1;if(h>=0&&h<6)return["first","second","third","fourth","fifth","sixth"][h]}}}return null}(e);if(!t)return null;var r=hf(e,pf(e));if(0===r.length)return null;var n=wf(e);n&&r.forEach(function(e){e.rowFlex=n});var i={value:"",type:"title",valueList:r,level:t},a=df(e);return null!==a&&r.forEach(function(e){e.rowMargin=a}),i}function Sf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kf(e){return kf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kf(e)}function xf(e){var t=function(e,t){if("object"!=kf(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=kf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==kf(t)?t:t+""}function Ef(e,t,r){return(t=xf(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Nf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Nf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Nf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Af(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Rf(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Af(Object(r),!0).forEach(function(t){Ef(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Af(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Cf(e){var t,r,n,i=null==e||null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!i)return!0;if(null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:outlineLvl"===e.tagName}))return!1;var a=null===(n=i.children)||void 0===n?void 0:n.find(function(e){return"w:pStyle"===e.tagName});if(a){var o,s=null===(o=a.attributes)||void 0===o?void 0:o["w:val"];if(s){if(/^[2-7]$/.test(s))return!1;if(/(?:Heading|heading|标题)(\s*)(\d)/i.test(s))return!1}}return!0}function jf(e){var t,r=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:r"===e.tagName});return!r||0===r.length||!r.some(function(e){var t,r=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:t"===e.tagName});if(!r)return!1;var n="";return r.children?n=r.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof r&&(n=r),n.trim().length>0})}function Tf(e){var t={value:"\n"},r=wf(e);r&&(t.rowFlex=r);var n=df(e);return null!==n&&(t.rowMargin=n),t}function Mf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Cf(e))return null;if(jf(e))return Tf(e);var r=hf(e,{},t);if(0===r.length)return Tf(e);if(1===r.length&&1===Object.keys(r[0]).length){var n={value:r[0].value,type:"text"},i=wf(e);i&&(n.rowFlex=i);var a=df(e);return null!==a&&(n.rowMargin=a),n}var o=r[0];if(r.every(function(e){var t=Object.keys(o).filter(function(e){return"value"!==e}),r=Object.keys(e).filter(function(e){return"value"!==e});return t.length===r.length&&t.every(function(t){return o[t]===e[t]})})){var s=Rf({value:r.map(function(e){return e.value}).join(""),type:"text"},Object.fromEntries(Object.entries(o).filter(function(e){return"value"!==Sf(e,1)[0]}))),u=wf(e);u&&(s.rowFlex=u);var l=df(e);return null!==l&&(s.rowMargin=l),s}var f=Rf({value:r[0].value,type:"text"},Object.fromEntries(Object.entries(r[0]).filter(function(e){return"value"!==Sf(e,1)[0]}))),c=wf(e);c&&(f.rowFlex=c);var h=df(e);return null!==h&&(f.rowMargin=h),f}function Pf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Cf(e))return null;if(jf(e))return[Tf(e)];var r=e.children||[],n=[],i=[],a=r.find(function(e){return"w:pPr"===e.tagName}),o=0;if(a){var s,u=null===(s=a.children)||void 0===s?void 0:s.find(function(e){return"w:ind"===e.tagName});if(u){var l,f,c=null===(l=u.attributes)||void 0===l?void 0:l["w:firstLine"],h=null===(f=u.attributes)||void 0===f?void 0:f["w:left"],d=r.some(function(e){var t;return"w:tab"===e.tagName||"w:r"===e.tagName&&(null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:tab"===e.tagName}))});d||(h&&parseInt(h,10)>0&&o++,c&&parseInt(c,10)>0&&o++,0===o&&c&&parseInt(c,10)>0&&(o=1))}}for(var p=0;p<o;p++)n.push({value:"",type:"tab"});var g,v=pf(e),b=Of(r);try{for(b.s();!(g=b.n()).done;){var m=g.value;if("w:pPr"!==m.tagName)if("w:tab"!==m.tagName){if("w:r"===m.tagName){var y,w,_=null===(y=m.children)||void 0===y?void 0:y.find(function(e){return"w:tab"===e.tagName}),S=null===(w=m.children)||void 0===w?void 0:w.find(function(e){return"w:t"===e.tagName});if(_){if(i.length>0){var k=If(i,e);k&&n.push(k),i=[]}n.push({value:"",type:"tab"})}if(S){var x=cf(m,v,t);if(x)if("superscript"===x.type||"subscript"===x.type){if(i.length>0){var E=If(i,e);E&&n.push(E),i=[]}var O=Rf({value:x.value,type:x.type},Object.fromEntries(Object.entries(x).filter(function(e){var t=Sf(e,1)[0];return"value"!==t&&"type"!==t})));n.push(O)}else i.push(x)}}}else{if(i.length>0){var N=If(i,e);N&&n.push(N),i=[]}n.push({value:"",type:"tab"})}}}catch(e){b.e(e)}finally{b.f()}if(i.length>0){var A=If(i,e);A&&n.push(A)}return n.length>0?n:null}function If(e,t){if(0===e.length)return null;if(1===e.length&&1===Object.keys(e[0]).length){var r={value:e[0].value,type:"text"},n=wf(t);n&&(r.rowFlex=n);var i=df(t);return null!==i&&(r.rowMargin=i),r}var a=e.map(function(e){return e.value}).join(""),o=e[0],s=Rf({value:a,type:"text"},Object.fromEntries(Object.entries(o).filter(function(e){return"value"!==Sf(e,1)[0]}))),u=wf(t);u&&(s.rowFlex=u);var l=df(t);return null!==l&&(s.rowMargin=l),s}var Lf,Df=72/914400;function Bf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function zf(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bf(Object(r),!0).forEach(function(t){Ef(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bf(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ff(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return qf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function qf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Uf(e){var t="string"==typeof e?parseInt(e,10):e;return isNaN(t)?0:t/20}function Wf(e){var t,r,n,i,a=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:tcPr"===e.tagName});if(!a)return{colspan:1,rowspan:1,isVMergeStart:!1};var o=null===(r=a.children)||void 0===r?void 0:r.find(function(e){return"w:gridSpan"===e.tagName}),s=null===(n=a.children)||void 0===n?void 0:n.find(function(e){return"w:vMerge"===e.tagName}),u=1,l=1,f=!1;if(null!=o&&null!==(i=o.attributes)&&void 0!==i&&i["w:val"]&&(u=parseInt(o.attributes["w:val"],10)||1),s){var c,h=null===(c=s.attributes)||void 0===c?void 0:c["w:val"];if(h&&"restart"!==h){if("continue"===h)return null}else f=!0,l=1}return{colspan:u,rowspan:l,isVMergeStart:f}}function Hf(e,t,r,n){for(var i=1,a=t+1;a<e.length;a++){var o,s,u=0,l=!1,f=Ff((null===(o=e[a].children)||void 0===o?void 0:o.filter(function(e){return"w:tc"===e.tagName}))||[]);try{for(f.s();!(s=f.n()).done;){var c,h,d,p,g=null===(c=s.value.children)||void 0===c?void 0:c.find(function(e){return"w:tcPr"===e.tagName}),v=null==g||null===(h=g.children)||void 0===h?void 0:h.find(function(e){return"w:vMerge"===e.tagName}),b=null==g||null===(d=g.children)||void 0===d?void 0:d.find(function(e){return"w:gridSpan"===e.tagName}),m=null!=b&&null!==(p=b.attributes)&&void 0!==p&&p["w:val"]&&parseInt(b.attributes["w:val"],10)||1;if(u<=r&&u+m>r){if(!v)break;var y,w=null===(y=v.attributes)||void 0===y?void 0:y["w:val"];if("continue"===w||!w&&u===r){l=!0;break}}u+=m}}catch(e){f.e(e)}finally{f.f()}if(!l)break;i++}return i}function Zf(e){var t,r,n=[],i=Ff((null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:p"===e.tagName}))||[]);try{for(i.s();!(r=i.n()).done;){var a=r.value,o=hf(a);if(0!==o.length){var s=o.map(function(e){return e.value}).join("");if(1===o.length&&1===Object.keys(o[0]).length)n.push({value:s});else{var u=o[0],l=zf({value:s,type:"text"},Object.fromEntries(Object.entries(u).filter(function(e){return"value"!==Sf(e,1)[0]}))),f=wf(a);f&&(l.rowFlex=f),n.push(l)}}else n.push({value:"\n"})}}catch(e){i.e(e)}finally{i.f()}return n.length>0?n:[{value:""}]}function Yf(e,t,r){var n,i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=null===(n=e.children)||void 0===n?void 0:n.find(function(e){return"w:trPr"===e.tagName}),s=null,u=null;if(o){var l,f,c=null===(l=o.children)||void 0===l?void 0:l.find(function(e){return"w:trHeight"===e.tagName});if(null!=c&&null!==(f=c.attributes)&&void 0!==f&&f["w:val"]){var h=Uf(c.attributes["w:val"]);s=h,u=h}}var d,p=[],g=0,v=Ff((null===(i=e.children)||void 0===i?void 0:i.filter(function(e){return"w:tc"===e.tagName}))||[]);try{for(v.s();!(d=v.n()).done;){for(var b=d.value;a[g]&&a[g]>0;)a[g]--,g++;var m=Wf(b);if(null!==m){var y=Zf(b),w=m.rowspan;if(m.isVMergeStart&&(w=Hf(r,t,g,m.colspan)),w>1)for(var _=0;_<m.colspan;_++)a[g+_]||(a[g+_]=w-1);var S={colspan:m.colspan,rowspan:w,value:y};p.push(S),g+=m.colspan}}}catch(e){v.e(e)}finally{v.f()}if(0===p.length)return null;var k={tdList:p};return null!==s&&(k.height=s),null!==u&&(k.minHeight=u),k}function $f(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:tblPr"===e.tagName}),a=null===(r=e.children)||void 0===r?void 0:r.find(function(e){return"w:tblGrid"===e.tagName}),o=(null===(n=e.children)||void 0===n?void 0:n.filter(function(e){return"w:tr"===e.tagName}))||[];if(0===o.length)return null;var s,u,l=null;if(i){var f,c,h=null===(f=i.children)||void 0===f?void 0:f.find(function(e){return"w:tblW"===e.tagName});if(null!=h&&null!==(c=h.attributes)&&void 0!==c&&c["w:w"]){var d=h.attributes["w:type"],p=h.attributes["w:w"];"dxa"===d?l=Uf(p):"pct"===d||("nil"===d||"auto"===d?l=null:(u="string"==typeof(s=p)?parseInt(s,10):s,l=isNaN(u)?0:u*Df))}}var g=[],v=0;if(a){var b,m,y=Ff((null===(b=a.children)||void 0===b?void 0:b.filter(function(e){return"w:gridCol"===e.tagName}))||[]);try{for(y.s();!(m=y.n()).done;){var w,_=null===(w=m.value.attributes)||void 0===w?void 0:w["w:w"];if(_){var S=Uf(_);g.push({width:S}),v+=S}}}catch(e){y.e(e)}finally{y.f()}}null===l&&v>0&&(l=v);for(var k=[],x=[],E=0;E<o.length;E++){for(var O=o[E],N=0;N<x.length;N++)x[N]>0&&x[N]--;var A=Yf(O,E,o,x);A&&k.push(A)}if(0===k.length)return null;for(var R=0,C=0,j=k;C<j.length;C++){var T=j[C];R+=T.height||T.minHeight||0}var M={value:"",type:"table",trList:k};return null!==l&&(M.width=l),R>0&&(M.height=R),g.length>0&&(M.colgroup=g),M}function Vf(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Kf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Kf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Gf(e){if(!function(e){var t=e.children||[],r=t.filter(function(e){return"w:tab"===e.tagName}),n=t.filter(function(e){return"w:r"===e.tagName})||[];if(t.filter(function(e){return"w:tab"!==e.tagName&&"w:r"!==e.tagName&&"w:pPr"!==e.tagName}).length>0)return!1;if(r.length>0&&0===n.length)return!0;if(n.length>0){var i,a=Vf(n);try{for(a.s();!(i=a.n()).done;){var o,s,u=i.value,l=null===(o=u.children)||void 0===o?void 0:o.find(function(e){return"w:tab"===e.tagName}),f=null===(s=u.children)||void 0===s?void 0:s.find(function(e){return"w:t"===e.tagName});if(f){var c="";if(f.children?c=f.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof f&&(c=f),""!==c.trim())return!1}if(!l&&!f&&(u.children||[]).some(function(e){return"string"!=typeof e&&"w:rPr"!==e.tagName&&"w:tab"!==e.tagName&&"w:t"!==e.tagName}))return!1}}catch(e){a.e(e)}finally{a.f()}var h=n.some(function(e){var t;return null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:tab"===e.tagName})});return r.length>0||h}return!1}(e))return null;var t={value:"",type:"tab"},r=wf(e);return r&&(t.rowFlex=r),t}function Xf(e){var t=e.children||[];if(t.filter(function(e){return"w:tab"===e.tagName}).length>0)return!0;var r=t.filter(function(e){return"w:r"===e.tagName})||[];if(r.some(function(e){var t;return null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:tab"===e.tagName})}))return!0;var n=t.find(function(e){return"w:pPr"===e.tagName});if(n){var i,a=null===(i=n.children)||void 0===i?void 0:i.find(function(e){return"w:ind"===e.tagName});if(a){var o,s=null===(o=a.attributes)||void 0===o?void 0:o["w:firstLine"];if(s&&parseInt(s,10)>0)if(r.some(function(e){var t;return null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:t"===e.tagName})}))return!0}}return!1}function Jf(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Qf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Qf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ec(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(r),!0).forEach(function(t){Ef(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ec(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function rc(e){var t={value:"\n"},r=wf(e);r&&(t.rowFlex=r);var n=df(e);return null!==n&&(t.rowMargin=n),t}function nc(e,t){if(0===e.length)return null;if(1===e.length&&1===Object.keys(e[0]).length){var r={value:e[0].value,type:"text"},n=wf(t);n&&(r.rowFlex=n);var i=df(t);return null!==i&&(r.rowMargin=i),r}var a=e.map(function(e){return e.value}).join(""),o=e[0],s=tc({value:a,type:"text"},Object.fromEntries(Object.entries(o).filter(function(e){return"value"!==Sf(e,1)[0]}))),u=wf(t);u&&(s.rowFlex=u);var l=df(t);return null!==l&&(s.rowMargin=l),s}function ic(e){var t;return((null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:r"===e.tagName}))||[]).some(function(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:rPr"===e.tagName});if(!i)return!1;var a=null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:vertAlign"===e.tagName});if(!a)return!1;var o=null===(n=a.attributes)||void 0===n||null===(n=n["w:val"])||void 0===n?void 0:n.toLowerCase();return"superscript"===o||"subscript"===o})}function ac(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!function(e){var t,r,n,i=null==e||null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!i)return!0;if(null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:outlineLvl"===e.tagName}))return!1;var a=null===(n=i.children)||void 0===n?void 0:n.find(function(e){return"w:pStyle"===e.tagName});if(a){var o,s=null===(o=a.attributes)||void 0===o?void 0:o["w:val"];if(s){if(/^[2-7]$/.test(s))return!1;if(/(?:Heading|heading|标题)(\s*)(\d)/i.test(s))return!1}}return!0}(e))return null;if(function(e){var t,r=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:r"===e.tagName});return!r||0===r.length||!r.some(function(e){var t,r=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:t"===e.tagName});if(!r)return!1;var n="";return r.children?n=r.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof r&&(n=r),n.trim().length>0})}(e))return[rc(e)];var r=hf(e,pf(e),t);if(0===r.length)return[rc(e)];var n,i=[],a=[],o=Jf(r);try{for(o.s();!(n=o.n()).done;){var s=n.value;if("superscript"===s.type||"subscript"===s.type){if(a.length>0){var u=nc(a,e);u&&i.push(u),a=[]}var l=tc({value:s.value,type:s.type},Object.fromEntries(Object.entries(s).filter(function(e){var t=Sf(e,1)[0];return"value"!==t&&"type"!==t})));i.push(l)}else a.push(s)}}catch(e){o.e(e)}finally{o.f()}if(a.length>0){var f=nc(a,e);f&&i.push(f)}return i.length>0?i:null}function oc(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!i)return!1;var a=null===(r=i.children)||void 0===r?void 0:r.find(function(e){return"w:pBdr"===e.tagName});return!!a&&!!(null===(n=a.children)||void 0===n?void 0:n.find(function(e){return"w:bottom"===e.tagName}))}function sc(e){var t,r,n,i,a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:554;if(!oc(e))return null;var s=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!s)return null;var u=null===(r=s.children)||void 0===r?void 0:r.find(function(e){return"w:pBdr"===e.tagName});if(!u)return null;var l=null===(n=u.children)||void 0===n?void 0:n.find(function(e){return"w:bottom"===e.tagName});if(!l)return null;var f={value:"\n",type:"separator"},c=function(e){if(!e)return[];var t=e.toLowerCase();return"single"===t||"thick"===t?[]:"wave"===t?[1,1]:"dashed"===t?[3,1]:"double"===t?[4,4]:"dotted"===t?[7,3,3,3]:"thinthickthinmediumgap"===t?[6,2,2,2,2,2]:"dotDash"===t||"dotdash"===t?[4,4]:"dotDotDash"===t||"dotdotdash"===t?[7,3,3,3]:[]}(null===(i=l.attributes)||void 0===i?void 0:i["w:val"]);f.dashArray=c,f.width=o;var h=null===(a=l.attributes)||void 0===a?void 0:a["w:color"];h&&"auto"!==h&&(f.color=h);var d=wf(e);return d&&(f.rowFlex=d),f}function uc(e){var t,r,n=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});return!!n&&!!(null===(r=n.children)||void 0===r?void 0:r.find(function(e){return"w:numPr"===e.tagName}))}function lc(e){var t,r,n,i,a=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!a)return null;var o=null===(r=a.children)||void 0===r?void 0:r.find(function(e){return"w:numPr"===e.tagName});if(!o)return null;var s=null===(n=o.children)||void 0===n?void 0:n.find(function(e){return"w:numId"===e.tagName});if(!s)return null;var u=null===(i=s.attributes)||void 0===i?void 0:i["w:val"];return u&&"0"!==u?String(u):null}function fc(e){var t,r,n,i,a=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"w:pPr"===e.tagName});if(!a)return 0;var o=null===(r=a.children)||void 0===r?void 0:r.find(function(e){return"w:numPr"===e.tagName});if(!o)return 0;var s=null===(n=o.children)||void 0===n?void 0:n.find(function(e){return"w:ilvl"===e.tagName});return s?parseInt((null===(i=s.attributes)||void 0===i?void 0:i["w:val"])||"0",10):0}function cc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=hf(e,pf(e),t);if(0===r.length)return null;var n={value:"\n"+r.map(function(e){return e.value}).join("")},i=wf(e);i&&(n.rowFlex=i);var a=df(e);if(null!==a&&(n.rowMargin=a),r.length>0){var o=r[0];Object.keys(o).forEach(function(e){"value"!==e&&(n[e]=o[e])})}return n}function hc(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(t>=e.length)return null;var i=e[t];if(!uc(i))return null;var a=lc(i),o=fc(i);if(!a||"0"===a)return null;for(var s=function(e,t){if(!e||!t)return null;var r=e.match(new RegExp('<w:num w:numId="'.concat(t,'">[\\s\\S]*?<w:abstractNumId w:val="(\\d+)"')));if(!r)return null;var n=r[1],i=e.match(new RegExp('<w:abstractNum w:abstractNumId="'.concat(n,'"[\\s\\S]*?<w:lvl w:ilvl="0"[\\s\\S]*?<w:numFmt w:val="([^"]+)"')));if(!i)return null;var a=i[1],o="ul",s="disc";if("decimal"===a||"decimalZero"===a||"upperRoman"===a||"lowerRoman"===a||"upperLetter"===a||"lowerLetter"===a)o="ol",s="decimal";else if("bullet"===a){var u=e.match(new RegExp('<w:abstractNum w:abstractNumId="'.concat(n,'"[\\s\\S]*?<w:lvl w:ilvl="0"[\\s\\S]*?<w:lvlText w:val="([^"]+)"')));if(u){var l=u[1];l.includes("●")||l.includes("•")||l.includes("·")?s="disc":l.includes("○")||l.includes("◦")?s="circle":(l.includes("■")||l.includes("□"))&&(s="square")}}return{listType:o,listStyle:s}}(r,a),u=(null==s?void 0:s.listType)||"ul",l=(null==s?void 0:s.listStyle)||"disc",f=[],c=t;c<e.length;){var h=e[c];if(!uc(h))break;var d=lc(h),p=fc(h);if(!d||"0"===d||d!==a||p!==o)break;var g=cc(h,n);g&&f.push(g),c++}if(0===f.length)return null;var v=f.map(function(e){return e.value.substring(1)}).join("\n"),b={value:"\n"+v};if(f.length>0){var m=f[0];Object.keys(m).forEach(function(e){if("value"!==e){var t=f.every(function(t){return t[e]===m[e]});t&&(b[e]=m[e])}})}return{value:"",type:"list",valueList:[b],listType:u,listStyle:l,processedCount:f.length}}function dc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function pc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dc(Object(r),!0).forEach(function(t){Ef(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function gc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return vc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vc(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function vc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function bc(e){var t,r,n=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:hyperlink"===e.tagName});if(n&&n.length>0)return!0;var i,a=gc((null===(r=e.children)||void 0===r?void 0:r.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(a.s();!(i=a.n()).done;){var o,s,u=i.value;if(null===(o=u.children)||void 0===o?void 0:o.find(function(e){return"w:hyperlink"===e.tagName}))return!0;var l,f=null===(s=u.children)||void 0===s?void 0:s.find(function(e){return"w:instrText"===e.tagName});if(f)if(((null===(l=f.children)||void 0===l?void 0:l.join(""))||"").includes("HYPERLINK"))return!0}}catch(e){a.e(e)}finally{a.f()}return!1}function mc(e){if(!e)return null;var t=e.replace(/"/g,'"'),r=t.match(/HYPERLINK\s+"([^"]+)"/);if(r)return r[1];var n=t.match(/HYPERLINK\s+\\l\s+"([^"]+)"/);return n?"#"+n[1]:null}function yc(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=null,a=[],o=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:hyperlink"===e.tagName});if(o&&o.length>0){var s,u,l,f=o[0],c=null===(s=f.attributes)||void 0===s?void 0:s["r:id"],h=null===(u=f.attributes)||void 0===u?void 0:u["w:anchor"];c&&r?i=function(e,t){if(!e||!t)return null;var r=e.match(new RegExp('<Relationship[^>]*Id="'.concat(t,'"[^>]*Target="([^"]+)"')));return r?r[1]:null}(r,c):h&&(i="#"+h),a=(null===(l=f.children)||void 0===l?void 0:l.filter(function(e){return"w:r"===e.tagName}))||[]}else for(var d,p=(null===(d=e.children)||void 0===d?void 0:d.filter(function(e){return"w:r"===e.tagName}))||[],g=!1,v=0;v<p.length;v++){var b,m,y,w=p[v],_=null===(b=w.children)||void 0===b?void 0:b.find(function(e){return"w:fldChar"===e.tagName}),S=null===(m=w.children)||void 0===m?void 0:m.find(function(e){return"w:instrText"===e.tagName});if(S){var k,x=(null===(k=S.children)||void 0===k?void 0:k.join(""))||"";x.includes("HYPERLINK")&&(i=mc(x))}if(_){var E,O=null===(E=_.attributes)||void 0===E?void 0:E["w:fldCharType"];if("separate"===O)g=!0;else if("end"===O)break}if(g&&i)(null===(y=w.children)||void 0===y?void 0:y.some(function(e){return"w:fldChar"===e.tagName}))||a.push(w)}if(!i)return null;var N=pf(e),A=[];if(a.length>0){var R,C=gc(a);try{for(C.s();!(R=C.n()).done;){var j=cf(R.value,N,n);j&&j.value&&A.push(pc({value:j.value},Object.fromEntries(Object.entries(j).filter(function(e){return"value"!==Sf(e,1)[0]}))))}}catch(e){C.e(e)}finally{C.f()}}else{var T,M,P=gc((null===(T=e.children)||void 0===T?void 0:T.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(P.s();!(M=P.n()).done;){var I,L,D=M.value,B=null===(I=D.children)||void 0===I?void 0:I.some(function(e){return"w:fldChar"===e.tagName}),z=null===(L=D.children)||void 0===L?void 0:L.some(function(e){return"w:instrText"===e.tagName});if(!B&&!z){var F=cf(D,N,n);F&&F.value&&A.push(pc({value:F.value},Object.fromEntries(Object.entries(F).filter(function(e){return"value"!==Sf(e,1)[0]}))))}}}catch(e){P.e(e)}finally{P.f()}}if(0===A.length)return null;var q={value:"",type:"hyperlink",url:i,valueList:A},U=wf(e);return U&&(q.rowFlex=U),q}function wc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wc(Object(r),!0).forEach(function(t){Ef(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Sc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return kc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?kc(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function kc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function xc(e,t){if(!e||!t)return null;var r=e.match(new RegExp('<Relationship[^>]*Id="'.concat(t,'"[^>]*Type="[^"]*image[^"]*"[^>]*Target="([^"]+)"')));return r?r[1]:null}function Ec(e){var t,r,n,i,a,o,s,u,l,f=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"wp:inline"===e.tagName}),c=null===(r=e.children)||void 0===r?void 0:r.find(function(e){return"wp:anchor"===e.tagName}),h=f||c;if(!h)return null;var d=null===(n=h.children)||void 0===n?void 0:n.find(function(e){return"a:graphic"===e.tagName});if(!d)return null;var p=null===(i=d.children)||void 0===i?void 0:i.find(function(e){return"a:graphicData"===e.tagName});if(!p)return null;var g=null===(a=p.children)||void 0===a?void 0:a.find(function(e){return"pic:pic"===e.tagName});if(!g)return null;var v=null===(o=g.children)||void 0===o?void 0:o.find(function(e){return"pic:blipFill"===e.tagName});if(!v)return null;var b=null===(s=v.children)||void 0===s?void 0:s.find(function(e){return"a:blip"===e.tagName});if(!b)return null;var m=null===(u=b.attributes)||void 0===u?void 0:u["r:embed"],y=null===(l=b.attributes)||void 0===l?void 0:l["r:link"];return m||y||null}function Oc(e){var t,r,n,i,a,o=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"wp:inline"===e.tagName}),s=null===(r=e.children)||void 0===r?void 0:r.find(function(e){return"wp:anchor"===e.tagName}),u=o||s;if(!u)return null;var l=null===(n=u.children)||void 0===n?void 0:n.find(function(e){return"wp:extent"===e.tagName});if(!l)return null;var f=null===(i=l.attributes)||void 0===i?void 0:i.cx,c=null===(a=l.attributes)||void 0===a?void 0:a.cy;return f&&c?{width:Math.round(parseInt(f)*Df*10)/10,height:Math.round(parseInt(c)*Df*10)/10}:null}function Nc(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:drawing"===e.tagName}),a=null===(r=e.children)||void 0===r?void 0:r.filter(function(e){return"w:pict"===e.tagName});if(i&&i.length>0||a&&a.length>0)return!0;var o,s=Sc((null===(n=e.children)||void 0===n?void 0:n.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(s.s();!(o=s.n()).done;){var u;if(null===(u=o.value.children)||void 0===u?void 0:u.find(function(e){return"w:drawing"===e.tagName}))return!0}}catch(e){s.e(e)}finally{s.f()}return!1}function Ac(e){var t,r,n,i=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"w:drawing"===e.tagName}),a=null===(r=e.children)||void 0===r?void 0:r.filter(function(e){return"w:pict"===e.tagName});if(i&&i.length>0||a&&a.length>0){var o,s,u=Sc((null===(o=e.children)||void 0===o?void 0:o.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(u.s();!(s=u.n()).done;){var l,f=null===(l=s.value.children)||void 0===l?void 0:l.find(function(e){return"w:t"===e.tagName});if(f){var c="";if(f.children?c=f.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof f&&(c=f),c.trim().length>0)return!1}}}catch(e){u.e(e)}finally{u.f()}return!0}var h,d=!1,p=!1,g=Sc((null===(n=e.children)||void 0===n?void 0:n.filter(function(e){return"w:r"===e.tagName}))||[]);try{for(g.s();!(h=g.n()).done;){var v,b,m=h.value;(null===(v=m.children)||void 0===v?void 0:v.find(function(e){return"w:drawing"===e.tagName}))&&(d=!0);var y=null===(b=m.children)||void 0===b?void 0:b.find(function(e){return"w:t"===e.tagName});if(y){var w="";y.children?w=y.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof y&&(w=y),w.trim().length>0&&(p=!0)}}}catch(e){g.e(e)}finally{g.f()}return d&&!p}function Rc(e,t,r,n){return Cc.apply(this,arguments)}function Cc(){return(Cc=a(R.mark(function e(t,r,n,i){var a,o,s,u,l,f,c,h,d,p,g;return R.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Ec(t)){e.next=1;break}return e.abrupt("return",null);case 1:if(s=null,n&&(s=xc(n,o)),s){e.next=2;break}return e.abrupt("return",null);case 2:if(u=s.startsWith("word/")?s:"word/".concat(s),l=r.file(u)){e.next=3;break}return e.abrupt("return",null);case 3:return e.next=4,l.async("base64");case 4:if(f=e.sent){e.next=5;break}return e.abrupt("return",null);case 5:return c=null===(a=u.split(".").pop())||void 0===a?void 0:a.toLowerCase(),h="data:".concat({png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",bmp:"image/bmp",webp:"image/webp"}[c]||"image/png",";base64,").concat(f),d=Oc(t),p=wf(i),g={value:h,type:"image",width:(null==d?void 0:d.width)||0,height:(null==d?void 0:d.height)||0},p&&(g.rowFlex=p),e.abrupt("return",g);case 6:case"end":return e.stop()}},e)}))).apply(this,arguments)}function jc(e,t){return Tc.apply(this,arguments)}function Tc(){return Tc=a(R.mark(function e(t,r){var n,i,a,o,s,u,l,f,c,h,d,p=arguments;return R.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p.length>2&&void 0!==p[2]?p[2]:null,Nc(t)){e.next=1;break}return e.abrupt("return",null);case 1:i=[],a=t.children||[],o=Sc(a),e.prev=2,o.s();case 3:if((s=o.n()).done){e.next=8;break}if("w:drawing"!==(u=s.value).tagName){e.next=5;break}return e.next=4,Rc(u,r,n,t);case 4:(l=e.sent)&&i.push(l),e.next=7;break;case 5:if("w:r"!==u.tagName){e.next=7;break}if(c=null===(f=u.children)||void 0===f?void 0:f.find(function(e){return"w:drawing"===e.tagName}),!c){e.next=7;break}return e.next=6,Rc(c,r,n,t);case 6:(h=e.sent)&&i.push(h);case 7:e.next=3;break;case 8:e.next=10;break;case 9:e.prev=9,d=e.catch(2),o.e(d);case 10:return e.prev=10,o.f(),e.finish(10);case 11:if(0!==i.length){e.next=12;break}return e.abrupt("return",null);case 12:return e.abrupt("return",i);case 13:case"end":return e.stop()}},e,null,[[2,9,10,11]])})),Tc.apply(this,arguments)}function Mc(e,t){return Pc.apply(this,arguments)}function Pc(){return Pc=a(R.mark(function e(t,r){var n,i,a,o,s,u,l,f,c,h,d,p,g,v,b,m,y,w,_,S,k,x,E,O,N=arguments;return R.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=N.length>2&&void 0!==N[2]?N[2]:null,i=N.length>3&&void 0!==N[3]?N[3]:null,Nc(t)){e.next=1;break}return e.abrupt("return",null);case 1:a=[],o=t.children||[],s=pf(t),u=Sc(o),e.prev=2,u.s();case 3:if((l=u.n()).done){e.next=11;break}if("w:pPr"!==(f=l.value).tagName){e.next=4;break}return e.abrupt("continue",10);case 4:if("w:tab"!==f.tagName){e.next=5;break}return c={value:"",type:"tab"},(h=wf(t))&&(c.rowFlex=h),a.push(c),e.abrupt("continue",10);case 5:if("w:drawing"!==f.tagName){e.next=7;break}return e.next=6,Rc(f,r,n,t);case 6:return(d=e.sent)&&a.push(d),e.abrupt("continue",10);case 7:if("w:r"!==f.tagName){e.next=10;break}if(b=null===(p=f.children)||void 0===p?void 0:p.find(function(e){return"w:drawing"===e.tagName}),!b){e.next=9;break}return e.next=8,Rc(b,r,n,t);case 8:return(m=e.sent)&&a.push(m),e.abrupt("continue",10);case 9:y=null===(g=f.children)||void 0===g?void 0:g.find(function(e){return"w:tab"===e.tagName}),y&&(w={value:"",type:"tab"},(_=wf(t))&&(w.rowFlex=_),a.push(w)),S=null===(v=f.children)||void 0===v?void 0:v.find(function(e){return"w:t"===e.tagName}),S&&(k=cf(f,s,i))&&k.value&&""!==k.value.trim()&&(x=_c({value:k.value,type:"text"},Object.fromEntries(Object.entries(k).filter(function(e){var t=Sf(e,1)[0];return"value"!==t&&"type"!==t}))),(E=wf(t))&&(x.rowFlex=E),a.push(x));case 10:e.next=3;break;case 11:e.next=13;break;case 12:e.prev=12,O=e.catch(2),u.e(O);case 13:return e.prev=13,u.f(),e.finish(13);case 14:return e.abrupt("return",a.length>0?a:null);case 15:case"end":return e.stop()}},e,null,[[2,12,13,14]])})),Pc.apply(this,arguments)}function Ic(e,t){return Lc.apply(this,arguments)}function Lc(){return Lc=a(R.mark(function e(t,r){var n,i,a,o,s,u,l,f,c,h,d,p=arguments;return R.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=p.length>2&&void 0!==p[2]?p[2]:null,!(a=null===(n=t.children)||void 0===n?void 0:n.filter(function(e){return"w:drawing"===e.tagName}))||0===a.length){s=(null===(o=t.children)||void 0===o?void 0:o.filter(function(e){return"w:r"===e.tagName}))||[],a=[],u=Sc(s);try{for(u.s();!(l=u.n()).done;)c=l.value,(h=null===(f=c.children)||void 0===f?void 0:f.find(function(e){return"w:drawing"===e.tagName}))&&a.push(h)}catch(e){u.e(e)}finally{u.f()}}if(a&&0!==a.length){e.next=1;break}return e.abrupt("return",null);case 1:return d=a[0],e.next=2,Rc(d,r,i,t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),Lc.apply(this,arguments)}function Dc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Bc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return zc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zc(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function zc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Fc(e){if(!e||!e.children)return!1;if(e.children.find(function(e){var t,r;return"m:oMathPara"===e.tagName||"oMathPara"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":oMathPara"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("oMathPara"))}))return!0;if(e.children.find(function(e){var t,r;return"m:oMath"===e.tagName||"oMath"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":oMath"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("oMath"))}))return!0;var t=e.children.filter(function(e){var t,r;return"w:r"===e.tagName||"r"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":r"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("r"))});if(t&&t.length>0){var r,n=Bc(t);try{for(n.s();!(r=n.n()).done;){var i=r.value;if(i.children)if(i.children.find(function(e){var t,r;return"m:oMath"===e.tagName||"oMath"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":oMath"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("oMath"))}))return!0}}catch(e){n.e(e)}finally{n.f()}}return!1}function qc(e){if(!e)return"";var t=e.split(":");return t.length>1?t[t.length-1]:e}function Uc(e,t){if(e){var r=qc(t);return e.find(function(e){return"object"===kf(e)&&e.tagName&&(e.tagName===t||e.tagName===r||qc(e.tagName)===r)})}}var Wc=(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf={"π":"\\pi","φ":"\\phi","Φ":"\\Phi","Δ":"\\Delta","∆":"\\Delta","δ":"\\delta","α":"\\alpha","β":"\\beta","γ":"\\gamma","Γ":"\\Gamma","θ":"\\theta","Θ":"\\Theta","λ":"\\lambda","Λ":"\\Lambda","μ":"\\mu","ν":"\\nu","ρ":"\\rho","σ":"\\sigma","Σ":"\\Sigma","τ":"\\tau","ω":"\\omega","Ω":"\\Omega","ε":"\\epsilon","η":"\\eta","ζ":"\\zeta","ξ":"\\xi","Ξ":"\\Xi","ι":"\\iota","κ":"\\kappa","χ":"\\chi","ψ":"\\psi","Ψ":"\\Psi","→":"\\rightarrow","←":"\\leftarrow","↔":"\\leftrightarrow","⇒":"\\Rightarrow","⇐":"\\Leftarrow","⇔":"\\Leftrightarrow","≤":"\\leq","≥":"\\geq","≠":"\\neq","≈":"\\approx","≡":"\\equiv","∝":"\\propto","±":"\\pm","∓":"\\mp","×":"\\times","÷":"\\div","⋅":"\\cdot","∘":"\\circ","⊗":"\\otimes","⊕":"\\oplus","⊙":"\\odot","⊥":"\\perp","⟂":"\\perp","⊤":"\\top","∥":"\\parallel","∠":"\\angle","∡":"\\measuredangle","△":"\\triangle","▲":"\\triangle","▵":"\\triangle","▴":"\\triangle","▷":"\\triangleright","▶":"\\triangleright","◁":"\\triangleleft","◀":"\\triangleleft","▽":"\\triangledown","▼":"\\triangledown","∈":"\\in","∉":"\\notin","⊂":"\\subset","⊃":"\\supset","⊆":"\\subseteq","⊇":"\\supseteq","∪":"\\cup","∩":"\\cap","∅":"\\emptyset","ℝ":"\\mathbb{R}","ℕ":"\\mathbb{N}","ℤ":"\\mathbb{Z}","ℚ":"\\mathbb{Q}","ℂ":"\\mathbb{C}","≪":"\\ll","≫":"\\gg"},"≤","\\leq"),"⩽","\\leqslant"),"≥","\\geq"),"⩾","\\geqslant"),"≺","\\prec"),"≻","\\succ"),"≼","\\preceq"),"≽","\\succeq"),"∼","\\sim"),"≃","\\simeq"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"≅","\\cong"),"≍","\\asymp"),"∞","\\infty"),"∂","\\partial"),"∇","\\nabla"),"∑","\\sum"),"∏","\\prod"),"∫","\\int"),"∮","\\oint"),"∬","\\iint"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"∭","\\iiint"),"√","\\sqrt"),"ℓ","\\ell"),"ℏ","\\hbar"),"↦","\\mapsto"),"⟶","\\longrightarrow"),"⟵","\\longleftarrow"),"⟹","\\Longrightarrow"),"⟸","\\Longleftarrow"),"∧","\\land"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"∨","\\lor"),"¬","\\neg"),"∀","\\forall"),"∃","\\exists"),"∄","\\nexists"),"∴","\\therefore"),"∵","\\because"),"∣","|"),"‖","\\|"),"⟨","\\langle"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⟩","\\rangle"),"⌊","\\lfloor"),"⌋","\\rfloor"),"⌈","\\lceil"),"⌉","\\rceil"),"«","\\ll"),"»","\\gg"),"−","-"),"–","-"),"—","-"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"﹣","-"),"-","-"),"•","\\cdot"),"·","\\cdot"),"․","."),".","."),"*","\\ast"),"…","\\ldots"),"¢","\\cent"),"‘","'"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"’","'"),"⋯","\\cdots"),"⋱","\\ddots"),"⋮","\\vdots"),"°","^{\\circ}"),"′","'"),"″","''"),"‴","'''"),"£","\\pounds"),"¥","\\yen"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"€","\\euro"),"₠","\\text{₠}"),"₡","\\text{₡}"),"₢","\\text{₢}"),"₣","\\text{₣}"),"₤","\\text{₤}"),"₥","\\text{₥}"),"₦","\\text{₦}"),"₧","\\text{₧}"),"₨","\\text{₨}"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"₩","\\text{₩}"),"₪","\\text{₪}"),"₫","\\text{₫}"),"₭","\\text{₭}"),"₮","\\text{₮}"),"₯","\\text{₯}"),"₰","\\text{₰}"),"₱","\\text{₱}"),"₲","\\text{₲}"),"₳","\\text{₳}"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"₴","\\text{₴}"),"₵","\\text{₵}"),"₸","\\text{₸}"),"₹","\\text{₹}"),"₺","\\text{₺}"),"₻","\\text{₻}"),"₼","\\text{₼}"),"₽","\\text{₽}"),"₾","\\text{₾}"),"“",'"'),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"”",'"'),"‚",","),"„",",,"),"‟",'"'),"‹","\\langle"),"›","\\rangle"),"«","\\ll"),"»","\\gg"),"∗","\\ast"),"∙","\\bullet"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⋆","\\star"),"⋇","\\divideontimes"),"⋈","\\bowtie"),"⋉","\\ltimes"),"⋊","\\rtimes"),"⋋","\\leftthreetimes"),"⋌","\\rightthreetimes"),"⋍","\\backsimeq"),"⋎","\\curlyvee"),"⋏","\\curlywedge"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⋐","\\Subset"),"⋑","\\Supset"),"⋒","\\Cap"),"⋓","\\Cup"),"⋔","\\pitchfork"),"⋕","\\equalparallel"),"⋖","\\lessdot"),"⋗","\\gtrdot"),"⋘","\\lll"),"⋙","\\ggg"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⋚","\\lesseqgtr"),"⋛","\\gtreqless"),"⋜","\\eqless"),"⋝","\\eqgtr"),"⋞","\\curlyeqprec"),"⋟","\\curlyeqsucc"),"⋠","\\npreccurlyeq"),"⋡","\\nsucccurlyeq"),"⋢","\\nsqsubseteq"),"⋣","\\nsqsupseteq"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⋤","\\sqsubsetneq"),"⋥","\\sqsupsetneq"),"⋦","\\lnsim"),"⋧","\\gnsim"),"⋨","\\precedesnotsimilar"),"⋩","\\succnsim"),"⋪","\\ntriangleleft"),"⋫","\\ntriangleright"),"⋬","\\ntrianglelefteq"),"⋭","\\ntrianglerighteq"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⋰","\\cdots"),"⟦","\\llbracket"),"⟧","\\rrbracket"),"⦃","\\lgroup"),"⦄","\\rgroup"),"⦅","\\lgroup"),"⦆","\\rgroup"),"⦇","\\lgroup"),"⦈","\\rgroup"),"⦉","\\lgroup"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⦊","\\rgroup"),"⦋","\\lgroup"),"⦌","\\rgroup"),"⦍","\\lgroup"),"⦎","\\rgroup"),"⦏","\\lgroup"),"⦐","\\rgroup"),"⦑","\\lgroup"),"⦒","\\rgroup"),"⦓","\\lgroup"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⦔","\\rgroup"),"⦕","\\lgroup"),"⦖","\\rgroup"),"⦗","\\lgroup"),"⦘","\\rgroup"),"⨀","\\bigodot"),"⨁","\\bigoplus"),"⨂","\\bigotimes"),"⨃","\\bigcupdot"),"⨄","\\biguplus"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⨅","\\bigsqcap"),"⨆","\\bigsqcup"),"⨇","\\conjquant"),"⨈","\\disjquant"),"⨉","\\bigtimes"),"⨊","\\modtwosum"),"⨋","\\sumint"),"⨌","\\iiiint"),"⨍","\\intbar"),"⨎","\\intBar"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⨏","\\fint"),"⨐","\\cirfnint"),"⨑","\\awint"),"⨒","\\rppolint"),"⨓","\\scpolint"),"⨔","\\npolint"),"⨕","\\pointint"),"⨖","\\sqint"),"⨗","\\intlarhk"),"⨘","\\intx"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⨙","\\intcap"),"⨚","\\intcup"),"⨛","\\upint"),"⨜","\\lowint"),"ϕ","\\phi"),"ϑ","\\vartheta"),"ς","\\varsigma"),"ϵ","\\varepsilon"),"∑","\\sum"),"∏","\\prod"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"∫","\\int"),"∮","\\oint"),"≀","\\wr"),"≁","\\not\\sim"),"≂","\\eqsim"),"≄","\\not\\cong"),"≆","\\approxeq"),"≇","\\not\\approx"),"≉","\\not\\approx"),"≊","\\approx"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"≋","\\approx"),"≌","\\approx"),"≎","\\bumpeq"),"≏","\\Bumpeq"),"≐","\\doteq"),"≑","\\doteqdot"),"≒","\\fallingdotseq"),"≓","\\risingdotseq"),"≔",":="),"≕","=:"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"≖","\\eqcirc"),"≗","\\circeq"),"≘","\\arceq"),"≙","\\wedgeq"),"≚","\\veeeq"),"≛","\\stareq"),"≜","\\triangleq"),"≝","\\eqdef"),"≞","\\measeq"),"≟","\\questeq"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"↑","\\uparrow"),"↓","\\downarrow"),"↕","\\updownarrow"),"↗","\\nearrow"),"↘","\\searrow"),"↙","\\swarrow"),"↖","\\nwarrow"),"↠","\\twoheadrightarrow"),"↢","\\twoheadleftarrow"),"↣","\\leftarrowtail"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"↤","\\rightarrowtail"),"↥","\\mapsfrom"),"↧","\\mapsup"),"↨","\\mapsdown"),"↩","\\updownarrow"),"↪","\\looparrowright"),"↫","\\looparrowleft"),"↬","\\leftrightsquigarrow"),"↭","\\nleftrightarrow"),"↮","\\nleftrightarrow"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"↯","\\twoheadrightarrow"),"↰","\\curvearrowleft"),"↱","\\curvearrowright"),"↲","\\circlearrowleft"),"↳","\\circlearrowright"),"↴","\\leftharpoonup"),"↵","\\leftharpoondown"),"↶","\\upharpoonright"),"↷","\\upharpoonleft"),"↸","\\rightharpoonup"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"↹","\\rightharpoondown"),"↺","\\downharpoonright"),"↻","\\downharpoonleft"),"↼","\\rightleftharpoons"),"↽","\\leftrightharpoons"),"↾","\\nLeftarrow"),"↿","\\nLeftrightarrow"),"⇀","\\nRightarrow"),"⇁","\\nLeftrightarrow"),"⇂","\\nLeftrightarrow"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⇃","\\nLeftrightarrow"),"⇄","\\rightleftarrows"),"⇅","\\updownarrows"),"⇆","\\leftrightarrows"),"⇇","\\leftleftarrows"),"⇈","\\upuparrows"),"⇉","\\rightrightarrows"),"⇊","\\downdownarrows"),"⇋","\\leftrightharpoons"),"⇌","\\rightleftharpoons"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⇍","\\nLeftarrow"),"⇎","\\nLeftrightarrow"),"⇏","\\nRightarrow"),"⇑","\\Uparrow"),"⇓","\\Downarrow"),"⇕","\\Updownarrow"),"⇖","\\Nwarrow"),"⇗","\\Nearrow"),"⇘","\\Searrow"),"⇙","\\Swarrow"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⇚","\\Lleftarrow"),"⇛","\\Rrightarrow"),"⇜","\\leftsquigarrow"),"⇝","\\rightsquigarrow"),"⇞","\\nHuparrow"),"⇟","\\nHdownarrow"),"⇠","\\leftdasharrow"),"⇡","\\updasharrow"),"⇢","\\rightdasharrow"),"⇣","\\downdasharrow"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⇤","\\barleftarrow"),"⇥","\\rightarrowbar"),"⇦","\\leftwhitearrow"),"⇧","\\upwhitearrow"),"⇨","\\rightwhitearrow"),"⇩","\\downwhitearrow"),"⇪","\\whitearrowupfrombar"),"⇫","\\circleonrightarrow"),"⇬","\\downuparrows"),"⇭","\\rightthreearrows"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⇮","\\nvleftarrow"),"⇯","\\nvrightarrow"),"⇰","\\nvleftrightarrow"),"⇱","\\nVleftarrow"),"⇲","\\nVrightarrow"),"⇳","\\nVleftrightarrow"),"⇴","\\leftarrowtriangle"),"⇵","\\rightarrowtriangle"),"⇶","\\leftrightarrowtriangle"),"⇷","\\leftarrowtriangle"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⇸","\\rightarrowtriangle"),"⇹","\\leftrightarrowtriangle"),"⇺","\\barleftarrowrightbar"),"⇻","\\rightarrowbar"),"⇼","\\leftarrowbar"),"⇽","\\leftarrowbar"),"⇾","\\rightarrowbar"),"⇿","\\leftarrowbar"),"∁","\\complement"),"∄","\\nexists"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"∅","\\emptyset"),"∆","\\Delta"),"∏","\\prod"),"∐","\\coprod"),"∑","\\sum"),"−","-"),"∓","\\mp"),"∔","\\dotplus"),"∕","/"),"∖","\\setminus"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"∗","\\ast"),"∘","\\circ"),"∙","\\bullet"),"√","\\sqrt"),"∛","\\sqrt[3]"),"∜","\\sqrt[4]"),"∝","\\propto"),"∞","\\infty"),"∟","\\rightangle"),"∠","\\angle"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"∡","\\measuredangle"),"∢","\\sphericalangle"),"∣","|"),"∤","\\nmid"),"∥","\\parallel"),"∦","\\nparallel"),"∧","\\land"),"∨","\\lor"),"∩","\\cap"),"∪","\\cup"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"∫","\\int"),"∬","\\iint"),"∭","\\iiint"),"∮","\\oint"),"∯","\\oiint"),"∰","\\oiiint"),"∱","\\intclockwise"),"∲","\\varointclockwise"),"∳","\\ointctrclockwise"),"∴","\\therefore"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"∵","\\because"),"∶",":"),"∷","::"),"∸","\\dotminus"),"∹","\\dotsminusdots"),"∺","\\kernelcontraction"),"∻","\\sim"),"∼","\\sim"),"∽","\\backsim"),"∾","\\invlazys"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"∿","\\sinewave"),"≀","\\wr"),"≁","\\not\\sim"),"≂","\\eqsim"),"≃","\\simeq"),"≄","\\not\\cong"),"≅","\\cong"),"≆","\\approxeq"),"≇","\\not\\approx"),"≈","\\approx"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"≉","\\not\\approx"),"≊","\\approx"),"≋","\\approx"),"≌","\\approx"),"≍","\\asymp"),"≎","\\bumpeq"),"≏","\\Bumpeq"),"≐","\\doteq"),"≑","\\doteqdot"),"≒","\\fallingdotseq"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"≓","\\risingdotseq"),"≔",":="),"≕","=:"),"≖","\\eqcirc"),"≗","\\circeq"),"≘","\\arceq"),"≙","\\wedgeq"),"≚","\\veeeq"),"≛","\\stareq"),"≜","\\triangleq"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"≝","\\eqdef"),"≞","\\measeq"),"≟","\\questeq"),"≠","\\neq"),"≡","\\equiv"),"≢","\\not\\equiv"),"≣","\\Equiv"),"≤","\\leq"),"≥","\\geq"),"≦","\\leqq"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"≧","\\geqq"),"≨","\\lneqq"),"≩","\\gneqq"),"≪","\\ll"),"≫","\\gg"),"≬","\\between"),"≭","\\not\\asymp"),"≮","\\nless"),"≯","\\ngtr"),"≰","\\nleq"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"≱","\\ngeq"),"≲","\\lesssim"),"≳","\\gtrsim"),"≴","\\not\\lesssim"),"≵","\\not\\gtrsim"),"≶","\\lessgtr"),"≷","\\gtrless"),"≸","\\not\\lessgtr"),"≹","\\not\\gtrless"),"≺","\\prec"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"≻","\\succ"),"≼","\\preceq"),"≽","\\succeq"),"≾","\\preccurlyeq"),"≿","\\succcurlyeq"),"⊀","\\precnsim"),"⊁","\\succnsim"),"⊂","\\subset"),"⊃","\\supset"),"⊄","\\not\\subset"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⊅","\\not\\supset"),"⊆","\\subseteq"),"⊇","\\supseteq"),"⊈","\\nsubseteq"),"⊉","\\nsupseteq"),"⊊","\\subsetneq"),"⊋","\\supsetneq"),"⊌","\\cupdot"),"⊍","\\uplus"),"⊎","\\sqsubset"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⊏","\\sqsupset"),"⊐","\\sqsubseteq"),"⊑","\\sqsupseteq"),"⊒","\\sqcap"),"⊓","\\sqcup"),"⊔","\\oplus"),"⊕","\\oplus"),"⊖","\\ominus"),"⊗","\\otimes"),"⊘","\\oslash"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⊙","\\odot"),"⊚","\\circledcirc"),"⊛","\\circledast"),"⊜","\\circledequal"),"⊝","\\circleddash"),"⊞","\\boxplus"),"⊟","\\boxminus"),"⊠","\\boxtimes"),"⊡","\\boxdot"),"⊢","\\vdash"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⊣","\\dashv"),"⊤","\\top"),"⊥","\\perp"),"⊦","\\assert"),"⊧","\\models"),"⊨","\\vDash"),"⊩","\\Vdash"),"⊪","\\Vvdash"),"⊫","\\VDash"),"⊬","\\nvdash"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⊭","\\nvDash"),"⊮","\\nVdash"),"⊯","\\nVDash"),"⊰","\\prurel"),"⊱","\\scurel"),"⊲","\\vartriangleleft"),"⊳","\\vartriangleright"),"⊴","\\trianglelefteq"),"⊵","\\trianglerighteq"),"⊶","\\original"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⊷","\\image"),"⊸","\\multimap"),"⊹","\\hermitconjmatrix"),"⊺","\\intercal"),"⊻","\\veebar"),"⊼","\\barwedge"),"⊽","\\barvee"),"⊾","\\rightangle"),"⊿","\\rightangle"),"⋀","\\bigwedge"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⋁","\\bigvee"),"⋂","\\bigcap"),"⋃","\\bigcup"),"⋄","\\diamond"),"⋅","\\cdot"),"⋆","\\star"),"⋇","\\divideontimes"),"⋈","\\bowtie"),"⋉","\\ltimes"),"⋊","\\rtimes"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⋋","\\leftthreetimes"),"⋌","\\rightthreetimes"),"⋍","\\backsimeq"),"⋎","\\curlyvee"),"⋏","\\curlywedge"),"⋐","\\Subset"),"⋑","\\Supset"),"⋒","\\Cap"),"⋓","\\Cup"),"⋔","\\pitchfork"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⋕","\\equalparallel"),"⋖","\\lessdot"),"⋗","\\gtrdot"),"⋘","\\lll"),"⋙","\\ggg"),"⋚","\\lesseqgtr"),"⋛","\\gtreqless"),"⋜","\\eqless"),"⋝","\\eqgtr"),"⋞","\\curlyeqprec"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⋟","\\curlyeqsucc"),"⋠","\\npreccurlyeq"),"⋡","\\nsucccurlyeq"),"⋢","\\nsqsubseteq"),"⋣","\\nsqsupseteq"),"⋤","\\sqsubsetneq"),"⋥","\\sqsupsetneq"),"⋦","\\lnsim"),"⋧","\\gnsim"),"⋨","\\precedesnotsimilar"),Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Ef(Lf,"⋩","\\succnsim"),"⋪","\\ntriangleleft"),"⋫","\\ntriangleright"),"⋬","\\ntrianglelefteq"),"⋭","\\ntrianglerighteq"),"⋮","\\vdots"),"⋯","\\cdots"),"⋰","\\cdots"),"⋱","\\ddots"));function Hc(e){if(!e)return!1;var t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||/[\u00C0-\u024F\u1E00-\u1EFF\u0400-\u04FF\u0500-\u052F\u2C80-\u2CFF\u0370-\u03FF\u4E00-\u9FFF]/.test(e)}function Zc(e){if(!e)return e;for(var t="",r=0;r<e.length;r++){var n=e[r];if(Wc[n]){var i=Wc[n];if(t+=i,i.endsWith("}")||i.endsWith(" "));else if(i.startsWith("\\")&&!i.endsWith(" ")){var a=e[r+1];a&&Hc(a)&&(t+=" ")}}else t+=n}return t}function Yc(e){if(!e||!e.tagName)return"";var t=qc(e.tagName);if("t"===t){var r,n=(null===(r=e.children)||void 0===r?void 0:r.filter(function(e){return"string"==typeof e}).join(""))||"";return n=Zc(n=(n=(n=(n=(n=n.replace(/</g,"<")).replace(/>/g,">")).replace(/&/g,"&")).replace(/"/g,'"')).replace(/'/g,"'"))}if("f"===t){var i=Uc(e.children,"m:num"),a=Uc(e.children,"m:den"),o=i?Yc(i):"",s=a?Yc(a):"";return"\\frac{".concat(o,"}{").concat(s,"}")}if("rad"===t){var u=Uc(e.children,"m:deg"),l=Uc(e.children,"m:e"),f=u?Yc(u):"",c=l?Yc(l):"";return f?"\\sqrt[".concat(f,"]{").concat(c,"}"):"\\sqrt{".concat(c,"}")}if("sSup"===t){var h=Uc(e.children,"m:e"),d=Uc(e.children,"m:sup"),p=h?Yc(h):"",g=d?Yc(d):"";return"".concat(p,"^{").concat(g,"}")}if("sSub"===t){var v=Uc(e.children,"m:e"),b=Uc(e.children,"m:sub"),m=v?Yc(v):"",y=b?Yc(b):"";return"".concat(m,"_{").concat(y,"}")}if("sSubSup"===t){var w=Uc(e.children,"m:e"),_=Uc(e.children,"m:sub"),S=Uc(e.children,"m:sup"),k=w?Yc(w):"",x=_?Yc(_):"",E=S?Yc(S):"";return"".concat(k,"_{").concat(x,"}^{").concat(E,"}")}if("func"===t){var O=Uc(e.children,"m:fName"),N=Uc(e.children,"m:e"),A=O?Yc(O):"",R=N?Yc(N):"";return"\\mathrm{".concat(A,"}").concat(R)}if("d"===t){var C=Uc(e.children,"m:dPr"),j=Uc(e.children,"m:e"),T=j?Yc(j):"",M="(",P=")";if(C){var I=Uc(C.children,"m:begChr"),L=Uc(C.children,"m:endChr");if(I){var D,B,z,F=(null===(D=I.attributes)||void 0===D?void 0:D["m:val"])||(null===(B=I.attributes)||void 0===B?void 0:B.val)||(null===(z=I.attributes)||void 0===z?void 0:z.val);F&&("|"===F?(M="\\left|",P="\\right|"):"["===F?(M="\\left[",P="\\right]"):"{"===F?(M="\\left\\{",P="\\right\\}"):M="\\left".concat(F))}if(L){var q,U,W,H=(null===(q=L.attributes)||void 0===q?void 0:q["m:val"])||(null===(U=L.attributes)||void 0===U?void 0:U.val)||(null===(W=L.attributes)||void 0===W?void 0:W.val);P="|"===H?"\\right|":"]"===H?"\\right]":"}"===H?"\\right\\}":"\\right".concat(H)}}return"".concat(M," ").concat(T," ").concat(P)}if("nary"===t){var Z=Uc(e.children,"m:naryPr"),Y=Uc(e.children,"m:sub"),$=Uc(e.children,"m:sup"),V=Uc(e.children,"m:e"),K="\\int";if(Z){var G=Uc(Z.children,"m:chr");if(G){var X,J,Q,ee=(null===(X=G.attributes)||void 0===X?void 0:X["m:val"])||(null===(J=G.attributes)||void 0===J?void 0:J.val)||(null===(Q=G.attributes)||void 0===Q?void 0:Q.val);if(ee){var te=Zc(ee);if(te!==ee)K=te;else{K={"∫":"\\int","∏":"\\prod","∑":"\\sum"}[ee]||"\\".concat(ee)}}}}var re=Y?Yc(Y):"",ne=$?Yc($):"",ie=V?Yc(V):"";return re&&ne?"".concat(K,"_{").concat(re,"}^{").concat(ne,"} ").concat(ie):re?"".concat(K,"_{").concat(re,"} ").concat(ie):ne?"".concat(K,"^{").concat(ne,"} ").concat(ie):"".concat(K," ").concat(ie)}if("m"===t){var ae;Uc(e.children,"m:mPr");var oe=null===(ae=e.children)||void 0===ae?void 0:ae.filter(function(e){return"object"===kf(e)&&e.tagName&&("m:mr"===e.tagName||"mr"===e.tagName||"mr"===qc(e.tagName))});if(oe&&oe.length>0){var se=oe.map(function(e){var t,r=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"object"===kf(e)&&e.tagName&&("m:e"===e.tagName||"e"===e.tagName||"e"===qc(e.tagName))});return r&&r.length>0?r.map(function(e){return Yc(e)}).join(" & "):""});return"\\begin{pmatrix}".concat(se.join(" \\\\ "),"\\end{pmatrix}")}}if("limUpp"===t){var ue=Uc(e.children,"m:e"),le=Uc(e.children,"m:lim"),fe=ue?Yc(ue):"",ce=le?Yc(le):"";return ce?"".concat(fe,"^{").concat(ce,"}"):fe}if("limLow"===t){var he=Uc(e.children,"m:e"),de=Uc(e.children,"m:lim"),pe=he?Yc(he):"",ge=de?Yc(de):"";return ge?"".concat(pe,"_{").concat(ge,"}"):pe}if("bar"===t){var ve=Uc(e.children,"m:barPr"),be=Uc(e.children,"m:e"),me=be?Yc(be):"",ye="top";if(ve){var we=Uc(ve.children,"m:pos");if(we){var _e,Se,ke,xe=(null===(_e=we.attributes)||void 0===_e?void 0:_e["m:val"])||(null===(Se=we.attributes)||void 0===Se?void 0:Se.val)||(null===(ke=we.attributes)||void 0===ke?void 0:ke.val);xe&&(ye=xe)}}return"bot"===ye||"bottom"===ye?"\\underline{".concat(me,"}"):"\\overline{".concat(me,"}")}return(e.children||[]).map(function(e){return"string"==typeof e?Zc(e):Yc(e)}).join("")}function $c(e,t){if(e)return e.find(function(e){var r,n;return e.tagName===t||e.tagName===t.split(":").pop()||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith(":".concat(t.split(":").pop())))||(null===(n=e.tagName)||void 0===n?void 0:n.endsWith(t.split(":").pop()))})}function Vc(e){if(!Fc(e))return!1;if(Gc(e))return!1;if($c(e.children,"m:oMathPara"))return!0;if($c(e.children,"m:oMath")){var t,r=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){var t,r;return"w:r"===e.tagName||"r"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":r"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("r"))});if(r&&r.length>0){var n,i=Bc(r);try{for(i.s();!(n=i.n()).done;){var a=$c(n.value.children,"w:t");if(a){var o="";if(a.children?o=a.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof a&&(o=a),o.trim().length>0)return!1}}}catch(e){i.e(e)}finally{i.f()}}return!0}return!1}function Kc(e){if(!Fc(e))return null;var t="",r=$c(e.children,"m:oMathPara");if(r){var n=$c(r.children,"m:oMath");n&&(t=Yc(n))}else{if($c(e.children,"m:oMath")){var i,a=[],o=Bc(e.children.filter(function(e){var t,r;return"m:oMath"===e.tagName||"oMath"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":oMath"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("oMath"))}));try{for(o.s();!(i=o.n()).done;){var s=Yc(i.value);s&&a.push(s)}}catch(e){o.e(e)}finally{o.f()}t=a.join(" ")}else{var u,l=null===(u=e.children)||void 0===u?void 0:u.filter(function(e){var t,r;return"w:r"===e.tagName||"r"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":r"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("r"))});if(l&&l.length>0){var f,c=[],h=Bc(l);try{for(h.s();!(f=h.n()).done;){var d=$c(f.value.children,"m:oMath");if(d){var p=Yc(d);p&&c.push(p)}}}catch(e){h.e(e)}finally{h.f()}t=c.join(" ")}}}if(!t||0===t.trim().length)return null;var g={value:t=t.trim(),type:"latex"},v=wf(e);v&&(g.rowFlex=v);var b=df(e);null!==b&&(g.rowMargin=b);var m=pf(e);return m.size&&(g.size=m.size),m.bold&&(g.bold=m.bold),m.italic&&(g.italic=m.italic),m.color&&(g.color=m.color),m.highlight&&(g.highlight=m.highlight),g}function Gc(e){var t,r;if(!Fc(e))return!1;var n=null===(t=e.children)||void 0===t?void 0:t.filter(function(e){var t,r;return"w:r"===e.tagName||"r"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":r"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("r"))});if(!n||0===n.length)return!1;var i,a=Bc(n);try{for(a.s();!(i=a.n()).done;){var o=$c(i.value.children,"w:t");if(o){var s="";if(o.children?s=o.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof o&&(s=o),s.trim().length>0)return!0}}}catch(e){a.e(e)}finally{a.f()}if((null===(r=e.children)||void 0===r?void 0:r.some(function(e){var t,r;return"m:oMath"===e.tagName||"oMath"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":oMath"))||(null===(r=e.tagName)||void 0===r?void 0:r.endsWith("oMath"))}))&&n&&n.length>0){var u,l=Bc(n);try{for(l.s();!(u=l.n()).done;){var f=$c(u.value.children,"w:t");if(f){var c="";if(f.children?c=f.children.filter(function(e){return"string"==typeof e}).join(""):"string"==typeof f&&(c=f),c.trim().length>0)return!0}}}catch(e){l.e(e)}finally{l.f()}}return!1}function Xc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=$c(e.children,"m:oMath");if(!r)return null;var n=Yc(r);if(!n||0===n.trim().length)return null;var i={value:n.trim(),type:"latex"};if(t){var a,o=wf(t);o&&(i.rowFlex=o);var s=df(t);null!==s&&(i.rowMargin=s);var u=pf(t),l=null===(a=e.children)||void 0===a?void 0:a.find(function(e){return"w:rPr"===e.tagName});if(l){var f,c,h,d,p,g,v,b,m,y,w,_,S=null===(f=l.children)||void 0===f?void 0:f.find(function(e){return"w:rFonts"===e.tagName});null!=S&&null!==(c=S.attributes)&&void 0!==c&&c["w:ascii"]&&(i.font=S.attributes["w:ascii"]);var k=null===(h=l.children)||void 0===h?void 0:h.find(function(e){return"w:sz"===e.tagName});null!=k&&null!==(d=k.attributes)&&void 0!==d&&d["w:val"]&&(i.size=parseInt(k.attributes["w:val"])/2),(null===(p=l.children)||void 0===p?void 0:p.find(function(e){return"w:b"===e.tagName}))&&(i.bold=!0),(null===(g=l.children)||void 0===g?void 0:g.find(function(e){return"w:i"===e.tagName}))&&(i.italic=!0),(null===(v=l.children)||void 0===v?void 0:v.find(function(e){return"w:u"===e.tagName}))&&(i.underline=!0),(null===(b=l.children)||void 0===b?void 0:b.find(function(e){return"w:strike"===e.tagName}))&&(i.strikeout=!0);var x=null===(m=l.children)||void 0===m?void 0:m.find(function(e){return"w:color"===e.tagName});if(null!=x&&null!==(y=x.attributes)&&void 0!==y&&y["w:val"]){var E=x.attributes["w:val"];/^[0-9A-Fa-f]{6}$/.test(E)?i.color="#"+E:i.color=E}var O=null===(w=l.children)||void 0===w?void 0:w.find(function(e){return"w:highlight"===e.tagName});if(null!=O&&null!==(_=O.attributes)&&void 0!==_&&_["w:val"]){var N=O.attributes["w:val"];/^[0-9A-Fa-f]{6}$/.test(N)?i.highlight="#"+N:i.highlight=N}}!i.size&&u.size&&(i.size=u.size),!i.bold&&u.bold&&(i.bold=u.bold),!i.italic&&u.italic&&(i.italic=u.italic),!i.color&&u.color&&(i.color=u.color),!i.highlight&&u.highlight&&(i.highlight=u.highlight)}return i}function Jc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Gc(e))return null;if(!Cf(e))return null;if(jf(e))return[Tf(e)];var r,n=[],i=e.children||[],a=pf(e),o=[],s=Bc(i);try{for(s.s();!(r=s.n()).done;){var u,l,f,c,h,d,p,g,v=r.value;if(!("w:pPr"===v.tagName||"pPr"===v.tagName||null!==(u=v.tagName)&&void 0!==u&&u.endsWith(":pPr")||null!==(l=v.tagName)&&void 0!==l&&l.endsWith("pPr")))if("m:oMath"===v.tagName||"oMath"===v.tagName||null!==(f=v.tagName)&&void 0!==f&&f.endsWith(":oMath")||null!==(c=v.tagName)&&void 0!==c&&c.endsWith("oMath")){if(o.length>0){var b=Qc(o,e);b&&n.push(b),o=[]}var m=Yc(v);if(m&&m.trim().length>0){var y={value:m.trim(),type:"latex"},w=wf(e);w&&(y.rowFlex=w);var _=df(e);null!==_&&(y.rowMargin=_);var S=pf(e);S.size&&(y.size=S.size),S.bold&&(y.bold=S.bold),S.italic&&(y.italic=S.italic),S.color&&(y.color=S.color),S.highlight&&(y.highlight=S.highlight),n.push(y)}}else if("w:r"===v.tagName||"r"===v.tagName||null!==(h=v.tagName)&&void 0!==h&&h.endsWith(":r")||null!==(d=v.tagName)&&void 0!==d&&d.endsWith("r")){var k=$c(v.children,"m:oMath"),x=$c(v.children,"w:t");if(k){if(o.length>0){var E=Qc(o,e);E&&n.push(E),o=[]}var O=Xc(v,e,t);O&&n.push(O)}else if(x){var N=cf(v,a,t);N&&N.value&&o.push(N)}}else if("m:oMathPara"===v.tagName||"oMathPara"===v.tagName||null!==(p=v.tagName)&&void 0!==p&&p.endsWith(":oMathPara")||null!==(g=v.tagName)&&void 0!==g&&g.endsWith("oMathPara")){if(o.length>0){var A=Qc(o,e);A&&n.push(A),o=[]}var R=$c(v.children,"m:oMath");if(R){var C=Yc(R);if(C&&C.trim().length>0){var j={value:C.trim(),type:"latex"},T=wf(e);T&&(j.rowFlex=T);var M=df(e);null!==M&&(j.rowMargin=M);var P=pf(e);P.size&&(j.size=P.size),P.bold&&(j.bold=P.bold),P.italic&&(j.italic=P.italic),P.color&&(j.color=P.color),P.highlight&&(j.highlight=P.highlight),n.push(j)}}}}}catch(e){s.e(e)}finally{s.f()}if(o.length>0){var I=Qc(o,e);I&&n.push(I)}return n.length>0?n:null}function Qc(e,t){if(0===e.length)return null;if(1===e.length&&1===Object.keys(e[0]).length){var r={value:e[0].value,type:"text"},n=wf(t);n&&(r.rowFlex=n);var i=df(t);return null!==i&&(r.rowMargin=i),r}var a=e.map(function(e){return e.value}).join(""),o=e[0],s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dc(Object(r),!0).forEach(function(t){Ef(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dc(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({value:a,type:"text"},Object.fromEntries(Object.entries(o).filter(function(e){return"value"!==Sf(e,1)[0]}))),u=wf(t);u&&(s.rowFlex=u);var l=df(t);return null!==l&&(s.rowMargin=l),s}function eh(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return th(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?th(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function th(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function rh(e){if(!e)return"";var t=e.split(":");return t.length>1?t[t.length-1]:e}function nh(e,t){return ih.apply(this,arguments)}function ih(){return ih=a(R.mark(function e(t,r){var n,i,a,o,s,u,l,f,c,h,d,p,g,v,b,m,y,w,_,S,k,x,E,O,N,A,C,j,T,M,P,I,L,D,B,z,F,q,U,W,H,Z,Y,$,V,K,G,X,J,Q,ee,te,re,ne,ie,ae,oe=arguments;return R.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=oe.length>2&&void 0!==oe[2]?oe[2]:null,i=oe.length>3&&void 0!==oe[3]?oe[3]:null,a=oe.length>4&&void 0!==oe[4]?oe[4]:null,t){e.next=1;break}return e.abrupt("return",[]);case 1:o=[],s=t.children||[],u=s.filter(function(e){var t;return"w:p"===e.tagName||"p"===e.tagName||(null===(t=e.tagName)||void 0===t?void 0:t.endsWith(":p"))||"p"===rh(e.tagName)}),l=0;case 2:if(!(l<s.length)){e.next=28;break}if(f=s[l],c=s[l+1],"tbl"!==(h=rh(f.tagName))){e.next=3;break}return(d=$f(f))&&(o.push(d),p=c?rh(c.tagName):null,c&&"p"===p&&!jf(c)&&o.push({value:"\n"})),e.abrupt("continue",27);case 3:if("p"===h){e.next=4;break}return e.abrupt("continue",27);case 4:if(g=f,v=c&&"p"===rh(c.tagName)?c:null,!jf(g)||Nc(g)||oc(g)||Fc(g)){e.next=5;break}return(b=Mf(g,a))&&o.push(b),e.abrupt("continue",27);case 5:if(!(m=_f(g))){e.next=10;break}if(o.push(m),!Nc(g)){e.next=9;break}if(!Ac(g)){e.next=7;break}return e.next=6,Ic(g,r,i);case 6:(y=e.sent)&&o.push(y),e.next=9;break;case 7:return e.next=8,jc(g,r,i,a);case 8:if((w=e.sent)&&w.length>0){_=eh(w);try{for(_.s();!(S=_.n()).done;)k=S.value,o.push(k)}catch(e){_.e(e)}finally{_.f()}}case 9:return oc(g)?(x=sc(g))&&(o.push(x),o.push({value:"\n"})):!v||jf(v)||uc(v)||o.push({value:"\n"}),e.abrupt("continue",27);case 10:if(!(E=sc(g))){e.next=11;break}return o.push(E),o.push({value:"\n"}),e.abrupt("continue",27);case 11:if(!bc(g)){e.next=12;break}return(O=yc(g,i,a))&&(o.push(O),!v||jf(v)||uc(v)||o.push({value:"\n"})),e.abrupt("continue",27);case 12:if(!Nc(g)){e.next=18;break}if(!Ac(g)){e.next=14;break}return e.next=13,Ic(g,r,i);case 13:return(N=e.sent)&&(o.length>0&&"\n"!==o[o.length-1].value&&o.push({value:"\n"}),o.push(N),!v||jf(v)||uc(v)||o.push({value:"\n"})),e.abrupt("continue",27);case 14:if(!Xf(g)){e.next=16;break}return e.next=15,Mc(g,r,i,a);case 15:if(!((A=e.sent)&&A.length>0)){e.next=16;break}C=eh(A);try{for(C.s();!(j=C.n()).done;)T=j.value,o.push(T)}catch(e){C.e(e)}finally{C.f()}return!v||jf(v)||uc(v)||o.push({value:"\n"}),e.abrupt("continue",27);case 16:return(M=Mf(g,a))&&"\n"!==M.value&&o.push(M),e.next=17,jc(g,r,i,a);case 17:if((P=e.sent)&&P.length>0){I=eh(P);try{for(I.s();!(L=I.n()).done;)D=L.value,o.push(D)}catch(e){I.e(e)}finally{I.f()}}return!v||jf(v)||uc(v)||o.push({value:"\n"}),e.abrupt("continue",27);case 18:if(!Fc(g)){e.next=21;break}if(!Gc(g)){e.next=20;break}if(!((B=Jc(g,a))&&B.length>0)){e.next=19;break}z=eh(B);try{for(z.s();!(F=z.n()).done;)q=F.value,o.push(q)}catch(e){z.e(e)}finally{z.f()}return!v||jf(v)||uc(v)||o.push({value:"\n"}),e.abrupt("continue",27);case 19:e.next=21;break;case 20:if(!(U=Kc(g))){e.next=21;break}return Vc(g)&&o.length>0&&"\n"!==o[o.length-1].value&&o.push({value:"\n"}),o.push(U),!v||jf(v)||uc(v)||o.push({value:"\n"}),e.abrupt("continue",27);case 21:if(!((W=u.indexOf(g))>=0&&uc(g))){e.next=22;break}if(!(H=hc(u,W,n,a))){e.next=22;break}for(Z=H.processedCount||H.valueList.length,delete H.processedCount;o.length>0&&"\n"===o[o.length-1].value;)o.pop();return o.push(H),l+=Z-1,!c||"w:p"!==c.tagName||jf(c)||uc(c)||o.push({value:"\n"}),e.abrupt("continue",27);case 22:if(!(Y=Gf(g))){e.next=23;break}return o.push(Y),e.abrupt("continue",27);case 23:if($=Xf(g),V=ic(g),!$&&!V){e.next=25;break}if(!$){e.next=24;break}if(!((K=Pf(g,a))&&K.length>0)){e.next=24;break}G=eh(K);try{for(G.s();!(X=G.n()).done;)J=X.value,o.push(J)}catch(e){G.e(e)}finally{G.f()}return!v||jf(v)||uc(v)||o.push({value:"\n"}),e.abrupt("continue",27);case 24:if(!V||$){e.next=25;break}if(!((Q=ac(g,a))&&Q.length>0)){e.next=25;break}ee=eh(Q);try{for(ee.s();!(te=ee.n()).done;)re=te.value,o.push(re)}catch(e){ee.e(e)}finally{ee.f()}return!v||jf(v)||uc(v)||o.push({value:"\n"}),e.abrupt("continue",27);case 25:if(!oc(g)){e.next=26;break}return(ne=Mf(g,a))&&"\n"!==ne.value&&o.push(ne),(ie=sc(g))&&(o.push(ie),o.push({value:"\n"})),e.abrupt("continue",27);case 26:(ae=Mf(g,a))&&(o.push(ae),"\n"!==ae.value&&v&&!jf(v)&&o.push({value:"\n"}));case 27:l++,e.next=2;break;case 28:return e.abrupt("return",o);case 29:case"end":return e.stop()}},e)})),ih.apply(this,arguments)}function ah(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return oh(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oh(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function oh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function sh(e){if(!e)return"";var t=e.split(":");return t.length>1?t[t.length-1]:e}function uh(e){return e?("string"==typeof e?parseInt(e,10):e)/20:null}function lh(e){var t,r;if(!e)return{};var n={},i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"pgSz"===sh(e.tagName)});if(i){var a,o,s,u=null===(a=i.attributes)||void 0===a?void 0:a["w:w"],l=null===(o=i.attributes)||void 0===o?void 0:o["w:h"],f=null===(s=i.attributes)||void 0===s?void 0:s["w:orient"];u&&(n.width=uh(u)),l&&(n.height=uh(l)),f&&(n.paperDirection="landscape"===f?"horizontal":"vertical")}var c=null===(r=e.children)||void 0===r?void 0:r.find(function(e){return"pgMar"===sh(e.tagName)});if(c){var h,d,p,g,v=null===(h=c.attributes)||void 0===h?void 0:h["w:top"],b=null===(d=c.attributes)||void 0===d?void 0:d["w:right"],m=null===(p=c.attributes)||void 0===p?void 0:p["w:bottom"],y=null===(g=c.attributes)||void 0===g?void 0:g["w:left"];(v||b||m||y)&&(n.margins=[v?uh(v):0,b?uh(b):0,m?uh(m):0,y?uh(y):0])}return n}function fh(e){var t,r;if(!e)return{};var n={},i=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"defaultFontSize"===sh(e.tagName)});if(i){var a,o=null===(a=i.attributes)||void 0===a?void 0:a["w:val"];o&&(n.defaultSize=parseInt(o,10)/2)}var s=null===(r=e.children)||void 0===r?void 0:r.find(function(e){return"defaultFonts"===sh(e.tagName)});if(s){var u,l,f,c=null===(u=s.attributes)||void 0===u?void 0:u["w:ascii"],h=null===(l=s.attributes)||void 0===l?void 0:l["w:eastAsia"],d=null===(f=s.attributes)||void 0===f?void 0:f["w:hAnsi"];n.defaultFont=c||h||d||"Microsoft YaHei"}return n}function ch(e){var t;if(!e)return{};var r,n={},i=ah((null===(t=e.children)||void 0===t?void 0:t.filter(function(e){return"style"===sh(e.tagName)}))||[]);try{for(i.s();!(r=i.n()).done;){var a,o,s=r.value,u=null===(a=s.attributes)||void 0===a?void 0:a["w:type"],l="1"===(null===(o=s.attributes)||void 0===o?void 0:o["w:default"]);if("paragraph"===u&&l){var f,c,h=null===(f=s.children)||void 0===f?void 0:f.find(function(e){return"pPr"===sh(e.tagName)});if(h){var d,p=null===(d=h.children)||void 0===d?void 0:d.find(function(e){return"spacing"===sh(e.tagName)});if(p){var g,v,b=null===(g=p.attributes)||void 0===g?void 0:g["w:line"],m=null===(v=p.attributes)||void 0===v?void 0:v["w:lineRule"];b&&"auto"===m&&(n.defaultRowMargin=parseInt(b,10)/240)}}var y=null===(c=s.children)||void 0===c?void 0:c.find(function(e){return"rPr"===sh(e.tagName)});if(y){var w,_,S,k=null===(w=y.children)||void 0===w?void 0:w.find(function(e){return"sz"===sh(e.tagName)});if(k){var x,E=null===(x=k.attributes)||void 0===x?void 0:x["w:val"];E&&(n.defaultSize=parseInt(E,10)/2)}var O=null===(_=y.children)||void 0===_?void 0:_.find(function(e){return"color"===sh(e.tagName)});if(O){var N,A=null===(N=O.attributes)||void 0===N?void 0:N["w:val"];A&&"auto"!==A&&"000000"!==A&&(n.defaultColor="#".concat(A))}var R=null===(S=y.children)||void 0===S?void 0:S.find(function(e){return"rFonts"===sh(e.tagName)});if(R){var C,j,T,M=null===(C=R.attributes)||void 0===C?void 0:C["w:ascii"],P=null===(j=R.attributes)||void 0===j?void 0:j["w:eastAsia"],I=null===(T=R.attributes)||void 0===T?void 0:T["w:hAnsi"];n.defaultFont=M||P||I||"Microsoft YaHei"}}}}}catch(e){i.e(e)}finally{i.f()}return n}function hh(e,t){return dh.apply(this,arguments)}function dh(){return dh=a(R.mark(function e(t,r){var n,i,a,o,s,u,l,f,c,h,d,p,g,v,b,m,y,w,_;return R.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n={mode:"edit",locale:"zhCN",defaultType:"TEXT",defaultColor:"#0a0a0a",defaultFont:"Microsoft YaHei",defaultSize:16,minSize:5,maxSize:72,defaultBasicRowMarginHeight:8,defaultRowMargin:1,defaultTabWidth:32,width:794,height:1123,scale:1,pageGap:20,margins:[100,120,100,120],paperDirection:"vertical",pageMode:"paging",renderMode:"speed",printPixelRatio:3,inactiveAlpha:.6,maskMargin:[0,0,0,0]},e.prev=1,r&&(a=function(e){if(!e||!e.children)return null;var t,r=ah(e.children);try{for(r.s();!(t=r.n()).done;){var n=t.value;if("sectPr"===sh(n.tagName||""))return n;var i=a(n);if(i)return i}}catch(e){r.e(e)}finally{r.f()}return null},o=rl(r),s=Array.isArray(o)?o.find(function(e){return"w:document"===e.tagName})||o[0]:o,u=null==s||null===(i=s.children)||void 0===i?void 0:i.find(function(e){return"w:body"===e.tagName}),(l=a(u))&&(f=lh(l),Object.assign(n,f))),!(c=t.file("word/settings.xml"))){e.next=3;break}return e.next=2,c.async("string");case 2:h=e.sent,d=rl(h),p=Array.isArray(d)?d.find(function(e){return"w:settings"===e.tagName})||d[0]:d,p&&(g=fh(p),Object.assign(n,g));case 3:if(!(v=t.file("word/styles.xml"))){e.next=5;break}return e.next=4,v.async("string");case 4:b=e.sent,m=rl(b),y=Array.isArray(m)?m.find(function(e){return"w:styles"===e.tagName})||m[0]:m,y&&(w=ch(y),Object.assign(n,w));case 5:e.next=7;break;case 6:e.prev=6,_=e.catch(1),console.warn("解析文档配置失败:",_);case 7:return e.abrupt("return",n);case 8:case"end":return e.stop()}},e,null,[[1,6]])})),dh.apply(this,arguments)}function ph(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return gh(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gh(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function gh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function vh(e){if(!e)return"";var t=e.split(":");return t.length>1?t[t.length-1]:e}function bh(){return bh=a(R.mark(function e(t){var r,i,a,o,s,u,l,f,c,h,d,p,g,v,b,m,y,w,_,S,k,x,E,O,N,A,C,j,T,M,P,I,L,D,B,z,F,q,U,W,H,Z,Y,$,V,K,G,X,J,Q,ee,te,re,ne,ie,ae,oe,se,ue,le,fe,ce,he,de,pe,ge,ve,be,me,ye,we,_e,Se,ke,xe,Ee,Oe,Ne,Ae,Re,Ce,je,Te,Me,Pe,Ie,Le,De,Be,ze,Fe,qe,Ue,We,He,Ze,Ye,$e,Ve;return R.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=1,tl.loadAsync(t);case 1:if(i=e.sent,a=i.file("word/document.xml")){e.next=2;break}throw new Error("无法找到 word/document.xml 文件");case 2:return e.next=3,a.async("string");case 3:if(o=e.sent,s=null,!(u=i.file("word/numbering.xml"))){e.next=5;break}return e.next=4,u.async("string");case 4:s=e.sent;case 5:if(l=null,!(f=i.file("word/_rels/document.xml.rels"))){e.next=7;break}return e.next=6,f.async("string");case 6:l=e.sent;case 7:if(c=new Set,h=new Set,l){d=rl(l),p=Array.isArray(d)?d.find(function(e){return"Relationships"===e.tagName})||d[0]:d,g=(null==p?void 0:p.children)||[],v=ph(g);try{for(v.s();!(b=v.n()).done;)"Relationship"===(m=b.value).tagName&&(k=(null===(y=m.attributes)||void 0===y?void 0:y.Type)||(null===(w=m.attributes)||void 0===w?void 0:w.type),x=(null===(_=m.attributes)||void 0===_?void 0:_.Target)||(null===(S=m.attributes)||void 0===S?void 0:S.target),k&&x&&(k.includes("header")?c.add(x):k.includes("footer")&&h.add(x)))}catch(e){v.e(e)}finally{v.f()}}if(E=Array.from(c),O=Array.from(h),N=rl(o),A=Array.isArray(N)?N.find(function(e){return"w:document"===e.tagName})||N[0]:N,C=null==A||null===(r=A.children)||void 0===r?void 0:r.find(function(e){return"w:body"===e.tagName}),C){e.next=9;break}return e.next=8,hh(i,o);case 8:return j=e.sent,e.abrupt("return",{header:[],main:[],footer:[],options:j});case 9:T=[],M=C.children||[],P=M.filter(function(e){return"w:p"===e.tagName}),I=0;case 10:if(!(I<M.length)){e.next=34;break}if(L=M[I],D=M[I+1],"w:tbl"!==L.tagName){e.next=11;break}return(B=$f(L))&&(T.push(B),D&&"w:p"===D.tagName&&!jf(D)&&T.push({value:"\n"})),e.abrupt("continue",33);case 11:if("w:p"===L.tagName){e.next=12;break}return e.abrupt("continue",33);case 12:if(z=L,F=D&&"w:p"===D.tagName?D:null,!jf(z)||Nc(z)||oc(z)||Fc(z)){e.next=13;break}return(q=Mf(z,o))&&T.push(q),e.abrupt("continue",33);case 13:if(!(U=_f(z))){e.next=18;break}if(T.push(U),!Nc(z)){e.next=17;break}if(!Ac(z)){e.next=15;break}return e.next=14,Ic(z,i,l);case 14:(W=e.sent)&&T.push(W),e.next=17;break;case 15:return e.next=16,jc(z,i,l,o);case 16:if((H=e.sent)&&H.length>0){Z=ph(H);try{for(Z.s();!(Y=Z.n()).done;)$=Y.value,T.push($)}catch(e){Z.e(e)}finally{Z.f()}}case 17:return oc(z)?(V=sc(z))&&(T.push(V),T.push({value:"\n"})):!F||jf(F)||uc(F)||T.push({value:"\n"}),e.abrupt("continue",33);case 18:if(!(K=sc(z))){e.next=19;break}return T.push(K),T.push({value:"\n"}),e.abrupt("continue",33);case 19:if(!bc(z)){e.next=20;break}if(!(G=yc(z,l,o))){e.next=20;break}return T.push(G),!F||jf(F)||uc(F)||T.push({value:"\n"}),e.abrupt("continue",33);case 20:if(!Nc(z)){e.next=24;break}if(!Ac(z)){e.next=22;break}return e.next=21,Ic(z,i,l);case 21:return(X=e.sent)&&(T.length>0&&"\n"!==T[T.length-1].value&&T.push({value:"\n"}),T.push(X),!F||jf(F)||uc(F)||T.push({value:"\n"})),e.abrupt("continue",33);case 22:return(J=Mf(z,o))&&"\n"!==J.value&&T.push(J),e.next=23,jc(z,i,l,o);case 23:if((Q=e.sent)&&Q.length>0){ee=ph(Q);try{for(ee.s();!(te=ee.n()).done;)re=te.value,T.push(re)}catch(e){ee.e(e)}finally{ee.f()}}return!F||jf(F)||uc(F)||T.push({value:"\n"}),e.abrupt("continue",33);case 24:if(!Fc(z)){e.next=27;break}if(!Gc(z)){e.next=26;break}if(!((ne=Jc(z,o))&&ne.length>0)){e.next=25;break}ie=ph(ne);try{for(ie.s();!(ae=ie.n()).done;)oe=ae.value,T.push(oe)}catch(e){ie.e(e)}finally{ie.f()}return!F||jf(F)||uc(F)||T.push({value:"\n"}),e.abrupt("continue",33);case 25:e.next=27;break;case 26:if(!(se=Kc(z))){e.next=27;break}return Vc(z)&&T.length>0&&"\n"!==T[T.length-1].value&&T.push({value:"\n"}),T.push(se),!F||jf(F)||uc(F)||T.push({value:"\n"}),e.abrupt("continue",33);case 27:if(!((ue=P.indexOf(z))>=0&&uc(z))){e.next=28;break}if(!(le=hc(P,ue,s,o))){e.next=28;break}for(fe=le.processedCount||le.valueList.length,delete le.processedCount;T.length>0&&"\n"===T[T.length-1].value;)T.pop();return T.push(le),I+=fe-1,!D||"w:p"!==D.tagName||jf(D)||uc(D)||T.push({value:"\n"}),e.abrupt("continue",33);case 28:if(!(ce=Gf(z))){e.next=29;break}return T.push(ce),e.abrupt("continue",33);case 29:if(he=Xf(z),de=ic(z),!he&&!de){e.next=31;break}if(!he){e.next=30;break}if(!((pe=Pf(z,o))&&pe.length>0)){e.next=30;break}ge=ph(pe);try{for(ge.s();!(ve=ge.n()).done;)be=ve.value,T.push(be)}catch(e){ge.e(e)}finally{ge.f()}return!F||jf(F)||uc(F)||T.push({value:"\n"}),e.abrupt("continue",33);case 30:if(!de||he){e.next=31;break}if(!((me=ac(z,o))&&me.length>0)){e.next=31;break}ye=ph(me);try{for(ye.s();!(we=ye.n()).done;)_e=we.value,T.push(_e)}catch(e){ye.e(e)}finally{ye.f()}return!F||jf(F)||uc(F)||T.push({value:"\n"}),e.abrupt("continue",33);case 31:if(!oc(z)){e.next=32;break}return(Se=Mf(z,o))&&"\n"!==Se.value&&T.push(Se),(ke=sc(z))&&(T.push(ke),T.push({value:"\n"})),e.abrupt("continue",33);case 32:(xe=Mf(z,o))&&(T.push(xe),"\n"!==xe.value&&F&&!jf(F)&&T.push({value:"\n"}));case 33:I++,e.next=10;break;case 34:Ee=[],Oe=new Map,Ne=R.mark(function e(){var t,r,a,o,u,l,f,c,h,d,p,g,v,b,m,y;return R.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Re[Ae],e.prev=1,r=t.startsWith("word/")?t:"word/".concat(t),!(a=i.file(r))){e.next=7;break}return e.next=2,a.async("string");case 2:if(l=e.sent,f=rl(l),c=Array.isArray(f)?f.find(function(e){return"w:hdr"===e.tagName||"hdr"===e.tagName||"hdr"===vh(e.tagName)})||f[0]:f,h=c?{children:(null===(o=c.children)||void 0===o?void 0:o.filter(function(e){return"w:p"===e.tagName||"w:tbl"===e.tagName||"p"===vh(e.tagName)||"tbl"===vh(e.tagName)}))||[]}:{children:[]},d=JSON.stringify(null===(u=h.children)||void 0===u?void 0:u.map(function(e){if("p"===vh(e.tagName)){var r,n=(null===(r=e.children)||void 0===r?void 0:r.filter(function(e){return"r"===vh(e.tagName)}))||[],i=n.map(function(e){var t,r,n=null===(t=e.children)||void 0===t?void 0:t.find(function(e){return"t"===vh(e.tagName)});return(null==n||null===(r=n.children)||void 0===r?void 0:r.filter(function(e){return"string"==typeof e}).join(""))||""}).join("");return{type:"p",text:i}}return"tbl"===vh(e.tagName)?{type:"tbl",id:t}:null}).filter(Boolean)),!Oe.has(d)){e.next=3;break}return e.abrupt("return",1);case 3:if(p=null,g=t.split("/").pop(),v="word/_rels/".concat(g,".rels"),!(b=i.file(v))){e.next=5;break}return e.next=4,b.async("string");case 4:p=e.sent;case 5:if(!h){e.next=7;break}return e.next=6,nh(h,i,s,p,l);case 6:m=e.sent,Ee.push.apply(Ee,n(m)),Oe.set(d,!0);case 7:e.next=9;break;case 8:e.prev=8,y=e.catch(1),console.warn("解析 header 文件 ".concat(t," 失败:"),y);case 9:case"end":return e.stop()}},e,null,[[1,8]])}),Ae=0,Re=E;case 35:if(!(Ae<Re.length)){e.next=38;break}return e.delegateYield(Ne(),"t0",36);case 36:if(!e.t0){e.next=37;break}return e.abrupt("continue",37);case 37:Ae++,e.next=35;break;case 38:Ce=[],je=0,Te=O;case 39:if(!(je<Te.length)){e.next=48;break}if(Me=Te[je],e.prev=40,Pe=Me.startsWith("word/")?Me:"word/".concat(Me),!(Ie=i.file(Pe))){e.next=45;break}return e.next=41,Ie.async("string");case 41:if(De=e.sent,Be=rl(De),ze=Array.isArray(Be)?Be.find(function(e){return"w:ftr"===e.tagName||"ftr"===e.tagName||"ftr"===vh(e.tagName)})||Be[0]:Be,Fe=ze?{children:(null===(Le=ze.children)||void 0===Le?void 0:Le.filter(function(e){return"w:p"===e.tagName||"w:tbl"===e.tagName||"p"===vh(e.tagName)||"tbl"===vh(e.tagName)}))||[]}:{children:[]},qe=null,Ue=Me.split("/").pop(),We="word/_rels/".concat(Ue,".rels"),!(He=i.file(We))){e.next=43;break}return e.next=42,He.async("string");case 42:qe=e.sent;case 43:if(!Fe){e.next=45;break}return e.next=44,nh(Fe,i,s,qe,De);case 44:Ze=e.sent,Ce.push.apply(Ce,n(Ze));case 45:e.next=47;break;case 46:e.prev=46,$e=e.catch(40),console.warn("解析 footer 文件 ".concat(Me," 失败:"),$e);case 47:je++,e.next=39;break;case 48:return e.next=49,hh(i,o);case 49:return Ye=e.sent,e.abrupt("return",{header:Ee,main:T,footer:Ce,options:Ye});case 50:throw e.prev=50,Ve=e.catch(0),console.error("解析 DOCX 文件失败:",Ve),Ve;case 51:case"end":return e.stop()}},e,null,[[0,50],[40,46]])})),bh.apply(this,arguments)}e.parse=function(e){return bh.apply(this,arguments)}});
|
|
4
4
|
//# sourceMappingURL=index.umd.js.map
|