(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-34e12270"],{"0082":function(e,t,n){e.exports=n.p+"img/ditu.svg"},"013f":function(e,t,n){},"027d":function(e,t,n){e.exports=n.p+"img/zhongyangjie.svg"},"02a0":function(e,t,n){e.exports=n.p+"img/a-18-xiguan.svg"},"0455":function(e,t,n){e.exports=n.p+"img/zhongqiujie.svg"},"049e":function(e,t,n){e.exports=n.p+"img/shiyan.svg"},"04c4":function(e,t,n){},"0536":function(e,t,n){e.exports=n.p+"img/rose.jpg"},"0613":function(e,t,n){e.exports=n.p+"img/a-6-jiancebi.svg"},"06c3":function(e,t,n){"use strict";var r=n("1fa7");e.exports=Function.prototype.bind||r},"0754":function(e,t,n){e.exports=n.p+"img/simpleBlack.jpg"},"07f3":function(e,t,n){e.exports=n.p+"img/duanwujie.svg"},"080b":function(e,t,n){},"08cf":function(e,t,n){"use strict";n("2acb")},"0914":function(e,t,n){e.exports=n.p+"img/tiyu.svg"},"0960":function(e,t,n){e.exports=n("b19a")},"0983e":function(e,t,n){},"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}}},"0a21":function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},l=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,n=r.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!o)return!1;for(t in e);return"undefined"===typeof t||r.call(e,t)},c=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;if(a)return a(e,t).value}return e[t]};e.exports=function e(){var t,n,r,i,o,a,h=arguments[0],d=1,f=arguments.length,p=!1;for("boolean"===typeof h&&(p=h,h=arguments[1]||{},d=2),(null==h||"object"!==typeof h&&"function"!==typeof h)&&(h={});db)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},"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 d(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 f(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 p(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=f(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,d("instruction",a)}}function m(e,t){var n;if("object"===typeof e&&(t=e.attributes,e=e.name),t=f(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 g(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,">")),d("text",e))}function v(e){r.ignoreComment||(r.trim&&(e=e.trim()),d("comment",e))}function b(e){var t=i[r.parentKey];r.addParent||delete i[r.parentKey],i=t}function y(e){r.ignoreCdata||(r.trim&&(e=e.trim()),d("cdata",e))}function w(e){r.ignoreDoctype||(e=e.replace(/^ /,""),r.trim&&(e=e.trim()),d("doctype",e))}function x(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=m,n.ontext=g,n.oncomment=v,n.onclosetag=b,n.onerror=x,n.oncdata=y,n.ondoctype=w,n.onprocessinginstruction=p):(n.on("startElement",m),n.on("text",g),n.on("comment",v),n.on("endElement",b),n.on("error",x)),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}},"10db1":function(e,t,n){"use strict";var r=n("8790");n.d(t,"PDFDocument",(function(){return r["a"]}));n("a935"),n("5d8f"),n("5d9a")},"12a6":function(e,t,n){e.exports=n.p+"img/ziyuan.svg"},"12b7":function(e,t,n){e.exports=n.p+"img/a-7-xinzang.svg"},"135f":function(e,t,n){e.exports=n.p+"img/avocado.jpg"},1397:function(e,t,n){e.exports=n.p+"img/neonLamp.jpg"},1474:function(e,t,n){e.exports=n.p+"img/classicGreen.jpg"},1485:function(e,t,n){e.exports=n.p+"img/pisa.svg"},"14bd":function(e,t,n){e.exports=n.p+"img/ziyuan_10.svg"},"14c3":function(e,t,n){"use strict";var r=n("c65b"),i=n("825a"),o=n("1626"),a=n("c6b6"),s=n("9263"),l=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var c=r(n,e,t);return null!==c&&i(c),c}if("RegExp"===a(e))return r(s,e,t);throw new l("RegExp#exec called on incompatible receiver")}},"14d4":function(e,t,n){e.exports=n.p+"img/tianqi.svg"},1560:function(e,t,n){e.exports=n.p+"img/blueSky.jpg"},"16e6":function(e,t,n){"use strict";e.exports=Error},1754:function(e,t,n){"use strict";n.d(t,"g",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return h})),n.d(t,"b",(function(){return b}));var r,i=n("31fc"),o=function(e,t){void 0===t&&(t=!0);var n=[];t&&n.push(65279);for(var r=0,o=e.length;r=0&&e<=65535},s=function(e){return e>=65536&&e<=1114111},l=function(e){return Math.floor((e-65536)/1024)+55296},c=function(e){return(e-65536)%1024+56320};(function(e){e["BigEndian"]="BigEndian",e["LittleEndian"]="LittleEndian"})(r||(r={}));var u="�".codePointAt(0),h=function(e,t){if(void 0===t&&(t=!0),e.length<=1)return String.fromCodePoint(u);var n=t?m(e):r.BigEndian,i=t?2:0,o=[];while(e.length-i>=2){var a=p(e[i++],e[i++],n);if(d(a))if(e.length-i<2)o.push(u);else{var s=p(e[i++],e[i++],n);f(s)?o.push(a,s):o.push(u)}else f(a)?(i+=2,o.push(u)):o.push(a)}return i=55296&&e<=56319},f=function(e){return e>=56320&&e<=57343},p=function(e,t,n){if(n===r.LittleEndian)return t<<8|e;if(n===r.BigEndian)return e<<8|t;throw new Error("Invalid byteOrder: "+n)},m=function(e){return g(e)?r.BigEndian:v(e)?r.LittleEndian:r.BigEndian},g=function(e){return 254===e[0]&&255===e[1]},v=function(e){return 255===e[0]&&254===e[1]},b=function(e){return g(e)||v(e)}},1787:function(e,t,n){"use strict";var r=n("861d");e.exports=function(e){return r(e)||null===e}},"17f2":function(e,t,n){e.exports=n.p+"img/jisuanqi.svg"},1806:function(e,t,n){"use strict";var r={__proto__:null,foo:{}},i=Object;e.exports=function(){return{__proto__:r}.foo===r.foo&&!(r instanceof i)}},1986:function(e,t,n){"use strict";var r=n("3f29"),i=n("5aa1"),o=n("b38c")(),a=n("acc7"),s=n("bbd5"),l=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},"19bf":function(e,t,n){var r=n("5841"),i=n("0a21"),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"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=o},"1a7d":function(e){e.exports=JSON.parse('"eJx9WFlv2zgQ/iuGnnYBt5DkS85bmk13g27SoEkPbNEHWqIlIhSpklSuov99R7JIkSLtFyGZjxzN8c0h/4oueF1jpqKz6Mt1K1GJZ4s4S+PZYrvdbqJ59J4zdYNqDAfuXuodp52spdSToZrQl6n0KyZl1Sm/xgVpa5BcKURJfs5KCgdj+F++J8+4uCUqr6IzJVo8jy4qJFCusLjD3d27BucE0cGYd+/4c3T2/U2SxfM36XYxT+JtDI8k/jGPPrMCC0oYvuWSKMJZdPYmiWMLuK9I/sCwlNHZCuRfsJD9sSiOk7dxnMFbbrgieefGBW9eROfA7I/8z1myzVbz7rnpn9vuCW/unpvZecF3eHb3IhWu5eyK5Vw0XCCFi7ezc0pnvRo5E1hi8QhCeM0lHCoIK+/yCvdR67zrfd2THPA7VfzzNTrbpv2fX+BPeH8fm2usBMnBg++/oq/forO08+QGNMgGgeG/5wfxYrE4iPFzTlFt5JtkkLeMPIL/EFoNreJBE2vrXReako3YcqvVEXCTKWJdzPS7Gizyjk/mZZvsAKC66d7FCgMtF4NC2eaVqpDyLW+QwIzi/TGoD6tvPQL7BJEPNVKVb39DW2mkJnY5FALyD9eEhU6DL4SPrqTaS0mRrHyDXrHgvpQz7AvVU+CkqgQOnN3zVgSkkFVfKslzQIgfMfPFOBxWRiyDjcs5p5wFIoFr4kImprQrP59WP1ubiVpcCgxlNLq5XC4PwM8Wy77EvSs5ZyU0EpuFaXqAzmlTjVlerzcH8TuskH/4oiLj0WQQ/oWpdXadJAfxZSOJ7exmPfD01lYSD8K/kU0288JLS7Mh+hW337dINCPA5MRX8QE1jXU8Wx/E/6J6V4zyLBtCdd36Km4Cso+QTOG4N6T5dvRusxxsu6/scK5Wgw2fKovZ20HxHSnrQDjv0WjEejvw7/MkxmMD6ZQkvnEfa1xayperg/ibZfN2kN1K4lvxHw4lZAfD6QErpy1lOt2QF4H3XATa8HDP7VnrVWY6SoNZQfKWokBRt90Ak7mt2GACwTVE8bNPE+Tw3VTIzkmQqRuLqsvtUGaFw3cTcjzJxSod3tjYSnQgS4fvpgyc8KaDZuLwXR8FtYlv8YPD9rHBuGxfbQYG1q1vL2v9+3zC9nF0EF+BqoLBFBbbjRfSYbsJprLYboxtpx1Fj23esXoMhqlx7rB9uR2OPxP/aCMDmX61/Vhm8cha7HA91bzbWUR1z0/m8tLUKSyJ1qWNHqeXrTUf16lb76Or6XIzTmWFA4mHyeLOkUS3+H23UpJQPAnbE0bUS2CSUi6IdWM13Mhpu/OlBUE1t/YbA1QYCeWLYVsrRh+SeDm0RCQEf9pxa3Xpds4RcpJhqNVDbXPkzqTpOJcK/mT1VO17gUtn57C3J3cpMlUucW77Px3hRwZ83VJFGvriJ6YRHJboLmnWPUNXWAC7FbQg+/0IrjUL4RMFBxhYkEdSBLxiXB0xD8TkEZorywPXoP0I/jxhXGzWKEoJUFgeiTvs3srq2eO9Hq2Aeq92S9eDIgeYwIeawKoVY+KyVOumuBmpY0r+CgrgQVn7ohl9n6aIoc4TJjB0lEDWvmaGa05ETrGfPRd3lm1jI64b9SKtBJlbhAFTgEhuqWoUvlhCFdwRBW613cNWqnGYyDAdj+OQfdnugpBWHUa14jAKbbN2tlDrfR6mXUT9p7F3peyGvHNBb0UCl933GHgmyN6Hc/0R6+KZxiG7Ba6ReJjg6RiAos0DpTRsHWNz1s284Mr58DI+UF52N8B7vyIGzP4+nGJcWLXiNMtiR0/0S0BPtExAj3ZNwE42zh11e6duTZS/YlZaK6DebfrkOsb4aURMnsqiA+viHpPowDrwsoX1y6moRTZ20cMXtmpOgFYf8sGd8kFrRw4ptuCQagu2lJvwmpXEUu2DNSlOoEf12vY4aXOZkG6WY8OC4hzrwHRcjVhWepjd4KdYKK7jrx5H89WjRxPWoycydlS3jZ/I2VS/G9yp9gB6PG1T1aY4YAp3LfPHPPqABbtFRHS/jf34/T82FAfb"')},"1b88":function(e,t,n){e.exports=n.p+"img/blackGold.jpg"},"1bc3":function(e,t,n){e.exports=n.p+"img/a-6-jiancebi.svg"},"1be2":function(e,t,n){"use strict";n("47cf")},"1be4":function(e,t,n){"use strict";var r=n("d066");e.exports=r("document","documentElement")},"1c6b":function(e,t,n){e.exports=n.p+"img/naozhong.svg"},"1cd3":function(e,t,n){"use strict";var r=n("4a66");e.exports=function(){return"function"===typeof Object.is?Object.is:r}},"1cf0":function(e,t,n){"use strict";var r=n("ce8e"),i=n("5d66"),o=n("d7f0"),a=n("3213"),s=n("2307"),l=i(a());r(l,{getPolyfill:a,implementation:o,shim:s}),e.exports=l},"1d06":function(e,t,n){},"1d76":function(e,t,n){"use strict";var r=n("3f29"),i=n("5d66"),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?i(n):n}},"1e35":function(e,t,n){e.exports=n.p+"img/shouji.svg"},"1f76":function(e,t,n){e.exports=n.p+"img/freshGreen.jpg"},"1fa7":function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Object.prototype.toString,o=Math.max,a="[object Function]",s=function(e,t){for(var n=[],r=0;r0)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 d(e){var t,n,r=c(e),a=r[0],s=r[1],l=new o(h(e,a,s)),u=0,d=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 f(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(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},2:function(e,t){},"202b":function(e,t,n){"use strict";e.exports=SyntaxError},"21cd":function(e,t,n){e.exports=n.p+"img/qixi.svg"},"222a":function(e,t,n){e.exports=n.p+"img/hangli.svg"},2232:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return I}));for(var r=n("77f5"),i=n.n(r),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(256),s=0;s>4,u[c++]=(15&r)<<4|i>>2,u[c++]=(3&i)<<6|63&o;return u},u=function(e){for(var t="",n=0;n"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(e,t){return e[t++]=o["a"].LessThan,t+=Object(a["w"])(this.value,e,t),e[t++]=o["a"].GreaterThan,this.value.length+2},t.of=function(e){return new t(e)},t.fromText=function(e){for(var n=Object(a["Z"])(e),r="",i=0,o=n.length;i>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}function m(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 g,v=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?p(e.slice(2)):254==t&&255==n?m(e.slice(2)):65279==t?e.slice(1):e},b=function(e){return String.fromCharCode(e)},y=function(e){return String.fromCharCode(e)};var w=null,x=!0,k="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+=k.charAt(o)+k.charAt(a)+k.charAt(s)+k.charAt(l);return t}function A(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=k.indexOf(e.charAt(c++)),r=(15&a)<<4|s>>2,64!==s&&(t+=String.fromCharCode(r)),l=k.indexOf(e.charAt(c++)),i=(3&s)<<6|l,64!==l&&(t+=String.fromCharCode(i));return t}var T=function(){return"undefined"!==typeof e&&"undefined"!==typeof r&&"undefined"!==typeof r.versions&&!!r.versions.node}(),S=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 E(t){return T?e.alloc?e.alloc(t):new e(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}function M(t){return T?e.allocUnsafe?e.allocUnsafe(t):new e(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}var O=function(e){return T?S(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function N(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=E(65535),r=65530)}return t.push(i.slice(0,n)),L(t)}var I=/\u0000/g,R=/[\u0001-\u0006]/g;function F(e){var t="",n=e.length-1;while(n>=0)t+=e.charAt(n--);return t}function z(e,t){var n=""+e;return n.length>=t?n:ft("0",t-n.length)+n}function B(e,t){var n=""+e;return n.length>=t?n:ft(" ",t-n.length)+n}function j(e,t){var n=""+e;return n.length>=t?n:n+ft(" ",t-n.length)}function H(e,t){var n=""+Math.round(e);return n.length>=t?n:ft("0",t-n.length)+n}function U(e,t){var n=""+e;return n.length>=t?n:ft("0",t-n.length)+n}var q=Math.pow(2,32);function W(e,t){if(e>q||e<-q)return H(e,t);var n=Math.round(e);return U(n,t)}function G(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 V=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Y=[["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 K(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 Z={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"秒 "'},X={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},J={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 Q(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 d=Math.floor(r*s/u);return[d,r*s-d*u,u]}function _(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 Ue(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 Y[n.m-1][1];case 5:return Y[n.m-1][0];default:return Y[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:i=n.d,c=t.length;break;case 3:return V[n.q][0];default:return V[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=z(a,2+r),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):z(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?z(i,c):"";return u}function de(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 fe=/%/g;function pe(e,t,n){var r=t.replace(fe,""),i=t.length-r.length;return Pe(e,r,n*Math.pow(10,2*i))+ft("%",i)}function me(e,t,n){var r=t.length-1;while(44===t.charCodeAt(r-1))--r;return Pe(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}function ge(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"-"+ge(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 ve=/# (\?+)( ?)\/( ?)(\d+)/;function be(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?ft(" ",e[1].length+1+e[4].length):B(a,e[1].length)+e[2]+"/"+e[3]+z(s,e[4].length))}function ye(e,t,n){return n+(0===t?"":""+t)+ft(" ",e[1].length+2+e[4].length)}var we=/^#*0*\.([0#]+)/,xe=/\).*[0#]/,ke=/\(###\) ###\\?-####/;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 Ae(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function Te(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 Se(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Ee(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}function Me(e,t,n){if(40===e.charCodeAt(0)&&!t.match(xe)){var r=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return n>=0?Me("n",r,n):"("+Me("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return me(e,t,n);if(-1!==t.indexOf("%"))return pe(e,t,n);if(-1!==t.indexOf("E"))return ge(t,n);if(36===t.charCodeAt(0))return"$"+Me(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+W(l,t.length);if(t.match(/^[#?]+$/))return i=W(n,0),"0"===i&&(i=""),i.length>t.length?i:Ce(t.substr(0,t.length-i.length))+i;if(o=t.match(ve))return be(o,l,c);if(t.match(/^#+0+$/))return c+W(l,t.length-t.indexOf("0"));if(o=t.match(we))return i=Ae(n,o[1].length).replace(/^([^\.]+)$/,"$1."+Ce(o[1])).replace(/\.$/,"."+Ce(o[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+ft("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+Ae(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+de(W(l,0));if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+Me(e,t,-n):de(""+(Math.floor(n)+Se(n,o[1].length)))+"."+z(Te(n,o[1].length),o[1].length);if(o=t.match(/^#,#*,#0/))return Me(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=F(Me(e,t.replace(/[\\-]/g,""),n)),a=0,F(F(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return a=0?Le("n",r,n):"("+Le("n",r,-n)+")"}if(44===t.charCodeAt(t.length-1))return Oe(e,t,n);if(-1!==t.indexOf("%"))return Ne(e,t,n);if(-1!==t.indexOf("E"))return De(t,n);if(36===t.charCodeAt(0))return"$"+Le(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=""+n,0===n&&(i=""),i.length>t.length?i:Ce(t.substr(0,t.length-i.length))+i;if(o=t.match(ve))return ye(o,l,c);if(t.match(/^#+0+$/))return c+z(l,t.length-t.indexOf("0"));if(o=t.match(we))return i=(""+n).replace(/^([^\.]+)$/,"$1."+Ce(o[1])).replace(/\.$/,"."+Ce(o[1])),i=i.replace(/\.(\d*)$/,(function(e,t){return"."+t+ft("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+de(""+l);if(o=t.match(/^#,##0\.([#0]*0)$/))return n<0?"-"+Le(e,t,-n):de(""+n)+"."+ft("0",o[1].length);if(o=t.match(/^#,#*,#0/))return Le(e,t.replace(/^#,#*,/,""),n);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=F(Le(e,t.replace(/[\\-]/g,""),n)),a=0,F(F(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 ze(e,t,n,r){var i,o,a,s=[],l="",c=0,u="",h="t",d="H";while(c=12?"P":"A"),m.t="T",d="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"PM":"AM"),m.t="T",c+=5,d="h"):"上午/下午"===e.substr(c,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"下午":"上午"),m.t="T",c+=5,d="h"):(m.t="t",++c),null==i&&"T"===m.t)return"";s[s.length]=m,h=u;break;case"[":l=u;while("]"!==e.charAt(c++)&&c-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",Fe(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 g,v=0,b=0;for(c=s.length-1,h="t";c>=0;--c)switch(s[c].t){case"h":case"H":s[c].t=d,h="h",v<1&&(v=1);break;case"s":(g=s[c].v.match(/\.0+$/))&&(b=Math.max(b,g[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":h=s[c].t;break;case"m":"s"===h&&(s[c].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[c].v.match(/[Hh]/)&&(v=1),v<2&&s[c].v.match(/[Mm]/)&&(v=2),v<3&&s[c].v.match(/[Ss]/)&&(v=3)}switch(v){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 y,w="";for(c=0;c0){40==w.charCodeAt(0)?(x=t<0&&45===w.charCodeAt(0)?-t:t,k=Pe("n",w,x)):(x=t<0&&r>1?-t:t,k=Pe("n",w,x),x<0&&s[0]&&"t"==s[0].t&&(k=k.substr(1),s[0].v="-"+s[0].v)),y=k.length-1;var A=s.length;for(c=0;c-1){A=c;break}var T=s.length;if(A===s.length&&-1===k.indexOf("E")){for(c=s.length-1;c>=0;--c)null!=s[c]&&-1!=="n?".indexOf(s[c].t)&&(y>=s[c].v.length-1?(y-=s[c].v.length,s[c].v=k.substr(y+1,s[c].v.length)):y<0?s[c].v="":(s[c].v=k.substr(0,y+1),y=-1),s[c].t="t",T=c);y>=0&&T=0;--c)if(null!=s[c]&&-1!=="n?".indexOf(s[c].t)){for(o=s[c].v.indexOf(".")>-1&&c===A?s[c].v.indexOf(".")-1:s[c].v.length-1,C=s[c].v.substr(o+1);o>=0;--o)y>=0&&("0"===s[c].v.charAt(o)||"#"===s[c].v.charAt(o))&&(C=k.charAt(y--)+C);s[c].v=C,s[c].t="t",T=c}for(y>=0&&T-1&&c===A?s[c].v.indexOf(".")+1:0,C=s[c].v.substr(0,o);o-1&&(x=r>1&&t<0&&c>0&&"-"===s[c-1].v?-t:t,s[c].v=Pe(s[c].t,s[c].v,x),s[c].t="t");var S="";for(c=0;c!==s.length;++c)null!=s[c]&&(S+=s[c].v);return S}var Be=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function je(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 He(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(Be),s=n[1].match(Be);return je(t,a)?[r,n[0]]:je(t,s)?[r,n[1]]:[r,n[null!=a&&null!=s?2:1]]}return[r,o]}function Ue(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:Z)[e],null==r&&(r=n.table&&n.table[X[e]]||Z[X[e]]),null==r&&(r=J[e]||"General");break}if(G(r,0))return ce(t,n);t instanceof Date&&(t=re(t,n.date1904));var i=He(r,t);if(G(i[1]))return ce(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return ze(i[1],t,n,i[0])}function qe(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(void 0!=Z[n]){if(Z[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return Z[t]=e,t}function We(){Z=K()}var Ge={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 Ye(e){var t="number"==typeof e?Z[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 Ze=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],d=i[7],f=i[8],p=i[9],m=i[10],g=i[11],v=i[12],b=i[13],y=i[14];function w(e,t){for(var r=-1^t,i=0,o=e.length;i>>8^n[255&(r^e.charCodeAt(i++))];return~r}function x(e,t){for(var r=-1^t,i=e.length-15,w=0;w>8&255]^v[e[w++]^r>>16&255]^g[e[w++]^r>>>24]^m[e[w++]]^p[e[w++]]^f[e[w++]]^d[e[w++]]^h[e[w++]]^u[e[w++]]^c[e[w++]]^l[e[w++]]^s[e[w++]]^a[e[w++]]^o[e[w++]]^n[e[w++]];i+=15;while(w>>8^n[255&(r^e[w++])];return~r}function k(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=w,e.buf=x,e.str=k,e}(),Xe=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){Xn(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 Le(e,t);if(109==(32|e[0])&&105==(32|e[1]))return Ue(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);Xn(u,0);var m=h(u);switch(n=m[0],n){case 3:r=512;break;case 4:r=4096;break;case 0:if(0==m[1])return Le(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+n)}512!==r&&(u=e.slice(0,r),Xn(u,28));var v=e.slice(0,r);d(u,n);var w=u.read_shift(4,"i");if(3===n&&0!==w)throw new Error("# Directory Sectors: Expected 0 saw "+w);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 x=-1,k=0;k<109;++k){if(x=u.read_shift(4,"i"),x<0)break;c[k]=x}var C=f(e,r);g(l,o,C,r,c);var A=b(C,a,c,r);A[a].name="!Directory",i>0&&s!==H&&(A[s].name="!MiniFAT"),A[c[0]].name="!FAT",A.fat_addrs=c,A.ssz=r;var T={},S=[],E=[],M=[];y(a,A,C,S,i,T,E,s),p(E,M,S),S.shift();var O={FileIndex:E,FullPaths:M};return t&&t.raw&&(O.raw={header:v,sectors:C}),O}function h(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(U,"Header Signature: "),e.l+=16;var t=e.read_shift(2,"u");return[e.read_shift(2,"u"),t]}function d(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 f(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],i=1;i0&&a>=0)o.push(t.slice(a*j,a*j+j)),i-=j,a=Un(n,4*a);return 0===o.length?Qn(0):L(o).slice(0,e.size)}function g(e,t,n,r,i){var o=H;if(e===H){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=Un(e[u],c)}return{nodes:o,data:gn([a])}}function b(e,t,n,r){var i=e.length,o=[],a=[],s=[],l=[],c=r-1,u=0,h=0,d=0,f=0;for(u=0;u=i&&(d-=i),!a[d]){l=[];var p=[];for(h=d;h>=0;){p[h]=!0,a[h]=!0,s[s.length]=h,l.push(e[h]);var m=n[Math.floor(4*h/r)];if(f=4*h&c,r<4+f)throw new Error("FAT boundary crossed: "+h+" 4 "+r);if(!e[m])break;if(h=Un(e[m],f),p[h])break}o[d]={nodes:s,data:gn([l])}}return o}function y(e,t,n,r,i,o,a,s){for(var l,c=0,u=r.length?2:0,h=t[e].data,d=0,f=0;d0&&c!==H&&(t[c].name="!StreamData")):g.size>=4096?(g.storage="fat",void 0===t[g.start]&&(t[g.start]=v(n,g.start,t.fat_addrs,t.ssz)),t[g.start].name=g.name,g.content=t[g.start].data.slice(0,g.size)):(g.storage="minifat",g.size<0?g.size=0:c!==H&&g.start!==H&&t[c]&&(g.content=m(g,t[c].data,(t[s]||{}).data))),g.content&&Xn(g.content,0),o[l]=g,a.push(g)}}function w(e,t){return new Date(1e3*(Hn(e,t+4)/1e7*Math.pow(2,32)+Hn(e,t)/1e7-11644473600))}function x(e,n){return c(),u(t.readFileSync(e),n)}function k(t,n){var r=n&&n.type;switch(r||T&&e.isBuffer(t)&&(r="buffer"),r||"base64"){case"file":return x(t,n);case"base64":return u(O(A(t)),n);case"binary":return u(O(t),n)}return u(t,n)}function N(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),D(e)}function D(e){var t="Sh33tJ5";if(!Xe.find(e,"/"+t)){var n=Qn(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),P(e)}}function P(e,t){N(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):{},d=[];for(s=0;s1?1:-1,p.size=0,p.type=5;else if("/"==m.slice(-1)){for(u=s+1;u=d.length?-1:u,u=s+1;u=d.length?-1:u,p.type=1}else i(e.FullPaths[s+1]||"")==i(m)&&(p.R=s+1),p.type=2}}}function F(t,n){var r=n||{};if("mad"==r.fileType)return qe(t,r);switch(P(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 d=[1,h,u,l,a,n,t,0];return e.FileIndex[0].size=t<<6,d[7]=(e.FileIndex[0].start=d[0]+d[1]+d[2]+d[3]+d[4]+d[5])+(d[6]+7>>3),d}(t),o=Qn(i[7]<<9),a=0,s=0;for(a=0;a<8;++a)o.write_shift(1,q[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:H),o.write_shift(4,i[3]),o.write_shift(-4,i[1]?i[0]-1:H),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,G.ENDOFCHAIN);for(s=a=0,c=0;c=4096||(h.start=s,l(u+63>>6)));while(511&o.l)o.write_shift(-4,G.ENDOFCHAIN);for(a=0;a=4096)if(o.l=h.start+1<<9,T&&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(T&&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 de(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 pe(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 me(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(T){var o=M(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=fe(n,i,ne[c+1]>>1)-1:(fe(n,i,3),i+=5,fe(n,i,ne[c-23]>>5),i+=3);var d=c<8?0:c-4>>2;d>0&&(pe(n,i,h-_[c]),i+=d),c=e[o-u],i=fe(n,i,ne[c]>>3),i-=3;var f=c<4?0:c-2>>1;f>0&&(pe(n,i,o-u-$[c]),i+=f);for(var p=0;p>8-p;for(var m=(1<<7-p)-1;m>=0;--m)Te[f|m<>>=3){case 16:o=3+oe(e,t),t+=2,f=g[g.length-1];while(o-- >0)g.push(f);break;case 17:o=3+ae(e,t),t+=3;while(o-- >0)g.push(0);break;case 18:o=11+ce(e,t),t+=7;while(o-- >0)g.push(0);break;default:g.push(f),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=Me(e,n),s=Se,l=Ee);;){!t&&a>>1==1?be[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 d=o+_[u];h>0&&(d+=ue(e,n,h),n+=h),c=ue(e,n,l),u=r>>>1==1?ye[c]:Ae[c],n+=15&u,u>>>=4;var f=u<4?0:u-2>>1,p=$[u];f>0&&(p+=ue(e,n,f),n+=f),!t&&a>>3]|e[1+(n>>>3)]<<8;if(n+=32,m>0){!t&&a0)i[o++]=e[n>>>3],n+=8}}return t?[i,n+7>>>3]:[i.slice(0,o),n+7>>>3]}function Ne(e,t){var n=e.slice(e.l||0),r=Oe(n,t);return e.l+=r[1],r[0]}function De(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function Le(e,t){var n=e;Xn(n,0);var r=[],i=[],o={FileIndex:r,FullPaths:i};N(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};N(h);var d,f=0;for(o=0;o=32&&p<128&&++d;var g=d>=4*f/5;o.push(i),o.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+s),o.push("Content-Transfer-Encoding: "+(g?"quoted-printable":"base64")),o.push("Content-Type: "+Fe(l,s)),o.push(""),o.push(g?Be(h):ze(h))}return o.push(i+"--\r\n"),o.join("\r\n")}function We(e){var t={};return N(t,e),t}function Ge(e,t,n,r){var i=r&&r.unsafe;i||N(e);var a=!i&&Xe.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||Xe.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){N(e);var n=Xe.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(T&&e.isBuffer(t)){if(n){if(255==t[0]&&254==t[1])return _t(t.slice(2).toString("utf16le"));if(254==t[1]&&255==t[2])return _t(m(t.slice(2).toString("binary")))}return t.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(n){if(255==t[0]&&254==t[1])return _t(new TextDecoder("utf-16le").decode(t.slice(2)));if(254==t[0]&&255==t[1])return _t(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 dt(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]=dt(e[n]));return t}function ft(e,t){var n="";while(n.length3&&-1==mt.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 vt=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,Lt=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Pt=/<[^>]*>/g,It=Nt.match(Lt)?Lt:Pt,Rt=/<\w*:/,Ft=/<(\/?)\w+:/;function zt(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(Dt),s=0,l="",c=0,u="",h="",d=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(d=34==(i=h.charCodeAt(o+1))||39==i?1:0,l=h.slice(o+1+d,h.length-d),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 f=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(r[f]&&"ext"==u.slice(s-3,s))continue;r[f]=l,n||(r[f.toLowerCase()]=l)}}return r}function Bt(e){return e.replace(Ft,"<$1")}var jt={""":'"',"'":"'",">":">","<":"<","&":"&"},Ht=$e(jt),Ut=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))}}(),qt=/[&<>'"]/g;var Wt=/[\u0000-\u001f]/g;function Gt(e){var t=e+"";return t.replace(qt,(function(e){return Ht[e]})).replace(/\n/g,"
").replace(Wt,(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 Yt(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 Zt(e){var t,n,r,i=E(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 Xt(e){return S(e,"binary").toString("utf8")}var Jt="foo bar baz☃🍣",Qt=T&&(Xt(Jt)==Kt(Jt)&&Xt||Zt(Jt)==Kt(Jt)&&Zt)||Kt,_t=T?function(e){return S(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("")},$t=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(T&&e.isBuffer(t))return t.toString("utf8");if("string"===typeof t)return t;if("undefined"!==typeof Uint8Array&&t instanceof Uint8Array)return Qt(N(D(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"},dn=["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 fn(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 pn(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 mn=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:S(t)}))):mn(t)}:mn,vn=function(e,t,n){for(var r=[],i=t;i0?kn(e,t+4,t+4+n-1):""},An=Cn,Tn=function(e,t){var n=Hn(e,t);return n>0?kn(e,t+4,t+4+n-1):""},Sn=Tn,En=function(e,t){var n=2*Hn(e,t);return n>0?kn(e,t+4,t+4+n-1):""},Mn=En,On=function(e,t){var n=Hn(e,t);return n>0?bn(e,t+4,t+4+n):""},Nn=On,Dn=function(e,t){var n=Hn(e,t);return n>0?kn(e,t+4,t+4+n):""},Ln=Dn,Pn=function(e,t){return fn(e,t)},In=Pn,Rn=function(e){return Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array};function Fn(){bn=function(e,t,n){return g.utils.decode(1200,e.slice(t,n)).replace(I,"")},kn=function(e,t,n){return g.utils.decode(65001,e.slice(t,n))},An=function(e,t){var n=Hn(e,t);return n>0?g.utils.decode(a,e.slice(t+4,t+4+n-1)):""},Sn=function(e,t){var n=Hn(e,t);return n>0?g.utils.decode(o,e.slice(t+4,t+4+n-1)):""},Mn=function(e,t){var n=2*Hn(e,t);return n>0?g.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},Nn=function(e,t){var n=Hn(e,t);return n>0?g.utils.decode(1200,e.slice(t+4,t+4+n)):""},Ln=function(e,t){var n=Hn(e,t);return n>0?g.utils.decode(65001,e.slice(t+4,t+4+n)):""}}T&&(An=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):""},Sn=function(t,n){if(!e.isBuffer(t))return Tn(t,n);var r=t.readUInt32LE(n);return r>0?t.toString("utf8",n+4,n+4+r-1):""},Mn=function(t,n){if(!e.isBuffer(t))return En(t,n);var r=2*t.readUInt32LE(n);return t.toString("utf16le",n+4,n+4+r-1)},Nn=function(t,n){if(!e.isBuffer(t))return On(t,n);var r=t.readUInt32LE(n);return t.toString("utf16le",n+4,n+4+r)},Ln=function(t,n){if(!e.isBuffer(t))return Dn(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):Pn(t,n)},Rn=function(t){return e.isBuffer(t)||Array.isArray(t)||"undefined"!==typeof Uint8Array&&t instanceof Uint8Array}),"undefined"!==typeof g&&Fn();var zn=function(e,t){return e[t]},Bn=function(e,t){return 256*e[t+1]+e[t]},jn=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},Hn=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Un=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},qn=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Wn(t,n){var r,i,a,s,l,c,u="",h=[];switch(n){case"dbcs":if(c=this.l,T&&e.isBuffer(this))u=this.slice(this.l,this.l+2*t).toString("utf16le");else for(l=0;l0?Un:qn)(this,this.l),this.l+=4,r):(i=Hn(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=wn(this,this.l,t);break}}return this.l+=t,u}var Gn=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},Yn=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)Yn(this,t.charCodeAt(i),this.l+2*i);r=2*t.length}else if("sbcs"===n){if("undefined"!==typeof g&&874==a)for(i=0;i!=t.length;++i){var o=g.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,Gn(this,t,this.l);break;case 8:if(r=8,"f"===n){pn(this,t,this.l);break}case 16:break;case-4:r=4,Vn(this,t,this.l);break}}return this.l+=r,this}function Zn(e,t){var n=wn(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function Xn(e,t){e.l=t,e.read_shift=Wn,e.chk=Zn,e.write_shift=Kn}function Jn(e,t){e.l+=t}function Qn(e){var t=E(e);return Xn(t,0),t}function _n(e,t,n){if(e){var r,i,o;Xn(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=dt(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=dt(e);while(e.c<0)e.c+=t>8?16384:256}if(e.rRel&&e.r<0){e=dt(e);while(e.r<0)e.r+=t>8?1048576:t>5?65536:16384}var n=pr(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 dr(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function fr(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 pr(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 mr(e){var t=e.indexOf(":");return-1==t?{s:fr(e),e:fr(e)}:{s:fr(e.slice(0,t)),e:fr(e.slice(t+1))}}function gr(e,t){return"undefined"===typeof t||"number"===typeof t?gr(e.s,e.e):("string"!==typeof e&&(e=pr(e)),"string"!==typeof t&&(t=pr(t)),e==t?e:e+":"+t)}function vr(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 br(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Ue(e.z,n?tt(t):t)}catch(r){}try{return e.w=Ue((e.XF||{}).numFmtId||(n?14:0),n?tt(t):t)}catch(r){return""+t}}function yr(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:br(e,void 0==t?e.v:t))}function wr(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function xr(e,t,n){var r=n||{},i=e?Array.isArray(e):r.dense;null!=w&&null==i&&(i=w);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?fr(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=vr(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 d=0;d!=t[h].length;++d)if("undefined"!==typeof t[h][d]){var f={v:t[h][d]},p=a+h,m=s+d;if(c.s.r>p&&(c.s.r=p),c.s.c>m&&(c.s.c=m),c.e.r>2;return n?i/100:i}function Rr(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 Fr=Rr;function zr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Br(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=Ns(c));break;case 2:t.rgb=Ns([a,s,l]);break;case 3:t.theme=i;break}return 0!=o&&(t.tint=o>0?o/32767:o/32768),t}function jr(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 Hr(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 Ur(e){return Hr(e,1)}function qr(e){return Hr(e,2)}var Wr=2,Gr=3,Vr=11,Yr=12,Kr=19,Zr=64,Xr=65,Jr=71,Qr=4108,_r=4126,$r=80,ei=81,ti=[$r,ei],ni={1:{n:"CodePage",t:Wr},2:{n:"Category",t:$r},3:{n:"PresentationFormat",t:$r},4:{n:"ByteCount",t:Gr},5:{n:"LineCount",t:Gr},6:{n:"ParagraphCount",t:Gr},7:{n:"SlideCount",t:Gr},8:{n:"NoteCount",t:Gr},9:{n:"HiddenCount",t:Gr},10:{n:"MultimediaClipCount",t:Gr},11:{n:"ScaleCrop",t:Vr},12:{n:"HeadingPairs",t:Qr},13:{n:"TitlesOfParts",t:_r},14:{n:"Manager",t:$r},15:{n:"Company",t:$r},16:{n:"LinksUpToDate",t:Vr},17:{n:"CharacterCount",t:Gr},19:{n:"SharedDoc",t:Vr},22:{n:"HyperlinksChanged",t:Vr},23:{n:"AppVersion",t:Gr,p:"version"},24:{n:"DigSig",t:Xr},26:{n:"ContentType",t:$r},27:{n:"ContentStatus",t:$r},28:{n:"Language",t:$r},29:{n:"Version",t:$r},255:{},2147483648:{n:"Locale",t:Kr},2147483651:{n:"Behavior",t:Kr},1919054434:{}},ri={1:{n:"CodePage",t:Wr},2:{n:"Title",t:$r},3:{n:"Subject",t:$r},4:{n:"Author",t:$r},5:{n:"Keywords",t:$r},6:{n:"Comments",t:$r},7:{n:"Template",t:$r},8:{n:"LastAuthor",t:$r},9:{n:"RevNumber",t:$r},10:{n:"EditTime",t:Zr},11:{n:"LastPrinted",t:Zr},12:{n:"CreatedDate",t:Zr},13:{n:"ModifiedDate",t:Zr},14:{n:"PageCount",t:Gr},15:{n:"WordCount",t:Gr},16:{n:"CharCount",t:Gr},17:{n:"Thumbnail",t:Jr},18:{n:"Application",t:$r},19:{n:"DocSecurity",t:Gr},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=dt(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 di(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function fi(e){var t=di();if(!e||!e.match)return t;var n={};if((e.match(It)||[]).forEach((function(e){var r=zt(e);switch(r[0].replace(Rt,"<")){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 pi={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 mi(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function gi(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=zt(e);if("]*>([\\s\\S]*?)")}return e}();function xi(e){var t={};e=Qt(e);for(var n=0;n0&&(t[r[1]]=Ut(i[1])),"date"===r[2]&&t[r[1]]&&(t[r[1]]=ut(t[r[1]]))}return t}var ki=[["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 Ai(e,t,n){var r={};return t||(t={}),e=Qt(e),ki.forEach((function(n){var i=(e.match($t(n[0]))||[])[1];switch(n[2]){case"string":i&&(t[n[1]]=Ut(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 Ti=/<[^>]+>[^<]*/g;function Si(e,t){var n={},r="",i=e.match(Ti);if(i)for(var o=0;o!=i.length;++o){var a=i[o],s=zt(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]=Ut(u);break;case"bool":n[r]=Yt(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]=Ut(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 Ui(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 qi(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function Wi(e,t,n){var r,i=e.read_shift(2),o=n||{};if(e.l+=2,t!==Yr&&i!==t&&-1===ti.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&i)))throw new Error("Expected type "+t+" saw "+i);switch(t===Yr?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 Di(e,i,4).replace(I,"");case 31:return Li(e);case 64:return Ni(e);case 65:return Ui(e);case 71:return qi(e);case 80:return Ii(e,i,!o.raw).replace(I,"");case 81:return Ri(e,i).replace(I,"");case 4108:return ji(e);case 4126:case 4127:return 4127==i?Fi(e):zi(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+i)}}function Gi(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),d=e.read_shift(4);o[a]=[u,d+n]}o.sort((function(e,t){return e[1]-t[1]}));var f={};for(a=0;a!=i;++a){if(e.l!==o[a][1]){var p=!0;if(a>0&&t)switch(t[o[a-1][0]].t){case 2:e.l+2===o[a][1]&&(e.l+=2,p=!1);break;case 80:e.l<=o[a][1]&&(e.l=o[a][1],p=!1);break;case 4108:e.l<=o[a][1]&&(e.l=o[a][1],p=!1);break}if((!t||0==a)&&e.l<=o[a][1]&&(p=!1,e.l=o[a][1]),p)throw new Error("Read Error: Expected address "+o[a][1]+" at "+e.l+" :"+a)}if(t){var m=t[o[a][0]];if(f[m.n]=Wi(e,m.t,{raw:!0}),"version"===m.p&&(f[m.n]=String(f[m.n]>>16)+"."+("0000"+String(65535&f[m.n])).slice(-4)),"CodePage"==m.n)switch(f[m.n]){case 0:f[m.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=f[m.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+f[m.n])}}else if(1===o[a][0]){if(s=f.CodePage=Wi(e,Wr),h(s),-1!==l){var g=e.l;e.l=o[l][1],c=Hi(e,s),e.l=g}}else if(0===o[a][0]){if(0===s){l=a,e.l=o[a+1][1];continue}c=Hi(e,s)}else{var v,b=c[o[a][0]];switch(e[e.l]){case 65:e.l+=4,v=Ui(e);break;case 30:e.l+=4,v=Ii(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,v=Ii(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,v=e.read_shift(4,"i");break;case 19:e.l+=4,v=e.read_shift(4);break;case 5:e.l+=4,v=e.read_shift(8,"f");break;case 11:e.l+=4,v=Zi(e,4);break;case 64:e.l+=4,v=ut(Ni(e));break;default:throw new Error("unparsed value: "+e[e.l])}f[b]=v}}return e.l=n+r,f}function Vi(e,t,n){var r=e.content;if(!r)return{};Xn(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!==Xe.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,d=Gi(r,t),f={SystemIdentifier:c};for(var p in d)f[p]=d[p];if(f.FMTID=o,1===i)return f;if(l-r.l==2&&(r.l+=2),r.l!==l)throw new Error("Length mismatch 2: "+r.l+" !== "+l);try{h=Gi(r,null)}catch(m){}for(p in h)f[p]=h[p];return f.FMTID=[o,a],f}function Yi(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 $i(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",d=0===r?"":e.read_shift(r,h);return s&&(e.l+=4*c),a&&(e.l+=n),u.t=d,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=Ni(e)),e.l=n;var d=a||s||l||"";d&&h&&(d+="#"+h),d||(d="#"+h),2&i&&"/"==d.charAt(0)&&"/"!=d.charAt(1)&&(d="file://"+d);var f={Target:d};return c&&(f.guid=c),u&&(f.time=u),o&&(f.Tooltip=o),f}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 po(e,t,n){return 0===t?"":no(e,t,n)}function mo(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 go(e){var t=e.read_shift(2),n=Ir(e);return[t,n]}function vo(e,t,n){e.l+=4,t-=4;var r=e.l+t,i=_i(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 bo(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 yo(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 wo=yo;function xo(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 ko(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 Ao(e){e.l+=2,e.l+=e.read_shift(2)}var To={0:Ao,4:Ao,5:Ao,6:Ao,7:Co,8:Ao,9:Ao,10:Ao,11:Ao,12:Ao,13:ko,14:Ao,15:Ao,16:Ao,17:Ao,18:Ao,19:Ao,20:Ao,21:xo};function So(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 Mo(e,t){return 0===t||e.read_shift(2),1200}function Oo(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 No(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 Do(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=_i(e,0,n);return 0===a.length&&(a="Sheet1"),{pos:r,hs:i,dt:o,name:a}}function Lo(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 Bo(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 jo(e,t,n){if(n&&n.biff>=2&&n.biff<5)return{};var r=e.read_shift(2);return{RTL:64&r}}function Ho(){}function Uo(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=_i(e,0,n),r}function qo(e){var t=ho(e);return t.isst=e.read_shift(4),t}function Wo(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 Go(e,t,n){var r=e.read_shift(2),i=no(e,0,n);return[r,i]}var Vo=no;function Yo(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=go(e);return{r:t,c:n,ixfe:r[0],rknum:r[1]}}function Zo(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 Qo(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=Jo(e,t,r.fStyle,n),r}function _o(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 $o(e,t,n){var r=ho(e,6);2!=n.biff&&9!=t||++e.l;var i=Qi(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=zr(e,8);return r.val=i,r}var ta=po;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=vo(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?Fu(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(mo(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=_i(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=yo(e,6);e.l++;var i=e.read_shift(1);return t-=8,[zu(e,t,n),i,r]}function ua(e,t,n){var r=wo(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 da(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 fa(e,t,n){return da(e,t,n)}function pa(e,t){var n=[],r=e.read_shift(2);while(r--)n.push(bo(e,t));return n}function ma(e,t,n){if(n&&n.biff<8)return va(e,t,n);var r=xo(e,22),i=So(e,t-22,r[1]);return{cmo:r,ft:i}}var ga={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 va(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((ga[r]||Jn)(e,t,n)),{cmo:[i,r,o],ft:a}}function ba(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),Xi(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 ya(e,t){var n=bo(e,8);e.l+=16;var r=lo(e,t-24);return[n,r]}function wa(e,t){e.read_shift(2);var n=bo(e,8),r=e.read_shift((t-10)/2,"dbcs-cont");return r=r.replace(I,""),[n,r]}function xa(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 ka(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 Aa(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 Ta(e,t,n){if(!n.cellStyles)return Jn(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 Sa(e,t){var n={};return t<32||(e.l+=16,n.header=zr(e,8),n.footer=zr(e,8),e.l+=2),n}function Ea(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 Ma=ho,Oa=Ji,Na=to;function Da(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 La(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 Pa(e){var t=ho(e,6);++e.l;var n=zr(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 Ra(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}function Fa(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function za(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 Ba=[2,3,48,49,131,139,140,245],ja=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=$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});function n(t,n){var r=[],i=E(1);switch(n.type){case"base64":i=O(A(t));break;case"binary":i=O(t);break;case"buffer":case"array":i=t;break}Xn(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),d=n.codepage||1252;2!=o&&(i.l+=16,i.read_shift(1),0!==i[i.l]&&(d=e[i[i.l]]),i.l+=1,i.l+=2),l&&(i.l+=36);var f=[],p={},m=Math.min(i.length,2==o?521:u-10-(s?264:0)),v=l?32:11;while(i.l0)if(42!==i[i.l])for(++i.l,r[++b]=[],y=0,y=0;y!=f.length;++y){var w=i.slice(i.l,i.l+f[y].len);i.l+=f[y].len,Xn(w,0);var x=g.utils.decode(d,w);switch(f[y].type){case"C":x.trim().length&&(r[b][y]=x.replace(/\s+$/,""));break;case"D":8===x.length?r[b][y]=new Date(+x.slice(0,4),+x.slice(4,6)-1,+x.slice(6,8)):r[b][y]=x;break;case"F":r[b][y]=parseFloat(x.trim());break;case"+":case"I":r[b][y]=l?2147483648^w.read_shift(-4,"i"):w.read_shift(4,"i");break;case"L":switch(x.trim().toUpperCase()){case"Y":case"T":r[b][y]=!0;break;case"N":case"F":r[b][y]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+x+"|")}break;case"M":if(!a)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));r[b][y]="##MEMO##"+(l?parseInt(x.trim(),10):w.read_shift(4));break;case"N":x=x.replace(/\u0000/g,"").trim(),x&&"."!=x&&(r[b][y]=+x||0);break;case"@":r[b][y]=new Date(w.read_shift(-8,"f")-621356832e5);break;case"T":r[b][y]=new Date(864e5*(w.read_shift(4)-2440588)+w.read_shift(4));break;case"Y":r[b][y]=w.read_shift(4,"i")/1e4+w.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":r[b][y]=-w.read_shift(-8,"f");break;case"B":if(s&&8==f[y].len){r[b][y]=w.read_shift(8,"f");break}case"G":case"P":w.l+=f[y].len;break;case"0":if("_NullFlags"===f[y].name)break;default:throw new Error("DBF Unsupported data type "+f[y].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=$n(),s=hp(e,{header:1,raw:!0,cellDates:!0}),l=s[0],c=s.slice(1),u=e["!cols"]||[],d=0,f=0,p=0,m=1;for(d=0;d250&&(k=250),x=((u[d]||{}).DBF||{}).type,"C"==x&&u[d].DBF.len>k&&(k=u[d].DBF.len),"B"==w&&"N"==x&&(w="N",y[d]=u[d].DBF.dec,k=u[d].DBF.len),b[d]="C"==w||"N"==x?k:o[w]||0,m+=b[d],v[d]=w}else v[d]="?"}var A=i.next(32);for(A.write_shift(4,318902576),A.write_shift(4,c.length),A.write_shift(2,296+32*p),A.write_shift(2,m),d=0;d<4;++d)A.write_shift(4,0);for(A.write_shift(4,0|(+t[a]||3)<<8),d=0,f=0;d":190,"?":191,"{":223},n=new RegExp("N("+_e(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(e,n){var r=t[n];return"number"==typeof r?y(r):r},i=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:y(r)};function o(t,n){switch(n.type){case"base64":return a(A(t),n);case"binary":return a(t,n);case"buffer":return a(T&&e.isBuffer(t)?t.toString("binary"):N(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,d=[],f=[],p=null,m={},v=[],b=[],y=[],w=0;for(+t.codepage>=0&&h(+t.codepage);c!==a.length;++c){w=0;var x,k=a[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(n,r),C=k.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),A=C[0];if(k.length>0)switch(A){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":"P"==C[1].charAt(0)&&f.push(k.slice(3).replace(/;;/g,";"));break;case"C":var T=!1,S=!1,E=!1,M=!1,O=-1,N=-1;for(u=1;u-1&&d[O][N];if(!L||!L[1])throw new Error("SYLK shared formula cannot find base");d[s][l][1]=tc(L[1],{r:s-O,c:l-N})}break;case"F":var P=0;for(u=1;u0?(v[s].hpt=w,v[s].hpx=Ks(w)):0===w&&(v[s].hidden=!0);break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+k)}P<1&&(p=null);break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+k)}}return v.length>0&&(m["!rows"]=v),b.length>0&&(m["!cols"]=b),t&&t.sheetRows&&(d=d.slice(0,t.sheetRows)),[d,m]}function s(e,t){var n=o(e,t),r=n[0],i=n[1],a=kr(r,t);return _e(i).forEach((function(e){a[e]=i[e]})),a}function l(e,t){return wr(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=Bs(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=js(t.wpx)),"number"==typeof t.wch&&(r+=Math.round(t.wch)))," "!=r.charAt(r.length-1)&&e.push(r)}))}function d(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*Ys(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))}))}function f(e,t){var n,r=["ID;PWXL;N;E"],i=[],o=vr(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"]&&d(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 f=pr({r:l,c:h});n=a?(e[l]||[])[h]:e[f],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:f}}(),Ua=function(){function t(t,r){switch(r.type){case"base64":return n(A(t),r);case"binary":return n(t,r);case"buffer":return n(T&&e.isBuffer(t)?t.toString("binary"):N(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&&v(),i["!ref"]=gr(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):kr(n(e,t),t):a(e,t)}function l(t,n){var r="",i="string"==n.type?[0,0,0,0]:tp(t,n);switch(n.type){case"base64":r=A(t);break;case"binary":r=t;break;case"buffer":r=65001==n.codepage?t.toString("utf8"):n.codepage&&"undefined"!==typeof g?g.utils.decode(n.codepage,t):T&&e.isBuffer(t)?t.toString("binary"):N(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=Qt(r.slice(3)):"string"!=n.type&&"buffer"!=n.type&&65001==n.codepage?r=Qt(r):"binary"==n.type&&"undefined"!==typeof g&&n.codepage&&(r=g.utils.decode(n.codepage,g.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?qa.to_sheet("string"==n.type?r:Qt(r),n):s(r,n)}function c(e,t){return wr(l(e,t),t)}function u(e){for(var t,n=[],r=vr(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=pr({r:o,c:s});if(t=i?(e[o]||[])[s]:e[l],t&&null!=t.v){var c=(t.w||(yr(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 Ga(e,t){var n=t||{},r=!!n.WTF;n.WTF=!0;try{var i=Ha.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 Wa.to_workbook(e,t)}}var Va=function(){function e(e,t,n){if(e){Xn(e,e.l||0);var r=n.Enum||H;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=H,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||Z[14],r.cellDates&&(e[1].t="d",e[1].v=ot(e[1].v))),r.qpro&&e[3]>s&&(i["!ref"]=gr(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[pr(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[pr(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=U,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"]=gr(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)),d>0&&e[0].r>=d)break;r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[pr(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=$n(),i=vr(e["!ref"]),a=Array.isArray(e),s=[];of(r,0,o(1030)),of(r,6,l(i));for(var c=Math.min(i.e.r,8191),u=i.s.r;u<=c;++u)for(var f=or(u),m=i.s.c;m<=i.e.c;++m){u===i.s.r&&(s[m]=cr(m));var v=s[m]+f,b=a?(e[u]||[])[m]:e[v];if(b&&"z"!=b.t)if("n"==b.t)(0|b.v)==b.v&&b.v>=-32768&&b.v<=32767?of(r,13,p(u,m,b.v)):of(r,14,g(u,m,b.v));else{var y=yr(b);of(r,15,d(u,m,y.slice(0,239)))}}return of(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=$n();of(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=Qn(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 d(e,t,n){var r=Qn(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 f(e,t,n){var r=c(e,t,n);return r[1].v=e.read_shift(2,"i"),r}function p(e,t,n){var r=Qn(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 m(e,t,n){var r=c(e,t,n);return r[1].v=e.read_shift(8,"f"),r}function g(e,t,n){var r=Qn(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 v(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);k(e.slice(e.l,e.l+o),i),e.l+=o}return i}function b(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 y={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]},x=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function k(e,t){Xn(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 d=n.slice(-r);n.length-=r,n.push(y[l][0]+"("+d.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 T(e,t){var n=C(e,t);return n[1].t="s",n[1].v=e.read_shift(t-4,"cstr"),n}function S(e,t,n,r){var i=Qn(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 E(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 M(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 N(e,t,n,r){var i=Qn(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 D(e,t){var n=M(e,14);return e.l+=t-14,n}function L(e,t){var n=C(e,t),r=e.read_shift(4);return n[1].v=r>>6,n}function P(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=P(e,14);return e.l+=t-10,n}function R(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function F(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 H={0:{n:"BOF",f:Xi},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:f},14:{n:"NUMBER",f:m},15:{n:"LABEL",f:u},16:{n:"FORMULA",f:v},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:R},222:{n:"SHEETNAMELP",f:F},65535:{n:""}},U={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:T},23:{n:"NUMBER17",f:M},24:{n:"NUMBER18",f:E},25:{n:"FORMULA19",f:D},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:B},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:L},38:{n:"??"},39:{n:"NUMBER27",f:P},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:R},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:z},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 Ya(e){var t={},n=e.match(It),r=0,i=!1;if(n)for(;r!=n.length;++r){var o=zt(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=$t("t"),t=$t("rPr");function n(n){var r=n.match(e);if(!r)return{t:"s",v:""};var i={t:"s",v:Ut(r[1])},o=n.match(t);return o&&(i.s=Ya(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}))}}(),Za=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("")}}(),Xa=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ja=/<(?:\w+:)?r>/,Qa=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function _a(e,t){var n=!t||t.cellHTML,r={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(r.t=Ut(Qt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),r.r=Qt(e),n&&(r.h=Gt(r.t))):e.match(Ja)&&(r.r=Qt(e),r.t=Ut(Qt((e.replace(Qa,"").match(Xa)||[]).join("").replace(It,""))),n&&(r.h=Za(Ka(r.r)))),r):{t:""}}var $a=/<(?:\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($a);if(i){r=i[2].replace(es,"").split(ts);for(var o=0;o!=r.length;++o){var a=_a(r[o].trim(),t);null!=a&&(n[n.length]=a)}i=zt(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 _n(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 g)return g.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 ds(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 fs(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 ps(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 ms(e){var t=as(e);switch(t.Minor){case 2:return[t.Minor,gs(e,t)];case 3:return[t.Minor,vs(e,t)];case 4:return[t.Minor,bs(e,t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function gs(e){var t=e.read_shift(4);if(36!=(63&t))throw new Error("EncryptionInfo mismatch");var n=e.read_shift(4),r=fs(e,n),i=ps(e,e.length-e.l);return{t:"Std",h:r,v:i}}function vs(){throw new Error("File is password-protected: ECMA-376 Extensible")}function bs(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=zt(e);switch(Bt(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=fs(e,i),t-=i,n.EncryptionVerifier=ps(e,t),n}function ws(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 xs(e){var t,n,r,i,o,a,s=0,l=os(e),c=l.length+1;for(t=E(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 ks=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=E(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=ks(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]},As=function(e){var t=0,n=ks(e);return function(e){var r=Cs("",e,t,n);return t=r[1],r[0]}};function Ts(e,t,n,r){var i={key:Xi(e),verificationBytes:Xi(e)};return n.password&&(i.verifier=xs(n.password)),r.valid=i.verificationBytes===i.verifier,r.valid&&(r.insitu=As(n.password)),i}function Ss(e,t,n){var r=n||{};return r.Info=e.read_shift(2),e.l-=2,1===r.Info?r.Data=ws(e,t):r.Data=ys(e,t),r}function Es(e,t,n){var r={Type:n.biff>=8?e.read_shift(2):0};return r.Type?Ss(e,t-2,r):Ts(e,n.biff>=8?t:t-2,n,r),r}var Ms=function(){function t(t,r){switch(r.type){case"base64":return n(A(t),r);case"binary":return n(t,r);case"buffer":return n(T&&e.isBuffer(t)?t.toString("binary"):N(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[pr({r:t,c:s})]=c}break}a=i.lastIndex}s>o.e.c&&(o.e.c=s)})),r["!ref"]=gr(o),r}function r(e,n){return wr(t(e,n),n)}function i(e){for(var t,n=["{\\rtf1\\ansi"],r=vr(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=pr({r:o,c:a});t=i?(e[o]||[])[a]:e[s],t&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(yr(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 Os(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 Ns(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 Ds(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 Ls(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 Ps(e,t){if(0===t)return e;var n=Ds(Os(e));return n[2]=t<0?n[2]*(1+t):1-(1-n[2])*(1-t),Ns(Ls(n))}var Is=6,Rs=15,Fs=1,zs=Is;function Bs(e){return Math.floor((e+Math.round(128/zs)/256)*zs)}function js(e){return Math.floor((e-5)/zs*100+.5)/100}function Hs(e){return Math.round((e*zs+5)/zs*256)/256}function Us(e){return Hs(js(Bs(e)))}function qs(e){var t=Math.abs(e-Us(e)),n=zs;if(t>.005)for(zs=Fs;zs":case"":break;case"":case"":i={},n.diagonalUp&&(i.diagonalUp=Yt(n.diagonalUp)),n.diagonalDown&&(i.diagonalDown=Yt(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 Js(e,t,n,r){t.Fills=[];var i={},o=!1;(e[0].match(It)||[]).forEach((function(e){var n=zt(e);switch(Bt(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 Qs(e,t,n,r){t.Fonts=[];var i={},o=!1;(e[0].match(It)||[]).forEach((function(e){var a=zt(e);switch(Bt(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 _s(e,t,n){t.NumberFmt=[];for(var r=_e(Z),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}qe(s,l)}break;case"":break;default:if(n.WTF)throw new Error("unrecognized "+a[0]+" in numFmts")}}}var $s=["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=zt(e),a=0;switch(Bt(o[0])){case"":case"":case"":break;case"":for(r=o,delete r[0],a=0;a<$s.length;++a)r[$s[a]]&&(r[$s[a]]=parseInt(r[$s[a]],10));for(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=Yt(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))&&_s(l,c,s),(l=o.match(r))&&Qs(l,c,a,s),(l=o.match(n))&&Js(l,c,a,s),(l=o.match(i))&&Xs(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=Ar(e,t-2);return[n,r]}function il(e,t,n){var r={};r.sz=e.read_shift(2)/20;var i=jr(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=Br(e,8),e.read_shift(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor";break}return r.name=Ar(e,t-21),r}var ol=Jn;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=Jn;function ll(e,t,n){var r={NumberFmt:[]};for(var i in Z)r.NumberFmt[i]=Z[i];r.CellXf=[],r.Fonts=[];var o=[],a=!1;return _n(e,(function(e,i,s){switch(s){case 44:r.NumberFmt[e[0]]=e[1],qe(e[1],e[0]);break;case 43:r.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=Ps(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=zt(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 dl(){}var fl=/]*)>[\s\S]*<\/a:clrScheme>/,pl=/]*)>[\s\S]*<\/a:fontScheme>/,ml=/]*)>[\s\S]*<\/a:fmtScheme>/;function gl(e,t,n){var r;t.themeElements={},[["clrScheme",fl,ul],["fontScheme",pl,hl],["fmtScheme",ml,dl]].forEach((function(i){if(!(r=e.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](r,t,n)}))}var vl=/]*)>[\s\S]*<\/a:themeElements>/;function bl(e,t){var n;e&&0!==e.length||(e=yl());var r={};if(!(n=e.match(vl)))throw new Error("themeElements not found in theme");return gl(n[0],r,t),r.raw=e,r}function yl(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[Nt];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 wl(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=Mt(a,{type:"array"})}catch(l){return}var s=At(o,"theme/theme/theme1.xml",!0);if(s)return bl(s,n)}else e.l=r}function xl(e){return e.read_shift(4)}function kl(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=xl(e,4);break;case 4:e.l+=4;break}return e.l+=8,t}function Cl(e,t){return Jn(e,t)}function Al(e,t){return Jn(e,t)}function Tl(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]=kl(e,n);break;case 6:r[1]=Al(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 Sl(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(Tl(e,n-e.l));return{ixfe:r,ext:o}}function El(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 Ml(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Ar(e,t-8)}}function Ol(e){var t=[],n=e.read_shift(4);while(n-- >0)t.push([e.read_shift(4),e.read_shift(4)]);return t}function Nl(e){return e.l+=4,0!=e.read_shift(4)}function Dl(e,t,n){var r={Types:[],Cell:[],Value:[]},i=n||{},o=[],a=!1,s=2;return _n(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 Ll(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=zt(e);switch(Bt(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 jl(e,t,n,r){var i,o=Array.isArray(e);t.forEach((function(t){var a=fr(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=vr(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=zt(i[0]),a={author:o.authorId&&n[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=fr(o.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),c=!!l&&!!l[1]&&_a(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 Ul(e,t){var n=[],r=!1,i={},o=0;return e.replace(It,(function(a,s){var l=zt(a);switch(Bt(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 ql(e,t){var n=[],r=!1;return e.replace(It,(function(e){var i=zt(e);switch(Bt(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 Wl(e){var t={};t.iauthor=e.read_shift(4);var n=Fr(e,16);return t.rfx=n.s,t.ref=pr(n.s),e.l+=16,t}var Gl=Ar;function Vl(e,t){var n=[],r=[],i={},o=!1;return _n(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 Yl="application/vnd.ms-office.vbaProject";function Kl(e){var t=Xe.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*/,"");Xe.utils.cfb_add(t,i,e.FileIndex[r].content)}})),Xe.write(t)}function Zl(){return{"!type":"dialog"}}function Xl(){return{"!type":"dialog"}}function Jl(){return{"!type":"macro"}}function Ql(){return{"!type":"macro"}}var _l=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)}}(),$l=/(^|[^._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($l,(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($l,(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=mr(t),i=r.s,o=fr(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 dc(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 fc(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return pc(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 pc(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 mc(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 gc(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 vc(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 bc(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 yc(e,t,n){var r=(96&e[e.l++])>>5,i=cc(e,t-1,n);return[r,i]}function wc(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}function xc(e){var t=1&e[e.l+1],n=1;return e.l+=4,[t,n]}function kc(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 Ac(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 Tc(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}function Sc(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}function Ec(e){var t=e.read_shift(1),n=e.read_shift(1);return[t,n]}function Mc(e){return e.read_shift(2),Ec(e,2)}function Oc(e){return e.read_shift(2),Ec(e,2)}function Nc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=uc(e,0,n);return[r,i]}function Dc(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=fc(e,0,n);return[r,i]}function Lc(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 Pc(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],Yu[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)]:Rc(e);return[i,(0===o[0]?Yu:Vu)[o[1]]]}function Rc(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}function Fc(e,t,n){e.l+=n&&2==n.biff?3:4}function zc(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 Bc(e){return e.l++,ci[e.read_shift(1)]}function jc(e){return e.l++,e.read_shift(2)}function Hc(e){return e.l++,0!==e.read_shift(1)}function Uc(e){return e.l++,zr(e,8)}function qc(e,t,n){return e.l++,_i(e,t-1,n)}function Wc(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]=Zi(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]=zr(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 Gc(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?Fr:bo)(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]=Wc(e,n.biff);return a}function Yc(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 Zc(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 Zc(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 Xc(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 Jc(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 Qc(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 _c(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 $c=Jn,eu=Jn,tu=Jn;function nu(e,t,n){return e.l+=2,[dc(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,[Xi(e),1&e.read_shift(2)]}var cu=nu,uu=lu,hu=ru,du=nu,fu=nu,pu=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function mu(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=pu[n>>2&31];return{ixti:t,coltype:3&n,rt:a,idx:r,c:i,C:o}}function gu(e){return e.l+=2,[e.read_shift(4)]}function vu(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}function bu(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}function yu(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2);return[t,n]}function wu(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2);return[t,n]}function xu(e){return e.l+=4,[0,0]}var ku={1:{n:"PtgExp",f:zc},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:qc},26:{n:"PtgSheet",f:vu},27:{n:"PtgEndSheet",f:bu},28:{n:"PtgErr",f:Bc},29:{n:"PtgBool",f:Hc},30:{n:"PtgInt",f:jc},31:{n:"PtgNum",f:Uc},32:{n:"PtgArray",f:wc},33:{n:"PtgFunc",f:Pc},34:{n:"PtgFuncVar",f:Ic},35:{n:"PtgName",f:Yc},36:{n:"PtgRef",f:Nc},37:{n:"PtgArea",f:mc},38:{n:"PtgMemArea",f:Xc},39:{n:"PtgMemErr",f:$c},40:{n:"PtgMemNoMem",f:eu},41:{n:"PtgMemFunc",f:Jc},42:{n:"PtgRefErr",f:Qc},43:{n:"PtgAreaErr",f:vc},44:{n:"PtgRefN",f:Dc},45:{n:"PtgAreaN",f:yc},46:{n:"PtgMemAreaN",f:yu},47:{n:"PtgMemNoMemN",f:wu},57:{n:"PtgNameX",f:Kc},58:{n:"PtgRef3d",f:Lc},59:{n:"PtgArea3d",f:gc},60:{n:"PtgRefErr3d",f:_c},61:{n:"PtgAreaErr3d",f:bc},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},Au={1:{n:"PtgElfLel",f:lu},2:{n:"PtgElfRw",f:du},3:{n:"PtgElfCol",f:iu},6:{n:"PtgElfRwV",f:fu},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:mu},29:{n:"PtgSxName",f:gu},255:{}},Tu={0:{n:"PtgAttrNoop",f:xu},1:{n:"PtgAttrSemi",f:Sc},2:{n:"PtgAttrIf",f:Ac},4:{n:"PtgAttrChoose",f:kc},8:{n:"PtgAttrGoto",f:Cc},16:{n:"PtgAttrSum",f:Fc},32:{n:"PtgAttrBaxcel",f:xc},33:{n:"PtgAttrBaxcel",f:xc},64:{n:"PtgAttrSpace",f:Mc},65:{n:"PtgAttrSpaceSemi",f:Oc},128:{n:"PtgAttrIfError",f:Tc},255:{}};function Su(e,t,n,r){if(r.biff<8)return Jn(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]=Gc(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(Jn(e,t)),o}function Eu(e,t,n){var r,i,o=e.l+t,a=[];while(o!=e.l)t=o-e.l,i=e[e.l],r=ku[i]||ku[Cu[i]],24!==i&&25!==i||(r=(24===i?Au:Tu)[e[e.l+1]]),r&&r.f?a.push([r.n,r.f(e,t,n)]):Jn(e,t);return a}function Mu(e){for(var t=[],n=0;n=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Nu(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 Du(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 Lu(e,t,n){var r=Du(e,t,n);return"#REF"==r?r:Nu(r,n)}function Pu(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=[],d=0,f=0,p="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",v=0,b=e[0].length;v=0){switch(e[0][m][1][0]){case 0:g=ft(" ",e[0][m][1][1]);break;case 1:g=ft("\r",e[0][m][1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}a+=g,m=-1}h.push(a+Ou[y[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(y[1][1],u,i),h.push(nr(s,c));break;case"PtgRefN":s=n?er(y[1][1],n,i):y[1][1],h.push(nr(s,c));break;case"PtgRef3d":d=y[1][1],s=er(y[1][2],u,i),p=Lu(r,d,i);h.push(p+"!"+nr(s,c));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],x=y[1][1];w||(w=0),w&=127;var k=0==w?[]:h.slice(-w);h.length-=w,"User"===x&&(x=k.shift()),h.push(x+"("+k.join(",")+")");break;case"PtgBool":h.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":h.push(y[1]);break;case"PtgNum":h.push(String(y[1]));break;case"PtgStr":h.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":h.push(y[1]);break;case"PtgAreaN":l=tr(y[1][1],n?{s:n}:u,i),h.push(rr(l,i));break;case"PtgArea":l=tr(y[1][1],u,i),h.push(rr(l,i));break;case"PtgArea3d":d=y[1][1],l=y[1][2],p=Lu(r,d,i),h.push(p+"!"+rr(l,i));break;case"PtgAttrSum":h.push("SUM("+h.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":f=y[1][2];var C=(r.names||[])[f-1]||(r[0]||[])[f],A=C?C.Name:"SH33TJSNAME"+String(f);A&&"_xlfn."==A.slice(0,6)&&!i.xlfn&&(A=A.slice(6)),h.push(A);break;case"PtgNameX":var T,S=y[1][1];if(f=y[1][2],!(i.biff<=5)){var E="";if(14849==((r[S]||[])[0]||[])[0]||(1025==((r[S]||[])[0]||[])[0]?r[S][f]&&r[S][f].itab>0&&(E=r.SheetNames[r[S][f].itab-1]+"!"):E=r.SheetNames[f-1]+"!"),r[S]&&r[S][f])E+=r[S][f].Name;else if(r[0]&&r[0][f])E+=r[0][f].Name;else{var M=(Du(r,S,i)||"").split(";;");M[f-1]?E=M[f-1]:E+="SH33TJSERRX"}h.push(E);break}S<0&&(S=-S),r[S]&&(T=r[S][f]),T||(T={Name:"SH33TJSERRY"}),h.push(T.Name);break;case"PtgParen":var O="(",N=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:O=ft(" ",e[0][m][1][1])+O;break;case 3:O=ft("\r",e[0][m][1][1])+O;break;case 4:N=ft(" ",e[0][m][1][1])+N;break;case 5:N=ft("\r",e[0][m][1][1])+N;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}h.push(O+h.pop()+N);break;case"PtgRefErr":h.push("#REF!");break;case"PtgRefErr3d":h.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var D={c:n.c,r:n.r};if(r.sharedf[pr(s)]){var L=r.sharedf[pr(s)];h.push(Pu(L,u,D,r,i))}else{var P=!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(Pu(a[1],u,D,r,i)),P=!0;break}P||h.push(y[1])}break;case"PtgArray":h.push("{"+Mu(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;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"+y[1].idx+"[#"+y[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(y));default:throw new Error("Unrecognized Formula Token: "+String(y))}var I=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(3!=i.biff&&m>=0&&-1==I.indexOf(e[0][v][0])){y=e[0][m];var R=!0;switch(y[1][0]){case 4:R=!1;case 0:g=ft(" ",y[1][1]);break;case 5:R=!1;case 1:g=ft("\r",y[1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}h.push((R?g:"")+h.pop()+(R?"":g)),m=-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[[],Jn(e,t-2)];var s=Eu(e,a,n);return t!==a+o&&(r=Su(e,t-a-o,s,n)),e.l=i,[s,r]}function Ru(e,t,n){var r,i=e.l+t,o=2==n.biff?1:2,a=e.read_shift(o);if(65535==a)return[[],Jn(e,t-2)];var s=Eu(e,a,n);return t!==a+o&&(r=Su(e,t-a-o,s,n)),e.l=i,[s,r]}function Fu(e,t,n,r){var i,o=e.l+t,a=Eu(e,r,n);return o!==e.l&&(i=Su(e,o-e.l,a,n)),[a,i]}function zu(e,t,n){var r,i=e.l+t,o=e.read_shift(2),a=Eu(e,o,n);return 65535==o?[[],Jn(e,t-2)]:(t!==o+2&&(r=Su(e,i-o-2,a,n)),[a,r])}function Bu(e){var t;if(65535!==Bn(e,e.l+6))return[zr(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 ju(e,t,n){var r=e.l+t,i=ho(e,6);2==n.biff&&++e.l;var o=Bu(e,8),a=e.read_shift(1);2!=n.biff&&(e.read_shift(1),n.biff>=5&&e.read_shift(4));var s=Ru(e,r-e.l,n);return{cell:i,val:o[0],formula:s,shared:a>>3&1,tt:o[1]}}function Hu(e,t,n){var r=e.read_shift(4),i=Eu(e,r,n),o=e.read_shift(4),a=o>0?Su(e,o,i,n):null;return[i,a]}var Uu=Hu,qu=Hu,Wu=Hu,Gu=Hu,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"},Yu={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 Zu(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 Xu(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 Ju={},Qu={};function _u(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 $u(e,t,n,r,i,o){try{r.cellNF&&(e.z=Z[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==Z[t]&&qe(Ge[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,Qu)}else"d"===e.t?e.w=Ue(t,tt(e.v),Qu):e.w=Ue(t,e.v,Qu)}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=Ps(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=Ps(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=vr(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=gr(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!=w&&null==t.dense&&(t.dense=w);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 d=c.match(lh);d?dh(d[0],s,i,n):(d=c.match(ch))&&fh(d[0],d[1]||"",s,i,n,a,o);var f=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(f>0){var p=c.slice(f,f+50).match(ih);p&&eh(s,p[1])}var m=c.match(uh);m&&m[1]&&yh(m[1],i);var g=[];if(t.cellStyles){var v=c.match(oh);v&&gh(g,v)}h&&wh(h[1],s,t,l,o,a);var b=u.match(ah);b&&(s["!autofilter"]=vh(b[0]));var y=[],x=u.match(th);if(x)for(f=0;f!=x.length;++f)y[f]=vr(x[f].slice(x[f].indexOf('"')+1));var k=u.match(rh);k&&ph(s,k,r);var C=u.match(sh);if(C&&(s["!margins"]=mh(zt(C[0]))),!s["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(s["!ref"]=gr(l)),t.sheetRows>0&&s["!ref"]){var A=vr(s["!ref"]);t.sheetRows<=+A.e.r&&(A.e.r=t.sheetRows-1,A.e.r>l.e.r&&(A.e.r=l.e.r),A.e.rl.e.c&&(A.e.c=l.e.c),A.e.c0&&(s["!cols"]=g),y.length>0&&(s["!merges"]=y),s}function dh(e,t,n,r){var i=zt(e);n.Sheets[r]||(n.Sheets[r]={}),i.codeName&&(n.Sheets[r].CodeName=Ut(Qt(i.codeName)))}function fh(e,t,n,r,i){dh(e.slice(0,e.indexOf(">")),n,r,i)}function ph(e,t,n){for(var r=Array.isArray(e),i=0;i!=t.length;++i){var o=zt(Qt(t[i]),!0);if(!o.ref)return;var a=((n||{})["!id"]||[])[o.id];a?(o.Target=a.Target,o.location&&(o.Target+="#"+Ut(o.location))):(o.Target="#"+Ut(o.location),a={Target:o.Target,TargetMode:"Internal"}),o.Rel=a,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=vr(o.ref),l=s.s.r;l<=s.e.r;++l)for(var c=s.s.c;c<=s.e.c;++c){var u=pr({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 mh(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(n){e[n]&&(t[n]=parseFloat(e[n]))})),t}function gh(e,t){for(var n=!1,r=0;r!=t.length;++r){var i=zt(t[r],!0);i.hidden&&(i.hidden=Yt(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,qs(i.width)),Ws(i);while(o<=a)e[o++]=dt(i)}}function vh(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}var bh=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function yh(e,t){t.Views||(t.Views=[{}]),(e.match(bh)||[]).forEach((function(e,n){var r=zt(e);t.Views[n]||(t.Views[n]={}),+r.zoomScale&&(t.Views[n].zoom=+r.zoomScale),Yt(r.rightToLeft)&&(t.Views[n].RTL=!0)}))}var wh=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,r=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,o=$t("v"),a=$t("f");return function(s,l,c,u,h,d){for(var f,p,m,g,v,b=0,y="",w=[],x=[],k=0,C=0,A=0,T="",S=0,E=0,M=0,O=0,N=Array.isArray(d.CellXf),D=[],L=[],P=Array.isArray(l),I=[],R={},F=!1,z=!!c.sheetStubs,B=s.split(t),j=0,H=B.length;j!=H;++j){y=B[j].trim();var U=y.length;if(0!==U){var q=0;e:for(b=0;b":if("/"!=y[b-1]){++b;break e}if(c&&c.cellStyles){if(p=zt(y.slice(q,b),!0),S=null!=p.r?parseInt(p.r,10):S+1,E=-1,c.sheetRows&&c.sheetRows=b)break;if(p=zt(y.slice(q,b),!0),S=null!=p.r?parseInt(p.r,10):S+1,E=-1,!(c.sheetRows&&c.sheetRowsS-1&&(u.s.r=S-1),u.e.r":"")+y,null!=x&&2===x.length){for(k=0,T=x[1],C=0;C!=T.length;++C){if((A=T.charCodeAt(C)-64)<1||A>26)break;k=26*k+A}--k,E=k}else++E;for(C=0;C!=y.length;++C)if(62===y.charCodeAt(C))break;if(++C,p=zt(y.slice(0,C),!0),p.r||(p.r=pr({r:S-1,c:E})),T=y.slice(C),f={t:""},null!=(x=T.match(o))&&""!==x[1]&&(f.v=Ut(x[1])),c.cellFormula){if(null!=(x=T.match(a))&&""!==x[1]){if(f.f=Ut(Qt(x[1])).replace(/\r\n/g,"\n"),c.xlfn||(f.f=ic(f.f)),x[0].indexOf('t="array"')>-1)f.F=(T.match(i)||[])[1],f.F.indexOf(":")>-1&&D.push([vr(f.F),f.F]);else if(x[0].indexOf('t="shared"')>-1){g=zt(x[0]);var G=Ut(Qt(x[1]));c.xlfn||(G=ic(G)),L[parseInt(g.si,10)]=[g,G,p.r]}}else(x=T.match(/]*\/>/))&&(g=zt(x[0]),L[g.si]&&(f.f=nc(L[g.si][1],L[g.si][2],p.r)));var V=fr(p.r);for(C=0;C=D[C][0].s.r&&V.r<=D[C][0].e.r&&V.c>=D[C][0].s.c&&V.c<=D[C][0].e.c&&(f.F=D[C][1])}if(null==p.t&&void 0===f.v)if(f.f||f.F)f.v=0,f.t="n";else{if(!z)continue;f.t="z"}else f.t=p.t||"n";switch(u.s.c>E&&(u.s.c=E),u.e.c0&&(l["!rows"]=I)}}();function xh(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 kh=Fr;function Ch(){}function Ah(e,t){var n={},r=e[e.l];return++e.l,n.above=!(64&r),n.left=!(128&r),e.l+=18,n.name=Nr(e,t-19),n}function Th(e){var t=Mr(e);return[t]}function Sh(e){var t=Or(e);return[t]}function Eh(e){var t=Mr(e),n=e.read_shift(1);return[t,n,"b"]}function Mh(e){var t=Or(e),n=e.read_shift(1);return[t,n,"b"]}function Oh(e){var t=Mr(e),n=e.read_shift(1);return[t,n,"e"]}function Nh(e){var t=Or(e),n=e.read_shift(1);return[t,n,"e"]}function Dh(e){var t=Mr(e),n=e.read_shift(4);return[t,n,"s"]}function Lh(e){var t=Or(e),n=e.read_shift(4);return[t,n,"s"]}function Ph(e){var t=Mr(e),n=zr(e);return[t,n,"n"]}function Ih(e){var t=Or(e),n=zr(e);return[t,n,"n"]}function Rh(e){var t=Mr(e),n=Ir(e);return[t,n,"n"]}function Fh(e){var t=Or(e),n=Ir(e);return[t,n,"n"]}function zh(e){var t=Mr(e),n=Sr(e);return[t,n,"is"]}function Bh(e){var t=Mr(e),n=Ar(e);return[t,n,"str"]}function jh(e){var t=Or(e),n=Ar(e);return[t,n,"str"]}function Hh(e,t,n){var r=e.l+t,i=Mr(e);i.r=n["!row"];var o=e.read_shift(1),a=[i,o,"b"];if(n.cellFormula){e.l+=2;var s=qu(e,r-e.l,n);a[3]=Pu(s,null,i,n.supbooks,n)}else e.l=r;return a}function Uh(e,t,n){var r=e.l+t,i=Mr(e);i.r=n["!row"];var o=e.read_shift(1),a=[i,o,"e"];if(n.cellFormula){e.l+=2;var s=qu(e,r-e.l,n);a[3]=Pu(s,null,i,n.supbooks,n)}else e.l=r;return a}function qh(e,t,n){var r=e.l+t,i=Mr(e);i.r=n["!row"];var o=zr(e),a=[i,o,"n"];if(n.cellFormula){e.l+=2;var s=qu(e,r-e.l,n);a[3]=Pu(s,null,i,n.supbooks,n)}else e.l=r;return a}function Wh(e,t,n){var r=e.l+t,i=Mr(e);i.r=n["!row"];var o=Ar(e),a=[i,o,"str"];if(n.cellFormula){e.l+=2;var s=qu(e,r-e.l,n);a[3]=Pu(s,null,i,n.supbooks,n)}else e.l=r;return a}var Gh=Fr;function Vh(e,t){var n=e.l+t,r=Fr(e,16),i=Dr(e),o=Ar(e),a=Ar(e),s=Ar(e);e.l=n;var l={rfx:r,relId:i,loc:o,display:s};return a&&(l.Tooltip=a),l}function Yh(){}function Kh(e,t,n){var r=e.l+t,i=Rr(e,16),o=e.read_shift(1),a=[i];if(a[2]=o,n.cellFormula){var s=Uu(e,r-e.l,n);a[1]=s}else e.l=r;return a}function Zh(e,t,n){var r=e.l+t,i=Fr(e,16),o=[i];if(n.cellFormula){var a=Gu(e,r-e.l,n);o[1]=a,e.l=r}else e.l=r;return o}var Xh=["left","right","top","bottom","header","footer"];function Jh(e){var t={};return Xh.forEach((function(n){t[n]=zr(e,8)})),t}function Qh(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}function _h(){}function $h(){}function ed(e,t,n,r,i,o,a){if(!e)return e;var s=t||{};r||(r={"!id":{}}),null!=w&&null==s.dense&&(s.dense=w);var l,c,u,h,d,f,p,m,g,v,b=s.dense?[]:{},y={s:{r:2e6,c:2e6},e:{r:0,c:0}},x=[],k=!1,C=!1,A=[];s.biff=12,s["!row"]=0;var T=0,S=!1,E=[],M={},O=s.supbooks||i.supbooks||[[]];if(O.sharedf=M,O.arrayf=E,O.SheetNames=i.SheetNames||i.Sheets.map((function(e){return e.name})),!s.supbooks&&(s.supbooks=O,i.Names))for(var N=0;N=N[0].s.r&&c.r<=N[0].e.r&&f>=N[0].s.c&&f<=N[0].e.c&&(u.F=gr(N[0]),S=!0)}!S&&e.length>3&&(u.f=e[3])}if(y.s.r>c.r&&(y.s.r=c.r),y.s.c>f&&(y.s.c=f),y.e.rc.r&&(y.s.r=c.r),y.s.c>f&&(y.s.c=f),y.e.r=e.s)P[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},R||(R=!0,qs(e.w/256)),Ws(P[e.e+1]);break;case 161:b["!autofilter"]={ref:gr(e)};break;case 476:b["!margins"]=e;break;case 147:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name),(e.above||e.left)&&(b["!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:k=!0;break;case 36:k=!1;break;case 37:x.push(w),k=!0;break;case 38:x.pop(),k=!1;break;default:if(t.T);else if(!k||s.WTF)throw new Error("Unexpected record 0x"+w.toString(16))}}),s),delete s.supbooks,delete s["!row"],!b["!ref"]&&(y.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(b["!ref"]=gr(l||y)),s.sheetRows&&b["!ref"]){var F=vr(b["!ref"]);s.sheetRows<=+F.e.r&&(F.e.r=s.sheetRows-1,F.e.r>y.e.r&&(F.e.r=y.e.r),F.e.ry.e.c&&(F.e.c=y.e.c),F.e.c0&&(b["!merges"]=A),P.length>0&&(b["!cols"]=P),I.length>0&&(b["!rows"]=I),b}function td(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=Ut((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 nd(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=td(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"]=gr(u)),a}function rd(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&&dh(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 id(e,t){e.l+=10;var n=Ar(e,t-10);return{name:n}}function od(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},a=[],s=!1;return _n(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 ad=[["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"]],sd=[["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"]],ld=[],cd=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function ud(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]]=Yt(r[o[0]]));break;case"int":"string"==typeof r[o[0]]&&(r[o[0]]=parseInt(r[o[0]],10));break}}}function hd(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]]=Yt(e[r[0]]));break;case"int":"string"==typeof e[r[0]]&&(e[r[0]]=parseInt(e[r[0]],10));break}}}function dd(e){hd(e.WBProps,ad),hd(e.CalcPr,cd),ud(e.WBView,sd),ud(e.Sheets,ld),Qu.date1904=Yt(e.WBProps.date1904)}var fd="][*?/\\".split("");function pd(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return fd.forEach((function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}})),n}var md=/<\w+:workbook/;function gd(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=zt(s);switch(Bt(c[0])){case"":break;case"":case"":break;case"":break;case"":ad.forEach((function(e){if(null!=c[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=Yt(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=Qt(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=Ut(Qt(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?Ar(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 yd(e,t){var n={};return e.read_shift(4),n.ArchID=e.read_shift(4),e.l+=t-8,n}function wd(e,t,n){var r=e.l+t;e.l+=4,e.l+=1;var i=e.read_shift(4),o=Lr(e),a=Wu(e,0,n),s=Dr(e);e.l=r;var l={Name:o,Ptg:a};return i<268435455&&(l.Sheet=i),s&&(l.Comment=s),l}function xd(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=[],nf[16]={n:"BrtFRTArchID$",f:yd},_n(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=Pu(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),dd(n),n.Names=o,n.supbooks=a,n}function kd(e,t,n){return".bin"===t.slice(-4)?xd(e,n):gd(e,n)}function Cd(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?ed(e,r,n,i,o,a,s):hh(e,r,n,i,o,a,s)}function Ad(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?od(e,r,n,i,o,a,s):rd(e,r,n,i,o,a,s)}function Td(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?Jl(e,r,n,i,o,a,s):Ql(e,r,n,i,o,a,s)}function Sd(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?Zl(e,r,n,i,o,a,s):Xl(e,r,n,i,o,a,s)}function Ed(e,t,n,r){return".bin"===t.slice(-4)?ll(e,n,r):nl(e,n,r)}function Md(e,t,n){return bl(e,n)}function Od(e,t,n){return".bin"===t.slice(-4)?is(e,n):ns(e,n)}function Nd(e,t,n){return".bin"===t.slice(-4)?Vl(e,n):Hl(e,n)}function Dd(e,t,n){return".bin"===t.slice(-4)?Rl(e,t,n):Pl(e,t,n)}function Ld(e,t,n,r){return".bin"===n.slice(-4)?zl(e,t,n,r):Fl(e,t,n,r)}function Pd(e,t,n){return".bin"===t.slice(-4)?Dl(e,t,n):Ll(e,t,n)}var Id,Rd=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Fd=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function zd(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(Rd);if(l)for(s=0;s!=l.length;++s)i=l[s].match(Fd),-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 Bd(e){var t=e.split(/\s+/),n={};if(1===t.length)return n;var r,i,o,a,s=e.match(Rd);if(s)for(a=0;a!=s.length;++a)r=s[a].match(Fd),-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 jd(e,t){var n=Id[e]||Ut(e);return"General"===n?ce(t):Ue(n,t)}function Hd(e,t,n,r){var i=r;switch((n[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=Yt(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[Ut(t)]=i}function Ud(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=jd(t||"General",e.v)}catch(o){if(n.WTF)throw o}try{var r=Id[t]||t||"General";if(n.cellNF&&(e.z=r),n.cellDates&&"n"==e.t&&Fe(r)){var i=_(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 qd(e,t,n){if(n.cellStyles&&t.Interior){var r=t.Interior;r.Pattern&&(r.patternType=Zs[r.Pattern]||r.Pattern)}e[t.ID]=t}function Wd(e,t,n,r,i,o,a,s,l,c){var u="General",h=r.StyleID,d={};c=c||{};var f=[],p=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&&f.push(o[h].Interior),!o[h].Parent)break;h=o[h].Parent}switch(n.Type){case"Boolean":r.t="b",r.v=Yt(e);break;case"String":r.t="s",r.r=Vt(Ut(e)),r.v=e.indexOf("<")>-1?Ut(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=Ut(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(Ud(r,u,c),!1!==c.cellFormula)if(r.Formula){var m=Ut(r.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),r.f=_l(m,i),delete r.Formula,"RC"==r.ArrayRange?r.F=_l("RC:RC",i):r.ArrayRange&&(r.F=_l(r.ArrayRange,i),l.push([vr(r.F),r.F]))}else for(p=0;p=l[p][0].s.r&&i.r<=l[p][0].e.r&&i.c>=l[p][0].s.c&&i.c<=l[p][0].e.c&&(r.F=l[p][1]);c.cellStyles&&(f.forEach((function(e){!d.patternType&&e.patternType&&(d.patternType=e.patternType)})),r.s=d),void 0!==r.StyleID&&(r.ixfe=r.StyleID)}function Gd(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 Vd(e,t){var n=t||{};We();var r=v(cn(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(r="undefined"!==typeof g?g.utils.decode(65001,f(r)):Qt(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=dt(n);return s.type="string",Wa.to_workbook(r,s)}if(-1==o.indexOf("=0&&(a=!0)})),a)return uf(r,n);Id={"General Number":"General","General Date":Z[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":Z[15],"Short Date":Z[14],"Long Time":Z[19],"Medium Time":Z[18],"Short Time":Z[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:Z[2],Standard:Z[4],Percent:Z[10],Scientific:Z[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l,c=[];null!=w&&null==n.dense&&(n.dense=w);var u,h={},d=[],p=n.dense?[]:{},m="",b={},y={},x=zd(''),k=0,C=0,A=0,T={s:{r:2e6,c:2e6},e:{r:0,c:0}},S={},E={},M="",O=0,N=[],D={},L={},P=0,I=[],R=[],F={},z=[],B=!1,j=[],H=[],U={},q=0,W=0,G={Sheets:[],WBProps:{date1904:!1}},V={};un.lastIndex=0,r=r.replace(//gm,"");var Y="";while(i=un.exec(r))switch(i[3]=(Y=i[3]).toLowerCase()){case"data":if("data"==Y){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]?Wd(r.slice(k,i.index),M,x,"comment"==c[c.length-1][0]?F:b,{c:C,r:A},S,z[C],y,j,n):(M="",x=zd(i[0]),k=i.index+i[0].length);break;case"cell":if("/"===i[1])if(R.length>0&&(b.c=R),(!n.sheetRows||n.sheetRows>A)&&void 0!==b.v&&(n.dense?(p[A]||(p[A]=[]),p[A][C]=b):p[cr(C)+or(A)]=b),b.HRef&&(b.l={Target:Ut(b.HRef)},b.HRefScreenTip&&(b.l.Tooltip=b.HRefScreenTip),delete b.HRef,delete b.HRefScreenTip),(b.MergeAcross||b.MergeDown)&&(q=C+(0|parseInt(b.MergeAcross,10)),W=A+(0|parseInt(b.MergeDown,10)),N.push({s:{c:C,r:A},e:{c:q,r:W}})),n.sheetStubs)if(b.MergeAcross||b.MergeDown){for(var K=C;K<=q;++K)for(var X=A;X<=W;++X)(K>C||X>A)&&(n.dense?(p[X]||(p[X]=[]),p[X][K]={t:"z"}):p[cr(K)+or(X)]={t:"z"});C=q+1}else++C;else b.MergeAcross?C=q+1:++C;else b=Bd(i[0]),b.Index&&(C=+b.Index-1),CT.e.c&&(T.e.c=C),"/>"===i[0].slice(-2)&&++C,R=[];break;case"row":"/"===i[1]||"/>"===i[0].slice(-2)?(AT.e.r&&(T.e.r=A),"/>"===i[0].slice(-2)&&(y=zd(i[0]),y.Index&&(A=+y.Index-1)),C=0,++A):(y=zd(i[0]),y.Index&&(A=+y.Index-1),U={},("0"==y.AutoFitHeight||y.Height)&&(U.hpx=parseInt(y.Height,10),U.hpt=Ys(U.hpx),H[A]=U),"1"==y.Hidden&&(U.hidden=!0,H[A]=U));break;case"worksheet":if("/"===i[1]){if((l=c.pop())[0]!==i[3])throw new Error("Bad state: "+l.join("|"));d.push(m),T.s.r<=T.e.r&&T.s.c<=T.e.c&&(p["!ref"]=gr(T),n.sheetRows&&n.sheetRows<=T.e.r&&(p["!fullref"]=p["!ref"],T.e.r=n.sheetRows-1,p["!ref"]=gr(T))),N.length&&(p["!merges"]=N),z.length>0&&(p["!cols"]=z),H.length>0&&(p["!rows"]=H),h[m]=p}else T={s:{r:2e6,c:2e6},e:{r:0,c:0}},A=C=0,c.push([i[3],!1]),l=zd(i[0]),m=Ut(l.Name),p=n.dense?[]:{},N=[],j=[],H=[],V={name:m,Hidden:0},G.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]),z=[],B=!1}break;case"style":"/"===i[1]?qd(S,E,n):E=zd(i[0]);break;case"numberformat":E.nf=Ut(zd(i[0]).Format||"General"),Id[E.nf]&&(E.nf=Id[E.nf]);for(var J=0;392!=J;++J)if(Z[J]==E.nf)break;if(392==J)for(J=57;392!=J;++J)if(null==Z[J]){qe(E.nf,J);break}break;case"column":if("table"!==c[c.length-1][0])break;if(u=zd(i[0]),u.Hidden&&(u.hidden=!0,delete u.Hidden),u.Width&&(u.wpx=parseInt(u.Width,10)),!B&&u.wpx>10){B=!0,zs=Is;for(var Q=0;Q0&&(ee.Sheet=G.Sheets.length-1),G.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]?M+=r.slice(O,i.index):O=i.index+i[0].length;break;case"interior":if(!n.cellStyles)break;E.Interior=zd(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]?Oi(D,Y,r.slice(P,i.index)):P=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("|"));Gd(F),R.push(F)}else c.push([i[3],!1]),l=zd(i[0]),F={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=zd(i[0]);p["!autofilter"]={ref:_l(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 kf(r,n);if(0==c.length&&"uof"==i[3])return kf(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":G.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(P,i.index)){case"SheetHidden":V.Hidden=1;break;case"SheetVeryHidden":V.Hidden=2;break}else P=i.index+i[0].length;break;case"header":p["!margins"]||_u(p["!margins"]={},"xlml"),isNaN(+zt(i[0]).Margin)||(p["!margins"].header=+zt(i[0]).Margin);break;case"footer":p["!margins"]||_u(p["!margins"]={},"xlml"),isNaN(+zt(i[0]).Margin)||(p["!margins"].footer=+zt(i[0]).Margin);break;case"pagemargins":var re=zt(i[0]);p["!margins"]||_u(p["!margins"]={},"xlml"),isNaN(+re.Top)||(p["!margins"].top=+re.Top),isNaN(+re.Left)||(p["!margins"].left=+re.Left),isNaN(+re.Right)||(p["!margins"].right=+re.Right),isNaN(+re.Bottom)||(p["!margins"].bottom=+re.Bottom);break;case"displayrighttoleft":G.Views||(G.Views=[]),G.Views[0]||(G.Views[0]={}),G.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":p["!outline"]||(p["!outline"]={}),p["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":p["!outline"]||(p["!outline"]={}),p["!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]?Hd(L,Y,I,r.slice(P,i.index)):(I=i,P=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=d,ie.Workbook=G,ie.SSF=dt(Z),ie.Props=D,ie.Custprops=L,ie}function Yd(e,t){switch(Zf(t=t||{}),t.type||"base64"){case"base64":return Vd(A(e),t);case"binary":case"buffer":case"file":return Vd(e,t);case"array":return Vd(N(e),t)}}function Kd(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=Ur(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=qr(n),r=n.read_shift(4),0==r||r>40?t:(n.l-=4,void(t.Reserved2=n.read_shift(0,"lpwstr"))))))}var Zd=[60,1084,2066,2165,2175];function Xd(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=Bn(n,n.l),c=rf[l],u=0;while(null!=c&&Zd.indexOf(l)>-1)o=Bn(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=rf[l=Bn(n,n.l)];var h=L(a);Xn(h,0);var d=0;h.lens=[];for(var f=0;f1)&&!(n.sheetRows&&e.r>=n.sheetRows)){if(n.cellStyles&&t.XF&&t.XF.data&&O(e,t,n),delete t.ixfe,delete t.XF,i=e,x=pr(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.rm.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.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)!==Y)throw new Error("rt mismatch: "+J+"!="+Y);12==X.r&&(e.l+=10,K-=10)}var Q={};if(Q=10===Y?X.f(e,K,D):Xd(Y,X,e,K,D),0==H&&-1===[9,521,1033,2057].indexOf(j))continue;switch(Y){case 34:n.opts.Date1904=S.WBProps.date1904=Q;break;case 134:n.opts.WriteProtect=!0;break;case 47:if(D.enc||(e.l=0),D.enc=Q,!t.password)throw new Error("File is password-protected");if(null==Q.valid)throw new Error("Encryption scheme unsupported");if(!Q.valid)throw new Error("Password is incorrect");break;case 92:D.lastuser=Q;break;case 66:var _=Number(Q);switch(_){case 21010:_=1200;break;case 32768:_=1e4;break;case 32769:_=1252;break}h(D.codepage=_),G=!0;break;case 317:D.rrtabid=Q;break;case 25:D.winlocked=Q;break;case 439:n.opts["RefreshAll"]=Q;break;case 12:n.opts["CalcCount"]=Q;break;case 16:n.opts["CalcDelta"]=Q;break;case 17:n.opts["CalcIter"]=Q;break;case 13:n.opts["CalcMode"]=Q;break;case 14:n.opts["CalcPrecision"]=Q;break;case 95:n.opts["CalcSaveRecalc"]=Q;break;case 15:D.CalcRefMode=Q;break;case 2211:n.opts.FullCalc=Q;break;case 129:Q.fDialog&&(f["!type"]="dialog"),Q.fBelow||((f["!outline"]||(f["!outline"]={})).above=!0),Q.fRight||((f["!outline"]||(f["!outline"]={})).left=!0);break;case 224:A.push(Q);break;case 430:z.push([Q]),z[z.length-1].XTI=[];break;case 35:case 547:z[z.length-1].push(Q);break;case 24:case 536:B={Name:Q.Name,Ref:Pu(Q.rgce,m,null,z,D)},Q.itab>0&&(B.Sheet=Q.itab-1),z.names.push(B),z[0]||(z[0]=[],z[0].XTI=[]),z[z.length-1].push(Q),"_xlnm._FilterDatabase"==Q.Name&&Q.itab>0&&Q.rgce&&Q.rgce[0]&&Q.rgce[0][0]&&"PtgArea3d"==Q.rgce[0][0][0]&&(W[Q.itab-1]={ref:gr(Q.rgce[0][0][1][2])});break;case 22:D.ExternCount=Q;break;case 23:0==z.length&&(z[0]=[],z[0].XTI=[]),z[z.length-1].XTI=z[z.length-1].XTI.concat(Q),z.XTI=z.XTI.concat(Q);break;case 2196:if(D.biff<8)break;null!=B&&(B.Comment=Q[1]);break;case 18:f["!protect"]=Q;break;case 19:0!==Q&&D.WTF&&console.error("Password verifier: "+Q);break;case 133:p[Q.pos]=Q,D.snames.push(Q.name);break;case 10:if(--H)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,f["!ref"]=gr(m),t.sheetRows&&t.sheetRows<=m.e.r){var $=m.e.r;m.e.r=t.sheetRows-1,f["!fullref"]=f["!ref"],f["!ref"]=gr(m),m.e.r=$}m.e.r++,m.e.c++}L.length>0&&(f["!merges"]=L),P.length>0&&(f["!objects"]=P),I.length>0&&(f["!cols"]=I),R.length>0&&(f["!rows"]=R),S.Sheets.push(E)}""===b?y=f:r[b]=f,f=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===D.biff&&(D.biff={9:2,521:3,1033:4}[Y]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[Q.BIFFVer]||8),D.biffguess=0==Q.BIFFVer,0==Q.BIFFVer&&4096==Q.dt&&(D.biff=5,G=!0,h(D.codepage=28591)),8==D.biff&&0==Q.BIFFVer&&16==Q.dt&&(D.biff=2),H++)break;if(f=t.dense?[]:{},D.biff<8&&!G&&(G=!0,h(D.codepage=t.codepage||1252)),D.biff<5||0==Q.BIFFVer&&4096==Q.dt){""===b&&(b="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var ee={pos:e.l-K,name:b};p[ee.pos]=ee,D.snames.push(b)}else b=(p[V]||{name:""}).name;32==Q.dt&&(f["!type"]="chart"),64==Q.dt&&(f["!type"]="macro"),L=[],P=[],D.arrayf=C=[],I=[],R=[],F=!1,E={Hidden:(p[V]||{hs:0}).hs,name:b};break;case 515:case 3:case 2:"chart"==f["!type"]&&(t.dense?(f[Q.r]||[])[Q.c]:f[pr({c:Q.c,r:Q.r})])&&++Q.c,c={ixfe:Q.ixfe,XF:A[Q.ixfe]||{},v:Q.val,t:"n"},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t);break;case 5:case 517:c={ixfe:Q.ixfe,XF:A[Q.ixfe],v:Q.val,t:Q.t},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t);break;case 638:c={ixfe:Q.ixfe,XF:A[Q.ixfe],v:Q.rknum,t:"n"},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t);break;case 189:for(var te=Q.c;te<=Q.C;++te){var ne=Q.rkrec[te-Q.c][0];c={ixfe:ne,XF:A[ne],v:Q.rkrec[te-Q.c][1],t:"n"},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:te,r:Q.r},c,t)}break;case 6:case 518:case 1030:if("String"==Q.val){g=Q;break}if(c=Qd(Q.val,Q.cell.ixfe,Q.tt),c.XF=A[c.ixfe],t.cellFormula){var re=Q.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=pr({r:ie,c:oe});k[ae]?c.f=""+Pu(Q.formula,m,Q.cell,z,D):c.F=((t.dense?(f[ie]||[])[oe]:f[ae])||{}).F}else c.f=""+Pu(Q.formula,m,Q.cell,z,D)}U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N(Q.cell,c,t),g=Q;break;case 7:case 519:if(!g)throw new Error("String record expects Formula");g.val=Q,c=Qd(Q,g.cell.ixfe,"s"),c.XF=A[c.ixfe],t.cellFormula&&(c.f=""+Pu(g.formula,m,g.cell,z,D)),U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N(g.cell,c,t),g=null;break;case 33:case 545:C.push(Q);var se=pr(Q[0].s);if(o=t.dense?(f[Q[0].s.r]||[])[Q[0].s.c]:f[se],t.cellFormula&&o){if(!g)break;if(!se||!o)break;o.f=""+Pu(Q[1],m,Q[0],z,D),o.F=gr(Q[0])}break;case 1212:if(!t.cellFormula)break;if(x){if(!g)break;k[pr(g.cell)]=Q[0],o=t.dense?(f[g.cell.r]||[])[g.cell.c]:f[pr(g.cell)],(o||{}).f=""+Pu(Q[0],m,i,z,D)}break;case 253:c=Qd(v[Q.isst].t,Q.ixfe,"s"),v[Q.isst].h&&(c.h=v[Q.isst].h),c.XF=A[c.ixfe],U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t);break;case 513:t.sheetStubs&&(c={ixfe:Q.ixfe,XF:A[Q.ixfe],t:"z"},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t));break;case 190:if(t.sheetStubs)for(var le=Q.c;le<=Q.C;++le){var ce=Q.ixfe[le-Q.c];c={ixfe:ce,XF:A[ce],t:"z"},U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:le,r:Q.r},c,t)}break;case 214:case 516:case 4:c=Qd(Q.val,Q.ixfe,"s"),c.XF=A[c.ixfe],U>0&&(c.z=q[c.ixfe>>8&63]),Jd(c,t,n.opts.Date1904),N({c:Q.c,r:Q.r},c,t);break;case 0:case 512:1===H&&(m=Q);break;case 252:v=Q;break;case 1054:if(4==D.biff){q[U++]=Q[1];for(var ue=0;ue=163&&qe(Q[1],U+163)}else qe(Q[1],Q[0]);break;case 30:q[U++]=Q;for(var he=0;he=163&&qe(Q,U+163);break;case 229:L=L.concat(Q);break;case 93:P[Q.cmo[0]]=D.lastobj=Q;break;case 438:D.lastobj.TxO=Q;break;case 127:D.lastobj.ImData=Q;break;case 440:for(l=Q[0].s.r;l<=Q[0].e.r;++l)for(s=Q[0].s.c;s<=Q[0].e.c;++s)o=t.dense?(f[l]||[])[s]:f[pr({c:s,r:l})],o&&(o.l=Q[1]);break;case 2048:for(l=Q[0].s.r;l<=Q[0].e.r;++l)for(s=Q[0].s.c;s<=Q[0].e.c;++s)o=t.dense?(f[l]||[])[s]:f[pr({c:s,r:l})],o&&o.l&&(o.l.Tooltip=Q[1]);break;case 28:if(D.biff<=5&&D.biff>=2)break;o=t.dense?(f[Q[0].r]||[])[Q[0].c]:f[pr(Q[0])];var de=P[Q[2]];o||(t.dense?(f[Q[0].r]||(f[Q[0].r]=[]),o=f[Q[0].r][Q[0].c]={t:"z"}):o=f[pr(Q[0])]={t:"z"},m.e.r=Math.max(m.e.r,Q[0].r),m.s.r=Math.min(m.s.r,Q[0].r),m.e.c=Math.max(m.e.c,Q[0].c),m.s.c=Math.min(m.s.c,Q[0].c)),o.c||(o.c=[]),a={a:Q[1],t:de.TxO.t},o.c.push(a);break;case 2173:El(A[Q.ixfe],Q.ext);break;case 125:if(!D.cellStyles)break;while(Q.e>=Q.s)I[Q.e--]={width:Q.w/256,level:Q.level||0,hidden:!!(1&Q.flags)},F||(F=!0,qs(Q.w/256)),Ws(I[Q.e+1]);break;case 520:var fe={};null!=Q.level&&(R[Q.r]=fe,fe.level=Q.level),Q.hidden&&(R[Q.r]=fe,fe.hidden=!0),Q.hpt&&(R[Q.r]=fe,fe.hpt=Q.hpt,fe.hpx=Ks(Q.hpt));break;case 38:case 39:case 40:case 41:f["!margins"]||_u(f["!margins"]={}),f["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[Y]]=Q;break;case 161:f["!margins"]||_u(f["!margins"]={}),f["!margins"].header=Q.header,f["!margins"].footer=Q.footer;break;case 574:Q.RTL&&(S.Views[0].RTL=!0);break;case 146:T=Q;break;case 2198:d=Q;break;case 140:u=Q;break;case 442:b?E.CodeName=Q||E.name:S.WBProps.CodeName=Q||"ThisWorkbook";break}}else X||console.error("Missing Info for XLS Record 0x"+Y.toString(16)),e.l+=K}return n.SheetNames=_e(p).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return p[e].name})),t.bookSheets||(n.Sheets=r),!n.SheetNames.length&&y["!ref"]?(n.SheetNames.push("Sheet1"),n.Sheets&&(n.Sheets["Sheet1"]=y)):n.Preamble=y,n.Sheets&&W.forEach((function(e,t){n.Sheets[n.SheetNames[t]]["!autofilter"]=e})),n.Strings=v,n.SSF=dt(Z),D.enc&&(n.Encryption=D.enc),d&&(n.Themes=d),n.Metadata={},void 0!==u&&(n.Metadata.Country=u),z.names.length>0&&(S.Names=z.names),n.Workbook=S,n}var $d={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function ef(e,t,n){var r=Xe.find(e,"/!DocumentSummaryInformation");if(r&&r.size>0)try{var i=Vi(r,ni,$d.DSI);for(var o in i)t[o]=i[o]}catch(c){if(n.WTF)throw c}var a=Xe.find(e,"/!SummaryInformation");if(a&&a.size>0)try{var s=Vi(a,ri,$d.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 tf(e,t){var n,r,i,o;if(t||(t={}),Zf(t),d(),t.codepage&&c(t.codepage),e.FullPaths){if(Xe.find(e,"/encryption"))throw new Error("File is password-protected");n=Xe.find(e,"!CompObj"),r=Xe.find(e,"/Workbook")||Xe.find(e,"/Book")}else{switch(t.type){case"base64":e=O(A(e));break;case"binary":e=O(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}Xn(e,0),r={content:e}}if(n&&Kd(n),t.bookProps&&!t.bookSheets)i={};else{var a=T?"buffer":"array";if(r&&r.content)i=_d(r.content,t);else if((o=Xe.find(e,"PerfectOffice_MAIN"))&&o.content)i=Va.to_workbook(o.content,(t.type=a,t));else{if(!(o=Xe.find(e,"NativeContent_MAIN"))||!o.content)throw(o=Xe.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&&Xe.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=Kl(e))}var s={};return e.FullPaths&&ef(e,s,t),i.Props=i.Custprops=s,t.bookFiles&&(i.cfb=e),i}var nf={0:{f:xh},1:{f:Th},2:{f:Rh},3:{f:Oh},4:{f:Eh},5:{f:Ph},6:{f:Bh},7:{f:Dh},8:{f:Wh},9:{f:qh},10:{f:Hh},11:{f:Uh},12:{f:Sh},13:{f:Fh},14:{f:Nh},15:{f:Mh},16:{f:Ih},17:{f:jh},18:{f:Lh},19:{f:Sr},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:wd},40:{},42:{},43:{f:il},44:{f:rl},45:{f:ol},46:{f:sl},47:{f:al},48:{},49:{f:Cr},50:{},51:{f:Ol},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Ta},62:{f:zh},63:{f:Il},64:{f:_h},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Jn,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Qh},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:Ah},148:{f:kh,p:16},151:{f:Yh},152:{},153:{f:bd},154:{},155:{},156:{f:vd},157:{},158:{},159:{T:1,f:rs},160:{T:-1},161:{T:1,f:Fr},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:Gh},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:Ml},336:{T:-1},337:{f:Nl,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:Pr},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:Zh},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:Jh},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:Pr},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:Gl},633:{T:1},634:{T:-1},635:{T:1,f:Wl},636:{T:-1},637:{f:Er},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:id},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:$h},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:""}},rf={6:{f:ju},10:{f:Yi},12:{f:Xi},13:{f:Xi},14:{f:Zi},15:{f:Zi},16:{f:zr},17:{f:Zi},18:{f:Zi},19:{f:Xi},20:{f:ta},21:{f:ta},23:{f:aa},24:{f:oa},25:{f:Zi},26:{},27:{},28:{f:fa},29:{},34:{f:Zi},35:{f:ra},38:{f:zr},39:{f:zr},40:{f:zr},41:{f:zr},42:{f:Zi},43:{f:Zi},47:{f:Es},49:{f:Uo},51:{f:Xi},60:{},61:{f:Bo},64:{f:Zi},65:{f:Ho},66:{f:Xi},77:{},80:{},81:{},82:{},85:{f:Xi},89:{},90:{},91:{},92:{f:Oo},93:{f:ma},94:{},95:{f:Zi},96:{},97:{},99:{f:Zi},125:{f:Ta},128:{f:_o},129:{f:No},130:{f:Xi},131:{f:Zi},132:{f:Zi},133:{f:Do},134:{},140:{f:xa},141:{f:Xi},144:{},146:{f:Ca},151:{},152:{},153:{},154:{},155:{},156:{f:Xi},157:{},158:{},160:{f:Oa},161:{f:Sa},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:Zo},190:{f:Xo},193:{f:Yi},197:{},198:{},199:{},200:{},201:{},202:{f:Zi},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Xi},220:{},221:{f:Zi},222:{},224:{f:Qo},225:{f:Mo},226:{f:Yi},227:{},229:{f:pa},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:Lo},253:{f:qo},255:{f:Po},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Ji},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Zi},353:{f:Yi},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:na},431:{f:Zi},432:{},433:{},434:{},437:{},438:{f:ba},439:{f:Zi},440:{f:ya},441:{},442:{f:to},443:{},444:{f:Xi},445:{},446:{},448:{f:Yi},449:{f:Fo,r:2},450:{f:Yi},512:{f:Yo},513:{f:Ma},515:{f:ea},516:{f:Wo},517:{f:$o},519:{f:Na},520:{f:Io},523:{},545:{f:ua},549:{f:zo},566:{},574:{f:jo},638:{f:Ko},659:{},1048:{},1054:{f:Go},1084:{},1212:{f:ca},2048:{f:wa},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Eo},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:Yi},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:Aa,r:12},2173:{f:Sl,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Zi,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:la,r:12},2197:{},2198:{f:wl,r:12},2199:{},2200:{},2201:{},2202:{f:ha,r:12},2203:{f:Yi},2204:{},2205:{},2206:{},2207:{},2211:{f:Ro},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:Xi},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:Ea},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:ka},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Yo},1:{},2:{f:Ia},3:{f:Pa},4:{f:La},5:{f:$o},7:{f:Ra},8:{},9:{f:Eo},11:{},22:{f:Xi},30:{f:Vo},31:{},32:{},33:{f:ua},36:{},37:{f:zo},50:{f:Fa},62:{},52:{},67:{},68:{f:Xi},69:{},86:{},126:{},127:{f:Da},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:za},223:{},234:{},354:{},421:{},518:{f:ju},521:{f:Eo},536:{f:oa},547:{f:ra},561:{},579:{},1030:{f:ju},1033:{f:Eo},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function of(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&&Rn(n)&&e.push(n)}}function af(e,t){var n=t||{};null!=w&&null==n.dense&&(n.dense=w);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=vt(e.slice(a,s),/(:?]*>)/i,""),c=-1,u=0,h=0,d=0,f={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(a=0;a/i);for(s=0;s"))>-1)y=y.slice(x+1);for(var k=0;k")));d=A.colspan?+A.colspan:1,((h=+A.rowspan)>1||d>1)&&p.push({s:{r:c,c:u},e:{r:c+(h||1)-1,c:u+d-1}});var T=A.t||A["data-t"]||"";if(y.length)if(y=en(y),f.s.r>c&&(f.s.r=c),f.e.ru&&(f.s.c=u),f.e.cn||i[c].s.c>a)&&!(i[c].e.r1&&(f.rowspan=s),l>1&&(f.colspan=l),r.editable?d=''+d+"":h&&(f["data-t"]=h&&h.t||"z",null!=h.v&&(f["data-v"]=h.v),null!=h.z&&(f["data-z"]=h.z),h.l&&"#"!=(h.l.Target||"#").charAt(0)&&(d=''+d+"")),f.id=(r.id||"sjs")+"-"+u,o.push(ln("td",d,f))}}var p="";return p+o.join("")+""}var lf='SheetJS Table Export',cf="";function uf(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 wr(af(n[0],t),t);var r=xp();return n.forEach((function(e,n){kp(r,af(e,t),"Sheet"+(n+1))})),r}function hf(e,t,n){var r=[];return r.join("")+""}function df(e,t){var n=t||{},r=null!=n.header?n.header:lf,i=null!=n.footer?n.footer:cf,o=[r],a=mr(e["!ref"]);n.dense=Array.isArray(e),o.push(hf(e,a,n));for(var s=a.s.r;s<=a.e.r;++s)o.push(sf(e,a,s,n));return o.push("
"+i),o.join("")}function ff(e,t,n){var r=n||{};null!=w&&(r.dense=w);var i=0,o=0;if(null!=r.origin)if("number"==typeof r.origin)i=r.origin;else{var a="string"==typeof r.origin?fr(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=mr(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=[],d=0,f=e["!rows"]||(e["!rows"]=[]),p=0,m=0,g=0,v=0,b=0,y=0;for(e["!cols"]||(e["!cols"]=[]);p1||y>1)&&h.push({s:{r:m+i,c:v+o},e:{r:m+i+(b||1)-1,c:v+o+(y||1)-1}});var E={t:"s",v:A},M=C.getAttribute("data-t")||C.getAttribute("t")||"";null!=A&&(0==A.length?E.t=M||"z":r.raw||0==A.trim().length||"s"==M||("TRUE"===A?E={t:"b",v:!0}:"FALSE"===A?E={t:"b",v:!1}:isNaN(pt(A))?isNaN(gt(A).getDate())||(E={t:"d",v:ut(A)},r.cellDates||(E={t:"n",v:tt(E.v)}),E.z=r.dateNF||Z[14]):E={t:"n",v:pt(A)})),void 0===E.z&&null!=T&&(E.z=T);var O="",N=C.getElementsByTagName("A");if(N&&N.length)for(var D=0;D=l&&(e["!fullref"]=gr((c.e.r=s.length-p+m-1+i,c))),e}function pf(e,t){var n=t||{},r=n.dense?[]:{};return ff(r,e,t)}function mf(e,t){return wr(pf(e,t),t)}function gf(e){var t="",n=vf(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}function vf(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}function bf(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=Ut(t.replace(/<[^>]*>/g,""));return[n]}var yf={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 wf(e,t){var n=t||{};null!=w&&null==n.dense&&(n.dense=w);var r,i,o,a,s,l,c,u=cn(e),h=[],d={name:""},f="",p=0,m={},g=[],v=n.dense?[]:{},b={value:""},y="",x=0,k=[],C=-1,A=-1,T={s:{r:1e6,c:1e7},e:{r:0,c:0}},S=0,E={},M=[],O={},N=0,D=0,L=[],P=1,I=1,R=[],F={Names:[]},z={},B=["",""],j=[],H={},U="",q=0,W=!1,G=!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]?(T.e.c>=T.s.c&&T.e.r>=T.s.r?v["!ref"]=gr(T):v["!ref"]="A1:A1",n.sheetRows>0&&n.sheetRows<=T.e.r&&(v["!fullref"]=v["!ref"],T.e.r=n.sheetRows-1,v["!ref"]=gr(T)),M.length&&(v["!merges"]=M),L.length&&(v["!rows"]=L),o.name=o["名称"]||o.name,"undefined"!==typeof JSON&&JSON.stringify(o),g.push(o.name),m[o.name]=v,G=!1):"/"!==s[0].charAt(s[0].length-2)&&(o=zt(s[0],!1),C=A=-1,T.s.r=T.s.c=1e7,T.e.r=T.e.c=0,v=n.dense?[]:{},M=[],L=[],G=!0);break;case"table-row-group":"/"===s[1]?--S:++S;break;case"table-row":case"行":if("/"===s[1]){C+=P,P=1;break}if(a=zt(s[0],!1),a["行号"]?C=a["行号"]-1:-1==C&&(C=0),P=+a["number-rows-repeated"]||1,P<10)for(V=0;V0&&(L[C+V]={level:S});A=-1;break;case"covered-table-cell":"/"!==s[1]&&++A,n.sheetStubs&&(n.dense?(v[C]||(v[C]=[]),v[C][A]={t:"z"}):v[pr({r:C,c:A})]={t:"z"}),y="",k=[];break;case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++A,b=zt(s[0],!1),I=parseInt(b["number-columns-repeated"]||"1",10),l={t:"z",v:null},b.formula&&0!=n.cellFormula&&(l.f=Zu(Ut(b.formula))),"string"==(b["数据类型"]||b["value-type"])&&(l.t="s",l.v=Ut(b["string-value"]||""),n.dense?(v[C]||(v[C]=[]),v[C][A]=l):v[pr({r:C,c:A})]=l),A+=I-1;else if("/"!==s[1]){++A,y="",x=0,k=[],I=1;var Y=P?C+P-1:C;if(A>T.e.c&&(T.e.c=A),AT.e.r&&(T.e.r=Y),b=zt(s[0],!1),j=[],H={},l={t:b["数据类型"]||b["value-type"],v:null},n.cellFormula)if(b.formula&&(b.formula=Ut(b.formula)),b["number-matrix-columns-spanned"]&&b["number-matrix-rows-spanned"]&&(N=parseInt(b["number-matrix-rows-spanned"],10)||0,D=parseInt(b["number-matrix-columns-spanned"],10)||0,O={s:{r:C,c:A},e:{r:C+N-1,c:A+D-1}},l.F=gr(O),R.push([O,l.F])),b.formula)l.f=Zu(b.formula);else for(V=0;V=R[V][0].s.r&&C<=R[V][0].e.r&&A>=R[V][0].s.c&&A<=R[V][0].e.c&&(l.F=R[V][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&(N=parseInt(b["number-rows-spanned"],10)||0,D=parseInt(b["number-columns-spanned"],10)||0,O={s:{r:C,c:A},e:{r:C+N-1,c:A+D-1}},M.push(O)),b["number-columns-repeated"]&&(I=parseInt(b["number-columns-repeated"],10)),l.t){case"boolean":l.t="b",l.v=Yt(b["boolean-value"]);break;case"float":l.t="n",l.v=parseFloat(b.value);break;case"percentage":l.t="n",l.v=parseFloat(b.value);break;case"currency":l.t="n",l.v=parseFloat(b.value);break;case"date":l.t="d",l.v=ut(b["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(b["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(b["数据数值"]);break;default:if("string"!==l.t&&"text"!==l.t&&l.t)throw new Error("Unsupported value type "+l.t);l.t="s",null!=b["string-value"]&&(y=Ut(b["string-value"]),k=[])}}else{if(W=!1,"s"===l.t&&(l.v=y||"",k.length&&(l.R=k),W=0==x),z.Target&&(l.l=z),j.length>0&&(l.c=j,j=[]),y&&!1!==n.cellText&&(l.w=y),W&&(l.t="z",delete l.v),(!W||n.sheetStubs)&&!(n.sheetRows&&n.sheetRows<=C))for(var K=0;K0)v[C+K][A+I]=dt(l)}else{v[pr({r:C+K,c:A})]=l;while(--I>0)v[pr({r:C+K,c:A+I})]=dt(l)}T.e.c<=A&&(T.e.c=A)}I=parseInt(b["number-columns-repeated"]||"1",10),A+=I-1,I=0,l={},y="",k=[]}z={};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;H.t=y,k.length&&(H.R=k),H.a=U,j.push(H)}else"/"!==s[0].charAt(s[0].length-2)&&h.push([s[3],!1]);U="",q=0,y="",x=0,k=[];break;case"creator":"/"===s[1]?U=u.slice(q,s.index):q=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]);y="",x=0,k=[];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(E[d.name]=f,(r=h.pop())[0]!==s[3])throw"Bad state: "+r}else"/"!==s[0].charAt(s[0].length-2)&&(f="",d=zt(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=zt(s[0],!1),f+=yf[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=zt(s[0],!1),f+=yf[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":f+=u.slice(p,s.index);break}else p=s.index+s[0].length;break;case"named-range":i=zt(s[0],!1),B=Xu(i["cell-range-address"]);var Z={Name:i.name,Ref:B[0]+"!"+B[1]};G&&(Z.Sheet=g.length),F.Names.push(Z);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]||b&&b["string-value"])c=zt(s[0],!1),x=s.index+s[0].length;else{var X=bf(u.slice(x,s.index),c);y=(y.length>0?y+"\n":"")+X[0]}break;case"s":break;case"database-range":if("/"===s[1])break;try{B=Xu(zt(s[0])["target-range-address"]),m[B[0]]["!autofilter"]={ref:B[1]}}catch(Q){}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(z=zt(s[0],!1),!z.href)break;z.Target=Ut(z.href),delete z.href,"#"==z.Target.charAt(0)&&z.Target.indexOf(".")>-1?(B=Xu(z.Target.slice(1)),z.Target="#"+B[0]+"!"+B[1]):z.Target.match(/^\.\.[\\\/]/)&&(z.Target=z.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 J={Sheets:m,SheetNames:g,Workbook:F};return n.bookSheets&&delete J.Sheets,J}function xf(e,t){t=t||{},xt(e,"META-INF/manifest.xml")&&bi(Ct(e,"META-INF/manifest.xml"),t);var n=At(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var r=wf(Qt(n),t);return xt(e,"meta.xml")&&(r.Props=xi(Ct(e,"meta.xml"))),r}function kf(e,t){return wf(e,t)} /*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */ function Cf(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Af(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Qt(N(e))}function Tf(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 Sf(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),16843009*(e+(e>>4)&252645135)>>>24}function Ef(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 Mf(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 Of(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 Nf(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=Mf(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 Df(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function Lf(e){var t,n=[],r=[0];while(r[0]>>0>0),n.push(a)}return n}function Pf(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));var n=[0],r=Mf(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=[Tf(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=Tf(i);if(u.length!=r)throw new Error("Unexpected length: ".concat(u.length," != ").concat(r));return u}function If(e){var t=[],n=0;while(n1?12:8)+4*Sf(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*Sf(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 Ff(e,t,n){var r,i=Cf(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=Ef(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 zf(e,t,n){switch(e[0]){case 0:case 1:case 2:case 3:return Rf(e,t,n,e[0]);case 5:return Ff(e,t,n);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Bf(e){var t=Nf(e);return Mf(t[1][0].data)}function jf(e,t){var n=Nf(t.data),r=Of(n[1][0].data),i=n[3],o=[];return(i||[]).forEach((function(t){var n=Nf(t.data),i=Of(n[1][0].data)>>>0;switch(r){case 1:o[i]=Af(n[3][0].data);break;case 8:var a=e[Bf(n[9][0].data)][0],s=Nf(a.data),l=e[Bf(s[1][0].data)][0],c=Of(l.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var u=Nf(l.data);o[i]=u[3].map((function(e){return Af(e.data)})).join("");break}})),o}function Hf(e,t){var n,r,i,o,a,s,l,c,u,h,d,f,p,m,g,v,b=Nf(e),y=Of(b[1][0].data)>>>0,w=Of(b[2][0].data)>>>0,x=(null==(r=null==(n=b[8])?void 0:n[0])?void 0:r.data)&&Of(b[8][0].data)>0||!1;if((null==(o=null==(i=b[7])?void 0:i[0])?void 0:o.data)&&0!=t)g=null==(s=null==(a=b[7])?void 0:a[0])?void 0:s.data,v=null==(c=null==(l=b[6])?void 0:l[0])?void 0:c.data;else{if(!(null==(h=null==(u=b[4])?void 0:u[0])?void 0:h.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");g=null==(f=null==(d=b[4])?void 0:d[0])?void 0:f.data,v=null==(m=null==(p=b[3])?void 0:p[0])?void 0:m.data}for(var k=x?4:1,C=Cf(g),A=[],T=0;T=1&&(E[A[A.length-1][0]]=v.subarray(A[A.length-1][1]*k)),{R:y,cells:E}}function Uf(e,t){var n,r=Nf(t.data),i=(null==(n=null==r?void 0:r[7])?void 0:n[0])?Of(r[7][0].data)>>>0>0?1:0:-1,o=Df(r[5],(function(e){return Hf(e,i)}));return{nrows:Of(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 qf(e,t,n){var r,i=Nf(t.data),o={s:{r:0,c:0},e:{r:0,c:0}};if(o.e.r=(Of(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=(Of(i[7][0].data)>>>0)-1,o.e.c<0)throw new Error("Invalid col varint ".concat(i[7][0].data));n["!ref"]=gr(o);var a=Nf(i[4][0].data),s=jf(e,e[Bf(a[4][0].data)][0]),l=(null==(r=a[17])?void 0:r[0])?jf(e,e[Bf(a[17][0].data)][0]):[],c=Nf(a[3][0].data),u=0;c[1].forEach((function(t){var r=Nf(t.data),i=e[Bf(r[2][0].data)][0],o=Of(i.meta[1][0].data);if(6002!=o)throw new Error("6001 unexpected reference to ".concat(o));var a=Uf(e,i);a.data.forEach((function(e,t){e.forEach((function(e,r){var i=pr({r:u+t,c:r}),o=zf(e,s,l);o&&(n[i]=o)}))})),u+=a.nrows}))}function Wf(e,t){var n=Nf(t.data),r={"!ref":"A1"},i=e[Bf(n[2][0].data)],o=Of(i[0].meta[1][0].data);if(6001!=o)throw new Error("6000 unexpected reference to ".concat(o));return qf(e,i[0],r),r}function Gf(e,t){var n,r=Nf(t.data),i={name:(null==(n=r[1])?void 0:n[0])?Af(r[1][0].data):"",sheets:[]},o=Df(r[2],Bf);return o.forEach((function(t){e[t].forEach((function(t){var n=Of(t.meta[1][0].data);6e3==n&&i.sheets.push(Wf(e,t))}))})),i}function Vf(e,t){var n=xp(),r=Nf(t.data),i=Df(r[1],Bf);if(i.forEach((function(t){e[t].forEach((function(t){var r=Of(t.meta[1][0].data);if(2==r){var i=Gf(e,t);i.sheets.forEach((function(e,t){kp(n,e,0==t?i.name:i.name+"_"+t,!0)}))}}))})),0==n.SheetNames.length)throw new Error("Empty NUMBERS file");return n}function Yf(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=If(e.content)}catch(r){return console.log("?? "+e.content.length+" "+(r.message||r))}try{n=Lf(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==Of(o[1][0].meta[1][0].data)&&o[1][0];if(s||a.forEach((function(e){o[e].forEach((function(e){var t=Of(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 Vf(o,s)}function Kf(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 Zf(e){Kf([["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 Xf(e){return pi.WS.indexOf(e)>-1?"sheet":pi.CS&&e==pi.CS?"chart":pi.DS&&e==pi.DS?"dialog":pi.MS&&e==pi.MS?"macro":e&&e.length?e:"sheet"}function Jf(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,Xf(e["!id"][t.id].Type)]}))}catch(n){return null}return e&&0!==e.length?e:null}function Qf(e,t,n,r,i,o,a,s,l,c,u,h){try{o[r]=gi(At(e,n,!0),t);var d,f=Ct(e,t);switch(s){case"sheet":d=Cd(f,t,i,l,o[r],c,u,h);break;case"chart":if(d=Ad(f,t,i,l,o[r],c,u,h),!d||!d["!drawel"])break;var p=Ot(d["!drawel"].Target,t),m=mi(p),g=Bl(At(e,p,!0),gi(At(e,m,!0),p)),v=Ot(g,p),b=mi(v);d=nd(At(e,v,!0),v,l,gi(At(e,b,!0),v),c,d);break;case"macro":d=Td(f,t,i,l,o[r],c,u,h);break;case"dialog":d=Sd(f,t,i,l,o[r],c,u,h);break;default:throw new Error("Unrecognized sheet type "+s)}a[r]=d;var y=[];o&&o[r]&&_e(o[r]).forEach((function(n){var i="";if(o[r][n].Type==pi.CMNT){i=Ot(o[r][n].Target,t);var a=Nd(Ct(e,i,!0),i,l);if(!a||!a.length)return;jl(d,a,!1)}o[r][n].Type==pi.TCMNT&&(i=Ot(o[r][n].Target,t),y=y.concat(Ul(Ct(e,i,!0),l)))})),y&&y.length&&jl(d,y,!0,l.people||[])}catch(w){if(l.WTF)throw w}}function _f(e){return"/"==e.charAt(0)?e.slice(1):e}function $f(e,t){if(We(),t=t||{},Zf(t),xt(e,"META-INF/manifest.xml"))return xf(e,t);if(xt(e,"objectdata.xml"))return xf(e,t);if(xt(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if("undefined"!=typeof Yf){if(e.FileIndex)return Yf(e);var n=Xe.utils.cfb_new();return St(e).forEach((function(t){Et(n,t,Tt(e,t))})),Yf(n)}throw new Error("Unsupported NUMBERS file")}if(!xt(e,"[Content_Types].xml")){if(xt(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(xt(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var r,i,o=St(e),a=fi(At(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(Ju=[],a.sst)try{Ju=Od(Ct(e,_f(a.sst)),a.sst,t)}catch(N){if(t.WTF)throw N}t.cellStyles&&a.themes.length&&(l=Md(At(e,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],t)),a.style&&(c=Ed(Ct(e,_f(a.style)),a.style,l,t))}a.links.map((function(n){try{var r=gi(At(e,mi(_f(n))),n);return Ld(Ct(e,_f(n)),r,n,t)}catch(N){}}));var u=kd(Ct(e,_f(a.workbooks[0])),a.workbooks[0],t),h={},d="";a.coreprops.length&&(d=Ct(e,_f(a.coreprops[0]),!0),d&&(h=xi(d)),0!==a.extprops.length&&(d=Ct(e,_f(a.extprops[0]),!0),d&&Ai(d,h,t)));var f={};t.bookSheets&&!t.bookProps||0!==a.custprops.length&&(d=At(e,_f(a.custprops[0]),!0),d&&(f=Si(d,t)));var p={};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&&(p.Props=h,p.Custprops=f),t.bookSheets&&"undefined"!==typeof r&&(p.SheetNames=r),t.bookSheets?p.SheetNames:t.bookProps))return p;r={};var m={};t.bookDeps&&a.calcchain&&(m=Dd(Ct(e,_f(a.calcchain)),a.calcchain,t));var g,v,b=0,y={},w=u.Sheets;h.Worksheets=w.length,h.SheetNames=[];for(var x=0;x!=w.length;++x)h.SheetNames[x]=w[x].name;var k=s?"bin":"xml",C=a.workbooks[0].lastIndexOf("/"),A=(a.workbooks[0].slice(0,C+1)+"_rels/"+a.workbooks[0].slice(C+1)+".rels").replace(/^\//,"");xt(e,A)||(A="xl/_rels/workbook."+k+".rels");var T=gi(At(e,A,!0),A.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(t.xlmeta=Pd(Ct(e,_f(a.metadata[0])),a.metadata[0],t)),(a.people||[]).length>=1&&(t.people=ql(Ct(e,_f(a.people[0])),t)),T&&(T=Jf(T,u.Sheets));var S=Ct(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(b=0;b!=h.Worksheets;++b){var E="sheet";if(T&&T[b]?(g="xl/"+T[b][1].replace(/[\/]?xl\//,""),xt(e,g)||(g=T[b][1]),xt(e,g)||(g=A.replace(/_rels\/.*$/,"")+T[b][1]),E=T[b][2]):(g="xl/worksheets/sheet"+(b+1-S)+"."+k,g=g.replace(/sheet0\./,"sheet.")),v=g.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(b!=t.sheets)continue e;break;case"string":if(h.SheetNames[b].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var M=!1,O=0;O!=t.sheets.length;++O)"number"==typeof t.sheets[O]&&t.sheets[O]==b&&(M=1),"string"==typeof t.sheets[O]&&t.sheets[O].toLowerCase()==h.SheetNames[b].toLowerCase()&&(M=1);if(!M)continue e}}Qf(e,g,v,h.SheetNames[b],b,y,r,E,t,u,l,c)}return p={Directory:a,Workbook:u,Props:h,Custprops:f,Deps:m,Sheets:r,SheetNames:h.SheetNames,Strings:Ju,Styles:c,Themes:l,SSF:dt(Z)},t&&t.bookFiles&&(e.files?(p.keys=o,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,n){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[n]})))),t&&t.bookVBA&&(a.vba.length>0?p.vbaraw=Ct(e,_f(a.vba[0]),!0):a.defaults&&a.defaults.bin===Yl&&(p.vbaraw=Ct(e,"xl/vbaProject.bin",!0))),p}function ep(e,t){var n=t||{},r="Workbook",i=Xe.find(e,r);try{if(r="/!DataSpaces/Version",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(ss(i.content),r="/!DataSpaces/DataSpaceMap",i=Xe.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=Xe.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=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);ds(i.content)}catch(l){}if(r="/EncryptionInfo",i=Xe.find(e,r),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var s=ms(i.content);if(r="/EncryptedPackage",i=Xe.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 tp(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=A(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 np(e,t){return Xe.find(e,"EncryptedPackage")?ep(e,t):tf(e,t)}function rp(t,n){var r,i=t,o=n||{};return o.type||(o.type=T&&e.isBuffer(t)?"buffer":"base64"),r=Mt(i,o),$f(r,o)}function ip(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 ja.to_workbook(i,r);case 123:if(92===o[1]&&114===o[2]&&116===o[3])return Ms.to_workbook(i,r);break;case 10:case 13:case 32:return op(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 Ba.indexOf(o[0])>-1&&o[2]<=12&&o[3]<=31?ja.to_workbook(i,r):lp(t,i,r,a)}function up(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,d=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(d,"__rowNum__",{value:n,enumerable:!1})}catch(g){d.__rowNum__=n}else d.__rowNum__=n;if(!a||e[n])for(var f=t.s.c;f<=t.e.c;++f){var p=a?e[n][f]:e[r[f]+l];if(void 0!==p&&void 0!==p.t){var m=p.v;switch(p.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[f]){if(null==m)if("e"==p.t&&null===m)d[o[f]]=null;else if(void 0!==c)d[o[f]]=c;else{if(!u||null!==m)continue;d[o[f]]=null}else d[o[f]]=u&&("n"!==p.t||"n"===p.t&&!1!==s.rawNumbers)?m:yr(p,m,s);null!=m&&(h=!1)}}else{if(void 0===c)continue;null!=o[f]&&(d[o[f]]=c)}}return{row:d,isempty:h}}function hp(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=vr(u);break;case"number":l=vr(e["!ref"]),l.s.r=u;break;default:l=u}r>0&&(i=0);var h=or(l.s.r),d=[],f=[],p=0,m=0,g=Array.isArray(e),v=l.s.r,b=0,y={};g&&!e[v]&&(e[v]=[]);var w=c.skipHidden&&e["!cols"]||[],x=c.skipHidden&&e["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b)if(!(w[b]||{}).hidden)switch(d[b]=cr(b),n=g?e[v][b]:e[d[b]+h],r){case 1:o[b]=b-l.s.c;break;case 2:o[b]=d[b];break;case 3:o[b]=c.header[b-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),s=a=yr(n,null,c),m=y[a]||0,m){do{s=a+"_"+m++}while(y[s]);y[a]=m,y[s]=1}else y[a]=1;o[b]=s}for(v=l.s.r+i;v<=l.e.r;++v)if(!(x[v]||{}).hidden){var k=up(e,l,v,d,r,o,g,c);(!1===k.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(f[p++]=k.row)}return f.length=p,f}var dp=/"/g;function fp(e,t,n,r,i,o,a,s){for(var l=!0,c=[],u="",h=or(n),d=t.s.c;d<=t.e.c;++d)if(r[d]){var f=s.dense?(e[n]||[])[d]:e[r[d]+h];if(null==f)u="";else if(null!=f.v){l=!1,u=""+(s.rawNumbers&&"n"==f.t?f.v:yr(f,null,s));for(var p=0,m=0;p!==u.length;++p)if((m=u.charCodeAt(p))===i||m===o||34===m||s.forceQuotes){u='"'+u.replace(dp,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==f.f||f.F?u="":(l=!1,u="="+f.f,u.indexOf(",")>=0&&(u='"'+u.replace(dp,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(a)}function pp(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var i=vr(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 d=r.skipHidden&&e["!cols"]||[],f=r.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(d[p]||{}).hidden||(h[p]=cr(p));for(var m=0,g=i.s.r;g<=i.e.r;++g)(f[g]||{}).hidden||(u=fp(e,i,g,h,a,l,o,r),null!=u&&(r.strip&&(u=u.replace(c,"")),(u||!1!==r.blankrows)&&n.push((m++?s:"")+u)));return delete r.dense,n.join("")}function mp(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=pp(e,t);if("undefined"==typeof g||"string"==t.type)return n;var r=g.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function gp(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var i,o=vr(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 vp(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?fr(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=vr(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 d=i.header||[],f=0;t.forEach((function(e,t){_e(e).forEach((function(n){-1==(f=d.indexOf(n))&&(d[f=d.length]=n);var c=e[n],u="z",h="",p=pr({c:l+f,r:s+t+o});r=yp(a,p),!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||Z[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[p]=r={t:u,v:c},h&&(r.z=h)):a[p]=c}))})),u.e.c=Math.max(u.e.c,l+d.length-1);var p=or(s);if(o)for(f=0;f=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 xp(){return{SheetNames:[],Sheets:{}}}function kp(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(pd(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 Cp(e,t,n){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var r=wp(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 Ap(e,t){return e.z=t,e}function Tp(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e}function Sp(e,t,n){return Tp(e,"#"+t,n)}function Ep(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})}function Mp(e,t,n,r){for(var i="string"!=typeof t?t:vr(t),o="string"==typeof t?t:gr(t),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var l=yp(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 Op={encode_col:cr,encode_row:or,encode_cell:pr,encode_range:gr,decode_col:lr,decode_row:ir,split_cell:dr,decode_cell:fr,decode_range:mr,format_cell:yr,sheet_add_aoa:xr,sheet_add_json:vp,sheet_add_dom:ff,aoa_to_sheet:kr,json_to_sheet:bp,table_to_sheet:pf,table_to_book:mf,sheet_to_csv:pp,sheet_to_txt:mp,sheet_to_json:hp,sheet_to_html:df,sheet_to_formulae:gp,sheet_to_row_object_array:hp,sheet_get_cell:yp,book_new:xp,book_append_sheet:kp,book_set_sheet_visibility:Cp,cell_set_number_format:Ap,cell_set_hyperlink:Tp,cell_set_internal_link:Sp,cell_add_comment:Ep,sheet_set_array_formula:Mp,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};i.version}).call(this,n("b639").Buffer,n("4362"))},"25cac":function(e,t,n){e.exports=n.p+"img/a-8-DNA.svg"},"25fc":function(e,t,n){},2613:function(e,t,n){e.exports=n.p+"img/ziyuan_5.svg"},"265a":function(e,t,n){e.exports=n.p+"img/bijiben.svg"},"26eb":function(e,t,n){e.exports=n.p+"img/-_17.svg"},2710:function(e,t,n){e.exports=n.p+"img/fanqiejiang.svg"},2783:function(e,t,n){e.exports=n.p+"img/ziyuan_13.svg"},"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.length>>16&65535|0,a=0;while(0!==n){a=n>2e3?2e3:n,n-=a;do{i=i+t[r++]|0,o=o+i|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}e.exports=r},"2d86":function(e,t,n){},"2d8c":function(e,t,n){},"2f97":function(e,t,n){e.exports=n.p+"img/brainImpairedPink.jpg"},"318a":function(e,t,n){e.exports=n.p+"img/jisuan.svg"},"31fc":function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"n",(function(){return i})),n.d(t,"p",(function(){return o})),n.d(t,"o",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"k",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return w})),n.d(t,"l",(function(){return k})),n.d(t,"h",(function(){return C}));var r=function(e){return e.charCodeAt(0)},i=function(e){return e.codePointAt(0)},o=function(e,t){return c(e.toString(16),t,"0").toUpperCase()},a=function(e){return o(e,2)},s=function(e){return String.fromCharCode(e)},l=function(e){return s(parseInt(e,16))},c=function(e,t,n){for(var r="",i=0,o=t-e.length;i=55296&&r<=56319&&e.length>i&&(n=e.charCodeAt(i),n>=56320&&n<=57343&&(o=2)),[e.slice(t,t+o),o]},b=function(e){for(var t=[],n=0,r=e.length;nn&&c(),a+=f,s+=m}}return c(),l},x=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,k=function(e){var t=e.match(x);if(t){var n=t[1],r=t[2],i=void 0===r?"01":r,o=t[3],a=void 0===o?"01":o,s=t[4],l=void 0===s?"00":s,c=t[5],u=void 0===c?"00":c,h=t[6],d=void 0===h?"00":h,f=t[7],p=void 0===f?"Z":f,m=t[8],g=void 0===m?"00":m,v=t[9],b=void 0===v?"00":v,y="Z"===p?"Z":""+p+g+":"+b,w=new Date(n+"-"+i+"-"+a+"T"+l+":"+u+":"+d+y);return w}},C=function(e,t){var n,r,i=0;while(iu)o.f(e,n=i[u++],r[n]);return e}},"3a7c":function(e,t,n){function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===v(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]"===v(e)}function d(e){return"object"===typeof e&&null!==e}function f(e){return"[object Date]"===v(e)}function p(e){return"[object Error]"===v(e)||e instanceof Error}function m(e){return"function"===typeof e}function g(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function v(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=d,t.isDate=f,t.isError=p,t.isFunction=m,t.isPrimitive=g,t.isBuffer=n("b639").Buffer.isBuffer},"3a98":function(e,t,n){"use strict";var r=n("9803")(),i=n("1d76"),o=i("Object.prototype.toString"),a=function(e){return!(r&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},s=function(e){return!!a(e)||null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},l=function(){return a(arguments)}();a.isLegacyArguments=s,e.exports=l?a:s},"3acd":function(e,t,n){e.exports=n.p+"img/fanwendengji.svg"},"3b2d":function(e,t,n){},"3b50":function(e,t,n){e.exports=n.p+"img/jiandan.svg"},"3bbe":function(e,t,n){"use strict";var r=n("1787"),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},"3bd3":function(e,t,n){e.exports=n.p+"img/jiaoxuelou.svg"},"3c2a":function(e,t,n){e.exports=n.p+"img/fishbone.png"},"3c92":function(e,t,n){},"3cc4":function(e,t,n){e.exports=n.p+"img/courseGreen.jpg"},"3d18":function(e,t,n){e.exports=n.p+"img/jiangbei.svg"},"3ec8":function(e,t,n){e.exports=n.p+"img/a-19guaizhang.svg"},"3f29":function(e,t,n){"use strict";var r,i=n("16e6"),o=n("a2bb"),a=n("0a93"),s=n("8c34"),l=n("202b"),c=n("bbd5"),u=n("72e6"),h=Function,d=function(e){try{return h('"use strict"; return ('+e+").constructor;")()}catch(t){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(F){f=null}var p=function(){throw new c},m=f?function(){try{return p}catch(e){try{return f(arguments,"callee").get}catch(t){return p}}}():p,g=n("ddbb")(),v=n("1806")(),b=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),y={},w="undefined"!==typeof Uint8Array&&b?b(Uint8Array):r,x={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&b?b([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":y,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&b?b(b([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&g&&b?b((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&g&&b?b((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&b?b(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(b)try{null.error}catch(F){var k=b(b(F));x["%Error.prototype%"]=k}var C=function e(t){var n;if("%AsyncFunction%"===t)n=d("async function () {}");else if("%GeneratorFunction%"===t)n=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=d("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&b&&(n=b(i.prototype))}return x[t]=n,n},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},T=n("06c3"),S=n("f250"),E=T.call(Function.call,Array.prototype.concat),M=T.call(Function.apply,Array.prototype.splice),O=T.call(Function.call,String.prototype.replace),N=T.call(Function.call,String.prototype.slice),D=T.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,I=function(e){var t=N(e,0,1),n=N(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return O(e,L,(function(e,t,n,i){r[r.length]=n?O(i,P,"$1"):t||e})),r},R=function(e,t){var n,r=e;if(S(A,r)&&(n=A[r],r="%"+n[0]+"%"),S(x,r)){var i=x[r];if(i===y&&(i=C(r)),"undefined"===typeof i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===D(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=I(e),r=n.length>0?n[0]:"",i=R("%"+r+"%",t),o=i.name,a=i.value,s=!1,u=i.alias;u&&(r=u[0],M(n,E([0,1],u)));for(var h=1,d=!0;h=n.length){var v=f(a,p);d=!!v,a=d&&"get"in v&&!("originalValue"in v.get)?v.get:a[p]}else d=S(a,p),a=a[p];d&&!s&&(x[o]=a)}}return a}},"3f8c":function(e,t,n){"use strict";e.exports={}},"3fb5":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},"401c":function(e){e.exports=JSON.parse('"eJyFWdtSGzkQ/RXXPO1WmZSBEAJvjnESb8AmGENCKg+ypj3Wohk5ugAmlX9fzUCyW6s+ysuUfVqXvh61Zr4XI1PX1PjiuLg6C05U1Ns/Ojx42TsYHB4eFf3irWn8VNQUB4xMsIpsCwatU1DUSm8T+JpUtW7XP6NShToiEy+0ksOm0nHkIP53b9UDlefKy3Vx7G2gfjFaCyukJzundu74wVNTUnlhatE8a/XmjXkojr/s7O33d/YOBv3D3YP+68HB136xiEOtVg2dG6e8Mk1xvLM7GPxHcLlW8rYh54rjOLO4Iuu6YcVgsP9iMBjELabGK/lkymZrWxt6f8g/e7tHr4/68Xk06J673XOve+53z8PesDRL6s23zlPtepNGGrsxVngqX/R6Q617F+1qrndBjuxdRONu4ziqVE01l2vqHNgtMveiKYUtf0rjwJHYvH/26MGrvX7x6ee/l3uv+sXQydZPtjh+tXfUL07o1/+d3YPDfjH35fvrOHO3+3n1/LN19hl5q2T0x5fvxfWnOL/11zQq4jYiuuFH/38wPUgt6hT/Fkw0dKlTSRPqZevnqkllpdFa2BTfkJVtdiYCUUeRi94BGnQBY9YTlhpNKyQC04RrV3S3zCwdXIrKWFQihdfbzZoY66MpyjCWOC3cOoUfyZoUNQ0TJX/PjPRrS8zYVSxZBlV3zFinHhiQ7jjriPdpoziFpdGGWcNRrYBIt1WcbvotCCYHK0uxDhkzvwVyHVOksWd0H6bQmxQapdBJCo1T6G0KvUuh9yk0SaG/UuhDCp2m0FkKTVNolkLnKfQxhS5SaJ5Clym0SKGrFLpOoU8p9DmFblJoGU+iW/I8bSyjDNTp8zzIKVIpqawMDIuGlrRdPDiYEun4jVeG4ZwlU2MM/zIVxHABU1AMy6WQSqG/U4ihV6aEGW8xVcvQ3oZxZQox3MDQC+P7kEJ3KXSfQgyTbhnS5/MLJMKSO0y78bls9EqX8KgvzT3jZ/50bo9L3fYraQq1XR3Ls1vu7FhpYxV7HoBVZLDxGJeMA7uycarrOmHXwnuzCipKagMooBV3C/9GDFy/YqpjxSR+bORYmilFVXFH2hPOtmJPDUcbO7LE1H7shURlxYYjtdj6E2PFv+5dCpfxcF4KXPQrAEBOWquNU0yhRkv92gTUKT4d+nxqRwdwrY+QwXONS8fkK01MOYO6qoW0XA4vLXEbl8YLyddbGa9axNpv2SqU8SoWG26Gu0NTCRtqLQKzjalik8mwtBSsHVTzCTtkWh5jy1Xs8fim8BQcsDOE8xvUkeSCZncQvL/b3pKpTg32NQhnVo+lGa+yMeWZoE1wPAmknwBJE/IRJRC6z1iDUt0pLps/A82GucoQYNIiN2kLJrnu2oVqhHJLLvg6WWA3CFQMC6BdQBPGeJOTSBDc/SNrqPz5voLZClGOBHkgeL9MswpolKOAUS+zq43QaoBVxxmedMBMBwlRgd21eaSmYgQXYIt3WSNDtkhywiEKqQWKSGjrTcZzl2tjmcVmaPcL4Lc5wEug7QJtEPjM7N5tuNA1OExPNAMpOEQ4oNU6aK82mmkzAzDwEhgYWy2vhC7VirldbTE1TME+Kpcs42yaZU4dLJJAjwbRIAroFDhoAhZq37zFhoF7/ba05pYa9g5kqVIOdL3vQLAnOUYJsar5q8gY5JQFBhnkmRsw4QZ47PklF3gFNvZMhzKCpKCzvOVR6wdPRyQYovYhk5XAwY+oNNDeMxQRdPSgSDm0MzZilm1LgIUnpD0TK8+TtL83GUbEqtXMKw0FNDL5PnOMXF+CDqfj8ZjANiYyo9o8k698Rn7I5vEpCJy3oqRaWEZzyrDCBHhpghLnFGgdnbYWmjkZ2psJKHCTy6gGdE2L38QP+IeQQRXg0mjQc1S5oPJOmGdDN8trXkaW4L52GBCiEVAiQDYvleTCcAIWsllrpiA+BuAX+bTOSodgzSHkaL7nmoF1HjMVMkanPdr7NmsKaAQm2VIAKvj85cZUbbwbw70fwVwasCguhb5W5S+03EH+CIxqsktFl+MTQqEaH4f2O+TXfvGBbHMulG2/Hn/98Q/b2xEO"')},"406c":function(e,t,n){"use strict";function r(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}e.exports=r},"41af":function(e,t,n){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},"41c5":function(e,t,n){e.exports=n.p+"img/-_12.svg"},"41e8":function(e,t,n){},4244:function(e,t,n){e.exports=n.p+"img/a-20-shuye.svg"},"429b":function(e,t,n){e.exports=n("faa1").EventEmitter},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"43cf":function(e,t,n){e.exports=n.p+"img/xiezizhuo.svg"},"442c":function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return P})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return C})),n.d(t,"h",(function(){return N})),n.d(t,"i",(function(){return L})),n.d(t,"j",(function(){return O}));var r=n("b923"),i=n("6f27"),o=n("6ffb");const a=(e,t)=>!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&&T(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 d(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset{let a=d(e,n);if(!a)return!1;let s=m(a);if(!s)return!1;let l=s.nodeAfter;if(T(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 v(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=v(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},y=(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=v(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 x(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:v(i.node(-1).contentMatchAt(i.indexAfter(-1))),u=e&&e(a.parent,s),h=u?[u]:s&&c?[{type:c}]:void 0,d=Object(r["g"])(l.doc,l.mapping.map(i.pos),1,h);if(h||d||!Object(r["g"])(l.doc,l.mapping.map(i.pos),1,c?[{type:c}]:void 0)||(c&&(h=[{type:c}]),d=!0),d&&(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 k=x(),C=(e,t)=>(t&&t(e.tr.setSelection(new o["AllSelection"](e.doc))),!0);function A(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 T(e,t,n){let a,s,l=t.nodeBefore,u=t.nodeAfter;if(l.type.spec.isolating||u.type.spec.isolating)return!1;if(A(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 d=o["Selection"].findFrom(t,1),f=d&&d.$from.blockRange(d.$to),p=f&&Object(r["k"])(f);if(null!=p&&p>=t.depth)return n&&n(e.tr.lift(f,p).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 S(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 E=S(-1),M=S(1);function O(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 N(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 L(e,t=null){return function(n,r){let{empty:i,$cursor:o,ranges:a}=n.selection;if(i&&!o||!D(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=o["a"].Zero&&c<=o["a"].Seven?(t+=l,3!==t.length&&u>="0"&&u<="7"||(r(parseInt(t,8)),t="")):r(c):c===o["a"].BackSlash?n=!0:r(c)}return new Uint8Array(e)},t.prototype.decodeText=function(){var e=this.asBytes();return Object(a["A"])(e)?Object(a["Y"])(e):Object(a["K"])(e)},t.prototype.decodeDate=function(){var e=this.decodeText(),t=Object(a["J"])(e);if(!t)throw new s["d"](e);return t},t.prototype.asString=function(){return this.value},t.prototype.clone=function(){return t.of(this.value)},t.prototype.toString=function(){return"("+this.value+")"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(e,t){return e[t++]=o["a"].LeftParen,t+=Object(a["w"])(this.value,e,t),e[t++]=o["a"].RightParen,this.value.length+2},t.of=function(e){return new t(e)},t.fromDate=function(e){var n=Object(a["I"])(String(e.getUTCFullYear()),4,"0"),r=Object(a["I"])(String(e.getUTCMonth()+1),2,"0"),i=Object(a["I"])(String(e.getUTCDate()),2,"0"),o=Object(a["I"])(String(e.getUTCHours()),2,"0"),s=Object(a["I"])(String(e.getUTCMinutes()),2,"0"),l=Object(a["I"])(String(e.getUTCSeconds()),2,"0");return new t("D:"+n+r+i+o+s+l+"Z")},t}(i["a"]);t["a"]=l},"4ec2":function(e,t,n){e.exports=n.p+"img/timeline2.png"},"4f5a":function(e,t,n){e.exports=n.p+"img/-_14.svg"},"4f8c":function(e,t,n){e.exports=n.p+"img/pinkGrape.jpg"},"4f98":function(e,t,n){(function(t){ /*! * Quill Editor v1.3.7 * 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),d=n(32),f=n(33),p=n(31),m=n(1),g={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.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:d.default,Style:f.default,Store:p.default}};t.default=g},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=d(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 d(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 f(){for(var e=[],t=0;t1)return e.map((function(e){return f(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=d,t.register=f},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&&n.next(o.retain-s)}var c=new l(r);while(t.hasNext()||n.hasNext())if("insert"===n.peekType())c.push(n.next());else if("delete"===t.peekType())c.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),h=t.next(u),d=n.next(u);if("number"===typeof d.retain){var f={};"number"===typeof h.retain?f.retain=u:f.insert=h.insert;var p=a.attributes.compose(h.attributes,d.attributes,"number"===typeof h.retain);if(p&&(f.attributes=p),c.push(f),!n.hasNext()&&i(c.ops[c.ops.length-1],f)){var m=new l(t.rest());return c.concat(m).chop()}}else"number"===typeof d["delete"]&&"number"===typeof h.retain&&c.push(d)}return c.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(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()-x)){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 A(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:A(e.parent,t))}C.blotName="block",C.tagName="P",C.defaultChild="break",C.allowedChildren=[p.default,u.default.Embed,g.default],t.bubbleFormats=A,t.BlockEmbed=k,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(S(this,e),this.options=O(t,r),this.container=this.options.container,null==this.container)return E.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=m.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new c.default(this.scroll),this.selection=new v.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;N.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"),x.default.level(e)}},{key:"find",value:function(e){return e.__quill||m.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&E.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||E.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?m.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=D(e,t,n),a=i(o,4);return e=a[0],t=a[1],n=a[3],N.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 N.call(this,(function(){var r=n.getSelection(!0),i=new s.default;if(null==r)return i;if(m.default.query(e,m.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,T({},e,t));else{if(0===r.length)return n.selection.format(e,t),i;i=n.editor.formatText(r.index,r.length,T({},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=D(e,t,n,r,o),c=i(l,4);return e=c[0],t=c[1],s=c[2],o=c[3],N.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=D(e,t,n,r,o),c=i(l,4);return e=c[0],t=c[1],s=c[2],o=c[3],N.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=D(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=D(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 N.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=D(e,0,n,r,o),c=i(l,4);return e=c[0],s=c[2],o=c[3],N.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=D(e,t,n),a=i(o,4);return e=a[0],t=a[1],n=a[3],N.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 N.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=D(t,n,r),a=i(o,4);t=a[0],n=a[1],r=a[3],this.selection.setRange(new g.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 N.call(this,(function(){return e=new s.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function O(e,t){if(t=(0,y.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t),t.theme&&t.theme!==M.DEFAULTS.theme){if(t.theme=M.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,y.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=M.import("modules/"+t);return null==n?E.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,y.default)(!0,{},M.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 N(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=L(i,a,t):0!==r&&(i=L(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 D(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 L(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)})),d=i(u,2);o=d[0],a=d[1]}return new g.Range(o,a-o)}M.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},M.events=h.default.events,M.sources=h.default.sources,M.version="1.3.7",M.imports={delta:s.default,parchment:m.default,"core/module":f.default,"core/theme":C.default},t.expandConfig=O,t.overload=D,t.default=M},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]!=d[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(m.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);x.blotName="code-block",x.tagName="PRE",x.TAB=" ",t.Code=w,t.default=x},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 d=t.scroll.line(e),f=i(d,2),p=f[0],m=f[1],b=(0,T.default)({},(0,g.bubbleFormats)(p));if(p instanceof v.default){var y=p.descendant(h.default.Leaf,m),w=i(y,1),x=w[0];b=(0,T.default)(b,(0,g.bubbleFormats)(x))}l=c.default.attributes.diff(b,l)||{}}else if("object"===r(a.insert)){var k=Object.keys(a.insert)[0];if(null==k)return e;t.scroll.insertAt(e,k,a.insert[k])}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 f.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,x.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,x.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 v.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,g.bubbleFormats)(e.shift());while(Object.keys(t).length>0){var n=e.shift();if(null==n)return t;t=D((0,g.bubbleFormats)(n),t)}return t}));return T.default.apply(T.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(E({},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,x.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===v.default.blotName&&(!(e.children.length>1)&&e.children.head instanceof y.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 f.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),d=h.diff((new s.default).insert(n).concat(u)),p=(new s.default).retain(e).concat(d);return this.applyDelta(p)}},{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(O)&&h.default.find(t[0].target)){var i=h.default.find(t[0].target),o=(0,g.bubbleFormats)(i),a=i.offset(this.scroll),l=t[0].oldValue.replace(m.default.CONTENTS,""),c=(new s.default).insert(l),u=(new s.default).insert(i.value()),d=(new s.default).retain(a).concat(c.diff(u,n));e=d.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 D(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 L(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,x.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,x.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=N},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;v(this,e),this.index=t,this.length=n},w=function(){function e(t,n){var r=this;v(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 y(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,d.default.sources.USER),1)})),this.emitter.on(d.default.events.EDITOR_CHANGE,(function(e,t){e===d.default.events.TEXT_CHANGE&&t.length()>0&&r.update(d.default.sources.SILENT)})),this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(d.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(d.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(d.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(d.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 d=this.scroll.leaf(e+t),f=r(d,2);if(s=f[0],l=f[1],null==s)return null;var p=s.position(l,!0),m=r(p,2);return i=m[0],l=m[1],h.setEnd(i,l),h.getBoundingClientRect()}var g="left",v=void 0;return i instanceof Text?(l0&&(g="right")),{bottom:v.top+v.height,height:v.height,left:v[g],right:v[g],top:v.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 b.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,g(i)),this.scroll.length()-1),s=Math.min.apply(Math,[o].concat(g(i)));return new y(s,o-s)}},{key:"normalizeNative",value:function(e){if(!x(this.root,e.startContainer)||!e.collapsed&&!x(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),d=r(h,2);a=d[0],u=d[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(b.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]:d.default.sources.API;if("string"===typeof t&&(n=t,t=!1),b.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,g(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]:d.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=[d.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(t),e];if((s=this.emitter).emit.apply(s,[d.default.events.EDITOR_CHANGE].concat(h)),e!==d.default.sources.SILENT)(c=this.emitter).emit.apply(c,h)}}}]),e}();function x(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=y,t.default=w},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(){var e;return e={},e[this.statics.blotName]=this.statics.value(this.domNode)||!0,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"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},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 d=[],f=[],p="undefined"!=typeof t;function m(a,l){if(null===a)return null;if(0===l)return a;var g,v;if("object"!=typeof a)return a;if(e(a,n))g=new n;else if(e(a,r))g=new r;else if(e(a,i))g=new i((function(e,t){a.then((function(t){e(m(t,l-1))}),(function(e){t(m(e,l-1))}))}));else if(o.__isArray(a))g=[];else if(o.__isRegExp(a))g=new RegExp(a.source,u(a)),a.lastIndex&&(g.lastIndex=a.lastIndex);else if(o.__isDate(a))g=new Date(a.getTime());else{if(p&&t.isBuffer(a))return g=t.allocUnsafe?t.allocUnsafe(a.length):new t(a.length),a.copy(g),g;e(a,Error)?g=Object.create(a):"undefined"==typeof c?(v=Object.getPrototypeOf(a),g=Object.create(v)):(g=Object.create(c),v=c)}if(s){var b=d.indexOf(a);if(-1!=b)return f[b];d.push(a),f.push(g)}for(var y in e(a,n)&&a.forEach((function(e,t){var n=m(t,l-1),r=m(e,l-1);g.set(n,r)})),e(a,r)&&a.forEach((function(e){var t=m(e,l-1);g.add(t)})),a){var w;v&&(w=Object.getOwnPropertyDescriptor(v,y)),w&&null==w.set||(g[y]=m(a[y],l-1))}if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(a);for(y=0;y0){if(s instanceof u.BlockEmbed||d instanceof u.BlockEmbed)return void this.optimize();if(s instanceof m.default){var p=s.newlineIndex(s.length(),!0);if(p>-1&&(s=s.split(p+1),s===d))return void this.optimize()}else if(d instanceof m.default){var g=d.newlineIndex(0);g>-1&&d.split(g+1)}var v=d.children.head instanceof f.default?null:d.children.head;s.moveChildren(d,v),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(k,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){k(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,v.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=j(e);if(null==r||null==r.key)return O.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],d=u[1],f=e.quill.getLeaf(s.index),p=i(f,2),m=p[0],g=p[1],b=0===s.length?[m,g]:e.quill.getLeaf(s.index+s.length),y=i(b,2),w=y[0],x=y[1],k=m instanceof v.default.Text?m.value().slice(0,g):"",C=w instanceof v.default.Text?w.value().slice(x):"",A={collapsed:0===s.length,empty:0===s.length&&h.length()<=1,format:e.quill.getFormat(s),offset:d,prefix:k,suffix:C},T=a.some((function(t){if(null!=t.collapsed&&t.collapsed!==A.collapsed)return!1;if(null!=t.empty&&t.empty!==A.empty)return!1;if(null!=t.offset&&t.offset!==A.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==A.format[e]})))return!1}else if("object"===r(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=A.format[e]:!1===t.format[e]?null==A.format[e]:(0,c.default)(t.format[e],A.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(A.prefix))&&(!(null!=t.suffix&&!t.suffix.test(A.suffix))&&!0!==t.handler.call(e,s,A))}));T&&n.preventDefault()}}}}))}}]),t}(C.default);function L(e,t){var n,r=e===D.keys.LEFT?"prefix":"suffix";return n={key:e,shiftKey:t,altKey:null},T(n,r,/^$/),T(n,"handler",(function(n){var r=n.index;e===D.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r),a=i(o,1),s=a[0];return!(s instanceof v.default.Embed)||(e===D.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,y.default.sources.USER):this.quill.setSelection(n.index-1,y.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,y.default.sources.USER):this.quill.setSelection(n.index+n.length+1,y.default.sources.USER),!1)})),n}function P(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=m.default.attributes.diff(u,h)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,y.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(e.index-d,d,a,y.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 d=l.formats(),f=this.quill.getFormat(e.index,1);r=m.default.attributes.diff(d,f)||{},o=h.length()}}this.quill.deleteText(e.index,n,y.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+o-1,n,r,y.default.sources.USER)}}function R(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),i=t[t.length-1].formats();n=m.default.attributes.diff(i,r)||{}}this.quill.deleteText(e,y.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,y.default.sources.USER),this.quill.setSelection(e.index,y.default.sources.SILENT),this.quill.focus()}function F(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 v.default.query(n,v.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,y.default.sources.USER),this.quill.setSelection(e.index+1,y.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],y.default.sources.USER))}))}function z(e){return{key:D.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=v.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,d=l.newlineIndex(u+c+o),f=l.domNode.textContent.slice(h,d).split("\n");c=0,f.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(y.default.sources.USER),this.quill.setSelection(r,o,y.default.sources.SILENT)}}}}function B(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],y.default.sources.USER)}}}function j(e){if("string"===typeof e||"number"===typeof e)return j({key:e});if("object"===("undefined"===typeof e?"undefined":r(e))&&(e=(0,s.default)(e,!1)),"string"===typeof e.key)if(null!=D.keys[e.key.toUpperCase()])e.key=D.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[N]=e.shortKey,delete e.shortKey),e}D.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},D.DEFAULTS={bindings:{bold:B("bold"),italic:B("italic"),underline:B("underline"),indent:{key:D.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",y.default.sources.USER)}},outdent:{key:D.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",y.default.sources.USER)}},"outdent backspace":{key:D.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",y.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,y.default.sources.USER)}},"indent code-block":z(!0),"outdent code-block":z(!1),"remove tab":{key:D.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,y.default.sources.USER)}},tab:{key:D.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new f.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,y.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,y.default.sources.SILENT)}},"list empty enter":{key:D.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,y.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,y.default.sources.USER)}},"checklist enter":{key:D.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 f.default).retain(e.index).insert("\n",a).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,y.default.sources.USER),this.quill.setSelection(e.index+1,y.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:D.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 f.default).retain(e.index).insert("\n",t.format).retain(o.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,y.default.sources.USER),this.quill.setSelection(e.index+1,y.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," ",y.default.sources.USER),this.quill.history.cutoff();var c=(new f.default).retain(e.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(c,y.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,y.default.sources.SILENT)}},"code exit":{key:D.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 f.default).retain(e.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,y.default.sources.USER)}},"embed left":L(D.keys.LEFT,!1),"embed left shift":L(D.keys.LEFT,!0),"embed right":L(D.keys.RIGHT,!1),"embed right shift":L(D.keys.RIGHT,!0)}},t.default=D,t.SHORTKEY=N},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=d},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=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=O(r),o=n(5),a=O(o),s=n(4),l=O(s),c=n(16),u=O(c),h=n(25),d=O(h),f=n(24),p=O(f),m=n(35),g=O(m),v=n(6),b=O(v),y=n(22),w=O(y),x=n(7),k=O(x),C=n(55),A=O(C),T=n(42),S=O(T),E=n(23),M=O(E);function O(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":d.default,"blots/cursor":p.default,"blots/embed":g.default,"blots/inline":b.default,"blots/scroll":w.default,"blots/text":k.default,"modules/clipboard":A.default,"modules/history":S.default,"modules/keyboard":M.default}),i.default.register(l.default,u.default,p.default,b.default,w.default,k.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 m(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 g(e){var t=e.reduce((function(e,t){return e+=t.delete||0,e}),0),n=e.length()-t;return m(e)&&(n-=1),n}p.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=p,t.getLastChangeIndex=g},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}(k.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 R(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=P,t.default=L},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 d=h(e,t);if(d){var f=d[0],p=d[1],m=d[2],g=d[3],v=d[4],b=o(f,m),y=o(p,g);return b.concat([[i,v]],y)}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),d=0;di)g+=2;else if(k>o)m+=2;else if(p){var C=s+f-w;if(C>=0&&C=A)return l(e,t,E,k)}}}for(var T=-y+v;T<=y-b;T+=2){C=s+T;A=T==-y||T!=y&&h[C-1]i)b+=2;else if(S>o)v+=2;else if(!p){x=s+f-T;if(x>=0&&x=A)return l(e,t,E,k)}}}}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,d=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));if(!d&&!f)return null;o=f?d&&d[4].length>f[4].length?d:f:d,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 p=o[4];return[a,s,l,h,p]}function d(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 f=!1;o=1;while(o0&&r.splice(o+2,0,[s[0],l]),v(r,o,3)}return e}function g(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 v(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[x.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new c.default).insert(n,E({},x.default.blotName,t[x.default.blotName]))}var r=this.prepareMatching(),o=i(r,2),a=o[0],s=o[1],l=U(this.container,a,s);return j(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new c.default).retain(l.length()-1).delete(1))),D.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]:f.default.sources.API;if("string"===typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,f.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(),f.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(f.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,f.default.sources.USER),t.quill.setSelection(r.length()-n.length,f.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[L]=e[L]||[],e[L].push(s)}));break}})),[t,n]}}]),t}(v.default);function z(e,t,n){return"object"===("undefined"===typeof t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return z(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)({},E({},t,n),r.attributes))}),new c.default)}function B(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function j(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length-1}function U(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=U(i,t,n);return i.nodeType===e.ELEMENT_NODE&&(o=t.reduce((function(e,t){return t(i,e)}),o),o=(i[L]||[]).reduce((function(e,t){return t(i,e)}),o)),r.concat(o)}),new c.default):new c.default}function q(e,t,n){return z(n,e,!0)}function W(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=R[t],null==n||n.attrName!==t&&n.keyName!==t||(n=R[t],o[n.attrName]=n.value(e)||void 0))})),Object.keys(o).length>0&&(t=z(t,o)),t}function G(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=z(t,n.blotName,n.formats(e)));return t}function V(e,t){return j(t,"\n")||t.insert("\n"),t}function Y(){return new c.default}function K(e,t){var n=h.default.query(e);if(null==n||"list-item"!==n.blotName||!j(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 Z(e,t){return j(t,"\n")||(H(e)||t.length()>0&&e.nextSibling&&H(e.nextSibling))&&t.insert("\n"),t}function X(e,t){if(H(e)&&null!=e.nextElementSibling&&!j(t,"\n\n")){var n=e.offsetHeight+parseFloat(B(e).marginTop)+parseFloat(B(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function J(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===B(e).fontStyle&&(n.italic=!0),r.fontWeight&&(B(e).fontWeight.startsWith("bold")||parseInt(B(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=z(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new c.default).insert("\t").concat(t)),t}function Q(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(!B(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&&H(e.parentNode)||null!=e.previousSibling&&H(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&H(e.parentNode)||null!=e.nextSibling&&H(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}F.DEFAULTS={matchers:[],matchVisual:!0},t.default=F,t.matchAttributor=W,t.matchBlot=G,t.matchNewline=Z,t.matchSpacing=X,t.matchText=Q},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=k},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),d=n(67),f=ne(d),p=n(37),m=n(26),g=n(39),v=n(40),b=n(56),y=ne(b),w=n(68),x=ne(w),k=n(27),C=ne(k),A=n(69),T=ne(A),S=n(70),E=ne(S),M=n(71),O=ne(M),N=n(72),D=ne(N),L=n(73),P=ne(L),I=n(13),R=ne(I),F=n(74),z=ne(F),B=n(75),j=ne(B),H=n(57),U=ne(H),q=n(41),W=ne(q),G=n(28),V=ne(G),Y=n(59),K=ne(Y),Z=n(60),X=ne(Z),J=n(61),Q=ne(J),_=n(108),$=ne(_),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":p.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":g.FontClass,"attributors/class/size":v.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":g.FontStyle,"attributors/style/size":v.SizeStyle},!0),i.default.register({"formats/align":o.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":p.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":g.FontClass,"formats/size":v.SizeClass,"formats/blockquote":c.default,"formats/code-block":R.default,"formats/header":h.default,"formats/list":f.default,"formats/bold":y.default,"formats/code":I.Code,"formats/italic":x.default,"formats/link":C.default,"formats/script":T.default,"formats/strike":E.default,"formats/underline":O.default,"formats/image":D.default,"formats/video":P.default,"formats/list/item":d.ListItem,"modules/formula":z.default,"modules/syntax":j.default,"modules/toolbar":U.default,"themes/bubble":$.default,"themes/snow":te.default,"ui/icons":W.default,"ui/picker":V.default,"ui/icon-picker":X.default,"ui/color-picker":K.default,"ui/tooltip":Q.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 d({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(e,n){if(e instanceof g)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);v.blotName="list",v.scope=a.default.Scope.BLOCK_BLOT,v.tagName=["OL","UL"],v.defaultChild="list-item",v.allowedChildren=[g],t.ListItem=g,t.default=v},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 d.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);f.blotName="image",f.tagName="IMG",t.default=f},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 d.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);f.blotName="video",f.className="ql-video",f.tagName="IFRAME",t.default=f},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}(d.default);v.className="ql-syntax";var b=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),y=function(e){function t(e,n){p(this,t);var r=m(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 g(t,e),r(t,null,[{key:"register",value:function(){l.default.register(b,!0),l.default.register(v,!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(v).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);y.DEFAULTS={highlight:function(){return null==window.hljs?null:function(e){var t=window.hljs.highlightAuto(e);return t.value}}(),interval:1e3},t.CodeBlock=v,t.CodeToken=b,t.default=y},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 v(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);w.TEMPLATE=['','
','','',"
"].join(""),t.BubbleTooltip=w,t.default=y},function(e,t,n){e.exports=n(63)}])["default"]}))}).call(this,n("b639").Buffer)},"4fc1":function(e,t,n){"use strict";n("49df")},5023:function(e,t,n){e.exports=n.p+"img/ertongjie.svg"},"505c":function(e,t,n){"use strict";n("f583")},5082:function(e,t,n){e.exports=n.p+"img/a-10-yiliaoxiang.svg"},5087:function(e,t,n){"use strict";var r=n("68ee"),i=n("0d51"),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a constructor")}},"518d":function(e,t,n){"use strict";n("2d86")},5227:function(e,t,n){e.exports=n.p+"img/zuche.svg"},"528d":function(e,t,n){e.exports=n.p+"img/xiaoheiban.svg"},"56b3":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\/(\d+)/.exec(e),h=u&&+u[1],d=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),m=/PhantomJS/.test(e),g=f&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),b=g||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),w=/\bCrOS\b/.test(e),x=/win/i.test(t),k=d&&e.match(/Version\/(\d*\.\d*)/);k&&(k=Number(k[1])),k&&k>=15&&(d=!1,l=!0);var C=y&&(c||d&&(null==k||k<12.11)),A=n||a&&s>=9;function T(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,E=function(e,t){var n=e.className,r=T(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function M(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return M(e).appendChild(t)}function N(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}g?F=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(F=function(e){try{e.select()}catch(t){}});var G=function(){this.id=null,this.f=null,this.time=0,this.handler=U(this.onTimeout,this)};function V(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}var _=[""];function $(e){while(_.length<=e)_.push(ee(_)+" ");return _[e]}function ee(e){return e[e.length-1]}function te(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||oe.test(e))}function se(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ae(e))||t.test(e):ae(e)}function le(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ce=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ue(e){return e.charCodeAt(0)>=768&&ce.test(e)}function he(e,t,n){while((n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function fe(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var pe=null;function me(e,t,n){var r;pe=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:pe=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:pe=i)}return null!=r?r:pe}var ge=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var u=e.length,h=[],d=0;d-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ke(e,t){var n=we(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function Se(e){e.prototype.on=function(e,t){ye(this,e,t)},e.prototype.off=function(e,t){xe(this,e,t)}}function Ee(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Me(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Oe(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ne(e){Ee(e),Me(e)}function De(e){return e.target||e.srcElement}function Le(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Pe,Ie,Re=function(){if(a&&s<9)return!1;var e=N("div");return"draggable"in e||"dragDrop"in e}();function Fe(e){if(null==Pe){var t=N("span","​");O(e,N("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Pe=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Pe?N("span","​"):N("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function ze(e){if(null!=Ie)return Ie;var t=O(e,document.createTextNode("AخA")),n=S(t,0,1).getBoundingClientRect(),r=S(t,1,2).getBoundingClientRect();return M(e),!(!n||n.left==n.right)&&(Ie=r.right-n.right<3)}var Be=3!="\n\nb".split(/\n/).length?function(e){var t=0,n=[],r=e.length;while(t<=r){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},je=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},He=function(){var e=N("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Ue=null;function qe(e){if(null!=Ue)return Ue;var t=O(e,N("span","x")),n=t.getBoundingClientRect(),r=S(t,0,1).getBoundingClientRect();return Ue=Math.abs(n.left-r.left)>1}var We={},Ge={};function Ve(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),We[e]=t}function Ye(e,t){Ge[e]=t}function Ke(e){if("string"==typeof e&&Ge.hasOwnProperty(e))e=Ge[e];else if(e&&"string"==typeof e.name&&Ge.hasOwnProperty(e.name)){var t=Ge[e.name];"string"==typeof t&&(t={name:t}),e=ie(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ke("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ke("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ze(e,t){t=Ke(t);var n=We[t.name];if(!n)return Ze(e,"text/plain");var r=n(e,t);if(Xe.hasOwnProperty(t.name)){var i=Xe[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Xe={};function Je(e,t){var n=Xe.hasOwnProperty(e)?Xe[e]:Xe[e]={};q(t,n)}function Qe(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function _e(e,t){var n;while(e.innerMode){if(n=e.innerMode(t),!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}}function $e(e,t,n){return!e.startState||e.startState(t,n)}var et=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function tt(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var n=e;while(!n.lines)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?ct(n,tt(e,n).text.length):vt(t,tt(e,t.line).text.length)}function vt(e,t){var n=e.ch;return null==n||n>t?ct(e.line,t):n<0?ct(e.line,0):e}function bt(e,t){for(var n=[],r=0;r=this.string.length},et.prototype.sol=function(){return this.pos==this.lineStart},et.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},et.prototype.next=function(){if(this.post},et.prototype.eatSpace=function(){var e=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>e},et.prototype.skipToEnd=function(){this.pos=this.string.length},et.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},et.prototype.backUp=function(e){this.pos-=e},et.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return!1!==t&&(this.pos+=e.length),!0},et.prototype.current=function(){return this.string.slice(this.start,this.pos)},et.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},et.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},et.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var yt=function(e,t){this.state=e,this.lookAhead=t},wt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function xt(e,t,n,r){var i=[e.state.modeGen],o={};Nt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,Nt(e,t.text,s.mode,n,(function(e,t){var n=l;while(ce&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&&Qe(e.doc.mode,r.state),o=xt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Ct(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new wt(r,!0,t);var o=Dt(e,t,n),a=o>r.first&&tt(r,o-1).stateAfter,s=a?wt.fromSaved(r,a,o):new wt(r,$e(r.mode),o);return r.iter(o,t,(function(n){At(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}wt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},wt.prototype.baseToken=function(e){if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},wt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},wt.fromSaved=function(e,t,n){return t instanceof yt?new wt(e,Qe(e.mode,t.state),n,t.lookAhead):new wt(e,Qe(e.mode,t),n)},wt.prototype.save=function(e){var t=!1!==e?Qe(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new yt(t,this.maxLookAhead):t};var Et=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function Mt(e,t,n,r){var i,o=e.doc,a=o.mode;t=gt(o,t);var s,l=tt(o,t.line),c=Ct(e,t.line,n),u=new et(l.text,e.options.tabSize,c);r&&(s=[]);while((r||u.pose.options.maxHighlightLength?(s=!1,a&&At(e,t,r,h.pos),h.pos=t.length,l=null):l=Ot(St(n,h,r.state,d),o),d){var f=d[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||u!=l){while(ca;--s){if(s<=o.first)return o.first;var l=tt(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof yt?c.lookAhead:0)<=o.modeFrontier))return s;var u=W(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function Lt(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=tt(e,r).stateAfter;if(i&&(!(i instanceof yt)||r+i.lookAhead=t:o.to>t);(r||(r=[])).push(new zt(a,o.from,l?null:o.to))}}return r}function qt(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var w=0;w0)){var u=[l,1],h=ut(c.from,s.from),d=ut(c.to,s.to);(h<0||!a.inclusiveLeft&&!h)&&u.push({from:c.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function Yt(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||Jt(n,o.marker)<0)&&(n=o.marker)}return n}function tn(e,t,n,r,i){var o=tt(e,t),a=It&&o.markedSpans;if(a)for(var s=0;s=0&&h<=0||u<=0&&h>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ut(c.to,n)>=0:ut(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ut(c.from,r)<=0:ut(c.from,r)<0)))return!0}}}function nn(e){var t;while(t=_t(e))e=t.find(-1,!0).line;return e}function rn(e){var t;while(t=$t(e))e=t.find(1,!0).line;return e}function on(e){var t,n;while(t=$t(e))e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function an(e,t){var n=tt(e,t),r=nn(n);return n==r?t:ot(r)}function sn(e,t){if(t>e.lastLine())return t;var n,r=tt(e,t);if(!ln(e,r))return t;while(n=$t(r))r=n.find(1,!0).line;return ot(r)+1}function ln(e,t){var n=It&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var fn=function(e,t,n){this.text=e,Kt(this,t),this.height=n?n(this):1};function pn(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Yt(e),Kt(e,n);var i=r?r(e):1;i!=e.height&&it(e,i)}function mn(e){e.parent=null,Yt(e)}fn.prototype.lineNo=function(){return ot(this)},Se(fn);var gn={},vn={};function bn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?vn:gn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function yn(e,t){var n=D("span",null,null,l?"padding-right: .1px":null),r={pre:D("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=xn,ze(e.display.measure)&&(a=ve(o,e.doc.direction))&&(r.addToken=Cn(r.addToken,a)),r.map=[];var s=t!=e.display.externalMeasured&&ot(o);Tn(o,r,kt(e,o,s)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=R(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=R(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Fe(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ke(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=R(r.pre.className,r.textClass||"")),r}function wn(e){var t=N("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function xn(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?kn(t,e.trailingSpace):t,h=e.cm.state.specialChars,d=!1;if(h.test(t)){c=document.createDocumentFragment();var f=0;while(1){h.lastIndex=f;var p=h.exec(t),m=p?p.index-f:t.length-f;if(m){var g=document.createTextNode(u.slice(f,f+m));a&&s<9?c.appendChild(N("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!p)break;f+=m+1;var v=void 0;if("\t"==p[0]){var b=e.cm.options.tabSize,y=b-e.col%b;v=c.appendChild(N("span",$(y),"cm-tab")),v.setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=y}else"\r"==p[0]||"\n"==p[0]?(v=c.appendChild(N("span","\r"==p[0]?"␍":"␤","cm-invalidchar")),v.setAttribute("cm-text",p[0]),e.col+=1):(v=e.cm.options.specialCharPlaceholder(p[0]),v.setAttribute("cm-text",p[0]),a&&s<9?c.appendChild(N("span",[v])):c.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(d=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||d||o||l){var w=n||"";r&&(w+=r),i&&(w+=i);var x=N("span",[c],w,o);if(l)for(var k in l)l.hasOwnProperty(k)&&"style"!=k&&"class"!=k&&x.setAttribute(k,l[k]);return e.content.appendChild(x)}e.content.appendChild(c)}}function kn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;ic&&h.from<=c)break;if(h.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,h.to-c),i,o,null,s,l),o=null,r=r.slice(h.to-c),c=h.to}}}function An(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function Tn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,h,d,f=i.length,p=0,m=1,g="",v=0;;){if(v==p){l=c=u=s="",d=null,h=null,v=1/0;for(var b=[],y=void 0,w=0;wp||k.collapsed&&x.to==p&&x.from==p)){if(null!=x.to&&x.to!=p&&v>x.to&&(v=x.to,c=""),k.className&&(l+=" "+k.className),k.css&&(s=(s?s+";":"")+k.css),k.startStyle&&x.from==p&&(u+=" "+k.startStyle),k.endStyle&&x.to==v&&(y||(y=[])).push(k.endStyle,x.to),k.title&&((d||(d={})).title=k.title),k.attributes)for(var C in k.attributes)(d||(d={}))[C]=k.attributes[C];k.collapsed&&(!h||Jt(h.marker,k)<0)&&(h=x)}else x.from>p&&v>x.from&&(v=x.from)}if(y)for(var A=0;A=f)break;var S=Math.min(f,v);while(1){if(g){var E=p+g.length;if(!h){var M=E>S?g.slice(0,S-p):g;t.addToken(t,M,a?a+l:l,u,p+M.length==v?c:"",s,d)}if(E>=S){g=g.slice(S-p),p=S;break}p=E,u=""}g=i.slice(o,o=n[m++]),a=bn(n[m++],t.cm.options)}}else for(var O=1;O2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function nr(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}}function rr(e,t){t=nn(t);var n=ot(t),r=e.display.externalMeasured=new Sn(e.doc,t,n);r.lineN=n;var i=r.built=yn(e,r);return r.text=i.pre,O(e.display.lineMeasure,i.pre),r}function ir(e,t,n,r){return sr(e,ar(e,t),n,r)}function or(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)while(c&&e[c-2]==e[c-3]&&e[c-1].insertLeft)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)while(c=0;i--)if((n=e[i]).left!=n.right)break;return n}function dr(e,t,n,r){var i,o=ur(t.map,n,r),l=o.node,c=o.start,u=o.end,h=o.collapse;if(3==l.nodeType){for(var d=0;d<4;d++){while(c&&ue(t.line.text.charAt(o.coverStart+c)))--c;while(o.coverStart+u0&&(h=r="right"),i=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+Ir(e.display),top:p.top,bottom:p.bottom}:cr}for(var m=i.top-t.rect.top,g=i.bottom-t.rect.top,v=(m+g)/2,b=t.view.measure.heights,y=0;y=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,n){var r=s[t],i=1==r.level;return a(n?e-1:e,i!=n)}var h=me(s,l,c),d=pe,f=u(l,h,"before"==c);return null!=d&&(f.other=u(l,d,"before"!=c)),f}function Ar(e,t){var n=0;t=gt(e.doc,t),e.options.lineWrapping||(n=Ir(e.display)*t.ch);var r=tt(e.doc,t.line),i=un(r)+Xn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Tr(e,t,n,r,i){var o=ct(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Sr(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,n<0)return Tr(r.first,0,null,-1,-1);var i=at(r,n),o=r.first+r.size-1;if(i>o)return Tr(r.first+r.size-1,tt(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=tt(r,i);;){var s=Nr(e,a,i,t,n),l=en(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=tt(r,i=c.line)}}function Er(e,t,n,r){r-=yr(t);var i=t.text.length,o=de((function(t){return sr(e,n,t-1).bottom<=r}),i,0);return i=de((function(t){return sr(e,n,t).top>r}),o,i),{begin:o,end:i}}function Mr(e,t,n,r){n||(n=ar(e,t));var i=wr(e,t,sr(e,n,r),"line").top;return Er(e,t,n,i)}function Or(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Nr(e,t,n,r,i){i-=un(t);var o=ar(e,t),a=yr(t),s=0,l=t.text.length,c=!0,u=ve(t,e.doc.direction);if(u){var h=(e.options.lineWrapping?Lr:Dr)(e,t,n,o,u,r,i);c=1!=h.level,s=c?h.from:h.to-1,l=c?h.to:h.from-1}var d,f,p=null,m=null,g=de((function(t){var n=sr(e,o,t);return n.top+=a,n.bottom+=a,!!Or(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,m=n),!0)}),s,l),v=!1;if(m){var b=r-m.left=w.bottom?1:0}return g=he(t.text,g,1),Tr(n,g,f,v,r-d)}function Dr(e,t,n,r,i,o,a){var s=de((function(s){var l=i[s],c=1!=l.level;return Or(Cr(e,ct(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=Cr(e,ct(n,c?l.from:l.to,c?"after":"before"),"line",t,r);Or(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function Lr(e,t,n,r,i,o,a){var s=Er(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,h=null,d=0;d=c||f.to<=l)){var p=1!=f.level,m=sr(e,r,p?Math.min(c,f.to)-1:Math.max(l,f.from)).right,g=mg)&&(u=f,h=g)}}return u||(u=i[i.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function Pr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==lr){lr=N("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)lr.appendChild(document.createTextNode("x")),lr.appendChild(N("br"));lr.appendChild(document.createTextNode("x"))}O(e.measure,lr);var n=lr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),M(e.measure),n||1}function Ir(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=N("span","xxxxxxxxxx"),n=N("pre",[t],"CodeMirror-line-like");O(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Rr(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Fr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Fr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function zr(e){var t=Pr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Ir(e.display)-3);return function(i){if(ln(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a0&&(l=tt(e.doc,c.line).text).length==c.ch){var u=W(l,l.length,e.options.tabSize)-l.length;c=ct(c.line,Math.max(0,Math.round((o-Qn(e.display).left)/Ir(e.display))-u))}return c}function Hr(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)It&&an(e.doc,t)i.viewFrom?Wr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Wr(e);else if(t<=i.viewFrom){var o=Gr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Wr(e)}else if(n>=i.viewTo){var a=Gr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Wr(e)}else{var s=Gr(e,t,t,-1),l=Gr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(En(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Wr(e)}var c=i.externalMeasured;c&&(n=i.lineN&&t=r.viewTo)){var o=r.view[Hr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==V(a,n)&&a.push(n)}}}function Wr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Gr(e,t,n,r){var i,o=Hr(e,t),a=e.display.view;if(!It||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}while(an(e.doc,n)!=n){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function Vr(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=En(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=En(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Hr(e,n)))),r.viewTo=n}function Yr(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||l.to().line0?a:e.defaultCharWidth())+"px"}if(r.other){var s=n.appendChild(N("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=r.other.left+"px",s.style.top=r.other.top+"px",s.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Jr(e,t){return e.top-t.top||e.left-t.left}function Qr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Qn(e.display),s=a.left,l=Math.max(r.sizerWidth,$n(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(N("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function h(t,n,r){var o,a,h=tt(i,t),d=h.text.length;function f(n,r){return kr(e,ct(t,n),"div",h,r)}function p(t,n,r){var i=Mr(e,h,null,t),o="ltr"==n==("after"==r)?"left":"right",a="after"==r?i.begin:i.end-(/\s/.test(h.text.charAt(i.end-1))?2:1);return f(a,o)[o]}var m=ve(h,i.direction);return fe(m,n||0,null==r?d:r,(function(e,t,i,h){var g="ltr"==i,v=f(e,g?"left":"right"),b=f(t-1,g?"right":"left"),y=null==n&&0==e,w=null==r&&t==d,x=0==h,k=!m||h==m.length-1;if(b.top-v.top<=3){var C=(c?y:w)&&x,A=(c?w:y)&&k,T=C?s:(g?v:b).left,S=A?l:(g?b:v).right;u(T,v.top,S-T,v.bottom)}else{var E,M,O,N;g?(E=c&&y&&x?s:v.left,M=c?l:p(e,i,"before"),O=c?s:p(t,i,"after"),N=c&&w&&k?l:b.right):(E=c?p(e,i,"before"):s,M=!c&&y&&x?l:v.right,O=!c&&w&&k?s:b.left,N=c?p(t,i,"after"):l),u(E,v.top,M-E,v.bottom),v.bottom0?t.blinker=setInterval((function(){e.hasFocus()||ni(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function $r(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||ti(e))}function ei(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&ni(e))}),100)}function ti(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ke(e,"focus",e,t),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),_r(e))}function ni(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ke(e,"blur",e,t),e.state.focused=!1,E(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function ri(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,l=0;l.005||m<-.005)&&(ie.display.sizerWidth){var v=Math.ceil(d/Ir(e.display));v>e.display.maxLineLength&&(e.display.maxLineLength=v,e.display.maxLine=c.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function ii(e){if(e.widgets)for(var t=0;t=a&&(o=at(t,un(tt(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ai(e,t){if(!Ce(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null,o=n.wrapper.ownerDocument;if(t.top+r.top<0?i=!0:t.bottom+r.top>(o.defaultView.innerHeight||o.documentElement.clientHeight)&&(i=!1),null!=i&&!m){var a=N("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Xn(e.display))+"px;\n height: "+(t.bottom-t.top+_n(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(i),e.display.lineSpace.removeChild(a)}}}function si(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?ct(t.line,t.ch+1,"before"):t,t=t.ch?ct(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var a=!1,s=Cr(e,t),l=n&&n!=t?Cr(e,n):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var c=ci(e,i),u=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=c.scrollTop&&(gi(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(bi(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(a=!0)),!a)break}return i}function li(e,t){var n=ci(e,t);null!=n.scrollTop&&gi(e,n.scrollTop),null!=n.scrollLeft&&bi(e,n.scrollLeft)}function ci(e,t){var n=e.display,r=Pr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=er(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Jn(n),l=t.tops-r;if(t.topi+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var h=e.options.fixedGutter?0:n.gutters.offsetWidth,d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-h,f=$n(e)-n.gutters.offsetWidth,p=t.right-t.left>f;return p&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.leftf+d-3&&(a.scrollLeft=t.right+(p?0:10)-f),a}function ui(e,t){null!=t&&(pi(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function hi(e){pi(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function di(e,t,n){null==t&&null==n||pi(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function fi(e,t){pi(e),e.curOp.scrollToPos=t}function pi(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=Ar(e,t.from),r=Ar(e,t.to);mi(e,n,r,t.margin)}}function mi(e,t,n,r){var i=ci(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});di(e,i.scrollLeft,i.scrollTop)}function gi(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Ki(e,{top:t}),vi(e,t,!0),n&&Ki(e),ji(e,100))}function vi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function bi(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Qi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function yi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Jn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+_n(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var wi=function(e,t,n){this.cm=n;var r=this.vert=N("div",[N("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=N("div",[N("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),ye(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),ye(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};wi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},wi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},wi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},wi.prototype.zeroWidthHack=function(){var e=y&&!p?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new G,this.disableVert=new G},wi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect(),o="vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.visibility="hidden":t.set(1e3,r)}e.style.visibility="",t.set(1e3,r)},wi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var xi=function(){};function ki(e,t){t||(t=yi(e));var n=e.display.barWidth,r=e.display.barHeight;Ci(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&ri(e),Ci(e,yi(e)),n=e.display.barWidth,r=e.display.barHeight}function Ci(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}xi.prototype.update=function(){return{bottom:0,right:0}},xi.prototype.setScrollLeft=function(){},xi.prototype.setScrollTop=function(){},xi.prototype.clear=function(){};var Ai={native:wi,null:xi};function Ti(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&E(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ai[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ye(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?bi(e,t):gi(e,t)}),e),e.display.scrollbars.addClass&&I(e.display.wrapper,e.display.scrollbars.addClass)}var Si=0;function Ei(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Si,markArrays:null},On(e.curOp)}function Mi(e){var t=e.curOp;t&&Dn(t,(function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ui(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Di(e){e.updatedDisplay=e.mustUpdate&&Vi(e.cm,e.update)}function Li(e){var t=e.cm,n=t.display;e.updatedDisplay&&ri(t),e.barMeasure=yi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=ir(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+_n(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-$n(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Pi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Ct(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Qe(t.mode,r.state):null,l=xt(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var h=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),d=0;!h&&dn)return ji(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Ri(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Yr(e))return!1;_i(e)&&(Wr(e),t.dims=Rr(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),It&&(o=an(e.doc,o),a=sn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Vr(e,o,a),n.viewOffset=un(tt(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Yr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Wi(e);return l>4&&(n.lineDiv.style.display="none"),Zi(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Gi(c),M(n.cursorDiv),M(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ji(e,400)),n.updateLineNumbers=null,!0}function Yi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=$n(e))r&&(t.visible=oi(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Jn(e.display)-er(e),n.top)}),t.visible=oi(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Vi(e,t))break;ri(e);var i=yi(e);Kr(e),ki(e,i),Ji(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Ki(e,t){var n=new Ui(e,t);if(Vi(e,n)){ri(e),Yi(e,n);var r=yi(e);Kr(e),ki(e,r),Ji(e,r),n.finish()}}function Zi(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,h=0;h-1&&(f=!1),Rn(e,d,u,n)),f&&(M(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(lt(e.options,u)))),a=d.node.nextSibling}else{var p=Wn(e,d,u,n);o.insertBefore(p,a)}u+=d.size}while(a)a=s(a)}function Xi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Pn(e,"gutterChanged",e)}function Ji(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+_n(e)+"px"}function Qi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Fr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a=105&&(o.wrapper.style.clipPath="inset(0px)"),o.wrapper.setAttribute("translate","no"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&b||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=$i(i.gutters,i.lineNumbers),eo(o),r.init(o)}Ui.prototype.signal=function(e,t){Te(e,t)&&this.events.push(arguments)},Ui.prototype.finish=function(){for(var e=0;ec.clientWidth,p=c.scrollHeight>c.clientHeight;if(i&&f||o&&p){if(o&&y&&l)e:for(var m=t.target,g=s.view;m!=c;m=m.parentNode)for(var v=0;v=0&&ut(e,r.to())<=0)return n}return-1};var co=function(e,t){this.anchor=e,this.head=t};function uo(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return ut(e.from(),t.from())})),n=V(t,i);for(var o=1;o0:l>=0){var c=pt(s.from(),a.from()),u=ft(s.to(),a.to()),h=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new co(h?u:c,h?c:u))}}return new lo(t,n)}function ho(e,t){return new lo([new co(e,t||e)],0)}function fo(e){return e.text?ct(e.from.line+e.text.length-1,ee(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function po(e,t){if(ut(e,t.from)<0)return e;if(ut(e,t.to)<=0)return fo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=fo(t).ch-t.to.ch),ct(n,r)}function mo(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,p-1),e.insert(s.line+1,v)}Pn(e,"change",e,t)}function ko(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a1&&!e.done[e.done.length-2].ranges?(e.done.pop(),ee(e.done)):void 0}function No(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=Oo(i,i.lastOp==r)))a=ee(o.changes),0==ut(t.from,t.to)&&0==ut(t.from,a.to)?a.to=fo(t):o.changes.push(Eo(e,t));else{var l=ee(i.done);l&&l.ranges||Po(e.sel,i.done),o={changes:[Eo(e,t)],generation:i.generation},i.done.push(o);while(i.done.length>i.undoDepth)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||ke(e,"historyAdded")}function Do(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Lo(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Do(e,o,ee(i.done),t))?i.done[i.done.length-1]=t:Po(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Mo(i.undone)}function Po(e,t){var n=ee(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Io(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Ro(e){if(!e)return null;for(var t,n=0;n-1&&(ee(s)[h]=c[h],delete c[h])}}}return r}function jo(e,t,n,r){if(r){var i=e.anchor;if(n){var o=ut(t,i)<0;o!=ut(n,i)<0?(i=t,t=n):o!=ut(t,n)<0&&(t=n)}return new co(i,t)}return new co(n||t,t)}function Ho(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Yo(e,new lo([jo(e.sel.primary(),t,n,i)],0),r)}function Uo(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:s.to>t.ch))){if(i&&(ke(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var h=l.find(r<0?1:-1),d=void 0;if((r<0?u:c)&&(h=$o(e,h,-r,h&&h.line==t.line?o:null)),h&&h.line==t.line&&(d=ut(h,n))&&(r<0?d<0:d>0))return Qo(e,h,t,r,i)}var f=l.find(r<0?-1:1);return(r<0?c:u)&&(f=$o(e,f,r,f.line==t.line?o:null)),f?Qo(e,f,t,r,i):null}}return t}function _o(e,t,n,r,i){var o=r||1,a=Qo(e,t,n,o,i)||!i&&Qo(e,t,n,o,!0)||Qo(e,t,n,-o,i)||!i&&Qo(e,t,n,-o,!0);return a||(e.cantEdit=!0,ct(e.first,0))}function $o(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?gt(e,ct(t.line-1)):null:n>0&&t.ch==(r||tt(e,t.line)).text.length?t.line=0;--i)ra(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else ra(e,t)}}function ra(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ut(t.from,t.to)){var n=mo(e,t);No(e,t,n,e.cm?e.cm.curOp.id:NaN),aa(e,t,n,Wt(e,t));var r=[];ko(e,(function(e,n){n||-1!=V(r,e.history)||(ha(e.history,t),r.push(e.history)),aa(e,t,null,Wt(e,t))}))}}function ia(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c=0;--f){var p=d(f);if(p)return p.v}}}}function oa(e,t){if(0!=t&&(e.first+=t,e.sel=new lo(te(e.sel.ranges,(function(e){return new co(ct(e.anchor.line+t,e.anchor.ch),ct(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Ur(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:ct(o,tt(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=nt(e,t.from,t.to),n||(n=mo(e,t)),e.cm?sa(e.cm,t,r):xo(e,t,r),Ko(e,n,Z),e.cantEdit&&_o(e,ct(e.firstLine(),0))&&(e.cantEdit=!1)}}function sa(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=ot(nn(tt(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&Ae(e),xo(r,t,n,zr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=hn(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Lt(r,o.line),ji(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Ur(e):o.line!=a.line||1!=t.text.length||wo(e.doc,t)?Ur(e,o.line,a.line+1,c):qr(e,o.line,"text");var u=Te(e,"changes"),h=Te(e,"change");if(h||u){var d={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};h&&Pn(e,"change",e,d),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(d)}e.display.selForContextMenu=null}function la(e,t,n,r,i){var o;r||(r=n),ut(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),na(e,{from:n,to:r,text:t,origin:i})}function ca(e,t,n,r){n1||!(this.children[0]instanceof fa))){var s=[];this.collapse(s),this.children=[new fa(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=i.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=D("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(tn(e,t.line,t,n,o)||t.line!=n.line&&tn(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ft()}o.addToHistory&&No(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(r){c&&o.collapsed&&!c.options.lineWrapping&&nn(r)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&it(r,0),Ht(r,new zt(o,l==t.line?t.ch:null,l==n.line?n.ch:null),e.cm&&e.cm.curOp),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){ln(e,t)&&it(t,0)})),o.clearOnEnter&&ye(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Rt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++ba,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Ur(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)qr(c,u,"text");o.atomic&&Xo(c.doc),Pn(c,"markerAdded",c,o)}return o}ya.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Ei(e),Te(this,"clear")){var n=this.find();n&&Pn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Ur(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Xo(e.doc)),e&&Pn(e,"markerCleared",e,this,r,i),t&&Mi(e),this.parent&&this.parent.clear()}},ya.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i=0;l--)na(this,r[l]);s?Vo(this,s):this.cm&&hi(this.cm)})),undo:Bi((function(){ia(this,"undo")})),redo:Bi((function(){ia(this,"redo")})),undoSelection:Bi((function(){ia(this,"undo",!0)})),redoSelection:Bi((function(){ia(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=gt(this,e),t=gt(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n})),gt(this,ct(n,t))},indexFromPos:function(e){e=gt(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var h=e.dataTransfer.getData("Text");if(h){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),Ko(t.doc,ho(n,n)),d)for(var f=0;f=0;t--)la(e.doc,"",r[t].from,r[t].to,"+delete");hi(e)}))}function Qa(e,t,n){var r=he(e.text,t+n,n);return r<0||r>e.text.length?null:r}function _a(e,t,n){var r=Qa(e,t.ch,n);return null==r?null:new ct(t.line,r,n<0?"after":"before")}function $a(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=ve(n,t.doc.direction);if(o){var a,s=i<0?ee(o):o[0],l=i<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=ar(t,n);a=i<0?n.text.length-1:0;var h=sr(t,u,a).top;a=de((function(e){return sr(t,u,e).top==h}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=Qa(n,a,1))}else a=i<0?s.to:s.from;return new ct(r,a,c)}}return new ct(r,i<0?n.text.length:0,i<0?"before":"after")}function es(e,t,n,r){var i=ve(t,e.doc.direction);if(!i)return _a(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=me(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&d>=u.begin)){var f=h?"before":"after";return new ct(n.line,d,f)}}var p=function(e,t,r){for(var o=function(e,t){return t?new ct(n.line,l(e,1),"before"):new ct(n.line,e,"after")};e>=0&&e0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c0?u.end:l(u.begin,-1);return null==g||r>0&&g==t.text.length||(m=p(r>0?0:i.length-1,r,c(g)),!m)?null:m}qa.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},qa.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},qa.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},qa.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},qa["default"]=y?qa.macDefault:qa.pcDefault;var ts={selectAll:ea,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Z)},killLine:function(e){return Ja(e,(function(t){if(t.empty()){var n=tt(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new ct(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ct(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=tt(e.doc,i.line-1).text;a&&(i=new ct(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ct(i.line-1,a.length-1),i,"+transpose"))}n.push(new co(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Ri(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(ut((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ut(i.to(),t)>0||t.xRel<0)?Ss(e,r,t,o):Ms(e,r,t,o)}function Ss(e,t,n,r){var i=e.display,o=!1,c=Fi(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ei(e)),xe(i.wrapper.ownerDocument,"mouseup",c),xe(i.wrapper.ownerDocument,"mousemove",u),xe(i.scroller,"dragstart",h),xe(i.scroller,"drop",c),o||(Ee(t),r.addNew||Ho(e.doc,n,null,null,r.extend),l&&!f||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},h=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,ye(i.wrapper.ownerDocument,"mouseup",c),ye(i.wrapper.ownerDocument,"mousemove",u),ye(i.scroller,"dragstart",h),ye(i.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}function Es(e,t,n){if("char"==n)return new co(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new co(ct(t.line,0),gt(e.doc,ct(t.line+1,0)));var r=n(e,t);return new co(r.from,r.to)}function Ms(e,t,n,r){a&&ei(e);var i=e.display,o=e.doc;Ee(t);var s,l,c=o.sel,u=c.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),s=l>-1?u[l]:new co(n,n)):(s=o.sel.primary(),l=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new co(n,n)),n=jr(e,t,!0,!0),l=-1;else{var h=Es(e,n,r.unit);s=r.extend?jo(s,h.anchor,h.head,r.extend):h}r.addNew?-1==l?(l=u.length,Yo(o,uo(e,u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"char"==r.unit&&!r.extend?(Yo(o,uo(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=o.sel):qo(o,l,s,X):(l=0,Yo(o,new lo([s],0),X),c=o.sel);var d=n;function f(t){if(0!=ut(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],a=e.options.tabSize,u=W(tt(o,n.line).text,n.ch,a),h=W(tt(o,t.line).text,t.ch,a),f=Math.min(u,h),p=Math.max(u,h),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var v=tt(o,m).text,b=Q(v,f,a);f==p?i.push(new co(ct(m,b),ct(m,b))):v.length>b&&i.push(new co(ct(m,b),ct(m,Q(v,p,a))))}i.length||i.push(new co(n,n)),Yo(o,uo(e,c.ranges.slice(0,l).concat(i),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y,w=s,x=Es(e,t,r.unit),k=w.anchor;ut(x.anchor,k)>0?(y=x.head,k=pt(w.from(),x.anchor)):(y=x.anchor,k=ft(w.to(),x.head));var C=c.ranges.slice(0);C[l]=Os(e,new co(gt(o,k),y)),Yo(o,uo(e,C,l),X)}}var p=i.wrapper.getBoundingClientRect(),m=0;function g(t){var n=++m,a=jr(e,t,!0,"rectangle"==r.unit);if(a)if(0!=ut(a,d)){e.curOp.focus=P(B(e)),f(a);var s=oi(i,o);(a.line>=s.to||a.linep.bottom?20:0;l&&setTimeout(Fi(e,(function(){m==n&&(i.scroller.scrollTop+=l,g(t))})),50)}}function v(t){e.state.selectingText=!1,m=1/0,t&&(Ee(t),i.input.focus()),xe(i.wrapper.ownerDocument,"mousemove",b),xe(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var b=Fi(e,(function(e){0!==e.buttons&&Le(e)?g(e):v(e)})),y=Fi(e,v);e.state.selectingText=y,ye(i.wrapper.ownerDocument,"mousemove",b),ye(i.wrapper.ownerDocument,"mouseup",y)}function Os(e,t){var n=t.anchor,r=t.head,i=tt(e.doc,n.line);if(0==ut(n,r)&&n.sticky==r.sticky)return t;var o=ve(i);if(!o)return t;var a=me(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=me(o,r.ch,r.sticky),h=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?h<0:h>0}var d=o[c+(l?-1:0)],f=l==(1==d.level),p=f?d.from:d.to,m=f?"after":"before";return n.ch==p&&n.sticky==m?t:new co(new ct(n.line,p,m),r)}function Ns(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(d){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Ee(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!Te(e,n))return Oe(t);o-=s.top-a.viewOffset;for(var l=0;l=i){var u=at(e.doc,o),h=e.display.gutterSpecs[l];return ke(e,n,e,u,h.className,t),Oe(t)}}}function Ds(e,t){return Ns(e,t,"gutterClick",!0)}function Ls(e,t){Zn(e.display,t)||Ps(e,t)||Ce(e,t,"contextmenu")||A||e.display.input.onContextMenu(t)}function Ps(e,t){return!!Te(e,"gutterContextMenu")&&Ns(e,t,"gutterContextMenu",!1)}function Is(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),gr(e)}ws.prototype.compare=function(e,t,n){return this.time+ys>e&&0==ut(t,this.pos)&&n==this.button};var Rs={toString:function(){return"CodeMirror.Init"}},Fs={},zs={};function Bs(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Rs&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Rs,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,bo(e)}),!0),n("indentUnit",2,bo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){yo(e),gr(e),Ur(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(ct(r,o))}r++}));for(var i=n.length-1;i>=0;i--)la(e.doc,t,n[i],ct(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Rs&&e.refresh()})),n("specialCharPlaceholder",wn,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",b?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!x),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Is(e),to(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Xa(t),i=n!=Rs&&Xa(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Hs,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=$i(t,e.options.lineNumbers),to(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Fr(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return ki(e)}),!0),n("scrollbarStyle","native",(function(e){Ti(e),ki(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=$i(e.options.gutters,t),to(e)}),!0),n("firstLineNumber",1,to,!0),n("lineNumberFormatter",(function(e){return e}),to,!0),n("showCursorWhenSelecting",!1,Kr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(ni(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,js),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Kr,!0),n("singleCursorHeightPerLine",!0,Kr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,yo,!0),n("addModeClass",!1,yo,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,yo,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function js(e,t,n){var r=n&&n!=Rs;if(!t!=!r){var i=e.display.dragFunctions,o=t?ye:xe;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function Hs(e){e.options.lineWrapping?(I(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(E(e.display.wrapper,"CodeMirror-wrap"),dn(e)),Br(e),Ur(e),gr(e),setTimeout((function(){return ki(e)}),100)}function Us(e,t){var n=this;if(!(this instanceof Us))return new Us(e,t);this.options=t=t?q(t):{},q(Fs,t,!1);var r=t.value;"string"==typeof r?r=new Ea(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Us.inputStyles[t.inputStyle](this),o=this.display=new no(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Is(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ti(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new G,keySeq:null,specialChars:null},t.autofocus&&!b&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),qs(this),Ra(),Ei(this),this.curOp.forceUpdate=!0,Co(this,r),t.autofocus&&!b||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&ti(n)}),20):ni(this),zs)zs.hasOwnProperty(c)&&zs[c](this,t[c],Rs);_i(this),t.finishInit&&t.finishInit(this);for(var u=0;u400}ye(t.scroller,"touchstart",(function(i){if(!Ce(e,i)&&!o(i)&&!Ds(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),ye(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),ye(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Zn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new co(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new co(ct(a.line,0),gt(e.doc,ct(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),Ee(n)}i()})),ye(t.scroller,"touchcancel",i),ye(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(gi(e,t.scroller.scrollTop),bi(e,t.scroller.scrollLeft,!0),ke(e,"scroll",e))})),ye(t.scroller,"mousewheel",(function(t){return so(e,t)})),ye(t.scroller,"DOMMouseScroll",(function(t){return so(e,t)})),ye(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){Ce(e,t)||Ne(t)},over:function(t){Ce(e,t)||(Da(e,t),Ne(t))},start:function(t){return Na(e,t)},drop:Fi(e,Oa),leave:function(t){Ce(e,t)||La(e)}};var c=t.input.getField();ye(c,"keyup",(function(t){return ms.call(e,t)})),ye(c,"keydown",Fi(e,fs)),ye(c,"keypress",Fi(e,gs)),ye(c,"focus",(function(t){return ti(e,t)})),ye(c,"blur",(function(t){return ni(e,t)}))}Us.defaults=Fs,Us.optionHandlers=zs;var Ws=[];function Gs(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=Ct(e,t).state:n="prev");var a=e.options.tabSize,s=tt(o,t),l=W(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(c=o.mode.indent(i,s.text.slice(u.length),s.text),c==K||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?W(tt(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var h="",d=0;if(e.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f)d+=a,h+="\t";if(da,l=Be(t),c=null;if(s&&r.ranges.length>1)if(Vs&&Vs.text.join("\n")==t){if(r.ranges.length%Vs.text.length==0){c=[];for(var u=0;u=0;d--){var f=r.ranges[d],p=f.from(),m=f.to();f.empty()&&(n&&n>0?p=ct(p.line,p.ch-n):e.state.overwrite&&!s?m=ct(m.line,Math.min(tt(o,m.line).text.length,m.ch+ee(l).length)):s&&Vs&&Vs.lineWise&&Vs.text.join("\n")==l.join("\n")&&(p=m=ct(p.line,0)));var g={from:p,to:m,text:c?c[d%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};na(e.doc,g),Pn(e,"inputRead",e,g)}t&&!s&&Xs(e,t),hi(e),e.curOp.updateInput<2&&(e.curOp.updateInput=h),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Zs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||!t.hasFocus()||Ri(t,(function(){return Ks(t,n,0,null,"paste")})),!0}function Xs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Gs(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(tt(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Gs(e,i.head.line,"smart"));a&&Pn(e,"electricInput",e,i.head.line)}}}function Js(e){for(var t=[],n=[],r=0;rn&&(Gs(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&hi(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&qo(this.doc,r,new co(o,c[r].to()),Z)}}})),getTokenAt:function(e,t){return Mt(this,e,t)},getLineTokens:function(e,t){return Mt(this,ct(e),t,!0)},getTokenTypeAt:function(e){e=gt(this.doc,e);var t,n=kt(this,tt(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]o&&(e=o,i=!0),r=tt(this.doc,e)}else r=e;return wr(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-un(r):0)},defaultTextHeight:function(){return Pr(this.display)},defaultCharWidth:function(){return Ir(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=Cr(this,gt(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&li(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:zi(fs),triggerOnKeyPress:zi(gs),triggerOnKeyUp:ms,triggerOnMouseDown:zi(ks),execCommand:function(e){if(ts.hasOwnProperty(e))return ts[e].call(null,this)},triggerElectric:zi((function(e){Xs(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=gt(this.doc,e),a=0;a0&&s(n.charAt(r-1)))--r;while(i.5||this.options.lineWrapping)&&Br(this),ke(this,"refresh",this)})),swapDoc:zi((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Co(this,e),gr(this),this.display.input.reset(),di(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Pn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Se(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function el(e,t,n,r,i){var o=t,a=n,s=tt(e,t.line),l=i&&"rtl"==e.direction?-n:n;function c(){var n=t.line+l;return!(n=e.first+e.size)&&(t=new ct(n,t.ch,t.sticky),s=tt(e,n))}function u(o){var a;if("codepoint"==r){var u=s.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN(u))a=null;else{var h=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new ct(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(h?2:1))),-n)}}else a=i?es(e.cm,s,t,n):_a(s,t,n);if(null==a){if(o||!c())return!1;t=$a(i,e.cm,s,t.line,l)}else t=a;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var h=null,d="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;;p=!1){if(n<0&&!u(!p))break;var m=s.text.charAt(t.ch)||"\n",g=se(m,f)?"w":d&&"\n"==m?"n":!d||/\s/.test(m)?null:"p";if(!d||p||g||(g="s"),h&&h!=g){n<0&&(n=1,u(),t.sticky="after");break}if(g&&(h=g),n>0&&!u(!p))break}var v=_o(e,t,o,a,!0);return ht(o,v)&&(v.hitSide=!0),v}function tl(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,H(e).innerHeight||a(e).documentElement.clientHeight),c=Math.max(l-.5*Pr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){if(o=Sr(e,s,i),!o.outside)break;if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var nl=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new G,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function rl(e,t){var n=or(e,t.line);if(!n||n.hidden)return null;var r=tt(e.doc,t.line),i=nr(n,r,t.line),o=ve(r,e.doc.direction),a="left";if(o){var s=me(o,t.ch);a=s%2?"right":"left"}var l=ur(i.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function il(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function ol(e,t){return t&&(e.bad=!0),e}function al(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function h(e){e&&(u(),o+=e)}function d(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void h(n);var o,f=t.getAttribute("cm-marker");if(f){var p=e.findMarks(ct(r,0),ct(i+1,0),c(+f));return void(p.length&&(o=p[0].find(0))&&h(nt(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&u();for(var g=0;g=t.display.viewTo||o.line=t.display.viewFrom&&rl(t,i)||{node:l[0].measure.map[2],offset:0},u=o.liner.firstLine()&&(a=ct(a.line-1,tt(r.doc,a.line-1).length)),s.ch==tt(r.doc,s.line).text.length&&s.linei.viewTo-1)return!1;a.line==i.viewFrom||0==(e=Hr(r,a.line))?(t=ot(i.view[0].line),n=i.view[0].node):(t=ot(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=Hr(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=ot(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;var h=r.doc.splitLines(al(r,n,c,t,l)),d=nt(r.doc,ct(t,0),ct(l,tt(r.doc,l).text.length));while(h.length>1&&d.length>1)if(ee(h)==ee(d))h.pop(),d.pop(),l--;else{if(h[0]!=d[0])break;h.shift(),d.shift(),t++}var f=0,p=0,m=h[0],g=d[0],v=Math.min(m.length,g.length);while(fa.ch&&b.charCodeAt(b.length-p-1)==y.charCodeAt(y.length-p-1))f--,p++;h[h.length-1]=b.slice(0,b.length-p).replace(/^\u200b+/,""),h[0]=h[0].slice(f).replace(/\u200b+$/,"");var x=ct(t,f),k=ct(l,d.length?ee(d).length-p:0);return h.length>1||h[0]||ut(x,k)?(la(r.doc,h,x,k,"+input"),!0):void 0},nl.prototype.ensurePolled=function(){this.forceCompositionEnd()},nl.prototype.reset=function(){this.forceCompositionEnd()},nl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},nl.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},nl.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Ri(this.cm,(function(){return Ur(e.cm)}))},nl.prototype.setUneditable=function(e){e.contentEditable="false"},nl.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Fi(this.cm,Ks)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},nl.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},nl.prototype.onContextMenu=function(){},nl.prototype.resetPosition=function(){},nl.prototype.needsContentAttribute=!0;var cl=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new G,this.hasSelection=!1,this.composing=null,this.resetting=!1};function ul(e,t){if(t=t?q(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=P(j(e));t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(ye(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(xe(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Us((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function hl(e){e.off=xe,e.on=ye,e.wheelEventPixels=ao,e.Doc=Ea,e.splitLines=Be,e.countColumn=W,e.findColumn=Q,e.isWordChar=ae,e.Pass=K,e.signal=ke,e.Line=fn,e.changeEnd=fo,e.scrollbarModel=Ai,e.Pos=ct,e.cmpPos=ut,e.modes=We,e.mimeModes=Ge,e.resolveMode=Ke,e.getMode=Ze,e.modeExtensions=Xe,e.extendMode=Je,e.copyState=Qe,e.startState=$e,e.innerMode=_e,e.commands=ts,e.keyMap=qa,e.keyName=Za,e.isModifierKey=Ya,e.lookupKey=Va,e.normalizeKeyMap=Ga,e.StringStream=et,e.SharedTextMarker=xa,e.TextMarker=ya,e.LineWidget=ma,e.e_preventDefault=Ee,e.e_stopPropagation=Me,e.e_stop=Ne,e.addClass=I,e.contains=L,e.rmClass=E,e.keyNames=Ba}cl.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!Ce(r,e)){if(r.somethingSelected())Ys({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Js(r);Ys({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,Z):(n.prevInput="",i.value=t.text.join("\n"),F(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),ye(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),ye(i,"paste",(function(e){Ce(r,e)||Zs(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),ye(i,"cut",o),ye(i,"copy",o),ye(e.scroller,"paste",(function(t){if(!Zn(e,t)&&!Ce(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),ye(e.lineSpace,"selectstart",(function(t){Zn(e,t)||Ee(t)})),ye(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),ye(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},cl.prototype.createField=function(e){this.wrapper=_s(),this.textarea=this.wrapper.firstChild;var t=this.cm.options;Qs(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},cl.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},cl.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Zr(e);if(e.options.moveInputWithCursor){var i=Cr(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},cl.prototype.showSelection=function(e){var t=this.cm,n=t.display;O(n.cursorDiv,e.cursors),O(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},cl.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&F(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null));this.resetting=!1}},cl.prototype.getField=function(){return this.textarea},cl.prototype.supportsTouch=function(){return!1},cl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!b||P(j(this.textarea))!=this.textarea))try{this.textarea.focus()}catch(e){}},cl.prototype.blur=function(){this.textarea.blur()},cl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},cl.prototype.receivedFocus=function(){this.slowPoll()},cl.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},cl.prototype.fastPoll=function(){var e=!1,t=this;function n(){var r=t.poll();r||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},cl.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||je(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}var l=0,c=Math.min(r.length,i.length);while(l1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},cl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},cl.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},cl.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=jr(n,e),c=r.scroller.scrollTop;if(o&&!d){var u=n.options.resetSelectionOnContextMenu;u&&-1==n.doc.sel.contains(o)&&Fi(n,Yo)(n.doc,ho(o),Z);var h,f=i.style.cssText,p=t.wrapper.style.cssText,m=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-m.top-5)+"px; left: "+(e.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(h=i.ownerDocument.defaultView.scrollY),r.input.focus(),l&&i.ownerDocument.defaultView.scrollTo(null,h),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=b,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),A){Ne(e);var g=function(){xe(window,"mouseup",g),setTimeout(b,20)};ye(window,"mouseup",g)}else setTimeout(b,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function b(){if(t.contextMenuPending==b&&(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=f,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?Fi(n,ea)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},cl.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},cl.prototype.setUneditable=function(){},cl.prototype.needsContentAttribute=!1,Bs(Us),$s(Us);var dl="iter insert remove copy getEditor constructor".split(" ");for(var fl in Ea.prototype)Ea.prototype.hasOwnProperty(fl)&&V(dl,fl)<0&&(Us.prototype[fl]=function(e){return function(){return e.apply(this.doc,arguments)}}(Ea.prototype[fl]));return Se(Ea),Us.inputStyles={textarea:cl,contenteditable:nl},Us.defineMode=function(e){Us.defaults.mode||"null"==e||(Us.defaults.mode=e),Ve.apply(this,arguments)},Us.defineMIME=Ye,Us.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Us.defineMIME("text/plain","null"),Us.defineExtension=function(e,t){Us.prototype[e]=t},Us.defineDocExtension=function(e,t){Ea.prototype[e]=t},Us.fromTextArea=ul,hl(Us),Us.version="5.65.16",Us}))},"56d3":function(e,t,n){e.exports=n.p+"img/ziyuan_4.svg"},5703:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(){"use strict";var e={};!function(){e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})}}(),function(){e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var t={};e.d(t,{default:function(){return so}});class n{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let r,i,o="KaTeX parse error: "+e;const a=t&&t.loc;if(a&&a.start<=a.end){const e=a.lexer.input;r=a.start,i=a.end,r===e.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";const t=e.slice(r,i).replace(/[^]/g,"$&̲");let n,s;n=r>15?"…"+e.slice(r-15,r):e.slice(0,r),s=i+15":">","<":"<",'"':""","'":"'"},c=/[&><"']/g;function u(e){return String(e).replace(c,e=>l[e])}const h=function(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?h(e.body[0]):e:"font"===e.type?h(e.body):e},d=function(e){const t=h(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},f=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},p=function(e){const t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"};var m={contains:i,deflt:o,escape:u,hyphenate:s,getBaseElem:h,isCharacterBox:d,protocolFromUrl:p};const g={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function v(e){if(e.default)return e.default;const t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class b{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(const t in g)if(g.hasOwnProperty(t)){const n=g[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:v(n)}}reportNonstrict(e,t,n){let i=this.strict;if("function"===typeof i&&(i=i(e,t,n)),i&&"ignore"!==i){if(!0===i||"error"===i)throw new r("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===i?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+i+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,n){let r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(i){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){if(e.url&&!e.protocol){const t=m.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}const t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class y{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return M[O[this.id]]}sub(){return M[N[this.id]]}fracNum(){return M[D[this.id]]}fracDen(){return M[L[this.id]]}cramp(){return M[P[this.id]]}text(){return M[I[this.id]]}isTight(){return this.size>=2}}const w=0,x=1,k=2,C=3,A=4,T=5,S=6,E=7,M=[new y(w,0,!1),new y(x,0,!0),new y(k,1,!1),new y(C,1,!0),new y(A,2,!1),new y(T,2,!0),new y(S,3,!1),new y(E,3,!0)],O=[A,T,A,T,S,E,S,E],N=[T,T,T,T,E,E,E,E],D=[k,C,A,T,S,E,S,E],L=[C,C,T,T,E,E,E,E],P=[x,x,C,C,T,T,E,E],I=[w,x,k,C,k,C,k,C];var R={DISPLAY:M[w],TEXT:M[k],SCRIPT:M[A],SCRIPTSCRIPT:M[S]};const F=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function z(e){for(let t=0;t=r[0]&&e<=r[1])return n.name}}return null}const B=[];function j(e){for(let t=0;t=B[t]&&e<=B[t+1])return!0;return!1}F.forEach(e=>e.blocks.forEach(e=>B.push(...e)));const H=80,U=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},q=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},W=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},G=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"},V=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},Y=function(e){const t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},K=function(e,t,n){const r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+r+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"},Z=function(e,t,n){t*=1e3;let r="";switch(e){case"sqrtMain":r=U(t,H);break;case"sqrtSize1":r=q(t,H);break;case"sqrtSize2":r=W(t,H);break;case"sqrtSize3":r=G(t,H);break;case"sqrtSize4":r=V(t,H);break;case"sqrtTall":r=K(t,H,n)}return r},X=function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}},J={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},Q=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}};class _{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return m.contains(this.classes,e)}toNode(){const e=document.createDocumentFragment();for(let t=0;te.toText();return this.children.map(e).join("")}}var $={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const ee={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},te={"Å":"A","Ð":"D","Þ":"o","å":"a","ð":"d","þ":"o","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"};function ne(e,t){$[e]=t}function re(e,t,n){if(!$[t])throw new Error("Font metrics not found for font: "+t+".");let r=e.charCodeAt(0),i=$[t][r];if(!i&&e[0]in te&&(r=te[e[0]].charCodeAt(0),i=$[t][r]),i||"text"!==n||j(r)&&(i=$[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}const ie={};function oe(e){let t;if(t=e>=5?0:e>=3?1:2,!ie[t]){const e=ie[t]={cssEmPerMu:ee.quad[t]/18};for(const n in ee)ee.hasOwnProperty(n)&&(e[n]=ee[n][t])}return ie[t]}const ae=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],se=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],le=function(e,t){return t.size<2?e:ae[e-1][t.size-1]};class ce{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||ce.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=se[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){const t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new ce(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:le(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:se[e-1]})}havingBaseStyle(e){e=e||this.style.text();const t=le(ce.BASESIZE,e);return this.size===t&&this.textSize===ce.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){let e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==ce.BASESIZE?["sizing","reset-size"+this.size,"size"+ce.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=oe(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ce.BASESIZE=6;var ue=ce;const he={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},de={ex:!0,em:!0,mu:!0},fe=function(e){return"string"!==typeof e&&(e=e.unit),e in he||e in de||"ex"===e},pe=function(e,t){let n;if(e.unit in he)n=he[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{let i;if(i=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=i.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r("Invalid unit: '"+e.unit+"'");n=i.fontMetrics().quad}i!==t&&(n*=i.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},me=function(e){return+e.toFixed(4)+"em"},ge=function(e){return e.filter(e=>e).join(" ")},ve=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");const e=t.getColor();e&&(this.style.color=e)}},be=function(e){const t=document.createElement(e);t.className=ge(this.classes);for(const n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(const n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(let n=0;n",t};class we{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ve.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m.contains(this.classes,e)}toNode(){return be.call(this,"span")}toMarkup(){return ye.call(this,"span")}}class xe{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ve.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m.contains(this.classes,e)}toNode(){return be.call(this,"a")}toMarkup(){return ye.call(this,"a")}}class ke{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return m.contains(this.classes,e)}toNode(){const e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(const t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){let e=''+m.escape(this.alt)+'0&&(t=document.createElement("span"),t.style.marginRight=me(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=ge(this.classes));for(const n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){let e=!1,t="0&&(n+="margin-right:"+this.italic+"em;");for(const i in this.style)this.style.hasOwnProperty(i)&&(n+=m.hyphenate(i)+":"+this.style[i]+";");n&&(e=!0,t+=' style="'+m.escape(n)+'"');const r=m.escape(this.text);return e?(t+=">",t+=r,t+="",t):r}}class Te{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){const e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(const n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(let n=0;n':''}}class Ee{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){const e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(const n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t}toMarkup(){let e=" but got "+String(e)+".")}const Ne={bin:1,close:1,inner:1,open:1,punct:1,rel:1},De={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Le={math:{},text:{}};var Pe=Le;function Ie(e,t,n,r,i,o){Le[e][i]={font:t,group:n,replace:r},o&&r&&(Le[e][r]=Le[e][i])}const Re="math",Fe="text",ze="main",Be="ams",je="accent-token",He="bin",Ue="close",qe="inner",We="mathord",Ge="op-token",Ve="open",Ye="punct",Ke="rel",Ze="spacing",Xe="textord";Ie(Re,ze,Ke,"≡","\\equiv",!0),Ie(Re,ze,Ke,"≺","\\prec",!0),Ie(Re,ze,Ke,"≻","\\succ",!0),Ie(Re,ze,Ke,"∼","\\sim",!0),Ie(Re,ze,Ke,"⊥","\\perp"),Ie(Re,ze,Ke,"⪯","\\preceq",!0),Ie(Re,ze,Ke,"⪰","\\succeq",!0),Ie(Re,ze,Ke,"≃","\\simeq",!0),Ie(Re,ze,Ke,"∣","\\mid",!0),Ie(Re,ze,Ke,"≪","\\ll",!0),Ie(Re,ze,Ke,"≫","\\gg",!0),Ie(Re,ze,Ke,"≍","\\asymp",!0),Ie(Re,ze,Ke,"∥","\\parallel"),Ie(Re,ze,Ke,"⋈","\\bowtie",!0),Ie(Re,ze,Ke,"⌣","\\smile",!0),Ie(Re,ze,Ke,"⊑","\\sqsubseteq",!0),Ie(Re,ze,Ke,"⊒","\\sqsupseteq",!0),Ie(Re,ze,Ke,"≐","\\doteq",!0),Ie(Re,ze,Ke,"⌢","\\frown",!0),Ie(Re,ze,Ke,"∋","\\ni",!0),Ie(Re,ze,Ke,"∝","\\propto",!0),Ie(Re,ze,Ke,"⊢","\\vdash",!0),Ie(Re,ze,Ke,"⊣","\\dashv",!0),Ie(Re,ze,Ke,"∋","\\owns"),Ie(Re,ze,Ye,".","\\ldotp"),Ie(Re,ze,Ye,"⋅","\\cdotp"),Ie(Re,ze,Xe,"#","\\#"),Ie(Fe,ze,Xe,"#","\\#"),Ie(Re,ze,Xe,"&","\\&"),Ie(Fe,ze,Xe,"&","\\&"),Ie(Re,ze,Xe,"ℵ","\\aleph",!0),Ie(Re,ze,Xe,"∀","\\forall",!0),Ie(Re,ze,Xe,"ℏ","\\hbar",!0),Ie(Re,ze,Xe,"∃","\\exists",!0),Ie(Re,ze,Xe,"∇","\\nabla",!0),Ie(Re,ze,Xe,"♭","\\flat",!0),Ie(Re,ze,Xe,"ℓ","\\ell",!0),Ie(Re,ze,Xe,"♮","\\natural",!0),Ie(Re,ze,Xe,"♣","\\clubsuit",!0),Ie(Re,ze,Xe,"℘","\\wp",!0),Ie(Re,ze,Xe,"♯","\\sharp",!0),Ie(Re,ze,Xe,"♢","\\diamondsuit",!0),Ie(Re,ze,Xe,"ℜ","\\Re",!0),Ie(Re,ze,Xe,"♡","\\heartsuit",!0),Ie(Re,ze,Xe,"ℑ","\\Im",!0),Ie(Re,ze,Xe,"♠","\\spadesuit",!0),Ie(Re,ze,Xe,"§","\\S",!0),Ie(Fe,ze,Xe,"§","\\S"),Ie(Re,ze,Xe,"¶","\\P",!0),Ie(Fe,ze,Xe,"¶","\\P"),Ie(Re,ze,Xe,"†","\\dag"),Ie(Fe,ze,Xe,"†","\\dag"),Ie(Fe,ze,Xe,"†","\\textdagger"),Ie(Re,ze,Xe,"‡","\\ddag"),Ie(Fe,ze,Xe,"‡","\\ddag"),Ie(Fe,ze,Xe,"‡","\\textdaggerdbl"),Ie(Re,ze,Ue,"⎱","\\rmoustache",!0),Ie(Re,ze,Ve,"⎰","\\lmoustache",!0),Ie(Re,ze,Ue,"⟯","\\rgroup",!0),Ie(Re,ze,Ve,"⟮","\\lgroup",!0),Ie(Re,ze,He,"∓","\\mp",!0),Ie(Re,ze,He,"⊖","\\ominus",!0),Ie(Re,ze,He,"⊎","\\uplus",!0),Ie(Re,ze,He,"⊓","\\sqcap",!0),Ie(Re,ze,He,"∗","\\ast"),Ie(Re,ze,He,"⊔","\\sqcup",!0),Ie(Re,ze,He,"◯","\\bigcirc",!0),Ie(Re,ze,He,"∙","\\bullet",!0),Ie(Re,ze,He,"‡","\\ddagger"),Ie(Re,ze,He,"≀","\\wr",!0),Ie(Re,ze,He,"⨿","\\amalg"),Ie(Re,ze,He,"&","\\And"),Ie(Re,ze,Ke,"⟵","\\longleftarrow",!0),Ie(Re,ze,Ke,"⇐","\\Leftarrow",!0),Ie(Re,ze,Ke,"⟸","\\Longleftarrow",!0),Ie(Re,ze,Ke,"⟶","\\longrightarrow",!0),Ie(Re,ze,Ke,"⇒","\\Rightarrow",!0),Ie(Re,ze,Ke,"⟹","\\Longrightarrow",!0),Ie(Re,ze,Ke,"↔","\\leftrightarrow",!0),Ie(Re,ze,Ke,"⟷","\\longleftrightarrow",!0),Ie(Re,ze,Ke,"⇔","\\Leftrightarrow",!0),Ie(Re,ze,Ke,"⟺","\\Longleftrightarrow",!0),Ie(Re,ze,Ke,"↦","\\mapsto",!0),Ie(Re,ze,Ke,"⟼","\\longmapsto",!0),Ie(Re,ze,Ke,"↗","\\nearrow",!0),Ie(Re,ze,Ke,"↩","\\hookleftarrow",!0),Ie(Re,ze,Ke,"↪","\\hookrightarrow",!0),Ie(Re,ze,Ke,"↘","\\searrow",!0),Ie(Re,ze,Ke,"↼","\\leftharpoonup",!0),Ie(Re,ze,Ke,"⇀","\\rightharpoonup",!0),Ie(Re,ze,Ke,"↙","\\swarrow",!0),Ie(Re,ze,Ke,"↽","\\leftharpoondown",!0),Ie(Re,ze,Ke,"⇁","\\rightharpoondown",!0),Ie(Re,ze,Ke,"↖","\\nwarrow",!0),Ie(Re,ze,Ke,"⇌","\\rightleftharpoons",!0),Ie(Re,Be,Ke,"≮","\\nless",!0),Ie(Re,Be,Ke,"","\\@nleqslant"),Ie(Re,Be,Ke,"","\\@nleqq"),Ie(Re,Be,Ke,"⪇","\\lneq",!0),Ie(Re,Be,Ke,"≨","\\lneqq",!0),Ie(Re,Be,Ke,"","\\@lvertneqq"),Ie(Re,Be,Ke,"⋦","\\lnsim",!0),Ie(Re,Be,Ke,"⪉","\\lnapprox",!0),Ie(Re,Be,Ke,"⊀","\\nprec",!0),Ie(Re,Be,Ke,"⋠","\\npreceq",!0),Ie(Re,Be,Ke,"⋨","\\precnsim",!0),Ie(Re,Be,Ke,"⪹","\\precnapprox",!0),Ie(Re,Be,Ke,"≁","\\nsim",!0),Ie(Re,Be,Ke,"","\\@nshortmid"),Ie(Re,Be,Ke,"∤","\\nmid",!0),Ie(Re,Be,Ke,"⊬","\\nvdash",!0),Ie(Re,Be,Ke,"⊭","\\nvDash",!0),Ie(Re,Be,Ke,"⋪","\\ntriangleleft"),Ie(Re,Be,Ke,"⋬","\\ntrianglelefteq",!0),Ie(Re,Be,Ke,"⊊","\\subsetneq",!0),Ie(Re,Be,Ke,"","\\@varsubsetneq"),Ie(Re,Be,Ke,"⫋","\\subsetneqq",!0),Ie(Re,Be,Ke,"","\\@varsubsetneqq"),Ie(Re,Be,Ke,"≯","\\ngtr",!0),Ie(Re,Be,Ke,"","\\@ngeqslant"),Ie(Re,Be,Ke,"","\\@ngeqq"),Ie(Re,Be,Ke,"⪈","\\gneq",!0),Ie(Re,Be,Ke,"≩","\\gneqq",!0),Ie(Re,Be,Ke,"","\\@gvertneqq"),Ie(Re,Be,Ke,"⋧","\\gnsim",!0),Ie(Re,Be,Ke,"⪊","\\gnapprox",!0),Ie(Re,Be,Ke,"⊁","\\nsucc",!0),Ie(Re,Be,Ke,"⋡","\\nsucceq",!0),Ie(Re,Be,Ke,"⋩","\\succnsim",!0),Ie(Re,Be,Ke,"⪺","\\succnapprox",!0),Ie(Re,Be,Ke,"≆","\\ncong",!0),Ie(Re,Be,Ke,"","\\@nshortparallel"),Ie(Re,Be,Ke,"∦","\\nparallel",!0),Ie(Re,Be,Ke,"⊯","\\nVDash",!0),Ie(Re,Be,Ke,"⋫","\\ntriangleright"),Ie(Re,Be,Ke,"⋭","\\ntrianglerighteq",!0),Ie(Re,Be,Ke,"","\\@nsupseteqq"),Ie(Re,Be,Ke,"⊋","\\supsetneq",!0),Ie(Re,Be,Ke,"","\\@varsupsetneq"),Ie(Re,Be,Ke,"⫌","\\supsetneqq",!0),Ie(Re,Be,Ke,"","\\@varsupsetneqq"),Ie(Re,Be,Ke,"⊮","\\nVdash",!0),Ie(Re,Be,Ke,"⪵","\\precneqq",!0),Ie(Re,Be,Ke,"⪶","\\succneqq",!0),Ie(Re,Be,Ke,"","\\@nsubseteqq"),Ie(Re,Be,He,"⊴","\\unlhd"),Ie(Re,Be,He,"⊵","\\unrhd"),Ie(Re,Be,Ke,"↚","\\nleftarrow",!0),Ie(Re,Be,Ke,"↛","\\nrightarrow",!0),Ie(Re,Be,Ke,"⇍","\\nLeftarrow",!0),Ie(Re,Be,Ke,"⇏","\\nRightarrow",!0),Ie(Re,Be,Ke,"↮","\\nleftrightarrow",!0),Ie(Re,Be,Ke,"⇎","\\nLeftrightarrow",!0),Ie(Re,Be,Ke,"△","\\vartriangle"),Ie(Re,Be,Xe,"ℏ","\\hslash"),Ie(Re,Be,Xe,"▽","\\triangledown"),Ie(Re,Be,Xe,"◊","\\lozenge"),Ie(Re,Be,Xe,"Ⓢ","\\circledS"),Ie(Re,Be,Xe,"®","\\circledR"),Ie(Fe,Be,Xe,"®","\\circledR"),Ie(Re,Be,Xe,"∡","\\measuredangle",!0),Ie(Re,Be,Xe,"∄","\\nexists"),Ie(Re,Be,Xe,"℧","\\mho"),Ie(Re,Be,Xe,"Ⅎ","\\Finv",!0),Ie(Re,Be,Xe,"⅁","\\Game",!0),Ie(Re,Be,Xe,"‵","\\backprime"),Ie(Re,Be,Xe,"▲","\\blacktriangle"),Ie(Re,Be,Xe,"▼","\\blacktriangledown"),Ie(Re,Be,Xe,"■","\\blacksquare"),Ie(Re,Be,Xe,"⧫","\\blacklozenge"),Ie(Re,Be,Xe,"★","\\bigstar"),Ie(Re,Be,Xe,"∢","\\sphericalangle",!0),Ie(Re,Be,Xe,"∁","\\complement",!0),Ie(Re,Be,Xe,"ð","\\eth",!0),Ie(Fe,ze,Xe,"ð","ð"),Ie(Re,Be,Xe,"╱","\\diagup"),Ie(Re,Be,Xe,"╲","\\diagdown"),Ie(Re,Be,Xe,"□","\\square"),Ie(Re,Be,Xe,"□","\\Box"),Ie(Re,Be,Xe,"◊","\\Diamond"),Ie(Re,Be,Xe,"¥","\\yen",!0),Ie(Fe,Be,Xe,"¥","\\yen",!0),Ie(Re,Be,Xe,"✓","\\checkmark",!0),Ie(Fe,Be,Xe,"✓","\\checkmark"),Ie(Re,Be,Xe,"ℶ","\\beth",!0),Ie(Re,Be,Xe,"ℸ","\\daleth",!0),Ie(Re,Be,Xe,"ℷ","\\gimel",!0),Ie(Re,Be,Xe,"ϝ","\\digamma",!0),Ie(Re,Be,Xe,"ϰ","\\varkappa"),Ie(Re,Be,Ve,"┌","\\@ulcorner",!0),Ie(Re,Be,Ue,"┐","\\@urcorner",!0),Ie(Re,Be,Ve,"└","\\@llcorner",!0),Ie(Re,Be,Ue,"┘","\\@lrcorner",!0),Ie(Re,Be,Ke,"≦","\\leqq",!0),Ie(Re,Be,Ke,"⩽","\\leqslant",!0),Ie(Re,Be,Ke,"⪕","\\eqslantless",!0),Ie(Re,Be,Ke,"≲","\\lesssim",!0),Ie(Re,Be,Ke,"⪅","\\lessapprox",!0),Ie(Re,Be,Ke,"≊","\\approxeq",!0),Ie(Re,Be,He,"⋖","\\lessdot"),Ie(Re,Be,Ke,"⋘","\\lll",!0),Ie(Re,Be,Ke,"≶","\\lessgtr",!0),Ie(Re,Be,Ke,"⋚","\\lesseqgtr",!0),Ie(Re,Be,Ke,"⪋","\\lesseqqgtr",!0),Ie(Re,Be,Ke,"≑","\\doteqdot"),Ie(Re,Be,Ke,"≓","\\risingdotseq",!0),Ie(Re,Be,Ke,"≒","\\fallingdotseq",!0),Ie(Re,Be,Ke,"∽","\\backsim",!0),Ie(Re,Be,Ke,"⋍","\\backsimeq",!0),Ie(Re,Be,Ke,"⫅","\\subseteqq",!0),Ie(Re,Be,Ke,"⋐","\\Subset",!0),Ie(Re,Be,Ke,"⊏","\\sqsubset",!0),Ie(Re,Be,Ke,"≼","\\preccurlyeq",!0),Ie(Re,Be,Ke,"⋞","\\curlyeqprec",!0),Ie(Re,Be,Ke,"≾","\\precsim",!0),Ie(Re,Be,Ke,"⪷","\\precapprox",!0),Ie(Re,Be,Ke,"⊲","\\vartriangleleft"),Ie(Re,Be,Ke,"⊴","\\trianglelefteq"),Ie(Re,Be,Ke,"⊨","\\vDash",!0),Ie(Re,Be,Ke,"⊪","\\Vvdash",!0),Ie(Re,Be,Ke,"⌣","\\smallsmile"),Ie(Re,Be,Ke,"⌢","\\smallfrown"),Ie(Re,Be,Ke,"≏","\\bumpeq",!0),Ie(Re,Be,Ke,"≎","\\Bumpeq",!0),Ie(Re,Be,Ke,"≧","\\geqq",!0),Ie(Re,Be,Ke,"⩾","\\geqslant",!0),Ie(Re,Be,Ke,"⪖","\\eqslantgtr",!0),Ie(Re,Be,Ke,"≳","\\gtrsim",!0),Ie(Re,Be,Ke,"⪆","\\gtrapprox",!0),Ie(Re,Be,He,"⋗","\\gtrdot"),Ie(Re,Be,Ke,"⋙","\\ggg",!0),Ie(Re,Be,Ke,"≷","\\gtrless",!0),Ie(Re,Be,Ke,"⋛","\\gtreqless",!0),Ie(Re,Be,Ke,"⪌","\\gtreqqless",!0),Ie(Re,Be,Ke,"≖","\\eqcirc",!0),Ie(Re,Be,Ke,"≗","\\circeq",!0),Ie(Re,Be,Ke,"≜","\\triangleq",!0),Ie(Re,Be,Ke,"∼","\\thicksim"),Ie(Re,Be,Ke,"≈","\\thickapprox"),Ie(Re,Be,Ke,"⫆","\\supseteqq",!0),Ie(Re,Be,Ke,"⋑","\\Supset",!0),Ie(Re,Be,Ke,"⊐","\\sqsupset",!0),Ie(Re,Be,Ke,"≽","\\succcurlyeq",!0),Ie(Re,Be,Ke,"⋟","\\curlyeqsucc",!0),Ie(Re,Be,Ke,"≿","\\succsim",!0),Ie(Re,Be,Ke,"⪸","\\succapprox",!0),Ie(Re,Be,Ke,"⊳","\\vartriangleright"),Ie(Re,Be,Ke,"⊵","\\trianglerighteq"),Ie(Re,Be,Ke,"⊩","\\Vdash",!0),Ie(Re,Be,Ke,"∣","\\shortmid"),Ie(Re,Be,Ke,"∥","\\shortparallel"),Ie(Re,Be,Ke,"≬","\\between",!0),Ie(Re,Be,Ke,"⋔","\\pitchfork",!0),Ie(Re,Be,Ke,"∝","\\varpropto"),Ie(Re,Be,Ke,"◀","\\blacktriangleleft"),Ie(Re,Be,Ke,"∴","\\therefore",!0),Ie(Re,Be,Ke,"∍","\\backepsilon"),Ie(Re,Be,Ke,"▶","\\blacktriangleright"),Ie(Re,Be,Ke,"∵","\\because",!0),Ie(Re,Be,Ke,"⋘","\\llless"),Ie(Re,Be,Ke,"⋙","\\gggtr"),Ie(Re,Be,He,"⊲","\\lhd"),Ie(Re,Be,He,"⊳","\\rhd"),Ie(Re,Be,Ke,"≂","\\eqsim",!0),Ie(Re,ze,Ke,"⋈","\\Join"),Ie(Re,Be,Ke,"≑","\\Doteq",!0),Ie(Re,Be,He,"∔","\\dotplus",!0),Ie(Re,Be,He,"∖","\\smallsetminus"),Ie(Re,Be,He,"⋒","\\Cap",!0),Ie(Re,Be,He,"⋓","\\Cup",!0),Ie(Re,Be,He,"⩞","\\doublebarwedge",!0),Ie(Re,Be,He,"⊟","\\boxminus",!0),Ie(Re,Be,He,"⊞","\\boxplus",!0),Ie(Re,Be,He,"⋇","\\divideontimes",!0),Ie(Re,Be,He,"⋉","\\ltimes",!0),Ie(Re,Be,He,"⋊","\\rtimes",!0),Ie(Re,Be,He,"⋋","\\leftthreetimes",!0),Ie(Re,Be,He,"⋌","\\rightthreetimes",!0),Ie(Re,Be,He,"⋏","\\curlywedge",!0),Ie(Re,Be,He,"⋎","\\curlyvee",!0),Ie(Re,Be,He,"⊝","\\circleddash",!0),Ie(Re,Be,He,"⊛","\\circledast",!0),Ie(Re,Be,He,"⋅","\\centerdot"),Ie(Re,Be,He,"⊺","\\intercal",!0),Ie(Re,Be,He,"⋒","\\doublecap"),Ie(Re,Be,He,"⋓","\\doublecup"),Ie(Re,Be,He,"⊠","\\boxtimes",!0),Ie(Re,Be,Ke,"⇢","\\dashrightarrow",!0),Ie(Re,Be,Ke,"⇠","\\dashleftarrow",!0),Ie(Re,Be,Ke,"⇇","\\leftleftarrows",!0),Ie(Re,Be,Ke,"⇆","\\leftrightarrows",!0),Ie(Re,Be,Ke,"⇚","\\Lleftarrow",!0),Ie(Re,Be,Ke,"↞","\\twoheadleftarrow",!0),Ie(Re,Be,Ke,"↢","\\leftarrowtail",!0),Ie(Re,Be,Ke,"↫","\\looparrowleft",!0),Ie(Re,Be,Ke,"⇋","\\leftrightharpoons",!0),Ie(Re,Be,Ke,"↶","\\curvearrowleft",!0),Ie(Re,Be,Ke,"↺","\\circlearrowleft",!0),Ie(Re,Be,Ke,"↰","\\Lsh",!0),Ie(Re,Be,Ke,"⇈","\\upuparrows",!0),Ie(Re,Be,Ke,"↿","\\upharpoonleft",!0),Ie(Re,Be,Ke,"⇃","\\downharpoonleft",!0),Ie(Re,ze,Ke,"⊶","\\origof",!0),Ie(Re,ze,Ke,"⊷","\\imageof",!0),Ie(Re,Be,Ke,"⊸","\\multimap",!0),Ie(Re,Be,Ke,"↭","\\leftrightsquigarrow",!0),Ie(Re,Be,Ke,"⇉","\\rightrightarrows",!0),Ie(Re,Be,Ke,"⇄","\\rightleftarrows",!0),Ie(Re,Be,Ke,"↠","\\twoheadrightarrow",!0),Ie(Re,Be,Ke,"↣","\\rightarrowtail",!0),Ie(Re,Be,Ke,"↬","\\looparrowright",!0),Ie(Re,Be,Ke,"↷","\\curvearrowright",!0),Ie(Re,Be,Ke,"↻","\\circlearrowright",!0),Ie(Re,Be,Ke,"↱","\\Rsh",!0),Ie(Re,Be,Ke,"⇊","\\downdownarrows",!0),Ie(Re,Be,Ke,"↾","\\upharpoonright",!0),Ie(Re,Be,Ke,"⇂","\\downharpoonright",!0),Ie(Re,Be,Ke,"⇝","\\rightsquigarrow",!0),Ie(Re,Be,Ke,"⇝","\\leadsto"),Ie(Re,Be,Ke,"⇛","\\Rrightarrow",!0),Ie(Re,Be,Ke,"↾","\\restriction"),Ie(Re,ze,Xe,"‘","`"),Ie(Re,ze,Xe,"$","\\$"),Ie(Fe,ze,Xe,"$","\\$"),Ie(Fe,ze,Xe,"$","\\textdollar"),Ie(Re,ze,Xe,"%","\\%"),Ie(Fe,ze,Xe,"%","\\%"),Ie(Re,ze,Xe,"_","\\_"),Ie(Fe,ze,Xe,"_","\\_"),Ie(Fe,ze,Xe,"_","\\textunderscore"),Ie(Re,ze,Xe,"∠","\\angle",!0),Ie(Re,ze,Xe,"∞","\\infty",!0),Ie(Re,ze,Xe,"′","\\prime"),Ie(Re,ze,Xe,"△","\\triangle"),Ie(Re,ze,Xe,"Γ","\\Gamma",!0),Ie(Re,ze,Xe,"Δ","\\Delta",!0),Ie(Re,ze,Xe,"Θ","\\Theta",!0),Ie(Re,ze,Xe,"Λ","\\Lambda",!0),Ie(Re,ze,Xe,"Ξ","\\Xi",!0),Ie(Re,ze,Xe,"Π","\\Pi",!0),Ie(Re,ze,Xe,"Σ","\\Sigma",!0),Ie(Re,ze,Xe,"Υ","\\Upsilon",!0),Ie(Re,ze,Xe,"Φ","\\Phi",!0),Ie(Re,ze,Xe,"Ψ","\\Psi",!0),Ie(Re,ze,Xe,"Ω","\\Omega",!0),Ie(Re,ze,Xe,"A","Α"),Ie(Re,ze,Xe,"B","Β"),Ie(Re,ze,Xe,"E","Ε"),Ie(Re,ze,Xe,"Z","Ζ"),Ie(Re,ze,Xe,"H","Η"),Ie(Re,ze,Xe,"I","Ι"),Ie(Re,ze,Xe,"K","Κ"),Ie(Re,ze,Xe,"M","Μ"),Ie(Re,ze,Xe,"N","Ν"),Ie(Re,ze,Xe,"O","Ο"),Ie(Re,ze,Xe,"P","Ρ"),Ie(Re,ze,Xe,"T","Τ"),Ie(Re,ze,Xe,"X","Χ"),Ie(Re,ze,Xe,"¬","\\neg",!0),Ie(Re,ze,Xe,"¬","\\lnot"),Ie(Re,ze,Xe,"⊤","\\top"),Ie(Re,ze,Xe,"⊥","\\bot"),Ie(Re,ze,Xe,"∅","\\emptyset"),Ie(Re,Be,Xe,"∅","\\varnothing"),Ie(Re,ze,We,"α","\\alpha",!0),Ie(Re,ze,We,"β","\\beta",!0),Ie(Re,ze,We,"γ","\\gamma",!0),Ie(Re,ze,We,"δ","\\delta",!0),Ie(Re,ze,We,"ϵ","\\epsilon",!0),Ie(Re,ze,We,"ζ","\\zeta",!0),Ie(Re,ze,We,"η","\\eta",!0),Ie(Re,ze,We,"θ","\\theta",!0),Ie(Re,ze,We,"ι","\\iota",!0),Ie(Re,ze,We,"κ","\\kappa",!0),Ie(Re,ze,We,"λ","\\lambda",!0),Ie(Re,ze,We,"μ","\\mu",!0),Ie(Re,ze,We,"ν","\\nu",!0),Ie(Re,ze,We,"ξ","\\xi",!0),Ie(Re,ze,We,"ο","\\omicron",!0),Ie(Re,ze,We,"π","\\pi",!0),Ie(Re,ze,We,"ρ","\\rho",!0),Ie(Re,ze,We,"σ","\\sigma",!0),Ie(Re,ze,We,"τ","\\tau",!0),Ie(Re,ze,We,"υ","\\upsilon",!0),Ie(Re,ze,We,"ϕ","\\phi",!0),Ie(Re,ze,We,"χ","\\chi",!0),Ie(Re,ze,We,"ψ","\\psi",!0),Ie(Re,ze,We,"ω","\\omega",!0),Ie(Re,ze,We,"ε","\\varepsilon",!0),Ie(Re,ze,We,"ϑ","\\vartheta",!0),Ie(Re,ze,We,"ϖ","\\varpi",!0),Ie(Re,ze,We,"ϱ","\\varrho",!0),Ie(Re,ze,We,"ς","\\varsigma",!0),Ie(Re,ze,We,"φ","\\varphi",!0),Ie(Re,ze,He,"∗","*",!0),Ie(Re,ze,He,"+","+"),Ie(Re,ze,He,"−","-",!0),Ie(Re,ze,He,"⋅","\\cdot",!0),Ie(Re,ze,He,"∘","\\circ",!0),Ie(Re,ze,He,"÷","\\div",!0),Ie(Re,ze,He,"±","\\pm",!0),Ie(Re,ze,He,"×","\\times",!0),Ie(Re,ze,He,"∩","\\cap",!0),Ie(Re,ze,He,"∪","\\cup",!0),Ie(Re,ze,He,"∖","\\setminus",!0),Ie(Re,ze,He,"∧","\\land"),Ie(Re,ze,He,"∨","\\lor"),Ie(Re,ze,He,"∧","\\wedge",!0),Ie(Re,ze,He,"∨","\\vee",!0),Ie(Re,ze,Xe,"√","\\surd"),Ie(Re,ze,Ve,"⟨","\\langle",!0),Ie(Re,ze,Ve,"∣","\\lvert"),Ie(Re,ze,Ve,"∥","\\lVert"),Ie(Re,ze,Ue,"?","?"),Ie(Re,ze,Ue,"!","!"),Ie(Re,ze,Ue,"⟩","\\rangle",!0),Ie(Re,ze,Ue,"∣","\\rvert"),Ie(Re,ze,Ue,"∥","\\rVert"),Ie(Re,ze,Ke,"=","="),Ie(Re,ze,Ke,":",":"),Ie(Re,ze,Ke,"≈","\\approx",!0),Ie(Re,ze,Ke,"≅","\\cong",!0),Ie(Re,ze,Ke,"≥","\\ge"),Ie(Re,ze,Ke,"≥","\\geq",!0),Ie(Re,ze,Ke,"←","\\gets"),Ie(Re,ze,Ke,">","\\gt",!0),Ie(Re,ze,Ke,"∈","\\in",!0),Ie(Re,ze,Ke,"","\\@not"),Ie(Re,ze,Ke,"⊂","\\subset",!0),Ie(Re,ze,Ke,"⊃","\\supset",!0),Ie(Re,ze,Ke,"⊆","\\subseteq",!0),Ie(Re,ze,Ke,"⊇","\\supseteq",!0),Ie(Re,Be,Ke,"⊈","\\nsubseteq",!0),Ie(Re,Be,Ke,"⊉","\\nsupseteq",!0),Ie(Re,ze,Ke,"⊨","\\models"),Ie(Re,ze,Ke,"←","\\leftarrow",!0),Ie(Re,ze,Ke,"≤","\\le"),Ie(Re,ze,Ke,"≤","\\leq",!0),Ie(Re,ze,Ke,"<","\\lt",!0),Ie(Re,ze,Ke,"→","\\rightarrow",!0),Ie(Re,ze,Ke,"→","\\to"),Ie(Re,Be,Ke,"≱","\\ngeq",!0),Ie(Re,Be,Ke,"≰","\\nleq",!0),Ie(Re,ze,Ze," ","\\ "),Ie(Re,ze,Ze," ","\\space"),Ie(Re,ze,Ze," ","\\nobreakspace"),Ie(Fe,ze,Ze," ","\\ "),Ie(Fe,ze,Ze," "," "),Ie(Fe,ze,Ze," ","\\space"),Ie(Fe,ze,Ze," ","\\nobreakspace"),Ie(Re,ze,Ze,null,"\\nobreak"),Ie(Re,ze,Ze,null,"\\allowbreak"),Ie(Re,ze,Ye,",",","),Ie(Re,ze,Ye,";",";"),Ie(Re,Be,He,"⊼","\\barwedge",!0),Ie(Re,Be,He,"⊻","\\veebar",!0),Ie(Re,ze,He,"⊙","\\odot",!0),Ie(Re,ze,He,"⊕","\\oplus",!0),Ie(Re,ze,He,"⊗","\\otimes",!0),Ie(Re,ze,Xe,"∂","\\partial",!0),Ie(Re,ze,He,"⊘","\\oslash",!0),Ie(Re,Be,He,"⊚","\\circledcirc",!0),Ie(Re,Be,He,"⊡","\\boxdot",!0),Ie(Re,ze,He,"△","\\bigtriangleup"),Ie(Re,ze,He,"▽","\\bigtriangledown"),Ie(Re,ze,He,"†","\\dagger"),Ie(Re,ze,He,"⋄","\\diamond"),Ie(Re,ze,He,"⋆","\\star"),Ie(Re,ze,He,"◃","\\triangleleft"),Ie(Re,ze,He,"▹","\\triangleright"),Ie(Re,ze,Ve,"{","\\{"),Ie(Fe,ze,Xe,"{","\\{"),Ie(Fe,ze,Xe,"{","\\textbraceleft"),Ie(Re,ze,Ue,"}","\\}"),Ie(Fe,ze,Xe,"}","\\}"),Ie(Fe,ze,Xe,"}","\\textbraceright"),Ie(Re,ze,Ve,"{","\\lbrace"),Ie(Re,ze,Ue,"}","\\rbrace"),Ie(Re,ze,Ve,"[","\\lbrack",!0),Ie(Fe,ze,Xe,"[","\\lbrack",!0),Ie(Re,ze,Ue,"]","\\rbrack",!0),Ie(Fe,ze,Xe,"]","\\rbrack",!0),Ie(Re,ze,Ve,"(","\\lparen",!0),Ie(Re,ze,Ue,")","\\rparen",!0),Ie(Fe,ze,Xe,"<","\\textless",!0),Ie(Fe,ze,Xe,">","\\textgreater",!0),Ie(Re,ze,Ve,"⌊","\\lfloor",!0),Ie(Re,ze,Ue,"⌋","\\rfloor",!0),Ie(Re,ze,Ve,"⌈","\\lceil",!0),Ie(Re,ze,Ue,"⌉","\\rceil",!0),Ie(Re,ze,Xe,"\\","\\backslash"),Ie(Re,ze,Xe,"∣","|"),Ie(Re,ze,Xe,"∣","\\vert"),Ie(Fe,ze,Xe,"|","\\textbar",!0),Ie(Re,ze,Xe,"∥","\\|"),Ie(Re,ze,Xe,"∥","\\Vert"),Ie(Fe,ze,Xe,"∥","\\textbardbl"),Ie(Fe,ze,Xe,"~","\\textasciitilde"),Ie(Fe,ze,Xe,"\\","\\textbackslash"),Ie(Fe,ze,Xe,"^","\\textasciicircum"),Ie(Re,ze,Ke,"↑","\\uparrow",!0),Ie(Re,ze,Ke,"⇑","\\Uparrow",!0),Ie(Re,ze,Ke,"↓","\\downarrow",!0),Ie(Re,ze,Ke,"⇓","\\Downarrow",!0),Ie(Re,ze,Ke,"↕","\\updownarrow",!0),Ie(Re,ze,Ke,"⇕","\\Updownarrow",!0),Ie(Re,ze,Ge,"∐","\\coprod"),Ie(Re,ze,Ge,"⋁","\\bigvee"),Ie(Re,ze,Ge,"⋀","\\bigwedge"),Ie(Re,ze,Ge,"⨄","\\biguplus"),Ie(Re,ze,Ge,"⋂","\\bigcap"),Ie(Re,ze,Ge,"⋃","\\bigcup"),Ie(Re,ze,Ge,"∫","\\int"),Ie(Re,ze,Ge,"∫","\\intop"),Ie(Re,ze,Ge,"∬","\\iint"),Ie(Re,ze,Ge,"∭","\\iiint"),Ie(Re,ze,Ge,"∏","\\prod"),Ie(Re,ze,Ge,"∑","\\sum"),Ie(Re,ze,Ge,"⨂","\\bigotimes"),Ie(Re,ze,Ge,"⨁","\\bigoplus"),Ie(Re,ze,Ge,"⨀","\\bigodot"),Ie(Re,ze,Ge,"∮","\\oint"),Ie(Re,ze,Ge,"∯","\\oiint"),Ie(Re,ze,Ge,"∰","\\oiiint"),Ie(Re,ze,Ge,"⨆","\\bigsqcup"),Ie(Re,ze,Ge,"∫","\\smallint"),Ie(Fe,ze,qe,"…","\\textellipsis"),Ie(Re,ze,qe,"…","\\mathellipsis"),Ie(Fe,ze,qe,"…","\\ldots",!0),Ie(Re,ze,qe,"…","\\ldots",!0),Ie(Re,ze,qe,"⋯","\\@cdots",!0),Ie(Re,ze,qe,"⋱","\\ddots",!0),Ie(Re,ze,Xe,"⋮","\\varvdots"),Ie(Re,ze,je,"ˊ","\\acute"),Ie(Re,ze,je,"ˋ","\\grave"),Ie(Re,ze,je,"¨","\\ddot"),Ie(Re,ze,je,"~","\\tilde"),Ie(Re,ze,je,"ˉ","\\bar"),Ie(Re,ze,je,"˘","\\breve"),Ie(Re,ze,je,"ˇ","\\check"),Ie(Re,ze,je,"^","\\hat"),Ie(Re,ze,je,"⃗","\\vec"),Ie(Re,ze,je,"˙","\\dot"),Ie(Re,ze,je,"˚","\\mathring"),Ie(Re,ze,We,"","\\@imath"),Ie(Re,ze,We,"","\\@jmath"),Ie(Re,ze,Xe,"ı","ı"),Ie(Re,ze,Xe,"ȷ","ȷ"),Ie(Fe,ze,Xe,"ı","\\i",!0),Ie(Fe,ze,Xe,"ȷ","\\j",!0),Ie(Fe,ze,Xe,"ß","\\ss",!0),Ie(Fe,ze,Xe,"æ","\\ae",!0),Ie(Fe,ze,Xe,"œ","\\oe",!0),Ie(Fe,ze,Xe,"ø","\\o",!0),Ie(Fe,ze,Xe,"Æ","\\AE",!0),Ie(Fe,ze,Xe,"Œ","\\OE",!0),Ie(Fe,ze,Xe,"Ø","\\O",!0),Ie(Fe,ze,je,"ˊ","\\'"),Ie(Fe,ze,je,"ˋ","\\`"),Ie(Fe,ze,je,"ˆ","\\^"),Ie(Fe,ze,je,"˜","\\~"),Ie(Fe,ze,je,"ˉ","\\="),Ie(Fe,ze,je,"˘","\\u"),Ie(Fe,ze,je,"˙","\\."),Ie(Fe,ze,je,"¸","\\c"),Ie(Fe,ze,je,"˚","\\r"),Ie(Fe,ze,je,"ˇ","\\v"),Ie(Fe,ze,je,"¨",'\\"'),Ie(Fe,ze,je,"˝","\\H"),Ie(Fe,ze,je,"◯","\\textcircled");const Je={"--":!0,"---":!0,"``":!0,"''":!0};Ie(Fe,ze,Xe,"–","--",!0),Ie(Fe,ze,Xe,"–","\\textendash"),Ie(Fe,ze,Xe,"—","---",!0),Ie(Fe,ze,Xe,"—","\\textemdash"),Ie(Fe,ze,Xe,"‘","`",!0),Ie(Fe,ze,Xe,"‘","\\textquoteleft"),Ie(Fe,ze,Xe,"’","'",!0),Ie(Fe,ze,Xe,"’","\\textquoteright"),Ie(Fe,ze,Xe,"“","``",!0),Ie(Fe,ze,Xe,"“","\\textquotedblleft"),Ie(Fe,ze,Xe,"”","''",!0),Ie(Fe,ze,Xe,"”","\\textquotedblright"),Ie(Re,ze,Xe,"°","\\degree",!0),Ie(Fe,ze,Xe,"°","\\degree"),Ie(Fe,ze,Xe,"°","\\textdegree",!0),Ie(Re,ze,Xe,"£","\\pounds"),Ie(Re,ze,Xe,"£","\\mathsterling",!0),Ie(Fe,ze,Xe,"£","\\pounds"),Ie(Fe,ze,Xe,"£","\\textsterling",!0),Ie(Re,Be,Xe,"✠","\\maltese"),Ie(Fe,Be,Xe,"✠","\\maltese");const Qe='0123456789/@."';for(let lo=0;lo0)return at(i,l,r,t,o.concat(c));if(s){let e,l;if("boldsymbol"===s){const a=lt(i,r,t,o,n);e=a.fontName,l=[a.fontClass]}else a?(e=Ct[s].fontName,l=[s]):(e=kt(s,t.fontWeight,t.fontShape),l=[s,t.fontWeight,t.fontShape]);if(ot(i,e,r).metrics)return at(i,e,r,t,o.concat(l));if(Je.hasOwnProperty(i)&&"Typewriter"===e.slice(0,10)){const n=[];for(let a=0;a{if(ge(e.classes)!==ge(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){const t=e.classes[0];if("mbin"===t||"mord"===t)return!1}for(const n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(const n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},ht=e=>{for(let t=0;tt&&(t=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>r&&(r=o.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},ft=function(e,t,n,r){const i=new we(e,t,n,r);return dt(i),i},pt=(e,t,n,r)=>new we(e,t,n,r),mt=function(e,t,n){const r=ft([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=me(r.height),r.maxFontSize=1,r},gt=function(e,t,n,r){const i=new xe(e,t,n,r);return dt(i),i},vt=function(e){const t=new _(e);return dt(t),t},bt=function(e,t){return e instanceof _?ft([],[e],t):e},yt=function(e){if("individualShift"===e.positionType){const t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth;let i=r;for(let e=1;e{const n=ft(["mspace"],[],t),r=pe(e,t);return n.style.marginRight=me(r),n},kt=function(e,t,n){let r,i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return r="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",i+"-"+r},Ct={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},At={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Tt=function(e,t){const[n,r,i]=At[e],o=new Se(n),a=new Te([o],{width:me(r),height:me(i),style:"width:"+me(r),viewBox:"0 0 "+1e3*r+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),s=pt(["overlay"],[a],t);return s.height=i,s.style.height=me(i),s.style.width=me(r),s};var St={fontMap:Ct,makeSymbol:at,mathsym:st,makeSpan:ft,makeSvgSpan:pt,makeLineSpan:mt,makeAnchor:gt,makeFragment:vt,wrapFragment:bt,makeVList:wt,makeOrd:ct,makeGlue:xt,staticSvg:Tt,svgData:At,tryCombineChars:ht};const Et={number:3,unit:"mu"},Mt={number:4,unit:"mu"},Ot={number:5,unit:"mu"},Nt={mord:{mop:Et,mbin:Mt,mrel:Ot,minner:Et},mop:{mord:Et,mop:Et,mrel:Ot,minner:Et},mbin:{mord:Mt,mop:Mt,mopen:Mt,minner:Mt},mrel:{mord:Ot,mop:Ot,mopen:Ot,minner:Ot},mopen:{},mclose:{mop:Et,mbin:Mt,mrel:Ot,minner:Et},mpunct:{mord:Et,mop:Et,mrel:Ot,mopen:Et,mclose:Et,mpunct:Et,minner:Et},minner:{mord:Et,mop:Et,mbin:Mt,mrel:Ot,mopen:Et,mpunct:Et,minner:Et}},Dt={mord:{mop:Et},mop:{mord:Et,mop:Et},mbin:{},mrel:{},mopen:{},mclose:{mop:Et},mpunct:{},minner:{mop:Et}},Lt={},Pt={},It={};function Rt(e){let{type:t,names:n,props:r,handler:i,htmlBuilder:o,mathmlBuilder:a}=e;const s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i};for(let l=0;l{const n=t.classes[0],r=e.classes[0];"mbin"===n&&m.contains(Ut,r)?t.classes[0]="mord":"mbin"===r&&m.contains(Ht,n)&&(e.classes[0]="mord")},{node:a},s,l),Vt(i,(e,t)=>{const n=Zt(t),r=Zt(e),i=n&&r?e.hasClass("mtight")?Dt[n][r]:Nt[n][r]:null;if(i)return St.makeGlue(i,o)},{node:a},s,l),i},Vt=function(e,t,n,r,i){r&&e.push(r);let o=0;for(;on=>{e.splice(t+1,0,n),o++})(o)}r&&e.pop()},Yt=function(e){return e instanceof _||e instanceof xe||e instanceof we&&e.hasClass("enclosing")?e:null},Kt=function(e,t){const n=Yt(e);if(n){const e=n.children;if(e.length){if("right"===t)return Kt(e[e.length-1],"right");if("left"===t)return Kt(e[0],"left")}}return e},Zt=function(e,t){return e?(t&&(e=Kt(e,t)),Wt[e.classes[0]]||null):null},Xt=function(e,t){const n=["nulldelimiter"].concat(e.baseSizingClasses());return jt(t.concat(n))},Jt=function(e,t,n){if(!e)return jt();if(Pt[e.type]){let r=Pt[e.type](e,t);if(n&&t.size!==n.size){r=jt(t.sizingClasses(n),[r],t);const e=t.sizeMultiplier/n.sizeMultiplier;r.height*=e,r.depth*=e}return r}throw new r("Got group of unknown type: '"+e.type+"'")};function Qt(e,t){const n=jt(["base"],e,t),r=jt(["strut"]);return r.style.height=me(n.height+n.depth),n.depth&&(r.style.verticalAlign=me(-n.depth)),n.children.unshift(r),n}function _t(e,t){let n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);const r=Gt(e,t,"root");let i;2===r.length&&r[1].hasClass("tag")&&(i=r.pop());const o=[];let a,s=[];for(let c=0;c0&&(o.push(Qt(s,t)),s=[]),o.push(r[c]));s.length>0&&o.push(Qt(s,t)),n?(a=Qt(Gt(n,t,!0)),a.classes=["tag"],o.push(a)):i&&o.push(i);const l=jt(["katex-html"],o);if(l.setAttribute("aria-hidden","true"),a){const e=a.children[0];e.style.height=me(l.height+l.depth),l.depth&&(e.style.verticalAlign=me(-l.depth))}return l}function $t(e){return new _(e)}class en{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){const e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=ge(this.classes));for(let t=0;t0&&(e+=' class ="'+m.escape(ge(this.classes))+'"'),e+=">";for(let t=0;t",e}toText(){return this.children.map(e=>e.toText()).join("")}}class tn{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return m.escape(this.toText())}toText(){return this.text}}class nn{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}toNode(){if(this.character)return document.createTextNode(this.character);{const e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",me(this.width)),e}}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var rn={MathNode:en,TextNode:tn,SpaceNode:nn,newDocumentFragment:$t};const on=function(e,t,n){return!Pe[t][e]||!Pe[t][e].replace||55349===e.charCodeAt(0)||Je.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=Pe[t][e].replace),new rn.TextNode(e)},an=function(e){return 1===e.length?e[0]:new rn.MathNode("mrow",e)},sn=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";const n=t.font;if(!n||"mathnormal"===n)return null;const r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";let i=e.text;if(m.contains(["\\imath","\\jmath"],i))return null;Pe[r][i]&&Pe[r][i].replace&&(i=Pe[r][i].replace);const o=St.fontMap[n].fontName;return re(i,o,r)?St.fontMap[n].variant:null},ln=function(e,t,n){if(1===e.length){const r=un(e[0],t);return n&&r instanceof en&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}const r=[];let i;for(let o=0;o0&&(e.text=e.text.slice(0,1)+"̸"+e.text.slice(1),r.pop())}}}r.push(n),i=n}return r},cn=function(e,t,n){return an(ln(e,t,n))},un=function(e,t){if(!e)return new rn.MathNode("mrow");if(It[e.type]){const n=It[e.type](e,t);return n}throw new r("Got group of unknown type: '"+e.type+"'")};function hn(e,t,n,r,i){const o=ln(e,n);let a;a=1===o.length&&o[0]instanceof en&&m.contains(["mrow","mtable"],o[0].type)?o[0]:new rn.MathNode("mrow",o);const s=new rn.MathNode("annotation",[new rn.TextNode(t)]);s.setAttribute("encoding","application/x-tex");const l=new rn.MathNode("semantics",[a,s]),c=new rn.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");const u=i?"katex":"katex-mathml";return St.makeSpan([u],[c])}const dn=function(e){return new ue({style:e.displayMode?R.DISPLAY:R.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},fn=function(e,t){if(t.displayMode){const n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=St.makeSpan(n,[e])}return e},pn=function(e,t,n){const r=dn(n);let i;if("mathml"===n.output)return hn(e,t,r,n.displayMode,!0);if("html"===n.output){const t=_t(e,r);i=St.makeSpan(["katex"],[t])}else{const o=hn(e,t,r,n.displayMode,!1),a=_t(e,r);i=St.makeSpan(["katex"],[o,a])}return fn(i,n)},mn=function(e,t,n){const r=dn(n),i=_t(e,r),o=St.makeSpan(["katex"],[i]);return fn(o,n)};const gn={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},vn=function(e){const t=new rn.MathNode("mo",[new rn.TextNode(gn[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},bn={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},yn=function(e){return"ordgroup"===e.type?e.body.length:1},wn=function(e,t){function n(){let n=4e5;const r=e.label.slice(1);if(m.contains(["widehat","widecheck","widetilde","utilde"],r)){const i=e,o=yn(i.base);let a,s,l;if(o>5)"widehat"===r||"widecheck"===r?(a=420,n=2364,l=.42,s=r+"4"):(a=312,n=2340,l=.34,s="tilde4");else{const e=[1,1,2,2,3,3][o];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][e],a=[0,239,300,360,420][e],l=[0,.24,.3,.3,.36,.42][e],s=r+e):(n=[0,600,1033,2339,2340][e],a=[0,260,286,306,312][e],l=[0,.26,.286,.3,.306,.34][e],s="tilde"+e)}const c=new Se(s),u=new Te([c],{width:"100%",height:me(l),viewBox:"0 0 "+n+" "+a,preserveAspectRatio:"none"});return{span:St.makeSvgSpan([],[u],t),minWidth:0,height:l}}{const e=[],i=bn[r],[o,a,s]=i,l=s/1e3,c=o.length;let u,h;if(1===c){const e=i[3];u=["hide-tail"],h=[e]}else if(2===c)u=["halfarrow-left","halfarrow-right"],h=["xMinYMin","xMaxYMin"];else{if(3!==c)throw new Error("Correct katexImagesData or update code here to support\n "+c+" children.");u=["brace-left","brace-center","brace-right"],h=["xMinYMin","xMidYMin","xMaxYMin"]}for(let r=0;r0&&(r.style.minWidth=me(i)),r},xn=function(e,t,n,r,i){let o;const a=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(o=St.makeSpan(["stretchy",t],[],i),"fbox"===t){const e=i.color&&i.getColor();e&&(o.style.borderColor=e)}}else{const e=[];/^[bx]cancel$/.test(t)&&e.push(new Ee({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&e.push(new Ee({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const n=new Te(e,{width:"100%",height:me(a)});o=St.makeSvgSpan([],[n],i)}return o.height=a,o.style.height=me(a),o};var kn={encloseSpan:xn,mathMLnode:vn,svgSpan:wn};function Cn(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function An(e){const t=Tn(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Tn(e){return e&&("atom"===e.type||De.hasOwnProperty(e.type))?e:null}const Sn=(e,t)=>{let n,r,i;e&&"supsub"===e.type?(r=Cn(e.base,"accent"),n=r.base,e.base=n,i=Oe(Jt(e,t)),e.base=r):(r=Cn(e,"accent"),n=r.base);const o=Jt(n,t.havingCrampedStyle()),a=r.isShifty&&m.isCharacterBox(n);let s=0;if(a){const e=m.getBaseElem(n),r=Jt(e,t.havingCrampedStyle());s=Me(r).skew}const l="\\c"===r.label;let c,u=l?o.height+o.depth:Math.min(o.height,t.fontMetrics().xHeight);if(r.isStretchy)c=kn.svgSpan(r,t),c=St.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:c,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+me(2*s)+")",marginLeft:me(2*s)}:void 0}]},t);else{let e,n;"\\vec"===r.label?(e=St.staticSvg("vec",t),n=St.svgData.vec[1]):(e=St.makeOrd({mode:r.mode,text:r.label},t,"textord"),e=Me(e),e.italic=0,n=e.width,l&&(u+=e.depth)),c=St.makeSpan(["accent-body"],[e]);const i="\\textcircled"===r.label;i&&(c.classes.push("accent-full"),u=o.height);let a=s;i||(a-=n/2),c.style.left=me(a),"\\textcircled"===r.label&&(c.style.top=".2em"),c=St.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-u},{type:"elem",elem:c}]},t)}const h=St.makeSpan(["mord","accent"],[c],t);return i?(i.children[0]=h,i.height=Math.max(h.height,i.height),i.classes[0]="mord",i):h},En=(e,t)=>{const n=e.isStretchy?kn.mathMLnode(e.label):new rn.MathNode("mo",[on(e.label,e.mode)]),r=new rn.MathNode("mover",[un(e.base,t),n]);return r.setAttribute("accent","true"),r},Mn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Rt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{const n=zt(t[0]),r=!Mn.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Sn,mathmlBuilder:En}),Rt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{const n=t[0];let r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Sn,mathmlBuilder:En}),Rt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{const n=Jt(e.base,t),r=kn.svgSpan(e,t),i="\\utilde"===e.label?.12:0,o=St.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return St.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:(e,t)=>{const n=kn.mathMLnode(e.label),r=new rn.MathNode("munder",[un(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});const On=e=>{const t=new rn.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Rt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){const n=t.style;let r=t.havingStyle(n.sup());const i=St.wrapFragment(Jt(e.body,r,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";let a;i.classes.push(o+"-arrow-pad"),e.below&&(r=t.havingStyle(n.sub()),a=St.wrapFragment(Jt(e.below,r,t),t),a.classes.push(o+"-arrow-pad"));const s=kn.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*s.height;let c,u=-t.fontMetrics().axisHeight-.5*s.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=i.depth),a){const e=-t.fontMetrics().axisHeight+a.height+.5*s.height+.111;c=St.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:s,shift:l},{type:"elem",elem:a,shift:e}]},t)}else c=St.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:s,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),St.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){const n=kn.mathMLnode(e.label);let r;if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){const i=On(un(e.body,t));if(e.below){const o=On(un(e.below,t));r=new rn.MathNode("munderover",[n,o,i])}else r=new rn.MathNode("mover",[n,i])}else if(e.below){const i=On(un(e.below,t));r=new rn.MathNode("munder",[n,i])}else r=On(),r=new rn.MathNode("mover",[n,r]);return r}});const Nn=St.makeSpan;function Dn(e,t){const n=Gt(e.body,t,!0);return Nn([e.mclass],n,t)}function Ln(e,t){let n;const r=ln(e.body,t);return"minner"===e.mclass?n=new rn.MathNode("mpadded",r):"mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new rn.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new rn.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Rt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Bt(i),isCharacterBox:m.isCharacterBox(i)}},htmlBuilder:Dn,mathmlBuilder:Ln});const Pn=e=>{const t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Rt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){let{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Pn(t[0]),body:Bt(t[1]),isCharacterBox:m.isCharacterBox(t[1])}}}),Rt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){let{parser:n,funcName:r}=e;const i=t[1],o=t[0];let a;a="\\stackrel"!==r?Pn(i):"mrel";const s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==r,body:Bt(i)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===r?null:o,sub:"\\underset"===r?o:null};return{type:"mclass",mode:n.mode,mclass:a,body:[l],isCharacterBox:m.isCharacterBox(l)}},htmlBuilder:Dn,mathmlBuilder:Ln}),Rt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Pn(t[0]),body:Bt(t[0])}},htmlBuilder(e,t){const n=Gt(e.body,t,!0),r=St.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){const n=ln(e.body,t),r=new rn.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});const In={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Rn=()=>({type:"styling",body:[],mode:"math",style:"display"}),Fn=e=>"textord"===e.type&&"@"===e.text,zn=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function Bn(e,t,n){const r=In[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{const e=n.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[i],[]),a=n.callFunction("\\\\cdright",[t[1]],[]),s={type:"ordgroup",mode:"math",body:[e,o,a]};return n.callFunction("\\\\cdparent",[s],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const e={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[e],[])}default:return{type:"textord",text:" ",mode:"math"}}}function jn(e){const t=[];e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();while(1){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();const n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new r("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}let n=[];const i=[n];for(let a=0;a-1);else{if(!("<>AV".indexOf(i)>-1))throw new r('Expected one of "<>AV=|." after @',o[t]);for(let e=0;e<2;e++){let n=!0;for(let s=t+1;s=1114111)throw new r("\\@char with invalid code point "+a);return l<=65535?s=String.fromCharCode(l):(l-=65536,s=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:n.mode,text:s}}});const Hn=(e,t)=>{const n=Gt(e.body,t.withColor(e.color),!1);return St.makeFragment(n)},Un=(e,t)=>{const n=ln(e.body,t.withColor(e.color)),r=new rn.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Rt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){let{parser:n}=e;const r=Cn(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:Bt(i)}},htmlBuilder:Hn,mathmlBuilder:Un}),Rt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){let{parser:n,breakOnTokenText:r}=e;const i=Cn(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);const o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:o}},htmlBuilder:Hn,mathmlBuilder:Un}),Rt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){let{parser:r}=e;const i="["===r.gullet.future().text?r.parseSizeGroup(!0):null,o=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:o,size:i&&Cn(i,"size").value}},htmlBuilder(e,t){const n=St.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=me(pe(e.size,t)))),n},mathmlBuilder(e,t){const n=new rn.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",me(pe(e.size,t)))),n}});const qn={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Wn=e=>{const t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new r("Expected a control sequence",e);return t},Gn=e=>{let t=e.gullet.popToken();return"="===t.text&&(t=e.gullet.popToken()," "===t.text&&(t=e.gullet.popToken())),t},Vn=(e,t,n,r)=>{let i=e.gullet.macros.get(n.text);null==i&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};Rt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t,funcName:n}=e;t.consumeSpaces();const i=t.fetch();if(qn[i.text])return"\\global"!==n&&"\\\\globallong"!==n||(i.text=qn[i.text]),Cn(t.parseFunction(),"internal");throw new r("Invalid token after macro prefix",i)}}),Rt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e,i=t.gullet.popToken();const o=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new r("Expected a control sequence",i);let a,s=0;const l=[[]];while("{"!==t.gullet.future().text)if(i=t.gullet.popToken(),"#"===i.text){if("{"===t.gullet.future().text){a=t.gullet.future(),l[s].push("{");break}if(i=t.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new r('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==s+1)throw new r('Argument number "'+i.text+'" out of order');s++,l.push([])}else{if("EOF"===i.text)throw new r("Expected a macro definition");l[s].push(i.text)}let{tokens:c}=t.gullet.consumeArg();return a&&c.unshift(a),"\\edef"!==n&&"\\xdef"!==n||(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(o,{tokens:c,numArgs:s,delimiters:l},n===qn[n]),{type:"internal",mode:t.mode}}}),Rt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Wn(t.gullet.popToken());t.gullet.consumeSpaces();const i=Gn(t);return Vn(t,r,i,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),Rt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Wn(t.gullet.popToken()),i=t.gullet.popToken(),o=t.gullet.popToken();return Vn(t,r,o,"\\\\globalfuture"===n),t.gullet.pushToken(o),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});const Yn=function(e,t,n){const r=Pe.math[e]&&Pe.math[e].replace,i=re(r||e,t,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},Kn=function(e,t,n,r){const i=n.havingBaseStyle(t),o=St.makeSpan(r.concat(i.sizingClasses(n)),[e],n),a=i.sizeMultiplier/n.sizeMultiplier;return o.height*=a,o.depth*=a,o.maxFontSize=i.sizeMultiplier,o},Zn=function(e,t,n){const r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=me(i),e.height-=i,e.depth+=i},Xn=function(e,t,n,r,i,o){const a=St.makeSymbol(e,"Main-Regular",i,r),s=Kn(a,t,r,o);return n&&Zn(s,r,t),s},Jn=function(e,t,n,r){return St.makeSymbol(e,"Size"+t+"-Regular",n,r)},Qn=function(e,t,n,r,i,o){const a=Jn(e,t,i,r),s=Kn(St.makeSpan(["delimsizing","size"+t],[a],r),R.TEXT,r,o);return n&&Zn(s,r,R.TEXT),s},_n=function(e,t,n){let r;r="Size1-Regular"===t?"delim-size1":"delim-size4";const i=St.makeSpan(["delimsizinginner",r],[St.makeSpan([],[St.makeSymbol(e,t,n)])]);return{type:"elem",elem:i}},$n=function(e,t,n){const r=$["Size4-Regular"][e.charCodeAt(0)]?$["Size4-Regular"][e.charCodeAt(0)][4]:$["Size1-Regular"][e.charCodeAt(0)][4],i=new Se("inner",X(e,Math.round(1e3*t))),o=new Te([i],{width:me(r),height:me(t),style:"width:"+me(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=St.makeSvgSpan([],[o],n);return a.height=t,a.style.height=me(t),a.style.width=me(r),{type:"elem",elem:a}},er=.008,tr={type:"kern",size:-1*er},nr=["|","\\lvert","\\rvert","\\vert"],rr=["\\|","\\lVert","\\rVert","\\Vert"],ir=function(e,t,n,r,i,o){let a,s,l,c,u="",h=0;a=l=c=e,s=null;let d="Size1-Regular";"\\uparrow"===e?l=c="⏐":"\\Uparrow"===e?l=c="‖":"\\downarrow"===e?a=l="⏐":"\\Downarrow"===e?a=l="‖":"\\updownarrow"===e?(a="\\uparrow",l="⏐",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="‖",c="\\Downarrow"):m.contains(nr,e)?(l="∣",u="vert",h=333):m.contains(rr,e)?(l="∥",u="doublevert",h=556):"["===e||"\\lbrack"===e?(a="⎡",l="⎢",c="⎣",d="Size4-Regular",u="lbrack",h=667):"]"===e||"\\rbrack"===e?(a="⎤",l="⎥",c="⎦",d="Size4-Regular",u="rbrack",h=667):"\\lfloor"===e||"⌊"===e?(l=a="⎢",c="⎣",d="Size4-Regular",u="lfloor",h=667):"\\lceil"===e||"⌈"===e?(a="⎡",l=c="⎢",d="Size4-Regular",u="lceil",h=667):"\\rfloor"===e||"⌋"===e?(l=a="⎥",c="⎦",d="Size4-Regular",u="rfloor",h=667):"\\rceil"===e||"⌉"===e?(a="⎤",l=c="⎥",d="Size4-Regular",u="rceil",h=667):"("===e||"\\lparen"===e?(a="⎛",l="⎜",c="⎝",d="Size4-Regular",u="lparen",h=875):")"===e||"\\rparen"===e?(a="⎞",l="⎟",c="⎠",d="Size4-Regular",u="rparen",h=875):"\\{"===e||"\\lbrace"===e?(a="⎧",s="⎨",c="⎩",l="⎪",d="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",s="⎬",c="⎭",l="⎪",d="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",c="⎩",l="⎪",d="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",c="⎭",l="⎪",d="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",c="⎭",l="⎪",d="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",c="⎩",l="⎪",d="Size4-Regular");const f=Yn(a,d,i),p=f.height+f.depth,g=Yn(l,d,i),v=g.height+g.depth,b=Yn(c,d,i),y=b.height+b.depth;let w=0,x=1;if(null!==s){const e=Yn(s,d,i);w=e.height+e.depth,x=2}const k=p+y+w,C=Math.max(0,Math.ceil((t-k)/(x*v))),A=k+C*x*v;let T=r.fontMetrics().axisHeight;n&&(T*=r.sizeMultiplier);const S=A/2-T,E=[];if(u.length>0){const e=A-p-y,t=Math.round(1e3*A),n=Q(u,Math.round(1e3*e)),i=new Se(u,n),o=(h/1e3).toFixed(3)+"em",a=(t/1e3).toFixed(3)+"em",s=new Te([i],{width:o,height:a,viewBox:"0 0 "+h+" "+t}),l=St.makeSvgSpan([],[s],r);l.height=t/1e3,l.style.width=o,l.style.height=a,E.push({type:"elem",elem:l})}else{if(E.push(_n(c,d,i)),E.push(tr),null===s){const e=A-p-y+2*er;E.push($n(l,e,r))}else{const e=(A-p-y-w)/2+2*er;E.push($n(l,e,r)),E.push(tr),E.push(_n(s,d,i)),E.push(tr),E.push($n(l,e,r))}E.push(tr),E.push(_n(a,d,i))}const M=r.havingBaseStyle(R.TEXT),O=St.makeVList({positionType:"bottom",positionData:S,children:E},M);return Kn(St.makeSpan(["delimsizing","mult"],[O],M),R.TEXT,r,o)},or=80,ar=.08,sr=function(e,t,n,r,i){const o=Z(e,r,n),a=new Se(e,o),s=new Te([a],{width:"400em",height:me(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return St.makeSvgSpan(["hide-tail"],[s],i)},lr=function(e,t){const n=t.havingBaseSizing(),r=br("\\surd",e*n.sizeMultiplier,gr,n);let i=n.sizeMultiplier;const o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);let a,s,l=0,c=0,u=0;return"small"===r.type?(u=1e3+1e3*o+or,e<1?i=1:e<1.4&&(i=.7),l=(1+o+ar)/i,c=(1+o)/i,a=sr("sqrtMain",l,u,o,t),a.style.minWidth="0.853em",s=.833/i):"large"===r.type?(u=(1e3+or)*dr[r.size],c=(dr[r.size]+o)/i,l=(dr[r.size]+o+ar)/i,a=sr("sqrtSize"+r.size,l,u,o,t),a.style.minWidth="1.02em",s=1/i):(l=e+o+ar,c=e+o,u=Math.floor(1e3*e+o)+or,a=sr("sqrtTall",l,u,o,t),a.style.minWidth="0.742em",s=1.056),a.height=c,a.style.height=me(l),{span:a,advanceWidth:s,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*i}},cr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],ur=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],hr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],dr=[0,1.2,1.8,2.4,3],fr=function(e,t,n,i,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),m.contains(cr,e)||m.contains(hr,e))return Qn(e,t,!1,n,i,o);if(m.contains(ur,e))return ir(e,dr[t],!1,n,i,o);throw new r("Illegal delimiter: '"+e+"'")},pr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],mr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"stack"}],gr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],vr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},br=function(e,t,n,r){const i=Math.min(2,3-r.style.size);for(let o=i;ot)return n[o]}return n[n.length-1]},yr=function(e,t,n,r,i,o){let a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=m.contains(hr,e)?pr:m.contains(cr,e)?gr:mr;const s=br(e,t,a,r);return"small"===s.type?Xn(e,s.style,n,r,i,o):"large"===s.type?Qn(e,s.size,n,r,i,o):ir(e,t,n,r,i,o)},wr=function(e,t,n,r,i,o){const a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-a,n+a),u=Math.max(c/500*s,2*c-l);return yr(e,u,!0,r,i,o)};var xr={sqrtImage:lr,sizedDelim:fr,sizeToMaxHeight:dr,customSizedDelim:yr,leftRightDelim:wr};const kr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Cr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ar(e,t){const n=Tn(e);if(n&&m.contains(Cr,n.text))return n;throw new r(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Tr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Rt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{const n=Ar(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:kr[e.funcName].size,mclass:kr[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?St.makeSpan([e.mclass]):xr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{const t=[];"."!==e.delim&&t.push(on(e.delim,e.mode));const n=new rn.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");const r=me(xr.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),Rt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new r("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Ar(t[0],e).text,color:n}}}),Rt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=Ar(t[0],e),r=e.parser;++r.leftrightDepth;const i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);const o=Cn(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,t)=>{Tr(e);const n=Gt(e.body,t,!0,["mopen","mclose"]);let r,i,o=0,a=0,s=!1;for(let l=0;l{Tr(e);const n=ln(e.body,t);if("."!==e.left){const t=new rn.MathNode("mo",[on(e.left,e.mode)]);t.setAttribute("fence","true"),n.unshift(t)}if("."!==e.right){const t=new rn.MathNode("mo",[on(e.right,e.mode)]);t.setAttribute("fence","true"),e.rightColor&&t.setAttribute("mathcolor",e.rightColor),n.push(t)}return an(n)}}),Rt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=Ar(t[0],e);if(!e.parser.leftrightDepth)throw new r("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{let n;if("."===e.delim)n=Xt(t,[]);else{n=xr.sizedDelim(e.delim,1,t,e.mode,[]);const r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{const n="\\vert"===e.delim||"|"===e.delim?on("|","text"):on(e.delim,e.mode),r=new rn.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});const Sr=(e,t)=>{const n=St.wrapFragment(Jt(e.body,t),t),r=e.label.slice(1);let i,o=t.sizeMultiplier,a=0;const s=m.isCharacterBox(e.body);if("sout"===r)i=St.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/o,a=-.5*t.fontMetrics().xHeight;else if("phase"===r){const e=pe({number:.6,unit:"pt"},t),r=pe({number:.35,unit:"ex"},t),s=t.havingBaseSizing();o/=s.sizeMultiplier;const l=n.height+n.depth+e+r;n.style.paddingLeft=me(l/2+e);const c=Math.floor(1e3*l*o),u=Y(c),h=new Te([new Se("phase",u)],{width:"400em",height:me(c/1e3),viewBox:"0 0 400000 "+c,preserveAspectRatio:"xMinYMin slice"});i=St.makeSvgSpan(["hide-tail"],[h],t),i.style.height=me(l),a=n.depth+e+r}else{/cancel/.test(r)?s||n.classes.push("cancel-pad"):"angl"===r?n.classes.push("anglpad"):n.classes.push("boxpad");let o=0,l=0,c=0;/box/.test(r)?(c=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),o=t.fontMetrics().fboxsep+("colorbox"===r?0:c),l=o):"angl"===r?(c=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),o=4*c,l=Math.max(0,.25-n.depth)):(o=s?.2:0,l=o),i=kn.encloseSpan(n,r,o,l,t),/fbox|boxed|fcolorbox/.test(r)?(i.style.borderStyle="solid",i.style.borderWidth=me(c)):"angl"===r&&.049!==c&&(i.style.borderTopWidth=me(c),i.style.borderRightWidth=me(c)),a=n.depth+l,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}let l;if(e.backgroundColor)l=St.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:a},{type:"elem",elem:n,shift:0}]},t);else{const e=/cancel|phase/.test(r)?["svg-align"]:[];l=St.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:i,shift:a,wrapperClasses:e}]},t)}return/cancel/.test(r)&&(l.height=n.height,l.depth=n.depth),/cancel/.test(r)&&!s?St.makeSpan(["mord","cancel-lap"],[l],t):St.makeSpan(["mord"],[l],t)},Er=(e,t)=>{let n=0;const r=new rn.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[un(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){const n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Rt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){let{parser:r,funcName:i}=e;const o=Cn(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,body:a}},htmlBuilder:Sr,mathmlBuilder:Er}),Rt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){let{parser:r,funcName:i}=e;const o=Cn(t[0],"color-token").color,a=Cn(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:Sr,mathmlBuilder:Er}),Rt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),Rt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:Sr,mathmlBuilder:Er}),Rt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});const Mr={};function Or(e){let{type:t,names:n,props:r,handler:i,htmlBuilder:o,mathmlBuilder:a}=e;const s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i};for(let l=0;l{const t=e.parser.settings;if(!t.displayMode)throw new r("{"+e.envName+"} can be used only in display mode.")};function Fr(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function zr(e,t,n){let{hskipBeforeAndAfter:i,addJot:o,cols:a,arraystretch:s,colSeparationType:l,autoTag:c,singleRow:u,emptySingleRow:h,maxNumCols:d,leqno:f}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){const t=e.gullet.expandMacroAsText("\\arraystretch");if(null==t)s=1;else if(s=parseFloat(t),!s||s<0)throw new r("Invalid \\arraystretch: "+t)}e.gullet.beginGroup();let p=[];const m=[p],g=[],v=[],b=null!=c?[]:void 0;function y(){c&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){b&&(e.gullet.macros.get("\\df@tag")?(b.push(e.subparse([new Pr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):b.push(Boolean(c)&&"1"===e.gullet.macros.get("\\@eqnsw")))}y(),v.push(Ir(e));while(1){let t=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),t={type:"ordgroup",mode:e.mode,body:t},n&&(t={type:"styling",mode:e.mode,style:n,body:[t]}),p.push(t);const i=e.fetch().text;if("&"===i){if(d&&p.length===d){if(u||l)throw new r("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===i){w(),1===p.length&&"styling"===t.type&&0===t.body[0].body.length&&(m.length>1||!h)&&m.pop(),v.length0&&(y+=.25),c.push({pos:y,isDashed:e[t]})}for(w(a[0]),n=0;n0&&(d+=b,ce))for(n=0;n=s)continue;(i>0||e.hskipBeforeAndAfter)&&(a=m.deflt(c.pregap,d),0!==a&&(A=St.makeSpan(["arraycolsep"],[]),A.style.width=me(a),C.push(A)));let f=[];for(n=0;n0){const e=St.makeLineSpan("hline",t,u),n=St.makeLineSpan("hdashline",t,u),r=[{type:"elem",elem:l,shift:0}];while(c.length>0){const t=c.pop(),i=t.pos-x;t.isDashed?r.push({type:"elem",elem:n,shift:i}):r.push({type:"elem",elem:e,shift:i})}l=St.makeVList({positionType:"individualShift",children:r},t)}if(0===S.length)return St.makeSpan(["mord"],[l],t);{let e=St.makeVList({positionType:"individualShift",children:S},t);return e=St.makeSpan(["tag"],[e],t),St.makeFragment([l,e])}},Hr={c:"center ",l:"left ",r:"right "},Ur=function(e,t){const n=[],r=new rn.MathNode("mtd",[],["mtr-glue"]),i=new rn.MathNode("mtd",[],["mml-eqn-num"]);for(let h=0;h0){const t=e.cols;let n="",r=!1,i=0,a=t.length;"separator"===t[0].type&&(s+="top ",i=1),"separator"===t[t.length-1].type&&(s+="bottom ",a-=1);for(let e=i;e0?"left ":"",s+=u[u.length-1].length>0?"right ":"";for(let h=1;h-1?"alignat":"align",o="split"===e.envName,a=zr(e.parser,{cols:n,addJot:!0,autoTag:o?void 0:Fr(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display");let s,l=0;const c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){let e="";for(let n=0;n0&&u&&(t=1),n[r]={type:"align",align:e,pregap:t,postgap:0}}return a.colSeparationType=u?"align":"alignat",a};Or({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){const n=Tn(t[0]),i=n?[t[0]]:Cn(t[0],"ordgroup").body,o=i.map((function(e){const t=An(e),n=t.text;if(-1!=="lcr".indexOf(n))return{type:"align",align:n};if("|"===n)return{type:"separator",separator:"|"};if(":"===n)return{type:"separator",separator:":"};throw new r("Unknown column alignment: "+n,e)})),a={cols:o,hskipBeforeAndAfter:!0,maxNumCols:o.length};return zr(e.parser,a,Br(e.envName))},htmlBuilder:jr,mathmlBuilder:Ur}),Or({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){const t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")];let n="c";const i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){const t=e.parser;if(t.consumeSpaces(),"["===t.fetch().text){if(t.consume(),t.consumeSpaces(),n=t.fetch().text,-1==="lcr".indexOf(n))throw new r("Expected l or c or r",t.nextToken);t.consume(),t.consumeSpaces(),t.expect("]"),t.consume(),i.cols=[{type:"align",align:n}]}}const o=zr(e.parser,i,Br(e.envName)),a=Math.max(0,...o.body.map(e=>e.length));return o.cols=new Array(a).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:jr,mathmlBuilder:Ur}),Or({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){const t={arraystretch:.5},n=zr(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:jr,mathmlBuilder:Ur}),Or({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){const n=Tn(t[0]),i=n?[t[0]]:Cn(t[0],"ordgroup").body,o=i.map((function(e){const t=An(e),n=t.text;if(-1!=="lc".indexOf(n))return{type:"align",align:n};throw new r("Unknown column alignment: "+n,e)}));if(o.length>1)throw new r("{subarray} can contain only one column");let a={cols:o,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=zr(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new r("{subarray} can contain only one column");return a},htmlBuilder:jr,mathmlBuilder:Ur}),Or({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){const t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=zr(e.parser,t,Br(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:jr,mathmlBuilder:Ur}),Or({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:qr,htmlBuilder:jr,mathmlBuilder:Ur}),Or({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){m.contains(["gather","gather*"],e.envName)&&Rr(e);const t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Fr(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return zr(e.parser,t,"display")},htmlBuilder:jr,mathmlBuilder:Ur}),Or({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:qr,htmlBuilder:jr,mathmlBuilder:Ur}),Or({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Rr(e);const t={autoTag:Fr(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return zr(e.parser,t,"display")},htmlBuilder:jr,mathmlBuilder:Ur}),Or({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Rr(e),jn(e.parser)},htmlBuilder:jr,mathmlBuilder:Ur}),Dr("\\nonumber","\\gdef\\@eqnsw{0}"),Dr("\\notag","\\nonumber"),Rt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new r(e.funcName+" valid only within array environment")}});const Wr=Mr;var Gr=Wr;Rt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){let{parser:n,funcName:i}=e;const o=t[0];if("ordgroup"!==o.type)throw new r("Invalid environment name",o);let a="";for(let r=0;r{const n=e.font,r=t.withFont(n);return Jt(e.body,r)},Yr=(e,t)=>{const n=e.font,r=t.withFont(n);return un(e.body,r)},Kr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Rt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=zt(t[0]);let o=r;return o in Kr&&(o=Kr[o]),{type:"font",mode:n.mode,font:o.slice(1),body:i}},htmlBuilder:Vr,mathmlBuilder:Yr}),Rt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{let{parser:n}=e;const r=t[0],i=m.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Pn(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}}),Rt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r,breakOnTokenText:i}=e;const{mode:o}=n,a=n.parseExpression(!0,i),s="math"+r.slice(1);return{type:"font",mode:o,font:s,body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:Vr,mathmlBuilder:Yr});const Zr=(e,t)=>{let n=t;return"display"===e?n=n.id>=R.SCRIPT.id?n.text():R.DISPLAY:"text"===e&&n.size===R.DISPLAY.size?n=R.TEXT:"script"===e?n=R.SCRIPT:"scriptscript"===e&&(n=R.SCRIPTSCRIPT),n},Xr=(e,t)=>{const n=Zr(e.size,t.style),r=n.fracNum(),i=n.fracDen();let o;o=t.havingStyle(r);const a=Jt(e.numer,o,t);if(e.continued){const e=8.5/t.fontMetrics().ptPerEm,n=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?3*u:7*u,f=t.fontMetrics().denom1):(c>0?(h=t.fontMetrics().num2,d=u):(h=t.fontMetrics().num3,d=3*u),f=t.fontMetrics().denom2),l){const e=t.fontMetrics().axisHeight;h-a.depth-(e+.5*c){let n=new rn.MathNode("mfrac",[un(e.numer,t),un(e.denom,t)]);if(e.hasBarLine){if(e.barSize){const r=pe(e.barSize,t);n.setAttribute("linethickness",me(r))}}else n.setAttribute("linethickness","0px");const r=Zr(e.size,t.style);if(r.size!==t.style.size){n=new rn.MathNode("mstyle",[n]);const e=r.size===R.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",e),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){const t=[];if(null!=e.leftDelim){const n=new rn.MathNode("mo",[new rn.TextNode(e.leftDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}if(t.push(n),null!=e.rightDelim){const n=new rn.MathNode("mo",[new rn.TextNode(e.rightDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}return an(t)}return n};Rt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],o=t[1];let a,s=null,l=null,c="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,s="(",l=")";break;case"\\\\bracefrac":a=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":a=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:o,hasBarLine:a,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:Xr,mathmlBuilder:Jr}),Rt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],o=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Rt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){let t,{parser:n,funcName:r,token:i}=e;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:i}}});const Qr=["display","text","script","scriptscript"],_r=function(e){let t=null;return e.length>0&&(t=e,t="."===t?null:t),t};Rt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){let{parser:n}=e;const r=t[4],i=t[5],o=zt(t[0]),a="atom"===o.type&&"open"===o.family?_r(o.text):null,s=zt(t[1]),l="atom"===s.type&&"close"===s.family?_r(s.text):null,c=Cn(t[2],"size");let u,h=null;c.isBlank?u=!0:(h=c.value,u=h.number>0);let d="auto",f=t[3];if("ordgroup"===f.type){if(f.body.length>0){const e=Cn(f.body[0],"textord");d=Qr[Number(e.text)]}}else f=Cn(f,"textord"),d=Qr[Number(f.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:h,leftDelim:a,rightDelim:l,size:d}},htmlBuilder:Xr,mathmlBuilder:Jr}),Rt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){let{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Cn(t[0],"size").value,token:i}}}),Rt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],o=f(Cn(t[1],"infix").size),a=t[2],s=o.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:a,continued:!1,hasBarLine:s,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Xr,mathmlBuilder:Jr});const $r=(e,t)=>{const n=t.style;let r,i;"supsub"===e.type?(r=e.sup?Jt(e.sup,t.havingStyle(n.sup()),t):Jt(e.sub,t.havingStyle(n.sub()),t),i=Cn(e.base,"horizBrace")):i=Cn(e,"horizBrace");const o=Jt(i.base,t.havingBaseStyle(R.DISPLAY)),a=kn.svgSpan(i,t);let s;if(i.isOver?(s=St.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},t),s.children[0].children[0].children[1].classes.push("svg-align")):(s=St.makeVList({positionType:"bottom",positionData:o.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},t),s.children[0].children[0].children[0].classes.push("svg-align")),r){const e=St.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t);s=i.isOver?St.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:r}]},t):St.makeVList({positionType:"bottom",positionData:e.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:e}]},t)}return St.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t)},ei=(e,t)=>{const n=kn.mathMLnode(e.label);return new rn.MathNode(e.isOver?"mover":"munder",[un(e.base,t),n])};Rt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:$r,mathmlBuilder:ei}),Rt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[1],i=Cn(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Bt(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{const n=Gt(e.body,t,!1);return St.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{let n=cn(e.body,t);return n instanceof en||(n=new en("mrow",[n])),n.setAttribute("href",e.href),n}}),Rt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=Cn(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");const i=[];for(let a=0;a{let{parser:n,funcName:i,token:o}=e;const a=Cn(t[0],"raw").string,s=t[1];let l;n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");const c={};switch(i){case"\\htmlClass":c.class=a,l={command:"\\htmlClass",class:a};break;case"\\htmlId":c.id=a,l={command:"\\htmlId",id:a};break;case"\\htmlStyle":c.style=a,l={command:"\\htmlStyle",style:a};break;case"\\htmlData":{const e=a.split(",");for(let t=0;t{const n=Gt(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));const i=St.makeSpan(r,n,t);for(const o in e.attributes)"class"!==o&&e.attributes.hasOwnProperty(o)&&i.setAttribute(o,e.attributes[o]);return i},mathmlBuilder:(e,t)=>cn(e.body,t)}),Rt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Bt(t[0]),mathml:Bt(t[1])}},htmlBuilder:(e,t)=>{const n=Gt(e.html,t,!1);return St.makeFragment(n)},mathmlBuilder:(e,t)=>cn(e.mathml,t)});const ti=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};{const t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new r("Invalid size: '"+e+"' in \\includegraphics");const n={number:+(t[1]+t[2]),unit:t[3]};if(!fe(n))throw new r("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n}};Rt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{let{parser:i}=e,o={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(n[0]){const e=Cn(n[0],"raw").string,t=e.split(",");for(let n=0;n{const n=pe(e.height,t);let r=0;e.totalheight.number>0&&(r=pe(e.totalheight,t)-n);let i=0;e.width.number>0&&(i=pe(e.width,t));const o={height:me(n+r)};i>0&&(o.width=me(i)),r>0&&(o.verticalAlign=me(-r));const a=new ke(e.src,e.alt,o);return a.height=n,a.depth=r,a},mathmlBuilder:(e,t)=>{const n=new rn.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);const r=pe(e.height,t);let i=0;if(e.totalheight.number>0&&(i=pe(e.totalheight,t)-r,n.setAttribute("valign",me(-i))),n.setAttribute("height",me(r+i)),e.width.number>0){const r=pe(e.width,t);n.setAttribute("width",me(r))}return n.setAttribute("src",e.src),n}}),Rt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=Cn(t[0],"size");if(n.settings.strict){const e="m"===r[1],t="mu"===i.value.unit;e?(t||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):t&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return St.makeGlue(e.dimension,t)},mathmlBuilder(e,t){const n=pe(e.dimension,t);return new rn.SpaceNode(n)}}),Rt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{let n;"clap"===e.alignment?(n=St.makeSpan([],[Jt(e.body,t)]),n=St.makeSpan(["inner"],[n],t)):n=St.makeSpan(["inner"],[Jt(e.body,t)]);const r=St.makeSpan(["fix"],[]);let i=St.makeSpan([e.alignment],[n,r],t);const o=St.makeSpan(["strut"]);return o.style.height=me(i.height+i.depth),i.depth&&(o.style.verticalAlign=me(-i.depth)),i.children.unshift(o),i=St.makeSpan(["thinbox"],[i],t),St.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{const n=new rn.MathNode("mpadded",[un(e.body,t)]);if("rlap"!==e.alignment){const t="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",t+"width")}return n.setAttribute("width","0px"),n}}),Rt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){let{funcName:n,parser:r}=e;const i=r.mode;r.switchMode("math");const o="\\("===n?"\\)":"$",a=r.parseExpression(!1,o);return r.expect(o),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:a}}}),Rt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new r("Mismatched "+e.funcName)}});const ni=(e,t)=>{switch(t.style.size){case R.DISPLAY.size:return e.display;case R.TEXT.size:return e.text;case R.SCRIPT.size:return e.script;case R.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Rt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Bt(t[0]),text:Bt(t[1]),script:Bt(t[2]),scriptscript:Bt(t[3])}},htmlBuilder:(e,t)=>{const n=ni(e,t),r=Gt(n,t,!1);return St.makeFragment(r)},mathmlBuilder:(e,t)=>{const n=ni(e,t);return cn(n,t)}});const ri=(e,t,n,r,i,o,a)=>{e=St.makeSpan([],[e]);const s=n&&m.isCharacterBox(n);let l,c,u;if(t){const e=Jt(t,r.havingStyle(i.sup()),r);c={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-e.depth)}}if(n){const e=Jt(n,r.havingStyle(i.sub()),r);l={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-e.height)}}if(c&&l){const t=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;u=St.makeVList({positionType:"bottom",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:me(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:me(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){const t=e.height-a;u=St.makeVList({positionType:"top",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:me(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;{const t=e.depth+a;u=St.makeVList({positionType:"bottom",positionData:t,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:me(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}}const h=[u];if(l&&0!==o&&!s){const e=St.makeSpan(["mspace"],[],r);e.style.marginRight=me(o),h.unshift(e)}return St.makeSpan(["mop","op-limits"],h,r)},ii=["\\smallint"],oi=(e,t)=>{let n,r,i,o=!1;"supsub"===e.type?(n=e.sup,r=e.sub,i=Cn(e.base,"op"),o=!0):i=Cn(e,"op");const a=t.style;let s,l=!1;if(a.size===R.DISPLAY.size&&i.symbol&&!m.contains(ii,i.name)&&(l=!0),i.symbol){const e=l?"Size2-Regular":"Size1-Regular";let n="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(n=i.name.slice(1),i.name="oiint"===n?"\\iint":"\\iiint"),s=St.makeSymbol(i.name,e,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),n.length>0){const e=s.italic,r=St.staticSvg(n+"Size"+(l?"2":"1"),t);s=St.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:r,shift:l?.08:0}]},t),i.name="\\"+n,s.classes.unshift("mop"),s.italic=e}}else if(i.body){const e=Gt(i.body,t,!0);1===e.length&&e[0]instanceof Ae?(s=e[0],s.classes[0]="mop"):s=St.makeSpan(["mop"],e,t)}else{const e=[];for(let n=1;n{let n;if(e.symbol)n=new en("mo",[on(e.name,e.mode)]),m.contains(ii,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new en("mo",ln(e.body,t));else{n=new en("mi",[new tn(e.name.slice(1))]);const t=new en("mo",[on("⁡","text")]);n=e.parentIsSupSub?new en("mrow",[n,t]):$t([n,t])}return n},si={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Rt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{let{parser:n,funcName:r}=e,i=r;return 1===i.length&&(i=si[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:oi,mathmlBuilder:ai}),Rt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Bt(r)}},htmlBuilder:oi,mathmlBuilder:ai});const li={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Rt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:oi,mathmlBuilder:ai}),Rt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:oi,mathmlBuilder:ai}),Rt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e,r=n;return 1===r.length&&(r=li[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:oi,mathmlBuilder:ai});const ci=(e,t)=>{let n,r,i,o,a=!1;if("supsub"===e.type?(n=e.sup,r=e.sub,i=Cn(e.base,"operatorname"),a=!0):i=Cn(e,"operatorname"),i.body.length>0){const e=i.body.map(e=>{const t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e}),n=Gt(e,t.withFont("mathrm"),!0);for(let t=0;t{let n=ln(e.body,t.withFont("mathrm")),r=!0;for(let a=0;ae.toText()).join("");n=[new rn.TextNode(e)]}const i=new rn.MathNode("mi",n);i.setAttribute("mathvariant","normal");const o=new rn.MathNode("mo",[on("⁡","text")]);return e.parentIsSupSub?new rn.MathNode("mrow",[i,o]):rn.newDocumentFragment([i,o])};function hi(e,t,n){const r=Gt(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier;for(let o=0;o{let{parser:n,funcName:r}=e;const i=t[0];return{type:"operatorname",mode:n.mode,body:Bt(i),alwaysHandleSupSub:"\\operatornamewithlimits"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:ci,mathmlBuilder:ui}),Dr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Ft({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?St.makeFragment(Gt(e.body,t,!1)):St.makeSpan(["mord"],Gt(e.body,t,!0),t)},mathmlBuilder(e,t){return cn(e.body,t,!0)}}),Rt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){let{parser:n}=e;const r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){const n=Jt(e.body,t.havingCrampedStyle()),r=St.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,o=St.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return St.makeSpan(["mord","overline"],[o],t)},mathmlBuilder(e,t){const n=new rn.MathNode("mo",[new rn.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new rn.MathNode("mover",[un(e.body,t),n]);return r.setAttribute("accent","true"),r}}),Rt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"phantom",mode:n.mode,body:Bt(r)}},htmlBuilder:(e,t)=>{const n=Gt(e.body,t.withPhantom(),!1);return St.makeFragment(n)},mathmlBuilder:(e,t)=>{const n=ln(e.body,t);return new rn.MathNode("mphantom",n)}}),Rt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{let n=St.makeSpan([],[Jt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(let r=0;r{const n=ln(Bt(e.body),t),r=new rn.MathNode("mphantom",n),i=new rn.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),Rt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{const n=St.makeSpan(["inner"],[Jt(e.body,t.withPhantom())]),r=St.makeSpan(["fix"],[]);return St.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{const n=ln(Bt(e.body),t),r=new rn.MathNode("mphantom",n),i=new rn.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}}),Rt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;const r=Cn(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){const n=Jt(e.body,t),r=pe(e.dy,t);return St.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){const n=new rn.MathNode("mpadded",[un(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),Rt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t}=e;return{type:"internal",mode:t.mode}}}),Rt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){let{parser:r}=e;const i=n[0],o=Cn(t[0],"size"),a=Cn(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&Cn(i,"size").value,width:o.value,height:a.value}},htmlBuilder(e,t){const n=St.makeSpan(["mord","rule"],[],t),r=pe(e.width,t),i=pe(e.height,t),o=e.shift?pe(e.shift,t):0;return n.style.borderRightWidth=me(r),n.style.borderTopWidth=me(i),n.style.bottom=me(o),n.width=r,n.height=i+o,n.depth=-o,n.maxFontSize=1.125*i*t.sizeMultiplier,n},mathmlBuilder(e,t){const n=pe(e.width,t),r=pe(e.height,t),i=e.shift?pe(e.shift,t):0,o=t.color&&t.getColor()||"black",a=new rn.MathNode("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",me(n)),a.setAttribute("height",me(r));const s=new rn.MathNode("mpadded",[a]);return i>=0?s.setAttribute("height",me(i)):(s.setAttribute("height",me(i)),s.setAttribute("depth",me(-i))),s.setAttribute("voffset",me(i)),s}});const di=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],fi=(e,t)=>{const n=t.havingSize(e.size);return hi(e.body,n,t)};Rt({type:"sizing",names:di,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{breakOnTokenText:n,funcName:r,parser:i}=e;const o=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:di.indexOf(r)+1,body:o}},htmlBuilder:fi,mathmlBuilder:(e,t)=>{const n=t.havingSize(e.size),r=ln(e.body,n),i=new rn.MathNode("mstyle",r);return i.setAttribute("mathsize",me(n.sizeMultiplier)),i}}),Rt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{let{parser:r}=e,i=!1,o=!1;const a=n[0]&&Cn(n[0],"ordgroup");if(a){let e="";for(let t=0;t{const n=St.makeSpan([],[Jt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(let i=0;i{const n=new rn.MathNode("mpadded",[un(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Rt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let{parser:r}=e;const i=n[0],o=t[0];return{type:"sqrt",mode:r.mode,body:o,index:i}},htmlBuilder(e,t){let n=Jt(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=St.wrapFragment(n,t);const r=t.fontMetrics(),i=r.defaultRuleThickness;let o=i;t.style.idn.height+n.depth+a&&(a=(a+h-n.height-n.depth)/2);const d=l.height-n.height-a-c;n.style.paddingLeft=me(u);const f=St.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},t);if(e.index){const n=t.havingStyle(R.SCRIPTSCRIPT),r=Jt(e.index,n,t),i=.6*(f.height-f.depth),o=St.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},t),a=St.makeSpan(["root"],[o]);return St.makeSpan(["mord","sqrt"],[a,f],t)}return St.makeSpan(["mord","sqrt"],[f],t)},mathmlBuilder(e,t){const{body:n,index:r}=e;return r?new rn.MathNode("mroot",[un(n,t),un(r,t)]):new rn.MathNode("msqrt",[un(n,t)])}});const pi={display:R.DISPLAY,text:R.TEXT,script:R.SCRIPT,scriptscript:R.SCRIPTSCRIPT};Rt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){let{breakOnTokenText:n,funcName:r,parser:i}=e;const o=i.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:a,body:o}},htmlBuilder(e,t){const n=pi[e.style],r=t.havingStyle(n).withFont("");return hi(e.body,r,t)},mathmlBuilder(e,t){const n=pi[e.style],r=t.havingStyle(n),i=ln(e.body,r),o=new rn.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[e.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});const mi=function(e,t){const n=e.base;if(n){if("op"===n.type){const e=n.limits&&(t.style.size===R.DISPLAY.size||n.alwaysHandleSupSub);return e?oi:null}if("operatorname"===n.type){const e=n.alwaysHandleSupSub&&(t.style.size===R.DISPLAY.size||n.limits);return e?ci:null}if("accent"===n.type)return m.isCharacterBox(n.base)?Sn:null;if("horizBrace"===n.type){const t=!e.sub;return t===n.isOver?$r:null}return null}return null};Ft({type:"supsub",htmlBuilder(e,t){const n=mi(e,t);if(n)return n(e,t);const{base:r,sup:i,sub:o}=e,a=Jt(r,t);let s,l;const c=t.fontMetrics();let u=0,h=0;const d=r&&m.isCharacterBox(r);if(i){const e=t.havingStyle(t.style.sup());s=Jt(i,e,t),d||(u=a.height-e.fontMetrics().supDrop*e.sizeMultiplier/t.sizeMultiplier)}if(o){const e=t.havingStyle(t.style.sub());l=Jt(o,e,t),d||(h=a.depth+e.fontMetrics().subDrop*e.sizeMultiplier/t.sizeMultiplier)}let f;f=t.style===R.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;const p=t.sizeMultiplier,g=me(.5/c.ptPerEm/p);let v,b=null;if(l){const t=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(a instanceof Ae||t)&&(b=me(-a.italic))}if(s&&l){u=Math.max(u,f,s.depth+.25*c.xHeight),h=Math.max(h,c.sub2);const e=c.defaultRuleThickness,n=4*e;if(u-s.depth-(l.height-h)0&&(u+=e,h-=e)}const r=[{type:"elem",elem:l,shift:h,marginRight:g,marginLeft:b},{type:"elem",elem:s,shift:-u,marginRight:g}];v=St.makeVList({positionType:"individualShift",children:r},t)}else if(l){h=Math.max(h,c.sub1,l.height-.8*c.xHeight);const e=[{type:"elem",elem:l,marginLeft:b,marginRight:g}];v=St.makeVList({positionType:"shift",positionData:h,children:e},t)}else{if(!s)throw new Error("supsub must have either sup or sub.");u=Math.max(u,f,s.depth+.25*c.xHeight),v=St.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:s,marginRight:g}]},t)}const y=Zt(a,"right")||"mord";return St.makeSpan([y],[a,St.makeSpan(["msupsub"],[v])],t)},mathmlBuilder(e,t){let n,r,i=!1;e.base&&"horizBrace"===e.base.type&&(r=!!e.sup,r===e.base.isOver&&(i=!0,n=e.base.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);const o=[un(e.base,t)];let a;if(e.sub&&o.push(un(e.sub,t)),e.sup&&o.push(un(e.sup,t)),i)a=n?"mover":"munder";else if(e.sub)if(e.sup){const n=e.base;a=n&&"op"===n.type&&n.limits&&t.style===R.DISPLAY||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(t.style===R.DISPLAY||n.limits)?"munderover":"msubsup"}else{const n=e.base;a=n&&"op"===n.type&&n.limits&&(t.style===R.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===R.DISPLAY)?"munder":"msub"}else{const n=e.base;a=n&&"op"===n.type&&n.limits&&(t.style===R.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===R.DISPLAY)?"mover":"msup"}return new rn.MathNode(a,o)}}),Ft({type:"atom",htmlBuilder(e,t){return St.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){const n=new rn.MathNode("mo",[on(e.text,e.mode)]);if("bin"===e.family){const r=sn(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});const gi={mi:"italic",mn:"normal",mtext:"normal"};Ft({type:"mathord",htmlBuilder(e,t){return St.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){const n=new rn.MathNode("mi",[on(e.text,e.mode,t)]),r=sn(e,t)||"italic";return r!==gi[n.type]&&n.setAttribute("mathvariant",r),n}}),Ft({type:"textord",htmlBuilder(e,t){return St.makeOrd(e,t,"textord")},mathmlBuilder(e,t){const n=on(e.text,e.mode,t),r=sn(e,t)||"normal";let i;return i="text"===e.mode?new rn.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new rn.MathNode("mn",[n]):"\\prime"===e.text?new rn.MathNode("mo",[n]):new rn.MathNode("mi",[n]),r!==gi[i.type]&&i.setAttribute("mathvariant",r),i}});const vi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},bi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ft({type:"spacing",htmlBuilder(e,t){if(bi.hasOwnProperty(e.text)){const n=bi[e.text].className||"";if("text"===e.mode){const r=St.makeOrd(e,t,"textord");return r.classes.push(n),r}return St.makeSpan(["mspace",n],[St.mathsym(e.text,e.mode,t)],t)}if(vi.hasOwnProperty(e.text))return St.makeSpan(["mspace",vi[e.text]],[],t);throw new r('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){let n;if(!bi.hasOwnProperty(e.text)){if(vi.hasOwnProperty(e.text))return new rn.MathNode("mspace");throw new r('Unknown type of space "'+e.text+'"')}return n=new rn.MathNode("mtext",[new rn.TextNode(" ")]),n}});const yi=()=>{const e=new rn.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Ft({type:"tag",mathmlBuilder(e,t){const n=new rn.MathNode("mtable",[new rn.MathNode("mtr",[yi(),new rn.MathNode("mtd",[cn(e.body,t)]),yi(),new rn.MathNode("mtd",[cn(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});const wi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},xi={"\\textbf":"textbf","\\textmd":"textmd"},ki={"\\textit":"textit","\\textup":"textup"},Ci=(e,t)=>{const n=e.font;return n?wi[n]?t.withTextFontFamily(wi[n]):xi[n]?t.withTextFontWeight(xi[n]):t.withTextFontShape(ki[n]):t};Rt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"text",mode:n.mode,body:Bt(i),font:r}},htmlBuilder(e,t){const n=Ci(e,t),r=Gt(e.body,n,!0);return St.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){const n=Ci(e,t);return cn(e.body,n)}}),Rt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=Jt(e.body,t),r=St.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,o=St.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return St.makeSpan(["mord","underline"],[o],t)},mathmlBuilder(e,t){const n=new rn.MathNode("mo",[new rn.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new rn.MathNode("munder",[un(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Rt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=Jt(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return St.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new rn.MathNode("mpadded",[un(e.body,t)],["vcenter"])}}),Rt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new r("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){const n=Ai(e),r=[],i=t.havingStyle(t.style.text());for(let o=0;oe.body.replace(/ /g,e.star?"␣":" "),Ti=Lt;var Si=Ti;const Ei="[ \r\n\t]",Mi="\\\\[a-zA-Z@]+",Oi="\\\\[^\ud800-\udfff]",Ni="("+Mi+")"+Ei+"*",Di="\\\\(\n|[ \r\t]+\n?)[ \r\t]*",Li="[̀-ͯ]",Pi=new RegExp(Li+"+$"),Ii="("+Ei+"+)|"+Di+"|([!-\\[\\]-‧‪-퟿豈-￿]"+Li+"*|[\ud800-\udbff][\udc00-\udfff]"+Li+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+Ni+"|"+Oi+")";class Ri{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Ii,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){const e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new Pr("EOF",new Lr(this,t,t));const n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new r("Unexpected character: '"+e[t]+"'",new Pr(e[t],new Lr(this,t,t+1)));const i=n[6]||n[3]||(n[2]?"\\ ":" ");if(14===this.catcodes[i]){const t=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===t?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=t+1,this.lex()}return new Pr(i,new Lr(this,t,this.tokenRegex.lastIndex))}}class Fi{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new r("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const e=this.undefStack.pop();for(const t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){while(this.undefStack.length>0)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(void 0===n&&(n=!1),n){for(let t=0;t0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{const t=this.undefStack[this.undefStack.length-1];t&&!t.hasOwnProperty(e)&&(t[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}const zi=Nr;var Bi=zi;Dr("\\noexpand",(function(e){const t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Dr("\\expandafter",(function(e){const t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Dr("\\@firstoftwo",(function(e){const t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}})),Dr("\\@secondoftwo",(function(e){const t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}})),Dr("\\@ifnextchar",(function(e){const t=e.consumeArgs(3);e.consumeSpaces();const n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Dr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Dr("\\TextOrMath",(function(e){const t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));const ji={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Dr("\\char",(function(e){let t,n=e.popToken(),i="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])i=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new r("\\char` missing argument");i=n.text.charCodeAt(0)}else t=10;if(t){if(i=ji[n.text],null==i||i>=t)throw new r("Invalid base-"+t+" digit "+n.text);let o;while(null!=(o=ji[e.future().text])&&o{let i=e.consumeArg().tokens;if(1!==i.length)throw new r("\\newcommand's first argument must be a macro name");const o=i[0].text,a=e.isDefined(o);if(a&&!t)throw new r("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!a&&!n)throw new r("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");let s=0;if(i=e.consumeArg().tokens,1===i.length&&"["===i[0].text){let t="",n=e.expandNextToken();while("]"!==n.text&&"EOF"!==n.text)t+=n.text,n=e.expandNextToken();if(!t.match(/^\s*[0-9]+\s*$/))throw new r("Invalid number of arguments: "+t);s=parseInt(t),i=e.consumeArg().tokens}return e.macros.set(o,{tokens:i,numArgs:s}),""};Dr("\\newcommand",e=>Hi(e,!1,!0)),Dr("\\renewcommand",e=>Hi(e,!0,!1)),Dr("\\providecommand",e=>Hi(e,!0,!0)),Dr("\\message",e=>{const t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join("")),""}),Dr("\\errmessage",e=>{const t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join("")),""}),Dr("\\show",e=>{const t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Si[n],Pe.math[n],Pe.text[n]),""}),Dr("\\bgroup","{"),Dr("\\egroup","}"),Dr("~","\\nobreakspace"),Dr("\\lq","`"),Dr("\\rq","'"),Dr("\\aa","\\r a"),Dr("\\AA","\\r A"),Dr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Dr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Dr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Dr("ℬ","\\mathscr{B}"),Dr("ℰ","\\mathscr{E}"),Dr("ℱ","\\mathscr{F}"),Dr("ℋ","\\mathscr{H}"),Dr("ℐ","\\mathscr{I}"),Dr("ℒ","\\mathscr{L}"),Dr("ℳ","\\mathscr{M}"),Dr("ℛ","\\mathscr{R}"),Dr("ℭ","\\mathfrak{C}"),Dr("ℌ","\\mathfrak{H}"),Dr("ℨ","\\mathfrak{Z}"),Dr("\\Bbbk","\\Bbb{k}"),Dr("·","\\cdotp"),Dr("\\llap","\\mathllap{\\textrm{#1}}"),Dr("\\rlap","\\mathrlap{\\textrm{#1}}"),Dr("\\clap","\\mathclap{\\textrm{#1}}"),Dr("\\mathstrut","\\vphantom{(}"),Dr("\\underbar","\\underline{\\text{#1}}"),Dr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Dr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Dr("\\ne","\\neq"),Dr("≠","\\neq"),Dr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Dr("∉","\\notin"),Dr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Dr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Dr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Dr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Dr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Dr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Dr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Dr("⟂","\\perp"),Dr("‼","\\mathclose{!\\mkern-0.8mu!}"),Dr("∌","\\notni"),Dr("⌜","\\ulcorner"),Dr("⌝","\\urcorner"),Dr("⌞","\\llcorner"),Dr("⌟","\\lrcorner"),Dr("©","\\copyright"),Dr("®","\\textregistered"),Dr("️","\\textregistered"),Dr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Dr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Dr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Dr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Dr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Dr("⋮","\\vdots"),Dr("\\varGamma","\\mathit{\\Gamma}"),Dr("\\varDelta","\\mathit{\\Delta}"),Dr("\\varTheta","\\mathit{\\Theta}"),Dr("\\varLambda","\\mathit{\\Lambda}"),Dr("\\varXi","\\mathit{\\Xi}"),Dr("\\varPi","\\mathit{\\Pi}"),Dr("\\varSigma","\\mathit{\\Sigma}"),Dr("\\varUpsilon","\\mathit{\\Upsilon}"),Dr("\\varPhi","\\mathit{\\Phi}"),Dr("\\varPsi","\\mathit{\\Psi}"),Dr("\\varOmega","\\mathit{\\Omega}"),Dr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Dr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Dr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Dr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Dr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Dr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");const Ui={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Dr("\\dots",(function(e){let t="\\dotso";const n=e.expandAfterFuture().text;return n in Ui?t=Ui[n]:("\\not"===n.slice(0,4)||n in Pe.math&&m.contains(["bin","rel"],Pe.math[n].group))&&(t="\\dotsb"),t}));const qi={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Dr("\\dotso",(function(e){const t=e.future().text;return t in qi?"\\ldots\\,":"\\ldots"})),Dr("\\dotsc",(function(e){const t=e.future().text;return t in qi&&","!==t?"\\ldots\\,":"\\ldots"})),Dr("\\cdots",(function(e){const t=e.future().text;return t in qi?"\\@cdots\\,":"\\@cdots"})),Dr("\\dotsb","\\cdots"),Dr("\\dotsm","\\cdots"),Dr("\\dotsi","\\!\\cdots"),Dr("\\dotsx","\\ldots\\,"),Dr("\\DOTSI","\\relax"),Dr("\\DOTSB","\\relax"),Dr("\\DOTSX","\\relax"),Dr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Dr("\\,","\\tmspace+{3mu}{.1667em}"),Dr("\\thinspace","\\,"),Dr("\\>","\\mskip{4mu}"),Dr("\\:","\\tmspace+{4mu}{.2222em}"),Dr("\\medspace","\\:"),Dr("\\;","\\tmspace+{5mu}{.2777em}"),Dr("\\thickspace","\\;"),Dr("\\!","\\tmspace-{3mu}{.1667em}"),Dr("\\negthinspace","\\!"),Dr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Dr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Dr("\\enspace","\\kern.5em "),Dr("\\enskip","\\hskip.5em\\relax"),Dr("\\quad","\\hskip1em\\relax"),Dr("\\qquad","\\hskip2em\\relax"),Dr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Dr("\\tag@paren","\\tag@literal{({#1})}"),Dr("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new r("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Dr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Dr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Dr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Dr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Dr("\\newline","\\\\\\relax"),Dr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Wi=me($["Main-Regular"]["T".charCodeAt(0)][1]-.7*$["Main-Regular"]["A".charCodeAt(0)][1]);Dr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Wi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Dr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Wi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Dr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Dr("\\@hspace","\\hskip #1\\relax"),Dr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Dr("\\ordinarycolon",":"),Dr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Dr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Dr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Dr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Dr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Dr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Dr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Dr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Dr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Dr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Dr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Dr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Dr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Dr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Dr("∷","\\dblcolon"),Dr("∹","\\eqcolon"),Dr("≔","\\coloneqq"),Dr("≕","\\eqqcolon"),Dr("⩴","\\Coloneqq"),Dr("\\ratio","\\vcentcolon"),Dr("\\coloncolon","\\dblcolon"),Dr("\\colonequals","\\coloneqq"),Dr("\\coloncolonequals","\\Coloneqq"),Dr("\\equalscolon","\\eqqcolon"),Dr("\\equalscoloncolon","\\Eqqcolon"),Dr("\\colonminus","\\coloneq"),Dr("\\coloncolonminus","\\Coloneq"),Dr("\\minuscolon","\\eqcolon"),Dr("\\minuscoloncolon","\\Eqcolon"),Dr("\\coloncolonapprox","\\Colonapprox"),Dr("\\coloncolonsim","\\Colonsim"),Dr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Dr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Dr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Dr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Dr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Dr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Dr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Dr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Dr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Dr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Dr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Dr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Dr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Dr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Dr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Dr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Dr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Dr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Dr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Dr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Dr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Dr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Dr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Dr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Dr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Dr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Dr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Dr("\\imath","\\html@mathml{\\@imath}{ı}"),Dr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Dr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Dr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Dr("⟦","\\llbracket"),Dr("⟧","\\rrbracket"),Dr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Dr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Dr("⦃","\\lBrace"),Dr("⦄","\\rBrace"),Dr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Dr("⦵","\\minuso"),Dr("\\darr","\\downarrow"),Dr("\\dArr","\\Downarrow"),Dr("\\Darr","\\Downarrow"),Dr("\\lang","\\langle"),Dr("\\rang","\\rangle"),Dr("\\uarr","\\uparrow"),Dr("\\uArr","\\Uparrow"),Dr("\\Uarr","\\Uparrow"),Dr("\\N","\\mathbb{N}"),Dr("\\R","\\mathbb{R}"),Dr("\\Z","\\mathbb{Z}"),Dr("\\alef","\\aleph"),Dr("\\alefsym","\\aleph"),Dr("\\Alpha","\\mathrm{A}"),Dr("\\Beta","\\mathrm{B}"),Dr("\\bull","\\bullet"),Dr("\\Chi","\\mathrm{X}"),Dr("\\clubs","\\clubsuit"),Dr("\\cnums","\\mathbb{C}"),Dr("\\Complex","\\mathbb{C}"),Dr("\\Dagger","\\ddagger"),Dr("\\diamonds","\\diamondsuit"),Dr("\\empty","\\emptyset"),Dr("\\Epsilon","\\mathrm{E}"),Dr("\\Eta","\\mathrm{H}"),Dr("\\exist","\\exists"),Dr("\\harr","\\leftrightarrow"),Dr("\\hArr","\\Leftrightarrow"),Dr("\\Harr","\\Leftrightarrow"),Dr("\\hearts","\\heartsuit"),Dr("\\image","\\Im"),Dr("\\infin","\\infty"),Dr("\\Iota","\\mathrm{I}"),Dr("\\isin","\\in"),Dr("\\Kappa","\\mathrm{K}"),Dr("\\larr","\\leftarrow"),Dr("\\lArr","\\Leftarrow"),Dr("\\Larr","\\Leftarrow"),Dr("\\lrarr","\\leftrightarrow"),Dr("\\lrArr","\\Leftrightarrow"),Dr("\\Lrarr","\\Leftrightarrow"),Dr("\\Mu","\\mathrm{M}"),Dr("\\natnums","\\mathbb{N}"),Dr("\\Nu","\\mathrm{N}"),Dr("\\Omicron","\\mathrm{O}"),Dr("\\plusmn","\\pm"),Dr("\\rarr","\\rightarrow"),Dr("\\rArr","\\Rightarrow"),Dr("\\Rarr","\\Rightarrow"),Dr("\\real","\\Re"),Dr("\\reals","\\mathbb{R}"),Dr("\\Reals","\\mathbb{R}"),Dr("\\Rho","\\mathrm{P}"),Dr("\\sdot","\\cdot"),Dr("\\sect","\\S"),Dr("\\spades","\\spadesuit"),Dr("\\sub","\\subset"),Dr("\\sube","\\subseteq"),Dr("\\supe","\\supseteq"),Dr("\\Tau","\\mathrm{T}"),Dr("\\thetasym","\\vartheta"),Dr("\\weierp","\\wp"),Dr("\\Zeta","\\mathrm{Z}"),Dr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Dr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Dr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Dr("\\bra","\\mathinner{\\langle{#1}|}"),Dr("\\ket","\\mathinner{|{#1}\\rangle}"),Dr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Dr("\\Bra","\\left\\langle#1\\right|"),Dr("\\Ket","\\left|#1\\right\\rangle");const Gi=e=>t=>{const n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();const l=t=>n=>{e&&(n.macros.set("|",a),i.length&&n.macros.set("\\|",s));let o=t;if(!t&&i.length){const e=n.future();"|"===e.text&&(n.popToken(),o=!0)}return{tokens:o?i:r,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));const c=t.consumeArg().tokens,u=t.expandTokens([...o,...c,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};Dr("\\bra@ket",Gi(!1)),Dr("\\bra@set",Gi(!0)),Dr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Dr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Dr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Dr("\\angln","{\\angl n}"),Dr("\\blue","\\textcolor{##6495ed}{#1}"),Dr("\\orange","\\textcolor{##ffa500}{#1}"),Dr("\\pink","\\textcolor{##ff00af}{#1}"),Dr("\\red","\\textcolor{##df0030}{#1}"),Dr("\\green","\\textcolor{##28ae7b}{#1}"),Dr("\\gray","\\textcolor{gray}{#1}"),Dr("\\purple","\\textcolor{##9d38bd}{#1}"),Dr("\\blueA","\\textcolor{##ccfaff}{#1}"),Dr("\\blueB","\\textcolor{##80f6ff}{#1}"),Dr("\\blueC","\\textcolor{##63d9ea}{#1}"),Dr("\\blueD","\\textcolor{##11accd}{#1}"),Dr("\\blueE","\\textcolor{##0c7f99}{#1}"),Dr("\\tealA","\\textcolor{##94fff5}{#1}"),Dr("\\tealB","\\textcolor{##26edd5}{#1}"),Dr("\\tealC","\\textcolor{##01d1c1}{#1}"),Dr("\\tealD","\\textcolor{##01a995}{#1}"),Dr("\\tealE","\\textcolor{##208170}{#1}"),Dr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Dr("\\greenB","\\textcolor{##8af281}{#1}"),Dr("\\greenC","\\textcolor{##74cf70}{#1}"),Dr("\\greenD","\\textcolor{##1fab54}{#1}"),Dr("\\greenE","\\textcolor{##0d923f}{#1}"),Dr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Dr("\\goldB","\\textcolor{##ffbb71}{#1}"),Dr("\\goldC","\\textcolor{##ff9c39}{#1}"),Dr("\\goldD","\\textcolor{##e07d10}{#1}"),Dr("\\goldE","\\textcolor{##a75a05}{#1}"),Dr("\\redA","\\textcolor{##fca9a9}{#1}"),Dr("\\redB","\\textcolor{##ff8482}{#1}"),Dr("\\redC","\\textcolor{##f9685d}{#1}"),Dr("\\redD","\\textcolor{##e84d39}{#1}"),Dr("\\redE","\\textcolor{##bc2612}{#1}"),Dr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Dr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Dr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Dr("\\maroonD","\\textcolor{##ca337c}{#1}"),Dr("\\maroonE","\\textcolor{##9e034e}{#1}"),Dr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Dr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Dr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Dr("\\purpleD","\\textcolor{##7854ab}{#1}"),Dr("\\purpleE","\\textcolor{##543b78}{#1}"),Dr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Dr("\\mintB","\\textcolor{##edf2df}{#1}"),Dr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Dr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Dr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Dr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Dr("\\grayD","\\textcolor{##d6d8da}{#1}"),Dr("\\grayE","\\textcolor{##babec2}{#1}"),Dr("\\grayF","\\textcolor{##888d93}{#1}"),Dr("\\grayG","\\textcolor{##626569}{#1}"),Dr("\\grayH","\\textcolor{##3b3e40}{#1}"),Dr("\\grayI","\\textcolor{##21242c}{#1}"),Dr("\\kaBlue","\\textcolor{##314453}{#1}"),Dr("\\kaGreen","\\textcolor{##71B307}{#1}");const Vi={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Yi{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Fi(Bi,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Ri(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){let t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:r,end:n}=this.consumeArg(["]"]))}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new Pr("EOF",n.loc)),this.pushTokens(r),t.range(n,"")}consumeSpaces(){for(;;){const e=this.future();if(" "!==e.text)break;this.stack.pop()}}consumeArg(e){const t=[],n=e&&e.length>0;n||this.consumeSpaces();const i=this.future();let o,a=0,s=0;do{if(o=this.popToken(),t.push(o),"{"===o.text)++a;else if("}"===o.text){if(--a,-1===a)throw new r("Extra }",o)}else if("EOF"===o.text)throw new r("Unexpected end of input in a macro argument, expected '"+(e&&n?e[s]:"}")+"'",o);if(e&&n)if((0===a||1===a&&"{"===e[s])&&o.text===e[s]){if(++s,s===e.length){t.splice(-s,s);break}}else s=0}while(0!==a||n);return"{"===i.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:i,end:o}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new r("The length of delimiters doesn't match the number of args!");const n=t[0];for(let e=0;ethis.settings.maxExpand)throw new r("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){const t=this.popToken(),n=t.text,i=t.noexpand?null:this._getExpansion(n);if(null==i||e&&i.unexpandable){if(e&&null==i&&"\\"===n[0]&&!this.isDefined(n))throw new r("Undefined control sequence: "+n);return this.pushToken(t),!1}this.countExpansion(1);let o=i.tokens;const a=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){o=o.slice();for(let e=o.length-1;e>=0;--e){let t=o[e];if("#"===t.text){if(0===e)throw new r("Incomplete placeholder at end of macro body",t);if(t=o[--e],"#"===t.text)o.splice(e+1,1);else{if(!/^[1-9]$/.test(t.text))throw new r("Not a valid argument number",t);o.splice(e,2,...a[+t.text-1])}}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){const e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Pr(e)]):void 0}expandTokens(e){const t=[],n=this.stack.length;this.pushTokens(e);while(this.stack.length>n)if(!1===this.expandOnce(!0)){const e=this.stack.pop();e.treatAsRelax&&(e.noexpand=!1,e.treatAsRelax=!1),t.push(e)}return this.countExpansion(t.length),t}expandMacroAsText(e){const t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){const t=this.macros.get(e);if(null==t)return t;if(1===e.length){const t=this.lexer.catcodes[e];if(null!=t&&13!==t)return}const n="function"===typeof t?t(this):t;if("string"===typeof n){let e=0;if(-1!==n.indexOf("#")){const t=n.replace(/##/g,"");while(-1!==t.indexOf("#"+(e+1)))++e}const t=new Ri(n,this.settings),r=[];let i=t.lex();while("EOF"!==i.text)r.push(i),i=t.lex();r.reverse();const o={tokens:r,numArgs:e};return o}return n}isDefined(e){return this.macros.has(e)||Si.hasOwnProperty(e)||Pe.math.hasOwnProperty(e)||Pe.text.hasOwnProperty(e)||Vi.hasOwnProperty(e)}isExpandable(e){const t=this.macros.get(e);return null!=t?"string"===typeof t||"function"===typeof t||!t.unexpandable:Si.hasOwnProperty(e)&&!Si[e].primitive}}const Ki=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Zi=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g","ʰ":"h","ⁱ":"i","ʲ":"j","ᵏ":"k","ˡ":"l","ᵐ":"m","ⁿ":"n","ᵒ":"o","ᵖ":"p","ʳ":"r","ˢ":"s","ᵗ":"t","ᵘ":"u","ᵛ":"v","ʷ":"w","ˣ":"x","ʸ":"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Xi={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Ji={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class Qi{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Yi(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new r("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){const t=this.nextToken;this.consume(),this.gullet.pushToken(new Pr("}")),this.gullet.pushTokens(e);const n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n}parseExpression(e,t){const n=[];while(1){"math"===this.mode&&this.consumeSpaces();const r=this.fetch();if(-1!==Qi.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&Si[r.text]&&Si[r.text].infix)break;const i=this.parseAtom(t);if(!i)break;"internal"!==i.type&&n.push(i)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){let t,n=-1;for(let i=0;i=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);const n=Pe[this.mode][t].group,r=Lr.range(e);let o;if(Ne.hasOwnProperty(n)){const e=n;o={type:"atom",mode:this.mode,family:e,loc:r,text:t}}else o={type:n,mode:this.mode,loc:r,text:t};i=o}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(j(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:Lr.range(e),text:t}}if(this.consume(),n)for(let o=0;o0&&"number"!==typeof e[0]))}function f(e,t,n){var o,f;if(typeof e!==typeof t)return!1;if(h(e)||h(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e)!==i(t))return!1;var p=a(e),m=a(t);if(p!==m)return!1;if(p||m)return e.source===t.source&&s(e)===s(t);if(l(e)&&l(t))return c.call(e)===c.call(t);var g=d(e),v=d(t);if(g!==v)return!1;if(g||v){if(e.length!==t.length)return!1;for(o=0;o=0;o--)if(b[o]!=y[o])return!1;for(o=b.length-1;o>=0;o--)if(f=b[o],!u(e[f],t[f],n))return!1;return!0}e.exports=u},5843:function(e,t,n){e.exports=n.p+"img/romanticPurple.jpg"},5865:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h5}));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 d(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 f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&rpe}function ge(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);(de(window.tui)||!1!==window.tui.usageStatistics)&&(s&&!me(s)||(window.localStorage.setItem(a,(new Date).getTime()),setTimeout((function(){"interactive"!==document.readyState&&"complete"!==document.readyState||fe(n,{v:1,t:i,tid:t,cid:r,dp:r,dh:e,el:e,ec:o})}),1e3)))}var ve=ge;/Mac/.test(navigator.platform);var be=/[\u0020]+/g,ye=/[>(){}[\]+-.!#|]/g,we=/<([a-zA-Z_][a-zA-Z0-9\-._]*)(\s|[^\\>])*\/?>|<(\/)([a-zA-Z_][a-zA-Z0-9\-._]*)\s*\/?>||<([a-zA-Z_][a-zA-Z0-9\-.:/]*)>/g,xe=/\\[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~\\]/g,ke=/[*_~`]/g,Ce=/!\[.*\]\(.*\)/g,Ae=/[[\]]/g,Te=/(?:^|[^\\])\\(?!\\)/g,Se='[&<>"]',Ee=new RegExp(Se,"g");function Me(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function Oe(e){return Ee.test(e)?e.replace(Ee,Me):e}function Ne(){ve("editor","UA-129966929-1")}function De(e,t){return-1!==e.indexOf(t)}var Le=["rel","target","hreflang","type"],Pe={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 Le.forEach((function(n){j(e[n])||(t[n]=e[n])})),t}function Re(e,t){for(var n="",r=0;re[0]&&n=t&&e<=n}function Ge(e){return"object"===typeof e&&null!==e}function Ve(e,t){var n=f({},e);return e&&t&&Object.keys(t).forEach((function(e){Ge(n[e])?Array.isArray(t[e])?n[e]=Ye(t[e]):n.hasOwnProperty(e)?n[e]=Ve(n[e],t[e]):n[e]=Ke(t[e]):n[e]=t[e]})),n}function Ye(e){return e.map((function(e){return Ge(e)?Array.isArray(e)?Ye(e):Ke(e):e}))}function Ke(e){var t=Object.keys(e);return t.length?t.reduce((function(t,n){return Ge(e[n])?t[n]=Array.isArray(e[n])?Ye(e[n]):Ke(e[n]):t[n]=e[n],t}),{}):e}function Ze(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]:Ze(e[n],t[n]):e[n]=t[n]})),e}function Xe(e,t){return e>t?[t,e]:[e,t]}var Je=T;function Qe(e){var t;try{t=Array.prototype.slice.call(e)}catch(n){t=[],Je(e,(function(e){t.push(e)}))}return t}var _e=Qe;function $e(e,t){var n=e.nodes.paragraph;return t?n.create(null,x(t)?e.text(t):t):n.createAndFill()}function et(e,t,n){return e.text(t,n)}function tt(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 nt(e,t,n){var r=t.pos;return e.replaceWith(r,r,$e(n)),e.setSelection(tt(e,r+1))}function rt(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),d=h.nodeSize,f=h.textContent,p=h.content,m=a(f),g=m?et(c,m):r["Fragment"].empty,v=s.mapping.map(n),b=v+p.size;s.replaceWith(v,b,g),n+=d}return s}function it(e,t,n,r){var i=n.length;e.split(t).delete(t-i,t).insert(e.mapping.map(t),r).setSelection(tt(e,e.mapping.map(t)-i))}function ot(e){return e.sourcepos[0][0]}function at(e){return e.sourcepos[1][0]}function st(e){return e.sourcepos[0][1]}function lt(e){return e.sourcepos[1][1]}function ct(e){var t=e.type;return"htmlBlock"===t||"htmlInline"===t}function ut(e){var t=e.type;return"strike"===t||"strong"===t||"emph"===t||"code"===t||"link"===t||"image"===t}function ht(e){return e&&"codeBlock"===e.type}function dt(e){return e&&("item"===e.type||"list"===e.type)}function ft(e){return dt(e)&&"ordered"===e.listData.type}function pt(e){return dt(e)&&"ordered"!==e.listData.type}function mt(e){return e&&("tableCell"===e.type||"tableDelimCell"===e.type)}function gt(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 vt(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 bt(e,t,n){void 0===n&&(n=!0),e=n?e:e.parent;while(e&&"document"!==e.type)t(e),e=e.parent}function yt(e,t){return[e[0],e[1]+t]}function wt(e,t){return[e[0],t]}function xt(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 Ct(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 At=[],Tt={},St=/\$\$widget\d+\s/;function Et(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+=Et(r)}return e}function Mt(e,t){return"$$"+e+" "+t+"$$"}function Ot(e,t){var n=Tt[e],r=n.rule,i=n.toDOM,o=Et(t).match(r);return o&&(t=o[0]),i(t)}function Nt(){return At}function Dt(e){At=e,At.forEach((function(e,t){Tt["widget"+t]=e}))}function Lt(e,t,n,r){return e.concat(Pt(t,n,r))}function Pt(e,t,n){void 0===n&&(n=0);var r=[],i=(At[n]||{}).rule,o=n+1;if(e=Et(e),i&&i.test(e)){var a=void 0;while(-1!==(a=e.search(i))){var s=e.substring(0,a);s&&(r=Lt(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(Mt(c,l)))),e=e.substring(l.length)}e&&(r=Lt(r,e,t,o))}else e&&(r=n-1)}var Ht=jt,Ut=z,qt=_e,Wt=Element.prototype,Gt=Wt.matches||Wt.webkitMatchesSelector||Wt.mozMatchesSelector||Wt.msMatchesSelector||function(e){var t=this.document||this.ownerDocument;return Ut(this,qt(t.querySelectorAll(e)))>-1};function Vt(e,t){return Gt.call(e,t)}var Yt=Vt,Kt="[A-Za-z][A-Za-z0-9-]*",Zt="[a-zA-Z_:][a-zA-Z0-9:._-]*",Xt="[^\"'=<>`\\x00-\\x20]+",Jt="'[^']*'",Qt='"[^"]*"',_t="(?:"+Xt+"|"+Jt+"|"+Qt+")",$t="(?:\\s*=\\s*"+_t+")",en="(?:\\s+"+Zt+$t+"?)",tn="<("+Kt+")("+en+")*\\s*/?>",nn="]",rn="(?:"+tn+"|"+nn+")",on=new RegExp("^"+rn,"i"),an=//i,sn=/|/,ln="

";function cn(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 un="toastui-editor-";function hn(){for(var e=[],t=0;t<\/p>/gi,"

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