@syncfusion/ej2-office-common 35.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +263 -0
- package/.prettierrc.json +5 -0
- package/README.md +167 -0
- package/api-extractor.json +35 -0
- package/core.js +4 -0
- package/dist/ej2-office-common.umd.min.js +11 -0
- package/dist/ej2-office-common.umd.min.js.map +1 -0
- package/dist/es6/ej2-office-common.es2015.js +6585 -0
- package/dist/es6/ej2-office-common.es2015.js.map +1 -0
- package/dist/es6/ej2-office-common.es5.js +7955 -0
- package/dist/es6/ej2-office-common.es5.js.map +1 -0
- package/dist/global/ej2-office-common.min.js +11 -0
- package/dist/global/ej2-office-common.min.js.map +1 -0
- package/dist/global/index.d.ts +14 -0
- package/encryption.js +4 -0
- package/features.js +4 -0
- package/global.json +6 -0
- package/index.js +4 -0
- package/license +10 -0
- package/nuget.config +7 -0
- package/package.json +23 -0
- package/src/all.d.ts +41 -0
- package/src/all.js +38 -0
- package/src/core/index.d.ts +6 -0
- package/src/core/index.js +6 -0
- package/src/core/xml/index.d.ts +7 -0
- package/src/core/xml/index.js +6 -0
- package/src/core/xml/model.d.ts +71 -0
- package/src/core/xml/model.js +20 -0
- package/src/encryption/agile-constants.d.ts +61 -0
- package/src/encryption/agile-constants.js +71 -0
- package/src/encryption/agile-encryption-info.d.ts +46 -0
- package/src/encryption/agile-encryption-info.js +333 -0
- package/src/encryption/agile-password.d.ts +8 -0
- package/src/encryption/agile-password.js +58 -0
- package/src/encryption/cfb-reader.d.ts +11 -0
- package/src/encryption/cfb-reader.js +345 -0
- package/src/encryption/crypto-primitives.d.ts +74 -0
- package/src/encryption/crypto-primitives.js +302 -0
- package/src/encryption/decrypt-encrypted-package.d.ts +16 -0
- package/src/encryption/decrypt-encrypted-package.js +138 -0
- package/src/encryption/encryption-info-xml.d.ts +21 -0
- package/src/encryption/encryption-info-xml.js +282 -0
- package/src/encryption/errors.d.ts +66 -0
- package/src/encryption/errors.js +124 -0
- package/src/encryption/index.d.ts +35 -0
- package/src/encryption/index.js +100 -0
- package/src/features/diagrams/constants.d.ts +83 -0
- package/src/features/diagrams/constants.js +101 -0
- package/src/features/diagrams/diagram-data-model.d.ts +148 -0
- package/src/features/diagrams/diagram-data-model.js +446 -0
- package/src/features/diagrams/diagram-parsers.d.ts +28 -0
- package/src/features/diagrams/diagram-parsers.js +182 -0
- package/src/features/diagrams/diagram-serializers.d.ts +20 -0
- package/src/features/diagrams/diagram-serializers.js +110 -0
- package/src/features/diagrams/diagram-views.d.ts +60 -0
- package/src/features/diagrams/diagram-views.js +213 -0
- package/src/features/diagrams/element-tree.d.ts +55 -0
- package/src/features/diagrams/element-tree.js +197 -0
- package/src/features/diagrams/errors.d.ts +17 -0
- package/src/features/diagrams/errors.js +59 -0
- package/src/features/diagrams/index.d.ts +17 -0
- package/src/features/diagrams/index.js +17 -0
- package/src/features/diagrams/smart-art-catalog.d.ts +107 -0
- package/src/features/diagrams/smart-art-catalog.js +422 -0
- package/src/features/diagrams/smart-art-diagram.d.ts +96 -0
- package/src/features/diagrams/smart-art-diagram.js +258 -0
- package/src/features/index.d.ts +11 -0
- package/src/features/index.js +11 -0
- package/src/features/ink/constants.d.ts +54 -0
- package/src/features/ink/constants.js +54 -0
- package/src/features/ink/index.d.ts +18 -0
- package/src/features/ink/index.js +15 -0
- package/src/features/ink/ink-effects.d.ts +35 -0
- package/src/features/ink/ink-effects.js +45 -0
- package/src/features/ink/ink-model.d.ts +237 -0
- package/src/features/ink/ink-model.js +406 -0
- package/src/features/ink/ink-parser.d.ts +59 -0
- package/src/features/ink/ink-parser.js +671 -0
- package/src/features/ink/ink-serializer.d.ts +16 -0
- package/src/features/ink/ink-serializer.js +281 -0
- package/src/features/ink/ink-units.d.ts +33 -0
- package/src/features/ink/ink-units.js +92 -0
- package/src/features/ink/ink-xml.d.ts +26 -0
- package/src/features/ink/ink-xml.js +165 -0
- package/src/features/ink/trace-codec.d.ts +127 -0
- package/src/features/ink/trace-codec.js +266 -0
- package/src/features/mathml/constants.d.ts +47 -0
- package/src/features/mathml/constants.js +47 -0
- package/src/features/mathml/errors.d.ts +50 -0
- package/src/features/mathml/errors.js +69 -0
- package/src/features/mathml/index.d.ts +30 -0
- package/src/features/mathml/index.js +22 -0
- package/src/features/mathml/math-factory.d.ts +26 -0
- package/src/features/mathml/math-factory.js +568 -0
- package/src/features/mathml/model/controls.d.ts +896 -0
- package/src/features/mathml/model/controls.js +1541 -0
- package/src/features/mathml/model/enums.d.ts +153 -0
- package/src/features/mathml/model/enums.js +133 -0
- package/src/features/mathml/model/math-element.d.ts +173 -0
- package/src/features/mathml/model/math-element.js +315 -0
- package/src/features/mathml/model/roots.d.ts +82 -0
- package/src/features/mathml/model/roots.js +177 -0
- package/src/features/mathml/openxml.d.ts +56 -0
- package/src/features/mathml/openxml.js +87 -0
- package/src/features/mathml/parse/math-parser.d.ts +43 -0
- package/src/features/mathml/parse/math-parser.js +636 -0
- package/src/features/mathml/serialize/math-serializer.d.ts +34 -0
- package/src/features/mathml/serialize/math-serializer.js +749 -0
- package/src/features/smart-art/diagram-xml.d.ts +63 -0
- package/src/features/smart-art/diagram-xml.js +459 -0
- package/src/features/smart-art/errors.d.ts +24 -0
- package/src/features/smart-art/errors.js +47 -0
- package/src/features/smart-art/index.d.ts +26 -0
- package/src/features/smart-art/index.js +26 -0
- package/src/features/smart-art/minimal-samples.d.ts +18 -0
- package/src/features/smart-art/minimal-samples.js +40 -0
- package/src/features/smart-art/mutators.d.ts +60 -0
- package/src/features/smart-art/mutators.js +566 -0
- package/src/features/smart-art/namespaces.d.ts +153 -0
- package/src/features/smart-art/namespaces.js +163 -0
- package/src/features/smart-art/package-graph.d.ts +61 -0
- package/src/features/smart-art/package-graph.js +413 -0
- package/src/features/smart-art/parse-colors.d.ts +19 -0
- package/src/features/smart-art/parse-colors.js +39 -0
- package/src/features/smart-art/parse-data.d.ts +21 -0
- package/src/features/smart-art/parse-data.js +121 -0
- package/src/features/smart-art/parse-layout.d.ts +20 -0
- package/src/features/smart-art/parse-layout.js +40 -0
- package/src/features/smart-art/parse-rel-ids.d.ts +71 -0
- package/src/features/smart-art/parse-rel-ids.js +233 -0
- package/src/features/smart-art/parse-style.d.ts +19 -0
- package/src/features/smart-art/parse-style.js +39 -0
- package/src/features/smart-art/point-text.d.ts +80 -0
- package/src/features/smart-art/point-text.js +424 -0
- package/src/features/smart-art/register.d.ts +33 -0
- package/src/features/smart-art/register.js +95 -0
- package/src/features/smart-art/serialize.d.ts +40 -0
- package/src/features/smart-art/serialize.js +48 -0
- package/src/features/smart-art/types.d.ts +403 -0
- package/src/features/smart-art/types.js +28 -0
- package/src/global.js +1 -0
- package/src/index.d.ts +21 -0
- package/src/index.js +22 -0
- package/tsconfig.build.json +13 -0
- package/tsconfig.harness.json +32 -0
- package/tslint.json +111 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: ej2-office-common.umd.min.js
|
|
3
|
+
* version : 35.1.37
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
|
+
* Use of this code is subject to the terms of our license.
|
|
6
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
+
* applicable laws.
|
|
9
|
+
*/
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).ej={})}(this,function(e){"use strict";var F="http://www.w3.org/2003/InkML",f=Object.freeze({bronze:"#BB5B18",silver:"#B4C3DA",gold:"#CC912C",roseGold:"#EEB3A6",ocean:"#0B868D",lava:"#DA0C07",rainbow:"#FF4E00",galaxy:"#AE198D"});function T(e){return f[e]}var N=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},U="!",I="'",j='"';function v(e){var t,r,e=e.trim();if(0===e.length)return{channelRows:[],points:[],stats:{packetCount:0,channelValueCount:0,pointCount:0}};var n,i,e=e.split(","),o=[],a=[],s=0,u=[],c=[],l="absolute";try{for(var p=N(e),f=p.next();!f.done;f=p.next()){var h=f.value.trim().split(/\s+/).filter(function(e){return 0<e.length});if(0!==h.length){for(var d=l,v=[],y=0;y<h.length;y++){var b,m,g,w,P,_=h[y];void 0!==_&&((i=void 0)!==(m=(b=0===(n=_).length?{prefix:void 0,raw:n}:(i=n.charAt(0))===U?{prefix:"absolute",raw:n.slice(1)}:i===I?{prefix:"first",raw:n.slice(1)}:i===j?{prefix:"second",raw:n.slice(1)}:{prefix:void 0,raw:n}).prefix)&&(l=d=m),g=function(e){if(0!==e.length)return e=Number(e),Number.isFinite(e)?e:void 0}(b.raw),s+=1,void 0!==g)&&(w=void 0,"absolute"===d?(w=g,c[y]=0):"first"===d?(w=(null!=u[y]?u[y]:0)+g,c[y]=g):(c[y]=P=(null!=c[y]?c[y]:0)+g,w=(null!=u[y]?u[y]:0)+P),v[y]=w)}o.push(v);var u=v.slice(),x=v[0],S=v[1];void 0!==x&&void 0!==S&&a.push({x:x,y:S})}}}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(t)throw t.error}}return{channelRows:o,points:a,stats:{packetCount:o.length,channelValueCount:s,pointCount:a.length}}}function y(e){return 0===e.length?"":e.map(function(e){return g(e.x)+" "+g(e.y)}).join(", ")}function g(e){return Number.isInteger(e),String(e)}function w(e){var t=e[0];if(void 0===t)return{minX:0,minY:0,maxX:0,maxY:0};for(var r=t.x,n=t.y,i=r,o=n,a=1;a<e.length;a++){var s=e[a];void 0!==s&&(s.x<r&&(r=s.x),s.y<n&&(n=s.y),s.x>i&&(i=s.x),s.y>o)&&(o=s.y)}return{minX:r,minY:n,maxX:i,maxY:o}}function P(e,t){var r,n,i,o;return 0===e.length?[]:(r=(n=w(e)).maxX-n.minX,n=n.maxY-n.minY,i=0<r?t.width/r:0,t=0<n?t.height/n:0,o=0<r&&0<n?Math.min(i,t):0<r?i:0<n?t:0,e.map(function(e){return{x:e.x*o,y:e.y*o}}))}function z(e,t){var r,n,i,o,a;return 0===e.length?[]:(r=w(e),n=r.maxX-r.minX,i=r.maxY-r.minY,o=0<n?t.width/n:0,a=0<i?t.height/i:0,e.map(function(e){return{x:0<n?(e.x-r.minX)*o:0,y:0<i?(e.y-r.minY)*a:0}}))}var D=function(){return(D=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},V=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},X=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(V(arguments[t]));return e},Y=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},q=Symbol.for("@syncfusion/ej2-office-common.OfficeInk"),K=1.42,G="#000000",J="pt";function W(e,t){t={color:e.color,size:{width:e.size.width,height:e.size.height},units:e.units,inkEffect:e.inkEffect,ignorePressure:e.ignorePressure,id:t};return void 0!==e.tip&&(t.tip=e.tip),void 0!==e.rasterOp&&(t.rasterOp=e.rasterOp),void 0!==e.anchorX&&(t.anchorX=e.anchorX),void 0!==e.anchorY&&(t.anchorY=e.anchorY),void 0!==e.scaleFactor&&(t.scaleFactor=e.scaleFactor),void 0!==e.transparency&&(t.transparency=e.transparency),void 0!==e.antiAliased&&(t.antiAliased=e.antiAliased),void 0!==e.fitToCurve&&(t.fitToCurve=e.fitToCurve),t}function Z(e){var t={id:e.id,channels:e.channels.map(function(e){var t={name:e.name};return void 0!==e.type&&(t.type=e.type),void 0!==e.min&&(t.min=e.min),void 0!==e.max&&(t.max=e.max),void 0!==e.units&&(t.units=e.units),t})};return void 0!==e.inkSourceId&&(t.inkSourceId=e.inkSourceId),t}function $(e){return Object.defineProperty(e,q,{value:!0,enumerable:!1,configurable:!1,writable:!1}),e}function Q(e){return $(D({traces:e.traces,brushes:e.brushes,scaleMode:"decoded"},void 0!==e.contexts?{contexts:e.contexts}:{},void 0!==e.traceTree?{traceTree:e.traceTree}:{}))}function ee(e){return null!==e&&"object"==typeof e&&!0===e[q]}var te="http://www.w3.org/XML/1998/namespace",re=12700;function ne(e,t){var r;switch((null!=t?t:"cm").trim().toLowerCase()){case"pt":r=e;break;case"mm":r=e/25.4*72;break;case"px":r=e/4*3;break;case"in":r=72*e;break;case"cm":r=e/2.54*72;break;default:r=e/re}return t=r,Math.round(100*t)/100}function ie(e,t){switch((null!=t?t:"cm").trim().toLowerCase()){case"pt":return e;case"mm":return 25.4*e/72;case"px":return 96*e/72;case"in":return e/72;case"cm":return 2.54*e/72;case"emu":return e*re;default:return 2.54*e/72}}function oe(e){return Number.isFinite(e)?-1===(e=e.toFixed(3)).indexOf(".")?e:e.replace(/\.?0+$/,""):"0"}var ae=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},se="inkml";function O(e,t,r,n){return{kind:"element",namespaceUri:F,localName:e,prefix:se,attributes:t=void 0===t?[]:t,namespaceDeclarations:n=void 0===n?[]:n,children:r=void 0===r?[]:r}}function n(e,t){return{namespaceUri:"",localName:e,prefix:"",value:t}}function ue(e){return{namespaceUri:te,localName:"id",prefix:"xml",value:e}}function B(e,t,r){var n,i,o,a;try{for(var s=ae(e.attributes),u=s.next();!u.done;u=s.next()){var c=u.value;if(c.localName===t&&(void 0===r||c.namespaceUri===r))return c.value}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}if("id"===t)try{for(var l=ae(e.attributes),p=l.next();!p.done;p=l.next())if("id"===(c=p.value).localName&&("xml"===c.prefix||c.namespaceUri===te))return c.value}catch(e){o={error:e}}finally{try{p&&!p.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}}function R(e){return e.namespaceUri===F||""===e.namespaceUri}var ce=function(){return(ce=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},le=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},pe="content/invalid-ink-trace",fe=new Set(["X","Y","Z","S","T","SN","F","TP","BP","OTx","OTy","OA","OE","OR","RP","RR","RY","TW","TH","TC"]),he=new Set(["dev","in","cm","deg","rad","s","lb","g"]),de=new Set(["timestamp","canvas","canvasTransform","mapping","bind","table","matrix","traceView","annotation","annotationXML","channelProperty","traceProperty","brushPropertyRef","intermittentInfo","latency","sampleRate","sampleRateExact","srcRef","channelRef"]),ve=new Set(["width","height","color","transparency","tip","rasterop","antialiased","fittocurve","ignorepressure","inkeffects","anchorx","anchory","scalefactor"]),ye=new Map([["none","none"],["pencil","pencil"],["rainbow","rainbow"],["galaxy","galaxy"],["lava","lava"],["ocean","ocean"],["rosegold","roseGold"],["gold","gold"],["silver","silver"],["bronze","bronze"]]),be=.053,me=.001,ge="#000000",we="ellipse",Pe="copyPen",Ae="#ctx0",Ce={items:[],traceCount:0,packetCount:0,pointCount:0,channelValueCount:0};function Le(e,t){var r,n,i,o,a;try{for(var s=le(e.children),u=s.next();!u.done;u=s.next()){var c=u.value;a=o=void 0,"element"===(i=c).kind&&R(i)&&("traceFormat"===i.localName?Le(i,t):"channel"===i.localName&&(o=null!=(o=B(i,"name"))?o:"",fe.has(o))&&(o={name:o},void 0!==(a=B(i,"type"))&&(o.type=a),void 0!==(a=B(i,"min"))&&(o.min=a),void 0!==(a=B(i,"max"))&&(o.max=a),(void 0!==(a=B(i,"units"))&&he.has(a)||void 0!==a)&&(o.units=a),t.push(o)))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}function Te(e,t){var r,n=null!=(n=B(e,"brushRef"))?n:"",i=null!=(i=B(e,"contextRef"))?i:"",o=B(e,"timeOffset"),e=function e(t){var r,n,i="";try{for(var o=ae(t.children),a=o.next();!a.done;a=o.next()){var s=a.value;"text"===s.kind?i+=s.value:i+=e(s)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}(e).trim(),a=v(e),e=(0<e.length&&0===a.points.length&&(r={code:pe,message:"malformed or untokenizable ink trace text",traceIndex:t}),{points:a.points.map(function(e){return{x:e.x,y:e.y}}),brushRef:0<n.length?Ue(n.replace(/^#/,"")):"",contextRef:0<i.length?Ue(i.replace(/^#/,"")):Ae});return 0<n.length&&(e.brushRef=n.startsWith("#")?n:Ue(n)),void 0!==o&&(e.timeOffset=o),{trace:e,node:{kind:"trace",traceIndex:t},stats:{packetCount:a.stats.packetCount,pointCount:a.stats.pointCount,channelValueCount:a.stats.channelValueCount},diagnostic:r}}function Ne(e){var t=B(e,"id",te);return void 0!==t?t:B(e,"id")}function Ue(e){return e.startsWith("#")?e:"#"+e}function Ie(e){var e=e.trim();if(0!==e.length)return e.startsWith(".")&&(e="0"+e),e=Number(e),Number.isFinite(e)?e:void 0}function je(e){e=e.trim().toLowerCase();return"1"===e||"true"===e}var Be=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Re=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Fe=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Re(arguments[t]));return e},He="#ctx0",ze="inkSrc0",De="-2.14748E9",Ve="2.14748E9",Xe="cm";function Ye(){return{id:He,inkSourceId:ze,channels:[{name:"X",type:"integer",min:De,max:Ve,units:Xe},{name:"Y",type:"integer",min:De,max:Ve,units:Xe}]}}function qe(e){var t=Ge(e.id),r=Ge(null!=e.inkSourceId?e.inkSourceId:ze),e=(0<e.channels.length?e:Ye()).channels.map(function(e){var t=[n("name",e.name)];return void 0!==e.type&&t.push(n("type",e.type)),void 0!==e.min&&t.push(n("min",e.min)),void 0!==e.max&&t.push(n("max",e.max)),void 0!==e.units&&t.push(n("units",e.units)),O("channel",t,[])}),e=O("traceFormat",[],e),r=O("inkSource",[ue(r)],[e]);return O("context",[ue(t)],[r])}function k(e,t,r){e=[n("name",e),n("value",t)];return void 0!==r&&e.push(n("units",r)),O("brushProperty",e,[])}function Ke(e){var t=[],r=0<e.contextRef.length?Je(e.contextRef):He,r=(t.push(n("contextRef",r)),0<e.brushRef.length&&t.push(n("brushRef",Je(e.brushRef))),void 0!==e.timeOffset&&t.push(n("timeOffset",e.timeOffset)),y(e.points));return O("trace",t,0<r.length?[{kind:"text",value:r}]:[])}function Ge(e){return e.startsWith("#")?e.slice(1):e}function Je(e){return e.startsWith("#")?e:"#"+e}var We="http://schemas.openxmlformats.org/officeDocument/2006/math",Ze=["m","m1","m2","m3","m4","m5"],$e="http://schemas.openxmlformats.org/wordprocessingml/2006/main",Qe="http://www.w3.org/XML/1998/namespace",et=["left","right","center","centerGroup"],tt=["bar","skw","lin","noBar"],rt=["centered","match"],nt=["undOvr","subSup"],it=["top","bot"],ot=["before","after","repeat"],at=["--","-+","+-"],st=["roman","script","fraktur","double-struck","sans-serif","monospace"],ut=["p","b","i","bi"];function ct(e){return-1!==et.indexOf(e)?e:void 0}function lt(e){return-1!==tt.indexOf(e)?e:void 0}function pt(e){return-1!==rt.indexOf(e)?e:void 0}function ft(e){return-1!==nt.indexOf(e)?e:void 0}function ht(e){return-1!==it.indexOf(e)?e:void 0}function dt(e){return-1!==st.indexOf(e)?e:void 0}function vt(e){return-1!==ut.indexOf(e)?e:void 0}function yt(e){return Number.isInteger(e)&&-2<=e&&e<=2}function bt(e){return Number.isInteger(e)&&1<=e&&e<=255}function mt(e){if(void 0!==e)return"1"===(e=e.toLowerCase())||"true"===e||"on"===e||"0"!==e&&"false"!==e&&"off"!==e&&void 0}gt=function(e,t){return(gt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var gt,wt,t=function(e,t){function r(){this.constructor=e}gt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},_e=(wt=Error,t(Pt,wt),Pt);function Pt(e,t,r){var n=this.constructor,e=wt.call(this,e)||this;return e.name="MathmlValidationError",e.elementPath=t,e.constraintKind=r,Object.setPrototypeOf(e,n.prototype),e}_t=Error,t(St,_t);var _t,xt=St;function St(e){var t=this.constructor,e=_t.call(this,e=void 0===e?"Math equation is preserve-only and cannot be mutated":e)||this;return e.isPreserveOnly=!0,e.name="MathmlReadOnlyError",Object.setPrototypeOf(e,t.prototype),e}Mt=function(e,t){return(Mt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var Mt,t=function(e,t){function r(){this.constructor=e}Mt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},Ot=function(){return(Ot=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},kt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Et=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(kt(arguments[t]));return e},r=(Object.defineProperty(i.prototype,"preserveOnly",{get:function(){return this._preserveOnly},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"preservedXml",{get:function(){return this._preservedXml},enumerable:!0,configurable:!0}),i.prototype.setMutationListener=function(e){this._onMutate=e},i.prototype.markPreserveOnly=function(e){this._preserveOnly=!0,this._preservedXml=e},i.prototype.attachPreservedXml=function(e){this._preservedXml=e},i.prototype.notifyMutated=function(){if(this._preserveOnly)throw new xt;null!=this._onMutate&&this._onMutate()},i.prototype.assertMutable=function(){if(this._preserveOnly)throw new xt},i);function i(){this._preserveOnly=!1}t(Lt,At=r),Object.defineProperty(Lt.prototype,"value",{get:function(){return this._value},set:function(e){this.assertMutable(),this._value=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Lt.prototype,"xmlSpace",{get:function(){return this._xmlSpace},set:function(e){this.assertMutable(),this._xmlSpace=e,this.notifyMutated()},enumerable:!0,configurable:!0});var At,Ct=Lt;function Lt(e,t){void 0===e&&(e="");var r=At.call(this)||this;return r.type="t",r._value=e,r._xmlSpace=t,r}t(Ut,Tt=r),Object.defineProperty(Ut.prototype,"properties",{get:function(){return this._properties},set:function(e){if(this.assertMutable(),void 0!==e.argSz&&!yt(e.argSz))throw new _e("argSz must be an integer in −2..2 (ST_Integer2), got "+String(e.argSz),"arg.argPr.argSz","value-range");this._properties=Object.freeze(Ot({},e)),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Ut.prototype,"item",{get:function(){return this._item},set:function(e){this.assertMutable(),this._item=Et(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Ut.prototype,"ctrlPr",{get:function(){return this._ctrlPr},set:function(e){this.assertMutable(),this._ctrlPr=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Ut.prototype.appendItem=function(e){return this.assertMutable(),this._item.push(e),this.notifyMutated(),e};var Tt,Nt=Ut;function Ut(e,t,r){void 0===e&&(e={}),void 0===t&&(t=[]);var n=Tt.call(this)||this;if(n.type="arg",void 0===e.argSz||yt(e.argSz))return n._properties=Object.freeze(Ot({},e)),n._item=Et(t),n._ctrlPr=r,n;throw new _e("argSz must be an integer in −2..2 (ST_Integer2), got "+String(e.argSz),"arg.argPr.argSz","value-range")}t(Bt,It=r);var It,jt=Bt;function Bt(e,t){var r=It.call(this)||this;return r.type="unknown",r.localName=e,r.attachPreservedXml(t),r}Rt=function(e,t){return(Rt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var Rt,Ft,t=function(e,t){function r(){this.constructor=e}Rt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},Ht=function(){return(Ht=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},zt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Dt=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(zt(arguments[t]));return e},Vt=(t(Xt,Ft=r),Object.defineProperty(Xt.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=Object.freeze(Ht({},e)),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Xt.prototype,"equations",{get:function(){return this._equations},enumerable:!0,configurable:!0}),Xt.prototype.setEquations=function(e){this.assertMutable(),this._equations=Dt(e),this.notifyMutated()},Xt.prototype.appendEquation=function(e){this.assertMutable(),this._equations.push(e),this.notifyMutated()},Xt.prototype.assertSerializable=function(e){if(void 0===e&&(e="oMathPara"),this._equations.length<1)throw new _e("m:oMathPara requires at least one m:oMath (CT_OMathPara)",e,"required-child")},Xt);function Xt(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var r=Ft.call(this)||this;return r.type="oMathPara",r._properties=Object.freeze(Ht({},e)),r._equations=Dt(t),r}t(Kt,Yt=r),Object.defineProperty(Kt.prototype,"children",{get:function(){return this._children},enumerable:!0,configurable:!0}),Kt.prototype.setChildren=function(e){this.assertMutable(),this._children=Dt(e),this.notifyMutated()},Kt.prototype.appendChild=function(e){this.assertMutable(),this._children.push(e),this.notifyMutated()};var Yt,qt=Kt;function Kt(e){void 0===e&&(e=[]);var t=Yt.call(this)||this;return t.type="oMath",t._children=Dt(e),t}Gt=function(e,t){return(Gt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var Gt,t=function(e,t){function r(){this.constructor=e}Gt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},Jt=function(){return(Jt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Wt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},o=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Wt(arguments[t]));return e};function a(e){return Object.freeze(Jt({},e))}function s(e){return e instanceof Nt?e:new Nt({},e)}t(Qt,Zt=r),Object.defineProperty(Qt.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Qt.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0});var Zt,$t=Qt;function Qt(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var r=Zt.call(this)||this;return r.type="acc",r._properties=a(e),r._base=s(t),r}t(rr,er=r),Object.defineProperty(rr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(rr.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0});var er,tr=rr;function rr(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var r=er.call(this)||this;return r.type="bar",r._properties=a(e),r._base=s(t),r}t(or,nr=r),Object.defineProperty(or.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(or.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0});var nr,ir=or;function or(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var r=nr.call(this)||this;return r.type="box",r._properties=a(e),r._base=s(t),r}t(ur,ar=r),Object.defineProperty(ur.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(ur.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0});var ar,sr=ur;function ur(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var r=ar.call(this)||this;return r.type="borderBox",r._properties=a(e),r._base=s(t),r}t(pr,cr=r),Object.defineProperty(pr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(pr.prototype,"elements",{get:function(){return this._elements},set:function(e){this.assertMutable(),this._elements=o(e),this.notifyMutated()},enumerable:!0,configurable:!0}),pr.prototype.assertSerializable=function(e){if(void 0===e&&(e="d"),this._elements.length<1)throw new _e("m:d requires at least one m:e (CT_D)",e,"required-child")};var cr,lr=pr;function pr(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var r=cr.call(this)||this;return r.type="d",r._properties=a(e),r._elements=t.map(s),r}t(dr,fr=r),Object.defineProperty(dr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(dr.prototype,"elements",{get:function(){return this._elements},set:function(e){this.assertMutable(),this._elements=o(e),this.notifyMutated()},enumerable:!0,configurable:!0}),dr.prototype.assertSerializable=function(e){if(void 0===e&&(e="eqArr"),this._elements.length<1)throw new _e("m:eqArr requires at least one m:e (CT_EqArr)",e,"required-child")};var fr,hr=dr;function dr(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var r=fr.call(this)||this;return r.type="eqArr",r._properties=a(e),r._elements=t.map(s),r}t(br,vr=r),Object.defineProperty(br.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(br.prototype,"numerator",{get:function(){return this._numerator},set:function(e){this.assertMutable(),this._numerator=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(br.prototype,"denominator",{get:function(){return this._denominator},set:function(e){this.assertMutable(),this._denominator=e,this.notifyMutated()},enumerable:!0,configurable:!0});var vr,yr=br;function br(e,t,r){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]);var n=vr.call(this)||this;return n.type="f",n._properties=a(e),n._numerator=s(t),n._denominator=s(r),n}t(wr,mr=r),Object.defineProperty(wr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(wr.prototype,"name",{get:function(){return this._name},set:function(e){this.assertMutable(),this._name=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(wr.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0});var mr,gr=wr;function wr(e,t,r){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]);var n=mr.call(this)||this;return n.type="func",n._properties=a(e),n._name=s(t),n._base=s(r),n}t(xr,Pr=r),Object.defineProperty(xr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(xr.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0});var Pr,_r=xr;function xr(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var r=Pr.call(this)||this;return r.type="groupChr",r._properties=a(e),r._base=s(t),r}t(Or,Sr=r),Object.defineProperty(Or.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Or.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Or.prototype,"lim",{get:function(){return this._lim},set:function(e){this.assertMutable(),this._lim=e,this.notifyMutated()},enumerable:!0,configurable:!0});var Sr,Mr=Or;function Or(e,t,r){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]);var n=Sr.call(this)||this;return n.type="limLow",n._properties=a(e),n._base=s(t),n._lim=s(r),n}t(Ar,kr=r),Object.defineProperty(Ar.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Ar.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Ar.prototype,"lim",{get:function(){return this._lim},set:function(e){this.assertMutable(),this._lim=e,this.notifyMutated()},enumerable:!0,configurable:!0});var kr,Er=Ar;function Ar(e,t,r){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]);var n=kr.call(this)||this;return n.type="limUpp",n._properties=a(e),n._base=s(t),n._lim=s(r),n}t(Tr,Cr=r),Object.defineProperty(Tr.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),Tr.prototype.setElements=function(e){this.assertMutable(),this._elements=o(e),this.notifyMutated()},Tr.prototype.assertSerializable=function(e){if(void 0===e&&(e="mr"),this._elements.length<1)throw new _e("m:mr requires at least one m:e (CT_MR)",e,"required-child")};var Cr,Lr=Tr;function Tr(e){void 0===e&&(e=[]);var t=Cr.call(this)||this;return t.type="mr",t._elements=e.map(s),t}t(Ir,Nr=r),Object.defineProperty(Ir.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Ir.prototype,"rows",{get:function(){return this._rows},enumerable:!0,configurable:!0}),Ir.prototype.setRows=function(e){this.assertMutable(),this._rows=o(e),this.notifyMutated()},Ir.prototype.assertSerializable=function(r){if(void 0===r&&(r="m"),this._rows.length<1)throw new _e("m:m requires at least one m:mr (CT_M)",r,"required-child");this._rows.forEach(function(e,t){return e.assertSerializable(r+".mr["+String(t)+"]")})};var Nr,Ur=Ir;function Ir(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var r=Nr.call(this)||this;return r.type="m",r._properties=a(e),r._rows=o(t),r}t(Rr,jr=r),Object.defineProperty(Rr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Rr.prototype,"subscript",{get:function(){return this._sub},set:function(e){this.assertMutable(),this._sub=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Rr.prototype,"superscript",{get:function(){return this._sup},set:function(e){this.assertMutable(),this._sup=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Rr.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0});var jr,Br=Rr;function Rr(e,t,r,n){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n=[]);var i=jr.call(this)||this;return i.type="nary",i._properties=a(e),i._sub=s(t),i._sup=s(r),i._base=s(n),i}t(zr,Fr=r),Object.defineProperty(zr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(zr.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0});var Fr,Hr=zr;function zr(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var r=Fr.call(this)||this;return r.type="phant",r._properties=a(e),r._base=s(t),r}t(Xr,Dr=r),Object.defineProperty(Xr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Xr.prototype,"deg",{get:function(){return this._deg},set:function(e){this.assertMutable(),this._deg=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Xr.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0});var Dr,Vr=Xr;function Xr(e,t,r){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]);var n=Dr.call(this)||this;return n.type="rad",n._properties=a(e),n._deg=s(t),n._base=s(r),n}t(Kr,Yr=r),Object.defineProperty(Kr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Kr.prototype,"sub",{get:function(){return this._sub},set:function(e){this.assertMutable(),this._sub=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Kr.prototype,"sup",{get:function(){return this._sup},set:function(e){this.assertMutable(),this._sup=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Kr.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0});var Yr,qr=Kr;function Kr(e,t,r,n){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n=[]);var i=Yr.call(this)||this;return i.type="sPre",i._properties=a(e),i._sub=s(t),i._sup=s(r),i._base=s(n),i}t(Wr,Gr=r),Object.defineProperty(Wr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Wr.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Wr.prototype,"subscript",{get:function(){return this._sub},set:function(e){this.assertMutable(),this._sub=e,this.notifyMutated()},enumerable:!0,configurable:!0});var Gr,Jr=Wr;function Wr(e,t,r){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]);var n=Gr.call(this)||this;return n.type="sSub",n._properties=a(e),n._base=s(t),n._sub=s(r),n}t(Qr,Zr=r),Object.defineProperty(Qr.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Qr.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Qr.prototype,"subscript",{get:function(){return this._sub},set:function(e){this.assertMutable(),this._sub=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(Qr.prototype,"superscript",{get:function(){return this._sup},set:function(e){this.assertMutable(),this._sup=e,this.notifyMutated()},enumerable:!0,configurable:!0});var Zr,$r=Qr;function Qr(e,t,r,n){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n=[]);var i=Zr.call(this)||this;return i.type="sSubSup",i._properties=a(e),i._base=s(t),i._sub=s(r),i._sup=s(n),i}t(rn,en=r),Object.defineProperty(rn.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(rn.prototype,"base",{get:function(){return this._base},set:function(e){this.assertMutable(),this._base=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(rn.prototype,"superscript",{get:function(){return this._sup},set:function(e){this.assertMutable(),this._sup=e,this.notifyMutated()},enumerable:!0,configurable:!0});var en,tn=rn;function rn(e,t,r){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]);var n=en.call(this)||this;return n.type="sSup",n._properties=a(e),n._base=s(t),n._sup=s(r),n}t(u,nn=r),Object.defineProperty(u.prototype,"properties",{get:function(){return this._properties},set:function(e){this.assertMutable(),this._properties=a(e),this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"wRPr",{get:function(){return this._wRPr},set:function(e){this.assertMutable(),this._wRPr=e,this.notifyMutated()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"children",{get:function(){return this._children},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"opaqueChildren",{get:function(){return this._opaqueChildren},enumerable:!0,configurable:!0}),u.prototype.setChildren=function(e){this.assertMutable(),this._children=o(e),this.notifyMutated()},Object.defineProperty(u.prototype,"text",{get:function(){return this._children.filter(function(e){return"t"===e.type}).map(function(e){return e.value}).join("")},set:function(e){this.assertMutable(),this._children=[new Ct(e)],this.notifyMutated()},enumerable:!0,configurable:!0});var nn,on=u;function u(e,t,r,n){void 0===e&&(e=[]),void 0===t&&(t={}),void 0===n&&(n=[]);var i=nn.call(this)||this;return i.type="r",i._properties=a(t),i._wRPr=r,i._opaqueChildren=o(n),i._children="string"==typeof e?[new Ct(e)]:o(e),i}var an=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function sn(e,t,r,n){return{kind:"element",namespaceUri:e,localName:t,prefix:r,attributes:null!=(e=null==n?void 0:n.attributes)?e:[],namespaceDeclarations:null!=(t=null==n?void 0:n.namespaceDeclarations)?t:[],children:null!=(r=null==n?void 0:n.children)?r:[]}}function un(e){return{kind:"text",value:e}}function cn(e){return e.children.filter(function(e){return"element"===e.kind})}function ln(e,t){return null==(e=e.attributes.find(function(e){return e.localName===t}))?void 0:e.value}function pn(e,t,r){return null==(e=e.attributes.find(function(e){return e.namespaceUri===t&&e.localName===r}))?void 0:e.value}function fn(e){var t,r,n="";try{for(var i=an(e.children),o=i.next();!o.done;o=i.next()){var a=o.value;"text"===a.kind&&(n+=a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}var _=function(){return(_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},hn=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},dn=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};function x(e){return e.namespaceUri===We}function S(e,t){return cn(e).find(function(e){return x(e)&&e.localName===t})}function vn(e,t){return cn(e).filter(function(e){return x(e)&&e.localName===t})}function yn(e){if(e)return ln(e,"val")}function M(e,t){if(e){e=S(e,t);if(e)return void 0===(t=ln(e,"val"))||mt(t)}}function E(e,t){if(e)return yn(S(e,t))}function A(e){if(e)return S(e,"ctrlPr")}function bn(e,t,r,n,i){return null!=(n=null==n?void 0:n.onDiagnostic)&&n({path:t,message:r,localName:e.localName}),i.markPreserveOnly(e),i}function C(e,t){var r,n;if(!e)return new Nt;var i=S(e,"argPr"),i=(i=i)&&void 0!==(i=yn(S(i,"argSz")))&&(i=Number(i),Number.isFinite(i))&&yt(i)?{argSz:i}:{},o=S(e,"ctrlPr"),a=[];try{for(var s=hn(cn(e)),u=s.next();!u.done;u=s.next()){var c=u.value;x(c)&&"argPr"!==c.localName&&"ctrlPr"!==c.localName&&a.push(An(c,t))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return new Nt(i,a,o)}function mn(e,t,r){return vn(e,t).map(function(e){return C(e,r)})}var gn=[["hideTop","isTopHidden"],["hideBot","isBottomHidden"],["hideLeft","isLeftHidden"],["hideRight","isRightHidden"],["strikeH","hasHorizontalStrike"],["strikeV","hasVerticalStrike"],["strikeBLTR","hasBottomLeftToTopRightStrike"],["strikeTLBR","hasTopLeftToBottomRightStrike"]];function wn(e){var t=E(e,"begChr"),r=E(e,"sepChr"),n=E(e,"endChr"),i=M(e,"grow"),o=E(e,"shp"),o=void 0!==o?pt(o):void 0,e=A(e);return _({},void 0!==t?{begChr:t}:{},void 0!==r?{sepChr:r}:{},void 0!==n?{endChr:n}:{},void 0!==i?{canGrow:i}:{},void 0!==o?{shp:o}:{},void 0!==e?{ctrlPr:e}:{})}function Pn(e){var t=E(e,"baseJc"),r=M(e,"maxDist"),n=M(e,"objDist"),e=A(e);return _({},void 0!==t?{baseJc:t}:{},void 0!==r?{hasMaxDistance:r}:{},void 0!==n?{hasObjectDistance:n}:{},void 0!==e?{ctrlPr:e}:{})}function _n(e){var t=E(e,"type"),t=void 0!==t?lt(t):void 0,e=A(e);return _({},void 0!==t?{type:t}:{},void 0!==e?{ctrlPr:e}:{})}function xn(e){e=A(e);return _({},void 0!==e?{ctrlPr:e}:{})}function Sn(e){var t=E(e,"baseJc"),r=M(e,"plcHide"),e=A(e);return _({},void 0!==t?{baseJc:t}:{},void 0!==r?{isPlaceholderHidden:r}:{},void 0!==e?{ctrlPr:e}:{})}function Mn(e){var t=M(e,"alnScr"),e=A(e);return _({},void 0!==t?{isScriptAligned:t}:{},void 0!==e?{ctrlPr:e}:{})}function On(e){var t=pn(e,Qe,"space"),t="preserve"===t||"default"===t?t:void 0;return new Ct(fn(e),t)}function kn(e,t){var r,n,i,o,a,s,u,c=S(e,"rPr"),l=(c=c)?(l=M(c,"lit"),i=M(c,"nor"),o=E(c,"scr"),a=E(c,"sty"),o=void 0!==o?dt(o):void 0,a=void 0!==a?vt(a):void 0,s=M(c,"aln"),c=void 0!==(c=void 0!==(c=E(c,"brk"))?Number(c):void 0)&&Number.isFinite(c)?c:void 0,_({},void 0!==l?{isLiteral:l}:{},void 0!==i?{isNormal:i}:{},void 0!==o?{scr:o}:{},void 0!==a?{sty:a}:{},void 0!==s?{isAligned:s}:{},void 0!==c?{brk:c}:{})):{},p=[],f=[];try{for(var h=hn(cn(e)),d=h.next();!d.done;d=h.next()){var v=d.value;x(v)&&"rPr"===v.localName||(v.namespaceUri===$e&&"rPr"===v.localName?u=v:x(v)&&"t"===v.localName?p.push(On(v)):x(v)?p.push(An(v,t)):f.push(v))}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}return new on(p,l,u,f)}function En(e,t){return new Lr(mn(e,"e",t))}function An(e,t){if(!x(e))return new jt(e.localName,e);switch(e.localName){case"oMathPara":var r=e,n=t,i=void 0!==(i=(i=S(r,"oMathParaPr"))?E(i,"jc"):void 0)?ct(i):void 0,i=_({},void 0!==i?{jc:i}:{}),o=vn(r,"oMath").map(function(e){return Cn(e,n)});return o.length<1?bn(r,"oMathPara","m:oMathPara missing required m:oMath",n,new Vt(i,[])):new Vt(i,o);case"oMath":return Cn(e,t);case"t":return On(e);case"r":return kn(e,t);case"acc":var a=S(e,"accPr");return new $t((i=E(r=a,"chr"),r=A(r),_({},void 0!==i?{chr:i}:{},void 0!==r?{ctrlPr:r}:{})),C(S(e,"e"),t));case"bar":a=S(e,"barPr");return new tr((P=void 0!==(P=E(o=a,"pos"))?ht(P):void 0,o=A(o),_({},void 0!==P?{pos:P}:{},void 0!==o?{ctrlPr:o}:{})),C(S(e,"e"),t));case"box":a=S(e,"boxPr");return new ir((s=M(P=a,"opEmu"),u=M(P,"noBreak"),g=M(P,"diff"),w=M(P,"aln"),P=A(P),_({},void 0!==s?{isOperatorEmulated:s}:{},void 0!==u?{isNoBreak:u}:{},void 0!==g?{isDifferential:g}:{},void 0!==w?{isAligned:w}:{},void 0!==P?{ctrlPr:P}:{})),C(S(e,"e"),t));case"borderBox":a=S(e,"borderBoxPr");return new sr(function(e){var t,r={};try{for(var n=hn(gn),i=n.next();!i.done;i=n.next()){var o=dn(i.value,2),a=o[0],s=o[1],u=M(e,a);void 0!==u&&(r[s]=u)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(c=n.return)&&c.call(n)}finally{if(t)throw t.error}}var c=A(e);return void 0!==c&&(r.ctrlPr=c),r}(a),C(S(e,"e"),t));case"d":a=S(e,"dPr");return(b=mn(e,"e",t)).length<1?bn(e,"d","m:d missing required m:e",t,new lr(wn(a),[])):new lr(wn(a),b);case"eqArr":var a=S(e,"eqArrPr");return(b=mn(e,"e",t)).length<1?bn(e,"eqArr","m:eqArr missing required m:e",t,new hr(Pn(a),[])):new hr(Pn(a),b);case"f":var a=S(e,"fPr"),s=S(e,"num"),u=S(e,"den");return s&&u?new yr(_n(a),C(s,t),C(u,t)):bn(e,"f","m:f missing required m:num and/or m:den",t,new yr(_n(a),C(s,t),C(u,t)));case"func":a=S(e,"funcPr");return new gr((g=A(g=a),_({},void 0!==g?{ctrlPr:g}:{})),C(S(e,"fName"),t),C(S(e,"e"),t));case"groupChr":a=S(e,"groupChrPr");return new _r((b=E(w=a,"chr"),c=void 0!==(c=E(w,"pos"))?ht(c):void 0,m=void 0!==(m=E(w,"vertJc"))?ht(m):void 0,w=A(w),_({},void 0!==b?{chr:b}:{},void 0!==c?{pos:c}:{},void 0!==m?{vertJc:m}:{},void 0!==w?{ctrlPr:w}:{})),C(S(e,"e"),t));case"limLow":a=S(e,"limLowPr");return new Mr(xn(a),C(S(e,"e"),t),C(S(e,"lim"),t));case"limUpp":a=S(e,"limUppPr");return new Er(xn(a),C(S(e,"e"),t),C(S(e,"lim"),t));case"m":var a=S(e,"mPr"),c=vn(e,"mr").map(function(e){return En(e,t)});return c.length<1?bn(e,"m","m:m missing required m:mr",t,new Ur(Sn(a),[])):new Ur(Sn(a),c);case"mr":return En(e,t);case"nary":a=S(e,"naryPr");return new Br((f=E(m=a,"chr"),h=void 0!==(h=E(m,"limLoc"))?ft(h):void 0,d=M(m,"grow"),v=M(m,"subHide"),y=M(m,"supHide"),m=A(m),_({},void 0!==f?{chr:f}:{},void 0!==h?{limLoc:h}:{},void 0!==d?{canGrow:d}:{},void 0!==v?{isSubscriptHidden:v}:{},void 0!==y?{isSuperscriptHidden:y}:{},void 0!==m?{ctrlPr:m}:{})),C(S(e,"sub"),t),C(S(e,"sup"),t),C(S(e,"e"),t));case"phant":a=S(e,"phantPr");return new Hr((h=M(f=a,"show"),d=M(f,"zeroWid"),v=M(f,"zeroAsc"),y=M(f,"zeroDesc"),p=M(f,"transp"),f=A(f),_({},void 0!==h?{isShown:h}:{},void 0!==d?{isZeroWidth:d}:{},void 0!==v?{isZeroAscender:v}:{},void 0!==y?{isZeroDescender:y}:{},void 0!==p?{isTransparent:p}:{},void 0!==f?{ctrlPr:f}:{})),C(S(e,"e"),t));case"rad":a=S(e,"radPr");return new Vr((l=M(p=a,"degHide"),p=A(p),_({},void 0!==l?{isDegreeHidden:l}:{},void 0!==p?{ctrlPr:p}:{})),C(S(e,"deg"),t),C(S(e,"e"),t));case"sPre":a=S(e,"sPrePr");return new qr(Mn(a),C(S(e,"sub"),t),C(S(e,"sup"),t),C(S(e,"e"),t));case"sSub":a=S(e,"sSubPr");return new Jr(Mn(a),C(S(e,"e"),t),C(S(e,"sub"),t));case"sSubSup":a=S(e,"sSubSupPr");return new $r(Mn(a),C(S(e,"e"),t),C(S(e,"sub"),t),C(S(e,"sup"),t));case"sSup":a=S(e,"sSupPr");return new tn(Mn(a),C(S(e,"e"),t),C(S(e,"sup"),t));default:return new jt(e.localName,e)}var l,p,f,h,d,v,y,b,c,m,s,u,g,w,P}function Cn(e,t){var r,n,i=[];try{for(var o=hn(cn(e)),a=o.next();!a.done;a=o.next()){var s=a.value;x(s)?i.push(An(s,t)):i.push(new jt(s.localName,s))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return new qt(i)}function Ln(e,t){return An(e,t)}var Tn=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},Nn=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};function xe(e,t,r,n){return sn(We,t,e.prefix,{attributes:n=void 0===n?[]:n,children:r=void 0===r?[]:r})}function Un(e){return{namespaceUri:"",localName:"val",prefix:"",value:e}}function Se(e,t,r){return xe(e,t,[],[Un(r)])}function Me(e,t,r){return xe(e,t,[],[Un(r?"1":"0")])}function Oe(e,t){void 0!==t&&e.push(t)}function ke(e,t,r,n){if(-1===t.indexOf(e))throw new _e("Illegal "+n+" token '"+e+"' (not in schema enum)",r,"enum-value")}function Ee(e,t,r){var n=e.path+"."+t,i=[],o=r.properties.argSz;if(void 0!==o){if(!yt(o))throw new _e("argSz must be an integer in −2..2 (ST_Integer2), got "+String(o),n+".argPr.argSz","value-range");i.push(xe(e,"argPr",[Se(e,"argSz",String(o))]))}for(var a=0;a<r.item.length;a++){var s=r.item[a];void 0!==s&&i.push(Hn(s,{prefix:e.prefix,path:n+"["+String(a)+"]"}))}return Oe(i,r.ctrlPr),xe(e,t,i)}function In(e,t){var r,n,i=[],o=function(e,t){var t=t.properties,r=[];if(void 0!==t.isLiteral&&r.push(Me(e,"lit",t.isLiteral)),void 0!==t.isNormal&&r.push(Me(e,"nor",t.isNormal)),void 0!==t.scr&&(ke(t.scr,st,e.path+".rPr.scr","ST_Script"),r.push(Se(e,"scr",t.scr))),void 0!==t.sty&&(ke(t.sty,ut,e.path+".rPr.sty","ST_Style"),r.push(Se(e,"sty",t.sty))),void 0!==t.brk){if(!(bt(t.brk)||Number.isInteger(t.brk)&&0===t.brk)&&(!Number.isInteger(t.brk)||t.brk<0||255<t.brk))throw new _e("brk must be an integer in 0..255, got "+String(t.brk),e.path+".rPr.brk","value-range");r.push(Se(e,"brk",String(t.brk)))}if(void 0!==t.isAligned&&r.push(Me(e,"aln",t.isAligned)),0!==r.length)return xe(e,"rPr",r)}(e,t);void 0!==o&&i.push(o),void 0!==t.wRPr&&i.push(t.wRPr);for(var a=0;a<t.children.length;a++){var s=t.children[a];void 0!==s&&i.push(Hn(s,{prefix:e.prefix,path:e.path+".r["+String(a)+"]"}))}try{for(var u=Tn(t.opaqueChildren),c=u.next();!c.done;c=u.next()){var l=c.value;i.push(l)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return xe(e,"r",i)}var jn=[["isTopHidden","hideTop"],["isBottomHidden","hideBot"],["isLeftHidden","hideLeft"],["isRightHidden","hideRight"],["hasHorizontalStrike","strikeH"],["hasVerticalStrike","strikeV"],["hasBottomLeftToTopRightStrike","strikeBLTR"],["hasTopLeftToBottomRightStrike","strikeTLBR"]];function Bn(e,t){t.assertSerializable(e.path);var r,n,i=[];try{for(var o=Tn(t.elements),a=o.next();!a.done;a=o.next()){var s=a.value;i.push(Ee(e,"e",s))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return xe(e,"mr",i)}function Rn(e,t,r,n){var i=[];if(void 0!==r&&i.push(Me(e,"alnScr",r)),Oe(i,n),0!==i.length)return xe(e,t,i)}function Fn(e,t){for(var r=[],n=0;n<t.children.length;n++){var i=t.children[n];void 0!==i&&r.push(Hn(i,{prefix:e.prefix,path:e.path+"["+String(n)+"]"}))}return xe(e,"oMath",r)}function Hn(e,t){if(e.preserveOnly){if(void 0===e.preservedXml)throw new _e("preserve-only node missing preservedXml",t.path,"required-child");return e.preservedXml}if(e instanceof jt){if(void 0===e.preservedXml)throw new _e("unknown math node missing preservedXml",t.path,"required-child");return e.preservedXml}switch(e.type){case"oMathPara":var r=t,j=e,B=(j.assertSerializable(r.path),[]);void 0!==j.properties.jc&&(ke(j.properties.jc,et,r.path+".oMathParaPr.jc","ST_Jc"),B.push(xe(r,"oMathParaPr",[Se(r,"jc",j.properties.jc)])));for(var R=0;R<j.equations.length;R++){var F=j.equations[R];void 0!==F&&B.push(Fn({prefix:r.prefix,path:r.path+".oMath["+String(R)+"]"},F))}return xe(r,"oMathPara",B);case"oMath":return Fn(t,e);case"t":return we=t,Pe=[],void 0!==(I=void 0!==(I=(T=e).xmlSpace)||0!==(N=T.value).length&&(U=N[0],N=N[N.length-1]," "!==U)&&"\t"!==U&&"\n"!==U&&"\r"!==U&&" "!==N&&"\t"!==N&&"\n"!==N&&"\r"!==N?I:"preserve")&&Pe.push({namespaceUri:Qe,localName:"space",prefix:"xml",value:I}),xe(we,"t",[un(T.value)],Pe);case"r":return In(t,e);case"acc":return U=t,N=[],I=[],void 0!==(we=e).properties.chr&&I.push(Se(U,"chr",we.properties.chr)),Oe(I,we.properties.ctrlPr),0<I.length&&N.push(xe(U,"accPr",I)),N.push(Ee(U,"e",we.base)),xe(U,"acc",N);case"bar":return T=t,Pe=[],L=[],void 0!==(C=e).properties.pos&&(ke(C.properties.pos,it,T.path+".barPr.pos","ST_TopBot"),L.push(Se(T,"pos",C.properties.pos))),Oe(L,C.properties.ctrlPr),0<L.length&&Pe.push(xe(T,"barPr",L)),Pe.push(Ee(T,"e",C.base)),xe(T,"bar",Pe);case"box":return L=t,C=[],i=[],void 0!==(n=(J=e).properties).isOperatorEmulated&&i.push(Me(L,"opEmu",n.isOperatorEmulated)),void 0!==n.isNoBreak&&i.push(Me(L,"noBreak",n.isNoBreak)),void 0!==n.isDifferential&&i.push(Me(L,"diff",n.isDifferential)),void 0!==n.isAligned&&i.push(Me(L,"aln",n.isAligned)),Oe(i,n.ctrlPr),0<i.length&&C.push(xe(L,"boxPr",i)),C.push(Ee(L,"e",J.base)),xe(L,"box",C);case"borderBox":var H=t,n=e,i=[],z=[],D=n.properties;try{for(var V=Tn(jn),X=V.next();!X.done;X=V.next()){var Y=Nn(X.value,2),q=Y[0],K=Y[1],G=D[q];"boolean"==typeof G&&z.push(Me(H,K,G))}}catch(e){s={error:e}}finally{try{X&&!X.done&&(a=V.return)&&a.call(V)}finally{if(s)throw s.error}}return Oe(z,D.ctrlPr),0<z.length&&i.push(xe(H,"borderBoxPr",z)),i.push(Ee(H,"e",n.base)),xe(H,"borderBox",i);case"d":var o=t,J=e;J.assertSerializable(o.path);var W=[],a=[],s=J.properties;void 0!==s.begChr&&a.push(Se(o,"begChr",s.begChr)),void 0!==s.sepChr&&a.push(Se(o,"sepChr",s.sepChr)),void 0!==s.endChr&&a.push(Se(o,"endChr",s.endChr)),void 0!==s.canGrow&&a.push(Me(o,"grow",s.canGrow)),void 0!==s.shp&&(ke(s.shp,rt,o.path+".dPr.shp","ST_Shp"),a.push(Se(o,"shp",s.shp))),Oe(a,s.ctrlPr),0<a.length&&W.push(xe(o,"dPr",a));try{for(var Z=Tn(J.elements),$=Z.next();!$.done;$=Z.next()){var Q=$.value;W.push(Ee(o,"e",Q))}}catch(e){u={error:e}}finally{try{$&&!$.done&&(te=Z.return)&&te.call(Z)}finally{if(u)throw u.error}}return xe(o,"d",W);case"eqArr":var ee=t,te=e;te.assertSerializable(ee.path);var re=[],u=[],c=te.properties;void 0!==c.baseJc&&u.push(Se(ee,"baseJc",c.baseJc)),void 0!==c.hasMaxDistance&&u.push(Me(ee,"maxDist",c.hasMaxDistance)),void 0!==c.hasObjectDistance&&u.push(Me(ee,"objDist",c.hasObjectDistance)),Oe(u,c.ctrlPr),0<u.length&&re.push(xe(ee,"eqArrPr",u));try{for(var ne=Tn(te.elements),ie=ne.next();!ie.done;ie=ne.next()){var oe=ie.value;re.push(Ee(ee,"e",oe))}}catch(e){A={error:e}}finally{try{ie&&!ie.done&&(ge=ne.return)&&ge.call(ne)}finally{if(A)throw A.error}}return xe(ee,"eqArr",re);case"f":return c=t,ge=[],A=[],void 0!==(E=e).properties.type&&(ke(E.properties.type,tt,c.path+".fPr.type","ST_FType"),A.push(Se(c,"type",E.properties.type))),Oe(A,E.properties.ctrlPr),0<A.length&&ge.push(xe(c,"fPr",A)),ge.push(Ee(c,"num",E.numerator)),ge.push(Ee(c,"den",E.denominator)),xe(c,"f",ge);case"func":return E=t,O=[],Oe(k=[],(me=e).properties.ctrlPr),0<k.length&&O.push(xe(E,"funcPr",k)),O.push(Ee(E,"fName",me.name)),O.push(Ee(E,"e",me.base)),xe(E,"func",O);case"groupChr":return k=t,me=[],O=[],void 0!==(M=(be=e).properties).chr&&O.push(Se(k,"chr",M.chr)),void 0!==M.pos&&(ke(M.pos,it,k.path+".groupChrPr.pos","ST_TopBot"),O.push(Se(k,"pos",M.pos))),void 0!==M.vertJc&&(ke(M.vertJc,it,k.path+".groupChrPr.vertJc","ST_TopBot"),O.push(Se(k,"vertJc",M.vertJc))),Oe(O,M.ctrlPr),0<O.length&&me.push(xe(k,"groupChrPr",O)),me.push(Ee(k,"e",be.base)),xe(k,"groupChr",me);case"limLow":return M=t,be=[],Oe(S=[],(x=e).properties.ctrlPr),0<S.length&&be.push(xe(M,"limLowPr",S)),be.push(Ee(M,"e",x.base)),be.push(Ee(M,"lim",x.lim)),xe(M,"limLow",be);case"limUpp":return S=t,x=[],Oe(l=[],(p=e).properties.ctrlPr),0<l.length&&x.push(xe(S,"limUppPr",l)),x.push(Ee(S,"e",p.base)),x.push(Ee(S,"lim",p.lim)),xe(S,"limUpp",x);case"m":var ae=t,se=e,ue=(se.assertSerializable(ae.path),[]),l=[],p=se.properties;void 0!==p.baseJc&&l.push(Se(ae,"baseJc",p.baseJc)),void 0!==p.isPlaceholderHidden&&l.push(Me(ae,"plcHide",p.isPlaceholderHidden)),Oe(l,p.ctrlPr),0<l.length&&ue.push(xe(ae,"mPr",l));for(var ce=0;ce<se.rows.length;ce++){var le=se.rows[ce];void 0!==le&&ue.push(Bn({prefix:ae.prefix,path:ae.path+".mr["+String(ce)+"]"},le))}return xe(ae,"m",ue);case"mr":return Bn(t,e);case"nary":return m=t,w=[],P=[],void 0!==(_=(g=e).properties).chr&&P.push(Se(m,"chr",_.chr)),void 0!==_.limLoc&&(ke(_.limLoc,nt,m.path+".naryPr.limLoc","ST_LimLoc"),P.push(Se(m,"limLoc",_.limLoc))),void 0!==_.canGrow&&P.push(Me(m,"grow",_.canGrow)),void 0!==_.isSubscriptHidden&&P.push(Me(m,"subHide",_.isSubscriptHidden)),void 0!==_.isSuperscriptHidden&&P.push(Me(m,"supHide",_.isSuperscriptHidden)),Oe(P,_.ctrlPr),0<P.length&&w.push(xe(m,"naryPr",P)),w.push(Ee(m,"sub",g.subscript)),w.push(Ee(m,"sup",g.superscript)),w.push(Ee(m,"e",g.base)),xe(m,"nary",w);case"phant":return _=t,P=[],g=[],void 0!==(w=(m=e).properties).isShown&&g.push(Me(_,"show",w.isShown)),void 0!==w.isZeroWidth&&g.push(Me(_,"zeroWid",w.isZeroWidth)),void 0!==w.isZeroAscender&&g.push(Me(_,"zeroAsc",w.isZeroAscender)),void 0!==w.isZeroDescender&&g.push(Me(_,"zeroDesc",w.isZeroDescender)),void 0!==w.isTransparent&&g.push(Me(_,"transp",w.isTransparent)),Oe(g,w.ctrlPr),0<g.length&&P.push(xe(_,"phantPr",g)),P.push(Ee(_,"e",m.base)),xe(_,"phant",P);case"rad":return v=t,ye=[],b=[],void 0!==(y=e).properties.isDegreeHidden&&b.push(Me(v,"degHide",y.properties.isDegreeHidden)),Oe(b,y.properties.ctrlPr),0<b.length&&ye.push(xe(v,"radPr",b)),ye.push(Ee(v,"deg",y.deg)),ye.push(Ee(v,"e",y.base)),xe(v,"rad",ye);case"sPre":return b=[],void 0!==(ye=Rn(y=t,"sPrePr",(v=e).properties.isScriptAligned,v.properties.ctrlPr))&&b.push(ye),b.push(Ee(y,"sub",v.sub)),b.push(Ee(y,"sup",v.sup)),b.push(Ee(y,"e",v.base)),xe(y,"sPre",b);case"sSub":return ve=[],void 0!==(d=Rn(f=t,"sSubPr",(h=e).properties.isScriptAligned,h.properties.ctrlPr))&&ve.push(d),ve.push(Ee(f,"e",h.base)),ve.push(Ee(f,"sub",h.subscript)),xe(f,"sSub",ve);case"sSubSup":return d=[],void 0!==(ve=Rn(h=t,"sSubSupPr",(f=e).properties.isScriptAligned,f.properties.ctrlPr))&&d.push(ve),d.push(Ee(h,"e",f.base)),d.push(Ee(h,"sub",f.subscript)),d.push(Ee(h,"sup",f.superscript)),xe(h,"sSubSup",d);case"sSup":return he=[],void 0!==(de=Rn(pe=t,"sSupPr",(fe=e).properties.isScriptAligned,fe.properties.ctrlPr))&&he.push(de),he.push(Ee(pe,"e",fe.base)),he.push(Ee(pe,"sup",fe.superscript)),xe(pe,"sSup",he);case"arg":throw new _e("MathArgument cannot be serialized as a root; use a named CT_OMathArg slot",t.path,"child-order");case"unknown":if(void 0!==e.preservedXml)return e.preservedXml;throw new _e("unknown math node missing preservedXml",t.path,"required-child");default:de=e.type;throw new _e("Unhandled math kind: "+String(de),t.path,"required-child")}var pe,fe,he,de,f,h,ve,d,v,y,ye,b,m,g,w,P,_,p,l,x,S,be,M,me,O,k,E,ge,A,J,i,n,C,L,we,T,N,U,Pe,I}var h=function(){return(h=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},zn=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Dn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(zn(arguments[t]));return e},Vn=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function Xn(e){return{kind:"element",namespaceUri:e.namespaceUri,localName:e.localName,prefix:e.prefix,attributes:e.attributes.map(function(e){return{namespaceUri:e.namespaceUri,localName:e.localName,prefix:e.prefix,value:e.value}}),namespaceDeclarations:e.namespaceDeclarations.map(function(e){return{prefix:e.prefix,namespaceUri:e.namespaceUri}}),children:e.children.map(Yn)}}function Yn(e){return"text"===e.kind?{kind:"text",value:e.value}:Xn(e)}function d(e){return void 0===e?void 0:Xn(e)}function qn(e){return h({},void 0!==e.ctrlPr?{ctrlPr:d(e.ctrlPr)}:{})}function Kn(e){return h({},void 0!==e.isScriptAligned?{isScriptAligned:e.isScriptAligned}:{},void 0!==e.ctrlPr?{ctrlPr:d(e.ctrlPr)}:{})}function Gn(e,t){if(void 0!==e||void 0!==t){if(void 0===e||void 0===t)return!1;if(e.namespaceUri!==t.namespaceUri||e.localName!==t.localName||e.prefix!==t.prefix||e.attributes.length!==t.attributes.length||e.namespaceDeclarations.length!==t.namespaceDeclarations.length||e.children.length!==t.children.length)return!1;for(var r=0;r<e.attributes.length;r++){var n=e.attributes[r],i=t.attributes[r];if(n.namespaceUri!==i.namespaceUri||n.localName!==i.localName||n.prefix!==i.prefix||n.value!==i.value)return!1}for(r=0;r<e.namespaceDeclarations.length;r++){n=e.namespaceDeclarations[r],i=t.namespaceDeclarations[r];if(n.prefix!==i.prefix||n.namespaceUri!==i.namespaceUri)return!1}for(r=0;r<e.children.length;r++){var o=e.children[r],a=t.children[r];if(o.kind!==a.kind)return!1;if("text"===o.kind&&"text"===a.kind){if(o.value!==a.value)return!1}else{if("element"!==o.kind||"element"!==a.kind)return!1;if(!Gn(o,a))return!1}}}return!0}function c(e,t,r){void 0===r&&(r="ctrlPr");var n,i,o=new Set(Dn(Object.keys(e),Object.keys(t)));try{for(var a=Vn(o),s=a.next();!s.done;s=a.next()){var u=s.value;if(u===r){if(Gn(e[u],t[u]))continue;return!1}if(e[u]!==t[u])return!1}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return!0}function Jn(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!l(e[r],t[r]))return!1;return!0}function l(e,t){if(e.type!==t.type)return!1;if(e.preserveOnly!==t.preserveOnly)return!1;switch(e.type){case"t":return e.value===t.value&&e.xmlSpace===t.xmlSpace;case"arg":var r=e,n=t;return c(r.properties,n.properties)&&Gn(r.ctrlPr,n.ctrlPr)&&Jn(r.item,n.item);case"oMathPara":r=e,n=t;return c(r.properties,n.properties)&&Jn(r.equations,n.equations);case"oMath":return Jn(e.children,t.children);case"unknown":return e.localName===t.localName&&Gn(e.preservedXml,t.preservedXml);case"r":r=e,n=t;return c(r.properties,n.properties)&&Gn(r.wRPr,n.wRPr)&&Jn(r.children,n.children)&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!Gn(e[r],t[r]))return!1;return!0}(r.opaqueChildren,n.opaqueChildren);case"acc":case"bar":case"box":case"borderBox":o=t;return c((i=e).properties,o.properties)&&l(i.base,o.base);case"d":case"eqArr":o=t;return c((i=e).properties,o.properties)&&Jn(i.elements,o.elements);case"f":o=t;return c((i=e).properties,o.properties)&&l(i.numerator,o.numerator)&&l(i.denominator,o.denominator);case"func":o=t;return c((i=e).properties,o.properties)&&l(i.name,o.name)&&l(i.base,o.base);case"groupChr":o=t;return c((i=e).properties,o.properties)&&l(i.base,o.base);case"limLow":case"limUpp":o=t;return c((i=e).properties,o.properties)&&l(i.base,o.base)&&l(i.lim,o.lim);case"m":o=t;return c((i=e).properties,o.properties)&&Jn(i.rows,o.rows);case"mr":o=t;return Jn((i=e).elements,o.elements);case"nary":o=t;return c((i=e).properties,o.properties)&&l(i.subscript,o.subscript)&&l(i.superscript,o.superscript)&&l(i.base,o.base);case"phant":o=t;return c((i=e).properties,o.properties)&&l(i.base,o.base);case"rad":o=t;return c((i=e).properties,o.properties)&&l(i.deg,o.deg)&&l(i.base,o.base);case"sPre":o=t;return c((i=e).properties,o.properties)&&l(i.sub,o.sub)&&l(i.sup,o.sup)&&l(i.base,o.base);case"sSub":o=t;return c((i=e).properties,o.properties)&&l(i.base,o.base)&&l(i.subscript,o.subscript);case"sSubSup":o=t;return c((i=e).properties,o.properties)&&l(i.base,o.base)&&l(i.subscript,o.subscript)&&l(i.superscript,o.superscript);case"sSup":var i,o=t;return c((i=e).properties,o.properties)&&l(i.base,o.base)&&l(i.superscript,o.superscript);default:e.type;return!1}}var Wn,Zn=4,$n=4,Qn=64,ei="http://schemas.microsoft.com/office/2006/encryption",ti="http://schemas.microsoft.com/office/2006/keyEncryptor/password",ri=Uint8Array.of(254,167,210,118,59,75,158,121),ni=Uint8Array.of(215,170,15,109,48,97,52,78),ii=Uint8Array.of(20,110,11,231,171,172,208,214),oi=Uint8Array.of(95,178,173,1,12,185,225,246),ai=Uint8Array.of(160,103,127,2,178,44,132,51),si=4096,ui="EncryptionInfo",ci="EncryptedPackage",li=1e7,pi=2,fi=54,hi=54,t=(Wn=function(e,t){return(Wn=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)},function(e,t){function r(){this.constructor=e}Wn(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),di=function(){return(di=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},vi=1048576,p=Object.freeze({totalUncompressedBytes:1073741824,singlePartUncompressedBytes:256*vi,xmlNestingDepth:256,xmlAttributesPerElement:4096,textNodeLengthBytes:32*vi});function yi(e){var t,r,n;return void 0===e?p:(t=(null!=e.xmlNestingDepth?e:p).xmlNestingDepth,r=(null!=e.xmlAttributesPerElement?e:p).xmlAttributesPerElement,n=(null!=e.textNodeLengthBytes?e:p).textNodeLengthBytes,e=di({totalUncompressedBytes:(null!=e.totalUncompressedBytes?e:p).totalUncompressedBytes,singlePartUncompressedBytes:(null!=e.singlePartUncompressedBytes?e:p).singlePartUncompressedBytes},void 0===t?{}:{xmlNestingDepth:t},void 0===r?{}:{xmlAttributesPerElement:r},void 0===n?{}:{textNodeLengthBytes:n}),Object.freeze(e))}bi=Error,t(mi,bi);var bi,L=mi;function mi(e,t){var r=this.constructor,n=this,i=void 0===(t=void 0===t?{}:t).partName?"":" (part: "+t.partName+")",o=void 0===t.actual?"":"; actual value: "+String(t.actual);return(n=bi.call(this,"Package security limit exceeded: "+e+i+o)||this).name="PackageLimitError",n.limit=e,n.partName=t.partName,n.actual=t.actual,Object.setPrototypeOf(n,r.prototype),n}gi=Error,t(wi,gi);var gi,H=wi;function wi(e){var t=this.constructor,e=gi.call(this,e)||this;return e.name="EncryptedPackageError",Object.setPrototypeOf(e,t.prototype),e}Pi=Error,t(xi,Pi);var Pi,_i=xi;function xi(e){var t=this.constructor,e=Pi.call(this,e=void 0===e?"Invalid password":e)||this;return e.name="InvalidPasswordError",Object.setPrototypeOf(e,t.prototype),e}Si=Error,t(Mi,Si);var Si,b=Mi;function Mi(e){var t=this.constructor,e=Si.call(this,e=void 0===e?"Unsupported encryption method":e)||this;return e.name="UnsupportedEncryptionError",Object.setPrototypeOf(e,t.prototype),e}var Oi=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};var vi=function(){try{return require("crypto")}catch(e){throw new Error("Node crypto is required for Agile encryption")}}(),ki=vi.createCipheriv,Ei=vi.createDecipheriv,Ai=vi.createHash,Ci=vi.createHmac,Li={"SHA-1":"sha1",SHA256:"sha256",SHA384:"sha384",SHA512:"sha512"},Ti={"SHA-1":20,SHA256:32,SHA384:48,SHA512:64};function Ni(e){switch(e){case"SHA-1":case"SHA1":return"SHA-1";case"SHA256":return"SHA256";case"SHA384":return"SHA384";case"SHA512":return"SHA512";default:throw new b("Unsupported OFFCRYPTO hashAlgorithm: "+Ki(e))}}function Ui(e,t){if("AES"!==e)throw new b("Unsupported OFFCRYPTO cipherAlgorithm: "+Ki(e));if("ChainingModeCBC"!==t)throw new b("Unsupported OFFCRYPTO cipherChaining: "+Ki(t))}function Ii(e){if(128!==e&&192!==e&&256!==e)throw new b("Unsupported OFFCRYPTO AES keyBits: "+String(e))}function ji(e){return Ti[e]}function Bi(e,t){e=Ai(Li[e]);return e.update(t),new Uint8Array(e.digest())}function Ri(e,t,r){e=Ci(Li[e],Buffer.from(t));return e.update(r),new Uint8Array(e.digest())}function Fi(){for(var t,e,r,n,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=0;try{for(var s=Oi(i),u=s.next();!u.done;u=s.next())a+=(h=u.value).byteLength}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}var c=new Uint8Array(a),l=0;try{for(var p=Oi(i),f=p.next();!f.done;f=p.next()){var h=f.value;c.set(h,l),l+=h.byteLength}}catch(e){r={error:e}}finally{try{f&&!f.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}return c}function Hi(e){for(var t=new Uint8Array(2*e.length),r=0;r<e.length;r++){var n=e.charCodeAt(r);t[2*r]=255&n,t[2*r+1]=n>>>8&255}return t}function zi(e,t,r,n,i,o){for(var a=Bi(e,Fi(t,r)),s=new Uint8Array(4),u=new DataView(s.buffer),c=0;c<n;c++)u.setUint32(0,c,!0),a=Bi(e,Fi(s,a));return Yi(Bi(e,Fi(a,i)),o/8,fi)}function Di(e,t,r,n){return Yi(void 0===r?t:Bi(e,Fi(t,r)),n,hi)}function Vi(e,t,r){if(0===r.byteLength)return new Uint8Array(0);if(r.byteLength%16!=0)throw new b("OFFCRYPTO AES-CBC ciphertext length is not block-aligned");if(16!==t.byteLength)throw new b("OFFCRYPTO AES-CBC IV must be 16 bytes");var n=qi(e.byteLength),n=Ei(n,Buffer.from(e),Buffer.from(t)),e=(n.setAutoPadding(!1),n.update(Buffer.from(r))),t=n.final();return 0===t.byteLength?new Uint8Array(e):((r=new Uint8Array(e.byteLength+t.byteLength)).set(e,0),r.set(t,e.byteLength),r)}function Xi(e,t){if(e.byteLength!==t.byteLength)return!1;for(var r=0,n=0;n<e.byteLength;n++)r|=(null!=e[n]?e[n]:0)^(null!=t[n]?t[n]:0);return 0===r}function Yi(e,t,r){return e.byteLength===t?e:e.byteLength>t?e.subarray(0,t):((t=new Uint8Array(t)).set(e,0),t.fill(r,e.byteLength),t)}function qi(e){switch(e){case 16:return"aes-128-cbc";case 24:return"aes-192-cbc";case 32:return"aes-256-cbc";default:throw new b("Unsupported AES key length")}}function Ki(e){e=e.replace(/[^\w.\-:/+]/g,"").slice(0,64);return 0<e.length?e:"(unrecognized)"}var Gi=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Ji=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Gi(arguments[t]));return e},Wi=256,Zi=4096,$i=33554432;function Qi(d,e,v){if(void 0===v&&(v="EncryptionInfo"),/<!DOCTYPE/i.test(d)||/<!ENTITY/i.test(d))throw new H("EncryptionInfo XML must not contain DTD or entities");function y(){for(;S<M;){var e=d.charCodeAt(S);if(32!==e&&9!==e&&10!==e&&13!==e)break;S+=1}}function b(e){return d.startsWith(e,S)}function m(){for(var e=S;S<M;){var t=d[S];if(!/[A-Za-z0-9:_.-]/.test(t))break;S+=1}if(S===e)throw new H("EncryptionInfo XML is invalid: expected name");return d.slice(e,S)}function g(e,t,r){var n=e.indexOf(":"),i=-1===n?"":e.slice(0,n),o=-1===n?e:e.slice(n+1);if(!r||""!==i){if("xmlns"===i)return{localName:o,namespaceUri:"http://www.w3.org/2000/xmlns/"};for(var a=t.length-1;0<=a;a--){var s=t[a].get(i);if(void 0!==s)return{localName:o,namespaceUri:s}}}return{localName:o,namespaceUri:""}}function w(e,t){if(P<t)throw new L("xmlNestingDepth",{partName:v,actual:t});if("<"!==O())throw new H("EncryptionInfo XML is invalid: expected element");if(S+=1,"/"===O())throw new H("EncryptionInfo XML is invalid: unexpected end tag");for(var r=m(),n=(y(),[]),i=!1,o=new Map;S<M&&">"!==O()&&"/"!==O();){var a=m();if(y(),"="!==O())throw new H("EncryptionInfo XML is invalid: expected =");S+=1,y();var s=function(){var e=O();if('"'!==e&&"'"!==e)throw new H("EncryptionInfo XML is invalid: attribute value");for(var t=S+=1;S<M&&d[S]!==e;)if(x<(S+=1)-t)throw new L("textNodeLengthBytes",{partName:v,actual:S-t});if(M<=S)throw new H("EncryptionInfo XML is invalid: unclosed attribute");var r=d.slice(t,S);return S+=1,k(r)}();if(y(),"xmlns"===a?o.set("",s):a.startsWith("xmlns:")?o.set(a.slice(6),s):n.push({qName:a,value:s}),_<n.length)throw new L("xmlAttributesPerElement",{partName:v,actual:n.length})}if(b("/>"))i=!0,S+=2;else{if(">"!==O())throw new H("EncryptionInfo XML is invalid: element tag");S+=1}var u=Ji(e,[o]),e=g(r,u,!1),c=n.map(function(e){var t=g(e.qName,u,!0);return{localName:t.localName,namespaceUri:t.namespaceUri,value:e.value}});if(i)return{kind:"element",localName:e.localName,namespaceUri:e.namespaceUri,attributes:c,children:[]};for(var l,p=[];;){if(y(),M<=S)throw new H("EncryptionInfo XML is invalid: unclosed element");if(b("</")){S+=2;var f=m();if(y(),">"!==O())throw new H("EncryptionInfo XML is invalid: end tag");if(S+=1,f!==r)throw new H("EncryptionInfo XML is invalid: mismatched end tag "+f);break}if(b("\x3c!--")){if((l=d.indexOf("--\x3e",S+4))<0)throw new H("EncryptionInfo XML is invalid: unclosed comment");S=l+3}else if(b("<?")){if((l=d.indexOf("?>",S+2))<0)throw new H("EncryptionInfo XML is invalid: unclosed PI");S=l+2}else if("<"===O())p.push(w(u,t+1));else for(var h=S;S<M&&"<"!==O();)if(x<(S+=1)-h)throw new L("textNodeLengthBytes",{partName:v,actual:S-h})}return{kind:"element",localName:e.localName,namespaceUri:e.namespaceUri,attributes:c,children:p}}var t,P=null!=e.xmlNestingDepth?e.xmlNestingDepth:Wi,_=null!=e.xmlAttributesPerElement?e.xmlAttributesPerElement:Zi,x=null!=e.textNodeLengthBytes?e.textNodeLengthBytes:$i,S=0,M=d.length,O=function(){return S<M?d[S]:""},k=function(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")};for(y(),b("\ufeff")&&(S+=1,y());b("<?")||b("\x3c!--");){if(b("<?")){if((t=d.indexOf("?>",S+2))<0)throw new H("EncryptionInfo XML is invalid: unclosed declaration");S=t+2}else{if((t=d.indexOf("--\x3e",S+4))<0)throw new H("EncryptionInfo XML is invalid: unclosed comment");S=t+3}y()}e=w([new Map],1);if(y(),S<M)throw new H("EncryptionInfo XML is invalid: trailing content");return e}var eo=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}};function to(){return function(){try{return Function("return this")()}catch(e){return{}}}()||{}}var ro=8;function no(t,e){if(t.byteLength<ro+1)throw new H("EncryptionInfo stream is truncated");var r=new DataView(t.buffer,t.byteOffset,t.byteLength),n=r.getUint16(0,!0),i=r.getUint16(2,!0),r=r.getUint32(4,!0);if(i===pi&&(2===n||3===n||4===n))throw new b("OFFCRYPTO Standard Encryption (EncryptionInfo minor version 2) is not supported; Agile (4.4) only");if(n!==Zn||i!==$n)throw new b("Unsupported EncryptionInfo version "+String(n)+"."+String(i));if(r!==Qn)throw new b("Unsupported EncryptionInfo reserved field 0x"+r.toString(16));var o,n=t.subarray(ro),r=(i=n,new TextDecoder("utf-8",{fatal:!0}).decode(i));try{o=Qi(r,e,"EncryptionInfo")}catch(e){if(e instanceof H||e instanceof b)throw e;if(e instanceof Error&&"PackageLimitError"===e.name)throw e;t=e instanceof Error?e.message:"XML parse failed";throw new H("EncryptionInfo XML is invalid: "+t)}if("encryption"!==o.localName||o.namespaceUri!==ei){if("encryption"!==o.localName)throw new H("EncryptionInfo root element is not encryption");if(""!==o.namespaceUri&&o.namespaceUri!==ei)throw new H("EncryptionInfo root element is not encryption")}n=io(o,ei,"keyData"),i=oo(o,ei,"dataIntegrity"),r=io(o,ei,"keyEncryptors");return{keyData:function(e){var t=so(e,"saltSize"),r=so(e,"blockSize"),n=so(e,"keyBits"),i=so(e,"hashSize"),o=m(e,"cipherAlgorithm"),a=m(e,"cipherChaining"),s=m(e,"hashAlgorithm"),e=uo(e,"saltValue"),s=(Ui(o,a),Ii(n),Ni(s));if(16!==r)throw new b("Unsupported OFFCRYPTO blockSize: "+String(r)+" (AES requires 16)");if(e.byteLength===t)return{saltSize:t,blockSize:r,keyBits:n,hashSize:i,cipherAlgorithm:o,cipherChaining:a,hashAlgorithm:s,saltValue:e};throw new H("keyData saltValue length does not match saltSize")}(n),dataIntegrity:void 0===i?void 0:{encryptedHmacKey:uo(e=i,"encryptedHmacKey"),encryptedHmacValue:uo(e,"encryptedHmacValue")},passwordKeyEncryptor:function(e){var t,e=e.children.filter(function(e){return"element"===e.kind&&"keyEncryptor"===e.localName});if(0===e.length)throw new H("EncryptionInfo has no keyEncryptor");try{for(var r=eo(e),n=r.next();!n.done;n=r.next()){var i=n.value,o=ao(i,"uri");if(o===ti){t=function(e){var t,r;try{for(var n=eo(e.children),i=n.next();!i.done;i=n.next()){var o=i.value;if("element"===o.kind&&"encryptedKey"===o.localName)return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return}(i);break}if(void 0!==o&&0<o.length)throw new b("OFFCRYPTO certificate (or non-password) keyEncryptor is not supported")}}catch(e){s={error:e}}finally{try{n&&!n.done&&(a=r.return)&&a.call(r)}finally{if(s)throw s.error}}if(void 0===t)throw new b("OFFCRYPTO EncryptionInfo has no password keyEncryptor");e=function(e,t){e=m(e,t),e=Number.parseInt(e,10);if(!Number.isFinite(e)||e<0)throw new H("EncryptionInfo attribute "+t+" is invalid");return e}(t,"spinCount");if(li<e)throw new H("OFFCRYPTO spinCount exceeds maximum allowed ("+String(li)+")");var a=so(t,"saltSize"),s=so(t,"blockSize"),u=so(t,"keyBits"),c=so(t,"hashSize"),l=m(t,"cipherAlgorithm"),p=m(t,"cipherChaining"),f=m(t,"hashAlgorithm"),h=uo(t,"saltValue"),d=uo(t,"encryptedVerifierHashInput"),v=uo(t,"encryptedVerifierHashValue"),y=uo(t,"encryptedKeyValue"),f=(Ui(l,p),Ii(u),Ni(f));if(16!==s)throw new b("Unsupported password keyEncryptor blockSize: "+String(s));if(h.byteLength===a)return{spinCount:e,saltSize:a,blockSize:s,keyBits:u,hashSize:c,cipherAlgorithm:l,cipherChaining:p,hashAlgorithm:f,saltValue:h,encryptedVerifierHashInput:d,encryptedVerifierHashValue:v,encryptedKeyValue:y};throw new H("encryptedKey saltValue length does not match saltSize")}(r)}}function io(e,t,r){e=oo(e,t,r);if(void 0===e)throw new H("EncryptionInfo missing element "+r);return e}function oo(e,t,r){var n,i,o,a;try{for(var s=eo(e.children),u=s.next();!u.done;u=s.next()){var c=u.value;if("element"===c.kind&&(c.localName===r&&(c.namespaceUri===t||""===c.namespaceUri)))return c}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}try{for(var l=eo(e.children),p=l.next();!p.done;p=l.next())if("element"===(c=p.value).kind&&c.localName===r)return c}catch(e){o={error:e}}finally{try{p&&!p.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}}function ao(e,t){var r,n;try{for(var i=eo(e.attributes),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.localName===t)return a.value}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function m(e,t){e=ao(e,t);if(void 0===e||0===e.length)throw new H("EncryptionInfo missing attribute "+t);return e}function so(e,t){e=m(e,t),e=Number.parseInt(e,10);if(!Number.isFinite(e)||e<=0)throw new H("EncryptionInfo attribute "+t+" is invalid");return e}function uo(e,t){e=m(e,t);try{var r=e;if(r=r.replace(/\s+/g,""),"function"!=typeof to().atob)return new Uint8Array(Buffer.from(r,"base64"));for(var n=to().atob(r),i=new Uint8Array(n.length),o=0;o<n.length;o++)i[o]=n.charCodeAt(o);return i}catch(e){throw new H("EncryptionInfo attribute "+t+" is not valid base64")}}var co=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}},lo=Object.freeze([208,207,17,224,161,177,26,225]),po=9,fo=12,ho=4294967294,vo=4294967295,yo=4294967293,bo=4294967292,mo=128,go=65536,wo=1048576;function Po(h){if(h.byteLength<512)throw new H("OFFCRYPTO package is truncated (CFB header)");for(var e=0;e<lo.length;e++)if(h[e]!==lo[e])throw new H("Package is not a valid OLE compound file");var d=new DataView(h.buffer,h.byteOffset,h.byteLength),t=d.getUint16(30,!0);if(t!==po&&t!==fo)throw new H("Unsupported CFB sector size");var v=1<<t,t=d.getUint16(32,!0);if(6!==t)throw new H("Unsupported CFB mini-sector size");var y=1<<t,b=d.getUint32(56,!0),t=d.getUint32(48,!0),m=d.getUint32(60,!0),g=d.getUint32(64,!0),r=d.getUint32(44,!0),n=d.getUint32(68,!0),i=d.getUint32(72,!0);if(wo<r)throw new H("CFB FAT is unreasonably large");for(var o=[],e=0;e<109;e++)(u=d.getUint32(76+4*e,!0))!==vo&&o.push(u);for(var a=n,s=0;s<i&&a!==ho&&a!==vo;s++){_o(h,p=(a+1)*v,v);for(var u,c=v/4-1,e=0;e<c;e++)(u=d.getUint32(p+4*e,!0))!==vo&&o.push(u);a=d.getUint32(p+4*c,!0)}if(o.length<r)throw new H("CFB DIFAT is truncated");for(var w=[],e=0;e<r;e++){var l=o[e];if(void 0===l)throw new H("CFB DIFAT is truncated");_o(h,p=(l+1)*v,v);for(var p,f=v/4,P=0;P<f;P++)w.push(d.getUint32(p+4*P,!0))}n=xo(h,0,w,t,v,void 0);if(n.byteLength<mo)throw new H("CFB directory is empty");for(var _=Math.min(Math.floor(n.byteLength/mo),go),x=new DataView(n.buffer,n.byteOffset,n.byteLength),S=[],e=0;e<_;e++){for(var M=e*mo,O=x.getUint16(64+M,!0),j=2<=O?Math.floor((O-2)/2):0,k="",E=0;E<j&&E<32;E++)k+=String.fromCharCode(x.getUint16(M+2*E,!0));var O=x.getUint8(66+M),B=x.getUint32(76+M,!0),R=x.getUint32(116+M,!0),F=x.getUint32(120+M,!0);if(0!==x.getUint32(124+M,!0))throw new H("OFFCRYPTO stream exceeds supported size");S.push({name:k,objectType:O,startSector:R,streamSize:F,childId:B})}var A=S[0];if(void 0===A||5!==A.objectType)throw new H("CFB root storage is missing");function C(e){var t,r;4294967290<e||S.length<=e||U.has(e)||(U.add(e),void 0!==(t=S[e])&&(r=x.getUint32(e*mo+68,!0),e=x.getUint32(e*mo+72,!0),C(r),2===t.objectType&&N.set(t.name,t),C(e),1===t.objectType||5===t.objectType)&&C(t.childId))}var L,T,N=new Map,U=new Set,t=(C(A.childId),N.get(ui)),n=N.get(ci);if(void 0===t||void 0===n)throw new H("OFFCRYPTO streams EncryptionInfo and/or EncryptedPackage are missing");function I(e){if(0===e.streamSize)return new Uint8Array(0);if(e.streamSize<b&&e!==A){if(void 0===L&&(L=function(e,t,r,n,i,o){if(0===i||n===ho)return[];for(var a=xo(e,0,r,n,o,i*o),s=new DataView(a.buffer,a.byteOffset,a.byteLength),u=[],c=0;c+4<=a.byteLength;c+=4)u.push(s.getUint32(c,!0));return u}(h,d,w,m,g,v),T=xo(h,0,w,A.startSector,v,void 0)),void 0===T)throw new H("CFB mini-stream is unavailable");for(var t=T,r=L,n=e.startSector,i=y,o=e.streamSize,a=[],s=0,u=n,c=0,l=r.length+2;u!==ho&&u!==vo&&s<o;){if(c++>l)throw new H("CFB mini-FAT chain is cyclic or unbounded");var p=u*i;if(p>=t.byteLength)throw new H("CFB mini-stream is truncated");var f=Math.min(i,t.byteLength-p,o-s);if(a.push(t.subarray(p,p+f)),s+=f,u>=r.length)throw new H("CFB mini-FAT sector out of range");p=r[u];if(void 0===p)throw new H("CFB mini-FAT sector out of range");u=p}if((n=So(a)).byteLength<o)throw new H("OFFCRYPTO mini-stream data is truncated");return n.subarray(0,o)}return xo(h,0,w,e.startSector,v,e.streamSize)}return{encryptionInfo:I(t),encryptedPackage:I(n)}}function _o(e,t,r){if(t<0||r<0||t+r>e.byteLength)throw new H("OFFCRYPTO package is truncated (CFB sector)")}function xo(e,t,r,n,i,o){if(n===ho||n===vo)return new Uint8Array(0);for(var a=[],s=0,u=n,c=0,l=r.length+2;u!==ho&&u!==vo;){if(c++>l)throw new H("CFB FAT chain is cyclic or unbounded");if(u===yo||u===bo)throw new H("CFB FAT chain contains reserved sector");if(u<0||u>=r.length){var p=(u+1)*i;if(p+i>e.byteLength&&p>=e.byteLength)throw new H("CFB FAT chain sector out of range")}var p=(u+1)*i,f=(_o(e,p,Math.min(i,e.byteLength-p)),Math.min(i,e.byteLength-p)),f=e.subarray(p,p+f);if(a.push(f),s+=f.byteLength,void 0!==o&&o<=s)break;if(u>=r.length)throw new H("CFB FAT chain sector out of range");f=r[u];if(void 0===f)throw new H("CFB FAT chain sector out of range");u=f}n=So(a);if(void 0===o)return n;if(n.byteLength<o)throw new H("OFFCRYPTO stream data is truncated");return n.subarray(0,o)}function So(e){var t,r,n,i,o=0;try{for(var a=co(e),s=a.next();!s.done;s=a.next())o+=(f=s.value).byteLength}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}var u=new Uint8Array(o),c=0;try{for(var l=co(e),p=l.next();!p.done;p=l.next()){var f=p.value;u.set(f,c),c+=f.byteLength}}catch(e){n={error:e}}finally{try{p&&!p.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return u}var Mo=8;function Oo(e,t,r,n,i){if(e.byteLength<Mo)throw new H("EncryptedPackage stream is truncated");var o=Math.max(i.singlePartUncompressedBytes,i.totalUncompressedBytes);if(e.byteLength>o+Mo+si)throw new L("singlePartUncompressedBytes",{actual:e.byteLength});var o=new DataView(e.buffer,e.byteOffset,e.byteLength),a=o.getUint32(0,!0);if(0!==o.getUint32(4,!0))throw new L("singlePartUncompressedBytes",{actual:Number.MAX_SAFE_INTEGER});o=a;if(o>i.singlePartUncompressedBytes)throw new L("singlePartUncompressedBytes",{actual:o});if(o>i.totalUncompressedBytes)throw new L("totalUncompressedBytes",{actual:o});a=e.subarray(Mo);if(0===a.byteLength&&0<o)throw new H("EncryptedPackage has StreamSize but no ciphertext");if(void 0!==n){var i=e,e=t,s=(c=r).hashAlgorithm,u=c.saltValue,c=c.blockSize,l=Di(s,u,oi,c),l=Vi(e,l,n.encryptedHmacKey),p=Ti[s];if(l.byteLength<p)throw new _i;if(l=l.subarray(0,p),u=Di(s,u,ai,c),(c=Vi(e,u,n.encryptedHmacValue)).byteLength<p)throw new _i;if(e=c.subarray(0,p),!Xi(Ri(s,l,i).subarray(0,p),e))throw new _i}u=function(e,t,r){var n=si,i=r.blockSize,o=new Uint8Array(e.byteLength),a=0,s=0,u=0;for(;u<e.byteLength;){var c=e.byteLength-u,c=n<c?n:c;if(c%i!=0)throw new H("EncryptedPackage segment is not block-aligned");var l=e.subarray(u,u+c),p=function(e){var t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e>>>0,!0),t}(s),p=Di(r.hashAlgorithm,r.saltValue,p,i),p=Vi(t,p,l);o.set(p,a),a+=p.byteLength,u+=c,s+=1}return o.subarray(0,a)}(a,t,r);if(u.byteLength<o)throw new H("Decrypted EncryptedPackage is shorter than StreamSize");return u.subarray(0,o)}var ko=function(o,a,s,u){return new(s=s||Promise)(function(e,t){function r(e){try{i(u.next(e))}catch(e){t(e)}}function n(e){try{i(u.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):new s(function(e){e(t.value)}).then(r,n)}i((u=u.apply(o,a||[])).next())})},Eo=function(n,i){var o,a,s,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(r){return function(e){var t=[r,e];if(o)throw new TypeError("Generator is already executing.");for(;u;)try{if(o=1,a&&(s=2&t[0]?a.return:t[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,t[1])).done)return s;switch(a=0,(t=s?[2&t[0],s.value]:t)[0]){case 0:case 1:s=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,a=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(!(s=0<(s=u.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){u=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3]))u.label=t[1];else if(6===t[0]&&u.label<s[1])u.label=s[1],s=t;else{if(!(s&&u.label<s[2])){s[2]&&u.ops.pop(),u.trys.pop();continue}u.label=s[2],u.ops.push(t)}}t=i.call(n,u)}catch(e){t=[6,e],a=0}finally{o=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},Ao=Object.freeze([208,207,17,224,161,177,26,225]);e.AGILE_ENCRYPTION_NS=ei,e.AGILE_RESERVED=Qn,e.AGILE_VERSION_MAJOR=Zn,e.AGILE_VERSION_MINOR=$n,e.BLOCK_KEY_ENCRYPTOR_KEY=ii,e.BLOCK_KEY_HMAC_KEY=oi,e.BLOCK_KEY_HMAC_VALUE=ai,e.BLOCK_KEY_VERIFIER_HASH=ni,e.BLOCK_KEY_VERIFIER_INPUT=ri,e.DEFAULT_DECRYPT_SECURITY_LIMITS=p,e.DIAG_INVALID_INK_TRACE=pe,e.EMUS_PER_POINT=re,e.ENCRYPTED_PACKAGE_SEGMENT_SIZE=si,e.EncryptedPackageError=H,e.INKML_NAMESPACE=F,e.INK_CONTENT_TYPE="application/inkml+xml",e.INK_EFFECT_COLORS=f,e.INK_SOURCE_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",e.InvalidPasswordError=_i,e.MATH_BREAKBINSUB_VALUES=at,e.MATH_BREAKBIN_VALUES=ot,e.MATH_FTYPE_VALUES=tt,e.MATH_JC_VALUES=et,e.MATH_LIMLOC_VALUES=nt,e.MATH_NAMESPACE=We,e.MATH_PREFIX_FALLBACKS=Ze,e.MATH_SCRIPT_VALUES=st,e.MATH_SHP_VALUES=rt,e.MATH_SPACING_RULE_VALUES=[0,1,2,3,4],e.MATH_STYLE_VALUES=ut,e.MATH_TOPBOT_VALUES=it,e.MathAccent=$t,e.MathArgument=Nt,e.MathBar=tr,e.MathBorderBox=sr,e.MathBox=ir,e.MathDelimiter=lr,e.MathElement=r,e.MathEquationArray=hr,e.MathFraction=yr,e.MathFunction=gr,e.MathGroupCharacter=_r,e.MathLimitLower=Mr,e.MathLimitUpper=Er,e.MathMatrix=Ur,e.MathMatrixRow=Lr,e.MathNaryOperator=Br,e.MathOMath=qt,e.MathParagraph=Vt,e.MathPhantom=Hr,e.MathPreSubSuperscript=qr,e.MathRadical=Vr,e.MathRun=on,e.MathSubSuperscript=$r,e.MathSubscript=Jr,e.MathSuperscript=tn,e.MathText=Ct,e.OFFICE_COMMON_PACKAGE_NAME="@syncfusion/ej2-office-common",e.PASSWORD_KEY_ENCRYPTOR_NS="http://schemas.microsoft.com/office/2006/keyEncryptor/password",e.PASSWORD_KEY_ENCRYPTOR_URI=ti,e.PackageLimitError=L,e.STREAM_ENCRYPTED_PACKAGE=ci,e.STREAM_ENCRYPTION_INFO=ui,e.UnknownMathElement=jt,e.UnsupportedEncryptionError=b,e.WML_TRANSITIONAL_NAMESPACE=$e,e.WORDML_2010_NAMESPACE="http://schemas.microsoft.com/office/word/2010/wordml",e.WORDPROCESSING_INK_URI="http://schemas.microsoft.com/office/word/2010/wordprocessingInk",e.XML_NAMESPACE=Qe,e.addInkTrace=function(e,t,r){var n,i,o,a;if(ee(e))return e=e,t=t.map(function(e){return{x:e.x,y:e.y}}),void 0!==(n=e.traces[e.traces.length-1])&&(i=e.brushes.find(function(e){return e.id===n.brushRef})),a=function(e){for(var t=new Set(e.map(function(e){return e.id})),r=0;;){var n="#br"+String(r);if(!t.has(n))return n;r+=1}}(e.brushes),i=void 0!==i?W(i,a):{color:G,size:{width:K,height:K},units:J,inkEffect:"none",ignorePressure:!0,id:a},void 0!==r&&(a=i,void 0!==(r=r).color&&(a.color=r.color),void 0!==r.size&&(a.size={width:r.size.width,height:r.size.height}),void 0!==r.units&&(a.units=r.units),void 0===r.inkEffect||"none"!==(o=r.inkEffect)&&"pencil"!==o&&"rainbow"!==o&&"galaxy"!==o&&"lava"!==o&&"ocean"!==o&&"roseGold"!==o&&"gold"!==o&&"silver"!==o&&"bronze"!==o||(a.inkEffect=r.inkEffect),void 0!==r.ignorePressure&&(a.ignorePressure=r.ignorePressure),void 0!==r.tip&&(a.tip=r.tip),void 0!==r.rasterOp&&(a.rasterOp=r.rasterOp),void 0!==r.anchorX&&(a.anchorX=r.anchorX),void 0!==r.anchorY&&(a.anchorY=r.anchorY),void 0!==r.scaleFactor)&&(a.scaleFactor=r.scaleFactor),e.brushes.push(i),o={points:t,brushRef:i.id,contextRef:"#ctx0"},a=e.traces.length,e.traces.push(o),void 0!==e.traceTree&&(e.traceTree=X(e.traceTree,[{kind:"trace",traceIndex:a}])),o;throw new TypeError("addInkTrace: expected OfficeInk from createInk/cloneInk")},e.aesCbcDecrypt=Vi,e.aesCbcEncrypt=function(e,t,r){if(16!==t.byteLength)throw new b("OFFCRYPTO AES-CBC IV must be 16 bytes");var n=0===r.byteLength?16:16*Math.ceil(r.byteLength/16),r=((n=new Uint8Array(n)).set(r,0),qi(e.byteLength)),e=((r=ki(r,Buffer.from(e),Buffer.from(t))).setAutoPadding(!1),r.update(Buffer.from(n)));return 0===(t=r.final()).byteLength?new Uint8Array(e):((n=new Uint8Array(e.byteLength+t.byteLength)).set(e,0),n.set(t,e.byteLength),n)},e.attrValue=ln,e.attrValueNs=pn,e.childElements=cn,e.cloneInk=function(e){var t;if(ee(e))return t=(e=e).brushes.map(function(e){return W(e,e.id)}),t={traces:e.traces.map(function(e){var t={points:e.points.map(function(e){return{x:e.x,y:e.y}}),brushRef:e.brushRef,contextRef:e.contextRef};return void 0!==e.timeOffset&&(t.timeOffset=e.timeOffset),t}),brushes:t,scaleMode:e.scaleMode},void 0!==e.contexts&&(t.contexts=e.contexts.map(Z)),void 0!==e.traceTree&&(t.traceTree=function t(e){return e.map(function(e){return"trace"===e.kind?{kind:"trace",traceIndex:e.traceIndex}:{kind:"group",children:t(e.children)}})}(e.traceTree)),$(t);throw new TypeError("cloneInk: expected OfficeInk from createInk/cloneInk")},e.cloneMathElement=function e(t){switch(t.type){case"t":return new Ct(t.value,t.xmlSpace);case"arg":var r=t;return new Nt((f=r.properties,h({},void 0!==f.argSz?{argSz:f.argSz}:{})),r.item.map(e),d(r.ctrlPr));case"oMathPara":return new Vt((r=(f=t).properties,h({},void 0!==r.jc?{jc:r.jc}:{})),f.equations.map(e));case"oMath":return new qt(t.children.map(e));case"unknown":var n=t,i=n.preservedXml;return new jt(n.localName,void 0===i?{kind:"element",namespaceUri:"",localName:n.localName,prefix:"",attributes:[],namespaceDeclarations:[],children:[]}:Xn(i));case"r":return new on((n=t).children.map(e),(i=n.properties,h({},void 0!==i.isLiteral?{isLiteral:i.isLiteral}:{},void 0!==i.isNormal?{isNormal:i.isNormal}:{},void 0!==i.scr?{scr:i.scr}:{},void 0!==i.sty?{sty:i.sty}:{},void 0!==i.isAligned?{isAligned:i.isAligned}:{},void 0!==i.brk?{brk:i.brk}:{})),void 0===n.wRPr?void 0:Xn(n.wRPr),n.opaqueChildren.map(Xn));case"acc":return new $t((n=(o=t).properties,h({},void 0!==n.chr?{chr:n.chr}:{},void 0!==n.ctrlPr?{ctrlPr:d(n.ctrlPr)}:{})),e(o.base));case"bar":return new tr((p=(o=t).properties,h({},void 0!==p.pos?{pos:p.pos}:{},void 0!==p.ctrlPr?{ctrlPr:d(p.ctrlPr)}:{})),e(o.base));case"box":return new ir((p=(o=t).properties,h({},void 0!==p.isOperatorEmulated?{isOperatorEmulated:p.isOperatorEmulated}:{},void 0!==p.isNoBreak?{isNoBreak:p.isNoBreak}:{},void 0!==p.isDifferential?{isDifferential:p.isDifferential}:{},void 0!==p.isAligned?{isAligned:p.isAligned}:{},void 0!==p.ctrlPr?{ctrlPr:d(p.ctrlPr)}:{})),e(o.base));case"borderBox":return new sr((l=(o=t).properties,h({},void 0!==l.isTopHidden?{isTopHidden:l.isTopHidden}:{},void 0!==l.isBottomHidden?{isBottomHidden:l.isBottomHidden}:{},void 0!==l.isLeftHidden?{isLeftHidden:l.isLeftHidden}:{},void 0!==l.isRightHidden?{isRightHidden:l.isRightHidden}:{},void 0!==l.hasHorizontalStrike?{hasHorizontalStrike:l.hasHorizontalStrike}:{},void 0!==l.hasVerticalStrike?{hasVerticalStrike:l.hasVerticalStrike}:{},void 0!==l.hasBottomLeftToTopRightStrike?{hasBottomLeftToTopRightStrike:l.hasBottomLeftToTopRightStrike}:{},void 0!==l.hasTopLeftToBottomRightStrike?{hasTopLeftToBottomRightStrike:l.hasTopLeftToBottomRightStrike}:{},void 0!==l.ctrlPr?{ctrlPr:d(l.ctrlPr)}:{})),e(o.base));case"d":return new lr((l=(o=t).properties,h({},void 0!==l.begChr?{begChr:l.begChr}:{},void 0!==l.sepChr?{sepChr:l.sepChr}:{},void 0!==l.endChr?{endChr:l.endChr}:{},void 0!==l.canGrow?{canGrow:l.canGrow}:{},void 0!==l.shp?{shp:l.shp}:{},void 0!==l.ctrlPr?{ctrlPr:d(l.ctrlPr)}:{})),o.elements.map(e));case"eqArr":return new hr((c=(o=t).properties,h({},void 0!==c.baseJc?{baseJc:c.baseJc}:{},void 0!==c.hasMaxDistance?{hasMaxDistance:c.hasMaxDistance}:{},void 0!==c.hasObjectDistance?{hasObjectDistance:c.hasObjectDistance}:{},void 0!==c.ctrlPr?{ctrlPr:d(c.ctrlPr)}:{})),o.elements.map(e));case"f":return new yr((c=(o=t).properties,h({},void 0!==c.type?{type:c.type}:{},void 0!==c.ctrlPr?{ctrlPr:d(c.ctrlPr)}:{})),e(o.numerator),e(o.denominator));case"func":return new gr((u=(o=t).properties,h({},void 0!==u.ctrlPr?{ctrlPr:d(u.ctrlPr)}:{})),e(o.name),e(o.base));case"groupChr":return new _r((u=(o=t).properties,h({},void 0!==u.chr?{chr:u.chr}:{},void 0!==u.pos?{pos:u.pos}:{},void 0!==u.vertJc?{vertJc:u.vertJc}:{},void 0!==u.ctrlPr?{ctrlPr:d(u.ctrlPr)}:{})),e(o.base));case"limLow":return new Mr(qn((o=t).properties),e(o.base),e(o.lim));case"limUpp":return new Er(qn((o=t).properties),e(o.base),e(o.lim));case"m":return new Ur((s=(o=t).properties,h({},void 0!==s.baseJc?{baseJc:s.baseJc}:{},void 0!==s.isPlaceholderHidden?{isPlaceholderHidden:s.isPlaceholderHidden}:{},void 0!==s.ctrlPr?{ctrlPr:d(s.ctrlPr)}:{})),o.rows.map(e));case"mr":return new Lr((o=t).elements.map(e));case"nary":return new Br((s=(o=t).properties,h({},void 0!==s.chr?{chr:s.chr}:{},void 0!==s.limLoc?{limLoc:s.limLoc}:{},void 0!==s.canGrow?{canGrow:s.canGrow}:{},void 0!==s.isSubscriptHidden?{isSubscriptHidden:s.isSubscriptHidden}:{},void 0!==s.isSuperscriptHidden?{isSuperscriptHidden:s.isSuperscriptHidden}:{},void 0!==s.ctrlPr?{ctrlPr:d(s.ctrlPr)}:{})),e(o.subscript),e(o.superscript),e(o.base));case"phant":return new Hr((a=(o=t).properties,h({},void 0!==a.isShown?{isShown:a.isShown}:{},void 0!==a.isZeroWidth?{isZeroWidth:a.isZeroWidth}:{},void 0!==a.isZeroAscender?{isZeroAscender:a.isZeroAscender}:{},void 0!==a.isZeroDescender?{isZeroDescender:a.isZeroDescender}:{},void 0!==a.isTransparent?{isTransparent:a.isTransparent}:{},void 0!==a.ctrlPr?{ctrlPr:d(a.ctrlPr)}:{})),e(o.base));case"rad":return new Vr((a=(o=t).properties,h({},void 0!==a.isDegreeHidden?{isDegreeHidden:a.isDegreeHidden}:{},void 0!==a.ctrlPr?{ctrlPr:d(a.ctrlPr)}:{})),e(o.deg),e(o.base));case"sPre":return new qr(Kn((o=t).properties),e(o.sub),e(o.sup),e(o.base));case"sSub":return new Jr(Kn((o=t).properties),e(o.base),e(o.subscript));case"sSubSup":return new $r(Kn((o=t).properties),e(o.base),e(o.subscript),e(o.superscript));case"sSup":var o;return new tn(Kn((o=t).properties),e(o.base),e(o.superscript));default:throw t.type,new Error("cloneMathElement: unhandled kind")}var a,s,u,c,l,p,f},e.computeInkBounds=w,e.concatBytes=Fi,e.createElement=sn,e.createInk=function(){return $({traces:[],brushes:[],scaleMode:"authored"})},e.createText=un,e.decodeTrace=v,e.decryptOffCryptoPackage=function(o,a,s){return void 0===s&&(s=p),ko(this,void 0,void 0,function(){var t,r,n,i;return Eo(this,function(e){return t=yi(s),r=Po(o),n=no(r.encryptionInfo,t),i=function(e,t){var e=Hi(e),r=t.hashAlgorithm,n=t.saltValue,i=t.spinCount,o=t.keyBits,a=t.blockSize,s=t.hashSize;if((u=Vi(zi(r,n,e,i,ri,o),Di(r,n,void 0,a),t.encryptedVerifierHashInput)).byteLength<t.saltSize)throw new _i;var u=Bi(r,u.subarray(0,t.saltSize)),c=Vi(zi(r,n,e,i,ni,o),Di(r,n,void 0,a),t.encryptedVerifierHashValue);if((s=Math.min(s,u.byteLength,c.byteLength))<=0)throw new _i;if(!Xi(u.subarray(0,s),c.subarray(0,s)))throw new _i;if(u=Vi(zi(r,n,e,i,ii,o),Di(r,n,void 0,a),t.encryptedKeyValue),c=o/8,u.byteLength<c)throw new _i;return u.subarray(0,c)}(a,n.passwordKeyEncryptor),[2,Oo(r.encryptedPackage,i,n.keyData,n.dataIntegrity,t)]})})},e.deriveAgileIv=Di,e.deriveAgileKey=zi,e.emitOnOff=function(e){return e?"1":"0"},e.encodePasswordUtf16Le=Hi,e.encodeTrace=y,e.formatUnitValue=oe,e.getLastInkParseDiagnostics=function(){return Ce},e.hashBytes=Bi,e.hashDigestLength=ji,e.hmacBytes=Ri,e.inkEffectColor=T,e.inkPathPoints=function(e,t){var r,n,i,o,a,s;if(!ee(e))throw new TypeError("inkPathPoints: expected OfficeInk from createInk/cloneInk");var u=[];try{for(var c=Y(e.traces),l=c.next();!l.done;l=c.next()){var p=l.value;try{for(var f=Y(p.points),h=f.next();!h.done;h=f.next()){var d=h.value;u.push(d)}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}if(0===u.length)return e.traces.map(function(){return[]});var v=("decoded"===e.scaleMode?P:z)(u,t),y=0,b=[];try{for(var m=Y(e.traces),g=m.next();!g.done;g=m.next()){var p=g.value,w=v.slice(y,y+p.points.length);y+=p.points.length,b.push(X(w))}}catch(e){a={error:e}}finally{try{g&&!g.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}return b},e.isInteger2=yt,e.isInteger255=bt,e.isOffCryptoPackage=function(e){var t=e instanceof Uint8Array?e:new Uint8Array(e);if(t.byteLength<Ao.length)return!1;for(var r=0;r<Ao.length;r++)if(t[r]!==Ao[r])return!1;return!0},e.isOfficeInk=ee,e.isSpacingRule=function(e){return Number.isInteger(e)&&0<=e&&e<=4},e.isUnSignedInteger=function(e){return Number.isInteger(e)&&0<=e},e.mathArg=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Nt({},e)},e.mathElementToOpenXml=function(e,t){return Hn(e,{prefix:function(e){var t,r;if(void 0!==(null==e?void 0:e.prefix)&&0<e.prefix.length)return e.prefix;var n=new Set(null!=(e=null==e?void 0:e.reservedPrefixes)?e:[]);try{for(var i=Tn(Ze),o=i.next();!o.done;o=i.next()){var a=o.value;if(!n.has(a))return a}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return"m999"}(t),path:e.type})},e.mathEqual=l,e.parseInkXml=function(e){var t,r,n,i,o,a=[],s=0,u=0,c=0,l=[],p=[],f=[],h=[];if("ink"!==(o=e).localName||!R(o)&&o.namespaceUri!==F)return Ce={items:a,traceCount:0,packetCount:0,pointCount:0,channelValueCount:0},Q({traces:[],brushes:[]});var d=!1;try{for(var v=le(e.children),y=v.next();!y.done;y=v.next())if("element"===(k=y.value).kind&&R(k)){var b=k.localName;if(!de.has(b)&&"definitions"===b&&!d){d=!0,M=O=S=x=g=m=_=P=w=void 0;var m,g,w=k,P=l,_=p;try{for(var x=le(w.children),S=x.next();!S.done;S=x.next()){var M,O=S.value;"element"!==O.kind||!R(O)||de.has(O.localName)||("brush"===O.localName?P.push(function(t){function e(e){if("element"===e.kind&&R(e)&&"brushProperty"===e.localName){var t=B(e,"name");if(void 0!==t&&(t=t.trim().toLowerCase(),ve.has(t))){var r,n=null!=(r=B(e,"value"))?r:"",i=B(e,"units");switch(t){case"width":void 0!==(a=Ie(n))&&(h=ne(a,o=null!=i?i:"cm"),_||(v=o),P=!0,v=o);break;case"height":void 0!==(a=Ie(n))&&(d=ne(a,o=null!=i?i:v),_=!0,void 0!==i)&&(v=i);break;case"color":var o=function(e){var t,r,n,e=e.trim();if(0!==e.length&&(e.startsWith("#")||(e="#"+e),/^#[0-9A-Fa-f]{6}$/.test(e)||/^#[0-9A-Fa-f]{3}$/.test(e)))return(4===e.length?(t=e.charAt(1),r=e.charAt(2),n=e.charAt(3),"#"+t+t+r+r+n+n):e).toUpperCase();return}(n);void 0!==o&&(y=o);break;case"tip":0<n.length&&(b=n);break;case"rasterop":0<n.length&&(m=n);break;case"ignorepressure":g=je(n);break;case"inkeffects":o=n.trim().toLowerCase().replace(/[_\s-]/g,""),o=ye.get(o);void 0!==o&&(w=o);break;case"anchorx":s=n;break;case"anchory":u=n;break;case"scalefactor":c=n;break;case"transparency":var a=Number(n);Number.isFinite(a)&&(l=a);break;case"antialiased":p=je(n);break;case"fittocurve":f=je(n)}}}}var r,s,u,c,l,p,f,n=function(){var e=Ne(t);return null!=e?e:""}(),n=Ue(0<n.length?n:"br0"),h=ne(be,"cm"),d=ne(me,"cm"),v="cm",y=ge,b=we,m=Pe,g=!1,w="none",P=!1,_=!1;try{for(var i=le(t.children),o=i.next();!o.done;o=i.next()){var a=o.value;e(a)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(x=i.return)&&x.call(i)}finally{if(r)throw r.error}}P||_||(v="cm");var x={id:n,color:y,size:{width:h,height:d},units:v,inkEffect:w,ignorePressure:g,tip:b,rasterOp:m};void 0!==s&&(x.anchorX=s);void 0!==u&&(x.anchorY=u);void 0!==c&&(x.scaleFactor=c);void 0!==l&&(x.transparency=l);void 0!==p&&(x.antiAliased=p);void 0!==f&&(x.fitToCurve=f);return x}(O)):"context"===O.localName&&void 0!==(M=function(e){var t,r,n=Ne(e);if(void 0===n||0===n.length)return;var i,n=Ue(n),o=[];try{for(var a=le(e.children),s=a.next();!s.done;s=a.next()){var u,c=s.value;"element"!==c.kind||!R(c)||de.has(c.localName)||("inkSource"===c.localName?(void 0!==(u=Ne(c))&&0<u.length&&(i=u),Le(c,o)):"traceFormat"===c.localName&&Le(c,o))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}e={id:n,channels:o};void 0!==i&&(e.inkSourceId=i);return e}(O))&&_.push(M))}}catch(e){m={error:e}}finally{try{S&&!S.done&&(g=x.return)&&g.call(x)}finally{if(m)throw m.error}}}}}catch(e){t={error:e}}finally{try{y&&!y.done&&(r=v.return)&&r.call(v)}finally{if(t)throw t.error}}try{for(var k,E,A,C,L,T,N,j,U=le(e.children),I=U.next();!I.done;I=U.next())"element"===(k=I.value).kind&&R(k)&&(E=k.localName,de.has(E)||"definitions"===E||("trace"===E?(C=(A=Te(k,f.length)).trace,L=A.node,T=A.stats,N=A.diagnostic,f.push(C),h.push(L),s+=T.packetCount,u+=T.pointCount,c+=T.channelValueCount,void 0!==N&&a.push(N)):"traceGroup"===E&&0<(j=function e(t,r,n,i){var o,a;var s=[];try{for(var u=le(t.children),c=u.next();!c.done;c=u.next()){var l,p,f,h,d,v,y=c.value;"element"!==y.kind||!R(y)||de.has(y.localName)||("trace"===y.localName?(l=Te(y,r.length),p=l.trace,f=l.node,h=l.stats,d=l.diagnostic,r.push(p),s.push(f),i(h),void 0!==d&&n.push(d)):"traceGroup"===y.localName&&0<(v=e(y,r,n,i)).children.length&&s.push(v))}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return{kind:"group",children:s}}(k,f,a,function(e){s+=e.packetCount,u+=e.pointCount,c+=e.channelValueCount})).children.length&&h.push(j)))}catch(e){n={error:e}}finally{try{I&&!I.done&&(i=U.return)&&i.call(U)}finally{if(n)throw n.error}}return Ce={items:a,traceCount:f.length,packetCount:s,pointCount:u,channelValueCount:c},Q(ce({traces:f,brushes:l},0<p.length?{contexts:p}:{},0<f.length?{traceTree:h}:{}))},e.parseMathBreakBin=function(e){return-1!==ot.indexOf(e)?e:void 0},e.parseMathBreakBinSub=function(e){return-1!==at.indexOf(e)?e:void 0},e.parseMathElement=Ln,e.parseMathElements=function(e,t){return e.map(function(e){return Ln(e,t)})},e.parseMathFractionType=lt,e.parseMathJc=ct,e.parseMathLimLoc=ft,e.parseMathScript=dt,e.parseMathShape=pt,e.parseMathStyle=vt,e.parseMathTopBot=ht,e.parseOnOff=mt,e.pointsToUnit=ie,e.resolveDecryptLimits=yi,e.scalePointsStretch=z,e.scalePointsUniform=P,e.serializeInkXml=function(e){var t,r,n,i,o,a,s,u;if(!ee(e))throw new TypeError("serializeInkXml: expected OfficeInk from parseInkXml/createInk");var c=[],l=[],p=e.traces.some(function(e){return e.contextRef===He||""===e.contextRef||"#ctx0"===e.contextRef})||0<e.traces.length,f=null!=e.contexts?e.contexts:[],h=!1;try{for(var d=Be(f),v=d.next();!v.done;v=d.next()){var y=v.value;l.push(qe(y)),"ctx0"===Ge(y.id)&&(h=!0)}}catch(e){t={error:e}}finally{try{v&&!v.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}p&&!h&&l.push(qe(Ye())),f=Fe(e.brushes).sort(function(e,t){return e.id<t.id?-1:e.id>t.id?1:0});try{for(var b=Be(f),m=b.next();!m.done;m=b.next()){var g=m.value;l.push(function(e){var t=Ge(e.id),r=[],n=0<e.units.length?e.units:"cm",i=ie(e.size.width,n),o=ie(e.size.height,n),i=(r.push(k("width",oe(i),n),k("height",oe(o),n)),function(e){var t=T(e.inkEffect);return(void 0===t?e.color:t).toUpperCase()}(e)),o=(r.push(k("color",i.startsWith("#")?i:"#"+i)),e.inkEffect);r.push(k("ignorePressure",e.ignorePressure?"1":"0")),"pencil"!==o&&void 0!==e.rasterOp&&0<e.rasterOp.length&&(r.push(k("tip",null!=e.tip?e.tip:"ellipse")),r.push(k("rasterOp",e.rasterOp)));"none"!==o&&(r.push(k("inkEffects",function(e){return"roseGold"!==e?e:"roseGold"}(o))),"pencil"!==o)&&(r.push(k("anchorX",null!=e.anchorX?e.anchorX:"0")),r.push(k("anchorY",null!=e.anchorY?e.anchorY:"0")),r.push(k("scaleFactor",null!=e.scaleFactor?e.scaleFactor:"0.5")));return O("brush",[ue(t)],r)}(g))}}catch(e){n={error:e}}finally{try{m&&!m.done&&(i=b.return)&&i.call(b)}finally{if(n)throw n.error}}if(0<l.length&&c.push(O("definitions",[],l)),void 0!==e.traceTree&&0<e.traceTree.length)try{for(var w=Be(e.traceTree),P=w.next();!P.done;P=w.next()){var _=P.value;c.push.apply(c,Fe(function e(t,r){var n,i;{var o;if("trace"===t.kind)return void 0===(o=r[t.traceIndex])?[]:[Ke(o)]}var a=[];try{for(var s=Be(t.children),u=s.next();!u.done;u=s.next()){var c=u.value;a.push.apply(a,Fe(e(c,r)))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return[O("traceGroup",[],a)]}(_,e.traces)))}}catch(e){o={error:e}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(o)throw o.error}}else try{for(var x=Be(e.traces),S=x.next();!S.done;S=x.next()){var M=S.value;c.push(Ke(M))}}catch(e){s={error:e}}finally{try{S&&!S.done&&(u=x.return)&&u.call(x)}finally{if(s)throw s.error}}return O("ink",[],c,[{prefix:se,namespaceUri:F}])},e.textContent=fn,e.timingSafeEqual=Xi,e.unitValueToPoints=ne,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
|
+
//# sourceMappingURL=ej2-office-common.umd.min.js.map
|