@mescius/spread-excelio 17.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,49 @@
1
+ /*!
2
+ *
3
+ * SpreadJS ExcelIO Library 17.0.0
4
+ *
5
+ * Copyright(c) MESCIUS inc. All rights reserved.
6
+ *
7
+ * Licensed under the SpreadJS Commercial License.
8
+ * us.sales@mescius.com
9
+ * https://developer.mescius.com/spreadjs
10
+ *
11
+ */
12
+ !function e(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.Excel=r():(t.GC=t.GC||{},t.GC.Spread=t.GC.Spread||{},t.GC.Spread.Excel=r())}(window,function(){return function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){var i,n;if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.j)return e;if(i=Object.create(null),r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(n in e)r.d(i,n,function(t){return e[t]}.bind(null,n));return i},r.n=function(e){var t=e&&e.j?function t(){return e.default}:function t(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/assets/",r(r.s="./src/excel-io.ts")}({"./node_modules/process/browser.js":function(e,t){var r,i,n,a,o,l,s=e.exports={};function c(){throw Error("setTimeout has not been defined")}function u(){throw Error("clearTimeout has not been defined")}!function(){try{r="function"==typeof setTimeout?setTimeout:c}catch(e){r=c}try{i="function"==typeof clearTimeout?clearTimeout:u}catch(e){i=u}}();function d(e){if(r===setTimeout)return setTimeout(e,0);if((r===c||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}function f(e){if(i===clearTimeout)return clearTimeout(e);if((i===u||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}n=[],a=!1,l=-1;function p(){a&&o&&(a=!1,o.length?n=o.concat(n):l=-1,n.length&&h())}function h(){var e,t;if(!a){for(e=d(p),a=!0,t=n.length;t;){for(o=n,n=[];++l<t;)o&&o[l].run();l=-1,t=n.length}o=null,a=!1,f(e)}}s.nextTick=function(e){var t,r=Array(arguments.length-1);if(arguments.length>1)for(t=1;t<arguments.length;t++)r[t-1]=arguments[t];n.push(new m(e,r)),1!==n.length||a||d(h)};function m(e,t){this.fun=e,this.array=t}m.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={};function g(){}s.on=g,s.addListener=g,s.once=g,s.off=g,s.removeListener=g,s.removeAllListeners=g,s.emit=g,s.prependListener=g,s.prependOnceListener=g,s.listeners=function(e){return[]},s.binding=function(e){throw Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw Error("process.chdir is not supported")},s.umask=function(){return 0}},"./node_modules/setimmediate/setImmediate.js":function(e,t,r){(function(e){!function(t,r){"use strict";var i,n,a,o,l,s;function c(e){var t,r,a;for("function"!=typeof e&&(e=Function(""+e)),t=Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];return a={callback:e,args:t},n[i]=a,l(i),i++}function u(e){delete n[e]}function d(e){var t=e.callback,i=e.args;switch(i.length){case 0:t();break;case 1:t(i[0]);break;case 2:t(i[0],i[1]);break;case 3:t(i[0],i[1],i[2]);break;default:t.apply(r,i)}}function f(e){if(a)setTimeout(f,0,e);else{var t=n[e];if(t){a=!0;try{d(t)}finally{u(e),a=!1}}}}function p(){l=function(t){e.nextTick(function(){f(t)})}}function h(){var e,r;if(t.postMessage&&!t.importScripts)return e=!0,r=t.onmessage,t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}function m(){var e="setImmediate$"+Math.random()+"$",r=function(r){r.source===t&&"string"==typeof r.data&&0===r.data.indexOf(e)&&f(+r.data.slice(e.length))};t.addEventListener?t.addEventListener("message",r,!1):t.attachEvent("onmessage",r),l=function(r){t.postMessage(e+r,"*")}}function g(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;f(t)},l=function(t){e.port2.postMessage(t)}}function b(){var e=o.documentElement;l=function(t){var r=o.createElement("script");r.onreadystatechange=function(){f(t),r.onreadystatechange=null,e.removeChild(r),r=null},e.appendChild(r)}}function w(){l=function(e){setTimeout(f,0,e)}}t.setImmediate||(i=1,n={},a=!1,o=t.document,s=Object.getPrototypeOf&&Object.getPrototypeOf(t),s=s&&s.setTimeout?s:t,"[object process]"==={}.toString.call(t.process)?p():h()?m():t.MessageChannel?g():o&&"onreadystatechange"in o.createElement("script")?b():w(),s.setImmediate=c,s.clearImmediate=u)}("undefined"==typeof self?"undefined"==typeof global?this:global:self)}).call(this,r("./node_modules/process/browser.js"))},"./node_modules/timers-browserify/main.js":function(e,t,r){var i="undefined"!=typeof global&&global||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;t.setTimeout=function(){return new a(n.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new a(n.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()};function a(e,t){this.k=e,this.q=t}a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this.q.call(i,this.k)},t.enroll=function(e,t){clearTimeout(e.C),e.F=t},t.unenroll=function(e){clearTimeout(e.C),e.F=-1},t.G=t.active=function(e){clearTimeout(e.C);var t=e.F;t>=0&&(e.C=setTimeout(function t(){e.I&&e.I()},t))},r("./node_modules/setimmediate/setImmediate.js"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||"undefined"!=typeof global&&global.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||"undefined"!=typeof global&&global.clearImmediate||this&&this.clearImmediate},"./src/common/builtIn-resource.ts":function(e,t,r){"use strict";var i,n,a,o,l;Object.defineProperty(t,"__esModule",{value:!0}),t.BuiltInStylesResource='<?xml version="1.0" encoding="UTF-8" standalone="yes"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><numFmts count="4"><numFmt numFmtId="42" formatCode="_(&quot;$&quot;* #,##0_);_(&quot;$&quot;* (#,##0);_(&quot;$&quot;* &quot;-&quot;_);_(@_)"/><numFmt numFmtId="41" formatCode="_(* #,##0_);_(* (#,##0);_(* &quot;-&quot;_);_(@_)"/><numFmt numFmtId="44" formatCode="_(&quot;$&quot;* #,##0.00_);_(&quot;$&quot;* (#,##0.00);_(&quot;$&quot;* &quot;-&quot;??_);_(@_)"/><numFmt numFmtId="43" formatCode="_(* #,##0.00_);_(* (#,##0.00);_(* &quot;-&quot;??_);_(@_)"/></numFmts><fonts count="18"><font><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="18"/><color theme="3"/><name val="Cambria"/><family val="2"/><scheme val="major"/></font><font><b/><sz val="15"/><color theme="3"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="13"/><color theme="3"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color theme="3"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FF006100"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FF9C0006"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FF9C6500"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FF3F3F76"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color rgb="FF3F3F3F"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color rgb="FFFA7D00"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FFFA7D00"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color theme="0"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FFFF0000"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><i/><sz val="11"/><color rgb="FF7F7F7F"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color theme="0"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="33"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill><fill><patternFill patternType="solid"><fgColor rgb="FFC6EFCE"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFFFC7CE"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFFFEB9C"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFFFCC99"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFF2F2F2"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFA5A5A5"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFFFFFCC"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="4"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="4" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="4" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="4" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="5"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="5" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="5" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="5" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="6"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="6" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="6" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="6" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="7"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="7" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="7" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="7" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="8"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="8" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="8" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="8" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="9"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="9" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="9" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="9" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill></fills><borders count="10"><border><left/><right/><top/><bottom/><diagonal/></border><border><left/><right/><top/><bottom style="thick"><color theme="4"/></bottom><diagonal/></border><border><left/><right/><top/><bottom style="thick"><color theme="4" tint="0.499984740745262"/></bottom><diagonal/></border><border><left/><right/><top/><bottom style="medium"><color theme="4" tint="0.39997558519241921"/></bottom><diagonal/></border><border><left style="thin"><color rgb="FF7F7F7F"/></left><right style="thin"><color rgb="FF7F7F7F"/></right><top style="thin"><color rgb="FF7F7F7F"/></top><bottom style="thin"><color rgb="FF7F7F7F"/></bottom><diagonal/></border><border><left style="thin"><color rgb="FF3F3F3F"/></left><right style="thin"><color rgb="FF3F3F3F"/></right><top style="thin"><color rgb="FF3F3F3F"/></top><bottom style="thin"><color rgb="FF3F3F3F"/></bottom><diagonal/></border><border><left/><right/><top/><bottom style="double"><color rgb="FFFF8001"/></bottom><diagonal/></border><border><left style="double"><color rgb="FF3F3F3F"/></left><right style="double"><color rgb="FF3F3F3F"/></right><top style="double"><color rgb="FF3F3F3F"/></top><bottom style="double"><color rgb="FF3F3F3F"/></bottom><diagonal/></border><border><left style="thin"><color rgb="FFB2B2B2"/></left><right style="thin"><color rgb="FFB2B2B2"/></right><top style="thin"><color rgb="FFB2B2B2"/></top><bottom style="thin"><color rgb="FFB2B2B2"/></bottom><diagonal/></border><border><left/><right/><top style="thin"><color theme="4"/></top><bottom style="double"><color theme="4"/></bottom><diagonal/></border></borders><cellStyleXfs count="47"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/><xf numFmtId="43" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="41" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="44" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="42" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="9" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyNumberFormat="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" applyNumberFormat="0" applyFill="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="4" fillId="0" borderId="2" applyNumberFormat="0" applyFill="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="5" fillId="0" borderId="3" applyNumberFormat="0" applyFill="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="5" fillId="0" borderId="0" applyNumberFormat="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="6" fillId="2" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="7" fillId="3" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="8" fillId="4" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="9" fillId="5" borderId="4" applyNumberFormat="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="10" fillId="6" borderId="5" applyNumberFormat="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="11" fillId="6" borderId="4" applyNumberFormat="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="12" fillId="0" borderId="6" applyNumberFormat="0" applyFill="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="13" fillId="7" borderId="7" applyNumberFormat="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="14" fillId="0" borderId="0" applyNumberFormat="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="8" borderId="8" applyNumberFormat="0" applyFont="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="15" fillId="0" borderId="0" applyNumberFormat="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="16" fillId="0" borderId="9" applyNumberFormat="0" applyFill="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="9" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="10" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="11" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="12" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="13" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="14" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="15" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="16" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="17" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="18" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="19" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="20" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="21" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="22" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="23" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="24" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="25" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="26" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="27" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="28" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="29" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="30" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="31" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="32" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/></cellStyleXfs><cellXfs count="47"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/><xf numFmtId="0" fontId="6" fillId="2" borderId="0" xfId="11"/><xf numFmtId="0" fontId="7" fillId="3" borderId="0" xfId="12"/><xf numFmtId="0" fontId="8" fillId="4" borderId="0" xfId="13"/><xf numFmtId="0" fontId="13" fillId="7" borderId="7" xfId="18"/><xf numFmtId="0" fontId="11" fillId="6" borderId="4" xfId="16"/><xf numFmtId="0" fontId="15" fillId="0" borderId="0" xfId="21"/><xf numFmtId="0" fontId="9" fillId="5" borderId="4" xfId="14"/><xf numFmtId="0" fontId="12" fillId="0" borderId="6" xfId="17"/><xf numFmtId="0" fontId="0" fillId="8" borderId="8" xfId="20" applyFont="1"/><xf numFmtId="0" fontId="14" fillId="0" borderId="0" xfId="19"/><xf numFmtId="0" fontId="10" fillId="6" borderId="5" xfId="15"/><xf numFmtId="0" fontId="1" fillId="14" borderId="0" xfId="28"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" xfId="7"/><xf numFmtId="0" fontId="4" fillId="0" borderId="2" xfId="8"/><xf numFmtId="0" fontId="5" fillId="0" borderId="3" xfId="9"/><xf numFmtId="0" fontId="5" fillId="0" borderId="0" xfId="10"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" xfId="6"/><xf numFmtId="0" fontId="16" fillId="0" borderId="9" xfId="22"/><xf numFmtId="0" fontId="1" fillId="10" borderId="0" xfId="24"/><xf numFmtId="0" fontId="1" fillId="18" borderId="0" xfId="32"/><xf numFmtId="0" fontId="1" fillId="22" borderId="0" xfId="36"/><xf numFmtId="0" fontId="1" fillId="26" borderId="0" xfId="40"/><xf numFmtId="0" fontId="1" fillId="30" borderId="0" xfId="44"/><xf numFmtId="0" fontId="1" fillId="11" borderId="0" xfId="25"/><xf numFmtId="0" fontId="1" fillId="15" borderId="0" xfId="29"/><xf numFmtId="0" fontId="17" fillId="12" borderId="0" xfId="26"/><xf numFmtId="0" fontId="17" fillId="9" borderId="0" xfId="23"/><xf numFmtId="43" fontId="0" fillId="0" borderId="0" xfId="1" applyFont="1"/><xf numFmtId="0" fontId="1" fillId="19" borderId="0" xfId="33"/><xf numFmtId="0" fontId="17" fillId="16" borderId="0" xfId="30"/><xf numFmtId="0" fontId="17" fillId="13" borderId="0" xfId="27"/><xf numFmtId="0" fontId="17" fillId="20" borderId="0" xfId="34"/><xf numFmtId="0" fontId="17" fillId="17" borderId="0" xfId="31"/><xf numFmtId="0" fontId="1" fillId="23" borderId="0" xfId="37"/><xf numFmtId="0" fontId="17" fillId="24" borderId="0" xfId="38"/><xf numFmtId="0" fontId="17" fillId="21" borderId="0" xfId="35"/><xf numFmtId="0" fontId="17" fillId="28" borderId="0" xfId="42"/><xf numFmtId="0" fontId="1" fillId="27" borderId="0" xfId="41"/><xf numFmtId="0" fontId="17" fillId="25" borderId="0" xfId="39"/><xf numFmtId="0" fontId="1" fillId="31" borderId="0" xfId="45"/><xf numFmtId="0" fontId="17" fillId="32" borderId="0" xfId="46"/><xf numFmtId="0" fontId="17" fillId="29" borderId="0" xfId="43"/><xf numFmtId="9" fontId="0" fillId="0" borderId="0" xfId="5" applyFont="1"/><xf numFmtId="42" fontId="0" fillId="0" borderId="0" xfId="4" applyFont="1"/><xf numFmtId="44" fontId="0" fillId="0" borderId="0" xfId="3" applyFont="1"/><xf numFmtId="41" fontId="0" fillId="0" borderId="0" xfId="2" applyFont="1"/></cellXfs><cellStyles count="47"><cellStyle name="20% - Accent1" xfId="24" builtinId="30"/><cellStyle name="20% - Accent2" xfId="28" builtinId="34"/><cellStyle name="20% - Accent3" xfId="32" builtinId="38"/><cellStyle name="20% - Accent4" xfId="36" builtinId="42"/><cellStyle name="20% - Accent5" xfId="40" builtinId="46"/><cellStyle name="20% - Accent6" xfId="44" builtinId="50"/><cellStyle name="40% - Accent1" xfId="25" builtinId="31"/><cellStyle name="40% - Accent2" xfId="29" builtinId="35"/><cellStyle name="40% - Accent3" xfId="33" builtinId="39"/><cellStyle name="40% - Accent4" xfId="37" builtinId="43"/><cellStyle name="40% - Accent5" xfId="41" builtinId="47"/><cellStyle name="40% - Accent6" xfId="45" builtinId="51"/><cellStyle name="60% - Accent1" xfId="26" builtinId="32"/><cellStyle name="60% - Accent2" xfId="30" builtinId="36"/><cellStyle name="60% - Accent3" xfId="34" builtinId="40"/><cellStyle name="60% - Accent4" xfId="38" builtinId="44"/><cellStyle name="60% - Accent5" xfId="42" builtinId="48"/><cellStyle name="60% - Accent6" xfId="46" builtinId="52"/><cellStyle name="Accent1" xfId="23" builtinId="29"/><cellStyle name="Accent2" xfId="27" builtinId="33"/><cellStyle name="Accent3" xfId="31" builtinId="37"/><cellStyle name="Accent4" xfId="35" builtinId="41"/><cellStyle name="Accent5" xfId="39" builtinId="45"/><cellStyle name="Accent6" xfId="43" builtinId="49"/><cellStyle name="Bad" xfId="12" builtinId="27"/><cellStyle name="Calculation" xfId="16" builtinId="22"/><cellStyle name="Check Cell" xfId="18" builtinId="23"/><cellStyle name="Comma" xfId="1" builtinId="3"/><cellStyle name="Comma [0]" xfId="2" builtinId="6"/><cellStyle name="Currency" xfId="3" builtinId="4"/><cellStyle name="Currency [0]" xfId="4" builtinId="7"/><cellStyle name="Explanatory Text" xfId="21" builtinId="53"/><cellStyle name="Good" xfId="11" builtinId="26"/><cellStyle name="Heading 1" xfId="7" builtinId="16"/><cellStyle name="Heading 2" xfId="8" builtinId="17"/><cellStyle name="Heading 3" xfId="9" builtinId="18"/><cellStyle name="Heading 4" xfId="10" builtinId="19"/><cellStyle name="Input" xfId="14" builtinId="20"/><cellStyle name="Linked Cell" xfId="17" builtinId="24"/><cellStyle name="Neutral" xfId="13" builtinId="28"/><cellStyle name="Normal" xfId="0" builtinId="0"/><cellStyle name="Note" xfId="20" builtinId="10"/><cellStyle name="Output" xfId="15" builtinId="21"/><cellStyle name="Percent" xfId="5" builtinId="5"/><cellStyle name="Title" xfId="6" builtinId="15"/><cellStyle name="Total" xfId="22" builtinId="25"/><cellStyle name="Warning Text" xfId="19" builtinId="11"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleLight16"/></styleSheet>';function s(e,t,r,i,n,a,o,l,s,c,u,d,f){return'<a:clrScheme name="'+e+'"><a:dk1><a:sysClr val="windowText" lastClr="'+i+'"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="'+t+'"/></a:lt1><a:dk2><a:srgbClr val="'+n+'"/></a:dk2><a:lt2><a:srgbClr val="'+r+'"/></a:lt2><a:accent1><a:srgbClr val="'+a+'"/></a:accent1><a:accent2><a:srgbClr val="'+o+'"/></a:accent2><a:accent3><a:srgbClr val="'+l+'"/></a:accent3><a:accent4><a:srgbClr val="'+s+'"/></a:accent4><a:accent5><a:srgbClr val="'+c+'"/></a:accent5><a:accent6><a:srgbClr val="'+u+'"/></a:accent6><a:hlink><a:srgbClr val="'+d+'"/></a:hlink><a:folHlink><a:srgbClr val="'+f+'"/></a:folHlink></a:clrScheme>'}i="000000",n="FFFFFF",t.ThemeClrSchemes={Default:s("Default",n,"EEECE1",i,"1F497D","4F81BD","C0504D","9BBB59","8064A2","4BACC6","F79646","0000FF","800080"),Office2007:s("Office2007",n,"EEECE1",i,"1F497D","4F81BD","C0504D","9BBB59","8064A2","4BACC6","F79646","0000FF","800080"),Office:s("Office",n,"E7E6E6",i,"44546A","5B9BD5","ED7D31","A5A5A5","FFC000","4472C4","70AD47","0563C1","954F72"),Apex:s("Apex",n,"C9C2D1",i,"69676D","CEB966","9CB084","6BB1C9","6585CF","7E6BC9","A379BB","410082","932968"),Aspect:s("Aspect",n,"E3DED1",i,"323232","F07F09","9F2936","1B587C","4E8542","604878","C19859","6B9F25","B26B02"),Concourse:s("Concourse",n,"DEF5FA",i,"464646","2DA2BF","DA1F28","EB641B","39639D","474B78","7D3C4A","FF8119","44B9E8"),Civic:s("Civic",n,"C5D1D7",i,"646B86","D16349","CCB400","8CADAE","8C7B70","8FB08C","D19049","00A3D6","694F07"),Oriel:s("Oriel",n,"FFF39D",i,"575F6D","FE8637","7598D9","B32C16","F5CD2D","AEBAD5","777C84","D2611C","3B435B"),Origin:s("Origin",n,"DDE9EC",i,"464653","727CA3","9FB8CD","D2DA7A","FADA7A","B88472","8E736A","B292CA","6B5680"),Paper:s("Paper",n,"FEFAC9",i,"444D26","A5B592","F3A447","E7BC29","D092A7","9C85C0","809EC2","8E58B6","7F6F6F"),Solstice:s("Solstice",n,"E7DEC9",i,"4F271C","3891A7","FEB80A","C32D2E","84AA33","964305","475A8D","8DC765","AA8A14"),Technic:s("Technic",n,"D4D2D0",i,"3B3B3B","6EA0B0","CCAF0A","8D89A4","748560","9E9273","7E848D","00C8C3","A116E0"),Trek:s("Trek",n,"FBEEC9",i,"4E3B30","F0A22E","A5644E","B58B80","C3986D","A19574","C17529","AD1F1F","FFC42F"),Urban:s("Urban",n,"DEDEDE",i,"424456","53548A","438086","A04DA3","C4652D","8B5D3D","5C92B5","67AFBD","C2A874"),Verve:s("Verve",n,"D2D2D2",i,"666666","FF388C","E40059","9C007F","68007F","005BD3","00349E","17BBFD","FF79C2"),Equity:s("Equity",n,"E9E5DC",i,"696464","D34817","9B2D1F","A28E6A","956251","918485","855D5D","CC9900","96A9A9"),Flow:s("Flow",n,"DBF5F9",i,"04617B","0F6FC6","009DD9","0BD0D9","10CF9B","7CCA62","A5C249","E2D700","85DFD0"),Foundry:s("Foundry",n,"EAEBDE",i,"676A55","72A376","B0CCB0","A8CDD7","C0BEAF","CEC597","E8B7B7","DB5353","903638"),Median:s("Median",n,"EBDDC3",i,"775F55","94B6D2","DD8047","A5AB81","D8B25C","7BA79D","968C8C","F7B615","704404"),Metro:s("Metro",n,"D6ECFF",i,"4E5B6F","7FD13B","EA157A","FEB80A","00ADDC","738AC8","1AB39F","EB8803","5F7791"),Module:s("Module",n,"D4D4D6",i,"5A6378","F0AD00","60B5CC","E66C7D","6BB76D","E88651","C64847","168BBA","680000"),Opulent:s("Opulent",n,"F4E7ED",i,"B13F9A","B83D68","AC66BB","DE6C36","F9B639","CF6DA4","FA8D3D","FFDE66","D490C5")};function c(e,t,r){return'<a:fontScheme name="'+e+'"><a:majorFont><a:latin typeface="'+t+'" panose="020F0302020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/><a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/><a:font script="Hans" typeface="\u5b8b\u4f53"/><a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:majorFont><a:minorFont><a:latin typeface="'+r+'" panose="020F0502020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/><a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/><a:font script="Hans" typeface="\u5b8b\u4f53"/><a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:minorFont></a:fontScheme>'}a="Franklin Gothic Book",o="Trebuchet MS",l="Gill Sans MT",
13
+ t.ThemeFontSchemes={Default:c("Default","Cambria","Calibri"),Office:c("Office","Calibri Light","Calibri"),Office2007:c("Office2007","Cambria","Calibri"),Apex:c("Apex","Lucida Sans","Book Antiqua"),Aspect:c("Aspect","Verdana","Verdana"),Concourse:c("Concourse","Lucida Sans Unicode","Lucida Sans Unicode"),Civic:c("Civic","Georgia","Georgia"),Oriel:c("Oriel","Century Schoolbook","Century Schoolbook"),Origin:c("Origin","Bookman Old Style",l),Paper:c("Paper","Constantia","Constantia"),Solstice:c("Solstice",l,l),Technic:c("Technic",a,"Arial"),Trek:c("Trek","Franklin Gothic Medium",a),Urban:c("Urban",o,"Georgia"),Verve:c("Verve","Century Gothic","Century Gothic"),Equity:c("Equity",a,"Perpetua"),Flow:c("Flow","Calibri","Constantia"),Foundry:c("Foundry","Rockwell","Rockwell"),Median:c("Median","Tw Cen MT","Tw Cen MT"),Metro:c("Metro","Consolas","Corbel"),Module:c("Module","Corbel","Corbel"),Opulent:c("Opulent",o,o)};function u(e){return'<a:fmtScheme name="'+e+'"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="1"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:shade val="51000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="80000"><a:schemeClr val="phClr"><a:shade val="93000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="94000"/><a:satMod val="135000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path></a:gradFill></a:bgFillStyleLst></a:fmtScheme>'}t.ThemeFmtSchemes={},["Default","Office","Office2007","Apex","Aspect","Concourse","Civic","Oriel","Origin","Paper","Solstice","Technic","Trek","Urban","Verve","Equity","Flow","Foundry","Median","Metro","Module","Opulent"].forEach(function(e){t.ThemeFmtSchemes[e]=u(e)}),t.RelationsFile='<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>'},"./src/common/common.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k,E,I,F,P;Object.defineProperty(t,"__esModule",{value:!0}),i=null,n=void 0,a="object",o="string",l=["Button","Spin","Scroll","List","CheckBox","Radio","Label","GBox","Drop"];function D(e){return null===e||void 0===e}t.isNullOrUndefined=D,t.J=D;function R(e){var t,r=!0;for(t in e)if(e.hasOwnProperty(t)){r=!1;break}return r}t.isEmptyObject=R;function L(){var e,t,r,i,n=this;try{t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},r="object"===("undefined"==typeof global?"undefined":t(global))&&global&&global.Object===Object&&global,i="object"===("undefined"==typeof self?"undefined":t(self))&&self&&self.Object===Object&&self,e=r||i||function(){return n}()}catch(e){}return e}t.K=L,s=function(){function e(){}return e.L=function(e){return!e||""===e},e.O=function(e){return!e||" "===e},e}(),t.StringEx=s,c=function(){function e(e,t,r,i){this.row=e,this.col=t,this.rowCount=r,this.colCount=i}return e}(),t.Range=c;function _(e){return e.col===-1||e.colCount===-1}t.isRangeWholeRow=_;function N(e){return e.row===-1||e.rowCount===-1}t.isRangeWholeColumn=N,u="_xlfn._xlws.",d=/&#(\d+);/g,f=/&#x([0-9A-F]+);/gi,p={AVERAGEIF:/\bAVERAGEIF\b\(/gi,AVERAGEIFS:/\bAVERAGEIFS\b\(/gi,CUBEKPIMEMBER:/\bCUBEKPIMEMBER\b\(/gi,CUBEMEMBER:/\bCUBEMEMBER\b\(/gi,CUBEMEMBERPROPERTY:/\bCUBEMEMBERPROPERTY\b\(/gi,CUBERANKEDMEMBER:/\bCUBERANKEDMEMBER\b\(/gi,CUBESET:/\bCUBESET\b\(/gi,CUBESETCOUNT:/\bCUBESETCOUNT\b\(/gi,CUBEVALUE:/\bCUBEVALUE\b\(/gi,COUNTIFS:/\bCOUNTIFS\b\(/gi,IFERROR:/\bIFERROR\b\(/gi,SUMIFS:/\bSUMIFS\b\(/gi,ACOT:/\bACOT\b\(/gi,ACOTH:/\bACOTH\b\(/gi,AGGREGATE:/\bAGGREGATE\b\(/gi,ARABIC:/\bARABIC\b\(/gi,BASE:/\bBASE\b\(/gi,"BETA.DIST":/\bBETA\.DIST\b\(/gi,"BETA.INV":/\bBETA\.INV\b\(/gi,"BINOM.DIST":/\bBINOM\.DIST\b\(/gi,"BINOM.DIST.RANGE":/\bBINOM\.DIST\.RANGE\b\(/gi,"BINOM.INV":/\bBINOM\.INV\b\(/gi,BITAND:/\bBITAND\b\(/gi,BITLSHIFT:/\bBITLSHIFT\b\(/gi,BITOR:/\bBITOR\b\(/gi,BITRSHIFT:/\bBITRSHIFT\b\(/gi,BITXOR:/\bBITXOR\b\(/gi,"CEILING.MATH":/\bCEILING\.MATH\b\(/gi,"CEILING.PRECISE":/\bCEILING\.PRECISE\b\(/gi,"CHISQ.DIST":/\bCHISQ\.DIST\b\(/gi,"CHISQ.DIST.RT":/\bCHISQ\.DIST\.RT\b\(/gi,"CHISQ.INV":/\bCHISQ\.INV\b\(/gi,"CHISQ.INV.RT":/\bCHISQ\.INV\.RT\b\(/gi,"CHISQ.TEST":/\bCHISQ\.TEST\b\(/gi,COMBINA:/\bCOMBINA\b\(/gi,CONCAT:/\bCONCAT\b\(/gi,"CONFIDENCE.T":/\bCONFIDENCE\.T\b\(/gi,"CONFIDENCE.NORM":/\bCONFIDENCE\.NORM\b\(/gi,COT:/\bCOT\b\(/gi,"COVARIANCE.P":/\bCOVARIANCE\.P\b\(/gi,"COVARIANCE.S":/\bCOVARIANCE\.S\b\(/gi,CSC:/\bCSC\b\(/gi,CSCH:/\bCSCH\b\(/gi,DAYS:/\bDAYS\b\(/gi,DECIMAL:/\bDECIMAL\b\(/gi,ENCODEURL:/\bENCODEURL\b\(/gi,"ERF.PRECISE":/\bERF\.PRECISE\b\(/gi,"ERFC.PRECISE":/\bERFC\.PRECISE\b\(/gi,"EXPON.DIST":/\bEXPON\.DIST\b\(/gi,"F.DIST":/\bF\.DIST\b\(/gi,"F.DIST.RT":/\bF\.DIST\.RT\b\(/gi,"F.INV":/\bF\.INV\b\(/gi,"F.INV.RT":/\bF\.INV\.RT\b\(/gi,FILTERXML:/\bFILTERXML\b\(/gi,"FLOOR.MATH":/\bFLOOR\.MATH\b\(/gi,"FLOOR.PRECISE":/\bFLOOR\.PRECISE\b\(/gi,FORMULATEXT:/\bFORMULATEXT\b\(/gi,GAMMA:/\bGAMMA\b\(/gi,"GAMMA.DIST":/\bGAMMA\.DIST\b\(/gi,"GAMMA.INV":/\bGAMMA\.INV\b\(/gi,"GAMMALN.PRECISE":/\bGAMMALN\.PRECISE\b\(/gi,"HYPGEOM.DIST":/\bHYPGEOM\.DIST\b\(/gi,IFNA:/\bIFNA\b\(/gi,IFS:/\bIFS\b\(/gi,IMCOSH:/\bIMCOSH\b\(/gi,IMCOT:/\bIMCOT\b\(/gi,IMCSCH:/\bIMCSCH\b\(/gi,IMSEC:/\bIMSEC\b\(/gi,IMSECH:/\bIMSECH\b\(/gi,IMSINH:/\bIMSINH\b\(/gi,IMTAN:/\bIMTAN\b\(/gi,ISFORMULA:/\bISFORMULA\b\(/gi,ISOWEEKNUM:/\bISOWEEKNUM\b\(/gi,"LOGNORM.DIST":/\bLOGNORM\.DIST\b\(/gi,"LOGNORM.INV":/\bLOGNORM\.INV\b\(/gi,MAXIFS:/\bMAXIFS\b\(/gi,MINIFS:/\bMINIFS\b\(/gi,"MODE.MULT":/\bMODE\.MULT\b\(/gi,"MODE.SNGL":/\bMODE\.SNGL\b\(/gi,MUNIT:/\bMUNIT\b\(/gi,"NEGBINOM.DIST":/\bNEGBINOM\.DIST\b\(/gi,"NORM.DIST":/\bNORM\.DIST\b\(/gi,"NORM.INV":/\bNORM\.INV\b\(/gi,"NORM.S.DIST":/\bNORM\.S\.DIST\b\(/gi,"NORM.S.INV":/\bNORM\.S\.INV\b\(/gi,NUMBERVALUE:/\bNUMBERVALUE\b\(/gi,PDURATION:/\bPDURATION\b\(/gi,"PERCENTILE.EXC":/\bPERCENTILE\.EXC\b\(/gi,"PERCENTILE.INC":/\bPERCENTILE\.INC\b\(/gi,"PERCENTRANK.EXC":/\bPERCENTRANK\.EXC\b\(/gi,"PERCENTRANK.INC":/\bPERCENTRANK\.INC\b\(/gi,PERMUTATIONA:/\bPERMUTATIONA\b\(/gi,PHI:/\bPHI\b\(/gi,"POISSON.DIST":/\bPOISSON\.DIST\b\(/gi,"QUARTILE.EXC":/\bQUARTILE\.EXC\b\(/gi,"QUARTILE.INC":/\bQUARTILE\.INC\b\(/gi,"RANK.AVG":/\bRANK\.AVG\b\(/gi,"RANK.EQ":/\bRANK\.EQ\b\(/gi,RRI:/\bRRI\b\(/gi,SECH:/\bSECH\b\(/gi,SHEET:/\bSHEET\b\(/gi,SHEETS:/\bSHEETS\b\(/gi,"STDEV.P":/\bSTDEV\.P\b\(/gi,"STDEV.S":/\bSTDEV\.S\b\(/gi,SWITCH:/\bSWITCH\b\(/gi,"T.DIST":/\bT\.DIST\b\(/gi,"T.DIST.2T":/\bT\.DIST\.2T\b\(/gi,"T.DIST.RT":/\bT\.DIST\.RT\b\(/gi,"T.INV":/\bT\.INV\b\(/gi,"T.INV.2T":/\bT\.INV\.2T\b\(/gi,TEXTJOIN:/\bTEXTJOIN\b\(/gi,UNICHAR:/\bUNICHAR\b\(/gi,UNICODE:/\bUNICODE\b\(/gi,"VAR.P":/\bVAR\.P\b\(/gi,"VAR.S":/\bVAR\.S\b\(/gi,WEBSERVICE:/\bWEBSERVICE\b\(/gi,"WEIBULL.DIST":/\bWEIBULL\.DIST\b\(/gi,XOR:/\bXOR\b\(/gi,"Z.TEST":/\bZ\.TEST\b\(/gi,XMATCH:/\bXLOOKUP\b\(/gi,XLOOKUP:/\bXLOOKUP\b\(/gi,RANDARRAY:/RANDARRAY\(/gi,SEQUENCE:/SEQUENCE\(/gi,SORTBY:/SORTBY\(/gi,UNIQUE:/UNIQUE\(/gi,ANCHORARRAY:/ANCHORARRAY\(/gi,SINGLE:/SINGLE\(/gi,LET:/\bLET\b\(/gi,LAMBDA:/\bLAMBDA\b\(/gi,MAP:/\bMAP\b\(/gi,REDUCE:/\bREDUCE\b\(/gi,SCAN:/\bSCAN\b\(/gi,MAKEARRAY:/\bMAKEARRAY\b\(/gi,BYCOL:/\bBYCOL\b\(/gi,BYROW:/\bBYROW\b\(/gi,ISOMITTED:/\bISOMITTED\b\(/gi,FILTER:{reg:/FILTER\(/gi,prefix:u},SORT:{reg:/SORT\(/gi,prefix:u},TEXTBEFORE:/\bTEXTBEFORE\b\(/gi,TEXTAFTER:/\bTEXTAFTER\b\(/gi,TEXTSPLIT:/\bTEXTSPLIT\b\(/gi,VSTACK:/\bVSTACK\b\(/gi,HSTACK:/\bHSTACK\b\(/gi,TOROW:/\bTOROW\b\(/gi,TOCOL:/\bTOCOL\b\(/gi,WRAPROWS:/\bWRAPROWS\b\(/gi,WRAPCOLS:/\bWRAPCOLS\b\(/gi,TAKE:/\bTAKE\b\(/gi,DROP:/\bDROP\b\(/gi,EXPAND:/\bEXPAND\b\(/gi,CHOOSEROWS:/\bCHOOSEROWS\b\(/gi,CHOOSECOLS:/\bCHOOSECOLS\b\(/gi},h=/([A-Z][A-Z.]+)\(/gi,m="_xlfn.";function B(e,t){var r,i=t.toUpperCase(),n=p[i];return n?(r=m,n.reg&&(r=n.prefix),r+e):e}function M(e,t){for(var r=t;r<e.length;r++)if("'"===e[r]||'"'===e[r])return r;return r}function O(e,t){var r,i,n;if(e&&"string"==typeof e){for(r=[],i=0;i<e.length&&(n=M(e,i),r.push(t(e.substring(i,n))),n<e.length);i++){if(i=e.indexOf(e[n],n+1),i===-1){r.push(e.substring(n));break}r.push(e.substring(n,i+1))}return r.join("")}return e}function G(e){return O(e,function(e){return e.replace(h,B)})}t.addXLFNPrefix=G;function H(e){return O(e,function(e){return e.toLowerCase().indexOf("_xl")>=0?e.replace(/_xlfn\.|_xlws\.|_xll\./gi,""):e})}t.processFunction=H,g=function(){function e(){}return e.P=function(e){if(s.L(e))return 0;for(var t=0,r=0;r<e.length&&isNaN(parseInt(e[r],10));)r++;return r<e.length&&(t=parseInt(e.substring(r),10)),t-1},e.R=function(e){var t,r,i,n,a=0,o=e.length;for(t=0;t<o&&(r=e[t],i=r.charCodeAt(),n=i-97,!(n>25))&&(n<0&&(n=i-65),!(n<0));t++)a=26*a+n+1;return a--,a},e.T=function(t){var r,i,n,a,o,l;if(t<0)return"";if(r=e.U[t])return r;for(i=t,n="",a=n.length,t+=1;t>0;t=Math.floor((t-1)/26))o=n.substring(0,a),l=n.substring(a),n=o+String.fromCharCode(65+(t-1)%26)+l;return r=""+n,e.U[i]=r,r},e.V=function(t){var r,i=function(t){var r,i,n=!0;for(r=0;r<t.length;r++){if(i=t[r],e.W[i])return!1;n&&/\D/.test(i)&&(n=!1)}return!n},n="'"===t[0]&&"'"===t.substr(-1);return n||(r=i(t))?t:"'"+t+"'"},e.U=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],e.W={" ":!0,"'":!0,"[":!0,"]":!0,"?":!0,"\\":!0,"%":!0,'"':!0,"(":!0,")":!0,"|":!0,"{":!0,"}":!0,"#":!0,"@":!0,"!":!0,$:!0,"^":!0,"\uff08":!0,"\uff09":!0,";":!0,":":!0,",":!0,"+":!0,"-":!0,"*":!0,"/":!0,"&":!0,"=":!0,"<":!0,">":!0,"\u3000":!0},e}(),t.IndexHelper=g;function U(e){if(!e)return e;var t={};return D(e.color)||(t.color=e.color),D(e.style)||(t.style=e.style),D(e.level)||(t.level=e.level),t}b=function(){function e(){}return e.Z=function(e,t){return e&&e[t]},e._=function(e,t){var r,i,n;if(!e)return null;for(r=0,i=e.length;r<i;r++)if(n=e[r],n&&n.name===t)return e[r];return null},e.aa=function(t,r,i){var n,a;i&&(n=i.name,a=e.Z(r,i.name),D(a)?(t.push(i),r[n]=t.length-1):t[a]=i)},e.ba=function(e){var t,r;return!e||(t=void 0===e.name&&void 0===e.parentName&&void 0===e.locked&&void 0===e.tabStop&&void 0===e.themeFont&&void 0===e.font&&void 0===e.hAlign&&void 0===e.vAlign&&void 0===e.textIndent&&void 0===e.wordWrap&&void 0===e.shrinkToFit&&void 0===e.borderLeft&&void 0===e.borderTop&&void 0===e.borderRight&&void 0===e.borderBottom&&void 0===e.diagonalUp&&void 0===e.diagonalDown&&void 0===e.backColor&&void 0===e.foreColor&&void 0===e.textDecoration&&void 0===e.isVerticalText&&void 0===e.quotePrefix&&void 0===e.textOrientation)&&(r=e.formatter,typeof r!==o||"GENERAL"===r.toUpperCase())},e.ca=function(t,r,i){r&&!e.ba(r)&&(i&&t.parentName===n&&r.parentName&&(t.parentName=r.parentName),t.backColor===n&&r.backColor!==n&&r.applyFill!==!1&&(t.backColor=r.backColor),r.applyFont!==!1&&(t.foreColor===n&&r.foreColor!==n&&(t.foreColor=r.foreColor),t.themeFont===n&&t.font===n?(t.themeFont=r.themeFont,t.font=r.font):t.themeFont!==n&&t.font===n&&(t.font=r.font),t.textDecoration===n&&r.textDecoration!==n&&(t.textDecoration=r.textDecoration)),r.applyAlignment!==!1&&(t.hAlign===n&&r.hAlign!==n&&(t.hAlign=r.hAlign),t.vAlign===n&&r.vAlign!==n&&(t.vAlign=r.vAlign),t.textIndent===n&&r.textIndent!==n&&(t.textIndent=r.textIndent),t.wordWrap===n&&r.wordWrap!==n&&(t.wordWrap=r.wordWrap),t.isVerticalText===n&&r.isVerticalText!==n&&(t.isVerticalText=r.isVerticalText),t.shrinkToFit===n&&r.shrinkToFit!==n&&(t.shrinkToFit=r.shrinkToFit),t.textOrientation===n&&r.textOrientation!==n&&(t.textOrientation=r.textOrientation)),t.formatter===n&&r.formatter!==n&&r.applyNumberFormat!==!1&&(t.formatter=r.formatter),r.applyBorder!==!1&&(t.borderLeft===n&&r.borderLeft!==n&&(t.borderLeft=U(r.borderLeft)),t.borderTop===n&&r.borderTop!==n&&(t.borderTop=U(r.borderTop)),t.borderRight===n&&r.borderRight!==n&&(t.borderRight=U(r.borderRight)),t.borderBottom===n&&r.borderBottom!==n&&(t.borderBottom=U(r.borderBottom)),t.diagonalUp===n&&r.diagonalUp!==n&&(t.diagonalUp=U(r.diagonalUp)),t.diagonalDown===n&&r.diagonalDown!==n&&(t.diagonalDown=U(r.diagonalDown))),t.locked===n&&r.applyProtection!==!1&&(t.locked=r.locked),t.quotePrefix===n&&r.quotePrefix!==n&&(t.quotePrefix=r.quotePrefix))},e.da=function(t,r){if(!r||t.length<=0)return i;for(var n=r;n.parentName&&(n=e._(t,n.parentName));)e.ca(r,n)},e.fa=function(e,t){if(!e&&!t)return!0;function r(e,t){return!e&&!t||!(!e||!t)&&(e.color===t.color&&e.style===t.style)}function i(e,t){return!e&&!t||("string"==typeof e&&"string"==typeof t?e===t:!("object"!=typeof e||!e||"object"!=typeof t||!t)&&(e.formatCached===t.formatCached&&e.customerCultureName===t.customerCultureName))}return!(!e||!t)&&(e.parentName===t.parentName&&e.backColor===t.backColor&&e.foreColor===t.foreColor&&e.hAlign===t.hAlign&&e.vAlign===t.vAlign&&e.themeFont===t.themeFont&&e.font===t.font&&e.locked===t.locked&&e.textIndent===t.textIndent&&e.wordWrap===t.wordWrap&&e.shrinkToFit===t.shrinkToFit&&e.textDecoration===t.textDecoration&&e.textOrientation===t.textOrientation&&e.quotePrefix===t.quotePrefix&&i(e.formatter,t.formatter)&&i(e.autoFormatter,t.autoFormatter)&&e.isVerticalText===t.isVerticalText&&r(e.borderLeft,t.borderLeft)&&r(e.borderTop,t.borderTop)&&r(e.borderRight,t.borderRight)&&r(e.borderBottom,t.borderBottom)&&r(e.diagonalDown,t.diagonalDown)&&r(e.diagonalUp,t.diagonalUp))},e}(),t.ga=b,w=function(){function e(){}return e.ha=function(e,t){var r=0|e||0;return r<0?Math.max(r+t,0):Math.min(r,t)},e.ia=function(t,r,i){var n,a,o,l,s,c,u,d,f,p,h;if(!t.slice){if(n=t.byteLength,a=e.ha,o=a(r,n),l=n,void 0!==i&&(l=a(i,n)),s=t.constructor,o>l)return new s(0);if(c=l-o,t instanceof ArrayBuffer)return u=new ArrayBuffer(c),d=new Uint8Array(u),f=new Uint8Array(t,o,c),d.set(f),u;for(p=new s(c),h=0;h<c;h++)p[h]=t[o+h];return p}return t.slice(r,i)},e}(),t.BufferHelper=w,C=/&/g,S=/</g,y=/>/g,v=/"/g,x=/'/g,T=/&amp;/g,A=/&gt;/g,k=/&lt;/g,E=/&quot;/g,I=/&apos;/g,F=/_x00[0-1][0-9A-Fa-f]_/;function J(e){return function(t,r){return String.fromCharCode(parseInt(r,e))}}function W(e){return e<10?"0"+e:e+""}P=function(){function e(){}return e.ka=function(e,t,r){if(!e||0===e.length)return r;if(!t)return e[0];for(var i=0,n=e.length;i<n;i++)if(t(e[i]))return e[i];return r},e.la=function(e,t){var r,i,n;if(!e)return-1;for(r=0,i=e.length;r<i;r++)if(n=e[r],n.equals&&n.equals(t)||n===t)return r;return-1},e.ma=function(t,r){var i,n,a;if(!t)return-1;for(i=0,n=t.length;i<n;i++)if(a=t[i],e.na(a,r)||a===r)return i;return-1},e.na=function(e,t){return JSON.stringify(e)===JSON.stringify(t)},e.oa=function(e){return typeof e===o?e.replace(C,"&amp;").replace(S,"&lt;").replace(y,"&gt;").replace(v,"&quot;").replace(x,"&apos;"):D(e)?e:""+e},e.pa=function(e){return typeof e===o?(e.indexOf("&#")!==-1&&(e=e.replace(d,J(10)).replace(f,J(16))),e.replace(A,">").replace(k,"<").replace(E,'"').replace(I,"'").replace(T,"&")):D(e)?e:""+e},e.qa=function(e,t){var r,i=e.split("/"),n=t.split("/");for(i.pop();n.length>0;)if(r=n[0],".."===r)n.shift(),i.pop();else{if("."!==r)break;n.shift()}return i.concat(n).join("/")},e.ra=function(e){var t,r,i;return s.L(e)||(i=e.split("/"),r=i.pop(),t=i.join("/")),{dir:t||"",fileName:r||""}},e.sa=function(t,r,i){var n,o,l;function s(t,r){if(!t&&!r)return!0;if(!t||!r||t.length!==r.length)return!1;for(var i=0;i<t.length;i++)if(typeof t[i]===a){if(typeof r[i]!==a)return!1;if(!e.sa(t[i],r[i]))return!1}else if(Array.isArray(t[i])){if(!Array.isArray(r[i]))return!1;if(!s(t[i],r[i]))return!1}else if(t[i]!==r[i])return!1;return!0}if(!t&&!r)return!0;if(!t||!r)return!1;if(i||(i=e.sa),Object.getOwnPropertyNames(t).length!==Object.getOwnPropertyNames(r).length)return!1;n={};for(o in t)if(t.hasOwnProperty(o)){if(l=t[o],Array.isArray(l)){if(!s(l,r[o]))return!1}else if(typeof l===a){if(!i(l,r[o]))return!1}else if(l!==r[o])return!1;n[o]=!0}for(o in r)if(r.hasOwnProperty(o)&&!n[o])return!1;return!0},e.ta=function(e,t,r){var i,n;if(e&&typeof e===o)for(i=0;i<r.length;i++)if(n=r[i],n!==t&&(e.indexOf(n+"!")>-1||e.indexOf("'"+n+"'!")>-1))return!0;return!1},e.ua=function(e,t,r){return e.split(t).join(r)},e.va=function(){return"{xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx}".replace(/[xy]/g,function(e){var t=16*Math.random()|0,r="x"===e?t:3&t|8;return r.toString(16)})},e.wa=function(e){if(!D(e)&&e.match(F)!==i){var t=/(_x005[fF])?_x00([0-1][0-9A-Fa-f])_/g;return e.replace(t,function(e,t,r){var i=0;return r&&(i=parseInt(r,16)),t?"_x00"+r+"_":String.fromCharCode(i)}).replace(/(\r)+\n/g,"\r\n")}return e},e.xa=function(e,t){var r,n,a,o,l,s;if(D(e)||""===e)return e;for(e.match(F)!==i&&(r=/(_x00[0-1][0-9A-Fa-f]_)/g,e=e.replace(r,function(e){return"_x005F"+e})),n=["_x0000_","_x0001_","_x0002_","_x0003_","_x0004_","_x0005_","_x0006_","_x0007_","_x0008_","_x0009_","_x000A_","_x000B_","_x000C_","_x000D_","_x000E_","_x000F_","_x0010_","_x0011_","_x0012_","_x0013_","_x0014_","_x0015_","_x0016_","_x0017_","_x0018_","_x0019_","_x001A_","_x001B_","_x001C_","_x001D_","_x001E_","_x001F_"],a=[],o=0;o<e.length;o++)l=e.charCodeAt(o),s=e[o],l>31||(10===l||13===l)&&t?a.push(s):a.push(n[l]);return a.join("")},e.ya=function(e){var t=e&&e.Choice,r=t&&t.GraphicalObjectFrame,i=r&&r.graphic,n=i&&i.graphicData;return!(!n||!n.chart)},e.za=function(e){var t=e.chartSpace,r=t&&t.chart.plotArea,i=r&&r.plotAreaRegion;return i&&i.series[0]},e.Aa=function(e){return 16===e||17===e||18===e||19===e||20===e||21===e||22===e||23===e},e.isSupportedExcelObjectType=function(e){return l.indexOf(e)!==-1},e.Ba=function(e){return e.getFullYear()+"-"+W(e.getMonth()+1)+"-"+W(e.getDate())+"T"+W(e.getHours())+":"+W(e.getMinutes())+":"+W(e.getSeconds())},e.Ca=function(e){var r=!0,i=t.K(),n=i&&i.GC&&i.GC.Spread&&i.GC.Spread.Formatter&&i.GC.Spread.Formatter.GeneralFormatter;if(e&&"="!==e[0]&&!D(n))try{new n(e)}catch(e){r=!1}return r},e.Da=function(t,r){var n,a,o,l;if(t===i&&r===i)return!0;if("object"==typeof t&&"object"==typeof r){if(n=Object.keys(t),a=Object.keys(r),n.length!==a.length)return!1;for(o=0;o<n.length;o++)if(l=n[o],!e.Da(t[l],r[l]))return!1;return!0}return t===r},e}(),t.Util=P,t.Ea=function(){return{colHeaderRowHeight:20,rowHeaderColWidth:40,rowHeight:20,colWidth:62}},t.Fa=function(){var e=L();return e&&e.gcCultureInfo},t.Ga=function(){var e=L();return e&&e.gcCultureObj};function V(e){return Math.random().toString(16).slice(-e)}function z(){var e="{"+V(8)+"-"+V(4)+"-"+V(4)+"-"+V(4)+"-"+V(12)+"}";return e.toUpperCase()}t.Ha=z;function j(e){if(!e)return e;if("number"==typeof e||"string"==typeof e||"boolean"==typeof e||D(e))return e;if(e.clone)return e.clone();if(e instanceof Date)return new Date(e.valueOf());var t,r,i;t=e instanceof Object?new e.constructor:new e.constructor(e.valueOf());for(r in e)e.hasOwnProperty(r)&&(i=e[r],e.hasOwnProperty(r)&&t[r]!==i&&("object"==typeof i?t[r]=j(i):t[r]=i));return t.toString=e.toString,t.valueOf=e.valueOf,t}t.Ia=j,t.PRINT_AREA="Print_Area",t.PRINT_AREA_UPPERCASE="PRINT_AREA",t.BUILT_IN_PRINT_AREA="_xlnm.Print_Area",t.BUILT_IN_PRINT_AREA_UPPERCASE="_XLNM.PRINT_AREA"},"./src/common/excel-types.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-parser.ts"),function(e){e[e.bottomRight=0]="bottomRight",e[e.topRight=1]="topRight",e[e.bottomLeft=2]="bottomLeft",e[e.topLeft=3]="topLeft"}(a=t.PaneType||(t.PaneType={})),t.RelationshipConstants={Ja:"rId",Ka:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",La:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Ma:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",Na:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Oa:"http://purl.oclc.org/ooxml/officeDocument/relationships/officeDocument",Pa:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Qa:"http://purl.oclc.org/ooxml/officeDocument/relationships/styles",Ra:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",Sa:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Ta:"http://purl.oclc.org/ooxml/officeDocument/relationships/sharedStrings",Ua:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Va:"http://purl.oclc.org/ooxml/officeDocument/relationships/theme",Wa:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition",Xa:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheRecords",Ya:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable",Za:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",$a:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table",_a:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",ab:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",bb:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/ctrlProp",cb:"http://purl.oclc.org/ooxml/officeDocument/relationships/extendedProperties",eb:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",fb:"http://purl.oclc.org/ooxml/officeDocument/relationships/drawing",gb:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",hb:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",ib:"http://purl.oclc.org/ooxml/officeDocument/relationships/image",jb:"http://schemas.microsoft.com/office/2007/relationships/slicer",kb:"http://schemas.microsoft.com/office/2007/relationships/slicerCache",lb:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",mb:"http://schemas.microsoft.com/office/2014/relationships/chartEx",nb:"http://purl.oclc.org/ooxml/officeDocument/relationships/chart",ob:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartUserShapes",pb:"http://schemas.microsoft.com/office/2011/relationships/chartColorStyle",qb:"http://schemas.microsoft.com/office/2011/relationships/chartStyle",rb:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",sb:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",tb:"http://schemas.microsoft.com/office/2011/relationships/timeline",ub:"http://schemas.microsoft.com/office/2011/relationships/timelineCache"},t.ExcelConstants={vb:16384,wb:1048576},t.DefaultSize={xb:20,yb:40,zb:62,Ab:20},t.MaxDigitWidthMap={8:{"Gill Sans MT":6,Abadi:7,"Abadi Extra Light":6,"Agency FB":5,Aharoni:5,Aldhabi:4,Algerian:7,"Ami R":5,"Angsana New":4,AngsanaUPC:4,Aparajita:4,"Arabic Typesetting":4,Arial:6,"Arial Black":7,"Arial Narrow":5,"Arial Nova":6,"Arial Nova Cond":6,"Arial Nova Cond Light":5,"Arial Nova Light":6,"Arial Rounded MT Bold":7,"Baskerville Old Face":5,Batang:6,BatangChe:6,"Bauhaus 93":6,"Bell MT":6,Bembo:5,"Berlin Sans FB":7,"Berlin Sans FB Demi":7,"Bernard MT Condensed":5,"Blackadder ITC":4,"Bodoni MT":5,"Bodoni MT Black":7,"Bodoni MT Condensed":4,"Bodoni MT Poster Compressed":4,"Book Antiqua":6,"Bookman Old Style":7,"Bookshelf Symbol 7":8,"Bradley Hand ITC":7,"Britannic Bold":7,Broadway:7,"Browallia New":4,BrowalliaUPC:4,"Brush Script MT":6,Calibri:6,"Calibri Light":6,"Californian FB":5,"Calisto MT":6,Cambria:6,"Cambria Math":6,Candara:6,Castellar:8,Centaur:5,Century:6,"Century Gothic":6,"Century Schoolbook":6,Chiller:5,"Colonna MT":6,"Comic Sans MS":7,Consolas:6,Constantia:6,"Cooper Black":7,"Copperplate Gothic Bold":8,"Copperplate Gothic Light":8,Corbel:6,"Cordia New":4,CordiaUPC:4,"Courier New":7,"Curlz MT":6,Dante:5,DaunPenh:4,David:5,DilleniaUPC:3,DokChampa:6,Dotum:6,DotumChe:6,Dubai:6,"Dubai Light":6,"Dubai Medium":6,Ebrima:6,"Edwardian Script ITC":5,Elephant:8,"Engravers MT":7,"Eras Bold ITC":7,"Eras Demi ITC":7,"Eras Light ITC":6,"Eras Medium ITC":6,EucrosiaUPC:4,Euphemia:6,"Expo M":10,FangSong:6,"Felix Titling":6,"Footlight MT Light":6,Forte:6,"Franklin Gothic Book":6,"Franklin Gothic Demi":6,"Franklin Gothic Demi Cond":6,"Franklin Gothic Heavy":6,"Franklin Gothic Medium":6,"Franklin Gothic Medium Cond":6,FrankRuehl:5,FreesiaUPC:5,"Freestyle Script":4,"French Script MT":4,Gabriola:4,Gadugi:6,Garamond:5,Gautami:7,Georgia:8,"Georgia Pro":6,"Georgia Pro Black":8,"Georgia Pro Cond":6,"Georgia Pro Cond Black":7,"Georgia Pro Cond Light":6,"Georgia Pro Cond Semibold":6,"Georgia Pro Light":6,"Georgia Pro Semibold":7,Gigi:5,"Gill Sans MT Condensed":4,"Gill Sans MT Ext Condensed Bold":4,"Gill Sans Nova":6,"Gill Sans Nova Cond":4,"Gill Sans Nova Cond Lt":3,"Gill Sans Nova Cond Ultra Bold":6,"Gill Sans Nova Cond XBd":6,"Gill Sans Nova Light":6,"Gill Sans Nova Ultra Bold":9,"Gill Sans Ultra Bold":9,"Gill Sans Ultra Bold Condensed":6,Gisha:6,"Gloucester MT Extra Condensed":4,"Goudy Old Style":6,"Goudy Stout":9,Grotesque:5,"Grotesque Light":5,Gulim:6,GulimChe:6,Gungsuh:6,GungsuhChe:6,"Hadassah Friedlaender":6,Haettenschweiler:5,"Harlow Solid Italic":5,Harrington:6,"Headline R":8,HGGothicE:6,HGGothicM:6,HGGyoshotai:6,HGKyokashotai:6,HGMaruGothicMPRO:8,HGMinchoB:7,HGMinchoE:7,HGPGothicE:7,HGPGothicM:7,HGPGyoshotai:6,HGPKyokashotai:6,HGPMinchoB:6,HGPMinchoE:7,HGPSoeiKakugothicUB:8,HGPSoeiKakupoptai:8,HGPSoeiPresenceEB:7,HGSeikaishotaiPRO:7,HGSGothicE:6,HGSGothicM:6,HGSGyoshotai:5,HGSKyokashotai:5,HGSMinchoB:6,HGSMinchoE:7,HGSoeiKakugothicUB:7,HGSoeiKakupoptai:7,HGSoeiPresenceEB:7,HGSSoeiKakugothicUB:7,HGSSoeiKakupoptai:7,HGSSoeiPresenceEB:6,"High Tower Text":5,"HYGothic-Extra":7,"HYGothic-Medium":6,"HYGraphic-Medium":6,"HYGungSo-Bold":6,"HYHeadLine-Medium":6,"HYMyeongJo-Extra":7,"HYPMokGak-Bold":8,"HYPost-Light":7,"HYPost-Medium":8,"HYShortSamul-Medium":4,"HYSinMyeongJo-Medium":7,Impact:6,"Imprint MT Shadow":6,"Informal Roman":6,"Ink Free":6,IrisUPC:6,"Iskoola Pota":6,JasmineUPC:6,"Javanese Text":6,Jokerman:8,"Juice ITC":4,KaiTi:6,Kalinga:6,Kartika:6,"Khmer UI":6,KodchiangUPC:6,Kokila:6,"Kristen ITC":7,"Kunstler Script":4,"Lao UI":6,Latha:6,Leelawadee:6,"Leelawadee UI":6,"Leelawadee UI Semilight":6,"Levenim MT":6,LilyUPC:6,"Lucida Bright":7,"Lucida Calligraphy":7,"Lucida Console":8,"Lucida Fax":7,"Lucida Handwriting":8,"Lucida Sans":7,"Lucida Sans Typewriter":7,"Lucida Sans Unicode":8,"Magic R":7,Magneto:8,"Maiandra GD":7,"Malgun Gothic":6,"Malgun Gothic Semilight":7,Mangal:7,Marlett:12,"Matura MT Script Capitals":8,Meiryo:7,"Meiryo UI":7,"Microsoft GothicNeo":7,"Microsoft Himalaya":5,"Microsoft JhengHei":7,"Microsoft JhengHei Light":7,"Microsoft JhengHei UI":7,"Microsoft JhengHei UI Light":7,"Microsoft New Tai Lue":6,"Microsoft PhagsPa":6,"Microsoft Sans Serif":7,"Microsoft Tai Le":6,"Microsoft Uighur":4,"Microsoft YaHei Light":7,"Microsoft YaHei UI":7,"Microsoft YaHei UI Light":7,"Microsoft Yi Baiti":7,MingLiU:7,MingLiU_HKSCS:7,"MingLiU_HKSCS-ExtB":7,"MingLiU-ExtB":7,Miriam:7,"Miriam Fixed":7,Mistral:6,"Modern No. 20":6,"MoeumT R":7,"Mongolian Baiti":7,"Monotype Corsiva":6,MoolBoran:7,"MS Gothic":6,"MS Mincho":7,"MS Outlook":7,"MS PGothic":7,"MS PMincho":7,"MS Reference Sans Serif":8,"MS Reference Specialty":14,"MS UI Gothic":7,"MT Extra":12,"MV Boli":9,"Myanmar Text":6,Narkisim:7,"Neue Haas Grotesk Text Pro":7,"New Gulim":7,"News Gothic MT":7,"Niagara Engraved":5,"Niagara Solid":5,"Nirmala UI":6,"Nirmala UI Semilight":7,Nyala:7,"OCR A Extended":8,OCRB:8,"Old English Text MT":7,Onyx:5,"Palace Script MT":4,"Palatino Linotype":6,Papyrus:7,Parchment:3,Perpetua:5,"Perpetua Titling MT":7,"Plantagenet Cherokee":7,Playbill:5,PMingLiU:6,"PMingLiU-ExtB":6,"Poor Richard":7,Pristina:6,"Pyunji R":6,Raavi:7,"Rage Italic":7,Ravie:11,Rockwell:6,"Rockwell Condensed":5,"Rockwell Extra Bold":8,"Rockwell Light":7,"Rockwell Nova":7,"Rockwell Nova Cond":7,"Rockwell Nova Cond Light":7,"Rockwell Nova Extra Bold":7,"Rockwell Nova Light":7,Rod:7,"Sakkal Majalla":7,"Sanskrit Text":7,"Script MT Bold":6,"Segoe MDL2 Assets":4,"Segoe Print":8,"Segoe Script":8,"Segoe UI":6,"Segoe UI Black":7,"Segoe UI Emoji":6,"Segoe UI Historic":6,"Segoe UI Light":6,"Segoe UI Semibold":6,"Segoe UI Semilight":6,"Segoe UI Symbol":6,Selawik:6,"Selawik Light":6,"Selawik Semibold":6,"Shonar Bangla":6,"Showcard Gothic":6,Shruti:6,"Simplified Arabic":6,"Simplified Arabic Fixed":6,"SimSun-ExtB":6,"Sitka Banner":6,"Sitka Display":6,"Sitka Heading":6,"Sitka Small":8,"Sitka Subheading":6,"Sitka Text":7,"Snap ITC":10,"Source Sans Pro":6,"Source Sans Pro Black":6,"Source Sans Pro ExtraLight":6,"Source Sans Pro Light":6,"Source Sans Pro SemiBold":6,Stencil:6,Sylfaen:6,Symbol:6,Tahoma:6,"Tempus Sans ITC":7,"TH SarabunPSK":6,"Times New Roman":6,"Traditional Arabic":6,"Trebuchet MS":6,Tunga:6,"Tw Cen MT":6,"Tw Cen MT Condensed":4,"Tw Cen MT Condensed Extra Bold":5,"UD Digi Kyokasho N-B":6,"UD Digi Kyokasho NK-B":6,"UD Digi Kyokasho NK-R":6,"UD Digi Kyokasho NP-B":6,"UD Digi Kyokasho NP-R":6,"UD Digi Kyokasho N-R":6,Univers:6,"Univers Condensed":6,"Univers Condensed Light":6,"Univers Light":6,"Urdu Typesetting":6,Utsaah:6,Vani:6,Verdana:7,"Verdana Pro":6,"Verdana Pro Black":6,"Verdana Pro Cond":6,"Verdana Pro Cond Black":6,"Verdana Pro Cond Light":6,"Verdana Pro Cond SemiBold":6,
14
+ "Verdana Pro Light":6,"Verdana Pro SemiBold":6,Vijaya:6,"Viner Hand ITC":7,Vivaldi:5,"Vladimir Script":5,Vrinda:6,Webdings:11,"Wide Latin":14,Wingdings:15,"Wingdings 2":12,"Wingdings 3":10,"Yet R":6,"Yu Gothic":6,"Yu Gothic Light":6,"Yu Gothic Medium":6,"Yu Gothic UI":6,"Yu Gothic UI Light":6,"Yu Gothic UI Semibold":6,"Yu Gothic UI Semilight":6,"Yu Mincho":6,"Yu Mincho Demibold":6,"Yu Mincho Light":6,"\u4eff\u5b8b":6,"\u534e\u6587\u4e2d\u5b8b":7,"\u534e\u6587\u4eff\u5b8b":5,"\u534e\u6587\u5b8b\u4f53":5,"\u534e\u6587\u5f69\u4e91":6,"\u534e\u6587\u65b0\u9b4f":6,"\u534e\u6587\u6977\u4f53":5,"\u534e\u6587\u7425\u73c0":6,"\u534e\u6587\u7ec6\u9ed1":6,"\u534e\u6587\u884c\u6977":6,"\u534e\u6587\u96b6\u4e66":5,"\u5b8b\u4f53":6,"\u5e7c\u5706":6,"\u5fae\u8f6f\u96c5\u9ed1":6,"\u5fae\u8f6f\u96c5\u9ed1 Light":6,"\u65b0\u5b8b\u4f53":6,"\u65b9\u6b63\u59da\u4f53":6,"\u65b9\u6b63\u8212\u4f53":6,"\u6977\u4f53":6,"\u7b49\u7ebf":6,"\u7b49\u7ebf Light":6,"\u96b6\u4e66":6,"\u9ed1\u4f53":6,"\u6e38\u30b4\u30b7\u30c3\u30af":6,"\uff2d\uff33 \uff30\u660e\u671d":6,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':6,"\u30e1\u30a4\u30ea\u30aa":7,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":6,"HG\u660e\u671dB":6,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":6},9:{"Gill Sans MT":6,Abadi:7,"Abadi Extra Light":7,"Agency FB":5,Aharoni:5,Aldhabi:4,Algerian:7,"Ami R":5,"Angsana New":4,AngsanaUPC:4,Aparajita:5,"Arabic Typesetting":4,Arial:7,"Arial Black":8,"Arial Narrow":5,"Arial Nova":7,"Arial Nova Cond":6,"Arial Nova Cond Light":5,"Arial Nova Light":7,"Arial Rounded MT Bold":7,"Baskerville Old Face":6,Batang:6,BatangChe:6,"Bauhaus 93":7,"Bell MT":6,Bembo:6,"Berlin Sans FB":7,"Berlin Sans FB Demi":8,"Bernard MT Condensed":6,"Blackadder ITC":5,"Bodoni MT":6,"Bodoni MT Black":8,"Bodoni MT Condensed":4,"Bodoni MT Poster Compressed":4,"Book Antiqua":6,"Bookman Old Style":7,"Bookshelf Symbol 7":9,"Bradley Hand ITC":8,"Britannic Bold":7,Broadway:8,"Browallia New":4,BrowalliaUPC:4,"Brush Script MT":6,Calibri:6,"Calibri Light":6,"Californian FB":7,"Calisto MT":6,Cambria:7,"Cambria Math":7,Candara:7,Castellar:9,Centaur:6,Century:7,"Century Gothic":7,"Century Schoolbook":7,Chiller:6,"Colonna MT":6,"Comic Sans MS":7,Consolas:7,Constantia:7,"Cooper Black":7,"Copperplate Gothic Bold":9,"Copperplate Gothic Light":9,Corbel:6,"Cordia New":4,CordiaUPC:4,"Courier New":7,"Curlz MT":6,Dante:5,DaunPenh:4,David:5,DilleniaUPC:4,DokChampa:7,Dotum:6,DotumChe:6,Dubai:6,"Dubai Light":6,"Dubai Medium":6,Ebrima:6,"Edwardian Script ITC":6,Elephant:9,"Engravers MT":8,"Eras Bold ITC":8,"Eras Demi ITC":7,"Eras Light ITC":6,"Eras Medium ITC":7,EucrosiaUPC:5,Euphemia:7,"Expo M":10,FangSong:6,"Felix Titling":7,"Footlight MT Light":7,Forte:6,"Franklin Gothic Book":7,"Franklin Gothic Demi":7,"Franklin Gothic Demi Cond":6,"Franklin Gothic Heavy":7,"Franklin Gothic Medium":7,"Franklin Gothic Medium Cond":6,FrankRuehl:5,FreesiaUPC:5,"Freestyle Script":5,"French Script MT":4,Gabriola:5,Gadugi:6,Garamond:6,Gautami:7,Georgia:8,"Georgia Pro":7,"Georgia Pro Black":9,"Georgia Pro Cond":6,"Georgia Pro Cond Black":8,"Georgia Pro Cond Light":6,"Georgia Pro Cond Semibold":7,"Georgia Pro Light":7,"Georgia Pro Semibold":7,Gigi:7,"Gill Sans MT Condensed":4,"Gill Sans MT Ext Condensed Bold":4,"Gill Sans Nova":6,"Gill Sans Nova Cond":4,"Gill Sans Nova Cond Lt":4,"Gill Sans Nova Cond Ultra Bold":7,"Gill Sans Nova Cond XBd":6,"Gill Sans Nova Light":6,"Gill Sans Nova Ultra Bold":10,"Gill Sans Ultra Bold":10,"Gill Sans Ultra Bold Condensed":7,Gisha:6,"Gloucester MT Extra Condensed":5,"Goudy Old Style":6,"Goudy Stout":10,Grotesque:6,"Grotesque Light":6,Gulim:6,GulimChe:6,Gungsuh:6,GungsuhChe:6,"Hadassah Friedlaender":7,Haettenschweiler:5,"Harlow Solid Italic":6,Harrington:7,"Headline R":9,HGGothicE:6,HGGothicM:6,HGGyoshotai:6,HGKyokashotai:6,HGMaruGothicMPRO:9,HGMinchoB:7,HGMinchoE:7,HGPGothicE:8,HGPGothicM:8,HGPGyoshotai:7,HGPKyokashotai:7,HGPMinchoB:7,HGPMinchoE:7,HGPSoeiKakugothicUB:9,HGPSoeiKakupoptai:9,HGPSoeiPresenceEB:8,HGSeikaishotaiPRO:7,HGSGothicE:7,HGSGothicM:7,HGSGyoshotai:6,HGSKyokashotai:6,HGSMinchoB:7,HGSMinchoE:7,HGSoeiKakugothicUB:7,HGSoeiKakupoptai:7,HGSoeiPresenceEB:7,HGSSoeiKakugothicUB:8,HGSSoeiKakupoptai:8,HGSSoeiPresenceEB:7,"High Tower Text":6,"HYGothic-Extra":8,"HYGothic-Medium":7,"HYGraphic-Medium":7,"HYGungSo-Bold":7,"HYHeadLine-Medium":7,"HYMyeongJo-Extra":8,"HYPMokGak-Bold":9,"HYPost-Light":8,"HYPost-Medium":9,"HYShortSamul-Medium":5,"HYSinMyeongJo-Medium":8,Impact:7,"Imprint MT Shadow":6,"Informal Roman":7,"Ink Free":6,IrisUPC:6,"Iskoola Pota":6,JasmineUPC:6,"Javanese Text":7,Jokerman:9,"Juice ITC":4,KaiTi:6,Kalinga:6,Kartika:6,"Khmer UI":6,KodchiangUPC:6,Kokila:6,"Kristen ITC":7,"Kunstler Script":4,"Lao UI":6,Latha:6,Leelawadee:6,"Leelawadee UI":6,"Leelawadee UI Semilight":7,"Levenim MT":6,LilyUPC:6,"Lucida Bright":7,"Lucida Calligraphy":9,"Lucida Console":8,"Lucida Fax":8,"Lucida Handwriting":9,"Lucida Sans":8,"Lucida Sans Typewriter":7,"Lucida Sans Unicode":9,"Magic R":8,Magneto:9,"Maiandra GD":8,"Malgun Gothic":7,"Malgun Gothic Semilight":8,Mangal:7,Marlett:13,"Matura MT Script Capitals":9,Meiryo:8,"Meiryo UI":8,"Microsoft GothicNeo":7,"Microsoft Himalaya":5,"Microsoft JhengHei":7,"Microsoft JhengHei Light":8,"Microsoft JhengHei UI":7,"Microsoft JhengHei UI Light":8,"Microsoft New Tai Lue":7,"Microsoft PhagsPa":7,"Microsoft Sans Serif":8,"Microsoft Tai Le":7,"Microsoft Uighur":5,"Microsoft YaHei Light":8,"Microsoft YaHei UI":7,"Microsoft YaHei UI Light":8,"Microsoft Yi Baiti":7,MingLiU:7,MingLiU_HKSCS:7,"MingLiU_HKSCS-ExtB":7,"MingLiU-ExtB":7,Miriam:7,"Miriam Fixed":7,Mistral:6,"Modern No. 20":6,"MoeumT R":8,"Mongolian Baiti":7,"Monotype Corsiva":6,MoolBoran:7,"MS Gothic":6,"MS Mincho":7,"MS Outlook":7,"MS PGothic":7,"MS PMincho":7,"MS Reference Sans Serif":9,"MS Reference Specialty":15,"MS UI Gothic":7,"MT Extra":13,"MV Boli":9,"Myanmar Text":7,Narkisim:7,"Neue Haas Grotesk Text Pro":7,"New Gulim":8,"News Gothic MT":7,"Niagara Engraved":5,"Niagara Solid":5,"Nirmala UI":7,"Nirmala UI Semilight":8,Nyala:7,"OCR A Extended":8,OCRB:8,"Old English Text MT":7,Onyx:5,"Palace Script MT":5,"Palatino Linotype":6,Papyrus:8,Parchment:4,Perpetua:6,"Perpetua Titling MT":8,"Plantagenet Cherokee":7,Playbill:5,PMingLiU:7,"PMingLiU-ExtB":7,"Poor Richard":8,Pristina:6,"Pyunji R":7,Raavi:7,"Rage Italic":7,Ravie:12,Rockwell:7,"Rockwell Condensed":5,"Rockwell Extra Bold":8,"Rockwell Light":7,"Rockwell Nova":7,"Rockwell Nova Cond":7,"Rockwell Nova Cond Light":7,"Rockwell Nova Extra Bold":7,"Rockwell Nova Light":7,Rod:7,"Sakkal Majalla":7,"Sanskrit Text":7,"Script MT Bold":6,"Segoe MDL2 Assets":5,"Segoe Print":9,"Segoe Script":9,"Segoe UI":6,"Segoe UI Black":7,"Segoe UI Emoji":6,"Segoe UI Historic":6,"Segoe UI Light":6,"Segoe UI Semibold":7,"Segoe UI Semilight":7,"Segoe UI Symbol":6,Selawik:6,"Selawik Light":6,"Selawik Semibold":6,"Shonar Bangla":6,"Showcard Gothic":8,Shruti:6,"Simplified Arabic":6,"Simplified Arabic Fixed":6,"SimSun-ExtB":6,"Sitka Banner":6,"Sitka Display":6,"Sitka Heading":7,"Sitka Small":8,"Sitka Subheading":7,"Sitka Text":8,"Snap ITC":10,"Source Sans Pro":6,"Source Sans Pro Black":6,"Source Sans Pro ExtraLight":6,"Source Sans Pro Light":6,"Source Sans Pro SemiBold":6,Stencil:7,Sylfaen:6,Symbol:6,Tahoma:7,"Tempus Sans ITC":8,"TH SarabunPSK":6,"Times New Roman":6,"Traditional Arabic":6,"Trebuchet MS":6,Tunga:6,"Tw Cen MT":7,"Tw Cen MT Condensed":4,"Tw Cen MT Condensed Extra Bold":6,"UD Digi Kyokasho N-B":6,"UD Digi Kyokasho NK-B":6,"UD Digi Kyokasho NK-R":6,"UD Digi Kyokasho NP-B":6,"UD Digi Kyokasho NP-R":6,"UD Digi Kyokasho N-R":6,Univers:6,"Univers Condensed":6,"Univers Condensed Light":6,"Univers Light":6,"Urdu Typesetting":6,Utsaah:6,Vani:6,Verdana:8,"Verdana Pro":6,"Verdana Pro Black":6,"Verdana Pro Cond":6,"Verdana Pro Cond Black":6,"Verdana Pro Cond Light":6,"Verdana Pro Cond SemiBold":6,"Verdana Pro Light":6,"Verdana Pro SemiBold":6,Vijaya:6,"Viner Hand ITC":8,Vivaldi:5,"Vladimir Script":6,Vrinda:6,Webdings:12,"Wide Latin":15,Wingdings:16,"Wingdings 2":14,"Wingdings 3":11,"Yet R":6,"Yu Gothic":7,"Yu Gothic Light":6,"Yu Gothic Medium":7,"Yu Gothic UI":6,"Yu Gothic UI Light":6,"Yu Gothic UI Semibold":7,"Yu Gothic UI Semilight":7,"Yu Mincho":7,"Yu Mincho Demibold":6,"Yu Mincho Light":6,"\u4eff\u5b8b":6,"\u534e\u6587\u4e2d\u5b8b":7,"\u534e\u6587\u4eff\u5b8b":6,"\u534e\u6587\u5b8b\u4f53":6,"\u534e\u6587\u5f69\u4e91":7,"\u534e\u6587\u65b0\u9b4f":7,"\u534e\u6587\u6977\u4f53":6,"\u534e\u6587\u7425\u73c0":7,"\u534e\u6587\u7ec6\u9ed1":7,"\u534e\u6587\u884c\u6977":6,"\u534e\u6587\u96b6\u4e66":5,"\u5b8b\u4f53":6,"\u5e7c\u5706":6,"\u5fae\u8f6f\u96c5\u9ed1":7,"\u5fae\u8f6f\u96c5\u9ed1 Light":7,"\u65b0\u5b8b\u4f53":6,"\u65b9\u6b63\u59da\u4f53":6,"\u65b9\u6b63\u8212\u4f53":7,"\u6977\u4f53":6,"\u7b49\u7ebf":6,"\u7b49\u7ebf Light":6,"\u96b6\u4e66":6,"\u9ed1\u4f53":6,"\u6e38\u30b4\u30b7\u30c3\u30af":7,"\uff2d\uff33 \uff30\u660e\u671d":6,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':6,"\u30e1\u30a4\u30ea\u30aa":7,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":6,"HG\u660e\u671dB":6,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":6},10:{"Gill Sans MT":7,Abadi:8,"Abadi Extra Light":7,"Agency FB":5,Aharoni:5,Aldhabi:4,Algerian:8,"Ami R":5,"Angsana New":4,AngsanaUPC:4,Aparajita:5,"Arabic Typesetting":4,Arial:7,"Arial Black":9,"Arial Narrow":6,"Arial Nova":7,"Arial Nova Cond":7,"Arial Nova Cond Light":6,"Arial Nova Light":7,"Arial Rounded MT Bold":8,"Baskerville Old Face":6,Batang:7,BatangChe:7,"Bauhaus 93":7,"Bell MT":7,Bembo:6,"Berlin Sans FB":8,"Berlin Sans FB Demi":8,"Bernard MT Condensed":6,"Blackadder ITC":5,"Bodoni MT":6,"Bodoni MT Black":9,"Bodoni MT Condensed":4,"Bodoni MT Poster Compressed":5,"Book Antiqua":7,"Bookman Old Style":8,"Bookshelf Symbol 7":10,"Bradley Hand ITC":8,"Britannic Bold":8,Broadway:8,"Browallia New":5,BrowalliaUPC:5,"Brush Script MT":7,Calibri:7,"Calibri Light":7,"Californian FB":7,"Calisto MT":7,Cambria:7,"Cambria Math":7,Candara:7,Castellar:9,Centaur:6,Century:7,"Century Gothic":7,"Century Schoolbook":7,Chiller:6,"Colonna MT":7,"Comic Sans MS":8,Consolas:7,Constantia:7,"Cooper Black":8,"Copperplate Gothic Bold":9,"Copperplate Gothic Light":9,Corbel:7,"Cordia New":5,CordiaUPC:5,"Courier New":8,"Curlz MT":7,Dante:6,DaunPenh:4,David:6,DilleniaUPC:4,DokChampa:7,Dotum:6,DotumChe:7,Dubai:7,"Dubai Light":7,"Dubai Medium":7,Ebrima:7,"Edwardian Script ITC":6,Elephant:10,"Engravers MT":8,"Eras Bold ITC":8,"Eras Demi ITC":8,"Eras Light ITC":7,"Eras Medium ITC":7,EucrosiaUPC:5,Euphemia:8,"Expo M":11,FangSong:7,"Felix Titling":8,"Footlight MT Light":7,Forte:7,"Franklin Gothic Book":8,"Franklin Gothic Demi":8,"Franklin Gothic Demi Cond":7,"Franklin Gothic Heavy":8,"Franklin Gothic Medium":8,"Franklin Gothic Medium Cond":7,FrankRuehl:5,FreesiaUPC:6,"Freestyle Script":5,"French Script MT":5,Gabriola:5,Gadugi:7,Garamond:6,Gautami:8,Georgia:9,"Georgia Pro":7,"Georgia Pro Black":9,"Georgia Pro Cond":7,"Georgia Pro Cond Black":8,"Georgia Pro Cond Light":7,"Georgia Pro Cond Semibold":7,"Georgia Pro Light":7,"Georgia Pro Semibold":8,Gigi:7,"Gill Sans MT Condensed":5,"Gill Sans MT Ext Condensed Bold":4,"Gill Sans Nova":7,"Gill Sans Nova Cond":4,"Gill Sans Nova Cond Lt":4,"Gill Sans Nova Cond Ultra Bold":8,"Gill Sans Nova Cond XBd":7,"Gill Sans Nova Light":7,"Gill Sans Nova Ultra Bold":11,"Gill Sans Ultra Bold":11,"Gill Sans Ultra Bold Condensed":8,Gisha:7,"Gloucester MT Extra Condensed":5,"Goudy Old Style":7,"Goudy Stout":11,Grotesque:6,"Grotesque Light":6,Gulim:7,GulimChe:7,Gungsuh:6,GungsuhChe:7,"Hadassah Friedlaender":7,Haettenschweiler:6,"Harlow Solid Italic":6,Harrington:7,"Headline R":9,HGGothicE:7,HGGothicM:7,HGGyoshotai:7,HGKyokashotai:7,HGMaruGothicMPRO:10,HGMinchoB:8,HGMinchoE:8,HGPGothicE:8,HGPGothicM:9,HGPGyoshotai:7,HGPKyokashotai:7,HGPMinchoB:7,HGPMinchoE:8,HGPSoeiKakugothicUB:9,HGPSoeiKakupoptai:9,HGPSoeiPresenceEB:8,HGSeikaishotaiPRO:8,HGSGothicE:7,HGSGothicM:8,HGSGyoshotai:6,HGSKyokashotai:6,HGSMinchoB:7,HGSMinchoE:8,HGSoeiKakugothicUB:8,HGSoeiKakupoptai:8,HGSoeiPresenceEB:8,HGSSoeiKakugothicUB:8,HGSSoeiKakupoptai:8,HGSSoeiPresenceEB:7,"High Tower Text":6,"HYGothic-Extra":8,"HYGothic-Medium":8,"HYGraphic-Medium":8,"HYGungSo-Bold":8,"HYHeadLine-Medium":8,"HYMyeongJo-Extra":9,"HYPMokGak-Bold":9,"HYPost-Light":9,"HYPost-Medium":9,"HYShortSamul-Medium":5,"HYSinMyeongJo-Medium":8,Impact:7,"Imprint MT Shadow":7,"Informal Roman":7,"Ink Free":7,IrisUPC:7,"Iskoola Pota":7,JasmineUPC:7,"Javanese Text":8,Jokerman:9,"Juice ITC":5,KaiTi:7,Kalinga:7,Kartika:7,"Khmer UI":7,KodchiangUPC:4,Kokila:7,"Kristen ITC":8,"Kunstler Script":5,"Lao UI":7,Latha:7,Leelawadee:7,"Leelawadee UI":7,"Leelawadee UI Semilight":7,"Levenim MT":7,LilyUPC:7,"Lucida Bright":8,"Lucida Calligraphy":10,"Lucida Console":9,"Lucida Fax":9,"Lucida Handwriting":10,"Lucida Sans":9,"Lucida Sans Typewriter":8,"Lucida Sans Unicode":9,"Magic R":8,Magneto:10,"Maiandra GD":9,"Malgun Gothic":8,"Malgun Gothic Semilight":8,Mangal:8,Marlett:14,"Matura MT Script Capitals":10,Meiryo:9,"Meiryo UI":9,"Microsoft GothicNeo":8,"Microsoft Himalaya":5,"Microsoft JhengHei":8,"Microsoft JhengHei Light":8,"Microsoft JhengHei UI":8,"Microsoft JhengHei UI Light":8,"Microsoft New Tai Lue":7,"Microsoft PhagsPa":7,"Microsoft Sans Serif":8,"Microsoft Tai Le":7,"Microsoft Uighur":5,"Microsoft YaHei Light":8,"Microsoft YaHei UI":8,"Microsoft YaHei UI Light":8,"Microsoft Yi Baiti":8,MingLiU:8,MingLiU_HKSCS:8,"MingLiU_HKSCS-ExtB":8,"MingLiU-ExtB":8,Miriam:8,"Miriam Fixed":8,Mistral:7,"Modern No. 20":7,"MoeumT R":8,"Mongolian Baiti":8,"Monotype Corsiva":7,MoolBoran:8,"MS Gothic":7,"MS Mincho":8,"MS Outlook":8,"MS PGothic":8,"MS PMincho":8,"MS Reference Sans Serif":9,"MS Reference Specialty":17,"MS UI Gothic":8,"MT Extra":14,"MV Boli":10,"Myanmar Text":7,Narkisim:8,"Neue Haas Grotesk Text Pro":8,"New Gulim":8,"News Gothic MT":8,"Niagara Engraved":5,"Niagara Solid":5,"Nirmala UI":7,"Nirmala UI Semilight":8,Nyala:8,"OCR A Extended":9,OCRB:9,"Old English Text MT":8,Onyx:6,"Palace Script MT":5,"Palatino Linotype":7,Papyrus:9,Parchment:4,Perpetua:6,"Perpetua Titling MT":9,"Plantagenet Cherokee":8,Playbill:6,PMingLiU:7,"PMingLiU-ExtB":7,"Poor Richard":8,Pristina:8,"Pyunji R":7,Raavi:8,"Rage Italic":8,Ravie:13,Rockwell:7,"Rockwell Condensed":6,"Rockwell Extra Bold":9,"Rockwell Light":8,"Rockwell Nova":8,"Rockwell Nova Cond":8,"Rockwell Nova Cond Light":8,"Rockwell Nova Extra Bold":8,"Rockwell Nova Light":8,Rod:8,"Sakkal Majalla":8,"Sanskrit Text":8,"Script MT Bold":7,"Segoe MDL2 Assets":5,"Segoe Print":10,"Segoe Script":10,"Segoe UI":7,"Segoe UI Black":8,"Segoe UI Emoji":7,"Segoe UI Historic":7,"Segoe UI Light":7,"Segoe UI Semibold":7,"Segoe UI Semilight":7,"Segoe UI Symbol":7,Selawik:7,"Selawik Light":7,"Selawik Semibold":7,"Shonar Bangla":7,"Showcard Gothic":8,Shruti:7,"Simplified Arabic":7,"Simplified Arabic Fixed":7,"SimSun-ExtB":7,"Sitka Banner":7,"Sitka Display":7,"Sitka Heading":7,"Sitka Small":9,"Sitka Subheading":8,"Sitka Text":8,"Snap ITC":11,"Source Sans Pro":7,"Source Sans Pro Black":7,"Source Sans Pro ExtraLight":7,"Source Sans Pro Light":7,"Source Sans Pro SemiBold":7,Stencil:7,Sylfaen:7,Symbol:7,Tahoma:7,"Tempus Sans ITC":9,"TH SarabunPSK":7,"Times New Roman":6,"Traditional Arabic":7,"Trebuchet MS":7,Tunga:7,"Tw Cen MT":7,"Tw Cen MT Condensed":5,"Tw Cen MT Condensed Extra Bold":6,"UD Digi Kyokasho N-B":7,"UD Digi Kyokasho NK-B":7,"UD Digi Kyokasho NK-R":7,"UD Digi Kyokasho NP-B":7,"UD Digi Kyokasho NP-R":7,"UD Digi Kyokasho N-R":7,Univers:7,"Univers Condensed":7,"Univers Condensed Light":7,"Univers Light":7,"Urdu Typesetting":7,Utsaah:7,Vani:7,Verdana:8,"Verdana Pro":8,"Verdana Pro Black":7,"Verdana Pro Cond":7,"Verdana Pro Cond Black":7,"Verdana Pro Cond Light":7,"Verdana Pro Cond SemiBold":7,"Verdana Pro Light":7,"Verdana Pro SemiBold":7,Vijaya:7,"Viner Hand ITC":9,Vivaldi:6,"Vladimir Script":6,Vrinda:7,Webdings:13,"Wide Latin":16,Wingdings:17,"Wingdings 2":15,"Wingdings 3":12,"Yet R":7,"Yu Gothic":7,"Yu Gothic Light":7,"Yu Gothic Medium":7,"Yu Gothic UI":7,"Yu Gothic UI Light":7,"Yu Gothic UI Semibold":7,"Yu Gothic UI Semilight":7,"Yu Mincho":7,"Yu Mincho Demibold":7,"Yu Mincho Light":7,"\u4eff\u5b8b":7,"\u534e\u6587\u4e2d\u5b8b":8,"\u534e\u6587\u4eff\u5b8b":6,"\u534e\u6587\u5b8b\u4f53":6,"\u534e\u6587\u5f69\u4e91":7,"\u534e\u6587\u65b0\u9b4f":8,"\u534e\u6587\u6977\u4f53":6,"\u534e\u6587\u7425\u73c0":7,"\u534e\u6587\u7ec6\u9ed1":7,"\u534e\u6587\u884c\u6977":7,"\u534e\u6587\u96b6\u4e66":6,"\u5b8b\u4f53":7,"\u5e7c\u5706":7,"\u5fae\u8f6f\u96c5\u9ed1":8,"\u5fae\u8f6f\u96c5\u9ed1 Light":7,"\u65b0\u5b8b\u4f53":7,"\u65b9\u6b63\u59da\u4f53":7,"\u65b9\u6b63\u8212\u4f53":7,"\u6977\u4f53":7,"\u7b49\u7ebf":7,"\u7b49\u7ebf Light":7,"\u96b6\u4e66":7,"\u9ed1\u4f53":7,"\u6e38\u30b4\u30b7\u30c3\u30af":7,"\uff2d\uff33 \uff30\u660e\u671d":7,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':7,"\u30e1\u30a4\u30ea\u30aa":8,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":7,"HG\u660e\u671dB":7,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":7},11:{"Gill Sans MT":8,Abadi:9,"Abadi Extra Light":8,"Agency FB":6,Aharoni:6,Aldhabi:5,Algerian:9,"Ami R":6,"Angsana New":5,AngsanaUPC:5,Aparajita:6,"Arabic Typesetting":5,Arial:8,"Arial Black":10,"Arial Narrow":7,"Arial Nova":8,"Arial Nova Cond":8,"Arial Nova Cond Light":7,"Arial Nova Light":8,"Arial Rounded MT Bold":9,"Baskerville Old Face":7,Batang:8,BatangChe:8,"Bauhaus 93":9,"Bell MT":8,Bembo:7,"Berlin Sans FB":9,"Berlin Sans FB Demi":9,"Bernard MT Condensed":7,"Blackadder ITC":6,"Bodoni MT":7,"Bodoni MT Black":10,"Bodoni MT Condensed":5,"Bodoni MT Poster Compressed":5,"Book Antiqua":8,"Bookman Old Style":9,"Bookshelf Symbol 7":11,"Bradley Hand ITC":10,"Britannic Bold":9,Broadway:10,"Browallia New":5,BrowalliaUPC:5,"Brush Script MT":8,Calibri:7,"Calibri Light":8,"Californian FB":9,"Calisto MT":8,Cambria:8,"Cambria Math":8,Candara:8,Castellar:11,Centaur:7,Century:8,"Century Gothic":8,"Century Schoolbook":8,Chiller:7,"Colonna MT":8,"Comic Sans MS":9,Consolas:8,Constantia:8,"Cooper Black":9,"Copperplate Gothic Bold":11,"Copperplate Gothic Light":11,Corbel:8,"Cordia New":5,CordiaUPC:5,"Courier New":9,"Curlz MT":8,Dante:7,DaunPenh:5,David:7,DilleniaUPC:5,DokChampa:8,Dotum:9,DotumChe:8,Dubai:8,"Dubai Light":8,"Dubai Medium":8,Ebrima:8,"Edwardian Script ITC":7,Elephant:11,"Engravers MT":10,"Eras Bold ITC":10,"Eras Demi ITC":9,"Eras Light ITC":8,"Eras Medium ITC":9,EucrosiaUPC:6,Euphemia:9,"Expo M":13,FangSong:8,"Felix Titling":9,"Footlight MT Light":8,Forte:8,"Franklin Gothic Book":9,"Franklin Gothic Demi":9,"Franklin Gothic Demi Cond":8,"Franklin Gothic Heavy":9,"Franklin Gothic Medium":9,"Franklin Gothic Medium Cond":8,FrankRuehl:6,FreesiaUPC:7,"Freestyle Script":6,"French Script MT":5,Gabriola:6,Gadugi:8,Garamond:7,Gautami:9,Georgia:9,"Georgia Pro":8,"Georgia Pro Black":11,"Georgia Pro Cond":8,"Georgia Pro Cond Black":10,"Georgia Pro Cond Light":8,"Georgia Pro Cond Semibold":8,"Georgia Pro Light":8,"Georgia Pro Semibold":9,Gigi:7,"Gill Sans MT Condensed":5,"Gill Sans MT Ext Condensed Bold":5,"Gill Sans Nova":8,"Gill Sans Nova Cond":5,"Gill Sans Nova Cond Lt":5,"Gill Sans Nova Cond Ultra Bold":9,"Gill Sans Nova Cond XBd":8,"Gill Sans Nova Light":8,"Gill Sans Nova Ultra Bold":13,"Gill Sans Ultra Bold":13,"Gill Sans Ultra Bold Condensed":9,Gisha:8,"Gloucester MT Extra Condensed":6,"Goudy Old Style":8,"Goudy Stout":12,Grotesque:7,"Grotesque Light":7,Gulim:8,GulimChe:8,Gungsuh:7,GungsuhChe:8,"Hadassah Friedlaender":9,Haettenschweiler:7,"Harlow Solid Italic":7,Harrington:8,"Headline R":11,HGGothicE:8,HGGothicM:8,HGGyoshotai:8,HGKyokashotai:8,HGMaruGothicMPRO:11,HGMinchoB:9,HGMinchoE:9,HGPGothicE:9,HGPGothicM:10,HGPGyoshotai:8,HGPKyokashotai:8,HGPMinchoB:8,HGPMinchoE:9,HGPSoeiKakugothicUB:10,HGPSoeiKakupoptai:11,HGPSoeiPresenceEB:9,HGSeikaishotaiPRO:9,HGSGothicE:8,HGSGothicM:9,HGSGyoshotai:7,HGSKyokashotai:7,HGSMinchoB:8,HGSMinchoE:9,HGSoeiKakugothicUB:9,HGSoeiKakupoptai:9,HGSoeiPresenceEB:9,HGSSoeiKakugothicUB:9,HGSSoeiKakupoptai:10,HGSSoeiPresenceEB:8,"High Tower Text":7,"HYGothic-Extra":9,"HYGothic-Medium":9,"HYGraphic-Medium":9,"HYGungSo-Bold":9,"HYHeadLine-Medium":9,"HYMyeongJo-Extra":10,"HYPMokGak-Bold":11,"HYPost-Light":10,"HYPost-Medium":11,"HYShortSamul-Medium":6,"HYSinMyeongJo-Medium":9,Impact:8,"Imprint MT Shadow":8,"Informal Roman":8,"Ink Free":8,IrisUPC:8,"Iskoola Pota":8,JasmineUPC:8,"Javanese Text":9,Jokerman:11,"Juice ITC":6,KaiTi:8,Kalinga:8,Kartika:8,"Khmer UI":8,KodchiangUPC:5,Kokila:8,"Kristen ITC":9,"Kunstler Script":5,"Lao UI":8,Latha:8,Leelawadee:8,"Leelawadee UI":8,"Leelawadee UI Semilight":8,"Levenim MT":9,LilyUPC:8,"Lucida Bright":9,"Lucida Calligraphy":11,"Lucida Console":10,"Lucida Fax":10,"Lucida Handwriting":11,"Lucida Sans":10,"Lucida Sans Typewriter":9,"Lucida Sans Unicode":10,"Magic R":9,Magneto:12,"Maiandra GD":10,"Malgun Gothic":9,"Malgun Gothic Semilight":9,Mangal:9,Marlett:16,"Matura MT Script Capitals":11,Meiryo:9,"Meiryo UI":10,"Microsoft GothicNeo":9,"Microsoft Himalaya":6,"Microsoft JhengHei":9,"Microsoft JhengHei Light":10,"Microsoft JhengHei UI":9,"Microsoft JhengHei UI Light":10,"Microsoft New Tai Lue":9,"Microsoft PhagsPa":9,"Microsoft Sans Serif":9,"Microsoft Tai Le":9,"Microsoft Uighur":6,"Microsoft YaHei Light":10,"Microsoft YaHei UI":9,"Microsoft YaHei UI Light":10,"Microsoft Yi Baiti":9,MingLiU:9,MingLiU_HKSCS:9,"MingLiU_HKSCS-ExtB":9,"MingLiU-ExtB":9,Miriam:9,"Miriam Fixed":10,Mistral:8,"Modern No. 20":8,"MoeumT R":9,"Mongolian Baiti":9,"Monotype Corsiva":8,MoolBoran:9,"MS Gothic":8,"MS Mincho":9,"MS Outlook":9,"MS PGothic":9,"MS PMincho":9,"MS Reference Sans Serif":11,"MS Reference Specialty":19,"MS UI Gothic":9,"MT Extra":16,"MV Boli":12,"Myanmar Text":9,Narkisim:7,"Neue Haas Grotesk Text Pro":9,"New Gulim":10,"News Gothic MT":9,"Niagara Engraved":5,"Niagara Solid":6,"Nirmala UI":9,"Nirmala UI Semilight":9,Nyala:9,"OCR A Extended":10,OCRB:10,"Old English Text MT":9,Onyx:6,"Palace Script MT":6,"Palatino Linotype":8,Papyrus:10,Parchment:4,Perpetua:7,"Perpetua Titling MT":10,"Plantagenet Cherokee":9,Playbill:6,PMingLiU:8,"PMingLiU-ExtB":8,"Poor Richard":9,Pristina:9,"Pyunji R":8,Raavi:9,"Rage Italic":9,Ravie:15,Rockwell:8,"Rockwell Condensed":6,"Rockwell Extra Bold":10,"Rockwell Light":9,"Rockwell Nova":9,"Rockwell Nova Cond":9,"Rockwell Nova Cond Light":9,"Rockwell Nova Extra Bold":9,"Rockwell Nova Light":9,Rod:9,"Sakkal Majalla":9,"Sanskrit Text":9,"Script MT Bold":8,"Segoe MDL2 Assets":6,"Segoe Print":11,"Segoe Script":11,"Segoe UI":8,"Segoe UI Black":9,"Segoe UI Emoji":8,"Segoe UI Historic":8,"Segoe UI Light":8,"Segoe UI Semibold":9,"Segoe UI Semilight":8,"Segoe UI Symbol":8,Selawik:8,"Selawik Light":8,"Selawik Semibold":8,"Shonar Bangla":8,"Showcard Gothic":9,Shruti:8,"Simplified Arabic":8,"Simplified Arabic Fixed":8,"SimSun-ExtB":8,"Sitka Banner":8,"Sitka Display":8,"Sitka Heading":8,"Sitka Small":10,"Sitka Subheading":9,"Sitka Text":9,"Snap ITC":13,"Source Sans Pro":8,"Source Sans Pro Black":8,"Source Sans Pro ExtraLight":8,"Source Sans Pro Light":8,"Source Sans Pro SemiBold":8,Stencil:9,Sylfaen:8,Symbol:8,Tahoma:8,"Tempus Sans ITC":10,"TH SarabunPSK":8,"Times New Roman":7,"Traditional Arabic":8,"Trebuchet MS":8,Tunga:8,"Tw Cen MT":8,"Tw Cen MT Condensed":5,"Tw Cen MT Condensed Extra Bold":7,"UD Digi Kyokasho N-B":8,"UD Digi Kyokasho NK-B":8,"UD Digi Kyokasho NK-R":8,"UD Digi Kyokasho NP-B":8,"UD Digi Kyokasho NP-R":8,"UD Digi Kyokasho N-R":8,Univers:8,"Univers Condensed":8,"Univers Condensed Light":8,"Univers Light":8,"Urdu Typesetting":8,Utsaah:8,Vani:8,Verdana:10,"Verdana Pro":10,"Verdana Pro Black":8,"Verdana Pro Cond":8,"Verdana Pro Cond Black":8,"Verdana Pro Cond Light":8,"Verdana Pro Cond SemiBold":8,"Verdana Pro Light":8,"Verdana Pro SemiBold":8,Vijaya:8,"Viner Hand ITC":10,Vivaldi:6,"Vladimir Script":7,Vrinda:9,Webdings:15,"Wide Latin":19,Wingdings:20,"Wingdings 2":17,"Wingdings 3":13,"Yet R":8,"Yu Gothic":8,"Yu Gothic Light":8,"Yu Gothic Medium":8,"Yu Gothic UI":8,"Yu Gothic UI Light":8,"Yu Gothic UI Semibold":9,"Yu Gothic UI Semilight":8,"Yu Mincho":8,"Yu Mincho Demibold":8,"Yu Mincho Light":8,"\u4eff\u5b8b":8,"\u534e\u6587\u4e2d\u5b8b":9,"\u534e\u6587\u4eff\u5b8b":7,"\u534e\u6587\u5b8b\u4f53":7,"\u534e\u6587\u5f69\u4e91":9,"\u534e\u6587\u65b0\u9b4f":9,"\u534e\u6587\u6977\u4f53":7,"\u534e\u6587\u7425\u73c0":9,"\u534e\u6587\u7ec6\u9ed1":8,"\u534e\u6587\u884c\u6977":8,"\u534e\u6587\u96b6\u4e66":7,"\u5b8b\u4f53":8,"\u5e7c\u5706":8,"\u5fae\u8f6f\u96c5\u9ed1":9,"\u5fae\u8f6f\u96c5\u9ed1 Light":9,"\u65b0\u5b8b\u4f53":8,"\u65b9\u6b63\u59da\u4f53":8,"\u65b9\u6b63\u8212\u4f53":8,"\u6977\u4f53":8,"\u7b49\u7ebf":8,"\u7b49\u7ebf Light":8,"\u96b6\u4e66":8,"\u9ed1\u4f53":8,"\u6e38\u30b4\u30b7\u30c3\u30af":8,"\uff2d\uff33 \uff30\u660e\u671d":8,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':8,"\u30e1\u30a4\u30ea\u30aa":9,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":8,"HG\u660e\u671dB":8,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":8},12:{"Gill Sans MT":8,Abadi:10,"Abadi Extra Light":9,"Agency FB":6,Aharoni:7,Aldhabi:5,Algerian:10,"Ami R":7,"Angsana New":5,AngsanaUPC:5,Aparajita:6,"Arabic Typesetting":5,Arial:9,"Arial Black":11,"Arial Narrow":7,"Arial Nova":9,"Arial Nova Cond":8,"Arial Nova Cond Light":7,"Arial Nova Light":9,"Arial Rounded MT Bold":10,"Baskerville Old Face":8,Batang:9,BatangChe:8,"Bauhaus 93":9,"Bell MT":8,Bembo:8,"Berlin Sans FB":10,"Berlin Sans FB Demi":10,"Bernard MT Condensed":8,"Blackadder ITC":6,"Bodoni MT":8,"Bodoni MT Black":11,"Bodoni MT Condensed":5,"Bodoni MT Poster Compressed":6,"Book Antiqua":8,"Bookman Old Style":10,"Bookshelf Symbol 7":12,"Bradley Hand ITC":10,"Britannic Bold":10,Broadway:10,"Browallia New":6,BrowalliaUPC:6,"Brush Script MT":8,Calibri:8,"Calibri Light":8,"Californian FB":9,"Calisto MT":8,Cambria:9,"Cambria Math":9,Candara:9,Castellar:12,Centaur:8,Century:9,"Century Gothic":9,"Century Schoolbook":9,Chiller:8,"Colonna MT":8,"Comic Sans MS":10,Consolas:9,Constantia:9,"Cooper Black":10,"Copperplate Gothic Bold":11,"Copperplate Gothic Light":12,Corbel:8,"Cordia New":6,CordiaUPC:6,"Courier New":10,"Curlz MT":9,Dante:7,DaunPenh:5,David:7,DilleniaUPC:5,DokChampa:9,Dotum:8,DotumChe:8,Dubai:9,"Dubai Light":9,"Dubai Medium":9,Ebrima:9,"Edwardian Script ITC":8,Elephant:12,"Engravers MT":10,"Eras Bold ITC":10,"Eras Demi ITC":10,"Eras Light ITC":9,"Eras Medium ITC":9,EucrosiaUPC:6,Euphemia:9,"Expo M":14,FangSong:8,"Felix Titling":9,"Footlight MT Light":9,Forte:8,"Franklin Gothic Book":9,"Franklin Gothic Demi":9,"Franklin Gothic Demi Cond":8,"Franklin Gothic Heavy":9,"Franklin Gothic Medium":9,"Franklin Gothic Medium Cond":8,FrankRuehl:7,FreesiaUPC:7,"Freestyle Script":6,"French Script MT":6,Gabriola:6,Gadugi:9,Garamond:8,Gautami:10,Georgia:10,"Georgia Pro":9,"Georgia Pro Black":11,"Georgia Pro Cond":8,"Georgia Pro Cond Black":10,"Georgia Pro Cond Light":8,"Georgia Pro Cond Semibold":9,"Georgia Pro Light":9,"Georgia Pro Semibold":10,Gigi:7,"Gill Sans MT Condensed":6,"Gill Sans MT Ext Condensed Bold":6,"Gill Sans Nova":8,"Gill Sans Nova Cond":5,"Gill Sans Nova Cond Lt":5,"Gill Sans Nova Cond Ultra Bold":9,"Gill Sans Nova Cond XBd":8,"Gill Sans Nova Light":8,"Gill Sans Nova Ultra Bold":14,"Gill Sans Ultra Bold":14,"Gill Sans Ultra Bold Condensed":9,Gisha:9,"Gloucester MT Extra Condensed":6,"Goudy Old Style":8,"Goudy Stout":13,Grotesque:8,"Grotesque Light":8,Gulim:9,GulimChe:8,Gungsuh:9,GungsuhChe:8,"Hadassah Friedlaender":9,Haettenschweiler:7,"Harlow Solid Italic":7,Harrington:9,"Headline R":11,HGGothicE:8,HGGothicM:8,HGGyoshotai:8,HGKyokashotai:8,HGMaruGothicMPRO:12,HGMinchoB:9,HGMinchoE:9,HGPGothicE:10,HGPGothicM:10,HGPGyoshotai:9,HGPKyokashotai:8,HGPMinchoB:9,HGPMinchoE:9,HGPSoeiKakugothicUB:11,HGPSoeiKakupoptai:11,HGPSoeiPresenceEB:10,HGSeikaishotaiPRO:10,HGSGothicE:9,HGSGothicM:9,HGSGyoshotai:8,HGSKyokashotai:7,HGSMinchoB:9,HGSMinchoE:9,HGSoeiKakugothicUB:9,HGSoeiKakupoptai:9,HGSoeiPresenceEB:9,HGSSoeiKakugothicUB:10,HGSSoeiKakupoptai:10,HGSSoeiPresenceEB:9,"High Tower Text":8,"HYGothic-Extra":10,"HYGothic-Medium":9,"HYGraphic-Medium":9,"HYGungSo-Bold":9,"HYHeadLine-Medium":9,"HYMyeongJo-Extra":11,"HYPMokGak-Bold":11,"HYPost-Light":11,"HYPost-Medium":11,"HYShortSamul-Medium":6,"HYSinMyeongJo-Medium":10,Impact:9,"Imprint MT Shadow":8,"Informal Roman":9,"Ink Free":8,IrisUPC:8,"Iskoola Pota":8,JasmineUPC:8,"Javanese Text":9,Jokerman:11,"Juice ITC":6,KaiTi:8,Kalinga:9,Kartika:8,"Khmer UI":8,KodchiangUPC:5,Kokila:8,"Kristen ITC":10,"Kunstler Script":6,"Lao UI":8,Latha:8,Leelawadee:9,"Leelawadee UI":9,"Leelawadee UI Semilight":9,"Levenim MT":9,LilyUPC:7,"Lucida Bright":10,"Lucida Calligraphy":12,"Lucida Console":11,"Lucida Fax":11,"Lucida Handwriting":12,"Lucida Sans":11,"Lucida Sans Typewriter":10,"Lucida Sans Unicode":11,"Magic R":10,Magneto:12,"Maiandra GD":10,"Malgun Gothic":9,"Malgun Gothic Semilight":10,Mangal:9,Marlett:17,"Matura MT Script Capitals":12,Meiryo:11,"Meiryo UI":11,"Microsoft GothicNeo":9,"Microsoft Himalaya":6,"Microsoft JhengHei":10,"Microsoft JhengHei Light":10,"Microsoft JhengHei UI":10,"Microsoft JhengHei UI Light":10,"Microsoft New Tai Lue":9,"Microsoft PhagsPa":9,"Microsoft Sans Serif":10,"Microsoft Tai Le":9,"Microsoft Uighur":6,"Microsoft YaHei Light":10,"Microsoft YaHei UI":10,"Microsoft YaHei UI Light":10,"Microsoft Yi Baiti":9,MingLiU:9,MingLiU_HKSCS:9,"MingLiU_HKSCS-ExtB":9,"MingLiU-ExtB":9,Miriam:9,"Miriam Fixed":11,Mistral:8,"Modern No. 20":8,"MoeumT R":10,"Mongolian Baiti":9,"Monotype Corsiva":8,MoolBoran:7,"MS Gothic":8,"MS Mincho":9,"MS Outlook":9,"MS PGothic":9,"MS PMincho":9,"MS Reference Sans Serif":11,"MS Reference Specialty":20,"MS UI Gothic":9,"MT Extra":17,"MV Boli":12,"Myanmar Text":9,Narkisim:8,"Neue Haas Grotesk Text Pro":9,"New Gulim":10,"News Gothic MT":9,"Niagara Engraved":6,"Niagara Solid":6,"Nirmala UI":9,"Nirmala UI Semilight":10,Nyala:9,"OCR A Extended":11,OCRB:11,"Old English Text MT":9,Onyx:7,"Palace Script MT":6,"Palatino Linotype":8,Papyrus:10,Parchment:4,Perpetua:7,"Perpetua Titling MT":11,"Plantagenet Cherokee":9,Playbill:7,PMingLiU:9,"PMingLiU-ExtB":9,"Poor Richard":10,Pristina:9,"Pyunji R":9,Raavi:8,"Rage Italic":9,Ravie:16,Rockwell:9,"Rockwell Condensed":7,"Rockwell Extra Bold":11,"Rockwell Light":10,"Rockwell Nova":9,"Rockwell Nova Cond":9,"Rockwell Nova Cond Light":9,"Rockwell Nova Extra Bold":9,"Rockwell Nova Light":9,Rod:9,"Sakkal Majalla":9,"Sanskrit Text":9,"Script MT Bold":8,"Segoe MDL2 Assets":7,"Segoe Print":12,"Segoe Script":12,"Segoe UI":9,"Segoe UI Black":10,"Segoe UI Emoji":9,"Segoe UI Historic":9,"Segoe UI Light":8,"Segoe UI Semibold":9,"Segoe UI Semilight":9,"Segoe UI Symbol":9,Selawik:8,"Selawik Light":8,"Selawik Semibold":8,"Shonar Bangla":8,"Showcard Gothic":9,Shruti:8,"Simplified Arabic":8,"Simplified Arabic Fixed":8,"SimSun-ExtB":8,"Sitka Banner":8,"Sitka Display":8,"Sitka Heading":9,"Sitka Small":11,"Sitka Subheading":9,"Sitka Text":10,"Snap ITC":14,"Source Sans Pro":8,"Source Sans Pro Black":8,"Source Sans Pro ExtraLight":8,"Source Sans Pro Light":8,"Source Sans Pro SemiBold":8,Stencil:9,Sylfaen:8,Symbol:8,Tahoma:9,"Tempus Sans ITC":11,"TH SarabunPSK":8,"Times New Roman":8,"Traditional Arabic":8,"Trebuchet MS":8,Tunga:8,"Tw Cen MT":9,"Tw Cen MT Condensed":6,"Tw Cen MT Condensed Extra Bold":8,"UD Digi Kyokasho N-B":8,"UD Digi Kyokasho NK-B":8,"UD Digi Kyokasho NK-R":8,"UD Digi Kyokasho NP-B":8,"UD Digi Kyokasho NP-R":8,"UD Digi Kyokasho N-R":8,Univers:8,"Univers Condensed":8,"Univers Condensed Light":8,"Univers Light":8,"Urdu Typesetting":8,Utsaah:6,Vani:8,Verdana:10,"Verdana Pro":10,"Verdana Pro Black":8,"Verdana Pro Cond":8,"Verdana Pro Cond Black":8,"Verdana Pro Cond Light":8,"Verdana Pro Cond SemiBold":8,"Verdana Pro Light":8,"Verdana Pro SemiBold":8,Vijaya:8,"Viner Hand ITC":11,Vivaldi:7,"Vladimir Script":7,Vrinda:9,Webdings:16,"Wide Latin":20,Wingdings:22,"Wingdings 2":18,"Wingdings 3":14,"Yet R":9,"Yu Gothic":9,"Yu Gothic Light":9,"Yu Gothic Medium":9,"Yu Gothic UI":9,"Yu Gothic UI Light":9,"Yu Gothic UI Semibold":9,"Yu Gothic UI Semilight":9,"Yu Mincho":9,"Yu Mincho Demibold":8,"Yu Mincho Light":8,"\u4eff\u5b8b":8,
15
+ "\u534e\u6587\u4e2d\u5b8b":10,"\u534e\u6587\u4eff\u5b8b":8,"\u534e\u6587\u5b8b\u4f53":8,"\u534e\u6587\u5f69\u4e91":9,"\u534e\u6587\u65b0\u9b4f":9,"\u534e\u6587\u6977\u4f53":8,"\u534e\u6587\u7425\u73c0":9,"\u534e\u6587\u7ec6\u9ed1":9,"\u534e\u6587\u884c\u6977":8,"\u534e\u6587\u96b6\u4e66":7,"\u5b8b\u4f53":8,"\u5e7c\u5706":8,"\u5fae\u8f6f\u96c5\u9ed1":9,"\u5fae\u8f6f\u96c5\u9ed1 Light":9,"\u65b0\u5b8b\u4f53":8,"\u65b9\u6b63\u59da\u4f53":8,"\u65b9\u6b63\u8212\u4f53":9,"\u6977\u4f53":8,"\u7b49\u7ebf":8,"\u7b49\u7ebf Light":8,"\u96b6\u4e66":8,"\u9ed1\u4f53":8,"\u6e38\u30b4\u30b7\u30c3\u30af":9,"\uff2d\uff33 \uff30\u660e\u671d":8,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':8,"\u30e1\u30a4\u30ea\u30aa":10,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":8,"HG\u660e\u671dB":8,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":8},14:{"Gill Sans MT":10,Abadi:11,"Abadi Extra Light":11,"Agency FB":8,Aharoni:8,Aldhabi:6,Algerian:11,"Ami R":8,"Angsana New":6,AngsanaUPC:6,Aparajita:8,"Arabic Typesetting":6,Arial:11,"Arial Black":13,"Arial Narrow":9,"Arial Nova":11,"Arial Nova Cond":10,"Arial Nova Cond Light":9,"Arial Nova Light":11,"Arial Rounded MT Bold":11,"Baskerville Old Face":9,Batang:10,BatangChe:10,"Bauhaus 93":11,"Bell MT":10,Bembo:9,"Berlin Sans FB":11,"Berlin Sans FB Demi":12,"Bernard MT Condensed":9,"Blackadder ITC":8,"Bodoni MT":9,"Bodoni MT Black":12,"Bodoni MT Condensed":6,"Bodoni MT Poster Compressed":6,"Book Antiqua":10,"Bookman Old Style":12,"Bookshelf Symbol 7":14,"Bradley Hand ITC":12,"Britannic Bold":12,Broadway:12,"Browallia New":7,BrowalliaUPC:7,"Brush Script MT":10,Calibri:10,"Calibri Light":10,"Californian FB":11,"Calisto MT":10,Cambria:11,"Cambria Math":11,Candara:10,Castellar:14,Centaur:9,Century:11,"Century Gothic":11,"Century Schoolbook":11,Chiller:9,"Colonna MT":10,"Comic Sans MS":12,Consolas:10,Constantia:10,"Cooper Black":11,"Copperplate Gothic Bold":14,"Copperplate Gothic Light":14,Corbel:10,"Cordia New":7,CordiaUPC:7,"Courier New":11,"Curlz MT":10,Dante:9,DaunPenh:6,David:8,DilleniaUPC:6,DokChampa:11,Dotum:10,DotumChe:10,Dubai:10,"Dubai Light":10,"Dubai Medium":10,Ebrima:10,"Edwardian Script ITC":9,Elephant:14,"Engravers MT":12,"Eras Bold ITC":12,"Eras Demi ITC":12,"Eras Light ITC":10,"Eras Medium ITC":11,EucrosiaUPC:8,Euphemia:11,"Expo M":16,FangSong:10,"Felix Titling":11,"Footlight MT Light":11,Forte:10,"Franklin Gothic Book":11,"Franklin Gothic Demi":11,"Franklin Gothic Demi Cond":10,"Franklin Gothic Heavy":11,"Franklin Gothic Medium":11,"Franklin Gothic Medium Cond":10,FrankRuehl:8,FreesiaUPC:8,"Freestyle Script":7,"French Script MT":7,Gabriola:8,Gadugi:10,Garamond:9,Gautami:11,Georgia:12,"Georgia Pro":11,"Georgia Pro Black":13,"Georgia Pro Cond":10,"Georgia Pro Cond Black":12,"Georgia Pro Cond Light":10,"Georgia Pro Cond Semibold":11,"Georgia Pro Light":10,"Georgia Pro Semibold":12,Gigi:10,"Gill Sans MT Condensed":7,"Gill Sans MT Ext Condensed Bold":7,"Gill Sans Nova":10,"Gill Sans Nova Cond":6,"Gill Sans Nova Cond Lt":6,"Gill Sans Nova Cond Ultra Bold":11,"Gill Sans Nova Cond XBd":10,"Gill Sans Nova Light":10,"Gill Sans Nova Ultra Bold":16,"Gill Sans Ultra Bold":16,"Gill Sans Ultra Bold Condensed":11,Gisha:10,"Gloucester MT Extra Condensed":7,"Goudy Old Style":10,"Goudy Stout":16,Grotesque:9,"Grotesque Light":9,Gulim:10,GulimChe:10,Gungsuh:10,GungsuhChe:10,"Hadassah Friedlaender":11,Haettenschweiler:8,"Harlow Solid Italic":9,Harrington:11,"Headline R":14,HGGothicE:10,HGGothicM:10,HGGyoshotai:10,HGKyokashotai:10,HGMaruGothicMPRO:14,HGMinchoB:11,HGMinchoE:11,HGPGothicE:11,HGPGothicM:12,HGPGyoshotai:10,HGPKyokashotai:10,HGPMinchoB:10,HGPMinchoE:11,HGPSoeiKakugothicUB:13,HGPSoeiKakupoptai:13,HGPSoeiPresenceEB:12,HGSeikaishotaiPRO:11,HGSGothicE:10,HGSGothicM:11,HGSGyoshotai:9,HGSKyokashotai:9,HGSMinchoB:10,HGSMinchoE:11,HGSoeiKakugothicUB:11,HGSoeiKakupoptai:11,HGSoeiPresenceEB:11,HGSSoeiKakugothicUB:12,HGSSoeiKakupoptai:12,HGSSoeiPresenceEB:11,"High Tower Text":9,"HYGothic-Extra":12,"HYGothic-Medium":11,"HYGraphic-Medium":11,"HYGungSo-Bold":11,"HYHeadLine-Medium":11,"HYMyeongJo-Extra":13,"HYPMokGak-Bold":13,"HYPost-Light":13,"HYPost-Medium":13,"HYShortSamul-Medium":7,"HYSinMyeongJo-Medium":12,Impact:10,"Imprint MT Shadow":10,"Informal Roman":10,"Ink Free":10,IrisUPC:10,"Iskoola Pota":10,JasmineUPC:10,"Javanese Text":11,Jokerman:14,"Juice ITC":7,KaiTi:10,Kalinga:11,Kartika:11,"Khmer UI":10,KodchiangUPC:7,Kokila:10,"Kristen ITC":11,"Kunstler Script":7,"Lao UI":10,Latha:10,Leelawadee:10,"Leelawadee UI":10,"Leelawadee UI Semilight":10,"Levenim MT":11,LilyUPC:8,"Lucida Bright":12,"Lucida Calligraphy":14,"Lucida Console":12,"Lucida Fax":13,"Lucida Handwriting":14,"Lucida Sans":13,"Lucida Sans Typewriter":11,"Lucida Sans Unicode":13,"Magic R":12,Magneto:15,"Maiandra GD":12,"Malgun Gothic":11,"Malgun Gothic Semilight":12,Mangal:11,Marlett:20,"Matura MT Script Capitals":13,Meiryo:13,"Meiryo UI":13,"Microsoft GothicNeo":11,"Microsoft Himalaya":7,"Microsoft JhengHei":11,"Microsoft JhengHei Light":12,"Microsoft JhengHei UI":11,"Microsoft JhengHei UI Light":12,"Microsoft New Tai Lue":11,"Microsoft PhagsPa":11,"Microsoft Sans Serif":11,"Microsoft Tai Le":11,"Microsoft Uighur":7,"Microsoft YaHei Light":12,"Microsoft YaHei UI":12,"Microsoft YaHei UI Light":12,"Microsoft Yi Baiti":11,MingLiU:11,MingLiU_HKSCS:11,"MingLiU_HKSCS-ExtB":11,"MingLiU-ExtB":11,Miriam:10,"Miriam Fixed":12,Mistral:10,"Modern No. 20":10,"MoeumT R":11,"Mongolian Baiti":11,"Monotype Corsiva":9,MoolBoran:8,"MS Gothic":10,"MS Mincho":11,"MS Outlook":11,"MS PGothic":11,"MS PMincho":11,"MS Reference Sans Serif":13,"MS Reference Specialty":24,"MS UI Gothic":11,"MT Extra":20,"MV Boli":14,"Myanmar Text":11,Narkisim:9,"Neue Haas Grotesk Text Pro":11,"New Gulim":12,"News Gothic MT":12,"Niagara Engraved":7,"Niagara Solid":7,"Nirmala UI":11,"Nirmala UI Semilight":11,Nyala:11,"OCR A Extended":12,OCRB:12,"Old English Text MT":11,Onyx:7,"Palace Script MT":7,"Palatino Linotype":10,Papyrus:12,Parchment:5,Perpetua:9,"Perpetua Titling MT":13,"Plantagenet Cherokee":11,Playbill:8,PMingLiU:10,"PMingLiU-ExtB":10,"Poor Richard":11,Pristina:10,"Pyunji R":10,Raavi:10,"Rage Italic":11,Ravie:19,Rockwell:10,"Rockwell Condensed":8,"Rockwell Extra Bold":13,"Rockwell Light":11,"Rockwell Nova":11,"Rockwell Nova Cond":11,"Rockwell Nova Cond Light":11,"Rockwell Nova Extra Bold":11,"Rockwell Nova Light":11,Rod:11,"Sakkal Majalla":11,"Sanskrit Text":12,"Script MT Bold":10,"Segoe MDL2 Assets":8,"Segoe Print":14,"Segoe Script":14,"Segoe UI":10,"Segoe UI Black":12,"Segoe UI Emoji":10,"Segoe UI Historic":10,"Segoe UI Light":10,"Segoe UI Semibold":11,"Segoe UI Semilight":10,"Segoe UI Symbol":10,Selawik:10,"Selawik Light":10,"Selawik Semibold":10,"Shonar Bangla":10,"Showcard Gothic":11,Shruti:11,"Simplified Arabic":10,"Simplified Arabic Fixed":11,"SimSun-ExtB":10,"Sitka Banner":10,"Sitka Display":10,"Sitka Heading":11,"Sitka Small":13,"Sitka Subheading":11,"Sitka Text":12,"Snap ITC":16,"Source Sans Pro":9,"Source Sans Pro Black":10,"Source Sans Pro ExtraLight":9,"Source Sans Pro Light":10,"Source Sans Pro SemiBold":10,Stencil:11,Sylfaen:10,Symbol:10,Tahoma:10,"Tempus Sans ITC":13,"TH SarabunPSK":7,"Times New Roman":10,"Traditional Arabic":10,"Trebuchet MS":10,Tunga:10,"Tw Cen MT":10,"Tw Cen MT Condensed":7,"Tw Cen MT Condensed Extra Bold":9,"UD Digi Kyokasho N-B":10,"UD Digi Kyokasho NK-B":10,"UD Digi Kyokasho NK-R":10,"UD Digi Kyokasho NP-B":10,"UD Digi Kyokasho NP-R":10,"UD Digi Kyokasho N-R":10,Univers:10,"Univers Condensed":10,"Univers Condensed Light":8,"Univers Light":10,"Urdu Typesetting":10,Utsaah:8,Vani:11,Verdana:12,"Verdana Pro":12,"Verdana Pro Black":10,"Verdana Pro Cond":10,"Verdana Pro Cond Black":10,"Verdana Pro Cond Light":10,"Verdana Pro Cond SemiBold":10,"Verdana Pro Light":10,"Verdana Pro SemiBold":10,Vijaya:10,"Viner Hand ITC":13,Vivaldi:8,"Vladimir Script":9,Vrinda:11,Webdings:19,"Wide Latin":24,Wingdings:26,"Wingdings 2":22,"Wingdings 3":17,"Yet R":10,"Yu Gothic":11,"Yu Gothic Light":10,"Yu Gothic Medium":11,"Yu Gothic UI":10,"Yu Gothic UI Light":10,"Yu Gothic UI Semibold":11,"Yu Gothic UI Semilight":10,"Yu Mincho":10,"Yu Mincho Demibold":10,"Yu Mincho Light":10,"\u4eff\u5b8b":10,"\u534e\u6587\u4e2d\u5b8b":12,"\u534e\u6587\u4eff\u5b8b":9,"\u534e\u6587\u5b8b\u4f53":9,"\u534e\u6587\u5f69\u4e91":11,"\u534e\u6587\u65b0\u9b4f":11,"\u534e\u6587\u6977\u4f53":9,"\u534e\u6587\u7425\u73c0":11,"\u534e\u6587\u7ec6\u9ed1":11,"\u534e\u6587\u884c\u6977":10,"\u534e\u6587\u96b6\u4e66":8,"\u5b8b\u4f53":10,"\u5e7c\u5706":10,"\u5fae\u8f6f\u96c5\u9ed1":11,"\u5fae\u8f6f\u96c5\u9ed1 Light":11,"\u65b0\u5b8b\u4f53":10,"\u65b9\u6b63\u59da\u4f53":10,"\u65b9\u6b63\u8212\u4f53":10,"\u6977\u4f53":10,"\u7b49\u7ebf":10,"\u7b49\u7ebf Light":10,"\u96b6\u4e66":10,"\u9ed1\u4f53":10,"\u6e38\u30b4\u30b7\u30c3\u30af":11,"\uff2d\uff33 \uff30\u660e\u671d":10,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':10,"\u30e1\u30a4\u30ea\u30aa":12,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":10,"HG\u660e\u671dB":10,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":10},16:{"Gill Sans MT":11,Abadi:13,"Abadi Extra Light":12,"Agency FB":9,Aharoni:9,Aldhabi:7,Algerian:13,"Ami R":9,"Angsana New":7,AngsanaUPC:7,Aparajita:8,"Arabic Typesetting":7,Arial:12,"Arial Black":14,"Arial Narrow":10,"Arial Nova":12,"Arial Nova Cond":11,"Arial Nova Cond Light":9,"Arial Nova Light":12,"Arial Rounded MT Bold":12,"Baskerville Old Face":10,Batang:10,BatangChe:11,"Bauhaus 93":12,"Bell MT":11,Bembo:10,"Berlin Sans FB":13,"Berlin Sans FB Demi":13,"Bernard MT Condensed":10,"Blackadder ITC":8,"Bodoni MT":10,"Bodoni MT Black":14,"Bodoni MT Condensed":7,"Bodoni MT Poster Compressed":7,"Book Antiqua":11,"Bookman Old Style":13,"Bookshelf Symbol 7":16,"Bradley Hand ITC":14,"Britannic Bold":13,Broadway:14,"Browallia New":8,BrowalliaUPC:8,"Brush Script MT":11,Calibri:11,"Calibri Light":11,"Californian FB":12,"Calisto MT":11,Cambria:12,"Cambria Math":12,Candara:12,Castellar:15,Centaur:10,Century:12,"Century Gothic":12,"Century Schoolbook":12,Chiller:10,"Colonna MT":11,"Comic Sans MS":13,Consolas:12,Constantia:11,"Cooper Black":13,"Copperplate Gothic Bold":15,"Copperplate Gothic Light":15,Corbel:11,"Cordia New":8,CordiaUPC:8,"Courier New":13,"Curlz MT":11,Dante:9,DaunPenh:7,David:9,DilleniaUPC:7,DokChampa:12,Dotum:11,DotumChe:11,Dubai:11,"Dubai Light":11,"Dubai Medium":11,Ebrima:11,"Edwardian Script ITC":10,Elephant:16,"Engravers MT":14,"Eras Bold ITC":14,"Eras Demi ITC":13,"Eras Light ITC":11,"Eras Medium ITC":12,EucrosiaUPC:9,Euphemia:12,"Expo M":18,FangSong:11,"Felix Titling":12,"Footlight MT Light":12,Forte:11,"Franklin Gothic Book":12,"Franklin Gothic Demi":12,"Franklin Gothic Demi Cond":11,"Franklin Gothic Heavy":12,"Franklin Gothic Medium":12,"Franklin Gothic Medium Cond":11,FrankRuehl:9,FreesiaUPC:9,"Freestyle Script":8,"French Script MT":8,Gabriola:8,Gadugi:11,Garamond:10,Gautami:13,Georgia:13,"Georgia Pro":12,"Georgia Pro Black":15,"Georgia Pro Cond":11,"Georgia Pro Cond Black":13,"Georgia Pro Cond Light":11,"Georgia Pro Cond Semibold":12,"Georgia Pro Light":12,"Georgia Pro Semibold":13,Gigi:12,"Gill Sans MT Condensed":8,"Gill Sans MT Ext Condensed Bold":7,"Gill Sans Nova":11,"Gill Sans Nova Cond":7,"Gill Sans Nova Cond Lt":6,"Gill Sans Nova Cond Ultra Bold":12,"Gill Sans Nova Cond XBd":11,"Gill Sans Nova Light":11,"Gill Sans Nova Ultra Bold":18,"Gill Sans Ultra Bold":18,"Gill Sans Ultra Bold Condensed":12,Gisha:11,"Gloucester MT Extra Condensed":8,"Goudy Old Style":11,"Goudy Stout":17,Grotesque:10,"Grotesque Light":10,Gulim:11,GulimChe:11,Gungsuh:11,GungsuhChe:11,"Hadassah Friedlaender":12,Haettenschweiler:9,"Harlow Solid Italic":10,Harrington:12,"Headline R":15,HGGothicE:11,HGGothicM:11,HGGyoshotai:11,HGKyokashotai:11,HGMaruGothicMPRO:16,HGMinchoB:12,HGMinchoE:12,HGPGothicE:12,HGPGothicM:13,HGPGyoshotai:11,HGPKyokashotai:11,HGPMinchoB:11,HGPMinchoE:12,HGPSoeiKakugothicUB:14,HGPSoeiKakupoptai:15,HGPSoeiPresenceEB:13,HGSeikaishotaiPRO:12,HGSGothicE:11,HGSGothicM:12,HGSGyoshotai:10,HGSKyokashotai:10,HGSMinchoB:11,HGSMinchoE:12,HGSoeiKakugothicUB:12,HGSoeiKakupoptai:12,HGSoeiPresenceEB:12,HGSSoeiKakugothicUB:13,HGSSoeiKakupoptai:14,HGSSoeiPresenceEB:12,"High Tower Text":10,"HYGothic-Extra":13,"HYGothic-Medium":12,"HYGraphic-Medium":12,"HYGungSo-Bold":12,"HYHeadLine-Medium":12,"HYMyeongJo-Extra":14,"HYPMokGak-Bold":15,"HYPost-Light":14,"HYPost-Medium":15,"HYShortSamul-Medium":8,"HYSinMyeongJo-Medium":13,Impact:11,"Imprint MT Shadow":11,"Informal Roman":11,"Ink Free":11,IrisUPC:11,"Iskoola Pota":11,JasmineUPC:10,"Javanese Text":12,Jokerman:15,"Juice ITC":8,KaiTi:11,Kalinga:12,Kartika:12,"Khmer UI":11,KodchiangUPC:7,Kokila:8,"Kristen ITC":13,"Kunstler Script":7,"Lao UI":11,Latha:11,Leelawadee:11,"Leelawadee UI":11,"Leelawadee UI Semilight":12,"Levenim MT":12,LilyUPC:9,"Lucida Bright":13,"Lucida Calligraphy":15,"Lucida Console":14,"Lucida Fax":14,"Lucida Handwriting":15,"Lucida Sans":14,"Lucida Sans Typewriter":13,"Lucida Sans Unicode":14,"Magic R":13,Magneto:16,"Maiandra GD":13,"Malgun Gothic":12,"Malgun Gothic Semilight":13,Mangal:12,Marlett:22,"Matura MT Script Capitals":15,Meiryo:14,"Meiryo UI":14,"Microsoft GothicNeo":12,"Microsoft Himalaya":8,"Microsoft JhengHei":13,"Microsoft JhengHei Light":13,"Microsoft JhengHei UI":13,"Microsoft JhengHei UI Light":13,"Microsoft New Tai Lue":12,"Microsoft PhagsPa":12,"Microsoft Sans Serif":13,"Microsoft Tai Le":12,"Microsoft Uighur":8,"Microsoft YaHei Light":13,"Microsoft YaHei UI":13,"Microsoft YaHei UI Light":13,"Microsoft Yi Baiti":12,MingLiU:12,MingLiU_HKSCS:12,"MingLiU_HKSCS-ExtB":12,"MingLiU-ExtB":12,Miriam:11,"Miriam Fixed":14,Mistral:10,"Modern No. 20":11,"MoeumT R":13,"Mongolian Baiti":12,"Monotype Corsiva":10,MoolBoran:8,"MS Gothic":11,"MS Mincho":12,"MS Outlook":12,"MS PGothic":12,"MS PMincho":12,"MS Reference Sans Serif":14,"MS Reference Specialty":26,"MS UI Gothic":12,"MT Extra":22,"MV Boli":16,"Myanmar Text":12,Narkisim:10,"Neue Haas Grotesk Text Pro":12,"New Gulim":13,"News Gothic MT":14,"Niagara Engraved":8,"Niagara Solid":8,"Nirmala UI":12,"Nirmala UI Semilight":13,Nyala:12,"OCR A Extended":14,OCRB:14,"Old English Text MT":12,Onyx:8,"Palace Script MT":8,"Palatino Linotype":11,Papyrus:14,Parchment:5,Perpetua:10,"Perpetua Titling MT":14,"Plantagenet Cherokee":12,Playbill:8,PMingLiU:11,"PMingLiU-ExtB":11,"Poor Richard":13,Pristina:11,"Pyunji R":11,Raavi:11,"Rage Italic":12,Ravie:21,Rockwell:11,"Rockwell Condensed":9,"Rockwell Extra Bold":14,"Rockwell Light":12,"Rockwell Nova":12,"Rockwell Nova Cond":12,"Rockwell Nova Cond Light":12,"Rockwell Nova Extra Bold":12,"Rockwell Nova Light":12,Rod:12,"Sakkal Majalla":12,"Sanskrit Text":13,"Script MT Bold":11,"Segoe MDL2 Assets":8,"Segoe Print":15,"Segoe Script":15,"Segoe UI":11,"Segoe UI Black":13,"Segoe UI Emoji":11,"Segoe UI Historic":11,"Segoe UI Light":11,"Segoe UI Semibold":12,"Segoe UI Semilight":11,"Segoe UI Symbol":11,Selawik:11,"Selawik Light":11,"Selawik Semibold":12,"Shonar Bangla":11,"Showcard Gothic":12,Shruti:13,"Simplified Arabic":11,"Simplified Arabic Fixed":13,"SimSun-ExtB":11,"Sitka Banner":11,"Sitka Display":11,"Sitka Heading":12,"Sitka Small":14,"Sitka Subheading":12,"Sitka Text":13,"Snap ITC":18,"Source Sans Pro":10,"Source Sans Pro Black":11,"Source Sans Pro ExtraLight":10,"Source Sans Pro Light":11,"Source Sans Pro SemiBold":11,Stencil:12,Sylfaen:11,Symbol:11,Tahoma:11,"Tempus Sans ITC":14,"TH SarabunPSK":8,"Times New Roman":11,"Traditional Arabic":10,"Trebuchet MS":11,Tunga:11,"Tw Cen MT":12,"Tw Cen MT Condensed":8,"Tw Cen MT Condensed Extra Bold":10,"UD Digi Kyokasho N-B":11,"UD Digi Kyokasho NK-B":11,"UD Digi Kyokasho NK-R":11,"UD Digi Kyokasho NP-B":11,"UD Digi Kyokasho NP-R":11,"UD Digi Kyokasho N-R":11,Univers:11,"Univers Condensed":11,"Univers Condensed Light":9,"Univers Light":11,"Urdu Typesetting":11,Utsaah:8,Vani:13,Verdana:13,"Verdana Pro":13,"Verdana Pro Black":11,"Verdana Pro Cond":11,"Verdana Pro Cond Black":11,"Verdana Pro Cond Light":11,"Verdana Pro Cond SemiBold":11,"Verdana Pro Light":11,"Verdana Pro SemiBold":11,Vijaya:11,"Viner Hand ITC":14,Vivaldi:9,"Vladimir Script":10,Vrinda:12,Webdings:21,"Wide Latin":26,Wingdings:28,"Wingdings 2":24,"Wingdings 3":19,"Yet R":11,"Yu Gothic":12,"Yu Gothic Light":11,"Yu Gothic Medium":12,"Yu Gothic UI":11,"Yu Gothic UI Light":11,"Yu Gothic UI Semibold":12,"Yu Gothic UI Semilight":12,"Yu Mincho":11,"Yu Mincho Demibold":11,"Yu Mincho Light":11,"\u4eff\u5b8b":11,"\u534e\u6587\u4e2d\u5b8b":13,"\u534e\u6587\u4eff\u5b8b":10,"\u534e\u6587\u5b8b\u4f53":10,"\u534e\u6587\u5f69\u4e91":12,"\u534e\u6587\u65b0\u9b4f":12,"\u534e\u6587\u6977\u4f53":10,"\u534e\u6587\u7425\u73c0":12,"\u534e\u6587\u7ec6\u9ed1":12,"\u534e\u6587\u884c\u6977":11,"\u534e\u6587\u96b6\u4e66":9,"\u5b8b\u4f53":11,"\u5e7c\u5706":11,"\u5fae\u8f6f\u96c5\u9ed1":12,"\u5fae\u8f6f\u96c5\u9ed1 Light":12,"\u65b0\u5b8b\u4f53":11,"\u65b9\u6b63\u59da\u4f53":11,"\u65b9\u6b63\u8212\u4f53":11,"\u6977\u4f53":11,"\u7b49\u7ebf":11,"\u7b49\u7ebf Light":11,"\u96b6\u4e66":11,"\u9ed1\u4f53":11,"\u6e38\u30b4\u30b7\u30c3\u30af":12,"\uff2d\uff33 \uff30\u660e\u671d":11,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':11,"\u30e1\u30a4\u30ea\u30aa":13,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":11,"HG\u660e\u671dB":11,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":11},18:{"Gill Sans MT":12,Abadi:15,"Abadi Extra Light":13,"Agency FB":10,Aharoni:10,Aldhabi:8,Algerian:14,"Ami R":10,"Angsana New":8,AngsanaUPC:8,Aparajita:10,"Arabic Typesetting":8,Arial:13,"Arial Black":16,"Arial Narrow":11,"Arial Nova":13,"Arial Nova Cond":12,"Arial Nova Cond Light":11,"Arial Nova Light":13,"Arial Rounded MT Bold":14,"Baskerville Old Face":12,Batang:12,BatangChe:12,"Bauhaus 93":14,"Bell MT":12,Bembo:12,"Berlin Sans FB":14,"Berlin Sans FB Demi":15,"Bernard MT Condensed":12,"Blackadder ITC":9,"Bodoni MT":12,"Bodoni MT Black":16,"Bodoni MT Condensed":8,"Bodoni MT Poster Compressed":8,"Book Antiqua":12,"Bookman Old Style":15,"Bookshelf Symbol 7":18,"Bradley Hand ITC":15,"Britannic Bold":15,Broadway:16,"Browallia New":9,BrowalliaUPC:9,"Brush Script MT":12,Calibri:12,"Calibri Light":12,"Californian FB":13,"Calisto MT":12,Cambria:13,"Cambria Math":13,Candara:13,Castellar:17,Centaur:12,Century:13,"Century Gothic":13,"Century Schoolbook":13,Chiller:11,"Colonna MT":12,"Comic Sans MS":15,Consolas:13,Constantia:13,"Cooper Black":14,"Copperplate Gothic Bold":17,"Copperplate Gothic Light":17,Corbel:13,"Cordia New":9,CordiaUPC:9,"Courier New":14,"Curlz MT":13,Dante:11,DaunPenh:8,David:11,DilleniaUPC:7,DokChampa:13,Dotum:13,DotumChe:12,Dubai:13,"Dubai Light":13,"Dubai Medium":13,Ebrima:13,"Edwardian Script ITC":11,Elephant:18,"Engravers MT":16,"Eras Bold ITC":16,"Eras Demi ITC":15,"Eras Light ITC":13,"Eras Medium ITC":14,EucrosiaUPC:10,Euphemia:14,"Expo M":21,FangSong:12,"Felix Titling":14,"Footlight MT Light":13,Forte:13,"Franklin Gothic Book":14,"Franklin Gothic Demi":14,"Franklin Gothic Demi Cond":12,"Franklin Gothic Heavy":14,"Franklin Gothic Medium":14,"Franklin Gothic Medium Cond":12,FrankRuehl:10,FreesiaUPC:11,"Freestyle Script":9,"French Script MT":9,Gabriola:10,Gadugi:13,Garamond:11,Gautami:14,Georgia:15,"Georgia Pro":14,"Georgia Pro Black":17,"Georgia Pro Cond":13,"Georgia Pro Cond Black":15,"Georgia Pro Cond Light":12,"Georgia Pro Cond Semibold":13,"Georgia Pro Light":13,"Georgia Pro Semibold":15,Gigi:12,"Gill Sans MT Condensed":9,"Gill Sans MT Ext Condensed Bold":8,"Gill Sans Nova":12,"Gill Sans Nova Cond":8,"Gill Sans Nova Cond Lt":7,"Gill Sans Nova Cond Ultra Bold":14,"Gill Sans Nova Cond XBd":13,"Gill Sans Nova Light":12,"Gill Sans Nova Ultra Bold":20,"Gill Sans Ultra Bold":21,"Gill Sans Ultra Bold Condensed":14,Gisha:13,"Gloucester MT Extra Condensed":9,"Goudy Old Style":12,"Goudy Stout":20,Grotesque:12,"Grotesque Light":12,Gulim:13,GulimChe:12,Gungsuh:13,GungsuhChe:12,"Hadassah Friedlaender":14,Haettenschweiler:11,"Harlow Solid Italic":11,Harrington:13,"Headline R":17,HGGothicE:12,HGGothicM:12,HGGyoshotai:12,HGKyokashotai:12,HGMaruGothicMPRO:18,HGMinchoB:13,HGMinchoE:13,HGPGothicE:14,HGPGothicM:15,HGPGyoshotai:12,HGPKyokashotai:12,HGPMinchoB:12,HGPMinchoE:13,HGPSoeiKakugothicUB:16,HGPSoeiKakupoptai:17,HGPSoeiPresenceEB:14,HGSeikaishotaiPRO:14,HGSGothicE:13,HGSGothicM:14,HGSGyoshotai:11,HGSKyokashotai:11,HGSMinchoB:12,HGSMinchoE:13,HGSoeiKakugothicUB:13,HGSoeiKakupoptai:13,HGSoeiPresenceEB:13,HGSSoeiKakugothicUB:15,HGSSoeiKakupoptai:16,HGSSoeiPresenceEB:13,"High Tower Text":12,"HYGothic-Extra":15,"HYGothic-Medium":14,"HYGraphic-Medium":14,"HYGungSo-Bold":14,"HYHeadLine-Medium":14,"HYMyeongJo-Extra":16,"HYPMokGak-Bold":17,"HYPost-Light":16,"HYPost-Medium":17,"HYShortSamul-Medium":9,"HYSinMyeongJo-Medium":15,Impact:13,"Imprint MT Shadow":12,"Informal Roman":13,"Ink Free":12,IrisUPC:12,"Iskoola Pota":12,JasmineUPC:11,"Javanese Text":14,Jokerman:17,"Juice ITC":8,KaiTi:12,Kalinga:13,Kartika:14,"Khmer UI":13,KodchiangUPC:8,Kokila:9,"Kristen ITC":14,"Kunstler Script":8,"Lao UI":13,Latha:12,Leelawadee:13,"Leelawadee UI":13,"Leelawadee UI Semilight":13,"Levenim MT":14,LilyUPC:11,"Lucida Bright":15,"Lucida Calligraphy":17,"Lucida Console":15,"Lucida Fax":16,"Lucida Handwriting":17,"Lucida Sans":16,"Lucida Sans Typewriter":14,"Lucida Sans Unicode":16,"Magic R":14,Magneto:19,"Maiandra GD":15,"Malgun Gothic":14,"Malgun Gothic Semilight":14,Mangal:14,Marlett:25,"Matura MT Script Capitals":17,Meiryo:16,"Meiryo UI":16,"Microsoft GothicNeo":13,"Microsoft Himalaya":9,"Microsoft JhengHei":14,"Microsoft JhengHei Light":15,"Microsoft JhengHei UI":14,"Microsoft JhengHei UI Light":15,"Microsoft New Tai Lue":14,"Microsoft PhagsPa":14,"Microsoft Sans Serif":14,"Microsoft Tai Le":14,"Microsoft Uighur":9,"Microsoft YaHei Light":15,"Microsoft YaHei UI":15,"Microsoft YaHei UI Light":15,"Microsoft Yi Baiti":13,MingLiU:13,MingLiU_HKSCS:13,"MingLiU_HKSCS-ExtB":13,"MingLiU-ExtB":13,Miriam:12,"Miriam Fixed":15,Mistral:12,"Modern No. 20":12,"MoeumT R":14,"Mongolian Baiti":13,"Monotype Corsiva":12,MoolBoran:9,"MS Gothic":12,"MS Mincho":13,"MS Outlook":13,"MS PGothic":13,"MS PMincho":13,"MS Reference Sans Serif":16,"MS Reference Specialty":30,"MS UI Gothic":13,"MT Extra":25,"MV Boli":18,"Myanmar Text":14,Narkisim:11,"Neue Haas Grotesk Text Pro":13,"New Gulim":15,"News Gothic MT":16,"Niagara Engraved":9,"Niagara Solid":9,"Nirmala UI":14,"Nirmala UI Semilight":14,Nyala:13,"OCR A Extended":15,OCRB:15,"Old English Text MT":13,Onyx:9,"Palace Script MT":9,"Palatino Linotype":12,Papyrus:15,Parchment:6,Perpetua:11,"Perpetua Titling MT":16,"Plantagenet Cherokee":13,Playbill:10,PMingLiU:12,"PMingLiU-ExtB":12,"Poor Richard":14,Pristina:13,"Pyunji R":13,Raavi:12,"Rage Italic":13,Ravie:24,Rockwell:13,"Rockwell Condensed":10,"Rockwell Extra Bold":17,"Rockwell Light":14,"Rockwell Nova":13,"Rockwell Nova Cond":13,"Rockwell Nova Cond Light":13,"Rockwell Nova Extra Bold":13,"Rockwell Nova Light":13,Rod:15,"Sakkal Majalla":10,"Sanskrit Text":15,"Script MT Bold":13,"Segoe MDL2 Assets":10,"Segoe Print":18,"Segoe Script":18,"Segoe UI":13,"Segoe UI Black":15,"Segoe UI Emoji":13,"Segoe UI Historic":13,"Segoe UI Light":12,"Segoe UI Semibold":14,"Segoe UI Semilight":13,"Segoe UI Symbol":13,Selawik:12,"Selawik Light":13,"Selawik Semibold":14,"Shonar Bangla":12,"Showcard Gothic":14,Shruti:14,"Simplified Arabic":13,"Simplified Arabic Fixed":14,"SimSun-ExtB":12,"Sitka Banner":12,"Sitka Display":13,"Sitka Heading":13,"Sitka Small":16,"Sitka Subheading":14,"Sitka Text":15,"Snap ITC":21,"Source Sans Pro":12,"Source Sans Pro Black":12,"Source Sans Pro ExtraLight":11,"Source Sans Pro Light":12,"Source Sans Pro SemiBold":12,Stencil:14,Sylfaen:12,Symbol:12,Tahoma:13,"Tempus Sans ITC":16,"TH SarabunPSK":9,"Times New Roman":12,"Traditional Arabic":12,"Trebuchet MS":13,Tunga:13,"Tw Cen MT":13,"Tw Cen MT Condensed":9,"Tw Cen MT Condensed Extra Bold":12,"UD Digi Kyokasho N-B":12,"UD Digi Kyokasho NK-B":12,"UD Digi Kyokasho NK-R":12,"UD Digi Kyokasho NP-B":17,"UD Digi Kyokasho NP-R":12,"UD Digi Kyokasho N-R":12,Univers:12,"Univers Condensed":12,"Univers Condensed Light":11,"Univers Light":12,"Urdu Typesetting":12,Utsaah:10,Vani:15,Verdana:15,"Verdana Pro":15,"Verdana Pro Black":12,"Verdana Pro Cond":12,"Verdana Pro Cond Black":12,"Verdana Pro Cond Light":12,"Verdana Pro Cond SemiBold":12,"Verdana Pro Light":12,"Verdana Pro SemiBold":12,Vijaya:12,"Viner Hand ITC":16,Vivaldi:10,"Vladimir Script":11,Vrinda:14,Webdings:24,"Wide Latin":30,Wingdings:32,"Wingdings 2":27,"Wingdings 3":21,"Yet R":13,"Yu Gothic":13,"Yu Gothic Light":13,"Yu Gothic Medium":13,"Yu Gothic UI":13,"Yu Gothic UI Light":13,"Yu Gothic UI Semibold":14,"Yu Gothic UI Semilight":13,"Yu Mincho":13,"Yu Mincho Demibold":13,"Yu Mincho Light":12,"\u4eff\u5b8b":12,"\u534e\u6587\u4e2d\u5b8b":15,"\u534e\u6587\u4eff\u5b8b":11,"\u534e\u6587\u5b8b\u4f53":11,"\u534e\u6587\u5f69\u4e91":14,"\u534e\u6587\u65b0\u9b4f":14,"\u534e\u6587\u6977\u4f53":11,"\u534e\u6587\u7425\u73c0":14,"\u534e\u6587\u7ec6\u9ed1":13,"\u534e\u6587\u884c\u6977":12,"\u534e\u6587\u96b6\u4e66":11,"\u5b8b\u4f53":12,"\u5e7c\u5706":12,"\u5fae\u8f6f\u96c5\u9ed1":14,"\u5fae\u8f6f\u96c5\u9ed1 Light":14,"\u65b0\u5b8b\u4f53":12,"\u65b9\u6b63\u59da\u4f53":12,"\u65b9\u6b63\u8212\u4f53":13,"\u6977\u4f53":12,"\u7b49\u7ebf":13,"\u7b49\u7ebf Light":12,"\u96b6\u4e66":12,"\u9ed1\u4f53":12,"\u6e38\u30b4\u30b7\u30c3\u30af":13,"\uff2d\uff33 \uff30\u660e\u671d":12,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':12,"\u30e1\u30a4\u30ea\u30aa":15,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":12,"HG\u660e\u671dB":12,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":12},20:{"Gill Sans MT":14,Abadi:16,"Abadi Extra Light":15,"Agency FB":11,Aharoni:11,Aldhabi:9,Algerian:16,"Ami R":11,"Angsana New":9,AngsanaUPC:9,Aparajita:11,"Arabic Typesetting":9,Arial:15,"Arial Black":18,"Arial Narrow":12,"Arial Nova":15,"Arial Nova Cond":14,"Arial Nova Cond Light":12,"Arial Nova Light":15,"Arial Rounded MT Bold":16,"Baskerville Old Face":13,Batang:16,BatangChe:14,"Bauhaus 93":15,"Bell MT":14,Bembo:13,"Berlin Sans FB":16,"Berlin Sans FB Demi":17,"Bernard MT Condensed":13,"Blackadder ITC":11,"Bodoni MT":13,"Bodoni MT Black":18,"Bodoni MT Condensed":9,"Bodoni MT Poster Compressed":8,"Book Antiqua":14,"Bookman Old Style":17,"Bookshelf Symbol 7":20,"Bradley Hand ITC":17,"Britannic Bold":17,Broadway:17,"Browallia New":10,BrowalliaUPC:10,"Brush Script MT":14,Calibri:14,"Calibri Light":14,"Californian FB":14,"Calisto MT":14,Cambria:15,"Cambria Math":15,Candara:15,Castellar:19,Centaur:13,Century:15,"Century Gothic":15,"Century Schoolbook":15,Chiller:13,"Colonna MT":14,"Comic Sans MS":16,Consolas:15,Constantia:15,"Cooper Black":16,"Copperplate Gothic Bold":19,"Copperplate Gothic Light":19,Corbel:14,"Cordia New":10,CordiaUPC:10,"Courier New":16,"Curlz MT":15,Dante:12,DaunPenh:9,David:12,DilleniaUPC:8,DokChampa:15,Dotum:16,DotumChe:14,Dubai:15,"Dubai Light":15,"Dubai Medium":15,Ebrima:15,"Edwardian Script ITC":13,Elephant:20,"Engravers MT":17,"Eras Bold ITC":18,"Eras Demi ITC":16,"Eras Light ITC":14,"Eras Medium ITC":15,EucrosiaUPC:11,Euphemia:16,"Expo M":23,FangSong:14,"Felix Titling":16,"Footlight MT Light":15,Forte:14,"Franklin Gothic Book":16,"Franklin Gothic Demi":16,"Franklin Gothic Demi Cond":14,"Franklin Gothic Heavy":16,"Franklin Gothic Medium":16,"Franklin Gothic Medium Cond":14,FrankRuehl:11,FreesiaUPC:12,"Freestyle Script":10,"French Script MT":10,Gabriola:11,Gadugi:15,Garamond:13,Gautami:16,Georgia:17,"Georgia Pro":15,"Georgia Pro Black":19,"Georgia Pro Cond":14,"Georgia Pro Cond Black":17,"Georgia Pro Cond Light":14,"Georgia Pro Cond Semibold":15,"Georgia Pro Light":15,"Georgia Pro Semibold":17,Gigi:14,"Gill Sans MT Condensed":10,"Gill Sans MT Ext Condensed Bold":9,"Gill Sans Nova":14,"Gill Sans Nova Cond":9,"Gill Sans Nova Cond Lt":8,"Gill Sans Nova Cond Ultra Bold":16,"Gill Sans Nova Cond XBd":14,"Gill Sans Nova Light":14,"Gill Sans Nova Ultra Bold":23,"Gill Sans Ultra Bold":23,"Gill Sans Ultra Bold Condensed":16,Gisha:15,"Gloucester MT Extra Condensed":10,"Goudy Old Style":14,"Goudy Stout":22,Grotesque:13,"Grotesque Light":13,Gulim:16,GulimChe:14,Gungsuh:16,GungsuhChe:14,"Hadassah Friedlaender":15,Haettenschweiler:12,"Harlow Solid Italic":13,Harrington:15,"Headline R":19,HGGothicE:14,HGGothicM:14,HGGyoshotai:14,HGKyokashotai:14,HGMaruGothicMPRO:20,HGMinchoB:15,HGMinchoE:15,HGPGothicE:16,HGPGothicM:17,HGPGyoshotai:14,HGPKyokashotai:14,HGPMinchoB:14,HGPMinchoE:15,HGPSoeiKakugothicUB:18,HGPSoeiKakupoptai:19,HGPSoeiPresenceEB:16,HGSeikaishotaiPRO:16,HGSGothicE:15,HGSGothicM:16,HGSGyoshotai:13,HGSKyokashotai:13,HGSMinchoB:14,HGSMinchoE:15,HGSoeiKakugothicUB:15,HGSoeiKakupoptai:15,HGSoeiPresenceEB:15,HGSSoeiKakugothicUB:17,HGSSoeiKakupoptai:18,HGSSoeiPresenceEB:15,"High Tower Text":13,"HYGothic-Extra":17,"HYGothic-Medium":16,"HYGraphic-Medium":16,"HYGungSo-Bold":16,"HYHeadLine-Medium":16,"HYMyeongJo-Extra":18,"HYPMokGak-Bold":19,"HYPost-Light":18,"HYPost-Medium":19,"HYShortSamul-Medium":10,"HYSinMyeongJo-Medium":17,Impact:15,"Imprint MT Shadow":14,"Informal Roman":15,"Ink Free":14,IrisUPC:14,"Iskoola Pota":14,JasmineUPC:12,"Javanese Text":16,Jokerman:19,"Juice ITC":10,KaiTi:14,Kalinga:15,Kartika:16,"Khmer UI":15,KodchiangUPC:9,Kokila:10,"Kristen ITC":16,"Kunstler Script":10,"Lao UI":15,Latha:14,Leelawadee:15,"Leelawadee UI":15,"Leelawadee UI Semilight":15,"Levenim MT":15,LilyUPC:12,"Lucida Bright":16,"Lucida Calligraphy":19,"Lucida Console":17,"Lucida Fax":18,"Lucida Handwriting":19,"Lucida Sans":18,"Lucida Sans Typewriter":16,"Lucida Sans Unicode":18,"Magic R":16,Magneto:21,"Maiandra GD":17,"Malgun Gothic":16,"Malgun Gothic Semilight":16,Mangal:16,Marlett:28,"Matura MT Script Capitals":19,Meiryo:18,"Meiryo UI":18,"Microsoft GothicNeo":15,"Microsoft Himalaya":10,"Microsoft JhengHei":16,"Microsoft JhengHei Light":17,"Microsoft JhengHei UI":16,"Microsoft JhengHei UI Light":17,"Microsoft New Tai Lue":16,"Microsoft PhagsPa":16,"Microsoft Sans Serif":16,"Microsoft Tai Le":16,"Microsoft Uighur":10,"Microsoft YaHei Light":16,"Microsoft YaHei UI":17,"Microsoft YaHei UI Light":16,"Microsoft Yi Baiti":15,MingLiU:15,MingLiU_HKSCS:15,"MingLiU_HKSCS-ExtB":15,"MingLiU-ExtB":15,Miriam:14,"Miriam Fixed":17,Mistral:13,"Modern No. 20":13,"MoeumT R":16,"Mongolian Baiti":15,"Monotype Corsiva":13,MoolBoran:10,"MS Gothic":14,"MS Mincho":15,"MS Outlook":15,"MS PGothic":15,"MS PMincho":15,"MS Reference Sans Serif":18,"MS Reference Specialty":33,"MS UI Gothic":15,"MT Extra":29,"MV Boli":20,"Myanmar Text":16,Narkisim:12,"Neue Haas Grotesk Text Pro":15,"New Gulim":17,"News Gothic MT":18,"Niagara Engraved":9,"Niagara Solid":9,"Nirmala UI":16,"Nirmala UI Semilight":16,Nyala:15,"OCR A Extended":17,OCRB:17,"Old English Text MT":15,Onyx:9,"Palace Script MT":9,"Palatino Linotype":14,Papyrus:16,Parchment:7,Perpetua:12,"Perpetua Titling MT":18,"Plantagenet Cherokee":15,Playbill:11,PMingLiU:14,"PMingLiU-ExtB":14,"Poor Richard":16,Pristina:14,"Pyunji R":14,Raavi:14,"Rage Italic":15,Ravie:27,Rockwell:15,"Rockwell Condensed":12,"Rockwell Extra Bold":19,"Rockwell Light":15,"Rockwell Nova":15,"Rockwell Nova Cond":15,"Rockwell Nova Cond Light":15,"Rockwell Nova Extra Bold":15,"Rockwell Nova Light":15,Rod:17,"Sakkal Majalla":11,"Sanskrit Text":17,"Script MT Bold":14,"Segoe MDL2 Assets":11,"Segoe Print":20,"Segoe Script":20,"Segoe UI":15,"Segoe UI Black":17,"Segoe UI Emoji":15,"Segoe UI Historic":15,"Segoe UI Light":14,"Segoe UI Semibold":15,"Segoe UI Semilight":15,"Segoe UI Symbol":15,Selawik:14,"Selawik Light":14,"Selawik Semibold":15,"Shonar Bangla":14,"Showcard Gothic":16,Shruti:16,"Simplified Arabic":14,"Simplified Arabic Fixed":16,"SimSun-ExtB":14,"Sitka Banner":14,"Sitka Display":14,"Sitka Heading":15,"Sitka Small":18,"Sitka Subheading":16,"Sitka Text":17,"Snap ITC":23,"Source Sans Pro":13,"Source Sans Pro Black":14,"Source Sans Pro ExtraLight":12,"Source Sans Pro Light":12,"Source Sans Pro SemiBold":14,Stencil:16,Sylfaen:14,Symbol:14,Tahoma:15,"Tempus Sans ITC":18,"TH SarabunPSK":10,"Times New Roman":14,"Traditional Arabic":13,"Trebuchet MS":14,Tunga:14,"Tw Cen MT":15,"Tw Cen MT Condensed":10,"Tw Cen MT Condensed Extra Bold":13,"UD Digi Kyokasho N-B":14,
16
+ "UD Digi Kyokasho NK-B":14,"UD Digi Kyokasho NK-R":14,"UD Digi Kyokasho NP-B":19,"UD Digi Kyokasho NP-R":14,"UD Digi Kyokasho N-R":14,Univers:14,"Univers Condensed":14,"Univers Condensed Light":12,"Univers Light":14,"Urdu Typesetting":14,Utsaah:11,Vani:17,Verdana:17,"Verdana Pro":17,"Verdana Pro Black":14,"Verdana Pro Cond":14,"Verdana Pro Cond Black":14,"Verdana Pro Cond Light":14,"Verdana Pro Cond SemiBold":14,"Verdana Pro Light":14,"Verdana Pro SemiBold":14,Vijaya:14,"Viner Hand ITC":18,Vivaldi:12,"Vladimir Script":13,Vrinda:16,Webdings:27,"Wide Latin":33,Wingdings:36,"Wingdings 2":31,"Wingdings 3":24,"Yet R":14,"Yu Gothic":15,"Yu Gothic Light":14,"Yu Gothic Medium":15,"Yu Gothic UI":15,"Yu Gothic UI Light":14,"Yu Gothic UI Semibold":16,"Yu Gothic UI Semilight":15,"Yu Mincho":15,"Yu Mincho Demibold":14,"Yu Mincho Light":14,"\u4eff\u5b8b":14,"\u534e\u6587\u4e2d\u5b8b":17,"\u534e\u6587\u4eff\u5b8b":13,"\u534e\u6587\u5b8b\u4f53":13,"\u534e\u6587\u5f69\u4e91":15,"\u534e\u6587\u65b0\u9b4f":16,"\u534e\u6587\u6977\u4f53":13,"\u534e\u6587\u7425\u73c0":15,"\u534e\u6587\u7ec6\u9ed1":15,"\u534e\u6587\u884c\u6977":14,"\u534e\u6587\u96b6\u4e66":12,"\u5b8b\u4f53":14,"\u5e7c\u5706":14,"\u5fae\u8f6f\u96c5\u9ed1":16,"\u5fae\u8f6f\u96c5\u9ed1 Light":15,"\u65b0\u5b8b\u4f53":14,"\u65b9\u6b63\u59da\u4f53":14,"\u65b9\u6b63\u8212\u4f53":15,"\u6977\u4f53":14,"\u7b49\u7ebf":14,"\u7b49\u7ebf Light":14,"\u96b6\u4e66":14,"\u9ed1\u4f53":14,"\u6e38\u30b4\u30b7\u30c3\u30af":15,"\uff2d\uff33 \uff30\u660e\u671d":14,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':14,"\u30e1\u30a4\u30ea\u30aa":17,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":14,"HG\u660e\u671dB":14,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":14},22:{"Gill Sans MT":15,Abadi:18,"Abadi Extra Light":16,"Agency FB":11,Aharoni:12,Aldhabi:9,Algerian:17,"Ami R":12,"Angsana New":10,AngsanaUPC:10,Aparajita:12,"Arabic Typesetting":10,Arial:16,"Arial Black":19,"Arial Narrow":13,"Arial Nova":16,"Arial Nova Cond":15,"Arial Nova Cond Light":13,"Arial Nova Light":16,"Arial Rounded MT Bold":17,"Baskerville Old Face":14,Batang:17,BatangChe:15,"Bauhaus 93":16,"Bell MT":15,Bembo:14,"Berlin Sans FB":17,"Berlin Sans FB Demi":18,"Bernard MT Condensed":14,"Blackadder ITC":11,"Bodoni MT":14,"Bodoni MT Black":19,"Bodoni MT Condensed":10,"Bodoni MT Poster Compressed":9,"Book Antiqua":15,"Bookman Old Style":18,"Bookshelf Symbol 7":21,"Bradley Hand ITC":19,"Britannic Bold":18,Broadway:19,"Browallia New":11,BrowalliaUPC:11,"Brush Script MT":15,Calibri:15,"Calibri Light":15,"Californian FB":15,"Calisto MT":15,Cambria:16,"Cambria Math":16,Candara:16,Castellar:21,Centaur:14,Century:16,"Century Gothic":16,"Century Schoolbook":16,Chiller:14,"Colonna MT":15,"Comic Sans MS":18,Consolas:16,Constantia:16,"Cooper Black":17,"Copperplate Gothic Bold":21,"Copperplate Gothic Light":21,Corbel:15,"Cordia New":11,CordiaUPC:11,"Courier New":17,"Curlz MT":16,Dante:13,DaunPenh:10,David:13,DilleniaUPC:9,DokChampa:16,Dotum:17,DotumChe:15,Dubai:16,"Dubai Light":16,"Dubai Medium":16,Ebrima:16,"Edwardian Script ITC":14,Elephant:22,"Engravers MT":19,"Eras Bold ITC":19,"Eras Demi ITC":18,"Eras Light ITC":16,"Eras Medium ITC":17,EucrosiaUPC:12,Euphemia:17,"Expo M":25,FangSong:15,"Felix Titling":17,"Footlight MT Light":16,Forte:15,"Franklin Gothic Book":17,"Franklin Gothic Demi":17,"Franklin Gothic Demi Cond":15,"Franklin Gothic Heavy":17,"Franklin Gothic Medium":17,"Franklin Gothic Medium Cond":15,FrankRuehl:12,FreesiaUPC:13,"Freestyle Script":10,"French Script MT":11,Gabriola:12,Gadugi:16,Garamond:14,Gautami:17,Georgia:18,"Georgia Pro":16,"Georgia Pro Black":21,"Georgia Pro Cond":15,"Georgia Pro Cond Black":18,"Georgia Pro Cond Light":15,"Georgia Pro Cond Semibold":16,"Georgia Pro Light":16,"Georgia Pro Semibold":18,Gigi:14,"Gill Sans MT Condensed":11,"Gill Sans MT Ext Condensed Bold":10,"Gill Sans Nova":15,"Gill Sans Nova Cond":10,"Gill Sans Nova Cond Lt":9,"Gill Sans Nova Cond Ultra Bold":17,"Gill Sans Nova Cond XBd":15,"Gill Sans Nova Light":15,"Gill Sans Nova Ultra Bold":25,"Gill Sans Ultra Bold":25,"Gill Sans Ultra Bold Condensed":17,Gisha:16,"Gloucester MT Extra Condensed":11,"Goudy Old Style":15,"Goudy Stout":24,Grotesque:14,"Grotesque Light":14,Gulim:17,GulimChe:15,Gungsuh:17,GungsuhChe:15,"Hadassah Friedlaender":17,Haettenschweiler:13,"Harlow Solid Italic":14,Harrington:16,"Headline R":21,HGGothicE:15,HGGothicM:15,HGGyoshotai:15,HGKyokashotai:15,HGMaruGothicMPRO:22,HGMinchoB:16,HGMinchoE:16,HGPGothicE:17,HGPGothicM:18,HGPGyoshotai:15,HGPKyokashotai:14,HGPMinchoB:15,HGPMinchoE:16,HGPSoeiKakugothicUB:19,HGPSoeiKakupoptai:20,HGPSoeiPresenceEB:17,HGSeikaishotaiPRO:17,HGSGothicE:16,HGSGothicM:17,HGSGyoshotai:14,HGSKyokashotai:13,HGSMinchoB:15,HGSMinchoE:16,HGSoeiKakugothicUB:16,HGSoeiKakupoptai:16,HGSoeiPresenceEB:16,HGSSoeiKakugothicUB:18,HGSSoeiKakupoptai:19,HGSSoeiPresenceEB:16,"High Tower Text":14,"HYGothic-Extra":18,"HYGothic-Medium":17,"HYGraphic-Medium":17,"HYGungSo-Bold":17,"HYHeadLine-Medium":17,"HYMyeongJo-Extra":19,"HYPMokGak-Bold":21,"HYPost-Light":19,"HYPost-Medium":21,"HYShortSamul-Medium":11,"HYSinMyeongJo-Medium":18,Impact:16,"Imprint MT Shadow":15,"Informal Roman":16,"Ink Free":15,IrisUPC:15,"Iskoola Pota":15,JasmineUPC:13,"Javanese Text":17,Jokerman:21,"Juice ITC":11,KaiTi:15,Kalinga:16,Kartika:17,"Khmer UI":16,KodchiangUPC:10,Kokila:11,"Kristen ITC":17,"Kunstler Script":10,"Lao UI":16,Latha:15,Leelawadee:16,"Leelawadee UI":16,"Leelawadee UI Semilight":16,"Levenim MT":17,LilyUPC:13,"Lucida Bright":18,"Lucida Calligraphy":20,"Lucida Console":18,"Lucida Fax":19,"Lucida Handwriting":21,"Lucida Sans":19,"Lucida Sans Typewriter":17,"Lucida Sans Unicode":19,"Magic R":17,Magneto:22,"Maiandra GD":18,"Malgun Gothic":17,"Malgun Gothic Semilight":17,Mangal:17,Marlett:30,"Matura MT Script Capitals":20,Meiryo:20,"Meiryo UI":20,"Microsoft GothicNeo":16,"Microsoft Himalaya":11,"Microsoft JhengHei":17,"Microsoft JhengHei Light":18,"Microsoft JhengHei UI":17,"Microsoft JhengHei UI Light":18,"Microsoft New Tai Lue":17,"Microsoft PhagsPa":17,"Microsoft Sans Serif":17,"Microsoft Tai Le":17,"Microsoft Uighur":11,"Microsoft YaHei Light":18,"Microsoft YaHei UI":18,"Microsoft YaHei UI Light":18,"Microsoft Yi Baiti":16,MingLiU:16,MingLiU_HKSCS:16,"MingLiU_HKSCS-ExtB":16,"MingLiU-ExtB":16,Miriam:15,"Miriam Fixed":18,Mistral:14,"Modern No. 20":14,"MoeumT R":17,"Mongolian Baiti":16,"Monotype Corsiva":14,MoolBoran:11,"MS Gothic":15,"MS Mincho":16,"MS Outlook":16,"MS PGothic":16,"MS PMincho":16,"MS Reference Sans Serif":19,"MS Reference Specialty":36,"MS UI Gothic":16,"MT Extra":31,"MV Boli":21,"Myanmar Text":17,Narkisim:13,"Neue Haas Grotesk Text Pro":16,"New Gulim":18,"News Gothic MT":19,"Niagara Engraved":10,"Niagara Solid":10,"Nirmala UI":17,"Nirmala UI Semilight":17,Nyala:16,"OCR A Extended":19,OCRB:18,"Old English Text MT":16,Onyx:10,"Palace Script MT":10,"Palatino Linotype":15,Papyrus:18,Parchment:7,Perpetua:13,"Perpetua Titling MT":20,"Plantagenet Cherokee":16,Playbill:11,PMingLiU:15,"PMingLiU-ExtB":15,"Poor Richard":17,Pristina:15,"Pyunji R":15,Raavi:15,"Rage Italic":16,Ravie:29,Rockwell:16,"Rockwell Condensed":12,"Rockwell Extra Bold":20,"Rockwell Light":16,"Rockwell Nova":16,"Rockwell Nova Cond":16,"Rockwell Nova Cond Light":16,"Rockwell Nova Extra Bold":16,"Rockwell Nova Light":16,Rod:18,"Sakkal Majalla":12,"Sanskrit Text":18,"Script MT Bold":15,"Segoe MDL2 Assets":12,"Segoe Print":21,"Segoe Script":21,"Segoe UI":16,"Segoe UI Black":18,"Segoe UI Emoji":16,"Segoe UI Historic":16,"Segoe UI Light":15,"Segoe UI Semibold":17,"Segoe UI Semilight":16,"Segoe UI Symbol":16,Selawik:15,"Selawik Light":15,"Selawik Semibold":16,"Shonar Bangla":15,"Showcard Gothic":17,Shruti:17,"Simplified Arabic":15,"Simplified Arabic Fixed":17,"SimSun-ExtB":15,"Sitka Banner":15,"Sitka Display":15,"Sitka Heading":16,"Sitka Small":20,"Sitka Subheading":17,"Sitka Text":18,"Snap ITC":25,"Source Sans Pro":14,"Source Sans Pro Black":15,"Source Sans Pro ExtraLight":13,"Source Sans Pro Light":13,"Source Sans Pro SemiBold":14,Stencil:17,Sylfaen:15,Symbol:15,Tahoma:16,"Tempus Sans ITC":19,"TH SarabunPSK":11,"Times New Roman":15,"Traditional Arabic":14,"Trebuchet MS":15,Tunga:15,"Tw Cen MT":16,"Tw Cen MT Condensed":11,"Tw Cen MT Condensed Extra Bold":14,"UD Digi Kyokasho N-B":15,"UD Digi Kyokasho NK-B":15,"UD Digi Kyokasho NK-R":15,"UD Digi Kyokasho NP-B":21,"UD Digi Kyokasho NP-R":15,"UD Digi Kyokasho N-R":15,Univers:15,"Univers Condensed":15,"Univers Condensed Light":13,"Univers Light":15,"Urdu Typesetting":15,Utsaah:12,Vani:18,Verdana:18,"Verdana Pro":18,"Verdana Pro Black":15,"Verdana Pro Cond":15,"Verdana Pro Cond Black":15,"Verdana Pro Cond Light":15,"Verdana Pro Cond SemiBold":15,"Verdana Pro Light":15,"Verdana Pro SemiBold":15,Vijaya:12,"Viner Hand ITC":20,Vivaldi:12,"Vladimir Script":13,Vrinda:17,Webdings:29,"Wide Latin":36,Wingdings:39,"Wingdings 2":33,"Wingdings 3":26,"Yet R":16,"Yu Gothic":16,"Yu Gothic Light":16,"Yu Gothic Medium":16,"Yu Gothic UI":16,"Yu Gothic UI Light":15,"Yu Gothic UI Semibold":17,"Yu Gothic UI Semilight":16,"Yu Mincho":16,"Yu Mincho Demibold":15,"Yu Mincho Light":15,"\u4eff\u5b8b":15,"\u534e\u6587\u4e2d\u5b8b":18,"\u534e\u6587\u4eff\u5b8b":14,"\u534e\u6587\u5b8b\u4f53":14,"\u534e\u6587\u5f69\u4e91":16,"\u534e\u6587\u65b0\u9b4f":17,"\u534e\u6587\u6977\u4f53":14,"\u534e\u6587\u7425\u73c0":16,"\u534e\u6587\u7ec6\u9ed1":16,"\u534e\u6587\u884c\u6977":15,"\u534e\u6587\u96b6\u4e66":13,"\u5b8b\u4f53":15,"\u5e7c\u5706":15,"\u5fae\u8f6f\u96c5\u9ed1":17,"\u5fae\u8f6f\u96c5\u9ed1 Light":17,"\u65b0\u5b8b\u4f53":15,"\u65b9\u6b63\u59da\u4f53":15,"\u65b9\u6b63\u8212\u4f53":16,"\u6977\u4f53":15,"\u7b49\u7ebf":15,"\u7b49\u7ebf Light":15,"\u96b6\u4e66":15,"\u9ed1\u4f53":15,"\u6e38\u30b4\u30b7\u30c3\u30af":16,"\uff2d\uff33 \uff30\u660e\u671d":15,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':15,"\u30e1\u30a4\u30ea\u30aa":18,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":15,"HG\u660e\u671dB":15,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":15},24:{"Gill Sans MT":16,Abadi:19,"Abadi Extra Light":18,"Agency FB":14,Aharoni:13,Aldhabi:10,Algerian:19,"Ami R":13,"Angsana New":11,AngsanaUPC:11,Aparajita:13,"Arabic Typesetting":11,Arial:18,"Arial Black":21,"Arial Narrow":15,"Arial Nova":18,"Arial Nova Cond":16,"Arial Nova Cond Light":14,"Arial Nova Light":18,"Arial Rounded MT Bold":19,"Baskerville Old Face":16,Batang:19,BatangChe:16,"Bauhaus 93":18,"Bell MT":16,Bembo:16,"Berlin Sans FB":19,"Berlin Sans FB Demi":20,"Bernard MT Condensed":16,"Blackadder ITC":13,"Bodoni MT":16,"Bodoni MT Black":21,"Bodoni MT Condensed":11,"Bodoni MT Poster Compressed":9,"Book Antiqua":16,"Bookman Old Style":20,"Bookshelf Symbol 7":24,"Bradley Hand ITC":21,"Britannic Bold":20,Broadway:21,"Browallia New":12,BrowalliaUPC:12,"Brush Script MT":16,Calibri:16,"Calibri Light":16,"Californian FB":17,"Calisto MT":16,Cambria:18,"Cambria Math":18,Candara:18,Castellar:23,Centaur:16,Century:18,"Century Gothic":18,"Century Schoolbook":18,Chiller:15,"Colonna MT":16,"Comic Sans MS":20,Consolas:18,Constantia:17,"Cooper Black":19,"Copperplate Gothic Bold":23,"Copperplate Gothic Light":23,Corbel:17,"Cordia New":12,CordiaUPC:12,"Courier New":19,"Curlz MT":17,Dante:14,DaunPenh:11,David:14,DilleniaUPC:10,DokChampa:18,Dotum:19,DotumChe:16,Dubai:17,"Dubai Light":17,"Dubai Medium":17,Ebrima:17,"Edwardian Script ITC":15,Elephant:24,"Engravers MT":21,"Eras Bold ITC":21,"Eras Demi ITC":20,"Eras Light ITC":17,"Eras Medium ITC":18,EucrosiaUPC:13,Euphemia:19,"Expo M":28,FangSong:16,"Felix Titling":19,"Footlight MT Light":18,Forte:17,"Franklin Gothic Book":19,"Franklin Gothic Demi":19,"Franklin Gothic Demi Cond":16,"Franklin Gothic Heavy":19,"Franklin Gothic Medium":19,"Franklin Gothic Medium Cond":16,FrankRuehl:13,FreesiaUPC:14,"Freestyle Script":12,"French Script MT":12,Gabriola:13,Gadugi:17,Garamond:15,Gautami:19,Georgia:20,"Georgia Pro":18,"Georgia Pro Black":23,"Georgia Pro Cond":17,"Georgia Pro Cond Black":20,"Georgia Pro Cond Light":16,"Georgia Pro Cond Semibold":18,"Georgia Pro Light":18,"Georgia Pro Semibold":20,Gigi:17,"Gill Sans MT Condensed":12,"Gill Sans MT Ext Condensed Bold":11,"Gill Sans Nova":16,"Gill Sans Nova Cond":11,"Gill Sans Nova Cond Lt":10,"Gill Sans Nova Cond Ultra Bold":19,"Gill Sans Nova Cond XBd":17,"Gill Sans Nova Light":16,"Gill Sans Nova Ultra Bold":27,"Gill Sans Ultra Bold":27,"Gill Sans Ultra Bold Condensed":19,Gisha:17,"Gloucester MT Extra Condensed":12,"Goudy Old Style":16,"Goudy Stout":26,Grotesque:15,"Grotesque Light":15,Gulim:18,GulimChe:16,Gungsuh:19,GungsuhChe:16,"Hadassah Friedlaender":18,Haettenschweiler:14,"Harlow Solid Italic":15,Harrington:18,"Headline R":23,HGGothicE:16,HGGothicM:16,HGGyoshotai:16,HGKyokashotai:16,HGMaruGothicMPRO:24,HGMinchoB:17,HGMinchoE:17,HGPGothicE:18,HGPGothicM:20,HGPGyoshotai:16,HGPKyokashotai:16,HGPMinchoB:16,HGPMinchoE:18,HGPSoeiKakugothicUB:21,HGPSoeiKakupoptai:22,HGPSoeiPresenceEB:19,HGSeikaishotaiPRO:19,HGSGothicE:17,HGSGothicM:19,HGSGyoshotai:15,HGSKyokashotai:15,HGSMinchoB:16,HGSMinchoE:18,HGSoeiKakugothicUB:17,HGSoeiKakupoptai:17,HGSoeiPresenceEB:17,HGSSoeiKakugothicUB:20,HGSSoeiKakupoptai:21,HGSSoeiPresenceEB:18,"High Tower Text":15,"HYGothic-Extra":20,"HYGothic-Medium":19,"HYGraphic-Medium":19,"HYGungSo-Bold":19,"HYHeadLine-Medium":19,"HYMyeongJo-Extra":21,"HYPMokGak-Bold":23,"HYPost-Light":21,"HYPost-Medium":23,"HYShortSamul-Medium":12,"HYSinMyeongJo-Medium":20,Impact:17,"Imprint MT Shadow":16,"Informal Roman":17,"Ink Free":16,IrisUPC:16,"Iskoola Pota":16,JasmineUPC:15,"Javanese Text":19,Jokerman:23,"Juice ITC":11,KaiTi:16,Kalinga:18,Kartika:18,"Khmer UI":17,KodchiangUPC:11,Kokila:12,"Kristen ITC":19,"Kunstler Script":11,"Lao UI":17,Latha:16,Leelawadee:17,"Leelawadee UI":17,"Leelawadee UI Semilight":18,"Levenim MT":18,LilyUPC:14,"Lucida Bright":19,"Lucida Calligraphy":22,"Lucida Console":20,"Lucida Fax":21,"Lucida Handwriting":23,"Lucida Sans":21,"Lucida Sans Typewriter":19,"Lucida Sans Unicode":21,"Magic R":19,Magneto:25,"Maiandra GD":20,"Malgun Gothic":19,"Malgun Gothic Semilight":19,Mangal:18,Marlett:33,"Matura MT Script Capitals":22,Meiryo:22,"Meiryo UI":22,"Microsoft GothicNeo":17,"Microsoft Himalaya":12,"Microsoft JhengHei":19,"Microsoft JhengHei Light":19,"Microsoft JhengHei UI":19,"Microsoft JhengHei UI Light":19,"Microsoft New Tai Lue":18,"Microsoft PhagsPa":18,"Microsoft Sans Serif":19,"Microsoft Tai Le":18,"Microsoft Uighur":12,"Microsoft YaHei Light":19,"Microsoft YaHei UI":20,"Microsoft YaHei UI Light":19,"Microsoft Yi Baiti":17,MingLiU:17,MingLiU_HKSCS:17,"MingLiU_HKSCS-ExtB":17,"MingLiU-ExtB":17,Miriam:16,"Miriam Fixed":20,Mistral:15,"Modern No. 20":16,"MoeumT R":19,"Mongolian Baiti":17,"Monotype Corsiva":15,MoolBoran:12,"MS Gothic":16,"MS Mincho":17,"MS Outlook":17,"MS PGothic":17,"MS PMincho":17,"MS Reference Sans Serif":21,"MS Reference Specialty":39,"MS UI Gothic":17,"MT Extra":34,"MV Boli":23,"Myanmar Text":18,Narkisim:14,"Neue Haas Grotesk Text Pro":17,"New Gulim":19,"News Gothic MT":21,"Niagara Engraved":11,"Niagara Solid":11,"Nirmala UI":18,"Nirmala UI Semilight":19,Nyala:17,"OCR A Extended":20,OCRB:20,"Old English Text MT":17,Onyx:10,"Palace Script MT":11,"Palatino Linotype":16,Papyrus:20,Parchment:8,Perpetua:15,"Perpetua Titling MT":22,"Plantagenet Cherokee":18,Playbill:12,PMingLiU:16,"PMingLiU-ExtB":16,"Poor Richard":19,Pristina:16,"Pyunji R":17,Raavi:16,"Rage Italic":18,Ravie:31,Rockwell:17,"Rockwell Condensed":14,"Rockwell Extra Bold":22,"Rockwell Light":18,"Rockwell Nova":17,"Rockwell Nova Cond":17,"Rockwell Nova Cond Light":17,"Rockwell Nova Extra Bold":17,"Rockwell Nova Light":17,Rod:20,"Sakkal Majalla":13,"Sanskrit Text":19,"Script MT Bold":17,"Segoe MDL2 Assets":13,"Segoe Print":23,"Segoe Script":23,"Segoe UI":17,"Segoe UI Black":20,"Segoe UI Emoji":17,"Segoe UI Historic":17,"Segoe UI Light":16,"Segoe UI Semibold":18,"Segoe UI Semilight":17,"Segoe UI Symbol":17,Selawik:17,"Selawik Light":17,"Selawik Semibold":18,"Shonar Bangla":13,"Showcard Gothic":19,Shruti:19,"Simplified Arabic":17,"Simplified Arabic Fixed":19,"SimSun-ExtB":16,"Sitka Banner":16,"Sitka Display":17,"Sitka Heading":18,"Sitka Small":22,"Sitka Subheading":19,"Sitka Text":20,"Snap ITC":28,"Source Sans Pro":15,"Source Sans Pro Black":17,"Source Sans Pro ExtraLight":15,"Source Sans Pro Light":15,"Source Sans Pro SemiBold":16,Stencil:18,Sylfaen:16,Symbol:16,Tahoma:17,"Tempus Sans ITC":21,"TH SarabunPSK":12,"Times New Roman":16,"Traditional Arabic":16,"Trebuchet MS":17,Tunga:17,"Tw Cen MT":18,"Tw Cen MT Condensed":12,"Tw Cen MT Condensed Extra Bold":16,"UD Digi Kyokasho N-B":16,"UD Digi Kyokasho NK-B":16,"UD Digi Kyokasho NK-R":16,"UD Digi Kyokasho NP-B":23,"UD Digi Kyokasho NP-R":16,"UD Digi Kyokasho N-R":16,Univers:16,"Univers Condensed":16,"Univers Condensed Light":14,"Univers Light":16,"Urdu Typesetting":16,Utsaah:13,Vani:20,Verdana:20,"Verdana Pro":20,"Verdana Pro Black":16,"Verdana Pro Cond":16,"Verdana Pro Cond Black":16,"Verdana Pro Cond Light":16,"Verdana Pro Cond SemiBold":16,"Verdana Pro Light":16,"Verdana Pro SemiBold":16,Vijaya:13,"Viner Hand ITC":22,Vivaldi:14,"Vladimir Script":15,Vrinda:18,Webdings:32,"Wide Latin":40,Wingdings:43,"Wingdings 2":36,"Wingdings 3":29,"Yet R":17,"Yu Gothic":18,"Yu Gothic Light":17,"Yu Gothic Medium":18,"Yu Gothic UI":17,"Yu Gothic UI Light":17,"Yu Gothic UI Semibold":18,"Yu Gothic UI Semilight":18,"Yu Mincho":17,"Yu Mincho Demibold":17,"Yu Mincho Light":16,"\u4eff\u5b8b":16,"\u534e\u6587\u4e2d\u5b8b":20,"\u534e\u6587\u4eff\u5b8b":15,"\u534e\u6587\u5b8b\u4f53":15,"\u534e\u6587\u5f69\u4e91":18,"\u534e\u6587\u65b0\u9b4f":19,"\u534e\u6587\u6977\u4f53":15,"\u534e\u6587\u7425\u73c0":18,"\u534e\u6587\u7ec6\u9ed1":18,"\u534e\u6587\u884c\u6977":16,"\u534e\u6587\u96b6\u4e66":14,"\u5b8b\u4f53":16,"\u5e7c\u5706":16,"\u5fae\u8f6f\u96c5\u9ed1":19,"\u5fae\u8f6f\u96c5\u9ed1 Light":18,"\u65b0\u5b8b\u4f53":16,"\u65b9\u6b63\u59da\u4f53":16,"\u65b9\u6b63\u8212\u4f53":18,"\u6977\u4f53":16,"\u7b49\u7ebf":17,"\u7b49\u7ebf Light":16,"\u96b6\u4e66":16,"\u9ed1\u4f53":16,"\u6e38\u30b4\u30b7\u30c3\u30af":18,"\uff2d\uff33 \uff30\u660e\u671d":16,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':16,"\u30e1\u30a4\u30ea\u30aa":20,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":16,"HG\u660e\u671dB":16,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":16}},t.unknownFontMaxDigitWidthMap={},o="http://schemas.openxmlformats.org/spreadsheetml/2006/main",t.XFileConstants={Bb:"_rels",Cb:"/xl",Db:"[Content_Types].xml",Eb:"bin",Fb:"application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings",Gb:"rels",Hb:"application/vnd.openxmlformats-package.relationships+xml",Ib:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",Jb:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",Kb:"application/vnd.openxmlformats-officedocument.theme+xml",Lb:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",Mb:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",Ob:"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml",Pb:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml",Qb:"application/vnd.openxmlformats-officedocument.drawing+xml",Rb:"application/vnd.openxmlformats-officedocument.drawingml.chart+xml",Sb:"application/vnd.ms-office.chartex+xml",Tb:"application/vnd.ms-office.chartstyle+xml",Ub:"application/vnd.ms-office.chartcolorstyle+xml",Vb:"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml",Wb:"application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml",Xb:"application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml",Yb:"application/vnd.ms-office.drawingml.diagramDrawing+xml",Zb:"application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml",$b:"application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml",_b:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",ac:"application/vnd.ms-excel.threadedcomments+xml",bc:"application/vnd.ms-excel.person+xml",cc:"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml",dc:"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml",ec:"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml",fc:"application/vnd.ms-excel.slicer+xml",gc:"application/vnd.ms-excel.slicerCache+xml",hc:"application/vnd.ms-excel.timeline+xml",ic:"application/vnd.ms-excel.timelineCache+xml",jc:"application/vnd.ms-office.vbaProject",kc:"application/vnd.openxmlformats-officedocument.vmlDrawing",lc:"application/vnd.ms-excel.controlproperties+xml",nc:"xml",oc:"vml",pc:"application/xml",qc:"jpg",sc:"image/jpg",tc:"tiff",uc:"image/tiff",vc:"jpeg",wc:"image/jpeg",xc:"svg",yc:"image/svg+xml",zc:"png",Ac:"image/png",Bc:"bmp",Cc:"image/bmp",Dc:"gif",Ec:"image/gif",Fc:"emf",Gc:"image/x-emf",Hc:"wmf",Ic:"image/x-wmf",Jc:"drawings",Kc:"vmlDrawing",Lc:"/xl/charts",Mc:"/xl/drawings",Nc:"/xl/persons",Oc:"/xl/media",Pc:"/xl/ctrlProps",Qc:"/xl/threadedComments",Rc:"/xl/worksheets",Sc:"/xl/tables",Tc:"/xl/slicers",Uc:"/xl/timelines",Vc:"/xl/externalLinks",Wc:"/xl/slicerCaches",Xc:"/xl/timelineCaches",Yc:"/xl/pivotCache",Zc:"/xl/pivotTables",$c:"sheet",_c:"externalLink",ad:"comments",bd:"chart",dd:"chartEx",ed:"style",fd:"person",hd:"colors",jd:"drawing",kd:"threadedComment",ld:"image",md:"ctrlProp",od:"table",pd:"slicer",qd:"timeline",rd:"slicerCache",sd:"timelineCache",td:"pivotCacheDefinition",ud:"pivotCacheRecords",vd:"pivotTable",wd:"/xl/sharedStrings.xml",xd:"/xl/theme/theme1.xml",yd:"/xl/worksheets",zd:"/xl/workbook.xml",Ad:"/docProps/core.xml",Bd:"/docProps/app.xml",Cd:"/docProps/custom.xml",Dd:"/xl/styles.xml",Ed:"/xl/theme/theme1.xml",Fd:"metadata.xml",Gd:"/xl/_rels/workbook.xml.rels",Hd:o,Jd:"http://schemas.openxmlformats.org/markup-compatibility/2006",Kd:"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing",Ld:"http://schemas.openxmlformats.org/drawingml/2006/main",Md:o,Nd:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac",Od:"x14ac",Pd:"x14ac xr xr2 xr3",Qd:"xr",Rd:"http://schemas.microsoft.com/office/spreadsheetml/2014/revision",Sd:"http://schemas.microsoft.com/office/spreadsheetml/2015/revision2",Td:"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3",Ud:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",Vd:"http://schemas.openxmlformats.org/package/2006/content-types",Wd:"http://schemas.openxmlformats.org/package/2006/relationships",Xd:"http://schemas.openxmlformats.org/drawingml/2006/main",Yd:"http://schemas.microsoft.com/office/drawing/2010/main",Zd:"http://schemas.microsoft.com/office/drawing/2016/SVG/main",$d:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main",_d:"http://schemas.microsoft.com/office/excel/2006/main",ae:"http://schemas.openxmlformats.org/markup-compatibility/2006",be:o,ce:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main",de:"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main",ee:"http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures",fe:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",ge:"http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray",he:"http://schemas.microsoft.com/office/spreadsheetml/2017/richdata",ie:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",je:o,ke:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",le:o,me:"http://schemas.microsoft.com/office/spreadsheetml/2014/revision",ne:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",oe:"http://purl.org/dc/elements/1.1/",pe:"http://purl.org/dc/terms/",qe:"http://purl.org/dc/dcmitype/",re:"http://www.w3.org/2001/XMLSchema-instance",se:"application/vnd.openxmlformats-package.core-properties+xml",te:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",ue:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",ve:"application/vnd.openxmlformats-officedocument.extended-properties+xml",we:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",xe:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",ye:"application/vnd.openxmlformats-officedocument.custom-properties+xml"},function(e){e[e.latin=0]="latin",e[e.cs=1]="cs",e[e.ea=2]="ea",e[e.sym=3]="sym"}(l=t.FontLanguage||(t.FontLanguage={})),s=function(){function e(e,t){this.row=e,this.col=t}return e}(),t.ExcelCell=s,c=function(){function e(e){this.index=e}return e}(),t.ExcelColumn=c,u=function(){function e(e){this.index=e}return e}(),t.ExcelRow=u,d=function(){function e(e,t,r){this.name=e,this.colorScheme=t,this.fontScheme=r}return e}(),t.ExcelTheme=d,f=function(){function e(e,t){this.name=e,this.schemeColors=t}return e}(),t.ColorScheme=f,p=function(){function e(e,t,r){this.name=e,this.majorFont=t,this.minorFont=r}return e}(),t.FontScheme=p,h=function(){function e(e,t){this.script=e,this.typeface=t}return e}(),t.ThemeFont=h,m=function(){function e(e,t){this.runFormattings=e,this.themesFonts=t}return e}(),t.ThemeFonts=m,g=function(){function e(e,t){this.fontLanguage=e,this.typeface=t}return e}(),t.RunFormatting=g,b=function(){function e(){}return e}(),t.SheetInfo=b,w=function(){function e(){}return e}(),t.DefaultContentType=w,C=function(){function e(){}return e}(),t.OverrideContentType=C,S=function(){function e(){}return e}(),y=function(){function e(e,t){this.fileName=e,this.fileType=t,this.relationFiles={count:0}}return e.prototype.ze=function(e){if(!e)return"";this.relationFiles.count++;var r=t.RelationshipConstants.Ja+this.relationFiles.count;return this.relationFiles[r]=e,r},e.prototype.Ae=function(r){var n,a,o,l,s,c,u,d,f;if(r&&(n=this.Be(this.fileName,r)))for(a=0,o=n.length;a<o;a++)l=n[a],s=l.target,c="hyperlink",u=l.type.substring(l.type.length-c.length,l.type.length)===c,d=l.type===t.RelationshipConstants.rb,u||d||i.isNullOrUndefined(s)||""===s||(s="/"!==s[0]?i.Util.qa(this.fileName,s):s.substr(1)),f=new e(s,l.type),f.targetMode=l.targetMode,f.Ae(r),this.relationFiles[l.id]||this.relationFiles.count++,this.relationFiles[l.id]=f},e.prototype.Be=function(e,t){if(null===e||!t)return null;var r=this.Ce(e);return r?this.De(t[r.toLowerCase()]):null},e.prototype.Ce=function(e){return null===e||void 0===e?"":0===e.length?t.XFileConstants.Bb+"/."+t.XFileConstants.Gb:e.substring("/"===e.charAt(0)?1:0,e.lastIndexOf("/"))+"/"+t.XFileConstants.Bb+"/"+e.substring(e.lastIndexOf("/")+1)+"."+t.XFileConstants.Gb},e.prototype.Ee=function(e){var t,r;if(!this.relationFiles||0===this.relationFiles.count)return null;if(i.StringEx.L(e))return null;for(t in this.relationFiles)if("count"!==t&&(r=this.relationFiles[t],r.fileType===e))return r;return null},e.prototype.Fe=function(e){var t,r,n;if(!this.relationFiles||0===this.relationFiles.count)return null;if(i.StringEx.L(e))return null;t=[];for(r in this.relationFiles)"count"!==r&&(n=this.relationFiles[r],n.fileType===e&&t.push({id:r,file:n}));return t},e.prototype.Ge=function(e){return!this.relationFiles||0===this.relationFiles.count||i.StringEx.O(e)?null:this.relationFiles[e]},e.prototype.De=function(e){var t,r,i,a,o,l,s,c;if(e){if(t=[],r=n.parseXmlToObject(e),i=r.Relationships)for(a=i.Relationship,Array.isArray(a)||(a=[a]),o=0,l=a.length;o<l;o++)s=a[o],s&&(c=new S,s._attr.Id&&(c.id=s._attr.Id),s._attr.Target&&(c.target=s._attr.Target),s._attr.Type&&(c.type=s._attr.Type),s._attr.TargetMode&&(c.targetMode=s._attr.TargetMode),t.push(c));return t}},e}(),t.XFile=y,t.PivotSharedItemType={B:"b",D:"d",E:"e",M:"m",N:"n",S:"s",X:"x"}},"./src/common/range-parser.ts":function(e,t,r){"use strict";var i,n;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/common/excel-types.ts");function a(e,t){var r,i=[];return null===e?i:(r=e.replace(/('.+')/g,"").split(" "),r.forEach(function(e){var r=o(e,t);!r||r.row>n.ExcelConstants.wb||r.col>n.ExcelConstants.vb||r.rowCount>n.ExcelConstants.wb||r.col>n.ExcelConstants.vb||i.push(r)}),i)}t.getRangesFromString=a;function o(e,t){var r,a,o,l,s,c,u,d={},f=e.indexOf("!");if(f>-1&&(e=e.substr(f+1)),r=e.split("$").join(""),r=r.split(":"),1===r.length){if(c=r[0],a=i.IndexHelper.P(c),o=i.IndexHelper.R(c),a===-1&&o===-1)return null;d.row=a,d.col=o,d.rowCount=1,d.colCount=1}else 2===r.length&&(c=r[0],u=r[1],a=i.IndexHelper.P(c),o=i.IndexHelper.R(c),l=i.IndexHelper.P(u),s=i.IndexHelper.R(u),d.row=a,d.col=o,d.rowCount=l-a+1,d.colCount=s-o+1,t||0!==a||d.rowCount!==n.ExcelConstants.wb||(d.row=-1,d.rowCount=-1),t||0!==o||d.colCount!==n.ExcelConstants.vb||(d.col=-1,d.colCount=-1));return d}function l(e){var t,r,a,o,l,s,c,u=[];for(t=0;t<e.length;t++)r=e[t],i.isRangeWholeRow(r)&&(r.col=0,r.colCount=n.ExcelConstants.vb),i.isRangeWholeColumn(r)&&(r.row=0,r.rowCount=n.ExcelConstants.wb),a=r.row,o=r.row+r.rowCount-1,l=r.col,s=r.col+r.colCount-1,c=i.IndexHelper.T(l)+(a+1),(r.rowCount>1||r.colCount>1)&&(c+=":"+i.IndexHelper.T(s)+(o+1)),u.push(c);return u.join(" ")}t.getRangeString=l},"./src/common/tuple.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){var e,t,r,i=[];for(e=0;e<arguments.length;e++)i[e]=arguments[e];for(this.equals=function(e,t){var r,i,n,a;for(r=1,i=this.count;r<=i;r++)if(n=this["item"+r],a=e["item"+r],!(n&&a&&n.equals&&n.equals(a,t)||n===a))return!1;return!0},t=i.length,r=1;r<=t;r++)this["item"+r]=i[r-1];this.count=t}return e}();t.Tuple=i},"./src/datamodel/chart-model.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k,E,I,F,P,D,R,L,_,N,B,M,O,G,H,U,J,W,V,z,j,X,K,q,Y,Q,Z,$,ee,te,re,ie,ne,ae,oe,le,se,ce,ue,de,fe,pe,he,me,ge,be,we,Ce,Se,ye,ve,xe,Te,Ae,ke,Ee,Ie,Fe,Pe,De,Re,Le,_e,Ne,Be,Me,Oe,Ge,He,Ue;Object.defineProperty(t,"__esModule",{value:!0}),i=void 0;function Je(e){for(var t in e)e[t]!==i&&(e[e[t]]=t)}t.Charts={},n={major:0,minor:1,none:2},Je(n),t.Charts.ST_FontCollectionIndex=n,a={dk1:0,lt1:1,dk2:2,lt2:3,accent1:4,accent2:5,accent3:6,accent4:7,accent5:8,accent6:9,hlink:10,folHlink:11},Je(a),t.Charts.ST_ColorSchemeIndex=a,o={scrollBar:0,background:1,activeCaption:2,inactiveCaption:3,menu:4,window:5,windowFrame:6,menuText:7,windowText:8,captionText:9,activeBorder:10,inactiveBorder:11,appWorkspace:12,highlight:13,highlightText:14,btnFace:15,btnShadow:16,grayText:17,btnText:18,inactiveCaptionText:19,btnHighlight:20,Item3dDkShadow:21,Item3dLight:22,infoText:23,infoBk:24,hotLight:25,gradientActiveCaption:26,gradientInactiveCaption:27,menuHighlight:28,menuBar:29},Je(o),t.Charts.ST_SystemColorVal=o,l={bg1:0,tx1:1,bg2:2,tx2:3,accent1:4,accent2:5,accent3:6,accent4:7,accent5:8,accent6:9,hlink:10,folHlink:11,phClr:12,dk1:13,lt1:14,dk2:15,lt2:16},Je(l),t.Charts.ST_SchemeColorVal=l,s={aliceBlue:0,antiqueWhite:1,aqua:2,aquamarine:3,azure:4,beige:5,bisque:6,black:7,blanchedAlmond:8,blue:9,blueViolet:10,brown:11,burlyWood:12,cadetBlue:13,chartreuse:14,chocolate:15,coral:16,cornflowerBlue:17,cornsilk:18,crimson:19,cyan:20,darkBlue:21,darkCyan:22,darkGoldenrod:23,darkGray:24,darkGreen:25,darkGrey:26,darkKhaki:27,darkMagenta:28,darkOliveGreen:29,darkOrange:30,darkOrchid:31,darkRed:32,darkSalmon:33,darkSeaGreen:34,darkSlateBlue:35,darkSlateGray:36,darkSlateGrey:37,darkTurquoise:38,darkViolet:39,deepPink:40,deepSkyBlue:41,dimGray:42,dimGrey:43,dkBlue:44,dkCyan:45,dkGoldenrod:46,dkGray:47,dkGreen:48,dkGrey:49,dkKhaki:50,dkMagenta:51,dkOliveGreen:52,dkOrange:53,dkOrchid:54,dkRed:55,dkSalmon:56,dkSeaGreen:57,dkSlateBlue:58,dkSlateGray:59,dkSlateGrey:60,dkTurquoise:61,dkViolet:62,dodgerBlue:63,firebrick:64,floralWhite:65,forestGreen:66,fuchsia:67,gainsboro:68,ghostWhite:69,gold:70,goldenrod:71,gray:72,green:73,greenYellow:74,grey:75,honeydew:76,hotPink:77,indianRed:78,indigo:79,ivory:80,khaki:81,lavender:82,lavenderBlush:83,lawnGreen:84,lemonChiffon:85,lightBlue:86,lightCoral:87,lightCyan:88,lightGoldenrodYellow:89,lightGray:90,lightGreen:91,lightGrey:92,lightPink:93,lightSalmon:94,lightSeaGreen:95,lightSkyBlue:96,lightSlateGray:97,lightSlateGrey:98,lightSteelBlue:99,lightYellow:100,lime:101,
17
+ limeGreen:102,linen:103,ltBlue:104,ltCoral:105,ltCyan:106,ltGoldenrodYellow:107,ltGray:108,ltGreen:109,ltGrey:110,ltPink:111,ltSalmon:112,ltSeaGreen:113,ltSkyBlue:114,ltSlateGray:115,ltSlateGrey:116,ltSteelBlue:117,ltYellow:118,magenta:119,maroon:120,medAquamarine:121,medBlue:122,mediumAquamarine:123,mediumBlue:124,mediumOrchid:125,mediumPurple:126,mediumSeaGreen:127,mediumSlateBlue:128,mediumSpringGreen:129,mediumTurquoise:130,mediumVioletRed:131,medOrchid:132,medPurple:133,medSeaGreen:134,medSlateBlue:135,medSpringGreen:136,medTurquoise:137,medVioletRed:138,midnightBlue:139,mintCream:140,mistyRose:141,moccasin:142,navajoWhite:143,navy:144,oldLace:145,olive:146,oliveDrab:147,orange:148,orangeRed:149,orchid:150,paleGoldenrod:151,paleGreen:152,paleTurquoise:153,paleVioletRed:154,papayaWhip:155,peachPuff:156,peru:157,pink:158,plum:159,powderBlue:160,purple:161,red:162,rosyBrown:163,royalBlue:164,saddleBrown:165,salmon:166,sandyBrown:167,seaGreen:168,seaShell:169,sienna:170,silver:171,skyBlue:172,slateBlue:173,slateGray:174,slateGrey:175,snow:176,springGreen:177,steelBlue:178,tan:179,teal:180,thistle:181,tomato:182,turquoise:183,violet:184,wheat:185,white:186,whiteSmoke:187,yellow:188,yellowGreen:189},Je(s),t.Charts.ST_PresetColorVal=s,c={tl:0,t:1,tr:2,l:3,ctr:4,r:5,bl:6,b:7,br:8},Je(c),t.Charts.ST_RectAlignment=c,u={clr:0,auto:1,gray:2,ltGray:3,invGray:4,grayWhite:5,blackGray:6,blackWhite:7,black:8,white:9,hidden:10},Je(u),t.Charts.ST_BlackWhiteMode=u,d={inner:0,outer:1},Je(d),t.Charts.ST_LayoutTarget=d,f={edge:0,factor:1},Je(f),t.Charts.ST_LayoutMode=f,p={area:0,w:1},Je(p),t.Charts.ST_SizeRepresents=p,h={auto:0,cust:1,percent:2,pos:3,val:4},Je(h),t.Charts.ST_SplitType=h,m={ctr:0,l:1,r:2},Je(m),t.Charts.ST_LblAlgn=m,g={bestFit:0,b:1,ctr:2,inBase:3,inEnd:4,l:5,outEnd:6,r:7,t:8},Je(g),t.Charts.ST_DLblPos=g,b={circle:0,dash:1,diamond:2,dot:3,none:4,picture:5,plus:6,square:7,star:8,triangle:9,x:10},Je(b),t.Charts.ST_MarkerStyle=b,w={exp:0,linear:1,log:2,movingAvg:3,poly:4,power:5},Je(w),t.Charts.ST_TrendlineType=w,C={x:0,y:1},Je(C),t.Charts.ST_ErrDir=C,S={both:0,minus:1,plus:2},Je(S),t.Charts.ST_ErrBarType=S,y={cust:0,fixedVal:1,percentage:2,stdDev:3,stdErr:4},Je(y),t.Charts.ST_ErrValType=y,v={percentStacked:0,standard:1,stacked:2},Je(v),t.Charts.ST_Grouping=v,x={none:0,line:1,lineMarker:2,marker:3,smooth:4,smoothMarker:5},Je(x),t.Charts.ST_ScatterStyle=x,T={standard:0,marker:1,filled:2},Je(T),t.Charts.ST_RadarStyle=T,A={percentStacked:0,clustered:1,standard:2,stacked:3},Je(A),t.Charts.ST_BarGrouping=A,k={bar:0,col:1},Je(k),t.Charts.ST_BarDir=k,E={cone:0,coneToMax:1,box:2,cylinder:3,pyramid:4,pyramidToMax:5},Je(E),t.Charts.ST_Shape=E,I={pie:0,bar:1},Je(I),t.Charts.ST_OfPieType=I,F={b:0,l:1,r:2,t:3},Je(F),t.Charts.ST_AxPos=F,P={autoZero:0,max:1,min:2},Je(P),t.Charts.ST_Crosses=P,D={between:0,midCat:1},Je(D),t.Charts.ST_CrossBetween=D,R={cross:0,in:1,none:2,out:3},Je(R),t.Charts.ST_TickMark=R,L={high:0,low:1,nextTo:2,none:3},Je(L),t.Charts.ST_TickLblPos=L,_={days:0,months:1,years:2},Je(_),t.Charts.ST_TimeUnit=_,N={hundreds:0,thousands:1,tenThousands:2,hundredThousands:3,millions:4,tenMillions:5,hundredMillions:6,billions:7,trillions:8},Je(N),t.Charts.ST_BuiltInUnit=N,B={stretch:0,stack:1,stackScale:2},Je(B),t.Charts.ST_PictureFormat=B,M={maxMin:0,minMax:1},Je(M),t.Charts.ST_Orientation=M,O={b:0,tr:1,l:2,r:3,t:4},Je(O),t.Charts.ST_LegendPos=O,G={span:0,gap:1,zero:2},Je(G),t.Charts.ST_DispBlanksAs=G,H={default:0,portrait:1,landscape:2},Je(H),t.Charts.ST_PageSetupOrientation=H,U={legacyObliqueTopLeft:0,legacyObliqueTop:1,legacyObliqueTopRight:2,legacyObliqueLeft:3,legacyObliqueFront:4,legacyObliqueRight:5,legacyObliqueBottomLeft:6,legacyObliqueBottom:7,legacyObliqueBottomRight:8,legacyPerspectiveTopLeft:9,legacyPerspectiveTop:10,legacyPerspectiveTopRight:11,legacyPerspectiveLeft:12,legacyPerspectiveFront:13,legacyPerspectiveRight:14,legacyPerspectiveBottomLeft:15,legacyPerspectiveBottom:16,legacyPerspectiveBottomRight:17,orthographicFront:18,isometricTopUp:19,isometricTopDown:20,isometricBottomUp:21,isometricBottomDown:22,isometricLeftUp:23,isometricLeftDown:24,isometricRightUp:25,isometricRightDown:26,isometricOffAxis1Left:27,isometricOffAxis1Right:28,isometricOffAxis1Top:29,isometricOffAxis2Left:30,isometricOffAxis2Right:31,isometricOffAxis2Top:32,isometricOffAxis3Left:33,isometricOffAxis3Right:34,isometricOffAxis3Bottom:35,isometricOffAxis4Left:36,isometricOffAxis4Right:37,isometricOffAxis4Bottom:38,obliqueTopLeft:39,obliqueTop:40,obliqueTopRight:41,obliqueLeft:42,obliqueRight:43,obliqueBottomLeft:44,obliqueBottom:45,obliqueBottomRight:46,perspectiveFront:47,perspectiveLeft:48,perspectiveRight:49,perspectiveAbove:50,perspectiveBelow:51,perspectiveAboveLeftFacing:52,perspectiveAboveRightFacing:53,perspectiveContrastingLeftFacing:54,perspectiveContrastingRightFacing:55,perspectiveHeroicLeftFacing:56,perspectiveHeroicRightFacing:57,perspectiveHeroicExtremeLeftFacing:58,perspectiveHeroicExtremeRightFacing:59,perspectiveRelaxed:60,perspectiveRelaxedModerately:61},Je(U),t.Charts.ST_PresetCameraType=U,J={tl:0,t:1,tr:2,l:3,r:4,bl:5,b:6,br:7},Je(J),t.Charts.ST_LightRigDirection=J,W={legacyFlat1:0,legacyFlat2:1,legacyFlat3:2,legacyFlat4:3,legacyNormal1:4,legacyNormal2:5,legacyNormal3:6,legacyNormal4:7,legacyHarsh1:8,legacyHarsh2:9,legacyHarsh3:10,legacyHarsh4:11,threePt:12,balanced:13,soft:14,harsh:15,flood:16,contrasting:17,morning:18,sunrise:19,sunset:20,chilly:21,freezing:22,flat:23,twoPt:24,glow:25,brightRoom:26},Je(W),t.Charts.ST_LightRigType=W,V={relaxedInset:0,circle:1,slope:2,cross:3,angle:4,softRound:5,convex:6,coolSlant:7,divot:8,riblet:9,hardEdge:10,artDeco:11},Je(V),t.Charts.ST_BevelPresetType=V,z={legacyMatte:0,legacyPlastic:1,legacyMetal:2,legacyWireframe:3,matte:4,plastic:5,metal:6,warmMatte:7,translucentPowder:8,powder:9,dkEdge:10,softEdge:11,clear:12,flat:13,softmetal:14},Je(z),t.Charts.ST_PresetMaterialType=z,j={shdw1:0,shdw2:1,shdw3:2,shdw4:3,shdw5:4,shdw6:5,shdw7:6,shdw8:7,shdw9:8,shdw10:9,shdw11:10,shdw12:11,shdw13:12,shdw14:13,shdw15:14,shdw16:15,shdw17:16,shdw18:17,shdw19:18,shdw20:19},Je(j),t.Charts.ST_PresetShadowVal=j,X={shape:0,circle:1,rect:2},Je(X),t.Charts.ST_PathShadeType=X,K={none:0,x:1,y:2,xy:3},Je(K),t.Charts.ST_TileFlipMode=K,q={email:0,screen:1,print:2,hqprint:3,none:4},Je(q),t.Charts.ST_BlipCompression=q,Y={pct5:0,pct10:1,pct20:2,pct25:3,pct30:4,pct40:5,pct50:6,pct60:7,pct70:8,pct75:9,pct80:10,pct90:11,horz:12,vert:13,ltHorz:14,ltVert:15,dkHorz:16,dkVert:17,narHorz:18,narVert:19,dashHorz:20,dashVert:21,cross:22,dnDiag:23,upDiag:24,ltDnDiag:25,ltUpDiag:26,dkDnDiag:27,dkUpDiag:28,wdDnDiag:29,wdUpDiag:30,dashDnDiag:31,dashUpDiag:32,diagCross:33,smCheck:34,lgCheck:35,smGrid:36,lgGrid:37,dotGrid:38,smConfetti:39,lgConfetti:40,horzBrick:41,diagBrick:42,solidDmnd:43,openDmnd:44,dotDmnd:45,plaid:46,sphere:47,weave:48,divot:49,shingle:50,wave:51,trellis:52,zigZag:53},Je(Y),t.Charts.ST_PresetPatternVal=Y,Q={png:0,jpg:1,jpeg:2,emf:3},Je(Q),t.Charts.ST_BobType=Q,Z={over:0,mult:1,screen:2,darken:3,lighten:4},Je(Z),t.Charts.ST_BlendMode=Z,$={sib:0,tree:1},Je($),t.Charts.ST_EffectContainerType=$,t.Charts.ST_PathToType={PathLine:0,PathMove:1,PathQuadBez:2,PathCubicBez:3},ee={line:0,lineInv:1,triangle:2,rtTriangle:3,rect:4,diamond:5,parallelogram:6,trapezoid:7,nonIsoscelesTrapezoid:8,pentagon:9,hexagon:10,heptagon:11,octagon:12,decagon:13,dodecagon:14,star4:15,star5:16,star6:17,star7:18,star8:19,star10:20,star12:21,star16:22,star24:23,star32:24,roundRect:25,round1Rect:26,round2SameRect:27,round2DiagRect:28,snipRoundRect:29,snip1Rect:30,snip2SameRect:31,snip2DiagRect:32,plaque:33,ellipse:34,teardrop:35,homePlate:36,chevron:37,pieWedge:38,pie:39,blockArc:40,donut:41,noSmoking:42,rightArrow:43,leftArrow:44,upArrow:45,downArrow:46,stripedRightArrow:47,notchedRightArrow:48,bentUpArrow:49,leftRightArrow:50,upDownArrow:51,leftUpArrow:52,leftRightUpArrow:53,quadArrow:54,leftArrowCallout:55,rightArrowCallout:56,upArrowCallout:57,downArrowCallout:58,leftRightArrowCallout:59,upDownArrowCallout:60,quadArrowCallout:61,bentArrow:62,uturnArrow:63,circularArrow:64,leftCircularArrow:65,leftRightCircularArrow:66,curvedRightArrow:67,curvedLeftArrow:68,curvedUpArrow:69,curvedDownArrow:70,swooshArrow:71,cube:72,can:73,lightningBolt:74,heart:75,sun:76,moon:77,smileyFace:78,irregularSeal1:79,irregularSeal2:80,foldedCorner:81,bevel:82,frame:83,halfFrame:84,corner:85,diagStripe:86,chord:87,arc:88,leftBracket:89,rightBracket:90,leftBrace:91,rightBrace:92,bracketPair:93,bracePair:94,straightConnector1:95,bentConnector2:96,bentConnector3:97,bentConnector4:98,bentConnector5:99,curvedConnector2:100,curvedConnector3:101,curvedConnector4:102,curvedConnector5:103,callout1:104,callout2:105,callout3:106,accentCallout1:107,accentCallout2:108,accentCallout3:109,borderCallout1:110,borderCallout2:111,borderCallout3:112,accentBorderCallout1:113,accentBorderCallout2:114,accentBorderCallout3:115,wedgeRectCallout:116,wedgeRoundRectCallout:117,wedgeEllipseCallout:118,cloudCallout:119,cloud:120,ribbon:121,ribbon2:122,ellipseRibbon:123,ellipseRibbon2:124,leftRightRibbon:125,verticalScroll:126,horizontalScroll:127,wave:128,doubleWave:129,plus:130,flowChartProcess:131,flowChartDecision:132,flowChartInputOutput:133,flowChartPredefinedProcess:134,flowChartInternalStorage:135,flowChartDocument:136,flowChartMultidocument:137,flowChartTerminator:138,flowChartPreparation:139,flowChartManualInput:140,flowChartManualOperation:141,flowChartConnector:142,flowChartPunchedCard:143,flowChartPunchedTape:144,flowChartSummingJunction:145,flowChartOr:146,flowChartCollate:147,flowChartSort:148,flowChartExtract:149,flowChartMerge:150,flowChartOfflineStorage:151,flowChartOnlineStorage:152,flowChartMagneticTape:153,flowChartMagneticDisk:154,flowChartMagneticDrum:155,flowChartDisplay:156,flowChartDelay:157,flowChartAlternateProcess:158,flowChartOffpageConnector:159,actionButtonBlank:160,actionButtonHome:161,actionButtonHelp:162,actionButtonInformation:163,actionButtonForwardNext:164,actionButtonBackPrevious:165,actionButtonEnd:166,actionButtonBeginning:167,actionButtonReturn:168,actionButtonDocument:169,actionButtonSound:170,actionButtonMovie:171,gear6:172,gear9:173,funnel:174,mathPlus:175,mathMinus:176,mathMultiply:177,mathDivide:178,mathEqual:179,mathNotEqual:180,cornerTabs:181,squareTabs:182,plaqueTabs:183,chartX:184,chartStar:185,chartPlus:186},Je(ee),t.Charts.ST_ShapeType=ee,te={textNoShape:0,textPlain:1,textStop:2,textTriangle:3,textTriangleInverted:4,textChevron:5,textChevronInverted:6,textRingInside:7,textRingOutside:8,textArchUp:9,textArchDown:10,textCircle:11,textButton:12,textArchUpPour:13,textArchDownPour:14,textCirclePour:15,textButtonPour:16,textCurveUp:17,textCurveDown:18,textCanUp:19,textCanDown:20,textWave1:21,textWave2:22,textDoubleWave1:23,textWave4:24,textInflate:25,textDeflate:26,textInflateBottom:27,textDeflateBottom:28,textInflateTop:29,textDeflateTop:30,textDeflateInflate:31,textDeflateInflateDeflate:32,textFadeRight:33,textFadeLeft:34,textFadeUp:35,textFadeDown:36,textSlantUp:37,textSlantDown:38,textCascadeUp:39,textCascadeDown:40},Je(te),t.Charts.ST_TextShapeType=te,re={none:0,norm:1,lighten:2,lightenLess:3,darken:4,darkenLess:5},Je(re),t.Charts.ST_PathFillMode=re,ie={none:0,triangle:1,stealth:2,diamond:3,oval:4,arrow:5},Je(ie),t.Charts.ST_LineEndType=ie,ne={sm:0,med:1,lg:2},Je(ne),t.Charts.ST_LineEndWidth=ne,ae={sm:0,med:1,lg:2},Je(ae),t.Charts.ST_LineEndLength=ae,oe={solid:0,dot:1,dash:2,lgDash:3,dashDot:4,lgDashDot:5,lgDashDotDot:6,sysDash:7,sysDot:8,sysDashDot:9,sysDashDotDot:10},Je(oe),t.Charts.ST_PresetLineDashVal=oe,le={rnd:0,sq:1,flat:2},Je(le),t.Charts.ST_LineCap=le,se={ctr:0,in:1},Je(se),t.Charts.ST_PenAlignment=se,ce={sng:0,dbl:1,thickThin:2,thinThick:3,tri:4},Je(ce),t.Charts.ST_CompoundLine=ce,ue={twoCell:0,oneCell:1,absolute:2},Je(ue),t.Charts.ST_EditAs=ue,de={t:0,ctr:1,b:2,just:3,dist:4},Je(de),t.Charts.ST_TextAnchoringType=de,fe={overflow:0,ellipsis:1,clip:2},Je(fe),t.Charts.ST_TextVertOverflowType=fe,pe={overflow:0,clip:1},Je(pe),t.Charts.ST_TextHorzOverflowType=pe,he={horz:0,vert:1,vert270:2,wordArtVert:3,eaVert:4,mongolianVert:5,wordArtVertRtl:6},Je(he),t.Charts.ST_TextVerticalType=he,me={none:0,square:1},Je(me),t.Charts.ST_TextWrappingType=me;ge={alphaLcParenBoth:0,alphaUcParenBoth:1,alphaLcParenR:2,alphaUcParenR:3,alphaLcPeriod:4,alphaUcPeriod:5,arabicParenBoth:6,arabicParenR:7,arabicPeriod:8,arabicPlain:9,romanLcParenBoth:10,romanUcParenBoth:11,romanLcParenR:12,romanUcParenR:13,romanLcPeriod:14,romanUcPeriod:15,circleNumDbPlain:16,circleNumWdBlackPlain:17,circleNumWdWhitePlain:18,arabicDbPeriod:19,arabicDbPlain:20,ea1ChsPeriod:21,ea1ChsPlain:22,ea1ChtPeriod:23,ea1ChtPlain:24,ea1JpnChsDbPeriod:25,ea1JpnKorPlain:26,ea1JpnKorPeriod:27,arabic1Minus:28,arabic2Minus:29,hebrew2Minus:30,thaiAlphaPeriod:31,thaiAlphaParenR:32,thaiAlphaParenBoth:33,thaiNumPeriod:34,thaiNumParenR:35,thaiNumParenBoth:36,hindiAlphaPeriod:37,hindiNumPeriod:38,hindiNumParenR:39,hindiAlpha1Period:40};Je(ge),t.Charts.ST_TextAutonumberScheme=ge,be={none:0,words:1,sng:2,dbl:3,heavy:4,dotted:5,dottedHeavy:6,dash:7,dashHeavy:8,dashLong:9,dashLongHeavy:10,dotDash:11,dotDashHeavy:12,dotDotDash:13,dotDotDashHeavy:14,wavy:15,wavyHeavy:16,wavyDbl:17},Je(be),t.Charts.ST_TextUnderlineType=be,we={noStrike:0,sngStrike:1,dblStrike:2},Je(we),t.Charts.ST_TextStrikeType=we,Ce={none:0,small:1,all:2},Je(Ce),t.Charts.ST_TextCapsType=Ce,Se={l:0,ctr:1,r:2,dec:3},Je(Se),t.Charts.ST_TextTabAlignType=Se,ye={l:0,ctr:1,r:2,just:3,justLow:4,dist:5,thaiDist:6},Je(ye),t.Charts.ST_TextAlignType=ye,ve={auto:0,t:1,ctr:2,base:3,b:4},Je(ve),t.Charts.ST_TextFontAlignType=ve,xe={auto:0},Je(xe),t.Charts.ST_StyleColorVal=xe,t.Charts.CT_PathType={CT_PathToList:0,CT_Path2DArcTo:1,CT_Path2DClose:2},Te={col:0,row:1},Je(Te),t.Charts.ST_FormulaDirection=Te,Ae={cat:0,colorStr:1},Je(Ae),t.Charts.ST_StringDimensionType=Ae,ke={val:0,x:1,y:2,size:3,colorVal:4},Je(ke),t.Charts.ST_NumericDimensionType=ke,Ee={l:0,t:1,r:2,b:3},Je(Ee),t.Charts.ST_SidePos=Ee,Ie={t:1,r:2,l:3,b:4},Je(Ie),t.Charts.ST_2016ChartPosLegend=Ie,Fe={min:0,ctr:1,max:2},Je(Fe),t.Charts.ST_PosAlign=Fe,Pe={hundreds:0,thousands:1,tenThousands:2,hundredThousands:3,millions:4,tenMillions:5,hundredMillions:6,billions:7,trillions:8,percentage:9},Je(Pe),t.Charts.ST_AxisUnit=Pe,De={in:1,out:3,cross:0,none:2},Je(De),t.Charts.ST_TickMarksType=De,Re={boxWhisker:0,funnel:1,paretoLine:2,regionMap:3,sunburst:4,treemap:5,waterfall:6,clusteredColumn:7},Je(Re),t.Charts.ST_SeriesLayout=Re,Le={none:0,banner:1,overlapping:2},Je(Le),t.Charts.ST_ParentLabelLayout=Le,_e={none:0,bestFitOnly:1,showAll:2},Je(_e),t.Charts.ST_RegionLabelLayout=_e,Ne={l:0,r:1},Je(Ne),t.Charts.ST_IntervalClosedSide=Ne,Be={Address:0,AdminDistrict:1,AdminDistrict2:2,AdminDistrict3:3,Continent:4,CountryRegion:5,Locality:6,Ocean:7,Planet:8,PostalCode:9,Region:10,Unsupported:11},Je(Be),t.Charts.ST_EntityType=Be,Me={mercator:0,miller:1,robinson:2,albers:3},Je(Me),t.Charts.ST_GeoProjectionType=Me,Oe={dataOnly:0,postalCode:1,county:2,state:3,countryRegion:4,countryRegionList:5,world:6},Je(Oe),t.Charts.ST_GeoMappingLevel=Oe,Ge={inclusive:0,exclusive:1},Je(Ge),t.Charts.ST_QuartileMethod=Ge,He={bestFit:0,b:1,ctr:2,inBase:3,inEnd:4,l:5,outEnd:6,r:7,t:8},Je(He),t.Charts.ST_DataLabelPos=He,Ue={default:0,portrait:1,landscape:2},Je(Ue),t.Charts.ST_PageOrientation=Ue},"./src/datamodel/datamodel-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/datamodel/excel-style.ts"),o=r("./src/datamodel/excel-helper.ts"),l=r("./src/datamodel/datetime-helper.ts"),s=r("./src/common/range-parser.ts"),c=r("./src/xml-io/node-helper.ts"),u=i.StringEx.O,d=a.ConverterHelper.convertDxfToStyle,f=c.XmlNodeHelper.He,p=null,h=void 0,m="Normal";function C(e,t,r,i,n,a){var o,l,s,c,u=e.itemsData;u&&(o=u[u.length-1],l=u[u.length-2],s=o&&o.info,c=l&&l.info,s&&(i&&n&&1===o.count?c&&l.index===o.index-1&&c.level===s.level-1?c.collapsed=!0:t>0?u.splice(u.length-2,0,{index:o.index-1,count:1,info:{level:s.level-1,collapsed:!0}}):e.head={collapsed:!0,level:r-1}:!i&&a&&(c&&o.index===l.index+1&&s.level===c.level-1?o.collapsed=!0:t>=o.index+o.count&&u.push({index:o.index+o.count,count:1,info:{level:s.level-1,collapsed:!0}}))))}function S(e,t,r,n,a,o,l,s,c,u){var d={};return d.conType=e,i.J(t)||(d.compareType=t),i.J(r)||(d.expected=r),i.J(n)||(d.ignoreBlank=n),i.J(a)||(d.type=a),i.J(o)||(d.isPercent=o),i.J(l)||(d.item1=l),i.J(s)||(d.item2=s),i.J(c)||(d.ranges=c),i.J(u)||(d.expectTypeId=u),2===e&&(d.ignoreCase=!0),d}function y(e,t){var r,i,n=e.cellColor?0:1,o=t.fill;return o&&(0===o.patternType?r="":(i={},a.ConverterHelper.Ie(o,i),r=i.backColor)),S(3,n,r)}function v(e){if(e.length>0){var t=e[0];if("number"==typeof t)return"number";if("string"==typeof t&&0===t.indexOf("/OADate(")&&t.indexOf(")")===t.length-2)return"date";if("boolean"==typeof t)return"boolean"}return""}function x(e,t,r){var i,n,a={none:0,equal:0,lessThan:4,lessThanOrEqual:5,notEqual:1,greaterThan:2,greaterThanOrEqual:3};switch(e){case"string":i=2;break;case"number":i=1,r=parseFloat(r);break;case"date":i=5,"string"==typeof r&&0===r.indexOf("/OADate(")?(n=parseInt(r.replace("/OADate(",""),10),r=l.DateTimeHelper.Je(n)):r=l.DateTimeHelper.Je(parseInt(r,10)),a={none:0,equal:0,lessThan:2,lessThanOrEqual:3,notEqual:1,greaterThan:4,greaterThanOrEqual:5};break;case"boolean":default:i=11}return S(i,a[t],r)}function T(e,t){var r,i;function n(e){var r,i,n,a,o="notEqual"===e.operator,l=e.value,s=l.indexOf("*"),c=l.lastIndexOf("*");return s!==-1?s===l.length-1&&0!==s?(i=o?3:2,r=S(2,i,l.substring(0,l.length-1))):0===s&&s===c?(i=o?5:4,r=S(2,i,l.substring(1))):(n=o?7:6,s!==-1&&c!==-1&&(l=l.substr(1,l.length-2)),r=S(2,n,l)):(a=v(t),r=x(a,e.operator,l)),r}return e.filter1&&(r=n(e.filter1)),e.filter2&&(i=e.and?1:0,r=S(0,i,p,p,p,p,r,n(e.filter2))),r}function A(e,t){function r(e){var r,n=e.value,a=n.indexOf("*"),o=n.lastIndexOf("*");return a!==-1?a===n.length-1&&0!==a?r=S(t.conType,t.compareType,n.substring(0,n.length-1)):0===a&&a===o?r=S(t.conType,t.compareType,n.substring(1)):(a!==-1&&o!==-1&&(n=n.substr(1,n.length-2)),r=S(t.conType,t.compareType,n)):i.J(t)||(r=S(t.conType,t.compareType,n)),r}var n;return e.filter1&&(n=r(e.filter1)),n=e.filter2?S(t.conType,t.compareType,p,p,p,p,n,r(e.filter2)):S(t.conType,t.compareType,p,p,p,p,n,p)}function k(e,t,r){var n,a=new i.Range(t.row,r,t.rowCount,1),o=e.type;return 100===o||101===o?n=S(10,p,p,p,o-100,p,p,p,a):16===o?n=S(6,p,0,p,p,p,p,p,p,6):o>=17&&o<=20?n=S(6,p,o-17,p,p,p,p,p,p,2):o>=21&&o<=32?n=S(6,p,o-21,p,p,p,p,p,p,3):o>=0&&o<=15&&(n=S(6,p,o)),n}function E(e,t){var r,i=t.conType;return 1===i&&(r=S(1,t.compareType,p)),r}function I(e){var t=e.top?0:1;return S(8,p,e.value,p,t,e.percent)}function F(e,t){var r=e.top?1:-1;return S(3,t.compareType,e.value,p,r,e.percent)}function P(e){return u(e)?e:"="+e}function D(e){return u(e)||e.length<=2?e:e.substr(1,e.length-2)}function R(e,t){var r=null;return t.forEach(function(t){t.id===e&&(r=t.name)}),r}t.getTableName=R;function L(e,t,r){var i=null;return r.forEach(function(r){r.id===e&&r.columns.forEach(function(e){e.id===t&&(i=e.name)})}),i}t.getTableColumnName=L;function _(e,t,r){var i,n,a=null;for(i=0;i<t.length;i++)if(n=t[i],""+r[n.cacheId].pivotCacheId===e){a=n.name;break}return a}function N(e,t){return t=t||" ",e.map(B).join(t)}function B(e){var t,r=e.row,a=e.col,o=e.rowCount,l=e.colCount,s=a+l-1,c=r+o-1;return i.isRangeWholeRow(e)&&i.isRangeWholeColumn(e)?t="$1:$"+n.ExcelConstants.wb:i.isRangeWholeRow(e)?t=r+1+":"+(c+1):i.isRangeWholeColumn(e)?t=i.IndexHelper.T(a)+":"+i.IndexHelper.T(s):(t=i.IndexHelper.T(a)+(r+1),(o>1||l>1)&&(t+=":"+i.IndexHelper.T(s)+(c+1))),t}g=["fillStyleLst","lnStyleLst","effectStyleLst","bgFillStyleLst"],b=["w","cap","cmpd","algn","prstDash","custDash","round","bevel","miter","headEnd","tailEnd"];function M(e,t){b.forEach(function(r){void 0===t[r]&&void 0!==e[r]&&(t[r]=e[r])})}function O(e,t){e&&M(e,t)}function G(e,t){return!!e[t]}function H(e,t,r,n,a,l){var s,c,u,d=e.Ke;if(r[n]&&r[n][a]){if(s=r[n][a].style,!s)return;c=i.ga._(t.namedStyles,s),c&&(u=o.processTableCellStyle(c,d),u.name="__builtInTableStyle"+e.Le+c.name,i.ga.aa(t.namedStyles,e.Me,u),e.Le++,r[n][a].style=u.name,l[s]=u.name)}}function U(e,t){var r=e.filter(function(e){return e._attr.name===t});return r&&r[0]}function J(e,t){var r=f(e.bk);return r[t]}function W(e){return e.filter(function(e){return!(e.pic&&!e.pic.cameraTool)})}function V(e){return e&&e.indexOf(" ")>=0&&("'"!==e[0]||'"'!==e[0])&&(e="'"+e+"'"),e}w=function(){function e(){var e=this;e.Ne={version:"17.0.0"},e.Ke=p,e.Oe=p,e.Pe=[],e.Qe=[],e.Re=[],e.Se=[],e.Te=1,e.Le=0,e.Ue=0,e.Ve=0,e.We=[],e.Xe=[],e.Ye={},e.Ze={},e.$e=!0,e._e=p,e.af=[],e.bf=!1,e.cf=3,e.df=[],e.ef=[],e.ff="Calibri Light",e.gf="Calibri",e.hf=[],e.if=[],e.jf=[],e.Me={},e.kf=[]}return e.prototype.lf=function(e){this.mf=e,this.pf={}},e.prototype.qf=function(e,t){var r,i,n,a,o,l,s,c,u=this;return u.pf||(u.pf={}),r=this.pf,i=e+","+t,(n=r[i])?n:(a=this.mf,l=a&&a.themeElements&&a.themeElements.fmtScheme,l&&(s=g[e],c=s&&l[s],o=c,c&&(1===e?c=c.ln:0===e&&(c=c.items),o=c[t])),r[i]=o,o)},e.prototype.rf=function(e){var t,r,i,n,a,o,l,s,c;if(e){if(t={name:e.name},e.colorScheme&&(r=e.colorScheme,t.themeColor={name:r.name,text1:r.schemeColors[1],text2:r.schemeColors[3],background1:r.schemeColors[0],background2:r.schemeColors[2],accent1:r.schemeColors[4],accent2:r.schemeColors[5],accent3:r.schemeColors[6],accent4:r.schemeColors[7],accent5:r.schemeColors[8],accent6:r.schemeColors[9],hyperlink:r.schemeColors[10],followedHyperlink:r.schemeColors[11]}),e.fontScheme){for(i=e.fontScheme,n=i.majorFont.runFormattings,a=i.minorFont.runFormattings,o=0,l=n.length;o<l;o++)s=n[o],s&&0===s.fontLanguage&&(c=V(s.typeface),t.headingFont=c,this.ff=c);for(o=0,l=a.length;o<l;o++)s=a[o],s&&0===s.fontLanguage&&(c=V(s.typeface),t.bodyFont=c,this.gf=c)}this.sf=t}},e.prototype.tf=function(e){var t,r;e&&(t=this,t.Ke=a.ConverterHelper.toCellStyle(e,t.ff,t.gf),r={},a.ConverterHelper.setStyleInfoFont(e.font,r,h,h),t.Ke.fontForColumnWidth=r.font,t.Oe=e)},e.prototype.uf=function(e,t){var r,n,o,s,c,u,d,f,p,g,b,w;if(e){if(r=this,n=r.Ne,o=a.ConverterHelper.toCellStyle(e,r.ff,r.gf),!i.J(o.formatter)){for(s=RegExp("\\[DBNum\\d+\\]","ig"),c=s.exec(o.formatter),u=o.formatter;null!==c;)d=c[0],f=parseInt(d.substring(d.indexOf("m")+1,d.indexOf("]")),10),(f>4||4===f&&u.indexOf("[$-412]")<0&&"ko-kr"!==i.Fa())&&(u=u.replace(d,"[DBNum3]")),c=s.exec(o.formatter);o.formatter=u}r.Pe.push(o),p=a.ExtendedNumberFormatHelper.getFormatCode(e),r.Qe.push(l.DateTimeHelper.vf(p)),"@"===p?r.Re.push(!0):r.Re.push(!1),e.isStyleFormat?(g=r.wf(t),g===-1&&(g=r.Ve),r.We.length>g?r.Se[r.Se.length]=r.We[g]:(r.Se[r.Se.length]="__builtInStyle"+r.Te,r.Te++)):(b="",e.parentFormatID!==h&&r.Se.length>e.parentFormatID&&(b=r.Se[e.parentFormatID]),(b===m||"__builtInStyle"===b.substring(0,14)||i.StringEx.L(b))&&(b="__builtInStyle"+r.Te,r.Te++),o.name=b,w=r.Ze[b],"__builtInStyle"===b.substring(0,14)||w===h||e.equals(w)||(o.parentName=b,b="__builtInStyle"+r.Te,r.Te++,o.name=b),n.namedStyles||(n.namedStyles=[]),i.ga.aa(n.namedStyles,r.Me,o),r.Se[r.Se.length]=b)}},e.prototype.wf=function(e){return this.Ye[e]?this.Ye[e]:-1},e.prototype.xf=function(e,t){var r,n,o,l,s,c,u,d,f;if(e){if(r=this,n=r.Ne,r.$e&&(r.yf(),r.$e=!1),o=e.name,l=r._e,l&&e.isBuiltInStyle())for(s=0,c=l.length;s<c;s++)if(u=l[s],u.builtInStyle===e.builtInStyle){o=u.name;break}if(i.ga.Z(r.Me,o)){for(s=0,c=r.af.length;s<c;s++)if(f=r.af[s],f.name===o){r.af[s]=e,r.Xe[s]=e.format(),r.Ye[t]=s;break}r.Ze[o]=e.format(),d=a.ConverterHelper.toCellStyle(e.format(),r.ff,r.gf),d.name=o,i.ga.aa(n.namedStyles,r.Me,d)}else r.Ze[o]=e.format(),r.af.push(e),r.Xe.push(e.format()),r.Ye[t]=r.Xe.length-1,r.We.push(o),n.namedStyles||(n.namedStyles=[]),d=a.ConverterHelper.toCellStyle(e.format(),r.ff,r.gf),d.name=o,i.ga.aa(n.namedStyles,r.Me,d)}},e.prototype.yf=function(){var e,t,r,i,n=this,o=n.Ne;if(n.$e)for(o.namedStyles||(o.namedStyles=[]),n._e=a.BuiltInExcelStyles.getBuiltInStyles(),e=0,t=n._e.length;e<t;e++)r=n._e[e],r&&r.name===m&&(n.Ve=n.Xe.length),n.af.push(r),n.Xe.push(r.format()),n.We.push(r.name),n.Ze[r.name]=r.format(),i=a.ConverterHelper.toCellStyle(r.format(),n.ff,n.gf),i.name=r.name},e.prototype.zf=function(e){this.bf=e},e.prototype.Af=function(e,t){var r=this.Ne;e||(r.showHorizontalScrollbar=e),t||(r.showVerticalScrollbar=t)},e.prototype.Bf=function(e,t,r,i){var n=this.Ne;e||(n.tabStripVisible=e),n.startSheetIndex=r,n.activeSheetIndex=t,n.tabStripRatio=i/1e3},e.prototype.Cf=function(e,t,r){var n={},a=this.Ne;n.name=e,n.index=t,1===r?n.visible=0:2===r&&(n.visible=2),n.allowCellOverflow=!0,n.theme=this.sf,n.defaults=i.Ea(),i.J(a.sheetCount)&&(a.sheetCount=0),a.sheetCount++,a.sheets||(a.sheets={}),a.sheets[e]=n},e.prototype.Df=function(e,t,r){var n,a,o=this.Ne;if(e&&(o.referenceStyle=1,o.sheets))for(n in o.sheets)o.sheets.hasOwnProperty(n)&&(a=o.sheets[n],a.referenceStyle=1,a.colHeaderAutoText=1);o.calculationMode=r,o.iterativeCalculation="1"===t.iterate,o.iterativeCalculationMaximumIterations=i.J(t.count)?100:parseInt(t.count,10),o.iterativeCalculationMaximumChange=i.J(t.delta)?.001:parseFloat(t.delta)},e.prototype.Ef=function(e,t,r){var i=this.Ne,n=i.sheets&&i.sheets[e];r===!1&&(n.rowOutlines||(n.rowOutlines={}),n.rowOutlines.direction=0),t===!1&&(n.columnOutlines||(n.columnOutlines={}),n.columnOutlines.direction=0)},e.prototype.Ff=function(e,t){var r=this.Ne,i=r.sheets&&r.sheets[e];t!==a.ExcelColor.EmptyColor&&(t.isThemeColor()?i.sheetTabColor=a.ColorHelper.getThemeColorName(t):i.sheetTabColor=a.ColorHelper.toRGBColor(t))},e.prototype.Gf=function(e,t,r){var i=this.Ne,n=i.sheets&&i.sheets[e];n.rowCount=t,n.columnCount=r},e.prototype.Hf=function(e,t,r,i,n,o,l,s){var c,u=this.Ne,d=u.sheets&&u.sheets[e];i||(d.rowHeaderVisible=i,d.colHeaderVisible=i),o&&(d.showFormulas=!0),l?d.showZeros=!0:d.showZeros=!1,100!==n&&(d.zoomFactor=n/100),t&&t.isIndexedColor()&&64===t.value()&&(t=null),null===t&&r||(c={},null!==t&&(c.color=""+a.ColorHelper.toRGBColor(t)),r||(c.showVerticalGridline=r,c.showHorizontalGridline=r),d.gridline=c),d.isSelected=s},e.prototype.If=function(e,t,r,i,n,a,o,l,s){var c,u,d,f,p,h,m,g,b=this.Ne,w=b.sheets&&b.sheets[e];if(this.cf===t){for(w.rowCount<=r&&(w.rowCount=r+1),w.columnCount<=i&&(w.columnCount=i+1),c=0,u=a.length;c<u;c++)d=a[c],f=o[c],p=l[c],h=s[c],f===-1&&(f=w.rowCount-1),h===-1&&(h=w.columnCount-1),d=d>=0?d:0,f=f>=0?f:0,p=p>=0?p:0,h=h>=0?h:0,d<w.rowCount&&p<w.columnCount&&(m=Math.min(w.rowCount-d,f-d+1),g=Math.min(w.columnCount-p,h-p+1),m>=1&&g>=1&&(w.selections=w.selections||{},w.selections[c]={row:d,rowCount:m,col:p,colCount:g}));w.selections&&(w.selections.length=a.length),w.activeRow=r>=0&&r<w.rowCount?r:0,w.activeCol=i>=0&&i<w.columnCount?i:0}},e.prototype.Jf=function(e,t,r,n,a){var o,l,s,c,u,d,f,p,h;a&&(o=this.Ne,l=o.sheets&&o.sheets[e],s=this.Kf,c=i.IndexHelper.P(s),u=i.IndexHelper.R(s),d=i.IndexHelper.P(n),f=i.IndexHelper.R(n),r&&t?this.Lf(d,f,e):r&&!t?this.Lf(d,u,e):!r&&t&&this.Lf(c,f,e),r&&(p=r+c,l.rowCount<=p&&(l.rowCount=p),l.frozenRowCount=p,l.frozenTopRow=c),t&&(h=t+u,l.columnCount<=h&&(l.columnCount=h),l.frozenColCount=h,l.frozenLeftCol=u))},e.prototype.Mf=function(e,t,r){var i=this.Ne,n=i.sheets&&i.sheets[e];n.defaults={colHeaderRowHeight:20,rowHeaderColWidth:40,rowHeight:t,colWidth:r}},e.prototype.Nf=function(e,t){var r=this.Ne,i=r.sheets&&r.sheets[e];i.defaults.rowHeight=a.UnitHelper.pointToPixel(t)},e.prototype.Of=function(e,t,r){var i,n=this.Ne,a=n.sheets&&n.sheets[e];isNaN(r)?(i=this.Pf(t),a.defaults._isExcelDefaultColumnWidth=!0):i=this.Qf(r),a.defaults.colWidth=i},e.prototype.Pf=function(e){var t=this.Ke,r=this.getMaxiumDigitWidth(t.fontForColumnWidth?t.fontForColumnWidth:t.font),i=2*Math.ceil(r/4)+1,n=this.Qf(e,r)+i;return 8*Math.ceil(n/8)},e.prototype.Qf=function(e,t){if(0===e)return 0;var r=this.Ke,n=r.fontForColumnWidth?r.fontForColumnWidth:r.font;return Math.floor(Math.floor(256*e)/256*(i.J(t)?this.getMaxiumDigitWidth(n):t)+.5)},e.prototype.getMaxiumDigitWidth=function(e){return this.Rf===h&&(this.Rf=a.UnitHelper.getMaxiumDigitWidth(e)),this.Rf},e.prototype.Sf=function(e){var t=this,r=t.Ne,i=r.sheets&&r.sheets[e],n=i.columnCount||0,a=i.rowCount||0,o=t.Tf,l=t.Uf;i.columnCount=Math.max(n,o+1),i.rowCount=Math.max(a,l+1)},e.prototype.Vf=function(e,t,r,i,a,o,l,s){var c,u,d,f,m,g,b,w,S,y,v,x,T,A,k=this.Ne,E=k.sheets&&k.sheets[e],I=E.columnOutlines&&0===E.columnOutlines.direction,F=this.jf,P=this.Qf(a),D=n.ExcelConstants.vb;for(r>=D-1&&(r=D-1),c=!1,u=t;u<=r;u++){if(d=!1,(l>0||s)&&(u+2>E.columnCount&&(f=E.columnOutlines&&E.columnOutlines.items,l<=0&&(!f||!f[u-1]||f[u-1].level<0)&&(c=!0),c||(E.columnCount=u+2)),c||(E.columnOutlines||(E.columnOutlines={}),E.columnOutlines.items||(E.columnOutlines.items=[]),E.columnOutlines.itemsData||(E.columnOutlines.itemsData=[]),m=E.columnOutlines.items,m[u]={level:l-1,collapsed:s},o&&(d=!0),g=E.columnOutlines.itemsData,b=g[g.length-1],b&&u===b.index+b.count&&b.info.level===l-1&&b.info.collapsed===s?b.count++:g.push({index:u,count:1,info:{level:l-1,collapsed:s}}))),E.columnOutlines&&E.columnOutlines.itemsData&&(w=E.columnOutlines.itemsData,C(w,u,l,I,o,F[u-1]&&F[u-1].hidden)),P!==-1||o){for(E.columns||(E.columns=[]),S=E.columns.length,y=S;y<u;y++)E.columns[y]=p,F[y]=p;v={},x={},v.hidden=o,o&&0===l&&(x.visible=v.visible=!1),P!==-1&&(x.size=v.size=P),v.visible!==!1&&d!==!0||0!==v.size||(x.size=v.size=h),F[u]=v,E.columns[u]=x}1!==i&&(T=this.Se[i],T!==h?this.df[u]={style:T}:i<this.Pe.length&&(this.df[u]={style:this.Pe[i]}),A=this.Pe[i],A&&A.isVerticalText===!0&&this.kf.push(u))}E.columnCount>D&&(E.columnCount=D)},e.prototype.Wf=function(e){var t,r,i,n,a,o,l,s,c,u,d=this,f=d.Ne,p=f.sheets&&f.sheets[e],h=p.defaults,m=p.data,g=p.columns,b=p.columnCount,w=h.colWidth;if(g&&(t=g.length,b<t))for(r=b;r<t;r++)if(i=g[r],i&&i.size===w){n=g.slice(0,r),d.jf=n,p.columns=n,m&&m.columnDataArray&&(m.columnDataArray=m.columnDataArray.slice(0,r));break}if(a=p.rows,o=p.rowCount,l=h.rowHeight,a&&(s=a.length,o<s))for(r=o;r<s;r++)if(c=a[r],c&&c.size===l){u=a.slice(0,r),d.if=u,p.rows=u,m&&m.rowDataArray&&(m.rowDataArray=m.rowDataArray.slice(0,r));break}},e.prototype.Xf=function(e,t,r,n,a){var o=this.Ne,l=o.sheets&&o.sheets[e];l.spans||(l.spans=[]),r>=l.rowCount&&(r=l.rowCount-1),a>=l.columnCount&&(a=l.columnCount-1),l.spans.push(new i.Range(t,n,r-t+1,a-n+1))},e.prototype.Yf=function(e,t){var r=this.Ne,i=r.sheets&&r.sheets[e];i.isProtected=t},e.prototype.Zf=function(e,t,r){var i,n,a,l,s=this.Ne,c=s.sheets&&s.sheets[e];for(c.protectionOptions=c.protectionOptions||{},i=0;i<t.length;i++)n=t[i].name,a=t[i].value,l=o.toProtectionOptions[n],l?c.protectionOptions[l]=a:c.protectionOptions[n]=a;r&&c.protectionOptions.allowEditObjects===h&&(c.protectionOptions.allowEditObjects=!0)},e.prototype.$f=function(e){var t,r=this.Ne,i=r.sheets&&r.sheets[e];i.data||(i.data={}),t=i.data,this.ef.length>0&&(t.rowDataArray=this.ef,this.ef=[]),this.df.length>0&&(t.columnDataArray=this.df,this.df=[]),this.Ke&&(t.defaultDataNode={style:this.Ke}),this.sf&&(i.theme=this.sf),this.Sf(e)},e.prototype._f=function(e,t){var r,i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v=this.Ne,x=v.sheets&&v.sheets[e];if(x&&(r=t?x.rowOutlines:x.columnOutlines))for(i=0===r.direction,n=r.items,a=t?x.rows:x.columns,o=t?this.if:this.jf,l=function(){return i?0:a.length-1},s=function(e){return i?e<a.length:e>=0},c=function(e){return i?e+1:e-1},u=function(e){return i?e-1:e+1},d=function(e,t){var r=n[e];if(r)return r.level<=t?r:d(r.parentIndex,t)},f=l(),p=void 0;s(f);f=c(f))h=n[f],h&&h.level!==-1?(m=u(f),g=n[m],b=!g&&"number"==typeof h.level||g&&g.level<h.level,w=g&&g.level>h.level,C=void 0,S=void 0,b?(C=m,S=!!g&&(g.collapsed||g.viewCollapsed)):w?h.level===-1?S=!1:(y=void 0,y=g.parentIndex===p?g:d(g.parentIndex,h.level),y&&(C=y.parentIndex,S=y.viewCollapsed)):(C=g.parentIndex,S=g.viewCollapsed),h.parentIndex=C,
18
+ h.viewCollapsed=S,!S&&o[f].hidden&&(a[f].visible=!1)):p=f},e.prototype.ag=function(e,t,r,i,n,o,l){var s,c,u,d,f,m,g,b,w=this.Ne,S=w.sheets&&w.sheets[e],y=S.rowOutlines&&0===S.rowOutlines.direction,v=this.if;if((n>0||o)&&(!y&&t+2>S.rowCount&&(S.rowCount=t+2),S.rowOutlines||(S.rowOutlines={}),S.rowOutlines.items||(S.rowOutlines.items=[]),S.rowOutlines.itemsData||(S.rowOutlines.itemsData=[]),s=S.rowOutlines.items,s[t]={level:n-1,collapsed:o},c=S.rowOutlines.itemsData,u=c[c.length-1],u&&t===u.index+u.count&&u.info.level===n-1&&u.info.collapsed===o?u.count++:c.push({index:t,count:1,info:{level:n-1,collapsed:o}})),d=v[t-1]&&v[t-1].hidden,S.rowOutlines&&S.rowOutlines.itemsData&&C(S.rowOutlines,t,n,y,l,d),n<=0&&t+1>S.rowCount&&(S.rowCount=t+1),r!==-1&&t<S.rowCount&&(f=this.Se[r],f!==h?this.ef[t]={style:f}:r<this.Pe.length&&(this.ef[t]={style:this.Pe[r]})),i!==-1||l){for(S.rows||(S.rows=[]),m=S.rows.length;m<t;m++)S.rows.push(p),v.push(p);g={},b={},g.hidden=l,l&&0===n&&(b.visible=g.visible=!1),i!==-1&&(b.size=g.size=Math.round(a.UnitHelper.pointToPixel(i))),g.visible===!1&&0===g.size&&(b.size=g.size=h),v.push(g),S.rows.push(b)}},e.prototype.bg=function(e){var t,r=this.Ne,i=r.sheets&&r.sheets[e];i.data||(i.data={}),t=i.data,t.dataTable||(t.dataTable={})},e.prototype.cg=function(e,t){var r=this.Ne,i=r.sheets&&r.sheets[e],n=i.data.dataTable;n[t]||(n[t]={})},e.prototype.dg=function(e,t,r,n){var a,o,l,s=this,c=s.Ne,u=c.sheets&&c.sheets[e],d=u.data.dataTable[t];d[r]||(d[r]={}),a=d[r],o=s.Se[n],o!==h?a.style=o:n<s.Pe.length&&(a.style=s.Pe[n]),s.kf.indexOf(r)>-1&&(l=s.Pe[n],l&&i.J(l.isVerticalText)&&(s.Pe[n].isVerticalText=!1))},e.prototype.eg=function(e,t,r,i){var n,a,o=this,l=o.Ne,s=l.sheets&&l.sheets[e],c=s.data.dataTable[t];c||(s.data.dataTable[t]=c={}),c[r]||(c[r]={}),n=c[r],a=n.style,"string"==typeof a&&(a=o.Pe[o.Se.indexOf(n.style)]),a&&a.foreColor&&(i.linkColor=a.foreColor),n.hyperlink=i},e.prototype.fg=function(e,t){if(t[0]){var r=this,i=r.Ne,n=i.sheets&&i.sheets[e];n&&(n.sharedFormulas=t)}},e.prototype.gg=function(e,t,r,i,n,o,l,s){var c,u,d,f=this,p=f.Ne,h=p.sheets&&p.sheets[e],m=h.data.dataTable[t];if(m[r]||(m[r]={}),c=m[r],i<f.Qe.length&&f.Qe[i]&&"number"==typeof n&&(n=f.hg(n)),void 0!==n&&(c.value=n),void 0!==o&&(c.formula=o),l&&(c.arrayInfo=l),s){for(u=[],d=0;d<s.length;d++)s[d].style?u.push({style:a.ConverterHelper.toRichTextStyle(s[d].style,f.ff,f.gf),text:s[d].text}):u.push(s[d]);c.value={richText:u}}},e.prototype.hg=function(e){return this.bf&&(e+=1462),e=l.DateTimeHelper.Je(e),e instanceof Date&&(e=l.DateTimeHelper.ig(e)),l.DateTimeHelper.jg(e)},e.prototype.kg=function(e){var t,r,i;if(e&&e.length>0){for(a.ColorHelper.useCustomPalette=!0,t={},r=0,i=e.length;r<i;r++)t[r]=a.ColorHelper.fromArgb(e[r]);a.ColorHelper.customPalette=t}},e.prototype.mg=function(){this.cf=3},e.prototype.ng=function(e){this.cf=e},e.prototype.Lf=function(e,t,r){var i=this.Ne,n=i.sheets&&i.sheets[r];n.topCellIndex=e,n.leftCellIndex=t},e.prototype.og=function(){this.Ne.names=[];for(var e in this.Ne.sheets)this.Ne.sheets.hasOwnProperty(e)&&(this.Ne.sheets[e].names=[])},e.prototype.pg=function(e,t,r,i){var n,a;if(r===-1)this.Ne.names.push({name:e,formula:t,row:0,col:0,comment:i});else for(n in this.Ne.sheets)this.Ne.sheets.hasOwnProperty(n)&&(a=this.Ne.sheets[n],a.index===r&&a.names.push({name:e,formula:t,row:0,col:0,comment:i}))},e.prototype.qg=function(e){var t=this.rg[e];return d(t,this.ff,this.gf)},e.prototype.sg=function(e){var t=this.tg[e];return d(t,this.ff,this.gf)},e.prototype.ug=function(e){var t=this.hf[e];return d(t,this.ff,this.gf)},e.prototype.vg=function(e,t){return d(e,this.ff,this.gf,t)},e.prototype.wg=function(e,t){var r,n,a,o=this.Ne.sheets[e];for(o.conditionalFormats||(o.conditionalFormats={rules:[]}),r=0;r<t.rules.length;r++)n=t.rules[r],!i.J(n.dxfId)&&n.dxfId>-1&&(a=this.ug(n.dxfId),a.font&&0===a.font.indexOf("normal normal")&&delete a.font,n.style=a,delete n.dxfId),o.conditionalFormats.rules.push(n)},e.prototype.xg=function(e){return this.Ne.sheets[e].conditionalFormats},e.prototype.yg=function(e,t){var r=this,i=r.Ne,n=i.sheets&&i.sheets[t];n.comments=e.map(function(e){return o.convertFromExcelComment(n,e)})},e.prototype.zg=function(e,t){var r=this,i=r.Ne,n=i.sheets&&i.sheets[t];n.pivotTables=e},e.prototype.Ag=function(e,t){var r=this,i=r.Ne,n=i.sheets&&i.sheets[t],a=e.pictures,o=e.charts,l=e.shapes,s=r.Bg&&r.Bg.importPictureAsFloatingObject;a&&s&&this.Cg(a,n),o&&this.Dg(o,n),l&&(s&&(l=W(l)),this.Eg(l,n))},e.prototype.Cg=function(e,t){t.floatingObjects=t.floatingObjects||[];var r=t.floatingObjects;e.forEach(function(e){var i=o.convertFromExcelPicture(t,e,r);i.typeName="1",r.push(i)})},e.prototype.Dg=function(e,t){t.charts=t.charts||[],e.map(function(e){var r=o.convertFromExcelChart(t,e);t.charts.push(r)})},e.prototype.Fg=function(e,t){var r,i=this,n=i.Ne.pivotCaches;if(n)for(r in n)if(n.hasOwnProperty(r)&&n[r]&&n[r][e]===t)return n[r]},e.prototype.Gg=function(e){var t,r,i,n,a,o,l=this,s=e.sp||e.cxnSp,c=s&&s.style,u=s&&s.spPr;c&&(t=c.lnRef,r=void 0,i=void 0,n=u.ln,n||(n={}),t&&(r=t.idx,r&&(i=l.qf(1,r-1),O(i,n),u.ln=n))),a=e.grpSp,a&&(o=a.sp,o&&o.length&&o.forEach(function(e){l.Gg({sp:e})}))},e.prototype.Eg=function(e,t){var r=this;t.shapes=t.shapes||[],e.map(function(e){r.Gg(e);var i=o.convertFromExcelShape(t,e);t.shapes.push(i)})},e.prototype.Hg=function(e,t){var r=this,i=r.Ne,n=i.sheets&&i.sheets[t];n.controls=e},e.prototype.Ig=function(e,t){var r=function(e){var t,r,i=e&&e.nvSpPr&&e.nvSpPr.cNvPr,n=i&&i.extLst&&i.extLst.ext||[];for(t=0;t<n.length;t++)if(r=n[t],r.compatExt)return r.compatExt.spid},i=function(e){return r(e)===t},n=function(e){var t,r,a,o=e&&e.sp||[];for(t=0;t<o.length;t++){if(r=o[t],i(r))return r;if(3===r.shapeType&&(a=n(r)))return a}},a=function(e){var t,r,a;for(t=0;t<e.length;t++)if(r=e[t],7===r.shapeType){if(i(r.shapeData&&r.shapeData.sp))return r.shapeData.sp}else if(3===r.shapeType&&(a=n(r.shapeData.grpSp)))return a},o=this,l=o.Ne,s=l.sheets&&l.sheets[e];return s&&s.shapes&&a(s.shapes)},e.prototype.Jg=function(e,t){var r,i,n,a=this,o=a.Ne,l=o.sheets&&o.sheets[t];for(l.sparklineGroups=e,r=0;r<e.length;r++)for(i=e[r].sparklines,n=0;n<i.length;n++)i[n].row>=l.rowCount&&(l.rowCount=i[n].row+1),i[n].col>=l.columnCount&&(l.columnCount=i[n].col+1)},e.prototype.Kg=function(e,t){var r,i,n,o,l,s,c,u,d,f,p,h=this,m=h.Ne,g=m.sheets&&m.sheets[t];for(g.tables=e,r=0;r<e.length;r++){e[r].row+e[r].rowCount>g.rowCount&&(g.rowCount=e[r].row+e[r].rowCount),e[r].col+e[r].colCount>g.columnCount&&(g.columnCount=e[r].col+e[r].colCount),i=g.data&&g.data.dataTable,n=e[r],o=g.data&&g.data.defaultDataNode&&g.data.defaultDataNode.style&&g.data.defaultDataNode.style.font;for(l in n.style)n.style.hasOwnProperty(l)&&n.style[l]&&n.style[l].font&&(n.style[l].font=a.ConverterHelper.composeFontWeightAndFontStyleToDestFont(n.style[l].font,o));for(s={},c=n.row+n.rowCount,u=n.col+n.colCount,d=n.row;d<c;d++)for(f=n.col;f<u;f++)i[d]&&i[d][f]&&(p=i[d][f].style,G(s,p)?i[d][f].style=s[p]:H(h,m,i,d,f,s))}},e.prototype.Lg=function(e,t,r,n){var a=this.Ne.sheets[e],o,l=[],s=0,c;if(a&&a.data&&a.data.dataTable&&(o=a.data.dataTable))for(;n>0&&s<t.rowCount;)o[t.row+s]&&(c=o[t.row+s][r],i.J(c.value)||(l.push(c.value),n--)),s++;return l},e.prototype.Mg=function(e,t){var r,n,o,l,s,c,u,d=this;if(!i.J(e)&&!i.J(e.range))return r={},r.filterItemMap=[],r.filteredColumns=[],n=e.range,n=new i.Range(n.row+1,n.col,n.rowCount-1,n.colCount),r.range=n,e.filterColumns.forEach(function(e){var a,o=e.autoFilterColumnId+n.col,l=[],s=!1,c=e.colorFilter;c&&(l.push(y(c,d.hf[c.dxfId])),s=!0),a=e.filters,a&&(a.blank&&a.filter.push(""),a.filter.forEach(function(e){l.push(S(2,0,e,a.blank))}),a.dateGroupItem.forEach(function(e){var t=new Date(e.year,e.month>0?e.month-1:e.month,e.day,e.hour,e.minute,e.second);l.push(S(5,0,t,!a.blank))}),s=!0),e.customFilters&&(l.push(T(e.customFilters,i.J(t)?n:d.Lg(t,n,o,1))),s=!0),e.dynamicFilter&&(l.push(k(e.dynamicFilter,n,o)),s=!0),e.top10Filter&&(l.push(I(e.top10Filter)),s=!0),s&&(r.filteredColumns.push(o),r.filterItemMap.push({index:o,conditions:l}))}),o=e.sortInfo,o&&o.dxfId===h?r.sortInfo=o:o&&o.dxfId!==h&&(l=void 0,s=e.sortInfo.isBackColor,c=d.hf[o.dxfId]&&d.hf[o.dxfId].fill,c&&(0===c.patternType?l="":(u={},a.ConverterHelper.Ie(c,u),l="object"==typeof u.backColor?JSON.stringify(u.backColor):u.backColor)),r.sortInfo={ascending:o.ascending,index:o.index,isBackColor:s,color:l}),r},e.prototype.Ng=function(e,t){if(!i.J(e)){var r={};return r.filterItemMap=[],e.filterColumns.forEach(function(e){var i=[],n=e.filters;n&&(n.filter.forEach(function(e){i.push(S(t.conType,0,e,n.blank))}),n.dateGroupItem.forEach(function(e){var r=new Date(e.year,e.month>0?e.month-1:e.month,e.day,e.hour,e.minute,e.second);i.push(S(t.conType,0,r,!n.blank))})),e.customFilters&&i.push(A(e.customFilters,t)),e.dynamicFilter&&i.push(E(e.dynamicFilter,t)),e.top10Filter&&i.push(F(e.top10Filter,t)),r.filterItemMap.push({conditions:i})}),r}},e.prototype.Og=function(e,t){if(!i.J(e)){var r=this,n=r.Ne,a=n.sheets&&n.sheets[e];a.rowFilter=r.Mg(t,e),n.allowAutoExtendFilterRange=!0}},e.prototype.Pg=function(e,t){var r,i,n,a,l,s=this,c=s.Ne,u=c.sheets&&c.sheets[t];u.slicers=u.slicers||[],r=u.slicers,i=[];for(n in c.sheets)c.sheets[n].tables&&(i=i.concat(c.sheets[n].tables));a=[];for(l in c.sheets)c.sheets[l].pivotTables&&(a=a.concat(c.sheets[l].pivotTables));e.forEach(function(e){"pivot"===e.type||"timeline"===e.type?e.pivotName=_(e.pivotCacheId,a,c.pivotCaches):(e.tableName=R(e.tableId,i),e.columnName=L(e.tableId,e.columnId,i),delete e.tableId,delete e.columnId),o.inflateWorksheetByAnchor(u,e),r.push(e)})},e.prototype.Qg=function(e,t){var r,n,a,o,l;i.J(e)||(r=this,n=r.Ne,a=n.sheets&&n.sheets[e],o=r.Rg(t),l=a.validations,l||(l=a.validations=[]),o.ranges=N(t.ranges,", "),l.push(o))},e.prototype.Rg=function(e){var t,r,n,a,o,l,s,c;if(i.J(e))return p;switch(t=e.type,r=e.compareOperator,n=e.firstFormula,a=e.secondFormula,o={type:t},t){case 0:break;case 1:case 2:case 6:l={operator:r,value1:P(n),value2:P(a)};break;case 3:s=n,i.J(s)&&(s=a),s&&(l='"'===s[0]&&'"'===s[s.length-1]?{value:D(s)}:{formula:P(s)});break;case 4:case 5:c=void 0,i.J(n)||(c=parseFloat(n),isNaN(c)||(n=this.hg(c))),i.J(a)||(c=parseFloat(a),isNaN(c)||(a=this.hg(c))),l={operator:r,value1:n&&n.indexOf("/OADate(")!==-1?n:P(n),value2:a&&a.indexOf("/OADate(")!==-1?a:P(a)};break;case 7:l={formula:P(n)}}return l&&(o.validatorInfo=l),o!==p&&(o.errorStyle=e.errorType,o.errorMessage=e.error,o.errorTitle=e.errorTitle,o.ignoreBlank=e.allowBlank,o.inCellDropdown=e.showPromptBox,o.inputMessage=e.prompt,o.inputTitle=e.promptTitle,o.showErrorMessage=e.showErrorMessage,o.showInputMessage=e.showInputMessage),o},e.prototype.Sg=function(e,t){var r,n,a,o;function l(e){return e=e||0,parseInt(Math.round(100*e),10)}i.J(e)||(r=this,n=r.Ne,a=n.sheets&&n.sheets[e],a.printInfo||(a.printInfo={}),o=a.printInfo,o.margin={top:l(t.top),bottom:l(t.bottom),left:l(t.left),right:l(t.right),header:l(t.header),footer:l(t.footer)})},e.prototype.Tg=function(e,t){var r,n,a,o,l,s,c,u;i.J(e)||(r=this,n=r.Ne,a=n.sheets&&n.sheets[e],a.printInfo||(a.printInfo={}),o=a.printInfo,o.showGridLine=t.printGridLine,l=t.horizontalCentered,s=t.verticalCentered,c=0,l&&s?c=3:l?c=1:s&&(c=2),o.centering=c,u=t.printRowColumnsHeaders?2:1,o.showColumnHeader=u,o.showRowHeader=u)},e.prototype.Ug=function(e,t,r){e.rows||(e.rows=[]);var i=e.rows[t];i?i.pageBreak=r:e.rows[t]={pageBreak:r}},e.prototype.Vg=function(e,t,r){e.columns||(e.columns=[]);var i=e.columns[t];i?i.pageBreak=r:e.columns[t]={pageBreak:r}},e.prototype.Wg=function(e,t){var r,n,a,o,l,s,c,u,d,f,m,g,b,w,C;function S(e){var t,r,i,n,a;if(e===h)return p;if(t=["","",""],e===p||""===e)return t;for(r=0,i=1,n=e.length;r<n;){if(r<n-1){if(a=e.substr(r,2),"&L"===a){i=0,r+=2;continue}if("&C"===a){i=1,r+=2;continue}if("&R"===a){i=2,r+=2;continue}}t[i]=t[i].concat(e[r]),r++}return t}i.J(e)||(r=this,n=r.Ne,a=n.sheets&&n.sheets[e],a.printInfo||(a.printInfo={}),o=a.printInfo,l=t.paperSizeIndex,0!==l&&(o.paperSize={kind:l}),t.useCustomStartingPage&&(o.firstPageNumber=t.firstPageNumber),i.J(t.showColor)||(o.blackAndWhite=!t.showColor),o.orientation=2===t.orientation?2:1,o.pageOrder=2===t.pageOrder?2:1,t.zoomFactor>0&&(o.zoomFactor=t.zoomFactor),t.useSmartPrint&&(t.smartPrintPagesWidth>=1&&(o.fitPagesWide=t.smartPrintPagesWidth),t.smartPrintPagesHeight>=1&&(o.fitPagesTall=t.smartPrintPagesHeight)),s=t.advancedHeadFooterSetting,s&&(c=o.pageHeaderFooter={},o.differentOddAndEvenPages=s.headerFooterDifferentOddEvenPages,o.differentFirstPage=s.headerFooterDifferentFirstPage,u=S(s.headerOddPage),u&&(s.headerFooterDifferentOddEvenPages?c.odd={header:{left:u[0],center:u[1],right:u[2],leftImage:s.headerLeftImage,centerImage:s.headerCenterImage,rightImage:s.headerRightImage}}:c.normal={header:{left:u[0],center:u[1],right:u[2],leftImage:s.headerLeftImage,centerImage:s.headerCenterImage,rightImage:s.headerRightImage}},o.headerLeft=u[0],o.headerCenter=u[1],o.headerRight=u[2]),d=S(s.footerOddPage),d&&(s.headerFooterDifferentOddEvenPages?(c.odd=c.odd||{},c.odd.footer={left:d[0],center:d[1],right:d[2],leftImage:s.footerLeftImage,centerImage:s.footerCenterImage,rightImage:s.footerRightImage}):(c.normal=c.normal||{},c.normal.footer={left:d[0],center:d[1],right:d[2],leftImage:s.footerLeftImage,centerImage:s.footerCenterImage,rightImage:s.footerRightImage}),o.footerLeft=d[0],o.footerCenter=d[1],o.footerRight=d[2]),f=S(s.headerEvenPage),f&&(c.even={header:{left:f[0],center:f[1],right:f[2],leftImage:s.evenHeaderLeftImage,centerImage:s.evenHeaderCenterImage,rightImage:s.evenHeaderRightImage}}),m=S(s.footerEvenPage),m&&(c.even=c.even||{},c.even.footer={left:m[0],center:m[1],right:m[2],leftImage:s.evenFooterLeftImage,centerImage:s.evenFooterCenterImage,rightImage:s.evenFooterRightImage}),g=S(s.headerFirstPage),g&&(c.first={header:{left:g[0],center:g[1],right:g[2],leftImage:s.firstHeaderLeftImage,centerImage:s.firstHeaderCenterImage,rightImage:s.firstHeaderRightImage}}),b=S(s.footerFirstPage),b&&(c.first=c.first||{},c.first.footer={left:b[0],center:b[1],right:b[2],leftImage:s.firstFooterLeftImage,centerImage:s.firstFooterCenterImage,rightImage:s.firstFooterRightImage}),s.headerLeftImage&&(o.headerLeftImage=s.headerLeftImage),s.headerCenterImage&&(o.headerCenterImage=s.headerCenterImage),s.headerRightImage&&(o.headerRightImage=s.headerRightImage),s.footerLeftImage&&(o.footerLeftImage=s.footerLeftImage),s.footerCenterImage&&(o.footerCenterImage=s.footerCenterImage),s.footerRightImage&&(o.footerRightImage=s.footerRightImage)),w=t.rowBreakLines,w&&w.length>0&&w.forEach(function(e){r.Ug(a,e,!0)}),C=t.columnBreakLines,C&&C.length>0&&C.forEach(function(e){r.Vg(a,e,!0)}))},e.prototype.Xg=function(e,t){var r,i,n,a;e<0||(r=this,i=r.Yg(e),i.printInfo||(i.printInfo={}),n=s.getRangesFromString(t),1===n.length&&(a=n[0],a.row>-1&&(i.printInfo.rowStart=a.row),a.rowCount>0&&(i.printInfo.rowEnd=a.row+a.rowCount-1),a.col>-1&&(i.printInfo.columnStart=a.col),a.colCount>0&&(i.printInfo.columnEnd=a.col+a.colCount-1)))},e.prototype.Zg=function(e,t){var r,n,a,o,l;if(!(e<0))for(r=this,n=r.Yg(e),n.printInfo||(n.printInfo={}),a=s.getRangesFromString(t.replace(","," ")),o=0;o<a.length;o++)l=a[o],i.isRangeWholeRow(l)?(n.printInfo.repeatRowStart=l.row,n.printInfo.repeatRowEnd=l.row+l.rowCount-1):i.isRangeWholeColumn(l)&&(n.printInfo.repeatColumnStart=l.col,n.printInfo.repeatColumnEnd=l.col+l.colCount-1)},e.prototype.Yg=function(e){var t,r,i=this.Ne.sheets;for(t in i)if(i.hasOwnProperty(t)&&(r=i[t],r.index===e))return r;return h},e.prototype.$g=function(e){this._g=e,this.ah={},this.bh={}},e.prototype.dh=function(e,t){var r,i,n,a,o,l,s,c,u,d,p,h,m,g,b=this._g,w=+t-1;if(b&&("cm"===e?(r=b.cellMetadata,i=this.ah):"vm"===e&&(r=b.valueMetadata,i=this.bh)),r){if(n=[e,w].join(","),a=i[n])return a;if(o=J(r,w)){l=o.rc,s=l._attr,c=+s.t-1,u=+s.v;try{if(d=f(b.metadataTypes.metadataType),p=f(b.futureMetadata),h=d[c],m=h&&h._attr.name,g=U(p,m))return a={name:m,detail:J(g,u)},i[n]=a,a}catch(e){}}}},e.prototype.eh=function(e){var t=this.dh("cm",e);return t&&"XLDAPR"===t.name},e.prototype.fh=function(e,t){var r=this;i.J(r.Ne.docProps)&&(r.Ne.docProps={}),i.J(r.Ne.docProps.docPropsCore)&&(r.Ne.docProps.docPropsCore={}),r.Ne.docProps.docPropsCore[e]=t},e.prototype.gh=function(e,t){var r=this;i.J(r.Ne.docProps)&&(r.Ne.docProps={}),i.J(r.Ne.docProps.docPropsApp)&&(r.Ne.docProps.docPropsApp={}),r.Ne.docProps.docPropsApp[e]=t},e.prototype.hh=function(e){var t=this;i.J(t.Ne.docProps)&&(t.Ne.docProps={}),i.J(t.Ne.docProps.docPropsCustom)&&(t.Ne.docProps.docPropsCustom=[]),t.Ne.docProps.docPropsCustom=e},e}(),t.ReaderDataModel=w},"./src/datamodel/datamodel-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/datamodel/excel-style.ts"),o=r("./src/common/excel-types.ts"),l=r("./src/datamodel/excel-helper.ts"),s=r("./src/common/tuple.ts"),c=r("./src/datamodel/datetime-helper.ts"),u=a.ColorHelper.fromColorToExcelColor,d=a.ColorHelper.toExcelColor,f=i.Util.sa,p=i.Util.ta,h=void 0,m=null,g="__builtInStyle",b="__builtInValidatorStyle",w="__builtInTableStyle",C=/^(__builtInTableStyle\d+)?__builtInStyle\d+$/,S=/^__builtInTableStyle\d+__builtInStyle\d+$/;function x(e){return"string"==typeof e}function T(e){return"string"==typeof e||!e}function A(e){return"object"==typeof e}function k(e){return e.substring(0,19)===w}function E(e){return e.substring(0,23)===b}function I(e){var t=e.formula;return i.J(t)&&(t=e.expected,x(t)&&(t='"'+t+'"')),t}function F(e){var t,r,i;return x(e)&&(t=e.indexOf("/OADate(")+1,r=e.indexOf(")"),0!==t&&r>t&&(i=parseFloat(e.substring(t+7,r)),isNaN(i)||(e=""+i))),e}function P(e,t,r){var i,n=e.tables||[];return n.every(function(e){return!(e.row<=t&&t<=e.row+e.rowCount-1&&e.col<=r&&r<=e.col+e.colCount-1)||(i=e,!1)}),i}function D(e,t,r){var i,n=e.spans||[];return n.every(function(e){return!(e.row<=t&&t<=e.row+e.rowCount-1&&e.col<=r&&r<=e.col+e.colCount-1)||(i=e,!1)}),i}function R(e,t){var r,i=e.spans||[];for(r=0;r<i.length;r++)if(t.row===i[r].row&&t.col===i[r].col){i.splice(r,1);break}}function L(e){var t,r,i,n,a,o,l,s,c,u,d;if("/OADate("===e.substr(0,8)){if(t=parseFloat(e.substr(8,e.length-10)),r=t-25569,i=new Date(864e5*r),n=r>=0?1:-1,a=_(i),o=(864e5*t*1440+n-3181192704e6+864e5*a)/1440,l=new Date(o),s=a>=0?1:-1,c=new Date(o+36e5*s),u=_(c),a!==u)if(d=new Date(o+60*(u-a)*1e3),a>u){if(s===-1||u===_(l))return d=999===d.getMilliseconds()?new Date(d.valueOf()+1):d}else if(a<u&&(1===s||u===_(l)))return d=999===d.getMilliseconds()?new Date(d.valueOf()+1):d;return l=999===l.getMilliseconds()?new Date(l.valueOf()+1):l}}function _(e){var t=e.getTimezoneOffset();return t===-485&&(t=-485-43/60),t===-321&&(t=-321-10/60),t}function N(e,t,r){e.ih||(e.ih={}),e.ih[t]=r}function B(e){return e.defaults?e.defaults.rowHeight:n.DefaultSize.Ab}function M(e){return e.defaults?e.defaults.colWidth:n.DefaultSize.zb}function O(e,t,r){var i=e.data.dataTable[t];if(i&&i[r])return i[r].value}function G(e,t,r){void 0===r&&(r=0);var n=t.row,a=t.col,o=t.rowCount,l=t.colCount;return n===-1&&(n=r,o=e.rowCount),a===-1&&(a=0,l=e.columnCount),n<=0?n=0:(n--,o+=1),new i.Range(n,a,o,l)}t.getFilterRange=G;function H(e){return i.J(e)?e:e.length>=2&&"="===e[0]?e.substring(1):"="===e?"":e}function U(e,t,r,n){var a,o,l;if(1===r.colCount){for(a=[],l=r.row;l<r.row+r.rowCount;l++)o=O(e,l,r.col),i.J(o)||a.push(o);return a.sort(function(e,t){return n?t-e:e-t}),a[t-1]}}function J(e,t,r){var n,a={filterType:1};if(a.isBottom=1===t.type,t.percent&&(a.percent=!0),n=t.expected,!i.J(n))return a.value=n,a.percent&&(n=Math.ceil(r.rowCount%n/100)),i.J(r)?a.filterValue=NaN:a.filterValue=U(e,n,r,!a.isBottom),a}function W(e){var t,r={filterType:1};return r.isBottom=e.type===-1,r.percent=1===e.compareType,t=e.expected,i.J(t)||(r.value=t,r.filterValue=t),r}function V(e,t,r){var i,n,a,o,l={filterType:2};if(0===t.type?l.type=100:1===t.type&&(l.type=101),r===m)return m;for(i=0,n=0,a=0;a<r.rowCount;a++)o=parseFloat(O(e,r.row+a,r.col)),isNaN(o)||(i+=o,n++);return n>0&&(l.value=i/n),l}function z(e){var t=new Date,r=t.getDay(),i=t.getDate(),n=new Date(t),a=new Date(t);switch(e){case 3:n.setDate(i-6);break;case 1:n.setDate(i-1);break;case 0:break;case 2:n.setDate(i+1);break;case 8:n.setDate(i-r-7),a.setDate(i-r-1);break;case 7:n.setDate(i-r),a.setDate(i-r+6);break;case 9:n.setDate(i-r+7),a.setDate(i-r+13);break;case 5:n.setDate(1),n.setMonth(n.getMonth()-1),a.setDate(0);break;case 4:n.setDate(1),a.setMonth(a.getMonth()+1),a.setDate(0);break;case 6:n.setDate(1),n.setMonth(n.getMonth()+1),a.setMonth(a.getMonth()+2),a.setDate(0)}return n.setHours(0),n.setMinutes(0),n.setSeconds(0),a.setHours(23),a.setMinutes(59),a.setSeconds(59),{from:n,to:a}}function j(e){var t,r,i,n,a,o,l=new Date,s=l.getDay(),u=l.getDate(),d=new Date(l),f=new Date(l);switch(e){case 11:d.setDate(u-6);break;case 9:d.setDate(u-1);break;case 8:break;case 10:d.setDate(u+1);break;case 16:d.setDate(u-s-7),f.setDate(u-s-1);break;case 15:d.setDate(u-s),f.setDate(u-s+6);break;case 17:d.setDate(u-s+7),f.setDate(u-s+13);break;case 13:d.setDate(1),d.setMonth(d.getMonth()-1),f.setDate(0);break;case 12:d.setDate(1),f.setMonth(f.getMonth()+1),f.setDate(0);break;case 14:d.setDate(1),d.setMonth(d.getMonth()+1),f.setMonth(f.getMonth()+2),f.setDate(0);break;case 18:t=d.getMonth()-d.getMonth()%3+1+3,r=t+3+3,d.setDate(1),d.setMonth(t),f.setMonth(r),f.setDate(0);break;case 19:i=d.getMonth()-d.getMonth()%3+1,n=i+3,d.setDate(1),d.setMonth(i),f.setMonth(n),f.setDate(0);break;case 20:a=d.getMonth()-d.getMonth()%3+1-3,o=i+3-3,d.setDate(1),d.setMonth(a),f.setMonth(o),f.setDate(0);break;case 21:d.setDate(1),d.setMonth(1),d.setFullYear(d.getFullYear()+1),f.setFullYear(f.getFullYear()+2),f.setMonth(0),f.setDate(0);break;case 22:d.setDate(1),d.setMonth(1),f.setFullYear(f.getFullYear()+1),f.setMonth(0),f.setDate(0);break;case 23:d.setDate(1),d.setMonth(1),d.setMonth(d.getFullYear()-1),f.setMonth(0),f.setDate(0);break;case 40:d.setMonth(0,1),d.setHours(0,0,0,0),f.setHours(23,59,59,999)}return d.setHours(0),d.setMinutes(0),d.setSeconds(0),f.setHours(23),f.setMinutes(59),f.setSeconds(59),{from:c.DateTimeHelper.ig(d),to:c.DateTimeHelper.ig(f)}}function X(e){var t,r=e.expected,i={filterType:2,type:r,conType:e.conType,expectTypeId:e.expectTypeId};return r>=0&&r<=15||r>=21&&r<=32?(t=z(r),t.from&&t.to&&(i.value=t.from,i.maxValue=t.to)):i.type=-1,i}function K(e){if(!i.J(e.compareType)){var t={filterType:4};return t.filter1={},t.filter1.operator=e.compareType,i.J(e.expected)?t.filter1.value=H(e.formula):t.filter1.value=e.expected,t}}function q(e){var t,r,n,a;if(!i.J(e.compareType))return t={filterType:4},t.filter1={},r=e.compareType,n=void 0,a=void 0,6===r?(n=5,a=3,t.and=!0):(n=r,a=r),t.filter1.operator=n,e.item1&&!i.J(e.item1.expected)&&(t.filter1.value=e.item1.expected),e.item2&&!i.J(e.item2.expected)&&(t.filter2={},t.filter2.operator=a,t.filter2.value=e.item2.expected),t}function Y(e){var t=e.expected,r=-1;switch(e.compareType){case 0:return{filterType:3,filter:[t]};case 1:r=1;break;case 2:t+="*";break;case 3:r=1,t+="*";break;case 4:t="*"+t;break;case 5:r=1,t="*"+t;break;case 6:t="*"+t+"*";break;case 7:r=1,t="*"+t+"*"}return{filterType:4,filter1:{operator:r,value:t}}}function Q(e){var t,r,n;if(i.J(e.value1)?i.J(e.item1)||(t=e.item1.expected):t=e.value1,i.J(e.value2)?i.J(e.item2)||(r=e.item2.expected):r=e.value2,!r){switch(n=-1,e.compareType){case 0:return{filterType:3,filter:[t]};case 1:n=1;break;case 2:t+="*";break;case 3:n=1,t+="*";break;case 4:t="*"+t;break;case 5:n=1,t="*"+t;break;case 6:t="*"+t+"*";break;case 7:n=1,t="*"+t+"*";break;case 8:n=2;break;case 9:n=5;break;case 10:n=4;break;case 11:n=3}return{filterType:4,filter1:{operator:n,value:t}}}return 12===e.compareType?{filterType:4,filter1:{operator:3,value:t},filter2:{operator:5,value:r}}:13===e.compareType?{filterType:4,filter1:{operator:4,value:t},filter2:{operator:2,value:r}}:void 0}function Z(e,t){var r;r="/OADate"===e.expected.substring(0,7)?L(e.expected):new Date(e.expected),t.dateGroupItem=t.dateGroupItem||[],t.dateGroupItem.push({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate(),hour:r.getHours(),minute:r.getMinutes(),second:r.getSeconds(),dateTimeGrouping:2})}function $(e,t){var r,n,a=i.J(e.compareType)?e.operator:e.compareType;if(a>=8&&a<=23||40===a)r={filterType:2,type:t},n=j(a),n.from&&n.to&&(r.value=n.from,r.maxValue=n.to);else if(a>=24&&a<=39)r={filterType:2,type:t};else if(a>=0&&a<=7)return q(e);return r}t.getPivotDateFilter=$;function ee(e){var t,r,i;if(0===e.compareType)return t={filterType:3},Z(e,t),t;switch(r=-1,e.compareType){case 0:break;case 1:r=1;break;case 2:r=4;break;case 3:r=5;break;case 4:r=2;break;case 5:r=3}return r!==-1?(i=I(e),i=F(i),{filterType:4,filter1:{operator:r,value:i}}):void 0}function te(e){var t,r,n=[],a=[];for(a.push(e);a.length>0;)t=a.shift(),0===t.conType?(r=t,i.J(r.item1)||a.push(r.item1),i.J(r.item2)||a.push(r.item2)):n.push(t);return n}function re(e){var t=-1;switch(e){case 0:case 2:case 4:case 6:t=0;break;case 1:case 3:case 5:case 7:t=1;break;default:t=0}return t}function ie(e,t){switch(t){case 0:case 1:return e;case 2:case 3:return e.concat("*");case 4:case 5:return"*".concat(e);case 6:case 7:return"*".concat(e).concat("*");default:return e}}function ne(e){var t={filterType:3,filter:[]};return e.forEach(function(e){i.J(e.expected)||t.filter.push(e.expected)}),t}function ae(e,t){return e.every(function(e){return e.conType===t})}function oe(e,t,r){var n,a,o,l,s,c,u,d,f,p,h,g,b;if(0===e.compareType){if(n=te(e),ae(n,5))return a={filterType:3},n.forEach(function(e){Z(e,a)}),a;if(ae(n,2)){if(s=!1,n.length<=2)for(c=0;c<n.length;c++)if(0!==n[c].compareType){s=!0;break}return s?(l={filterType:4},u=n[0],o=re(u.compareType),l.filter1={},l.filter1.operator=o,i.J(u.expected)?l.filter1.value=H(u.formula):l.filter1.value=ie(u.expected,u.compareType),2===n.length&&(u=n[1],o=re(u.compareType),l.filter2={},l.filter2.operator=o,i.J(u.expected)?l.filter2.value=H(u.formula):l.filter2.value=ie(u.expected,u.compareType)),l.and=!1,l):ne(n)}if(ae(n,11)){if(d=!0,n.length<=2&&(d=!1),d)return ne(n);if(n.length>0)return f=n[0],l={filterType:4,filter1:{operator:f.compareType}},i.J(f.expected)?l.filter1.value=H(f.formula):l.filter1.value=f.expected,2===n.length&&(f=n[1],l.filter2={operator:f.compareType},i.J(f.expected)?l.filter2.value=H(f.formula):l.filter2.value=f.expected),l.and=!1,l}return l={filterType:4,and:!1},p=le(t,n[0],r),l.filter1=p.filter1,n.length>1&&(h=le(t,n[1],r),l.filter2=h.filter1),l}if(n=te(e),2===n.length)return l={filterType:4},l.and=!0,g=le(t,n[0],r),i.J(g)||!g.filter1?m:(l.filter1=g.filter1,b=le(t,n[1],r),i.J(b)||!b.filter1?m:(l.filter2=b.filter1,l))}function le(e,t,r){if(e===m)return m;var i=t.conType;if(3===i);else{if(8===i)return J(e,t,r);if(10===i)return V(e,t,r);if(6===i)return X(t);if(11===i||1===i)return K(t);if(2===i)return Y(t);if(5===i)return ee(t);if(0===i)return oe(t,e,r)}}function se(e,t){var r=e.conType;return 3===r?W(e):2===r?q(e):0===r?Q(e):1===r?$(e,t):void 0}function ce(e){var t,r,n;return i.J(e)?m:(t=m,r=m,n=0,n=1===e.compareType?6:7,e.item1&&(t=0===e.item1.conType?ce(e.item1):ue(e.item1)),e.item2&&(r=0===e.item2.conType?ce(e.item2):ue(e.item2)),new s.Tuple(t,r,n))}function ue(e){if(!i.J(e)){var t=e.conType,r,n;return 0===t?ce(e):1===t||7===t?(r=e.compareType,n=e.formula,i.J(n)&&(n=e.expected),new s.Tuple(n,m,r)):4===t?new s.Tuple(i.J(e.formula)?e.expected:e.formula,m,1):12===t||5===t||13===t?(n=I(e),new s.Tuple(n,m,1)):m}}function de(e){if(e instanceof s.Tuple){var t=e;if(!i.J(t.item1))return de(t.item1)}else if(!i.J(e))return H(""+e);return""}function fe(e,t,r){var n,a,o,l,s;return i.J(e)?m:(n=ue(e.condition),a=m,o=m,i.J(n)||(i.J(n.item1)||(a=de(n.item1)),i.J(n.item2)||(o=de(n.item2))),l={},(p(a,t,r)||p(o,t,r))&&(l.external=!0),s=e.type,l.type=s,l.firstFormula=a,l.secondFormula=o,4!==s&&5!==s||(i.J(l.firstFormula)||(l.firstFormula=F(l.firstFormula)),i.J(l.secondFormula)||(l.secondFormula=F(l.secondFormula))),l.compareOperator=e.comparisonOperator,l.allowBlank=e.ignoreBlank,l.error=e.errorMessage,l.errorTitle=e.errorTitle,l.errorStyle=e.errorStyle,l.prompt=e.inputMessage,l.showPromptBox=e.inCellDropdown,l.promptTitle=e.inputTitle,l.showErrorBox=e.showErrorMessage,l.showInputMessage=e.showInputMessage,l)}function pe(e,t,r){if(r.ih&&r.ih[e])return r.ih[e];var n=i.ga._(r.namedStyles,e);return n?(N(r,e,n),n):t.ih&&t.ih[e]?t.ih[e]:(n=i.ga._(t.namedStyles,e),n&&N(t,e,n),n)}function he(e,t,r,i){e.forEach(function(e){var n=fe(e,r,i);n.ranges=e.ranges.split(", ").join(" "),t.push(n)})}y={empty:0,thin:1,medium:2,dashed:3,dotted:4,thick:5,double:6,hair:7,mediumDashed:8,dashDot:9,mediumDashDot:10,dashDotDot:11,mediumDashDotDot:12,slantedDashDot:13};function me(e){if(e){var t={};return e.borderColor&&(t.color=e.borderColor),e.borderStyle&&(t.style=y[e.borderStyle]),t}}function ge(e,t){var r,i;if(e){for(r in e)e.hasOwnProperty(r)&&r.indexOf("border")>=0&&(i=e[r],i&&(e[r]=me(i)));return t&&(e.isSlicerHeader=!0),e}}function be(e){var t,r,n=e.sheets;if(n)for(t in n)n.hasOwnProperty(t)&&(r=n[t],r.defaults=r.defaults||i.Ea())}function we(e){var t,r;if(i.J(e)||!Array.isArray(e))return m;for(t=[],r=0;r<e.length;r++)t.push(e[r].text?e[r].text:"");return t.join("")}function Ce(e,t){var r=null;return t.forEach(function(t){t.name===e&&(r=t.id)}),r}function Se(e,t,r){for(var i=0;i<e.styleElements.length;i++)e.styleElements[i].type===t&&(e.styleElements[i].size=r)}function ye(e,t){return f(e,t,l.isBorderEqual)}function ve(e,t){return e[t.name]&&f(e[t.name],t,ye)}function xe(e,t){for(var r=t,i=1;e[r];)r=t+"_"+i,i++;return r}function Te(e,t){var r=t;return null!==e&&void 0!==e&&(r=e),(r/100).toFixed(2)}function Ae(e){var t,r=e.names;if(r)for(t=0;t<r.length;t++)if("@"===r[t].name){r.splice(t,1);break}}function ke(e){var t,r,i,n,a,o=e.jh;if(o&&o.dataSourceOption&&o.dataSourceOption.schema&&o.dataSourceOption.schema.hierarchy)for(t=o.dataSourceOption.schema.hierarchy,r=o.views.filter(function(t){return t.name===e.addition.dataView.name})[0],i=r.columns,n=0;n<i.length;n++)if(a=i[n],a.outlineColumn||a.value===t.outlineColumn||t.outlineColumn&&a.value===t.outlineColumn.value)return!0}function Ee(e){var t,r,n,a,o,l,s,c,u,d,f,p,m=e.colHeaderRowCount||1;if(e.rowCount+=m,t=e.data,ke(e)){for(r=0;r<m;r++)e.rowOutlines.items.unshift(h);for(n=e.rowOutlines.itemsData,r=0;r<n.length;r++)a=n[r],a.index+=m}for(o=t.dataTable,o||(o=t.dataTable={}),l=e.rowCount-m;l>=0;l--)o[l+m]=o[l];for(s=e.colHeaderData.dataTable,l=0;l<m;l++)o[l]=s&&s[l]||{};if(c=e.colHeaderRowInfos,u=e.defaults&&e.defaults.colHeaderRowHeight,!i.J(u))for(c||(c=[]),l=0;l<m;l++)c[l]?i.J(c[l].size)&&(c[l].size=u):c[l]={size:u};if(c&&c.length>0)for(d=e.rows,d||(e.rows=[]),l=0;l<c.length;l++)e.rows.splice(l,0,c[l]);for(f=t.rowDataArray,f||(f=t.rowDataArray={}),l=e.rowCount-m;l>=0;l--)f[l+m]=f[l];for(p=e.colHeaderData.rowDataArray,l=0;l<m;l++)f[l]=p&&p[l]||{};e.frozenRowCount>0&&(e.frozenRowCount+=m,e.topCellIndex+=m)}function Ie(e){var t,r,i,n,a,o=e.colHeaderRowCount||1,l=[],s=e.data,c=s.dataTable,u=c[o-1];if(e.columnCount=e.columnCount||e.columns&&e.columns.length||0,0!==e.rowCount&&0!==e.columnCount){if(u)for(t=0;t<e.columnCount;t++)r={id:t+1},i=u[t],r.name=i&&i.value||"Column"+(t+1),l.push(r);for(n={},t=l.length-1;t>=0;t--)a=l[t],n[a.name]?a.name=a.name+" "+t:n[a.name]=!0;e.tables=[{name:e.name,row:o-1,col:0,rowCount:e.rowCount,colCount:e.columnCount,rowFilter:{range:{row:o,col:0,rowCount:e.rowCount-1,colCount:e.columnCount},showFilterButton:!0},columns:l}]}}function Fe(e,t){var r=e;return r.length>255?r=r.slice(-240):(r=t+" "+r,r.length>250&&(r=e+" "+Math.random().toString(36).slice(-6))),r}function Pe(e){Ee(e),delete e.rowFilter,Ie(e)}function De(e,t){var r,n,o,l,s;i.J(e.numberFormat)||(r=e.numberFormat,n={},o=a.ExtendedNumberFormatHelper.getFormatId(r),l=o.id,s=o.isBuiltIn,s?(n.numberFormatIndex=l,e.numberFormatId=l):(n.numberFormat=new a.ExcelNumerFormat(l,r),
19
+ e.numberFormatId=n.numberFormat.numberFormatId),t.push(n))}function Re(e,t){var r={name:e};return l.getPictureInfo(t,r),r}function Le(e,t,r){var n=m,a=h,o=!1;return i.J(e)||(A(e)?Array.isArray(e)?n=e.join(","):(a=e.richText,a?n=we(a):i.J(e._code)||(n=e),o=e._code>=99,o&&r<3&&(r=t?2:3)):(n=e,t&&r<1&&(r=1))),{value:n,richText:a,isSpillError:o,dynamicArrayLevel:r}}function _e(e){return e&&"'"===e[0]&&"'"===e[e.length-1]&&(e=e.substring(1,e.length-1)),e}v=function(){function e(e){var t=this;t.kh(e),t.Ne=e,t.lh={},t.mh=[],t.nh={},t.oh=[],t.ph={},t.qh=[],t.rh={},t.sh={},t.af=[],t.th=[],t.uh={},t.vh={},t.wh={},t.xh={},t.yh={},t.Ah={},t.Bh={},t.hf=[],t.Ch=[],t.Dh=[],t.Eh=e.allowDynamicArray?1:0,t.Fh={},t.Gh={},t.Hh={},t.Ih=[]}return e.prototype.kh=function(e){var t,r,i,n,a,o,l,s,c,u=e.sheetCount||0;if(e.sheetCount=u+(e.sheetTabCount||0),t=e.activeSheetIndex,r=e.activeSheetTabIndex,(void 0===t||t<0)&&void 0!==r&&r>=0&&(e.activeSheetIndex=u+r),i=e.sheetTabs){n=function(t){if(i.hasOwnProperty(t)){var r=i[t];e.dataManager&&e.dataManager.tables&&r.addition&&r.addition.dataView&&r.addition.dataView.tableName&&(r.jh=e.dataManager.tables.filter(function(e){return e.name===r.addition.dataView.tableName})[0]),Pe(r),Ae(r)}};for(a in i)n(a);if(o=e.sheets){for(l in i)i.hasOwnProperty(l)&&(o[l]=i[l]);for(s in o)o.hasOwnProperty(s)&&(c=o[s],"number"==typeof c.order&&(c.index=c.order))}else e.sheets=i}void 0===e.startSheetIndex&&(e.startSheetIndex=0)},e.prototype.$e=function(){var e=a.DefaultStyle.Jh(this.Ne);this.lh.Normal=0,this.af.push(e),this.th.push(e),this.vh[e.name]=this.af.length-1},e.prototype.Kh=function(e){var t=e.index;this.uh[t]||(this.uh[t]={}),this.wh[t]||(this.wh[t]={}),this.xh[t]||(this.xh[t]={}),this.yh[t]||(this.yh[t]={}),this.Ah[t]||(this.Ah[t]={})},e.prototype.Lh=function(e,t){var r,n,a,l,s,c,u,d;if(!e||!t)return!1;if(r=!0,!i.StringEx.L(t.fileName)&&(n=this.Mh(t.fileType),!i.StringEx.L(n))){for(a=new o.OverrideContentType,a.partName=t.fileName,a.contentType=n,l=!1,s=0,c=e.length;s<c;s++)if(u=e[s],u instanceof o.OverrideContentType&&u.contentType===a.contentType&&u.partName===a.partName){l=!0;break}l||e.push(a)}if(t.relationFiles&&t.relationFiles.count>0)for(d in t.relationFiles)t.relationFiles.hasOwnProperty(d)&&"count"!==d&&(r=r&&this.Lh(e,t.relationFiles[d]));return r},e.prototype.Mh=function(e){if(i.StringEx.L(e))return"";switch(e){case n.RelationshipConstants.Sa:return n.XFileConstants.Ib;case n.RelationshipConstants.Pa:return n.XFileConstants.Jb;case n.RelationshipConstants.Ua:return n.XFileConstants.Kb;case n.RelationshipConstants.Na:return n.XFileConstants.Lb;case n.RelationshipConstants.Ra:return n.XFileConstants.Mb;case n.RelationshipConstants.Za:return n.XFileConstants.Ob;case n.RelationshipConstants.$a:return n.XFileConstants.Pb;case n.RelationshipConstants._a:return n.XFileConstants._b;case n.RelationshipConstants.eb:return n.XFileConstants.Qb;case n.RelationshipConstants.jb:return n.XFileConstants.fc;case n.RelationshipConstants.kb:return n.XFileConstants.gc;case n.RelationshipConstants.lb:return n.XFileConstants.Rb;case n.RelationshipConstants.mb:return n.XFileConstants.Sb;case n.RelationshipConstants.pb:return n.XFileConstants.Ub;case n.RelationshipConstants.qb:return n.XFileConstants.Tb;case n.RelationshipConstants.ob:return n.XFileConstants.Vb;case n.RelationshipConstants.sb:return n.XFileConstants.fe;case n.RelationshipConstants.Ka:return n.XFileConstants.se;case n.RelationshipConstants.La:return n.XFileConstants.ve;case n.RelationshipConstants.Ma:return n.XFileConstants.ye;case n.RelationshipConstants.Wa:return n.XFileConstants.cc;case n.RelationshipConstants.Xa:return n.XFileConstants.dc;case n.RelationshipConstants.Ya:return n.XFileConstants.ec;case n.RelationshipConstants.bb:return n.XFileConstants.lc;case n.RelationshipConstants.ub:return n.XFileConstants.ic;case n.RelationshipConstants.tb:return n.XFileConstants.hc;default:return""}},e.prototype.Nh=function(e,t,r,i,n){var a,o,s,c,u,d,f,p,h,m,b,C,S,y=this,v=y.Ne,x=v.namedStyles;for(a=0;a<e.length;a++)if(o=e[a])for(s=o.row,c=o.col,u=o.rowCount,d=o.colCount,f=0;f<u;f++)if(p=t[s+f])for(h=0;h<d;h++)if(m=p[c+h],m&&m.style){if("string"==typeof m.style){if(n[m.style]){m.style=n[m.style];continue}m.style=r[m.style]}m.style&&(m.style=l.resetTableCellStyle(m.style,i),m.style.name&&(b=m.style.name,C=b.indexOf(g),y.Oh++,S=w+y.Oh+b.substring(C),m.style.name=S,x.push(m.style),m.style=S,n[b]=S))}},e.prototype.Ph=function(){var e,t,r=this,i=r.Ne;r.$e(),r.Qh();for(e in i.sheets)if(i.sheets.hasOwnProperty(e)){if(t=i.sheets[e],!t)continue;r.Rh(t),r.Kh(t),r.Sh(t),r.Th(t),r.Uh(t),r.Vh(t),r.Wh(t)}be(r.Ne)},e.prototype.Xh=function(){var e=this;e.onCompleted&&e.onCompleted()},e.prototype.Wh=function(e){var t,r,i=e.conditionalFormats&&e.conditionalFormats.rules;if(i)for(t=0;t<i.length;t++)r=i[t],r.style&&(r.style.isPartFontStyle=!0,r.style.isFormatStyle=!0,r.dxfId=this.Yh(r.style));e.Zh=this.$h(e),this._h(e),this.ai(e),this.bi(e),this.ci(e)},e.prototype.Yh=function(e){var t=this,r=t.hf.indexOf(e);return r===-1&&(r=t.hf.length,t.hf.push(e)),r},e.prototype.di=function(e){var t=this,r=t.Ch.indexOf(e);return r===-1&&(r=t.Ch.length,t.Ch.push(e)),r},e.prototype.ei=function(e){var t=this,r=t.Dh.indexOf(e);return r===-1&&(r=t.Dh.length,t.Dh.push(e)),r},e.prototype.ci=function(e){var t=this,r=e.slicers,n=t.fi();r&&r.length>0&&r.forEach(function(e){var r,a,o,l,s,c,u=e&&e.style;if(!i.J(u.name)){if(r={},!ve(t.nh,u)){r={styleElements:[],name:xe(t.nh,u.name)},u.name=r.name;for(a in u)if(u.hasOwnProperty(a)&&"name"!==a&&!i.J(u[a]))switch(a){case"headerStyle":case"wholeSlicerStyle":o={},o.type=a,o.dxfId=t.Yh(ge(u[a],"headerStyle"===a)),o.tableId=Ce(e.tableName,n),r.styleElements.push(o)}t.mh.push(r)}if("timeline"===e.type){if(!ve(t.rh,u)){l={styleElements:[],name:xe(t.rh,u.name)},u.name=r.name;for(s in u)if(u.hasOwnProperty(s)&&"name"!==s&&!i.J(u[s]))switch(s){case"selectionLabelStyle":case"timeLevelStyle":case"periodLabel1Style":case"periodLabel2Style":case"selectedTimeBlockStyle":case"unselectedTimeBlockStyle":case"selectedTimeBlockSpaceStyle":l.styleElements.push({type:s,dxfId:t.ei(ge(u[s]))})}t.qh.push(l),t.rh[l.name]=u}}else if(!ve(t.ph,u)){c={styleElements:[],name:xe(t.nh,u.name)},u.name=r.name;for(s in u)if(u.hasOwnProperty(s)&&"name"!==s&&!i.J(u[s]))switch(s){case"selectedItemWithDataStyle":case"selectedItemWithNoDataStyle":case"unSelectedItemWithDataStyle":case"unSelectedItemWithNoDataStyle":case"hoveredSelectedItemWithDataStyle":case"hoveredSelectedItemWithNoDataStyle":case"hoveredUnSelectedItemWithDataStyle":case"hoveredUnSelectedItemWithNoDataStyle":c.styleElements.push({type:s,dxfId:t.di(ge(u[s]))})}t.oh.push(c),t.ph[c.name]=u}}})},e.prototype._h=function(e){var t,r,n=this;function a(e,t){var r,a,o,l,s,c,u,d=e&&e.style;if(!i.J(d&&d.name)){if(ve(n.nh,d))return;r={styleElements:[]},r.name=xe(n.nh,d.name),d.name=r.name,a=void 0,o=void 0,l=void 0,s=void 0;for(c in d)if(d.hasOwnProperty(c)&&"name"!==c&&void 0!==d[c])switch(c){case"firstRowStripSize":a=d[c];break;case"secondRowStripSize":o=d[c];break;case"firstColumnStripSize":l=d[c];break;case"secondColumnStripSize":s=d[c];break;default:u={},u.type=c,d[c].isPartFontStyle=!0,u.dxfId=n.Yh(d[c]),r.styleElements.push(u)}Se(r,"firstRowStripStyle",a||1),Se(r,"secondRowStripStyle",o||1),Se(r,"firstColumnStripStyle",l||1),Se(r,"secondColumnStripStyle",s||1),Se(r,"firstRowStripeStyle",a||1),Se(r,"secondRowStripeStyle",o||1),Se(r,"firstColumnStripeStyle",l||1),Se(r,"secondColumnStripeStyle",s||1),r.isPivot=t,n.mh.push(r),n.nh[r.name]=d}}t=e.pivotTables,t&&t.length>0&&t.forEach(function(e){return a(e,!0)}),r=e.tables,r&&r.length>0&&r.forEach(function(e){return a(e,!1)})},e.prototype.ai=function(e){var t=this,r=e.pivotTables;r&&r.length>0&&r.forEach(function(e){!i.J(e.formats)&&e.formats.length>0&&e.formats.forEach(function(e){var r,n,o,l,s;i.J(e.style)||(e.dxfId=t.Yh(e.style),e.style&&!i.J(e.style.formatter)&&(r=e.style.formatter,n={},o=a.ExtendedNumberFormatHelper.getFormatId(r),l=o.id,s=o.isBuiltIn,s?(n.numberFormatIndex=l,e.style.numberFormatId=l):(n.numberFormat=new a.ExcelNumerFormat(l,r),e.style.numberFormatId=n.numberFormat.numberFormatId),t.Ih.push(n)))}),!i.J(e.fields)&&e.fields.length>0&&e.fields.forEach(function(e){De(e,t.Ih)}),!i.J(e.dataFields)&&e.dataFields.length>0&&e.dataFields.forEach(function(e){De(e,t.Ih)})})},e.prototype.bi=function(e){var t,r=e.tables,i=r?r.length:0,n={};for(t=0;t<i;t++)r[t].tableSortInfo=this.gi(r[t].rowFilter);e.hi=n,e.rowFilter&&(e.rowFilter.autoFilterSortInfo=this.gi(e.rowFilter))},e.prototype.Th=function(e){var t,r=this,i=e.rows,n=B(e);for(e.rowsVisibleInfo={},t=0;t<e.rowCount;t++)e.rowsVisibleInfo[t]={},e.rowsVisibleInfo[t].size=i&&i[t]&&i[t].size||n,e.rowsVisibleInfo[t].visible=r.ii(e,t)},e.prototype.Uh=function(e){var t,r,i=e.columns,n=M(e),a=e.columnOutlines;for(e.columnVisibleInfo={},t=0;t<e.columnCount;t++)e.columnVisibleInfo[t]={},r=i&&i[t],e.columnVisibleInfo[t].size=r&&r.size||n,r&&r.visible===!1&&(e.columnVisibleInfo[t].visible=!1),l.isCollapsed(t,a)&&(e.columnVisibleInfo[t].visible=!1)},e.prototype.Rh=function(e){e.rowCount===h&&(e.rowCount=200),e.columnCount===h&&(e.columnCount=20),e.activeRow===h&&(e.activeRow=0),e.activeCol===h&&(e.activeCol=0),e.visible===h&&(e.visible=!0)},e.prototype.Vh=function(e){var t,r,i=e.index,n=this.yh[i],a=e.columnCount,o=e.data&&e.data.defaultDataNode&&e.data.defaultDataNode.style;for(t=0;t<a;t++)r=this.ji(e,-1,t),this.ki(e,n,t,r,o)},e.prototype.Sh=function(e){var t,r,n,a,l,s,c,u,d,f,p,g,b,w,C,S,y,v,x,T,A,k,E,I,L,_,N,B,M,O,G,H,U,J,W,V,z,j,X,K,q,Y,Q,Z,$,ee,te,re=this,ie=e.index,ne=e.data&&e.data.dataTable,ae=e.data&&e.data.rowDataArray,oe=e.defaultData,le=re.Eh,se=re.Hh;if(0!==e.rowCount){if(t=re.li(ne,e,oe)+1,r=re.wh[ie],n=re.xh[ie],a=re.mi(e,t),l=re.Ah[ie],s=57,c=re.ni(e),u=[],d=e.tables,!i.J(d)&&Array.isArray(d))for(f=0;f<d.length;f++)for(p=d[f],g=p.row,b=g+p.rowCount-1,w=g;w<=b;w++)u[w]||(u[w]=!0);for(C={},S=e.data&&e.data.defaultDataNode&&e.data.defaultDataNode.style,y=0;y<=c&&y>=0;y++)if(ne&&ne.hasOwnProperty(y+"")||ae&&ae[y]||u[y]||oe&&oe.hasOwnProperty(y+"")){for(v=re.ki(e,n,y,re.ji(e,y,-1),S),x=s,T=ne&&ne[y],A=oe&&oe[y],k=0;k<t&&k>=0;k++)if(E=P(e,y,k),T&&T.hasOwnProperty(k+"")||E||A&&A.hasOwnProperty(k+"")){if(I=y*t+k,L=void 0,_=void 0,N=m,B=m,M=m,O=T&&T[k],G=A&&A[k],H=h,U=!1,O&&(B=O.formula,M=O.arrayInfo,J=M&&M.isDynamicArray,W=O.value,V=Le(W,J,le),N=V.value,H=V.richText,U=V.isSpillError,le=V.dynamicArrayLevel),!B&&i.J(N)&&G&&(N=Le(G.v,h,le).value),z=!1,E&&(z=!0,j=D(e,y,k),j&&R(e,j)),X=re.oi(e,y,k,r,a[k],v,S,I,N),_=X.styleName,L=X.styleInfo,z){if(E.showHeader!==!1&&y===E.row&&(N=E.columns[k-E.col]&&E.columns[k-E.col].name,N&&N.indexOf("\n")!==-1&&H))for(K=0;K<H.length;K++)H[K].text=i.Util.ua(H[K].text,"\r","");E.showFooter&&y===E.row+E.rowCount-1&&(q=E.columns[k-E.col],i.J(q&&q.footerValue)||(N=""+q.footerValue))}if(Y=re.pi(N,!i.J(H)),Q=Y.value,Q=F(Q),Z=Y.cellType,L||B||Q!==m||!i.StringEx.L(_)){if($=new o.ExcelCell(y,k),$.cellType=Z,$.value=Q,$.richText=H,$.isSpillError=U,$.qi=C[y+","+k],re.dg(r,I,L,_,$),re.ri(B,M,$),M&&M.isDynamicArray&&!$.isSpillError)for(ee=M.row;ee<M.row+M.rowCount;ee++)for(te=M.col;te<M.col+M.colCount;te++)C[ee+","+te]=1;re.ti(ie,y,$),re.ui($,e,y,k,se)}}l[y]=x}re.Eh=le,re.sh={}}},e.prototype.ni=function(e){var t=this.vi(e);return Math.min(e.rowCount-1,t.length>0?t.length:0)},e.prototype.ki=function(e,t,r,n,a){var o,l,s=this;return n&&(o=s.wi(e,n)),o?(o.parentName&&(o.parentName=s.xi(e,o.parentName),l=s.af[s.lh[o.parentName]],i.ga.ca(o,l)),s.yi(e,o,a),i.ga.ba(o)||(t[r]=s.zi(o),o.parentName&&s.isSameStyleInfo(s.af[s.lh[o.parentName]],o,!0)||(o.parentName=m)),n):m},e.prototype.Ai=function(){var t,r,n,a,o,l,s,c,u,d=this,f=d.Ne,p=f.sheets;for(r in p)if(p.hasOwnProperty(r)&&(n=p[r],a=n.namedStyles,a&&a.length>0)){if(!t)if(t={},f.namedStyles)for(o=f.namedStyles,l=0;l<o.length;l++)t[o[l].name]=1;else f.namedStyles=[];for(l=0;l<a.length;l++)if(s=a[l],c=s.name,!E(c)&&!k(c)&&i.J(e.Bi[c])){for(u=s.name;t[u]||u.length>255;)u=Fe(u,n.name);s.name=u,f.namedStyles.push(s),t[u]=1,c!==u&&(n.renamedStyles=n.renamedStyles||{},n.renamedStyles[c]=u)}}},e.prototype.Ci=function(){var t,r,i,n,a,o=this,l=o.Ne,s=l.namedStyles,c={},u={};o.Oh=0,t=e.Jh(l),s?s.forEach(function(e){var t,r,i,n;e&&(t=e.name,c[t]=e,t&&S.test(t)&&(r=19,i=t.indexOf(g),n=parseInt(t.substring(r,i),10),o.Oh=Math.max(n,o.Oh)))}):l.namedStyles=[];for(r in l.sheets)if(l.sheets.hasOwnProperty(r)){if(i=l.sheets[r],!i||!i.data||!i.data.dataTable)continue;if(n=i.tables,a=i.data.dataTable,!n||n.length<=0)continue;o.Nh(n,a,c,t,u)}},e.prototype.Qh=function(){var e,t,r,n,o,l,s,c,u,d,f,p,m,g,b=this,w=b.Ne,C={},S=[];for(C.Normal={},b.Ai(),b.Ci(),b.Di(w.namedStyles,C,S),t=0,r=b.th.length;t<r;t++)e=b.th[t],e&&e.parentName&&i.ga.da(b.th,e);for(n={},o=[],l={},t=0,r=S.length;t<r;t++)s=S[t],c=a.ConverterHelper.toStringStyle(s),n[c]===h?o.push(s):l[s.name]=S[n[c]].name,n[c]=t,s.Ei=c;for(u={},t=0,r=b.af.length;t<r;t++)e=b.af[t],d=a.ConverterHelper.cloneSpreadJSStyle(e),d.parentName=e.name,d.name=h,u[t]=b.lh[e.name]=b.af.length,b.af.push(d),f=a.ConverterHelper.toStringStyle(e),n[f]!==h&&(p=S[n[f]],p&&(b.lh[p.name]=b.lh[e.name],p.added=!0));for(Object.keys(b.vh).forEach(function(e){b.lh[e]===h&&(b.lh[e]=u[b.vh[e]])}),m=i.ga._(w.namedStyles,"Normal"),g=a.ConverterHelper.toStringStyle(m),t=0,r=o.length;t<r;t++)s=o[t],s.added||(s.Ei===g?b.lh[s.name]=0:(b.lh[s.name]=b.af.length,b.af.push(s)));Object.keys(l).forEach(function(e){b.lh[e]=b.lh[l[e]]})},e.prototype.isSameStyleInfo=function(e,t,r,i){if(!e&&!t)return!0;if(!e||!t)return!1;var n,o;return e.Fi||(e.Fi={Gi:a.ConverterHelper.toExtendedFormat(e,this)}),n=e.Fi.Gi,t.Fi||(t.Fi={Gi:a.ConverterHelper.toExtendedFormat(t,this)}),o=t.Fi.Gi,n.equals(o,r,i)},e.prototype.getEqualStyle=function(e,t){var r,i;for(r=0;r<t.length;r++)if(i=t[r],this.isSameStyleInfo(e,i,!0,!0))return i;return m},e.prototype.Di=function(t,r,i){var n,a,o,l,s,c;function u(e){var t,r,i="",n=Object.getOwnPropertyNames(e);for(t=0;t<n.length;t++)r=n[t],A(e[r])?i+=r+":"+JSON.stringify(e[r])+"_":"name"!==r&&(i+=r+":"+e[r]+"_");return i}if(t)for(n={},a=0,o=t.length;a<o;a++)l=t[a],s=l.name,r[s]||(r[s]={},E(s)||k(s)||(s.indexOf(g)>=0?i.push(l):(c=u(l),n.hasOwnProperty(c)?this.vh[l.name]=n[c]:(this.af.push(l),this.th.push(l),this.vh[l.name]=this.af.length-1,e.Bi[l.name]||(n[c]=this.af.length-1)))))},e.prototype.ji=function(e,t,r){var i=e.data,n=m;return i?(t<0&&r>=0?n=i.columnDataArray&&i.columnDataArray[r]?i.columnDataArray[r].style:m:t>=0&&r<0?n=i.rowDataArray&&i.rowDataArray[t]?i.rowDataArray[t].style:m:t>=0&&r>=0&&(n=i.dataTable&&i.dataTable[t]&&i.dataTable[t][r]?e.data.dataTable[t][r].style:m),n):m},e.prototype.Hi=function(){var e,t,r,n=this.Ne,a=m;for(e in n.sheets)if(n.sheets.hasOwnProperty(e)&&(t=n.sheets[e],t&&t.theme)){a=t.theme;break}return a?x(a)?a:(r=a.name,i.StringEx.O(r)?m:("OFFICE"===r.toUpperCase()&&(r="Office Theme"),new o.ExcelTheme(r,this.Ii(a),this.Ji(a)))):m},e.prototype.Ii=function(e){var t=[];return t.push(u(e.themeColor.background1)),t.push(u(e.themeColor.text1)),t.push(u(e.themeColor.background2)),t.push(u(e.themeColor.text2)),t.push(u(e.themeColor.accent1)),t.push(u(e.themeColor.accent2)),t.push(u(e.themeColor.accent3)),t.push(u(e.themeColor.accent4)),t.push(u(e.themeColor.accent5)),t.push(u(e.themeColor.accent6)),t.push(u(e.themeColor.hyperlink)),t.push(u(e.themeColor.followedHyperlink)),new o.ColorScheme(e.themeColor.name,t)},e.prototype.Ji=function(e){var t=_e(e.headingFont),r=_e(e.bodyFont),i=new o.ThemeFonts([new o.RunFormatting(0,t)],[]),n=new o.ThemeFonts([new o.RunFormatting(0,r)],[]);return new o.FontScheme(e.name,i,n)},e.prototype.Ki=function(e){return e=Math.min(e,n.ExcelConstants.vb-1),i.IndexHelper.T(e)},e.prototype.Li=function(e,t){var r,i=[],a=new n.DefaultContentType;return a.extension=n.XFileConstants.Eb,a.contentType=n.XFileConstants.Fb,i.push(a),a=new n.DefaultContentType,a.extension=n.XFileConstants.Gb,a.contentType=n.XFileConstants.Hb,i.push(a),a=new n.DefaultContentType,a.extension=n.XFileConstants.nc,a.contentType=n.XFileConstants.pc,i.push(a),t&&(a=new n.DefaultContentType,a.extension=n.XFileConstants.oc,a.contentType=n.XFileConstants.kc,i.push(a)),a=new n.DefaultContentType,a.extension=n.XFileConstants.qc,a.contentType=n.XFileConstants.sc,i.push(a),a=new n.DefaultContentType,a.extension=n.XFileConstants.tc,a.contentType=n.XFileConstants.uc,i.push(a),a=new n.DefaultContentType,a.extension=n.XFileConstants.vc,a.contentType=n.XFileConstants.wc,i.push(a),a=new n.DefaultContentType,a.extension=n.XFileConstants.zc,a.contentType=n.XFileConstants.Ac,i.push(a),a=new n.DefaultContentType,a.extension=n.XFileConstants.Bc,a.contentType=n.XFileConstants.Cc,i.push(a),a=new n.DefaultContentType,a.extension=n.XFileConstants.Dc,a.contentType=n.XFileConstants.Ec,i.push(a),a=new n.DefaultContentType,a.extension=n.XFileConstants.xc,a.contentType=n.XFileConstants.yc,i.push(a),a=new n.DefaultContentType,a.extension=n.XFileConstants.Fc,a.contentType=n.XFileConstants.Gc,i.push(a),a=new n.DefaultContentType,a.extension=n.XFileConstants.Hc,a.contentType=n.XFileConstants.Ic,i.push(a),r=this.Lh(i,e),r?i:m},e.prototype.Mi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return this.uh[r.index]},e.prototype.Ni=function(e){var t,r,n=this,a=[],l=n.Ne,s=l.sheets&&l.sheets[e],c=n.vi(s),u=Math.min(s.rowCount-1,c.length),d=n.Oi(s.rowOutlines);for(t=0;t<=u;t++)c[t]?(r=n.Pi(s,t,d),(r||r.collapsed||!i.J(r.outLineLevel)&&0!==r.outLineLevel||r.visible===!1||r.formatId>=0)&&(r.customHeight=!isNaN(r.height),a.push(r))):s.rowFilter&&n.Qi(s.rowFilter,t)&&(r=new o.ExcelRow(t),r.visible=!1,a.push(r));return a},e.prototype.Qi=function(e,t){var r,i,n,a=!1;if(e&&(r=e.filteredOutRows))for(i=0;i<r.length;i++)if(n=r[i],t===n){a=!0;break}return a},e.prototype.ii=function(e,t){var r=e.rows,i=e.rowOutlines;return(!r||!r[t]||r[t].visible!==!1)&&!l.isCollapsed(t,i)},e.prototype.Pi=function(e,t,r){var n,l,s=this,c=new o.ExcelRow(t),u=e.rowOutlines,d=e.rows&&e.rows[t];return c.height=a.UnitHelper.pixelToPoint(d&&void 0!==d.size?d.size:B(e)),r>=0&&(c.collapsed=this.Ri(t,u),n=this.Si(t,u),c.outLineLevel=n===-1?0:n),t<e.rowCount&&(c.visible=s.ii(e,t)),i.J(this.xh[e.index])||(l=this.xh[e.index][t],c.formatId=i.J(l)?-1:l),c},e.prototype.vi=function(e){var t,r,i,n,a,o,l,s,c,u,d,f,p,h,m=this.Bh[e.index];if(void 0!==m)return m;if(m=[],t=e.rows,r=e.data&&e.data.rowDataArray,i=e.data&&e.data.dataTable,n=e.defaultData,t)for(a=0,o=t.length;a<o;a++)t[a]&&(m[a]=!0);if(r)for(a=0,o=r.length;a<o;a++)r[a]&&(m[a]=!0);if(i)for(l in i)i[l]&&i.hasOwnProperty(l)&&(m[l]=!0);if(n)for(l in n)n[l]&&n.hasOwnProperty(l)&&(m[l]=!0);if(s=e.tables,s&&s.forEach(function(e){var t,r=e.row,i=e.row+e.rowCount;for(t=r;t<i;t++)m[t]=!0}),c=e.spans)for(o=c.length,u=0;u<o;u++)for(d=c[u],f=d.row;f<d.row+d.rowCount;f++)m[f]=!0;if(p=e.rowOutlines&&e.rowOutlines.itemsData)for(a=0,o=p.length;a<o;a++)for(h=p[a],l=h.index;l<h.index+h.count;l++)m[l]=!0;return this.Bh[e.index]=m,m},e.prototype.Ti=function(e){var t,r,i=[],n=this.Ne,a=n.sheets&&n.sheets[e],o=this.Oi(a.columnOutlines),l=a.columnCount;for(t=0;t<l;t++)r=this.Ui(a,t,o),r&&(Math.abs(r.width-this.Vi(e))>1e-4||r.collapsed||void 0!==r.outLineLevel&&r.outLineLevel!==m&&0!==r.outLineLevel||r.visible===!1||r.formatId>=0)&&i.push(r);return i},e.prototype.Si=function(e,t){var r,i,n,a;if(!t||!t.itemsData)return 0;for(r=t.itemsData,i=0,n=r.length;i<n;i++)if(a=r[i],e>=a.index&&e<a.index+a.count)return a.info?a.info.level+1:1;return 0},e.prototype.Ri=function(e,t){var r,i,n,a;if(!t||!t.itemsData)return!1;for(r=t.itemsData,i=0,n=r.length;i<n;i++)if(a=r[i],e>=a.index&&e<a.index+a.count)return!!a.info&&!!a.info.collapsed;return!1},e.prototype.Ui=function(e,t,r){var n,a,s=new o.ExcelColumn(t),c=e.columnOutlines,u=e.columns&&e.columns[t];return s.width=this.calcColumnWidth(u&&void 0!==u.size?u.size:M(e)),r>=0&&t<e.columnCount&&(s.collapsed=this.Ri(t,c),n=this.Si(t,c),s.outLineLevel=n===-1?0:n),t<e.columnCount&&(u&&u.visible===!1&&(s.visible=!1),l.isCollapsed(t,c)&&(s.visible=!1)),i.J(this.yh[e.index])||(a=this.yh[e.index][t],s.formatId=i.J(a)?-1:a),s},e.prototype.Oi=function(e){var t,r,i,n;if(!e||!e.itemsData)return-1;for(t=-1,r=0,i=e.itemsData.length;r<i;r++)n=e.itemsData[r],n.info&&n.info.level>t&&(t=n.info.level);return t},e.prototype.Wi=function(e){var t,r,i=this.Ne,n=i.sheets&&i.sheets[e],a=0,o=0,l=-1,s=n.rowOutlines;return s&&(l=this.Oi(s)),l!==-1&&(a=l+2),t=-1,r=n.columnOutlines,r&&(t=this.Oi(r)),t!==-1&&(o=t+2),{outlineLevelRow:a,outlineLevelColumn:o}},e.prototype.Xi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],i=a.UnitHelper.pixelToPoint(r.defaults?r.defaults.rowHeight:B(r)),n=!1,o=57;return n=Math.abs(o-i)>=2,{height:i,customHeight:n}},e.prototype.Vi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return this.calcColumnWidth(r.defaults?r.defaults.colWidth:M(r))},e.prototype.Yi=function(e){var t,r=this.Ne,i=r.sheets&&r.sheets[e];if(i.defaults&&i.defaults.colWidth&&i.defaults._isExcelDefaultColumnWidth!==!0)return t=i.defaults?i.defaults.colWidth:M(i),this.calcColumnWidth(t)},e.prototype.calcColumnWidth=function(t){var r,i,n;return 0===t?0:(r=e.Jh(this.Ne),i=Math.round(this.Zi(r.fontForColumnWidth?r.fontForColumnWidth:r.font)),n=Math.floor((t-5)/i*100+.5)/100,Math.floor((n*i+5)/i*256)/256)},e.prototype.Zi=function(e){return this.Rf===h&&(this.Rf=a.UnitHelper.getMaxiumDigitWidth(e)),this.Rf},e.prototype.$i=function(e,t,r,a){var o,l,s,c,u,d,f,p=this.Ne,h=p.sheets&&p.sheets[e];if(!h)return!1;if(o=h.frozenRowCount,l=h.frozenColCount,r.col=h.activeCol>=0?h.activeCol:0,r.row=h.activeRow>=0?h.activeRow:0,s=o>0,c=l>0,0===a){if(!s||!c)return!1}else if(1===a){if(!c)return!1;s&&(r.col=l,r.row=0)}else if(2===a){if(!s)return!1;c&&(r.col=0,r.row=o)}if(r.col=Math.min(n.ExcelConstants.vb,r.col),r.row=Math.min(n.ExcelConstants.wb,r.row),t)if(u=void 0,h.selections)for(d=0;d<h.selections.length;d++)f=h.selections[d],A(f)&&(u=new i.Range(f.row>0?f.row:0,f.col>0?f.col:0,f.rowCount>0?f.rowCount:n.ExcelConstants.wb,f.colCount>0?f.colCount:n.ExcelConstants.vb),t.push(u));else t.push(new i.Range(r.row,r.col,1,1));return!0},e.prototype.ti=function(e,t,r){i.J(this.uh[e][t])&&(this.uh[e][t]=[]),this.uh[e][t].push(r)},e.prototype._i=function(e,t){var r,i,n;if(x(e)&&"/OADate"===e.substring(0,7)&&t&&!t.formatter){if(t.autoFormatter)return void(t.formatter=t.autoFormatter.formatCached);r=e.indexOf("("),i=e.indexOf(")"),r!==-1&&i!==-1&&(n=parseInt(e.substring(r+1,i),10),n<1?t.formatter="h:mm:ss":n>1&&(t.formatter="M/d/yyyy"))}},e.prototype.dg=function(e,t,r,n,a){var o;i.StringEx.L(n)?r&&(o=e[t]):o=this.lh[n],void 0!==o?a.formatId=o:a.formatId=-1},e.prototype.ri=function(e,t,r){i.StringEx.O(e)||(r.formula=e,r.arrayFormulaRange=t)},e.prototype.ui=function(e,t,r,n,a){var o,l,s,c,u,d,f,p;if(t.data&&t.data.dataTable&&t.data.dataTable[r]&&(o=t.data.dataTable[r][n]&&t.data.dataTable[r][n].hyperlink)){if(l={},s=this.aj(t.name),c=!1,s)for(u=0;u<s.length;u++)if(d=s[u],d.row===r&&d.col===n){l.ref=i.IndexHelper.T(d.col)+(d.row+1)+":"+i.IndexHelper.T(d.col+d.colCount-1)+(d.row+d.rowCount),c=!0;break}c||(l.ref=i.IndexHelper.T(n)+(r+1)),f="sjs://",o.url&&(o.url.substring(0,f.length)===f?(l.location=i.Util.oa(o.url.replace(f,"")),p=t.data.dataTable[r][n].value,"string"==typeof p&&(l.display=i.Util.oa(p))):l.url=i.Util.oa(o.url)),o.tooltip&&(l.tooltip=i.Util.oa(o.tooltip)),l["xr:uid"]=i.Ha(),a[t.name]||(a[t.name]=[]),a[t.name].push(l)}},e.prototype.pi=function(e,t){var r=0;if(i.J(e))e=m;else{if(e._error||e._calcError)return r=7,{value:e._error||e._calcError,cellType:r};"number"==typeof e?(r=1,isNaN(e)&&(e=0)):"boolean"==typeof e?r=5:x(e)&&"/OADate"===e.substring(0,7)?r=6:t?r=9:x(e)?r=2:(r=2,e=""+e)}return{value:e,cellType:r}},e.prototype.wi=function(e,t){var r,i,n=this;return A(t)?a.ConverterHelper.cloneSpreadJSStyle(t):x(t)?C.test(t)?(r=t.indexOf(g),i=n.xi(e,t.substring(r)),a.ConverterHelper.cloneSpreadJSStyle(n.af[n.lh[i]])):{parentName:t}:void 0},e.prototype.bj=function(e){var t=this;return e&&t.af[t.lh[e]]},e.prototype.yi=function(e,t,r){var n,a=this;r&&(r=a.wi(e,r),i.ga.ca(t,r,!0),r&&r.parentName&&(r.parentName=a.xi(e,r.parentName),n=a.af[a.lh[r.parentName]],i.ga.ca(t,n)))},e.prototype.cj=function(e,t){i.J(t.linkColor)?t.linkColor===h&&e.foreColor||(e.foreColor="hyperlink"):e.foreColor=t.linkColor,i.J(e.textDecoration)?e.textDecoration=1:1!==(1&e.textDecoration)&&(e.textDecoration+=1)},e.prototype.xi=function(e,t){return e.renamedStyles&&e.renamedStyles[t]&&(t=e.renamedStyles[t]),t},e.prototype.oi=function(e,t,r,n,a,o,l,s,c){var u,d,f=this,p=e.data,g=f.ji(e,t,r),b=m,w=m,C=p&&p.dataTable&&p.dataTable[t]&&p.dataTable[t][r]&&p.dataTable[t][r].hyperlink,S=C||x(c)&&"/OADate"===c.substring(0,7)||c!==m&&void 0!==c&&(a||o),y=h;return T(g)&&T(o)&&T(a)&&!S&&(y=""+g+"|"+a+"|"+o),y&&f.sh[y]?(n[s]=f.sh[y].styleIndex,f.sh[y]):(g?b=f.wi(e,g):S&&(b={}),b&&(b.parentName&&(b.parentName=f.xi(e,b.parentName),u=f.af[f.lh[b.parentName]]||f.af[f.vh[b.parentName]],i.ga.ca(b,u)),f.yi(e,b,o),f.yi(e,b,a),f.yi(e,b,l),C&&f.cj(b,C),f._i(c,b),i.ga.ba(b)?b=m:(d=n[s]=f.zi(b),b.parentName&&f.isSameStyleInfo(f.af[f.lh[b.parentName]],b,!0)&&(w=b.parentName),b.name&&f.isSameStyleInfo(f.af[f.lh[b.name]],b,!0)&&(w=b.name),y&&(f.sh[y]={styleIndex:d,styleName:w,styleInfo:b}))),{styleName:w,styleInfo:b})},e.prototype.zi=function(e){var t,r=this.af;if(!e)return 0;for(t=r.length-1;t>=0;t--)if((!r[t].name||r[t].name.indexOf(g)>=0)&&i.ga.fa(r[t],e))return t;return e.name=h,r.push(e),r.length-1},e.prototype.dj=function(e){var t,r;if(!e)return 0;t=0;for(r in e)e.hasOwnProperty(r)&&parseInt(r,10)>t&&(t=parseInt(r,10));return t},e.prototype.li=function(e,t,r){var i,n,a,o=0;if(e)for(i in e)if(e.hasOwnProperty(i))for(n in e[i])parseInt(n,10)>o&&(o=parseInt(n,10));if(r)for(i in r)if(r.hasOwnProperty(i))for(n in r[i])parseInt(n,10)>o&&(o=parseInt(n,10));return a=t.tables,a&&a.forEach(function(e){e.col+e.colCount>o&&(o=e.col+e.colCount)}),o},e.prototype.ej=function(e,t,r){for(r++;r>=0&&r<t&&!e[r];)r++;return r<t?r:-1},e.prototype.fj=function(e,t,r,i,n){var a=m;if(i>=0&&i<t&&(a=e[i]),!a)return-1;for(n++;n>=0&&n<r&&!a[n];)n++;return n<r?n:-1},e.prototype.mi=function(e,t){var r,i,n=[],a=e.columnCount;if(!e.data||!e.data.columnDataArray)return n;for(r=0;r<t;r++)r<a?(i=this.ji(e,-1,r),n.push(i)):n.push(m);return n},e.prototype.gj=function(){var e,t,r,i,n,o,l=this,s=[],c={count:0};for(e=0,t=l.af.length;e<t;e++)r=l.af[e],i=a.ConverterHelper.toExtendedFormat(r,l),r.name&&r.name.indexOf(g)<0?(c[r.name]||(c[r.name]=c.count,c.count++),i.isStyleFormat=!0):(n=0,void 0!==c[r.parentName]&&c[r.parentName]!==m&&(n=c[r.parentName],o=s[n],!i.applyNumberFormat&&o&&(o.numberFormat?i.numberFormat=o.numberFormat:void 0!==o.numberFormatIndex&&(i.numberFormatIndex=o.numberFormatIndex))),i.parentFormatID=n),s.push(i);return s},e.prototype.hj=function(){var t=a.ConverterHelper.cloneSpreadJSStyle(e.Jh(this.Ne)),r=a.ConverterHelper.toExtendedFormat(t,this);return r.parentFormatID=0,r},e.prototype.ij=function(){var t,r,i,n,o,l,s,c=this,u=[],d=m;for(t=0,r=c.th.length;t<r;t++)if(i=c.th[t],"Normal"===i.name){n=new a.ExcelStyle,n.name="Normal",n.format(a.ConverterHelper.toExtendedFormat(i,c)),n.format().isStyleFormat=!0,n.builtInStyle=0,d=n,c.Ke=i;break}for(d||(o=new a.ExcelStyle,o.name="Normal",o.format(a.ConverterHelper.toExtendedFormat(e.Jh(this.Ne),c)),o.format().font.fontSize=14.67,o.format().isStyleFormat=!0,o.builtInStyle=0,u.push(o)),t=0,r=c.th.length;t<r;t++)l=c.th[t],l.name&&(void 0!==e.Bi[l.name]?(n=new a.ExcelStyle,n.name=l.name,n.format(a.ConverterHelper.toExtendedFormat(l,c)),n.format().isStyleFormat=!0,n.builtInStyle=e.Bi[l.name],("RowLevel_"===l.name.substring(0,9)||"ColLevel_"===l.name.substring(0,9))&&l.name.length>9&&(n.outLineLevel=parseInt(l.name.substring(9),10)-1),u.push(n)):(s=new a.CustomExcelStyle,s.name=l.name,s.format(a.ConverterHelper.toExtendedFormat(l,c)),s.format().isStyleFormat=!0,u.push(s)));return u},e.prototype.jj=function(){var e,t,r=[],i=this.Ne.sheets;for(e in i)i.hasOwnProperty(e)&&(t=i[e],r[t.index]=e);return r},e.prototype.kj=function(e){return this.Ne.sheets[e]},e.prototype.lj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?{colsSumRight:!(r.columnOutlines&&0===r.columnOutlines.direction),rowsSumBelow:!(r.rowOutlines&&0===r.rowOutlines.direction)}:{}},e.prototype.mj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?d(r.sheetTabColor):m},e.prototype.nj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?{rowCount:r.rowCount,columnCount:r.columnCount}:{}},e.prototype.oj=function(e){var t,r=this.Ne,i=r.sheets&&r.sheets[e],n={showGridLine:!0,showRowColHeaders:!0,gridlineColor:m,zoom:1};return i?(!i.gridline||i.gridline.showVerticalGridline!==!1&&i.gridline.showHorizontalGridline!==!1||(n.showGridLine=!1),i.rowHeaderVisible===!1&&i.colHeaderVisible===!1&&(n.showRowColHeaders=!1),i.gridline&&i.gridline.color&&(n.gridlineColor=a.ColorHelper.toExcelIndexedColor(d(i.gridline.color,4291876837))),void 0!==i.topCellIndex&&void 0!==i.leftCellIndex&&(t={row:i.topCellIndex,col:i.leftCellIndex},n.topLeftCell=t),n.zoom=i.zoomFactor,n):n},e.prototype.pj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],i={frozenRowCount:0,frozenColCount:0,frozenTopRow:0,frozenLeftCol:0};return r?(i.frozenRowCount=r.frozenRowCount||0,i.frozenColCount=r.frozenColCount||0,i.frozenTopRow=r.frozenTopRow||0,i.frozenLeftCol=r.frozenLeftCol||0,i):i},e.prototype.qj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!!r&&r.isProtected},e.prototype.rj=function(e,t){var r,i,n=this.Ne,a=n.sheets&&n.sheets[e],o=a.protectionOptions,s={};for(i in o)o.hasOwnProperty(i)&&(r=o[i],r&&"allowSelectLockedCells"===i||r&&"allowSelectUnlockedCells"===i||r&&"allowEditObjects"===i||(s[l.fromProtectionOptions[i]?l.fromProtectionOptions[i]:i]=o[i]));return t&&!o&&(s.objects=!1),s},e.prototype.aj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?r.spans:[]},e.prototype.sj=function(){var e=this.Ne;return{showHorizontalScrollbar:e.showHorizontalScrollbar,showVerticalScrollbar:e.showVerticalScrollbar,tabStripVisible:e.tabStripVisible,tabStripRatio:e.tabStripRatio,startSheetIndex:e.startSheetIndex,activeSheetIndex:e.activeSheetIndex}},e.prototype.tj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!r||0===r.visible},e.prototype.uj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!r||2===r.visible},e.prototype.vj=function(){var e,t,r,i,n,a=[];if(this.Ne.names)for(t=0;t<this.Ne.names.length;t++)e=this.Ne.names[t],a.push({name:e.name,localSheetId:-1,formula:e.formula,comment:e.comment});r=this.Ne.sheets;for(i in r)if(r.hasOwnProperty(i)&&(n=r[i],n.names))for(t=0;t<n.names.length;t++)e=n.names[t],a.push({name:e.name,localSheetId:n.index,formula:e.formula,comment:e.comment});return a},e.prototype.xg=function(e){var t=this,r=t.Ne.sheets&&t.Ne.sheets[e];return r.conditionalFormats},e.Jh=function(e){var t,r,n,a,o,l,s={foreColor:"black",font:"normal normal normal 11pt/normal Calibri",locked:!0,name:"Normal",textDecoration:0,hAlign:3,vAlign:0};for(t in e.sheets)if(e.sheets.hasOwnProperty(t)&&(r=e.sheets[t],r.data&&r.data.defaultDataNode&&r.data.defaultDataNode.style)){for(n=r.data.defaultDataNode.style,a=this.prototype.wi(r,n),o=a.parentName;o&&(l=pe(o,e,r));)i.ga.ca(a,l),o=l.parentName;return i.ga.ca(a,s),a}return s},e.prototype.wj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r.comments&&r.comments.map(function(e){return l.convertToExcelComment(r,e)})},e.prototype.xj=function(e){var t,r=[],i=this.Ne;if(e)return i.sheets[e].pivotTables;for(t in i.sheets)i.sheets[t].pivotTables&&(r=r.concat(i.sheets[t].pivotTables));return r},e.prototype.yj=function(e){return e.floatingObjects&&e.floatingObjects.filter(function(e){return"1"===e.typeName&&e.src&&e.src.indexOf(";base64,")!==-1}).map(function(t){return l.convertToExcelPicture(e,t)})},e.prototype.zj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r.sparklineGroups},e.prototype.$h=function(e){var t,r,i,n=e.rowFilter,o=this;
20
+ if(n)return t=[],r=n.filteredColumns,i=n.filterItemMap,i&&r&&r.length>0&&i.forEach(function(i){var l,s;r.indexOf(i.index)<0||(l=i.conditions[0],3===l.conType&&(s=0===l.compareType,t.push({autoFilterColumnId:i.index-G(e,n.range).col,colorFilter:{cellColor:s,dxfId:o.Yh({isColorFilter:!0,fill:a.ColorHelper.toExcelBackColor(l.expected,s)})}})))}),t},e.prototype.gi=function(e){var t,r,n=m;return e&&(t=e.sortInfo,!t||i.J(t.ascending)||i.J(t.index)||(n={range:new i.Range(e.range.row,t.index,e.range.rowCount,1),descending:!t.ascending},t.color!==h&&(r=t.isBackColor,n.isBackColor=r,"{"===t.color[0]&&(t.color=JSON.parse(t.color)),n.dxfid=this.Yh({isColorFilter:!0,fill:a.ColorHelper.toExcelBackColor(t.color,r)})))),n},e.prototype.Aj=function(e,t){var r=e.autoFilter,n={range:"A1",filterColumns:[]},a=r.filterItemMap;return a&&a.forEach(function(e){var r,a,o,l,s;e&&(r=e.conditions,a=r[0],o={autoFilterColumnId:0},l=se(a,t),i.J(l)||(s=l.filterType,1===s?o.top10=l:2===s?o.dynamicFilter=l:4===s?o.customFilters=l:3===s&&(o.filters=l),n.filterColumns.push(o)))}),n},e.prototype.Bj=function(e,t,r){var n,a,o,l,s,c,u,d,f,p,h,g,b,w,C,S,y,v,x,T,A,k,E=this,I=E.Ne,F=I.sheets&&I.sheets[e];if(i.J(t)||i.J(t.range))return m;if(n=t.range,a=t.adjustRangeForFrozen?F.frozenRowCount:0,o={range:G(F,n,a),filterColumns:[]},F.Zh&&F.Zh.length>0&&(o.filterColumns=F.Zh),l=t.filteredColumns,s=t.filterItemMap,s&&l&&l.length>0&&s.forEach(function(e){var t,r,a,s,c,u;if(!(e.index<n.col||e.index>=n.col+n.colCount||l.indexOf(e.index)<0)){for(t=e.conditions,r=t[0],a=1;a<t.length;a++)r={conType:0,compareType:0,item1:r,item2:t[a]};r&&(s={autoFilterColumnId:e.index-o.range.col},c=le(F,r,new i.Range(o.range.row+1,o.range.col,o.range.rowCount-1,1)),i.J(c)||(u=c.filterType,1===u?s.top10=c:2===u?s.dynamicFilter=c:3===u?s.filters=c:4===u&&(s.customFilters=c),o.filterColumns.push(s)))}}),c=E.aj(e),c&&c.length>0){for(u=n.row-1,d=n.col,f=n.colCount,p=o.filterColumns.length>0,h=[],g=0,b=c;g<b.length;g++)if(w=b[g],C=w.row,S=w.rowCount,y=w.col,v=w.colCount,y>=d&&y+v<=f&&(u===C||u===C+S-1))for(x=y;x<y+v-1;x++)T=x-d,p?(A=o.filterColumns[x],A&&A.autoFilterColumnId===T?A.showButton=0:(k={autoFilterColumnId:T,showButton:0},h.push(k))):(k={autoFilterColumnId:T,showButton:0},h.push(k));h.length>0&&(o.filterColumns=o.filterColumns.concat(h))}return o.sortInfo=r,o},e.prototype.Cj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],i=m;return r.rowFilter&&(i=r.rowFilter.autoFilterSortInfo),this.Bj(e,r.rowFilter,i)},e.prototype.fi=function(e){var t,r=[],i=this.Ne;if(e)return i.sheets[e].tables;for(t in i.sheets)i.sheets[t].tables&&(r=r.concat(i.sheets[t].tables));return r},e.prototype.Dj=function(e){var t,r,i,n=this.Ne.sheets[e];if(!n.slicers)return[];for(t=[],r=0;r<n.slicers.length;r++)i=n.slicers[r],i.type&&"table"!==i.type||t.push(l.convertToExcelSlicer(n,i));return t},e.prototype.Ej=function(e,t){var r,i,n,a=this.Ne.sheets[e];if(!a.slicers)return[];for(r=[],i=0;i<a.slicers.length;i++)n=a.slicers[i],n.type===t&&r.push(l.convertToExcelSlicer(a,n));return r},e.prototype.Fj=function(e){return e.charts&&e.charts.map(function(t){return l.convertToExcelChart(e,t)})},e.prototype.Gj=function(e){return e.shapes&&e.shapes.map(function(t){return l.convertToExcelShape(e,t)})},e.prototype.Hj=function(e){var t,r=function(e){var t=[],i=e&&e.sp||[];return i.forEach(function(e){e.control?t.push({sp:e}):3===e.shapeType&&t.push.apply(t,r(e))}),t},i=function(e){var t=[];return e.forEach(function(e){e.sp&&e.sp.control?t.push(e):e.grpSp&&t.push.apply(t,r(e.grpSp))}),t},n=i(this.Gj(e)||[]);return n.forEach(function(e){var t=e.sp.control,r=e.sp.nvSpPr.cNvPr;t.id=r.id,t.name=r.name,t.visible=!r.hidden,r.hidden=!0}),t=function(e){return e.sp.control.id},n.sort(function(e,r){return t(e)-t(r)}),n},e.prototype.Ij=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],i=this.Dj(e),n=this.Ej(e,"pivot"),a=this.Ej(e,"timeline"),o=i.concat(n).concat(a),l=this.yj(r),s=this.Fj(r),c=this.Gj(r),u=this.Hj(r),d=0;return[o,l,s,c].forEach(function(e){e&&(d+=e.length)}),{slicers:o,pictures:l,charts:s,shapes:c,controlShapes:u,withDrawingObjects:d>0}},e.prototype.Jj=function(e){var t,r=this.Ne,i=r.sheets&&r.sheets[e],n=[],a=i.validations;return a&&(t=this.jj(),he(a,n,e,t)),n},e.prototype.Kj=function(e){var t={top:75,bottom:75,left:70,right:70,header:30,footer:30},r=this.Ne,i=r.sheets&&r.sheets[e],n=i.printInfo,a=n&&n.margin;return a?{bottom:Te(a.bottom,t.bottom),top:Te(a.top,t.bottom),left:Te(a.left,t.bottom),right:Te(a.right,t.bottom),header:Te(a.header,t.bottom),footer:Te(a.footer,t.bottom)}:m},e.prototype.Lj=function(e){var t,r=this.Ne,i=r.sheets&&r.sheets[e],n=i.printInfo;if(n)return t=n.centering,{horizontalCentered:1===t||3===t,verticalCentered:2===t||3===t,printGridLine:n.showGridLine,printRowColumnsHeaders:2===n.showRowHeader&&2===n.showColumnHeader}},e.prototype.Mj=function(e,t){var r,n,a,o,l,s,c,u,d,f,p,h,g,b,w,C,S;function y(e,t,r){return e=e||"",t=t||"",r=r||"","&L"+e+"&C"+t+"&R"+r}function v(e,t,r){if(e[t]&&e[t][r]){var i=e[t][r];return y(i.left,i.center,i.right)}}return r=this.Ne,n=r.sheets&&r.sheets[e],(a=n.printInfo)?(o={},l=a.fitPagesTall,s=a.fitPagesWide,i.J(l)||l===-1||(o.useSmartPrint=!0,o.smartPrintPagesHeight=Math.max(0,l)),i.J(s)||s===-1||(o.useSmartPrint=!0,o.smartPrintPagesWidth=Math.max(0,s)),t||(a.paperSize&&(c=a.paperSize.kind,0!==c&&(o.paperSizeIndex=c)),o.copies=1,i.J(a.firstPageNumber)||(o.useCustomStartingPage=!0,o.firstPageNumber=a.firstPageNumber),o.orientation=2===a.orientation?2:1,o.pageOrder=1===a.pageOrder?1:2,o.zoomFactor=parseFloat(a.zoomFactor),o.showColor=!a.blackAndWhite,o.advancedHeadFooterSetting={},u=o.advancedHeadFooterSetting,d=a.pageHeaderFooter,f=void 0,d?(u.headerFooterDifferentFirstPage=a.differentFirstPage,f=v(d,"first","header"),f&&(u.headerFirstPage=f),f=v(d,"first","footer"),f&&(u.footerFirstPage=f),p=a.differentOddAndEvenPages,u.headerFooterDifferentOddEvenPages=a.differentOddAndEvenPages,f=p?v(d,"odd","header"):v(d,"normal","header"),f&&(u.headerOddPage=f),f=p?v(d,"odd","footer"):v(d,"normal","footer"),f&&(u.footerOddPage=f),f=v(d,"even","header"),f&&(u.headerEvenPage=f),f=v(d,"even","footer"),f&&(u.footerEvenPage=f)):(h=y(a.headerLeft,a.headerCenter,a.headerRight),g=y(a.footerLeft,a.footerCenter,a.footerRight),o.advancedHeadFooterSetting={headerEvenPage:h,headerOddPage:h,footerOddPage:g,footerEvenPage:g}),b=n.rows,w=[],b&&b.length>0&&b.forEach(function(e,t){e&&e.pageBreak&&w.push(t)}),C=n.columns,S=[],C&&C.length>0&&C.forEach(function(e,t){e&&e.pageBreak&&S.push(t)}),w.length>0&&(o.rowBreakLines=w),S.length>0&&(o.columnBreakLines=S)),o):m},e.prototype.Nj=function(e){return this.Ne.sheets&&this.Ne.sheets[e].printInfo},e.prototype.Oj=function(e){return this.Ne.sheets&&this.Ne.sheets[e].rowFilter},e.prototype.Pj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],i=r.shapes,n=[];return i&&i.length>0&&this.Qj(i,n),n},e.prototype.Qj=function(e,t){var r=this;e.forEach(function(e,i){var n,a,o,l;1===e.shapeType?(n=void 0,e.shapeData&&e.shapeData.pic&&e.shapeData.pic.cameraTool?n=e.shapeData.pic:e.cameraTool===!0&&(n=e),n&&(a=i+1,o=Re("Picture_x0020_"+a,n.src),o.style=n.vmlStyle,o.anchor=n.anchor,o.cellRange=n.cellRange,o.spid="_x0000_s10"+n.spid,t.push(o))):3===e.shapeType&&(l=e.shapeData&&e.shapeData.grpSp&&e.shapeData.grpSp.sp||e.sp,l&&r.Qj(l,t))})},e.prototype.Rj=function(e){var t,r,i,n,a,o,l,s=this.Ne,c=s.sheets&&s.sheets[e],u=c.printInfo,d=[];return u&&(t=u.pageHeaderFooter,t?(r=t.normal,i=t.odd,i?(n=i.header||{},n.leftImage&&d.push(Re("LH",n.leftImage)),n.centerImage&&d.push(Re("CH",n.centerImage)),n.rightImage&&d.push(Re("RH",n.rightImage)),a=i.footer||{},a.leftImage&&d.push(Re("LF",a.leftImage)),a.centerImage&&d.push(Re("CF",a.centerImage)),a.rightImage&&d.push(Re("RF",a.rightImage))):r&&(n=r.header||{},n.leftImage&&d.push(Re("LH",n.leftImage)),n.centerImage&&d.push(Re("CH",n.centerImage)),n.rightImage&&d.push(Re("RH",n.rightImage)),a=r.footer||{},a.leftImage&&d.push(Re("LF",a.leftImage)),a.centerImage&&d.push(Re("CF",a.centerImage)),a.rightImage&&d.push(Re("RF",a.rightImage))),o=t.even,o&&(n=o.header||{},n.leftImage&&d.push(Re("LHEVEN",n.leftImage)),n.centerImage&&d.push(Re("CHEVEN",n.centerImage)),n.rightImage&&d.push(Re("RHEVEN",n.rightImage)),a=o.footer||{},a.leftImage&&d.push(Re("LFEVEN",a.leftImage)),a.centerImage&&d.push(Re("CFEVEN",a.centerImage)),a.rightImage&&d.push(Re("RFEVEN",a.rightImage))),l=t.first,l&&(n=l.header||{},n.leftImage&&d.push(Re("LHFIRST",n.leftImage)),n.centerImage&&d.push(Re("CHFIRST",n.centerImage)),n.rightImage&&d.push(Re("RHFIRST",n.rightImage)),a=l.footer||{},a.leftImage&&d.push(Re("LFFIRST",a.leftImage)),a.centerImage&&d.push(Re("CFFIRST",a.centerImage)),a.rightImage&&d.push(Re("RFFIRST",a.rightImage)))):(u.headerLeftImage&&d.push(Re("LH",u.headerLeftImage)),u.headerCenterImage&&d.push(Re("CH",u.headerCenterImage)),u.headerRightImage&&d.push(Re("RH",u.headerRightImage)),u.footerLeftImage&&d.push(Re("LF",u.footerLeftImage)),u.footerCenterImage&&d.push(Re("CF",u.footerCenterImage)),u.footerRightImage&&d.push(Re("RF",u.footerRightImage)))),d},e.prototype.Sj=function(){return this.vh},e.Bi={"20% - Accent1":30,"20% - Accent2":34,"20% - Accent3":38,"20% - Accent4":42,"20% - Accent5":46,"20% - Accent6":50,"40% - Accent1":31,"40% - Accent2":35,"40% - Accent3":39,"40% - Accent4":43,"40% - Accent5":47,"40% - Accent6":51,"60% - Accent1":32,"60% - Accent2":36,"60% - Accent3":40,"60% - Accent4":44,"60% - Accent5":48,"60% - Accent6":52,Accent1:29,Accent2:33,Accent3:37,Accent4:41,Accent5:45,Accent6:49,Bad:27,Calculation:22,"Check Cell":23,Comma:3,"Comma [0]":6,Currency:4,"Currency [0]":7,"Explanatory Text":53,Good:26,"Heading 1":16,"Heading 2":17,"Heading 3":18,"Heading 4":19,Input:20,"Linked Cell":24,Neutral:28,Normal:0,Note:10,Output:21,Percent:5,Title:15,Total:25,"Warning Text":11,Hyperlink:8,FollowedHyperLink:9,RowLevel_1:1,RowLevel_2:1,RowLevel_3:1,RowLevel_4:1,RowLevel_5:1,RowLevel_6:1,RowLevel_7:1,ColLevel_1:2,ColLevel_2:2,ColLevel_3:2,ColLevel_4:2,ColLevel_5:2,ColLevel_6:2,ColLevel_7:2},e}(),t.WriterDataModel=v},"./src/datamodel/datetime-helper.ts":function(e,t,r){"use strict";var i,n,a,o;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=null,a=void 0;function l(e){var t=e.getTimezoneOffset();return t===-485&&(t=-485-43/60),t}o=function(){function e(){}return e.jg=function(e){return"/OADate("+e+")/"},e.Tj=function(e){return"string"==typeof e&&"/OADate("===e.substr(0,8)?parseInt(e.substr(8,e.length-8-1-1),10):e},e.ig=function(e){return e===a||e===n?0:("number"!=typeof e&&"string"!=typeof e||(e=new Date(e)),e instanceof Date?(1440*e.getTime()+3181192704e6-864e5*l(e))/124416e6:0)},e.Je=function(e){var t,r=e-25569,i=new Date(864e5*r),n=r>=0?1:-1,a=l(i),o=(864e5*e*1440+n-3181192704e6+864e5*a)/1440,s=new Date(o),c=a>=0?1:-1,u=new Date(o+36e5*c),d=l(u);if(a!==d)if(t=new Date(o+60*(d-a)*1e3),a>d){if(c===-1||d===l(s))return t=999===t.getMilliseconds()?new Date(t.valueOf()+1):t}else if(a<d&&(1===c||d===l(s)))return t=999===t.getMilliseconds()?new Date(t.valueOf()+1):t;return s=999===s.getMilliseconds()?new Date(s.valueOf()+1):s},e.vf=function(t){var r,i,a,o,l,s,c;if(!t||" "===t)return!1;if(0===t.length)return!1;if(t=t.toUpperCase(),t=t.replace(/(\[.*\])+/g," "),t=t.replace(/"[^"]*"/g," "),t=t.replace(/(\*.|_.|\\.)+/g," "),t.indexOf("GENERAL")!==-1)return!1;for(r=-1,i=0,a=!1,o=null,l=0;l<t.length;l++){if(s=t[l],"["===s)do s=t[l],l++;while(l<t.length&&"]"!==s);if("Y"===s||"D"===s||"M"===s||"H"===s||"S"===s||"A"===s)a?i++:(0===l||t.length>0&&"\\"!==t[l-1])&&(a=!0,r=l,i=1);else{if(a=!1," "===s&&o)return!0;0!==i&&(c=t.substring(r,r+i),r=l,i=0,o=o===n?e.Uj(c):o&&e.Uj(c))}}return 0!==i&&l===t.length&&(c=t.substring(r,r+i),o=o===n?e.Uj(c):o&&e.Uj(c)),!!o},e.Uj=function(e){var t,r,n,o,l,s,c,u,d;if(i.StringEx.O(e))return!1;for(t=[],r="",n=0,o=e.length;n<o;n++)l=e[n],r.indexOf(l)===-1&&(t.push({key:l,count:e.match(RegExp(l,"g")).length}),r+=l);for(s={Y:4,D:4,M:5,H:2,S:2,A:4},n=0,c=t.length;n<c;n++){if(u=t[n],d=s[u.key],d===a)return!1;if(u.count>d)return!1}return!0},e}(),t.DateTimeHelper=o},"./src/datamodel/excel-helper.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/datamodel/chart-model.ts"),o=r("./src/common/excel-types.ts"),l=null;function h(e,t,r){var i,n=e.defaults.colWidth,a=e.columns,o=0,s=a?l:n;for(i=t;i<r;i++)o+=s||m(a,i,n,e.columnOutlines);return o}function m(e,t,r,i){var n=e[t];return n?i&&y(t,i)?0:n.visible===!1?0:n.size:r}function g(e,t,r){var i,n=e.defaults.rowHeight,a=e.rows,o=0,s=a?l:n;for(i=t;i<r;i++)o+=s||b(a,i,n,e.rowOutlines);return o}function b(e,t,r,i){var n=e[t];return n?i&&y(t,i)?0:n.visible===!1?0:n.size:r}function w(e,t){for(var r,i,n=e.defaults.colWidth,a=e.columns,s=0,c=0,u=a&&a.length||o.ExcelConstants.vb,d=a?l:n;s<t&&c<u;)r=d||m(a,c,n),s+=r,c++;return i=s-t,i>0?(c--,i=r-i):i=t-s,{col:c,colOffset:i}}function C(e,t){for(var r,i,n=e.defaults.rowHeight,a=e.rowsVisibleInfo||e.rows,s=0,c=0,u=a&&a.length||o.ExcelConstants.wb,d=a?l:n;s<t&&c<u;)r=d||b(a,c,n),s+=r,c++;return i=s-t,i>0?(c--,i=r-i):i=t-s,{row:c,rowOffset:i}}function S(e,t){var r=t.x,i=t.y,n={},a={},o=C(e,i);return x(o,n,["row","rowOffset"]),o=w(e,r),x(o,n,["col","colOffset"]),o=C(e,i+t.height),x(o,a,["row","rowOffset"]),o=w(e,r+t.width),x(o,a,["col","colOffset"]),{startPoint:n,endPoint:a}}function y(e,t){if(!t)return!1;if(t.items)return t.items[e]&&t.items[e].viewCollapsed;if(!t.itemsData)return!1;t.collapseIndexMap||v(t);var r=t.collapseIndexMap;return!!r[e]}t.isCollapsed=y;function v(e){var t,r,i,n,a,o,l,s=e.itemsData,c=e.collapseIndexMap={},u=!1;if(0===e.direction){for(t=s.length-1;t>=0;t--)if(i=s[t],i&&1===i.count&&i.info&&i.info.collapsed){for(n=i.index+i.count,a=t+1;a<s.length;a++)o=s[a],o&&o.info&&o.info.level>i.info.level&&o.index===n&&(n=o.index+o.count);for(l=i.index+1;l<n;l++)c[l]=!0}}else for(r=s.length,t=0;t<r;t++)if(i=s[t],i&&1===i.count&&i.info&&i.info.collapsed){if(n=i.index-1,n<0&&i.info.level===-1)break;for(a=t-1;a>=0;a--)o=s[a],o&&o.info&&o.info.level>i.info.level&&o.index+o.count-1===n&&(n=o.index-1);for(l=n+1;l<i.index;l++)c[l]=!0}}s=7;function x(e,t,r){r.forEach(function(r){void 0!==e[r]&&(t[r]=e[r])})}function T(e,t){var r,a,o,c,u,d,f,p,m,b,w,C,S,y,v,T,A={};return x(t,A,["fontSize","fontStyle","fontFamily","fontWeight","textDecoration","text","autoSize","dynamicMove","dynamicSize","locked","lockText","displayMode"]),r=e.forzenRowCount||0,a=e.forzenColumnCount||0,o=t.row,c=t.col,u=t.anchor,d=h(e,a,c+1),f=g(e,r,o),A.rowIndex=o-r,A.colIndex=c-a,u?(p=h(e,a,u[0])+u[1]-s,m=g(e,r,u[2])+u[3]-s,b=h(e,a,u[4])+u[5]+s,w=g(e,r,u[6])+u[7]+s,A.location={x:p-d,y:m-f},A.width=b-p,A.height=w-m,z(e,u)):(A.location={x:n.UnitHelper.pointToPixel(t.marginLeft)-d-s,y:n.UnitHelper.pointToPixel(t.marginTop)-f-s},A.width=k(t.width)+2*s,A.height=k(t.height)+2*s,z(e,l,{x:A.location.x+d,y:A.location.y+f,width:A.width,height:A.height})),C=t.foreColor,C&&C!==n.ExcelColor.EmptyColor&&(A.foreColor=n.ColorHelper.toRGBColor(C)),C=t.backColor,C&&(A.backColor=C.split(" ")[0]),C=t.borderColor,C&&(A.borderColor=C.split(" ")[0]),S=t.borderWidth,S&&(A.borderWidth=k(S)),A.borderStyle=I(t.dashStyle,t.lineStyle),y=t.zIndex,i.J(y)||(A.zIndex=y),y=t.opacity,i.J(y)||(A.opacity=y),t.autoSize&&(A.autoSize=!0),A.locked=t.locked!==!1,A.lockText=t.lockText!==!1,A.dynamicSize=t.dynamicSize!==!1,A.dynamicMove=t.dynamicMove!==!1,y=t.inset,y&&(v=[0,0,0,0],y.trim().split(",").forEach(function(e,t){var r=e||["0.1in","0.05in"][t%2];v[t]=E(r)}),A.padding={left:v[0],top:v[1],right:v[2],bottom:v[3]}),T=["left","center","right"].indexOf(t.hAlign),T!==-1&&(A.horizontalAlign=T),A}t.convertFromExcelComment=T;function A(e,t){var r,a,o,l,c,u,d=t.rowIndex,f=t.colIndex,p=t.location||{x:9,y:-18},m={row:d,col:f};return i.J(t.width)&&(t.width=160),i.J(t.height)&&(t.height=100),t.fontFamily=t.fontFamily||"Arial",t.borderColor=t.borderColor||"black",t.backColor=t.backColor||"#FFFFE1",x(t,m,["zIndex","opacity","fontStyle","fontFamily","fontWeight","textDecoration","text","autoSize","dynamicMove","dynamicSize","locked","lockText","displayMode","backColor","borderColor"]),r=h(e,0,f+1),a=g(e,0,d),m.marginLeft=n.UnitHelper.pixelToPoint(r+p.x+s),m.marginTop=n.UnitHelper.pixelToPoint(a+p.y+s),m.width=n.UnitHelper.pixelToPoint(t.width-2*s)+"pt",m.height=n.UnitHelper.pixelToPoint(t.height-2*s)+"pt",o=t.fontSize||"9pt",o.indexOf("px")!==-1?m.fontSize=n.UnitHelper.pixelToPoint(parseFloat(o)):m.fontSize=o.replace("pt",""),l=t.foreColor,m.foreColor=l&&n.ColorHelper.toExcelColor(l),m.borderWidth=n.UnitHelper.pixelToPoint(t.borderWidth||1)+"pt",c=F(t.borderStyle),m.dashStyle=c.dashStyle,m.lineStyle=c.lineStyle,u=t.padding,u&&(m.inset=[n.UnitHelper.pixelToPoint(u.left)+"pt",n.UnitHelper.pixelToPoint(u.top)+"pt",n.UnitHelper.pixelToPoint(u.right)+"pt",n.UnitHelper.pixelToPoint(u.bottom)+"pt"].join(",")),m.hAlign=["Left","Center","Right"][t.horizontalAlign||0]||"Left",m.visibility=1===t.displayMode?"visible":"hidden",m}t.convertToExcelComment=A;function k(e){return e?n.UnitHelper.pointToPixel(parseFloat(e.replace("pt",""))):0}function E(e){var t=0;return e.indexOf("in")!==-1?t=72*parseFloat(e.replace("in","").trim()):e.indexOf("cm")!==-1?t=72*parseFloat(e.replace("cm","").trim())/2.54:e.indexOf("mm")!==-1?t=72*parseFloat(e.replace("mm","").trim())/25.4:e.indexOf("pt")!==-1&&(t=parseFloat(e.replace("pt","").trim())),n.UnitHelper.pointToPixel(t)}function I(e,t){if(!i.StringEx.L(t))return"double";if(e)switch(e.toLowerCase()){case"solid":return"solid";case"1 1":return"dotted";case"dash":case"dashdot":case"longdash":case"longdashdot":case"longdashdotdot":return"dashed"}return"solid"}function F(e){var t,r;if(e)switch(e.toLowerCase()){case"solid":t="solid";break;case"dotted":t="1 1";break;case"dashed":t="dash";break;case"double":r="thinThin"}return{dashStyle:t,lineStyle:r}}function P(e,t){if(e){var r=e.startPoint,i=e.endPoint;t.startRow=r.row,t.startRowOffset=r.rowOffset,t.startRowOffsetEmu=r.rowOffsetEmu,t.startColumn=r.col,t.startColumnOffset=r.colOffset,t.startColumnOffsetEmu=r.colOffsetEmu,t.endRow=i.row,t.endRowOffset=i.rowOffset,t.endRowOffsetEmu=i.rowOffsetEmu,t.endColumn=i.col,t.endColumnOffset=i.colOffset,t.endColumnOffsetEmu=i.colOffsetEmu}}c=1e5;function D(e){return{l:e.l/c,t:e.t/c,r:e.r/c,b:e.b/c}}function R(e){return{l:parseInt((e.l||0)*c,10),t:parseInt((e.t||0)*c,10),r:parseInt((e.r||0)*c,10),b:parseInt((e.b||0)*c,10)}}function L(e,t,r){var i,n=U(r,t.name,"picture"),a={name:n,alt:t.descr};return x(t,a,["src","isVisible","locked","rot"]),ue(t.anchor,e,a,t.xfrm),J(t.pictureFormat,a),i=t.srcRect,i&&(a.srcRect=D(i)),a}t.convertFromExcelPicture=L;function _(e,t){return t.twoCellAnchor=Z(e,t),t}t.convertToExcelSlicer=_;function N(e,t){switch(e){case"solid":return"dbl"===t?"double":"solid";case"dot":case"sysDot":return"dotted"}return"dashed"}function B(e){return!e||"hidden"===e}function M(e){switch(e){case"dotted":return"dot";case"dashed":return"dash";case"double":return"dbl"}return"solid"}function O(e,t){var r,i={},a=t.src;return G(a,i),x(t,i,["name","locked","rot"]),i.descr=t.alt,i.twoCellAnchor=Z(e,t,!0),i.hidden=t.isVisible===!1,i.fillColor=n.ColorHelper.toExcelColor(t.backColor),i.lineBorder={width:B(t.borderStyle)?0:t.borderWidth,color:n.ColorHelper.toExcelColor(t.borderColor),style:M(t.borderStyle),noFill:t.noFill},r=t.srcRect,r&&(i.srcRect=R(r)),i}t.convertToExcelPicture=O,u=";base64,";function G(e,t){var r,i=e.indexOf(u);i>0&&(t.base64Image=e.substr(i+u.length),r=e.substr(0,i).split("/").pop(),"x-icon"===r&&(r="png"),t.imageType=r)}t.getPictureInfo=G;function H(e){if(!e)return!1;var t={};return G(e,t),"svg+xml"===t.imageType}t.isSVGPicture=H;function U(e,t,r){function i(e){return e.name===this.name}function n(t){var r=i.bind({name:t});return void 0!==e.filter(r)[0]}t=t||r;for(var a=t,o=1;n(a);)a=t+"_"+o,o++;return a}function J(e,t){var r,i,a,o,l;return e?(r=e.fillFormat,r&&1===r.fillFormatType&&(t.backColor=n.ColorHelper.toRGBColor(r.color)),i=e.lineFormat,void(i&&(t.borderWidth=i.width,a=i.fillFormat,a&&1===a.fillFormatType?t.borderColor=n.ColorHelper.toRGBColor(a.color):a&&0===a.fillFormatType&&(t.noFill=!0),o=i.lineDashType,o&&(l=i.compoundLineType,t.borderStyle=N(o,l))))):null}d=2;function W(e,t,r){e.rowCount<t&&(e.rowCount=t),e.columnCount<r&&(e.columnCount=r)}function V(e,t){var r=0,i=0,n=t.endPoint;n&&(r=n.row,i=n.col),r+=d,i+=d,W(e,r,i)}t.inflateWorksheetByAnchor=V;function z(e,t,r){var i,n,a;t?(i=t[6]+1,n=t[4]+1):(a=S(e,r),i=a.endPoint.row+d,n=a.endPoint.col+d),W(e,i,n)}function j(e,t,r){var i,n,a,o;return i=h(e,0,t.col)+t.colOffset,n=g(e,0,t.row)+t.rowOffset,a=h(e,0,r.col)+r.colOffset,o=g(e,0,r.row)+r.rowOffset,{x:i,y:n,width:a-i,height:o-n}}t.getBounds=j;function X(e,t){return j(e,t.startPoint,t.endPoint)}function K(e,t){var r=t.startPoint,i=h(e,0,r.col)+r.colOffset,n=g(e,0,r.row)+r.rowOffset;return{x:i,y:n,width:t.width,height:t.height}}function q(e){return{x:e.x,y:e.y,width:e.width,height:e.height}}function Y(e,t,r){var i=e.startPoint,n=e.endPoint,a=i.x*t,o=i.y*r,l=n.x*t,s=n.y*r;return{x:a,y:o,width:l-a,height:s-o}}function Q(e,t,r){var i=e.startPoint;return{x:i.x*t,y:i.y*r,width:e.width,height:e.height}}function Z(e,t,r){var n,a,o;return i.J(t.startRow)?S(e,{x:t.x||0,y:t.y||0,width:t.width||0,height:t.height||0}):(r&&(t=$(e,t)),n={row:t.startRow,rowOffset:t.startRowOffset||0,col:t.startColumn,colOffset:t.startColumnOffset||0},a={row:t.endRow,rowOffset:t.endRowOffset||0,col:t.endColumn,colOffset:t.endColumnOffset||0},o=ae(t.dynamicMove,t.dynamicSize),{startPoint:n,endPoint:a,editAs:o})}function $(e,t){var r=t.pictureStretch;return 0===r?t:1===r?ee(e,t):2===r?te(e,t):3===r?re(e,t):t}function ee(e,t){var r,i,n,a,o,l,s,c,u,d,f=e.rowCount,p=e.columnCount,m=t.width,b=t.height,w=t.startRow,C=t.startRowOffset||0,S=t.startColumn,y=t.startColumnOffset||0,v=t.endRow,x=t.endRowOffset||0,T=t.endColumn,A=t.endColumnOffset||0,k=t.originalWidth,E=t.originalHeight,I=Math.min(m,k),F=Math.min(b,E),P=E>b?C:C+(b-E)/2,D=k>m?y:y+(m-k)/2;for(m=I,b=F,r=0,i=w,n=P,a=!1;i<f;)if(o=g(e,i,i+1),i++,r+=o,!a&&(n-=o),n<0&&!a&&(w=i-1<0?0:i-1,C=o+n,a=!0),r>b+P){v=i-1<0?0:i-1,x=o-(r-b-P);break}for(l=0,s=S,c=D,u=!1;s<p;)if(d=h(e,s,s+1),s++,l+=d,!u&&(c-=d),c<0&&!u&&(S=s-1<0?0:s-1,y=d+c,u=!0),l>m+D){T=s-1<0?0:s-1,A=d-(l-m-D);break}return t.width=m,t.height=b,t.startRow=w,t.startRowOffset=C,t.endRow=v,t.endRowOffset=x,t.startColumn=S,t.startColumnOffset=y,t.endColumn=T,t.endColumnOffset=A,t}function te(e,t){var r,i,n,a,o,l,s,c,u=e.rowCount,d=e.columnCount,f=t.width,p=t.height,m=t.startRow,b=t.startRowOffset||0,w=t.startColumn,C=t.startColumnOffset||0,S=t.endRow,y=t.endRowOffset||0,v=t.endColumn,x=t.endColumnOffset||0,T=t.originalWidth,A=t.originalHeight,k=f/p,E=T/A,I=0,F=0,P=f,D=p;if(p>0&&A>0&&k>E)P=E*p,I=C+f/2-P/2,f=P,p=1/E*f;else{if(!(f>0&&T>0&&1/k>1/E))return t;D=1/E*f,F=b+p/2-D/2,p=D,f=E*p}if(I>0){for(;w<d;)if(r=h(e,w,w+1),w++,I-=r,I<0){w--,C=I+r;break}for(i=0,n=w;n<d;)if(a=h(e,n,n+1),n++,i+=a,i>P+C){x=a-(i-P-C),v=n-1<0?0:n-1;break}}else if(F>0){for(;m<u;)if(o=g(e,m,m+1),m++,F-=o,F<0){m--,b=F+o;break}for(l=0,s=m;s<u;)if(c=g(e,s,s+1),s++,l+=c,l>D+b){y=c-(l-D-b),S=s-1<0?0:s-1;break}}return t.width=f,t.height=p,t.startRow=m,t.startRowOffset=b,t.endRow=S,t.endRowOffset=y,t.startColumn=w,t.startColumnOffset=C,t.endColumn=v,t.endColumnOffset=x,t}function re(e,t){var r,i,n,a,o,l,s=e.rowCount,c=e.columnCount,u=t.width,d=t.height,f=t.startRow,p=t.startRowOffset||0,m=t.startColumn,b=t.startColumnOffset||0,w=t.endRow,C=t.endRowOffset||0,S=t.endColumn,y=t.endColumnOffset||0,v=t.originalWidth,x=t.originalHeight;for(u=Math.min(u,v),d=Math.min(d,x),r=0,i=f;i<s;)if(n=g(e,i,i+1),i++,r+=n,r>d+p){w=i-1<0?0:i-1,C=n-(r-d-p);break}for(a=0,o=m;o<c;)if(l=h(e,o,o+1),o++,a+=l,a>u+b){S=o-1<0?0:o-1,y=l-(a-u-b);break}return t.width=u,t.height=d,t.startRow=f,t.startRowOffset=p,t.endRow=w,t.endRowOffset=C,t.startColumn=m,t.startColumnOffset=b,t.endColumn=S,t.endColumnOffset=y,t}function ie(e,t,r,i){var n=t.anchorType;return 0===n?X(e,t):1===n?K(e,t):2===n?q(t):3===n?Y(t,r,i):4===n?Q(t,r,i):null}function ne(e){var t=e.anchorType||e.editAs||0,r=!0,i=!0;return 2===t?(r=!1,i=!1):1===t&&(i=!1),{dynamicMove:r,dynamicSize:i}}function ae(e,t){var r;return e===!1&&t===!1?r=2:t===!1&&(r=1),r}function oe(e,t,r){var i={x:e.x||0,y:e.y||0,width:e.width||0,height:e.height||0};return{startPoint:{x:(i.x/t).toFixed(5),y:(i.y/r).toFixed(5)},endPoint:{x:((i.x+i.width)/t).toFixed(5),y:((i.y+i.height)/r).toFixed(5)}}}function le(e){var t,r,i;return e?(t=n.ColorHelper.toExcelColor(e),r=t.colorType(),2===r?(i=n.ColorHelper.getRGBAColorData(t),{srgbClr:{val:i.rgb}}):3===r?{schemeClr:{val:t.value()}}:null):null}function se(e,t,r){return{x:e.x*r-e.y*t,y:e.x*t+e.y*r}}f=Math.PI/180/6e4;function ce(e){var t,r,n,a,o,l,s,c,u,d,p,h,m,g,b,w,C,S,y,v;if(e&&!i.J(e.rot))return t=e.rot,r=e.off,n=e.ext,a=r.x,o=r.y,l=n.cx,s=n.cy,c=l/2,u=s/2,d=t*f,p=Math.sin(d),h=Math.cos(d),m=a+c,g=o+u,b=[],w=[],[{x:-c,y:-u},{x:c,y:-u},{x:-c,y:u},{x:c,y:u}].forEach(function(e){var t=se(e,p,h);b.push(t.x+m),w.push(t.y+g)}),C=Math.min.apply(null,b),S=Math.max.apply(null,b),y=Math.min.apply(null,w),v=Math.max.apply(null,w),{x:C,y:y,width:S-C,height:v-y}}function ue(e,t,r,i){var n,a,o=ce(i)||ie(t,e),l=ne(e);r.dynamicMove=l.dynamicMove,r.dynamicSize=l.dynamicSize,x(o,r,["x","y","width","height"]),0===e.anchorType?(n=i?S(t,o):e,P(n,r)):n=S(t,o),V(t,n),a=e.clientData,a&&(r.isLocked=a.fLocksWithSheet,r.canPrint=a.fPrintsWithSheet)}function de(e,t){var r,n,a,o,l,s,c,u,d,f,p;return V(e,t),a=i.Util.za(t),o=a&&a.layoutId,l=i.Util.Aa(o),r=l?t.AlternateContent&&t.AlternateContent.Choice&&t.AlternateContent.Choice.GraphicalObjectFrame&&t.AlternateContent.Choice.GraphicalObjectFrame.nvGraphicFramePr:2===t.shapeType?t.nvGraphicFramePr:t.graphicFrame&&t.graphicFrame.nvGraphicFramePr,n=r&&r.cNvPr,s=U(e.charts,n.name,"chart"),c=t.chartSpace,u={name:s,chartSpace:c,isVisible:!n.hidden,alt:n.descr,AlternateContent:t.AlternateContent},ue(t,e,u,t.xfrm),d=u.width,f=u.height,p=c.userShapes,p&&(c.userShapes=p.map(function(t){return t.pic?ge(e,t,d,f):t.graphicFrame?he(e,t,d,f):void 0})),u}t.convertFromExcelChart=de;function fe(e,t){var r,i=t.shapeData;return i.editAs=ae(t.dynamicMove,t.dynamicSize),i.clientData={fLocksWithSheet:t.isLocked,fPrintsWithSheet:t.canPrint},r=t.alt,r&&(i.sp?i.sp.nvSpPr.cNvPr.descr=r:i.cxnSp?i.cxnSp.nvCxnSpPr.cNvPr.descr=r:i.grpSp?i.grpSp.nvGrpSpPr.cNvPr.descr=r:i.pic&&(i.pic.nvPicPr.cNvPr.descr=r)),i}t.convertToExcelShape=fe;function pe(e,t){var r,n=Z(e,t),a=t.isVisible,o=t.chartSpace,l={anchorType:0,startPoint:n.startPoint,endPoint:n.endPoint,editAs:n.editAs,graphicFrame:{nvGraphicFramePr:{cNvPr:{name:t.name,descr:t.alt||"",hidden:!i.J(a)&&!a}}},clientData:{fLocksWithSheet:t.isLocked,fPrintsWithSheet:t.canPrint},chartSpace:o,AlternateContent:t.AlternateContent},s=1,c=o.userShapes;return c&&c.length>0&&(r=c.map(function(e){var r;return"1"===e.typeName?(r=be(e,s,t.width,t.height),s++):"2"===e.typeName&&(r=me(e,s,t.width,t.height),s++),r}).filter(function(e){return!!e}),r.length>0?o.userShapes={relSizeAnchor:r}:delete o.userShapes),l}t.convertToExcelChart=pe;function he(e,t,r,i){var n=t.graphicFrame&&t.graphicFrame.nvGraphicFramePr&&t.graphicFrame.nvGraphicFramePr.cNvPr&&t.graphicFrame.nvGraphicFramePr.cNvPr,a=U(e.charts,n.name,"chart"),o=ie(e,t,r,i),l={name:a,chartSpace:t.chartSpace,isVisible:!n.hidden,alt:n.descr};return x(o,l,["x","y","width","height"]),l}function me(e,t,r,n){var a=oe(e,r,n),o=e.isVisible;return{typeName:e.typeName,anchorType:3,startPoint:a.startPoint,endPoint:a.endPoint,graphicFrame:{nvGraphicFramePr:{cNvPr:{name:e.name,descr:e.alt||"",hidden:!i.J(o)&&!o}}},chartSpace:e.chartSpace}}function ge(e,t,r,i){var n,a,o,l,s,c=t.pic&&t.pic.nvPicPr&&t.pic.nvPicPr.cNvPr,u=c.name,d=e.floatingObjects;return d&&(u=U(d,u,"picture")),n=t.pic&&t.pic.blipFill,a=n&&n.blip&&n.blip.blipBlob,o=a&&a.blob,l={name:u,alt:c.descr,src:o,isVisible:!c.hidden},s=ie(e,t,r,i),x(s,l,["x","y","width","height"]),J(t.pictureFormat,l),l}function be(e,t,r,i){var n,o,l=oe(e,r,i),s={typeName:e.typeName,anchorType:3,startPoint:l.startPoint,endPoint:l.endPoint,pic:{nvPicPr:{cNvPr:{name:e.name,descr:e.alt||""},cNvPicPr:{picLocks:{}}},spPr:{ln:{w:B(e.borderStyle)?0:e.borderWidth},prstGeom:{prst:1,avLst:{}}}},src:e.src},c=s.pic.spPr,u=c.ln,d=le(e.backColor);return d&&(c.solidFill=d),n=le(e.borderColor),n&&(u.solidFill=n),o=M(e.borderStyle),"dbl"===o?u.cmpd=a.Charts.ST_CompoundLine[o]:u.prstDash=a.Charts.ST_PresetLineDashVal[o],s}function we(e,t){return!(!e||!t||e.color!==t.color||e.type!==t.type)||!e&&!t}t.isBorderEqual=we,p={backColor:2,foreColor:0,borderBottom:1,borderLeft:1,borderRight:1,borderTop:1,font:0,textDecoration:0};function Ce(e,t){var r,n={};for(r in e)e.hasOwnProperty(r)&&(0===p[r]?e[r]!==t[r]&&(n[r]=e[r]):1===p[r]?we(e[r],t[r])||(n[r]=e[r]):2===p[r]?i.Util.Da(e[r],t[r])||(n[r]=e[r]):n[r]=e[r]);return n}t.processTableCellStyle=Ce;function Se(e,t){var r,i={};for(r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);for(r in p)void 0===e[r]&&void 0!==t[r]&&(i[r]=t[r]);return i}t.resetTableCellStyle=Se;function ye(e,t){var r,i="png",n=e.lastIndexOf(".");return n!==-1&&(i=e.substr(n+1)),"svg"===i&&(i="svg+xml"),r=t(e,!0),r?"data:image/"+i+";base64,"+r:l}t.getImageContent=ye;function ve(e){return JSON.parse(JSON.stringify(e))}function xe(e){var t=e.sp||e.cxnSp||e.grpSp;return t&&(t.spPr&&t.spPr.xfrm||t.grpSpPr&&t.grpSpPr.xfrm)}t.getXFrm=xe;function Te(e,t){if(e&&5===e.shapeType){var r=t[e.nvSpPr.cNvPr.id];r&&(e.shapeType=7,e.control=r)}}function Ae(e,t){var r=e&&e.sp||[];r.forEach(function(e){5===e.shapeType?Te(e,t):3===e.shapeType&&Ae(e,t)})}function ke(e,t){var r,i,n={},a=e.controls||{};return ue(t,e,n),t.sp?(Te(t.sp,a),n.shapeType=t.sp.shapeType,n.name=t.sp.nvSpPr.cNvPr.name,n.alt=t.sp.nvSpPr.cNvPr.descr,n.shapeData=ve(t)):t.cxnSp?(n.shapeType=t.cxnSp.shapeType,n.name=t.cxnSp.nvCxnSpPr.cNvPr.name,n.alt=t.cxnSp.nvCxnSpPr.cNvPr.descr,n.shapeData=ve(t)):t.grpSp?(Ae(t.grpSp,a),n.shapeType=t.grpSp.shapeType,n.name=t.grpSp.nvGrpSpPr.cNvPr.name,n.alt=t.grpSp.nvGrpSpPr.cNvPr.descr,n.shapeData=ve(t)):t.pic&&(r=t.pic,n.shapeType=r.shapeType,n.name=r.nvPicPr.cNvPr.name,n.alt=r.nvPicPr.cNvPr.descr,n.shapeData=ve(t)),i=n.shapeData,i&&i.hidden&&(i.isVisible=!1,n.isVisible=!1,delete i.hidden),n}t.convertFromExcelShape=ke,t.toProtectionOptions={selectLockedCells:"allowSelectLockedCells",selectUnlockedCells:"allowSelectUnlockedCells",autoFilter:"allowFilter",sort:"allowSort",insertColumns:"allowInsertColumns",insertRows:"allowInsertRows",deleteColumns:"allowDeleteColumns",deleteRows:"allowDeleteRows",objects:"allowEditObjects"},t.fromProtectionOptions={allowSelectLockedCells:"selectLockedCells",allowSelectUnlockedCells:"selectUnlockedCells",allowFilter:"autoFilter",allowSort:"sort",allowInsertColumns:"insertColumns",allowInsertRows:"insertRows",allowDeleteColumns:"deleteColumns",allowDeleteRows:"deleteRows",allowEditObjects:"objects"},t.excelSupportProtectionOptions={formatCells:!0,formatColumns:!0,formatRows:!0,insertColumns:!0,insertRows:!0,insertHyperlinks:!0,deleteColumns:!0,deleteRows:!0,sort:!0,autoFilter:!0,pivotTables:!0};function Ee(e){return Fe(e)?(e>4294934530&&e<4294967296&&(e-=4294967296),e):e}t.convertFirstPageNumber=Ee;function Ie(e){return Fe(e)?(e<0&&(e+=4294967296),e):e}t.convertFirstPageNumberToExcel=Ie;function Fe(e){return"string"==typeof e&&(e=+e),!(isNaN(e)||!isFinite(e))}},"./src/datamodel/excel-style.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k,E,I,F,P,D,R,L,_,N,B,M,O,G,H,U;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/common/builtIn-resource.ts"),a=r("./src/common/excel-types.ts"),o=r("./src/xml-io/xml-reader.ts"),l=r("./src/xlsx-io/reader/style-reader.ts"),s=null,c=void 0,u="Headings",d="Body",f="Calibri",p="bold",h="italic",function(e){e[e.none=0]="none",e[e.major=1]="major",e[e.minor=2]="minor",e[e.ninched=255]="ninched";
21
+ }(m=t.FontSchemeCategory||(t.FontSchemeCategory={})),function(e){e[e.top=0]="top",e[e.center=1]="center",e[e.bottom=2]="bottom",e[e.justify=3]="justify",e[e.distributed=4]="distributed"}(g=t.ExcelVerticalAlignment||(t.ExcelVerticalAlignment={})),function(e){e[e.general=0]="general",e[e.left=1]="left",e[e.center=2]="center",e[e.right=3]="right",e[e.fill=4]="fill",e[e.justify=5]="justify",e[e.centerContinuous=6]="centerContinuous",e[e.distributed=7]="distributed"}(b=t.ExcelHorizontalAlignment||(t.ExcelHorizontalAlignment={})),function(e){e[e.accordingToContext=0]="accordingToContext",e[e.leftToRight=1]="leftToRight",e[e.rightToLeft=2]="rightToLeft"}(w=t.TextDirection||(t.TextDirection={})),function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.double=2]="double",e[e.singleaccounting=3]="singleaccounting",e[e.doubleaccounting=4]="doubleaccounting"}(C=t.UnderLineStyle||(t.UnderLineStyle={})),function(e){e[e.baseLine=0]="baseLine",e[e.superscript=1]="superscript",e[e.subscript=2]="subscript"}(S=t.VertAlign||(t.VertAlign={})),function(e){e[e.none=0]="none",e[e.thin=1]="thin",e[e.medium=2]="medium",e[e.dashed=3]="dashed",e[e.dotted=4]="dotted",e[e.thick=5]="thick",e[e.double=6]="double",e[e.hair=7]="hair",e[e.mediumDashed=8]="mediumDashed",e[e.dashDot=9]="dashDot",e[e.mediumDashDot=10]="mediumDashDot",e[e.dashDotDot=11]="dashDotDot",e[e.mediumDashDotDot=12]="mediumDashDotDot",e[e.slantDashDot=13]="slantDashDot"}(y=t.ExcelBorderStyle||(t.ExcelBorderStyle={})),function(e){e[e.none=0]="none",e[e.solid=1]="solid",e[e.darkGray=2]="darkGray",e[e.mediumGray=3]="mediumGray",e[e.lightGray=4]="lightGray",e[e.gray125=5]="gray125",e[e.gray0625=6]="gray0625",e[e.darkHorizontal=7]="darkHorizontal",e[e.darkVertical=8]="darkVertical",e[e.darkDown=9]="darkDown",e[e.darkUp=10]="darkUp",e[e.darkGrid=11]="darkGrid",e[e.darkTrellis=12]="darkTrellis",e[e.lightHorizontal=13]="lightHorizontal",e[e.lightVertical=14]="lightVertical",e[e.lightDown=15]="lightDown",e[e.lightUp=16]="lightUp",e[e.lightGrid=17]="lightGrid",e[e.lightTrellis=18]="lightTrellis"}(v=t.FillPatternType||(t.FillPatternType={})),x=function(){function e(e,t,r){var i=this;if(3===e&&t>11&&241!==t&&242!==t&&243!==t&&244!==t&&255!==t)throw Error("themeColorIndexError");if(r>1||r<-1)throw Error("colorTintError");1===e&&32767===t&&(i.Vj=!0),i.Wj=e||2,i.Xj=t||0,i.Yj=r||0}return e.prototype.colorType=function(){return this.Wj},e.prototype.value=function(){return this.Xj},e.prototype.tint=function(){return this.Yj},e.prototype.isAutoColor=function(e){var t=this;return 0===arguments.length?t.Vj:void("boolean"==typeof e&&e!==t.Vj&&(t.Vj=e))},e.prototype.isIndexedColor=function(){return 1===this.Wj},e.prototype.isRGBColor=function(){return 2===this.Wj},e.prototype.isThemeColor=function(){return 3===this.Wj},e.prototype.equals=function(e){return this===e||!!e&&(this.Wj===e.colorType()&&this.value()===e.value()&&this.tint()===e.tint()&&this.isAutoColor()===e.isAutoColor())},e.EmptyColor=new e,e}(),t.ExcelColor=x,T=function(){function e(e,t){this.color=e||null,this.lineStyle=t||0}return e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.color?t.color.equals(e.color)&&t.lineStyle===e.lineStyle:!e.color&&t.lineStyle===e.lineStyle)},e.prototype.isDefault=function(){return null===this.color&&0===this.lineStyle},e}(),t.ExcelBorderSide=T,A=function(){function e(){var e=this;e.left=new T,e.top=new T,e.right=new T,e.bottom=new T,e.diagonalUp=new T,e.diagonalDown=new T}return e.prototype.clone=function(){var t=this,r=new e;return r.left=t.left?new T(t.left.color,t.left.lineStyle):t.left,r.right=t.right?new T(t.right.color,t.right.lineStyle):t.right,r.top=t.top?new T(t.top.color,t.top.lineStyle):t.top,r.bottom=t.bottom?new T(t.bottom.color,t.bottom.lineStyle):t.bottom,r.diagonalUp=t.diagonalUp?new T(t.diagonalUp.color,t.diagonalUp.lineStyle):t.diagonalUp,r.diagonalDown=t.diagonalDown?new T(t.diagonalDown.color,t.diagonalDown.lineStyle):t.diagonalDown,r},e.prototype.compose=function(e){var t=this;t.left&&t.left.isDefault()&&(t.left=e.left),t.right&&t.right.isDefault()&&(t.right=e.right),t.top&&t.top.isDefault()&&(t.top=e.top),t.bottom&&t.bottom.isDefault()&&(t.bottom=e.bottom),t.diagonalUp&&t.diagonalUp.isDefault()&&(t.diagonalUp=e.diagonalUp),t.diagonalDown&&t.diagonalDown.isDefault()&&(t.diagonalDown=e.diagonalDown)},e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.left.equals(e.left)&&t.right.equals(e.right)&&t.top.equals(e.top)&&t.bottom.equals(e.bottom)&&t.diagonalUp.equals(e.diagonalUp)&&t.diagonalDown.equals(e.diagonalDown))},e}(),t.ExcelBorder=A,k=function(){function e(){}return e.prototype.clone=function(){var t=this,r=new e;return r.bgColor=t.bgColor,r.fgColor=t.fgColor,r.patternType=t.patternType,r.stops=t.stops,r.type=t.type,r.degree=t.degree,r.left=t.left,r.right=t.right,r.top=t.top,r.bottom=t.bottom,r},e.prototype.compose=function(e){var t=this;t.bgColor===c&&(t.bgColor=e.bgColor),t.fgColor===c&&(t.fgColor=e.fgColor),t.patternType===c&&(t.patternType=e.patternType),t.stops===c&&(t.stops=e.stops),t.type===c&&(t.type=e.type),t.degree===c&&(t.degree=e.degree),t.left===c&&(t.left=e.left),t.right===c&&(t.right=e.right),t.top===c&&(t.top=e.top),t.bottom===c&&(t.bottom=e.bottom)},e.prototype.equals=function(e){var t=this;return t===e||!!e&&JSON.stringify(t)===JSON.stringify(e)},e.Default=function(){return e.Zj||(e.Zj=new e,e.Zj.bgColor=c,e.Zj.fgColor=c,e.Zj.patternType=0),e.Zj},e}(),t.ExcelFill=k,E=function(){function e(e,t,r){var i=this;void 0!==t?i.fontColor=t:i.fontColor=null,void 0!==e?i.fontName=e:i.fontName=null,void 0!==r?i.fontFamily=r:i.fontFamily=0,i.isAutoColor=!1,i.isBold=!1,i.isItalic=!1,i.isOutlineStyle=!1,i.isShadowStyle=!1,i.isStrikeOut=!1,i.fontScheme=0,i.fontSize=11,i.charSetIndex=0,i.underLineStyle=0,i.vertAlign=0,i.Zj=null}return e.prototype.equals=function(e){var t,r=this;return r===e||!!e&&(t=r.isBold===e.isBold&&r.isItalic===e.isItalic&&this.isOutlineStyle===e.isOutlineStyle&&this.isShadowStyle===e.isShadowStyle&&this.isStrikeOut===e.isStrikeOut&&this.fontName===e.fontName&&this.fontFamily===e.fontFamily&&this.fontSize===e.fontSize&&this.charSetIndex===e.charSetIndex&&this.underLineStyle===e.underLineStyle&&this.vertAlign===e.vertAlign&&this.fontScheme===e.fontScheme,!!t&&(!r.fontColor&&!e.fontColor||!(!r.fontColor&&e.fontColor)&&(!(r.fontColor&&!e.fontColor)&&r.fontColor.equals(e.fontColor))))},e.prototype.clone=function(){var t=this,r=new e(t.fontName,t.fontColor,t.fontFamily);return r.isAutoColor=t.isAutoColor,r.isBold=t.isBold,r.isItalic=t.isItalic,r.isOutlineStyle=t.isOutlineStyle,r.isShadowStyle=t.isShadowStyle,r.isStrikeOut=t.isStrikeOut,r.fontScheme=t.fontScheme,r.fontSize=t.fontSize,r.charSetIndex=t.charSetIndex,r.underLineStyle=t.underLineStyle,r.vertAlign=t.vertAlign,r.fontColor=t.fontColor,r},e.prototype.Default=function(){var t=this;return t.Zj||(t.Zj=new e,t.Zj.fontSize=11,t.Zj.fontFamily=2,t.Zj.fontColor=new x(1,0,0),t.Zj.fontName="Calibri",t.Zj.charSetIndex=0),t.Zj},e.prototype.compose=function(e){var t=this;null===t.fontColor&&(t.fontColor=e.fontColor),null===t.fontName&&(t.fontName=e.fontName),0===t.fontFamily&&(t.fontFamily=e.fontFamily),t.isAutoColor===!1&&(t.isAutoColor=e.isAutoColor),t.isBold===!1&&(t.isBold=e.isBold),t.isItalic===!1&&(t.isItalic=e.isItalic),t.isOutlineStyle===!1&&(t.isOutlineStyle=e.isOutlineStyle),t.isShadowStyle===!1&&(t.isShadowStyle=e.isShadowStyle),t.isStrikeOut===!1&&(t.isStrikeOut=e.isStrikeOut),0===t.fontScheme&&(t.fontScheme=e.fontScheme),11===t.fontSize&&(t.fontSize=e.fontSize),0===t.charSetIndex&&(t.charSetIndex=e.charSetIndex),0===t.underLineStyle&&(t.underLineStyle=e.underLineStyle),0===t.vertAlign&&(t.vertAlign=e.vertAlign),null===t.Zj&&(t.Zj=e.Zj)},e}(),t.ExcelFont=E,I=function(){function e(e,t){this.numberFormatId=e,this.numberFormatCode=t}return e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.numberFormatId===e.numberFormatId&&t.numberFormatCode===e.numberFormatCode)},e.prototype.compose=function(e){var t=this;t.numberFormatId===c&&(t.numberFormatId=e.numberFormatId),t.numberFormatCode===c&&(t.numberFormatCode=e.numberFormatCode)},e.prototype.clone=function(){var t=this;return new e(t.numberFormatId,t.numberFormatCode)},e}(),t.ExcelNumerFormat=I,F=function(){function e(){var e=this;e.font=(new E).Default(),e.border=new A,e.applyAlignment=c,e.applyBorder=c,e.applyFill=c,e.applyFont=c,e.applyNumberFormat=c,e.applyProtection=c,e.quotePrefix=c,e.fill=k.Default(),e.numberFormatIndex=0,e.numberFormat=c,e.isStyleFormat=!1,e.parentFormatID=c,e.parentName=c,e.horizontalAlign=0,e.verticalAlign=0,e.isLocked=!1,e.rotation=0,e.isWordWrap=!1,e.isJustfyLastLine=!1,e.isShrinkToFit=!1,e.isFirstSymbolApostrophe=!1,e.readingOrder=0,e.isHidden=!1,e.indent=0,e.isVerticalText=!1}return e.Default=function(){var t=new e;return t.numberFormatIndex=0,t.isLocked=!0,t.verticalAlign=2,t.horizontalAlign=0,t},e.prototype.copyFrom=function(e){var t=this;t.applyAlignment=e.applyAlignment,t.applyBorder=e.applyBorder,t.applyFill=e.applyFill,t.applyFont=e.applyFont,t.applyNumberFormat=e.applyNumberFormat,t.applyProtection=e.applyProtection,t.fill=null!==e.fill?e.fill.clone():null,t.border=null!==e.border?e.border.clone():null,t.font=null!==e.font?e.font.clone():null,t.numberFormatIndex=e.numberFormatIndex,t.numberFormat=e.numberFormat,t.isStyleFormat=e.isStyleFormat,t.parentFormatID=e.parentFormatID,t.horizontalAlign=e.horizontalAlign,t.verticalAlign=e.verticalAlign,t.isLocked=e.isLocked,t.rotation=e.rotation,t.isWordWrap=e.isWordWrap,t.isJustfyLastLine=e.isJustfyLastLine,t.isShrinkToFit=e.isShrinkToFit,t.isFirstSymbolApostrophe=e.isFirstSymbolApostrophe,t.readingOrder=e.readingOrder,t.isHidden=e.isHidden,t.indent=e.indent,t.quotePrefix=e.quotePrefix},e.prototype.clone=function(){var t=new e;return t.copyFrom(this),t},e.prototype.equals=function(e,t,r){var i,n=this;if(n===e)return!0;if(!e)return!1;if(!n.numberFormat&&e.numberFormat)return!1;if(i=n.numberFormatIndex===e.numberFormatIndex&&n.horizontalAlign===e.horizontalAlign&&n.verticalAlign===e.verticalAlign&&n.isLocked===e.isLocked&&n.rotation===e.rotation&&n.isWordWrap===e.isWordWrap&&n.isJustfyLastLine===e.isJustfyLastLine&&n.isShrinkToFit===e.isShrinkToFit&&n.isFirstSymbolApostrophe===e.isFirstSymbolApostrophe&&n.readingOrder===e.readingOrder&&n.isHidden===e.isHidden&&n.indent===e.indent&&n.parentFormatID===e.parentFormatID&&n.quotePrefix===e.quotePrefix&&n.border.equals(e.border)&&n.isVerticalText===e.isVerticalText,t||(i=i&&n.parentName===e.parentName),r||(i=i&&n.applyAlignment===e.applyAlignment&&n.applyBorder===e.applyBorder&&n.applyFill===e.applyFill&&n.applyFont===e.applyFont&&n.applyNumberFormat===e.applyNumberFormat&&n.applyProtection===e.applyProtection),n.font)i=i&&n.font.equals(e.font);else if(e.font)return!1;if(n.numberFormat&&(i=i&&n.numberFormat.equals(e.numberFormat)),n.fill)i=i&&n.fill.equals(e.fill);else if(e.fill)return!1;return i},e}(),t.ExtendedFormat=F,P=function(){function e(){this.$j=null,this.builtInStyle=0,this.category=0,this.isCustomBuiltin=!1,this.name=null,this.outLineLevel=0}return e.prototype.format=function(e){var t=this;return 0===arguments.length?(null===t.$j&&(t.$j=new F),t.$j):void(t.$j=e)},e.prototype.copy=function(){var t=this,r=new e;return r.builtInStyle=t.builtInStyle,r.outLineLevel=t.outLineLevel,r.isCustomBuiltin=t.isCustomBuiltin,r.category=t.category,r.name=t.name,r.format(t.format().clone()),r},e.prototype.isBuiltInStyle=function(){return!0},e.prototype.getBuiltInStyleCategory=function(){var e=this;if(!e.isBuiltInStyle())return 0;switch(e.builtInStyle){case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 2:case 1:return 4;case 24:return 1;case 19:return 2;case 20:return 2;case 3:case 6:case 4:case 7:return 5;case 49:return 2;case 23:return 1;case 13:case 14:case 15:case 16:return 3;case 17:return 2;case 21:return 2;case 25:return 1;case 0:return 1;case 10:case 18:return 2;case 5:return 5;case 12:case 22:return 3;case 11:return 2;default:return 0}},e}(),t.ExcelStyle=P,D=function(){function e(){this.$j=null,this.name=null}return e.prototype.format=function(e){var t=this;return 0===arguments.length?(null===t.$j&&(t.$j=new F),t.$j):(t.$j=e,this)},e.prototype.copy=function(){var t=new e;return t.name=this.name,t.format(this.format().clone()),t},e.prototype.isBuiltInStyle=function(){return!1},e}(),t.CustomExcelStyle=D,R=function(){function e(){}return e.initBuiltInExcelStyleCollections=function(){var t,r,i,a,s,c,u,d;if(e.builtInStyles.length=0,t=n.BuiltInStylesResource)for(r=new o.XmlReader,r.reset(),r.setXml(t),i=[],a=[],s=[],c=[],u={};r.read();)if(1===r.depth&&2!==r.elementType)switch(r.name()){case"numFmts":l.readNumberFormats(r,u);break;case"fonts":l.readFonts(r,i);break;case"fills":l.readFills(r,a);break;case"borders":l.readBorders(r,s);break;case"cellStyleXfs":l.readXFs(r,c,i,s,u,a,!0);break;case"cellStyles":for(d=r.depth;r.read();){if(r.depth<=d)return;1===r.nodeType()&&"cellStyle"===r.name()&&J(r,c,u)}}},e.getBuiltInStyles=function(){var t,r,i=e.builtInStyles.length;for(47!==i&&e.initBuiltInExcelStyleCollections(),t=[],i=e.builtInStyles.length,r=0;r<i;r++)t.push(e.builtInStyles[r].copy());return t},e.getNormalStyle=function(){var e,t=new F;return t.font=new E,t.font.fontColor=new x(3,1),t.font.fontSize=11,t.font.fontName="Calibri",e=new P,e.format(t),e.name="Normal",e.builtInStyle=0,e},e.builtInStyles=[],e}(),t.BuiltInExcelStyles=R;function J(e,t,r){for(var i,n,a=c,o=0,l=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":a=e.readContentAsString();break;case"xfId":o=e.readContentAsInt(0);break;case"builtinId":l=e.readContentAsInt(0)}i=t[o],i.isStyleFormat=!0,n=new P,n.name=a,n.format(i.clone()),!n.format().numberFormat&&r[n.format().numberFormatIndex]&&(n.format().numberFormat=r[n.format().numberFormatIndex],n.format().numberFormatIndex=0),n.isCustomBuiltin=!1,n.builtInStyle=l,n.category=n.getBuiltInStyleCategory(),R.builtInStyles.push(n)}L=function(){function e(){}return e.builtInNumberFomrat=function(){return e._j||(e._j={count:0}),0===e._j.count&&e.initBuintNumberFormat(),e._j},e.languageIndepedentNumberFormat=function(){return e.ak||(e.ak={count:0}),0===e.ak.count&&e.initLanguageIndepedentNumberFormat(),e.ak},e.formatCodeTable=function(){return e.ck||(e.ck=[]),e.ck},e.customNumberFormat=function(){return e.dk||(e.dk={count:0}),e.dk},e.getCultureInfo=function(){var e=i.K(),t=e&&e.GC&&e.GC.Spread&&e.GC.Spread.Common&&i.K().GC.Spread.Common.CultureManager.getCultureInfo();return t||i.Ga()},e.initBuintNumberFormat=function(){var t,r,n,a,o,l,s,c=e._j;if(c[0]="General",c[1]="0",c[2]="0.00",c[3]="#,##0",c[4]="#,##0.00",c[9]="0%",c[10]="0.00%",c[11]="0.00E+00",c[12]="# ?/?",c[13]="# ??/??",c[14]="m/d/yyyy",c[15]="d-mmm-yy",c[16]="d-mmm",c[17]="mmm-yy",c[18]="h:mm AM/PM",c[19]="h:mm:ss AM/PM",c[20]="h:mm",c[21]="h:mm:ss",c[22]="m/d/yyyy h:mm",c[37]="#,##0_);(#,##0)",c[38]="#,##0_);[Red](#,##0)",c[39]="#,##0.00_);(#,##0.00)",c[40]="#,##0.00_);[Red](#,##0.00)",c[45]="mm:ss",c[46]="[h]:mm:ss",c[47]="mm:ss.0",c[48]="##0.0E+0",c[49]="@",c.count=49,i.Fa())if(t=i.Fa(),"zh-cn"===t)c[14]="yyyy/m/d",c[17]="mmm-yy",c[22]="yyyy/m/d h:mm",c[27]='yyyy"\u5e74"m"\u6708"',c[28]='m"\u6708"d"\u65e5"',c[29]='m"\u6708"d"\u65e5"',c[30]="m-d-yy",c[31]='yyyy"\u5e74"m"\u6708"d"\u65e5"',c[32]='h"\u65f6"mm"\u5206"',c[33]='h"\u65f6"mm"\u5206"ss"\u79d2"',c[34]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"',c[35]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"ss"\u79d2"',c[36]='yyyy"\u5e74"m"\u6708"',c[39]="#,##0.00;-#,##0.00",c[40]="#,##0.00;[Red]-#,##0.00",c[50]='yyyy"\u5e74"m"\u6708"',c[51]='m"\u6708"d"\u65e5"',c[52]='yyyy"\u5e74"m"\u6708"',c[53]='m"\u6708"d"\u65e5"',c[54]='m"\u6708"d"\u65e5"',c[55]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"',c[56]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"ss"\u79d2"',c[57]='yyyy"\u5e74"m"\u6708"',c[58]='m"\u6708"d"\u65e5"',c.count=58;else if("ja-jp"===t)c[14]="yyyy/m/d",c[15]="dd-mmm-yy",c[16]="dd-mmm",c[17]="mmm-yy",c[22]="yyyy/mm/dd h:mm",c[27]="[$-411]ge.m.d",c[28]='[$-411]ggge"\u5e74"m"\u6708"d"',c[29]='[$-411]ggge"\u5e74"m"\u6708"d"',c[30]="m/d/yy",c[31]='yyyy"\u5e74"m"\u6708"d"\u65e5"',c[32]='h"\u6642"mm"\u5206"',c[33]='h"\u6642"mm"\u5206"ss"\u79d2"',c[34]='yyyy"\u5e74"m"\u6708"',c[35]='m"\u6708"d"\u65e5"',c[36]="[$-411]ge.m.d",c[38]="#,##0;[Red]-#,##0",c[39]="#,##0.00;-#,##0.00",c[40]="#,##0.00;[Red]-#,##0.00",c[50]="[$-411]ge.m.d",c[51]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c[52]='yyyy"\u5e74"m"\u6708"',c[53]='m"\u6708"d"\u65e5"',c[54]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c[55]='yyyy"\u5e74"m"\u6708"',c[56]='m"\u6708"d"\u65e5"',c[57]="[$-411]ge.m.d",c[58]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c.count=58;else{if(r=e.getCultureInfo(),n=r&&r.LocalNumberFormat,i.isNullOrUndefined(n)||Array.isArray(n)||"object"!=typeof n)return;for(a in n)isNaN(+a)||(o=n[a],i.Util.Ca(o)&&(c[a]=n[a]));l=0;for(a in c)isNaN(+a)||(s=+a,s>l&&(l=s));c.count=l}},e.initLanguageIndepedentNumberFormat=function(){var t=e.ak;t[27]="m/d/yyyy",t[28]="m/d/yyyy",t[29]="m/d/yyyy",t[30]="m/d/yyyy",t[31]="m/d/yyyy",t[32]="h:mm:ss",t[33]="h:mm:ss",t[34]="m/d/yyyy",t[35]="m/d/yyyy",t[36]="m/d/yyyy",t[50]="m/d/yyyy",t[51]="m/d/yyyy",t[52]="m/d/yyyy",t[53]="m/d/yyyy",t[54]="m/d/yyyy",t[55]="m/d/yyyy",t[56]="m/d/yyyy",t[57]="m/d/yyyy",t[58]="m/d/yyyy"},e.getFormatCode=function(t){var r,i,n,a=e.builtInNumberFomrat(),o=e.customNumberFormat(),l=e.languageIndepedentNumberFormat(),s=t.numberFormatIndex;return t.numberFormat?(r=t.numberFormat,i=r.numberFormatId,n=r.numberFormatCode,a[i]&&a[i]!==n?(a[i]=n,n):(o[n]||(o[n]=i,o.count++),n)):a[s]?a[s]:l[s]?l[s]:"General"},e.getFormatId=function(t){var r,i,n,a,o,l,s,c=e.ek();if(c[t])return c[t];if(i=e.builtInNumberFomrat())for(n in i)if(i[n]===t)return r={isBuiltIn:!0,id:parseInt(n,10)},c[t]=r,r;if(a=e.customNumberFormat(),a&&a[t])return r={isBuiltIn:!1,id:a[t]},c[t]=r,r;if(o=0,a.count>0){l=0;for(s in a)a[s]>l&&(l=a[s]);o=l}return o=Math.max(e.fk,o)+1,e.fk++,a[t]=o,r={isBuiltIn:!1,id:o}},e.ek=function(){return e.gk||(e.gk={}),e.gk},e.ck=null,e.gk=null,e._j={count:0},e.ak={count:0},e.dk={count:0},e.fk=170,e}(),t.ExtendedNumberFormatHelper=L;function W(e,t){var r=Math.pow(10,t);return Math.round(e*r)/r}_=function(){function e(){}return e.pointToPixel=function(e,t){return void 0===t&&(t=2),W(96*e/72,t)},e.pixelToPoint=function(e){return 72*e/96},e.emuToPixles=function(e,t){return W(96*e/914400,t||2)},e.pixelToEMU=function(e){return Math.round(914400*e/96)},e.getMaxiumDigitWidth=function(t){var r,i,n,o,l,s,c=0,u=e.hk();if(u[t])return u[t];try{if(e.ik||(e.ik=document.createElement("span")),r=e.ik,r.style.font=t,i=r.style.fontSize,i.indexOf("px")!==-1?i=Math.round(e.pixelToPoint(parseFloat(i))):i.indexOf("pt")!==-1&&(i=Math.round(parseFloat(i))),!isNaN(i)&&i||(i=Math.round(e.pixelToPoint(parseFloat(t.match(/(\d|\.)+/))))),n=r.style.fontFamily,n||t.split(" ").forEach(function(e){"normal"!==e&&"italic"!==e&&"bold"!==e&&e.indexOf("px")===-1&&e.indexOf("pt")===-1&&isNaN(e)&&(n=e)}),a.unknownFontMaxDigitWidthMap[i]&&a.unknownFontMaxDigitWidthMap[i][n]?c=a.unknownFontMaxDigitWidthMap[i][n]:a.MaxDigitWidthMap[i]&&a.MaxDigitWidthMap[i][n]&&(c=a.MaxDigitWidthMap[i][n]),c>0)return u[t]=c,c}catch(e){}for(o="0123456789",l=0,s=0;s<o.length;s++)l=e.measureText(o.charAt(s),t),l>c&&(c=l);return c>0?(u[t]=c,c):(u[t]=7,u[t])},e.truncate=function(e){return Math.floor(e)},e.hk=function(){return e.jk||(e.jk={}),e.jk},e.measureText=function(t,r){var i,n;function a(){return e.kk||(e.kk=document.createElement("canvas")),e.kk}try{return i=a(),n=i.getContext("2d"),n.font=r,n.measureText(t).width}catch(e){return 8}},e.ik=null,e.jk=null,e.kk=null,e}(),t.UnitHelper=_,N=function(){function e(e,t,r,i){var n=this;n.a=e,n.r=t,n.g=r,n.b=i}return e.prototype.toString=function(){var e=this;return 255===e.a?"#"+e.getColorUnitString(e.r)+e.getColorUnitString(e.g)+e.getColorUnitString(e.b):"rgba("+e.r+","+e.g+","+e.b+","+e.a+")"},e.prototype.getColorUnitString=function(e){var t=e.toString(16);return 1===t.length&&(t="0"+t),t},e.hueToRGB=function(e,t,r){return r<0&&(r+=240),r>240&&(r-=240),r<40?e+((t-e)*r+20)/40:r<120?t:r<160?e+((t-e)*(160-r)+20)/40:e},e.fromHLS=function(t,r,i){var n,a,o,l,s;return 0===i?n=a=o=parseInt(255*r/240,10):(l=void 0,s=void 0,s=r<=120?(r*(240+i)+120)/240:r+i-(r*i+120)/240,l=2*r-s,n=parseInt((255*e.hueToRGB(l,s,t+80)+120)/240,10),a=parseInt((255*e.hueToRGB(l,s,t)+120)/240,10),o=parseInt((255*e.hueToRGB(l,s,t-80)+120)/240,10)),new e(255,n,a,o)},e}(),t.lk=N,B=function(){function e(e){var t,r,i,n,a=this,o=e.r,l=e.g,s=e.b,c=Math.max(Math.max(o,l),s),u=Math.min(Math.min(o,l),s),d=c+u;a.luminosity=parseInt(""+(240*d+255)/510,10),t=c-u,0===t?(a.saturation=0,a.hue=160):(a.luminosity<=120?a.saturation=parseInt(""+(240*t+d/2)/d,10):a.saturation=parseInt(""+(240*t+(510-d)/2)/(510-d),10),r=(40*(c-o)+t/2)/t,i=(40*(c-l)+t/2)/t,n=(40*(c-s)+t/2)/t,o===c?a.hue=parseInt(""+(n-i),10):l===c?a.hue=parseInt(""+(80+r-n),10):a.hue=parseInt(""+(160+i-r),10),a.hue<0&&(a.hue+=240),a.hue>240&&(a.hue-=240))}return e.prototype.toColor=function(){return N.fromHLS(this.hue,this.luminosity,this.saturation)},e}(),M=function(){function e(){}return e.getThemeColorName=function(e){if(!e||3!==e.colorType())return null;var t=Math.round(100*e.tint());return 0===e.value()||243===e.value()?"Background 1 "+t:1===e.value()||241===e.value()?"Text 1 "+t:2===e.value()||244===e.value()?"Background 2 "+t:3===e.value()||242===e.value()?"Text 2 "+t:4===e.value()?"Accent 1 "+t:5===e.value()?"Accent 2 "+t:6===e.value()?"Accent 3 "+t:7===e.value()?"Accent 4 "+t:8===e.value()?"Accent 5 "+t:9===e.value()?"Accent 6 "+t:10===e.value()?"hyperlink":11===e.value()?"followedHyperlink":null},e.getThemeColorIndex=function(e,t){return"Background 1"===e.substring(0,12)?t?243:0:"Text 1"===e.substring(0,6)?t?241:1:"Background 2"===e.substring(0,12)?t?244:2:"Text 2"===e.substring(0,6)?t?242:3:"Accent 1"===e.substring(0,8)?4:"Accent 2"===e.substring(0,8)?5:"Accent 3"===e.substring(0,8)?6:"Accent 4"===e.substring(0,8)?7:"Accent 5"===e.substring(0,8)?8:"Accent 6"===e.substring(0,8)?9:"hyperlink"===e?10:"followedHyperlink"===e?11:void 0},e.mk=function(){return e.nk||(e.nk={}),e.nk},e.getExcelThemeColor=function(t){var r,n,a,o;return i.StringEx.L(t)?x.EmptyColor:(r=e.mk(),r[t]?r[t]:(n=0,a=t.split(" "),a.length>=3&&(n=parseFloat(a[2]),isNaN(n)||(n/=100)),o=new x(3,e.getThemeColorIndex(t),n),r[t]=o,o))},e.toRGBColor=function(t){return t?""+e.getRGBColor(t):null},e.colorFromIndex=function(t,r){var i,n,a,o;return 32767===t?new N(0,0,0,0):t<0||t>=e.palette.length?new N(255,0,0,0):e.useCustomPalette?e.customPalette[t]!==c?e.customPalette[t]:64===t?new N(255,0,0,0):65===t?new N(255,255,255,255):new N(0,255,255,255):(i=e.palette[t],n=i>>16&255,a=i>>8&255,o=255&i,new N(r,n,a,o))},e.updateTint=function(e,t){var r,i,n;return 0===t?e:(r=new B(e),t>0?(i=240-r.luminosity,n=i*t,N.fromHLS(r.hue,r.luminosity+n,r.saturation)):(n=r.luminosity*-t,N.fromHLS(r.hue,r.luminosity-n,r.saturation)))},e.getRGBColor=function(t){var r,i;return null===t||t===c?new N(0,255,255,255):t.isAutoColor()?new N(255,0,0,0):t.isIndexedColor()?(r=e.colorFromIndex(0|t.value(),255),e.updateTint(r,t.tint())):t.isRGBColor()?(i=(16777215&t.value())+4278190080,r=e.fromArgb(i),e.updateTint(r,t.tint())):t.isThemeColor()?e.getThemeColorName(t):new N(0,255,255,255)},e.fromArgb=function(e){return new N(e>>24&255,e>>16&255,e>>8&255,255&e)},e.getRGBAColorData=function(t){var r=e.fromArgb(t.value());return{rgb:r.getColorUnitString(r.r)+r.getColorUnitString(r.g)+r.getColorUnitString(r.b),alpha:r.a}},e.pk=function(){return e.qk||(e.qk={}),e.qk},e.fromHtmlColor=function(t){var r,i,n,a,o,l;if(t)return"string"!=typeof t?t:(r=e.pk(),r[t]?r[t]:(i=t.toLowerCase(),"#"===i.substring(0,1)?(7===i.length?i="#ff"+i.substring(1):4===i.length&&(i="#ff"+i[1]+i[1]+i[2]+i[2]+i[3]+i[3]),n=parseInt(i.substring(1,i.length),16)):"rgb("===i.substring(0,4)?(a=i.indexOf("("),o=i.indexOf(")"),l=i.substring(a+1,o).split(","),n=255*Math.pow(16,6)+parseInt(l[0],10)*Math.pow(16,4)+parseInt(l[1],10)*Math.pow(16,2)+parseInt(l[2],10)):"rgba("===i.substring(0,5)?(a=i.indexOf("("),o=i.indexOf(")"),l=i.substring(a+1,o).split(","),n=parseInt(255*parseFloat(l[3]),10)*Math.pow(16,6)+parseInt(l[0],10)*Math.pow(16,4)+parseInt(l[1],10)*Math.pow(16,2)+parseInt(l[2],10)):n=e.rk[i]?e.rk[i]:parseInt(i,10),r[t]=n,n))},e.isThemeColor=function(e){if(!e||"string"!=typeof e)return!1;e=e.toLowerCase();var t=e[0];switch(t){case"b":return 0===e.indexOf("background ");case"t":return 0===e.indexOf("text ");case"a":return 0===e.indexOf("accent ");case"h":return 0===e.indexOf("hyperlink");case"f":return 0===e.indexOf("followedhyperlink");default:return!1}},e.mixTranslucentColor=function(t,r){var i,n,a,o;return 255===r.a?r:0===r.a?t:(i=Math.round((255-t.a)*r.a/255),n=e.getMaxInt(t.a,r.a,t.r,r.r,i+t.a),a=e.getMaxInt(t.a,r.a,t.g,r.g,i+t.a),o=e.getMaxInt(t.a,r.a,t.b,r.b,i+t.a),new N(Math.round(i+t.a),n,a,o))},e.getMaxInt=function(e,t,r,i,n){return 0===n?0:(t*i+(255-t)*e*r/255)/n},e.toExcelColor=function(t,r){if(t instanceof x)return t;if(r===c&&(r=16777215),!t)return null;if(e.isThemeColor(t))return e.getExcelThemeColor(t);var i=e.fromHtmlColor(t);return i!==r?e.fromColorToExcelColor(e.fromArgb(i)):null},e.toExcelBackColor=function(t,r){var i,n;if(t!==s&&"object"==typeof t)if(t.stops)for(i=t,n=0;n<i.stops.length;n++)i.stops[n].color=e.toExcelColor(i.stops[n].color);else i={patternType:t.type,fgColor:e.toExcelColor(t.patternColor||"#000000"),bgColor:e.toExcelColor(t.backgroundColor||"#FFFFFF")};else i=t?{patternType:1,fgColor:e.toExcelColor(t),bgColor:e.toExcelColor(r?"#000000":"#FFFFFF")}:{patternType:0,fgColor:new x(1,64,0),bgColor:new x(1,65,0)};return i},e.toExcelIndexedColor=function(t){if(t){var r=e.getPaletteColorIndex(t,63);return new x(1,r)}return null},e.fromColorToExcelColor=function(t){var r,i,n,a,o;return t=e.mixTranslucentColor(e.fromArgb(16777215),t),255!==t.a&&(r=e.sk,i=Math.round(r.r-t.a+t.a/255*t.r),n=Math.round(r.g-t.a+t.a/255*t.g),a=Math.round(r.b-t.a+t.a/255*t.b),t=new N(255,i,n,a)),o=t.a*Math.pow(16,6)+t.r*Math.pow(16,4)+t.g*Math.pow(16,2)+t.b,new x(2,o,0)},e.getClosestColorIndex=function(t,r){var i,n,a,o,l,s,u,d;for(r===c&&(r=64),i=-1,n=Number.MAX_VALUE,a=Math.min(e.palette.length-1,r);a>=0;a--)o=e.palette[a],l=(16711680&o)>>16,s=(65280&o)>>8,u=255&o,d=Math.abs(.3*(l-t.r))+Math.abs(.59*(s-t.g))+Math.abs(.11*(u-t.b)),d<n&&(n=d,i=a);return i},e.getPaletteColorIndex=function(t,r){return r===c&&(r=64),t.isThemeColor()?e.getClosestColorIndex(e.getRGBColor(new x(3,t.value(),0))):e.getClosestColorIndex(e.getRGBColor(t),r)},e.toColorSchemeIndex=function(e){return"ACCENT1"===e?4:"ACCENT2"===e?5:"ACCENT3"===e?6:"ACCENT4"===e?7:"ACCENT5"===e?8:"ACCENT6"===e?9:"DK1"===e?1:"DK2"===e?3:"LT1"===e?0:"LT2"===e?2:"HLIK"===e?10:"FOLHLINK"===e?11:"PHCLR"===e?240:"BG1"===e?243:"BG2"===e?244:"TX1"===e?241:"TX2"===e?242:255},e.scRgbTosRgb=function(e){return e<=0?0:e<=.0031308?255*e*12.92+.5:e<1?255*(1.055*Math.pow(e,.4166666666666667)-.055)+.5:255},e.convertHLSToRGB=function(t,r,i){var n,a,o=0,l=0,s=0;return 0===i?(o=255*r/255|0,l=o,s=o):(n=void 0,n=r<=127?(r*(255+i)+127)/255:r+i-(r*i+127)/255,a=2*r-n,o=parseInt(""+(255*e.hueToRGB(a,n,t+85)+127)/255,10),l=parseInt(""+(255*e.hueToRGB(a,n,t)+127)/255,10),s=parseInt(""+(255*e.hueToRGB(a,n,t-85)+127)/255,10)),o=o>0?o:0,l=l>0?l:0,s=s>0?s:0,o=o<255?o:255,l=l<255?l:255,s=s>255?s:255,new N(0,o,l,s)},e.hueToRGB=function(e,t,r){return r<0&&(r+=255),r>255&&(r-=255),r<42?e+((t-e)*r+21)/42:r<127?t:r<170?e+((t-e)*(170-r)+21)/42:e},e.fromPresetColorVal=function(t){var r=e.rk[t];return r!==c?e.fromArgb(r):null},e.nk=null,e.qk=null,e.useCustomPalette=!1,e.customPalette=null,e.palette=[4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4286578688,4278222848,4278190208,4286611456,4286578816,4278222976,4290822336,4286611584,4288256511,4288230246,4294967244,4291624959,4284874854,4294934656,4278216396,4291611903,4278190208,4294902015,4294967040,4278255615,4286578816,4286578688,4278222976,4278190335,4278242559,4291624959,4291624908,4294967193,4288269567,4294941132,4291598847,4294954137,4281558783,4281584844,4288269312,4294953984,4294940928,4294927872,4284901017,4288059030,4278203238,4281571686,4278203136,4281545472,4288230144,4288230246,4281545625,4281545523,4278190080],e.sk=new N(255,255,255,255),e.rk={aliceblue:4293982463,antiquewhite:4294634455,aqua:4278255615,aquamarine:4286578644,azure:4293984255,beige:4294309340,bisque:4294960324,black:4278190080,blanchedalmond:4294962125,blue:4278190335,blueviolet:4287245282,brown:4289014314,burlywood:4292786311,cadetblue:4284456608,chartreuse:4286578432,chocolate:4291979550,coral:4294934352,cornflowerblue:4284782061,cornsilk:4294965468,crimson:4292613180,cyan:4278255615,darkblue:4278190219,darkcyan:4278225803,darkgoldenrod:4290283019,darkgray:4289309097,darkgreen:4278215680,darkkhaki:4290623339,darkmagenta:4287299723,darkolivegreen:4283788079,darkorange:4294937600,darkorchid:4288230092,darkred:4287299584,darksalmon:4293498490,darkseagreen:4287609999,darkslateblue:4282924427,darkslategray:4281290575,darkturquoise:4278243025,darkviolet:4287889619,deeppink:4294907027,deepskyblue:4278239231,dimgray:4285098345,dodgerblue:4280193279,feldspar:4291924597,firebrick:4289864226,floralwhite:4294966e3,forestgreen:4280453922,fuchsia:4294902015,gainsboro:4292664540,ghostwhite:4294506751,gold:4294956800,goldenrod:4292519200,gray:4286611584,green:4278222848,greenyellow:4289593135,honeydew:4293984240,hotpink:4294928820,"indianred ":4291648604,"indigo ":4283105410,ivory:4294967280,khaki:4293977740,lavender:4293322490,lavenderblush:4294963445,lawngreen:4286381056,lemonchiffon:4294965965,lightblue:4289583334,lightcoral:4293951616,lightcyan:4292935679,lightgoldenrodyellow:4294638290,lightgrey:4292072403,lightgreen:4287688336,lightpink:4294948545,lightsalmon:4294942842,lightseagreen:4280332970,lightskyblue:4287090426,lightslateblue:4286869759,lightslategray:4286023833,lightsteelblue:4289774814,lightyellow:4294967264,lime:4278255360,limegreen:4281519410,linen:4294635750,magenta:4294902015,maroon:4286578688,mediumaquamarine:4284927402,mediumblue:4278190285,mediumorchid:4290401747,mediumpurple:4287852760,mediumseagreen:4282168177,mediumslateblue:4286277870,mediumspringgreen:4278254234,mediumturquoise:4282962380,mediumvioletred:4291237253,midnightblue:4279834992,mintcream:4294311930,mistyrose:4294960353,moccasin:4294960309,navajowhite:4294958765,navy:4278190208,oldlace:4294833638,olive:4286611456,olivedrab:4285238819,orange:4294944e3,orangered:4294919424,orchid:4292505814,palegoldenrod:4293847210,palegreen:4288215960,paleturquoise:4289720046,palevioletred:4292374675,papayawhip:4294963157,peachpuff:4294957753,peru:4291659071,pink:4294951115,plum:4292714717,powderblue:4289781990,purple:4286578816,red:4294901760,rosybrown:4290547599,royalblue:4282477025,saddlebrown:4287317267,salmon:4294606962,sandybrown:4294222944,seagreen:4281240407,seashell:4294964718,sienna:4288696877,silver:4290822336,skyblue:4287090411,slateblue:4285160141,slategray:4285563024,snow:4294966010,springgreen:4278255487,steelblue:4282811060,tan:4291998860,teal:4278222976,thistle:4292394968,tomato:4294927175,turquoise:4282441936,violet:4293821166,violetred:4291829904,wheat:4294303411,white:4294967295,whitesmoke:4294309365,yellow:4294967040,yellowgreen:4288335154,transparent:16777215},e}(),t.ColorHelper=M;function V(e){return e===!1}function z(e){return e&&"NORMAL"!==e.toUpperCase()&&e.indexOf("__builtInStyle")<0}O=function(){function e(){}return e.getFontName=function(e){var t,r,i;if(!e)return null;if(t=e,r=",",t.indexOf(r)!==-1&&(t=t.split(r)[0]),t){for(i=t.length-1;i>=0&&"/"!==t[i];)i--;i>=0&&(t=t.substring(i)),t&&"/#"===t.substring(0,2)&&(t=t.substring(2)),'"'===t[0]&&'"'===t[t.length-1]&&(t=t.substring(1,t.length-1));
22
+ }return t},e.setStyleInfoFont=function(e,t,r,i){var n,a,o,l,s,p,h=e.fontName;h||(h=f),a="",e.fontSize>0&&(a=_.pointToPixel(e.fontSize,4)+"px"),o="",o=e.isItalic?"italic":"normal",l="",l=e.isBold?"bold":"normal",s="",s=e.fontColor?e.fontColor.isThemeColor()?M.getThemeColorName(e.fontColor):M.toRGBColor(e.fontColor):e.fontColor,t.foreColor=s,e.isStrikeOut&&(t.textDecoration=2),e.underLineStyle!==c&&(p=1,2===e.underLineStyle?p=8:0===e.underLineStyle&&(p=0),t.textDecoration===c?t.textDecoration=p:t.textDecoration=t.textDecoration|p),1===e.fontScheme?(t.themeFont=u,r&&(h=r)):2===e.fontScheme&&(t.themeFont=d,i&&(h=i)),n=o+" "+l+" "+a+" "+h,n&&(t.font=n)},e.tk=function(){return e.uk||(e.uk={}),e.uk},e.fromHtmlFont=function(t){var r,n,a,o,l,s,c,u,d,f,m,g,b,w;if(!i.StringEx.L(t)){if(r={},n=e.tk(),n[t])return n[t];if(a=e.splitFontString(t),0!==a.length){for(o=0,l=!1,s=!1,c=!1;o<a.length;){if(u=a[o].toLowerCase(),"normal"===u);else if(l||"italic"!==u&&"oblique"!==u&&"inherit"!==u)if(s||"small-caps"!==u)if(c||"bold"!==u&&"bolder"!==u&&"lighter"!==u&&"100"!==u&&"200"!==u&&"300"!==u&&"400"!==u&&"500"!==u&&"600"!==u&&"700"!==u&&"800"!==u&&"900"!==u&&"inherit"!==u){if("/"===u.substring(0,1)){o++;break}if("xx-small"===u||"x-small"===u||"small"===u||"medium"===u||"large"===u||"x-large"===u||"xx-large"===u||u.indexOf("px")!==-1||u.indexOf("pt")!==-1)break}else c=!0,"bolder"===u||parseInt(u,10)>=700?r.fontWeight=p:"lighter"===u?r.fontWeight="ExtraLight":r.fontWeight=u;else s=!0,r.fontVariant=u;else l=!0,"oblique"===u&&(u=h),r.fontStyle=u;if(o++,l&&s&&c)break}if(o<a.length&&(d=a[o].toLowerCase(),"xx-small"===d||"x-small"===d||"small"===d||"medium"===d||"large"===d||"x-large"===d||"xx-large"===d?(f=10,"xx-small"===d||"x-small"===d?f=6:"small"===d?f=8:"large"===d?f=14:"x-large"===d?f=18:"xx-large"===d&&(f=22),r.fontSize=f):(m=void 0,d.indexOf("px")!==-1?m=parseFloat(d):d.indexOf("pt")!==-1&&(g=parseFloat(d),isNaN(g)||(m=_.pointToPixel(g,4))),isNaN(m)||(r.fontSize=m)),o++),o<a.length&&(b=a[o].toLowerCase(),"/"===b.substring(0,1)&&o++),o<a.length){for(w=a[o],o++;o<a.length;o++)w=w+" "+a[o];r.fontFamily=w}return n[t]=r,r}}},e.composeFontWeightAndFontStyleToDestFont=function(t,r){var i=e.fromHtmlFont(t),n=e.fromHtmlFont(r);return i.fontWeight&&(n.fontWeight=i.fontWeight),i.fontStyle&&(n.fontStyle=i.fontStyle),(n.fontWeight?n.fontWeight:"normal")+" "+(n.fontStyle?n.fontStyle:"normal")+" "+n.fontSize+"px "+n.fontFamily+" "+(n.fontVariant?n.fontVariant:"")},e.splitFontString=function(e){var t,r,n,a,o;if(i.StringEx.L(e))return[];for(e=e.trim(),t=[],r="",n=0,a=e.length;n<a;n++)if(o=e[n]," "===o||"/"===o)t.push(r),r="","/"===o&&(r+="/");else if("'"===o||'"'===o)for(n++;e[n]!==o&&n<a;)r+=e[n],n++;else r+=o;return r.length>0&&t.push(r),t},e.toVerticalAlignment=function(e){return 0===e||1===e||2===e?e:2},e.toExcelVerticalAlignment=function(e){return 0===e||1===e||2===e?e:0},e.toHorizontalAlignment=function(e){switch(e){case 0:return 3;case 1:return 0;case 6:return 4;case 2:return 1;case 3:return 2;case 4:case 5:case 7:return 3;default:return 3}},e.toExcelHorizontalAlignment=function(e){switch(e){case 1:return 2;case 0:return 1;case 2:return 3;case 3:return 0;case 4:return 6;default:return 0}},e.toBorderLine=function(e){if(e){var t=null;return 0===e.lineStyle?null:(e.color||(e.color=new x(1,0,0)),t=e.color.isThemeColor()?{color:M.getThemeColorName(e.color),style:e.lineStyle}:{color:""+M.getRGBColor(e.color),style:e.lineStyle})}},e.toExcelBorderSide=function(e){var t,r,i=new T;return e?(t=e.color,M.isThemeColor(t)?i.color=M.getExcelThemeColor(t):(r=e.color,i.color=new x(2,M.fromHtmlColor(r),0)),i.lineStyle=e.style,i):i},e.setStyleInfoBorders=function(t,r){r.borderLeft=e.toBorderLine(t.left),r.borderRight=e.toBorderLine(t.right),r.borderTop=e.toBorderLine(t.top),r.borderBottom=e.toBorderLine(t.bottom),r.borderVertical=e.toBorderLine(t.vertical),r.borderHorizontal=e.toBorderLine(t.horizontal),r.diagonalUp=e.toBorderLine(t.diagonalUp),r.diagonalDown=e.toBorderLine(t.diagonalDown)},e.toCellStyle=function(t,r,n){var a,o,l,u,d,f,p,h,m,g,b,w={};return t?(a=t.isStyleFormat,o=t.applyFont,l=t.applyFill,u=t.applyBorder,d=t.applyAlignment,f=t.applyProtection,p=t.applyNumberFormat,a&&(V(o)&&(w.applyFont=o),V(l)&&(w.applyFill=l),V(u)&&(w.applyBorder=u),V(d)&&(w.applyAlignment=d),V(f)&&(w.applyProtection=f),V(p)&&(w.applyNumberFormat=p)),(!a&&t.applyFont!==!1||a)&&t.font&&e.setStyleInfoFont(t.font,w,r,n),w.locked=t.isLocked,t.indent!==c&&(w.textIndent=t.indent,w.textIndent>0&&(h=w.textIndent,m=Math.floor(h),h-m===.5&&0===(1&m)?w.textIndent=m:w.textIndent=Math.round(h))),w.wordWrap=t.isWordWrap,w.vAlign=e.toVerticalAlignment(t.verticalAlign),w.hAlign=e.toHorizontalAlignment(t.horizontalAlign),i.J(t.rotation)||(255===t.rotation?w.isVerticalText=!0:w.textOrientation=t.rotation>90?90-t.rotation:t.rotation),t.border&&(g=t.border,g&&e.setStyleInfoBorders(g,w)),t.fill&&0!==t.fill.patternType?e.Ie(t.fill,w):w.backColor=s,t.isShrinkToFit?w.shrinkToFit=!0:w.shrinkToFit=!1,b=L.getFormatCode(t),a&&"General"===b||(w.formatter=b),i.J(t.quotePrefix)||(w.quotePrefix=t.quotePrefix),w):null},e.toRichTextStyle=function(t,r,i){var n={};return e.setStyleInfoFont(t,n,r,i),n.charSetIndex=t.charSetIndex,n.isCondense=t.isCondense,n.isExtend=t.isExtend,n.fontFamily=t.fontFamily,n.isOutlineStyle=t.isOutlineStyle,n.isShadowStyle=t.isShadowStyle,n.vertAlign=t.vertAlign,n},e.fromRichTextStyle=function(t){var r,n,a,o,l;if(!i.J(t))return r=f,n={},t.font&&(a=e.fromHtmlFont(t.font),a.fontFamily&&(r=e.getFontName(a.fontFamily)),i.StringEx.L(r)&&(r=f),n.fontFamily=r,a.fontSize&&(n.fontSize=Math.round(_.pixelToPoint(a.fontSize))),a.fontStyle===h&&(n.isItalic=!0),a.fontWeight===p&&(n.isBold=!0)),t.foreColor&&(M.isThemeColor(t.foreColor)?n.foreColor=M.getExcelThemeColor(t.foreColor):(o=M.fromHtmlColor(t.foreColor),l=M.mixTranslucentColor(M.fromArgb(16777215),M.fromArgb(o)),o=l.a*Math.pow(16,6)+l.r*Math.pow(16,4)+l.g*Math.pow(16,2)+l.b,n.foreColor=new x(2,o,0))),t.themeFont&&(t.themeFont.toUpperCase()==="Headings".toUpperCase()?n.fontScheme=1:t.themeFont.toUpperCase()==="Body".toUpperCase()&&(n.fontScheme=2)),1===(1&t.textDecoration)&&(n.underLineStyle=1),8===(8&t.textDecoration)&&(n.underLineStyle=2),n.isStrikeOut=2===(2&t.textDecoration),n.charSetIndex=t.charSetIndex,n.isCondense=t.isCondense,n.isExtend=t.isExtend,n.fontFamilySet=t.fontFamily,n.isOutlineStyle=t.isOutlineStyle,n.isShadowStyle=t.isShadowStyle,n.vertAlign=t.vertAlign,n},e.toSchemeClrValue=function(e){switch(e){case 255:return"";case 1:return"dk1";case 0:return"lt1";case 3:return"dk2";case 2:return"lt2";case 4:return"accent1";case 5:return"accent2";case 6:return"accent3";case 7:return"accent4";case 8:return"accent5";case 9:return"accent6";case 10:return"hlink";case 11:return"folHlink";case 240:return"phClr";case 241:return"tx1";case 242:return"tx2";case 243:return"bg1";case 244:return"bg2";default:return""}},e.Ie=function(t,r){1===t.patternType?e.vk(t.fgColor,r):t.patternType?e.wk(t.patternType,t.fgColor,t.bgColor,r):t.stops&&e.xk(t,r)},e.vk=function(e,t){if(i.J(e))t.backColor="#000000";else{var r=e.isRGBColor()&&0===e.value();if(e.isRGBColor()&&0===e.value()||e.isIndexedColor()&&64===e.value()||e.isIndexedColor()&&65===e.value())return void(r&&(t.backColor=null));e.isThemeColor()?t.backColor=M.getThemeColorName(e):t.backColor=M.toRGBColor(e)}},e.wk=function(e,t,r,i){i.backColor={type:e,patternColor:null,backgroundColor:null},t&&(t.isThemeColor()?i.backColor.patternColor=M.getThemeColorName(t):i.backColor.patternColor=M.toRGBColor(t)),r&&!r.isAutoColor()&&(r.isThemeColor()?i.backColor.backgroundColor=M.getThemeColorName(r):i.backColor.backgroundColor=M.toRGBColor(r))},e.xk=function(e,t){var r,i;for(t.backColor=e,r=0;r<e.stops.length;r++)i=e.stops[r].color,"string"!=typeof i&&(i.isThemeColor()?e.stops[r].color=M.getThemeColorName(i):e.stops[r].color=M.toRGBColor(i))},e.getStyleFormatter=function(e){var t,r,n=s,a=e.formatter;return"string"==typeof a&&("="===a.charAt(0)||a.indexOf("{{")>=0&&a.indexOf("}}")>=0)?n:("string"==typeof a&&" "!==a?n=a:e.autoFormatter?(t=e.autoFormatter.formatCached,t&&!i.StringEx.O(t)&&(n=t)):a&&(r=a.formatCached,r&&!i.StringEx.O(r)&&(n=r)),n)},e.toExtendedFormat=function(t,r){var n,a,o,l,u,d,m,g,b,w,C,S,y,v,T,P,D,R,_;if(t){if(n=t.parentName,a=t.name,o=z(a),l=new F,u=e.getStyleFormatter(t),u?(d=L.getFormatId(u),m=d.id,g=d.isBuiltIn,g?l.numberFormatIndex=m:l.numberFormat=new I(m,u),b=r.bj(n),w=b&&e.getStyleFormatter(b),!o&&(0!==m||w&&0!==L.getFormatId(w).id)&&(l.applyNumberFormat=!0)):l.numberFormatIndex=0,t.backColor&&0!==t.backColor.type){if(o||(l.applyFill=!0),C=new k,"string"==typeof t.backColor)C.patternType=1,C.fgColor=t.backColor;else if(i.J(t.backColor.type)||"path"===t.backColor.type)for(S in t.backColor)C[S]=t.backColor[S];else C.patternType=t.backColor.type,C.fgColor=t.backColor.patternColor,C.bgColor=t.backColor.backgroundColor;for(i.J(C.fgColor)||(C.fgColor=M.toExcelColor(C.fgColor)),i.J(C.bgColor)||(C.bgColor=M.toExcelColor(C.bgColor)),y=C.stops&&C.stops.length,v=0;v<y;v++)C.stops[v].color=M.toExcelColor(C.stops[v].color);l.fill=C}return(t.borderLeft||t.borderRight||t.borderTop||t.borderBottom||t.diagonalUp||t.diagonalDown)&&(l.border=new A,t.borderLeft&&(l.border.left=e.toExcelBorderSide(t.borderLeft)),t.borderRight&&(l.border.right=e.toExcelBorderSide(t.borderRight)),t.borderTop&&(l.border.top=e.toExcelBorderSide(t.borderTop)),t.borderBottom&&(l.border.bottom=e.toExcelBorderSide(t.borderBottom)),t.diagonalDown&&(l.border.diagonalDown=e.toExcelBorderSide(t.diagonalDown)),t.diagonalUp&&(l.border.diagonalUp=e.toExcelBorderSide(t.diagonalUp)),o||(l.applyBorder=!0)),(t.font||t.fontForColumnWidth||t.foreColor||t.themeFont||t.textDecoration!==c&&null!==t.textDecoration)&&(o||(l.applyFont=!0),T=f,P=t.fontForColumnWidth?t.fontForColumnWidth:t.font,P&&(D=e.fromHtmlFont(P),D.fontFamily&&(T=e.getFontName(D.fontFamily)),i.StringEx.L(T)&&(T=f),l.font=new E(T.trim(),null,0),D.fontSize&&(l.font.fontSize=e.getExcelFontSize(D.fontSize)),D.fontStyle===h&&(l.font.isItalic=!0),D.fontWeight===p&&(l.font.isBold=!0)),1===(1&t.textDecoration)&&(l.font.underLineStyle=1),8===(8&t.textDecoration)&&(l.font.underLineStyle=2),t.foreColor&&(M.isThemeColor(t.foreColor)?l.font.fontColor=M.getExcelThemeColor(t.foreColor):(R=M.fromHtmlColor(t.foreColor),_=M.mixTranslucentColor(M.fromArgb(16777215),M.fromArgb(R)),R=_.a*Math.pow(16,6)+_.r*Math.pow(16,4)+_.g*Math.pow(16,2)+_.b,l.font.fontColor=new x(2,R,0))),l.font.isStrikeOut=2===(2&t.textDecoration)),t.themeFont&&(t.themeFont.toUpperCase()==="Headings".toUpperCase()?l.font.fontScheme=1:t.themeFont.toUpperCase()==="Body".toUpperCase()&&(l.font.fontScheme=2)),t.shrinkToFit&&(l.isShrinkToFit=!0),t.textOrientation&&(l.rotation=t.textOrientation<0?90-t.textOrientation:t.textOrientation),t.locked!==c?l.isLocked=t.locked:l.isLocked=!0,t.wordWrap!==s&&t.wordWrap!==c&&(l.isWordWrap=t.wordWrap),t.textIndent!==s&&t.textIndent!==c&&(l.indent=Math.ceil(t.textIndent)),l.verticalAlign=e.toExcelVerticalAlignment(t.vAlign),l.horizontalAlign=e.toExcelHorizontalAlignment(t.hAlign),t.isVerticalText===!0&&(l.isVerticalText=t.isVerticalText),i.J(t.quotePrefix)||(l.quotePrefix=t.quotePrefix),i.J(n)||(l.parentName=n),o&&(l.applyFont=t.applyFont,l.applyFill=t.applyFill,l.applyAlignment=t.applyAlignment,l.applyBorder=t.applyBorder,l.applyNumberFormat=t.applyNumberFormat,l.applyProtection=t.applyProtection),l}},e.getExcelFontSize=function(e){var t=_.pixelToPoint(e),r=.05,i=Math.round(1e3*t)/1e3,n=Math.round(i%r*1e3)/1e3;return n<r/2?Math.floor(i/r)*r:Math.ceil(i/r)*r},e.toDifferentialFormatting=function(t,r){var n,a,o,l,s,u,d,p,h,m,g,b,w={};return!i.isNullOrUndefined(t.parentName)&&r&&(n=i.ga._(r.th,t.parentName),t=n?n:t),a=t.isSlicerHeader,o=t.isFormatStyle,l=t.formatter,"string"==typeof l&&" "!==l&&(s=L.getFormatId(l),u=s.id,d=s.isBuiltIn,d?(w.numberFormatIndex=u,w.numberFormatCode=l):w.numberFormat=new I(u,l)),t.backColor!==c&&(p=t.backColor,p!==c?w.fill=M.toExcelBackColor(p,!0):w.fill=p),(o||t.borderLeft||t.borderRight||t.borderTop||t.borderBottom||t.borderVertical||t.borderHorizontal)&&(w.border=new A,t.borderLeft?w.border.left=e.toExcelBorderSide(t.borderLeft):(a||t.borderLeft===c&&o)&&(w.border.left=c),t.borderRight?w.border.right=e.toExcelBorderSide(t.borderRight):(a||t.borderRight===c&&o)&&(w.border.right=c),t.borderTop?w.border.top=e.toExcelBorderSide(t.borderTop):(a||t.borderTop===c&&o)&&(w.border.top=c),t.borderBottom?w.border.bottom=e.toExcelBorderSide(t.borderBottom):(a||t.borderBottom===c&&o)&&(w.border.bottom=c),t.borderVertical&&(w.border.vertical=e.toExcelBorderSide(t.borderVertical)),t.borderHorizontal&&(w.border.horizontal=e.toExcelBorderSide(t.borderHorizontal))),(t.font||t.foreColor!==c||t.themeFont||t.textDecoration!==c&&null!==t.textDecoration)&&(h=f,m=void 0,t.font&&(g=e.fromHtmlFont(t.font),g.fontFamily&&(h=e.getFontName(g.fontFamily)),i.StringEx.L(h)&&(h=f),w.font=new E(h.trim(),null,0),g.fontSize&&(w.font.fontSize=Math.round(_.pixelToPoint(g.fontSize))),"italic"===g.fontStyle&&(w.font.isItalic=!0),"bold"===g.fontWeight&&(w.font.isBold=!0)),w.font||(w.font=new E(h.trim(),null,0)),1===(1&t.textDecoration)&&(w.font.underLineStyle=1),8===(8&t.textDecoration)&&(w.font.underLineStyle=2),t.foreColor&&(M.isThemeColor(t.foreColor)?w.font.fontColor=M.getExcelThemeColor(t.foreColor):(m=M.fromHtmlColor(t.foreColor),b=M.mixTranslucentColor(M.fromArgb(16777215),M.fromArgb(m)),m=b.a*Math.pow(16,6)+b.r*Math.pow(16,4)+b.g*Math.pow(16,2)+b.b,w.font.fontColor=new x(2,m,0))),null===t.foreColor&&(w.font.fontColor=null),w.font.isStrikeOut=2===(2&t.textDecoration)),w.isPartFontStyle=t.isPartFontStyle,w.isSlicerHeader=a,w},e.toStringStyle=function(e){if(i.isNullOrUndefined(e))return"";var t="";return i.isNullOrUndefined(e.backColor)||(t+="object"==typeof e.backColor?"backColor:"+JSON.stringify(e.backColor)+",":"backColor:"+e.backColor+","),e.foreColor!==c&&(t+="foreColor:"+e.foreColor+","),e.hAlign!==c&&(t+="hAlign:"+e.hAlign+","),e.vAlign!==c&&(t+="vAlign:"+e.vAlign+","),e.font!==c&&(t+="font:"+e.font+","),e.themeFont!==c&&(t+="themeFont:"+e.themeFont+","),e.formatter!==c&&(t+="formatter:"+e.formatter+","),i.isNullOrUndefined(e.borderLeft)||(t+="borderLeft:"+JSON.stringify(e.borderLeft)+","),i.isNullOrUndefined(e.borderTop)||(t+="borderTop:"+JSON.stringify(e.borderTop)+","),i.isNullOrUndefined(e.borderRight)||(t+="borderRight:"+JSON.stringify(e.borderRight)+","),i.isNullOrUndefined(e.borderBottom)||(t+="borderBottom:"+JSON.stringify(e.borderBottom)+","),i.isNullOrUndefined(e.diagonalDown)||(t+="diagonalDown:"+JSON.stringify(e.diagonalDown)+","),i.isNullOrUndefined(e.diagonalUp)||(t+="diagonalUp:"+JSON.stringify(e.diagonalUp)+","),e.locked!==c&&(t+="locked:"+e.locked+","),e.textIndent!==c&&(t+="textIndent:"+e.textIndent+","),e.wordWrap!==c&&(t+="wordWrap:"+e.wordWrap+","),e.shrinkToFit!==c&&(t+="shrinkToFit:"+e.shrinkToFit+","),e.textDecoration!==c&&(t+="textDecoration:"+e.textDecoration+","),e.textOrientation!==c&&(t+="textOrientation:"+e.textOrientation+","),e.isVerticalText!==c&&(t+="isVerticalText:"+e.isVerticalText+","),e.quotePrefix!==c&&(t+="quotePrefix:"+e.quotePrefix+","),e.autoFormatter!==c&&(t+="autoFormatter:"+e.autoFormatter+","),i.isNullOrUndefined(e.name)||e.name.indexOf("__builtInStyle")!==-1||(t+="name:"+e.name+","),e.parentName!==c&&(t+="parentName:"+e.parentName+","),e.fontForColumnWidth!==c&&(t+="fontForColumnWidth:"+e.fontForColumnWidth+","),z(e.name)&&(e.applyFont!==c&&(t+="applyFont:"+e.applyFont+","),e.applyFill!==c&&(t+="applyFill:"+e.applyFill+","),e.applyAlignment!==c&&(t+="applyAlignment:"+e.applyAlignment+","),e.applyBorder!==c&&(t+="applyBorder:"+e.applyBorder+","),e.applyProtection!==c&&(t+="applyProtection:"+e.applyProtection+","),e.applyNumberFormat!==c&&(t+="applyNumberFormat:"+e.applyNumberFormat+",")),t},e.cloneSpreadJSStyle=function(e){if(!i.isNullOrUndefined(e)){var t={};return t.backColor=e.backColor,t.foreColor=e.foreColor,t.hAlign=e.hAlign,t.vAlign=e.vAlign,t.font=e.font,t.themeFont=e.themeFont,t.formatter=e.formatter,t.borderLeft=e.borderLeft,t.borderTop=e.borderTop,t.borderRight=e.borderRight,t.borderBottom=e.borderBottom,t.diagonalDown=e.diagonalDown,t.diagonalUp=e.diagonalUp,t.locked=e.locked,t.textIndent=e.textIndent,t.wordWrap=e.wordWrap,t.shrinkToFit=e.shrinkToFit,t.textDecoration=e.textDecoration,t.textOrientation=e.textOrientation,t.isVerticalText=e.isVerticalText,t.quotePrefix=e.quotePrefix,t.autoFormatter=e.autoFormatter,t.name=e.name,t.parentName=e.parentName,t.fontForColumnWidth=e.fontForColumnWidth,z(e.name)&&(t.applyFont=e.applyFont,t.applyFill=e.applyFill,t.applyAlignment=e.applyAlignment,t.applyBorder=e.applyBorder,t.applyProtection=e.applyProtection,t.applyNumberFormat=e.applyNumberFormat),t}},e.convertDxfToStyle=function(t,r,n,a){var o,l={};return t.font&&e.setStyleInfoFont(t.font,l,r,n),t.fill&&(i.isNullOrUndefined(t.fill.patternType)&&t.fill.bgColor&&(t.fill.patternType=1),1===t.fill.patternType&&(t.fill.fgColor=t.fill.bgColor),0!==t.fill.patternType?e.Ie(t.fill,l):l.backColor=s),t.border&&e.setStyleInfoBorders(t.border,l),t.numberFormat&&(o=L.getFormatCode(t),"General"!==o&&(l.formatter=o)),a&&t.alignment&&(t.alignment.horizontalAlign!==c&&(l.hAlign=t.alignment.horizontalAlign),t.alignment.verticalAlign!==c&&(l.vAlign=t.alignment.verticalAlign),t.alignment.isWordWrap!==c&&(l.wordWrap=t.alignment.isWordWrap),t.alignment.isShrinkToFit!==c&&(l.shrinkToFit=t.alignment.isShrinkToFit),t.alignment.indent!==c&&(l.textIndent=t.alignment.indent),t.alignment.rotation!==c&&(l.textOrientation=t.alignment.rotation)),a&&t.protection&&t.alignment.isLocked!==c&&(l.locked=t.alignment.isLocked),l},e.uk=null,e}(),t.ConverterHelper=O,G=function(){function e(){}return e.Jh=function(e){var t,r,n,a,o={foreColor:"black",font:"normal normal normal 11pt/normal Calibri",locked:!0,name:"Normal",hAlign:3,vAlign:0};for(t in e.sheets)if(e.sheets.hasOwnProperty(t)&&(r=e.sheets[t],r.data&&r.data.defaultDataNode&&r.data.defaultDataNode.style)){n=r.data.defaultDataNode.style;for(a in n)n.hasOwnProperty(a)&&!i.J(n[a])&&(o[a]=n[a]);break}return o},e}(),t.DefaultStyle=G,H=function(){function e(){}return e.getSystemColor=function(t){return M.fromArgb(e.yk[t])},e.yk=[4290032820,4288263377,4278190080,4289440683,4293980400,4288716960,4285098345,4293125091,4294967295,4278190080,4278190080,4290367978,4292338930,4285361517,4281571839,4294967295,4278216396,4294244348,4290760155,4282601044,4294967265,4278190080,4293980400,4293980400,4281571839,4278190080,4291348680,4294967295,4284769380,4278190080,4288716960,4293125091,4293980400,4294967295,4288716960,4278190080],e}(),U=function(){function e(){}return e.getSystemColor=function(t){return e.systemColors[t.toUpperCase()]},e.systemColors={length:0,"3DDKSHADOW":H.getSystemColor(30),"3DLIGHT":H.getSystemColor(31),ACTIVEBORDER:H.getSystemColor(0),ACTIVECAPTION:H.getSystemColor(1),APPWORKSPACE:H.getSystemColor(3),BACKGROUND:H.getSystemColor(10),BTNFACE:H.getSystemColor(32),BTNHIGHLIGHT:H.getSystemColor(33),BTNSHADOW:H.getSystemColor(34),BTNTEXT:H.getSystemColor(35),CAPTIONTEXT:H.getSystemColor(2),GRAYTEXT:H.getSystemColor(13),HIGHLIGHT:H.getSystemColor(14),HIGHLIGHTTEXT:H.getSystemColor(15),INACTIVEBORDER:H.getSystemColor(17),INACTIVECAPTION:H.getSystemColor(18),INACTIVECAPTIONTEXT:H.getSystemColor(19),INFOBK:H.getSystemColor(20),INFOTEXT:H.getSystemColor(21),MENU:H.getSystemColor(22),GRADIENTACTIVECAPTION:H.getSystemColor(11),HOTLIGHT:H.getSystemColor(16),GRADIENTINACTIVECAPTION:H.getSystemColor(12),MENUBAR:H.getSystemColor(23),MENUHIGHLIGHT:H.getSystemColor(24),MENUTEXT:H.getSystemColor(25),SCROLLBAR:H.getSystemColor(26),WINDOW:H.getSystemColor(27),WINDOWFRAME:H.getSystemColor(28),WINDOWTEXT:H.getSystemColor(29)},e}(),t.ExcelSystemColor=U;function j(){_.jk=c,L.gk=c,L.dk={count:0},L._j={count:0},O.uk=c,M.nk=c,M.qk=c,M.useCustomPalette=!1,M.customPalette=s}t.clearCache=j},"./src/excel-io.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xlsx-io/common/file-loader.ts"),n=r("./src/xlsx-io/reader/xlsx-reader.ts"),a=r("./src/xlsx-io/writer/xlsx-writer.ts"),o=r("./src/xlsx-io/password/xlsxEncryptionHelper.ts"),l=r("./src/xlsx-io/common/errorcode.ts"),s=r("./src/xlsx-io/common/errorMessage.ts"),c=r("./src/common/common.ts"),u=r("./src/common/excel-types.ts"),t.ErrorCode=l.errorCode,d=r("./src/lc/releaseLc.js"),d&&(d.zk&&d.zk(t),f=d.Ak,1===f&&d.Bk()),p=function(){function e(){this.Ck=new i.FileLoader}return e.prototype.open=function(e,t,r,i){var a=this;t||(t=function(){}),r||(r=function(){}),a.Ck.onFileLoad=function(e){try{var a=new n.XlsxReader;a.Dk(e,i,function(e){t(e)})}catch(e){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}},a.Ck.onError=r,a.Ck.loadFile(e,i)},e.prototype.save=function(e,t,r,i){t||(t=function(){}),r||(r=function(){});var n,u;"object"==typeof e&&(n=JSON.parse(JSON.stringify(e))),"string"==typeof e&&(n=JSON.parse(e)),new a.XlsxWriter(n,function(){try{var e=this;e.onZip=function(e){if(i&&i.password)try{e=o.XlsxEncryptionHelper.Ek(e,i.password),u||(e=o.XlsxEncryptionHelper.Fk(e))}catch(e){return void r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}t(e)},e.onError=function(){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})},c.J(i)&&(i={}),c.J(i.xlsxStrictMode)&&(i.xlsxStrictMode=!0),i&&i.password&&(u=i.useArrayBuffer,i.useArrayBuffer=!0),e.Bg=i,e.Gk()}catch(e){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}})},e.registerMaxDigitWidth=function(e,t,r){!e||c.J(t)||c.J(r)||(u.unknownFontMaxDigitWidthMap[t]||(u.unknownFontMaxDigitWidthMap[t]={}),u.unknownFontMaxDigitWidthMap[t][e]=r)},e}(),t.IO=p},"./src/lc/common.js":function(e,t,r){!function(){"use strict";var t,i,n,a,o={zk:function(e){t=e}},l=r("./src/xlsx-io/reader/xlsx-reader.ts").XlsxReader,s=r("./src/datamodel/datamodel-writer.ts").WriterDataModel,c=r("./src/common/common.ts").K,u=r("./src/lc/lcValidator.js"),d=u.Hk,f=u.Ik,p="object"==typeof global&&global&&global.Object===Object&&global,h="object"==typeof self&&self&&self.Object===Object&&self,m=p||h||Function("return this")(),g=/^[0-9.]+$/,b="m",w="n",C="b",S="d",y="e",v="adr",x=f("XRsZ"),T=f("HUkJ"),A=f("T&g"),k=f("Q&w"),E=f("GRz1"),I=f("XSzB"),F=f("XRwh"),P=f("WQs5");function D(e,t){var r,i,n,a,o="",l=0;for(r=0;r<e.length;r++)l=Math.max(l,e[r].length);for(r=0;r<l;r++){for(t&&(i=""),a=0;a<e.length;a++)t?i+=r>=e[a].length?"00":e[a].charAt(r)+e[a].charAt(r+1):r<e[a].length&&(o+=e[a].charAt(r));t&&(n=parseInt(i,16),o+=String.fromCharCode(n),r++)}return o}function R(e){var r=c(),i=r&&r[D(["G","C"])],n=i&&i[D(["Sra","ped"])],a=n&&n[D(["Set","hes"])];return a&&a[e]||t&&t[e]}function L(){var e=c(),t=e&&e[D(["G","C"])],r=t&&t[D(["Sra","ped"])];return r&&r[D(["Cmo","omn"])]}i=function(e){var t,r=D(["Lcnee","iesKy"]),i=R(r),n="QKAU";return d(i,{pK:"l6/zrbWoSbcLFwEetFh38rH3ErBZE9H+Cqix3R+wTlfA1wD5B+lUcCQn+EJ60I4RGrm0x1sFjkiLWwB0jAn6BWZv0W4WbqAKriOdeoivxDp1Wmjs3qkEDhvbsjPtfvwx2BHil6o+/tDrdMJQSGs18WZm2PoQLQuL+9VhZ4FNRHUQU3Jtioke/OZEGHJOdYVwvCGalzBad6QFOiVbDBQPePpS3++GJzOxN8SN/7lyS5/IdKiy3WJRaVGkB370+HbN6hKraDfUgReLX26yxRaKC/5aWnGAJ2NnWLoGyAGRcwT9dVjo4bcAZNrrA0U9JVKQxaSskhdv2p49XzJkltXx5w==",aC:"B1"},function(r){t=_(r,n),t.hl=!!i,M(t,i),e(t)},function(){t=_(),t.hl=!!i,M(t,i),e(t)}),t};function _(e,t){var r,i,n,a,o={isVd:function(e){var t=this,r=R("Workbook");return e=r&&1===r.lm||e,t.s&&!t.e&&(!t.adr||!!t.adr.dsr==!!e)}},l=W(),s=function(){var o,s,c,u,d,f,p;if(!e)return!1;if(o=e[T],!o||!o.length)return!1;for(u=0,d=o.length;u<d;u++)if(s=o[u],c=s&&s[k]===t){r=s[A];break}if(!c)return!1;if(e[P]&&(a=e[P]),e[F]){if(f=new Date,p=N(e[F]),n=Math.ceil((p-f)/864e5),i=n<=0)return!1}else n=void 0;return!!(l||!e[E]&&!e[I]||U(e[E],e[I])||J(e[E],e[I]))};return o[C]=l,o.s=s(),o[b]=e?e[x]?-1:1:0,o[w]=r,o[y]=i,i||(o[S]=n),o[v]=a,o}function N(e){return new Date(B(e.substr(0,4))||0,B(e.substr(4,2))-1||0,B(e.substr(6,2))||0)}function B(e){return parseInt(e,10)}function M(e,t){e.m=t?e.m:-1}function O(e,t){var r,i,n,a,o;if(!e||0!==e.indexOf("//"))return!1;if(r=e.slice(2).split("/"),r.length<1)return!1;for(i=r[0],n=0,a=t.length;n<a;n++)if(o=t[n],o===i)return!0;return!1}function G(e,t){var r,i,n,a,o;for(r=0,i=t.length;r<i;r++){if(n=t[r],a=!1,n&&0===n.lastIndexOf("*.",0)&&(a=!0),n=a?n.slice(2):n,n===e)return!0;if(a&&(o=e.indexOf("."+n),o>0&&o===e.length-n.length-1))return!0}return!1}function H(e,t){var r,i,n,a;if(e&&4===e.split(".").length)for(r=0,i=t.length;r<i;r++)if(n=t[r],n&&(a=n.length-2,a>0&&(n===e||".*"===n.substr(a)&&e.substr(0,a)===n.substr(0,a)&&g.test(e))))return!0;return!1}function U(e,t){var r,i,n,a;return!!X()&&(r=f("JYx3Gb#8Pb5R"),i=f("1agFGc#UHbw5"),n=m[r]&&m[r][i],!!n&&(n=n.toLowerCase(),a=e.split(","),!(!e||!O(n,a))))}function J(e,t){var r,i=f("JYx3Gb#8Pb5R"),n=f("Zdg3Ga#UHbw5"),a=m[i]&&m[i][n];return!a||(a=a.toLowerCase(),r=e.split(","),!(!e||!G(a,r))||!(!e||!H(a,r)))}function W(){var e=f("JYx3Gb#8Pb5R");return V(m[e])}function V(e){var t=f("VdgJHc#wJb59"),r=f("Zdg3Ga#UHbw5");return e&&(z(e[t])||j(e[t])||K(e[r]))}function z(e){var t=f("MlSZto#Z");return e&&e===t}function j(e){var t=f("yXbog&w");return e&&e===t}function X(){var e=f("JYx3Gb#8Pb5R"),t=f("VdgJHc#wJb59"),r=f("Udg36Y#oUddV"),i=m[e];return i&&i[t]===r}function K(e){var t=f("4LJITMx8UMcA"),r=f("jOxo"),i=f("JYw3Gb4NOb6x");return e&&(e===t||e===r||e===i)}function q(e){var t=R(D(["S","R"])),r=L()&&t&&L().ResourceManager;return r&&new r(t).getResource()[e]}n=function(e,t,r){var i,n,a,o=q(D([e,"s"])),l=R(D(["Wrbo","okok"])),s=q(l&&1===l.lm?D(["ld","se"]):D(["lr","su"])),c=Y(o,t);for(s=Y(s,t),c=c.replace("{0}",r.d),c=c.replace("{1}",s).replace("{1}",s),i=[],n=0,a=0;a<c.length;a++)"\r"!==c[a]&&"\n"!==c[a]||(i.push(c.substring(n,a)),"\r"===c[a]&&a<c.length-1&&"\n"===c[a+1]&&a++,n=a+1);return n<c.length&&i.push(c.substring(n,c.length)),i};function Y(e,t){var r,i,n,a=!0,o="";if(e)if("string"==typeof e)e=e.trim(),e&&(r=[e]);else if(Array.isArray(e)){for(i=!0,r=[],n=0;n<e.length;n++)o=e[n].trim(),r.push(o),i&&o&&(i=!1);i&&(r=null)}return r||(a=!1,r=t),D(r,a)}function Q(e,t,r){var i,a={name:D(["Eauto eso","vlainVrin"]),index:0,allowCellOverflow:!0,defaults:{colHeaderRowHeight:20,rowHeaderColWidth:40,rowHeight:30,colWidth:60},isSelected:!1,rowCount:20,columnCount:20,data:{dataTable:{}}},o=n(e,t,r),l=a.data.dataTable;for(i=1;i<o.length+1;i++)l[i]={},l[i][1]={value:o[i-1]};return a}function Z(e,t,r){var n=this;i(function(i){var a,o,l,s,c,u,d,f,p,h,m,g,b=["IvldEclI ies e.","nai xe Olcneky"];if(i.hl)if(i.isVd(!1)){if(i.m!==-1)return t.apply(n),void(n.onCompleted&&n.onCompleted());i.d?(a="l2",b=["Pwrdb pedSet.\rYu eprr elyetkyeprsi 0 as","oee ySra.hes \nortmoaydpomn e xie n{}dy."]):(a="l6",b=["Pwrdb pedSet vlainVrin\no iesdfrDsrbto.","oee ySra.hesEauto eso\rNtLcne o itiuin"])}else i.adr&&i.adr.dsr?a=q(D(["l8","s"]))?"l8":"l4":i.e?(a="l5",b=["Pwrdb pedSet.\rYu eprr elyetkyhseprd","oee ySra.hes \nortmoaydpomn e a xie."]):a=q(D(["l8","s"]))?"l8":"l4";else i.b?(a="l1",b=["Pwrdb pedSet.\no a nydpo hsEAUTO eso oal.\rTmoaydpomn esaeaalbefrtsig ","oee ySra.hes\rYucnol elyti VLAINvrinlcly \neprr elyetky r vial o etn."]):(a=q(D(["l7","s"]))?"l7":"l3",b=["EclI ies o on\rYune ai ies e ornSraJ xe O eprr esaeaalbefreauto.I o ucae ies,yu e si orprhs ofraineal ","xe OLcneNtFud\no edavldlcnekyt u pedSEclI.Tmoayky r vial o vlain fyuprhsdalcne orkyi nyu ucaecnimto mi."]);if(o=Q(a,b,i),!i.hl&&i.b||i.isVd(!1)){if(r&&t.apply(n),l=e.sheets,s=l[o.name])o.index=s.index;else{for(c in l)l.hasOwnProperty(c)&&(u=l[c],u.index++);if(d=e.slicerCaches)for(f=0;f<d.length;f++)if(p=d[f],h=p.pivotTables,h&&h.length>0)for(m=0;m<h.length;m++)g=h[m],g.tabId+=1;e.sheetCount++,e.activeSheetIndex=e.activeSheetIndex?++e.activeSheetIndex:1}l[o.name]=o,r||t.apply(n)}else e.sheetCount=1,e.sheets={},e.sheets[o.name]=o,r||t.apply(n);n.onCompleted&&n.onCompleted()})}a=function(){var e,t=l.prototype.Jk;l.prototype.Jk=function(){var e=arguments,r=this;Z.call(r,r.Kk.Ne,function(){t.apply(r,e)},!0)},l.prototype.Xh=function(){},e=s.prototype.Ph,s.prototype.Ph=function(){var t=arguments,r=this;Z.call(r,r.Ne,function(){e.apply(r,t)},!1)},s.prototype.Xh=function(){}},o.Bk=a,e.exports=o}()},"./src/lc/lcValidator.js":function(e,t){var r=function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={exports:{},id:i,loaded:!1};return e[i].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}return r.m=e,r.c=t,r.p="dist",r(0)}([function(e,t){(function(e){"use strict";var r,i,n,a,o,l,s,c,u,d;Object.defineProperty(t,"__esModule",{value:!0}),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="undefined"!=typeof window,n=String.fromCharCode,a=i&&window.Uint8Array||f,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,c=l||s;function f(e){var t,i;if("number"==typeof e)for(t=Array(e),i=0;i<e;++i)t[i]=0;else t=e.slice(0);return t.buffer=t,t.byteLength=t.length,"object"===(void 0===e?"undefined":r(e))&&e.buffer&&(t.buffer=e.buffer),t}function p(e,t,r,i){return 1==e.length?e:(e.splice(r,1,i(e.splice(t,1,i(e[r]))[0])),e)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=e.charCodeAt(0);return r>=65&&r<=90?e.toLowerCase():r>=97&&r<=122?e.toUpperCase():r>=48&&r<=57?n(48+(r-48+10+t)%10):e}function m(e){var t,r=e.split(""),i=function e(t){return h(t,-1)};for(t=r.length-5;t>=0;t--)p(r,t+1,t+3,i),p(r,t,t+2,i);return r.join("")}function g(e){return e.split("").reverse().join("")}function b(e){var t,r,i,n,a,l,s,c,u,d=[],f="",p=o,h=e,m=h.length%3;if(m>0)for(;m++<3;)f+="=",h+="\0";for(m=0;m<h.length;m+=3)t=h.charCodeAt(m),r=h.charCodeAt(m+1),i=h.charCodeAt(m+2),n=t<<16|r<<8|i,a=n>>18&63,l=n>>12&63,s=n>>6&63,c=63&n,d[m/3]=p.charAt(a)+p.charAt(l)+p.charAt(s)+p.charAt(c);return u=d.join(""),u=u.slice(0,u.length-f.length)+f}function w(e){var t,r,i,a,l,s,c,u,d,f,p=[],h=o,m=e;for(f=0;f<m.length;f+=4)a=h.indexOf(m.charAt(f)),l=h.indexOf(m.charAt(f+1)),s=h.indexOf(m.charAt(f+2)),c=h.indexOf(m.charAt(f+3)),u=a<<18|l<<12|s<<6|c,t=u>>>16&255,r=u>>>8&255,i=255&u,p[f/4]=n(t,r,i),64==c&&(p[f/4]=n(t,r)),64==s&&(p[f/4]=n(t));return d=p.join("")}function C(e){return(i&&window.atob||w)(e)}function S(e){return(i&&window.btoa||b)(e)}function y(e){return decodeURIComponent(Array.prototype.map.call(C(e),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function v(e){return S(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return n(parseInt(t,16))}))}function x(e){var t,r;return e?(t=m(e),t=g(t),r=Math.ceil(t.length/2),t=t.substr(r)+t.substr(0,r),t=t.replace("#","="),t=t.replace("&","=="),y(t)):""}u=t.iDe=x;function T(e){var t,r=C(e),i=r.length,n=new a(i);for(t=0;t<i;t++)n[t]=r.charCodeAt(t);return n.buffer}function A(e){var t,r,i=new ArrayBuffer(e.length),n=new a(i);for(t=0,r=e.length;t<r;t++)n[t]=e.charCodeAt(t);return i}function k(e){return n.apply(null,new a(e))}function E(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,"")}function I(e){var t,r,i,n=0,a=5381,o=0;for(t=e.length-1;t>=0;t--)r=e.charCodeAt(t),n=r+(n<<6)+(n<<16)-n,a=r+((a<<5)+a),o=r+((o<<5)-o),o&=o;return i=n^a^o,i<0&&(i=~i),i.toString(16).toUpperCase()}function F(e){return e&&JSON.parse(e)||void 0}function P(e,t){try{t="#"+t;var r=e.indexOf(t);if(r>-1)return{prefix:e.substring(0,r),licData:JSON.parse(x(e.substr(r+t.length)))}}catch(e){}return!1}function D(e){return"oncomplete"in e&&(e.then=function(t,r){e.resolve=t,e.reject=r},e.oncomplete=function(t){e.resolve(e.result)},e.onerror=function(){e.reject()}),e}d=t.attorn=function e(t,r,n,a){var o,l,s,u,d,f,p,h=i?window.msCrypto?window.msCrypto:window.crypto:void 0,m=P(t,r.aC);
23
+ if(!m)return a();o=m.licData,l=m.prefix+"#"+r.aC,s=k(T(v(l+JSON.stringify(o.D))));function g(){return I(l+JSON.stringify(o.D))===o.H?n(o.D):a()}return u=x("JYx3Gb#8Pb5R"),d=x("VdgJHc#wJb59"),c[u]&&c[u][d]&&!location.protocol.match(/^https/i)?g():h&&h.subtle?(f={alg:"PS256",e:"AQAB",kty:"RSA",n:E(r.pK)},f=window.msCrypto?A(JSON.stringify(f)):f,p={name:"RSA-PSS",saltLength:32,hash:{name:"SHA-256"}},D(h.subtle.importKey("jwk",f,p,!1,["verify"])).then(function(e){D(h.subtle.verify(p,e,T(o.S),A(s))).then(function(e){return e?n(o.D):a()})},function(){return g()}),void 0):g()}}).call(t,function(){return this}())}]);e.exports={Hk:r.attorn,Ik:r.iDe}},"./src/lc/releaseLc.js":function(e,t,r){var i=r("./src/lc/common.js");e.exports={Ak:1,Bk:i.Bk,zk:i.zk}},"./src/lib/jszip.min.js":function(e,t,r){(function(t){var r;!function(t){e.exports=t()}(function(){return function e(t,i,n){function a(l,s){var c,u,d;if(!i[l]){if(!t[l]){if(c="function"==typeof r&&r,!s&&c)return r(l,!0);if(o)return o(l,!0);throw u=Error("Cannot find module '"+l+"'"),u.code="MODULE_NOT_FOUND",u}d=i[l]={exports:{}},t[l][0].call(d.exports,function(e){var r=t[l][1][e];return a(r||e)},d,d.exports,e,t,i,n)}return i[l].exports}for(var o="function"==typeof r&&r,l=0;l<n.length;l++)a(n[l]);return a}({1:[function(e,t,r){"use strict";var i=e("./utils"),n=e("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,n,o,l,s,c,u=[],d=0,f=e.length,p=f,h="string"!==i.getTypeOf(e);d<e.length;)p=f-d,n=h?(t=e[d++],r=d<f?e[d++]:0,d<f?e[d++]:0):(t=e.charCodeAt(d++),r=d<f?e.charCodeAt(d++):0,d<f?e.charCodeAt(d++):0),o=t>>2,l=(3&t)<<4|r>>4,s=1<p?(15&r)<<2|n>>6:64,c=2<p?63&n:64,u.push(a.charAt(o)+a.charAt(l)+a.charAt(s)+a.charAt(c));return u.join("")},r.decode=function(e){var t,r,i,o,l,s,c,u,d=0,f=0,p="data:";if(e.substr(0,p.length)===p)throw Error("Invalid base64 input, it looks like a data url.");if(u=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4,e.charAt(e.length-1)===a.charAt(64)&&u--,e.charAt(e.length-2)===a.charAt(64)&&u--,u%1!=0)throw Error("Invalid base64 input, bad content length.");for(c=n.uint8array?new Uint8Array(0|u):Array(0|u);d<e.length;)t=a.indexOf(e.charAt(d++))<<2|(o=a.indexOf(e.charAt(d++)))>>4,r=(15&o)<<4|(l=a.indexOf(e.charAt(d++)))>>2,i=(3&l)<<6|(s=a.indexOf(e.charAt(d++))),c[f++]=t,64!==l&&(c[f++]=r),64!==s&&(c[f++]=i);return c}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var i=e("./external"),n=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function l(e,t,r,i,n){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=i,this.compressedContent=n}l.prototype={getContentWorker:function(){var e=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(e,t,r){return e.pipe(new a).pipe(new o("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var i=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(e){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var i=e("./utils"),n=function(){var e,t,r,i;for(t=[],r=0;r<256;r++){for(e=r,i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,t,r,i){var a,o=n,l=i+r;for(e^=-1,a=i;a<l;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,r,i){var a,o=n,l=i+r;for(e^=-1,a=i;a<l;a++)e=e>>>8^o[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var i=null;i="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:i}},{lie:37}],7:[function(e,t,r){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=e("pako"),a=e("./utils"),o=e("./stream/GenericWorker"),l=i?"uint8array":"array";function s(e,t){o.call(this,"FlateWorker/"+e),this.Lk=null,this.Mk=e,this.Ok=t,this.meta={}}r.magic="\b\0",a.inherits(s,o),s.prototype.processChunk=function(e){this.meta=e.meta,null===this.Lk&&this.Pk(),this.Lk.push(a.transformTo(l,e.data),!1)},s.prototype.flush=function(){o.prototype.flush.call(this),null===this.Lk&&this.Pk(),this.Lk.push([],!0)},s.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.Lk=null},s.prototype.Pk=function(){this.Lk=new n[this.Mk]({raw:!0,level:this.Ok.level||-1});var e=this;this.Lk.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new s("Deflate",e)},r.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function i(e,t){var r,i="";for(r=0;r<t;r++)i+=String.fromCharCode(255&e),e>>>=8;return i}function n(e,t,r,n,o,u){var d,f,p,h,m,g,b=e.file,w=e.compression,C=u!==l.utf8encode,S=a.transformTo("string",u(b.name)),y=a.transformTo("string",l.utf8encode(b.name)),v=b.comment,x=a.transformTo("string",u(v)),T=a.transformTo("string",l.utf8encode(v)),A=y.length!==b.name.length,k=T.length!==v.length,E="",I="",F="",P=b.dir,D=b.date,R={crc32:0,compressedSize:0,uncompressedSize:0};return t&&!r||(R.crc32=e.crc32,R.compressedSize=e.compressedSize,R.uncompressedSize=e.uncompressedSize),p=0,t&&(p|=8),C||!A&&!k||(p|=2048),h=0,m=0,P&&(h|=16),"UNIX"===o?(m=798,h|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(b.unixPermissions,P)):(m=20,h|=function(e){return 63&(e||0)}(b.dosPermissions)),d=D.getUTCHours(),d<<=6,d|=D.getUTCMinutes(),d<<=5,d|=D.getUTCSeconds()/2,f=D.getUTCFullYear()-1980,f<<=4,f|=D.getUTCMonth()+1,f<<=5,f|=D.getUTCDate(),A&&(I=i(1,1)+i(s(S),4)+y,E+="up"+i(I.length,2)+I),k&&(F=i(1,1)+i(s(x),4)+T,E+="uc"+i(F.length,2)+F),g="",g+="\n\0",g+=i(p,2),g+=w.magic,g+=i(d,2),g+=i(f,2),g+=i(R.crc32,4),g+=i(R.compressedSize,4),g+=i(R.uncompressedSize,4),g+=i(S.length,2),g+=i(E.length,2),{fileRecord:c.LOCAL_FILE_HEADER+g+S+E,dirRecord:c.CENTRAL_FILE_HEADER+i(m,2)+g+i(x.length,2)+"\0\0\0\0"+i(h,4)+i(n,4)+S+E+x}}var a=e("../utils"),o=e("../stream/GenericWorker"),l=e("../utf8"),s=e("../crc32"),c=e("../signature");function u(e,t,r,i){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this.Qk=[]}a.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,i=this.Qk.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-i-1))/r:100}}))},u.prototype.openedSource=function(e){var t,r;this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name,t=this.streamFiles&&!e.file.dir,t?(r=n(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:r.fileRecord,meta:{percent:0}})):this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=n(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+i(e.crc32,4)+i(e.compressedSize,4)+i(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){var e,t,r,n;for(e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});r=this.bytesWritten-e,n=function(e,t,r,n,o){var l=a.transformTo("string",o(n));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(e,2)+i(e,2)+i(t,4)+i(r,4)+i(l.length,2)+l}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName),this.push({data:n,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this.Qk.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this.Qk.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t.Qk.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this.Qk.length?(this.prepareNextSource(),!0):this.previous||this.Qk.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t,r=this.Qk;if(!o.prototype.error.call(this,e))return!1;for(t=0;t<r.length;t++)try{r[t].error(e)}catch(e){}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this.Qk,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){"use strict";var i=e("../compressions"),n=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var a=new n(t.streamFiles,r,t.platform,t.encodeFileName),o=0;try{e.forEach(function(e,r){o++;var n=function(e,t){var r=e||t,n=i[r];if(!n)throw Error(r+" is not a valid compression method !");return n}(r.options.compression,t.compression),l=r.options.compressionOptions||t.compressionOptions||{},s=r.dir,c=r.date;r.Rk(n,l).withStreamInfo("file",{name:e,dir:s,date:c,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(a)}),a.entriesCount=o}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){"use strict";function i(){if(!(this instanceof i))return new i;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e,t=new i;for(e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(i.prototype=e("./object")).loadAsync=e("./load"),i.support=e("./support"),i.defaults=e("./defaults"),i.version="3.7.1",i.loadAsync=function(e,t){return(new i).loadAsync(e,t)},i.external=e("./external"),t.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){"use strict";var i=e("./utils"),n=e("./external"),a=e("./utf8"),o=e("./zipEntries"),l=e("./stream/Crc32Probe"),s=e("./nodejsUtils");function c(e){return new n.Promise(function(t,r){var i=e.decompressed.getContentWorker().pipe(new l);i.on("error",function(e){r(e)}).on("end",function(){i.streamInfo.crc32!==e.decompressed.crc32?r(Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}t.exports=function(e,t){var r=this;return t=i.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),s.isNode&&s.isStream(e)?n.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var r=new o(t);return r.load(e),r}).then(function(e){var r,i=[n.Promise.resolve(e)],a=e.files;if(t.checkCRC32)for(r=0;r<a.length;r++)i.push(c(a[r]));return n.Promise.all(i)}).then(function(e){var i,n,a,o;for(i=e.shift(),n=i.files,a=0;a<n.length;a++)o=n[a],r.file(o.fileNameStr,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:t.createFolders});return i.zipComment.length&&(r.comment=i.zipComment),r})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){"use strict";var i=e("../utils"),n=e("../stream/GenericWorker");function a(e,t){n.call(this,"Nodejs stream input adapter for "+e),this.Sk=!1,this.Tk(t)}i.inherits(a,n),a.prototype.Tk=function(e){var t=this;(this.Uk=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t.Sk=!0:t.end()})},a.prototype.pause=function(){return!!n.prototype.pause.call(this)&&(this.Uk.pause(),!0)},a.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(this.Sk?this.end():this.Uk.resume(),!0)},t.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){"use strict";var i=e("readable-stream").Readable;function n(e,t,r){i.call(this,t),this.Vk=e;var n=this;e.on("data",function(e,t){n.push(e)||n.Vk.pause(),r&&r(t)}).on("error",function(e){n.emit("error",e)}).on("end",function(){n.push(null)})}e("../utils").inherits(n,i),n.prototype.Wk=function(){this.Vk.resume()},t.exports=n},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){"use strict";t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g;function b(e,t,r){var i,o,u,g,b=n.getTypeOf(t),w=n.extend(r||{},l);w.date=w.date||new Date,null!==w.compression&&(w.compression=w.compression.toUpperCase()),"string"==typeof w.unixPermissions&&(w.unixPermissions=parseInt(w.unixPermissions,8)),w.unixPermissions&&16384&w.unixPermissions&&(w.dir=!0),w.dosPermissions&&16&w.dosPermissions&&(w.dir=!0),w.dir&&(e=h(e)),w.createFolders&&(i=p(e))&&m.call(this,i,!0),o="string"===b&&!1===w.binary&&!1===w.base64,r&&void 0!==r.binary||(w.binary=!o),(t instanceof s&&0===t.uncompressedSize||w.dir||!t||0===t.length)&&(w.base64=!1,w.binary=!0,t="",w.compression="STORE",b="string"),u=null,u=t instanceof s||t instanceof a?t:d.isNode&&d.isStream(t)?new f(e,t):n.prepareContent(e,t,w.binary,w.optimizedBinaryString,w.base64),g=new c(e,u,w),this.files[e]=g}i=e("./utf8"),n=e("./utils"),a=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),l=e("./defaults"),s=e("./compressedObject"),c=e("./zipObject"),u=e("./generate"),d=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},h=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},m=function(e,t){return t=void 0!==t?t:l.createFolders,e=h(e),this.files[e]||b.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function w(e){return"[object RegExp]"===Object.prototype.toString.call(e)}g={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,i;for(t in this.files)i=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,i)},filter:function(e){var t=[];return this.forEach(function(r,i){e(r,i)&&t.push(i)}),t},file:function(e,t,r){var i,n;return 1!==arguments.length?(e=this.root+e,b.call(this,e,t,r),this):w(e)?(i=e,this.filter(function(e,t){return!t.dir&&i.test(e)})):(n=this.files[this.root+e],n&&!n.dir?n:null)},folder:function(e){if(!e)return this;if(w(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=this.root+e,r=m.call(this,t),i=this.clone();return i.root=r.name,i},remove:function(e){var t,r,i;if(e=this.root+e,t=this.files[e],t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(r=this.filter(function(t,r){return r.name.slice(0,e.length)===e}),i=0;i<r.length;i++)delete this.files[r[i].name];return this},generate:function(e){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r,l={};try{if((l=n.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=l.type.toLowerCase(),l.compression=l.compression.toUpperCase(),"binarystring"===l.type&&(l.type="string"),!l.type)throw Error("No output type specified.");n.checkSupport(l.type),"darwin"!==l.platform&&"freebsd"!==l.platform&&"linux"!==l.platform&&"sunos"!==l.platform||(l.platform="UNIX"),"win32"===l.platform&&(l.platform="DOS"),r=l.comment||this.comment||"",t=u.generateWorker(this,l,r)}catch(e){(t=new a("error")).error(e)}return new o(t,l.type||"string",l.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},t.exports=g},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){"use strict";var i=e("./DataReader");function n(e){i.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(n,i),n.prototype.byteAt=function(e){return this.data[this.zero+e]},n.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2),n=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===i&&this.data[a+3]===n)return a-this.zero;return-1},n.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2),n=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&i===a[2]&&n===a[3]},n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){"use strict";var i=e("../utils");function n(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=n},{"../utils":32}],19:[function(e,t,r){"use strict";var i=e("./Uint8ArrayReader");function n(e){i.call(this,e)}e("../utils").inherits(n,i),n.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var i=e("./DataReader");function n(e){i.call(this,e)}e("../utils").inherits(n,i),n.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},n.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},n.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},n.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var i=e("./ArrayReader");function n(e){i.call(this,e)}e("../utils").inherits(n,i),n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var i=e("../utils"),n=e("../support"),a=e("./ArrayReader"),o=e("./StringReader"),l=e("./NodeBufferReader"),s=e("./Uint8ArrayReader");t.exports=function(e){var t=i.getTypeOf(e);return i.checkSupport(t),"string"!==t||n.uint8array?"nodebuffer"===t?new l(e):n.uint8array?new s(i.transformTo("uint8array",e)):new a(i.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,r){"use strict";var i=e("./GenericWorker"),n=e("../utils");function a(e){i.call(this,"ConvertWorker to "+e),this.destType=e}n.inherits(a,i),a.prototype.processChunk=function(e){this.push({data:n.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var i=e("./GenericWorker"),n=e("../crc32");function a(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,i),a.prototype.processChunk=function(e){this.streamInfo.crc32=n(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var i=e("../utils"),n=e("./GenericWorker");function a(e){n.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(a,n),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}n.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var i=e("../utils"),n=e("./GenericWorker");function a(e){n.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this.Xk=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t.Yk()},function(e){t.error(e)})}i.inherits(a,n),a.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this.Xk&&this.dataIsReady&&(this.Xk=!0,i.delay(this.Yk,[],this)),!0)},a.prototype.Yk=function(){this.Xk=!1,this.isPaused||this.isFinished||(this.Zk(),this.isFinished||(i.delay(this.Yk,[],this),this.Xk=!0))},a.prototype.Zk=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){"use strict";function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this.$k={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this.$k[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this.$k=[]},emit:function(e,t){if(this.$k[e])for(var r=0;r<this.$k[e].length;r++)this.$k[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=i},{}],29:[function(e,t,r){"use strict";var i=e("../utils"),n=e("./ConvertWorker"),a=e("./GenericWorker"),o=e("../base64"),l=e("../support"),s=e("../external"),c=null;if(l.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function u(e,t){return new s.Promise(function(r,n){var a=[],l=e._k,s=e.al,c=e.cl;e.on("data",function(e,r){a.push(e),t&&t(r)}).on("error",function(e){a=[],n(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),r);case"base64":return o.encode(t);default:return i.transformTo(e,t)}}(s,function(e,t){var r,i=0,n=null,a=0;for(r=0;r<t.length;r++)a+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(n=new Uint8Array(a),r=0;r<t.length;r++)n.set(t[r],i),i+=t[r].length;return n;case"nodebuffer":return Buffer.concat(t);default:throw Error("concat : unsupported type '"+e+"'")}}(l,a),c);r(e)}catch(e){n(e)}a=[]}).resume()})}function d(e,t,r){var o=t;switch(t){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._k=o,this.al=t,this.cl=r,i.checkSupport(o),this.dl=e.pipe(new n(o)),e.lock()}catch(e){this.dl=new a("error"),this.dl.error(e)}}d.prototype={accumulate:function(e){return u(this,e)},on:function(e,t){var r=this;return"data"===e?this.dl.on(e,function(e){t.call(r,e.data,e.meta)}):this.dl.on(e,function(){i.delay(t,arguments,r)}),this},resume:function(){return i.delay(this.dl.resume,[],this.dl),this},pause:function(){return this.dl.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this.al)throw Error(this.al+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this.al},e)}},t.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,r){"use strict";var i,n;if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer="undefined"!=typeof Buffer,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{i=new ArrayBuffer(0);try{r.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder),n.append(i),r.blob=0===n.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){"use strict";for(var i=e("./utils"),n=e("./support"),a=e("./nodejsUtils"),o=e("./stream/GenericWorker"),l=Array(256),s=0;s<256;s++)l[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;l[254]=l[254]=1;function c(){o.call(this,"utf-8 decode"),this.leftOver=null}function u(){o.call(this,"utf-8 encode")}r.utf8encode=function(e){return n.nodebuffer?a.newBufferFrom(e,"utf-8"):function(e){var t,r,i,a,o,l=e.length,s=0;for(a=0;a<l;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<l&&56320==(64512&(i=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=n.uint8array?new Uint8Array(s):Array(s),a=o=0;o<s;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<l&&56320==(64512&(i=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t}(e)},r.utf8decode=function(e){return n.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,n,a,o=e.length,s=Array(2*o);for(t=r=0;t<o;)if((n=e[t++])<128)s[r++]=n;else if(4<(a=l[n]))s[r++]=65533,t+=a-1;else{for(n&=2===a?31:3===a?15:7;1<a&&t<o;)n=n<<6|63&e[t++],a--;1<a?s[r++]=65533:n<65536?s[r++]=n:(n-=65536,s[r++]=55296|n>>10&1023,s[r++]=56320|1023&n)}return s.length!==r&&(s.subarray?s=s.subarray(0,r):s.length=r),i.applyFromCharCode(s)}(e=i.transformTo(n.uint8array?"uint8array":"array",e))},i.inherits(c,o),c.prototype.processChunk=function(e){var t,a,o,s=i.transformTo(n.uint8array?"uint8array":"array",e.data);this.leftOver&&this.leftOver.length&&(n.uint8array?(t=s,(s=new Uint8Array(t.length+this.leftOver.length)).set(this.leftOver,0),s.set(t,this.leftOver.length)):s=this.leftOver.concat(s),this.leftOver=null),a=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+l[e[r]]>t?r:t}(s),o=s,a!==s.length&&(n.uint8array?(o=s.subarray(0,a),this.leftOver=s.subarray(a,s.length)):(o=s.slice(0,a),this.leftOver=s.slice(a,s.length))),this.push({data:r.utf8decode(o),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=c,i.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){"use strict";var i,n,a=e("./support"),o=e("./base64"),l=e("./nodejsUtils"),s=e("set-immediate-shim"),c=e("./external");function u(e){return e}function d(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}r.newBlob=function(e,t){r.checkSupport("blob");try{return new Blob([e],{type:t})}catch(r){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(e),i.getBlob(t)}catch(e){throw Error("Bug : can't construct the Blob.")}}},i={stringifyByChunk:function(e,t,r){var i=[],n=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;n<a;)"array"===t||"nodebuffer"===t?i.push(String.fromCharCode.apply(null,e.slice(n,Math.min(n+r,a)))):i.push(String.fromCharCode.apply(null,e.subarray(n,Math.min(n+r,a)))),
24
+ n+=r;return i.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&1===String.fromCharCode.apply(null,l.allocBuffer(1)).length}catch(e){return!1}}()}};function f(e){var t=65536,n=r.getTypeOf(e),a=!0;if("uint8array"===n?a=i.applyCanBeUsed.uint8array:"nodebuffer"===n&&(a=i.applyCanBeUsed.nodebuffer),a)for(;1<t;)try{return i.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return i.stringifyByChar(e)}function p(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=f,n={},n.string={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return n.string.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:function(e){return d(e,l.allocBuffer(e.length))}},n.array={string:f,array:u,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return l.newBufferFrom(e)}},n.arraybuffer={string:function(e){return f(new Uint8Array(e))},array:function(e){return p(new Uint8Array(e),Array(e.byteLength))},arraybuffer:u,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return l.newBufferFrom(new Uint8Array(e))}},n.uint8array={string:f,array:function(e){return p(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:u,nodebuffer:function(e){return l.newBufferFrom(e)}},n.nodebuffer={string:f,array:function(e){return p(e,Array(e.length))},arraybuffer:function(e){return n.nodebuffer.uint8array(e).buffer},uint8array:function(e){return p(e,new Uint8Array(e.length))},nodebuffer:u},r.transformTo=function(e,t){if(t=t||"",!e)return t;r.checkSupport(e);var i=r.getTypeOf(t);return n[i][e](t)},r.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":a.nodebuffer&&l.isBuffer(e)?"nodebuffer":a.uint8array&&e instanceof Uint8Array?"uint8array":a.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){if(!a[e.toLowerCase()])throw Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,i="";for(r=0;r<(e||"").length;r++)i+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return i},r.delay=function(e,t,r){s(function(){e.apply(r||null,t||[])})},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,i,n,l){return c.Promise.resolve(t).then(function(e){return a.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new c.Promise(function(t,r){var i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=function(e){r(e.target.error)},i.readAsArrayBuffer(e)}):e}).then(function(t){var s=r.getTypeOf(t);return s?("arraybuffer"===s?t=r.transformTo("uint8array",t):"string"===s&&(l?t=o.decode(t):i&&!0!==n&&(t=function(e){return d(e,a.uint8array?new Uint8Array(e.length):Array(e.length))}(t))),t):c.Promise.reject(Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(e,t,r){"use strict";var i=e("./reader/readerFor"),n=e("./utils"),a=e("./signature"),o=e("./zipEntry"),l=(e("./utf8"),e("./support"));function s(e){this.files=[],this.loadOptions=e}s.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+n.pretty(t)+", expected "+n.pretty(e)+")")}},isSignature:function(e,t){var r,i=this.reader.index;return this.reader.setIndex(e),r=this.reader.readString(4)===t,this.reader.setIndex(i),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=l.uint8array?"uint8array":"array",r=n.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,i=this.zip64EndOfCentralSize-44;0<i;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e,t,r,i=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(i<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?Error("Corrupted zip: can't find end of central directory"):Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");if(this.reader.setIndex(i),e=i,this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===n.MAX_VALUE_16BITS||this.diskWithCentralDirStart===n.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===n.MAX_VALUE_16BITS||this.centralDirRecords===n.MAX_VALUE_16BITS||this.centralDirSize===n.MAX_VALUE_32BITS||this.centralDirOffset===n.MAX_VALUE_32BITS){if(this.zip64=!0,(i=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(i),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}if(t=this.centralDirOffset+this.centralDirSize,this.zip64&&(t+=20,t+=12+this.zip64EndOfCentralSize),r=e-t,0<r)this.isSignature(e,a.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=i(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=s},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){"use strict";var i=e("./reader/readerFor"),n=e("./utils"),a=e("./compressedObject"),o=e("./crc32"),l=e("./utf8"),s=e("./compressions"),c=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in s)if(s.hasOwnProperty(t)&&s[t].magic===e)return s[t];return null}(this.compressionMethod)))throw Error("Corrupted zip : compression "+n.pretty(this.compressionMethod)+" unknown (inner file : "+n.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=i(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,r,i,n=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<n;)t=e.readInt(2),r=e.readInt(2),i=e.readData(r),this.extraFields[t]={id:t,length:r,value:i};e.setIndex(n)},handleUTF8:function(){var e,t,r,i,a=c.uint8array?"uint8array":"array";this.useUTF8()?(this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment)):(e=this.findExtraFieldUnicodePath(),null!==e?this.fileNameStr=e:(t=n.transformTo(a,this.fileName),this.fileNameStr=this.loadOptions.decodeFileName(t)),r=this.findExtraFieldUnicodeComment(),null!==r?this.fileCommentStr=r:(i=n.transformTo(a,this.fileComment),this.fileCommentStr=this.loadOptions.decodeFileName(i)))},findExtraFieldUnicodePath:function(){var e,t=this.extraFields[28789];return t?(e=i(t.value),1!==e.readInt(1)?null:o(this.fileName)!==e.readInt(4)?null:l.utf8decode(e.readData(t.length-5))):null},findExtraFieldUnicodeComment:function(){var e,t=this.extraFields[25461];return t?(e=i(t.value),1!==e.readInt(1)?null:o(this.fileComment)!==e.readInt(4)?null:l.utf8decode(e.readData(t.length-5))):null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){"use strict";var i,n,a,o,l,s,c,u;function d(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this.el=t,this.fl=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}for(i=e("./stream/StreamHelper"),n=e("./stream/DataWorker"),a=e("./utf8"),o=e("./compressedObject"),l=e("./stream/GenericWorker"),d.prototype={internalStream:function(e){var t,r,n=null,o="string";try{if(!e)throw Error("No output type specified.");t="string"===(o=e.toLowerCase())||"text"===o,"binarystring"!==o&&"text"!==o||(o="string"),n=this.gl(),r=!this.fl,r&&!t&&(n=n.pipe(new a.Utf8EncodeWorker)),!r&&t&&(n=n.pipe(new a.Utf8DecodeWorker))}catch(e){(n=new l("error")).error(e)}return new i(n,o,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},Rk:function(e,t){if(this.el instanceof o&&this.el.compression.magic===e.magic)return this.el.getCompressedWorker();var r=this.gl();return this.fl||(r=r.pipe(new a.Utf8EncodeWorker)),o.createWorkerFrom(r,e,t)},gl:function(){return this.el instanceof o?this.el.getContentWorker():this.el instanceof l?this.el:new n(this.el)}},s=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},u=0;u<s.length;u++)d.prototype[s[u]]=c;t.exports=d},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){"use strict";var r,i,n,a,o,l,s,c=e.MutationObserver||e.WebKitMutationObserver;c?(n=0,a=new c(u),o=e.document.createTextNode(""),a.observe(o,{characterData:!0}),r=function(){o.data=n=++n%2}):e.setImmediate||void 0===e.MessageChannel?r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)}:(l=new e.MessageChannel,l.port1.onmessage=u,r=function(){l.port2.postMessage(0)}),s=[];function u(){var e,t,r;for(i=!0,r=s.length;r;){for(t=s,s=[],e=-1;++e<r;)t[e]();r=s.length}i=!1}t.exports=function(e){1!==s.push(e)||i||r()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){"use strict";var i,n,a,o,l=e("immediate");function s(){}i={},n=["REJECTED"],a=["FULFILLED"],o=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=o,this.queue=[],this.outcome=void 0,e!==s&&p(this,e)}function u(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function d(e,t,r){l(function(){var n;try{n=t(r)}catch(t){return i.reject(e,t)}n===e?i.reject(e,new TypeError("Cannot resolve promise with itself")):i.resolve(e,n)})}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var r,n=!1;function a(t){n||(n=!0,i.reject(e,t))}function o(t){n||(n=!0,i.resolve(e,t))}r=h(function(){t(o,a)}),"error"===r.status&&a(r.value)}function h(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===n)return this;var r=new this.constructor(s);return this.state!==o?d(r,this.state===a?e:t,this.outcome):this.queue.push(new u(r,e,t)),r},u.prototype.callFulfilled=function(e){i.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){i.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},i.resolve=function(e,t){var r,n,o,l=h(f,t);if("error"===l.status)return i.reject(e,l.value);if(r=l.value)p(e,r);else for(e.state=a,e.outcome=t,n=-1,o=e.queue.length;++n<o;)e.queue[n].callFulfilled(t);return e},i.reject=function(e,t){e.state=n,e.outcome=t;for(var r=-1,i=e.queue.length;++r<i;)e.queue[r].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:i.resolve(new this(s),e)},c.reject=function(e){var t=new this(s);return i.reject(t,e)},c.all=function(e){var t,r,n,a,o,l,c=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));if(t=e.length,r=!1,!t)return this.resolve([]);for(n=Array(t),a=0,o=-1,l=new this(s);++o<t;)u(e[o],o);return l;function u(e,o){c.resolve(e).then(function(e){n[o]=e,++a!==t||r||(r=!0,i.resolve(l,n))},function(e){r||(r=!0,i.reject(l,e))})}},c.race=function(e){var t,r,n,a,o,l=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));if(t=e.length,r=!1,!t)return this.resolve([]);for(n=-1,a=new this(s);++n<t;)o=e[n],l.resolve(o).then(function(e){r||(r=!0,i.resolve(a,e))},function(e){r||(r=!0,i.reject(a,e))});return a}},{immediate:36}],38:[function(e,t,r){"use strict";var i={};(0,e("./lib/utils/common").assign)(i,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){"use strict";var i=e("./zlib/deflate"),n=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/messages"),l=e("./zlib/zstream"),s=Object.prototype.toString,c=0,u=-1,d=0,f=8;function p(e){var t,r,h;if(!(this instanceof p))return new p(e);if(this.options=n.assign({level:u,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{}),t=this.options,t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0,r=i.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy),r!==c)throw Error(o[r]);if(t.header&&i.deflateSetHeader(this.strm,t.header),t.dictionary){if(h="string"==typeof t.dictionary?a.string2buf(t.dictionary):"[object ArrayBuffer]"===s.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=i.deflateSetDictionary(this.strm,h))!==c)throw Error(o[r]);this.il=!0}}function h(e,t){var r=new p(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}p.prototype.push=function(e,t){var r,o,l=this.strm,u=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?l.input=a.string2buf(e):"[object ArrayBuffer]"===s.call(e)?l.input=new Uint8Array(e):l.input=e,l.next_in=0,l.avail_in=l.input.length;do{if(0===l.avail_out&&(l.output=new n.Buf8(u),l.next_out=0,l.avail_out=u),1!==(r=i.deflate(l,o))&&r!==c)return this.onEnd(r),!(this.ended=!0);0!==l.avail_out&&(0!==l.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(a.buf2binstring(n.shrinkBuf(l.output,l.next_out))):this.onData(n.shrinkBuf(l.output,l.next_out)))}while((0<l.avail_in||0===l.avail_out)&&1!==r);return 4===o?(r=i.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c):2!==o||(this.onEnd(c),!(l.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=p,r.deflate=h,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,h(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){"use strict";var i=e("./zlib/inflate"),n=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/constants"),l=e("./zlib/messages"),s=e("./zlib/zstream"),c=e("./zlib/gzheader"),u=Object.prototype.toString;function d(e){var t,r;if(!(this instanceof d))return new d(e);if(this.options=n.assign({chunkSize:16384,windowBits:0,to:""},e||{}),t=this.options,t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0,r=i.inflateInit2(this.strm,t.windowBits),r!==o.Z_OK)throw Error(l[r]);this.header=new c,i.inflateGetHeader(this.strm,this.header)}function f(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg||l[r.err];return r.result}d.prototype.push=function(e,t){var r,l,s,c,d,f,p=this.strm,h=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;l=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?p.input=a.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new n.Buf8(h),p.next_out=0,p.avail_out=h),(r=i.inflate(p,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&m&&(f="string"==typeof m?a.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,r=i.inflateSetDictionary(this.strm,f)),r===o.Z_BUF_ERROR&&!0===g&&(r=o.Z_OK,g=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),!(this.ended=!0);p.next_out&&(0!==p.avail_out&&r!==o.Z_STREAM_END&&(0!==p.avail_in||l!==o.Z_FINISH&&l!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(s=a.utf8border(p.output,p.next_out),c=p.next_out-s,d=a.buf2string(p.output,s),p.next_out=c,p.avail_out=h-c,c&&n.arraySet(p.output,p.output,s,c,0),this.onData(d)):this.onData(n.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(g=!0)}while((0<p.avail_in||0===p.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(l=o.Z_FINISH),l===o.Z_FINISH?(r=i.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):l!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(p.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=d,r.inflate=f,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},r.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){"use strict";var i,n,a="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){var t,r,i;for(t=Array.prototype.slice.call(arguments,1);t.length;)if(r=t.shift()){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)},i={arraySet:function(e,t,r,i,n){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+i),n);else for(var a=0;a<i;a++)e[n+a]=t[r+a]},flattenChunks:function(e){var t,r,i,n,a,o;for(t=i=0,r=e.length;t<r;t++)i+=e[t].length;for(o=new Uint8Array(i),t=n=0,r=e.length;t<r;t++)a=e[t],o.set(a,n),n+=a.length;return o}},n={arraySet:function(e,t,r,i,n){for(var a=0;a<i;a++)e[n+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}},r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,n))},r.setTyped(a)},{}],42:[function(e,t,r){"use strict";var i,n,a=e("./common"),o=!0,l=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){l=!1}for(i=new a.Buf8(256),n=0;n<256;n++)i[n]=252<=n?6:248<=n?5:240<=n?4:224<=n?3:192<=n?2:1;function s(e,t){if(t<65537&&(e.subarray&&l||!e.subarray&&o))return String.fromCharCode.apply(null,a.shrinkBuf(e,t));for(var r="",i=0;i<t;i++)r+=String.fromCharCode(e[i]);return r}i[254]=i[254]=1,r.string2buf=function(e){var t,r,i,n,o,l=e.length,s=0;for(n=0;n<l;n++)55296==(64512&(r=e.charCodeAt(n)))&&n+1<l&&56320==(64512&(i=e.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(i-56320),n++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new a.Buf8(s),n=o=0;o<s;n++)55296==(64512&(r=e.charCodeAt(n)))&&n+1<l&&56320==(64512&(i=e.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(i-56320),n++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t},r.buf2binstring=function(e){return s(e,e.length)},r.binstring2buf=function(e){for(var t=new a.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,a,o,l=t||e.length,c=Array(2*l);for(r=n=0;r<l;)if((a=e[r++])<128)c[n++]=a;else if(4<(o=i[a]))c[n++]=65533,r+=o-1;else{for(a&=2===o?31:3===o?15:7;1<o&&r<l;)a=a<<6|63&e[r++],o--;1<o?c[n++]=65533:a<65536?c[n++]=a:(a-=65536,c[n++]=55296|a>>10&1023,c[n++]=56320|1023&a)}return s(c,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+i[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r,i){for(var n=65535&e|0,a=e>>>16&65535|0,o=0;0!==r;){for(r-=o=2e3<r?2e3:r;a=a+(n=n+t[i++]|0)|0,--o;);n%=65521,a%=65521}return n|a<<16|0}},{}],44:[function(e,t,r){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,r){"use strict";var i=function(){var e,t,r,i;for(t=[],r=0;r<256;r++){for(e=r,i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,n){var a,o=i,l=n+r;for(e^=-1,a=n;a<l;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}},{}],46:[function(e,t,r){"use strict";var i,n=e("../utils/common"),a=e("./trees"),o=e("./adler32"),l=e("./crc32"),s=e("./messages"),c=0,u=4,d=0,f=-2,p=-1,h=4,m=2,g=8,b=9,w=286,C=30,S=19,y=2*w+1,v=15,x=3,T=258,A=T+x+1,k=42,E=113,I=1,F=2,P=3,D=4;function R(e,t){return e.msg=s[t],t}function L(e){return(e<<1)-(4<e?9:0)}function _(e){for(var t=e.length;0<=--t;)e[t]=0}function N(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(n.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function B(e,t){a.jl(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,N(e.strm)}function M(e,t){e.pending_buf[e.pending++]=t}function O(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function G(e,t){var r,i,n=e.max_chain_length,a=e.strstart,o=e.prev_length,l=e.nice_match,s=e.strstart>e.w_size-A?e.strstart-(e.w_size-A):0,c=e.window,u=e.w_mask,d=e.prev,f=e.strstart+T,p=c[a+o-1],h=c[a+o];e.prev_length>=e.good_match&&(n>>=2),l>e.lookahead&&(l=e.lookahead);do if(c[(r=t)+o]===h&&c[r+o-1]===p&&c[r]===c[a]&&c[++r]===c[a+1]){a+=2,r++;do;while(c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&a<f);if(i=T-(f-a),a=f-T,o<i){if(e.match_start=t,l<=(o=i))break;p=c[a+o-1],h=c[a+o]}}while((t=d[t&u])>s&&0!=--n);return o<=e.lookahead?o:e.lookahead}function H(e){var t,r,i,a,s,c,u,d,f,p,h=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-A)){for(n.arraySet(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=r=e.hash_size;i=e.head[--t],e.head[t]=h<=i?i-h:0,--r;);for(t=r=h;i=e.prev[--t],e.prev[t]=h<=i?i-h:0,--r;);a+=h}if(0===e.strm.avail_in)break;if(c=e.strm,u=e.window,d=e.strstart+e.lookahead,f=a,p=void 0,p=c.avail_in,f<p&&(p=f),r=0===p?0:(c.avail_in-=p,n.arraySet(u,c.input,c.next_in,p,d),1===c.state.wrap?c.adler=o(c.adler,u,p,d):2===c.state.wrap&&(c.adler=l(c.adler,u,p,d)),c.next_in+=p,c.total_in+=p,p),e.lookahead+=r,e.lookahead+e.insert>=x)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+x-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<x)););}while(e.lookahead<A&&0!==e.strm.avail_in)}function U(e,t){for(var r,i;;){if(e.lookahead<A){if(H(e),e.lookahead<A&&t===c)return I;if(0===e.lookahead)break}if(r=0,e.lookahead>=x&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-A&&(e.match_length=G(e,r)),e.match_length>=x)if(i=a.kl(e,e.strstart-e.match_start,e.match_length-x),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=x){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=a.kl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(B(e,!1),0===e.strm.avail_out))return I}return e.insert=e.strstart<x-1?e.strstart:x-1,t===u?(B(e,!0),0===e.strm.avail_out?P:D):e.last_lit&&(B(e,!1),0===e.strm.avail_out)?I:F}function J(e,t){for(var r,i,n;;){if(e.lookahead<A){if(H(e),e.lookahead<A&&t===c)return I;if(0===e.lookahead)break}if(r=0,e.lookahead>=x&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=x-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-A&&(e.match_length=G(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===x&&4096<e.strstart-e.match_start)&&(e.match_length=x-1)),e.prev_length>=x&&e.match_length<=e.prev_length){for(n=e.strstart+e.lookahead-x,i=a.kl(e,e.strstart-1-e.prev_match,e.prev_length-x),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=n&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=x-1,e.strstart++,i&&(B(e,!1),0===e.strm.avail_out))return I}else if(e.match_available){if((i=a.kl(e,0,e.window[e.strstart-1]))&&B(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return I}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=a.kl(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<x-1?e.strstart:x-1,t===u?(B(e,!0),0===e.strm.avail_out?P:D):e.last_lit&&(B(e,!1),0===e.strm.avail_out)?I:F}function W(e,t,r,i,n){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=n}function V(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,
25
+ this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(2*y),this.dyn_dtree=new n.Buf16(2*(2*C+1)),this.bl_tree=new n.Buf16(2*(2*S+1)),_(this.dyn_ltree),_(this.dyn_dtree),_(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(v+1),this.heap=new n.Buf16(2*w+1),_(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*w+1),_(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function z(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=m,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?k:E,e.adler=2===t.wrap?0:1,t.last_flush=c,a.ll(t),d):R(e,f)}function j(e){var t=z(e);return t===d&&function(e){e.window_size=2*e.w_size,_(e.head),e.max_lazy_match=i[e.level].max_lazy,e.good_match=i[e.level].good_length,e.nice_match=i[e.level].nice_length,e.max_chain_length=i[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=x-1,e.match_available=0,e.ins_h=0}(e.state),t}function X(e,t,r,i,a,o){var l,s;return e?(l=1,t===p&&(t=6),i<0?(l=0,i=-i):15<i&&(l=2,i-=16),a<1||b<a||r!==g||i<8||15<i||t<0||9<t||o<0||h<o?R(e,f):(8===i&&(i=9),s=new V,(e.state=s).strm=e,s.wrap=l,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=a+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+x-1)/x),s.window=new n.Buf8(2*s.w_size),s.head=new n.Buf16(s.hash_size),s.prev=new n.Buf16(s.w_size),s.lit_bufsize=1<<a+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new n.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=r,j(e))):f}i=[new W(0,0,0,0,function(e,t){var r,i=65535;for(i>e.pending_buf_size-5&&(i=e.pending_buf_size-5);;){if(e.lookahead<=1){if(H(e),0===e.lookahead&&t===c)return I;if(0===e.lookahead)break}if(e.strstart+=e.lookahead,e.lookahead=0,r=e.block_start+i,(0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,B(e,!1),0===e.strm.avail_out))return I;if(e.strstart-e.block_start>=e.w_size-A&&(B(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(B(e,!0),0===e.strm.avail_out?P:D):(e.strstart>e.block_start&&(B(e,!1),e.strm.avail_out),I)}),new W(4,4,8,4,U),new W(4,5,16,8,U),new W(4,6,32,32,U),new W(4,4,16,16,J),new W(8,16,32,32,J),new W(8,16,128,128,J),new W(8,32,128,256,J),new W(32,128,258,1024,J),new W(32,258,258,4096,J)],r.deflateInit=function(e,t){return X(e,t,g,15,8,0)},r.deflateInit2=X,r.deflateReset=j,r.deflateResetKeep=z,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?f:(e.state.gzhead=t,d):f},r.deflate=function(e,t){var r,n,o,s,p,h;if(!e||!e.state||5<t||t<0)return e?R(e,f):f;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||666===n.status&&t!==u)return R(e,0===e.avail_out?-5:f);if(n.strm=e,r=n.last_flush,n.last_flush=t,n.status===k&&(2===n.wrap?(e.adler=0,M(n,31),M(n,139),M(n,8),n.gzhead?(M(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),M(n,255&n.gzhead.time),M(n,n.gzhead.time>>8&255),M(n,n.gzhead.time>>16&255),M(n,n.gzhead.time>>24&255),M(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),M(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(M(n,255&n.gzhead.extra.length),M(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=l(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(M(n,0),M(n,0),M(n,0),M(n,0),M(n,0),M(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),M(n,3),n.status=E)):(p=g+(n.w_bits-8<<4)<<8,p|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(p|=32),p+=31-p%31,n.status=E,O(n,p),0!==n.strstart&&(O(n,e.adler>>>16),O(n,65535&e.adler)),e.adler=1)),69===n.status)if(n.gzhead.extra){for(o=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>o&&(e.adler=l(e.adler,n.pending_buf,n.pending-o,o)),N(e),o=n.pending,n.pending!==n.pending_buf_size));)M(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>o&&(e.adler=l(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=l(e.adler,n.pending_buf,n.pending-o,o)),N(e),o=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,M(n,s)}while(0!==s);n.gzhead.hcrc&&n.pending>o&&(e.adler=l(e.adler,n.pending_buf,n.pending-o,o)),0===s&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=l(e.adler,n.pending_buf,n.pending-o,o)),N(e),o=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,M(n,s)}while(0!==s);n.gzhead.hcrc&&n.pending>o&&(e.adler=l(e.adler,n.pending_buf,n.pending-o,o)),0===s&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&N(e),n.pending+2<=n.pending_buf_size&&(M(n,255&e.adler),M(n,e.adler>>8&255),e.adler=0,n.status=E)):n.status=E),0!==n.pending){if(N(e),0===e.avail_out)return n.last_flush=-1,d}else if(0===e.avail_in&&L(t)<=L(r)&&t!==u)return R(e,-5);if(666===n.status&&0!==e.avail_in)return R(e,-5);if(0!==e.avail_in||0!==n.lookahead||t!==c&&666!==n.status){if(h=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(H(e),0===e.lookahead)){if(t===c)return I;break}if(e.match_length=0,r=a.kl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(B(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(B(e,!0),0===e.strm.avail_out?P:D):e.last_lit&&(B(e,!1),0===e.strm.avail_out)?I:F}(n,t):3===n.strategy?function(e,t){for(var r,i,n,o,l=e.window;;){if(e.lookahead<=T){if(H(e),e.lookahead<=T&&t===c)return I;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=x&&0<e.strstart&&(i=l[n=e.strstart-1])===l[++n]&&i===l[++n]&&i===l[++n]){o=e.strstart+T;do;while(i===l[++n]&&i===l[++n]&&i===l[++n]&&i===l[++n]&&i===l[++n]&&i===l[++n]&&i===l[++n]&&i===l[++n]&&n<o);e.match_length=T-(o-n),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=x?(r=a.kl(e,1,e.match_length-x),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=a.kl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(B(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(B(e,!0),0===e.strm.avail_out?P:D):e.last_lit&&(B(e,!1),0===e.strm.avail_out)?I:F}(n,t):i[n.level].func(n,t),h!==P&&h!==D||(n.status=666),h===I||h===P)return 0===e.avail_out&&(n.last_flush=-1),d;if(h===F&&(1===t?a.ml(n):5!==t&&(a.nl(n,0,0,!1),3===t&&(_(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),N(e),0===e.avail_out))return n.last_flush=-1,d}return t!==u?d:n.wrap<=0?1:(2===n.wrap?(M(n,255&e.adler),M(n,e.adler>>8&255),M(n,e.adler>>16&255),M(n,e.adler>>24&255),M(n,255&e.total_in),M(n,e.total_in>>8&255),M(n,e.total_in>>16&255),M(n,e.total_in>>24&255)):(O(n,e.adler>>>16),O(n,65535&e.adler)),N(e),0<n.wrap&&(n.wrap=-n.wrap),0!==n.pending?d:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==k&&69!==t&&73!==t&&91!==t&&103!==t&&t!==E&&666!==t?R(e,f):(e.state=null,t===E?R(e,-3):d):f},r.deflateSetDictionary=function(e,t){var r,i,a,l,s,c,u,p,h=t.length;if(!e||!e.state)return f;if(2===(l=(r=e.state).wrap)||1===l&&r.status!==k||r.lookahead)return f;for(1===l&&(e.adler=o(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===l&&(_(r.head),r.strstart=0,r.block_start=0,r.insert=0),p=new n.Buf8(r.w_size),n.arraySet(p,t,h-r.w_size,r.w_size,0),t=p,h=r.w_size),s=e.avail_in,c=e.next_in,u=e.input,e.avail_in=h,e.next_in=0,e.input=t,H(r);r.lookahead>=x;){for(i=r.strstart,a=r.lookahead-(x-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[i+x-1])&r.hash_mask,r.prev[i&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=i,i++,--a;);r.strstart=i,r.lookahead=x-1,H(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=x-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=s,r.wrap=l,d},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,r){"use strict";t.exports=function(e,t){var r,i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k;r=e.state,i=e.next_in,A=e.input,n=i+(e.avail_in-5),a=e.next_out,k=e.output,o=a-(t-e.avail_out),l=a+(e.avail_out-257),s=r.dmax,c=r.wsize,u=r.whave,d=r.wnext,f=r.window,p=r.hold,h=r.bits,m=r.lencode,g=r.distcode,b=(1<<r.lenbits)-1,w=(1<<r.distbits)-1;e:do{h<15&&(p+=A[i++]<<h,h+=8,p+=A[i++]<<h,h+=8),C=m[p&b];t:for(;;){if(p>>>=S=C>>>24,h-=S,0===(S=C>>>16&255))k[a++]=65535&C;else{if(!(16&S)){if(0==(64&S)){C=m[(65535&C)+(p&(1<<S)-1)];continue t}if(32&S){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}y=65535&C,(S&=15)&&(h<S&&(p+=A[i++]<<h,h+=8),y+=p&(1<<S)-1,p>>>=S,h-=S),h<15&&(p+=A[i++]<<h,h+=8,p+=A[i++]<<h,h+=8),C=g[p&w];r:for(;;){if(p>>>=S=C>>>24,h-=S,!(16&(S=C>>>16&255))){if(0==(64&S)){C=g[(65535&C)+(p&(1<<S)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(v=65535&C,h<(S&=15)&&(p+=A[i++]<<h,(h+=8)<S&&(p+=A[i++]<<h,h+=8)),s<(v+=p&(1<<S)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(p>>>=S,h-=S,(S=a-o)<v){if(u<(S=v-S)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(T=f,(x=0)===d){if(x+=c-S,S<y){for(y-=S;k[a++]=f[x++],--S;);x=a-v,T=k}}else if(d<S){if(x+=c+d-S,(S-=d)<y){for(y-=S;k[a++]=f[x++],--S;);if(x=0,d<y){for(y-=S=d;k[a++]=f[x++],--S;);x=a-v,T=k}}}else if(x+=d-S,S<y){for(y-=S;k[a++]=f[x++],--S;);x=a-v,T=k}for(;2<y;)k[a++]=T[x++],k[a++]=T[x++],k[a++]=T[x++],y-=3;y&&(k[a++]=T[x++],1<y&&(k[a++]=T[x++]))}else{for(x=a-v;k[a++]=k[x++],k[a++]=k[x++],k[a++]=k[x++],2<(y-=3););y&&(k[a++]=k[x++],1<y&&(k[a++]=k[x++]))}break}}break}}while(i<n&&a<l);i-=y=h>>3,p&=(1<<(h-=y<<3))-1,e.next_in=i,e.next_out=a,e.avail_in=i<n?n-i+5:5-(i-n),e.avail_out=a<l?l-a+257:257-(a-l),r.hold=p,r.bits=h}},{}],49:[function(e,t,r){"use strict";var i,n,a,o=e("../utils/common"),l=e("./adler32"),s=e("./crc32"),c=e("./inffast"),u=e("./inftrees"),d=1,f=2,p=0,h=-2,m=1,g=852,b=592;function w(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function C(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function S(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=m,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new o.Buf32(g),t.distcode=t.distdyn=new o.Buf32(b),t.sane=1,t.back=-1,p):h}function y(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,S(e)):h}function v(e,t){var r,i;return e&&e.state?(i=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?h:(null!==i.window&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,y(e))):h}function x(e,t){var r,i;return e?(i=new C,(e.state=i).window=null,(r=v(e,t))!==p&&(e.state=null),r):h}a=!0;function T(e){if(a){var t;for(i=new o.Buf32(512),n=new o.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(u(d,e.lens,0,288,i,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;u(f,e.lens,0,32,n,0,e.work,{bits:5}),a=!1}e.lencode=i,e.lenbits=9,e.distcode=n,e.distbits=5}function A(e,t,r,i){var n,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new o.Buf8(a.wsize)),i>=a.wsize?(o.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(n=a.wsize-a.wnext)&&(n=i),o.arraySet(a.window,t,r-i,n,a.wnext),(i-=n)?(o.arraySet(a.window,t,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=n,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=n))),0}r.inflateReset=y,r.inflateReset2=v,r.inflateResetKeep=S,r.inflateInit=function(e){return x(e,15)},r.inflateInit2=x,r.inflate=function(e,t){var r,i,n,a,g,b,C,S,y,v,x,k,E,I,F,P,D,R,L,_,N,B,M,O,G=0,H=new o.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return h;12===(r=e.state).mode&&(r.mode=13),g=e.next_out,n=e.output,C=e.avail_out,a=e.next_in,i=e.input,b=e.avail_in,S=r.hold,y=r.bits,v=b,x=C,B=p;e:for(;;)switch(r.mode){case m:if(0===r.wrap){r.mode=13;break}for(;y<16;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}if(2&r.wrap&&35615===S){H[r.check=0]=255&S,H[1]=S>>>8&255,r.check=s(r.check,H,2,0),y=S=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&S)<<8)+(S>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&S)){e.msg="unknown compression method",r.mode=30;break}if(y-=4,N=8+(15&(S>>>=4)),0===r.wbits)r.wbits=N;else if(N>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<N,e.adler=r.check=1,r.mode=512&S?10:12,y=S=0;break;case 2:for(;y<16;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}if(r.flags=S,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=S>>8&1),512&r.flags&&(H[0]=255&S,H[1]=S>>>8&255,r.check=s(r.check,H,2,0)),y=S=0,r.mode=3;case 3:for(;y<32;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}r.head&&(r.head.time=S),512&r.flags&&(H[0]=255&S,H[1]=S>>>8&255,H[2]=S>>>16&255,H[3]=S>>>24&255,r.check=s(r.check,H,4,0)),y=S=0,r.mode=4;case 4:for(;y<16;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}r.head&&(r.head.xflags=255&S,r.head.os=S>>8),512&r.flags&&(H[0]=255&S,H[1]=S>>>8&255,r.check=s(r.check,H,2,0)),y=S=0,r.mode=5;case 5:if(1024&r.flags){for(;y<16;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}r.length=S,r.head&&(r.head.extra_len=S),512&r.flags&&(H[0]=255&S,H[1]=S>>>8&255,r.check=s(r.check,H,2,0)),y=S=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(b<(k=r.length)&&(k=b),k&&(r.head&&(N=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),o.arraySet(r.head.extra,i,a,k,N)),512&r.flags&&(r.check=s(r.check,i,k,a)),b-=k,a+=k,r.length-=k),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===b)break e;for(k=0;N=i[a+k++],r.head&&N&&r.length<65536&&(r.head.name+=String.fromCharCode(N)),N&&k<b;);if(512&r.flags&&(r.check=s(r.check,i,k,a)),b-=k,a+=k,N)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===b)break e;for(k=0;N=i[a+k++],r.head&&N&&r.length<65536&&(r.head.comment+=String.fromCharCode(N)),N&&k<b;);if(512&r.flags&&(r.check=s(r.check,i,k,a)),b-=k,a+=k,N)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;y<16;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}if(S!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}y=S=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;y<32;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}e.adler=r.check=w(S),y=S=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=g,e.avail_out=C,e.next_in=a,e.avail_in=b,r.hold=S,r.bits=y,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){S>>>=7&y,y-=7&y,r.mode=27;break}for(;y<3;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}switch(r.last=1&S,y-=1,3&(S>>>=1)){case 0:r.mode=14;break;case 1:if(T(r),r.mode=20,6!==t)break;S>>>=2,y-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}S>>>=2,y-=2;break;case 14:for(S>>>=7&y,y-=7&y;y<32;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}if((65535&S)!=(S>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&S,y=S=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(k=r.length){if(b<k&&(k=b),C<k&&(k=C),0===k)break e;o.arraySet(n,i,a,k,g),b-=k,a+=k,C-=k,g+=k,r.length-=k;break}r.mode=12;break;case 17:for(;y<14;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}if(r.nlen=257+(31&S),S>>>=5,y-=5,r.ndist=1+(31&S),S>>>=5,y-=5,r.ncode=4+(15&S),S>>>=4,y-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;y<3;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}r.lens[U[r.have++]]=7&S,S>>>=3,y-=3}for(;r.have<19;)r.lens[U[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,M={bits:r.lenbits},B=u(0,r.lens,0,19,r.lencode,0,r.work,M),r.lenbits=M.bits,B){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;P=(G=r.lencode[S&(1<<r.lenbits)-1])>>>16&255,D=65535&G,!((F=G>>>24)<=y);){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}if(D<16)S>>>=F,y-=F,r.lens[r.have++]=D;else{if(16===D){for(O=F+2;y<O;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}if(S>>>=F,y-=F,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}N=r.lens[r.have-1],k=3+(3&S),S>>>=2,y-=2}else if(17===D){for(O=F+3;y<O;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}y-=F,N=0,k=3+(7&(S>>>=F)),S>>>=3,y-=3}else{for(O=F+7;y<O;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}y-=F,N=0,k=11+(127&(S>>>=F)),S>>>=7,y-=7}if(r.have+k>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;k--;)r.lens[r.have++]=N}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,M={bits:r.lenbits},B=u(d,r.lens,0,r.nlen,r.lencode,0,r.work,M),r.lenbits=M.bits,B){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,M={bits:r.distbits},B=u(f,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,M),r.distbits=M.bits,B){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=b&&258<=C){e.next_out=g,e.avail_out=C,e.next_in=a,e.avail_in=b,r.hold=S,r.bits=y,c(e,x),g=e.next_out,n=e.output,C=e.avail_out,a=e.next_in,i=e.input,b=e.avail_in,S=r.hold,y=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;P=(G=r.lencode[S&(1<<r.lenbits)-1])>>>16&255,D=65535&G,!((F=G>>>24)<=y);){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}if(P&&0==(240&P)){for(R=F,L=P,_=D;P=(G=r.lencode[_+((S&(1<<R+L)-1)>>R)])>>>16&255,D=65535&G,!(R+(F=G>>>24)<=y);){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}S>>>=R,y-=R,r.back+=R}if(S>>>=F,y-=F,r.back+=F,r.length=D,0===P){r.mode=26;break}if(32&P){r.back=-1,r.mode=12;break}if(64&P){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&P,r.mode=22;case 22:if(r.extra){for(O=r.extra;y<O;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}r.length+=S&(1<<r.extra)-1,S>>>=r.extra,y-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;P=(G=r.distcode[S&(1<<r.distbits)-1])>>>16&255,D=65535&G,!((F=G>>>24)<=y);){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}if(0==(240&P)){for(R=F,L=P,_=D;P=(G=r.distcode[_+((S&(1<<R+L)-1)>>R)])>>>16&255,D=65535&G,!(R+(F=G>>>24)<=y);){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}S>>>=R,y-=R,r.back+=R}if(S>>>=F,y-=F,r.back+=F,64&P){e.msg="invalid distance code",r.mode=30;break}r.offset=D,r.extra=15&P,r.mode=24;case 24:if(r.extra){for(O=r.extra;y<O;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}r.offset+=S&(1<<r.extra)-1,S>>>=r.extra,y-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===C)break e;if(k=x-C,r.offset>k){if((k=r.offset-k)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}E=k>r.wnext?(k-=r.wnext,r.wsize-k):r.wnext-k,k>r.length&&(k=r.length),I=r.window}else I=n,E=g-r.offset,k=r.length;for(C<k&&(k=C),C-=k,r.length-=k;n[g++]=I[E++],--k;);0===r.length&&(r.mode=21);break;case 26:if(0===C)break e;n[g++]=r.length,C--,r.mode=21;break;case 27:if(r.wrap){for(;y<32;){if(0===b)break e;b--,S|=i[a++]<<y,y+=8}if(x-=C,e.total_out+=x,r.total+=x,x&&(e.adler=r.check=r.flags?s(r.check,n,x,g-x):l(r.check,n,x,g-x)),x=C,(r.flags?S:w(S))!==r.check){e.msg="incorrect data check",r.mode=30;break}y=S=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;y<32;){if(0===b)break e;b--,S+=i[a++]<<y,y+=8}if(S!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}y=S=0}r.mode=29;case 29:B=1;break e;case 30:B=-3;break e;case 31:return-4;case 32:default:return h}return e.next_out=g,e.avail_out=C,e.next_in=a,e.avail_in=b,r.hold=S,r.bits=y,(r.wsize||x!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&A(e,e.output,e.next_out,x-e.avail_out)?(r.mode=31,-4):(v-=e.avail_in,x-=e.avail_out,e.total_in+=v,e.total_out+=x,r.total+=x,r.wrap&&x&&(e.adler=r.check=r.flags?s(r.check,n,x,e.next_out-x):l(r.check,n,x,e.next_out-x)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==v&&0===x||4===t)&&B===p&&(B=-5),B)},r.inflateEnd=function(e){if(!e||!e.state)return h;var t=e.state;return t.window&&(t.window=null),e.state=null,p},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?h:((r.head=t).done=!1,p):h},r.inflateSetDictionary=function(e,t){var r,i=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?h:11===r.mode&&l(1,t,i,0)!==r.check?-3:A(e,t,i,i)?(r.mode=31,-4):(r.havedict=1,p):h},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){"use strict";var i=e("../utils/common"),n=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,s,c,u,d,f){var p,h,m,g,b,w,C,S,y,v=f.bits,x=0,T=0,A=0,k=0,E=0,I=0,F=0,P=0,D=0,R=0,L=null,_=0,N=new i.Buf16(16),B=new i.Buf16(16),M=null,O=0;for(x=0;x<=15;x++)N[x]=0;for(T=0;T<s;T++)N[t[r+T]]++;for(E=v,k=15;1<=k&&0===N[k];k--);if(k<E&&(E=k),0===k)return c[u++]=20971520,c[u++]=20971520,f.bits=1,0;for(A=1;A<k&&0===N[A];A++);for(E<A&&(E=A),x=P=1;x<=15;x++)if(P<<=1,(P-=N[x])<0)return-1;if(0<P&&(0===e||1!==k))return-1;for(B[1]=0,x=1;x<15;x++)B[x+1]=B[x]+N[x];for(T=0;T<s;T++)0!==t[r+T]&&(d[B[t[r+T]]++]=T);if(w=0===e?(L=M=d,19):1===e?(L=n,_-=257,M=a,O-=257,256):(L=o,M=l,-1),x=A,b=u,F=T=R=0,m=-1,g=(D=1<<(I=E))-1,1===e&&852<D||2===e&&592<D)return 1;for(;;){for(C=x-F,y=d[T]<w?(S=0,d[T]):d[T]>w?(S=M[O+d[T]],L[_+d[T]]):(S=96,0),p=1<<x-F,A=h=1<<I;c[b+(R>>F)+(h-=p)]=C<<24|S<<16|y|0,0!==h;);for(p=1<<x-1;R&p;)p>>=1;if(0!==p?(R&=p-1,R+=p):R=0,T++,0==--N[x]){if(x===k)break;x=t[r+d[T]]}if(E<x&&(R&g)!==m){for(0===F&&(F=E),b+=A,P=1<<(I=x-F);I+F<k&&!((P-=N[I+F])<=0);)I++,P<<=1;if(D+=1<<I,1===e&&852<D||2===e&&592<D)return 1;c[m=R&g]=E<<24|I<<16|b-u|0}}return 0!==R&&(c[b+R]=x-F<<24|64<<16|0),f.bits=E,0}},{"../utils/common":41}],51:[function(e,t,r){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k,E,I,F,P,D=e("../utils/common"),R=0,L=1;function _(e){for(var t=e.length;0<=--t;)e[t]=0}i=0,n=29,a=256,o=a+1+n,l=30,s=19,c=2*o+1,u=15,d=16,f=7,p=256,h=16,m=17,g=18,b=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],w=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],y=Array(2*(o+2)),_(y),v=Array(2*l),_(v),x=Array(512),_(x),T=Array(256),_(T),A=Array(n),_(A),F=Array(l);function N(e,t,r,i,n){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=n,this.has_stree=e&&e.length}function B(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function M(e){return e<256?x[e]:x[256+(e>>>7)]}function O(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function G(e,t,r){e.bi_valid>d-r?(e.bi_buf|=t<<e.bi_valid&65535,O(e,e.bi_buf),e.bi_buf=t>>d-e.bi_valid,e.bi_valid+=r-d):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function H(e,t,r){G(e,r[2*t],r[2*t+1])}function U(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function J(e,t,r){var i,n,a,o=Array(u+1),l=0;for(i=1;i<=u;i++)o[i]=l=l+r[i-1]<<1;for(n=0;n<=t;n++)a=e[2*n+1],0!==a&&(e[2*n]=U(o[a]++,a))}function W(e){var t;for(t=0;t<o;t++)e.dyn_ltree[2*t]=0;for(t=0;t<l;t++)e.dyn_dtree[2*t]=0;for(t=0;t<s;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*p]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function V(e){8<e.bi_valid?O(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function z(e,t,r,i){var n=2*t,a=2*r;return e[n]<e[a]||e[n]===e[a]&&i[t]<=i[r]}function j(e,t,r){for(var i=e.heap[r],n=r<<1;n<=e.heap_len&&(n<e.heap_len&&z(t,e.heap[n+1],e.heap[n],e.depth)&&n++,!z(t,i,e.heap[n],e.depth));)e.heap[r]=e.heap[n],r=n,n<<=1;e.heap[r]=i}function X(e,t,r){var i,n,o,l,s=0;if(0!==e.last_lit)for(;i=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],n=e.pending_buf[e.l_buf+s],s++,0===i?H(e,n,t):(H(e,(o=T[n])+a+1,t),0!==(l=b[o])&&G(e,n-=A[o],l),H(e,o=M(--i),r),0!==(l=w[o])&&G(e,i-=F[o],l)),s<e.last_lit;);H(e,p,t)}function K(e,t){var r,i,n,a=t.dyn_tree,o=t.stat_desc.static_tree,l=t.stat_desc.has_stree,s=t.stat_desc.elems,d=-1;for(e.heap_len=0,e.heap_max=c,r=0;r<s;r++)0!==a[2*r]?(e.heap[++e.heap_len]=d=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(n=e.heap[++e.heap_len]=d<2?++d:0)]=1,e.depth[n]=0,e.opt_len--,l&&(e.static_len-=o[2*n+1]);for(t.max_code=d,r=e.heap_len>>1;1<=r;r--)j(e,a,r);for(n=s;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],j(e,a,1),i=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=i,a[2*n]=a[2*r]+a[2*i],e.depth[n]=(e.depth[r]>=e.depth[i]?e.depth[r]:e.depth[i])+1,a[2*r+1]=a[2*i+1]=n,e.heap[1]=n++,j(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,i,n,a,o,l,s=t.dyn_tree,d=t.max_code,f=t.stat_desc.static_tree,p=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,g=t.stat_desc.max_length,b=0;for(a=0;a<=u;a++)e.bl_count[a]=0;for(s[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<c;r++)g<(a=s[2*s[2*(i=e.heap[r])+1]+1]+1)&&(a=g,b++),s[2*i+1]=a,d<i||(e.bl_count[a]++,o=0,m<=i&&(o=h[i-m]),l=s[2*i],e.opt_len+=l*(a+o),p&&(e.static_len+=l*(f[2*i+1]+o)));if(0!==b){do{for(a=g-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[g]--,b-=2}while(0<b);for(a=g;0!==a;a--)for(i=e.bl_count[a];0!==i;)d<(n=e.heap[--r])||(s[2*n+1]!==a&&(e.opt_len+=(a-s[2*n+1])*s[2*n],s[2*n+1]=a),i--)}}(e,t),J(a,d,e.bl_count)}function q(e,t,r){var i,n,a=-1,o=t[1],l=0,s=7,c=4;for(0===o&&(s=138,c=3),t[2*(r+1)+1]=65535,i=0;i<=r;i++)n=o,o=t[2*(i+1)+1],++l<s&&n===o||(l<c?e.bl_tree[2*n]+=l:0!==n?(n!==a&&e.bl_tree[2*n]++,e.bl_tree[2*h]++):l<=10?e.bl_tree[2*m]++:e.bl_tree[2*g]++,a=n,c=(l=0)===o?(s=138,3):n===o?(s=6,3):(s=7,4))}function Y(e,t,r){var i,n,a=-1,o=t[1],l=0,s=7,c=4;for(0===o&&(s=138,c=3),i=0;i<=r;i++)if(n=o,o=t[2*(i+1)+1],!(++l<s&&n===o)){if(l<c)for(;H(e,n,e.bl_tree),0!=--l;);else 0!==n?(n!==a&&(H(e,n,e.bl_tree),l--),H(e,h,e.bl_tree),G(e,l-3,2)):l<=10?(H(e,m,e.bl_tree),G(e,l-3,3)):(H(e,g,e.bl_tree),G(e,l-11,7));a=n,c=(l=0)===o?(s=138,3):n===o?(s=6,3):(s=7,4)}}_(F),P=!1;function Q(e,t,r,n){G(e,(i<<1)+(n?1:0),3),function(e,t,r,i){V(e),i&&(O(e,r),O(e,~r)),D.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}r.ll=function(e){P||(function(){var e,t,r,i,c,d=Array(u+1);for(i=r=0;i<n-1;i++)for(A[i]=r,e=0;e<1<<b[i];e++)T[r++]=i;for(T[r-1]=i,i=c=0;i<16;i++)for(F[i]=c,e=0;e<1<<w[i];e++)x[c++]=i;for(c>>=7;i<l;i++)for(F[i]=c<<7,e=0;e<1<<w[i]-7;e++)x[256+c++]=i;for(t=0;t<=u;t++)d[t]=0;for(e=0;e<=143;)y[2*e+1]=8,e++,d[8]++;for(;e<=255;)y[2*e+1]=9,e++,d[9]++;for(;e<=279;)y[2*e+1]=7,e++,d[7]++;for(;e<=287;)y[2*e+1]=8,e++,d[8]++;for(J(y,o+1,d),e=0;e<l;e++)v[2*e+1]=5,v[2*e]=U(e,5);k=new N(y,b,a+1,o,u),E=new N(v,w,0,l,u),I=new N(Array(0),C,0,s,f)}(),P=!0),e.l_desc=new B(e.dyn_ltree,k),e.d_desc=new B(e.dyn_dtree,E),e.bl_desc=new B(e.bl_tree,I),e.bi_buf=0,e.bi_valid=0,W(e)},r.nl=Q,r.jl=function(e,t,r,i){var n,o,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return R;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return L;for(t=32;t<a;t++)if(0!==e.dyn_ltree[2*t])return L;return R}(e)),K(e,e.l_desc),K(e,e.d_desc),l=function(e){var t;for(q(e,e.dyn_ltree,e.l_desc.max_code),q(e,e.dyn_dtree,e.d_desc.max_code),K(e,e.bl_desc),t=s-1;3<=t&&0===e.bl_tree[2*S[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),n=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=n&&(n=o)):n=o=r+5,r+4<=n&&-1!==t?Q(e,t,r,i):4===e.strategy||o===n?(G(e,2+(i?1:0),3),X(e,y,v)):(G(e,4+(i?1:0),3),function(e,t,r,i){var n;for(G(e,t-257,5),G(e,r-1,5),G(e,i-4,4),n=0;n<i;n++)G(e,e.bl_tree[2*S[n]+1],3);Y(e,e.dyn_ltree,t-1),Y(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),X(e,e.dyn_ltree,e.dyn_dtree)),W(e),i&&V(e)},r.kl=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(T[r]+a+1)]++,e.dyn_dtree[2*M(t)]++),e.last_lit===e.lit_bufsize-1},r.ml=function(e){G(e,2,3),H(e,p,y),function(e){16===e.bi_valid?(O(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,r,i){"use strict";r.exports="function"==typeof t?t:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)})}).call(this,r("./node_modules/timers-browserify/main.js").setImmediate)},"./src/xlsx-io/common/chart-helper.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/datamodel/chart-model.ts"),n=i.Charts.ST_SystemColorVal,a=i.Charts.ST_SchemeColorVal,o=i.Charts.ST_SplitType,l=i.Charts.ST_MarkerStyle,s=i.Charts.ST_SeriesLayout;function u(e,t,r){return e===t&&(e=r),e}c=function(){function e(){}return e.ToKnownColor=function(e){var t=null;switch(e){case n.scrollBar:t=23;break;case n.activeCaption:t=2;break;case n.inactiveCaption:t=17;break;case n.menu:t=21;break;case n.window:t=24;break;case n.windowFrame:t=25;break;case n.menuText:t=22;break;case n.windowText:t=26;break;case n.activeBorder:t=1;break;case n.inactiveBorder:t=16;break;case n.appWorkspace:t=4;break;case n.highlight:t=13;break;case n.highlightText:t=14;break;case n.btnFace:t=168;break;case n.btnShadow:t=170;break;case n.grayText:t=12;break;case n.inactiveCaptionText:t=18;break;case n.btnHighlight:t=169;break;case n.infoText:t=20;break;case n.infoBk:t=19;break;case n.gradientActiveCaption:t=171;break;case n.gradientInactiveCaption:t=172;break;case n.menuHighlight:t=174;break;case n.menuBar:t=173}return t},e.ToST_SystemColorVal=function(e){
26
+ var t=null;switch(e){case 1:t=n.activeBorder;break;case 2:t=n.activeCaption;break;case 168:t=n.btnFace;break;case 169:t=n.btnHighlight;break;case 170:t=n.btnShadow;break;case 171:t=n.gradientActiveCaption;break;case 172:t=n.gradientInactiveCaption;break;case 12:t=n.grayText;break;case 13:t=n.highlight;break;case 14:t=n.highlightText;break;case 16:t=n.inactiveBorder;break;case 17:t=n.inactiveCaption;break;case 18:t=n.inactiveCaptionText;break;case 20:t=n.infoText;break;case 21:t=n.menu;break;case 173:t=n.menuBar;break;case 174:t=n.menuHighlight;break;case 22:t=n.menuText;break;case 24:t=n.window;break;case 25:t=n.windowFrame;break;case 26:t=n.windowText}return t},e.ToST_SchemeColorVal=function(e){var t=a.accent1;switch(e){case 4:t=a.accent1;break;case 5:t=a.accent2;break;case 6:t=a.accent3;break;case 7:t=a.accent4;break;case 8:t=a.accent5;break;case 9:t=a.accent6;break;case 0:t=a.bg1;break;case 2:t=a.bg2;break;case 11:t=a.folHlink;break;case 10:t=a.hlink;break;case 12:t=a.phClr;break;case 13:t=a.dk1;break;case 14:t=a.lt1;break;case 15:t=a.dk2;break;case 16:t=a.lt2;break;case 1:t=a.tx1;break;case 3:t=a.tx2}return t},e.ToColorSchemeIndex=function(e){var t=4;switch(e){case a.bg1:t=0;break;case a.tx1:t=1;break;case a.bg2:t=2;break;case a.tx2:t=3;break;case a.accent2:t=5;break;case a.accent3:t=6;break;case a.accent4:t=7;break;case a.accent5:t=8;break;case a.accent6:t=9;break;case a.hlink:t=10;break;case a.folHlink:t=11;break;case a.phClr:t=12;break;case a.dk1:t=13;break;case a.lt1:t=14;break;case a.dk2:t=15;break;case a.lt2:t=16}return t},e.ToST_PresetLineDashVal=function(e){return u(e,11,1)},e.ToPatternType=function(e){var t,r=0;return"number"==typeof e&&(t={0:1,1:2,2:3,3:4,4:5,5:6,6:7,7:8,8:9,9:10,10:11,11:12,16:13,17:14,27:15,28:16,34:17,52:18,14:19,15:20,25:21,26:22,36:23,45:24,29:25,30:26,32:27,31:28,19:29,18:30,21:31,20:32,40:33,37:34,41:35,35:36,39:37,53:38,43:39,42:40,44:41,46:42,47:43,48:44,38:45,49:46,50:47,51:48,12:49,13:50,22:51,23:52,24:53,33:54},"number"==typeof t[e]&&(r=t[e])),r},e.ToST_PresetPatternVal=function(e){var t,r=0;return"number"==typeof e&&(t={1:0,2:1,3:2,4:3,5:4,6:5,7:6,8:7,9:8,10:9,11:10,12:11,13:16,14:17,15:27,16:28,17:34,18:52,19:14,20:15,21:25,22:26,23:36,24:45,25:29,26:30,27:32,28:31,29:19,30:18,31:21,32:20,33:40,34:37,35:41,36:35,37:39,38:53,39:43,40:42,41:44,42:46,43:47,44:48,45:38,46:49,47:50,48:51,49:12,50:13,51:22,52:23,53:24,54:33},"number"==typeof t[e]&&(r=t[e])),r},e.ToST_PresetShadowVal=function(e){return e>19?0:e},e.ToST_SplitType=function(e){var t=o.pos;switch(e){case 0:t=o.pos;break;case 1:t=o.val;break;case 2:t=o.percent;break;case 3:t=o.cust}return t},e.ToChartSplitType=function(e){var t=0;switch(e){case o.cust:t=3;break;case o.percent:t=2;break;case o.val:t=1}return t},e.ToST_LightRigDirection=function(e){var t=1;switch(e){case 1:t=4;break;case 2:t=6;break;case 5:t=6;break;case 7:t=3;break;case 8:t=6}return t},e.ToST_MarkerStyle=function(e){return 11===e&&(e=l.circle),e},e.ToST_LegendPos=function(e){var t=0;switch(e){case 0:break;case 1:t=4;break;case 2:t=3;break;case 3:t=2;break;case 5:t=1}return t},e.ToLegendPosition=function(e){var t=4;switch(e){case 1:t=5;break;case 2:t=3;break;case 3:t=2;break;case 4:t=1}return t},e.ToST_PresetCameraType=function(e){return u(e,62,0)},e.ToST_BuiltInUnit=function(e){return e>8&&(e=0),e},e.ToST_Crosses=function(e){var t=0;switch(e){case 2:t=1;break;case 3:t=2}return t},e.ToAxisCrosses=function(e){var t=1;switch(e){case 1:t=2;break;case 2:t=3}return t},e.ToCT_ChartType=function(e){var t=16;switch(e){case s.funnel:t=17;break;case s.paretoLine:t=18;break;case s.regionMap:t=19;break;case s.sunburst:t=20;break;case s.treemap:t=21;break;case s.waterfall:t=22;break;case s.clusteredColumn:t=23}return t},e.ToST_SeriesLayout=function(e){var t=0;switch(e){case 16:t=s.boxWhisker;break;case 17:t=s.funnel;break;case 18:t=s.paretoLine;break;case 19:t=s.regionMap;break;case 20:t=s.sunburst;break;case 21:t=s.treemap;break;case 22:t=s.waterfall;break;case 23:t=s.clusteredColumn}return t},e}(),t.ChartHelper=c},"./src/xlsx-io/common/color-reader.ts":function(e,t,r){"use strict";var i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/datamodel/excel-style.ts"),n=r("./src/common/common.ts"),a=r("./src/xml-io/xml-reader.ts");function o(e){var t,r,o=i.ExcelColor.EmptyColor,l=!1,s=-1,c=0,u="",d=-1;if(e&&e instanceof a.XmlReader)for(t=e;t.moveToNextAttribute();)switch(t.readAttributeNameAsString()){case"auto":l=t.readContentAsBoolean(!1);break;case"theme":s=t.readContentAsInt(-1);break;case"tint":c=t.readContentAsDouble(0);break;case"rgb":u=t.readContentAsString();break;case"indexed":d=t.readContentAsInt(-1)}else e&&(l=!!e._attr.auto,e._attr.theme&&(s=parseInt(e._attr.theme,10)),e._attr.tint&&(c=parseFloat(e._attr.tint)),u=e._attr.rgb||"",e._attr.indexed&&(d=parseInt(e._attr.indexed,10)));return l?(o.isAutoColor(!0),o):s!==-1?o=new i.ExcelColor(3,s,c):n.StringEx.L(u)?d>=0?o=new i.ExcelColor(1,d,0):o:(r=parseInt(u,16),o=new i.ExcelColor(2,r,c))}t.readColor=o},"./src/xlsx-io/common/color-writer.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/datamodel/excel-style.ts");function n(e,t,r){void 0!==r&&e.writeLeafElement(t,function(){if(null===r||r.isAutoColor())return void e.writeAttributeString("auto","1");if(r.isIndexedColor())e.writeAttributeString("indexed",""+r.value());else if(r.isThemeColor())e.writeAttributeString("theme",""+r.value()),0!==r.tint()&&e.writeAttributeString("tint",""+r.tint());else if(r.isRGBColor()){var t=r.value().toString(16);e.writeAttributeString("rgb",t.toUpperCase()),0!==r.tint()&&e.writeAttributeString("tint",""+r.tint())}})}t.writeColor=n;function a(e,t,r){r&&e.writeElement(t,void 0,function(){if("a:dk1"===t)4278190080===r.value()?e.writeLeafElement("a:sysClr",function(){e.writeAttributeString("val","windowText"),e.writeAttributeString("lastClr","000000")}):e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",r.value().toString(16).substring(2))});else if("a:lt1"===t)4294967295===r.value()?e.writeLeafElement("a:sysClr",function(){e.writeAttributeString("val","window"),e.writeAttributeString("lastClr","FFFFFF")}):e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",r.value().toString(16).substring(2))});else if(2===r.colorType())e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",r.value().toString(16).substring(2))});else if(3===r.colorType())e.writeLeafElement("a:schemeClr",function(){e.writeAttributeString("val",i.ConverterHelper.toSchemeClrValue(r.value()))});else if(1===r.colorType()){var n=i.ColorHelper.toExcelIndexedColor(r);e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",n&&n.value?n.value().toString(16):"0")})}})}t.writeColorScheme=a},"./src/xlsx-io/common/errorMessage.ts":function(e,t,r){"use strict";var i,n;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n={en:{EXP_IO:"File read and write exception.",EXP_FILE_FORMAT:"Incorrect file format.",EXP_NO_PASSWORD:"The Excel file cannot be opened because the workbook/worksheet is password protected.",EXP_INVALID_PASSWORD:"The specified password is incorrect."},ja:{EXP_IO:"\u30d5\u30a1\u30a4\u30ebIO\u306b\u95a2\u3059\u308b\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002",EXP_FILE_FORMAT:"\u30d5\u30a1\u30a4\u30eb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u8aa4\u308a\u304c\u3042\u308a\u307e\u3059\u3002",EXP_NO_PASSWORD:"\u30ef\u30fc\u30af\u30d6\u30c3\u30af/\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u4fdd\u8b77\u3055\u308c\u3066\u3044\u307e\u3059\u3002Excel\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002",EXP_INVALID_PASSWORD:"\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u4e0d\u6b63\u3067\u3059\u3002"},zh:{EXP_IO:"\u6587\u4ef6\u8bfb\u5199\u5f02\u5e38",EXP_FILE_FORMAT:"\u6587\u4ef6\u683c\u5f0f\u9519\u8bef",EXP_NO_PASSWORD:"Excel\u6587\u4ef6\u53d7\u5bc6\u7801\u4fdd\u62a4\uff0c\u65e0\u6cd5\u88ab\u6253\u5f00",EXP_INVALID_PASSWORD:"\u5bc6\u7801\u9519\u8bef"}};function a(){var e=i.Fa()||"en",t=n[e.split("-")[0]];return t?t:n.en}t.sR=a},"./src/xlsx-io/common/errorcode.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorCode={fileIOError:0,fileFormatError:1,noPassword:2,invalidPassword:3}},"./src/xlsx-io/common/file-loader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xlsx-io/password/compoundFile.ts"),n=r("./src/xlsx-io/password/xlsxEncryptionHelper.ts"),a=r("./src/xlsx-io/common/errorcode.ts"),o=r("./src/xlsx-io/common/errorMessage.ts"),l=r("./src/lib/jszip.min.js"),s=void 0,c="undefined",u=function(){function e(e){var t=this;if(e===s?t.loadType=1:t.loadType=e,typeof FileReader===c)throw Error("The browser doesn't support FileReader!");t.fileReader=new FileReader,t.passwordFileReader=new FileReader,t.compoundFile=new i.CompoundFile}return e.prototype.loadFile=function(e,t){var r=this,i=r.fileReader;return e instanceof ArrayBuffer?void r.fileLoad(e,t):void(e&&i&&(i.onload=function(e){r.fileLoad(e.target.result,t)},i.onerror=function(){r.ol()},1===r.loadType?i.readAsArrayBuffer?i.readAsArrayBuffer(e):r.loadType=0:i.readAsDataURL&&i.readAsDataURL(e)))},e.prototype.ol=function(){this.onError({errorCode:a.errorCode.fileIOError,errorMessage:o.sR().EXP_IO})},e.prototype.pl=function(){this.onError({errorCode:a.errorCode.fileFormatError,errorMessage:o.sR().EXP_FILE_FORMAT})},e.prototype.ql=function(){this.onError({errorCode:a.errorCode.noPassword,errorMessage:o.sR().EXP_NO_PASSWORD})},e.prototype.rl=function(){this.onError({errorCode:a.errorCode.invalidPassword,errorMessage:o.sR().EXP_INVALID_PASSWORD})},e.prototype.fileLoad=function(e,t){var r,i,a,o,c=this;if(t&&t.password)try{if(e=n.XlsxEncryptionHelper.sl(e,t.password),!e)return void c.rl()}catch(e){return void c.rl()}else if(n.XlsxEncryptionHelper.ul(e))return void c.ql();switch(r=new l,c.loadType){case 1:r.loadAsync(e).then(u).catch(function(){c.pl()});break;case 0:default:i="base64,",a=e.indexOf(i),a!==-1&&(o=e.substring(a+i.length),r.loadAsync(o,{base64:!0}).then(u).catch(function(){c.pl()}))}function u(){var e,t,i,n=r.files,a={};for(e in n)n[e]&&(t=void 0,i=e.substring(e.lastIndexOf(".")),t=".xml"===i||".rels"===i?"text":e.indexOf("/media/")===-1?"binarystring":"base64",n[e].async(t).then(function(e){return function(t){a[e.toLowerCase()]=t;for(var r in n)if(a[r.toLowerCase()]===s)return;c.onFileLoad(a)}}(e)).catch(function(){c.pl()}))}},e}(),t.FileLoader=u},"./src/xlsx-io/password/aes.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k;Object.defineProperty(t,"__esModule",{value:!0}),i=null,n=null,a="AES must be instanitated with `new`",o=function(e){var t,r=[];if("number"==typeof e){for(t=0;t<e;t++)r.push(0);return r}for(t=0;t<e.length;t++)if(e[t]<0||e[t]>=256||"number"!=typeof e[t])throw Error("invalid byte ("+e[t]+":"+t+")");if(e.slice)return e.slice(0);for(t=0;t<e.length;t++)r.push(e[t]);return r},i=o,n=function(e,t,r,i,n){null===r&&(r=0),null===i&&(i=0),null===n&&(n=e.length);for(var a=i;a<n;a++)t[r]=e[a],r++},l={16:10,24:12,32:14},s=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],c=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],u=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],d=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],f=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],p=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],h=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],m=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],g=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],b=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],
27
+ w=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],C=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],S=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],y=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],v=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function E(e){var t,r=[];for(t=0;t<e.length;t+=4)r.push(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]);return r}x=function(e){if(!(this instanceof x))throw Error(a);this.key=i(e),this.vl()},x.prototype.vl=function(){var e,t,r,i,n,a,o,u,d,f,p=l[this.key.length];if(null===p)throw Error("invalid key size (must be 16, 24 or 32 bytes)");for(this.wl=[],this.xl=[],e=0;e<=p;e++)this.wl.push([0,0,0,0]),this.xl.push([0,0,0,0]);for(t=4*(p+1),r=this.key.length/4,i=E(this.key),e=0;e<r;e++)n=e>>2,this.wl[n][e%4]=i[e],this.xl[p-n][e%4]=i[e];for(a=0,o=r;o<t;){if(u=i[r-1],i[0]^=c[u>>16&255]<<24^c[u>>8&255]<<16^c[255&u]<<8^c[u>>24&255]^s[a]<<24,a+=1,8!==r)for(e=1;e<r;e++)i[e]^=i[e-1];else{for(e=1;e<r/2;e++)i[e]^=i[e-1];for(u=i[r/2-1],i[r/2]^=c[255&u]^c[u>>8&255]<<8^c[u>>16&255]<<16^c[u>>24&255]<<24,e=r/2+1;e<r;e++)i[e]^=i[e-1]}for(e=0,d=void 0,f=void 0;e<r&&o<t;)d=o>>2,f=o%4,this.wl[d][f]=i[e],this.xl[p-d][f]=i[e],e++,o++}for(d=1;d<p;d++)for(f=0;f<4;f++)u=this.xl[d][f],this.xl[d][f]=C[u>>24&255]^S[u>>16&255]^y[u>>8&255]^v[255&u]},x.prototype.encrypt=function(e){var t,r,n,a,o,l,s;if(16!==e.length)throw Error("invalid plaintext size (must be 16 bytes)");for(t=this.wl.length-1,r=[0,0,0,0],n=E(e),a=0;a<4;a++)n[a]^=this.wl[0][a];for(o=1;o<t;o++){for(a=0;a<4;a++)r[a]=d[n[a]>>24&255]^f[n[(a+1)%4]>>16&255]^p[n[(a+2)%4]>>8&255]^h[255&n[(a+3)%4]]^this.wl[o][a];n=r.slice(0)}for(l=i(16),a=0;a<4;a++)s=this.wl[t][a],l[4*a]=255&(c[n[a]>>24&255]^s>>24),l[4*a+1]=255&(c[n[(a+1)%4]>>16&255]^s>>16),l[4*a+2]=255&(c[n[(a+2)%4]>>8&255]^s>>8),l[4*a+3]=255&(c[255&n[(a+3)%4]]^s);return l},x.prototype.decrypt=function(e){var t,r,n,a,o,l,s;if(16!==e.length)throw Error("invalid ciphertext size (must be 16 bytes)");for(t=this.xl.length-1,r=[0,0,0,0],n=E(e),a=0;a<4;a++)n[a]^=this.xl[0][a];for(o=1;o<t;o++){for(a=0;a<4;a++)r[a]=m[n[a]>>24&255]^g[n[(a+3)%4]>>16&255]^b[n[(a+2)%4]>>8&255]^w[255&n[(a+1)%4]]^this.xl[o][a];n=r.slice(0)}for(l=i(16),a=0;a<4;a++)s=this.xl[t][a],l[4*a]=255&(u[n[a]>>24&255]^s>>24),l[4*a+1]=255&(u[n[(a+3)%4]>>16&255]^s>>16),l[4*a+2]=255&(u[n[(a+2)%4]>>8&255]^s>>8),l[4*a+3]=255&(u[255&n[(a+1)%4]]^s);return l},T=function(e){if(!(this instanceof T))throw Error(a);this.description="Electronic Code Block",this.name="ecb",this.yl=new x(e)},T.prototype.encrypt=function(e){var t,r,a;if(e.length%16!==0)throw Error("invalid plaintext size (must be multiple of 16 bytes)");for(t=i(e.length),r=i(16),a=0;a<e.length;a+=16)n(e,r,0,a,a+16),r=this.yl.encrypt(r),n(r,t,a,0,16);return t},T.prototype.decrypt=function(e){var t,r,a;if(e.length%16!==0)throw Error("invalid ciphertext size (must be multiple of 16 bytes)");for(t=i(e.length),r=i(16),a=0;a<e.length;a+=16)n(e,r,0,a,a+16),r=this.yl.decrypt(r),n(r,t,a,0,16);return t},A=function(e,t){if(!(this instanceof A))throw Error(a);if(this.description="Cipher Block Chaining",this.name="cbc",t){if(16!==t.length)throw Error("invalid initialation vector size (must be 16 bytes)")}else t=i([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);this.zl=i(t),this.yl=new x(e)},A.prototype.encrypt=function(e){var t,r,a,o;if(e.length%16!==0)throw Error("invalid plaintext size (must be multiple of 16 bytes)");for(t=i(e.length),r=i(16),a=0;a<e.length;a+=16){for(n(e,r,0,a,a+16),o=0;o<16;o++)r[o]^=this.zl[o];this.zl=this.yl.encrypt(r),n(this.zl,t,a,0,16)}return t},A.prototype.decrypt=function(e){var t,r,a,o;if(e.length%16!==0)throw Error("invalid ciphertext size (must be multiple of 16 bytes)");for(t=i(e.length),r=i(16),a=0;a<e.length;a+=16){for(n(e,r,0,a,a+16),r=this.yl.decrypt(r),o=0;o<16;o++)t[a+o]=r[o]^this.zl[o];n(e,this.zl,0,a,a+16)}return t},k={ecb:T,cbc:A},t.aesJS={AES:x,ModeOfOperation:k,util:{Al:o}}},"./src/xlsx-io/password/aesEngine.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-parser.ts"),a=r("./src/xlsx-io/password/aes.ts"),o=r("./src/xml-io/node-helper.ts"),l=r("./src/xlsx-io/password/sha512.js"),s=r("./src/xlsx-io/password/sha1.js"),c=o.XmlNodeHelper.He,u={Begin:0,Current:1,End:2};function p(e){var t,r=i.K(),n=r&&r.atob&&r.atob(e),a=n?n.length:0,o=new Uint8Array(a);for(t=0;t<a;t++)o[t]=n.charCodeAt(t);return o}function h(e,t,r,i,n){var a,o=i;for(a=t;a<t+n;a++)r[o]=e[a],o++}function m(e){var t,r,i=[];for(t=0;t<e.length;++t)r=e.charCodeAt(t),i=i.concat([255&r,parseInt(r/256,10)>>>0]);return i}function g(e,t){var r=[];do e--,r[e]=255&t,t>>=8;while(e);return r.reverse()}function b(e){var t,r,i=[];for(r=0;r<e.length;++r)t=e.charCodeAt(r),i.push(255&t),i.push((65280&t)>>8);return i}function w(e,t,r){var i,n,a=l;for("SHA1"===r&&(a=s),i=[],n=0;n<e.length;n++)i.push(e[n]);return a.hash(i.concat(t))}function C(e,t,r){r===u.Begin?e.Bl=t:r===u.Current?e.Bl+=t:r===u.End&&(e.Bl=e.length+t)}function S(e){var t=function(t){var r=0;return i.BufferHelper.ia(e,e.Bl,e.Bl+t).reverse().forEach(function(e){r=256*r+e}),e.Bl+=t,r},r=function(t){var r=0;return i.BufferHelper.ia(e,e.Bl,e.Bl+t).reverse().forEach(function(e){r=(r<<8)+e}),e.Bl+=t,r},n=function(t){var r=i.BufferHelper.ia(e,e.Bl,e.Bl+t);return e.Bl+=t,r};return{readUInt64:function(){return t(8)},readInt64:function(){return r(8)},readInt32:function(){return r(4)},readUInt32:function(){return t(4)},readInt16:function(){return r(2)},readUInt16:function(){return r(2)},readByte:function(){return n(1)},readBytes:function(e){return n(e)},readChars:function(e){var t=n(e),r=[];return t.forEach(function(e){r.push(String.fromCharCode(e))}),r},seek:function(t,r){C(e,t,r)}}}function y(e){var t=function(t,r){var i,n=g(t,r),a=e.Bl;for(i=0;i<n.length;i++)e[i+a]=n[i];e.Bl=a+t};return{writeBytes:function(t){var r,i=e.Bl;for(r=0;r<t.length;r++)e[r+i]=t[r];e.Bl=i+t.length},writeByte:function(e){this.writeBytes([e])},writeUshort:function(e){t(2,e)},writeShort:function(e){t(2,e)},writeInt:function(e){t(4,e)},writeUint:function(e){t(4,e)},writeLong:function(e){t(8,e)},seek:function(t,r){C(e,t,r)},getView:function(){return e}}}function v(e,t,r){var i,n,a=[];for(i=0;i<e;i++)for(a[i]=a[i]||[],n=0;n<t;n++)r?a[i][n]=r:a[i][n]=0;return a}function x(){return[[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118],[202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192],[183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21],[4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117],[9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132],[83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207],[208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168],[81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210],[205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115],[96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219],[224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121],[231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8],[186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138],[112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158],[225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223],[140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]]}function T(){return[[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251],[124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203],[84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78],[8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37],[114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146],[108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132],[144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6],[208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107],[58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115],[150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110],[71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27],[252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244],[31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95],[96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239],[160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97],[23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]]}function A(){return[[0,0,0,0],[1,0,0,0],[2,0,0,0],[4,0,0,0],[8,0,0,0],[16,0,0,0],[32,0,0,0],[64,0,0,0],[128,0,0,0],[27,0,0,0],[54,0,0,0]]}function k(e,t,r,i,n,a){var o,l,s,c=v(e*(t+1),4,0);for(o=0;o<r;++o)c[o][0]=i[4*o],c[o][1]=i[4*o+1],c[o][2]=i[4*o+2],c[o][3]=i[4*o+3];for(l=[],o=r;o<e*(t+1);++o)l[0]=c[o-1][0],l[1]=c[o-1][1],l[2]=c[o-1][2],l[3]=c[o-1][3],o%r===0?(l=E(I(l),a),s=n[parseInt(o/r,10)],l[0]=(l[0]^s[0])%256,l[1]=(l[1]^s[1])%256,l[2]=(l[2]^s[2])%256,l[3]=(l[3]^s[3])%256):r>6&&o%r===4&&(l=E(l)),c[o][0]=(c[o-r][0]^l[0])%256,c[o][1]=(c[o-r][1]^l[1])%256,c[o][2]=(c[o-r][2]^l[2])%256,c[o][3]=(c[o-r][3]^l[3])%256;return c}function E(e,t){var r=[];return r[0]=t[e[0]>>4][15&e[0]],r[1]=t[e[1]>>4][15&e[1]],r[2]=t[e[2]>>4][15&e[2]],r[3]=t[e[3]>>4][15&e[3]],r}function I(e){var t=[];return t[0]=e[1],t[1]=e[2],t[2]=e[3],t[3]=e[0],t}function F(e){return e}function P(e){return e<128?(e<<1)%256:(e<<1^27)%256}function D(e){return(P(e)^e)%256}function R(e){return(P(P(P(e)))^e)%256}function L(e){return(P(P(P(e)))^P(e)^e)%256}function _(e){return(P(P(P(e)))^P(P(e))^e)%256}function N(e){return(P(P(P(e)))^P(P(e))^P(e))%256}function B(e){var t,r,i=[];for(t=0;t<128;t++)i[t]=0;return i.Bl=0,r=y(i),r.writeBytes(m("Root Entry")),r.seek(64,u.Begin),r.writeShort(22),r.writeByte(5),r.writeByte(0),r.writeInt(-1),r.writeInt(-1),r.writeInt(1),r.seek(100,u.Begin),r.writeInt(0),r.writeInt(0),r.writeInt(0),r.writeInt(0),r.writeInt(e),r.writeInt(832),r.getView()}function M(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=y(r),t.writeBytes(m("EncryptionInfo")),t.seek(64,u.Begin),t.writeShort(30),t.writeByte(2),t.writeByte(1),t.writeInt(3),t.writeInt(2),t.writeInt(-1),t.seek(100,u.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(248),t.getView()}function O(e,t){var r,i,n=[];for(r=0;r<128;r++)n[r]=0;return n.Bl=0,i=y(n),i.writeBytes(m("EncryptedPackage")),i.seek(64,u.Begin),i.writeShort(34),i.writeByte(2),i.writeByte(0),i.writeInt(-1),i.writeInt(-1),i.writeInt(-1),i.seek(100,u.Begin),i.writeInt(0),i.writeInt(0),i.writeInt(0),i.writeInt(0),i.writeInt(e),i.writeInt(t),i.getView()}function G(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=y(r),t.writeShort(6),t.writeBytes(m("DataSpaces")),t.seek(64,u.Begin),t.writeShort(24),t.writeByte(1),t.writeByte(0),t.writeInt(-1),t.writeInt(-1),t.writeInt(5),t.seek(100,u.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.getView()}function H(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=y(r),t.writeBytes(m("Version")),t.seek(64,u.Begin),t.writeShort(16),t.writeByte(2),t.writeByte(1),t.writeInt(-1),t.writeInt(-1),t.writeInt(-1),t.seek(100,u.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(4),t.writeInt(76),t.getView()}function U(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=y(r),t.writeBytes(m("DataSpaceMap")),t.seek(64,u.Begin),t.writeShort(26),t.writeByte(2),t.writeByte(1),t.writeInt(4),t.writeInt(6),t.writeInt(-1),t.seek(100,u.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(6),t.writeInt(112),t.getView()}function J(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=y(r),t.writeBytes(m("DataSpaceInfo")),t.seek(64,u.Begin),t.writeShort(28),t.writeByte(1),t.writeByte(1),t.writeInt(-1),t.writeInt(8),t.writeInt(7),t.seek(100,u.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.getView()}function W(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=y(r),t.writeBytes(m("StrongEncryptionDataSpace")),t.seek(64,u.Begin),t.writeShort(52),t.writeByte(2),t.writeByte(1),t.writeInt(-1),t.writeInt(-1),t.writeInt(-1),t.seek(100,u.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(8),t.writeInt(64),t.getView()}function V(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=y(r),t.writeBytes(m("TransformInfo")),t.seek(64,u.Begin),t.writeShort(28),t.writeByte(1),t.writeByte(0),t.writeInt(-1),t.writeInt(-1),t.writeInt(9),t.seek(100,u.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.getView()}function z(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=y(r),t.writeBytes(m("StrongEncryptionTransform")),t.seek(64,u.Begin),t.writeShort(52),t.writeByte(1),t.writeByte(1),t.writeInt(-1),t.writeInt(-1),t.writeInt(10),t.seek(100,u.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.getView()}function j(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=y(r),t.writeShort(6),t.writeBytes(m("Primary")),t.seek(64,u.Begin),t.writeShort(18),t.writeByte(2),t.writeByte(1),t.writeInt(-1),t.writeInt(-1),t.writeInt(-1),t.seek(100,u.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(9),t.writeInt(208),t.getView()}function X(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=y(r),t.seek(64,u.Begin),t.writeShort(0),t.writeShort(0),t.writeInt(-1),t.writeInt(-1),t.writeInt(-1),t.getView()}function K(e,t,r){var i,n,a,o,l,s,c,u,d,f,p,h,m,g=[];return g.Bl=0,i=y(g),r<0&&(r=0),n=B(t),i.writeBytes(n),a=M(),i.writeBytes(a),o=O(e,r),i.writeBytes(o),l=G(),i.writeBytes(l),s=H(),i.writeBytes(s),c=U(),i.writeBytes(c),u=J(),i.writeBytes(u),d=W(),i.writeBytes(d),f=V(),i.writeBytes(f),p=z(),i.writeBytes(p),h=j(),i.writeBytes(h),m=X(),i.writeBytes(m),i.getView()}function q(){var e,t=[];return t.Bl=0,e=y(t),e.writeInt(60),e.writeBytes(m("Microsoft.Container.DataSpaces")),e.writeInt(1),e.writeInt(1),e.writeInt(1),e.getView()}function Y(){var e,t=[];return t.Bl=0,e=y(t),e.writeUint(8),e.writeUint(1),e.writeUint(104),e.writeUint(1),e.writeUint(0),e.writeUint(32),e.writeBytes(m("EncryptedPackage")),e.writeUint(50),e.writeBytes(m("StrongEncryptionDataSpace")),e.writeShort(0),e.getView()}function Q(){var e,t=[];return t.Bl=0,e=y(t),e.writeUint(8),e.writeUint(1),e.writeUint(50),e.writeBytes(m("StrongEncryptionTransform")),e.writeShort(0),e.getView()}function Z(){var e,t=[];return t.Bl=0,e=y(t),e.writeUint(108),e.writeUint(1),e.writeInt(76),e.writeBytes(m("{FF9A3F03-56EF-4613-BDD5-5A41C1D07246}")),e.writeInt(78),e.writeBytes(m("Microsoft.Container.EncryptionTransform")),e.writeShort(0),e.writeInt(1),e.writeInt(1),e.writeInt(1),e.writeInt(7),e.writeBytes(m("AES128")),e.writeByte(0),e.writeInt(16),e.writeInt(0),e.writeInt(4),e.getView()}function $(e,t){var r,i,n,a,o,l,s,c,d,f,p,m,g,b,w,C,S=[];for(S.Bl=0,r=y(S),i=0,n=Array(256),null!==e&&h(e,0,n,0,e.length),r.writeBytes(n),a=parseInt(n.length/64,10),n.length%64>0&&a++,o=1;o<a;o++)t.push(o);for(t.push(-2),i+=a,l=Array(128),s=q(),h(s,0,l,0,s.length),r.writeBytes(l),c=parseInt(l.length/64,10),l.length%64>0&&c++,o=1;o<c;o++)t.push(o+i);for(t.push(-2),i+=c,d=Array(128),f=Y(),h(f,0,d,0,f.length),r.writeBytes(d),p=parseInt(d.length/64,10),d.length%64>0&&p++,o=1;o<p;o++)t.push(o+i);for(t.push(-2),i+=p,m=Q(),r.writeBytes(m),g=parseInt(m.length/64,10),m.length%64>0&&g++,o=1;o<g;o++)t.push(o+i);for(t.push(-2),i+=g,b=Array(448),w=Z(),h(w,0,b,0,w.length),r.writeBytes(b),C=parseInt(w.length/64,10),w.length%64>0&&C++,o=1;o<C;o++)t.push(o+i);if(t.push(-2),t.length<128)for(o=t.length;o<128;o++)t.push(-1);return r.seek(0,u.Begin),r.getView()}function ee(e,t,r){var i,n;for(i=0;i<4;++i)for(n=0;n<4;++n)t[i][n]=(t[i][n]^r[4*e+n][i])%256;return t}function te(e,t){var r,i,n=v(4,4,0);for(r=0;r<4;++r)for(i=0;i<4;++i)n[r][i]=e[r][i];for(r=1;r<4;++r)for(i=0;i<4;++i)e[r][i]=n[r][(i+r)%t];return e}function re(e){var t,r,i=v(4,4,0);for(t=0;t<4;++t)for(r=0;r<4;++r)i[t][r]=e[t][r];for(r=0;r<4;++r)e[0][r]=(P(i[0][r])^D(i[1][r])^F(i[2][r])^F(i[3][r]))%256,e[1][r]=(F(i[0][r])^P(i[1][r])^D(i[2][r])^F(i[3][r]))%256,e[2][r]=(F(i[0][r])^F(i[1][r])^P(i[2][r])^D(i[3][r]))%256,e[3][r]=(D(i[0][r])^F(i[1][r])^F(i[2][r])^P(i[3][r]))%256;return e}function ie(e,t){var r,i;for(r=0;r<4;++r)for(i=0;i<4;++i)e[r][i]=t[e[r][i]>>4][15&e[r][i]];return e}d={Bits128:"Bits128",Bits192:"Bits192",Bits256:"Bits256"},f=function(){function e(){this.salt=Array(16),this.pwdVerifier=Array(16),this.pwdVerifierHash=Array(32),this.blockLen=16,this.Cl=!1,this.hashAlgorithm="SHA1",this.cipherChaining="ChainingModeCBC",this.cipherAlgorithm="AES",this.iterator=1e5,this.blockSize=16,this.keyBits=128,this.saltSize=16,this.hashSize=20,this.encryptedKeyValueBlockKey=[20,110,11,231,171,172,208,214],this.encryptedVerifierHashInputBlockKey=[254,167,210,118,59,75,158,121],this.encryptedVerifierHashValueBlockKey=[215,170,15,109,48,97,52,78]}return e.prototype.Dl=function(e){var t,r,i,a,o,l,s,f,h,m,g,b,w,C,y,v,x,T,A,k;return e.Bl=0,t=S(e),r=t.readInt16(),i=t.readInt16(),3!==r&&4!==r||2!==i?4===r&&4===i&&(s=t.readUInt32(),64===s&&(f=t.readBytes(e.length-8),null!==f))&&(h=n.parseXmlToObject(String.fromCharCode.apply(null,f)),m={},g=h.encryption,b=[],w=g.keyData,C={},C.SaltSize=w._attr.saltSize?w._attr.saltSize:16,C.BlockSize=w._attr.blockSize?w._attr.blockSize:16,C.KeyBits=w._attr.keyBits?w._attr.keyBits:128,C.HashSize=w._attr.hashSize?w._attr.hashSize:20,C.CipherAlgorithm=w._attr.cipherAlgorithm?w._attr.cipherAlgorithm:"AES",C.CipherChaining=w._attr.cipherChaining?w._attr.cipherChaining:"ChainingModeCBC",C.HashAlgorithm=w._attr.hashAlgorithm?w._attr.hashAlgorithm:"SHA1",C.SaltValue=p(w._attr.saltValue),m.KeyData=C,y=g.dataIntegrity,v={},v.EncryptedHmacKey=y._attr.encryptedHmacKey,v.EncryptedHmacValue=y._attr.encryptedHmacValue,m.DataIntegrity=v,x=g.keyEncryptors,T={},T.Uri=x._attr.uri?x._attr.uri:"http://schemas.microsoft.com/office/2006/keyEncryptor/password",T.Any={},A=c(x.keyEncryptor),A&&A.length&&A.forEach(function(e){var t=e["p:encryptedKey"];T.Any.SpinCount=t._attr.spinCount?t._attr.spinCount:1e5,T.Any.SaltSize=t._attr.saltSize?t._attr.saltSize:16,T.Any.BlockSize=t._attr.blockSize?t._attr.blockSize:16,T.Any.KeyBits=t._attr.keyBits?t._attr.keyBits:128,T.Any.HashSize=t._attr.hashSize?t._attr.hashSize:20,T.Any.CipherAlgorithm=t._attr.cipherAlgorithm?t._attr.cipherAlgorithm:"AES",T.Any.CipherChaining=t._attr.cipherChaining?t._attr.cipherChaining:"ChainingModeCBC",T.Any.HashAlgorithm=t._attr.hashAlgorithm?t._attr.hashAlgorithm:"SHA1",T.Any.SaltValue=p(t._attr.saltValue),T.Any.EncryptedVerifierHashInput=p(t._attr.encryptedVerifierHashInput),T.Any.EncryptedVerifierHashValue=p(t._attr.encryptedVerifierHashValue),T.Any.EncryptedKeyValue=p(t._attr.encryptedKeyValue),
28
+ b.push(T),m.KeyEncryptors=b}),k=m.KeyEncryptors[0].Any,this.iterator=parseInt(k.SpinCount,10),this.blockSize=k.BlockSize,this.saltSize=k.SaltSize,this.hashSize=k.HashSize,this.keyBits=k.KeyBits,this.hashAlgorithm=k.HashAlgorithm,this.cipherAlgorithm=k.CipherAlgorithm,this.cipherChaining=k.CipherChaining,this.encryptedKeyValue=k.EncryptedKeyValue,this.encryptedVerifierHashInput=k.EncryptedVerifierHashInput,this.encryptedVerifierHashValue=k.EncryptedVerifierHashValue,this.salt=k.SaltValue,this.saltForIV=m.KeyData.SaltValue,this.Cl=!0,"AES"===this.cipherAlgorithm):(t.seek(8,u.Begin),a=t.readUInt32()+12,t.seek(28,u.Begin),o=t.readInt32(),128===o?this.keySize=d.Bits128:192===o?this.keySize=d.Bits192:256===o&&(this.keySize=d.Bits256),t.seek(a,u.Begin),l=t.readInt32(),a+=4,t.seek(a,u.Begin),this.salt=t.readBytes(l),a+=l,t.seek(a,u.Begin),this.pwdVerifier=t.readBytes(l),a+=l,t.seek(a,u.Begin),t.readInt32(),a+=4,t.seek(a,u.Begin),this.pwdVerifierHash=t.readBytes(2*l),!0)},e.prototype.El=function(e){var t,r,i,n,a,o,c;for(this.userPassWord=e,t=this.Fl(this.salt,null,this.blockSize),r=this.Gl(e,this.encryptedVerifierHashInputBlockKey,this.salt),i=this.Hl(this.saltSize,r,this.encryptedVerifierHashInput,t),i="SHA1"===this.hashAlgorithm?s.hash(i):l.hash(i),n=Array(this.saltSize),h(i,0,n,0,this.saltSize),r=this.Gl(e,this.encryptedVerifierHashValueBlockKey,this.salt),a=this.Il(n,r,t),o=this.encryptedVerifierHashValue.length,o>a.length&&(o=a.length),c=0;c<o;c++)if(a[c]!==this.encryptedVerifierHashValue[c])return!1;return!0},e.prototype.Il=function(e,t,r){var i=new a.aesJS.ModeOfOperation.cbc(t,r);return i.encrypt(e)},e.prototype.Hl=function(e,t,r,n){var o,l,s,c,u,d=null,f=[],p=0,m=4096,b=parseInt(r.length/m,10);for(s=0;s<b;s++)l=n?n:this.Fl(this.saltForIV,g(4,s),this.blockSize),c=new a.aesJS.ModeOfOperation.cbc(t,l),o=c.decrypt(i.BufferHelper.ia(r,p,p+m)),h(o,0,f,p,m),p+=m;return u=r.length%m,u>0&&(l=n?n:this.Fl(this.saltForIV,g(4,b),this.blockSize),c=new a.aesJS.ModeOfOperation.cbc(t,l),o=c.decrypt(i.BufferHelper.ia(r,p,p+u)),h(o,0,f,p,u)),d=Array(e),h(f,0,d,0,e),d},e.prototype.Fl=function(e,t,r){var i,n,a,o=e;for(null!==t&&(o=w(o,t,this.hashAlgorithm)),r=+r,i=new Uint8Array(r),n=o.length,h(o,0,i,0,Math.min(r,n)),a=n;a<r;a++)i[a]=54;return i},e.prototype.Gl=function(e,t,r){var i,n,a,o,l,s,c,u=b(e),d=w(r,u,this.hashAlgorithm);for(i=0;i<this.iterator;i++)n=g(4,i),d=w(n,d,this.hashAlgorithm);for(d=w(d,t,this.hashAlgorithm),a=this.keyBits/8,o=[],l=d.length,s=Math.min(l,a),c=0;c<s;c++)o[c]=d[c];for(i=l;i<a;i++)o[i]=54;return o},e.prototype.Jl=function(e){var t,r,i,n,a={success:!1};return null===e?a:(e.Bl=0,t=S(e),r=t.readUInt64(),i=t.readBytes(e.length-8),this.Kl(this.userPassWord),n=this.Hl(r,this.key,i,null),null!==n&&(a.data=n,a.success=!0),a)},e.prototype.Kl=function(e){var t=this.Gl(e,this.encryptedKeyValueBlockKey,this.salt),r=this.Fl(this.salt,null,this.blockSize),i=this.keyBits/8;this.key=this.Hl(i,t,this.encryptedKeyValue,r)},e.prototype.Ll=function(e){var t,r,i,n,o,l,s;return!!e&&(e.Bl=0,t=S(e),r=t.readInt64(),i=t.readBytes(e.length-8),n=null,o=new a.aesJS.ModeOfOperation.ecb(this.key),l=o.decrypt(i),s=Array(r),l?h(l,0,s,0,s.length):h(n,0,s,0,s.length),{success:!0,data:s})},e.prototype.Ml=function(e,t,r){var i,n,a,o,l=m(e),c=w(t,l,r);for(i=0;i<5e4;i++)n=g(4,i),c=w(n,c,r);for(c=w(c,g(4,0),r),a=[],i=0;i<64;i++)a[i]=54;for(i=0;i<c.length;i++)a[i]^=c[i];return c=s.hash(a),o=[],h(c,0,o,0,16),o},e.prototype.Nl=function(e){var t,r,i;if(e&&!(e.length>256))return t=[],t.Bl=0,r=y(t),r.writeUshort(3),r.writeUshort(2),r.writeInt(36),r.writeUint(164),r.writeInt(36),r.writeInt(0),r.writeInt(26126),r.writeInt(32772),r.writeUint(128),r.writeInt(24),r.writeLong(0),i="Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)",r.writeBytes(m(i)),r.writeShort(0),r.writeInt(16),this.Ol(e),this.Pl()&&(r.writeBytes(this.salt),r.writeBytes(this.pwdVerifier),r.writeUint(20),r.writeBytes(this.pwdVerifierHash)),r.seek(0,u.Begin),r.getView()},e.prototype.Ol=function(e){var t,r,i=[],n=[];for(t=0;t<this.blockLen;t++)i[t]=parseInt(255*Math.random(),10),n[t]=parseInt(255*Math.random(),10);return this.salt=i,this.key=this.Ml(e,this.salt,this.hashAlgorithm),this.Ql(d.Bits128,this.key),r=s.hash(n),this.pwdVerifier=this.Rl(n),this.pwdVerifierHash=this.Rl(r),!0},e.prototype.Ql=function(e,t){this.Nb=4,e===d.Bits128?(this.Nk=4,this.Nr=10):e===d.Bits192?(this.Nk=6,this.Nr=12):e===d.Bits256&&(this.Nk=8,this.Nr=14),this.key=[].concat(t),this.Sbox=x(),this.iSbox=T(),this.Rcon=A(),this.w=k(this.Nb,this.Nr,this.Nk,this.key,this.Rcon,this.Sbox)},e.prototype.Rl=function(e){var t,r,i,n,a=e.length,o=e.length%this.blockLen;for(0!==o&&(a+=this.blockLen-o),t=[],h(e,0,t,0,e.length),r=[],i=[],n=0;n<a;n+=this.blockLen)h(t,n,r,0,this.blockLen),this.Sl(r,i),h(i,0,t,n,this.blockLen);return t},e.prototype.Sl=function(e,t){var r,i;for(this.State=v(4,this.Nb),r=0;r<4*this.Nb;++r)this.State[r%4][parseInt(r/4,10)]=e[r];for(this.State=ee(0,this.State,this.w),i=1;i<=this.Nr-1;++i)this.State=ie(this.State,this.Sbox),this.State=te(this.State,this.Nb),this.State=re(this.State),this.State=ee(i,this.State,this.w);for(this.State=ie(this.State,this.Sbox),this.State=te(this.State,this.Nb),this.State=ee(this.Nr,this.State,this.w),r=0;r<4*this.Nb;++r)t[r]=this.State[r%4][parseInt(r/4,10)]},e.prototype.Pl=function(){var e,t=s,r=this.Tl(this.pwdVerifier),i=this.Tl(this.pwdVerifierHash);for(r=t.hash(r),e=0;e<r.length;e++)if(r[e]!==i[e])return!1;return!0},e.prototype.Tl=function(e){var t,r,i,n,a,o;if(null===e)return null;if(t=e.length,e.length%this.blockLen===0&&!(t>e.length)){for(r=[],i=[],n=[],a=0;a<e.length;a+=this.blockLen)h(e,a,i,0,this.blockLen),this.Ul(i,n),o=a+this.blockLen-t,h(n,0,r,a,o>0?this.blockLen-o:this.blockLen);return r}},e.prototype.Ul=function(e,t){var r,i;for(this.State=v(4,this.Nb),r=0;r<4*this.Nb;++r)this.State[r%4][parseInt(r/4,10)]=e[r];for(this.State=ee(this.Nr,this.State,this.w),i=this.Nr-1;i>=1;--i)this.Vl(),this.Wl(),this.State=ee(i,this.State,this.w),this.Xl();for(this.Vl(),this.Wl(),this.State=ee(0,this.State,this.w),r=0;r<4*this.Nb;++r)t[r]=this.State[r%4][parseInt(r/4,10)]},e.prototype.Vl=function(){var e,t,r=v(4,4);for(e=0;e<4;++e)for(t=0;t<4;++t)r[e][t]=this.State[e][t];for(e=1;e<4;++e)for(t=0;t<4;++t)this.State[e][(t+e)%this.Nb]=r[e][t]},e.prototype.Wl=function(){var e,t;for(e=0;e<4;++e)for(t=0;t<4;++t)this.State[e][t]=this.iSbox[this.State[e][t]>>4][15&this.State[e][t]]},e.prototype.Xl=function(){var e,t,r=v(4,4);for(e=0;e<4;++e)for(t=0;t<4;++t)r[e][t]=this.State[e][t];for(t=0;t<4;++t)this.State[0][t]=(N(r[0][t])^L(r[1][t])^_(r[2][t])^R(r[3][t]))%256,this.State[1][t]=(R(r[0][t])^N(r[1][t])^L(r[2][t])^_(r[3][t]))%256,this.State[2][t]=(_(r[0][t])^R(r[1][t])^N(r[2][t])^L(r[3][t]))%256,this.State[3][t]=(L(r[0][t])^_(r[1][t])^R(r[2][t])^N(r[3][t]))%256},e.prototype.Yl=function(e){var t,r,i,n,a,o=new Uint8Array(e);return o.Bl=0,t=S(o),r=o.length,i=t.readBytes(r),n=this.Rl(i),a=[],h(g(8,r),0,a,0,8),h(n,0,a,8,n.length),t.seek(0,u.Begin),a},e.prototype.Zl=function(e,t){var r,i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,v,x,T,A,k,E,I,F=[];for(F.Bl=0,r=y(F),i=0,n=3,a=2,o=1,l=[],s=[],c=[],u=Math.max(t.length,4096),d=parseInt(t.length/512,10),t.length%512>0&&d++,f=n+a+o,p=4*(d+f),h=parseInt(p/512,10),p%512>0&&h++,m=0,g=!0;g;)b=0,w=0,g=!1,p=4*(d+f+h+m),b=parseInt(p/512,10),p%512>0&&b++,b>h?(h=b,g=!0):h>109&&(C=4*(h-109),w=parseInt(C/512,10),S=C%512,S>0&&w++,S+4*w>512&&w++,w>m&&(m=w,g=!0));if(m>0)for(v=128*m+109,x=0;i<v;i++)i<h?(T=i-109,T>0&&T%128===0&&(x++,l.push(x)),l.push(i+m)):l.push(-1);else for(;i<109;i++)i<h?l.push(i):l.push(-1);if(A=0,h>0){for(i=1;i<=m;i++)s.push(-4);for(A=m,i=1;i<=h;i++)s.push(-3);for(A+=h,i=1;i<o;i++)s.push(i);for(s.push(-2),A+=o,i=1;i<n;i++)s.push(i+A);for(s.push(-2),A+=n,i=1;i<a;i++)s.push(i+A);for(s.push(-2),A+=a,i=1;i<d;i++)s.push(i+A);s.push(-2)}for(r.writeInt(3759263696),r.writeInt(3776623009),r.writeLong(0),r.writeLong(0),r.writeShort(62),r.writeShort(3),r.writeShort(-2),r.writeShort(9),r.writeInt(6),r.writeInt(0),r.writeInt(0),r.writeInt(h),r.writeInt(m+h+o),r.writeInt(0),r.writeInt(4096),r.writeInt(h+m),r.writeInt(o),m>0?(r.writeInt(0),r.writeInt(m)):(r.writeInt(-2),r.writeInt(0)),l.forEach(function(e){r.writeInt(e)}),k=0;k<128*h;k++)k<s.length?r.writeInt(s[k]):r.writeInt(-1);return E=$(e,c),c.forEach(function(e){r.writeInt(e)}),I=K(A,A-a,u),r.writeBytes(I),r.writeBytes(E),r.writeBytes(t),{success:!0,data:r.getView()}},e}(),t.AesEngine=f},"./src/xlsx-io/password/compoundFile.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n={Unknown:0,Storage:1,Stream:2,RootStorage:5},a={Red:0,Black:1},o=0xe11ab1a1e011d000,l=-2,s=128,c=-6,u=-1,d="Root Entry",f=-1,p=512,h=109,m=512,g=64;function v(e){var t,r,i,n={StartSectorIndex:0,SectorCount:0},a=[];for(t=0;t<e.length;t++)r=0===n.SectorCount,r?(n.StartSectorIndex=e[t],n.SectorCount=1):(i=e[t]===n.SectorCount+n.StartSectorIndex,i?n.SectorCount+=1:(a.push(n),n.SectorCount=0,t--));return a.push(n),a}b=function(){this.$l=Array(32),this._l=0,this.am=5,this.bm=f,this.cm=f,this.dm=f,this.em=u,this.fm=0,this.gm=[]},b.prototype={getName:function(){var e="";for(this.$l.forEach(function(t){var r=t.indexOf("\0");e+=r!==-1?t.substring(0,r):t});e.length>0&&0===e[e.length-1];)e=e.substring(0,e.length-2);return e},setName:function(e){for(var t=0;t<this.$l.length&&t<e.length;t++)this.$l[t]=e[t];this._l=Math.min(2*this.$l.length,2*(e.length+1))},read:function(e){switch(this.$l=e.readChars(this.$l.length),this._l=e.readInt16(),this.getName()){case"R":this.setName(d);break;case"Book":this.setName("Workbook")}this.am=e.readByte()[0],e.readByte(),this.bm=e.readInt32(),this.cm=e.readInt32(),this.dm=e.readInt32(),e.readInt32(),e.readInt32(),e.readInt32(),e.readInt32(),e.readInt32(),e.readInt64(),e.readInt64(),this.em=e.readInt32(),this.fm=e.readInt32(),e.readInt32()}},w=function(){function e(){this.hm=o,this.im=62,this.jm=3,this.km=65534,this.mm=9,this.nm=6,this.om=0,this.pm=0,this.qm=0,this.rm=0,this.tm=0,this.um=0,this.vm=4096,this.wm=l,this.xm=0,this.ym=l,this.zm=0,this.Am=[]}return e.prototype.sectorSize=function(){return Math.pow(2,this.mm)},e.prototype.minisectorSize=function(){return Math.pow(2,this.nm)},e.prototype.read=function(e){var t,r;if(this.hm=e.readUInt64(),e.readInt32(),e.readInt32(),e.readInt32(),e.readInt32(),this.im=e.readUInt16(),this.jm=e.readUInt16(),this.jm>3)return!1;for(this.km=e.readUInt16(),this.mm=e.readInt16(),this.nm=e.readInt32(),this.om=e.readInt32(),this.pm=e.readInt16(),this.qm=e.readInt16(),this.rm=e.readInt32(),this.tm=e.readInt32(),this.um=e.readInt32(),this.vm=e.readInt32(),this.wm=e.readInt32(),this.xm=e.readInt32(),this.ym=e.readInt32(),this.zm=e.readInt32(),t=Math.min(this.rm,h),this.Am=[],r=0;r<t;r++)this.Am[r]=e.readInt32()},e}(),C=function(){function e(){this.Bm=[]}return e.prototype.length=function(){return this.Bm.length},e.prototype.getList=function(){return this.Bm},e.prototype.getSectorList=function(e){for(var t=[],r=e;r<=c||r>u;)t.push(r),r=this.Bm[r];return t},e.prototype.addRange=function(e){var t=this;e&&e.length&&e.forEach(function(e){t.Bm.push(e)})},e.prototype.read=function(e,t){for(var r=0;r<t;r++)this.Bm.push(e.readInt32())},e}(),S=function(){function e(){this.Cm=[]}return e.prototype.add=function(e){e.getName()===d?this.Cm.splice(0,0,e):this.Cm.push(e)},e.prototype.clear=function(){this.Cm=[]},e.prototype.length=function(){return this.Cm.length},e.prototype.entries=function(){return this.Cm},e.prototype.read=function(e,t){var r,i;for(r=0;r<t;r++)i=new b,i.read(e),this.Cm.push(i)},e}(),y=function(){function e(e){this.Bl=0,this.Dm=new w,this.Cm=new S,this.Em=new C,this.Fm=new C,this.Gm=new C;var t=new b;t.setName(d),t.am=n.Stream,t.Hm=a.Black,t.dm=f,e||(t.Im=(new Date).getTime(),t.Jm=(new Date).getTime()),t.bm=f,t.cm=f,t.dm=f,t.am=n.RootStorage,t.em=l,t.fm=0,t.Bytes=null,this.Cm.add(t)}return e.prototype.Km=function(e,t){var r,i,a,o;for(1===arguments.length&&(t=d),r=-1,i=0;i<this.Cm.length();i++)if(a=this.Cm.entries()[i],a.getName()===t&&(a.am===n.Storage||a.am===n.RootStorage)){r=i;break}if(r===-1)return null;if(this.Cm.entries()[r].dm===f)return null;for(o=[],o.push(this.Cm.entries()[r].dm),this.Lm(this.Cm.entries()[r].dm,o),i=0;i<o.length;i++)if(a=this.Cm.entries()[o[i]],a.getName()===e&&a.am===n.Stream)return a.gm;return null},e.prototype.Lm=function(e,t){this.Cm.entries()[e].bm!==f&&(t.push(this.Cm.entries()[e].bm),this.Lm(this.Cm.entries()[e].bm,t)),this.Cm.entries()[e].cm!==f&&(t.push(this.Cm.entries()[e].cm),this.Lm(this.Cm.entries()[e].cm,t))},e.prototype.Wk=function(e){this.view=e;var t=this.Mm();this.Nm(t),this.Om(t),this.Pm(t)},e.prototype.Nm=function(e){this.Dm.read(e),m=this.Dm.sectorSize(),g=this.Dm.minisectorSize()},e.prototype.Om=function(e){var t,r,i,n,a;for(this.Em.addRange(this.Dm.Am),t=this.Dm.rm-(this.Dm.Am?this.Dm.Am.length:0),r=this.Dm.ym,i=(m-4)/4;t>0;)this.Qm(r),this.Em.read(e,Math.min(i,t)),t-=Math.min(i,t),t>0&&(r=e.readInt32());for(n=0;n<this.Em.length();n++)this.Qm(this.Em.getList()[n]),this.Fm.read(e,m/4);for(a=this.Fm.getSectorList(this.Dm.wm),n=0;n<a.length;n++)this.Qm(a[n]),this.Gm.read(e,m/4)},e.prototype.Pm=function(e){var t,r,i,a,o;for(this.Cm.clear(),t=this.Dm.tm,r=this.Fm.getSectorList(t),i=0;i<r.length;i++)this.Qm(r[i]),this.Cm.read(e,m/s);if(a=this.Cm.entries()[0],a.getName()===d.replace(" ","")&&a.setName(d),a.getName()===d)for(i=1;i<this.Cm.length();i++)o=this.Cm.entries()[i],o.am===n.Stream&&(o.gm=this.Rm(o,e))},e.prototype.Rm=function(e,t){return null===e?null:e.fm<this.Dm.vm?this.Sm(e.em,e.fm,t):this.Tm(e.em,e.fm,t)},e.prototype.Sm=function(e,t,r){var i,n,a,o,l=[],s=this.Gm.getSectorList(e);for(i=0;i<s.length;i++)for(this.Um(s[i]),n=g,i===s.length-1&&t%g!==0&&(n=t%g),a=r.readBytes(n),o=0;o<a.length;o++)l.push(a[o]);return l},e.prototype.Qm=function(e){this.Bl=p+this.Dm.sectorSize()*e},e.prototype.Um=function(e){var t=m/g,r=Math.floor(e/t),i=this.Fm.getSectorList(this.Cm.entries()[0].em);this.Qm(i[r]),this.Bl+=e%t*g},e.prototype.Tm=function(e,t,r){var i,n,a,o,l=this.Fm.getSectorList(e),s=v(l),c=[];for(i=0;i<s.length;i++)for(this.Qm(s[i].StartSectorIndex),n=m*s[i].SectorCount,i===s.length-1&&t%m!==0&&(n-=m-t%m),n=Math.min(n,this.view.length-this.Bl),a=r.readBytes(n),o=0;o<a.length;o++)c.push(a[o]);return c},e.prototype.Mm=function(){var e=this,t=function(e){var t,r=[];for(t=0;t<e.length;t++)r[t]=e[e.length-t-1];return r},r=function(r){var n=0;return t(i.BufferHelper.ia(e.view,e.Bl,e.Bl+r)).forEach(function(e){n=256*n+e}),e.Bl+=r,n},n=function(r){var n=0;return t(i.BufferHelper.ia(e.view,e.Bl,e.Bl+r)).forEach(function(e){n=(n<<8)+e}),e.Bl+=r,n},a=function(t){var r=i.BufferHelper.ia(e.view,e.Bl,e.Bl+t);return e.Bl+=t,r};return{readUInt64:function(){return r(8)},readInt64:function(){return n(8)},readInt32:function(){return n(4)},readUInt32:function(){return r(4)},readInt16:function(){return n(2)},readUInt16:function(){return n(2)},readByte:function(){return a(1)},readBytes:function(e){return a(e)},readChars:function(e){var t,r,i=[];for(t=0;t<e;t++)r=a(2),i.push(String.fromCharCode.apply(null,r));return i}}},e}(),t.CompoundFile=y},"./src/xlsx-io/password/sha1.js":function(e,t){!function(t){"use strict";var r={},i=[-2147483648,8388608,32768,128],n=[24,16,8,0],a=[],o=function(e){var t,r,o,l,s,c,u,d,f,p=0,h=!1,m=0,g=0,b=0,w=e.length,C=1732584193,S=4023233417,y=2562383102,v=271733878,x=3285377520;do{for(a[0]=p,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0,o=g;m<w&&o<64;++m)a[o>>2]|=e[m]<<n[3&o++];for(b+=o-g,g=o-64,m===w&&(a[o>>2]|=i[3&o],++m),p=a[16],m>w&&o<56&&(a[15]=b<<3,h=!0),l=16;l<80;++l)t=a[l-3]^a[l-8]^a[l-14]^a[l-16],a[l]=t<<1|t>>>31;for(s=C,c=S,u=y,d=v,f=x,l=0;l<20;l+=5)r=c&u|~c&d,t=s<<5|s>>>27,f=t+r+f+1518500249+a[l]<<0,c=c<<30|c>>>2,r=s&c|~s&u,t=f<<5|f>>>27,d=t+r+d+1518500249+a[l+1]<<0,s=s<<30|s>>>2,r=f&s|~f&c,t=d<<5|d>>>27,u=t+r+u+1518500249+a[l+2]<<0,f=f<<30|f>>>2,r=d&f|~d&s,t=u<<5|u>>>27,c=t+r+c+1518500249+a[l+3]<<0,d=d<<30|d>>>2,r=u&d|~u&f,t=c<<5|c>>>27,s=t+r+s+1518500249+a[l+4]<<0,u=u<<30|u>>>2;for(;l<40;l+=5)r=c^u^d,t=s<<5|s>>>27,f=t+r+f+1859775393+a[l]<<0,c=c<<30|c>>>2,r=s^c^u,t=f<<5|f>>>27,d=t+r+d+1859775393+a[l+1]<<0,s=s<<30|s>>>2,r=f^s^c,t=d<<5|d>>>27,u=t+r+u+1859775393+a[l+2]<<0,f=f<<30|f>>>2,r=d^f^s,t=u<<5|u>>>27,c=t+r+c+1859775393+a[l+3]<<0,d=d<<30|d>>>2,r=u^d^f,t=c<<5|c>>>27,s=t+r+s+1859775393+a[l+4]<<0,u=u<<30|u>>>2;for(;l<60;l+=5)r=c&u|c&d|u&d,t=s<<5|s>>>27,f=t+r+f-1894007588+a[l]<<0,c=c<<30|c>>>2,r=s&c|s&u|c&u,t=f<<5|f>>>27,d=t+r+d-1894007588+a[l+1]<<0,s=s<<30|s>>>2,r=f&s|f&c|s&c,t=d<<5|d>>>27,u=t+r+u-1894007588+a[l+2]<<0,f=f<<30|f>>>2,r=d&f|d&s|f&s,t=u<<5|u>>>27,c=t+r+c-1894007588+a[l+3]<<0,d=d<<30|d>>>2,r=u&d|u&f|d&f,t=c<<5|c>>>27,s=t+r+s-1894007588+a[l+4]<<0,u=u<<30|u>>>2;for(;l<80;l+=5)r=c^u^d,t=s<<5|s>>>27,f=t+r+f-899497514+a[l]<<0,c=c<<30|c>>>2,r=s^c^u,t=f<<5|f>>>27,d=t+r+d-899497514+a[l+1]<<0,s=s<<30|s>>>2,r=f^s^c,t=d<<5|d>>>27,u=t+r+u-899497514+a[l+2]<<0,f=f<<30|f>>>2,r=d^f^s,t=u<<5|u>>>27,c=t+r+c-899497514+a[l+3]<<0,d=d<<30|d>>>2,r=u^d^f,t=c<<5|c>>>27,s=t+r+s-899497514+a[l+4]<<0,u=u<<30|u>>>2;C=C+s<<0,S=S+c<<0,y=y+u<<0,v=v+d<<0,x=x+f<<0}while(!h);return[16*(C>>28&15)+(C>>24&15),16*(C>>20&15)+(C>>16&15),16*(C>>12&15)+(C>>8&15),16*(C>>4&15)+(15&C),16*(S>>28&15)+(S>>24&15),16*(S>>20&15)+(S>>16&15),16*(S>>12&15)+(S>>8&15),16*(S>>4&15)+(15&S),16*(y>>28&15)+(y>>24&15),16*(y>>20&15)+(y>>16&15),16*(y>>12&15)+(y>>8&15),16*(y>>4&15)+(15&y),16*(v>>28&15)+(v>>24&15),16*(v>>20&15)+(v>>16&15),16*(v>>12&15)+(v>>8&15),16*(v>>4&15)+(15&v),16*(x>>28&15)+(x>>24&15),16*(x>>20&15)+(x>>16&15),16*(x>>12&15)+(x>>8&15),16*(x>>4&15)+(15&x)]};t.sha1=o,r.hash=o,e.exports=r}(this)},"./src/xlsx-io/password/sha512.js":function(e,t){!function(t){"use strict";var r={},i=[-2147483648,8388608,32768,128],n=[24,16,8,0],a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],o=[],l=function(e){var t,r,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k,E,I,F,P,D,R,L,_,N,B,M,O,G,H,U,J,W,V,z,j,X=!1,K=0,q=0,Y=0,Q=e.length,Z=1779033703,$=4089235720,ee=3144134277,te=2227873595,re=1013904242,ie=4271175723,ne=2773480762,ae=1595750129,oe=1359893119,le=2917565137,se=2600822924,ce=725511199,ue=528734635,de=4215389547,fe=1541459225,pe=327033209,he=0;do{for(o[0]=he,o[1]=o[2]=o[3]=o[4]=o[5]=o[6]=o[7]=o[8]=o[9]=o[10]=o[11]=o[12]=o[13]=o[14]=o[15]=o[16]=o[17]=o[18]=o[19]=o[20]=o[21]=o[22]=o[23]=o[24]=o[25]=o[26]=o[27]=o[28]=o[29]=o[30]=o[31]=o[32]=0,t=q;K<Q&&t<128;++K)o[t>>2]|=e[K]<<n[3&t++];for(Y+=t-q,q=t-128,K===Q&&(o[t>>2]|=i[3&t],++K),he=o[32],K>Q&&t<112&&(o[31]=Y<<3,X=!0),r=32;r<160;r+=2)A=o[r-30],k=o[r-29],l=(A>>>1|k<<31)^(A>>>8|k<<24)^A>>>7,s=(k>>>1|A<<31)^(k>>>8|A<<24)^(k>>>7|A<<25),A=o[r-4],k=o[r-3],c=(A>>>19|k<<13)^(k>>>29|A<<3)^A>>>6,u=(k>>>19|A<<13)^(A>>>29|k<<3)^(k>>>6|A<<26),A=o[r-32],k=o[r-31],E=o[r-14],I=o[r-13],d=(65535&I)+(65535&k)+(65535&s)+(65535&u),f=(I>>>16)+(k>>>16)+(s>>>16)+(u>>>16)+(d>>>16),p=(65535&E)+(65535&A)+(65535&l)+(65535&c)+(f>>>16),h=(E>>>16)+(A>>>16)+(l>>>16)+(c>>>16)+(p>>>16),o[r]=h<<16|65535&p,o[r+1]=f<<16|65535&d;for(D=Z,R=$,L=ee,_=te,N=re,B=ie,M=ne,O=ae,G=oe,H=le,U=se,J=ce,W=ue,V=de,z=fe,j=pe,y=L&N,v=_&B,r=0;r<160;r+=8)l=(D>>>28|R<<4)^(R>>>2|D<<30)^(R>>>7|D<<25),s=(R>>>28|D<<4)^(D>>>2|R<<30)^(D>>>7|R<<25),c=(G>>>14|H<<18)^(G>>>18|H<<14)^(H>>>9|G<<23),u=(H>>>14|G<<18)^(H>>>18|G<<14)^(G>>>9|H<<23),m=D&L,g=R&_,x=m^D&N^y,T=g^R&B^v,F=G&U^~G&W,P=H&J^~H&V,A=o[r],k=o[r+1],E=a[r],I=a[r+1],d=(65535&I)+(65535&k)+(65535&P)+(65535&u)+(65535&j),f=(I>>>16)+(k>>>16)+(P>>>16)+(u>>>16)+(j>>>16)+(d>>>16),p=(65535&E)+(65535&A)+(65535&F)+(65535&c)+(65535&z)+(f>>>16),h=(E>>>16)+(A>>>16)+(F>>>16)+(c>>>16)+(z>>>16)+(p>>>16),A=h<<16|65535&p,k=f<<16|65535&d,d=(65535&T)+(65535&s),f=(T>>>16)+(s>>>16)+(d>>>16),p=(65535&x)+(65535&l)+(f>>>16),h=(x>>>16)+(l>>>16)+(p>>>16),E=h<<16|65535&p,I=f<<16|65535&d,d=(65535&O)+(65535&k),f=(O>>>16)+(k>>>16)+(d>>>16),p=(65535&M)+(65535&A)+(f>>>16),h=(M>>>16)+(A>>>16)+(p>>>16),z=h<<16|65535&p,j=f<<16|65535&d,d=(65535&I)+(65535&k),f=(I>>>16)+(k>>>16)+(d>>>16),p=(65535&E)+(65535&A)+(f>>>16),h=(E>>>16)+(A>>>16)+(p>>>16),M=h<<16|65535&p,O=f<<16|65535&d,l=(M>>>28|O<<4)^(O>>>2|M<<30)^(O>>>7|M<<25),s=(O>>>28|M<<4)^(M>>>2|O<<30)^(M>>>7|O<<25),c=(z>>>14|j<<18)^(z>>>18|j<<14)^(j>>>9|z<<23),u=(j>>>14|z<<18)^(j>>>18|z<<14)^(z>>>9|j<<23),b=M&D,w=O&R,x=b^M&L^m,T=w^O&_^g,F=z&G^~z&U,P=j&H^~j&J,A=o[r+2],k=o[r+3],E=a[r+2],I=a[r+3],d=(65535&I)+(65535&k)+(65535&P)+(65535&u)+(65535&V),f=(I>>>16)+(k>>>16)+(P>>>16)+(u>>>16)+(V>>>16)+(d>>>16),p=(65535&E)+(65535&A)+(65535&F)+(65535&c)+(65535&W)+(f>>>16),h=(E>>>16)+(A>>>16)+(F>>>16)+(c>>>16)+(W>>>16)+(p>>>16),A=h<<16|65535&p,k=f<<16|65535&d,d=(65535&T)+(65535&s),f=(T>>>16)+(s>>>16)+(d>>>16),p=(65535&x)+(65535&l)+(f>>>16),h=(x>>>16)+(l>>>16)+(p>>>16),E=h<<16|65535&p,I=f<<16|65535&d,d=(65535&B)+(65535&k),f=(B>>>16)+(k>>>16)+(d>>>16),p=(65535&N)+(65535&A)+(f>>>16),h=(N>>>16)+(A>>>16)+(p>>>16),W=h<<16|65535&p,V=f<<16|65535&d,d=(65535&I)+(65535&k),f=(I>>>16)+(k>>>16)+(d>>>16),p=(65535&E)+(65535&A)+(f>>>16),h=(E>>>16)+(A>>>16)+(p>>>16),N=h<<16|65535&p,B=f<<16|65535&d,l=(N>>>28|B<<4)^(B>>>2|N<<30)^(B>>>7|N<<25),s=(B>>>28|N<<4)^(N>>>2|B<<30)^(N>>>7|B<<25),c=(W>>>14|V<<18)^(W>>>18|V<<14)^(V>>>9|W<<23),u=(V>>>14|W<<18)^(V>>>18|W<<14)^(W>>>9|V<<23),C=N&M,S=B&O,x=C^N&D^b,T=S^B&R^w,F=W&z^~W&G,P=V&j^~V&H,A=o[r+4],k=o[r+5],E=a[r+4],I=a[r+5],d=(65535&I)+(65535&k)+(65535&P)+(65535&u)+(65535&J),f=(I>>>16)+(k>>>16)+(P>>>16)+(u>>>16)+(J>>>16)+(d>>>16),p=(65535&E)+(65535&A)+(65535&F)+(65535&c)+(65535&U)+(f>>>16),h=(E>>>16)+(A>>>16)+(F>>>16)+(c>>>16)+(U>>>16)+(p>>>16),A=h<<16|65535&p,k=f<<16|65535&d,d=(65535&T)+(65535&s),f=(T>>>16)+(s>>>16)+(d>>>16),p=(65535&x)+(65535&l)+(f>>>16),h=(x>>>16)+(l>>>16)+(p>>>16),E=h<<16|65535&p,I=f<<16|65535&d,d=(65535&_)+(65535&k),f=(_>>>16)+(k>>>16)+(d>>>16),p=(65535&L)+(65535&A)+(f>>>16),h=(L>>>16)+(A>>>16)+(p>>>16),U=h<<16|65535&p,J=f<<16|65535&d,d=(65535&I)+(65535&k),f=(I>>>16)+(k>>>16)+(d>>>16),p=(65535&E)+(65535&A)+(f>>>16),h=(E>>>16)+(A>>>16)+(p>>>16),L=h<<16|65535&p,_=f<<16|65535&d,l=(L>>>28|_<<4)^(_>>>2|L<<30)^(_>>>7|L<<25),s=(_>>>28|L<<4)^(L>>>2|_<<30)^(L>>>7|_<<25),c=(U>>>14|J<<18)^(U>>>18|J<<14)^(J>>>9|U<<23),u=(J>>>14|U<<18)^(J>>>18|U<<14)^(U>>>9|J<<23),y=L&N,v=_&B,x=y^L&M^C,T=v^_&O^S,F=U&W^~U&z,P=J&V^~J&j,A=o[r+6],k=o[r+7],E=a[r+6],I=a[r+7],d=(65535&I)+(65535&k)+(65535&P)+(65535&u)+(65535&H),f=(I>>>16)+(k>>>16)+(P>>>16)+(u>>>16)+(H>>>16)+(d>>>16),p=(65535&E)+(65535&A)+(65535&F)+(65535&c)+(65535&G)+(f>>>16),h=(E>>>16)+(A>>>16)+(F>>>16)+(c>>>16)+(G>>>16)+(p>>>16),A=h<<16|65535&p,k=f<<16|65535&d,d=(65535&T)+(65535&s),f=(T>>>16)+(s>>>16)+(d>>>16),p=(65535&x)+(65535&l)+(f>>>16),h=(x>>>16)+(l>>>16)+(p>>>16),E=h<<16|65535&p,I=f<<16|65535&d,d=(65535&R)+(65535&k),f=(R>>>16)+(k>>>16)+(d>>>16),p=(65535&D)+(65535&A)+(f>>>16),h=(D>>>16)+(A>>>16)+(p>>>16),G=h<<16|65535&p,H=f<<16|65535&d,d=(65535&I)+(65535&k),f=(I>>>16)+(k>>>16)+(d>>>16),p=(65535&E)+(65535&A)+(f>>>16),h=(E>>>16)+(A>>>16)+(p>>>16),D=h<<16|65535&p,R=f<<16|65535&d;d=(65535&$)+(65535&R),f=($>>>16)+(R>>>16)+(d>>>16),p=(65535&Z)+(65535&D)+(f>>>16),h=(Z>>>16)+(D>>>16)+(p>>>16),Z=h<<16|65535&p,$=f<<16|65535&d,d=(65535&te)+(65535&_),f=(te>>>16)+(_>>>16)+(d>>>16),p=(65535&ee)+(65535&L)+(f>>>16),h=(ee>>>16)+(L>>>16)+(p>>>16),ee=h<<16|65535&p,te=f<<16|65535&d,d=(65535&ie)+(65535&B),f=(ie>>>16)+(B>>>16)+(d>>>16),p=(65535&re)+(65535&N)+(f>>>16),h=(re>>>16)+(N>>>16)+(p>>>16),re=h<<16|65535&p,ie=f<<16|65535&d,d=(65535&ae)+(65535&O),f=(ae>>>16)+(O>>>16)+(d>>>16),p=(65535&ne)+(65535&M)+(f>>>16),h=(ne>>>16)+(M>>>16)+(p>>>16),ne=h<<16|65535&p,ae=f<<16|65535&d,d=(65535&le)+(65535&H),f=(le>>>16)+(H>>>16)+(d>>>16),p=(65535&oe)+(65535&G)+(f>>>16),h=(oe>>>16)+(G>>>16)+(p>>>16),oe=h<<16|65535&p,le=f<<16|65535&d,d=(65535&ce)+(65535&J),f=(ce>>>16)+(J>>>16)+(d>>>16),p=(65535&se)+(65535&U)+(f>>>16),h=(se>>>16)+(U>>>16)+(p>>>16),se=h<<16|65535&p,ce=f<<16|65535&d,d=(65535&de)+(65535&V),f=(de>>>16)+(V>>>16)+(d>>>16),p=(65535&ue)+(65535&W)+(f>>>16),h=(ue>>>16)+(W>>>16)+(p>>>16),ue=h<<16|65535&p,de=f<<16|65535&d,d=(65535&pe)+(65535&j),f=(pe>>>16)+(j>>>16)+(d>>>16),p=(65535&fe)+(65535&z)+(f>>>16),h=(fe>>>16)+(z>>>16)+(p>>>16),fe=h<<16|65535&p,pe=f<<16|65535&d}while(!X);return[16*(Z>>28&15)+(Z>>24&15),16*(Z>>20&15)+(Z>>16&15),16*(Z>>12&15)+(Z>>8&15),16*(Z>>4&15)+(15&Z),16*($>>28&15)+($>>24&15),16*($>>20&15)+($>>16&15),16*($>>12&15)+($>>8&15),16*($>>4&15)+(15&$),16*(ee>>28&15)+(ee>>24&15),16*(ee>>20&15)+(ee>>16&15),16*(ee>>12&15)+(ee>>8&15),16*(ee>>4&15)+(15&ee),16*(te>>28&15)+(te>>24&15),16*(te>>20&15)+(te>>16&15),16*(te>>12&15)+(te>>8&15),16*(te>>4&15)+(15&te),16*(re>>28&15)+(re>>24&15),16*(re>>20&15)+(re>>16&15),16*(re>>12&15)+(re>>8&15),16*(re>>4&15)+(15&re),16*(ie>>28&15)+(ie>>24&15),16*(ie>>20&15)+(ie>>16&15),16*(ie>>12&15)+(ie>>8&15),16*(ie>>4&15)+(15&ie),16*(ne>>28&15)+(ne>>24&15),16*(ne>>20&15)+(ne>>16&15),16*(ne>>12&15)+(ne>>8&15),16*(ne>>4&15)+(15&ne),16*(ae>>28&15)+(ae>>24&15),16*(ae>>20&15)+(ae>>16&15),16*(ae>>12&15)+(ae>>8&15),16*(ae>>4&15)+(15&ae),16*(oe>>28&15)+(oe>>24&15),16*(oe>>20&15)+(oe>>16&15),16*(oe>>12&15)+(oe>>8&15),16*(oe>>4&15)+(15&oe),16*(le>>28&15)+(le>>24&15),16*(le>>20&15)+(le>>16&15),16*(le>>12&15)+(le>>8&15),16*(le>>4&15)+(15&le),16*(se>>28&15)+(se>>24&15),16*(se>>20&15)+(se>>16&15),16*(se>>12&15)+(se>>8&15),16*(se>>4&15)+(15&se),16*(ce>>28&15)+(ce>>24&15),16*(ce>>20&15)+(ce>>16&15),16*(ce>>12&15)+(ce>>8&15),16*(ce>>4&15)+(15&ce),16*(ue>>28&15)+(ue>>24&15),16*(ue>>20&15)+(ue>>16&15),16*(ue>>12&15)+(ue>>8&15),16*(ue>>4&15)+(15&ue),16*(de>>28&15)+(de>>24&15),16*(de>>20&15)+(de>>16&15),16*(de>>12&15)+(de>>8&15),16*(de>>4&15)+(15&de),16*(fe>>28&15)+(fe>>24&15),16*(fe>>20&15)+(fe>>16&15),16*(fe>>12&15)+(fe>>8&15),16*(fe>>4&15)+(15&fe),16*(pe>>28&15)+(pe>>24&15),16*(pe>>20&15)+(pe>>16&15),16*(pe>>12&15)+(pe>>8&15),16*(pe>>4&15)+(15&pe)]};t.sha512=l,r.hash=l,e.exports=r}(this)},"./src/xlsx-io/password/xlsxEncryptionHelper.ts":function(e,t,r){"use strict";var i,n,a,o;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xlsx-io/password/compoundFile.ts"),n=r("./src/xlsx-io/password/aesEngine.ts"),a=r("./src/common/common.ts");function l(e){var t,r,n={success:!1,encryptionInfoStream:null,encryptPagStream:null},a=new i.CompoundFile,o=new Uint8Array(e);return a.Wk(o),t=a.Km("EncryptionInfo"),r=a.Km("EncryptedPackage"),null===t||null===r?n:(n.success=!0,n.encryptionInfoStream=t,n.encryptPagStream=r,n)}function s(e,t){var r,i,a,o={success:!1},s=l(e);return s.success?(r=s.encryptionInfoStream,i=s.encryptPagStream,null!==r&&null!==i&&(a=new n.AesEngine,a.Dl(r)&&(a.Cl?a.El(t)&&(o=a.Jl(i)):(a.key=a.Ml(t,a.salt,a.hashAlgorithm),a.Ql(a.keySize,a.key),a.Pl()&&(o=a.Ll(i))))),o):o}function c(e,t){var r,i,n,a,o,l,s=1024,c=atob(e),u=c.length,d=Math.ceil(u/s),f=Array(d);for(r=0;r<d;++r){for(i=r*s,n=Math.min(i+s,u),a=Array(n-i),o=i,l=0;o<n;++l,++o)a[l]=c[o].charCodeAt(0);f[r]=new Uint8Array(a)}return new Blob(f,{type:t})}o=function(){function e(){}return e.sl=function(t,r){var i,n=e.ul(t);return n?(i=s(t,r),i&&i.success?i.data:null):t},e.Ek=function(e,t){var r,i=new n.AesEngine,a=i.Nl(t),o=i.Yl(e);if(null!==a&&null!==o&&(r=i.Zl(a,o),r.success))return r.data},e.Fk=function(e){var t,r=[];for(t=0;t<e.length;t++)r[t]=String.fromCharCode(e[t]);return c(btoa(r.join("")),"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")},e.ul=function(e){var t,r=0,i=0,n=function(e){var t,r=[];for(t=0;t<e.length;t++)r[t]=e[e.length-t-1];return r};if(n(new Uint8Array(a.BufferHelper.ia(e,0,4))).forEach(function(e){r=256*r+e}),n(new Uint8Array(a.BufferHelper.ia(e,4,8))).forEach(function(e){i=256*i+e}),"E011CFD0"===r.toString(16).toUpperCase()&&"E11AB1A1"===i.toString(16).toUpperCase())try{return t=l(e),t.success&&t.encryptionInfoStream&&t.encryptPagStream}catch(e){return!1}return!1},e}(),t.XlsxEncryptionHelper=o},"./src/xlsx-io/reader/autofilter-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-parser.ts"),a=r("./src/common/range-parser.ts"),o=r("./src/xml-io/node-helper.ts"),l=i.Util.pa,s=o.XmlNodeHelper.Vm,c=o.XmlNodeHelper.Wm,u=o.XmlNodeHelper.Xm,d=o.XmlNodeHelper.He,f=i.StringEx.O,p={null:-1,aboveAverage:100,belowAverage:101,tomorrow:2,today:0,yesterday:1,nextWeek:9,thisWeek:7,lastWeek:8,nextMonth:6,thisMonth:4,lastMonth:5,nextQuarter:10,thisQuarter:11,lastQuarter:12,nextYear:13,thisYear:14,lastYear:15,yearToDate:16,Q1:17,Q2:18,Q3:19,Q4:20,M1:21,M2:22,M3:23,M4:24,M5:25,M6:26,M7:27,M8:28,M9:29,M10:30,M11:31,M12:32};function h(e){var t={};return t.cellColor=s(e._attr.cellColor,!0),t.dxfId=o.XmlNodeHelper.Xm(e._attr.dxfId,0),t}function m(e){var t,r,i={};return i.filter=[],i.blank=e._attr.blank,t=d(e.filter),t.forEach(function(e){var t=l(e._attr.val);i.filter.push(t)}),i.dateGroupItem=[],r=d(e.dateGroupItem),r.forEach(function(e){var t={},r=e._attr;t.day=u(r.day,1),t.hour=u(r.hour,0),t.minute=u(r.minute,0),t.month=u(r.month,0),t.second=u(r.second,0),t.year=u(r.year,0),i.dateGroupItem.push(t)}),i}function g(e){var t,r,i,n={},a=e._attr.and;return f(a)||(n.and="1"===a),t=d(e.customFilter),t.length>0&&(r=n.filter1={},r.operator=t[0]._attr.operator,r.value=t[0]._attr.val),t.length>1&&(i=n.filter2={},i.operator=t[1]._attr.operator,i.value=t[1]._attr.val),n}function b(e){var t,r,i={};return i.type=p[e._attr.type],t=e._attr.val,r=e._attr.maxVal,f(t)||(i.value=t),f(r)||(i.maxValue=r),i}function w(e){var t={};return t.value=c(e._attr.val,NaN),t.percent=s(e._attr.percent,!1),t.top=s(e._attr.top,!0),t}function C(e){var t={},r=e.sortCondition._attr;return r&&(t.ascending=!r.descending,t.index=a.getRangesFromString(r.ref)[0].col,"fontColor"!==r.sortBy&&"cellColor"!==r.sortBy||(t.isBackColor="cellColor"===r.sortBy,t.dxfId=u(r.dxfId,0))),t}t.readSortInfo=C;function S(e){var t,r,i={},n=e._attr.ref.toUpperCase();return n&&"#REF!"!==n?(t=a.getRangesFromString(n),t[0]&&(i.range=t[0]),i.filterColumns=[],r=d(e.filterColumn),r.forEach(function(e){var t={},r=e._attr.colId;t.hiddenButton=o.XmlNodeHelper.Vm(e._attr.hiddenButton,!1),f(r)||(t.autoFilterColumnId=parseInt(r,10)),e.colorFilter&&(t.colorFilter=h(e.colorFilter)),e.filters&&(t.filters=m(e.filters)),e.customFilters&&(t.customFilters=g(e.customFilters)),e.dynamicFilter&&(t.dynamicFilter=b(e.dynamicFilter)),
29
+ e.top10&&(t.top10Filter=w(e.top10)),i.filterColumns.push(t)}),i):null}t.readAutoFilter=S;function y(e,t,r){var i=n.parseXmlToObject(e.readFullElement()).autoFilter,a=S(i);i.sortState&&(a.sortInfo=C(i.sortState)),r.Og(t,a)}t.readAutoFilterForSheet=y},"./src/xlsx-io/reader/chart-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k,E,I,F,P,D,R,L,_,N,B,M,O,G,H,U,J,W,V,z,j,X,K,q,Y,Q,Z,$,ee,te,re,ie,ne,ae,oe,le,se,ce,ue,de,fe,pe,he,me,ge,be,we,Ce,Se,ye,ve,xe,Te,Ae,ke,Ee,Ie,Fe,Pe;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/datamodel/chart-model.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/xlsx-io/common/chart-helper.ts"),o=r("./src/common/common.ts"),l=r("./src/xml-io/node-helper.ts"),s=r("./src/datamodel/excel-helper.ts"),c=n.UnitHelper.emuToPixles,u=o.Util.pa,d=l.XmlNodeHelper.Vm,f=l.XmlNodeHelper.Wm,p=l.XmlNodeHelper.Xm,h=null,m="val",g="name",b="type",w="prst",C="extLst",S="cNvPr",y="macro",v="effectLst",x="effectDag",T="fPublished",A="graphicFrame",k="dumy",E="ext",I="scrgbClr",F="srgbClr",P="hslClr",D="sysClr",R="schemeClr",L="prstClr",_="styleClr",N="noFill",B="solidFill",M="gradFill",O="blipFill",G="pattFill",H="grpFill",U="delete",J="idx",W="scene3d",V="spPr",z="txPr",j="sqref",X="invertIfNegative",K="bubble3D",q="marker",Y="grpSp",Q="cxnSp",Z="clrScheme",$="fontScheme",ee="fmtScheme",te="layout",re="pictureOptions",ie="order",ne="gapWidth",ae="dLbls",oe="trendline",le="errBars",se="ser",ce="dropLines",ue="axId",de="grouping",fe="varyColors",pe="scaling",he="axPos",me="majorGridlines",ge="minorGridlines",be="title",we="numFmt",Ce="majorTickMark",Se="minorTickMark",ye="tickLblPos",ve="crossAx",xe="crosses",Te="crossesAt",Ae="style",ke="rotWithShape",Ee="Requires";function De(e,t){return o.J(e)?t:e}function Re(e){var t=e.readAttributeNameAsString().split(":");return t.length>1?t[1]:t[0]}function Le(e){var t=e.name().split(":");return t.length>1?t[1]:t[0]}function _e(e,t,r){for(var i,n;e.moveToNextAttribute();)if(i=Re(e),i===t)return n=e.readContentAsString(),r&&(n=r(n)),n}function Ne(e,t,r,i){var n,a,o,l,s=i||{};if(3===e.elementType)return s;for(n=e.depth;e.read()&&(a=e.depth,o=e.elementType,a!==n||2!==o);)a>n+1||2===o||(l=Le(e),l===t&&(s[t]=r(e)));return s}function Be(e,t){for(var r,i,n,a,o=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==o||2!==i);)if(!(r>o+1||2===i)){switch(n=Le(e),a={},n){case I:a.scrgbClr=Pt(e);break;case F:a.srgbClr=Rt(e);break;case P:a.hslClr=Lt(e);break;case D:a.sysClr=_t(e);break;case R:a.schemeClr=Nt(e);break;case L:a.prstClr=Bt(e)}t.push(a)}return t}function Me(e,t){for(var r,i,n,a=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==a||2!==i);)if(!(r>a+1||2===i))switch(n=Le(e)){case I:t.scrgbClr=Pt(e);break;case F:t.srgbClr=Rt(e);break;case P:t.hslClr=Lt(e);break;case D:t.sysClr=_t(e);break;case R:t.schemeClr=Nt(e);break;case L:t.prstClr=Bt(e)}return t}function Oe(e,t){for(var r,i,n,a=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==a||2!==i);)if(!(r>a+1||2===i))switch(n=Le(e)){case N:t.noFill=to();break;case B:t.solidFill=ro(e);break;case M:t.gradFill=lo(e);break;case O:t.blipFill=po(e);break;case G:t.pattFill=ho(e);break;case H:t.grpFill=mo()}return t}t.DrawingReader={};function Ge(e,r){for(var i,n,a,o=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==o||2!==n);)if(!(i>o+1||2===n))switch(a=Le(e)){case N:r.items.push(t.DrawingReader.ReadCT_NoFillProperties(e));break;case B:r.items.push(t.DrawingReader.ReadCT_SolidColorFillProperties(e));break;case M:r.items.push(t.DrawingReader.ReadCT_GradientFillProperties(e));break;case O:r.items.push(t.DrawingReader.ReadCT_BlipFillProperties(e));break;case G:r.items.push(t.DrawingReader.ReadCT_PatternFillProperties(e));break;case H:r.items.push(t.DrawingReader.ReadCT_GroupFillProperties(e))}return r}function He(e,t){for(var r,i,n,a=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==a||2!==i);)if(!(r>a+1||2===i))switch(n=Le(e)){case"tint":t.tint=[wt(e)];break;case"shade":t.shade=[wt(e)];break;case"comp":t.comp=[Tt()];break;case"inv":t.inv=[At()];break;case"gray":t.gray=[kt()];break;case"alpha":t.alpha=[wt(e)];break;case"alphaMod":t.alphaMod=[gt(e)];break;case"alphaOff":t.alphaOff=[bt(e)];break;case"hue":t.hue=[ht(e)];break;case"hueMod":t.hueMod=[gt(e)];break;case"hueOff":t.hueOff=[dt(e)];break;case"sat":t.sat=[mt(e)];break;case"satMod":t.satMod=[mt(e)];break;case"satOff":t.satOff=[mt(e)];break;case"lum":t.lum=[mt(e)];break;case"lumMod":t.lumMod=[mt(e)];break;case"lumOff":t.lumOff=[mt(e)];break;case"red":t.red=[mt(e)];break;case"redMod":t.redMod=[mt(e)];break;case"redOff":t.redOff=[mt(e)];break;case"green":t.green=[mt(e)];break;case"greenMod":t.greenMod=[mt(e)];break;case"greenOff":t.greenOff=[mt(e)];break;case"blue":t.blue=[mt(e)];break;case"blueMod":t.blueMod=[mt(e)];break;case"blueOff":t.blueOff=[mt(e)];break;case"gamma":t.gamma=[Et()];break;case"invGamma":t.invGamma=[It()]}return t}function Ue(e,t){for(var r,i,n,a=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==a||2!==i);)if(!(r>a+1||2===i))switch(n=Le(e)){case"wireframe":t.wireframe=$t(e);break;case se:t.ser.push(gi(e));break;case"bandFmts":t.bandFmts=Hi(e);break;case ue:t.axId.push(rr(e));break;case C:t.extLst=ar(e)}return t}function Je(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===S&&(a.cNvPr=fa(e)));return a}function We(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===j&&(a.sqref=e.readElementContentAsString()));return a}function Ve(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"val"===t&&(r.val=parseInt(e.readContentAsString(),10));return r}function ze(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"entityType":r.entityType=i.Charts.ST_EntityType[e.readContentAsString()];break;case"entityId":r.entityId=e.readContentAsString()}return r}function je(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"val"===t&&(r.val=e.readContentAsDouble());return r}Ie={},Ie.ReadContentValueAsString=function(e){for(var t,r="";e.moveToNextAttribute();)t=Re(e),"val"===t&&(r=e.readContentAsString());return r};function Xe(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"spPr":i.spPr=el(e);break;case"extLst":i.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=t)break}return i}function Ke(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"tx":i.tx=Ie.ReadCT_Text(e);break;case"spPr":i.spPr=el(e);break;case"txPr":i.txPr=Vl(e);break;case"extLst":i.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=t)break}return i}function qe(e){for(var t,r,i={};e.moveToNextAttribute();)t=Re(e),"idx"===t&&(i.idx=parseInt(e.readContentAsString(),10));if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"spPr":i.spPr=el(e);break;case"extLst":i.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return i}Ie.ReadElementContentAsString=function(e){var t="";if(3===e.elementType)return t;for(1===e.elementType&&(t=e.readElementContentAsString());e.read()&&2!==e.elementType;);return t},Ie.ReadCT_ChartStyle=function(e){for(var t,r,i,n={attribute:{}};e.moveToNextAttribute();)t=Re(e),n.attribute[t]=e.readContentAsString();for(r=e.depth;e.read()&&!(e.depth<=r)&&(i=Le(e),"dataPointMarkerLayout"===i?n.dataPointMarkerLayout=Ie.ReadCT_DataPointMarkerLayout(e):"extLst"===i?n.extLst=Ot(e):n[i]=Ie.ReadCT_ChartStyleElement(e),!(e.depth<=r)););return n},Ie.ReadCT_ChartStyleElement=function(e){for(var t,r,i={attribute:{}},n=e.depth;e.moveToNextAttribute();)t=Re(e),"mods"===t&&(i.attribute[t]=e.readContentAsString());if(3===e.elementType)return i;for(;e.read()&&!(e.depth<=n)&&(r=Le(e),"lnRef"===r||"fillRef"===r||"effectRef"===r?i[r]=rl(e):"fontRef"===r?i.fontRef=il(e):r===V?i.spPr=el(e):"defRPr"===r?i.defRPr=ns(e):"bodyPr"===r&&(i.bodyPr=Wl(e)),!(e.depth<=n)););return i},Ie.ReadCT_DataPointMarkerLayout=function(e){for(var t,r={attribute:{}};e.moveToNextAttribute();)t=Re(e),r.attribute[t]=e.readContentAsString();return r},Ie.ReadCT_Extension=function(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"uri"===t&&(r.uri=e.readContentAsString());return 3===e.elementType?r:r},Ie.ReadCT_chartColors=function(e){for(var t,r,i={schemeClr:[],variation:[],attribute:{}},n=e.depth;e.moveToNextAttribute();)t=Re(e),i.attribute[t]=e.readContentAsString();if(3===e.elementType)return i;for(;e.read()&&!(e.depth<=n)&&(r=Le(e),"schemeClr"===r?i.schemeClr.push(Nt(e)):"variation"===r&&i.variation.push(Ie.ReadCT_Variation(e)),!(e.depth<=n)););return i},Ie.ReadCT_Variation=function(e){var t,r={},i=e.depth;if(3===e.elementType)return r;for(;e.read()&&!(e.depth<=i)&&(t=Le(e),"lumMod"===t?r.lumMod=mt(e):"lumOff"===t&&(r.lumOff=mt(e)),!(e.depth<=i)););return r},Ie.ReadCT_ExtensionList=function(e){var t,r,i={ext:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"ext"===r&&i.ext.push(Ie.ReadCT_Extension(e)),!(e.depth<=t)););return i},Ie.ReadCT_NumberFormat=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"formatCode":r.formatCode=u(e.readContentAsString());break;case"sourceLinked":r.sourceLinked=e.readContentAsBoolean()}return r},Ie.ReadCT_ValueColors=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"minColor":i.minColor=ro(e);break;case"midColor":i.midColor=ro(e);break;case"maxColor":i.maxColor=ro(e)}if(e.depth<=t)break}return i},Ie.ReadCT_ExternalData=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"id":r.id=e.readContentAsString();break;case"autoUpdate":r.autoUpdate=e.readContentAsBoolean()}return r},Ie.ReadCT_Formula=function(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"dir"===t&&(r.dir=i.Charts.ST_FormulaDirection[e.readContentAsString()]);if(3===e.elementType)return r;for(1===e.elementType&&(r.formula=e.readElementContentAsString());e.read()&&2!==e.elementType;);return r},Ie.ReadCT_Value=function(e){var t={};if(3===e.elementType)return t;for(1===e.elementType&&(t.value=e.readElementContentAsString());e.read()&&2!==e.elementType;);return t},Ie.ReadCT_DataId=function(e){return Ve(e)},Ie.ReadST_AxisId=function(e){return Ve(e)},Ie.ReadCT_StringValue=function(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"idx"===t&&(r.idx=e.readContentAsInt());if(3===e.elementType)return r;for(1===e.elementType&&(r.value=e.readElementContentAsString());e.read()&&2!==e.elementType;);return r},Ie.ReadCT_StringLevel=function(e){for(var t,r,i={};e.moveToNextAttribute();)switch(t=Re(e)){case"ptCount":i.ptCount=parseInt(e.readContentAsString(),10);break;case"name":i.name=e.readContentAsString()}if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r)&&(t=Le(e),"pt"===t&&i.pt.push(Ie.ReadCT_StringValue(e)),!(e.depth<=r)););return i},Ie.ReadCT_StringDimension=function(e){for(var t,r,n={};e.moveToNextAttribute();)t=Re(e),"type"===t&&(n.type=i.Charts.ST_StringDimensionType[e.readContentAsString()]);if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"lvl":n.lvl.push(Ie.ReadCT_StringLevel(e));break;case"nf":n.nf=Ie.ReadCT_Formula(e);break;case"f":n.f=Ie.ReadCT_Formula(e)}if(e.depth<=r)break}return n},Ie.ReadCT_NumericValue=function(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"idx"===t&&(r.idx=e.readContentAsInt());if(3===e.elementType)return r;for(1===e.elementType&&(r.value=e.readElementContentAsDouble());e.read()&&2!==e.elementType;);return r},Ie.ReadCT_NumericLevel=function(e){for(var t,r,i={};e.moveToNextAttribute();)switch(t=Re(e)){case"ptCount":i.ptCount=parseInt(e.readContentAsString(),10);break;case"formatCode":i.formatCode=e.readContentAsString();break;case"name":i.name=e.readContentAsString()}if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r)&&(t=Le(e),"pt"===t&&i.pt.push(Ie.ReadCT_NumericValue(e)),!(e.depth<=r)););return i},Ie.ReadCT_NumericDimension=function(e){for(var t,r,n={lvl:[]};e.moveToNextAttribute();)t=Re(e),"type"===t&&(n.type=i.Charts.ST_NumericDimensionType[e.readContentAsString()]);if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"lvl":n.lvl.push(Ie.ReadCT_NumericLevel(e));break;case"nf":n.nf=Ie.ReadCT_Formula(e);break;case"f":n.f=Ie.ReadCT_Formula(e)}if(e.depth<=r)break}return n},Ie.ReadCT_Data=function(e){for(var t,r,i={numDim:[],strDim:[]};e.moveToNextAttribute();)t=Re(e),"id"===t&&(i.id=parseInt(e.readContentAsString(),10));if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"extLst":i.extLst=Ie.ReadCT_ExtensionList(e);break;case"numDim":i.numDim.push(Ie.ReadCT_NumericDimension(e));break;case"strDim":i.strDim.push(Ie.ReadCT_StringDimension(e))}if(e.depth<=r)break}return i},Ie.ReadCT_ChartData=function(e){var t,r,i={data:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"externalData":i.externalData=Ie.ReadCT_ExternalData(e);break;case"data":i.data.push(Ie.ReadCT_Data(e));break;case"extLst":i.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=t)break}return i},Ie.ReadCT_TextData=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"f":i.f=Ie.ReadCT_Formula(e);break;case"v":i.v=Ie.ReadCT_Value(e)}if(e.depth<=t)break}return i},Ie.ReadCT_Text=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"txData":i.txData=Ie.ReadCT_TextData(e);break;case"rich":i.rich=Vl(e)}if(e.depth<=t)break}return i},Ie.ReadCT_ChartTitle=function(e){for(var t,r,n={};e.moveToNextAttribute();)switch(t=Re(e)){case"pos":n.pos=i.Charts.ST_SidePos[e.readContentAsString()];break;case"align":n.align=i.Charts.ST_PosAlign[e.readContentAsString()];break;case"overlay":n.overlay=e.readContentAsBoolean()}if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"tx":n.tx=Ie.ReadCT_Text(e);break;case"spPr":n.spPr=el(e);break;case"txPr":n.txPr=Vl(e);break;case"extLst":n.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return n},Ie.ReadCT_CategoryAxisScaling=function(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"gapWidth"===t&&(r.gapWidth=e.readContentAsString());return r},Ie.ReadCT_ValueAxisScaling=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"max":r.max=e.readContentAsString();break;case"min":r.min=e.readContentAsString();break;case"majorUnit":r.majorUnit=e.readContentAsString();break;case"minorUnit":r.minorUnit=e.readContentAsString()}return r},Ie.ReadCT_AxisTitle=function(e){return Ke(e)},Ie.ReadCT_AxisUnitsLabel=function(e){return Ke(e)},Ie.ReadCT_AxisUnits=function(e){for(var t,r,n={};e.moveToNextAttribute();)t=Re(e),"unit"===t&&(n.unit=i.Charts.ST_AxisUnit[e.readContentAsString()]);if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"unitsLabel":n.unitsLabel=Ie.ReadCT_AxisUnitsLabel(e);break;case"extLst":n.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return n},Ie.ReadCT_Gridlines=function(e){return Xe(e)},Ie.ReadCT_TickMarks=function(e){for(var t,r,n={};e.moveToNextAttribute();)t=Re(e),"type"===t&&(n=i.Charts.ST_TickMarksType[e.readContentAsString()]);if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r)&&(t=Le(e),"extLst"===t&&(n.extLst=Ie.ReadCT_ExtensionList(e)),!(e.depth<=r)););return n},Ie.ReadCT_TickLabels=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"extLst"===r&&(i.extLst=Ie.ReadCT_ExtensionList(e)),!(e.depth<=t)););return i},Ie.ReadCT_Axis=function(e){for(var t,r,i={};e.moveToNextAttribute();)switch(t=Re(e)){case"id":i.id=parseInt(e.readContentAsString(),10);break;case"hidden":i.hidden=e.readContentAsBoolean()}if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"title":i.title=Ie.ReadCT_AxisTitle(e);break;case"units":i.units=Ie.ReadCT_AxisUnits(e);break;case"majorGridlines":i.majorGridlines=Ie.ReadCT_Gridlines(e);break;case"minorGridlines":i.minorGridlines=Ie.ReadCT_Gridlines(e);break;case"majorTickMarks":i.majorTickMarks=Ie.ReadCT_TickMarks(e);break;case"minorTickMarks":i.minorTickMarks=Ie.ReadCT_TickMarks(e);break;case"tickLabels":i.tickLabels=Ie.ReadCT_TickLabels(e);break;case"numFmt":i.numFmt=Ie.ReadCT_NumberFormat(e);break;case"spPr":i.spPr=el(e);break;case"txPr":i.txPr=Vl(e);break;case"extLst":i.extLst=Ie.ReadCT_ExtensionList(e);break;case"catScaling":i.catScaling=Ie.ReadCT_CategoryAxisScaling(e);break;case"valScaling":i.valScaling=Ie.ReadCT_ValueAxisScaling(e)}if(e.depth<=r)break}return i},Ie.ReadCT_ParentLabelLayout=function(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"val"===t&&(r.val=i.Charts.ST_ParentLabelLayout[e.readContentAsString()]);return r},Ie.ReadCT_RegionLabelLayout=function(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"val"===t&&(r.val=i.Charts.ST_RegionLabelLayout[e.readContentAsString()]);return r},Ie.ReadCT_SeriesElementVisibilities=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"connectorLines":r.connectorLines=e.readContentAsBoolean();break;case"meanLine":r.meanLine=e.readContentAsBoolean();break;case"meanMarker":r.meanMarker=e.readContentAsBoolean();break;case"nonoutliers":r.nonoutliers=e.readContentAsBoolean();break;case"outliers":r.outliers=e.readContentAsBoolean()}return r},Ie.ReadCT_Aggregation=function(){return{}},Ie.ReadCT_Binning=function(e){for(var t,r,n={};e.moveToNextAttribute();)switch(t=Re(e)){case"intervalClosed":n.intervalClosed=i.Charts.ST_IntervalClosedSide[e.readContentAsString()];break;case"underflow":n.underflow=e.readContentAsString();break;case"overflow":n.overflow=e.readContentAsString()}if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"binSize":n.binSize=Ie.ReadBinSize(e);break;case"binCount":n.binCount=Ie.ReadBinCount(e)}if(e.depth<=r)break}return n},Ie.ReadBinSize=function(e){return je(e)},Ie.ReadBinCount=function(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"val"===t&&(r.val=e.readContentAsInt());return r},Ie.ReadCT_GeoLocationQuery=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"countryRegion":r.countryRegion=e.readContentAsString();break;case"adminDistrict1":r.adminDistrict1=e.readContentAsString();break;case"adminDistrict2":r.adminDistrict2=e.readContentAsString();break;case"postalCode":r.postalCode=e.readContentAsString();break;case"entityType":r.entityType=i.Charts.ST_EntityType[e.readContentAsString()]}return r},Ie.ReadCT_Address=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"address1":r.address1=e.readContentAsString();break;case"countryRegion":r.countryRegion=e.readContentAsString();break;case"adminDistrict1":r.adminDistrict1=e.readContentAsString();break;case"adminDistrict2":r.adminDistrict2=e.readContentAsString();break;case"postalCode":r.postalCode=e.readContentAsString();break;case"locality":r.locality=e.readContentAsString();break;case"isoCountryCode":r.isoCountryCode=e.readContentAsString()}return r},Ie.ReadCT_GeoLocation=function(e){for(var t,r,n={};e.moveToNextAttribute();)switch(t=Re(e)){case"latitude":n.latitude=e.readContentAsDouble();break;case"longitude":n.longitude=e.readContentAsDouble();break;case"entityName":n.entityName=e.readContentAsString();break;case"entityType":n.entityType=i.Charts.ST_EntityType[e.readContentAsString()]}if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r)&&(t=Le(e),"address"===t&&(n.address=Ie.ReadCT_Address(e)),!(e.depth<=r)););return n},Ie.ReadCT_GeoLocations=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"geoLocation"===r&&(i.geoLocation=Ie.ReadCT_GeoLocation(e)),!(e.depth<=t)););return i},Ie.ReadCT_GeoLocationQueryResult=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"geoLocationQuery":i.geoLocationQuery=Ie.ReadCT_GeoLocationQuery(e);break;case"geoLocations":i.geoLocations=Ie.ReadCT_GeoLocations(e)}if(e.depth<=t)break}return i},Ie.ReadCT_GeoLocationQueryResults=function(e){var t,r,i={geoLocationQueryResult:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"geoLocationQueryResult"===r&&i.geoLocationQueryResult.push(Ie.ReadCT_GeoLocationQueryResult(e)),!(e.depth<=t)););return i},Ie.ReadCT_GeoPolygon=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"polygonId":r.polygonId=e.readContentAsString();break;case"numPoints":break;case"pcaRings":r.pcaRings=e.readContentAsString()}return r},Ie.ReadCT_GeoPolygons=function(e){var t,r,i={geoPolygon:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"geoPolygon"===r&&i.geoPolygon.push(Ie.ReadCT_GeoPolygon(e)),!(e.depth<=t)););return i},Ie.ReadCT_Copyrights=function(e){var t,r,i={copyright:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"copyright"===r&&i.copyright.push(Ie.ReadElementContentAsString(e)),!(e.depth<=t)););return i},Ie.ReadCT_GeoData=function(e){for(var t,r,i={geoPolygons:[],copyrights:[]};e.moveToNextAttribute();)switch(t=Re(e)){case"entityName":i.entityName=e.readContentAsString();break;case"entityId":i.entityId=e.readContentAsString();break;case"east":i.east=e.readContentAsDouble();break;case"west":i.west=e.readContentAsDouble();break;case"north":i.north=e.readContentAsDouble();break;case"south":i.south=e.readContentAsDouble()}if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"geoPolygons":i.geoPolygons.push(Ie.ReadCT_GeoPolygon(e));break;case"copyrights":i.copyrights=Ie.ReadCT_Copyrights(e)}if(e.depth<=r)break}return i},Ie.ReadCT_GeoDataEntityQuery=function(e){return ze(e)},Ie.ReadCT_GeoDataEntityQueryResult=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"geoDataEntityQuery":i.geoDataEntityQuery=Ie.ReadCT_GeoDataEntityQuery(e);break;case"geoData":i.geoData=Ie.ReadCT_GeoData(e)}if(e.depth<=t)break}return i},Ie.ReadCT_GeoDataEntityQueryResults=function(e){var t,r,i={geoDataEntityQueryResult:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"geoDataEntityQueryResult"===r&&i.geoDataEntityQueryResult.push(Ie.ReadCT_GeoDataEntityQueryResult(e)),!(e.depth<=t)););return i},Ie.ReadCT_GeoDataPointQuery=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"entityType":r.entityType=i.Charts.ST_EntityType[e.readContentAsString()];break;case"latitude":r.latitude=e.readContentAsDouble();break;case"longitude":r.longitude=e.readContentAsDouble()}return r},Ie.ReadCT_GeoDataPointToEntityQuery=function(e){return ze(e)},Ie.ReadCT_GeoDataPointToEntityQueryResult=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"geoDataPointQuery":i.geoDataPointQuery=Ie.ReadCT_GeoDataPointQuery(e);break;case"geoDataPointToEntityQuery":i.geoDataPointToEntityQuery=Ie.ReadCT_GeoDataPointToEntityQuery(e)}if(e.depth<=t)break}return i},Ie.ReadCT_GeoDataPointToEntityQueryResults=function(e){var t,r,i={geoDataPointToEntityQueryResult:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"geoDataPointToEntityQueryResult"===r&&i.geoDataPointToEntityQueryResult.push(Ie.ReadCT_GeoDataPointToEntityQueryResult(e)),!(e.depth<=t)););return i},Ie.ReadCT_GeoChildTypes=function(e){var t,r,i={entityType:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"entityType"===r&&i.entityType.push(Ie.ReadElementContentAsString(e)),!(e.depth<=t)););return i},Ie.ReadCT_GeoChildEntitiesQuery=function(e){for(var t,r,i={geoChildTypes:[]};e.moveToNextAttribute();)t=Re(e),"entityId"===t&&(i.entityId=e.readContentAsString());if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r)&&(t=Le(e),"geoChildTypes"===t&&(i.geoChildTypes=Ie.ReadCT_GeoChildTypes(e)),!(e.depth<=r)););return i},Ie.ReadCT_GeoHierarchyEntity=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"entityName":r.entityName=e.readContentAsString();break;case"entityId":r.entityId=e.readContentAsString();break;case"entityType":r.entityType=i.Charts.ST_EntityType[e.readContentAsString()]}return r},Ie.ReadCT_GeoChildEntities=function(e){var t,r,i={geoHierarchyEntity:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"geoHierarchyEntity"===r&&i.geoHierarchyEntity.push(Ie.ReadCT_GeoHierarchyEntity(e)),!(e.depth<=t)););return i},Ie.ReadCT_GeoChildEntitiesQueryResult=function(e){var t,r,i={geoChildEntities:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"geoChildEntitiesQuery":i.geoChildEntitiesQuery=Ie.ReadCT_GeoChildEntitiesQuery(e);break;case"geoChildEntities":i.geoChildEntities.push(Ie.ReadCT_GeoHierarchyEntity(e))}if(e.depth<=t)break}return i},Ie.ReadCT_GeoChildEntitiesQueryResults=function(e){var t,r,i={geoChildEntitiesQueryResult:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"geoChildEntitiesQueryResult"===r&&i.geoChildEntitiesQueryResult.push(Ie.ReadCT_GeoChildEntitiesQueryResult(e)),!(e.depth<=t)););return i},Ie.ReadCT_Clear=function(e){var t,r,i={geoChildEntitiesQueryResults:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"geoLocationQueryResults":i.geoLocationQueryResults=Ie.ReadCT_GeoLocationQueryResults(e);break;case"geoDataEntityQueryResults":i.geoDataEntityQueryResults=Ie.ReadCT_GeoDataEntityQueryResults(e);break;case"geoDataPointToEntityQueryResults":i.geoDataPointToEntityQueryResults=Ie.ReadCT_GeoDataPointToEntityQueryResults(e);break;case"geoChildEntitiesQueryResults":i.geoChildEntitiesQueryResults=Ie.ReadCT_GeoChildEntitiesQueryResults(e)}if(e.depth<=t)break}return i},Ie.ReadCT_GeoCache=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"provider":r.provider=e.readContentAsString();break;case"binary":r.binary=e.readContentAsString();break;case"clear":r.clear=Ie.ReadCT_Clear(e)}return r},Ie.ReadCT_Geography=function(e){for(var t,r,n={};e.moveToNextAttribute();)switch(t=Re(e)){case"projectionType":n.projectionType=i.Charts.ST_GeoProjectionType[e.readContentAsString()];break;case"viewedRegionType":n.viewedRegionType=i.Charts.ST_GeoMappingLevel[e.readContentAsString()];break;case"cultureLanguage":n.cultureLanguage=e.readContentAsString();break;case"cultureRegion":n.cultureRegion=e.readContentAsString();break;case"attribution":n.attribution=e.readContentAsString()}if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r)&&(t=Le(e),"geoCache"===t&&(n.geoCache=Ie.ReadCT_GeoCache(e)),!(e.depth<=r)););return n},Ie.ReadCT_Statistics=function(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"quartileMethod"===t&&(r.quartileMethod=i.Charts.ST_QuartileMethod[e.readContentAsString()]);return r},Ie.ReadCT_Subtotals=function(e){var t,r,i={idx:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"idx"===r&&i.idx.push(parseInt(Ie.ReadContentValueAsString(e),10)),!(e.depth<=t)););return i},Ie.ReadCT_SeriesLayoutProperties=function(e){var t,r,i={subtotals:[],extLst:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"parentLabelLayout":i.parentLabelLayout=Ie.ReadCT_ParentLabelLayout(e);break;case"regionLabelLayout":i.regionLabelLayout=Ie.ReadCT_RegionLabelLayout(e);break;case"visibility":i.visibility=Ie.ReadCT_SeriesElementVisibilities(e);break;case"geography":i.geography=Ie.ReadCT_Geography(e);break;case"statistics":i.statistics=Ie.ReadCT_Statistics(e);break;case"subtotals":i.subtotals=Ie.ReadCT_Subtotals(e);break;case"extLst":i.extLst=Ie.ReadCT_ExtensionList(e);break;case"aggregation":i.aggregation=Ie.ReadCT_Aggregation(e);break;case"binning":i.binning=Ie.ReadCT_Binning(e)}if(e.depth<=t)break}return i},Ie.ReadCT_DataPoint=function(e){return qe(e)},Ie.ReadCT_ExtremeValueColorPosition=function(){return{}},Ie.ReadCT_NumberColorPosition=function(e){return je(e)},Ie.ReadCT_PercentageColorPosition=function(e){return je(e)},Ie.ReadCT_ValueColorEndPosition=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"extremeValue":i.extremeValue=Ie.ReadCT_ExtremeValueColorPosition(e);break;case"number":i.number=Ie.ReadCT_NumberColorPosition(e);break;case"percent":i.percent=Ie.ReadCT_PercentageColorPosition(e)}if(e.depth<=t)break}return i},Ie.ReadCT_ValueColorMiddlePosition=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"number":i.aggregation=Ie.ReadCT_NumberColorPosition(e);break;case"percent":i.binning=Ie.ReadCT_PercentageColorPosition(e)}if(e.depth<=t)break}return i},Ie.ReadCT_ValueColorPositions=function(e){for(var t,r,i={};e.moveToNextAttribute();)t=Re(e),"count"===t&&(i.count=e.readContentAsInt());if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"min":i.min=Ie.ReadCT_ValueColorEndPosition(e);break;case"mid":i.mid=Ie.ReadCT_ValueColorMiddlePosition(e);break;case"max":i.max=Ie.ReadCT_ValueColorEndPosition(e)}if(e.depth<=r)break}return i},Ie.ReadCT_DataLabelVisibilities=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"seriesName":r.seriesName=e.readContentAsBoolean();break;case"categoryName":r.categoryName=e.readContentAsBoolean();break;case"value":r.value=e.readContentAsBoolean()}return r},Ie.ReadCT_DataLabel=function(e){for(var t,r,n={};e.moveToNextAttribute();)switch(t=Re(e)){case"idx":n.idx=parseInt(e.readContentAsString(),10);break;case"pos":n.pos=i.Charts.ST_DataLabelPos[e.readContentAsString()]}if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"numFmt":n.numFmt=Ie.ReadCT_NumberFormat(e);break;case"spPr":n.spPr=el(e);break;case"txPr":n.txPr=Vl(e);break;case"visibility":n.visibility=Ie.ReadCT_DataLabelVisibilities(e);break;case"separator":n.separator=Ie.ReadElementContentAsString(e);break;case"extLst":n.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return n},Ie.ReadCT_DataLabelHidden=function(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"idx"===t&&(r.idx=parseInt(e.readContentAsString(),10));return r},Ie.ReadCT_DataLabels=function(e){for(var t,r,n={dataLabel:[],dataLabelHidden:[],extLst:[]};e.moveToNextAttribute();)t=Re(e),"pos"===t&&(n.pos=i.Charts.ST_DataLabelPos[e.readContentAsString()]);if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"numFmt":n.numFmt=Ie.ReadCT_NumberFormat(e);break;case"spPr":n.spPr=el(e);break;case"txPr":n.txPr=Vl(e);break;case"visibility":n.visibility=Ie.ReadCT_DataLabelVisibilities(e);break;case"separator":n.separator=Ie.ReadElementContentAsString(e);break;case"dataLabel":n.dataLabel.push(Ie.ReadCT_DataLabel(e));break;case"dataLabelHidden":n.dataLabelHidden.push(Ie.ReadCT_DataLabelHidden(e));break;case"extLst":n.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return n},Ie.ReadCT_Series=function(e){for(var t,r,n={dataPt:[],axisId:[],extLst:[]};e.moveToNextAttribute();)switch(t=Re(e)){case"layoutId":n.layoutId=a.ChartHelper.ToCT_ChartType(i.Charts.ST_SeriesLayout[e.readContentAsString()]);break;case"hidden":n.hidden=e.readContentAsBoolean();break;case"ownerIdx":n.ownerIdx=parseInt(e.readContentAsString(),10);break;case"uniqueId":n.uniqueId=e.readContentAsString();break;case"formatIdx":n.formatIdx=parseInt(e.readContentAsString(),10)}if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"tx":n.tx=Ie.ReadCT_Text(e);break;case"spPr":n.spPr=el(e);break;case"valueColors":n.valueColors=Ie.ReadCT_ValueColors(e);break;case"valueColorPositions":n.valueColorPositions=Ie.ReadCT_ValueColorPositions(e);break;case"dataPt":n.dataPt.push(Ie.ReadCT_DataPoint(e));break;case"dataLabels":
30
+ n.dataLabels=Ie.ReadCT_DataLabels(e);break;case"dataId":n.dataId=Ie.ReadCT_DataId(e);break;case"layoutPr":n.layoutPr=Ie.ReadCT_SeriesLayoutProperties(e);break;case"axisId":n.axisId.push(Ie.ReadST_AxisId(e));break;case"extLst":n.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return n},Ie.ReadCT_Legend=function(e){for(var t,r,n={};e.moveToNextAttribute();)switch(t=Re(e)){case"pos":n.legendPos=i.Charts.ST_2016ChartPosLegend[e.readContentAsString()];break;case"align":n.align=i.Charts.ST_PosAlign[e.readContentAsString()];break;case"overlay":n.overlay=e.readContentAsBoolean()}if(n.legendPos===i.Charts.ST_2016ChartPosLegend.r&&n.align===i.Charts.ST_PosAlign.min&&(n.legendPos=5),3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"spPr":n.spPr=el(e);break;case"txPr":n.txPr=Vl(e);break;case"extLst":n.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return n},Ie.ReadCT_PlotSurface=function(e){return Xe(e)},Ie.ReadCT_PlotAreaRegion=function(e){var t,r,i={extLst:[],series:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"plotSurface":i.plotSurface=Ie.ReadCT_PlotSurface(e);break;case"series":i.series.push(Ie.ReadCT_Series(e));break;case"extLst":i.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=t)break}return i},Ie.ReadCT_PlotArea=function(e){var t,r,i={axes:[],extLst:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"plotAreaRegion":i.plotAreaRegion=Ie.ReadCT_PlotAreaRegion(e);break;case"axis":i.axes.push(Ie.ReadCT_Axis(e));break;case"spPr":i.spPr=el(e);break;case"extLst":i.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=t)break}return i},Ie.ReadCT_Chart=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"title":i.title=Ie.ReadCT_ChartTitle(e);break;case"plotArea":i.plotArea=Ie.ReadCT_PlotArea(e);break;case"legend":i.legend=Ie.ReadCT_Legend(e);break;case"extLst":i.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=t)break}return i},Ie.ReadCT_FormatOverride=function(e){return qe(e)},Ie.ReadCT_FormatOverrides=function(e){var t,r,i={fmtOvr:[]};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Le(e),"fmtOvr"===r&&i.fmtOvr.push(Ie.ReadCT_FormatOverride(e)),!(e.depth<=t)););return i},Ie.ReadCT_HeaderFooter=function(e){for(var t,r,i={};e.moveToNextAttribute();)switch(t=Re(e)){case"alignWithMargins":i.alignWithMargins=e.readContentAsBoolean();break;case"differentOddEven":i.differentOddEven=e.readContentAsBoolean();break;case"differentFirst":i.differentFirst=e.readContentAsBoolean()}if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Le(e)){case"oddHeader":i.oddHeader=Ie.ReadElementContentAsString(e);break;case"oddFooter":i.oddFooter=Ie.ReadElementContentAsString(e);break;case"evenHeader":i.evenHeader=Ie.ReadElementContentAsString(e);break;case"evenFooter":i.evenFooter=Ie.ReadElementContentAsString(e);break;case"firstHeader":i.firstHeader=Ie.ReadElementContentAsString(e);break;case"firstFooter":i.firstFooter=Ie.ReadElementContentAsString(e)}if(e.depth<=r)break}return i},Ie.ReadCT_PageMargins=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"l":r.l=e.readContentAsDouble();break;case"r":r.r=e.readContentAsDouble();break;case"t":r.t=e.readContentAsDouble();break;case"b":r.b=e.readContentAsDouble();break;case"header":r.header=e.readContentAsDouble();break;case"footer":r.footer=e.readContentAsDouble()}return r},Ie.ReadCT_PageSetup=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"paperSize":r.paperSize=parseInt(e.readContentAsString(),10);break;case"firstPageNumber":r.firstPageNumber=s.convertFirstPageNumber(parseInt(e.readContentAsString(),10));break;case"orientation":r.orientation=i.Charts.ST_PageOrientation[e.readContentAsString()];break;case"blackAndWhite":r.blackAndWhite=e.readContentAsBoolean();break;case"draft":r.draft=e.readContentAsBoolean();break;case"useFirstPageNumber":r.useFirstPageNumber=e.readContentAsBoolean();break;case"horizontalDpi":r.horizontalDpi=e.readContentAsInt();break;case"verticalDpi":r.verticalDpi=e.readContentAsInt();break;case"copies":r.copies=parseInt(e.readContentAsString(),10)}return r},Ie.ReadCT_PrintSettings=function(e){var t,r,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Le(e)){case"headerFooter":i.headerFooter=Ie.ReadCT_HeaderFooter(e);break;case"pageMargins":i.pageMargins=Ie.ReadCT_PageMargins(e);break;case"pageSetup":i.pageSetup=Ie.ReadCT_PageSetup(e)}if(e.depth<=t)break}return i},Ie.ReadCT_ChartSpace=function(e,t){var r,i,n={};if(3===e.elementType)return n;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(i=Le(e)){case"chartData":n.chartData=Ie.ReadCT_ChartData(e);break;case"chart":n.chart=Ie.ReadCT_Chart(e);break;case"spPr":n.spPr=el(e);break;case"txPr":n.txPr=Vl(e);break;case"clrMapOvr":n.clrMapOvr=Pl(e);break;case"fmtOvrs":n.fmtOvrs=Ie.ReadCT_FormatOverrides(e);break;case"printSettings":n.printSettings=Ie.ReadCT_PrintSettings(e);break;case"extLst":n.extLst=Ie.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return t&&Ie.TranstateSeriesIDToData(n.chart.plotArea.plotAreaRegion.series,n.chartData.data,t),n},Ie.TranstateSeriesIDToData=function(e,t,r){var i,n,a,l,s,c,u,d,f,p,h=Ie.TranslateChartData(t),m=Ie.TranslateNameSpace(r);for(i=0;i<e.length;i++)n=e[i],o.J(n.dataId)||(a=n.dataId.val,l=h[a],o.J(l)||(s={},c=void 0,u=l.numDim&&l.numDim.formula,d=l.strDim&&l.strDim.formula,u&&(c=m[u],s.numDim=c),d&&(c=m[d],s.strDim=c),n.formulaObj=s)),f=n.tx&&n.tx.txData&&n.tx.txData.f&&n.tx.txData.f.formula,f&&(p=m[f],p&&(n.tx.txData.f.formula=p))},Ie.TranslateChartData=function(e){var t,r,i,n={};for(t=0;t<e.length;t++)r=e[t].id,i={},e[t].numDim.length>0&&(i.numDim=e[t].numDim&&e[t].numDim[0].f),e[t].strDim.length>0&&(i.strDim=e[t].strDim&&e[t].strDim[0].f),n[r]=i;return n},Ie.TranslateNameSpace=function(e){var t,r,i,n={};for(t=0;t<e.length;t++)r=e[t].name,i=e[t].formula,n[r]=i;return n},t.DrawingReader.Chart2016Reader=Ie;function Ye(e){var t,r,i,n,a,o={};if(o[g]=_e(e,g),3===e.elementType)return o;for(t=e.depth,r=["dk1","lt1","dk2","lt2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"];e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)i>t+1||2===n||(a=Le(e),a===C?o[a]=Ot(e):r.indexOf(a)>=0&&(o[a]=qt(e)));return o}t.DrawingReader.ReadCT_ColorScheme=Ye;function Qe(e){var t={};return t[g]=_e(e,g),3===e.elementType?t:Me(e,t)}t.DrawingReader.ReadCT_CustomColor=Qe;function Ze(e,t){for(var r,i={};e.moveToNextAttribute();)r=Re(e),r!==t[0]&&r!==t[1]||(i[r]=e.readContentAsString());return i}function $e(e){return Ze(e,["script","typeface"])}t.DrawingReader.ReadCT_SupplementalFont=$e;function et(e){var t,r,i,n,a={custClr:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"custClr"===n?a.custClr.push(Qe(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_CustomColorList=et;function tt(e){var t,r,i,n,a={font:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"latin":a.latin=es(e);break;case"ea":a.ea=es(e);break;case"cs":a.cs=es(e);break;case"font":a.font.push($e(e));break;case C:a.extLst=Ot(e)}return a}t.DrawingReader.ReadCT_FontCollection=tt;function rt(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case v:a.effectLst=To(e);break;case x:a.effectDag=yo(e);break;case W:a.scene3d=Aa(e);break;case"sp3d":a.sp3d=Ia(e)}return a}t.DrawingReader.ReadCT_EffectStyleItem=rt;function it(e){var t,r,i,n,a={};if(a[g]=_e(e,g),3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"majorFont"===n||"minorFont"===n?a[n]=tt(e):n===C&&(a.extLst=Ot(e)));return a}t.DrawingReader.ReadCT_FontScheme=it;function nt(e){var t={items:[]};return 3===e.elementType?t:Ge(e,t)}t.DrawingReader.ReadCT_FillStyleList=nt;function at(e){var r,i,n,a,o={ln:[]};if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)i>r+1||2===n||(a=Le(e),"ln"===a?o.ln.push(t.DrawingReader.ReadCT_LineProperties(e)):a===k&&(o.dumy=e.readElementContentAsBoolean()));return o}t.DrawingReader.ReadCT_LineStyleList=at;function ot(e){var t,r,i,n,a={effectStyle:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"effectStyle"===n?a.effectStyle.push(rt(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_EffectStyleList=ot,t.DrawingReader.ReadCT_BackgroundFillStyleList=nt;function lt(e){var t,r,i,n,a={};if(a[g]=_e(e,g),3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"fillStyleLst":a.fillStyleLst=nt(e);break;case"lnStyleLst":a.lnStyleLst=at(e);break;case"effectStyleLst":a.effectStyleLst=ot(e);break;case"bgFillStyleLst":a.bgFillStyleLst=nt(e)}return a}t.DrawingReader.ReadCT_StyleMatrix=lt;function st(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case Z:a.clrScheme=Ye(e);break;case $:a.fontScheme=it(e);break;case ee:a.fmtScheme=lt(e);break;case C:a.extLst=Ot(e)}return a}t.DrawingReader.ReadCT_BaseStyles=st,Fe={hiddenScene3dUri:"{31F19639-BCED-4A60-ADC4-E9642A236FB7}",hiddenSp3dUri:"{E45631CC-5BF2-4C18-A39C-3461C7D3F71A}",hiddenFillUri:"{909E8E84-426E-40DD-AFC4-6F175D3DCCD1}",hiddenFillUri2:"{909E8E84-426E-40dd-AFC4-6F175D3DCCD1}",hiddenLineUri:"{91240B29-F687-4F45-9708-019B960494DF}",hiddenLineUri2:"{91240B29-F687-4f45-9708-019B960494DF}",hiddenASvgBlip:"{96DAC541-7B7A-43D3-8B79-37D633B846F1}",hiddenASvgBlip2:"{96DAC541-7B7A-43d3-8B79-37D633B846F1}",hiddenA14CompatExt:"{63B3BB69-23CF-44E3-9099-C40C66FF867C}"};function ct(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"id":r.id=e.readContentAsString();break;case"a16":r.name=e.readContentAsString()}return r}t.DrawingReader.ReadCT_creationId=ct;function ut(e){var t,r,i,n,a,o,l;if(3===e.elementType)return{hiddenExtensionType:4};for(t={creationId:[]},t.uri=De(_e(e,"uri"),""),r=t.uri,i=r===Fe.hiddenScene3dUri?0:r===Fe.hiddenSp3dUri?3:r===Fe.hiddenFillUri||r===Fe.hiddenFillUri2?1:r===Fe.hiddenLineUri||r===Fe.hiddenLineUri2?2:r===Fe.hiddenASvgBlip||r===Fe.hiddenASvgBlip2?5:r===Fe.hiddenA14CompatExt?6:4,t.hiddenExtensionType=i,n=e.depth;e.read()&&(a=e.depth,o=e.elementType,a!==n||2!==o);)if(!(a>n+1||2===o))switch(l=Le(e)){case"hiddenScene3d":t.Scene3d=Aa(e);break;case"hiddenSp3d":t.Shape3d=Ia(e);break;case"hiddenFill":t.Fill=bo(e);break;case"hiddenLine":t.Line=Zo(e);break;case"svgBlip":t.svgBlip=$o(e);break;case"creationId":t.creationId.push(ct(e));break;case"cameraTool":t.cameraTool=ft(e);break;case"compatExt":t.compatExt=pt(e)}return t}t.DrawingReader.ReadCT_OfficeArtExtension=ut;function dt(e){return _e(e,m,p)}t.DrawingReader.ReadCT_Angle=dt;function ft(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"cellRange":r.cellRange=e.readContentAsString();break;case"spid":r.spid=e.readContentAsString()}return 3===e.elementType?r:r}t.DrawingReader.ReadCT_cameraTool=ft;function pt(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"spid"===t&&(r.spid=e.readContentAsString());return 3===e.elementType?r:r}t.DrawingReader.ReadCT_CompatExt=pt;function ht(e){return _e(e,m,p)}t.DrawingReader.ReadCT_PositiveFixedAngle=ht;function mt(e){return _e(e,m,p)}t.DrawingReader.ReadCT_Percentage=mt;function gt(e){return _e(e,m,p)}t.DrawingReader.ReadCT_PositivePercentage=gt;function bt(e){return _e(e,m,p)}t.DrawingReader.ReadCT_FixedPercentage=bt;function wt(e){return _e(e,m,p)}t.DrawingReader.ReadCT_PositiveFixedPercentage=wt;function Ct(e,t){for(var r,i={};e.moveToNextAttribute();)r=Re(e),r!==t[0]&&r!==t[1]||(i[r]=e.readContentAsInt());return i}function St(e){return Ct(e,["n","d"])}t.DrawingReader.ReadCT_Ratio=St;function yt(e,t,r){for(var i,n={};e.moveToNextAttribute();)i=Re(e),i!==r[0]&&i!==r[1]||(n[i]=e.readContentAsInt(),t&&(n[i]=c(n[i],6)));return n}function vt(e,t){return yt(e,t,["x","y"])}t.DrawingReader.ReadCT_Point2D=vt;function xt(e,t){return yt(e,t,["cx","cy"])}t.DrawingReader.ReadCT_PositiveSize2D=xt;function Tt(){return{}}t.DrawingReader.ReadCT_ComplementTransform=Tt;function At(){return{}}t.DrawingReader.ReadCT_InverseTransform=At;function kt(){return{}}t.DrawingReader.ReadCT_GrayscaleTransform=kt;function Et(){return{}}t.DrawingReader.ReadCT_GammaTransform=Et;function It(){return{}}t.DrawingReader.ReadCT_InverseGammaTransform=It;function Ft(e,t){for(var r,i={};e.moveToNextAttribute();)r=Re(e),r!==t[0]&&r!==t[1]&&r!==t[2]||(i[r]=e.readContentAsInt());return 3===e.elementType?i:He(e,i)}function Pt(e){return Ft(e,["r","g","b"])}t.DrawingReader.ReadCT_ScRgbColor=Pt;function Dt(e){var t,r,i=[];if(e)for(t=e.length,r=0;r<t;r+=2)i[r/2]=parseInt(e.substr(r,2),16);return i}t.DrawingReader.StringToByteArray=Dt;function Rt(e){var t={},r=_e(e,m);return o.J(r)||(t.val=Dt(r)),3===e.elementType?t:He(e,t)}t.DrawingReader.ReadCT_SRgbColor=Rt;function Lt(e){return Ft(e,["hue","sat","lum"])}t.DrawingReader.ReadCT_HslColor=Lt;function _t(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),t===m?r.val=a.ChartHelper.ToKnownColor(i.Charts.ST_SystemColorVal[e.readContentAsString()]):"lastClr"===t&&(r.lastClr=Dt(e.readContentAsString()));return 3===e.elementType?r:He(e,r)}t.DrawingReader.ReadCT_SystemColor=_t;function Nt(e){var t={},r=_e(e,m);return o.J(r)||(t.val=a.ChartHelper.ToColorSchemeIndex(i.Charts.ST_SchemeColorVal[r])),3===e.elementType?t:He(e,t)}t.DrawingReader.ReadCT_SchemeColor=Nt;function Bt(e){var t={},r=_e(e,m);return o.J(r)||(t.val=i.Charts.ST_PresetColorVal[r]),3===e.elementType?t:He(e,t)}t.DrawingReader.ReadCT_PresetColor=Bt;function Mt(e){var t={},r=_e(e,m);return o.J(r)||(t.val=i.Charts.ST_StyleColorVal[r]),3===e.elementType?t:He(e,t)}t.DrawingReader.ReadCT_StyleColor=Mt;function Ot(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth,r=[];e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)i>t+1||2===n||(a=Le(e),a===E&&r.push(ut(e)));return r.length>0&&(o.ext=r),o}t.DrawingReader.ReadCT_OfficeArtExtensionList=Ot;function Gt(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"sx"!==n&&"sy"!==n||(a[n]=St(e)));return a}t.DrawingReader.ReadCT_Scale2D=Gt;function Ht(e){for(var t,r,i,n,a,o={rot:0};e.moveToNextAttribute();)t=Re(e),"rot"===t?o.rot=e.readContentAsInt():"flipH"!==t&&"flipV"!==t||(o[t]=e.readContentAsBoolean());if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)i>r+1||2===n||(a=Le(e),"off"===a?o.off=vt(e,!0):a===E&&(o.ext=xt(e,!0)));return o}t.DrawingReader.ReadCT_Transform2D=Ht;function Ut(e){for(var t,r,i,n,a,o={rot:0};e.moveToNextAttribute();)t=Re(e),"rot"===t?o.rot=e.readContentAsInt():"flipH"!==t&&"flipV"!==t||(o[t]=e.readContentAsBoolean());if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Le(e)){case"off":o.off=vt(e,!0);break;case E:o.ext=xt(e,!0);break;case"chOff":o.chOff=vt(e,!0);break;case"chExt":o.chExt=xt(e,!0)}return o}t.DrawingReader.ReadCT_GroupTransform2D=Ut;function Jt(e,t){for(var r,i={};e.moveToNextAttribute();)r=Re(e),r!==t[0]&&r!==t[1]&&r!==t[2]||(i[r]=e.readContentAsInt());return i}function Wt(e){return Jt(e,["x","y","z"])}t.DrawingReader.ReadCT_Point3D=Wt;function Vt(e){return Jt(e,["dx","dy","dz"])}t.DrawingReader.ReadCT_Vector3D=Vt;function zt(e){return Jt(e,["lat","lon","rev"])}t.DrawingReader.ReadCT_SphereCoords=zt;function jt(e){for(var t,r={l:0,r:0,t:0,b:0},i={l:!0,t:!0,r:!0,b:!0};e.moveToNextAttribute();)t=Re(e),i[t]&&(r[t]=e.readContentAsInt());return r}function Xt(e){return jt(e)}t.DrawingReader.ReadCT_RelativeRect=Xt;function Kt(e){var t={};return 3===e.elementType?t:Me(e,t)}function qt(e){return Kt(e)}t.DrawingReader.ReadCT_Color=qt;function Yt(e){var t,r,i,n,a={scrgbClr:[],srgbClr:[],hslClr:[],sysClr:[],schemeClr:[],prstClr:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case I:a.scrgbClr.push(Pt(e));break;case F:a.srgbClr.push(Rt(e));break;case P:a.hslClr.push(Lt(e));break;case D:a.sysClr.push(_t(e));break;case R:a.schemeClr.push(Nt(e));break;case L:a.prstClr.push(Bt(e))}return a}t.DrawingReader.ReadCT_ColorMRU=Yt;function Qt(e){for(var t,r={name:"",builtIn:!1};e.moveToNextAttribute();)t=Re(e),"embed"===t||t===g?r[t]=e.readContentAsString():"builtIn"===t&&(r[t]=e.readContentAsBoolean());return r}t.DrawingReader.ReadCT_EmbeddedWAVAudioFile=Qt;function Zt(e){for(var t,r,i,n,a,l,s,c,u={invalidUrl:"",action:"",tgtFrame:"",tooltip:"",history:!0,highlightClick:!1,endSnd:!1},d={id:!0,invalidUrl:!0,action:!0,tgtFrame:!0,tooltip:!0},f={history:!0,highlightClick:!0,endSnd:!0};e.moveToNextAttribute();)t=Re(e),"id"===t?(r=e.relationFiles[e.readContentAsString()],i=o.Util.pa(r.fileName),i&&0===i.indexOf("#")&&(i=i.substr(1)),n=o.Util.pa(r.targetMode),u.url=n&&"Internal"!==n?i:"sjs://"+i):d[t]?u[t]=e.readContentAsString():f[t]&&(u[t]=e.readContentAsBoolean());if(3===e.elementType)return u;for(a=e.depth;e.read()&&(l=e.depth,s=e.elementType,l!==a||2!==s);)l>a+1||2===s||(c=Le(e),"snd"===c?u.snd=Qt(e):c===C&&(u.extLst=Ot(e)));return u}t.DrawingReader.ReadCT_Hyperlink=Zt;function $t(e){for(;e.moveToNextAttribute();){var t=Re(e);if(t===m)return e.readContentAsBoolean()}}t.DrawingReader.ReadCT_Boolean=$t;function er(e){return _e(e,m,f)}t.DrawingReader.ReadCT_Double=er;function tr(e){return _e(e,m,p)}t.DrawingReader.ReadCT_UnsignedInt=tr;function rr(e){return _e(e,m,p)}t.DrawingReader.ReadCT_Int=rr;function ir(e){var t={};return t.id=_e(e,"id"),t}t.DrawingReader.ReadCT_RelId=ir;function nr(e){var t,r,i,n,a={};if(a.uri=De(_e(e,"uri"),"{6F2FDCE9-48DA-4B69-8628-5D25D57E5C99}"),3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"invertSolidFillFmt"===n?a.dataObject=Mn(e):"datalabelsRange"===n?a.dataObject=Qn(e):"dataDisplayOptions16"===n&&(a.dataObject=yn(e)));return a}t.DrawingReader.ReadCT_Extension=nr;function ar(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth,r=[];e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)i>t+1||2===n||(a=Le(e),a===E?r.push(nr(e)):a===k&&(o.dumy=e.readElementContentAsBoolean()));return r.length>0&&(o.ext=r),o}t.DrawingReader.ReadCT_ExtensionList=ar;function or(e){for(var t,r,i,n,a,o={};e.moveToNextAttribute();)t=Re(e),t===J?o.idx=e.readContentAsInt():"formatCode"===t&&(o.formatCode=e.readContentAsString());if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)i>r+1||2===n||(a=Le(e),"v"===a&&(o.v=e.readElementContentAsString()));return o}t.DrawingReader.ReadCT_NumVal=or;function lr(e){var t,r,i,n,a,o,l,s={};if(3===e.elementType)return s;for(t=e.depth,r=[];e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)if(!(i>t+1||2===n))switch(a=Le(e)){case"formatCode":s.formatCode=e.readElementContentAsString();break;case"ptCount":s.ptCount=tr(e);break;case"pt":r.push(or(e));break;case C:s.extLst=ar(e)}return r.length>0&&(s.pt=r.map(function(e){return e.v}),o=r.map(function(e){return e.formatCode}),l=o.some(function(e){return!!e}),l&&(s.formatCodes=o)),s}t.DrawingReader.ReadCT_NumData=lr;function sr(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"f":o.f=u(e.readElementContentAsString());break;case"numCache":a=lr(e),delete a.pt,delete a.ptCount,o.numCache=a;break;case C:o.extLst=ar(e)}return o}t.DrawingReader.ReadCT_NumRef=sr;function cr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"numRef"===n?a.numRef=sr(e):"numLit"===n&&(a.numLit=lr(e)));return a}t.DrawingReader.ReadCT_NumDataSource=cr;function ur(e){var t,r,i,n,a={};if(a[J]=_e(e,J,p),3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"v"===n&&(a.v=u(e.readElementContentAsString())));return a}t.DrawingReader.ReadCT_StrVal=ur;function dr(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth,r=[];e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)if(!(i>t+1||2===n))switch(a=Le(e)){case"ptCount":o.ptCount=tr(e);break;case"pt":r.push(ur(e).v);break;case C:o.extLst=ar(e)}return r.length>0&&(o.pt=r),o}t.DrawingReader.ReadCT_StrData=dr;function fr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"f":a.f=u(e.readElementContentAsString());break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_StrRef=fr;function pr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"strRef"===n?a.strRef=fr(e):"rich"===n&&(a.rich=Vl(e)));return a}t.DrawingReader.ReadCT_Tx=pr;function hr(e){return _e(e,m)}t.DrawingReader.ReadCT_TextLanguageID=hr;function mr(e){var t,r,i,n,a={pt:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"pt"===n&&a.pt.push(ur(e)));return a}t.DrawingReader.ReadCT_Lvl=mr;function gr(e){var t,r,i,n,a={lvl:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"ptCount":a.ptCount=tr(e);break;case"lvl":a.lvl.push(dr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_MultiLvlStrData=gr;function br(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"f":a.f=u(e.readElementContentAsString());break;case"multiLvlStrCache":a.multiLvlStrCache=gr(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_MultiLvlStrRef=br;function wr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"multiLvlStrRef":a.multiLvlStrRef=br(e);break;case"numRef":a.numRef=sr(e);break;case"numLit":a.numLit=lr(e);break;case"strRef":a.strRef=fr(e);break;case"strLit":a.strLit=dr(e)}return a}t.DrawingReader.ReadCT_AxDataSource=wr;function Cr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"strRef"===n?a.strRef=fr(e):"v"===n&&(a.v=e.readElementContentAsString()));return a}t.DrawingReader.ReadCT_SerTx=Cr;function Sr(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_LayoutTarget[t]}t.DrawingReader.ReadCT_LayoutTarget=Sr;function yr(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_LayoutMode[t]}t.DrawingReader.ReadCT_LayoutMode=yr;function vr(e){var t,r,i,n,a,o,l={};if(3===e.elementType)return l;for(t=e.depth,r={xMode:!0,yMode:!0,wMode:!0,hMode:!0},i={x:!0,y:!0,w:!0,h:!0};e.read()&&(n=e.depth,a=e.elementType,n!==t||2!==a);)n>t+1||2===a||(o=Le(e),r[o]?l[o]=yr(e):i[o]?l[o]=er(e):"layoutTarget"===o?l.layoutTarget=Sr(e):o===C&&(l.extLst=ar(e)));return l}t.DrawingReader.ReadCT_ManualLayout=vr;function xr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"manualLayout"===n?a.manualLayout=vr(e):n===C&&(a.extLst=ar(e)));return a}t.DrawingReader.ReadCT_Layout=xr;function Tr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"tx":a.tx=pr(e);break;case te:a.layout=xr(e);break;case"overlay":a.overlay=$t(e);break;case V:a.spPr=el(e);break;case z:a.txPr=Vl(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_Title=Tr;function Ar(e){return De(_e(e,m),0)}t.DrawingReader.ReadCT_RotX=Ar;function kr(e){return De(_e(e,m,p),100)}t.DrawingReader.ReadCT_HPercent=kr;function Er(e){return De(_e(e,m,p),0)}t.DrawingReader.ReadCT_RotY=Er;function Ir(e){return De(_e(e,m,p),100)}t.DrawingReader.ReadCT_DepthPercent=Ir;function Fr(e){return De(_e(e,m),30)}t.DrawingReader.ReadCT_Perspective=Fr;function Pr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"rotX":a.rotX=Ar(e);break;case"hPercent":a.hPercent=kr(e);break;case"rotY":a.rotY=Er(e);break;case"depthPercent":a.depthPercent=Ir(e);break;case"rAngAx":a.rAngAx=$t(e);break;case"perspective":a.perspective=Fr(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_View3D=Pr;function Dr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"thickness":a.thickness=tr(e);break;case V:a.spPr=el(e);break;case re:a.pictureOptions=tn(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_Surface=Dr;function Rr(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth,r={showHorzBorder:!0,showVertBorder:!0,showOutline:!0,showKeys:!0};e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)i>t+1||2===n||(a=Le(e),r[a]?o[a]=$t(e):a===V?o.spPr=el(e):a===z?o.txPr=Vl(e):a===C&&(o.extLst=ar(e)));return o}t.DrawingReader.ReadCT_DTable=Rr;function Lr(e){return De(_e(e,m,p),150)}t.DrawingReader.ReadCT_GapAmount=Lr;function _r(e){return De(_e(e,m,p),0)}t.DrawingReader.ReadCT_Overlap=_r;function Nr(e){return De(_e(e,m,p),100)}t.DrawingReader.ReadCT_BubbleScale=Nr;function Br(e){var t=De(_e(e,m),"area");return i.Charts.ST_SizeRepresents[t]}t.DrawingReader.ReadCT_SizeRepresents=Br;function Mr(e){return De(_e(e,m,p),0)}t.DrawingReader.ReadCT_FirstSliceAng=Mr;function Or(e){return De(_e(e,m,p),0)}t.DrawingReader.ReadCT_HoleSize=Or;function Gr(e){var t=De(_e(e,m),"auto");return a.ChartHelper.ToChartSplitType(i.Charts.ST_SplitType[t])}t.DrawingReader.ReadCT_SplitType=Gr;function Hr(e){var t,r,i,n,a={secondPiePt:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"secondPiePt"===n&&a.secondPiePt.push(tr(e)));return a}t.DrawingReader.ReadCT_CustSplit=Hr;function Ur(e){return De(_e(e,m,p),75)}t.DrawingReader.ReadCT_SecondPieSize=Ur;function Jr(e){for(var t,r,i={};e.moveToNextAttribute();)t=Re(e),"formatCode"===t?i.formatCode=u(e.readContentAsString()):"sourceLinked"===t&&(r=e.readContentAsBoolean(),r||(i.sourceLinked=!1));return i}t.DrawingReader.ReadCT_NumFmt=Jr;function Wr(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_LblAlgn[t]}t.DrawingReader.ReadCT_LblAlgn=Wr;function Vr(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_DLblPos[t]}t.DrawingReader.ReadCT_DLblPos=Vr;function zr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case J:a.idx=tr(e);break;case U:a.delete=$t(e);break;case te:a.layout=xr(e);break;case"tx":a.tx=pr(e);break;case we:a.numFmt=Jr(e);break;case V:a.spPr=el(e);break;case z:a.txPr=Vl(e);break;case"dLblPos":a.dLblPos=Vr(e);break;case"showLegendKey":a.showLegendKey=$t(e);break;case"showVal":a.showVal=$t(e);break;case"showCatName":a.showCatName=$t(e);break;case"showSerName":a.showSerName=$t(e);break;case"showPercent":a.showPercent=$t(e);break;case"showBubbleSize":a.showBubbleSize=$t(e);break;case"separator":a.separator=e.readElementContentAsString(!0);break;case C:a.extLst=Rn(e)}return a}t.DrawingReader.ReadCT_DLbl=zr;function jr(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth,r=[];e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)if(!(i>t+1||2===n))switch(a=Le(e)){case"dLbl":r.push(zr(e));break;case U:o.delete=$t(e);break;case we:o.numFmt=Jr(e);break;case V:o.spPr=el(e);break;case z:o.txPr=Vl(e);break;case"dLblPos":o.dLblPos=Vr(e);break;case"showLegendKey":o.showLegendKey=$t(e);break;case"showVal":o.showVal=$t(e);break;case"showCatName":o.showCatName=$t(e);break;case"showSerName":o.showSerName=$t(e);break;case"showPercent":o.showPercent=$t(e);break;case"showBubbleSize":o.showBubbleSize=$t(e);break;case"separator":o.separator=e.readElementContentAsString(!0);break;case"showLeaderLines":o.showLeaderLines=$t(e);break;case"leaderLines":o.leaderLines=wi(e);break;case C:o.extLst=_n(e)}return r.length>0&&(o.dLbl=r),o}t.DrawingReader.ReadCT_DLbls=jr;function Xr(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_MarkerStyle[t]}t.DrawingReader.ReadCT_MarkerStyle=Xr;function Kr(e){return n.UnitHelper.pointToPixel(De(_e(e,m),5))}t.DrawingReader.ReadCT_MarkerSize=Kr;function qr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"symbol":a.symbol=Xr(e);break;case"size":a.size=Kr(e);break;case V:a.spPr=el(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_Marker=qr;function Yr(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case J:a.idx=tr(e);break;case X:a.invertIfNegative=$t(e);break;case q:a.marker=qr(e);break;case K:a.bubble3D=$t(e);break;case"explosion":a.explosion=tr(e);break;case V:a.spPr=el(e);break;case re:a.pictureOptions=tn(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_DPt=Yr;function Qr(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_TrendlineType[t]}t.DrawingReader.ReadCT_TrendlineType=Qr;function Zr(e){return _e(e,m,p)}t.DrawingReader.ReadCT_Order=Zr;function $r(e){return _e(e,m,p)}t.DrawingReader.ReadCT_Period=$r;function ei(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case te:a.layout=xr(e);break;case"tx":a.tx=pr(e);break;case we:a.numFmt=Jr(e);break;case V:a.spPr=el(e);break;case z:a.txPr=Vl(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_TrendlineLbl=ei;function ti(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case g:a.name=e.readElementContentAsString();break;case V:a.spPr=el(e);break;case"trendlineType":a.trendlineType=Qr(e);break;case ie:a.order=Zr(e);break;case"period":a.period=$r(e);break;case"forward":a.forward=er(e);break;case"backward":a.backward=er(e);break;case"intercept":a.intercept=er(e);break;case"dispRSqr":a.dispRSqr=$t(e);break;case"dispEq":a.dispEq=$t(e);break;case"trendlineLbl":a.trendlineLbl=ei(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_Trendline=ti;function ri(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_ErrDir[t]}t.DrawingReader.ReadCT_ErrDir=ri;function ii(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_ErrBarType[t]}t.DrawingReader.ReadCT_ErrBarType=ii;function ni(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_ErrValType[t]}t.DrawingReader.ReadCT_ErrValType=ni;function ai(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"errDir":a.errDir=ri(e);break;case"errBarType":a.errBarType=ii(e);break;case"errValType":a.errValType=ni(e);break;case"noEndCap":a.noEndCap=$t(e);break;case"plus":a.plus=cr(e);break;case"minus":a.minus=cr(e);break;case m:a.val=er(e);break;case V:a.spPr=el(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_ErrBars=ai;function oi(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===V&&(a.spPr=el(e)));return a}t.DrawingReader.ReadCT_UpDownBar=oi;function li(e){var t,r,i,n,a={};
31
+ if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case ne:a.gapWidth=Lr(e);break;case"upBars":a.upBars=oi(e);break;case"downBars":a.downBars=oi(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_UpDownBars=li;function si(e,t,r,i){t.length>0&&(e.dPt=t),i&&i.length>0&&(e.errBars=i),r&&r.length>0&&(e.trendline=r)}function ci(e){var t,r,i,n,a,o,l,s={seriesType:2};if(3===e.elementType)return s;for(t=e.depth,r=[],i=[],n=[];e.read()&&(a=e.depth,o=e.elementType,a!==t||2!==o);)if(!(a>t+1||2===o))switch(l=Le(e)){case J:s.idx=tr(e);break;case ie:s.order=tr(e);break;case"tx":s.tx=Cr(e);break;case V:s.spPr=el(e);break;case q:s.marker=qr(e);break;case"dPt":r.push(Yr(e));break;case ae:s.dLbls=jr(e);break;case oe:i.push(ti(e));break;case le:n.push(ai(e));break;case"cat":s.cat=wr(e);break;case m:s.val=cr(e);break;case"smooth":s.smooth=$t(e);break;case C:s.extLst=ar(e)}return si(s,r,i,n),s}t.DrawingReader.ReadCT_LineSer=ci;function ui(e){var t,r,i,n,a,o,l,s={seriesType:5};if(3===e.elementType)return s;for(t=e.depth,r=[],i=[],n=[];e.read()&&(a=e.depth,o=e.elementType,a!==t||2!==o);)if(!(a>t+1||2===o))switch(l=Le(e)){case J:s.idx=tr(e);break;case ie:s.order=tr(e);break;case"tx":s.tx=Cr(e);break;case V:s.spPr=el(e);break;case q:s.marker=qr(e);break;case"dPt":r.push(Yr(e));break;case ae:s.dLbls=jr(e);break;case oe:i.push(ti(e));break;case le:n.push(ai(e));break;case"xVal":s.xVal=wr(e);break;case"yVal":s.yVal=cr(e);break;case"smooth":s.smooth=$t(e);break;case C:s.extLst=ar(e)}return si(s,r,i,n),s}t.DrawingReader.ReadCT_ScatterSer=ui;function di(e){var t,r,i,n,a,o={seriesType:4};if(3===e.elementType)return o;for(t=e.depth,r=[];e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)if(!(i>t+1||2===n))switch(a=Le(e)){case J:o.idx=tr(e);break;case ie:o.order=tr(e);break;case"tx":o.tx=Cr(e);break;case V:o.spPr=el(e);break;case q:o.marker=qr(e);break;case"dPt":r.push(Yr(e));break;case ae:o.dLbls=jr(e);break;case"cat":o.cat=wr(e);break;case m:o.val=cr(e);break;case C:o.extLst=ar(e)}return si(o,r),o}t.DrawingReader.ReadCT_RadarSer=di;function fi(e){var t,r,i,n,a,o,l,s={seriesType:0};if(3===e.elementType)return s;for(t=e.depth,r=[],i=[],n=[];e.read()&&(a=e.depth,o=e.elementType,a!==t||2!==o);)if(!(a>t+1||2===o))switch(l=Le(e)){case J:s.idx=tr(e);break;case ie:s.order=tr(e);break;case"tx":s.tx=Cr(e);break;case V:s.spPr=el(e);break;case X:s.invertIfNegative=$t(e);break;case re:s.pictureOptions=tn(e);break;case"dPt":r.push(Yr(e));break;case ae:s.dLbls=jr(e);break;case oe:i.push(ti(e));break;case le:n.push(ai(e));break;case"cat":s.cat=wr(e);break;case m:s.val=cr(e);break;case"shape":s.shape=Ii(e);break;case C:s.extLst=ar(e)}return si(s,r,i,n),s}t.DrawingReader.ReadCT_BarSer=fi;function pi(e){var t,r,i,n,a,o,l,s={seriesType:1};if(3===e.elementType)return s;for(t=e.depth,r=[],i=[],n=[];e.read()&&(a=e.depth,o=e.elementType,a!==t||2!==o);)if(!(a>t+1||2===o))switch(l=Le(e)){case J:s.idx=tr(e);break;case ie:s.order=tr(e);break;case"tx":s.tx=Cr(e);break;case V:s.spPr=el(e);break;case re:s.pictureOptions=tn(e);break;case"dPt":r.push(Yr(e));break;case ae:s.dLbls=jr(e);break;case oe:i.push(ti(e));break;case le:n.push(ai(e));break;case"cat":s.cat=wr(e);break;case m:s.val=cr(e);break;case C:s.extLst=ar(e)}return si(s,r,i,n),s}t.DrawingReader.ReadCT_AreaSer=pi;function hi(e){var t,r,i,n,a,o={seriesType:3};if(3===e.elementType)return o;for(t=[],r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Le(e)){case J:o.idx=tr(e);break;case ie:o.order=tr(e);break;case"tx":o.tx=Cr(e);break;case V:o.spPr=el(e);break;case"explosion":o.explosion=tr(e);break;case"dPt":t.push(Yr(e));break;case ae:o.dLbls=jr(e);break;case"cat":o.cat=wr(e);break;case m:o.val=cr(e);break;case C:o.extLst=ar(e)}return si(o,t),o}t.DrawingReader.ReadCT_PieSer=hi;function mi(e){var t,r,i,n,a,o,l,s={seriesType:6};if(3===e.elementType)return s;for(t=e.depth,r=[],i=[],n=[];e.read()&&(a=e.depth,o=e.elementType,a!==t||2!==o);)if(!(a>t+1||2===o))switch(l=Le(e)){case J:s.idx=tr(e);break;case ie:s.order=tr(e);break;case"tx":s.tx=Cr(e);break;case V:s.spPr=el(e);break;case X:s.invertIfNegative=$t(e);break;case"dPt":r.push(Yr(e));break;case ae:s.dLbls=jr(e);break;case oe:i.push(ti(e));break;case le:n.push(ai(e));break;case"xVal":s.xVal=wr(e);break;case"yVal":s.yVal=cr(e);break;case"bubbleSize":s.bubbleSize=cr(e);break;case K:s.bubble3D=$t(e);break;case C:s.extLst=ar(e)}return si(s,r,i,n),s}t.DrawingReader.ReadCT_BubbleSer=mi;function gi(e){var t,r,i,n,a={seriesType:7};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case J:a.idx=tr(e);break;case ie:a.order=tr(e);break;case"tx":a.tx=Cr(e);break;case V:a.spPr=el(e);break;case"cat":a.cat=wr(e);break;case m:a.val=cr(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_SurfaceSer=gi;function bi(e){var t=De(_e(e,m),"standard");return i.Charts.ST_Grouping[t]}t.DrawingReader.ReadCT_Grouping=bi;function wi(e){return Ne(e,V,el)}t.DrawingReader.ReadCT_ChartLines=wi;function Ci(e){var t,r,i,n,a={chartType:8,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case de:a.grouping=bi(e);break;case fe:a.varyColors=$t(e);break;case se:a.ser.push(ci(e));break;case ae:a.dLbls=jr(e);break;case ce:a.dropLines=wi(e);break;case"hiLowLines":a.hiLowLines=wi(e);break;case"upDownBars":a.upDownBars=li(e);break;case q:a.marker=$t(e);break;case"smooth":a.smooth=$t(e);break;case ue:a.axId.push(rr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_LineChart=Ci;function Si(e){var t,r,i,n,a={chartType:9,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case de:a.grouping=bi(e);break;case fe:a.varyColors=$t(e);break;case se:a.ser.push(ci(e));break;case ae:a.dLbls=jr(e);break;case ce:a.dropLines=wi(e);break;case"gapDepth":a.gapDepth=Lr(e);break;case ue:a.axId.push(rr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_Line3DChart=Si;function yi(e){var t,r,i,n,a={chartType:0,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case se:a.ser.push(ci(e));break;case ae:a.dLbls=jr(e);break;case ce:a.dropLines=wi(e);break;case"hiLowLines":a.hiLowLines=wi(e);break;case"upDownBars":a.upDownBars=li(e);break;case ue:a.axId.push(rr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_StockChart=yi;function vi(e){var t=De(_e(e,m),"marker");return i.Charts.ST_ScatterStyle[t]}t.DrawingReader.ReadCT_ScatterStyle=vi;function xi(e){var t,r,i,n,a={chartType:1,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"scatterStyle":a.scatterStyle=vi(e);break;case fe:a.varyColors=$t(e);break;case se:a.ser.push(ui(e));break;case ae:a.dLbls=jr(e);break;case ue:a.axId.push(rr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_ScatterChart=xi;function Ti(e){var t=De(_e(e,m),"standard");return i.Charts.ST_RadarStyle[t]}t.DrawingReader.ReadCT_RadarStyle=Ti;function Ai(e){var t,r,i,n,a={chartType:2,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"radarStyle":a.radarStyle=Ti(e);break;case fe:a.varyColors=$t(e);break;case se:a.ser.push(di(e));break;case ae:a.dLbls=jr(e);break;case ue:a.axId.push(rr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_RadarChart=Ai;function ki(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_BarGrouping[t]}t.DrawingReader.ReadCT_BarGrouping=ki;function Ei(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_BarDir[t]}t.DrawingReader.ReadCT_BarDir=Ei;function Ii(e){var t=De(_e(e,m),"box");return i.Charts.ST_Shape[t]}t.DrawingReader.ReadCT_ShapeBox=Ii;function Fi(e){var t,r,i,n,a={chartType:6,ser:[],serLines:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"barDir":a.barDir=Ei(e);break;case de:a.grouping=ki(e);break;case fe:a.varyColors=$t(e);break;case se:a.ser.push(fi(e));break;case ae:a.dLbls=jr(e);break;case ne:a.gapWidth=Lr(e);break;case"overlap":a.overlap=_r(e);break;case"serLines":a.serLines.push(wi(e));break;case ue:a.axId.push(rr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_BarChart=Fi;function Pi(e){var t,r,i,n,a={chartType:7,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"barDir":a.barDir=Ei(e);break;case de:a.grouping=ki(e);break;case fe:a.varyColors=$t(e);break;case se:a.ser.push(fi(e));break;case ae:a.dLbls=jr(e);break;case ne:a.gapWidth=Lr(e);break;case"gapDepth":a.gapDepth=Lr(e);break;case"shape":a.shape=Ii(e);break;case ue:a.axId.push(rr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_Bar3DChart=Pi;function Di(e){var t,r,i,n,a={chartType:4,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case de:a.grouping=bi(e);break;case fe:a.varyColors=$t(e);break;case se:a.ser.push(pi(e));break;case ae:a.dLbls=jr(e);break;case ce:a.dropLines=wi(e);break;case ue:a.axId.push(rr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_AreaChart=Di;function Ri(e){var t,r,i,n,a={chartType:5,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case de:a.grouping=bi(e);break;case fe:a.varyColors=$t(e);break;case se:a.ser.push(pi(e));break;case ae:a.dLbls=jr(e);break;case ce:a.dropLines=wi(e);break;case"gapDepth":a.gapDepth=Lr(e);break;case ue:a.axId.push(rr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_Area3DChart=Ri;function Li(e){var t,r,i,n,a={chartType:10,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case fe:a.varyColors=$t(e);break;case se:a.ser.push(hi(e));break;case ae:a.dLbls=jr(e);break;case"firstSliceAng":a.firstSliceAng=Mr(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_PieChart=Li;function _i(e){var t,r,i,n,a={chartType:11,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case fe:a.varyColors=$t(e);break;case se:a.ser.push(hi(e));break;case ae:a.dLbls=jr(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_Pie3DChart=_i;function Ni(e){var t,r,i,n,a={chartType:12,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case fe:a.varyColors=$t(e);break;case se:a.ser.push(hi(e));break;case ae:a.dLbls=jr(e);break;case"firstSliceAng":a.firstSliceAng=Mr(e);break;case"holeSize":a.holeSize=Or(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_DoughnutChart=Ni;function Bi(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_OfPieType[t]}t.DrawingReader.ReadCT_OfPieType=Bi;function Mi(e){var t,r,i,n,a={chartType:13,ser:[],serLines:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"ofPieType":a.ofPieType=Bi(e);break;case fe:a.varyColors=$t(e);break;case se:a.ser.push(hi(e));break;case ae:a.dLbls=jr(e);break;case ne:a.gapWidth=Lr(e);break;case"splitType":a.splitType=Gr(e);break;case"splitPos":a.splitPos=er(e);break;case"custSplit":a.custSplit=Hr(e);break;case"secondPieSize":a.secondPieSize=Ur(e);break;case"serLines":a.serLines.push(wi(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_OfPieChart=Mi;function Oi(e){var t,r,i,n,a={chartType:3,ser:[],axId:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case fe:a.varyColors=$t(e);break;case se:a.ser.push(mi(e));break;case ae:a.dLbls=jr(e);break;case K:a.bubble3D=$t(e);break;case"bubbleScale":a.bubbleScale=Nr(e);break;case"showNegBubbles":a.showNegBubbles=$t(e);break;case"sizeRepresents":a.sizeRepresents=Br(e);break;case ue:a.axId.push(rr(e));break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_BubbleChart=Oi;function Gi(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===J?a.idx=tr(e):n===V&&(a.spPr=el(e)));return a}t.DrawingReader.ReadCT_BandFmt=Gi;function Hi(e){var t,r,i,n,a={bandFmt:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"bandFmt"===n?a.bandFmt.push(Gi(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_BandFmts=Hi;function Ui(e,t){var r={chartType:t,ser:[],axId:[]};return 3===e.elementType?r:Ue(e,r)}function Ji(e){return Ui(e,14)}t.DrawingReader.ReadCT_SurfaceChart=Ji;function Wi(e){return Ui(e,15)}t.DrawingReader.ReadCT_Surface3DChart=Wi;function Vi(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_AxPos[t]}t.DrawingReader.ReadCT_AxPos=Vi;function zi(e){var t=_e(e,m);if(!o.J(t))return a.ChartHelper.ToAxisCrosses(i.Charts.ST_Crosses[t])}t.DrawingReader.ReadCT_Crosses=zi;function ji(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_CrossBetween[t]}t.DrawingReader.ReadCT_CrossBetween=ji;function Xi(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_TickMark[t]}t.DrawingReader.ReadCT_TickMark=Xi;function Ki(e){var t=De(_e(e,m),"nextTo");if(!o.J(t))return i.Charts.ST_TickLblPos[t]}t.DrawingReader.ReadCT_TickLblPos=Ki;function qi(e){return _e(e,m,p)}t.DrawingReader.ReadCT_Skip=qi;function Yi(e){var t=De(_e(e,m),"days");return i.Charts.ST_TimeUnit[t]}t.DrawingReader.ReadCT_TimeUnit=Yi;function Qi(e){return _e(e,m,f)}t.DrawingReader.ReadCT_AxisUnit=Qi;function Zi(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_BuiltInUnit[t]}t.DrawingReader.ReadCT_BuiltInUnit=Zi;function $i(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_PictureFormat[t]}t.DrawingReader.ReadCT_PictureFormat=$i;function en(e){return _e(e,m,f)}t.DrawingReader.ReadCT_PictureStackUnit=en;function tn(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth,r={applyToFront:!0,applyToSides:!0,applyToEnd:!0};e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)i>t+1||2===n||(a=Le(e),r[a]?o[a]=$t(e):"pictureFormat"===a?o.pictureFormat=$i(e):"pictureStackUnit"===a&&(o.pictureStackUnit=en(e)));return o}t.DrawingReader.ReadCT_PictureOptions=tn;function rn(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case te:a.layout=xr(e);break;case"tx":a.tx=pr(e);break;case V:a.spPr=el(e);break;case z:a.txPr=Vl(e)}return a}t.DrawingReader.ReadCT_DispUnitsLbl=rn;function nn(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"custUnit":a.custUnit=er(e);break;case"builtInUnit":a.builtInUnit=Zi(e);break;case"dispUnitsLbl":a.dispUnitsLbl=rn(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_DispUnits=nn;function an(e){var t=De(_e(e,m),"minMax");return i.Charts.ST_Orientation[t]}t.DrawingReader.ReadCT_Orientation=an;function on(e){return _e(e,m,f)}t.DrawingReader.ReadCT_LogBase=on;function ln(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"logBase":a.logBase=on(e);break;case"orientation":a.orientation=an(e);break;case"max":a.max=er(e);break;case"min":a.min=er(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_Scaling=ln;function sn(e){return De(_e(e,m,p),100)}t.DrawingReader.ReadCT_LblOffset=sn,Pe={majorGridlines:{ln:{w:1,cap:2,cmpd:0,algn:0,solidFill:{schemeClr:{val:1,lumMod:[15e3],lumOff:[85e3]}},round:!0},effectLst:{}},blank_majorGridlines:{ln:{w:1,cap:2,cmpd:0,algn:0,solidFill:{srgbClr:{val:[134,134,134]}},round:!0},effectLst:{}},minorGridlines:{ln:{w:1,cap:2,cmpd:0,algn:0,solidFill:{schemeClr:{val:1,lumMod:[5e3],lumOff:[95e3]}},round:!0},effectLst:{}},blank_minorGridlines:{ln:{w:1,cap:2,cmpd:0,algn:0,solidFill:{srgbClr:{val:[183,183,183]}},round:!0},effectLst:{}},axis:{noFill:!0,ln:{w:1,cap:2,cmpd:0,algn:0,solidFill:{schemeClr:{val:1,lumMod:[15e3],lumOff:[85e3]}},round:!0},effectLst:{}},plotArea:{noFill:!0,ln:{noFill:!0},effectLst:{}}};function cn(e,t){e&&!e.spPr&&(0!==Object.keys(e).length||"majorGridlines"!==t&&"minorGridlines"!==t||(t="blank_"+t),e.spPr=Pe[t])}function un(e){var t,r,i,n,a={axisType:0};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case ue:a.axId=rr(e);break;case pe:a.scaling=ln(e);break;case U:a.delete=$t(e);break;case he:a.axPos=Vi(e);break;case me:a.majorGridlines=wi(e),cn(a.majorGridlines,"majorGridlines");break;case ge:a.minorGridlines=wi(e),cn(a.minorGridlines,"minorGridlines");break;case be:a.title=Tr(e);break;case we:a.numFmt=Jr(e);break;case Ce:a.majorTickMark=Xi(e);break;case Se:a.minorTickMark=Xi(e);break;case ye:a.tickLblPos=Ki(e);break;case V:a.spPr=el(e);break;case z:a.txPr=Vl(e);break;case ve:a.crossAx=rr(e);break;case xe:a.crosses=zi(e);break;case Te:a.crossesAt=er(e);break;case"auto":a.auto=$t(e);break;case"lblAlgn":a.lblAlgn=Wr(e);break;case"lblOffset":a.lblOffset=sn(e);break;case"tickLblSkip":a.tickLblSkip=qi(e);break;case"tickMarkSkip":a.tickMarkSkip=qi(e);break;case"noMultiLvlLbl":a.noMultiLvlLbl=$t(e);break;case C:a.extLst=ar(e)}return cn(a,"axis"),a}t.DrawingReader.ReadCT_CatAx=un;function dn(e){var t,r,i,n,a={axisType:1};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case ue:a.axId=rr(e);break;case pe:a.scaling=ln(e);break;case U:a.delete=$t(e);break;case he:a.axPos=Vi(e);break;case me:a.majorGridlines=wi(e),cn(a.majorGridlines,"majorGridlines");break;case ge:a.minorGridlines=wi(e),cn(a.minorGridlines,"minorGridlines");break;case be:a.title=Tr(e);break;case we:a.numFmt=Jr(e);break;case Ce:a.majorTickMark=Xi(e);break;case Se:a.minorTickMark=Xi(e);break;case ye:a.tickLblPos=Ki(e);break;case V:a.spPr=el(e);break;case z:a.txPr=Vl(e);break;case ve:a.crossAx=rr(e);break;case xe:a.crosses=zi(e);break;case Te:a.crossesAt=er(e);break;case"auto":a.auto=$t(e);break;case"lblOffset":a.lblOffset=sn(e);break;case"baseTimeUnit":a.baseTimeUnit=Yi(e);break;case"majorUnit":a.majorUnit=Qi(e);break;case"majorTimeUnit":a.majorTimeUnit=Yi(e);break;case"minorUnit":a.minorUnit=Qi(e);break;case"minorTimeUnit":a.minorTimeUnit=Yi(e);break;case C:a.extLst=ar(e)}return cn(a,"axis"),a}t.DrawingReader.ReadCT_DateAx=dn;function fn(e){var t,r,i,n,a={axisType:2};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case ue:a.axId=rr(e);break;case pe:a.scaling=ln(e);break;case U:a.delete=$t(e);break;case he:a.axPos=Vi(e);break;case me:a.majorGridlines=wi(e),cn(a.majorGridlines,"majorGridlines");break;case ge:a.minorGridlines=wi(e),cn(a.minorGridlines,"minorGridlines");break;case be:a.title=Tr(e);break;case we:a.numFmt=Jr(e);break;case Ce:a.majorTickMark=Xi(e);break;case Se:a.minorTickMark=Xi(e);break;case ye:a.tickLblPos=Ki(e);break;case V:a.spPr=el(e);break;case z:a.txPr=Vl(e);break;case ve:a.crossAx=rr(e);break;case xe:a.crosses=zi(e);break;case Te:a.crossesAt=er(e);break;case"tickLblSkip":a.tickLblSkip=qi(e);break;case"tickMarkSkip":a.tickMarkSkip=qi(e);break;case C:a.extLst=ar(e)}return cn(a,"axis"),a}t.DrawingReader.ReadCT_SerAx=fn;function pn(e){var t,r,i,n,a={axisType:3};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case ue:a.axId=rr(e);break;case pe:a.scaling=ln(e);break;case U:a.delete=$t(e);break;case he:a.axPos=Vi(e);break;case me:a.majorGridlines=wi(e),cn(a.majorGridlines,"majorGridlines");break;case ge:a.minorGridlines=wi(e),cn(a.minorGridlines,"minorGridlines");break;case be:a.title=Tr(e);break;case we:a.numFmt=Jr(e);break;case Ce:a.majorTickMark=Xi(e);break;case Se:a.minorTickMark=Xi(e);break;case ye:a.tickLblPos=Ki(e);break;case V:a.spPr=el(e);break;case z:a.txPr=Vl(e);break;case ve:a.crossAx=rr(e);break;case xe:a.crosses=zi(e);break;case Te:a.crossesAt=er(e);break;case"crossBetween":a.crossBetween=ji(e);break;case"majorUnit":a.majorUnit=Qi(e);break;case"minorUnit":a.minorUnit=Qi(e);break;case"dispUnits":a.dispUnits=nn(e);break;case C:a.extLst=ar(e)}return cn(a,"axis"),a}t.DrawingReader.ReadCT_ValAx=pn;function hn(e){var t,r,i,n,a={chartGroups:[],axes:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case te:a.layout=xr(e);break;case"areaChart":a.chartGroups.push(Di(e));break;case"area3DChart":a.chartGroups.push(Ri(e));break;case"barChart":a.chartGroups.push(Fi(e));break;case"bar3DChart":a.chartGroups.push(Pi(e));break;case"lineChart":a.chartGroups.push(Ci(e));break;case"line3DChart":a.chartGroups.push(Si(e));break;case"stockChart":a.chartGroups.push(yi(e));break;case"radarChart":a.chartGroups.push(Ai(e));break;case"scatterChart":a.chartGroups.push(xi(e));break;case"pieChart":a.chartGroups.push(Li(e));break;case"pie3DChart":a.chartGroups.push(_i(e));break;case"doughnutChart":a.chartGroups.push(Ni(e));break;case"ofPieChart":a.chartGroups.push(Mi(e));break;case"surfaceChart":a.chartGroups.push(Ji(e));break;case"surface3DChart":a.chartGroups.push(Wi(e));break;case"bubbleChart":a.chartGroups.push(Oi(e));break;case"catAx":a.axes.push(un(e));break;case"valAx":a.axes.push(pn(e));break;case"dateAx":a.axes.push(dn(e));break;case"serAx":a.axes.push(fn(e));break;case"dTable":a.dTable=Rr(e);break;case V:a.spPr=el(e);break;case C:a.extLst=ar(e)}return cn(a,"plotArea"),a}t.DrawingReader.ReadCT_PlotArea=hn;function mn(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case J:a.idx=tr(e);break;case V:a.spPr=el(e);break;case z:a.txPr=Vl(e);break;case q:a.marker=qr(e);break;case"dLbl":a.dLbl=zr(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_PivotFmt=mn;function gn(e){var t,r,i,n,a={pivotFmt:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"pivotFmt"===n&&a.pivotFmt.push(mn(e)));return a}t.DrawingReader.ReadCT_PivotFmts=gn;function bn(e){var t=_e(e,m);if(!o.J(t))return a.ChartHelper.ToLegendPosition(i.Charts.ST_LegendPos[t])}t.DrawingReader.ReadCT_LegendPos=bn;function wn(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case J:a.idx=tr(e);break;case U:a.delete=$t(e);break;case z:a.txPr=Vl(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_LegendEntry=wn;function Cn(e){var t,r,i,n,a=[],o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"legendPos":o.legendPos=bn(e);break;case"legendEntry":a.push(wn(e));break;case te:o.layout=xr(e);break;case"overlay":o.overlay=$t(e);break;case V:o.spPr=el(e);break;case z:o.txPr=Vl(e);break;case C:o.extLst=ar(e)}return a.length>0&&(o.legendEntry=a),o}t.DrawingReader.ReadCT_Legend=Cn;function Sn(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_DispBlanksAs[t]}t.DrawingReader.ReadCT_DispBlanksAs=Sn;function yn(e){var t,r,i,n,a={extDataType:2};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"dispNaAsBlank"===n&&(a.dispNaAsBlank=_e(e,m)));return a}t.DrawingReader.ReadCT_DispNaAsBlank=yn;function vn(e){var t,r,i,n,a={pivotFmts:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case be:a.title=Tr(e);break;case"autoTitleDeleted":a.autoTitleDeleted=$t(e);break;case"pivotFmts":a.pivotFmts.push(gn(e));break;case"view3D":a.view3D=Pr(e);break;case"floor":a.floor=Dr(e);break;case"sideWall":a.sideWall=Dr(e);break;case"backWall":a.backWall=Dr(e);break;case"plotArea":a.plotArea=hn(e);break;case"legend":a.legend=Cn(e);break;case"plotVisOnly":a.plotVisOnly=$t(e);break;case"dispBlanksAs":a.dispBlanksAs=Sn(e);break;case"showDLblsOverMax":a.showDLblsOverMax=$t(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_Chart=vn;function xn(e){return _e(e,m)}t.DrawingReader.ReadCT_Style=xn;function Tn(e){var t,r,i,n,a={extLst:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case g:a.name=e.readElementContentAsString();break;case"fmtId":a.fmtId=tr(e);break;case C:a.extLst.push(ar(e))}return a}t.DrawingReader.ReadCT_PivotSource=Tn;function An(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth,r={chartObject:!0,data:!0,formatting:!0,selection:!0,userInterface:!0};e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)i>t+1||2===n||(a=Le(e),r[a]&&(o[a]=$t(e)));return o}t.DrawingReader.ReadCT_Protection=An;function kn(e){for(var t,r,i,n,a,o,l={alignWithMargins:!0};e.moveToNextAttribute();)t=Re(e),"alignWithMargins"!==t&&"differentOddEven"!==t&&"differentFirst"!==t||(l[t]=e.readContentAsBoolean());if(3===e.elementType)return l;for(r=e.depth,i={oddHeader:!0,oddFooter:!0,evenHeader:!0,evenFooter:!0,firstHeader:!0,firstFooter:!0};e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)n>r+1||2===a||(o=Le(e),i[o]&&(l[o]=e.readElementContentAsString()));return l}t.DrawingReader.ReadCT_HeaderFooter=kn;function En(e){for(var t,r={},i={l:!0,r:!0,t:!0,b:!0,header:!0,footer:!0};e.moveToNextAttribute();)t=Re(e),i[t]&&(r[t]=e.readContentAsDouble());return r}t.DrawingReader.ReadCT_PageMargins=En;function In(e){var t={};return t.id=_e(e,"id"),Ne(e,"autoUpdate",$t,t)}t.DrawingReader.ReadCT_ExternalData=In;function Fn(e){for(var t,r={paperSize:1,firstPageNumber:1,orientation:0,blackAndWhite:!1,draft:!1,useFirstPageNumber:!1,horizontalDpi:600,verticalDpi:600,copies:1},n={paperSize:!0,firstPageNumber:!0,horizontalDpi:!0,verticalDpi:!0,copies:!0},a={blackAndWhite:!0,draft:!0,useFirstPageNumber:!0};e.moveToNextAttribute();)t=Re(e),n[t]?r[t]=e.readContentAsInt():a[t]?r[t]=e.readContentAsBoolean():"orientation"===t&&(r.orientation=i.Charts.ST_PageSetupOrientation[e.readContentAsString()]);return r}t.DrawingReader.ReadCT_PageSetup=Fn;function Pn(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"headerFooter":a.headerFooter=kn(e);break;case"pageMargins":a.pageMargins=En(e);break;case"pageSetup":a.pageSetup=Fn(e);break;case"legacyDrawingHF":a.legacyDrawingHF=ir(e)}return a}t.DrawingReader.ReadCT_PrintSettings=Pn;function Dn(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"roundedCorners":a.roundedCorners=$t(e);break;case Ae:a.style=xn(e);break;case"clrMapOvr":a.clrMapOvr=Pl(e);break;case"pivotSource":a.pivotSource=Tn(e);break;case"protection":a.protection=An(e);break;case"chart":a.chart=vn(e);break;case V:a.spPr=el(e);break;case z:a.txPr=Vl(e);break;case"externalData":a.externalData=In(e);break;case"printSettings":a.printSettings=Pn(e);break;case"userShapes":a.userShapes=Bn(e);break;case C:a.extLst=ar(e)}return a}t.DrawingReader.ReadCT_ChartSpace=Dn;function Rn(e){var t,r,i,n,a={ext:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===E?a.ext.push(Ln(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_DLblExtensionList=Rn;function Ln(e){var t,r,i,n,a={};if(a.uri=_e(e,"uri"),3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case te:a.layout=xr(e);break;case"dlblFieldTable":a.dlblFieldTable=ta(e);break;case"showDataLabelsRange":a.showDataLabelsRange=$t(e)}return a}t.DrawingReader.ReadCT_DLblExt=Ln;function _n(e){var t,r,i,n,a={ext:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===E?a.ext.push(Nn(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_DLblsExtensionList=_n;function Nn(e){var t,r,i,n,a={};if(a.uri=De(_e(e,"uri"),"{CE6537A1-D6FC-4f65-9D91-7224C49458BB}"),3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case te:a.layout=xr(e);break;case"showLeaderLines":a.showLeaderLines=$t(e);break;case"showDataLabelsRange":a.showDataLabelsRange=$t(e);break;case"leaderLines":a.leaderLines=wi(e);break;case V:a.spPr=el(e)}return a}t.DrawingReader.ReadCT_DLblsExt=Nn;function Bn(e){var t={};return t.id=_e(e,"id"),Ne(e,"userShapes",oa,t)}t.DrawingReader.ReadCT_UserShapes=Bn;function Mn(e){var t={extDataType:0};return Ne(e,V,el,t)}t.DrawingReader.ReadCT_InvertSolidFillFmt=Mn;function On(e){return We(e)}t.DrawingReader.ReadCT_FullRef=On;function Gn(e){return We(e)}t.DrawingReader.ReadCT_LevelRef=Gn;function Hn(e){return We(e)}t.DrawingReader.ReadCT_FormulaRef=Hn;function Un(e){return Ne(e,"tx",pr)}t.DrawingReader.ReadCT_FilteredSeriesTitle=Un;function Jn(e){return Ne(e,"cat",wr)}t.DrawingReader.ReadCT_FilteredCategoryTitle=Jn;function Wn(e){return Ne(e,se,fi)}t.DrawingReader.ReadCT_FilteredBarSer=Wn;function Vn(e){return Ne(e,se,ci)}t.DrawingReader.ReadCT_FilteredLineSer=Vn;function zn(e){return Ne(e,se,ui)}t.DrawingReader.ReadCT_FilteredScatterSer=zn;function jn(e){return Ne(e,se,pi)}t.DrawingReader.ReadCT_FilteredAreaSer=jn;function Xn(e){return Ne(e,se,hi)}t.DrawingReader.ReadCT_FilteredPieSer=Xn;function Kn(e){return Ne(e,se,mi)}t.DrawingReader.ReadCT_FilteredBubbleSer=Kn;function qn(e){return Ne(e,se,di)}t.DrawingReader.ReadCT_FilteredRadarSer=qn;function Yn(e){return Ne(e,se,gi)}t.DrawingReader.ReadCT_FilteredSurfaceSer=Yn;function Qn(e){var t,r,i,n,a={extDataType:1};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"f"===n?a.f=u(e.readElementContentAsString()):"dlblRangeCache"===n&&(a.dlblRangeCache=dr(e)));return a}t.DrawingReader.ReadCT_SeriesDataLabelsRange=Qn;function Zn(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case j:a.sqref=e.readElementContentAsString();break;case V:a.spPr=el(e);break;case"explosion":a.explosion=tr(e);break;case X:a.invertIfNegative=$t(e);break;case K:a.bubble3D=$t(e);break;case q:a.marker=qr(e);break;case"dLbl":a.dLbl=zr(e)}return a}t.DrawingReader.ReadCT_CategoryFilterException=Zn;function $n(e){var t,r,i,n,a={categoryFilterException:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"categoryFilterException"===n&&a.categoryFilterException.push(Zn(e)));return a}t.DrawingReader.ReadCT_CategoryFilterExceptions=$n;function ea(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"txfldGUID":a.txfldGUID=e.readElementContentAsString();break;case"f":a.f=u(e.readElementContentAsString());break;case"dlblFieldTableCache":a.dlblFieldTableCache=dr(e)}return a}t.DrawingReader.ReadCT_DataLabelFieldTableEntry=ea;
32
+ function ta(e){var t,r,i,n,a={dlblFTEntry:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"dlblFTEntry"===n?a.dlblFTEntry.push(ea(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_DataLabelFieldTable=ta;function ra(e){return Je(e)}t.DrawingReader.ReadCT_GraphicFrameNonVisual=ra;function ia(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"x"!==n&&"y"!==n||(a[n]=e.readElementContentAsDouble()));return a}t.DrawingReader.ReadCT_CdrPosition=ia;function na(e){var t,r,i,n,a={anchorType:3};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"from":a.startPoint=ia(e);break;case"to":a.endPoint=ia(e);break;case"sp":a.sp=ll(e);break;case Y:a.grpSp=ml(e);break;case A:a.graphicFrame=pl(e);break;case Q:a.cxnSp=cl(e);break;case"pic":a.pic=dl(e)}return a}t.DrawingReader.ReadCT_RelSizeAnchor=na;function aa(e){var t,r,i,n,a,o={anchorType:4};if(3===e.elementType)return o;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"from":o.startPoint=ia(e);break;case E:a=xt(e,!0),o.width=a.cx,o.height=a.cy;break;case"sp":o.sp=ll(e);break;case Y:o.grpSp=ml(e);break;case A:o.graphicFrame=pl(e);break;case Q:o.cxnSp=cl(e);break;case"pic":o.pic=dl(e)}return o}t.DrawingReader.ReadCT_AbsSizeAnchor=aa;function oa(e){var t,r,i,n,a={relSizeAnchor:[],absSizeAnchor:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"relSizeAnchor"===n?a.relSizeAnchor.push(na(e)):"absSizeAnchor"===n&&a.absSizeAnchor.push(aa(e)));return a}t.DrawingReader.ReadCT_ChartDrawing=oa;function la(e){for(var t,r={noGrp:!1,noSelect:!1,noRot:!1,noChangeAspect:!1,noMove:!1,noResize:!1,noEditPoints:!1,noAdjustHandles:!1,noChangeArrowheads:!1,noChangeShapeType:!1},i={noGrp:!0,noSelect:!0,noRot:!0,noChangeAspect:!0,noMove:!0,noResize:!0,noEditPoints:!0,noAdjustHandles:!0,noChangeArrowheads:!0,noChangeShapeType:!0};e.moveToNextAttribute();)t=Re(e),i[t]&&(r[t]=e.readContentAsBoolean());return Ne(e,C,Ot,r)}t.DrawingReader.ReadCT_ConnectorLocking=la;function sa(e){for(var t,r={noGrp:!1,noSelect:!1,noRot:!1,noChangeAspect:!1,noMove:!1,noResize:!1,noEditPoints:!1,noAdjustHandles:!1,noChangeArrowheads:!1,noChangeShapeType:!1,noTextEdit:!1},i={noGrp:!0,noSelect:!0,noRot:!0,noChangeAspect:!0,noMove:!0,noResize:!0,noEditPoints:!0,noAdjustHandles:!0,noChangeArrowheads:!0,noChangeShapeType:!0,noTextEdit:!0};e.moveToNextAttribute();)t=Re(e),i[t]&&(r[t]=e.readContentAsBoolean());return Ne(e,C,Ot,r)}t.DrawingReader.ReadCT_ShapeLocking=sa;function ca(e){for(var t,r={},i={noGrp:!0,noSelect:!0,noRot:!0,noChangeAspect:!0,noMove:!0,noResize:!0,noEditPoints:!0,noAdjustHandles:!0,noChangeArrowheads:!0,noChangeShapeType:!0,noCrop:!0};e.moveToNextAttribute();)t=Re(e),i[t]&&(r[t]=e.readContentAsBoolean());return Ne(e,C,Ot,r)}t.DrawingReader.ReadCT_PictureLocking=ca;function ua(e){for(var t,r={noGrp:!1,noUngrp:!1,noSelect:!1,noRot:!1,noChangeAspect:!1,noMove:!1,noResize:!1},i={noGrp:!0,noUngrp:!0,noSelect:!0,noRot:!0,noChangeAspect:!0,noMove:!0,noResize:!0};e.moveToNextAttribute();)t=Re(e),i[t]&&(r[t]=e.readContentAsBoolean());return Ne(e,C,Ot,r)}t.DrawingReader.ReadCT_GroupLocking=ua;function da(e){for(var t,r={noGrp:!1,noDrilldown:!1,noSelect:!1,noChangeAspect:!1,noMove:!1,noResize:!1},i={noGrp:!0,noDrilldown:!0,noSelect:!0,noChangeAspect:!0,noMove:!0,noResize:!0};e.moveToNextAttribute();)t=Re(e),i[t]&&(r[t]=e.readContentAsBoolean());return Ne(e,C,Ot,r)}t.DrawingReader.ReadCT_GraphicalObjectFrameLocking=da;function fa(e){for(var t,r,i,n,a,o={};e.moveToNextAttribute();)switch(t=Re(e)){case"id":o.id=e.readContentAsInt();break;case g:o.name=u(e.readContentAsString());break;case be:o.title=e.readContentAsString();break;case"descr":o.descr=e.readContentAsString();break;case"hidden":o.hidden=e.readContentAsBoolean()}if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)i>r+1||2===n||(a=Le(e),"hlinkClick"===a||"hlinkHover"===a?o[a]=Zt(e):a===C&&(o.extLst=Ot(e)));return o}t.DrawingReader.ReadCT_NonVisualDrawingProps=fa;function pa(e){var t,r,i,n,a={};if(a.txBox=De(_e(e,"txBox",d),!1),3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"spLocks"===n?a.spLocks=sa(e):n===C&&(a.extLst=Ot(e)));return a}t.DrawingReader.ReadCT_NonVisualDrawingShapeProps=pa;function ha(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"cxnSpLocks":a.cxnSpLocks=la(e);break;case"stCxn":a.stCxn=Bo(e);break;case"endCxn":a.endCxn=Bo(e);break;case C:a.extLst=Ot(e)}return a}t.DrawingReader.ReadCT_NonVisualConnectorProperties=ha;function ma(e){var t,r,i,n,a={};if(a.preferRelativeResize=_e(e,"preferRelativeResize",d),3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"picLocks"===n?a.picLocks=ca(e):n===C&&(a.extLst=Ot(e)));return a}t.DrawingReader.ReadCT_NonVisualPictureProperties=ma;function ga(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"grpSpLocks"===n?a.grpSpLocks=ua(e):n===C&&(a.extLst=Ot(e)));return a}t.DrawingReader.ReadCT_NonVisualGroupDrawingShapeProps=ga;function ba(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"graphicFrameLocks"===n?a.graphicFrameLocks=da(e):n===C&&(a.extLst=Ot(e)));return a}t.DrawingReader.ReadCT_NonVisualGraphicFrameProperties=ba;function wa(e){var t={};return t.id=_e(e,"id"),t}t.DrawingReader.ReadCT_GraphicalObjectDataContent=wa;function Ca(e){for(var t,r,i,n={},a=e.depth;e.read()&&(t=e.depth,r=e.elementType,t!==a||2!==r);)t>a+1||2===r||(i=Le(e),"chart"===i&&(n.chart=wa(e)));return n}t.DrawingReader.ReadCT_GraphicalObjectData=Ca;function Sa(e){return Ne(e,"graphicData",Ca)}t.DrawingReader.ReadCT_GraphicalObject=Sa;function ya(e){return e.replace(/&#xA/g,"\n").replace(/&#xD/g,"\r")}t.DrawingReader.NormalizeSignificantWhitespaceFromXml=ya;function va(e){var t,r,i,n,a={name:""};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===g&&(a.name=ya(e.readContentAsString())));return a}t.DrawingReader.ReadCT_Slicer=va;function xa(e){for(var t,r={zoom:1e5};e.moveToNextAttribute();)t=Re(e),"fov"===t||"zoom"===t?r[t]=e.readContentAsInt():t===w&&(r.prst=i.Charts.ST_PresetCameraType[e.readContentAsString()]);return Ne(e,"rot",zt,r)}t.DrawingReader.ReadCT_Camera=xa;function Ta(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"rig"===t?r.rig=i.Charts.ST_LightRigType[e.readContentAsString()]:"dir"===t&&(r.dir=i.Charts.ST_LightRigDirection[e.readContentAsString()]);return Ne(e,"rot",zt,r)}t.DrawingReader.ReadCT_LightRig=Ta;function Aa(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"camera":a.camera=xa(e);break;case"lightRig":a.lightRig=Ta(e);break;case"backdrop":a.backdrop=ka(e);break;case C:a.extLst=Ot(e)}return a}t.DrawingReader.ReadCT_Scene3D=Aa;function ka(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"anchor":a.anchor=Wt(e);break;case"norm":a.norm=Vt(e);break;case"up":a.up=Vt(e);break;case C:a.extLst=Ot(e)}return a}t.DrawingReader.ReadCT_Backdrop=ka;function Ea(e){for(var t,r={w:76200,h:76200,prst:1};e.moveToNextAttribute();)t=Re(e),"w"===t||"h"===t?r[t]=e.readContentAsInt():t===w&&(r.prst=i.Charts.ST_BevelPresetType[e.readContentAsString()]);return r}t.DrawingReader.ReadCT_Bevel=Ea;function Ia(e){for(var t,r,n,a,o,l,s={};e.moveToNextAttribute();)r=Re(e),"z"===r||"extrusionH"===r||"contourW"===r?(t=e.readContentAsInt(),s[r]=c(t)):"prstMaterial"===r&&(s.prstMaterial=i.Charts.ST_PresetMaterialType[e.readContentAsString()]);if(3===e.elementType)return s;for(n=e.depth;e.read()&&(a=e.depth,o=e.elementType,a!==n||2!==o);)a>n+1||2===o||(l=Le(e),"bevelT"===l||"bevelB"===l?s[l]=Ea(e):"extrusionClr"===l||"contourClr"===l?s[l]=qt(e):l===C&&(s.extLst=Ot(e)));return s}t.DrawingReader.ReadCT_Shape3D=Ia;function Fa(e){var t={};return t.z=De(_e(e,"z",p),0),t}t.DrawingReader.ReadCT_FlatText=Fa;function Pa(e){var t={};return t.thresh=_e(e,"thresh",p),t}function Da(e){return Pa(e)}t.DrawingReader.ReadCT_AlphaBiLevelEffect=Da;function Ra(){return{}}t.DrawingReader.ReadCT_AlphaCeilingEffect=Ra;function La(){return{}}t.DrawingReader.ReadCT_AlphaFloorEffect=La;function _a(e){return jt(e)}t.DrawingReader.ReadCT_AlphaInverseEffect=_a;function Na(e){var t={};return t.amt=De(_e(e,"amt",p),1e5),t}t.DrawingReader.ReadCT_AlphaModulateFixedEffect=Na;function Ba(e){var t={};return t.rad=De(_e(e,"rad",p),0),t}t.DrawingReader.ReadCT_AlphaOutsetEffect=Ba;function Ma(e){var t={};return t.a=_e(e,"a",p),t}t.DrawingReader.ReadCT_AlphaReplaceEffect=Ma;function Oa(e){return Pa(e)}t.DrawingReader.ReadCT_BiLevelEffect=Oa;function Ga(e){for(var t,r={rad:0,grow:!0};e.moveToNextAttribute();)t=Re(e),"rad"===t?r.rad=e.readContentAsInt():"grow"===t&&(r.grow=e.readContentAsBoolean());return r}t.DrawingReader.ReadCT_BlurEffect=Ga;function Ha(e){var t,r,i,n,a={};if(a.useA=De(_e(e,"useA",d),!0),3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"clrFrom"!==n&&"clrTo"!==n||(a[n]=qt(e)));return a}t.DrawingReader.ReadCT_ColorChangeEffect=Ha;function Ua(e){return Kt(e)}t.DrawingReader.ReadCT_ColorReplaceEffect=Ua;function Ja(e){var t=[];return 3===e.elementType?t:Be(e,t)}t.DrawingReader.ReadCT_DuotoneEffect=Ja;function Wa(e){var t={};return t.rad=De(_e(e,"rad",p),0),3===e.elementType?t:Me(e,t)}t.DrawingReader.ReadCT_GlowEffect=Wa;function Va(){return{}}t.DrawingReader.ReadCT_GrayscaleEffect=Va;function za(e){for(var t,r={hue:0,sat:0,lum:0};e.moveToNextAttribute();)t=Re(e),"hue"!==t&&"sat"!==t&&"lum"!==t||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_HSLEffect=za;function ja(e){var t,r={blurRad:0,dist:0,dir:0};for(r.shadowEffectType=1;e.moveToNextAttribute();)t=Re(e),"blurRad"!==t&&"dist"!==t&&"dir"!==t||(r[t]=e.readContentAsInt());return 3===e.elementType?r:Me(e,r)}t.DrawingReader.ReadCT_InnerShadowEffect=ja;function Xa(e){for(var t,r={bright:0,contrast:0};e.moveToNextAttribute();)t=Re(e),"bright"!==t&&"contrast"!==t||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_LuminanceEffect=Xa;function Ka(e){var t,r,n={blurRad:0,dist:0,dir:0,sx:1e5,sy:1e5,kx:0,ky:0,algn:7,rotWithShape:!0};for(n.shadowEffectType=0,t={blurRad:!0,dist:!0,dir:!0,sx:!0,sy:!0,kx:!0,ky:!0};e.moveToNextAttribute();)r=Re(e),t[r]?n[r]=e.readContentAsInt():"algn"===r?n.algn=i.Charts.ST_RectAlignment[e.readContentAsString()]:r===ke&&(n.rotWithShape=e.readContentAsBoolean());return 3===e.elementType?n:Me(e,n)}t.DrawingReader.ReadCT_OuterShadowEffect=Ka;function qa(e){for(var t,r={dist:0,dir:0,shadowEffectType:2};e.moveToNextAttribute();)t=Re(e),"dist"===t||"dir"===t?r[t]=e.readContentAsInt():t===w&&(r.prst=i.Charts.ST_PresetShadowVal[e.readContentAsString()]);return 3===e.elementType?r:Me(e,r)}t.DrawingReader.ReadCT_PresetShadowEffect=qa;function Ya(e){for(var t,r={blurRad:0,stA:1e5,stPos:0,endA:0,endPos:1e5,dist:0,dir:0,fadeDir:54e5,sx:1e5,sy:1e5,kx:0,ky:0,algn:7,rotWithShape:!0},n={blurRad:!0,stA:!0,stPos:!0,endA:!0,endPos:!0,dist:!0,dir:!0,fadeDir:!0,sx:!0,sy:!0,kx:!0,ky:!0};e.moveToNextAttribute();)t=Re(e),n[t]?r[t]=e.readContentAsInt():"algn"===t?r.algn=i.Charts.ST_RectAlignment[e.readContentAsString()]:t===ke&&(r.rotWithShape=e.readContentAsBoolean());return r}t.DrawingReader.ReadCT_ReflectionEffect=Ya;function Qa(e){for(var t,r={tx:0,ty:0};e.moveToNextAttribute();)t=Re(e),"tx"!==t&&"ty"!==t||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_RelativeOffsetEffect=Qa;function Za(e){var t={};return t.rad=_e(e,"rad",p),t}t.DrawingReader.ReadCT_SoftEdgesEffect=Za;function $a(e){for(var t,r={hue:0,amt:0};e.moveToNextAttribute();)t=Re(e),"hue"!==t&&"amt"!==t||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_TintEffect=$a;function eo(e){for(var t,r={sx:1e5,sy:1e5,kx:0,ky:0,tx:0,ty:0},i={sx:!0,sy:!0,kx:!0,ky:!0,tx:!0,ty:!0};e.moveToNextAttribute();)t=Re(e),i[t]&&(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_TransformEffect=eo;function to(){return!0}t.DrawingReader.ReadCT_NoFillProperties=to;function ro(e){return Kt(e)}t.DrawingReader.ReadCT_SolidColorFillProperties=ro;function io(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"ang"===t?r.ang=e.readContentAsInt():"scaled"===t&&(r.scaled=e.readContentAsBoolean());return r}t.DrawingReader.ReadCT_LinearShadeProperties=io;function no(e){var t={},r=_e(e,"path");return o.J(r)||(t.path=i.Charts.ST_PathShadeType[r]),Ne(e,"fillToRect",Xt,t)}t.DrawingReader.ReadCT_PathShadeProperties=no;function ao(e){var t={};return t.pos=_e(e,"pos",p),3===e.elementType?t:Me(e,t)}t.DrawingReader.ReadCT_GradientStop=ao;function oo(e){var t,r,i,n,a={gs:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"gs"===n?a.gs.push(ao(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_GradientStopList=oo;function lo(e){for(var t,r,n,a,o,l={rotWithShape:!0};e.moveToNextAttribute();)t=Re(e),"flip"===t?l.flip=i.Charts.ST_TileFlipMode[e.readContentAsString()]:t===ke&&(l.rotWithShape=e.readContentAsBoolean());if(3===e.elementType)return l;for(r=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)if(!(n>r+1||2===a))switch(o=Le(e)){case"gsLst":l.gsLst=oo(e);break;case"lin":l.lin=io(e);break;case"path":l.path=no(e);break;case"tileRect":l.tileRect=Xt(e)}return l}t.DrawingReader.ReadCT_GradientFillProperties=lo;function so(e){for(var t,r,n={},a={tx:!0,ty:!0,sx:!0,sy:!0},o={tx:!0,ty:!0};e.moveToNextAttribute();)r=Re(e),a[r]?(t=e.readContentAsInt(),o[r]&&(t=c(t)),n[r]=t):"flip"===r?n.flip=i.Charts.ST_TileFlipMode[e.readContentAsString()]:"algn"===r&&(n.algn=i.Charts.ST_RectAlignment[e.readContentAsString()]);return n}t.DrawingReader.ReadCT_TileInfoProperties=so;function co(e){return Ne(e,"fillRect",Xt)}t.DrawingReader.ReadCT_StretchInfoProperties=co;function uo(e){for(var t,r,n,a,o,l,s,c,u={cstate:4};e.moveToNextAttribute();)t=Re(e),"embed"===t||"link"===t?u[t]=e.readContentAsString():"cstate"===t&&(u.cstate=i.Charts.ST_BlipCompression[e.readContentAsString()]);if(3===e.elementType)return u;for(r=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)if(!(n>r+1||2===a))switch(o=Le(e)){case"alphaBiLevel":u.alphaBiLevel=Da(e);break;case"alphaCeiling":u.alphaCeiling=Ra();break;case"alphaFloor":u.alphaFloor=La();break;case"alphaInv":u.alphaInv=_a(e);break;case"alphaMod":u.alphaMod=vo(e);break;case"alphaModFix":u.alphaModFix=Na(e);break;case"alphaRepl":u.alphaRepl=Ma(e);break;case"biLevel":u.biLevel=Oa(e);break;case"blur":u.blur=Ga(e);break;case"clrChange":u.clrChange=Ha(e);break;case"clrRepl":u.clrRepl=Ua(e);break;case"duotone":u.duotone=Ja(e);break;case"fillOverlay":u.fillOverlay=Co(e);break;case"grayscl":u.grayscl=Va();break;case"hsl":u.hsl=za(e);break;case"lum":u.lum=Xa(e);break;case"tint":u.tint=$a(e);break;case"blipBlob":u.blipBlob=fo(e);break;case C:u.extLst=Ot(e)}if(l=u.extLst&&u.extLst.ext,Array.isArray(l)&&u.embed){for(s=-1,c=0;c<l.length;c++)if(5===l[c].hiddenExtensionType){s=c;break}s!==-1&&(u.embed=l[s].svgBlip.embed,l.splice(s,1)),0===l.length&&(delete u.extLst.ext,0===Object.keys(u.extLst).length&&delete u.extLst)}return u}t.DrawingReader.ReadCT_Blip=uo;function fo(e){var t,r,n,a,l={},s=De(_e(e,b),0);if(o.J(s)||(l.type=i.Charts.ST_BobType[s]),3===e.elementType)return l;for(t=e.depth;e.read()&&(r=e.depth,n=e.elementType,r!==t||2!==n);)r>t+1||2===n||(a=Le(e),"blob"===a&&(l.blob=e.readElementContentAsString()));return l}t.DrawingReader.ReadCT_BlipBlob=fo;function po(e){for(var t,r,i,n,a,o={};e.moveToNextAttribute();)t=Re(e),"dpi"===t?o.dpi=e.readContentAsInt():t===ke&&(o.rotWithShape=e.readContentAsBoolean());if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Le(e)){case"blip":o.blip=uo(e);break;case"srcRect":o.srcRect=Xt(e);break;case"tile":o.tile=so(e);break;case"stretch":o.stretch=co(e)}return o}t.DrawingReader.ReadCT_BlipFillProperties=po;function ho(e){var t,r,n,l,s={},c=_e(e,w);if(o.J(c)||(s.prst=a.ChartHelper.ToPatternType(i.Charts.ST_PresetPatternVal[c])),3===e.elementType)return s;for(t=e.depth;e.read()&&(r=e.depth,n=e.elementType,r!==t||2!==n);)r>t+1||2===n||(l=Le(e),"fgClr"!==l&&"bgClr"!==l||(s[l]=qt(e)));return s}t.DrawingReader.ReadCT_PatternFillProperties=ho;function mo(){return{}}t.DrawingReader.ReadCT_GroupFillProperties=mo;function go(e){var t={};return 3===e.elementType?t:Oe(e,t)}function bo(e){return go(e)}t.DrawingReader.ReadCT_FillProperties=bo;function wo(e){return Kt(e)}t.DrawingReader.ReadCT_FillEffect=wo;function Co(e){var t={},r=_e(e,"blend");return o.J(r)||(t.blend=i.Charts.ST_BlendMode[r]),3===e.elementType?t:Oe(e,t)}t.DrawingReader.ReadCT_FillOverlayEffect=Co;function So(e){var t={};return t.ref=_e(e,"ref"),t}t.DrawingReader.ReadCT_EffectReference=So;function yo(e){for(var t,r,n,a,o,l={type:0};e.moveToNextAttribute();)t=Re(e),t===b?l.type=i.Charts.ST_EffectContainerType[e.readContentAsString()]:t===g&&(l.name=e.readContentAsString());if(3===e.elementType)return l;for(r=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)if(!(n>r+1||2===a))switch(o=Le(e)){case"cont":l.cont=yo(e);break;case"effect":l.effect=So(e);break;case"alphaBiLevel":l.alphaBiLevel=Da(e);break;case"alphaCeiling":l.alphaCeiling=Ra();break;case"alphaFloor":l.alphaFloor=La();break;case"alphaInv":l.alphaInv=_a(e);break;case"alphaMod":l.alphaMod=vo(e);break;case"alphaModFix":l.alphaModFix=Na(e);break;case"alphaOutset":l.alphaOutset=Ba(e);break;case"alphaRepl":l.alphaRepl=Ma(e);break;case"biLevel":l.biLevel=Oa(e);break;case"blend":l.blend=xo(e);break;case"blur":l.blur=Ga(e);break;case"clrChange":l.clrChange=Ha(e);break;case"clrRepl":l.clrRepl=Ua(e);break;case"duotone":l.duotone=Ja(e);break;case"fill":l.fill=wo(e);break;case"fillOverlay":l.fillOverlay=Co(e);break;case"glow":l.glow=Wa(e);break;case"grayscl":l.grayscl=Va();break;case"hsl":l.hsl=za(e);break;case"innerShdw":l.innerShdw=ja(e);break;case"lum":l.lum=Xa(e);break;case"outerShdw":l.outerShdw=Ka(e);break;case"prstShdw":l.prstShdw=qa(e);break;case"reflection":l.reflection=Ya(e);break;case"relOff":l.relOff=Qa(e);break;case"softEdge":l.softEdge=Za(e);break;case"tint":l.tint=$a(e);break;case"xfrm":l.xfrm=eo(e)}return l}t.DrawingReader.ReadCT_EffectContainer=yo;function vo(e){return Ne(e,"cont",yo)}t.DrawingReader.ReadCT_AlphaModulateEffect=vo;function xo(e){var t={},r=_e(e,"blend");return o.J(r)||(t.blend=i.Charts.ST_BlendMode[r]),Ne(e,"cont",yo,t)}t.DrawingReader.ReadCT_BlendEffect=xo;function To(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"blur":a.blur=Ga(e);break;case"fillOverlay":a.fillOverlay=Co(e);break;case"glow":a.glow=Wa(e);break;case"innerShdw":a.innerShdw=ja(e);break;case"outerShdw":a.outerShdw=Ka(e);break;case"prstShdw":a.prstShdw=qa(e);break;case"reflection":a.reflection=Ya(e);break;case"softEdge":a.softEdge=Za(e)}return a}t.DrawingReader.ReadCT_EffectList=To;function Ao(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===v?a.effectLst=To(e):n===x&&(a.effectDag=yo(e)));return a}t.DrawingReader.ReadCT_EffectProperties=Ao;function ko(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),t!==g&&"fmla"!==t||(r[t]=e.readContentAsString());return r}t.DrawingReader.ReadCT_GeomGuide=ko;function Eo(e){var t,r,i,n,a={gd:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"gd"===n?a.gd.push(ko(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_GeomGuideList=Eo;function Io(e){return Ze(e,["x","y"])}t.DrawingReader.ReadCT_AdjPoint2D=Io;function Fo(e){for(var t,r={},i={l:!0,t:!0,r:!0,b:!0};e.moveToNextAttribute();)t=Re(e),i[t]&&(r[t]=e.readContentAsString());return r}t.DrawingReader.ReadCT_GeomRect=Fo;function Po(e,t){for(var r,i={};e.moveToNextAttribute();)r=Re(e),r!==t[0]&&r!==t[1]||(i[r]=e.readContentAsString());return Ne(e,"pos",Io,i)}function Do(e){return Po(e,["gdRefX","gdRefY"])}t.DrawingReader.ReadCT_XYAdjustHandle=Do;function Ro(e){return Po(e,["gdRefR","gdRefAng"])}t.DrawingReader.ReadCT_PolarAdjustHandle=Ro;function Lo(e){var t={};return t.ang=_e(e,"ang"),Ne(e,"pos",Io,t)}t.DrawingReader.ReadCT_ConnectionSite=Lo;function _o(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"ahXY"===n?a.ahXY=Do(e):"ahPolar"===n&&(a.ahPolar=Ro(e)));return a}t.DrawingReader.ReadCT_AdjustHandleList=_o;function No(e){var t,r,i,n,a={cxn:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"cxn"===n?a.cxn.push(Lo(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_ConnectionSiteList=No;function Bo(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"id"!==t&&t!==J||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_Connection=Bo;function Mo(e,t){var r,n,a,o,l={PtList:[],typeName:i.Charts.CT_PathType.CT_PathToList};if(l.pathToType=t,3===e.elementType)return l;for(r=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)n>r+1||2===a||(o=Le(e),"pt"===o&&l.PtList.push(Io(e)));return l}function Oo(){return{typeName:i.Charts.CT_PathType.CT_Path2DArcTo}}t.DrawingReader.ReadCT_Path2DArcTo=Oo;function Go(){return{typeName:i.Charts.CT_PathType.CT_Path2DClose}}t.DrawingReader.ReadCT_Path2DClose=Go;function Ho(e){for(var t,r,n,a,o,l={quadBezTo:[],cubicBezTo:[],w:0,h:0,fill:1,stroke:!0,extrusionOk:!0,pathToList:[]};e.moveToNextAttribute();)t=Re(e),"w"===t||"h"===t?l[t]=e.readContentAsInt():"stroke"===t||"extrusionOk"===t?l[t]=e.readContentAsBoolean():"fill"===t&&(l.fill=i.Charts.ST_PathFillMode[e.readContentAsString()]);if(3===e.elementType)return l;for(r=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)if(!(n>r+1||2===a))switch(o=Le(e)){case"close":l.pathToList.push(Go());break;case"moveTo":l.pathToList.push(Mo(e,1));break;case"lnTo":l.pathToList.push(Mo(e,0));break;case"arcTo":l.pathToList.push(Oo());break;case"quadBezTo":l.pathToList.push(Mo(e,2));break;case"cubicBezTo":l.pathToList.push(Mo(e,3))}return l}t.DrawingReader.ReadCT_Path2D=Ho;function Uo(e){var t,r,i,n,a=[];if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"path"===n&&a.push(Ho(e)));return a}t.DrawingReader.ReadCT_Path2DList=Uo;function Jo(e){var t={},r=_e(e,w);return o.J(r)||(t.prst=i.Charts.ST_ShapeType[r]),Ne(e,"avLst",Eo,t)}t.DrawingReader.ReadCT_PresetGeometry2D=Jo;function Wo(e){var t={},r=_e(e,w);return o.J(r)||(t.prst=i.Charts.ST_TextShapeType[r]),Ne(e,"avLst",Eo,t)}t.DrawingReader.ReadCT_PresetTextShape=Wo;function Vo(e){var t,r,i,n,a={pathLst:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"avLst":a.avLst=Eo(e);break;case"gdLst":a.gdLst=Eo(e);break;case"ahLst":a.ahLst=_o(e);break;case"cxnLst":a.cxnLst=No(e);break;case"rect":a.rect=Fo(e);break;case"pathLst":a.pathLst=Uo(e)}return a}t.DrawingReader.ReadCT_CustomGeometry2D=Vo;function zo(e){for(var t,r={w:1,len:1};e.moveToNextAttribute();)switch(t=Re(e)){case b:r.type=i.Charts.ST_LineEndType[e.readContentAsString()];break;case"w":r.w=i.Charts.ST_LineEndWidth[e.readContentAsString()];break;case"len":r.len=i.Charts.ST_LineEndLength[e.readContentAsString()]}return r}t.DrawingReader.ReadCT_LineEndProperties=zo;function jo(){return{}}t.DrawingReader.ReadCT_LineJoinBevel=jo;function Xo(){return!0}t.DrawingReader.ReadCT_LineJoinRound=Xo;function Ko(e){var t={};return t.lim=_e(e,"lim",p),t}t.DrawingReader.ReadCT_LineJoinMiterProperties=Ko;function qo(e){var t=_e(e,m);if(!o.J(t))return i.Charts.ST_PresetLineDashVal[t]}t.DrawingReader.ReadCT_PresetLineDashProperties=qo;function Yo(e){return Ct(e,["d","sp"])}t.DrawingReader.ReadCT_DashStop=Yo;function Qo(e){var t,r,i,n,a={ds:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"ds"===n?a.ds.push(Yo(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_DashStopList=Qo;function Zo(e){for(var t,r,n,a,o,l={};e.moveToNextAttribute();)switch(t=Re(e)){case"w":l.w=c(e.readContentAsInt());break;case"cap":l.cap=i.Charts.ST_LineCap[e.readContentAsString()];break;case"cmpd":l.cmpd=i.Charts.ST_CompoundLine[e.readContentAsString()];break;case"algn":l.algn=i.Charts.ST_PenAlignment[e.readContentAsString()]}if(3===e.elementType)return l;for(r=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)if(!(n>r+1||2===a))switch(o=Le(e)){case N:l.noFill=to();break;case B:l.solidFill=ro(e);break;case M:l.gradFill=lo(e);break;case G:l.pattFill=ho(e);break;case"prstDash":l.prstDash=qo(e);break;case"custDash":l.custDash=Qo(e);break;case"round":l.round=Xo();break;case"bevel":l.bevel=jo();break;case"miter":l.miter=Ko(e);break;case"headEnd":l.headEnd=zo(e);break;case"tailEnd":l.tailEnd=zo(e);break;case C:l.extLst=Ot(e)}return 0!==l.w||l.noFill||(l.w=1),l}t.DrawingReader.ReadCT_LineProperties=Zo;function $o(e){for(var t,r={};e.moveToNextAttribute();)switch(t=Re(e)){case"asvg":r.asvg=e.readContentAsString();break;case"embed":r.embed=e.readContentAsString()}return r}t.DrawingReader.ReadCT_SvgBlip=$o;function el(e){var t,r,n,a,l={},s=_e(e,"bwMode");if(o.J(s)||(l.bwMode=i.Charts.ST_BlackWhiteMode[s]),3===e.elementType)return l;for(t=e.depth;e.read()&&(r=e.depth,n=e.elementType,r!==t||2!==n);)if(!(r>t+1||2===n))switch(a=Le(e)){case"xfrm":l.xfrm=Ht(e);break;case"custGeom":l.custGeom=Vo(e);break;case"prstGeom":l.prstGeom=Jo(e);break;case N:l.noFill=to();break;case B:l.solidFill=ro(e);break;case M:l.gradFill=lo(e);break;case O:l.blipFill=po(e);break;case G:l.pattFill=ho(e);break;case H:l.grpFill=mo();break;case"ln":l.ln=Zo(e);break;case v:l.effectLst=To(e);break;case x:l.effectDag=yo(e);break;case W:l.scene3d=Aa(e);break;case"sp3d":l.sp3d=Ia(e);break;case C:l.extLst=Ot(e)}return l}t.DrawingReader.ReadCT_ShapeProperties=el;function tl(e){var t,r,n,a,l={},s=_e(e,"bwMode");if(o.J(s)||(l.bwMode=i.Charts.ST_BlackWhiteMode[s]),3===e.elementType)return l;for(t=e.depth;e.read()&&(r=e.depth,n=e.elementType,r!==t||2!==n);)if(!(r>t+1||2===n))switch(a=Le(e)){case"xfrm":l.xfrm=Ut(e);break;case N:l.noFill=to();break;case B:l.solidFill=ro(e);break;case M:l.gradFill=lo(e);break;case O:l.blipFill=po(e);break;case G:l.pattFill=ho(e);break;case H:l.grpFill=mo();break;case v:l.effectLst=To(e);break;case x:l.effectDag=yo(e);break;case W:l.scene3d=Aa(e);break;case C:l.extLst=Ot(e)}return l}t.DrawingReader.ReadCT_GroupShapeProperties=tl;function rl(e){var t,r,i,n,a={ColorProp:{}};if(a[J]=_e(e,J,p),3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case I:a.ColorProp.scrgbClr=Pt(e);break;case F:a.ColorProp.srgbClr=Rt(e);break;case P:a.ColorProp.hslClr=Lt(e);break;case D:a.ColorProp.sysClr=_t(e);break;case R:a.ColorProp.schemeClr=Nt(e);break;case L:a.ColorProp.prstClr=Bt(e);break;case _:a.ColorProp.styleClr=Mt(e)}return a}t.DrawingReader.ReadCT_StyleMatrixReference=rl;function il(e){var t,r,n,a,o,l={TextCharacterProperties:{}};if(l[J]=_e(e,J),l.idx&&(l.idx=i.Charts.ST_FontCollectionIndex[l.idx]),3===e.elementType)return l;for(t=l.TextCharacterProperties.solidFill={},r=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)if(!(n>r+1||2===a))switch(o=Le(e)){case I:t.scrgbClr=Pt(e);break;case F:t.srgbClr=Rt(e);break;case P:t.hslClr=Lt(e);break;case D:t.sysClr=_t(e);break;case R:t.schemeClr=Nt(e);break;case L:t.prstClr=Bt(e)}return l}t.DrawingReader.ReadCT_FontReference=il;function nl(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"lnRef"===n||"fillRef"===n||"effectRef"===n?a[n]=rl(e):"fontRef"===n&&(a.fontRef=il(e)));return a}t.DrawingReader.ReadCT_ShapeStyle=nl;function al(e){for(var t,r={fLocksWithSheet:!0,fPrintsWithSheet:!0};e.moveToNextAttribute();)t=Re(e),"fLocksWithSheet"!==t&&"fPrintsWithSheet"!==t||(r[t]=e.readContentAsBoolean());return r}t.DrawingReader.ReadCT_AnchorClientData=al;function ol(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===S?a.cNvPr=fa(e):"cNvSpPr"===n&&(a.cNvSpPr=pa(e)));return a}t.DrawingReader.ReadCT_ShapeNonVisual=ol;function ll(e){for(var t,r,i,n,a,o={shapeType:5};e.moveToNextAttribute();)t=Re(e),t===y||"textlink"===t?o[t]=u(e.readContentAsString()):"fLocksText"!==t&&t!==T||(o[t]=e.readContentAsBoolean());if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Le(e)){case"nvSpPr":o.nvSpPr=ol(e);break;case V:o.spPr=el(e);break;case Ae:o.style=nl(e);break;case"txBody":o.txBody=Vl(e)}return o}t.DrawingReader.ReadCT_Shape=ll;function sl(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===S?a.cNvPr=fa(e):"cNvCxnSpPr"===n&&(a.cNvCxnSpPr=ha(e)));return a}t.DrawingReader.ReadCT_ConnectorNonVisual=sl;function cl(e){for(var t,r,i,n,a,o={shapeType:4};e.moveToNextAttribute();)t=Re(e),t===y?o.macro=e.readContentAsString():t===T&&(o.fPublished=e.readContentAsBoolean());if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Le(e)){case"nvCxnSpPr":o.nvCxnSpPr=sl(e);break;case V:o.spPr=el(e);break;case Ae:o.style=nl(e)}return o}t.DrawingReader.ReadCT_Connector=cl;function ul(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===S?a.cNvPr=fa(e):"cNvPicPr"===n&&(a.cNvPicPr=ma(e)));return a}t.DrawingReader.ReadCT_PictureNonVisual=ul;function dl(e){for(var t,r,i,n,a,o={shapeType:1};e.moveToNextAttribute();)t=Re(e),t===y?o.macro=e.readContentAsString():t===T&&(o.fPublished=e.readContentAsBoolean());if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Le(e)){case"nvPicPr":o.nvPicPr=ul(e);break;case O:o.blipFill=po(e);break;case V:o.spPr=el(e);break;case Ae:o.style=nl(e)}return bl(o)&&(o.cameraTool=!0),o}t.DrawingReader.ReadCT_Picture=dl;function fl(e){return Je(e)}t.DrawingReader.ReadCT_GraphicalObjectFrameNonVisual=fl;function pl(e){for(var t,r,i,n,a,o={shapeType:2};e.moveToNextAttribute();)t=Re(e),t===y?o.macro=e.readContentAsString():t===T&&(o.fPublished=e.readContentAsBoolean());if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Le(e)){case"nvGraphicFramePr":o.nvGraphicFramePr=fl(e);break;case"xfrm":o.xfrm=Ht(e);break;case"graphic":o.graphic=Sa(e)}return o}t.DrawingReader.ReadCT_GraphicalObjectFrame=pl;function hl(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===S?a.cNvPr=fa(e):"cNvGrpSpPr"===n&&(a.cNvGrpSpPr=ga(e)));return a}t.DrawingReader.ReadCT_GroupShapeNonVisual=hl;
33
+ function ml(e){var t,r,i,n,a,o,l={shapeType:3,sp:[]};if(3===e.elementType)return l;for(t=e.depth,r=!1;(r||e.read())&&(r=!1,i=e.depth,n=e.elementType,i!==t||2!==n);)if(!(i>t+1||2===n))switch(a=Le(e)){case"nvGrpSpPr":l.nvGrpSpPr=hl(e);break;case"grpSpPr":l.grpSpPr=tl(e);break;case"sp":l.sp.push(ll(e));break;case Y:l.sp.push(ml(e));break;case A:l.sp.push(pl(e));break;case Q:l.sp.push(cl(e));break;case"pic":l.sp.push(dl(e));break;case"AlternateContent":o=yl(e),gl(o)?l.sp.push(o):o&&o.Choice&&o.Choice.pic&&bl(o.Choice.pic)?l.sp.push(o.Choice.pic):o&&o.Choice&&o.Choice.sp&&l.sp.push(o.Choice.sp),r=!0}return l}t.DrawingReader.ReadCT_GroupShape=ml;function gl(e){return!!(e&&e.Choice&&e.Choice.GraphicalObjectFrame&&e.Choice.GraphicalObjectFrame.graphic&&e.Choice.GraphicalObjectFrame.graphic.graphicData&&e.Choice.GraphicalObjectFrame.graphic.graphicData.slicer)}function bl(e){return!!(e&&e.nvPicPr&&e.nvPicPr.cNvPicPr&&e.nvPicPr.cNvPicPr.extLst&&e.nvPicPr.cNvPicPr.extLst.ext&&e.nvPicPr.cNvPicPr.extLst.ext[0]&&e.nvPicPr.cNvPicPr.extLst.ext[0].cameraTool)}t.DrawingReader.IsCameraTool=bl;function wl(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth,r={col:!0,row:!0};e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)i>t+1||2===n||(a=Le(e),r[a]?o[a]=e.readElementContentAsInt():"rowOff"===a?(o.rowOffsetEmu=e.readElementContentAsInt(),o.rowOffset=c(o.rowOffsetEmu)):"colOff"===a&&(o.colOffsetEmu=e.readElementContentAsInt(),o.colOffset=c(o.colOffsetEmu)));return o}t.DrawingReader.ReadCT_Position=wl;function Cl(e){var t,r,n,a,l,s={anchorType:0},c=_e(e,"editAs");if(o.J(c)||(s.editAs=i.Charts.ST_EditAs[c]),3===e.elementType)return s;for(t=e.depth,r=!1;(r||e.read())&&(r=!1,n=e.depth,a=e.elementType,n!==t||2!==a);)if(!(n>t+1||2===a))switch(l=Le(e)){case"from":s.startPoint=wl(e);break;case"to":s.endPoint=wl(e);break;case"sp":s.sp=ll(e);break;case Y:s.grpSp=ml(e);break;case A:s.graphicFrame=pl(e);break;case Q:s.cxnSp=cl(e);break;case"pic":s.pic=dl(e);break;case"AlternateContent":s.AlternateContent=yl(e),r=!0;break;case"clientData":s.clientData=al(e)}return s}t.DrawingReader.ReadCT_TwoCellAnchor=Cl;function Sl(e){return e.replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")}function yl(e){for(var t,r,i,n,a={shapeType:0};e.moveToNextAttribute();)a.AlternateContent=Sl(e.readContentAsString());if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"Choice"===n?a.Choice=vl(e):"Fallback"===n&&(a.Fallback={},a.Fallback.Shape=ll(e)));return a}t.DrawingReader.ReadCT_AlternateContent=yl;function vl(e){for(var t,r,i,n,a,o,l={};e.moveToNextAttribute();)t=Re(e),t===Ee?(r=e.readContentAsString(),0!==r&&1!==r?l.Requires=r:l.Requires=d(r)):l.cx=e.readContentAsString();if(3===e.elementType)return l;for(i=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==i||2!==a);)n>i+1||2===a||(o=Le(e),o===A?l.GraphicalObjectFrame=pl(e):"sp"===o?l.sp=ll(e):o===Y?l.grpSp=ml(e):o===Q?l.cxnSp=cl(e):"twoCellAnchor"===o?l.twoCellAnchor=Cl(e):"oneCellAnchor"===o?l.oneCellAnchor=xl(e):"absoluteAnchor"===o?l.absoluteAnchor=Tl(e):"pic"===o&&(l.pic=dl(e)));return l}t.DrawingReader.ReadCT_Choice=vl;function xl(e){var t,r,i,n,a,o,l={anchorType:1};if(3===e.elementType)return l;for(t=e.depth,r=!1;(r||e.read())&&(r=!1,i=e.depth,n=e.elementType,i!==t||2!==n);)if(!(i>t+1||2===n))switch(a=Le(e)){case"from":l.startPoint=wl(e);break;case E:o=xt(e,!0),l.width=o.cx,l.height=o.cy;break;case"sp":l.sp=ll(e);break;case Y:l.grpSp=ml(e);break;case A:l.graphicFrame=pl(e);break;case Q:l.cxnSp=cl(e);break;case"pic":l.pic=dl(e);break;case"AlternateContent":l.AlternateContent=yl(e),r=!0;break;case"clientData":l.clientData=al(e)}return l}t.DrawingReader.ReadCT_OneCellAnchor=xl;function Tl(e){var t,r,i,n,a,o,l,s={anchorType:2};if(3===e.elementType)return s;for(t=e.depth,r=!1;(r||e.read())&&(r=!1,i=e.depth,n=e.elementType,i!==t||2!==n);)if(!(i>t+1||2===n))switch(a=Le(e)){case"pos":o=vt(e,!0),s.x=o.x,s.y=o.y;break;case E:l=xt(e,!0),s.width=l.cx,s.height=l.cy;break;case"sp":s.sp=ll(e);break;case Y:s.grpSp=ml(e);break;case A:s.graphicFrame=pl(e);break;case Q:s.cxnSp=cl(e);break;case"pic":s.pic=dl(e);break;case"AlternateContent":s.AlternateContent=yl(e),r=!0;break;case"clientData":s.clientData=al(e)}return s}t.DrawingReader.ReadCT_AbsoluteAnchor=Tl;function Al(e){var t,r,i,n,a,l,s,c,u={twoCellAnchor:[],oneCellAnchor:[],absoluteAnchor:[],AnchorBaseList:[]};if(3===e.elementType)return u;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i)){switch(n=Le(e),a=h,l=h,n){case"twoCellAnchor":a=Cl(e);break;case"oneCellAnchor":a=xl(e);break;case"absoluteAnchor":a=Tl(e);break;case"AlternateContent":l=yl(e)}a&&(a.sp||kl(a))&&(s=o.Util.ya(a.AlternateContent),u.AnchorBaseList.push(a),a.AlternateContent&&!s&&delete a.AlternateContent),a&&a.AlternateContent&&a.AlternateContent.Choice&&(a.AlternateContent.Choice.sp||a.AlternateContent.Choice.grpSp||a.AlternateContent.Choice.cxnSp)&&(a.AlternateContent.Choice.sp&&(a.sp=a.AlternateContent.Choice.sp),a.AlternateContent.Choice.grpSp&&(a.grpSp=a.AlternateContent.Choice.grpSp),a.AlternateContent.Choice.cxnSp&&(a.cxnSp=a.AlternateContent.Choice.cxnSp),u.AnchorBaseList.push(a)),c=l&&l.Choice,c&&(c.twoCellAnchor?u.AnchorBaseList.push(c.twoCellAnchor):c.oneCellAnchor?u.AnchorBaseList.push(c.oneCellAnchor):c.absoluteAnchor&&u.AnchorBaseList.push(c.absoluteAnchor))}return u}t.DrawingReader.ReadCT_Drawing=Al;function kl(e){var t,r,i=e.AlternateContent,n=o.Util.ya(i);return!(i&&!gl(i)&&!n)&&!(!n&&(t=e.graphicFrame,r=t&&t.graphic&&t.graphic.graphicData,r&&!r.chart&&!r.slicer))}function El(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case V:a.spPr=el(e);break;case"bodyPr":a.bodyPr=Wl(e);break;case"lstStyle":a.lstStyle=Ol(e);break;case Ae:a.style=nl(e);break;case C:a.extLst=Ot(e)}return a}t.DrawingReader.ReadCT_DefaultShapeDefinition=El;function Il(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"spDef"===n||"lnDef"===n||"txDef"===n?a[n]=El(e):n===C&&(a.extLst=Ot(e)));return a}t.DrawingReader.ReadCT_ObjectStyleDefaults=Il;function Fl(){return{}}t.DrawingReader.ReadCT_EmptyElement=Fl;function Pl(e){for(var t,r={},n={bg1:!0,tx1:!0,bg2:!0,tx2:!0,accent1:!0,accent2:!0,accent3:!0,accent4:!0,accent5:!0,accent6:!0,hlink:!0,folHlink:!0};e.moveToNextAttribute();)t=Re(e),n[t]&&(r[t]=i.Charts.ST_ColorSchemeIndex[e.readContentAsString()]);return Ne(e,C,Ot,r)}t.DrawingReader.ReadCT_ColorMapping=Pl;function Dl(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"masterClrMapping"===n?a.masterClrMapping=Fl():"overrideClrMapping"===n&&(a.overrideClrMapping=Pl(e)));return a}t.DrawingReader.ReadCT_ColorMappingOverride=Dl;function Rl(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),n===Z?a.clrScheme=Ye(e):"clrMap"===n&&(a.clrMap=Pl(e)));return a}t.DrawingReader.ReadCT_ColorSchemeAndMapping=Rl;function Ll(e){var t,r,i,n,a={extraClrScheme:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"extraClrScheme"===n?a.extraClrScheme.push(Rl(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_ColorSchemeList=Ll;function _l(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case"theme":a[g]=_e(e,g);break;case"themeElements":a.themeElements=st(e);break;case"objectDefaults":a.objectDefaults=Il(e);break;case"extraClrSchemeLst":a.extraClrSchemeLst=Ll(e);break;case"custClrLst":a.custClrLst=et(e);break;case C:a.extLst=Ot(e)}return a}t.DrawingReader.ReadCT_OfficeStyleSheet=_l;function Nl(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Le(e)){case Z:a.clrScheme=Ye(e);break;case $:a.fontScheme=it(e);break;case ee:a.fmtScheme=lt(e)}return a}t.DrawingReader.ReadCT_BaseStylesOverride=Nl;function Bl(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"themeElements"===n?a.themeElements=st(e):"clrMap"===n&&(a.clrMap=Pl(e)));return a}t.DrawingReader.ReadCT_ClipboardStyleSheet=Bl;function Ml(e){var r,i,n,a,o,l={};if(3===e.elementType)return l;for(r=e.depth,i=[];e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)if(!(n>r+1||2===a))switch(o=Le(e)){case"pPr":l.pPr=ds(e);break;case"r":i.push(t.DrawingReader.ReadCT_RegularTextRun(e));break;case"br":i.push(t.DrawingReader.ReadCT_TextLineBreak(e));break;case"fld":i.push(t.DrawingReader.ReadCT_TextField(e));break;case"endParaRPr":l.endParaRPr=ns(e)}return i.length>0&&(l.elements=i),l}t.DrawingReader.ReadCT_TextParagraph=Ml;function Ol(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth,r={defPPr:!0,lvl1pPr:!0,lvl2pPr:!0,lvl3pPr:!0,lvl4pPr:!0,lvl5pPr:!0,lvl6pPr:!0,lvl7pPr:!0,lvl8pPr:!0,lvl9pPr:!0};e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)i>t+1||2===n||(a=Le(e),r[a]?o[a]=ds(e):a===C&&(o.extLst=Ot(e)));return o}t.DrawingReader.ReadCT_TextListStyle=Ol;function Gl(e){for(var t,r={fontScale:1e5,lnSpcReduction:0};e.moveToNextAttribute();)t=Re(e),"fontScale"!==t&&"lnSpcReduction"!==t||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_TextNormalAutofit=Gl;function Hl(){return!0}t.DrawingReader.ReadCT_TextShapeAutofit=Hl;function Ul(){return{}}t.DrawingReader.ReadCT_TextNoAutofit=Ul;function Jl(e){return e/6e4}t.DrawingReader.getRotationDegree=Jl;function Wl(e){for(var t,r,n,a,l,s,c={},u={lIns:!0,tIns:!0,rIns:!0,bIns:!0,numCol:!0,spcCol:!0},d={spcFirstLastPara:!0,rtlCol:!0,fromWordArt:!0,anchorCtr:!0,forceAA:!0,upright:!0,compatLnSpc:!0};e.moveToNextAttribute();)t=Re(e),u[t]?c[t]=e.readContentAsInt():d[t]?c[t]=e.readContentAsBoolean():"rot"===t?(r=e.readContentAsInt(),o.J(r)||r===-6e7||(c.rot=Jl(r))):"vertOverflow"===t?c.vertOverflow=i.Charts.ST_TextVertOverflowType[e.readContentAsString()]:"horzOverflow"===t?c.horzOverflow=i.Charts.ST_TextHorzOverflowType[e.readContentAsString()]:"vert"===t?c.vert=i.Charts.ST_TextVerticalType[e.readContentAsString()]:"wrap"===t?c.wrap=i.Charts.ST_TextWrappingType[e.readContentAsString()]:"anchor"===t&&(c.anchor=i.Charts.ST_TextAnchoringType[e.readContentAsString()]);if(3===e.elementType)return c;for(n=e.depth;e.read()&&(a=e.depth,l=e.elementType,a!==n||2!==l);)if(!(a>n+1||2===l))switch(s=Le(e)){case"prstTxWarp":c.prstTxWarp=Wo(e);break;case"noAutofit":c.noAutofit=Ul();break;case"normAutofit":c.normAutofit=Gl(e);break;case"spAutoFit":c.spAutoFit=Hl();break;case W:c.scene3d=Aa(e);break;case"sp3d":c.sp3d=Ia(e);break;case"flatTx":c.flatTx=Fa(e);break;case C:c.extLst=Ot(e)}return c}t.DrawingReader.ReadCT_TextBodyProperties=Wl;function Vl(e){var t,r,i,n,a,o={};if(3===e.elementType)return o;for(t=e.depth,r=[];e.read()&&(i=e.depth,n=e.elementType,i!==t||2!==n);)if(!(i>t+1||2===n))switch(a=Le(e)){case"bodyPr":o.bodyPr=Wl(e);break;case"lstStyle":o.lstStyle=Ol(e);break;case"p":r.push(Ml(e))}return r.length>0&&(o.p=r),o}t.DrawingReader.ReadCT_TextBody=Vl;function zl(){return{}}t.DrawingReader.ReadCT_TextBulletColorFollowText=zl;function jl(){return{}}t.DrawingReader.ReadCT_TextBulletSizeFollowText=jl;function Xl(e){return _e(e,m,p)}t.DrawingReader.ReadCT_TextBulletSizePercent=Xl;function Kl(e){return _e(e,m,p)}t.DrawingReader.ReadCT_TextBulletSizePoint=Kl;function ql(){return{}}t.DrawingReader.ReadCT_TextBulletTypefaceFollowText=ql;function Yl(e){for(var t,r={startAt:1};e.moveToNextAttribute();)t=Re(e),t===b?r.type=i.Charts.ST_TextAutonumberScheme[e.readContentAsString()]:"startAt"===t&&(r.startAt=e.readContentAsInt());return r}t.DrawingReader.ReadCT_TextAutonumberBullet=Yl;function Ql(e){var t={};return t.char=_e(e,"char"),t}t.DrawingReader.ReadCT_TextCharBullet=Ql;function Zl(e){return Ne(e,"blip",uo)}t.DrawingReader.ReadCT_TextBlipBullet=Zl;function $l(){return{}}t.DrawingReader.ReadCT_TextNoBullet=$l;function es(e){for(var t,r={pitchFamily:0,charset:1},i={typeface:!0,panose:!0,pitchFamily:!0,charset:!0};e.moveToNextAttribute();)t=Re(e),i[t]&&(r[t]=e.readContentAsString());return r}t.DrawingReader.ReadCT_TextFont=es;function ts(){return{}}t.DrawingReader.ReadCT_TextUnderlineLineFollowText=ts;function rs(){return{}}t.DrawingReader.ReadCT_TextUnderlineFillFollowText=rs;function is(e){return go(e)}t.DrawingReader.ReadCT_TextUnderlineFillGroupWrapper=is;function ns(e){for(var t,r,a,o,l,s={},c={kern:!0,spc:!0,baseline:!0,smtId:!0},u={kumimoji:!0,normalizeH:!0,noProof:!0,dirty:!0,err:!0,smtClean:!0},d={altLang:!0,bmk:!0};e.moveToNextAttribute();)t=Re(e),c[t]?s[t]=e.readContentAsInt():u[t]?s[t]=e.readContentAsBoolean():d[t]?s[t]=e.readContentAsString():"sz"===t?s.sz=n.UnitHelper.pointToPixel(e.readContentAsInt()/100):"b"===t?s.b=e.readContentAsBoolean():"i"===t?s.i=e.readContentAsBoolean():"u"===t?s.u=i.Charts.ST_TextUnderlineType[e.readContentAsString()]:"strike"===t?s.strike=i.Charts.ST_TextStrikeType[e.readContentAsString()]:"cap"===t&&(s.cap=i.Charts.ST_TextCapsType[e.readContentAsString()]);if(3===e.elementType)return s;for(r=e.depth;e.read()&&(a=e.depth,o=e.elementType,a!==r||2!==o);)if(!(a>r+1||2===o))switch(l=Le(e)){case"ln":s.ln=Zo(e);break;case N:s.noFill=to();break;case B:s.solidFill=ro(e);break;case M:s.gradFill=lo(e);break;case O:s.blipFill=po(e);break;case G:s.pattFill=ho(e);break;case H:s.grpFill=mo();break;case v:s.effectLst=To(e);break;case x:s.effectDag=yo(e);break;case"highlight":s.highlight=qt(e);break;case"uLnTx":s.uLnTx=ts();break;case"uLn":s.uLn=Zo(e);break;case"uFillTx":s.uFillTx=rs();break;case"uFill":s.uFill=is(e);break;case"latin":s.latin=es(e);break;case"ea":s.ea=es(e);break;case"cs":s.cs=es(e);break;case"sym":s.sym=es(e);break;case"hlinkClick":s.hlinkClick=Zt(e);break;case"hlinkMouseOver":s.hlinkMouseOver=Zt(e);break;case C:s.extLst=Ot(e)}return s}t.DrawingReader.ReadCT_TextCharacterProperties=ns;function as(e){return _e(e,m,p)}t.DrawingReader.ReadCT_TextSpacingPercent=as;function os(e){return _e(e,m,p)}t.DrawingReader.ReadCT_TextSpacingPoint=os;function ls(e){for(var t,r={};e.moveToNextAttribute();)t=Re(e),"pos"===t?r.pos=e.readContentAsInt():"algn"===t&&(r.algn=i.Charts.ST_TextTabAlignType[e.readContentAsString()]);return r}t.DrawingReader.ReadCT_TextTabStop=ls;function ss(e){var t,r,i,n,a={tab:[]};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"tab"===n?a.tab.push(ls(e)):n===k&&(a.dumy=e.readElementContentAsBoolean()));return a}t.DrawingReader.ReadCT_TextTabStopList=ss;function cs(e){var t={elementType:1};return Ne(e,"rPr",ns,t)}t.DrawingReader.ReadCT_TextLineBreak=cs;function us(e){var t,r,i,n,a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"spcPct"===n?a.spcPct=as(e):"spcPts"===n&&(a.spcPts=os(e)));return a}t.DrawingReader.ReadCT_TextSpacing=us;function ds(e){for(var t,r,n,a,o,l={},s={marL:!0,marR:!0,lvl:!0,indent:!0,defTabSz:!0},c={rtl:!0,eaLnBrk:!0,latinLnBrk:!0,hangingPunct:!0};e.moveToNextAttribute();)t=Re(e),s[t]?l[t]=e.readContentAsInt():c[t]?l[t]=e.readContentAsBoolean():"fontAlgn"===t?l.fontAlgn=i.Charts.ST_TextFontAlignType[e.readContentAsString()]:"algn"===t&&(l.algn=i.Charts.ST_TextAlignType[e.readContentAsString()]);if(3===e.elementType)return l;for(r=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)if(!(n>r+1||2===a))switch(o=Le(e)){case"lnSpc":l.lnSpc=us(e);break;case"spcBef":l.spcBef=us(e);break;case"spcAft":l.spcAft=us(e);break;case"buClrTx":l.buClrTx=zl();break;case"buClr":l.buClr=qt(e);break;case"buSzTx":l.buSzTx=jl();break;case"buSzPct":l.buSzPct=Xl(e);break;case"buSzPts":l.buSzPts=Kl(e);break;case"buFontTx":l.buFontTx=ql();break;case"buFont":l.buFont=es(e);break;case"buNone":l.buNone=$l();break;case"buAutoNum":l.buAutoNum=Yl(e);break;case"buChar":l.buChar=Ql(e);break;case"buBlip":l.buBlip=Zl(e);break;case"tabLst":l.tabLst=ss(e);break;case"defRPr":l.defRPr=ns(e);break;case C:l.extLst=Ot(e)}return l}t.DrawingReader.ReadCT_TextParagraphProperties=ds;function fs(e){for(var t,r,i,n,a,o={elementType:2};e.moveToNextAttribute();)t=Re(e),"id"!==t&&t!==b||(o[t]=e.readContentAsString());if(3===e.elementType)return o;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Le(e)){case"rPr":o.rPr=ns(e);break;case"pPr":o.pPr=ds(e);break;case"t":o.t=e.readElementContentAsString()}return o}t.DrawingReader.ReadCT_TextField=fs;function ps(e){var t,r,i,n,a={elementType:0};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Le(e),"rPr"===n?a.rPr=ns(e):"t"===n&&(a.t=u(e.readElementContentAsString())));return a}t.DrawingReader.ReadCT_RegularTextRun=ps},"./src/xlsx-io/reader/comment-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts"),n=r("./src/common/common.ts"),a=r("./src/xml-io/node-helper.ts"),o=r("./src/datamodel/excel-style.ts"),l=r("./src/xml-io/xml-parser.ts"),s=r("./src/xlsx-io/common/color-reader.ts"),c=a.XmlNodeHelper.He,u=a.XmlNodeHelper.Ym,d=n.Util.pa;function f(e,t,r,n){var a,o,l,s,c,u;if(e){a=void 0,o=void 0;for(l in e)if("count"!==l&&(s=e[l],s&&(c=s.fileType,c===i.RelationshipConstants._a?a=s:c===i.RelationshipConstants.ab&&(o=s),a&&o)))break;a&&o&&(u=p(a,o,n),r.yg(u,t))}}t.readComments=f;function p(e,t,r){var i=[],n=r(e.fileName);return n&&(b(n,i,l.parseXmlToObject),n=r(t.fileName,!0),m(n,i,l.parseXmlToObject)),i}t.readCommentsFromFile=p;function h(e,t,r){function i(e){return e.row===t&&e.col===r}return e.filter(i)[0]}function m(e,t,r){var i=r(e,!0),a=i.xml,o=c(a["v:shape"]);o&&o.forEach(function(e){var r,i,n,a,o,s,c,f,p=e["x:ClientData"];if(p){if(r=parseInt(u(p,"x:Row"),10),i=parseInt(u(p,"x:Column"),10),isNaN(r)||isNaN(i))return;if(n=h(t,r,i),!n)return;o=e._attr,a=o.fillcolor,a&&(n.backColor=a),a=o.strokecolor,a&&(n.borderColor=a),a=o.strokeweight,a&&(n.borderWidth=a),a=o.style,a&&d(n,a),a=e["v:fill"],a&&(s=a._attr.opacity,s&&("f"===s.substr(-1)?n.opacity=parseFloat(s.substr(0,s.length-1))/65535:n.opacity=parseFloat(s))),a=e["v:stroke"],a&&(n.dashStyle=a._attr.dashstyle,n.lineStyle=a._attr.linestyle),a=e["v:textbox"],a&&(c=a._attr.style,c&&c.indexOf("mso-fit-shape-to-text:t")!==-1&&(n.autoSize=!0),n.inset=a._attr.inset),p["x:SizeWithCells"]&&(n.dynamicSize=!1),p["x:MoveWithCells"]&&(n.dynamicMove=!1),a=u(p,"x:Anchor"),a&&(f=a.split(",").map(function(e){return parseInt(e,10)}),n.anchor=f),a=u(p,"x:Locked"),a&&(n.locked=l(a,!0)),a=u(p,"x:LockText"),a&&(n.lockText=l(a,!0)),a=u(p,"x:TextHAlign"),a&&(n.hAlign=a.toLowerCase()),p["x:Visible"]&&(n.displayMode=1)}});function l(e,t){if(e){var r=e.trim().toLowerCase();if(["false"].indexOf(r)!==-1)return!1;if(["true"].indexOf(r)!==-1)return!0}return t}function s(e,t){var r=(e||"").trim().split(t);return{key:r[0],value:r[1]}}function d(e,t){var r=t.split(";");r.forEach(function(t){var r=s(t,":"),i=r.key,a=r.value;if(!n.J(a))switch(i){case"margin-left":e.marginLeft=g(a);break;case"margin-top":e.marginTop=g(a);break;case"width":e.width=a;break;case"height":e.height=a;break;case"z-index":e.zIndex=parseInt(a,10)}})}}function g(e){var t=96,r=72,i=37.7952755905512;try{return e.indexOf("pt")!==-1?parseFloat(e.replace("pt","")):e.indexOf("in")!==-1?parseFloat(e.replace("in",""))*r:e.indexOf("cm")!==-1?parseFloat(e.replace("cm",""))*i*r/t:parseFloat(e)}catch(e){return 0}}function b(e,t,r){var i,a=r(e),o=a.comments&&a.comments.commentList;o&&(i=c(o.comment),i.forEach(function(e){var r={},i=e._attr.ref;r.row=n.IndexHelper.P(i),r.col=n.IndexHelper.R(i),w(r,e.text),t.push(r)}))}function w(e,t){var r,i,n;t&&(r=void 0,r=c(t.r?t.r:[{t:t.t}]),i=1===r.length,n=[],r.forEach(function(t){var r,a,l,c,d,f=t.rPr;f&&i&&(r=f.rFont&&f.rFont._attr.val,r&&(e.fontFamily=r),a=0,f.u&&(l=f.u&&f.u._attr.val,c=1,l&&(c=o.UnderLineStyle[l]),a|=2===c?8:1),f.strike&&(a|=2),a&&(e.textDecoration=a),f.b&&(e.fontWeight="bold"),f.i&&(e.fontStyle="italic"),r=f.color,r&&(d=s.readColor(r),1===d.colorType()&&81===d.value()||(e.foreColor=d)),r=f.sz&&f.sz._attr.val,r&&(e.fontSize=r+"pt")),n.push(u(t,"t"))}),e.text=d(n.join("")))}},"./src/xlsx-io/reader/conditionalformat-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/range-parser.ts"),n=r("./src/xlsx-io/common/color-reader.ts"),a=r("./src/datamodel/excel-style.ts"),o=r("./src/xml-io/xml-parser.ts"),l=r("./src/common/common.ts"),s=r("./src/xml-io/node-helper.ts"),c=r("./src/xlsx-io/reader/style-reader.ts"),u=r("./src/xml-io/xml-reader.ts"),d=r("./src/common/excel-types.ts"),f=s.XmlNodeHelper.He,p=s.XmlNodeHelper.Ym,h=a.ConverterHelper.convertDxfToStyle,m="x14:conditionalFormattings";function v(e,t,r){return l.Util.pa(p(e,t,r))}function x(e){return e.filter(function(e){return e&&e.formula})}function T(e,t,r){var n,a,l,s,c,u,p,h,m,g,b;if(3!==e.elementType&&(n=o.parseXmlToObject(e.readFullElement()).conditionalFormatting,a={rules:[]},l=[],n._attr.sqref&&(l=i.getRangesFromString(n._attr.sqref)),s=n.cfRule,s&&s.formula&&Array.isArray(s.formula)&&(n.cfRule.formula=x(s.formula)),0!==l.length)){for(c=!1,n._attr.pivot&&(c=!0),u=f(n.cfRule),p=0;p<u.length;p++)h=k(u[p],l,c),h&&a.rules.push(h);for(m=0,g=l.length;m<g&&(b=l[m],b.row+b.rowCount!==d.ExcelConstants.wb&&b.col+b.colCount!==d.ExcelConstants.vb);m++)b.rowCount>0&&(r.Uf=Math.max(r.Uf,b.row+b.rowCount-1)),b.colCount>0&&(r.Tf=Math.max(r.Tf,b.col+b.colCount-1));r.wg(t,a)}}t.readConditionalFormatting=T,g={beginsWith:2,endsWith:2,notContainsText:2,containsText:2,expression:3,containsBlanks:3,notContainsBlanks:3,containsErrors:3,notContainsErrors:3,timePeriod:4,today:4,tomorrow:4,yesterday:4,last7Days:4,lastMonth:4,nextMonth:4,thisWeek:4,nextWeek:4,lastWeek:4,thisMonth:4,top10:5,uniqueValues:6,duplicateValues:7,aboveAverage:8,belowAverage:8,aboveOrEqualToAverage:8,belowOrEqualToAverage:8},b={num:0,min:1,max:2,percent:3,percentile:4,stddev:0,formula:6,autoMin:5,autoMax:7},w={$3Arrows:0,$3ArrowsGray:1,$3Flags:4,$3TrafficLights1:5,$3TrafficLights2:6,$3Signs:7,$3Symbols:8,$3Symbols2:9,$4Arrows:10,$4ArrowsGray:11,$4RedToBlack:12,$4Rating:13,$4TrafficLights:14,$5Arrows:15,$5ArrowsGray:16,$5Rating:17,$5Quarters:18,$3Stars:3,$3Triangles:2,$5Boxes:19,$NoIcons:20},C={num:1,percent:4,formula:7,percentile:5},S={equal:0,notEqual:1,greaterThan:2,greaterThanOrEqual:3,lessThan:4,lessThanOrEqual:5,between:6,notBetween:7};function A(e){return e&&(e=l.Util.pa(e),"="!==e.charAt(0))?"="+e:e}function k(e,t,r){var i,n,a,o,c,u,d,p,h,m={priority:0,ranges:t,pivot:r},C=e._attr;switch(l.J(C.type)||(i=C.type),l.J(C.priority)||(m.priority=s.XmlNodeHelper.Xm(C.priority,0)),i){case"colorScale":n=R(e.colorScale),m.minType=b[n.Zm[0].type],m.minValue=A(n.Zm[0].val),m.minColor=n.$m[0],3===n.Zm.length?(m.ruleType=11,m.midType=b[n.Zm[1].type],m.midValue=A(n.Zm[1].val),m.midColor=n.$m[1],m.maxType=b[n.Zm[2].type],m.maxValue=A(n.Zm[2].val),m.maxColor=n.$m[2]):(m.ruleType=10,m.maxType=b[n.Zm[1].type],m.maxValue=A(n.Zm[1].val),m.maxColor=n.$m[1]);break;case"dataBar":m.ruleType=12,a=e.dataBar,l.J(a._attr.showValue)||(m.showBarOnly=!s.XmlNodeHelper.Vm(a._attr.showValue,!0)),n=R(a),m.minType=b[n.Zm[0].type],m.minValue=A(n.Zm[0].val),m.maxType=b[n.Zm[1].type],m.maxValue=A(n.Zm[1].val),m.color=n.$m[0];break;case"iconSet":m.ruleType=13,m.iconSetType=w.$3TrafficLights1,o=e.iconSet,c=o._attr,l.J(c.iconSet)||(m.iconSetType=w["$"+c.iconSet]),l.J(c.showValue)||(m.showIconOnly=!s.XmlNodeHelper.Vm(c.showValue,!0)),l.J(c.reverse)||(m.reverseIconOrder=s.XmlNodeHelper.Vm(c.reverse,!1)),m.iconCriteria=I(o);break;case"cellIs":m.ruleType=1,u=e._attr,l.J(u.stopIfTrue)||(m.stopIfTrue=s.XmlNodeHelper.Vm(u.stopIfTrue,!1)),l.J(u.dxfId)||(m.dxfId=s.XmlNodeHelper.Xm(u.dxfId,-1)),l.J(u.operator)||(m.operator=S[u.operator]),d=f(e.formula),m.value1="="+l.Util.pa(d[0].formula),2===d.length&&(m.value2="="+l.Util.pa(d[1].formula));break;default:m.ruleType=g[i],l.J(C.dxfId)||(m.dxfId=s.XmlNodeHelper.Xm(C.dxfId,-1)),l.J(C.aboveAverage)||(m.aboveAverage=s.XmlNodeHelper.Vm(C.aboveAverage,!0),m.aboveAverage||"aboveAverage"!==i||(i="belowAverage")),l.J(C.bottom)||(m.bottom=s.XmlNodeHelper.Vm(C.bottom,!1)),l.J(C.equalAverage)||(p=s.XmlNodeHelper.Vm(C.equalAverage,!1),p&&("aboveAverage"===i&&(i="aboveOrEqualToAverage"),"belowAverage"===i&&(i="belowOrEqualToAverage"))),l.J(C.operator)||(m.operator=C.operator),l.J(C.percent)||(m.percent=s.XmlNodeHelper.Vm(C.percent,!1)),l.J(C.rank)||(m.rank=s.XmlNodeHelper.Xm(C.rank,0)),l.J(C.stdDev)||(m.stdDev=s.XmlNodeHelper.Xm(C.stdDev,0)),l.J(C.stopIfTrue)||(m.stopIfTrue=s.XmlNodeHelper.Vm(C.stopIfTrue,!1)),l.J(C.text)||(m.text=l.Util.pa(C.text)),l.J(C.timePeriod)||(i=C.timePeriod),h=e.formula,l.J(h)||(Array.isArray(h)&&(e.formula=h[0]),m.formula=l.processFunction(v(e,"formula"))),m=E(m,i)}return e.extLst&&e.extLst.ext&&e.extLst.ext["x14:id"]&&(m.id=v(e.extLst.ext,"x14:id")),m}function E(e,t){var r,i,n,a,o,s,c;switch(t){case"expression":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return e;case"top10":return r=e.ranges[0],i={ruleType:e.ruleType,dxfId:e.dxfId,rank:e.rank,stopIfTrue:e.stopIfTrue,priority:e.priority,ranges:e.ranges,pivot:e.pivot},i.type=0,e.bottom&&(i.type=1),e.percent&&(n=Math.floor(r.rowCount*r.colCount*e.rank/100),0===n&&(n=1),i.rank=n),i;case"uniqueValues":case"duplicateValues":return e;case"containsText":return e.operator=0,e;case"aboveAverage":case"belowAverage":case"aboveOrEqualToAverage":case"belowOrEqualToAverage":return a=0,o=!0,"belowAverage"===t&&(o=!1,a=1),"belowOrEqualToAverage"===t&&(o=!1,a=3),"aboveOrEqualToAverage"===t&&(a=2),l.J(e.stdDev)||(s=e.stdDev,o?1===s?a=4:2===s?a=6:3===s&&(a=8):1===s?a=5:2===s?a=7:3===s&&(a=9)),e.type=a,e;case"beginsWith":return e.operator=2,e;case"endsWith":return e.operator=3,e;case"notContainsText":return e.operator=1,e;case"timePeriod":case"today":case"tomorrow":case"yesterday":case"last7Days":case"lastMonth":case"nextMonth":case"thisWeek":case"nextWeek":case"lastWeek":case"thisMonth":return c={today:0,yesterday:1,tomorrow:2,last7Days:3,thisMonth:4,lastMonth:5,nextMonth:6,thisWeek:7,lastWeek:8,nextWeek:9},e.type=0,c[t]&&(e.type=c[t]),e;default:return e}}function I(e){var t,r,i=[],n=R(e);for(t=1;t<n.Zm.length;t++)r={isGreaterThanOrEqualTo:!0},n.Zm[t].gte===!1&&(r.isGreaterThanOrEqualTo=n.Zm[t].gte),r.iconValueType=C[n.Zm[t].type],r.iconValue=A(n.Zm[t].val),i.push(r);return i}function F(e){var t,r,i=[],n=R(e);for(t=0;t<n._m.length;t++)r={},r.iconSetType=n._m[t].iconSetType,r.iconIndex=n._m[t].iconIndex,i.push(r);return i}function P(e){var t={};return l.J(e._attr.type)||(t.type=e._attr.type),l.J(e._attr.val)||(t.val=l.Util.pa(e._attr.val)),l.J(e._attr.gte)||(t.gte=s.XmlNodeHelper.Vm(e._attr.gte,!0)),e["xm:f"]&&(t.val=l.processFunction(v(e,"xm:f"))),t}function D(e){var t={};return l.J(e._attr.iconSet)||(t.iconSetType=w["$"+e._attr.iconSet]),l.J(e._attr.iconId)||(t.iconIndex=parseInt(e._attr.iconId,10)),t}function R(e){var t,r,i,o,l,s={Zm:[],$m:[],_m:[]},c=f(e.cfvo||e["x14:cfvo"]),u=f(e["x14:cfIcon"]);for(t=0;t<c.length;t++)r=P(c[t]),s.Zm.push(r);for(t=0;t<u.length;t++)i=D(u[t]),s._m.push(i);if(e.color)for(o=f(e.color||e["x14:color"]),l=0;l<o.length;l++)s.$m.push(a.ColorHelper.toRGBColor(n.readColor(o[l])));return s}function L(e,t,r){var n,a,s,c,u,d,p,h,g,b,w,C,S=o.parseXmlToObject(e.readFullElement()).ext;if(S[m]&&S[m]["x14:conditionalFormatting"])for(s=f(S[m]["x14:conditionalFormatting"]),c=0;c<s.length;c++)for(u=s[c],d=!1,u._attr.pivot&&(d=!0),p=f(u["x14:cfRule"]),h=0;h<p.length;h++)g=p[h],b=g._attr,l.J(b.type)||(n=b.type),a=b.id,w=_(r,t,a),b.priority&&(w.priority=+b.priority),d&&(w.pivot=d),"dataBar"===n?(w.ruleType=12,O(g["x14:dataBar"],w)):"iconSet"===n?(w.ruleType=13,G(g["x14:iconSet"],w)):"expression"===n?(w.ruleType=3,M(g,w,r)):"cellIs"===n?(w.ruleType=1,N(g,w,r)):"containsText"===n&&(w.ruleType=2,B(g,w,r)),u["xm:sqref"]&&(C=i.getRangesFromString(v(u,"xm:sqref")),w&&(w.ranges=C))}t.readExtensionConditionalFormating=L;function _(e,t,r){var i,n,a,o=e.xg(t);if(o||(o={rules:[]}),!l.J(r)&&(i=o.rules,i&&i.length>0))for(n=0;n<i.length;n++)if(i[n].id===r)return i[n];return a={},e.wg(t,{rules:[a]}),a}y={automatic:0,middle:1,none:2};function N(e,t,r){var i,n,a,d,p=e._attr;l.J(p.stopIfTrue)||(t.stopIfTrue=s.XmlNodeHelper.Vm(p.stopIfTrue,!1)),l.J(p.operator)||(t.operator=S[p.operator]),i=f(e["xm:f"]),t.value1="="+l.Util.pa(l.processFunction(i[0]["xm:f"])),2===i.length&&(t.value2="="+l.Util.pa(l.processFunction(i[1]["xm:f"]))),n=o.convertObjectToXml(e["x14:dxf"],"x14:dxf"),a=new u.XmlReader,a.setXml(n),a.read(),d=c.readDifferentialFormattingRecord(a),t.style=h(d,r.ff,r.gf)}function B(e,t,r){var i,n,a,d,p=e._attr;l.J(p.stopIfTrue)||(t.stopIfTrue=s.XmlNodeHelper.Vm(p.stopIfTrue,!1)),l.J(p.operator)||(t.operator=S[p.operator]),i=f(e["xm:f"]),t.formula="="+l.Util.pa(l.processFunction(i[0]["xm:f"])),2===i.length&&(t.text="="+l.Util.pa(l.processFunction(i[1]["xm:f"]))),n=o.convertObjectToXml(e["x14:dxf"],"x14:dxf"),a=new u.XmlReader,a.setXml(n),a.read(),d=c.readDifferentialFormattingRecord(a),t.style=h(d,r.ff,r.gf)}function M(e,t,r){var i,n,a;t.formula=A(l.processFunction(v(e,"xm:f"))),i=o.convertObjectToXml(e["x14:dxf"],"x14:dxf"),n=new u.XmlReader,n.setXml(i),n.read(),a=c.readDifferentialFormattingRecord(n),t.style=h(a,r.ff,r.gf)}function O(e,t){var r,i=e._attr;l.J(i.showValue)||(t.showBarOnly=!s.XmlNodeHelper.Vm(i.showValue,!0)),l.J(i.border)||(t.showBorder=s.XmlNodeHelper.Vm(i.border,!1)),l.J(i.gradient)||(t.gradient=s.XmlNodeHelper.Vm(i.gradient,!0)),l.J(i.direction)||(t.dataBarDirection="rightToLeft"===i.direction?1:0),l.J(i.axisPosition)||(t.axisPosition=y[i.axisPosition]),l.J(i.negativeBarColorSameAsPositive)||(t.useNegativeFillColor=!s.XmlNodeHelper.Vm(i.negativeBarColorSameAsPositive,!1)),l.J(i.negativeBarBorderColorSameAsPositive)||(t.useNegativeBorderColor=!s.XmlNodeHelper.Vm(i.negativeBarBorderColorSameAsPositive,!0)),r=[],e["x14:cfvo"]&&f(e["x14:cfvo"]).forEach(function(e){r.push(P(e))}),e["x14:fillColor"]&&(t.color=a.ColorHelper.toRGBColor(n.readColor(e["x14:fillColor"]))),e["x14:borderColor"]&&(t.borderColor=a.ColorHelper.toRGBColor(n.readColor(e["x14:borderColor"]))),e["x14:negativeFillColor"]&&(t.negativeFillColor=a.ColorHelper.toRGBColor(n.readColor(e["x14:negativeFillColor"]))),e["x14:negativeBorderColor"]&&(t.negativeBorderColor=a.ColorHelper.toRGBColor(n.readColor(e["x14:negativeBorderColor"]))),e["x14:axisColor"]&&(t.axisColor=a.ColorHelper.toRGBColor(n.readColor(e["x14:axisColor"]))),2===r.length&&(t.minType=b[r[0].type],t.minValue=A(r[0].val),t.maxType=b[r[1].type],t.maxValue=A(r[1].val))}t.readExtensionDataBarRule=O;function G(e,t){var r=e._attr;l.J(r.iconSet)||(t.iconSetType=w["$"+r.iconSet]),l.J(r.showValue)||(t.showIconOnly=!s.XmlNodeHelper.Vm(r.showValue,!0)),l.J(r.reverse)||(t.reverseIconOrder=s.XmlNodeHelper.Vm(r.reverse,!1)),t.iconCriteria=I(e),t.icons=F(e)}t.readExtensionIconSetRule=G},"./src/xlsx-io/reader/control-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts"),n=r("./src/xml-io/xml-parser.ts"),a=r("./src/common/common.ts"),o=r("./src/xml-io/node-helper.ts"),l=o.XmlNodeHelper.He;function s(e,t){var r=n.parseXmlToObject(e.readFullElement()).legacyDrawing;r&&(t.an=r._attr["r:id"])}t.readLegacyDrawing=s;function c(e,t,r,a){var o,s,c,p;e&&r.an&&(o=e[r.an],o&&o.fileType===i.RelationshipConstants.ab&&(s=a(o.fileName,!0),s=s.replace(/<br>(?!<\/br>)/g,"<br/>"),c=n.parseXmlToObject(s).xml,p=l(c["v:shape"]),p.forEach(function(e){var i=u(e,t,r);
34
+ i&&(f(e,i),d(i))})),r.an="")}t.readControlVmlDrawing=c;function u(e,t,r){var i=e._attr["o:spid"]||e._attr.id;if(!a.isNullOrUndefined(i))return r.Ig(t,i)}function d(e){var t,r,i=e&&e.nvSpPr&&e.nvSpPr.cNvPr,n=i&&i.extLst&&i.extLst.ext||[];for(t=0;t<n.length;t++)if(r=n[t],r.compatExt)return void n.splice(t,1)}function f(e,t){var r=t.control,i=function(e){for(var t in e)a.isNullOrUndefined(r.props[t])&&(r.props[t]=e[t])};i(p(e)),r.visible=h(e),r.disabled=m(e),t.nvSpPr.cNvPr.hidden=!r.visible}function p(e){var t,r,i=e["x:ClientData"],n=i._attr.ObjectType,a={objectType:n},o=["x:ClientData","x:Anchor","x:SizeWidthCells"],l=function(e){return o.indexOf(e)===-1};for(t in i)t.length>=3&&"x:"===t.slice(0,2)&&l(t)&&(r=g(t),a[r]=i[t][t]);return a}function h(e){var t=e._attr.style;return t.indexOf("visibility:hidden")===-1}function m(e){return!!e["x:ClientData"]["x:Disabled"]}function g(e){return b(e.substring(2))}function b(e){return e.substring(0,1).toLowerCase()+e.substring(1)}},"./src/xlsx-io/reader/ctrlprops-reader.ts":function(e,t,r){"use strict";var i,n;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts"),n=r("./src/xml-io/xml-parser.ts");function a(e,t,r){var a,l,s,c=t[e];if((c.fileType===i.RelationshipConstants.bb||c.fileType===i.RelationshipConstants.cb)&&(a=r(c.fileName),l=n.parseXmlToObject(a).formControlPr,o(l)))return s=l._attr,delete s.xmlns,s}t.readCtrlProps=a;function o(e){var t=e&&e._attr;return t&&"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"===t.xmlns}},"./src/xlsx-io/reader/datavalidation-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-parser.ts"),a=r("./src/xml-io/node-helper.ts"),o=r("./src/common/range-parser.ts"),l=a.XmlNodeHelper.Vm,s=i.Util.pa;function f(e,t,r){return s(a.XmlNodeHelper.Ym(e,t,r))}c={none:0,whole:1,decimal:2,list:3,date:4,time:5,textLength:6,custom:7},u={stop:0,warning:1,information:2},d={between:6,notBetween:7,equal:0,notEqual:1,greaterThan:2,lessThan:4,greaterThanOrEqual:3,lessThanOrEqual:5};function p(e,t,r){var i,n,a,o,l,s=t.Ne,c=s.sheets&&s.sheets[e];for(i=0,n=r.length;i<n;i++)a=r[i],o=c.rowCount,l=c.columnCount,a.row+a.rowCount>o&&(c.rowCount=a.row+a.rowCount),a.col+a.colCount>l&&(c.columnCount=a.col+a.colCount)}function h(e,t,r,n){var a,h,m,g,b,w,C,S;i.isNullOrUndefined(e)||i.isNullOrUndefined(t)||(a=e._attr,h={type:c[a.type]||0,errorType:u[a.errorStyle]||0,compareOperator:i.isNullOrUndefined(d[a.operator])?6:d[a.operator],allowBlank:l(a.allowBlank,!1),showPromptBox:!l(a.showDropDown,!1),showInputMessage:l(a.showInputMessage,!1),showErrorMessage:l(a.showErrorMessage,!1),errorTitle:s(a.errorTitle),error:s(a.error),promptTitle:s(a.promptTitle),prompt:s(a.prompt)},h.error=i.Util.wa(h.error),h.prompt=i.Util.wa(h.prompt),n?(m=f(e,"xm:sqref"),w=e["x14:formula1"],C=e["x14:formula2"],w&&(g=i.processFunction(f(w,"xm:f"))),C&&(b=i.processFunction(f(C,"xm:f")))):(m=a.sqref,g=i.processFunction(f(e,"formula1")),b=i.processFunction(f(e,"formula2"))),S=o.getRangesFromString(m),h.firstFormula=g,h.secondFormula=b,h.ranges=S,p(t,r,S),r.Qg(t,h))}function m(e,t,r){var i,o,l=n.parseXmlToObject(e.readFullElement()).dataValidations,s=a.XmlNodeHelper.He(l.dataValidation);for(i=s.length-1;i>=0;i--)o=s[i],h(o,t,r)}t.readDataValidations=m;function g(e,t,r){var i,o,l=n.parseXmlToObject(e.readFullElement()).ext,s=l["x14:dataValidations"],c=a.XmlNodeHelper.He(s["x14:dataValidation"]);for(i=c.length-1;i>=0;i--)o=c[i],h(o,t,r,!0)}t.readExtensionDataValidation=g},"./src/xlsx-io/reader/docpropsapp-reader.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/xml-io/xml-reader.ts");function n(e,t){var r,n=new i.XmlReader;for(n.setXml(e);n.read();)if(1===n.depth&&2!==n.elementType)switch(r=n.name()){case"HeadingPairs":o(n,t,r);break;case"TitlesOfParts":l(n,t,r);break;default:a(n,t,r)}}t.readDocPropsAppFile=n;function a(e,t,r){if(1===e.nodeType()){var i=e.readElementContentAsString(!0);t.gh(r,i)}}function o(e,t,r){var i,n,a,o,l,c;if(3!==e.elementType){for(i={},n=[],a=e.depth;e.read()&&!(e.depth<=a);)if(1===e.nodeType()&&"vt:vector"===e.name()){if(s(e,i),3===e.elementType)continue;for(o=e.depth;e.read()&&!(e.depth<=o);)if(1===e.nodeType()){if(3===e.elementType)continue;for(l=e.depth;e.read()&&!(e.depth<=l);)1===e.nodeType()&&(c={},c.elementType=e.name(),c.value=e.readElementContentAsString(!0),n.push(c));i.workbookInfoArray=n}}t.gh(r,i)}}function l(e,t,r){var i,n,a,o,l;if(3!==e.elementType){for(i={},n=[],a=e.depth;e.read()&&!(e.depth<=a);)if(1===e.nodeType()&&"vt:vector"===e.name()){if(s(e,i),3===e.elementType)continue;for(o=e.depth;e.read()&&!(e.depth<=o);)1===e.nodeType()&&(l=e.readElementContentAsString(!0),n.push(l));i.sheetsNameArray=n}t.gh(r,i)}}function s(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"size":t.size=e.readContentAsInt(1);break;case"baseType":t.baseType=e.readContentAsString()}}},"./src/xlsx-io/reader/docpropscore-reader.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/xml-io/xml-reader.ts");function n(e,t){var r,n=new i.XmlReader;for(n.setXml(e);n.read();)1===n.depth&&2!==n.elementType&&(r=n.name(),r.indexOf(":")!==-1&&(r=n.name().split(":")[1]),a(n,t,r))}t.readDocPropsCoreFile=n;function a(e,t,r){if(1===e.nodeType()){var i=e.readElementContentAsString(!0);t.fh(r,i)}}},"./src/xlsx-io/reader/docpropscustom-reader.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/xml-io/xml-reader.ts");function n(e,t){var r,n=new i.XmlReader;for(n.setXml(e),r=[];n.read();)1===n.depth&&2!==n.elementType&&a(n,r);t.hh(r)}t.readDocPropsCustomFile=n;function a(e,t){var r,i,n,a,o;if(3!==e.elementType&&1===e.nodeType()&&"property"===e.name()){for(r={};e.moveToNextAttribute();)i=e.readAttributeNameAsString(),n=e.readContentAsString(),r[i]=n;for(a=e.depth;e.read()&&!(e.depth<=a);)1===e.nodeType()&&(o={},i=e.name(),n=e.readElementContentAsString(!0),o[i]=n,r.propertyItemChildElement=o);t.push(r)}}},"./src/xlsx-io/reader/drawing-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/xml-io/node-helper.ts"),o=r("./src/xml-io/xml-parser.ts"),l=r("./src/datamodel/excel-style.ts"),s=r("./src/datamodel/excel-helper.ts"),c=r("./src/xml-io/xml-reader.ts"),u=r("./src/xlsx-io/reader/chart-reader.ts"),d=a.XmlNodeHelper.He,f=a.XmlNodeHelper.bn,p=a.XmlNodeHelper.cn,h=a.XmlNodeHelper.dn,m=i.Util.ya,g=r("./src/datamodel/chart-model.ts");function w(e,t,r,i){var a,o,l,s,c,u;if(e){a=[];for(o in e)"count"!==o&&(l=e[o],l&&(s=l.fileType,s!==n.RelationshipConstants.eb&&s!==n.RelationshipConstants.fb||a.push(l)));a.length&&(c={names:r.Ne.names||[]},u=C(a,i,c),r.Ag(u,t))}}t.readDrawings=w;function C(e,t,r){var i={},a;return e.forEach(function(e){var o,l,s,c,u=e.relationFiles;if(u)for(o in u)"count"!==o&&(l=u[o],l&&(s=l.fileType,s!==n.RelationshipConstants.hb&&s!==n.RelationshipConstants.ib&&s!==n.RelationshipConstants.lb&&s!==n.RelationshipConstants.mb&&s!==n.RelationshipConstants.nb&&s!==n.RelationshipConstants.gb||(i[o]=l)));c=t(e.fileName,!0),c&&(a=T(c,i,t,r))}),a}function S(e,t,r){var i,n,a,o,l,c=e&&e.blipFill&&e.blipFill.blip&&e.blipFill.blip.embed;c&&(i=t[c],i&&(n=i.fileName,a=n.lastIndexOf("."),a>=0&&(o=s.getImageContent(n,r),o&&(l=e.blipFill.blip.blipBlob={},l.blob=o,l.type=n.substr(a+1)))))}b=function(){function e(e){var t=e.off,r=e.ext,i=r.cx,n=r.cy;this.left=t.x,this.top=t.y,this.right=this.left+i,this.bottom=this.top+n}return e}();function y(){this.cache={},this.get=function(e,t){var r=this.cache[e];return!r&&t&&(r=this.cache[e]=new b(t)),r}}function v(e,t){return e.left>=t.left&&e.top>=t.top&&e.right<=t.right&&e.bottom<=t.bottom}function x(e,t,r){var i,n,a,o,l=r.get(t,e[t].pic.spPr.xfrm);if(l)for(i=0;i<t;i++)n=e[i],n.pic||n.hidden||(a=s.getXFrm(n),a&&(o=r.get(i,a),o&&v(o,l)&&(n.hidden=!0)))}function T(e,t,r,i){var n,a,l,s,c,u,d=o.parseXmlToObject(e,!0),f=d["xdr:wsDr"],p={};return f&&(n=k(f,t,r),n.length>0&&(p.pictures=n),a=R(e,t),l=a&&a.AnchorBaseList,s=E(l,t,r,i),s.length>0&&(p.charts=s),c=D(l,t,r),c.length>0&&(p.shapes=c),u=new y,l.forEach(function(e,t){var r=e.pic;r&&!r.nvPicPr.cNvPr.hidden&&x(l,t,u)})),p}function A(e,t,r,i){var n={};return X(r,t["xdr:pic"],n,i),j(t["xdr:clientData"],n),n.src&&e.push(n),n}function k(e,t,r){var i,n,a;return e?(i=[],a=d(e["xdr:oneCellAnchor"]),a.forEach(function(e){if(e&&e["xdr:pic"]){var a={startPoint:h(e["xdr:from"])};p(e["xdr:ext"],a),n=A(i,e,t,r),a.anchorType=1,n.anchor=a}}),a=d(e["xdr:twoCellAnchor"]),a.forEach(function(e){var a,o;e&&e["xdr:pic"]&&(a={startPoint:h(e["xdr:from"]),endPoint:h(e["xdr:to"])},o=e._attr.editAs,o&&(a.editAs=g.Charts.ST_EditAs[o]),n=A(i,e,t,r),a.anchorType=0,n.anchor=a)}),a=d(e["xdr:absoluteAnchor"]),a.forEach(function(e){if(e&&e["xdr:pic"]){var a={};f(e["xdr:pos"],a),p(e["xdr:ext"],a),n=A(i,e,t,r),a.anchorType=2,n.anchor=a}}),i):[]}function E(e,t,r,i){var n=[];return e&&e.length>0&&e.forEach(function(e){var a,o,l=e.AlternateContent;return e.grpSp?void F(e.grpSp,n,e,t,r,i):(a=m(l)?l.Choice.GraphicalObjectFrame:e.graphicFrame,o=a&&a.graphic&&a.graphic.graphicData&&a.graphic.graphicData.chart&&a.graphic.graphicData.chart.id,void(o&&I(n,e,o,t,r,i)))}),n}function I(e,t,r,i,a,o){var l,s,c,u,d,f,p=i[r],h=L(p,a,o);if(h){l={},s=p.relationFiles;for(c in s)"count"!==c&&(u=s[c],u&&(d=u.fileType,d!==n.RelationshipConstants.ob&&d!==n.RelationshipConstants.hb||(l[c]=u)));f=B(h.userShapes,l,a),f&&(h.userShapes=f),U(h,l,a),t.chartSpace=h,e.push(t)}}function F(e,t,r,i,n,a){var o=e&&e.sp||[];o.forEach(function(o){if(3===o.shapeType)P(e.grpSpPr.xfrm,o.grpSpPr.xfrm),F(o,t,r,i,n,a);else if(2===o.shapeType&&o.nvGraphicFramePr){var l=o.graphic&&o.graphic.graphicData&&o.graphic.graphicData.chart&&o.graphic.graphicData.chart.id;l&&(I(t,o,l,i,n,a),P(e.grpSpPr.xfrm,o.xfrm))}})}function P(e,t){var r,i=t.off,n=t.ext,a=(i.x-e.chOff.x)/(e.chExt.cx||1)*e.ext.cx;t.off.x=e.off.x+a,r=(i.y-e.chOff.y)/(e.chExt.cy||1)*e.ext.cy,t.off.y=e.off.y+r,t.ext.cx=n.cx/(e.chExt.cx||1)*e.ext.cx,t.ext.cy=n.cy/(e.chExt.cy||1)*e.ext.cy}function D(e,t,r){var i=[];return e&&e.length>0&&e.forEach(function(e){(e.sp||e.cxnSp||e.grpSp||e.pic)&&(J(e,t,r),i.push(e))}),i}function R(e,t){var r=new c.XmlReader;for(r.relationFiles=t,r.reset(),r.setXml(e),r.keepRootNamespace=!0;r.read();)if(0===r.depth&&2!==r.elementType&&"xdr:wsDr"===r.name())return u.DrawingReader.ReadCT_Drawing(r);return null}function L(e,t,r){var i,a,o,l,s,d,f,p,h,m;if(!e)return null;for(i=e.fileName,a=t(i,!0),o=new c.XmlReader,o.reset(),o.setXml(a),o.keepRootNamespace=!0;o.read();)if(0===o.depth&&2!==o.elementType){if("c:chartSpace"===o.name()){l=u.DrawingReader.ReadCT_ChartSpace(o),s=!1;break}if("cx:chartSpace"===o.name()){d=r&&r.names?r.names:[],l=u.DrawingReader.Chart2016Reader.ReadCT_ChartSpace(o,d),s=!0;break}}if(s){f=e.relationFiles;for(p in f)"count"!==p&&(h=f[p],m=h&&h.fileType,m===n.RelationshipConstants.qb?l.style=_(h,t):m===n.RelationshipConstants.pb&&(l.colors=N(h,t)))}return l}function _(e,t){var r=t(e.fileName,!0),i=new c.XmlReader;for(i.reset(),i.setXml(r);i.read();)if(0===i.depth&&2!==i.elementType)return u.DrawingReader.Chart2016Reader.ReadCT_ChartStyle(i)}function N(e,t){var r=t(e.fileName,!0),i=new c.XmlReader;for(i.reset(),i.setXml(r);i.read();)if(0===i.depth&&2!==i.elementType)return u.DrawingReader.Chart2016Reader.ReadCT_chartColors(i)}function B(e,t,r){var i,a,o,l,s,c,u;if(!e||!e.id)return null;i=t[e.id],a={},o=i.relationFiles;for(l in o)"count"!==l&&(s=o[l],s&&(c=s.fileType,c!==n.RelationshipConstants.hb&&c!==n.RelationshipConstants.lb||(a[l]=s)));return u=O(i,r),u&&u.length>0?u.map(function(e){return e.pic?H(e,a,r):e.graphicFrame&&G(e,a,r),e}):void 0}function M(e){var t,r,i=e&&e["c:userShapes"];if(i){if(t=i["cdr:absSizeAnchor"],r=i["cdr:relSizeAnchor"],t)return t["cdr:pic"]&&t["cdr:pic"]["cdr:spPr"];if(r)return r["cdr:pic"]&&r["cdr:pic"]["cdr:spPr"]}return null}function O(e,t){var r,i,n,a,l;if(!e)return null;for(r=e.fileName,i=t(r,!0),n=new c.XmlReader,n.reset(),n.setXml(i),n.keepRootNamespace=!0;n.read();)if(0===n.depth&&2!==n.elementType&&"c:userShapes"===n.name()&&(a=u.DrawingReader.ReadCT_ChartDrawing(n)))return l=a.relSizeAnchor.concat(a.absSizeAnchor),l.forEach(function(e){if(e.pic){var t=o.parseXmlToObject(i);e.pictureStyleInfo=M(t)}}),l;return null}function G(e,t,r){var i=e.graphicFrame.graphic&&e.graphicFrame.graphic.graphicData&&e.graphicFrame.graphic.graphicData.chart&&e.graphicFrame.graphic.graphicData.chart.id,n=t[i];n&&(e.chartSpace=L(n,r))}function H(e,t,r){S(e.pic,t,r);var i=e.pictureStyleInfo;i&&(e.pictureFormat=le(i),delete e.pictureStyleInfo)}function U(e,t,r){var i=e.chart.plotArea;i&&i.chartGroups&&i.chartGroups.forEach(function(e){e&&e.ser&&e.ser.forEach(function(e){e.spPr&&S(e.spPr,t,r),e.dLbls&&e.dLbls.spPr&&S(e.dLbls.spPr,t,r)})}),i&&i.spPr&&S(i.spPr,t,r),e.spPr&&S(e.spPr,t,r)}function J(e,t,r){e.sp&&e.sp.spPr?S(e.sp.spPr,t,r):e.pic?(S(e.pic,t,r),S(e.pic.spPr,t,r)):e.grpSp&&(e.grpSp.sp&&W(e.grpSp.sp,t,r),e.grpSp.grpSpPr&&S(e.grpSp.grpSpPr,t,r))}function W(e,t,r){e.forEach(function(e){e.spPr&&S(e.spPr,t,r),e.blipFill&&S(e,t,r),3===e.shapeType&&e.sp&&W(e.sp,t,r)})}function V(e){var t=e.ln;t&&t.solidFill&&t.solidFill.schemeClr&&void 0===t.solidFill.schemeClr.tint}function z(e){e.sp&&e.sp.spPr?V(e.sp.spPr):e.grpSp&&(e.grpSp.sp&&e.grpSp.sp.forEach(function(e){e.spPr&&V(e.spPr)}),e.grpSp.grpSpPr&&V(e.grpSp.grpSpPr))}function j(e,t){e&&(t.locked=a.XmlNodeHelper.Vm(e._attr.fLocksWithSheet,!0))}function X(e,t,r,i){var n,o,l,c,d,f,p,h,m,g,b,w,C,S,y,v,x;if(t){if(n=t["xdr:nvPicPr"],n&&(o=n["xdr:cNvPr"],r.name=o&&o._attr.name,r.descr=o&&o._attr.descr,r.isVisible=!a.XmlNodeHelper.Vm(o&&o._attr.hidden,!1)),n=t["xdr:blipFill"]){l=n["a:blip"],c=l&&l._attr["r:embed"],d=l&&l["a:extLst"]&&l["a:extLst"]["a:ext"],d instanceof Array||(d=[d]);for(f in d)d.hasOwnProperty(f)&&(p=d[f]&&d[f]["asvg:svgBlip"],p&&(c=p._attr["r:embed"]));c&&(h=e[c],h&&(m=s.getImageContent(h.fileName,i),m&&(r.src=m))),g=n["a:srcRect"],b=g&&g._attr,b&&(w=+b.l||0,C=+b.t||0,S=+b.r||0,y=+b.b||0,(w||C||S||y)&&(r.srcRect={l:w,t:C,r:S,b:y}))}n=t["xdr:spPr"],n&&(r.pictureFormat=le(n),v=n["a:xfrm"],v&&(x=parseInt(v._attr.rot,10),x&&(r.rot=u.DrawingReader.getRotationDegree(x))))}}function K(e){var t,r,i,n;if(e)return t={},r=e._attr,i=parseInt(r.w||"0",10),t.width=l.UnitHelper.emuToPixles(i),t.compoundLineType=r.compd||"sng",t.lineEndingCap=r.cap||"sq",t.penAlignment=r.align||"ctr",t.fillFormat=q(e),t.headLineEndStyle=$(e["a:headEnd"]),t.tailLineEndStyle=$(e["a:tailEnd"]),e["a:bevel"]&&(t.joinType="bevel"),e["a:miter"]&&(t.joinType="miter"),e["a:round"]&&(t.joinType="round"),n=e["a:prstDash"],t.lineDashType=n&&n._attr.val||"solid",t}function q(e){var t=e["a:solidFill"];return t?Y(t):(t=e["a:pattFill"])?ee(t):(t=e["a:noFill"])?te():(t=e["a:gradFill"])?re(t):(t=e["a:blipFill"],t?ne(t):void 0)}function Y(e){var t={},r=Z(e,t);return{fillFormatType:1,color:r,drawingColorSettings:t}}function Q(e,t,r){r.forEach(function(r){var i=t["a:"+r];i&&(e[r]=parseInt(i._attr.val||"0",10))})}function Z(e,t){var r,i,n,a,o,s,c,u,d,f,p,h=e["a:schemeClr"];return h&&(r=(h._attr.val||"").toUpperCase(),Q(t,h,["alpha","shade","tint","hue","hueOff","hueMod","sat","satOff","satMod","lum","lumOff","lumMod"]),r)?new l.ExcelColor(3,l.ColorHelper.toColorSchemeIndex(r),0):(h=e["a:hslClr"])?(n=h._attr,a=parseInt(n.hue||"0",10),o=parseInt(n.sat||"0",10),s=parseInt(n.lum||"0",10),Q(t,h,["alpha","shade","tint"]),l.ColorHelper.fromColorToExcelColor(l.ColorHelper.convertHLSToRGB(a,s,o))):(h=e["a:prstClr"],h&&(r=h._attr.val||"",Q(t,h,["alpha","shade","tint"]),r)?l.ColorHelper.fromColorToExcelColor(l.ColorHelper.fromPresetColorVal(r)):(h=e["a:scrgbClr"])?(n=h._attr,c=parseInt(n.r||"0",10),u=parseInt(n.g||"0",10),d=parseInt(n.b||"0",10),Q(t,h,["alpha","shade","tint"]),l.ColorHelper.fromColorToExcelColor(new l.lk(255,l.ColorHelper.scRgbTosRgb(c),l.ColorHelper.scRgbTosRgb(u),l.ColorHelper.scRgbTosRgb(d)))):(h=e["a:srgbClr"],h&&(i=h._attr.val,Q(t,h,["alpha","shade","tint"]),i&&(r=parseInt(i,16),!isNaN(r)))?new l.ExcelColor(2,r,0):(h=e["a:sysClr"],h&&(f=h._attr.val,p=l.ExcelSystemColor.getSystemColor(f),Q(t,h,["alpha","shade","tint","lumMode"]),p)?l.ColorHelper.fromColorToExcelColor(p):null)))}function $(e){if(e){var t=e._attr;return{length:t.len||"lg",type:t.type||"none",width:t.w||"lg"}}}function ee(e){var t,r,i,n,a=e._attr.prst||"pct5",o=e["a:bgClr"];return o&&(t={},r=Z(o,t)),o=e["a:fgClr"],o&&(i={},n=Z(o,i)),{fillFormatType:4,fillPattern:a,backgroundDrawingColorSettings:t,backgroundColor:r,foregroundDrawingColorSettings:i,foregroundColor:n}}function te(){return{fillFormatType:0}}function re(e){var t,r=[],i=e._attr,n={fillFomatType:2,gradientStops:r};return n.flipMode=i.flip||"none",n.rotateWithShape=a.XmlNodeHelper.Vm(i.rotWithShape,!1),t=e["a:gsLst"],t&&d(t["a:gs"]).forEach(function(e){r.push(ie(e))}),t=e["a:lin"],t&&(n.gradientFillType="linear",n.angle=parseFloat(t._attr.ang||"0")/6e4,n.scaled=a.XmlNodeHelper.Vm(t._attr.scaled,!1)),t=e["a:path"],t&&(n.gradientFillType=t._attr.path||"shape",n.fillToRect=oe(t["a:fillToRect"])),n.tileRect=oe(e["a:tileRect"]),n}function ie(e){var t={},r=Z(e,t),i=parseFloat(e._attr.pos||"100000")/1e5;return{position:i,color:r,drawingColorSettings:t}}function ne(e){var t,r,i={transparency:1};return i.rotateWithShape=a.XmlNodeHelper.Vm(e._attr.rotWithShape,!1),t=e["a:blip"],t&&(i.imageID=t._attr["r:embed"],r=t["a:alphaModFix"],r&&(i.transparency=1-parseFloat(r._attr.amt||"0")/1e5)),t=e["a:tile"],t&&(i.tile=ae(t)),t=e["a:stretch"],t&&(i.stretch=oe(t["a:fillRect"])),i}function ae(e){var t=e._attr,r=t.sx,i=t.sy,n=t.tx,a=t.ty;return{alignment:t.algn||"tl",flipping:t.flip||"none",horizontalRatio:r&&parseFloat(r)/1e5||1,verticalRatio:i&&parseFloat(i)/1e5||1,horizontalOffset:n&&parseFloat(n)/1e5||0,verticalOffset:a&&parseFloat(a)/1e5||0}}function oe(e){if(e){var t=e._attr;return[t.l,t.t,t.r,t.b].map(function(e){return parseFloat(e||"0")/1e5})}}function le(e){var t,r={};return r.lineFormat=K(e["a:ln"]),t=q(e),t&&(r.fillFormat=t),r}},"./src/xlsx-io/reader/externallink-reader.ts":function(e,t,r){"use strict";var i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-reader.ts"),a=null;function o(e){var t,r=new n.XmlReader;for(r.setXml(e),t={data:{}};r.read();)1===r.depth&&2!==r.elementType&&"externalBook"===r.name()&&l(r,t);return t}t.readExternalLinkFile=o;function l(e,t){if(3!==e.elementType)for(var r=e.depth;e.read();){if(e.depth<=r)return;switch(e.name()){case"sheetNames":t.sheetNames=s(e);break;case"sheetDataSet":c(e,t)}}}function s(e){var t,r,i;if(3===e.elementType)return[];for(t=e.depth,r=[];e.read()&&!(e.depth<=t);)if(1===e.nodeType()&&"sheetName"===e.name())for(;e.moveToNextAttribute();)i=e.readAttributeNameAsString(),"val"===i&&r.push(e.readContentAsString().replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&gt;/g,">").replace(/&lt;/g,"<"));return r}function c(e,t){var r,i,n,a,o;if(3!==e.elementType)for(r=e.depth;e.read();){if(e.depth<=r)return;if(1===e.nodeType()&&"sheetData"===e.name()){for(i=void 0,n=void 0;e.moveToNextAttribute();)a=e.readAttributeNameAsString(),"sheetId"===a&&(i=e.readContentAsInt()),"refreshError"===a&&(n=e.readContentAsInt());o=t.sheetNames[i],t.data[o]={},n&&(t.data[o].isNew=!0),u(e,t.data[o])}}}function u(e,t){var r,i,n,a;if(3!==e.elementType)for(r=e.depth;e.read();){if(e.depth<=r)return;if(1===e.nodeType()&&"row"===e.name()){for(i={},n=void 0;e.moveToNextAttribute();)a=e.readAttributeNameAsString(),"r"===a&&(n=e.readContentAsString());t[n-1]={},d(e,n,t[n-1])}}}function d(e,t,r){var n,a,o,l;if(3!==e.elementType)for(n=e.depth;e.read();){if(e.depth<=n)return;if(1===e.nodeType()&&"cell"===e.name()){for(a=void 0,o=void 0;e.moveToNextAttribute();)l=e.readAttributeNameAsString(),"r"===l?(a=e.readContentAsString(),a=a.substr(0,a.length-t.length),a=i.IndexHelper.R(a)):"t"===l&&(o=e.readContentAsString());r[a]=f(e,o)}}}function f(e,t){var r,i,n,o;if(3!==e.elementType){for(i=e.depth;e.read();){if(e.depth<=i)return r;if(1===e.nodeType()&&"v"===e.name())if("str"===t)r=e.readElementContentAsString();else if("b"===t)r="1"===e.readElementContentAsString();else if("e"===t){switch(n=e.readElementContentAsString(),o=a,n){case"#DIV/0!":o=7;break;case"#N/A":o=42;break;case"#NAME?":o=29;break;case"#NULL!":o=0;break;case"#NUM!":o=36;break;case"#REF!":o=23;break;case"#VALUE!":o=15}r=o!==a?{_error:n,_code:o}:a}else r=parseFloat(e.readElementContentAsString())}return r}}},"./src/xlsx-io/reader/metadata-reader.ts":function(e,t,r){"use strict";var i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-parser.ts"),n=r("./src/xml-io/node-helper.ts"),a=n.XmlNodeHelper.He;function o(e){return e._attr.name}function l(e,t){var r,n=i.parseXmlToObject(e),l=n.metadata;l&&(r=a(l.metadataTypes.metadataType).map(o),l.typeNames=r,t.$g(l))}t.readSheetMetadata=l},"./src/xlsx-io/reader/pivot-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts"),n=r("./src/xml-io/xml-reader.ts"),a=r("./src/common/common.ts"),o=r("./src/datamodel/datetime-helper.ts"),l=r("./src/xml-io/xml-parser.ts"),s=r("./src/xlsx-io/reader/autofilter-reader.ts"),c=r("./src/datamodel/excel-style.ts"),u=r("./src/xml-io/node-helper.ts"),d={captionEqual:0,captionNotEqual:1,captionBeginsWith:2,captionNotBeginsWith:3,captionEndsWith:4,captionNotEndsWith:5,captionContains:6,captionNotContains:7,captionGreaterThan:8,captionGreaterThanOrEqual:9,captionLessThan:10,captionLessThanOrEqual:11,captionBetween:12,captionNotBetween:13},f={valueEqual:0,valueNotEqual:1,valueGreaterThan:2,valueGreaterThanOrEqual:3,valueLessThan:4,valueLessThanOrEqual:5,valueBetween:6,valueNotBetween:7},p={dateEqual:0,dateNotEqual:1,dateOlderThan:2,dateOlderThanOrEqual:3,dateNewerThan:4,dateNewerThanOrEqual:5,dateBetween:6,dateNotBetween:7,tomorrow:10,today:8,yesterday:9,nextWeek:17,thisWeek:15,lastWeek:16,nextMonth:14,thisMonth:12,lastMonth:13,nextQuarter:18,thisQuarter:19,lastQuarter:20,nextYear:21,thisYear:22,lastYear:23,yearToDate:40,Q1:24,Q2:25,Q3:26,Q4:27,M1:28,M2:29,M3:30,M4:31,M5:32,M6:33,M7:34,M8:35,M9:36,M10:37,M11:38,M12:39},h={count:0,percent:1,sum:2},m=void 0,g=a.Util.pa,b=a.Util.wa;function y(e,t,r){var i=new n.XmlReader;for(i.setXml(e);i.read();)0===i.depth&&2!==i.elementType&&"pivotCacheDefinition"===i.name()&&(x(i,r),v(i,r))}t.readPivotCacheDefinitions=y;function v(e,t){for(var r=e.depth;e.read()&&!(e.depth<=r);)switch(e.name()){case"cacheSource":A(e,t);break;case"cacheFields":k(e,t);break;case"cacheHierarchy":R(e,t);break;case"kpi":N(e,t);break;case"tupleCache":B(e,t);break;case"calculatedItem":M(e,t);break;case"calculatedMember":O(e,t);break;case"dimension":G(e,t);break;case"measureGroup":H(e,t);break;case"map":U(e,t);break;case"extLst":J(e,t)}}function x(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"backgroundQuery":t.backgroundQuery=e.readContentAsBoolean();break;case"createdVersion":t.createdVersion=e.readContentAsInt();break;case"enableRefresh":t.enableRefresh=e.readContentAsBoolean();break;case"r:id":t.rid=e.readContentAsString();break;case"invalid":t.invalid=e.readContentAsBoolean();break;case"minRefreshableVersion":t.minRefreshableVersion=e.readContentAsInt();break;case"missingItemsLimit":t.missingItemsLimit=e.readContentAsInt();break;case"recordCount":t.recordCount=e.readContentAsInt();break;case"optimizeMemory":t.optimizeMemory=e.readContentAsBoolean();break;case"refreshedBy":t.refreshedBy=e.readContentAsString();break;case"refreshedDate":t.refreshedDate=o.DateTimeHelper.Je(e.readContentAsDouble());break;case"refreshedVersion":t.refreshedVersion=e.readContentAsInt();break;case"refreshOnLoad":t.refreshOnLoad=e.readContentAsBoolean();break;case"saveData":t.saveData=e.readContentAsBoolean();break;case"supportAdvancedDrill":t.supportAdvancedDrill=e.readContentAsBoolean();break;case"supportSubquery":t.supportSubquery=e.readContentAsBoolean();break;case"tupleCache":t.tupleCache=e.readContentAsBoolean();break;case"upgradeOnRefresh":t.upgradeOnRefresh=e.readContentAsBoolean()}}function T(e,t){for(;e.moveToNextAttribute();){var r=e.readAttributeNameAsString();switch(r){case"ref":t.ref=e.readContentAsString();break;case"sheet":t.sheet=e.readContentAsString();break;case"name":t.sourceName=e.readContentAsString()}}}function A(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"type":t.sourceType=e.readContentAsString();break;case"connectionId":t.sourceConnectionId=e.readContentAsInt()}var r=e.depth;if(3!==e.elementType)for(;e.read()&&!(e.depth<=r);)"worksheetSource"===e.name()&&T(e,t)}function k(e,t){var r,i,n,o;for(t.fields=[],r=e.depth;e.read()&&!(e.depth<=r);){for(i={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"caption":i.caption=e.readContentAsString();break;case"databaseField":i.databaseField=e.readContentAsBoolean();break;case"formula":i.formula=b(g(e.readContentAsString()));break;case"hierarchy":i.hierarchy=e.readContentAsInt();break;case"level":i.level=e.readContentAsInt();break;case"mappingCount":i.mappingCount=e.readContentAsInt();break;case"memberPropertyField":i.memberPropertyField=e.readContentAsBoolean();break;case"name":i.name=g(b(e.readContentAsString()));break;case"numFmtId":i.numFmtId=e.readContentAsInt();break;case"propertyName":i.propertyName=e.readContentAsString();break;case"serverField":i.serverField=e.readContentAsBoolean();break;case"sqlType":i.sqlType=e.readContentAsInt();break;case"uniqueList":i.uniqueList=e.readContentAsBoolean()}if(3!==e.elementType)for(n=e.depth;e.read()&&!(e.depth<=n);)switch(e.name()){case"sharedItems":F(e,i),P(e,i);break;case"fieldGroup":o={},E(e,o),a.isNullOrUndefined(o.base)||I(e,o),i.fieldGroup=o;break;case"mpMap":for(i.mpMap=[];e.moveToNextAttribute();)"v"===e.readAttributeNameAsString()&&i.mpMap.push(e.readContentAsInt())}t.fields.push(i)}}function E(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"par":t.parent=e.readContentAsInt();break;case"base":t.base=e.readContentAsInt()}}function I(e,t){for(var r,i,n,a=e.depth;e.read()&&!(e.depth<=a);)if(r=e.name(),"rangePr"===r)for(t.hasRangeGroup=!0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"autoStart":t.autoStart=e.readContentAsBoolean();break;case"autoEnd":t.autoEnd=e.readContentAsBoolean();break;case"groupBy":t.groupBy=e.readContentAsString();break;case"startNum":t.startNum=e.readContentAsDouble();break;case"endNum":t.endNum=e.readContentAsDouble();break;case"startDate":t.startDate=Date.parse(e.readContentAsString());break;case"endDate":t.endDate=Date.parse(e.readContentAsString());break;case"groupInterval":t.groupInterval=e.readContentAsDouble()}else if("discretePr"===r){for(t.discreteGroup=[],i=e.depth;e.read()&&!(e.depth<=i);)if("x"===e.name())for(;e.moveToNextAttribute();)"v"===e.readAttributeNameAsString()&&t.discreteGroup.push(e.readContentAsInt())}else if("groupItems"===r)for(t.groupItems=[],n=e.depth;e.read()&&!(e.depth<=n);)t.groupItems.push(D(e))}function F(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"containsBlank":t.containsBlank=e.readContentAsBoolean();break;case"containsDate":t.containsDate=e.readContentAsBoolean();break;case"containsInteger":t.containsInteger=e.readContentAsBoolean();break;case"containsMixedTypes":t.containsMixedTypes=e.readContentAsBoolean();break;case"containsNonDate":t.containsNonDate=e.readContentAsBoolean();break;case"containsNumber":t.containsNumber=e.readContentAsBoolean();break;case"containsSemiMixedTypes":t.containsSemiMixedTypes=e.readContentAsBoolean();break;case"containsString":t.containsString=e.readContentAsBoolean();break;case"longText":t.longText=e.readContentAsBoolean();break;case"maxDate":t.maxDate=Date.parse(e.readContentAsString());break;case"maxValue":t.maxValue=e.readContentAsDouble();break;case"minDate":t.minDate=Date.parse(e.readContentAsString());break;case"minValue":t.minValue=e.readContentAsDouble()}}function P(e,t){t.entities=[];var r=e.depth;if(3!==e.elementType)for(;e.read()&&!(e.depth<=r);)t.entities.push(D(e))}function D(e){var t={},r=e.name();switch(r){case"b":t.type="b";break;case"d":t.type="d";break;case"e":t.type="e";break;case"m":t.type="m";break;case"n":t.type="n";break;case"s":t.type="s"}for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"c":t.caption=e.readContentAsString();break;case"cp":t.propertyCount=e.readContentAsInt();break;case"f":t.isCalculatedItem=e.readContentAsBoolean();break;case"u":t.isUnusedItem=e.readContentAsBoolean();break;case"b":t.isBold=e.readContentAsBoolean();break;case"bc":t.backgroundColor=e.readContentAsInt();break;case"fc":t.foregroundColor=e.readContentAsInt();break;case"i":t.isItalic=e.readContentAsBoolean();break;case"in":t.formatIndex=e.readContentAsInt();break;case"st":t.isStrikethrough=e.readContentAsBoolean();break;case"un":t.isUnderline=e.readContentAsBoolean();break;case"v":"b"===r?t.value=e.readContentAsBoolean():"d"===r?t.value=b(e.readContentAsString()):"e"===r?t.value=e.readContentAsError():"n"===r?t.value=e.readContentAsDouble():"s"===r?t.value=e.readContentAsString():"x"===r&&(t.value=e.readContentAsString())}return t}function R(e,t){var r,i;for(t.cacheHierarchies=[];e.read();){for(r={fieldsUsages:[],groupLevels:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"uniqueName":r.uniqueName=e.readContentAsString();break;case"caption":r.caption=e.readContentAsString();break;case"measure":r.measure=e.readContentAsBoolean();break;case"set":r.set=e.readContentAsBoolean();break;case"parentSet":r.parentSet=e.readContentAsInt();break;case"iconSet":r.iconSet=e.readContentAsInt();break;case"attribute":r.attribute=e.readContentAsBoolean();break;case"time":r.time=e.readContentAsBoolean();break;case"keyAttribute":r.keyAttribute=e.readContentAsBoolean();break;case"defaultMemberUniqueName":r.defaultMemberUniqueName=e.readContentAsString();break;case"allUniqueName":r.allUniqueName=e.readContentAsString();break;case"allCaption":r.allCaption=e.readContentAsString();break;case"dimensionUniqueName":r.dimensionUniqueName=e.readContentAsString();break;case"displayFolder":r.displayFolder=e.readContentAsString();break;case"measureGroup":r.measureGroup=e.readContentAsString();break;case"measures":r.measures=e.readContentAsBoolean();break;case"count":r.count=e.readContentAsInt();break;case"oneField":r.oneField=e.readContentAsBoolean();break;case"memberValueDatatype":r.memberValueDatatype=e.readContentAsInt();break;case"unbalanced":r.unbalanced=e.readContentAsBoolean();break;case"unbalancedGroup":r.unbalancedGroup=e.readContentAsBoolean();break;case"hidden":r.hidden=e.readContentAsBoolean()}for(i=e.depth;e.read()&&!(e.depth<=i);)switch(e.name()){case"fieldUsage":r.fieldsUsages.push(e.readContentAsInt());break;case"groupLevel":r.groupLevels.push(L(e))}t.cacheHierarchies.push(r)}}function L(e){for(var t,r={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"uniqueName":r.uniqueName=e.readContentAsString();break;case"caption":r.caption=e.readContentAsString();break;case"user":r.user=e.readContentAsBoolean();break;case"customRollUp":r.customRollUp=e.readContentAsBoolean()}for(t=e.depth;e.read()&&!(e.depth<=t);)e.name()&&r.groups.push(_(e));return r}function _(e){for(var t,r,i={groupMembers:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":i.Name=e.readContentAsString();break;case"uniqueName":i.UniqueName=e.readContentAsString();break;case"caption":i.Caption=e.readContentAsString();break;case"uniqueParent":i.UniqueParent=e.readContentAsString();break;case"id":i.Id=e.readContentAsInt()}for(t=e.depth;e.read()&&!(e.depth<=t);)if("groupMember"===e.name()){
35
+ for(r={};e.moveToNextAttribute();)switch(e.name()){case"uniqueName":r.uniqueName=e.readContentAsString();break;case"group":r.group=e.readContentAsBoolean()}i.groupMembers.push(r)}return i}function N(e,t){for(t.KPIs=[];e.moveToNextAttribute();){var r={};switch(e.readAttributeNameAsString()){case"uniqueName":r.uniqueName=e.readContentAsString();break;case"caption":r.caption=e.readContentAsString();break;case"displayFolder":r.displayFolder=e.readContentAsString();break;case"measureGroup":r.measureGroup=e.readContentAsString();break;case"parent":r.parent=e.readContentAsString();break;case"value":r.value=e.readContentAsString();break;case"goal":r.goal=e.readContentAsString();break;case"status":r.status=e.readContentAsString();break;case"trend":r.trend=e.readContentAsString();break;case"weight":r.weight=e.readContentAsString();break;case"time":r.time=e.readContentAsString()}t.KPIs.push(r)}}w=function(){function e(){}return e.readPivotCacheSet=function(e){},e.readPivotCacheQuery=function(e){},e.readPivotCacheServerFormat=function(e){},e}();function B(e,t){for(var r,i={entries:[]};e.read();)switch(e.name()){case"entries":for(r=e.depth;e.read()&&e.depth>r;)i.entries.push(D(e));break;case"set":break;case"query":break;case"serverFormats":}t.pivotCacheTupleCache=i}function M(e,t){var r,i={};for(t.calculatedItems=t.calculatedItems||[];e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"field":i.field=e.readContentAsInt();break;case"formula":i.formula=g(e.readContentAsString())}for(r=e.depth;e.read()&&!(e.depth<=r);)"pivotArea"===e.name()&&(i.pivotArea=se(e));t.calculatedItems.push(i)}function O(e,t){for(var r={};e.moveToNextAttribute();)switch(e.name()){case"name":r.name=g(b(e.readContentAsString()));break;case"mdx":r.mdx=e.readContentAsString();break;case"memberName":r.memberName=e.readContentAsString();break;case"hierarchy":r.hierarchy=e.readContentAsString();break;case"parent":r.parent=e.readContentAsString();break;case"solveOrder":r.solveOrder=e.readContentAsInt();break;case"set":r.set=e.readContentAsBoolean()}t.calculatedMembers.push(r)}function G(e,t){for(var r={};e.moveToNextAttribute();)switch(e.name()){case"measure":r.measure=e.readContentAsBoolean();break;case"name":r.name=g(b(e.readContentAsString()));break;case"uniqueName":r.uniqueName=e.readContentAsString();break;case"caption":r.caption=e.readContentAsString()}t.dimensions.push(r)}function H(e,t){for(var r={};e.moveToNextAttribute();)switch(e.name()){case"name":r.name=g(b(e.readContentAsString()));break;case"caption":r.caption=e.readContentAsString()}t.measureGroups.push(r)}function U(e,t){for(var r={};e.moveToNextAttribute();)switch(e.name()){case"measureGroup":r.name=e.readContentAsInt();break;case"dimension":r.caption=e.readContentAsInt()}t.measureDimensionMap.push(r)}function J(e,t){for(var r,i=e.depth;e.read()&&!(e.depth<=i);)if("ext"===e.name())for(r=e.depth;e.read()&&!(e.depth<=r);)if("x14:pivotCacheDefinition"===e.name())for(;e.moveToNextAttribute();)"pivotCacheId"===e.readAttributeNameAsString()&&(t.pivotCacheId=e.readContentAsInt())}function W(e,t){var r,a,o,l,s,c,u=new n.XmlReader;for(u.setXml(e),r=[];u.read();)if(0===u.depth&&2!==u.elementType&&"pivotCacheRecords"===u.name())for(a=u.depth;u.read()&&!(u.depth<=a);)if("r"===u.name()){for(o=[],l=u.depth;u.read()&&!(u.depth<=l);){for(s=u.name(),c={};u.moveToNextAttribute();)switch(u.readAttributeNameAsString()){case"v":"b"===s?(c.type=i.PivotSharedItemType.B,c.value=u.readContentAsBoolean()):"d"===s?(c.type=i.PivotSharedItemType.D,c.value=b(u.readContentAsString())):"e"===s?(c.type=i.PivotSharedItemType.E,c.value=u.readContentAsError()):"m"===s?(c.type=i.PivotSharedItemType.M,c.value=null):"n"===s?(c.type=i.PivotSharedItemType.N,c.value=u.readContentAsDouble()):"s"===s?(c.type=i.PivotSharedItemType.S,c.value=b(u.readContentAsString())):"x"===s&&(c.type=i.PivotSharedItemType.X,c.value=u.readContentAsInt());break;case"c":c.caption=u.readContentAsString();break;case"cp":c.propertyCount=u.readContentAsInt();break;case"f":c.isCalculatedItem=u.readContentAsBoolean();break;case"u":c.isUnusedItem=u.readContentAsBoolean();break;case"b":c.isBold=u.readContentAsBoolean();break;case"bc":c.backgroundColor=u.readContentAsInt();break;case"fc":c.foregroundColor=u.readContentAsInt();break;case"i":c.isItalic=u.readContentAsBoolean();break;case"in":c.formatIndex=u.readContentAsInt();break;case"st":c.isStrikethrough=u.readContentAsBoolean();break;case"un":c.isUnderline=u.readContentAsBoolean()}o.push(c)}r.push(o)}t.pivotCacheRecords=r}t.readPivotCacheRecords=W;function V(e,t,r,n){var a,o,l,s,c,u=[],d=[];if(e)for(a in e)"count"!==a&&(o=e[a],o&&(l=o.fileType,l===i.RelationshipConstants.Ya&&u.push(o)));for(s=0;s<u.length;s++)if(c=n(u[s].fileName))try{d.push(z(c,r,r.Ne.sheets[t]))}catch(e){}r.zg(d,t)}t.readPivotTableDefinition=V;function z(e,t,r,i,a){var o,l=new n.XmlReader;for(l.setXml(e),o={fields:[],chartFormats:[],pivotFilters:[],formats:[],rowFields:[],rowItems:[],columnFields:[],columnItems:[],pageFields:[],dataFields:[],pivotHierarchies:[]},o.hideValuesRow=!1,t&&void 0===t.fn&&(t.fn=[]);l.read();)0===l.depth&&2!==l.elementType&&"pivotTableDefinition"===l.name()&&(X(l,o,t),K(l,o,t,r));return o}function j(e,t){var r,i="_",n=e.split(i);return isNaN(parseInt(n[n.length-1],10))?e+=i+"1":(r=n[n.length-1],n.splice(n.length-1,1,i+(parseInt(r,10)+1)),e=n.join("")),t.indexOf(e)!==-1&&(e=j(e,t)),e}function X(e,t,r){var i,n;for(t.outline=!1,t.outlineData=!1;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"applyAlignmentFormats":t.applyAlignmentFormats=e.readContentAsBoolean();break;case"applyBorderFormats":t.applyBorderFormats=e.readContentAsBoolean();break;case"applyFontFormats":t.applyFontFormats=e.readContentAsBoolean();break;case"applyNumberFormats":t.applyNumberFormats=e.readContentAsBoolean();break;case"applyPatternFormats":t.applyPatternFormats=e.readContentAsBoolean();break;case"applyWidthHeightFormats":t.applyWidthHeightFormats=e.readContentAsBoolean();break;case"asteriskTotals":t.asteriskTotals=e.readContentAsBoolean();break;case"autoFormatId":t.autoFormatId=e.readContentAsInt();break;case"cacheId":t.cacheId=e.readContentAsInt();break;case"chartFormat":t.chartFormat=e.readContentAsInt();break;case"colGrandTotals":t.colGrandTotals=e.readContentAsBoolean();break;case"colHeaderCaption":t.colHeaderCaption=e.readContentAsString();break;case"compact":t.compact=e.readContentAsBoolean();break;case"compactData":t.compactData=e.readContentAsBoolean();break;case"createdVersion":t.createdVersion=e.readContentAsInt();break;case"customListSort":t.customListSort=e.readContentAsBoolean();break;case"dataCaption":t.dataCaption=e.readContentAsString();break;case"disableFieldList":t.disableFieldList=e.readContentAsBoolean();break;case"editData":t.editData=e.readContentAsBoolean();break;case"enableDrill":t.enableDrill=e.readContentAsBoolean();break;case"enableFieldProperties":t.enableFieldProperties=e.readContentAsBoolean();break;case"enableWizard":t.enableWizard=e.readContentAsBoolean();break;case"errorCaption":t.errorCaption=e.readContentAsString();break;case"fieldListSortAscending":t.fieldListSortAscending=e.readContentAsBoolean();break;case"fieldPrintTitles":t.fieldPrintTitles=e.readContentAsBoolean();break;case"grandTotalCaption":t.grandTotalCaption=e.readContentAsString();break;case"gridDropZones":t.gridDropZones=e.readContentAsBoolean();break;case"immersive":t.immersive=e.readContentAsBoolean();break;case"indent":t.indent=e.readContentAsInt();break;case"itemPrintTitles":t.itemPrintTitles=e.readContentAsBoolean();break;case"mdxSubqueries":t.mdxSubqueries=e.readContentAsBoolean();break;case"mergeItem":t.mergeItem=e.readContentAsBoolean();break;case"minRefreshableVersion":t.minRefreshableVersion=e.readContentAsInt();break;case"missingCaption":t.missingCaption=e.readContentAsString();break;case"multipleFieldFilters":t.multipleFieldFilters=e.readContentAsBoolean();break;case"name":i=g(b(e.readContentAsString())),n=r&&r.fn,n&&n.indexOf(i)!==-1&&(i=j(i,n)),t.name=g(b(i)),n.push(i);break;case"outline":t.outline=e.readContentAsBoolean();break;case"outlineData":t.outlineData=e.readContentAsBoolean();break;case"pageOverThenDown":t.pageOverThenDown=e.readContentAsBoolean();break;case"pageStyle":t.pageStyle=e.readContentAsString();break;case"pageWrap":t.pageWrap=e.readContentAsInt();break;case"pivotTableStyle":t.pivotTableStyle=e.readContentAsString();break;case"preserveFormatting":t.preserveFormatting=e.readContentAsBoolean();break;case"printDrill":t.printDrill=e.readContentAsBoolean();break;case"published":t.published=e.readContentAsBoolean();break;case"rowGrandTotals":t.rowGrandTotals=e.readContentAsBoolean();break;case"rowHeaderCaption":t.rowHeaderCaption=e.readContentAsString();break;case"showCalcMbrs":t.showCalcMbrs=e.readContentAsBoolean();break;case"showDataDropDown":t.showDataDropDown=e.readContentAsBoolean();break;case"showDataTips":t.showDataTips=e.readContentAsBoolean();break;case"showDrill":t.showDrill=e.readContentAsBoolean();break;case"showDropZones":t.showDropZones=e.readContentAsBoolean();break;case"showEmptyCol":t.showEmptyCol=e.readContentAsBoolean();break;case"showEmptyRow":t.showEmptyRow=e.readContentAsBoolean();break;case"showError":t.showError=e.readContentAsBoolean();break;case"showHeaders":t.showHeaders=e.readContentAsBoolean();break;case"showItems":t.showItems=e.readContentAsBoolean();break;case"showMemberPropertyTips":t.showMemberPropertyTips=e.readContentAsBoolean();break;case"showMissing":t.showMissing=e.readContentAsBoolean();break;case"showMultipleLabel":t.showMultipleLabel=e.readContentAsBoolean();break;case"subtotalHiddenItems":t.subtotalHiddenItems=e.readContentAsBoolean();break;case"tag":t.tag=e.readContentAsString();break;case"updatedVersion":t.updatedVersion=e.readContentAsInt();break;case"useAutoFormatting":t.useAutoFormatting=e.readContentAsBoolean();break;case"vacatedStyle":t.vacatedStyle=e.readContentAsString();break;case"visualTotals":t.visualTotals=e.readContentAsBoolean()}}function K(e,t,r,i){for(var n,a=e.depth,o=i&&i.conditionalFormats&&i.conditionalFormats.rules;e.read()&&!(e.depth<=a);)switch(e.name()){case"pivotTableDefinition":X(e,t);break;case"location":oe(e,t);break;case"pivotFields":for(n=e.depth;e.read()&&!(e.depth<=n);)t.fields.push(le(e,r));break;case"formats":he(e,t,r);break;case"conditionalFormats":ie(e,t,o);break;case"chartFormat":ae(e,t);break;case"filter":te(e,t,r);break;case"pivotTableStyleInfo":be(e,t,r);break;case"rowFields":t.rowFields=Se(e);break;case"rowItems":t.rowItems=ye(e);break;case"colFields":t.columnFields=Se(e);break;case"colItems":t.columnItems=ye(e);break;case"pageFields":ee(e,t);break;case"dataFields":Z(e,t,r);break;case"pivotHierarchies":Q(e,t);break;case"rowHierarchiesUsage":t.rowHierarchyUsage=Y(e);break;case"colHierarchiesUsage":t.columnHierarchyUsage=Y(e);break;case"extLst":q(e,t,o)}}function q(e,t,r){for(var i,n=e.depth;e.read()&&!(e.depth<=n);)for(i=e.depth;e.read()&&!(e.depth<=i);){if("x14:pivotTableDefinition"===e.name()){for(;e.moveToNextAttribute();)"hideValuesRow"===e.readAttributeNameAsString()&&(t.hideValuesRow=e.readContentAsBoolean()),"altText"===e.readAttributeNameAsString()&&(t.altText=e.readContentAsString()),"fillDownLabelsDefault"===e.readAttributeNameAsString()&&(t.fillDownLabels=e.readContentAsBoolean()),"altTextSummary"===e.readAttributeNameAsString()&&(t.altTextSummary=e.readContentAsString());"x14:conditionalFormats"===e.name()&&ie(e,t,r)}if("xpdl:pivotTableDefinition16"===e.name())for(;e.moveToNextAttribute();)"SubtotalsOnTopDefault"===e.readAttributeNameAsString()&&(t.subtotalsOnTopDefault=e.readContentAsBoolean()),"EnabledSubtotalsDefault"===e.readAttributeNameAsString()&&(t.enabledSubtotalsDefault=e.readContentAsBoolean()),"InsertBlankRowDefault"===e.readAttributeNameAsString()&&(t.insertBlankRowDefault=e.readContentAsBoolean())}}function Y(e){for(var t=[],r=e.depth;e.read()&&!(e.depth<=r);)for(;e.moveToNextAttribute();)"hierarchyUsage"===e.readAttributeNameAsString()&&t.push(e.readContentAsInt());return t}function Q(e,t){for(var r,i,n,a,o,l,s,c=e.depth;e.read()&&!(e.depth<=c);){for(r={memberProperties:[],members:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"caption":r.caption=e.readContentAsString();break;case"dragOff":r.dragOff=e.readContentAsBoolean();break;case"dragToCol":r.dragToCol=e.readContentAsBoolean();break;case"dragToData":r.dragToData=e.readContentAsBoolean();break;case"dragToPage":r.dragToPage=e.readContentAsBoolean();break;case"dragToRow":r.dragToRow=e.readContentAsBoolean();break;case"includeNewItemsInFilter":r.includeNewItemsInFilter=e.readContentAsBoolean();break;case"multipleItemSelectionAllowed":r.multipleItemSelectionAllowed=e.readContentAsBoolean();break;case"outline":r.outline=e.readContentAsBoolean();break;case"showInFieldList":r.showInFieldList=e.readContentAsBoolean();break;case"subtotalTop":r.subtotalTop=e.readContentAsBoolean()}for(i=e.depth;e.read()&&!(e.depth<=i);)switch(e.name()){case"sh:mps":for(n=e.depth;e.read()&&(a={},!(e.depth<=n));){if("sh:mp"===e.name())for(;e.moveToNextAttribute();)o=e.readAttributeNameAsString(),"name"===o?a.name=g(b(e.readContentAsString())):"showCell"===o?a.showCell=e.readContentAsBoolean():"showTip"===o?a.showTip=e.readContentAsBoolean():"showAsCaption"===o?a.showAsCaption=e.readContentAsBoolean():"nameLen"===o?a.nameLen=e.readContentAsInt():"pPos"===o?a.pPos=e.readContentAsInt():"pLen"===o?a.pLen=e.readContentAsInt():"level"===o?a.level=e.readContentAsInt():"field"===o&&(a.field=e.readContentAsInt());r.memberProperties.push(a)}break;case"members":for(l={members:[]};e.moveToNextAttribute();)"level"===e.readAttributeNameAsString()&&(l.level=e.readContentAsInt());for(s=e.depth;e.read()&&!(e.depth<=s);)for(;e.moveToNextAttribute();)"name"===e.readAttributeNameAsString()&&l.members.push(e.readContentAsString())}t.pivotHierarchies.push(r)}}function Z(e,t,r){for(var i,n,a,o=e.depth;e.read()&&!(e.depth<=o);){for(i={},i.isOnRead=!0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"baseField":i.baseField=e.readContentAsInt();break;case"baseItem":i.baseItem=e.readContentAsInt();break;case"fld":i.fld=e.readContentAsInt();break;case"name":i.name=g(b(e.readContentAsString()));break;case"numFmtId":n=e.readContentAsInt(),a=c.ExtendedNumberFormatHelper.builtInNumberFomrat(),r.gn&&r.gn[n]?i.numberFormat=c.ExtendedNumberFormatHelper.getFormatCode({numberFormat:r.gn[n]}):a[n]&&(i.numberFormat=a[n]);break;case"showDataAs":i.showDataAs=e.readContentAsString();break;case"subtotal":i.subtotal=e.readContentAsString()}$(e,i),i.isOnRead=!1,t.dataFields.push(i)}}function $(e,t){var r,i,n;if(3!==e.elementType)for(r=e.depth;e.read()&&!(e.depth<=r);)if("extLst"===e.name())for(i=e.depth;e.read()&&!(e.depth<=i);)if("ext"===e.name())for(n=e.depth;e.read()&&!(e.depth<=n);)if("x14:dataField"===e.name())for(;e.moveToNextAttribute();)"pivotShowAs"===e.readAttributeNameAsString()&&(t.showDataAs=e.readContentAsString())}function ee(e,t){for(var r,i=e.depth;e.read()&&!(e.depth<=i);){for(r={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"cap":r.cap=e.readContentAsString();break;case"fld":r.fld=e.readContentAsInt();break;case"hier":r.hier=e.readContentAsInt();break;case"item":r.item=e.readContentAsInt();break;case"name":r.name=g(b(e.readContentAsString()))}t.pageFields.push(r)}}function te(e,t,r){for(var i,n,o,c,u={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"fld":u.fld=e.readContentAsInt();break;case"mpFld":u.mpFld=e.readContentAsInt();break;case"type":u.type=e.readContentAsString();break;case"evalOrder":u.evalOrder=e.readContentAsInt();break;case"id":u.id=e.readContentAsInt();break;case"iMeasureHier":u.iMeasureHier=e.readContentAsInt();break;case"iMeasureFld":u.iMeasureFld=e.readContentAsInt();break;case"name":u.name=g(b(e.readContentAsString()));break;case"description":u.description=e.readContentAsString();break;case"stringValue1":u.stringValue1=e.readContentAsString();break;case"stringValue2":u.stringValue2=e.readContentAsString()}for(i=e.depth;e.read()&&!(e.depth<=i);)"autoFilter"===e.name()&&(n=l.parseXmlToObject(e.readFullElement()).autoFilter,o=s.readAutoFilter(n),c=void 0,n.sortState&&(o.sortInfo=s.readSortInfo(n.sortState)),a.isNullOrUndefined(u.type)||(c=re(u.type)),u.conType=c&&c.conType,u.autoFilter=r.Ng(o,c));t.pivotFilters.push(u)}function re(e){return e.indexOf("caption")>-1&&!a.isNullOrUndefined(d[e])?{conType:0,compareType:d[e]}:e.indexOf("value")>-1&&!a.isNullOrUndefined(f[e])?{conType:2,compareType:f[e]}:a.isNullOrUndefined(p[e])?a.isNullOrUndefined(h[e])?void 0:{conType:3,compareType:h[e]}:{conType:1,compareType:p[e]}}function ie(e,t,r){var i,n=e.depth;for(a.isNullOrUndefined(r)&&(r=[]),a.isNullOrUndefined(t.pivotTableConditionFormats)&&(t.pivotTableConditionFormats=[]);e.read()&&!(e.depth<=n);)i=e.name(),"conditionalFormat"!==i&&"x14:conditionalFormat"!==i||ne(e,t,r)}function ne(e,t,r){for(var i,n={pivotAreas:[]},a=function(){switch(e.readAttributeNameAsString()){case"scope":n.scope=e.readContentAsString();break;case"type":n.type=e.readContentAsString();break;case"priority":var t=e.readContentAsInt();r.forEach(function(e){e.priority===t&&(n.rule=e)})}};e.moveToNextAttribute();)a();for(i=e.depth;e.read()&&!(e.depth<=i);)"pivotArea"===e.name()&&n.pivotAreas.push(se(e));t.pivotTableConditionFormats.push(n)}function ae(e,t){for(var r,i={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"chart":i.chart=e.readContentAsInt();break;case"format":i.format=e.readContentAsInt();break;case"series":i.series=e.readContentAsBoolean()}for(r=e.depth;e.read()&&!(e.depth<=r);)"pivotArea"===e.name()&&(i.pivotArea=se(e));t.chartFormats.push(i)}function oe(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"ref":t.ref=e.readContentAsString();break;case"firstHeaderRow":t.firstHeaderRow=e.readContentAsInt();break;case"firstDataRow":t.firstDataRow=e.readContentAsInt();break;case"firstDataCol":t.firstDataCol=e.readContentAsInt();break;case"rowPageCount":t.rowPageCount=e.readContentAsInt();break;case"colPageCount":t.colPageCount=e.readContentAsInt()}}function le(e,t){var r,i,n,a,o,l,s,u={items:[]};for(u.isOnRead=!0,u.showAll=!0,u.defaultSubtotal=!0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"allDrilled":u.allDrilled=e.readContentAsBoolean();break;case"autoShow":u.autoShow=e.readContentAsBoolean();break;case"avgSubtotal":u.avgSubtotal=e.readContentAsBoolean();break;case"axis":u.axis=e.readContentAsString();break;case"compact":u.compact=e.readContentAsBoolean();break;case"countASubtotal":u.countASubtotal=e.readContentAsBoolean();break;case"countSubtotal":u.countSubtotal=e.readContentAsBoolean();break;case"dataField":u.dataField=e.readContentAsBoolean();break;case"dataSourceSort":u.dataSourceSort=e.readContentAsBoolean();break;case"defaultAttributeDrillState":u.defaultAttributeDrillState=e.readContentAsBoolean();break;case"defaultSubtotal":u.defaultSubtotal=e.readContentAsBoolean();break;case"dragOff":u.dragOff=e.readContentAsBoolean();break;case"dragToCol":u.dragToCol=e.readContentAsBoolean();break;case"dragToData":u.dragToData=e.readContentAsBoolean();break;case"dragToPage":u.dragToPage=e.readContentAsBoolean();break;case"dragToRow":u.dragToRow=e.readContentAsBoolean();break;case"hiddenLevel":u.hiddenLevel=e.readContentAsBoolean();break;case"hideNewItems":u.hideNewItems=e.readContentAsBoolean();break;case"includeNewItemsInFilter":u.includeNewItemsInFilter=e.readContentAsBoolean();break;case"insertBlankRow":u.insertBlankRow=e.readContentAsBoolean();break;case"insertPageBreak":u.insertPageBreak=e.readContentAsBoolean();break;case"itemPageCount":u.itemPageCount=e.readContentAsInt();break;case"maxSubtotal":u.maxSubtotal=e.readContentAsBoolean();break;case"measureFilter":u.measureFilter=e.readContentAsBoolean();break;case"minSubtotal":u.minSubtotal=e.readContentAsBoolean();break;case"multipleItemSelectionAllowed":u.multipleItemSelectionAllowed=e.readContentAsBoolean();break;case"name":u.name=g(b(e.readContentAsString()));break;case"nonAutoSortDefault":u.nonAutoSortDefault=e.readContentAsBoolean();break;case"numFmtId":r=e.readContentAsInt(),i=c.ExtendedNumberFormatHelper.builtInNumberFomrat(),t.gn&&t.gn[r]?u.numberFormat=c.ExtendedNumberFormatHelper.getFormatCode({numberFormat:t.gn[r]}):i[r]&&(u.numberFormat=i[r]);break;case"outline":u.outline=e.readContentAsBoolean();break;case"productSubtotal":u.productSubtotal=e.readContentAsBoolean();break;case"rankBy":u.rankBy=e.readContentAsInt();break;case"serverField":u.serverField=e.readContentAsBoolean();break;case"showAll":u.showAll=e.readContentAsBoolean();break;case"showDropDowns":u.showDropDowns=e.readContentAsBoolean();break;case"showPropAsCaption":u.showPropAsCaption=e.readContentAsBoolean();break;case"showPropCell":u.showPropCell=e.readContentAsBoolean();break;case"showPropTip":u.showPropTip=e.readContentAsBoolean();break;case"sortType":u.sortType=e.readContentAsString();break;case"stdDevPSubtotal":u.stdDevPSubtotal=e.readContentAsBoolean();break;case"stdDevSubtotal":u.stdDevSubtotal=e.readContentAsBoolean();break;case"subtotalCaption":u.subtotalCaption=e.readContentAsString();break;case"subtotalTop":u.subtotalTop=e.readContentAsBoolean();break;case"sumSubtotal":u.sumSubtotal=e.readContentAsBoolean();break;case"topAutoShow":u.topAutoShow=e.readContentAsBoolean();break;case"uniqueMemberProperty":u.uniqueMemberProperty=e.readContentAsString();break;case"varPSubtotal":u.varPSubtotal=e.readContentAsBoolean();break;case"varSubtotal":u.varSubtotal=e.readContentAsBoolean()}if(3===e.elementType)return u.isOnRead=!1,u;for(n=e.depth;e.read()&&!(e.depth<=n);)if(a=e.name(),"items"===a){for(o=e.depth;e.read()&&!(e.depth<=o);){for(l={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"c":l.childItems=e.readContentAsBoolean();break;case"d":l.expanded=e.readContentAsBoolean();break;case"e":l.drillAcross=e.readContentAsBoolean();break;case"f":l.calculatedMember=e.readContentAsBoolean();break;case"h":l.hidden=e.readContentAsBoolean();break;case"m":l.missing=e.readContentAsBoolean();break;case"n":l.caption=e.readContentAsString();break;case"s":l.character=e.readContentAsBoolean();break;case"sd":l.collapse=!e.readContentAsBoolean();break;case"t":l.type=e.readContentAsString();break;case"x":l.indexValue=e.readContentAsInt()}u.items.push(l)}u.items.length>0&&(u.isShared=!0)}else if("autoSortScope"===a)for(s=e.depth;e.read()&&!(e.depth<=s);)"pivotArea"===e.name()&&(u.autoSortScope=se(e));return u.isOnRead=!1,u}function se(e){for(var t,r,i,n={references:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"axis":n.axis=e.readContentAsString();break;case"cacheIndex":n.cacheIndex=e.readContentAsBoolean();break;case"collapsedLevelsAreSubtotals":n.collapsedLevelsAreSubtotals=e.readContentAsBoolean();break;case"dataOnly":n.dataOnly=e.readContentAsBoolean();break;case"field":n.field=e.readContentAsInt();break;case"fieldPosition":n.fieldPosition=e.readContentAsInt();break;case"grandCol":n.grandCol=e.readContentAsBoolean();break;case"grandRow":n.grandRow=e.readContentAsBoolean();break;case"labelOnly":n.labelOnly=e.readContentAsBoolean();break;case"offset":n.offset=e.readContentAsString();break;case"outline":n.outline=e.readContentAsBoolean();break;case"type":n.type=e.readContentAsString()}if(3===e.elementType)return n;for(t=e.depth;e.read()&&!(e.depth<=t);)if("reference"===e.name()){for(r={indexes:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"avgSubtotal":r.avgSubtotal=e.readContentAsBoolean();break;case"byPosition":r.byPosition=e.readContentAsBoolean();break;case"countASubtotal":r.countASubtotal=e.readContentAsBoolean();break;case"countSubtotal":r.countSubtotal=e.readContentAsBoolean();break;case"defaultSubtotal":r.defaultSubtotal=e.readContentAsBoolean();break;case"field":r.field=e.readContentAsDouble();break;case"maxSubtotal":r.maxSubtotal=e.readContentAsBoolean();break;case"minSubtotal":r.minSubtotal=e.readContentAsBoolean();break;case"productSubtotal":r.productSubtotal=e.readContentAsBoolean();break;case"relative":r.relative=e.readContentAsBoolean();break;case"selected":r.selected=e.readContentAsBoolean();break;case"stdDevPSubtotal":r.stdDevPSubtotal=e.readContentAsBoolean();break;case"stdDevSubtotal":r.stdDevSubtotal=e.readContentAsBoolean();break;case"sumSubtotal":r.sumSubtotal=e.readContentAsBoolean();break;case"varPSubtotal":r.varPSubtotal=e.readContentAsBoolean();break;case"varSubtotal":r.varSubtotal=e.readContentAsBoolean()}if(3===e.elementType){n.references.push(r);continue}for(i=e.depth;e.read()&&!(e.depth<=i);)if("x"===e.name())for(;e.moveToNextAttribute();)"v"===e.readAttributeNameAsString()&&r.indexes.push(e.readContentAsInt());n.references.push(r)}return n}function ce(e,t){if(!e||!t)return!1;if(e.field===t.field&&e.defaultSubtotal===t.defaultSubtotal){if(!e.indexes&&!t.indexes)return!0;if(!e.indexes||!t.indexes)return!1;if(e.indexes.length===t.indexes.length){e.indexes.sort(),t.indexes.sort();for(var r=0;r<e.indexes.length;r++)if(e.indexes[r]!==t.indexes[r])return!1;return!0}}return!1}function ue(e,t){for(var r=0,i=t.length;r<i;r++)if(t[r]&&t[r].field===e)return t[r]}function de(e,t){var r,i,n,o,l,s,c;if(a.isNullOrUndefined(e)||a.isNullOrUndefined(t))return!1;if(e.type!==t.type||e.cacheIndex!==t.cacheIndex||e.collapsedLevelsAreSubtotals!==t.collapsedLevelsAreSubtotals||e.field!==t.field||e.labelOnly!==t.labelOnly||e.grandRow!==t.grandRow||e.grandCol!==t.grandCol||e.dataOnly!==t.dataOnly||e.field!==t.field||e.fieldPosition!==t.fieldPosition||e.offset!==t.offset||e.outline!==t.outline||e.axis!==t.axis)return!1;if(e.references===m&&t.references!==m||e.references!==m&&t.references===m)return!1;if(e.references!==m&&t.references!==m){if(e.references.length!==t.references.length)return!1;for(r=t.references,i=e.references,n=0,o=i.length;n<o;n++)if(l=i[n],s=l.field,c=ue(s,r),!ce(l,c))return!1}return!0}function fe(e){if(e){var t={};return e.font&&(t.font=e.font.clone()),e.border&&(t.border=e.border.clone()),e.fill&&(t.fill=e.fill.clone()),e.numberFormat&&(t.numberFormat=e.numberFormat.clone()),e.alignment&&(t.alignment=a.Ia(e.alignment)),e.protection&&(t.protection=a.Ia(e.protection)),t}}function pe(e,t){var r,i,n,a;if(!e||e.length<1)return[];if(r=[],e.length>1){for(i=0,n=e.length;i<n-1;i++)a=e[i],a&&a.dxf&&r.push(a);e[e.length-1]&&r.push(e[e.length-1])}else r=e;for(i=0;i<r.length;i++)r[i].style=t.vg(r[i].dxf,!0);return r}function he(e,t,r){var i=e.depth;for(t.formats=[];e.read()&&!(e.depth<=i);)"format"===e.name()&&me(e,t,r);t.formats=pe(t.formats,r)}function me(e,t,r){for(var i,n,o={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"action":o.action=e.readContentAsString();break;case"dxfId":i=e.readContentAsInt(),!a.isNullOrUndefined(i)&&i>-1&&(o.dxf=fe(r.hf[i]))}for(n=e.depth;e.read()&&!(e.depth<=n);)"pivotArea"===e.name()&&(o.pivotArea=se(e));t.formats.push(o)}function ge(){var e,t={};for(e=1;e<=28;e++)t["PIVOTSTYLELIGHT"+e]=!0,t["PIVOTSTYLEMEDIUM"+e]=!0,t["PIVOTSTYLEDARK"+e]=!0;return t}C=ge();function be(e,t,r){for(var i,n,o,l,s,c,d,f,p,h;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":t.styleName=e.readContentAsString();break;case"showColHeaders":t.showColHeaders=e.readContentAsBoolean();break;case"showColStripes":t.showColStripes=e.readContentAsBoolean();break;case"showLastColumn":t.showLastColumn=e.readContentAsBoolean();break;case"showRowHeaders":t.showRowHeaders=e.readContentAsBoolean();break;case"showRowStripes":t.showRowStripes=e.readContentAsBoolean()}if(a.isNullOrUndefined(t.styleName))t.styleName="PivotStyleLight0";else if(i=C[t.styleName.toUpperCase()],!i&&(n=r.tableStylesObj,o=t.styleName,!a.isNullOrUndefined(n)&&(l=n._attr,!a.isNullOrUndefined(l)))){if(s=u.XmlNodeHelper.Xm(l.count,0),c=void 0,(s>0||n.tableStyle)&&(d=u.XmlNodeHelper.He(n.tableStyle),!a.isNullOrUndefined(d)))for(f=0;f<d.length;f++)if(p=d[f]._attr.name,o===p){c=d[f];break}h={},we(t,h,c,r)}}function we(e,t,r,i){var n=r,a=n._attr;t.name=g(b(a.name)),a.count&&a.count>0&&Ce(e,t,r,i)}S={wholeTable:"wholeTableStyle",pageFieldLabels:"reportFilterLabelsStyle",pageFieldValues:"reportFilterValuesStyle",firstRowStripe:"firstRowStripeStyle",secondRowStripe:"secondRowStripeStyle",firstColumnStripe:"firstColumnStripeStyle",secondColumnStripe:"secondColumnStripeStyle",firstColumn:"firstColumnStyle",headerRow:"headerRowStyle",firstHeaderCell:"firstHeaderCellStyle",firstSubtotalColumn:"subtotalColumn1Style",secondSubtotalColumn:"subtotalColumn2Style",thirdSubtotalColumn:"subtotalColumn3Style",blankRow:"blankRowStyle",firstSubtotalRow:"subtotalRow1Style",secondSubtotalRow:"subtotalRow2Style",thirdSubtotalRow:"subtotalRow3Style",firstColumnSubheading:"columnSubheading1Style",secondColumnSubheading:"columnSubheading2Style",thirdColumnSubheading:"columnSubheading3Style",firstRowSubheading:"rowSubheading1Style",secondRowSubheading:"rowSubheading2Style",thirdRowSubheading:"rowSubheading3Style",lastColumn:"grandTotalColumnStyle",totalRow:"grandTotalRowStyle"};function Ce(e,t,r,i){var n=u.XmlNodeHelper.He(r.tableStyleElement);a.isNullOrUndefined(n)||n.forEach(function(e){var r,n,o,l,s=e._attr;a.isNullOrUndefined(s)||(r=s.type||"wholePivotTable",n=u.XmlNodeHelper.Xm(s.dxfId)||0,o=u.XmlNodeHelper.Xm(s.size)||1,l=i.ug(n),t[S[r]]=l,"firstRowStripe"!==r&&"secondRowStripe"!==r&&"firstColumnStripe"!==r&&"secondColumnStripe"!==r||(t[r.substr(0,r.length-1)+"Size"]=o))}),e.style=t}function Se(e){for(var t=[],r=e.depth;e.read()&&!(e.depth<=r);)if("field"===e.name())for(;e.moveToNextAttribute();)"x"===e.readAttributeNameAsString()&&t.push(e.readContentAsInt());return t}function ye(e){for(var t=[],r=e.depth;e.read()&&!(e.depth<=r);)t.push(ve(e));return t}function ve(e){for(var t,r={pivotItemIndexes:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"t":r.type=e.readContentAsString();break;case"r":r.repeatCount=e.readContentAsInt();break;case"i":r.dataFieldIndex=e.readContentAsInt()}if(3===e.elementType)return r;for(t=e.depth;e.read()&&!(e.depth<=t);)if("x"===e.name()){if(!e.moveToNextAttribute()){r.pivotItemIndexes.push(0);continue}if("v"===e.readAttributeNameAsString()){r.pivotItemIndexes.push(e.readContentAsInt());continue}for(;e.moveToNextAttribute();)if("v"===e.readAttributeNameAsString()){r.pivotItemIndexes.push(e.readContentAsInt());break}}return r}},"./src/xlsx-io/reader/print-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/xml-io/xml-parser.ts"),o=r("./src/xml-io/node-helper.ts"),l=r("./src/datamodel/excel-helper.ts"),s=o.XmlNodeHelper.Vm,c=o.XmlNodeHelper.Xm,u=o.XmlNodeHelper.Ym,d=o.XmlNodeHelper.He,f=i.Util.pa,p=parseFloat,h={auto:0,downThenOver:1,overThenDown:2},m={auto:0,portrait:1,landscape:2},g={LH:0,CH:1,RH:2,LF:3,CF:4,RF:5,LHEVEN:6,CHEVEN:7,RHEVEN:8,LFEVEN:9,CFEVEN:10,RFEVEN:11,LHFIRST:12,CHFIRST:13,RHFIRST:14,LFFIRST:15,CFFIRST:16,RFFIRST:17};function b(e,t,r){var i,n=a.parseXmlToObject(e.readFullElement()).pageMargins;n&&(i=n._attr,r.Sg(t,{left:p(i.left),right:p(i.right),top:p(i.top),bottom:p(i.bottom),header:p(i.header),footer:p(i.footer)}))}t.readPageMargins=b;function w(e,t,r){var i,n=a.parseXmlToObject(e.readFullElement()).printOptions;n&&(i=n._attr,r.Tg(t,{printGridLine:s(i.gridLines,!1)&&s(i.gridLinesSet,!0),horizontalCentered:s(i.horizontalCentered,!1),verticalCentered:s(i.verticalCentered,!1),printRowColumnsHeaders:s(i.headings,!1)}))}t.readPrintOptions=w;function C(e,t){var r,i,n,u=a.parseXmlToObject(e.readFullElement()).pageSetup;u&&(r=u._attr,i=t.hn,n=void 0,void 0!==r.paperSize&&(n=parseInt(r.paperSize,10)),i.showColor=!s(r.blackAndWhite,!1),i.copies=c(r.copies,1),i.draft=s(r.draft,!1),i.useCustomStartingPage=s(r.useFirstPageNumber,!1),i.firstPageNumber=l.convertFirstPageNumber(c(r.firstPageNumber,1)),i.smartPrintPagesHeight=c(r.fitToHeight,1),
36
+ i.smartPrintPagesWidth=c(r.fitToWidth,1),i.pageOrder=h[r.pageOrder]||0,i.paperSizeIndex="number"==typeof n?n:1,i.zoomFactor=o.XmlNodeHelper.Wm(r.scale,100)/100,i.orientation=m[r.orientation]||0)}t.readPageSetup=C;function S(e,t){var r=a.parseXmlToObject(e.readFullElement()).pageSetUpPr;r&&(t.hn.useSmartPrint=s(r._attr.fitToPage,!1))}t.readPageSetupAdditionalProperty=S;function y(e,t){var r,i,n=a.parseXmlToObject(e.readFullElement()).headerFooter;n&&(r=n._attr,i=t.hn.advancedHeadFooterSetting={headerFooterAlignWithPageMargin:s(r.alignWithMargins,!0),headerFooterDifferentFirstPage:s(r.differentFirst,!1)},i.headerFirstPage=f(u(n,"firstHeader")),i.footerFirstPage=f(u(n,"firstFooter")),i.headerFooterDifferentOddEvenPages=s(r.differentOddEven,!1),i.headerEvenPage=f(u(n,"evenHeader")),i.footerEvenPage=f(u(n,"evenFooter")),i.headerOddPage=f(u(n,"oddHeader")),i.footerOddPage=f(u(n,"oddFooter")),i.headerFooterScalesWithDocument=s("scaleWithDoc",!0))}t.readHeaderFooter=y;function v(e,t,r){var i=a.parseXmlToObject(e.readFullElement()),n=r?i.rowBreaks:i.colBreaks,o=[],l=d(n.brk);l.forEach(function(e){if(e){var t=c(e._attr.id,0);t>0&&o.push(t)}}),r?t.hn.rowBreakLines=o:t.hn.columnBreakLines=o}t.readRowColumnBreaks=v;function x(e,t){var r=a.parseXmlToObject(e.readFullElement()).legacyDrawingHF;r&&(t.jn=r._attr["r:id"])}t.readLegacyDrawingHF=x;function T(e){var t,r,i,a={};for(t in e)e.hasOwnProperty(t)&&(r=e[t],i=r.fileType,i!==n.RelationshipConstants.hb&&i!==n.RelationshipConstants.ib||(a[t]=r.fileName));return a}function A(e,t,r){var i,n;if(r)switch(i=e.hn,i.advancedHeadFooterSetting||(i.advancedHeadFooterSetting={}),n=i.advancedHeadFooterSetting,t){case g.CHEVEN:n.evenHeaderCenterImage=r;break;case g.RHEVEN:n.evenHeaderRightImage=r;break;case g.LFEVEN:n.evenFooterLeftImage=r;break;case g.CFEVEN:n.evenFooterCenterImage=r;break;case g.RFEVEN:n.evenFooterRightImage=r;break;case g.LHEVEN:n.evenHeaderLeftImage=r;break;case g.CHFIRST:n.firstHeaderCenterImage=r;break;case g.RHFIRST:n.firstHeaderRightImage=r;break;case g.LFFIRST:n.firstFooterLeftImage=r;break;case g.CFFIRST:n.firstFooterCenterImage=r;break;case g.RFFIRST:n.firstFooterRightImage=r;break;case g.LHFIRST:n.firstHeaderLeftImage=r;break;case g.CH:n.headerCenterImage=r;break;case g.RH:n.headerRightImage=r;break;case g.LF:n.footerLeftImage=r;break;case g.CF:n.footerCenterImage=r;break;case g.RF:n.footerRightImage=r;break;case g.LH:default:n.headerLeftImage=r}}t.readHeaderFooterImage=A;function k(e,t,r){var i,o,s,c,u;e&&t.jn&&(i=e[t.jn],i&&i.fileType===n.RelationshipConstants.ab&&(o=T(i.relationFiles),s=r(i.fileName),c=a.parseXmlToObject(s).xml,u=d(c["v:shape"]),u.forEach(function(e){var i,n=e._attr.id,a=e["v:imagedata"]._attr["o:relid"],s=o[a];s&&(i=l.getImageContent(s,r),i&&A(t,g[n],i))})),t.jn="")}t.readVmlDrawing=k},"./src/xlsx-io/reader/sharedstring-reader.ts":function(e,t,r){"use strict";var i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-reader.ts"),n=r("./src/xlsx-io/reader/style-reader.ts"),a=r("./src/common/common.ts");function o(e){var t,r,o,l,s,c,u,d,f=new i.XmlReader;for(f.setXml(e),t=[];f.read();)if(1===f.depth&&2!==f.elementType&&"si"===f.name()){for(r=f.depth,o="",l=[];f.read()&&!(f.depth<=r);)if(1===f.nodeType())if(s=f.name(),"t"===s&&1===f.elementType&&f.depth===r+1){for(c=void 0;f.moveToNextAttribute();)if("xml:space"===f.readAttributeNameAsString()&&"preserve"===f.readContentAsString()){c=!0;break}o=a.Util.wa(f.readElementContentAsString(c))}else if("r"===s){for(u=f.depth,d={};f.read()&&!(f.depth<=u);)1===f.elementType&&"t"===f.name()?(d.text=a.Util.pa(a.Util.wa(f.readElementContentAsString(!0))),o+=d.text):1===f.elementType&&"rPr"===f.name()&&(d.style=n.readRichTextFont(f));l.push(d)}0===l.length&&(l=void 0),t.push({value:a.Util.pa(o),richText:l})}return t}t.readSharedString=o},"./src/xlsx-io/reader/slicer-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts"),n=r("./src/xml-io/node-helper.ts"),a=r("./src/xml-io/xml-parser.ts"),o=r("./src/common/common.ts"),l=n.XmlNodeHelper.He,s=r("./src/datamodel/excel-style.ts"),c=s.UnitHelper.emuToPixles,u=n.XmlNodeHelper.dn,d=o.Util.pa,f=o.Util.ua,p=r("./src/datamodel/excel-helper.ts"),h=r("./src/datamodel/datamodel-reader.ts"),m={selectedItemWithData:"selectedItemWithDataStyle",selectedItemWithNoData:"selectedItemWithNoDataStyle",unselectedItemWithData:"unSelectedItemWithDataStyle",unselectedItemWithNoData:"unSelectedItemWithNoDataStyle",hoveredSelectedItemWithData:"hoveredSelectedItemWithDataStyle",hoveredSelectedItemWithNoData:"hoveredSelectedItemWithNoDataStyle",hoveredUnselectedItemWithData:"hoveredUnSelectedItemWithDataStyle",hoveredUnselectedItemWithNoData:"hoveredUnSelectedItemWithNoDataStyle",wholeTable:"wholeSlicerStyle",headerRow:"headerStyle"},g={9:1,1:1,3:1,4:1,7:1,11:1,2:2,10:2,12:2,8:2,13:2,5:3,6:3},b={0:"empty",1:"thin",2:"medium",3:"dashed",4:"dotted",5:"thick",6:"double",7:"hair",8:"mediumDashed",9:"dashDot",10:"mediumDashDot",11:"dashDotDot",12:"mediumDashDotDot",13:"slantedDashDot"};function w(e){if(e){var t={};return e.style&&(t.borderWidth=g[e.style]||1,t.borderStyle=b[e.style]||"thin"),e.color&&(t.borderColor=e.color),t}}function C(e){var t,r;if(e){for(t in e)e.hasOwnProperty(t)&&t.indexOf("border")>=0&&(r=e[t],r?e[t]=w(r):null===r&&(e[t]=void 0));return e}}t.getConvertedSlicerStyle=C;function S(e,t,r,n,a){var o,l,s,c,u,d,f,p,h;if(e){o=[],l=[];for(s in e)"count"!==s&&(c=e[s],c&&(u=c.fileType,u===i.RelationshipConstants.jb?o.push(c):u!==i.RelationshipConstants.eb&&u!==i.RelationshipConstants.fb||l.push(c)));d=R(a),f=D(a),o.length&&(p=v(o,n),h=r.Ne.sheets[t],k(p,f,n,r),P(p,l,n,h),E(p,d,n,r),r.Pg(p,t))}}t.readSlicers=S;function y(e,t){var r,i=a.parseXmlToObject(e),s=i.slicers;s&&(r=l(s.slicer),o.isNullOrUndefined(r)||r.forEach(function(e){var r={},i=e._attr;o.isNullOrUndefined(i)||(o.isNullOrUndefined(i.name)||(r.name=d(f(i.name,"_x000a_","\n"))),o.isNullOrUndefined(i.cache)||(r.nameInFormula=d(i.cache)),o.isNullOrUndefined(i.caption)||(r.captionName=d(i.caption)),o.isNullOrUndefined(i.columnCount)||(r.columnCount=n.XmlNodeHelper.Xm(i.columnCount,1)),o.isNullOrUndefined(i.showCaption)||(r.showHeader="0"!==i.showCaption),r.style={name:i.style},o.isNullOrUndefined(i.lockedPosition)||(r.disableResizingAndMoving="1"===i.lockedPosition),o.isNullOrUndefined(i.rowHeight)||(r.itemHeight=Math.max(c(parseInt(i.rowHeight,10))-4,0))),t.push(r)}))}function v(e,t){var r=[];return e.forEach(function(e){var i=t(e.fileName);i&&y(i,r)}),r}t.readSlicersFromFile=v;function x(e,t){var r,i,n,a,o,s,c,u,f,p,h,m=e.data;if(m&&m.tabular&&m.tabular.items){switch(r=m.tabular._attr&&+m.tabular._attr.pivotCacheId,i=m.tabular._attr&&m.tabular._attr.sortState,n=m.tabular._attr&&m.tabular._attr.crossFilter,a=!0,o=!0,s=!0,n){case"none":o=!1;break;case"showItemsWithNoData":s=!1}c=m.tabular.items.i.map(function(e){var t=e._attr;return{x:+t.x,s:"1"===t.s,nd:"1"===t.nd}}),u=e.pivotTables,f=[],u&&(p=u.pivotTable,Array.isArray(p)||(p=[p]),p.forEach(function(e){f.push({tabId:e._attr.tabId,name:d(e._attr.name)})})),e.extLst&&(h=l(e.extLst["x:ext"]),h.forEach(function(e){var t,r=e._attr,i=r.uri;"{470722E0-AACD-4C17-9CDC-17EF765DBC7E}"===i&&(t=l(e["x15:slicerCacheHideItemsWithNoData"]),t&&t.length>0&&(a=!1))})),t.pivotSlicerCachesBeenRead||(t.Ne.slicerCaches||(t.Ne.slicerCaches=[]),t.Ne.slicerCaches.push({pivotCacheId:r,sourceName:d(e._attr.sourceName),name:d(e._attr.name),pivotTables:f,items:c,sortOrder:"descending"===i?2:1,showNoDataItems:a,showNoDataItemsInLast:s,visuallyNoDataItems:o}))}}function T(e,t,r){var i,a,o,s,c,u,f,p,m;if(!e.data&&(i=e.extLst,u=!0,f=!0,p=!0,i)){switch(m=l(i["x:ext"]),m.forEach(function(e){var t,r,i=e._attr,d=i.uri;"{2F2917AC-EB37-4324-AD4E-5DD8C200BD13}"===d?(t=l(e["x15:tableSlicerCache"]),t.forEach(function(e){var t=e._attr;a=n.XmlNodeHelper.Xm(t.tableId,0),o=n.XmlNodeHelper.Xm(t.column,0),s=t.sortOrder,c=t.crossFilter})):"{470722E0-AACD-4C17-9CDC-17EF765DBC7E}"===d&&(r=l(e["x15:slicerCacheHideItemsWithNoData"]),r&&r.length>0&&(u=!1))}),c){case"none":f=!1;break;case"showItemsWithNoData":p=!1}t.tableSlicerCachesBeenRead||(t.Ne.tableSlicerCaches||(t.Ne.tableSlicerCaches=[]),t.Ne.tableSlicerCaches.push({name:d(e._attr.name),sourceName:d(e._attr.sourceName),tableName:d(h.getTableName(a,r)),columnName:d(h.getTableColumnName(a,o,r)),sortOrder:"descending"===s?2:1,showNoDataItems:u,showNoDataItemsInLast:p,visuallyNoDataItems:f}))}}function A(e,t,r,i){var n,o,l,s,c=a.parseXmlToObject(t),u=c.slicerCacheDefinition;if(u){if(n=u._attr,o=n.name,l=[],x(u,r),T(u,r,i),e.forEach(function(e){e.nameInFormula===o&&l.push(e)}),!l.length)return;s="",s=u.data&&u.data.tabular?"pivot":"table",l.forEach(function(e){e.slicerCacheName=d(o),e.type=s})}}function k(e,t,r,i){var n,a=[],o=i.Ne;for(n in o.sheets)o.sheets[n].tables&&(a=a.concat(o.sheets[n].tables));t.forEach(function(t){var n=r(t.fileName,!0);n&&A(e,n,i,a)}),i.pivotSlicerCachesBeenRead=!0,i.tableSlicerCachesBeenRead=!0}function E(e,t,r,i){var n,s,c,u,d,f,p,h,g=r(t.fileName,!0);g&&(n=a.parseXmlToObject(g),s=n.styleSheet,c={},u=i.kn,o.isNullOrUndefined(u)||(d=l(u["x14:slicerStyle"]),d.forEach(function(e){var t=e._attr,r=t.name,n={name:r},a=l(e["x14:slicerStyleElements"]);a.forEach(function(e){var t=l(e["x14:slicerStyleElement"]);t.forEach(function(e){var t,r=e._attr,a=r.type,l=r.dxfId,s=m[a];!o.isNullOrUndefined(l)&&s&&(t=i.qg(l),n[s]=C(t))})}),c[r]=n})),f=s.tableStyles,o.isNullOrUndefined(f)||(p=l(f.tableStyle),p.forEach(function(e){var t,r=e._attr,n=r.name,a=c[n];a&&(t=l(e.tableStyleElement),t.forEach(function(e){var t=e._attr,r=t.type,n=t.dxfId,l=i.ug(n),s=m[r];!o.isNullOrUndefined(n)&&s&&(a[s]=C(l))}))})),h=u._attr.defaultSlicerStyle,e.forEach(function(e){var t=e.style.name;t||(e.style.name=h,t=h),c[t]&&(e.style=c[t])}))}function I(e,t){var r=null;return e.forEach(function(e){e.name===t&&(r=e)}),r}function F(e,t,r){var i=a.parseXmlToObject(t,!0),n=i["xdr:wsDr"],s=L(l(n["xdr:twoCellAnchor"]));s.forEach(function(t){var i,n,a,l,s,c,h,m,g=t._attr,b=!0,w=!0,C=g.editAs;"absolute"===C?(b=!1,w=!1):"oneCell"===C&&(w=!1),i=!0,n=t.clientData,a=u(t["xdr:from"]),l=u(t["xdr:to"]),s=p.getBounds(r,a,l),n&&(c=n._attr.fLocksWithSheet,"0"===c&&(i=!1)),h=d(f(t.slicerName,"&#xA;","\n")),m=I(e,h),o.isNullOrUndefined(m)||(m.dynamicMove=b,m.dynamicSize=w,m.x=s.x,m.y=s.y,m.width=s.width,m.height=s.height,m.isLocked=i,m.endPoint=l)})}function P(e,t,r,i){t.forEach(function(t){var n=r(t.fileName,!0);n&&F(e,n,i)})}function D(e){var t,r,n,a=e.relationFiles,o=[];for(t in a)"count"!==t&&(r=a[t],r&&(n=r.fileType,n===i.RelationshipConstants.kb&&o.push(r)));return o}function R(e){var t=e.Ee(i.RelationshipConstants.Pa);if(t||(t=e.Ee(i.RelationshipConstants.Qa)),t)return t}function L(e){var t=["mc:AlternateContent","mc:Choice","xdr:graphicFrame","a:graphic","a:graphicData"],r=[];return e.forEach(function(e){var i,n,a,o,s,c=e;for(n=0;n<t.length;n++)i=!1,c&&c[t[n]]&&(i=!0,c=c[t[n]]);i&&(a=c,o=a._attr.uri,"http://schemas.microsoft.com/office/drawing/2010/slicer"===o&&(s=l(a["sle:slicer"]),s.forEach(function(t){var i=t._attr,n=i.name;e.slicerName=n,r.push(e)})))}),r}},"./src/xlsx-io/reader/sparkline-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/node-helper.ts"),n=r("./src/xml-io/xml-parser.ts"),a=r("./src/xlsx-io/common/color-reader.ts"),o=r("./src/common/common.ts"),l=r("./src/common/range-parser.ts"),s=r("./src/datamodel/excel-style.ts"),c=i.XmlNodeHelper.He,u=o.Util.pa;function h(e,t,r){var i,a,o;if(3!==e.elementType){for(i=[],a=e.depth;e.read()&&!(e.depth<=a);)1===e.nodeType()&&"x14:sparklineGroup"===e.name()&&(o=m(n.parseXmlToObject(e.readFullElement(),!0)[e.name()],t),o.sparklines&&o.sparklines.length>0&&i.push(o));r.Jg(i,t)}}t.readSparklineGroups=h,d={span:2,gap:0,zero:1},f={line:0,column:1,stacked:2},p={individual:0,group:1,custom:2};function m(e,t){var r,n,s,c,u;if(!o.isNullOrUndefined(e))return r={setting:{}},r.sparklineType=0,n=e._attr,o.isNullOrUndefined(n)||(o.isNullOrUndefined(n.manualMax)||(r.setting.manualMax=i.XmlNodeHelper.Wm(n.manualMax,0)),o.isNullOrUndefined(n.manualMin)||(r.setting.manualMin=i.XmlNodeHelper.Wm(n.manualMin,0)),o.isNullOrUndefined(n.lineWeight)||(r.setting.lineWeight=4*i.XmlNodeHelper.Wm(n.lineWeight,1)/3),o.isNullOrUndefined(n.type)||(r.sparklineType=f[n.type]||0),o.isNullOrUndefined(n.dateAxis)||(r.displayDateAxis=i.XmlNodeHelper.Vm(n.dateAxis,!1)),o.isNullOrUndefined(n.displayEmptyCellsAs)||(r.setting.displayEmptyCellsAs=d[n.displayEmptyCellsAs]||0),o.isNullOrUndefined(n.markers)||(r.setting.showMarkers=i.XmlNodeHelper.Vm(n.markers,!1)),o.isNullOrUndefined(n.high)||(r.setting.showHigh=i.XmlNodeHelper.Vm(n.high,!1)),o.isNullOrUndefined(n.low)||(r.setting.showLow=i.XmlNodeHelper.Vm(n.low,!1)),o.isNullOrUndefined(n.first)||(r.setting.showFirst=i.XmlNodeHelper.Vm(n.first,!1)),o.isNullOrUndefined(n.last)||(r.setting.showLast=i.XmlNodeHelper.Vm(n.last,!1)),o.isNullOrUndefined(n.negative)||(r.setting.showNegative=i.XmlNodeHelper.Vm(n.negative,!1)),o.isNullOrUndefined(n.displayXAxis)||(r.setting.displayXAxis=i.XmlNodeHelper.Vm(n.displayXAxis,!1)),o.isNullOrUndefined(n.displayHidden)||(r.setting.displayHidden=i.XmlNodeHelper.Vm(n.displayHidden,!1)),o.isNullOrUndefined(n.rightToLeft)||(r.setting.rightToLeft=i.XmlNodeHelper.Vm(n.rightToLeft,!1)),o.isNullOrUndefined(n.minAxisType)||(r.setting.minAxisType=p[n.minAxisType]||0),o.isNullOrUndefined(n.maxAxisType)||(r.setting.maxAxisType=p[n.maxAxisType]||0)),o.isNullOrUndefined(e["x14:colorSeries"])||(r.setting.seriesColor=b(a.readColor(e["x14:colorSeries"]))||"rgba(36,64,98,255)"),o.isNullOrUndefined(e["x14:colorNegative"])||(r.setting.negativeColor=b(a.readColor(e["x14:colorNegative"]))||"Brown"),o.isNullOrUndefined(e["x14:colorAxis"])||(r.setting.axisColor=b(a.readColor(e["x14:colorAxis"]))||"Black"),o.isNullOrUndefined(e["x14:colorMarkers"])||(r.setting.markersColor=b(a.readColor(e["x14:colorMarkers"]))||"rgba(36,64,98,255)"),o.isNullOrUndefined(e["x14:colorFirst"])||(r.setting.firstMarkerColor=b(a.readColor(e["x14:colorFirst"]))||"rgba(149,179,215,255)"),o.isNullOrUndefined(e["x14:colorLast"])||(r.setting.lastMarkerColor=b(a.readColor(e["x14:colorLast"]))||"rgba(149,179,215,255)"),o.isNullOrUndefined(e["x14:colorHigh"])||(r.setting.highMarkerColor=b(a.readColor(e["x14:colorHigh"]))||"Blue"),o.isNullOrUndefined(e["x14:colorLow"])||(r.setting.lowMarkerColor=b(a.readColor(e["x14:colorLow"]))||"Blue"),o.isNullOrUndefined(e["xm:f"])||(s=e["xm:f"],c=s["xm:f"].split("!"),1===c.length?r.axisReference=c[0]:r.axisReference=l.getRangesFromString(c[1])[0]||null,c[0]!==t&&1!==c.length&&(r.axisReference.sheetName=c[0])),o.isNullOrUndefined(e["x14:sparklines"])||(r.sparklines=g(e["x14:sparklines"],t)),u=r.axisReference,r.displayDateAxis&&u&&(r.axisOrientation=1===u.rowCount?1:0),r}function g(e,t){var r=[],i=e&&e["x14:sparkline"],n=c(i);return n.forEach(function(e){var i,n,a,s,c,d,f;o.isNullOrUndefined(e["xm:f"])||(c=e["xm:f"],a=u(c["xm:f"]).split("!"),1===a.length?s=a[0]:i=l.getRangesFromString(a[1])[0]||null),o.isNullOrUndefined(e["xm:sqref"])||(d=e["xm:sqref"],n=l.getRangesFromString(d["xm:sqref"])[0]||null),o.isNullOrUndefined(i)||o.isNullOrUndefined(n)?o.isNullOrUndefined(s)||o.isNullOrUndefined(n)||(f={},f.row=n.row,f.col=n.col,f.data=s,r.push(f)):(f={},f.row=n.row,f.col=n.col,f.orientation=1===i.rowCount?1:0,f.data=i,a&&a[0]!==t&&(f.data.sheetName=a[0]),r.push(f))}),r}function b(e){var t;return t=e.isThemeColor()?s.ColorHelper.getThemeColorName(e):s.ColorHelper.toRGBColor(e)}},"./src/xlsx-io/reader/style-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-reader.ts"),a=r("./src/datamodel/excel-style.ts"),o=r("./src/datamodel/excel-style.ts"),l=r("./src/xlsx-io/common/color-reader.ts"),s=r("./src/xml-io/xml-parser.ts"),c=void 0;function u(e,t){var r,i,a,o,l,s,c,u,f,h,m,g=new n.XmlReader;for(g.setXml(e),r=[],i=[],a={},o=[],l=[],s=[];g.read();)if(1===g.depth&&2!==g.elementType)switch(g.name()){case"numFmts":d(g,a);break;case"fonts":c=t.gf,u=t.ff,p(g,i,c,u);break;case"fills":b(g,o);break;case"borders":C(g,l);break;case"cellStyleXfs":v(g,r,i,l,a,o,!0);break;case"cellXfs":v(g,s,i,l,a,o,!1);break;case"cellStyles":k(g,t,r);break;case"colors":E(g,t);break;case"dxfs":D(g,t);break;case"tableStyles":_(g,t);break;case"extLst":I(g,t)}if(t.gn=a,f=r.length,f>0){for(t.tf(r[0]),h=0,m=f;h<m;h++)t.uf(r[h],h);for(h=0,m=s.length;h<m;h++)t.uf(s[h],h)}else t.Ke={foreColor:"Text 1 0",themeFont:"Body",font:"normal normal 14.7px Calibri",locked:!0,textIndent:0,wordWrap:!1,vAlign:2,hAlign:3};return f}t.readStyle=u;function d(e,t){var r,i;if(3!==e.elementType)for(r=e.depth;e.read();){if(e.depth<=r)return;1===e.nodeType()&&"numFmt"===e.name()&&(i=f(e),i&&i.numberFormatId>0&&(t[i.numberFormatId]=i))}}t.readNumberFormats=d;function f(e){for(var t,r=-1,n="",a="";e.moveToNextAttribute();)t=e.readAttributeNameAsString(),"numFmtId"===t?r=e.readContentAsInt(-1):"formatCode"===t?n=e.readContentAsString():t.indexOf("formatCode16")>-1&&(a=e.readContentAsString(),a.indexOf("[$-ja-JP-x-gannen]")>-1&&(n=a));return n=i.Util.pa(i.Util.ua(n,"_x000a_","\n")),new o.ExcelNumerFormat(r,n)}function p(e,t,r,i){if(3!==e.elementType)for(var n=e.depth;e.read();){if(e.depth<=n)return;1===e.nodeType()&&"font"===e.name()&&t.push(h(e,!1,r,i))}}t.readFonts=p;function h(e,t,r,n){var s,c,u,d,f,p,h,g,b,w;if(3!==e.elementType){for(s=new o.ExcelFont,t&&(s.fontColor=void 0,s.underLineStyle=void 0),c=e.depth;e.read()&&!(e.depth<=c);)if(1===e.nodeType())switch(e.name()){case"b":for(s.isBold=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.isBold=e.readContentAsBoolean(-1));break;case"charset":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.charSetIndex=e.readContentAsInt(-1));break;case"family":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.fontFamily=e.readContentAsInt(0));break;case"name":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u=e.readContentAsString(),u.indexOf(" ")>=0&&(u="'"+u+"'"),s.fontName=u);break;case"scheme":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d=e.readContentAsString(),i.StringEx.O(d)||void 0===a.FontSchemeCategory[d.toLocaleLowerCase()]||(s.fontScheme=a.FontSchemeCategory[d.toLocaleLowerCase()]));break;case"u":for(f=1;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(p=e.readContentAsString(),i.StringEx.O(p)||void 0===o.UnderLineStyle[p]||(f=o.UnderLineStyle[p]));s.underLineStyle=f;break;case"i":for(s.isItalic=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.isItalic=e.readContentAsBoolean(-1));break;case"outline":for(s.isOutlineStyle=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.isOutlineStyle=e.readContentAsBoolean(-1));break;case"shadow":for(s.isShadowStyle=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.isShadowStyle=e.readContentAsBoolean(-1));break;case"strike":for(s.isStrikeOut=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.isStrikeOut=e.readContentAsBoolean(-1));break;case"sz":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.fontSize=e.readContentAsDouble(0));break;case"vertAlign":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(h=e.readContentAsString(),h&&void 0!==o.VertAlign[h.toLocaleLowerCase()]&&(s.vertAlign=o.VertAlign[h.toLocaleLowerCase()]));break;case"color":g=l.readColor(e),g!==a.ExcelColor.EmptyColor?s.fontColor=g:t&&(s.fontColor=null)}return b=s.fontScheme,(1===b&&r||2===b&&n)&&(w=m(b,r,n),s.fontName=w),s}}function m(e,t,r){var i;return 1===e?i=r:2===e&&(i=t),i}function g(e){for(var t,r,n,s,c,u,d=new o.ExcelFont,f=e.depth;e.read()&&!(e.depth<=f);)if(1===e.nodeType())switch(e.name()){case"b":for(d.isBold=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d.isBold=e.readContentAsBoolean(-1));break;case"charset":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d.charSetIndex=e.readContentAsInt(-1));break;case"color":t=l.readColor(e),t!==a.ExcelColor.EmptyColor&&(d.fontColor=t);break;case"condense":for(d.isCondense=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d.isCondense=e.readContentAsBoolean(-1));break;case"extend":for(d.isExtend=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d.isExtend=e.readContentAsBoolean(-1));break;case"family":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d.fontFamily=e.readContentAsInt(0));break;case"i":for(d.isItalic=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d.isItalic=e.readContentAsBoolean(-1));break;case"outline":for(d.isOutlineStyle=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d.isOutlineStyle=e.readContentAsBoolean(-1));break;case"rFont":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(r=e.readContentAsString(),r.indexOf(" ")>=0&&(r="'"+r+"'"),d.fontName=r);break;case"scheme":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(n=e.readContentAsString(),i.StringEx.O(n)||void 0===a.FontSchemeCategory[n.toLocaleLowerCase()]||(d.fontScheme=a.FontSchemeCategory[n.toLocaleLowerCase()]));break;case"shadow":for(d.isShadowStyle=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d.isShadowStyle=e.readContentAsBoolean(-1));break;case"strike":for(d.isStrikeOut=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d.isStrikeOut=e.readContentAsBoolean(-1));break;case"sz":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d.fontSize=e.readContentAsDouble(0));break;case"u":for(s=1;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(c=e.readContentAsString(),i.StringEx.O(c)||void 0===o.UnderLineStyle[c]||(s=o.UnderLineStyle[c]));d.underLineStyle=s;break;case"vertAlign":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u=e.readContentAsString(),u&&void 0!==o.VertAlign[u.toLocaleLowerCase()]&&(d.vertAlign=o.VertAlign[u.toLocaleLowerCase()]))}return d}t.readRichTextFont=g;function b(e,t){if(3!==e.elementType)for(var r=e.depth;e.read();){if(e.depth<=r)return;1===e.nodeType()&&"fill"===e.name()&&(t.push(w(e)),0===t.length&&t.push({patternType:0,fgColor:a.ExcelColor.EmptyColor,bgColor:a.ExcelColor.EmptyColor}))}}t.readFills=b;function w(e){for(var t,r,i,n,a,s=new o.ExcelFill,c=e.depth;e.read()&&!(e.depth<=c);)if(1===e.nodeType()&&"patternFill"===e.name()){for(;e.moveToNextAttribute();)"patternType"===e.readAttributeNameAsString()&&(t=e.readContentAsString(),t&&void 0!==o.FillPatternType[t]&&(s.patternType=o.FillPatternType[t]));if(3===e.elementType)break;for(r=e.depth;e.read()&&!(e.depth<=r);)1===e.nodeType()&&("fgColor"===e.name()?s.fgColor=l.readColor(e):"bgColor"===e.name()&&(s.bgColor=l.readColor(e)))}else if(1===e.nodeType()&&"gradientFill"===e.name()){for(s.stops=[];e.moveToNextAttribute();)i=e.readAttributeNameAsString(),"type"===i?s[i]=e.readContentAsString():"degree"===i?s[i]=e.readContentAsInt():s[i]=e.readContentAsDouble();if(3===e.elementType)break;for(r=e.depth;e.read()&&!(e.depth<=r);)if("stop"===e.name()){for(n={},e.moveToNextAttribute()&&"position"===e.readAttributeNameAsString()&&(n.position=e.readContentAsDouble()),a=e.depth;e.read()&&!(e.depth<=a);)n.color=l.readColor(e);s.stops.push(n)}}return s}function C(e,t){if(3!==e.elementType)for(var r=e.depth;e.read();){if(e.depth<=r)return;1===e.nodeType()&&"border"===e.name()&&t.push(S(e))}}t.readBorders=C;function S(e){for(var t,r,i=e.depth,n=new o.ExcelBorder,a=!1,l=!1;e.moveToNextAttribute();)t=e.readAttributeNameAsString(),"diagonalUp"===t?a=!0:"diagonalDown"===t&&(l=!0);if(3===e.elementType&&!a&&!l)return n;for(n.top=void 0,n.right=void 0,n.bottom=void 0,n.left=void 0;e.read()&&!(e.depth<=i);)if(1===e.nodeType())switch(e.name()){case"top":n.top=y(e);break;case"right":case"end":n.right=y(e);break;case"bottom":n.bottom=y(e);break;case"left":case"start":n.left=y(e);break;case"vertical":n.vertical=y(e);break;case"horizontal":n.horizontal=y(e);break;case"diagonal":r=y(e),a&&(n.diagonalUp=r),l&&(n.diagonalDown=r)}return n}function y(e){var t,r,i=new o.ExcelBorderSide;for(i.lineStyle=0;e.moveToNextAttribute();)"style"===e.readAttributeNameAsString()&&(t=e.readContentAsString(),t&&void 0!==o.ExcelBorderStyle[t]&&(i.lineStyle=o.ExcelBorderStyle[t]));if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);)1===e.nodeType()&&"color"===e.name()&&(i.color=l.readColor(e));return i}function v(e,t,r,i,n,a,l){var s,c,u;if(3!==e.elementType)for(s=e.depth;e.read();){if(e.depth<=s)return;if(1===e.nodeType()&&"xf"===e.name()){if(c=new o.ExtendedFormat,c.isStyleFormat=l,x(e,c,r,i,n,a),t.push(c),3===e.elementType)continue;for(u=e.depth;e.read()&&!(e.depth<=u);)1===e.nodeType()&&("alignment"===e.name()?T(e,c):"protection"===e.name()&&A(e,c))}}}t.readXFs=v;function x(e,t,r,i,n,a){for(var o,l,s,c,u,d,f,p,h,m=0,g=0,b=0,w=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"numFmtId":m=e.readContentAsInt(0);break;case"fontId":g=e.readContentAsInt(0);break;case"fillId":b=e.readContentAsInt(0);break;case"borderId":w=e.readContentAsInt(0);break;case"applyAlignment":o=e.readContentAsInt(-1),0!==o&&1!==o||(t.applyAlignment=1===o);break;case"applyBorder":l=e.readContentAsInt(-1),0!==l&&1!==l||(t.applyBorder=1===l);break;case"applyFill":s=e.readContentAsInt(-1),0!==s&&1!==s||(t.applyFill=1===s);break;case"applyFont":c=e.readContentAsInt(-1),0!==c&&1!==c||(t.applyFont=1===c);break;case"applyProtection":u=e.readContentAsInt(-1),0!==u&&1!==u||(t.applyProtection=1===u);break;case"applyNumberFormat":d=e.readContentAsInt(-1),0!==d&&1!==d||(t.applyNumberFormat=1===d);break;case"xfId":f=e.readContentAsInt(-1),f>=0&&(t.parentFormatID=f);break;case"quotePrefix":p=e.readContentAsBoolean(),t.quotePrefix=p}t.font=r[g],t.border=i[w],n[m]?t.numberFormat=n[m]:t.numberFormatIndex=m,h=a[b],h&&(t.fill=h),t.isLocked=!0,t.isHidden=!1,t.horizontalAlign=0,t.verticalAlign=2}function T(e,t,r){for(var n,l,s,u=null,d=null,f=!!r&&c,p=!!r&&c,h=!!r&&c;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"horizontal":u=e.readContentAsString();break;case"vertical":d=e.readContentAsString();break;case"textRotation":n=e.readContentAsString(),i.StringEx.O(n)||(t.rotation=parseInt(n,10));break;case"readingOrder":l=e.readContentAsString(),i.StringEx.O(l)||(t.readingOrder=parseInt(l,10));break;case"indent":s=e.readContentAsString(),i.StringEx.O(s)||(t.indent=parseInt(s,10));break;case"justifyLastLine":f=e.readContentAsBoolean(!1);break;case"shrinkToFit":p=e.readContentAsBoolean(!1);break;case"wrapText":h=e.readContentAsBoolean(!1)}t.isJustfyLastLine=f,t.isShrinkToFit=p,t.isWordWrap=h,i.StringEx.O(u)&&!r&&(u="general"),i.StringEx.O(d)&&!r&&(d="bottom"),u&&(t.horizontalAlign=o.ExcelHorizontalAlignment[u]),d&&(t.verticalAlign=a.ExcelVerticalAlignment[d])}function A(e,t){for(var r,n;e.moveToNextAttribute();)r=e.readAttributeNameAsString(),"hidden"===r?t.isHidden=e.readContentAsBoolean(!1):"locked"===r&&(n=e.readContentAsString(),i.StringEx.L(n)||"0"!==n&&"false"!==n||(t.isLocked=!1))}function k(e,t,r){var n,a,l,s,c,u,d,f,p;if(3!==e.elementType)for(n=e.depth;e.read();){if(e.depth<=n)return;if(1===e.nodeType()&&"cellStyle"===e.name()){for(a=void 0,l=0,s=-1,c=!1,u=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":a=i.Util.pa(e.readContentAsString());break;case"xfId":l=e.readContentAsInt(0);break;case"builtinId":s=e.readContentAsInt(-1);break;case"customBuiltin":c=e.readContentAsBoolean(!1);break;case"iLevel":u=e.readContentAsInt(0)}d=r[l],s!==-1?(f=new o.ExcelStyle,f.name=a,f.format(d.clone()),f.isCustomBuiltin=c,f.builtInStyle=s,2!==f.builtInStyle&&1!==f.builtInStyle||(f.outLineLevel=u),t.xf(f,l)):(p=new o.CustomExcelStyle,p.name=a,p.format(d.clone()),t.xf(p,l))}}}function E(e,t){var r,i,n,a;if(3!==e.elementType)for(r=e.depth,i=[];e.read();){if(e.depth<=r)return;if(1===e.nodeType()&&"indexedColors"===e.name())for(n=e.depth;e.read();){if(e.depth<=n)return void t.kg(i);if(1===e.nodeType()){for(a=0;e.moveToNextAttribute();)"rgb"===e.readAttributeNameAsString()&&(a=parseInt(e.readContentAsString(),16));i.push((16777215&a)+4278190080)}}}}function I(e,t){var r,n,a=null,o=null,l=null,c=null;if(3!==e.elementType){for(;e.read();)if(1===e.nodeType()&&"ext"===e.name())for(;e.moveToNextAttribute();)if("uri"===e.readAttributeNameAsString())switch(r=e.readContentAsString()){case"{46F421CA-312F-682f-3DD2-61675219B42D}":a=F(e);break;case"{A0A4C193-F2C1-4fcb-8827-314CF55A85BB}":o=P(e);break;case"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}":n=s.parseXmlToObject(e.readFullElement(),!0).ext,i.isNullOrUndefined(n)||(l=n["x14:slicerStyles"]);break;case"{9260A510-F301-46a8-8635-F512D64BE5F5}":n=s.parseXmlToObject(e.readFullElement(),!0).ext,i.isNullOrUndefined(n)||(c=n["x15:timelineStyles"])}t.rg=a,t.tg=o,t.kn=l,t.mn=c}}function F(e){var t,r=[];if(3!==e.elementType){for(t=e.depth;e.read()&&!(e.depth<=t);)1===e.nodeType()&&"x14:dxfs"===e.name()&&(r=R(e));return r}}function P(e){var t,r=[];if(3!==e.elementType){for(t=e.depth;e.read()&&!(e.depth<=t);)1===e.nodeType()&&"x15:dxfs"===e.name()&&(r=R(e));return r}}function D(e,t){var r=R(e);t.hf=r}function R(e){var t,r;if(3!==e.elementType){for(t=e.depth,r=[];e.read()&&!(e.depth<=t);)1===e.nodeType()&&"dxf"===e.name()&&r.push(L(e));return r}}t.readDifferentialFormattingRecords=R;function L(e){var t,r,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&!(e.depth<=t);)if(1===e.nodeType())switch(e.name()){case"font":n.font=h(e,!0);break;case"border":n.border=S(e);break;case"fill":n.fill=w(e);break;case"numFmt":n.numberFormat=f(e);break;case"alignment":r={},T(e,r,!0),n.alignment=r;break;case"protection":i={},A(e,i),n.protection=i}return n}t.readDifferentialFormattingRecord=L;function _(e,t){3!==e.elementType&&(t.tableStylesObj=s.parseXmlToObject(e.readFullElement()).tableStyles)}},"./src/xlsx-io/reader/table-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts"),n=r("./src/common/common.ts"),a=r("./src/xml-io/xml-parser.ts"),o=r("./src/xml-io/node-helper.ts"),l=r("./src/common/range-parser.ts"),s=r("./src/xlsx-io/reader/autofilter-reader.ts"),c=o.XmlNodeHelper.He,u=o.XmlNodeHelper.Ym;function p(e,t,r){return n.Util.pa(u(e,t,r))}d={wholeTable:"wholeTableStyle",headerRow:"headerRowStyle",totalRow:"footerRowStyle",firstColumn:"highlightFirstColumnStyle",lastColumn:"highlightLastColumnStyle",firstRowStripe:"firstRowStripStyle",secondRowStripe:"secondRowStripStyle",firstColumnStripe:"firstColumnStripStyle",secondColumnStripe:"secondColumnStripStyle",firstHeaderCell:"firstHeaderCellStyle",lastHeaderCell:"lastHeaderCellStyle",firstTotalCell:"firstFooterCellStyle",lastTotalCell:"lastFooterCellStyle"};function h(){var e,t={};for(e=1;e<=28;e++)e<=21&&(t["TABLESTYLELIGHT"+e]=!0),e<=11&&(t["TABLESTYLEDARK"+e]=!0),t["TABLESTYLEMEDIUM"+e]=!0;return t}f=h();function m(e,t,r,a){var o,l,s,c,u,d;if(e){o=void 0,l=[];for(s in e)"count"!==s&&(c=e[s],c&&(u=c.fileType,u===i.RelationshipConstants.$a&&(o=c),o&&(d=g(o,a,r,t),n.isNullOrUndefined(d)||l.push(d))));r.Kg(l,t)}}t.readTables=m;function g(e,t,r,i){var n=t(e.fileName);if(n)return b(n,r,i)}t.readTablesFromFile=g;function b(e,t,r){var i,c,u,d,f,p,h,m,g,b,S=a.parseXmlToObject(e),y={},v=S&&S.table&&S.table._attr;if(!n.isNullOrUndefined(v)){if(y.id=o.XmlNodeHelper.Xm(v.id,0),y.name=v.name,i=v.ref,n.isNullOrUndefined(i)||(c=l.getRangesFromString(i,!0)[0],y.row=c.row,y.col=c.col,y.rowCount=c.rowCount,y.colCount=c.colCount),u=o.XmlNodeHelper.Xm(v.headerRowCount,1),u>=1?y.showHeader=!0:y.showHeader=!1,y.showFooter=o.XmlNodeHelper.Vm(v.totalsRowShown,!0),d=o.XmlNodeHelper.Xm(v.totalsRowCount,-1),
37
+ d<1?y.showFooter=!1:y.showFooter=!0,f=S&&S.table,p=void 0,h=void 0,!n.isNullOrUndefined(f))for(m in f)if(f.hasOwnProperty(m)&&!n.isNullOrUndefined(f[m]))switch(m){case"autoFilter":p=s.readAutoFilter(f[m]);break;case"sortState":h=s.readSortInfo(f[m]);break;case"tableColumns":y.columns=w(f[m]);break;case"tableStyleInfo":C(f[m],y,t);break;case"extLst":y.reservedElement=f[m]}for(g=p||{},y.rowFilter=t.Mg(g,r)||{},y.rowFilter.sortInfo=h,y.rowFilter.showFilterButton=!0,y.rowFilter.filterButtonVisibleInfo={},b=0;b<y.colCount;b++)y.rowFilter.filterButtonVisibleInfo[b]=!0;if(!y.rowFilter.range){if(!y.rowFilter.sortInfo)for(y.rowFilter.showFilterButton=!1,y.rowFilter.filterButtonVisibleInfo={},b=0;b<y.colCount;b++)y.rowFilter.filterButtonVisibleInfo[b]=!1;y.rowFilter.range={row:y.row+1,col:y.col,rowCount:y.rowCount-1,colCount:y.colCount},y.showFooter&&y.rowFilter.range.rowCount--}if(g.filterColumns&&g.filterColumns.length>0&&g.filterColumns[0].hiddenButton||y.rowFilter.showFilterButton===!1)for(y.rowFilter.showFilterButton=!1,y.rowFilter.filterButtonVisibleInfo={},b=0;b<y.colCount;b++)y.rowFilter.filterButtonVisibleInfo[b]=!1;y.showHeader===!1&&(y.rowFilter.showFilterButton=!1)}return y}function w(e){var t=[],r=c(e.tableColumn);return n.isNullOrUndefined(r)||r.forEach(function(e){var r,i,a,l={};l.footerFormula=null,l.footerValue=null,r=e._attr,n.isNullOrUndefined(r)||(n.isNullOrUndefined(r.id)||(l.id=o.XmlNodeHelper.Xm(r.id,0)),n.isNullOrUndefined(r.name)||(i=n.Util.ua(r.name,"_x000d__x000a_","\n"),l.name=n.Util.pa(n.Util.ua(i,"_x000a_","\n"))),n.isNullOrUndefined(r.totalsRowLabel)||(l.footerValue=n.Util.pa(r.totalsRowLabel)),n.isNullOrUndefined(r.totalsRowFunction)||("custom"===r.totalsRowFunction?l.footerFormula=p(e,"totalsRowFormula"):l.footerFormula=r.totalsRowFunction)),a=e.calculatedColumnFormula,n.isNullOrUndefined(a)||(l.dataAreaFormula=n.Util.pa(n.processFunction(a.calculatedColumnFormula))),t.push(l)}),t}function C(e,t,r){var i={},a=e._attr;n.isNullOrUndefined(a)||(n.isNullOrUndefined(a.name)||S(t,i,r,a.name),n.isNullOrUndefined(a.showFirstColumn)||(t.highlightFirstColumn=o.XmlNodeHelper.Vm(a.showFirstColumn,!1)),n.isNullOrUndefined(a.showLastColumn)||(t.highlightLastColumn=o.XmlNodeHelper.Vm(a.showLastColumn,!1)),n.isNullOrUndefined(a.showRowStripes)||(t.bandRows=o.XmlNodeHelper.Vm(a.showRowStripes,!1)),n.isNullOrUndefined(a.showColumnStripes)||(t.bandColumns=o.XmlNodeHelper.Vm(a.showColumnStripes,!1)))}function S(e,t,r,i){var a,l,s,u,d,p,h,m=f[i.toUpperCase()];if(m)t.buildInName=v(i);else if(a=r.tableStylesObj,!n.isNullOrUndefined(a)&&(l=a._attr,!n.isNullOrUndefined(l))){if(s=o.XmlNodeHelper.Xm(l.count,0),u=void 0,s>0&&(d=c(a.tableStyle),!n.isNullOrUndefined(d)))for(p=0;p<d.length;p++)if(h=d[p]._attr.name,i===h){u=d[p];break}y(e,t,u,r)}e.style=t}function y(e,t,r,i){var n,a;r&&(n=r,a=n._attr,t.name=a.name,a.count&&a.count>0&&x(e,t,r,i))}function v(e){return e.substr(10)}function x(e,t,r,i){var a=c(r.tableStyleElement);n.isNullOrUndefined(a)||a.forEach(function(e){var r,a,l,s,c=e._attr;n.isNullOrUndefined(c)||(r=c.type||"wholeTable",a=o.XmlNodeHelper.Xm(c.dxfId)||0,l=o.XmlNodeHelper.Xm(c.size)||1,s=i.ug(a),t[d[r]]=s,"firstRowStripe"!==r&&"secondRowStripe"!==r&&"firstColumnStripe"!==r&&"secondColumnStripe"!==r||(t[r.substr(0,r.length-1)+"Size"]=l))}),e.style=t}},"./src/xlsx-io/reader/theme-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-parser.ts"),a=r("./src/common/excel-types.ts"),o=r("./src/datamodel/excel-style.ts"),l=r("./src/xml-io/xml-reader.ts"),s=r("./src/xlsx-io/reader/chart-reader.ts"),c=s.DrawingReader.ReadCT_OfficeStyleSheet,u="a:scrgbClr";function d(e,t){var r,i,o,s,u,d,h,m=n.parseXmlToObject(e,!0),g=m["a:theme"];g&&(r=g._attr.name,r&&"OFFICE"===r.toUpperCase().substring(0,6)&&(r="Office"),i=g["a:themeElements"],i&&(o=f(i),s=p(i),u=new a.ExcelTheme(r,o,s),t.rf(u)),d=new l.XmlReader,d.setXml(e),h=c(d),t.lf(h))}t.readTheme=d;function f(e){var t,r,i,n,o,l,s,c,u,d,f,p,h=[],g=e["a:clrScheme"];if(g)return t=m(g["a:lt1"]),t&&h.push(t),r=m(g["a:dk1"]),r&&h.push(r),i=m(g["a:lt2"]),i&&h.push(i),n=m(g["a:dk2"]),n&&h.push(n),o=m(g["a:accent1"]),o&&h.push(o),l=m(g["a:accent2"]),l&&h.push(l),s=m(g["a:accent3"]),s&&h.push(s),c=m(g["a:accent4"]),c&&h.push(c),u=m(g["a:accent5"]),u&&h.push(u),d=m(g["a:accent6"]),d&&h.push(d),f=m(g["a:hlink"]),f&&h.push(f),p=m(g["a:folHlink"]),p&&h.push(p),new a.ColorScheme(g._attr.name,h)}function p(e){var t,r,i=e["a:fontScheme"];return i?(t=h(i["a:majorFont"]),r=h(i["a:minorFont"]),new a.FontScheme(i._attr.name,t,r)):null}function h(e){var t,r,n,o,l=[],s=[];if(e)if(e["a:latin"])l.push(new a.RunFormatting(0,i.isNullOrUndefined(e["a:latin"]._attr.typeface)?"":e["a:latin"]._attr.typeface));else if(e["a:ea"])l.push(new a.RunFormatting(2,i.isNullOrUndefined(e["a:ea"]._attr.typeface)?"":e["a:ea"]._attr.typeface));else if(e["a:cs"])l.push(new a.RunFormatting(1,i.isNullOrUndefined(e["a:cs"]._attr.typeface)?"":e["a:cs"]._attr.typeface));else if(e["a:sym"])l.push(new a.RunFormatting(3,i.isNullOrUndefined(e["a:sym"]._attr.typeface)?"":e["a:sym"]._attr.typeface));else if(e["a:font"])for(t=e["a:font"],Array.isArray(t)||(t=[t]),r=0,n=t.length;r<n;r++)o=t[r],s.push(new a.ThemeFont(o._attr.script,o._attr.typeface));return new a.ThemeFonts(l,s)}t.readThemeFonts=h;function m(e){var t,r,n,a,l,s,c,d,f,p,h;if(e&&(e["a:sysClr"]?(r=e["a:sysClr"]._attr.val,n=o.ExcelSystemColor.getSystemColor(r),void 0!==n?t=n:(r=e["a:sysClr"]._attr.lastClr,i.StringEx.L(r)||(a=4278190080+(16777215&parseInt(r,16)),t=o.ColorHelper.fromArgb(a)))):e["a:srgbClr"]?(r=e["a:srgbClr"]._attr.val,i.StringEx.L(r)||(a=4278190080+(16777215&parseInt(r,16)),t=o.ColorHelper.fromArgb(a))):e[u]?(l=parseFloat(e[u].nn),s=parseFloat(e[u]._attr.g),c=parseFloat(e[u]._attr.b),t=new o.lk(255,o.ColorHelper.scRgbTosRgb(l),o.ColorHelper.scRgbTosRgb(s),o.ColorHelper.scRgbTosRgb(c))):e["a:hslClr"]?(d=parseFloat(e["a:hslClr"].pn),f=parseFloat(e["a:hslClr"]._attr.sat),p=parseFloat(e["a:hslClr"]._attr.lum),t=o.ColorHelper.convertHLSToRGB(d,p,f)):e["a:prstClr"]?(h=e["a:prstClr"]._attr.val,i.StringEx.O(h)||(t=o.ColorHelper.fromPresetColorVal(h))):e["a:schemeClr"],void 0!==t))return{a:t.a,r:t.r,g:t.g,b:t.b}}t.readThemeColor=m},"./src/xlsx-io/reader/timeline-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts"),n=r("./src/xml-io/node-helper.ts"),a=r("./src/xml-io/xml-parser.ts"),o=r("./src/common/common.ts"),l=r("./src/datamodel/excel-helper.ts"),s=r("./src/xlsx-io/reader/slicer-reader.ts"),c=n.XmlNodeHelper.He,u=n.XmlNodeHelper.dn,d=o.Util.pa,f=o.Util.ua,p={selectionLabel:"selectionLabelStyle",timeLevel:"timeLevelStyle",periodLabel1:"periodLabel1Style",periodLabel2:"periodLabel2Style",selectedTimeBlock:"selectedTimeBlockStyle",unselectedTimeBlock:"unselectedTimeBlockStyle",selectedTimeBlockSpace:"selectedTimeBlockSpaceStyle",wholeTable:"wholeSlicerStyle",headerRow:"headerStyle"};function h(e,t,r,n,a){var o,l,s,c,u,d,f,p,h;if(e){o=[],l=[];for(s in e)"count"!==s&&(c=e[s],c&&(u=c.fileType,u===i.RelationshipConstants.tb?o.push(c):u!==i.RelationshipConstants.eb&&u!==i.RelationshipConstants.fb||l.push(c)));d=m(a),f=g(a),o.length&&(p=b(o,n),h=r.Ne.sheets[t],C(p,f,n,r),v(p,l,n,h),k(p,d,n,r),r.Pg(p,t))}}t.readTimelines=h;function m(e){var t=e.Ee(i.RelationshipConstants.Pa);if(t||(t=e.Ee(i.RelationshipConstants.Qa)),t)return t}function g(e){var t,r,n,a=e.relationFiles,o=[];for(t in a)"count"!==t&&(r=a[t],r&&(n=r.fileType,n===i.RelationshipConstants.ub&&o.push(r)));return o}function b(e,t){var r=[];return e.forEach(function(e){var i=t(e.fileName);i&&w(i,r)}),r}t.readTimelinesFromFile=b;function w(e,t){var r,i=a.parseXmlToObject(e),l=i.timelines;l&&(r=c(l.timeline),o.isNullOrUndefined(r)||r.forEach(function(e){var r={},i=e._attr;o.isNullOrUndefined(i)||(o.isNullOrUndefined(i.name)||(r.name=d(f(i.name,"_x000a_","\n"))),o.isNullOrUndefined(i.cache)||(r.nameInFormula=d(i.cache)),o.isNullOrUndefined(i.caption)||(r.captionName=d(i.caption)),o.isNullOrUndefined(i.level)||(r.level=n.XmlNodeHelper.Xm(i.level,2)+1),o.isNullOrUndefined(i.selectionLevel)||(r.selectionLevel=n.XmlNodeHelper.Xm(i.selectionLevel,r.level)+1),o.isNullOrUndefined(i.scrollPosition)||(r.scrollPosition=new Date(i.scrollPosition)),o.isNullOrUndefined(i.showHeader)||(r.showHeader="0"!==i.showHeader),o.isNullOrUndefined(i.showSelectionLabel)||(r.showSelectionLabel="0"!==i.showSelectionLabel),o.isNullOrUndefined(i.showTimeLevel)||(r.showTimeLevel="0"!==i.showTimeLevel),o.isNullOrUndefined(i.showHorizontalScrollbar)||(r.showHorizontalScrollbar="0"!==i.showHorizontalScrollbar),r.style={name:i.style},o.isNullOrUndefined(i.lockedPosition)||(r.disableResizingAndMoving="1"===i.lockedPosition)),t.push(r)}))}function C(e,t,r,i){t.forEach(function(t){var n=r(t.fileName,!0);n&&S(e,n,i)}),i.pivotTimelineCachesBeenRead=!0}function S(e,t,r){var i,n,o,l,s=a.parseXmlToObject(t),c=s.timelineCacheDefinition;if(c){if(i=c._attr,n=i.name,o=[],y(c,r),e.forEach(function(e){e.nameInFormula===n&&o.push(e)}),!o.length)return;l=i.sourceName,o.forEach(function(e){e.sourceName=d(l),e.slicerCacheName=d(n),e.type="timeline"})}}function y(e,t){var r,i,n,a,o,l,s,c,u=e.pivotTables,f=[];u&&(r=u.pivotTable,Array.isArray(r)||(r=[r]),r.forEach(function(e){f.push({tabId:e._attr.tabId,name:d(e._attr.name)})})),i=e.state,i&&i.bounds&&(n=i._attr&&+i._attr.pivotCacheId,a=i._attr&&i._attr.filterType,o=i.bounds._attr.startDate,l=i.bounds._attr.endDate,s=i.selection&&i.selection._attr.startDate,c=i.selection&&i.selection._attr.endDate,t.pivotTimelineCachesBeenRead||(t.Ne.slicerCaches||(t.Ne.slicerCaches=[]),t.Ne.slicerCaches.push({pivotCacheId:n,sourceName:d(e._attr.sourceName),name:d(e._attr.name),pivotTables:f,filterType:a,boundsStartDate:o,boundsEndDate:l,selectionStartDate:s,selectionEndDate:c})))}function v(e,t,r,i){t.forEach(function(t){var n=r(t.fileName,!0);n&&x(e,n,i)})}function x(e,t,r){var i=a.parseXmlToObject(t,!0),n=i["xdr:wsDr"],s=T(c(n["xdr:twoCellAnchor"]));s.forEach(function(t){var i,n,a,s,c,p,h,m,g=t._attr,b=!0,w=!0,C=g.editAs;"absolute"===C?(b=!1,w=!1):"oneCell"===C&&(w=!1),i=!0,n=t.clientData,a=u(t["xdr:from"]),s=u(t["xdr:to"]),c=l.getBounds(r,a,s),n&&(p=n._attr.fLocksWithSheet,"0"===p&&(i=!1)),h=d(f(t.slicerName,"&#xA;","\n")),m=A(e,h),o.isNullOrUndefined(m)||(m.dynamicMove=b,m.dynamicSize=w,m.x=c.x,m.y=c.y,m.width=c.width,m.height=c.height,m.isLocked=i,m.endPoint=s)})}function T(e){var t=["mc:AlternateContent","mc:Choice","xdr:graphicFrame","a:graphic","a:graphicData"],r=[];return e.forEach(function(e){var i,n,a,o,l,s=e;for(n=0;n<t.length;n++)i=!1,s&&s[t[n]]&&(i=!0,s=s[t[n]]);i&&(a=s,o=a._attr.uri,"http://schemas.microsoft.com/office/drawing/2012/timeslicer"===o&&(l=c(a["tsle:timeslicer"]),l.forEach(function(t){var i=t._attr,n=i.name;e.slicerName=d(n),r.push(e)})))}),r}function A(e,t){var r=null;return e.forEach(function(e){e.name===t&&(r=e)}),r}function k(e,t,r,i){var n,l,u,d,f,h,m,g,b=r(t.fileName,!0);b&&(n=a.parseXmlToObject(b),l=n.styleSheet,u={},d=i.mn,o.isNullOrUndefined(d)||(f=c(d["x15:timelineStyle"]),f.forEach(function(e){var t=e._attr,r=t.name,n={name:r},a=c(e["x15:timelineStyleElements"]);a.forEach(function(e){var t=c(e["x15:timelineStyleElement"]);t.forEach(function(e){var t,r=e._attr,a=r.type,l=r.dxfId,c=p[a];!o.isNullOrUndefined(l)&&c&&(t=i.sg(l),n[c]=s.getConvertedSlicerStyle(t))})}),u[r]=n})),h=l.tableStyles,o.isNullOrUndefined(h)||(m=c(h.tableStyle),m.forEach(function(e){var t,r=e._attr,n=r.name,a=u[n];a&&(t=c(e.tableStyleElement),t.forEach(function(e){var t=e._attr,r=t.type,n=t.dxfId,l=i.ug(n),c=p[r];!o.isNullOrUndefined(n)&&c&&(a[c]=s.getConvertedSlicerStyle(l))}))})),g=d._attr.defaultTimelineStyle,e.forEach(function(e){var t=e.style.name;t||(e.style.name=g,t=g),u[t]&&(e.style=u[t])}))}},"./src/xlsx-io/reader/workbook-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-parser.ts"),n=r("./src/xml-io/node-helper.ts"),a=r("./src/common/excel-types.ts"),o=r("./src/common/common.ts"),l=void 0;function s(e,t){var r,n,o,s,d,p,b,w=[],C=i.parseXmlToObject(e),S=C.workbook;if(S){if(S.workbookPr&&c(S.workbookPr,t),S.bookViews)for(r=S.bookViews.workbookView,n=r.length,n===l&&(r=[r],n=1),o=0;o<n;o++)f(r[o],t);if(S.pivotCaches)for(t.Ne.pivotCaches={},Array.isArray(S.pivotCaches.pivotCache)||(S.pivotCaches.pivotCache=[S.pivotCaches.pivotCache]),o=0;o<S.pivotCaches.pivotCache.length;o++)s=u(S.pivotCaches.pivotCache[o]),t.Ne.pivotCaches[s.cacheId]=s;if(S.externalReferences){for(t.Ne.externalReference={},Array.isArray(S.externalReferences.externalReference)||(S.externalReferences.externalReference=[S.externalReferences.externalReference]),o=0;o<S.externalReferences.externalReference.length;o++)d=S.externalReferences.externalReference[o],t.Ne.externalReference[o+1]=t.qn[d._attr["r:id"]];delete t.qn}S.sheets&&S.sheets.sheet&&(p=S.sheets.sheet,Array.isArray(p)||(p=[p]),w=h(p,t)),S.definedNames&&(b=void 0,b=Array.isArray(S.definedNames.definedName)?S.definedNames.definedName:[S.definedNames.definedName],m(b,t)),S.calcPr&&g(S.calcPr,t),e.indexOf(a.XFileConstants.ee)>0&&(t.Ne.allowDynamicArray=!0)}return w}t.readWorkbook=s;function c(e,t){var r=n.XmlNodeHelper.Vm(e._attr.dateCompatibility,!0);r&&t.zf(n.XmlNodeHelper.Vm(e._attr.date1904,!1))}t.readWorkbookProperties=c;function u(e){var t={};return t.cacheId=e._attr.cacheId,t.rid=e._attr["r:id"],t}t.readPivotCache=u;function d(e){var t={};return t.rid=e._attr["r:id"],t}t.readExternalReference=d;function f(e,t){var r=n.XmlNodeHelper.Vm(e._attr.showHorizontalScroll,!0),i=n.XmlNodeHelper.Vm(e._attr.showVerticalScroll,!0),a=n.XmlNodeHelper.Vm(e._attr.showSheetTabs,!0),o=n.XmlNodeHelper.Xm(e._attr.firstSheet,0),l=n.XmlNodeHelper.Xm(e._attr.activeTab,0),s=n.XmlNodeHelper.Xm(e._attr.tabRatio,600);t.Af(r,i),t.Bf(a,l,o,s)}t.readWorkbookView=f;function p(e){var t,r,i,n,a=Object.keys(e);for(t=0,r=a;t<r.length;t++)if(i=r[t],n=i.split(":"),n&&2===n.length&&"id"===n[1])return e[i];return null}function h(e,t){var r,i,n,l,s,c,u=[];for(r=0;r<e.length;r++)i=e[r],n=new a.SheetInfo,l=o.Util.wa(o.Util.pa(i._attr.name)),n.name=l,n.index=r,n.sheetId=i._attr.sheetId,n.rID=i._attr["r:id"]||p(i._attr),o.StringEx.O(n.rID)||u.push(n),s=i._attr.state,c=0,s&&("hidden"===s?c=1:"veryHidden"===s&&(c=2)),t.Cf(l,r,c);return u}function m(e,t){var r,i,n,a,l,s,c,u;if(e.length>0)for(t.og(),r=void 0,i=0;i<e.length;i++)r=e[i],r&&(n=r._attr.localSheetId,a=o.Util.pa(r._attr.name),l=a.toUpperCase(),s=o.Util.pa(r._attr.comment),c=o.Util.pa(r.definedName),u=-1,o.isNullOrUndefined(n)||(u=parseInt(n,10)),u>=0&&l===o.BUILT_IN_PRINT_AREA_UPPERCASE?t.pg(o.PRINT_AREA,o.processFunction(c),u,s):"_xlnm.Print_Titles"===a?t.Zg(u,c):t.pg(a,o.processFunction(c),u,s))}function g(e,t){var r,i,n=e._attr.refMode,a=!1;n&&"R1C1"===n&&(a=!0),r={iterate:e._attr.iterate,count:e._attr.iterateCount,delta:e._attr.iterateDelta},i=0,"manual"===e._attr.calcMode&&(i=1),t.Df(a,r,i)}t.readWorkbookCalcProperties=g},"./src/xlsx-io/reader/worksheet-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xlsx-io/common/color-reader.ts"),n=r("./src/xml-io/xml-reader.ts"),a=r("./src/common/common.ts"),o=r("./src/common/excel-types.ts"),l=r("./src/datamodel/excel-style.ts"),s=r("./src/datamodel/excel-helper.ts"),c=r("./src/xlsx-io/reader/conditionalformat-reader.ts"),u=r("./src/xlsx-io/reader/sparkline-reader.ts"),d=r("./src/xlsx-io/reader/autofilter-reader.ts"),f=r("./src/xlsx-io/reader/datavalidation-reader.ts"),p=r("./src/xlsx-io/reader/print-reader.ts"),h=r("./src/xlsx-io/reader/ctrlprops-reader.ts"),m=r("./src/xlsx-io/reader/control-reader.ts"),g=null,b="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main";function w(e,t,r,i,a,o,l){var s,u,h=new n.XmlReader;for(h.reset(),h.setXml(e),s=15,u={},i.if=[],i.jf=[],i.Uf=0,i.Tf=0;h.read();)if(1===h.depth&&2!==h.elementType)try{switch(h.name()){case"sheetPr":C(h,r,i);break;case"dimension":S(h,r,i);break;case"sheetViews":y(h,r,i);break;case"sheetFormatPr":s=x(h,r,i);break;case"cols":T(h,r,i,a);break;case"mergeCells":k(h,r,i);break;case"sheetData":E(h,r,i,u,s,a,o);break;case"sheetProtection":D(h,r,i);break;case"conditionalFormatting":c.readConditionalFormatting(h,r,i);break;case"extLst":R(h,r,i);break;case"autoFilter":d.readAutoFilterForSheet(h,r,i);break;case"dataValidations":f.readDataValidations(h,r,i);break;case"pageMargins":p.readPageMargins(h,r,i);break;case"printOptions":p.readPrintOptions(h,r,i);break;case"pageSetup":p.readPageSetup(h,i);break;case"headerFooter":p.readHeaderFooter(h,i);break;case"rowBreaks":p.readRowColumnBreaks(h,i,!0);break;case"colBreaks":p.readRowColumnBreaks(h,i,!1);break;case"legacyDrawing":m.readLegacyDrawing(h,i);break;case"legacyDrawingHF":p.readLegacyDrawingHF(h,i);break;case"hyperlinks":L(h,r,i,t);break;case"controls":_(h,r,i,t,l);break;case"mc:AlternateContent":N(h,r,i,t,l)}}catch(e){}i.fg(r,u),i.Sf(r)}t.readWorksheets=w;function C(e,t,r){for(var n,a,o,l;e.moveToNextAttribute();)n=e.readAttributeNameAsString(),"filterMode"===n&&e.readContentAsString();if(3!==e.elementType)for(a=e.depth;e.read()&&!(e.depth<=a);)if(1===e.nodeType())switch(e.name()){case"tabColor":r.Ff(t,i.readColor(e));break;case"outlinePr":for(o=!0,l=!0;e.moveToNextAttribute();)"summaryBelow"===e.readAttributeNameAsString()?o=e.readContentAsBoolean():"summaryRight"===e.readAttributeNameAsString()&&(l=e.readContentAsBoolean());r.Ef(t,l,o);break;case"pageSetUpPr":p.readPageSetupAdditionalProperty(e,r)}}function S(e,t,r){for(var i,n,o,l,s,c,u,d;e.moveToNextAttribute();)"ref"===e.readAttributeNameAsString()&&(i=e.readContentAsString(),n=i.split(":"),o=void 0,l=void 0,2===n.length?(s=a.IndexHelper.P(n[0]),c=a.IndexHelper.P(n[1]),u=a.IndexHelper.R(n[0]),d=a.IndexHelper.R(n[1]),o=Math.max(s,c)+1,l=Math.max(u,d)+1):1===n.length&&(s=a.IndexHelper.P(n[0]),u=a.IndexHelper.R(n[0]),o=s+1,l=u+1),r.Gf(t,o,l))}function y(e,t,r){var i,n,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,x,T,A,k,E,I,F,P,D;if(r.mg(),3!==e.elementType)for(i=e.depth;e.read()&&!(e.depth<=i);)if(1===e.nodeType()&&"sheetView"===e.name()){if(v(e,t,r),n=r.Kf,l=void 0,s=void 0,n&&(l=a.IndexHelper.P(n),s=a.IndexHelper.R(n)),void 0!==l&&void 0!==s&&r.Lf(l,s,t),3===e.elementType)continue;for(c=e.depth;e.read()&&!(e.depth<=c);)if(1===e.nodeType())if("selection"===e.name()){for(u=-1,d=-1,f=0,p=[],h=[],m=[],g=[],b=[],w="",C=3;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"sqref":b=e.readContentAsString().split(" ");break;case"activeCellId":break;case"activeCell":w=e.readContentAsString();break;case"pane":S=e.readContentAsString(),S&&void 0!==o.PaneType[S]&&(C=o.PaneType[S])}for(y=0,x=b.length;y<x;y++)T=b[y].split(":"),1===T.length?(A=a.IndexHelper.P(T[0]),k=a.IndexHelper.R(T[0]),p.push(A),h.push(A),m.push(k),g.push(k),f++):2===T.length&&(p.push(a.IndexHelper.P(T[0])),m.push(a.IndexHelper.R(T[0])),h.push(a.IndexHelper.P(T[1])),g.push(a.IndexHelper.R(T[1])),f++);w&&(u=a.IndexHelper.P(w),d=a.IndexHelper.R(w)),r.If(t,C,u,d,f,p,h,m,g)}else if("pane"===e.name()){for(E=null,I=!1,F=3,P=0,D=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"topLeftCell":n=e.readContentAsString();break;case"xSplit":P=e.readContentAsInt(0);break;case"ySplit":D=e.readContentAsInt(0);break;case"state":E=e.readContentAsString(),!E||"frozen"!==E&&"frozenSplit"!==E||(I=!0);break;case"activePane":S=e.readContentAsString(),S&&void 0!==o.PaneType[S]&&(F=o.PaneType[S])}r.ng(F),r.Jf(t,P,D,n,I)}}}function v(e,t,r){for(var i,n=!1,a=null,o=!0,s=!0,c=100,u=!1,d=!0,f="A1";e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"colorId":i=e.readContentAsInt(-1),i>=0&&(a=new l.ExcelColor(1,i,0));break;case"showGridLines":o=e.readContentAsBoolean();break;case"showRowColHeaders":s=e.readContentAsBoolean();break;case"showFormulas":u=e.readContentAsBoolean();break;case"showZeros":d=e.readContentAsBoolean();break;case"zoomScale":c=e.readContentAsDouble(100);break;case"topLeftCell":f=e.readContentAsString();break;case"tabSelected":n=e.readContentAsBoolean()}r.Hf(t,a,o,s,c,u,d,n),r.Kf=f}function x(e,t,r){for(var i=NaN,n=NaN,a=8,o=15;e.moveToNextAttribute();)"defaultRowHeight"===e.readAttributeNameAsString()?i=e.readContentAsDouble(NaN):"defaultColWidth"===e.readAttributeNameAsString()?n=e.readContentAsDouble(NaN):"baseColWidth"===e.readAttributeNameAsString()&&(a=e.readContentAsDouble(8));return isNaN(i)||(r.Nf(t,i),o=i),r.Of(t,a,n),o}function T(e,t,r,i){var n,a,o,l,s,c,u,d;if(3!==e.elementType){for(n=e.depth;e.read()&&!(e.depth<=n);)if(1===e.nodeType()&&"col"===e.name()){for(a=0,o=0,l=0,s=0,c=0,u=!1,d=!1;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"min":a=e.readContentAsInt(0)-1;break;case"max":o=e.readContentAsInt(0)-1;break;case"style":l=e.readContentAsInt(0);break;case"width":s=e.readContentAsDouble(8);break;case"hidden":u=e.readContentAsBoolean(!1);break;case"collapsed":d=e.readContentAsBoolean(!1);break;case"outlineLevel":c=e.readContentAsInt(0)}a>=0&&o>=0&&r.Vf(t,a,o,l+i,s,u,c,d)}r._f(t,!1),A(r.Ne.sheets&&r.Ne.sheets[t])}}function A(e){var t,r,i,n;if(e&&e.columns)for(t=e.columns,r=e.columnOutlines,i=0;i<t.length;i++)t[i]&&(n=s.isCollapsed(i,r),n&&0===t[i].size&&(t[i].size=g),n&&t[i]&&t[i].visible===!1&&delete t[i].visible)}function k(e,t,r){var i,n,o,l,s,c,u;if(3!==e.elementType)for(i=e.depth;e.read()&&!(e.depth<=i);)if(1===e.nodeType()&&"mergeCell"===e.name())for(;e.moveToNextAttribute();)"ref"===e.readAttributeNameAsString()&&(n=e.readContentAsString(),o=n.split(":"),2===o.length&&(l=a.IndexHelper.P(o[0]),s=a.IndexHelper.P(o[1]),c=a.IndexHelper.R(o[0]),u=a.IndexHelper.R(o[1]),r.Xf(t,l,s,c,u)))}function E(e,t,r,i,n,a,o){var l,s;if(3!==e.elementType){l=e.depth,r.bg(t),s=-1;do{if(e.fastRead(),e.depth<=l)break;s=I(e,t,i,s,r,n,a,o)}while(e.depth>l);r.Uf<s&&(r.Uf=s)}r._f(t,!0),r.$f(t)}function I(e,t,r,i,n,a,o,l){for(var s,c,u,d=i+1,f=-1,p=!1,h=!1,m=a,g=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"r":d=e.readContentAsInt(0)-1;break;case"spans":break;case"s":f=e.readContentAsInt(-1);break;case"collapsed":p=e.readContentAsBoolean(!1);break;case"hidden":h=e.readContentAsBoolean(!1);break;case"ht":m=e.readContentAsDouble(0);break;case"outlineLevel":g=e.readContentAsInt(0)}if(s=f===-1?-1:f+o,n.ag(t,d,s,m,g,p,h),3===e.elementType)return d;c=-1,u=e.depth;do{if(e.fastRead(),e.depth<=u)break;n.cg(t,d),c=P(e,t,r,d,c,n,o,l)}while(e.depth>u);return n.Tf<c&&(n.Tf=c),d}function F(e){var t=g;switch(e){case"#DIV/0!":t=7;break;case"#N/A":t=42;break;case"#NAME?":t=29;break;case"#NULL!":t=0;break;case"#NUM!":t=36;break;case"#REF!":t=23;break;case"#VALUE!":t=15}return t}function P(e,t,r,i,n,o,l,s){for(var c,u,d,f,p,h,m,b,w,C,S,y,v,x,T,A,k,E,I,P,D,R,L,_,N,B=n+1,M="n",O=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"r":B=a.IndexHelper.R(e.readContentAsString());break;case"t":M=e.readContentAsString();break;case"s":O=e.readContentAsInt(0);break;case"vm":u=!0;break;case"cm":c=e.readContentAsInt(0),d=o.eh(c)}if((0!==O||o.ef&&o.ef[i]&&o.ef[i].style||o.df&&o.df[B]&&o.df[B].style)&&(f=O+l),o.dg(t,i,B,f),3===e.elementType)return B;p=e.depth,h=void 0,m=void 0,b=null,w=void 0;do{if(e.fastRead(),e.depth<=p)break;if(C=e.buffer[e.rn+e._l-1],1===(1&e.elementType))if("v"===C&&1===e.elementType)switch(S=e.readElementContentAsString(),M){case"b":h="1"===S;break;case"d":h=new Date(S);break;case"e":y=F(S),h=y!==g?{_error:S,_code:y}:g,u&&d&&(h={_error:"#SPILL!",_code:99});break;case"inlineStr":h="";break;case"n":v=parseFloat(S),h=isNaN(v)?g:v;break;case"s":x=parseInt(S,10),s&&x>=0&&x<s.length&&s[x]?(h=s[x].value,w=s[x].richText):h=S;break;case"str":h=a.Util.pa(S);break;default:h=S}else if("f"===C){for(T=g,A=g,k=g;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"t":T=e.readContentAsString();break;case"ref":A=e.readContentAsString();break;case"si":k=e.readContentAsString()}1===e.elementType&&(m=a.processFunction(a.Util.pa(e.readElementContentAsString()))),"array"===T?(E=A.split(":"),I=0,P=0,D=0,R=0,I=a.IndexHelper.P(E[0]),D=a.IndexHelper.R(E[0]),1===E.length?(P=I,R=D):(P=a.IndexHelper.P(E[1]),R=a.IndexHelper.R(E[1])),b={row:I,rowCount:P-I+1,col:D,colCount:R-D+1},d&&(b.isDynamicArray=d)):"shared"===T&&k!==g&&(L=parseInt(k,10),m?(_={formula:m},A&&(N=A.split(":"),2===N.length?(_.lastRow=a.IndexHelper.P(N[1]),_.lastColumn=a.IndexHelper.R(N[1]),_.baseRow=a.IndexHelper.P(N[0]),_.baseColumn=a.IndexHelper.R(N[0])):(_.lastRow=_.baseRow=a.IndexHelper.P(N[0]),_.lastColumn=_.baseColumn=a.IndexHelper.R(N[0]))),r[L]||(r[L]=_,r.nextIndex=Math.max(r.nextIndex,L+1)),m={si:L}):m={si:L})}else"t"===C&&"inlineStr"===M&&(h=a.Util.pa(e.readElementContentAsString()))}while(e.depth>p);return u&&b&&b.isDynamicArray&&(b.isInvalid=!0),o.gg(t,i,B,f,h,m,b,w),B}function D(e,t,r){for(var i,n=[],a=!1;e.moveToNextAttribute();)i=e.readAttributeNameAsString(),"sheet"===i?(a=e.readContentAsBoolean(!1),r.Yf(t,a)):"algorithmName"===i||"hashValue"===i||"saltValue"===i||"spinCount"===i||"password"===i?n.push({name:i,value:"spinCount"===i?e.readContentAsInt():e.readContentAsString()}):n.push({name:i,value:!e.readContentAsBoolean(!1)});r.Zf(t,n,a)}function R(e,t,r){var i,n,a;if(3!==e.elementType)for(i=e.depth;e.read()&&!(e.depth<=i);)if(1===e.nodeType()){if(n=void 0,a=void 0,"ext"===e.name())for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"uri":n=e.readContentAsString();break;case"xmlns:x14":a=e.readContentAsString()}M(n,a)&&c.readExtensionConditionalFormating(e,t,r),O(n,a)&&u.readSparklineGroups(e,t,r),G(n,a)&&f.readExtensionDataValidation(e,t,r)}}function L(e,t,r,i){var n,o,l,s,c,u;if(3!==e.elementType)for(n=e.depth;e.read()&&!(e.depth<=n);)if(1===e.nodeType()&&"hyperlink"===e.name()){for(o={url:"",linkColor:"hyperlink",visitedLinkColor:"followedHyperlink",tooltip:"",target:0,drawUnderline:!0,command:""},l={row:0,col:0};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"ref":s=e.readContentAsString(),c=s.split(":"),l.row=a.IndexHelper.P(c[0]),l.col=a.IndexHelper.R(c[0]);break;case"r:id":o.url=a.Util.pa(i[e.readContentAsString()].fileName);break;case"location":o.url?o.url=o.url+"#"+a.Util.pa(e.readContentAsString()):(u=a.Util.pa(e.readContentAsString()),"#"===u[0]&&(u=u.substr(1)),o.url="sjs://"+u);break;case"tooltip":o.tooltip=a.Util.pa(e.readContentAsString())}r.eg(t,l.row,l.col,o)}}function _(e,t,r,i,n){var o,l,s,c,u,d;if(3!==e.elementType){for(o=e.depth,l={};e.read()&&!(e.depth<=o);)if(1===e.nodeType()&&(s=void 0,c=void 0,u=void 0,"control"===e.name())){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"shapeId":s=e.readContentAsString();break;case"r:id":c=e.readContentAsString();break;case"name":u=e.readContentAsString()}d=h.readCtrlProps(c,i,n),d&&a.Util.isSupportedExcelObjectType(d.objectType)&&(l[s]={rid:c,name:u,props:d})}l&&r.Hg(l,t)}}function N(e,t,r,i,n){if(3!==e.elementType)for(var a=e.depth;e.read()&&!(e.depth<=a);)1===e.nodeType()&&"controls"===e.name()&&_(e,t,r,i,n)}function B(e,t,r){var i=e===r,n=t===b;return i&&n}function M(e,t){return B(e,t,"{78C0D931-6437-407d-A8EE-F0AAD7539E65}")}function O(e,t){return B(e,t,"{05C60535-1F16-4fd2-B633-F4F36F0B64E0}")}function G(e,t){return B(e,t,"{CCE6A557-97BC-4b89-ADB6-D9C93CAAB3DF}")}},"./src/xlsx-io/reader/xlsx-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts"),n=r("./src/datamodel/datamodel-reader.ts"),a=r("./src/xlsx-io/reader/docpropscore-reader.ts"),o=r("./src/xlsx-io/reader/docpropsapp-reader.ts"),l=r("./src/xlsx-io/reader/docpropscustom-reader.ts"),s=r("./src/xlsx-io/reader/sharedstring-reader.ts"),c=r("./src/xlsx-io/reader/theme-reader.ts"),u=r("./src/xlsx-io/reader/workbook-reader.ts"),d=r("./src/xlsx-io/reader/style-reader.ts"),f=r("./src/xlsx-io/reader/worksheet-reader.ts"),p=r("./src/xlsx-io/reader/comment-reader.ts"),h=r("./src/xlsx-io/reader/drawing-reader.ts"),m=r("./src/xlsx-io/reader/slicer-reader.ts"),g=r("./src/xlsx-io/reader/table-reader.ts"),b=r("./src/xlsx-io/reader/print-reader.ts"),w=r("./src/datamodel/excel-style.ts"),C=r("./src/xlsx-io/reader/metadata-reader.ts"),S=r("./src/xlsx-io/reader/pivot-reader.ts"),y=r("./src/xlsx-io/reader/control-reader.ts"),v=r("./src/xlsx-io/reader/timeline-reader.ts"),x=r("./src/xlsx-io/reader/externallink-reader.ts"),T=r("./src/common/common.ts"),A=null,k=function(){function e(){var e=this;e.sn={},e.tn=0,e.un=[],e.Kk=new n.ReaderDataModel}return e.prototype.Dk=function(e,t,r){var n,a,o;e&&(n=this,n.sn=e,n.Kk.Bg=t,a=new i.XFile("",""),a.Ae(e),o=a.Ee(i.RelationshipConstants.Na),o||(o=a.Ee(i.RelationshipConstants.Oa)),n.onCompleted=function(){n.vn(),n.wn(),r(n.Kk.Ne)},n.xn(a),n.yn(o))},e.prototype.xn=function(e){var t=this,r=e.Ee(i.RelationshipConstants.Ka),n=e.Ee(i.RelationshipConstants.La),a=e.Ee(i.RelationshipConstants.Ma);r&&t.zn(r),n&&t.An(n),a&&t.Bn(a)},e.prototype.zn=function(e){var t=this,r=t.Cn(e.fileName,!0);if(r)try{a.readDocPropsCoreFile(r,t.Kk)}catch(e){}},e.prototype.An=function(e){var t=this,r=t.Cn(e.fileName,!0);if(r)try{o.readDocPropsAppFile(r,t.Kk)}catch(e){}},e.prototype.Bn=function(e){var t=this,r=t.Cn(e.fileName,!0);if(r)try{l.readDocPropsCustomFile(r,t.Kk)}catch(e){}},e.prototype.yn=function(e){if(!e)throw Error("Incorrect file format.");if(this.Dn(e),this.En(e),this.Fn(e),this.Gn(e),this.Hn(e),this.In(e),this.Jn(e),0===this.un.length)throw Error("Incorrect file format.");this.Jk(e),this.Xh()},e.prototype.Dn=function(e){var t,r,n=e.Ee(i.RelationshipConstants.Sa);if(n||(n=e.Ee(i.RelationshipConstants.Ta)),n&&(t=this,r=t.Cn(n.fileName)))try{t.sharedString=s.readSharedString(r)}catch(e){}},e.prototype.En=function(e){var t,r,n=e.Ee(i.RelationshipConstants.Ua);if(n||(n=e.Ee(i.RelationshipConstants.Va)),n&&(t=this,r=t.Cn(n.fileName)))try{c.readTheme(r,this.Kk)}catch(e){}},e.prototype.Fn=function(e){var t,r,n,a,o,l,s,c,u,d=e.Fe(i.RelationshipConstants.Za);if(d)for(t=this,r=t.Kk,r.qn={},n=0;n<d.length;n++)if(a=d[n],o=t.Cn(a.file.fileName))try{r.qn[a.id]=x.readExternalLinkFile(o),l=a.file.relationFiles.rId1.fileName,l=l.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/%20/g," ").replace(/%23/g,"#").replace(/%5[bB]/g,"[").replace(/%5[cC]/g,"\\").replace(/%5[dD]/g,"]").replace(/%5[eE]/g,"^").replace(/%60/g,"`").replace(/%7[bB]/g,"{").replace(/%7[dD]/g,"}").replace(/%25/g,"%"),s=Math.max(l.lastIndexOf("/"),l.lastIndexOf("\\"))+1,c=l.substr(s),u=l.substr(0,s),"xl/externalLinks/"===u&&(u=""),"file:///"===u.substr(0,8)&&(u=u.substr(8,s)),r.qn[a.id].option={name:c,path:u}}catch(e){}},e.prototype.In=function(e){var t,r,n,a,o,l,s=e.Fe(i.RelationshipConstants.Wa);if(s)for(t=this,r=t.Kk,r.pivotCaches=[],n=0;n<s.length;n++){if(a=s[n],o=r.Fg("rid",a.id),t.Kn(a,o),l=t.Cn(a.file.fileName))try{S.readPivotCacheDefinitions(l,r,o)}catch(e){}r.pivotCaches.push(o)}},e.prototype.Kn=function(e,t){var r,n,a;if(e&&(r=e.file.Ee(i.RelationshipConstants.Xa),r&&(n=this,a=n.Cn(r.fileName))))try{S.readPivotCacheRecords(a,t)}catch(e){}},e.prototype.Gn=function(e){var t,r,n=e.Ee(i.RelationshipConstants.Pa);if(n||(n=e.Ee(i.RelationshipConstants.Qa)),n&&(t=this,r=t.Cn(n.fileName,!0)))try{t.tn=d.readStyle(r,t.Kk)}catch(e){}},e.prototype.Hn=function(e){var t=this,r=t.Cn(e.fileName);if(r)try{t.un=u.readWorkbook(r,t.Kk)}catch(e){}},e.prototype.Jk=function(e){var t,r,i,n,a,o,l,s=this,c=s.Kk,u=s.Cn.bind(s);for(i=0,n=s.un.length;i<n;i++)if(t=s.un[i],r=t.name,a=e.Ge(t.rID)){if(o=s.Cn(a.fileName),l=a.relationFiles,c.hn={},o)try{f.readWorksheets(o,l,r,c,s.tn,s.sharedString,u)}catch(e){}try{S.readPivotTableDefinition(l,r,c,u)}catch(e){}try{p.readComments(l,r,c,u)}catch(e){}try{h.readDrawings(l,r,c,u)}catch(e){}try{y.readControlVmlDrawing(l,r,c,u)}catch(e){}try{g.readTables(l,r,c,u)}catch(e){}try{b.readVmlDrawing(l,c,u)}catch(e){}c.Wf(r),
38
+ c.Wg(r,c.hn),c.hn={}}for(i=0,n=s.un.length;i<n;i++)if(t=s.un[i],r=t.name,a=e.Ge(t.rID)){l=a.relationFiles;try{m.readSlicers(l,r,c,u,e),v.readTimelines(l,r,c,u,e)}catch(e){}}for(i=0,n=s.un.length;i<n;i++)t=s.un[i],r=t.name,s.Ln(r)},e.prototype.Xh=function(){var e=this;e.onCompleted&&e.onCompleted()},e.prototype.Mn=function(e,t,r,i,n){var a,o;for(a=t;a<t+i;a++)for(o=r;o<r+n;o++)if(!T.isNullOrUndefined(e[a]&&e[a][o]&&e[a][o].value))return!0;return!1},e.prototype.Nn=function(e,t){var r,i,n,a,o,l,s,c=this,u=e.range,d=new T.Range(u.row,u.col,u.rowCount,u.colCount),f=t&&t.data&&t.data.dataTable;if(!f)return d;for(r=d.row,i=d.col,n=d.colCount,a=u.rowCount,o=r+a,l=o,s=-1;c.Mn(f,l,i,1,n);)l++;return s=Math.max(o,l),d.rowCount=s-r,d},e.prototype.setRowVisible=function(e,t){if(t){var r=this.Nn(t,e),i=t.filteredColumns,n=t.filterItemMap,a=void 0;if(r&&e.rows&&i&&i.length>0&&n&&n.length>0)for(a=r.row;a<r.row+r.rowCount;a++)e.rows[a]&&(e.rows[a].visible===!1&&(e.rows[a].isFilter=!0),e.rows[a].visible=!0)}},e.prototype.Ln=function(e){var t,r,i,n=this.Kk.Ne,a=n.sheets&&n.sheets[e];if(a&&(this.setRowVisible(a,a.rowFilter),t=a.tables))for(r=0;r<t.length;r++)i=t[r],this.setRowVisible(a,i.rowFilter)},e.prototype.Cn=function(e,t){var r=e.substr("/"===e.charAt(0)?1:0).toLowerCase(),i=this.sn[r];return t||(this.sn[r]=A),i},e.prototype.vn=function(){this.sn={}},e.prototype.wn=function(){w.clearCache()},e.prototype.Jn=function(e){var t,r,n=e.Ee(i.RelationshipConstants.sb);if(n&&(t=this,r=t.Cn(n.fileName)))try{C.readSheetMetadata(r,t.Kk),t.Kk.Ne.allowDynamicArray=!0}catch(e){}},e}(),t.XlsxReader=k},"./src/xlsx-io/writer/autofilter-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/common/range-parser.ts"),a=i.Util.oa,o=i.StringEx.O,l=void 0,t.ComparisonOperators={"-1":"none",0:"equal",4:"lessThan",5:"lessThanOrEqual",1:"notEqual",2:"greaterThan",3:"greaterThanOrEqual"},t.PivotComparisonOperators={"-1":"none",0:"equal",4:"lessThan",3:"lessThanOrEqual",1:"notEqual",2:"greaterThan",5:"greaterThanOrEqual"},s={"-1":"null",100:"aboveAverage",101:"belowAverage"},c=[["today","yesterday","tomorrow","lastWeek","thisMonth","lastMonth","nextMonth","thisWeek","lastWeek","nextWeek","nextQuarter","thisQuarter","lastQuarter","nextYear","thisYear","lastYear"],[],["Q1","Q2","Q3","Q4"],["M1","M2","M3","M4","M5","M6","M7","M8","M9","M10","M11","M12"],[],[],["yearToDate"]];function u(e,t){e.writeLeafElement("colorFilter",function(){t.cellColor||e.writeAttributeString("cellColor","0"),e.writeAttributeString("dxfId",t.dxfId)})}function d(e,t){e.writeLeafElement("top10",function(){t.isBottom&&e.writeAttributeString("top","0"),t.percent&&e.writeAttributeString("percent","1"),isNaN(t.value)||e.writeAttributeString("val",t.value),isNaN(t.filterValue)||e.writeAttributeString("filterVal",t.filterValue)})}function f(e,t){e.writeElement("filters",function(){(t.blank||t.filter&&t.filter.indexOf("")!==-1)&&e.writeAttributeString("blank","1")},function(){t.filter&&t.filter.forEach(function(t){o(t)||e.writeLeafElement("filter",function(){var r=a(t);e.writeAttributeString("val",r)})}),t.dateGroupItem&&t.dateGroupItem.forEach(function(t){e.writeLeafElement("dateGroupItem",function(){t.year>0&&e.writeAttributeString("year",t.year),t.month>=0&&t.month<12&&e.writeAttributeString("month",t.month),t.day>0&&t.day<32&&e.writeAttributeString("day",t.day),t.hour<24&&e.writeAttributeString("hour",t.hour),t.minute<60&&e.writeAttributeString("minute",t.minute),t.second<60&&e.writeAttributeString("second",t.second),e.writeAttributeString("dateTimeGrouping","day")})})})}function p(e,t){i.J(t.type)||e.writeLeafElement("dynamicFilter",function(){var r=s[t.type],n=t.conType,a=t.expectTypeId||0;6===n&&(r=c[a][t.type]),r&&"null"!==r?e.writeAttributeString("type",r):e.writeAttributeString("type","null"),"Q"!==r[0]&&"M"!==r[0]&&(i.J(t.value)||e.writeAttributeString("val",t.value),i.J(t.maxValue)||e.writeAttributeString("maxVal",t.maxValue))})}function h(e,t){i.J(t.type)||e.writeLeafElement("dynamicFilter",function(){var r=t.type,n=0;r&&"null"!==r?e.writeAttributeString("type",r):e.writeAttributeString("type","null"),i.J(t.value)||e.writeAttributeString("val",t.value),i.J(t.maxValue)||e.writeAttributeString("maxVal",t.maxValue)})}t.writePivotDynamicFilter=h;function m(e,t,r){i.J(t.filter1)&&i.J(t.filter2)||e.writeElement("customFilters",function(){t.and&&e.writeAttributeString("and","1")},function(){i.J(t.filter1)||e.writeLeafElement("customFilter",function(){var i=r[t.filter1.operator];"none"!==i&&e.writeAttributeString("operator",i),e.writeAttributeString("val",t.filter1.value)}),i.J(t.filter2)||e.writeLeafElement("customFilter",function(){var i=r[t.filter2.operator];"none"!==i&&e.writeAttributeString("operator",i),e.writeAttributeString("val",t.filter2.value)})})}t.writeCustomFilters=m;function g(e,t){e.writeElement("sortState",function(){e.writeAttributeString("ref",n.getRangeString([t.range]))},function(){e.writeLeafElement("sortCondition",function(){if(e.writeAttributeString("ref",n.getRangeString([t.range])),t.descending&&e.writeAttributeString("descending","1"),t.isBackColor!==l){var r=t.isBackColor?"cellColor":"fontColor";e.writeAttributeString("sortBy",r),e.writeAttributeString("dxfId",t.dxfid)}})})}t.writeSortInfo=g;function b(e,t,r){e.writeAttributeString("colId",t.autoFilterColumnId),i.J(t.hiddenButton)||e.writeAttributeString("hiddenButton",t.hiddenButton),r||i.J(t.showButton)||e.writeAttributeString("showButton",t.showButton)}function w(e,r){r&&r.range&&(r.filterColumns.length>0||r.sortInfo?e.writeElement("autoFilter",function(){e.writeAttributeString("ref",n.getRangeString([r.range]))},function(){r.filterColumns&&r.filterColumns.forEach(function(r){r.colorFilter||r.top10||r.filters||r.dynamicFilter||r.customFilters?e.writeElement("filterColumn",function(){b(e,r)},function(){i.J(r.colorFilter)?i.J(r.top10)?i.J(r.filters)?i.J(r.dynamicFilter)?i.J(r.customFilters)||m(e,r.customFilters,t.ComparisonOperators):p(e,r.dynamicFilter):f(e,r.filters):d(e,r.top10):u(e,r.colorFilter)}):e.writeLeafElement("filterColumn",function(){b(e,r)})}),r.sortInfo&&g(e,r.sortInfo)}):e.writeLeafElement("autoFilter",function(){e.writeAttributeString("ref",n.getRangeString([r.range]))}),r.sortInfo&&g(e,r.sortInfo))}t.writeAutoFilter=w;function C(e,r){r&&r.range&&(r.filterColumns.length>0||r.sortInfo?e.writeElement("autoFilter",function(){e.writeAttributeString("ref",r.range)},function(){r.filterColumns&&r.filterColumns.forEach(function(r){r.colorFilter||r.top10||r.filters||r.dynamicFilter||r.customFilters?e.writeElement("filterColumn",function(){b(e,r,!0)},function(){i.J(r.top10)?i.J(r.dynamicFilter)?i.J(r.customFilters)?i.J(r.filters)||f(e,r.filters):m(e,r.customFilters,t.PivotComparisonOperators):h(e,r.dynamicFilter):d(e,r.top10)}):e.writeLeafElement("filterColumn",function(){b(e,r,!0)})})}):e.writeLeafElement("autoFilter",function(){e.writeAttributeString("ref",n.getRangeString([r.range]))}))}t.writePivotAutoFilter=C;function S(e,t,r){var i=r.Cj(t);i&&w(e,i)}t.writeAutoFilterForSheet=S},"./src/xlsx-io/writer/chart-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k,E,I,F,P,D,R,L,_,N,B,M,O,G,H,U,J,W,V,z,j,X,K,q,Y,Q,Z,$,ee,te,re,ie,ne,ae,oe,le,se,ce,ue,de,fe,pe,he,me,ge,be,we,Ce,Se,ye,ve,xe,Te,Ae,ke,Ee,Ie,Fe,Pe,De,Re,Le,_e,Ne,Be,Me,Oe;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/datamodel/chart-model.ts"),n=r("./src/datamodel/excel-style.ts"),a=n.UnitHelper.pixelToEMU,o=r("./src/xlsx-io/common/chart-helper.ts"),l=r("./src/common/common.ts"),s=r("./src/common/excel-types.ts"),c=r("./src/datamodel/excel-helper.ts"),u=l.Util.oa,d=null,f="val",p="name",h="type",m="prst",g="extLst",b="cNvPr",w="macro",C="effectLst",S="effectDag",y="fPublished",v="graphicFrame",x="ext",T="scrgbClr",A="srgbClr",k="hslClr",E="sysClr",I="schemeClr",F="prstClr",P="styleClr",D="noFill",R="solidFill",L="gradFill",_="blipFill",N="pattFill",B="grpFill",M="delete",O="scene3d",G="spPr",H="txPr",U="invertIfNegative",J="bubble3D",W="marker",V="grpSp",z="cxnSp",j="clrScheme",X="fontScheme",K="fmtScheme",q="layout",Y="pictureOptions",Q="order",Z="gapWidth",$="dLbls",ee="trendline",te="errBars",re="ser",ie="dropLines",ne="axId",ae="grouping",oe="varyColors",le="scaling",se="axPos",ce="majorGridlines",ue="minorGridlines",de="title",fe="numFmt",pe="majorTickMark",he="minorTickMark",me="tickLblPos",ge="crossAx",be="crosses",we="style",Ce="rotWithShape",Se="cNvPicPr",ye="nvPicPr",ve="cNvGraphicFramePr",xe="AlternateContent",Te="clientData",Ae="a",ke="cdr",Ee="r",Ie="xdr",Fe="c",Pe="c15",De="a14",Re="c14",Le="mc",_e="cx",Ne="cs",Be="c16r3",Me="_xlchart.v1.",Oe={},t.DrawingWriter={a:"http://schemas.openxmlformats.org/drawingml/2006/main",cdr:"http://schemas.openxmlformats.org/drawingml/2006/chartDrawing",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",xdr:"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing",c:"http://schemas.openxmlformats.org/drawingml/2006/chart",c15:"http://schemas.microsoft.com/office/drawing/2012/chart",a14:"http://schemas.microsoft.com/office/drawing/2010/main",c14:"http://schemas.microsoft.com/office/drawing/2007/8/2/chart",c16:"http://schemas.microsoft.com/office/drawing/2017/03/chart",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"};function Ge(e){return l.J(e)||""===e}function He(e,t,r){e.writeLeafElement(t+":"+r)}function Ue(e,t,r,i,n,a,o,s){e.writeLeafElement(t+":"+r,function(){l.J(i)||!l.J(a)&&i===a||(s&&(i=s(i)),o&&(i=o[i]),e.writeAttributeString(n,i))})}function Je(e,t,r,i,n,a,o){e.writeElement(t+":"+r,function(){var t=i[o];l.J(t)||n(e,a,o,t)})}function We(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.sqref)||e.writeElementString("c15:sqref",i.sqref)})}function Ve(e,t,r,i,n,a){e.writeLeafElement(t+":"+r,function(){var t=i[n],r=i[a];l.J(t)||e.writeAttributeString(n,t),l.J(r)||e.writeAttributeString(a,r)})}function ze(e,t){if(!l.J(t)){var r=t.scrgbClr,i=t.srgbClr,n=t.hslClr,a=t.sysClr,o=t.schemeClr,s=t.prstClr,c=t.styleClr;l.J(r)?l.J(i)?l.J(n)?l.J(a)?l.J(o)?l.J(s)?l.J(c)||pr(e,Ne,P,c):fr(e,Ae,F,s):dr(e,Ae,I,o):ur(e,Ae,E,a):cr(e,Ae,k,n):sr(e,Ae,A,i):lr(e,Ae,T,r)}}function je(e,t){var r=t.noFill,i=t.solidFill,n=t.gradFill,a=t.blipFill,o=t.pattFill,s=t.grpFill;l.J(r)?l.J(i)?l.J(n)?l.J(a)?l.J(o)?l.J(s)||_o(e,Ae,B):Lo(e,Ae,N,o):Ro(e,Ae,_,a):Eo(e,Ae,L,n):vr(e,Ae,R,i):vo(e,Ae,D)}function Xe(e,t,r,i){e.writeElement(t+":"+r,function(){i.noFill?Ze(i.noFill,function(){vo(e,Ae,D)}):i.solidFill?Ze(i.solidFill,function(t){vr(e,Ae,R,t)}):i.gradFill?Ze(i.gradFill,function(t){Eo(e,Ae,L,t)}):i.blipFill?Ze(i.blipFill,function(t){Ro(e,Ae,_,t)}):i.pattFill?Ze(i.pattFill,function(t){Lo(e,Ae,N,t)}):i.grpFill&&Ze(i.grpFill,function(){_o(e,Ae,B)})})}function Ke(e,t){Ze(t.tint,function(t){Qt(e,Ae,"tint",t)}),Ze(t.shade,function(t){Qt(e,Ae,"shade",t)}),Ze(t.comp,function(){rr(e,Ae,"comp")}),Ze(t.inv,function(){ir(e,Ae,"inv")}),Ze(t.gray,function(){nr(e,Ae,"gray")}),Ze(t.alpha,function(t){Qt(e,Ae,"alpha",t)}),Ze(t.alphaMod,function(t){qt(e,Ae,"alphaMod",t)}),Ze(t.alphaOff,function(t){Yt(e,Ae,"alphaOff",t)}),Ze(t.hue,function(t){Xt(e,Ae,"hue",t)}),Ze(t.hueMod,function(t){qt(e,Ae,"hueMod",t)}),Ze(t.hueOff,function(t){jt(e,Ae,"hueOff",t)}),Ze(t.sat,function(t){Kt(e,Ae,"sat",t)}),Ze(t.satMod,function(t){Kt(e,Ae,"satMod",t)}),Ze(t.satOff,function(t){Kt(e,Ae,"satOff",t)}),Ze(t.lum,function(t){Kt(e,Ae,"lum",t)}),Ze(t.lumMod,function(t){Kt(e,Ae,"lumMod",t)}),Ze(t.lumOff,function(t){Kt(e,Ae,"lumOff",t)}),Ze(t.red,function(t){Kt(e,Ae,"red",t)}),Ze(t.redMod,function(t){Kt(e,Ae,"redMod",t)}),Ze(t.redOff,function(t){Kt(e,Ae,"redOff",t)}),Ze(t.green,function(t){Kt(e,Ae,"green",t)}),Ze(t.greenMod,function(t){Kt(e,Ae,"greenMod",t)}),Ze(t.greenOff,function(t){Kt(e,Ae,"greenOff",t)}),Ze(t.blue,function(t){Kt(e,Ae,"blue",t)}),Ze(t.blueMod,function(t){Kt(e,Ae,"blueMod",t)}),Ze(t.blueOff,function(t){Kt(e,Ae,"blueOff",t)}),Ze(t.gamma,function(){ar(e,Ae,"gamma")}),Ze(t.invGamma,function(){or(e,Ae,"invGamma")})}function qe(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.wireframe,r=i.bandFmts,n=i.extLst;l.J(t)||kr(e,Fe,"wireframe",t),Ze(i.ser,function(t){Ji(e,Fe,re,t)}),l.J(r)||pn(e,Fe,"bandFmts",r),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(n)||Rr(e,Fe,g,n)})}function Ye(e,t,r,i,n){e.writeElement(t+":"+r,function(){var t=i.cNvPr;l.J(t)||Ma(e,n,b,t),Ja(e,n,ve)})}function Qe(e,t){var r=t.axId,i=t.scaling,n=t.delete,a=t.axPos,o=t.majorGridlines,s=t.minorGridlines,c=t.title,u=t.numFmt,d=t.majorTickMark,f=t.minorTickMark,p=t.tickLblPos,h=t.spPr,m=t.txPr,g=t.crossAx,b=t.crosses,w=t.crossesAt;l.J(r)||Fr(e,Fe,ne,r),l.J(i)||Rn(e,Fe,le,i),l.J(n)||kr(e,Fe,M,n),l.J(a)||gn(e,Fe,se,a),l.J(o)||Vi(e,Fe,ce,o),l.J(s)||Vi(e,Fe,ue,s),l.J(c)||Qr(e,Fe,de,c),l.J(u)||mi(e,Fe,fe,u),l.J(d)||Cn(e,Fe,pe,d),l.J(f)||Cn(e,Fe,he,f),l.J(p)||Sn(e,Fe,me,p),l.J(h)||Cl(e,Fe,G,h),l.J(m)||Ss(e,Fe,H,m),l.J(g)||Fr(e,Fe,ge,g),l.J(b)||bn(e,Fe,be,b),l.J(w)||Er(e,Fe,"crossesAt",w)}function Ze(e,t){var r,i,n;if(!l.J(e))for(r=0,i=e.length;r<i;r++)n=e[r],l.J(n)||t(n,r)}function $e(e,t){var r=t.idx,i=t.order,n=t.tx,a=t.spPr,o=t.marker,s=t.dLbls,c=t.smooth,u=t.extLst;l.J(r)||Ir(e,Fe,"idx",r),l.J(i)||Ir(e,Fe,Q,i),l.J(n)||jr(e,Fe,"tx",n),l.J(a)||Cl(e,Fe,G,a),l.J(o)||vi(e,Fe,W,o),Ze(t.dPt,function(t){xi(e,Fe,"dPt",t)}),l.J(s)||Ci(e,Fe,$,s),Ze(t.trendline,function(t){Ii(e,Fe,ee,t)}),Ze(t.errBars,function(t){Ri(e,Fe,te,t)}),l.J(c)||kr(e,Fe,"smooth",c),l.J(u)||Rr(e,Fe,g,u)}function et(e,t){var r=t.idx,i=t.order,n=t.tx,a=t.spPr,o=t.pictureOptions,s=t.dLbls,c=t.cat,u=t.val,d=t.extLst;l.J(r)||Ir(e,Fe,"idx",r),l.J(i)||Ir(e,Fe,Q,i),l.J(n)||jr(e,Fe,"tx",n),l.J(a)||Cl(e,Fe,G,a),l.J(o)||En(e,Fe,Y,o),Ze(t.dPt,function(t){xi(e,Fe,"dPt",t)}),l.J(s)||Ci(e,Fe,$,s),Ze(t.trendline,function(t){Ii(e,Fe,ee,t)}),Ze(t.errBars,function(t){Ri(e,Fe,te,t)}),l.J(c)||zr(e,Fe,"cat",c),l.J(u)||Br(e,Fe,f,u),l.J(d)||Rr(e,Fe,g,d)}function tt(e,t){t.noGrp===!0&&e.writeAttributeString("noGrp","1"),t.noSelect===!0&&e.writeAttributeString("noSelect","1"),t.noRot===!0&&e.writeAttributeString("noRot","1"),t.noChangeAspect===!0&&e.writeAttributeString("noChangeAspect","1"),t.noMove===!0&&e.writeAttributeString("noMove","1"),t.noResize===!0&&e.writeAttributeString("noResize","1"),t.noEditPoints===!0&&e.writeAttributeString("noEditPoints","1"),t.noAdjustHandles===!0&&e.writeAttributeString("noAdjustHandles","1"),t.noChangeArrowheads===!0&&e.writeAttributeString("noChangeArrowheads","1"),t.noChangeShapeType===!0&&e.writeAttributeString("noChangeShapeType","1")}function rt(e,t){var r=t.numFmt,i=t.spPr,n=t.txPr,a=t.dLblPos,o=t.showLegendKey,s=t.showVal,c=t.showCatName,u=t.showSerName,d=t.showPercent,f=t.showBubbleSize;l.J(r)||mi(e,Fe,fe,r),l.J(i)||Cl(e,Fe,G,i),l.J(n)||Ss(e,Fe,H,n),l.J(a)||bi(e,Fe,"dLblPos",a),l.J(o)||kr(e,Fe,"showLegendKey",o),l.J(s)||kr(e,Fe,"showVal",s),l.J(c)||kr(e,Fe,"showCatName",c),l.J(u)||kr(e,Fe,"showSerName",u),l.J(d)||kr(e,Fe,"showPercent",d),l.J(f)||kr(e,Fe,"showBubbleSize",f),l.J(t.separator)||e.writeElementString("c:separator",t.separator)}function it(e,t){var r=t.sx,n=t.sy,a=t.kx,o=t.ky,s=t.algn;l.J(r)||1e5===r||e.writeAttributeString("sx",r),l.J(n)||1e5===n||e.writeAttributeString("sy",n),l.J(a)||0===a||e.writeAttributeString("kx",a),l.J(o)||0===o||e.writeAttributeString("ky",o),l.J(s)||7===s||e.writeAttributeString("algn",i.Charts.ST_RectAlignment[s]),t.rotWithShape===!1&&e.writeAttributeString(Ce,"0")}function nt(e,t,r,i,n,a){e.writeElement(t+":"+r,function(){var t=i.macro,r=i.textlink;l.J(t)||e.writeAttributeString(w,t),l.J(r)||e.writeAttributeString("textlink",u(r)),i.fLocksText===!1&&e.writeAttributeString("fLocksText","0"),i.fPublished===!0&&e.writeAttributeString(y,"1")},function(){var t=i.nvSpPr,r=i.spPr,o=i.style,s=i.txBody;l.J(t)||a(e,n,"nvSpPr",t),l.J(r)||Cl(e,n,G,r,!1),l.J(o)||xl(e,n,we,o),l.J(s)||Ss(e,n,"txBody",s)})}function at(e,t,r,i,n){e.writeElement(t+":"+r,function(){var t=i.cNvPr,r=i.cNvSpPr;l.J(t)||Ma(e,n,b,t),l.J(r)||Oa(e,n,"cNvSpPr",r)})}function ot(e,t,r){var i,n,a=t.ext,o=t.sp,s=t.grpSp,c=t.graphicFrame,u=t.cxnSp,d=t.pic,f=t.AlternateContent,p=t.clientData;!a&&r&&(i=t.width,n=t.height,isNaN(i)||isNaN(n)||(a={cx:i,cy:n})),l.J(a)||tr(e,Ie,x,a,!0),l.J(o)||Il(e,Ie,"sp",o),l.J(s)||Kl(e,Ie,V,s),l.J(c)||zl(e,Ie,v,c),l.J(u)||Ll(e,Ie,z,u),l.J(d)||Jl(e,Ie,"pic",d),!l.J(f),l.J(p)||Tl(e,Ie,Te,p)}function lt(e,t){for(var r in t.attribute)t.attribute.hasOwnProperty(r)&&e.writeAttributeString(r,t.attribute[r])}function st(e,t,r,i){e.writeLeafElement(r+":"+i,function(){e.writeAttributeString("val",""+t.val)})}function ct(e,t){var r=t.value;Ge(r)||e.writeValue(r)}function ut(e,t,r,i){e.writeElement(r+":"+i,function(){Ge(t.idx)||e.writeAttributeString("idx",t.idx)},function(){ct(e,t)})}function dt(e,t,r){l.J(t.tx)||Oe.WriteCT_Text(e,r,"tx","",t.tx),l.J(t.spPr)||Cl(e,r,"spPr",t.spPr),l.J(t.txPr)||Ss(e,r,"txPr",t.txPr),l.J(t.extLst)||Oe.WriteCT_ExtensionList(e,r,"extLst","",t.extLst)}function ft(e,t,r,n){e.writeLeafElement(r+":"+n,function(){e.writeAttributeString("entityType",i.Charts.ST_EntityType[t.entityType]),l.J(t.entityId)||e.writeAttributeString("entityId",""+t.entityId)})}function pt(e,t,r){l.J(t.spPr)||Cl(e,r,"spPr",t.spPr),l.J(t.extLst)||Oe.WriteCT_ExtensionList(e,r,"extLst","",t.extLst)}function ht(e,t){l.J(t.name)||e.writeAttributeString(p,t.name)}function mt(e,t){Ge(t.name)||e.writeAttributeString(p,t.name)}function gt(e,r){e.writeAttributeString("xmlns:c15",t.DrawingWriter.c15),l.J(r.uri)||e.writeAttributeString("uri",r.uri)}function bt(e,t,r){l.J(t.id)||e.writeAttributeString(r,t.id)}function wt(e,t){l.J(t.extLst)||hr(e,Ae,g,t.extLst)}function Ct(e,t){l.J(t.rot)||Sr(e,Ae,"rot",t.rot)}function St(e,t){l.J(t.blend)||e.writeAttributeString("blend",i.Charts.ST_BlendMode[t.blend])}function yt(e,t){l.J(t.pos)||zo(e,Ae,"pos",t.pos)}function vt(e,t){Ze(t.pt,function(t){zo(e,Ae,"pt",t)})}function xt(e,t){l.J(t.avLst)||Vo(e,Ae,"avLst",t.avLst)}function Tt(e,t){var r=t.bwMode;l.J(r)||0===r||e.writeAttributeString("bwMode",i.Charts.ST_BlackWhiteMode[r])}function At(e,t){l.J(t.idx)||e.writeAttributeString("idx",t.idx)}function kt(e,t){var r=t.macro;l.J(r)||e.writeAttributeString(w,r),t.fPublished===!0&&e.writeAttributeString(y,"1")}function Et(e,t){var r=t.macro;Ge(r)||e.writeAttributeString(w,r),t.fPublished===!0&&e.writeAttributeString(y,"1")}Oe.WriteCT_ChartStyle=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){var t=n.attribute,r=t.cs,i=t.a,a=t.id;Ge(r)||e.writeAttributeString("xmlns:cs",r),Ge(i)||e.writeAttributeString("xmlns:a",i),Ge(a)||e.writeAttributeString("id",a)},function(){var t,r;for(t in n)"attribute"!==t&&("dataPointMarkerLayout"===t?Oe.WriteCT_DataPointMarkerLayout(e,Ne,t,i,n[t]):"extLst"===t?(r=n.extLst,l.J(r)||hr(e,Ae,g,r)):Oe.WriteCT_ChartStyleElement(e,Ne,t,i,n[t]))})},Oe.WriteCT_ChartStyleElement=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){lt(e,n)},function(){var r=n.lnRef,i=n.fillRef,a=n.effectRef,o=n.fontRef,s=n.spPr,c=n.defRPr,u=n.bodyPr;l.J(r)||yl(e,Ne,"lnRef",r),l.J(i)||yl(e,Ne,"fillRef",i),l.J(a)||yl(e,Ne,"effectRef",a),l.J(o)||vl(e,Ne,"fontRef",o),l.J(s)||Cl(e,t,"spPr",n.spPr),l.J(c)||Ls(e,Ne,"defRPr",c),l.J(u)||Cs(e,Ne,"bodyPr",u)})},Oe.WriteCT_DataPointMarkerLayout=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){lt(e,n)})},Oe.WriteCT_ChartColors=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){var t=n.attribute,r=t.cs,i=t.a,a=t.id,o=t.meth;Ge(r)||e.writeAttributeString("xmlns:cs",r),Ge(i)||e.writeAttributeString("xmlns:a",i),Ge(o)||e.writeAttributeString("meth",o),Ge(a)||e.writeAttributeString("id",a)},function(){var t,r,a=n.schemeClr,o=n.variation;if(Ze(a,function(t){dr(e,Ae,I,t)}),!l.J(o))for(t=0;t<o.length;t++)r=o[t],Oe.WriteCT_Variation(e,Ne,"variation",i,r)})},Oe.WriteCT_Variation=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){if(n){var t=n.lumMod,r=n.lumOff;l.J(t)||Kt(e,Ae,"lumMod",t),l.J(r)||Kt(e,Ae,"lumOff",r)}})},Oe.WriteCT_Extension=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){l.J(n.uri)||e.writeAttributeString("uri",""+n.uri)})},Oe.WriteCT_ExtensionList=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){if(n&&n.ext&&n.ext.length>0)for(var r=0;r<n.ext.length;r++)l.J(n.ext[r])||Oe.WriteCT_Extension(e,t,"ext","",n.ext[r])})},Oe.WriteCT_NumberFormat=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){l.J(n.formatCode)||e.writeAttributeString("formatCode",u(n.formatCode)),e.writeAttributeString("sourceLinked",n.sourceLinked?"1":"0")})},Oe.WriteCT_ValueColors=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){l.J(n.minColor)||vr(e,t,"minColor",n.minColor),l.J(n.midColor)||vr(e,t,"midColor",n.midColor),l.J(n.maxColor)||vr(e,t,"maxColor",n.maxColor)})},Oe.WriteCT_ExternalData=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){l.J(n.id)||e.writeAttributeString("id",""+n.id),e.writeAttributeString("autoUpdate",n.autoUpdate?"1":"0")})},Oe.WriteCT_Formula=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){Ge(a.dir)||e.writeAttributeString("dir",i.Charts.ST_FormulaDirection[a.dir])},function(){var t=a.formula;Ge(t)||e.writeValue(t)})},Oe.WriteCT_Value=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){ct(e,n)})},Oe.WriteCT_DataId=function(e,t,r,i,n){st(e,n,t,r)},Oe.WriteST_AxisId=function(e,t,r,i,n){st(e,n,t,r)},Oe.WriteCT_StringValue=function(e,t,r,i,n){ut(e,n,t,r)},Oe.WriteCT_StringLevel=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){e.writeAttributeString("ptCount",""+n.ptCount),l.J(n.name)||e.writeAttributeString("name",""+n.name)},function(){for(var r=0;r<n.pt.length;r++)l.J(n.pt[r])||Oe.WriteCT_StringValue(e,t,"pt","",n.pt[r])})},Oe.WriteCT_StringDimension=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){e.writeAttributeString("type",i.Charts.ST_StringDimensionType[a.type])},function(){if(a.lvl&&a.lvl.length>0)for(var r=0;r<a.lvl.length;r++)l.J(a.lvl[r])||Oe.WriteCT_StringLevel(e,t,"lvl","",a.lvl[r]);l.J(a.nf)||Oe.WriteCT_Formula(e,t,"nf","",a.nf),l.J(a.f)||Oe.WriteCT_Formula(e,t,"f","",a.f)})},Oe.WriteCT_NumericValue=function(e,t,r,i,n){ut(e,n,t,r)},Oe.WriteCT_NumericLevel=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){e.writeAttributeString("ptCount",""+n.ptCount),l.J(n.formatCode)||e.writeAttributeString("formatCode",""+n.formatCode),l.J(n.name)||e.writeAttributeString("name",""+n.name)},function(){for(var r=0;r<n.pt.length;r++)l.J(n.pt[r])||Oe.WriteCT_NumericValue(e,t,"pt","",n.pt[r])})},Oe.WriteCT_NumericDimension=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){e.writeAttributeString("type",i.Charts.ST_NumericDimensionType[a.type])},function(){if(a.lvl&&a.lvl.length>0)for(var r=0;r<a.lvl.length;r++)l.J(a.lvl[r])||Oe.WriteCT_NumericLevel(e,t,"lvl","",a.lvl[r]);l.J(a.nf)||Oe.WriteCT_Formula(e,t,"nf","",a.nf),l.J(a.f)||Oe.WriteCT_Formula(e,t,"f","",a.f)})},Oe.WriteCT_Data=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){e.writeAttributeString("id",""+n.id)},function(){var r;if(l.J(n.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",n.extLst),n.numDim&&n.numDim.length>0)for(r=0;r<n.numDim.length;r++)l.J(n.numDim[r])||Oe.WriteCT_NumericDimension(e,t,"numDim","",n.numDim[r]);if(n.strDim&&n.strDim.length>0)for(r=0;r<n.strDim.length;r++)l.J(n.strDim[r])||Oe.WriteCT_StringDimension(e,t,"strDim","",n.strDim[r])})},Oe.WriteCT_ChartData=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){l.J(n.externalData)||Oe.WriteCT_ExternalData(e,t,"externalData","",n.externalData);var r;for(r=0;r<n.data.length;r++)l.J(n.data[r])||Oe.WriteCT_Data(e,t,"data","",n.data[r]);l.J(n.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",n.extLst)})},Oe.WriteCT_TextData=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){l.J(n.f)||Oe.WriteCT_Formula(e,t,"f","",n.f),l.J(n.v)||Oe.WriteCT_Value(e,t,"v","",n.v)})},Oe.WriteCT_Text=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){l.J(n.txData)?l.J(n.rich)||Ss(e,t,"rich",n.rich):Oe.WriteCT_TextData(e,t,"txData","",n.txData)})},Oe.WriteCT_ChartTitle=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){l.J(a.pos)||e.writeAttributeString("pos",i.Charts.ST_SidePos[a.pos]),l.J(a.align)||e.writeAttributeString("align",i.Charts.ST_PosAlign[a.align]),l.J(a.overlay)||e.writeAttributeString("overlay",a.overlay?"1":"0")},function(){dt(e,a,t)})},Oe.WriteCT_CategoryAxisScaling=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){l.J(n.gapWidth)||e.writeAttributeString("gapWidth",""+n.gapWidth)})},Oe.WriteCT_ValueAxisScaling=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){l.J(n.max)||e.writeAttributeString("max",""+n.max),l.J(n.min)||e.writeAttributeString("min",""+n.min),l.J(n.majorUnit)||e.writeAttributeString("majorUnit",""+n.majorUnit),l.J(n.minorUnit)||e.writeAttributeString("minorUnit",""+n.minorUnit)})},Oe.WriteCT_AxisTitle=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){dt(e,n,t)})},Oe.WriteCT_AxisUnitsLabel=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){l.J(n.tx)||Oe.WriteCT_Text(e,t,"tx","",n.tx),l.J(n.spPr)||Cl(e,"cx","spPr",n.spPr),l.J(n.txPr)||Ss(e,t,"txPr",n.txPr),l.J(n.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",n.extLst)})},Oe.WriteCT_AxisUnits=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){e.writeAttributeString("unit",i.Charts.ST_AxisUnit[a.unit])},function(){l.J(a.unitsLabel)||Oe.WriteCT_AxisUnitsLabel(e,t,"unitsLabel","",a.unitsLabel),l.J(a.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",a.extLst)})},Oe.WriteCT_Gridlines=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){n&&!l.J(n.spPr)&&Cl(e,"cx","spPr",n.spPr),n&&!l.J(n.extLst)&&Oe.WriteCT_ExtensionList(e,t,"extLst","",n.extLst)})},Oe.WriteCT_TickMarks=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){e.writeAttributeString("type",i.Charts.ST_TickMarksType[a])},function(){l.J(a.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",a.extLst)})},Oe.WriteCT_TickLabels=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){n&&!l.J(n.extLst)&&Oe.WriteCT_ExtensionList(e,t,"extLst","",n.extLst)})},Oe.WriteCT_Axis=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){var t=n.id?n.id:1;e.writeAttributeString("id",""+t),n.hidden!==!1&&e.writeAttributeString("hidden",n.hidden?"1":"0")},function(){if(l.J(n.title)||Oe.WriteCT_AxisTitle(e,t,"title","",n.title),l.J(n.units)||Oe.WriteCT_AxisUnits(e,t,"units","",n.units),l.J(n.majorGridlines)||Oe.WriteCT_Gridlines(e,t,"majorGridlines","",n.majorGridlines),l.J(n.minorGridlines)||Oe.WriteCT_Gridlines(e,t,"minorGridlines","",n.minorGridlines),l.J(n.majorTickMarks)||Oe.WriteCT_TickMarks(e,t,"majorTickMarks","",n.majorTickMarks),l.J(n.minorTickMarks)||Oe.WriteCT_TickMarks(e,t,"minorTickMarks","",n.minorTickMarks),Oe.WriteCT_TickLabels(e,t,"tickLabels","",n.tickLabels),l.J(n.numFmt)||Oe.WriteCT_NumberFormat(e,t,"numFmt","",n.numFmt),l.J(n.spPr)||Cl(e,t,"spPr",n.spPr),l.J(n.txPr)||Ss(e,t,"txPr",n.txPr),l.J(n.catScaling)){var r=n.valScaling||{};Oe.WriteCT_ValueAxisScaling(e,t,"valScaling","",r)}else Oe.WriteCT_CategoryAxisScaling(e,t,"catScaling","",n.catScaling);l.J(n.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",n.extLst)})},Oe.WriteCT_ParentLabelLayout=function(e,t,r,n,a){e.writeLeafElement(t+":"+r,function(){e.writeAttributeString("val",i.Charts.ST_ParentLabelLayout[a.val])})},Oe.WriteCT_RegionLabelLayout=function(e,t,r,n,a){e.writeLeafElement(t+":"+r,function(){e.writeAttributeString("val",i.Charts.ST_RegionLabelLayout[a.val])})},Oe.WriteCT_SeriesElementVisibilities=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){e.writeAttributeString("connectorLines",n.connectorLines?"1":"0"),e.writeAttributeString("meanLine",n.meanLine?"1":"0"),e.writeAttributeString("meanMarker",n.meanMarker?"1":"0"),e.writeAttributeString("nonoutliers",n.nonoutliers?"1":"0"),e.writeAttributeString("outliers",n.outliers?"1":"0")})},Oe.WriteCT_Aggregation=function(e,t,r){e.writeLeafElement(t+":"+r,null)},Oe.WriteCT_Binning=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){e.writeAttributeString("intervalClosed",i.Charts.ST_IntervalClosedSide[a.intervalClosed]),l.J(a.underflow)||e.writeAttributeString("underflow",""+a.underflow),l.J(a.overflow)||e.writeAttributeString("overflow",""+a.overflow)},function(){l.J(a.binSize)||Oe.WriteBinSize(e,t,"binSize","",a.binSize),l.J(a.binCount)||Oe.WriteBinCount(e,t,"binCount","",a.binCount)})},Oe.WriteBinSize=function(e,t,r,i,n){st(e,n,t,r)},Oe.WriteBinCount=function(e,t,r,i,n){st(e,n,t,r)},Oe.WriteCT_GeoLocationQuery=function(e,t,r,n,a){e.writeLeafElement(t+":"+r,function(){l.J(a.countryRegion)||e.writeAttributeString("countryRegion",""+a.countryRegion),l.J(a.adminDistrict1)||e.writeAttributeString("adminDistrict1",""+a.adminDistrict1),l.J(a.adminDistrict2)||e.writeAttributeString("adminDistrict2",""+a.adminDistrict2),l.J(a.postalCode)||e.writeAttributeString("postalCode",""+a.postalCode),e.writeAttributeString("entityType",i.Charts.ST_EntityType[a.entityType])})},Oe.WriteCT_Address=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){l.J(n.address1)||e.writeAttributeString("address1",""+n.address1),l.J(n.countryRegion)||e.writeAttributeString("countryRegion",""+n.countryRegion),l.J(n.adminDistrict1)||e.writeAttributeString("adminDistrict1",""+n.adminDistrict1),l.J(n.adminDistrict2)||e.writeAttributeString("adminDistrict2",""+n.adminDistrict2),l.J(n.postalCode)||e.writeAttributeString("postalCode",""+n.postalCode),l.J(n.locality)||e.writeAttributeString("locality",""+n.locality),l.J(n.isoCountryCode)||e.writeAttributeString("isoCountryCode",""+n.isoCountryCode)})},Oe.WriteCT_GeoLocation=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){e.writeAttributeString("latitude",""+a.latitude),e.writeAttributeString("longitude",""+a.longitude),l.J(a.entityName)||e.writeAttributeString("entityName",""+a.entityName),e.writeAttributeString("entityType",i.Charts.ST_EntityType[a.entityType])},function(){l.J(a.address)||Oe.WriteCT_Address(e,t,"address","",a.address)})},Oe.WriteCT_GeoLocations=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){l.J(n.geoLocation)||Oe.WriteCT_GeoLocation(e,t,"geoLocation","",n.geoLocation)})},Oe.WriteCT_GeoLocationQueryResult=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){l.J(n.geoLocationQuery)||Oe.WriteCT_GeoLocationQuery(e,t,"geoLocationQuery","",n.geoLocationQuery),l.J(n.geoLocations)||Oe.WriteCT_GeoLocations(e,t,"geoLocations","",n.geoLocations)})},Oe.WriteCT_GeoLocationQueryResults=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){for(var r=0;r<n.geoLocationQueryResult.length;r++)l.J(n.geoLocationQueryResult[r])||Oe.WriteCT_GeoLocationQueryResult(e,t,"geoLocationQueryResult","",n.geoLocationQueryResult[r])})},Oe.WriteCT_GeoPolygon=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){l.J(n.polygonId)||e.writeAttributeString("polygonId",""+n.polygonId),e.writeAttributeString("numPoints",""+n.numPoints),l.J(n.pcaRings)||e.writeAttributeString("pcaRings",""+n.pcaRings)})},Oe.WriteCT_GeoPolygons=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){for(var r=0;r<n.geoPolygon.length;r++)l.J(n.geoPolygon[r])||Oe.WriteCT_GeoPolygon(e,t,"geoPolygon","",n.geoPolygon[r])})},Oe.WriteCT_Copyrights=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){var r,i=n.copyright;if(!l.J(i))for(r=0;r<i.length;r++)e.writeElementString(t+":copyright",""+i[r])})},Oe.WriteCT_GeoData=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){l.J(n.entityName)||e.writeAttributeString("entityName",""+n.entityName),l.J(n.entityId)||e.writeAttributeString("entityId",""+n.entityId),e.writeAttributeString("east",""+n.east),e.writeAttributeString("west",""+n.west),e.writeAttributeString("north",""+n.north),e.writeAttributeString("south",""+n.south)},function(){var r;for(r=0;r<n.geoPolygons.length;r++)l.J(n.geoPolygons[r])||Oe.WriteCT_GeoPolygon(e,t,"geoPolygons","",n.geoPolygons[r]);for(r=0;r<n.copyrights.length;r++)l.J(n.copyrights[r])||Oe.WriteCT_Copyrights(e,t,"copyrights","",n.copyrights)})},Oe.WriteCT_GeoDataEntityQuery=function(e,t,r,i,n){
39
+ ft(e,n,t,r)},Oe.WriteCT_GeoDataEntityQueryResult=function(e,t,r,i,n){e.writeElement(t+":"+r,d,function(){l.J(n.geoDataEntityQuery)||Oe.WriteCT_GeoDataEntityQuery(e,t,"geoDataEntityQuery","",n.geoDataEntityQuery),l.J(n.geoData)||Oe.WriteCT_GeoData(e,t,"geoData","",n.geoData)})},Oe.WriteCT_GeoDataEntityQueryResults=function(e,t,r,i,n){e.writeElement(t+":"+r,d,function(){for(var r=0;r<n.geoDataEntityQueryResult.length;r++)l.J(n.geoDataEntityQueryResult[r])||Oe.WriteCT_GeoDataEntityQueryResult(e,t,"geoDataEntityQueryResult","",n.geoDataEntityQueryResult[r])})},Oe.WriteCT_GeoDataPointQuery=function(e,t,r,n,a){e.writeLeafElement(t+":"+r,function(){e.writeAttributeString("entityType",i.Charts.ST_EntityType[a.entityType]),e.writeAttributeString("latitude",""+a.latitude),e.writeAttributeString("longitude",""+a.longitude)})},Oe.WriteCT_GeoDataPointToEntityQuery=function(e,t,r,i,n){ft(e,n,t,r)},Oe.WriteCT_GeoDataPointToEntityQueryResult=function(e,t,r,i,n){e.writeElement(t+":"+r,d,function(){l.J(n.geoDataPointQuery)||Oe.WriteCT_GeoDataPointQuery(e,t,"geoDataPointQuery","",n.geoDataPointQuery),l.J(n.geoDataPointToEntityQuery)||Oe.WriteCT_GeoDataPointToEntityQuery(e,t,"geoDataPointToEntityQuery","",n.geoDataPointToEntityQuery)})},Oe.WriteCT_GeoDataPointToEntityQueryResults=function(e,t,r,i,n){e.writeElement(t+":"+r,d,function(){for(var r=0;r<n.geoDataPointToEntityQueryResult.length;r++)l.J(n.geoDataPointToEntityQueryResult[r])||Oe.WriteCT_GeoDataPointToEntityQueryResult(e,t,"geoDataPointToEntityQueryResult","",n.geoDataPointToEntityQueryResult[r])})},Oe.WriteCT_GeoChildTypes=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){var r,i=n.entityType;if(i&&i.length>0)for(r=0;r<i.length;r++)e.writeElementString(t+":entityType",""+i[r])})},Oe.WriteCT_GeoChildEntitiesQuery=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){l.J(n.entityId)||e.writeAttributeString("entityId",""+n.entityId)},function(){l.J(n.geoChildTypes)||Oe.WriteCT_GeoChildTypes(e,t,"geoChildTypes","",n.geoChildTypes)})},Oe.WriteCT_GeoHierarchyEntity=function(e,t,r,n,a){e.writeLeafElement(t+":"+r,function(){l.J(a.entityName)||e.writeAttributeString("entityName",""+a.entityName),l.J(a.entityId)||e.writeAttributeString("entityId",""+a.entityId),e.writeAttributeString("entityType",i.Charts.ST_EntityType[a.entityType])})},Oe.WriteCT_GeoChildEntities=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){for(var r=0;r<n.geoHierarchyEntity.length;r++)l.J(n.geoHierarchyEntity[r])||Oe.WriteCT_GeoHierarchyEntity(e,t,"geoHierarchyEntity","",n.geoHierarchyEntity[r])})},Oe.WriteCT_GeoChildEntitiesQueryResult=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){l.J(n.geoChildEntitiesQuery)||Oe.WriteCT_GeoChildEntitiesQuery(e,t,"geoChildEntitiesQuery","",n.geoChildEntitiesQuery);for(var r=0;r<n.geoChildEntities.length;r++)l.J(n.geoChildEntities[r])||Oe.WriteCT_GeoHierarchyEntity(e,t,"geoChildEntities","",n.geoChildEntities[r])})},Oe.WriteCT_GeoChildEntitiesQueryResults=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){for(var r=0;r<n.geoChildEntitiesQueryResult.length;r++)l.J(n.geoChildEntitiesQueryResult[r])||Oe.WriteCT_GeoChildEntitiesQueryResult(e,t,"geoChildEntitiesQueryResult","",n.geoChildEntitiesQueryResult[r])})},Oe.WriteCT_Clear=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){l.J(n.geoLocationQueryResults)||Oe.WriteCT_GeoLocationQueryResults(e,t,"geoLocationQueryResults","",n.geoLocationQueryResults),l.J(n.geoDataEntityQueryResults)||Oe.WriteCT_GeoDataEntityQueryResults(e,t,"geoDataEntityQueryResults","",n.geoDataEntityQueryResults),l.J(n.geoDataPointToEntityQueryResults)||Oe.WriteCT_GeoDataPointToEntityQueryResults(e,t,"geoDataPointToEntityQueryResults","",n.geoDataPointToEntityQueryResults),l.J(n.geoChildEntitiesQueryResults)||Oe.WriteCT_GeoChildEntitiesQueryResults(e,t,"geoChildEntitiesQueryResults","",n.geoChildEntitiesQueryResults)})},Oe.WriteCT_GeoCache=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){l.J(n.provider)||e.writeAttributeString("provider",""+n.provider),l.J(n.binary)||e.writeAttributeString("binary",""+n.binary),l.J(n.clear)||Oe.WriteCT_Clear(e,t,"clear",i,n.clear)})},Oe.WriteCT_Geography=function(e,t,r,n,a){e.writeLeafElement(t+":"+r,function(){l.J(a.projectionType)||e.writeAttributeString("projectionType",i.Charts.ST_GeoProjectionType[a.projectionType]),l.J(a.viewedRegionType)||e.writeAttributeString("viewedRegionType",i.Charts.ST_GeoMappingLevel[a.viewedRegionType]),l.J(a.cultureLanguage)||e.writeAttributeString("cultureLanguage",""+a.cultureLanguage),l.J(a.cultureRegion)||e.writeAttributeString("cultureRegion",""+a.cultureRegion),l.J(a.attribution)||e.writeAttributeString("attribution",""+a.attribution),l.J(a.geoCache)||Oe.WriteCT_GeoCache(e,t,"geoCache","",a.geoCache)})},Oe.WriteCT_Statistics=function(e,t,r,n,a){e.writeLeafElement(t+":"+r,function(){e.writeAttributeString("quartileMethod",i.Charts.ST_QuartileMethod[a.quartileMethod])})},Oe.WriteCT_Subtotals=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){var r,i=n.idx,a=function(t){return function(){e.writeAttributeString("val",""+i[t])}};if(i&&i.length>0)for(r=0;r<i.length;r++)e.writeLeafElement(t+":idx",a(r))})},Oe.WriteCT_SeriesLayoutProperties=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){l.J(n.parentLabelLayout)||Oe.WriteCT_ParentLabelLayout(e,t,"parentLabelLayout","",n.parentLabelLayout),l.J(n.regionLabelLayout)||Oe.WriteCT_RegionLabelLayout(e,t,"regionLabelLayout","",n.regionLabelLayout),l.J(n.visibility)||Oe.WriteCT_SeriesElementVisibilities(e,t,"visibility","",n.visibility),l.J(n.geography)||Oe.WriteCT_Geography(e,t,"geography","",n.geography),l.J(n.statistics)||Oe.WriteCT_Statistics(e,t,"statistics","",n.statistics),l.J(n.aggregation)||Oe.WriteCT_Aggregation(e,t,"aggregation"),l.J(n.binning)||Oe.WriteCT_Binning(e,t,"binning","",n.binning),l.J(n.subtotals)||Oe.WriteCT_Subtotals(e,t,"subtotals","",n.subtotals),l.J(n.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",n.extLst)})},Oe.WriteCT_DataPoint=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){e.writeAttributeString("idx",""+n.idx)},function(){l.J(n.spPr)||Cl(e,"cx","spPr",n.spPr),l.J(n.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",n.extLst)})},Oe.WriteCT_ExtremeValueColorPosition=function(e,t,r){e.writeLeafElement(t+":"+r,null)},Oe.WriteCT_NumberColorPosition=function(e,t,r,i,n){st(e,n,t,r)},Oe.WriteCT_PercentageColorPosition=function(e,t,r,i,n){st(e,n,t,r)},Oe.WriteCT_ValueColorEndPosition=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){l.J(n.extremeValue)||Oe.WriteCT_ExtremeValueColorPosition(e,t,"extremeValue"),l.J(n.number)||Oe.WriteCT_NumberColorPosition(e,t,"number","",n.number),l.J(n.percent)||Oe.WriteCT_PercentageColorPosition(e,t,"percent","",n.percent)})},Oe.WriteCT_ValueColorMiddlePosition=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){l.J(n.number)||Oe.WriteCT_NumberColorPosition(e,t,"number","",n.number),l.J(n.percent)||Oe.WriteCT_PercentageColorPosition(e,t,"percent","",n.percent)})},Oe.WriteCT_ValueColorPositions=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){2!==n.count&&e.writeAttributeString("count",""+n.count)},function(){l.J(n.min)&&Oe.WriteCT_ValueColorEndPosition(e,t,"min","",n.min),l.J(n.mid)&&Oe.WriteCT_ValueColorMiddlePosition(e,t,"mid","",n.mid),l.J(n.max)&&Oe.WriteCT_ValueColorEndPosition(e,t,"max","",n.max)})},Oe.WriteCT_DataLabelVisibilities=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){e.writeAttributeString("seriesName",n.seriesName?"1":"0"),e.writeAttributeString("categoryName",n.categoryName?"1":"0"),e.writeAttributeString("value",n.value?"1":"0")})},Oe.WriteCT_DataLabel=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){e.writeAttributeString("idx",""+a.idx),e.writeAttributeString("pos",i.Charts.ST_DataLabelPos[a.pos])},function(){l.J(a.numFmt)||Oe.WriteCT_NumberFormat(e,t,"numFmt","",a.numFmt),l.J(a.spPr)||Cl(e,"cx","spPr",a.spPr),l.J(a.txPr)||Ss(e,t,"txPr",a.txPr),l.J(a.visibility)||Oe.WriteCT_DataLabelVisibilities(e,t,"visibility","",a.visibility),l.J(a.separator)||e.writeElementString(t+":separator",""+a.separator),l.J(a.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",a.extLst)})},Oe.WriteCT_DataLabelHidden=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){e.writeAttributeString("idx",""+n.idx)})},Oe.WriteCT_DataLabels=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){l.J(a.pos)||e.writeAttributeString("pos",i.Charts.ST_DataLabelPos[a.pos])},function(){var r;if(l.J(a.numFmt)||Oe.WriteCT_NumberFormat(e,t,"numFmt","",a.numFmt),l.J(a.spPr)||Cl(e,t,"spPr",a.spPr),l.J(a.txPr)||Ss(e,t,"txPr",a.txPr),l.J(a.visibility)||Oe.WriteCT_DataLabelVisibilities(e,t,"visibility","",a.visibility),l.J(a.separator)||e.writeElementString(t+":separator",""+a.separator),!l.J(a.dataLabel))for(r=0;r<a.dataLabel.length;r++)l.J(a.dataLabel[r])||Oe.WriteCT_DataLabel(e,t,"dataLabel","",a.dataLabel[r]);if(!l.J(a.dataLabelHidden))for(r=0;r<a.dataLabelHidden.length;r++)l.J(a.dataLabelHidden[r])||Oe.WriteCT_DataLabelHidden(e,t,"dataLabelHidden","",a.dataLabelHidden[r]);l.J(a.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",a.extLst)})},Oe.WriteCT_Series=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){e.writeAttributeString("layoutId",i.Charts.ST_SeriesLayout[o.ChartHelper.ToST_SeriesLayout(a.layoutId)]),a.hidden!==!1&&void 0!==a.hidden&&e.writeAttributeString("hidden",a.hidden?"1":"0"),l.J(a.ownerIdx)||e.writeAttributeString("ownerIdx",""+a.ownerIdx),l.J(a.uniqueId)||e.writeAttributeString("uniqueId",""+a.uniqueId),l.J(a.formatIdx)||e.writeAttributeString("formatIdx",""+a.formatIdx)},function(){var r;if(l.J(a.tx)||Oe.WriteCT_Text(e,t,"tx","",a.tx),l.J(a.spPr)||Cl(e,t,"spPr",a.spPr),l.J(a.valueColors)||Oe.WriteCT_ValueColors(e,t,"valueColors","",a.valueColors),l.J(a.valueColorPositions)||Oe.WriteCT_ValueColorPositions(e,t,"valueColorPositions","",a.valueColorPositions),a.dataPt&&a.dataPt.length>0)for(r=0;r<a.dataPt.length;r++)l.J(a.dataPt[r])||Oe.WriteCT_DataPoint(e,t,"dataPt","",a.dataPt[r]);if(l.J(a.dataLabels)||Oe.WriteCT_DataLabels(e,t,"dataLabels","",a.dataLabels),l.J(a.dataId)||Oe.WriteCT_DataId(e,t,"dataId","",a.dataId),l.J(a.layoutPr)||Oe.WriteCT_SeriesLayoutProperties(e,t,"layoutPr","",a.layoutPr),a.axisId&&a.axisId.length>0)for(r=0;r<a.axisId.length;r++)l.J(a.axisId[r])||Oe.WriteST_AxisId(e,t,"axisId","",a.axisId[r]);l.J(a.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",a.extLst)})},Oe.WriteCT_Legend=function(e,t,r,n,a){e.writeElement(t+":"+r,function(){l.J(a.legendPos)||5!==a.legendPos?(l.J(a.legendPos)||e.writeAttributeString("pos",i.Charts.ST_2016ChartPosLegend[a.legendPos]),l.J(a.align)||e.writeAttributeString("align",i.Charts.ST_PosAlign[a.align])):(e.writeAttributeString("pos",i.Charts.ST_2016ChartPosLegend[i.Charts.ST_2016ChartPosLegend.r]),e.writeAttributeString("align",i.Charts.ST_PosAlign[i.Charts.ST_PosAlign.min])),l.J(a.overlay)||e.writeAttributeString("overlay",a.overlay?"1":"0")},function(){l.J(a.spPr)||Cl(e,t,"spPr",a.spPr),l.J(a.txPr)||Ss(e,t,"txPr",a.txPr),l.J(a.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",a.extLst)})},Oe.WriteCT_PlotSurface=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){pt(e,n,t)})},Oe.WriteCT_PlotAreaRegion=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){var r;for(l.J(n.plotSurface)||Oe.WriteCT_PlotSurface(e,t,"plotSurface","",n.plotSurface),r=0;r<n.series.length;r++)l.J(n.series[r])||Oe.WriteCT_Series(e,t,"series","",n.series[r]);l.J(n.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",n.extLst)})},Oe.WriteCT_PlotArea=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){var r;if(l.J(n.plotAreaRegion)||Oe.WriteCT_PlotAreaRegion(e,t,"plotAreaRegion","",n.plotAreaRegion),!l.J(n.axes))for(r=0;r<n.axes.length;r++)l.J(n.axes[r])||Oe.WriteCT_Axis(e,t,"axis","",n.axes[r]);pt(e,n,t)})},Oe.WriteCT_Chart=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){l.J(n.title)||Oe.WriteCT_ChartTitle(e,t,"title","",n.title),l.J(n.plotArea)||Oe.WriteCT_PlotArea(e,t,"plotArea","",n.plotArea),l.J(n.legend)||Oe.WriteCT_Legend(e,t,"legend","",n.legend),l.J(n.extLst)||Oe.WriteCT_ExtensionList(e,t,"extLst","",n.extLst)})},Oe.WriteCT_FormatOverride=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){e.writeAttributeString("idx",""+n.idx)},function(){pt(e,n,t)})},Oe.WriteCT_FormatOverrides=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){for(var r=0;r<n.fmtOvr.length;r++)l.J(n.fmtOvr[r])||Oe.WriteCT_FormatOverride(e,t,"fmtOvr","",n.fmtOvr[r])})},Oe.WriteCT_HeaderFooter=function(e,t,r,i,n){e.writeElement(t+":"+r,function(){e.writeAttributeString("alignWithMargins",n.alignWithMargins?"1":"0"),e.writeAttributeString("differentOddEven",n.differentOddEven?"1":"0"),e.writeAttributeString("differentFirst",n.differentFirst?"1":"0")},function(){l.J(n.oddHeader)||e.writeElementString(t+":oddHeader",""+n.oddHeader),l.J(n.oddFooter)||e.writeElementString(t+":oddFooter",""+n.oddFooter),l.J(n.evenHeader)||e.writeElementString(t+":evenHeader",""+n.evenHeader),l.J(n.evenFooter)||e.writeElementString(t+":evenFooter",""+n.evenFooter),l.J(n.firstHeader)||e.writeElementString(t+":firstHeader",""+n.firstHeader),l.J(n.firstFooter)||e.writeElementString(t+":firstFooter",""+n.firstFooter)})},Oe.WriteCT_PageMargins=function(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){e.writeAttributeString("l",""+n.l),e.writeAttributeString("r",""+n.r),e.writeAttributeString("t",""+n.t),e.writeAttributeString("b",""+n.b),e.writeAttributeString("header",""+n.header),e.writeAttributeString("footer",""+n.footer)})},Oe.WriteCT_PageSetup=function(e,t,r,n,a){e.writeLeafElement(t+":"+r,function(){e.writeAttributeString("paperSize",""+a.paperSize),e.writeAttributeString("firstPageNumber",""+c.convertFirstPageNumberToExcel(a.firstPageNumber)),e.writeAttributeString("orientation",i.Charts.ST_PageOrientation[a.orientation]),e.writeAttributeString("blackAndWhite",a.blackAndWhite?"1":"0"),e.writeAttributeString("draft",a.draft?"1":"0"),e.writeAttributeString("useFirstPageNumber",a.useFirstPageNumber?"1":"0"),e.writeAttributeString("horizontalDpi",""+a.horizontalDpi),e.writeAttributeString("verticalDpi",""+a.verticalDpi),e.writeAttributeString("copies",""+a.copies)})},Oe.WriteCT_PrintSettings=function(e,t,r,i,n){e.writeElement(t+":"+r,null,function(){l.J(n.headerFooter)||Oe.WriteCT_HeaderFooter(e,t,"headerFooter","",n.headerFooter),l.J(n.pageMargins)||Oe.WriteCT_PageMargins(e,t,"pageMargins","",n.pageMargins),l.J(n.pageSetup)||Oe.WriteCT_PageSetup(e,t,"pageSetup","",n.pageSetup)})},Oe.WriteCT_ChartSpace=function(e,r,i,n,a,o){var s=n.chart&&n.chart.plotArea&&n.chart.plotArea.plotAreaRegion&&n.chart.plotArea.plotAreaRegion.series,c=[];s&&s.length>0&&(n.chart.plotArea.plotAreaRegion.series=Oe.TranstateSeriesDataToId(s,a,o,c)),e.writeElement(r+":"+i,function(){e.writeAttributeString("xmlns:a",t.DrawingWriter.a),e.writeAttributeString("xmlns:r",t.DrawingWriter.r),e.writeAttributeString("xmlns:cx",Oe.cx)},function(){var t=n.chartData||{};t.data=c,l.J(t)||Oe.WriteCT_ChartData(e,r,"chartData","",t),l.J(n.chart)||Oe.WriteCT_Chart(e,r,"chart","",n.chart),l.J(n.spPr)||Cl(e,r,"spPr",n.spPr),l.J(n.txPr)||Ss(e,r,"txPr",n.txPr),l.J(n.clrMapOvr)||sa(e,r,"clrMapOvr",n.clrMapOvr),l.J(n.fmtOvrs)||Oe.WriteCT_FormatOverrides(e,r,"fmtOvrs","",n.fmtOvrs),l.J(n.printSettings)||Oe.WriteCT_PrintSettings(e,r,"printSettings","",n.printSettings),l.J(n.extLst)||Oe.WriteCT_ExtensionList(e,r,"extLst","",n.extLst)})},Oe.TranstateSeriesDataToId=function(e,t,r,n){var a,o,s,c,u,d,f,p,h=Oe.TranslateNameSpace(t);for(a=0;a<e.length;a++)o=e[a],s=o.tx&&o.tx.txData&&o.tx.txData.f&&o.tx.txData.f.formula,s&&(c=h[s],c&&(o.tx.txData.f.formula=c)),u=o.formulaObj||{},d=void 0,f={},p=void 0,(u.numDim||u.strDim)&&(o.dataId={val:a}),u.numDim&&(p=r.length>0?r[r.length-1].name:null,d=this.CreateNameByLastName(p),r.push({name:d,formula:u.numDim,hidden:!0}),f.id=a,f.numDim=[],e[0]&&17===e[0].layoutId?f.numDim.push({type:i.Charts.ST_NumericDimensionType.val,f:{formula:d,dir:u.numDimDir}}):f.numDim.push({type:i.Charts.ST_NumericDimensionType.size,f:{formula:d,dir:u.numDimDir}})),u.strDim&&(p=r.length>0?r[r.length-1].name:null,d=this.CreateNameByLastName(p),r.push({name:d,formula:u.strDim,hidden:!0}),f.id=f.id||a,f.strDim=[],f.strDim.push({type:i.Charts.ST_StringDimensionType.cat,f:{formula:d,dir:u.strDimDir}})),l.J(f.id)||n.push(f);return e},Oe.CreateNameByLastName=function(e){e||(e="0"),e=e.replace(Me,"");var t=parseInt(e,10)+1;return Me+t},Oe.TranslateNameSpace=function(e){var t,r,i,n={};for(t=0;t<e.length;t++)r=e[t].name,i=e[t].formula,n[i]=r;return n},Oe.cx="http://schemas.microsoft.com/office/drawing/2014/chartex",t.DrawingWriter.chart2016Write=Oe;function It(e,t,r,i){e.writeElement(t+":"+r,function(){ht(e,i)},function(){var t=i.dk1,r=i.lt1,n=i.dk2,a=i.lt2,o=i.accent1,s=i.accent2,c=i.accent3,u=i.accent4,d=i.accent5,f=i.accent6,p=i.hlink,h=i.folHlink,m=i.extLst;l.J(t)||vr(e,Ae,"dk1",t),l.J(r)||vr(e,Ae,"lt1",r),l.J(n)||vr(e,Ae,"dk2",n),l.J(a)||vr(e,Ae,"lt2",a),l.J(o)||vr(e,Ae,"accent1",o),l.J(s)||vr(e,Ae,"accent2",s),l.J(c)||vr(e,Ae,"accent3",c),l.J(u)||vr(e,Ae,"accent4",u),l.J(d)||vr(e,Ae,"accent5",d),l.J(f)||vr(e,Ae,"accent6",f),l.J(p)||vr(e,Ae,"hlink",p),l.J(h)||vr(e,Ae,"folHlink",h),l.J(m)||hr(e,Ae,g,m)})}t.DrawingWriter.WriteCT_ColorScheme=It;function Ft(e,t,r,i){e.writeElement(t+":"+r,function(){mt(e,i)},function(){ze(e,i)})}t.DrawingWriter.WriteCT_CustomColor=Ft;function Pt(e,t,r,i){e.writeLeafElement(t+":"+r,function(){var t=i.script,r=i.typeface;l.J(t)||e.writeAttributeString("script",t),l.J(r)||e.writeAttributeString("typeface",r)})}t.DrawingWriter.WriteCT_SupplementalFont=Pt;function Dt(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.custClr,function(t){Ft(e,Ae,"custClr",t)})})}t.DrawingWriter.WriteCT_CustomColorList=Dt;function Rt(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.latin,r=i.ea,n=i.cs,a=i.extLst;l.J(t)||Ps(e,Ae,"latin",t),l.J(r)||Ps(e,Ae,"ea",r),l.J(n)||Ps(e,Ae,"cs",n),Ze(i.font,function(t){Pt(e,Ae,"font",t)}),l.J(a)||hr(e,Ae,g,a)})}t.DrawingWriter.WriteCT_FontCollection=Rt;function Lt(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.effectLst,r=i.effectDag,n=i.scene3d,a=i.sp3d;l.J(t)||Uo(e,Ae,C,t),l.J(r)||Oo(e,Ae,S,r),l.J(n)||Ka(e,Ae,O,n),l.J(a)||Qa(e,Ae,"sp3d",a)})}t.DrawingWriter.WriteCT_EffectStyleItem=Lt;function _t(e,t,r,i){e.writeElement(t+":"+r,function(){ht(e,i)},function(){var t=i.majorFont,r=i.minorFont,n=i.extLst;l.J(t)||Rt(e,Ae,"majorFont",t),l.J(r)||Rt(e,Ae,"minorFont",r),l.J(n)||hr(e,Ae,g,n)})}t.DrawingWriter.WriteCT_FontScheme=_t;function Nt(e,t,r,i){Xe(e,t,r,i)}t.DrawingWriter.WriteCT_FillStyleList=Nt;function Bt(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.ln,function(t){bl(e,Ae,"ln",t)})})}t.DrawingWriter.WriteCT_LineStyleList=Bt;function Mt(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.effectStyle,function(t){Lt(e,Ae,"effectStyle",t)})})}t.DrawingWriter.WriteCT_EffectStyleList=Mt;function Ot(e,t,r,i){Xe(e,t,r,i)}t.DrawingWriter.WriteCT_BackgroundFillStyleList=Ot;function Gt(e,t,r,i){e.writeElement(t+":"+r,function(){mt(e,i)},function(){var t=i.fillStyleLst,r=i.lnStyleLst,n=i.effectStyleLst,a=i.bgFillStyleLst;l.J(t)||Nt(e,Ae,"fillStyleLst",t),l.J(r)||Bt(e,Ae,"lnStyleLst",r),l.J(n)||Mt(e,Ae,"effectStyleLst",n),l.J(a)||Ot(e,Ae,"bgFillStyleLst",a)})}t.DrawingWriter.WriteCT_StyleMatrix=Gt;function Ht(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.clrScheme,r=i.fontScheme,n=i.fmtScheme,a=i.extLst;l.J(t)||It(e,Ae,j,t),l.J(r)||_t(e,Ae,X,r),l.J(n)||Gt(e,Ae,K,n),l.J(a)||hr(e,Ae,g,a)})}t.DrawingWriter.WriteCT_BaseStyles=Ht;function Ut(e){return e.map(function(e){return("00"+e.toString(16)).substr(-2)}).join("")}function Jt(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.uri)||e.writeAttributeString("uri",i.uri)},function(){if(l.J(i.dataObject)||e.writeValue(i.dataObject),0===i.hiddenExtensionType&&Ka(e,De,"hiddenScene3d",i.Scene3d),3===i.hiddenExtensionType&&Qa(e,De,"hiddenSp3d",i.Shape3d),1===i.hiddenExtensionType&&No(e,De,"hiddenFill",i.Fill),2===i.hiddenExtensionType&&bl(e,De,"hiddenLine",i.Line),5===i.hiddenExtensionType&&wl(e,i.svgBlip),!l.J(i.creationId)&&i.creationId.length>0)for(var t=0;t<i.creationId.length;t++)zt(e,"a16","creationId",i.creationId[t]);l.J(i.cameraTool)||Wt(e,De,"cameraTool",i.cameraTool),l.J(i.compatExt)||Vt(e,De,"compatExt",i.compatExt)})}t.DrawingWriter.WriteCT_OfficeArtExtension=Jt;function Wt(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.cellRange)||e.writeAttributeString("cellRange",i.cellRange),l.J(i.spid)||e.writeAttributeString("spid","_x0000_s10"+i.spid)})}t.DrawingWriter.WriteCT_cameraTool=Wt;function Vt(e,r,i,n){e.writeLeafElement(r+":"+i,function(){r===De&&e.writeAttributeString("xmlns:a14",t.DrawingWriter.a14),l.J(n.spid)||e.writeAttributeString("spid",n.spid)})}t.DrawingWriter.WriteCT_CompatExt=Vt;function zt(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.name)||e.writeAttributeString("xmlns:a16",""+i.name),l.J(i.id)||e.writeAttributeString("id",""+i.id)})}t.DrawingWriter.WriteCT_creationId=zt;function jt(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_Angle=jt;function Xt(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_PositiveFixedAngle=Xt;function Kt(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_Percentage=Kt;function qt(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_PositivePercentage=qt;function Yt(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_FixedPercentage=Yt;function Qt(e,t,r,i){e.writeLeafElement(t+":"+r,function(){var t,r,n=i;l.J(n)||(t=""+n,r=t.indexOf("."),r!==-1&&t.length>r+3&&(t=Zt(n)),e.writeAttributeString(f,t))})}function Zt(e){var t,r=e.toFixed(2),i=r.substr(-2);return"0"===i[1]&&(t=1,"0"===i[0]&&(t=3),r=r.substr(0,r.length-t)),r}t.DrawingWriter.WriteCT_PositiveFixedPercentage=Qt;function $t(e,t,r,i){Ve(e,t,r,i,"n","d")}t.DrawingWriter.WriteCT_Ratio=$t;function er(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){l.J(n)&&(n=!0);var t=i.x,r=i.y;l.J(t)||(n&&(t=a(t)),e.writeAttributeString("x",t)),l.J(r)||(n&&(r=a(r)),e.writeAttributeString("y",r))})}t.DrawingWriter.WriteCT_Point2D=er;function tr(e,t,r,i,n){e.writeLeafElement(t+":"+r,function(){l.J(n)&&(n=!0);var t=i.cx,r=i.cy;l.J(t)||(n&&(t=a(t)),e.writeAttributeString("cx",t)),l.J(r)||(n&&(r=a(r)),e.writeAttributeString("cy",r))})}t.DrawingWriter.WriteCT_PositiveSize2D=tr;function rr(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_ComplementTransform=rr;function ir(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_InverseTransform=ir;function nr(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_GrayscaleTransform=nr;function ar(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_GammaTransform=ar;function or(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_InverseGammaTransform=or;function lr(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.r)||e.writeAttributeString(Ee,i.r),l.J(i.g)||e.writeAttributeString("g",i.g),l.J(i.b)||e.writeAttributeString("b",i.b)},function(){Ke(e,i)})}t.DrawingWriter.WriteCT_ScRgbColor=lr;function sr(e,t,r,i){e.writeElement(t+":"+r,function(){var t,r=i.val;l.J(r)||(t="string"==typeof r?r:Ut(r),e.writeAttributeString(f,t))},function(){Ke(e,i)})}t.DrawingWriter.WriteCT_SRgbColor=sr;function cr(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.hue1)||e.writeAttributeString("hue",i.hue1),l.J(i.sat1)||e.writeAttributeString("sat",i.sat1),l.J(i.lum1)||e.writeAttributeString("lum",i.lum1)},function(){Ke(e,i)})}t.DrawingWriter.WriteCT_HslColor=cr;function ur(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.val)||e.writeAttributeString(f,i.Charts.ST_SystemColorVal[o.ChartHelper.ToST_SystemColorVal(n.val)]),l.J(n.lastClr)||e.writeAttributeString("lastClr",Ut(n.lastClr))},function(){Ke(e,n)})}t.DrawingWriter.WriteCT_SystemColor=ur;function dr(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.val)||e.writeAttributeString(f,i.Charts.ST_SchemeColorVal[o.ChartHelper.ToST_SchemeColorVal(n.val)])},function(){Ke(e,n)})}t.DrawingWriter.WriteCT_SchemeColor=dr;function fr(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.val)||e.writeAttributeString(f,i.Charts.ST_PresetColorVal[n.val])},function(){Ke(e,n)})}t.DrawingWriter.WriteCT_PresetColor=fr;function pr(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.val)||e.writeAttributeString(f,i.Charts.ST_StyleColorVal[n.val])},function(){Ke(e,n)})}t.DrawingWriter.WriteCT_StyleColor=pr;function hr(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.ext,function(t){l.J(t.uri)&&(t.uri="{96DAC541-7B7A-43D3-8B79-37D633B846F1}"),l.J(t.cameraTool)||(t.uri="{84589F7E-364E-4C9E-8A38-B11213B215E9}"),Jt(e,Ae,x,t)})})}t.DrawingWriter.WriteCT_OfficeArtExtensionList=hr;function mr(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.sx)||$t(e,Ae,"sx",i.sx),l.J(i.sy)||$t(e,Ae,"sy",i.sy)})}t.DrawingWriter.WriteCT_Scale2D=mr;function gr(e,t,r,i,n){e.writeElement(t+":"+r,function(){if(!n){var t=i.rot;l.J(t)||0===t||e.writeAttributeString("rot",parseInt(t,10)),i.flipH===!0&&e.writeAttributeString("flipH","1"),i.flipV===!0&&e.writeAttributeString("flipV","1")}},function(){var t,r;n?(er(e,Ae,"off",{x:0,y:0},!0),tr(e,Ae,x,{cx:0,cy:0},!0)):(t=i.off,l.J(t)||(l.J(t.x)&&(t.x=0),l.J(t.y)&&(t.y=0),er(e,Ae,"off",t,!0)),r=i.ext,l.J(r)||(l.J(r.cx)&&(r.cx=0),l.J(r.cy)&&(r.cy=0),tr(e,Ae,x,r,!0)))})}t.DrawingWriter.WriteCT_Transform2D=gr;function br(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.rot;l.J(t)||0===t||e.writeAttributeString("rot",parseInt(t,10)),i.flipH===!0&&e.writeAttributeString("flipH","1"),i.flipV===!0&&e.writeAttributeString("flipV","1")},function(){var t=i.off,r=i.ext,n=i.chOff,a=i.chExt;l.J(t)||(l.J(t.x)&&(t.x=0),l.J(t.y)&&(t.y=0),er(e,Ae,"off",t,!0)),l.J(r)||(l.J(r.cx)&&(r.cx=0),l.J(r.cy)&&(r.cy=0),tr(e,Ae,x,r,!0)),l.J(n)||er(e,Ae,"chOff",n,!0),l.J(a)||tr(e,Ae,"chExt",a,!0)})}t.DrawingWriter.WriteCT_GroupTransform2D=br;function wr(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.x)||e.writeAttributeString("x",i.x),l.J(i.y)||e.writeAttributeString("y",i.y),l.J(i.z)||e.writeAttributeString("z",i.z)})}t.DrawingWriter.WriteCT_Point3D=wr;function Cr(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.dx)||e.writeAttributeString("dx",i.dx),l.J(i.dy)||e.writeAttributeString("dy",i.dy),l.J(i.dz)||e.writeAttributeString("dz",i.dz)})}t.DrawingWriter.WriteCT_Vector3D=Cr;function Sr(e,t,r,i){var n=!l.J(i.lat),a=!l.J(i.lon),o=!l.J(i.rev);(n||a||o)&&e.writeLeafElement(t+":"+r,function(){n&&e.writeAttributeString("lat",i.lat),a&&e.writeAttributeString("lon",i.lon),o&&e.writeAttributeString("rev",i.rev)})}t.DrawingWriter.WriteCT_SphereCoords=Sr;function yr(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.l)||0===i.l||e.writeAttributeString("l",i.l),l.J(i.t)||0===i.t||e.writeAttributeString("t",i.t),l.J(i.r)||0===i.r||e.writeAttributeString(Ee,i.r),l.J(i.b)||0===i.b||e.writeAttributeString("b",i.b)})}t.DrawingWriter.WriteCT_RelativeRect=yr;function vr(e,t,r,i){e.writeElement(t+":"+r,function(){ze(e,i)})}t.DrawingWriter.WriteCT_Color=vr;function xr(e,t,r,i){e.writeElement(t+":"+r,function(){i.scrgbClr?Ze(i.scrgbClr,function(t){lr(e,Ae,T,t)}):i.srgbClr?Ze(i.srgbClr,function(t){sr(e,Ae,A,t)}):i.hslClr?Ze(i.hslClr,function(t){cr(e,Ae,k,t)}):i.sysClr?Ze(i.sysClr,function(t){ur(e,Ae,E,t)}):i.schemeClr?Ze(i.schemeClr,function(t){dr(e,Ae,I,t)}):i.prstClr&&Ze(i.prstClr,function(t){fr(e,Ae,F,t)})})}t.DrawingWriter.WriteCT_ColorMRU=xr;function Tr(e,t,r,i){e.writeLeafElement(t+":"+r,function(){var t=i.embed,r=i.name;l.J(t)||e.writeAttributeString("embed",t),Ge(r)||e.writeAttributeString(p,r),i.builtIn===!0&&e.writeAttributeString("builtIn","1")})}t.DrawingWriter.WriteCT_EmbeddedWAVAudioFile=Tr;function Ar(e,r,i,n){e.writeElement(r+":"+i,function(){var r,i,a,o=n.action,c=n.tgtFrame,u=n.tooltip;Ge(n.url)||(r="",i=new s.XFile(r,s.RelationshipConstants.gb),a="sjs://",n.url.substring(0,a.length)===a?i.target="#"+l.Util.oa(n.url.replace(a,"")):(i.target=l.Util.oa(n.url),i.targetMode="External"),n.rid=e.currentFile.ze(i),e.writeAttributeString("r:id",n.rid)),e.writeAttributeString("xmlns:r",t.DrawingWriter.r),Ge(o)||e.writeAttributeString("action",n.action),Ge(c)||e.writeAttributeString("tgtFrame",c),Ge(u)||e.writeAttributeString("tooltip",u),n.history===!1&&e.writeAttributeString("history","0"),n.highlightClick===!0&&e.writeAttributeString("highlightClick","1"),n.endSnd===!0&&e.writeAttributeString("endSnd","1")},function(){l.J(n.snd)||Tr(e,Ae,"snd",n.snd),l.J(n.extLst)||hr(e,Ae,g,n.extLst)})}t.DrawingWriter.WriteCT_Hyperlink=Ar;function kr(e,t,r,i){e.writeLeafElement(t+":"+r,function(){e.writeAttributeString(f,i?"1":"0")})}t.DrawingWriter.WriteCT_Boolean=kr;function Er(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_Double=Er;function Ir(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_UnsignedInt=Ir;function Fr(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_Int=Fr;function Pr(e,t,r,i){Ue(e,t,r,i.id,"id")}t.DrawingWriter.WriteCT_RelId=Pr;function Dr(e,r,i,n){e.writeElement(r+":"+i,function(){l.J(n.uri)||e.writeAttributeString("uri",n.uri),e.writeAttributeString("xmlns:c14",t.DrawingWriter.c14)},function(){var t=n.dataObject;t&&(0===t.extDataType?la(e,Re,"invertSolidFillFmt",t):1===t.extDataType?va(e,Pe,"datalabelsRange",t):2===t.extDataType&&zn(e,Be,"dataDisplayOptions16",t))})}t.DrawingWriter.WriteCT_Extension=Dr;function Rr(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.ext,function(t){Dr(e,Fe,x,t)})})}t.DrawingWriter.WriteCT_ExtensionList=Rr;function Lr(e,t,r,i,n){e.writeElement(t+":"+r,function(){l.J(n)||e.writeAttributeString("idx",n)},function(){if(!l.J(i)){var t=i.replace(/,/g,"");e.writeElementString("c:v",t)}})}t.DrawingWriter.WriteCT_NumVal=Lr;function _r(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.ptCount,r=i.extLst;l.J(i.formatCode)||e.writeElementString("c:formatCode",u(i.formatCode)),l.J(t)||Ir(e,Fe,"ptCount",t),Ze(i.pt,function(t,r){Lr(e,Fe,"pt",t,r)}),l.J(r)||Rr(e,Fe,g,r)})}t.DrawingWriter.WriteCT_NumData=_r;function Nr(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.numCache,r=i.extLst;l.J(i.f)||e.writeElementString("c:f",u(i.f)),l.J(t)||_r(e,Fe,"numCache",t),l.J(r)||Rr(e,Fe,g,r)})}t.DrawingWriter.WriteCT_NumRef=Nr;function Br(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.numRef,r=i.numLit;l.J(t)||Nr(e,Fe,"numRef",t),l.J(r)||_r(e,Fe,"numLit",r)})}t.DrawingWriter.WriteCT_NumDataSource=Br;function Mr(e,t,r,i){e.writeElement(t+":"+r,function(){At(e,i)},function(){l.J(i.v)||e.writeElementString("c:v",u(i.v))})}t.DrawingWriter.WriteCT_StrVal=Mr;function Or(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.ptCount,r=i.extLst;l.J(t)||Ir(e,Fe,"ptCount",t),Ze(i.pt,function(t,r){Mr(e,Fe,"pt",{idx:r,v:t})}),l.J(r)||Rr(e,Fe,g,r)})}t.DrawingWriter.WriteCT_StrData=Or;function Gr(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.extLst;l.J(i.f)||e.writeElementString("c:f",u(i.f)),l.J(t)||Rr(e,Fe,g,t)})}t.DrawingWriter.WriteCT_StrRef=Gr;function Hr(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.strRef,r=i.rich;l.J(t)||Gr(e,Fe,"strRef",t),l.J(r)||Ss(e,Fe,"rich",r)})}t.DrawingWriter.WriteCT_Tx=Hr;function Ur(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_TextLanguageID=Ur;function Jr(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.pt,function(t){Mr(e,Fe,"pt",t)})})}t.DrawingWriter.WriteCT_Lvl=Jr;function Wr(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.ptCount,r=i.extLst;l.J(t)||Ir(e,Fe,"ptCount",t),Ze(i.lvl,function(t){Or(e,Fe,"lvl",t)}),l.J(r)||Rr(e,Fe,g,r)})}t.DrawingWriter.WriteCT_MultiLvlStrData=Wr;function Vr(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.multiLvlStrCache,r=i.extLst;l.J(i.f)||e.writeElementString("c:f",u(i.f)),l.J(t)||Wr(e,Fe,"multiLvlStrCache",t),l.J(r)||Rr(e,Fe,g,r)})}t.DrawingWriter.WriteCT_MultiLvlStrRef=Vr;function zr(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.multiLvlStrRef,r=i.numRef,n=i.numLit,a=i.strRef,o=i.strLit;l.J(t)||Vr(e,Fe,"multiLvlStrRef",t),l.J(r)||Nr(e,Fe,"numRef",r),l.J(n)||_r(e,Fe,"numLit",n),l.J(a)||Gr(e,Fe,"strRef",a),l.J(o)||Or(e,Fe,"strLit",o)})}t.DrawingWriter.WriteCT_AxDataSource=zr;function jr(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.strRef)||Gr(e,Fe,"strRef",i.strRef),l.J(i.v)||e.writeElementString("c:v",i.v)})}t.DrawingWriter.WriteCT_SerTx=jr;function Xr(e,t,r,n){Ue(e,t,r,n,f,1,i.Charts.ST_LayoutTarget);
40
+ }t.DrawingWriter.WriteCT_LayoutTarget=Xr;function Kr(e,t,r,n){Ue(e,t,r,n,f,1,i.Charts.ST_LayoutMode)}t.DrawingWriter.WriteCT_LayoutMode=Kr;function qr(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.layoutTarget,r=i.xMode,n=i.yMode,a=i.wMode,o=i.hMode,s=i.extLst;l.J(t)||Xr(e,Fe,"layoutTarget",t),l.J(r)||Kr(e,Fe,"xMode",r),l.J(n)||Kr(e,Fe,"yMode",n),l.J(a)||Kr(e,Fe,"wMode",a),l.J(o)||Kr(e,Fe,"hMode",o),l.J(i.x)||Er(e,Fe,"x",i.x),l.J(i.y)||Er(e,Fe,"y",i.y),l.J(i.w)||Er(e,Fe,"w",i.w),l.J(i.h)||Er(e,Fe,"h",i.h),l.J(s)||Rr(e,Fe,g,s)})}t.DrawingWriter.WriteCT_ManualLayout=qr;function Yr(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.manualLayout,r=i.extLst;l.J(t)||qr(e,Fe,"manualLayout",t),l.J(r)||Rr(e,Fe,g,r)})}t.DrawingWriter.WriteCT_Layout=Yr;function Qr(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.tx,r=i.layout,n=i.overlay,a=i.spPr,o=i.txPr,s=i.extLst;l.J(t)||Hr(e,Fe,"tx",t),l.J(r)||Yr(e,Fe,q,r),l.J(n)||kr(e,Fe,"overlay",n),l.J(a)||Cl(e,Fe,G,a),l.J(o)||Ss(e,Fe,H,o),l.J(s)||Rr(e,Fe,g,s)})}t.DrawingWriter.WriteCT_Title=Qr;function Zr(e,t,r,i){Ue(e,t,r,i,f,0)}t.DrawingWriter.WriteCT_RotX=Zr;function $r(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_HPercent=$r;function ei(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_RotY=ei;function ti(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_DepthPercent=ti;function ri(e,t,r,i){Ue(e,t,r,i,f,30)}t.DrawingWriter.WriteCT_Perspective=ri;function ii(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.rotX,r=i.hPercent,n=i.rotY,a=i.depthPercent,o=i.rAngAx,s=i.perspective,c=i.extLst;l.J(t)||Zr(e,Fe,"rotX",t),l.J(r)||$r(e,Fe,"hPercent",r),l.J(n)||ei(e,Fe,"rotY",n),l.J(a)||ti(e,Fe,"depthPercent",a),l.J(o)||kr(e,Fe,"rAngAx",o),l.J(s)||ri(e,Fe,"perspective",s),l.J(c)||Rr(e,Fe,g,c)})}t.DrawingWriter.WriteCT_View3D=ii;function ni(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.thickness,r=i.spPr,n=i.pictureOptions,a=i.extLst;l.J(t)||Ir(e,Fe,"thickness",t),l.J(r)||Cl(e,Fe,G,r),l.J(n)||En(e,Fe,Y,n),l.J(a)||Rr(e,Fe,g,a)})}t.DrawingWriter.WriteCT_Surface=ni;function ai(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.showHorzBorder,r=i.showVertBorder,n=i.showOutline,a=i.showKeys,o=i.spPr,s=i.txPr,c=i.extLst;l.J(t)||kr(e,Fe,"showHorzBorder",t),l.J(r)||kr(e,Fe,"showVertBorder",r),l.J(n)||kr(e,Fe,"showOutline",n),l.J(a)||kr(e,Fe,"showKeys",a),l.J(o)||Cl(e,Fe,G,o),l.J(s)||Ss(e,Fe,H,s),l.J(c)||Rr(e,Fe,g,c)})}t.DrawingWriter.WriteCT_DTable=ai;function oi(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_GapAmount=oi;function li(e,t,r,i){Ue(e,t,r,i,f,0)}t.DrawingWriter.WriteCT_Overlap=li;function si(e,t,r,i){Ue(e,t,r,i,f,100)}t.DrawingWriter.WriteCT_BubbleScale=si;function ci(e,t,r,n){Ue(e,t,r,n,f,0,i.Charts.ST_SizeRepresents)}t.DrawingWriter.WriteCT_SizeRepresents=ci;function ui(e,t,r,i){Ue(e,t,r,i,f,0)}t.DrawingWriter.WriteCT_FirstSliceAng=ui;function di(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_HoleSize=di;function fi(e,t,r,n){Ue(e,t,r,n,f,0,i.Charts.ST_SplitType,o.ChartHelper.ToST_SplitType)}t.DrawingWriter.WriteCT_SplitType=fi;function pi(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.secondPiePt,function(t){Ir(e,Fe,"secondPiePt",t)})})}t.DrawingWriter.WriteCT_CustSplit=pi;function hi(e,t,r,i){Ue(e,t,r,i,f,75)}t.DrawingWriter.WriteCT_SecondPieSize=hi;function mi(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.formatCode)||e.writeAttributeString("formatCode",u(i.formatCode)),i.sourceLinked===!1&&e.writeAttributeString("sourceLinked","0")})}t.DrawingWriter.WriteCT_NumFmt=mi;function gi(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_LblAlgn)}t.DrawingWriter.WriteCT_LblAlgn=gi;function bi(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_DLblPos)}t.DrawingWriter.WriteCT_DLblPos=bi;function wi(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.idx,r=i.delete,n=i.layout,a=i.tx,o=i.extLst;l.J(t)||Ir(e,Fe,"idx",t),l.J(r)||kr(e,Fe,M,r),l.J(n)||Yr(e,Fe,q,n),l.J(a)||Hr(e,Fe,"tx",a),rt(e,i),l.J(o)||ra(e,Fe,g,o)})}t.DrawingWriter.WriteCT_DLbl=wi;function Ci(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.delete,r=i.showLeaderLines,n=i.leaderLines,a=i.extLst;Ze(i.dLbl,function(t){wi(e,Fe,"dLbl",t)}),l.J(t)||kr(e,Fe,M,t),rt(e,i),l.J(r)||kr(e,Fe,"showLeaderLines",r),l.J(n)||Vi(e,Fe,"leaderLines",n),l.J(a)||na(e,Fe,g,a)})}t.DrawingWriter.WriteCT_DLbls=Ci;function Si(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_MarkerStyle,o.ChartHelper.ToST_MarkerStyle)}t.DrawingWriter.WriteCT_MarkerStyle=Si;function yi(e,t,r,i){var a=Math.min(72,Math.round(n.UnitHelper.pixelToPoint(i)));Ue(e,t,r,a,f)}t.DrawingWriter.WriteCT_MarkerSize=yi;function vi(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.symbol,r=i.size,n=i.spPr,a=i.extLst;l.J(t)||Si(e,Fe,"symbol",t),l.J(r)||yi(e,Fe,"size",r),l.J(n)||Cl(e,Fe,G,n),l.J(a)||Rr(e,Fe,g,a)})}t.DrawingWriter.WriteCT_Marker=vi;function xi(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.idx,r=i.invertIfNegative,n=i.marker,a=i.bubble3D,o=i.explosion,s=i.spPr,c=i.pictureOptions,u=i.extLst;l.J(t)||Ir(e,Fe,"idx",t),l.J(r)||kr(e,Fe,U,r),l.J(n)||vi(e,Fe,W,n),l.J(a)||kr(e,Fe,J,a),l.J(o)||Ir(e,Fe,"explosion",o),l.J(s)||Cl(e,Fe,G,s),l.J(c)||En(e,Fe,Y,c),l.J(u)||Rr(e,Fe,g,u)})}t.DrawingWriter.WriteCT_DPt=xi;function Ti(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_TrendlineType)}t.DrawingWriter.WriteCT_TrendlineType=Ti;function Ai(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_Order=Ai;function ki(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_Period=ki;function Ei(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.layout,r=i.tx,n=i.numFmt,a=i.spPr,o=i.txPr,s=i.extLst;l.J(t)||Yr(e,Fe,q,t),l.J(r)||Hr(e,Fe,"tx",r),l.J(n)||mi(e,Fe,fe,n),l.J(a)||Cl(e,Fe,G,a),l.J(o)||Ss(e,Fe,H,o),l.J(s)||Rr(e,Fe,g,s)})}t.DrawingWriter.WriteCT_TrendlineLbl=Ei;function Ii(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.spPr,r=i.trendlineType,n=i.order,a=i.period,o=i.forward,s=i.backward,c=i.intercept,u=i.dispRSqr,d=i.dispEq,f=i.trendlineLbl,p=i.extLst;l.J(i.name)||e.writeElementString("c:name",i.name),l.J(t)||Cl(e,Fe,G,t),l.J(r)||Ti(e,Fe,"trendlineType",r),l.J(n)||Ai(e,Fe,Q,n),l.J(a)||ki(e,Fe,"period",a),l.J(o)||Er(e,Fe,"forward",o),l.J(s)||Er(e,Fe,"backward",s),l.J(c)||Er(e,Fe,"intercept",c),l.J(u)||kr(e,Fe,"dispRSqr",u),l.J(d)||kr(e,Fe,"dispEq",d),l.J(f)||Ei(e,Fe,"trendlineLbl",f),l.J(p)||Rr(e,Fe,g,p)})}t.DrawingWriter.WriteCT_Trendline=Ii;function Fi(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_ErrDir)}t.DrawingWriter.WriteCT_ErrDir=Fi;function Pi(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_ErrBarType)}t.DrawingWriter.WriteCT_ErrBarType=Pi;function Di(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_ErrValType)}t.DrawingWriter.WriteCT_ErrValType=Di;function Ri(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.errDir,r=i.errBarType,n=i.errValType,a=i.noEndCap,o=i.plus,s=i.minus,c=i.val,u=i.spPr,d=i.extLst;l.J(t)||Fi(e,Fe,"errDir",t),l.J(r)||Pi(e,Fe,"errBarType",r),l.J(n)||Di(e,Fe,"errValType",n),l.J(a)||kr(e,Fe,"noEndCap",a),l.J(o)||Br(e,Fe,"plus",o),l.J(s)||Br(e,Fe,"minus",s),l.J(c)||Er(e,Fe,f,c),l.J(u)||Cl(e,Fe,G,u),l.J(d)||Rr(e,Fe,g,d)})}t.DrawingWriter.WriteCT_ErrBars=Ri;function Li(e,t,r,i){Je(e,t,r,i,Cl,Fe,G)}t.DrawingWriter.WriteCT_UpDownBar=Li;function _i(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.gapWidth,r=i.upBars,n=i.downBars,a=i.extLst;l.J(t)||oi(e,Fe,Z,t),l.J(r)||Li(e,Fe,"upBars",r),l.J(n)||Li(e,Fe,"downBars",n),l.J(a)||Rr(e,Fe,g,a)})}t.DrawingWriter.WriteCT_UpDownBars=_i;function Ni(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.cat,r=i.val;$e(e,i),l.J(t)||zr(e,Fe,"cat",t),l.J(r)||Br(e,Fe,f,r)})}t.DrawingWriter.WriteCT_LineSer=Ni;function Bi(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.xVal,r=i.yVal;$e(e,i),l.J(t)||zr(e,Fe,"xVal",t),l.J(r)||Br(e,Fe,"yVal",r)})}t.DrawingWriter.WriteCT_ScatterSer=Bi;function Mi(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.idx,r=i.order,n=i.tx,a=i.spPr,o=i.marker,s=i.dLbls,c=i.cat,u=i.val,d=i.extLst;l.J(t)||Ir(e,Fe,"idx",t),l.J(r)||Ir(e,Fe,Q,r),l.J(n)||jr(e,Fe,"tx",n),l.J(a)||Cl(e,Fe,G,a),l.J(o)||vi(e,Fe,W,o),Ze(i.dPt,function(t){xi(e,Fe,"dPt",t)}),l.J(s)||Ci(e,Fe,$,s),l.J(c)||zr(e,Fe,"cat",c),l.J(u)||Br(e,Fe,f,u),l.J(d)||Rr(e,Fe,g,d)})}t.DrawingWriter.WriteCT_RadarSer=Mi;function Oi(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.invertIfNegative,r=i.shape;et(e,i),l.J(t)||kr(e,Fe,U,t),l.J(r)||en(e,Fe,"shape",r)})}t.DrawingWriter.WriteCT_BarSer=Oi;function Gi(e,t,r,i){e.writeElement(t+":"+r,function(){et(e,i)})}t.DrawingWriter.WriteCT_AreaSer=Gi;function Hi(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.idx,r=i.order,n=i.tx,a=i.spPr,o=i.explosion,s=i.dLbls,c=i.cat,u=i.val,d=i.extLst;l.J(t)||Ir(e,Fe,"idx",t),l.J(r)||Ir(e,Fe,Q,r),l.J(n)||jr(e,Fe,"tx",n),l.J(a)||Cl(e,Fe,G,a),l.J(o)||Ir(e,Fe,"explosion",o),Ze(i.dPt,function(t){xi(e,Fe,"dPt",t)}),l.J(s)||Ci(e,Fe,$,s),l.J(c)||zr(e,Fe,"cat",c),l.J(u)||Br(e,Fe,f,u),l.J(d)||Rr(e,Fe,g,d)})}t.DrawingWriter.WriteCT_PieSer=Hi;function Ui(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.idx,r=i.order,n=i.tx,a=i.spPr,o=i.invertIfNegative,s=i.dLbls,c=i.xVal,u=i.yVal,d=i.bubbleSize,f=i.bubble3D,p=i.extLst;l.J(t)||Ir(e,Fe,"idx",t),l.J(r)||Ir(e,Fe,Q,r),l.J(n)||jr(e,Fe,"tx",n),l.J(a)||Cl(e,Fe,G,a),l.J(o)||kr(e,Fe,U,o),Ze(i.dPt,function(t){xi(e,Fe,"dPt",t)}),l.J(s)||Ci(e,Fe,$,s),Ze(i.trendline,function(t){Ii(e,Fe,ee,t)}),Ze(i.errBars,function(t){Ri(e,Fe,te,t)}),l.J(c)||zr(e,Fe,"xVal",c),l.J(u)||Br(e,Fe,"yVal",u),l.J(d)||Br(e,Fe,"bubbleSize",d),l.J(f)||kr(e,Fe,J,f),l.J(p)||Rr(e,Fe,g,p)})}t.DrawingWriter.WriteCT_BubbleSer=Ui;function Ji(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.idx,r=i.order,n=i.tx,a=i.spPr,o=i.cat,s=i.val,c=i.extLst;l.J(t)||Ir(e,Fe,"idx",t),l.J(r)||Ir(e,Fe,Q,r),l.J(n)||jr(e,Fe,"tx",n),l.J(a)||Cl(e,Fe,G,a),l.J(o)||zr(e,Fe,"cat",o),l.J(s)||Br(e,Fe,f,s),l.J(c)||Rr(e,Fe,g,c)})}t.DrawingWriter.WriteCT_SurfaceSer=Ji;function Wi(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_Grouping)}t.DrawingWriter.WriteCT_Grouping=Wi;function Vi(e,t,r,i){Je(e,t,r,i,Cl,Fe,G)}t.DrawingWriter.WriteCT_ChartLines=Vi;function zi(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.grouping,r=i.varyColors,n=i.dLbls,a=i.dropLines,o=i.hiLowLines,s=i.upDownBars,c=i.marker,u=i.smooth,d=i.extLst;l.J(t)||Wi(e,Fe,ae,t),l.J(r)||kr(e,Fe,oe,r),Ze(i.ser,function(t){Ni(e,Fe,re,t)}),l.J(n)||Ci(e,Fe,$,n),l.J(a)||Vi(e,Fe,ie,a),l.J(o)||Vi(e,Fe,"hiLowLines",o),l.J(s)||_i(e,Fe,"upDownBars",s),l.J(c)||kr(e,Fe,W,c),l.J(u)||kr(e,Fe,"smooth",u),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(d)||Rr(e,Fe,g,d)})}t.DrawingWriter.WriteCT_LineChart=zi;function ji(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.grouping,r=i.varyColors,n=i.dLbls,a=i.dropLines,o=i.gapDepth,s=i.extLst;l.J(t)||Wi(e,Fe,ae,t),l.J(r)||kr(e,Fe,oe,r),Ze(i.ser,function(t){Ni(e,Fe,re,t)}),l.J(n)||Ci(e,Fe,$,n),l.J(a)||Vi(e,Fe,ie,a),l.J(o)||oi(e,Fe,"gapDepth",o),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(s)||Rr(e,Fe,g,s)})}t.DrawingWriter.WriteCT_Line3DChart=ji;function Xi(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.dLbls,r=i.dropLines,n=i.hiLowLines,a=i.upDownBars,o=i.extLst;Ze(i.ser,function(t){Ni(e,Fe,re,t)}),l.J(t)||Ci(e,Fe,$,t),l.J(r)||Vi(e,Fe,ie,r),l.J(n)||Vi(e,Fe,"hiLowLines",n),l.J(a)||_i(e,Fe,"upDownBars",a),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(o)||Rr(e,Fe,g,o)})}t.DrawingWriter.WriteCT_StockChart=Xi;function Ki(e,t,r,n){Ue(e,t,r,n,f,3,i.Charts.ST_ScatterStyle)}t.DrawingWriter.WriteCT_ScatterStyle=Ki;function qi(e,t,r,i){e.writeElement(t+":"+r,function(){var t,r=i.scatterStyle,n=i.varyColors,a=i.dLbls,o=i.extLst;l.J(r)||(t=r,1===t||3===t?r=2:4===t&&(r=5),Ki(e,Fe,"scatterStyle",r)),l.J(n)||kr(e,Fe,oe,n),Ze(i.ser,function(t){Bi(e,Fe,re,t)}),l.J(a)||Ci(e,Fe,$,a),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(o)||Rr(e,Fe,g,o)})}t.DrawingWriter.WriteCT_ScatterChart=qi;function Yi(e,t,r,n){Ue(e,t,r,n,f,0,i.Charts.ST_RadarStyle)}t.DrawingWriter.WriteCT_RadarStyle=Yi;function Qi(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.radarStyle,r=i.varyColors,n=i.dLbls,a=i.extLst;l.J(t)||Yi(e,Fe,"radarStyle",t),l.J(r)||kr(e,Fe,oe,r),Ze(i.ser,function(t){Mi(e,Fe,re,t)}),l.J(n)||Ci(e,Fe,$,n),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(a)||Rr(e,Fe,g,a)})}t.DrawingWriter.WriteCT_RadarChart=Qi;function Zi(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_BarGrouping)}t.DrawingWriter.WriteCT_BarGrouping=Zi;function $i(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_BarDir)}t.DrawingWriter.WriteCT_BarDir=$i;function en(e,t,r,n){Ue(e,t,r,n,f,2,i.Charts.ST_Shape)}t.DrawingWriter.WriteCT_ShapeBox=en;function tn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.barDir,r=i.grouping,n=i.varyColors,a=i.dLbls,o=i.gapWidth,s=i.overlap,c=i.extLst;l.J(t)||$i(e,Fe,"barDir",t),l.J(r)||Zi(e,Fe,ae,r),l.J(n)||kr(e,Fe,oe,n),Ze(i.ser,function(t){Oi(e,Fe,re,t)}),l.J(a)||Ci(e,Fe,$,a),l.J(o)||oi(e,Fe,Z,o),l.J(s)||li(e,Fe,"overlap",s),Ze(i.serLines,function(t){Vi(e,Fe,"serLines",t)}),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(c)||Rr(e,Fe,g,c)})}t.DrawingWriter.WriteCT_BarChart=tn;function rn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.barDir,r=i.grouping,n=i.varyColors,a=i.dLbls,o=i.gapWidth,s=i.gapDepth,c=i.shape,u=i.extLst;l.J(t)||$i(e,Fe,"barDir",t),l.J(r)||Zi(e,Fe,ae,r),l.J(n)||kr(e,Fe,oe,n),Ze(i.ser,function(t){Oi(e,Fe,re,t)}),l.J(a)||Ci(e,Fe,$,a),l.J(o)||oi(e,Fe,Z,o),l.J(s)||oi(e,Fe,"gapDepth",s),l.J(c)||en(e,Fe,"shape",c),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(u)||Rr(e,Fe,g,u)})}t.DrawingWriter.WriteCT_Bar3DChart=rn;function nn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.grouping,r=i.varyColors,n=i.dLbls,a=i.dropLines,o=i.extLst;l.J(t)||Wi(e,Fe,ae,t),l.J(r)||kr(e,Fe,oe,r),Ze(i.ser,function(t){Gi(e,Fe,re,t)}),l.J(n)||Ci(e,Fe,$,n),l.J(a)||Vi(e,Fe,ie,a),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(o)||Rr(e,Fe,g,o)})}t.DrawingWriter.WriteCT_AreaChart=nn;function an(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.grouping,r=i.varyColors,n=i.dLbls,a=i.dropLines,o=i.gapDepth,s=i.extLst;l.J(t)||Wi(e,Fe,ae,t),l.J(r)||kr(e,Fe,oe,r),Ze(i.ser,function(t){Gi(e,Fe,re,t)}),l.J(n)||Ci(e,Fe,$,n),l.J(a)||Vi(e,Fe,ie,a),l.J(o)||oi(e,Fe,"gapDepth",o),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(s)||Rr(e,Fe,g,s)})}t.DrawingWriter.WriteCT_Area3DChart=an;function on(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.varyColors,r=i.dLbls,n=i.firstSliceAng,a=i.extLst;l.J(t)||kr(e,Fe,oe,t),Ze(i.ser,function(t){Hi(e,Fe,re,t)}),l.J(r)||Ci(e,Fe,$,r),l.J(n)||ui(e,Fe,"firstSliceAng",n),l.J(a)||Rr(e,Fe,g,a)})}t.DrawingWriter.WriteCT_PieChart=on;function ln(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.varyColors,r=i.dLbls,n=i.extLst;l.J(t)||kr(e,Fe,oe,t),Ze(i.ser,function(t){Hi(e,Fe,re,t)}),l.J(r)||Ci(e,Fe,$,r),l.J(n)||Rr(e,Fe,g,n)})}t.DrawingWriter.WriteCT_Pie3DChart=ln;function sn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.varyColors,r=i.dLbls,n=i.firstSliceAng,a=i.holeSize,o=i.extLst;l.J(t)||kr(e,Fe,oe,t),Ze(i.ser,function(t){Hi(e,Fe,re,t)}),l.J(r)||Ci(e,Fe,$,r),l.J(n)||ui(e,Fe,"firstSliceAng",n),l.J(a)||di(e,Fe,"holeSize",a),l.J(o)||Rr(e,Fe,g,o)})}t.DrawingWriter.WriteCT_DoughnutChart=sn;function cn(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_OfPieType)}t.DrawingWriter.WriteCT_OfPieType=cn;function un(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.ofPieType,r=i.varyColors,n=i.dLbls,a=i.gapWidth,o=i.splitType,s=i.splitPos,c=i.custSplit,u=i.secondPieSize,d=i.extLst;l.J(t)||cn(e,Fe,"ofPieType",t),l.J(r)||kr(e,Fe,oe,r),Ze(i.ser,function(t){Hi(e,Fe,re,t)}),l.J(n)||Ci(e,Fe,$,n),l.J(a)||oi(e,Fe,Z,a),l.J(o)||fi(e,Fe,"splitType",o),l.J(s)||Er(e,Fe,"splitPos",s),l.J(c)||pi(e,Fe,"custSplit",c),l.J(u)||hi(e,Fe,"secondPieSize",u),Ze(i.serLines,function(t){Vi(e,Fe,"serLines",t)}),l.J(d)||Rr(e,Fe,g,d)})}t.DrawingWriter.WriteCT_OfPieChart=un;function dn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.varyColors,r=i.dLbls,n=i.bubble3D,a=i.bubbleScale,o=i.showNegBubbles,s=i.sizeRepresents,c=i.extLst;l.J(t)||kr(e,Fe,oe,t),Ze(i.ser,function(t){Ui(e,Fe,re,t)}),l.J(r)||Ci(e,Fe,$,r),l.J(n)||kr(e,Fe,J,n),l.J(a)||si(e,Fe,"bubbleScale",a),l.J(o)||kr(e,Fe,"showNegBubbles",o),l.J(s)||ci(e,Fe,"sizeRepresents",s),Ze(i.axId,function(t){Fr(e,Fe,ne,t)}),l.J(c)||Rr(e,Fe,g,c)})}t.DrawingWriter.WriteCT_BubbleChart=dn;function fn(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.idx)||Ir(e,Fe,"idx",i.idx),l.J(i.spPr)||Cl(e,Fe,G,i.spPr)})}t.DrawingWriter.WriteCT_BandFmt=fn;function pn(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.bandFmt,function(t){fn(e,Fe,"bandFmt",t)})})}t.DrawingWriter.WriteCT_BandFmts=pn;function hn(e,t,r,i){qe(e,t,r,i)}t.DrawingWriter.WriteCT_SurfaceChart=hn;function mn(e,t,r,i){qe(e,t,r,i)}t.DrawingWriter.WriteCT_Surface3DChart=mn;function gn(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_AxPos)}t.DrawingWriter.WriteCT_AxPos=gn;function bn(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_Crosses,o.ChartHelper.ToST_Crosses)}t.DrawingWriter.WriteCT_Crosses=bn;function wn(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_CrossBetween)}t.DrawingWriter.WriteCT_CrossBetween=wn;function Cn(e,t,r,n){Ue(e,t,r,n,f,0,i.Charts.ST_TickMark)}t.DrawingWriter.WriteCT_TickMark=Cn;function Sn(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_TickLblPos)}t.DrawingWriter.WriteCT_TickLblPos=Sn;function yn(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_Skip=yn;function vn(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_TimeUnit)}t.DrawingWriter.WriteCT_TimeUnit=vn;function xn(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_AxisUnit=xn;function Tn(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_BuiltInUnit,o.ChartHelper.ToST_BuiltInUnit)}t.DrawingWriter.WriteCT_BuiltInUnit=Tn;function An(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_PictureFormat)}t.DrawingWriter.WriteCT_PictureFormat=An;function kn(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_PictureStackUnit=kn;function En(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.applyToFront,r=i.applyToSides,n=i.applyToEnd,a=i.pictureFormat,o=i.pictureStackUnit;l.J(t)||kr(e,Fe,"applyToFront",t),l.J(r)||kr(e,Fe,"applyToSides",r),l.J(n)||kr(e,Fe,"applyToEnd",n),l.J(a)||An(e,Fe,"pictureFormat",a),l.J(o)||kn(e,Fe,"pictureStackUnit",o)})}t.DrawingWriter.WriteCT_PictureOptions=En;function In(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.layout,r=i.tx,n=i.spPr,a=i.txPr;l.J(t)||Yr(e,Fe,q,t),l.J(r)||Hr(e,Fe,"tx",r),l.J(n)||Cl(e,Fe,G,n),l.J(a)||Ss(e,Fe,H,a)})}t.DrawingWriter.WriteCT_DispUnitsLbl=In;function Fn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.custUnit,r=i.builtInUnit,n=i.dispUnitsLbl,a=i.extLst,o=i.visible;l.J(t)?l.J(r)||Tn(e,Fe,"builtInUnit",r):Er(e,Fe,"custUnit",t),!l.J(n)&&o&&In(e,Fe,"dispUnitsLbl",n),l.J(a)||Rr(e,Fe,g,a)})}t.DrawingWriter.WriteCT_DispUnits=Fn;function Pn(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_Orientation)}t.DrawingWriter.WriteCT_Orientation=Pn;function Dn(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_LogBase=Dn;function Rn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.logBase,r=i.orientation,n=i.max,a=i.min,o=i.extLst;l.J(t)||Dn(e,Fe,"logBase",t),l.J(r)||Pn(e,Fe,"orientation",r),l.J(n)||Er(e,Fe,"max",n),l.J(a)||Er(e,Fe,"min",a),l.J(o)||Rr(e,Fe,g,o)})}t.DrawingWriter.WriteCT_Scaling=Rn;function Ln(e,t,r,i){Ue(e,t,r,i,f,100)}t.DrawingWriter.WriteCT_LblOffset=Ln;function _n(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.auto,r=i.lblAlgn,n=i.lblOffset,a=i.tickLblSkip,o=i.tickMarkSkip,s=i.noMultiLvlLbl,c=i.extLst;Qe(e,i),l.J(t)||kr(e,Fe,"auto",t),l.J(r)||gi(e,Fe,"lblAlgn",r),l.J(n)||Ln(e,Fe,"lblOffset",n),l.J(a)||yn(e,Fe,"tickLblSkip",a),l.J(o)||yn(e,Fe,"tickMarkSkip",o),l.J(s)||kr(e,Fe,"noMultiLvlLbl",s),l.J(c)||Rr(e,Fe,g,c)})}t.DrawingWriter.WriteCT_CatAx=_n;function Nn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.auto,r=i.lblOffset,n=i.baseTimeUnit,a=i.majorUnit,o=i.majorTimeUnit,s=i.minorUnit,c=i.minorTimeUnit,u=i.extLst;Qe(e,i),l.J(t)||kr(e,Fe,"auto",t),l.J(r)||Ln(e,Fe,"lblOffset",r),l.J(n)||vn(e,Fe,"baseTimeUnit",n),l.J(a)||xn(e,Fe,"majorUnit",a),l.J(o)||vn(e,Fe,"majorTimeUnit",o),l.J(s)||xn(e,Fe,"minorUnit",s),l.J(c)||vn(e,Fe,"minorTimeUnit",c),l.J(u)||Rr(e,Fe,g,u)})}t.DrawingWriter.WriteCT_DateAx=Nn;function Bn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.tickLblSkip,r=i.tickMarkSkip,n=i.extLst;Qe(e,i),l.J(t)||yn(e,Fe,"tickLblSkip",t),l.J(r)||yn(e,Fe,"tickMarkSkip",r),l.J(n)||Rr(e,Fe,g,n)})}t.DrawingWriter.WriteCT_SerAx=Bn;function Mn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.crossBetween,r=i.majorUnit,n=i.minorUnit,a=i.dispUnits,o=i.extLst;Qe(e,i),l.J(t)||wn(e,Fe,"crossBetween",t),l.J(r)||xn(e,Fe,"majorUnit",r),l.J(n)||xn(e,Fe,"minorUnit",n),l.J(a)||Fn(e,Fe,"dispUnits",a),l.J(o)||Rr(e,Fe,g,o)})}t.DrawingWriter.WriteCT_ValAx=Mn;function On(e,t,r,i){e.writeElement(t+":"+r,function(){var t,r,n,a,o,s,c=i.layout,u=i.dTable,d=i.spPr,f=i.extLst;l.J(c)||Yr(e,Fe,q,c),Ze(i.chartGroups,function(t){var r=t.chartType;4===r?nn(e,Fe,"areaChart",t):5===r?an(e,Fe,"area3DChart",t):6===r?tn(e,Fe,"barChart",t):7===r?rn(e,Fe,"bar3DChart",t):8===r?zi(e,Fe,"lineChart",t):9===r?ji(e,Fe,"line3DChart",t):0===r?Xi(e,Fe,"stockChart",t):2===r?Qi(e,Fe,"radarChart",t):1===r?qi(e,Fe,"scatterChart",t):10===r?on(e,Fe,"pieChart",t):11===r?ln(e,Fe,"pie3DChart",t):12===r?sn(e,Fe,"doughnutChart",t):13===r?un(e,Fe,"ofPieChart",t):14===r?hn(e,Fe,"surfaceChart",t):15===r?mn(e,Fe,"surface3DChart",t):3===r&&dn(e,Fe,"bubbleChart",t)}),t=i.axes,t&&(r=t.filter(function(e){return 0===e.AxisGroup&&0===e.AxisType})[0],r&&(0===r.axisType?_n(e,Fe,"catAx",r):1===r.axisType?Nn(e,Fe,"dateAx",r):3===r.axisType&&Mn(e,Fe,"valAx",r)),n=t.filter(function(e){return 0===e.AxisGroup&&1===e.AxisType})[0],l.J(n)||Mn(e,Fe,"valAx",n),a=t.filter(function(e){return 1===e.AxisGroup&&1===e.AxisType})[0],l.J(a)||Mn(e,Fe,"valAx",a),o=t.filter(function(e){return 1===e.AxisGroup&&0===e.AxisType})[0],o&&(0===o.axisType?_n(e,Fe,"catAx",o):1===o.axisType?Nn(e,Fe,"dateAx",o):3===o.axisType&&Mn(e,Fe,"valAx",o)),s=t.filter(function(e){return 2===e.axisType}),Ze(s,function(t){Bn(e,Fe,"serAx",t)})),l.J(u)||ai(e,Fe,"dTable",u),l.J(d)||Cl(e,Fe,G,d),l.J(f)||Rr(e,Fe,g,f)})}t.DrawingWriter.WriteCT_PlotArea=On;function Gn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.idx,r=i.spPr,n=i.txPr,a=i.marker,o=i.dLbl,s=i.extLst;l.J(t)||Ir(e,Fe,"idx",t),l.J(r)||Cl(e,Fe,G,r),l.J(n)||Ss(e,Fe,H,n),l.J(a)||vi(e,Fe,W,a),l.J(o)||wi(e,Fe,"dLbl",o),l.J(s)||Rr(e,Fe,g,s)})}t.DrawingWriter.WriteCT_PivotFmt=Gn;function Hn(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.pivotFmt,function(t){Gn(e,Fe,"pivotFmt",t)})})}t.DrawingWriter.WriteCT_PivotFmts=Hn;function Un(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_LegendPos,o.ChartHelper.ToST_LegendPos)}t.DrawingWriter.WriteCT_LegendPos=Un;function Jn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.idx,r=i.delete,n=i.txPr,a=i.extLst;l.J(t)||Ir(e,Fe,"idx",t),l.J(r)||kr(e,Fe,M,r),l.J(n)||Ss(e,Fe,H,n),l.J(a)||Rr(e,Fe,g,a)})}t.DrawingWriter.WriteCT_LegendEntry=Jn;function Wn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.legendPos,r=i.layout,n=i.overlay||!1,a=i.spPr,o=i.txPr,s=i.extLst;l.J(t)||Un(e,Fe,"legendPos",t),Ze(i.legendEntry,function(t){Jn(e,Fe,"legendEntry",t)}),l.J(r)||Yr(e,Fe,q,r),kr(e,Fe,"overlay",n),l.J(a)||Cl(e,Fe,G,a),l.J(o)||Ss(e,Fe,H,o),l.J(s)||Rr(e,Fe,g,s)})}t.DrawingWriter.WriteCT_Legend=Wn;function Vn(e,t,r,n){Ue(e,t,r,n,f,null,i.Charts.ST_DispBlanksAs)}t.DrawingWriter.WriteCT_DispBlanksAs=Vn;function zn(e,r,i,n){e.writeElement(r+":"+i,function(){e.writeAttributeString("xmlns:c16r3",t.DrawingWriter.c16)},function(){l.J(n.dispNaAsBlank)||e.writeLeafElement(r+":dispNaAsBlank",function(){e.writeAttributeString(f,n.dispNaAsBlank?"1":"0")})})}t.DrawingWriter.WriteCT_DispNaAsBlank=zn;function jn(e,t,r,i){e.writeElement(t+":"+r,function(){var t,r=i.title,n=i.autoTitleDeleted,a=i.view3D,o=i.floor,s=i.sideWall,c=i.backWall,u=i.plotArea,d=i.legend,f=i.plotVisOnly,p=i.dispBlanksAs,h=i.showDLblsOverMax,m=i.extLst,b=i.pivotFmts;l.J(r)||Qr(e,Fe,de,r),l.J(n)||kr(e,Fe,"autoTitleDeleted",n),l.J(b)||(t=b.length,t>0&&e.writeElement("c:pivotFmts",function(){var r,i,n,a;for(r=0;r<t;r++)if(i=b[r].pivotFmt,!l.J(i))for(n=0;n<i.length;n++)a=i[r],l.J(a)||Gn(e,Fe,"pivotFmt",a)})),l.J(a)||ii(e,Fe,"view3D",a),l.J(o)||ni(e,Fe,"floor",o),l.J(s)||ni(e,Fe,"sideWall",s),l.J(c)||ni(e,Fe,"backWall",c),l.J(u)||On(e,Fe,"plotArea",u),l.J(d)||Wn(e,Fe,"legend",d),l.J(f)||kr(e,Fe,"plotVisOnly",f),l.J(p)||Vn(e,Fe,"dispBlanksAs",p),l.J(h)||kr(e,Fe,"showDLblsOverMax",h),l.J(m)||Rr(e,Fe,g,m)})}t.DrawingWriter.WriteCT_Chart=jn;function Xn(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_Style=Xn;function Kn(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.name)||e.writeElementString("c:name",i.name);var t=i.fmtId;l.J(t)||Ir(e,Fe,"fmtId",t),Ze(i.extLst,function(t){Rr(e,Fe,g,t)})})}t.DrawingWriter.WriteCT_PivotSource=Kn;function qn(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.chartObject,r=i.data,n=i.formatting,a=i.selection,o=i.userInterface;l.J(t)||kr(e,Fe,"chartObject",t),l.J(r)||kr(e,Fe,"data",r),l.J(n)||kr(e,Fe,"formatting",n),l.J(a)||kr(e,Fe,"selection",a),l.J(o)||kr(e,Fe,"userInterface",o)})}t.DrawingWriter.WriteCT_Protection=qn;function Yn(e,t,r,i){e.writeElement(t+":"+r,function(){i.alignWithMargins===!1&&e.writeAttributeString("alignWithMargins","0"),i.differentOddEven===!0&&e.writeAttributeString("differentOddEven","1"),i.differentFirst===!0&&e.writeAttributeString("differentFirst","1")},function(){var t=i.oddHeader,r=i.oddFooter,n=i.evenHeader,a=i.evenFooter,o=i.firstHeader,s=i.firstFooter;l.J(t)||e.writeElementString("c:oddHeader",t),l.J(r)||e.writeElementString("c:oddFooter",r),l.J(n)||e.writeElementString("c:evenHeader",n),l.J(a)||e.writeElementString("c:evenFooter",a),l.J(o)||e.writeElementString("c:firstHeader",o),l.J(s)||e.writeElementString("c:firstFooter",s)})}t.DrawingWriter.WriteCT_HeaderFooter=Yn;function Qn(e,t,r,i){e.writeLeafElement(t+":"+r,function(){var t=i.header,r=i.footer;l.J(i.l)||e.writeAttributeString("l",i.l),l.J(i.r)||e.writeAttributeString(Ee,i.r),l.J(i.t)||e.writeAttributeString("t",i.t),l.J(i.b)||e.writeAttributeString("b",i.b),l.J(t)||e.writeAttributeString("header",t),l.J(r)||e.writeAttributeString("footer",r)})}t.DrawingWriter.WriteCT_PageMargins=Qn;function Zn(e,t,r,i){e.writeElement(t+":"+r,function(){bt(e,i,"id")},function(){var t=i.autoUpdate;l.J(t)||kr(e,Fe,"autoUpdate",t)})}t.DrawingWriter.WriteCT_ExternalData=Zn;function $n(e,t,r,n){e.writeLeafElement(t+":"+r,function(){var t=n.paperSize,r=n.firstPageNumber,a=n.orientation,o=n.horizontalDpi,s=n.verticalDpi,u=n.copies;l.J(t)||1===t||e.writeAttributeString("paperSize",t),l.J(r)||1===r||e.writeAttributeString("firstPageNumber",c.convertFirstPageNumberToExcel(r)),l.J(a)||0===a||e.writeAttributeString("orientation",i.Charts.ST_PageSetupOrientation[a]),n.blackAndWhite===!0&&e.writeAttributeString("blackAndWhite","1"),n.draft===!0&&e.writeAttributeString("draft","1"),n.useFirstPageNumber===!0&&e.writeAttributeString("useFirstPageNumber","1"),l.J(o)||600===o||e.writeAttributeString("horizontalDpi",o),l.J(s)||600===s||e.writeAttributeString("verticalDpi",s),l.J(u)||1===u||e.writeAttributeString("copies",u)})}t.DrawingWriter.WriteCT_PageSetup=$n;function ea(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.headerFooter,r=i.pageMargins,n=i.pageSetup,a=i.legacyDrawingHF;l.J(t)||Yn(e,Fe,"headerFooter",t),l.J(r)||Qn(e,Fe,"pageMargins",r),l.J(n)||$n(e,Fe,"pageSetup",n),l.J(a)||Pr(e,Fe,"legacyDrawingHF",a)})}t.DrawingWriter.WriteCT_PrintSettings=ea;function ta(e,r,i,n){e.writeElement("c:"+i,function(){e.writeAttributeString("xmlns:c",t.DrawingWriter.c),e.writeAttributeString("xmlns:a",t.DrawingWriter.a),e.writeAttributeString("xmlns:r",t.DrawingWriter.r)},function(){var t=n.roundedCorners,r=n.style,i=n.clrMapOvr,a=n.pivotSource,o=n.protection,s=n.chart,c=n.spPr,u=n.txPr,d=n.externalData,f=n.printSettings,p=n.userShapes,h=n.extLst;l.J(t)||kr(e,Fe,"roundedCorners",t),l.J(r)||Xn(e,Fe,we,r),l.J(i)||sa(e,Ae,"clrMapOvr",i),l.J(a)||Kn(e,Fe,"pivotSource",a),l.J(o)||qn(e,Fe,"protection",o),l.J(s)||jn(e,Fe,"chart",s),l.J(c)||Cl(e,Fe,G,c),l.J(u)||Ss(e,Fe,H,u),l.J(d)||Zn(e,Fe,"externalData",d),l.J(f)||ea(e,Fe,"printSettings",f),l.J(p)||oa(e,Fe,"userShapes",p),l.J(h)||Rr(e,Fe,g,h)})}t.DrawingWriter.WriteCT_ChartSpace=ta;function ra(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.ext,function(t){ia(e,Fe,x,t)})})}t.DrawingWriter.WriteCT_DLblExtensionList=ra;function ia(e,t,r,i){e.writeElement("c:"+r,function(){gt(e,i)},function(){var t=i.layout,r=i.dlblFieldTable,n=i.showDataLabelsRange;l.J(t)||Yr(e,Pe,q,t),l.J(r)||ka(e,Pe,"dlblFieldTable",r),l.J(n)||kr(e,Pe,"showDataLabelsRange",n)})}t.DrawingWriter.WriteCT_DLblExt=ia;function na(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.ext,function(t){aa(e,Fe,x,t)})})}t.DrawingWriter.WriteCT_DLblsExtensionList=na;function aa(e,t,r,i){e.writeElement("c:"+r,function(){gt(e,i)},function(){var t=i.layout,r=i.showLeaderLines,n=i.showDataLabelsRange,a=i.leaderLines,o=i.spPr;l.J(t)||Yr(e,Pe,q,t),l.J(r)||kr(e,Pe,"showLeaderLines",r),l.J(n)||kr(e,Pe,"showDataLabelsRange",n),l.J(a)||Vi(e,Pe,"leaderLines",a),l.J(o)||Cl(e,Pe,G,o)})}t.DrawingWriter.WriteCT_DLblsExt=aa;function oa(e,t,r,i){e.writeLeafElement(t+":"+r,function(){bt(e,i,"r:id")})}t.DrawingWriter.WriteCT_UserShapes=oa;function la(e,t,r,i){Je(e,t,r,i,Cl,Re,G)}t.DrawingWriter.WriteCT_InvertSolidFillFmt=la;function sa(e,t,r,n){e.writeElement(t+":"+r,function(){var t=i.Charts.ST_ColorSchemeIndex;e.writeAttributeString("bg1",t[n.bg1]),e.writeAttributeString("tx1",t[n.tx1]),e.writeAttributeString("bg2",t[n.bg2]),e.writeAttributeString("tx2",t[n.tx2]),e.writeAttributeString("accent1",t[n.accent1]),e.writeAttributeString("accent2",t[n.accent2]),e.writeAttributeString("accent3",t[n.accent3]),e.writeAttributeString("accent4",t[n.accent4]),e.writeAttributeString("accent5",t[n.accent5]),e.writeAttributeString("accent6",t[n.accent6]),e.writeAttributeString("hlink",t[n.hlink]),e.writeAttributeString("folHlink",t[n.folHlink])},function(){wt(e,n)})}t.DrawingWriter.WriteCT_ColorMapping=sa;function ca(e,t,r,i){We(e,t,r,i)}t.DrawingWriter.WriteCT_FullRef=ca;function ua(e,t,r,i){We(e,t,r,i)}t.DrawingWriter.WriteCT_LevelRef=ua;function da(e,t,r,i){We(e,t,r,i)}t.DrawingWriter.WriteCT_FormulaRef=da;function fa(e,t,r,i){Je(e,t,r,i,Hr,Fe,"tx")}t.DrawingWriter.WriteCT_FilteredSeriesTitle=fa;function pa(e,t,r,i){Je(e,t,r,i,zr,Fe,"cat")}t.DrawingWriter.WriteCT_FilteredCategoryTitle=pa;function ha(e,t,r,i){Je(e,t,r,i,Oi,Fe,re)}t.DrawingWriter.WriteCT_FilteredBarSer=ha;function ma(e,t,r,i){Je(e,t,r,i,Ni,Fe,re)}t.DrawingWriter.WriteCT_FilteredLineSer=ma;function ga(e,t,r,i){Je(e,t,r,i,Bi,Fe,re)}t.DrawingWriter.WriteCT_FilteredScatterSer=ga;function ba(e,t,r,i){Je(e,t,r,i,Gi,Fe,re)}t.DrawingWriter.WriteCT_FilteredAreaSer=ba;function wa(e,t,r,i){Je(e,t,r,i,Hi,Fe,re)}t.DrawingWriter.WriteCT_FilteredPieSer=wa;function Ca(e,t,r,i){Je(e,t,r,i,Ui,Fe,re)}t.DrawingWriter.WriteCT_FilteredBubbleSer=Ca;function Sa(e,t,r,i){Je(e,t,r,i,Mi,Fe,re)}t.DrawingWriter.WriteCT_FilteredRadarSer=Sa;function ya(e,t,r,i){Je(e,t,r,i,Ji,Fe,re)}t.DrawingWriter.WriteCT_FilteredSurfaceSer=ya;function va(e,r,i,n){e.writeElement(r+":"+i,function(){e.writeAttributeString("xmlns:c15",t.DrawingWriter.c15)},function(){var t=n.dlblRangeCache;l.J(n.f)||e.writeElementString("c15:f",u(n.f)),l.J(t)||Or(e,Fe,"dlblRangeCache",t)})}t.DrawingWriter.WriteCT_SeriesDataLabelsRange=va;function xa(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.sqref,r=i.spPr,n=i.explosion,a=i.invertIfNegative,o=i.bubble3D,s=i.marker,c=i.dLbl;l.J(t)||e.writeElementString("c15:sqref",t),l.J(r)||Cl(e,Ae,G,r),l.J(n)||Ir(e,Fe,"explosion",n),l.J(a)||kr(e,Fe,U,a),l.J(o)||kr(e,Fe,J,o),l.J(s)||vi(e,Fe,W,s),l.J(c)||wi(e,Fe,"dLbl",c)})}t.DrawingWriter.WriteCT_CategoryFilterException=xa;function Ta(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.categoryFilterException,function(t){xa(e,Pe,"categoryFilterException",t)})})}t.DrawingWriter.WriteCT_CategoryFilterExceptions=Ta;function Aa(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.dlblFieldTableCache;l.J(i.txfldGUID)||e.writeElementString("c15:txfldGUID",i.txfldGUID),l.J(i.f)||e.writeElementString("c15:f",u(i.f)),l.J(t)||Or(e,Pe,"dlblFieldTableCache",t)})}t.DrawingWriter.WriteCT_DataLabelFieldTableEntry=Aa;function ka(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.dlblFTEntry,function(t){Aa(e,Pe,"dlblFTEntry",t)})})}t.DrawingWriter.WriteCT_DataLabelFieldTable=ka;function Ea(e,t,r,i){Ye(e,t,r,i,Ae)}t.DrawingWriter.WriteCT_GraphicFrameNonVisual=Ea;
41
+ function Ia(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.x)||e.writeElementString("cdr:x",i.x),l.J(i.y)||e.writeElementString("cdr:y",i.y)})}t.DrawingWriter.WriteCT_CdrPosition=Ia;function Fa(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.startPoint,r=i.endPoint,n=i.sp,a=i.grpSp;l.J(t)||Ia(e,ke,"from",t),l.J(r)||Ia(e,ke,"to",r),l.J(n)||Fl(e,ke,"sp",n),l.J(a)||Kl(e,ke,V,a),l.J(i.graphicFrame)||jl(e,ke,v,i.graphicFrame),l.J(i.cxnSp)||_l(e,ke,z,i.cxnSp),l.J(i.pic)||Gl(e,ke,"pic",i.pic)})}t.DrawingWriter.WriteCT_RelSizeAnchor=Fa;function Pa(e,r,i,n){e.writeElement(r+":"+i,function(){e.writeAttributeString("xmlns:cdr",t.DrawingWriter.cdr)},function(){var t=n.from,r=n.ext,i=n.sp,a=n.grpSp,o=n.cxnSp,s=n.pic;l.J(t)||Ia(e,ke,"from",t),l.J(r)||tr(e,Ae,x,r,!0),l.J(i)||Il(e,Ie,"sp",i),l.J(a)||Kl(e,Ie,V,a),l.J(n.graphicFrame)||zl(e,ke,v,n.graphicFrame),l.J(o)||Ll(e,Ie,z,o),l.J(s)||Hl(e,Ie,"pic",s)})}t.DrawingWriter.WriteCT_AbsSizeAnchor=Pa;function Da(e,r,i,n){e.writeElement("c:"+i,function(){e.writeAttributeString("xmlns:c",t.DrawingWriter.c),e.writeAttributeString("xmlns:cdr",t.DrawingWriter.cdr),e.writeAttributeString("xmlns:a",t.DrawingWriter.a)},function(){var t=n.relSizeAnchor,r=n.absSizeAnchor;t&&t.forEach(function(t){t&&Fa(e,ke,"relSizeAnchor",t)}),r&&r.forEach(function(t){t&&Pa(e,ke,"absSizeAnchor",t)})})}t.DrawingWriter.WriteCT_ChartDrawing=Da;function Ra(e,t,r,i){e.writeElement(t+":"+r,function(){tt(e,i)},function(){wt(e,i)})}t.DrawingWriter.WriteCT_ConnectorLocking=Ra;function La(e,t,r,i){e.writeElement(t+":"+r,function(){tt(e,i),i.noTextEdit===!0&&e.writeAttributeString("noTextEdit","1")},function(){wt(e,i)})}t.DrawingWriter.WriteCT_ShapeLocking=La;function _a(e,t,r,i){e.writeElement(t+":"+r,function(){tt(e,i),i.noCrop===!0&&e.writeAttributeString("noCrop","1")},function(){wt(e,i)})}t.DrawingWriter.WriteCT_PictureLocking=_a;function Na(e,t,r,i){e.writeElement(t+":"+r,function(){i.noGrp===!0&&e.writeAttributeString("noGrp","1"),i.noUngrp===!0&&e.writeAttributeString("noUngrp","1"),i.noSelect===!0&&e.writeAttributeString("noSelect","1"),i.noRot===!0&&e.writeAttributeString("noRot","1"),i.noChangeAspect===!0&&e.writeAttributeString("noChangeAspect","1"),i.noMove===!0&&e.writeAttributeString("noMove","1"),i.noResize===!0&&e.writeAttributeString("noResize","1")},function(){wt(e,i)})}t.DrawingWriter.WriteCT_GroupLocking=Na;function Ba(e,t,r,i){e.writeElement(t+":"+r,function(){i.noGrp===!0&&e.writeAttributeString("noGrp","1"),i.noDrilldown===!0&&e.writeAttributeString("noDrilldown","1"),i.noSelect===!0&&e.writeAttributeString("noSelect","1"),i.noChangeAspect===!0&&e.writeAttributeString("noChangeAspect","1"),i.noMove===!0&&e.writeAttributeString("noMove","1"),i.noResize===!0&&e.writeAttributeString("noResize","1")},function(){wt(e,i)})}t.DrawingWriter.WriteCT_GraphicalObjectFrameLocking=Ba;function Ma(e,t,r,i){e.writeElement(t+":"+r,function(){var t,r=i.descr,n=i.title;i.id?t=i.id:(t=e.k,e.k++),i.id=t,e.writeAttributeString("id",t),l.J(i.name)||e.writeAttributeString(p,u(i.name)),Ge(r)||e.writeAttributeString("descr",r),Ge(n)||e.writeAttributeString(de,n),i.hidden===!0&&e.writeAttributeString("hidden","1")},function(){var t=i.hlinkClick,r=i.hlinkHover,n=i.extLst;l.J(t)||Ar(e,Ae,"hlinkClick",t),l.J(r)||Ar(e,Ae,"hlinkHover",r),l.J(n)||hr(e,Ae,g,n)})}t.DrawingWriter.WriteCT_NonVisualDrawingProps=Ma;function Oa(e,t,r,i){e.writeElement(t+":"+r,function(){i.txBox===!0&&e.writeAttributeString("txBox","1")},function(){var t=i.spLocks,r=i.extLst;l.J(t)||La(e,Ae,"spLocks",t),l.J(r)||hr(e,Ae,g,r)})}t.DrawingWriter.WriteCT_NonVisualDrawingShapeProps=Oa;function Ga(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.cxnSpLocks,r=i.stCxn,n=i.endCxn,a=i.extLst;l.J(t)||Ra(e,Ae,"cxnSpLocks",t),l.J(r)||Zo(e,Ae,"stCxn",r),l.J(n)||Zo(e,Ae,"endCxn",n),l.J(a)||hr(e,Ae,g,a)})}t.DrawingWriter.WriteCT_NonVisualConnectorProperties=Ga;function Ha(e,t,r,i){e.writeElement(t+":"+r,function(){i.preferRelativeResize===!1&&e.writeAttributeString("preferRelativeResize","0")},function(){var t=i.picLocks,r=i.extLst;l.J(t)||_a(e,Ae,"picLocks",t),l.J(r)||hr(e,Ae,g,r)})}t.DrawingWriter.WriteCT_NonVisualPictureProperties=Ha;function Ua(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.grpSpLocks,r=i.extLst;l.J(t)||Na(e,Ae,"grpSpLocks",t),l.J(r)||hr(e,Ae,g,r)})}t.DrawingWriter.WriteCT_NonVisualGroupDrawingShapeProps=Ua;function Ja(e,t,r){e.writeLeafElement(t+":"+r)}t.DrawingWriter.WriteCT_NonVisualGraphicFrameProperties=Ja;function Wa(e,r,i,n,a){e.writeLeafElement(r+":"+i,function(){a?e.writeAttributeString("xmlns:"+r,Oe.cx):e.writeAttributeString("xmlns:"+r,t.DrawingWriter.c),e.writeAttributeString("xmlns:r",t.DrawingWriter.r),l.J(n.id)||e.writeAttributeString("r:id",n.id)})}t.DrawingWriter.WriteCT_GraphicalObjectDataContent=Wa;function Va(e,r,i,n,a){e.writeElement(r+":"+i,function(){var r=a?Oe.cx:t.DrawingWriter.c;e.writeAttributeString("uri",r)},function(){if(!l.J(n.chart)){var t=a?_e:Fe;Wa(e,t,"chart",n.chart,a)}})}t.DrawingWriter.WriteCT_GraphicalObjectData=Va;function za(e,t,r,i,n){e.writeElement(t+":"+r,function(){var t=i.graphicData;l.J(t)||Va(e,Ae,"graphicData",t,n)})}t.DrawingWriter.WriteCT_GraphicalObject=za;function ja(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.prst)||e.writeAttributeString(m,i.Charts.ST_PresetCameraType[o.ChartHelper.ToST_PresetCameraType(n.prst)]),l.J(n.fov)||0===n.fov||e.writeAttributeString("fov",n.fov),l.J(n.zoom)||1e5===n.zoom||e.writeAttributeString("zoom",n.zoom)},function(){Ct(e,n)})}t.DrawingWriter.WriteCT_Camera=ja;function Xa(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.rig)||e.writeAttributeString("rig",i.Charts.ST_LightRigType[n.rig]),l.J(n.dir)||e.writeAttributeString("dir",i.Charts.ST_LightRigDirection[o.ChartHelper.ToST_LightRigDirection(n.dir)])},function(){Ct(e,n)})}t.DrawingWriter.WriteCT_LightRig=Xa;function Ka(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.camera,r=i.lightRig,n=i.backdrop,a=i.extLst;l.J(t)||ja(e,Ae,"camera",t),l.J(r)||Xa(e,Ae,"lightRig",r),l.J(n)||qa(e,Ae,"backdrop",n),l.J(a)||hr(e,Ae,g,a)})}t.DrawingWriter.WriteCT_Scene3D=Ka;function qa(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.anchor,r=i.norm,n=i.up,a=i.extLst;l.J(t)||wr(e,Ae,"anchor",t),l.J(r)||Cr(e,Ae,"norm",r),l.J(n)||Cr(e,Ae,"up",n),l.J(a)||hr(e,Ae,g,a)})}t.DrawingWriter.WriteCT_Backdrop=qa;function Ya(e,t,r,n){e.writeLeafElement(t+":"+r,function(){l.J(n.w)||76200===n.w||e.writeAttributeString("w",n.w),l.J(n.h)||76200===n.h||e.writeAttributeString("h",n.h),l.J(n.prst)||1===n.prst||e.writeAttributeString(m,i.Charts.ST_BevelPresetType[n.prst])})}t.DrawingWriter.WriteCT_Bevel=Ya;function Qa(e,t,r,n){e.writeElement(t+":"+r,function(){var t=n.z,r=n.extrusionH,o=n.contourW,s=n.prstMaterial;l.J(t)||0===t||e.writeAttributeString("z",a(t)),l.J(r)||0===r||e.writeAttributeString("extrusionH",a(r)),l.J(o)||0===o||e.writeAttributeString("contourW",a(o)),l.J(s)||7===s||e.writeAttributeString("prstMaterial",i.Charts.ST_PresetMaterialType[s])},function(){var t=n.bevelT,r=n.bevelB,i=n.extrusionClr,a=n.contourClr,o=n.extLst;l.J(t)||Ya(e,Ae,"bevelT",t),l.J(r)||Ya(e,Ae,"bevelB",r),l.J(i)||vr(e,Ae,"extrusionClr",i),l.J(a)||vr(e,Ae,"contourClr",a),l.J(o)||hr(e,Ae,g,o)})}t.DrawingWriter.WriteCT_Shape3D=Qa;function Za(e,t,r,i){Ue(e,t,r,i.z,"z",0)}t.DrawingWriter.WriteCT_FlatText=Za;function $a(e,t,r,i){Ue(e,t,r,i.thresh,"thresh")}t.DrawingWriter.WriteCT_AlphaBiLevelEffect=$a;function eo(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_AlphaCeilingEffect=eo;function to(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_AlphaFloorEffect=to,t.DrawingWriter.WriteCT_AlphaInverseEffect=vr;function ro(e,t,r,i){Ue(e,t,r,i.amt,"amt",1e5)}t.DrawingWriter.WriteCT_AlphaModulateFixedEffect=ro;function io(e,t,r,i){Ue(e,t,r,i.rad,"rad",0)}t.DrawingWriter.WriteCT_AlphaOutsetEffect=io;function no(e,t,r,i){Ue(e,t,r,i[Ae],Ae)}t.DrawingWriter.WriteCT_AlphaReplaceEffect=no;function ao(e,t,r,i){Ue(e,t,r,i.thresh,"thresh")}t.DrawingWriter.WriteCT_BiLevelEffect=ao;function oo(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.rad)||0===i.rad||e.writeAttributeString("rad",i.rad),i.grow===!1&&e.writeAttributeString("grow","0")})}t.DrawingWriter.WriteCT_BlurEffect=oo;function lo(e,t,r,i){e.writeElement(t+":"+r,function(){i.useA===!1&&e.writeAttributeString("useA","0")},function(){l.J(i.clrFrom)||vr(e,Ae,"clrFrom",i.clrFrom),l.J(i.clrTo)||vr(e,Ae,"clrTo",i.clrTo)})}t.DrawingWriter.WriteCT_ColorChangeEffect=lo,t.DrawingWriter.WriteCT_ColorReplaceEffect=vr;function so(e,t,r,i){Array.isArray(i)&&e.writeElement(t+":"+r,function(){i.forEach(function(t){ze(e,t)})})}t.DrawingWriter.WriteCT_DuotoneEffect=so;function co(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.rad)||0===i.rad||e.writeAttributeString("rad",i.rad)},function(){ze(e,i)})}t.DrawingWriter.WriteCT_GlowEffect=co;function uo(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_GrayscaleEffect=uo;function fo(e,t,r,i){e.writeLeafElement(t+":"+r,function(){var t=i.hue,r=i.sat,n=i.lum;l.J(t)||0===t||e.writeAttributeString("hue",t),l.J(r)||0===r||e.writeAttributeString("sat",r),l.J(n)||0===n||e.writeAttributeString("lum",n)})}t.DrawingWriter.WriteCT_HSLEffect=fo;function po(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.blurRad,r=i.dist,n=i.dir;l.J(t)||0===t||e.writeAttributeString("blurRad",t),l.J(r)||0===r||e.writeAttributeString("dist",r),l.J(n)||0===n||e.writeAttributeString("dir",n)},function(){ze(e,i)})}t.DrawingWriter.WriteCT_InnerShadowEffect=po;function ho(e,t,r,i){e.writeLeafElement(t+":"+r,function(){var t=i.bright,r=i.contrast;l.J(t)||0===t||e.writeAttributeString("bright",t),l.J(r)||0===r||e.writeAttributeString("contrast",r)})}t.DrawingWriter.WriteCT_LuminanceEffect=ho;function mo(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.blurRad,r=i.dist,n=i.dir;l.J(t)||0===t||e.writeAttributeString("blurRad",t),l.J(r)||0===r||e.writeAttributeString("dist",r),l.J(n)||0===n||e.writeAttributeString("dir",n),it(e,i)},function(){ze(e,i)})}t.DrawingWriter.WriteCT_OuterShadowEffect=mo;function go(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.prst)||e.writeAttributeString(m,i.Charts.ST_PresetShadowVal[o.ChartHelper.ToST_PresetShadowVal(n.prst)]);var t=n.dist,r=n.dir;l.J(t)||0===t||e.writeAttributeString("dist",t),l.J(r)||0===r||e.writeAttributeString("dir",r)},function(){ze(e,n)})}t.DrawingWriter.WriteCT_PresetShadowEffect=go;function bo(e,t,r,i){e.writeLeafElement(t+":"+r,function(){var t=i.blurRad,r=i.stA,n=i.stPos,a=i.endA,o=i.endPos,s=i.dist,c=i.dir,u=i.fadeDir;l.J(t)||0===t||e.writeAttributeString("blurRad",t),l.J(r)||1e5===r||e.writeAttributeString("stA",r),l.J(n)||0===n||e.writeAttributeString("stPos",n),l.J(a)||0===a||e.writeAttributeString("endA",a),l.J(o)||1e5===o||e.writeAttributeString("endPos",o),l.J(s)||0===s||e.writeAttributeString("dist",s),l.J(c)||0===c||e.writeAttributeString("dir",c),l.J(u)||54e5===u||e.writeAttributeString("fadeDir",u),it(e,i)})}t.DrawingWriter.WriteCT_ReflectionEffect=bo;function wo(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.tx)||0===i.tx||e.writeAttributeString("tx",i.tx),l.J(i.ty)||0===i.ty||e.writeAttributeString("ty",i.ty)})}t.DrawingWriter.WriteCT_RelativeOffsetEffect=wo;function Co(e,t,r,i){Ue(e,t,r,i.rad,"rad")}t.DrawingWriter.WriteCT_SoftEdgesEffect=Co;function So(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.hue)||0===i.hue||e.writeAttributeString("hue",i.hue),l.J(i.amt)||0===i.amt||e.writeAttributeString("amt",i.amt)})}t.DrawingWriter.WriteCT_TintEffect=So;function yo(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.sx)||1e5===i.sx||e.writeAttributeString("sx",i.sx),l.J(i.sy)||1e5===i.sy||e.writeAttributeString("sy",i.sy),l.J(i.kx)||0===i.kx||e.writeAttributeString("kx",i.kx),l.J(i.ky)||0===i.ky||e.writeAttributeString("ky",i.ky),l.J(i.tx)||0===i.tx||e.writeAttributeString("tx",i.tx),l.J(i.ty)||0===i.ty||e.writeAttributeString("ty",i.ty)})}t.DrawingWriter.WriteCT_TransformEffect=yo;function vo(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_NoFillProperties=vo,t.DrawingWriter.WriteCT_SolidColorFillProperties=vr;function xo(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.ang)||e.writeAttributeString("ang",i.ang),l.J(i.scaled)||e.writeAttributeString("scaled",i.scaled?"1":"0")})}t.DrawingWriter.WriteCT_LinearShadeProperties=xo;function To(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.path)||e.writeAttributeString("path",i.Charts.ST_PathShadeType[n.path])},function(){l.J(n.fillToRect)||yr(e,Ae,"fillToRect",n.fillToRect)})}t.DrawingWriter.WriteCT_PathShadeProperties=To;function Ao(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.pos)||e.writeAttributeString("pos",i.pos.toFixed(0))},function(){ze(e,i)})}t.DrawingWriter.WriteCT_GradientStop=Ao;function ko(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.gs,function(t){Ao(e,Ae,"gs",t)})})}t.DrawingWriter.WriteCT_GradientStopList=ko;function Eo(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.flip)||e.writeAttributeString("flip",i.Charts.ST_TileFlipMode[n.flip]),n.rotWithShape===!1&&e.writeAttributeString(Ce,"0")},function(){var t=n.gsLst,r=n.lin,i=n.path,a=n.tileRect;l.J(t)||ko(e,Ae,"gsLst",t),l.J(r)||xo(e,Ae,"lin",r),l.J(i)||To(e,Ae,"path",i),l.J(a)||yr(e,Ae,"tileRect",a)})}t.DrawingWriter.WriteCT_GradientFillProperties=Eo;function Io(e,t,r,n){e.writeLeafElement(t+":"+r,function(){l.J(n.tx)||e.writeAttributeString("tx",a(n.tx)),l.J(n.ty)||e.writeAttributeString("ty",a(n.ty)),l.J(n.sx)||e.writeAttributeString("sx",n.sx),l.J(n.sy)||e.writeAttributeString("sy",n.sy),l.J(n.flip)||e.writeAttributeString("flip",i.Charts.ST_TileFlipMode[n.flip]),l.J(n.algn)||e.writeAttributeString("algn",i.Charts.ST_RectAlignment[n.algn])})}t.DrawingWriter.WriteCT_TileInfoProperties=Io;function Fo(e,t,r,i){Je(e,t,r,i,yr,Ae,"fillRect")}t.DrawingWriter.WriteCT_StretchInfoProperties=Fo;function Po(e,r,n,a){var o,s=a&&a.blipBlob&&a.blipBlob.blob;c.isSVGPicture(s)&&a.embed&&(o=a.extLst||{},o.ext=o.ext||[],o.ext.push({hiddenExtensionType:5,uri:"{96DAC541-7B7A-43D3-8B79-37D633B846F1}",svgBlip:{embed:a.embed}}),a.extLst=o),e.writeElement(r+":"+n,function(){e.writeAttributeString("xmlns:r",t.DrawingWriter.r),l.J(a.embed)||""===a.embed||e.writeAttributeString("r:embed",a.embed);var r=a.link,n=a.cstate;Ge(r)||e.writeAttributeString("link",r),l.J(n)||4===n||e.writeAttributeString("cstate",i.Charts.ST_BlipCompression[n])},function(){var t=a.alphaBiLevel,r=a.alphaCeiling,i=a.alphaFloor,n=a.alphaInv,o=a.alphaMod,s=a.alphaModFix,c=a.alphaRepl,u=a.biLevel,d=a.blur,f=a.clrChange,p=a.clrRepl,h=a.duotone,m=a.fillOverlay,b=a.grayscl,w=a.hsl,C=a.lum,S=a.tint,y=a.extLst;l.J(t)||$a(e,Ae,"alphaBiLevel",t),l.J(r)||eo(e,Ae,"alphaCeiling"),l.J(i)||to(e,Ae,"alphaFloor"),l.J(n)||vr(e,Ae,"alphaInv",n),l.J(o)||Go(e,Ae,"alphaMod",o),l.J(s)||ro(e,Ae,"alphaModFix",s),l.J(c)||no(e,Ae,"alphaRepl",c),l.J(u)||ao(e,Ae,"biLevel",u),l.J(d)||oo(e,Ae,"blur",d),l.J(f)||lo(e,Ae,"clrChange",f),l.J(p)||vr(e,Ae,"clrRepl",p),l.J(h)||so(e,Ae,"duotone",h),l.J(m)||Bo(e,Ae,"fillOverlay",m),l.J(b)||uo(e,Ae,"grayscl"),l.J(w)||fo(e,Ae,"hsl",w),l.J(C)||ho(e,Ae,"lum",C),l.J(S)||So(e,Ae,"tint",S),!l.J(a.blipBlob),l.J(y)||hr(e,Ae,g,y)})}t.DrawingWriter.WriteCT_Blip=Po;function Do(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.type)||0===n.type||e.writeAttributeString(h,i.Charts.ST_BobType[n.type])},function(){l.J(n.blob)||e.writeElementString("a:blob",n.blob)})}t.DrawingWriter.WriteCT_BlipBlob=Do;function Ro(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.dpi)||e.writeAttributeString("dpi",i.dpi),l.J(i.rotWithShape)||e.writeAttributeString(Ce,i.rotWithShape?"1":"0")},function(){var t=i.blip,r=i.srcRect,n=i.tile,a=i.stretch;l.J(t)||Po(e,Ae,"blip",t),l.J(r)||yr(e,Ae,"srcRect",r),l.J(n)||Io(e,Ae,"tile",n),l.J(a)||Fo(e,Ae,"stretch",a)})}t.DrawingWriter.WriteCT_BlipFillProperties=Ro;function Lo(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.prst)||e.writeAttributeString(m,i.Charts.ST_PresetPatternVal[o.ChartHelper.ToST_PresetPatternVal(parseInt(n.prst,10))])},function(){l.J(n.fgClr)||vr(e,Ae,"fgClr",n.fgClr),l.J(n.bgClr)||vr(e,Ae,"bgClr",n.bgClr)})}t.DrawingWriter.WriteCT_PatternFillProperties=Lo;function _o(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_GroupFillProperties=_o;function No(e,r,i,n){e.writeElement(r+":"+i,function(){r===De&&e.writeAttributeString("xmlns:a14",t.DrawingWriter.a14)},function(){je(e,n)})}t.DrawingWriter.WriteCT_FillProperties=No,t.DrawingWriter.WriteCT_FillEffect=No;function Bo(e,t,r,i){e.writeElement(t+":"+r,function(){St(e,i)},function(){je(e,i)})}t.DrawingWriter.WriteCT_FillOverlayEffect=Bo;function Mo(e,t,r,i){Ue(e,t,r,i.ref,"ref")}t.DrawingWriter.WriteCT_EffectReference=Mo;function Oo(e,t,r,n){e.writeElement(t+":"+r,function(){var t=n.type,r=n.name;l.J(t)||0===t||e.writeAttributeString(h,i.Charts.ST_EffectContainerType[t]),l.J(r)||e.writeAttributeString(p,r)},function(){var t=n.cont,r=n.effect,i=n.alphaBiLevel,a=n.alphaCeiling,o=n.alphaFloor,s=n.alphaInv,c=n.alphaMod,u=n.alphaModFix,d=n.alphaOutset,f=n.alphaRepl,p=n.biLevel,h=n.blend,m=n.blur,g=n.clrChange,b=n.clrRepl,w=n.duotone,C=n.fill,S=n.fillOverlay,y=n.glow,v=n.grayscl,x=n.hsl,T=n.innerShdw,A=n.lum,k=n.outerShdw,E=n.prstShdw,I=n.reflection,F=n.relOff,P=n.softEdge,D=n.tint,R=n.xfrm;l.J(t)||Oo(e,Ae,"cont",t),l.J(r)||Mo(e,Ae,"effect",r),l.J(i)||$a(e,Ae,"alphaBiLevel",i),l.J(a)||eo(e,Ae,"alphaCeiling"),l.J(o)||to(e,Ae,"alphaFloor"),l.J(s)||vr(e,Ae,"alphaInv",s),l.J(c)||Go(e,Ae,"alphaMod",c),l.J(u)||ro(e,Ae,"alphaModFix",u),l.J(d)||io(e,Ae,"alphaOutset",d),l.J(f)||no(e,Ae,"alphaRepl",f),l.J(p)||ao(e,Ae,"biLevel",p),l.J(h)||Ho(e,Ae,"blend",h),l.J(m)||oo(e,Ae,"blur",m),l.J(g)||lo(e,Ae,"clrChange",g),l.J(b)||vr(e,Ae,"clrRepl",b),l.J(w)||so(e,Ae,"duotone",w),l.J(C)||No(e,Ae,"fill",C),l.J(S)||Bo(e,Ae,"fillOverlay",S),l.J(y)||co(e,Ae,"glow",y),l.J(v)||uo(e,Ae,"grayscl"),l.J(x)||fo(e,Ae,"hsl",x),l.J(T)||po(e,Ae,"innerShdw",T),l.J(A)||ho(e,Ae,"lum",A),l.J(k)||mo(e,Ae,"outerShdw",k),l.J(E)||go(e,Ae,"prstShdw",E),l.J(I)||bo(e,Ae,"reflection",I),l.J(F)||wo(e,Ae,"relOff",F),l.J(P)||Co(e,Ae,"softEdge",P),l.J(D)||So(e,Ae,"tint",D),l.J(R)||yo(e,Ae,"xfrm",R)})}t.DrawingWriter.WriteCT_EffectContainer=Oo;function Go(e,t,r,i){Je(e,t,r,i,Oo,Ae,"cont")}t.DrawingWriter.WriteCT_AlphaModulateEffect=Go;function Ho(e,t,r,i){e.writeElement(t+":"+r,function(){St(e,i)},function(){l.J(i.cont)||Oo(e,Ae,"cont",i.cont)})}t.DrawingWriter.WriteCT_BlendEffect=Ho;function Uo(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.blur,r=i.fillOverlay,n=i.glow,a=i.innerShdw,o=i.outerShdw,s=i.prstShdw,c=i.reflection,u=i.softEdge;l.J(t)||oo(e,Ae,"blur",t),l.J(r)||Bo(e,Ae,"fillOverlay",r),l.J(n)||co(e,Ae,"glow",n),l.J(a)||po(e,Ae,"innerShdw",a),l.J(o)||mo(e,Ae,"outerShdw",o),l.J(s)||go(e,Ae,"prstShdw",s),l.J(c)||bo(e,Ae,"reflection",c),l.J(u)||Co(e,Ae,"softEdge",u)})}t.DrawingWriter.WriteCT_EffectList=Uo;function Jo(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.effectLst,r=i.effectDag;l.J(t)||Uo(e,Ae,C,t),l.J(r)||Oo(e,Ae,S,r)})}t.DrawingWriter.WriteCT_EffectProperties=Jo;function Wo(e,t,r,i){Ve(e,t,r,i,p,"fmla")}t.DrawingWriter.WriteCT_GeomGuide=Wo;function Vo(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.gd,function(t){Wo(e,Ae,"gd",t)})})}t.DrawingWriter.WriteCT_GeomGuideList=Vo;function zo(e,t,r,i){Ve(e,t,r,i,"x","y")}t.DrawingWriter.WriteCT_AdjPoint2D=zo;function jo(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.l)||e.writeAttributeString("l",i.l),l.J(i.t)||e.writeAttributeString("t",i.t),l.J(i.r)||e.writeAttributeString(Ee,i.r),l.J(i.b)||e.writeAttributeString("b",i.b)})}t.DrawingWriter.WriteCT_GeomRect=jo;function Xo(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.gdRefX,r=i.minX,n=i.maxX,a=i.gdRefY,o=i.minY,s=i.maxY;l.J(t)||e.writeAttributeString("gdRefX",t),l.J(r)||e.writeAttributeString("minX",r),l.J(n)||e.writeAttributeString("maxX",n),l.J(a)||e.writeAttributeString("gdRefY",a),l.J(o)||e.writeAttributeString("minY",o),l.J(s)||e.writeAttributeString("maxY",s)},function(){yt(e,i)})}t.DrawingWriter.WriteCT_XYAdjustHandle=Xo;function Ko(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.gdRefR,r=i.minR,n=i.maxR,a=i.gdRefAng,o=i.minAng,s=i.maxAng;l.J(t)||e.writeAttributeString("gdRefR",t),l.J(r)||e.writeAttributeString("minR",r),l.J(n)||e.writeAttributeString("maxR",n),l.J(a)||e.writeAttributeString("gdRefAng",a),l.J(o)||e.writeAttributeString("minAng",o),l.J(s)||e.writeAttributeString("maxAng",s)},function(){yt(e,i)})}t.DrawingWriter.WriteCT_PolarAdjustHandle=Ko;function qo(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.ang)||e.writeAttributeString("ang",i.ang)},function(){yt(e,i)})}t.DrawingWriter.WriteCT_ConnectionSite=qo;function Yo(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.ahXY)||Xo(e,Ae,"ahXY",i.ahXY),l.J(i.ahPolar)||Ko(e,Ae,"ahPolar",i.ahPolar)})}t.DrawingWriter.WriteCT_AdjustHandleList=Yo;function Qo(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.cxn,function(t){qo(e,Ae,"cxn",t)})})}t.DrawingWriter.WriteCT_ConnectionSiteList=Qo;function Zo(e,t,r,i){Ve(e,t,r,i,"id","idx")}t.DrawingWriter.WriteCT_Connection=Zo;function $o(e,t,r,i){Je(e,t,r,i,zo,Ae,"pt")}t.DrawingWriter.WriteCT_Path2DMoveTo=$o;function el(e,t,r,i){Je(e,t,r,i,zo,Ae,"pt")}t.DrawingWriter.WriteCT_Path2DLineTo=el;function tl(e,t,r,i){e.writeLeafElement(t+":"+r,function(){var t=i.wR,r=i.hR,n=i.stAng,a=i.swAng;l.J(t)||e.writeAttributeString("wR",t),l.J(r)||e.writeAttributeString("hR",r),l.J(n)||e.writeAttributeString("stAng",n),l.J(a)||e.writeAttributeString("swAng",a)})}t.DrawingWriter.WriteCT_Path2DArcTo=tl;function rl(e,t,r,i){e.writeElement(t+":"+r,function(){vt(e,i)})}t.DrawingWriter.WriteCT_Path2DQuadBezierTo=rl,t.DrawingWriter.WriteCT_Path2DCubicBezierTo=rl;function il(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_Path2DClose=il;function nl(e,t,r,n){e.writeElement(t+":"+r,function(){var t=n.w,r=n.h,a=n.fill;l.J(t)||0===t||e.writeAttributeString("w",t),l.J(r)||0===r||e.writeAttributeString("h",r),l.J(a)||1===a||e.writeAttributeString("fill",i.Charts.ST_PathFillMode[a]),n.stroke===!1&&e.writeAttributeString("stroke","0"),n.extrusionOk===!1&&e.writeAttributeString("extrusionOk","0")},function(){Ze(n.pathToList,function(t){if(t.typeName===i.Charts.CT_PathType.CT_Path2DClose)il(e,Ae,"close");else if(t.typeName===i.Charts.CT_PathType.CT_PathToList){var r=t;switch(r.pathToType){case 0:al(e,Ae,"lnTo",t);break;case 1:al(e,Ae,"moveTo",t);break;case 2:al(e,Ae,"quadBezTo",t);break;case 3:al(e,Ae,"cubicBezTo",t)}}else t.typeName===i.Charts.CT_PathType.CT_Path2DArcTo&&tl(e,Ae,"arcTo",t)})})}t.DrawingWriter.WriteCT_Path2D=nl;function al(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.PtList,function(t){zo(e,Ae,"pt",t)})})}t.DrawingWriter.WriteCT_AdjPoint2DList=al;function ol(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i,function(t){nl(e,Ae,"path",t)})})}t.DrawingWriter.WriteCT_Path2DList=ol;function ll(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.prst)||e.writeAttributeString(m,i.Charts.ST_ShapeType[n.prst])},function(){xt(e,n)})}t.DrawingWriter.WriteCT_PresetGeometry2D=ll;function sl(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.prst)||e.writeAttributeString(m,i.Charts.ST_TextShapeType[n.prst])},function(){xt(e,n)})}t.DrawingWriter.WriteCT_PresetTextShape=sl;function cl(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.avLst,r=i.gdLst,n=i.ahLst,a=i.cxnLst,o=i.rect;l.J(t)||Vo(e,Ae,"avLst",t),l.J(r)||Vo(e,Ae,"gdLst",r),l.J(n)||Yo(e,Ae,"ahLst",n),l.J(a)||Qo(e,Ae,"cxnLst",a),l.J(o)||jo(e,Ae,"rect",o),ol(e,Ae,"pathLst",i.pathLst)})}t.DrawingWriter.WriteCT_CustomGeometry2D=cl;function ul(e,t,r,n){e.writeLeafElement(t+":"+r,function(){l.J(n.type)||e.writeAttributeString(h,i.Charts.ST_LineEndType[n.type]),l.J(n.w)||e.writeAttributeString("w",i.Charts.ST_LineEndWidth[n.w]),l.J(n.len)||e.writeAttributeString("len",i.Charts.ST_LineEndLength[n.len])})}t.DrawingWriter.WriteCT_LineEndProperties=ul;function dl(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_LineJoinBevel=dl;function fl(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_LineJoinRound=fl;function pl(e,t,r,i){Ue(e,t,r,i.lim,"lim")}t.DrawingWriter.WriteCT_LineJoinMiterProperties=pl;function hl(e,t,r,n){Ue(e,t,r,n,f,d,i.Charts.ST_PresetLineDashVal,o.ChartHelper.ToST_PresetLineDashVal)}t.DrawingWriter.WriteCT_PresetLineDashProperties=hl;function ml(e,t,r,i){Ve(e,t,r,i,"d","sp")}t.DrawingWriter.WriteCT_DashStop=ml;function gl(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.ds,function(t){ml(e,Ae,"ds",t)})})}t.DrawingWriter.WriteCT_DashStopList=gl;function bl(e,r,n,o){o.w<=0&&(o.noFill=!0),e.writeElement(r+":"+n,function(){r===De&&e.writeAttributeString("xmlns:a14",t.DrawingWriter.a14),!l.J(o.w)&&o.w>=0&&e.writeAttributeString("w",a(o.w)),l.J(o.cap)||e.writeAttributeString("cap",i.Charts.ST_LineCap[o.cap]),l.J(o.cmpd)||e.writeAttributeString("cmpd",i.Charts.ST_CompoundLine[o.cmpd]),l.J(o.algn)||e.writeAttributeString("algn",i.Charts.ST_PenAlignment[o.algn])},function(){var t=o.noFill,r=o.solidFill,i=o.gradFill,n=o.pattFill,a=o.prstDash,s=o.custDash,c=o.round,u=o.bevel,d=o.miter,f=o.headEnd,p=o.tailEnd,h=o.extLst;l.J(t)?l.J(r)?l.J(i)?l.J(n)||Lo(e,Ae,N,n):Eo(e,Ae,L,i):vr(e,Ae,R,r):vo(e,Ae,D),l.J(a)?l.J(s)||gl(e,Ae,"custDash",s):hl(e,Ae,"prstDash",a),l.J(c)||fl(e,Ae,"round"),l.J(u)||dl(e,Ae,"bevel"),l.J(d)||pl(e,Ae,"miter",d),l.J(f)||ul(e,Ae,"headEnd",f),l.J(p)||ul(e,Ae,"tailEnd",p),l.J(h)||hr(e,Ae,g,h)})}t.DrawingWriter.WriteCT_LineProperties=bl;function wl(e,t){e.writeLeafElement("asvg:svgBlip",function(){e.writeAttributeString("xmlns:asvg",s.XFileConstants.Zd);var r=t.embed;l.J(r)||e.writeAttributeString("r:embed",r)})}t.DrawingWriter.WriteCT_SvgBlipProperties=wl;function Cl(e,t,r,i,n){e.writeElement(t+":"+r,function(){Tt(e,i)},function(){var t=i.xfrm,r=i.custGeom,a=i.prstGeom,o=i.noFill,s=i.solidFill,c=i.gradFill,u=i.blipFill,d=i.pattFill,f=i.grpFill,p=i.ln,h=i.effectLst,m=i.effectDag,b=i.scene3d,w=i.sp3d,y=i.extLst;l.J(n)&&(n=!0),gr(e,Ae,"xfrm",t,n),l.J(r)?l.J(a)||ll(e,Ae,"prstGeom",a):cl(e,Ae,"custGeom",r),l.J(o)?l.J(s)?l.J(c)?l.J(u)?l.J(d)?l.J(f)||_o(e,Ae,B):Lo(e,Ae,N,d):Ro(e,Ae,_,u):Eo(e,Ae,L,c):vr(e,Ae,R,s):vo(e,Ae,D),l.J(p)||bl(e,Ae,"ln",p),l.J(h)||Uo(e,Ae,C,h),l.J(m)||Oo(e,Ae,S,m),l.J(b)||Ka(e,Ae,O,b),l.J(w)||Qa(e,Ae,"sp3d",w),l.J(y)||hr(e,Ae,g,y)})}t.DrawingWriter.WriteCT_ShapeProperties=Cl;function Sl(e,t,r,i){e.writeElement(t+":"+r,function(){Tt(e,i)},function(){var t=i.xfrm,r=i.scene3d,n=i.extLst,a=i.effectLst,o=i.effectDag;l.J(t)||br(e,Ae,"xfrm",t),je(e,i),l.J(a)||Uo(e,Ae,C,a),l.J(o)||Oo(e,Ae,S,o),l.J(r)||Ka(e,Ae,O,r),l.J(n)||hr(e,Ae,g,n)})}t.DrawingWriter.WriteCT_GroupShapeProperties=Sl;function yl(e,t,r,i){e.writeElement(t+":"+r,function(){At(e,i)},function(){i.ColorProp&&ze(e,i.ColorProp)})}t.DrawingWriter.WriteCT_StyleMatrixReference=yl;function vl(e,t,r,n){e.writeElement(t+":"+r,function(){l.J(n.idx)||e.writeAttributeString("idx",i.Charts.ST_FontCollectionIndex[n.idx])},function(){var t=n.TextCharacterProperties&&n.TextCharacterProperties.solidFill;t&&ze(e,t)})}t.DrawingWriter.WriteCT_FontReference=vl;function xl(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.lnRef,r=i.fillRef,n=i.effectRef,a=i.fontRef;l.J(t)||yl(e,Ae,"lnRef",t),l.J(r)||yl(e,Ae,"fillRef",r),l.J(n)||yl(e,Ae,"effectRef",n),l.J(a)||vl(e,Ae,"fontRef",a)})}t.DrawingWriter.WriteCT_ShapeStyle=xl;function Tl(e,t,r,i){e.writeLeafElement(t+":"+r,function(){i.fLocksWithSheet===!1&&e.writeAttributeString("fLocksWithSheet","0"),i.fPrintsWithSheet===!1&&e.writeAttributeString("fPrintsWithSheet","0")})}t.DrawingWriter.WriteCT_AnchorClientData=Tl;function Al(e,t,r,i){at(e,t,r,i,t)}t.DrawingWriter.WriteCT_ShapeNonVisual=Al;function kl(e,t,r,i){at(e,t,r,i,ke)}t.DrawingWriter.WriteCT_ShapeNonVisualForCdr=kl;function El(e,t,r,i){at(e,t,r,i,Ie)}t.DrawingWriter.WriteCT_ShapeNonVisualForXdr=El;function Il(e,t,r,i){nt(e,t,r,i,t,Al)}t.DrawingWriter.WriteCT_Shape=Il;function Fl(e,t,r,i){nt(e,t,r,i,ke,kl)}t.DrawingWriter.WriteCT_ShapeForCdr=Fl;function Pl(e,t,r,i){nt(e,t,r,i,Ie,El)}t.DrawingWriter.WriteCT_ShapeForXdr=Pl;function Dl(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.cNvPr,r=i.cNvCxnSpPr;l.J(t)||Ma(e,Ie,b,t),l.J(r)||Ga(e,Ie,"cNvCxnSpPr",r)})}t.DrawingWriter.WriteCT_ConnectorNonVisual=Dl;function Rl(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.cNvPr,r=i.cNvCxnSpPr;l.J(t)||Ma(e,ke,b,t),l.J(r)||Ga(e,ke,"cNvCxnSpPr",r)})}t.DrawingWriter.WriteCT_ConnectorNonVisualCdr=Rl;function Ll(e,t,r,i){e.writeElement(t+":"+r,function(){kt(e,i)},function(){var t=i.nvCxnSpPr,r=i.spPr,n=i.style;l.J(t)||Dl(e,Ie,"nvCxnSpPr",t),l.J(r)||Cl(e,Ie,G,r,!1),l.J(n)||xl(e,Ie,we,n)})}t.DrawingWriter.WriteCT_Connector=Ll;function _l(e,t,r,i){e.writeElement(t+":"+r,function(){kt(e,i)},function(){var t=i.nvCxnSpPr,r=i.spPr,n=i.style;l.J(t)||Dl(e,ke,"nvCxnSpPr",t),l.J(r)||Cl(e,ke,G,r,!1),l.J(n)||xl(e,ke,we,n)})}t.DrawingWriter.WriteCT_ConnectorCdr=_l;function Nl(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.cNvPr,r=i.cNvPicPr;l.J(t)||Ma(e,Ie,b,t),l.J(r)||Ha(e,Ie,Se,r)})}t.DrawingWriter.WriteCT_PictureNonVisualGroup=Nl;function Bl(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.cNvPr,r=i.cNvPicPr;l.J(t)||Ma(e,Ae,b,t),l.J(r)||Ha(e,Ae,Se,r)})}t.DrawingWriter.WriteCT_PictureNonVisual=Bl;function Ml(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.cNvPr,r=i.cNvPicPr;l.J(t)||Ma(e,ke,b,t),l.J(r)||Ha(e,ke,Se,r)})}t.DrawingWriter.WriteCT_PictureNonVisualrelSizeAnchor=Ml,t.DrawingWriter.WriteCT_PictureNonVisualOneCellAnchor=Nl,t.DrawingWriter.WriteCT_PictureNonVisualForXdr=Nl;function Ol(e,t,r,i){e.writeElement(t+":"+r,function(){Et(e,i)},function(){var t=i.nvPicPr,r=i.blipFill,n=i.spPr,a=i.style;l.J(t)||Nl(e,Ie,ye,t),l.J(r)||Ro(e,Ie,_,r),l.J(n)||Cl(e,Ie,G,n,!1),l.J(a)||xl(e,Ae,we,a)})}t.DrawingWriter.WriteCT_PictureGroup=Ol;function Gl(e,t,r,i){e.writeElement(t+":"+r,function(){Et(e,i)},function(){var t=i.nvPicPr,r=i.blipFill,n=i.spPr,a=i.style;l.J(t)||Ml(e,ke,ye,t),l.J(r)||Ro(e,ke,_,r),l.J(n)||Cl(e,ke,G,n),l.J(a)||xl(e,ke,we,a)})}t.DrawingWriter.WriteCT_PictureRelSizeAnchor=Gl;function Hl(e,t,r,i){e.writeElement(t+":"+r,function(){Et(e,i)},function(){var t=i.nvPicPr,r=i.blipFill,n=i.spPr,a=i.style;l.J(t)||Bl(e,Ie,ye,t),l.J(r)||Ro(e,Ae,_,r),l.J(n)||Cl(e,Ae,G,n),l.J(a)||xl(e,Ae,we,a)})}t.DrawingWriter.WriteCT_Picture=Hl;function Ul(e,t,r,i){e.writeElement(t+":"+r,function(){Et(e,i)},function(){var t=i.nvPicPr,r=i.blipFill,n=i.spPr,a=i.style;l.J(t)||Bl(e,Ie,ye,t),l.J(r)||Ro(e,Ie,_,r),l.J(n)||Cl(e,Ie,G,n),l.J(a)||xl(e,Ae,we,a)})}t.DrawingWriter.WriteCT_PictureOneCellAnchor=Ul;function Jl(e,t,r,i){e.writeElement(t+":"+r,function(){Et(e,i)},function(){var t=i.nvPicPr,r=i.blipFill,n=i.spPr,a=i.style;l.J(t)||Nl(e,Ie,ye,t),l.J(r)||Ro(e,Ie,_,r),l.J(n)||Cl(e,Ie,G,n,!1),l.J(a)||xl(e,Ie,we,a)})}t.DrawingWriter.WriteCT_PictureForXdr=Jl;function Wl(e,t,r,i){Ye(e,t,r,i,Ie)}t.DrawingWriter.WriteCT_GraphicalObjectFrameNonVisual=Wl;function Vl(e,t,r,i){Ye(e,t,r,i,ke)}t.DrawingWriter.WriteCT_GraphicalObjectFrameNonVisual_cdr=Vl;function zl(e,t,r,i,n){e.writeElement(t+":"+r,function(){e.writeAttributeString(w,"")},function(){var t=i.nvGraphicFramePr,r=i.graphic;l.J(t)||Wl(e,Ie,"nvGraphicFramePr",t),gr(e,Ie,"xfrm",d,!0),l.J(r)||za(e,Ae,"graphic",r,n)})}t.DrawingWriter.WriteCT_GraphicalObjectFrame=zl;function jl(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.macro)||e.writeAttributeString(w,i.macro),i.fPublished===!0&&e.writeAttributeString(y,"1")},function(){var t=i.nvGraphicFramePr,r=i.xfrm,n=i.graphic;l.J(t)||Vl(e,ke,"nvGraphicFramePr",t),gr(e,ke,"xfrm",r,!0),l.J(n)||za(e,Ae,"graphic",n)})}t.DrawingWriter.WriteCT_GraphicalObjectFrame_cdr=jl;function Xl(e,t,r,i){e.writeElement(t+":"+r,function(){var r=i.cNvPr,n=i.cNvGrpSpPr;l.J(r)||Ma(e,t,b,r),l.J(n)||Ua(e,t,"cNvGrpSpPr",n)})}t.DrawingWriter.WriteCT_GroupShapeNonVisual=Xl;function Kl(e,r,i,n){e.writeElement(r+":"+i,function(){var i=n.nvGrpSpPr,a=n.grpSpPr;l.J(i)||Xl(e,Ie,"nvGrpSpPr",i),l.J(a)||Sl(e,Ie,"grpSpPr",a),n.sp.forEach(function(i){var n,a,o,s;5===i.shapeType?Il(e,r,"sp",i):3===i.shapeType?Kl(e,r,V,i):2===i.shapeType?zl(e,r,v,i):4===i.shapeType?Ll(e,r,z,i):1===i.shapeType?l.J(i.cellRange)||i.cameraTool!==!0?Ol(e,r,"pic",i):(n={a14:t.DrawingWriter.a14,Requires:"a14",pic:i},a={},i={AlternateContent:t.DrawingWriter.mc,Choice:n,
42
+ Fallback:a},Ql(e,"mc","AlternateContent",i)):0===i.shapeType||7===i.shapeType&&(o=i.nvSpPr.cNvPr.extLst||{},o.ext=o.ext||[],o.ext.push({uri:"{63B3BB69-23CF-44E3-9099-C40C66FF867C}",compatExt:{spid:i.control.spid}}),i.nvSpPr.cNvPr.extLst=o,n={a14:t.DrawingWriter.a14,Requires:"a14",sp:i},s={AlternateContent:t.DrawingWriter.mc,Choice:n,FallBack:!0},Ql(e,"mc","AlternateContent",s))})})}t.DrawingWriter.WriteCT_GroupShape=Kl;function ql(e,t,r,i){var n=void 0===t?r:t+":"+r;e.writeElement(n,function(){var t,r;l.J(i.col)||e.writeElementString("xdr:col",i.col),t=i.colOffset,l.J(t)||e.writeElementString("xdr:colOff",a(t)),l.J(i.row)||e.writeElementString("xdr:row",i.row),r=i.rowOffset,l.J(r)||e.writeElementString("xdr:rowOff",a(r))})}t.DrawingWriter.WriteCT_Position=ql;function Yl(e,t,r,n){e.writeElement(t+":"+r,function(){var t=n.editAs;l.J(t)||0===t||e.writeAttributeString("editAs",i.Charts.ST_EditAs[t])},function(){var t=n.startPoint,r=n.endPoint,i=n.AlternateContent,a=n.sp,o=n.grpSp,s=n.graphicFrame,c=n.cxnSp,u=n.pic,d=n.clientData,f=l.Util.za(n),p=f&&f.layoutId,h=l.Util.Aa(p);l.J(t)||ql(e,Ie,"from",t),l.J(r)||ql(e,Ie,"to",r),!l.J(i)&&h&&Ql(e,Le,xe,i,h),l.J(a)||Pl(e,Ie,"sp",a),l.J(o)||Kl(e,Ie,V,o),l.J(s)||h||zl(e,Ie,v,s,h),l.J(c)||Ll(e,Ie,z,c),l.J(u)||Jl(e,Ie,"pic",u),l.J(d)||Tl(e,Ie,Te,d)})}t.DrawingWriter.WriteCT_TwoCellAnchor=Yl;function Ql(e,r,i,n,a){e.writeElement(r+":"+i,function(){e.writeAttributeString("xmlns:mc",n.AlternateContent)},function(){var r=n.Choice,i=n.Fallback;l.J(r)&&Zl(n)&&(r={a14:t.DrawingWriter.a14,Requires:"a14",twoCellAnchor:n},i={}),l.J(r)||$l(e,Le,"Choice",r,a),l.J(i)||es(e,Le,"Fallback",i)})}t.DrawingWriter.WriteCT_AlternateContent=Ql;function Zl(e){return!(!e||!e.pic||e.pic.cameraTool!==!0)}function $l(e,t,r,i,n){e.writeElement(t+":"+r,function(){!n||l.J(i.Requires)||l.J(i.cx)||e.writeAttributeString("xmlns:"+i.Requires,i.cx);var t=i.a14;l.J(t)||e.writeAttributeString("xmlns:a14",i.a14),e.writeAttributeString("Requires",i.Requires)},function(){var t,r,a,o=i.GraphicalObjectFrame;l.J(o)||zl(e,Ie,"graphicFrame",o,n),t=i.twoCellAnchor,l.J(t)||Yl(e,Ie,"twoCellAnchor",t),r=i.sp,l.J(r)||Il(e,Ie,"sp",r),a=i.pic,l.J(a)||Jl(e,Ie,"pic",a)})}t.DrawingWriter.WriteCT_Choice=$l;function es(e,t,r,i){e.writeElement(t+":"+r,function(){},function(){var t=i.GraphicalObjectFrame;l.J(t)||zl(e,Ie,"graphicFrame",t)})}t.DrawingWriter.WriteCT_FallBack=es;function ts(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.startPoint;l.J(t)||ql(e,Ie,"from",t),ot(e,i,!0)})}t.DrawingWriter.WriteCT_OneCellAnchor=ts;function rs(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.pos;l.J(t)||er(e,Ie,"pos",t,!0),ot(e,i)})}t.DrawingWriter.WriteCT_AbsoluteAnchor=rs;function is(e,r,i,n){e.writeElement("xdr:"+i,function(){e.writeAttributeString("xmlns:a",t.DrawingWriter.a),e.writeAttributeString("xmlns:xdr",t.DrawingWriter.xdr)},function(){n.AnchorBaseList.forEach(function(t){1===t.anchorType?ts(e,Ie,"oneCellAnchor",t):0===t.anchorType?Yl(e,Ie,"twoCellAnchor",t):2===t.anchorType&&rs(e,Ie,"absoluteAnchor",t)})})}t.DrawingWriter.WriteCT_Drawing=is;function ns(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.spPr,r=i.bodyPr,n=i.lstStyle,a=i.style,o=i.extLst;l.J(t)||Cl(e,Ae,G,t),l.J(r)||Cs(e,Ae,"bodyPr",r),l.J(n)||hs(e,Ae,"lstStyle",n),l.J(a)||xl(e,Ae,we,a),l.J(o)||hr(e,Ae,g,o)})}t.DrawingWriter.WriteCT_DefaultShapeDefinition=ns;function as(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.spDef,r=i.lnDef,n=i.txDef,a=i.extLst;l.J(t)||ns(e,Ae,"spDef",t),l.J(r)||ns(e,Ae,"lnDef",r),l.J(n)||ns(e,Ae,"txDef",n),l.J(a)||hr(e,Ae,g,a)})}t.DrawingWriter.WriteCT_ObjectStyleDefaults=as;function os(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_EmptyElement=os;function ls(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.masterClrMapping,r=i.overrideClrMapping;l.J(t)||os(e,Ae,"masterClrMapping"),l.J(r)||sa(e,Ae,"overrideClrMapping",r)})}t.DrawingWriter.WriteCT_ColorMappingOverride=ls;function ss(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.clrScheme,r=i.clrMap;l.J(t)||It(e,Ae,j,t),l.J(r)||sa(e,Ae,"clrMap",r)})}t.DrawingWriter.WriteCT_ColorSchemeAndMapping=ss;function cs(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.extraClrScheme,function(t){ss(e,Ae,"extraClrScheme",t)})})}t.DrawingWriter.WriteCT_ColorSchemeList=cs;function us(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.name;Ge(t)||e.writeAttributeString(p,t)},function(){var t=i.themeElements,r=i.objectDefaults,n=i.extraClrSchemeLst,a=i.custClrLst,o=i.extLst;l.J(t)||Ht(e,Ae,"themeElements",t),l.J(r)||as(e,Ae,"objectDefaults",r),l.J(n)||cs(e,Ae,"extraClrSchemeLst",n),l.J(a)||Dt(e,Ae,"custClrLst",a),l.J(o)||hr(e,Ae,g,o)})}t.DrawingWriter.WriteCT_OfficeStyleSheet=us;function ds(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.clrScheme,r=i.fontScheme,n=i.fmtScheme;l.J(t)||It(e,Ae,j,t),l.J(r)||_t(e,Ae,X,r),l.J(n)||Gt(e,Ae,K,n)})}t.DrawingWriter.WriteCT_BaseStylesOverride=ds;function fs(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.themeElements,r=i.clrMap;l.J(t)||Ht(e,Ae,"themeElements",t),l.J(r)||sa(e,Ae,"clrMap",r)})}t.DrawingWriter.WriteCT_ClipboardStyleSheet=fs;function ps(e,t,r,i){e.writeElement(t+":"+r,function(){var r=i.pPr,n=i.endParaRPr,a=i.elements;l.J(r)||Hs(e,t,"pPr",r),l.J(a)||a.forEach(function(r){0===r.elementType?Js(e,t,Ee,r):1===r.elementType?Os(e,t,"br",r):2===r.elementType&&Us(e,t,"fld",r)}),l.J(n)||Ls(e,t,"endParaRPr",n)})}t.DrawingWriter.WriteCT_TextParagraph=ps;function hs(e,t,r,i){e.writeElement(t+":"+r,function(){var t=i.defPPr,r=i.lvl1pPr,n=i.lvl2pPr,a=i.lvl3pPr,o=i.lvl4pPr,s=i.lvl5pPr,c=i.lvl6pPr,u=i.lvl7pPr,d=i.lvl8pPr,f=i.lvl9pPr,p=i.extLst;l.J(t)||Hs(e,Ae,"defPPr",t),l.J(r)||Hs(e,Ae,"lvl1pPr",r),l.J(n)||Hs(e,Ae,"lvl2pPr",n),l.J(a)||Hs(e,Ae,"lvl3pPr",a),l.J(o)||Hs(e,Ae,"lvl4pPr",o),l.J(s)||Hs(e,Ae,"lvl5pPr",s),l.J(c)||Hs(e,Ae,"lvl6pPr",c),l.J(u)||Hs(e,Ae,"lvl7pPr",u),l.J(d)||Hs(e,Ae,"lvl8pPr",d),l.J(f)||Hs(e,Ae,"lvl9pPr",f),l.J(p)||hr(e,Ae,g,p)})}t.DrawingWriter.WriteCT_TextListStyle=hs;function ms(e,t,r,i){e.writeLeafElement(t+":"+r,function(){var t=i.fontScale,r=i.lnSpcReduction;l.J(t)||1e5===t||e.writeAttributeString("fontScale",t),l.J(r)||0===r||e.writeAttributeString("lnSpcReduction",r)})}t.DrawingWriter.WriteCT_TextNormalAutofit=ms;function gs(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_TextShapeAutofit=gs;function bs(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_TextNoAutofit=bs;function ws(e){return 6e4*e}t.DrawingWriter.getRotationData=ws;function Cs(e,t,r,n){e.writeElement(t+":"+r,function(){var t=n.rot,r=n.vertOverflow,a=n.horzOverflow,o=n.wrap,s=n.lIns,c=n.tIns,u=n.rIns,d=n.bIns,f=n.numCol,p=n.spcCol,h=n.anchor;l.J(t)||e.writeAttributeString("rot",ws(t)),n.spcFirstLastPara===!0&&e.writeAttributeString("spcFirstLastPara","1"),l.J(r)||0===r||e.writeAttributeString("vertOverflow",i.Charts.ST_TextVertOverflowType[r]),l.J(a)||0===a||e.writeAttributeString("horzOverflow",i.Charts.ST_TextHorzOverflowType[a]),l.J(n.vert)||e.writeAttributeString("vert",i.Charts.ST_TextVerticalType[n.vert]),l.J(o)||0===o||e.writeAttributeString("wrap",i.Charts.ST_TextWrappingType[o]),l.J(s)||91440===s||e.writeAttributeString("lIns",s),l.J(c)||45720===c||e.writeAttributeString("tIns",c),l.J(u)||91440===u||e.writeAttributeString("rIns",u),l.J(d)||45720===d||e.writeAttributeString("bIns",d),l.J(f)||0===f||e.writeAttributeString("numCol",f),l.J(p)||0===p||e.writeAttributeString("spcCol",p),n.rtlCol===!0&&e.writeAttributeString("rtlCol","1"),n.fromWordArt===!0&&e.writeAttributeString("fromWordArt","1"),l.J(h)||0===h||e.writeAttributeString("anchor",i.Charts.ST_TextAnchoringType[h]),n.anchorCtr===!0&&e.writeAttributeString("anchorCtr","1"),n.forceAA===!0&&e.writeAttributeString("forceAA","1"),n.upright===!0&&e.writeAttributeString("upright","1"),n.compatLnSpc===!0&&e.writeAttributeString("compatLnSpc","1")},function(){var t=n.prstTxWarp,r=n.noAutofit,i=n.normAutofit,a=n.spAutoFit,o=n.scene3d,s=n.sp3d,c=n.flatTx,u=n.extLst;l.J(t)||sl(e,Ae,"prstTxWarp",t),l.J(r)||bs(e,Ae,"noAutofit"),l.J(i)||ms(e,Ae,"normAutofit",i),l.J(a)||gs(e,Ae,"spAutoFit"),l.J(o)||Ka(e,Ae,O,o),l.J(s)||Qa(e,Ae,"sp3d",s),l.J(c)||Za(e,Ae,"flatTx",c),l.J(u)||hr(e,Ae,g,u)})}t.DrawingWriter.WriteCT_TextBodyProperties=Cs;function Ss(e,t,r,i){e.writeElement(t+":"+r,function(){var t,r,n=i.bodyPr,a=i.lstStyle;Cs(e,Ae,"bodyPr",n||{}),l.J(a)||hs(e,Ae,"lstStyle",a),t=i.p,l.J(t)?(r={pPr:{defRPr:{}},endParaRPr:{},elements:[]},ps(e,Ae,"p",r)):Ze(i.p,function(t){ps(e,Ae,"p",t)})})}t.DrawingWriter.WriteCT_TextBody=Ss;function ys(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_TextBulletColorFollowText=ys;function vs(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_TextBulletSizeFollowText=vs;function xs(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_TextBulletSizePercent=xs;function Ts(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_TextBulletSizePoint=Ts;function As(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_TextBulletTypefaceFollowText=As;function ks(e,t,r,n){e.writeLeafElement(t+":"+r,function(){var t=n.startAt;l.J(n.type)||e.writeAttributeString(h,i.Charts.ST_TextAutonumberScheme[n.type]),l.J(t)||1===t||e.writeAttributeString("startAt",t)})}t.DrawingWriter.WriteCT_TextAutonumberBullet=ks;function Es(e,t,r,i){e.writeLeafElement(t+":"+r,function(){l.J(i.char)||e.writeAttributeString("char",i.char)})}t.DrawingWriter.WriteCT_TextCharBullet=Es;function Is(e,t,r,i){Je(e,t,r,i,Po,Ae,"blip")}t.DrawingWriter.WriteCT_TextBlipBullet=Is;function Fs(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_TextNoBullet=Fs;function Ps(e,t,r,i){e.writeLeafElement(t+":"+r,function(){var t=i.typeface,r=i.panose,a=i.pitchFamily,o=i.charset;l.J(t)||e.writeAttributeString("typeface",n.ConverterHelper.getFontName(t)),l.J(r)||e.writeAttributeString("panose",r),l.J(a)||0===a||e.writeAttributeString("pitchFamily",a),l.J(o)||1===o||e.writeAttributeString("charset",o)})}t.DrawingWriter.WriteCT_TextFont=Ps;function Ds(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_TextUnderlineLineFollowText=Ds;function Rs(e,t,r){He(e,t,r)}t.DrawingWriter.WriteCT_TextUnderlineFillFollowText=Rs,t.DrawingWriter.WriteCT_TextUnderlineFillGroupWrapper=No;function Ls(e,t,r,a){e.writeElement(t+":"+r,function(){var t=a.altLang,r=a.sz,o=a.kern,s=a.cap,c=a.spc,u=a.baseline,d=a.smtId,f=a.bmk;a.kumimoji===!0&&e.writeAttributeString("kumimoji","1"),l.J(t)||e.writeAttributeString("altLang",t),l.J(r)||0===r||e.writeAttributeString("sz",Math.round(100*n.UnitHelper.pixelToPoint(r))),l.J(a.b)||e.writeAttributeString("b",a.b?"1":"0"),l.J(a.i)||e.writeAttributeString("i",a.i?"1":"0"),l.J(a.u)||e.writeAttributeString("u",i.Charts.ST_TextUnderlineType[a.u]),l.J(a.strike)||e.writeAttributeString("strike",i.Charts.ST_TextStrikeType[a.strike]),l.J(o)||0===o||e.writeAttributeString("kern",o),l.J(s)||0===s||e.writeAttributeString("cap",i.Charts.ST_TextCapsType[s]),l.J(c)||e.writeAttributeString("spc",c),a.normalizeH===!0&&e.writeAttributeString("normalizeH","1"),l.J(u)||e.writeAttributeString("baseline",u),a.noProof===!0&&e.writeAttributeString("noProof","1"),a.dirty===!1&&e.writeAttributeString("dirty","0"),a.err===!0&&e.writeAttributeString("err","1"),a.smtClean===!1&&e.writeAttributeString("smtClean","0"),l.J(d)||0===d||e.writeAttributeString("smtId",d),l.J(f)||e.writeAttributeString("bmk",f)},function(){var t=a.ln,r=a.highlight,i=a.uLnTx,n=a.uLn,o=a.uFillTx,s=a.uFill,c=a.latin,u=a.ea,d=a.cs,f=a.sym,p=a.hlinkClick,h=a.hlinkMouseOver,m=a.extLst,b=a.effectLst,w=a.effectDag;l.J(t)||bl(e,Ae,"ln",t),je(e,a),l.J(b)||Uo(e,Ae,C,b),l.J(w)||Oo(e,Ae,S,w),l.J(r)||vr(e,Ae,"highlight",r),l.J(i)||Ds(e,Ae,"uLnTx"),l.J(n)||bl(e,Ae,"uLn",n),l.J(o)||Rs(e,Ae,"uFillTx"),l.J(s)||No(e,Ae,"uFill",s),l.J(c)||Ps(e,Ae,"latin",c),l.J(u)||Ps(e,Ae,"ea",u),l.J(d)||Ps(e,Ae,"cs",d),l.J(f)||Ps(e,Ae,"sym",f),l.J(p)||Ar(e,Ae,"hlinkClick",p),l.J(h)||Ar(e,Ae,"hlinkMouseOver",h),l.J(m)||hr(e,Ae,g,m)})}t.DrawingWriter.WriteCT_TextCharacterProperties=Ls;function _s(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_TextSpacingPercent=_s;function Ns(e,t,r,i){Ue(e,t,r,i,f)}t.DrawingWriter.WriteCT_TextSpacingPoint=Ns;function Bs(e,t,r,n){e.writeLeafElement(t+":"+r,function(){l.J(n.pos)||e.writeAttributeString("pos",n.pos),l.J(n.algn)||e.writeAttributeString("algn",i.Charts.ST_TextTabAlignType[n.algn])})}t.DrawingWriter.WriteCT_TextTabStop=Bs;function Ms(e,t,r,i){e.writeElement(t+":"+r,function(){Ze(i.tab,function(t){Bs(e,Ae,"tab",t)})})}t.DrawingWriter.WriteCT_TextTabStopList=Ms;function Os(e,t,r,i){Je(e,t,r,i,Ls,Ae,"rPr")}t.DrawingWriter.WriteCT_TextLineBreak=Os;function Gs(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.spcPct)||_s(e,Ae,"spcPct",i.spcPct),l.J(i.spcPts)||Ns(e,Ae,"spcPts",i.spcPts)})}t.DrawingWriter.WriteCT_TextSpacing=Gs;function Hs(e,t,r,n){e.writeElement(t+":"+r,function(){var t=n.marL,r=n.marR,a=n.lvl,o=n.indent,s=n.algn,c=n.defTabSz,u=n.fontAlgn;l.J(t)||0===t||e.writeAttributeString("marL",t),l.J(r)||0===r||e.writeAttributeString("marR",r),l.J(a)||0===a||e.writeAttributeString("lvl",a),l.J(o)||0===o||e.writeAttributeString("indent",o),l.J(s)||0===s||e.writeAttributeString("algn",i.Charts.ST_TextAlignType[s]),l.J(c)||0===c||e.writeAttributeString("defTabSz",c),n.rtl===!0&&e.writeAttributeString("rtl","1"),n.eaLnBrk===!0&&e.writeAttributeString("eaLnBrk","1"),l.J(u)||0===u||e.writeAttributeString("fontAlgn",i.Charts.ST_TextFontAlignType[u]),n.latinLnBrk===!0&&e.writeAttributeString("latinLnBrk","1"),n.hangingPunct===!0&&e.writeAttributeString("hangingPunct","1")},function(){var t=n.lnSpc,r=n.spcBef,i=n.spcAft,a=n.buClrTx,o=n.buClr,s=n.buSzTx,c=n.buSzPct,u=n.buSzPts,d=n.buFontTx,f=n.buFont,p=n.buNone,h=n.buAutoNum,m=n.buChar,b=n.buBlip,w=n.tabLst,C=n.defRPr,S=n.extLst;l.J(t)||Gs(e,Ae,"lnSpc",t),l.J(r)||Gs(e,Ae,"spcBef",r),l.J(i)||Gs(e,Ae,"spcAft",i),l.J(a)||ys(e,Ae,"buClrTx"),l.J(o)||vr(e,Ae,"buClr",o),l.J(s)||vs(e,Ae,"buSzTx"),l.J(c)||xs(e,Ae,"buSzPct",c),l.J(u)||Ts(e,Ae,"buSzPts",u),l.J(d)||As(e,Ae,"buFontTx"),l.J(f)||Ps(e,Ae,"buFont",f),l.J(p)||Fs(e,Ae,"buNone"),l.J(h)||ks(e,Ae,"buAutoNum",h),l.J(m)||Es(e,Ae,"buChar",m),l.J(b)||Is(e,Ae,"buBlip",b),l.J(w)||Ms(e,Ae,"tabLst",w),l.J(C)||Ls(e,Ae,"defRPr",C),l.J(S)||hr(e,Ae,g,S)})}t.DrawingWriter.WriteCT_TextParagraphProperties=Hs;function Us(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.id)||e.writeAttributeString("id",i.id),l.J(i.type)||e.writeAttributeString(h,i.type)},function(){l.J(i.rPr)||Ls(e,Ae,"rPr",i.rPr),l.J(i.pPr)||Hs(e,Ae,"pPr",i.pPr),l.J(i.t)||e.writeElementString("a:t",u(i.t))})}t.DrawingWriter.WriteCT_TextField=Us;function Js(e,t,r,i){e.writeElement(t+":"+r,function(){l.J(i.rPr)||Ls(e,Ae,"rPr",i.rPr),l.J(i.t)||e.writeElementString("a:t",u(i.t))})}t.DrawingWriter.WriteCT_RegularTextRun=Js},"./src/xlsx-io/writer/comment-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-writer.ts"),a=r("./src/common/excel-types.ts"),o=r("./src/xlsx-io/common/color-writer.ts"),l=r("./src/datamodel/excel-style.ts"),s=i.Util.oa;function c(e,t){var r=new n.XmlWriter;return r.writeDocument(),r.writeElement("comments",function(){r.writeAttributeString("xmlns",a.XFileConstants.Hd)},function(){d(r),r.writeElement("commentList",function(){t.forEach(function(e){u(r,e)})})}),r.getXmlString()}t.writeComments=c;function u(e,t){function r(e){var t=e;if(t){if("number"==typeof t)return t>400;if("string"==typeof t)return t.toLowerCase().indexOf("bold")!==-1||parseInt(t,10)>400}return!1}function n(e){var t=e;return!!t&&["italic","oblique"].indexOf(t.toLowerCase().trim())!==-1}e.writeElement("comment",function(){e.writeAttributeString("ref",i.IndexHelper.T(t.col)+(t.row+1)),e.writeAttributeString("authorId","0")},function(){e.writeElement("text",function(){e.writeElement("r",function(){var a,c,u;e.writeElement("rPr",function(){var i,a=t.fontWeight;r(a)&&e.writeLeafElement("b"),a=t.fontStyle,n(a)&&e.writeLeafElement("i"),i=t.textDecoration,i&&(1&i&&e.writeLeafElement("u"),8&i&&e.writeLeafElement("u",function(){e.writeAttributeString("val",l.UnderLineStyle[2])}),2&i&&e.writeLeafElement("strike")),a=t.fontSize,a&&e.writeLeafElement("sz",function(){e.writeAttributeString("val",a)}),a=t.foreColor,a?o.writeColor(e,"color",a):e.writeLeafElement("color",function(){e.writeAttributeString("indexed","81")}),a=t.fontFamily,a&&e.writeLeafElement("rFont",function(){e.writeAttributeString("val",a)}),e.writeLeafElement("family",function(){e.writeAttributeString("val","2")})}),a=t.text,c=i.J(a)?"":a,u=c.length!==c.trim().length,e.writeElement("t",function(){u&&e.writeAttributeString("xml:space","preserve")},function(){e.writeValue(s(c))})})})})}function d(e){e.writeElement("authors",void 0,function(){e.writeElement("author",void 0,function(){e.writeValue("Author")})})}function f(e,t,r){var n="_x0000_t",a="202",o="_x0000_s";e.writeElement("v:shapetype",function(){e.writeAttributeString("id",n+a),e.writeAttributeString("coordsize","21600,21600"),e.writeAttributeString("o:spt",a),e.writeAttributeString("path","m,l,21600r21600,l21600,xe")},function(){e.writeLeafElement("v:stroke",function(){e.writeAttributeString("joinstyle","miter")}),e.writeLeafElement("v:path",function(){e.writeAttributeString("gradientshapeok","t"),e.writeAttributeString("o:connecttype","rect")})}),t.forEach(c);function s(e){if(e&&e.indexOf("rgb")>=0){var t=l.ColorHelper.fromHtmlColor(e),r=t.toString(16).substr(-6);return"#"+r}return e}function c(t){var l=t.inset;e.writeElement("v:shape",function(){e.writeAttributeString("id",o+r),r++,e.writeAttributeString("type","#"+n+a),e.writeAttributeString("style",c(t)),e.writeAttributeString("fillcolor",s(t.backColor)),e.writeAttributeString("strokecolor",s(t.borderColor)),e.writeAttributeString("strokeweight",""+t.borderWidth),l||e.writeAttributeString("o:insetmode","auto")},function(){var r=t.dashStyle,n=t.lineStyle;r?e.writeLeafElement("v:stroke",function(){e.writeAttributeString("dashstyle",r)}):n&&e.writeLeafElement("v:stroke",function(){e.writeAttributeString("linestyle",n)}),e.writeLeafElement("v:fill",function(){var r=t.opacity;i.J(r)||1===r||e.writeAttributeString("opacity",Math.floor(65535*r)+"f"),e.writeAttributeString("color2","#ffffe1")}),e.writeLeafElement("v:shadow",function(){e.writeAttributeString("color","black"),e.writeAttributeString("obscured","t")}),e.writeLeafElement("v:path",function(){e.writeAttributeString("o:connecttype","none")}),e.writeElement("v:textbox",function(){e.writeAttributeString("style","mso-direction-alt:auto"+(t.autoSize?";mso-fit-shape-to-text:t":"")),l&&e.writeAttributeString("inset",l)},function(){e.writeElement("div",function(){e.writeAttributeString("style","text-align:"+t.hAlign.toLowerCase())},null)}),e.writeElement("x:ClientData",function(){e.writeAttributeString("ObjectType","Note")},function(){t.dynamicMove===!1&&e.writeLeafElement("x:MoveWithCells"),t.dynamicSize===!1&&e.writeLeafElement("x:SizeWithCells"),t.locked===!1&&e.writeElementString("x:Locked","False"),t.lockText===!1&&e.writeElementString("x:LockText","False"),e.writeElementString("x:AutoFill","False");var r=t.hAlign;"Left"!==r&&e.writeElementString("x:TextHAlign",r),e.writeElementString("x:Row",t.row),e.writeElementString("x:Column",t.col),1===t.displayMode&&e.writeLeafElement("x:Visible")})});function c(e){var t=["position:absolute"],r=e.marginLeft;return r>=0&&t.push("margin-left:"+r+"pt"),r=e.marginTop,r>=0&&t.push("margin-top:"+r+"pt"),r=e.width,r&&t.push("width:"+r),r=e.height,r&&t.push("height:"+r),t.push("z-index:"+e.zIndex),r=e.visibility,r&&t.push("visibility:"+r),t.join(";")}}}t.writeCommentShapes=f},"./src/xlsx-io/writer/conditionalformat-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/range-parser.ts"),n=r("./src/common/common.ts"),a=r("./src/datamodel/excel-style.ts"),o=r("./src/xlsx-io/common/color-writer.ts"),l=r("./src/common/excel-types.ts"),s=r("./src/xlsx-io/writer/style-writer.ts"),c=r("./src/xlsx-io/writer/datavalidation-writer.ts"),function(e){e[e.conditionRuleBase=0]="conditionRuleBase",e[e.cellValueRule=1]="cellValueRule",e[e.specificTextRule=2]="specificTextRule",e[e.formulaRule=3]="formulaRule",e[e.dateOccurringRule=4]="dateOccurringRule",e[e.top10Rule=5]="top10Rule",e[e.uniqueRule=6]="uniqueRule",e[e.duplicateRule=7]="duplicateRule",e[e.averageRule=8]="averageRule",e[e.twoScaleRule=10]="twoScaleRule",e[e.threeScaleRule=11]="threeScaleRule",e[e.dataBarRule=12]="dataBarRule",e[e.iconSetRule=13]="iconSetRule",e[e.rowStateRule=14]="rowStateRule",e[e.columnStateRule=15]="columnStateRule"}(u||(u={})),d={0:"num",1:"min",2:"max",3:"percent",4:"percentile",6:"formula",5:"autoMin",7:"autoMax"},f={0:"3Arrows",1:"3ArrowsGray",4:"3Flags",5:"3TrafficLights1",6:"3TrafficLights2",7:"3Signs",8:"3Symbols",9:"3Symbols2",10:"4Arrows",11:"4ArrowsGray",12:"4RedToBlack",13:"4Rating",14:"4TrafficLights",15:"5Arrows",16:"5ArrowsGray",17:"5Rating",18:"5Quarters",3:"3Stars",2:"3Triangles",19:"5Boxes",20:"NoIcons"},p={1:"num",4:"percent",7:"formula",5:"percentile"},h={0:"equal",1:"notEqual",2:"greaterThan",3:"greaterThanOrEqual",4:"lessThan",5:"lessThanOrEqual",6:"between",7:"notBetween"};function C(e){var t=""+e;return"="===t.charAt(0)?t.substr(1):t}function S(e){return"string"==typeof e?(e="="===e[0]?e.substr(1):e,n.addXLFNPrefix(e)):e}function y(e){return"string"==typeof e}function v(e){return e===d[1]||e===d[2]}function x(e){var t,r,i,n;if(y(e.value1)&&c.isTablesheetColumnFormula(e.value1))return!0;if(y(e.value2)&&c.isTablesheetColumnFormula(e.value2))return!0;if(y(e.minValue)&&c.isTablesheetColumnFormula(e.minValue))return!0;if(y(e.midValue)&&c.isTablesheetColumnFormula(e.midValue))return!0;if(y(e.maxValue)&&c.isTablesheetColumnFormula(e.maxValue))return!0;if(y(e.text)&&c.isTablesheetColumnFormula(e.text))return!0;if(y(e.formula)&&c.isTablesheetColumnFormula(e.formula)&&c.isTablesheetColumnFormula(e.formula))return!0;if(e.iconCriteria&&e.iconCriteria.length>0)for(t=0,r=e.iconCriteria;t<r.length;t++)if(i=r[t],n=i.iconValue,y(n)&&c.isTablesheetColumnFormula(n))return!0;return!1}function T(e,t,r){var a,l,s=r.xg(t),c=s&&s.rules;if(c&&c.length>0)for(a=function(a){var l=c[a];return n.J(l.priority)&&(l.priority=1),M(l)||H(l,t,r.jj())||O(l)||x(l)?"continue":void e.writeElement("conditionalFormatting",function(){e.writeAttributeString("sqref",i.getRangeString(l.ranges)),l.pivot&&e.writeAttributeString("pivot","1")},function(){if(l.ruleType===u.dataBarRule)e.writeElement("cfRule",function(){e.writeAttributeString("type",u[l.ruleType].replace("Rule","")),e.writeAttributeString("priority",l.priority)},function(){e.writeElement("dataBar",function(){l.showBarOnly&&e.writeAttributeString("showValue","0")},function(){var t,r=d[l.minType];(n.J(r)||"autoMin"===r)&&(r="min"),e.writeLeafElement("cfvo",function(){e.writeAttributeString("type",r),v(r)||n.J(l.minValue)||e.writeAttributeString("val",n.Util.oa(C(l.minValue)))}),t=d[l.maxType],(n.J(t)||"autoMax"===t)&&(t="max"),e.writeLeafElement("cfvo",function(){e.writeAttributeString("type",t),v(t)||n.J(l.maxValue)||e.writeAttributeString("val",n.Util.oa(C(l.maxValue)))}),o.writeColor(e,"color",B(l.color))}),e.writeElement("extLst",function(){e.writeElement("ext",function(){e.writeAttributeString("uri","{B025F937-C7B1-47D3-B67F-A62EFF666E3E}"),e.writeAttributeString("xmlns:x14","http://schemas.microsoft.com/office/spreadsheetml/2009/9/main")},function(){l.id=n.Util.va(),e.writeElement("x14:id",function(){e.writeValue(l.id)})})})});else if(l.ruleType===u.twoScaleRule||l.ruleType===u.threeScaleRule)e.writeElement("cfRule",function(){e.writeAttributeString("type","colorScale"),e.writeAttributeString("priority",l.priority)},function(){e.writeElement("colorScale",function(){e.writeLeafElement("cfvo",function(){e.writeAttributeString("type",d[l.minType]),n.J(l.minValue)||e.writeAttributeString("val",n.Util.oa(C(l.minValue)))});var t=l.ruleType===u.threeScaleRule;t&&e.writeLeafElement("cfvo",function(){e.writeAttributeString("type",d[l.midType]),n.J(l.midValue)?e.writeAttributeString("val","50"):e.writeAttributeString("val",n.Util.oa(C(l.midValue)))}),e.writeLeafElement("cfvo",function(){e.writeAttributeString("type",d[l.maxType]),n.J(l.maxValue)||e.writeAttributeString("val",n.Util.oa(C(l.maxValue)))}),o.writeColor(e,"color",B(l.minColor)),t&&o.writeColor(e,"color",B(l.midColor)),o.writeColor(e,"color",B(l.maxColor))})});else if(l.ruleType===u.iconSetRule){if(M(l))return;e.writeElement("cfRule",function(){e.writeAttributeString("type","iconSet"),e.writeAttributeString("priority",l.priority)},function(){e.writeElement("iconSet",function(){var t=l.iconSetType;n.J(t)&&(t=0),e.writeAttributeString("iconSet",f[t]),l.reverseIconOrder&&e.writeAttributeString("reverse","1"),l.showIconOnly&&e.writeAttributeString("showValue","0")},function(){var t,r;for(e.writeLeafElement("cfvo",function(){e.writeAttributeString("type","percent"),e.writeAttributeString("val","0")}),t=function(t){var r=l.iconCriteria[t];e.writeLeafElement("cfvo",function(){e.writeAttributeString("type",p[r.iconValueType]),e.writeAttributeString("val",n.Util.oa(C(r.iconValue))),r.isGreaterThanOrEqualTo===!1&&e.writeAttributeString("gte","0")})},r=0;r<l.iconCriteria.length;r++)t(r)})})}else if(l.ruleType===u.cellValueRule)e.writeElement("cfRule",function(){e.writeAttributeString("type","cellIs"),l.priority&&e.writeAttributeString("priority",l.priority),l.dxfId>=0&&e.writeAttributeString("dxfId",l.dxfId),l.stopIfTrue&&e.writeAttributeString("stopIfTrue","1"),n.J(l.operator)||e.writeAttributeString("operator",h[l.operator])},function(){n.J(l.value1)||e.writeElement("formula",function(){e.writeValue(D(S(l.value1)))}),n.J(l.value2)||e.writeElement("formula",function(){e.writeValue(D(S(l.value2)))})});else{var t=A(l);e.writeElement("cfRule",function(){4===l.ruleType?e.writeAttributeString("type","timePeriod"):8===l.ruleType?(e.writeAttributeString("type","aboveAverage"),"aboveOrEqualToAverage"!==t.type&&"belowOrEqualToAverage"!==t.type||(t.equalAverage=!0),"belowAverage"!==t.type&&"belowOrEqualToAverage"!==t.type||(t.aboveAverage=!1)):2===l.ruleType&&n.J(t.type)?e.writeAttributeString("type","containsText"):e.writeAttributeString("type",t.type),t.dxfId>=0&&e.writeAttributeString("dxfId",t.dxfId),t.priority>=0&&e.writeAttributeString("priority",t.priority),t.stopIfTrue&&e.writeAttributeString("stopIfTrue","1"),n.J(t.aboveAverage)||(t.aboveAverage?e.writeAttributeString("aboveAverage","1"):e.writeAttributeString("aboveAverage","0")),n.J(t.equalAverage)||(t.equalAverage?e.writeAttributeString("equalAverage","1"):e.writeAttributeString("equalAverage","0")),n.J(t.bottom)||(t.bottom?e.writeAttributeString("bottom","1"):e.writeAttributeString("bottom","0")),t.percent&&e.writeAttributeString("percent","1"),n.J(t.operator)||e.writeAttributeString("operator",t.operator),n.J(t.rank)||e.writeAttributeString("rank",t.rank),n.J(t.stdDev)||e.writeAttributeString("stdDev",t.stdDev),n.J(t.text)||e.writeAttributeString("text",n.Util.oa(t.text)),4===l.ruleType&&e.writeAttributeString("timePeriod",t.type)},function(){var r,i;if(!n.J(t.formulas))for(r=function(r){e.writeElement("formula",function(){e.writeValue(D(S(t.formulas[r])))})},i=0;i<t.formulas.length;i++)r(i)})}})},l=0;l<c.length;l++)a(l)}t.writeConditionalFormating=T;function A(e){switch(e.ruleType){case 2:return L(e);case 3:return P(e);case 4:return F(e);case 5:return I(e);case 6:case 7:return E(e);case 8:return k(e)}}function k(e){var t,r,i=0,n="aboveAverage";switch(e.type){case 1:n="belowAverage";break;case 2:n="aboveOrEqualToAverage";break;case 3:n="belowOrEqualToAverage";break;case 4:i=1;break;case 5:n="belowAverage",i=1;break;case 6:i=2;break;case 7:n="belowAverage",i=2;break;case 8:i=3;break;case 9:n="belowAverage",i=3}return t={type:n,ranges:e.ranges,priority:e.priority,stopIfTrue:e.stopIfTrue,stdDev:i,dxfId:e.dxfId},r=_(t),r&&(t.formulas=[r]),t}function E(e){var t,r,i="uniqueValues";return 7===e.ruleType&&(i="duplicateValues"),t={type:i,ranges:e.ranges,priority:e.priority,stopIfTrue:e.stopIfTrue,dxfId:e.dxfId},r=_(t),r&&(t.formulas=[r]),t}function I(e){var t,r,i=void 0;return 1===e.type&&(i=!0),t={type:"top10",ranges:e.ranges,stopIfTrue:e.stopIfTrue,percent:!1,priority:e.priority,rank:e.rank,dxfId:e.dxfId,bottom:i},r=_(t),r&&(t.formulas=[r]),t}m={0:"today",1:"yesterday",2:"tomorrow",3:"last7Days",4:"thisMonth",5:"lastMonth",6:"nextMonth",7:"thisWeek",8:"lastWeek",9:"nextWeek"};function F(e){var t=m[e.type],r={type:t,ranges:e.ranges,priority:e.priority,stopIfTrue:e.stopIfTrue,dxfId:e.dxfId},i=_(r);return i&&(r.formulas=[i]),r}function P(e){return{type:"expression",ranges:e.ranges,priority:e.priority,stopIfTrue:e.stopIfTrue,dxfId:e.dxfId,formulas:[e.formula]}}function D(e){var t=/&/g,r=/</g,i=/>/g;return"string"==typeof e?e.replace(t,"&amp;").replace(r,"&lt;").replace(i,"&gt;"):n.J(e)?e:""+e}function R(e){return"string"==typeof e?e.replace(/"/g,'""'):n.J(e)?e:""+e}function L(e){var t,r,i=e.operator,n="containsText",a="contains";return 2===i?(n="beginsWith",a="beginsWith"):3===i?(n="endsWith",a="endsWith"):1===i?(n="notContainsText",a="notContains"):0===i&&(a="containsText"),t={type:n,priority:e.priority,operator:a,text:e.text,stopIfTrue:e.stopIfTrue,dxfId:e.dxfId,ranges:e.ranges},r=_(t),r&&(t.formulas=[r]),t}function _(e){var t,r,i,a;if(!e||!e.ranges)return null;if(t=e.ranges[0],t.row<0||t.col<0)return null;if(r=n.IndexHelper.T(t.col)+(t.row+1),i="",i=t.rowCount===l.ExcelConstants.wb?N("${0}:${1}",n.IndexHelper.T(t.col),n.IndexHelper.T(t.col+t.colCount-1)):t.colCount===l.ExcelConstants.vb?N("${0}:${1}",t.row+1,t.row+t.rowCount):N("${0}${1}:${2}${3}",n.IndexHelper.T(t.col),t.row+1,n.IndexHelper.T(t.col+t.colCount-1),t.row+t.rowCount),a=R(e.text),"top10"===e.type)return e.bottom?e.percent?N("IF(INT(COUNT({0})*{1}%)>0,SMALL({0},INT(COUNT({0})*{1}%)),MIN({0}))>={2}",i,e.rank,r):N("SMALL(({0}),MIN({1},COUNT({0})))>={2}",i,e.rank,r):e.percent?N("IF(INT(COUNT({0})*{1}%)>0,LARGE({0},INT(COUNT({0})*{1}%)),MIN({0}))<={2}",i,e.rank,r):N("LARGE(({0}),MIN({1},COUNT({0})))<={2}",i,e.rank,r);if("containsText"===e.type)return N('NOT(ISERROR(SEARCH("{0}",{1})))',a,r);if("notContainsText"===e.type)return N('ISERROR(SEARCH("{0}",{1}))',a,r);if("beginsWith"===e.type)return N('LEFT({0},{1}) = "{2}"',r,e.text.length,a);if("endsWith"===e.type)return N('RIGHT({0},{1}) = "{2}"',r,e.text.length,a);if("duplicateValues"===e.type)return N("AND(COUNTIF({0},{1})>1,NOT(ISBLANK({1})))",i,r);if("uniqueValues"===e.type)return N("AND(COUNTIF({0},{1})=1,NOT(ISBLANK({1})))",i,r);if("aboveAverage"===e.type||"belowAverage"===e.type||"aboveOrEqualToAverage"===e.type||"belowOrEqualToAverage"===e.type){if("aboveAverage"===e.type&&n.J(e.stdDev))return N("{0}>AVERAGE({1})",r,i);if(!n.J(e.aboveAverage)){if(!(n.J(e.equalAverage)||e.aboveAverage||n.J(e.equalAverage))&&e.equalAverage&&n.J(e.stdDev))return N("{0}<=AVERAGE({1})",r,i);if(!e.aboveAverage&&n.J(e.stdDev))return N("{0}<AVERAGE({1})",r,i)}if(!n.J(e.equalAverage)&&e.equalAverage&&n.J(e.stdDev))return N("{0}>=AVERAGE({1})",r,i);if(!n.J(e.stdDev))return n.J(e.aboveAverage)||e.aboveAverage?N("({0}-AVERAGE({1}))>=STDEVP({1})*({2})",r,i,e.stdDev):N("({0}-AVERAGE({1}))<=STDEVP({1})*(-{2})",r,i,e.stdDev)}return null}function N(e){var t,r,i=[];for(t=1;t<arguments.length;t++)i[t-1]=arguments[t];return r=Array.prototype.slice.call(arguments,1),e.replace(/{(\d+)}/g,function(e,t){return void 0!==r[t]?r[t]:e})}function B(e){return a.ColorHelper.toExcelColor(e)}function M(e){return e.ruleType===u.iconSetRule&&(3===e.iconSetType||2===e.iconSetType||19===e.iconSetType||j(e.iconSetType,e))}function O(e){return e.ruleType===u.rowStateRule||e.ruleType===u.columnStateRule}function G(e){return e.ruleType===u.dataBarRule}function H(e,t,r){return e.ruleType===u.formulaRule&&n.Util.ta(e.formula,t,r)}function U(e,t,r){var i,n,a=0;for(i=0;i<e.length;i++)n=e[i],(G(n)||M(n)||H(n,t,r))&&a++;return 0!==a}t.needWriteConditionalFormatExtension=U;function J(e,t,r){var i=r.xg(t),a=i&&i.rules;a&&0!==a.length&&U(a,t,r.jj())&&e.writeElement("ext",function(){e.writeAttributeString("uri","{78C0D931-6437-407d-A8EE-F0AAD7539E65}"),
43
+ e.writeAttributeString("xmlns:x14","http://schemas.microsoft.com/office/spreadsheetml/2009/9/main")},function(){e.writeElement("x14:conditionalFormattings",function(){var i,o;for(i=0;i<a.length;i++)o=a[i],x(o)||(n.J(o.id)&&(o.id=n.Util.va()),G(o)&&V(e,t,o),M(o)&&z(e,t,o),H(o,t,r.jj())&&W(e,t,o))})})}t.writeExtensionConditionalFormats=J,g="x14:conditionalFormatting",b="http://schemas.microsoft.com/office/excel/2006/main",w="x14:cfRule";function W(e,t,r){e.writeElement(g,function(){r.pivot&&e.writeAttributeString("pivot","1"),e.writeAttributeString("xmlns:xm",b)},function(){e.writeElement(w,function(){e.writeAttributeString("type","expression"),e.writeAttributeString("priority",r.priority),e.writeAttributeString("id",r.id)},function(){e.writeElement("xm:f",function(){e.writeValue(n.Util.oa(S(r.formula)))}),s.writeDxf(e,void 0,r.style,"x14:dxf")}),e.writeElement("xm:sqref",function(){e.writeValue(i.getRangeString(r.ranges))})})}function V(e,t,r){e.writeElement(g,function(){r.pivot&&e.writeAttributeString("pivot","1"),e.writeAttributeString("xmlns:xm",b)},function(){e.writeElement(w,function(){e.writeAttributeString("type",u[r.ruleType].replace("Rule","")),e.writeAttributeString("id",r.id)},function(){e.writeElement("x14:dataBar",function(){e.writeAttributeString("minLength","0"),e.writeAttributeString("maxLength","100"),r.showBarOnly&&e.writeAttributeString("showValue","0"),r.showBorder&&e.writeAttributeString("border","1"),r.gradient===!1&&e.writeAttributeString("gradient","0"),r.useNegativeFillColor===!1&&e.writeAttributeString("negativeBarColorSameAsPositive","1"),r.useNegativeBorderColor&&e.writeAttributeString("negativeBarBorderColorSameAsPositive","0"),e.writeAttributeString("direction",1===r.dataBarDirection?"rightToLeft":"leftToRight"),0!==r.axisPosition&&(1===r.axisPosition&&e.writeAttributeString("axisPosition","middle"),2===r.axisPosition&&e.writeAttributeString("axisPosition","none"))},function(){n.J(r.minType)||5===r.minType?e.writeLeafElement("x14:cfvo",function(){e.writeAttributeString("type","autoMin")}):n.J(r.minValue)?e.writeLeafElement("x14:cfvo",function(){e.writeAttributeString("type",d[r.minType])}):e.writeElement("x14:cfvo",function(){e.writeAttributeString("type",d[r.minType])},function(){e.writeElement("xm:f",function(){e.writeValue(n.Util.oa(S(r.minValue)))})}),n.J(r.maxType)||7===r.maxType?e.writeLeafElement("x14:cfvo",function(){e.writeAttributeString("type","autoMax")}):n.J(r.maxValue)?e.writeLeafElement("x14:cfvo",function(){e.writeAttributeString("type",d[r.maxType])}):e.writeElement("x14:cfvo",function(){e.writeAttributeString("type",d[r.maxType])},function(){e.writeElement("xm:f",function(){e.writeValue(n.Util.oa(S(r.maxValue)))})}),r.showBorder&&r.borderColor&&o.writeColor(e,"x14:borderColor",B(r.borderColor)),n.J(r.negativeFillColor)?o.writeColor(e,"x14:negativeFillColor",B("red")):o.writeColor(e,"x14:negativeFillColor",B(r.negativeFillColor)),n.J(r.negativeBorderColor)?o.writeColor(e,"x14:negativeBorderColor",B("black")):o.writeColor(e,"x14:negativeBorderColor",B(r.negativeBorderColor)),2!==r.axisPosition&&o.writeColor(e,"x14:axisColor",B(r.axisColor))})}),e.writeElement("xm:sqref",function(){e.writeValue(i.getRangeString(r.ranges))})})}function z(e,t,r){e.writeElement(g,function(){r.pivot&&e.writeAttributeString("pivot","1"),e.writeAttributeString("xmlns:xm",b)},function(){e.writeElement(w,function(){e.writeAttributeString("type","iconSet"),r.priority&&e.writeAttributeString("priority",r.priority),e.writeAttributeString("id",r.id)},function(){e.writeElement("x14:iconSet",function(){var t,i=r.iconSetType;n.J(i)&&(i=0),e.writeAttributeString("iconSet",f[i]),t=j(i,r),t&&e.writeAttributeString("custom","1"),r.showIconOnly&&e.writeAttributeString("showValue","0"),r.reverseIconOrder&&(t?r.icons.reverse():e.writeAttributeString("reverse","1"))},function(){var t,i,a,o,l;for(e.writeElement("x14:cfvo",function(){e.writeAttributeString("type","percent")},function(){e.writeElement("xm:f",function(){e.writeValue("0")})}),t=function(t){var i=r.iconCriteria[t];e.writeElement("x14:cfvo",function(){e.writeAttributeString("type",p[i.iconValueType]),i.isGreaterThanOrEqualTo===!1&&e.writeAttributeString("gte","0")},function(){e.writeElement("xm:f",function(){e.writeValue(n.Util.oa(S(i.iconValue)))})})},i=0;i<r.iconCriteria.length;i++)t(i);for(a=r.icons,o=function(t){e.writeLeafElement("x14:cfIcon",function(){var r=a[t].iconSetType,i=a[t].iconIndex,n=X(r,i);e.writeAttributeString("iconSet",f[n.iconSetType]),e.writeAttributeString("iconId",n.iconIndex)})},l=0;l<a.length;l++)o(l)})}),e.writeElement("xm:sqref",function(){e.writeValue(i.getRangeString(r.ranges))})})}function j(e,t){var r,i=!0,n=!0,a=!0,o=t.icons;for(r=0;r<o.length;r++)if(o[r].iconSetType!==e){i=!1;break}for(r=0;r<o.length;r++)if(o[r].iconIndex!==r){n=!1;break}for(r=0;r<o.length;r++)if(o[r].iconIndex!==o.length-1-r){a=!1;break}return!i||!n&&!a||!n&&!t.reverseIconOrder}function X(e,t){if(10===e){if(3===t)return{iconSetType:0,iconIndex:2};if(0===t)return{iconSetType:0,iconIndex:0}}else if(15===e){if(4===t)return{iconSetType:0,iconIndex:2};if(0===t)return{iconSetType:0,iconIndex:0};if(2===t)return{iconSetType:0,iconIndex:1};if(3===t)return{iconSetType:10,iconIndex:2};if(1===t)return{iconSetType:10,iconIndex:1}}else if(11===e){if(3===t)return{iconSetType:1,iconIndex:2};if(0===t)return{iconSetType:1,iconIndex:0}}else if(16===e){if(4===t)return{iconSetType:1,iconIndex:2};if(0===t)return{iconSetType:1,iconIndex:0};if(2===t)return{iconSetType:1,iconIndex:1};if(3===t)return{iconSetType:11,iconIndex:2};if(1===t)return{iconSetType:11,iconIndex:1}}else if(14===e){if(3===t)return{iconSetType:5,iconIndex:2};if(2===t)return{iconSetType:5,iconIndex:1};if(1===t)return{iconSetType:5,iconIndex:0}}else if(13===e){if(0===t)return{iconSetType:17,iconIndex:1};if(1===t)return{iconSetType:17,iconIndex:2};if(2===t)return{iconSetType:17,iconIndex:3};if(3===t)return{iconSetType:17,iconIndex:4}}return{iconSetType:e,iconIndex:t}}},"./src/xlsx-io/writer/control-writer.ts":function(e,t,r){"use strict";var i,n;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/datamodel/excel-style.ts"),n=i.UnitHelper.pixelToEMU;function a(e){e.writeElement("o:shapelayout",function(){e.writeAttributeString("v:ext","edit")},function(){e.writeLeafElement("o:idmap",function(){e.writeAttributeString("v:ext","edit"),e.writeAttributeString("data","1")})})}function o(e){e.writeElement("v:shapetype",function(){e.writeAttributeString("id","_x0000_t201"),e.writeAttributeString("coordsize","21600,21600"),e.writeAttributeString("o:spt","201"),e.writeAttributeString("path","m,l,21600r21600,l21600,xe")},function(){e.writeLeafElement("v:stroke",function(){e.writeAttributeString("joinstyle","miter")}),e.writeLeafElement("v:path",function(){e.writeAttributeString("shadowok","f"),e.writeAttributeString("o:extrusionok","f"),e.writeAttributeString("strokeok","f"),e.writeAttributeString("fillok","f"),e.writeAttributeString("o:connecttype","rect")}),e.writeLeafElement("o:lock",function(){e.writeAttributeString("v:ext","edit"),e.writeAttributeString("shapetype","t")})})}function l(e,t){t&&e.writeLeafElement("v:fill",function(){t.stops?0===t.type?c(e,t):1===t.type&&d(e,t):t.src?f(e,t):e.writeAttributeString("opacity",h(t.transparency))})}function s(e){return e=90-e,e%=360,e<0&&(e+=360),e}function c(e,t){var r,i=t.stops,n="100%",a=h(i[0].transparency),o=h(i[i.length-1].transparency);w(i)&&(i=i.slice(0,Math.floor(i.length/2)+1),i.forEach(function(e){return e.position*=2}),n="50%",o=h(i[i.length-1].transparency),r=a,a=o,o=r),e.writeAttributeString("opacity",a),e.writeAttributeString("color2",i[i.length-1].color),e.writeAttributeString("o:opacity2",o),e.writeAttributeString("recolor","t"),e.writeAttributeString("rotate","t"),e.writeAttributeString("angle",s(t.angle)),e.writeAttributeString("colors",i.map(p).join(";")),e.writeAttributeString("method","none"),e.writeAttributeString("focus",n),e.writeAttributeString("type","gradient")}function u(e){var t="0%,0%";switch(e){case 0:t="50%,50%";break;case 2:t="100%,0%";break;case 3:t="0%,100%";break;case 4:t="100%,100%"}return t}function d(e,t){var r=t.stops,i=r[r.length-1],n=h(i.transparency),a=h(r[0].transparency);e.writeAttributeString("opacity",n),e.writeAttributeString("color2",i.color),e.writeAttributeString("o:opacity2",a),e.writeAttributeString("recolor","t"),e.writeAttributeString("rotate","t"),e.writeAttributeString("colors",r.map(p).join(";")),e.writeAttributeString("method","none"),e.writeAttributeString("focusposition",u(t.direction)),e.writeAttributeString("focus","100%"),e.writeAttributeString("type","gradientradial")}function f(e,t){e.writeAttributeString("o:relid",t.rid),e.writeAttributeString("o:title","picture"),e.writeAttributeString("rotate","t"),e.writeAttributeString("type",t.tilePictureAsTexture?"tile":"frame")}function p(e){var t=e.position,r=e.color;return Math.round(100*t)+"% "+r}function h(e){return 1-e}function m(e){return e&&(e.src||e.stops||e.color)}function g(e){return e.stops?e.stops[0].color:e.color}function b(e){return e&&e.color}function w(e){var t,r=function(e,t){return Math.abs(e-t)<1e-4},i=function(e,t){return e.color===t.color&&r(e.transparency,t.transparency)&&r(e.position,1-t.position)},n=e.length,a=Math.floor(n/2);if(n<3||n%2!==1||!r(e[a].position,.5))return!1;for(t=0;t<a;t++)if(!i(e[t],e[n-1-t]))return!1;return!0}function C(e,t){t&&e.writeLeafElement("v:stroke",function(){t.dashStyle&&e.writeAttributeString("dashstyle",t.dashStyle),t.transparency&&e.writeAttributeString("opacity",1-t.transparency),t.lineStyle&&e.writeAttributeString("linestyle",t.lineStyle),t.joinStyle&&e.writeAttributeString("joinstyle",t.joinStyle)})}function S(e,t){var r=t.sp.control,i=JSON.parse(JSON.stringify(r.props)),n=r.disabled,a=function(e){return"CheckBox"===e&&(e="Checkbox"),e};e.writeElement("x:ClientData",function(){e.writeAttributeString("ObjectType",a(i.objectType))},function(){var r,a;e.writeElementString("x:Anchor",T(t)),n&&e.writeLeafElement("x:Disabled");for(r in i)a=i[r],"checked"===r&&(a=x(a)),"objectType"!==r&&("noThreeD"===r&&a?e.writeLeafElement("x:NoThreeD2"):e.writeElementString("x:"+k(r),a))})}function y(e,t){var r=t.sp.control,i=r.spid,a=r.style,o=a.fill,s=a.line;e.writeElement("v:shape",function(){e.writeAttributeString("id",i),e.writeAttributeString("o:spid",i),e.writeAttributeString("type","#_x0000_t201"),e.writeAttributeString("style",A(t)),m(o)?e.writeAttributeString("fillcolor",g(o)):e.writeAttributeString("filled","f"),b(s)?(e.writeAttributeString("strokecolor",s.color),e.writeAttributeString("strokeweight",n(s.width))):e.writeAttributeString("stroked","f"),e.writeAttributeString("o:insetmode","auto")},function(){l(e,o),C(e,s),e.writeLeafElement("o:lock",function(){e.writeAttributeString("v:ext","edit"),e.writeAttributeString("rotation","t"),e.writeAttributeString("text","t")}),S(e,t)})}function v(e,t,r){0!==t.length&&(a(e),o(e),t.forEach(function(t){t.sp.control.spid="_x0000_s"+r,r++,y(e,t)}))}t.writeControlShapes=v;function x(e){var t={Checked:1,Mixed:2};return t[e]}function T(e){var t=e.sp.control.anchorInfo,r=t.startPoint,i=t.endPoint,n=function(e){return[e.col,e.colOffset,e.row,e.rowOffset]};return n(r).concat(n(i)).join(",")}function A(e){var t="position:absolute;margin-left:0;margin-top:0;width:100%pt;height:100%pt",r=e.sp.control.visible;return r||(t+=";visibility:hidden"),t}function k(e){return e.substr(0,1).toUpperCase()+e.substr(1)}},"./src/xlsx-io/writer/ctrlprops-writer.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/xml-io/xml-writer.ts");function n(e){var t=new i.XmlWriter,r=e.sp.control.props;return t.writeDocument(),t.writeLeafElement("formControlPr",function(){t.writeAttributeString("xmlns","http://schemas.microsoft.com/office/spreadsheetml/2009/9/main");for(var e in r)r.hasOwnProperty(e)&&t.writeAttributeString(e,r[e])}),t.getXmlString()}t.writeCtrlProps=n},"./src/xlsx-io/writer/datavalidation-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=i.StringEx.O,a=i.Util.oa,o=null,l={0:"none",1:"whole",2:"decimal",3:"list",4:"date",5:"time",6:"textLength",7:"custom"},s={0:"stop",1:"warning",2:"information"},c={6:"between",7:"notBetween",0:"equal",1:"notEqual",2:"greaterThan",4:"lessThan",3:"greaterThanOrEqual",5:"lessThanOrEqual"};function u(e){return i.isNullOrUndefined(e)||""===e}function d(e){var t,r,i=/\[[^\]]+\]|@/,n=e.split(/\'|\"/g);if(n&&n.length>0)for(t=0;t<n.length;t++)if(r=n[t],t%2===0&&r.match(i))return!0;return!1}t.isTablesheetColumnFormula=d;function f(e){var t=i.isNullOrUndefined(e.ranges)||""===e.ranges||0===e.ranges.length;return e.firstFormula&&(t=t||d(e.firstFormula)),e.secondFormula&&(t=t||d(e.secondFormula)),t}function p(e,t){i.isNullOrUndefined(t.type)||0===t.type||e.writeAttributeString("type",l[t.type]),i.isNullOrUndefined(t.errorStyle)||0===t.errorStyle||e.writeAttributeString("errorStyle",s[t.errorStyle]),i.isNullOrUndefined(t.compareOperator)||6===t.compareOperator||e.writeAttributeString("operator",c[t.compareOperator]),t.allowBlank!==!1&&e.writeAttributeString("allowBlank","1"),t.showPromptBox===!1&&e.writeAttributeString("showDropDown","1"),t.showInputMessage!==!1&&e.writeAttributeString("showInputMessage","1"),t.showErrorBox!==!1&&e.writeAttributeString("showErrorMessage","1"),u(t.errorTitle)||e.writeAttributeString("errorTitle",a(t.errorTitle)),u(t.error)||e.writeAttributeString("error",a(i.Util.xa(t.error))),u(t.promptTitle)||e.writeAttributeString("promptTitle",a(t.promptTitle)),u(t.prompt)||e.writeAttributeString("prompt",a(i.Util.xa(t.prompt)))}function h(e,t,r){var o=r.Jj(t),l=[];r.On||(r.On=[]),o.length>0&&o.forEach(function(e){e.external?r.On.push(e):l.push(e)}),l.length>0&&e.writeElement("dataValidations",function(){e.writeAttributeString("count",l.length)},function(){l.forEach(function(t){i.isNullOrUndefined(t)||f(t)||e.writeElement("dataValidation",function(){p(e,t),e.writeAttributeString("sqref",t.ranges)},function(){n(t.firstFormula)||e.writeElementString("formula1",a(i.addXLFNPrefix(t.firstFormula))),n(t.secondFormula)||e.writeElementString("formula2",a(i.addXLFNPrefix(t.secondFormula)))})})})}t.writeDataValidations=h;function m(e,t){var r=t.On;r&&0===r.length||(e.writeElement("ext",function(){e.writeAttributeString("xmlns:x14","http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"),e.writeAttributeString("uri","{CCE6A557-97BC-4b89-ADB6-D9C93CAAB3DF}")},function(){e.writeElement("x14:dataValidations",function(){e.writeAttributeString("xmlns:xm","http://schemas.microsoft.com/office/excel/2006/main"),e.writeAttributeString("count",r.length)},function(){r.forEach(function(t){e.writeElement("x14:dataValidation",function(){p(e,t)},function(){n(t.firstFormula)||e.writeElement("x14:formula1",function(){e.writeElementString("xm:f",a(i.addXLFNPrefix(t.firstFormula)))}),n(t.secondFormula)||e.writeElement("x14:formula2",function(){e.writeElementString("xm:f",a(i.addXLFNPrefix(t.secondFormula)))}),e.writeElementString("xm:sqref",t.ranges)})})})}),t.On=o)}t.writeExtensionDataValidations=m},"./src/xlsx-io/writer/docPropsAppWriter.ts":function(e,t,r){"use strict";var i,n;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts");function a(e){var t=new i.XmlWriter;return t.writeDocument(),t.writeElement("Properties",function(){t.writeAttributeString("xmlns",n.XFileConstants.te),t.writeAttributeString("xmlns:vt",n.XFileConstants.ue)},function(){var r,i=e.Ne.docProps.docPropsApp;for(r in i)if(i.hasOwnProperty(r))switch(r){case"HeadingPairs":o(t,i);break;case"TitlesOfParts":l(t,i);break;default:s(r,t,i)}}),t.getXmlString()}t.writeDocPropsApp=a;function o(e,t){e.writeElement("HeadingPairs",function(){},function(){e.writeElement("vt:vector",function(){e.writeAttributeString("size",t.HeadingPairs.size),e.writeAttributeString("baseType",t.HeadingPairs.baseType)},function(){var r,i=t.HeadingPairs.workbookInfoArray,n=function(t){e.writeElement("vt:variant",function(){},function(){e.writeElement(i[t].elementType,function(){},function(){e.writeValue(i[t].value)})})};for(r=0;r<i.length;r++)n(r)})})}function l(e,t){e.writeElement("TitlesOfParts",function(){},function(){e.writeElement("vt:vector",function(){e.writeAttributeString("size",t.TitlesOfParts.size),e.writeAttributeString("baseType",t.TitlesOfParts.baseType)},function(){var r,i=t.TitlesOfParts.sheetsNameArray,n=function(t){e.writeElement("vt:lpstr",function(){},function(){e.writeValue(i[t])})};for(r=0;r<i.length;r++)n(r)})})}function s(e,t,r){var i=e.slice(0,1).toUpperCase()+e.slice(1);t.writeElement(i,function(){},function(){t.writeValue(r[e])})}},"./src/xlsx-io/writer/docPropsCoreWriter.ts":function(e,t,r){"use strict";var i,n;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts");function a(e){var t=new i.XmlWriter;return t.writeDocument(),t.writeElement("cp:coreProperties",function(){t.writeAttributeString("xmlns:cp",n.XFileConstants.ne),t.writeAttributeString("xmlns:dc",n.XFileConstants.oe),t.writeAttributeString("xmlns:dcterms",n.XFileConstants.pe),t.writeAttributeString("xmlns:dcmitype",n.XFileConstants.qe),t.writeAttributeString("xmlns:xsi",n.XFileConstants.re)},function(){var r,i=e.Ne.docProps.docPropsCore,n=function(e){if(i.hasOwnProperty(e))switch(e){case"title":t.writeElement("dc:title",function(){},function(){t.writeValue(i[e])});break;case"subject":t.writeElement("dc:subject",function(){},function(){t.writeValue(i[e])});break;case"creator":t.writeElement("dc:creator",function(){},function(){t.writeValue(i[e])});break;case"keywords":t.writeElement("cp:keywords",function(){},function(){t.writeValue(i[e])});break;case"description":t.writeElement("dc:description",function(){},function(){t.writeValue(i[e])});break;case"lastModifiedBy":t.writeElement("cp:lastModifiedBy",function(){},function(){t.writeValue(i[e])});break;case"created":t.writeElement("dcterms:created",function(){t.writeAttributeString("xsi:type","dcterms:W3CDTF")},function(){t.writeValue(i[e])});break;case"modified":t.writeElement("dcterms:modified",function(){t.writeAttributeString("xsi:type","dcterms:W3CDTF")},function(){t.writeValue(i[e])});break;case"lastPrinted":t.writeElement("cp:lastPrinted",function(){},function(){t.writeValue(i[e])});break;case"category":t.writeElement("cp:category",function(){},function(){t.writeValue(i[e])});break;case"contentStatus":t.writeElement("cp:contentStatus",function(){},function(){t.writeValue(i[e])});break;case"language":t.writeElement("dc:language",function(){},function(){t.writeValue(i[e])});break;case"version":t.writeElement("cp:version",function(){},function(){t.writeValue(i[e])});break;case"revision":t.writeElement("cp:revision",function(){},function(){t.writeValue(i[e])})}};for(r in i)n(r)}),t.getXmlString()}t.writeDocPropsCore=a},"./src/xlsx-io/writer/docPropsCustomWriter.ts":function(e,t,r){"use strict";var i,n;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts");function a(e){var t=new i.XmlWriter;return t.writeDocument(),t.writeElement("Properties",function(){t.writeAttributeString("xmlns",n.XFileConstants.we),t.writeAttributeString("xmlns:vt",n.XFileConstants.xe)},function(){var r,i=e.Ne.docProps.docPropsCustom,n=function(e){var r=i[e];t.writeElement("property",function(){for(var e in r)"propertyItemChildElement"!==e&&t.writeAttributeString(e,r[e])},function(){var e,i=r.propertyItemChildElement,n=function(e){i.hasOwnProperty(e)&&t.writeElement(e,function(){},function(){t.writeValue(i[e])})};for(e in i)n(e)})};for(r=0;r<i.length;r++)n(r)}),t.getXmlString()}t.writeDocPropsCustom=a},"./src/xlsx-io/writer/drawing-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/datamodel/excel-style.ts"),o=r("./src/xlsx-io/writer/slicer-writer.ts"),l=r("./src/xlsx-io/common/color-writer.ts"),s=r("./src/xlsx-io/writer/chart-writer.ts"),c=r("./src/datamodel/chart-model.ts");function u(){return n.XFileConstants}function d(e,t,r){l.writeColorScheme(e,t,r)}function f(e){return a.UnitHelper.pixelToEMU(e)}function p(e,t){e.forEach(function(e){t.push((e.nvSpPr||e.nvCxnSpPr||e.nvGrpSpPr||e.nvPicPr||e.nvGraphicFramePr).cNvPr.id),e.nvGrpSpPr&&p(e.sp,t)})}function h(e){var t=[];return e.forEach(function(e){if(e.sp)t.push(e.sp.nvSpPr.cNvPr.id);else if(e.cxnSp)t.push(e.cxnSp.nvCxnSpPr.cNvPr.id);else if(e.pic)t.push(e.pic.nvPicPr.cNvPr.id);else if(e.graphicFrame)t.push(e.graphicFrame.nvGraphicFramePr.cNvPr.id);else if(e.grpSp){var r=e.grpSp;t.push(r.nvGrpSpPr.cNvPr.id),p(r.sp,t)}}),Math.max.apply(null,t)}function m(e,t,r){var n=new i.XmlWriter;return n.k=1,n.writeDocument(!0),n.currentFile=r,n.writeElement("xdr:wsDr",function(){n.writeAttributeString("xmlns:xdr",u().Kd),n.writeAttributeString("xmlns:a",u().Ld)},function(){var e,r,i,a,l,s=t.shapes;s&&s.length&&(e=!0,r=h(s),n.k=r+1),i=t.pictures,i&&i.length&&C(n,i),a=t.slicers,a&&a.length&&o.writeSlicerDrawings(n,a,y),l=t.charts,l&&l.length&&b(n,l),e&&w(n,s)}),n.getXmlString()}t.writeDrawing=m;function g(e){var t={AnchorBaseList:[]};return e.forEach(function(e){e.graphicFrame||(e.graphicFrame={}),e.graphicFrame.graphic={graphicData:{chart:{id:e.chartId,typeName:"chartSpace"}}},t.AnchorBaseList.push(e)}),t}function b(e,t){var r=g(t);r.AnchorBaseList.forEach(function(t){1===t.anchorType?s.DrawingWriter.WriteCT_OneCellAnchor(e,"xdr","oneCellAnchor",t):0===t.anchorType?s.DrawingWriter.WriteCT_TwoCellAnchor(e,"xdr","twoCellAnchor",t):2===t.anchorType&&s.DrawingWriter.WriteCT_AbsoluteAnchor(e,"xdr","absoluteAnchor",t)})}function w(e,t){var r=function(e){return e.sp&&e.sp.control};t.forEach(function(t){r(t)?A(e,t):t.pic&&t.pic.cameraTool===!0?(t.AlternateContent=s.DrawingWriter.mc,s.DrawingWriter.WriteCT_AlternateContent(e,"mc","AlternateContent",t)):1===t.anchorType?s.DrawingWriter.WriteCT_OneCellAnchor(e,"xdr","oneCellAnchor",t):0===t.anchorType?s.DrawingWriter.WriteCT_TwoCellAnchor(e,"xdr","twoCellAnchor",t):2===t.anchorType&&s.DrawingWriter.WriteCT_AbsoluteAnchor(e,"xdr","absoluteAnchor",t)})}function C(e,t){t.forEach(function(t){S(e,t)})}function S(e,t){var r=t&&t.twoCellAnchor;r&&e.writeElement("xdr:twoCellAnchor",function(){var t=r.editAs;t&&e.writeAttributeString("editAs",c.Charts.ST_EditAs[t])},function(){y(e,"xdr:from",r.startPoint),y(e,"xdr:to",r.endPoint),v(e,t),T(e,t)})}function y(e,t,r){e.writeElement(t,function(){e.writeElementString("xdr:col",r.col),e.writeElementString("xdr:colOff",f(r.colOffset)),e.writeElementString("xdr:row",r.row),e.writeElementString("xdr:rowOff",f(r.rowOffset))})}function v(e,t){e.writeElement("xdr:pic",function(){e.writeElement("xdr:nvPicPr",function(){e.writeLeafElement("xdr:cNvPr",function(){e.writeAttributeString("id",e.k),e.k++,e.writeAttributeString("name",t.name),t.descr&&e.writeAttributeString("descr",t.descr),t.hidden&&e.writeAttributeString("hidden","1")}),e.writeElement("xdr:cNvPicPr",function(){e.writeLeafElement("a:picLocks",function(){e.writeAttributeString("noChangeAspect","1")})})}),e.writeElement("xdr:blipFill",function(){"svg+xml"===t.imageType?e.writeElement("a:blip",function(){e.writeAttributeString("xmlns:r",u().Ud)},function(){e.writeElement("a:extLst",function(){e.writeElement("a:ext",function(){e.writeAttributeString("uri","{96DAC541-7B7A-43D3-8B79-37D633B846F1}")},function(){e.writeLeafElement("asvg:svgBlip",function(){e.writeAttributeString("xmlns:asvg",u().Zd),e.writeAttributeString("r:embed",t.rid)})})})}):e.writeElement("a:blip",function(){e.writeAttributeString("xmlns:r",u().Ud),e.writeAttributeString("r:embed",t.rid),e.writeAttributeString("cstate","print")},function(){e.writeElement("a:extLst",function(){e.writeElement("a:ext",function(){e.writeAttributeString("uri","{28A0092B-C50C-407E-A947-70E740481C1C}")},function(){e.writeLeafElement("a14:useLocalDpi",function(){e.writeAttributeString("xmlns:a14",u().Yd),e.writeAttributeString("val","0")})})})});var r=t.srcRect;r&&s.DrawingWriter.WriteCT_RelativeRect(e,"a","srcRect",r),e.writeElement("a:stretch",function(){r||e.writeLeafElement("a:fillRect")})}),x(e,t)})}function x(e,t){e.writeElement("xdr:spPr",function(){var r,i,n,a,o,l;e.writeElement("a:xfrm",function(){t.rot&&e.writeAttributeString("rot",s.DrawingWriter.getRotationData(t.rot))},function(){e.writeLeafElement("a:off",function(){e.writeAttributeString("x","0"),e.writeAttributeString("y","0")}),e.writeLeafElement("a:ext",function(){e.writeAttributeString("cx","0"),e.writeAttributeString("cy","0")})}),e.writeElement("a:prstGeom",function(){e.writeAttributeString("prst","rect")},function(){e.writeLeafElement("a:avLst")}),r=t.fillColor,r&&d(e,"a:solidFill",r),i=t.lineBorder,n=i.width,a=i.color,o=i.style,l=i.noFill,e.writeElement("a:ln",function(){null!==n&&void 0!==n&&e.writeAttributeString("w",f(n)),"dbl"===o&&e.writeAttributeString("cmpd","dbl")},function(){l?e.writeLeafElement("a:noFill"):d(e,"a:solidFill",a),"dbl"!==o&&e.writeLeafElement("a:prstDash",function(){e.writeAttributeString("val",o)})})})}function T(e,t){e.writeLeafElement("xdr:clientData",function(){t.locked===!1&&e.writeAttributeString("fLocksWithSheet","0")})}function A(e,t){var r,i,n=t.sp.nvSpPr.cNvPr.extLst||{};n.ext=n.ext||[],n.ext.push({uri:"{63B3BB69-23CF-44E3-9099-C40C66FF867C}",compatExt:{spid:t.sp.control.spid}}),t.sp.nvSpPr.cNvPr.extLst=n,r={a14:s.DrawingWriter.a14,Requires:"a14",twoCellAnchor:t},i={AlternateContent:s.DrawingWriter.mc,Choice:r,FallBack:!0},s.DrawingWriter.WriteCT_AlternateContent(e,"mc","AlternateContent",i)}},"./src/xlsx-io/writer/externalLink-writer.ts":function(e,t,r){"use strict";var i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/common/common.ts");function o(e,t){var r=new i.XmlWriter;return r.writeDocument(),r.writeElement("externalLink",function(){r.writeAttributeString("xmlns",n.XFileConstants.Hd),r.writeAttributeString("xmlns:mc",n.XFileConstants.Jd),r.writeAttributeString("xmlns:x14",n.XFileConstants.$d),r.writeAttributeString("mc:Ignorable","x14")},function(){r.writeElement("externalBook",function(){r.writeAttributeString("xmlns:r",n.XFileConstants.Ud),r.writeAttributeString("r:id","rId1")},function(){r.writeElement("sheetNames",void 0,function(){l(r,t.sheetNames)}),r.writeElement("sheetDataSet",void 0,function(){var e,i=function(e){var i=t.data[t.sheetNames[e]];i&&r.writeElement("sheetData",function(){r.writeAttributeString("sheetId",e),i.isNew&&r.writeAttributeString("refreshError",1)},function(){s(r,t.data[t.sheetNames[e]])})};for(e=0;e<t.sheetNames.length;e++)i(e)})})}),r.getXmlString()}t.writeExternalLink=o;function l(e,t){t&&t.forEach(function(t){e.writeElement("sheetName",function(){e.writeAttributeString("val",t.replace(/\&/g,"&amp;").replace(/\"/g,"&quot;").replace(/\>/g,"&gt;").replace(/\</g,"&lt;"))},function(){})})}function s(e,t){var r,i=function(r){var i,n;if(Object.prototype.hasOwnProperty.call(t,r)){if(i=parseInt(r,10)+1,isNaN(i))return"continue";n=t[r],e.writeElement("row",function(){e.writeAttributeString("r",""+i)},function(){var t,r=function(t){var r,o;Object.prototype.hasOwnProperty.call(n,t)&&(r=n[t],"string"==typeof r?o="str":"boolean"==typeof r?(o="b",r=r?"1":"0"):r&&r._code&&(o="e",r=r._calcError||r._error,"#SPILL!"!==r&&"#CALC!"!==r||(r="#VALUE!")),e.writeElement("cell",function(){e.writeAttributeString("r",a.IndexHelper.T(parseInt(t,10))+i),o&&e.writeAttributeString("t",o)},function(){e.writeElement("v",function(){},function(){e.writeValue(r)})}))};for(t in n)r(t)})}};for(r in t)i(r)}},"./src/xlsx-io/writer/metadata-writer.ts":function(e,t,r){"use strict";var i,n;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts");function a(e,t,r){r&&e.push('\txmlns:xlrd="'+i.XFileConstants.he+'"'),t&&e.push('\txmlns:xda="'+i.XFileConstants.ge+'">')}n='minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1"';function o(e,t,r){var i=(t?1:0)+(r?1:0);e.push('\t<metadataTypes count="'+i+'">'),t&&e.push('\t\t<metadataType name="XLDAPR" '+n+' cellMeta="1"/>'),r&&e.push('\t\t<metadataType name="XLRICHVALUE" '+n+"/>"),e.push("\t</metadataTypes>")}function l(e,t,r,i){if(t&&e.push('\t<futureMetadata name="XLDAPR" count="1"> <bk> <extLst> <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}"> <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/> </ext> </extLst> </bk> </futureMetadata>'),r){var n='<futureMetadata name="XLRICHVALUE" count="'+(i?2:1)+'"> <bk> <extLst> <ext uri="{3e2802c4-a4d2-4d8b-9148-e3be6c30e623}"> <xlrd:rvb i="0"/> </ext> </extLst> </bk>';i&&(n+=' <bk> <extLst> <ext uri="{3e2802c4-a4d2-4d8b-9148-e3be6c30e623}"> <xlrd:rvb i="1"/> </ext> </extLst> </bk>'),e.push("\t"+n+" </futureMetadata>")}}function s(e){var t=[],r=e>0,i=e>1,n=e>2;return t.push('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'),t.push("<metadata"),t.push('\txmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"'),a(t,r,i),o(t,r,i),l(t,r,i,n),r&&t.push('\t<cellMetadata count="1"> <bk> <rc t="1" v="0"/> </bk> </cellMetadata>'),i&&t.push('\t<valueMetadata count="'+(n?2:1)+'"> <bk> <rc t="2" v="0"/> </bk>'+(n?'<bk> <rc t="2" v="1"/> </bk>':"")+" </valueMetadata>"),t.push("</metadata>"),t.join("\r\n")}t.getMetadataContent=s},"./src/xlsx-io/writer/pivot-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-writer.ts"),a=r("./src/common/excel-types.ts"),o=r("./src/datamodel/datetime-helper.ts"),l=r("./src/xlsx-io/writer/autofilter-writer.ts"),t.captionCompareTypeExcel=[["captionEqual","captionNotEqual","captionBeginsWith","captionNotBeginsWith","captionEndsWith","captionNotEndsWith","captionContains","captionNotContains","captionGreaterThan","captionGreaterThanOrEqual","captionLessThan","captionLessThanOrEqual","captionBetween","captionNotBetween"],["dateEqual","dateNotEqual","dateOlderThan","dateOlderThanOrEqual","dateNewerThan","dateNewerThanOrEqual","dateBetween","dateNotBetween","today","yesterday","tomorrow",void 0,"thisMonth","lastMonth","nextMonth","thisWeek","lastWeek","nextWeek","nextQuarter","thisQuarter","lastQuarter","nextYear","thisYear","lastYear","Q1","Q2","Q3","Q4","M1","M2","M3","M4","M5","M6","M7","M8","M9","M10","M11","M12","yearToDate"],["valueEqual","valueNotEqual","valueGreaterThan","valueGreaterThanOrEqual","valueLessThan","valueLessThanOrEqual","valueBetween","valueNotBetwee"],["count","percent","sum"]],s=i.Util.oa,c=i.Util.Ba,u=i.Util.xa,d="mc:Ignorable";function f(e){var t=new n.XmlWriter;return t.writeDocument(),t.writeElement("pivotCacheDefinition",function(){t.writeAttributeString("xmlns",a.XFileConstants.Hd),t.writeAttributeString("xmlns:r",a.XFileConstants.Ud),t.writeAttributeString("xmlns:mc",a.XFileConstants.Jd),t.writeAttributeString(d,a.XFileConstants.Qd),t.writeAttributeString("xmlns:xr",a.XFileConstants.me),t.writeAttributeString("r:id","rId1"),e.saveData===!1&&t.writeAttributeString("saveData","0"),i.isNullOrUndefined(e.refreshedBy)||t.writeAttributeString("refreshedBy",e.refreshedBy),i.isNullOrUndefined(e.refreshedDate)||t.writeAttributeString("refreshedDate",o.DateTimeHelper.ig(e.refreshedDate)),e.backgroundQuery&&t.writeAttributeString("backgroundQuery","1"),i.isNullOrUndefined(e.createdVersion)?t.writeAttributeString("createdVersion","7"):t.writeAttributeString("createdVersion",e.createdVersion),i.isNullOrUndefined(e.refreshedVersion)?t.writeAttributeString("refreshedVersion","7"):t.writeAttributeString("refreshedVersion",e.refreshedVersion),e.enableRefresh===!1&&t.writeAttributeString("enableRefresh","0"),e.invalid&&t.writeAttributeString("invalid","1"),e.minRefreshableVersion>0&&e.minRefreshableVersion<=e.createdVersion&&t.writeAttributeString("minRefreshableVersion",e.minRefreshableVersion),
44
+ e.missingItemsLimit>0&&t.writeAttributeString("missingItemsLimit",e.missingItemsLimit),e.optimizeMemory&&t.writeAttributeString("optimizeMemory","1"),i.isNullOrUndefined(e.recordCount)||t.writeAttributeString("recordCount",e.recordCount),i.isNullOrUndefined(e.refreshOnLoad)||t.writeAttributeString("refreshOnLoad","1"),e.supportSubquery&&t.writeAttributeString("supportSubquery","1"),e.supportAdvancedDrill&&t.writeAttributeString("supportAdvancedDrill","1"),e.tupleCache&&t.writeAttributeString("tupleCache","1"),e.upgradeOnRefresh&&t.writeAttributeString("upgradeOnRefresh","1")},function(){h(t,e),m(t,e.fields),e.cacheHierarchies&&e.cacheHierarchies.length>0&&x(t,e),e.KPIs&&e.KPIs.length>0&&F(t,e),i.isNullOrUndefined(e.pivotTupleCache)||D(t,e.pivotTupleCache),e.calculatedItems&&e.calculatedItems.length>0&&B(t,e),e.calculatedMembers&&e.calculatedMembers.length>0&&O(t,e),e.dimensions&&e.dimensions.length>0&&H(t,e),e.measureGroups&&e.measureGroups.length>0&&J(t,e),e.measureDimensionMaps&&e.measureDimensionMaps.length>0&&V(t,e),p(t,e.pivotCacheId)}),t.getXmlString()}t.writePivotCacheDefinition=f;function p(e,t){e.writeElement("extLst",function(){},function(){e.writeElement("ext",function(){e.writeAttributeString("uri","{725AE2AE-9491-48be-B2B4-4EB974FC3084}"),e.writeAttributeString("xmlns:x14",a.XFileConstants.$d)},function(){e.writeLeafElement("x14:pivotCacheDefinition",function(){e.writeAttributeString("pivotCacheId",t+"")},function(){})})})}function h(e,t){e.writeElement("cacheSource",function(){e.writeAttributeString("type",t.sourceType)},function(){"worksheet"===t.sourceType&&e.writeLeafElement("worksheetSource",function(){t.sourceName&&e.writeAttributeString("name",t.sourceName),t.ref&&e.writeAttributeString("ref",t.ref),t.sheet&&e.writeAttributeString("sheet",t.sheet)})})}function m(e,t){e.writeElement("cacheFields",function(){e.writeAttributeString("count",t.length)},function(){var r,i;for(r=0;r<t.length;r++)i=t[r],g(e,i)})}function g(e,t){e.writeElement("cacheField",function(){i.isNullOrUndefined(t.name)||e.writeAttributeString("name",s(u(t.name))),i.isNullOrUndefined(t.caption)||e.writeAttributeString("caption",t.caption),i.isNullOrUndefined(t.formula)||e.writeAttributeString("formula",s(t.formula)),i.isNullOrUndefined(t.numFmtId)||e.writeAttributeString("numFmtId",t.numFmtId),t.databaseField===!1&&e.writeAttributeString("databaseField","0"),t.hierarchy>0&&e.writeAttributeString("hierarchy",t.hierarchy),t.level>0&&e.writeAttributeString("level",t.level),t.mappingCount>0&&e.writeAttributeString("mappingCount",t.mappingCount),i.isNullOrUndefined(t.memberPropertyField)||e.writeAttributeString("memberPropertyField","1"),i.isNullOrUndefined(t.propertyName)||e.writeAttributeString("propertyName",t.propertyName),i.isNullOrUndefined(t.serverField)||e.writeAttributeString("serverField","1"),t.sqlType>0&&e.writeAttributeString("sqlType",t.sqlType),t.uniqueList===!1&&e.writeAttributeString("uniqueList","0")},function(){t.databaseField!==!1&&(t.entities&&t.entities.length>0?e.writeElement("sharedItems",function(){b(e,t)},function(){w(e,t)}):e.writeLeafElement("sharedItems",function(){b(e,t)})),v(e,t.fieldGroup)})}function b(e,t){t.containsSemiMixedTypes===!1&&e.writeAttributeString("containsSemiMixedTypes","0"),t.containsNonDate===!1&&e.writeAttributeString("containsNonDate","0"),t.containsDate&&e.writeAttributeString("containsDate","1"),t.containsString===!1&&e.writeAttributeString("containsString","0"),t.containsBlank&&e.writeAttributeString("containsBlank","1"),t.containsMixedTypes&&e.writeAttributeString("containsMixedTypes","1"),t.containsNumber&&!t.containsDate&&e.writeAttributeString("containsNumber","1"),t.containsInteger&&!t.containsDate&&e.writeAttributeString("containsInteger","1"),t.longText&&e.writeAttributeString("longText","1"),t.containsDate?(e.writeAttributeString("minDate",c(new Date(t.minDate))),e.writeAttributeString("maxDate",c(new Date(t.maxDate)))):(t.containsNumber||t.containsInteger)&&(e.writeAttributeString("minValue",""+t.minValue),e.writeAttributeString("maxValue",""+t.maxValue)),t.isShared&&(e.writeAttributeString("minDate",c(new Date(t.minDate))),e.writeAttributeString("maxDate",c(new Date(t.maxDate)))),t.entities&&t.entities.length>0&&e.writeAttributeString("count",t.entities.length)}function w(e,t){var r,i;for(r=0;r<t.entities.length;r++)i=t.entities[r],S(e,i)}function C(e,t){var r=null;i.isNullOrUndefined(t.value)||(r=t.value,y(e,t,r))}function S(e,t){var r=null;switch(t.type){case a.PivotSharedItemType.B:e.writeLeafElement("b",function(){i.isNullOrUndefined(t.value)||(r=t.value?"1":"0",y(e,t,r))});break;case a.PivotSharedItemType.D:e.writeLeafElement("d",function(){i.isNullOrUndefined(t.value)||(r=c(new Date(t.value)),y(e,t,r))});break;case a.PivotSharedItemType.E:e.writeLeafElement("e",function(){C(e,t)});break;case a.PivotSharedItemType.M:e.writeLeafElement("m");break;case a.PivotSharedItemType.N:e.writeLeafElement("n",function(){C(e,t)});break;case a.PivotSharedItemType.S:e.writeLeafElement("s",function(){C(e,t)});break;case a.PivotSharedItemType.X:e.writeLeafElement("x",function(){C(e,t)})}}function y(e,t,r){i.isNullOrUndefined(r)||e.writeAttributeString("v",s(r)),i.isNullOrUndefined(t.caption)||e.writeAttributeString("c",t.caption),t.propertyCount>0&&e.writeAttributeString("cp",t.propertyCount),t.isCalculatedItem&&e.writeAttributeString("f","1"),i.isNullOrUndefined(t.isUnusedItem)||e.writeAttributeString("u","1"),i.isNullOrUndefined(t.isBold)||e.writeAttributeString("b","1"),i.isNullOrUndefined(t.backgroundColor)||e.writeAttributeString("bc",t.backgroundColor),i.isNullOrUndefined(t.foregroundColor)||e.writeAttributeString("fc",t.foregroundColor),i.isNullOrUndefined(t.isItalic)||e.writeAttributeString("i","1"),t.formatIndex>0&&e.writeAttributeString("in",t.formatIndex),i.isNullOrUndefined(t.isStrikethrough)||e.writeAttributeString("st","1"),i.isNullOrUndefined(t.isUnderline)||e.writeAttributeString("un","1")}function v(e,t){i.isNullOrUndefined(t)||e.writeElement("fieldGroup",function(){t.parent>0&&e.writeAttributeString("par",t.parent),t.base>=0&&e.writeAttributeString("base",t.base)},function(){var r,n;t.hasRangeGroup&&e.writeLeafElement("rangePr",function(){t.autoStart===!1&&e.writeAttributeString("autoStart","0"),t.autoEnd===!1&&e.writeAttributeString("autoEnd","0"),i.isNullOrUndefined(t.groupInterval)||e.writeAttributeString("groupInterval",t.groupInterval),i.isNullOrUndefined(t.groupBy)||e.writeAttributeString("groupBy",t.groupBy),i.isNullOrUndefined(t.startNum)||e.writeAttributeString("startNum",t.startNum),i.isNullOrUndefined(t.endNum)||e.writeAttributeString("endNum",t.endNum),i.isNullOrUndefined(t.startDate)||e.writeAttributeString("startDate",c(new Date(t.startDate))),i.isNullOrUndefined(t.endDate)||e.writeAttributeString("endDate",c(new Date(t.endDate)))}),r=t.discreteGroup,r&&r.length>0&&e.writeElement("discretePr",function(){e.writeAttributeString("count",r.length)},function(){var t,i=function(t){e.writeLeafElement("x",function(){e.writeAttributeString("v",r[t])})};for(t=0;t<r.length;t++)i(t)}),n=t.groupItems,n&&n.length>0&&e.writeElement("groupItems",function(){e.writeAttributeString("count",n.length)},function(){for(var t=0;t<n.length;t++)S(e,n[t])})})}function x(e,t){t.cacheHierarchies&&t.cacheHierarchies.length>0&&e.writeElement("cacheHierarchies",function(){e.writeAttributeString("count",t.cacheHierarchies.length)},function(){for(var r=0;r<t.cacheHierarchies.length;r++)T(e,t.cacheHierarchies[r])})}function T(e,t){e.writeElement("cacheHierarchy",function(){i.isNullOrUndefined(t.uniqueName)||e.writeAttributeString("uniqueName",t.uniqueName),i.isNullOrUndefined(t.caption)||e.writeAttributeString("caption",t.caption),t.measure&&e.writeAttributeString("measure","1"),t.set&&e.writeAttributeString("set","1"),t.parentSet>=0&&e.writeAttributeString("parentSet",t.parentSet),t.iconSet>0&&e.writeAttributeString("iconSet",t.iconSet),t.attribute&&e.writeAttributeString("attribute","1"),t.time&&e.writeAttributeString("time","1"),t.keyAttribute&&e.writeAttributeString("keyAttribute","1"),i.isNullOrUndefined(t.defaultMemberUniqueName)||e.writeAttributeString("defaultMemberUniqueName",t.defaultMemberUniqueName),i.isNullOrUndefined(t.allUniqueName)||e.writeAttributeString("allUniqueName",t.allUniqueName),i.isNullOrUndefined(t.allCaption)||e.writeAttributeString("allCaption",t.allCaption),i.isNullOrUndefined(t.dimensionUniqueName)||e.writeAttributeString("dimensionUniqueName",t.dimensionUniqueName),i.isNullOrUndefined(t.displayFolder)||e.writeAttributeString("displayFolder",t.displayFolder),i.isNullOrUndefined(t.measureGroup)||e.writeAttributeString("measureGroup",t.measureGroup),t.measures&&e.writeAttributeString("measures","1"),t.count>=0&&e.writeAttributeString("count",t.count),t.oneField&&e.writeAttributeString("oneField","1"),t.memberValueDatatype>0&&e.writeAttributeString("memberValueDatatype",t.memberValueDatatype),t.unbalanced||e.writeAttributeString("unbalanced","0"),t.unbalancedGroup||e.writeAttributeString("unbalancedGroup","0"),t.hidden&&e.writeAttributeString("hidden","1")},function(){t.fieldsUsage.length>0&&e.writeElement("fieldsUsage",function(){e.writeAttributeString("count",t.fieldsUsage.length)},function(){for(var r=0;r<t.fieldsUsage.length;r++)A(e,t.fieldsUsage[r])}),t.groupLevels.length>0&&e.writeElement("groupLevels",function(){e.writeAttributeString("count",t.groupLevels.length)},function(){for(var r=0;r<t.groupLevels.length;r++)k(e,t.groupLevels[r])})})}function A(e,t){e.writeElement("fieldUsage",function(){e.writeAttributeString("x",t)})}function k(e,t){e.writeElement("groupLevel",function(){i.isNullOrUndefined(t.uniqueName)||e.writeAttributeString("uniqueName",t.uniqueName),i.isNullOrUndefined(t.caption)||e.writeAttributeString("caption",t.caption),t.user&&e.writeAttributeString("user","1"),t.customRollUp&&e.writeAttributeString("customRollUp","1")},function(){t.groups.length>0&&e.writeElement("groups",function(){e.writeAttributeString("count",t.groups.length)},function(){var r,i;for(r=0;r<t.groups.length;r++)i=t.groups[r],E(e,i)})})}function E(e,t){e.writeElement("group",function(){i.isNullOrUndefined(t.name)||e.writeAttributeString("name",s(u(t.Name))),i.isNullOrUndefined(t.uniqueName)||e.writeAttributeString("uniqueName",t.uniqueName),i.isNullOrUndefined(t.caption)||e.writeAttributeString("caption",t.caption),i.isNullOrUndefined(t.uniqueParent)||e.writeAttributeString("uniqueParent",t.uniqueParent),t.id>0&&e.writeAttributeString("id",t.id)},function(){t.groupMembers.length>0&&e.writeElement("groupMembers",function(){e.writeAttributeString("count",t.groupMembers.length)},function(){for(var r=0;r<t.groupMembers.length;r++)I(e,t.groupMembers[r])})})}function I(e,t){e.writeLeafElement("groupMember",function(){i.isNullOrUndefined(t.uniqueName)||e.writeAttributeString("uniqueName",t.uniqueName),t.group&&e.writeAttributeString("group",1)})}function F(e,t){t.KPIs&&t.KPIs.length>0&&e.writeElement("kpis",function(){e.writeAttributeString("count",t.KPIs.length)},function(){var r,i;for(r=0;r<t.KPIs.length;r++)i=t.KPIs[r],P(e,i)})}function P(e,t){e.writeLeafElement("kpi",function(){i.isNullOrUndefined(t.uniqueName)||e.writeAttributeString("uniqueName",t.uniqueName),i.isNullOrUndefined(t.caption)||e.writeAttributeString("caption",t.caption),i.isNullOrUndefined(t.displayFolder)||e.writeAttributeString("displayFolder",t.displayFolder),i.isNullOrUndefined(t.measureGroup)||e.writeAttributeString("measureGroup",t.measureGroup),i.isNullOrUndefined(t.parent)||e.writeAttributeString("parent",t.parent),i.isNullOrUndefined(t.value)||e.writeAttributeString("value",t.value),i.isNullOrUndefined(t.goal)||e.writeAttributeString("goal",t.goal),i.isNullOrUndefined(t.status)||e.writeAttributeString("status",t.status),i.isNullOrUndefined(t.trend)||e.writeAttributeString("trend",t.trend),i.isNullOrUndefined(t.weight)||e.writeAttributeString("weight",t.weight),i.isNullOrUndefined(t.time)||e.writeAttributeString("time",t.time)})}function D(e,t){e.writeElement("tupleCache",function(){},function(){var r;t.entries&&t.entries.length>0&&e.writeElement("entries",function(){e.writeAttributeString("count",t.entries.length)},function(){for(r=0;r<t.entries.length;r++)e.writePivotCacheDefinitionSharedItem(e,t.entries[r])}),t.sets&&t.sets.length>0&&e.writeElement("sets",function(){e.writeAttributeString("count",t.sets.length)},function(){for(r=0;r<t.sets.length;r++)R(e,t.sets[r])}),t.queryCache&&t.queryCache.length>0&&e.writeElement("queryCache",function(){e.writeAttributeString("count",t.queryCache.length)},function(){for(r=0;r<t.queryCache.length;r++)L(e,t.queryCache[r])}),t.serverFormats&&t.serverFormats.length>0&&e.writeElement("serverFormats",function(){e.writeAttributeString("count",t.serverFormats.length)},function(){for(r=0;r<t.serverFormats.length;r++)N(e,t.serverFormats[r])})})}function R(e,t){}function L(e,t){e.writeElement("query",function(){t.mdx&&e.writeAttributeString("mdx",t.mdx)},function(){t.tpls&&t.tpls.length>0&&e.writeElement("tpls",function(){e.writeAttributeString("c",t.tpls.length)},function(){for(var r=0;r<t.tpls.length;r++)_(e,t.tpls[r])})})}function _(e,t){e.writeElement("tpl",function(){t.fld>=0&&e.writeAttributeString("fld",t.fld),t.hier>=0&&e.writeAttributeString("hier",t.hier),t.item>=0&&e.writeAttributeString("item",t.item)})}function N(e,t){e.writeLeafElement("serverFormat",function(){i.isNullOrUndefined(t.culture)||e.writeAttributeString("culture",t.culture),i.isNullOrUndefined(t.format)||e.writeAttributeString("format",t.format)})}function B(e,t){var r=t.calculatedItems;r&&e.writeElement("calculatedItems",function(){e.writeAttributeString("count",r.length)},function(){for(var t=0;t<r.length;t++)M(e,r[t])})}function M(e,t){t&&e.writeElement("calculatedItem",function(){t.field>=0&&e.writeAttributeString("field",t.field),t.formula&&e.writeAttributeString("formula",s(t.formula))},function(){t.pivotArea&&te(e,t.pivotArea)})}function O(e,t){var r=t.calculatedMembers;r&&e.writeElement("calculatedMembers",function(){e.writeAttributeString("count",r.length)},function(){for(var t=0;t<r.length;t++)G(e,r[t])})}function G(e,t){e.writeLeafElement("calculatedMember",function(){i.isNullOrUndefined(t.name)||e.writeAttributeString("name",s(t.name)),i.isNullOrUndefined(t.mdx)||e.writeAttributeString("mdx",t.mdx),i.isNullOrUndefined(t.memberName)||e.writeAttributeString("memberName",t.memberName),i.isNullOrUndefined(t.hierarchy)||e.writeAttributeString("hierarchy",t.hierarchy),i.isNullOrUndefined(t.parent)||e.writeAttributeString("parent",t.parent),t.solveOrder>0&&e.writeAttributeString("solveOrder",t.solveOrder),t.set&&e.writeAttributeString("set","1")})}function H(e,t){!t.dimensions||t.dimensions.length<=0||e.writeElement("dimensions",function(){e.writeAttributeString("count",t.dimensions.length)},function(){for(var r=0;r<t.dimensions.length;r++)U(e,t.dimensions[r])})}function U(e,t){e.writeLeafElement("dimension",function(){t.measure&&e.writeAttributeString("measure","1"),i.isNullOrUndefined(t.name)||e.writeAttributeString("name",s(u(t.name))),i.isNullOrUndefined(t.uniqueName)||e.writeAttributeString("uniqueName",t.uniqueName),i.isNullOrUndefined(t.caption)||e.writeAttributeString("caption",t.caption)})}function J(e,t){!t.measureGroups||t.measureGroups.length<=0||e.writeElement("measureGroups",function(){e.writeAttributeString("count",t.measureGroups.length)},function(){for(var r=0;r<t.measureGroups.length;r++)W(e,t.measureGroups[r])})}function W(e,t){e.writeLeafElement("measureGroup",function(){t.name&&e.writeAttributeString("name",s(u(t.name))),t.caption&&e.writeAttributeString("caption",t.caption)})}function V(e,t){!t.measureDimensionMaps||t.measureDimensionMaps.length<=0||e.writeElement("maps",function(){e.writeAttributeString("count")},function(){for(var r=0;r<t.measureDimensionMaps.length;r++)z(e,t.measureDimensionMaps[r])})}function z(e,t){e.writeLeafElement("measureDimensionMap",function(){t.measureGroup>=0&&e.writeAttributeString("measureGroup",t.measureGroup),t.dimension>=0&&e.writeAttributeString("dimension",t.dimension)})}function j(e){var t=new n.XmlWriter;return t.writeDocument(),t.writeElement("pivotCacheRecords",function(){t.writeAttributeString("xmlns",a.XFileConstants.Hd),t.writeAttributeString("xmlns:r",a.XFileConstants.Ud),t.writeAttributeString("xmlns:mc",a.XFileConstants.Jd),t.writeAttributeString(d,a.XFileConstants.Qd),t.writeAttributeString("xmlns:xr",a.XFileConstants.me),t.writeAttributeString("count",e.length)},function(){for(var r=0;r<e.length;r++)X(t,e[r])}),t.getXmlString()}t.writePivotCacheRecords=j;function X(e,t){e.writeElement("r",function(){},function(){for(var r=0;r<t.length;r++)S(e,t[r])})}function K(e,t){var r=new n.XmlWriter;return r.writeDocument(),r.writeElement("pivotTableDefinition",function(){r.writeAttributeString("xmlns",a.XFileConstants.Hd),r.writeAttributeString("xmlns:mc",a.XFileConstants.Jd),r.writeAttributeString(d,a.XFileConstants.Qd),r.writeAttributeString("xmlns:xr",a.XFileConstants.me),i.isNullOrUndefined(t.name)||r.writeAttributeString("name",s(u(t.name))),r.writeAttributeString("cacheId",t.cacheId),t.applyNumberFormats===!1&&r.writeAttributeString("applyNumberFormats","0"),t.applyBorderFormats===!1&&r.writeAttributeString("applyBorderFormats","0"),t.applyFontFormats===!1&&r.writeAttributeString("applyFontFormats","0"),t.applyPatternFormats===!1&&r.writeAttributeString("applyPatternFormats","0"),t.applyAlignmentFormats===!1&&r.writeAttributeString("applyAlignmentFormats","0"),t.applyWidthHeightFormats&&r.writeAttributeString("applyWidthHeightFormats","1"),i.isNullOrUndefined(t.dataCaption)||r.writeAttributeString("dataCaption",t.dataCaption),i.isNullOrUndefined(t.grandTotalCaption)||r.writeAttributeString("grandTotalCaption",t.grandTotalCaption),i.isNullOrUndefined(t.errorCaption)||r.writeAttributeString("errorCaption",t.errorCaption),t.showError&&r.writeAttributeString("showError","1"),i.isNullOrUndefined(t.missingCaption)||r.writeAttributeString("missingCaption",t.missingCaption),t.showMissing===!1&&r.writeAttributeString("showMissing","0"),t.updatedVersion>0?r.writeAttributeString("updatedVersion",t.updatedVersion):r.writeAttributeString("updatedVersion","7"),t.minRefreshableVersion>0&&t.minRefreshableVersion<=t.createdVersion&&r.writeAttributeString("minRefreshableVersion",t.minRefreshableVersion),t.printDrill&&r.writeAttributeString("printDrill","1"),t.showDrill===!1&&r.writeAttributeString("showDrill","0"),t.showDataTips===!1&&r.writeAttributeString("showDataTips","0"),t.enableDrill===!1&&r.writeAttributeString("enableDrill","0"),t.preserveFormatting===!1&&r.writeAttributeString("preserveFormatting","0"),t.useAutoFormatting&&r.writeAttributeString("useAutoFormatting","1"),t.pageWrap>0&&r.writeAttributeString("pageWrap",t.pageWrap),t.pageOverThenDown&&r.writeAttributeString("pageOverThenDown","1"),t.rowGrandTotals===!1&&r.writeAttributeString("rowGrandTotals","0"),t.colGrandTotals===!1&&r.writeAttributeString("colGrandTotals","0"),t.itemPrintTitles&&r.writeAttributeString("itemPrintTitles","1"),t.fieldPrintTitles&&r.writeAttributeString("fieldPrintTitles","1"),t.mergeItem&&r.writeAttributeString("mergeItem","1"),t.createdVersion>0?r.writeAttributeString("createdVersion",t.createdVersion):r.writeAttributeString("createdVersion","7"),t.indent>=0&&r.writeAttributeString("indent",t.indent),t.asteriskTotals&&r.writeAttributeString("asteriskTotals","1"),t.autoFormatId>0&&r.writeAttributeString("autoFormatId",t.autoFormatId),i.isNullOrUndefined(t.colHeaderCaption)||r.writeAttributeString("colHeaderCaption",t.colHeaderCaption),t.compact===!1&&r.writeAttributeString("compact","0"),t.compactData===!1&&r.writeAttributeString("compactData","0"),t.dataOnRows&&r.writeAttributeString("dataOnRows","1"),t.dataPosition>0&&r.writeAttributeString("dataPosition",t.dataPosition),t.disableFieldList&&r.writeAttributeString("disableFieldList","1"),t.editData&&r.writeAttributeString("editData","1"),t.enableFieldProperties===!1&&r.writeAttributeString("enableFieldProperties","0"),t.enableWizard===!1&&r.writeAttributeString("enableWizard","0"),t.gridDropZones&&r.writeAttributeString("gridDropZones","1"),t.immersive&&r.writeAttributeString("immersive","1"),t.mdxSubqueries&&r.writeAttributeString("mdxSubqueries","1"),t.showHeaders===!1&&r.writeAttributeString("showHeaders","0"),t.outline&&r.writeAttributeString("outline","1"),t.outlineData&&r.writeAttributeString("outlineData","1"),t.multipleFieldFilters===!1&&r.writeAttributeString("multipleFieldFilters","0"),t.chartFormat>0&&r.writeAttributeString("chartFormat",t.chartFormat),t.fieldListSortAscending&&r.writeAttributeString("fieldListSortAscending","1"),t.customListSort===!1&&r.writeAttributeString("customListSort","0"),i.isNullOrUndefined(t.pageStyle)||r.writeAttributeString("pageStyle",t.PageStyle),i.isNullOrUndefined(t.pivotTableStyle)||r.writeAttributeString("pivotTableStyle",t.pivotTableStyle),t.published&&r.writeAttributeString("published","1"),i.isNullOrUndefined(t.rowHeaderCaption)||r.writeAttributeString("rowHeaderCaption",t.rowHeaderCaption),t.showCalcMbrs===!1&&r.writeAttributeString("showCalcMbrs","0"),t.showDataDropDown&&r.writeAttributeString("showDataDropDown","0"),t.showDropZones===!1&&r.writeAttributeString("showDropZones","0"),t.showEmptyCol===!1&&r.writeAttributeString("showEmptyCol","0"),t.showEmptyRow===!1&&r.writeAttributeString("showEmptyRow","0"),t.showItems===!1&&r.writeAttributeString("showItems","0"),t.showMemberPropertyTips===!1&&r.writeAttributeString("showMemberPropertyTips","0"),t.showMultipleLabel===!1&&r.writeAttributeString("showMultipleLabel","0"),t.subtotalHiddenItems&&r.writeAttributeString("subtotalHiddenItems","1"),i.isNullOrUndefined(t.tag)||r.writeAttributeString("tag",t.tag),i.isNullOrUndefined(t.vacatedStyle)||r.writeAttributeString("vacatedStyle",t.vacatedStyle),t.visualTotals===!1&&r.writeAttributeString("visualTotals","0")},function(){q(r,t),Y(r,t),ne(r,t,!0),oe(r,t),ne(r,t,!1),le(r,t),ue(r,t),fe(r,t),me(r,t),be(r,t),Ce(r,t),ye(r,t),Ae(r,t),ke(e,r,t),Ie(r,t),Fe(r,t),De(r,t)}),r.getXmlString()}t.writePivotTable=K;function q(e,t){e.writeLeafElement("location",function(){e.writeAttributeString("ref",t.ref),t.firstHeaderRow>=0&&e.writeAttributeString("firstHeaderRow",t.firstHeaderRow),t.firstDataRow>=0&&e.writeAttributeString("firstDataRow",t.firstDataRow),t.firstDataCol>=0&&e.writeAttributeString("firstDataCol",t.firstDataCol),t.rowPageCount>0&&e.writeAttributeString("rowPageCount",t.rowPageCount),t.colPageCount>0&&e.writeAttributeString("colPageCount",t.colPageCount)})}function Y(e,t){e.writeElement("pivotFields",function(){e.writeAttributeString("count",t.fields.length)},function(){for(var r=0;r<t.fields.length;r++)Q(e,t.fields[r],t)})}function Q(e,t,r){t.items&&t.items.length>0?e.writeElement("pivotField",function(){Z(e,t)},function(){$(e,t,r)}):r.fillDownLabels?e.writeElement("pivotField",function(){Z(e,t)},function(){e.writeElement("extLst",function(){Re(e,r)})}):e.writeLeafElement("pivotField",function(){Z(e,t)})}function Z(e,t){i.isNullOrUndefined(t.name)||e.writeAttributeString("name",s(u(t.name))),i.isNullOrUndefined(t.axis)||e.writeAttributeString("axis",t.axis),t.allDrilled&&e.writeAttributeString("allDrilled","1"),t.autoShow&&e.writeAttributeString("autoShow","1"),t.dataField&&e.writeAttributeString("dataField","1"),t.compact===!1&&e.writeAttributeString("compact","0"),t.numberFormatId>=0&&e.writeAttributeString("numFmtId",t.numberFormatId),t.outline===!1&&e.writeAttributeString("outline","0"),t.subtotalTop===!1&&e.writeAttributeString("subtotalTop","0"),t.multipleItemSelectionAllowed&&e.writeAttributeString("multipleItemSelectionAllowed","1"),t.showAll===!1&&e.writeAttributeString("showAll","0"),t.insertBlankRow&&e.writeAttributeString("insertBlankRow","1"),t.insertPageBreak&&e.writeAttributeString("insertPageBreak","1"),t.includeNewItemsInFilter&&e.writeAttributeString("includeNewItemsInFilter","1"),t.sumSubtotal&&e.writeAttributeString("sumSubtotal","1"),t.countASubtotal&&e.writeAttributeString("countASubtotal","1"),t.avgSubtotal&&e.writeAttributeString("avgSubtotal","1"),t.maxSubtotal&&e.writeAttributeString("maxSubtotal","1"),t.minSubtotal&&e.writeAttributeString("minSubtotal","1"),t.productSubtotal&&e.writeAttributeString("productSubtotal","1"),t.countSubtotal&&e.writeAttributeString("countSubtotal","1"),t.stdDevSubtotal&&e.writeAttributeString("stdDevSubtotal","1"),t.stdDevPSubtotal&&e.writeAttributeString("stdDevPSubtotal","1"),t.dataSourceSort&&e.writeAttributeString("dataSourceSort","1"),t.defaultAttributeDrillState&&e.writeAttributeString("defaultAttributeDrillState","1"),t.dragOff===!1&&e.writeAttributeString("dragOff","0"),t.dragToCol===!1&&e.writeAttributeString("dragToCol","0"),t.dragToData===!1&&e.writeAttributeString("dragToData","0"),t.dragToPage===!1&&e.writeAttributeString("dragToPage","0"),t.dragToRow===!1&&e.writeAttributeString("dragToRow","0"),t.hiddenLevel&&e.writeAttributeString("hiddenLevel","1"),t.hideNewItems&&e.writeAttributeString("hideNewItems","1"),t.itemPageCount&&10!==t.itemPageCount&&e.writeAttributeString("itemPageCount",t.itemPageCount),t.measureFilter&&e.writeAttributeString("measureFilter","1"),t.nonAutoSortDefault&&e.writeAttributeString("nonAutoSortDefault","1"),t.serverField&&e.writeAttributeString("serverField","1"),t.showDropDowns===!1&&e.writeAttributeString("showDropDowns","0"),t.showPropAsCaption&&e.writeAttributeString("showPropAsCaption","1"),t.showPropCell&&e.writeAttributeString("showPropCell","1"),t.showPropTip&&e.writeAttributeString("showPropTip","1"),i.isNullOrUndefined(t.sortType)||e.writeAttributeString("sortType",t.sortType),t.rankBy>=0&&e.writeAttributeString("rankBy",t.rankBy),t.defaultSubtotal===!1&&e.writeAttributeString("defaultSubtotal","0"),i.isNullOrUndefined(t.subtotalCaption)||e.writeAttributeString("subtotalCaption",t.subtotalCaption),t.topAutoShow===!1&&e.writeAttributeString("topAutoShow","0"),i.isNullOrUndefined(t.uniqueMemberProperty)||e.writeAttributeString("uniqueMemberProperty",t.uniqueMemberProperty),t.varSubtotal&&e.writeAttributeString("varSubtotal","1"),t.varPSubtotal&&e.writeAttributeString("varPSubtotal","1")}function $(e,t,r){t.items&&t.items.length>0&&e.writeElement("items",function(){e.writeAttributeString("count",t.items.length)},function(){for(var r=0;r<t.items.length;r++)ee(e,t.items[r])}),i.isNullOrUndefined(t.autoSortScope)||e.writeElement("autoSortScope",function(){te(e,t.autoSortScope)}),r.fillDownLabels&&e.writeElement("extLst",function(){Re(e,r)})}function ee(e,t){e.writeLeafElement("item",function(){t.childItems&&e.writeAttributeString("c","1"),t.expanded===!1&&e.writeAttributeString("d","0"),t.drillAcross===!1&&e.writeAttributeString("e","0"),t.calculatedMember&&e.writeAttributeString("f","1"),t.hidden&&e.writeAttributeString("h","1"),t.missing&&e.writeAttributeString("m","1"),i.isNullOrUndefined(t.caption)||e.writeAttributeString("n",t.caption),t.character&&e.writeAttributeString("s","1"),t.collapse===!0&&e.writeAttributeString("sd","0"),t.type&&e.writeAttributeString("t",t.type),i.isNullOrUndefined(t.indexValue)||e.writeAttributeString("x",t.indexValue)})}function te(e,t,r){t&&t.missed===!0||e.writeElement("pivotArea",function(){t.field&&t.field!==-1&&e.writeAttributeString("field",t.field),i.isNullOrUndefined(t.type)||"normal"===t.type||e.writeAttributeString("type",t.type),t.dataOnly===!1&&e.writeAttributeString("dataOnly","0"),t.dataOnly===!0&&e.writeAttributeString("dataOnly","1"),t.labelOnly&&e.writeAttributeString("labelOnly","1"),t.grandRow&&e.writeAttributeString("grandRow","1"),t.grandCol&&e.writeAttributeString("grandCol","1"),t.cacheIndex&&e.writeAttributeString("cacheIndex","1"),i.isNullOrUndefined(t.outline)||e.writeAttributeString("outline","0"),t.collapsedLevelsAreSubtotals&&e.writeAttributeString("collapsedLevelsAreSubtotals","1"),t.axis&&(r||"axisValue"!==t.axis)&&e.writeAttributeString("axis",t.axis),t.fieldPosition>=0&&e.writeAttributeString("fieldPosition",t.fieldPosition),i.isNullOrUndefined(t.offset)||e.writeAttributeString("offset",t.offset)},function(){t.references&&t.references.length>0&&e.writeElement("references",function(){e.writeAttributeString("count",t.references.length)},function(){for(var r=0;r<t.references.length;r++)re(e,t.references[r])})})}function re(e,t){e.writeElement("reference",function(){!i.isNullOrUndefined(t.field)&&t.field>=0&&e.writeAttributeString("field",t.field),e.writeAttributeString("count",t.indexes?t.indexes.length:0),t.avgSubtotal&&e.writeAttributeString("avgSubtotal","1"),t.byPosition&&e.writeAttributeString("byPosition","1"),t.countASubtotal&&e.writeAttributeString("countASubtotal","1"),t.countSubtotal&&e.writeAttributeString("countSubtotal","1"),t.defaultSubtotal&&e.writeAttributeString("defaultSubtotal","1"),t.maxSubtotal&&e.writeAttributeString("maxSubtotal","1"),t.minSubtotal&&e.writeAttributeString("minSubtotal","1"),t.productSubtotal&&e.writeAttributeString("productSubtotal","1"),t.relative&&e.writeAttributeString("relative","1"),t.selected===!1&&e.writeAttributeString("selected","0"),t.stdDevPSubtotal&&e.writeAttributeString("stdDevPSubtotal","1"),t.stdDevSubtotal&&e.writeAttributeString("stdDevSubtotal","1"),t.sumSubtotal&&e.writeAttributeString("sumSubtotal","1"),t.varPSubtotal&&e.writeAttributeString("varPSubtotal","1"),t.varSubtotal&&e.writeAttributeString("varSubtotal","1")},function(){if(t.indexes&&t.indexes.length>0)for(var r=0;r<t.indexes.length;r++)ie(e,t.indexes[r])})}function ie(e,t){e.writeLeafElement("x",function(){e.writeAttributeString("v",t)})}function ne(e,t,r){(r&&t.rowFields&&t.rowFields.length>0||!r&&t.columnFields&&t.columnFields.length>0)&&e.writeElement(r?"rowFields":"colFields",function(){e.writeAttributeString("count",r?t.rowFields.length:t.columnFields.length)},function(){var i,n=r?t.rowFields:t.columnFields;for(i=0;i<n.length;i++)ae(e,n[i])})}function ae(e,t){e.writeLeafElement("field",function(){e.writeAttributeString("x",t)})}function oe(e,t){var r=[];r=t.rowItems,r.length<=0||e.writeElement("rowItems",function(){e.writeAttributeString("count",r.length)},function(){for(var t=0;t<r.length;t++)se(e,r[t])})}function le(e,t){var r=t.columnItems;!i.isNullOrUndefined(r)&&r.length>0&&e.writeElement("colItems",function(){e.writeAttributeString("count",r.length)},function(){for(var t=0;t<r.length;t++)se(e,r[t])})}function se(e,t){e.writeElement("i",function(){i.isNullOrUndefined(t.type)||e.writeAttributeString("t",t.type),t.repeatCount>0&&e.writeAttributeString("r",t.repeatCount),t.dataFieldIndex>0&&e.writeAttributeString("i",t.dataFieldIndex)},function(){if(t.pivotItemIndexes&&t.pivotItemIndexes.length>0)for(var r=0;r<t.pivotItemIndexes.length;r++)ce(e,t.pivotItemIndexes[r])})}function ce(e,t){e.writeLeafElement("x",function(){t&&t>0&&e.writeAttributeString("v",t)})}function ue(e,t){t.pageFields&&t.pageFields.length>0&&e.writeElement("pageFields",function(){e.writeAttributeString("count",t.pageFields.length)},function(){for(var r=0;r<t.pageFields.length;r++)de(e,t.pageFields[r])})}function de(e,t){e.writeLeafElement("pageField",function(){i.isNullOrUndefined(t.name)||e.writeAttributeString("name",s(u(t.name))),i.isNullOrUndefined(t.fld)||e.writeAttributeString("fld",t.fld),i.isNullOrUndefined(t.cap)||e.writeAttributeString("cap",t.cap),i.isNullOrUndefined(t.item)||e.writeAttributeString("item",t.item),i.isNullOrUndefined(t.hier)||e.writeAttributeString("hier",t.hier)})}function fe(e,t){t.dataFields&&t.dataFields.length>0&&e.writeElement("dataFields",function(){e.writeAttributeString("count",t.dataFields.length)},function(){for(var r=0;r<t.dataFields.length;r++)pe(e,t.dataFields[r])})}function pe(e,t){var r=["difference","index","normal","percent","percentDiff","percentOfCol","percentOfRow","percentOfTotal","runTotal"].indexOf(t.showDataAs)===-1;e.writeElement("dataField",function(){i.isNullOrUndefined(t.name)||e.writeAttributeString("name",s(u(t.name))),i.isNullOrUndefined(t.fld)||e.writeAttributeString("fld",t.fld),i.isNullOrUndefined(t.subtotal)||e.writeAttributeString("subtotal",t.subtotal),
45
+ i.isNullOrUndefined(t.showDataAs)||r||e.writeAttributeString("showDataAs",t.showDataAs),i.isNullOrUndefined(t.baseField)||e.writeAttributeString("baseField",t.baseField),i.isNullOrUndefined(t.baseItem)||e.writeAttributeString("baseItem",t.baseItem),i.isNullOrUndefined(t.numberFormatId)||e.writeAttributeString("numFmtId",t.numberFormatId)},function(){!i.isNullOrUndefined(t.showDataAs)&&r&&he(e,t.showDataAs)})}function he(e,t){e.writeElement("extLst",function(){},function(){e.writeElement("ext",function(){e.writeAttributeString("uri","{E15A36E0-9728-4e99-A89B-3F7291B0FE68}"),e.writeAttributeString("xmlns:x14",a.XFileConstants.$d)},function(){e.writeLeafElement("x14:dataField",function(){e.writeAttributeString("pivotShowAs",t)})})})}function me(e,t){var r=t.formats;r&&r.length>0&&e.writeElement("formats",function(){e.writeAttributeString("count",r.length)},function(){for(var t=0;t<r.length;t++)ge(e,r[t])})}function ge(e,t){t&&t.style&&t.pivotArea&&!t.pivotArea.missed&&e.writeElement("format",function(){"Formatting"===t.action||i.isNullOrUndefined(t.action)||e.writeAttributeString("action",t.action),t.dxfId>=0&&e.writeAttributeString("dxfId",t.dxfId)},function(){te(e,t.pivotArea,!0)})}function be(e,t){var r=t.pivotTableConditionFormats;r&&r.length>0&&e.writeElement("conditionalFormats",function(){e.writeAttributeString("count",r.length)},function(){for(var t=0;t<r.length;t++)we(e,r[t])})}function we(e,t){e.writeElement("conditionalFormat",function(){t.scope&&"Selection"!==t.scope&&e.writeAttributeString("scope",t.scope),t.type&&"None"!==t.type&&e.writeAttributeString("type",t.type),e.writeAttributeString("priority",t.rule.priority||0)},function(){t.pivotAreas&&t.pivotAreas.length>0&&e.writeElement("pivotAreas",function(){e.writeAttributeString("count",t.pivotAreas.length)},function(){for(var r=0;r<t.pivotAreas.length;r++)te(e,t.pivotAreas[r])})})}function Ce(e,t){t.chartFormats&&t.chartFormats.length>0&&e.writeElement("chartFormats",function(){e.writeAttributeString("count",t.chartFormats.length)},function(){for(var r=0;r<t.chartFormats.length;r++)Se(e,t.chartFormats[r])})}function Se(e,t){e.writeElement("chartFormat",function(){t.chart>=0&&e.writeAttributeString("chart",t.chart),t.format>=0&&e.writeAttributeString("format",t.format),t.series&&e.writeAttributeString("series","1")},function(){i.isNullOrUndefined(t.pivotArea)||te(e,t.pivotArea)})}function ye(e,t){t.pivotHierarchies&&t.pivotHierarchies.length>0&&e.writeElement("pivotHierarchies",function(){e.writeAttributeString("count",t.pivotHierarchies.length)},function(){for(var r=0;r<t.pivotHierarchies.length;r++)ve(e,t.pivotHierarchies[r])})}function ve(e,t){e.writeElement("pivotHierarchy",function(){i.isNullOrUndefined(t.caption)||e.writeAttributeString("caption",t.caption),t.dragOff||e.writeAttributeString("dragOff","0"),t.dragToRow||e.writeAttributeString("dragToRow","0"),t.dragToCol||e.writeAttributeString("dragToCol","0"),t.dragToPage||e.writeAttributeString("dragToPage","0"),t.dragToData&&e.writeAttributeString("dragToData","1"),t.includeNewItemsInFilter&&e.writeAttributeString("includeNewItemsInFilter","1"),t.multipleItemSelectionAllowed&&e.writeAttributeString("multipleItemSelectionAllowed","1"),t.outline&&e.writeAttributeString("outline","1"),t.showInFieldList&&e.writeAttributeString("showInFieldList","1"),t.subtotalTop&&e.writeAttributeString("subtotalTop","1")},function(){var r;t.memberProperties&&t.memberProperties.length>0&&e.writeElement("mps",function(){e.writeAttributeString("count",t.memberProperties.length)},function(){for(r=0;r<t.memberProperties.length;r++)xe(e,t.memberProperties[r])}),t.members&&t.members.length>0&&e.writeElement("members",function(){e.writeAttributeString("count",t.members.length)},function(){for(r=0;r<t.members.length;r++)Te(e,t.members[r])})})}function xe(e,t){e.writeLeafElement("mp",function(){i.isNullOrUndefined(t.name)||e.writeAttributeString("name",s(u(t.name))),t.showCell&&e.writeAttributeString("showCell","1"),t.showTip&&e.writeAttributeString("showTip","1"),t.showAsCaption&&e.writeAttributeString("showAsCaption","1"),t.nameLen>0&&e.writeAttributeString("nameLen",s(t.nameLen)),t.pPos>=0&&e.writeAttributeString("pPos",t.pPos),t.pLen>0&&e.writeAttributeString("pLen",t.pLen),t.level>0&&e.writeAttributeString("level",t.level),t.field>=0&&e.writeAttributeString("field",t.field)})}function Te(e,t){e.writeLeafElement("member",function(){i.isNullOrUndefined(t.name)||e.writeAttributeString("name",s(u(t.name)))})}function Ae(e,t){e.writeLeafElement("pivotTableStyleInfo",function(){i.isNullOrUndefined(t.styleName)||e.writeAttributeString("name",s(u(t.styleName))),t.showRowHeaders&&e.writeAttributeString("showRowHeaders","1"),t.showColHeaders&&e.writeAttributeString("showColHeaders","1"),t.showRowStripes===!1?e.writeAttributeString("showRowStripes","0"):e.writeAttributeString("showRowStripes","1"),t.showColStripes===!1?e.writeAttributeString("showColStripes","0"):e.writeAttributeString("showColStripes","1"),t.showLastColumn&&e.writeAttributeString("showLastColumn","1")})}function ke(e,t,r){r.pivotFilters&&r.pivotFilters.length>0&&t.writeElement("filters",function(){t.writeAttributeString("count",r.pivotFilters.length)},function(){var i,n;for(i=0;i<r.pivotFilters.length;i++)n=r.pivotFilters[i],41!==n.operator&&42!==n.operator&&Ee(e,t,n)})}function Ee(e,r,n){var a=n.operator,o=n.conType,c=t.captionCompareTypeExcel[o][a];r.writeElement("filter",function(){n.fld>=0&&r.writeAttributeString("fld",n.fld),n.mpFld>=0&&r.writeAttributeString("mpFld",n.mpFld),void 0!==c&&r.writeAttributeString("type",c),i.isNullOrUndefined(n.evalOrder)||r.writeAttributeString("evalOrder",n.evalOrder),n.id>=0&&r.writeAttributeString("id",n.id),n.iMeasureHier>=0&&r.writeAttributeString("iMeasureHier",n.iMeasureHier),n.iMeasureFld>=0&&r.writeAttributeString("iMeasureFld",n.iMeasureFld),i.isNullOrUndefined(n.name)||r.writeAttributeString("name",s(u(n.name))),i.isNullOrUndefined(n.description)||r.writeAttributeString("description",n.description),i.isNullOrUndefined(n.stringValue1)||r.writeAttributeString("stringValue1",n.stringValue1),i.isNullOrUndefined(n.stringValue2)||r.writeAttributeString("stringValue2",n.stringValue2)},function(){if(!i.isNullOrUndefined(n.autoFilter)){var t=e.Aj(n,c);l.writePivotAutoFilter(r,t)}})}function Ie(e,t){t.rowHierarchies&&t.rowHierarchies.length>0&&e.writeElement("rowHierarchiesUsage",function(){e.writeAttributeString("count",t.rowHierarchies.length)},function(){for(var r=0;r<t.rowHierarchies.length;r++)Pe(e,t.rowHierarchies[r],!0)})}function Fe(e,t){t.colHierarchies&&t.colHierarchies.length>0&&e.writeElement("rowHierarchiesUsage",function(){e.writeAttributeString("count",t.colHierarchies.length)},function(){for(var r=0;r<t.colHierarchies.length;r++)Pe(e,t.colHierarchies[r],!1)})}function Pe(e,t,r){var i=r?"rowHierarchyUsage":"colHierarchyUsage";e.writeLeafElement(i,function(){e.writeAttributeString("hierarchyUsage",t)})}function De(e,t){e.writeElement("extLst",function(){e.writeElement("ext",function(){e.writeAttributeString("uri","{962EF5D1-5CA2-4c93-8EF4-DBF5C05439D2}"),e.writeAttributeString("xmlns:x14","http://schemas.microsoft.com/office/spreadsheetml/2009/9/main")},function(){e.writeLeafElement("x14:pivotTableDefinition",function(){t.altText&&e.writeAttributeString("altText",t.altText),t.fillDownLabels&&e.writeAttributeString("fillDownLabelsDefault","1"),t.altTextSummary&&e.writeAttributeString("altTextSummary",t.altTextSummary),t.hideValuesRow&&e.writeAttributeString("hideValuesRow","1"),e.writeAttributeString("xmlns:xm","http://schemas.microsoft.com/office/excel/2006/main")})}),e.writeElement("ext",function(){e.writeAttributeString("uri","{747A6164-185A-40DC-8AA5-F01512510D54}"),e.writeAttributeString("xmlns:xpdl","http://schemas.microsoft.com/office/spreadsheetml/2016/pivotdefaultlayout")},function(){e.writeLeafElement("xpdl:pivotTableDefinition16",function(){t.subtotalsOnTopDefault===!1&&e.writeAttributeString("SubtotalsOnTopDefault","0"),t.enabledSubtotalsDefault===!1&&e.writeAttributeString("EnabledSubtotalsDefault","0"),t.insertBlankRowDefault===!0&&e.writeAttributeString("InsertBlankRowDefault","1")})})})}function Re(e,t){e.writeElement("ext",function(){e.writeAttributeString("uri","{2946ED86-A175-432a-8AC1-64E0C546D7DE}"),e.writeAttributeString("xmlns:x14","http://schemas.microsoft.com/office/spreadsheetml/2009/9/main")},function(){e.writeLeafElement("x14:pivotField",function(){t.fillDownLabels&&e.writeAttributeString("fillDownLabels","1")})})}},"./src/xlsx-io/writer/print-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=i.StringEx.O,a=i.Util.oa,o=r("./src/xml-io/xml-writer.ts"),l=r("./src/common/excel-types.ts"),s=r("./src/datamodel/excel-helper.ts"),c={0:"auto",1:"downThenOver",2:"overThenDown"},u={0:"auto",1:"portrait",2:"landscape"};function d(e,t,r){var i=r.Kj(t);i&&e.writeLeafElement("pageMargins",function(){e.writeAttributeString("left",i.left),e.writeAttributeString("right",i.right),e.writeAttributeString("top",i.top),e.writeAttributeString("bottom",i.bottom),e.writeAttributeString("header",i.header),e.writeAttributeString("footer",i.footer)})}t.writePageMargins=d;function f(e,t,r){var i=r.Lj(t);i&&(i.printGridLine||i.printRowColumnsHeaders||i.horizontalCentered||i.verticalCentered)&&e.writeLeafElement("printOptions",function(){i.printRowColumnsHeaders&&e.writeAttributeString("headings","1"),i.printGridLine&&e.writeAttributeString("gridLines","1"),i.horizontalCentered&&e.writeAttributeString("horizontalCentered","1"),i.verticalCentered&&e.writeAttributeString("verticalCentered","1")})}t.writePrintOptions=f;function p(e,t,r){var n=r.Mj(t);n&&e.writeLeafElement("pageSetup",function(){var t=n.useSmartPrint,r=n.paperSizeIndex,a=n.zoomFactor,o=n.firstPageNumber,l=n.smartPrintPagesWidth,d=n.smartPrintPagesHeight,f=c[n.pageOrder],p=u[n.orientation],h=n.copies;t&&(void 0===l&&(l=0),void 0===d&&(d=0)),!i.isNullOrUndefined(r)&&r>1&&e.writeAttributeString("paperSize",r),!i.isNullOrUndefined(a)&&Math.abs(a-1)>.01&&e.writeAttributeString("scale",Math.round(100*a)),i.isNullOrUndefined(o)||e.writeAttributeString("firstPageNumber",s.convertFirstPageNumberToExcel(o)),(l>0&&1!==l||0===l)&&e.writeAttributeString("fitToWidth",l),(d>0&&1!==d||0===d)&&e.writeAttributeString("fitToHeight",d),i.isNullOrUndefined(f)||0===f||e.writeAttributeString("pageOrder",f),i.isNullOrUndefined(p)||0===p||e.writeAttributeString("orientation",p),n.showColor===!1&&e.writeAttributeString("blackAndWhite","1"),n.draft===!0&&e.writeAttributeString("draft","1"),n.useCustomStartingPage===!0&&e.writeAttributeString("useFirstPageNumber","1"),h>1&&h<32767&&e.writeAttributeString("copies",h)})}t.writePageSetup=p;function h(e){var t=e.advancedHeadFooterSetting;return t&&(t.headerFooterDifferentOddEvenPages||t.headerFooterDifferentFirstPage||!t.headerFooterScalesWithDocument||!t.headerFooterAlignWithPageMargin||!n(e.header)||!n(e.footer)||!n(t.headerOddPage)||!n(t.footerOddPage)||!n(t.headerEvenPage)||!n(t.footerEvenPage)||!n(t.headerFirstPage)||!n(t.footerFirstPage))}function m(e,t,r){var i,o=r.Mj(t);o&&h(o)&&(i=o.advancedHeadFooterSetting,e.writeElement("headerFooter",function(){i.headerFooterDifferentOddEvenPages===!0&&e.writeAttributeString("differentOddEven","1"),i.headerFooterDifferentFirstPage===!0&&e.writeAttributeString("differentFirst","1"),i.headerFooterScalesWithDocument===!1&&e.writeAttributeString("scaleWithDoc","0"),i.headerFooterAlignWithPageMargin===!1&&e.writeAttributeString("alignWithMargins","0")},function(){n(i.headerOddPage)?n(o.header)||e.writeElementString("oddHeader",a(o.header)):e.writeElementString("oddHeader",a(i.headerOddPage)),n(i.footerOddPage)?n(o.footer)||e.writeElementString("oddFooter",a(o.footer)):e.writeElementString("oddFooter",a(i.footerOddPage)),n(i.headerEvenPage)||e.writeElementString("evenHeader",a(i.headerEvenPage)),n(i.footerEvenPage)||e.writeElementString("evenFooter",a(i.footerEvenPage)),n(i.headerFirstPage)||e.writeElementString("firstHeader",a(i.headerFirstPage)),n(i.footerFirstPage)||e.writeElementString("firstFooter",a(i.footerFirstPage))}))}t.writeHeadFooter=m;function g(e,t,r){t&&t.length>0&&e.writeElement(r,function(){var r=t.length;e.writeAttributeString("count",r),e.writeAttributeString("manualBreakCount",r)},function(){t.forEach(function(t){t>0&&e.writeLeafElement("brk",function(){e.writeAttributeString("id",t),e.writeAttributeString("man","1"),"rowBreaks"===r?e.writeAttributeString("max",l.ExcelConstants.wb):"colBreaks"===r&&e.writeAttributeString("max",l.ExcelConstants.vb)})})})}function b(e,t,r){var i=r.Mj(t);i&&(g(e,i.rowBreakLines,"rowBreaks"),g(e,i.columnBreakLines,"colBreaks"))}t.writeRowColumnBreaks=b;function w(e,t){t.jn&&(e.writeLeafElement("legacyDrawingHF",function(){e.writeAttributeString("r:id",t.jn)}),t.jn="")}t.writeLegacyDrawingHF=w;function C(e,t,r,i){e.writeElement("v:shape",function(){e.writeAttributeString("id",t.name),t.spid?e.writeAttributeString("o:spid",t.spid):e.writeAttributeString("o:spid","_x0000_s10"+r),e.writeAttributeString("type","#_x0000_t75"),t.style?e.writeAttributeString("style",t.style):e.writeAttributeString("style","position:absolute;margin-left:0;margin-top:0;width:100%pt;height:100%pt;z-index:"+i)},function(){e.writeLeafElement("v:imagedata",function(){e.writeAttributeString("o:relid",t.rid),e.writeAttributeString("o:title",t.name)}),t.cellRange||e.writeLeafElement("o:lock",function(){e.writeAttributeString("v:ext","edit"),e.writeAttributeString("rotation","t")}),t.cellRange&&e.writeElement("x:ClientData",function(){e.writeAttributeString("ObjectType","Pict")},function(){e.writeLeafElement("x:SizeWithCells"),e.writeElementString("x:Anchor",t.anchor),e.writeElementString("x:FmlaPict",t.cellRange),e.writeElementString("x:CF","Pict"),e.writeElementString("x:Camera","")})})}function S(e,t,r,i,n,a,o){e.writeAttributeString(t,r),e.writeAttributeString(i,n),e.writeAttributeString(a,o)}t.writeVmlDrawingFile=function(e){var t=new o.XmlWriter;return t.writeElement("xml",function(){S(t,"xmlns:v","urn:schemas-microsoft-com:vml","xmlns:o","urn:schemas-microsoft-com:office:office","xmlns:x","urn:schemas-microsoft-com:office:excel")},function(){t.writeElement("o:shapelayout",function(){t.writeAttributeString("v:ext","edit")},function(){t.writeLeafElement("o:idmap",function(){t.writeAttributeString("v:ext","edit"),t.writeAttributeString("data","1")})}),t.writeElement("v:shapetype",function(){t.writeAttributeString("id","_x0000_t75"),t.writeAttributeString("coordsize","21600,21600"),t.writeAttributeString("o:spt","75"),t.writeAttributeString("o:preferrelative","t"),t.writeAttributeString("path","m@4@5l@4@11@9@11@9@5xe"),t.writeAttributeString("filled","f"),t.writeAttributeString("stroked","f")},function(){t.writeLeafElement("v:stroke",function(){t.writeAttributeString("joinstyle","miter")}),t.writeElement("v:formulas",function(){t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","if lineDrawn pixelLineWidth 0")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","sum @0 1 0")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","sum 0 0 @1")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","prod @2 1 2")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","prod @3 21600 pixelWidth")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","prod @3 21600 pixelHeight")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","sum @0 0 1")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","prod @6 1 2")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","prod @7 21600 pixelWidth")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","sum @8 21600 0")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","prod @7 21600 pixelHeight")}),t.writeLeafElement("v:f",function(){t.writeAttributeString("eqn","sum @10 21600 0")})}),t.writeLeafElement("v:path",function(){S(t,"o:extrusionok","f","gradientshapeok","t","o:connecttype","rect")}),t.writeLeafElement("o:lock",function(){t.writeAttributeString("v:ext","edit"),t.writeAttributeString("aspectratio","t")})});var r=25,i=1;e.forEach(function(e){(["LH","CH","RH","LF","CF","RF","LHEVEN","CHEVEN","RHEVEN","LFEVEN","CFEVEN","RFEVEN","LHFIRST","CHFIRST","RHFIRST","LFFIRST","CFFIRST","RFFIRST"].indexOf(e.name)>=0||e.name.indexOf("Picture_x0020")!==-1)&&(C(t,e,r,i),r++,i++)})}),t.getXmlString()}},"./src/xlsx-io/writer/sharedString-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/xml-io/xml-writer.ts"),o=r("./src/datamodel/excel-style.ts"),l=r("./src/xlsx-io/writer/style-writer.ts");function s(e){var t=new a.XmlWriter;return t.writeDocument(),t.writeElement("sst",function(){t.writeAttributeString("xmlns",n.XFileConstants.Hd),t.writeAttributeString("count",""+e.Pn),t.writeAttributeString("uniqueCount",""+e.Qn.length)},function(){var r,n,a=function(r,n){var a=e.Qn[r],s=a.value,c=s.length!==s.trim().length;t.writeElement("si",void 0,function(){var e,r,n,u=function(){c&&t.writeAttributeString("xml:space","preserve")};if(a.richText)for(e=a.richText,r=function(r){void 0!==e[r].text&&t.writeElement("r",void 0,function(){l.writerRichTextStyle(t,o.ConverterHelper.fromRichTextStyle(e[r].style)),e[r].text&&(c=e[r].text.length!==e[r].text.trim().length),t.writeElement("t",function(){u()},function(){t.writeValue(i.Util.oa(i.Util.xa(e[r].text,!0)))})})},n=0;n<e.length;n++)r(n);else t.writeElement("t",function(){u()},function(){t.writeValue(i.Util.oa(i.Util.xa(s,!0)))})})};for(r=0,n=e.Qn.length;r<n;r++)a(r,n)}),t.getXmlString()}t.writeSharedString=s},"./src/xlsx-io/writer/slicer-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/common/common.ts"),o=r("./src/datamodel/excel-style.ts"),l=o.UnitHelper.pixelToEMU,s=a.Util.oa,c=a.Util.ua,u="http://schemas.microsoft.com/office/drawing/2012/timeslicer",d="mc:Ignorable";function f(e){if(a.isNullOrUndefined(e))return null;var t=new i.XmlWriter;return t.writeDocument(),t.writeElement("slicers",function(){t.writeAttributeString("xmlns",n.XFileConstants.ce),t.writeAttributeString("xmlns:mc",n.XFileConstants.ae),t.writeAttributeString(d,"x"),t.writeAttributeString("xmlns:x",n.XFileConstants.be)},function(){e.forEach(function(e){t.writeLeafElement("slicer",function(){t.writeAttributeString("name",s(c(e.name,"\n","_x000a_"))),t.writeAttributeString("cache",s(e.nameInFormula)),t.writeAttributeString("caption",s(e.captionName)),a.isNullOrUndefined(e.columnCount)||t.writeAttributeString("columnCount",e.columnCount),a.isNullOrUndefined(e.showHeader)||e.showHeader||t.writeAttributeString("showCaption","0"),t.writeAttributeString("style",s(e.style.name));var r=241300;e.itemHeight&&(r=l(e.itemHeight+4)),t.writeAttributeString("rowHeight",r),e.disableResizingAndMoving&&t.writeAttributeString("lockedPosition","1")})})}),t.getXmlString()}t.writeSlicer=f;function p(e,t){var r=null;return t.forEach(function(t){t.name===e&&(r=t.id)}),r}function h(e,t,r){var i=null;return r.forEach(function(r){r.name===t&&r.columns.forEach(function(t){t.name===e&&(i=t.id)})}),i}function m(e,t){var r,o,l;return a.isNullOrUndefined(e)?null:(r=p(e.tableName,t),o=h(e.columnName,e.tableName,t),l=new i.XmlWriter,l.writeDocument(),l.writeElement("slicerCacheDefinition",function(){l.writeAttributeString("xmlns",n.XFileConstants.ce),l.writeAttributeString("xmlns:mc",n.XFileConstants.ae),l.writeAttributeString(d,"x"),l.writeAttributeString("xmlns:x",n.XFileConstants.be),l.writeAttributeString("name",s(e.name)),l.writeAttributeString("sourceName",s(e.sourceName))},function(){l.writeElement("extLst",function(){},function(){l.writeElement("x:ext",function(){l.writeAttributeString("uri","{2F2917AC-EB37-4324-AD4E-5DD8C200BD13}"),l.writeAttributeString("xmlns:x15",n.XFileConstants.de)},function(){l.writeLeafElement("x15:tableSlicerCache",function(){l.writeAttributeString("tableId",r),l.writeAttributeString("column",o),2===e.sortOrder&&l.writeAttributeString("sortOrder","descending"),e.visuallyNoDataItems===!1?l.writeAttributeString("crossFilter","none"):e.showNoDataItemsInLast===!1&&l.writeAttributeString("crossFilter","showItemsWithNoData")})}),e.showNoDataItems===!1&&l.writeElement("x:ext",function(){l.writeAttributeString("uri","{470722E0-AACD-4C17-9CDC-17EF765DBC7E}"),l.writeAttributeString("xmlns:x15",n.XFileConstants.de)},function(){l.writeLeafElement("x15:slicerCacheHideItemsWithNoData",function(){})})})}),l.getXmlString())}t.writeTableSlicerCache=m;function g(e){if(a.isNullOrUndefined(e))return null;var t=new i.XmlWriter;return t.writeDocument(),t.writeElement("slicerCacheDefinition",function(){t.writeAttributeString("xmlns",n.XFileConstants.ce),t.writeAttributeString("xmlns:mc",n.XFileConstants.ae),t.writeAttributeString(d,"x"),t.writeAttributeString("xmlns:x",n.XFileConstants.be),t.writeAttributeString("name",s(e.name)),t.writeAttributeString("sourceName",s(e.sourceName))},function(){t.writeElement("pivotTables",function(){},function(){e.pivotTables.forEach(function(e){t.writeLeafElement("pivotTable",function(){t.writeAttributeString("tabId",e.tabId),t.writeAttributeString("name",s(e.name))})})}),t.writeElement("data",function(){},function(){t.writeElement("tabular",function(){t.writeAttributeString("pivotCacheId",e.pivotCacheId),2===e.sortOrder&&t.writeAttributeString("sortOrder","descending"),e.visuallyNoDataItems===!1?t.writeAttributeString("crossFilter","none"):e.showNoDataItemsInLast===!1&&t.writeAttributeString("crossFilter","showItemsWithNoData")},function(){t.writeElement("items",function(){t.writeAttributeString("count",e.items.length)},function(){e.items.forEach(function(e){t.writeElement("i",function(){t.writeAttributeString("x",e.x),e.nd&&t.writeAttributeString("nd","1"),e.s&&t.writeAttributeString("s","1")},function(){})})})})}),e.showNoDataItems===!1&&t.writeElement("extLst",function(){},function(){t.writeElement("x:ext",function(){t.writeAttributeString("uri","{470722E0-AACD-4C17-9CDC-17EF765DBC7E}"),t.writeAttributeString("xmlns:x15",n.XFileConstants.de)},function(){t.writeLeafElement("x15:slicerCacheHideItemsWithNoData",function(){})})})}),t.getXmlString()}t.writePivotSlicerCache=g;function b(e,t,r){var i=r.Ej(t,"pivot"),a=r.Ej(t,"timeline"),o=r.Dj(t);i&&i.length>0&&e.writeElement("ext",function(){e.writeAttributeString("uri","{A8765BA9-456A-4dab-B4F3-ACF838C121DE}"),e.writeAttributeString("xmlns:x14",n.XFileConstants.ce)},function(){e.writeElement("x14:slicerList",function(){i[0].rid&&e.writeLeafElement("x14:slicer",function(){e.writeAttributeString("r:id",i[0].rid)})})}),a&&a.length>0&&e.writeElement("ext",function(){e.writeAttributeString("uri","{7E03D99C-DC04-49d9-9315-930204A7B6E9}"),e.writeAttributeString("xmlns:x15",n.XFileConstants.de)},function(){e.writeElement("x15:timelineRefs",function(){a[0].rid&&e.writeLeafElement("x15:timelineRef",function(){e.writeAttributeString("r:id",a[0].rid)})})}),o&&o.length>0&&e.writeElement("ext",function(){e.writeAttributeString("uri","{3A4CF648-6AED-40f4-86FF-DC5316D8AED3}"),e.writeAttributeString("xmlns:x15",n.XFileConstants.de)},function(){e.writeElement("x14:slicerList",function(){e.writeAttributeString("xmlns:x14",n.XFileConstants.ce)},function(){o[0].rid&&e.writeLeafElement("x14:slicer",function(){e.writeAttributeString("r:id",o[0].rid)})})})}t.writeSlicersInWorkSheet=b;function w(e,t,r){var i,a=t&&t.length>0,o=!1,l=!1,s=[],c=[];if(r)for(i=0;i<r.length;i++)r[i].boundsStartDate?(l=!0,c.push(r[i])):(o=!0,s.push(r[i]));e.writeElement("extLst",function(){},function(){o&&e.writeElement("ext",function(){e.writeAttributeString("uri","{BBE1A952-AA13-448e-AADC-164F8A28A991}"),e.writeAttributeString("xmlns:x14",n.XFileConstants.ce)},function(){e.writeElement("x14:slicerCaches",function(){},function(){s.forEach(function(t){t.cacheRid&&e.writeLeafElement("x14:slicerCache",function(){e.writeAttributeString("r:id",t.cacheRid)})})})}),a&&(e.writeElement("ext",function(){e.writeAttributeString("uri","{46BE6895-7355-4a93-B00E-2C351335B9C9}"),e.writeAttributeString("xmlns:x15",n.XFileConstants.de)},function(){e.writeElement("x15:slicerCaches",function(){e.writeAttributeString("xmlns:x14",n.XFileConstants.ce)},function(){t.forEach(function(t){t.cacheRid&&e.writeLeafElement("x14:slicerCache",function(){e.writeAttributeString("r:id",t.cacheRid)})})})}),e.writeElement("ext",function(){e.writeAttributeString("uri","{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}"),e.writeAttributeString("xmlns:xcalcf",n.XFileConstants.ee)},function(){e.writeElement("xcalcf:calcFeatures",function(){},function(){var t="xcalcf:feature";e.writeElement(t,function(){e.writeAttributeString("name","microsoft.com:RD")},function(){}),e.writeElement(t,function(){e.writeAttributeString("name","microsoft.com:Single")},function(){}),e.writeElement(t,function(){e.writeAttributeString("name","microsoft.com:FV")},function(){}),e.writeElement(t,function(){e.writeAttributeString("name","microsoft.com:CNMTM")},function(){}),e.writeElement(t,function(){e.writeAttributeString("name","microsoft.com:LET_WF")},function(){})})})),l&&e.writeElement("ext",function(){e.writeAttributeString("uri","{D0CA8CA8-9F24-4464-BF8E-62219DCF47F9}"),e.writeAttributeString("xmlns:x15",n.XFileConstants.de)},function(){e.writeElement("x15:timelineCacheRefs",function(){},function(){c.forEach(function(t){t.cacheRid&&e.writeLeafElement("x15:timelineCacheRef",function(){e.writeAttributeString("r:id",t.cacheRid)})})})}),(o||l)&&(e.writeElement("ext",function(){e.writeAttributeString("uri","{79F54976-1DA5-4618-B147-4CDE4B953A38}"),e.writeAttributeString("xmlns:x14",n.XFileConstants.de)},function(){e.writeElement("x14:workbookPr",function(){})}),e.writeElement("ext",function(){e.writeAttributeString("uri","{140A7094-0E35-4892-8432-C4D2E57EDEB5}"),e.writeAttributeString("xmlns:x15",n.XFileConstants.de)},function(){e.writeElement("x15:workbookPr",function(){e.writeAttributeString("chartTrackingRefBase","1")},function(){})}))})}t.writeSlicerCacheInWorkbook=w;function C(e,t,r){t.forEach(function(t){S(e,t,r)})}t.writeSlicerDrawings=C;function S(e,t,r){var i=t&&t.twoCellAnchor;i&&e.writeElement("xdr:twoCellAnchor",function(){t.dynamicMove?t.dynamicSize||e.writeAttributeString("editAs","oneCell"):e.writeAttributeString("editAs","absolute")},function(){r(e,"xdr:from",i.startPoint),r(e,"xdr:to",i.endPoint),v(e,t),y(e,t)})}function y(e,t){e.writeLeafElement("xdr:clientData",function(){t.isLocked||e.writeAttributeString("fLocksWithSheet","0")})}function v(e,t){e.writeElement("mc:AlternateContent",function(){e.writeAttributeString("xmlns:mc",n.XFileConstants.ae)},function(){x(e,t),R(e,t)})}function x(e,t){e.writeElement("mc:Choice",function(){"timeline"===(t&&t.type)?(e.writeAttributeString("xmlns:tsle",u),e.writeAttributeString("Requires","tsle")):(e.writeAttributeString("xmlns:sle15","http://schemas.microsoft.com/office/drawing/2012/slicer"),e.writeAttributeString("Requires","sle15"))},function(){T(e,t)})}function T(e,t){e.writeElement("xdr:graphicFrame",function(){e.writeAttributeString("macro","")},function(){A(e,t),k(e),E(e,t)})}function A(e,t){e.writeElement("xdr:nvGraphicFramePr",function(){},function(){I(e,t),D(e,t)})}function k(e){e.writeElement("xdr:xfrm",function(){},function(){F(e,"a:off","x","0","y","0"),F(e,"a:ext","cx","0","cy","0")})}function E(e,t){e.writeElement("a:graphic",function(){},function(){P(e,t)})}function I(e,t){e.writeElement("xdr:cNvPr",function(){e.writeAttributeString("id","timeline"===(t&&t.type)?"8":"2"),e.writeAttributeString("name",s(c(t.name,"\n","&#xA;")))},function(){"timeline"===(t&&t.type)&&e.writeElement("a:extLst",function(){e.writeElement("a:ext",function(){e.writeAttributeString("uri","{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}")},function(){F(e,"a16:creationId","xmlns:a16","http://schemas.microsoft.com/office/drawing/2014/main","id","{729A7851-DBA1-4F10-BB7B-BEC1E3EEDA64}")})})})}function F(e,t,r,i,n,a){e.writeLeafElement(t,function(){e.writeAttributeString(r,i),e.writeAttributeString(n,a)})}function P(e,t){e.writeElement("a:graphicData",function(){"timeline"===(t&&t.type)?e.writeAttributeString("uri",u):e.writeAttributeString("uri","http://schemas.microsoft.com/office/drawing/2010/slicer")},function(){"timeline"===(t&&t.type)?F(e,"tsle:timeslicer","xmlns:tsle",u,"name",s(c(t.name,"\n","&#xA;"))):F(e,"sle:slicer","xmlns:sle","http://schemas.microsoft.com/office/drawing/2010/slicer","name",s(c(t.name,"\n","&#xA;")))})}function D(e,t){e.writeElement("xdr:cNvGraphicFramePr",function(){e.writeLeafElement("a:graphicFrameLocks",function(){t.disableResizingAndMoving&&(e.writeAttributeString("noMove","1"),e.writeAttributeString("noResize","1"))})})}function R(e,t){e.writeElement("mc:Fallback",function(){e.writeAttributeString("xmlns","")},function(){L(e,t)})}function L(e,t){e.writeElement("xdr:sp",function(){e.writeAttributeString("macro",""),e.writeAttributeString("textlink","")},function(){_(e),O(e),z(e,t)})}function _(e){e.writeElement("xdr:nvSpPr",function(){},function(){F(e,"xdr:cNvPr","id","0","name",""),B(e)})}function N(e,t,r){e.writeElement(t,function(){},function(){M(e,r[0],r[1],r[2])})}function B(e){N(e,"xdr:cNvSpPr",["a:spLocks","noTextEdit","1"])}function M(e,t,r,i){e.writeLeafElement(t,function(){e.writeAttributeString(r,i)})}function O(e){e.writeElement("xdr:spPr",function(){},function(){G(e),H(e),J(e),W(e)})}function G(e){e.writeElement("a:xfrm",function(){},function(){F(e,"a:off","x","5486400","y","942975"),F(e,"a:ext","cx","1828800","cy","2524125")})}function H(e){e.writeElement("a:prstGeom",function(){e.writeAttributeString("prst","rect")},function(){U(e)})}function U(e){e.writeLeafElement("a:avLst")}function J(e){N(e,"a:solidFill",["a:prstClr","val","white"])}function W(e){e.writeElement("a:ln",function(){e.writeAttributeString("w","1")},function(){V(e)})}function V(e){N(e,"a:solidFill",["a:prstClr","val","green"])}function z(e,t){e.writeElement("xdr:txBody",function(){},function(){F(e,"a:bodyPr","vertOverflow","clip","horzOverflow","clip"),j(e),X(e,t)})}function j(e){e.writeLeafElement("a:lstStyle")}function X(e,t){e.writeElement("a:p",function(){},function(){K(e,t)})}function K(e,t){e.writeElement("a:r",function(){},function(){F(e,"a:rPr","lang","en-US","sz","1100"),q(e,t)})}function q(e,t){var r;r=t&&"timeline"===t.type?"Timeline: Works in Excel 2013 or higher. Do not move or resize.":"This shape represents a table slicer. Table slicers are supported in Excel or later. If the shape was modified in an earlier version of Excel, or if the workbook was saved in Excel 2007 or earlier, the slicer can't be used.",e.writeElement("a:t",function(){e.writeValue(r)})}},"./src/xlsx-io/writer/sparkline-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts"),n=r("./src/common/common.ts"),a=r("./src/common/range-parser.ts"),o=r("./src/datamodel/excel-style.ts"),l=r("./src/xlsx-io/common/color-writer.ts"),s=n.IndexHelper.V,c=n.Util.oa;function p(e,t,r){!r.zj(t)||r.zj(t).length<1||e.writeElement("ext",function(){e.writeAttributeString("uri","{05C60535-1F16-4fd2-B633-F4F36F0B64E0}"),e.writeAttributeString("xmlns:x14",i.XFileConstants.$d)},function(){h(e,t,r)})}t.writeSparkline=p;function h(e,t,r){e.writeElement("x14:sparklineGroups",function(){e.writeAttributeString("xmlns:xm",i.XFileConstants._d)},function(){var i=r.zj(t);i.length>0&&i.forEach(function(r){m(e,t,r)})})}t.writeSparklineGroups=h,u={0:"line",1:"column",2:"stacked"},d={2:"span",0:"gap",1:"zero"},f={0:"individual",1:"group",2:"custom"};function m(e,t,r){e.writeElement("x14:sparklineGroup",function(){var t=r&&r.setting;r.sparklineType&&e.writeAttributeString("type",u[r.sparklineType]),
46
+ r.displayDateAxis&&e.writeAttributeString("dateAxis","1"),n.isNullOrUndefined(t)||(!n.isNullOrUndefined(t.lineWeight)&&3*(""+t.lineWeight)/4-.75>.001&&e.writeAttributeString("lineWeight",3*(""+t.lineWeight)/4),t.displayEmptyCellsAs?e.writeAttributeString("displayEmptyCellsAs",d[t.displayEmptyCellsAs]):e.writeAttributeString("displayEmptyCellsAs",d[0]),t.showMarkers&&e.writeAttributeString("markers","1"),t.showHigh&&e.writeAttributeString("high","1"),t.showLow&&e.writeAttributeString("low","1"),t.showFirst&&e.writeAttributeString("first","1"),t.showLast&&e.writeAttributeString("last","1"),t.showNegative&&e.writeAttributeString("negative","1"),t.displayXAxis&&e.writeAttributeString("displayXAxis","1"),t.displayHidden&&e.writeAttributeString("displayHidden","1"),t.rightToLeft&&e.writeAttributeString("rightToLeft","1"),t.minAxisType&&e.writeAttributeString("minAxisType",f[t.minAxisType]),t.maxAxisType&&e.writeAttributeString("maxAxisType",f[t.maxAxisType]),t.manualMin&&e.writeAttributeString("manualMin",t.manualMin),t.manualMax&&e.writeAttributeString("manualMax",t.manualMax))},function(){var i=r&&r.setting,n=o.ColorHelper.toExcelColor(i.seriesColor||"rgba(36,64,98,1.0)");l.writeColor(e,"x14:colorSeries",n),n=o.ColorHelper.toExcelColor(i.negativeColor||"brown"),l.writeColor(e,"x14:colorNegative",n),n=o.ColorHelper.toExcelColor(i.axisColor||"black"),l.writeColor(e,"x14:colorAxis",n),n=o.ColorHelper.toExcelColor(i.markersColor||"rgba(36,64,98,1.0)"),l.writeColor(e,"x14:colorMarkers",n),n=o.ColorHelper.toExcelColor(i.firstMarkerColor||"rgba(149,179,215,1.0)"),l.writeColor(e,"x14:colorFirst",n),n=o.ColorHelper.toExcelColor(i.lastMarkerColor||"rgba(149,179,215,1.0)"),l.writeColor(e,"x14:colorLast",n),n=o.ColorHelper.toExcelColor(i.highMarkerColor||"blue"),l.writeColor(e,"x14:colorHigh",n),n=o.ColorHelper.toExcelColor(i.lowMarkerColor||"blue"),l.writeColor(e,"x14:colorLow",n),r.displayDateAxis&&r.axisReference&&e.writeElement("xm:f",function(){"string"==typeof r.axisReference?e.writeValue(r.axisReference):e.writeValue(b(r.axisReference.sheetName||t,r.axisReference))}),r.sparklines&&r.sparklines.length>0&&e.writeElement("x14:sparklines",function(){r.sparklines.forEach(function(r){g(e,t,r)})})})}t.writeSparklineGroup=m;function g(e,t,r){e.writeElement("x14:sparkline",function(){n.isNullOrUndefined(r.data)||(e.writeElement("xm:f",function(){},function(){"string"==typeof r.data?e.writeValue(r.data):e.writeValue(b(r.data.sheetName||t,r.data))}),e.writeElement("xm:sqref",function(){},function(){e.writeValue(a.getRangeString([{row:r.row,col:r.col,rowCount:1,colCount:1}]))}))})}function b(e,t){return c(s(e)+"!"+a.getRangeString([t]))}},"./src/xlsx-io/writer/style-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/common/tuple.ts"),o=r("./src/datamodel/excel-style.ts"),l=r("./src/datamodel/excel-style.ts"),s=r("./src/common/common.ts"),c=r("./src/xlsx-io/common/color-writer.ts"),u=void 0,d={wholeSlicerStyle:"wholeTable",headerStyle:"headerRow",wholeTableStyle:"wholeTable",headerRowStyle:"headerRow",footerRowStyle:"totalRow",highlightFirstColumnStyle:"firstColumn",highlightLastColumnStyle:"lastColumn",firstRowStripStyle:"firstRowStripe",secondRowStripStyle:"secondRowStripe",firstColumnStripStyle:"firstColumnStripe",secondColumnStripStyle:"secondColumnStripe",firstHeaderCellStyle:"firstHeaderCell",lastHeaderCellStyle:"lastHeaderCell",firstFooterCellStyle:"firstTotalCell",lastFooterCellStyle:"lastTotalCell",reportFilterLabelsStyle:"pageFieldLabels",reportFilterValuesStyle:"pageFieldValues",firstRowStripeStyle:"firstRowStripe",secondRowStripeStyle:"secondRowStripe",firstColumnStripeStyle:"firstColumnStripe",secondColumnStripeStyle:"secondColumnStripe",subtotalColumn1Style:"firstSubtotalColumn",subtotalColumn2Style:"secondSubtotalColumn",subtotalColumn3Style:"thirdSubtotalColumn",subtotalRow1Style:"firstSubtotalRow",subtotalRow2Style:"secondSubtotalRow",subtotalRow3Style:"thirdSubtotalRow",columnSubheading1Style:"firstColumnSubheading",columnSubheading2Style:"secondColumnSubheading",columnSubheading3Style:"thirdColumnSubheading",rowSubheading1Style:"firstRowSubheading",rowSubheading2Style:"secondRowSubheading",rowSubheading3Style:"thirdRowSubheading",blankRowStyle:"blankRow",grandTotalColumnStyle:"lastColumn",grandTotalRowStyle:"totalRow",firstHeaderCellStyleL:"firstHeaderCell",firstColumnStyle:"firstColumn"},f={selectedItemWithDataStyle:"selectedItemWithData",selectedItemWithNoDataStyle:"selectedItemWithNoData",unSelectedItemWithDataStyle:"unselectedItemWithData",unSelectedItemWithNoDataStyle:"unselectedItemWithNoData",hoveredSelectedItemWithDataStyle:"hoveredSelectedItemWithData",hoveredSelectedItemWithNoDataStyle:"hoveredSelectedItemWithNoData",hoveredUnSelectedItemWithDataStyle:"hoveredUnselectedItemWithData",hoveredUnSelectedItemWithNoDataStyle:"hoveredUnselectedItemWithNoData"},p={selectionLabelStyle:"selectionLabel",timeLevelStyle:"timeLevel",periodLabel1Style:"periodLabel1",periodLabel2Style:"periodLabel2",selectedTimeBlockStyle:"selectedTimeBlock",unselectedTimeBlockStyle:"unselectedTimeBlock",selectedTimeBlockSpaceStyle:"selectedTimeBlockSpace"};function h(e,t,r,i,n,a,o){e.writeAttributeString(t,r),e.writeAttributeString(i,n),e.writeAttributeString(a,o)}function m(e,t){var r=v(e,t),o=new i.XmlWriter;return o.writeDocument(),o.writeElement("styleSheet",function(){o.writeAttributeString("xmlns",n.XFileConstants.Hd),o.writeAttributeString("xmlns:mc",n.XFileConstants.Jd),o.writeAttributeString("xmlns:x14ac",n.XFileConstants.Nd),o.writeAttributeString("mc:Ignorable",n.XFileConstants.Od)},function(){var t,i,n,l,c,f,p;if(r.gn.count>0&&o.writeElement("numFmts",function(){o.writeAttributeString("count",""+r.gn.count)},function(){for(var e in r.gn)r.gn.hasOwnProperty(e)&&"count"!==e&&x(o,{key:e,value:r.gn[e]})}),o.writeElement("fonts",function(){o.writeAttributeString("count",""+r.Rn.length)},function(){for(var e=0,t=r.Rn.length;e<t;e++)T(o,r.Rn[e])}),o.writeElement("fills",function(){o.writeAttributeString("count",""+r.Sn.length)},function(){var e,t=function(e){o.writeElement("fill",u,function(){o.writeLeafElement("patternFill",function(){o.writeAttributeString("patternType",e)})})};for(t("none"),t("gray125"),e=2;e<r.Sn.length;e++)k(o,r.Sn[e])}),o.writeElement("borders",function(){o.writeAttributeString("count",""+r.Tn.length)},function(){for(var e=0,t=r.Tn.length;e<t;e++)E(o,r.Tn[e])}),F(o,r.Un,"cellStyleXfs",!0),F(o,r.Vn,"cellXfs",!1),0===r.af.length)D(o);else{for(t=[],i=Object.keys(r.Wn),n=i.length,l=0,c=n;l<c;l++)f=i[l],p=r.Wn[f],t.push(new a.Tuple(p,r.af[p],f));0===t.length?D(o):o.writeElement("cellStyles",function(){o.writeAttributeString("count",""+t.length)},function(){var e,r,i=function(e,r){var i=t[e],n=i.item2;n?o.writeLeafElement("cellStyle",function(){o.writeAttributeString("name",s.Util.oa(i.item3)),o.writeAttributeString("xfId",""+i.item1),n.isBuiltInStyle()&&(o.writeAttributeString("builtinId",""+n.builtInStyle),n.isCustomBuiltin&&o.writeAttributeString("customBuiltin","1"),1!==n.builtInStyle&&2!==n.builtInStyle||o.writeAttributeString("iLevel",""+n.outLineLevel))}):o.writeLeafElement("cellStyle",function(){o.writeAttributeString("name",i.item3),o.writeAttributeString("xfId",""+i.item1)})};for(e=0,r=t.length;e<r;e++)i(e,r)})}L(o,e),e.mh.length>0?o.writeElement("tableStyles",function(){o.writeAttributeString("count",e.mh.length),o.writeAttributeString("defaultTableStyle","TableStyleMedium2"),o.writeAttributeString("defaultPivotStyle","PivotStyleMedium9")},function(){var t=e.mh;t&&t.forEach(function(e){o.writeElement("tableStyle",function(){o.writeAttributeString("name",e.name),e.isPivot?o.writeAttributeString("table","0"):(o.writeAttributeString("pivot","0"),s.isNullOrUndefined(e.tableId)||o.writeAttributeString("table",e.tableId)),o.writeAttributeString("count",e.styleElements.length)},function(){e.styleElements&&e.styleElements.length>0&&e.styleElements.forEach(function(e){o.writeLeafElement("tableStyleElement",function(){o.writeAttributeString("type",d[e.type]),o.writeAttributeString("dxfId",e.dxfId),s.isNullOrUndefined(e.size)||o.writeAttributeString("size",e.size)})})})})}):o.writeLeafElement("tableStyles",function(){h(o,"count","0","defaultTableStyle","TableStyleMedium2","defaultPivotStyle","PivotStyleLight16")}),(e.oh.length>0||e.qh.length>0)&&o.writeElement("extLst",function(){e.oh.length>0&&(g(o,e),w(o,e.oh)),e.qh.length>0&&(b(o,e),C(o,e.qh))})}),{xml:o.getXmlString(),styleOffset:r.Xn}}t.writeStyle=m;function g(e,t){e.writeElement("ext",function(){e.writeAttributeString("uri","{46F421CA-312F-682f-3DD2-61675219B42D}"),e.writeAttributeString("xmlns:x14",n.XFileConstants.ce)},function(){_(e,t)})}function b(e,t){e.writeElement("ext",function(){e.writeAttributeString("uri","{A0A4C193-F2C1-4fcb-8827-314CF55A85BB}"),e.writeAttributeString("xmlns:x15",n.XFileConstants.de)},function(){N(e,t)})}function w(e,t){var r,i="SlicerStyle",a="Light",o="Dark",l=["SlicerStyleOther1","SlicerStyleOther2"];for(r=1;r<7;r++)l.push(i+a+r),l.push(i+o+r);e.writeElement("ext",function(){e.writeAttributeString("uri","{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}"),e.writeAttributeString("xmlns:x14",n.XFileConstants.ce)},function(){e.writeElement("x14:slicerStyles",function(){e.writeAttributeString("defaultSlicerStyle","SlicerStyleLight1")},function(){t&&t.length&&t.forEach(function(t){l.indexOf(t.name)===-1&&e.writeElement("x14:slicerStyle",function(){e.writeAttributeString("name",t.name)},function(){t.styleElements&&t.styleElements.length&&e.writeElement("x14:slicerStyleElements",function(){t.styleElements.forEach(function(t){e.writeLeafElement("x14:slicerStyleElement",function(){e.writeAttributeString("type",f[t.type]),e.writeAttributeString("dxfId",t.dxfId)})})})})})})})}function C(e,t){var r,i="TimeSlicerStyle",a="Light",o="Dark",l=[];for(r=1;r<7;r++)l.push(i+a+r),l.push(i+o+r);e.writeElement("ext",function(){e.writeAttributeString("uri","{9260A510-F301-46a8-8635-F512D64BE5F5}"),e.writeAttributeString("xmlns:x15",n.XFileConstants.de)},function(){e.writeElement("x15:timelineStyles",function(){e.writeAttributeString("defaultTimelineStyle","TimeSlicerStyleLight1")},function(){t&&t.length&&t.forEach(function(t){l.indexOf(t.name)===-1&&e.writeElement("x15:timelineStyle",function(){e.writeAttributeString("name",t.name)},function(){t.styleElements&&t.styleElements.length&&e.writeElement("x15:timelineStyleElements",function(){t.styleElements.forEach(function(t){e.writeLeafElement("x15:timelineStyleElement",function(){e.writeAttributeString("type",p[t.type]),e.writeAttributeString("dxfId",t.dxfId)})})})})})})})}function S(e){var t=e&&e.fontName;return t&&('"'===t.charAt(0)&&(t=t.substr(1)),'"'===t.charAt(t.length-1)&&(t=t.substring(0,t.length-1)),e.fontName=t),e}function y(e,t){var r,i=e.length;if(0===i)return-1;for(r=0;r<i;r++)if(e[r].equals(t,!0))return r;return-1}function v(e,t){var r,i,n,c,d,f,p,h,m,g,b,w,C,v,x,T,A,k,E,I,F,P,D,R,L,_={Xn:0,Rn:[],Sn:[],Tn:[],gn:{count:0},Yn:{},Un:u,af:u,Wn:e.Sj()},N=e.gj(),B=e.hj(),M=e.ij();if(M&&0!==M.length||(B?(r=new o.ExcelStyle,r.builtInStyle=0,r.name="Normal",r.format(B),M=[],M.push(r)):(M=[],M.push(o.BuiltInExcelStyles.getNormalStyle()))),i="Normal",M)for(n=0,c=M.length;n<c;n++)d=M[n],d.isBuiltInStyle()&&0===d.builtInStyle&&(i=d.name);for(_.af=M,f=s.Util.ka(M,function(e){return e.name===i},null),p=s.Util.ka(N,function(e){return!e.isStyleFormat},null),h=s.Util.ka(N,function(e){return e.isStyleFormat},null),null!==p&&p.equals(B,!0)||(N.splice(0,0,B),_.Xn+=1),null!==h&&h.equals(f.format())||(N.splice(0,0,f.format()),_.Xn+=1),m=0,g=0,b=0,w=0,C=f.format(),v=S(C.fontForColumnWidth?C.fontForColumnWidth:C.font),_.Rn.push(v),x=new l.ExcelFill,x.patternType=0,x.bgColor=o.ExcelColor.EmptyColor,x.fgColor=o.ExcelColor.EmptyColor,_.Sn.push(x),x=new l.ExcelFill,x.patternType=17,x.bgColor=o.ExcelColor.EmptyColor,x.fgColor=o.ExcelColor.EmptyColor,_.Sn.push(x),_.Tn.push(new o.ExcelBorder),_.Vn=[],_.Un=[],T=0,n=0,c=N.length;n<c;n++)A=N[n],A.font&&(m=s.Util.la(_.Rn,A.font),m===-1&&(_.Rn.push(S(A.font)),m=_.Rn.length-1)),A.numberFormat?(g=A.numberFormat.numberFormatId,void 0===_.gn[g]&&_.gn.count++,_.gn[g]=s.Util.ua(A.numberFormat.numberFormatCode,"\n","_x000a_"),_.Yn[A.numberFormat.numberFormatCode]=g):A.numberFormatIndex>=0&&(g=A.numberFormatIndex),A.border&&(w=s.Util.la(_.Tn,A.border),w===-1&&(_.Tn.push(A.border),w=_.Tn.length-1)),s.isNullOrUndefined(A.fill)||0===A.fill.patternType?b=0:(k=A.fill,b=s.Util.la(_.Sn,k),b===-1&&(_.Sn.push(k),b=_.Sn.length-1)),A.isStyleFormat?(t[T]=""+_.Un.length,T++,_.Un.push(new a.Tuple(g,m,b,w,0,A,new a.Tuple(A.isHidden,A.isLocked)))):(E=new a.Tuple(g,m,b,w,0,A,new a.Tuple(A.isHidden,A.isLocked)),I=y(_.Vn,E),I===-1?(t[T]=""+_.Vn.length,_.Vn.push(E)):t[T]=""+I,T++);if(e.Ih&&e.Ih.length>0)for(F=e.Ih,P=F.length,n=0;n<P;n++)D=F[n],R=void 0,L=void 0,D.numberFormat?(R=D.numberFormat.numberFormatId,L=D.numberFormat.numberFormatCode):(R=D.numberFormatIndex,L=o.ExtendedNumberFormatHelper.getFormatCode(D)),void 0===_.gn[R]&&_.gn.count++,_.gn[R]=L,_.Yn[L]=g;return e.Yn=_.Yn,_}function x(e,t){t.key<0||e.writeLeafElement("numFmt",function(){e.writeAttributeString("numFmtId",""+t.key),e.writeAttributeString("formatCode",s.Util.oa(""+t.value))})}function T(e,t,r){t&&e.writeElement("font",u,function(){if(t.isBold&&e.writeLeafElement("b"),t.isItalic&&e.writeLeafElement("i"),t.isStrikeOut&&e.writeLeafElement("strike"),0!==t.underLineStyle&&(1===t.underLineStyle?e.writeLeafElement("u"):e.writeLeafElement("u",function(){e.writeAttributeString("val",l.UnderLineStyle[t.underLineStyle])})),!r&&(0!==t.fontSize||t.fontSize!==-1)){var i=t.fontSize;i>0&&e.writeLeafElement("sz",function(){e.writeAttributeString("val",""+i)})}void 0!==t.fontColor&&t.fontColor!==o.ExcelColor.EmptyColor&&c.writeColor(e,"color",t.fontColor),r||(0!==t.vertAlign&&e.writeLeafElement("vertAlign",function(){e.writeAttributeString("val",l.VertAlign[t.vertAlign])}),s.StringEx.O(t.fontName)||e.writeLeafElement("name",function(){e.writeAttributeString("val",t.fontName)}),s.isNullOrUndefined(t.fontFamily)||0===t.fontFamily||e.writeLeafElement("family",function(){e.writeAttributeString("val",""+t.fontFamily)}),t.charSetIndex>0&&e.writeLeafElement("charset",function(){e.writeAttributeString("val",""+t.charSetIndex)}),t.isShadowStyle&&e.writeLeafElement("shadow",function(){e.writeAttributeString("val","1")}),t.isOutlineStyle&&e.writeLeafElement("outline",function(){e.writeAttributeString("val","1")}),0!==t.fontScheme&&e.writeLeafElement("scheme",function(){e.writeAttributeString("val",o.FontSchemeCategory[t.fontScheme])}))})}function A(e,t){t&&e.writeElement("rPr",u,function(){if(t.isBold&&e.writeLeafElement("b"),t.charSetIndex>0&&e.writeLeafElement("charset",function(){e.writeAttributeString("val",""+t.charSetIndex)}),t.foreColor&&t.foreColor!==o.ExcelColor.EmptyColor&&c.writeColor(e,"color",t.foreColor),t.isCondense&&e.writeLeafElement("condense"),t.isExtend&&e.writeLeafElement("extend"),s.isNullOrUndefined(t.fontFamilySet)||0===t.fontFamilySet||e.writeLeafElement("family",function(){e.writeAttributeString("val",""+t.fontFamilySet)}),t.isItalic&&e.writeLeafElement("i"),t.isOutlineStyle&&e.writeLeafElement("outline",function(){e.writeAttributeString("val","1")}),s.StringEx.O(t.fontFamily)||e.writeLeafElement("rFont",function(){e.writeAttributeString("val",t.fontFamily)}),t.fontScheme&&0!==t.fontScheme&&e.writeLeafElement("scheme",function(){e.writeAttributeString("val",o.FontSchemeCategory[t.fontScheme])}),t.isShadowStyle&&e.writeLeafElement("shadow",function(){e.writeAttributeString("val","1")}),t.isStrikeOut&&e.writeLeafElement("strike"),t.fontSize&&0!==t.fontSize||t.fontSize!==-1){var r=t.fontSize;r>0&&e.writeLeafElement("sz",function(){e.writeAttributeString("val",""+r)})}t.underLineStyle&&0!==t.underLineStyle&&(1===t.underLineStyle?e.writeLeafElement("u"):e.writeLeafElement("u",function(){e.writeAttributeString("val",l.UnderLineStyle[t.underLineStyle])})),t.vertAlign&&0!==t.vertAlign&&e.writeLeafElement("vertAlign",function(){e.writeAttributeString("val",l.VertAlign[t.vertAlign])})})}t.writerRichTextStyle=A;function k(e,t,r){e.writeElement("fill",u,function(){t.stops?e.writeElement("gradientFill",function(){var r,i,n,a=["degree","left","right","top","bottom"];for(r=0,i=a;r<i.length;r++)n=i[r],s.isNullOrUndefined(t[n])||e.writeAttributeString(n,t[n]);"path"===t.type&&e.writeAttributeString("type","path")},function(){var r,i=function(r){e.writeElement("stop",function(){e.writeAttributeString("position",t.stops[r].position)},function(){c.writeColor(e,"color",t.stops[r].color)})};for(r=0;r<t.stops.length;r++)i(r)}):e.writeElement("patternFill",function(){e.writeAttributeString("patternType",l.FillPatternType[t.patternType])},function(){t.fgColor&&c.writeColor(e,"fgColor",t.fgColor),t.bgColor&&c.writeColor(e,"bgColor",t.bgColor)})})}function E(e,t,r){e.writeElement("border",function(){t.diagonalDown&&t.diagonalDown.color&&t.diagonalDown.lineStyle&&e.writeAttributeString("diagonalDown",1),t.diagonalUp&&t.diagonalUp.color&&t.diagonalUp.lineStyle&&e.writeAttributeString("diagonalUp",1)},function(){(!r||r&&t.left)&&I(e,"left",t.left),(!r||r&&t.right)&&I(e,"right",t.right),(!r||r&&t.top)&&I(e,"top",t.top),(!r||r&&t.bottom)&&I(e,"bottom",t.bottom),t.vertical&&I(e,"vertical",t.vertical),t.horizontal&&I(e,"horizontal",t.horizontal);var i=!1;t.diagonalUp&&t.diagonalUp.color&&t.diagonalUp.lineStyle&&(I(e,"diagonal",t.diagonalUp),i=!0),t.diagonalDown&&t.diagonalDown.color&&t.diagonalDown.lineStyle&&!i&&I(e,"diagonal",t.diagonalDown)})}function I(e,t,r){r&&(0!==r.lineStyle||r.color?e.writeElement(t,function(){0!==r.lineStyle&&e.writeAttributeString("style",l.ExcelBorderStyle[r.lineStyle])},function(){r.color&&c.writeColor(e,"color",r.color)}):e.writeLeafElement(t))}function F(e,t,r,i){0===t.length?e.writeElement(r,function(){e.writeAttributeString("count","1")},function(){e.writeLeafElement("xf",function(){e.writeAttributeString("numFmtId","0"),e.writeAttributeString("fontId","0"),e.writeAttributeString("fillId","0"),e.writeAttributeString("borderId","0"),i||e.writeAttributeString("xfId","0")})}):e.writeElement(r,function(){e.writeAttributeString("count",""+t.length)},function(){var r,n,a=function(r,n){var a=t[r],c=a.item6,u=a.item7,d=0!==c.horizontalAlign||2!==c.verticalAlign||0!==c.rotation||0!==c.readingOrder||c.isWordWrap||c.isShrinkToFit||c.isJustfyLastLine||c.indent>0,f=u&&(u.item1||!u.item2),p="writeElement";d||f||(p="writeLeafElement"),e[p]("xf",function(){if(e.writeAttributeString("numFmtId",""+a.item1),e.writeAttributeString("fontId",""+a.item2),e.writeAttributeString("fillId",""+a.item3),e.writeAttributeString("borderId",""+a.item4),c){if(i)P(e,c,"applyFont",!0),P(e,c,"applyFill",!0),P(e,c,"applyBorder",!0),P(e,c,"applyNumberFormat",!0),P(e,c,"applyAlignment",!0),P(e,c,"applyProtection",!0);else{if(c.isStyleFormat||s.isNullOrUndefined(c.parentFormatID))e.writeAttributeString("xfId","0");else{var t=c.parentFormatID;s.isNullOrUndefined(t)?e.writeAttributeString("xfId","0"):e.writeAttributeString("xfId",""+t)}s.isNullOrUndefined(c.applyFont)&&0===a.item2||P(e,c,"applyFont",!1),s.isNullOrUndefined(c.applyFill)||P(e,c,"applyFill",!1),s.isNullOrUndefined(c.applyBorder)||P(e,c,"applyBorder",!1),s.isNullOrUndefined(c.applyNumberFormat)||P(e,c,"applyNumberFormat",!1),s.isNullOrUndefined(c.applyAlignment)||P(e,c,"applyAlignment",!1),s.isNullOrUndefined(c.applyProtection)||P(e,c,"applyProtection",!1)}s.isNullOrUndefined(c.quotePrefix)||e.writeAttributeString("quotePrefix",c.quotePrefix===!0?"1":"0")}},function(){d&&e.writeLeafElement("alignment",function(){0!==c.horizontalAlign?e.writeAttributeString("horizontal",l.ExcelHorizontalAlignment[c.horizontalAlign]):0===c.horizontalAlign&&c.indent>0&&e.writeAttributeString("horizontal",l.ExcelHorizontalAlignment[1]),2!==c.verticalAlign&&e.writeAttributeString("vertical",o.ExcelVerticalAlignment[c.verticalAlign]),c.isVerticalText===!0?e.writeAttributeString("textRotation",255):0!==c.rotation&&e.writeAttributeString("textRotation",""+c.rotation),0!==c.readingOrder&&e.writeAttributeString("readingOrder",l.TextDirection[c.readingOrder]),c.isWordWrap&&e.writeAttributeString("wrapText","1"),c.isShrinkToFit&&e.writeAttributeString("shrinkToFit","1"),c.isJustfyLastLine&&e.writeAttributeString("justifyLastLine","1"),c.indent>0&&e.writeAttributeString("indent",""+c.indent)}),f&&e.writeLeafElement("protection",function(){u.item2||e.writeAttributeString("locked","0"),u.item1&&e.writeAttributeString("hidden","1")})})};for(r=0,n=t.length;r<n;r++)a(r,n)})}function P(e,t,r,i){var n=t[r],a;i&&n===!1?a="0":i||n!==!0||(a="1"),s.isNullOrUndefined(a)||e.writeAttributeString(r,a)}function D(e){e.writeElement("cellStyles",function(){e.writeAttributeString("count","1")},function(){e.writeLeafElement("cellStyle",function(){h(e,"name","Normal","builtinId","0","xfId","0")})})}function R(e,t,r){for(var i=0;i<r.length;i++)B(e,t,r[i],"dxf")}function L(e,t,r){var i=r?r:t.hf;0===i.length?e.writeLeafElement("dxfs",function(){e.writeAttributeString("count","0")}):e.writeElement("dxfs",function(){e.writeAttributeString("count",i.length)},function(){R(e,t,i)})}function _(e,t){var r=t.Ch;0===r.length?e.writeLeafElement("x14:dxfs",function(){e.writeAttributeString("count","0")}):e.writeElement("x14:dxfs",function(){e.writeAttributeString("count",r.length)},function(){R(e,t,r)})}function N(e,t){var r=t.Dh;0===r.length?e.writeLeafElement("x15:dxfs",function(){e.writeAttributeString("count","0")}):e.writeElement("x15:dxfs",function(){e.writeAttributeString("count",r.length)},function(){for(var i=0;i<r.length;i++)B(e,t,r[i],"dxf")})}function B(e,t,r,i){e.writeElement(i,function(){var i,n,a=r.isColorFilter?r:o.ConverterHelper.toDifferentialFormatting(r,t);a.font&&T(e,a.font,a.isPartFontStyle),(a.numberFormat||a.numberFormatIndex>=0)&&(i=void 0,n=void 0,a.numberFormat?(i=a.numberFormat.numberFormatId,n=a.numberFormat.numberFormatCode):(i=a.numberFormatIndex,n=a.numberFormatCode),x(e,{key:i,value:n})),a.fill&&(1===a.fill.patternType&&(a.fill.bgColor=a.fill.fgColor),k(e,a.fill,!0)),a.border&&E(e,a.border,a.isSlicerHeader)})}t.writeDxf=B},"./src/xlsx-io/writer/table-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/common/common.ts"),o=r("./src/common/range-parser.ts"),l=r("./src/xlsx-io/writer/autofilter-writer.ts");function c(e){return e.indexOf("LET(")>-1}function u(e,t){var r=e;return"number"==typeof t[e]?(t[e]++,r+="_"+t[e]):t[e]=0,r}function d(e,t,r,s){if(a.isNullOrUndefined(e))return null;var d=new i.XmlWriter;return d.writeDocument(),d.writeElement("table",function(){var t,r;d.writeAttributeString("xmlns",n.XFileConstants.Md),d.writeAttributeString("id",e.id),t=e.name.split(" ").join("_"),d.writeAttributeString("name",t),r=u(t.split("-").join("_"),s),d.writeAttributeString("displayName",r),d.writeAttributeString("ref",o.getRangeString([{row:e.row,col:e.col,rowCount:e.rowCount,colCount:e.colCount}])),e.showHeader===!1&&d.writeAttributeString("headerRowCount","0"),e.showFooter&&d.writeAttributeString("totalsRowCount","1")},function(){var i,n;e.rowFilter&&!a.isNullOrUndefined(e.rowFilter)&&(i=void 0,n=t.Bj(r,e.rowFilter,e.tableSortInfo),n&&n.sortInfo&&(i=n.sortInfo,n.sortInfo=null),e.showHeader!==!1&&(f(e.rowFilter)||h(n),l.writeAutoFilter(d,n)),i&&l.writeSortInfo(d,i)),e.columns&&e.columns.length>0&&d.writeElement("tableColumns",function(){d.writeAttributeString("count",e.columns.length)},function(){e.columns.forEach(function(t,r){if(!(r>=e.colCount)){var i=p(t.footerFormula);"custom"!==i?d.writeElement("tableColumn",function(){d.writeAttributeString("id",""+t.id);var e=t.name;e=a.Util.ua(e,"\r",""),d.writeAttributeString("name",a.Util.oa(a.Util.ua(e,"\n","_x000a_"))),a.isNullOrUndefined(t.footerValue)||d.writeAttributeString("totalsRowLabel",a.Util.oa(a.Util.xa(""+t.footerValue,!0))),a.isNullOrUndefined(t.footerFormula)||d.writeAttributeString("totalsRowFunction",i)},function(){var e=t.dataAreaFormula;a.isNullOrUndefined(e)||c(e)||d.writeElement("calculatedColumnFormula",function(){d.writeValue(a.Util.oa(a.addXLFNPrefix(e)))})}):d.writeElement("tableColumn",function(){d.writeAttributeString("id",""+t.id);var e=t.name;e=a.Util.ua(e,"\r",""),d.writeAttributeString("name",a.Util.oa(a.Util.ua(e,"\n","_x000a_"))),d.writeAttributeString("totalsRowFunction","custom")},function(){var e=t.dataAreaFormula;a.isNullOrUndefined(e)||c(e)||d.writeElement("calculatedColumnFormula",function(){d.writeValue(a.Util.oa(a.addXLFNPrefix(e)))}),d.writeElement("totalsRowFormula",function(){d.writeValue(a.Util.oa(t.footerFormula))})})}})}),d.writeLeafElement("tableStyleInfo",function(){if(e.style){var t="";t=a.isNullOrUndefined(e.style.buildInName)?e.style.name:"TableStyle"+e.style.buildInName,d.writeAttributeString("name",t)}e.highlightFirstColumn?d.writeAttributeString("showFirstColumn","1"):d.writeAttributeString("showFirstColumn","0"),e.highlightLastColumn?d.writeAttributeString("showLastColumn","1"):d.writeAttributeString("showLastColumn","0"),a.isNullOrUndefined(e.bandRows)?d.writeAttributeString("showRowStripes","1"):d.writeAttributeString("showRowStripes","0"),e.bandColumns?d.writeAttributeString("showColumnStripes","1"):d.writeAttributeString("showColumnStripes","0")}),e.reservedElement&&d.writeElement("extLst",function(){},function(){d.writeElement("ext",function(){a.isNullOrUndefined(e.reservedElement.ext._attr&&e.reservedElement.ext._attr.uri)||d.writeAttributeString("uri",e.reservedElement.ext._attr.uri),a.isNullOrUndefined(e.reservedElement.ext._attr&&e.reservedElement.ext._attr["xmlns:x14"])||d.writeAttributeString("xmlns:x14",e.reservedElement.ext._attr["xmlns:x14"])},function(){var t,r="vp:columns",i=e.reservedElement.ext[r];a.isNullOrUndefined(i)||d.writeElement(r,function(){a.isNullOrUndefined(i._attr&&i._attr["xmlns:vp"])||d.writeAttributeString("xmlns:vp",i._attr["xmlns:vp"])},function(){a.isNullOrUndefined(i[r])||d.writeValue(i[r])}),t=e.reservedElement.ext["x14:table"],a.isNullOrUndefined(t&&t._attr)||d.writeLeafElement("x14:table",function(){a.isNullOrUndefined(t._attr.altText)||d.writeAttributeString("altText",t._attr.altText),a.isNullOrUndefined(t._attr.altTextSummary)||d.writeAttributeString("altTextSummary",t._attr.altTextSummary)})})})}),d.getXmlString()}t.writeTable=d;function f(e){var t,r;if(!e.showFilterButton)return!1;t=e.filterButtonVisibleInfo;for(r in t)if(t.hasOwnProperty(r)&&!t[r])return!1;return!0}s={101:"average",102:"countNums",103:"count",104:"max",105:"min",107:"stdDev",109:"sum",110:"let"};function p(e){var t,r;if(!a.isNullOrUndefined(e))return t=/\[\S[\S\s]*\S\]/,e=e.trim(),"SUBTOTAL("!==e.substr(0,9)||!t.test(e)||e.indexOf("[[")?"custom":(r=e.substr(9,3),s[r]||"custom")}function h(e){if(0===e.filterColumns.length)for(var t=0;t<e.range.colCount;t++)e.filterColumns.push({autoFilterColumnId:t});e.filterColumns.forEach(function(e){e.hiddenButton="1"})}},"./src/xlsx-io/writer/theme-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/common/builtIn-resource.ts"),o=r("./src/xlsx-io/common/color-writer.ts");function s(e){var t,r=e.Hi();return r||(r="Office"),t=new i.XmlWriter,t.writeDocument(),t.writeElement("a:theme",function(){t.writeAttributeString("xmlns:a",n.XFileConstants.Xd),r&&r.name?t.writeAttributeString("name",r.name):"Office"===r?t.writeAttributeString("name","Office Theme"):t.writeAttributeString("name",r)},function(){t.writeElement("a:themeElements",void 0,function(){var e,i;r&&r.colorScheme?(e=r.colorScheme,t.writeElement("a:clrScheme",function(){t.writeAttributeString("name",e.name)},function(){o.writeColorScheme(t,"a:dk1",e.schemeColors[1]),o.writeColorScheme(t,"a:lt1",e.schemeColors[0]),o.writeColorScheme(t,"a:dk2",e.schemeColors[3]),o.writeColorScheme(t,"a:lt2",e.schemeColors[2]),o.writeColorScheme(t,"a:accent1",e.schemeColors[4]),o.writeColorScheme(t,"a:accent2",e.schemeColors[5]),o.writeColorScheme(t,"a:accent3",e.schemeColors[6]),o.writeColorScheme(t,"a:accent4",e.schemeColors[7]),o.writeColorScheme(t,"a:accent5",e.schemeColors[8]),o.writeColorScheme(t,"a:accent6",e.schemeColors[9]),o.writeColorScheme(t,"a:hlink",e.schemeColors[10]),o.writeColorScheme(t,"a:folHlink",e.schemeColors[11])})):a.ThemeClrSchemes[r]?t.xml.addString(a.ThemeClrSchemes[r]):t.xml.addString(a.ThemeClrSchemes.Office),r&&r.fontScheme?(i=r.fontScheme,t.writeElement("a:fontScheme",function(){t.writeAttributeString("name",i.name)},function(){t.writeElement("a:majorFont",void 0,function(){c(t,i.majorFont,!0)}),t.writeElement("a:minorFont",void 0,function(){c(t,i.minorFont,!1)})})):a.ThemeFontSchemes[r]?t.xml.addString(a.ThemeFontSchemes[r]):t.xml.addString(a.ThemeFontSchemes.Office),a.ThemeFmtSchemes[r]?t.xml.addString(a.ThemeFmtSchemes[r]):t.xml.addString(a.ThemeFmtSchemes.Office)}),t.writeLeafElement("a:objectDefaults"),t.writeLeafElement("a:extraClrSchemeLst")}),t.getXmlString()}t.writeTheme=s;function c(e,t,r){var i,a,o;if(t)if(t.runFormattings&&(e.writeLeafElement("a:"+n.FontLanguage[0],function(){e.writeAttributeString("typeface",f(t.runFormattings,0))}),e.writeLeafElement("a:"+n.FontLanguage[2],function(){e.writeAttributeString("typeface",f(t.runFormattings,2))}),e.writeLeafElement("a:"+n.FontLanguage[1],function(){e.writeAttributeString("typeface",f(t.runFormattings,1))})),t.themesFonts&&t.themesFonts.length>0)for(i=function(r,i){var n=t.themesFonts[r];e.writeLeafElement("a:font",function(){e.writeAttributeString("script",n.script),e.writeAttributeString("script",n.typeface)})},a=0,o=t.themesFonts.length;a<o;a++)i(a,o);else r?u(e):d(e)}t.writeThemeFonts=c,l="Times New Roman";function u(e){e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Jpan"),e.writeAttributeString("typeface","\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hang"),e.writeAttributeString("typeface","\ub9d1\uc740 \uace0\ub515")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hans"),e.writeAttributeString("typeface","\u5b8b\u4f53")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hant"),e.writeAttributeString("typeface","\u65b0\u7d30\u660e\u9ad4")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Arab"),e.writeAttributeString("typeface",l)}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hebr"),e.writeAttributeString("typeface",l)}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Thai"),e.writeAttributeString("typeface","Tahoma")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Ethi"),e.writeAttributeString("typeface","Nyala")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Beng"),e.writeAttributeString("typeface","Vrinda")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Gujr"),e.writeAttributeString("typeface","Shruti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Khmr"),e.writeAttributeString("typeface","MoolBoran")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Knda"),e.writeAttributeString("typeface","Tunga")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Guru"),e.writeAttributeString("typeface","Raavi")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Cans"),e.writeAttributeString("typeface","Euphemia")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Cher"),e.writeAttributeString("typeface","Plantagenet Cherokee")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Yiii"),e.writeAttributeString("typeface","Microsoft Yi Baiti");
47
+ }),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Tibt"),e.writeAttributeString("typeface","Microsoft Himalaya")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Thaa"),e.writeAttributeString("typeface","MV Boli")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Deva"),e.writeAttributeString("typeface","Mangal")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Telu"),e.writeAttributeString("typeface","Gautami")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Taml"),e.writeAttributeString("typeface","Latha")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Syrc"),e.writeAttributeString("typeface","Estrangelo Edessa")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Orya"),e.writeAttributeString("typeface","Kalinga")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Mlym"),e.writeAttributeString("typeface","Kartika")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Laoo"),e.writeAttributeString("typeface","DokChampa")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Sinh"),e.writeAttributeString("typeface","Iskoola Pota")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Mong"),e.writeAttributeString("typeface","Mongolian Baiti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Viet"),e.writeAttributeString("typeface",l)}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Uigh"),e.writeAttributeString("typeface","Microsoft Uighur")})}function d(e){e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Jpan"),e.writeAttributeString("typeface","\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hang"),e.writeAttributeString("typeface","\ub9d1\uc740 \uace0\ub515")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hans"),e.writeAttributeString("typeface","\u5b8b\u4f53")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hant"),e.writeAttributeString("typeface","\u65b0\u7d30\u660e\u9ad4")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Arab"),e.writeAttributeString("typeface","Arial")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hebr"),e.writeAttributeString("typeface","Arial")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Thai"),e.writeAttributeString("typeface","Tahoma")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Ethi"),e.writeAttributeString("typeface","Nyala")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Beng"),e.writeAttributeString("typeface","Vrinda")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Gujr"),e.writeAttributeString("typeface","Shruti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Khmr"),e.writeAttributeString("typeface","DaunPenh")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Knda"),e.writeAttributeString("typeface","Tunga")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Guru"),e.writeAttributeString("typeface","Raavi")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Cans"),e.writeAttributeString("typeface","Euphemia")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Cher"),e.writeAttributeString("typeface","Plantagenet Cherokee")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Yiii"),e.writeAttributeString("typeface","Microsoft Yi Baiti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Tibt"),e.writeAttributeString("typeface","Microsoft Himalaya")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Thaa"),e.writeAttributeString("typeface","MV Boli")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Deva"),e.writeAttributeString("typeface","Mangal")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Telu"),e.writeAttributeString("typeface","Gautami")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Taml"),e.writeAttributeString("typeface","Latha")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Syrc"),e.writeAttributeString("typeface","Estrangelo Edessa")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Orya"),e.writeAttributeString("typeface","Kalinga")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Mlym"),e.writeAttributeString("typeface","Kartika")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Laoo"),e.writeAttributeString("typeface","DokChampa")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Sinh"),e.writeAttributeString("typeface","Iskoola Pota")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Mong"),e.writeAttributeString("typeface","Mongolian Baiti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Viet"),e.writeAttributeString("typeface","Arial")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Uigh"),e.writeAttributeString("typeface","Microsoft Uighur")})}function f(e,t){var r,i,n;if(!e)return"";for(r=0,i=e.length;r<i;r++)if(n=e[r],n.fontLanguage===t)return n.typeface;return""}},"./src/xlsx-io/writer/timeline-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/common/common.ts"),o=r("./src/xlsx-io/writer/pivot-writer.ts"),l=r("./src/datamodel/datamodel-writer.ts"),s=r("./src/xlsx-io/writer/autofilter-writer.ts"),c=a.Util.Ba,u=a.Util.oa,d=a.Util.ua,f=[0,6,10,8,9,17,15,16,14,12,13,18,19,20,21,22,23,40];function p(e){if(a.isNullOrUndefined(e))return null;var t=new i.XmlWriter;return t.writeDocument(),t.writeElement("timelines",function(){t.writeAttributeString("xmlns",n.XFileConstants.de),t.writeAttributeString("xmlns:mc",n.XFileConstants.ae),t.writeAttributeString("mc:Ignorable","x"),t.writeAttributeString("xmlns:x",n.XFileConstants.be)},function(){e.forEach(function(e){t.writeLeafElement("timeline",function(){t.writeAttributeString("name",u(d(e.name,"\n","_x000a_"))),t.writeAttributeString("cache",u(e.nameInFormula)),t.writeAttributeString("caption",u(e.captionName)),t.writeAttributeString("level",parseInt(e.level,10)-1),t.writeAttributeString("style",u(e.style.name)),a.isNullOrUndefined(e.selectionLevel)||t.writeAttributeString("selectionLevel",parseInt(e.selectionLevel,10)-1),a.isNullOrUndefined(e.scrollPosition)||t.writeAttributeString("scrollPosition",c(new Date(e.scrollPosition))),a.isNullOrUndefined(e.showHeader)||e.showHeader||t.writeAttributeString("showHeader","0"),a.isNullOrUndefined(e.showSelectionLabel)||e.showSelectionLabel||t.writeAttributeString("showSelectionLabel","0"),a.isNullOrUndefined(e.showTimeLevel)||e.showTimeLevel||t.writeAttributeString("showTimeLevel","0"),a.isNullOrUndefined(e.showHorizontalScrollbar)||e.showHorizontalScrollbar||t.writeAttributeString("showHorizontalScrollbar","0"),e.disableResizingAndMoving&&t.writeAttributeString("lockedPosition","1")})})}),t.getXmlString()}t.writeTimelines=p;function h(e){if(a.isNullOrUndefined(e))return null;var t=new i.XmlWriter;return t.writeDocument(),t.writeElement("timelineCacheDefinition",function(){t.writeAttributeString("xmlns",n.XFileConstants.de),t.writeAttributeString("xmlns:x15",n.XFileConstants.de),t.writeAttributeString("xmlns:mc",n.XFileConstants.ae),t.writeAttributeString("name",u(e.name)),t.writeAttributeString("sourceName",u(e.sourceName))},function(){if(t.writeElement("pivotTables",function(){},function(){e.pivotTables.forEach(function(e){t.writeLeafElement("pivotTable",function(){t.writeAttributeString("tabId",e.tabId),t.writeAttributeString("name",u(e.name))})})}),t.writeElement("state",function(){t.writeAttributeString("minimalRefreshVersion","6"),t.writeAttributeString("lastRefreshVersion","6"),t.writeAttributeString("pivotCacheId",e.pivotCacheId),a.isNullOrUndefined(e.filterType)||f.indexOf(e.filterType)!==-1||t.writeAttributeString("singleRangeFilterState","0"),a.isNullOrUndefined(e.filterType)||!o.captionCompareTypeExcel[1][e.filterType]?t.writeAttributeString("filterType","unknown"):t.writeAttributeString("filterType",o.captionCompareTypeExcel[1][e.filterType])},function(){!a.isNullOrUndefined(e.filterType)&&f.indexOf(e.filterType)!==-1&&e.selectionStartDate&&e.selectionEndDate&&t.writeLeafElement("selection",function(){t.writeAttributeString("startDate",c(new Date(e.selectionStartDate))),t.writeAttributeString("endDate",c(new Date(e.selectionEndDate)))}),t.writeLeafElement("bounds",function(){t.writeAttributeString("startDate",c(new Date(e.boundsStartDate))),t.writeAttributeString("endDate",c(new Date(e.boundsEndDate)))})}),!a.isNullOrUndefined(e.filterType)&&f.indexOf(e.filterType)===-1){var r=l.getPivotDateFilter(e.filterCondition,o.captionCompareTypeExcel[1][e.filterType]);if(!r)return;t.writeElement("timelinePivotFilter",function(){t.writeAttributeString("useWholeDay",e.filterCondition.isWholeDay?"1":"0"),t.writeAttributeString("fld","1"),t.writeAttributeString("id","1")},function(){t.writeElement("autoFilter",function(){t.writeAttributeString("ref","A1")},function(){t.writeElement("x:filterColumn",function(){t.writeAttributeString("xmlns:x",n.XFileConstants.be),t.writeAttributeString("colId","0")},function(){2===r.filterType?s.writePivotDynamicFilter(t,r):s.writeCustomFilters(t,r,s.PivotComparisonOperators)})})})}}),t.getXmlString()}t.writePivotTimelineCache=h},"./src/xlsx-io/writer/vmlDrawing-writer.ts":function(e,t,r){"use strict";var i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/xlsx-io/writer/comment-writer.ts"),a=r("./src/xlsx-io/writer/control-writer.ts");function o(e,t,r){var o=new i.XmlWriter;return o.writeElement("xml",function(){o.writeAttributeString("xmlns:v","urn:schemas-microsoft-com:vml"),o.writeAttributeString("xmlns:o","urn:schemas-microsoft-com:office:office"),o.writeAttributeString("xmlns:x","urn:schemas-microsoft-com:office:excel")},function(){o.writeElement("o:shapelayout",function(){o.writeAttributeString("v:ext","edit")},function(){o.writeLeafElement("o:idmap",function(){o.writeAttributeString("v:ext","edit"),o.writeAttributeString("data","1")})});var i=1024*(e+1)+1;t&&t.length>0&&(n.writeCommentShapes(o,t,i),i+=t.length),r&&r.length>0&&a.writeControlShapes(o,r,i)}),o.getXmlString()}t.writeVmlDrawingForLegacyDrawing=o},"./src/xlsx-io/writer/workbook-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/xml-io/xml-writer.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/common/common.ts"),o=r("./src/xlsx-io/writer/slicer-writer.ts"),l=r("./src/datamodel/datamodel-writer.ts"),s=void 0;function c(e,t,r,o,l,s,c){var d=new i.XmlWriter;return d.writeDocument(),d.writeElement("workbook",function(){d.writeAttributeString("xmlns",n.XFileConstants.Hd),d.writeAttributeString("xmlns:r",n.XFileConstants.Ud)},function(){u(d,e),d.writeElement("sheets",void 0,function(){var r,i,n=function(r,i){var n=t[r];n&&d.writeLeafElement("sheet",function(){d.writeAttributeString("name",a.Util.oa(n.name)),d.writeAttributeString("sheetId",""+n.sheetId),e.tj(n.name)?d.writeAttributeString("state","hidden"):e.uj(n.name)&&d.writeAttributeString("state","veryHidden"),d.writeAttributeString("r:id",""+n.rID)})};for(r=0,i=t.length;r<i;r++)n(r,i)});var i=e.Ne.externalReference;i&&d.writeElement("externalReferences",void 0,function(){var e,t=function(e){if(Object.prototype.hasOwnProperty.call(i,e)){var t=i[e];d.writeLeafElement("externalReference",function(){d.writeAttributeString("r:id",t.option.id)})}};for(e in i)t(e)}),f(d,e,o),C(d,r,s,c),S(d,l),v(d,e,t)}),d.getXmlString()}t.writeWorkbook=c;function u(e,t){var r=t.sj();e.writeElement("bookViews",void 0,function(){e.writeLeafElement("workbookView",function(){r.showHorizontalScrollbar===!1&&e.writeAttributeString("showHorizontalScroll","0"),r.showVerticalScrollbar===!1&&e.writeAttributeString("showVerticalScroll","0"),r.tabStripVisible===!1&&e.writeAttributeString("showSheetTabs","0"),"number"==typeof r.tabStripRatio&&.6!==r.tabStripRatio&&e.writeAttributeString("tabRatio",""+1e3*r.tabStripRatio),"number"==typeof r.startSheetIndex&&r.startSheetIndex>0&&e.writeAttributeString("firstSheet",""+r.startSheetIndex),"number"==typeof r.activeSheetIndex&&r.activeSheetIndex>0&&e.writeAttributeString("activeTab",""+r.activeSheetIndex)})})}function d(e){return e.toUpperCase()===a.PRINT_AREA_UPPERCASE?a.BUILT_IN_PRINT_AREA:e}function f(e,t,r){var i,n,o=t.vj(),l=b(t);g(o,l),i=w(t),g(o,i),n=p(t),g(o,n),g(o,r),o.length>0&&e.writeElement("definedNames",s,function(){var t,r=function(t){var r=o[t];e.writeElement("definedName",function(){e.writeAttributeString("name",a.Util.oa(d(r.name))),r.comment&&e.writeAttributeString("comment",a.Util.oa(r.comment)),r.localSheetId>-1&&e.writeAttributeString("localSheetId",r.localSheetId),r.hidden===!0&&e.writeAttributeString("hidden","1")},function(){e.writeValue(a.addXLFNPrefix(r.formula).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"))})};for(t=0;t<o.length;t++)r(t)})}function p(e){var t,r,i,n,a,o,l=[],c=e.jj();for(t=0;t<c.length;t++)r=c[t],r&&(i=e.Nj(r),i&&(n=h(i.repeatRowStart,i.repeatRowEnd,s,s,r),a=h(s,s,i.repeatColumnStart,i.repeatColumnEnd,r),o=void 0,n&&a?o=a+","+n:n?o=n:a&&(o=a),o&&l.push({name:"_xlnm.Print_Titles",localSheetId:t,formula:o})));return l}function h(e,t,r,i,n){if(r===s&&i===s&&e===s&&t===s)return s;var o="";return r!==s&&(o+="$"+a.IndexHelper.T(r)),e!==s&&(o+="$"+(e+1)),o+=":",i!==s&&(o+="$"+a.IndexHelper.T(i)),t!==s&&(o+="$"+(t+1)),n?a.IndexHelper.V(n)+"!"+o:o}function m(e,t){for(var r=0;r<e.length;r++)if(e[r].name===t.name&&e[r].localSheetId===t.localSheetId)return!0;return!1}function g(e,t){for(var r=0;r<t.length;r++)m(e,t[r])||e.push(t[r])}function b(e){var t,r,i,n,a,o,l=[],s=e.jj();for(t=0;t<s.length;t++)if(r=s[t]){if(i=e.Dj(r),n=e.Ej(r,"pivot"),a=e.Ej(r,"timeline"),i)for(o=0;o<i.length;o++)l.push({name:i[o].nameInFormula,formula:"#N/A",localSheetId:-1});if(n)for(o=0;o<n.length;o++)l.push({name:n[o].slicerCacheName,formula:"#N/A",localSheetId:-1});if(a)for(o=0;o<a.length;o++)l.push({name:a[o].slicerCacheName,formula:"#N/A",localSheetId:-1})}return l}function w(e){var t,r,i,n,a,o,s=[],c=e.jj();for(t=0;t<c.length;t++)r=c[t],r&&(i=e.Oj(r),i&&(n=e.kj(r),i.range&&(a=l.getFilterRange(n,i.range),o=h(a.row,a.row+a.rowCount,a.col,a.col+a.colCount,r),o&&s.push({name:"_xlnm._FilterDatabase",localSheetId:t,formula:o}))));return s}function C(e,t,r,i){e.writeLeafElement("calcPr",function(){var n,o,l;e.writeAttributeString("calcId","0"),t&&e.writeAttributeString("refMode","R1C1"),n=a.isNullOrUndefined(r.iterate)||r.iterate?"1":"0",o=a.isNullOrUndefined(r.count)?"1000":r.count,l=a.isNullOrUndefined(r.delta)?"0.01":r.delta,e.writeAttributeString("iterate",n),e.writeAttributeString("iterateCount",o),e.writeAttributeString("iterateDelta",l),1===i&&e.writeAttributeString("calcMode","manual")})}function S(e,t){a.isEmptyObject(t)||e.writeElement("pivotCaches",function(){for(var r in t)t.hasOwnProperty(r)&&y(e,t[r])})}function y(e,t){a.isEmptyObject(t)||e.writeLeafElement("pivotCache",function(){e.writeAttributeString("cacheId",t.cacheId),e.writeAttributeString("r:id",t.rid)})}function v(e,t,r){var i,n=0,a=t.Ne.tableSlicerCaches;a&&a.length&&n++,i=t.Ne.slicerCaches,i&&i.length&&n++,n&&o.writeSlicerCacheInWorkbook(e,a,i)}},"./src/xlsx-io/writer/worksheet-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-writer.ts"),a=r("./src/common/excel-types.ts"),o=r("./src/xlsx-io/common/color-writer.ts"),l=r("./src/common/tuple.ts"),s=r("./src/xlsx-io/writer/sparkline-writer.ts"),c=r("./src/xlsx-io/writer/conditionalformat-writer.ts"),u=r("./src/xlsx-io/writer/slicer-writer.ts"),d=r("./src/xlsx-io/writer/autofilter-writer.ts"),f=r("./src/xlsx-io/writer/datavalidation-writer.ts"),p=r("./src/datamodel/excel-helper.ts"),h=r("./src/xlsx-io/writer/print-writer.ts"),m=r("./src/xlsx-io/writer/chart-writer.ts"),g=void 0,b=i.Util.sa,w=66316;function S(e,t,r,o,l,s,u,p,m){var g=new n.XmlWriter;return g.writeDocument(),g.writeElement("worksheet",function(){g.writeAttributeString("xmlns",a.XFileConstants.Hd),g.writeAttributeString("xmlns:r",a.XFileConstants.Ud),g.writeAttributeString("xmlns:mc",a.XFileConstants.Jd),u&&u.attributes&&u.attributes.forEach(function(e){g.writeAttributeString(e.key,e.value)}),g.writeAttributeString("xmlns:x14ac",a.XFileConstants.Nd),g.writeAttributeString("xmlns:xr",a.XFileConstants.Rd),g.writeAttributeString("xmlns:xr2",a.XFileConstants.Sd),g.writeAttributeString("xmlns:xr3",a.XFileConstants.Td),g.writeAttributeString("xr:uid",i.Ha()),g.writeAttributeString("mc:Ignorable",a.XFileConstants.Pd)},function(){var i,n,a;if(v(g,t,e),x(g,t,e),T(g,t,e),A(g,t,e),k(g,t,e,r,o),E(g,t,e,l,r,o,s),P(g,t,e),d.writeAutoFilterForSheet(g,t,e),D(g,t,e),c.writeConditionalFormating(g,t,e),f.writeDataValidations(g,t,e),_(g,t,e,p),h.writePrintOptions(g,t,e),h.writePageMargins(g,t,e),h.writePageSetup(g,t,e),h.writeHeadFooter(g,t,e),h.writeRowColumnBreaks(g,t,e),u)for(i=[{name:"drawing",value:u.drawingId},{name:"legacyDrawing",value:u.legacyDrawingId}],n=function(e){var t=i[e],r=t.value;r&&g.writeLeafElement(t.name,function(){g.writeAttributeString("r:id",r)})},a=0;a<2;a++)n(a);h.writeLegacyDrawingHF(g,e),N(g,m),e.fi(t)&&e.fi(t).length>0&&L(g,e.fi(t)),y(e,t)&&R(g,t,e)}),g.getXmlString()}t.writeWorksheet=S;function y(e,t){var r,i,n,a,o=e.Dj(t),l=e.Ej(t,"pivot"),s=e.Ej(t,"timeline");return!!(o&&o.length>0||l&&l.length>0||s&&s.length>0)||(r=e.zj(t),!!(r&&r.length>0)||(i=e.xg(t),n=i&&i.rules,!(!n||!c.needWriteConditionalFormatExtension(n,t,e.jj()))||(a=e.On,!!(a&&a.length>0))))}function v(e,t,r){var i=r.lj(t),n=i.colsSumRight,a=i.rowsSumBelow,l=r.mj(t),s=r.Mj(t,!0),c=s&&s.useSmartPrint;!l&&n&&a&&c!==!0||e.writeElement("sheetPr",function(){null!==l&&o.writeColor(e,"tabColor",l),n&&a||e.writeLeafElement("outlinePr",function(){n||e.writeAttributeString("summaryRight","0"),a||e.writeAttributeString("summaryBelow","0")}),c===!0&&e.writeLeafElement("pageSetUpPr",function(){e.writeAttributeString("fitToPage","1")})})}function x(e,t,r){var i=r.nj(t),n=i.columnCount,a=i.rowCount;n>0&&a>0?e.writeLeafElement("dimension",function(){e.writeAttributeString("ref","A1:"+r.Ki(n-1)+a)}):e.writeLeafElement("dimension",function(){e.writeAttributeString("ref","A1")})}function T(e,t,r){e.writeElement("sheetViews",g,function(){e.writeElement("sheetView",function(){var n,a,o,l,s,c,u,d,f,p,h,m,g=r.oj(t),b=g.gridlineColor;null!==b&&1===b.colorType()&&64!==b.value()&&(e.writeAttributeString("defaultGridColor","0"),e.writeAttributeString("colorId",""+b.value())),n=r.pj(t),a=n.frozenTopRow||0,o=n.frozenLeftCol||0,l=g.topLeftCell,s=n.frozenColCount,c=n.frozenRowCount,l&&void 0!==l.row&&void 0!==l.col&&(a||o?(u=""+r.Ki(o)+(a+1),e.writeAttributeString("topLeftCell",""+u)):s||c?s&&!c?(u="A"+(l.row+1),e.writeAttributeString("topLeftCell",""+u)):!s&&c&&(u=""+r.Ki(l.col)+"1",e.writeAttributeString("topLeftCell",""+u)):(u=""+r.Ki(l.col)+(l.row+1),e.writeAttributeString("topLeftCell",""+u))),g.showGridLine||e.writeAttributeString("showGridLines","0"),g.showRowColHeaders||e.writeAttributeString("showRowColHeaders","0"),i.isNullOrUndefined(g.zoom)||(d=Math.round(100*g.zoom),100!==d&&e.writeAttributeString("zoomScale",""+d)),f=r.kj(t),f.showFormulas&&e.writeAttributeString("showFormulas","1"),f.showZeros===!1&&e.writeAttributeString("showZeros","0"),e.writeAttributeString("workbookViewId","0"),h=r.sj(),h&&(p=h.activeSheetIndex),m=f.index===p,(f.isSelected||m)&&e.writeAttributeString("tabSelected",1)},function(){var n,o,l,s,c,u,d,f=r.pj(t),p=f.frozenColCount,h=f.frozenRowCount,m=0,g=0,b=3,w="1",C="A",S=r.oj(t).topLeftCell;for((p>0||h>0)&&(p>0?(m=p,C=r.Ki(S.col)):m=0,h>0?(g=h,w=S.row+1+""):g=0,p>0&&0===h?b=1:0===p&&h>0?b=2:p>0&&h>0&&(b=0),e.writeLeafElement("pane",function(){var t,i=p-f.frozenLeftCol;i>0&&e.writeAttributeString("xSplit",""+i),t=h-f.frozenTopRow,t>0&&e.writeAttributeString("ySplit",""+t),C+w==="A1"?e.writeAttributeString("topLeftCell",""+r.Ki(m)+(g+1)):e.writeAttributeString("topLeftCell",""+C+w),e.writeAttributeString("activePane",a.PaneType[b]),e.writeAttributeString("state","frozen")})),n=[],o=new i.Range,l=0,s=1,c=-1,u=function(u){var d,f,m,g,b,w,C,S,y,v;if(n.length=0,d=u,r.$i(t,n,o,d)){for(s=n.length,l=0;l<s;l++)f=n[l],f.col!==-1&&f.colCount!==-1||(f=new i.Range(f.row,0,f.rowCount,a.ExcelConstants.vb)),f.row!==-1&&f.rowCount!==-1||(f=new i.Range(0,f.col,a.ExcelConstants.wb,f.colCount)),o.col>=f.col&&o.col<=f.col+f.colCount-1&&o.row>=f.row&&o.row<=f.row+f.rowCount-1&&(c=l);if(c<0&&s>0&&(o.row=n[0].row,o.col=n[0].col),m=""+r.Ki(o.col)+(o.row+1),g="",p>0&&h>0&&(1===d||2===d))g=m;else{for(l=0;l<s;l++)b=n[l],w=Math.min(a.ExcelConstants.wb,b.row+1),C=Math.min(b.col,a.ExcelConstants.vb),g+=""+r.Ki(C)+w,(b.colCount>1||b.rowCount>1)&&(S=Math.min(C+b.colCount-1,a.ExcelConstants.vb),y=Math.min(w+b.rowCount-1,a.ExcelConstants.wb),v=""+r.Ki(S)+y,g+=":"+v),g+=" ";g=g.trim()}i.StringEx.O(g)||3===d&&(p>0||h>0||3!==d)||e.writeLeafElement("selection",function(){3!==d&&e.writeAttributeString("pane",a.PaneType[d]),e.writeAttributeString("activeCell",m),0!==c&&0===d&&e.writeAttributeString("activeCellId",""+c),e.writeAttributeString("sqref",g)})}},d=3;d>=0;d--)u(d)})})}function A(e,t,r){var i=r.Xi(t),n=i.height,a=i.customHeight,o=r.Yi(t);e.writeLeafElement("sheetFormatPr",function(){var i,l,s;isNaN(o)||e.writeAttributeString("defaultColWidth",""+o),a&&e.writeAttributeString("customHeight","1"),e.writeAttributeString("defaultRowHeight",""+n),i=r.Wi(t),l=i.outlineLevelRow-1,s=i.outlineLevelColumn-1,l>0&&e.writeAttributeString("outlineLevelRow",""+l),s>0&&e.writeAttributeString("outlineLevelCol",""+s)})}function k(e,t,r,i,n){var o=r.Ti(t),l=r.Vi(t);0!==o.length&&e.writeElement("cols",g,function(){var t,r,s,c,u=function(r,s){var c,u,d,f=o[r],p=f.index;if(p>=a.ExcelConstants.vb)return t=r,"break";for(c=r+1,u=p;c<o.length&&(d=o[c],d.index===u+1&&d.index<a.ExcelConstants.vb&&d.formatId===f.formatId&&d.visible===f.visible&&d.outLineLevel===f.outLineLevel&&d.collapsed===f.collapsed&&Math.abs(d.width-f.width)<=1e-4);)u=d.index,r=c,c++;e.writeLeafElement("col",function(){if(e.writeAttributeString("min",""+(p+1)),e.writeAttributeString("max",""+(u+1)),f.formatId>=0){var t=i[f.formatId+n];t!==g?e.writeAttributeString("style",t):e.writeAttributeString("style","0")}isNaN(f.width)||f.width===g?e.writeAttributeString("width",""+l):e.writeAttributeString("width",""+f.width),f.visible===!1&&e.writeAttributeString("hidden","1"),f.collapsed&&e.writeAttributeString("collapsed","1"),!isNaN(f.width)&&Math.abs(f.width-l)>1e-4&&e.writeAttributeString("customWidth","1"),"number"==typeof f.outLineLevel&&0!==f.outLineLevel&&e.writeAttributeString("outlineLevel",""+f.outLineLevel)}),t=r};for(r=0,s=o.length;r<s&&(c=u(r,s),r=t,"break"!==c);r++);})}function E(e,t,r,i,n,o,s){var c,u,d,f,p,h,m,b,w,C={},S=r.Ni(t);if(S)for(c=0,u=S.length;c<u;c++)d=S[c],d&&d.index<a.ExcelConstants.wb&&(C[d.index]=new l.Tuple(d,[]));if(f=r.Mi(t))for(p in f)if(f.hasOwnProperty(p))for(h=f[p],c=0,m=h.length;c<m;c++)b=h[c],b&&(C[b.row]?C[b.row].item2.push(b):(C[b.row]=new l.Tuple(null,[]),C[b.row].item2.push(b)));w=r.Ne.sheets[t].sharedFormulas,e.writeElement("sheetData",g,function(){var r,a,l,c=-1;for(r in C)C.hasOwnProperty(r)&&(a=C[r],l=parseInt(r,10),I(e,t,l,c,a.item2,a.item1,i,n,o,s,w),c=l)})}function I(e,t,r,i,n,o,l,s,c,u,d){var f=""+(r+1),p=function(){if(!l.keepRowColIndex&&r===i+1||!o&&!n||e.writeAttributeString("r",f),o){if(o.formatId>=0){var t=s[o.formatId+c];t!==g&&(e.writeAttributeString("s",t),e.writeAttributeString("customFormat","1"))}o.customHeight&&(e.writeAttributeString("customHeight","1"),o.height!==g&&e.writeAttributeString("ht",""+o.height)),o.visible===!1&&e.writeAttributeString("hidden","1"),o.collapsed&&e.writeAttributeString("collapsed","1"),"number"==typeof o.outLineLevel&&0!==o.outLineLevel&&e.writeAttributeString("outlineLevel",""+o.outLineLevel)}};n&&n.length>0?e.writeElement("row",p,function(){var t,r,i,o=-1;for(t=0,r=n.length;t<r;t++)i=n[t],i.col>=a.ExcelConstants.vb||(F(e,i,f,o,l,s,c,u,d),o=i.col)}):e.writeLeafElement("row",p)}C=["#REF!","#NULL!","#DIV/0!","#VALUE!","#NAME?","#NUM!","#N/A","#SPILL!","#CALC!"];function F(e,t,r,n,a,o,l,s,c){var u=t.value,d=t.formula,f=t.cellType,p=t.richText,h=function(){var s,c,d,p;switch((a.xlsxStrictMode||t.col!==n+1)&&e.writeAttributeString("r",i.IndexHelper.T(t.col)+r),t.formatId===-1?e.writeAttributeString("s","0"):(s=t.formatId+l,c=o[s],c!==g&&e.writeAttributeString("s",c)),f){case 0:break;case 9:case 2:d="s";break;case 5:d="b";break;case 7:d="e"}t.formula&&(t.arrayFormulaRange?(p=t.arrayFormulaRange.isDynamicArray,p&&e.writeAttributeString("cm","1"),t.isSpillError&&(d="e",e.writeAttributeString("vm","1"))):i.isNullOrUndefined(u)||"#"!==(""+u).substring(0,1)||C.indexOf((""+u).toUpperCase())===-1?t.isSpillError&&(d="e",e.writeAttributeString("vm","2")):d="e"),(t.formula||t.qi)&&"s"===d&&(d="str"),i.isNullOrUndefined(d)||e.writeAttributeString("t",d)};function m(e){var t,r=s.Zn[e.value],i=s.$n[e.value];return i===g&&(i=s.$n[e.value]=[]),t=S(i,e),r===g||t===g?(r=s.Qn.length,s.Qn.push(e),s.Zn[e.value]=r,i.push({index:r,value:e})):r=t,s.Pn++,r}function S(e,t){for(var r=0,i=e.length;r<i;r++)if(b(e[r].value,t))return e[r].index}u!==g&&null!==u||!i.StringEx.L(d)?e.writeElement("c",h,function(){var r,n;i.StringEx.L(d)||(r=t.arrayFormulaRange,i.isNullOrUndefined(d.si)?r?t.row===r.row&&t.col===r.col&&e.writeElement("f",function(){e.writeAttributeString("t","array");var t=i.IndexHelper.T(r.col)+(r.row+1)+":"+i.IndexHelper.T(r.col+r.colCount-1)+(r.row+r.rowCount);!r.isInvalid&&r.rowCount||(t=t.substr(0,t.indexOf(":"))),e.writeAttributeString("ref",t)},function(){e.writeValue(i.Util.oa(i.addXLFNPrefix(d)))}):e.writeElement("f",g,function(){e.writeValue(i.Util.oa(i.addXLFNPrefix(d)))}):(n=c[d.si],n.baseRow===t.row&&n.baseColumn===t.col?e.writeElement("f",function(){e.writeAttributeString("t","shared"),e.writeAttributeString("si",d.si);var t=i.IndexHelper.T(n.baseColumn)+(n.baseRow+1)+":"+i.IndexHelper.T(n.lastColumn)+(n.lastRow+1);e.writeAttributeString("ref",t)},function(){e.writeValue(i.Util.oa(i.addXLFNPrefix(n.formula)))}):e.writeLeafElement("f",function(){e.writeAttributeString("t","shared"),e.writeAttributeString("si",d.si)}))),u!==g&&null!==u&&e.writeElement("v",g,function(){var r,n;switch("string"==typeof u&&"/OADate"===u.substring(0,7)&&(f=6),r=u,f){case 9:case 2:r=""+m({value:u,richText:p});break;case 7:r=u;break;case 5:n="1",("boolean"==typeof u&&!u||"FALSE"===(""+u).toUpperCase())&&(n="0"),r=n;break;case 6:default:r=i.Util.oa(""+u)}i.isNullOrUndefined(t.formula)&&!t.qi||("boolean"==typeof u&&(u=u?1:0),r=""+u,r&&r.length>w&&(r=""),r=i.Util.oa(r)),"#SPILL!"!==r&&"#CALC!"!==r||7!==f||(r="#VALUE!"),e.writeValue(r)})}):e.writeLeafElement("c",h)}function P(e,t,r){var i,n=r.qj(t),a=r.rj(t,n);(n||Object.keys(a).length>0)&&e.writeLeafElement("sheetProtection",function(){n&&e.writeAttributeString("sheet","1");for(var t in a)a.hasOwnProperty(t)&&(i=a[t],"algorithmName"===t||"hashValue"===t||"saltValue"===t||"spinCount"===t||"password"===t?e.writeAttributeString(t,i):p.excelSupportProtectionOptions[t]&&(i=a[t]?"0":"1",e.writeAttributeString(t,i)))})}function D(e,t,r){var n=r.aj(t);n&&n.length>0&&e.writeElement("mergeCells",function(){e.writeAttributeString("count",""+n.length)},function(){var t,r,a=function(t,r){var a=n[t];e.writeLeafElement("mergeCell",function(){e.writeAttributeString("ref",i.IndexHelper.T(a.col)+(a.row+1)+":"+i.IndexHelper.T(a.col+a.colCount-1)+(a.row+a.rowCount))})};for(t=0,r=n.length;t<r;t++)a(t,r)})}function R(e,t,r){e.writeElement("extLst",g,function(){c.writeExtensionConditionalFormats(e,t,r),s.writeSparkline(e,t,r),u.writeSlicersInWorkSheet(e,t,r),f.writeExtensionDataValidations(e,r)})}function L(e,t){e.writeElement("tableParts",function(){e.writeAttributeString("count",""+t.length)},function(){t.forEach(function(t){e.writeLeafElement("tablePart",function(){e.writeAttributeString("r:id",t.rid)})})})}function _(e,t,r,i){var n=r.Hh[t];n&&n.length>0&&e.writeElement("hyperlinks",function(){var t,r,o=function(t,r){var o=n[t];e.writeLeafElement("hyperlink",function(){var t,r;e.writeAttributeString("ref",o.ref),o.location?e.writeAttributeString("location",o.location):(t="",r=new a.XFile(t,a.RelationshipConstants.gb),r.target=o.url,r.targetMode="External",o.rid=i.ze(r),e.writeAttributeString("r:id",o.rid)),o.display&&e.writeAttributeString("display",o.display),o.tooltip&&e.writeAttributeString("tooltip",o.tooltip),o["xr:uid"]&&e.writeAttributeString("xr:uid",o["xr:uid"])})};for(t=0,r=n.length;t<r;t++)o(t,r)})}function N(e,t){!t||t.length<=0||M(e,function(){B(e,t)})}function B(e,t){e.writeElement("controls",g,function(){t.forEach(function(t){O(e,t)})})}function M(e,t){e.writeElement("mc:AlternateContent",function(){e.writeAttributeString("xmlns:mc","http://schemas.openxmlformats.org/markup-compatibility/2006")},function(){e.writeElement("mc:Choice",function(){e.writeAttributeString("Requires","x14")},t)})}function O(e,t){M(e,function(){G(e,t)})}function G(e,t){var r=t.sp.nvSpPr.cNvPr,i=t.sp.control.rid,n=r.id,a=r.name;e.writeElement("control",function(){e.writeAttributeString("shapeId",n),e.writeAttributeString("r:id",i),e.writeAttributeString("name",a)},function(){H(e,t)})}function H(e,t){var r=t.sp.control.disabled;e.writeElement("controlPr",function(){e.writeAttributeString("defaultSize",0),e.writeAttributeString("autoPict",0),r&&e.writeAttributeString("disabled",1)},function(){U(e,t)})}function U(e,t){var r=t.sp.control.anchorInfo,i=r.startPoint,n=r.endPoint;e.writeElement("anchor",function(){e.writeAttributeString("moveWithCells",1),e.writeAttributeString("sizeWithCells",1)},function(){m.DrawingWriter.WriteCT_Position(e,g,"from",i),m.DrawingWriter.WriteCT_Position(e,g,"to",n)})}},"./src/xlsx-io/writer/xlsx-writer.ts":function(e,t,r){"use strict";var i,n,a,o,l,s,c,u,d,f,p,h,m,g,b,w,C,S,y,v,x,T,A,k,E,I,F,P,D,R,L;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/excel-types.ts"),n=r("./src/common/common.ts"),a=r("./src/xml-io/xml-writer.ts"),o=r("./src/datamodel/datamodel-writer.ts"),l=r("./src/xlsx-io/writer/style-writer.ts"),s=r("./src/xlsx-io/writer/docPropsCoreWriter.ts"),c=r("./src/xlsx-io/writer/docPropsAppWriter.ts"),u=r("./src/xlsx-io/writer/docPropsCustomWriter.ts"),d=r("./src/xlsx-io/writer/worksheet-writer.ts"),f=r("./src/xlsx-io/writer/sharedString-writer.ts"),p=r("./src/xlsx-io/writer/theme-writer.ts"),h=r("./src/xlsx-io/writer/workbook-writer.ts"),m=r("./src/xlsx-io/writer/comment-writer.ts"),g=r("./src/xlsx-io/writer/drawing-writer.ts"),b=r("./src/xlsx-io/writer/table-writer.ts"),w=r("./src/xlsx-io/writer/slicer-writer.ts"),C=r("./src/xlsx-io/writer/print-writer.ts"),S=r("./src/xlsx-io/writer/metadata-writer.ts"),y=r("./src/xlsx-io/writer/chart-writer.ts"),v=r("./src/datamodel/excel-helper.ts"),x=r("./src/datamodel/excel-style.ts"),T=r("./src/xlsx-io/writer/pivot-writer.ts"),A=r("./src/xlsx-io/writer/ctrlprops-writer.ts"),k=r("./src/xlsx-io/writer/vmlDrawing-writer.ts"),E=r("./src/xlsx-io/writer/externalLink-writer.ts"),I=r("./src/xlsx-io/writer/timeline-writer.ts"),F="../charts/",P="../drawings/",D=void 0,R=r("./src/lib/jszip.min.js");function _(e,t,r){var n,a,o,l=e.imageType||"jpg";return"svg+xml"===l&&(l="svg"),n=i.XFileConstants.ld+t+"."+l,
48
+ a=new i.XFile(i.XFileConstants.Oc+"/"+n,i.RelationshipConstants.hb),a.target="../media/"+n,o=r.ze(a),e.rid=o,a}function N(e,t,r){return{AlternateContent:"http://schemas.openxmlformats.org/markup-compatibility/2006",Choice:{cx:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",Requires:"cx1",GraphicalObjectFrame:{nvGraphicFramePr:{cNvPr:{id:1,name:e,descr:r||""}},graphic:{graphicData:{chart:{id:t}}}}}}}L=function(){function e(e,t){this._n={},this.ao={};var r=this;r.Xn=0,r.bo={},r.un=[],r.co=1===e.referenceStyle,r.do=e.calculationMode,r.eo={iterate:e.iterativeCalculation,count:e.iterativeCalculationMaximumIterations,delta:e.iterativeCalculationMaximumChange},r.Bg={},r.fo=R(),r.ho=0,r.io=0,r.jo=0,r.ko=0,r.lo=0,r.mo=0,r.no=0,r.oo=0,r.po=0,r.qo=0,r.ro=new o.WriterDataModel(e),r.ro.onCompleted=function(){t.call(r)},r.ro.Ph(),r.ro&&r.ro.Xh()}return e.prototype.Gk=function(){var e,t,r,n=this,a=new i.XFile("",""),o=new i.XFile(i.XFileConstants.zd,i.RelationshipConstants.Na);a.ze(o),n.so(a),e={Qn:[],Zn:{},Pn:0,$n:{}},t=n.uo(o),r=[],n.vo(n.ro.Ne.pivotCaches,o),n.wo(n.ro.Ne.slicerCaches,o),n.xo(o,t,e,r),n.yo(n.ro,n.ro.Ne.tableSlicerCaches,o),n.zo(o,e),n.Ao(o),n.Bo(o),n.Co(o),n.Do(r),n.Eo(a),n.Fo(a,n.ho>0),n.wn(),n.fo.generateAsync({type:n.Bg.useArrayBuffer?"arraybuffer":"blob",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",compression:"DEFLATE"}).then(function(e){n.onZip(e)}).catch(function(){n.onError()})},e.prototype.so=function(e){var t,r,a,o=this,l=o.ro.Ne;n.isNullOrUndefined(l.docProps)||(l.docProps.docPropsCore&&(t=new i.XFile(i.XFileConstants.Ad,i.RelationshipConstants.Ka),e.ze(t),o.Go()),l.docProps.docPropsApp&&(r=new i.XFile(i.XFileConstants.Bd,i.RelationshipConstants.La),e.ze(r),o.Ho()),l.docProps.docPropsCustom&&(a=new i.XFile(i.XFileConstants.Cd,i.RelationshipConstants.Ma),e.ze(a),o.Io()))},e.prototype.Eo=function(e){var t,r,o,l,s,c,u,d,f,p;if(!n.isNullOrUndefined(e)&&!n.isNullOrUndefined(e.relationFiles)&&0!==e.relationFiles.count){t=n.Util.ra(e.fileName),r=t.dir,o=t.fileName,l=this,s={};for(c in e.relationFiles)e.relationFiles.hasOwnProperty(c)&&(u=e.relationFiles[c],u&&"count"!==c&&(d=[u.target||u.fileName.replace(r+"/",""),u.fileType],u.targetMode&&d.push(u.targetMode),s[c]=d,this.Eo(u)));f=new a.XmlWriter,f.writeDocument(),f.writeElement("Relationships",function(){f.writeAttributeString("xmlns",i.XFileConstants.Wd)},function(){var e,t=function(e){if(s.hasOwnProperty(e)){var t=s[e];t&&t.length>=2&&f.writeLeafElement("Relationship",function(){f.writeAttributeString("Id",e),f.writeAttributeString("Type",t[1]),f.writeAttributeString("Target",t[0]),t[2]&&f.writeAttributeString("TargetMode",t[2])})}};for(e in s)t(e)}),p=r+"/"+i.XFileConstants.Bb+"/"+o+"."+i.XFileConstants.Gb,l.fo.file(p.substring(1),f.getXmlString())}},e.prototype.Fo=function(e,t){var r=this.ro.Li(e,t),n=new a.XmlWriter;n.writeDocument(),n.writeElement("Types",function(){n.writeAttributeString("xmlns",i.XFileConstants.Vd)},function(){var e,t,a=function(e,t){var a=r[e];a instanceof i.DefaultContentType?n.writeLeafElement("Default",function(){n.writeAttributeString("Extension",a.extension),n.writeAttributeString("ContentType",a.contentType)}):a instanceof i.OverrideContentType&&n.writeLeafElement("Override",function(){n.writeAttributeString("PartName",a.partName),n.writeAttributeString("ContentType",a.contentType)})};for(e=0,t=r.length;e<t;e++)a(e,t)}),this.fo.file(i.XFileConstants.Db,n.getXmlString())},e.prototype.Go=function(){var e=this,t=s.writeDocPropsCore(e.ro);this.fo.file(i.XFileConstants.Ad.substring(1),t)},e.prototype.Ho=function(){var e=this,t=c.writeDocPropsApp(e.ro);this.fo.file(i.XFileConstants.Bd.substring(1),t)},e.prototype.Io=function(){var e=this,t=u.writeDocPropsCustom(e.ro);this.fo.file(i.XFileConstants.Cd.substring(1),t)},e.prototype.uo=function(e){var t,r=this,n=new i.XFile(i.XFileConstants.Dd,i.RelationshipConstants.Pa);return e.ze(n),t=l.writeStyle(r.ro,r.bo),r.fo.file(i.XFileConstants.Dd.substring(1),t.xml),t.styleOffset},e.prototype.xo=function(e,t,r,n){var a,o,l,s,c,u,d,f,p,h,m=this.ro,g=m.jj(),b=g.length,w=0,C=m.fi();for(C&&C.length>0&&C.forEach(function(e){w++,e.id=w}),a={},o={},l=0;l<b;l++)s=g[l],s&&(c=new i.SheetInfo,c.name=s,c.sheetId=l+1,c.index=l,u=new i.XFile(i.XFileConstants.Rc+"/"+i.XFileConstants.$c+c.sheetId+"."+i.XFileConstants.nc,i.RelationshipConstants.Ra),c.rID=e.ze(u),this.un.push(c),d={attributes:[]},f=m.wj(s),p=m.Ij(s),this.Jo(u,l,d,f,p),this.Ko(m,u,f),this.Lo(m,u,p),h=this.Mo(u,d,p.withDrawingObjects),this.No(h,p,n),this.Oo(m,h,p),this.Po(m,u,s,o),this.Qo(m,u,s,e,a),this.Ro(m,u,s,e),this.So(m,u,s),this.To(c,t,r,d,u,p.controlShapes))},e.prototype.zo=function(e,t){var r,n,a=this;t.Qn.length<=0||(r=new i.XFile(i.XFileConstants.wd,i.RelationshipConstants.Sa),e.ze(r),n=f.writeSharedString(t),a.fo.file(i.XFileConstants.wd.substring(1),n))},e.prototype.Ao=function(e){var t,r=new i.XFile(i.XFileConstants.xd,i.RelationshipConstants.Ua);e.ze(r),t=p.writeTheme(this.ro),this.fo.file(i.XFileConstants.Ed.substring(1),t)},e.prototype.Bo=function(e){var t,r,n,a,o,l,s,c,u=this.ro.Ne.externalReference;if(u)for(t in u)Object.prototype.hasOwnProperty.call(u,t)&&(r=u[t],n=i.XFileConstants.Vc+"/"+i.XFileConstants._c+t+"."+i.XFileConstants.nc,a=new i.XFile(n,i.RelationshipConstants.Za),r.option.id=e.ze(a),o=new i.XFile("",i.RelationshipConstants.rb),o.target=r.option.name,l=r.option.path,l&&l.length>0&&(s=l.substr(-1),"/"===s||"\\"===s?o.target=l+o.target:o.target=l+"/"+o.target),o.target=o.target.replace(/\%/g,"%25").replace(/\ /g,"%20").replace(/\#/g,"%23").replace(/\[/g,"%5b").replace(/\]/g,"%5d").replace(/\^/g,"%5e").replace(/\`/g,"%60").replace(/\{/g,"%7b").replace(/\}/g,"%7d").replace(/\&/g,"&amp;").replace(/\"/g,"&quot;"),o.targetMode="External",a.ze(o),c=E.writeExternalLink(this.ro,r),this.fo.file(n.substring(1),c))},e.prototype.Do=function(e){var t=this,r=h.writeWorkbook(t.ro,t.un,t.co,e,t.Uo,t.eo,t.do);t.fo.file(i.XFileConstants.zd.substring(1),r)},e.prototype.vo=function(e,t){var r,n,a,o,l,s,c,u;if(e){r=1,n=1,this.Uo={};for(a in e)e.hasOwnProperty(a)&&(o=new i.XFile(i.XFileConstants.Yc+"/"+i.XFileConstants.td+r+"."+i.XFileConstants.nc,i.RelationshipConstants.Wa),l=new i.XFile(i.XFileConstants.Yc+"/"+i.XFileConstants.ud+n+"."+i.XFileConstants.nc,i.RelationshipConstants.Xa),s=t.ze(o),this.Uo[a]={file:o,cacheId:a,rid:s},c=T.writePivotCacheDefinition(e[a]),this.fo.file((i.XFileConstants.Yc+"/"+i.XFileConstants.td+r+"."+i.XFileConstants.nc).substring(1),c),o.ze(l),u=T.writePivotCacheRecords(e[a].pivotCacheRecords),this.fo.file((i.XFileConstants.Yc+"/"+i.XFileConstants.ud+n+"."+i.XFileConstants.nc).substring(1),u),r++,n++)}},e.prototype.To=function(e,t,r,n,a,o){var l=this,s=d.writeWorksheet(l.ro,e.name,l.bo,t,l.Bg,r,n,a,o);this.fo.file(i.XFileConstants.yd.substring(1)+"/sheet"+e.sheetId+"."+i.XFileConstants.nc,s)},e.prototype.Ko=function(e,t,r){var n,a,o;r&&r.length>0&&(this.io++,n=i.XFileConstants.ad+this.io+"."+i.XFileConstants.nc,a=new i.XFile(i.XFileConstants.Cb+"/"+n,i.RelationshipConstants._a),a.target="../"+n,t.ze(a),o=m.writeComments(e,r),this.fo.file(a.fileName.substring(1),o))},e.prototype.Jo=function(e,t,r,n,a){var o,l,s,c,u=a.controlShapes,d=n&&n.length>0,f=u&&u.length>0;(d||f)&&(this.ho++,o=i.XFileConstants.Kc+this.ho+"."+i.XFileConstants.oc,l=new i.XFile(i.XFileConstants.Mc+"/"+o,i.RelationshipConstants.ab),l.target=P+o,s=e.ze(l),r.legacyDrawingId=s,r.attributes.push({key:"xmlns:xdr",value:i.XFileConstants.Kd}),f&&r.attributes.push({key:"xmlns:x14",value:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.Vo(l,u),c=k.writeVmlDrawingForLegacyDrawing(t,n,u),this.fo.file(l.fileName.substring(1),c))},e.prototype.Vo=function(e,t){var r=this;t.forEach(function(t){var i,n,a=t.sp.control.style,o=a&&a.fill,l=o&&o.src;l&&(i={},v.getPictureInfo(l,i),r.ko++,n=_(i,r.ko,e),r.fo.file(n.fileName.substring(1),i.base64Image,{base64:!0}),e.relationFiles[i.rid]=n,o.rid=i.rid)})},e.prototype.So=function(e,t,r){var n,a,o,l,s,c=e.xj(r);if(c&&c.length>0){this.Wo||(this.Wo=1);for(n in c)c.hasOwnProperty(n)&&(a=i.XFileConstants.vd+this.Wo+"."+i.XFileConstants.nc,o=new i.XFile(i.XFileConstants.Zc+"/"+a,i.RelationshipConstants.Ya),o.target="../pivotTables/"+a,t.ze(o),l=this.Uo&&this.Uo[c[n].cacheId]&&this.Uo[c[n].cacheId].file,l&&o.ze(l),s=T.writePivotTable(e,c[n]),this.fo.file((i.XFileConstants.Zc+"/"+a).substring(1),s),this.Wo++)}},e.prototype.No=function(e,t,r){var i,n=this,a=t.charts;a&&a.forEach(function(t){n.Xo(t,e,r)}),i=t.shapes,i&&i.forEach(function(t){t.graphicFrame&&(t.chartSpace=t.graphicFrame.graphic.graphicData.chart.chartSpace,delete t.chartSpace.userShapes,n.Xo(t,e,r),t.graphicFrame.graphic.graphicData.chart.id=t.chartId)})},e.prototype.Xo=function(e,t,r){var o,l,s,c,u,d,f,p,h,m,g,b,w=this,C=n.Util.za(e),S=C&&C.layoutId,v=n.Util.Aa(S),x=v?i.RelationshipConstants.mb:i.RelationshipConstants.lb,T=v?i.XFileConstants.dd:i.XFileConstants.bd;w.qo++,o=T+w.qo+"."+i.XFileConstants.nc,l=i.XFileConstants.ed+w.qo+"."+i.XFileConstants.nc,s=i.XFileConstants.hd+w.qo+"."+i.XFileConstants.nc,c=new i.XFile(i.XFileConstants.Lc+"/"+o,x),u=new i.XFile(i.XFileConstants.Lc+"/"+l,i.RelationshipConstants.qb),d=new i.XFile(i.XFileConstants.Lc+"/"+s,i.RelationshipConstants.pb),c.target=F+o,e.chartId=t.ze(c),f=e.graphicFrame.nvGraphicFramePr.cNvPr,e.AlternateContent=N(f.name,e.chartId,f.descr),p=e.chartSpace,p&&(w.Yo(p,e,c),w.Zo(p,c),h=new a.XmlWriter,h.writeDocument(),v?(m=void 0,m=w.ro&&w.ro.Ne&&w.ro.Ne.names?w.ro.Ne.names:[],y.DrawingWriter.chart2016Write.WriteCT_ChartSpace(h,"cx","chartSpace",p,m,r)):y.DrawingWriter.WriteCT_ChartSpace(h,"c","chartSpace",p),w.fo.file(c.fileName.substring(1),h.getXmlString()),v&&(u.target=F+l,n.isNullOrUndefined(e.chartSpace.style)&&(e.chartSpace.style=JSON.parse('{"attribute":{"cs":"http://schemas.microsoft.com/office/drawing/2012/chartStyle","a":"http://schemas.openxmlformats.org/drawingml/2006/main","id":"381"},"axisTitle":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1,"lumMod":[65000],"lumOff":[35000]}}},"idx":1},"defRPr":{"sz":12}},"categoryAxis":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1,"lumMod":[65000],"lumOff":[35000]}}},"idx":1},"spPr":{"ln":{"w":1,"cap":2,"cmpd":0,"algn":0,"solidFill":{"schemeClr":{"val":1,"lumMod":[15000],"lumOff":[85000]}},"round":true}},"defRPr":{"sz":12}},"chartArea":{"attribute":{"mods":"allowNoFillOverride allowNoLineOverride"},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"solidFill":{"schemeClr":{"val":0}},"ln":{"w":1,"cap":2,"cmpd":0,"algn":0,"solidFill":{"schemeClr":{"val":1,"lumMod":[15000],"lumOff":[85000]}},"round":true}},"defRPr":{"sz":13.33}},"dataLabel":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":14}}},"idx":1},"defRPr":{"sz":12}},"dataLabelCallout":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":13,"lumMod":[65000],"lumOff":[35000]}}},"idx":1},"spPr":{"solidFill":{"schemeClr":{"val":14}},"ln":{"solidFill":{"schemeClr":{"val":13,"lumMod":[25000],"lumOff":[75000]}}}},"defRPr":{"sz":12},"bodyPr":{"rot":0,"spcFirstLastPara":true,"vertOverflow":2,"horzOverflow":1,"vert":0,"wrap":1,"lIns":36576,"tIns":18288,"rIns":36576,"bIns":18288,"anchor":1,"anchorCtr":true,"spAutoFit":true}},"dataPoint":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{"styleClr":{"val":0}},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"solidFill":{"schemeClr":{"val":12}},"ln":{"w":2,"solidFill":{"schemeClr":{"val":14}}}}},"dataPoint3D":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{"styleClr":{"val":0}},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"solidFill":{"schemeClr":{"val":12}}}},"dataPointLine":{"attribute":{},"lnRef":{"ColorProp":{"styleClr":{"val":0}},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"ln":{"w":3,"cap":0,"solidFill":{"schemeClr":{"val":12}},"round":true}}},"dataPointMarker":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{"styleClr":{"val":0}},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"solidFill":{"schemeClr":{"val":12}},"ln":{"w":1,"solidFill":{"schemeClr":{"val":14}}}}},"dataPointMarkerLayout":{"attribute":{"symbol":"circle","size":"5"}},"dataPointWireframe":{"attribute":{},"lnRef":{"ColorProp":{"styleClr":{"val":0}},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"ln":{"w":3,"cap":0,"solidFill":{"schemeClr":{"val":12}},"round":true}}},"dataTable":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1,"lumMod":[65000],"lumOff":[35000]}}},"idx":1},"spPr":{"ln":{"w":1,"solidFill":{"schemeClr":{"val":1,"lumMod":[15000],"lumOff":[85000]}}}},"defRPr":{"sz":12}},"downBar":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":13}}},"idx":1},"spPr":{"solidFill":{"schemeClr":{"val":13,"lumMod":[65000],"lumOff":[35000]}},"ln":{"w":1,"solidFill":{"schemeClr":{"val":1,"lumMod":[65000],"lumOff":[35000]}}}}},"dropLine":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"ln":{"w":1,"cap":2,"cmpd":0,"algn":0,"solidFill":{"schemeClr":{"val":1,"lumMod":[35000],"lumOff":[65000]}},"round":true}}},"errorBar":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"ln":{"w":1,"cap":2,"cmpd":0,"algn":0,"solidFill":{"schemeClr":{"val":1,"lumMod":[65000],"lumOff":[35000]}},"round":true}}},"floor":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1}},"gridlineMajor":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"ln":{"w":1,"cap":2,"cmpd":0,"algn":0,"solidFill":{"schemeClr":{"val":1,"lumMod":[15000],"lumOff":[85000]}},"round":true}}},"gridlineMinor":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"ln":{"w":1,"cap":2,"cmpd":0,"algn":0,"solidFill":{"schemeClr":{"val":1,"lumMod":[15000],"lumOff":[85000]}},"round":true}}},"hiLoLine":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"ln":{"w":1,"cap":2,"cmpd":0,"algn":0,"solidFill":{"schemeClr":{"val":1,"lumMod":[75000],"lumOff":[25000]}},"round":true}}},"leaderLine":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"ln":{"w":1,"cap":2,"cmpd":0,"algn":0,"solidFill":{"schemeClr":{"val":1,"lumMod":[35000],"lumOff":[65000]}},"round":true}}},"legend":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1,"lumMod":[65000],"lumOff":[35000]}}},"idx":1},"defRPr":{"sz":12}},"plotArea":{"attribute":{"mods":"allowNoFillOverride allowNoLineOverride"},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1}},"plotArea3D":{"attribute":{"mods":"allowNoFillOverride allowNoLineOverride"},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1}},"seriesAxis":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1,"lumMod":[65000],"lumOff":[35000]}}},"idx":1},"spPr":{"ln":{"w":1,"cap":2,"cmpd":0,"algn":0,"solidFill":{"schemeClr":{"val":1,"lumMod":[15000],"lumOff":[85000]}},"round":true}},"defRPr":{"sz":12}},"seriesLine":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"ln":{"w":1,"cap":2,"solidFill":{"srgbClr":{"val":[217,217,217]}},"round":true}}},"title":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1,"lumMod":[65000],"lumOff":[35000]}}},"idx":1},"defRPr":{"sz":18.67}},"trendline":{"attribute":{},"lnRef":{"ColorProp":{"styleClr":{"val":0}},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1},"spPr":{"ln":{"w":2,"cap":0,"solidFill":{"schemeClr":{"val":12}},"prstDash":7}}},"trendlineLabel":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1,"lumMod":[65000],"lumOff":[35000]}}},"idx":1},"defRPr":{"sz":12}},"upBar":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":13}}},"idx":1},"spPr":{"solidFill":{"schemeClr":{"val":14}},"ln":{"w":1,"solidFill":{"schemeClr":{"val":1,"lumMod":[15000],"lumOff":[85000]}}}}},"valueAxis":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1,"lumMod":[65000],"lumOff":[35000]}}},"idx":1},"defRPr":{"sz":12}},"wall":{"attribute":{},"lnRef":{"ColorProp":{},"idx":0},"fillRef":{"ColorProp":{},"idx":0},"effectRef":{"ColorProp":{},"idx":0},"fontRef":{"TextCharacterProperties":{"solidFill":{"schemeClr":{"val":1}}},"idx":1}}}')),e.chartSpace.style.id=c.ze(u),d.target=F+s,n.isNullOrUndefined(e.chartSpace.colors)&&(e.chartSpace.colors=JSON.parse('{"schemeClr":[{"val":4},{"val":5},{"val":6},{"val":7},{"val":8},{"val":9}],"variation":[{},{"lumMod":60000},{"lumMod":80000,"lumOff":20000},{"lumMod":80000},{"lumMod":60000,"lumOff":40000},{"lumMod":50000},{"lumMod":70000,"lumOff":30000},{"lumMod":70000},{"lumMod":50000,"lumOff":50000}],"attribute":{"cs":"http://schemas.microsoft.com/office/drawing/2012/chartStyle","a":"http://schemas.openxmlformats.org/drawingml/2006/main","meth":"cycle","id":"10"}}')),e.chartSpace.colors.id=c.ze(d),g=new a.XmlWriter,y.DrawingWriter.chart2016Write.WriteCT_ChartStyle(g,"cs","chartStyle",null,p.style),w.fo.file(u.fileName.substring(1),g.getXmlString()),b=new a.XmlWriter,y.DrawingWriter.chart2016Write.WriteCT_ChartColors(b,"cs","colorStyle",null,p.colors),w.fo.file(d.fileName.substring(1),b.getXmlString())))},e.prototype.Yo=function(e,t,r){var n,a,o,l=this,s=e.userShapes,c=s&&s.relSizeAnchor;c&&c.length>0&&(l.jo++,n=i.XFileConstants.jd+l.jo+"."+i.XFileConstants.nc,a=new i.XFile(i.XFileConstants.Mc+"/"+n,i.RelationshipConstants.ob),a.target=P+n,t.drawingFile=a,o=r.ze(a),e.userShapes.id=o,c.forEach(function(e){"1"===e.typeName?l.$o(e,a):"2"===e.typeName&&l._o(e,a)}))},e.prototype.$o=function(e,t){var r,i,n,a=e.src;a&&(r=this,r.ko++,i={},v.getPictureInfo(a,i),n=_(i,r.ko,t),r.fo.file(n.fileName.substring(1),i.base64Image,{base64:!0}),e.pic.blipFill={blip:{embed:i.rid}})},e.prototype.ap=function(e,t){var r,i,n,a,o=this;!e.src&&e.size&&(r=o.bp(e.size.width,e.size.height),r=r.replace("png","emf"),e.src=r),i=e.src,i&&(o.ko++,n={},v.getPictureInfo(i,n),a=_(n,o.ko,t),o.fo.file(a.fileName.substring(1),n.base64Image,{base64:!0}),e.blipFill={blip:{embed:n.rid}})},e.prototype.bp=function(e,t){var r=document.createElement("canvas");return r.width=e,r.height=t,r.toDataURL("image/png")},e.prototype._o=function(e,t){var r,o,l,s,c,u,d,f,p,h=this;h.qo++,r=i.XFileConstants.bd+h.qo+"."+i.XFileConstants.nc,o=new i.XFile(i.XFileConstants.Lc+"/"+r,i.RelationshipConstants.lb),o.target=F+r,l=t.ze(o),s=e.chartSpace,c=n.Util.za(s),u=c&&c.layoutId,d=n.Util.Aa(u),s&&(e.graphicFrame.graphic={graphicData:{chart:{id:l,typeName:"chartSpace"}}},f=new a.XmlWriter,f.writeDocument(),d?(p=void 0,p=h.ro&&h.ro.Ne&&h.ro.Ne.names?h.ro.Ne.names:[],y.DrawingWriter.chart2016Write.WriteCT_ChartSpace(f,"cx","chartSpace",s,p)):y.DrawingWriter.WriteCT_ChartSpace(f,"c","chartSpace",s),h.fo.file(o.fileName.substring(1),f.getXmlString()))},e.prototype.Zo=function(e,t){var r=this,i=e.chart.plotArea;i&&i.chartGroups&&i.chartGroups.forEach(function(e){e&&e.ser&&e.ser.forEach(function(e){e.spPr&&r.cp(t,e.spPr),e.dLbls&&e.dLbls.spPr&&r.cp(t,e.dLbls.spPr)})}),i.spPr&&r.cp(t,i.spPr),e.spPr&&r.cp(t,e.spPr)},e.prototype.dp=function(e,t,r){var i=this;e&&e.forEach(function(e){e.sp||e.cxnSp||e.grpSp?e.sp&&e.sp.spPr?i.cp(t,e.sp.spPr):e.grpSp&&(e.grpSp.sp&&i.ep(e.grpSp.sp,t,r),e.grpSp.grpSpPr&&i.cp(t,e.grpSp.grpSpPr)):e.pic&&(e.pic.cameraTool?(i.fp(e.pic,t,r),r++):(i.cp(t,e.pic),i.cp(t,e.pic.spPr)))})},e.prototype.ep=function(e,t,r){var i=this;e.forEach(function(e){e.spPr&&(n.isNullOrUndefined(e.cellRange)?i.cp(t,e.spPr):(i.fp(e,t,r),r++)),e.blipFill&&i.cp(t,e),3===e.shapeType&&i.ep(e.sp,t,r)})},e.prototype.Lo=function(e,t,r){var n=this,a=r.controlShapes;a.forEach(function(e){var r,a,o,l;n.lo++,r=i.XFileConstants.md+n.lo+".xml",a=new i.XFile(i.XFileConstants.Pc+"/"+r,i.RelationshipConstants.bb),o=t.ze(a),e.sp.control.rid=o,l=A.writeCtrlProps(e),n.fo.file(a.fileName.substring(1),l)})},e.prototype.fp=function(e,t,r){var i=this;e&&(i.ap(e,t),e.blipFill.srcRect={},e.blipFill.stretch={},e.blipFill.stretch.fillRect={},e.spid=r,e.nvPicPr&&e.nvPicPr.cNvPicPr&&e.nvPicPr.cNvPicPr.extLst&&e.nvPicPr.cNvPicPr.extLst.ext&&e.nvPicPr.cNvPicPr.extLst.ext[0]&&e.nvPicPr.cNvPicPr.extLst.ext[0].cameraTool&&(e.nvPicPr.cNvPicPr.extLst.ext[0].cameraTool.spid=e.spid))},e.prototype.cp=function(e,t){var r,i,n,a,o,l,s,c=t&&t.blipFill&&t.blipFill.blip&&t.blipFill.blip.blipBlob&&t.blipFill.blip.blipBlob.blob;if(c){for(r=this,i={},v.getPictureInfo(c,i),n=Object.keys(this.ao),a=0;a<n.length;a++)if(o=n[a],this.ao[o].base64Image===i.base64Image)return l=e.ze(this._n[o]),void(t.blipFill.blip.embed=l);r.ko++,s=_(i,r.ko,e),r.fo.file(s.fileName.substring(1),i.base64Image,{base64:!0}),this.ao[s.fileName]=i,this._n[s.fileName]=s,t.blipFill.blip.embed=i.rid}},e.prototype.Mo=function(e,t,r){var n,a,o;if(r)return this.jo++,n=i.XFileConstants.jd+this.jo+"."+i.XFileConstants.nc,a=new i.XFile(i.XFileConstants.Mc+"/"+n,i.RelationshipConstants.eb),a.target=P+n,o=e.ze(a),t.drawingId=o,a},e.prototype.Oo=function(e,t,r){var i,n,a=this,o=a.fo,l=r.pictures;l&&l.length>0&&l.forEach(function(e){a.ko++;var r=_(e,a.ko,t);o.file(r.fileName.substring(1),e.base64Image,{base64:!0})}),r.withDrawingObjects&&(i=25,a.dp(r.shapes,t,i),n=g.writeDrawing(e,r,t),o.file(t.fileName.substring(1),n),a.gp(r.charts))},e.prototype.gp=function(e){if(e&&e.length>0){var t=this.fo;e.forEach(function(e){var r,i=e.chartSpace,n=i&&i.userShapes,o=n&&n.relSizeAnchor;o&&o.length>0&&(r=new a.XmlWriter,r.writeDocument(!1),y.DrawingWriter.WriteCT_ChartDrawing(r,"","userShapes",n),t.file(e.drawingFile.fileName.substring(1),r.getXmlString()))})}},e.prototype.Po=function(e,t,r,n){var a=this,o=e.fi(r);o&&o.length>0&&o.forEach(function(o){var l,s=i.XFileConstants.od+o.id+"."+i.XFileConstants.nc,c=new i.XFile(i.XFileConstants.Sc+"/"+s,i.RelationshipConstants.$a);c.target="../tables/"+s,l=t.ze(c),o.rid=l,a.hp(o,c.fileName,e,r,n)})},e.prototype.hp=function(e,t,r,i,n){var a=this,o=a.fo,l=b.writeTable(e,r,i,n);o.file(t.substring(1),l)},e.prototype.Qo=function(e,t,r,i,n){var a,o,l=this,s=e.Dj(r);s&&s.length>0&&l.ip(e,t,r,s),a=e.Ej(r,"pivot"),a&&a.length>0&&l.ip(e,t,r,a),o=e.Ej(r,"timeline"),o&&o.length>0&&l.jp(e,t,r,o)},e.prototype.jp=function(e,t,r,n){var a,o,l,s,c,u=this;u.no++,a=i.XFileConstants.qd+u.no+"."+i.XFileConstants.nc,o=new i.XFile(i.XFileConstants.Uc+"/"+a,i.RelationshipConstants.tb),o.target="../timelines/"+a,l=t.ze(o),n[0].rid=l,s=u.fo,c=I.writeTimelines(n),s.file(o.fileName.substring(1),c)},e.prototype.ip=function(e,t,r,n){var a,o,l,s,c,u=this;u.mo++,a=i.XFileConstants.pd+u.mo+"."+i.XFileConstants.nc,o=new i.XFile(i.XFileConstants.Tc+"/"+a,i.RelationshipConstants.jb),o.target="../slicers/"+a,l=t.ze(o),n[0].rid=l,s=u.fo,c=w.writeSlicer(n),s.file(o.fileName.substring(1),c)},e.prototype.yo=function(e,t,r){var n,a,o=this;t&&(n=e.fi(),a={},t.forEach(function(e){var t,l,s,c,u,d=Object.keys(a);0!==d.length&&a[e.name]||(o.oo++,t=i.XFileConstants.rd+o.oo+"."+i.XFileConstants.nc,l=new i.XFile(i.XFileConstants.Wc+"/"+t,i.RelationshipConstants.kb),l.target="slicerCaches/"+t,s=r.ze(l),a[e.name]=s,e.cacheRid=s,c=o.fo,u=w.writeTableSlicerCache(e,n),c.file(l.fileName.substring(1),u))}))},e.prototype.wo=function(e,t){var r,a=this;e&&(r={},e.forEach(function(e){var o,l,s,c,u,d,f,p=Object.keys(r);0!==p.length&&r[e.name]||(n.isNullOrUndefined(e.boundsStartDate)?(a.oo++,d=i.XFileConstants.rd+a.oo+"."+i.XFileConstants.nc,f=new i.XFile(i.XFileConstants.Wc+"/"+d,i.RelationshipConstants.kb),f.target="slicerCaches/"+d,s=t.ze(f),r[e.name]=s,e.cacheRid=s,c=a.fo,u=w.writePivotSlicerCache(e),c.file(f.fileName.substring(1),u)):(a.po++,o=i.XFileConstants.sd+a.po+"."+i.XFileConstants.nc,l=new i.XFile(i.XFileConstants.Xc+"/"+o,i.RelationshipConstants.ub),l.target="timelineCaches/"+o,s=t.ze(l),r[e.name]=s,e.cacheRid=s,c=a.fo,u=I.writePivotTimelineCache(e),c.file(l.fileName.substring(1),u)))}))},e.prototype.Ro=function(e,t,r,i){var n,a=e.Rj(r);a&&a.length>0&&this.kp(e,t,a,!0),n=e.Pj(r),n&&n.length>0&&this.kp(e,t,n,!1)},e.prototype.kp=function(e,t,r,n){var a,o,l,s;this.ho++,a=i.XFileConstants.Kc+this.ho+"."+i.XFileConstants.oc,o=new i.XFile(i.XFileConstants.Mc+"/"+a,i.RelationshipConstants.ab),o.target=P+a,this.lp(r,o),l=t.ze(o),n&&(e.jn=l),s=C.writeVmlDrawingFile(r),this.fo.file(o.fileName.substring(1),s)},e.prototype.lp=function(e,t){var r=this;e.forEach(function(e){r.ko++;var i=_(e,r.ko,t);r.fo.file(i.fileName.substring(1),e.base64Image,{base64:!0}),t.relationFiles[e.rid]=i})},e.prototype.Co=function(e){var t,r,n,a=this,o=a.ro.Eh;o&&(t=i.XFileConstants.Fd,r=new i.XFile(i.XFileConstants.Cb+"/"+t,i.RelationshipConstants.sb),r.target=t,e.ze(r),n=S.getMetadataContent(o),a.fo.file(r.fileName.substring(1),n))},e.prototype.wn=function(){x.clearCache(),this.ro=D},e}(),t.XlsxWriter=L},"./src/xml-io/node-helper.ts":function(e,t,r){"use strict";var i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/datamodel/excel-style.ts"),n=i.UnitHelper.emuToPixles,a=function(){function e(){}return e.Vm=function(e,t){return"1"===e||"0"!==e&&t},e.Wm=function(e,t){if(e){var r=parseFloat(e);if(!isNaN(r))return r}return t},e.Xm=function(e,t){if(e){var r=parseInt(e,10);if(!isNaN(r))return r}return t},e.He=function(e){return Array.isArray(e)||(e=e?[e]:[]),e},e.Ym=function(e,t,r){return r=r||t,e[t]&&e[t][r]},e.bn=function(e,t){e&&(t.x=n(parseInt(e._attr.x,10)),t.y=n(parseInt(e._attr.y,10)))},e.cn=function(e,t){e&&(t.width=n(parseInt(e._attr.cx,10)),t.height=n(parseInt(e._attr.cy,10)))},e.dn=function(t){if(t)return{col:parseInt(e.Ym(t,"xdr:col"),10),colOffset:n(parseInt(e.Ym(t,"xdr:colOff"),10)),row:parseInt(e.Ym(t,"xdr:row"),10),rowOffset:n(parseInt(e.Ym(t,"xdr:rowOff"),10))}},e}(),t.XmlNodeHelper=a},"./src/xml-io/xml-parser.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/xml-io/xml-reader.ts");function n(e,t){var r,n,o;if(e){for(r=new i.XmlReader,n={},r.reset(),r.setXml(e),r.keepRootNamespace=t;r.read();)if(2!==r.elementType){for(o={},o._attr={},n[r.name()]=o;r.moveToNextAttribute();)o._attr[r.readAttributeNameAsString()]=r.readContentAsString();3!==r.elementType&&a(r,o)}return n}}t.parseXmlToObject=n;function a(e,t){for(var r,i,n,o=e.depth;e.read()&&!(e.depth<=o);)if(1===e.nodeType()){for(r={},i=e.name(),t[i]?(Array.isArray(t[i])||(t[i]=[t[i]]),t[i].push(r)):t[i]=r,r._attr={};e.moveToNextAttribute();)r._attr[e.readAttributeNameAsString()]=e.readContentAsString();if(3===e.elementType)continue;n=e.readElementContentAsString(),1===(1&e.elementType)&&""!==n&&e.mp>e.rn&&("preserve"===r._attr["xml:space"]&&(n=e.readElementContentAsString(!0)),r[i]=n),a(e,r)}}function o(e,t){var r,i,n,a="<"+t,l=e._attr;if(l)for(r in l)l.hasOwnProperty(r)&&(a+=" "+r+'="'+l[r]+'"');a+=">",i=function(t){e.hasOwnProperty(t)&&l!==e[t]&&(Array.isArray(e[t])?e[t].forEach(function(e){a+=o(e,t)}):a+="object"==typeof e[t]?o(e[t],t):e[t])};for(n in e)i(n);return a+="</"+t+">"}t.convertObjectToXml=o},"./src/xml-io/xml-reader.ts":function(e,t,r){"use strict";var i,n,a,o,l,s;Object.defineProperty(t,"__esModule",{value:!0}),i=r("./src/common/common.ts"),n=i.Util.oa,a="<![CDATA[",o="]]>",l=null,s=function(){function e(){this.np=-1,this.op=0,this.pp=0,this.qp=0,this.buffer="",this.elementType=2,this.depth=0,this.rn=0,this._l=0,this.rp=0,this.tp=0,this.vp=0,this.wp=0,this.mp=0,this.xp=0,this.xmlIndex=0,this.xml="",this.yp=!1,this.zp=1/0,this.reset()}return e.prototype.reset=function(){var e=this;e.np=-1,e.op=0,e.pp=0,e.qp=0,e.buffer="",e.elementType=2,e.depth=0,e.rn=0,e._l=0,e.rp=0,e.tp=0,e.vp=0,e.wp=0,e.mp=0,e.xp=0,e.xmlIndex=0,e.xml="",e.yp=!1,e.zp=1/0,e.Ap=0,e.Bp=""},e.prototype.setXml=function(e){this.xml=e,this.zp=e.length},e.prototype.name=function(){var e,t=this,r=t.buffer.slice(t.rn,t.rn+t._l);return r&&!t.keepRootNamespace?(e=r.lastIndexOf(":")+1,e===t.Ap&&r.substr(0,e)===t.Bp||(e=0),r.substr(e)):r},e.prototype.nodeType=function(){return 2===this.elementType?15:1},e.prototype.fillBuffer=function(){var e=this,t=e.buffer.length;return 0===t&&(e.buffer=e.xml,e.np=0,e.mp=0,e.pp=e.buffer.length,!0)},e.prototype.read=function(){var e,t,r,i,n,l,s,c,u,d,f,p=this,h=p.zp;for(p.op=Number.MAX_VALUE,p.yp=!1;p.np<h;){if(p.np++,p.np>=p.pp&&!p.fillBuffer())return!1;if(e=p.buffer[p.np],"<"===e)break}for(t=["elementStarting","elementStart","elementNameEnd","elementEnd","elementContent","elementContentStart","endElementStart"],r=t.length,i=0,n=!1;i<r;){if(p.np>=h)return!1;switch(t[i]){case"elementStarting":
49
+ for(n=!1;p.np<h;){if(p.np++,e=p.buffer[p.np],"/"===e){i=6,n=!0;break}if("?"===e){for(p.elementType=3;p.np<h;)if(p.np++,e=p.buffer[p.np],">"===e)return!0}else if(" "!==e&&"\r"!==e&&"\n"!==e&&"\t"!==e){p.rn=p.np;break}}if(n)continue;case"elementStart":for(n=!1,1===p.elementType&&p.depth++;p.np<h;){if(p.np++,e=p.buffer[p.np],">"===e){p._l=p.np-p.rn,i=3,n=!0;break}if(" "===e||"\r"===e||"\n"===e||"\t"===e||"/"===e){p._l=p.np-p.rn,p.op=p.np;break}}if(0===p.depth&&!p.keepRootNamespace&&p._l&&(l=p.buffer.substr(p.rn,p._l),s=l.lastIndexOf(":")+1,s&&(p.Bp=l.substr(0,s),p.Ap=s)),n)continue;case"elementNameEnd":for(c=!1;p.np<h&&(p.np++,e=p.buffer[p.np],'"'===e&&(c=!c),c||">"!==e););for(u=p.np;u>0;){if(u--,e=p.buffer[u],"/"===e)return p.qp=u,p.elementType=3,!0;if(" "!==e&&"\r"!==e&&"\n"!==e&&"\t"!==e){p.qp=u,p.elementType=1,i=4;break}}continue;case"elementEnd":for(u=p.np;u>0;){if(u--,e=p.buffer[u],"/"===e)return p.elementType=3,!0;if(" "!==e&&"\r"!==e&&"\n"!==e&&"\t"!==e){p.elementType=1;break}}case"elementContent":for(d=!1;p.np<h;){if(p.np++,e=p.buffer[p.np],p.buffer.substr(p.np,9)===a)return f=p.buffer.indexOf(o,p.np),p.mp=p.np,p.xp=f+o.length,p.np=p.xp-1,p.yp=!0,!0;if("<"===e)return p.np--,d&&(p.xp=p.np+1),!0;if(p.mp=p.np,d=!0,"\r"!==e&&"\n"!==e&&"\t"!==e)break}case"elementContentStart":for(;p.np<h;)if(p.np++,e=p.buffer[p.np],"<"===e)return p.xp=p.np,p.np--,!0;case"endElementStart":for(2!==p.elementType&&3!==p.elementType||p.depth--,p.elementType=2,p.rn=p.np+1;p.np<h;)if(p.np++,e=p.buffer[p.np],">"===e)return p._l=p.np-p.rn,!0}}},e.prototype.fastRead=function(){var e,t,r,i,n,l,s,c,u,d=this,f=d.zp;for(d.op=Number.MAX_VALUE,d.yp=!1;d.np<f;){if(d.np++,d.np>=d.pp&&!d.fillBuffer())return!1;if(e=d.buffer[d.np],"<"===e)break}for(t=["elementStarting","elementStart","elementNameEnd","elementEnd","elementContent","elementContentStart","endElementStart"],r=0,i=!1;r<t.length;){if(d.np>=f)return!1;switch(t[r]){case"elementStarting":for(i=!1;d.np<f;){if(d.np++,e=d.buffer[d.np],"/"===e){r=6,i=!0;break}if(" "!==e&&"\r"!==e&&"\n"!==e&&"\t"!==e){d.rn=d.np;break}}if(i)continue;case"elementStart":for(i=!1,1===d.elementType&&d.depth++;d.np<f;){if(d.np++,e=d.buffer[d.np],">"===e){d._l=d.np-d.rn,r=3,i=!0;break}if(" "===e||"\r"===e||"\n"===e||"\t"===e){d._l=d.np-d.rn,d.op=d.np;break}}if(0===d.depth&&!d.keepRootNamespace&&d._l&&(n=d.buffer.substr(d.rn,d._l),l=n.lastIndexOf(":")+1,l&&(d.Bp=n.substr(0,l),d.Ap=l)),i)continue;case"elementNameEnd":for(s=!1;d.np<f&&(d.np++,e=d.buffer[d.np],'"'===e&&(s=!s),s||">"!==e););for(c=d.np;c>0;){if(c--,e=d.buffer[c],"/"===e)return d.qp=c,d.elementType=3,!0;if(" "!==e&&"\r"!==e&&"\n"!==e&&"\t"!==e){d.qp=c,d.elementType=1,r=4;break}}continue;case"elementEnd":for(c=d.np;c>0;){if(c--,e=d.buffer[c],"/"===e)return d.elementType=3,!0;if(" "!==e&&"\r"!==e&&"\n"!==e&&"\t"!==e){d.elementType=1;break}}case"elementContent":for(;d.np<f;){if(d.np++,e=d.buffer[d.np],d.buffer.substr(d.np,9)===a)return u=d.buffer.indexOf(o,d.np),d.mp=d.np,d.xp=u+o.length,d.np=d.xp-1,d.yp=!0,!0;if("<"===e)return d.np--,!0;if("\r"!==e&&"\n"!==e&&"\t"!==e){d.mp=d.np;break}}case"elementContentStart":for(;d.np<f;)if(d.np++,e=d.buffer[d.np],"<"===e)return d.xp=d.np,d.np--,!0;case"endElementStart":for(2!==d.elementType&&3!==d.elementType||d.depth--,d.elementType=2;d.np<f;)if(d.np++,e=d.buffer[d.np],">"===e)return!0}}},e.prototype.moveToNextAttribute=function(){for(var e,t,r=this,i=r.zp;r.op<i;){if(r.op>=r.qp-1)return!1;if(r.op++,e=r.buffer[r.op]," "!==e&&"\r"!==e&&"\n"!==e&&"\t"!==e){r.rp=r.op;break}}for(;r.op<i;)if(r.op++,e=r.buffer[r.op],"="===e||" "===e||"\r"===e||"\n"===e||"\t"===e){r.tp=r.op-r.rp;break}for(t='"';r.op<i;)if(r.op++,e=r.buffer[r.op],'"'===e||"'"===e){t=e,r.vp=r.op+1;break}for(;r.op<i;)if(r.op++,e=r.buffer[r.op],e===t)return r.wp=r.op,!0},e.prototype.readContentAsString=function(){var e=this;return e.buffer.slice(e.vp,e.wp)},e.prototype.readContentAsBoolean=function(e){var t=this,r=t.buffer[t.vp];return"1"===r||"t"===r||"0"!==r&&"f"!==r&&e},e.prototype.readContentAsInt=function(e){var t=this,r=parseInt(t.buffer.slice(t.vp,t.wp),10);return isNaN(r)?e:r},e.prototype.readContentAsDouble=function(e){var t=this,r=parseFloat(t.buffer.slice(t.vp,t.wp));return isNaN(r)?e:r},e.prototype.readContentAsError=function(){var e=this.readContentAsString(),t=l;switch(e){case"#DIV/0!":t=7;break;case"#N/A":t=42;break;case"#NAME?":t=29;break;case"#NULL!":t=0;break;case"#NUM!":t=36;break;case"#REF!":t=23;break;case"#VALUE!":t=15;break;case"#SPILL!":t=99}return t!==l?{_error:e,_code:t}:l},e.prototype.readElementContentAsString=function(e){var t,r,i,l=this,s=l.mp;if(this.mp<=this.rn)return"";if(e)for(t=l.buffer,r=t[s-1];s>0&&(" "===r||"\r"===r||"\n"===r||"\t"===r);)s--,r=t[s-1];return i=l.buffer.slice(s,l.xp),l.yp&&(i=n(i.replace(a,"").replace(o,"")),l.yp=!1),i},e.prototype.readElementContentAsInt=function(e){var t=this,r=parseInt(t.buffer.slice(t.mp,t.xp),10);return isNaN(r)?e:r},e.prototype.readElementContentAsDouble=function(e){var t=this,r=parseFloat(t.buffer.slice(t.mp,t.xp));return isNaN(r)?e:r},e.prototype.readElementContentAsBoolean=function(e){var t=this,r=t.buffer[t.mp];return"1"===r||"t"===r||"0"!==r&&"f"!==r&&e},e.prototype.readAttributeNameAsString=function(){var e=this;return e.buffer.slice(e.rp,e.rp+e.tp)},e.prototype.readFullElement=function(){var e,t,r=this;if(2===r.elementType)return"";if(e=r.rn-1,3===r.elementType)return r.buffer.slice(e,r.qp+2);if(t=r.depth,1===r.elementType){for(;r.read()&&!(r.depth<=t););return r.buffer.slice(e,r.rn+r._l+1)}return""},e}(),t.XmlReader=s},"./src/xml-io/xml-writer.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function i(e){var t=this;t.size=e||500,t.blockIndex=-1,t.stringIndex=0,t.blocks=[],this.createNewArray()}i.prototype.createNewArray=function(){var e=this,t=Array(e.size);e.blocks.push(t),e.blockIndex++,e.stringIndex=0},i.prototype.addString=function(e){var t=this;t.isFullArray()&&t.createNewArray(),t.blocks[t.blockIndex][t.stringIndex]=e,t.stringIndex++},i.prototype.getAllString=function(){var e,t,r=this;for(e=0;e<r.blocks.length;e++)r.blocks[e]=r.blocks[e].join("");return t=r.blocks.join(""),r.blocks=null,t},i.prototype.isFullArray=function(){var e=this;return e.stringIndex>e.size-2};var n=function(){function e(){this.xml=new i}return e.prototype.writeDocument=function(e){this.xml.addString('<?xml version="1.0" encoding="UTF-8" '+(e?"":'standalone="yes"')+"?>\r\n")},e.prototype.writeElement=function(e,t,r){void 0===r&&(r=t,t=void 0),this.xml.addString("<"+e),"function"==typeof t&&t(),this.xml.addString(">"),"function"==typeof r&&r(),this.xml.addString("</"+e+">")},e.prototype.writeValue=function(e){this.xml.addString(e)},e.prototype.writeLeafElement=function(e,t){this.xml.addString("<"+e),"function"==typeof t&&t(),this.xml.addString("/>")},e.prototype.writeAttributeString=function(e,t){this.xml.addString(" "+e),"style"===e?this.xml.addString("='"+t+"'"):this.xml.addString('="'+t+'"')},e.prototype.writeElementString=function(e,t){this.xml.addString("<"+e+">"+t+"</"+e+">")},e.prototype.getXmlString=function(){return this.xml.getAllString()},e}();t.XmlWriter=n}})});