(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"0259":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"03d6":function(e,t,n){var r=n("9c0e"),i=n("6ca1"),o=n("39ad")(!1),a=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);while(t.length>l)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},"04f8":function(e,t,n){var r=n("2d00"),i=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"051b":function(e,t,n){var r=n("1a14"),i=n("10db");e.exports=n("0bad")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"05f5":function(e,t,n){var r=n("7a41"),i=n("ef08").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"06cf":function(e,t,n){var r=n("83ab"),i=n("c65b"),o=n("d1e7"),a=n("5c6c"),s=n("fc6a"),l=n("a04b"),c=n("1a2d"),u=n("0cfb"),h=Object.getOwnPropertyDescriptor;t.f=r?h:function(e,t){if(e=s(e),t=l(t),u)try{return h(e,t)}catch(n){}if(c(e,t))return a(!i(o.f,e,t),e[t])}},"072d":function(e,t,n){"use strict";var r=n("0bad"),i=n("9876"),o=n("fed5"),a=n("1917"),s=n("0983"),l=n("9fbb"),c=Object.assign;e.exports=!c||n("4b8b")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){var n=s(e),c=arguments.length,u=1,h=o.f,f=a.f;while(c>u){var d,A=l(arguments[u++]),p=h?i(A).concat(h(A)):i(A),m=p.length,g=0;while(m>g)d=p[g++],r&&!f.call(A,d)||(n[d]=A[d])}return n}:c},"07fa":function(e,t,n){var r=n("50c4");e.exports=function(e){return r(e.length)}},"0808":function(e,t,n){},"0960":function(e,t,n){e.exports=n("b19a")},"0965":function(e,t,n){var r=n("44c7"),i=n("50f5"),o=n("9440"),a=function(e){return function(t,n,a){var s,l=r(t),c=o(l),u=i(a,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"0983":function(e,t,n){var r=n("c901");e.exports=function(e){return Object(r(e))}},"09d9":function(e,t,n){var r=n("9a1c").isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){e in t&&"boolean"===typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!==typeof e.spaces&&"string"!==typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"===typeof e.alwaysArray||r(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"===typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},"0ae2":function(e,t,n){var r=n("9876"),i=n("fed5"),o=n("1917");e.exports=function(e){var t=r(e),n=i.f;if(n){var a,s=n(e),l=o.f,c=0;while(s.length>c)l.call(e,a=s[c++])&&t.push(a)}return t}},"0b99":function(e,t,n){"use strict";var r=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0cb2":function(e,t,n){var r=n("e330"),i=n("7b0b"),o=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,h,f){var d=n+e.length,A=r.length,p=u;return void 0!==h&&(h=i(h),p=c),s(f,p,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,d);case"<":c=h[l(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>A){var f=o(u/10);return 0===f?i:f<=A?void 0===r[f-1]?a(s,1):r[f-1]+a(s,1):i}c=r[u-1]}return void 0===c?"":c}))}},"0cca":function(e,t,n){var r=n("5e8c"),i=n("6e16"),o=n("54be"),a=n("f2fc");e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&o(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(u){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(e,t,n){var r=n("e330"),i=Error,o=r("".replace),a=function(e){return String(i(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=o(e,s,"");return e}},"0d51":function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(t){return"Object"}}},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},"0e26":function(e,t,n){var r=n("fe11"),i=n("6bd1"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},"0f9c":function(e,t,n){"use strict";const r="undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var i={randomUUID:r};let o;const a=new Uint8Array(16);function s(){if(!o&&(o="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(a)}const l=[];for(let h=0;h<256;++h)l.push((h+256).toString(16).slice(1));function c(e,t=0){return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}function u(e,t,n){if(i.randomUUID&&!t&&!e)return i.randomUUID();e=e||{};const r=e.random||(e.rng||s)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return c(r)}t["a"]=u},"0fae":function(e,t,n){},1098:function(e,t,n){"use strict";t.__esModule=!0;var r=n("17ed"),i=l(r),o=n("f893"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(i.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"10ad":function(e,t,n){var r,i,o=n("a83d"),a={on:function(){},parse:function(){}},s=n("09d9"),l=n("9a1c").isArray,c=!0;function u(e){return r=s.copyOptions(e),s.ensureFlagExists("ignoreDeclaration",r),s.ensureFlagExists("ignoreInstruction",r),s.ensureFlagExists("ignoreAttributes",r),s.ensureFlagExists("ignoreText",r),s.ensureFlagExists("ignoreComment",r),s.ensureFlagExists("ignoreCdata",r),s.ensureFlagExists("ignoreDoctype",r),s.ensureFlagExists("compact",r),s.ensureFlagExists("alwaysChildren",r),s.ensureFlagExists("addParent",r),s.ensureFlagExists("trim",r),s.ensureFlagExists("nativeType",r),s.ensureFlagExists("nativeTypeAttributes",r),s.ensureFlagExists("sanitize",r),s.ensureFlagExists("instructionHasAttributes",r),s.ensureFlagExists("captureSpacesBetweenElements",r),s.ensureAlwaysArrayExists(r),s.ensureKeyExists("declaration",r),s.ensureKeyExists("instruction",r),s.ensureKeyExists("attributes",r),s.ensureKeyExists("text",r),s.ensureKeyExists("comment",r),s.ensureKeyExists("cdata",r),s.ensureKeyExists("doctype",r),s.ensureKeyExists("type",r),s.ensureKeyExists("name",r),s.ensureKeyExists("elements",r),s.ensureKeyExists("parent",r),s.checkFnExists("doctype",r),s.checkFnExists("instruction",r),s.checkFnExists("cdata",r),s.checkFnExists("comment",r),s.checkFnExists("text",r),s.checkFnExists("instructionName",r),s.checkFnExists("elementName",r),s.checkFnExists("attributeName",r),s.checkFnExists("attributeValue",r),s.checkFnExists("attributes",r),r}function h(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function f(e,t){var n;if(r.compact){if(!i[r[e+"Key"]]&&(l(r.alwaysArray)?-1!==r.alwaysArray.indexOf(r[e+"Key"]):r.alwaysArray)&&(i[r[e+"Key"]]=[]),i[r[e+"Key"]]&&!l(i[r[e+"Key"]])&&(i[r[e+"Key"]]=[i[r[e+"Key"]]]),e+"Fn"in r&&"string"===typeof t&&(t=r[e+"Fn"](t,i)),"instruction"===e&&("instructionFn"in r||"instructionNameFn"in r))for(n in t)if(t.hasOwnProperty(n))if("instructionFn"in r)t[n]=r.instructionFn(t[n],n,i);else{var o=t[n];delete t[n],t[r.instructionNameFn(n,o,i)]=o}l(i[r[e+"Key"]])?i[r[e+"Key"]].push(t):i[r[e+"Key"]]=t}else{i[r.elementsKey]||(i[r.elementsKey]=[]);var a={};if(a[r.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;a[r.nameKey]="instructionNameFn"in r?r.instructionNameFn(n,t,i):n,r.instructionHasAttributes?(a[r.attributesKey]=t[n][r.attributesKey],"instructionFn"in r&&(a[r.attributesKey]=r.instructionFn(a[r.attributesKey],n,i))):("instructionFn"in r&&(t[n]=r.instructionFn(t[n],n,i)),a[r.instructionKey]=t[n])}else e+"Fn"in r&&(t=r[e+"Fn"](t,i)),a[r[e+"Key"]]=t;r.addParent&&(a[r.parentKey]=i),i[r.elementsKey].push(a)}}function d(e){var t;if("attributesFn"in r&&e&&(e=r.attributesFn(e,i)),(r.trim||"attributeValueFn"in r||"attributeNameFn"in r||r.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(r.trim&&(e[t]=e[t].trim()),r.nativeTypeAttributes&&(e[t]=h(e[t])),"attributeValueFn"in r&&(e[t]=r.attributeValueFn(e[t],t,i)),"attributeNameFn"in r)){var n=e[t];delete e[t],e[r.attributeNameFn(t,e[t],i)]=n}return e}function A(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||r.instructionHasAttributes)){var n,o=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;while(null!==(n=o.exec(e.body)))t[n[1]]=n[2]||n[3]||n[4];t=d(t)}if("xml"===e.name.toLowerCase()){if(r.ignoreDeclaration)return;i[r.declarationKey]={},Object.keys(t).length&&(i[r.declarationKey][r.attributesKey]=t),r.addParent&&(i[r.declarationKey][r.parentKey]=i)}else{if(r.ignoreInstruction)return;r.trim&&(e.body=e.body.trim());var a={};r.instructionHasAttributes&&Object.keys(t).length?(a[e.name]={},a[e.name][r.attributesKey]=t):a[e.name]=e.body,f("instruction",a)}}function p(e,t){var n;if("object"===typeof e&&(t=e.attributes,e=e.name),t=d(t),"elementNameFn"in r&&(e=r.elementNameFn(e,i)),r.compact){var o;if(n={},!r.ignoreAttributes&&t&&Object.keys(t).length)for(o in n[r.attributesKey]={},t)t.hasOwnProperty(o)&&(n[r.attributesKey][o]=t[o]);!(e in i)&&(l(r.alwaysArray)?-1!==r.alwaysArray.indexOf(e):r.alwaysArray)&&(i[e]=[]),i[e]&&!l(i[e])&&(i[e]=[i[e]]),l(i[e])?i[e].push(n):i[e]=n}else i[r.elementsKey]||(i[r.elementsKey]=[]),n={},n[r.typeKey]="element",n[r.nameKey]=e,!r.ignoreAttributes&&t&&Object.keys(t).length&&(n[r.attributesKey]=t),r.alwaysChildren&&(n[r.elementsKey]=[]),i[r.elementsKey].push(n);n[r.parentKey]=i,i=n}function m(e){r.ignoreText||(e.trim()||r.captureSpacesBetweenElements)&&(r.trim&&(e=e.trim()),r.nativeType&&(e=h(e)),r.sanitize&&(e=e.replace(/&/g,"&").replace(//g,">")),f("text",e))}function g(e){r.ignoreComment||(r.trim&&(e=e.trim()),f("comment",e))}function v(e){var t=i[r.parentKey];r.addParent||delete i[r.parentKey],i=t}function b(e){r.ignoreCdata||(r.trim&&(e=e.trim()),f("cdata",e))}function y(e){r.ignoreDoctype||(e=e.replace(/^ /,""),r.trim&&(e=e.trim()),f("doctype",e))}function w(e){e.note=e}e.exports=function(e,t){var n=c?o.parser(!0,{}):n=new a.Parser("UTF-8"),s={};if(i=s,r=u(t),c?(n.opt={strictEntities:!0},n.onopentag=p,n.ontext=m,n.oncomment=g,n.onclosetag=v,n.onerror=w,n.oncdata=b,n.ondoctype=y,n.onprocessinginstruction=A):(n.on("startElement",p),n.on("text",m),n.on("comment",g),n.on("endElement",v),n.on("error",w)),c)n.write(e).close();else if(!n.parse(e))throw new Error("XML parsing error: "+n.getError());if(s[r.elementsKey]){var l=s[r.elementsKey];delete s[r.elementsKey],s[r.elementsKey]=l,delete s.text}return s}},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"12f2":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},"13d2":function(e,t,n){var r=n("d039"),i=n("1626"),o=n("1a2d"),a=n("83ab"),s=n("5e77").CONFIGURABLE,l=n("8925"),c=n("69f3"),u=c.enforce,h=c.get,f=Object.defineProperty,d=a&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),A=String(String).split("String"),p=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),d&&n&&o(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=u(e);return o(r,"source")||(r.source=A.join("string"==typeof t?t:"")),e};Function.prototype.toString=p((function(){return i(this)&&h(this).source||l(this)}),"toString")},"14cc":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}},"14d9":function(e,t,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),a=n("3a34"),s=n("3511"),l=n("d039"),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:c||u},{push:function(e){var t=i(this),n=o(t),r=arguments.length;s(n+r);for(var l=0;l=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"1a14":function(e,t,n){var r=n("77e9"),i=n("faf5"),o=n("3397"),a=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2d":function(e,t,n){var r=n("e330"),i=n("7b0b"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},"1a33":function(e,t,n){var r=n("46ab");e.exports=r({}.isPrototypeOf)},"1a89":function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},"1d80":function(e,t,n){var r=n("7234"),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},"1fb5":function(e,t,n){"use strict";t.byteLength=u,t.toByteArray=f,t.fromByteArray=p;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function u(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function h(e,t,n){return 3*(t+n)/4-n}function f(e){var t,n,r=c(e),a=r[0],s=r[1],l=new o(h(e,a,s)),u=0,f=s>0?a-4:a;for(n=0;n>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l}function d(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function A(e,t,n){for(var r,i=[],o=t;ol?l:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},2347:function(e,t,n){var r=n("2ed3");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"23a2":function(e,t,n){var r,i,o=n("1a89"),a=n("9431"),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=u.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),e.exports=i},"23cb":function(e,t,n){var r=n("5926"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("cb2d"),s=n("6374"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,h,f,d,A,p=e.target,m=e.global,g=e.stat;if(u=m?r:g?r[p]||s(p,{}):(r[p]||{}).prototype,u)for(h in t){if(d=t[h],e.dontCallGetSet?(A=i(u,h),f=A&&A.value):f=u[h],n=c(m?h:p+(g?".":"#")+h,e.forced),!n&&void 0!==f){if(typeof d==typeof f)continue;l(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(u,h,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"25ca":function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return cA})),n.d(t,"b",(function(){return TA})); /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ var i={version:"0.18.5"},o=1200,a=1252,s=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],l={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},c=function(e){-1!=s.indexOf(e)&&(a=l[0]=e)};function u(){c(1252)}var h=function(e){o=e,c(e)};function f(){h(1200),u()}function d(e){for(var t=[],n=0,r=e.length;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}function p(e){for(var t=[],n=0;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}var m,g=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?A(e.slice(2)):254==t&&255==n?p(e.slice(2)):65279==t?e.slice(1):e},v=function(e){return String.fromCharCode(e)},b=function(e){return String.fromCharCode(e)};var y=null,w=!0,x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function C(e){for(var t="",n=0,r=0,i=0,o=0,a=0,s=0,l=0,c=0;c>2,r=e.charCodeAt(c++),a=(3&n)<<4|r>>4,i=e.charCodeAt(c++),s=(15&r)<<2|i>>6,l=63&i,isNaN(r)?s=l=64:isNaN(i)&&(l=64),t+=x.charAt(o)+x.charAt(a)+x.charAt(s)+x.charAt(l);return t}function k(e){var t="",n=0,r=0,i=0,o=0,a=0,s=0,l=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c>4,t+=String.fromCharCode(n),s=x.indexOf(e.charAt(c++)),r=(15&a)<<4|s>>2,64!==s&&(t+=String.fromCharCode(r)),l=x.indexOf(e.charAt(c++)),i=(3&s)<<6|l,64!==l&&(t+=String.fromCharCode(i));return t}var _=function(){return"undefined"!==typeof e&&"undefined"!==typeof r&&"undefined"!==typeof r.versions&&!!r.versions.node}(),E=function(){if("undefined"!==typeof e){var t=!e.from;if(!t)try{e.from("foo","utf8")}catch(n){t=!0}return t?function(t,n){return n?new e(t,n):new e(t)}:e.from.bind(e)}return function(){}}();function B(t){return _?e.alloc?e.alloc(t):new e(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}function S(t){return _?e.allocUnsafe?e.allocUnsafe(t):new e(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}var T=function(e){return _?E(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function O(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],n=0;n>6&31,i[n++]=128|63&a;else if(a>=55296&&a<57344){a=64+(1023&a);var s=1023&e.charCodeAt(++o);i[n++]=240|a>>8&7,i[n++]=128|a>>2&63,i[n++]=128|s>>6&15|(3&a)<<4,i[n++]=128|63&s}else i[n++]=224|a>>12&15,i[n++]=128|a>>6&63,i[n++]=128|63&a;n>r&&(t.push(i.slice(0,n)),n=0,i=B(65535),r=65530)}return t.push(i.slice(0,n)),N(t)}var I=/\u0000/g,D=/[\u0001-\u0006]/g;function M(e){var t="",n=e.length-1;while(n>=0)t+=e.charAt(n--);return t}function P(e,t){var n=""+e;return n.length>=t?n:dt("0",t-n.length)+n}function U(e,t){var n=""+e;return n.length>=t?n:dt(" ",t-n.length)+n}function R(e,t){var n=""+e;return n.length>=t?n:n+dt(" ",t-n.length)}function j(e,t){var n=""+Math.round(e);return n.length>=t?n:dt("0",t-n.length)+n}function Q(e,t){var n=""+e;return n.length>=t?n:dt("0",t-n.length)+n}var H=Math.pow(2,32);function z(e,t){if(e>H||e<-H)return j(e,t);var n=Math.round(e);return Q(n,t)}function V(e,t){return t=t||0,e.length>=7+t&&103===(32|e.charCodeAt(t))&&101===(32|e.charCodeAt(t+1))&&110===(32|e.charCodeAt(t+2))&&101===(32|e.charCodeAt(t+3))&&114===(32|e.charCodeAt(t+4))&&97===(32|e.charCodeAt(t+5))&&108===(32|e.charCodeAt(t+6))}var q=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],K=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function W(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var G={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},Y={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},X={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function J(e,t,n){var r=e<0?-1:1,i=e*r,o=0,a=1,s=0,l=1,c=0,u=0,h=Math.floor(i);while(ct&&(c>t?(u=l,s=o):(u=c,s=a)),!n)return[0,r*s,u];var f=Math.floor(r*s/u);return[f,r*s-f*u,u]}function Z(e,t,n){if(e>2958465||e<0)return null;var r=0|e,i=Math.floor(86400*(e-r)),o=0,a=[],s={D:r,T:i,u:86400*(e-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++r,++s.D)),60===r)a=n?[1317,10,29]:[1900,2,29],o=3;else if(0===r)a=n?[1317,8,29]:[1900,1,0],o=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),a=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),r<60&&(o=(o+6)%7),n&&(o=ue(l,a))}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=o,s}var ee=new Date(1899,11,31,0,0,0),te=ee.getTime(),ne=new Date(1900,2,1,0,0,0);function re(e,t){var n=e.getTime();return t?n-=1262304e5:e>=ne&&(n+=864e5),(n-(te+6e4*(e.getTimezoneOffset()-ee.getTimezoneOffset())))/864e5}function ie(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function oe(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function ae(e){var t=e<0?12:11,n=ie(e.toFixed(12));return n.length<=t?n:(n=e.toPrecision(10),n.length<=t?n:e.toExponential(5))}function se(e){var t=ie(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}function le(e){var t,n=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=n>=-4&&n<=-1?e.toPrecision(10+n):Math.abs(n)<=9?ae(e):10===n?e.toFixed(10).substr(0,12):se(e),ie(oe(t.toUpperCase()))}function ce(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):le(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Qe(14,re(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function ue(e,t){t[0]-=581;var n=e.getDay();return e<60&&(n=(n+6)%7),n}function he(e,t,n,r){var i,o="",a=0,s=0,l=n.y,c=0;switch(e){case 98:l=n.y+543;case 121:switch(t.length){case 1:case 2:i=l%100,c=2;break;default:i=l%1e4,c=4;break}break;case 109:switch(t.length){case 1:case 2:i=n.m,c=t.length;break;case 3:return K[n.m-1][1];case 5:return K[n.m-1][0];default:return K[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:i=n.d,c=t.length;break;case 3:return q[n.q][0];default:return q[n.q][1]}break;case 104:switch(t.length){case 1:case 2:i=1+(n.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:i=n.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:i=n.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(s=r>=2?3===r?1e3:100:1===r?10:1,a=Math.round(s*(n.S+n.u)),a>=60*s&&(a=0),"s"===t?0===a?"0":""+a/s:(o=P(a,2+r),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):P(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":i=24*n.D+n.H;break;case"[m]":case"[mm]":i=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":i=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}c=3===t.length?1:2;break;case 101:i=l,c=1;break}var u=c>0?P(i,c):"";return u}function fe(e){var t=3;if(e.length<=t)return e;for(var n=e.length%t,r=e.substr(0,n);n!=e.length;n+=t)r+=(r.length>0?",":"")+e.substr(n,t);return r}var de=/%/g;function Ae(e,t,n){var r=t.replace(de,""),i=t.length-r.length;return Le(e,r,n*Math.pow(10,2*i))+dt("%",i)}function pe(e,t,n){var r=t.length-1;while(44===t.charCodeAt(r-1))--r;return Le(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}function me(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+me(e,-t);var i=e.indexOf(".");-1===i&&(i=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%i;if(o<0&&(o+=i),n=(t/Math.pow(10,o)).toPrecision(r+1+(i+o)%i),-1===n.indexOf("e")){var a=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(a-n.length+o):n+="E+"+(a-o);while("0."===n.substr(0,2))n=n.charAt(0)+n.substr(2,i)+"."+n.substr(2+i),n=n.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(i+o)%i)+"."+r.substr(o)+"E"}))}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}var ge=/# (\?+)( ?)\/( ?)(\d+)/;function ve(e,t,n){var r=parseInt(e[4],10),i=Math.round(t*r),o=Math.floor(i/r),a=i-o*r,s=r;return n+(0===o?"":""+o)+" "+(0===a?dt(" ",e[1].length+1+e[4].length):U(a,e[1].length)+e[2]+"/"+e[3]+P(s,e[4].length))}function be(e,t,n){return n+(0===t?"":""+t)+dt(" ",e[1].length+2+e[4].length)}var ye=/^#*0*\.([0#]+)/,we=/\).*[0#]/,xe=/\(###\) ###\\?-####/;function Ce(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function ke(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function _e(e,t){var n=e-Math.floor(e),r=Math.pow(10,t);return t<(""+Math.round(n*r)).length?0:Math.round(n*r)}function Ee(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Be(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}function Se(e,t,n){if(40===e.charCodeAt(0)&&!t.match(we)){var r=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?Se("n",r,n):"("+Se("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return pe(e,t,n);if(-1!==t.indexOf("%"))return Ae(e,t,n);if(-1!==t.indexOf("E"))return me(t,n);if(36===t.charCodeAt(0))return"$"+Se(e,t.substr(" "==t.charAt(1)?2:1),n);var i,o,a,s,l=Math.abs(n),c=n<0?"-":"";if(t.match(/^00+$/))return c+z(l,t.length);if(t.match(/^[#?]+$/))return i=z(n,0),"0"===i&&(i=""),i.length>t.length?i:Ce(t.substr(0,t.length-i.length))+i;if(o=t.match(ge))return ve(o,l,c);if(t.match(/^#+0+$/))return c+z(l,t.length-t.indexOf("0"));if(o=t.match(ye))return i=ke(n,o[1].length).replace(/^([^\.]+)$/,"$1."+Ce(o[1])).replace(/\.$/,"."+Ce(o[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+dt("0",Ce(o[1]).length-t.length)})),-1!==t.indexOf("0.")?i:i.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return c+ke(l,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return c+fe(z(l,0));if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+Se(e,t,-n):fe(""+(Math.floor(n)+Ee(n,o[1].length)))+"."+P(_e(n,o[1].length),o[1].length);if(o=t.match(/^#,#*,#0/))return Se(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=M(Se(e,t.replace(/[\\-]/g,""),n)),a=0,M(M(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return a=0?Ne("n",r,n):"("+Ne("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return Te(e,t,n);if(-1!==t.indexOf("%"))return Oe(e,t,n);if(-1!==t.indexOf("E"))return Fe(t,n);if(36===t.charCodeAt(0))return"$"+Ne(e,t.substr(" "==t.charAt(1)?2:1),n);var i,o,a,s,l=Math.abs(n),c=n<0?"-":"";if(t.match(/^00+$/))return c+P(l,t.length);if(t.match(/^[#?]+$/))return i=""+n,0===n&&(i=""),i.length>t.length?i:Ce(t.substr(0,t.length-i.length))+i;if(o=t.match(ge))return be(o,l,c);if(t.match(/^#+0+$/))return c+P(l,t.length-t.indexOf("0"));if(o=t.match(ye))return i=(""+n).replace(/^([^\.]+)$/,"$1."+Ce(o[1])).replace(/\.$/,"."+Ce(o[1])),i=i.replace(/\.(\d*)$/,(function(e,t){return"."+t+dt("0",Ce(o[1]).length-t.length)})),-1!==t.indexOf("0.")?i:i.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return c+fe(""+l);if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+Ne(e,t,-n):fe(""+n)+"."+dt("0",o[1].length);if(o=t.match(/^#,#*,#0/))return Ne(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=M(Ne(e,t.replace(/[\\-]/g,""),n)),a=0,M(M(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return a-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1));break;case"?":while(e.charAt(++t)===n);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":while(t-1);break;case" ":++t;break;default:++t;break}return!1}function Pe(e,t,n,r){var i,o,a,s=[],l="",c=0,u="",h="t",f="H";while(c=12?"P":"A"),p.t="T",f="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=i&&(p.v=i.H>=12?"PM":"AM"),p.t="T",c+=5,f="h"):"上午/下午"===e.substr(c,5).toUpperCase()?(null!=i&&(p.v=i.H>=12?"下午":"上午"),p.t="T",c+=5,f="h"):(p.t="t",++c),null==i&&"T"===p.t)return"";s[s.length]=p,h=u;break;case"[":l=u;while("]"!==e.charAt(c++)&&c-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",Me(e)||(s[s.length]={t:"t",v:l}));break;case".":if(null!=i){l=u;while(++c-1)l+=u;s[s.length]={t:"n",v:l};break;case"?":l=u;while(e.charAt(++c)===u)l+=u;s[s.length]={t:u,v:l},h=u;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":s[s.length]={t:1===r?"t":u,v:u},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":l=u;while(c-1)l+=e.charAt(c);s[s.length]={t:"D",v:l};break;case" ":s[s.length]={t:u,v:u},++c;break;case"$":s[s.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(u))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"t",v:u},++c;break}var m,g=0,v=0;for(c=s.length-1,h="t";c>=0;--c)switch(s[c].t){case"h":case"H":s[c].t=f,h="h",g<1&&(g=1);break;case"s":(m=s[c].v.match(/\.0+$/))&&(v=Math.max(v,m[0].length-1)),g<3&&(g=3);case"d":case"y":case"M":case"e":h=s[c].t;break;case"m":"s"===h&&(s[c].t="M",g<2&&(g=2));break;case"X":break;case"Z":g<1&&s[c].v.match(/[Hh]/)&&(g=1),g<2&&s[c].v.match(/[Mm]/)&&(g=2),g<3&&s[c].v.match(/[Ss]/)&&(g=3)}switch(g){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M);break}var b,y="";for(c=0;c0){40==y.charCodeAt(0)?(w=t<0&&45===y.charCodeAt(0)?-t:t,x=Le("n",y,w)):(w=t<0&&r>1?-t:t,x=Le("n",y,w),w<0&&s[0]&&"t"==s[0].t&&(x=x.substr(1),s[0].v="-"+s[0].v)),b=x.length-1;var k=s.length;for(c=0;c-1){k=c;break}var _=s.length;if(k===s.length&&-1===x.indexOf("E")){for(c=s.length-1;c>=0;--c)null!=s[c]&&-1!=="n?".indexOf(s[c].t)&&(b>=s[c].v.length-1?(b-=s[c].v.length,s[c].v=x.substr(b+1,s[c].v.length)):b<0?s[c].v="":(s[c].v=x.substr(0,b+1),b=-1),s[c].t="t",_=c);b>=0&&_=0;--c)if(null!=s[c]&&-1!=="n?".indexOf(s[c].t)){for(o=s[c].v.indexOf(".")>-1&&c===k?s[c].v.indexOf(".")-1:s[c].v.length-1,C=s[c].v.substr(o+1);o>=0;--o)b>=0&&("0"===s[c].v.charAt(o)||"#"===s[c].v.charAt(o))&&(C=x.charAt(b--)+C);s[c].v=C,s[c].t="t",_=c}for(b>=0&&_-1&&c===k?s[c].v.indexOf(".")+1:0,C=s[c].v.substr(0,o);o-1&&(w=r>1&&t<0&&c>0&&"-"===s[c-1].v?-t:t,s[c].v=Le(s[c].t,s[c].v,w),s[c].t="t");var E="";for(c=0;c!==s.length;++c)null!=s[c]&&(E+=s[c].v);return E}var Ue=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Re(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0;break}return!1}function je(e,t){var n=Ie(e),r=n.length,i=n[r-1].indexOf("@");if(r<4&&i>-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!==typeof t)return[4,4===n.length||i>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=i>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"];break;case 4:break}var o=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,o];if(null!=n[0].match(/\[[=<>]/)||null!=n[1].match(/\[[=<>]/)){var a=n[0].match(Ue),s=n[1].match(Ue);return Re(t,a)?[r,n[0]]:Re(t,s)?[r,n[1]]:[r,n[null!=a&&null!=s?2:1]]}return[r,o]}function Qe(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:G)[e],null==r&&(r=n.table&&n.table[Y[e]]||G[Y[e]]),null==r&&(r=X[e]||"General");break}if(V(r,0))return ce(t,n);t instanceof Date&&(t=re(t,n.date1904));var i=je(r,t);if(V(i[1]))return ce(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return Pe(i[1],t,n,i[0])}function He(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(void 0!=G[n]){if(G[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return G[t]=e,t}function $e(){G=W()}var ze={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Ve=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function qe(e){var t="number"==typeof e?G[e]:e;return t=t.replace(Ve,"(\\d+)"),new RegExp("^"+t+"$")}function Ke(e,t,n){var r=-1,i=-1,o=-1,a=-1,s=-1,l=-1;(t.match(Ve)||[]).forEach((function(e,t){var c=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":r=c;break;case"d":o=c;break;case"h":a=c;break;case"s":l=c;break;case"m":a>=0?s=c:i=c;break}})),l>=0&&-1==s&&i>=0&&(s=i,i=-1);var c=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var u=("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==a&&-1==s&&-1==l?c:-1==r&&-1==i&&-1==o?u:c+"T"+u}var We=function(){var e={};function t(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=n,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!==typeof Int32Array?new Int32Array(t):t}e.version="1.2.0";var n=t();function r(e){var t=0,n=0,r=0,i="undefined"!==typeof Int32Array?new Int32Array(4096):new Array(4096);for(r=0;256!=r;++r)i[r]=e[r];for(r=0;256!=r;++r)for(n=e[r],t=256+r;t<4096;t+=256)n=i[t]=n>>>8^e[255&n];var o=[];for(r=1;16!=r;++r)o[r-1]="undefined"!==typeof Int32Array?i.subarray(256*r,256*r+256):i.slice(256*r,256*r+256);return o}var i=r(n),o=i[0],a=i[1],s=i[2],l=i[3],c=i[4],u=i[5],h=i[6],f=i[7],d=i[8],A=i[9],p=i[10],m=i[11],g=i[12],v=i[13],b=i[14];function y(e,t){for(var r=-1^t,i=0,o=e.length;i>>8^n[255&(r^e.charCodeAt(i++))];return~r}function w(e,t){for(var r=-1^t,i=e.length-15,y=0;y>8&255]^g[e[y++]^r>>16&255]^m[e[y++]^r>>>24]^p[e[y++]]^A[e[y++]]^d[e[y++]]^f[e[y++]]^h[e[y++]]^u[e[y++]]^c[e[y++]]^l[e[y++]]^s[e[y++]]^a[e[y++]]^o[e[y++]]^n[e[y++]];i+=15;while(y>>8^n[255&(r^e[y++])];return~r}function x(e,t){for(var r=-1^t,i=0,o=e.length,a=0,s=0;i>>8^n[255&(r^a)]:a<2048?(r=r>>>8^n[255&(r^(192|a>>6&31))],r=r>>>8^n[255&(r^(128|63&a))]):a>=55296&&a<57344?(a=64+(1023&a),s=1023&e.charCodeAt(i++),r=r>>>8^n[255&(r^(240|a>>8&7))],r=r>>>8^n[255&(r^(128|a>>2&63))],r=r>>>8^n[255&(r^(128|s>>6&15|(3&a)<<4))],r=r>>>8^n[255&(r^(128|63&s))]):(r=r>>>8^n[255&(r^(224|a>>12&15))],r=r>>>8^n[255&(r^(128|a>>6&63))],r=r>>>8^n[255&(r^(128|63&a))]);return~r}return e.table=n,e.bstr=y,e.buf=w,e.str=x,e}(),Ge=function(){var t,n={};function r(e,t){for(var n=e.split("/"),r=t.split("/"),i=0,o=0,a=Math.min(n.length,r.length);i>>1,e.write_shift(2,n);var r=t.getFullYear()-1980;r=r<<4|t.getMonth()+1,r=r<<5|t.getDate(),e.write_shift(2,r)}function s(e){var t=65535&e.read_shift(2),n=65535&e.read_shift(2),r=new Date,i=31&n;n>>>=5;var o=15&n;n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(o-1),r.setDate(i);var a=31&t;t>>>=5;var s=63&t;return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(a<<1),r}function l(e){Gn(e,0);var t={},n=0;while(e.l<=e.length-4){var r=e.read_shift(2),i=e.read_shift(2),o=e.l+i,a={};switch(r){case 21589:n=e.read_shift(1),1&n&&(a.mtime=e.read_shift(4)),i>5&&(2&n&&(a.atime=e.read_shift(4)),4&n&&(a.ctime=e.read_shift(4))),a.mtime&&(a.mt=new Date(1e3*a.mtime));break}e.l=o,t[r]=a}return t}function c(){return t||(t={})}function u(e,t){if(80==e[0]&&75==e[1])return Ne(e,t);if(109==(32|e[0])&&105==(32|e[1]))return Qe(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var n=3,r=512,i=0,o=0,a=0,s=0,l=0,c=[],u=e.slice(0,512);Gn(u,0);var p=h(u);switch(n=p[0],n){case 3:r=512;break;case 4:r=4096;break;case 0:if(0==p[1])return Ne(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+n)}512!==r&&(u=e.slice(0,r),Gn(u,28));var g=e.slice(0,r);f(u,n);var y=u.read_shift(4,"i");if(3===n&&0!==y)throw new Error("# Directory Sectors: Expected 0 saw "+y);u.l+=4,a=u.read_shift(4,"i"),u.l+=4,u.chk("00100000","Mini Stream Cutoff Size: "),s=u.read_shift(4,"i"),i=u.read_shift(4,"i"),l=u.read_shift(4,"i"),o=u.read_shift(4,"i");for(var w=-1,x=0;x<109;++x){if(w=u.read_shift(4,"i"),w<0)break;c[x]=w}var C=d(e,r);m(l,o,C,r,c);var k=v(C,a,c,r);k[a].name="!Directory",i>0&&s!==j&&(k[s].name="!MiniFAT"),k[c[0]].name="!FAT",k.fat_addrs=c,k.ssz=r;var _={},E=[],B=[],S=[];b(a,k,C,E,i,_,B,s),A(B,S,E),E.shift();var T={FileIndex:B,FullPaths:S};return t&&t.raw&&(T.raw={header:g,sectors:C}),T}function h(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(Q,"Header Signature: "),e.l+=16;var t=e.read_shift(2,"u");return[e.read_shift(2,"u"),t]}function f(e,t){var n=9;switch(e.l+=2,n=e.read_shift(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+n);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+n);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+n)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}function d(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],i=1;i0&&a>=0)o.push(t.slice(a*R,a*R+R)),i-=R,a=Qn(n,4*a);return 0===o.length?Xn(0):N(o).slice(0,e.size)}function m(e,t,n,r,i){var o=j;if(e===j){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var a=n[e],s=(r>>>2)-1;if(!a)return;for(var l=0;l=0;){i[l]=!0,o[o.length]=l,a.push(e[l]);var u=n[Math.floor(4*l/r)];if(c=4*l&s,r<4+c)throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!e[u])break;l=Qn(e[u],c)}return{nodes:o,data:mn([a])}}function v(e,t,n,r){var i=e.length,o=[],a=[],s=[],l=[],c=r-1,u=0,h=0,f=0,d=0;for(u=0;u=i&&(f-=i),!a[f]){l=[];var A=[];for(h=f;h>=0;){A[h]=!0,a[h]=!0,s[s.length]=h,l.push(e[h]);var p=n[Math.floor(4*h/r)];if(d=4*h&c,r<4+d)throw new Error("FAT boundary crossed: "+h+" 4 "+r);if(!e[p])break;if(h=Qn(e[p],d),A[h])break}o[f]={nodes:s,data:mn([l])}}return o}function b(e,t,n,r,i,o,a,s){for(var l,c=0,u=r.length?2:0,h=t[e].data,f=0,d=0;f0&&c!==j&&(t[c].name="!StreamData")):m.size>=4096?(m.storage="fat",void 0===t[m.start]&&(t[m.start]=g(n,m.start,t.fat_addrs,t.ssz)),t[m.start].name=m.name,m.content=t[m.start].data.slice(0,m.size)):(m.storage="minifat",m.size<0?m.size=0:c!==j&&m.start!==j&&t[c]&&(m.content=p(m,t[c].data,(t[s]||{}).data))),m.content&&Gn(m.content,0),o[l]=m,a.push(m)}}function y(e,t){return new Date(1e3*(jn(e,t+4)/1e7*Math.pow(2,32)+jn(e,t)/1e7-11644473600))}function w(e,n){return c(),u(t.readFileSync(e),n)}function x(t,n){var r=n&&n.type;switch(r||_&&e.isBuffer(t)&&(r="buffer"),r||"base64"){case"file":return w(t,n);case"base64":return u(T(k(t)),n);case"binary":return u(T(t),n)}return u(t,n)}function O(e,t){var n=t||{},r=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=r+"/",e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),F(e)}function F(e){var t="Sh33tJ5";if(!Ge.find(e,"/"+t)){var n=Xn(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),L(e)}}function L(e,t){O(e);for(var n=!1,a=!1,s=e.FullPaths.length-1;s>=0;--s){var l=e.FileIndex[s];switch(l.type){case 0:a?n=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:a=!0,isNaN(l.R*l.L*l.C)&&(n=!0),l.R>-1&&l.L>-1&&l.R==l.L&&(n=!0);break;default:n=!0;break}}if(n||t){var c=new Date(1987,1,19),u=0,h=Object.create?Object.create(null):{},f=[];for(s=0;s1?1:-1,A.size=0,A.type=5;else if("/"==p.slice(-1)){for(u=s+1;u=f.length?-1:u,u=s+1;u=f.length?-1:u,A.type=1}else i(e.FullPaths[s+1]||"")==i(p)&&(A.R=s+1),A.type=2}}}function M(t,n){var r=n||{};if("mad"==r.fileType)return He(t,r);switch(L(t),r.fileType){case"zip":return Ie(t,r)}var i=function(e){for(var t=0,n=0,r=0;r0&&(o<4096?t+=o+63>>6:n+=o+511>>9)}}var a=e.FullPaths.length+3>>2,s=t+7>>3,l=t+127>>7,c=s+n+a+l,u=c+127>>7,h=u<=109?0:Math.ceil((u-109)/127);while(c+u+h+127>>7>u)h=++u<=109?0:Math.ceil((u-109)/127);var f=[1,h,u,l,a,n,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(t),o=Xn(i[7]<<9),a=0,s=0;for(a=0;a<8;++a)o.write_shift(1,H[a]);for(a=0;a<8;++a)o.write_shift(2,0);for(o.write_shift(2,62),o.write_shift(2,3),o.write_shift(2,65534),o.write_shift(2,9),o.write_shift(2,6),a=0;a<3;++a)o.write_shift(2,0);for(o.write_shift(4,0),o.write_shift(4,i[2]),o.write_shift(4,i[0]+i[1]+i[2]+i[3]-1),o.write_shift(4,0),o.write_shift(4,4096),o.write_shift(4,i[3]?i[0]+i[1]+i[2]-1:j),o.write_shift(4,i[3]),o.write_shift(-4,i[1]?i[0]-1:j),o.write_shift(4,i[1]),a=0;a<109;++a)o.write_shift(-4,a>9)));l(i[6]+7>>3);while(511&o.l)o.write_shift(-4,z.ENDOFCHAIN);for(s=a=0,c=0;c=4096||(h.start=s,l(u+63>>6)));while(511&o.l)o.write_shift(-4,z.ENDOFCHAIN);for(a=0;a=4096)if(o.l=h.start+1<<9,_&&e.isBuffer(h.content))h.content.copy(o,o.l,0,h.size),o.l+=h.size+511&-512;else{for(c=0;c0&&h.size<4096)if(_&&e.isBuffer(h.content))h.content.copy(o,o.l,0,h.size),o.l+=h.size+63&-64;else{for(c=0;c>16|t>>8|t)}for(var te="undefined"!==typeof Uint8Array,ne=te?new Uint8Array(256):[],re=0;re<256;++re)ne[re]=ee(re);function ie(e,t){var n=ne[255&e];return t<=8?n>>>8-t:(n=n<<8|ne[e>>8&255],t<=16?n>>>16-t:(n=n<<8|ne[e>>16&255],n>>>24-t))}function oe(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function ae(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function se(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}function le(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function ce(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function ue(e,t,n){var r=7&t,i=t>>>3,o=(1<>>r;return n<8-r?a&o:(a|=e[i+1]<<8-r,n<16-r?a&o:(a|=e[i+2]<<16-r,n<24-r||(a|=e[i+3]<<24-r),a&o))}function he(e,t,n){var r=7&t,i=t>>>3;return r<=5?e[i]|=(7&n)<>8-r),t+3}function fe(e,t,n){var r=7&t,i=t>>>3;return n=(1&n)<>>3;return n<<=r,e[i]|=255&n,n>>>=8,e[i+1]=n,t+8}function Ae(e,t,n){var r=7&t,i=t>>>3;return n<<=r,e[i]|=255&n,n>>>=8,e[i+1]=255&n,e[i+2]=n>>>8,t+16}function pe(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(_){var o=S(r);if(e.copy)e.copy(o);else for(;i>r-h,a=(1<=0;--a)t[s|a<0)t[t.l++]=e[n++]}return t.l}function o(t,n){var i=0,o=0,a=te?new Uint16Array(32768):[];while(o0)n[n.l++]=t[o++];i=8*n.l}else{i=he(n,i,+!(o+s!=t.length)+2);var l=0;while(s-- >0){var c=t[o];l=32767&(l<<5^c);var u=-1,h=0;if((u=a[l])&&(u|=-32768&o,u>o&&(u-=32768),u2){c=r[h],c<=22?i=de(n,i,ne[c+1]>>1)-1:(de(n,i,3),i+=5,de(n,i,ne[c-23]>>5),i+=3);var f=c<8?0:c-4>>2;f>0&&(Ae(n,i,h-J[c]),i+=f),c=e[o-u],i=de(n,i,ne[c]>>3),i-=3;var d=c<4?0:c-2>>1;d>0&&(Ae(n,i,o-u-Z[c]),i+=d);for(var A=0;A>8-A;for(var p=(1<<7-A)-1;p>=0;--p)_e[d|p<>>=3){case 16:o=3+oe(e,t),t+=2,d=m[m.length-1];while(o-- >0)m.push(d);break;case 17:o=3+ae(e,t),t+=3;while(o-- >0)m.push(0);break;case 18:o=11+ce(e,t),t+=7;while(o-- >0)m.push(0);break;default:m.push(d),l>>0,s=0,l=0;while(0==(1&r))if(r=ae(e,n),n+=3,r>>>1!=0)for(r>>1==1?(s=9,l=5):(n=Se(e,n),s=Ee,l=Be);;){!t&&a>>1==1?ve[c]:Ce[c];if(n+=15&u,u>>>=4,0===(u>>>8&255))i[o++]=u;else{if(256==u)break;u-=257;var h=u<8?0:u-4>>2;h>5&&(h=0);var f=o+J[u];h>0&&(f+=ue(e,n,h),n+=h),c=ue(e,n,l),u=r>>>1==1?be[c]:ke[c],n+=15&u,u>>>=4;var d=u<4?0:u-2>>1,A=Z[u];d>0&&(A+=ue(e,n,d),n+=d),!t&&a>>3]|e[1+(n>>>3)]<<8;if(n+=32,p>0){!t&&a0)i[o++]=e[n>>>3],n+=8}}return t?[i,n+7>>>3]:[i.slice(0,o),n+7>>>3]}function Oe(e,t){var n=e.slice(e.l||0),r=Te(n,t);return e.l+=r[1],r[0]}function Fe(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function Ne(e,t){var n=e;Gn(n,0);var r=[],i=[],o={FileIndex:r,FullPaths:i};O(o,{root:t.root});var a=n.length-4;while((80!=n[a]||75!=n[a+1]||5!=n[a+2]||6!=n[a+3])&&a>=0)--a;n.l=a+4,n.l+=4;var s=n.read_shift(2);n.l+=6;var c=n.read_shift(4);for(n.l=c,a=0;a0)if(r=r.slice(0,r.length-1),r=r.slice(0,r.lastIndexOf("/")+1),a.slice(0,r.length)==r)break;var s=(i[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var l="--"+(s[1]||""),c=[],u=[],h={FileIndex:c,FullPaths:u};O(h);var f,d=0;for(o=0;o=32&&A<128&&++f;var m=f>=4*d/5;o.push(i),o.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+s),o.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),o.push("Content-Type: "+Me(l,s)),o.push(""),o.push(m?Ue(h):Pe(h))}return o.push(i+"--\r\n"),o.join("\r\n")}function $e(e){var t={};return O(t,e),t}function ze(e,t,n,r){var i=r&&r.unsafe;i||O(e);var a=!i&&Ge.find(e,t);if(!a){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),a={name:o(t),type:2},e.FileIndex.push(a),e.FullPaths.push(s),i||Ge.utils.cfb_gc(e)}return a.content=n,a.size=n?n.length:0,r&&(r.CLSID&&(a.clsid=r.CLSID),r.mt&&(a.mt=r.mt),r.ct&&(a.ct=r.ct)),a}function Ve(e,t){O(e);var n=Ge.find(e,t);if(n)for(var r=0;r3&&(r=!0),i[o].slice(i[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[o].slice(i[o].length-1));case"D":n*=24;case"H":n*=60;case"M":if(!r)throw new Error("Unsupported ISO Duration Field: M");n*=60;case"S":break}t+=n*parseInt(i[o],10)}return t}var st=new Date("2017-02-19T19:06:09.000Z"),lt=isNaN(st.getFullYear())?new Date("2/19/17"):st,ct=2017==lt.getFullYear();function ut(e,t){var n=new Date(e);if(ct)return t>0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==lt.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return e.indexOf(""+r)>-1||n.setFullYear(n.getFullYear()+100),n}var i=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function ht(t,n){if(_&&e.isBuffer(t)){if(n){if(255==t[0]&&254==t[1])return Jt(t.slice(2).toString("utf16le"));if(254==t[1]&&255==t[2])return Jt(p(t.slice(2).toString("binary")))}return t.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(n){if(255==t[0]&&254==t[1])return Jt(new TextDecoder("utf-16le").decode(t.slice(2)));if(254==t[0]&&255==t[1])return Jt(new TextDecoder("utf-16be").decode(t.slice(2)))}var r={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return r[e]||e}))}catch(a){}for(var i=[],o=0;o!=t.length;++o)i.push(String.fromCharCode(t[o]));return i.join("")}function ft(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=ft(e[n]));return t}function dt(e,t){var n="";while(n.length3&&-1==pt.indexOf(a))return n}else if(a.match(/[a-z]/))return n;return r<0||r>8099?n:(i>0||o>1)&&101!=r?t:e.match(/[^-0-9:,\/\\]/)?n:t}var gt=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,n,r){if(e||"string"==typeof n)return t.split(n);for(var i=t.split(n),o=[i[0]],a=1;a\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Nt=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Lt=/<[^>]*>/g,It=Ot.match(Nt)?Nt:Lt,Dt=/<\w*:/,Mt=/<(\/?)\w+:/;function Pt(e,t,n){for(var r={},i=0,o=0;i!==e.length;++i)if(32===(o=e.charCodeAt(i))||10===o||13===o)break;if(t||(r[0]=e.slice(0,i)),i===e.length)return r;var a=e.match(Ft),s=0,l="",c=0,u="",h="",f=1;if(a)for(c=0;c!=a.length;++c){for(h=a[c],o=0;o!=h.length;++o)if(61===h.charCodeAt(o))break;u=h.slice(0,o).trim();while(32==h.charCodeAt(o+1))++o;for(f=34==(i=h.charCodeAt(o+1))||39==i?1:0,l=h.slice(o+1+f,h.length-f),s=0;s!=u.length;++s)if(58===u.charCodeAt(s))break;if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),r[u]=l,n||(r[u.toLowerCase()]=l);else{var d=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(r[d]&&"ext"==u.slice(s-3,s))continue;r[d]=l,n||(r[d.toLowerCase()]=l)}}return r}function Ut(e){return e.replace(Mt,"<$1")}var Rt={""":'"',"'":"'",">":">","<":"<","&":"&"},jt=Ze(Rt),Qt=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function n(r){var i=r+"",o=i.indexOf("-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var a=i.indexOf("]]>");return n(i.slice(0,o))+i.slice(o+9,a)+n(i.slice(a+3))}}(),Ht=/[&<>'"]/g;var $t=/[\u0000-\u001f]/g;function zt(e){var t=e+"";return t.replace(Ht,(function(e){return jt[e]})).replace(/\n/g,"
").replace($t,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Vt=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(n){return n.replace(e,t)}}();function qt(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Kt(e){var t="",n=0,r=0,i=0,o=0,a=0,s=0;while(n191&&r<224?(a=(31&r)<<6,a|=63&i,t+=String.fromCharCode(a)):(o=e.charCodeAt(n++),r<240?t+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&o):(a=e.charCodeAt(n++),s=((7&r)<<18|(63&i)<<12|(63&o)<<6|63&a)-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t}function Wt(e){var t,n,r,i=B(2*e.length),o=1,a=0,s=0;for(n=0;n>>10&1023),t=56320+(1023&t)),0!==s&&(i[a++]=255&s,i[a++]=s>>>8,s=0),i[a++]=t%256,i[a++]=t>>>8;return i.slice(0,a).toString("ucs2")}function Gt(e){return E(e,"binary").toString("utf8")}var Yt="foo bar baz☃🍣",Xt=_&&(Gt(Yt)==Kt(Yt)&&Gt||Wt(Yt)==Kt(Yt)&&Wt)||Kt,Jt=_?function(e){return E(e,"utf8").toString("binary")}:function(e){var t=[],n=0,r=0,i=0;while(n>6))),t.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,i=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(i>>18&7))),t.push(String.fromCharCode(144+(i>>12&63))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)))}return t.join("")},Zt=function(){var e={};return function(t,n){var r=t+"|"+(n||"");return e[r]?e[r]:e[r]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",n||"")}}(),en=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),r=0;r([\\s\\S]*?)","g")}}(),nn=/<\/?(?:vt:)?variant>/g,rn=/<(?:vt:)([^>]*)>([\s\S]*)"+t+""}function cn(t){if(_&&e.isBuffer(t))return t.toString("utf8");if("string"===typeof t)return t;if("undefined"!==typeof Uint8Array&&t instanceof Uint8Array)return Xt(O(F(t)));throw new Error("Bad input format: expected Buffer or string")}var un=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/gm,hn={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},fn=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];function dn(e,t){for(var n=1-2*(e[t+7]>>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),i=15&e[t+6],o=5;o>=0;--o)i=256*i+e[t+o];return 2047==r?0==i?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,i+=Math.pow(2,52)),n*Math.pow(2,r-52)*i)}function An(e,t,n){var r=(t<0||1/t==-1/0?1:0)<<7,i=0,o=0,a=r?-t:t;isFinite(a)?0==a?i=o=0:(i=Math.floor(Math.log(a)/Math.LN2),o=a*Math.pow(2,52-i),i<=-1023&&(!isFinite(o)||o>4|r}var pn=function(e){for(var t=[],n=10240,r=0;r0&&e.isBuffer(t[0][0])?e.concat(t[0].map((function(t){return e.isBuffer(t)?t:E(t)}))):pn(t)}:pn,gn=function(e,t,n){for(var r=[],i=t;i0?xn(e,t+4,t+4+n-1):""},kn=Cn,_n=function(e,t){var n=jn(e,t);return n>0?xn(e,t+4,t+4+n-1):""},En=_n,Bn=function(e,t){var n=2*jn(e,t);return n>0?xn(e,t+4,t+4+n-1):""},Sn=Bn,Tn=function(e,t){var n=jn(e,t);return n>0?vn(e,t+4,t+4+n):""},On=Tn,Fn=function(e,t){var n=jn(e,t);return n>0?xn(e,t+4,t+4+n):""},Nn=Fn,Ln=function(e,t){return dn(e,t)},In=Ln,Dn=function(e){return Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array};function Mn(){vn=function(e,t,n){return m.utils.decode(1200,e.slice(t,n)).replace(I,"")},xn=function(e,t,n){return m.utils.decode(65001,e.slice(t,n))},kn=function(e,t){var n=jn(e,t);return n>0?m.utils.decode(a,e.slice(t+4,t+4+n-1)):""},En=function(e,t){var n=jn(e,t);return n>0?m.utils.decode(o,e.slice(t+4,t+4+n-1)):""},Sn=function(e,t){var n=2*jn(e,t);return n>0?m.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},On=function(e,t){var n=jn(e,t);return n>0?m.utils.decode(1200,e.slice(t+4,t+4+n)):""},Nn=function(e,t){var n=jn(e,t);return n>0?m.utils.decode(65001,e.slice(t+4,t+4+n)):""}}_&&(kn=function(t,n){if(!e.isBuffer(t))return Cn(t,n);var r=t.readUInt32LE(n);return r>0?t.toString("utf8",n+4,n+4+r-1):""},En=function(t,n){if(!e.isBuffer(t))return _n(t,n);var r=t.readUInt32LE(n);return r>0?t.toString("utf8",n+4,n+4+r-1):""},Sn=function(t,n){if(!e.isBuffer(t))return Bn(t,n);var r=2*t.readUInt32LE(n);return t.toString("utf16le",n+4,n+4+r-1)},On=function(t,n){if(!e.isBuffer(t))return Tn(t,n);var r=t.readUInt32LE(n);return t.toString("utf16le",n+4,n+4+r)},Nn=function(t,n){if(!e.isBuffer(t))return Fn(t,n);var r=t.readUInt32LE(n);return t.toString("utf8",n+4,n+4+r)},In=function(t,n){return e.isBuffer(t)?t.readDoubleLE(n):Ln(t,n)},Dn=function(t){return e.isBuffer(t)||Array.isArray(t)||"undefined"!==typeof Uint8Array&&t instanceof Uint8Array}),"undefined"!==typeof m&&Mn();var Pn=function(e,t){return e[t]},Un=function(e,t){return 256*e[t+1]+e[t]},Rn=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},jn=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Qn=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Hn=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function $n(t,n){var r,i,a,s,l,c,u="",h=[];switch(n){case"dbcs":if(c=this.l,_&&e.isBuffer(this))u=this.slice(this.l,this.l+2*t).toString("utf16le");else for(l=0;l0?Qn:Hn)(this,this.l),this.l+=4,r):(i=jn(this,this.l),this.l+=4,i);case 8:case-8:if("f"===n)return i=8==t?In(this,this.l):In([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,i;t=8;case 16:u=yn(this,this.l,t);break}}return this.l+=t,u}var zn=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},Vn=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},qn=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Kn(e,t,n){var r=0,i=0;if("dbcs"===n){for(i=0;i!=t.length;++i)qn(this,t.charCodeAt(i),this.l+2*i);r=2*t.length}else if("sbcs"===n){if("undefined"!==typeof m&&874==a)for(i=0;i!=t.length;++i){var o=m.utils.encode(a,t.charAt(i));this[this.l+i]=o[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=t.length;++i)this[this.l+i]=255&t.charCodeAt(i);r=t.length}else{if("hex"===n){for(;i>8}while(this.l>>=8,this[this.l+1]=255&t;break;case 3:r=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:r=4,zn(this,t,this.l);break;case 8:if(r=8,"f"===n){An(this,t,this.l);break}case 16:break;case-4:r=4,Vn(this,t,this.l);break}}return this.l+=r,this}function Wn(e,t){var n=yn(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function Gn(e,t){e.l=t,e.read_shift=$n,e.chk=Wn,e.write_shift=Kn}function Yn(e,t){e.l+=t}function Xn(e){var t=B(e);return Gn(t,0),t}function Jn(e,t,n){if(e){var r,i,o;Gn(e,e.l||0);var a=e.length,s=0,l=0;while(e.lr.l&&(r=r.slice(0,r.l),r.l=r.length),r.length>0&&e.push(r),r=null)},o=function(e){return r&&e=256)r.c-=256;while(r.r>=65536)r.r-=65536}return r}function tr(e,t,n){var r=ft(e);return r.s=er(r.s,t.s,n),r.e=er(r.e,t.s,n),r}function nr(e,t){if(e.cRel&&e.c<0){e=ft(e);while(e.c<0)e.c+=t>8?16384:256}if(e.rRel&&e.r<0){e=ft(e);while(e.r<0)e.r+=t>8?1048576:t>5?65536:16384}var n=Ar(e);return e.cRel||null==e.cRel||(n=ur(n)),e.rRel||null==e.rRel||(n=ar(n)),n}function rr(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?nr(e.s,t.biff)+":"+nr(e.e,t.biff):(e.s.rRel?"":"$")+or(e.s.r)+":"+(e.e.rRel?"":"$")+or(e.e.r):(e.s.cRel?"":"$")+cr(e.s.c)+":"+(e.e.cRel?"":"$")+cr(e.e.c)}function ir(e){return parseInt(sr(e),10)-1}function or(e){return""+(e+1)}function ar(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function sr(e){return e.replace(/\$(\d+)$/,"$1")}function lr(e){for(var t=hr(e),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function cr(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function ur(e){return e.replace(/^([A-Z])/,"$$$1")}function hr(e){return e.replace(/^\$([A-Z])/,"$1")}function fr(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function dr(e){for(var t=0,n=0,r=0;r=48&&i<=57?t=10*t+(i-48):i>=65&&i<=90&&(n=26*n+(i-64))}return{c:n-1,r:t-1}}function Ar(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function pr(e){var t=e.indexOf(":");return-1==t?{s:dr(e),e:dr(e)}:{s:dr(e.slice(0,t)),e:dr(e.slice(t+1))}}function mr(e,t){return"undefined"===typeof t||"number"===typeof t?mr(e.s,e.e):("string"!==typeof e&&(e=Ar(e)),"string"!==typeof t&&(t=Ar(t)),e==t?e:e+":"+t)}function gr(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,i=0,o=e.length;for(n=0;r26)break;n=26*n+i}for(t.s.c=--n,n=0;r9)break;n=10*n+i}if(t.s.r=--n,r===o||10!=i)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++r,n=0;r!=o;++r){if((i=e.charCodeAt(r)-64)<1||i>26)break;n=26*n+i}for(t.e.c=--n,n=0;r!=o;++r){if((i=e.charCodeAt(r)-48)<0||i>9)break;n=10*n+i}return t.e.r=--n,t}function vr(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Qe(e.z,n?tt(t):t)}catch(r){}try{return e.w=Qe((e.XF||{}).numFmtId||(n?14:0),n?tt(t):t)}catch(r){return""+t}}function br(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?ci[e.v]||e.v:vr(e,void 0==t?e.v:t))}function yr(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function wr(e,t,n){var r=n||{},i=e?Array.isArray(e):r.dense;null!=y&&null==i&&(i=y);var o=e||(i?[]:{}),a=0,s=0;if(o&&null!=r.origin){if("number"==typeof r.origin)a=r.origin;else{var l="string"==typeof r.origin?dr(r.origin):r.origin;a=l.r,s=l.c}o["!ref"]||(o["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=gr(o["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),-1==a&&(c.e.r=a=u.e.r+1)}for(var h=0;h!=t.length;++h)if(t[h]){if(!Array.isArray(t[h]))throw new Error("aoa_to_sheet expects an array of arrays");for(var f=0;f!=t[h].length;++f)if("undefined"!==typeof t[h][f]){var d={v:t[h][f]},A=a+h,p=s+f;if(c.s.r>A&&(c.s.r=A),c.s.c>p&&(c.s.c=p),c.e.r>2;return n?i/100:i}function Dr(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var Mr=Dr;function Pr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Ur(e){var t={},n=e.read_shift(1),r=n>>>1,i=e.read_shift(1),o=e.read_shift(2,"i"),a=e.read_shift(1),s=e.read_shift(1),l=e.read_shift(1);switch(e.l++,r){case 0:t.auto=1;break;case 1:t.index=i;var c=li[i];c&&(t.rgb=Os(c));break;case 2:t.rgb=Os([a,s,l]);break;case 3:t.theme=i;break}return 0!=o&&(t.tint=o>0?o/32767:o/32768),t}function Rr(e){var t=e.read_shift(1);e.l++;var n={fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t};return n}function jr(e,t){var n={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},r=e.read_shift(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return n[e.read_shift(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}function Qr(e){return jr(e,1)}function Hr(e){return jr(e,2)}var $r=2,zr=3,Vr=11,qr=12,Kr=19,Wr=64,Gr=65,Yr=71,Xr=4108,Jr=4126,Zr=80,ei=81,ti=[Zr,ei],ni={1:{n:"CodePage",t:$r},2:{n:"Category",t:Zr},3:{n:"PresentationFormat",t:Zr},4:{n:"ByteCount",t:zr},5:{n:"LineCount",t:zr},6:{n:"ParagraphCount",t:zr},7:{n:"SlideCount",t:zr},8:{n:"NoteCount",t:zr},9:{n:"HiddenCount",t:zr},10:{n:"MultimediaClipCount",t:zr},11:{n:"ScaleCrop",t:Vr},12:{n:"HeadingPairs",t:Xr},13:{n:"TitlesOfParts",t:Jr},14:{n:"Manager",t:Zr},15:{n:"Company",t:Zr},16:{n:"LinksUpToDate",t:Vr},17:{n:"CharacterCount",t:zr},19:{n:"SharedDoc",t:Vr},22:{n:"HyperlinksChanged",t:Vr},23:{n:"AppVersion",t:zr,p:"version"},24:{n:"DigSig",t:Gr},26:{n:"ContentType",t:Zr},27:{n:"ContentStatus",t:Zr},28:{n:"Language",t:Zr},29:{n:"Version",t:Zr},255:{},2147483648:{n:"Locale",t:Kr},2147483651:{n:"Behavior",t:Kr},1919054434:{}},ri={1:{n:"CodePage",t:$r},2:{n:"Title",t:Zr},3:{n:"Subject",t:Zr},4:{n:"Author",t:Zr},5:{n:"Keywords",t:Zr},6:{n:"Comments",t:Zr},7:{n:"Template",t:Zr},8:{n:"LastAuthor",t:Zr},9:{n:"RevNumber",t:Zr},10:{n:"EditTime",t:Wr},11:{n:"LastPrinted",t:Wr},12:{n:"CreatedDate",t:Wr},13:{n:"ModifiedDate",t:Wr},14:{n:"PageCount",t:zr},15:{n:"WordCount",t:zr},16:{n:"CharCount",t:zr},17:{n:"Thumbnail",t:Yr},18:{n:"Application",t:Zr},19:{n:"DocSecurity",t:zr},255:{},2147483648:{n:"Locale",t:Kr},2147483651:{n:"Behavior",t:Kr},1919054434:{}},ii={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},oi=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function ai(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var si=ai([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),li=ft(si),ci={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},ui={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},hi={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"};function fi(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function di(e){var t=fi();if(!e||!e.match)return t;var n={};if((e.match(It)||[]).forEach((function(e){var r=Pt(e);switch(r[0].replace(Dt,"<")){case"0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}var Ai={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function pi(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function mi(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var r={};return(e.match(It)||[]).forEach((function(e){var i=Pt(e);if("]*>([\\s\\S]*?)")}return e}();function wi(e){var t={};e=Xt(e);for(var n=0;n0&&(t[r[1]]=Qt(i[1])),"date"===r[2]&&t[r[1]]&&(t[r[1]]=ut(t[r[1]]))}return t}var xi=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function Ci(e,t,n,r){var i=[];if("string"==typeof e)i=on(e,r);else for(var o=0;o0)for(var c=0;c!==i.length;c+=2){switch(l=+i[c+1].v,i[c].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":n.Worksheets=l,n.SheetNames=a.slice(s,s+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":n.NamedRanges=l,n.DefinedNames=a.slice(s,s+l);break;case"Charts":case"Diagramme":n.Chartsheets=l,n.ChartNames=a.slice(s,s+l);break}s+=l}}function ki(e,t,n){var r={};return t||(t={}),e=Xt(e),xi.forEach((function(n){var i=(e.match(Zt(n[0]))||[])[1];switch(n[2]){case"string":i&&(t[n[1]]=Qt(i));break;case"bool":t[n[1]]="true"===i;break;case"raw":var o=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)"));o&&o.length>0&&(r[n[1]]=o[1]);break}})),r.HeadingPairs&&r.TitlesOfParts&&Ci(r.HeadingPairs,r.TitlesOfParts,t,n),t}var _i=/<[^>]+>[^<]*/g;function Ei(e,t){var n={},r="",i=e.match(_i);if(i)for(var o=0;o!=i.length;++o){var a=i[o],s=Pt(a);switch(s[0]){case"":r=null;break;default:if(0===a.indexOf(""),c=l[0].slice(4),u=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":n[r]=Qt(u);break;case"bool":n[r]=qt(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[r]=parseInt(u,10);break;case"r4":case"r8":case"decimal":n[r]=parseFloat(u);break;case"filetime":case"date":n[r]=ut(u);break;case"cy":case"error":n[r]=Qt(u);break;default:if("/"==c.slice(-1))break;t.WTF&&"undefined"!==typeof console&&console.warn("Unexpected",a,c,l)}}else if(">3<<2),r}function Qi(e){var t=e.read_shift(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function Hi(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function $i(e,t,n){var r,i=e.read_shift(2),o=n||{};if(e.l+=2,t!==qr&&i!==t&&-1===ti.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&i)))throw new Error("Expected type "+t+" saw "+i);switch(t===qr?i:t){case 2:return r=e.read_shift(2,"i"),o.raw||(e.l+=2),r;case 3:return r=e.read_shift(4,"i"),r;case 11:return 0!==e.read_shift(4);case 19:return r=e.read_shift(4),r;case 30:return Fi(e,i,4).replace(I,"");case 31:return Ni(e);case 64:return Oi(e);case 65:return Qi(e);case 71:return Hi(e);case 80:return Ii(e,i,!o.raw).replace(I,"");case 81:return Di(e,i).replace(I,"");case 4108:return Ri(e);case 4126:case 4127:return 4127==i?Mi(e):Pi(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+i)}}function zi(e,t){var n=e.l,r=e.read_shift(4),i=e.read_shift(4),o=[],a=0,s=0,l=-1,c={};for(a=0;a!=i;++a){var u=e.read_shift(4),f=e.read_shift(4);o[a]=[u,f+n]}o.sort((function(e,t){return e[1]-t[1]}));var d={};for(a=0;a!=i;++a){if(e.l!==o[a][1]){var A=!0;if(a>0&&t)switch(t[o[a-1][0]].t){case 2:e.l+2===o[a][1]&&(e.l+=2,A=!1);break;case 80:e.l<=o[a][1]&&(e.l=o[a][1],A=!1);break;case 4108:e.l<=o[a][1]&&(e.l=o[a][1],A=!1);break}if((!t||0==a)&&e.l<=o[a][1]&&(A=!1,e.l=o[a][1]),A)throw new Error("Read Error: Expected address "+o[a][1]+" at "+e.l+" :"+a)}if(t){var p=t[o[a][0]];if(d[p.n]=$i(e,p.t,{raw:!0}),"version"===p.p&&(d[p.n]=String(d[p.n]>>16)+"."+("0000"+String(65535&d[p.n])).slice(-4)),"CodePage"==p.n)switch(d[p.n]){case 0:d[p.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:h(s=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n])}}else if(1===o[a][0]){if(s=d.CodePage=$i(e,$r),h(s),-1!==l){var m=e.l;e.l=o[l][1],c=ji(e,s),e.l=m}}else if(0===o[a][0]){if(0===s){l=a,e.l=o[a+1][1];continue}c=ji(e,s)}else{var g,v=c[o[a][0]];switch(e[e.l]){case 65:e.l+=4,g=Qi(e);break;case 30:e.l+=4,g=Ii(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,g=Ii(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,g=e.read_shift(4,"i");break;case 19:e.l+=4,g=e.read_shift(4);break;case 5:e.l+=4,g=e.read_shift(8,"f");break;case 11:e.l+=4,g=Wi(e,4);break;case 64:e.l+=4,g=ut(Oi(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[v]=g}}return e.l=n+r,d}function Vi(e,t,n){var r=e.content;if(!r)return{};Gn(r,0);var i,o,a,s,l=0;r.chk("feff","Byte Order: "),r.read_shift(2);var c=r.read_shift(4),u=r.read_shift(16);if(u!==Ge.utils.consts.HEADER_CLSID&&u!==n)throw new Error("Bad PropertySet CLSID "+u);if(i=r.read_shift(4),1!==i&&2!==i)throw new Error("Unrecognized #Sets: "+i);if(o=r.read_shift(16),s=r.read_shift(4),1===i&&s!==r.l)throw new Error("Length mismatch: "+s+" !== "+r.l);2===i&&(a=r.read_shift(16),l=r.read_shift(4));var h,f=zi(r,t),d={SystemIdentifier:c};for(var A in f)d[A]=f[A];if(d.FMTID=o,1===i)return d;if(l-r.l==2&&(r.l+=2),r.l!==l)throw new Error("Length mismatch 2: "+r.l+" !== "+l);try{h=zi(r,null)}catch(p){}for(A in h)d[A]=h[A];return d.FMTID=[o,a],d}function qi(e,t){return e.read_shift(t),null}function Ki(e,t,n){var r=[],i=e.l+t;while(e.l=12?2:1),i="sbcs-cont",a=o;if(n&&n.biff>=8&&(o=1200),n&&8!=n.biff)12==n.biff&&(i="wstr");else{var s=e.read_shift(1);s&&(i="dbcs-cont")}n.biff>=2&&n.biff<=5&&(i="cpstr");var l=r?e.read_shift(r,i):"";return o=a,l}function Zi(e){var t=o;o=1200;var n,r=e.read_shift(2),i=e.read_shift(1),a=4&i,s=8&i,l=1+(1&i),c=0,u={};s&&(c=e.read_shift(2)),a&&(n=e.read_shift(4));var h=2==l?"dbcs-cont":"sbcs-cont",f=0===r?"":e.read_shift(r,h);return s&&(e.l+=4*c),a&&(e.l+=n),u.t=f,s||(u.raw=""+u.t+"",u.r=u.t),o=t,u}function eo(e,t,n){var r;if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}var i=e.read_shift(1);return r=0===i?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont"),r}function to(e,t,n){var r=e.read_shift(n&&2==n.biff?1:2);return 0===r?(e.l++,""):eo(e,r,n)}function no(e,t,n){if(n.biff>5)return to(e,t,n);var r=e.read_shift(1);return 0===r?(e.l++,""):e.read_shift(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function ro(e){var t=e.read_shift(1);e.l++;var n=e.read_shift(2);return e.l+=2,[t,n]}function io(e){var t=e.read_shift(4),n=e.l,r=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(r=!0),e.l=n);var i=e.read_shift((r?t-24:t)>>1,"utf16le").replace(I,"");return r&&(e.l+=24),i}function oo(e){var t=e.read_shift(2),n="";while(t-- >0)n+="../";var r=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");var i=e.read_shift(4);if(0===i)return n+r.replace(/\\/g,"/");var o=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");var a=e.read_shift(o>>1,"utf16le").replace(I,"");return n+a}function ao(e,t){var n=e.read_shift(16);switch(t-=16,n){case"e0c9ea79f9bace118c8200aa004ba90b":return io(e,t);case"0303000000000000c000000000000046":return oo(e,t);default:throw new Error("Unsupported Moniker "+n)}}function so(e){var t=e.read_shift(4),n=t>0?e.read_shift(t,"utf16le").replace(I,""):"";return n}function lo(e,t){var n=e.l+t,r=e.read_shift(4);if(2!==r)throw new Error("Unrecognized streamVersion: "+r);var i=e.read_shift(2);e.l+=2;var o,a,s,l,c,u,h="";16&i&&(o=so(e,n-e.l)),128&i&&(a=so(e,n-e.l)),257===(257&i)&&(s=so(e,n-e.l)),1===(257&i)&&(l=ao(e,n-e.l)),8&i&&(h=so(e,n-e.l)),32&i&&(c=e.read_shift(16)),64&i&&(u=Oi(e)),e.l=n;var f=a||s||l||"";f&&h&&(f+="#"+h),f||(f="#"+h),2&i&&"/"==f.charAt(0)&&"/"!=f.charAt(1)&&(f="file://"+f);var d={Target:f};return c&&(d.guid=c),u&&(d.time=u),o&&(d.Tooltip=o),d}function co(e){var t=e.read_shift(1),n=e.read_shift(1),r=e.read_shift(1),i=e.read_shift(1);return[t,n,r,i]}function uo(e,t){var n=co(e,t);return n[3]=0,n}function ho(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2);return{r:t,c:n,ixfe:r}}function fo(e){var t=e.read_shift(2),n=e.read_shift(2);return e.l+=8,{type:t,flags:n}}function Ao(e,t,n){return 0===t?"":no(e,t,n)}function po(e,t,n){var r=n.biff>8?4:2,i=e.read_shift(r),o=e.read_shift(r,"i"),a=e.read_shift(r,"i");return[i,o,a]}function mo(e){var t=e.read_shift(2),n=Ir(e);return[t,n]}function go(e,t,n){e.l+=4,t-=4;var r=e.l+t,i=Ji(e,t,n),o=e.read_shift(2);if(r-=e.l,o!==r)throw new Error("Malformed AddinUdf: padding = "+r+" != "+o);return e.l+=o,i}function vo(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2),i=e.read_shift(2);return{s:{c:r,r:t},e:{c:i,r:n}}}function bo(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(1),i=e.read_shift(1);return{s:{c:r,r:t},e:{c:i,r:n}}}var yo=bo;function wo(e){e.l+=4;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2);return e.l+=12,[n,t,r]}function xo(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function Co(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function ko(e){e.l+=2,e.l+=e.read_shift(2)}var _o={0:ko,4:ko,5:ko,6:ko,7:Co,8:ko,9:ko,10:ko,11:ko,12:ko,13:xo,14:ko,15:ko,16:ko,17:ko,18:ko,19:ko,20:ko,21:wo};function Eo(e,t){var n=e.l+t,r=[];while(e.l=2&&(n.dt=e.read_shift(2),e.l-=2),n.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e.read_shift(t),n}function So(e,t){return 0===t||e.read_shift(2),1200}function To(e,t,n){if(n.enc)return e.l+=t,"";var r=e.l,i=no(e,0,n);return e.read_shift(t+r-e.l),i}function Oo(e,t,n){var r=n&&8==n.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&r,fBelow:64&r,fRight:128&r}}function Fo(e,t,n){var r=e.read_shift(4),i=3&e.read_shift(1),o=e.read_shift(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule";break}var a=Ji(e,0,n);return 0===a.length&&(a="Sheet1"),{pos:r,hs:i,dt:o,name:a}}function No(e,t){for(var n=e.l+t,r=e.read_shift(4),i=e.read_shift(4),o=[],a=0;a!=i&&e.l>15),i&=32767);var o={Unsynced:1&r,DyZero:(2&r)>>1,ExAsc:(4&r)>>2,ExDsc:(8&r)>>3};return[o,i]}function Uo(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),l=e.read_shift(2),c=e.read_shift(2);return{Pos:[t,n],Dim:[r,i],Flags:o,CurTab:a,FirstTab:s,Selected:l,TabRatio:c}}function Ro(e,t,n){if(n&&n.biff>=2&&n.biff<5)return{};var r=e.read_shift(2);return{RTL:64&r}}function jo(){}function Qo(e,t,n){var r={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return r.name=Ji(e,0,n),r}function Ho(e){var t=ho(e);return t.isst=e.read_shift(4),t}function $o(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var r=e.l+t,i=ho(e,6);2==n.biff&&e.l++;var o=to(e,r-e.l,n);return i.val=o,i}function zo(e,t,n){var r=e.read_shift(2),i=no(e,0,n);return[r,i]}var Vo=no;function qo(e,t,n){var r=e.l+t,i=8!=n.biff&&n.biff?2:4,o=e.read_shift(i),a=e.read_shift(i),s=e.read_shift(2),l=e.read_shift(2);return e.l=r,{s:{r:o,c:s},e:{r:a,c:l}}}function Ko(e){var t=e.read_shift(2),n=e.read_shift(2),r=mo(e);return{r:t,c:n,ixfe:r[0],rknum:r[1]}}function Wo(e,t){var n=e.l+t-2,r=e.read_shift(2),i=e.read_shift(2),o=[];while(e.l>26],r.cellStyles?(i.alc=7&o,i.fWrap=o>>3&1,i.alcV=o>>4&7,i.fJustLast=o>>7&1,i.trot=o>>8&255,i.cIndent=o>>16&15,i.fShrinkToFit=o>>20&1,i.iReadOrder=o>>22&2,i.fAtrNum=o>>26&1,i.fAtrFnt=o>>27&1,i.fAtrAlc=o>>28&1,i.fAtrBdr=o>>29&1,i.fAtrPat=o>>30&1,i.fAtrProt=o>>31&1,i.dgLeft=15&a,i.dgRight=a>>4&15,i.dgTop=a>>8&15,i.dgBottom=a>>12&15,i.icvLeft=a>>16&127,i.icvRight=a>>23&127,i.grbitDiag=a>>30&3,i.icvTop=127&s,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=127&l,i.icvBack=l>>7&127,i.fsxButton=l>>14&1,i):i}function Xo(e,t,n){var r={};return r.ifnt=e.read_shift(2),r.numFmtId=e.read_shift(2),r.flags=e.read_shift(2),r.fStyle=r.flags>>2&1,t-=6,r.data=Yo(e,t,r.fStyle,n),r}function Jo(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function Zo(e,t,n){var r=ho(e,6);2!=n.biff&&9!=t||++e.l;var i=Xi(e,2);return r.val=i,r.t=!0===i||!1===i?"b":"e",r}function ea(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var r=ho(e,6),i=Pr(e,8);return r.val=i,r}var ta=Ao;function na(e,t,n){var r=e.l+t,i=e.read_shift(2),o=e.read_shift(2);if(n.sbcch=o,1025==o||14849==o)return[o,i];if(o<1||o>255)throw new Error("Unexpected SupBook type: "+o);var a=eo(e,o),s=[];while(r>e.l)s.push(to(e));return[o,i,a,s]}function ra(e,t,n){var r,i=e.read_shift(2),o={fBuiltIn:1&i,fWantAdvise:i>>>1&1,fWantPict:i>>>2&1,fOle:i>>>3&1,fOleLink:i>>>4&1,cf:i>>>5&1023,fIcon:i>>>15&1};return 14849===n.sbcch&&(r=go(e,t-2,n)),o.body=r||e.read_shift(t-2),"string"===typeof r&&(o.Name=r),o}var ia=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function oa(e,t,n){var r=e.l+t,i=e.read_shift(2),o=e.read_shift(1),a=e.read_shift(1),s=e.read_shift(n&&2==n.biff?1:2),l=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),l=e.read_shift(2),5==n.biff&&(e.l+=2),e.l+=4);var c=eo(e,a,n);32&i&&(c=ia[c.charCodeAt(0)]);var u=r-e.l;n&&2==n.biff&&--u;var h=r!=e.l&&0!==s&&u>0?Mu(e,u,n,s):[];return{chKey:o,Name:c,itab:l,rgce:h}}function aa(e,t,n){if(n.biff<8)return sa(e,t,n);var r=[],i=e.l+t,o=e.read_shift(n.biff>8?4:2);while(0!==o--)r.push(po(e,n.biff>8?12:6,n));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return r}function sa(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=Ji(e,t,n);return 3==r.charCodeAt(0)?r.slice(1):r}function la(e,t,n){if(!(n.biff<8)){var r=e.read_shift(2),i=e.read_shift(2),o=eo(e,r,n),a=eo(e,i,n);return[o,a]}e.l+=t}function ca(e,t,n){var r=bo(e,6);e.l++;var i=e.read_shift(1);return t-=8,[Pu(e,t,n),i,r]}function ua(e,t,n){var r=yo(e,6);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[r,Iu(e,t,n,r)]}function ha(e){var t=0!==e.read_shift(4),n=0!==e.read_shift(4),r=e.read_shift(4);return[t,n,r]}function fa(e,t,n){if(!(n.biff<8)){var r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),a=e.read_shift(2),s=no(e,0,n);return n.biff<8&&e.read_shift(1),[{r:r,c:i},s,a,o]}}function da(e,t,n){return fa(e,t,n)}function Aa(e,t){var n=[],r=e.read_shift(2);while(r--)n.push(vo(e,t));return n}function pa(e,t,n){if(n&&n.biff<8)return ga(e,t,n);var r=wo(e,22),i=Eo(e,t-22,r[1]);return{cmo:r,ft:i}}var ma={8:function(e,t){var n=e.l+t;e.l+=10;var r=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var i=e.read_shift(1);return e.l+=i,e.l=n,{fmt:r}}};function ga(e,t,n){e.l+=4;var r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var a=[];return a.push((ma[r]||Yn)(e,t,n)),{cmo:[i,r,o],ft:a}}function va(e,t,n){var r=e.l,i="";try{e.l+=4;var o=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?e.l+=6:ro(e,6,n);var a=e.read_shift(2);e.read_shift(2),Gi(e,2);var s=e.read_shift(2);e.l+=s;for(var l=1;l=(c?a:2*a))break}if(i.length!==a&&i.length!==2*a)throw new Error("cchText: "+a+" != "+i.length);return e.l=r+t,{t:i}}catch(h){return e.l=r+t,{t:i}}}function ba(e,t){var n=vo(e,8);e.l+=16;var r=lo(e,t-24);return[n,r]}function ya(e,t){e.read_shift(2);var n=vo(e,8),r=e.read_shift((t-10)/2,"dbcs-cont");return r=r.replace(I,""),[n,r]}function wa(e){var t,n=[0,0];return t=e.read_shift(2),n[0]=ii[t]||t,t=e.read_shift(2),n[1]=ii[t]||t,n}function xa(e){var t=e.read_shift(2),n=[];while(t-- >0)n.push(uo(e,8));return n}function Ca(e){var t=e.read_shift(2),n=[];while(t-- >0)n.push(uo(e,8));return n}function ka(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function _a(e,t,n){if(!n.cellStyles)return Yn(e,t);var r=n&&n.biff>=12?4:2,i=e.read_shift(r),o=e.read_shift(r),a=e.read_shift(r),s=e.read_shift(r),l=e.read_shift(2);2==r&&(e.l+=2);var c={s:i,e:o,w:a,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(c.level=l>>8&7),c}function Ea(e,t){var n={};return t<32||(e.l+=16,n.header=Pr(e,8),n.footer=Pr(e,8),e.l+=2),n}function Ba(e,t,n){var r={area:!1};if(5!=n.biff)return e.l+=t,r;var i=e.read_shift(1);return e.l+=3,16&i&&(r.area=!0),r}var Sa=ho,Ta=Yi,Oa=to;function Fa(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i={fmt:t,env:n,len:r,data:e.slice(e.l,e.l+r)};return e.l+=r,i}function Na(e,t,n){n.biffguess&&5==n.biff&&(n.biff=2);var r=ho(e,6);++e.l;var i=no(e,t-7,n);return r.t="str",r.val=i,r}function La(e){var t=ho(e,6);++e.l;var n=Pr(e,8);return t.t="n",t.val=n,t}function Ia(e){var t=ho(e,6);++e.l;var n=e.read_shift(2);return t.t="n",t.val=n,t}function Da(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}function Ma(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function Pa(e,t,n){var r=e.l+t,i=ho(e,6),o=e.read_shift(2),a=eo(e,o,n);return e.l=r,i.t="str",i.val=a,i}var Ua=[2,3,48,49,131,139,140,245],Ra=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=Ze({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function n(t,n){var r=[],i=B(1);switch(n.type){case"base64":i=T(k(t));break;case"binary":i=T(t);break;case"buffer":case"array":i=t;break}Gn(i,0);var o=i.read_shift(1),a=!!(136&o),s=!1,l=!1;switch(o){case 2:break;case 3:break;case 48:s=!0,a=!0;break;case 49:s=!0,a=!0;break;case 131:break;case 139:break;case 140:l=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+o.toString(16))}var c=0,u=521;2==o&&(c=i.read_shift(2)),i.l+=3,2!=o&&(c=i.read_shift(4)),c>1048576&&(c=1e6),2!=o&&(u=i.read_shift(2));var h=i.read_shift(2),f=n.codepage||1252;2!=o&&(i.l+=16,i.read_shift(1),0!==i[i.l]&&(f=e[i[i.l]]),i.l+=1,i.l+=2),l&&(i.l+=36);var d=[],A={},p=Math.min(i.length,2==o?521:u-10-(s?264:0)),g=l?32:11;while(i.l0)if(42!==i[i.l])for(++i.l,r[++v]=[],b=0,b=0;b!=d.length;++b){var y=i.slice(i.l,i.l+d[b].len);i.l+=d[b].len,Gn(y,0);var w=m.utils.decode(f,y);switch(d[b].type){case"C":w.trim().length&&(r[v][b]=w.replace(/\s+$/,""));break;case"D":8===w.length?r[v][b]=new Date(+w.slice(0,4),+w.slice(4,6)-1,+w.slice(6,8)):r[v][b]=w;break;case"F":r[v][b]=parseFloat(w.trim());break;case"+":case"I":r[v][b]=l?2147483648^y.read_shift(-4,"i"):y.read_shift(4,"i");break;case"L":switch(w.trim().toUpperCase()){case"Y":case"T":r[v][b]=!0;break;case"N":case"F":r[v][b]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+w+"|")}break;case"M":if(!a)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));r[v][b]="##MEMO##"+(l?parseInt(w.trim(),10):y.read_shift(4));break;case"N":w=w.replace(/\u0000/g,"").trim(),w&&"."!=w&&(r[v][b]=+w||0);break;case"@":r[v][b]=new Date(y.read_shift(-8,"f")-621356832e5);break;case"T":r[v][b]=new Date(864e5*(y.read_shift(4)-2440588)+y.read_shift(4));break;case"Y":r[v][b]=y.read_shift(4,"i")/1e4+y.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":r[v][b]=-y.read_shift(-8,"f");break;case"B":if(s&&8==d[b].len){r[v][b]=y.read_shift(8,"f");break}case"G":case"P":y.l+=d[b].len;break;case"0":if("_NullFlags"===d[b].name)break;default:throw new Error("DBF Unsupported data type "+d[b].type)}}else i.l+=h;if(2!=o&&i.l=0&&h(+r.codepage),"string"==r.type)throw new Error("Cannot write DBF to JS string");var i=Zn(),s=hA(e,{header:1,raw:!0,cellDates:!0}),l=s[0],c=s.slice(1),u=e["!cols"]||[],f=0,d=0,A=0,p=1;for(f=0;f250&&(x=250),w=((u[f]||{}).DBF||{}).type,"C"==w&&u[f].DBF.len>x&&(x=u[f].DBF.len),"B"==y&&"N"==w&&(y="N",b[f]=u[f].DBF.dec,x=u[f].DBF.len),v[f]="C"==y||"N"==w?x:o[y]||0,p+=v[f],g[f]=y}else g[f]="?"}var k=i.next(32);for(k.write_shift(4,318902576),k.write_shift(4,c.length),k.write_shift(2,296+32*A),k.write_shift(2,p),f=0;f<4;++f)k.write_shift(4,0);for(k.write_shift(4,0|(+t[a]||3)<<8),f=0,d=0;f":190,"?":191,"{":223},n=new RegExp("N("+Je(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(e,n){var r=t[n];return"number"==typeof r?b(r):r},i=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:b(r)};function o(t,n){switch(n.type){case"base64":return a(k(t),n);case"binary":return a(t,n);case"buffer":return a(_&&e.isBuffer(t)?t.toString("binary"):O(t),n);case"array":return a(ht(t),n)}throw new Error("Unrecognized type "+n.type)}function a(e,t){var o,a=e.split(/[\n\r]+/),s=-1,l=-1,c=0,u=0,f=[],d=[],A=null,p={},g=[],v=[],b=[],y=0;for(+t.codepage>=0&&h(+t.codepage);c!==a.length;++c){y=0;var w,x=a[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(n,r),C=x.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),k=C[0];if(x.length>0)switch(k){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":"P"==C[1].charAt(0)&&d.push(x.slice(3).replace(/;;/g,";"));break;case"C":var _=!1,E=!1,B=!1,S=!1,T=-1,O=-1;for(u=1;u-1&&f[T][O];if(!N||!N[1])throw new Error("SYLK shared formula cannot find base");f[s][l][1]=tc(N[1],{r:s-T,c:l-O})}break;case"F":var L=0;for(u=1;u0?(g[s].hpt=y,g[s].hpx=Ks(y)):0===y&&(g[s].hidden=!0);break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+x)}L<1&&(A=null);break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+x)}}return g.length>0&&(p["!rows"]=g),v.length>0&&(p["!cols"]=v),t&&t.sheetRows&&(f=f.slice(0,t.sheetRows)),[f,p]}function s(e,t){var n=o(e,t),r=n[0],i=n[1],a=xr(r,t);return Je(i).forEach((function(e){a[e]=i[e]})),a}function l(e,t){return yr(s(e,t),t)}function c(e,t,n,r){var i="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":i+=e.v||0,e.f&&!e.F&&(i+=";E"+ec(e.f,{r:n,c:r}));break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return i}function u(e,t){t.forEach((function(t,n){var r="F;W"+(n+1)+" "+(n+1)+" ";t.hidden?r+="0":("number"!=typeof t.width||t.wpx||(t.wpx=Us(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=Rs(t.wpx)),"number"==typeof t.wch&&(r+=Math.round(t.wch)))," "!=r.charAt(r.length-1)&&e.push(r)}))}function f(e,t){t.forEach((function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*qs(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))}))}function d(e,t){var n,r=["ID;PWXL;N;E"],i=[],o=gr(e["!ref"]),a=Array.isArray(e),s="\r\n";r.push("P;PGeneral"),r.push("F;P0;DG0G8;M255"),e["!cols"]&&u(r,e["!cols"]),e["!rows"]&&f(r,e["!rows"]),r.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var l=o.s.r;l<=o.e.r;++l)for(var h=o.s.c;h<=o.e.c;++h){var d=Ar({r:l,c:h});n=a?(e[l]||[])[h]:e[d],n&&(null!=n.v||n.f&&!n.F)&&i.push(c(n,e,l,h,t))}return r.join(s)+s+i.join(s)+s+"E"+s}return t["|"]=254,{to_workbook:l,to_sheet:s,from_sheet:d}}(),Qa=function(){function t(t,r){switch(r.type){case"base64":return n(k(t),r);case"binary":return n(t,r);case"buffer":return n(_&&e.isBuffer(t)?t.toString("binary"):O(t),r);case"array":return n(ht(t),r)}throw new Error("Unrecognized type "+r.type)}function n(e,t){for(var n=e.split("\n"),r=-1,i=-1,o=0,a=[];o!==n.length;++o)if("BOT"!==n[o].trim()){if(!(r<0)){var s=n[o].trim().split(","),l=s[0],c=s[1];++o;var u=n[o]||"";while(1&(u.match(/["]/g)||[]).length&&o=0&&0===o[a].length)--a;for(var s=10,l=0,c=0;c<=a;++c)l=o[c].indexOf(" "),-1==l?l=o[c].length:l++,s=Math.max(s,l);for(c=0;c<=a;++c){i[c]=[];var u=0;for(t(o[c].slice(0,s).trim(),i,c,u,r),u=1;u<=(o[c].length-s)/10+1;++u)t(o[c].slice(s+10*(u-1),s+10*u).trim(),i,c,u,r)}return r.sheetRows&&(i=i.slice(0,r.sheetRows)),i}var r={44:",",9:"\t",59:";",124:"|"},i={44:3,9:2,59:1,124:0};function o(e){for(var t={},n=!1,o=0,a=0;o0&&g(),i["!ref"]=mr(a),i}function s(e,t){return t&&t.PRN?t.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?a(e,t):xr(n(e,t),t):a(e,t)}function l(t,n){var r="",i="string"==n.type?[0,0,0,0]:tA(t,n);switch(n.type){case"base64":r=k(t);break;case"binary":r=t;break;case"buffer":r=65001==n.codepage?t.toString("utf8"):n.codepage&&"undefined"!==typeof m?m.utils.decode(n.codepage,t):_&&e.isBuffer(t)?t.toString("binary"):O(t);break;case"array":r=ht(t);break;case"string":r=t;break;default:throw new Error("Unrecognized type "+n.type)}return 239==i[0]&&187==i[1]&&191==i[2]?r=Xt(r.slice(3)):"string"!=n.type&&"buffer"!=n.type&&65001==n.codepage?r=Xt(r):"binary"==n.type&&"undefined"!==typeof m&&n.codepage&&(r=m.utils.decode(n.codepage,m.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?Ha.to_sheet("string"==n.type?r:Xt(r),n):s(r,n)}function c(e,t){return yr(l(e,t),t)}function u(e){for(var t,n=[],r=gr(e["!ref"]),i=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){for(var a=[],s=r.s.c;s<=r.e.c;++s){var l=Ar({r:o,c:s});if(t=i?(e[o]||[])[s]:e[l],t&&null!=t.v){var c=(t.w||(br(t),t.w)||"").slice(0,10);while(c.length<10)c+=" ";a.push(c+(0===s?" ":""))}else a.push(" ")}n.push(a.join(""))}return n.join("\n")}return{to_workbook:c,to_sheet:l,from_sheet:u}}();function za(e,t){var n=t||{},r=!!n.WTF;n.WTF=!0;try{var i=ja.to_workbook(e,n);return n.WTF=r,i}catch(o){if(n.WTF=r,!o.message.match(/SYLK bad record ID/)&&r)throw o;return $a.to_workbook(e,t)}}var Va=function(){function e(e,t,n){if(e){Gn(e,e.l||0);var r=n.Enum||j;while(e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])r.Enum=j,e(t,(function(e,t,n){switch(n){case 0:r.vers=e,e>=4096&&(r.qpro=!0);break;case 6:h=e;break;case 204:e&&(a=e);break;case 222:a=e;break;case 15:case 51:r.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==n&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=r.dateNF||G[14],r.cellDates&&(e[1].t="d",e[1].v=ot(e[1].v))),r.qpro&&e[3]>s&&(i["!ref"]=mr(h),l[o]=i,c.push(o),i=r.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=a||"Sheet"+(s+1),a="");var u=r.dense?(i[e[0].r]||[])[e[0].c]:i[Ar(e[0])];if(u){u.t=e[1].t,u.v=e[1].v,null!=e[1].z&&(u.z=e[1].z),null!=e[1].f&&(u.f=e[1].f);break}r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[Ar(e[0])]=e[1];break;default:}}),r);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);r.Enum=Q,14==t[2]&&(r.qpro=!0,t.l=0),e(t,(function(e,t,n){switch(n){case 204:o=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>s&&(i["!ref"]=mr(h),l[o]=i,c.push(o),i=r.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o="Sheet"+(s+1)),f>0&&e[0].r>=f)break;r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[Ar(e[0])]=e[1],h.e.c=0&&h(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var r=Zn(),i=gr(e["!ref"]),a=Array.isArray(e),s=[];od(r,0,o(1030)),od(r,6,l(i));for(var c=Math.min(i.e.r,8191),u=i.s.r;u<=c;++u)for(var d=or(u),p=i.s.c;p<=i.e.c;++p){u===i.s.r&&(s[p]=cr(p));var g=s[p]+d,v=a?(e[u]||[])[p]:e[g];if(v&&"z"!=v.t)if("n"==v.t)(0|v.v)==v.v&&v.v>=-32768&&v.v<=32767?od(r,13,A(u,p,v.v)):od(r,14,m(u,p,v.v));else{var b=br(v);od(r,15,f(u,p,b.slice(0,239)))}}return od(r,1),r.end()}function i(e,t){var n=t||{};if(+n.codepage>=0&&h(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var r=Zn();od(r,0,a(e));for(var i=0,o=0;i8191&&(n=8191),t.write_shift(2,n),t.write_shift(1,i),t.write_shift(1,r),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}function s(e,t,n){var r={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&n.qpro?(r.s.c=e.read_shift(1),e.l++,r.s.r=e.read_shift(2),r.e.c=e.read_shift(1),e.l++,r.e.r=e.read_shift(2),r):(r.s.c=e.read_shift(2),r.s.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),r.e.c=e.read_shift(2),r.e.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),65535==r.s.c&&(r.s.c=r.e.c=r.s.r=r.e.r=0),r)}function l(e){var t=Xn(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}function c(e,t,n){var r=[{c:0,r:0},{t:"n",v:0},0,0];return n.qpro&&20768!=n.vers?(r[0].c=e.read_shift(1),r[3]=e.read_shift(1),r[0].r=e.read_shift(2),e.l+=2):(r[2]=e.read_shift(1),r[0].c=e.read_shift(2),r[0].r=e.read_shift(2)),r}function u(e,t,n){var r=e.l+t,i=c(e,t,n);if(i[1].t="s",20768==n.vers){e.l++;var o=e.read_shift(1);return i[1].v=e.read_shift(o,"utf8"),i}return n.qpro&&e.l++,i[1].v=e.read_shift(r-e.l,"cstr"),i}function f(e,t,n){var r=Xn(7+n.length);r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(1,39);for(var i=0;i=128?95:o)}return r.write_shift(1,0),r}function d(e,t,n){var r=c(e,t,n);return r[1].v=e.read_shift(2,"i"),r}function A(e,t,n){var r=Xn(7);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(2,n,"i"),r}function p(e,t,n){var r=c(e,t,n);return r[1].v=e.read_shift(8,"f"),r}function m(e,t,n){var r=Xn(13);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(8,n,"f"),r}function g(e,t,n){var r=e.l+t,i=c(e,t,n);if(i[1].v=e.read_shift(8,"f"),n.qpro)e.l=r;else{var o=e.read_shift(2);x(e.slice(e.l,e.l+o),i),e.l+=o}return i}function v(e,t,n){var r=32768&t;return t&=-32769,t=(r?e:0)+(t>=8192?t-16384:t),(r?"":"$")+(n?cr(t):or(t))}var b={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},w=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function x(e,t){Gn(e,0);var n=[],r=0,i="",o="",a="",s="";while(e.ln.length)return void console.error("WK1 bad formula parse 0x"+l.toString(16)+":|"+n.join("|")+"|");var f=n.slice(-r);n.length-=r,n.push(b[l][0]+"("+f.join(",")+")")}}}1==n.length?t[1].f=""+n[0]:console.error("WK1 bad formula parse |"+n.join("|")+"|")}function C(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function _(e,t){var n=C(e,t);return n[1].t="s",n[1].v=e.read_shift(t-4,"cstr"),n}function E(e,t,n,r){var i=Xn(6+r.length);i.write_shift(2,e),i.write_shift(1,n),i.write_shift(1,t),i.write_shift(1,39);for(var o=0;o=128?95:a)}return i.write_shift(1,0),i}function B(e,t){var n=C(e,t);n[1].v=e.read_shift(2);var r=n[1].v>>1;if(1&n[1].v)switch(7&r){case 0:r=5e3*(r>>3);break;case 1:r=500*(r>>3);break;case 2:r=(r>>3)/20;break;case 3:r=(r>>3)/200;break;case 4:r=(r>>3)/2e3;break;case 5:r=(r>>3)/2e4;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64;break}return n[1].v=r,n}function S(e,t){var n=C(e,t),r=e.read_shift(4),i=e.read_shift(4),o=e.read_shift(2);if(65535==o)return 0===r&&3221225472===i?(n[1].t="e",n[1].v=15):0===r&&3489660928===i?(n[1].t="e",n[1].v=42):n[1].v=0,n;var a=32768&o;return o=(32767&o)-16446,n[1].v=(1-2*a)*(i*Math.pow(2,o+32)+r*Math.pow(2,o)),n}function O(e,t,n,r){var i=Xn(14);if(i.write_shift(2,e),i.write_shift(1,n),i.write_shift(1,t),0==r)return i.write_shift(4,0),i.write_shift(4,0),i.write_shift(2,65535),i;var o=0,a=0,s=0,l=0;return r<0&&(o=1,r=-r),a=0|Math.log2(r),r/=Math.pow(2,a-31),l=r>>>0,0==(2147483648&l)&&(r/=2,++a,l=r>>>0),r-=l,l|=2147483648,l>>>=0,r*=Math.pow(2,32),s=r>>>0,i.write_shift(4,s),i.write_shift(4,l),a+=16383+(o?32768:0),i.write_shift(2,a),i}function F(e,t){var n=S(e,14);return e.l+=t-14,n}function N(e,t){var n=C(e,t),r=e.read_shift(4);return n[1].v=r>>6,n}function L(e,t){var n=C(e,t),r=e.read_shift(8,"f");return n[1].v=r,n}function I(e,t){var n=L(e,14);return e.l+=t-10,n}function D(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function M(e,t){var n=e[e.l++];n>t-1&&(n=t-1);var r="";while(r.length127?95:i}return n[n.l++]=0,n}var j={0:{n:"BOF",f:Gi},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:s},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:d},14:{n:"NUMBER",f:p},15:{n:"LABEL",f:u},16:{n:"FORMULA",f:g},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:u},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:D},222:{n:"SHEETNAMELP",f:M},65535:{n:""}},Q={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:_},23:{n:"NUMBER17",f:S},24:{n:"NUMBER18",f:B},25:{n:"FORMULA19",f:F},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:U},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:N},38:{n:"??"},39:{n:"NUMBER27",f:L},40:{n:"FORMULA28",f:I},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:D},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:P},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:r,book_to_wk3:i,to_workbook:t}}();function qa(e){var t={},n=e.match(It),r=0,i=!1;if(n)for(;r!=n.length;++r){var o=Pt(n[r]);switch(o[0].replace(/\w*:/g,"")){case"":case"":t.shadow=1;break;case"":break;case"":case"":t.outline=1;break;case"":break;case"":case"":t.strike=1;break;case"":break;case"":case"":t.u=1;break;case"":break;case"":case"":t.b=1;break;case"":break;case"":case"":t.i=1;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":i=!1;break;default:if(47!==o[0].charCodeAt(1)&&!i)throw new Error("Unrecognized rich format "+o[0])}}return t}var Ka=function(){var e=Zt("t"),t=Zt("rPr");function n(n){var r=n.match(e);if(!r)return{t:"s",v:""};var i={t:"s",v:Qt(r[1])},o=n.match(t);return o&&(i.s=qa(o[1])),i}var r=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(e){return e.replace(r,"").split(i).map(n).filter((function(e){return e.v}))}}(),Wa=function(){var e=/(\r\n|\n)/g;function t(e,t,n){var r=[];e.u&&r.push("text-decoration: underline;"),e.uval&&r.push("text-underline-style:"+e.uval+";"),e.sz&&r.push("font-size:"+e.sz+"pt;"),e.outline&&r.push("text-effect: outline;"),e.shadow&&r.push("text-shadow: auto;"),t.push(''),e.b&&(t.push(""),n.push("")),e.i&&(t.push(""),n.push("")),e.strike&&(t.push(""),n.push(""));var i=e.valign||"";return"superscript"==i||"super"==i?i="sup":"subscript"==i&&(i="sub"),""!=i&&(t.push("<"+i+">"),n.push("")),n.push(""),e}function n(n){var r=[[],n.v,[]];return n.v?(n.s&&t(n.s,r[0],r[2]),r[0].join("")+r[1].replace(e,"
")+r[2].join("")):""}return function(e){return e.map(n).join("")}}(),Ga=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ya=/<(?:\w+:)?r>/,Xa=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Ja(e,t){var n=!t||t.cellHTML,r={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(r.t=Qt(Xt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),r.r=Xt(e),n&&(r.h=zt(r.t))):e.match(Ya)&&(r.r=Xt(e),r.t=Qt(Xt((e.replace(Xa,"").match(Ga)||[]).join("").replace(It,""))),n&&(r.h=Wa(Ka(r.r)))),r):{t:""}}var Za=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,es=/<(?:\w+:)?(?:si|sstItem)>/g,ts=/<\/(?:\w+:)?(?:si|sstItem)>/;function ns(e,t){var n=[],r="";if(!e)return n;var i=e.match(Za);if(i){r=i[2].replace(es,"").split(ts);for(var o=0;o!=r.length;++o){var a=Ja(r[o].trim(),t);null!=a&&(n[n.length]=a)}i=Pt(i[1]),n.Count=i.count,n.Unique=i.uniqueCount}return n}function rs(e){return[e.read_shift(4),e.read_shift(4)]}function is(e,t){var n=[],r=!1;return Jn(e,(function(e,i,o){switch(o){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:r=!0;break;case 36:r=!1;break;default:if(i.T,!r||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),n}function os(e){if("undefined"!==typeof m)return m.utils.encode(a,e);for(var t=[],n=e.split(""),r=0;r=4&&(e.l+=t-4),n}function ss(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=as(e,4),t.U=as(e,4),t.W=as(e,4),t}function ls(e){var t=e.read_shift(4),n=e.l+t-4,r={},i=e.read_shift(4),o=[];while(i-- >0)o.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(r.name=e.read_shift(0,"lpp4"),r.comps=o,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return r}function cs(e){var t=[];e.l+=4;var n=e.read_shift(4);while(n-- >0)t.push(ls(e));return t}function us(e){var t=[];e.l+=4;var n=e.read_shift(4);while(n-- >0)t.push(e.read_shift(0,"lpp4"));return t}function hs(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=as(e,4),t.U=as(e,4),t.W=as(e,4),t}function fs(e){var t=hs(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function ds(e,t){var n=e.l+t,r={};r.Flags=63&e.read_shift(4),e.l+=4,r.AlgID=e.read_shift(4);var i=!1;switch(r.AlgID){case 26126:case 26127:case 26128:i=36==r.Flags;break;case 26625:i=4==r.Flags;break;case 0:i=16==r.Flags||4==r.Flags||36==r.Flags;break;default:throw"Unrecognized encryption algorithm: "+r.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return r.AlgIDHash=e.read_shift(4),r.KeySize=e.read_shift(4),r.ProviderType=e.read_shift(4),e.l+=8,r.CSPName=e.read_shift(n-e.l>>1,"utf16le"),e.l=n,r}function As(e,t){var n={},r=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),n.VerifierHash=e.slice(e.l,r),e.l=r,n}function ps(e){var t=as(e);switch(t.Minor){case 2:return[t.Minor,ms(e,t)];case 3:return[t.Minor,gs(e,t)];case 4:return[t.Minor,vs(e,t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function ms(e){var t=e.read_shift(4);if(36!=(63&t))throw new Error("EncryptionInfo mismatch");var n=e.read_shift(4),r=ds(e,n),i=As(e,e.length-e.l);return{t:"Std",h:r,v:i}}function gs(){throw new Error("File is password-protected: ECMA-376 Extensible")}function vs(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n=e.read_shift(e.length-e.l,"utf8"),r={};return n.replace(It,(function(e){var n=Pt(e);switch(Ut(n[0])){case"":break;case"":case"":break;case"":break;case"4||r.Major<2)throw new Error("unrecognized major version code: "+r.Major);n.Flags=e.read_shift(4),t-=4;var i=e.read_shift(4);return t-=4,n.EncryptionHeader=ds(e,i),t-=i,n.EncryptionVerifier=As(e,t),n}function ys(e){var t={},n=t.EncryptionVersionInfo=as(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function ws(e){var t,n,r,i,o,a,s=0,l=os(e),c=l.length+1;for(t=B(c),t[0]=l.length,n=1;n!=c;++n)t[n]=l[n-1];for(n=c-1;n>=0;--n)r=t[n],i=0===(16384&s)?0:1,o=s<<1&32767,a=i|o,s=a^r;return 52811^s}var xs=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],n=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],r=function(e){return 255&(e/2|128*e)},i=function(e,t){return r(e^t)},o=function(e){for(var r=t[e.length-1],i=104,o=e.length-1;o>=0;--o)for(var a=e[o],s=0;7!=s;++s)64&a&&(r^=n[i]),a*=2,--i;return r};return function(t){for(var n,r,a,s=os(t),l=o(s),c=s.length,u=B(16),h=0;16!=h;++h)u[h]=0;1===(1&c)&&(n=l>>8,u[c]=i(e[0],n),--c,n=255&l,r=s[s.length-1],u[c]=i(r,n));while(c>0)--c,n=l>>8,u[c]=i(s[c],n),--c,n=255&l,u[c]=i(s[c],n);c=15,a=15-s.length;while(a>0)n=l>>8,u[c]=i(e[a],n),--c,--a,n=255&l,u[c]=i(s[c],n),--c,--a;return u}}(),Cs=function(e,t,n,r,i){var o,a;for(i||(i=t),r||(r=xs(e)),o=0;o!=t.length;++o)a=t[o],a^=r[n],a=255&(a>>5|a<<3),i[o]=a,++n;return[i,n,r]},ks=function(e){var t=0,n=xs(e);return function(e){var r=Cs("",e,t,n);return t=r[1],r[0]}};function _s(e,t,n,r){var i={key:Gi(e),verificationBytes:Gi(e)};return n.password&&(i.verifier=ws(n.password)),r.valid=i.verificationBytes===i.verifier,r.valid&&(r.insitu=ks(n.password)),i}function Es(e,t,n){var r=n||{};return r.Info=e.read_shift(2),e.l-=2,1===r.Info?r.Data=ys(e,t):r.Data=bs(e,t),r}function Bs(e,t,n){var r={Type:n.biff>=8?e.read_shift(2):0};return r.Type?Es(e,t-2,r):_s(e,n.biff>=8?t:t-2,n,r),r}var Ss=function(){function t(t,r){switch(r.type){case"base64":return n(k(t),r);case"binary":return n(t,r);case"buffer":return n(_&&e.isBuffer(t)?t.toString("binary"):O(t),r);case"array":return n(ht(t),r)}throw new Error("Unrecognized type "+r.type)}function n(e,t){var n=t||{},r=n.dense?[]:{},i=e.match(/\\trowd.*?\\row\b/g);if(!i.length)throw new Error("RTF missing table");var o={s:{c:0,r:0},e:{c:0,r:i.length-1}};return i.forEach((function(e,t){Array.isArray(r)&&(r[t]=[]);var n,i=/\\\w+\b/g,a=0,s=-1;while(n=i.exec(e)){switch(n[0]){case"\\cell":var l=e.slice(a,i.lastIndex-n[0].length);if(" "==l[0]&&(l=l.slice(1)),++s,l.length){var c={v:l,t:"s"};Array.isArray(r)?r[t][s]=c:r[Ar({r:t,c:s})]=c}break}a=i.lastIndex}s>o.e.c&&(o.e.c=s)})),r["!ref"]=mr(o),r}function r(e,n){return yr(t(e,n),n)}function i(e){for(var t,n=["{\\rtf1\\ansi"],r=gr(e["!ref"]),i=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){n.push("\\trowd\\trautofit1");for(var a=r.s.c;a<=r.e.c;++a)n.push("\\cellx"+(a+1));for(n.push("\\pard\\intbl"),a=r.s.c;a<=r.e.c;++a){var s=Ar({r:o,c:a});t=i?(e[o]||[])[a]:e[s],t&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(br(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}return{to_workbook:r,to_sheet:t,from_sheet:i}}();function Ts(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function Os(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function Fs(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(t,n,r),o=Math.min(t,n,r),a=i-o;if(0===a)return[0,0,t];var s=0,l=0,c=i+o;switch(l=a/(c>1?2-c:c),i){case t:s=((n-r)/a+6)%6;break;case n:s=(r-t)/a+2;break;case r:s=(t-n)/a+4;break}return[s/6,l,c/2]}function Ns(e){var t,n=e[0],r=e[1],i=e[2],o=2*r*(i<.5?i:1-i),a=i-o/2,s=[a,a,a],l=6*n;if(0!==r)switch(0|l){case 0:case 6:t=o*l,s[0]+=o,s[1]+=t;break;case 1:t=o*(2-l),s[0]+=t,s[1]+=o;break;case 2:t=o*(l-2),s[1]+=o,s[2]+=t;break;case 3:t=o*(4-l),s[1]+=t,s[2]+=o;break;case 4:t=o*(l-4),s[2]+=o,s[0]+=t;break;case 5:t=o*(6-l),s[2]+=t,s[0]+=o;break}for(var c=0;3!=c;++c)s[c]=Math.round(255*s[c]);return s}function Ls(e,t){if(0===t)return e;var n=Fs(Ts(e));return n[2]=t<0?n[2]*(1+t):1-(1-n[2])*(1-t),Os(Ns(n))}var Is=6,Ds=15,Ms=1,Ps=Is;function Us(e){return Math.floor((e+Math.round(128/Ps)/256)*Ps)}function Rs(e){return Math.floor((e-5)/Ps*100+.5)/100}function js(e){return Math.round((e*Ps+5)/Ps*256)/256}function Qs(e){return js(Rs(Us(e)))}function Hs(e){var t=Math.abs(e-Qs(e)),n=Ps;if(t>.005)for(Ps=Ms;Ps":case"":break;case"":case"":i={},n.diagonalUp&&(i.diagonalUp=qt(n.diagonalUp)),n.diagonalDown&&(i.diagonalDown=qt(n.diagonalDown)),t.Borders.push(i);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+n[0]+" in borders")}}))}function Ys(e,t,n,r){t.Fills=[];var i={},o=!1;(e[0].match(It)||[]).forEach((function(e){var n=Pt(e);switch(Ut(n[0])){case"":case"":break;case"":case"":i={},t.Fills.push(i);break;case"":break;case"":break;case"":t.Fills.push(i),i={};break;case"":n.patternType&&(i.patternType=n.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+n[0]+" in fills")}}))}function Xs(e,t,n,r){t.Fonts=[];var i={},o=!1;(e[0].match(It)||[]).forEach((function(e){var a=Pt(e);switch(Ut(a[0])){case"":case"":break;case"":break;case"":case"":t.Fonts.push(i),i={};break;case"":case"":break;case"":i.bold=1;break;case"":i.italic=1;break;case"":i.underline=1;break;case"":i.strike=1;break;case"":i.outline=1;break;case"":i.shadow=1;break;case"":i.condense=1;break;case"":i.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":o=!1;break;case"":case"":break;case"":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+a[0]+" in fonts")}}))}function Js(e,t,n){t.NumberFmt=[];for(var r=Je(G),i=0;i":case"":case"":break;case"0){if(l>392){for(l=392;l>60;--l)if(null==t.NumberFmt[l])break;t.NumberFmt[l]=s}He(s,l)}break;case"":break;default:if(n.WTF)throw new Error("unrecognized "+a[0]+" in numFmts")}}}var Zs=["numFmtId","fillId","fontId","borderId","xfId"],el=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function tl(e,t,n){var r;t.CellXf=[];var i=!1;(e[0].match(It)||[]).forEach((function(e){var o=Pt(e),a=0;switch(Ut(o[0])){case"":case"":case"":break;case"":for(r=o,delete r[0],a=0;a392)for(a=392;a>60;--a)if(t.NumberFmt[r.numFmtId]==t.NumberFmt[a]){r.numFmtId=a;break}t.CellXf.push(r);break;case"":break;case"":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=qt(o.wrapText)),r.alignment=s;break;case"":break;case"":case"":break;case"":i=!1;break;case"":case"":break;case"":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+o[0]+" in cellXfs")}}))}var nl=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,r=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,a,s){var l,c={};return o?(o=o.replace(//gm,"").replace(//gm,""),(l=o.match(e))&&Js(l,c,s),(l=o.match(r))&&Xs(l,c,a,s),(l=o.match(n))&&Ys(l,c,a,s),(l=o.match(i))&&Gs(l,c,a,s),(l=o.match(t))&&tl(l,c,s),c):c}}();function rl(e,t){var n=e.read_shift(2),r=kr(e,t-2);return[n,r]}function il(e,t,n){var r={};r.sz=e.read_shift(2)/20;var i=Rr(e,2,n);i.fItalic&&(r.italic=1),i.fCondense&&(r.condense=1),i.fExtend&&(r.extend=1),i.fShadow&&(r.shadow=1),i.fOutline&&(r.outline=1),i.fStrikeout&&(r.strike=1);var o=e.read_shift(2);switch(700===o&&(r.bold=1),e.read_shift(2)){case 1:r.vertAlign="superscript";break;case 2:r.vertAlign="subscript";break}var a=e.read_shift(1);0!=a&&(r.underline=a);var s=e.read_shift(1);s>0&&(r.family=s);var l=e.read_shift(1);switch(l>0&&(r.charset=l),e.l++,r.color=Ur(e,8),e.read_shift(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor";break}return r.name=kr(e,t-21),r}var ol=Yn;function al(e,t){var n=e.l+t,r=e.read_shift(2),i=e.read_shift(2);return e.l=n,{ixfe:r,numFmtId:i}}var sl=Yn;function ll(e,t,n){var r={NumberFmt:[]};for(var i in G)r.NumberFmt[i]=G[i];r.CellXf=[],r.Fonts=[];var o=[],a=!1;return Jn(e,(function(e,i,s){switch(s){case 44:r.NumberFmt[e[0]]=e[1],He(e[1],e[0]);break;case 43:r.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=Ls(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:617==o[o.length-1]&&r.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:a=!0;break;case 36:a=!1;break;case 37:o.push(s),a=!0;break;case 38:o.pop(),a=!1;break;default:if(i.T>0)o.push(s);else if(i.T<0)o.pop();else if(!a||n.WTF&&37!=o[o.length-1])throw new Error("Unexpected record 0x"+s.toString(16))}})),r}var cl=["","","","","","","","","","","",""];function ul(e,t,n){t.themeElements.clrScheme=[];var r={};(e[0].match(It)||[]).forEach((function(e){var i=Pt(e);switch(i[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":"/"===i[0].charAt(1)?(t.themeElements.clrScheme[cl.indexOf(i[0])]=r,r={}):r.name=i[0].slice(3,i[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}}))}function hl(){}function fl(){}var dl=/]*)>[\s\S]*<\/a:clrScheme>/,Al=/]*)>[\s\S]*<\/a:fontScheme>/,pl=/]*)>[\s\S]*<\/a:fmtScheme>/;function ml(e,t,n){var r;t.themeElements={},[["clrScheme",dl,ul],["fontScheme",Al,hl],["fmtScheme",pl,fl]].forEach((function(i){if(!(r=e.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](r,t,n)}))}var gl=/]*)>[\s\S]*<\/a:themeElements>/;function vl(e,t){var n;e&&0!==e.length||(e=bl());var r={};if(!(n=e.match(gl)))throw new Error("themeElements not found in theme");return ml(n[0],r,t),r.raw=e,r}function bl(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[Ot];return n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n.join("")}function yl(e,t,n){var r=e.l+t,i=e.read_shift(4);if(124226!==i)if(n.cellStyles){var o,a=e.slice(e.l);e.l=r;try{o=St(a,{type:"array"})}catch(l){return}var s=kt(o,"theme/theme/theme1.xml",!0);if(s)return vl(s,n)}else e.l=r}function wl(e){return e.read_shift(4)}function xl(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=Cl(e,4);break;case 2:t.xclrValue=co(e,4);break;case 3:t.xclrValue=wl(e,4);break;case 4:e.l+=4;break}return e.l+=8,t}function Cl(e,t){return Yn(e,t)}function kl(e,t){return Yn(e,t)}function _l(e){var t=e.read_shift(2),n=e.read_shift(2)-4,r=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=xl(e,n);break;case 6:r[1]=kl(e,n);break;case 14:case 15:r[1]=e.read_shift(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return r}function El(e,t){var n=e.l+t;e.l+=2;var r=e.read_shift(2);e.l+=2;var i=e.read_shift(2),o=[];while(i-- >0)o.push(_l(e,n-e.l));return{ixfe:r,ext:o}}function Bl(e,t){t.forEach((function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break}}))}function Sl(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:kr(e,t-8)}}function Tl(e){var t=[],n=e.read_shift(4);while(n-- >0)t.push([e.read_shift(4),e.read_shift(4)]);return t}function Ol(e){return e.l+=4,0!=e.read_shift(4)}function Fl(e,t,n){var r={Types:[],Cell:[],Value:[]},i=n||{},o=[],a=!1,s=2;return Jn(e,(function(e,t,n){switch(n){case 335:r.Types.push({name:e.name});break;case 51:e.forEach((function(e){1==s?r.Cell.push({type:r.Types[e[0]-1].name,index:e[1]}):0==s&&r.Value.push({type:r.Types[e[0]-1].name,index:e[1]})}));break;case 337:s=e?1:0;break;case 338:s=2;break;case 35:o.push(n),a=!0;break;case 36:o.pop(),a=!1;break;default:if(t.T);else if(!a||i.WTF&&35!=o[o.length-1])throw new Error("Unexpected record 0x"+n.toString(16))}})),r}function Nl(e,t,n){var r={Types:[],Cell:[],Value:[]};if(!e)return r;var i,o=!1,a=2;return e.replace(It,(function(e){var t=Pt(e);switch(Ut(t[0])){case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":a=2;break;case"":a=2;break;case"":case"":case"":break;case"":o=!1;break;case"":case"":break;case"]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}function Rl(e,t,n,r){var i,o=Array.isArray(e);t.forEach((function(t){var a=dr(t.ref);if(o?(e[a.r]||(e[a.r]=[]),i=e[a.r][a.c]):i=e[t.ref],!i){i={t:"z"},o?e[a.r][a.c]=i:e[t.ref]=i;var s=gr(e["!ref"]||"BDWGO1000001:A1");s.s.r>a.r&&(s.s.r=a.r),s.e.ra.c&&(s.s.c=a.c),s.e.c=0;--u){if(!n&&i.c[u].T)return;n&&!i.c[u].T&&i.c.splice(u,1)}if(n&&r)for(u=0;u/))return[];var n=[],r=[],i=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}}));var o=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var i=e.match(/<(?:\w+:)?comment[^>]*>/);if(i){var o=Pt(i[0]),a={author:o.authorId&&n[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=dr(o.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),c=!!l&&!!l[1]&&Ja(l[1])||{r:"",t:"",h:""};a.r=c.r,""==c.r&&(c.t=c.h=""),a.t=(c.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(a.h=c.h),r.push(a)}}}})),r}function Ql(e,t){var n=[],r=!1,i={},o=0;return e.replace(It,(function(a,s){var l=Pt(a);switch(Ut(l[0])){case"":break;case"":null!=i.t&&n.push(i);break;case"":case"":i.t=e.slice(o,s).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"":r=!0;break;case"":r=!1;break;case"":case"":case"":break;case"":r=!1;break;default:if(!r&&t.WTF)throw new Error("unrecognized "+l[0]+" in threaded comments")}return a})),n}function Hl(e,t){var n=[],r=!1;return e.replace(It,(function(e){var i=Pt(e);switch(Ut(i[0])){case"":break;case"":break;case"":case"":case"":break;case"":r=!1;break;default:if(!r&&t.WTF)throw new Error("unrecognized "+i[0]+" in threaded comments")}return e})),n}function $l(e){var t={};t.iauthor=e.read_shift(4);var n=Mr(e,16);return t.rfx=n.s,t.ref=Ar(n.s),e.l+=16,t}var zl=kr;function Vl(e,t){var n=[],r=[],i={},o=!1;return Jn(e,(function(e,a,s){switch(s){case 632:r.push(e);break;case 635:i=e;break;case 637:i.t=e.t,i.h=e.h,i.r=e.r;break;case 636:if(i.author=r[i.iauthor],delete i.iauthor,t.sheetRows&&i.rfx&&t.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,n.push(i);break;case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:break;case 38:break;default:if(a.T);else if(!o||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),n}var ql="application/vnd.ms-office.vbaProject";function Kl(e){var t=Ge.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(n,r){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var i=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Ge.utils.cfb_add(t,i,e.FileIndex[r].content)}})),Ge.write(t)}function Wl(){return{"!type":"dialog"}}function Gl(){return{"!type":"dialog"}}function Yl(){return{"!type":"macro"}}function Xl(){return{"!type":"macro"}}var Jl=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,i){var o=!1,a=!1;0==r.length?a=!0:"["==r.charAt(0)&&(a=!0,r=r.slice(1,-1)),0==i.length?o=!0:"["==i.charAt(0)&&(o=!0,i=i.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=i.length>0?0|parseInt(i,10):0;return o?l+=t.c:--l,a?s+=t.r:--s,n+(o?"":"$")+cr(l)+(a?"":"$")+or(s)}return function(r,i){return t=i,r.replace(e,n)}}(),Zl=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,ec=function(){return function(e,t){return e.replace(Zl,(function(e,n,r,i,o,a){var s=lr(i)-(r?0:t.c),l=ir(a)-(o?0:t.r),c=0==l?"":o?l+1:"["+l+"]",u=0==s?"":r?s+1:"["+s+"]";return n+"R"+c+"C"+u}))}}();function tc(e,t){return e.replace(Zl,(function(e,n,r,i,o,a){return n+("$"==r?r+i:cr(lr(i)+t.c))+("$"==o?o+a:or(ir(a)+t.r))}))}function nc(e,t,n){var r=pr(t),i=r.s,o=dr(n),a={r:o.r-i.r,c:o.c-i.c};return tc(e,a)}function rc(e){return 1!=e.length}function ic(e){return e.replace(/_xlfn\./g,"")}function oc(e){e.l+=1}function ac(e,t){var n=e.read_shift(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function sc(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return lc(e,t,n);12==n.biff&&(r=4)}var i=e.read_shift(r),o=e.read_shift(r),a=ac(e,2),s=ac(e,2);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function lc(e){var t=ac(e,2),n=ac(e,2),r=e.read_shift(1),i=e.read_shift(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:i,cRel:n[1],rRel:n[2]}}}function cc(e,t,n){if(n.biff<8)return lc(e,t,n);var r=e.read_shift(12==n.biff?4:2),i=e.read_shift(12==n.biff?4:2),o=ac(e,2),a=ac(e,2);return{s:{r:r,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:a[0],cRel:a[1],rRel:a[2]}}}function uc(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return hc(e,t,n);var r=e.read_shift(n&&12==n.biff?4:2),i=ac(e,2);return{r:r,c:i[0],cRel:i[1],rRel:i[2]}}function hc(e){var t=ac(e,2),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}function fc(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function dc(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return Ac(e,t,n);var i=e.read_shift(r>=12?4:2),o=e.read_shift(2),a=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)while(i>524287)i-=1048576;if(1==a)while(o>8191)o-=16384;return{r:i,c:o,cRel:a,rRel:s}}function Ac(e){var t=e.read_shift(2),n=e.read_shift(1),r=(32768&t)>>15,i=(16384&t)>>14;return t&=16383,1==r&&t>=8192&&(t-=16384),1==i&&n>=128&&(n-=256),{r:t,c:n,cRel:i,rRel:r}}function pc(e,t,n){var r=(96&e[e.l++])>>5,i=sc(e,n.biff>=2&&n.biff<=5?6:8,n);return[r,i]}function mc(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2,"i"),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12;break}var a=sc(e,o,n);return[r,i,a]}function gc(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}function vc(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12;break}return e.l+=o,[r,i]}function bc(e,t,n){var r=(96&e[e.l++])>>5,i=cc(e,t-1,n);return[r,i]}function yc(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}function wc(e){var t=1&e[e.l+1],n=1;return e.l+=4,[t,n]}function xc(e,t,n){e.l+=2;for(var r=e.read_shift(n&&2==n.biff?1:2),i=[],o=0;o<=r;++o)i.push(e.read_shift(n&&2==n.biff?1:2));return i}function Cc(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}function kc(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}function _c(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}function Ec(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}function Bc(e){var t=e.read_shift(1),n=e.read_shift(1);return[t,n]}function Sc(e){return e.read_shift(2),Bc(e,2)}function Tc(e){return e.read_shift(2),Bc(e,2)}function Oc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=uc(e,0,n);return[r,i]}function Fc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=dc(e,0,n);return[r,i]}function Nc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(2);n&&5==n.biff&&(e.l+=12);var o=uc(e,0,n);return[r,i,o]}function Lc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(n&&n.biff<=3?1:2);return[Ku[i],qu[i],r]}function Ic(e,t,n){var r=e[e.l++],i=e.read_shift(1),o=n&&n.biff<=3?[88==r?-1:0,e.read_shift(1)]:Dc(e);return[i,(0===o[0]?qu:Vu)[o[1]]]}function Dc(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}function Mc(e,t,n){e.l+=n&&2==n.biff?3:4}function Pc(e,t,n){if(e.l++,n&&12==n.biff)return[e.read_shift(4,"i"),0];var r=e.read_shift(2),i=e.read_shift(n&&2==n.biff?1:2);return[r,i]}function Uc(e){return e.l++,ci[e.read_shift(1)]}function Rc(e){return e.l++,e.read_shift(2)}function jc(e){return e.l++,0!==e.read_shift(1)}function Qc(e){return e.l++,Pr(e,8)}function Hc(e,t,n){return e.l++,Ji(e,t-1,n)}function $c(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2;break}switch(n[0]){case 4:n[1]=Wi(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=ci[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=Pr(e,8);break;case 2:n[1]=no(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function zc(e,t,n){for(var r=e.read_shift(12==n.biff?4:2),i=[],o=0;o!=r;++o)i.push((12==n.biff?Mr:vo)(e,8));return i}function Vc(e,t,n){var r=0,i=0;12==n.biff?(r=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),r=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--r,0==--i&&(i=256));for(var o=0,a=[];o!=r&&(a[o]=[]);++o)for(var s=0;s!=i;++s)a[o][s]=$c(e,n.biff);return a}function qc(e,t,n){var r=e.read_shift(1)>>>5&3,i=!n||n.biff>=8?4:2,o=e.read_shift(i);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[r,0,o]}function Kc(e,t,n){if(5==n.biff)return Wc(e,t,n);var r=e.read_shift(1)>>>5&3,i=e.read_shift(2),o=e.read_shift(4);return[r,i,o]}function Wc(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var r=e.read_shift(2);return e.l+=12,[t,n,r]}function Gc(e,t,n){var r=e.read_shift(1)>>>5&3;e.l+=n&&2==n.biff?3:4;var i=e.read_shift(n&&2==n.biff?1:2);return[r,i]}function Yc(e,t,n){var r=e.read_shift(1)>>>5&3,i=e.read_shift(n&&2==n.biff?1:2);return[r,i]}function Xc(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}function Jc(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2),o=4;if(n)switch(n.biff){case 5:o=15;break;case 12:o=6;break}return e.l+=o,[r,i]}var Zc=Yn,eu=Yn,tu=Yn;function nu(e,t,n){return e.l+=2,[fc(e,4,n)]}function ru(e){return e.l+=6,[]}var iu=nu,ou=ru,au=ru,su=nu;function lu(e){return e.l+=2,[Gi(e),1&e.read_shift(2)]}var cu=nu,uu=lu,hu=ru,fu=nu,du=nu,Au=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function pu(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i=e.read_shift(2),o=e.read_shift(2),a=Au[n>>2&31];return{ixti:t,coltype:3&n,rt:a,idx:r,c:i,C:o}}function mu(e){return e.l+=2,[e.read_shift(4)]}function gu(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}function vu(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}function bu(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2);return[t,n]}function yu(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2);return[t,n]}function wu(e){return e.l+=4,[0,0]}var xu={1:{n:"PtgExp",f:Pc},2:{n:"PtgTbl",f:tu},3:{n:"PtgAdd",f:oc},4:{n:"PtgSub",f:oc},5:{n:"PtgMul",f:oc},6:{n:"PtgDiv",f:oc},7:{n:"PtgPower",f:oc},8:{n:"PtgConcat",f:oc},9:{n:"PtgLt",f:oc},10:{n:"PtgLe",f:oc},11:{n:"PtgEq",f:oc},12:{n:"PtgGe",f:oc},13:{n:"PtgGt",f:oc},14:{n:"PtgNe",f:oc},15:{n:"PtgIsect",f:oc},16:{n:"PtgUnion",f:oc},17:{n:"PtgRange",f:oc},18:{n:"PtgUplus",f:oc},19:{n:"PtgUminus",f:oc},20:{n:"PtgPercent",f:oc},21:{n:"PtgParen",f:oc},22:{n:"PtgMissArg",f:oc},23:{n:"PtgStr",f:Hc},26:{n:"PtgSheet",f:gu},27:{n:"PtgEndSheet",f:vu},28:{n:"PtgErr",f:Uc},29:{n:"PtgBool",f:jc},30:{n:"PtgInt",f:Rc},31:{n:"PtgNum",f:Qc},32:{n:"PtgArray",f:yc},33:{n:"PtgFunc",f:Lc},34:{n:"PtgFuncVar",f:Ic},35:{n:"PtgName",f:qc},36:{n:"PtgRef",f:Oc},37:{n:"PtgArea",f:pc},38:{n:"PtgMemArea",f:Gc},39:{n:"PtgMemErr",f:Zc},40:{n:"PtgMemNoMem",f:eu},41:{n:"PtgMemFunc",f:Yc},42:{n:"PtgRefErr",f:Xc},43:{n:"PtgAreaErr",f:gc},44:{n:"PtgRefN",f:Fc},45:{n:"PtgAreaN",f:bc},46:{n:"PtgMemAreaN",f:bu},47:{n:"PtgMemNoMemN",f:yu},57:{n:"PtgNameX",f:Kc},58:{n:"PtgRef3d",f:Nc},59:{n:"PtgArea3d",f:mc},60:{n:"PtgRefErr3d",f:Jc},61:{n:"PtgAreaErr3d",f:vc},255:{}},Cu={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},ku={1:{n:"PtgElfLel",f:lu},2:{n:"PtgElfRw",f:fu},3:{n:"PtgElfCol",f:iu},6:{n:"PtgElfRwV",f:du},7:{n:"PtgElfColV",f:su},10:{n:"PtgElfRadical",f:cu},11:{n:"PtgElfRadicalS",f:hu},13:{n:"PtgElfColS",f:ou},15:{n:"PtgElfColSV",f:au},16:{n:"PtgElfRadicalLel",f:uu},25:{n:"PtgList",f:pu},29:{n:"PtgSxName",f:mu},255:{}},_u={0:{n:"PtgAttrNoop",f:wu},1:{n:"PtgAttrSemi",f:Ec},2:{n:"PtgAttrIf",f:kc},4:{n:"PtgAttrChoose",f:xc},8:{n:"PtgAttrGoto",f:Cc},16:{n:"PtgAttrSum",f:Mc},32:{n:"PtgAttrBaxcel",f:wc},33:{n:"PtgAttrBaxcel",f:wc},64:{n:"PtgAttrSpace",f:Sc},65:{n:"PtgAttrSpaceSemi",f:Tc},128:{n:"PtgAttrIfError",f:_c},255:{}};function Eu(e,t,n,r){if(r.biff<8)return Yn(e,t);for(var i=e.l+t,o=[],a=0;a!==n.length;++a)switch(n[a][0]){case"PtgArray":n[a][1]=Vc(e,0,r),o.push(n[a][1]);break;case"PtgMemArea":n[a][2]=zc(e,n[a][1],r),o.push(n[a][2]);break;case"PtgExp":r&&12==r.biff&&(n[a][1][1]=e.read_shift(4),o.push(n[a][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[a][0];default:break}return t=i-e.l,0!==t&&o.push(Yn(e,t)),o}function Bu(e,t,n){var r,i,o=e.l+t,a=[];while(o!=e.l)t=o-e.l,i=e[e.l],r=xu[i]||xu[Cu[i]],24!==i&&25!==i||(r=(24===i?ku:_u)[e[e.l+1]]),r&&r.f?a.push([r.n,r.f(e,t,n)]):Yn(e,t);return a}function Su(e){for(var t=[],n=0;n=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Ou(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function Fu(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var i="";if(n.biff>8)switch(e[r[0]][0]){case 357:return i=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];case 355:default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return i=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[r[0]][0][3]?(i=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?i:i+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function Nu(e,t,n){var r=Fu(e,t,n);return"#REF"==r?r:Ou(r,n)}function Lu(e,t,n,r,i){var o,a,s,l,c=i&&i.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},h=[],f=0,d=0,A="";if(!e[0]||!e[0][0])return"";for(var p=-1,m="",g=0,v=e[0].length;g=0){switch(e[0][p][1][0]){case 0:m=dt(" ",e[0][p][1][1]);break;case 1:m=dt("\r",e[0][p][1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0])}a+=m,p=-1}h.push(a+Tu[b[0]]+o);break;case"PtgIsect":o=h.pop(),a=h.pop(),h.push(a+" "+o);break;case"PtgUnion":o=h.pop(),a=h.pop(),h.push(a+","+o);break;case"PtgRange":o=h.pop(),a=h.pop(),h.push(a+":"+o);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":s=er(b[1][1],u,i),h.push(nr(s,c));break;case"PtgRefN":s=n?er(b[1][1],n,i):b[1][1],h.push(nr(s,c));break;case"PtgRef3d":f=b[1][1],s=er(b[1][2],u,i),A=Nu(r,f,i);h.push(A+"!"+nr(s,c));break;case"PtgFunc":case"PtgFuncVar":var y=b[1][0],w=b[1][1];y||(y=0),y&=127;var x=0==y?[]:h.slice(-y);h.length-=y,"User"===w&&(w=x.shift()),h.push(w+"("+x.join(",")+")");break;case"PtgBool":h.push(b[1]?"TRUE":"FALSE");break;case"PtgInt":h.push(b[1]);break;case"PtgNum":h.push(String(b[1]));break;case"PtgStr":h.push('"'+b[1].replace(/"/g,'""')+'"');break;case"PtgErr":h.push(b[1]);break;case"PtgAreaN":l=tr(b[1][1],n?{s:n}:u,i),h.push(rr(l,i));break;case"PtgArea":l=tr(b[1][1],u,i),h.push(rr(l,i));break;case"PtgArea3d":f=b[1][1],l=b[1][2],A=Nu(r,f,i),h.push(A+"!"+rr(l,i));break;case"PtgAttrSum":h.push("SUM("+h.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=b[1][2];var C=(r.names||[])[d-1]||(r[0]||[])[d],k=C?C.Name:"SH33TJSNAME"+String(d);k&&"_xlfn."==k.slice(0,6)&&!i.xlfn&&(k=k.slice(6)),h.push(k);break;case"PtgNameX":var _,E=b[1][1];if(d=b[1][2],!(i.biff<=5)){var B="";if(14849==((r[E]||[])[0]||[])[0]||(1025==((r[E]||[])[0]||[])[0]?r[E][d]&&r[E][d].itab>0&&(B=r.SheetNames[r[E][d].itab-1]+"!"):B=r.SheetNames[d-1]+"!"),r[E]&&r[E][d])B+=r[E][d].Name;else if(r[0]&&r[0][d])B+=r[0][d].Name;else{var S=(Fu(r,E,i)||"").split(";;");S[d-1]?B=S[d-1]:B+="SH33TJSERRX"}h.push(B);break}E<0&&(E=-E),r[E]&&(_=r[E][d]),_||(_={Name:"SH33TJSERRY"}),h.push(_.Name);break;case"PtgParen":var T="(",O=")";if(p>=0){switch(m="",e[0][p][1][0]){case 2:T=dt(" ",e[0][p][1][1])+T;break;case 3:T=dt("\r",e[0][p][1][1])+T;break;case 4:O=dt(" ",e[0][p][1][1])+O;break;case 5:O=dt("\r",e[0][p][1][1])+O;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0])}p=-1}h.push(T+h.pop()+O);break;case"PtgRefErr":h.push("#REF!");break;case"PtgRefErr3d":h.push("#REF!");break;case"PtgExp":s={c:b[1][1],r:b[1][0]};var F={c:n.c,r:n.r};if(r.sharedf[Ar(s)]){var N=r.sharedf[Ar(s)];h.push(Lu(N,u,F,r,i))}else{var L=!1;for(o=0;o!=r.arrayf.length;++o)if(a=r.arrayf[o],!(s.ca[0].e.c)&&!(s.ra[0].e.r)){h.push(Lu(a[1],u,F,r,i)),L=!0;break}L||h.push(b[1])}break;case"PtgArray":h.push("{"+Su(b[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":p=g;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":h.push("");break;case"PtgAreaErr":h.push("#REF!");break;case"PtgAreaErr3d":h.push("#REF!");break;case"PtgList":h.push("Table"+b[1].idx+"[#"+b[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(b));default:throw new Error("Unrecognized Formula Token: "+String(b))}var I=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(3!=i.biff&&p>=0&&-1==I.indexOf(e[0][g][0])){b=e[0][p];var D=!0;switch(b[1][0]){case 4:D=!1;case 0:m=dt(" ",b[1][1]);break;case 5:D=!1;case 1:m=dt("\r",b[1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+b[1][0])}h.push((D?m:"")+h.pop()+(D?"":m)),p=-1}}if(h.length>1&&i.WTF)throw new Error("bad formula stack");return h[0]}function Iu(e,t,n){var r,i=e.l+t,o=2==n.biff?1:2,a=e.read_shift(o);if(65535==a)return[[],Yn(e,t-2)];var s=Bu(e,a,n);return t!==a+o&&(r=Eu(e,t-a-o,s,n)),e.l=i,[s,r]}function Du(e,t,n){var r,i=e.l+t,o=2==n.biff?1:2,a=e.read_shift(o);if(65535==a)return[[],Yn(e,t-2)];var s=Bu(e,a,n);return t!==a+o&&(r=Eu(e,t-a-o,s,n)),e.l=i,[s,r]}function Mu(e,t,n,r){var i,o=e.l+t,a=Bu(e,r,n);return o!==e.l&&(i=Eu(e,o-e.l,a,n)),[a,i]}function Pu(e,t,n){var r,i=e.l+t,o=e.read_shift(2),a=Bu(e,o,n);return 65535==o?[[],Yn(e,t-2)]:(t!==o+2&&(r=Eu(e,i-o-2,a,n)),[a,r])}function Uu(e){var t;if(65535!==Un(e,e.l+6))return[Pr(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function Ru(e,t,n){var r=e.l+t,i=ho(e,6);2==n.biff&&++e.l;var o=Uu(e,8),a=e.read_shift(1);2!=n.biff&&(e.read_shift(1),n.biff>=5&&e.read_shift(4));var s=Du(e,r-e.l,n);return{cell:i,val:o[0],formula:s,shared:a>>3&1,tt:o[1]}}function ju(e,t,n){var r=e.read_shift(4),i=Bu(e,r,n),o=e.read_shift(4),a=o>0?Eu(e,o,i,n):null;return[i,a]}var Qu=ju,Hu=ju,$u=ju,zu=ju,Vu={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},qu={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Ku={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Wu(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&(e=e.slice(1),61==e.charCodeAt(0)&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")})),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function Gu(e){var t=e.split(":"),n=t[0].split(".")[0];return[n,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var Yu={},Xu={};function Ju(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function Zu(e,t,n,r,i,o){try{r.cellNF&&(e.z=G[t])}catch(s){if(r.WTF)throw s}if("z"!==e.t||r.cellStyles){if("d"===e.t&&"string"===typeof e.v&&(e.v=ut(e.v)),(!r||!1!==r.cellText)&&"z"!==e.t)try{if(null==G[t]&&He(ze[t]||"General",t),"e"===e.t)e.w=e.w||ci[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=le(e.v);else if("d"===e.t){var a=tt(e.v);e.w=(0|a)===a?a.toString(10):le(a)}else{if(void 0===e.v)return"";e.w=ce(e.v,Xu)}else"d"===e.t?e.w=Qe(t,tt(e.v),Xu):e.w=Qe(t,e.v,Xu)}catch(s){if(r.WTF)throw s}if(r.cellStyles&&null!=n)try{e.s=o.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Ls(i.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),r.WTF&&(e.s.fgColor.raw_rgb=i.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Ls(i.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),r.WTF&&(e.s.bgColor.raw_rgb=i.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(s){if(r.WTF&&o.Fills)throw s}}}function eh(e,t){var n=gr(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=mr(n))}var th=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,nh=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,rh=/<(?:\w:)?hyperlink [^>]*>/gm,ih=/"(\w*:\w*)"/,oh=/<(?:\w:)?col\b[^>]*[\/]?>/g,ah=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,sh=/<(?:\w:)?pageMargins[^>]*\/>/g,lh=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,ch=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,uh=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function hh(e,t,n,r,i,o,a){if(!e)return e;r||(r={"!id":{}}),null!=y&&null==t.dense&&(t.dense=y);var s=t.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",u="",h=e.match(nh);h?(c=e.slice(0,h.index),u=e.slice(h.index+h[0].length)):c=u=e;var f=c.match(lh);f?fh(f[0],s,i,n):(f=c.match(ch))&&dh(f[0],f[1]||"",s,i,n,a,o);var d=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var A=c.slice(d,d+50).match(ih);A&&eh(s,A[1])}var p=c.match(uh);p&&p[1]&&bh(p[1],i);var m=[];if(t.cellStyles){var g=c.match(oh);g&&mh(m,g)}h&&yh(h[1],s,t,l,o,a);var v=u.match(ah);v&&(s["!autofilter"]=gh(v[0]));var b=[],w=u.match(th);if(w)for(d=0;d!=w.length;++d)b[d]=gr(w[d].slice(w[d].indexOf('"')+1));var x=u.match(rh);x&&Ah(s,x,r);var C=u.match(sh);if(C&&(s["!margins"]=ph(Pt(C[0]))),!s["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(s["!ref"]=mr(l)),t.sheetRows>0&&s["!ref"]){var k=gr(s["!ref"]);t.sheetRows<=+k.e.r&&(k.e.r=t.sheetRows-1,k.e.r>l.e.r&&(k.e.r=l.e.r),k.e.rl.e.c&&(k.e.c=l.e.c),k.e.c0&&(s["!cols"]=m),b.length>0&&(s["!merges"]=b),s}function fh(e,t,n,r){var i=Pt(e);n.Sheets[r]||(n.Sheets[r]={}),i.codeName&&(n.Sheets[r].CodeName=Qt(Xt(i.codeName)))}function dh(e,t,n,r,i){fh(e.slice(0,e.indexOf(">")),n,r,i)}function Ah(e,t,n){for(var r=Array.isArray(e),i=0;i!=t.length;++i){var o=Pt(Xt(t[i]),!0);if(!o.ref)return;var a=((n||{})["!id"]||[])[o.id];a?(o.Target=a.Target,o.location&&(o.Target+="#"+Qt(o.location))):(o.Target="#"+Qt(o.location),a={Target:o.Target,TargetMode:"Internal"}),o.Rel=a,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=gr(o.ref),l=s.s.r;l<=s.e.r;++l)for(var c=s.s.c;c<=s.e.c;++c){var u=Ar({c:c,r:l});r?(e[l]||(e[l]=[]),e[l][c]||(e[l][c]={t:"z",v:void 0}),e[l][c].l=o):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=o)}}}function ph(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(n){e[n]&&(t[n]=parseFloat(e[n]))})),t}function mh(e,t){for(var n=!1,r=0;r!=t.length;++r){var i=Pt(t[r],!0);i.hidden&&(i.hidden=qt(i.hidden));var o=parseInt(i.min,10)-1,a=parseInt(i.max,10)-1;i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!n&&i.width&&(n=!0,Hs(i.width)),$s(i);while(o<=a)e[o++]=ft(i)}}function gh(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}var vh=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function bh(e,t){t.Views||(t.Views=[{}]),(e.match(vh)||[]).forEach((function(e,n){var r=Pt(e);t.Views[n]||(t.Views[n]={}),+r.zoomScale&&(t.Views[n].zoom=+r.zoomScale),qt(r.rightToLeft)&&(t.Views[n].RTL=!0)}))}var yh=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,r=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,o=Zt("v"),a=Zt("f");return function(s,l,c,u,h,f){for(var d,A,p,m,g,v=0,b="",y=[],w=[],x=0,C=0,k=0,_="",E=0,B=0,S=0,T=0,O=Array.isArray(f.CellXf),F=[],N=[],L=Array.isArray(l),I=[],D={},M=!1,P=!!c.sheetStubs,U=s.split(t),R=0,j=U.length;R!=j;++R){b=U[R].trim();var Q=b.length;if(0!==Q){var H=0;e:for(v=0;v":if("/"!=b[v-1]){++v;break e}if(c&&c.cellStyles){if(A=Pt(b.slice(H,v),!0),E=null!=A.r?parseInt(A.r,10):E+1,B=-1,c.sheetRows&&c.sheetRows=v)break;if(A=Pt(b.slice(H,v),!0),E=null!=A.r?parseInt(A.r,10):E+1,B=-1,!(c.sheetRows&&c.sheetRowsE-1&&(u.s.r=E-1),u.e.r":"")+b,null!=w&&2===w.length){for(x=0,_=w[1],C=0;C!=_.length;++C){if((k=_.charCodeAt(C)-64)<1||k>26)break;x=26*x+k}--x,B=x}else++B;for(C=0;C!=b.length;++C)if(62===b.charCodeAt(C))break;if(++C,A=Pt(b.slice(0,C),!0),A.r||(A.r=Ar({r:E-1,c:B})),_=b.slice(C),d={t:""},null!=(w=_.match(o))&&""!==w[1]&&(d.v=Qt(w[1])),c.cellFormula){if(null!=(w=_.match(a))&&""!==w[1]){if(d.f=Qt(Xt(w[1])).replace(/\r\n/g,"\n"),c.xlfn||(d.f=ic(d.f)),w[0].indexOf('t="array"')>-1)d.F=(_.match(i)||[])[1],d.F.indexOf(":")>-1&&F.push([gr(d.F),d.F]);else if(w[0].indexOf('t="shared"')>-1){m=Pt(w[0]);var z=Qt(Xt(w[1]));c.xlfn||(z=ic(z)),N[parseInt(m.si,10)]=[m,z,A.r]}}else(w=_.match(/]*\/>/))&&(m=Pt(w[0]),N[m.si]&&(d.f=nc(N[m.si][1],N[m.si][2],A.r)));var V=dr(A.r);for(C=0;C=F[C][0].s.r&&V.r<=F[C][0].e.r&&V.c>=F[C][0].s.c&&V.c<=F[C][0].e.c&&(d.F=F[C][1])}if(null==A.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!P)continue;d.t="z"}else d.t=A.t||"n";switch(u.s.c>B&&(u.s.c=B),u.e.c0&&(l["!rows"]=I)}}();function wh(e,t){var n={},r=e.l+t;n.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var o=e.read_shift(1);return e.l=r,7&o&&(n.level=7&o),16&o&&(n.hidden=!0),32&o&&(n.hpt=i/20),n}var xh=Mr;function Ch(){}function kh(e,t){var n={},r=e[e.l];return++e.l,n.above=!(64&r),n.left=!(128&r),e.l+=18,n.name=Or(e,t-19),n}function _h(e){var t=Sr(e);return[t]}function Eh(e){var t=Tr(e);return[t]}function Bh(e){var t=Sr(e),n=e.read_shift(1);return[t,n,"b"]}function Sh(e){var t=Tr(e),n=e.read_shift(1);return[t,n,"b"]}function Th(e){var t=Sr(e),n=e.read_shift(1);return[t,n,"e"]}function Oh(e){var t=Tr(e),n=e.read_shift(1);return[t,n,"e"]}function Fh(e){var t=Sr(e),n=e.read_shift(4);return[t,n,"s"]}function Nh(e){var t=Tr(e),n=e.read_shift(4);return[t,n,"s"]}function Lh(e){var t=Sr(e),n=Pr(e);return[t,n,"n"]}function Ih(e){var t=Tr(e),n=Pr(e);return[t,n,"n"]}function Dh(e){var t=Sr(e),n=Ir(e);return[t,n,"n"]}function Mh(e){var t=Tr(e),n=Ir(e);return[t,n,"n"]}function Ph(e){var t=Sr(e),n=Er(e);return[t,n,"is"]}function Uh(e){var t=Sr(e),n=kr(e);return[t,n,"str"]}function Rh(e){var t=Tr(e),n=kr(e);return[t,n,"str"]}function jh(e,t,n){var r=e.l+t,i=Sr(e);i.r=n["!row"];var o=e.read_shift(1),a=[i,o,"b"];if(n.cellFormula){e.l+=2;var s=Hu(e,r-e.l,n);a[3]=Lu(s,null,i,n.supbooks,n)}else e.l=r;return a}function Qh(e,t,n){var r=e.l+t,i=Sr(e);i.r=n["!row"];var o=e.read_shift(1),a=[i,o,"e"];if(n.cellFormula){e.l+=2;var s=Hu(e,r-e.l,n);a[3]=Lu(s,null,i,n.supbooks,n)}else e.l=r;return a}function Hh(e,t,n){var r=e.l+t,i=Sr(e);i.r=n["!row"];var o=Pr(e),a=[i,o,"n"];if(n.cellFormula){e.l+=2;var s=Hu(e,r-e.l,n);a[3]=Lu(s,null,i,n.supbooks,n)}else e.l=r;return a}function $h(e,t,n){var r=e.l+t,i=Sr(e);i.r=n["!row"];var o=kr(e),a=[i,o,"str"];if(n.cellFormula){e.l+=2;var s=Hu(e,r-e.l,n);a[3]=Lu(s,null,i,n.supbooks,n)}else e.l=r;return a}var zh=Mr;function Vh(e,t){var n=e.l+t,r=Mr(e,16),i=Fr(e),o=kr(e),a=kr(e),s=kr(e);e.l=n;var l={rfx:r,relId:i,loc:o,display:s};return a&&(l.Tooltip=a),l}function qh(){}function Kh(e,t,n){var r=e.l+t,i=Dr(e,16),o=e.read_shift(1),a=[i];if(a[2]=o,n.cellFormula){var s=Qu(e,r-e.l,n);a[1]=s}else e.l=r;return a}function Wh(e,t,n){var r=e.l+t,i=Mr(e,16),o=[i];if(n.cellFormula){var a=zu(e,r-e.l,n);o[1]=a,e.l=r}else e.l=r;return o}var Gh=["left","right","top","bottom","header","footer"];function Yh(e){var t={};return Gh.forEach((function(n){t[n]=Pr(e,8)})),t}function Xh(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}function Jh(){}function Zh(){}function ef(e,t,n,r,i,o,a){if(!e)return e;var s=t||{};r||(r={"!id":{}}),null!=y&&null==s.dense&&(s.dense=y);var l,c,u,h,f,d,A,p,m,g,v=s.dense?[]:{},b={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=[],x=!1,C=!1,k=[];s.biff=12,s["!row"]=0;var _=0,E=!1,B=[],S={},T=s.supbooks||i.supbooks||[[]];if(T.sharedf=S,T.arrayf=B,T.SheetNames=i.SheetNames||i.Sheets.map((function(e){return e.name})),!s.supbooks&&(s.supbooks=T,i.Names))for(var O=0;O=O[0].s.r&&c.r<=O[0].e.r&&d>=O[0].s.c&&d<=O[0].e.c&&(u.F=mr(O[0]),E=!0)}!E&&e.length>3&&(u.f=e[3])}if(b.s.r>c.r&&(b.s.r=c.r),b.s.c>d&&(b.s.c=d),b.e.rc.r&&(b.s.r=c.r),b.s.c>d&&(b.s.c=d),b.e.r=e.s)L[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},D||(D=!0,Hs(e.w/256)),$s(L[e.e+1]);break;case 161:v["!autofilter"]={ref:mr(e)};break;case 476:v["!margins"]=e;break;case 147:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name),(e.above||e.left)&&(v["!outline"]={above:e.above,left:e.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),e.RTL&&(i.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:x=!0;break;case 36:x=!1;break;case 37:w.push(y),x=!0;break;case 38:w.pop(),x=!1;break;default:if(t.T);else if(!x||s.WTF)throw new Error("Unexpected record 0x"+y.toString(16))}}),s),delete s.supbooks,delete s["!row"],!v["!ref"]&&(b.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(v["!ref"]=mr(l||b)),s.sheetRows&&v["!ref"]){var M=gr(v["!ref"]);s.sheetRows<=+M.e.r&&(M.e.r=s.sheetRows-1,M.e.r>b.e.r&&(M.e.r=b.e.r),M.e.rb.e.c&&(M.e.c=b.e.c),M.e.c0&&(v["!merges"]=k),L.length>0&&(v["!cols"]=L),I.length>0&&(v["!rows"]=I),v}function tf(e){var t,n=[],r=e.match(/^/);(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=r?+t[2]:t[2])}));var i=Qt((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[n,i,t]}function nf(e,t,n,r,i,o){var a=o||{"!type":"chart"};if(!e)return o;var s=0,l=0,c="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=tf(e);u.s.r=u.s.c=0,u.e.c=s,c=cr(s),t[0].forEach((function(e,n){a[c+or(n)]={t:"n",v:e,z:t[1]},l=n})),u.e.r0&&(a["!ref"]=mr(u)),a}function rf(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var o,a={"!type":"chart","!drawel":null,"!rel":""},s=e.match(lh);return s&&fh(s[0],a,i,n),(o=e.match(/drawing r:id="(.*?)"/))&&(a["!rel"]=o[1]),r["!id"][a["!rel"]]&&(a["!drawel"]=r["!id"][a["!rel"]]),a}function of(e,t){e.l+=10;var n=kr(e,t-10);return{name:n}}function af(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},a=[],s=!1;return Jn(e,(function(e,r,l){switch(l){case 550:o["!rel"]=e;break;case 651:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(l);break;case 38:a.pop();break;default:if(r.T>0)a.push(l);else if(r.T<0)a.pop();else if(!s||t.WTF)throw new Error("Unexpected record 0x"+l.toString(16))}}),t),r["!id"][o["!rel"]]&&(o["!drawel"]=r["!id"][o["!rel"]]),o}var sf=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],lf=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],cf=[],uf=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function hf(e,t){for(var n=0;n!=e.length;++n)for(var r=e[n],i=0;i!=t.length;++i){var o=t[i];if(null==r[o[0]])r[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof r[o[0]]&&(r[o[0]]=qt(r[o[0]]));break;case"int":"string"==typeof r[o[0]]&&(r[o[0]]=parseInt(r[o[0]],10));break}}}function ff(e,t){for(var n=0;n!=t.length;++n){var r=t[n];if(null==e[r[0]])e[r[0]]=r[1];else switch(r[2]){case"bool":"string"==typeof e[r[0]]&&(e[r[0]]=qt(e[r[0]]));break;case"int":"string"==typeof e[r[0]]&&(e[r[0]]=parseInt(e[r[0]],10));break}}}function df(e){ff(e.WBProps,sf),ff(e.CalcPr,uf),hf(e.WBView,lf),hf(e.Sheets,cf),Xu.date1904=qt(e.WBProps.date1904)}var Af="][*?/\\".split("");function pf(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return Af.forEach((function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}})),n}var mf=/<\w+:workbook/;function gf(e,t){if(!e)throw new Error("Could not find file");var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},r=!1,i="xmlns",o={},a=0;if(e.replace(It,(function(s,l){var c=Pt(s);switch(Ut(c[0])){case"":break;case"":case"":break;case"":break;case"":sf.forEach((function(e){if(null!=c[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=qt(c[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:n.WBProps[e[0]]=c[e[0]]}})),c.codeName&&(n.WBProps.CodeName=Xt(c.codeName));break;case"":break;case"":break;case"":case"":break;case"":delete c[0],n.WBView.push(c);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":r=!1;break;case"":o.Ref=Qt(Xt(e.slice(a,l))),n.Names.push(o);break;case"":break;case"":delete c[0],n.CalcPr=c;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":r=!1;break;case"":r=!0;break;case"":r=!1;break;case"8?kr(e):"";return i.length>0&&(n.CodeName=i),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}function yf(e,t){var n={};return e.read_shift(4),n.ArchID=e.read_shift(4),e.l+=t-8,n}function wf(e,t,n){var r=e.l+t;e.l+=4,e.l+=1;var i=e.read_shift(4),o=Nr(e),a=$u(e,0,n),s=Fr(e);e.l=r;var l={Name:o,Ptg:a};return i<268435455&&(l.Sheet=i),s&&(l.Comment=s),l}function xf(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},r=[],i=!1;t||(t={}),t.biff=12;var o=[],a=[[]];return a.SheetNames=[],a.XTI=[],rd[16]={n:"BrtFRTArchID$",f:yf},Jn(e,(function(e,s,l){switch(l){case 156:a.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=Lu(e.Ptg,null,null,a,t),delete t.SID,delete e.Ptg,o.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:a[0].length?a.push([l,e]):a[0]=[l,e],a[a.length-1].XTI=[];break;case 362:0===a.length&&(a[0]=[],a[0].XTI=[]),a[a.length-1].XTI=a[a.length-1].XTI.concat(e),a.XTI=a.XTI.concat(e);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:r.push(l),i=!0;break;case 36:r.pop(),i=!1;break;case 37:r.push(l),i=!0;break;case 38:r.pop(),i=!1;break;case 16:break;default:if(s.T);else if(!i||t.WTF&&37!=r[r.length-1]&&35!=r[r.length-1])throw new Error("Unexpected record 0x"+l.toString(16))}}),t),df(n),n.Names=o,n.supbooks=a,n}function Cf(e,t,n){return".bin"===t.slice(-4)?xf(e,n):gf(e,n)}function kf(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?ef(e,r,n,i,o,a,s):hh(e,r,n,i,o,a,s)}function _f(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?af(e,r,n,i,o,a,s):rf(e,r,n,i,o,a,s)}function Ef(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?Yl(e,r,n,i,o,a,s):Xl(e,r,n,i,o,a,s)}function Bf(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?Wl(e,r,n,i,o,a,s):Gl(e,r,n,i,o,a,s)}function Sf(e,t,n,r){return".bin"===t.slice(-4)?ll(e,n,r):nl(e,n,r)}function Tf(e,t,n){return vl(e,n)}function Of(e,t,n){return".bin"===t.slice(-4)?is(e,n):ns(e,n)}function Ff(e,t,n){return".bin"===t.slice(-4)?Vl(e,n):jl(e,n)}function Nf(e,t,n){return".bin"===t.slice(-4)?Dl(e,t,n):Ll(e,t,n)}function Lf(e,t,n,r){return".bin"===n.slice(-4)?Pl(e,t,n,r):Ml(e,t,n,r)}function If(e,t,n){return".bin"===t.slice(-4)?Fl(e,t,n):Nl(e,t,n)}var Df,Mf=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Pf=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Uf(e,t){var n=e.split(/\s+/),r=[];if(t||(r[0]=n[0]),1===n.length)return r;var i,o,a,s,l=e.match(Mf);if(l)for(s=0;s!=l.length;++s)i=l[s].match(Pf),-1===(o=i[1].indexOf(":"))?r[i[1]]=i[2].slice(1,i[2].length-1):(a="xmlns:"===i[1].slice(0,6)?"xmlns"+i[1].slice(6):i[1].slice(o+1),r[a]=i[2].slice(1,i[2].length-1));return r}function Rf(e){var t=e.split(/\s+/),n={};if(1===t.length)return n;var r,i,o,a,s=e.match(Mf);if(s)for(a=0;a!=s.length;++a)r=s[a].match(Pf),-1===(i=r[1].indexOf(":"))?n[r[1]]=r[2].slice(1,r[2].length-1):(o="xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(i+1),n[o]=r[2].slice(1,r[2].length-1));return n}function jf(e,t){var n=Df[e]||Qt(e);return"General"===n?ce(t):Qe(n,t)}function Qf(e,t,n,r){var i=r;switch((n[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=qt(r);break;case"i2":case"int":i=parseInt(r,10);break;case"r4":case"float":i=parseFloat(r);break;case"date":case"dateTime.tz":i=ut(r);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+n[0])}e[Qt(t)]=i}function Hf(e,t,n){if("z"!==e.t){if(!n||!1!==n.cellText)try{"e"===e.t?e.w=e.w||ci[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=le(e.v):e.w=ce(e.v):e.w=jf(t||"General",e.v)}catch(o){if(n.WTF)throw o}try{var r=Df[t]||t||"General";if(n.cellNF&&(e.z=r),n.cellDates&&"n"==e.t&&Me(r)){var i=Z(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(o){if(n.WTF)throw o}}}function $f(e,t,n){if(n.cellStyles&&t.Interior){var r=t.Interior;r.Pattern&&(r.patternType=Ws[r.Pattern]||r.Pattern)}e[t.ID]=t}function zf(e,t,n,r,i,o,a,s,l,c){var u="General",h=r.StyleID,f={};c=c||{};var d=[],A=0;void 0===h&&s&&(h=s.StyleID),void 0===h&&a&&(h=a.StyleID);while(void 0!==o[h]){if(o[h].nf&&(u=o[h].nf),o[h].Interior&&d.push(o[h].Interior),!o[h].Parent)break;h=o[h].Parent}switch(n.Type){case"Boolean":r.t="b",r.v=qt(e);break;case"String":r.t="s",r.r=Vt(Qt(e)),r.v=e.indexOf("<")>-1?Qt(t||e).replace(/<.*?>/g,""):r.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),r.v=(ut(e)-new Date(Date.UTC(1899,11,30)))/864e5,r.v!==r.v?r.v=Qt(e):r.v<60&&(r.v=r.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===r.v&&(r.v=+e),r.t||(r.t="n");break;case"Error":r.t="e",r.v=ui[e],!1!==c.cellText&&(r.w=e);break;default:""==e&&""==t?r.t="z":(r.t="s",r.v=Vt(t||e));break}if(Hf(r,u,c),!1!==c.cellFormula)if(r.Formula){var p=Qt(r.Formula);61==p.charCodeAt(0)&&(p=p.slice(1)),r.f=Jl(p,i),delete r.Formula,"RC"==r.ArrayRange?r.F=Jl("RC:RC",i):r.ArrayRange&&(r.F=Jl(r.ArrayRange,i),l.push([gr(r.F),r.F]))}else for(A=0;A=l[A][0].s.r&&i.r<=l[A][0].e.r&&i.c>=l[A][0].s.c&&i.c<=l[A][0].e.c&&(r.F=l[A][1]);c.cellStyles&&(d.forEach((function(e){!f.patternType&&e.patternType&&(f.patternType=e.patternType)})),r.s=f),void 0!==r.StyleID&&(r.ixfe=r.StyleID)}function Vf(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function qf(e,t){var n=t||{};$e();var r=g(cn(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(r="undefined"!==typeof m?m.utils.decode(65001,d(r)):Xt(r));var i,o=r.slice(0,1024).toLowerCase(),a=!1;if(o=o.replace(/".*?"/g,""),(1023&o.indexOf(">"))>Math.min(1023&o.indexOf(","),1023&o.indexOf(";"))){var s=ft(n);return s.type="string",$a.to_workbook(r,s)}if(-1==o.indexOf("=0&&(a=!0)})),a)return ud(r,n);Df={"General Number":"General","General Date":G[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":G[15],"Short Date":G[14],"Long Time":G[19],"Medium Time":G[18],"Short Time":G[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:G[2],Standard:G[4],Percent:G[10],Scientific:G[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l,c=[];null!=y&&null==n.dense&&(n.dense=y);var u,h={},f=[],A=n.dense?[]:{},p="",v={},b={},w=Uf(''),x=0,C=0,k=0,_={s:{r:2e6,c:2e6},e:{r:0,c:0}},E={},B={},S="",T=0,O=[],F={},N={},L=0,I=[],D=[],M={},P=[],U=!1,R=[],j=[],Q={},H=0,$=0,z={Sheets:[],WBProps:{date1904:!1}},V={};un.lastIndex=0,r=r.replace(//gm,"");var q="";while(i=un.exec(r))switch(i[3]=(q=i[3]).toLowerCase()){case"data":if("data"==q){if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&c.push([i[3],!0]);break}if(c[c.length-1][1])break;"/"===i[1]?zf(r.slice(x,i.index),S,w,"comment"==c[c.length-1][0]?M:v,{c:C,r:k},E,P[C],b,R,n):(S="",w=Uf(i[0]),x=i.index+i[0].length);break;case"cell":if("/"===i[1])if(D.length>0&&(v.c=D),(!n.sheetRows||n.sheetRows>k)&&void 0!==v.v&&(n.dense?(A[k]||(A[k]=[]),A[k][C]=v):A[cr(C)+or(k)]=v),v.HRef&&(v.l={Target:Qt(v.HRef)},v.HRefScreenTip&&(v.l.Tooltip=v.HRefScreenTip),delete v.HRef,delete v.HRefScreenTip),(v.MergeAcross||v.MergeDown)&&(H=C+(0|parseInt(v.MergeAcross,10)),$=k+(0|parseInt(v.MergeDown,10)),O.push({s:{c:C,r:k},e:{c:H,r:$}})),n.sheetStubs)if(v.MergeAcross||v.MergeDown){for(var K=C;K<=H;++K)for(var W=k;W<=$;++W)(K>C||W>k)&&(n.dense?(A[W]||(A[W]=[]),A[W][K]={t:"z"}):A[cr(K)+or(W)]={t:"z"});C=H+1}else++C;else v.MergeAcross?C=H+1:++C;else v=Rf(i[0]),v.Index&&(C=+v.Index-1),C<_.s.c&&(_.s.c=C),C>_.e.c&&(_.e.c=C),"/>"===i[0].slice(-2)&&++C,D=[];break;case"row":"/"===i[1]||"/>"===i[0].slice(-2)?(k<_.s.r&&(_.s.r=k),k>_.e.r&&(_.e.r=k),"/>"===i[0].slice(-2)&&(b=Uf(i[0]),b.Index&&(k=+b.Index-1)),C=0,++k):(b=Uf(i[0]),b.Index&&(k=+b.Index-1),Q={},("0"==b.AutoFitHeight||b.Height)&&(Q.hpx=parseInt(b.Height,10),Q.hpt=qs(Q.hpx),j[k]=Q),"1"==b.Hidden&&(Q.hidden=!0,j[k]=Q));break;case"worksheet":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"));f.push(p),_.s.r<=_.e.r&&_.s.c<=_.e.c&&(A["!ref"]=mr(_),n.sheetRows&&n.sheetRows<=_.e.r&&(A["!fullref"]=A["!ref"],_.e.r=n.sheetRows-1,A["!ref"]=mr(_))),O.length&&(A["!merges"]=O),P.length>0&&(A["!cols"]=P),j.length>0&&(A["!rows"]=j),h[p]=A}else _={s:{r:2e6,c:2e6},e:{r:0,c:0}},k=C=0,c.push([i[3],!1]),l=Uf(i[0]),p=Qt(l.Name),A=n.dense?[]:{},O=[],R=[],j=[],V={name:p,Hidden:0},z.Sheets.push(V);break;case"table":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else{if("/>"==i[0].slice(-2))break;c.push([i[3],!1]),P=[],U=!1}break;case"style":"/"===i[1]?$f(E,B,n):B=Uf(i[0]);break;case"numberformat":B.nf=Qt(Uf(i[0]).Format||"General"),Df[B.nf]&&(B.nf=Df[B.nf]);for(var Y=0;392!=Y;++Y)if(G[Y]==B.nf)break;if(392==Y)for(Y=57;392!=Y;++Y)if(null==G[Y]){He(B.nf,Y);break}break;case"column":if("table"!==c[c.length-1][0])break;if(u=Uf(i[0]),u.Hidden&&(u.hidden=!0,delete u.Hidden),u.Width&&(u.wpx=parseInt(u.Width,10)),!U&&u.wpx>10){U=!0,Ps=Is;for(var X=0;X0&&(ee.Sheet=z.Sheets.length-1),z.Names.push(ee);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if("/>"===i[0].slice(-2))break;"/"===i[1]?S+=r.slice(T,i.index):T=i.index+i[0].length;break;case"interior":if(!n.cellStyles)break;B.Interior=Uf(i[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===i[0].slice(-2))break;"/"===i[1]?Ti(F,q,r.slice(L,i.index)):L=i.index+i[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else c.push([i[3],!1]);break;case"comment":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"));Vf(M),D.push(M)}else c.push([i[3],!1]),l=Uf(i[0]),M={a:l.Author};break;case"autofilter":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else if("/"!==i[0].charAt(i[0].length-2)){var te=Uf(i[0]);A["!autofilter"]={ref:Jl(te.Range).replace(/\$/g,"")},c.push([i[3],!0])}break;case"name":break;case"datavalidation":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&c.push([i[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&c.push([i[3],!0]);break;case"null":break;default:if(0==c.length&&"document"==i[3])return xd(r,n);if(0==c.length&&"uof"==i[3])return xd(r,n);var ne=!0;switch(c[c.length-1][0]){case"officedocumentsettings":switch(i[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:ne=!1}break;case"componentoptions":switch(i[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:ne=!1}break;case"excelworkbook":switch(i[3]){case"date1904":z.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:ne=!1}break;case"workbookoptions":switch(i[3]){case"owcversion":break;case"height":break;case"width":break;default:ne=!1}break;case"worksheetoptions":switch(i[3]){case"visible":if("/>"===i[0].slice(-2));else if("/"===i[1])switch(r.slice(L,i.index)){case"SheetHidden":V.Hidden=1;break;case"SheetVeryHidden":V.Hidden=2;break}else L=i.index+i[0].length;break;case"header":A["!margins"]||Ju(A["!margins"]={},"xlml"),isNaN(+Pt(i[0]).Margin)||(A["!margins"].header=+Pt(i[0]).Margin);break;case"footer":A["!margins"]||Ju(A["!margins"]={},"xlml"),isNaN(+Pt(i[0]).Margin)||(A["!margins"].footer=+Pt(i[0]).Margin);break;case"pagemargins":var re=Pt(i[0]);A["!margins"]||Ju(A["!margins"]={},"xlml"),isNaN(+re.Top)||(A["!margins"].top=+re.Top),isNaN(+re.Left)||(A["!margins"].left=+re.Left),isNaN(+re.Right)||(A["!margins"].right=+re.Right),isNaN(+re.Bottom)||(A["!margins"].bottom=+re.Bottom);break;case"displayrighttoleft":z.Views||(z.Views=[]),z.Views[0]||(z.Views[0]={}),z.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":A["!outline"]||(A["!outline"]={}),A["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":A["!outline"]||(A["!outline"]={}),A["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:ne=!1}break;case"pivottable":case"pivotcache":switch(i[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:ne=!1}break;case"pagebreaks":switch(i[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:ne=!1}break;case"autofilter":switch(i[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:ne=!1}break;case"querytable":switch(i[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:ne=!1}break;case"datavalidation":switch(i[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:ne=!1}break;case"sorting":case"conditionalformatting":switch(i[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:ne=!1}break;case"mapinfo":case"schema":case"data":switch(i[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:ne=!1}break;case"smarttags":break;default:ne=!1;break}if(ne)break;if(i[3].match(/!\[CDATA/))break;if(!c[c.length-1][1])throw"Unrecognized tag: "+i[3]+"|"+c.join("|");if("customdocumentproperties"===c[c.length-1][0]){if("/>"===i[0].slice(-2))break;"/"===i[1]?Qf(N,q,I,r.slice(L,i.index)):(I=i,L=i.index+i[0].length);break}if(n.WTF)throw"Unrecognized tag: "+i[3]+"|"+c.join("|")}var ie={};return n.bookSheets||n.bookProps||(ie.Sheets=h),ie.SheetNames=f,ie.Workbook=z,ie.SSF=ft(G),ie.Props=F,ie.Custprops=N,ie}function Kf(e,t){switch(Wd(t=t||{}),t.type||"base64"){case"base64":return qf(k(e),t);case"binary":case"buffer":case"file":return qf(e,t);case"array":return qf(O(e),t)}}function Wf(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=Qr(n),n.length-n.l<=4)return t;var r=n.read_shift(4);return 0==r||r>40?t:(n.l-=4,t.Reserved1=n.read_shift(0,"lpstr-ansi"),n.length-n.l<=4?t:(r=n.read_shift(4),1907505652!==r?t:(t.UnicodeClipboardFormat=Hr(n),r=n.read_shift(4),0==r||r>40?t:(n.l-=4,void(t.Reserved2=n.read_shift(0,"lpwstr"))))))}var Gf=[60,1084,2066,2165,2175];function Yf(e,t,n,r,i){var o=r,a=[],s=n.slice(n.l,n.l+o);if(i&&i.enc&&i.enc.insitu&&s.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:i.enc.insitu(s)}a.push(s),n.l+=o;var l=Un(n,n.l),c=id[l],u=0;while(null!=c&&Gf.indexOf(l)>-1)o=Un(n,n.l+2),u=n.l+4,2066==l?u+=4:2165!=l&&2175!=l||(u+=12),s=n.slice(u,n.l+4+o),a.push(s),n.l+=4+o,c=id[l=Un(n,n.l)];var h=N(a);Gn(h,0);var f=0;h.lens=[];for(var d=0;d1)&&!(n.sheetRows&&e.r>=n.sheetRows)){if(n.cellStyles&&t.XF&&t.XF.data&&T(e,t,n),delete t.ixfe,delete t.XF,i=e,w=Ar(e),p&&p.s&&p.e||(p={s:{r:0,c:0},e:{r:0,c:0}}),e.rp.e.r&&(p.e.r=e.r+1),e.c+1>p.e.c&&(p.e.c=e.c+1),n.cellFormula&&t.f)for(var r=0;re.c||C[r][0].s.r>e.r)&&!(C[r][0].e.c>8)!==q)throw new Error("rt mismatch: "+Y+"!="+q);12==W.r&&(e.l+=10,K-=10)}var X={};if(X=10===q?W.f(e,K,F):Yf(q,W,e,K,F),0==j&&-1===[9,521,1033,2057].indexOf(R))continue;switch(q){case 34:n.opts.Date1904=E.WBProps.date1904=X;break;case 134:n.opts.WriteProtect=!0;break;case 47:if(F.enc||(e.l=0),F.enc=X,!t.password)throw new Error("File is password-protected");if(null==X.valid)throw new Error("Encryption scheme unsupported");if(!X.valid)throw new Error("Password is incorrect");break;case 92:F.lastuser=X;break;case 66:var J=Number(X);switch(J){case 21010:J=1200;break;case 32768:J=1e4;break;case 32769:J=1252;break}h(F.codepage=J),z=!0;break;case 317:F.rrtabid=X;break;case 25:F.winlocked=X;break;case 439:n.opts["RefreshAll"]=X;break;case 12:n.opts["CalcCount"]=X;break;case 16:n.opts["CalcDelta"]=X;break;case 17:n.opts["CalcIter"]=X;break;case 13:n.opts["CalcMode"]=X;break;case 14:n.opts["CalcPrecision"]=X;break;case 95:n.opts["CalcSaveRecalc"]=X;break;case 15:F.CalcRefMode=X;break;case 2211:n.opts.FullCalc=X;break;case 129:X.fDialog&&(d["!type"]="dialog"),X.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),X.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case 224:k.push(X);break;case 430:P.push([X]),P[P.length-1].XTI=[];break;case 35:case 547:P[P.length-1].push(X);break;case 24:case 536:U={Name:X.Name,Ref:Lu(X.rgce,p,null,P,F)},X.itab>0&&(U.Sheet=X.itab-1),P.names.push(U),P[0]||(P[0]=[],P[0].XTI=[]),P[P.length-1].push(X),"_xlnm._FilterDatabase"==X.Name&&X.itab>0&&X.rgce&&X.rgce[0]&&X.rgce[0][0]&&"PtgArea3d"==X.rgce[0][0][0]&&($[X.itab-1]={ref:mr(X.rgce[0][0][1][2])});break;case 22:F.ExternCount=X;break;case 23:0==P.length&&(P[0]=[],P[0].XTI=[]),P[P.length-1].XTI=P[P.length-1].XTI.concat(X),P.XTI=P.XTI.concat(X);break;case 2196:if(F.biff<8)break;null!=U&&(U.Comment=X[1]);break;case 18:d["!protect"]=X;break;case 19:0!==X&&F.WTF&&console.error("Password verifier: "+X);break;case 133:A[X.pos]=X,F.snames.push(X.name);break;case 10:if(--j)break;if(p.e){if(p.e.r>0&&p.e.c>0){if(p.e.r--,p.e.c--,d["!ref"]=mr(p),t.sheetRows&&t.sheetRows<=p.e.r){var Z=p.e.r;p.e.r=t.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=mr(p),p.e.r=Z}p.e.r++,p.e.c++}N.length>0&&(d["!merges"]=N),L.length>0&&(d["!objects"]=L),I.length>0&&(d["!cols"]=I),D.length>0&&(d["!rows"]=D),E.Sheets.push(B)}""===v?b=d:r[v]=d,d=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===F.biff&&(F.biff={9:2,521:3,1033:4}[q]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[X.BIFFVer]||8),F.biffguess=0==X.BIFFVer,0==X.BIFFVer&&4096==X.dt&&(F.biff=5,z=!0,h(F.codepage=28591)),8==F.biff&&0==X.BIFFVer&&16==X.dt&&(F.biff=2),j++)break;if(d=t.dense?[]:{},F.biff<8&&!z&&(z=!0,h(F.codepage=t.codepage||1252)),F.biff<5||0==X.BIFFVer&&4096==X.dt){""===v&&(v="Sheet1"),p={s:{r:0,c:0},e:{r:0,c:0}};var ee={pos:e.l-K,name:v};A[ee.pos]=ee,F.snames.push(v)}else v=(A[V]||{name:""}).name;32==X.dt&&(d["!type"]="chart"),64==X.dt&&(d["!type"]="macro"),N=[],L=[],F.arrayf=C=[],I=[],D=[],M=!1,B={Hidden:(A[V]||{hs:0}).hs,name:v};break;case 515:case 3:case 2:"chart"==d["!type"]&&(t.dense?(d[X.r]||[])[X.c]:d[Ar({c:X.c,r:X.r})])&&++X.c,c={ixfe:X.ixfe,XF:k[X.ixfe]||{},v:X.val,t:"n"},Q>0&&(c.z=H[c.ixfe>>8&63]),Xf(c,t,n.opts.Date1904),O({c:X.c,r:X.r},c,t);break;case 5:case 517:c={ixfe:X.ixfe,XF:k[X.ixfe],v:X.val,t:X.t},Q>0&&(c.z=H[c.ixfe>>8&63]),Xf(c,t,n.opts.Date1904),O({c:X.c,r:X.r},c,t);break;case 638:c={ixfe:X.ixfe,XF:k[X.ixfe],v:X.rknum,t:"n"},Q>0&&(c.z=H[c.ixfe>>8&63]),Xf(c,t,n.opts.Date1904),O({c:X.c,r:X.r},c,t);break;case 189:for(var te=X.c;te<=X.C;++te){var ne=X.rkrec[te-X.c][0];c={ixfe:ne,XF:k[ne],v:X.rkrec[te-X.c][1],t:"n"},Q>0&&(c.z=H[c.ixfe>>8&63]),Xf(c,t,n.opts.Date1904),O({c:te,r:X.r},c,t)}break;case 6:case 518:case 1030:if("String"==X.val){m=X;break}if(c=Jf(X.val,X.cell.ixfe,X.tt),c.XF=k[c.ixfe],t.cellFormula){var re=X.formula;if(re&&re[0]&&re[0][0]&&"PtgExp"==re[0][0][0]){var ie=re[0][0][1][0],oe=re[0][0][1][1],ae=Ar({r:ie,c:oe});x[ae]?c.f=""+Lu(X.formula,p,X.cell,P,F):c.F=((t.dense?(d[ie]||[])[oe]:d[ae])||{}).F}else c.f=""+Lu(X.formula,p,X.cell,P,F)}Q>0&&(c.z=H[c.ixfe>>8&63]),Xf(c,t,n.opts.Date1904),O(X.cell,c,t),m=X;break;case 7:case 519:if(!m)throw new Error("String record expects Formula");m.val=X,c=Jf(X,m.cell.ixfe,"s"),c.XF=k[c.ixfe],t.cellFormula&&(c.f=""+Lu(m.formula,p,m.cell,P,F)),Q>0&&(c.z=H[c.ixfe>>8&63]),Xf(c,t,n.opts.Date1904),O(m.cell,c,t),m=null;break;case 33:case 545:C.push(X);var se=Ar(X[0].s);if(o=t.dense?(d[X[0].s.r]||[])[X[0].s.c]:d[se],t.cellFormula&&o){if(!m)break;if(!se||!o)break;o.f=""+Lu(X[1],p,X[0],P,F),o.F=mr(X[0])}break;case 1212:if(!t.cellFormula)break;if(w){if(!m)break;x[Ar(m.cell)]=X[0],o=t.dense?(d[m.cell.r]||[])[m.cell.c]:d[Ar(m.cell)],(o||{}).f=""+Lu(X[0],p,i,P,F)}break;case 253:c=Jf(g[X.isst].t,X.ixfe,"s"),g[X.isst].h&&(c.h=g[X.isst].h),c.XF=k[c.ixfe],Q>0&&(c.z=H[c.ixfe>>8&63]),Xf(c,t,n.opts.Date1904),O({c:X.c,r:X.r},c,t);break;case 513:t.sheetStubs&&(c={ixfe:X.ixfe,XF:k[X.ixfe],t:"z"},Q>0&&(c.z=H[c.ixfe>>8&63]),Xf(c,t,n.opts.Date1904),O({c:X.c,r:X.r},c,t));break;case 190:if(t.sheetStubs)for(var le=X.c;le<=X.C;++le){var ce=X.ixfe[le-X.c];c={ixfe:ce,XF:k[ce],t:"z"},Q>0&&(c.z=H[c.ixfe>>8&63]),Xf(c,t,n.opts.Date1904),O({c:le,r:X.r},c,t)}break;case 214:case 516:case 4:c=Jf(X.val,X.ixfe,"s"),c.XF=k[c.ixfe],Q>0&&(c.z=H[c.ixfe>>8&63]),Xf(c,t,n.opts.Date1904),O({c:X.c,r:X.r},c,t);break;case 0:case 512:1===j&&(p=X);break;case 252:g=X;break;case 1054:if(4==F.biff){H[Q++]=X[1];for(var ue=0;ue=163&&He(X[1],Q+163)}else He(X[1],X[0]);break;case 30:H[Q++]=X;for(var he=0;he=163&&He(X,Q+163);break;case 229:N=N.concat(X);break;case 93:L[X.cmo[0]]=F.lastobj=X;break;case 438:F.lastobj.TxO=X;break;case 127:F.lastobj.ImData=X;break;case 440:for(l=X[0].s.r;l<=X[0].e.r;++l)for(s=X[0].s.c;s<=X[0].e.c;++s)o=t.dense?(d[l]||[])[s]:d[Ar({c:s,r:l})],o&&(o.l=X[1]);break;case 2048:for(l=X[0].s.r;l<=X[0].e.r;++l)for(s=X[0].s.c;s<=X[0].e.c;++s)o=t.dense?(d[l]||[])[s]:d[Ar({c:s,r:l})],o&&o.l&&(o.l.Tooltip=X[1]);break;case 28:if(F.biff<=5&&F.biff>=2)break;o=t.dense?(d[X[0].r]||[])[X[0].c]:d[Ar(X[0])];var fe=L[X[2]];o||(t.dense?(d[X[0].r]||(d[X[0].r]=[]),o=d[X[0].r][X[0].c]={t:"z"}):o=d[Ar(X[0])]={t:"z"},p.e.r=Math.max(p.e.r,X[0].r),p.s.r=Math.min(p.s.r,X[0].r),p.e.c=Math.max(p.e.c,X[0].c),p.s.c=Math.min(p.s.c,X[0].c)),o.c||(o.c=[]),a={a:X[1],t:fe.TxO.t},o.c.push(a);break;case 2173:Bl(k[X.ixfe],X.ext);break;case 125:if(!F.cellStyles)break;while(X.e>=X.s)I[X.e--]={width:X.w/256,level:X.level||0,hidden:!!(1&X.flags)},M||(M=!0,Hs(X.w/256)),$s(I[X.e+1]);break;case 520:var de={};null!=X.level&&(D[X.r]=de,de.level=X.level),X.hidden&&(D[X.r]=de,de.hidden=!0),X.hpt&&(D[X.r]=de,de.hpt=X.hpt,de.hpx=Ks(X.hpt));break;case 38:case 39:case 40:case 41:d["!margins"]||Ju(d["!margins"]={}),d["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[q]]=X;break;case 161:d["!margins"]||Ju(d["!margins"]={}),d["!margins"].header=X.header,d["!margins"].footer=X.footer;break;case 574:X.RTL&&(E.Views[0].RTL=!0);break;case 146:_=X;break;case 2198:f=X;break;case 140:u=X;break;case 442:v?B.CodeName=X||B.name:E.WBProps.CodeName=X||"ThisWorkbook";break}}else W||console.error("Missing Info for XLS Record 0x"+q.toString(16)),e.l+=K}return n.SheetNames=Je(A).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return A[e].name})),t.bookSheets||(n.Sheets=r),!n.SheetNames.length&&b["!ref"]?(n.SheetNames.push("Sheet1"),n.Sheets&&(n.Sheets["Sheet1"]=b)):n.Preamble=b,n.Sheets&&$.forEach((function(e,t){n.Sheets[n.SheetNames[t]]["!autofilter"]=e})),n.Strings=g,n.SSF=ft(G),F.enc&&(n.Encryption=F.enc),f&&(n.Themes=f),n.Metadata={},void 0!==u&&(n.Metadata.Country=u),P.names.length>0&&(E.Names=P.names),n.Workbook=E,n}var ed={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function td(e,t,n){var r=Ge.find(e,"/!DocumentSummaryInformation");if(r&&r.size>0)try{var i=Vi(r,ni,ed.DSI);for(var o in i)t[o]=i[o]}catch(c){if(n.WTF)throw c}var a=Ge.find(e,"/!SummaryInformation");if(a&&a.size>0)try{var s=Vi(a,ri,ed.SI);for(var l in s)null==t[l]&&(t[l]=s[l])}catch(c){if(n.WTF)throw c}t.HeadingPairs&&t.TitlesOfParts&&(Ci(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}function nd(e,t){var n,r,i,o;if(t||(t={}),Wd(t),f(),t.codepage&&c(t.codepage),e.FullPaths){if(Ge.find(e,"/encryption"))throw new Error("File is password-protected");n=Ge.find(e,"!CompObj"),r=Ge.find(e,"/Workbook")||Ge.find(e,"/Book")}else{switch(t.type){case"base64":e=T(k(e));break;case"binary":e=T(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}Gn(e,0),r={content:e}}if(n&&Wf(n),t.bookProps&&!t.bookSheets)i={};else{var a=_?"buffer":"array";if(r&&r.content)i=Zf(r.content,t);else if((o=Ge.find(e,"PerfectOffice_MAIN"))&&o.content)i=Va.to_workbook(o.content,(t.type=a,t));else{if(!(o=Ge.find(e,"NativeContent_MAIN"))||!o.content)throw(o=Ge.find(e,"MN0"))&&o.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");i=Va.to_workbook(o.content,(t.type=a,t))}t.bookVBA&&e.FullPaths&&Ge.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=Kl(e))}var s={};return e.FullPaths&&td(e,s,t),i.Props=i.Custprops=s,t.bookFiles&&(i.cfb=e),i}var rd={0:{f:wh},1:{f:_h},2:{f:Dh},3:{f:Th},4:{f:Bh},5:{f:Lh},6:{f:Uh},7:{f:Fh},8:{f:$h},9:{f:Hh},10:{f:jh},11:{f:Qh},12:{f:Eh},13:{f:Mh},14:{f:Oh},15:{f:Sh},16:{f:Ih},17:{f:Rh},18:{f:Nh},19:{f:Er},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:wf},40:{},42:{},43:{f:il},44:{f:rl},45:{f:ol},46:{f:sl},47:{f:al},48:{},49:{f:Cr},50:{},51:{f:Tl},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:_a},62:{f:Ph},63:{f:Il},64:{f:Jh},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Yn,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Xh},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:kh},148:{f:xh,p:16},151:{f:qh},152:{},153:{f:bf},154:{},155:{},156:{f:vf},157:{},158:{},159:{T:1,f:rs},160:{T:-1},161:{T:1,f:Mr},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:zh},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:Sl},336:{T:-1},337:{f:Ol,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Lr},357:{},358:{},359:{},360:{T:1},361:{},362:{f:aa},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:Kh},427:{f:Wh},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:Yh},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Ch},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:Vh},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Lr},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:zl},633:{T:1},634:{T:-1},635:{T:1,f:$l},636:{T:-1},637:{f:Br},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:of},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:Zh},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},id={6:{f:Ru},10:{f:qi},12:{f:Gi},13:{f:Gi},14:{f:Wi},15:{f:Wi},16:{f:Pr},17:{f:Wi},18:{f:Wi},19:{f:Gi},20:{f:ta},21:{f:ta},23:{f:aa},24:{f:oa},25:{f:Wi},26:{},27:{},28:{f:da},29:{},34:{f:Wi},35:{f:ra},38:{f:Pr},39:{f:Pr},40:{f:Pr},41:{f:Pr},42:{f:Wi},43:{f:Wi},47:{f:Bs},49:{f:Qo},51:{f:Gi},60:{},61:{f:Uo},64:{f:Wi},65:{f:jo},66:{f:Gi},77:{},80:{},81:{},82:{},85:{f:Gi},89:{},90:{},91:{},92:{f:To},93:{f:pa},94:{},95:{f:Wi},96:{},97:{},99:{f:Wi},125:{f:_a},128:{f:Jo},129:{f:Oo},130:{f:Gi},131:{f:Wi},132:{f:Wi},133:{f:Fo},134:{},140:{f:wa},141:{f:Gi},144:{},146:{f:Ca},151:{},152:{},153:{},154:{},155:{},156:{f:Gi},157:{},158:{},160:{f:Ta},161:{f:Ea},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:Wo},190:{f:Go},193:{f:qi},197:{},198:{},199:{},200:{},201:{},202:{f:Wi},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Gi},220:{},221:{f:Wi},222:{},224:{f:Xo},225:{f:So},226:{f:qi},227:{},229:{f:Aa},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:No},253:{f:Ho},255:{f:Lo},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Yi},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Wi},353:{f:qi},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:na},431:{f:Wi},432:{},433:{},434:{},437:{},438:{f:va},439:{f:Wi},440:{f:ba},441:{},442:{f:to},443:{},444:{f:Gi},445:{},446:{},448:{f:qi},449:{f:Mo,r:2},450:{f:qi},512:{f:qo},513:{f:Sa},515:{f:ea},516:{f:$o},517:{f:Zo},519:{f:Oa},520:{f:Io},523:{},545:{f:ua},549:{f:Po},566:{},574:{f:Ro},638:{f:Ko},659:{},1048:{},1054:{f:zo},1084:{},1212:{f:ca},2048:{f:ya},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Bo},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:qi},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:ka,r:12},2173:{f:El,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Wi,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:la,r:12},2197:{},2198:{f:yl,r:12},2199:{},2200:{},2201:{},2202:{f:ha,r:12},2203:{f:qi},2204:{},2205:{},2206:{},2207:{},2211:{f:Do},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Gi},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:Ba},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:xa},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:qo},1:{},2:{f:Ia},3:{f:La},4:{f:Na},5:{f:Zo},7:{f:Da},8:{},9:{f:Bo},11:{},22:{f:Gi},30:{f:Vo},31:{},32:{},33:{f:ua},36:{},37:{f:Po},50:{f:Ma},62:{},52:{},67:{},68:{f:Gi},69:{},86:{},126:{},127:{f:Fa},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:Pa},223:{},234:{},354:{},421:{},518:{f:Ru},521:{f:Bo},536:{f:oa},547:{f:ra},561:{},579:{},1030:{f:Ru},1033:{f:Bo},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function od(e,t,n,r){var i=t;if(!isNaN(i)){var o=r||(n||[]).length||0,a=e.next(4);a.write_shift(2,i),a.write_shift(2,o),o>0&&Dn(n)&&e.push(n)}}function ad(e,t){var n=t||{};null!=y&&null==n.dense&&(n.dense=y);var r=n.dense?[]:{};e=e.replace(//g,"");var i=e.match(/");var o=e.match(/<\/table/i),a=i.index,s=o&&o.index||e.length,l=gt(e.slice(a,s),/(:?]*>)/i,""),c=-1,u=0,h=0,f=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},A=[];for(a=0;a/i);for(s=0;s"))>-1)b=b.slice(w+1);for(var x=0;x")));f=k.colspan?+k.colspan:1,((h=+k.rowspan)>1||f>1)&&A.push({s:{r:c,c:u},e:{r:c+(h||1)-1,c:u+f-1}});var _=k.t||k["data-t"]||"";if(b.length)if(b=en(b),d.s.r>c&&(d.s.r=c),d.e.ru&&(d.s.c=u),d.e.cn||i[c].s.c>a)&&!(i[c].e.r1&&(d.rowspan=s),l>1&&(d.colspan=l),r.editable?f=''+f+"":h&&(d["data-t"]=h&&h.t||"z",null!=h.v&&(d["data-v"]=h.v),null!=h.z&&(d["data-z"]=h.z),h.l&&"#"!=(h.l.Target||"#").charAt(0)&&(f=''+f+"")),d.id=(r.id||"sjs")+"-"+u,o.push(ln("td",f,d))}}var A="";return A+o.join("")+""}var ld='SheetJS Table Export',cd="";function ud(e,t){var n=e.match(/[\s\S]*?<\/table>/gi);if(!n||0==n.length)throw new Error("Invalid HTML: could not find
");if(1==n.length)return yr(ad(n[0],t),t);var r=wA();return n.forEach((function(e,n){xA(r,ad(e,t),"Sheet"+(n+1))})),r}function hd(e,t,n){var r=[];return r.join("")+""}function fd(e,t){var n=t||{},r=null!=n.header?n.header:ld,i=null!=n.footer?n.footer:cd,o=[r],a=pr(e["!ref"]);n.dense=Array.isArray(e),o.push(hd(e,a,n));for(var s=a.s.r;s<=a.e.r;++s)o.push(sd(e,a,s,n));return o.push("
"+i),o.join("")}function dd(e,t,n){var r=n||{};null!=y&&(r.dense=y);var i=0,o=0;if(null!=r.origin)if("number"==typeof r.origin)i=r.origin;else{var a="string"==typeof r.origin?dr(r.origin):r.origin;i=a.r,o=a.c}var s=t.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),c={s:{r:0,c:0},e:{r:i,c:o}};if(e["!ref"]){var u=pr(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),-1==i&&(c.e.r=i=u.e.r+1)}var h=[],f=0,d=e["!rows"]||(e["!rows"]=[]),A=0,p=0,m=0,g=0,v=0,b=0;for(e["!cols"]||(e["!cols"]=[]);A1||b>1)&&h.push({s:{r:p+i,c:g+o},e:{r:p+i+(v||1)-1,c:g+o+(b||1)-1}});var B={t:"s",v:k},S=C.getAttribute("data-t")||C.getAttribute("t")||"";null!=k&&(0==k.length?B.t=S||"z":r.raw||0==k.trim().length||"s"==S||("TRUE"===k?B={t:"b",v:!0}:"FALSE"===k?B={t:"b",v:!1}:isNaN(At(k))?isNaN(mt(k).getDate())||(B={t:"d",v:ut(k)},r.cellDates||(B={t:"n",v:tt(B.v)}),B.z=r.dateNF||G[14]):B={t:"n",v:At(k)})),void 0===B.z&&null!=_&&(B.z=_);var T="",O=C.getElementsByTagName("A");if(O&&O.length)for(var F=0;F=l&&(e["!fullref"]=mr((c.e.r=s.length-A+p-1+i,c))),e}function Ad(e,t){var n=t||{},r=n.dense?[]:{};return dd(r,e,t)}function pd(e,t){return yr(Ad(e,t),t)}function md(e){var t="",n=gd(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}function gd(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}function vd(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/]*\/>/g,"\t").replace(//g,"\n"),n=Qt(t.replace(/<[^>]*>/g,""));return[n]}var bd={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function yd(e,t){var n=t||{};null!=y&&null==n.dense&&(n.dense=y);var r,i,o,a,s,l,c,u=cn(e),h=[],f={name:""},d="",A=0,p={},m=[],g=n.dense?[]:{},v={value:""},b="",w=0,x=[],C=-1,k=-1,_={s:{r:1e6,c:1e7},e:{r:0,c:0}},E=0,B={},S=[],T={},O=0,F=0,N=[],L=1,I=1,D=[],M={Names:[]},P={},U=["",""],R=[],j={},Q="",H=0,$=!1,z=!1,V=0;un.lastIndex=0,u=u.replace(//gm,"").replace(//gm,"");while(s=un.exec(u))switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===s[1]?(_.e.c>=_.s.c&&_.e.r>=_.s.r?g["!ref"]=mr(_):g["!ref"]="A1:A1",n.sheetRows>0&&n.sheetRows<=_.e.r&&(g["!fullref"]=g["!ref"],_.e.r=n.sheetRows-1,g["!ref"]=mr(_)),S.length&&(g["!merges"]=S),N.length&&(g["!rows"]=N),o.name=o["名称"]||o.name,"undefined"!==typeof JSON&&JSON.stringify(o),m.push(o.name),p[o.name]=g,z=!1):"/"!==s[0].charAt(s[0].length-2)&&(o=Pt(s[0],!1),C=k=-1,_.s.r=_.s.c=1e7,_.e.r=_.e.c=0,g=n.dense?[]:{},S=[],N=[],z=!0);break;case"table-row-group":"/"===s[1]?--E:++E;break;case"table-row":case"行":if("/"===s[1]){C+=L,L=1;break}if(a=Pt(s[0],!1),a["行号"]?C=a["行号"]-1:-1==C&&(C=0),L=+a["number-rows-repeated"]||1,L<10)for(V=0;V0&&(N[C+V]={level:E});k=-1;break;case"covered-table-cell":"/"!==s[1]&&++k,n.sheetStubs&&(n.dense?(g[C]||(g[C]=[]),g[C][k]={t:"z"}):g[Ar({r:C,c:k})]={t:"z"}),b="",x=[];break;case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++k,v=Pt(s[0],!1),I=parseInt(v["number-columns-repeated"]||"1",10),l={t:"z",v:null},v.formula&&0!=n.cellFormula&&(l.f=Wu(Qt(v.formula))),"string"==(v["数据类型"]||v["value-type"])&&(l.t="s",l.v=Qt(v["string-value"]||""),n.dense?(g[C]||(g[C]=[]),g[C][k]=l):g[Ar({r:C,c:k})]=l),k+=I-1;else if("/"!==s[1]){++k,b="",w=0,x=[],I=1;var q=L?C+L-1:C;if(k>_.e.c&&(_.e.c=k),k<_.s.c&&(_.s.c=k),C<_.s.r&&(_.s.r=C),q>_.e.r&&(_.e.r=q),v=Pt(s[0],!1),R=[],j={},l={t:v["数据类型"]||v["value-type"],v:null},n.cellFormula)if(v.formula&&(v.formula=Qt(v.formula)),v["number-matrix-columns-spanned"]&&v["number-matrix-rows-spanned"]&&(O=parseInt(v["number-matrix-rows-spanned"],10)||0,F=parseInt(v["number-matrix-columns-spanned"],10)||0,T={s:{r:C,c:k},e:{r:C+O-1,c:k+F-1}},l.F=mr(T),D.push([T,l.F])),v.formula)l.f=Wu(v.formula);else for(V=0;V=D[V][0].s.r&&C<=D[V][0].e.r&&k>=D[V][0].s.c&&k<=D[V][0].e.c&&(l.F=D[V][1]);switch((v["number-columns-spanned"]||v["number-rows-spanned"])&&(O=parseInt(v["number-rows-spanned"],10)||0,F=parseInt(v["number-columns-spanned"],10)||0,T={s:{r:C,c:k},e:{r:C+O-1,c:k+F-1}},S.push(T)),v["number-columns-repeated"]&&(I=parseInt(v["number-columns-repeated"],10)),l.t){case"boolean":l.t="b",l.v=qt(v["boolean-value"]);break;case"float":l.t="n",l.v=parseFloat(v.value);break;case"percentage":l.t="n",l.v=parseFloat(v.value);break;case"currency":l.t="n",l.v=parseFloat(v.value);break;case"date":l.t="d",l.v=ut(v["date-value"]),n.cellDates||(l.t="n",l.v=tt(l.v)),l.z="m/d/yy";break;case"time":l.t="n",l.v=at(v["time-value"])/86400,n.cellDates&&(l.t="d",l.v=ot(l.v)),l.z="HH:MM:SS";break;case"number":l.t="n",l.v=parseFloat(v["数据数值"]);break;default:if("string"!==l.t&&"text"!==l.t&&l.t)throw new Error("Unsupported value type "+l.t);l.t="s",null!=v["string-value"]&&(b=Qt(v["string-value"]),x=[])}}else{if($=!1,"s"===l.t&&(l.v=b||"",x.length&&(l.R=x),$=0==w),P.Target&&(l.l=P),R.length>0&&(l.c=R,R=[]),b&&!1!==n.cellText&&(l.w=b),$&&(l.t="z",delete l.v),(!$||n.sheetStubs)&&!(n.sheetRows&&n.sheetRows<=C))for(var K=0;K0)g[C+K][k+I]=ft(l)}else{g[Ar({r:C+K,c:k})]=l;while(--I>0)g[Ar({r:C+K,c:k+I})]=ft(l)}_.e.c<=k&&(_.e.c=k)}I=parseInt(v["number-columns-repeated"]||"1",10),k+=I-1,I=0,l={},b="",x=[]}P={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===s[1]){if((r=h.pop())[0]!==s[3])throw"Bad state: "+r}else"/"!==s[0].charAt(s[0].length-2)&&h.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((r=h.pop())[0]!==s[3])throw"Bad state: "+r;j.t=b,x.length&&(j.R=x),j.a=Q,R.push(j)}else"/"!==s[0].charAt(s[0].length-2)&&h.push([s[3],!1]);Q="",H=0,b="",w=0,x=[];break;case"creator":"/"===s[1]?Q=u.slice(H,s.index):H=s.index+s[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===s[1]){if((r=h.pop())[0]!==s[3])throw"Bad state: "+r}else"/"!==s[0].charAt(s[0].length-2)&&h.push([s[3],!1]);b="",w=0,x=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===s[1]){if(B[f.name]=d,(r=h.pop())[0]!==s[3])throw"Bad state: "+r}else"/"!==s[0].charAt(s[0].length-2)&&(d="",f=Pt(s[0],!1),h.push([s[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(h[h.length-1][0]){case"time-style":case"date-style":i=Pt(s[0],!1),d+=bd[s[3]]["long"===i.style?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(h[h.length-1][0]){case"time-style":case"date-style":i=Pt(s[0],!1),d+=bd[s[3]]["long"===i.style?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(h[h.length-1][0]){case"number-style":case"date-style":case"time-style":d+=u.slice(A,s.index);break}else A=s.index+s[0].length;break;case"named-range":i=Pt(s[0],!1),U=Gu(i["cell-range-address"]);var W={Name:i.name,Ref:U[0]+"!"+U[1]};z&&(W.Sheet=m.length),M.Names.push(W);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(h[h.length-1][0])>-1)break;if("/"!==s[1]||v&&v["string-value"])c=Pt(s[0],!1),w=s.index+s[0].length;else{var G=vd(u.slice(w,s.index),c);b=(b.length>0?b+"\n":"")+G[0]}break;case"s":break;case"database-range":if("/"===s[1])break;try{U=Gu(Pt(s[0])["target-range-address"]),p[U[0]]["!autofilter"]={ref:U[1]}}catch(X){}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if("/"!==s[1]){if(P=Pt(s[0],!1),!P.href)break;P.Target=Qt(P.href),delete P.href,"#"==P.Target.charAt(0)&&P.Target.indexOf(".")>-1?(U=Gu(P.Target.slice(1)),P.Target="#"+U[0]+"!"+U[1]):P.Target.match(/^\.\.[\\\/]/)&&(P.Target=P.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(s[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(n.WTF)throw new Error(s)}}var Y={Sheets:p,SheetNames:m,Workbook:M};return n.bookSheets&&delete Y.Sheets,Y}function wd(e,t){t=t||{},wt(e,"META-INF/manifest.xml")&&vi(Ct(e,"META-INF/manifest.xml"),t);var n=kt(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var r=yd(Xt(n),t);return wt(e,"meta.xml")&&(r.Props=wi(Ct(e,"meta.xml"))),r}function xd(e,t){return yd(e,t)} /*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */ function Cd(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function kd(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Xt(O(e))}function _d(e){var t=e.reduce((function(e,t){return e+t.length}),0),n=new Uint8Array(t),r=0;return e.forEach((function(e){n.set(e,r),r+=e.length})),n}function Ed(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),16843009*(e+(e>>4)&252645135)>>>24}function Bd(e,t){for(var n=(127&e[t+15])<<7|e[t+14]>>1,r=1&e[t+14],i=t+13;i>=t;--i)r=256*r+e[i];return(128&e[t+15]?-r:r)*Math.pow(10,n-6176)}function Sd(e,t){var n=t?t[0]:0,r=127&e[n];e:if(e[n++]>=128){if(r|=(127&e[n])<<7,e[n++]<128)break e;if(r|=(127&e[n])<<14,e[n++]<128)break e;if(r|=(127&e[n])<<21,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,28),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,35),++n,e[n++]<128)break e;if(r+=(127&e[n])*Math.pow(2,42),++n,e[n++]<128)break e}return t&&(t[0]=n),r}function Td(e){var t=0,n=127&e[t];e:if(e[t++]>=128){if(n|=(127&e[t])<<7,e[t++]<128)break e;if(n|=(127&e[t])<<14,e[t++]<128)break e;if(n|=(127&e[t])<<21,e[t++]<128)break e;n|=(127&e[t])<<28}return n}function Od(e){var t=[],n=[0];while(n[0]=128);a=e.slice(l,n[0]);break;case 5:s=4,a=e.slice(n[0],n[0]+s),n[0]+=s;break;case 1:s=8,a=e.slice(n[0],n[0]+s),n[0]+=s;break;case 2:s=Sd(e,n),a=e.slice(n[0],n[0]+s),n[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(o," for Field ").concat(i," at offset ").concat(r))}var c={data:a,type:o};null==t[i]?t[i]=[c]:t[i].push(c)}return t}function Fd(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function Nd(e){var t,n=[],r=[0];while(r[0]>>0>0),n.push(a)}return n}function Ld(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));var n=[0],r=Sd(t,n),i=[];while(n[0]>2&7),a=(224&t[n[0]++])<<3,a|=t[n[0]++]):(s=1+(t[n[0]++]>>2),2==o?(a=t[n[0]]|t[n[0]+1]<<8,n[0]+=2):(a=(t[n[0]]|t[n[0]+1]<<8|t[n[0]+2]<<16|t[n[0]+3]<<24)>>>0,n[0]+=4)),i=[_d(i)],0==a)throw new Error("Invalid offset 0");if(a>i[0].length)throw new Error("Invalid offset beyond length");if(s>=a){i.push(i[0].slice(-a)),s-=a;while(s>=i[i.length-1].length)i.push(i[i.length-1]),s-=i[i.length-1].length}i.push(i[0].slice(-a,-a+s))}else{var l=t[n[0]++]>>2;if(l<60)++l;else{var c=l-59;l=t[n[0]],c>1&&(l|=t[n[0]+1]<<8),c>2&&(l|=t[n[0]+2]<<16),c>3&&(l|=t[n[0]+3]<<24),l>>>=0,l++,n[0]+=c}i.push(t.slice(n[0],n[0]+l)),n[0]+=l}}var u=_d(i);if(u.length!=r)throw new Error("Unexpected length: ".concat(u.length," != ").concat(r));return u}function Id(e){var t=[],n=0;while(n1?12:8)+4*Ed(a&(r>1?3470:398)),l=-1,c=-1,u=NaN,h=new Date(2001,0,1);switch(512&a&&(l=o.getUint32(s,!0),s+=4),s+=4*Ed(a&(r>1?12288:4096)),16&a&&(c=o.getUint32(s,!0),s+=4),32&a&&(u=o.getFloat64(s,!0),s+=8),64&a&&(h.setTime(h.getTime()+1e3*o.getFloat64(s,!0)),s+=8),e[2]){case 0:break;case 2:i={t:"n",v:u};break;case 3:i={t:"s",v:t[c]};break;case 5:i={t:"d",v:h};break;case 6:i={t:"b",v:u>0};break;case 7:i={t:"n",v:u/86400};break;case 8:i={t:"e",v:0};break;case 9:if(l>-1)i={t:"s",v:n[l]};else if(c>-1)i={t:"s",v:t[c]};else{if(isNaN(u))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));i={t:"n",v:u}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return i}function Md(e,t,n){var r,i=Cd(e),o=i.getUint32(8,!0),a=12,s=-1,l=-1,c=NaN,u=NaN,h=new Date(2001,0,1);switch(1&o&&(c=Bd(e,a),a+=16),2&o&&(u=i.getFloat64(a,!0),a+=8),4&o&&(h.setTime(h.getTime()+1e3*i.getFloat64(a,!0)),a+=8),8&o&&(l=i.getUint32(a,!0),a+=4),16&o&&(s=i.getUint32(a,!0),a+=4),e[1]){case 0:break;case 2:r={t:"n",v:c};break;case 3:r={t:"s",v:t[l]};break;case 5:r={t:"d",v:h};break;case 6:r={t:"b",v:u>0};break;case 7:r={t:"n",v:u/86400};break;case 8:r={t:"e",v:0};break;case 9:if(!(s>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)));r={t:"s",v:n[s]};break;case 10:r={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)))}return r}function Pd(e,t,n){switch(e[0]){case 0:case 1:case 2:case 3:return Dd(e,t,n,e[0]);case 5:return Md(e,t,n);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Ud(e){var t=Od(e);return Sd(t[1][0].data)}function Rd(e,t){var n=Od(t.data),r=Td(n[1][0].data),i=n[3],o=[];return(i||[]).forEach((function(t){var n=Od(t.data),i=Td(n[1][0].data)>>>0;switch(r){case 1:o[i]=kd(n[3][0].data);break;case 8:var a=e[Ud(n[9][0].data)][0],s=Od(a.data),l=e[Ud(s[1][0].data)][0],c=Td(l.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var u=Od(l.data);o[i]=u[3].map((function(e){return kd(e.data)})).join("");break}})),o}function jd(e,t){var n,r,i,o,a,s,l,c,u,h,f,d,A,p,m,g,v=Od(e),b=Td(v[1][0].data)>>>0,y=Td(v[2][0].data)>>>0,w=(null==(r=null==(n=v[8])?void 0:n[0])?void 0:r.data)&&Td(v[8][0].data)>0||!1;if((null==(o=null==(i=v[7])?void 0:i[0])?void 0:o.data)&&0!=t)m=null==(s=null==(a=v[7])?void 0:a[0])?void 0:s.data,g=null==(c=null==(l=v[6])?void 0:l[0])?void 0:c.data;else{if(!(null==(h=null==(u=v[4])?void 0:u[0])?void 0:h.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");m=null==(d=null==(f=v[4])?void 0:f[0])?void 0:d.data,g=null==(p=null==(A=v[3])?void 0:A[0])?void 0:p.data}for(var x=w?4:1,C=Cd(m),k=[],_=0;_=1&&(B[k[k.length-1][0]]=g.subarray(k[k.length-1][1]*x)),{R:b,cells:B}}function Qd(e,t){var n,r=Od(t.data),i=(null==(n=null==r?void 0:r[7])?void 0:n[0])?Td(r[7][0].data)>>>0>0?1:0:-1,o=Fd(r[5],(function(e){return jd(e,i)}));return{nrows:Td(r[4][0].data)>>>0,data:o.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(n,r){if(e[t.R][r])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(r));e[t.R][r]=n})),e}),[])}}function Hd(e,t,n){var r,i=Od(t.data),o={s:{r:0,c:0},e:{r:0,c:0}};if(o.e.r=(Td(i[6][0].data)>>>0)-1,o.e.r<0)throw new Error("Invalid row varint ".concat(i[6][0].data));if(o.e.c=(Td(i[7][0].data)>>>0)-1,o.e.c<0)throw new Error("Invalid col varint ".concat(i[7][0].data));n["!ref"]=mr(o);var a=Od(i[4][0].data),s=Rd(e,e[Ud(a[4][0].data)][0]),l=(null==(r=a[17])?void 0:r[0])?Rd(e,e[Ud(a[17][0].data)][0]):[],c=Od(a[3][0].data),u=0;c[1].forEach((function(t){var r=Od(t.data),i=e[Ud(r[2][0].data)][0],o=Td(i.meta[1][0].data);if(6002!=o)throw new Error("6001 unexpected reference to ".concat(o));var a=Qd(e,i);a.data.forEach((function(e,t){e.forEach((function(e,r){var i=Ar({r:u+t,c:r}),o=Pd(e,s,l);o&&(n[i]=o)}))})),u+=a.nrows}))}function $d(e,t){var n=Od(t.data),r={"!ref":"A1"},i=e[Ud(n[2][0].data)],o=Td(i[0].meta[1][0].data);if(6001!=o)throw new Error("6000 unexpected reference to ".concat(o));return Hd(e,i[0],r),r}function zd(e,t){var n,r=Od(t.data),i={name:(null==(n=r[1])?void 0:n[0])?kd(r[1][0].data):"",sheets:[]},o=Fd(r[2],Ud);return o.forEach((function(t){e[t].forEach((function(t){var n=Td(t.meta[1][0].data);6e3==n&&i.sheets.push($d(e,t))}))})),i}function Vd(e,t){var n=wA(),r=Od(t.data),i=Fd(r[1],Ud);if(i.forEach((function(t){e[t].forEach((function(t){var r=Td(t.meta[1][0].data);if(2==r){var i=zd(e,t);i.sheets.forEach((function(e,t){xA(n,e,0==t?i.name:i.name+"_"+t,!0)}))}}))})),0==n.SheetNames.length)throw new Error("Empty NUMBERS file");return n}function qd(e){var t,n,r,i,o={},a=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,n;try{t=Id(e.content)}catch(r){return console.log("?? "+e.content.length+" "+(r.message||r))}try{n=Nd(t)}catch(r){return console.log("## "+(r.message||r))}n.forEach((function(e){o[e.id]=e.messages,a.push(e.id)}))}})),!a.length)throw new Error("File has no messages");var s=(null==(i=null==(r=null==(n=null==(t=null==o?void 0:o[1])?void 0:t[0])?void 0:n.meta)?void 0:r[1])?void 0:i[0].data)&&1==Td(o[1][0].meta[1][0].data)&&o[1][0];if(s||a.forEach((function(e){o[e].forEach((function(e){var t=Td(e.meta[1][0].data)>>>0;if(1==t){if(s)throw new Error("Document has multiple roots");s=e}}))})),!s)throw new Error("Cannot find Document root");return Vd(o,s)}function Kd(e){return function(t){for(var n=0;n!=e.length;++n){var r=e[n];void 0===t[r[0]]&&(t[r[0]]=r[1]),"n"===r[2]&&(t[r[0]]=Number(t[r[0]]))}}}function Wd(e){Kd([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function Gd(e){return Ai.WS.indexOf(e)>-1?"sheet":Ai.CS&&e==Ai.CS?"chart":Ai.DS&&e==Ai.DS?"dialog":Ai.MS&&e==Ai.MS?"macro":e&&e.length?e:"sheet"}function Yd(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,Gd(e["!id"][t.id].Type)]}))}catch(n){return null}return e&&0!==e.length?e:null}function Xd(e,t,n,r,i,o,a,s,l,c,u,h){try{o[r]=mi(kt(e,n,!0),t);var f,d=Ct(e,t);switch(s){case"sheet":f=kf(d,t,i,l,o[r],c,u,h);break;case"chart":if(f=_f(d,t,i,l,o[r],c,u,h),!f||!f["!drawel"])break;var A=Tt(f["!drawel"].Target,t),p=pi(A),m=Ul(kt(e,A,!0),mi(kt(e,p,!0),A)),g=Tt(m,A),v=pi(g);f=nf(kt(e,g,!0),g,l,mi(kt(e,v,!0),g),c,f);break;case"macro":f=Ef(d,t,i,l,o[r],c,u,h);break;case"dialog":f=Bf(d,t,i,l,o[r],c,u,h);break;default:throw new Error("Unrecognized sheet type "+s)}a[r]=f;var b=[];o&&o[r]&&Je(o[r]).forEach((function(n){var i="";if(o[r][n].Type==Ai.CMNT){i=Tt(o[r][n].Target,t);var a=Ff(Ct(e,i,!0),i,l);if(!a||!a.length)return;Rl(f,a,!1)}o[r][n].Type==Ai.TCMNT&&(i=Tt(o[r][n].Target,t),b=b.concat(Ql(Ct(e,i,!0),l)))})),b&&b.length&&Rl(f,b,!0,l.people||[])}catch(y){if(l.WTF)throw y}}function Jd(e){return"/"==e.charAt(0)?e.slice(1):e}function Zd(e,t){if($e(),t=t||{},Wd(t),wt(e,"META-INF/manifest.xml"))return wd(e,t);if(wt(e,"objectdata.xml"))return wd(e,t);if(wt(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if("undefined"!=typeof qd){if(e.FileIndex)return qd(e);var n=Ge.utils.cfb_new();return Et(e).forEach((function(t){Bt(n,t,_t(e,t))})),qd(n)}throw new Error("Unsupported NUMBERS file")}if(!wt(e,"[Content_Types].xml")){if(wt(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(wt(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var r,i,o=Et(e),a=di(kt(e,"[Content_Types].xml")),s=!1;if(0===a.workbooks.length&&(i="xl/workbook.xml",Ct(e,i,!0)&&a.workbooks.push(i)),0===a.workbooks.length){if(i="xl/workbook.bin",!Ct(e,i,!0))throw new Error("Could not find workbook");a.workbooks.push(i),s=!0}"bin"==a.workbooks[0].slice(-3)&&(s=!0);var l={},c={};if(!t.bookSheets&&!t.bookProps){if(Yu=[],a.sst)try{Yu=Of(Ct(e,Jd(a.sst)),a.sst,t)}catch(O){if(t.WTF)throw O}t.cellStyles&&a.themes.length&&(l=Tf(kt(e,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],t)),a.style&&(c=Sf(Ct(e,Jd(a.style)),a.style,l,t))}a.links.map((function(n){try{var r=mi(kt(e,pi(Jd(n))),n);return Lf(Ct(e,Jd(n)),r,n,t)}catch(O){}}));var u=Cf(Ct(e,Jd(a.workbooks[0])),a.workbooks[0],t),h={},f="";a.coreprops.length&&(f=Ct(e,Jd(a.coreprops[0]),!0),f&&(h=wi(f)),0!==a.extprops.length&&(f=Ct(e,Jd(a.extprops[0]),!0),f&&ki(f,h,t)));var d={};t.bookSheets&&!t.bookProps||0!==a.custprops.length&&(f=kt(e,Jd(a.custprops[0]),!0),f&&(d=Ei(f,t)));var A={};if((t.bookSheets||t.bookProps)&&(u.Sheets?r=u.Sheets.map((function(e){return e.name})):h.Worksheets&&h.SheetNames.length>0&&(r=h.SheetNames),t.bookProps&&(A.Props=h,A.Custprops=d),t.bookSheets&&"undefined"!==typeof r&&(A.SheetNames=r),t.bookSheets?A.SheetNames:t.bookProps))return A;r={};var p={};t.bookDeps&&a.calcchain&&(p=Nf(Ct(e,Jd(a.calcchain)),a.calcchain,t));var m,g,v=0,b={},y=u.Sheets;h.Worksheets=y.length,h.SheetNames=[];for(var w=0;w!=y.length;++w)h.SheetNames[w]=y[w].name;var x=s?"bin":"xml",C=a.workbooks[0].lastIndexOf("/"),k=(a.workbooks[0].slice(0,C+1)+"_rels/"+a.workbooks[0].slice(C+1)+".rels").replace(/^\//,"");wt(e,k)||(k="xl/_rels/workbook."+x+".rels");var _=mi(kt(e,k,!0),k.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(t.xlmeta=If(Ct(e,Jd(a.metadata[0])),a.metadata[0],t)),(a.people||[]).length>=1&&(t.people=Hl(Ct(e,Jd(a.people[0])),t)),_&&(_=Yd(_,u.Sheets));var E=Ct(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=h.Worksheets;++v){var B="sheet";if(_&&_[v]?(m="xl/"+_[v][1].replace(/[\/]?xl\//,""),wt(e,m)||(m=_[v][1]),wt(e,m)||(m=k.replace(/_rels\/.*$/,"")+_[v][1]),B=_[v][2]):(m="xl/worksheets/sheet"+(v+1-E)+"."+x,m=m.replace(/sheet0\./,"sheet.")),g=m.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(h.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var S=!1,T=0;T!=t.sheets.length;++T)"number"==typeof t.sheets[T]&&t.sheets[T]==v&&(S=1),"string"==typeof t.sheets[T]&&t.sheets[T].toLowerCase()==h.SheetNames[v].toLowerCase()&&(S=1);if(!S)continue e}}Xd(e,m,g,h.SheetNames[v],v,b,r,B,t,u,l,c)}return A={Directory:a,Workbook:u,Props:h,Custprops:d,Deps:p,Sheets:r,SheetNames:h.SheetNames,Strings:Yu,Styles:c,Themes:l,SSF:ft(G)},t&&t.bookFiles&&(e.files?(A.keys=o,A.files=e.files):(A.keys=[],A.files={},e.FullPaths.forEach((function(t,n){t=t.replace(/^Root Entry[\/]/,""),A.keys.push(t),A.files[t]=e.FileIndex[n]})))),t&&t.bookVBA&&(a.vba.length>0?A.vbaraw=Ct(e,Jd(a.vba[0]),!0):a.defaults&&a.defaults.bin===ql&&(A.vbaraw=Ct(e,"xl/vbaProject.bin",!0))),A}function eA(e,t){var n=t||{},r="Workbook",i=Ge.find(e,r);try{if(r="/!DataSpaces/Version",i=Ge.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(ss(i.content),r="/!DataSpaces/DataSpaceMap",i=Ge.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var o=cs(i.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",i=Ge.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var a=us(i.content);if(1!=a.length||"StrongEncryptionTransform"!=a[0])throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",i=Ge.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);fs(i.content)}catch(l){}if(r="/EncryptionInfo",i=Ge.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var s=ps(i.content);if(r="/EncryptedPackage",i=Ge.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(4==s[0]&&"undefined"!==typeof decrypt_agile)return decrypt_agile(s[1],i.content,n.password||"",n);if(2==s[0]&&"undefined"!==typeof decrypt_std76)return decrypt_std76(s[1],i.content,n.password||"",n);throw new Error("File is password-protected")}function tA(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=k(e.slice(0,12));break;case"binary":n=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function nA(e,t){return Ge.find(e,"EncryptedPackage")?eA(e,t):nd(e,t)}function rA(t,n){var r,i=t,o=n||{};return o.type||(o.type=_&&e.isBuffer(t)?"buffer":"base64"),r=St(i,o),Zd(r,o)}function iA(e,t){var n=0;e:while(n=2&&0===o[3])return Va.to_workbook(i,r);if(0===o[2]&&(8===o[3]||9===o[3]))return Va.to_workbook(i,r)}break;case 3:case 131:case 139:case 140:return Ra.to_workbook(i,r);case 123:if(92===o[1]&&114===o[2]&&116===o[3])return Ss.to_workbook(i,r);break;case 10:case 13:case 32:return oA(i,r);case 137:if(80===o[1]&&78===o[2]&&71===o[3])throw new Error("PNG Image File is not a spreadsheet");break}return Ua.indexOf(o[0])>-1&&o[2]<=12&&o[3]<=31?Ra.to_workbook(i,r):lA(t,i,r,a)}function uA(e,t,n,r,i,o,a,s){var l=or(n),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),h=!0,f=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(f,"__rowNum__",{value:n,enumerable:!1})}catch(m){f.__rowNum__=n}else f.__rowNum__=n;if(!a||e[n])for(var d=t.s.c;d<=t.e.c;++d){var A=a?e[n][d]:e[r[d]+l];if(void 0!==A&&void 0!==A.t){var p=A.v;switch(A.t){case"z":if(null==p)break;continue;case"e":p=0==p?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+A.t)}if(null!=o[d]){if(null==p)if("e"==A.t&&null===p)f[o[d]]=null;else if(void 0!==c)f[o[d]]=c;else{if(!u||null!==p)continue;f[o[d]]=null}else f[o[d]]=u&&("n"!==A.t||"n"===A.t&&!1!==s.rawNumbers)?p:br(A,p,s);null!=p&&(h=!1)}}else{if(void 0===c)continue;null!=o[d]&&(f[o[d]]=c)}}return{row:f,isempty:h}}function hA(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},r=0,i=1,o=[],a=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},u=null!=c.range?c.range:e["!ref"];switch(1===c.header?r=1:"A"===c.header?r=2:Array.isArray(c.header)?r=3:null==c.header&&(r=0),typeof u){case"string":l=gr(u);break;case"number":l=gr(e["!ref"]),l.s.r=u;break;default:l=u}r>0&&(i=0);var h=or(l.s.r),f=[],d=[],A=0,p=0,m=Array.isArray(e),g=l.s.r,v=0,b={};m&&!e[g]&&(e[g]=[]);var y=c.skipHidden&&e["!cols"]||[],w=c.skipHidden&&e["!rows"]||[];for(v=l.s.c;v<=l.e.c;++v)if(!(y[v]||{}).hidden)switch(f[v]=cr(v),n=m?e[g][v]:e[f[v]+h],r){case 1:o[v]=v-l.s.c;break;case 2:o[v]=f[v];break;case 3:o[v]=c.header[v-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),s=a=br(n,null,c),p=b[a]||0,p){do{s=a+"_"+p++}while(b[s]);b[a]=p,b[s]=1}else b[a]=1;o[v]=s}for(g=l.s.r+i;g<=l.e.r;++g)if(!(w[g]||{}).hidden){var x=uA(e,l,g,f,r,o,m,c);(!1===x.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(d[A++]=x.row)}return d.length=A,d}var fA=/"/g;function dA(e,t,n,r,i,o,a,s){for(var l=!0,c=[],u="",h=or(n),f=t.s.c;f<=t.e.c;++f)if(r[f]){var d=s.dense?(e[n]||[])[f]:e[r[f]+h];if(null==d)u="";else if(null!=d.v){l=!1,u=""+(s.rawNumbers&&"n"==d.t?d.v:br(d,null,s));for(var A=0,p=0;A!==u.length;++A)if((p=u.charCodeAt(A))===i||p===o||34===p||s.forceQuotes){u='"'+u.replace(fA,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==d.f||d.F?u="":(l=!1,u="="+d.f,u.indexOf(",")>=0&&(u='"'+u.replace(fA,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(a)}function AA(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var i=gr(e["!ref"]),o=void 0!==r.FS?r.FS:",",a=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==o?"\\|":o)+"+$"),u="",h=[];r.dense=Array.isArray(e);for(var f=r.skipHidden&&e["!cols"]||[],d=r.skipHidden&&e["!rows"]||[],A=i.s.c;A<=i.e.c;++A)(f[A]||{}).hidden||(h[A]=cr(A));for(var p=0,m=i.s.r;m<=i.e.r;++m)(d[m]||{}).hidden||(u=dA(e,i,m,h,a,l,o,r),null!=u&&(r.strip&&(u=u.replace(c,"")),(u||!1!==r.blankrows)&&n.push((p++?s:"")+u)));return delete r.dense,n.join("")}function pA(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=AA(e,t);if("undefined"==typeof m||"string"==t.type)return n;var r=m.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function mA(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var i,o=gr(e["!ref"]),a="",s=[],l=[],c=Array.isArray(e);for(i=o.s.c;i<=o.e.c;++i)s[i]=cr(i);for(var u=o.s.r;u<=o.e.r;++u)for(a=or(u),i=o.s.c;i<=o.e.c;++i)if(n=s[i]+a,t=c?(e[u]||[])[i]:e[n],r="",void 0!==t){if(null!=t.F){if(n=t.F,!t.f)continue;r=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)r=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)r=""+t.v;else if("b"==t.t)r=t.v?"TRUE":"FALSE";else if(void 0!==t.w)r="'"+t.w;else{if(void 0===t.v)continue;r="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=n+"="+r}return l}function gA(e,t,n){var r,i=n||{},o=+!i.skipHeader,a=e||{},s=0,l=0;if(a&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?dr(i.origin):i.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+t.length-1+o}};if(a["!ref"]){var h=gr(a["!ref"]);u.e.c=Math.max(u.e.c,h.e.c),u.e.r=Math.max(u.e.r,h.e.r),-1==s&&(s=h.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var f=i.header||[],d=0;t.forEach((function(e,t){Je(e).forEach((function(n){-1==(d=f.indexOf(n))&&(f[d=f.length]=n);var c=e[n],u="z",h="",A=Ar({c:l+d,r:s+t+o});r=bA(a,A),!c||"object"!==typeof c||c instanceof Date?("number"==typeof c?u="n":"boolean"==typeof c?u="b":"string"==typeof c?u="s":c instanceof Date?(u="d",i.cellDates||(u="n",c=tt(c)),h=i.dateNF||G[14]):null===c&&i.nullError&&(u="e",c=0),r?(r.t=u,r.v=c,delete r.w,delete r.R,h&&(r.z=h)):a[A]=r={t:u,v:c},h&&(r.z=h)):a[A]=c}))})),u.e.c=Math.max(u.e.c,l+f.length-1);var A=or(s);if(o)for(d=0;d=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}function wA(){return{SheetNames:[],Sheets:{}}}function xA(e,t,n,r){var i=1;if(!n)for(;i<=65535;++i,n=void 0)if(-1==e.SheetNames.indexOf(n="Sheet"+i))break;if(!n||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(r&&e.SheetNames.indexOf(n)>=0){var o=n.match(/(^.*?)(\d+)$/);i=o&&+o[2]||0;var a=o&&o[1]||n;for(++i;i<=65535;++i)if(-1==e.SheetNames.indexOf(n=a+i))break}if(pf(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");return e.SheetNames.push(n),e.Sheets[n]=t,n}function CA(e,t,n){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var r=yA(e,t);switch(e.Workbook.Sheets[r]||(e.Workbook.Sheets[r]={}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}e.Workbook.Sheets[r].Hidden=n}function kA(e,t){return e.z=t,e}function _A(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e}function EA(e,t,n){return _A(e,"#"+t,n)}function BA(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})}function SA(e,t,n,r){for(var i="string"!=typeof t?t:gr(t),o="string"==typeof t?t:mr(t),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var l=bA(e,a,s);l.t="n",l.F=o,delete l.v,a==i.s.r&&s==i.s.c&&(l.f=n,r&&(l.D=!0))}return e}var TA={encode_col:cr,encode_row:or,encode_cell:Ar,encode_range:mr,decode_col:lr,decode_row:ir,split_cell:fr,decode_cell:dr,decode_range:pr,format_cell:br,sheet_add_aoa:wr,sheet_add_json:gA,sheet_add_dom:dd,aoa_to_sheet:xr,json_to_sheet:vA,table_to_sheet:Ad,table_to_book:pd,sheet_to_csv:AA,sheet_to_txt:pA,sheet_to_json:hA,sheet_to_html:fd,sheet_to_formulae:mA,sheet_to_row_object_array:hA,sheet_get_cell:bA,book_new:wA,book_append_sheet:xA,book_set_sheet_visibility:CA,cell_set_number_format:kA,cell_set_hyperlink:_A,cell_set_internal_link:EA,cell_add_comment:BA,sheet_set_array_formula:SA,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};i.version}).call(this,n("b639").Buffer,n("4362"))},"26dd":function(e,t,n){"use strict";var r=n("6f4f"),i=n("10db"),o=n("92f0"),a={};n("051b")(a,n("cc15")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},"279c":function(e,t,n){var r,i,o,a=n("f1a2"),s=n("1a89"),l=n("feb8"),c=n("f770"),u=n("4d80"),h=n("660c"),f=n("0e26"),d=n("6797"),A="Object already initialized",p=s.TypeError,m=s.WeakMap,g=function(e){return o(e)?i(e):r(e,{})},v=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw p("Incompatible receiver, "+e+" required");return n}};if(a||h.state){var b=h.state||(h.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw p(A);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},o=function(e){return b.has(e)}}else{var y=f("state");d[y]=!0,r=function(e,t){if(u(e,y))throw p(A);return t.facade=e,c(e,y,t),t},i=function(e){return u(e,y)?e[y]:{}},o=function(e){return u(e,y)}}e.exports={set:r,get:i,has:o,enforce:g,getterFor:v}},"27bf":function(e,t,n){"use strict";e.exports=a;var r=n("b19a"),i=Object.create(n("3a7c"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length79&&a<83;r({target:"Array",proto:!0,forced:!l||c},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},"299c":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=138)}({138:function(e,t,n){"use strict";n.r(t);var r=n(5),i=n.n(r),o=n(19),a=n.n(o),s=n(2),l=n(3),c=n(7),u=n.n(c),h={name:"ElTooltip",mixins:[i.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new u.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var r=n.data=n.data||{};return r.staticClass=this.addTooltipClass(r.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s["on"])(this.referenceElm,"mouseenter",this.show),Object(s["on"])(this.referenceElm,"mouseleave",this.hide),Object(s["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(s["on"])(this.referenceElm,"blur",this.handleBlur),Object(s["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(s["addClass"])(this.referenceElm,"focusing"):Object(s["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;nl&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"EffectScope",(function(){return St})),n.d(t,"computed",(function(){return mt})),n.d(t,"customRef",(function(){return st})),n.d(t,"default",(function(){return ro})),n.d(t,"defineAsyncComponent",(function(){return tr})),n.d(t,"defineComponent",(function(){return vr})),n.d(t,"del",(function(){return Qe})),n.d(t,"effectScope",(function(){return Tt})),n.d(t,"getCurrentInstance",(function(){return me})),n.d(t,"getCurrentScope",(function(){return Ft})),n.d(t,"h",(function(){return Un})),n.d(t,"inject",(function(){return Dt})),n.d(t,"isProxy",(function(){return Ge})),n.d(t,"isReactive",(function(){return qe})),n.d(t,"isReadonly",(function(){return We})),n.d(t,"isRef",(function(){return Ze})),n.d(t,"isShallow",(function(){return Ke})),n.d(t,"markRaw",(function(){return Xe})),n.d(t,"mergeDefaults",(function(){return kn})),n.d(t,"nextTick",(function(){return Jn})),n.d(t,"onActivated",(function(){return ur})),n.d(t,"onBeforeMount",(function(){return ir})),n.d(t,"onBeforeUnmount",(function(){return lr})),n.d(t,"onBeforeUpdate",(function(){return ar})),n.d(t,"onDeactivated",(function(){return hr})),n.d(t,"onErrorCaptured",(function(){return mr})),n.d(t,"onMounted",(function(){return or})),n.d(t,"onRenderTracked",(function(){return dr})),n.d(t,"onRenderTriggered",(function(){return Ar})),n.d(t,"onScopeDispose",(function(){return Nt})),n.d(t,"onServerPrefetch",(function(){return fr})),n.d(t,"onUnmounted",(function(){return cr})),n.d(t,"onUpdated",(function(){return sr})),n.d(t,"provide",(function(){return Lt})),n.d(t,"proxyRefs",(function(){return ot})),n.d(t,"reactive",(function(){return $e})),n.d(t,"readonly",(function(){return ft})),n.d(t,"ref",(function(){return et})),n.d(t,"set",(function(){return je})),n.d(t,"shallowReactive",(function(){return ze})),n.d(t,"shallowReadonly",(function(){return pt})),n.d(t,"shallowRef",(function(){return tt})),n.d(t,"toRaw",(function(){return Ye})),n.d(t,"toRef",(function(){return ct})),n.d(t,"toRefs",(function(){return lt})),n.d(t,"triggerRef",(function(){return rt})),n.d(t,"unref",(function(){return it})),n.d(t,"useAttrs",(function(){return wn})),n.d(t,"useCssModule",(function(){return Zn})),n.d(t,"useCssVars",(function(){return er})),n.d(t,"useListeners",(function(){return xn})),n.d(t,"useSlots",(function(){return yn})),n.d(t,"version",(function(){return gr})),n.d(t,"watch",(function(){return Et})),n.d(t,"watchEffect",(function(){return wt})),n.d(t,"watchPostEffect",(function(){return xt})),n.d(t,"watchSyncEffect",(function(){return Ct})); /*! * Vue.js v2.7.14 * (c) 2014-2022 Evan You * Released under the MIT License. */ var r=Object.freeze({}),i=Array.isArray;function o(e){return void 0===e||null===e}function a(e){return void 0!==e&&null!==e}function s(e){return!0===e}function l(e){return!1===e}function c(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function u(e){return"function"===typeof e}function h(e){return null!==e&&"object"===typeof e}var f=Object.prototype.toString;function d(e){return"[object Object]"===f.call(e)}function A(e){return"[object RegExp]"===f.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return a(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function g(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===f?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(r,1)}}var x=Object.prototype.hasOwnProperty;function C(e,t){return x.call(e,t)}function k(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var _=/-(\w)/g,E=k((function(e){return e.replace(_,(function(e,t){return t?t.toUpperCase():""}))})),B=k((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),S=/\B([A-Z])/g,T=k((function(e){return e.replace(S,"-$1").toLowerCase()}));function O(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function F(e,t){return e.bind(t)}var N=Function.prototype.bind?F:O;function L(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function I(e,t){for(var n in t)e[n]=t[n];return e}function D(e){for(var t={},n=0;n0,re=ee&&ee.indexOf("edge/")>0;ee&&ee.indexOf("android");var ie=ee&&/iphone|ipad|ipod|ios/.test(ee);ee&&/chrome\/\d+/.test(ee),ee&&/phantomjs/.test(ee);var oe,ae=ee&&ee.match(/firefox\/(\d+)/),se={}.watch,le=!1;if(Z)try{var ce={};Object.defineProperty(ce,"passive",{get:function(){le=!0}}),window.addEventListener("test-passive",null,ce)}catch(il){}var ue=function(){return void 0===oe&&(oe=!Z&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),oe},he=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function fe(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,Ae="undefined"!==typeof Symbol&&fe(Symbol)&&"undefined"!==typeof Reflect&&fe(Reflect.ownKeys);de="undefined"!==typeof Set&&fe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var pe=null;function me(){return pe&&{proxy:pe}}function ge(e){void 0===e&&(e=null),e||pe&&pe._scope.off(),pe=e,e&&e._scope.on()}var ve=function(){function e(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),be=function(e){void 0===e&&(e="");var t=new ve;return t.text=e,t.isComment=!0,t};function ye(e){return new ve(void 0,void 0,void 0,String(e))}function we(e){var t=new ve(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var xe=0,Ce=[],ke=function(){for(var e=0;e1)return n&&u(t)?t.call(r):t}else 0}var Mt=k((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}));function Pt(e,t){function n(){var e=n.fns;if(!i(e))return jn(e,null,arguments,t,"v-on handler");for(var r=e.slice(),o=0;o0&&(r=Vt(r,"".concat(t||"","_").concat(n)),zt(r[0])&&zt(u)&&(h[l]=ye(u.text+r[0].text),r.shift()),h.push.apply(h,r)):c(r)?zt(u)?h[l]=ye(u.text+r):""!==r&&h.push(ye(r)):zt(r)&&zt(u)?h[l]=ye(u.text+r.text):(s(e._isVList)&&a(r.tag)&&o(r.key)&&a(t)&&(r.key="__vlist".concat(t,"_").concat(n,"__")),h.push(r)));return h}function qt(e,t){var n,r,o,s,l=null;if(i(e)||"string"===typeof e)for(l=new Array(e.length),n=0,r=e.length;n0,s=t?!!t.$stable:!a,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&i&&i!==r&&l===i.$key&&!a&&!i.$hasNormal)return i;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=fn(e,n,c,t[c]))}else o={};for(var u in n)u in o||(o[u]=dn(n,u));return t&&Object.isExtensible(t)&&(t._normalized=o),G(o,"$stable",s),G(o,"$key",l),G(o,"$hasNormal",a),o}function fn(e,t,n,r){var o=function(){var t=pe;ge(e);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!i(n)?[n]:$t(n);var o=n&&n[0];return ge(t),n&&(!o||1===n.length&&o.isComment&&!un(o))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:o,enumerable:!0,configurable:!0}),o}function dn(e,t){return function(){return e[t]}}function An(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=pn(e);ge(e),Be();var i=jn(n,null,[e._props||ze({}),r],e,"setup");if(Se(),ge(),u(i))t.render=i;else if(h(i))if(e._setupState=i,i.__sfc){var o=e._setupProxy={};for(var a in i)"__sfc"!==a&&at(o,i,a)}else for(var a in i)W(a)||at(e,i,a);else 0}}function pn(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};G(t,"_v_attr_proxy",!0),mn(t,e.$attrs,r,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};mn(t,e.$listeners,r,e,"$listeners")}return e._listenersProxy},get slots(){return vn(e)},emit:N(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach((function(n){return at(e,t,n)}))}}}function mn(e,t,n,r,i){var o=!1;for(var a in t)a in e?t[a]!==n[a]&&(o=!0):(o=!0,gn(e,a,r,i));for(var a in e)a in t||(o=!0,delete e[a]);return o}function gn(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function vn(e){return e._slotsProxy||bn(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function bn(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function yn(){return Cn().slots}function wn(){return Cn().attrs}function xn(){return Cn().listeners}function Cn(){var e=pe;return e._setupContext||(e._setupContext=pn(e))}function kn(e,t){var n=i(e)?e.reduce((function(e,t){return e[t]={},e}),{}):e;for(var r in t){var o=n[r];o?i(o)||u(o)?n[r]={type:o,default:t[r]}:o.default=t[r]:null===o&&(n[r]={default:t[r]})}return n}function _n(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=ln(t._renderChildren,i),e.$scopedSlots=n?hn(e.$parent,n.data.scopedSlots,e.$slots):r,e._c=function(t,n,r,i){return In(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return In(e,t,n,r,i,!0)};var o=n&&n.data;Re(e,"$attrs",o&&o.attrs||r,null,!0),Re(e,"$listeners",t._parentListeners||r,null,!0)}var En=null;function Bn(e){sn(e.prototype),e.prototype.$nextTick=function(e){return Jn(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,o=n._parentVnode;o&&t._isMounted&&(t.$scopedSlots=hn(t.$parent,o.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&bn(t._slotsProxy,t.$scopedSlots)),t.$vnode=o;try{ge(t),En=t,e=r.call(t._renderProxy,t.$createElement)}catch(il){Rn(il,t,"render"),e=t._vnode}finally{En=null,ge()}return i(e)&&1===e.length&&(e=e[0]),e instanceof ve||(e=be()),e.parent=o,e}}function Sn(e,t){return(e.__esModule||Ae&&"Module"===e[Symbol.toStringTag])&&(e=e.default),h(e)?t.extend(e):e}function Tn(e,t,n,r,i){var o=be();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}function On(e,t){if(s(e.error)&&a(e.errorComp))return e.errorComp;if(a(e.resolved))return e.resolved;var n=En;if(n&&a(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),s(e.loading)&&a(e.loadingComp))return e.loadingComp;if(n&&!a(e.owners)){var r=e.owners=[n],i=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return w(r,n)}));var u=function(e){for(var t=0,n=r.length;t1?L(n):n;for(var r=L(arguments,1),i='event handler for "'.concat(e,'"'),o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Gr=function(){return Yr.now()})}var Xr=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Jr(){var e,t;for(Wr=Gr(),Vr=!0,Qr.sort(Xr),qr=0;qrqr&&Qr[n].id>e.id)n--;Qr.splice(n+1,0,e)}else Qr.push(e);zr||(zr=!0,Jn(Jr))}}function ri(e){var t=e.$options.provide;if(t){var n=u(t)?t.call(e):t;if(!h(n))return;for(var r=It(e),i=Ae?Reflect.ownKeys(n):Object.keys(n),o=0;o-1)if(o&&!C(i,"default"))a=!1;else if(""===a||a===T(e)){var l=Mi(String,i.type);(l<0||s-1)return this;var n=L(arguments,1);return n.unshift(this),u(e.install)?e.install.apply(e,n):u(e)&&e.apply(null,n),t.push(e),this}}function oo(e){e.mixin=function(e){return this.options=Ti(this.options,e),this}}function ao(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=ui(e)||ui(n.options);var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Ti(n.options,e),a["super"]=n,a.options.props&&so(a),a.options.computed&&lo(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=I({},a.options),i[r]=a,a}}function so(e){var t=e.options.props;for(var n in t)Ui(e.prototype,"_props",n)}function lo(e){var t=e.options.computed;for(var n in t)Vi(e.prototype,n,t[n])}function co(e){z.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&u(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function uo(e){return e&&(ui(e.Ctor.options)||e.tag)}function ho(e,t){return i(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!A(e)&&e.test(t)}function fo(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!t(s)&&Ao(n,o,r,i)}}}function Ao(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,w(n,t)}Zi(ro),Xi(ro),Or(ro),Ir(ro),Bn(ro);var po=[String,RegExp,Array],mo={name:"keep-alive",abstract:!0,props:{include:po,exclude:po,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,i=e.keyToCache;if(r){var o=r.tag,a=r.componentInstance,s=r.componentOptions;t[i]={name:uo(s),tag:o,componentInstance:a},n.push(i),this.max&&n.length>parseInt(this.max)&&Ao(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Ao(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){fo(e,(function(e){return ho(t,e)}))})),this.$watch("exclude",(function(t){fo(e,(function(e){return!ho(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Fn(e),n=t&&t.componentOptions;if(n){var r=uo(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!ho(o,r))||a&&r&&ho(a,r))return t;var s=this,l=s.cache,c=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,w(c,u),c.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||e&&e[0]}},go={KeepAlive:mo};function vo(e){var t={get:function(){return q}};Object.defineProperty(e,"config",t),e.util={warn:vi,extend:I,mergeOptions:Ti,defineReactive:Re},e.set=je,e.delete=Qe,e.nextTick=Jn,e.observable=function(e){return Ue(e),e},e.options=Object.create(null),z.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,I(e.options.components,go),io(e),oo(e),ao(e),co(e)}vo(ro),Object.defineProperty(ro.prototype,"$isServer",{get:ue}),Object.defineProperty(ro.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ro,"FunctionalRenderContext",{value:ai}),ro.version=gr;var bo=b("style,class"),yo=b("input,textarea,option,select,progress"),wo=function(e,t,n){return"value"===n&&yo(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},xo=b("contenteditable,draggable,spellcheck"),Co=b("events,caret,typing,plaintext-only"),ko=function(e,t){return To(t)||"false"===t?"false":"contenteditable"===e&&Co(t)?t:"true"},_o=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Eo="http://www.w3.org/1999/xlink",Bo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},So=function(e){return Bo(e)?e.slice(6,e.length):""},To=function(e){return null==e||!1===e};function Oo(e){var t=e.data,n=e,r=e;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Fo(r.data,t));while(a(n=n.parent))n&&n.data&&(t=Fo(t,n.data));return No(t.staticClass,t.class)}function Fo(e,t){return{staticClass:Lo(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function No(e,t){return a(e)||a(t)?Lo(e,Io(t)):""}function Lo(e,t){return e?t?e+" "+t:e:t||""}function Io(e){return Array.isArray(e)?Do(e):h(e)?Mo(e):"string"===typeof e?e:""}function Do(e){for(var t,n="",r=0,i=e.length;r-1?Ho[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ho[e]=/HTMLUnknownElement/.test(t.toString())}var zo=b("text,number,password,search,email,tel,url");function Vo(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function qo(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Ko(e,t){return document.createElementNS(Po[e],t)}function Wo(e){return document.createTextNode(e)}function Go(e){return document.createComment(e)}function Yo(e,t,n){e.insertBefore(t,n)}function Xo(e,t){e.removeChild(t)}function Jo(e,t){e.appendChild(t)}function Zo(e){return e.parentNode}function ea(e){return e.nextSibling}function ta(e){return e.tagName}function na(e,t){e.textContent=t}function ra(e,t){e.setAttribute(t,"")}var ia=Object.freeze({__proto__:null,createElement:qo,createElementNS:Ko,createTextNode:Wo,createComment:Go,insertBefore:Yo,removeChild:Xo,appendChild:Jo,parentNode:Zo,nextSibling:ea,tagName:ta,setTextContent:na,setStyleScope:ra}),oa={create:function(e,t){aa(t)},update:function(e,t){e.data.ref!==t.data.ref&&(aa(e,!0),aa(t))},destroy:function(e){aa(e,!0)}};function aa(e,t){var n=e.data.ref;if(a(n)){var r=e.context,o=e.componentInstance||e.elm,s=t?null:o,l=t?void 0:o;if(u(n))jn(n,r,[s],r,"template ref function");else{var c=e.data.refInFor,h="string"===typeof n||"number"===typeof n,f=Ze(n),d=r.$refs;if(h||f)if(c){var A=h?d[n]:n.value;t?i(A)&&w(A,o):i(A)?A.includes(o)||A.push(o):h?(d[n]=[o],sa(r,n,d[n])):n.value=[o]}else if(h){if(t&&d[n]!==o)return;d[n]=l,sa(r,n,s)}else if(f){if(t&&n.value!==o)return;n.value=s}else 0}}}function sa(e,t,n){var r=e._setupState;r&&C(r,t)&&(Ze(r[t])?r[t].value=n:r[t]=n)}var la=new ve("",{},[]),ca=["create","activate","update","remove","destroy"];function ua(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&ha(e,t)||s(e.isAsyncPlaceholder)&&o(t.asyncFactory.error))}function ha(e,t){if("input"!==e.tag)return!0;var n,r=a(n=e.data)&&a(n=n.attrs)&&n.type,i=a(n=t.data)&&a(n=n.attrs)&&n.type;return r===i||zo(r)&&zo(i)}function fa(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,a(i)&&(o[i]=r);return o}function da(e){var t,n,r={},l=e.modules,u=e.nodeOps;for(t=0;tp?(h=o(n[v+1])?null:n[v+1].elm,k(e,h,n,d,v,r)):d>v&&E(t,f,p)}function T(e,t,n,r){for(var i=n;i-1?ka(e,t,n):_o(t)?To(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):xo(t)?e.setAttribute(t,ko(t,n)):Bo(t)?To(n)?e.removeAttributeNS(Eo,So(t)):e.setAttributeNS(Eo,t,n):ka(e,t,n)}function ka(e,t,n){if(To(n))e.removeAttribute(t);else{if(te&&!ne&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var _a={create:xa,update:xa};function Ea(e,t){var n=t.elm,r=t.data,i=e.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var s=Oo(t),l=n._transitionClasses;a(l)&&(s=Lo(s,Io(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ba,Sa={create:Ea,update:Ea},Ta="__r",Oa="__c";function Fa(e){if(a(e[Ta])){var t=te?"change":"input";e[t]=[].concat(e[Ta],e[t]||[]),delete e[Ta]}a(e[Oa])&&(e.change=[].concat(e[Oa],e.change||[]),delete e[Oa])}function Na(e,t,n){var r=Ba;return function i(){var o=t.apply(null,arguments);null!==o&&Da(e,i,n,r)}}var La=zn&&!(ae&&Number(ae[1])<=53);function Ia(e,t,n,r){if(La){var i=Wr,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Ba.addEventListener(e,t,le?{capture:n,passive:r}:n)}function Da(e,t,n,r){(r||Ba).removeEventListener(e,t._wrapper||t,n)}function Ma(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Ba=t.elm||e.elm,Fa(n),Ut(n,r,Ia,Da,Na,t.context),Ba=void 0}}var Pa,Ua={create:Ma,update:Ma,destroy:function(e){return Ma(e,la)}};function Ra(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,r,i=t.elm,l=e.data.domProps||{},c=t.data.domProps||{};for(n in(a(c.__ob__)||s(c._v_attr_proxy))&&(c=t.data.domProps=I({},c)),l)n in c||(i[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===l[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var u=o(r)?"":String(r);ja(i,u)&&(i.value=u)}else if("innerHTML"===n&&Ro(i.tagName)&&o(i.innerHTML)){Pa=Pa||document.createElement("div"),Pa.innerHTML="".concat(r,"");var h=Pa.firstChild;while(i.firstChild)i.removeChild(i.firstChild);while(h.firstChild)i.appendChild(h.firstChild)}else if(r!==l[n])try{i[n]=r}catch(il){}}}}function ja(e,t){return!e.composing&&("OPTION"===e.tagName||Qa(e,t)||Ha(e,t))}function Qa(e,t){var n=!0;try{n=document.activeElement!==e}catch(il){}return n&&e.value!==t}function Ha(e,t){var n=e.value,r=e._vModifiers;if(a(r)){if(r.number)return v(n)!==v(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var $a={create:Ra,update:Ra},za=k((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Va(e){var t=qa(e.style);return e.staticStyle?I(e.staticStyle,t):t}function qa(e){return Array.isArray(e)?D(e):"string"===typeof e?za(e):e}function Ka(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=Va(i.data))&&I(r,n)}(n=Va(e.data))&&I(r,n);var o=e;while(o=o.parent)o.data&&(n=Va(o.data))&&I(r,n);return r}var Wa,Ga=/^--/,Ya=/\s*!important$/,Xa=function(e,t,n){if(Ga.test(t))e.style.setProperty(t,n);else if(Ya.test(n))e.style.setProperty(T(t),n.replace(Ya,""),"important");else{var r=Za(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(ns).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function is(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ns).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function os(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&I(t,as(e.name||"v")),I(t,e),t}return"string"===typeof e?as(e):void 0}}var as=k((function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}})),ss=Z&&!ne,ls="transition",cs="animation",us="transition",hs="transitionend",fs="animation",ds="animationend";ss&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(us="WebkitTransition",hs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(fs="WebkitAnimation",ds="webkitAnimationEnd"));var As=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ps(e){As((function(){As(e)}))}function ms(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),rs(e,t))}function gs(e,t){e._transitionClasses&&w(e._transitionClasses,t),is(e,t)}function vs(e,t,n){var r=ys(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ls?hs:ds,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout((function(){l0&&(n=ls,u=a,h=o.length):t===cs?c>0&&(n=cs,u=c,h=l.length):(u=Math.max(a,c),n=u>0?a>c?ls:cs:null,h=n?n===ls?o.length:l.length:0);var f=n===ls&&bs.test(r[us+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:f}}function ws(e,t){while(e.length1}function Bs(e,t){!0!==t.data.show&&Cs(t)}var Ss=Z?{create:Bs,activate:Bs,remove:function(e,t){!0!==e.data.show?ks(e,t):t()}}:{},Ts=[_a,Sa,Ua,$a,ts,Ss],Os=Ts.concat(wa),Fs=da({nodeOps:ia,modules:Os});ne&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&Rs(e,"input")}));var Ns={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Rt(n,"postpatch",(function(){Ns.componentUpdated(e,t,n)})):Ls(e,t,n.context),e._vOptions=[].map.call(e.options,Ms)):("textarea"===n.tag||zo(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Ps),e.addEventListener("compositionend",Us),e.addEventListener("change",Us),ne&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ls(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Ms);if(i.some((function(e,t){return!R(e,r[t])}))){var o=e.multiple?t.value.some((function(e){return Ds(e,i)})):t.value!==t.oldValue&&Ds(t.value,i);o&&Rs(e,"change")}}}};function Ls(e,t,n){Is(e,t,n),(te||re)&&setTimeout((function(){Is(e,t,n)}),0)}function Is(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(R(Ms(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ds(e,t){return t.every((function(t){return!R(t,e)}))}function Ms(e){return"_value"in e?e._value:e.value}function Ps(e){e.target.composing=!0}function Us(e){e.target.composing&&(e.target.composing=!1,Rs(e.target,"input"))}function Rs(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function js(e){return!e.componentInstance||e.data&&e.data.transition?e:js(e.componentInstance._vnode)}var Qs={bind:function(e,t,n){var r=t.value;n=js(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Cs(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=js(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Cs(n,(function(){e.style.display=e.__vOriginalDisplay})):ks(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},Hs={model:Ns,show:Qs},$s={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function zs(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?zs(Fn(t.children)):e}function Vs(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var r in i)t[E(r)]=i[r];return t}function qs(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Ks(e){while(e=e.parent)if(e.data.transition)return!0}function Ws(e,t){return t.key===e.key&&t.tag===e.tag}var Gs=function(e){return e.tag||un(e)},Ys=function(e){return"show"===e.name},Xs={name:"transition",props:$s,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Gs),n.length)){0;var r=this.mode;0;var i=n[0];if(Ks(this.$vnode))return i;var o=zs(i);if(!o)return i;if(this._leaving)return qs(e,i);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Vs(this),l=this._vnode,u=zs(l);if(o.data.directives&&o.data.directives.some(Ys)&&(o.data.show=!0),u&&u.data&&!Ws(o,u)&&!un(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=I({},s);if("out-in"===r)return this._leaving=!0,Rt(h,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),qs(e,i);if("in-out"===r){if(un(o))return l;var f,d=function(){f()};Rt(s,"afterEnter",d),Rt(s,"enterCancelled",d),Rt(h,"delayLeave",(function(e){f=e}))}}return i}}},Js=I({tag:String,moveClass:String},$s);delete Js.mode;var Zs={props:Js,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Nr(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Vs(this),s=0;s0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),e.exports=i},"2ed3":function(e,t,n){var r=n("23a2"),i=n("8af8");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"2ef0":function(e,t,n){(function(e,r){var i; /** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var o,a="4.17.21",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",u="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",f=500,d="__lodash_placeholder__",A=1,p=2,m=4,g=1,v=2,b=1,y=2,w=4,x=8,C=16,k=32,_=64,E=128,B=256,S=512,T=30,O="...",F=800,N=16,L=1,I=2,D=3,M=1/0,P=9007199254740991,U=17976931348623157e292,R=NaN,j=4294967295,Q=j-1,H=j>>>1,$=[["ary",E],["bind",b],["bindKey",y],["curry",x],["curryRight",C],["flip",S],["partial",k],["partialRight",_],["rearg",B]],z="[object Arguments]",V="[object Array]",q="[object AsyncFunction]",K="[object Boolean]",W="[object Date]",G="[object DOMException]",Y="[object Error]",X="[object Function]",J="[object GeneratorFunction]",Z="[object Map]",ee="[object Number]",te="[object Null]",ne="[object Object]",re="[object Promise]",ie="[object Proxy]",oe="[object RegExp]",ae="[object Set]",se="[object String]",le="[object Symbol]",ce="[object Undefined]",ue="[object WeakMap]",he="[object WeakSet]",fe="[object ArrayBuffer]",de="[object DataView]",Ae="[object Float32Array]",pe="[object Float64Array]",me="[object Int8Array]",ge="[object Int16Array]",ve="[object Int32Array]",be="[object Uint8Array]",ye="[object Uint8ClampedArray]",we="[object Uint16Array]",xe="[object Uint32Array]",Ce=/\b__p \+= '';/g,ke=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ee=/&(?:amp|lt|gt|quot|#39);/g,Be=/[&<>"']/g,Se=RegExp(Ee.source),Te=RegExp(Be.source),Oe=/<%-([\s\S]+?)%>/g,Fe=/<%([\s\S]+?)%>/g,Ne=/<%=([\s\S]+?)%>/g,Le=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ie=/^\w*$/,De=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Me=/[\\^$.*+?()[\]{}|]/g,Pe=RegExp(Me.source),Ue=/^\s+/,Re=/\s/,je=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Qe=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,$e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ze=/[()=,{}\[\]\/\s]/,Ve=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ke=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Ge=/^0b[01]+$/i,Ye=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Ze=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=/($^)/,tt=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",rt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",ot="\\u20d0-\\u20ff",at=rt+it+ot,st="\\u2700-\\u27bf",lt="a-z\\xdf-\\xf6\\xf8-\\xff",ct="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ht="\\u2000-\\u206f",ft=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dt="A-Z\\xc0-\\xd6\\xd8-\\xde",At="\\ufe0e\\ufe0f",pt=ct+ut+ht+ft,mt="['’]",gt="["+nt+"]",vt="["+pt+"]",bt="["+at+"]",yt="\\d+",wt="["+st+"]",xt="["+lt+"]",Ct="[^"+nt+pt+yt+st+lt+dt+"]",kt="\\ud83c[\\udffb-\\udfff]",_t="(?:"+bt+"|"+kt+")",Et="[^"+nt+"]",Bt="(?:\\ud83c[\\udde6-\\uddff]){2}",St="[\\ud800-\\udbff][\\udc00-\\udfff]",Tt="["+dt+"]",Ot="\\u200d",Ft="(?:"+xt+"|"+Ct+")",Nt="(?:"+Tt+"|"+Ct+")",Lt="(?:"+mt+"(?:d|ll|m|re|s|t|ve))?",It="(?:"+mt+"(?:D|LL|M|RE|S|T|VE))?",Dt=_t+"?",Mt="["+At+"]?",Pt="(?:"+Ot+"(?:"+[Et,Bt,St].join("|")+")"+Mt+Dt+")*",Ut="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Rt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",jt=Mt+Dt+Pt,Qt="(?:"+[wt,Bt,St].join("|")+")"+jt,Ht="(?:"+[Et+bt+"?",bt,Bt,St,gt].join("|")+")",$t=RegExp(mt,"g"),zt=RegExp(bt,"g"),Vt=RegExp(kt+"(?="+kt+")|"+Ht+jt,"g"),qt=RegExp([Tt+"?"+xt+"+"+Lt+"(?="+[vt,Tt,"$"].join("|")+")",Nt+"+"+It+"(?="+[vt,Tt+Ft,"$"].join("|")+")",Tt+"?"+Ft+"+"+Lt,Tt+"+"+It,Rt,Ut,yt,Qt].join("|"),"g"),Kt=RegExp("["+Ot+nt+at+At+"]"),Wt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Yt=-1,Xt={};Xt[Ae]=Xt[pe]=Xt[me]=Xt[ge]=Xt[ve]=Xt[be]=Xt[ye]=Xt[we]=Xt[xe]=!0,Xt[z]=Xt[V]=Xt[fe]=Xt[K]=Xt[de]=Xt[W]=Xt[Y]=Xt[X]=Xt[Z]=Xt[ee]=Xt[ne]=Xt[oe]=Xt[ae]=Xt[se]=Xt[ue]=!1;var Jt={};Jt[z]=Jt[V]=Jt[fe]=Jt[de]=Jt[K]=Jt[W]=Jt[Ae]=Jt[pe]=Jt[me]=Jt[ge]=Jt[ve]=Jt[Z]=Jt[ee]=Jt[ne]=Jt[oe]=Jt[ae]=Jt[se]=Jt[le]=Jt[be]=Jt[ye]=Jt[we]=Jt[xe]=!0,Jt[Y]=Jt[X]=Jt[ue]=!1;var Zt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},en={"&":"&","<":"<",">":">",'"':""","'":"'"},tn={"&":"&","<":"<",">":">",""":'"',"'":"'"},nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rn=parseFloat,on=parseInt,an="object"==typeof e&&e&&e.Object===Object&&e,sn="object"==typeof self&&self&&self.Object===Object&&self,ln=an||sn||Function("return this")(),cn=t&&!t.nodeType&&t,un=cn&&"object"==typeof r&&r&&!r.nodeType&&r,hn=un&&un.exports===cn,fn=hn&&an.process,dn=function(){try{var e=un&&un.require&&un.require("util").types;return e||fn&&fn.binding&&fn.binding("util")}catch(t){}}(),An=dn&&dn.isArrayBuffer,pn=dn&&dn.isDate,mn=dn&&dn.isMap,gn=dn&&dn.isRegExp,vn=dn&&dn.isSet,bn=dn&&dn.isTypedArray;function yn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function wn(e,t,n,r){var i=-1,o=null==e?0:e.length;while(++i-1}function Bn(e,t,n){var r=-1,i=null==e?0:e.length;while(++r-1);return n}function er(e,t){var n=e.length;while(n--&&Un(t,e[n],0)>-1);return n}function tr(e,t){var n=e.length,r=0;while(n--)e[n]===t&&++r;return r}var nr=$n(Zt),rr=$n(en);function ir(e){return"\\"+nn[e]}function or(e,t){return null==e?o:e[t]}function ar(e){return Kt.test(e)}function sr(e){return Wt.test(e)}function lr(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function cr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ur(e,t){return function(n){return e(t(n))}}function hr(e,t){var n=-1,r=e.length,i=0,o=[];while(++n-1}function Hr(e,t){var n=this.__data__,r=ui(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function $r(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t=t?e:t)),e}function gi(e,t,n,r,i,a){var s,l=t&A,c=t&p,u=t&m;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!ku(e))return e;var h=lu(e);if(h){if(s=ts(e),!l)return ia(e,s)}else{var f=Xa(e),d=f==X||f==J;if(du(e))return Wo(e,l);if(f==ne||f==z||d&&!i){if(s=c||d?{}:ns(e),!l)return c?sa(e,di(s,e)):aa(e,fi(s,e))}else{if(!Jt[f])return i?e:{};s=rs(e,f,l)}}a||(a=new Jr);var g=a.get(e);if(g)return g;a.set(e,s),Pu(e)?e.forEach((function(r){s.add(gi(r,t,n,r,e,a))})):Eu(e)&&e.forEach((function(r,i){s.set(i,gi(r,t,n,i,e,a))}));var v=u?c?ja:Ra:c?Ch:xh,b=h?o:v(e);return xn(b||e,(function(r,i){b&&(i=r,r=e[i]),ci(s,i,gi(r,t,n,i,e,a))})),s}function vi(e){var t=xh(e);return function(n){return bi(n,e,t)}}function bi(e,t,n){var r=n.length;if(null==e)return!r;e=nt(e);while(r--){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function yi(e,t,n){if("function"!=typeof e)throw new ot(c);return _s((function(){e.apply(o,n)}),t)}function wi(e,t,n,r){var i=-1,o=En,a=!0,l=e.length,c=[],u=t.length;if(!l)return c;n&&(t=Sn(t,Yn(n))),r?(o=Bn,a=!1):t.length>=s&&(o=Jn,a=!1,t=new Gr(t));e:while(++ii?0:i+n),r=r===o||r>i?i:Wu(r),r<0&&(r+=i),r=n>r?0:Gu(r);while(n0&&n(s)?t>1?Si(s,t-1,n,r,i):Tn(i,s):r||(i[i.length]=s)}return i}var Ti=ha(),Oi=ha(!0);function Fi(e,t){return e&&Ti(e,t,xh)}function Ni(e,t){return e&&Oi(e,t,xh)}function Li(e,t){return _n(t,(function(t){return wu(e[t])}))}function Ii(e,t){t=zo(t,e);var n=0,r=t.length;while(null!=e&&nt}function Ui(e,t){return null!=e&&ht.call(e,t)}function Ri(e,t){return null!=e&&t in nt(e)}function ji(e,t,n){return e>=Qt(t,n)&&e=120&&f.length>=120)?new Gr(l&&f):o}f=e[0];var d=-1,A=c[0];e:while(++d-1)s!==e&&_t.call(s,l,1),_t.call(e,l,1)}return e}function go(e,t){var n=e?t.length:0,r=n-1;while(n--){var i=t[n];if(n==r||i!==o){var o=i;as(i)?_t.call(e,i,1):Mo(e,i)}}return e}function vo(e,t){return e+It(qt()*(t-e+1))}function bo(e,t,r,i){var o=-1,a=jt(Lt((t-e)/(r||1)),0),s=n(a);while(a--)s[i?a:++o]=e,e+=r;return s}function yo(e,t){var n="";if(!e||t<1||t>P)return n;do{t%2&&(n+=e),t=It(t/2),t&&(e+=e)}while(t);return n}function wo(e,t){return Es(ys(e,t,Ff),e+"")}function xo(e){return oi(Qh(e))}function Co(e,t){var n=Qh(e);return Ts(n,mi(t,0,n.length))}function ko(e,t,n,r){if(!ku(e))return e;t=zo(t,e);var i=-1,a=t.length,s=a-1,l=e;while(null!=l&&++io?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;var a=n(o);while(++i>>1,a=e[o];null!==a&&!Ru(a)&&(n?a<=t:a=s){var u=t?null:Ta(e);if(u)return fr(u);a=!1,i=Jn,c=new Gr}else c=t?[]:l;e:while(++r=r?e:So(e,t,n)}var Ko=Ot||function(e){return ln.clearTimeout(e)};function Wo(e,t){if(t)return e.slice();var n=e.length,r=wt?wt(n):new e.constructor(n);return e.copy(r),r}function Go(e){var t=new e.constructor(e.byteLength);return new yt(t).set(new yt(e)),t}function Yo(e,t){var n=t?Go(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Xo(e){var t=new e.constructor(e.source,Ke.exec(e));return t.lastIndex=e.lastIndex,t}function Jo(e){return Ar?nt(Ar.call(e)):{}}function Zo(e,t){var n=t?Go(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ea(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=Ru(e),s=t!==o,l=null===t,c=t===t,u=Ru(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e=s)return l;var c=n[r];return l*("desc"==c?-1:1)}}return e.index-t.index}function na(e,t,r,i){var o=-1,a=e.length,s=r.length,l=-1,c=t.length,u=jt(a-s,0),h=n(c+u),f=!i;while(++l1?n[i-1]:o,s=i>2?n[2]:o;a=e.length>3&&"function"==typeof a?(i--,a):o,s&&ss(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=nt(t);while(++r-1?i[a?t[s]:s]:o}}function va(e){return Ua((function(t){var n=t.length,r=n,i=Er.prototype.thru;e&&t.reverse();while(r--){var a=t[r];if("function"!=typeof a)throw new ot(c);if(i&&!s&&"wrapper"==Ha(a))var s=new Er([],!0)}r=s?r:n;while(++r1&&b.reverse(),f&&ul))return!1;var u=a.get(e),h=a.get(t);if(u&&h)return u==t&&h==e;var f=-1,d=!0,A=n&v?new Gr:o;a.set(e,t),a.set(t,e);while(++f1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(je,"{\n/* [wrapped with "+t+"] */\n")}function os(e){return lu(e)||su(e)||!!(Et&&e&&e[Et])}function as(e,t){var n=typeof e;return t=null==t?P:t,!!t&&("number"==n||"symbol"!=n&&Je.test(e))&&e>-1&&e%1==0&&e0){if(++t>=F)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ts(e,t){var n=-1,r=e.length,i=r-1;t=t===o?r:t;while(++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Ml(e,n)}));function Vl(e){var t=wr(e);return t.__chain__=!0,t}function ql(e,t){return t(e),e}function Kl(e,t){return t(e)}var Wl=Ua((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return pi(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Br&&as(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Kl,args:[i],thisArg:o}),new Er(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));function Gl(){return Vl(this)}function Yl(){return new Er(this.value(),this.__chain__)}function Xl(){this.__values__===o&&(this.__values__=qu(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function Jl(){return this}function Zl(e){var t,n=this;while(n instanceof _r){var r=Is(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t}function ec(){var e=this.__wrapped__;if(e instanceof Br){var t=e;return this.__actions__.length&&(t=new Br(this)),t=t.reverse(),t.__actions__.push({func:Kl,args:[Al],thisArg:o}),new Er(t,this.__chain__)}return this.thru(Al)}function tc(){return Ro(this.__wrapped__,this.__actions__)}var nc=la((function(e,t,n){ht.call(e,n)?++e[n]:Ai(e,n,1)}));function rc(e,t,n){var r=lu(e)?kn:ki;return n&&ss(e,t,n)&&(t=o),r(e,za(t,3))}function ic(e,t){var n=lu(e)?_n:Bi;return n(e,za(t,3))}var oc=ga(qs),ac=ga(Ks);function sc(e,t){return Si(mc(e,t),1)}function lc(e,t){return Si(mc(e,t),M)}function cc(e,t,n){return n=n===o?1:Wu(n),Si(mc(e,t),n)}function uc(e,t){var n=lu(e)?xn:xi;return n(e,za(t,3))}function hc(e,t){var n=lu(e)?Cn:Ci;return n(e,za(t,3))}var fc=la((function(e,t,n){ht.call(e,n)?e[n].push(t):Ai(e,n,[t])}));function dc(e,t,n,r){e=uu(e)?e:Qh(e),n=n&&!r?Wu(n):0;var i=e.length;return n<0&&(n=jt(i+n,0)),Uu(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Un(e,t,n)>-1}var Ac=wo((function(e,t,r){var i=-1,o="function"==typeof t,a=uu(e)?n(e.length):[];return xi(e,(function(e){a[++i]=o?yn(t,e,r):$i(e,t,r)})),a})),pc=la((function(e,t,n){Ai(e,n,t)}));function mc(e,t){var n=lu(e)?Sn:oo;return n(e,za(t,3))}function gc(e,t,n,r){return null==e?[]:(lu(t)||(t=null==t?[]:[t]),n=r?o:n,lu(n)||(n=null==n?[]:[n]),ho(e,t,n))}var vc=la((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function bc(e,t,n){var r=lu(e)?On:zn,i=arguments.length<3;return r(e,za(t,4),n,i,xi)}function yc(e,t,n){var r=lu(e)?Fn:zn,i=arguments.length<3;return r(e,za(t,4),n,i,Ci)}function wc(e,t){var n=lu(e)?_n:Bi;return n(e,Qc(za(t,3)))}function xc(e){var t=lu(e)?oi:xo;return t(e)}function Cc(e,t,n){t=(n?ss(e,t,n):t===o)?1:Wu(t);var r=lu(e)?ai:Co;return r(e,t)}function kc(e){var t=lu(e)?si:Bo;return t(e)}function _c(e){if(null==e)return 0;if(uu(e))return Uu(e)?mr(e):e.length;var t=Xa(e);return t==Z||t==ae?e.size:no(e).length}function Ec(e,t,n){var r=lu(e)?Nn:To;return n&&ss(e,t,n)&&(t=o),r(e,za(t,3))}var Bc=wo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ss(e,t[0],t[1])?t=[]:n>2&&ss(t[0],t[1],t[2])&&(t=[t[0]]),ho(e,Si(t,1),[])})),Sc=Ft||function(){return ln.Date.now()};function Tc(e,t){if("function"!=typeof t)throw new ot(c);return e=Wu(e),function(){if(--e<1)return t.apply(this,arguments)}}function Oc(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Fa(e,E,o,o,o,o,t)}function Fc(e,t){var n;if("function"!=typeof t)throw new ot(c);return e=Wu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Nc=wo((function(e,t,n){var r=b;if(n.length){var i=hr(n,$a(Nc));r|=k}return Fa(e,r,t,n,i)})),Lc=wo((function(e,t,n){var r=b|y;if(n.length){var i=hr(n,$a(Lc));r|=k}return Fa(t,r,e,n,i)}));function Ic(e,t,n){t=n?o:t;var r=Fa(e,x,o,o,o,o,o,t);return r.placeholder=Ic.placeholder,r}function Dc(e,t,n){t=n?o:t;var r=Fa(e,C,o,o,o,o,o,t);return r.placeholder=Dc.placeholder,r}function Mc(e,t,n){var r,i,a,s,l,u,h=0,f=!1,d=!1,A=!0;if("function"!=typeof e)throw new ot(c);function p(t){var n=r,a=i;return r=i=o,h=t,s=e.apply(a,n),s}function m(e){return h=e,l=_s(b,t),f?p(e):s}function g(e){var n=e-u,r=e-h,i=t-n;return d?Qt(i,a-r):i}function v(e){var n=e-u,r=e-h;return u===o||n>=t||n<0||d&&r>=a}function b(){var e=Sc();if(v(e))return y(e);l=_s(b,g(e))}function y(e){return l=o,A&&r?p(e):(r=i=o,s)}function w(){l!==o&&Ko(l),h=0,r=u=i=l=o}function x(){return l===o?s:y(Sc())}function C(){var e=Sc(),n=v(e);if(r=arguments,i=this,u=e,n){if(l===o)return m(u);if(d)return Ko(l),l=_s(b,t),p(u)}return l===o&&(l=_s(b,t)),s}return t=Yu(t)||0,ku(n)&&(f=!!n.leading,d="maxWait"in n,a=d?jt(Yu(n.maxWait)||0,t):a,A="trailing"in n?!!n.trailing:A),C.cancel=w,C.flush=x,C}var Pc=wo((function(e,t){return yi(e,1,t)})),Uc=wo((function(e,t,n){return yi(e,Yu(t)||0,n)}));function Rc(e){return Fa(e,S)}function jc(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ot(c);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(jc.Cache||$r),n}function Qc(e){if("function"!=typeof e)throw new ot(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Hc(e){return Fc(2,e)}jc.Cache=$r;var $c=Vo((function(e,t){t=1==t.length&&lu(t[0])?Sn(t[0],Yn(za())):Sn(Si(t,1),Yn(za()));var n=t.length;return wo((function(r){var i=-1,o=Qt(r.length,n);while(++i=t})),su=zi(function(){return arguments}())?zi:function(e){return _u(e)&&ht.call(e,"callee")&&!kt.call(e,"callee")},lu=n.isArray,cu=An?Yn(An):Vi;function uu(e){return null!=e&&Cu(e.length)&&!wu(e)}function hu(e){return _u(e)&&uu(e)}function fu(e){return!0===e||!1===e||_u(e)&&Mi(e)==K}var du=Mt||Gf,Au=pn?Yn(pn):qi;function pu(e){return _u(e)&&1===e.nodeType&&!Iu(e)}function mu(e){if(null==e)return!0;if(uu(e)&&(lu(e)||"string"==typeof e||"function"==typeof e.splice||du(e)||ju(e)||su(e)))return!e.length;var t=Xa(e);if(t==Z||t==ae)return!e.size;if(ds(e))return!no(e).length;for(var n in e)if(ht.call(e,n))return!1;return!0}function gu(e,t){return Ki(e,t)}function vu(e,t,n){n="function"==typeof n?n:o;var r=n?n(e,t):o;return r===o?Ki(e,t,o,n):!!r}function bu(e){if(!_u(e))return!1;var t=Mi(e);return t==Y||t==G||"string"==typeof e.message&&"string"==typeof e.name&&!Iu(e)}function yu(e){return"number"==typeof e&&Pt(e)}function wu(e){if(!ku(e))return!1;var t=Mi(e);return t==X||t==J||t==q||t==ie}function xu(e){return"number"==typeof e&&e==Wu(e)}function Cu(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=P}function ku(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function _u(e){return null!=e&&"object"==typeof e}var Eu=mn?Yn(mn):Gi;function Bu(e,t){return e===t||Yi(e,t,qa(t))}function Su(e,t,n){return n="function"==typeof n?n:o,Yi(e,t,qa(t),n)}function Tu(e){return Lu(e)&&e!=+e}function Ou(e){if(fs(e))throw new i(l);return Xi(e)}function Fu(e){return null===e}function Nu(e){return null==e}function Lu(e){return"number"==typeof e||_u(e)&&Mi(e)==ee}function Iu(e){if(!_u(e)||Mi(e)!=ne)return!1;var t=xt(e);if(null===t)return!0;var n=ht.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ut.call(n)==pt}var Du=gn?Yn(gn):Ji;function Mu(e){return xu(e)&&e>=-P&&e<=P}var Pu=vn?Yn(vn):Zi;function Uu(e){return"string"==typeof e||!lu(e)&&_u(e)&&Mi(e)==se}function Ru(e){return"symbol"==typeof e||_u(e)&&Mi(e)==le}var ju=bn?Yn(bn):eo;function Qu(e){return e===o}function Hu(e){return _u(e)&&Xa(e)==ue}function $u(e){return _u(e)&&Mi(e)==he}var zu=Ea(io),Vu=Ea((function(e,t){return e<=t}));function qu(e){if(!e)return[];if(uu(e))return Uu(e)?gr(e):ia(e);if(Bt&&e[Bt])return lr(e[Bt]());var t=Xa(e),n=t==Z?cr:t==ae?fr:Qh;return n(e)}function Ku(e){if(!e)return 0===e?e:0;if(e=Yu(e),e===M||e===-M){var t=e<0?-1:1;return t*U}return e===e?e:0}function Wu(e){var t=Ku(e),n=t%1;return t===t?n?t-n:t:0}function Gu(e){return e?mi(Wu(e),0,j):0}function Yu(e){if("number"==typeof e)return e;if(Ru(e))return R;if(ku(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ku(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Gn(e);var n=Ge.test(e);return n||Xe.test(e)?on(e.slice(2),n?2:8):We.test(e)?R:+e}function Xu(e){return oa(e,Ch(e))}function Ju(e){return e?mi(Wu(e),-P,P):0===e?e:0}function Zu(e){return null==e?"":Io(e)}var eh=ca((function(e,t){if(ds(t)||uu(t))oa(t,xh(t),e);else for(var n in t)ht.call(t,n)&&ci(e,n,t[n])})),th=ca((function(e,t){oa(t,Ch(t),e)})),nh=ca((function(e,t,n,r){oa(t,Ch(t),e,r)})),rh=ca((function(e,t,n,r){oa(t,xh(t),e,r)})),ih=Ua(pi);function oh(e,t){var n=Cr(e);return null==t?n:fi(n,t)}var ah=wo((function(e,t){e=nt(e);var n=-1,r=t.length,i=r>2?t[2]:o;i&&ss(t[0],t[1],i)&&(r=1);while(++n1),t})),oa(e,ja(e),n),r&&(n=gi(n,A|p|m,Ia));var i=t.length;while(i--)Mo(n,t[i]);return n}));function Th(e,t){return Fh(e,Qc(za(t)))}var Oh=Ua((function(e,t){return null==e?{}:fo(e,t)}));function Fh(e,t){if(null==e)return{};var n=Sn(ja(e),(function(e){return[e]}));return t=za(t),Ao(e,n,(function(e,n){return t(e,n[0])}))}function Nh(e,t,n){t=zo(t,e);var r=-1,i=t.length;i||(i=1,e=o);while(++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=qt();return Qt(e+i*(t-e+rn("1e-"+((i+"").length-1))),t)}return vo(e,t)}var qh=Aa((function(e,t,n){return t=t.toLowerCase(),e+(n?Kh(t):t)}));function Kh(e){return wf(Zu(e).toLowerCase())}function Wh(e){return e=Zu(e),e&&e.replace(Ze,nr).replace(zt,"")}function Gh(e,t,n){e=Zu(e),t=Io(t);var r=e.length;n=n===o?r:mi(Wu(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}function Yh(e){return e=Zu(e),e&&Te.test(e)?e.replace(Be,rr):e}function Xh(e){return e=Zu(e),e&&Pe.test(e)?e.replace(Me,"\\$&"):e}var Jh=Aa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Zh=Aa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),ef=da("toLowerCase");function tf(e,t,n){e=Zu(e),t=Wu(t);var r=t?mr(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Ca(It(i),n)+e+Ca(Lt(i),n)}function nf(e,t,n){e=Zu(e),t=Wu(t);var r=t?mr(e):0;return t&&r>>0,n?(e=Zu(e),e&&("string"==typeof t||null!=t&&!Du(t))&&(t=Io(t),!t&&ar(e))?qo(gr(e),0,n):e.split(t,n)):[]}var uf=Aa((function(e,t,n){return e+(n?" ":"")+wf(t)}));function hf(e,t,n){return e=Zu(e),n=null==n?0:mi(Wu(n),0,e.length),t=Io(t),e.slice(n,n+t.length)==t}function ff(e,t,n){var r=wr.templateSettings;n&&ss(e,t,n)&&(t=o),e=Zu(e),t=nh({},t,r,Na);var a,s,l=nh({},t.imports,r.imports,Na),c=xh(l),h=Xn(l,c),f=0,d=t.interpolate||et,A="__p += '",p=rt((t.escape||et).source+"|"+d.source+"|"+(d===Ne?qe:et).source+"|"+(t.evaluate||et).source+"|$","g"),m="//# sourceURL="+(ht.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Yt+"]")+"\n";e.replace(p,(function(t,n,r,i,o,l){return r||(r=i),A+=e.slice(f,l).replace(tt,ir),n&&(a=!0,A+="' +\n__e("+n+") +\n'"),o&&(s=!0,A+="';\n"+o+";\n__p += '"),r&&(A+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=l+t.length,t})),A+="';\n";var g=ht.call(t,"variable")&&t.variable;if(g){if(ze.test(g))throw new i(u)}else A="with (obj) {\n"+A+"\n}\n";A=(s?A.replace(Ce,""):A).replace(ke,"$1").replace(_e,"$1;"),A="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+A+"return __p\n}";var v=Cf((function(){return Re(c,m+"return "+A).apply(o,h)}));if(v.source=A,bu(v))throw v;return v}function df(e){return Zu(e).toLowerCase()}function Af(e){return Zu(e).toUpperCase()}function pf(e,t,n){if(e=Zu(e),e&&(n||t===o))return Gn(e);if(!e||!(t=Io(t)))return e;var r=gr(e),i=gr(t),a=Zn(r,i),s=er(r,i)+1;return qo(r,a,s).join("")}function mf(e,t,n){if(e=Zu(e),e&&(n||t===o))return e.slice(0,vr(e)+1);if(!e||!(t=Io(t)))return e;var r=gr(e),i=er(r,gr(t))+1;return qo(r,0,i).join("")}function gf(e,t,n){if(e=Zu(e),e&&(n||t===o))return e.replace(Ue,"");if(!e||!(t=Io(t)))return e;var r=gr(e),i=Zn(r,gr(t));return qo(r,i).join("")}function vf(e,t){var n=T,r=O;if(ku(t)){var i="separator"in t?t.separator:i;n="length"in t?Wu(t.length):n,r="omission"in t?Io(t.omission):r}e=Zu(e);var a=e.length;if(ar(e)){var s=gr(e);a=s.length}if(n>=a)return e;var l=n-mr(r);if(l<1)return r;var c=s?qo(s,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),Du(i)){if(e.slice(l).search(i)){var u,h=c;i.global||(i=rt(i.source,Zu(Ke.exec(i))+"g")),i.lastIndex=0;while(u=i.exec(h))var f=u.index;c=c.slice(0,f===o?l:f)}}else if(e.indexOf(Io(i),l)!=l){var d=c.lastIndexOf(i);d>-1&&(c=c.slice(0,d))}return c+r}function bf(e){return e=Zu(e),e&&Se.test(e)?e.replace(Ee,br):e}var yf=Aa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),wf=da("toUpperCase");function xf(e,t,n){return e=Zu(e),t=n?o:t,t===o?sr(e)?xr(e):Dn(e):e.match(t)||[]}var Cf=wo((function(e,t){try{return yn(e,o,t)}catch(n){return bu(n)?n:new i(n)}})),kf=Ua((function(e,t){return xn(t,(function(t){t=Fs(t),Ai(e,t,Nc(e[t],e))})),e}));function _f(e){var t=null==e?0:e.length,n=za();return e=t?Sn(e,(function(e){if("function"!=typeof e[1])throw new ot(c);return[n(e[0]),e[1]]})):[],wo((function(n){var r=-1;while(++rP)return[];var n=j,r=Qt(e,j);t=za(t),e-=j;var i=Kn(r,t);while(++n0||t<0)?new Br(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=Wu(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Br.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Br.prototype.toArray=function(){return this.take(j)},Fi(Br.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=wr[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(wr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Br,c=s[0],u=l||lu(t),h=function(e){var t=i.apply(wr,Tn([e],s));return r&&f?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var f=this.__chain__,d=!!this.__actions__.length,A=a&&!f,p=l&&!d;if(!a&&u){t=p?t:new Br(this);var m=e.apply(t,s);return m.__actions__.push({func:Kl,args:[h],thisArg:o}),new Er(m,f)}return A&&p?e.apply(this,s):(m=this.thru(h),A?r?m.value()[0]:m.value():m)})})),xn(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);wr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(lu(i)?i:[],e)}return this[n]((function(n){return t.apply(lu(n)?n:[],e)}))}})),Fi(Br.prototype,(function(e,t){var n=wr[t];if(n){var r=n.name+"";ht.call(cn,r)||(cn[r]=[]),cn[r].push({name:t,func:n})}})),cn[ba(o,y).name]=[{name:"wrapper",func:o}],Br.prototype.clone=Sr,Br.prototype.reverse=Tr,Br.prototype.value=Or,wr.prototype.at=Wl,wr.prototype.chain=Gl,wr.prototype.commit=Yl,wr.prototype.next=Xl,wr.prototype.plant=Zl,wr.prototype.reverse=ec,wr.prototype.toJSON=wr.prototype.valueOf=wr.prototype.value=tc,wr.prototype.first=wr.prototype.head,Bt&&(wr.prototype[Bt]=Jl),wr},kr=Cr();ln._=kr,i=function(){return kr}.call(t,n,t,r),i===o||(r.exports=i)}).call(this)}).call(this,n("c8ba"),n("62e4")(e))},"2f2d":function(e,t,n){var r=n("8af8");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"2f62":function(e,t,n){"use strict";(function(e){ /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return M})),n.d(t,"c",(function(){return I})),n.d(t,"d",(function(){return L}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=l(e[n],t)})),r}function c(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function u(e){return null!==e&&"object"===typeof e}function h(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var d=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},A={namespaced:{configurable:!0}};A.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(e,t){this._children[e]=t},d.prototype.removeChild=function(e){delete this._children[e]},d.prototype.getChild=function(e){return this._children[e]},d.prototype.hasChild=function(e){return e in this._children},d.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},d.prototype.forEachChild=function(e){c(this._children,e)},d.prototype.forEachGetter=function(e){this._rawModule.getters&&c(this._rawModule.getters,e)},d.prototype.forEachAction=function(e){this._rawModule.actions&&c(this._rawModule.actions,e)},d.prototype.forEachMutation=function(e){this._rawModule.mutations&&c(this._rawModule.mutations,e)},Object.defineProperties(d.prototype,A);var p=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;m(e.concat(r),t.getChild(r),n.modules[r])}}p.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},p.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},p.prototype.update=function(e){m([],this.root,e)},p.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new d(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&c(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},p.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},p.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var g;var v=function(e){var t=this;void 0===e&&(e={}),!g&&"undefined"!==typeof window&&window.Vue&&N(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return l.call(i,e,t,n)},this.strict=r;var c=this._modules.root.state;C(this,c,[],this._modules.root),x(this,c),n.forEach((function(e){return e(t)}));var u=void 0!==e.devtools?e.devtools:g.config.devtools;u&&a(this)},b={state:{configurable:!0}};function y(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;C(e,n,[],e._modules.root,!0),x(e,n,t)}function x(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};c(i,(function(t,n){o[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=g.config.silent;g.config.silent=!0,e._vm=new g({data:{$$state:t},computed:o}),g.config.silent=a,e.strict&&T(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),g.nextTick((function(){return r.$destroy()})))}function C(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=O(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){g.set(s,l,r.state)}))}var c=r.context=k(e,a,n);r.forEachMutation((function(t,n){var r=a+n;E(e,r,t,c)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;B(e,r,i,c)})),r.forEachGetter((function(t,n){var r=a+n;S(e,r,t,c)})),r.forEachChild((function(r,o){C(e,t,n.concat(o),r,i)}))}function k(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=F(n,r,i),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:r?e.commit:function(n,r,i){var o=F(n,r,i),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return _(e,t)}},state:{get:function(){return O(e.state,n)}}}),i}function _(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function E(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function B(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return h(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function S(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function T(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function O(e,t){return t.reduce((function(e,t){return e[t]}),e)}function F(e,t,n){return u(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function N(e){g&&e===g||(g=e,r(g))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},v.prototype.commit=function(e,t,n){var r=this,i=F(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},v.prototype.dispatch=function(e,t){var n=this,r=F(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(c){0}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(c){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(c){0}t(e)}))}))}},v.prototype.subscribe=function(e,t){return y(e,this._subscribers,t)},v.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return y(n,this._actionSubscribers,t)},v.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},v.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},v.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),C(this,this.state,e,this._modules.get(e),n.preserveState),x(this,this.state)},v.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=O(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),w(this)},v.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},v.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},v.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(v.prototype,b);var L=j((function(e,t){var n={};return U(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=Q(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),I=j((function(e,t){var n={};return U(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=Q(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),D=j((function(e,t){var n={};return U(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||Q(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),M=j((function(e,t){var n={};return U(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=Q(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),P=function(e){return{mapState:L.bind(null,e),mapGetters:D.bind(null,e),mapMutations:I.bind(null,e),mapActions:M.bind(null,e)}};function U(e){return R(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function R(e){return Array.isArray(e)||u(e)}function j(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function Q(e,t,n){var r=e._modulesNamespaceMap[n];return r}function H(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var c=e.logActions;void 0===c&&(c=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var h=l(e.state);"undefined"!==typeof u&&(s&&e.subscribe((function(e,o){var a=l(o);if(n(e,h,a)){var s=V(),c=i(e),f="mutation "+e.type+s;$(u,f,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",r(h)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),z(u)}h=a})),c&&e.subscribeAction((function(e,n){if(o(e,n)){var r=V(),i=a(e),s="action "+e.type+r;$(u,s,t),u.log("%c action","color: #03A9F4; font-weight: bold",i),z(u)}})))}}function $(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function z(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function V(){var e=new Date;return" @ "+K(e.getHours(),2)+":"+K(e.getMinutes(),2)+":"+K(e.getSeconds(),2)+"."+K(e.getMilliseconds(),3)}function q(e,t){return new Array(t+1).join(e)}function K(e,t){return q("0",t-e.toString().length)+e}var W={Store:v,install:N,version:"3.6.2",mapState:L,mapMutations:I,mapGetters:D,mapActions:M,createNamespacedHelpers:P,createLogger:H};t["a"]=W}).call(this,n("c8ba"))},"2f9a":function(e,t){e.exports=function(){}},"301c":function(e,t,n){n("e198")("asyncIterator")},3397:function(e,t,n){var r=n("7a41");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},3475:function(e,t,n){var r=n("1a89"),i=n("dacf").f,o=n("f770"),a=n("0cca"),s=n("f2fc"),l=n("44b2"),c=n("afc0");e.exports=function(e,t){var n,u,h,f,d,A,p=e.target,m=e.global,g=e.stat;if(u=m?r:g?r[p]||s(p,{}):(r[p]||{}).prototype,u)for(h in t){if(d=t[h],e.dontCallGetSet?(A=i(u,h),f=A&&A.value):f=u[h],n=c(m?h:p+(g?".":"#")+h,e.forced),!n&&void 0!==f){if(typeof d==typeof f)continue;l(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(u,h,d,e)}}},3511:function(e,t){var n=TypeError,r=9007199254740991;e.exports=function(e){if(e>r)throw n("Maximum allowed index exceeded");return e}},"361f":function(e,t,n){"use strict";var r=n("b257"),i=n("4d80"),o=n("f770"),a=n("1a33"),s=n("bbea"),l=n("44b2"),c=n("ef7a"),u=n("ce2e"),h=n("899a"),f=n("d898"),d=n("6c12"),A=n("7e07"),p=n("8d5c"),m=n("ec82");e.exports=function(e,t,n,g){var v="stackTraceLimit",b=g?2:1,y=e.split("."),w=y[y.length-1],x=r.apply(null,y);if(x){var C=x.prototype;if(!m&&i(C,"cause")&&delete C.cause,!n)return x;var k=r("Error"),_=t((function(e,t){var n=h(g?t:e,void 0),r=g?new x(e):new x;return void 0!==n&&o(r,"message",n),A&&o(r,"stack",d(r.stack,2)),this&&a(C,this)&&u(r,this,_),arguments.length>b&&f(r,arguments[b]),r}));if(_.prototype=C,"Error"!==w?s?s(_,k):l(_,k,{name:!0}):p&&v in x&&(c(_,x,v),c(_,x,"prepareStackTrace")),l(_,x),!m)try{C.name!==w&&o(C,"name",w),C.constructor=_}catch(E){}return _}}},"364c":function(e,t,n){var r=n("424c"),i=n("1a89");e.exports="process"==r(i.process)},"393a":function(e,t,n){"use strict";var r=n("e444"),i=n("512c"),o=n("ba01"),a=n("051b"),s=n("8a0d"),l=n("26dd"),c=n("92f0"),u=n("ce7a"),h=n("cc15")("iterator"),f=!([].keys&&"next"in[].keys()),d="@@iterator",A="keys",p="values",m=function(){return this};e.exports=function(e,t,n,g,v,b,y){l(n,t,g);var w,x,C,k=function(e){if(!f&&e in S)return S[e];switch(e){case A:return function(){return new n(this,e)};case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",E=v==p,B=!1,S=e.prototype,T=S[h]||S[d]||v&&S[v],O=T||k(v),F=v?E?k("entries"):O:void 0,N="Array"==t&&S.entries||T;if(N&&(C=u(N.call(new e)),C!==Object.prototype&&C.next&&(c(C,_,!0),r||"function"==typeof C[h]||a(C,h,m))),E&&T&&T.name!==p&&(B=!0,O=function(){return T.call(this)}),r&&!y||!f&&!B&&S[h]||a(S,h,O),s[t]=O,s[_]=m,v)if(w={values:E?O:k(p),keys:b?O:k(A),entries:F},y)for(x in w)x in S||o(S,x,w[x]);else i(i.P+i.F*(f||B),t,w);return w}},"39ad":function(e,t,n){var r=n("6ca1"),i=n("d16a"),o=n("9d11");e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},"3a34":function(e,t,n){"use strict";var r=n("83ab"),i=n("e8b5"),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!a(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"3a7c":function(e,t,n){function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function i(e){return"boolean"===typeof e}function o(e){return null===e}function a(e){return null==e}function s(e){return"number"===typeof e}function l(e){return"string"===typeof e}function c(e){return"symbol"===typeof e}function u(e){return void 0===e}function h(e){return"[object RegExp]"===g(e)}function f(e){return"object"===typeof e&&null!==e}function d(e){return"[object Date]"===g(e)}function A(e){return"[object Error]"===g(e)||e instanceof Error}function p(e){return"function"===typeof e}function m(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=r,t.isBoolean=i,t.isNull=o,t.isNullOrUndefined=a,t.isNumber=s,t.isString=l,t.isSymbol=c,t.isUndefined=u,t.isRegExp=h,t.isObject=f,t.isDate=d,t.isError=A,t.isFunction=p,t.isPrimitive=m,t.isBuffer=n("b639").Buffer.isBuffer},"3a9b":function(e,t,n){var r=n("e330");e.exports=r({}.isPrototypeOf)},"3bbe":function(e,t,n){var r=n("1626"),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},"3c4e":function(e,t,n){"use strict";var r=function(e){return i(e)&&!o(e)};function i(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function c(e){return Array.isArray(e)?[]:{}}function u(e,t){var n=t&&!0===t.clone;return n&&r(e)?d(c(e),e,t):e}function h(e,t,n){var i=e.slice();return t.forEach((function(t,o){"undefined"===typeof i[o]?i[o]=u(t,n):r(t)?i[o]=d(e[o],t,n):-1===e.indexOf(t)&&i.push(u(t,n))})),i}function f(e,t,n){var i={};return r(e)&&Object.keys(e).forEach((function(t){i[t]=u(e[t],n)})),Object.keys(t).forEach((function(o){r(t[o])&&e[o]?i[o]=d(e[o],t[o],n):i[o]=u(t[o],n)})),i}function d(e,t,n){var r=Array.isArray(t),i=Array.isArray(e),o=n||{arrayMerge:h},a=r===i;if(a){if(r){var s=o.arrayMerge||h;return s(e,t,n)}return f(e,t,n)}return u(t,n)}d.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return d(e,n,t)}))};var A=d;e.exports=A},"3ce7":function(e,t,n){"use strict";n.d(t,"a",(function(){return Yt}));var r={};function i(e,t){const n=(t||{}).includeImageAlt;return o(e,"boolean"!==typeof n||n)}function o(e,t){return s(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&a(e.children,t))||Array.isArray(e)&&a(e,t)||""}function a(e,t){const n=[];let r=-1;while(++ri?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else{n&&[].splice.apply(e,[t,n]);while(a0?(l(e,e.length,0,t),e):t}n.r(r),n.d(r,"document",(function(){return St})),n.d(r,"contentInitial",(function(){return Tt})),n.d(r,"flowInitial",(function(){return Ot})),n.d(r,"flow",(function(){return Ft})),n.d(r,"string",(function(){return Nt})),n.d(r,"text",(function(){return Lt})),n.d(r,"insideSpan",(function(){return It})),n.d(r,"attentionMarkers",(function(){return Dt})),n.d(r,"disable",(function(){return Mt}));const u={}.hasOwnProperty;function h(e){const t={};let n=-1;while(++no))return;const n=t.events.length;let i,s,c=n;while(c--)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(i){s=t.events[c][1].end;break}i=!0}v(a),e=n;while(er){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function b(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}function I(e,t,n){return S(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const D={tokenize:M,partial:!0};function M(e,t,n){return S(e,r,"linePrefix");function r(e){return null===e||C(e)?t(e):n(e)}}function P(e){const t={};let n,r,i,o,a,s,c,u=-1;while(++u=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}const z={tokenize:V};function V(e){const t=this,n=e.attempt(D,r,e.attempt(this.parser.constructs.flowInitial,i,S(e,e.attempt(this.parser.constructs.flow,i,e.attempt(R,i)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)}function i(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}const q={resolveAll:Y()},K=G("string"),W=G("text");function G(e){return{tokenize:t,resolveAll:Y("text"===e?X:void 0)};function t(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)while(++i-1&&(a[0]=a[0].slice(r)),o>0&&a.push(e[i].slice(0,o))),a}function te(e,t){let n=-1;const r=[];let i;while(++nc?n(i):(e.consume(i),p):41===i?u--?(e.consume(i),p):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):null===i||x(i)?u?n(i):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):w(i)?n(i):(e.consume(i),92===i?m:p)}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function ge(e,t,n,r,i,o){const a=this;let s,l=0;return c;function c(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u}function u(c){return null===c||91===c||93===c&&!s||94===c&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs||l>999?n(c):93===c?(e.exit(o),e.enter(i),e.consume(c),e.exit(i),e.exit(r),t):C(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),h(c))}function h(t){return null===t||91===t||93===t||C(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),s=s||!k(t),92===t?f:h)}function f(t){return 91===t||92===t||93===t?(e.consume(t),l++,h):h(t)}}function ve(e,t,n,r,i,o){let a;return s;function s(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,l}function l(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),c(n))}function c(t){return t===a?(e.exit(o),l(a)):null===t?n(t):C(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),S(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||C(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?h:u)}function h(t){return t===a||92===t?(e.consume(t),u):u(t)}}function be(e,t){let n;return r;function r(i){return C(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):k(i)?S(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function ye(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const we={name:"definition",tokenize:Ce},xe={tokenize:ke,partial:!0};function Ce(e,t,n){const r=this;let i;return o;function o(t){return e.enter("definition"),ge.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}function a(t){return i=ye(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),be(e,me(e,e.attempt(xe,S(e,s,"whitespace"),S(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function s(o){return null===o||C(o)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(o)):n(o)}}function ke(e,t,n){return r;function r(t){return x(t)?be(e,i)(t):n(t)}function i(t){return 34===t||39===t||40===t?ve(e,S(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function o(e){return null===e||C(e)?t(e):n(e)}}const _e={name:"codeIndented",tokenize:Be},Ee={tokenize:Se,partial:!0};function Be(e,t,n){const r=this;return i;function i(t){return e.enter("codeIndented"),S(e,o,"linePrefix",5)(t)}function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?a(e):n(e)}function a(t){return null===t?l(t):C(t)?e.attempt(Ee,a,l)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||C(t)?(e.exit("codeFlowValue"),a(t)):(e.consume(t),s)}function l(n){return e.exit("codeIndented"),t(n)}}function Se(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):C(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):S(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):C(e)?i(e):n(e)}}const Te={name:"headingAtx",tokenize:Fe,resolve:Oe};function Oe(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},l(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}function Fe(e,t,n){const r=this;let i=0;return o;function o(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),a(t)}function a(o){return 35===o&&i++<6?(e.consume(o),a):null===o||x(o)?(e.exit("atxHeadingSequence"),r.interrupt?t(o):s(o)):n(o)}function s(n){return 35===n?(e.enter("atxHeadingSequence"),l(n)):null===n||C(n)?(e.exit("atxHeading"),t(n)):k(n)?S(e,s,"whitespace")(n):(e.enter("atxHeadingText"),c(n))}function l(t){return 35===t?(e.consume(t),l):(e.exit("atxHeadingSequence"),s(t))}function c(t){return null===t||35===t||x(t)?(e.exit("atxHeadingText"),s(t)):(e.consume(t),c)}}const Ne={name:"setextUnderline",tokenize:Ie,resolveTo:Le};function Le(e,t){let n,r,i,o=e.length;while(o--)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}function Ie(e,t,n){const r=this;let i,o,a=r.events.length;while(a--)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){o="paragraph"===r.events[a][1].type;break}return s;function s(t){return r.parser.lazy[r.now().line]||!r.interrupt&&!o?n(t):(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,l(t))}function l(t){return t===i?(e.consume(t),l):(e.exit("setextHeadingLineSequence"),S(e,c,"lineSuffix")(t))}function c(r){return null===r||C(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}const De=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Me=["pre","script","style","textarea"],Pe={name:"htmlFlow",tokenize:je,resolveTo:Re,concrete:!0},Ue={tokenize:Qe,partial:!0};function Re(e){let t=e.length;while(t--)if("enter"===e[t][0]&&"htmlFlow"===e[t][1].type)break;return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function je(e,t,n){const r=this;let i,o,a,s,l;return c;function c(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u}function u(s){return 33===s?(e.consume(s),h):47===s?(e.consume(s),A):63===s?(e.consume(s),i=3,r.interrupt?t:j):p(s)?(e.consume(s),a=String.fromCharCode(s),o=!0,m):n(s)}function h(o){return 45===o?(e.consume(o),i=2,f):91===o?(e.consume(o),i=5,a="CDATA[",s=0,d):p(o)?(e.consume(o),i=4,r.interrupt?t:j):n(o)}function f(i){return 45===i?(e.consume(i),r.interrupt?t:j):n(i)}function d(i){return i===a.charCodeAt(s++)?(e.consume(i),s===a.length?r.interrupt?t:N:d):n(i)}function A(t){return p(t)?(e.consume(t),a=String.fromCharCode(t),m):n(t)}function m(s){return null===s||47===s||62===s||x(s)?47!==s&&o&&Me.includes(a.toLowerCase())?(i=1,r.interrupt?t(s):N(s)):De.includes(a.toLowerCase())?(i=6,47===s?(e.consume(s),g):r.interrupt?t(s):N(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?y(s):b(s)):45===s||v(s)?(e.consume(s),a+=String.fromCharCode(s),m):n(s)}function g(i){return 62===i?(e.consume(i),r.interrupt?t:N):n(i)}function b(t){return k(t)?(e.consume(t),b):O(t)}function y(t){return 47===t?(e.consume(t),O):58===t||95===t||p(t)?(e.consume(t),w):k(t)?(e.consume(t),y):O(t)}function w(t){return 45===t||46===t||58===t||95===t||v(t)?(e.consume(t),w):_(t)}function _(t){return 61===t?(e.consume(t),E):k(t)?(e.consume(t),_):y(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,B):k(t)?(e.consume(t),E):(l=null,S(t))}function B(t){return null===t||C(t)?n(t):t===l?(e.consume(t),T):(e.consume(t),B)}function S(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||x(t)?_(t):(e.consume(t),S)}function T(e){return 47===e||62===e||k(e)?y(e):n(e)}function O(t){return 62===t?(e.consume(t),F):n(t)}function F(t){return k(t)?(e.consume(t),F):null===t||C(t)?N(t):n(t)}function N(t){return 45===t&&2===i?(e.consume(t),M):60===t&&1===i?(e.consume(t),P):62===t&&4===i?(e.consume(t),Q):63===t&&3===i?(e.consume(t),j):93===t&&5===i?(e.consume(t),R):!C(t)||6!==i&&7!==i?null===t||C(t)?L(t):(e.consume(t),N):e.check(Ue,Q,L)(t)}function L(t){return e.exit("htmlFlowData"),I(t)}function I(t){return null===t?H(t):C(t)?e.attempt({tokenize:D,partial:!0},I,H)(t):(e.enter("htmlFlowData"),N(t))}function D(e,t,n){return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function M(t){return 45===t?(e.consume(t),j):N(t)}function P(t){return 47===t?(e.consume(t),a="",U):N(t)}function U(t){return 62===t&&Me.includes(a.toLowerCase())?(e.consume(t),Q):p(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),U):N(t)}function R(t){return 93===t?(e.consume(t),j):N(t)}function j(t){return 62===t?(e.consume(t),Q):45===t&&2===i?(e.consume(t),j):N(t)}function Q(t){return null===t||C(t)?(e.exit("htmlFlowData"),H(t)):(e.consume(t),Q)}function H(n){return e.exit("htmlFlow"),t(n)}}function Qe(e,t,n){return r;function r(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(D,t,n)}}const He={name:"codeFenced",tokenize:$e,concrete:!0};function $e(e,t,n){const r=this,i={tokenize:w,partial:!0},o={tokenize:y,partial:!0},a=this.events[this.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let l,c=0;return u;function u(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,h(t)}function h(t){return t===l?(e.consume(t),c++,h):(e.exit("codeFencedFenceSequence"),c<3?n(t):S(e,f,"whitespace")(t))}function f(t){return null===t||C(t)?m(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||x(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),S(e,A,"whitespace")(t)):96===t&&t===l?n(t):(e.consume(t),d)}function A(t){return null===t||C(t)?m(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||C(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(t)):96===t&&t===l?n(t):(e.consume(t),p)}function m(n){return e.exit("codeFencedFence"),r.interrupt?t(n):g(n)}function g(t){return null===t?b(t):C(t)?e.attempt(o,e.attempt(i,b,s?S(e,g,"linePrefix",s+1):g),b)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||C(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function b(n){return e.exit("codeFenced"),t(n)}function y(e,t,n){const r=this;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function w(e,t,n){let r=0;return S(e,i,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function i(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),o(t)}function o(t){return t===l?(e.consume(t),r++,o):r",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",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:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",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:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Ve={}.hasOwnProperty;function qe(e){return!!Ve.call(ze,e)&&ze[e]}const Ke={name:"characterReference",tokenize:We};function We(e,t,n){const r=this;let i,o,a=0;return s;function s(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l}function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,o=v,u(t))}function c(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=g,u):(e.enter("characterReferenceValue"),i=7,o=m,u(t))}function u(s){let l;return 59===s&&a?(l=e.exit("characterReferenceValue"),o!==v||qe(r.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)):o(s)&&a++1&&e[f][1].end.offset-e[f][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),A=Object.assign({},e[f][1].start);pt(d,-s),pt(A,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[f][1].start),end:A},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[f][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[f][1].start=Object.assign({},a.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=c(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=c(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=c(u,J(t.parser.constructs.insideSpan.null,e.slice(n+1,f),t)),u=c(u,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[f][1].end.offset-e[f][1].start.offset?(h=2,u=c(u,[["enter",e[f][1],t],["exit",e[f][1],t]])):h=0,l(e,n-1,f-n+3,u),f=n+u.length-h-2;break}}f=-1;while(++f13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"�":String.fromCharCode(n)}const Ht=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function $t(e){return e.replace(Ht,zt)}function zt(e,t,n){if(t)return t;const r=n.charCodeAt(0);if(35===r){const e=n.charCodeAt(1),t=120===e||88===e;return Qt(n.slice(t?2:1),t?16:10)}return qe(n)||e}function Vt(e){return e&&"object"===typeof e?"position"in e||"type"in e?Kt(e.position):"start"in e||"end"in e?Kt(e):"line"in e||"column"in e?qt(e):"":""}function qt(e){return Wt(e&&e.line)+":"+Wt(e&&e.column)}function Kt(e){return qt(e&&e.start)+"-"+qt(e&&e.end)}function Wt(e){return e&&"number"===typeof e?e:1}const Gt={}.hasOwnProperty,Yt=function(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),Xt(n)(jt(Pt(n).document().write(Rt()(e,t,!0))))};function Xt(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(re),autolinkProtocol:S,autolinkEmail:S,atxHeading:l(Z),blockQuote:l(W),characterEscape:S,characterReference:S,codeFenced:l(G),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(G,c),codeText:l(Y,c),codeTextData:S,data:S,codeFlowValue:S,definition:l(X),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(J),hardBreakEscape:l(ee),hardBreakTrailing:l(ee),htmlFlow:l(te,c),htmlFlowData:S,htmlText:l(te,c),htmlTextData:S,image:l(ne),label:c,link:l(re),listItem:l(oe),listItemValue:p,listOrdered:l(ie,A),listUnordered:l(ie),paragraph:l(ae),reference:H,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l(Z),strong:l(se),thematicBreak:l(ce)},exit:{atxHeading:h(),atxHeadingSequence:k,autolink:h(),autolinkEmail:K,autolinkProtocol:q,blockQuote:h(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:V,codeFenced:h(b),codeFencedFence:v,codeFencedFenceInfo:m,codeFencedFenceMeta:g,codeFlowValue:T,codeIndented:h(y),codeText:h(I),codeTextData:T,data:T,definition:h(),definitionDestinationString:C,definitionLabelString:w,definitionTitleString:x,emphasis:h(),hardBreakEscape:h(F),hardBreakTrailing:h(F),htmlFlow:h(N),htmlFlowData:T,htmlText:h(L),htmlTextData:T,image:h(M),label:U,labelText:P,lineEnding:O,link:h(D),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:$,resourceDestinationString:R,resourceTitleString:j,resource:Q,setextHeading:h(B),setextHeadingLineSequence:E,setextHeadingText:_,strong:h(),thematicBreak:h()}};Zt(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let n={type:"root",children:[]};const r={stack:[n],tokenStack:[],config:t,enter:u,exit:f,buffer:c,resume:d,setData:a,getData:s},i=[];let l=-1;while(++l0){const e=r.tokenStack[r.tokenStack.length-1],t=e[1]||tn;t.call(r,void 0,e[0])}n.position={start:Jt(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Jt(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},l=-1;while(++l=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,a=o.target.__resizeListeners__||[];a.length&&a.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new i.default((0,o.debounce)(16,l)),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"40d5":function(e,t,n){var r=n("d039");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"417f":function(e,t,n){"use strict";t.__esModule=!0;var r=n("2b0e"),i=a(r),o=n("5924");function a(e){return e&&e.__esModule?e:{default:e}}var s=[],l="@@clickoutsideContext",c=void 0,u=0;function h(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[l].methodName&&n.context[e[l].methodName]?n.context[e[l].methodName]():e[l].bindingFn&&e[l].bindingFn())}}!i.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return c=e})),!i.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){s.forEach((function(t){return t[l].documentHandler(e,c)}))})),t.default={bind:function(e,t,n){s.push(e);var r=u++;e[l]={id:r,documentHandler:h(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[l].documentHandler=h(e,t,n),e[l].methodName=t.expression,e[l].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function s(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const l=(e,t,n)=>{let a=s(e,n);if(!a)return!1;let l=h(a);if(!l){let n=a.blockRange(),i=n&&Object(r["k"])(n);return null!=i&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let u=l.nodeBefore;if(!u.type.spec.isolating&&_(e,l,t))return!0;if(0==a.parent.content.size&&(c(u,"end")||o["NodeSelection"].isSelectable(u))){let n=Object(r["l"])(e.doc,a.before(),a.after(),i["Slice"].empty);if(n&&n.slice.size{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;a=h(r)}let s=a&&a.nodeBefore;return!(!s||!o["NodeSelection"].isSelectable(s))&&(t&&t(e.tr.setSelection(o["NodeSelection"].create(e.doc,a.pos-s.nodeSize)).scrollIntoView()),!0)};function h(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function f(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset{let a=f(e,n);if(!a)return!1;let s=p(a);if(!s)return!1;let l=s.nodeAfter;if(_(e,s,t))return!0;if(0==a.parent.content.size&&(c(l,"start")||o["NodeSelection"].isSelectable(l))){let n=Object(r["l"])(e.doc,a.before(),a.after(),i["Slice"].empty);if(n&&n.slice.size{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset=0;t--){let n=e.node(t);if(e.index(t)+1{let{$head:n,$anchor:r}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(r))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)};function g(e){for(let t=0;t{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),a=n.indexAfter(-1),s=g(i.contentMatchAt(a));if(!s||!i.canReplaceWith(a,a,s))return!1;if(t){let r=n.after(),i=e.tr.replaceWith(r,r,s.createAndFill());i.setSelection(o["Selection"].near(i.doc.resolve(r),1)),t(i.scrollIntoView())}return!0},b=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof o["AllSelection"]||r.parent.inlineContent||i.parent.inlineContent)return!1;let a=g(i.parent.contentMatchAt(i.indexAfter()));if(!a||!a.isTextblock)return!1;if(t){let n=(!r.parentOffset&&i.index(){let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before();if(Object(r["g"])(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),o=i&&Object(r["k"])(i);return null!=o&&(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)};function w(e){return(t,n)=>{let{$from:i,$to:a}=t.selection;if(t.selection instanceof o["NodeSelection"]&&t.selection.node.isBlock)return!(!i.parentOffset||!Object(r["g"])(t.doc,i.pos))&&(n&&n(t.tr.split(i.pos).scrollIntoView()),!0);if(!i.parent.isBlock)return!1;if(n){let s=a.parentOffset==a.parent.content.size,l=t.tr;(t.selection instanceof o["TextSelection"]||t.selection instanceof o["AllSelection"])&&l.deleteSelection();let c=0==i.depth?null:g(i.node(-1).contentMatchAt(i.indexAfter(-1))),u=e&&e(a.parent,s),h=u?[u]:s&&c?[{type:c}]:void 0,f=Object(r["g"])(l.doc,l.mapping.map(i.pos),1,h);if(h||f||!Object(r["g"])(l.doc,l.mapping.map(i.pos),1,c?[{type:c}]:void 0)||(c&&(h=[{type:c}]),f=!0),f&&(l.split(l.mapping.map(i.pos),1,h),!s&&!i.parentOffset&&i.parent.type!=c)){let e=l.mapping.map(i.before()),t=l.doc.resolve(e);c&&i.node(-1).canReplaceWith(t.index(),t.index()+1,c)&&l.setNodeMarkup(l.mapping.map(i.before()),c)}n(l.scrollIntoView())}return!0}}const x=w(),C=(e,t)=>(t&&t(e.tr.setSelection(new o["AllSelection"](e.doc))),!0);function k(e,t,n){let i=t.nodeBefore,o=t.nodeAfter,a=t.index();return!!(i&&o&&i.type.compatibleContent(o.type))&&(!i.content.size&&t.parent.canReplace(a-1,a)?(n&&n(e.tr.delete(t.pos-i.nodeSize,t.pos).scrollIntoView()),!0):!(!t.parent.canReplace(a,a+1)||!o.isTextblock&&!Object(r["f"])(e.doc,t.pos))&&(n&&n(e.tr.clearIncompatible(t.pos,i.type,i.contentMatchAt(i.childCount)).join(t.pos).scrollIntoView()),!0))}function _(e,t,n){let a,s,l=t.nodeBefore,u=t.nodeAfter;if(l.type.spec.isolating||u.type.spec.isolating)return!1;if(k(e,t,n))return!0;let h=t.parent.canReplace(t.index(),t.index()+1);if(h&&(a=(s=l.contentMatchAt(l.childCount)).findWrapping(u.type))&&s.matchType(a[0]||u.type).validEnd){if(n){let o=t.pos+u.nodeSize,s=i["Fragment"].empty;for(let e=a.length-1;e>=0;e--)s=i["Fragment"].from(a[e].create(null,s));s=i["Fragment"].from(l.copy(s));let c=e.tr.step(new r["b"](t.pos-1,o,t.pos,o,new i["Slice"](s,1,0),a.length,!0)),h=o+2*a.length;Object(r["f"])(c.doc,h)&&c.join(h),n(c.scrollIntoView())}return!0}let f=o["Selection"].findFrom(t,1),d=f&&f.$from.blockRange(f.$to),A=d&&Object(r["k"])(d);if(null!=A&&A>=t.depth)return n&&n(e.tr.lift(d,A).scrollIntoView()),!0;if(h&&c(u,"start",!0)&&c(l,"end")){let o=l,a=[];for(;;){if(a.push(o),o.isTextblock)break;o=o.lastChild}let s=u,c=1;for(;!s.isTextblock;s=s.firstChild)c++;if(o.canReplace(o.childCount,o.childCount,s.content)){if(n){let o=i["Fragment"].empty;for(let e=a.length-1;e>=0;e--)o=i["Fragment"].from(a[e].copy(o));let s=e.tr.step(new r["b"](t.pos-a.length,t.pos+u.nodeSize,t.pos+c,t.pos+u.nodeSize-c,new i["Slice"](o,a.length,0),0,!0));n(s.scrollIntoView())}return!0}}return!1}function E(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,a=i.depth;while(i.node(a).isInline){if(!a)return!1;a--}return!!i.node(a).isTextblock&&(n&&n(t.tr.setSelection(o["TextSelection"].create(t.doc,e<0?i.start(a):i.end(a)))),!0)}}const B=E(-1),S=E(1);function T(e,t=null){return function(n,i){let{$from:o,$to:a}=n.selection,s=o.blockRange(a),l=s&&Object(r["i"])(s,e,t);return!!l&&(i&&i(n.tr.wrap(s,l).scrollIntoView()),!0)}}function O(e,t=null){return function(n,r){let i=!1;for(let o=0;o{if(i)return!1;if(r.isTextblock&&!r.hasMarkup(e,t))if(r.type==e)i=!0;else{let t=n.doc.resolve(o),r=t.index();i=t.parent.canReplaceWith(r,r+1,e)}})}if(!i)return!1;if(r){let i=n.tr;for(let r=0;r{if(a)return!1;a=e.inlineContent&&e.type.allowsMarkType(n)}),a)return!0}return!1}function N(e,t=null){return function(n,r){let{empty:i,$cursor:o,ranges:a}=n.selection;if(i&&!o||!F(n.doc,a,e))return!1;if(r)if(o)e.isInSet(n.storedMarks||o.marks())?r(n.tr.removeStoredMark(e)):r(n.tr.addStoredMark(e.create(t)));else{let i=!1,o=n.tr;for(let t=0;!i&&t\n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,r={on:{}};n&&(r.on.expand=this.handleExpand);var i=this.nodes.map((function(n,i){var o=n.hasChildren;return e("cascader-node",l()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+i,"aria-haspopup":o,"aria-owns":o?t:null}},r]))}));return[].concat(i,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,r={nativeOn:{}};return this.panel.isHoverMenu&&(r.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",l()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},r]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},B=E,S=Object(b["a"])(B,w,x,!1,null,null,null);S.options.__file="packages/cascader-panel/src/cascader-menu.vue";var T=S.exports,O=n(21),F=function(){function e(e,t){for(var n=0;n1?t-1:0),r=1;r1?r-1:0),o=1;o0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},F(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,r=n.disabled,i=n.checkStrictly;return e[r]||!i&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,r=this.children,i=this.config,o=i.lazy,a=i.leaf;if(o){var s=Object(O["isDef"])(e[a])?e[a]:!!t&&!r.length;return this.hasChildren=!s,s}return!n}}]),e}(),D=I;function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var P=function e(t,n){return t.reduce((function(t,r){return r.isLeaf?t.push(r):(!n&&t.push(r),t=t.concat(e(r.children,n))),t}),[])},U=function(){function e(t,n){M(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(p["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new D(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new D(e,this.config,t),r=t?t.children:this.nodes;r.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(p["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:P(this.nodes,e)},e.prototype.getNodeByValue=function(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(p["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null},e}(),R=U,j=n(9),Q=n.n(j),H=n(41),$=n.n(H),z=n(32),V=n.n(z),q=Object.assign||function(e){for(var t=1;t0){var l=n.store.getNodeByValue(o);l.data[s]||n.lazyLoad(l,(function(){n.handleExpand(l)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(r)};r.lazyLoad(e,i)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),r=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");V()(n,r)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var r=this.getFlattedNodes(e);return r.filter((function(e){return e.checked}))}return this.isEmptyValue(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,r=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=r?[]:null}}},te=ee,ne=Object(b["a"])(te,r,i,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var re=ne.exports;re.install=function(e){e.component(re.name,re)};t["default"]=re},9:function(e,t){e.exports=n("7f4d")}})},"485a":function(e,t,n){var r=n("c65b"),i=n("1626"),o=n("861d"),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},4897:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=n("f0d9"),i=h(r),o=n("2b0e"),a=h(o),s=n("3c4e"),l=h(s),c=n("9d7e"),u=h(c);function h(e){return e&&e.__esModule?e:{default:e}}var f=(0,u.default)(a.default),d=i.default,A=!1,p=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return A||(A=!0,a.default.locale(a.default.config.lang,(0,l.default)(d,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},m=t.t=function(e,t){var n=p.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),i=d,o=0,a=r.length;o0){var r=t[t.length-1];if(r.id===e){if(r.modalClass){var i=r.modalClass.trim().split(/\s+/);i.forEach((function(e){return(0,o.removeClass)(n,e)}))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var a=t.length-1;a>=0;a--)if(t[a].id===e){t.splice(a,1);break}}0===t.length&&(this.modalFade&&(0,o.addClass)(n,"v-modal-leave"),setTimeout((function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",f.modalDom=void 0),(0,o.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(f,"zIndex",{configurable:!0,get:function(){return l||(c=c||(i.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),c},set:function(e){c=e}});var d=function(){if(!i.default.prototype.$isServer&&f.modalStack.length>0){var e=f.modalStack[f.modalStack.length-1];if(!e)return;var t=f.getInstance(e.id);return t}};i.default.prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.keyCode){var t=d();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}})),t.default=f},"4b8b":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"4d20":function(e,t,n){var r=n("1917"),i=n("10db"),o=n("6ca1"),a=n("3397"),s=n("9c0e"),l=n("faf5"),c=Object.getOwnPropertyDescriptor;t.f=n("0bad")?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},"4d64":function(e,t,n){var r=n("fc6a"),i=n("23cb"),o=n("07fa"),a=function(e){return function(t,n,a){var s,l=r(t),c=o(l),u=i(a,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4d80":function(e,t,n){var r=n("46ab"),i=n("8300"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},"4d88":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"4e4b":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=62)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},10:function(e,t){e.exports=n("f3ad")},12:function(e,t){e.exports=n("417f")},15:function(e,t){e.exports=n("14e9")},16:function(e,t){e.exports=n("4010")},19:function(e,t){e.exports=n("0e15")},21:function(e,t){e.exports=n("d397")},22:function(e,t){e.exports=n("12f2")},3:function(e,t){e.exports=n("8122")},32:function(e,t){e.exports=n("2a5e")},34:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[n("span",[e._v(e._s(e.currentLabel))])])],2)},i=[];r._withStripped=!0;var o=n(4),a=n.n(o),s=n(3),l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c={mixins:[a.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,r=n.remote,i=n.valueKey;if(!this.created&&!r){if(i&&"object"===("undefined"===typeof e?"undefined":l(e))&&"object"===("undefined"===typeof t?"undefined":l(t))&&e[i]===t[i])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some((function(e){return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(s["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,r=n?t:[t],i=this.select.cachedOptions.indexOf(this),o=r.indexOf(this);i>-1&&o<0&&this.select.cachedOptions.splice(i,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},u=c,h=n(0),f=Object(h["a"])(u,r,i,!1,null,null,null);f.options.__file="packages/select/src/option.vue";t["a"]=f.exports},38:function(e,t){e.exports=n("8bbc")},4:function(e,t){e.exports=n("d010")},5:function(e,t){e.exports=n("e974")},6:function(e,t){e.exports=n("6b7c")},62:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?n("span",[n("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?n("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():n("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,(function(t){return n("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(n){e.deleteTag(n,t)}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])})),1),e.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deletePrevTag(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),n("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.debouncedOnInputChange,compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?n("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")])]:e._e()],2)],1)],1)},i=[];r._withStripped=!0;var o=n(4),a=n.n(o),s=n(22),l=n.n(s),c=n(6),u=n.n(c),h=n(10),f=n.n(h),d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":e.$parent.multiple},e.popperClass],style:{minWidth:e.minWidth}},[e._t("default")],2)},A=[];d._withStripped=!0;var p=n(5),m=n.n(p),g={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[m.a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",(function(){e.$parent.visible&&e.updatePopper()})),this.$on("destroyPopper",this.destroyPopper)}},v=g,b=n(0),y=Object(b["a"])(v,d,A,!1,null,null,null);y.options.__file="packages/select/src/select-dropdown.vue";var w=y.exports,x=n(34),C=n(38),k=n.n(C),_=n(15),E=n.n(_),B=n(19),S=n.n(B),T=n(12),O=n.n(T),F=n(16),N=n(32),L=n.n(N),I=n(3),D={data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter((function(e){return e.visible})).every((function(e){return e.disabled}))}},watch:{hoverIndex:function(e){var t=this;"number"===typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach((function(e){e.hover=t.hoverOption===e}))}},methods:{navigateOptions:function(e){var t=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===e&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(e),this.$nextTick((function(){return t.scrollToOption(t.hoverOption)}))}}else this.visible=!0}}},M=n(21),P={mixins:[a.a,u.a,l()("reference"),D],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(I["isIE"])()&&!Object(I["isEdge"])()&&!this.visible},showClose:function(){var e=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value,t=this.clearable&&!this.selectDisabled&&this.inputHovering&&e;return t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter((function(e){return!e.created})).some((function(t){return t.currentLabel===e.query}));return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return"undefined"!==typeof this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:f.a,ElSelectMenu:w,ElOption:x["a"],ElTag:k.a,ElScrollbar:E.a},directives:{Clickoutside:O.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick((function(){e.resetInputHeight()}))},propPlaceholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e,t){this.multiple&&(this.resetInputHeight(),e&&e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(I["valueEquals"])(e,t)||this.dispatch("ElFormItem","el.form.change",e)},visible:function(e){var t=this;e?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick((function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick((function(){e.broadcast("ElSelectDropdown","updatePopper")})),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleNavigate:function(e){this.isOnComposition||this.navigateOptions(e)},handleComposition:function(e){var t=this,n=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.$nextTick((function(e){return t.handleQueryChange(n)}));else{var r=n[n.length-1]||"";this.isOnComposition=!Object(M["isKorean"])(r)}},handleQueryChange:function(e){var t=this;this.previousQuery===e||this.isOnComposition||(null!==this.previousQuery||"function"!==typeof this.filterMethod&&"function"!==typeof this.remoteMethod?(this.previousQuery=e,this.$nextTick((function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")})),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick((function(){var e=15*t.$refs.input.value.length+20;t.inputLength=t.collapseTags?Math.min(50,e):e,t.managePlaceholder(),t.resetInputHeight()})),this.remote&&"function"===typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"===typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=e)},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");L()(n,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick((function(){return e.scrollToOption(e.selected)}))},emitChange:function(e){Object(I["valueEquals"])(this.value,e)||this.$emit("change",e)},getOption:function(e){for(var t=void 0,n="[object object]"===Object.prototype.toString.call(e).toLowerCase(),r="[object null]"===Object.prototype.toString.call(e).toLowerCase(),i="[object undefined]"===Object.prototype.toString.call(e).toLowerCase(),o=this.cachedOptions.length-1;o>=0;o--){var a=this.cachedOptions[o],s=n?Object(I["getValueByPath"])(a.value,this.valueKey)===Object(I["getValueByPath"])(e,this.valueKey):a.value===e;if(s){t=a;break}}if(t)return t;var l=n||r||i?"":String(e),c={value:e,currentLabel:l};return this.multiple&&(c.hitState=!1),c},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach((function(t){n.push(e.getOption(t))})),this.selected=n,this.$nextTick((function(){e.resetInputHeight()}))},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.filterable&&!this.visible&&(this.menuVisibleOnFocus=!0),this.visible=!0),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout((function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)}),50),this.softFocus=!1},handleClearClick:function(e){this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick((function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,n=[].filter.call(t,(function(e){return"INPUT"===e.tagName}))[0],r=e.$refs.tags,i=r?Math.round(r.getBoundingClientRect().height):0,o=e.initialInputHeight||40;n.style.height=0===e.selected.length?o+"px":Math.max(r?i+(i>o?6:0):0,o)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}}))},resetHoverIndex:function(){var e=this;setTimeout((function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map((function(t){return e.options.indexOf(t)}))):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)}),300)},handleOptionSelect:function(e,t){var n=this;if(this.multiple){var r=(this.value||[]).slice(),i=this.getValueIndex(r,e.value);i>-1?r.splice(i,1):(this.multipleLimit<=0||r.length0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n="[object object]"===Object.prototype.toString.call(t).toLowerCase();if(n){var r=this.valueKey,i=-1;return e.some((function(e,n){return Object(I["getValueByPath"])(e,r)===Object(I["getValueByPath"])(t,r)&&(i=n,!0)})),i}return e.indexOf(t)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation();var t=this.multiple?[]:"";this.$emit("input",t),this.emitChange(t),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var n=this.selected.indexOf(t);if(n>-1&&!this.selectDisabled){var r=this.value.slice();r.splice(n,1),this.$emit("input",r),this.emitChange(r),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var n=0;n!==this.options.length;++n){var r=this.options[n];if(this.query){if(!r.disabled&&!r.groupDisabled&&r.visible){this.hoverIndex=n;break}}else if(r.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:Object(I["getValueByPath"])(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=S()(this.debounce,(function(){e.onInputChange()})),this.debouncedQueryChange=S()(this.debounce,(function(t){e.handleQueryChange(t.target.value)})),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(F["addResizeListener"])(this.$el,this.handleResize);var t=this.$refs.reference;if(t&&t.$el){var n={medium:36,small:32,mini:28},r=t.$el.querySelector("input");this.initialInputHeight=r.getBoundingClientRect().height||n[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick((function(){t&&t.$el&&(e.inputWidth=t.$el.getBoundingClientRect().width)})),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(F["removeResizeListener"])(this.$el,this.handleResize)}},U=P,R=Object(b["a"])(U,r,i,!1,null,null,null);R.options.__file="packages/select/src/select.vue";var j=R.exports;j.install=function(e){e.component(j.name,j)};t["default"]=j}})},"4e71":function(e,t,n){n("e198")("observable")},"4eb4":function(e,t,n){var r=n("cc50"),i=n("443d");e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},"4ebc":function(e,t,n){var r=n("4d88");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"4f65":function(e,t,n){var r=n("e3ca"),i=n("fd50");e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},"4f98":function(e,t,n){(function(t){ /*! * Quill Editor v1.3.6 * https://quilljs.com/ * Copyright (c) 2014, Jason Chen * Copyright (c) 2013, salesforce.com */ (function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),i=n(18),o=n(19),a=n(45),s=n(46),l=n(47),c=n(48),u=n(49),h=n(12),f=n(32),d=n(33),A=n(31),p=n(1),m={Scope:p.Scope,create:p.create,find:p.find,query:p.query,register:p.register,Container:r.default,Format:i.default,Leaf:o.default,Embed:c.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:h.default,Class:f.default,Style:d.default,Store:A.default}};t.default=m},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,n=e.call(this,t)||this,n.message=t,n.name=n.constructor.name,n}return r(t,e),t}(Error);t.ParchmentError=i;var o,a={},s={},l={},c={};function u(e,t){var n=f(e);if(null==n)throw new i("Unable to create "+e+" blot");var r=n,o=e instanceof Node||e["nodeType"]===Node.TEXT_NODE?e:r.create(t);return new r(o,t)}function h(e,n){return void 0===n&&(n=!1),null==e?null:null!=e[t.DATA_KEY]?e[t.DATA_KEY].blot:n?h(e.parentNode,n):null}function f(e,t){var n;if(void 0===t&&(t=o.ANY),"string"===typeof e)n=c[e]||a[e];else if(e instanceof Text||e["nodeType"]===Node.TEXT_NODE)n=c["text"];else if("number"===typeof e)e&o.LEVEL&o.BLOCK?n=c["block"]:e&o.LEVEL&o.INLINE&&(n=c["inline"]);else if(e instanceof HTMLElement){var r=(e.getAttribute("class")||"").split(/\s+/);for(var i in r)if(n=s[r[i]],n)break;n=n||l[e.tagName]}return null==n?null:t&o.LEVEL&n.scope&&t&o.TYPE&n.scope?n:null}function d(){for(var e=[],t=0;t1)return e.map((function(e){return d(e)}));var n=e[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new i("Invalid definition");if("abstract"===n.blotName)throw new i("Cannot register abstract class");if(c[n.blotName||n.attrName]=n,"string"===typeof n.keyName)a[n.keyName]=n;else if(null!=n.className&&(s[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(e){return e.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach((function(e){null!=l[e]&&null!=n.className||(l[e]=n)}))}return n}t.DATA_KEY="__blot",function(e){e[e["TYPE"]=3]="TYPE",e[e["LEVEL"]=12]="LEVEL",e[e["ATTRIBUTE"]=13]="ATTRIBUTE",e[e["BLOT"]=14]="BLOT",e[e["INLINE"]=7]="INLINE",e[e["BLOCK"]=11]="BLOCK",e[e["BLOCK_BLOT"]=10]="BLOCK_BLOT",e[e["INLINE_BLOT"]=6]="INLINE_BLOT",e[e["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",e[e["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",e[e["ANY"]=15]="ANY"}(o=t.Scope||(t.Scope={})),t.create=u,t.find=h,t.query=f,t.register=d},function(e,t,n){var r=n(51),i=n(11),o=n(3),a=n(20),s=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype["delete"]=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=o(!0,{},e),"object"===typeof n){if("number"===typeof e["delete"]&&"number"===typeof n["delete"])return this.ops[t-1]={delete:n["delete"]+e["delete"]},this;if("number"===typeof n["delete"]&&null!=e.insert&&(t-=1,n=this.ops[t-1],"object"!==typeof n))return this.ops.unshift(e),this;if(i(e.attributes,n.attributes)){if("string"===typeof e.insert&&"string"===typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"===typeof e.retain&&"number"===typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){var i=e(r)?t:n;i.push(r)})),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e}),0)},l.prototype.length=function(){return this.reduce((function(e,t){return e+a.length(t)}),0)},l.prototype.slice=function(e,t){e=e||0,"number"!==typeof t&&(t=1/0);var n=[],r=a.iterator(this.ops),i=0;while(i0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:s;var r=t===e?"on":"with";throw new Error("diff() called "+r+" non-document")})).join("")})),o=new l,c=r(n[0],n[1],t),u=a.iterator(this.ops),h=a.iterator(e.ops);return c.forEach((function(e){var t=e[1].length;while(t>0){var n=0;switch(e[0]){case r.INSERT:n=Math.min(h.peekLength(),t),o.push(h.next(n));break;case r.DELETE:n=Math.min(t,u.peekLength()),u.next(n),o["delete"](n);break;case r.EQUAL:n=Math.min(u.peekLength(),h.peekLength(),t);var s=u.next(n),l=h.next(n);i(s.insert,l.insert)?o.retain(n,a.attributes.diff(s.attributes,l.attributes)):o.push(l)["delete"](n);break}t-=n}})),o.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";var n=a.iterator(this.ops),r=new l,i=0;while(n.hasNext()){if("insert"!==n.peekType())return;var o=n.peek(),s=a.length(o)-n.peekLength(),c="string"===typeof o.insert?o.insert.indexOf(t,s)-s:-1;if(c<0)r.push(n.next());else if(c>0)r.push(n.next(c));else{if(!1===e(r,n.next(1).attributes||{},i))return;i+=1,r=new l}}r.length()>0&&e(r,{},i)},l.prototype.transform=function(e,t){if(t=!!t,"number"===typeof e)return this.transformPosition(e,t);var n=a.iterator(this.ops),r=a.iterator(e.ops),i=new l;while(n.hasNext()||r.hasNext())if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())i.push(r.next());else{var o=Math.min(n.peekLength(),r.peekLength()),s=n.next(o),c=r.next(o);if(s["delete"])continue;c["delete"]?i.push(c):i.retain(o,a.attributes.transform(s.attributes,c.attributes,t))}else i.retain(a.length(n.next()));return i.chop()},l.prototype.transformPosition=function(e,t){t=!!t;var n=a.iterator(this.ops),r=0;while(n.hasNext()&&r<=e){var i=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(r0&&(e1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-w)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},o}}]),t}(u.default.Block);function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"===typeof e.formats&&(t=(0,a.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:k(e.parent,t))}C.blotName="block",C.tagName="P",C.defaultChild="break",C.allowedChildren=[A.default,u.default.Embed,m.default],t.bubbleFormats=k,t.BlockEmbed=x,t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(E(this,e),this.options=T(t,r),this.container=this.options.container,null==this.container)return B.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var i=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new h.default,this.scroll=p.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new c.default(this.scroll),this.selection=new g.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(h.default.events.EDITOR_CHANGE,(function(e){e===h.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(h.default.events.SCROLL_UPDATE,(function(e,t){var r=n.selection.lastRange,i=r&&0===r.length?r.index:void 0;O.call(n,(function(){return n.editor.update(null,t,i)}),e)}));var o=this.clipboard.convert("
"+i+"


");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),w.default.level(e)}},{key:"find",value:function(e){return e.__quill||p.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&B.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof e){var i=e.attrName||e.blotName;"string"===typeof i?this.register("formats/"+i,e,t):Object.keys(e).forEach((function(r){n.register(r,e[r],t)}))}else null==this.imports[e]||r||B.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?p.default.register(t):e.startsWith("modules")&&"function"===typeof t.register&&t.register()}}]),o(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){var n=e;e=document.createElement("div"),e.classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var r=this,o=F(e,t,n),a=i(o,4);return e=a[0],t=a[1],n=a[3],O.call(this,(function(){return r.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.sources.API;return O.call(this,(function(){var r=n.getSelection(!0),i=new s.default;if(null==r)return i;if(p.default.query(e,p.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,_({},e,t));else{if(0===r.length)return n.selection.format(e,t),i;i=n.editor.formatText(r.index,r.length,_({},e,t))}return n.setSelection(r,h.default.sources.SILENT),i}),r)}},{key:"formatLine",value:function(e,t,n,r,o){var a=this,s=void 0,l=F(e,t,n,r,o),c=i(l,4);return e=c[0],t=c[1],s=c[2],o=c[3],O.call(this,(function(){return a.editor.formatLine(e,t,s)}),o,e,0)}},{key:"formatText",value:function(e,t,n,r,o){var a=this,s=void 0,l=F(e,t,n,r,o),c=i(l,4);return e=c[0],t=c[1],s=c[2],o=c[3],O.call(this,(function(){return a.editor.formatText(e,t,s)}),o,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=F(e,t),r=i(n,2);return e=r[0],t=r[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=F(e,t),r=i(n,2);return e=r[0],t=r[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return O.call(this,(function(){return i.editor.insertEmbed(t,n,r)}),o,t)}},{key:"insertText",value:function(e,t,n,r,o){var a=this,s=void 0,l=F(e,0,n,r,o),c=i(l,4);return e=c[0],s=c[2],o=c[3],O.call(this,(function(){return a.editor.insertText(e,t,s)}),o,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var r=this,o=F(e,t,n),a=i(o,4);return e=a[0],t=a[1],n=a[3],O.call(this,(function(){return r.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API;return O.call(this,(function(){e=new s.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),i=t.editor.applyDelta(e),o=i.ops[i.ops.length-1];null!=o&&"string"===typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),i.delete(1));var a=r.compose(i);return a}),n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var o=F(t,n,r),a=i(o,4);t=a[0],n=a[1],r=a[3],this.selection.setRange(new m.Range(t,n),r),r!==h.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API,n=(new s.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.sources.API;return O.call(this,(function(){return e=new s.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function T(e,t){if(t=(0,b.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t),t.theme&&t.theme!==S.DEFAULTS.theme){if(t.theme=S.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=C.default;var n=(0,b.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(t.modules)),i=r.reduce((function(e,t){var n=S.import("modules/"+t);return null==n?B.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,b.default)(!0,{},S.DEFAULTS,{modules:i},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"===typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function O(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===h.default.sources.USER)return new s.default;var i=null==n?null:this.getSelection(),o=this.editor.delta,a=e();if(null!=i&&(!0===n&&(n=i.index),null==r?i=N(i,a,t):0!==r&&(i=N(i,n,r,t)),this.setSelection(i,h.default.sources.SILENT)),a.length()>0){var l,c,u=[h.default.events.TEXT_CHANGE,a,o,t];if((l=this.emitter).emit.apply(l,[h.default.events.EDITOR_CHANGE].concat(u)),t!==h.default.sources.SILENT)(c=this.emitter).emit.apply(c,u)}return a}function F(e,t,n,i,o){var a={};return"number"===typeof e.index&&"number"===typeof e.length?"number"!==typeof t?(o=i,i=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!==typeof t&&(o=i,i=n,n=t,t=0),"object"===("undefined"===typeof n?"undefined":r(n))?(a=n,o=i):"string"===typeof n&&(null!=i?a[n]=i:o=n),o=o||h.default.sources.API,[e,t,a,o]}function N(e,t,n,r){if(null==e)return null;var o=void 0,a=void 0;if(t instanceof s.default){var l=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,r!==h.default.sources.USER)})),c=i(l,2);o=c[0],a=c[1]}else{var u=[e.index,e.index+e.length].map((function(e){return e=0?e+n:Math.max(t,e+n)})),f=i(u,2);o=f[0],a=f[1]}return new m.Range(o,a-o)}S.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},S.events=h.default.events,S.sources=h.default.sources,S.version="1.3.6",S.imports={delta:s.default,parchment:p.default,"core/module":d.default,"core/theme":C.default},t.expandConfig=T,t.overload=F,t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var r=t.order.indexOf(e),i=t.order.indexOf(n);return r>=0||i>=0?r-i:e===n?0:e1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.quill=t,this.options=n};i.DEFAULTS={},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["error","warn","log","info"],i="warn";function o(e){if(r.indexOf(e)<=r.indexOf(i)){for(var t,n=arguments.length,o=Array(n>1?n-1:0),a=1;a0&&"number"!==typeof e[0]))}function c(e,t,n){var c,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e))return!!o(t)&&(e=r.call(e),t=r.call(t),a(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(c=0;c=0;c--)if(h[c]!=f[c])return!1;for(c=h.length-1;c>=0;c--)if(u=h[c],!a(e[u],t[u],n))return!1;return typeof e===typeof t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var i=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|i:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){var n=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE));return null!=n&&(null==this.whitelist||("string"===typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n=e+n)){var a=this.newlineIndex(e,!0)+1,s=o-a+1,l=this.isolate(a,s),u=l.next;l.format(r,i),u instanceof t&&u.formatAt(0,e-a+n-s,r,i)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var i=this.descendant(p.default,e),o=r(i,2),a=o[0],s=o[1];a.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(c.default.create("text","\n")),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=c.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof c.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(h.default);w.blotName="code-block",w.tagName="PRE",w.TAB=" ",t.Code=y,t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n=o&&!u.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,u);var f=t.scroll.line(e),d=i(f,2),A=d[0],p=d[1],v=(0,_.default)({},(0,m.bubbleFormats)(A));if(A instanceof g.default){var b=A.descendant(h.default.Leaf,p),y=i(b,1),w=y[0];v=(0,_.default)(v,(0,m.bubbleFormats)(w))}l=c.default.attributes.diff(v,l)||{}}else if("object"===r(a.insert)){var x=Object.keys(a.insert)[0];if(null==x)return e;t.scroll.insertAt(e,x,a.insert[x])}o+=s}return Object.keys(l).forEach((function(n){t.scroll.formatAt(e,s,n,l[n])})),e+s}),0),e.reduce((function(e,n){return"number"===typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new s.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(i){if(null==n.scroll.whitelist||n.scroll.whitelist[i]){var o=n.scroll.lines(e,Math.max(t,1)),a=t;o.forEach((function(t){var o=t.length();if(t instanceof d.default){var s=e-t.offset(n.scroll),l=t.newlineIndex(s+a)-s+1;t.formatAt(s,l,i,r[i])}else t.format(i,r[i]);a-=o}))}})),this.scroll.optimize(),this.update((new s.default).retain(e).retain(t,(0,w.default)(r)))}},{key:"formatText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(i){n.scroll.formatAt(e,t,i,r[i])})),this.update((new s.default).retain(e).retain(t,(0,w.default)(r)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new s.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach((function(e){var t=i(e,1),o=t[0];o instanceof g.default?n.push(o):o instanceof h.default.Leaf&&r.push(o)})):(n=this.scroll.lines(e,t),r=this.scroll.descendants(h.default.Leaf,e,t));var o=[n,r].map((function(e){if(0===e.length)return{};var t=(0,m.bubbleFormats)(e.shift());while(Object.keys(t).length>0){var n=e.shift();if(null==n)return t;t=F((0,m.bubbleFormats)(n),t)}return t}));return _.default.apply(_.default,o)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"===typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new s.default).retain(e).insert(B({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(r).forEach((function(i){n.scroll.formatAt(e,t.length,i,r[i])})),this.update((new s.default).retain(e).insert(t,(0,w.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===g.default.blotName&&(!(e.children.length>1)&&e.children.head instanceof b.default)}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),o=i(r,2),a=o[0],l=o[1],c=0,u=new s.default;null!=a&&(c=a instanceof d.default?a.newlineIndex(l)-l+1:a.length()-l,u=a.delta().slice(l,l+c-1).insert("\n"));var h=this.getContents(e,t+c),f=h.diff((new s.default).insert(n).concat(u)),A=(new s.default).retain(e).concat(f);return this.applyDelta(A)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(T)&&h.default.find(t[0].target)){var i=h.default.find(t[0].target),o=(0,m.bubbleFormats)(i),a=i.offset(this.scroll),l=t[0].oldValue.replace(p.default.CONTENTS,""),c=(new s.default).insert(l),u=(new s.default).insert(i.value()),f=(new s.default).retain(a).concat(c.diff(u,n));e=f.reduce((function(e,t){return t.insert?e.insert(t.insert,o):e.push(t)}),new s.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,C.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();function F(e,t){return Object.keys(t).reduce((function(n,r){return null==e[r]||(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]]),n}),{})}function N(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,w.default)(t.attributes);return delete n["image"],e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||(t=(0,w.default)(t),t.attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"===typeof t.insert){var r=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(r,t.attributes)}return e.push(t)}),new s.default)}t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;g(this,e),this.index=t,this.length=n},y=function(){function e(t,n){var r=this;g(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new b(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,f.default.sources.USER),1)})),this.emitter.on(f.default.events.EDITOR_CHANGE,(function(e,t){e===f.default.events.TEXT_CHANGE&&t.length()>0&&r.update(f.default.sources.SILENT)})),this.emitter.on(f.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(f.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(t){}}))}})),this.emitter.on(f.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,i=n.startNode,o=n.startOffset,a=n.endNode,s=n.endOffset;r.setNativeRange(i,o,a,s)}})),this.update(f.default.sources.SILENT)}return i(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(f.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!a.default.query(e,a.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=a.default.find(n.start.node,!1);if(null==r)return;if(r instanceof a.default.Leaf){var i=r.split(n.start.offset);r.parent.insertBefore(this.cursor,i)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var i=void 0,o=this.scroll.leaf(e),a=r(o,2),s=a[0],l=a[1];if(null==s)return null;var c=s.position(l,!0),u=r(c,2);i=u[0],l=u[1];var h=document.createRange();if(t>0){h.setStart(i,l);var f=this.scroll.leaf(e+t),d=r(f,2);if(s=d[0],l=d[1],null==s)return null;var A=s.position(l,!0),p=r(A,2);return i=p[0],l=p[1],h.setEnd(i,l),h.getBoundingClientRect()}var m="left",g=void 0;return i instanceof Text?(l0&&(m="right")),{bottom:g.top+g.height,height:g.height,left:g[m],right:g[m],top:g.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return v.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();if(null==e)return[null,null];var t=this.normalizedToRange(e);return[t,e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var i=n.map((function(e){var n=r(e,2),i=n[0],o=n[1],s=a.default.find(i,!0),l=s.offset(t.scroll);return 0===o?l:s instanceof a.default.Container?l+s.length():l+s.index(i,o)})),o=Math.min(Math.max.apply(Math,m(i)),this.scroll.length()-1),s=Math.min.apply(Math,[o].concat(m(i)));return new b(s,o-s)}},{key:"normalizeNative",value:function(e){if(!w(this.root,e.startContainer)||!e.collapsed&&!w(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){var t=e.node,n=e.offset;while(!(t instanceof Text)&&t.childNodes.length>0)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;t=t.lastChild,n=t instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],i=[],o=this.scroll.length();return n.forEach((function(e,n){e=Math.min(o-1,e);var a=void 0,s=t.scroll.leaf(e),l=r(s,2),c=l[0],u=l[1],h=c.position(u,0!==n),f=r(h,2);a=f[0],u=f[1],i.push(a,u)})),i.length<2&&(i=i.concat(i)),i}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var i=this.scroll.length()-1,o=this.scroll.line(Math.min(t.index,i)),a=r(o,1),s=a[0],l=s;if(t.length>0){var c=this.scroll.line(Math.min(t.index+t.length,i)),u=r(c,1);l=u[0]}if(null!=s&&null!=l){var h=e.getBoundingClientRect();n.toph.bottom&&(e.scrollTop+=n.bottom-h.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(v.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||i||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,r),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;if("string"===typeof t&&(n=t,t=!1),v.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,m(r).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default.sources.USER,t=this.lastRange,n=this.getRange(),i=r(n,2),o=i[0],a=i[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,u.default)(t,this.lastRange)){var s;!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode&&this.cursor.restore();var c,h=[f.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(t),e];if((s=this.emitter).emit.apply(s,[f.default.events.EDITOR_CHANGE].concat(h)),e!==f.default.sources.SILENT)(c=this.emitter).emit.apply(c,h)}}}]),e}();function w(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=b,t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){return e={},e[this.statics.blotName]=this.statics.value(this.domNode)||!0,e;var e},t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){var r=n(11),i=n(3),o={attributes:{compose:function(e,t,n){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var r=i(!0,{},t);for(var o in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[o]&&void 0===t[o]&&(r[o]=e[o]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,i){return r(e[i],t[i])||(n[i]=void 0===t[i]?null:t[i]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!==typeof e)return t;if("object"===typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"===typeof e["delete"]?e["delete"]:"number"===typeof e.retain?e.retain:"string"===typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=o.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t["delete"])return{delete:e};var i={};return t.attributes&&(i.attributes=t.attributes),"number"===typeof t.retain?i.retain=e:"string"===typeof t.insert?i.insert=t.insert.substr(n,e):i.insert=t.insert,i}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},e.exports=o},function(e,n){var r=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var n,r,i;try{n=Map}catch(h){n=function(){}}try{r=Set}catch(h){r=function(){}}try{i=Promise}catch(h){i=function(){}}function o(a,s,l,c,h){"object"===typeof s&&(l=s.depth,c=s.prototype,h=s.includeNonEnumerable,s=s.circular);var f=[],d=[],A="undefined"!=typeof t;function p(a,l){if(null===a)return null;if(0===l)return a;var m,g;if("object"!=typeof a)return a;if(e(a,n))m=new n;else if(e(a,r))m=new r;else if(e(a,i))m=new i((function(e,t){a.then((function(t){e(p(t,l-1))}),(function(e){t(p(e,l-1))}))}));else if(o.__isArray(a))m=[];else if(o.__isRegExp(a))m=new RegExp(a.source,u(a)),a.lastIndex&&(m.lastIndex=a.lastIndex);else if(o.__isDate(a))m=new Date(a.getTime());else{if(A&&t.isBuffer(a))return m=new t(a.length),a.copy(m),m;e(a,Error)?m=Object.create(a):"undefined"==typeof c?(g=Object.getPrototypeOf(a),m=Object.create(g)):(m=Object.create(c),g=c)}if(s){var v=f.indexOf(a);if(-1!=v)return d[v];f.push(a),d.push(m)}for(var b in e(a,n)&&a.forEach((function(e,t){var n=p(t,l-1),r=p(e,l-1);m.set(n,r)})),e(a,r)&&a.forEach((function(e){var t=p(e,l-1);m.add(t)})),a){var y;g&&(y=Object.getOwnPropertyDescriptor(g,b)),y&&null==y.set||(m[b]=p(a[b],l-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(a);for(b=0;b0){if(s instanceof u.BlockEmbed||f instanceof u.BlockEmbed)return void this.optimize();if(s instanceof p.default){var A=s.newlineIndex(s.length(),!0);if(A>-1&&(s=s.split(A+1),s===f))return void this.optimize()}else if(f instanceof p.default){var m=f.newlineIndex(0);m>-1&&f.split(m+1)}var g=f.children.head instanceof d.default?null:f.children.head;s.moveChildren(f,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,r,i){(null==this.whitelist||this.whitelist[r])&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,i),this.optimize())}},{key:"insertAt",value:function(e,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==r||null==s.default.query(n,s.default.Scope.BLOCK)){var i=s.default.create(this.statics.defaultChild);this.appendChild(i),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),i.insertAt(0,n,r)}else{var a=s.default.create(n,r);this.appendChild(a)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===s.default.Scope.INLINE_BLOT){var r=s.default.create(this.statics.defaultChild);r.appendChild(e),e=r}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(x,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,r){var i=[],o=r;return t.children.forEachAt(n,r,(function(t,n,r){x(t)?i.push(t):t instanceof s.default.Container&&(i=i.concat(e(t,n,o))),o-=r})),i};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(c.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=c.default.sources.USER;"string"===typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE,n,e),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(c.default.events.SCROLL_UPDATE,n,e)}}}]),t}(s.default.Scroll);C.blotName="scroll",C.className="ql-editor",C.tagName="DIV",C.defaultChild="block",C.allowedChildren=[h.default,u.BlockEmbed,g.default],t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=R(e);if(null==r||null==r.key)return T.warn("Attempted to add invalid keyboard binding",r);"function"===typeof t&&(t={handler:t}),"function"===typeof n&&(n={handler:n}),r=(0,h.default)(r,t,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,a=(e.bindings[o]||[]).filter((function(e){return t.match(n,e)}));if(0!==a.length){var s=e.quill.getSelection();if(null!=s&&e.quill.hasFocus()){var l=e.quill.getLine(s.index),u=i(l,2),h=u[0],f=u[1],d=e.quill.getLeaf(s.index),A=i(d,2),p=A[0],m=A[1],v=0===s.length?[p,m]:e.quill.getLeaf(s.index+s.length),b=i(v,2),y=b[0],w=b[1],x=p instanceof g.default.Text?p.value().slice(0,m):"",C=y instanceof g.default.Text?y.value().slice(w):"",k={collapsed:0===s.length,empty:0===s.length&&h.length()<=1,format:e.quill.getFormat(s),offset:f,prefix:x,suffix:C},_=a.some((function(t){if(null!=t.collapsed&&t.collapsed!==k.collapsed)return!1;if(null!=t.empty&&t.empty!==k.empty)return!1;if(null!=t.offset&&t.offset!==k.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==k.format[e]})))return!1}else if("object"===r(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=k.format[e]:!1===t.format[e]?null==k.format[e]:(0,c.default)(t.format[e],k.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(k.prefix))&&(!(null!=t.suffix&&!t.suffix.test(k.suffix))&&!0!==t.handler.call(e,s,k))}));_&&n.preventDefault()}}}}))}}]),t}(C.default);function N(e,t){var n,r=e===F.keys.LEFT?"prefix":"suffix";return n={key:e,shiftKey:t,altKey:null},_(n,r,/^$/),_(n,"handler",(function(n){var r=n.index;e===F.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r),a=i(o,1),s=a[0];return!(s instanceof g.default.Embed)||(e===F.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,b.default.sources.USER):this.quill.setSelection(n.index-1,b.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,b.default.sources.USER):this.quill.setSelection(n.index+n.length+1,b.default.sources.USER),!1)})),n}function L(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=i(n,1),o=r[0],a={};if(0===t.offset){var s=this.quill.getLine(e.index-1),l=i(s,1),c=l[0];if(null!=c&&c.length()>1){var u=o.formats(),h=this.quill.getFormat(e.index-1,1);a=p.default.attributes.diff(u,h)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-f,f,b.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(e.index-f,f,a,b.default.sources.USER),this.quill.focus()}}function I(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},o=0,a=this.quill.getLine(e.index),s=i(a,1),l=s[0];if(t.offset>=l.length()-1){var c=this.quill.getLine(e.index+1),u=i(c,1),h=u[0];if(h){var f=l.formats(),d=this.quill.getFormat(e.index,1);r=p.default.attributes.diff(f,d)||{},o=h.length()}}this.quill.deleteText(e.index,n,b.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+o-1,n,r,b.default.sources.USER)}}function D(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),i=t[t.length-1].formats();n=p.default.attributes.diff(i,r)||{}}this.quill.deleteText(e,b.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,b.default.sources.USER),this.quill.setSelection(e.index,b.default.sources.SILENT),this.quill.focus()}function M(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce((function(e,n){return g.default.query(n,g.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,b.default.sources.USER),this.quill.setSelection(e.index+1,b.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],b.default.sources.USER))}))}function P(e){return{key:F.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=g.default.query("code-block"),r=t.index,o=t.length,a=this.quill.scroll.descendant(n,r),s=i(a,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),h=l.newlineIndex(c,!0)+1,f=l.newlineIndex(u+c+o),d=l.domNode.textContent.slice(h,f).split("\n");c=0,d.forEach((function(t,i){e?(l.insertAt(h+c,n.TAB),c+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(h+c,n.TAB.length),c-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),c+=t.length+1})),this.quill.update(b.default.sources.USER),this.quill.setSelection(r,o,b.default.sources.SILENT)}}}}function U(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],b.default.sources.USER)}}}function R(e){if("string"===typeof e||"number"===typeof e)return R({key:e});if("object"===("undefined"===typeof e?"undefined":r(e))&&(e=(0,s.default)(e,!1)),"string"===typeof e.key)if(null!=F.keys[e.key.toUpperCase()])e.key=F.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[O]=e.shortKey,delete e.shortKey),e}F.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},F.DEFAULTS={bindings:{bold:U("bold"),italic:U("italic"),underline:U("underline"),indent:{key:F.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",b.default.sources.USER)}},outdent:{key:F.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",b.default.sources.USER)}},"outdent backspace":{key:F.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",b.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,b.default.sources.USER)}},"indent code-block":P(!0),"outdent code-block":P(!1),"remove tab":{key:F.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,b.default.sources.USER)}},tab:{key:F.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new d.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,b.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,b.default.sources.SILENT)}},"list empty enter":{key:F.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,b.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,b.default.sources.USER)}},"checklist enter":{key:F.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=i(t,2),r=n[0],o=n[1],a=(0,h.default)({},r.formats(),{list:"checked"}),s=(new d.default).retain(e.index).insert("\n",a).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,b.default.sources.USER),this.quill.setSelection(e.index+1,b.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:F.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=i(n,2),o=r[0],a=r[1],s=(new d.default).retain(e.index).insert("\n",t.format).retain(o.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,b.default.sources.USER),this.quill.setSelection(e.index+1,b.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,r=this.quill.getLine(e.index),o=i(r,2),a=o[0],s=o[1];if(s>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",b.default.sources.USER),this.quill.history.cutoff();var c=(new d.default).retain(e.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(c,b.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,b.default.sources.SILENT)}},"code exit":{key:F.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=i(t,2),r=n[0],o=n[1],a=(new d.default).retain(e.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,b.default.sources.USER)}},"embed left":N(F.keys.LEFT,!1),"embed left shift":N(F.keys.LEFT,!0),"embed right":N(F.keys.RIGHT,!1),"embed right shift":N(F.keys.RIGHT,!0)}},t.default=F,t.SHORTKEY=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n-1}h.blotName="link",h.tagName="A",h.SANITIZED_URL="about:blank",h.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=h,t.sanitize=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":r(Event))){var i=document.createEvent("Event");i.initEvent("change",!0,!0),this.select.dispatchEvent(i)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=T(r),o=n(5),a=T(o),s=n(4),l=T(s),c=n(16),u=T(c),h=n(25),f=T(h),d=n(24),A=T(d),p=n(35),m=T(p),g=n(6),v=T(g),b=n(22),y=T(b),w=n(7),x=T(w),C=n(55),k=T(C),_=n(42),E=T(_),B=n(23),S=T(B);function T(e){return e&&e.__esModule?e:{default:e}}a.default.register({"blots/block":l.default,"blots/block/embed":s.BlockEmbed,"blots/break":u.default,"blots/container":f.default,"blots/cursor":A.default,"blots/embed":m.default,"blots/inline":v.default,"blots/scroll":y.default,"blots/text":x.default,"modules/clipboard":k.default,"modules/history":E.default,"modules/keyboard":S.default}),i.default.register(l.default,u.default,A.default,v.default,y.default,x.default),t.default=a.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e){this.domNode=e,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"===typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"===typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){var n=this.isolate(e,t);n.remove()},e.prototype.formatAt=function(e,t,n,i){var o=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&i)o.wrap(n,i);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);o.wrap(a),a.format(n,i)}},e.prototype.insertAt=function(e,t,n){var i=null==n?r.create("text",t):r.create(t,n),o=this.split(e);this.parent.insertBefore(i,o)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"===typeof e?r.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"===typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),i=n(32),o=n(33),a=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=r.default.keys(this.domNode),n=i.default.keys(this.domNode),s=o.default.keys(this.domNode);t.concat(n).concat(s).forEach((function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function o(e,t){var n=e.getAttribute("class")||"";return n.split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){var t=o(e,this.keyName);t.forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=o(e,this.keyName)[0]||"",n=t.slice(this.keyName.length+1);return this.canAdd(e,n)?n:""},t}(i.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function o(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){var t=e.split(":");return t[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[o(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[o(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[o(this.keyName)];return this.canAdd(e,t)?t:""},t}(i.default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;nr&&this.stack.undo.length>0){var i=this.stack.undo.pop();n=n.compose(i.undo),e=i.redo.compose(e)}else this.lastRecorded=r;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(c.default);function p(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"===typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=o.default.query(e,o.default.Scope.BLOCK)})))}function m(e){var t=e.reduce((function(e,t){return e+=t.delete||0,e}),0),n=e.length()-t;return p(e)&&(n-=1),n}A.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=A,t.getLastChangeIndex=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,u.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,u.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=I(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),e,u.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",u.default.sources.USER),this.quill.setSelection(r+2,u.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),t}(x.default);function I(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",t),e.appendChild(r)}))}t.BaseTooltip=L,t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){var t,n=this.iterator();while(t=n())if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){var t=0,n=this.head;while(null!=n){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);var n,r=this.iterator();while(n=r()){var i=n.length();if(es?n(r,e-s,Math.min(t,s+c-e)):n(r,0,Math.min(c,e+t-s)),s+=c}}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){var n,r=this.iterator();while(n=r())t=e(t,n);return t},e}();t.default=r},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),o=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=100,l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,a),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,i){this.update(),e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);var a=[].slice.call(this.observer.takeRecords());while(a.length>0)t.push(a.pop());for(var l=function(e,t){void 0===t&&(t=!0),null!=e&&e!==r&&null!=e.domNode.parentNode&&(null==e.domNode[o.DATA_KEY].mutations&&(e.domNode[o.DATA_KEY].mutations=[]),t&&l(e.parent))},c=function(e){null!=e.domNode[o.DATA_KEY]&&null!=e.domNode[o.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(c),e.optimize(n))},u=t,h=0;u.length>0;h+=1){if(h>=s)throw new Error("[Parchment] Maximum optimize iterations reached");u.forEach((function(e){var t=o.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(l(o.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=o.find(e,!1);l(t,!1),t instanceof i.default&&t.children.forEach((function(e){l(e,!1)}))}))):"attributes"===e.type&&l(t.prev)),l(t))})),this.children.forEach(c),u=[].slice.call(this.observer.takeRecords()),a=u.slice();while(a.length>0)t.push(a.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),t=t||this.observer.takeRecords(),t.map((function(e){var t=o.find(e.target,!0);return null==t?null:null==t.domNode[o.DATA_KEY].mutations?(t.domNode[o.DATA_KEY].mutations=[e],t):(t.domNode[o.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[o.DATA_KEY]&&e.update(e.domNode[o.DATA_KEY].mutations||[],n)})),null!=this.domNode[o.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=l},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1);function a(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,r,i){if(null!=this.formats()[r]||o.query(r,o.Scope.ATTRIBUTE)){var a=this.isolate(t,n);a.format(r,i)}else e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var i=this.next;i instanceof t&&i.prev===this&&a(r,i.formats())&&(i.moveChildren(this),i.remove())},t.blotName="inline",t.scope=o.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var r=o.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=o.query(n,o.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,i){null!=o.query(r,o.Scope.BLOCK)?this.format(r,i):e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=o.query(n,o.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var i=this.split(t),a=o.create(n,r);i.parent.insertBefore(a,i)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,i){0===t&&n===this.length()?this.format(r,i):e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(i.default);t.default=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=n(1),a=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t["normalize"]&&(t=t["normalize"]()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=o.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=a},function(e,t,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)===!t?t:i.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!==typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;ot.length?e:t,c=e.length>t.length?t:e,u=l.indexOf(c);if(-1!=u)return a=[[r,l.substring(0,u)],[i,c],[r,l.substring(u+c.length)]],e.length>t.length&&(a[0][0]=a[2][0]=n),a;if(1==c.length)return[[n,e],[r,t]];var f=h(e,t);if(f){var d=f[0],A=f[1],p=f[2],m=f[3],g=f[4],v=o(d,p),b=o(A,m);return v.concat([[i,g]],b)}return s(e,t)}function s(e,t){for(var i=e.length,o=t.length,a=Math.ceil((i+o)/2),s=a,c=2*a,u=new Array(c),h=new Array(c),f=0;fi)m+=2;else if(x>o)p+=2;else if(A){var C=s+d-y;if(C>=0&&C=k)return l(e,t,B,x)}}}for(var _=-b+g;_<=b-v;_+=2){C=s+_;k=_==-b||_!=b&&h[C-1]i)v+=2;else if(E>o)g+=2;else if(!A){w=s+d-_;if(w>=0&&w=k)return l(e,t,B,x)}}}}return[[n,e],[r,t]]}function l(e,t,n,r){var i=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),l=t.substring(r),c=o(i,a),u=o(s,l);return c.concat(u)}function c(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;var n=0,r=Math.min(e.length,t.length),i=r,o=0;while(nt.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length=e.length?[r,i,o,a,h]:null}var o,a,s,l,h,f=i(n,r,Math.ceil(n.length/4)),d=i(n,r,Math.ceil(n.length/2));if(!f&&!d)return null;o=d?f&&f[4].length>d[4].length?f:d:f,e.length>t.length?(a=o[0],s=o[1],l=o[2],h=o[3]):(l=o[0],h=o[1],a=o[2],s=o[3]);var A=o[4];return[a,s,l,h,A]}function f(e){e.push([i,""]);var t,o=0,a=0,s=0,l="",h="";while(o1?(0!==a&&0!==s&&(t=c(h,l),0!==t&&(o-a-s>0&&e[o-a-s-1][0]==i?e[o-a-s-1][1]+=h.substring(0,t):(e.splice(0,0,[i,h.substring(0,t)]),o++),h=h.substring(t),l=l.substring(t)),t=u(h,l),0!==t&&(e[o][1]=h.substring(h.length-t)+e[o][1],h=h.substring(0,h.length-t),l=l.substring(0,l.length-t))),0===a?e.splice(o-s,a+s,[r,h]):0===s?e.splice(o-a,a+s,[n,l]):e.splice(o-a-s,a+s,[n,l],[r,h]),o=o-a-s+(a?1:0)+(s?1:0)+1):0!==o&&e[o-1][0]==i?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,s=0,a=0,l="",h="";break}""===e[e.length-1][1]&&e.pop();var d=!1;o=1;while(o0&&r.splice(o+2,0,[s[0],l]),g(r,o,3)}return e}function m(e){for(var t=!1,o=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},a=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},s=2;s0&&l.push(e[s]);return l}function g(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1\r?\n +\<"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[w.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new c.default).insert(n,B({},w.default.blotName,t[w.default.blotName]))}var r=this.prepareMatching(),o=i(r,2),a=o[0],s=o[1],l=Q(this.container,a,s);return R(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new c.default).retain(l.length()-1).delete(1))),F.log("convert",this.container.innerHTML,l),this.container.innerHTML="",l}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"===typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,d.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new c.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),d.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new c.default).retain(n.index),i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(d.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,d.default.sources.USER),t.quill.setSelection(r.length()-n.length,d.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=i,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(r){var o=i(r,2),a=o[0],s=o[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(a),(function(e){e[N]=e[N]||[],e[N].push(s)}));break}})),[t,n]}}]),t}(g.default);function P(e,t,n){return"object"===("undefined"===typeof t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return P(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,s.default)({},B({},t,n),r.attributes))}),new c.default)}function U(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function R(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length-1}function Q(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new c.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(r,i){var o=Q(i,t,n);return i.nodeType===e.ELEMENT_NODE&&(o=t.reduce((function(e,t){return t(i,e)}),o),o=(i[N]||[]).reduce((function(e,t){return t(i,e)}),o)),r.concat(o)}),new c.default):new c.default}function H(e,t,n){return P(n,e,!0)}function $(e,t){var n=h.default.Attributor.Attribute.keys(e),r=h.default.Attributor.Class.keys(e),i=h.default.Attributor.Style.keys(e),o={};return n.concat(r).concat(i).forEach((function(t){var n=h.default.query(t,h.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(e),o[n.attrName])||(n=I[t],null==n||n.attrName!==t&&n.keyName!==t||(o[n.attrName]=n.value(e)||void 0),n=D[t],null==n||n.attrName!==t&&n.keyName!==t||(n=D[t],o[n.attrName]=n.value(e)||void 0))})),Object.keys(o).length>0&&(t=P(t,o)),t}function z(e,t){var n=h.default.query(e);if(null==n)return t;if(n.prototype instanceof h.default.Embed){var r={},i=n.value(e);null!=i&&(r[n.blotName]=i,t=(new c.default).insert(r,n.formats(e)))}else"function"===typeof n.formats&&(t=P(t,n.blotName,n.formats(e)));return t}function V(e,t){return R(t,"\n")||t.insert("\n"),t}function q(){return new c.default}function K(e,t){var n=h.default.query(e);if(null==n||"list-item"!==n.blotName||!R(t,"\n"))return t;var r=-1,i=e.parentNode;while(!i.classList.contains("ql-clipboard"))"list"===(h.default.query(i)||{}).blotName&&(r+=1),i=i.parentNode;return r<=0?t:t.compose((new c.default).retain(t.length()-1).retain(1,{indent:r}))}function W(e,t){return R(t,"\n")||(j(e)||t.length()>0&&e.nextSibling&&j(e.nextSibling))&&t.insert("\n"),t}function G(e,t){if(j(e)&&null!=e.nextElementSibling&&!R(t,"\n\n")){var n=e.offsetHeight+parseFloat(U(e).marginTop)+parseFloat(U(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function Y(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===U(e).fontStyle&&(n.italic=!0),r.fontWeight&&(U(e).fontWeight.startsWith("bold")||parseInt(U(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=P(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new c.default).insert("\t").concat(t)),t}function X(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!U(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return t=t.replace(/[^\u00a0]/g,""),t.length<1&&e?" ":t};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&j(e.parentNode)||null!=e.previousSibling&&j(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&j(e.parentNode)||null!=e.nextSibling&&j(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}M.DEFAULTS={matchers:[],matchVisual:!0},t.default=M,t.matchAttributor=$,t.matchBlot=z,t.matchNewline=W,t.matchSpacing=G,t.matchText=X},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n '},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;nr.right&&(o=r.right-i.right,this.root.style.left=t+o+"px"),i.leftr.bottom){var a=i.bottom-i.top,s=e.bottom-e.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n','','',''].join(""),t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),i=ne(r),o=n(36),a=n(38),s=n(64),l=n(65),c=ne(l),u=n(66),h=ne(u),f=n(67),d=ne(f),A=n(37),p=n(26),m=n(39),g=n(40),v=n(56),b=ne(v),y=n(68),w=ne(y),x=n(27),C=ne(x),k=n(69),_=ne(k),E=n(70),B=ne(E),S=n(71),T=ne(S),O=n(72),F=ne(O),N=n(73),L=ne(N),I=n(13),D=ne(I),M=n(74),P=ne(M),U=n(75),R=ne(U),j=n(57),Q=ne(j),H=n(41),$=ne(H),z=n(28),V=ne(z),q=n(59),K=ne(q),W=n(60),G=ne(W),Y=n(61),X=ne(Y),J=n(108),Z=ne(J),ee=n(62),te=ne(ee);function ne(e){return e&&e.__esModule?e:{default:e}}i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":A.BackgroundClass,"attributors/class/color":p.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":m.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":A.BackgroundStyle,"attributors/style/color":p.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":m.FontStyle,"attributors/style/size":g.SizeStyle},!0),i.default.register({"formats/align":o.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":A.BackgroundStyle,"formats/color":p.ColorStyle,"formats/font":m.FontClass,"formats/size":g.SizeClass,"formats/blockquote":c.default,"formats/code-block":D.default,"formats/header":h.default,"formats/list":d.default,"formats/bold":b.default,"formats/code":I.Code,"formats/italic":w.default,"formats/link":C.default,"formats/script":_.default,"formats/strike":B.default,"formats/underline":T.default,"formats/image":F.default,"formats/video":L.default,"formats/list/item":f.ListItem,"modules/formula":P.default,"modules/syntax":R.default,"modules/toolbar":Q.default,"themes/bubble":Z.default,"themes/snow":te.default,"ui/icons":$.default,"ui/picker":V.default,"ui/icon-picker":G.default,"ui/color-picker":K.default,"ui/tooltip":X.default},!0),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r=function(){function e(e,t){for(var n=0;n0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return f({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(e,n){if(e instanceof m)i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(e,o)}}},{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=a.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(u.default);g.blotName="list",g.scope=a.default.Scope.BLOCK_BLOT,g.tagName=["OL","UL"],g.defaultChild="list-item",g.allowedChildren=[m],t.ListItem=m,t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(e){function t(){return a(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);c.blotName="italic",c.tagName=["EM","I"],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return f.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,s.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.default.Embed);d.blotName="image",d.tagName="IMG",t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return f.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return s.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(o.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var r=function(){function e(e,t){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(f.default);g.className="ql-syntax";var v=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),b=function(e){function t(e,n){A(this,t);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!==typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var i=null;return r.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(i),i=setTimeout((function(){r.highlight(),i=null}),r.options.interval)})),r.highlight(),r}return m(t,e),r(t,null,[{key:"register",value:function(){l.default.register(v,!0),l.default.register(g,!0)}}]),r(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(l.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(g).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(l.default.sources.SILENT),null!=t&&this.quill.setSelection(t,l.default.sources.SILENT)}}}]),t}(u.default);b.DEFAULTS={highlight:function(){return null==window.hljs?null:function(e){var t=window.hljs.highlightAuto(e);return t.value}}(),interval:1e3},t.CodeBlock=g,t.CodeToken=v,t.default=b},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},i=function(){function e(e,t){for(var n=0;n0&&i===l.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var o=r.quill.getLines(t.index,t.length);if(1===o.length)r.position(r.quill.getBounds(t));else{var a=o[o.length-1],s=r.quill.getIndex(a),c=Math.min(a.length()-1,t.index+t.length-s),u=r.quill.getBounds(new h.Range(s,c));r.position(u)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return g(t,e),i(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),i=this.root.querySelector(".ql-tooltip-arrow");if(i.style.marginLeft="",0===n)return n;i.style.marginLeft=-1*n-i.offsetWidth/2+"px"}}]),t}(c.BaseTooltip);y.TEMPLATE=['','
','','',"
"].join(""),t.BubbleTooltip=y,t.default=b},function(e,t,n){e.exports=n(63)}])["default"]}))}).call(this,n("b639").Buffer)},"50c4":function(e,t,n){var r=n("5926"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"50f5":function(e,t,n){var r=n("ed00"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"511f":function(e,t,n){n("0b99"),n("658f"),e.exports=n("fcd4").f("iterator")},5128:function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=void 0;var r=n("2b0e"),i=f(r),o=n("7f4d"),a=f(o),s=n("4b26"),l=f(s),c=n("e62d"),u=f(c),h=n("5924");function f(e){return e&&e.__esModule?e:{default:e}}var d=1,A=void 0;t.default={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+d++,l.default.register(this._popupId,this)},beforeDestroy:function(){l.default.deregister(this._popupId),l.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,i.default.nextTick((function(){t.open()})))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var n=(0,a.default)({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var r=Number(n.openDelay);r>0?this._openTimer=setTimeout((function(){t._openTimer=null,t.doOpen(n)}),r):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,r=e.zIndex;if(r&&(l.default.zIndex=r),n&&(this._closing&&(l.default.closeModal(this._popupId),this._closing=!1),l.default.openModal(this._popupId,l.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,h.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,h.getStyle)(document.body,"paddingRight"),10)),A=(0,u.default)();var i=document.documentElement.clientHeight0&&(i||"scroll"===o)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+A+"px"),(0,h.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=l.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout((function(){e._closeTimer=null,e.doClose()}),t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){l.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,h.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=l.default},"512c":function(e,t,n){var r=n("ef08"),i=n("5524"),o=n("9c0c"),a=n("051b"),s=n("9c0e"),l="prototype",c=function(e,t,n){var u,h,f,d=e&c.F,A=e&c.G,p=e&c.S,m=e&c.P,g=e&c.B,v=e&c.W,b=A?i:i[t]||(i[t]={}),y=b[l],w=A?r:p?r[t]:(r[t]||{})[l];for(u in A&&(n=t),n)h=!d&&w&&void 0!==w[u],h&&s(b,u)||(f=h?w[u]:n[u],b[u]=A&&"function"!=typeof w[u]?n[u]:g&&h?o(f,r):v&&w[u]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(f):m&&"function"==typeof f?o(Function.call,f):f,m&&((b.virtual||(b.virtual={}))[u]=f,e&c.R&&y&&!y[u]&&a(y,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"51a6":function(e,t,n){var r=n("b895"),i=n("d0dc"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5265:function(e,t,n){var r=n("8d5c"),i=n("8af8");e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5488:function(e,t,n){"use strict";t.__esModule=!0;var r=n("5924");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e)}return e.prototype.beforeEnter=function(e){(0,r.addClass)(e,"collapse-transition"),e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height="0",e.style.paddingTop=0,e.style.paddingBottom=0},e.prototype.enter=function(e){e.dataset.oldOverflow=e.style.overflow,0!==e.scrollHeight?(e.style.height=e.scrollHeight+"px",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom):(e.style.height="",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom),e.style.overflow="hidden"},e.prototype.afterEnter=function(e){(0,r.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow},e.prototype.beforeLeave=function(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.height=e.scrollHeight+"px",e.style.overflow="hidden"},e.prototype.leave=function(e){0!==e.scrollHeight&&((0,r.addClass)(e,"collapse-transition"),e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0)},e.prototype.afterLeave=function(e){(0,r.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},e}();t.default={name:"ElCollapseTransition",functional:!0,render:function(e,t){var n=t.children,r={on:new o};return e("transition",r,n)}}},"54be":function(e,t,n){var r=n("8af8"),i=n("5e8c"),o=n("4d80"),a=n("8d5c"),s=n("d665").CONFIGURABLE,l=n("2c9d"),c=n("279c"),u=c.enforce,h=c.get,f=Object.defineProperty,d=a&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),A=String(String).split("String"),p=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),d&&n&&o(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=u(e);return o(r,"source")||(r.source=A.join("string"==typeof t?t:"")),e};Function.prototype.toString=p((function(){return i(this)&&h(this).source||l(this)}),"toString")},5524:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},5692:function(e,t,n){var r=n("c430"),i=n("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(e,t,n){var r=n("d066"),i=n("e330"),o=n("241c"),a=n("7418"),s=n("825a"),l=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?l(t,n(e)):t}},"577e":function(e,t,n){var r=n("f5df"),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},5865:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return A6}));var r=n("6f27"),i=n("703f"),o=n("b923"),a=n("6ffb"),s=n("e3da"),l=n("442c"),c=n("72a8"),u=n("f201"),h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},h(e,t)};function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&rAe}function me(e,t){var n="https://www.google-analytics.com/collect",r=location.hostname,i="event",o="use",a="TOAST UI "+e+" for "+r+": Statistics",s=window.localStorage.getItem(a);(fe(window.tui)||!1!==window.tui.usageStatistics)&&(s&&!pe(s)||(window.localStorage.setItem(a,(new Date).getTime()),setTimeout((function(){"interactive"!==document.readyState&&"complete"!==document.readyState||de(n,{v:1,t:i,tid:t,cid:r,dp:r,dh:e,el:e,ec:o})}),1e3)))}var ge=me;/Mac/.test(navigator.platform);var ve=/[\u0020]+/g,be=/[>(){}[\]+-.!#|]/g,ye=/<([a-zA-Z_][a-zA-Z0-9\-._]*)(\s|[^\\>])*\/?>|<(\/)([a-zA-Z_][a-zA-Z0-9\-._]*)\s*\/?>||<([a-zA-Z_][a-zA-Z0-9\-.:/]*)>/g,we=/\\[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~\\]/g,xe=/[*_~`]/g,Ce=/!\[.*\]\(.*\)/g,ke=/[[\]]/g,_e=/(?:^|[^\\])\\(?!\\)/g,Ee='[&<>"]',Be=new RegExp(Ee,"g");function Se(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function Te(e){return Be.test(e)?e.replace(Be,Se):e}function Oe(){ge("editor","UA-129966929-1")}function Fe(e,t){return-1!==e.indexOf(t)}var Ne=["rel","target","hreflang","type"],Le={codeblock:/(^ {4}[^\n]+\n*)+/,thematicBreak:/^ *((\* *){3,}|(- *){3,} *|(_ *){3,}) */,atxHeading:/^(#{1,6}) +[\s\S]+/,seTextheading:/^([^\n]+)\n *(=|-){2,} */,blockquote:/^( *>[^\n]+.*)+/,list:/^ *(\*+|-+|\d+\.) [\s\S]+/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? */,link:/!?\[.*\]\(.*\)/,reflink:/!?\[.*\]\s*\[([^\]]*)\]/,verticalBar:/\u007C/,fencedCodeblock:/^((`|~){3,})/};function Ie(e){if(!e)return null;var t={};return Ne.forEach((function(n){R(e[n])||(t[n]=e[n])})),t}function De(e,t){for(var n="",r=0;re[0]&&n=t&&e<=n}function ze(e){return"object"===typeof e&&null!==e}function Ve(e,t){var n=d({},e);return e&&t&&Object.keys(t).forEach((function(e){ze(n[e])?Array.isArray(t[e])?n[e]=qe(t[e]):n.hasOwnProperty(e)?n[e]=Ve(n[e],t[e]):n[e]=Ke(t[e]):n[e]=t[e]})),n}function qe(e){return e.map((function(e){return ze(e)?Array.isArray(e)?qe(e):Ke(e):e}))}function Ke(e){var t=Object.keys(e);return t.length?t.reduce((function(t,n){return ze(e[n])?t[n]=Array.isArray(e[n])?qe(e[n]):Ke(e[n]):t[n]=e[n],t}),{}):e}function We(e,t){return void 0===t&&(t={}),Object.keys(t).forEach((function(n){e.hasOwnProperty(n)&&"object"===typeof e[n]?Array.isArray(t[n])?e[n]=t[n]:We(e[n],t[n]):e[n]=t[n]})),e}function Ge(e,t){return e>t?[t,e]:[e,t]}function Ye(e){var t=/^\s(\S*)/g;return t.test(e)}function Xe(e){var t=/(\S*)\s$/g;return t.test(e)}var Je=_;function Ze(e){var t;try{t=Array.prototype.slice.call(e)}catch(n){t=[],Je(e,(function(e){t.push(e)}))}return t}var et=Ze;function tt(e,t){var n=e.nodes.paragraph;return t?n.create(null,w(t)?e.text(t):t):n.createAndFill()}function nt(e,t,n){return e.text(t,n)}function rt(e,t,n){void 0===n&&(n=t);var r=e.doc.content.size,i=r>0?r-1:1;return a["TextSelection"].create(e.doc,Math.min(t,i),Math.min(n,i))}function it(e,t,n){var r=t.pos;return e.replaceWith(r,r,tt(n)),e.setSelection(rt(e,r+1))}function ot(e){for(var t=e.state,n=e.from,i=e.startIndex,o=e.endIndex,a=e.createText,s=t.tr,l=t.doc,c=t.schema,u=i;u<=o;u+=1){var h=l.child(u),f=h.nodeSize,d=h.textContent,A=h.content,p=a(d),m=p?nt(c,p):r["Fragment"].empty,g=s.mapping.map(n),v=g+A.size;s.replaceWith(g,v,m),n+=f}return s}function at(e,t,n,r){var i=n.length;e.split(t).delete(t-i,t).insert(e.mapping.map(t),r).setSelection(rt(e,e.mapping.map(t)-i))}function st(e){return e.sourcepos[0][0]}function lt(e){return e.sourcepos[1][0]}function ct(e){return e.sourcepos[0][1]}function ut(e){return e.sourcepos[1][1]}function ht(e){var t=e.type;return"htmlBlock"===t||"htmlInline"===t}function ft(e){var t=e.type;return"strike"===t||"strong"===t||"emph"===t||"code"===t||"link"===t||"image"===t}function dt(e){return e&&"codeBlock"===e.type}function At(e){return e&&("item"===e.type||"list"===e.type)}function pt(e){return At(e)&&"ordered"===e.listData.type}function mt(e){return At(e)&&"ordered"!==e.listData.type}function gt(e){return e&&("tableCell"===e.type||"tableDelimCell"===e.type)}function vt(e){switch(e.type){case"code":case"text":case"emph":case"strong":case"strike":case"link":case"image":case"htmlInline":case"linebreak":case"softbreak":case"customInline":return!0;default:return!1}}function bt(e,t,n){void 0===n&&(n=!0),e=n?e:e.parent;while(e&&"document"!==e.type){if(t(e))return e;e=e.parent}return null}function yt(e,t,n){void 0===n&&(n=!0),e=n?e:e.parent;while(e&&"document"!==e.type)t(e),e=e.parent}function wt(e,t){return[e[0],e[1]+t]}function xt(e,t){return[e[0],t]}function Ct(e){var t=e.firstChild.literal;switch(e.type){case"emph":return"*"+t+"*";case"strong":return"**"+t+"**";case"strike":return"~~"+t+"~~";case"code":return"`"+t+"`";case"link":case"image":var n=e,r=n.destination,i=n.title,o="link"===e.type?"":"!";return o+"["+t+"]("+r+(i?' "'+i+'"':"")+")";default:return null}}function kt(e){switch(e.type){case"document":case"blockQuote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"strike":case"link":case"image":case"table":case"tableHead":case"tableBody":case"tableRow":case"tableCell":case"tableDelimRow":case"customInline":return!0;default:return!1}}function _t(e){var t=[],n=e.walker(),r=null;while(r=n.next()){var i=r.node;"text"===i.type&&t.push(i.literal)}return t.join("")}var Et=[],Bt={},St=/\$\$widget\d+\s/;function Tt(e){var t=e.search(St);if(-1!==t){var n=e.substring(t),r=n.replace(St,"").replace("$$","");e=e.substring(0,t),e+=Tt(r)}return e}function Ot(e,t){return"$$"+e+" "+t+"$$"}function Ft(e,t){var n=Bt[e],r=n.rule,i=n.toDOM,o=Tt(t).match(r);return o&&(t=o[0]),i(t)}function Nt(){return Et}function Lt(e){Et=e,Et.forEach((function(e,t){Bt["widget"+t]=e}))}function It(e,t,n,r){return e.concat(Dt(t,n,r))}function Dt(e,t,n){void 0===n&&(n=0);var r=[],i=(Et[n]||{}).rule,o=n+1;if(e=Tt(e),i&&i.test(e)){var a=void 0;while(-1!==(a=e.search(i))){var s=e.substring(0,a);s&&(r=It(r,s,t,o)),e=e.substring(a);var l=e.match(i)[0],c="widget"+n;r.push(t.nodes.widget.create({info:c},t.text(Ot(c,l)))),e=e.substring(l.length)}e&&(r=It(r,e,t,o))}else e&&(r=n-1)}var Ht=Qt,$t=P,zt=et,Vt=Element.prototype,qt=Vt.matches||Vt.webkitMatchesSelector||Vt.mozMatchesSelector||Vt.msMatchesSelector||function(e){var t=this.document||this.ownerDocument;return $t(this,zt(t.querySelectorAll(e)))>-1};function Kt(e,t){return qt.call(e,t)}var Wt=Kt,Gt="[A-Za-z][A-Za-z0-9-]*",Yt="[a-zA-Z_:][a-zA-Z0-9:._-]*",Xt="[^\"'=<>`\\x00-\\x20]+",Jt="'[^']*'",Zt='"[^"]*"',en="(?:"+Xt+"|"+Jt+"|"+Zt+")",tn="(?:\\s*=\\s*"+en+")",nn="(?:\\s+"+Yt+tn+"?)",rn="<("+Gt+")("+nn+")*\\s*/?>",on="]",an="(?:"+rn+"|"+on+")",sn=new RegExp("^"+an,"i"),ln=//i,cn=/|/,un="

",hn="a";function fn(e,t,n){var r=parseInt(e.left,10),i=parseInt(e.top,10),o=parseInt(e.width,10)+parseInt(e.paddingLeft,10)+parseInt(e.paddingRight,10),a=parseInt(e.height,10)+parseInt(e.paddingTop,10)+parseInt(e.paddingBottom,10);return t>=r&&t<=r+o&&n>=i&&n<=i+a}var dn="toastui-editor-";function An(){for(var e=[],t=0;t<\/p>/gi,"

"),n=new RegExp(an,"ig"),r=t.match(n);return null===r||void 0===r||r.forEach((function(e,n){if(ln.test(e)){var i=un;if(n){var o=r[n-1],a=o.match(rn);if(a&&!/br/i.test(a[1])){var s=a[1];i="<"+s+">"}}t=t.replace(ln,i)}})),t}function On(e){var t=//g,n=/ class="ProseMirror-trailingBreak"/g,r=e;return r=r.replace(t,""),r=r.replace(n,""),r}var Fn=new a["PluginKey"]("widget"),Nn=5,Ln=function(){function e(e,t){var n=this;this.popup=null,this.removeWidget=function(){n.popup&&(n.rootEl.removeChild(n.popup),n.popup=null)},this.rootEl=e.dom.parentElement,this.eventEmitter=t,this.eventEmitter.listen("blur",this.removeWidget),this.eventEmitter.listen("loadUI",(function(){n.rootEl=En(e.dom.parentElement,"."+An("defaultUI"))})),this.eventEmitter.listen("removePopupWidget",this.removeWidget)}return e.prototype.update=function(e){var t=Fn.getState(e.state);if(this.removeWidget(),t){var n=t.node,r=t.style,i=e.coordsAtPos(t.pos),o=i.top,a=i.left,s=i.bottom,l=s-o,c=this.rootEl.getBoundingClientRect(),u=o-c.top;I(n,{opacity:"0"}),this.rootEl.appendChild(n),I(n,{position:"absolute",left:a-c.left+Nn+"px",top:("bottom"===r?u+l-Nn:u-l)+"px",opacity:"1"}),this.popup=n,e.focus()}},e.prototype.destroy=function(){this.eventEmitter.removeEventHandler("blur",this.removeWidget)},e}();function In(e){return new a["Plugin"]({key:Fn,state:{init:function(){return null},apply:function(e){return e.getMeta("widget")}},view:function(t){return new Ln(t,e)}})}function Dn(e){e.listen("addImageBlobHook",(function(e,t){var n=new FileReader;n.onload=function(e){var n=e.target;return t(n.result)},n.readAsDataURL(e)}))}function Mn(e,t,n){var r=function(n,r){e.emit("command","addImage",{imageUrl:n,altText:r||t.name||"image"})};e.emit("addImageBlobHook",t,r,n)}function Pn(e){var t=et(e).filter((function(e){var t=e.type;return-1!==t.indexOf("image")}));if(1===t.length){var n=t[0];if(n)return n.getAsFile()}return null}function Un(e){var t=e.eventEmitter;return new a["Plugin"]({props:{handleDOMEvents:{drop:function(e,n){var r,i=null===(r=n.dataTransfer)||void 0===r?void 0:r.files;return i&&_(i,(function(e){return-1===e.type.indexOf("image")||(n.preventDefault(),n.stopPropagation(),Mn(t,e,n.type),!1)})),!0}}}})}var Rn=function(){function e(){}return Object.defineProperty(e.prototype,"type",{get:function(){return"node"},enumerable:!1,configurable:!0}),e.prototype.setContext=function(e){this.context=e},e}();function jn(e){var t=document.createElement("span"),n=Ft(e.attrs.info,e.textContent);return t.className="tui-widget",t.appendChild(n),{dom:t}}function Qn(e){return"widget"===e.type.name}var Hn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"widget"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{info:{default:null}},group:"inline",inline:!0,content:"text*",selectable:!1,atom:!0,toDOM:function(){return["span",{class:"tui-widget"},0]},parseDOM:[{tag:"span.tui-widget",getAttrs:function(e){var t=e.textContent,n=t.match(/\$\$(widget\d+)/),r=n[1];return{info:r}}}]}},enumerable:!1,configurable:!0}),t}(Rn),$n=function(){function e(e){this.timer=null,this.el=document.createElement("div"),this.el.className="toastui-editor",this.eventEmitter=e,this.placeholder={text:""}}return e.prototype.createState=function(){return a["EditorState"].create({schema:this.schema,plugins:this.createPlugins()})},e.prototype.initEvent=function(){var e=this,t=e.eventEmitter,n=e.view,r=e.editorType;n.dom.addEventListener("focus",(function(){return t.emit("focus",r)})),n.dom.addEventListener("blur",(function(){return t.emit("blur",r)}))},e.prototype.emitChangeEvent=function(e){this.eventEmitter.emit("caretChange",this.editorType),e.docChanged&&this.eventEmitter.emit("change",this.editorType)},Object.defineProperty(e.prototype,"defaultPlugins",{get:function(){var e=this.createInputRules(),t=A(A([],this.keymaps),[Object(s["keymap"])(d({"Shift-Enter":l["a"].Enter},l["a"])),Object(u["a"])(),Ut(this.placeholder),In(this.eventEmitter),Un(this.context)]);return e?t.concat(e):t},enumerable:!1,configurable:!0}),e.prototype.createInputRules=function(){var e=Nt(),t=e.map((function(e){var t=e.rule;return new c["InputRule"](t,(function(e,n,r,i){var o=e.schema,a=e.tr,s=e.doc,l=n.input.match(new RegExp(t,"g")),c=s.resolve(r),u=c.parent,h=0;if(Qn(u)&&(u=c.node(c.depth-1)),u.forEach((function(e){return Qn(e)&&(h+=1)})),l.length>h){var f=He(l),d=Dt(f,o);return a.replaceWith(i-f.length+1,i,d)}return null}))}));return t.length?Object(c["inputRules"])({rules:t}):null},e.prototype.clearTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.createSchema=function(){return new r["Schema"]({nodes:this.specs.nodes,marks:this.specs.marks})},e.prototype.createKeymaps=function(e){var t=Pt(),n=t.undo,r=t.redo,i=this.specs.keymaps(e),o={"Mod-z":n(),"Shift-Mod-z":r()};return e?i.concat(Object(s["keymap"])(o)):i},e.prototype.createCommands=function(){return this.specs.commands(this.view)},e.prototype.createPluginProps=function(){var e=this;return this.extraPlugins.map((function(t){return t(e.eventEmitter)}))},e.prototype.focus=function(){var e=this;this.clearTimer(),this.timer=setTimeout((function(){e.view.focus(),e.view.dispatch(e.view.state.tr.scrollIntoView())}))},e.prototype.blur=function(){this.view.dom.blur()},e.prototype.destroy=function(){var e=this;this.clearTimer(),this.view.destroy(),Object.keys(this).forEach((function(t){delete e[t]}))},e.prototype.moveCursorToStart=function(e){var t=this.view.state.tr;this.view.dispatch(t.setSelection(rt(t,1)).scrollIntoView()),e&&this.focus()},e.prototype.moveCursorToEnd=function(e){var t=this.view.state.tr;this.view.dispatch(t.setSelection(rt(t,t.doc.content.size-1)).scrollIntoView()),e&&this.focus()},e.prototype.setScrollTop=function(e){this.view.dom.scrollTop=e},e.prototype.getScrollTop=function(){return this.view.dom.scrollTop},e.prototype.setPlaceholder=function(e){this.placeholder.text=e,this.view.dispatch(this.view.state.tr.scrollIntoView())},e.prototype.setHeight=function(e){I(this.el,{height:e+"px"})},e.prototype.setMinHeight=function(e){I(this.el,{minHeight:e+"px"})},e.prototype.getElement=function(){return this.el},e}();function zn(e){return e instanceof Function}var Vn=zn,qn=["Enter","Shift-Enter","Mod-Enter","Tab","Shift-Tab","Delete","Backspace","Mod-Delete","Mod-Backspace","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Mod-d","Mod-D","Alt-ArrowUp","Alt-ArrowDown"];function Kn(e,t,n){return e.focus(),t(n)(e.state,e.dispatch,e)}var Wn=function(){function e(e){this.specs=e}return Object.defineProperty(e.prototype,"nodes",{get:function(){return this.specs.filter((function(e){return"node"===e.type})).reduce((function(e,t){var n,r=t.name,i=t.schema;return d(d({},e),(n={},n[r]=i,n))}),{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"marks",{get:function(){return this.specs.filter((function(e){return"mark"===e.type})).reduce((function(e,t){var n,r=t.name,i=t.schema;return d(d({},e),(n={},n[r]=i,n))}),{})},enumerable:!1,configurable:!0}),e.prototype.commands=function(e,t){var n=this.specs.filter((function(e){var t=e.commands;return t})).reduce((function(t,n){var r={},i=n.commands();return Vn(i)?r[n.name]=function(t){return Kn(e,i,t)}:Object.keys(i).forEach((function(t){r[t]=function(n){return Kn(e,i[t],n)}})),d(d({},t),r)}),{}),r=Pt();return Object.keys(r).forEach((function(t){n[t]=function(n){return Kn(e,r[t],n)}})),t&&Object.keys(t).forEach((function(r){n[r]=function(n){return Kn(e,t[r],n)}})),n},e.prototype.keymaps=function(e){var t=this.specs.filter((function(e){return e.keymaps})).map((function(e){return e.keymaps()}));return t.map((function(t){return e||Object.keys(t).forEach((function(e){Fe(qn,e)||delete t[e]})),Object(s["keymap"])(t)}))},e.prototype.setContext=function(e){this.specs.forEach((function(t){t.setContext(e)}))},e}();function Gn(e){var t=e.from,n=e.to;return e instanceof a["AllSelection"]?[t+1,n-1]:[t,n]}function Yn(e){return e.index(0)+1}function Xn(e,t,n){void 0===n&&(n=1);var r=0;return e.forEach((function(e,i){Qn(e)&&i+2 ?/,ti=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"blockQuote"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:pn("block-quote")},0]}}},enumerable:!1,configurable:!0}),t.prototype.createBlockQuoteText=function(e,t){return t?e.replace(ei,"").trim():"> "+e.trim()},t.prototype.extendBlockQuote=function(){var e=this;return function(t,n){var r=t.selection,i=t.doc,o=t.tr,a=t.schema,s=tr(r),l=s.endFromOffset,c=s.endToOffset,u=s.endIndex,h=s.to,f=Zr(i,u),d=ei.test(f);if(d&&h>l&&r.empty){var A=!f.replace(ei,"").trim();if(A)o.deleteRange(l,c).split(o.mapping.map(c));else{var p=f.slice(h-l).trim(),m=nt(a,e.createBlockQuoteText(p));at(o,c,p,m)}return n(o),!0}return!1}},t.prototype.commands=function(){var e=this;return function(){return function(t,n){var r=t.selection,i=t.doc,o=tr(r),a=o.startFromOffset,s=o.endToOffset,l=o.startIndex,c=o.endIndex,u=ei.test(Zr(i,l)),h=ot({state:t,startIndex:l,endIndex:c,from:a,createText:function(t){return e.createBlockQuoteText(t,u)}});return n(h.setSelection(rt(h,h.mapping.map(s)))),!0}}},t.prototype.keymaps=function(){var e=this.commands()();return{"alt-q":e,"alt-Q":e,Enter:this.extendBlockQuote()}},t}(Xr),ni=/(^\s*)([-*+] |[\d]+\. )/,ri=/(^\s*)([\d])+\.( \[[ xX]])? /,ii=/^(\s*)((\d+)([.)]\s(?:\[(?:x|\s)\]\s)?))(.*)/,oi=/(^\s*)([-*+]|[\d]+\.)( \[[ xX]])? /,ai=/^(\s*)([-*+]+(\s(?:\[(?:x|\s)\]\s)?))(.*)/,si=/(^\s*)([-*+] |[\d]+\. )(\[[ xX]] )/,li=/(^\s*)([-*+])( \[[ xX]]) /;function ci(e){return ri.test(e)?"ordered":"bullet"}function ui(e){var t=0;while(e&&"document"!==e.type)"list"===e.type&&(t+=1),e=e.parent;return t}function hi(e,t,n,r){var i=e.getLineTexts(),o=i.length,a=[],s=t;while(r?s1){s=r?s+1:s-1;var l=e.findFirstNodeAtLine(s),c=ui(l);if(c===n)a.push({line:s,depth:n,mdNode:l});else if(c0;c-=1){var u=t.findFirstNodeAtLine(c),h=Jr(n,c),f=h&&!!bt(u,(function(e){return At(e)})),d=ii.exec(Jr(n,c));if(!d&&!f)break;if(d||!f){var A=d,p=A[1],m=A[3];if(!p){a=Number(m),s=c;break}}else l+=1}var g=a+r-s-l,v=[{text:g+". "+o,line:r}];return{changedResults:v}},task:function(e){var t=e.doc,n=e.line,r=Jr(t,n),i=[{text:"* [ ] "+r,line:n}];return{changedResults:i}}},bi={bullet:function(e){var t=e.line,n=e.doc,r=Jr(n,t),i=ai.exec(r),o=i[1],a=i[2];return{listSyntax:""+o+a}},ordered:function(e){var t=e.toastMark,n=e.line,r=e.mdNode,i=e.doc,o=ui(r),a=Jr(i,n),s=ii.exec(a),l=s[1],c=s[3],u=s[4],h=Number(c)+1,f=""+l+h+u,A=hi(t,n,o,!0),p=A.filter((function(e){var t=ii.exec(Jr(i,e.line));return t&&t[1].length===l.length&&!!bt(e.mdNode,(function(e){return pt(e)}))}));return d({listSyntax:f},pi(i,p,"ordered",h))}};function yi(e,t,n,r,i){var o=[],a=Jr(e,n),s=ii.exec(a);while(s){var l=s[1],c=s[4],u=s[5],h=l.length;if(h===i)o.push(nt(t,""+l+r+c+u)),r+=1,n+=1;else if(h>i){var f=yi(e,t,n,1,h);n=f.line,o=o.concat(f.nodes)}if(he.childCount)break;a=Jr(e,n),s=ii.exec(a)}return{nodes:o,line:n}}var wi=/(^\s{1,4})(.*)/;function xi(e,t,n){return e0){var u=r.child(c-1),h=u.nodeSize,f=u.textContent;return n.delete(s-h,s).split(n.mapping.map(l)).insert(n.mapping.map(l),nt(o,f)),t(n),!0}return!1}},t.prototype.commands=function(){return{indent:this.indent(),outdent:this.outdent()}},t.prototype.keymaps=function(){return{Tab:this.indent(!0)(),"Shift-Tab":this.outdent(!0)(),"Mod-d":this.deleteLines(),"Mod-D":this.deleteLines(),"Alt-ArrowUp":this.moveUp(),"Alt-ArrowDown":this.moveDown()}},t}(Rn),Ei=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"text"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{group:"inline"}},enumerable:!1,configurable:!0}),t}(Rn),Bi=/^#{1,6}\s/,Si=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"heading"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{level:{default:1},seText:{default:!1}},toDOM:function(e){var t=e.attrs,n=t.level,r=t.seText,i="heading|heading"+n;return r&&(i+="|delimiter|setext"),["span",{class:pn.apply(void 0,i.split("|"))},0]}}},enumerable:!1,configurable:!0}),t.prototype.createHeadingText=function(e,t,n){var r=t.replace(n,"").trim(),i="";while(e>0)i+="#",e-=1;return i+" "+r},t.prototype.commands=function(){var e=this;return function(t){return function(n,r){var i=t.level,o=tr(n.selection),a=o.startFromOffset,s=o.endToOffset,l=o.startIndex,c=o.endIndex,u=ot({state:n,from:a,startIndex:l,endIndex:c,createText:function(t){var n=t.match(Bi),r=n?n[0]:"";return e.createHeadingText(i,t,r)}});return r(u.setSelection(rt(u,u.mapping.map(s)))),!0}}},t}(Xr),Ti="```",Oi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"codeBlock"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:pn("code-block")},0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t){var n=e.selection,r=e.schema,i=e.tr,o=tr(n),a=o.startFromOffset,s=o.endToOffset,l=nt(r,Ti);return i.insert(a,l).split(a+Ti.length),i.split(i.mapping.map(s)).insert(i.mapping.map(s),l),t(i.setSelection(rt(i,i.mapping.map(s)-(Ti.length+2)))),!0}}},t.prototype.keepIndentation=function(){var e=this;return function(t,n){var r=t.selection,i=t.tr,o=t.doc,a=t.schema,s=e.context.toastMark,l=tr(r),c=l.startFromOffset,u=l.endToOffset,h=l.endIndex,f=l.from,d=l.to,A=Zr(o,h);if(f===d&&A.trim()){var p=A.match(/^\s+/),m=s.findFirstNodeAtLine(h+1);if(dt(m)&&p){var g=p[0],v=A.slice(d-c),b=nt(a,g+v);return at(i,u,v,b),n(i),!0}}return!1}},t.prototype.keymaps=function(){var e=this.commands()();return{"Shift-Mod-p":e,"Shift-Mod-P":e,Enter:this.keepIndentation()}},t}(Xr),Fi=/\||\s/g;function Ni(e){return[Ii(e),Ii(e,!0)]}function Li(e,t){for(var n=[],r=0;r0&&(t+="\n")})),t},t.prototype.setSelection=function(e,t){void 0===t&&(t=e);var n=this.view.state.tr,r=er(n.doc,e,t),i=r[0],o=r[1];this.view.dispatch(n.setSelection(rt(n,i,o)).scrollIntoView())},t.prototype.replaceSelection=function(e,t,n){var i,o=this.view.state,a=o.tr,s=o.schema,l=o.doc,c=e.split(Ao),u=c.map((function(e){return tt(s,Dt(e,s))})),h=new r["Slice"](r["Fragment"].from(u),1,1);if(this.focus(),t&&n){var f=er(l,t,n),d=f[0],A=f[1];i=a.replaceRange(d,A,h)}else i=a.replaceSelection(h);this.view.dispatch(i.scrollIntoView())},t.prototype.deleteSelection=function(e,t){var n,r=this.view.state,i=r.tr,o=r.doc;if(e&&t){var a=er(o,e,t),s=a[0],l=a[1];n=i.deleteRange(s,l)}else n=i.deleteSelection();this.view.dispatch(n.scrollIntoView())},t.prototype.getSelectedText=function(e,t){var n=this.view.state,r=n.doc,i=n.selection,o=i.from,a=i.to;if(e&&t){var s=er(r,e,t);o=s[0],a=s[1]}return r.textBetween(o,a,"\n")},t.prototype.getSelection=function(){var e=this.view.state.selection,t=e.from,n=e.to;return Jn(this.view.state.tr.doc,t,n)},t.prototype.setMarkdown=function(e,t){void 0===t&&(t=!0);var n=e.split(Ao),r=this.view.state,i=r.tr,o=r.doc,a=r.schema,s=n.map((function(e){return tt(a,Dt(e,a))}));this.view.dispatch(i.replaceWith(0,o.content.size,s)),t&&this.moveCursorToEnd(!0)},t.prototype.addWidget=function(e,t,n){var r=this.view.state,i=r.tr,o=r.doc,a=r.selection,s=n?er(o,n,n)[0]:a.to;this.view.dispatch(i.setMeta("widget",{pos:s,node:e,style:t}))},t.prototype.replaceWithWidget=function(e,t,n){var r=this.view.state,i=r.tr,o=r.schema,a=r.doc,s=er(a,e,t),l=Dt(n,o);this.view.dispatch(i.replaceWith(s[0],s[1],l))},t.prototype.getRangeInfoOfNode=function(e){var t=this.view.state,n=t.doc,r=t.selection,i=e||Jn(n,r.from)[0],o=this.toastMark.findNodeAtPosition(i);return"text"===o.type&&"paragraph"!==o.parent.type&&(o=o.parent),o.sourcepos[1][1]+=1,{range:o.sourcepos,type:o.type}},t.prototype.getMarkdown=function(){return this.toastMark.getLineTexts().map((function(e){return Tt(e)})).join("\n")},t.prototype.getToastMark=function(){return this.toastMark},t}($n),mo="_feEventKey";function go(e,t){var n,r=e[mo];return r||(r=e[mo]={}),n=r[t],n||(n=r[t]=[]),n}var vo=go,bo=w,yo=O,wo=vo;function xo(e,t,n){bo(t)?yo(t.split(/\s+/g),(function(t){Co(e,t,n)})):yo(t,(function(t,n){Co(e,n,t)}))}function Co(e,t,n){var r,i=wo(e,t);n?(yo(i,(function(i,o){return n!==i.handler||(ko(e,t,i.wrappedHandler),r=o,!1)})),i.splice(r,1)):(yo(i,(function(n){ko(e,t,n.wrappedHandler)})),i.splice(0,i.length))}function ko(e,t,n){"removeEventListener"in e?e.removeEventListener(t,n):"detachEvent"in e&&e.detachEvent("on"+t,n)}var _o=xo,Eo=w,Bo=O,So=vo;function To(e,t,n,r){Eo(t)?Bo(t.split(/\s+/g),(function(t){Oo(e,t,n,r)})):Bo(t,(function(t,r){Oo(e,r,t,n)}))}function Oo(e,t,n,r){function i(t){n.call(r||e,t||window.event)}"addEventListener"in e?e.addEventListener(t,i):"attachEvent"in e&&e.attachEvent("on"+t,i),Fo(e,t,n,i)}function Fo(e,t,n,r){var i=So(e,t),o=!1;Bo(i,(function(e){return e.handler!==n||(o=!0,!1)})),o||i.push({handler:n,wrappedHandler:r})}var No=To,Lo=function(e,t){return Lo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Lo(e,t)}; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */function Io(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Lo(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Do=function(){return Do=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=55296&&o<=57343){if(o>=55296&&o<=56319&&r+1=56320&&a<=57343)){l+=encodeURIComponent(e[r]+e[r+1]),r++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[r]);return l}jo.defaultChars=";/?:@&=+$,-_.!~*'()#",jo.componentChars="-_.!~*'()";var Qo=jo,Ho={},$o={},zo="Á",Vo="á",qo="Ă",Ko="ă",Wo="∾",Go="∿",Yo="∾̳",Xo="Â",Jo="â",Zo="´",ea="А",ta="а",na="Æ",ra="æ",ia="⁡",oa="𝔄",aa="𝔞",sa="À",la="à",ca="ℵ",ua="ℵ",ha="Α",fa="α",da="Ā",Aa="ā",pa="⨿",ma="&",ga="&",va="⩕",ba="⩓",ya="∧",wa="⩜",xa="⩘",Ca="⩚",ka="∠",_a="⦤",Ea="∠",Ba="⦨",Sa="⦩",Ta="⦪",Oa="⦫",Fa="⦬",Na="⦭",La="⦮",Ia="⦯",Da="∡",Ma="∟",Pa="⊾",Ua="⦝",Ra="∢",ja="Å",Qa="⍼",Ha="Ą",$a="ą",za="𝔸",Va="𝕒",qa="⩯",Ka="≈",Wa="⩰",Ga="≊",Ya="≋",Xa="'",Ja="⁡",Za="≈",es="≊",ts="Å",ns="å",rs="𝒜",is="𝒶",os="≔",as="*",ss="≈",ls="≍",cs="Ã",us="ã",hs="Ä",fs="ä",ds="∳",As="⨑",ps="≌",ms="϶",gs="‵",vs="∽",bs="⋍",ys="∖",ws="⫧",xs="⊽",Cs="⌅",ks="⌆",_s="⌅",Es="⎵",Bs="⎶",Ss="≌",Ts="Б",Os="б",Fs="„",Ns="∵",Ls="∵",Is="∵",Ds="⦰",Ms="϶",Ps="ℬ",Us="ℬ",Rs="Β",js="β",Qs="ℶ",Hs="≬",$s="𝔅",zs="𝔟",Vs="⋂",qs="◯",Ks="⋃",Ws="⨀",Gs="⨁",Ys="⨂",Xs="⨆",Js="★",Zs="▽",el="△",tl="⨄",nl="⋁",rl="⋀",il="⤍",ol="⧫",al="▪",sl="▴",ll="▾",cl="◂",ul="▸",hl="␣",fl="▒",dl="░",Al="▓",pl="█",ml="=⃥",gl="≡⃥",vl="⫭",bl="⌐",yl="𝔹",wl="𝕓",xl="⊥",Cl="⊥",kl="⋈",_l="⧉",El="┐",Bl="╕",Sl="╖",Tl="╗",Ol="┌",Fl="╒",Nl="╓",Ll="╔",Il="─",Dl="═",Ml="┬",Pl="╤",Ul="╥",Rl="╦",jl="┴",Ql="╧",Hl="╨",$l="╩",zl="⊟",Vl="⊞",ql="⊠",Kl="┘",Wl="╛",Gl="╜",Yl="╝",Xl="└",Jl="╘",Zl="╙",ec="╚",tc="│",nc="║",rc="┼",ic="╪",oc="╫",ac="╬",sc="┤",lc="╡",cc="╢",uc="╣",hc="├",fc="╞",dc="╟",Ac="╠",pc="‵",mc="˘",gc="˘",vc="¦",bc="𝒷",yc="ℬ",wc="⁏",xc="∽",Cc="⋍",kc="⧅",_c="\\",Ec="⟈",Bc="•",Sc="•",Tc="≎",Oc="⪮",Fc="≏",Nc="≎",Lc="≏",Ic="Ć",Dc="ć",Mc="⩄",Pc="⩉",Uc="⩋",Rc="∩",jc="⋒",Qc="⩇",Hc="⩀",$c="ⅅ",zc="∩︀",Vc="⁁",qc="ˇ",Kc="ℭ",Wc="⩍",Gc="Č",Yc="č",Xc="Ç",Jc="ç",Zc="Ĉ",eu="ĉ",tu="∰",nu="⩌",ru="⩐",iu="Ċ",ou="ċ",au="¸",su="¸",lu="⦲",cu="¢",uu="·",hu="·",fu="𝔠",du="ℭ",Au="Ч",pu="ч",mu="✓",gu="✓",vu="Χ",bu="χ",yu="ˆ",wu="≗",xu="↺",Cu="↻",ku="⊛",_u="⊚",Eu="⊝",Bu="⊙",Su="®",Tu="Ⓢ",Ou="⊖",Fu="⊕",Nu="⊗",Lu="○",Iu="⧃",Du="≗",Mu="⨐",Pu="⫯",Uu="⧂",Ru="∲",ju="”",Qu="’",Hu="♣",$u="♣",zu=":",Vu="∷",qu="⩴",Ku="≔",Wu="≔",Gu=",",Yu="@",Xu="∁",Ju="∘",Zu="∁",eh="ℂ",th="≅",nh="⩭",rh="≡",ih="∮",oh="∯",ah="∮",sh="𝕔",lh="ℂ",ch="∐",uh="∐",hh="©",fh="©",dh="℗",Ah="∳",ph="↵",mh="✗",gh="⨯",vh="𝒞",bh="𝒸",yh="⫏",wh="⫑",xh="⫐",Ch="⫒",kh="⋯",_h="⤸",Eh="⤵",Bh="⋞",Sh="⋟",Th="↶",Oh="⤽",Fh="⩈",Nh="⩆",Lh="≍",Ih="∪",Dh="⋓",Mh="⩊",Ph="⊍",Uh="⩅",Rh="∪︀",jh="↷",Qh="⤼",Hh="⋞",$h="⋟",zh="⋎",Vh="⋏",qh="¤",Kh="↶",Wh="↷",Gh="⋎",Yh="⋏",Xh="∲",Jh="∱",Zh="⌭",ef="†",tf="‡",nf="ℸ",rf="↓",of="↡",af="⇓",sf="‐",lf="⫤",cf="⊣",uf="⤏",hf="˝",ff="Ď",df="ď",Af="Д",pf="д",mf="‡",gf="⇊",vf="ⅅ",bf="ⅆ",yf="⤑",wf="⩷",xf="°",Cf="∇",kf="Δ",_f="δ",Ef="⦱",Bf="⥿",Sf="𝔇",Tf="𝔡",Of="⥥",Ff="⇃",Nf="⇂",Lf="´",If="˙",Df="˝",Mf="`",Pf="˜",Uf="⋄",Rf="⋄",jf="⋄",Qf="♦",Hf="♦",$f="¨",zf="ⅆ",Vf="ϝ",qf="⋲",Kf="÷",Wf="÷",Gf="⋇",Yf="⋇",Xf="Ђ",Jf="ђ",Zf="⌞",ed="⌍",td="$",nd="𝔻",rd="𝕕",id="¨",od="˙",ad="⃜",sd="≐",ld="≑",cd="≐",ud="∸",hd="∔",fd="⊡",dd="⌆",Ad="∯",pd="¨",md="⇓",gd="⇐",vd="⇔",bd="⫤",yd="⟸",wd="⟺",xd="⟹",Cd="⇒",kd="⊨",_d="⇑",Ed="⇕",Bd="∥",Sd="⤓",Td="↓",Od="↓",Fd="⇓",Nd="⇵",Ld="̑",Id="⇊",Dd="⇃",Md="⇂",Pd="⥐",Ud="⥞",Rd="⥖",jd="↽",Qd="⥟",Hd="⥗",$d="⇁",zd="↧",Vd="⊤",qd="⤐",Kd="⌟",Wd="⌌",Gd="𝒟",Yd="𝒹",Xd="Ѕ",Jd="ѕ",Zd="⧶",eA="Đ",tA="đ",nA="⋱",rA="▿",iA="▾",oA="⇵",aA="⥯",sA="⦦",lA="Џ",cA="џ",uA="⟿",hA="É",fA="é",dA="⩮",AA="Ě",pA="ě",mA="Ê",gA="ê",vA="≖",bA="≕",yA="Э",wA="э",xA="⩷",CA="Ė",kA="ė",_A="≑",EA="ⅇ",BA="≒",SA="𝔈",TA="𝔢",OA="⪚",FA="È",NA="è",LA="⪖",IA="⪘",DA="⪙",MA="∈",PA="⏧",UA="ℓ",RA="⪕",jA="⪗",QA="Ē",HA="ē",$A="∅",zA="∅",VA="◻",qA="∅",KA="▫",WA=" ",GA=" ",YA=" ",XA="Ŋ",JA="ŋ",ZA=" ",ep="Ę",tp="ę",np="𝔼",rp="𝕖",ip="⋕",op="⧣",ap="⩱",sp="ε",lp="Ε",cp="ε",up="ϵ",hp="≖",fp="≕",dp="≂",Ap="⪖",pp="⪕",mp="⩵",gp="=",vp="≂",bp="≟",yp="⇌",wp="≡",xp="⩸",Cp="⧥",kp="⥱",_p="≓",Ep="ℯ",Bp="ℰ",Sp="≐",Tp="⩳",Op="≂",Fp="Η",Np="η",Lp="Ð",Ip="ð",Dp="Ë",Mp="ë",Pp="€",Up="!",Rp="∃",jp="∃",Qp="ℰ",Hp="ⅇ",$p="ⅇ",zp="≒",Vp="Ф",qp="ф",Kp="♀",Wp="ffi",Gp="ff",Yp="ffl",Xp="𝔉",Jp="𝔣",Zp="fi",em="◼",tm="▪",nm="fj",rm="♭",im="fl",om="▱",am="ƒ",sm="𝔽",lm="𝕗",cm="∀",um="∀",hm="⋔",fm="⫙",dm="ℱ",Am="⨍",pm="½",mm="⅓",gm="¼",vm="⅕",bm="⅙",ym="⅛",wm="⅔",xm="⅖",Cm="¾",km="⅗",_m="⅜",Em="⅘",Bm="⅚",Sm="⅝",Tm="⅞",Om="⁄",Fm="⌢",Nm="𝒻",Lm="ℱ",Im="ǵ",Dm="Γ",Mm="γ",Pm="Ϝ",Um="ϝ",Rm="⪆",jm="Ğ",Qm="ğ",Hm="Ģ",$m="Ĝ",zm="ĝ",Vm="Г",qm="г",Km="Ġ",Wm="ġ",Gm="≥",Ym="≧",Xm="⪌",Jm="⋛",Zm="≥",eg="≧",tg="⩾",ng="⪩",rg="⩾",ig="⪀",og="⪂",ag="⪄",sg="⋛︀",lg="⪔",cg="𝔊",ug="𝔤",hg="≫",fg="⋙",dg="⋙",Ag="ℷ",pg="Ѓ",mg="ѓ",gg="⪥",vg="≷",bg="⪒",yg="⪤",wg="⪊",xg="⪊",Cg="⪈",kg="≩",_g="⪈",Eg="≩",Bg="⋧",Sg="𝔾",Tg="𝕘",Og="`",Fg="≥",Ng="⋛",Lg="≧",Ig="⪢",Dg="≷",Mg="⩾",Pg="≳",Ug="𝒢",Rg="ℊ",jg="≳",Qg="⪎",Hg="⪐",$g="⪧",zg="⩺",Vg=">",qg=">",Kg="≫",Wg="⋗",Gg="⦕",Yg="⩼",Xg="⪆",Jg="⥸",Zg="⋗",ev="⋛",tv="⪌",nv="≷",rv="≳",iv="≩︀",ov="≩︀",av="ˇ",sv=" ",lv="½",cv="ℋ",uv="Ъ",hv="ъ",fv="⥈",dv="↔",Av="⇔",pv="↭",mv="^",gv="ℏ",vv="Ĥ",bv="ĥ",yv="♥",wv="♥",xv="…",Cv="⊹",kv="𝔥",_v="ℌ",Ev="ℋ",Bv="⤥",Sv="⤦",Tv="⇿",Ov="∻",Fv="↩",Nv="↪",Lv="𝕙",Iv="ℍ",Dv="―",Mv="─",Pv="𝒽",Uv="ℋ",Rv="ℏ",jv="Ħ",Qv="ħ",Hv="≎",$v="≏",zv="⁃",Vv="‐",qv="Í",Kv="í",Wv="⁣",Gv="Î",Yv="î",Xv="И",Jv="и",Zv="İ",eb="Е",tb="е",nb="¡",rb="⇔",ib="𝔦",ob="ℑ",ab="Ì",sb="ì",lb="ⅈ",cb="⨌",ub="∭",hb="⧜",fb="℩",db="IJ",Ab="ij",pb="Ī",mb="ī",gb="ℑ",vb="ⅈ",bb="ℐ",yb="ℑ",wb="ı",xb="ℑ",Cb="⊷",kb="Ƶ",_b="⇒",Eb="℅",Bb="∞",Sb="⧝",Tb="ı",Ob="⊺",Fb="∫",Nb="∬",Lb="ℤ",Ib="∫",Db="⊺",Mb="⋂",Pb="⨗",Ub="⨼",Rb="⁣",jb="⁢",Qb="Ё",Hb="ё",$b="Į",zb="į",Vb="𝕀",qb="𝕚",Kb="Ι",Wb="ι",Gb="⨼",Yb="¿",Xb="𝒾",Jb="ℐ",Zb="∈",ey="⋵",ty="⋹",ny="⋴",ry="⋳",iy="∈",oy="⁢",ay="Ĩ",sy="ĩ",ly="І",cy="і",uy="Ï",hy="ï",fy="Ĵ",dy="ĵ",Ay="Й",py="й",my="𝔍",gy="𝔧",vy="ȷ",by="𝕁",yy="𝕛",wy="𝒥",xy="𝒿",Cy="Ј",ky="ј",_y="Є",Ey="є",By="Κ",Sy="κ",Ty="ϰ",Oy="Ķ",Fy="ķ",Ny="К",Ly="к",Iy="𝔎",Dy="𝔨",My="ĸ",Py="Х",Uy="х",Ry="Ќ",jy="ќ",Qy="𝕂",Hy="𝕜",$y="𝒦",zy="𝓀",Vy="⇚",qy="Ĺ",Ky="ĺ",Wy="⦴",Gy="ℒ",Yy="Λ",Xy="λ",Jy="⟨",Zy="⟪",ew="⦑",tw="⟨",nw="⪅",rw="ℒ",iw="«",ow="⇤",aw="⤟",sw="←",lw="↞",cw="⇐",uw="⤝",hw="↩",fw="↫",dw="⤹",Aw="⥳",pw="↢",mw="⤙",gw="⤛",vw="⪫",bw="⪭",yw="⪭︀",ww="⤌",xw="⤎",Cw="❲",kw="{",_w="[",Ew="⦋",Bw="⦏",Sw="⦍",Tw="Ľ",Ow="ľ",Fw="Ļ",Nw="ļ",Lw="⌈",Iw="{",Dw="Л",Mw="л",Pw="⤶",Uw="“",Rw="„",jw="⥧",Qw="⥋",Hw="↲",$w="≤",zw="≦",Vw="⟨",qw="⇤",Kw="←",Ww="←",Gw="⇐",Yw="⇆",Xw="↢",Jw="⌈",Zw="⟦",ex="⥡",tx="⥙",nx="⇃",rx="⌊",ix="↽",ox="↼",ax="⇇",sx="↔",lx="↔",cx="⇔",ux="⇆",hx="⇋",fx="↭",dx="⥎",Ax="↤",px="⊣",mx="⥚",gx="⋋",vx="⧏",bx="⊲",yx="⊴",wx="⥑",xx="⥠",Cx="⥘",kx="↿",_x="⥒",Ex="↼",Bx="⪋",Sx="⋚",Tx="≤",Ox="≦",Fx="⩽",Nx="⪨",Lx="⩽",Ix="⩿",Dx="⪁",Mx="⪃",Px="⋚︀",Ux="⪓",Rx="⪅",jx="⋖",Qx="⋚",Hx="⪋",$x="⋚",zx="≦",Vx="≶",qx="≶",Kx="⪡",Wx="≲",Gx="⩽",Yx="≲",Xx="⥼",Jx="⌊",Zx="𝔏",eC="𝔩",tC="≶",nC="⪑",rC="⥢",iC="↽",oC="↼",aC="⥪",sC="▄",lC="Љ",cC="љ",uC="⇇",hC="≪",fC="⋘",dC="⌞",AC="⇚",pC="⥫",mC="◺",gC="Ŀ",vC="ŀ",bC="⎰",yC="⎰",wC="⪉",xC="⪉",CC="⪇",kC="≨",_C="⪇",EC="≨",BC="⋦",SC="⟬",TC="⇽",OC="⟦",FC="⟵",NC="⟵",LC="⟸",IC="⟷",DC="⟷",MC="⟺",PC="⟼",UC="⟶",RC="⟶",jC="⟹",QC="↫",HC="↬",$C="⦅",zC="𝕃",VC="𝕝",qC="⨭",KC="⨴",WC="∗",GC="_",YC="↙",XC="↘",JC="◊",ZC="◊",ek="⧫",tk="(",nk="⦓",rk="⇆",ik="⌟",ok="⇋",ak="⥭",sk="‎",lk="⊿",ck="‹",uk="𝓁",hk="ℒ",fk="↰",dk="↰",Ak="≲",pk="⪍",mk="⪏",gk="[",vk="‘",bk="‚",yk="Ł",wk="ł",xk="⪦",Ck="⩹",kk="<",_k="<",Ek="≪",Bk="⋖",Sk="⋋",Tk="⋉",Ok="⥶",Fk="⩻",Nk="◃",Lk="⊴",Ik="◂",Dk="⦖",Mk="⥊",Pk="⥦",Uk="≨︀",Rk="≨︀",jk="¯",Qk="♂",Hk="✠",$k="✠",zk="↦",Vk="↦",qk="↧",Kk="↤",Wk="↥",Gk="▮",Yk="⨩",Xk="М",Jk="м",Zk="—",e_="∺",t_="∡",n_=" ",r_="ℳ",i_="𝔐",o_="𝔪",a_="℧",s_="µ",l_="*",c_="⫰",u_="∣",h_="·",f_="⊟",d_="−",A_="∸",p_="⨪",m_="∓",g_="⫛",v_="…",b_="∓",y_="⊧",w_="𝕄",x_="𝕞",C_="∓",k_="𝓂",__="ℳ",E_="∾",B_="Μ",S_="μ",T_="⊸",O_="⊸",F_="∇",N_="Ń",L_="ń",I_="∠⃒",D_="≉",M_="⩰̸",P_="≋̸",U_="ʼn",R_="≉",j_="♮",Q_="ℕ",H_="♮",$_=" ",z_="≎̸",V_="≏̸",q_="⩃",K_="Ň",W_="ň",G_="Ņ",Y_="ņ",X_="≇",J_="⩭̸",Z_="⩂",eE="Н",tE="н",nE="–",rE="⤤",iE="↗",oE="⇗",aE="↗",sE="≠",lE="≐̸",cE="​",uE="​",hE="​",fE="​",dE="≢",AE="⤨",pE="≂̸",mE="≫",gE="≪",vE="\n",bE="∄",yE="∄",wE="𝔑",xE="𝔫",CE="≧̸",kE="≱",_E="≱",EE="≧̸",BE="⩾̸",SE="⩾̸",TE="⋙̸",OE="≵",FE="≫⃒",NE="≯",LE="≯",IE="≫̸",DE="↮",ME="⇎",PE="⫲",UE="∋",RE="⋼",jE="⋺",QE="∋",HE="Њ",$E="њ",zE="↚",VE="⇍",qE="‥",KE="≦̸",WE="≰",GE="↚",YE="⇍",XE="↮",JE="⇎",ZE="≰",eB="≦̸",tB="⩽̸",nB="⩽̸",rB="≮",iB="⋘̸",oB="≴",aB="≪⃒",sB="≮",lB="⋪",cB="⋬",uB="≪̸",hB="∤",fB="⁠",dB=" ",AB="𝕟",pB="ℕ",mB="⫬",gB="¬",vB="≢",bB="≭",yB="∦",wB="∉",xB="≠",CB="≂̸",kB="∄",_B="≯",EB="≱",BB="≧̸",SB="≫̸",TB="≹",OB="⩾̸",FB="≵",NB="≎̸",LB="≏̸",IB="∉",DB="⋵̸",MB="⋹̸",PB="∉",UB="⋷",RB="⋶",jB="⧏̸",QB="⋪",HB="⋬",$B="≮",zB="≰",VB="≸",qB="≪̸",KB="⩽̸",WB="≴",GB="⪢̸",YB="⪡̸",XB="∌",JB="∌",ZB="⋾",eS="⋽",tS="⊀",nS="⪯̸",rS="⋠",iS="∌",oS="⧐̸",aS="⋫",sS="⋭",lS="⊏̸",cS="⋢",uS="⊐̸",hS="⋣",fS="⊂⃒",dS="⊈",AS="⊁",pS="⪰̸",mS="⋡",gS="≿̸",vS="⊃⃒",bS="⊉",yS="≁",wS="≄",xS="≇",CS="≉",kS="∤",_S="∦",ES="∦",BS="⫽⃥",SS="∂̸",TS="⨔",OS="⊀",FS="⋠",NS="⊀",LS="⪯̸",IS="⪯̸",DS="⤳̸",MS="↛",PS="⇏",US="↝̸",RS="↛",jS="⇏",QS="⋫",HS="⋭",$S="⊁",zS="⋡",VS="⪰̸",qS="𝒩",KS="𝓃",WS="∤",GS="∦",YS="≁",XS="≄",JS="≄",ZS="∤",eT="∦",tT="⋢",nT="⋣",rT="⊄",iT="⫅̸",oT="⊈",aT="⊂⃒",sT="⊈",lT="⫅̸",cT="⊁",uT="⪰̸",hT="⊅",fT="⫆̸",dT="⊉",AT="⊃⃒",pT="⊉",mT="⫆̸",gT="≹",vT="Ñ",bT="ñ",yT="≸",wT="⋪",xT="⋬",CT="⋫",kT="⋭",_T="Ν",ET="ν",BT="#",ST="№",TT=" ",OT="≍⃒",FT="⊬",NT="⊭",LT="⊮",IT="⊯",DT="≥⃒",MT=">⃒",PT="⤄",UT="⧞",RT="⤂",jT="≤⃒",QT="<⃒",HT="⊴⃒",$T="⤃",zT="⊵⃒",VT="∼⃒",qT="⤣",KT="↖",WT="⇖",GT="↖",YT="⤧",XT="Ó",JT="ó",ZT="⊛",eO="Ô",tO="ô",nO="⊚",rO="О",iO="о",oO="⊝",aO="Ő",sO="ő",lO="⨸",cO="⊙",uO="⦼",hO="Œ",fO="œ",dO="⦿",AO="𝔒",pO="𝔬",mO="˛",gO="Ò",vO="ò",bO="⧁",yO="⦵",wO="Ω",xO="∮",CO="↺",kO="⦾",_O="⦻",EO="‾",BO="⧀",SO="Ō",TO="ō",OO="Ω",FO="ω",NO="Ο",LO="ο",IO="⦶",DO="⊖",MO="𝕆",PO="𝕠",UO="⦷",RO="“",jO="‘",QO="⦹",HO="⊕",$O="↻",zO="⩔",VO="∨",qO="⩝",KO="ℴ",WO="ℴ",GO="ª",YO="º",XO="⊶",JO="⩖",ZO="⩗",eF="⩛",tF="Ⓢ",nF="𝒪",rF="ℴ",iF="Ø",oF="ø",aF="⊘",sF="Õ",lF="õ",cF="⨶",uF="⨷",hF="⊗",fF="Ö",dF="ö",AF="⌽",pF="‾",mF="⏞",gF="⎴",vF="⏜",bF="¶",yF="∥",wF="∥",xF="⫳",CF="⫽",kF="∂",_F="∂",EF="П",BF="п",SF="%",TF=".",OF="‰",FF="⊥",NF="‱",LF="𝔓",IF="𝔭",DF="Φ",MF="φ",PF="ϕ",UF="ℳ",RF="☎",jF="Π",QF="π",HF="⋔",$F="ϖ",zF="ℏ",VF="ℎ",qF="ℏ",KF="⨣",WF="⊞",GF="⨢",YF="+",XF="∔",JF="⨥",ZF="⩲",eN="±",tN="±",nN="⨦",rN="⨧",iN="±",oN="ℌ",aN="⨕",sN="𝕡",lN="ℙ",cN="£",uN="⪷",hN="⪻",fN="≺",dN="≼",AN="⪷",pN="≺",mN="≼",gN="≺",vN="⪯",bN="≼",yN="≾",wN="⪯",xN="⪹",CN="⪵",kN="⋨",_N="⪯",EN="⪳",BN="≾",SN="′",TN="″",ON="ℙ",FN="⪹",NN="⪵",LN="⋨",IN="∏",DN="∏",MN="⌮",PN="⌒",UN="⌓",RN="∝",jN="∝",QN="∷",HN="∝",$N="≾",zN="⊰",VN="𝒫",qN="𝓅",KN="Ψ",WN="ψ",GN=" ",YN="𝔔",XN="𝔮",JN="⨌",ZN="𝕢",eL="ℚ",tL="⁗",nL="𝒬",rL="𝓆",iL="ℍ",oL="⨖",aL="?",sL="≟",lL='"',cL='"',uL="⇛",hL="∽̱",fL="Ŕ",dL="ŕ",AL="√",pL="⦳",mL="⟩",gL="⟫",vL="⦒",bL="⦥",yL="⟩",wL="»",xL="⥵",CL="⇥",kL="⤠",_L="⤳",EL="→",BL="↠",SL="⇒",TL="⤞",OL="↪",FL="↬",NL="⥅",LL="⥴",IL="⤖",DL="↣",ML="↝",PL="⤚",UL="⤜",RL="∶",jL="ℚ",QL="⤍",HL="⤏",$L="⤐",zL="❳",VL="}",qL="]",KL="⦌",WL="⦎",GL="⦐",YL="Ř",XL="ř",JL="Ŗ",ZL="ŗ",eI="⌉",tI="}",nI="Р",rI="р",iI="⤷",oI="⥩",aI="”",sI="”",lI="↳",cI="ℜ",uI="ℛ",hI="ℜ",fI="ℝ",dI="ℜ",AI="▭",pI="®",mI="®",gI="∋",vI="⇋",bI="⥯",yI="⥽",wI="⌋",xI="𝔯",CI="ℜ",kI="⥤",_I="⇁",EI="⇀",BI="⥬",SI="Ρ",TI="ρ",OI="ϱ",FI="⟩",NI="⇥",LI="→",II="→",DI="⇒",MI="⇄",PI="↣",UI="⌉",RI="⟧",jI="⥝",QI="⥕",HI="⇂",$I="⌋",zI="⇁",VI="⇀",qI="⇄",KI="⇌",WI="⇉",GI="↝",YI="↦",XI="⊢",JI="⥛",ZI="⋌",eD="⧐",tD="⊳",nD="⊵",rD="⥏",iD="⥜",oD="⥔",aD="↾",sD="⥓",lD="⇀",cD="˚",uD="≓",hD="⇄",fD="⇌",dD="‏",AD="⎱",pD="⎱",mD="⫮",gD="⟭",vD="⇾",bD="⟧",yD="⦆",wD="𝕣",xD="ℝ",CD="⨮",kD="⨵",_D="⥰",ED=")",BD="⦔",SD="⨒",TD="⇉",OD="⇛",FD="›",ND="𝓇",LD="ℛ",ID="↱",DD="↱",MD="]",PD="’",UD="’",RD="⋌",jD="⋊",QD="▹",HD="⊵",$D="▸",zD="⧎",VD="⧴",qD="⥨",KD="℞",WD="Ś",GD="ś",YD="‚",XD="⪸",JD="Š",ZD="š",eM="⪼",tM="≻",nM="≽",rM="⪰",iM="⪴",oM="Ş",aM="ş",sM="Ŝ",lM="ŝ",cM="⪺",uM="⪶",hM="⋩",fM="⨓",dM="≿",AM="С",pM="с",mM="⊡",gM="⋅",vM="⩦",bM="⤥",yM="↘",wM="⇘",xM="↘",CM="§",kM=";",_M="⤩",EM="∖",BM="∖",SM="✶",TM="𝔖",OM="𝔰",FM="⌢",NM="♯",LM="Щ",IM="щ",DM="Ш",MM="ш",PM="↓",UM="←",RM="∣",jM="∥",QM="→",HM="↑",$M="­",zM="Σ",VM="σ",qM="ς",KM="ς",WM="∼",GM="⩪",YM="≃",XM="≃",JM="⪞",ZM="⪠",eP="⪝",tP="⪟",nP="≆",rP="⨤",iP="⥲",oP="←",aP="∘",sP="∖",lP="⨳",cP="⧤",uP="∣",hP="⌣",fP="⪪",dP="⪬",AP="⪬︀",pP="Ь",mP="ь",gP="⌿",vP="⧄",bP="/",yP="𝕊",wP="𝕤",xP="♠",CP="♠",kP="∥",_P="⊓",EP="⊓︀",BP="⊔",SP="⊔︀",TP="√",OP="⊏",FP="⊑",NP="⊏",LP="⊑",IP="⊐",DP="⊒",MP="⊐",PP="⊒",UP="□",RP="□",jP="⊓",QP="⊏",HP="⊑",$P="⊐",zP="⊒",VP="⊔",qP="▪",KP="□",WP="▪",GP="→",YP="𝒮",XP="𝓈",JP="∖",ZP="⌣",eU="⋆",tU="⋆",nU="☆",rU="★",iU="ϵ",oU="ϕ",aU="¯",sU="⊂",lU="⋐",cU="⪽",uU="⫅",hU="⊆",fU="⫃",dU="⫁",AU="⫋",pU="⊊",mU="⪿",gU="⥹",vU="⊂",bU="⋐",yU="⊆",wU="⫅",xU="⊆",CU="⊊",kU="⫋",_U="⫇",EU="⫕",BU="⫓",SU="⪸",TU="≻",OU="≽",FU="≻",NU="⪰",LU="≽",IU="≿",DU="⪰",MU="⪺",PU="⪶",UU="⋩",RU="≿",jU="∋",QU="∑",HU="∑",$U="♪",zU="¹",VU="²",qU="³",KU="⊃",WU="⋑",GU="⪾",YU="⫘",XU="⫆",JU="⊇",ZU="⫄",eR="⊃",tR="⊇",nR="⟉",rR="⫗",iR="⥻",oR="⫂",aR="⫌",sR="⊋",lR="⫀",cR="⊃",uR="⋑",hR="⊇",fR="⫆",dR="⊋",AR="⫌",pR="⫈",mR="⫔",gR="⫖",vR="⤦",bR="↙",yR="⇙",wR="↙",xR="⤪",CR="ß",kR="\t",_R="⌖",ER="Τ",BR="τ",SR="⎴",TR="Ť",OR="ť",FR="Ţ",NR="ţ",LR="Т",IR="т",DR="⃛",MR="⌕",PR="𝔗",UR="𝔱",RR="∴",jR="∴",QR="∴",HR="Θ",$R="θ",zR="ϑ",VR="ϑ",qR="≈",KR="∼",WR="  ",GR=" ",YR=" ",XR="≈",JR="∼",ZR="Þ",ej="þ",tj="˜",nj="∼",rj="≃",ij="≅",oj="≈",aj="⨱",sj="⊠",lj="×",cj="⨰",uj="∭",hj="⤨",fj="⌶",dj="⫱",Aj="⊤",pj="𝕋",mj="𝕥",gj="⫚",vj="⤩",bj="‴",yj="™",wj="™",xj="▵",Cj="▿",kj="◃",_j="⊴",Ej="≜",Bj="▹",Sj="⊵",Tj="◬",Oj="≜",Fj="⨺",Nj="⃛",Lj="⨹",Ij="⧍",Dj="⨻",Mj="⏢",Pj="𝒯",Uj="𝓉",Rj="Ц",jj="ц",Qj="Ћ",Hj="ћ",$j="Ŧ",zj="ŧ",Vj="≬",qj="↞",Kj="↠",Wj="Ú",Gj="ú",Yj="↑",Xj="↟",Jj="⇑",Zj="⥉",eQ="Ў",tQ="ў",nQ="Ŭ",rQ="ŭ",iQ="Û",oQ="û",aQ="У",sQ="у",lQ="⇅",cQ="Ű",uQ="ű",hQ="⥮",fQ="⥾",dQ="𝔘",AQ="𝔲",pQ="Ù",mQ="ù",gQ="⥣",vQ="↿",bQ="↾",yQ="▀",wQ="⌜",xQ="⌜",CQ="⌏",kQ="◸",_Q="Ū",EQ="ū",BQ="¨",SQ="_",TQ="⏟",OQ="⎵",FQ="⏝",NQ="⋃",LQ="⊎",IQ="Ų",DQ="ų",MQ="𝕌",PQ="𝕦",UQ="⤒",RQ="↑",jQ="↑",QQ="⇑",HQ="⇅",$Q="↕",zQ="↕",VQ="⇕",qQ="⥮",KQ="↿",WQ="↾",GQ="⊎",YQ="↖",XQ="↗",JQ="υ",ZQ="ϒ",eH="ϒ",tH="Υ",nH="υ",rH="↥",iH="⊥",oH="⇈",aH="⌝",sH="⌝",lH="⌎",cH="Ů",uH="ů",hH="◹",fH="𝒰",dH="𝓊",AH="⋰",pH="Ũ",mH="ũ",gH="▵",vH="▴",bH="⇈",yH="Ü",wH="ü",xH="⦧",CH="⦜",kH="ϵ",_H="ϰ",EH="∅",BH="ϕ",SH="ϖ",TH="∝",OH="↕",FH="⇕",NH="ϱ",LH="ς",IH="⊊︀",DH="⫋︀",MH="⊋︀",PH="⫌︀",UH="ϑ",RH="⊲",jH="⊳",QH="⫨",HH="⫫",$H="⫩",zH="В",VH="в",qH="⊢",KH="⊨",WH="⊩",GH="⊫",YH="⫦",XH="⊻",JH="∨",ZH="⋁",e$="≚",t$="⋮",n$="|",r$="‖",i$="|",o$="‖",a$="∣",s$="|",l$="❘",c$="≀",u$=" ",h$="𝔙",f$="𝔳",d$="⊲",A$="⊂⃒",p$="⊃⃒",m$="𝕍",g$="𝕧",v$="∝",b$="⊳",y$="𝒱",w$="𝓋",x$="⫋︀",C$="⊊︀",k$="⫌︀",_$="⊋︀",E$="⊪",B$="⦚",S$="Ŵ",T$="ŵ",O$="⩟",F$="∧",N$="⋀",L$="≙",I$="℘",D$="𝔚",M$="𝔴",P$="𝕎",U$="𝕨",R$="℘",j$="≀",Q$="≀",H$="𝒲",$$="𝓌",z$="⋂",V$="◯",q$="⋃",K$="▽",W$="𝔛",G$="𝔵",Y$="⟷",X$="⟺",J$="Ξ",Z$="ξ",ez="⟵",tz="⟸",nz="⟼",rz="⋻",iz="⨀",oz="𝕏",az="𝕩",sz="⨁",lz="⨂",cz="⟶",uz="⟹",hz="𝒳",fz="𝓍",dz="⨆",Az="⨄",pz="△",mz="⋁",gz="⋀",vz="Ý",bz="ý",yz="Я",wz="я",xz="Ŷ",Cz="ŷ",kz="Ы",_z="ы",Ez="¥",Bz="𝔜",Sz="𝔶",Tz="Ї",Oz="ї",Fz="𝕐",Nz="𝕪",Lz="𝒴",Iz="𝓎",Dz="Ю",Mz="ю",Pz="ÿ",Uz="Ÿ",Rz="Ź",jz="ź",Qz="Ž",Hz="ž",$z="З",zz="з",Vz="Ż",qz="ż",Kz="ℨ",Wz="​",Gz="Ζ",Yz="ζ",Xz="𝔷",Jz="ℨ",Zz="Ж",eV="ж",tV="⇝",nV="𝕫",rV="ℤ",iV="𝒵",oV="𝓏",aV="‍",sV="‌",lV={Aacute:zo,aacute:Vo,Abreve:qo,abreve:Ko,ac:Wo,acd:Go,acE:Yo,Acirc:Xo,acirc:Jo,acute:Zo,Acy:ea,acy:ta,AElig:na,aelig:ra,af:ia,Afr:oa,afr:aa,Agrave:sa,agrave:la,alefsym:ca,aleph:ua,Alpha:ha,alpha:fa,Amacr:da,amacr:Aa,amalg:pa,amp:ma,AMP:ga,andand:va,And:ba,and:ya,andd:wa,andslope:xa,andv:Ca,ang:ka,ange:_a,angle:Ea,angmsdaa:Ba,angmsdab:Sa,angmsdac:Ta,angmsdad:Oa,angmsdae:Fa,angmsdaf:Na,angmsdag:La,angmsdah:Ia,angmsd:Da,angrt:Ma,angrtvb:Pa,angrtvbd:Ua,angsph:Ra,angst:ja,angzarr:Qa,Aogon:Ha,aogon:$a,Aopf:za,aopf:Va,apacir:qa,ap:Ka,apE:Wa,ape:Ga,apid:Ya,apos:Xa,ApplyFunction:Ja,approx:Za,approxeq:es,Aring:ts,aring:ns,Ascr:rs,ascr:is,Assign:os,ast:as,asymp:ss,asympeq:ls,Atilde:cs,atilde:us,Auml:hs,auml:fs,awconint:ds,awint:As,backcong:ps,backepsilon:ms,backprime:gs,backsim:vs,backsimeq:bs,Backslash:ys,Barv:ws,barvee:xs,barwed:Cs,Barwed:ks,barwedge:_s,bbrk:Es,bbrktbrk:Bs,bcong:Ss,Bcy:Ts,bcy:Os,bdquo:Fs,becaus:Ns,because:Ls,Because:Is,bemptyv:Ds,bepsi:Ms,bernou:Ps,Bernoullis:Us,Beta:Rs,beta:js,beth:Qs,between:Hs,Bfr:$s,bfr:zs,bigcap:Vs,bigcirc:qs,bigcup:Ks,bigodot:Ws,bigoplus:Gs,bigotimes:Ys,bigsqcup:Xs,bigstar:Js,bigtriangledown:Zs,bigtriangleup:el,biguplus:tl,bigvee:nl,bigwedge:rl,bkarow:il,blacklozenge:ol,blacksquare:al,blacktriangle:sl,blacktriangledown:ll,blacktriangleleft:cl,blacktriangleright:ul,blank:hl,blk12:fl,blk14:dl,blk34:Al,block:pl,bne:ml,bnequiv:gl,bNot:vl,bnot:bl,Bopf:yl,bopf:wl,bot:xl,bottom:Cl,bowtie:kl,boxbox:_l,boxdl:El,boxdL:Bl,boxDl:Sl,boxDL:Tl,boxdr:Ol,boxdR:Fl,boxDr:Nl,boxDR:Ll,boxh:Il,boxH:Dl,boxhd:Ml,boxHd:Pl,boxhD:Ul,boxHD:Rl,boxhu:jl,boxHu:Ql,boxhU:Hl,boxHU:$l,boxminus:zl,boxplus:Vl,boxtimes:ql,boxul:Kl,boxuL:Wl,boxUl:Gl,boxUL:Yl,boxur:Xl,boxuR:Jl,boxUr:Zl,boxUR:ec,boxv:tc,boxV:nc,boxvh:rc,boxvH:ic,boxVh:oc,boxVH:ac,boxvl:sc,boxvL:lc,boxVl:cc,boxVL:uc,boxvr:hc,boxvR:fc,boxVr:dc,boxVR:Ac,bprime:pc,breve:mc,Breve:gc,brvbar:vc,bscr:bc,Bscr:yc,bsemi:wc,bsim:xc,bsime:Cc,bsolb:kc,bsol:_c,bsolhsub:Ec,bull:Bc,bullet:Sc,bump:Tc,bumpE:Oc,bumpe:Fc,Bumpeq:Nc,bumpeq:Lc,Cacute:Ic,cacute:Dc,capand:Mc,capbrcup:Pc,capcap:Uc,cap:Rc,Cap:jc,capcup:Qc,capdot:Hc,CapitalDifferentialD:$c,caps:zc,caret:Vc,caron:qc,Cayleys:Kc,ccaps:Wc,Ccaron:Gc,ccaron:Yc,Ccedil:Xc,ccedil:Jc,Ccirc:Zc,ccirc:eu,Cconint:tu,ccups:nu,ccupssm:ru,Cdot:iu,cdot:ou,cedil:au,Cedilla:su,cemptyv:lu,cent:cu,centerdot:uu,CenterDot:hu,cfr:fu,Cfr:du,CHcy:Au,chcy:pu,check:mu,checkmark:gu,Chi:vu,chi:bu,circ:yu,circeq:wu,circlearrowleft:xu,circlearrowright:Cu,circledast:ku,circledcirc:_u,circleddash:Eu,CircleDot:Bu,circledR:Su,circledS:Tu,CircleMinus:Ou,CirclePlus:Fu,CircleTimes:Nu,cir:Lu,cirE:Iu,cire:Du,cirfnint:Mu,cirmid:Pu,cirscir:Uu,ClockwiseContourIntegral:Ru,CloseCurlyDoubleQuote:ju,CloseCurlyQuote:Qu,clubs:Hu,clubsuit:$u,colon:zu,Colon:Vu,Colone:qu,colone:Ku,coloneq:Wu,comma:Gu,commat:Yu,comp:Xu,compfn:Ju,complement:Zu,complexes:eh,cong:th,congdot:nh,Congruent:rh,conint:ih,Conint:oh,ContourIntegral:ah,copf:sh,Copf:lh,coprod:ch,Coproduct:uh,copy:hh,COPY:fh,copysr:dh,CounterClockwiseContourIntegral:Ah,crarr:ph,cross:mh,Cross:gh,Cscr:vh,cscr:bh,csub:yh,csube:wh,csup:xh,csupe:Ch,ctdot:kh,cudarrl:_h,cudarrr:Eh,cuepr:Bh,cuesc:Sh,cularr:Th,cularrp:Oh,cupbrcap:Fh,cupcap:Nh,CupCap:Lh,cup:Ih,Cup:Dh,cupcup:Mh,cupdot:Ph,cupor:Uh,cups:Rh,curarr:jh,curarrm:Qh,curlyeqprec:Hh,curlyeqsucc:$h,curlyvee:zh,curlywedge:Vh,curren:qh,curvearrowleft:Kh,curvearrowright:Wh,cuvee:Gh,cuwed:Yh,cwconint:Xh,cwint:Jh,cylcty:Zh,dagger:ef,Dagger:tf,daleth:nf,darr:rf,Darr:of,dArr:af,dash:sf,Dashv:lf,dashv:cf,dbkarow:uf,dblac:hf,Dcaron:ff,dcaron:df,Dcy:Af,dcy:pf,ddagger:mf,ddarr:gf,DD:vf,dd:bf,DDotrahd:yf,ddotseq:wf,deg:xf,Del:Cf,Delta:kf,delta:_f,demptyv:Ef,dfisht:Bf,Dfr:Sf,dfr:Tf,dHar:Of,dharl:Ff,dharr:Nf,DiacriticalAcute:Lf,DiacriticalDot:If,DiacriticalDoubleAcute:Df,DiacriticalGrave:Mf,DiacriticalTilde:Pf,diam:Uf,diamond:Rf,Diamond:jf,diamondsuit:Qf,diams:Hf,die:$f,DifferentialD:zf,digamma:Vf,disin:qf,div:Kf,divide:Wf,divideontimes:Gf,divonx:Yf,DJcy:Xf,djcy:Jf,dlcorn:Zf,dlcrop:ed,dollar:td,Dopf:nd,dopf:rd,Dot:id,dot:od,DotDot:ad,doteq:sd,doteqdot:ld,DotEqual:cd,dotminus:ud,dotplus:hd,dotsquare:fd,doublebarwedge:dd,DoubleContourIntegral:Ad,DoubleDot:pd,DoubleDownArrow:md,DoubleLeftArrow:gd,DoubleLeftRightArrow:vd,DoubleLeftTee:bd,DoubleLongLeftArrow:yd,DoubleLongLeftRightArrow:wd,DoubleLongRightArrow:xd,DoubleRightArrow:Cd,DoubleRightTee:kd,DoubleUpArrow:_d,DoubleUpDownArrow:Ed,DoubleVerticalBar:Bd,DownArrowBar:Sd,downarrow:Td,DownArrow:Od,Downarrow:Fd,DownArrowUpArrow:Nd,DownBreve:Ld,downdownarrows:Id,downharpoonleft:Dd,downharpoonright:Md,DownLeftRightVector:Pd,DownLeftTeeVector:Ud,DownLeftVectorBar:Rd,DownLeftVector:jd,DownRightTeeVector:Qd,DownRightVectorBar:Hd,DownRightVector:$d,DownTeeArrow:zd,DownTee:Vd,drbkarow:qd,drcorn:Kd,drcrop:Wd,Dscr:Gd,dscr:Yd,DScy:Xd,dscy:Jd,dsol:Zd,Dstrok:eA,dstrok:tA,dtdot:nA,dtri:rA,dtrif:iA,duarr:oA,duhar:aA,dwangle:sA,DZcy:lA,dzcy:cA,dzigrarr:uA,Eacute:hA,eacute:fA,easter:dA,Ecaron:AA,ecaron:pA,Ecirc:mA,ecirc:gA,ecir:vA,ecolon:bA,Ecy:yA,ecy:wA,eDDot:xA,Edot:CA,edot:kA,eDot:_A,ee:EA,efDot:BA,Efr:SA,efr:TA,eg:OA,Egrave:FA,egrave:NA,egs:LA,egsdot:IA,el:DA,Element:MA,elinters:PA,ell:UA,els:RA,elsdot:jA,Emacr:QA,emacr:HA,empty:$A,emptyset:zA,EmptySmallSquare:VA,emptyv:qA,EmptyVerySmallSquare:KA,emsp13:WA,emsp14:GA,emsp:YA,ENG:XA,eng:JA,ensp:ZA,Eogon:ep,eogon:tp,Eopf:np,eopf:rp,epar:ip,eparsl:op,eplus:ap,epsi:sp,Epsilon:lp,epsilon:cp,epsiv:up,eqcirc:hp,eqcolon:fp,eqsim:dp,eqslantgtr:Ap,eqslantless:pp,Equal:mp,equals:gp,EqualTilde:vp,equest:bp,Equilibrium:yp,equiv:wp,equivDD:xp,eqvparsl:Cp,erarr:kp,erDot:_p,escr:Ep,Escr:Bp,esdot:Sp,Esim:Tp,esim:Op,Eta:Fp,eta:Np,ETH:Lp,eth:Ip,Euml:Dp,euml:Mp,euro:Pp,excl:Up,exist:Rp,Exists:jp,expectation:Qp,exponentiale:Hp,ExponentialE:$p,fallingdotseq:zp,Fcy:Vp,fcy:qp,female:Kp,ffilig:Wp,fflig:Gp,ffllig:Yp,Ffr:Xp,ffr:Jp,filig:Zp,FilledSmallSquare:em,FilledVerySmallSquare:tm,fjlig:nm,flat:rm,fllig:im,fltns:om,fnof:am,Fopf:sm,fopf:lm,forall:cm,ForAll:um,fork:hm,forkv:fm,Fouriertrf:dm,fpartint:Am,frac12:pm,frac13:mm,frac14:gm,frac15:vm,frac16:bm,frac18:ym,frac23:wm,frac25:xm,frac34:Cm,frac35:km,frac38:_m,frac45:Em,frac56:Bm,frac58:Sm,frac78:Tm,frasl:Om,frown:Fm,fscr:Nm,Fscr:Lm,gacute:Im,Gamma:Dm,gamma:Mm,Gammad:Pm,gammad:Um,gap:Rm,Gbreve:jm,gbreve:Qm,Gcedil:Hm,Gcirc:$m,gcirc:zm,Gcy:Vm,gcy:qm,Gdot:Km,gdot:Wm,ge:Gm,gE:Ym,gEl:Xm,gel:Jm,geq:Zm,geqq:eg,geqslant:tg,gescc:ng,ges:rg,gesdot:ig,gesdoto:og,gesdotol:ag,gesl:sg,gesles:lg,Gfr:cg,gfr:ug,gg:hg,Gg:fg,ggg:dg,gimel:Ag,GJcy:pg,gjcy:mg,gla:gg,gl:vg,glE:bg,glj:yg,gnap:wg,gnapprox:xg,gne:Cg,gnE:kg,gneq:_g,gneqq:Eg,gnsim:Bg,Gopf:Sg,gopf:Tg,grave:Og,GreaterEqual:Fg,GreaterEqualLess:Ng,GreaterFullEqual:Lg,GreaterGreater:Ig,GreaterLess:Dg,GreaterSlantEqual:Mg,GreaterTilde:Pg,Gscr:Ug,gscr:Rg,gsim:jg,gsime:Qg,gsiml:Hg,gtcc:$g,gtcir:zg,gt:Vg,GT:qg,Gt:Kg,gtdot:Wg,gtlPar:Gg,gtquest:Yg,gtrapprox:Xg,gtrarr:Jg,gtrdot:Zg,gtreqless:ev,gtreqqless:tv,gtrless:nv,gtrsim:rv,gvertneqq:iv,gvnE:ov,Hacek:av,hairsp:sv,half:lv,hamilt:cv,HARDcy:uv,hardcy:hv,harrcir:fv,harr:dv,hArr:Av,harrw:pv,Hat:mv,hbar:gv,Hcirc:vv,hcirc:bv,hearts:yv,heartsuit:wv,hellip:xv,hercon:Cv,hfr:kv,Hfr:_v,HilbertSpace:Ev,hksearow:Bv,hkswarow:Sv,hoarr:Tv,homtht:Ov,hookleftarrow:Fv,hookrightarrow:Nv,hopf:Lv,Hopf:Iv,horbar:Dv,HorizontalLine:Mv,hscr:Pv,Hscr:Uv,hslash:Rv,Hstrok:jv,hstrok:Qv,HumpDownHump:Hv,HumpEqual:$v,hybull:zv,hyphen:Vv,Iacute:qv,iacute:Kv,ic:Wv,Icirc:Gv,icirc:Yv,Icy:Xv,icy:Jv,Idot:Zv,IEcy:eb,iecy:tb,iexcl:nb,iff:rb,ifr:ib,Ifr:ob,Igrave:ab,igrave:sb,ii:lb,iiiint:cb,iiint:ub,iinfin:hb,iiota:fb,IJlig:db,ijlig:Ab,Imacr:pb,imacr:mb,image:gb,ImaginaryI:vb,imagline:bb,imagpart:yb,imath:wb,Im:xb,imof:Cb,imped:kb,Implies:_b,incare:Eb,in:"∈",infin:Bb,infintie:Sb,inodot:Tb,intcal:Ob,int:Fb,Int:Nb,integers:Lb,Integral:Ib,intercal:Db,Intersection:Mb,intlarhk:Pb,intprod:Ub,InvisibleComma:Rb,InvisibleTimes:jb,IOcy:Qb,iocy:Hb,Iogon:$b,iogon:zb,Iopf:Vb,iopf:qb,Iota:Kb,iota:Wb,iprod:Gb,iquest:Yb,iscr:Xb,Iscr:Jb,isin:Zb,isindot:ey,isinE:ty,isins:ny,isinsv:ry,isinv:iy,it:oy,Itilde:ay,itilde:sy,Iukcy:ly,iukcy:cy,Iuml:uy,iuml:hy,Jcirc:fy,jcirc:dy,Jcy:Ay,jcy:py,Jfr:my,jfr:gy,jmath:vy,Jopf:by,jopf:yy,Jscr:wy,jscr:xy,Jsercy:Cy,jsercy:ky,Jukcy:_y,jukcy:Ey,Kappa:By,kappa:Sy,kappav:Ty,Kcedil:Oy,kcedil:Fy,Kcy:Ny,kcy:Ly,Kfr:Iy,kfr:Dy,kgreen:My,KHcy:Py,khcy:Uy,KJcy:Ry,kjcy:jy,Kopf:Qy,kopf:Hy,Kscr:$y,kscr:zy,lAarr:Vy,Lacute:qy,lacute:Ky,laemptyv:Wy,lagran:Gy,Lambda:Yy,lambda:Xy,lang:Jy,Lang:Zy,langd:ew,langle:tw,lap:nw,Laplacetrf:rw,laquo:iw,larrb:ow,larrbfs:aw,larr:sw,Larr:lw,lArr:cw,larrfs:uw,larrhk:hw,larrlp:fw,larrpl:dw,larrsim:Aw,larrtl:pw,latail:mw,lAtail:gw,lat:vw,late:bw,lates:yw,lbarr:ww,lBarr:xw,lbbrk:Cw,lbrace:kw,lbrack:_w,lbrke:Ew,lbrksld:Bw,lbrkslu:Sw,Lcaron:Tw,lcaron:Ow,Lcedil:Fw,lcedil:Nw,lceil:Lw,lcub:Iw,Lcy:Dw,lcy:Mw,ldca:Pw,ldquo:Uw,ldquor:Rw,ldrdhar:jw,ldrushar:Qw,ldsh:Hw,le:$w,lE:zw,LeftAngleBracket:Vw,LeftArrowBar:qw,leftarrow:Kw,LeftArrow:Ww,Leftarrow:Gw,LeftArrowRightArrow:Yw,leftarrowtail:Xw,LeftCeiling:Jw,LeftDoubleBracket:Zw,LeftDownTeeVector:ex,LeftDownVectorBar:tx,LeftDownVector:nx,LeftFloor:rx,leftharpoondown:ix,leftharpoonup:ox,leftleftarrows:ax,leftrightarrow:sx,LeftRightArrow:lx,Leftrightarrow:cx,leftrightarrows:ux,leftrightharpoons:hx,leftrightsquigarrow:fx,LeftRightVector:dx,LeftTeeArrow:Ax,LeftTee:px,LeftTeeVector:mx,leftthreetimes:gx,LeftTriangleBar:vx,LeftTriangle:bx,LeftTriangleEqual:yx,LeftUpDownVector:wx,LeftUpTeeVector:xx,LeftUpVectorBar:Cx,LeftUpVector:kx,LeftVectorBar:_x,LeftVector:Ex,lEg:Bx,leg:Sx,leq:Tx,leqq:Ox,leqslant:Fx,lescc:Nx,les:Lx,lesdot:Ix,lesdoto:Dx,lesdotor:Mx,lesg:Px,lesges:Ux,lessapprox:Rx,lessdot:jx,lesseqgtr:Qx,lesseqqgtr:Hx,LessEqualGreater:$x,LessFullEqual:zx,LessGreater:Vx,lessgtr:qx,LessLess:Kx,lesssim:Wx,LessSlantEqual:Gx,LessTilde:Yx,lfisht:Xx,lfloor:Jx,Lfr:Zx,lfr:eC,lg:tC,lgE:nC,lHar:rC,lhard:iC,lharu:oC,lharul:aC,lhblk:sC,LJcy:lC,ljcy:cC,llarr:uC,ll:hC,Ll:fC,llcorner:dC,Lleftarrow:AC,llhard:pC,lltri:mC,Lmidot:gC,lmidot:vC,lmoustache:bC,lmoust:yC,lnap:wC,lnapprox:xC,lne:CC,lnE:kC,lneq:_C,lneqq:EC,lnsim:BC,loang:SC,loarr:TC,lobrk:OC,longleftarrow:FC,LongLeftArrow:NC,Longleftarrow:LC,longleftrightarrow:IC,LongLeftRightArrow:DC,Longleftrightarrow:MC,longmapsto:PC,longrightarrow:UC,LongRightArrow:RC,Longrightarrow:jC,looparrowleft:QC,looparrowright:HC,lopar:$C,Lopf:zC,lopf:VC,loplus:qC,lotimes:KC,lowast:WC,lowbar:GC,LowerLeftArrow:YC,LowerRightArrow:XC,loz:JC,lozenge:ZC,lozf:ek,lpar:tk,lparlt:nk,lrarr:rk,lrcorner:ik,lrhar:ok,lrhard:ak,lrm:sk,lrtri:lk,lsaquo:ck,lscr:uk,Lscr:hk,lsh:fk,Lsh:dk,lsim:Ak,lsime:pk,lsimg:mk,lsqb:gk,lsquo:vk,lsquor:bk,Lstrok:yk,lstrok:wk,ltcc:xk,ltcir:Ck,lt:kk,LT:_k,Lt:Ek,ltdot:Bk,lthree:Sk,ltimes:Tk,ltlarr:Ok,ltquest:Fk,ltri:Nk,ltrie:Lk,ltrif:Ik,ltrPar:Dk,lurdshar:Mk,luruhar:Pk,lvertneqq:Uk,lvnE:Rk,macr:jk,male:Qk,malt:Hk,maltese:$k,Map:"⤅",map:zk,mapsto:Vk,mapstodown:qk,mapstoleft:Kk,mapstoup:Wk,marker:Gk,mcomma:Yk,Mcy:Xk,mcy:Jk,mdash:Zk,mDDot:e_,measuredangle:t_,MediumSpace:n_,Mellintrf:r_,Mfr:i_,mfr:o_,mho:a_,micro:s_,midast:l_,midcir:c_,mid:u_,middot:h_,minusb:f_,minus:d_,minusd:A_,minusdu:p_,MinusPlus:m_,mlcp:g_,mldr:v_,mnplus:b_,models:y_,Mopf:w_,mopf:x_,mp:C_,mscr:k_,Mscr:__,mstpos:E_,Mu:B_,mu:S_,multimap:T_,mumap:O_,nabla:F_,Nacute:N_,nacute:L_,nang:I_,nap:D_,napE:M_,napid:P_,napos:U_,napprox:R_,natural:j_,naturals:Q_,natur:H_,nbsp:$_,nbump:z_,nbumpe:V_,ncap:q_,Ncaron:K_,ncaron:W_,Ncedil:G_,ncedil:Y_,ncong:X_,ncongdot:J_,ncup:Z_,Ncy:eE,ncy:tE,ndash:nE,nearhk:rE,nearr:iE,neArr:oE,nearrow:aE,ne:sE,nedot:lE,NegativeMediumSpace:cE,NegativeThickSpace:uE,NegativeThinSpace:hE,NegativeVeryThinSpace:fE,nequiv:dE,nesear:AE,nesim:pE,NestedGreaterGreater:mE,NestedLessLess:gE,NewLine:vE,nexist:bE,nexists:yE,Nfr:wE,nfr:xE,ngE:CE,nge:kE,ngeq:_E,ngeqq:EE,ngeqslant:BE,nges:SE,nGg:TE,ngsim:OE,nGt:FE,ngt:NE,ngtr:LE,nGtv:IE,nharr:DE,nhArr:ME,nhpar:PE,ni:UE,nis:RE,nisd:jE,niv:QE,NJcy:HE,njcy:$E,nlarr:zE,nlArr:VE,nldr:qE,nlE:KE,nle:WE,nleftarrow:GE,nLeftarrow:YE,nleftrightarrow:XE,nLeftrightarrow:JE,nleq:ZE,nleqq:eB,nleqslant:tB,nles:nB,nless:rB,nLl:iB,nlsim:oB,nLt:aB,nlt:sB,nltri:lB,nltrie:cB,nLtv:uB,nmid:hB,NoBreak:fB,NonBreakingSpace:dB,nopf:AB,Nopf:pB,Not:mB,not:gB,NotCongruent:vB,NotCupCap:bB,NotDoubleVerticalBar:yB,NotElement:wB,NotEqual:xB,NotEqualTilde:CB,NotExists:kB,NotGreater:_B,NotGreaterEqual:EB,NotGreaterFullEqual:BB,NotGreaterGreater:SB,NotGreaterLess:TB,NotGreaterSlantEqual:OB,NotGreaterTilde:FB,NotHumpDownHump:NB,NotHumpEqual:LB,notin:IB,notindot:DB,notinE:MB,notinva:PB,notinvb:UB,notinvc:RB,NotLeftTriangleBar:jB,NotLeftTriangle:QB,NotLeftTriangleEqual:HB,NotLess:$B,NotLessEqual:zB,NotLessGreater:VB,NotLessLess:qB,NotLessSlantEqual:KB,NotLessTilde:WB,NotNestedGreaterGreater:GB,NotNestedLessLess:YB,notni:XB,notniva:JB,notnivb:ZB,notnivc:eS,NotPrecedes:tS,NotPrecedesEqual:nS,NotPrecedesSlantEqual:rS,NotReverseElement:iS,NotRightTriangleBar:oS,NotRightTriangle:aS,NotRightTriangleEqual:sS,NotSquareSubset:lS,NotSquareSubsetEqual:cS,NotSquareSuperset:uS,NotSquareSupersetEqual:hS,NotSubset:fS,NotSubsetEqual:dS,NotSucceeds:AS,NotSucceedsEqual:pS,NotSucceedsSlantEqual:mS,NotSucceedsTilde:gS,NotSuperset:vS,NotSupersetEqual:bS,NotTilde:yS,NotTildeEqual:wS,NotTildeFullEqual:xS,NotTildeTilde:CS,NotVerticalBar:kS,nparallel:_S,npar:ES,nparsl:BS,npart:SS,npolint:TS,npr:OS,nprcue:FS,nprec:NS,npreceq:LS,npre:IS,nrarrc:DS,nrarr:MS,nrArr:PS,nrarrw:US,nrightarrow:RS,nRightarrow:jS,nrtri:QS,nrtrie:HS,nsc:$S,nsccue:zS,nsce:VS,Nscr:qS,nscr:KS,nshortmid:WS,nshortparallel:GS,nsim:YS,nsime:XS,nsimeq:JS,nsmid:ZS,nspar:eT,nsqsube:tT,nsqsupe:nT,nsub:rT,nsubE:iT,nsube:oT,nsubset:aT,nsubseteq:sT,nsubseteqq:lT,nsucc:cT,nsucceq:uT,nsup:hT,nsupE:fT,nsupe:dT,nsupset:AT,nsupseteq:pT,nsupseteqq:mT,ntgl:gT,Ntilde:vT,ntilde:bT,ntlg:yT,ntriangleleft:wT,ntrianglelefteq:xT,ntriangleright:CT,ntrianglerighteq:kT,Nu:_T,nu:ET,num:BT,numero:ST,numsp:TT,nvap:OT,nvdash:FT,nvDash:NT,nVdash:LT,nVDash:IT,nvge:DT,nvgt:MT,nvHarr:PT,nvinfin:UT,nvlArr:RT,nvle:jT,nvlt:QT,nvltrie:HT,nvrArr:$T,nvrtrie:zT,nvsim:VT,nwarhk:qT,nwarr:KT,nwArr:WT,nwarrow:GT,nwnear:YT,Oacute:XT,oacute:JT,oast:ZT,Ocirc:eO,ocirc:tO,ocir:nO,Ocy:rO,ocy:iO,odash:oO,Odblac:aO,odblac:sO,odiv:lO,odot:cO,odsold:uO,OElig:hO,oelig:fO,ofcir:dO,Ofr:AO,ofr:pO,ogon:mO,Ograve:gO,ograve:vO,ogt:bO,ohbar:yO,ohm:wO,oint:xO,olarr:CO,olcir:kO,olcross:_O,oline:EO,olt:BO,Omacr:SO,omacr:TO,Omega:OO,omega:FO,Omicron:NO,omicron:LO,omid:IO,ominus:DO,Oopf:MO,oopf:PO,opar:UO,OpenCurlyDoubleQuote:RO,OpenCurlyQuote:jO,operp:QO,oplus:HO,orarr:$O,Or:zO,or:VO,ord:qO,order:KO,orderof:WO,ordf:GO,ordm:YO,origof:XO,oror:JO,orslope:ZO,orv:eF,oS:tF,Oscr:nF,oscr:rF,Oslash:iF,oslash:oF,osol:aF,Otilde:sF,otilde:lF,otimesas:cF,Otimes:uF,otimes:hF,Ouml:fF,ouml:dF,ovbar:AF,OverBar:pF,OverBrace:mF,OverBracket:gF,OverParenthesis:vF,para:bF,parallel:yF,par:wF,parsim:xF,parsl:CF,part:kF,PartialD:_F,Pcy:EF,pcy:BF,percnt:SF,period:TF,permil:OF,perp:FF,pertenk:NF,Pfr:LF,pfr:IF,Phi:DF,phi:MF,phiv:PF,phmmat:UF,phone:RF,Pi:jF,pi:QF,pitchfork:HF,piv:$F,planck:zF,planckh:VF,plankv:qF,plusacir:KF,plusb:WF,pluscir:GF,plus:YF,plusdo:XF,plusdu:JF,pluse:ZF,PlusMinus:eN,plusmn:tN,plussim:nN,plustwo:rN,pm:iN,Poincareplane:oN,pointint:aN,popf:sN,Popf:lN,pound:cN,prap:uN,Pr:hN,pr:fN,prcue:dN,precapprox:AN,prec:pN,preccurlyeq:mN,Precedes:gN,PrecedesEqual:vN,PrecedesSlantEqual:bN,PrecedesTilde:yN,preceq:wN,precnapprox:xN,precneqq:CN,precnsim:kN,pre:_N,prE:EN,precsim:BN,prime:SN,Prime:TN,primes:ON,prnap:FN,prnE:NN,prnsim:LN,prod:IN,Product:DN,profalar:MN,profline:PN,profsurf:UN,prop:RN,Proportional:jN,Proportion:QN,propto:HN,prsim:$N,prurel:zN,Pscr:VN,pscr:qN,Psi:KN,psi:WN,puncsp:GN,Qfr:YN,qfr:XN,qint:JN,qopf:ZN,Qopf:eL,qprime:tL,Qscr:nL,qscr:rL,quaternions:iL,quatint:oL,quest:aL,questeq:sL,quot:lL,QUOT:cL,rAarr:uL,race:hL,Racute:fL,racute:dL,radic:AL,raemptyv:pL,rang:mL,Rang:gL,rangd:vL,range:bL,rangle:yL,raquo:wL,rarrap:xL,rarrb:CL,rarrbfs:kL,rarrc:_L,rarr:EL,Rarr:BL,rArr:SL,rarrfs:TL,rarrhk:OL,rarrlp:FL,rarrpl:NL,rarrsim:LL,Rarrtl:IL,rarrtl:DL,rarrw:ML,ratail:PL,rAtail:UL,ratio:RL,rationals:jL,rbarr:QL,rBarr:HL,RBarr:$L,rbbrk:zL,rbrace:VL,rbrack:qL,rbrke:KL,rbrksld:WL,rbrkslu:GL,Rcaron:YL,rcaron:XL,Rcedil:JL,rcedil:ZL,rceil:eI,rcub:tI,Rcy:nI,rcy:rI,rdca:iI,rdldhar:oI,rdquo:aI,rdquor:sI,rdsh:lI,real:cI,realine:uI,realpart:hI,reals:fI,Re:dI,rect:AI,reg:pI,REG:mI,ReverseElement:gI,ReverseEquilibrium:vI,ReverseUpEquilibrium:bI,rfisht:yI,rfloor:wI,rfr:xI,Rfr:CI,rHar:kI,rhard:_I,rharu:EI,rharul:BI,Rho:SI,rho:TI,rhov:OI,RightAngleBracket:FI,RightArrowBar:NI,rightarrow:LI,RightArrow:II,Rightarrow:DI,RightArrowLeftArrow:MI,rightarrowtail:PI,RightCeiling:UI,RightDoubleBracket:RI,RightDownTeeVector:jI,RightDownVectorBar:QI,RightDownVector:HI,RightFloor:$I,rightharpoondown:zI,rightharpoonup:VI,rightleftarrows:qI,rightleftharpoons:KI,rightrightarrows:WI,rightsquigarrow:GI,RightTeeArrow:YI,RightTee:XI,RightTeeVector:JI,rightthreetimes:ZI,RightTriangleBar:eD,RightTriangle:tD,RightTriangleEqual:nD,RightUpDownVector:rD,RightUpTeeVector:iD,RightUpVectorBar:oD,RightUpVector:aD,RightVectorBar:sD,RightVector:lD,ring:cD,risingdotseq:uD,rlarr:hD,rlhar:fD,rlm:dD,rmoustache:AD,rmoust:pD,rnmid:mD,roang:gD,roarr:vD,robrk:bD,ropar:yD,ropf:wD,Ropf:xD,roplus:CD,rotimes:kD,RoundImplies:_D,rpar:ED,rpargt:BD,rppolint:SD,rrarr:TD,Rrightarrow:OD,rsaquo:FD,rscr:ND,Rscr:LD,rsh:ID,Rsh:DD,rsqb:MD,rsquo:PD,rsquor:UD,rthree:RD,rtimes:jD,rtri:QD,rtrie:HD,rtrif:$D,rtriltri:zD,RuleDelayed:VD,ruluhar:qD,rx:KD,Sacute:WD,sacute:GD,sbquo:YD,scap:XD,Scaron:JD,scaron:ZD,Sc:eM,sc:tM,sccue:nM,sce:rM,scE:iM,Scedil:oM,scedil:aM,Scirc:sM,scirc:lM,scnap:cM,scnE:uM,scnsim:hM,scpolint:fM,scsim:dM,Scy:AM,scy:pM,sdotb:mM,sdot:gM,sdote:vM,searhk:bM,searr:yM,seArr:wM,searrow:xM,sect:CM,semi:kM,seswar:_M,setminus:EM,setmn:BM,sext:SM,Sfr:TM,sfr:OM,sfrown:FM,sharp:NM,SHCHcy:LM,shchcy:IM,SHcy:DM,shcy:MM,ShortDownArrow:PM,ShortLeftArrow:UM,shortmid:RM,shortparallel:jM,ShortRightArrow:QM,ShortUpArrow:HM,shy:$M,Sigma:zM,sigma:VM,sigmaf:qM,sigmav:KM,sim:WM,simdot:GM,sime:YM,simeq:XM,simg:JM,simgE:ZM,siml:eP,simlE:tP,simne:nP,simplus:rP,simrarr:iP,slarr:oP,SmallCircle:aP,smallsetminus:sP,smashp:lP,smeparsl:cP,smid:uP,smile:hP,smt:fP,smte:dP,smtes:AP,SOFTcy:pP,softcy:mP,solbar:gP,solb:vP,sol:bP,Sopf:yP,sopf:wP,spades:xP,spadesuit:CP,spar:kP,sqcap:_P,sqcaps:EP,sqcup:BP,sqcups:SP,Sqrt:TP,sqsub:OP,sqsube:FP,sqsubset:NP,sqsubseteq:LP,sqsup:IP,sqsupe:DP,sqsupset:MP,sqsupseteq:PP,square:UP,Square:RP,SquareIntersection:jP,SquareSubset:QP,SquareSubsetEqual:HP,SquareSuperset:$P,SquareSupersetEqual:zP,SquareUnion:VP,squarf:qP,squ:KP,squf:WP,srarr:GP,Sscr:YP,sscr:XP,ssetmn:JP,ssmile:ZP,sstarf:eU,Star:tU,star:nU,starf:rU,straightepsilon:iU,straightphi:oU,strns:aU,sub:sU,Sub:lU,subdot:cU,subE:uU,sube:hU,subedot:fU,submult:dU,subnE:AU,subne:pU,subplus:mU,subrarr:gU,subset:vU,Subset:bU,subseteq:yU,subseteqq:wU,SubsetEqual:xU,subsetneq:CU,subsetneqq:kU,subsim:_U,subsub:EU,subsup:BU,succapprox:SU,succ:TU,succcurlyeq:OU,Succeeds:FU,SucceedsEqual:NU,SucceedsSlantEqual:LU,SucceedsTilde:IU,succeq:DU,succnapprox:MU,succneqq:PU,succnsim:UU,succsim:RU,SuchThat:jU,sum:QU,Sum:HU,sung:$U,sup1:zU,sup2:VU,sup3:qU,sup:KU,Sup:WU,supdot:GU,supdsub:YU,supE:XU,supe:JU,supedot:ZU,Superset:eR,SupersetEqual:tR,suphsol:nR,suphsub:rR,suplarr:iR,supmult:oR,supnE:aR,supne:sR,supplus:lR,supset:cR,Supset:uR,supseteq:hR,supseteqq:fR,supsetneq:dR,supsetneqq:AR,supsim:pR,supsub:mR,supsup:gR,swarhk:vR,swarr:bR,swArr:yR,swarrow:wR,swnwar:xR,szlig:CR,Tab:kR,target:_R,Tau:ER,tau:BR,tbrk:SR,Tcaron:TR,tcaron:OR,Tcedil:FR,tcedil:NR,Tcy:LR,tcy:IR,tdot:DR,telrec:MR,Tfr:PR,tfr:UR,there4:RR,therefore:jR,Therefore:QR,Theta:HR,theta:$R,thetasym:zR,thetav:VR,thickapprox:qR,thicksim:KR,ThickSpace:WR,ThinSpace:GR,thinsp:YR,thkap:XR,thksim:JR,THORN:ZR,thorn:ej,tilde:tj,Tilde:nj,TildeEqual:rj,TildeFullEqual:ij,TildeTilde:oj,timesbar:aj,timesb:sj,times:lj,timesd:cj,tint:uj,toea:hj,topbot:fj,topcir:dj,top:Aj,Topf:pj,topf:mj,topfork:gj,tosa:vj,tprime:bj,trade:yj,TRADE:wj,triangle:xj,triangledown:Cj,triangleleft:kj,trianglelefteq:_j,triangleq:Ej,triangleright:Bj,trianglerighteq:Sj,tridot:Tj,trie:Oj,triminus:Fj,TripleDot:Nj,triplus:Lj,trisb:Ij,tritime:Dj,trpezium:Mj,Tscr:Pj,tscr:Uj,TScy:Rj,tscy:jj,TSHcy:Qj,tshcy:Hj,Tstrok:$j,tstrok:zj,twixt:Vj,twoheadleftarrow:qj,twoheadrightarrow:Kj,Uacute:Wj,uacute:Gj,uarr:Yj,Uarr:Xj,uArr:Jj,Uarrocir:Zj,Ubrcy:eQ,ubrcy:tQ,Ubreve:nQ,ubreve:rQ,Ucirc:iQ,ucirc:oQ,Ucy:aQ,ucy:sQ,udarr:lQ,Udblac:cQ,udblac:uQ,udhar:hQ,ufisht:fQ,Ufr:dQ,ufr:AQ,Ugrave:pQ,ugrave:mQ,uHar:gQ,uharl:vQ,uharr:bQ,uhblk:yQ,ulcorn:wQ,ulcorner:xQ,ulcrop:CQ,ultri:kQ,Umacr:_Q,umacr:EQ,uml:BQ,UnderBar:SQ,UnderBrace:TQ,UnderBracket:OQ,UnderParenthesis:FQ,Union:NQ,UnionPlus:LQ,Uogon:IQ,uogon:DQ,Uopf:MQ,uopf:PQ,UpArrowBar:UQ,uparrow:RQ,UpArrow:jQ,Uparrow:QQ,UpArrowDownArrow:HQ,updownarrow:$Q,UpDownArrow:zQ,Updownarrow:VQ,UpEquilibrium:qQ,upharpoonleft:KQ,upharpoonright:WQ,uplus:GQ,UpperLeftArrow:YQ,UpperRightArrow:XQ,upsi:JQ,Upsi:ZQ,upsih:eH,Upsilon:tH,upsilon:nH,UpTeeArrow:rH,UpTee:iH,upuparrows:oH,urcorn:aH,urcorner:sH,urcrop:lH,Uring:cH,uring:uH,urtri:hH,Uscr:fH,uscr:dH,utdot:AH,Utilde:pH,utilde:mH,utri:gH,utrif:vH,uuarr:bH,Uuml:yH,uuml:wH,uwangle:xH,vangrt:CH,varepsilon:kH,varkappa:_H,varnothing:EH,varphi:BH,varpi:SH,varpropto:TH,varr:OH,vArr:FH,varrho:NH,varsigma:LH,varsubsetneq:IH,varsubsetneqq:DH,varsupsetneq:MH,varsupsetneqq:PH,vartheta:UH,vartriangleleft:RH,vartriangleright:jH,vBar:QH,Vbar:HH,vBarv:$H,Vcy:zH,vcy:VH,vdash:qH,vDash:KH,Vdash:WH,VDash:GH,Vdashl:YH,veebar:XH,vee:JH,Vee:ZH,veeeq:e$,vellip:t$,verbar:n$,Verbar:r$,vert:i$,Vert:o$,VerticalBar:a$,VerticalLine:s$,VerticalSeparator:l$,VerticalTilde:c$,VeryThinSpace:u$,Vfr:h$,vfr:f$,vltri:d$,vnsub:A$,vnsup:p$,Vopf:m$,vopf:g$,vprop:v$,vrtri:b$,Vscr:y$,vscr:w$,vsubnE:x$,vsubne:C$,vsupnE:k$,vsupne:_$,Vvdash:E$,vzigzag:B$,Wcirc:S$,wcirc:T$,wedbar:O$,wedge:F$,Wedge:N$,wedgeq:L$,weierp:I$,Wfr:D$,wfr:M$,Wopf:P$,wopf:U$,wp:R$,wr:j$,wreath:Q$,Wscr:H$,wscr:$$,xcap:z$,xcirc:V$,xcup:q$,xdtri:K$,Xfr:W$,xfr:G$,xharr:Y$,xhArr:X$,Xi:J$,xi:Z$,xlarr:ez,xlArr:tz,xmap:nz,xnis:rz,xodot:iz,Xopf:oz,xopf:az,xoplus:sz,xotime:lz,xrarr:cz,xrArr:uz,Xscr:hz,xscr:fz,xsqcup:dz,xuplus:Az,xutri:pz,xvee:mz,xwedge:gz,Yacute:vz,yacute:bz,YAcy:yz,yacy:wz,Ycirc:xz,ycirc:Cz,Ycy:kz,ycy:_z,yen:Ez,Yfr:Bz,yfr:Sz,YIcy:Tz,yicy:Oz,Yopf:Fz,yopf:Nz,Yscr:Lz,yscr:Iz,YUcy:Dz,yucy:Mz,yuml:Pz,Yuml:Uz,Zacute:Rz,zacute:jz,Zcaron:Qz,zcaron:Hz,Zcy:$z,zcy:zz,Zdot:Vz,zdot:qz,zeetrf:Kz,ZeroWidthSpace:Wz,Zeta:Gz,zeta:Yz,zfr:Xz,Zfr:Jz,ZHcy:Zz,zhcy:eV,zigrarr:tV,zopf:nV,Zopf:rV,Zscr:iV,zscr:oV,zwj:aV,zwnj:sV},cV="Á",uV="á",hV="Â",fV="â",dV="´",AV="Æ",pV="æ",mV="À",gV="à",vV="&",bV="&",yV="Å",wV="å",xV="Ã",CV="ã",kV="Ä",_V="ä",EV="¦",BV="Ç",SV="ç",TV="¸",OV="¢",FV="©",NV="©",LV="¤",IV="°",DV="÷",MV="É",PV="é",UV="Ê",RV="ê",jV="È",QV="è",HV="Ð",$V="ð",zV="Ë",VV="ë",qV="½",KV="¼",WV="¾",GV=">",YV=">",XV="Í",JV="í",ZV="Î",eq="î",tq="¡",nq="Ì",rq="ì",iq="¿",oq="Ï",aq="ï",sq="«",lq="<",cq="<",uq="¯",hq="µ",fq="·",dq=" ",Aq="¬",pq="Ñ",mq="ñ",gq="Ó",vq="ó",bq="Ô",yq="ô",wq="Ò",xq="ò",Cq="ª",kq="º",_q="Ø",Eq="ø",Bq="Õ",Sq="õ",Tq="Ö",Oq="ö",Fq="¶",Nq="±",Lq="£",Iq='"',Dq='"',Mq="»",Pq="®",Uq="®",Rq="§",jq="­",Qq="¹",Hq="²",$q="³",zq="ß",Vq="Þ",qq="þ",Kq="×",Wq="Ú",Gq="ú",Yq="Û",Xq="û",Jq="Ù",Zq="ù",eK="¨",tK="Ü",nK="ü",rK="Ý",iK="ý",oK="¥",aK="ÿ",sK={Aacute:cV,aacute:uV,Acirc:hV,acirc:fV,acute:dV,AElig:AV,aelig:pV,Agrave:mV,agrave:gV,amp:vV,AMP:bV,Aring:yV,aring:wV,Atilde:xV,atilde:CV,Auml:kV,auml:_V,brvbar:EV,Ccedil:BV,ccedil:SV,cedil:TV,cent:OV,copy:FV,COPY:NV,curren:LV,deg:IV,divide:DV,Eacute:MV,eacute:PV,Ecirc:UV,ecirc:RV,Egrave:jV,egrave:QV,ETH:HV,eth:$V,Euml:zV,euml:VV,frac12:qV,frac14:KV,frac34:WV,gt:GV,GT:YV,Iacute:XV,iacute:JV,Icirc:ZV,icirc:eq,iexcl:tq,Igrave:nq,igrave:rq,iquest:iq,Iuml:oq,iuml:aq,laquo:sq,lt:lq,LT:cq,macr:uq,micro:hq,middot:fq,nbsp:dq,not:Aq,Ntilde:pq,ntilde:mq,Oacute:gq,oacute:vq,Ocirc:bq,ocirc:yq,Ograve:wq,ograve:xq,ordf:Cq,ordm:kq,Oslash:_q,oslash:Eq,Otilde:Bq,otilde:Sq,Ouml:Tq,ouml:Oq,para:Fq,plusmn:Nq,pound:Lq,quot:Iq,QUOT:Dq,raquo:Mq,reg:Pq,REG:Uq,sect:Rq,shy:jq,sup1:Qq,sup2:Hq,sup3:$q,szlig:zq,THORN:Vq,thorn:qq,times:Kq,Uacute:Wq,uacute:Gq,Ucirc:Yq,ucirc:Xq,Ugrave:Jq,ugrave:Zq,uml:eK,Uuml:tK,uuml:nK,Yacute:rK,yacute:iK,yen:oK,yuml:aK},lK="&",cK="'",uK=">",hK="<",fK='"',dK={amp:lK,apos:cK,gt:uK,lt:hK,quot:fK},AK={},pK={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},mK=Po&&Po.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(AK,"__esModule",{value:!0});var gK=mK(pK),vK=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function bK(e){return e>=55296&&e<=57343||e>1114111?"�":(e in gK.default&&(e=gK.default[e]),vK(e))}AK.default=bK;var yK=Po&&Po.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($o,"__esModule",{value:!0}),$o.decodeHTML=$o.decodeHTMLStrict=$o.decodeXML=void 0;var wK=yK(lV),xK=yK(sK),CK=yK(dK),kK=yK(AK),_K=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function EK(e){var t=SK(e);return function(e){return String(e).replace(_K,t)}}$o.decodeXML=EK(CK.default),$o.decodeHTMLStrict=EK(wK.default);var BK=function(e,t){return e1?jK(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function HK(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(RK,QK)}}var $K=new RegExp(LK.source+"|"+RK.source,"g");function zK(e){return e.replace($K,QK)}function VK(e){return e.replace(LK,QK)}function qK(e){return function(t){return t.replace($K,(function(t){return e[t]||QK(t)}))}}TK.escape=zK,TK.escapeUTF8=VK,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=$o,n=TK;function r(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTML)(e)}function i(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTMLStrict)(e)}function o(e,t){return(!t||t<=0?n.encodeXML:n.encodeHTML)(e)}e.decode=r,e.decodeStrict=i,e.encode=o;var a=TK;Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var s=$o;Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return s.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return s.decodeXML}})}(Ho);var KK="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",WK=92,GK=/[\\&]/,YK="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",XK=new RegExp("\\\\"+YK+"|"+KK,"gi"),JK='[&<>"]',ZK=new RegExp(JK,"g"),eW=function(e){return e.charCodeAt(0)===WK?e.charAt(1):Ho.decodeHTML(e)};function tW(e){return GK.test(e)?e.replace(XK,eW):e}function nW(e){try{return Qo(e)}catch(t){return e}}function rW(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function iW(e){return ZK.test(e)?e.replace(ZK,rW):e}function oW(e,t){for(var n=[],r=0;r`\\x00-\\x20]+",QW="'[^']*'",HW='"[^"]*"',$W="(?:"+jW+"|"+QW+"|"+HW+")",zW="(?:\\s*=\\s*"+$W+")",VW="(?:\\s+"+RW+zW+"?)",qW="<"+UW+VW+"*\\s*/?>",KW="]",WW="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",GW="[<][?].*?[?][>]",YW="]*>",XW="",JW="(?:"+qW+"|"+KW+"|"+WW+"|"+GW+"|"+YW+"|"+XW+")",ZW=new RegExp("^"+JW,"i");if(String.fromCodePoint)PW=function(e){try{return String.fromCodePoint(e)}catch(t){if(t instanceof RangeError)return String.fromCharCode(65533);throw t}};else{var eG=String.fromCharCode,tG=Math.floor;PW=function(){for(var e=[],t=0;t1114111||tG(c)!==c)return String.fromCharCode(65533);c<=65535?o.push(c):(c-=65536,n=55296+(c>>10),r=c%1024+56320,o.push(n,r)),(a+1===s||o.length>i)&&(l+=eG.apply(void 0,o),o.length=0)}return l}}var nG=PW,rG="(?:[w-]+.)*[A-Za-z0-9-]+.[A-Za-z0-9-]+",iG="[^<\\s]*[^a&&h.push(MW(i.substring(a,p[0]),u(a,p[0]-1)));var v=BW("link",u.apply(void 0,p));v.appendChild(MW(g,u.apply(void 0,p))),v.destination=m,v.extendedAutolink=!0,h.push(v),a=p[1]+1}a?@\[\]\\^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/),PG=new RegExp('^(?:"('+DG+'|[^"\\x00])*"|\'('+DG+"|[^'\\x00])*'|\\(("+DG+"|[^()\\x00])*\\))"),UG=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,RG=new RegExp("^"+YK),jG=new RegExp("^"+KK,"i"),QG=/`+/,HG=/^`+/,$G=/\.\.\./g,zG=/--+/g,VG=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,qG=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,KG=/^ *(?:\n *)?/,WG=/^[ \t\n\x0b\x0c\x0d]/,GG=/^\s/,YG=/ *$/,XG=/^ */,JG=/^ *(?:\n|$)/,ZG=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/,eY=/^[^\n`\[\]\\!<&*_'"~$]+/m,tY=function(){function e(e){this.subject="",this.delimiters=null,this.brackets=null,this.pos=0,this.lineStartNum=0,this.lineIdx=0,this.lineOffsets=[0],this.linePosOffset=0,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.options=e}return e.prototype.sourcepos=function(e,t){var n=this.linePosOffset+this.lineOffsets[this.lineIdx],r=this.lineStartNum+this.lineIdx,i=[r,e+n];return"number"===typeof t?[i,[r,t+n]]:i},e.prototype.nextLine=function(){this.lineIdx+=1,this.linePosOffset=-this.pos},e.prototype.match=function(e){var t=e.exec(this.subject.slice(this.pos));return null===t?null:(this.pos+=t.index+t[0].length,t[0])},e.prototype.peek=function(){return this.pos1){var l=fG(s);this.lineIdx+=s.length-1,this.linePosOffset=-(this.pos-l.length-n.length),a[1]=this.sourcepos(this.pos),o=s.join(" ")}var c=BW("code",a);return o.length>0&&null!==o.match(/[^ ]/)&&" "==o[0]&&" "==o[o.length-1]?c.literal=o.slice(1,o.length-1):c.literal=o,c.tickCount=n.length,e.appendChild(c),!0}return this.pos=i,e.appendChild(MW(n,this.sourcepos(t,this.pos-1))),!0},e.prototype.parseBackslash=function(e){var t,n=this.subject;this.pos+=1;var r=this.pos;return this.peek()===vG?(this.pos+=1,t=BW("linebreak",this.sourcepos(this.pos-1,this.pos)),e.appendChild(t),this.nextLine()):RG.test(n.charAt(this.pos))?(e.appendChild(MW(n.charAt(this.pos),this.sourcepos(r,this.pos))),this.pos+=1):e.appendChild(MW("\\",this.sourcepos(r,r))),!0},e.prototype.parseAutolink=function(e){var t,n,r,i=this.pos+1;return(t=this.match(VG))?(n=t.slice(1,t.length-1),r=BW("link",this.sourcepos(i,this.pos)),r.destination=nW("mailto:"+n),r.title="",r.appendChild(MW(n,this.sourcepos(i+1,this.pos-1))),e.appendChild(r),!0):!!(t=this.match(qG))&&(n=t.slice(1,t.length-1),r=BW("link",this.sourcepos(i,this.pos)),r.destination=nW(n),r.title="",r.appendChild(MW(n,this.sourcepos(i+1,this.pos-1))),e.appendChild(r),!0)},e.prototype.parseHtmlTag=function(e){var t=this.pos+1,n=this.match(ZW);if(null===n)return!1;var r=BW("htmlInline",this.sourcepos(t,this.pos));return r.literal=n,e.appendChild(r),!0},e.prototype.scanDelims=function(e){var t=0,n=this.pos;if(e===NG||e===LG)t++,this.pos++;else while(this.peek()===e)t++,this.pos++;if(0===t||t<2&&(e===kG||e===IG))return this.pos=n,null;var r,i=0===n?"\n":this.subject.charAt(n-1),o=this.peek();r=-1===o?"\n":nG(o);var a,s,l=GG.test(r),c=MG.test(r),u=GG.test(i),h=MG.test(i),f=!l&&(!c||u||h),d=!u&&(!h||l||c);return e===yG?(a=f&&(!d||h),s=d&&(!f||c)):e===NG||e===LG?(a=f&&!d,s=d):e===IG?(a=!l,s=!u):(a=f,s=d),this.pos=n,{numdelims:t,canOpen:a,canClose:s}},e.prototype.handleDelim=function(e,t){var n=this.scanDelims(e);if(!n)return!1;var r,i=n.numdelims,o=this.pos+1;this.pos+=i,r=e===NG?"’":e===LG?"“":this.subject.slice(o-1,this.pos);var a=MW(r,this.sourcepos(o,this.pos));return t.appendChild(a),(n.canOpen||n.canClose)&&(this.options.smart||e!==NG&&e!==LG)&&(this.delimiters={cc:e,numdelims:i,origdelims:i,node:a,previous:this.delimiters,next:null,canOpen:n.canOpen,canClose:n.canClose},this.delimiters.previous&&(this.delimiters.previous.next=this.delimiters)),!0},e.prototype.removeDelimiter=function(e){null!==e.previous&&(e.previous.next=e.next),null===e.next?this.delimiters=e.previous:e.next.previous=e.previous},e.prototype.removeDelimitersBetween=function(e,t){e.next!==t&&(e.next=t,t.previous=e)},e.prototype.processEmphasis=function(e){var t,n,r,i,o,a,s,l=!1,c=(t={},t[yG]=[e,e,e],t[bG]=[e,e,e],t[NG]=[e],t[LG]=[e],t[kG]=[e],t[IG]=[e],t);r=this.delimiters;while(null!==r&&r.previous!==e)r=r.previous;while(null!==r){var u=r.cc,h=u===yG||u===bG;if(r.canClose){n=r.previous,s=!1;while(null!==n&&n!==e&&n!==c[u][h?r.origdelims%3:0]){if(l=h&&(r.canOpen||n.canClose)&&r.origdelims%3!==0&&(n.origdelims+r.origdelims)%3===0,n.cc===r.cc&&n.canOpen&&!l){s=!0;break}n=n.previous}if(i=r,h||u===kG||u===IG)if(s){if(n){var f=r.numdelims>=2&&n.numdelims>=2?2:1,d=h?0:1;o=n.node,a=r.node;var A=h?1===f?"emph":"strong":"strike";u===IG&&(A="customInline");var p=BW(A),m=o.sourcepos[1],g=a.sourcepos[0];p.sourcepos=[[m[0],m[1]-f+1],[g[0],g[1]+f-1]],o.sourcepos[1][1]-=f,a.sourcepos[0][1]+=f,o.literal=o.literal.slice(f),a.literal=a.literal.slice(f),n.numdelims-=f,r.numdelims-=f;var v=o.next,b=void 0;while(v&&v!==a)b=v.next,v.unlink(),p.appendChild(v),v=b;if(u===IG){var y=p.firstChild,w=y.literal||"",x=w.split(/\s/)[0];p.info=x,w.length<=x.length?y.unlink():(y.sourcepos[0][1]+=x.length,y.literal=w.replace(x+" ",""))}if(o.insertAfter(p),this.removeDelimitersBetween(n,r),n.numdelims<=d&&(0===n.numdelims&&o.unlink(),this.removeDelimiter(n)),r.numdelims<=d){0===r.numdelims&&a.unlink();var C=r.next;this.removeDelimiter(r),r=C}}}else r=r.next;else u===NG?(r.node.literal="’",s&&(n.node.literal="‘"),r=r.next):u===LG&&(r.node.literal="”",s&&(n.node.literal="“"),r=r.next);s||(c[u][h?i.origdelims%3:0]=i.previous,i.canOpen||this.removeDelimiter(i))}else r=r.next}while(null!==this.delimiters&&this.delimiters!==e)this.removeDelimiter(this.delimiters)},e.prototype.parseLinkTitle=function(){var e=this.match(PG);return null===e?null:tW(e.substr(1,e.length-2))},e.prototype.parseLinkDestination=function(){var e=this.match(UG);if(null===e){if(this.peek()===_G)return null;var t=this.pos,n=0,r=void 0;while(-1!==(r=this.peek()))if(r===BG&&RG.test(this.subject.charAt(this.pos+1)))this.pos+=1,-1!==this.peek()&&(this.pos+=1);else if(r===TG)this.pos+=1,n+=1;else if(r===OG){if(n<1)break;this.pos+=1,n-=1}else{if(null!==WG.exec(nG(r)))break;this.pos+=1}return this.pos===t&&r!==OG||0!==n?null:(e=this.subject.substr(t,this.pos-t),nW(tW(e)))}return nW(tW(e.substr(1,e.length-2)))},e.prototype.parseLinkLabel=function(){var e=this.match(ZG);return null===e||e.length>1001?0:e.length},e.prototype.parseOpenBracket=function(e){var t=this.pos;this.pos+=1;var n=MW("[",this.sourcepos(this.pos,this.pos));return e.appendChild(n),this.addBracket(n,t,!1),!0},e.prototype.parseBang=function(e){var t=this.pos;if(this.pos+=1,this.peek()===xG){this.pos+=1;var n=MW("![",this.sourcepos(this.pos-1,this.pos));e.appendChild(n),this.addBracket(n,t+1,!0)}else{n=MW("!",this.sourcepos(this.pos,this.pos));e.appendChild(n)}return!0},e.prototype.parseCloseBracket=function(e){var t=null,n=null,r=!1;this.pos+=1;var i=this.pos,o=this.brackets;if(null===o)return e.appendChild(MW("]",this.sourcepos(i,i))),!0;if(!o.active)return e.appendChild(MW("]",this.sourcepos(i,i))),this.removeBracket(),!0;var a=o.image,s=this.pos;this.peek()===TG&&(this.pos++,this.spnl()&&null!==(t=this.parseLinkDestination())&&this.spnl()&&(WG.test(this.subject.charAt(this.pos-1))&&(n=this.parseLinkTitle()),1)&&this.spnl()&&this.peek()===OG?(this.pos+=1,r=!0):this.pos=s);var l="";if(!r){var c=this.pos,u=this.parseLinkLabel();if(u>2?l=this.subject.slice(c,c+u):o.bracketAfter||(l=this.subject.slice(o.index,i)),0===u&&(this.pos=s),l){l=dG(l);var h=this.refMap[l];h&&(t=h.destination,n=h.title,r=!0)}}if(r){var f=BW(a?"image":"link");f.destination=t,f.title=n||"",f.sourcepos=[o.startpos,this.sourcepos(this.pos)];var d=o.node.next,A=void 0;while(d)A=d.next,d.unlink(),f.appendChild(d),d=A;if(e.appendChild(f),this.processEmphasis(o.previousDelimiter),this.removeBracket(),o.node.unlink(),!a){o=this.brackets;while(null!==o)o.image||(o.active=!1),o=o.previous}return this.options.referenceDefinition&&(this.refLinkCandidateMap[e.id]={node:e,refLabel:l}),!0}return this.removeBracket(),this.pos=i,e.appendChild(MW("]",this.sourcepos(i,i))),this.options.referenceDefinition&&(this.refLinkCandidateMap[e.id]={node:e,refLabel:l}),!0},e.prototype.addBracket=function(e,t,n){null!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:e,startpos:this.sourcepos(t+(n?0:1)),previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:n,active:!0}},e.prototype.removeBracket=function(){this.brackets&&(this.brackets=this.brackets.previous)},e.prototype.parseEntity=function(e){var t,n=this.pos+1;return!!(t=this.match(jG))&&(e.appendChild(MW(Ho.decodeHTML(t),this.sourcepos(n,this.pos))),!0)},e.prototype.parseString=function(e){var t,n=this.pos+1;if(t=this.match(eY)){if(this.options.smart){var r=t.replace($G,"…").replace(zG,(function(e){var t=0,n=0;return e.length%3===0?n=e.length/3:e.length%2===0?t=e.length/2:e.length%3===2?(t=1,n=(e.length-2)/3):(t=2,n=(e.length-4)/3),oW("—",n)+oW("–",t)}));e.appendChild(MW(r,this.sourcepos(n,this.pos)))}else{var i=MW(t,this.sourcepos(n,this.pos));e.appendChild(i)}return!0}return!1},e.prototype.parseNewline=function(e){this.pos+=1;var t=e.lastChild;if(t&&"text"===t.type&&" "===t.literal[t.literal.length-1]){var n=" "===t.literal[t.literal.length-2],r=t.literal.length;t.literal=t.literal.replace(YG,"");var i=r-t.literal.length;t.sourcepos[1][1]-=i,e.appendChild(BW(n?"linebreak":"softbreak",this.sourcepos(this.pos-i,this.pos)))}else e.appendChild(BW("softbreak",this.sourcepos(this.pos,this.pos)));return this.nextLine(),this.match(XG),!0},e.prototype.parseReference=function(e,t){if(!this.options.referenceDefinition)return 0;this.subject=e.stringContent,this.pos=0;var n=null,r=this.pos,i=this.parseLinkLabel();if(0===i)return 0;var o=this.subject.substr(0,i);if(this.peek()!==FG)return this.pos=r,0;this.pos++,this.spnl();var a=this.parseLinkDestination();if(null===a)return this.pos=r,0;var s=this.pos;this.spnl(),this.pos!==s&&(n=this.parseLinkTitle()),null===n&&(n="",this.pos=s);var l=!0;if(null===this.match(JG)&&(""===n?l=!1:(n="",this.pos=s,l=null!==this.match(JG))),!l)return this.pos=r,0;var c=dG(o);if(""===c)return this.pos=r,0;var u=this.getReferenceDefSourcepos(e);e.sourcepos[0][0]=u[1][0]+1;var h=BW("refDef",u);return h.title=n,h.dest=a,h.label=c,e.insertBefore(h),t[c]?this.refDefCandidateMap[h.id]=h:t[c]=RX(h),this.pos-r},e.prototype.mergeTextNodes=function(e){var t,n=[];while(t=e.next()){var r=t.entering,i=t.node;if(r&&"text"===i.type)n.push(i);else if(1===n.length)n=[];else if(n.length>1){var o=n[0],a=n[n.length-1];o.sourcepos&&a.sourcepos&&(o.sourcepos[1]=a.sourcepos[1]),o.next=a.next,o.next&&(o.next.prev=o);for(var s=1;s0&&xY(yY(n,e.offset)))e.advanceOffset(1,!0),i--;return 0},finalize:function(e,t){if(null!==t.stringContent){var n=t.stringContent,r=n.indexOf("\n"),i=n.slice(0,r),o=n.slice(r+1),a=i.match(/^(\s*)(.*)/);t.info=tW(a[2].trim()),t.literal=o,t.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},_Y={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!0},EY={continue:function(){return 0},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},BY={continue:function(){return 0},finalize:function(e,t){var n=t.firstChild;while(n){if(bY(n)&&n.next){t.listData.tight=!1;break}var r=n.firstChild;while(r){if(bY(r)&&(n.next||r.next)){t.listData.tight=!1;break}r=r.next}n=n.next}},canContain:function(e){return"item"===e},acceptsLines:!1},SY={continue:function(e){var t=e.currentLine;return e.indented||yY(t,e.nextNonspace)!==dY?1:(e.advanceNextNonspace(),e.advanceOffset(1,!1),xY(yY(t,e.offset))&&e.advanceOffset(1,!0),0)},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},TY={continue:function(e,t){if(e.blank){if(null===t.firstChild)return 1;e.advanceNextNonspace()}else{if(!(e.indent>=t.listData.markerOffset+t.listData.padding))return 1;e.advanceOffset(t.listData.markerOffset+t.listData.padding,!0)}return 0},finalize:rY,canContain:function(e){return"item"!==e},acceptsLines:!1},OY={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},FY={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},NY={continue:function(e,t){var n=e.currentLine,r=e.indent;if(t.isFenced){var i=r<=3&&n.charAt(e.nextNonspace)===t.fenceChar&&n.slice(e.nextNonspace).match(vY);if(i&&i[0].length>=t.fenceLength)return e.lastLineLength=e.offset+r+i[0].length,e.finalize(t,e.lineNumber),2;var o=t.fenceOffset;while(o>0&&xY(yY(n,e.offset)))e.advanceOffset(1,!0),o--}else if(r>=hY)e.advanceOffset(hY,!0);else{if(!e.blank)return 1;e.advanceNextNonspace()}return 0},finalize:function(e,t){var n;if(null!==t.stringContent){if(t.isFenced){var r=t.stringContent,i=r.indexOf("\n"),o=r.slice(0,i),a=r.slice(i+1),s=o.match(/^(\s*)(.*)/);t.infoPadding=s[1].length,t.info=tW(s[2].trim()),t.literal=a}else t.literal=null===(n=t.stringContent)||void 0===n?void 0:n.replace(/(\n *)+$/,"\n");t.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},LY={continue:function(e,t){return!e.blank||6!==t.htmlBlockType&&7!==t.htmlBlockType?0:1},finalize:function(e,t){var n;t.literal=(null===(n=t.stringContent)||void 0===n?void 0:n.replace(/(\n *)+$/,""))||null,t.stringContent=null},canContain:function(){return!1},acceptsLines:!0},IY={continue:function(e){return e.blank?1:0},finalize:function(e,t){if(null!==t.stringContent){var n,r=!1;while(yY(t.stringContent,0)===mY&&(n=e.inlineParser.parseReference(t,e.refMap)))t.stringContent=t.stringContent.slice(n),r=!0;r&&wY(t.stringContent)&&t.unlink()}},canContain:function(){return!1},acceptsLines:!0},DY=_Y,MY=_Y,PY={document:EY,list:BY,blockQuote:SY,item:TY,heading:OY,thematicBreak:FY,codeBlock:NY,htmlBlock:LY,paragraph:IY,table:iY,tableBody:oY,tableHead:aY,tableRow:cY,tableCell:uY,tableDelimRow:sY,tableDelimCell:lY,refDef:DY,customBlock:kY,frontMatter:MY};function UY(e){for(var t=0,n=0,r=[],i=0;i=o.columns.length&&(e.ignored=!0),i.appendChild(e)})),2},$Y=/^(\$\$)(\s*[a-zA-Z])+/,zY=/^(\$\$)(\s*[a-zA-Z])+.*(\$\$)/,VY=function(e){var t;if(!e.indented&&!zY.test(e.currentLine)&&(t=e.currentLine.match($Y))){var n=t[1].length;e.closeUnmatchedBlocks();var r=e.addChild("customBlock",e.nextNonspace);return r.syntaxLength=n,r.offset=e.indent,e.advanceNextNonspace(),e.advanceOffset(n,!1),2}return 0},qY=/^`{3,}(?!.*`)|^~{3,}/,KY=[/./,/^<(?:script|pre|style)(?:\s|>|$)/i,/^/,/\?>/,/>/,/\]\]>/],pX=/^[#`~*+_=<>0-9-;$]/,mX=/\r\n|\n|\r/;function gX(){return BW("document",[[1,1],[0,0]])}var vX={smart:!1,tagFilter:!1,extendedAutolinks:!1,disallowedHtmlBlockTags:[],referenceDefinition:!1,disallowDeepHeading:!1,customParser:null,frontMatter:!1},bX=function(){function e(e){this.options=Do(Do({},vX),e),this.doc=gX(),this.tip=this.doc,this.oldtip=this.doc,this.lineNumber=0,this.offset=0,this.column=0,this.nextNonspace=0,this.nextNonspaceColumn=0,this.indent=0,this.currentLine="",this.indented=!1,this.blank=!1,this.partiallyConsumedTab=!1,this.allClosed=!0,this.lastMatchedContainer=this.doc,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.lastLineLength=0,this.lines=[],this.options.frontMatter&&(PY.frontMatter=dX,uX.unshift(fX)),this.inlineParser=new tY(this.options)}return e.prototype.advanceOffset=function(e,t){void 0===t&&(t=!1);var n,r,i,o=this.currentLine;while(e>0&&(i=o[this.offset]))"\t"===i?(n=4-this.column%4,t?(this.partiallyConsumedTab=n>e,r=n>e?e:n,this.column+=r,this.offset+=this.partiallyConsumedTab?0:1,e-=r):(this.partiallyConsumedTab=!1,this.column+=n,this.offset+=1,e-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,e-=1)},e.prototype.advanceNextNonspace=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},e.prototype.findNextNonspace=function(){var e,t=this.currentLine,n=this.offset,r=this.column;while(""!==(e=t.charAt(n)))if(" "===e)n++,r++;else{if("\t"!==e)break;n++,r+=4-r%4}this.blank="\n"===e||"\r"===e||""===e,this.nextNonspace=n,this.nextNonspaceColumn=r,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=hY},e.prototype.addLine=function(){if(this.partiallyConsumedTab){this.offset+=1;var e=4-this.column%4;this.tip.stringContent+=oW(" ",e)}this.tip.lineOffsets?this.tip.lineOffsets.push(this.offset):this.tip.lineOffsets=[this.offset],this.tip.stringContent+=this.currentLine.slice(this.offset)+"\n"},e.prototype.addChild=function(e,t){while(!PY[this.tip.type].canContain(e))this.finalize(this.tip,this.lineNumber-1);var n=t+1,r=BW(e,[[this.lineNumber,n],[0,0]]);return r.stringContent="",this.tip.appendChild(r),this.tip=r,r},e.prototype.closeUnmatchedBlocks=function(){if(!this.allClosed){while(this.oldtip!==this.lastMatchedContainer){var e=this.oldtip.parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=e}this.allClosed=!0}},e.prototype.finalize=function(e,t){var n=e.parent;e.open=!1,e.sourcepos[1]=[t,this.lastLineLength],PY[e.type].finalize(this,e),this.tip=n},e.prototype.processInlines=function(e){var t,n=this.options.customParser,r=e.walker();this.inlineParser.refMap=this.refMap,this.inlineParser.refLinkCandidateMap=this.refLinkCandidateMap,this.inlineParser.refDefCandidateMap=this.refDefCandidateMap,this.inlineParser.options=this.options;while(t=r.next()){var i=t.node,o=t.entering,a=i.type;n&&n[a]&&n[a](i,{entering:o,options:this.options}),o||"paragraph"!==a&&"heading"!==a&&("tableCell"!==a||i.ignored)||this.inlineParser.parse(i)}},e.prototype.incorporateLine=function(e){var t=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,-1!==e.indexOf("\0")&&(e=e.replace(/\0/g,"�")),this.currentLine=e;var n,r=!0;while((n=t.lastChild)&&n.open){switch(t=n,this.findNextNonspace(),PY[t.type]["continue"](this,t)){case 0:break;case 1:r=!1;break;case 2:return void(this.lastLineLength=e.length);default:throw new Error("continue returned illegal value, must be 0, 1, or 2")}if(!r){t=t.parent;break}}this.allClosed=t===this.oldtip,this.lastMatchedContainer=t;var i="paragraph"!==t.type&&PY[t.type].acceptsLines,o=uX.length;while(!i){if(this.findNextNonspace(),"table"!==t.type&&"tableBody"!==t.type&&"paragraph"!==t.type&&!this.indented&&!pX.test(e.slice(this.nextNonspace))){this.advanceNextNonspace();break}var a=0;while(a=1&&t.htmlBlockType<=5&&AX[t.htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=e.length,this.finalize(t,this.lineNumber))):this.offsett[0]?-1:e[1]t[1]?-1:0}function wX(e,t){var n=e[0],r=e[1];return 1===yX(r,t)?1:-1===yX(n,t)?-1:0}function xX(e,t){if(e.parent===t.parent&&e!==t){var n=e.next;while(n&&n!==t){for(var r=n.next,i=0,o=["parent","prev","next"];i=0;n-=1)e.prependChild(t[n])}function EX(e,t){if(e&&e.parent&&0!==t){var n,r=e.parent.walker();r.resumeAt(e,!0);while(n=r.next()){var i=n.node,o=n.entering;o&&(i.sourcepos[0][0]+=t,i.sourcepos[1][0]+=t)}}}function BX(e,t){var n=e[0],r=e[1];return r[0]t?-1:0}function SX(e,t){var n=e.firstChild;while(n){var r=BX(n.sourcepos,t);if(0===r)return n;if(-1===r)return n.prev||n;n=n.next}return e.lastChild}function TX(e){while(e.lastChild)e=e.lastChild;return e}function OX(e){while(e.parent&&"document"!==e.parent.type&&e.parent.sourcepos[0][0]===e.sourcepos[0][0])e=e.parent;return e}function FX(e,t){var n=e.firstChild,r=null;while(n){var i=BX(n.sourcepos,t);if(0===i){if(n.sourcepos[0][0]===t||!n.firstChild)return n;r=n,n=n.firstChild}else{if(-1===i)break;r=n,n=n.next}}return r?OX(TX(r)):null}function NX(e,t){var n=e,r=null;while(n){var i=wX(n.sourcepos,t);if(0===i){if(!n.firstChild)return n;r=n,n=n.firstChild}else{if(-1===i)return r;if(!n.next)return r;n=n.next}}return n}function LX(e){return hW(e)||null}function IX(e,t,n){if(void 0===n&&(n=null),t){var r=t.walker();while(t&&t!==n){e(t);var i=r.next();if(!i)break;t=i.node}}}function DX(e){var t=LX(e);if(!t)return!0;while(t&&"document"!==t.type){if(!t.parent&&!t.prev&&!t.next)return!0;t=t.parent}return!1}var MX=/\r\n|\n|\r/;function PX(e){var t=e.match(/^[ \t]+/);if(t&&(t[0].length>=2||/\t/.test(t[0])))return!0;var n=t?e.slice(t.length):e;return XY.test(n)||JY.test(n)}function UX(e){return!wY(e)&&-1!==e.indexOf("|")}function RX(e){var t=e.id,n=e.title,r=e.sourcepos,i=e.dest;return{id:t,title:n,sourcepos:r,unlinked:!1,destination:i}}var jX=function(){function e(e,t){this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.referenceDefinition=!!(null===t||void 0===t?void 0:t.referenceDefinition),this.parser=new bX(t),this.parser.setRefMaps(this.refMap,this.refLinkCandidateMap,this.refDefCandidateMap),this.eventHandlerMap={change:[]},e=e||"",this.lineTexts=e.split(MX),this.root=this.parser.parse(e,this.lineTexts)}return e.prototype.updateLineTexts=function(e,t,n){var r,i=e[0],o=e[1],a=t[0],s=t[1],l=n.split(MX),c=l.length,u=this.lineTexts[i-1],h=this.lineTexts[a-1];l[0]=u.slice(0,o-1)+l[0],l[c-1]=l[c-1]+h.slice(s-1);var f=a-i+1;return(r=this.lineTexts).splice.apply(r,Mo([i-1,f],l)),c-f},e.prototype.updateRootNodeState=function(){if(1===this.lineTexts.length&&""===this.lineTexts[0])return this.root.lastLineBlank=!0,void(this.root.sourcepos=[[1,1],[1,0]]);this.root.lastChild&&(this.root.lastLineBlank=this.root.lastChild.lastLineBlank);var e=this.lineTexts,t=e.length-1;while(""===e[t])t-=1;e.length-2>t&&(t+=1),this.root.sourcepos[1]=[t+1,e[t].length]},e.prototype.replaceRangeNodes=function(e,t,n){e?(kX(e,n),xX(e,t),[e.id,t.id].forEach((function(e){return fW(e)})),e.unlink()):t?(kX(t,n),fW(t.id),t.unlink()):_X(this.root,n)},e.prototype.getNodeRange=function(e,t){var n=SX(this.root,e[0]),r=SX(this.root,t[0]);return r&&r.next&&t[0]+1===r.next.sourcepos[0][0]&&(r=r.next),[n,r]},e.prototype.trigger=function(e,t){this.eventHandlerMap[e].forEach((function(e){e(t)}))},e.prototype.extendEndLine=function(e){while(""===this.lineTexts[e])e+=1;return e},e.prototype.parseRange=function(e,t,n,r){e&&e.prev&&(FW(e.prev)&&PX(this.lineTexts[n-1])||NW(e.prev)&&UX(this.lineTexts[n-1]))&&(e=e.prev,n=e.sourcepos[0][0]);var i=this.lineTexts.slice(n-1,r),o=this.parser.partialParseStart(n,i),a=t?t.next:this.root.firstChild,s=o.lastChild,l=s&&SW(s)&&s.open,c=s&&IW(s)&&s.open,u=s&&FW(s);while((l||c)&&a||u&&a&&("list"===a.type||a.sourcepos[0][1]>=2)){var h=this.extendEndLine(a.sourcepos[1][0]);this.parser.partialParseExtends(this.lineTexts.slice(r,h)),e||(e=t),t=a,r=h,a=a.next}this.parser.partialParseFinish();var f=CX(o);return{newNodes:f,extStartNode:e,extEndNode:t}},e.prototype.getRemovedNodeRange=function(e,t){return!e||e&&LW(e)||t&&LW(t)?null:{id:[e.id,t.id],line:[e.sourcepos[0][0]-1,t.sourcepos[1][0]-1]}},e.prototype.markDeletedRefMap=function(e,t){var n=this;if(!mG(this.refMap)){var r=function(e){if(LW(e)){var t=n.refMap[e.label];t&&e.id===t.id&&(t.unlinked=!0)}};e&&IX(r,e.parent,t),t&&IX(r,t)}},e.prototype.replaceWithNewRefDefState=function(e){var t=this;if(!mG(this.refMap)){var n=function(e){if(LW(e)){var n=e.label,r=t.refMap[n];r&&!r.unlinked||(t.refMap[n]=RX(e))}};e.forEach((function(e){IX(n,e)}))}},e.prototype.replaceWithRefDefCandidate=function(){var e=this;mG(this.refDefCandidateMap)||AG(this.refDefCandidateMap,(function(t,n){var r=n.label,i=n.sourcepos,o=e.refMap[r];(!o||o.unlinked||o.sourcepos[0][0]>i[0][0])&&(e.refMap[r]=RX(n))}))},e.prototype.getRangeWithRefDef=function(e,t,n,r,i){if(this.referenceDefinition&&!mG(this.refMap)){var o=SX(this.root,e-1),a=SX(this.root,t+1);o&&LW(o)&&o!==n&&o!==r&&(n=o,e=n.sourcepos[0][0]),a&&LW(a)&&a!==n&&a!==r&&(r=a,t=this.extendEndLine(r.sourcepos[1][0]+i))}return[n,r,e,t]},e.prototype.parse=function(e,t,n){void 0===n&&(n=0);var r=this.getNodeRange(e,t),i=r[0],o=r[1],a=i?Math.min(i.sourcepos[0][0],e[0]):e[0],s=this.extendEndLine((o?Math.max(o.sourcepos[1][0],t[0]):t[0])+n),l=this.parseRange.apply(this,this.getRangeWithRefDef(a,s,i,o,n)),c=l.newNodes,u=l.extStartNode,h=l.extEndNode,f=this.getRemovedNodeRange(u,h),d=h?h.next:this.root.firstChild;return this.referenceDefinition?(this.markDeletedRefMap(u,h),this.replaceRangeNodes(u,h,c),this.replaceWithNewRefDefState(c)):this.replaceRangeNodes(u,h,c),{nodes:c,removedNodeRange:f,nextNode:d}},e.prototype.parseRefLink=function(){var e=this,t=[];return mG(this.refMap)||AG(this.refMap,(function(n,r){r.unlinked&&delete e.refMap[n],AG(e.refLinkCandidateMap,(function(r,i){var o=i.node,a=i.refLabel;a===n&&t.push(e.parse(o.sourcepos[0],o.sourcepos[1]))}))})),t},e.prototype.removeUnlinkedCandidate=function(){mG(this.refDefCandidateMap)||[this.refLinkCandidateMap,this.refDefCandidateMap].forEach((function(e){AG(e,(function(t){DX(t)&&delete e[t]}))}))},e.prototype.editMarkdown=function(e,t,n){var r=this.updateLineTexts(e,t,n),i=this.parse(e,t,r),o=pG(i,"nextNode");EX(i.nextNode,r),this.updateRootNodeState();var a=[o];return this.referenceDefinition&&(this.removeUnlinkedCandidate(),this.replaceWithRefDefCandidate(),a=a.concat(this.parseRefLink())),this.trigger("change",a),a},e.prototype.getLineTexts=function(){return this.lineTexts},e.prototype.getRootNode=function(){return this.root},e.prototype.findNodeAtPosition=function(e){var t=NX(this.root,e);return t&&t!==this.root?t:null},e.prototype.findFirstNodeAtLine=function(e){return FX(this.root,e)},e.prototype.on=function(e,t){this.eventHandlerMap[e].push(t)},e.prototype.off=function(e,t){var n=this.eventHandlerMap[e],r=n.indexOf(t);n.splice(r,1)},e.prototype.findNodeById=function(e){return LX(e)},e.prototype.removeAllNode=function(){dW()},e}(),QX=["title","textarea","style","xmp","iframe","noembed","noframes","script","plaintext"],HX=new RegExp("<(/?(?:"+QX.join("|")+")[^>]*>)","ig");function $X(e){return HX.test(e)?e.replace(HX,(function(e,t){return"<"+t})):e}var zX={heading:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"h"+e.level,outerNewLine:!0}},text:function(e){return{type:"text",content:e.literal}},softbreak:function(e,t){var n=t.options;return{type:"html",content:n.softbreak}},linebreak:function(){return{type:"html",content:"
\n"}},emph:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"em"}},strong:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"strong"}},paragraph:function(e,t){var n,r=t.entering,i=null===(n=e.parent)||void 0===n?void 0:n.parent;return i&&"list"===i.type&&i.listData.tight?null:{type:r?"openTag":"closeTag",tagName:"p",outerNewLine:!0}},thematicBreak:function(){return{type:"openTag",tagName:"hr",outerNewLine:!0,selfClose:!0}},blockQuote:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"blockquote",outerNewLine:!0,innerNewLine:!0}},list:function(e,t){var n=t.entering,r=e.listData,i=r.type,o=r.start,a="bullet"===i?"ul":"ol",s={};return"ol"===a&&null!==o&&1!==o&&(s.start=o.toString()),{type:n?"openTag":"closeTag",tagName:a,attributes:s,outerNewLine:!0}},item:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"li",outerNewLine:!0}},htmlInline:function(e,t){var n=t.options,r=n.tagFilter?$X(e.literal):e.literal;return{type:"html",content:r}},htmlBlock:function(e,t){var n=t.options,r=n.tagFilter?$X(e.literal):e.literal;return n.nodeId?[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"html",content:r},{type:"closeTag",tagName:"div",outerNewLine:!0}]:{type:"html",content:r,outerNewLine:!0}},code:function(e){return[{type:"openTag",tagName:"code"},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"}]},codeBlock:function(e){var t=e.info,n=t?t.split(/\s+/):[],r=[];return n.length>0&&n[0].length>0&&r.push("language-"+iW(n[0])),[{type:"openTag",tagName:"pre",outerNewLine:!0},{type:"openTag",tagName:"code",classNames:r},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"},{type:"closeTag",tagName:"pre",outerNewLine:!0}]},link:function(e,t){var n=t.entering;if(n){var r=e,i=r.title,o=r.destination;return{type:"openTag",tagName:"a",attributes:Do({href:iW(o)},i&&{title:iW(i)})}}return{type:"closeTag",tagName:"a"}},image:function(e,t){var n=t.getChildrenText,r=t.skipChildren,i=e,o=i.title,a=i.destination;return r(),{type:"openTag",tagName:"img",selfClose:!0,attributes:Do({src:iW(a),alt:n(e)},o&&{title:iW(o)})}},customBlock:function(e,t,n){var r=e.info.trim().toLowerCase(),i=n[r];if(i)try{return i(e,t)}catch(o){console.warn("[@toast-ui/editor] - The error occurred when "+r+" block node was parsed in markdown renderer: "+o)}return[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"text",content:e.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},frontMatter:function(e){return[{type:"openTag",tagName:"div",outerNewLine:!0,attributes:{style:"white-space: pre; display: none;"}},{type:"text",content:e.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},customInline:function(e,t,n){var r=e,i=r.info,o=r.firstChild,a=i.trim().toLowerCase(),s=n[a],l=t.entering;if(s)try{return s(e,t)}catch(c){console.warn("[@toast-ui/editor] - The error occurred when "+a+" inline node was parsed in markdown renderer: "+c)}return l?[{type:"openTag",tagName:"span"},{type:"text",content:"$$"+i+(o?" ":"")}]:[{type:"text",content:"$$"},{type:"closeTag",tagName:"span"}]}},VX={strike:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"del"}},item:function(e,t){var n=t.entering,r=e.listData,i=r.checked,o=r.task;if(n){var a={type:"openTag",tagName:"li",outerNewLine:!0};return o?[a,{type:"openTag",tagName:"input",selfClose:!0,attributes:Do(Do({},i&&{checked:""}),{disabled:"",type:"checkbox"})},{type:"text",content:" "}]:a}return{type:"closeTag",tagName:"li",outerNewLine:!0}},table:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"table",outerNewLine:!0}},tableHead:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"thead",outerNewLine:!0}},tableBody:function(e,t){var n=t.entering;return{type:n?"openTag":"closeTag",tagName:"tbody",outerNewLine:!0}},tableRow:function(e,t){var n=t.entering;if(n)return{type:"openTag",tagName:"tr",outerNewLine:!0};var r=[];if(e.lastChild)for(var i=e.parent.parent.columns.length,o=e.lastChild.endIdx,a=o+1;a0&&this.buffer.push(' class="'+r.join(" ")+'"'),i&&Object.keys(i).forEach((function(e){var n=i[e];t.buffer.push(" "+e+'="'+n+'"')})),e.selfClose&&this.buffer.push(" /"),this.buffer.push(">")},e.prototype.generateCloseTagString=function(e){var t=e.tagName;this.buffer.push("")},e.prototype.addNewLine=function(){this.buffer.length&&"\n"!==fG(fG(this.buffer))&&this.buffer.push("\n")},e.prototype.addOuterNewLine=function(e){e.outerNewLine&&this.addNewLine()},e.prototype.addInnerNewLine=function(e){e.innerNewLine&&this.addNewLine()},e.prototype.renderTextNode=function(e){this.buffer.push(iW(e.content))},e.prototype.renderRawHtmlNode=function(e){this.addOuterNewLine(e),this.buffer.push(e.content),this.addOuterNewLine(e)},e.prototype.renderElementNode=function(e){"openTag"===e.type?(this.addOuterNewLine(e),this.generateOpenTagString(e),e.selfClose?this.addOuterNewLine(e):this.addInnerNewLine(e)):(this.addInnerNewLine(e),this.generateCloseTagString(e),this.addOuterNewLine(e))},e}(); /*! @license DOMPurify 2.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.3/LICENSE */function GX(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?n-1:0),i=1;i/gm),DJ=nJ(/^data-[\-\w.\u00B7-\uFFFF]/),MJ=nJ(/^aria-[\-\w]+$/),PJ=nJ(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),UJ=nJ(/^(?:\w+script|data):/i),RJ=nJ(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),jJ="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function QJ(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:HJ(),t=function(e){return zJ(e)};if(t.version="2.3.3",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,r=e.document,i=e.DocumentFragment,o=e.HTMLTemplateElement,a=e.Node,s=e.Element,l=e.NodeFilter,c=e.NamedNodeMap,u=void 0===c?e.NamedNodeMap||e.MozNamedAttrMap:c,h=e.Text,f=e.Comment,d=e.DOMParser,A=e.trustedTypes,p=s.prototype,m=wJ(p,"cloneNode"),g=wJ(p,"nextSibling"),v=wJ(p,"childNodes"),b=wJ(p,"parentNode");if("function"===typeof o){var y=r.createElement("template");y.content&&y.content.ownerDocument&&(r=y.content.ownerDocument)}var w=$J(A,n),x=w&&ee?w.createHTML(""):"",C=r,k=C.implementation,_=C.createNodeIterator,E=C.createDocumentFragment,B=C.getElementsByTagName,S=n.importNode,T={};try{T=yJ(r).documentMode?r.documentMode:{}}catch(Re){}var O={};t.isSupported="function"===typeof b&&k&&"undefined"!==typeof k.createHTMLDocument&&9!==T;var F=LJ,N=IJ,L=DJ,I=MJ,D=UJ,M=RJ,P=PJ,U=null,R=bJ({},[].concat(QJ(xJ),QJ(CJ),QJ(kJ),QJ(EJ),QJ(SJ))),j=null,Q=bJ({},[].concat(QJ(TJ),QJ(OJ),QJ(FJ),QJ(NJ))),H=null,$=null,z=!0,V=!0,q=!1,K=!1,W=!1,G=!1,Y=!1,X=!1,J=!1,Z=!0,ee=!1,te=!0,ne=!0,re=!1,ie={},oe=null,ae=bJ({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),se=null,le=bJ({},["audio","video","img","source","image","track"]),ce=null,ue=bJ({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",fe="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml",Ae=de,pe=!1,me=void 0,ge=["application/xhtml+xml","text/html"],ve="text/html",be=void 0,ye=null,we=r.createElement("form"),xe=function(e){ye&&ye===e||(e&&"object"===("undefined"===typeof e?"undefined":jJ(e))||(e={}),e=yJ(e),U="ALLOWED_TAGS"in e?bJ({},e.ALLOWED_TAGS):R,j="ALLOWED_ATTR"in e?bJ({},e.ALLOWED_ATTR):Q,ce="ADD_URI_SAFE_ATTR"in e?bJ(yJ(ue),e.ADD_URI_SAFE_ATTR):ue,se="ADD_DATA_URI_TAGS"in e?bJ(yJ(le),e.ADD_DATA_URI_TAGS):le,oe="FORBID_CONTENTS"in e?bJ({},e.FORBID_CONTENTS):ae,H="FORBID_TAGS"in e?bJ({},e.FORBID_TAGS):{},$="FORBID_ATTR"in e?bJ({},e.FORBID_ATTR):{},ie="USE_PROFILES"in e&&e.USE_PROFILES,z=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=e.SAFE_FOR_TEMPLATES||!1,W=e.WHOLE_DOCUMENT||!1,X=e.RETURN_DOM||!1,J=e.RETURN_DOM_FRAGMENT||!1,Z=!1!==e.RETURN_DOM_IMPORT,ee=e.RETURN_TRUSTED_TYPE||!1,Y=e.FORCE_BODY||!1,te=!1!==e.SANITIZE_DOM,ne=!1!==e.KEEP_CONTENT,re=e.IN_PLACE||!1,P=e.ALLOWED_URI_REGEXP||P,Ae=e.NAMESPACE||de,me=me=-1===ge.indexOf(e.PARSER_MEDIA_TYPE)?ve:e.PARSER_MEDIA_TYPE,be="application/xhtml+xml"===me?function(e){return e}:uJ,K&&(V=!1),J&&(X=!0),ie&&(U=bJ({},[].concat(QJ(SJ))),j=[],!0===ie.html&&(bJ(U,xJ),bJ(j,TJ)),!0===ie.svg&&(bJ(U,CJ),bJ(j,OJ),bJ(j,NJ)),!0===ie.svgFilters&&(bJ(U,kJ),bJ(j,OJ),bJ(j,NJ)),!0===ie.mathMl&&(bJ(U,EJ),bJ(j,FJ),bJ(j,NJ))),e.ADD_TAGS&&(U===R&&(U=yJ(U)),bJ(U,e.ADD_TAGS)),e.ADD_ATTR&&(j===Q&&(j=yJ(j)),bJ(j,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&bJ(ce,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(oe===ae&&(oe=yJ(oe)),bJ(oe,e.FORBID_CONTENTS)),ne&&(U["#text"]=!0),W&&bJ(U,["html","head","body"]),U.table&&(bJ(U,["tbody"]),delete H.tbody),tJ&&tJ(e),ye=e)},Ce=bJ({},["mi","mo","mn","ms","mtext"]),ke=bJ({},["foreignobject","desc","title","annotation-xml"]),_e=bJ({},CJ);bJ(_e,kJ),bJ(_e,_J);var Ee=bJ({},EJ);bJ(Ee,BJ);var Be=function(e){var t=b(e);t&&t.tagName||(t={namespaceURI:de,tagName:"template"});var n=uJ(e.tagName),r=uJ(t.tagName);if(e.namespaceURI===fe)return t.namespaceURI===de?"svg"===n:t.namespaceURI===he?"svg"===n&&("annotation-xml"===r||Ce[r]):Boolean(_e[n]);if(e.namespaceURI===he)return t.namespaceURI===de?"math"===n:t.namespaceURI===fe?"math"===n&&ke[r]:Boolean(Ee[n]);if(e.namespaceURI===de){if(t.namespaceURI===fe&&!ke[r])return!1;if(t.namespaceURI===he&&!Ce[r])return!1;var i=bJ({},["title","style","font","a","script"]);return!Ee[n]&&(i[n]||!_e[n])}return!1},Se=function(e){cJ(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(Re){try{e.outerHTML=x}catch(Re){e.remove()}}},Te=function(e,n){try{cJ(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(Re){cJ(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!j[e])if(X||J)try{Se(n)}catch(Re){}else try{n.setAttribute(e,"")}catch(Re){}},Oe=function(e){var t=void 0,n=void 0;if(Y)e=""+e;else{var i=hJ(e,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===me&&(e=''+e+"");var o=w?w.createHTML(e):e;if(Ae===de)try{t=(new d).parseFromString(o,me)}catch(Re){}if(!t||!t.documentElement){t=k.createDocument(Ae,"template",null);try{t.documentElement.innerHTML=pe?"":o}catch(Re){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),Ae===de?B.call(t,W?"html":"body")[0]:W?t.documentElement:a},Fe=function(e){return _.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},Ne=function(e){return!(e instanceof h||e instanceof f)&&!("string"===typeof e.nodeName&&"string"===typeof e.textContent&&"function"===typeof e.removeChild&&e.attributes instanceof u&&"function"===typeof e.removeAttribute&&"function"===typeof e.setAttribute&&"string"===typeof e.namespaceURI&&"function"===typeof e.insertBefore)},Le=function(e){return"object"===("undefined"===typeof a?"undefined":jJ(a))?e instanceof a:e&&"object"===("undefined"===typeof e?"undefined":jJ(e))&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},Ie=function(e,n,r){O[e]&&sJ(O[e],(function(e){e.call(t,n,r,ye)}))},De=function(e){var n=void 0;if(Ie("beforeSanitizeElements",e,null),Ne(e))return Se(e),!0;if(hJ(e.nodeName,/[\u0080-\uFFFF]/))return Se(e),!0;var r=be(e.nodeName);if(Ie("uponSanitizeElement",e,{tagName:r,allowedTags:U}),!Le(e.firstElementChild)&&(!Le(e.content)||!Le(e.content.firstElementChild))&&pJ(/<[/\w]/g,e.innerHTML)&&pJ(/<[/\w]/g,e.textContent))return Se(e),!0;if("select"===r&&pJ(/