@njuptlzf/agent-chat-web 0.3.0 → 0.4.1

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.
@@ -1,44 +0,0 @@
1
- import{g as wo,c as fr,a as bo}from"./index-D57mU5H5.js";import{c as hr}from"./_commonjs-dynamic-modules-TDtrdbi3.js";function Do(e,r){for(var t=0;t<r.length;t++){const n=r[t];if(typeof n!="string"&&!Array.isArray(n)){for(const s in n)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(n,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>n[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var je={},Qn="1.13.8",ji=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},$r=Array.prototype,ei=Object.prototype,Zi=typeof Symbol<"u"?Symbol.prototype:null,_o=$r.push,ur=$r.slice,Jt=ei.toString,Eo=ei.hasOwnProperty,Ia=typeof ArrayBuffer<"u",Ao=typeof DataView<"u",xo=Array.isArray,Gi=Object.keys,$i=Object.create,Yi=Ia&&ArrayBuffer.isView,Co=isNaN,To=isFinite,Ra=!{toString:null}.propertyIsEnumerable("toString"),Ki=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],ko=Math.pow(2,53)-1;function qe(e,r){return r=r==null?e.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),n=Array(t),s=0;s<t;s++)n[s]=arguments[s+r];switch(r){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var i=Array(r+1);for(s=0;s<r;s++)i[s]=arguments[s];return i[r]=n,e.apply(this,i)}}function vt(e){var r=typeof e;return r==="function"||r==="object"&&!!e}function Oa(e){return e===null}function ti(e){return e===void 0}function ri(e){return e===!0||e===!1||Jt.call(e)==="[object Boolean]"}function Ba(e){return!!(e&&e.nodeType===1)}function Me(e){var r="[object "+e+"]";return function(t){return Jt.call(t)===r}}const Yr=Me("String"),ni=Me("Number"),La=Me("Date"),Fa=Me("RegExp"),Ma=Me("Error"),ii=Me("Symbol"),ui=Me("ArrayBuffer");var Pa=Me("Function"),So=ji.document&&ji.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof So!="function"&&(Pa=function(e){return typeof e=="function"||!1});const Fe=Pa,qa=Me("Object");var za=Ao&&(!/\[native code\]/.test(String(DataView))||qa(new DataView(new ArrayBuffer(8)))),ai=typeof Map<"u"&&qa(new Map),No=Me("DataView");function Io(e){return e!=null&&Fe(e.getInt8)&&ui(e.buffer)}const Qt=za?Io:No,gt=xo||Me("Array");function yt(e,r){return e!=null&&Eo.call(e,r)}var Kn=Me("Arguments");(function(){Kn(arguments)||(Kn=function(e){return yt(e,"callee")})})();const Kr=Kn;function Xa(e){return!ii(e)&&To(e)&&!isNaN(parseFloat(e))}function si(e){return ni(e)&&Co(e)}function oi(e){return function(){return e}}function Ua(e){return function(r){var t=e(r);return typeof t=="number"&&t>=0&&t<=ko}}function Wa(e){return function(r){return r?.[e]}}const Vr=Wa("byteLength"),Ro=Ua(Vr);var Oo=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function Bo(e){return Yi?Yi(e)&&!Qt(e):Ro(e)&&Oo.test(Jt.call(e))}const li=Ia?Bo:oi(!1),Le=Wa("length");function Lo(e){for(var r={},t=e.length,n=0;n<t;++n)r[e[n]]=!0;return{contains:function(s){return r[s]===!0},push:function(s){return r[s]=!0,e.push(s)}}}function Va(e,r){r=Lo(r);var t=Ki.length,n=e.constructor,s=Fe(n)&&n.prototype||ei,i="constructor";for(yt(e,i)&&!r.contains(i)&&r.push(i);t--;)i=Ki[t],i in e&&e[i]!==s[i]&&!r.contains(i)&&r.push(i)}function Ne(e){if(!vt(e))return[];if(Gi)return Gi(e);var r=[];for(var t in e)yt(e,t)&&r.push(t);return Ra&&Va(e,r),r}function Ha(e){if(e==null)return!0;var r=Le(e);return typeof r=="number"&&(gt(e)||Yr(e)||Kr(e))?r===0:Le(Ne(e))===0}function ci(e,r){var t=Ne(r),n=t.length;if(e==null)return!n;for(var s=Object(e),i=0;i<n;i++){var u=t[i];if(r[u]!==s[u]||!(u in s))return!1}return!0}function Ae(e){if(e instanceof Ae)return e;if(!(this instanceof Ae))return new Ae(e);this._wrapped=e}Ae.VERSION=Qn;Ae.prototype.value=function(){return this._wrapped};Ae.prototype.valueOf=Ae.prototype.toJSON=Ae.prototype.value;Ae.prototype.toString=function(){return String(this._wrapped)};function Ji(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Vr(e))}var Qi="[object DataView]";function ja(e,r){for(var t=[{a:e,b:r}],n=[],s=[];t.length;){var i=t.pop();if(i===!0){n.pop(),s.pop();continue}if(e=i.a,r=i.b,e===r){if(e!==0||1/e===1/r)continue;return!1}if(e==null||r==null)return!1;if(e!==e){if(r!==r)continue;return!1}var u=typeof e;if(u!=="function"&&u!=="object"&&typeof r!="object")return!1;e instanceof Ae&&(e=e._wrapped),r instanceof Ae&&(r=r._wrapped);var a=Jt.call(e);if(a!==Jt.call(r))return!1;if(za&&a=="[object Object]"&&Qt(e)){if(!Qt(r))return!1;a=Qi}switch(a){case"[object RegExp]":case"[object String]":if(""+e==""+r)continue;return!1;case"[object Number]":t.push({a:+e,b:+r});continue;case"[object Date]":case"[object Boolean]":if(+e==+r)continue;return!1;case"[object Symbol]":if(Zi.valueOf.call(e)===Zi.valueOf.call(r))continue;return!1;case"[object ArrayBuffer]":case Qi:t.push({a:Ji(e),b:Ji(r)});continue}var o=a==="[object Array]";if(!o&&li(e)){var p=Vr(e);if(p!==Vr(r))return!1;if(e.buffer===r.buffer&&e.byteOffset===r.byteOffset)continue;o=!0}if(!o){if(typeof e!="object"||typeof r!="object")return!1;var g=e.constructor,b=r.constructor;if(g!==b&&!(Fe(g)&&g instanceof g&&Fe(b)&&b instanceof b)&&"constructor"in e&&"constructor"in r)return!1}for(var v=n.length;v--;)if(n[v]===e){if(s[v]===r)break;return!1}if(!(v>=0))if(n.push(e),s.push(r),t.push(!0),o){if(v=e.length,v!==r.length)return!1;for(;v--;)t.push({a:e[v],b:r[v]})}else{var h=Ne(e),_;if(v=h.length,Ne(r).length!==v)return!1;for(;v--;){if(_=h[v],!yt(r,_))return!1;t.push({a:e[_],b:r[_]})}}}return!0}function qt(e){if(!vt(e))return[];var r=[];for(var t in e)r.push(t);return Ra&&Va(e,r),r}function fi(e){var r=Le(e);return function(t){if(t==null)return!1;var n=qt(t);if(Le(n))return!1;for(var s=0;s<r;s++)if(!Fe(t[e[s]]))return!1;return e!==$a||!Fe(t[hi])}}var hi="forEach",Za="has",pi=["clear","delete"],Ga=["get",Za,"set"],Fo=pi.concat(hi,Ga),$a=pi.concat(Ga),Mo=["add"].concat(pi,hi,Za);const Ya=ai?fi(Fo):Me("Map"),Ka=ai?fi($a):Me("WeakMap"),Ja=ai?fi(Mo):Me("Set"),Qa=Me("WeakSet");function kt(e){for(var r=Ne(e),t=r.length,n=Array(t),s=0;s<t;s++)n[s]=e[r[s]];return n}function es(e){for(var r=Ne(e),t=r.length,n=Array(t),s=0;s<t;s++)n[s]=[r[s],e[r[s]]];return n}function di(e){for(var r={},t=Ne(e),n=0,s=t.length;n<s;n++)r[e[t[n]]]=t[n];return r}function er(e){var r=[];for(var t in e)Fe(e[t])&&r.push(t);return r.sort()}function mi(e,r){return function(t){var n=arguments.length;if(r&&(t=Object(t)),n<2||t==null)return t;for(var s=1;s<n;s++)for(var i=arguments[s],u=e(i),a=u.length,o=0;o<a;o++){var p=u[o];(!r||t[p]===void 0)&&(t[p]=i[p])}return t}}const vi=mi(qt),Mt=mi(Ne),gi=mi(qt,!0);function Po(){return function(){}}function ts(e){if(!vt(e))return{};if($i)return $i(e);var r=Po();r.prototype=e;var t=new r;return r.prototype=null,t}function rs(e,r){var t=ts(e);return r&&Mt(t,r),t}function ns(e){return vt(e)?gt(e)?e.slice():vi({},e):e}function is(e,r){return r(e),e}function yi(e){return gt(e)?e:[e]}Ae.toPath=yi;function ar(e){return Ae.toPath(e)}function wi(e,r){for(var t=r.length,n=0;n<t;n++){if(e==null)return;e=e[r[n]]}return t?e:void 0}function bi(e,r,t){var n=wi(e,ar(r));return ti(n)?t:n}function us(e,r){r=ar(r);for(var t=r.length,n=0;n<t;n++){var s=r[n];if(!yt(e,s))return!1;e=e[s]}return!!t}function Jr(e){return e}function Tt(e){return e=Mt({},e),function(r){return ci(r,e)}}function Qr(e){return e=ar(e),function(r){return wi(r,e)}}function sr(e,r,t){if(r===void 0)return e;switch(t??3){case 1:return function(n){return e.call(r,n)};case 3:return function(n,s,i){return e.call(r,n,s,i)};case 4:return function(n,s,i,u){return e.call(r,n,s,i,u)}}return function(){return e.apply(r,arguments)}}function as(e,r,t){return e==null?Jr:Fe(e)?sr(e,r,t):vt(e)&&!gt(e)?Tt(e):Qr(e)}function en(e,r){return as(e,r,1/0)}Ae.iteratee=en;function Xe(e,r,t){return Ae.iteratee!==en?Ae.iteratee(e,r):as(e,r,t)}function ss(e,r,t){r=Xe(r,t);for(var n=Ne(e),s=n.length,i={},u=0;u<s;u++){var a=n[u];i[a]=r(e[a],a,e)}return i}function Di(){}function os(e){return e==null?Di:function(r){return bi(e,r)}}function ls(e,r,t){var n=Array(Math.max(0,e));r=sr(r,t,1);for(var s=0;s<e;s++)n[s]=r(s);return n}function Hr(e,r){return r==null&&(r=e,e=0),e+Math.floor(Math.random()*(r-e+1))}const Pt=Date.now||function(){return new Date().getTime()};function cs(e){var r=function(i){return e[i]},t="(?:"+Ne(e).join("|")+")",n=RegExp(t),s=RegExp(t,"g");return function(i){return i=i==null?"":""+i,n.test(i)?i.replace(s,r):i}}const fs={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},hs=cs(fs),qo=di(fs),ps=cs(qo),ds=Ae.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var En=/(.)^/,zo={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Xo=/\\|'|\r|\n|\u2028|\u2029/g;function Uo(e){return"\\"+zo[e]}var Wo=/^\s*(\w|\$)+\s*$/;function ms(e,r,t){!r&&t&&(r=t),r=gi({},r,Ae.templateSettings);var n=RegExp([(r.escape||En).source,(r.interpolate||En).source,(r.evaluate||En).source].join("|")+"|$","g"),s=0,i="__p+='";e.replace(n,function(p,g,b,v,h){return i+=e.slice(s,h).replace(Xo,Uo),s=h+p.length,g?i+=`'+
2
- ((__t=(`+g+`))==null?'':_.escape(__t))+
3
- '`:b?i+=`'+
4
- ((__t=(`+b+`))==null?'':__t)+
5
- '`:v&&(i+=`';
6
- `+v+`
7
- __p+='`),p}),i+=`';
8
- `;var u=r.variable;if(u){if(!Wo.test(u))throw new Error("variable is not a bare identifier: "+u)}else i=`with(obj||{}){
9
- `+i+`}
10
- `,u="obj";i=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
11
- `+i+`return __p;
12
- `;var a;try{a=new Function(u,"_",i)}catch(p){throw p.source=i,p}var o=function(p){return a.call(this,p,Ae)};return o.source="function("+u+`){
13
- `+i+"}",o}function vs(e,r,t){r=ar(r);var n=r.length;if(!n)return Fe(t)?t.call(e):t;for(var s=0;s<n;s++){var i=e?.[r[s]];i===void 0&&(i=t,s=n),e=Fe(i)?i.call(e):i}return e}var Vo=0;function gs(e){var r=++Vo+"";return e?e+r:r}function ys(e){var r=Ae(e);return r._chain=!0,r}function ws(e,r,t,n,s){if(!(n instanceof r))return e.apply(t,s);var i=ts(e.prototype),u=e.apply(i,s);return vt(u)?u:i}var St=qe(function(e,r){var t=St.placeholder,n=function(){for(var s=0,i=r.length,u=Array(i),a=0;a<i;a++)u[a]=r[a]===t?arguments[s++]:r[a];for(;s<arguments.length;)u.push(arguments[s++]);return ws(e,n,this,this,u)};return n});St.placeholder=Ae;const _i=qe(function(e,r,t){if(!Fe(e))throw new TypeError("Bind must be called on a function");var n=qe(function(s){return ws(e,n,r,this,t.concat(s))});return n}),He=Ua(Le);function zt(e,r,t){!r&&r!==0&&(r=1/0);for(var n=[],s=0,i=0,u=Le(e)||0,a=[];;){if(i>=u){if(!a.length)break;var o=a.pop();i=o.i,e=o.v,u=Le(e);continue}var p=e[i++];a.length>=r?n[s++]=p:He(p)&&(gt(p)||Kr(p))?(a.push({i,v:e}),i=0,e=p,u=Le(e)):t||(n[s++]=p)}return n}const bs=qe(function(e,r){r=zt(r,!1,!1);var t=r.length;if(t<1)throw new Error("bindAll must be passed function names");for(;t--;){var n=r[t];e[n]=_i(e[n],e)}return e});function Ds(e,r){var t=function(n){var s=t.cache,i=""+(r?r.apply(this,arguments):n);return yt(s,i)||(s[i]=e.apply(this,arguments)),s[i]};return t.cache={},t}const Ei=qe(function(e,r,t){return setTimeout(function(){return e.apply(null,t)},r)}),_s=St(Ei,Ae,1);function Es(e,r,t){var n,s,i,u,a=0;t||(t={});var o=function(){a=t.leading===!1?0:Pt(),n=null,u=e.apply(s,i),n||(s=i=null)},p=function(){var g=Pt();!a&&t.leading===!1&&(a=g);var b=r-(g-a);return s=this,i=arguments,b<=0||b>r?(n&&(clearTimeout(n),n=null),a=g,u=e.apply(s,i),n||(s=i=null)):!n&&t.trailing!==!1&&(n=setTimeout(o,b)),u};return p.cancel=function(){clearTimeout(n),a=0,n=s=i=null},p}function As(e,r,t){var n,s,i,u,a,o=function(){var g=Pt()-s;r>g?n=setTimeout(o,r-g):(n=null,t||(u=e.apply(a,i)),n||(i=a=null))},p=qe(function(g){return a=this,i=g,s=Pt(),n||(n=setTimeout(o,r),t&&(u=e.apply(a,i))),u});return p.cancel=function(){clearTimeout(n),n=i=a=null},p}function xs(e,r){return St(r,e)}function tn(e){return function(){return!e.apply(this,arguments)}}function Cs(){var e=arguments,r=e.length-1;return function(){for(var t=r,n=e[r].apply(this,arguments);t--;)n=e[t].call(this,n);return n}}function Ts(e,r){return function(){if(--e<1)return r.apply(this,arguments)}}function Ai(e,r){var t;return function(){return--e>0&&(t=r.apply(this,arguments)),e<=1&&(r=null),t}}const ks=St(Ai,2);function xi(e,r,t){r=Xe(r,t);for(var n=Ne(e),s,i=0,u=n.length;i<u;i++)if(s=n[i],r(e[s],s,e))return s}function Ss(e){return function(r,t,n){t=Xe(t,n);for(var s=Le(r),i=e>0?0:s-1;i>=0&&i<s;i+=e)if(t(r[i],i,r))return i;return-1}}const rn=Ss(1),Ci=Ss(-1);function Ti(e,r,t,n){t=Xe(t,n,1);for(var s=t(r),i=0,u=Le(e);i<u;){var a=Math.floor((i+u)/2);t(e[a])<s?i=a+1:u=a}return i}function Ns(e,r,t){return function(n,s,i){var u=0,a=Le(n);if(typeof i=="number")e>0?u=i>=0?i:Math.max(i+a,u):a=i>=0?Math.min(i+1,a):i+a+1;else if(t&&i&&a)return i=t(n,s),n[i]===s?i:-1;if(s!==s)return i=r(ur.call(n,u,a),si),i>=0?i+u:-1;for(i=e>0?u:a-1;i>=0&&i<a;i+=e)if(n[i]===s)return i;return-1}}const ki=Ns(1,rn,Ti),Is=Ns(-1,Ci);function tr(e,r,t){var n=He(e)?rn:xi,s=n(e,r,t);if(s!==void 0&&s!==-1)return e[s]}function Rs(e,r){return tr(e,Tt(r))}function Je(e,r,t){r=sr(r,t);var n,s;if(He(e))for(n=0,s=e.length;n<s;n++)r(e[n],n,e);else{var i=Ne(e);for(n=0,s=i.length;n<s;n++)r(e[i[n]],i[n],e)}return e}function st(e,r,t){r=Xe(r,t);for(var n=!He(e)&&Ne(e),s=(n||e).length,i=Array(s),u=0;u<s;u++){var a=n?n[u]:u;i[u]=r(e[a],a,e)}return i}function Os(e){var r=function(t,n,s,i){var u=!He(t)&&Ne(t),a=(u||t).length,o=e>0?0:a-1;for(i||(s=t[u?u[o]:o],o+=e);o>=0&&o<a;o+=e){var p=u?u[o]:o;s=n(s,t[p],p,t)}return s};return function(t,n,s,i){var u=arguments.length>=3;return r(t,sr(n,i,4),s,u)}}const Lt=Os(1),jr=Os(-1);function mt(e,r,t){var n=[];return r=Xe(r,t),Je(e,function(s,i,u){r(s,i,u)&&n.push(s)}),n}function Bs(e,r,t){return mt(e,tn(Xe(r)),t)}function Zr(e,r,t){r=Xe(r,t);for(var n=!He(e)&&Ne(e),s=(n||e).length,i=0;i<s;i++){var u=n?n[i]:i;if(!r(e[u],u,e))return!1}return!0}function Gr(e,r,t){r=Xe(r,t);for(var n=!He(e)&&Ne(e),s=(n||e).length,i=0;i<s;i++){var u=n?n[i]:i;if(r(e[u],u,e))return!0}return!1}function Ze(e,r,t,n){return He(e)||(e=kt(e)),(typeof t!="number"||n)&&(t=0),ki(e,r,t)>=0}const Ls=qe(function(e,r,t){var n,s;return Fe(r)?s=r:(r=ar(r),n=r.slice(0,-1),r=r[r.length-1]),st(e,function(i){var u=s;if(!u){if(n&&n.length&&(i=wi(i,n)),i==null)return;u=i[r]}return u==null?u:u.apply(i,t)})});function nn(e,r){return st(e,Qr(r))}function Fs(e,r){return mt(e,Tt(r))}function Si(e,r,t){var n=-1/0,s=-1/0,i,u;if(r==null||typeof r=="number"&&typeof e[0]!="object"&&e!=null){e=He(e)?e:kt(e);for(var a=0,o=e.length;a<o;a++)i=e[a],i!=null&&i>n&&(n=i)}else r=Xe(r,t),Je(e,function(p,g,b){u=r(p,g,b),(u>s||u===-1/0&&n===-1/0)&&(n=p,s=u)});return n}function Ms(e,r,t){var n=1/0,s=1/0,i,u;if(r==null||typeof r=="number"&&typeof e[0]!="object"&&e!=null){e=He(e)?e:kt(e);for(var a=0,o=e.length;a<o;a++)i=e[a],i!=null&&i<n&&(n=i)}else r=Xe(r,t),Je(e,function(p,g,b){u=r(p,g,b),(u<s||u===1/0&&n===1/0)&&(n=p,s=u)});return n}var Ho=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Ni(e){return e?gt(e)?ur.call(e):Yr(e)?e.match(Ho):He(e)?st(e,Jr):kt(e):[]}function Ii(e,r,t){if(r==null||t)return He(e)||(e=kt(e)),e[Hr(e.length-1)];var n=Ni(e),s=Le(n);r=Math.max(Math.min(r,s),0);for(var i=s-1,u=0;u<r;u++){var a=Hr(u,i),o=n[u];n[u]=n[a],n[a]=o}return n.slice(0,r)}function Ps(e){return Ii(e,1/0)}function qs(e,r,t){var n=0;return r=Xe(r,t),nn(st(e,function(s,i,u){return{value:s,index:n++,criteria:r(s,i,u)}}).sort(function(s,i){var u=s.criteria,a=i.criteria;if(u!==a){if(u>a||u===void 0)return 1;if(u<a||a===void 0)return-1}return s.index-i.index}),"value")}function un(e,r){return function(t,n,s){var i=r?[[],[]]:{};return n=Xe(n,s),Je(t,function(u,a){var o=n(u,a,t);e(i,u,o)}),i}}const zs=un(function(e,r,t){yt(e,t)?e[t].push(r):e[t]=[r]}),Xs=un(function(e,r,t){e[t]=r}),Us=un(function(e,r,t){yt(e,t)?e[t]++:e[t]=1}),Ws=un(function(e,r,t){e[t?0:1].push(r)},!0);function Vs(e){return e==null?0:He(e)?e.length:Ne(e).length}function jo(e,r,t){return r in t}const Ri=qe(function(e,r){var t={},n=r[0];if(e==null)return t;Fe(n)?(r.length>1&&(n=sr(n,r[1])),r=qt(e)):(n=jo,r=zt(r,!1,!1),e=Object(e));for(var s=0,i=r.length;s<i;s++){var u=r[s],a=e[u];n(a,u,e)&&(t[u]=a)}return t}),Hs=qe(function(e,r){var t=r[0],n;return Fe(t)?(t=tn(t),r.length>1&&(n=r[1])):(r=st(zt(r,!1,!1),String),t=function(s,i){return!Ze(r,i)}),Ri(e,t,n)});function Oi(e,r,t){return ur.call(e,0,Math.max(0,e.length-(r==null||t?1:r)))}function Ft(e,r,t){return e==null||e.length<1?r==null||t?void 0:[]:r==null||t?e[0]:Oi(e,e.length-r)}function Ct(e,r,t){return ur.call(e,r==null||t?1:r)}function js(e,r,t){return e==null||e.length<1?r==null||t?void 0:[]:r==null||t?e[e.length-1]:Ct(e,Math.max(0,e.length-r))}function Zs(e){return mt(e,Boolean)}function Gs(e,r){return zt(e,r,!1)}const Bi=qe(function(e,r){return r=zt(r,!0,!0),mt(e,function(t){return!Ze(r,t)})}),$s=qe(function(e,r){return Bi(e,r)});function rr(e,r,t,n){ri(r)||(n=t,t=r,r=!1),t!=null&&(t=Xe(t,n));for(var s=[],i=[],u=0,a=Le(e);u<a;u++){var o=e[u],p=t?t(o,u,e):o;r&&!t?((!u||i!==p)&&s.push(o),i=p):t?Ze(i,p)||(i.push(p),s.push(o)):Ze(s,o)||s.push(o)}return s}const Ys=qe(function(e){return rr(zt(e,!0,!0))});function Ks(e){for(var r=[],t=arguments.length,n=0,s=Le(e);n<s;n++){var i=e[n];if(!Ze(r,i)){var u;for(u=1;u<t&&Ze(arguments[u],i);u++);u===t&&r.push(i)}}return r}function nr(e){for(var r=e&&Si(e,Le).length||0,t=Array(r),n=0;n<r;n++)t[n]=nn(e,n);return t}const Js=qe(nr);function Qs(e,r){for(var t={},n=0,s=Le(e);n<s;n++)r?t[e[n]]=r[n]:t[e[n][0]]=e[n][1];return t}function eo(e,r,t){r==null&&(r=e||0,e=0),t||(t=r<e?-1:1);for(var n=Math.max(Math.ceil((r-e)/t),0),s=Array(n),i=0;i<n;i++,e+=t)s[i]=e;return s}function to(e,r){if(r==null||r<1)return[];for(var t=[],n=0,s=e.length;n<s;)t.push(ur.call(e,n,n+=r));return t}function Li(e,r){return e._chain?Ae(r).chain():r}function Fi(e){return Je(er(e),function(r){var t=Ae[r]=e[r];Ae.prototype[r]=function(){var n=[this._wrapped];return _o.apply(n,arguments),Li(this,t.apply(Ae,n))}}),Ae}Je(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var r=$r[e];Ae.prototype[e]=function(){var t=this._wrapped;return t!=null&&(r.apply(t,arguments),(e==="shift"||e==="splice")&&t.length===0&&delete t[0]),Li(this,t)}});Je(["concat","join","slice"],function(e){var r=$r[e];Ae.prototype[e]=function(){var t=this._wrapped;return t!=null&&(t=r.apply(t,arguments)),Li(this,t)}});const Zo=Object.freeze(Object.defineProperty({__proto__:null,VERSION:Qn,after:Ts,all:Zr,allKeys:qt,any:Gr,assign:Mt,before:Ai,bind:_i,bindAll:bs,chain:ys,chunk:to,clone:ns,collect:st,compact:Zs,compose:Cs,constant:oi,contains:Ze,countBy:Us,create:rs,debounce:As,default:Ae,defaults:gi,defer:_s,delay:Ei,detect:tr,difference:Bi,drop:Ct,each:Je,escape:hs,every:Zr,extend:vi,extendOwn:Mt,filter:mt,find:tr,findIndex:rn,findKey:xi,findLastIndex:Ci,findWhere:Rs,first:Ft,flatten:Gs,foldl:Lt,foldr:jr,forEach:Je,functions:er,get:bi,groupBy:zs,has:us,head:Ft,identity:Jr,include:Ze,includes:Ze,indexBy:Xs,indexOf:ki,initial:Oi,inject:Lt,intersection:Ks,invert:di,invoke:Ls,isArguments:Kr,isArray:gt,isArrayBuffer:ui,isBoolean:ri,isDataView:Qt,isDate:La,isElement:Ba,isEmpty:Ha,isEqual:ja,isError:Ma,isFinite:Xa,isFunction:Fe,isMap:Ya,isMatch:ci,isNaN:si,isNull:Oa,isNumber:ni,isObject:vt,isRegExp:Fa,isSet:Ja,isString:Yr,isSymbol:ii,isTypedArray:li,isUndefined:ti,isWeakMap:Ka,isWeakSet:Qa,iteratee:en,keys:Ne,last:js,lastIndexOf:Is,map:st,mapObject:ss,matcher:Tt,matches:Tt,max:Si,memoize:Ds,methods:er,min:Ms,mixin:Fi,negate:tn,noop:Di,now:Pt,object:Qs,omit:Hs,once:ks,pairs:es,partial:St,partition:Ws,pick:Ri,pluck:nn,property:Qr,propertyOf:os,random:Hr,range:eo,reduce:Lt,reduceRight:jr,reject:Bs,rest:Ct,restArguments:qe,result:vs,sample:Ii,select:mt,shuffle:Ps,size:Vs,some:Gr,sortBy:qs,sortedIndex:Ti,tail:Ct,take:Ft,tap:is,template:ms,templateSettings:ds,throttle:Es,times:ls,toArray:Ni,toPath:yi,transpose:nr,unescape:ps,union:Ys,uniq:rr,unique:rr,uniqueId:gs,unzip:nr,values:kt,where:Fs,without:$s,wrap:xs,zip:Js},Symbol.toStringTag,{value:"Module"}));var Jn=Fi(Zo);Jn._=Jn;const Go=Object.freeze(Object.defineProperty({__proto__:null,VERSION:Qn,after:Ts,all:Zr,allKeys:qt,any:Gr,assign:Mt,before:Ai,bind:_i,bindAll:bs,chain:ys,chunk:to,clone:ns,collect:st,compact:Zs,compose:Cs,constant:oi,contains:Ze,countBy:Us,create:rs,debounce:As,default:Jn,defaults:gi,defer:_s,delay:Ei,detect:tr,difference:Bi,drop:Ct,each:Je,escape:hs,every:Zr,extend:vi,extendOwn:Mt,filter:mt,find:tr,findIndex:rn,findKey:xi,findLastIndex:Ci,findWhere:Rs,first:Ft,flatten:Gs,foldl:Lt,foldr:jr,forEach:Je,functions:er,get:bi,groupBy:zs,has:us,head:Ft,identity:Jr,include:Ze,includes:Ze,indexBy:Xs,indexOf:ki,initial:Oi,inject:Lt,intersection:Ks,invert:di,invoke:Ls,isArguments:Kr,isArray:gt,isArrayBuffer:ui,isBoolean:ri,isDataView:Qt,isDate:La,isElement:Ba,isEmpty:Ha,isEqual:ja,isError:Ma,isFinite:Xa,isFunction:Fe,isMap:Ya,isMatch:ci,isNaN:si,isNull:Oa,isNumber:ni,isObject:vt,isRegExp:Fa,isSet:Ja,isString:Yr,isSymbol:ii,isTypedArray:li,isUndefined:ti,isWeakMap:Ka,isWeakSet:Qa,iteratee:en,keys:Ne,last:js,lastIndexOf:Is,map:st,mapObject:ss,matcher:Tt,matches:Tt,max:Si,memoize:Ds,methods:er,min:Ms,mixin:Fi,negate:tn,noop:Di,now:Pt,object:Qs,omit:Hs,once:ks,pairs:es,partial:St,partition:Ws,pick:Ri,pluck:nn,property:Qr,propertyOf:os,random:Hr,range:eo,reduce:Lt,reduceRight:jr,reject:Bs,rest:Ct,restArguments:qe,result:vs,sample:Ii,select:mt,shuffle:Ps,size:Vs,some:Gr,sortBy:qs,sortedIndex:Ti,tail:Ct,take:Ft,tap:is,template:ms,templateSettings:ds,throttle:Es,times:ls,toArray:Ni,toPath:yi,transpose:nr,unescape:ps,union:Ys,uniq:rr,unique:rr,uniqueId:gs,unzip:nr,values:kt,where:Fs,without:$s,wrap:xs,zip:Js},Symbol.toStringTag,{value:"Module"})),ke=wo(Go);var pr={},et={},eu;function lt(){if(eu)return et;eu=1;var e=ke;et.defer=s,et.Promise=Promise,et.resolve=Promise.resolve.bind(Promise),et.reject=Promise.reject.bind(Promise),et.forEachSeries=function(o,p){var g=0,b=s(),v=function(){if(g<o.length){var h=o[g];g++,p(h).then(v,b.reject)}else b.resolve()};return v(),b.promise};var r=et.props=function(o){var p=Object.keys(o),g=Object.values(o),b=Promise.all(g).then(function(v){for(var h={},_=0;_<p.length;_++)h[p[_]]=v[_];return h});return n(b)},t=function(o){var p=this.then(function(g){var b=e.extend({},g,o(g));return r(b)});return n(p)};function n(o){return o.also=t,o}et.try=function(o){try{return Promise.resolve(o())}catch(p){return Promise.reject(p)}};function s(){var o,p,g=new Promise(function(b,v){o=b,p=v});return{resolve:o,reject:p,promise:g}}function i(o){var p=new Promise(o);return p.__proto__=i.prototype,p}i.__proto__=Promise,i.prototype.__proto__=Promise.prototype,i.prototype.done=function(o,p){return this.then(o,p).catch(function(g){if(a()){var b=g instanceof Error?g.stack:g;process.stderr.write("Fatal "+b+`
14
- `),process.exit(2)}else setTimeout(function(){throw g},0)})};function u(o){return i.resolve(o)}et.toExternalPromise=u;function a(){return typeof process>"u"?!1:{}.toString.call(process).toLowerCase()==="[object process]"}return et}var _e={},tu;function Nt(){if(tu)return _e;tu=1;var e=ke,r=_e.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function t(E,w){return w=w||{},{type:r.document,children:E,notes:w.notes||new b({}),comments:w.comments||[]}}function n(E,w){w=w||{};var T=w.indent||{};return{type:r.paragraph,children:E,styleId:w.styleId||null,styleName:w.styleName||null,numbering:w.numbering||null,alignment:w.alignment||null,indent:{start:T.start||null,end:T.end||null,firstLine:T.firstLine||null,hanging:T.hanging||null}}}function s(E,w){return w=w||{},{type:r.run,children:E,styleId:w.styleId||null,styleName:w.styleName||null,isBold:!!w.isBold,isUnderline:!!w.isUnderline,isItalic:!!w.isItalic,isStrikethrough:!!w.isStrikethrough,isAllCaps:!!w.isAllCaps,isSmallCaps:!!w.isSmallCaps,verticalAlignment:w.verticalAlignment||i.baseline,font:w.font||null,fontSize:w.fontSize||null,highlight:w.highlight||null}}var i={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function u(E){return{type:r.text,value:E}}function a(){return{type:r.tab}}function o(E){return{type:r.checkbox,checked:E.checked}}function p(E,w){return{type:r.hyperlink,children:E,href:w.href,anchor:w.anchor,targetFrame:w.targetFrame}}function g(E){return{type:r.noteReference,noteType:E.noteType,noteId:E.noteId}}function b(E){this._notes=e.indexBy(E,function(w){return d(w.noteType,w.noteId)})}b.prototype.resolve=function(E){return this.findNoteByKey(d(E.noteType,E.noteId))},b.prototype.findNoteByKey=function(E){return this._notes[E]||null};function v(E){return{type:r.note,noteType:E.noteType,noteId:E.noteId,body:E.body}}function h(E){return{type:r.commentReference,commentId:E.commentId}}function _(E){return{type:r.comment,commentId:E.commentId,body:E.body,authorName:E.authorName,authorInitials:E.authorInitials}}function d(E,w){return E+"-"+w}function l(E){return{type:r.image,read:function(w){return w?E.readImage(w):E.readImage().then(function(T){return Buffer.from(T)})},readAsArrayBuffer:function(){return E.readImage()},readAsBase64String:function(){return E.readImage("base64")},readAsBuffer:function(){return E.readImage().then(function(w){return Buffer.from(w)})},altText:E.altText,contentType:E.contentType}}function m(E,w){return w=w||{},{type:r.table,children:E,styleId:w.styleId||null,styleName:w.styleName||null}}function c(E,w){return w=w||{},{type:r.tableRow,children:E,isHeader:w.isHeader||!1}}function y(E,w){return w=w||{},{type:r.tableCell,children:E,colSpan:w.colSpan==null?1:w.colSpan,rowSpan:w.rowSpan==null?1:w.rowSpan}}function C(E){return{type:r.break,breakType:E}}function A(E){return{type:r.bookmarkStart,name:E.name}}return _e.document=_e.Document=t,_e.paragraph=_e.Paragraph=n,_e.run=_e.Run=s,_e.text=_e.Text=u,_e.tab=_e.Tab=a,_e.checkbox=_e.Checkbox=o,_e.Hyperlink=p,_e.noteReference=_e.NoteReference=g,_e.Notes=b,_e.Note=v,_e.commentReference=h,_e.comment=_,_e.Image=l,_e.Table=m,_e.TableRow=c,_e.TableCell=y,_e.lineBreak=C("line"),_e.pageBreak=C("page"),_e.columnBreak=C("column"),_e.BookmarkStart=A,_e.verticalAlignment=i,_e}var Rt={},ru;function ot(){if(ru)return Rt;ru=1;var e=ke;Rt.Result=r,Rt.success=t,Rt.warning=n,Rt.error=s;function r(o,p){this.value=o,this.messages=p||[]}r.prototype.map=function(o){return new r(o(this.value),this.messages)},r.prototype.flatMap=function(o){var p=o(this.value);return new r(p.value,i([this,p]))},r.prototype.flatMapThen=function(o){var p=this;return o(this.value).then(function(g){return new r(g.value,i([p,g]))})},r.combine=function(o){var p=e.flatten(e.pluck(o,"value")),g=i(o);return new r(p,g)};function t(o){return new r(o,[])}function n(o){return{type:"warning",message:o}}function s(o){return{type:"error",message:o.message,error:o}}function i(o){var p=[];return e.flatten(e.pluck(o,"messages"),!0).forEach(function(g){u(p,g)||p.push(g)}),p}function u(o,p){return e.find(o,a.bind(null,p))!==void 0}function a(o,p){return o.type===p.type&&o.message===p.message}return Rt}var Wt={},Vt={},nu;function $o(){if(nu)return Vt;nu=1,Vt.byteLength=a,Vt.toByteArray=p,Vt.fromByteArray=v;for(var e=[],r=[],t=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,i=n.length;s<i;++s)e[s]=n[s],r[n.charCodeAt(s)]=s;r[45]=62,r[95]=63;function u(h){var _=h.length;if(_%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var d=h.indexOf("=");d===-1&&(d=_);var l=d===_?0:4-d%4;return[d,l]}function a(h){var _=u(h),d=_[0],l=_[1];return(d+l)*3/4-l}function o(h,_,d){return(_+d)*3/4-d}function p(h){var _,d=u(h),l=d[0],m=d[1],c=new t(o(h,l,m)),y=0,C=m>0?l-4:l,A;for(A=0;A<C;A+=4)_=r[h.charCodeAt(A)]<<18|r[h.charCodeAt(A+1)]<<12|r[h.charCodeAt(A+2)]<<6|r[h.charCodeAt(A+3)],c[y++]=_>>16&255,c[y++]=_>>8&255,c[y++]=_&255;return m===2&&(_=r[h.charCodeAt(A)]<<2|r[h.charCodeAt(A+1)]>>4,c[y++]=_&255),m===1&&(_=r[h.charCodeAt(A)]<<10|r[h.charCodeAt(A+1)]<<4|r[h.charCodeAt(A+2)]>>2,c[y++]=_>>8&255,c[y++]=_&255),c}function g(h){return e[h>>18&63]+e[h>>12&63]+e[h>>6&63]+e[h&63]}function b(h,_,d){for(var l,m=[],c=_;c<d;c+=3)l=(h[c]<<16&16711680)+(h[c+1]<<8&65280)+(h[c+2]&255),m.push(g(l));return m.join("")}function v(h){for(var _,d=h.length,l=d%3,m=[],c=16383,y=0,C=d-l;y<C;y+=c)m.push(b(h,y,y+c>C?C:y+c));return l===1?(_=h[d-1],m.push(e[_>>2]+e[_<<4&63]+"==")):l===2&&(_=(h[d-2]<<8)+h[d-1],m.push(e[_>>10]+e[_>>4&63]+e[_<<2&63]+"=")),m.join("")}return Vt}var An={exports:{}};var iu;function Yo(){return iu||(iu=1,(function(e,r){(function(t){e.exports=t()})(function(){return(function t(n,s,i){function u(p,g){if(!s[p]){if(!n[p]){var b=typeof hr=="function"&&hr;if(!g&&b)return b(p,!0);if(a)return a(p,!0);var v=new Error("Cannot find module '"+p+"'");throw v.code="MODULE_NOT_FOUND",v}var h=s[p]={exports:{}};n[p][0].call(h.exports,function(_){var d=n[p][1][_];return u(d||_)},h,h.exports,t,n,s,i)}return s[p].exports}for(var a=typeof hr=="function"&&hr,o=0;o<i.length;o++)u(i[o]);return u})({1:[function(t,n,s){var i=t("./utils"),u=t("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";s.encode=function(o){for(var p,g,b,v,h,_,d,l=[],m=0,c=o.length,y=c,C=i.getTypeOf(o)!=="string";m<o.length;)y=c-m,b=C?(p=o[m++],g=m<c?o[m++]:0,m<c?o[m++]:0):(p=o.charCodeAt(m++),g=m<c?o.charCodeAt(m++):0,m<c?o.charCodeAt(m++):0),v=p>>2,h=(3&p)<<4|g>>4,_=1<y?(15&g)<<2|b>>6:64,d=2<y?63&b:64,l.push(a.charAt(v)+a.charAt(h)+a.charAt(_)+a.charAt(d));return l.join("")},s.decode=function(o){var p,g,b,v,h,_,d=0,l=0,m="data:";if(o.substr(0,m.length)===m)throw new Error("Invalid base64 input, it looks like a data url.");var c,y=3*(o=o.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(o.charAt(o.length-1)===a.charAt(64)&&y--,o.charAt(o.length-2)===a.charAt(64)&&y--,y%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=u.uint8array?new Uint8Array(0|y):new Array(0|y);d<o.length;)p=a.indexOf(o.charAt(d++))<<2|(v=a.indexOf(o.charAt(d++)))>>4,g=(15&v)<<4|(h=a.indexOf(o.charAt(d++)))>>2,b=(3&h)<<6|(_=a.indexOf(o.charAt(d++))),c[l++]=p,h!==64&&(c[l++]=g),_!==64&&(c[l++]=b);return c}},{"./support":30,"./utils":32}],2:[function(t,n,s){var i=t("./external"),u=t("./stream/DataWorker"),a=t("./stream/Crc32Probe"),o=t("./stream/DataLengthProbe");function p(g,b,v,h,_){this.compressedSize=g,this.uncompressedSize=b,this.crc32=v,this.compression=h,this.compressedContent=_}p.prototype={getContentWorker:function(){var g=new u(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),b=this;return g.on("end",function(){if(this.streamInfo.data_length!==b.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),g},getCompressedWorker:function(){return new u(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},p.createWorkerFrom=function(g,b,v){return g.pipe(new a).pipe(new o("uncompressedSize")).pipe(b.compressWorker(v)).pipe(new o("compressedSize")).withStreamInfo("compression",b)},n.exports=p},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,n,s){var i=t("./stream/GenericWorker");s.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},s.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,n,s){var i=t("./utils"),u=(function(){for(var a,o=[],p=0;p<256;p++){a=p;for(var g=0;g<8;g++)a=1&a?3988292384^a>>>1:a>>>1;o[p]=a}return o})();n.exports=function(a,o){return a!==void 0&&a.length?i.getTypeOf(a)!=="string"?(function(p,g,b,v){var h=u,_=v+b;p^=-1;for(var d=v;d<_;d++)p=p>>>8^h[255&(p^g[d])];return-1^p})(0|o,a,a.length,0):(function(p,g,b,v){var h=u,_=v+b;p^=-1;for(var d=v;d<_;d++)p=p>>>8^h[255&(p^g.charCodeAt(d))];return-1^p})(0|o,a,a.length,0):0}},{"./utils":32}],5:[function(t,n,s){s.base64=!1,s.binary=!1,s.dir=!1,s.createFolders=!0,s.date=null,s.compression=null,s.compressionOptions=null,s.comment=null,s.unixPermissions=null,s.dosPermissions=null},{}],6:[function(t,n,s){var i=null;i=typeof Promise<"u"?Promise:t("lie"),n.exports={Promise:i}},{lie:37}],7:[function(t,n,s){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",u=t("pako"),a=t("./utils"),o=t("./stream/GenericWorker"),p=i?"uint8array":"array";function g(b,v){o.call(this,"FlateWorker/"+b),this._pako=null,this._pakoAction=b,this._pakoOptions=v,this.meta={}}s.magic="\b\0",a.inherits(g,o),g.prototype.processChunk=function(b){this.meta=b.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(p,b.data),!1)},g.prototype.flush=function(){o.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},g.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},g.prototype._createPako=function(){this._pako=new u[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var b=this;this._pako.onData=function(v){b.push({data:v,meta:b.meta})}},s.compressWorker=function(b){return new g("Deflate",b)},s.uncompressWorker=function(){return new g("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,n,s){function i(h,_){var d,l="";for(d=0;d<_;d++)l+=String.fromCharCode(255&h),h>>>=8;return l}function u(h,_,d,l,m,c){var y,C,A=h.file,E=h.compression,w=c!==p.utf8encode,T=a.transformTo("string",c(A.name)),S=a.transformTo("string",p.utf8encode(A.name)),O=A.comment,H=a.transformTo("string",c(O)),R=a.transformTo("string",p.utf8encode(O)),M=S.length!==A.name.length,D=R.length!==O.length,L="",Y="",W="",ne=A.dir,G=A.date,ae={crc32:0,compressedSize:0,uncompressedSize:0};_&&!d||(ae.crc32=h.crc32,ae.compressedSize=h.compressedSize,ae.uncompressedSize=h.uncompressedSize);var V=0;_&&(V|=8),w||!M&&!D||(V|=2048);var X=0,ie=0;ne&&(X|=16),m==="UNIX"?(ie=798,X|=(function(re,se){var we=re;return re||(we=se?16893:33204),(65535&we)<<16})(A.unixPermissions,ne)):(ie=20,X|=(function(re){return 63&(re||0)})(A.dosPermissions)),y=G.getUTCHours(),y<<=6,y|=G.getUTCMinutes(),y<<=5,y|=G.getUTCSeconds()/2,C=G.getUTCFullYear()-1980,C<<=4,C|=G.getUTCMonth()+1,C<<=5,C|=G.getUTCDate(),M&&(Y=i(1,1)+i(g(T),4)+S,L+="up"+i(Y.length,2)+Y),D&&(W=i(1,1)+i(g(H),4)+R,L+="uc"+i(W.length,2)+W);var ue="";return ue+=`
15
- \0`,ue+=i(V,2),ue+=E.magic,ue+=i(y,2),ue+=i(C,2),ue+=i(ae.crc32,4),ue+=i(ae.compressedSize,4),ue+=i(ae.uncompressedSize,4),ue+=i(T.length,2),ue+=i(L.length,2),{fileRecord:b.LOCAL_FILE_HEADER+ue+T+L,dirRecord:b.CENTRAL_FILE_HEADER+i(ie,2)+ue+i(H.length,2)+"\0\0\0\0"+i(X,4)+i(l,4)+T+L+H}}var a=t("../utils"),o=t("../stream/GenericWorker"),p=t("../utf8"),g=t("../crc32"),b=t("../signature");function v(h,_,d,l){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=_,this.zipPlatform=d,this.encodeFileName=l,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(v,o),v.prototype.push=function(h){var _=h.meta.percent||0,d=this.entriesCount,l=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,o.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:d?(_+100*(d-l-1))/d:100}}))},v.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var _=this.streamFiles&&!h.file.dir;if(_){var d=u(h,_,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:d.fileRecord,meta:{percent:0}})}else this.accumulate=!0},v.prototype.closedSource=function(h){this.accumulate=!1;var _=this.streamFiles&&!h.file.dir,d=u(h,_,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(d.dirRecord),_)this.push({data:(function(l){return b.DATA_DESCRIPTOR+i(l.crc32,4)+i(l.compressedSize,4)+i(l.uncompressedSize,4)})(h),meta:{percent:100}});else for(this.push({data:d.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},v.prototype.flush=function(){for(var h=this.bytesWritten,_=0;_<this.dirRecords.length;_++)this.push({data:this.dirRecords[_],meta:{percent:100}});var d=this.bytesWritten-h,l=(function(m,c,y,C,A){var E=a.transformTo("string",A(C));return b.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(m,2)+i(m,2)+i(c,4)+i(y,4)+i(E.length,2)+E})(this.dirRecords.length,d,h,this.zipComment,this.encodeFileName);this.push({data:l,meta:{percent:100}})},v.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},v.prototype.registerPrevious=function(h){this._sources.push(h);var _=this;return h.on("data",function(d){_.processChunk(d)}),h.on("end",function(){_.closedSource(_.previous.streamInfo),_._sources.length?_.prepareNextSource():_.end()}),h.on("error",function(d){_.error(d)}),this},v.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},v.prototype.error=function(h){var _=this._sources;if(!o.prototype.error.call(this,h))return!1;for(var d=0;d<_.length;d++)try{_[d].error(h)}catch{}return!0},v.prototype.lock=function(){o.prototype.lock.call(this);for(var h=this._sources,_=0;_<h.length;_++)h[_].lock()},n.exports=v},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,n,s){var i=t("../compressions"),u=t("./ZipFileWorker");s.generateWorker=function(a,o,p){var g=new u(o.streamFiles,p,o.platform,o.encodeFileName),b=0;try{a.forEach(function(v,h){b++;var _=(function(c,y){var C=c||y,A=i[C];if(!A)throw new Error(C+" is not a valid compression method !");return A})(h.options.compression,o.compression),d=h.options.compressionOptions||o.compressionOptions||{},l=h.dir,m=h.date;h._compressWorker(_,d).withStreamInfo("file",{name:v,dir:l,date:m,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(g)}),g.entriesCount=b}catch(v){g.error(v)}return g}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,n,s){function i(){if(!(this instanceof i))return new i;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 u=new i;for(var a in this)typeof this[a]!="function"&&(u[a]=this[a]);return u}}(i.prototype=t("./object")).loadAsync=t("./load"),i.support=t("./support"),i.defaults=t("./defaults"),i.version="3.10.2",i.loadAsync=function(u,a){return new i().loadAsync(u,a)},i.external=t("./external"),n.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,n,s){var i=t("./utils"),u=t("./external"),a=t("./utf8"),o=t("./zipEntries"),p=t("./stream/Crc32Probe"),g=t("./nodejsUtils");function b(v){return new u.Promise(function(h,_){var d=v.decompressed.getContentWorker().pipe(new p);d.on("error",function(l){_(l)}).on("end",function(){d.streamInfo.crc32!==v.decompressed.crc32?_(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}n.exports=function(v,h){var _=this;return h=i.extend(h||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),g.isNode&&g.isStream(v)?u.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip file",v,!0,h.optimizedBinaryString,h.base64).then(function(d){var l=new o(h);return l.load(d),l}).then(function(d){var l=[u.Promise.resolve(d)],m=d.files;if(h.checkCRC32)for(var c=0;c<m.length;c++)l.push(b(m[c]));return u.Promise.all(l)}).then(function(d){for(var l=d.shift(),m=l.files,c=0;c<m.length;c++){var y=m[c],C=y.fileNameStr,A=i.resolve(y.fileNameStr);_.file(A,y.decompressed,{binary:!0,optimizedBinaryString:!0,date:y.date,dir:y.dir,comment:y.fileCommentStr.length?y.fileCommentStr:null,unixPermissions:y.unixPermissions,dosPermissions:y.dosPermissions,createFolders:h.createFolders}),y.dir||(_.file(A).unsafeOriginalName=C)}return l.zipComment.length&&(_.comment=l.zipComment),_})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,n,s){var i=t("../utils"),u=t("../stream/GenericWorker");function a(o,p){u.call(this,"Nodejs stream input adapter for "+o),this._upstreamEnded=!1,this._bindStream(p)}i.inherits(a,u),a.prototype._bindStream=function(o){var p=this;(this._stream=o).pause(),o.on("data",function(g){p.push({data:g,meta:{percent:0}})}).on("error",function(g){p.isPaused?this.generatedError=g:p.error(g)}).on("end",function(){p.isPaused?p._upstreamEnded=!0:p.end()})},a.prototype.pause=function(){return!!u.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},n.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,n,s){var i=t("readable-stream").Readable;function u(a,o,p){i.call(this,o),this._helper=a;var g=this;a.on("data",function(b,v){g.push(b)||g._helper.pause(),p&&p(v)}).on("error",function(b){g.emit("error",b)}).on("end",function(){g.push(null)})}t("../utils").inherits(u,i),u.prototype._read=function(){this._helper.resume()},n.exports=u},{"../utils":32,"readable-stream":16}],14:[function(t,n,s){n.exports={isNode:typeof Buffer<"u",newBufferFrom:function(i,u){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(i,u);if(typeof i=="number")throw new Error('The "data" argument must not be a number');return new Buffer(i,u)},allocBuffer:function(i){if(Buffer.alloc)return Buffer.alloc(i);var u=new Buffer(i);return u.fill(0),u},isBuffer:function(i){return Buffer.isBuffer(i)},isStream:function(i){return i&&typeof i.on=="function"&&typeof i.pause=="function"&&typeof i.resume=="function"}}},{}],15:[function(t,n,s){function i(A,E,w){var T,S=a.getTypeOf(E),O=a.extend(w||{},g);O.date=O.date||new Date,O.compression!==null&&(O.compression=O.compression.toUpperCase()),typeof O.unixPermissions=="string"&&(O.unixPermissions=parseInt(O.unixPermissions,8)),O.unixPermissions&&16384&O.unixPermissions&&(O.dir=!0),O.dosPermissions&&16&O.dosPermissions&&(O.dir=!0),O.dir&&(A=m(A)),O.createFolders&&(T=l(A))&&c.call(this,T,!0);var H=S==="string"&&O.binary===!1&&O.base64===!1;w&&w.binary!==void 0||(O.binary=!H),(E instanceof b&&E.uncompressedSize===0||O.dir||!E||E.length===0)&&(O.base64=!1,O.binary=!0,E="",O.compression="STORE",S="string");var R=null;R=E instanceof b||E instanceof o?E:_.isNode&&_.isStream(E)?new d(A,E):a.prepareContent(A,E,O.binary,O.optimizedBinaryString,O.base64);var M=new v(A,R,O);this.files[A]=M}var u=t("./utf8"),a=t("./utils"),o=t("./stream/GenericWorker"),p=t("./stream/StreamHelper"),g=t("./defaults"),b=t("./compressedObject"),v=t("./zipObject"),h=t("./generate"),_=t("./nodejsUtils"),d=t("./nodejs/NodejsStreamInputAdapter"),l=function(A){A.slice(-1)==="/"&&(A=A.substring(0,A.length-1));var E=A.lastIndexOf("/");return 0<E?A.substring(0,E):""},m=function(A){return A.slice(-1)!=="/"&&(A+="/"),A},c=function(A,E){return E=E!==void 0?E:g.createFolders,A=m(A),this.files[A]||i.call(this,A,null,{dir:!0,createFolders:E}),this.files[A]};function y(A){return Object.prototype.toString.call(A)==="[object RegExp]"}var C={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(A){var E,w,T;for(E in this.files)T=this.files[E],(w=E.slice(this.root.length,E.length))&&E.slice(0,this.root.length)===this.root&&A(w,T)},filter:function(A){var E=[];return this.forEach(function(w,T){A(w,T)&&E.push(T)}),E},file:function(A,E,w){if(arguments.length!==1)return A=this.root+A,i.call(this,A,E,w),this;if(y(A)){var T=A;return this.filter(function(O,H){return!H.dir&&T.test(O)})}var S=this.files[this.root+A];return S&&!S.dir?S:null},folder:function(A){if(!A)return this;if(y(A))return this.filter(function(S,O){return O.dir&&A.test(S)});var E=this.root+A,w=c.call(this,E),T=this.clone();return T.root=w.name,T},remove:function(A){A=this.root+A;var E=this.files[A];if(E||(A.slice(-1)!=="/"&&(A+="/"),E=this.files[A]),E&&!E.dir)delete this.files[A];else for(var w=this.filter(function(S,O){return O.name.slice(0,A.length)===A}),T=0;T<w.length;T++)delete this.files[w[T].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(A){var E,w={};try{if((w=a.extend(A||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:u.utf8encode})).type=w.type.toLowerCase(),w.compression=w.compression.toUpperCase(),w.type==="binarystring"&&(w.type="string"),!w.type)throw new Error("No output type specified.");a.checkSupport(w.type),w.platform!=="darwin"&&w.platform!=="freebsd"&&w.platform!=="linux"&&w.platform!=="sunos"||(w.platform="UNIX"),w.platform==="win32"&&(w.platform="DOS");var T=w.comment||this.comment||"";E=h.generateWorker(this,w,T)}catch(S){(E=new o("error")).error(S)}return new p(E,w.type||"string",w.mimeType)},generateAsync:function(A,E){return this.generateInternalStream(A).accumulate(E)},generateNodeStream:function(A,E){return(A=A||{}).type||(A.type="nodebuffer"),this.generateInternalStream(A).toNodejsStream(E)}};n.exports=C},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,n,s){n.exports=t("stream")},{stream:void 0}],17:[function(t,n,s){var i=t("./DataReader");function u(a){i.call(this,a);for(var o=0;o<this.data.length;o++)a[o]=255&a[o]}t("../utils").inherits(u,i),u.prototype.byteAt=function(a){return this.data[this.zero+a]},u.prototype.lastIndexOfSignature=function(a){for(var o=a.charCodeAt(0),p=a.charCodeAt(1),g=a.charCodeAt(2),b=a.charCodeAt(3),v=this.length-4;0<=v;--v)if(this.data[v]===o&&this.data[v+1]===p&&this.data[v+2]===g&&this.data[v+3]===b)return v-this.zero;return-1},u.prototype.readAndCheckSignature=function(a){var o=a.charCodeAt(0),p=a.charCodeAt(1),g=a.charCodeAt(2),b=a.charCodeAt(3),v=this.readData(4);return o===v[0]&&p===v[1]&&g===v[2]&&b===v[3]},u.prototype.readData=function(a){if(this.checkOffset(a),a===0)return[];var o=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,o},n.exports=u},{"../utils":32,"./DataReader":18}],18:[function(t,n,s){var i=t("../utils");function u(a){this.data=a,this.length=a.length,this.index=0,this.zero=0}u.prototype={checkOffset:function(a){this.checkIndex(this.index+a)},checkIndex:function(a){if(this.length<this.zero+a||a<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+a+"). Corrupted zip ?")},setIndex:function(a){this.checkIndex(a),this.index=a},skip:function(a){this.setIndex(this.index+a)},byteAt:function(){},readInt:function(a){var o,p=0;for(this.checkOffset(a),o=this.index+a-1;o>=this.index;o--)p=(p<<8)+this.byteAt(o);return this.index+=a,p},readString:function(a){return i.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC(1980+(a>>25&127),(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},n.exports=u},{"../utils":32}],19:[function(t,n,s){var i=t("./Uint8ArrayReader");function u(a){i.call(this,a)}t("../utils").inherits(u,i),u.prototype.readData=function(a){this.checkOffset(a);var o=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,o},n.exports=u},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,n,s){var i=t("./DataReader");function u(a){i.call(this,a)}t("../utils").inherits(u,i),u.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},u.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},u.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},u.prototype.readData=function(a){this.checkOffset(a);var o=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,o},n.exports=u},{"../utils":32,"./DataReader":18}],21:[function(t,n,s){var i=t("./ArrayReader");function u(a){i.call(this,a)}t("../utils").inherits(u,i),u.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var o=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,o},n.exports=u},{"../utils":32,"./ArrayReader":17}],22:[function(t,n,s){var i=t("../utils"),u=t("../support"),a=t("./ArrayReader"),o=t("./StringReader"),p=t("./NodeBufferReader"),g=t("./Uint8ArrayReader");n.exports=function(b){var v=i.getTypeOf(b);return i.checkSupport(v),v!=="string"||u.uint8array?v==="nodebuffer"?new p(b):u.uint8array?new g(i.transformTo("uint8array",b)):new a(i.transformTo("array",b)):new o(b)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,n,s){s.LOCAL_FILE_HEADER="PK",s.CENTRAL_FILE_HEADER="PK",s.CENTRAL_DIRECTORY_END="PK",s.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",s.ZIP64_CENTRAL_DIRECTORY_END="PK",s.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(t,n,s){var i=t("./GenericWorker"),u=t("../utils");function a(o){i.call(this,"ConvertWorker to "+o),this.destType=o}u.inherits(a,i),a.prototype.processChunk=function(o){this.push({data:u.transformTo(this.destType,o.data),meta:o.meta})},n.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(t,n,s){var i=t("./GenericWorker"),u=t("../crc32");function a(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(a,i),a.prototype.processChunk=function(o){this.streamInfo.crc32=u(o.data,this.streamInfo.crc32||0),this.push(o)},n.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,n,s){var i=t("../utils"),u=t("./GenericWorker");function a(o){u.call(this,"DataLengthProbe for "+o),this.propName=o,this.withStreamInfo(o,0)}i.inherits(a,u),a.prototype.processChunk=function(o){if(o){var p=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=p+o.data.length}u.prototype.processChunk.call(this,o)},n.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(t,n,s){var i=t("../utils"),u=t("./GenericWorker");function a(o){u.call(this,"DataWorker");var p=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,o.then(function(g){p.dataIsReady=!0,p.data=g,p.max=g&&g.length||0,p.type=i.getTypeOf(g),p.isPaused||p._tickAndRepeat()},function(g){p.error(g)})}i.inherits(a,u),a.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var o=null,p=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":o=this.data.substring(this.index,p);break;case"uint8array":o=this.data.subarray(this.index,p);break;case"array":case"nodebuffer":o=this.data.slice(this.index,p)}return this.index=p,this.push({data:o,meta:{percent:this.max?this.index/this.max*100:0}})},n.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(t,n,s){function i(u){this.name=u||"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}i.prototype={push:function(u){this.emit("data",u)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(u){this.emit("error",u)}return!0},error:function(u){return!this.isFinished&&(this.isPaused?this.generatedError=u:(this.isFinished=!0,this.emit("error",u),this.previous&&this.previous.error(u),this.cleanUp()),!0)},on:function(u,a){return this._listeners[u].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(u,a){if(this._listeners[u])for(var o=0;o<this._listeners[u].length;o++)this._listeners[u][o].call(this,a)},pipe:function(u){return u.registerPrevious(this)},registerPrevious:function(u){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=u.streamInfo,this.mergeStreamInfo(),this.previous=u;var a=this;return u.on("data",function(o){a.processChunk(o)}),u.on("end",function(){a.end()}),u.on("error",function(o){a.error(o)}),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;var u=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),u=!0),this.previous&&this.previous.resume(),!u},flush:function(){},processChunk:function(u){this.push(u)},withStreamInfo:function(u,a){return this.extraStreamInfo[u]=a,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var u in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,u)&&(this.streamInfo[u]=this.extraStreamInfo[u])},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 u="Worker "+this.name;return this.previous?this.previous+" -> "+u:u}},n.exports=i},{}],29:[function(t,n,s){var i=t("../utils"),u=t("./ConvertWorker"),a=t("./GenericWorker"),o=t("../base64"),p=t("../support"),g=t("../external"),b=null;if(p.nodestream)try{b=t("../nodejs/NodejsStreamOutputAdapter")}catch{}function v(_,d){return new g.Promise(function(l,m){var c=[],y=_._internalType,C=_._outputType,A=_._mimeType;_.on("data",function(E,w){c.push(E),d&&d(w)}).on("error",function(E){c=[],m(E)}).on("end",function(){try{var E=(function(w,T,S){switch(w){case"blob":return i.newBlob(i.transformTo("arraybuffer",T),S);case"base64":return o.encode(T);default:return i.transformTo(w,T)}})(C,(function(w,T){var S,O=0,H=null,R=0;for(S=0;S<T.length;S++)R+=T[S].length;switch(w){case"string":return T.join("");case"array":return Array.prototype.concat.apply([],T);case"uint8array":for(H=new Uint8Array(R),S=0;S<T.length;S++)H.set(T[S],O),O+=T[S].length;return H;case"nodebuffer":return Buffer.concat(T);default:throw new Error("concat : unsupported type '"+w+"'")}})(y,c),A);l(E)}catch(w){m(w)}c=[]}).resume()})}function h(_,d,l){var m=d;switch(d){case"blob":case"arraybuffer":m="uint8array";break;case"base64":m="string"}try{this._internalType=m,this._outputType=d,this._mimeType=l,i.checkSupport(m),this._worker=_.pipe(new u(m)),_.lock()}catch(c){this._worker=new a("error"),this._worker.error(c)}}h.prototype={accumulate:function(_){return v(this,_)},on:function(_,d){var l=this;return _==="data"?this._worker.on(_,function(m){d.call(l,m.data,m.meta)}):this._worker.on(_,function(){i.delay(d,arguments,l)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(_){if(i.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new b(this,{objectMode:this._outputType!=="nodebuffer"},_)}},n.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,n,s){if(s.base64=!0,s.array=!0,s.string=!0,s.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",s.nodebuffer=typeof Buffer<"u",s.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")s.blob=!1;else{var i=new ArrayBuffer(0);try{s.blob=new Blob([i],{type:"application/zip"}).size===0}catch{try{var u=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);u.append(i),s.blob=u.getBlob("application/zip").size===0}catch{s.blob=!1}}}try{s.nodestream=!!t("readable-stream").Readable}catch{s.nodestream=!1}},{"readable-stream":16}],31:[function(t,n,s){for(var i=t("./utils"),u=t("./support"),a=t("./nodejsUtils"),o=t("./stream/GenericWorker"),p=new Array(256),g=0;g<256;g++)p[g]=252<=g?6:248<=g?5:240<=g?4:224<=g?3:192<=g?2:1;p[254]=p[254]=1;function b(){o.call(this,"utf-8 decode"),this.leftOver=null}function v(){o.call(this,"utf-8 encode")}s.utf8encode=function(h){return u.nodebuffer?a.newBufferFrom(h,"utf-8"):(function(_){var d,l,m,c,y,C=_.length,A=0;for(c=0;c<C;c++)(64512&(l=_.charCodeAt(c)))==55296&&c+1<C&&(64512&(m=_.charCodeAt(c+1)))==56320&&(l=65536+(l-55296<<10)+(m-56320),c++),A+=l<128?1:l<2048?2:l<65536?3:4;for(d=u.uint8array?new Uint8Array(A):new Array(A),c=y=0;y<A;c++)(64512&(l=_.charCodeAt(c)))==55296&&c+1<C&&(64512&(m=_.charCodeAt(c+1)))==56320&&(l=65536+(l-55296<<10)+(m-56320),c++),l<128?d[y++]=l:(l<2048?d[y++]=192|l>>>6:(l<65536?d[y++]=224|l>>>12:(d[y++]=240|l>>>18,d[y++]=128|l>>>12&63),d[y++]=128|l>>>6&63),d[y++]=128|63&l);return d})(h)},s.utf8decode=function(h){return u.nodebuffer?i.transformTo("nodebuffer",h).toString("utf-8"):(function(_){var d,l,m,c,y=_.length,C=new Array(2*y);for(d=l=0;d<y;)if((m=_[d++])<128)C[l++]=m;else if(4<(c=p[m]))C[l++]=65533,d+=c-1;else{for(m&=c===2?31:c===3?15:7;1<c&&d<y;)m=m<<6|63&_[d++],c--;1<c?C[l++]=65533:m<65536?C[l++]=m:(m-=65536,C[l++]=55296|m>>10&1023,C[l++]=56320|1023&m)}return C.length!==l&&(C.subarray?C=C.subarray(0,l):C.length=l),i.applyFromCharCode(C)})(h=i.transformTo(u.uint8array?"uint8array":"array",h))},i.inherits(b,o),b.prototype.processChunk=function(h){var _=i.transformTo(u.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(u.uint8array){var d=_;(_=new Uint8Array(d.length+this.leftOver.length)).set(this.leftOver,0),_.set(d,this.leftOver.length)}else _=this.leftOver.concat(_);this.leftOver=null}var l=(function(c,y){var C;for((y=y||c.length)>c.length&&(y=c.length),C=y-1;0<=C&&(192&c[C])==128;)C--;return C<0||C===0?y:C+p[c[C]]>y?C:y})(_),m=_;l!==_.length&&(u.uint8array?(m=_.subarray(0,l),this.leftOver=_.subarray(l,_.length)):(m=_.slice(0,l),this.leftOver=_.slice(l,_.length))),this.push({data:s.utf8decode(m),meta:h.meta})},b.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:s.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},s.Utf8DecodeWorker=b,i.inherits(v,o),v.prototype.processChunk=function(h){this.push({data:s.utf8encode(h.data),meta:h.meta})},s.Utf8EncodeWorker=v},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,n,s){var i=t("./support"),u=t("./base64"),a=t("./nodejsUtils"),o=t("./external");function p(d){return d}function g(d,l){for(var m=0;m<d.length;++m)l[m]=255&d.charCodeAt(m);return l}t("setimmediate"),s.newBlob=function(d,l){s.checkSupport("blob");try{return new Blob([d],{type:l})}catch{try{var m=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return m.append(d),m.getBlob(l)}catch{throw new Error("Bug : can't construct the Blob.")}}};var b={stringifyByChunk:function(d,l,m){var c=[],y=0,C=d.length;if(C<=m)return String.fromCharCode.apply(null,d);for(;y<C;)l==="array"||l==="nodebuffer"?c.push(String.fromCharCode.apply(null,d.slice(y,Math.min(y+m,C)))):c.push(String.fromCharCode.apply(null,d.subarray(y,Math.min(y+m,C)))),y+=m;return c.join("")},stringifyByChar:function(d){for(var l="",m=0;m<d.length;m++)l+=String.fromCharCode(d[m]);return l},applyCanBeUsed:{uint8array:(function(){try{return i.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return i.nodebuffer&&String.fromCharCode.apply(null,a.allocBuffer(1)).length===1}catch{return!1}})()}};function v(d){var l=65536,m=s.getTypeOf(d),c=!0;if(m==="uint8array"?c=b.applyCanBeUsed.uint8array:m==="nodebuffer"&&(c=b.applyCanBeUsed.nodebuffer),c)for(;1<l;)try{return b.stringifyByChunk(d,m,l)}catch{l=Math.floor(l/2)}return b.stringifyByChar(d)}function h(d,l){for(var m=0;m<d.length;m++)l[m]=d[m];return l}s.applyFromCharCode=v;var _={};_.string={string:p,array:function(d){return g(d,new Array(d.length))},arraybuffer:function(d){return _.string.uint8array(d).buffer},uint8array:function(d){return g(d,new Uint8Array(d.length))},nodebuffer:function(d){return g(d,a.allocBuffer(d.length))}},_.array={string:v,array:p,arraybuffer:function(d){return new Uint8Array(d).buffer},uint8array:function(d){return new Uint8Array(d)},nodebuffer:function(d){return a.newBufferFrom(d)}},_.arraybuffer={string:function(d){return v(new Uint8Array(d))},array:function(d){return h(new Uint8Array(d),new Array(d.byteLength))},arraybuffer:p,uint8array:function(d){return new Uint8Array(d)},nodebuffer:function(d){return a.newBufferFrom(new Uint8Array(d))}},_.uint8array={string:v,array:function(d){return h(d,new Array(d.length))},arraybuffer:function(d){return d.buffer},uint8array:p,nodebuffer:function(d){return a.newBufferFrom(d)}},_.nodebuffer={string:v,array:function(d){return h(d,new Array(d.length))},arraybuffer:function(d){return _.nodebuffer.uint8array(d).buffer},uint8array:function(d){return h(d,new Uint8Array(d.length))},nodebuffer:p},s.transformTo=function(d,l){if(l=l||"",!d)return l;s.checkSupport(d);var m=s.getTypeOf(l);return _[m][d](l)},s.resolve=function(d){for(var l=d.split("/"),m=[],c=0;c<l.length;c++){var y=l[c];y==="."||y===""&&c!==0&&c!==l.length-1||(y===".."?m.pop():m.push(y))}return m.join("/")},s.getTypeOf=function(d){if(typeof d=="string")return"string";var l=Object.prototype.toString.call(d);return l==="[object Array]"?"array":i.nodebuffer&&a.isBuffer(d)?"nodebuffer":i.uint8array&&l==="[object Uint8Array]"?"uint8array":i.arraybuffer&&l==="[object ArrayBuffer]"?"arraybuffer":void 0},s.checkSupport=function(d){if(!i[d.toLowerCase()])throw new Error(d+" is not supported by this platform")},s.MAX_VALUE_16BITS=65535,s.MAX_VALUE_32BITS=-1,s.pretty=function(d){var l,m,c="";for(m=0;m<(d||"").length;m++)c+="\\x"+((l=d.charCodeAt(m))<16?"0":"")+l.toString(16).toUpperCase();return c},s.delay=function(d,l,m){setImmediate(function(){d.apply(m||null,l||[])})},s.inherits=function(d,l){function m(){}m.prototype=l.prototype,d.prototype=new m},s.extend=function(){var d,l,m={};for(d=0;d<arguments.length;d++)for(l in arguments[d])Object.prototype.hasOwnProperty.call(arguments[d],l)&&m[l]===void 0&&(m[l]=arguments[d][l]);return m},s.prepareContent=function(d,l,m,c,y){return o.Promise.resolve(l).then(function(C){return i.blob&&(C instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(C))!==-1)?Blob.prototype.arrayBuffer!==void 0?C.arrayBuffer():typeof FileReader<"u"?new o.Promise(function(A,E){var w=new FileReader;w.onload=function(T){A(T.target.result)},w.onerror=function(T){E(T.target.error)},w.readAsArrayBuffer(C)}):o.Promise.reject(new Error(d+" is a Blob, but we have no way of reading it.")):C}).then(function(C){var A=s.getTypeOf(C);return A?(A==="arraybuffer"?C=s.transformTo("uint8array",C):A==="string"&&(y?C=u.decode(C):m&&c!==!0&&(C=(function(E){return g(E,i.uint8array?new Uint8Array(E.length):new Array(E.length))})(C))),C):o.Promise.reject(new Error("Can't read the data of '"+d+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,n,s){var i=t("./reader/readerFor"),u=t("./utils"),a=t("./signature"),o=t("./zipEntry"),p=t("./support");function g(b){this.files=[],this.loadOptions=b}g.prototype={checkSignature:function(b){if(!this.reader.readAndCheckSignature(b)){this.reader.index-=4;var v=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+u.pretty(v)+", expected "+u.pretty(b)+")")}},isSignature:function(b,v){var h=this.reader.index;this.reader.setIndex(b);var _=this.reader.readString(4)===v;return this.reader.setIndex(h),_},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 b=this.reader.readData(this.zipCommentLength),v=p.uint8array?"uint8array":"array",h=u.transformTo(v,b);this.zipComment=this.loadOptions.decodeFileName(h)},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 b,v,h,_=this.zip64EndOfCentralSize-44;0<_;)b=this.reader.readInt(2),v=this.reader.readInt(4),h=this.reader.readData(v),this.zip64ExtensibleData[b]={id:b,length:v,value:h}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var b,v;for(b=0;b<this.files.length;b++)v=this.files[b],this.reader.setIndex(v.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),v.readLocalPart(this.reader),v.handleUTF8(),v.processAttributes()},readCentralDir:function(){var b;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(b=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(b);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var b=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(b<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):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");this.reader.setIndex(b);var v=b;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===u.MAX_VALUE_16BITS||this.diskWithCentralDirStart===u.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===u.MAX_VALUE_16BITS||this.centralDirRecords===u.MAX_VALUE_16BITS||this.centralDirSize===u.MAX_VALUE_32BITS||this.centralDirOffset===u.MAX_VALUE_32BITS){if(this.zip64=!0,(b=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(b),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.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(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var h=this.centralDirOffset+this.centralDirSize;this.zip64&&(h+=20,h+=12+this.zip64EndOfCentralSize);var _=v-h;if(0<_)this.isSignature(v,a.CENTRAL_FILE_HEADER)||(this.reader.zero=_);else if(_<0)throw new Error("Corrupted zip: missing "+Math.abs(_)+" bytes.")},prepareReader:function(b){this.reader=i(b)},load:function(b){this.prepareReader(b),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},n.exports=g},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,n,s){var i=t("./reader/readerFor"),u=t("./utils"),a=t("./compressedObject"),o=t("./crc32"),p=t("./utf8"),g=t("./compressions"),b=t("./support");function v(h,_){this.options=h,this.loadOptions=_}v.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(h){var _,d;if(h.skip(22),this.fileNameLength=h.readInt(2),d=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(d),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((_=(function(l){for(var m in g)if(Object.prototype.hasOwnProperty.call(g,m)&&g[m].magic===l)return g[m];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+u.pretty(this.compressionMethod)+" unknown (inner file : "+u.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,_,h.readData(this.compressedSize))},readCentralPart:function(h){this.versionMadeBy=h.readInt(2),h.skip(2),this.bitFlag=h.readInt(2),this.compressionMethod=h.readString(2),this.date=h.readDate(),this.crc32=h.readInt(4),this.compressedSize=h.readInt(4),this.uncompressedSize=h.readInt(4);var _=h.readInt(2);if(this.extraFieldsLength=h.readInt(2),this.fileCommentLength=h.readInt(2),this.diskNumberStart=h.readInt(2),this.internalFileAttributes=h.readInt(2),this.externalFileAttributes=h.readInt(4),this.localHeaderOffset=h.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");h.skip(_),this.readExtraFields(h),this.parseZIP64ExtraField(h),this.fileComment=h.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var h=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=i(this.extraFields[1].value);this.uncompressedSize===u.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===u.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===u.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===u.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var _,d,l,m=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4<m;)_=h.readInt(2),d=h.readInt(2),l=h.readData(d),this.extraFields[_]={id:_,length:d,value:l};h.setIndex(m)},handleUTF8:function(){var h=b.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=p.utf8decode(this.fileName),this.fileCommentStr=p.utf8decode(this.fileComment);else{var _=this.findExtraFieldUnicodePath();if(_!==null)this.fileNameStr=_;else{var d=u.transformTo(h,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(d)}var l=this.findExtraFieldUnicodeComment();if(l!==null)this.fileCommentStr=l;else{var m=u.transformTo(h,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(m)}}},findExtraFieldUnicodePath:function(){var h=this.extraFields[28789];if(h){var _=i(h.value);return _.readInt(1)!==1||o(this.fileName)!==_.readInt(4)?null:p.utf8decode(_.readData(h.length-5))}return null},findExtraFieldUnicodeComment:function(){var h=this.extraFields[25461];if(h){var _=i(h.value);return _.readInt(1)!==1||o(this.fileComment)!==_.readInt(4)?null:p.utf8decode(_.readData(h.length-5))}return null}},n.exports=v},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,n,s){function i(_,d,l){this.name=_,this.dir=l.dir,this.date=l.date,this.comment=l.comment,this.unixPermissions=l.unixPermissions,this.dosPermissions=l.dosPermissions,this._data=d,this._dataBinary=l.binary,this.options={compression:l.compression,compressionOptions:l.compressionOptions}}var u=t("./stream/StreamHelper"),a=t("./stream/DataWorker"),o=t("./utf8"),p=t("./compressedObject"),g=t("./stream/GenericWorker");i.prototype={internalStream:function(_){var d=null,l="string";try{if(!_)throw new Error("No output type specified.");var m=(l=_.toLowerCase())==="string"||l==="text";l!=="binarystring"&&l!=="text"||(l="string"),d=this._decompressWorker();var c=!this._dataBinary;c&&!m&&(d=d.pipe(new o.Utf8EncodeWorker)),!c&&m&&(d=d.pipe(new o.Utf8DecodeWorker))}catch(y){(d=new g("error")).error(y)}return new u(d,l,"")},async:function(_,d){return this.internalStream(_).accumulate(d)},nodeStream:function(_,d){return this.internalStream(_||"nodebuffer").toNodejsStream(d)},_compressWorker:function(_,d){if(this._data instanceof p&&this._data.compression.magic===_.magic)return this._data.getCompressedWorker();var l=this._decompressWorker();return this._dataBinary||(l=l.pipe(new o.Utf8EncodeWorker)),p.createWorkerFrom(l,_,d)},_decompressWorker:function(){return this._data instanceof p?this._data.getContentWorker():this._data instanceof g?this._data:new a(this._data)}};for(var b=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],v=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<b.length;h++)i.prototype[b[h]]=v;n.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,n,s){(function(i){var u,a,o=i.MutationObserver||i.WebKitMutationObserver;if(o){var p=0,g=new o(_),b=i.document.createTextNode("");g.observe(b,{characterData:!0}),u=function(){b.data=p=++p%2}}else if(i.setImmediate||i.MessageChannel===void 0)u="document"in i&&"onreadystatechange"in i.document.createElement("script")?function(){var d=i.document.createElement("script");d.onreadystatechange=function(){_(),d.onreadystatechange=null,d.parentNode.removeChild(d),d=null},i.document.documentElement.appendChild(d)}:function(){setTimeout(_,0)};else{var v=new i.MessageChannel;v.port1.onmessage=_,u=function(){v.port2.postMessage(0)}}var h=[];function _(){var d,l;a=!0;for(var m=h.length;m;){for(l=h,h=[],d=-1;++d<m;)l[d]();m=h.length}a=!1}n.exports=function(d){h.push(d)!==1||a||u()}}).call(this,typeof fr<"u"?fr:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(t,n,s){var i=t("immediate");function u(){}var a={},o=["REJECTED"],p=["FULFILLED"],g=["PENDING"];function b(m){if(typeof m!="function")throw new TypeError("resolver must be a function");this.state=g,this.queue=[],this.outcome=void 0,m!==u&&d(this,m)}function v(m,c,y){this.promise=m,typeof c=="function"&&(this.onFulfilled=c,this.callFulfilled=this.otherCallFulfilled),typeof y=="function"&&(this.onRejected=y,this.callRejected=this.otherCallRejected)}function h(m,c,y){i(function(){var C;try{C=c(y)}catch(A){return a.reject(m,A)}C===m?a.reject(m,new TypeError("Cannot resolve promise with itself")):a.resolve(m,C)})}function _(m){var c=m&&m.then;if(m&&(typeof m=="object"||typeof m=="function")&&typeof c=="function")return function(){c.apply(m,arguments)}}function d(m,c){var y=!1;function C(w){y||(y=!0,a.reject(m,w))}function A(w){y||(y=!0,a.resolve(m,w))}var E=l(function(){c(A,C)});E.status==="error"&&C(E.value)}function l(m,c){var y={};try{y.value=m(c),y.status="success"}catch(C){y.status="error",y.value=C}return y}(n.exports=b).prototype.finally=function(m){if(typeof m!="function")return this;var c=this.constructor;return this.then(function(y){return c.resolve(m()).then(function(){return y})},function(y){return c.resolve(m()).then(function(){throw y})})},b.prototype.catch=function(m){return this.then(null,m)},b.prototype.then=function(m,c){if(typeof m!="function"&&this.state===p||typeof c!="function"&&this.state===o)return this;var y=new this.constructor(u);return this.state!==g?h(y,this.state===p?m:c,this.outcome):this.queue.push(new v(y,m,c)),y},v.prototype.callFulfilled=function(m){a.resolve(this.promise,m)},v.prototype.otherCallFulfilled=function(m){h(this.promise,this.onFulfilled,m)},v.prototype.callRejected=function(m){a.reject(this.promise,m)},v.prototype.otherCallRejected=function(m){h(this.promise,this.onRejected,m)},a.resolve=function(m,c){var y=l(_,c);if(y.status==="error")return a.reject(m,y.value);var C=y.value;if(C)d(m,C);else{m.state=p,m.outcome=c;for(var A=-1,E=m.queue.length;++A<E;)m.queue[A].callFulfilled(c)}return m},a.reject=function(m,c){m.state=o,m.outcome=c;for(var y=-1,C=m.queue.length;++y<C;)m.queue[y].callRejected(c);return m},b.resolve=function(m){return m instanceof this?m:a.resolve(new this(u),m)},b.reject=function(m){var c=new this(u);return a.reject(c,m)},b.all=function(m){var c=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=m.length,C=!1;if(!y)return this.resolve([]);for(var A=new Array(y),E=0,w=-1,T=new this(u);++w<y;)S(m[w],w);return T;function S(O,H){c.resolve(O).then(function(R){A[H]=R,++E!==y||C||(C=!0,a.resolve(T,A))},function(R){C||(C=!0,a.reject(T,R))})}},b.race=function(m){var c=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=m.length,C=!1;if(!y)return this.resolve([]);for(var A=-1,E=new this(u);++A<y;)w=m[A],c.resolve(w).then(function(T){C||(C=!0,a.resolve(E,T))},function(T){C||(C=!0,a.reject(E,T))});var w;return E}},{immediate:36}],38:[function(t,n,s){var i={};(0,t("./lib/utils/common").assign)(i,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),n.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,n,s){var i=t("./zlib/deflate"),u=t("./utils/common"),a=t("./utils/strings"),o=t("./zlib/messages"),p=t("./zlib/zstream"),g=Object.prototype.toString,b=0,v=-1,h=0,_=8;function d(m){if(!(this instanceof d))return new d(m);this.options=u.assign({level:v,method:_,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},m||{});var c=this.options;c.raw&&0<c.windowBits?c.windowBits=-c.windowBits:c.gzip&&0<c.windowBits&&c.windowBits<16&&(c.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var y=i.deflateInit2(this.strm,c.level,c.method,c.windowBits,c.memLevel,c.strategy);if(y!==b)throw new Error(o[y]);if(c.header&&i.deflateSetHeader(this.strm,c.header),c.dictionary){var C;if(C=typeof c.dictionary=="string"?a.string2buf(c.dictionary):g.call(c.dictionary)==="[object ArrayBuffer]"?new Uint8Array(c.dictionary):c.dictionary,(y=i.deflateSetDictionary(this.strm,C))!==b)throw new Error(o[y]);this._dict_set=!0}}function l(m,c){var y=new d(c);if(y.push(m,!0),y.err)throw y.msg||o[y.err];return y.result}d.prototype.push=function(m,c){var y,C,A=this.strm,E=this.options.chunkSize;if(this.ended)return!1;C=c===~~c?c:c===!0?4:0,typeof m=="string"?A.input=a.string2buf(m):g.call(m)==="[object ArrayBuffer]"?A.input=new Uint8Array(m):A.input=m,A.next_in=0,A.avail_in=A.input.length;do{if(A.avail_out===0&&(A.output=new u.Buf8(E),A.next_out=0,A.avail_out=E),(y=i.deflate(A,C))!==1&&y!==b)return this.onEnd(y),!(this.ended=!0);A.avail_out!==0&&(A.avail_in!==0||C!==4&&C!==2)||(this.options.to==="string"?this.onData(a.buf2binstring(u.shrinkBuf(A.output,A.next_out))):this.onData(u.shrinkBuf(A.output,A.next_out)))}while((0<A.avail_in||A.avail_out===0)&&y!==1);return C===4?(y=i.deflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===b):C!==2||(this.onEnd(b),!(A.avail_out=0))},d.prototype.onData=function(m){this.chunks.push(m)},d.prototype.onEnd=function(m){m===b&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},s.Deflate=d,s.deflate=l,s.deflateRaw=function(m,c){return(c=c||{}).raw=!0,l(m,c)},s.gzip=function(m,c){return(c=c||{}).gzip=!0,l(m,c)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,n,s){var i=t("./zlib/inflate"),u=t("./utils/common"),a=t("./utils/strings"),o=t("./zlib/constants"),p=t("./zlib/messages"),g=t("./zlib/zstream"),b=t("./zlib/gzheader"),v=Object.prototype.toString;function h(d){if(!(this instanceof h))return new h(d);this.options=u.assign({chunkSize:16384,windowBits:0,to:""},d||{});var l=this.options;l.raw&&0<=l.windowBits&&l.windowBits<16&&(l.windowBits=-l.windowBits,l.windowBits===0&&(l.windowBits=-15)),!(0<=l.windowBits&&l.windowBits<16)||d&&d.windowBits||(l.windowBits+=32),15<l.windowBits&&l.windowBits<48&&(15&l.windowBits)==0&&(l.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new g,this.strm.avail_out=0;var m=i.inflateInit2(this.strm,l.windowBits);if(m!==o.Z_OK)throw new Error(p[m]);this.header=new b,i.inflateGetHeader(this.strm,this.header)}function _(d,l){var m=new h(l);if(m.push(d,!0),m.err)throw m.msg||p[m.err];return m.result}h.prototype.push=function(d,l){var m,c,y,C,A,E,w=this.strm,T=this.options.chunkSize,S=this.options.dictionary,O=!1;if(this.ended)return!1;c=l===~~l?l:l===!0?o.Z_FINISH:o.Z_NO_FLUSH,typeof d=="string"?w.input=a.binstring2buf(d):v.call(d)==="[object ArrayBuffer]"?w.input=new Uint8Array(d):w.input=d,w.next_in=0,w.avail_in=w.input.length;do{if(w.avail_out===0&&(w.output=new u.Buf8(T),w.next_out=0,w.avail_out=T),(m=i.inflate(w,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&S&&(E=typeof S=="string"?a.string2buf(S):v.call(S)==="[object ArrayBuffer]"?new Uint8Array(S):S,m=i.inflateSetDictionary(this.strm,E)),m===o.Z_BUF_ERROR&&O===!0&&(m=o.Z_OK,O=!1),m!==o.Z_STREAM_END&&m!==o.Z_OK)return this.onEnd(m),!(this.ended=!0);w.next_out&&(w.avail_out!==0&&m!==o.Z_STREAM_END&&(w.avail_in!==0||c!==o.Z_FINISH&&c!==o.Z_SYNC_FLUSH)||(this.options.to==="string"?(y=a.utf8border(w.output,w.next_out),C=w.next_out-y,A=a.buf2string(w.output,y),w.next_out=C,w.avail_out=T-C,C&&u.arraySet(w.output,w.output,y,C,0),this.onData(A)):this.onData(u.shrinkBuf(w.output,w.next_out)))),w.avail_in===0&&w.avail_out===0&&(O=!0)}while((0<w.avail_in||w.avail_out===0)&&m!==o.Z_STREAM_END);return m===o.Z_STREAM_END&&(c=o.Z_FINISH),c===o.Z_FINISH?(m=i.inflateEnd(this.strm),this.onEnd(m),this.ended=!0,m===o.Z_OK):c!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(w.avail_out=0))},h.prototype.onData=function(d){this.chunks.push(d)},h.prototype.onEnd=function(d){d===o.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=d,this.msg=this.strm.msg},s.Inflate=h,s.inflate=_,s.inflateRaw=function(d,l){return(l=l||{}).raw=!0,_(d,l)},s.ungzip=_},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,n,s){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";s.assign=function(o){for(var p=Array.prototype.slice.call(arguments,1);p.length;){var g=p.shift();if(g){if(typeof g!="object")throw new TypeError(g+"must be non-object");for(var b in g)g.hasOwnProperty(b)&&(o[b]=g[b])}}return o},s.shrinkBuf=function(o,p){return o.length===p?o:o.subarray?o.subarray(0,p):(o.length=p,o)};var u={arraySet:function(o,p,g,b,v){if(p.subarray&&o.subarray)o.set(p.subarray(g,g+b),v);else for(var h=0;h<b;h++)o[v+h]=p[g+h]},flattenChunks:function(o){var p,g,b,v,h,_;for(p=b=0,g=o.length;p<g;p++)b+=o[p].length;for(_=new Uint8Array(b),p=v=0,g=o.length;p<g;p++)h=o[p],_.set(h,v),v+=h.length;return _}},a={arraySet:function(o,p,g,b,v){for(var h=0;h<b;h++)o[v+h]=p[g+h]},flattenChunks:function(o){return[].concat.apply([],o)}};s.setTyped=function(o){o?(s.Buf8=Uint8Array,s.Buf16=Uint16Array,s.Buf32=Int32Array,s.assign(s,u)):(s.Buf8=Array,s.Buf16=Array,s.Buf32=Array,s.assign(s,a))},s.setTyped(i)},{}],42:[function(t,n,s){var i=t("./common"),u=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch{u=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{a=!1}for(var o=new i.Buf8(256),p=0;p<256;p++)o[p]=252<=p?6:248<=p?5:240<=p?4:224<=p?3:192<=p?2:1;function g(b,v){if(v<65537&&(b.subarray&&a||!b.subarray&&u))return String.fromCharCode.apply(null,i.shrinkBuf(b,v));for(var h="",_=0;_<v;_++)h+=String.fromCharCode(b[_]);return h}o[254]=o[254]=1,s.string2buf=function(b){var v,h,_,d,l,m=b.length,c=0;for(d=0;d<m;d++)(64512&(h=b.charCodeAt(d)))==55296&&d+1<m&&(64512&(_=b.charCodeAt(d+1)))==56320&&(h=65536+(h-55296<<10)+(_-56320),d++),c+=h<128?1:h<2048?2:h<65536?3:4;for(v=new i.Buf8(c),d=l=0;l<c;d++)(64512&(h=b.charCodeAt(d)))==55296&&d+1<m&&(64512&(_=b.charCodeAt(d+1)))==56320&&(h=65536+(h-55296<<10)+(_-56320),d++),h<128?v[l++]=h:(h<2048?v[l++]=192|h>>>6:(h<65536?v[l++]=224|h>>>12:(v[l++]=240|h>>>18,v[l++]=128|h>>>12&63),v[l++]=128|h>>>6&63),v[l++]=128|63&h);return v},s.buf2binstring=function(b){return g(b,b.length)},s.binstring2buf=function(b){for(var v=new i.Buf8(b.length),h=0,_=v.length;h<_;h++)v[h]=b.charCodeAt(h);return v},s.buf2string=function(b,v){var h,_,d,l,m=v||b.length,c=new Array(2*m);for(h=_=0;h<m;)if((d=b[h++])<128)c[_++]=d;else if(4<(l=o[d]))c[_++]=65533,h+=l-1;else{for(d&=l===2?31:l===3?15:7;1<l&&h<m;)d=d<<6|63&b[h++],l--;1<l?c[_++]=65533:d<65536?c[_++]=d:(d-=65536,c[_++]=55296|d>>10&1023,c[_++]=56320|1023&d)}return g(c,_)},s.utf8border=function(b,v){var h;for((v=v||b.length)>b.length&&(v=b.length),h=v-1;0<=h&&(192&b[h])==128;)h--;return h<0||h===0?v:h+o[b[h]]>v?h:v}},{"./common":41}],43:[function(t,n,s){n.exports=function(i,u,a,o){for(var p=65535&i|0,g=i>>>16&65535|0,b=0;a!==0;){for(a-=b=2e3<a?2e3:a;g=g+(p=p+u[o++]|0)|0,--b;);p%=65521,g%=65521}return p|g<<16|0}},{}],44:[function(t,n,s){n.exports={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}},{}],45:[function(t,n,s){var i=(function(){for(var u,a=[],o=0;o<256;o++){u=o;for(var p=0;p<8;p++)u=1&u?3988292384^u>>>1:u>>>1;a[o]=u}return a})();n.exports=function(u,a,o,p){var g=i,b=p+o;u^=-1;for(var v=p;v<b;v++)u=u>>>8^g[255&(u^a[v])];return-1^u}},{}],46:[function(t,n,s){var i,u=t("../utils/common"),a=t("./trees"),o=t("./adler32"),p=t("./crc32"),g=t("./messages"),b=0,v=4,h=0,_=-2,d=-1,l=4,m=2,c=8,y=9,C=286,A=30,E=19,w=2*C+1,T=15,S=3,O=258,H=O+S+1,R=42,M=113,D=1,L=2,Y=3,W=4;function ne(f,q){return f.msg=g[q],q}function G(f){return(f<<1)-(4<f?9:0)}function ae(f){for(var q=f.length;0<=--q;)f[q]=0}function V(f){var q=f.state,P=q.pending;P>f.avail_out&&(P=f.avail_out),P!==0&&(u.arraySet(f.output,q.pending_buf,q.pending_out,P,f.next_out),f.next_out+=P,q.pending_out+=P,f.total_out+=P,f.avail_out-=P,q.pending-=P,q.pending===0&&(q.pending_out=0))}function X(f,q){a._tr_flush_block(f,0<=f.block_start?f.block_start:-1,f.strstart-f.block_start,q),f.block_start=f.strstart,V(f.strm)}function ie(f,q){f.pending_buf[f.pending++]=q}function ue(f,q){f.pending_buf[f.pending++]=q>>>8&255,f.pending_buf[f.pending++]=255&q}function re(f,q){var P,I,N=f.max_chain_length,B=f.strstart,Z=f.prev_length,$=f.nice_match,U=f.strstart>f.w_size-H?f.strstart-(f.w_size-H):0,te=f.window,oe=f.w_mask,Q=f.prev,he=f.strstart+O,Ee=te[B+Z-1],ve=te[B+Z];f.prev_length>=f.good_match&&(N>>=2),$>f.lookahead&&($=f.lookahead);do if(te[(P=q)+Z]===ve&&te[P+Z-1]===Ee&&te[P]===te[B]&&te[++P]===te[B+1]){B+=2,P++;do;while(te[++B]===te[++P]&&te[++B]===te[++P]&&te[++B]===te[++P]&&te[++B]===te[++P]&&te[++B]===te[++P]&&te[++B]===te[++P]&&te[++B]===te[++P]&&te[++B]===te[++P]&&B<he);if(I=O-(he-B),B=he-O,Z<I){if(f.match_start=q,$<=(Z=I))break;Ee=te[B+Z-1],ve=te[B+Z]}}while((q=Q[q&oe])>U&&--N!=0);return Z<=f.lookahead?Z:f.lookahead}function se(f){var q,P,I,N,B,Z,$,U,te,oe,Q=f.w_size;do{if(N=f.window_size-f.lookahead-f.strstart,f.strstart>=Q+(Q-H)){for(u.arraySet(f.window,f.window,Q,Q,0),f.match_start-=Q,f.strstart-=Q,f.block_start-=Q,q=P=f.hash_size;I=f.head[--q],f.head[q]=Q<=I?I-Q:0,--P;);for(q=P=Q;I=f.prev[--q],f.prev[q]=Q<=I?I-Q:0,--P;);N+=Q}if(f.strm.avail_in===0)break;if(Z=f.strm,$=f.window,U=f.strstart+f.lookahead,te=N,oe=void 0,oe=Z.avail_in,te<oe&&(oe=te),P=oe===0?0:(Z.avail_in-=oe,u.arraySet($,Z.input,Z.next_in,oe,U),Z.state.wrap===1?Z.adler=o(Z.adler,$,oe,U):Z.state.wrap===2&&(Z.adler=p(Z.adler,$,oe,U)),Z.next_in+=oe,Z.total_in+=oe,oe),f.lookahead+=P,f.lookahead+f.insert>=S)for(B=f.strstart-f.insert,f.ins_h=f.window[B],f.ins_h=(f.ins_h<<f.hash_shift^f.window[B+1])&f.hash_mask;f.insert&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[B+S-1])&f.hash_mask,f.prev[B&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=B,B++,f.insert--,!(f.lookahead+f.insert<S)););}while(f.lookahead<H&&f.strm.avail_in!==0)}function we(f,q){for(var P,I;;){if(f.lookahead<H){if(se(f),f.lookahead<H&&q===b)return D;if(f.lookahead===0)break}if(P=0,f.lookahead>=S&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+S-1])&f.hash_mask,P=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),P!==0&&f.strstart-P<=f.w_size-H&&(f.match_length=re(f,P)),f.match_length>=S)if(I=a._tr_tally(f,f.strstart-f.match_start,f.match_length-S),f.lookahead-=f.match_length,f.match_length<=f.max_lazy_match&&f.lookahead>=S){for(f.match_length--;f.strstart++,f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+S-1])&f.hash_mask,P=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart,--f.match_length!=0;);f.strstart++}else f.strstart+=f.match_length,f.match_length=0,f.ins_h=f.window[f.strstart],f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+1])&f.hash_mask;else I=a._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++;if(I&&(X(f,!1),f.strm.avail_out===0))return D}return f.insert=f.strstart<S-1?f.strstart:S-1,q===v?(X(f,!0),f.strm.avail_out===0?Y:W):f.last_lit&&(X(f,!1),f.strm.avail_out===0)?D:L}function me(f,q){for(var P,I,N;;){if(f.lookahead<H){if(se(f),f.lookahead<H&&q===b)return D;if(f.lookahead===0)break}if(P=0,f.lookahead>=S&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+S-1])&f.hash_mask,P=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),f.prev_length=f.match_length,f.prev_match=f.match_start,f.match_length=S-1,P!==0&&f.prev_length<f.max_lazy_match&&f.strstart-P<=f.w_size-H&&(f.match_length=re(f,P),f.match_length<=5&&(f.strategy===1||f.match_length===S&&4096<f.strstart-f.match_start)&&(f.match_length=S-1)),f.prev_length>=S&&f.match_length<=f.prev_length){for(N=f.strstart+f.lookahead-S,I=a._tr_tally(f,f.strstart-1-f.prev_match,f.prev_length-S),f.lookahead-=f.prev_length-1,f.prev_length-=2;++f.strstart<=N&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+S-1])&f.hash_mask,P=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),--f.prev_length!=0;);if(f.match_available=0,f.match_length=S-1,f.strstart++,I&&(X(f,!1),f.strm.avail_out===0))return D}else if(f.match_available){if((I=a._tr_tally(f,0,f.window[f.strstart-1]))&&X(f,!1),f.strstart++,f.lookahead--,f.strm.avail_out===0)return D}else f.match_available=1,f.strstart++,f.lookahead--}return f.match_available&&(I=a._tr_tally(f,0,f.window[f.strstart-1]),f.match_available=0),f.insert=f.strstart<S-1?f.strstart:S-1,q===v?(X(f,!0),f.strm.avail_out===0?Y:W):f.last_lit&&(X(f,!1),f.strm.avail_out===0)?D:L}function pe(f,q,P,I,N){this.good_length=f,this.max_lazy=q,this.nice_length=P,this.max_chain=I,this.func=N}function de(){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=c,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 u.Buf16(2*w),this.dyn_dtree=new u.Buf16(2*(2*A+1)),this.bl_tree=new u.Buf16(2*(2*E+1)),ae(this.dyn_ltree),ae(this.dyn_dtree),ae(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new u.Buf16(T+1),this.heap=new u.Buf16(2*C+1),ae(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new u.Buf16(2*C+1),ae(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 ye(f){var q;return f&&f.state?(f.total_in=f.total_out=0,f.data_type=m,(q=f.state).pending=0,q.pending_out=0,q.wrap<0&&(q.wrap=-q.wrap),q.status=q.wrap?R:M,f.adler=q.wrap===2?0:1,q.last_flush=b,a._tr_init(q),h):ne(f,_)}function De(f){var q=ye(f);return q===h&&(function(P){P.window_size=2*P.w_size,ae(P.head),P.max_lazy_match=i[P.level].max_lazy,P.good_match=i[P.level].good_length,P.nice_match=i[P.level].nice_length,P.max_chain_length=i[P.level].max_chain,P.strstart=0,P.block_start=0,P.lookahead=0,P.insert=0,P.match_length=P.prev_length=S-1,P.match_available=0,P.ins_h=0})(f.state),q}function Ce(f,q,P,I,N,B){if(!f)return _;var Z=1;if(q===d&&(q=6),I<0?(Z=0,I=-I):15<I&&(Z=2,I-=16),N<1||y<N||P!==c||I<8||15<I||q<0||9<q||B<0||l<B)return ne(f,_);I===8&&(I=9);var $=new de;return(f.state=$).strm=f,$.wrap=Z,$.gzhead=null,$.w_bits=I,$.w_size=1<<$.w_bits,$.w_mask=$.w_size-1,$.hash_bits=N+7,$.hash_size=1<<$.hash_bits,$.hash_mask=$.hash_size-1,$.hash_shift=~~(($.hash_bits+S-1)/S),$.window=new u.Buf8(2*$.w_size),$.head=new u.Buf16($.hash_size),$.prev=new u.Buf16($.w_size),$.lit_bufsize=1<<N+6,$.pending_buf_size=4*$.lit_bufsize,$.pending_buf=new u.Buf8($.pending_buf_size),$.d_buf=1*$.lit_bufsize,$.l_buf=3*$.lit_bufsize,$.level=q,$.strategy=B,$.method=P,De(f)}i=[new pe(0,0,0,0,function(f,q){var P=65535;for(P>f.pending_buf_size-5&&(P=f.pending_buf_size-5);;){if(f.lookahead<=1){if(se(f),f.lookahead===0&&q===b)return D;if(f.lookahead===0)break}f.strstart+=f.lookahead,f.lookahead=0;var I=f.block_start+P;if((f.strstart===0||f.strstart>=I)&&(f.lookahead=f.strstart-I,f.strstart=I,X(f,!1),f.strm.avail_out===0)||f.strstart-f.block_start>=f.w_size-H&&(X(f,!1),f.strm.avail_out===0))return D}return f.insert=0,q===v?(X(f,!0),f.strm.avail_out===0?Y:W):(f.strstart>f.block_start&&(X(f,!1),f.strm.avail_out),D)}),new pe(4,4,8,4,we),new pe(4,5,16,8,we),new pe(4,6,32,32,we),new pe(4,4,16,16,me),new pe(8,16,32,32,me),new pe(8,16,128,128,me),new pe(8,32,128,256,me),new pe(32,128,258,1024,me),new pe(32,258,258,4096,me)],s.deflateInit=function(f,q){return Ce(f,q,c,15,8,0)},s.deflateInit2=Ce,s.deflateReset=De,s.deflateResetKeep=ye,s.deflateSetHeader=function(f,q){return f&&f.state?f.state.wrap!==2?_:(f.state.gzhead=q,h):_},s.deflate=function(f,q){var P,I,N,B;if(!f||!f.state||5<q||q<0)return f?ne(f,_):_;if(I=f.state,!f.output||!f.input&&f.avail_in!==0||I.status===666&&q!==v)return ne(f,f.avail_out===0?-5:_);if(I.strm=f,P=I.last_flush,I.last_flush=q,I.status===R)if(I.wrap===2)f.adler=0,ie(I,31),ie(I,139),ie(I,8),I.gzhead?(ie(I,(I.gzhead.text?1:0)+(I.gzhead.hcrc?2:0)+(I.gzhead.extra?4:0)+(I.gzhead.name?8:0)+(I.gzhead.comment?16:0)),ie(I,255&I.gzhead.time),ie(I,I.gzhead.time>>8&255),ie(I,I.gzhead.time>>16&255),ie(I,I.gzhead.time>>24&255),ie(I,I.level===9?2:2<=I.strategy||I.level<2?4:0),ie(I,255&I.gzhead.os),I.gzhead.extra&&I.gzhead.extra.length&&(ie(I,255&I.gzhead.extra.length),ie(I,I.gzhead.extra.length>>8&255)),I.gzhead.hcrc&&(f.adler=p(f.adler,I.pending_buf,I.pending,0)),I.gzindex=0,I.status=69):(ie(I,0),ie(I,0),ie(I,0),ie(I,0),ie(I,0),ie(I,I.level===9?2:2<=I.strategy||I.level<2?4:0),ie(I,3),I.status=M);else{var Z=c+(I.w_bits-8<<4)<<8;Z|=(2<=I.strategy||I.level<2?0:I.level<6?1:I.level===6?2:3)<<6,I.strstart!==0&&(Z|=32),Z+=31-Z%31,I.status=M,ue(I,Z),I.strstart!==0&&(ue(I,f.adler>>>16),ue(I,65535&f.adler)),f.adler=1}if(I.status===69)if(I.gzhead.extra){for(N=I.pending;I.gzindex<(65535&I.gzhead.extra.length)&&(I.pending!==I.pending_buf_size||(I.gzhead.hcrc&&I.pending>N&&(f.adler=p(f.adler,I.pending_buf,I.pending-N,N)),V(f),N=I.pending,I.pending!==I.pending_buf_size));)ie(I,255&I.gzhead.extra[I.gzindex]),I.gzindex++;I.gzhead.hcrc&&I.pending>N&&(f.adler=p(f.adler,I.pending_buf,I.pending-N,N)),I.gzindex===I.gzhead.extra.length&&(I.gzindex=0,I.status=73)}else I.status=73;if(I.status===73)if(I.gzhead.name){N=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>N&&(f.adler=p(f.adler,I.pending_buf,I.pending-N,N)),V(f),N=I.pending,I.pending===I.pending_buf_size)){B=1;break}B=I.gzindex<I.gzhead.name.length?255&I.gzhead.name.charCodeAt(I.gzindex++):0,ie(I,B)}while(B!==0);I.gzhead.hcrc&&I.pending>N&&(f.adler=p(f.adler,I.pending_buf,I.pending-N,N)),B===0&&(I.gzindex=0,I.status=91)}else I.status=91;if(I.status===91)if(I.gzhead.comment){N=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>N&&(f.adler=p(f.adler,I.pending_buf,I.pending-N,N)),V(f),N=I.pending,I.pending===I.pending_buf_size)){B=1;break}B=I.gzindex<I.gzhead.comment.length?255&I.gzhead.comment.charCodeAt(I.gzindex++):0,ie(I,B)}while(B!==0);I.gzhead.hcrc&&I.pending>N&&(f.adler=p(f.adler,I.pending_buf,I.pending-N,N)),B===0&&(I.status=103)}else I.status=103;if(I.status===103&&(I.gzhead.hcrc?(I.pending+2>I.pending_buf_size&&V(f),I.pending+2<=I.pending_buf_size&&(ie(I,255&f.adler),ie(I,f.adler>>8&255),f.adler=0,I.status=M)):I.status=M),I.pending!==0){if(V(f),f.avail_out===0)return I.last_flush=-1,h}else if(f.avail_in===0&&G(q)<=G(P)&&q!==v)return ne(f,-5);if(I.status===666&&f.avail_in!==0)return ne(f,-5);if(f.avail_in!==0||I.lookahead!==0||q!==b&&I.status!==666){var $=I.strategy===2?(function(U,te){for(var oe;;){if(U.lookahead===0&&(se(U),U.lookahead===0)){if(te===b)return D;break}if(U.match_length=0,oe=a._tr_tally(U,0,U.window[U.strstart]),U.lookahead--,U.strstart++,oe&&(X(U,!1),U.strm.avail_out===0))return D}return U.insert=0,te===v?(X(U,!0),U.strm.avail_out===0?Y:W):U.last_lit&&(X(U,!1),U.strm.avail_out===0)?D:L})(I,q):I.strategy===3?(function(U,te){for(var oe,Q,he,Ee,ve=U.window;;){if(U.lookahead<=O){if(se(U),U.lookahead<=O&&te===b)return D;if(U.lookahead===0)break}if(U.match_length=0,U.lookahead>=S&&0<U.strstart&&(Q=ve[he=U.strstart-1])===ve[++he]&&Q===ve[++he]&&Q===ve[++he]){Ee=U.strstart+O;do;while(Q===ve[++he]&&Q===ve[++he]&&Q===ve[++he]&&Q===ve[++he]&&Q===ve[++he]&&Q===ve[++he]&&Q===ve[++he]&&Q===ve[++he]&&he<Ee);U.match_length=O-(Ee-he),U.match_length>U.lookahead&&(U.match_length=U.lookahead)}if(U.match_length>=S?(oe=a._tr_tally(U,1,U.match_length-S),U.lookahead-=U.match_length,U.strstart+=U.match_length,U.match_length=0):(oe=a._tr_tally(U,0,U.window[U.strstart]),U.lookahead--,U.strstart++),oe&&(X(U,!1),U.strm.avail_out===0))return D}return U.insert=0,te===v?(X(U,!0),U.strm.avail_out===0?Y:W):U.last_lit&&(X(U,!1),U.strm.avail_out===0)?D:L})(I,q):i[I.level].func(I,q);if($!==Y&&$!==W||(I.status=666),$===D||$===Y)return f.avail_out===0&&(I.last_flush=-1),h;if($===L&&(q===1?a._tr_align(I):q!==5&&(a._tr_stored_block(I,0,0,!1),q===3&&(ae(I.head),I.lookahead===0&&(I.strstart=0,I.block_start=0,I.insert=0))),V(f),f.avail_out===0))return I.last_flush=-1,h}return q!==v?h:I.wrap<=0?1:(I.wrap===2?(ie(I,255&f.adler),ie(I,f.adler>>8&255),ie(I,f.adler>>16&255),ie(I,f.adler>>24&255),ie(I,255&f.total_in),ie(I,f.total_in>>8&255),ie(I,f.total_in>>16&255),ie(I,f.total_in>>24&255)):(ue(I,f.adler>>>16),ue(I,65535&f.adler)),V(f),0<I.wrap&&(I.wrap=-I.wrap),I.pending!==0?h:1)},s.deflateEnd=function(f){var q;return f&&f.state?(q=f.state.status)!==R&&q!==69&&q!==73&&q!==91&&q!==103&&q!==M&&q!==666?ne(f,_):(f.state=null,q===M?ne(f,-3):h):_},s.deflateSetDictionary=function(f,q){var P,I,N,B,Z,$,U,te,oe=q.length;if(!f||!f.state||(B=(P=f.state).wrap)===2||B===1&&P.status!==R||P.lookahead)return _;for(B===1&&(f.adler=o(f.adler,q,oe,0)),P.wrap=0,oe>=P.w_size&&(B===0&&(ae(P.head),P.strstart=0,P.block_start=0,P.insert=0),te=new u.Buf8(P.w_size),u.arraySet(te,q,oe-P.w_size,P.w_size,0),q=te,oe=P.w_size),Z=f.avail_in,$=f.next_in,U=f.input,f.avail_in=oe,f.next_in=0,f.input=q,se(P);P.lookahead>=S;){for(I=P.strstart,N=P.lookahead-(S-1);P.ins_h=(P.ins_h<<P.hash_shift^P.window[I+S-1])&P.hash_mask,P.prev[I&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=I,I++,--N;);P.strstart=I,P.lookahead=S-1,se(P)}return P.strstart+=P.lookahead,P.block_start=P.strstart,P.insert=P.lookahead,P.lookahead=0,P.match_length=P.prev_length=S-1,P.match_available=0,f.next_in=$,f.input=U,f.avail_in=Z,P.wrap=B,h},s.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,n,s){n.exports=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}},{}],48:[function(t,n,s){n.exports=function(i,u){var a,o,p,g,b,v,h,_,d,l,m,c,y,C,A,E,w,T,S,O,H,R,M,D,L;a=i.state,o=i.next_in,D=i.input,p=o+(i.avail_in-5),g=i.next_out,L=i.output,b=g-(u-i.avail_out),v=g+(i.avail_out-257),h=a.dmax,_=a.wsize,d=a.whave,l=a.wnext,m=a.window,c=a.hold,y=a.bits,C=a.lencode,A=a.distcode,E=(1<<a.lenbits)-1,w=(1<<a.distbits)-1;e:do{y<15&&(c+=D[o++]<<y,y+=8,c+=D[o++]<<y,y+=8),T=C[c&E];t:for(;;){if(c>>>=S=T>>>24,y-=S,(S=T>>>16&255)===0)L[g++]=65535&T;else{if(!(16&S)){if((64&S)==0){T=C[(65535&T)+(c&(1<<S)-1)];continue t}if(32&S){a.mode=12;break e}i.msg="invalid literal/length code",a.mode=30;break e}O=65535&T,(S&=15)&&(y<S&&(c+=D[o++]<<y,y+=8),O+=c&(1<<S)-1,c>>>=S,y-=S),y<15&&(c+=D[o++]<<y,y+=8,c+=D[o++]<<y,y+=8),T=A[c&w];r:for(;;){if(c>>>=S=T>>>24,y-=S,!(16&(S=T>>>16&255))){if((64&S)==0){T=A[(65535&T)+(c&(1<<S)-1)];continue r}i.msg="invalid distance code",a.mode=30;break e}if(H=65535&T,y<(S&=15)&&(c+=D[o++]<<y,(y+=8)<S&&(c+=D[o++]<<y,y+=8)),h<(H+=c&(1<<S)-1)){i.msg="invalid distance too far back",a.mode=30;break e}if(c>>>=S,y-=S,(S=g-b)<H){if(d<(S=H-S)&&a.sane){i.msg="invalid distance too far back",a.mode=30;break e}if(M=m,(R=0)===l){if(R+=_-S,S<O){for(O-=S;L[g++]=m[R++],--S;);R=g-H,M=L}}else if(l<S){if(R+=_+l-S,(S-=l)<O){for(O-=S;L[g++]=m[R++],--S;);if(R=0,l<O){for(O-=S=l;L[g++]=m[R++],--S;);R=g-H,M=L}}}else if(R+=l-S,S<O){for(O-=S;L[g++]=m[R++],--S;);R=g-H,M=L}for(;2<O;)L[g++]=M[R++],L[g++]=M[R++],L[g++]=M[R++],O-=3;O&&(L[g++]=M[R++],1<O&&(L[g++]=M[R++]))}else{for(R=g-H;L[g++]=L[R++],L[g++]=L[R++],L[g++]=L[R++],2<(O-=3););O&&(L[g++]=L[R++],1<O&&(L[g++]=L[R++]))}break}}break}}while(o<p&&g<v);o-=O=y>>3,c&=(1<<(y-=O<<3))-1,i.next_in=o,i.next_out=g,i.avail_in=o<p?p-o+5:5-(o-p),i.avail_out=g<v?v-g+257:257-(g-v),a.hold=c,a.bits=y}},{}],49:[function(t,n,s){var i=t("../utils/common"),u=t("./adler32"),a=t("./crc32"),o=t("./inffast"),p=t("./inftrees"),g=1,b=2,v=0,h=-2,_=1,d=852,l=592;function m(R){return(R>>>24&255)+(R>>>8&65280)+((65280&R)<<8)+((255&R)<<24)}function c(){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 i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(R){var M;return R&&R.state?(M=R.state,R.total_in=R.total_out=M.total=0,R.msg="",M.wrap&&(R.adler=1&M.wrap),M.mode=_,M.last=0,M.havedict=0,M.dmax=32768,M.head=null,M.hold=0,M.bits=0,M.lencode=M.lendyn=new i.Buf32(d),M.distcode=M.distdyn=new i.Buf32(l),M.sane=1,M.back=-1,v):h}function C(R){var M;return R&&R.state?((M=R.state).wsize=0,M.whave=0,M.wnext=0,y(R)):h}function A(R,M){var D,L;return R&&R.state?(L=R.state,M<0?(D=0,M=-M):(D=1+(M>>4),M<48&&(M&=15)),M&&(M<8||15<M)?h:(L.window!==null&&L.wbits!==M&&(L.window=null),L.wrap=D,L.wbits=M,C(R))):h}function E(R,M){var D,L;return R?(L=new c,(R.state=L).window=null,(D=A(R,M))!==v&&(R.state=null),D):h}var w,T,S=!0;function O(R){if(S){var M;for(w=new i.Buf32(512),T=new i.Buf32(32),M=0;M<144;)R.lens[M++]=8;for(;M<256;)R.lens[M++]=9;for(;M<280;)R.lens[M++]=7;for(;M<288;)R.lens[M++]=8;for(p(g,R.lens,0,288,w,0,R.work,{bits:9}),M=0;M<32;)R.lens[M++]=5;p(b,R.lens,0,32,T,0,R.work,{bits:5}),S=!1}R.lencode=w,R.lenbits=9,R.distcode=T,R.distbits=5}function H(R,M,D,L){var Y,W=R.state;return W.window===null&&(W.wsize=1<<W.wbits,W.wnext=0,W.whave=0,W.window=new i.Buf8(W.wsize)),L>=W.wsize?(i.arraySet(W.window,M,D-W.wsize,W.wsize,0),W.wnext=0,W.whave=W.wsize):(L<(Y=W.wsize-W.wnext)&&(Y=L),i.arraySet(W.window,M,D-L,Y,W.wnext),(L-=Y)?(i.arraySet(W.window,M,D-L,L,0),W.wnext=L,W.whave=W.wsize):(W.wnext+=Y,W.wnext===W.wsize&&(W.wnext=0),W.whave<W.wsize&&(W.whave+=Y))),0}s.inflateReset=C,s.inflateReset2=A,s.inflateResetKeep=y,s.inflateInit=function(R){return E(R,15)},s.inflateInit2=E,s.inflate=function(R,M){var D,L,Y,W,ne,G,ae,V,X,ie,ue,re,se,we,me,pe,de,ye,De,Ce,f,q,P,I,N=0,B=new i.Buf8(4),Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!R||!R.state||!R.output||!R.input&&R.avail_in!==0)return h;(D=R.state).mode===12&&(D.mode=13),ne=R.next_out,Y=R.output,ae=R.avail_out,W=R.next_in,L=R.input,G=R.avail_in,V=D.hold,X=D.bits,ie=G,ue=ae,q=v;e:for(;;)switch(D.mode){case _:if(D.wrap===0){D.mode=13;break}for(;X<16;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}if(2&D.wrap&&V===35615){B[D.check=0]=255&V,B[1]=V>>>8&255,D.check=a(D.check,B,2,0),X=V=0,D.mode=2;break}if(D.flags=0,D.head&&(D.head.done=!1),!(1&D.wrap)||(((255&V)<<8)+(V>>8))%31){R.msg="incorrect header check",D.mode=30;break}if((15&V)!=8){R.msg="unknown compression method",D.mode=30;break}if(X-=4,f=8+(15&(V>>>=4)),D.wbits===0)D.wbits=f;else if(f>D.wbits){R.msg="invalid window size",D.mode=30;break}D.dmax=1<<f,R.adler=D.check=1,D.mode=512&V?10:12,X=V=0;break;case 2:for(;X<16;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}if(D.flags=V,(255&D.flags)!=8){R.msg="unknown compression method",D.mode=30;break}if(57344&D.flags){R.msg="unknown header flags set",D.mode=30;break}D.head&&(D.head.text=V>>8&1),512&D.flags&&(B[0]=255&V,B[1]=V>>>8&255,D.check=a(D.check,B,2,0)),X=V=0,D.mode=3;case 3:for(;X<32;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}D.head&&(D.head.time=V),512&D.flags&&(B[0]=255&V,B[1]=V>>>8&255,B[2]=V>>>16&255,B[3]=V>>>24&255,D.check=a(D.check,B,4,0)),X=V=0,D.mode=4;case 4:for(;X<16;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}D.head&&(D.head.xflags=255&V,D.head.os=V>>8),512&D.flags&&(B[0]=255&V,B[1]=V>>>8&255,D.check=a(D.check,B,2,0)),X=V=0,D.mode=5;case 5:if(1024&D.flags){for(;X<16;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}D.length=V,D.head&&(D.head.extra_len=V),512&D.flags&&(B[0]=255&V,B[1]=V>>>8&255,D.check=a(D.check,B,2,0)),X=V=0}else D.head&&(D.head.extra=null);D.mode=6;case 6:if(1024&D.flags&&(G<(re=D.length)&&(re=G),re&&(D.head&&(f=D.head.extra_len-D.length,D.head.extra||(D.head.extra=new Array(D.head.extra_len)),i.arraySet(D.head.extra,L,W,re,f)),512&D.flags&&(D.check=a(D.check,L,re,W)),G-=re,W+=re,D.length-=re),D.length))break e;D.length=0,D.mode=7;case 7:if(2048&D.flags){if(G===0)break e;for(re=0;f=L[W+re++],D.head&&f&&D.length<65536&&(D.head.name+=String.fromCharCode(f)),f&&re<G;);if(512&D.flags&&(D.check=a(D.check,L,re,W)),G-=re,W+=re,f)break e}else D.head&&(D.head.name=null);D.length=0,D.mode=8;case 8:if(4096&D.flags){if(G===0)break e;for(re=0;f=L[W+re++],D.head&&f&&D.length<65536&&(D.head.comment+=String.fromCharCode(f)),f&&re<G;);if(512&D.flags&&(D.check=a(D.check,L,re,W)),G-=re,W+=re,f)break e}else D.head&&(D.head.comment=null);D.mode=9;case 9:if(512&D.flags){for(;X<16;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}if(V!==(65535&D.check)){R.msg="header crc mismatch",D.mode=30;break}X=V=0}D.head&&(D.head.hcrc=D.flags>>9&1,D.head.done=!0),R.adler=D.check=0,D.mode=12;break;case 10:for(;X<32;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}R.adler=D.check=m(V),X=V=0,D.mode=11;case 11:if(D.havedict===0)return R.next_out=ne,R.avail_out=ae,R.next_in=W,R.avail_in=G,D.hold=V,D.bits=X,2;R.adler=D.check=1,D.mode=12;case 12:if(M===5||M===6)break e;case 13:if(D.last){V>>>=7&X,X-=7&X,D.mode=27;break}for(;X<3;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}switch(D.last=1&V,X-=1,3&(V>>>=1)){case 0:D.mode=14;break;case 1:if(O(D),D.mode=20,M!==6)break;V>>>=2,X-=2;break e;case 2:D.mode=17;break;case 3:R.msg="invalid block type",D.mode=30}V>>>=2,X-=2;break;case 14:for(V>>>=7&X,X-=7&X;X<32;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}if((65535&V)!=(V>>>16^65535)){R.msg="invalid stored block lengths",D.mode=30;break}if(D.length=65535&V,X=V=0,D.mode=15,M===6)break e;case 15:D.mode=16;case 16:if(re=D.length){if(G<re&&(re=G),ae<re&&(re=ae),re===0)break e;i.arraySet(Y,L,W,re,ne),G-=re,W+=re,ae-=re,ne+=re,D.length-=re;break}D.mode=12;break;case 17:for(;X<14;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}if(D.nlen=257+(31&V),V>>>=5,X-=5,D.ndist=1+(31&V),V>>>=5,X-=5,D.ncode=4+(15&V),V>>>=4,X-=4,286<D.nlen||30<D.ndist){R.msg="too many length or distance symbols",D.mode=30;break}D.have=0,D.mode=18;case 18:for(;D.have<D.ncode;){for(;X<3;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}D.lens[Z[D.have++]]=7&V,V>>>=3,X-=3}for(;D.have<19;)D.lens[Z[D.have++]]=0;if(D.lencode=D.lendyn,D.lenbits=7,P={bits:D.lenbits},q=p(0,D.lens,0,19,D.lencode,0,D.work,P),D.lenbits=P.bits,q){R.msg="invalid code lengths set",D.mode=30;break}D.have=0,D.mode=19;case 19:for(;D.have<D.nlen+D.ndist;){for(;pe=(N=D.lencode[V&(1<<D.lenbits)-1])>>>16&255,de=65535&N,!((me=N>>>24)<=X);){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}if(de<16)V>>>=me,X-=me,D.lens[D.have++]=de;else{if(de===16){for(I=me+2;X<I;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}if(V>>>=me,X-=me,D.have===0){R.msg="invalid bit length repeat",D.mode=30;break}f=D.lens[D.have-1],re=3+(3&V),V>>>=2,X-=2}else if(de===17){for(I=me+3;X<I;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}X-=me,f=0,re=3+(7&(V>>>=me)),V>>>=3,X-=3}else{for(I=me+7;X<I;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}X-=me,f=0,re=11+(127&(V>>>=me)),V>>>=7,X-=7}if(D.have+re>D.nlen+D.ndist){R.msg="invalid bit length repeat",D.mode=30;break}for(;re--;)D.lens[D.have++]=f}}if(D.mode===30)break;if(D.lens[256]===0){R.msg="invalid code -- missing end-of-block",D.mode=30;break}if(D.lenbits=9,P={bits:D.lenbits},q=p(g,D.lens,0,D.nlen,D.lencode,0,D.work,P),D.lenbits=P.bits,q){R.msg="invalid literal/lengths set",D.mode=30;break}if(D.distbits=6,D.distcode=D.distdyn,P={bits:D.distbits},q=p(b,D.lens,D.nlen,D.ndist,D.distcode,0,D.work,P),D.distbits=P.bits,q){R.msg="invalid distances set",D.mode=30;break}if(D.mode=20,M===6)break e;case 20:D.mode=21;case 21:if(6<=G&&258<=ae){R.next_out=ne,R.avail_out=ae,R.next_in=W,R.avail_in=G,D.hold=V,D.bits=X,o(R,ue),ne=R.next_out,Y=R.output,ae=R.avail_out,W=R.next_in,L=R.input,G=R.avail_in,V=D.hold,X=D.bits,D.mode===12&&(D.back=-1);break}for(D.back=0;pe=(N=D.lencode[V&(1<<D.lenbits)-1])>>>16&255,de=65535&N,!((me=N>>>24)<=X);){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}if(pe&&(240&pe)==0){for(ye=me,De=pe,Ce=de;pe=(N=D.lencode[Ce+((V&(1<<ye+De)-1)>>ye)])>>>16&255,de=65535&N,!(ye+(me=N>>>24)<=X);){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}V>>>=ye,X-=ye,D.back+=ye}if(V>>>=me,X-=me,D.back+=me,D.length=de,pe===0){D.mode=26;break}if(32&pe){D.back=-1,D.mode=12;break}if(64&pe){R.msg="invalid literal/length code",D.mode=30;break}D.extra=15&pe,D.mode=22;case 22:if(D.extra){for(I=D.extra;X<I;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}D.length+=V&(1<<D.extra)-1,V>>>=D.extra,X-=D.extra,D.back+=D.extra}D.was=D.length,D.mode=23;case 23:for(;pe=(N=D.distcode[V&(1<<D.distbits)-1])>>>16&255,de=65535&N,!((me=N>>>24)<=X);){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}if((240&pe)==0){for(ye=me,De=pe,Ce=de;pe=(N=D.distcode[Ce+((V&(1<<ye+De)-1)>>ye)])>>>16&255,de=65535&N,!(ye+(me=N>>>24)<=X);){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}V>>>=ye,X-=ye,D.back+=ye}if(V>>>=me,X-=me,D.back+=me,64&pe){R.msg="invalid distance code",D.mode=30;break}D.offset=de,D.extra=15&pe,D.mode=24;case 24:if(D.extra){for(I=D.extra;X<I;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}D.offset+=V&(1<<D.extra)-1,V>>>=D.extra,X-=D.extra,D.back+=D.extra}if(D.offset>D.dmax){R.msg="invalid distance too far back",D.mode=30;break}D.mode=25;case 25:if(ae===0)break e;if(re=ue-ae,D.offset>re){if((re=D.offset-re)>D.whave&&D.sane){R.msg="invalid distance too far back",D.mode=30;break}se=re>D.wnext?(re-=D.wnext,D.wsize-re):D.wnext-re,re>D.length&&(re=D.length),we=D.window}else we=Y,se=ne-D.offset,re=D.length;for(ae<re&&(re=ae),ae-=re,D.length-=re;Y[ne++]=we[se++],--re;);D.length===0&&(D.mode=21);break;case 26:if(ae===0)break e;Y[ne++]=D.length,ae--,D.mode=21;break;case 27:if(D.wrap){for(;X<32;){if(G===0)break e;G--,V|=L[W++]<<X,X+=8}if(ue-=ae,R.total_out+=ue,D.total+=ue,ue&&(R.adler=D.check=D.flags?a(D.check,Y,ue,ne-ue):u(D.check,Y,ue,ne-ue)),ue=ae,(D.flags?V:m(V))!==D.check){R.msg="incorrect data check",D.mode=30;break}X=V=0}D.mode=28;case 28:if(D.wrap&&D.flags){for(;X<32;){if(G===0)break e;G--,V+=L[W++]<<X,X+=8}if(V!==(4294967295&D.total)){R.msg="incorrect length check",D.mode=30;break}X=V=0}D.mode=29;case 29:q=1;break e;case 30:q=-3;break e;case 31:return-4;default:return h}return R.next_out=ne,R.avail_out=ae,R.next_in=W,R.avail_in=G,D.hold=V,D.bits=X,(D.wsize||ue!==R.avail_out&&D.mode<30&&(D.mode<27||M!==4))&&H(R,R.output,R.next_out,ue-R.avail_out)?(D.mode=31,-4):(ie-=R.avail_in,ue-=R.avail_out,R.total_in+=ie,R.total_out+=ue,D.total+=ue,D.wrap&&ue&&(R.adler=D.check=D.flags?a(D.check,Y,ue,R.next_out-ue):u(D.check,Y,ue,R.next_out-ue)),R.data_type=D.bits+(D.last?64:0)+(D.mode===12?128:0)+(D.mode===20||D.mode===15?256:0),(ie==0&&ue===0||M===4)&&q===v&&(q=-5),q)},s.inflateEnd=function(R){if(!R||!R.state)return h;var M=R.state;return M.window&&(M.window=null),R.state=null,v},s.inflateGetHeader=function(R,M){var D;return R&&R.state?(2&(D=R.state).wrap)==0?h:((D.head=M).done=!1,v):h},s.inflateSetDictionary=function(R,M){var D,L=M.length;return R&&R.state?(D=R.state).wrap!==0&&D.mode!==11?h:D.mode===11&&u(1,M,L,0)!==D.check?-3:H(R,M,L,L)?(D.mode=31,-4):(D.havedict=1,v):h},s.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,n,s){var i=t("../utils/common"),u=[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],a=[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],o=[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],p=[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];n.exports=function(g,b,v,h,_,d,l,m){var c,y,C,A,E,w,T,S,O,H=m.bits,R=0,M=0,D=0,L=0,Y=0,W=0,ne=0,G=0,ae=0,V=0,X=null,ie=0,ue=new i.Buf16(16),re=new i.Buf16(16),se=null,we=0;for(R=0;R<=15;R++)ue[R]=0;for(M=0;M<h;M++)ue[b[v+M]]++;for(Y=H,L=15;1<=L&&ue[L]===0;L--);if(L<Y&&(Y=L),L===0)return _[d++]=20971520,_[d++]=20971520,m.bits=1,0;for(D=1;D<L&&ue[D]===0;D++);for(Y<D&&(Y=D),R=G=1;R<=15;R++)if(G<<=1,(G-=ue[R])<0)return-1;if(0<G&&(g===0||L!==1))return-1;for(re[1]=0,R=1;R<15;R++)re[R+1]=re[R]+ue[R];for(M=0;M<h;M++)b[v+M]!==0&&(l[re[b[v+M]]++]=M);if(w=g===0?(X=se=l,19):g===1?(X=u,ie-=257,se=a,we-=257,256):(X=o,se=p,-1),R=D,E=d,ne=M=V=0,C=-1,A=(ae=1<<(W=Y))-1,g===1&&852<ae||g===2&&592<ae)return 1;for(;;){for(T=R-ne,O=l[M]<w?(S=0,l[M]):l[M]>w?(S=se[we+l[M]],X[ie+l[M]]):(S=96,0),c=1<<R-ne,D=y=1<<W;_[E+(V>>ne)+(y-=c)]=T<<24|S<<16|O|0,y!==0;);for(c=1<<R-1;V&c;)c>>=1;if(c!==0?(V&=c-1,V+=c):V=0,M++,--ue[R]==0){if(R===L)break;R=b[v+l[M]]}if(Y<R&&(V&A)!==C){for(ne===0&&(ne=Y),E+=D,G=1<<(W=R-ne);W+ne<L&&!((G-=ue[W+ne])<=0);)W++,G<<=1;if(ae+=1<<W,g===1&&852<ae||g===2&&592<ae)return 1;_[C=V&A]=Y<<24|W<<16|E-d|0}}return V!==0&&(_[E+V]=R-ne<<24|64<<16|0),m.bits=Y,0}},{"../utils/common":41}],51:[function(t,n,s){n.exports={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"}},{}],52:[function(t,n,s){var i=t("../utils/common"),u=0,a=1;function o(N){for(var B=N.length;0<=--B;)N[B]=0}var p=0,g=29,b=256,v=b+1+g,h=30,_=19,d=2*v+1,l=15,m=16,c=7,y=256,C=16,A=17,E=18,w=[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],T=[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],S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],O=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],H=new Array(2*(v+2));o(H);var R=new Array(2*h);o(R);var M=new Array(512);o(M);var D=new Array(256);o(D);var L=new Array(g);o(L);var Y,W,ne,G=new Array(h);function ae(N,B,Z,$,U){this.static_tree=N,this.extra_bits=B,this.extra_base=Z,this.elems=$,this.max_length=U,this.has_stree=N&&N.length}function V(N,B){this.dyn_tree=N,this.max_code=0,this.stat_desc=B}function X(N){return N<256?M[N]:M[256+(N>>>7)]}function ie(N,B){N.pending_buf[N.pending++]=255&B,N.pending_buf[N.pending++]=B>>>8&255}function ue(N,B,Z){N.bi_valid>m-Z?(N.bi_buf|=B<<N.bi_valid&65535,ie(N,N.bi_buf),N.bi_buf=B>>m-N.bi_valid,N.bi_valid+=Z-m):(N.bi_buf|=B<<N.bi_valid&65535,N.bi_valid+=Z)}function re(N,B,Z){ue(N,Z[2*B],Z[2*B+1])}function se(N,B){for(var Z=0;Z|=1&N,N>>>=1,Z<<=1,0<--B;);return Z>>>1}function we(N,B,Z){var $,U,te=new Array(l+1),oe=0;for($=1;$<=l;$++)te[$]=oe=oe+Z[$-1]<<1;for(U=0;U<=B;U++){var Q=N[2*U+1];Q!==0&&(N[2*U]=se(te[Q]++,Q))}}function me(N){var B;for(B=0;B<v;B++)N.dyn_ltree[2*B]=0;for(B=0;B<h;B++)N.dyn_dtree[2*B]=0;for(B=0;B<_;B++)N.bl_tree[2*B]=0;N.dyn_ltree[2*y]=1,N.opt_len=N.static_len=0,N.last_lit=N.matches=0}function pe(N){8<N.bi_valid?ie(N,N.bi_buf):0<N.bi_valid&&(N.pending_buf[N.pending++]=N.bi_buf),N.bi_buf=0,N.bi_valid=0}function de(N,B,Z,$){var U=2*B,te=2*Z;return N[U]<N[te]||N[U]===N[te]&&$[B]<=$[Z]}function ye(N,B,Z){for(var $=N.heap[Z],U=Z<<1;U<=N.heap_len&&(U<N.heap_len&&de(B,N.heap[U+1],N.heap[U],N.depth)&&U++,!de(B,$,N.heap[U],N.depth));)N.heap[Z]=N.heap[U],Z=U,U<<=1;N.heap[Z]=$}function De(N,B,Z){var $,U,te,oe,Q=0;if(N.last_lit!==0)for(;$=N.pending_buf[N.d_buf+2*Q]<<8|N.pending_buf[N.d_buf+2*Q+1],U=N.pending_buf[N.l_buf+Q],Q++,$===0?re(N,U,B):(re(N,(te=D[U])+b+1,B),(oe=w[te])!==0&&ue(N,U-=L[te],oe),re(N,te=X(--$),Z),(oe=T[te])!==0&&ue(N,$-=G[te],oe)),Q<N.last_lit;);re(N,y,B)}function Ce(N,B){var Z,$,U,te=B.dyn_tree,oe=B.stat_desc.static_tree,Q=B.stat_desc.has_stree,he=B.stat_desc.elems,Ee=-1;for(N.heap_len=0,N.heap_max=d,Z=0;Z<he;Z++)te[2*Z]!==0?(N.heap[++N.heap_len]=Ee=Z,N.depth[Z]=0):te[2*Z+1]=0;for(;N.heap_len<2;)te[2*(U=N.heap[++N.heap_len]=Ee<2?++Ee:0)]=1,N.depth[U]=0,N.opt_len--,Q&&(N.static_len-=oe[2*U+1]);for(B.max_code=Ee,Z=N.heap_len>>1;1<=Z;Z--)ye(N,te,Z);for(U=he;Z=N.heap[1],N.heap[1]=N.heap[N.heap_len--],ye(N,te,1),$=N.heap[1],N.heap[--N.heap_max]=Z,N.heap[--N.heap_max]=$,te[2*U]=te[2*Z]+te[2*$],N.depth[U]=(N.depth[Z]>=N.depth[$]?N.depth[Z]:N.depth[$])+1,te[2*Z+1]=te[2*$+1]=U,N.heap[1]=U++,ye(N,te,1),2<=N.heap_len;);N.heap[--N.heap_max]=N.heap[1],(function(ve,Se){var ze,Oe,Ge,z,K,ce,fe=Se.dyn_tree,ge=Se.max_code,be=Se.stat_desc.static_tree,xe=Se.stat_desc.has_stree,Ie=Se.stat_desc.extra_bits,Pe=Se.stat_desc.extra_base,We=Se.stat_desc.max_length,it=0;for(z=0;z<=l;z++)ve.bl_count[z]=0;for(fe[2*ve.heap[ve.heap_max]+1]=0,ze=ve.heap_max+1;ze<d;ze++)We<(z=fe[2*fe[2*(Oe=ve.heap[ze])+1]+1]+1)&&(z=We,it++),fe[2*Oe+1]=z,ge<Oe||(ve.bl_count[z]++,K=0,Pe<=Oe&&(K=Ie[Oe-Pe]),ce=fe[2*Oe],ve.opt_len+=ce*(z+K),xe&&(ve.static_len+=ce*(be[2*Oe+1]+K)));if(it!==0){do{for(z=We-1;ve.bl_count[z]===0;)z--;ve.bl_count[z]--,ve.bl_count[z+1]+=2,ve.bl_count[We]--,it-=2}while(0<it);for(z=We;z!==0;z--)for(Oe=ve.bl_count[z];Oe!==0;)ge<(Ge=ve.heap[--ze])||(fe[2*Ge+1]!==z&&(ve.opt_len+=(z-fe[2*Ge+1])*fe[2*Ge],fe[2*Ge+1]=z),Oe--)}})(N,B),we(te,Ee,N.bl_count)}function f(N,B,Z){var $,U,te=-1,oe=B[1],Q=0,he=7,Ee=4;for(oe===0&&(he=138,Ee=3),B[2*(Z+1)+1]=65535,$=0;$<=Z;$++)U=oe,oe=B[2*($+1)+1],++Q<he&&U===oe||(Q<Ee?N.bl_tree[2*U]+=Q:U!==0?(U!==te&&N.bl_tree[2*U]++,N.bl_tree[2*C]++):Q<=10?N.bl_tree[2*A]++:N.bl_tree[2*E]++,te=U,Ee=(Q=0)===oe?(he=138,3):U===oe?(he=6,3):(he=7,4))}function q(N,B,Z){var $,U,te=-1,oe=B[1],Q=0,he=7,Ee=4;for(oe===0&&(he=138,Ee=3),$=0;$<=Z;$++)if(U=oe,oe=B[2*($+1)+1],!(++Q<he&&U===oe)){if(Q<Ee)for(;re(N,U,N.bl_tree),--Q!=0;);else U!==0?(U!==te&&(re(N,U,N.bl_tree),Q--),re(N,C,N.bl_tree),ue(N,Q-3,2)):Q<=10?(re(N,A,N.bl_tree),ue(N,Q-3,3)):(re(N,E,N.bl_tree),ue(N,Q-11,7));te=U,Ee=(Q=0)===oe?(he=138,3):U===oe?(he=6,3):(he=7,4)}}o(G);var P=!1;function I(N,B,Z,$){ue(N,(p<<1)+($?1:0),3),(function(U,te,oe,Q){pe(U),ie(U,oe),ie(U,~oe),i.arraySet(U.pending_buf,U.window,te,oe,U.pending),U.pending+=oe})(N,B,Z)}s._tr_init=function(N){P||((function(){var B,Z,$,U,te,oe=new Array(l+1);for(U=$=0;U<g-1;U++)for(L[U]=$,B=0;B<1<<w[U];B++)D[$++]=U;for(D[$-1]=U,U=te=0;U<16;U++)for(G[U]=te,B=0;B<1<<T[U];B++)M[te++]=U;for(te>>=7;U<h;U++)for(G[U]=te<<7,B=0;B<1<<T[U]-7;B++)M[256+te++]=U;for(Z=0;Z<=l;Z++)oe[Z]=0;for(B=0;B<=143;)H[2*B+1]=8,B++,oe[8]++;for(;B<=255;)H[2*B+1]=9,B++,oe[9]++;for(;B<=279;)H[2*B+1]=7,B++,oe[7]++;for(;B<=287;)H[2*B+1]=8,B++,oe[8]++;for(we(H,v+1,oe),B=0;B<h;B++)R[2*B+1]=5,R[2*B]=se(B,5);Y=new ae(H,w,b+1,v,l),W=new ae(R,T,0,h,l),ne=new ae(new Array(0),S,0,_,c)})(),P=!0),N.l_desc=new V(N.dyn_ltree,Y),N.d_desc=new V(N.dyn_dtree,W),N.bl_desc=new V(N.bl_tree,ne),N.bi_buf=0,N.bi_valid=0,me(N)},s._tr_stored_block=I,s._tr_flush_block=function(N,B,Z,$){var U,te,oe=0;0<N.level?(N.strm.data_type===2&&(N.strm.data_type=(function(Q){var he,Ee=4093624447;for(he=0;he<=31;he++,Ee>>>=1)if(1&Ee&&Q.dyn_ltree[2*he]!==0)return u;if(Q.dyn_ltree[18]!==0||Q.dyn_ltree[20]!==0||Q.dyn_ltree[26]!==0)return a;for(he=32;he<b;he++)if(Q.dyn_ltree[2*he]!==0)return a;return u})(N)),Ce(N,N.l_desc),Ce(N,N.d_desc),oe=(function(Q){var he;for(f(Q,Q.dyn_ltree,Q.l_desc.max_code),f(Q,Q.dyn_dtree,Q.d_desc.max_code),Ce(Q,Q.bl_desc),he=_-1;3<=he&&Q.bl_tree[2*O[he]+1]===0;he--);return Q.opt_len+=3*(he+1)+5+5+4,he})(N),U=N.opt_len+3+7>>>3,(te=N.static_len+3+7>>>3)<=U&&(U=te)):U=te=Z+5,Z+4<=U&&B!==-1?I(N,B,Z,$):N.strategy===4||te===U?(ue(N,2+($?1:0),3),De(N,H,R)):(ue(N,4+($?1:0),3),(function(Q,he,Ee,ve){var Se;for(ue(Q,he-257,5),ue(Q,Ee-1,5),ue(Q,ve-4,4),Se=0;Se<ve;Se++)ue(Q,Q.bl_tree[2*O[Se]+1],3);q(Q,Q.dyn_ltree,he-1),q(Q,Q.dyn_dtree,Ee-1)})(N,N.l_desc.max_code+1,N.d_desc.max_code+1,oe+1),De(N,N.dyn_ltree,N.dyn_dtree)),me(N),$&&pe(N)},s._tr_tally=function(N,B,Z){return N.pending_buf[N.d_buf+2*N.last_lit]=B>>>8&255,N.pending_buf[N.d_buf+2*N.last_lit+1]=255&B,N.pending_buf[N.l_buf+N.last_lit]=255&Z,N.last_lit++,B===0?N.dyn_ltree[2*Z]++:(N.matches++,B--,N.dyn_ltree[2*(D[Z]+b+1)]++,N.dyn_dtree[2*X(B)]++),N.last_lit===N.lit_bufsize-1},s._tr_align=function(N){ue(N,2,3),re(N,y,H),(function(B){B.bi_valid===16?(ie(B,B.bi_buf),B.bi_buf=0,B.bi_valid=0):8<=B.bi_valid&&(B.pending_buf[B.pending++]=255&B.bi_buf,B.bi_buf>>=8,B.bi_valid-=8)})(N)}},{"../utils/common":41}],53:[function(t,n,s){n.exports=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}},{}],54:[function(t,n,s){(function(i){(function(u,a){if(!u.setImmediate){var o,p,g,b,v=1,h={},_=!1,d=u.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(u);l=l&&l.setTimeout?l:u,o={}.toString.call(u.process)==="[object process]"?function(C){process.nextTick(function(){c(C)})}:(function(){if(u.postMessage&&!u.importScripts){var C=!0,A=u.onmessage;return u.onmessage=function(){C=!1},u.postMessage("","*"),u.onmessage=A,C}})()?(b="setImmediate$"+Math.random()+"$",u.addEventListener?u.addEventListener("message",y,!1):u.attachEvent("onmessage",y),function(C){u.postMessage(b+C,"*")}):u.MessageChannel?((g=new MessageChannel).port1.onmessage=function(C){c(C.data)},function(C){g.port2.postMessage(C)}):d&&"onreadystatechange"in d.createElement("script")?(p=d.documentElement,function(C){var A=d.createElement("script");A.onreadystatechange=function(){c(C),A.onreadystatechange=null,p.removeChild(A),A=null},p.appendChild(A)}):function(C){setTimeout(c,0,C)},l.setImmediate=function(C){typeof C!="function"&&(C=new Function(""+C));for(var A=new Array(arguments.length-1),E=0;E<A.length;E++)A[E]=arguments[E+1];var w={callback:C,args:A};return h[v]=w,o(v),v++},l.clearImmediate=m}function m(C){delete h[C]}function c(C){if(_)setTimeout(c,0,C);else{var A=h[C];if(A){_=!0;try{(function(E){var w=E.callback,T=E.args;switch(T.length){case 0:w();break;case 1:w(T[0]);break;case 2:w(T[0],T[1]);break;case 3:w(T[0],T[1],T[2]);break;default:w.apply(a,T)}})(A)}finally{m(C),_=!1}}}}function y(C){C.source===u&&typeof C.data=="string"&&C.data.indexOf(b)===0&&c(+C.data.slice(b.length))}})(typeof self>"u"?i===void 0?this:i:self)}).call(this,typeof fr<"u"?fr:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(An)),An.exports}var uu;function ro(){if(uu)return Wt;uu=1;var e=$o(),r=Yo();Wt.openArrayBuffer=t,Wt.splitPath=n,Wt.joinPath=s;function t(i){return r.loadAsync(i).then(function(u){function a(b){return u.file(b)!==null}function o(b,v){return u.file(b).async("uint8array").then(function(h){if(v==="base64")return e.fromByteArray(h);if(v){var _=new TextDecoder(v);return _.decode(h)}else return h})}function p(b,v){u.file(b,v)}function g(){return u.generateAsync({type:"arraybuffer"})}return{exists:a,read:o,write:p,toArrayBuffer:g}})}function n(i){var u=i.lastIndexOf("/");return u===-1?{dirname:"",basename:i}:{dirname:i.substring(0,u),basename:i.substring(u+1)}}function s(){var i=Array.prototype.filter.call(arguments,function(a){return a}),u=[];return i.forEach(function(a){/^\//.test(a)?u=[a]:u.push(a)}),u.join("/")}return Wt}var dr={},ht={},Ot={},au;function no(){if(au)return Ot;au=1;var e=ke;Ot.Element=t,Ot.element=function(i,u,a){return new t(i,u,a)},Ot.text=function(i){return{type:"text",value:i}};var r=Ot.emptyElement={first:function(){return null},firstOrEmpty:function(){return r},attributes:{},children:[]};function t(i,u,a){this.type="element",this.name=i,this.attributes=u||{},this.children=a||[]}t.prototype.first=function(i){return e.find(this.children,function(u){return u.name===i})},t.prototype.firstOrEmpty=function(i){return this.first(i)||r},t.prototype.getElementsByTagName=function(i){var u=e.filter(this.children,function(a){return a.name===i});return s(u)},t.prototype.text=function(){if(this.children.length===0)return"";if(this.children.length!==1||this.children[0].type!=="text")throw new Error("Not implemented");return this.children[0].value};var n={getElementsByTagName:function(i){return s(e.flatten(this.map(function(u){return u.getElementsByTagName(i)},!0)))}};function s(i){return e.extend(i,n)}return Ot}var xn={},mr={},Ht={},tt={},rt={},su;function ir(){if(su)return rt;su=1;function e(o,p,g){if(g===void 0&&(g=Array.prototype),o&&typeof g.find=="function")return g.find.call(o,p);for(var b=0;b<o.length;b++)if(Object.prototype.hasOwnProperty.call(o,b)){var v=o[b];if(p.call(void 0,v,b,o))return v}}function r(o,p){return p===void 0&&(p=Object),p&&typeof p.freeze=="function"?p.freeze(o):o}function t(o,p){if(o===null||typeof o!="object")throw new TypeError("target is not an object");for(var g in p)Object.prototype.hasOwnProperty.call(p,g)&&(o[g]=p[g]);return o}var n=r({HTML:"text/html",isHTML:function(o){return o===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),s=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(o){return o===s.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"}),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]/,u=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+u.source+"*(?::"+i.source+u.source+"*)?$");return rt.assign=t,rt.find=e,rt.freeze=r,rt.MIME_TYPE=n,rt.NAMESPACE=s,rt.nameStartChar=i,rt.nameChar=u,rt.tagNamePattern=a,rt}var ou;function Mi(){if(ou)return tt;ou=1;var e=ir(),r=e.find,t=e.NAMESPACE,n=e.tagNamePattern;function s(x){return x!==""}function i(x){return x?x.split(/[\t\n\f\r ]+/).filter(s):[]}function u(x,k){return x.hasOwnProperty(k)||(x[k]=!0),x}function a(x){if(!x)return[];var k=i(x);return Object.keys(k.reduce(u,{}))}function o(x){return function(k){return x&&x.indexOf(k)!==-1}}function p(x,k){for(var F in x)Object.prototype.hasOwnProperty.call(x,F)&&(k[F]=x[F])}function g(x,k){var F=x.prototype;if(!(F instanceof k)){let j=function(){};j.prototype=k.prototype,j=new j,p(F,j),x.prototype=F=j}F.constructor!=x&&(typeof x!="function"&&console.error("unknown Class:"+x),F.constructor=x)}var b={},v=b.ELEMENT_NODE=1,h=b.ATTRIBUTE_NODE=2,_=b.TEXT_NODE=3,d=b.CDATA_SECTION_NODE=4,l=b.ENTITY_REFERENCE_NODE=5,m=b.ENTITY_NODE=6,c=b.PROCESSING_INSTRUCTION_NODE=7,y=b.COMMENT_NODE=8,C=b.DOCUMENT_NODE=9,A=b.DOCUMENT_TYPE_NODE=10,E=b.DOCUMENT_FRAGMENT_NODE=11,w=b.NOTATION_NODE=12,T={},S={};T.INDEX_SIZE_ERR=(S[1]="Index size error",1),T.DOMSTRING_SIZE_ERR=(S[2]="DOMString size error",2);var O=T.HIERARCHY_REQUEST_ERR=(S[3]="Hierarchy request error",3);T.WRONG_DOCUMENT_ERR=(S[4]="Wrong document",4);var H=T.INVALID_CHARACTER_ERR=(S[5]="Invalid character",5);T.NO_DATA_ALLOWED_ERR=(S[6]="No data allowed",6),T.NO_MODIFICATION_ALLOWED_ERR=(S[7]="No modification allowed",7);var R=T.NOT_FOUND_ERR=(S[8]="Not found",8);T.NOT_SUPPORTED_ERR=(S[9]="Not supported",9);var M=T.INUSE_ATTRIBUTE_ERR=(S[10]="Attribute in use",10),D=T.INVALID_STATE_ERR=(S[11]="Invalid state",11);T.SYNTAX_ERR=(S[12]="Syntax error",12),T.INVALID_MODIFICATION_ERR=(S[13]="Invalid modification",13),T.NAMESPACE_ERR=(S[14]="Invalid namespace",14),T.INVALID_ACCESS_ERR=(S[15]="Invalid access",15);function L(x,k){if(k instanceof Error)var F=k;else F=this,Error.call(this,S[x]),this.message=S[x],Error.captureStackTrace&&Error.captureStackTrace(this,L);return F.code=x,k&&(this.message=this.message+": "+k),F}L.prototype=Error.prototype,p(T,L);function Y(){}Y.prototype={length:0,item:function(x){return x>=0&&x<this.length?this[x]:null},toString:function(x,k,F){for(var j=!!F&&!!F.requireWellFormed,ee=[],le=0;le<this.length;le++)bn(this[le],ee,x,k,null,j);return ee.join("")},filter:function(x){return Array.prototype.filter.call(this,x)},indexOf:function(x){return Array.prototype.indexOf.call(this,x)}};function W(x,k){this._node=x,this._refresh=k,ne(this)}function ne(x){var k=x._node._inc||x._node.ownerDocument._inc;if(x._inc!==k){var F=x._refresh(x._node);if(Wi(x,"length",F.length),!x.$$length||F.length<x.$$length)for(var j=F.length;j in x;j++)Object.prototype.hasOwnProperty.call(x,j)&&delete x[j];p(F,x),x._inc=k}}W.prototype.item=function(x){return ne(this),this[x]||null},g(W,Y);function G(){this._nameIndex=Object.create(null)}function ae(x,k){for(var F=x.length;F--;)if(x[F]===k)return F}function V(x,k){x._nameIndex[k.nodeName]=k}function X(x,k){x._nameIndex[k.nodeName]===k&&delete x._nameIndex[k.nodeName]}function ie(x,k,F,j){if(j?(k[ae(k,j)]=F,X(k,j)):k[k.length++]=F,V(k,F),x){F.ownerElement=x;var ee=x.ownerDocument;ee&&(j&&De(ee,x,j),ye(ee,x,F))}}function ue(x,k,F){var j=ae(k,F);if(j>=0){for(var ee=k.length-1;j<ee;)k[j]=k[++j];if(k.length=ee,X(k,F),x){var le=x.ownerDocument;le&&(De(le,x,F),F.ownerElement=null)}}else throw new L(R,new Error(x.tagName+"@"+F))}G.prototype={length:0,item:Y.prototype.item,getNamedItem:function(x){for(var k=this.length;k--;){var F=this[k];if(F.nodeName==x)return F}},setNamedItem:function(x){var k=x.ownerElement;if(k&&k!=this._ownerElement)throw new L(M);var F=this._nameIndex[x.nodeName];return ie(this._ownerElement,this,x,F),F},setNamedItemNS:function(x){var k=x.ownerElement,F;if(k&&k!=this._ownerElement)throw new L(M);return F=this.getNamedItemNS(x.namespaceURI,x.localName),ie(this._ownerElement,this,x,F),F},removeNamedItem:function(x){var k=this.getNamedItem(x);return ue(this._ownerElement,this,k),k},removeNamedItemNS:function(x,k){var F=this.getNamedItemNS(x,k);return ue(this._ownerElement,this,F),F},getNamedItemNS:function(x,k){for(var F=this.length;F--;){var j=this[F];if(j.localName==k&&j.namespaceURI==x)return j}return null}};function re(){}re.prototype={hasFeature:function(x,k){return!0},createDocument:function(x,k,F){var j=new de;if(j.implementation=this,j.childNodes=new Y,j.doctype=F||null,F&&j.appendChild(F),k){var ee=j.createElementNS(x,k);j.appendChild(ee)}return j},createDocumentType:function(x,k,F){var j=new K;return j.name=x,j.nodeName=x,j.publicId=k||"",j.systemId=F||"",j}};function se(){}se.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(x,k){return Q(this,x,k)},replaceChild:function(x,k){Q(this,x,k,oe),k&&this.removeChild(k)},removeChild:function(x){return f(this,x)},appendChild:function(x){return this.insertBefore(x,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(x){return Ui(this.ownerDocument||this,this,x)},normalize:function(){pe(this,null,{enter:function(x){for(var k=x.firstChild;k;){var F=k.nextSibling;if(F!==null&&F.nodeType===_&&k.nodeType===_){for(var j=[],ee=F;ee!==null&&ee.nodeType===_;)j.push(ee.data),ee=ee.nextSibling;for(var le=k.nextSibling;le!==ee;){var J=le.nextSibling;le.parentNode=null,le.previousSibling=null,le.nextSibling=null,le=J}k.nextSibling=ee,ee!==null?ee.previousSibling=k:x.lastChild=k,k.appendData(j.join("")),Ce(x.ownerDocument,x),k=ee}else k=F}return!0}})},isSupported:function(x,k){return this.ownerDocument.implementation.hasFeature(x,k)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(x){for(var k=this;k;){var F=k._nsMap;if(F){for(var j in F)if(Object.prototype.hasOwnProperty.call(F,j)&&F[j]===x)return j}k=k.nodeType==h?k.ownerDocument:k.parentNode}return null},lookupNamespaceURI:function(x){for(var k=this;k;){var F=k._nsMap;if(F&&Object.prototype.hasOwnProperty.call(F,x))return F[x];k=k.nodeType==h?k.ownerDocument:k.parentNode}return null},isDefaultNamespace:function(x){var k=this.lookupPrefix(x);return k==null}};function we(x){return x=="<"&&"&lt;"||x==">"&&"&gt;"||x=="&"&&"&amp;"||x=='"'&&"&quot;"||"&#"+x.charCodeAt()+";"}p(b,se),p(b,se.prototype);function me(x,k){return pe(x,null,{enter:function(F){return k(F)?pe.STOP:!0}})===pe.STOP}function pe(x,k,F){for(var j=[{node:x,context:k,phase:pe.ENTER}];j.length>0;){var ee=j.pop();if(ee.phase===pe.ENTER){var le=F.enter(ee.node,ee.context);if(le===pe.STOP)return pe.STOP;if(j.push({node:ee.node,context:le,phase:pe.EXIT}),le==null)continue;for(var J=ee.node.lastChild;J;)j.push({node:J,context:le,phase:pe.ENTER}),J=J.previousSibling}else F.exit&&F.exit(ee.node,ee.context)}}pe.STOP=Symbol("walkDOM.STOP"),pe.ENTER=0,pe.EXIT=1;function de(){this.ownerDocument=this}function ye(x,k,F){x&&x._inc++;var j=F.namespaceURI;j===t.XMLNS&&(k._nsMap[F.prefix?F.localName:""]=F.value)}function De(x,k,F,j){x&&x._inc++;var ee=F.namespaceURI;ee===t.XMLNS&&delete k._nsMap[F.prefix?F.localName:""]}function Ce(x,k,F){if(x&&x._inc){x._inc++;var j=k.childNodes;if(F)j[j.length++]=F;else{for(var ee=k.firstChild,le=0;ee;)j[le++]=ee,ee=ee.nextSibling;j.length=le,delete j[j.length]}}}function f(x,k){var F=k.previousSibling,j=k.nextSibling;return F?F.nextSibling=j:x.firstChild=j,j?j.previousSibling=F:x.lastChild=F,k.parentNode=null,k.previousSibling=null,k.nextSibling=null,Ce(x.ownerDocument,x),k}function q(x){return x&&(x.nodeType===se.DOCUMENT_NODE||x.nodeType===se.DOCUMENT_FRAGMENT_NODE||x.nodeType===se.ELEMENT_NODE)}function P(x){return x&&(N(x)||B(x)||I(x)||x.nodeType===se.DOCUMENT_FRAGMENT_NODE||x.nodeType===se.COMMENT_NODE||x.nodeType===se.PROCESSING_INSTRUCTION_NODE)}function I(x){return x&&x.nodeType===se.DOCUMENT_TYPE_NODE}function N(x){return x&&x.nodeType===se.ELEMENT_NODE}function B(x){return x&&x.nodeType===se.TEXT_NODE}function Z(x,k){var F=x.childNodes||[];if(r(F,N)||I(k))return!1;var j=r(F,I);return!(k&&j&&F.indexOf(j)>F.indexOf(k))}function $(x,k){var F=x.childNodes||[];function j(le){return N(le)&&le!==k}if(r(F,j))return!1;var ee=r(F,I);return!(k&&ee&&F.indexOf(ee)>F.indexOf(k))}function U(x,k,F){if(!q(x))throw new L(O,"Unexpected parent node type "+x.nodeType);if(F&&F.parentNode!==x)throw new L(R,"child not in parent");if(!P(k)||I(k)&&x.nodeType!==se.DOCUMENT_NODE)throw new L(O,"Unexpected node type "+k.nodeType+" for parent node type "+x.nodeType)}function te(x,k,F){var j=x.childNodes||[],ee=k.childNodes||[];if(k.nodeType===se.DOCUMENT_FRAGMENT_NODE){var le=ee.filter(N);if(le.length>1||r(ee,B))throw new L(O,"More than one element or text in fragment");if(le.length===1&&!Z(x,F))throw new L(O,"Element in fragment can not be inserted before doctype")}if(N(k)&&!Z(x,F))throw new L(O,"Only one element can be added and only after doctype");if(I(k)){if(r(j,I))throw new L(O,"Only one doctype is allowed");var J=r(j,N);if(F&&j.indexOf(J)<j.indexOf(F))throw new L(O,"Doctype can only be inserted before an element");if(!F&&J)throw new L(O,"Doctype can not be appended since element is present")}}function oe(x,k,F){var j=x.childNodes||[],ee=k.childNodes||[];if(k.nodeType===se.DOCUMENT_FRAGMENT_NODE){var le=ee.filter(N);if(le.length>1||r(ee,B))throw new L(O,"More than one element or text in fragment");if(le.length===1&&!$(x,F))throw new L(O,"Element in fragment can not be inserted before doctype")}if(N(k)&&!$(x,F))throw new L(O,"Only one element can be added and only after doctype");if(I(k)){if(r(j,function(Be){return I(Be)&&Be!==F}))throw new L(O,"Only one doctype is allowed");var J=r(j,N);if(F&&j.indexOf(J)<j.indexOf(F))throw new L(O,"Doctype can only be inserted before an element")}}function Q(x,k,F,j){U(x,k,F),x.nodeType===se.DOCUMENT_NODE&&(j||te)(x,k,F);var ee=k.parentNode;if(ee&&ee.removeChild(k),k.nodeType===E){var le=k.firstChild;if(le==null)return k;var J=k.lastChild}else le=J=k;var Te=F?F.previousSibling:x.lastChild;le.previousSibling=Te,J.nextSibling=F,Te?Te.nextSibling=le:x.firstChild=le,F==null?x.lastChild=J:F.previousSibling=J;do{le.parentNode=x;var Be=x.ownerDocument||x;he(le,Be)}while(le!==J&&(le=le.nextSibling));return Ce(x.ownerDocument||x,x),k.nodeType==E&&(k.firstChild=k.lastChild=null),k}function he(x,k){if(x.ownerDocument!==k){if(x.ownerDocument=k,x.nodeType===v&&x.attributes)for(var F=0;F<x.attributes.length;F++){var j=x.attributes.item(F);j&&(j.ownerDocument=k)}for(var ee=x.firstChild;ee;)he(ee,k),ee=ee.nextSibling}}function Ee(x,k){k.parentNode&&k.parentNode.removeChild(k),k.parentNode=x,k.previousSibling=x.lastChild,k.nextSibling=null,k.previousSibling?k.previousSibling.nextSibling=k:x.firstChild=k,x.lastChild=k,Ce(x.ownerDocument,x,k);var F=x.ownerDocument||x;return he(k,F),k}de.prototype={nodeName:"#document",nodeType:C,doctype:null,documentElement:null,_inc:1,insertBefore:function(x,k){if(x.nodeType==E){for(var F=x.firstChild;F;){var j=F.nextSibling;this.insertBefore(F,k),F=j}return x}return Q(this,x,k),he(x,this),this.documentElement===null&&x.nodeType===v&&(this.documentElement=x),x},removeChild:function(x){return this.documentElement==x&&(this.documentElement=null),f(this,x)},replaceChild:function(x,k){Q(this,x,k,oe),he(x,this),k&&this.removeChild(k),N(x)&&(this.documentElement=x)},importNode:function(x,k){return yo(this,x,k)},getElementById:function(x){var k=null;return me(this.documentElement,function(F){if(F.nodeType==v&&F.getAttribute("id")==x)return k=F,!0}),k},getElementsByClassName:function(x){var k=a(x);return new W(this,function(F){var j=[];return k.length>0&&me(F.documentElement,function(ee){if(ee!==F&&ee.nodeType===v){var le=ee.getAttribute("class");if(le){var J=x===le;if(!J){var Te=a(le);J=k.every(o(Te))}J&&j.push(ee)}}}),j})},createElement:function(x){var k=new ve;k.ownerDocument=this,k.nodeName=x,k.tagName=x,k.localName=x,k.childNodes=new Y;var F=k.attributes=new G;return F._ownerElement=k,k},createDocumentFragment:function(){var x=new be;return x.ownerDocument=this,x.childNodes=new Y,x},createTextNode:function(x){var k=new Oe;return k.ownerDocument=this,k.appendData(x),k},createComment:function(x){var k=new Ge;return k.ownerDocument=this,k.appendData(x),k},createCDATASection:function(x){if(x.indexOf("]]>")!==-1)throw new L(H,'data contains "]]>"');var k=new z;return k.ownerDocument=this,k.appendData(x),k},createProcessingInstruction:function(x,k){var F=new xe;return F.ownerDocument=this,F.tagName=F.nodeName=F.target=x,F.nodeValue=F.data=k,F},createAttribute:function(x){var k=new Se;return k.ownerDocument=this,k.name=x,k.nodeName=x,k.localName=x,k.specified=!0,k},createEntityReference:function(x){if(!n.test(x))throw new L(H,'not a valid xml name "'+x+'"');var k=new ge;return k.ownerDocument=this,k.nodeName=x,k},createElementNS:function(x,k){var F=new ve,j=k.split(":"),ee=F.attributes=new G;return F.childNodes=new Y,F.ownerDocument=this,F.nodeName=k,F.tagName=k,F.namespaceURI=x,j.length==2?(F.prefix=j[0],F.localName=j[1]):F.localName=k,ee._ownerElement=F,F},createAttributeNS:function(x,k){var F=new Se,j=k.split(":");return F.ownerDocument=this,F.nodeName=k,F.name=k,F.namespaceURI=x,F.specified=!0,j.length==2?(F.prefix=j[0],F.localName=j[1]):F.localName=k,F}},g(de,se);function ve(){this._nsMap={}}ve.prototype={nodeType:v,hasAttribute:function(x){return this.getAttributeNode(x)!=null},getAttribute:function(x){var k=this.getAttributeNode(x);return k&&k.value||""},getAttributeNode:function(x){return this.attributes.getNamedItem(x)},setAttribute:function(x,k){var F=this.ownerDocument.createAttribute(x);F.value=F.nodeValue=""+k,this.setAttributeNode(F)},removeAttribute:function(x){var k=this.getAttributeNode(x);k&&this.removeAttributeNode(k)},appendChild:function(x){return x.nodeType===E?this.insertBefore(x,null):Ee(this,x)},setAttributeNode:function(x){return this.attributes.setNamedItem(x)},setAttributeNodeNS:function(x){return this.attributes.setNamedItemNS(x)},removeAttributeNode:function(x){return this.attributes.removeNamedItem(x.nodeName)},removeAttributeNS:function(x,k){var F=this.getAttributeNodeNS(x,k);F&&this.removeAttributeNode(F)},hasAttributeNS:function(x,k){return this.getAttributeNodeNS(x,k)!=null},getAttributeNS:function(x,k){var F=this.getAttributeNodeNS(x,k);return F&&F.value||""},setAttributeNS:function(x,k,F){var j=this.ownerDocument.createAttributeNS(x,k);j.value=j.nodeValue=""+F,this.setAttributeNode(j)},getAttributeNodeNS:function(x,k){return this.attributes.getNamedItemNS(x,k)},getElementsByTagName:function(x){return new W(this,function(k){var F=[];return me(k,function(j){j!==k&&j.nodeType==v&&(x==="*"||j.tagName==x)&&F.push(j)}),F})},getElementsByTagNameNS:function(x,k){return new W(this,function(F){var j=[];return me(F,function(ee){ee!==F&&ee.nodeType===v&&(x==="*"||ee.namespaceURI===x)&&(k==="*"||ee.localName==k)&&j.push(ee)}),j})}},de.prototype.getElementsByTagName=ve.prototype.getElementsByTagName,de.prototype.getElementsByTagNameNS=ve.prototype.getElementsByTagNameNS,g(ve,se);function Se(){}Se.prototype.nodeType=h,g(Se,se);function ze(){}ze.prototype={data:"",substringData:function(x,k){return this.data.substring(x,x+k)},appendData:function(x){x=this.data+x,this.nodeValue=this.data=x,this.length=x.length},insertData:function(x,k){this.replaceData(x,0,k)},appendChild:function(x){throw new Error(S[O])},deleteData:function(x,k){this.replaceData(x,k,"")},replaceData:function(x,k,F){var j=this.data.substring(0,x),ee=this.data.substring(x+k);F=j+F+ee,this.nodeValue=this.data=F,this.length=F.length}},g(ze,se);function Oe(){}Oe.prototype={nodeName:"#text",nodeType:_,splitText:function(x){var k=this.data,F=k.substring(x);k=k.substring(0,x),this.data=this.nodeValue=k,this.length=k.length;var j=this.ownerDocument.createTextNode(F);return this.parentNode&&this.parentNode.insertBefore(j,this.nextSibling),j}},g(Oe,ze);function Ge(){}Ge.prototype={nodeName:"#comment",nodeType:y},g(Ge,ze);function z(){}z.prototype={nodeName:"#cdata-section",nodeType:d},g(z,ze);function K(){}K.prototype.nodeType=A,g(K,se);function ce(){}ce.prototype.nodeType=w,g(ce,se);function fe(){}fe.prototype.nodeType=m,g(fe,se);function ge(){}ge.prototype.nodeType=l,g(ge,se);function be(){}be.prototype.nodeName="#document-fragment",be.prototype.nodeType=E,g(be,se);function xe(){}xe.prototype.nodeType=c,g(xe,se);function Ie(){}Ie.prototype.serializeToString=function(x,k,F,j){return Pe.call(x,k,F,j)},se.prototype.toString=Pe;function Pe(x,k,F){var j=!!F&&!!F.requireWellFormed,ee=[],le=this.nodeType==9&&this.documentElement||this,J=le.prefix,Te=le.namespaceURI;if(Te&&J==null){var J=le.lookupPrefix(Te);if(J==null)var Be=[{namespace:Te,prefix:null}]}return bn(this,ee,x,k,Be,j),ee.join("")}function We(x,k,F){var j=x.prefix||"",ee=x.namespaceURI;if(!ee||j==="xml"&&ee===t.XML||ee===t.XMLNS)return!1;for(var le=F.length;le--;){var J=F[le];if(J.prefix===j)return J.namespace!==ee}return!0}function it(x,k,F,j){if(j&&!n.test(k))throw new L(D,'The attribute name "'+k+'" is not a valid XML QName');x.push(" ",k,'="',F.replace(/[<>&"\t\n\r]/g,we),'"')}function bn(x,k,F,j,ee,le){ee||(ee=[]),pe(x,{ns:ee,isHTML:F},{enter:function(J,Te){var Be=Te.ns,Ve=Te.isHTML;if(j)if(J=j(J),J){if(typeof J=="string")return k.push(J),null}else return null;switch(J.nodeType){case v:var ut=J.attributes,or=ut.length,ct=J.tagName;Ve=t.isHTML(J.namespaceURI)||Ve;var Qe=ct;if(!Ve&&!J.prefix&&J.namespaceURI){for(var lr,cr=0;cr<ut.length;cr++)if(ut.item(cr).name==="xmlns"){lr=ut.item(cr).value;break}if(!lr)for(var bt=Be.length-1;bt>=0;bt--){var Dt=Be[bt];if(Dt.prefix===""&&Dt.namespace===J.namespaceURI){lr=Dt.namespace;break}}if(lr!==J.namespaceURI)for(var bt=Be.length-1;bt>=0;bt--){var Dt=Be[bt];if(Dt.namespace===J.namespaceURI){Dt.prefix&&(Qe=Dt.prefix+":"+ct);break}}}if(le&&!n.test(Qe))throw new L(D,'The element name "'+Qe+'" is not a valid XML QName');k.push("<",Qe);for(var ft=Be.slice(),_t=0;_t<or;_t++){var $e=ut.item(_t);$e.prefix=="xmlns"?ft.push({prefix:$e.localName,namespace:$e.value}):$e.nodeName=="xmlns"&&ft.push({prefix:"",namespace:$e.value})}for(var _t=0;_t<or;_t++){var $e=ut.item(_t);if(We($e,Ve,ft)){var Dn=$e.prefix||"",Xt=$e.namespaceURI;it(k,Dn?"xmlns:"+Dn:"xmlns",Xt,le),ft.push({prefix:Dn,namespace:Xt})}var Ut=j?j($e):$e;Ut&&(typeof Ut=="string"?k.push(Ut):it(k,Ut.name,Ut.value,le))}if(ct===Qe&&We(J,Ve,ft)){var _n=J.prefix||"",Xt=J.namespaceURI;it(k,_n?"xmlns:"+_n:"xmlns",Xt,le),ft.push({prefix:_n,namespace:Xt})}var Et=J.firstChild;if(Et||Ve&&!/^(?:meta|link|img|br|hr|input)$/i.test(ct)){if(k.push(">"),Ve&&/^script$/i.test(ct)){for(;Et;)Et.data?k.push(Et.data):bn(Et,k,Ve,j,ft.slice(),le),Et=Et.nextSibling;return k.push("</",ct,">"),null}return{ns:ft,isHTML:Ve,tag:Qe}}else return k.push("/>"),null;case C:case E:return{ns:Be.slice(),isHTML:Ve,tag:null};case h:return it(k,J.name,J.value,le),null;case _:return k.push(J.data.replace(/[<&>]/g,we)),null;case d:if(le&&J.data.indexOf("]]>")!==-1)throw new L(D,'The CDATASection data contains "]]>"');return k.push("<![CDATA[",J.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>"),null;case y:if(le&&J.data.indexOf("-->")!==-1)throw new L(D,'The comment node data contains "-->"');return k.push("<!--",J.data,"-->"),null;case A:if(le){if(!n.test(J.name))throw new L(D,'The doctype name "'+J.name+'" is not a valid XML Name');if(J.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(J.publicId))throw new L(D,"DocumentType publicId is not a valid PubidLiteral");if(J.systemId&&!/^("[^"]*"|'[^']*')$/.test(J.systemId))throw new L(D,"DocumentType systemId is not a valid SystemLiteral");if(J.internalSubset&&J.internalSubset.indexOf("]>")!==-1)throw new L(D,'DocumentType internalSubset contains "]>"')}var Vi=J.publicId,It=J.systemId;if(k.push("<!DOCTYPE ",J.name),Vi)k.push(" PUBLIC ",Vi),It&&It!="."&&k.push(" ",It),k.push(">");else if(It&&It!=".")k.push(" SYSTEM ",It,">");else{var Hi=J.internalSubset;Hi&&k.push(" [",Hi,"]"),k.push(">")}return null;case c:if(le){if(!n.test(J.target)||J.target.indexOf(":")!==-1||J.target.toLowerCase()==="xml")throw new L(D,'The processing instruction target "'+J.target+'" is not a valid XML NCName or is reserved');if(J.data.indexOf("?>")!==-1)throw new L(D,'The ProcessingInstruction data contains "?>"')}return k.push("<?",J.target," ",J.data,"?>"),null;case l:if(le&&!n.test(J.nodeName))throw new L(D,'The entity reference name "'+J.nodeName+'" is not a valid XML Name');return k.push("&",J.nodeName,";"),null;default:return k.push("??",J.nodeName),null}},exit:function(J,Te){Te&&Te.tag&&k.push("</",Te.tag,">")}})}function yo(x,k,F){var j;return pe(k,null,{enter:function(ee,le){var J=ee.cloneNode(!1);J.ownerDocument=x,J.parentNode=null,le===null?j=J:le.appendChild(J);var Te=ee.nodeType===h||F;return Te?J:null}}),j}function Ui(x,k,F){var j;return pe(k,null,{enter:function(ee,le){var J=new ee.constructor;for(var Te in ee)if(Object.prototype.hasOwnProperty.call(ee,Te)){var Be=ee[Te];typeof Be!="object"&&Be!=J[Te]&&(J[Te]=Be)}ee.childNodes&&(J.childNodes=new Y),J.ownerDocument=x;var Ve=F;switch(J.nodeType){case v:var ut=ee.attributes,or=J.attributes=new G,ct=ut.length;or._ownerElement=J;for(var Qe=0;Qe<ct;Qe++)J.setAttributeNode(Ui(x,ut.item(Qe),!0));break;case h:Ve=!0}return le!==null?le.appendChild(J):j=J,Ve?J:null}}),j}function Wi(x,k,F){x[k]=F}try{Object.defineProperty&&(Object.defineProperty(W.prototype,"length",{get:function(){return ne(this),this.$$length}}),Object.defineProperty(se.prototype,"textContent",{get:function(){if(this.nodeType===v||this.nodeType===E){var x=[];return pe(this,null,{enter:function(k){if(k.nodeType===v||k.nodeType===E)return!0;if(k.nodeType===c||k.nodeType===y)return null;x.push(k.nodeValue)}}),x.join("")}return this.nodeValue},set:function(x){switch(this.nodeType){case v:case E:for(;this.firstChild;)this.removeChild(this.firstChild);(x||String(x))&&this.appendChild(this.ownerDocument.createTextNode(x));break;default:this.data=x,this.value=x,this.nodeValue=x}}}),Wi=function(x,k,F){x["$$"+k]=F})}catch{}return tt.DocumentType=K,tt.DOMException=L,tt.DOMImplementation=re,tt.Element=ve,tt.Node=se,tt.NodeList=Y,tt.walkDOM=pe,tt.XMLSerializer=Ie,tt}var jt={},Cn={},lu;function Ko(){return lu||(lu=1,(function(e){var r=ir().freeze;e.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=r({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:`
16
- `,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:" ",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:"‌"}),e.entityMap=e.HTML_ENTITIES})(Cn)),Cn}var vr={},cu;function Jo(){if(cu)return vr;cu=1;var e=ir().NAMESPACE,r=ir().tagNamePattern,t=0,n=1,s=2,i=3,u=4,a=5,o=6,p=7;function g(w,T){this.message=w,this.locator=T,Error.captureStackTrace&&Error.captureStackTrace(this,g)}g.prototype=new Error,g.prototype.name=g.name;function b(){}b.prototype={parse:function(w,T,S){var O=this.domBuilder;O.startDocument(),c(T,T={}),v(w,T,S,O,this.errorHandler),O.endDocument()}};function v(w,T,S,O,H){function R(B){if(B>65535){B-=65536;var Z=55296+(B>>10),$=56320+(B&1023);return String.fromCharCode(Z,$)}else return String.fromCharCode(B)}function M(B){var Z=B.slice(1,-1);return Object.hasOwnProperty.call(S,Z)?S[Z]:Z.charAt(0)==="#"?R(parseInt(Z.substr(1).replace("x","0x"))):(H.error("entity not found:"+B),B)}function D(B){if(B>X){var Z=w.substring(X,B).replace(/&#?\w+;/g,M);G&&L(X),O.characters(Z,0,B-X),X=B}}function L(B,Z){for(;B>=W&&(Z=ne.exec(w));)Y=Z.index,W=Y+Z[0].length,G.lineNumber++;G.columnNumber=B-Y+1}for(var Y=0,W=0,ne=/.*(?:\r\n?|\n)|.*$/g,G=O.locator,ae=[{currentNSMap:T}],V={},X=0;;){try{var ie=w.indexOf("<",X);if(ie<0){if(!w.substr(X).match(/^\s*$/)){var ue=O.doc,re=ue.createTextNode(w.substr(X));ue.appendChild(re),O.currentElement=re}return}switch(ie>X&&D(ie),w.charAt(ie+1)){case"/":var f=w.indexOf(">",ie+3),se=w.substring(ie+2,f).replace(/^([\s\S]*?[^ \t\n\r])?[ \t\n\r]*$/,"$1"),we=ae.pop();f<0?(se=w.substring(ie+2).replace(/[\s<].*/,""),H.error("end tag name: "+se+" is not complete:"+we.tagName),f=ie+1+se.length):se.match(/\s</)?(se=se.replace(/[\s<].*/,""),H.error("end tag name: "+se+" maybe not complete"),f=ie+1+se.length):/[ \t\n\r]/.test(se)&&r.test(se.split(/[ \t\n\r]/)[0])&&H.error('end tag name is followed by whitespace and trailing content: "'+se+'"');var me=we.localNSMap,pe=we.tagName==se,de=pe||we.tagName&&we.tagName.toLowerCase()==se.toLowerCase();if(de){if(O.endElement(we.uri,we.localName,se),me)for(var ye in me)Object.prototype.hasOwnProperty.call(me,ye)&&O.endPrefixMapping(ye);pe||H.fatalError("end tag name: "+se+" is not match the current start tagName:"+we.tagName)}else ae.push(we);f++;break;case"?":G&&L(ie),f=C(w,ie,O);break;case"!":G&&L(ie),f=y(w,ie,O,H);break;default:G&&L(ie);var De=new A,Ce=ae[ae.length-1].currentNSMap,f=_(w,ie,De,Ce,M,H),q=De.length;if(!De.closed&&m(w,f,De.tagName,V)&&(De.closed=!0,S.nbsp||H.warning("unclosed xml attribute")),G&&q){for(var P=h(G,{}),I=0;I<q;I++){var N=De[I];L(N.offset),N.locator=h(G,{})}O.locator=P,d(De,O,Ce)&&ae.push(De),O.locator=G}else d(De,O,Ce)&&ae.push(De);e.isHTML(De.uri)&&!De.closed?f=l(w,f,De.tagName,M,O):f++}}catch(B){if(B instanceof g)throw B;H.error("element parse error: "+B),f=-1}f>X?X=f:D(Math.max(ie,X)+1)}}function h(w,T){return T.lineNumber=w.lineNumber,T.columnNumber=w.columnNumber,T}function _(w,T,S,O,H,R){function M(G,ae,V){S.attributeNames.hasOwnProperty(G)&&R.fatalError("Attribute "+G+" redefined"),S.addValue(G,ae.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,H),V)}for(var D,L,Y=++T,W=t;;){var ne=w.charAt(Y);if(W===t&&ne==="<")throw new Error("unexpected < in tag name: "+w.slice(T,Y));switch(ne){case"=":if(W===n)D=w.slice(T,Y),W=i;else if(W===s)W=i;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(W===i||W===n)if(W===n&&(R.warning('attribute value must after "="'),D=w.slice(T,Y)),T=Y+1,Y=w.indexOf(ne,T),Y>0)L=w.slice(T,Y),M(D,L,T-1),W=a;else throw new Error("attribute value no end '"+ne+"' match");else if(W==u)L=w.slice(T,Y),M(D,L,T),R.warning('attribute "'+D+'" missed start quot('+ne+")!!"),T=Y+1,W=a;else throw new Error('attribute value must after "="');break;case"/":switch(W){case t:S.setTagName(w.slice(T,Y));case a:case o:case p:W=p,S.closed=!0;case u:case n:break;case s:S.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return R.error("unexpected end of input"),W==t&&S.setTagName(w.slice(T,Y)),Y;case">":switch(W){case t:S.setTagName(w.slice(T,Y));case a:case o:case p:break;case u:case n:L=w.slice(T,Y),L.slice(-1)==="/"&&(S.closed=!0,L=L.slice(0,-1));case s:W===s&&(L=D),W==u?(R.warning('attribute "'+L+'" missed quot(")!'),M(D,L,T)):((!e.isHTML(O[""])||!L.match(/^(?:disabled|checked|selected)$/i))&&R.warning('attribute "'+L+'" missed value!! "'+L+'" instead!!'),M(L,L,T));break;case i:throw new Error("attribute value missed!!")}return Y;case"€":ne=" ";default:if(ne<=" ")switch(W){case t:S.setTagName(w.slice(T,Y)),W=o;break;case n:D=w.slice(T,Y),W=s;break;case u:var L=w.slice(T,Y);R.warning('attribute "'+L+'" missed quot(")!!'),M(D,L,T);case a:W=o;break}else switch(W){case s:S.tagName,(!e.isHTML(O[""])||!D.match(/^(?:disabled|checked|selected)$/i))&&R.warning('attribute "'+D+'" missed value!! "'+D+'" instead2!!'),M(D,D,T),T=Y,W=n;break;case a:R.warning('attribute space is required"'+D+'"!!');case o:W=n,T=Y;break;case i:W=u,T=Y;break;case p:throw new Error("elements closed character '/' and '>' must be connected to")}}Y++}}function d(w,T,S){for(var O=w.tagName,H=null,ne=w.length;ne--;){var R=w[ne],M=R.qName,D=R.value,G=M.indexOf(":");if(G>0)var L=R.prefix=M.slice(0,G),Y=M.slice(G+1),W=L==="xmlns"&&Y;else Y=M,L=null,W=M==="xmlns"&&"";R.localName=Y,W!==!1&&(H==null&&(H={},S=Object.create(S)),S[W]=H[W]=D,R.uri=e.XMLNS,T.startPrefixMapping(W,D))}for(var ne=w.length;ne--;){R=w[ne];var L=R.prefix;L&&(L==="xml"&&(R.uri=e.XML),L!=="xmlns"&&(R.uri=S[L||""]))}var G=O.indexOf(":");G>0?(L=w.prefix=O.slice(0,G),Y=w.localName=O.slice(G+1)):(L=null,Y=w.localName=O);var ae=w.uri=S[L||""];if(T.startElement(ae,Y,O,w),w.closed){if(T.endElement(ae,Y,O),H)for(L in H)Object.prototype.hasOwnProperty.call(H,L)&&T.endPrefixMapping(L)}else return w.currentNSMap=S,w.localNSMap=H,!0}function l(w,T,S,O,H){if(/^(?:script|textarea)$/i.test(S)){var R=w.indexOf("</"+S+">",T),M=w.substring(T+1,R);if(/[&<]/.test(M))return/^script$/i.test(S)?(H.characters(M,0,M.length),R):(M=M.replace(/&#?\w+;/g,O),H.characters(M,0,M.length),R)}return T+1}function m(w,T,S,O){var H=O[S];return H==null&&(H=w.lastIndexOf("</"+S+">"),H<T&&(H=w.lastIndexOf("</"+S)),O[S]=H),H<T}function c(w,T){for(var S in w)Object.prototype.hasOwnProperty.call(w,S)&&(T[S]=w[S])}function y(w,T,S,O){var H=w.charAt(T+2);switch(H){case"-":if(w.charAt(T+3)==="-"){var R=w.indexOf("-->",T+4);return R>T?(S.comment(w,T+4,R-T-4),R+3):(O.error("Unclosed comment"),-1)}else return-1;default:if(w.substr(T+3,6)=="CDATA["){var R=w.indexOf("]]>",T+9);return S.startCDATA(),S.characters(w,T+9,R-T-9),S.endCDATA(),R+3}var M=E(w,T),D=M.length;if(D>1&&/!doctype/i.test(M[0][0])){var L=M[1][0],Y=!1,W=!1;D>3&&(/^public$/i.test(M[2][0])?(Y=M[3][0],W=D>4&&M[4][0]):/^system$/i.test(M[2][0])&&(W=M[3][0]));var ne=M[D-1];return S.startDTD(L,Y,W),S.endDTD(),ne.index+ne[0].length}}return-1}function C(w,T,S){var O=w.indexOf("?>",T);if(O){var H=w.substring(T,O).match(/^<\?(\S*)\s*([\s\S]*?)$/);return H?(H[0].length,S.processingInstruction(H[1],H[2]),O+2):-1}return-1}function A(){this.attributeNames={}}A.prototype={setTagName:function(w){if(!r.test(w))throw new Error("invalid tagName:"+w);this.tagName=w},addValue:function(w,T,S){if(!r.test(w))throw new Error("invalid attribute:"+w);this.attributeNames[w]=this.length,this[this.length++]={qName:w,value:T,offset:S}},length:0,getLocalName:function(w){return this[w].localName},getLocator:function(w){return this[w].locator},getQName:function(w){return this[w].qName},getURI:function(w){return this[w].uri},getValue:function(w){return this[w].value}};function E(w,T){var S,O=[],H=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(H.lastIndex=T,H.exec(w);S=H.exec(w);)if(O.push(S),S[1])return O}return vr.XMLReader=b,vr.ParseError=g,vr}var fu;function Qo(){if(fu)return jt;fu=1;var e=ir(),r=Mi(),t=Ko(),n=Jo(),s=r.DOMImplementation,i=e.NAMESPACE,u=n.ParseError,a=n.XMLReader;function o(l){return l.replace(/\r[\n\u0085]/g,`
17
- `).replace(/[\r\u0085\u2028]/g,`
18
- `)}function p(l){this.options=l||{locator:{}}}p.prototype.parseFromString=function(l,m){var c=this.options,y=new a,C=c.domBuilder||new b,A=c.errorHandler,E=c.locator,w=c.xmlns||{},T=/\/x?html?$/.test(m),S=T?t.HTML_ENTITIES:t.XML_ENTITIES;E&&C.setDocumentLocator(E),y.errorHandler=g(A,C,E),y.domBuilder=c.domBuilder||C,T&&(w[""]=i.HTML),w.xml=w.xml||i.XML;var O=c.normalizeLineEndings||o;return l&&typeof l=="string"?y.parse(O(l),w,S):y.errorHandler.error("invalid doc source"),C.doc};function g(l,m,c){if(!l){if(m instanceof b)return m;l=m}var y={},C=l instanceof Function;c=c||{};function A(E){var w=l[E];!w&&C&&(w=l.length==2?function(T){l(E,T)}:l),y[E]=w&&function(T){w("[xmldom "+E+"] "+T+h(c))}||function(){}}return A("warning"),A("error"),A("fatalError"),y}function b(){this.cdata=!1}function v(l,m){m.lineNumber=l.lineNumber,m.columnNumber=l.columnNumber}b.prototype={startDocument:function(){this.doc=new s().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(l,m,c,y){var C=this.doc,A=C.createElementNS(l,c||m),E=y.length;d(this,A),this.currentElement=A,this.locator&&v(this.locator,A);for(var w=0;w<E;w++){var l=y.getURI(w),T=y.getValue(w),c=y.getQName(w),S=C.createAttributeNS(l,c);this.locator&&v(y.getLocator(w),S),S.value=S.nodeValue=T,A.setAttributeNode(S)}},endElement:function(l,m,c){var y=this.currentElement;y.tagName,this.currentElement=y.parentNode},startPrefixMapping:function(l,m){},endPrefixMapping:function(l){},processingInstruction:function(l,m){var c=this.doc.createProcessingInstruction(l,m);this.locator&&v(this.locator,c),d(this,c)},ignorableWhitespace:function(l,m,c){},characters:function(l,m,c){if(l=_.apply(this,arguments),l){if(this.cdata)var y=this.doc.createCDATASection(l);else var y=this.doc.createTextNode(l);this.currentElement?this.currentElement.appendChild(y):/^\s*$/.test(l)&&this.doc.appendChild(y),this.locator&&v(this.locator,y)}},skippedEntity:function(l){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(l){(this.locator=l)&&(l.lineNumber=0)},comment:function(l,m,c){l=_.apply(this,arguments);var y=this.doc.createComment(l);this.locator&&v(this.locator,y),d(this,y)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(l,m,c){var y=this.doc.implementation;if(y&&y.createDocumentType){var C=y.createDocumentType(l,m,c);this.locator&&v(this.locator,C),d(this,C),this.doc.doctype=C}},warning:function(l){console.warn("[xmldom warning] "+l,h(this.locator))},error:function(l){console.error("[xmldom error] "+l,h(this.locator))},fatalError:function(l){throw new u(l,this.locator)}};function h(l){if(l)return`
19
- @`+(l.systemId||"")+"#[line:"+l.lineNumber+",col:"+l.columnNumber+"]"}function _(l,m,c){return typeof l=="string"?l.substr(m,c):l.length>=m+c||m?new java.lang.String(l,m,c)+"":l}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(l){b.prototype[l]=function(){return null}});function d(l,m){l.currentElement?l.currentElement.appendChild(m):l.doc.appendChild(m)}return jt.__DOMHandler=b,jt.normalizeLineEndings=o,jt.DOMParser=p,jt}var hu;function el(){if(hu)return Ht;hu=1;var e=Mi();return Ht.DOMImplementation=e.DOMImplementation,Ht.XMLSerializer=e.XMLSerializer,Ht.DOMParser=Qo().DOMParser,Ht}var pu;function tl(){if(pu)return mr;pu=1;var e=el(),r=Mi();function t(n){var s=null,i=new e.DOMParser({errorHandler:function(a,o){s={level:a,message:o}}}),u=i.parseFromString(n);if(s===null)return u;throw new Error(s.level+": "+s.message)}return mr.parseFromString=t,mr.Node=r.Node,mr}var du;function rl(){if(du)return xn;du=1;var e=lt(),r=ke,t=tl(),n=no(),s=n.Element;xn.readString=u;var i=t.Node;function u(a,o){o=o||{};try{var p=t.parseFromString(a,"text/xml")}catch(h){return e.reject(h)}if(p.documentElement.tagName==="parsererror")return e.resolve(new Error(p.documentElement.textContent));function g(h){switch(h.nodeType){case i.ELEMENT_NODE:return b(h);case i.TEXT_NODE:return n.text(h.nodeValue)}}function b(h){var _=v(h),d=[];r.forEach(h.childNodes,function(m){var c=g(m);c&&d.push(c)});var l=Object.create(null);return r.forEach(h.attributes,function(m){l[v(m)]=m.value}),new s(_,l,d)}function v(h){if(h.namespaceURI){var _=o[h.namespaceURI],d;return _?d=_+":":d="{"+h.namespaceURI+"}",d+h.localName}else return h.localName}return e.resolve(g(p.documentElement))}return xn}var Tn={},At={},nt={},mu;function wt(){return mu||(mu=1,(function(){var e,r,t,n,s,i,u,a=[].slice,o={}.hasOwnProperty;e=function(){var p,g,b,v,h,_;if(_=arguments[0],h=2<=arguments.length?a.call(arguments,1):[],s(Object.assign))Object.assign.apply(null,arguments);else for(p=0,b=h.length;p<b;p++)if(v=h[p],v!=null)for(g in v)o.call(v,g)&&(_[g]=v[g]);return _},s=function(p){return!!p&&Object.prototype.toString.call(p)==="[object Function]"},i=function(p){var g;return!!p&&((g=typeof p)=="function"||g==="object")},t=function(p){return s(Array.isArray)?Array.isArray(p):Object.prototype.toString.call(p)==="[object Array]"},n=function(p){var g;if(t(p))return!p.length;for(g in p)if(o.call(p,g))return!1;return!0},u=function(p){var g,b;return i(p)&&(b=Object.getPrototypeOf(p))&&(g=b.constructor)&&typeof g=="function"&&g instanceof g&&Function.prototype.toString.call(g)===Function.prototype.toString.call(Object)},r=function(p){return s(p.valueOf)?p.valueOf():p},nt.assign=e,nt.isFunction=s,nt.isObject=i,nt.isArray=t,nt.isEmpty=n,nt.isPlainObject=u,nt.getValue=r}).call(nt)),nt}var Er={exports:{}},Ar={exports:{}},xr={exports:{}},Cr={exports:{}},nl=Cr.exports,vu;function io(){return vu||(vu=1,(function(){Cr.exports=(function(){function e(r,t,n){if(this.options=r.options,this.stringify=r.stringify,this.parent=r,t==null)throw new Error("Missing attribute name. "+this.debugInfo(t));if(n==null)throw new Error("Missing attribute value. "+this.debugInfo(t));this.name=this.stringify.attName(t),this.value=this.stringify.attValue(n)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(r){return this.options.writer.set(r).attribute(this)},e.prototype.debugInfo=function(r){return r=r||this.name,r==null?"parent: <"+this.parent.name+">":"attribute: {"+r+"}, parent: <"+this.parent.name+">"},e})()}).call(nl)),Cr.exports}var il=xr.exports,gu;function an(){return gu||(gu=1,(function(){var e,r,t,n,s,i,u=function(o,p){for(var g in p)a.call(p,g)&&(o[g]=p[g]);function b(){this.constructor=o}return b.prototype=p.prototype,o.prototype=new b,o.__super__=p.prototype,o},a={}.hasOwnProperty;i=wt(),s=i.isObject,n=i.isFunction,t=i.getValue,r=Ue(),e=io(),xr.exports=(function(o){u(p,o);function p(g,b,v){if(p.__super__.constructor.call(this,g),b==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(b),this.attributes={},v!=null&&this.attribute(v),g.isDocument&&(this.isRoot=!0,this.documentObject=g,g.rootObject=this)}return p.prototype.clone=function(){var g,b,v,h;v=Object.create(this),v.isRoot&&(v.documentObject=null),v.attributes={},h=this.attributes;for(b in h)a.call(h,b)&&(g=h[b],v.attributes[b]=g.clone());return v.children=[],this.children.forEach(function(_){var d;return d=_.clone(),d.parent=v,v.children.push(d)}),v},p.prototype.attribute=function(g,b){var v,h;if(g!=null&&(g=t(g)),s(g))for(v in g)a.call(g,v)&&(h=g[v],this.attribute(v,h));else n(b)&&(b=b.apply()),(!this.options.skipNullAttributes||b!=null)&&(this.attributes[g]=new e(this,g,b));return this},p.prototype.removeAttribute=function(g){var b,v,h;if(g==null)throw new Error("Missing attribute name. "+this.debugInfo());if(g=t(g),Array.isArray(g))for(v=0,h=g.length;v<h;v++)b=g[v],delete this.attributes[b];else delete this.attributes[g];return this},p.prototype.toString=function(g){return this.options.writer.set(g).element(this)},p.prototype.att=function(g,b){return this.attribute(g,b)},p.prototype.a=function(g,b){return this.attribute(g,b)},p})(r)}).call(il)),xr.exports}var Tr={exports:{}},ul=Tr.exports,yu;function sn(){return yu||(yu=1,(function(){var e,r=function(n,s){for(var i in s)t.call(s,i)&&(n[i]=s[i]);function u(){this.constructor=n}return u.prototype=s.prototype,n.prototype=new u,n.__super__=s.prototype,n},t={}.hasOwnProperty;e=Ue(),Tr.exports=(function(n){r(s,n);function s(i,u){if(s.__super__.constructor.call(this,i),u==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(u)}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(i){return this.options.writer.set(i).cdata(this)},s})(e)}).call(ul)),Tr.exports}var kr={exports:{}},al=kr.exports,wu;function on(){return wu||(wu=1,(function(){var e,r=function(n,s){for(var i in s)t.call(s,i)&&(n[i]=s[i]);function u(){this.constructor=n}return u.prototype=s.prototype,n.prototype=new u,n.__super__=s.prototype,n},t={}.hasOwnProperty;e=Ue(),kr.exports=(function(n){r(s,n);function s(i,u){if(s.__super__.constructor.call(this,i),u==null)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(u)}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(i){return this.options.writer.set(i).comment(this)},s})(e)}).call(al)),kr.exports}var Sr={exports:{}},sl=Sr.exports,bu;function ln(){return bu||(bu=1,(function(){var e,r,t=function(s,i){for(var u in i)n.call(i,u)&&(s[u]=i[u]);function a(){this.constructor=s}return a.prototype=i.prototype,s.prototype=new a,s.__super__=i.prototype,s},n={}.hasOwnProperty;r=wt().isObject,e=Ue(),Sr.exports=(function(s){t(i,s);function i(u,a,o,p){var g;i.__super__.constructor.call(this,u),r(a)&&(g=a,a=g.version,o=g.encoding,p=g.standalone),a||(a="1.0"),this.version=this.stringify.xmlVersion(a),o!=null&&(this.encoding=this.stringify.xmlEncoding(o)),p!=null&&(this.standalone=this.stringify.xmlStandalone(p))}return i.prototype.toString=function(u){return this.options.writer.set(u).declaration(this)},i})(e)}).call(sl)),Sr.exports}var Nr={exports:{}},Ir={exports:{}},ol=Ir.exports,Du;function cn(){return Du||(Du=1,(function(){var e,r=function(n,s){for(var i in s)t.call(s,i)&&(n[i]=s[i]);function u(){this.constructor=n}return u.prototype=s.prototype,n.prototype=new u,n.__super__=s.prototype,n},t={}.hasOwnProperty;e=Ue(),Ir.exports=(function(n){r(s,n);function s(i,u,a,o,p,g){if(s.__super__.constructor.call(this,i),u==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(u));if(!o)throw new Error("Missing DTD attribute type. "+this.debugInfo(u));if(!p)throw new Error("Missing DTD attribute default. "+this.debugInfo(u));if(p.indexOf("#")!==0&&(p="#"+p),!p.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(u));if(g&&!p.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(u));this.elementName=this.stringify.eleName(u),this.attributeName=this.stringify.attName(a),this.attributeType=this.stringify.dtdAttType(o),this.defaultValue=this.stringify.dtdAttDefault(g),this.defaultValueType=p}return s.prototype.toString=function(i){return this.options.writer.set(i).dtdAttList(this)},s})(e)}).call(ol)),Ir.exports}var Rr={exports:{}},ll=Rr.exports,_u;function fn(){return _u||(_u=1,(function(){var e,r,t=function(s,i){for(var u in i)n.call(i,u)&&(s[u]=i[u]);function a(){this.constructor=s}return a.prototype=i.prototype,s.prototype=new a,s.__super__=i.prototype,s},n={}.hasOwnProperty;r=wt().isObject,e=Ue(),Rr.exports=(function(s){t(i,s);function i(u,a,o,p){if(i.__super__.constructor.call(this,u),o==null)throw new Error("Missing DTD entity name. "+this.debugInfo(o));if(p==null)throw new Error("Missing DTD entity value. "+this.debugInfo(o));if(this.pe=!!a,this.name=this.stringify.eleName(o),!r(p))this.value=this.stringify.dtdEntityValue(p);else{if(!p.pubID&&!p.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(o));if(p.pubID&&!p.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(o));if(p.pubID!=null&&(this.pubID=this.stringify.dtdPubID(p.pubID)),p.sysID!=null&&(this.sysID=this.stringify.dtdSysID(p.sysID)),p.nData!=null&&(this.nData=this.stringify.dtdNData(p.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(o))}}return i.prototype.toString=function(u){return this.options.writer.set(u).dtdEntity(this)},i})(e)}).call(ll)),Rr.exports}var Or={exports:{}},cl=Or.exports,Eu;function hn(){return Eu||(Eu=1,(function(){var e,r=function(n,s){for(var i in s)t.call(s,i)&&(n[i]=s[i]);function u(){this.constructor=n}return u.prototype=s.prototype,n.prototype=new u,n.__super__=s.prototype,n},t={}.hasOwnProperty;e=Ue(),Or.exports=(function(n){r(s,n);function s(i,u,a){if(s.__super__.constructor.call(this,i),u==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.eleName(u),this.value=this.stringify.dtdElementValue(a)}return s.prototype.toString=function(i){return this.options.writer.set(i).dtdElement(this)},s})(e)}).call(cl)),Or.exports}var Br={exports:{}},fl=Br.exports,Au;function pn(){return Au||(Au=1,(function(){var e,r=function(n,s){for(var i in s)t.call(s,i)&&(n[i]=s[i]);function u(){this.constructor=n}return u.prototype=s.prototype,n.prototype=new u,n.__super__=s.prototype,n},t={}.hasOwnProperty;e=Ue(),Br.exports=(function(n){r(s,n);function s(i,u,a){if(s.__super__.constructor.call(this,i),u==null)throw new Error("Missing DTD notation name. "+this.debugInfo(u));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(u));this.name=this.stringify.eleName(u),a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return s.prototype.toString=function(i){return this.options.writer.set(i).dtdNotation(this)},s})(e)}).call(fl)),Br.exports}var hl=Nr.exports,xu;function dn(){return xu||(xu=1,(function(){var e,r,t,n,s,i,u=function(o,p){for(var g in p)a.call(p,g)&&(o[g]=p[g]);function b(){this.constructor=o}return b.prototype=p.prototype,o.prototype=new b,o.__super__=p.prototype,o},a={}.hasOwnProperty;i=wt().isObject,s=Ue(),e=cn(),t=fn(),r=hn(),n=pn(),Nr.exports=(function(o){u(p,o);function p(g,b,v){var h,_;p.__super__.constructor.call(this,g),this.name="!DOCTYPE",this.documentObject=g,i(b)&&(h=b,b=h.pubID,v=h.sysID),v==null&&(_=[b,v],v=_[0],b=_[1]),b!=null&&(this.pubID=this.stringify.dtdPubID(b)),v!=null&&(this.sysID=this.stringify.dtdSysID(v))}return p.prototype.element=function(g,b){var v;return v=new r(this,g,b),this.children.push(v),this},p.prototype.attList=function(g,b,v,h,_){var d;return d=new e(this,g,b,v,h,_),this.children.push(d),this},p.prototype.entity=function(g,b){var v;return v=new t(this,!1,g,b),this.children.push(v),this},p.prototype.pEntity=function(g,b){var v;return v=new t(this,!0,g,b),this.children.push(v),this},p.prototype.notation=function(g,b){var v;return v=new n(this,g,b),this.children.push(v),this},p.prototype.toString=function(g){return this.options.writer.set(g).docType(this)},p.prototype.ele=function(g,b){return this.element(g,b)},p.prototype.att=function(g,b,v,h,_){return this.attList(g,b,v,h,_)},p.prototype.ent=function(g,b){return this.entity(g,b)},p.prototype.pent=function(g,b){return this.pEntity(g,b)},p.prototype.not=function(g,b){return this.notation(g,b)},p.prototype.up=function(){return this.root()||this.documentObject},p})(s)}).call(hl)),Nr.exports}var Lr={exports:{}},pl=Lr.exports,Cu;function mn(){return Cu||(Cu=1,(function(){var e,r=function(n,s){for(var i in s)t.call(s,i)&&(n[i]=s[i]);function u(){this.constructor=n}return u.prototype=s.prototype,n.prototype=new u,n.__super__=s.prototype,n},t={}.hasOwnProperty;e=Ue(),Lr.exports=(function(n){r(s,n);function s(i,u){if(s.__super__.constructor.call(this,i),u==null)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(u)}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(i){return this.options.writer.set(i).raw(this)},s})(e)}).call(pl)),Lr.exports}var Fr={exports:{}},dl=Fr.exports,Tu;function vn(){return Tu||(Tu=1,(function(){var e,r=function(n,s){for(var i in s)t.call(s,i)&&(n[i]=s[i]);function u(){this.constructor=n}return u.prototype=s.prototype,n.prototype=new u,n.__super__=s.prototype,n},t={}.hasOwnProperty;e=Ue(),Fr.exports=(function(n){r(s,n);function s(i,u){if(s.__super__.constructor.call(this,i),u==null)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(u)}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(i){return this.options.writer.set(i).text(this)},s})(e)}).call(dl)),Fr.exports}var Mr={exports:{}},ml=Mr.exports,ku;function gn(){return ku||(ku=1,(function(){var e,r=function(n,s){for(var i in s)t.call(s,i)&&(n[i]=s[i]);function u(){this.constructor=n}return u.prototype=s.prototype,n.prototype=new u,n.__super__=s.prototype,n},t={}.hasOwnProperty;e=Ue(),Mr.exports=(function(n){r(s,n);function s(i,u,a){if(s.__super__.constructor.call(this,i),u==null)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(u),a&&(this.value=this.stringify.insValue(a))}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(i){return this.options.writer.set(i).processingInstruction(this)},s})(e)}).call(ml)),Mr.exports}var Pr={exports:{}},vl=Pr.exports,Su;function Pi(){return Su||(Su=1,(function(){var e,r=function(n,s){for(var i in s)t.call(s,i)&&(n[i]=s[i]);function u(){this.constructor=n}return u.prototype=s.prototype,n.prototype=new u,n.__super__=s.prototype,n},t={}.hasOwnProperty;e=Ue(),Pr.exports=(function(n){r(s,n);function s(i){s.__super__.constructor.call(this,i),this.isDummy=!0}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(i){return""},s})(e)}).call(vl)),Pr.exports}var gl=Ar.exports,Nu;function Ue(){return Nu||(Nu=1,(function(){var e,r,t,n,s,i,u,a,o,p,g,b,v,h,_={}.hasOwnProperty;h=wt(),v=h.isObject,b=h.isFunction,g=h.isEmpty,p=h.getValue,i=null,e=null,r=null,t=null,n=null,a=null,o=null,u=null,s=null,Ar.exports=(function(){function d(l){this.parent=l,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],i||(i=an(),e=sn(),r=on(),t=ln(),n=dn(),a=mn(),o=vn(),u=gn(),s=Pi())}return d.prototype.element=function(l,m,c){var y,C,A,E,w,T,S,O,H,R,M;if(T=null,m===null&&c==null&&(H=[{},null],m=H[0],c=H[1]),m==null&&(m={}),m=p(m),v(m)||(R=[m,c],c=R[0],m=R[1]),l!=null&&(l=p(l)),Array.isArray(l))for(A=0,S=l.length;A<S;A++)C=l[A],T=this.element(C);else if(b(l))T=this.element(l.apply());else if(v(l)){for(w in l)if(_.call(l,w))if(M=l[w],b(M)&&(M=M.apply()),v(M)&&g(M)&&(M=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&w.indexOf(this.stringify.convertAttKey)===0)T=this.attribute(w.substr(this.stringify.convertAttKey.length),M);else if(!this.options.separateArrayItems&&Array.isArray(M))for(E=0,O=M.length;E<O;E++)C=M[E],y={},y[w]=C,T=this.element(y);else v(M)?(T=this.element(w),T.element(M)):T=this.element(w,M)}else this.options.skipNullNodes&&c===null?T=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&l.indexOf(this.stringify.convertTextKey)===0?T=this.text(c):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&l.indexOf(this.stringify.convertCDataKey)===0?T=this.cdata(c):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&l.indexOf(this.stringify.convertCommentKey)===0?T=this.comment(c):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&l.indexOf(this.stringify.convertRawKey)===0?T=this.raw(c):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&l.indexOf(this.stringify.convertPIKey)===0?T=this.instruction(l.substr(this.stringify.convertPIKey.length),c):T=this.node(l,m,c);if(T==null)throw new Error("Could not create any elements with: "+l+". "+this.debugInfo());return T},d.prototype.insertBefore=function(l,m,c){var y,C,A;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(l));return C=this.parent.children.indexOf(this),A=this.parent.children.splice(C),y=this.parent.element(l,m,c),Array.prototype.push.apply(this.parent.children,A),y},d.prototype.insertAfter=function(l,m,c){var y,C,A;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(l));return C=this.parent.children.indexOf(this),A=this.parent.children.splice(C+1),y=this.parent.element(l,m,c),Array.prototype.push.apply(this.parent.children,A),y},d.prototype.remove=function(){var l;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return l=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[l,l-l+1].concat([])),this.parent},d.prototype.node=function(l,m,c){var y,C;return l!=null&&(l=p(l)),m||(m={}),m=p(m),v(m)||(C=[m,c],c=C[0],m=C[1]),y=new i(this,l,m),c!=null&&y.text(c),this.children.push(y),y},d.prototype.text=function(l){var m;return m=new o(this,l),this.children.push(m),this},d.prototype.cdata=function(l){var m;return m=new e(this,l),this.children.push(m),this},d.prototype.comment=function(l){var m;return m=new r(this,l),this.children.push(m),this},d.prototype.commentBefore=function(l){var m,c;return m=this.parent.children.indexOf(this),c=this.parent.children.splice(m),this.parent.comment(l),Array.prototype.push.apply(this.parent.children,c),this},d.prototype.commentAfter=function(l){var m,c;return m=this.parent.children.indexOf(this),c=this.parent.children.splice(m+1),this.parent.comment(l),Array.prototype.push.apply(this.parent.children,c),this},d.prototype.raw=function(l){var m;return m=new a(this,l),this.children.push(m),this},d.prototype.dummy=function(){var l;return l=new s(this),this.children.push(l),l},d.prototype.instruction=function(l,m){var c,y,C,A,E;if(l!=null&&(l=p(l)),m!=null&&(m=p(m)),Array.isArray(l))for(A=0,E=l.length;A<E;A++)c=l[A],this.instruction(c);else if(v(l))for(c in l)_.call(l,c)&&(y=l[c],this.instruction(c,y));else b(m)&&(m=m.apply()),C=new u(this,l,m),this.children.push(C);return this},d.prototype.instructionBefore=function(l,m){var c,y;return c=this.parent.children.indexOf(this),y=this.parent.children.splice(c),this.parent.instruction(l,m),Array.prototype.push.apply(this.parent.children,y),this},d.prototype.instructionAfter=function(l,m){var c,y;return c=this.parent.children.indexOf(this),y=this.parent.children.splice(c+1),this.parent.instruction(l,m),Array.prototype.push.apply(this.parent.children,y),this},d.prototype.declaration=function(l,m,c){var y,C;return y=this.document(),C=new t(y,l,m,c),y.children[0]instanceof t?y.children[0]=C:y.children.unshift(C),y.root()||y},d.prototype.doctype=function(l,m){var c,y,C,A,E,w,T,S,O,H;for(y=this.document(),C=new n(y,l,m),O=y.children,A=E=0,T=O.length;E<T;A=++E)if(c=O[A],c instanceof n)return y.children[A]=C,C;for(H=y.children,A=w=0,S=H.length;w<S;A=++w)if(c=H[A],c.isRoot)return y.children.splice(A,0,C),C;return y.children.push(C),C},d.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},d.prototype.root=function(){var l;for(l=this;l;){if(l.isDocument)return l.rootObject;if(l.isRoot)return l;l=l.parent}},d.prototype.document=function(){var l;for(l=this;l;){if(l.isDocument)return l;l=l.parent}},d.prototype.end=function(l){return this.document().end(l)},d.prototype.prev=function(){var l;for(l=this.parent.children.indexOf(this);l>0&&this.parent.children[l-1].isDummy;)l=l-1;if(l<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[l-1]},d.prototype.next=function(){var l;for(l=this.parent.children.indexOf(this);l<this.parent.children.length-1&&this.parent.children[l+1].isDummy;)l=l+1;if(l===-1||l===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[l+1]},d.prototype.importDocument=function(l){var m;return m=l.root().clone(),m.parent=this,m.isRoot=!1,this.children.push(m),this},d.prototype.debugInfo=function(l){var m,c;return l=l||this.name,l==null&&!((m=this.parent)!=null&&m.name)?"":l==null?"parent: <"+this.parent.name+">":(c=this.parent)!=null&&c.name?"node: <"+l+">, parent: <"+this.parent.name+">":"node: <"+l+">"},d.prototype.ele=function(l,m,c){return this.element(l,m,c)},d.prototype.nod=function(l,m,c){return this.node(l,m,c)},d.prototype.txt=function(l){return this.text(l)},d.prototype.dat=function(l){return this.cdata(l)},d.prototype.com=function(l){return this.comment(l)},d.prototype.ins=function(l,m){return this.instruction(l,m)},d.prototype.doc=function(){return this.document()},d.prototype.dec=function(l,m,c){return this.declaration(l,m,c)},d.prototype.dtd=function(l,m){return this.doctype(l,m)},d.prototype.e=function(l,m,c){return this.element(l,m,c)},d.prototype.n=function(l,m,c){return this.node(l,m,c)},d.prototype.t=function(l){return this.text(l)},d.prototype.d=function(l){return this.cdata(l)},d.prototype.c=function(l){return this.comment(l)},d.prototype.r=function(l){return this.raw(l)},d.prototype.i=function(l,m){return this.instruction(l,m)},d.prototype.u=function(){return this.up()},d.prototype.importXMLBuilder=function(l){return this.importDocument(l)},d})()}).call(gl)),Ar.exports}var qr={exports:{}},yl=qr.exports,Iu;function uo(){return Iu||(Iu=1,(function(){var e=function(t,n){return function(){return t.apply(n,arguments)}},r={}.hasOwnProperty;qr.exports=(function(){function t(n){this.assertLegalChar=e(this.assertLegalChar,this);var s,i,u;n||(n={}),this.noDoubleEncoding=n.noDoubleEncoding,i=n.stringify||{};for(s in i)r.call(i,s)&&(u=i[s],this[s]=u)}return t.prototype.eleName=function(n){return n=""+n||"",this.assertLegalChar(n)},t.prototype.eleText=function(n){return n=""+n||"",this.assertLegalChar(this.elEscape(n))},t.prototype.cdata=function(n){return n=""+n||"",n=n.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(n)},t.prototype.comment=function(n){if(n=""+n||"",n.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+n);return this.assertLegalChar(n)},t.prototype.raw=function(n){return""+n||""},t.prototype.attName=function(n){return n=""+n||""},t.prototype.attValue=function(n){return n=""+n||"",this.attEscape(n)},t.prototype.insTarget=function(n){return""+n||""},t.prototype.insValue=function(n){if(n=""+n||"",n.match(/\?>/))throw new Error("Invalid processing instruction value: "+n);return n},t.prototype.xmlVersion=function(n){if(n=""+n||"",!n.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+n);return n},t.prototype.xmlEncoding=function(n){if(n=""+n||"",!n.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+n);return n},t.prototype.xmlStandalone=function(n){return n?"yes":"no"},t.prototype.dtdPubID=function(n){return""+n||""},t.prototype.dtdSysID=function(n){return""+n||""},t.prototype.dtdElementValue=function(n){return""+n||""},t.prototype.dtdAttType=function(n){return""+n||""},t.prototype.dtdAttDefault=function(n){return n!=null?""+n||"":n},t.prototype.dtdEntityValue=function(n){return""+n||""},t.prototype.dtdNData=function(n){return""+n||""},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(n){var s;if(s=n.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),s)throw new Error("Invalid character in string: "+n+" at index "+s.index);return n},t.prototype.elEscape=function(n){var s;return s=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,n.replace(s,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")},t.prototype.attEscape=function(n){var s;return s=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,n.replace(s,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")},t})()}).call(yl)),qr.exports}var zr={exports:{}},Xr={exports:{}},wl=Xr.exports,Ru;function ao(){return Ru||(Ru=1,(function(){var e={}.hasOwnProperty;Xr.exports=(function(){function r(t){var n,s,i,u,a,o,p,g,b;t||(t={}),this.pretty=t.pretty||!1,this.allowEmpty=(s=t.allowEmpty)!=null?s:!1,this.pretty?(this.indent=(i=t.indent)!=null?i:" ",this.newline=(u=t.newline)!=null?u:`
20
- `,this.offset=(a=t.offset)!=null?a:0,this.dontprettytextnodes=(o=t.dontprettytextnodes)!=null?o:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(p=t.spacebeforeslash)!=null?p:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,g=t.writer||{};for(n in g)e.call(g,n)&&(b=g[n],this[n]=b)}return r.prototype.set=function(t){var n,s,i;t||(t={}),"pretty"in t&&(this.pretty=t.pretty),"allowEmpty"in t&&(this.allowEmpty=t.allowEmpty),this.pretty?(this.indent="indent"in t?t.indent:" ",this.newline="newline"in t?t.newline:`
21
- `,this.offset="offset"in t?t.offset:0,this.dontprettytextnodes="dontprettytextnodes"in t?t.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in t?t.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,s=t.writer||{};for(n in s)e.call(s,n)&&(i=s[n],this[n]=i);return this},r.prototype.space=function(t){var n;return this.pretty?(n=(t||0)+this.offset+1,n>0?new Array(n).join(this.indent):""):""},r})()}).call(wl)),Xr.exports}var bl=zr.exports,Ou;function qi(){return Ou||(Ou=1,(function(){var e,r,t,n,s,i,u,a,o,p,g,b,v,h,_=function(l,m){for(var c in m)d.call(m,c)&&(l[c]=m[c]);function y(){this.constructor=l}return y.prototype=m.prototype,l.prototype=new y,l.__super__=m.prototype,l},d={}.hasOwnProperty;u=ln(),a=dn(),e=sn(),r=on(),p=an(),b=mn(),v=vn(),g=gn(),o=Pi(),t=cn(),n=hn(),s=fn(),i=pn(),h=ao(),zr.exports=(function(l){_(m,l);function m(c){m.__super__.constructor.call(this,c)}return m.prototype.document=function(c){var y,C,A,E,w;for(this.textispresent=!1,E="",w=c.children,C=0,A=w.length;C<A;C++)y=w[C],!(y instanceof o)&&(E+=(function(){switch(!1){case!(y instanceof u):return this.declaration(y);case!(y instanceof a):return this.docType(y);case!(y instanceof r):return this.comment(y);case!(y instanceof g):return this.processingInstruction(y);default:return this.element(y,0)}}).call(this));return this.pretty&&E.slice(-this.newline.length)===this.newline&&(E=E.slice(0,-this.newline.length)),E},m.prototype.attribute=function(c){return" "+c.name+'="'+c.value+'"'},m.prototype.cdata=function(c,y){return this.space(y)+"<![CDATA["+c.text+"]]>"+this.newline},m.prototype.comment=function(c,y){return this.space(y)+"<!-- "+c.text+" -->"+this.newline},m.prototype.declaration=function(c,y){var C;return C=this.space(y),C+='<?xml version="'+c.version+'"',c.encoding!=null&&(C+=' encoding="'+c.encoding+'"'),c.standalone!=null&&(C+=' standalone="'+c.standalone+'"'),C+=this.spacebeforeslash+"?>",C+=this.newline,C},m.prototype.docType=function(c,y){var C,A,E,w,T;if(y||(y=0),w=this.space(y),w+="<!DOCTYPE "+c.root().name,c.pubID&&c.sysID?w+=' PUBLIC "'+c.pubID+'" "'+c.sysID+'"':c.sysID&&(w+=' SYSTEM "'+c.sysID+'"'),c.children.length>0){for(w+=" [",w+=this.newline,T=c.children,A=0,E=T.length;A<E;A++)C=T[A],w+=(function(){switch(!1){case!(C instanceof t):return this.dtdAttList(C,y+1);case!(C instanceof n):return this.dtdElement(C,y+1);case!(C instanceof s):return this.dtdEntity(C,y+1);case!(C instanceof i):return this.dtdNotation(C,y+1);case!(C instanceof e):return this.cdata(C,y+1);case!(C instanceof r):return this.comment(C,y+1);case!(C instanceof g):return this.processingInstruction(C,y+1);default:throw new Error("Unknown DTD node type: "+C.constructor.name)}}).call(this);w+="]"}return w+=this.spacebeforeslash+">",w+=this.newline,w},m.prototype.element=function(c,y){var C,A,E,w,T,S,O,H,R,M,D,L,Y;y||(y=0),Y=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),L=this.space(y),H="",H+=L+"<"+c.name,R=c.attributes;for(O in R)d.call(R,O)&&(C=R[O],H+=this.attribute(C));if(c.children.length===0||c.children.every(function(W){return W.value===""}))this.allowEmpty?H+="></"+c.name+">"+this.newline:H+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&c.children.length===1&&c.children[0].value!=null)H+=">",H+=c.children[0].value,H+="</"+c.name+">"+this.newline;else{if(this.dontprettytextnodes){for(M=c.children,E=0,T=M.length;E<T;E++)if(A=M[E],A.value!=null){this.textispresent++,Y=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,L=this.space(y)),H+=">"+this.newline,D=c.children,w=0,S=D.length;w<S;w++)A=D[w],H+=(function(){switch(!1){case!(A instanceof e):return this.cdata(A,y+1);case!(A instanceof r):return this.comment(A,y+1);case!(A instanceof p):return this.element(A,y+1);case!(A instanceof b):return this.raw(A,y+1);case!(A instanceof v):return this.text(A,y+1);case!(A instanceof g):return this.processingInstruction(A,y+1);case!(A instanceof o):return"";default:throw new Error("Unknown XML node type: "+A.constructor.name)}}).call(this);Y&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),H+=L+"</"+c.name+">"+this.newline}return H},m.prototype.processingInstruction=function(c,y){var C;return C=this.space(y)+"<?"+c.target,c.value&&(C+=" "+c.value),C+=this.spacebeforeslash+"?>"+this.newline,C},m.prototype.raw=function(c,y){return this.space(y)+c.value+this.newline},m.prototype.text=function(c,y){return this.space(y)+c.value+this.newline},m.prototype.dtdAttList=function(c,y){var C;return C=this.space(y)+"<!ATTLIST "+c.elementName+" "+c.attributeName+" "+c.attributeType,c.defaultValueType!=="#DEFAULT"&&(C+=" "+c.defaultValueType),c.defaultValue&&(C+=' "'+c.defaultValue+'"'),C+=this.spacebeforeslash+">"+this.newline,C},m.prototype.dtdElement=function(c,y){return this.space(y)+"<!ELEMENT "+c.name+" "+c.value+this.spacebeforeslash+">"+this.newline},m.prototype.dtdEntity=function(c,y){var C;return C=this.space(y)+"<!ENTITY",c.pe&&(C+=" %"),C+=" "+c.name,c.value?C+=' "'+c.value+'"':(c.pubID&&c.sysID?C+=' PUBLIC "'+c.pubID+'" "'+c.sysID+'"':c.sysID&&(C+=' SYSTEM "'+c.sysID+'"'),c.nData&&(C+=" NDATA "+c.nData)),C+=this.spacebeforeslash+">"+this.newline,C},m.prototype.dtdNotation=function(c,y){var C;return C=this.space(y)+"<!NOTATION "+c.name,c.pubID&&c.sysID?C+=' PUBLIC "'+c.pubID+'" "'+c.sysID+'"':c.pubID?C+=' PUBLIC "'+c.pubID+'"':c.sysID&&(C+=' SYSTEM "'+c.sysID+'"'),C+=this.spacebeforeslash+">"+this.newline,C},m.prototype.openNode=function(c,y){var C,A,E,w;if(y||(y=0),c instanceof p){E=this.space(y)+"<"+c.name,w=c.attributes;for(A in w)d.call(w,A)&&(C=w[A],E+=this.attribute(C));return E+=(c.children?">":"/>")+this.newline,E}else return E=this.space(y)+"<!DOCTYPE "+c.rootNodeName,c.pubID&&c.sysID?E+=' PUBLIC "'+c.pubID+'" "'+c.sysID+'"':c.sysID&&(E+=' SYSTEM "'+c.sysID+'"'),E+=(c.children?" [":">")+this.newline,E},m.prototype.closeNode=function(c,y){switch(y||(y=0),!1){case!(c instanceof p):return this.space(y)+"</"+c.name+">"+this.newline;case!(c instanceof a):return this.space(y)+"]>"+this.newline}},m})(h)}).call(bl)),zr.exports}var Dl=Er.exports,Bu;function _l(){return Bu||(Bu=1,(function(){var e,r,t,n,s=function(u,a){for(var o in a)i.call(a,o)&&(u[o]=a[o]);function p(){this.constructor=u}return p.prototype=a.prototype,u.prototype=new p,u.__super__=a.prototype,u},i={}.hasOwnProperty;n=wt().isPlainObject,e=Ue(),t=uo(),r=qi(),Er.exports=(function(u){s(a,u);function a(o){a.__super__.constructor.call(this,null),this.name="?xml",o||(o={}),o.writer||(o.writer=new r),this.options=o,this.stringify=new t(o),this.isDocument=!0}return a.prototype.end=function(o){var p;return o?n(o)&&(p=o,o=this.options.writer.set(p)):o=this.options.writer,o.document(this)},a.prototype.toString=function(o){return this.options.writer.set(o).document(this)},a})(e)}).call(Dl)),Er.exports}var Ur={exports:{}},El=Ur.exports,Lu;function Al(){return Lu||(Lu=1,(function(){var e,r,t,n,s,i,u,a,o,p,g,b,v,h,_,d,l,m,c,y,C={}.hasOwnProperty;y=wt(),m=y.isObject,l=y.isFunction,c=y.isPlainObject,d=y.getValue,p=an(),r=sn(),t=on(),b=mn(),_=vn(),g=gn(),a=ln(),o=dn(),n=cn(),i=fn(),s=hn(),u=pn(),e=io(),h=uo(),v=qi(),Ur.exports=(function(){function A(E,w,T){var S;this.name="?xml",E||(E={}),E.writer?c(E.writer)&&(S=E.writer,E.writer=new v(S)):E.writer=new v(E),this.options=E,this.writer=E.writer,this.stringify=new h(E),this.onDataCallback=w||function(){},this.onEndCallback=T||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return A.prototype.node=function(E,w,T){var S,O;if(E==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(E));return this.openCurrent(),E=d(E),w===null&&T==null&&(S=[{},null],w=S[0],T=S[1]),w==null&&(w={}),w=d(w),m(w)||(O=[w,T],T=O[0],w=O[1]),this.currentNode=new p(this,E,w),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,T!=null&&this.text(T),this},A.prototype.element=function(E,w,T){return this.currentNode&&this.currentNode instanceof o?this.dtdElement.apply(this,arguments):this.node(E,w,T)},A.prototype.attribute=function(E,w){var T,S;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(E));if(E!=null&&(E=d(E)),m(E))for(T in E)C.call(E,T)&&(S=E[T],this.attribute(T,S));else l(w)&&(w=w.apply()),(!this.options.skipNullAttributes||w!=null)&&(this.currentNode.attributes[E]=new e(this,E,w));return this},A.prototype.text=function(E){var w;return this.openCurrent(),w=new _(this,E),this.onData(this.writer.text(w,this.currentLevel+1),this.currentLevel+1),this},A.prototype.cdata=function(E){var w;return this.openCurrent(),w=new r(this,E),this.onData(this.writer.cdata(w,this.currentLevel+1),this.currentLevel+1),this},A.prototype.comment=function(E){var w;return this.openCurrent(),w=new t(this,E),this.onData(this.writer.comment(w,this.currentLevel+1),this.currentLevel+1),this},A.prototype.raw=function(E){var w;return this.openCurrent(),w=new b(this,E),this.onData(this.writer.raw(w,this.currentLevel+1),this.currentLevel+1),this},A.prototype.instruction=function(E,w){var T,S,O,H,R;if(this.openCurrent(),E!=null&&(E=d(E)),w!=null&&(w=d(w)),Array.isArray(E))for(T=0,H=E.length;T<H;T++)S=E[T],this.instruction(S);else if(m(E))for(S in E)C.call(E,S)&&(O=E[S],this.instruction(S,O));else l(w)&&(w=w.apply()),R=new g(this,E,w),this.onData(this.writer.processingInstruction(R,this.currentLevel+1),this.currentLevel+1);return this},A.prototype.declaration=function(E,w,T){var S;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return S=new a(this,E,w,T),this.onData(this.writer.declaration(S,this.currentLevel+1),this.currentLevel+1),this},A.prototype.doctype=function(E,w,T){if(this.openCurrent(),E==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new o(this,w,T),this.currentNode.rootNodeName=E,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},A.prototype.dtdElement=function(E,w){var T;return this.openCurrent(),T=new s(this,E,w),this.onData(this.writer.dtdElement(T,this.currentLevel+1),this.currentLevel+1),this},A.prototype.attList=function(E,w,T,S,O){var H;return this.openCurrent(),H=new n(this,E,w,T,S,O),this.onData(this.writer.dtdAttList(H,this.currentLevel+1),this.currentLevel+1),this},A.prototype.entity=function(E,w){var T;return this.openCurrent(),T=new i(this,!1,E,w),this.onData(this.writer.dtdEntity(T,this.currentLevel+1),this.currentLevel+1),this},A.prototype.pEntity=function(E,w){var T;return this.openCurrent(),T=new i(this,!0,E,w),this.onData(this.writer.dtdEntity(T,this.currentLevel+1),this.currentLevel+1),this},A.prototype.notation=function(E,w){var T;return this.openCurrent(),T=new u(this,E,w),this.onData(this.writer.dtdNotation(T,this.currentLevel+1),this.currentLevel+1),this},A.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},A.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},A.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},A.prototype.openNode=function(E){if(!E.isOpen)return!this.root&&this.currentLevel===0&&E instanceof p&&(this.root=E),this.onData(this.writer.openNode(E,this.currentLevel),this.currentLevel),E.isOpen=!0},A.prototype.closeNode=function(E){if(!E.isClosed)return this.onData(this.writer.closeNode(E,this.currentLevel),this.currentLevel),E.isClosed=!0},A.prototype.onData=function(E,w){return this.documentStarted=!0,this.onDataCallback(E,w+1)},A.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},A.prototype.debugInfo=function(E){return E==null?"":"node: <"+E+">"},A.prototype.ele=function(){return this.element.apply(this,arguments)},A.prototype.nod=function(E,w,T){return this.node(E,w,T)},A.prototype.txt=function(E){return this.text(E)},A.prototype.dat=function(E){return this.cdata(E)},A.prototype.com=function(E){return this.comment(E)},A.prototype.ins=function(E,w){return this.instruction(E,w)},A.prototype.dec=function(E,w,T){return this.declaration(E,w,T)},A.prototype.dtd=function(E,w,T){return this.doctype(E,w,T)},A.prototype.e=function(E,w,T){return this.element(E,w,T)},A.prototype.n=function(E,w,T){return this.node(E,w,T)},A.prototype.t=function(E){return this.text(E)},A.prototype.d=function(E){return this.cdata(E)},A.prototype.c=function(E){return this.comment(E)},A.prototype.r=function(E){return this.raw(E)},A.prototype.i=function(E,w){return this.instruction(E,w)},A.prototype.att=function(){return this.currentNode&&this.currentNode instanceof o?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},A.prototype.a=function(){return this.currentNode&&this.currentNode instanceof o?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},A.prototype.ent=function(E,w){return this.entity(E,w)},A.prototype.pent=function(E,w){return this.pEntity(E,w)},A.prototype.not=function(E,w){return this.notation(E,w)},A})()}).call(El)),Ur.exports}var Wr={exports:{}},xl=Wr.exports,Fu;function Cl(){return Fu||(Fu=1,(function(){var e,r,t,n,s,i,u,a,o,p,g,b,v,h,_=function(l,m){for(var c in m)d.call(m,c)&&(l[c]=m[c]);function y(){this.constructor=l}return y.prototype=m.prototype,l.prototype=new y,l.__super__=m.prototype,l},d={}.hasOwnProperty;u=ln(),a=dn(),e=sn(),r=on(),p=an(),b=mn(),v=vn(),g=gn(),o=Pi(),t=cn(),n=hn(),s=fn(),i=pn(),h=ao(),Wr.exports=(function(l){_(m,l);function m(c,y){m.__super__.constructor.call(this,y),this.stream=c}return m.prototype.document=function(c){var y,C,A,E,w,T,S,O;for(T=c.children,C=0,E=T.length;C<E;C++)y=T[C],y.isLastRootNode=!1;for(c.children[c.children.length-1].isLastRootNode=!0,S=c.children,O=[],A=0,w=S.length;A<w;A++)if(y=S[A],!(y instanceof o))switch(!1){case!(y instanceof u):O.push(this.declaration(y));break;case!(y instanceof a):O.push(this.docType(y));break;case!(y instanceof r):O.push(this.comment(y));break;case!(y instanceof g):O.push(this.processingInstruction(y));break;default:O.push(this.element(y))}return O},m.prototype.attribute=function(c){return this.stream.write(" "+c.name+'="'+c.value+'"')},m.prototype.cdata=function(c,y){return this.stream.write(this.space(y)+"<![CDATA["+c.text+"]]>"+this.endline(c))},m.prototype.comment=function(c,y){return this.stream.write(this.space(y)+"<!-- "+c.text+" -->"+this.endline(c))},m.prototype.declaration=function(c,y){return this.stream.write(this.space(y)),this.stream.write('<?xml version="'+c.version+'"'),c.encoding!=null&&this.stream.write(' encoding="'+c.encoding+'"'),c.standalone!=null&&this.stream.write(' standalone="'+c.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(c))},m.prototype.docType=function(c,y){var C,A,E,w;if(y||(y=0),this.stream.write(this.space(y)),this.stream.write("<!DOCTYPE "+c.root().name),c.pubID&&c.sysID?this.stream.write(' PUBLIC "'+c.pubID+'" "'+c.sysID+'"'):c.sysID&&this.stream.write(' SYSTEM "'+c.sysID+'"'),c.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(c)),w=c.children,A=0,E=w.length;A<E;A++)switch(C=w[A],!1){case!(C instanceof t):this.dtdAttList(C,y+1);break;case!(C instanceof n):this.dtdElement(C,y+1);break;case!(C instanceof s):this.dtdEntity(C,y+1);break;case!(C instanceof i):this.dtdNotation(C,y+1);break;case!(C instanceof e):this.cdata(C,y+1);break;case!(C instanceof r):this.comment(C,y+1);break;case!(C instanceof g):this.processingInstruction(C,y+1);break;default:throw new Error("Unknown DTD node type: "+C.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(c))},m.prototype.element=function(c,y){var C,A,E,w,T,S,O,H;y||(y=0),H=this.space(y),this.stream.write(H+"<"+c.name),S=c.attributes;for(T in S)d.call(S,T)&&(C=S[T],this.attribute(C));if(c.children.length===0||c.children.every(function(R){return R.value===""}))this.allowEmpty?this.stream.write("></"+c.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&c.children.length===1&&c.children[0].value!=null)this.stream.write(">"),this.stream.write(c.children[0].value),this.stream.write("</"+c.name+">");else{for(this.stream.write(">"+this.newline),O=c.children,E=0,w=O.length;E<w;E++)switch(A=O[E],!1){case!(A instanceof e):this.cdata(A,y+1);break;case!(A instanceof r):this.comment(A,y+1);break;case!(A instanceof p):this.element(A,y+1);break;case!(A instanceof b):this.raw(A,y+1);break;case!(A instanceof v):this.text(A,y+1);break;case!(A instanceof g):this.processingInstruction(A,y+1);break;case!(A instanceof o):break;default:throw new Error("Unknown XML node type: "+A.constructor.name)}this.stream.write(H+"</"+c.name+">")}return this.stream.write(this.endline(c))},m.prototype.processingInstruction=function(c,y){return this.stream.write(this.space(y)+"<?"+c.target),c.value&&this.stream.write(" "+c.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(c))},m.prototype.raw=function(c,y){return this.stream.write(this.space(y)+c.value+this.endline(c))},m.prototype.text=function(c,y){return this.stream.write(this.space(y)+c.value+this.endline(c))},m.prototype.dtdAttList=function(c,y){return this.stream.write(this.space(y)+"<!ATTLIST "+c.elementName+" "+c.attributeName+" "+c.attributeType),c.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+c.defaultValueType),c.defaultValue&&this.stream.write(' "'+c.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(c))},m.prototype.dtdElement=function(c,y){return this.stream.write(this.space(y)+"<!ELEMENT "+c.name+" "+c.value),this.stream.write(this.spacebeforeslash+">"+this.endline(c))},m.prototype.dtdEntity=function(c,y){return this.stream.write(this.space(y)+"<!ENTITY"),c.pe&&this.stream.write(" %"),this.stream.write(" "+c.name),c.value?this.stream.write(' "'+c.value+'"'):(c.pubID&&c.sysID?this.stream.write(' PUBLIC "'+c.pubID+'" "'+c.sysID+'"'):c.sysID&&this.stream.write(' SYSTEM "'+c.sysID+'"'),c.nData&&this.stream.write(" NDATA "+c.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(c))},m.prototype.dtdNotation=function(c,y){return this.stream.write(this.space(y)+"<!NOTATION "+c.name),c.pubID&&c.sysID?this.stream.write(' PUBLIC "'+c.pubID+'" "'+c.sysID+'"'):c.pubID?this.stream.write(' PUBLIC "'+c.pubID+'"'):c.sysID&&this.stream.write(' SYSTEM "'+c.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(c))},m.prototype.endline=function(c){return c.isLastRootNode?"":this.newline},m})(h)}).call(xl)),Wr.exports}var Mu;function Tl(){return Mu||(Mu=1,(function(){var e,r,t,n,s,i,u;u=wt(),s=u.assign,i=u.isFunction,e=_l(),r=Al(),n=qi(),t=Cl(),At.create=function(a,o,p,g){var b,v;if(a==null)throw new Error("Root element needs a name.");return g=s({},o,p,g),b=new e(g),v=b.element(a),g.headless||(b.declaration(g),(g.pubID!=null||g.sysID!=null)&&b.doctype(g)),v},At.begin=function(a,o,p){var g;return i(a)&&(g=[a,o],o=g[0],p=g[1],a={}),o?new r(a,o,p):new e(a)},At.stringWriter=function(a){return new n(a)},At.streamWriter=function(a,o){return new t(a,o)}}).call(At)),At}var Pu;function kl(){if(Pu)return Tn;Pu=1;var e=ke,r=Tl();Tn.writeString=t;function t(s,i){var u=e.invert(i),a={element:p,text:n};function o(v,h){return a[h.type](v,h)}function p(v,h){var _=v.element(g(h.name),h.attributes);h.children.forEach(function(d){o(_,d)})}function g(v){var h=/^\{(.*)\}(.*)$/.exec(v);if(h){var _=u[h[1]];return _+(_===""?"":":")+h[2]}else return v}function b(v){var h=r.create(g(v.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return e.forEach(i,function(_,d){var l="xmlns"+(d===""?"":":"+d);h.attribute(l,_)}),v.children.forEach(function(_){o(h,_)}),h.end()}return b(s)}function n(s,i){s.text(i.value)}return Tn}var qu;function zi(){if(qu)return ht;qu=1;var e=no();return ht.Element=e.Element,ht.element=e.element,ht.emptyElement=e.emptyElement,ht.text=e.text,ht.readString=rl().readString,ht.writeString=kl().writeString,ht}var zu;function Sl(){if(zu)return dr;zu=1;var e=ke,r=lt(),t=zi();dr.read=s,dr.readXmlFromZipFile=i;var n={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function s(o){return t.readString(o,n).then(function(p){return a(p)[0]})}function i(o,p){return o.exists(p)?o.read(p,"utf-8").then(u).then(s):r.resolve(null)}function u(o){return o.replace(/^\uFEFF/g,"")}function a(o){return o.type==="element"?o.name==="mc:AlternateContent"?o.firstOrEmpty("mc:Fallback").children:(o.children=e.flatten(o.children.map(a,!0)),[o]):[o]}return dr}var gr={},Ye={},yr={},Xu;function Nl(){if(Xu)return yr;Xu=1,Object.defineProperty(yr,"__esModule",{value:!0});var e={SYMBOL:{32:32,33:33,34:8704,35:35,36:8707,37:37,38:38,39:8717,40:40,41:41,42:42,43:43,44:44,45:8722,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:8773,65:913,66:914,67:935,68:916,69:917,70:934,71:915,72:919,73:921,74:977,75:922,76:923,77:924,78:925,79:927,80:928,81:920,82:929,83:931,84:932,85:933,86:962,87:937,88:926,89:936,90:918,91:91,92:8756,93:93,94:8869,95:95,96:8254,97:945,98:946,99:967,100:948,101:949,102:966,103:947,104:951,105:953,106:981,107:954,108:955,109:956,110:957,111:959,112:960,113:952,114:961,115:963,116:964,117:965,118:982,119:969,120:958,121:968,122:950,123:123,124:124,125:125,126:126,160:8364,161:978,162:8242,163:8804,164:8260,165:8734,166:402,167:9827,168:9830,169:9829,170:9824,171:8596,172:8592,173:8593,174:8594,175:8595,176:176,177:177,178:8243,179:8805,180:215,181:8733,182:8706,183:8226,184:247,185:8800,186:8801,187:8776,188:8230,189:9168,190:9135,191:8629,192:8501,193:8465,194:8476,195:8472,196:8855,197:8853,198:8709,199:8745,200:8746,201:8835,202:8839,203:8836,204:8834,205:8838,206:8712,207:8713,208:8736,209:8711,210:174,211:169,212:8482,213:8719,214:8730,215:8901,216:172,217:8743,218:8744,219:8660,220:8656,221:8657,222:8658,223:8659,224:9674,225:12296,226:174,227:169,228:8482,229:8721,230:9115,231:9116,232:9117,233:9121,234:9122,235:9123,236:9127,237:9128,238:9129,239:9130,240:63743,241:12297,242:8747,243:8992,244:9134,245:8993,246:9118,247:9119,248:9120,249:9124,250:9125,251:9126,252:9131,253:9132,254:9133},WEBDINGS:{32:32,33:128375,34:128376,35:128370,36:128374,37:127942,38:127894,39:128391,40:128488,41:128489,42:128496,43:128497,44:127798,45:127895,46:128638,47:128636,48:128469,49:128470,50:128471,51:9204,52:9205,53:9206,54:9207,55:9194,56:9193,57:9198,58:9197,59:9208,60:9209,61:9210,62:128474,63:128499,64:128736,65:127959,66:127960,67:127961,68:127962,69:127964,70:127981,71:127963,72:127968,73:127958,74:127965,75:128739,76:128269,77:127956,78:128065,79:128066,80:127966,81:127957,82:128740,83:127967,84:128755,85:128364,86:128363,87:128360,88:128264,89:127892,90:127893,91:128492,92:128637,93:128493,94:128490,95:128491,96:11156,97:10004,98:128690,99:11036,100:128737,101:128230,102:128753,103:11035,104:128657,105:128712,106:128745,107:128752,108:128968,109:128372,110:11044,111:128741,112:128660,113:128472,114:128473,115:10067,116:128754,117:128647,118:128653,119:9971,120:10680,121:8854,122:128685,123:128494,124:9168,125:128495,126:128498,128:128697,129:128698,130:128713,131:128714,132:128700,133:128125,134:127947,135:9975,136:127938,137:127948,138:127946,139:127940,140:127949,141:127950,142:128664,143:128480,144:128738,145:128176,146:127991,147:128179,148:128106,149:128481,150:128482,151:128483,152:10031,153:128388,154:128389,155:128387,156:128390,157:128441,158:128442,159:128443,160:128373,161:128368,162:128445,163:128446,164:128203,165:128466,166:128467,167:128366,168:128218,169:128478,170:128479,171:128451,172:128450,173:128444,174:127917,175:127900,176:127896,177:127897,178:127911,179:128191,180:127902,181:128247,182:127903,183:127916,184:128253,185:128249,186:128254,187:128251,188:127898,189:127899,190:128250,191:128187,192:128421,193:128422,194:128423,195:128377,196:127918,197:128379,198:128380,199:128223,200:128385,201:128384,202:128424,203:128425,204:128447,205:128426,206:128476,207:128274,208:128275,209:128477,210:128229,211:128228,212:128371,213:127779,214:127780,215:127781,216:127782,217:9729,218:127784,219:127783,220:127785,221:127786,222:127788,223:127787,224:127772,225:127777,226:128715,227:128719,228:127869,229:127864,230:128718,231:128717,232:9413,233:9855,234:128710,235:128392,236:127891,237:128484,238:128485,239:128486,240:128487,241:128746,242:128063,243:128038,244:128031,245:128021,246:128008,247:128620,248:128622,249:128621,250:128623,251:128506,252:127757,253:127759,254:127758,255:128330},WINGDINGS:{32:32,33:128393,34:9986,35:9985,36:128083,37:128365,38:128366,39:128367,40:128383,41:9990,42:128386,43:128387,44:128234,45:128235,46:128236,47:128237,48:128448,49:128449,50:128462,51:128463,52:128464,53:128452,54:8987,55:128430,56:128432,57:128434,58:128435,59:128436,60:128427,61:128428,62:9991,63:9997,64:128398,65:9996,66:128399,67:128077,68:128078,69:9756,70:9758,71:9757,72:9759,73:128400,74:9786,75:128528,76:9785,77:128163,78:128369,79:127987,80:127985,81:9992,82:9788,83:127778,84:10052,85:128326,86:10014,87:128328,88:10016,89:10017,90:9770,91:9775,92:128329,93:9784,94:9800,95:9801,96:9802,97:9803,98:9804,99:9805,100:9806,101:9807,102:9808,103:9809,104:9810,105:9811,106:128624,107:128629,108:9899,109:128318,110:9724,111:128911,112:128912,113:10065,114:10066,115:128927,116:10731,117:9670,118:10070,119:11049,120:8999,121:11193,122:8984,123:127989,124:127990,125:128630,126:128631,127:9647,128:127243,129:10112,130:10113,131:10114,132:10115,133:10116,134:10117,135:10118,136:10119,137:10120,138:10121,139:127244,140:10122,141:10123,142:10124,143:10125,144:10126,145:10127,146:10128,147:10129,148:10130,149:10131,150:128610,151:128608,152:128609,153:128611,154:128606,155:128604,156:128605,157:128607,158:8729,159:8226,160:11037,161:11096,162:128902,163:128904,164:128906,165:128907,166:128319,167:9642,168:128910,169:128961,170:128965,171:9733,172:128971,173:128975,174:128979,175:128977,176:11216,177:8982,178:11214,179:11215,180:11217,181:10026,182:10032,183:128336,184:128337,185:128338,186:128339,187:128340,188:128341,189:128342,190:128343,191:128344,192:128345,193:128346,194:128347,195:11184,196:11185,197:11186,198:11187,199:11188,200:11189,201:11190,202:11191,203:128618,204:128619,205:128597,206:128596,207:128599,208:128598,209:128592,210:128593,211:128594,212:128595,213:9003,214:8998,215:11160,216:11162,217:11161,218:11163,219:11144,220:11146,221:11145,222:11147,223:129128,224:129130,225:129129,226:129131,227:129132,228:129133,229:129135,230:129134,231:129144,232:129146,233:129145,234:129147,235:129148,236:129149,237:129151,238:129150,239:8678,240:8680,241:8679,242:8681,243:11012,244:8691,245:11009,246:11008,247:11011,248:11010,249:129196,250:129197,251:128502,252:10003,253:128503,254:128505},"WINGDINGS 2":{32:32,33:128394,34:128395,35:128396,36:128397,37:9988,38:9984,39:128382,40:128381,41:128453,42:128454,43:128455,44:128456,45:128457,46:128458,47:128459,48:128460,49:128461,50:128203,51:128465,52:128468,53:128437,54:128438,55:128439,56:128440,57:128429,58:128431,59:128433,60:128402,61:128403,62:128408,63:128409,64:128410,65:128411,66:128072,67:128073,68:128412,69:128413,70:128414,71:128415,72:128416,73:128417,74:128070,75:128071,76:128418,77:128419,78:128401,79:128500,80:128504,81:128501,82:9745,83:11197,84:9746,85:11198,86:11199,87:128711,88:10680,89:128625,90:128628,91:128626,92:128627,93:8253,94:128633,95:128634,96:128635,97:128614,98:128612,99:128613,100:128615,101:128602,102:128600,103:128601,104:128603,105:9450,106:9312,107:9313,108:9314,109:9315,110:9316,111:9317,112:9318,113:9319,114:9320,115:9321,116:9471,117:10102,118:10103,119:10104,120:10105,121:10106,122:10107,123:10108,124:10109,125:10110,126:10111,128:9737,129:127765,130:9789,131:9790,132:11839,133:10013,134:128327,135:128348,136:128349,137:128350,138:128351,139:128352,140:128353,141:128354,142:128355,143:128356,144:128357,145:128358,146:128359,147:128616,148:128617,149:8901,150:128900,151:10625,152:9679,153:9675,154:128901,155:128903,156:128905,157:8857,158:10687,159:128908,160:128909,161:9726,162:9632,163:9633,164:128913,165:128914,166:128915,167:128916,168:9635,169:128917,170:128918,171:128919,172:128920,173:11049,174:11045,175:9671,176:128922,177:9672,178:128923,179:128924,180:128925,181:128926,182:11050,183:11047,184:9674,185:128928,186:9686,187:9687,188:11210,189:11211,190:11200,191:11201,192:11039,193:11202,194:11043,195:11042,196:11203,197:11204,198:128929,199:128930,200:128931,201:128932,202:128933,203:128934,204:128935,205:128936,206:128937,207:128938,208:128939,209:128940,210:128941,211:128942,212:128943,213:128944,214:128945,215:128946,216:128947,217:128948,218:128949,219:128950,220:128951,221:128952,222:128953,223:128954,224:128955,225:128956,226:128957,227:128958,228:128959,229:128960,230:128962,231:128964,232:128966,233:128969,234:128970,235:10038,236:128972,237:128974,238:128976,239:128978,240:10041,241:128963,242:128967,243:10031,244:128973,245:128980,246:11212,247:11213,248:8251,249:8258},"WINGDINGS 3":{32:32,33:11104,34:11106,35:11105,36:11107,37:11110,38:11111,39:11113,40:11112,41:11120,42:11122,43:11121,44:11123,45:11126,46:11128,47:11131,48:11133,49:11108,50:11109,51:11114,52:11116,53:11115,54:11117,55:11085,56:11168,57:11169,58:11170,59:11171,60:11172,61:11173,62:11174,63:11175,64:11152,65:11153,66:11154,67:11155,68:11136,69:11139,70:11134,71:11135,72:11140,73:11142,74:11141,75:11143,76:11151,77:11149,78:11150,79:11148,80:11118,81:11119,82:9099,83:8996,84:8963,85:8997,86:9251,87:9085,88:8682,89:11192,90:129184,91:129185,92:129186,93:129187,94:129188,95:129189,96:129190,97:129191,98:129192,99:129193,100:129194,101:129195,102:129104,103:129106,104:129105,105:129107,106:129108,107:129109,108:129111,109:129110,110:129112,111:129113,112:9650,113:9660,114:9651,115:9661,116:9664,117:9654,118:9665,119:9655,120:9699,121:9698,122:9700,123:9701,124:128896,125:128898,126:128897,128:128899,129:11205,130:11206,131:11207,132:11208,133:11164,134:11166,135:11165,136:11167,137:129040,138:129042,139:129041,140:129043,141:129044,142:129046,143:129045,144:129047,145:129048,146:129050,147:129049,148:129051,149:129052,150:129054,151:129053,152:129055,153:129024,154:129026,155:129025,156:129027,157:129028,158:129030,159:129029,160:129031,161:129032,162:129034,163:129033,164:129035,165:129056,166:129058,167:129060,168:129062,169:129064,170:129066,171:129068,172:129180,173:129181,174:129182,175:129183,176:129070,177:129072,178:129074,179:129076,180:129078,181:129080,182:129082,183:129081,184:129083,185:129176,186:129178,187:129177,188:129179,189:129084,190:129086,191:129085,192:129087,193:129088,194:129090,195:129089,196:129091,197:129092,198:129094,199:129093,200:129095,201:11176,202:11177,203:11178,204:11179,205:11180,206:11181,207:11182,208:11183,209:129120,210:129122,211:129121,212:129123,213:129124,214:129125,215:129127,216:129126,217:129136,218:129138,219:129137,220:129139,221:129140,222:129141,223:129143,224:129142,225:129152,226:129154,227:129153,228:129155,229:129156,230:129157,231:129159,232:129158,233:129168,234:129170,235:129169,236:129171,237:129172,238:129174,239:129173,240:129175}};return yr.default=e,yr}var Uu;function Il(){if(Uu)return Ye;Uu=1;var e=Ye&&Ye.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.hex=Ye.dec=Ye.codePoint=void 0;var r=e(Nl()),t=String.fromCodePoint?String.fromCodePoint:u;function n(a,o){var p=r.default[a.toUpperCase()];if(p!==void 0){var g=p[o];if(g!==void 0)return{codePoint:g,string:t(g)}}}Ye.codePoint=n;function s(a,o){return n(a,parseInt(o,10))}Ye.dec=s;function i(a,o){return n(a,parseInt(o,16))}Ye.hex=i;function u(a){if(a<=65535)return String.fromCharCode(a);var o=Math.floor((a-65536)/1024)+55296,p=(a-65536)%1024+56320;return String.fromCharCode(o,p)}return Ye}var pt={},Wu;function so(){if(Wu)return pt;Wu=1;var e=ke;pt.paragraph=r,pt.run=t,pt._elements=s,pt._elementsOfType=n,pt.getDescendantsOfType=i,pt.getDescendants=u;function r(o){return n("paragraph",o)}function t(o){return n("run",o)}function n(o,p){return s(function(g){return g.type===o?p(g):g})}function s(o){return function p(g){if(g.children){var b=e.map(g.children,p);g=e.extend(g,{children:b})}return o(g)}}function i(o,p){return u(o).filter(function(g){return g.type===p})}function u(o){var p=[];return a(o,function(g){p.push(g)}),p}function a(o,p){o.children&&o.children.forEach(function(g){a(g,p),p(g)})}return pt}var wr={},Vu;function Rl(){if(Vu)return wr;Vu=1,wr.uriToZipEntryName=e,wr.replaceFragment=r;function e(t,n){return n.charAt(0)==="/"?n.substr(1):t+"/"+n}function r(t,n){var s=t.indexOf("#");return s!==-1&&(t=t.substring(0,s)),t+"#"+n}return wr}var Hu;function Ol(){if(Hu)return gr;Hu=1,gr.createBodyReader=o,gr._readNumberingProperties=g;var e=Il(),r=ke,t=Nt(),n=ot().Result,s=ot().warning,i=zi(),u=so(),a=Rl();function o(A){return{readXmlElement:function(E){return new p(A).readXmlElement(E)},readXmlElements:function(E){return new p(A).readXmlElements(E)}}}function p(A){var E=[],w=[],T=[],S=A.relationships,O=A.contentTypes,H=A.docxFile,R=A.files,M=A.numbering,D=A.styles;function L(z){var K=z.map(Y);return c(K)}function Y(z){if(z.type==="element"){var K=I[z.name];if(K)return K(z);if(!Object.prototype.hasOwnProperty.call(v,z.name)){var ce=s("An unrecognised element was ignored: "+z.name);return h([ce])}}return _()}function W(z){return ue(z).map(function(K){return{type:"paragraphProperties",styleId:K.styleId,styleName:K.name,alignment:z.firstOrEmpty("w:jc").attributes["w:val"],numbering:g(K.styleId,z.firstOrEmpty("w:numPr"),M),indent:ne(z.firstOrEmpty("w:ind"))}})}function ne(z){return{start:z.attributes["w:start"]||z.attributes["w:left"],end:z.attributes["w:end"]||z.attributes["w:right"],firstLine:z.attributes["w:firstLine"],hanging:z.attributes["w:hanging"]}}function G(z){return re(z).map(function(K){var ce=z.firstOrEmpty("w:sz").attributes["w:val"],fe=/^[0-9]+$/.test(ce)?parseInt(ce,10)/2:null;return{type:"runProperties",styleId:K.styleId,styleName:K.name,verticalAlignment:z.firstOrEmpty("w:vertAlign").attributes["w:val"],font:z.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:fe,isBold:V(z.first("w:b")),isUnderline:ae(z.first("w:u")),isItalic:V(z.first("w:i")),isStrikethrough:V(z.first("w:strike")),isAllCaps:V(z.first("w:caps")),isSmallCaps:V(z.first("w:smallCaps")),highlight:ie(z.firstOrEmpty("w:highlight").attributes["w:val"])}})}function ae(z){if(z){var K=z.attributes["w:val"];return K!==void 0&&K!=="false"&&K!=="0"&&K!=="none"}else return!1}function V(z){if(z){var K=z.attributes["w:val"];return K!=="false"&&K!=="0"}else return!1}function X(z){return z!=="false"&&z!=="0"}function ie(z){return!z||z==="none"?null:z}function ue(z){return we(z,"w:pStyle","Paragraph",D.findParagraphStyleById)}function re(z){return we(z,"w:rStyle","Run",D.findCharacterStyleById)}function se(z){return we(z,"w:tblStyle","Table",D.findTableStyleById)}function we(z,K,ce,fe){var ge=[],be=z.first(K),xe=null,Ie=null;if(be&&(xe=be.attributes["w:val"],xe)){var Pe=fe(xe);Pe?Ie=Pe.name:ge.push(Ge(ce,xe))}return l({styleId:xe,name:Ie},ge)}function me(z){var K=z.attributes["w:fldCharType"];if(K==="begin")E.push({type:"begin",fldChar:z}),w=[];else if(K==="end"){if(E.length===0)return h([s("Ignoring complex field end character without corresponding start character")]);var ce=E.pop();if(ce.type==="begin"&&(ce=de(ce)),ce.type==="checkbox")return d(t.checkbox({checked:ce.checked}))}else if(K==="separate"){if(E.length===0)return h([s("Ignoring complex field separator character without corresponding start character")]);var fe=E.pop(),ge=de(fe);E.push(ge)}return _()}function pe(){var z=r.last(E.filter(function(K){return K.type==="hyperlink"}));return z?z.options:null}function de(z){return ye(w.join(""),z.type==="begin"?z.fldChar:i.emptyElement)}function ye(z,K){var ce=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(z);if(ce){var fe=ce[2]===void 0?ce[3]:ce[2],ge=ce[1]===void 0?{href:fe}:{anchor:fe};return{type:"hyperlink",options:ge}}var be=/\s*FORMCHECKBOX\s*/.exec(z);if(be){var xe=K.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),Ie=xe.first("w:checked"),Pe=Ie==null?V(xe.first("w:default")):V(Ie);return{type:"checkbox",checked:Pe}}return{type:"unknown"}}function De(z){return w.push(z.text()),_()}function Ce(z){var K=z.attributes["w:font"],ce=z.attributes["w:char"],fe=e.hex(K,ce);return fe==null&&/^F0..$/.test(ce)&&(fe=e.hex(K,ce.substring(2))),fe==null?h([s("A w:sym element with an unsupported character was ignored: char "+ce+" in font "+K)]):d(new t.Text(fe.string))}function f(z){return function(K){var ce=K.attributes["w:id"];return d(new t.NoteReference({noteType:z,noteId:ce}))}}function q(z){return d(t.commentReference({commentId:z.attributes["w:id"]}))}function P(z){return L(z.children)}var I={"w:p":function(z){var K=z.firstOrEmpty("w:pPr"),ce=!!K.firstOrEmpty("w:rPr").first("w:del");if(ce)return z.children.forEach(function(ge){T.push(ge)}),_();var fe=z.children;return T.length>0&&(fe=T.concat(fe),T=[]),m.map(W(K),L(fe),function(ge,be){return new t.Paragraph(be,ge)}).insertExtra()},"w:r":function(z){return m.map(G(z.firstOrEmpty("w:rPr")),L(z.children),function(K,ce){var fe=pe();return fe!==null&&(ce=[new t.Hyperlink(ce,fe)]),new t.Run(ce,K)})},"w:fldChar":me,"w:instrText":De,"w:t":function(z){return d(new t.Text(z.text()))},"w:tab":function(z){return d(new t.Tab)},"w:noBreakHyphen":function(){return d(new t.Text("‑"))},"w:softHyphen":function(z){return d(new t.Text("­"))},"w:sym":Ce,"w:hyperlink":function(z){var K=z.attributes["r:id"],ce=z.attributes["w:anchor"];return L(z.children).map(function(fe){function ge(xe){var Ie=z.attributes["w:tgtFrame"]||null;return new t.Hyperlink(fe,r.extend({targetFrame:Ie},xe))}if(K){var be=S.findTargetByRelationshipId(K);return ce&&(be=a.replaceFragment(be,ce)),ge({href:be})}else return ce?ge({anchor:ce}):fe})},"w:tbl":N,"w:tr":Z,"w:tc":$,"w:footnoteReference":f("footnote"),"w:endnoteReference":f("endnote"),"w:commentReference":q,"w:br":function(z){var K=z.attributes["w:type"];return K==null||K==="textWrapping"?d(t.lineBreak):K==="page"?d(t.pageBreak):K==="column"?d(t.columnBreak):h([s("Unsupported break type: "+K)])},"w:bookmarkStart":function(z){var K=z.attributes["w:name"];return K==="_GoBack"?_():d(new t.BookmarkStart({name:K}))},"mc:AlternateContent":function(z){return P(z.firstOrEmpty("mc:Fallback"))},"w:sdt":function(z){var K=L(z.firstOrEmpty("w:sdtContent").children);return K.map(function(ce){var fe=z.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(fe){var ge=fe.first("wordml:checked"),be=!!ge&&X(ge.attributes["wordml:val"]),xe=t.checkbox({checked:be}),Ie=!1,Pe=ce.map(u._elementsOfType(t.types.text,function(We){return We.value.length>0&&!Ie?(Ie=!0,xe):We}));return Ie?Pe:xe}else return ce})},"w:customXml":P,"w:ins":P,"w:moveFromRangeEnd":P,"w:moveFromRangeStart":P,"w:moveTo":P,"w:moveToRangeEnd":P,"w:moveToRangeStart":P,"w:object":P,"w:smartTag":P,"w:drawing":P,"w:pict":function(z){return P(z).toExtra()},"v:roundrect":P,"v:shape":P,"v:textbox":P,"w:txbxContent":P,"wp:inline":Q,"wp:anchor":Q,"v:imagedata":Se,"v:group":P,"v:rect":P};return{readXmlElement:Y,readXmlElements:L};function N(z){var K=B(z.firstOrEmpty("w:tblPr"));return L(z.children).flatMap(te).flatMap(function(ce){return K.map(function(fe){return t.Table(ce,fe)})})}function B(z){return se(z).map(function(K){return{styleId:K.styleId,styleName:K.name}})}function Z(z){var K=z.firstOrEmpty("w:trPr"),ce=!!K.first("w:del");if(ce)return _();var fe=!!K.first("w:tblHeader");return L(z.children).map(function(ge){return t.TableRow(ge,{isHeader:fe})})}function $(z){return L(z.children).map(function(K){var ce=z.firstOrEmpty("w:tcPr"),fe=ce.firstOrEmpty("w:gridSpan").attributes["w:val"],ge=fe?parseInt(fe,10):1,be=t.TableCell(K,{colSpan:ge});return be._vMerge=U(ce),be})}function U(z){var K=z.first("w:vMerge");if(K){var ce=K.attributes["w:val"];return ce==="continue"||!ce}else return null}function te(z){var K=r.any(z,function(ge){return ge.type!==t.types.tableRow});if(K)return oe(z),l(z,[s("unexpected non-row element in table, cell merging may be incorrect")]);var ce=r.any(z,function(ge){return r.any(ge.children,function(be){return be.type!==t.types.tableCell})});if(ce)return oe(z),l(z,[s("unexpected non-cell element in table row, cell merging may be incorrect")]);var fe={};return z.forEach(function(ge){var be=0;ge.children.forEach(function(xe){xe._vMerge&&fe[be]?fe[be].rowSpan++:(fe[be]=xe,xe._vMerge=!1),be+=xe.colSpan})}),z.forEach(function(ge){ge.children=ge.children.filter(function(be){return!be._vMerge}),ge.children.forEach(function(be){delete be._vMerge})}),d(z)}function oe(z){z.forEach(function(K){var ce=u.getDescendantsOfType(K,t.types.tableCell);ce.forEach(function(fe){delete fe._vMerge})})}function Q(z){var K=z.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return c(K.map(he.bind(null,z)))}function he(z,K){var ce=z.firstOrEmpty("wp:docPr"),fe=ce.attributes,ge=Ee(fe.descr)?fe.title:fe.descr,be=ve(K);return be===null?h([s("Could not find image file for a:blip element")]):Oe(be,ge).map(function(xe){var Ie=ce.firstOrEmpty("a:hlinkClick"),Pe=Ie.attributes["r:id"];if(Pe){var We=S.findTargetByRelationshipId(Pe);return new t.Hyperlink([xe],{href:We})}else return xe})}function Ee(z){return z==null||/^\s*$/.test(z)}function ve(z){var K=z.attributes["r:embed"],ce=z.attributes["r:link"];if(K)return ze(K);if(ce){var fe=S.findTargetByRelationshipId(ce);return{path:fe,read:R.read.bind(R,fe)}}else return null}function Se(z){var K=z.attributes["r:id"];return K?Oe(ze(K),z.attributes["o:title"]):h([s("A v:imagedata element without a relationship ID was ignored")])}function ze(z){var K=a.uriToZipEntryName("word",S.findTargetByRelationshipId(z));return{path:K,read:H.read.bind(H,K)}}function Oe(z,K){var ce=O.findContentType(z.path),fe=t.Image({readImage:z.read,altText:K,contentType:ce}),ge=b[ce]?[]:s("Image of type "+ce+" is unlikely to display in web browsers");return l(fe,ge)}function Ge(z,K){return s(z+" style with ID "+K+" was referenced but not defined in the document")}}function g(A,E,w){var T=E.firstOrEmpty("w:ilvl").attributes["w:val"],S=E.firstOrEmpty("w:numId").attributes["w:val"];if(T!==void 0&&S!==void 0)return w.findLevel(S,T);if(A!=null){var O=w.findLevelByParagraphStyleId(A);if(O!=null)return O}return S!==void 0?w.findLevel(S,"0"):null}var b={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},v={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:moveFrom":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function h(A){return new m(null,null,A)}function _(){return new m(null)}function d(A){return new m(A)}function l(A,E){return new m(A,null,E)}function m(A,E,w){this.value=A||[],this.extra=E||[],this._result=new n({element:this.value,extra:E},w),this.messages=this._result.messages}m.prototype.toExtra=function(){return new m(null,y(this.extra,this.value),this.messages)},m.prototype.insertExtra=function(){var A=this.extra;return A&&A.length?new m(y(this.value,A),null,this.messages):this},m.prototype.map=function(A){var E=this._result.map(function(w){return A(w.element)});return new m(E.value,this.extra,E.messages)},m.prototype.flatMap=function(A){var E=this._result.flatMap(function(w){return A(w.element)._result});return new m(E.value.element,y(this.extra,E.value.extra),E.messages)},m.map=function(A,E,w){return new m(w(A.value,E.value),y(A.extra,E.extra),A.messages.concat(E.messages))};function c(A){var E=n.combine(r.pluck(A,"_result"));return new m(r.flatten(r.pluck(E.value,"element")),r.filter(r.flatten(r.pluck(E.value,"extra")),C),E.messages)}function y(A,E){return r.flatten([A,E])}function C(A){return A}return gr}var kn={},ju;function Bl(){if(ju)return kn;ju=1,kn.DocumentXmlReader=t;var e=Nt(),r=ot().Result;function t(n){var s=n.bodyReader;function i(u){var a=u.first("w:body");if(a==null)throw new Error("Could not find the body element: are you sure this is a docx file?");var o=s.readXmlElements(a.children).map(function(p){return new e.Document(p,{notes:n.notes,comments:n.comments})});return new r(o.value,o.messages)}return{convertXmlToDocument:i}}return kn}var Zt={},Zu;function Ll(){if(Zu)return Zt;Zu=1,Zt.readRelationships=e,Zt.defaultValue=new r([]),Zt.Relationships=r;function e(t){var n=[];return t.children.forEach(function(s){if(s.name==="relationships:Relationship"){var i={relationshipId:s.attributes.Id,target:s.attributes.Target,type:s.attributes.Type};n.push(i)}}),new r(n)}function r(t){var n=Object.create(null);t.forEach(function(i){n[i.relationshipId]=i.target});var s=Object.create(null);return t.forEach(function(i){s[i.type]||(s[i.type]=[]),s[i.type].push(i.target)}),{findTargetByRelationshipId:function(i){return n[i]},findTargetsByType:function(i){return s[i]||[]}}}return Zt}var br={},Gu;function Fl(){if(Gu)return br;Gu=1,br.readContentTypesFromXml=r;var e={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};br.defaultContentTypes=t({},{});function r(n){var s=Object.create(null),i=Object.create(null);return n.children.forEach(function(u){if(u.name==="content-types:Default"&&(s[u.attributes.Extension]=u.attributes.ContentType),u.name==="content-types:Override"){var a=u.attributes.PartName;a.charAt(0)==="/"&&(a=a.substring(1)),i[a]=u.attributes.ContentType}}),t(i,s)}function t(n,s){return{findContentType:function(i){var u=n[i];if(u)return u;var a=i.split("."),o=a[a.length-1];if(Object.prototype.hasOwnProperty.call(s,o))return s[o];var p=e[o.toLowerCase()];return p?"image/"+p:null}}}return br}var Gt={},$u;function Ml(){if($u)return Gt;$u=1;var e=ke;Gt.readNumberingXml=t,Gt.Numbering=r,Gt.defaultNumbering=new r({},{});function r(u,a,o){var p=e.flatten(e.values(a).map(function(_){return e.values(_.levels)})),g=e.indexBy(p.filter(function(_){return _.paragraphStyleId!=null}),"paragraphStyleId");function b(_,d){return v(_,d,Object.create(null))}function v(_,d,l){if(l[_])return null;l[_]=!0;var m=u[_];if(!m)return null;var c=a[m.abstractNumId];if(c){if(c.numStyleLink==null)return a[m.abstractNumId].levels[d];var y=o.findNumberingStyleById(c.numStyleLink);return v(y.numId,d,l)}else return null}function h(_){return g[_]||null}return{findLevel:b,findLevelByParagraphStyleId:h}}function t(u,a){if(!a||!a.styles)throw new Error("styles is missing");var o=n(u),p=i(u);return new r(p,o,a.styles)}function n(u){var a=Object.create(null);return u.getElementsByTagName("w:abstractNum").forEach(function(o){var p=o.attributes["w:abstractNumId"];a[p]=s(o)}),a}function s(u){var a=Object.create(null),o=null;u.getElementsByTagName("w:lvl").forEach(function(g){var b=g.attributes["w:ilvl"],v=g.firstOrEmpty("w:numFmt").attributes["w:val"],h=v!=="bullet",_=g.firstOrEmpty("w:pStyle").attributes["w:val"];b===void 0?o={isOrdered:h,level:"0",paragraphStyleId:_}:a[b]={isOrdered:h,level:b,paragraphStyleId:_}}),o!==null&&a[o.level]===void 0&&(a[o.level]=o);var p=u.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:a,numStyleLink:p}}function i(u){var a=Object.create(null);return u.getElementsByTagName("w:num").forEach(function(o){var p=o.attributes["w:numId"],g=o.first("w:abstractNumId").attributes["w:val"];a[p]={abstractNumId:g}}),a}return Gt}var $t={},Yu;function Pl(){if(Yu)return $t;Yu=1,$t.readStylesXml=r,$t.Styles=e,$t.defaultStyles=new e({},{});function e(u,a,o,p){return{findParagraphStyleById:function(g){return u[g]},findCharacterStyleById:function(g){return a[g]},findTableStyleById:function(g){return o[g]},findNumberingStyleById:function(g){return p[g]}}}e.EMPTY=new e({},{},{},{});function r(u){var a=Object.create(null),o=Object.create(null),p=Object.create(null),g=Object.create(null);return u.getElementsByTagName("w:style").forEach(function(b){var v=t(b),h;switch(v.type){case"paragraph":h=a;break;case"character":h=o;break;case"table":h=p;break;case"numbering":h=g;break}h&&h[v.styleId]===void 0&&(h[v.styleId]=v)}),new e(a,o,p,g)}function t(u){var a=u.attributes["w:type"];if(a==="numbering")return s(a,u);var o=i(u),p=n(u);return{type:a,styleId:o,name:p}}function n(u){var a=u.first("w:name");return a?a.attributes["w:val"]:null}function s(u,a){var o=i(a),p=a.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{type:u,numId:p,styleId:o}}function i(u){return u.attributes["w:styleId"]}return $t}var Bt={},Ku;function ql(){if(Ku)return Bt;Ku=1;var e=Nt(),r=ot().Result;Bt.createFootnotesReader=t.bind(Bt,"footnote"),Bt.createEndnotesReader=t.bind(Bt,"endnote");function t(n,s){function i(o){return r.combine(o.getElementsByTagName("w:"+n).filter(u).map(a))}function u(o){var p=o.attributes["w:type"];return p!=="continuationSeparator"&&p!=="separator"}function a(o){var p=o.attributes["w:id"];return s.readXmlElements(o.children).map(function(g){return e.Note({noteType:n,noteId:p,body:g})})}return i}return Bt}var Sn={},Ju;function zl(){if(Ju)return Sn;Ju=1;var e=Nt(),r=ot().Result;function t(n){function s(u){return r.combine(u.getElementsByTagName("w:comment").map(i))}function i(u){var a=u.attributes["w:id"];function o(p){return(u.attributes[p]||"").trim()||null}return n.readXmlElements(u.children).map(function(p){return e.comment({commentId:a,body:p,authorName:o("w:author"),authorInitials:o("w:initials")})})}return s}return Sn.createCommentsReader=t,Sn}var Nn={},Qu;function Xl(){if(Qu)return Nn;Qu=1;var e=lt();Nn.Files=r;function r(){function t(n){return e.reject(new Error("could not open external image: '"+n+`'
22
- cannot open linked files from a web browser`))}return{read:t}}return Nn}var ea;function Ul(){if(ea)return pr;ea=1,pr.read=_,pr._findPartPaths=d;var e=lt(),r=Nt(),t=ot().Result,n=ro(),s=Sl().readXmlFromZipFile,i=Ol().createBodyReader,u=Bl().DocumentXmlReader,a=Ll(),o=Fl(),p=Ml(),g=Pl(),b=ql(),v=zl(),h=Xl().Files;function _(S,O,H){O=O||{},H=H||{};var R=new h({externalFileAccess:H.externalFileAccess,relativeToFile:O.path});return e.props({contentTypes:A(S),partPaths:d(S),docxFile:S,files:R}).also(function(M){return{styles:w(S,M.partPaths.styles)}}).also(function(M){return{numbering:E(S,M.partPaths.numbering,M.styles)}}).also(function(M){return{footnotes:y(M.partPaths.footnotes,M,function(D,L){return L?b.createFootnotesReader(D)(L):new t([])}),endnotes:y(M.partPaths.endnotes,M,function(D,L){return L?b.createEndnotesReader(D)(L):new t([])}),comments:y(M.partPaths.comments,M,function(D,L){return L?v.createCommentsReader(D)(L):new t([])})}}).also(function(M){return{notes:M.footnotes.flatMap(function(D){return M.endnotes.map(function(L){return new r.Notes(D.concat(L))})})}}).then(function(M){return y(M.partPaths.mainDocument,M,function(D,L){return M.notes.flatMap(function(Y){return M.comments.flatMap(function(W){var ne=new u({bodyReader:D,notes:Y,comments:W});return ne.convertXmlToDocument(L)})})})})}function d(S){return T(S).then(function(O){var H=l({docxFile:S,relationships:O,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!S.exists(H))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return c({filename:C(H),readElement:a.readRelationships,defaultValue:a.defaultValue})(S).then(function(R){function M(D){return l({docxFile:S,relationships:R,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+D,basePath:n.splitPath(H).dirname,fallbackPath:"word/"+D+".xml"})}return{mainDocument:H,comments:M("comments"),endnotes:M("endnotes"),footnotes:M("footnotes"),numbering:M("numbering"),styles:M("styles")}})})}function l(S){var O=S.docxFile,H=S.relationships,R=S.relationshipType,M=S.basePath,D=S.fallbackPath,L=H.findTargetsByType(R),Y=L.map(function(ne){return m(n.joinPath(M,ne),"/")}),W=Y.filter(function(ne){return O.exists(ne)});return W.length===0?D:W[0]}function m(S,O){return S.substring(0,O.length)===O?S.substring(O.length):S}function c(S){return function(O){return s(O,S.filename).then(function(H){return H?S.readElement(H):S.defaultValue})}}function y(S,O,H){var R=c({filename:C(S),readElement:a.readRelationships,defaultValue:a.defaultValue});return R(O.docxFile).then(function(M){var D=new i({relationships:M,contentTypes:O.contentTypes,docxFile:O.docxFile,numbering:O.numbering,styles:O.styles,files:O.files});return s(O.docxFile,S).then(function(L){return H(D,L)})})}function C(S){var O=n.splitPath(S);return n.joinPath(O.dirname,"_rels",O.basename+".rels")}var A=c({filename:"[Content_Types].xml",readElement:o.readContentTypesFromXml,defaultValue:o.defaultContentTypes});function E(S,O,H){return c({filename:O,readElement:function(R){return p.readNumberingXml(R,{styles:H})},defaultValue:p.defaultNumbering})(S)}function w(S,O){return c({filename:O,readElement:g.readStylesXml,defaultValue:g.defaultStyles})(S)}var T=c({filename:"_rels/.rels",readElement:a.readRelationships,defaultValue:a.defaultValue});return pr}var Dr={},ta;function Wl(){if(ta)return Dr;ta=1;var e=ke,r=lt(),t=zi();Dr.writeStyleMap=u,Dr.readStyleMap=g;var n="http://schemas.zwobble.org/mammoth/style-map",s="mammoth/style-map",i="/"+s;function u(b,v){return b.write(s,v),a(b).then(function(){return o(b)})}function a(b){var v="word/_rels/document.xml.rels",h="http://schemas.openxmlformats.org/package/2006/relationships",_="{"+h+"}Relationship";return b.read(v,"utf8").then(t.readString).then(function(d){var l=d.children;p(l,_,"Id",{Id:"rMammothStyleMap",Type:n,Target:i});var m={"":h};return b.write(v,t.writeString(d,m))})}function o(b){var v="[Content_Types].xml",h="http://schemas.openxmlformats.org/package/2006/content-types",_="{"+h+"}Override";return b.read(v,"utf8").then(t.readString).then(function(d){var l=d.children;p(l,_,"PartName",{PartName:i,ContentType:"text/prs.mammoth.style-map"});var m={"":h};return b.write(v,t.writeString(d,m))})}function p(b,v,h,_){var d=e.find(b,function(l){return l.name===v&&l.attributes[h]===_[h]});d?d.attributes=_:b.push(t.element(v,_))}function g(b){return b.exists(s)?b.read(s,"utf8"):r.resolve(null)}return Dr}var _r={},xt={},at={},dt={},ra;function oo(){if(ra)return dt;ra=1;var e=wn();function r(o,p,g){return n(e.element(o,p,{fresh:!1}),g)}function t(o,p,g){var b=e.element(o,p,{fresh:!0});return n(b,g)}function n(o,p){return{type:"element",tag:o,children:p||[]}}function s(o){return{type:"text",value:o}}var i={type:"forceWrite"};dt.freshElement=t,dt.nonFreshElement=r,dt.elementWithTag=n,dt.text=s,dt.forceWrite=i;var u={br:!0,hr:!0,img:!0,input:!0};function a(o){return o.children.length===0&&u[o.tag.tagName]}return dt.isVoidElement=a,dt}var In,na;function Vl(){if(na)return In;na=1;var e=ke,r=oo();function t(d){return n(p(d))}function n(d){var l=[];return d.map(s).forEach(function(m){o(l,m)}),l}function s(d){return i[d.type](d)}var i={element:u,text:a,forceWrite:a};function u(d){return r.elementWithTag(d.tag,n(d.children))}function a(d){return d}function o(d,l){var m=d[d.length-1];l.type==="element"&&!l.tag.fresh&&m&&m.type==="element"&&l.tag.matchesElement(m.tag)?(l.tag.separator&&o(m.children,r.text(l.tag.separator)),l.children.forEach(function(c){o(m.children,c)})):d.push(l)}function p(d){return g(d,function(l){return b[l.type](l)})}function g(d,l){return e.flatten(e.map(d,l),!0)}var b={element:h,text:_,forceWrite:v};function v(d){return[d]}function h(d){var l=p(d.children);return l.length===0&&!r.isVoidElement(d)?[]:[r.elementWithTag(d.tag,l)]}function _(d){return d.value.length===0?[]:[d]}return In=t,In}var ia;function yn(){if(ia)return at;ia=1;var e=oo();at.freshElement=e.freshElement,at.nonFreshElement=e.nonFreshElement,at.elementWithTag=e.elementWithTag,at.text=e.text,at.forceWrite=e.forceWrite,at.simplify=Vl();function r(u,a){a.forEach(function(o){t(u,o)})}function t(u,a){n[a.type](u,a)}var n={element:s,text:i,forceWrite:function(){}};function s(u,a){e.isVoidElement(a)?u.selfClosing(a.tag.tagName,a.tag.attributes):(u.open(a.tag.tagName,a.tag.attributes),r(u,a.children),u.close(a.tag.tagName))}function i(u,a){u.text(a.value)}return at.write=r,at}var ua;function wn(){if(ua)return xt;ua=1;var e=ke,r=yn();xt.topLevelElement=t,xt.elements=n,xt.element=i;function t(a,o){return n([i(a,o,{fresh:!0})])}function n(a){return new s(a.map(function(o){return e.isString(o)?i(o):o}))}function s(a){this._elements=a}s.prototype.wrap=function(o){for(var p=o(),g=this._elements.length-1;g>=0;g--)p=this._elements[g].wrapNodes(p);return p};function i(a,o,p){return p=p||{},new u(a,o,p)}function u(a,o,p){var g=Object.create(null);e.isArray(a)?(a.forEach(function(b){g[b]=!0}),a=a[0]):g[a]=!0,this.tagName=a,this.tagNames=g,this.attributes=o||{},this.fresh=p.fresh,this.separator=p.separator}return u.prototype.matchesElement=function(a){return this.tagNames[a.tagName]&&e.isEqual(this.attributes||{},a.attributes||{})},u.prototype.wrap=function(o){return this.wrapNodes(o())},u.prototype.wrapNodes=function(o){return[r.elementWithTag(this,o)]},xt.empty=n([]),xt.ignore={wrap:function(){return[]}},xt}var Rn={},aa;function lo(){return aa||(aa=1,(function(e){var r=ke,t=lt(),n=yn();e.imgElement=s;function s(u){return function(a,o){return t.resolve(u(a)).then(function(p){var g={};return a.altText&&(g.alt=a.altText),r.extend(g,p),[n.freshElement("img",g)]})}}e.inline=e.imgElement,e.dataUri=s(function(u){return u.readAsBase64String().then(function(a){return{src:"data:"+u.contentType+";base64,"+a}})});function i(u){return u.contentType.split(/\/|\\/)[1]}e.imageFilenameExtension=i})(Rn)),Rn}var On={},Bn={},sa;function co(){if(sa)return Bn;sa=1;var e=ke;Bn.writer=r;function r(a){return a=a||{},a.prettyPrint?n():s()}var t={div:!0,p:!0,ul:!0,li:!0};function n(){var a=0,o=" ",p=[],g=!0,b=!1,v=s();function h(A,E){t[A]&&y(),p.push(A),v.open(A,E),t[A]&&a++,g=!1}function _(A){t[A]&&(a--,y()),p.pop(),v.close(A)}function d(A){c();var E=C()?A:A.replace(`
23
- `,`
24
- `+o);v.text(E)}function l(A,E){y(),v.selfClosing(A,E)}function m(){return p.length===0||t[p[p.length-1]]}function c(){b||(y(),b=!0)}function y(){if(b=!1,!g&&m()&&!C()){v._append(`
25
- `);for(var A=0;A<a;A++)v._append(o)}}function C(){return e.some(p,function(A){return A==="pre"})}return{asString:v.asString,open:h,close:_,text:d,selfClosing:l}}function s(){var a=[];function o(d,l){var m=b(l);a.push("<"+d+m+">")}function p(d){a.push("</"+d+">")}function g(d,l){var m=b(l);a.push("<"+d+m+" />")}function b(d){return e.map(d,function(l,m){return" "+m+'="'+u(l)+'"'}).join("")}function v(d){a.push(i(d))}function h(d){a.push(d)}function _(){return a.join("")}return{asString:_,open:o,close:p,text:v,selfClosing:g,_append:h}}function i(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function u(a){return a.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}return Bn}var Ln={},oa;function Hl(){if(oa)return Ln;oa=1;var e=ke,r=co();function t(v){return n(v,v)}function n(v,h){return function(){return{start:v,end:h}}}function s(v){var h=v.href||"";return h?{start:"[",end:"]("+b(h)+")",anchorPosition:"before"}:{}}function i(v){var h=v.src||"",_=v.alt||"";return h||_?{start:"!["+b(_)+"]("+b(h)+")"}:{}}function u(v){return function(h,_){return{start:_?`
26
- `:"",end:_?"":`
27
- `,list:{isOrdered:v.isOrdered,indent:_?_.indent+1:0,count:0}}}}function a(v,h,_){h=h||{indent:0,isOrdered:!1,count:0},h.count++,_.hasClosed=!1;var d=h.isOrdered?h.count+".":"-",l=p(" ",h.indent)+d+" ";return{start:l,end:function(){if(!_.hasClosed)return _.hasClosed=!0,`
28
- `}}}var o={p:n("",`
29
-
30
- `),br:n("",`
31
- `),ul:u({isOrdered:!1}),ol:u({isOrdered:!0}),li:a,strong:t("__"),em:t("*"),a:s,img:i};(function(){for(var v=1;v<=6;v++)o["h"+v]=n(p("#",v)+" ",`
32
-
33
- `)})();function p(v,h){return new Array(h+1).join(v)}function g(){var v=[],h=[],_=null,d={};function l(E,w){w=w||{};var T=o[E]||function(){return{}},S=T(w,_,d);h.push({end:S.end,list:_}),S.list&&(_=S.list);var O=S.anchorPosition==="before";O&&m(w),v.push(S.start||""),O||m(w)}function m(E){if(E.id){var w=r.writer();w.open("a",{id:E.id}),w.close("a"),v.push(w.asString())}}function c(E){var w=h.pop();_=w.list;var T=e.isFunction(w.end)?w.end():w.end;v.push(T||"")}function y(E,w){l(E,w),c()}function C(E){v.push(b(E))}function A(){return v.join("")}return{asString:A,open:l,close:c,text:C,selfClosing:y}}Ln.writer=g;function b(v){return v.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}return Ln}var la;function jl(){if(la)return On;la=1;var e=co(),r=Hl();On.writer=t;function t(n){return n=n||{},n.outputFormat==="markdown"?r.writer():e.writer(n)}return On}var ca;function Zl(){if(ca)return _r;ca=1;var e=ke,r=lt(),t=Nt(),n=wn(),s=ot(),i=lo(),u=yn(),a=jl();_r.DocumentConverter=o;function o(l){return{convertToHtml:function(m){var c=e.indexBy(m.type===t.types.document?m.comments:[],"commentId"),y=new p(l,c);return y.convertToHtml(m)}}}function p(l,m){var c=1,y=[],C=[];l=e.extend({ignoreEmptyParagraphs:!0},l);var A=l.idPrefix===void 0?"":l.idPrefix,E=l.ignoreEmptyParagraphs,w=n.topLevelElement("p"),T=l.styleMap||[];function S(f){var q=[],P=H(f,q,Object.create(null)),I=[];_(P,function(B){B.type==="deferred"&&I.push(B)});var N=Object.create(null);return r.forEachSeries(I,function(B){return B.value().then(function(Z){N[B.id]=Z})}).then(function(){function B($){return h($,function(U){return U.type==="deferred"?N[U.id]:U.children?[e.extend({},U,{children:B(U.children)})]:[U]})}var Z=a.writer({prettyPrint:l.prettyPrint,outputFormat:l.outputFormat});return u.write(Z,u.simplify(B(P))),new s.Result(Z.asString(),q)})}function O(f,q,P){return h(f,function(I){return H(I,q,P)})}function H(f,q,P){if(!P)throw new Error("context not set");var I=Ce[f.type];return I?I(f,q,P):[]}function R(f,q,P){return M(f,q).wrap(function(){var I=O(f.children,q,P);return E?I:[u.forceWrite].concat(I)})}function M(f,q){var P=W(f);return P?P.to:(f.styleId&&q.push(v("paragraph",f)),w)}function D(f,q,P){var I=function(){return O(f.children,q,P)},N=[];if(f.highlight!==null){var B=Y({type:"highlight",color:f.highlight});B&&N.push(B)}f.isSmallCaps&&N.push(L("smallCaps")),f.isAllCaps&&N.push(L("allCaps")),f.isStrikethrough&&N.push(L("strikethrough","s")),f.isUnderline&&N.push(L("underline")),f.verticalAlignment===t.verticalAlignment.subscript&&N.push(n.element("sub",{},{fresh:!1})),f.verticalAlignment===t.verticalAlignment.superscript&&N.push(n.element("sup",{},{fresh:!1})),f.isItalic&&N.push(L("italic","em")),f.isBold&&N.push(L("bold","strong"));var Z=n.empty,$=W(f);return $?Z=$.to:f.styleId&&q.push(v("run",f)),N.push(Z),N.forEach(function(U){I=U.wrap.bind(U,I)}),I()}function L(f,q){var P=Y({type:f});return P||(q?n.element(q,{},{fresh:!1}):n.empty)}function Y(f,q){var P=W(f);return P?P.to:q}function W(f){for(var q=0;q<T.length;q++)if(T[q].from.matches(f))return T[q]}function ne(f){return function(q,P){return r.try(function(){return f(q,P)}).catch(function(I){return P.push(s.error(I)),[]})}}function G(f){return V(f.noteType,f.noteId)}function ae(f){return X(f.noteType,f.noteId)}function V(f,q){return ie(f+"-"+q)}function X(f,q){return ie(f+"-ref-"+q)}function ie(f){return A+f}var ue=n.elements([n.element("table",{},{fresh:!0})]);function re(f,q,P){return Y(f,ue).wrap(function(){return se(f,q,P)})}function se(f,q,P){var I=e.findIndex(f.children,function($){return!$.type===t.types.tableRow||!$.isHeader});I===-1&&(I=f.children.length);var N;if(I===0)N=O(f.children,q,e.extend({},P,{isTableHeader:!1}));else{var B=O(f.children.slice(0,I),q,e.extend({},P,{isTableHeader:!0})),Z=O(f.children.slice(I),q,e.extend({},P,{isTableHeader:!1}));N=[u.freshElement("thead",{},B),u.freshElement("tbody",{},Z)]}return[u.forceWrite].concat(N)}function we(f,q,P){var I=O(f.children,q,P);return[u.freshElement("tr",{},[u.forceWrite].concat(I))]}function me(f,q,P){var I=P.isTableHeader?"th":"td",N=O(f.children,q,P),B={};return f.colSpan!==1&&(B.colspan=f.colSpan.toString()),f.rowSpan!==1&&(B.rowspan=f.rowSpan.toString()),[u.freshElement(I,B,[u.forceWrite].concat(N))]}function pe(f,q,P){return Y(f,n.ignore).wrap(function(){var I=m[f.commentId],N=C.length+1,B="["+d(I)+N+"]";return C.push({label:B,comment:I}),[u.freshElement("a",{href:"#"+V("comment",f.commentId),id:X("comment",f.commentId)},[u.text(B)])]})}function de(f,q,P){var I=f.label,N=f.comment,B=O(N.body,q,P).concat([u.nonFreshElement("p",{},[u.text(" "),u.freshElement("a",{href:"#"+X("comment",N.commentId)},[u.text("↑")])])]);return[u.freshElement("dt",{id:V("comment",N.commentId)},[u.text("Comment "+I)]),u.freshElement("dd",{},B)]}function ye(f,q,P){return De(f).wrap(function(){return[]})}function De(f){var q=W(f);return q?q.to:f.breakType==="line"?n.topLevelElement("br"):n.empty}var Ce={document:function(f,q,P){var I=O(f.children,q,P),N=y.map(function(Z){return f.notes.resolve(Z)}),B=O(N,q,P);return I.concat([u.freshElement("ol",{},B),u.freshElement("dl",{},h(C,function(Z){return de(Z,q,P)}))])},paragraph:R,run:D,text:function(f,q,P){return[u.text(f.value)]},tab:function(f,q,P){return[u.text(" ")]},hyperlink:function(f,q,P){var I=f.anchor?"#"+ie(f.anchor):f.href,N={href:I};f.targetFrame!=null&&(N.target=f.targetFrame);var B=O(f.children,q,P);return[u.nonFreshElement("a",N,B)]},checkbox:function(f){var q={type:"checkbox"};return f.checked&&(q.checked="checked"),[u.freshElement("input",q)]},bookmarkStart:function(f,q,P){var I=u.freshElement("a",{id:ie(f.name)},[u.forceWrite]);return[I]},noteReference:function(f,q,P){y.push(f);var I=u.freshElement("a",{href:"#"+G(f),id:ae(f)},[u.text("["+c+++"]")]);return[u.freshElement("sup",{},[I])]},note:function(f,q,P){var I=O(f.body,q,P),N=u.elementWithTag(n.element("p",{},{fresh:!1}),[u.text(" "),u.freshElement("a",{href:"#"+ae(f)},[u.text("↑")])]),B=I.concat([N]);return u.freshElement("li",{id:G(f)},B)},commentReference:pe,comment:de,image:b(ne(l.convertImage||i.dataUri)),table:re,tableRow:we,tableCell:me,break:ye};return{convertToHtml:S}}var g=1;function b(l){return function(m,c,y){return[{type:"deferred",id:g++,value:function(){return l(m,c,y)}}]}}function v(l,m){return s.warning("Unrecognised "+l+" style: '"+m.styleName+"' (Style ID: "+m.styleId+")")}function h(l,m){return e.flatten(l.map(m),!0)}function _(l,m){l.forEach(function(c){m(c),c.children&&_(c.children,m)})}var d=_r.commentAuthorLabel=function(m){return m.authorInitials||""};return _r}var Fn={},fa;function Gl(){if(fa)return Fn;fa=1;var e=Nt();function r(t){if(t.type==="text")return t.value;if(t.type===e.types.tab)return" ";var n=t.type==="paragraph"?`
34
-
35
- `:"";return(t.children||[]).map(r).join("")+n}return Fn.convertElementToRawText=r,Fn}var Yt={},Ke={},Mn={},Pn={exports:{}},ha;function $l(){if(ha)return Pn.exports;ha=1;var e=Pn.exports=function(r,t){this._tokens=r,this._startIndex=t||0};return e.prototype.head=function(){return this._tokens[this._startIndex]},e.prototype.tail=function(r){return new e(this._tokens,this._startIndex+1)},e.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},e.prototype.end=function(){return this._tokens[this._tokens.length-1]},e.prototype.to=function(r){var t=this.head().source,n=r.head()||r.end();return t.to(n.source)},Pn.exports}var pa;function Yl(){if(pa)return Mn;pa=1;var e=$l();return Mn.Parser=function(r){var t=function(n,s){return n(new e(s))};return{parseTokens:t}},Mn}var qn={},zn={},da;function Kl(){return da||(da=1,(function(e){e.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return e.none},flatMap:function(){return e.none},filter:function(){return e.none},toArray:function(){return[]},orElse:r,valueOrElse:r});function r(n){return typeof n=="function"?n():n}e.some=function(n){return new t(n)};var t=function(n){this._value=n};t.prototype.value=function(){return this._value},t.prototype.isNone=function(){return!1},t.prototype.isSome=function(){return!0},t.prototype.map=function(n){return new t(n(this._value))},t.prototype.flatMap=function(n){return n(this._value)},t.prototype.filter=function(n){return n(this._value)?this:e.none},t.prototype.toArray=function(){return[this._value]},t.prototype.orElse=function(n){return this},t.prototype.valueOrElse=function(n){return this._value},e.isOption=function(n){return n===e.none||n instanceof t},e.fromNullable=function(n){return n==null?e.none:new t(n)}})(zn)),zn}var Xn,ma;function Xi(){if(ma)return Xn;ma=1,Xn={failure:function(r,t){if(r.length<1)throw new Error("Failure must have errors");return new e({status:"failure",remaining:t,errors:r})},error:function(r,t){if(r.length<1)throw new Error("Failure must have errors");return new e({status:"error",remaining:t,errors:r})},success:function(r,t,n){return new e({status:"success",value:r,source:n,remaining:t,errors:[]})},cut:function(r){return new e({status:"cut",remaining:r,errors:[]})}};var e=function(r){this._value=r.value,this._status=r.status,this._hasValue=r.value!==void 0,this._remaining=r.remaining,this._source=r.source,this._errors=r.errors};return e.prototype.map=function(r){return this._hasValue?new e({value:r(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},e.prototype.changeRemaining=function(r){return new e({value:this._value,status:this._status,remaining:r,source:this._source,errors:this._errors})},e.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"},e.prototype.isFailure=function(){return this._status==="failure"},e.prototype.isError=function(){return this._status==="error"},e.prototype.isCut=function(){return this._status==="cut"},e.prototype.value=function(){return this._value},e.prototype.remaining=function(){return this._remaining},e.prototype.source=function(){return this._source},e.prototype.errors=function(){return this._errors},Xn}var Un={},va;function fo(){if(va)return Un;va=1,Un.error=function(r){return new e(r)};var e=function(r){this.expected=r.expected,this.actual=r.actual,this._location=r.location};return e.prototype.describe=function(){var r=this._location?this._location.describe()+`:
36
- `:"";return r+"Expected "+this.expected+`
37
- but got `+this.actual},e.prototype.lineNumber=function(){return this._location.lineNumber()},e.prototype.characterNumber=function(){return this._location.characterNumber()},Un}var Wn={},ga;function Jl(){if(ga)return Wn;ga=1,Wn.fromArray=function(r){var t=0,n=function(){return t<r.length};return new e({hasNext:n,next:function(){if(n())return r[t++];throw new Error("No more elements")}})};var e=function(r){this._iterator=r};return e.prototype.map=function(r){var t=this._iterator;return new e({hasNext:function(){return t.hasNext()},next:function(){return r(t.next())}})},e.prototype.filter=function(r){var t=this._iterator,n=!1,s=!1,i,u=function(){if(!n)for(n=!0,s=!1;t.hasNext()&&!s;)i=t.next(),s=r(i)};return new e({hasNext:function(){return u(),s},next:function(){u();var a=i;return n=!1,a}})},e.prototype.first=function(){var r=this._iterator;return this._iterator.hasNext()?r.next():null},e.prototype.toArray=function(){for(var r=[];this._iterator.hasNext();)r.push(this._iterator.next());return r},Wn}var ya;function ho(){return ya||(ya=1,(function(e){var r=ke,t=Kl(),n=Xi(),s=fo(),i=Jl();e.token=function(v,h){var _=h!==void 0;return function(d){var l=d.head();if(l&&l.name===v&&(!_||l.value===h))return n.success(l.value,d.tail(),l.source);var m=g({name:v,value:h});return b(d,m)}},e.tokenOfType=function(v){return e.token(v)},e.firstOf=function(v,h){return r.isArray(h)||(h=Array.prototype.slice.call(arguments,1)),function(_){return i.fromArray(h).map(function(d){return d(_)}).filter(function(d){return d.isSuccess()||d.isError()}).first()||b(_,v)}},e.then=function(v,h){return function(_){var d=v(_);return d.map||console.log(d),d.map(h)}},e.sequence=function(){var v=Array.prototype.slice.call(arguments,0),h=function(d){var l=r.foldl(v,function(c,y){var C=c.result,A=c.hasCut;if(!C.isSuccess())return{result:C,hasCut:A};var E=y(C.remaining());if(E.isCut())return{result:C,hasCut:!0};if(E.isSuccess()){var w;y.isCaptured?w=C.value().withValue(y,E.value()):w=C.value();var T=E.remaining(),S=d.to(T);return{result:n.success(w,T,S),hasCut:A}}else return A?{result:n.error(E.errors(),E.remaining()),hasCut:A}:{result:E,hasCut:A}},{result:n.success(new u,d),hasCut:!1}).result,m=d.to(l.remaining());return l.map(function(c){return c.withValue(e.sequence.source,m)})};h.head=function(){var d=r.find(v,_);return e.then(h,e.sequence.extract(d))},h.map=function(d){return e.then(h,function(l){return d.apply(this,l.toArray())})};function _(d){return d.isCaptured}return h};var u=function(v,h){this._values=v||{},this._valuesArray=h||[]};u.prototype.withValue=function(v,h){if(v.captureName&&v.captureName in this._values)throw new Error('Cannot add second value for capture "'+v.captureName+'"');var _=r.clone(this._values);_[v.captureName]=h;var d=this._valuesArray.concat([h]);return new u(_,d)},u.prototype.get=function(v){if(v.captureName in this._values)return this._values[v.captureName];throw new Error('No value for capture "'+v.captureName+'"')},u.prototype.toArray=function(){return this._valuesArray},e.sequence.capture=function(v,h){var _=function(){return v.apply(this,arguments)};return _.captureName=h,_.isCaptured=!0,_},e.sequence.extract=function(v){return function(h){return h.get(v)}},e.sequence.applyValues=function(v){var h=Array.prototype.slice.call(arguments,1);return function(_){var d=h.map(function(l){return _.get(l)});return v.apply(this,d)}},e.sequence.source={captureName:"☃source☃"},e.sequence.cut=function(){return function(v){return n.cut(v)}},e.optional=function(v){return function(h){var _=v(h);return _.isSuccess()?_.map(t.some):_.isFailure()?n.success(t.none,h):_}},e.zeroOrMoreWithSeparator=function(v,h){return p(v,h,!1)},e.oneOrMoreWithSeparator=function(v,h){return p(v,h,!0)};var a=e.zeroOrMore=function(v){return function(h){for(var _=[],d;(d=v(h))&&d.isSuccess();)h=d.remaining(),_.push(d.value());return d.isError()?d:n.success(_,h)}};e.oneOrMore=function(v){return e.oneOrMoreWithSeparator(v,o)};function o(v){return n.success(null,v)}var p=function(v,h,_){return function(d){var l=v(d);if(l.isSuccess()){var m=e.sequence.capture(v,"main"),c=a(e.then(e.sequence(h,m),e.sequence.extract(m))),y=c(l.remaining());return n.success([l.value()].concat(y.value()),y.remaining())}else return _||l.isError()?l:n.success([],d)}};e.leftAssociative=function(v,h,_){var d;_?d=[{func:_,rule:h}]:d=h,d=d.map(function(m){return e.then(m.rule,function(c){return function(y,C){return m.func(y,c,C)}})});var l=e.firstOf.apply(null,["rules"].concat(d));return function(m){var c=m,y=v(m);if(!y.isSuccess())return y;for(var C=l(y.remaining());C.isSuccess();){var A=C.remaining(),E=c.to(C.remaining()),w=C.value();y=n.success(w(y.value(),E),A,E),C=l(y.remaining())}return C.isError()?C:y}},e.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},e.nonConsuming=function(v){return function(h){return v(h).changeRemaining(h)}};var g=function(v){return v.value?v.name+' "'+v.value+'"':v.name};function b(v,h){var _,d=v.head();return d?_=s.error({expected:h,actual:g(d),location:d.source}):_=s.error({expected:h,actual:"end of tokens"}),n.failure([_],v)}})(qn)),qn}var Vn={exports:{}},wa;function po(){if(wa)return Vn.exports;wa=1,Vn.exports=function(r,t){var n={asString:function(){return r},range:function(s,i){return new e(r,t,s,i)}};return n};var e=function(r,t,n,s){this._string=r,this._description=t,this._startIndex=n,this._endIndex=s};return e.prototype.to=function(r){return new e(this._string,this._description,this._startIndex,r._endIndex)},e.prototype.describe=function(){var r=this._position(),t=this._description?this._description+`
38
- `:"";return t+"Line number: "+r.lineNumber+`
39
- Character number: `+r.characterNumber},e.prototype.lineNumber=function(){return this._position().lineNumber},e.prototype.characterNumber=function(){return this._position().characterNumber},e.prototype._position=function(){for(var r=this,t=0,n=function(){return r._string.indexOf(`
40
- `,t)},s=1;n()!==-1&&n()<this._startIndex;)t=n()+1,s+=1;var i=this._startIndex-t+1;return{lineNumber:s,characterNumber:i}},Vn.exports}var Hn,ba;function mo(){return ba||(ba=1,Hn=function(e,r,t){this.name=e,this.value=r,t&&(this.source=t)}),Hn}var jn={},Da;function Ql(){return Da||(Da=1,(function(e){var r=ho(),t=Xi();e.parser=function(i,u,a){var o={rule:v,leftAssociative:h,rightAssociative:_},p=new n(a.map(b)),g=r.firstOf(i,u);function b(m){return{name:m.name,rule:s(m.ruleBuilder.bind(null,o))}}function v(){return d(p)}function h(m){return d(p.untilExclusive(m))}function _(m){return d(p.untilInclusive(m))}function d(m){return l.bind(null,m)}function l(m,c){var y=g(c);return y.isSuccess()?m.apply(y):y}return o};function n(i){function u(b){return new n(i.slice(0,o().indexOf(b)))}function a(b){return new n(i.slice(0,o().indexOf(b)+1))}function o(){return i.map(function(b){return b.name})}function p(b){for(var v,h;;)if(v=g(b.remaining()),v.isSuccess())h=b.source().to(v.source()),b=t.success(v.value()(b.value(),h),v.remaining(),h);else return v.isFailure()?b:v}function g(b){return r.firstOf("infix",i.map(function(v){return v.rule}))(b)}return{apply:p,untilExclusive:u,untilInclusive:a}}e.infix=function(i,u){function a(o){return e.infix(i,function(p){var g=u(p);return function(b){var v=g(b);return v.map(function(h){return function(_,d){return o(_,h,d)}})}})}return{name:i,ruleBuilder:u,map:a}};var s=function(i){var u;return function(a){return u||(u=i()),u(a)}}})(jn)),jn}var Zn={},_a;function ec(){if(_a)return Zn;_a=1;var e=mo(),r=po();Zn.RegexTokeniser=t;function t(n){n=n.map(function(a){return{name:a.name,regex:new RegExp(a.regex.source,"g")}});function s(a,o){for(var p=new r(a,o),g=0,b=[];g<a.length;){var v=i(a,g,p);g=v.endIndex,b.push(v.token)}return b.push(u(a,p)),b}function i(a,o,p){for(var g=0;g<n.length;g++){var b=n[g].regex;b.lastIndex=o;var v=b.exec(a);if(v){var _=o+v[0].length;if(v.index===o&&_>o){var h=v[1],d=new e(n[g].name,h,p.range(o,_));return{token:d,endIndex:_}}}}var _=o+1,d=new e("unrecognisedCharacter",a.substring(o,_),p.range(o,_));return{token:d,endIndex:_}}function u(a,o){return new e("end",null,o.range(a.length,a.length))}return{tokenise:s}}return Zn}var Ea;function vo(){return Ea||(Ea=1,Ke.Parser=Yl().Parser,Ke.rules=ho(),Ke.errors=fo(),Ke.results=Xi(),Ke.StringSource=po(),Ke.Token=mo(),Ke.bottomUp=Ql(),Ke.RegexTokeniser=ec().RegexTokeniser,Ke.rule=function(e){var r;return function(t){return r||(r=e()),r(t)}}),Ke}var Re={},Aa;function tc(){if(Aa)return Re;Aa=1,Re.paragraph=e,Re.run=r,Re.table=t,Re.bold=new s("bold"),Re.italic=new s("italic"),Re.underline=new s("underline"),Re.strikethrough=new s("strikethrough"),Re.allCaps=new s("allCaps"),Re.smallCaps=new s("smallCaps"),Re.highlight=n,Re.commentReference=new s("commentReference"),Re.lineBreak=new u({breakType:"line"}),Re.pageBreak=new u({breakType:"page"}),Re.columnBreak=new u({breakType:"column"}),Re.equalTo=o,Re.startsWith=p;function e(v){return new s("paragraph",v)}function r(v){return new s("run",v)}function t(v){return new s("table",v)}function n(v){return new i(v)}function s(v,h){h=h||{},this._elementType=v,this._styleId=h.styleId,this._styleName=h.styleName,h.list&&(this._listIndex=h.list.levelIndex,this._listIsOrdered=h.list.isOrdered)}s.prototype.matches=function(v){return v.type===this._elementType&&(this._styleId===void 0||v.styleId===this._styleId)&&(this._styleName===void 0||v.styleName&&this._styleName.operator(this._styleName.operand,v.styleName))&&(this._listIndex===void 0||a(v,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===v.breakType)};function i(v){v=v||{},this._color=v.color}i.prototype.matches=function(v){return v.type==="highlight"&&(this._color===void 0||v.color===this._color)};function u(v){v=v||{},this._breakType=v.breakType}u.prototype.matches=function(v){return v.type==="break"&&(this._breakType===void 0||v.breakType===this._breakType)};function a(v,h,_){return v.numbering&&v.numbering.level==h&&v.numbering.isOrdered==_}function o(v){return{operator:g,operand:v}}function p(v){return{operator:b,operand:v}}function g(v,h){return v.toUpperCase()===h.toUpperCase()}function b(v,h){return h.toUpperCase().indexOf(v.toUpperCase())===0}return Re}var Gn={},xa;function rc(){if(xa)return Gn;xa=1;var e=vo(),r=e.RegexTokeniser;Gn.tokenise=n;var t="'((?:\\\\(?:.|$)|[^'\\\\])*)";function n(s){var i="(?:[a-zA-Z\\-_]|\\\\.)",u=new r([{name:"identifier",regex:new RegExp("("+i+"(?:"+i+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(t+"'")},{name:"unterminated-string",regex:new RegExp(t)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return u.tokenise(s)}return Gn}var Ca;function nc(){if(Ca)return Yt;Ca=1;var e=ke,r=vo(),t=tc(),n=wn(),s=rc().tokenise,i=ot();Yt.readHtmlPath=g,Yt.readDocumentMatcher=o,Yt.readStyle=u;function u(T){return C(w,T)}function a(){return r.rules.sequence(r.rules.sequence.capture(p()),r.rules.tokenOfType("whitespace"),r.rules.tokenOfType("arrow"),r.rules.sequence.capture(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("whitespace"),r.rules.sequence.capture(b())).head())),r.rules.tokenOfType("end")).map(function(T,S){return{from:T,to:S.valueOrElse(n.empty)}})}function o(T){return C(p(),T)}function p(){var T=r.rules.sequence,S=function(de,ye){return r.rules.then(r.rules.token("identifier",de),function(){return ye})},O=S("p",t.paragraph),H=S("r",t.run),R=r.rules.firstOf("p or r or table",O,H),M=r.rules.sequence(r.rules.tokenOfType("dot"),r.rules.sequence.cut(),r.rules.sequence.capture(v)).map(function(de){return{styleId:de}}),D=r.rules.firstOf("style name matcher",r.rules.then(r.rules.sequence(r.rules.tokenOfType("equals"),r.rules.sequence.cut(),r.rules.sequence.capture(_)).head(),function(de){return{styleName:t.equalTo(de)}}),r.rules.then(r.rules.sequence(r.rules.tokenOfType("startsWith"),r.rules.sequence.cut(),r.rules.sequence.capture(_)).head(),function(de){return{styleName:t.startsWith(de)}})),L=r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.token("identifier","style-name"),r.rules.sequence.capture(D),r.rules.tokenOfType("close-square-bracket")).head(),Y=r.rules.firstOf("list type",S("ordered-list",{isOrdered:!0}),S("unordered-list",{isOrdered:!1})),W=T(r.rules.tokenOfType("colon"),T.capture(Y),T.cut(),r.rules.tokenOfType("open-paren"),T.capture(h),r.rules.tokenOfType("close-paren")).map(function(de,ye){return{list:{isOrdered:de.isOrdered,levelIndex:ye-1}}});function ne(de){var ye=r.rules.firstOf.apply(r.rules.firstOf,["matcher suffix"].concat(de)),De=r.rules.zeroOrMore(ye);return r.rules.then(De,function(Ce){var f={};return Ce.forEach(function(q){e.extend(f,q)}),f})}var G=T(T.capture(R),T.capture(ne([M,L,W]))).map(function(de,ye){return de(ye)}),ae=T(r.rules.token("identifier","table"),T.capture(ne([M,L]))).map(function(de){return t.table(de)}),V=S("b",t.bold),X=S("i",t.italic),ie=S("u",t.underline),ue=S("strike",t.strikethrough),re=S("all-caps",t.allCaps),se=S("small-caps",t.smallCaps),we=T(r.rules.token("identifier","highlight"),r.rules.sequence.capture(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.token("identifier","color"),r.rules.tokenOfType("equals"),r.rules.sequence.capture(_),r.rules.tokenOfType("close-square-bracket")).head()))).map(function(de){return t.highlight({color:de.valueOrElse(void 0)})}),me=S("comment-reference",t.commentReference),pe=T(r.rules.token("identifier","br"),T.cut(),r.rules.tokenOfType("open-square-bracket"),r.rules.token("identifier","type"),r.rules.tokenOfType("equals"),T.capture(_),r.rules.tokenOfType("close-square-bracket")).map(function(de){switch(de){case"line":return t.lineBreak;case"page":return t.pageBreak;case"column":return t.columnBreak}});return r.rules.firstOf("element type",G,ae,V,X,ie,ue,re,se,we,me,pe)}function g(T){return C(b(),T)}function b(){var T=r.rules.sequence.capture,S=r.rules.tokenOfType("whitespace"),O=r.rules.then(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("colon"),r.rules.token("identifier","fresh"))),function(D){return D.map(function(){return!0}).valueOrElse(!1)}),H=r.rules.then(r.rules.optional(r.rules.sequence(r.rules.tokenOfType("colon"),r.rules.token("identifier","separator"),r.rules.tokenOfType("open-paren"),T(_),r.rules.tokenOfType("close-paren")).head()),function(D){return D.valueOrElse("")}),R=r.rules.oneOrMoreWithSeparator(v,r.rules.tokenOfType("choice")),M=r.rules.sequence(T(R),T(r.rules.zeroOrMore(y)),T(O),T(H)).map(function(D,L,Y,W){var ne=Object.create(null),G={};return L.forEach(function(ae){ae.append&&ne[ae.name]?ne[ae.name]+=" "+ae.value:ne[ae.name]=ae.value}),Y&&(G.fresh=!0),W&&(G.separator=W),n.element(D,ne,G)});return r.rules.firstOf("html path",r.rules.then(r.rules.tokenOfType("bang"),function(){return n.ignore}),r.rules.then(r.rules.zeroOrMoreWithSeparator(M,r.rules.sequence(S,r.rules.tokenOfType("gt"),S)),n.elements))}var v=r.rules.then(r.rules.tokenOfType("identifier"),l),h=r.rules.tokenOfType("integer"),_=r.rules.then(r.rules.tokenOfType("string"),l),d={n:`
41
- `,r:"\r",t:" "};function l(T){return T.replace(/\\(.)/g,function(S,O){return d[O]||O})}var m=r.rules.sequence(r.rules.tokenOfType("open-square-bracket"),r.rules.sequence.cut(),r.rules.sequence.capture(v),r.rules.tokenOfType("equals"),r.rules.sequence.capture(_),r.rules.tokenOfType("close-square-bracket")).map(function(T,S){return{name:T,value:S,append:!1}}),c=r.rules.sequence(r.rules.tokenOfType("dot"),r.rules.sequence.cut(),r.rules.sequence.capture(v)).map(function(T){return{name:"class",value:T,append:!0}}),y=r.rules.firstOf("attribute or class",m,c);function C(T,S){var O=s(S),H=r.Parser(),R=H.parseTokens(T,O);return R.isSuccess()?i.success(R.value()):new i.Result(null,[i.warning(A(S,R))])}function A(T,S){return"Did not understand this style mapping, so ignored it: "+T+`
42
- `+S.errors().map(E).join(`
43
- `)}function E(T){return"Error was at character number "+T.characterNumber()+": Expected "+T.expected+" but got "+T.actual}var w=a();return Yt}var Kt={},Ta;function ic(){if(Ta)return Kt;Ta=1,Kt.readOptions=n;var e=ke,r=Kt._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","p.Heading => h1:fresh","p[style-name='Heading'] => h1:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh","p.Body => p:fresh","p[style-name='Body'] => p:fresh"],t=Kt._standardOptions={externalFileAccess:!1,transformDocument:i,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function n(u){return u=u||{},e.extend({},t,u,{customStyleMap:s(u.styleMap),readStyleMap:function(){var a=this.customStyleMap;return this.includeEmbeddedStyleMap&&(a=a.concat(s(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(a=a.concat(r)),a}})}function s(u){return u?e.isString(u)?u.split(`
44
- `).map(function(a){return a.trim()}).filter(function(a){return a!==""&&a.charAt(0)!=="#"}):u:[]}function i(u){return u}return Kt}var $n={},ka;function uc(){if(ka)return $n;ka=1;var e=lt(),r=ro();$n.openZip=t;function t(n){return n.arrayBuffer?e.resolve(r.openArrayBuffer(n.arrayBuffer)):e.reject(new Error("Could not find file in options"))}return $n}var Yn={},Sa;function ac(){if(Sa)return Yn;Sa=1;var e=wn(),r=yn();Yn.element=t;function t(n){return function(s){return r.elementWithTag(e.element(n),[s])}}return Yn}var Na;function sc(){if(Na)return je;Na=1;var e=ke,r=Ul(),t=Wl(),n=Zl().DocumentConverter,s=Gl().convertElementToRawText,i=nc().readStyle,u=ic().readOptions,a=lt(),o=uc(),p=ot().Result;je.convertToHtml=g,je.convertToMarkdown=b,je.convert=v,je.extractRawText=l,je.images=lo(),je.transforms=so(),je.underline=ac(),je.embedStyleMap=m,je.readEmbeddedStyleMap=h;function g(c,y){return v(c,y)}function b(c,y){var C=Object.create(y||{});return C.outputFormat="markdown",v(c,C)}function v(c,y){y=u(y);var C=o.openZip(c).then(function(A){return t.readStyleMap(A).then(function(E){return y.embeddedStyleMap=E,A})}).then(function(A){return r.read(A,c,y).then(function(E){return E.map(y.transformDocument)}).then(function(E){return _(E,y)})});return a.toExternalPromise(C)}function h(c){var y=o.openZip(c).then(t.readStyleMap);return a.toExternalPromise(y)}function _(c,y){var C=d(y.readStyleMap()),A=e.extend({},y,{styleMap:C.value}),E=new n(A);return c.flatMapThen(function(w){return C.flatMapThen(function(T){return E.convertToHtml(w)})})}function d(c){return p.combine((c||[]).map(i)).map(function(y){return y.filter(function(C){return!!C})})}function l(c){var y=o.openZip(c).then(r.read).then(function(C){return C.map(s)});return a.toExternalPromise(y)}function m(c,y){var C=o.openZip(c).then(function(A){return t.writeStyleMap(A,y).then(function(){return A})}).then(function(A){return A.toArrayBuffer()}).then(function(A){return{toArrayBuffer:function(){return A},toBuffer:function(){return Buffer.from(A)}}});return a.toExternalPromise(C)}return je.styleMapping=function(){throw new Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)},je}var go=sc();const oc=bo(go),fc=Do({__proto__:null,default:oc},[go]);export{fc as i};