@sheetxl/io-xlsx 0.8.0-beta.9 → 1.0.0

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.
Files changed (205) hide show
  1. package/LICENSE.md +8 -7
  2. package/browser/esm/7rZlWcm56hn3Jmnk.mjs +7021 -0
  3. package/browser/esm/AZus_5slvoIVhf1u.mjs +10323 -0
  4. package/browser/esm/B9QfzGvsvg-V3utu.mjs +4632 -0
  5. package/browser/esm/{C-2KaUyV4gs-sDTZ.mjs → BIR_Si489gIkGOnc.mjs} +194 -144
  6. package/browser/esm/{DsSIg46AR7IFBN5N.mjs → BJFvc-i40R4rPZ5y.mjs} +939 -804
  7. package/browser/esm/{D-epcZSoKLbsAIaC.mjs → BX8Ebx4NC5zp7_3J.mjs} +3 -3
  8. package/browser/esm/{CxtFawTfwRTCC4Xr.mjs → Bnxw38IvtA04zXEE.mjs} +2 -2
  9. package/browser/esm/CfVhYH77KdrR3fEK.mjs +24 -0
  10. package/browser/esm/index.mjs +3 -4
  11. package/browser/esm/jIQks3Crw6jehdDU.mjs +2474 -0
  12. package/browser/esm/{CRrTMRdN_IcSA_pm.mjs → qc9hnuR2z-whY8YO.mjs} +3 -3
  13. package/browser/esm/wZGpmkMUubNjClhG.mjs +104 -0
  14. package/licenses/dependencies.txt +2 -2
  15. package/node/esm/{BsTMtvwpQoPNv95M.mjs → BNLHWJHyy5eB0P_4.mjs} +2 -2
  16. package/node/esm/CVtsY2F9A9NzEGLk.mjs +2478 -0
  17. package/node/esm/CoeQ0LO-nNXiowwv.mjs +7284 -0
  18. package/node/esm/CxY3iIYLXVhCebeV.mjs +4746 -0
  19. package/node/esm/D2CZy9TQM9h2uqBh.mjs +2562 -0
  20. package/node/esm/{BCr4lCI6qQXXN0K1.mjs → Dm0hvKcR4xb0TV_N.mjs} +3 -3
  21. package/node/esm/_IA1gQ-zFQYQSZSs.mjs +6957 -0
  22. package/node/esm/index.mjs +65 -28
  23. package/node/esm/{CBtj0-a4l2qux2hA.mjs → zZFe3mW0xjmobowq.mjs} +3 -3
  24. package/package.json +9 -10
  25. package/types/src/AutoFilterRules.d.ts +34 -44
  26. package/types/src/ConditionalFormatRules.d.ts +2 -2
  27. package/types/src/DataTableFormula.d.ts +26 -0
  28. package/types/src/DataValidationRules.d.ts +0 -5
  29. package/types/src/DefinedNameAttributes.d.ts +8 -0
  30. package/types/src/ExcelCalcStamp.d.ts +0 -36
  31. package/types/src/ExcelCompat.d.ts +15 -143
  32. package/types/src/ExcelFunctionFacts.d.ts +0 -272
  33. package/types/src/ExcelReservedNames.d.ts +0 -65
  34. package/types/src/KnownFonts.d.ts +37 -0
  35. package/types/src/LegacyFormula.d.ts +1 -46
  36. package/types/src/OOXMLExtensions.d.ts +24 -2
  37. package/types/src/PageLayoutAttributes.d.ts +8 -0
  38. package/types/src/Plugin.d.ts +15 -3
  39. package/types/src/ProtectionAttributes.d.ts +2 -2
  40. package/types/src/SheetKinds.d.ts +42 -0
  41. package/types/src/SheetViewAttributes.d.ts +4 -0
  42. package/types/src/SortExtent.d.ts +16 -0
  43. package/types/src/SourcePackage.d.ts +0 -44
  44. package/types/src/SparklineGroups.d.ts +52 -0
  45. package/types/src/Types.d.ts +13 -3
  46. package/types/src/XlsxHeader.d.ts +19 -0
  47. package/types/src/chart/ChartExXml.d.ts +38 -0
  48. package/types/src/chart/ChartPartXml.d.ts +47 -0
  49. package/types/src/chart/ChartSpaceXml.d.ts +37 -0
  50. package/types/src/chart/_XmlTree.d.ts +34 -0
  51. package/types/src/chart/_chartCodecs.d.ts +12 -0
  52. package/types/src/chart/_chartExCodecs.d.ts +7 -0
  53. package/types/src/chart/_chartExFold.d.ts +14 -0
  54. package/types/src/chart/_chartExMarkup.d.ts +236 -0
  55. package/types/src/chart/_chartExStyle.d.ts +13 -0
  56. package/types/src/chart/_codec.d.ts +78 -0
  57. package/types/src/chart/_drawingml.d.ts +10 -0
  58. package/types/src/chart/_xml.d.ts +70 -0
  59. package/types/src/pivot/PivotArea.d.ts +20 -0
  60. package/types/src/pivot/PivotCacheRead.d.ts +30 -0
  61. package/types/src/pivot/PivotCacheWrite.d.ts +23 -0
  62. package/types/src/pivot/PivotFilters.d.ts +29 -0
  63. package/types/src/pivot/PivotFormats.d.ts +60 -0
  64. package/types/src/pivot/PivotTableRead.d.ts +44 -0
  65. package/types/src/pivot/PivotTableWrite.d.ts +13 -0
  66. package/types/src/pivot/_PivotCacheXml.d.ts +48 -0
  67. package/types/src/pivot/_PivotTableXml.d.ts +23 -0
  68. package/types/src/reader/CellControls.d.ts +18 -0
  69. package/types/src/reader/DocumentPropertiesRead.d.ts +16 -0
  70. package/types/src/reader/DummyFunctionUnwrap.d.ts +43 -23
  71. package/types/src/reader/HeaderStyles.d.ts +15 -0
  72. package/types/src/reader/IsoDateCell.d.ts +20 -0
  73. package/types/src/reader/LibreOfficeDataTable.d.ts +12 -0
  74. package/types/src/reader/PivotButtons.d.ts +14 -0
  75. package/types/src/reader/PivotCellFormats.d.ts +22 -0
  76. package/types/src/reader/SlicerJoin.d.ts +26 -0
  77. package/types/src/reader/ZipReader.d.ts +1 -1
  78. package/types/src/reader/_SlicerRecord.d.ts +59 -0
  79. package/types/src/reader/dom/DOMTransformer.d.ts +2 -2
  80. package/types/src/reader/domVisitors/AppPropertiesVisitor.d.ts +13 -1
  81. package/types/src/reader/domVisitors/AutoFilterVisitor.d.ts +3 -11
  82. package/types/src/reader/domVisitors/ColorContainerVisitor.d.ts +8 -1
  83. package/types/src/reader/domVisitors/CommentVisitor.d.ts +2 -2
  84. package/types/src/reader/domVisitors/DrawingElementVisitor.d.ts +13 -6
  85. package/types/src/reader/domVisitors/DrawingGraphicFrameVisitor.d.ts +9 -0
  86. package/types/src/reader/domVisitors/DrawingGrpSpVisitor.d.ts +10 -7
  87. package/types/src/reader/domVisitors/DrawingPicVisitor.d.ts +22 -13
  88. package/types/src/reader/domVisitors/DrawingSpVisitor.d.ts +5 -5
  89. package/types/src/reader/domVisitors/DrawingVisitor.d.ts +4 -2
  90. package/types/src/reader/domVisitors/ExternalLinkVisitor.d.ts +1 -11
  91. package/types/src/reader/domVisitors/FeaturePropertyBagVisitor.d.ts +18 -0
  92. package/types/src/reader/domVisitors/FmtSchemeVisitor.d.ts +0 -11
  93. package/types/src/reader/domVisitors/FontSchemeVisitor.d.ts +3 -2
  94. package/types/src/reader/domVisitors/ObjectDefaultsVisitor.d.ts +11 -0
  95. package/types/src/reader/domVisitors/SheetColorContainerVisitor.d.ts +2 -2
  96. package/types/src/reader/domVisitors/SheetStyleVisitor.d.ts +26 -5
  97. package/types/src/reader/domVisitors/SlicerCacheDefinitionVisitor.d.ts +11 -2
  98. package/types/src/reader/domVisitors/SlicersVisitor.d.ts +9 -3
  99. package/types/src/reader/domVisitors/SortStateVisitor.d.ts +2 -2
  100. package/types/src/reader/domVisitors/ThreadedCommentsVisitor.d.ts +2 -2
  101. package/types/src/reader/domVisitors/TimelinesVisitor.d.ts +13 -0
  102. package/types/src/reader/domVisitors/WorkbookVisitor.d.ts +0 -9
  103. package/types/src/reader/domVisitors/_Dxfs.d.ts +10 -0
  104. package/types/src/reader/domVisitors/index.d.ts +6 -34
  105. package/types/src/reader/saxVisitors/ContentTypesVisitor.d.ts +1 -0
  106. package/types/src/reader/saxVisitors/SharedStringsVisitor.d.ts +31 -6
  107. package/types/src/reader/saxVisitors/WorksheetVisitor.d.ts +26 -8
  108. package/types/src/richValue/ErrorRichValueHandler.d.ts +22 -0
  109. package/types/src/richValue/IRichValueHandler.d.ts +109 -0
  110. package/types/src/richValue/LocalImageRichValueHandler.d.ts +18 -0
  111. package/types/src/richValue/RichDataParts.d.ts +69 -0
  112. package/types/src/richValue/RichRecordWriter.d.ts +61 -0
  113. package/types/src/richValue/RichValueHandlers.d.ts +25 -0
  114. package/types/src/richValue/RichValueResolver.d.ts +54 -0
  115. package/types/src/richValue/WebImageRichValueHandler.d.ts +37 -0
  116. package/types/src/richValue/index.d.ts +7 -0
  117. package/types/src/utils/DrawingMLText.d.ts +2 -2
  118. package/types/src/utils/FormControls.d.ts +79 -6
  119. package/types/src/utils/SharedNames.d.ts +13 -0
  120. package/types/src/utils/SpreadsheetFont.d.ts +38 -0
  121. package/types/src/utils/VmlNoteShapes.d.ts +25 -32
  122. package/types/src/utils/VmlNoteStyle.d.ts +25 -0
  123. package/types/src/utils/VmlPrefixes.d.ts +24 -0
  124. package/types/src/vba/VBAProject.d.ts +0 -19
  125. package/types/src/writer/EvaluationSheet.d.ts +5 -0
  126. package/types/src/writer/builder/OpcXmlUtils.d.ts +0 -8
  127. package/types/src/writer/builder/PackageBuilder.d.ts +2 -41
  128. package/types/src/writer/builder/Types.d.ts +18 -28
  129. package/types/src/writer/emitters/CommentsEmitter.d.ts +3 -3
  130. package/types/src/writer/emitters/DrawingEmitter.d.ts +2 -2
  131. package/types/src/writer/emitters/ExternalLinkEmitter.d.ts +0 -11
  132. package/types/src/writer/emitters/FeaturePropertyBagEmitter.d.ts +8 -0
  133. package/types/src/writer/emitters/LegacyDrawingEmitter.d.ts +4 -4
  134. package/types/src/writer/emitters/PivotTableEmitter.d.ts +30 -1
  135. package/types/src/writer/emitters/PropsCoreEmitter.d.ts +7 -2
  136. package/types/src/writer/emitters/PropsCustomEmitter.d.ts +15 -0
  137. package/types/src/writer/emitters/RichValuePartsEmitters.d.ts +36 -0
  138. package/types/src/writer/emitters/RichValueRelEmitter.d.ts +12 -0
  139. package/types/src/writer/emitters/RichValueStructureEmitter.d.ts +4 -3
  140. package/types/src/writer/emitters/RichValueTypesEmitter.d.ts +3 -2
  141. package/types/src/writer/emitters/RichValueWebImageEmitter.d.ts +24 -0
  142. package/types/src/writer/emitters/SharedStringsEmitter.d.ts +6 -3
  143. package/types/src/writer/emitters/SlicerEmitter.d.ts +132 -0
  144. package/types/src/writer/emitters/StylesEmitter.d.ts +35 -2
  145. package/types/src/writer/emitters/TableEmitter.d.ts +14 -0
  146. package/types/src/writer/emitters/WorkbookEmitter.d.ts +24 -2
  147. package/types/src/writer/emitters/WorksheetEmitter.d.ts +4 -3
  148. package/types/src/writer/utils/AutoFilter.d.ts +3 -3
  149. package/types/src/writer/utils/CellControlComplements.d.ts +29 -0
  150. package/types/src/writer/utils/DateSystem.d.ts +6 -0
  151. package/types/src/writer/utils/DefaultRows.d.ts +22 -0
  152. package/types/src/writer/utils/DrawMLUtils.d.ts +8 -6
  153. package/types/src/writer/utils/DummyFunction.d.ts +0 -25
  154. package/types/src/writer/utils/DxfCollector.d.ts +14 -11
  155. package/types/src/writer/utils/PrstGeomUtils.d.ts +11 -3
  156. package/types/src/writer/utils/RichValueCollector.d.ts +81 -129
  157. package/types/src/writer/utils/SheetStyleLayout.d.ts +86 -0
  158. package/types/src/writer/utils/TextUtils.d.ts +6 -1
  159. package/types/src/writer/utils/UnsupportedFunctions.d.ts +2 -2
  160. package/types/src/writer/utils/XfVariants.d.ts +61 -0
  161. package/browser/cjs/B0Ugu_crqQYpdfQz.cjs +0 -1
  162. package/browser/cjs/B6sirGz6w-Bm7Ofo.cjs +0 -1
  163. package/browser/cjs/BHM3_D9PsNURVAVy.cjs +0 -1
  164. package/browser/cjs/BHWdwAQ322YA8JAZ.cjs +0 -6
  165. package/browser/cjs/CeuX8p1aBuKTuagi.cjs +0 -2
  166. package/browser/cjs/D3EWCPfCu-qMOIGd.cjs +0 -1
  167. package/browser/cjs/DSM4q1dhVVXvsgby.cjs +0 -30
  168. package/browser/cjs/DiAHwNv2I8RHE9GY.cjs +0 -1
  169. package/browser/cjs/index.cjs +0 -1
  170. package/browser/cjs/wrpXlaSBGEicQf6_.cjs +0 -6
  171. package/browser/cjs/xQ6-wbTw5UzZUM1Y.cjs +0 -1
  172. package/browser/esm/Bu64BYvRAlVftMr1.mjs +0 -67
  173. package/browser/esm/CWt4fDYEbj2hvsl_.mjs +0 -3346
  174. package/browser/esm/Ccnxz-y2WBEgfvvh.mjs +0 -6498
  175. package/browser/esm/Dx64JMAGwNNDBkC1.mjs +0 -4928
  176. package/browser/esm/Sv4twwEJDb9dZ91h.mjs +0 -149
  177. package/node/esm/BPn5XBizKkwaUqXB.mjs +0 -4285
  178. package/node/esm/BVV11IlqF6Lmlv8D.mjs +0 -154
  179. package/node/esm/BiJEEgltJzx94zIR.mjs +0 -3433
  180. package/node/esm/CkmZuMvRTpva7eQu.mjs +0 -5074
  181. package/node/esm/j0RE2usgdljRw_gr.mjs +0 -2345
  182. package/types/src/legacyChart/OOXMLMappings.d.ts +0 -8
  183. package/types/src/legacyChart/OOXMLUtils.d.ts +0 -78
  184. package/types/src/legacyChart/ToOOXMLConverter.d.ts +0 -30
  185. package/types/src/reader/domVisitors/AxisVisitor.d.ts +0 -12
  186. package/types/src/reader/domVisitors/BarChartTypeVisitor.d.ts +0 -6
  187. package/types/src/reader/domVisitors/ChartSpaceVisitor.d.ts +0 -6
  188. package/types/src/reader/domVisitors/ChartTypeVisitor.d.ts +0 -7
  189. package/types/src/reader/domVisitors/ChartVisitor.d.ts +0 -7
  190. package/types/src/reader/domVisitors/DataLabelsVisitor.d.ts +0 -8
  191. package/types/src/reader/domVisitors/DataPointVisitor.d.ts +0 -6
  192. package/types/src/reader/domVisitors/LayoutVisitor.d.ts +0 -5
  193. package/types/src/reader/domVisitors/LegendEntryVisitor.d.ts +0 -5
  194. package/types/src/reader/domVisitors/LegendVisitor.d.ts +0 -5
  195. package/types/src/reader/domVisitors/MarkerVisitor.d.ts +0 -5
  196. package/types/src/reader/domVisitors/NegativeShapeVisitor.d.ts +0 -6
  197. package/types/src/reader/domVisitors/PlotAreaVisitor.d.ts +0 -5
  198. package/types/src/reader/domVisitors/RichValueDataVisitor.d.ts +0 -7
  199. package/types/src/reader/domVisitors/RichValueStructureVisitor.d.ts +0 -6
  200. package/types/src/reader/domVisitors/SeriesVisitor.d.ts +0 -8
  201. package/types/src/reader/domVisitors/TitleVisitor.d.ts +0 -9
  202. package/types/src/writer/emitters/ChartColorsEmitter.d.ts +0 -7
  203. package/types/src/writer/emitters/ChartEmitter.d.ts +0 -14
  204. package/types/src/writer/emitters/ChartStyleEmitter.d.ts +0 -46
  205. package/types/src/writer/utils/HiddenFormulaXfs.d.ts +0 -28
@@ -1 +0,0 @@
1
- const e=require("./DSM4q1dhVVXvsgby.cjs"),t=require("./DiAHwNv2I8RHE9GY.cjs");let n=require("@sheetxl/utils"),r=require("@sheetxl/sdk");var i=class{constructor(e){this.list=e}get length(){return this.list.length}item(e){return this.list[e]}forEach(e,t){let n=this.list,r=n.length;for(let t=0;t<r;t++)e(n[t],t,this)}entries(){return this.list.entries()}keys(){return this.list.keys()}values(){return this.list.values()}[Symbol.iterator](){return this.list.values()}},a=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,o=e=>{let t=parseInt(e);return isNaN(t)?null:t},s=e=>{let t=parseFloat(e);return isNaN(t)?null:t},c=new Map,l=class{constructor(e,t,r,i,a,o=null,s=n.CommonUtils.EmptyObject){this._fileLocation=``;let c=(e,t,n)=>s?.getRef?.(e,t,n,s?.parsedRefs),l=e=>s?.getRefs?.(e,s?.parsedRefs);this._parent=e,this.sharedShared=t,this.currentPath=r,this.elemRoot=i,this.jsonRoot=a,e?(this._fileLocation=e._fileLocation,this._getRef=e._getRef,this._getRefs=e._getRefs,this._serializeElement=e._serializeElement,this._readEmbeddedPart=e._readEmbeddedPart):(o&&(this._fileLocation=o),s?.getRef&&(this._getRef=c),s?.getRefs&&(this._getRefs=l),this._onWarning=s?.onWarning,this._addPerson=s?.addPerson,this._serializeElement=s?.serializeElement,this._readEmbeddedPart=s?.readEmbeddedPart)}getRef(e,t=!1){return this._getRef?.(e,this._fileLocation,t)??null}readEmbeddedPart(e){return this._readEmbeddedPart?.(e,this._fileLocation)??null}getRelationships(){return this._getRefs?.(this._fileLocation)??c}getPath(){return this.currentPath}getFileLocation(){return this._fileLocation}getElemRoot(){return this.elemRoot}getJsonRoot(){return this.jsonRoot}warn(e,t){this._raiseWarning(e,this.getFileLocation(),t?.onceKey)}_raiseWarning(e,t,n){this._onWarning?this._onWarning(e,t,n):this._parent?this._parent._raiseWarning(e,t,n):console.warn(e)}serializeElement(e){return this._serializeElement?.(e)??null}addPerson(e){return typeof e==`string`&&(e={displayName:e}),this._addPerson?this._addPerson(e):this._parent?this._parent?._addPerson?.(e)??null:null}getVisitorParamsState(){return this.sharedShared.getVisitorParamsState()}evaluate(e,t){if(!e)return t;let n=[t],r=e.split(`/`),a=r.length;for(let e=0;e<a;e++){let t=r[e];if(t===``||t===`.`)continue;let i=[],o=(t===`*`||t===`**`)&&e!==a-1;for(let a of n)if(a)if(o){let t=r[e+1];t&&t!==``&&t!==`.`&&(this._findDescendants(a,t,i),e++)}else if(t===`*`||t===`**`){if(!a.childNodes)continue;let e=a.childNodes,t=e.length;for(let n=0;n<t;n++){let t=e[n];t.nodeType===1&&i.push(t)}}else{if(!a.childNodes)continue;let e=a.childNodes,n=e.length;for(let r=0;r<n;r++){let n=e[r];if(n.nodeType!==1)continue;let a=n;this._matchesElementName(a,t)&&i.push(a)}}if(n=i,n.length===0)return null}return n.length===1?n[0]:n.length===0?null:new i(n)}_matchesElementName(e,t){return t.includes(`:`)?(e.tagName||e.nodeName)===t:e.localName===t}_findDescendants(e,t,n){if(!e||!e.childNodes)return;let r=e.childNodes,i=r.length;for(let e=0;e<i;e++){let i=r[e];if(i.nodeType!==1)continue;let a=i;this._matchesElementName(a,t)&&n.push(a),this._findDescendants(a,t,n)}}getFromPath(e,t){return n.CommonUtils.getFromPath(e,t)}setToPath(e,t,r){return n.CommonUtils.setToPath(e,t,r)}getValAttrAsString(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?n.getAttribute(`val`)??null:null}getValAttrAsBoolean(e,t,n=!1){let r=this.evaluate(e,t);if(!r)return null;let i=r.hasAttribute(`val`)?r.getAttribute(`val`):void 0;return i==null?n:i===`1`||i===`on`||i===`true`||i!==`0`&&i!==`off`&&i!==`false`&&n}getValAttrAsInteger(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseInt(n.getAttribute(`val`))??null:null}getValAttrAsFloat(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseFloat(n.getAttribute(`val`))??null:null}get BOOLEAN_COPY(){return a}get INT_COPY(){return o}get FLOAT_COPY(){return s}copyFromAttribute(e,t,n,r=t,i=null){if(!e||!n||!e.hasAttribute(t))return;let a=e.getAttribute(t);if(i){if(Array.isArray(i)){let e=i.length;for(let t=0;t<e;t++)if(a==null||(a=i[t](a),a==null))return}else if(a==null||(a=i(a),a==null))return}this.setToPath(n,r,a)}},u=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={};return n[this.jsonKey]=r,r}},d=class{visit(t,n,r){let i={};if(e.M(t,n,i,`grouping`,`grouping`),e.k(t,n,i,`varyColors`,`varyColors`),e.A(t,n,i,`gapWidth`,`gapWidth`,.01),e.A(t,n,i,`overlap`,`overlap`,.01),this.parseType(t,n,i),e.j(t,n,i,`bubbleScale`,`bubbleScale`),e.k(t,n,i,`showNegBubbles`,`showNegativeBubbleValues`),e.k(t,n,i,`sizeRepresents`,`bubbleSizeRepresentsWidth`),e.j(t,n,i,`firstSliceAng`,`startAngle`),e.j(t,n,i,`holeSize`,`holeSize`),e.M(t,n,i,`scatterStyle`,`scatterStyle`),this.parseAxisIds(t,n,i),Object.keys(i).length>0){let e=t.getVisitorParamsState().get(`types`);e||(t.warn(`A chart type was read outside a chart; its types were started fresh.`,{onceKey:`xlsx.chart.typesState`}),e=[],t.getVisitorParamsState().set(`types`,e)),e.push(i)}return i}parseType(e,t,n){switch(t.localName){case`areaChart`:n.type=`area`;break;case`bubbleChart`:n.type=`bubble`;break;case`doughnutChart`:case`ofPieType`:case`pieChart`:n.type=`pie`;break;case`lineChart`:n.type=`line`;break;case`scatterChart`:n.type=`scatter`}}parseAxisIds(e,t,n){let r=e.evaluate(`axId`,t);r&&r.length!==0&&(n.xAxisId=r.item(0).getAttribute(`val`),n.yAxisId=r.item(1).getAttribute(`val`))}},f=(e,t,n)=>{if(!0===e.getValAttrAsBoolean(`invertIfNegative`,t))if(e.evaluate(`extLst/ext/invertSolidFillFmt`,t)){if(n.fill&&n.fillNegative){let t=e.getFromPath(n,`fill.solid.adjs`);t&&e.setToPath(n,`fillNegative.solid.adjs`,t)}}else{let e={val:`FFFFFF`},t={};t.solid=e,n.fillNegative=t;let r={val:`000000`},i={};i.solid=r;let a={};a.fill=i,n.strokeNegative=a}},p=class extends e.T{visit(e,t,n){let r=this.getFill(e,t);Object.keys(r).length>0&&(n.fillNegative=r);let i=this.getStroke(e,t);return Object.keys(i).length>0&&(n.strokeNegative=i),n}},m=class extends e.C{constructor(e=`title`){super(e)}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t)??null;if(r){let t=r.firstElementChild.nodeValue;e.setToPath(n,`range`,t)}}visit(t,n,r){let i={};e.k(t,n,i,`overlay`,`overlay`),r[this._jsonKey]=i;let a=t.getFromPath(i,this.getTextPath());a||={},this.parseTitleRangeOrValue(t,n,i);let o=t.evaluate(`txPr`,n);o&&this.parseTextElement(t,o,a,!1);let s=t.evaluate(`tx/rich`,n);return s&&this.parseTextElement(t,s,a,!0),Object.keys(a).length>0&&t.setToPath(i,`text`,a),i}afterVisit(e,t,n){if(n?.text){let e=n.text?.rotation??null;e!==null&&(n.rotation=parseInt(e),delete n.title.rotation)}}},h=class extends e.E{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=t.childNodes,a=i.length;for(let n=0;n<a;n++){let a=i.item(n);if(a.nodeType===1){let n=a.localName,i=e.evaluate(n,t);r[n]=this.processAdjColor(e,i)}}return Object.keys(r).length>0&&(n.colors=r),r}},g=class extends e.E{visit(e,t,n){let r=this.parseFillList(e,t,`fillStyleLst`),i=this.parseLnList(e,t,`lnStyleLst`),a=this.parseEffectStyleList(e,t,`effectStyleLst`),o=this.parseFillList(e,t,`bgFillStyleLst`);if(r&&i&&a&&o)return n.fillStyleLst=r,n.lnStyleLst=i,n.effectStyleLst=a,void(n.bgFillStyleLst=o);let s=e.serializeElement(t);s&&(n.formatSchemeXml=s)}parseFillList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;let r=this.parseFillListItem(e,n);if(r===void 0)return;i.push(r)}return i}parseFillListItem(e,t){switch(t.localName){case`noFill`:return{type:r.IFill.Type.None};case`solidFill`:{let n=this.processAdjColor(e,t);return n?{type:r.IFill.Type.Solid,color:n}:void 0}case`gradFill`:return this.processGradFill(e,t);case`pattFill`:return this.processPatternFill(e,t);default:return}}parseLnList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);n.nodeType===1&&i.push(this.parseLn(e,n))}return i}parseEffectStyleList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;if(e.evaluate(`scene3d`,n)||e.evaluate(`sp3d`,n))return;let r=this.getEffects(e,n);if(r===void 0)return;i.push(r??[])}return i}},_=class{visit(e,t,n){}processDataBarColor(e,n,r,i,a=`auto`){if(!n)return;let o=t.s(e=>n.getAttribute(e),a);return o&&(r[i]=o),r}processFonts(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);if(a.nodeType===1&&a.localName===`font`){let t={};this.processFont(e,a,t),n[i++]=t}}return n}processFont(t,n,i){t.getValAttrAsBoolean(`b`,n,!0)&&(i.weight=700),t.getValAttrAsBoolean(`i`,n,!0)&&(i.style=r.IFont.Style.Italic),t.getValAttrAsBoolean(`strike`,n,!0)&&(i.strike=!0);let a=t.evaluate(`u`,n);a&&(i.underline=a.getAttribute(`val`)||r.IFont.UnderlineStyle.Single),e.M(t,n,i,`vertAlign`,`verticalAlign`),i.verticalAlign===`superscript`?i.verticalAlign=r.IFont.VerticalAlignment.Super:i.verticalAlign===`subscript`&&(i.verticalAlign=r.IFont.VerticalAlignment.Sub),e.A(t,n,i,`sz`,`size`);let o=t.evaluate(`color`,n);this.processDataBarColor(t,o,i,`color`),i.color||=`auto`,e.M(t,n,i,`name`,`family`),e.M(t,n,i,`rFont`,`family`);let s=t.evaluate(`family`,n);if(s){let e=s.getAttribute(`val`);if(e)switch(e){case`1`:i.fallbacks=[`serif`];break;case`2`:i.fallbacks=[`sans-serif`];break;case`3`:i.fallbacks=[`monospace`];break;case`4`:i.fallbacks=[`cursive`];break;case`5`:i.fallbacks=[`fantasy`]}}return e.M(t,n,i,`scheme`,`scheme`),i.family!==void 0&&i.scheme===void 0&&(i.scheme=r.IFont.Scheme.None),e.k(t,n,i,`shadow`,`shadow`,!0),e.k(t,n,i,`outline`,`outline`,!0),t.getValAttrAsBoolean(`condense`,n,!0)&&(i.letterSpacing=-1),t.getValAttrAsBoolean(`extend`,n,!0)&&(i.letterSpacing=1),e.j(t,n,i,`charset`,`charset`),i}processFills(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`fill`&&this.processFill(e,a,n,i++)}return n}processFill(e,t,n,i){let a={type:r.IFill.Type.None},o=t.childNodes,s=!1,c=o.length;for(let t=0;!s&&t<c;t++){let n=o.item(t);n.nodeType===1&&(n.localName===`gradientFill`?(this.processGradientFill(e,n,a),s=!0):n.localName===`patternFill`&&(this.processPatternFill(e,n,a),s=!0))}return n[i]=a,n}processGradientFill(e,t,n){if(!t)return;n.type=r.IFill.Type.Gradient;let i=[];n.stops=i;let a=t.getAttribute(`type`);a&&(n.gradientType=a);let o=t.hasAttribute(`degree`)?parseFloat(t.getAttribute(`degree`)):0;(o+90)%360!=0&&(n.angle=(o+90)%360),(t.hasAttribute(`left`)||t.hasAttribute(`top`)||t.hasAttribute(`right`)||t.hasAttribute(`bottom`))&&(n.focus={left:v(t.getAttribute(`left`)),top:v(t.getAttribute(`top`)),right:v(t.getAttribute(`right`)),bottom:v(t.getAttribute(`bottom`))});let s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1&&n.localName===`stop`){let t={};i.push(t),t.offset=parseFloat(n.getAttribute(`position`)??``);let r=e.evaluate(`color`,n);this.processDataBarColor(e,r,t,`color`)}}return n}processPatternFill(e,t,n){if(!t)return;let i=e.getVisitorParamsState().get(`processingDXFs`),a=t.getAttribute(`patternType`)||(i?r.IFill.BuiltInSheetPattern.Solid:r.IFill.BuiltInSheetPattern.None);if(a===r.IFill.BuiltInSheetPattern.None)return{none:!0};n.type=r.IFill.Type.Pattern,a&&(n.patternType=a);let o=`foreground`,s=`background`,c=n.patternType===r.IFill.BuiltInSheetPattern.Solid&&i,l=c?`dk1`:`lt1`,u=c?`lt1`:`dk1`;if(c){let e=o;o=s,s=e}let d=e.evaluate(`fgColor`,t);this.processDataBarColor(e,d,n,o,l);let f=e.evaluate(`bgColor`,t);return this.processDataBarColor(e,f,n,s,u),c&&(n.foreground||=`lt1`,n.background||=`dk1`),n}processBorders(e,t,n,r){if(!t)return;let i=t.childNodes,a=0,o=i.length;for(let t=0;t<o;t++){let o=i.item(t);o.nodeType===1&&o.localName===`border`&&this.processBorder(e,o,n,a++,r)}return n}processBorder(e,t,n,i,a){if(!t)return;let o={};return this.processBorderStroke(e,t,o,r.IBorders.Edge.Left),this.processBorderStroke(e,t,o,r.IBorders.Edge.Right),a?(o.right||o.left)&&(o.right?o.vertical={...o.right}:o.vertical={...o.left}):this.processBorderStroke(e,t,o,r.IBorders.Edge.Vertical),this.processBorderStroke(e,t,o,r.IBorders.Edge.Top),this.processBorderStroke(e,t,o,r.IBorders.Edge.Bottom),a?(o.bottom||o.top)&&(o.bottom?o.horizontal={...o.bottom}:o.horizontal={...o.top}):this.processBorderStroke(e,t,o,r.IBorders.Edge.Horizontal),n[i]=o,n}processBorderStroke(e,t,n,i){if(!t)return;let a=e.evaluate(i,t);if(!a)return;let o={};a.hasAttribute(`style`)?o.style=a.getAttribute(`style`):e.getVisitorParamsState().get(`processingDXFs`)&&(o.style=r.IBorders.StrokeStyle.None);let s=e.evaluate(`color`,a);return s&&this.processDataBarColor(e,s,o,`color`),Object.keys(o).length>0?n[i]=o:null}},v=e=>{if(!e)return 0;let t=parseFloat(e);return isNaN(t)?0:t},y={auto:`auto`,autoNoTable:`automaticExceptTables`,manual:`manual`},b=[[`fillRef`,`fill`],[`lnRef`,`stroke`],[`effectRef`,`effect`]],x=class{visit(e,t,n){if(!t)return;let r=e.evaluate(`*/cNvPr`,t);return r.item&&(r=r.item(0)),r&&(e.copyFromAttribute(r,`name`,n),e.copyFromAttribute(r,`descr`,n,`description`),e.copyFromAttribute(r,`hidden`,n,`hidden`,e.BOOLEAN_COPY),this.readNonVisualDetails(e,r,n),e.copyFromAttribute(r,`id`,n)),n}readNonVisualDetails(t,n,r){n.hasAttribute(`title`)&&(r.title=n.getAttribute(`title`));let i=t.evaluate(`hlinkClick`,n);i&&(r.hyperlink=e.w(t,i));let a=t.evaluate(`hlinkHover`,n);a&&(r.hoverHyperlink=e.w(t,a));let o=t.evaluate(`extLst`,n),s=o?t.serializeElement(o):null;s&&(r.extLst={...r.extLst,nonVisual:s})}setContent(e,t){let n=e;n.name!==void 0&&(t.name=n.name,delete n.name),n.description!==void 0&&(t.description=n.description,delete n.description);for(let e of[`title`,`hyperlink`,`hoverHyperlink`,`extLst`])n[e]!==void 0&&(t.json&&(t.json[e]=n[e]),delete n[e]);e.content=t}isGroupContent(e){return Array.isArray(e?.children)}readChildHeader(e,t,n){let i=n===r.IShape.Type.Shape?{}:{type:n},a=e.evaluate(`*/cNvPr`,t);if(a?.item&&(a=a.item(0)),a){e.copyFromAttribute(a,`name`,i),e.copyFromAttribute(a,`descr`,i,`description`),e.copyFromAttribute(a,`hidden`,i,`hidden`,e.BOOLEAN_COPY),this.readNonVisualDetails(e,a,i);let n=this.readSourceId(e,t);n!==void 0&&(i.sourceId=n)}return i}readStyleRefs(t,n,i){let a=t.evaluate(`style`,n);if(!a)return void(i.style=null);let o=new e.E,s={};for(let[e,n]of b){let r=t.evaluate(e,a);if(!r)continue;let i={index:parseInt(r.getAttribute(`idx`)??`0`,10)||0},c=o.processAdjColor(t,r);c&&(i.color=c),s[n]=i}let c=t.evaluate(`fontRef`,a);if(c){let e={index:c.getAttribute(`idx`)??`none`},n=o.processAdjColor(t,c);n&&(e.color=n),s.font=e}let l=r.ShapeStyleUtils.withoutDefaultStyleRefs({...i,style:s});l&&(i.style=l)}readLocks(t){let n=t?.attributes;if(!n||n.length===0)return;let r={};for(let t=0;t<n.length;t++){let i=n.item(t);i.name.startsWith(`xmlns`)||(r[i.localName??i.name]=e.vt(i.value))}return Object.keys(r).length>0?r:void 0}readSourceId(e,t){let n=e.evaluate(`*/cNvPr`,t);n?.item&&(n=n.item(0));let r=n?.getAttribute?.(`id`),i=r?parseInt(r,10):void 0;return i===void 0||isNaN(i)?void 0:i}},S=class extends x{visit(e,t,n){if(t)return this.visitShape(e,t,n,`sp`,`nvSpPr/cNvSpPr/spLocks`)}visitShape(t,n,i,a,o){let s=e.N[a];if(this.isGroupContent(i)){let e=this.readChildHeader(t,n,s);return this.readStyleRefs(t,n,e),this.readShapeDetails(t,n,a,o,e),i.children.push(e),e}if(t.getPath().includes(`Fallback`)&&i.content){let a=i.content.json;if(i.content.type===`shape`&&a&&(a.type??r.IShape.Type.Shape)===s){let r=t.evaluate(`txBody`,n),i=r?new e.x().readTextBody(t,r):null;i&&e.S(i)!==``&&(a.text=i)}return{}}i=super.visit(t,n,i);let c=t.evaluate(o,n);c?.hasAttribute?.(`noChangeAspect`)&&(i.lockAspect=c.getAttribute(`noChangeAspect`)===`1`);let l=s===r.IShape.Type.Shape?{}:{type:s},u=this.readSourceId(t,n);u!==void 0&&(l.sourceId=u),this.readStyleRefs(t,n,l),this.readShapeDetails(t,n,a,o,l);let d=this.readTwinOf(t,n);return d!==void 0&&Object.assign(l,{twinOf:d}),this.setContent(i,{type:`shape`,json:l}),l}readTwinOf(e,t){let n=e.evaluate(`*/cNvPr/extLst/ext/compatExt`,t);n?.item&&(n=n.item(0));let r=/^_x0000_s(\d+)$/.exec(n?.getAttribute?.(`spid`)??``);return r?parseInt(r[1],10):void 0}readShapeDetails(t,n,r,i,a){if(r!==`grpSp`){let t=n.getAttribute(`macro`);t&&(a.macro=t);let r=n.getAttribute(`textlink`);r&&(a.textLink=r),n.hasAttribute(`fLocksText`)&&(a.locksText=e.vt(n.getAttribute(`fLocksText`))),n.hasAttribute(`fPublished`)&&(a.published=e.vt(n.getAttribute(`fPublished`)))}let o=i.slice(0,i.lastIndexOf(`/`)),s=t.evaluate(o,n);s?.getAttribute?.(`txBox`)===`1`&&(a.textBox=!0);let c=this.readLocks(t.evaluate(i,n));if(c&&(a.locks=c),r===`cxnSp`&&s){let e=e=>{let n=t.evaluate(e,s);if(n?.getAttribute)return{id:parseInt(n.getAttribute(`id`)??`0`,10)||0,index:parseInt(n.getAttribute(`idx`)??`0`,10)||0}},n=e(`stCxn`),r=e(`endCxn`);(n||r)&&(a.connectorEnds={},n&&(a.connectorEnds.start=n),r&&(a.connectorEnds.end=r))}}},C=(t,n,r,i)=>{let a=t.evaluate(r,n),o=t.evaluate(i,n);return a||o?{x:e.yt(a?.getAttribute(`x`)??null)??0,y:e.yt(a?.getAttribute(`y`)??null)??0,width:e.yt(o?.getAttribute(`cx`)??null)??0,height:e.yt(o?.getAttribute(`cy`)??null)??0}:null},w=`richTypes`,T=`richData`,E=e=>{let t=e.getAttribute(`val`);return t!==`0`&&t!==`false`},D={1:`serif`,2:`sans-serif`,3:`monospace`,4:`cursive`,5:`fantasy`};function O(e){let n={},i=e.childNodes;for(let e=0;e<i.length;e++){let a=i.item(e);if(a.nodeType===1)switch(a.localName){case`b`:n.weight=E(a)?700:400;break;case`i`:n.style=E(a)?r.IFont.Style.Italic:r.IFont.Style.Normal;break;case`strike`:n.strike=E(a);break;case`outline`:n.outline=E(a);break;case`shadow`:n.shadow=E(a);break;case`extend`:n.extend=E(a);break;case`u`:n.underline=a.getAttribute(`val`)||r.IFont.UnderlineStyle.Single;break;case`vertAlign`:{let e=a.getAttribute(`val`);e===`superscript`?n.verticalAlign=r.IFont.VerticalAlignment.Super:e===`subscript`?n.verticalAlign=r.IFont.VerticalAlignment.Sub:e===`baseline`&&(n.verticalAlign=r.IFont.VerticalAlignment.Baseline);break}case`sz`:{let e=parseFloat(a.getAttribute(`val`)??``);isNaN(e)||(n.size=e);break}case`rFont`:{let e=a.getAttribute(`val`);e&&(n.family=e);break}case`family`:{let e=D[a.getAttribute(`val`)??``];e&&(n.fallbacks=[e]);break}case`charset`:{let e=parseInt(a.getAttribute(`val`)??``,10);isNaN(e)||(n.charset=e);break}case`scheme`:{let e=a.getAttribute(`val`);e&&(n.scheme=e);break}case`color`:{let e=a.getAttribute(`rgb`);if(e&&!a.hasAttribute(`theme`)){n.color=`#`+(e.length===8?e.substring(2):e).toUpperCase();break}let r=t.s(e=>a.getAttribute(e));r&&(n.color=r);break}}}return Object.keys(n).length>0?n:null}var k={RelsVisitor:class{visit(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&i.localName===`Relationship`&&this.processRelationship(e,i,n)}return n}processRelationship(e,t,n){let r={};e.copyFromAttribute(t,`Target`,r,`target`),e.copyFromAttribute(t,`Type`,r,`type`),e.copyFromAttribute(t,`TargetMode`,r,`targetMode`),n[t.getAttribute(`Id`)]=r}},CorePropertiesVisitor:class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return t.getAttribute(`xsi:type`),{key:t.localName,value:t.textContent||``}}},AppPropertiesVisitor:class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return{key:t.localName,value:t.textContent||``}}},ChartSpaceVisitor:class{visit(t,n,r){return e.k(t,n,r,`roundedCorners`,`roundedCorners`),e.j(t,n,r,`.//AlternateContent/Fallback/style`,`styleId`),t.getVisitorParamsState().set(`types`,[]),t.getVisitorParamsState().set(`axes`,new Map),r.range=null,r}afterVisit(e,t,n){let r={};n.types=r;let i={},a=0,o={},s=0,c=e.getVisitorParamsState().get(`axes`),l=e.getVisitorParamsState().get(`types`),u=l.length;for(let e=0;e<u;e++){let t=l[e];if(t.xAxisId){let r=t.xAxisId,o=c.get(r);i[e+``]=o,t.offsetXAxis=e,delete t.xAxisId,n.xAxes=i,i.length=++a}if(t.yAxisId){let r=t.yAxisId,i=c.get(r);o[e+``]=i,t.offsetYAxis=e,delete t.yAxisId,n.yAxes=o,o.length=++s}r[e+``]=t}r.length=l.length;let d=e.getVisitorParamsState().get(`series`);if(!d||d.length===0)return;let f={};n.series=f;let p=d.length;for(let e=0;e<p;e++)f[e+``]=d[e];f.length=p,e.getVisitorParamsState().delete(`types`),e.getVisitorParamsState().delete(`axes`),e.getVisitorParamsState().delete(`series`)}},ChartVisitor:class{visit(t,n,r){return t.getVisitorParamsState().set(`types`,[]),t.getVisitorParamsState().set(`axes`,new Map),e.k(t,n,r,`plotVisOnly`,`plotVisOnly`),e.M(t,n,r,`dispBlanksAs`,`dispBlanksAs`),e.k(t,n,r,`.//extLst/ext/dataDisplayOptions16/dispNaAsBlank`,`dispNaAsBlank`),e.k(t,n,r,`showDLblsOverMax`,`showDLblsOverMax`),r}afterVisit(e,t,n){try{let r=e.getValAttrAsBoolean(`autoTitleDeleted`,t),i=e.evaluate(`title`,t);e.setToPath(n,`title.shown`,!(!0===r||!i));let a=e.evaluate(`legend`,t);e.setToPath(n,`legend.shown`,a!==null)}catch(e){throw Error(`Unexpected Error parsing Chart: `+e)}}},PlotAreaVisitor:class{visit(e,t,n){let r={};return n.plotArea=r,r}},ShapePropertiesVisitor:e.T,BarChartTypeVisitor:class extends d{parseType(e,t,n){let r=e.getValAttrAsString(`barDir`,t);r&&(n.type=r===`col`?`column`:`bar`)}},ChartTypeVisitor:d,DataLabelsVisitor:class{constructor(e){this.jsonKey=e}visit(t,n,r){let i={},a=i,o=t.getValAttrAsString(`idx`,n);o!==null&&(a={},a[o]=i);let s=t.getValAttrAsBoolean(`delete`,n);this.parseNumFormat(t,n,i),!0===s?(i.showBubbleSize=!1,i.showCatName=!1,i.showLeaderLines=!1,i.showPercentage=!1,i.showSerName=!1,i.showVal=!1,i.showLegendKey=!1):(e.k(t,n,i,`showBubbleSize`,`showBubbleSize`),e.k(t,n,i,`showCatName`,`showCatName`),e.k(t,n,i,`showLeaderLines`,`showLeaderLines`),e.k(t,n,i,`showPercent`,`showPercentage`),e.k(t,n,i,`showSerName`,`showSerName`),e.k(t,n,i,`showVal`,`showVal`),e.k(t,n,i,`showLegendKey`,`showLegendKey`));let c=t.evaluate(`separator`,n);return c!==null&&(i.separator=c.textContent),e.M(t,n,i,`dLblPos`,`position`),r[this.jsonKey]=a,i}parseNumFormat(e,t,n){let r=e.evaluate(`numFmt`,t);r&&(n.formatCode=r.getAttribute(`formatCode`),r.hasAttribute(`sourceLinked`)&&(n.sourceLinked=r.getAttribute(`sourceLinked`)===`1`))}},SeriesVisitor:class{visit(t,n,r){let i={};e.j(t,n,i,`explosion`,`explosion`);let a=t.evaluate(`cat/*/f`,n);a||=t.evaluate(`xVal/*/f`,n);let o=null;a!==null&&a.firstChild!==null&&(o=a.firstChild.nodeValue),a||(a=t.evaluate(`cat/strLit`,n),a||=t.evaluate(`cat/numLit`,n),a&&(o=this.parsePointsAsString(t,a))),o!==null&&(i.xRange=o);let s=t.evaluate(`val/*/f`,n);s||=t.evaluate(`yVal/*/f`,n);let c=null;s&&s.firstChild&&(c=s.firstChild.nodeValue),s||(s=t.evaluate(`val/numLit`,n),s!==null&&(c=this.parsePointsAsString(t,s))),c!==null&&(i.valRange=c),this.parseTitleRangeOrValue(t,n,i),e.j(t,n,i,`idx`,`idx`),e.k(t,n,i,`smooth`,`smooth`),i.offsetChart=t.getVisitorParamsState().get(`types`).length-1;let l=t.getVisitorParamsState().get(`series`);return l||(l=[],t.getVisitorParamsState().set(`series`,l)),l.push(i),i}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t);if(r!==null){let t=r.firstChild.nodeValue;e.setToPath(n,`title.range`,t)}else{let r=e.evaluate(`tx/v`,t);r!==null&&e.setToPath(n,`title.text.simpleRun`,r.firstChild.nodeValue)}}parsePointsAsString(e,t){let n=`{`,r=e.getValAttrAsInteger(`ptCount`,t),i=e.evaluate(`pt`,t),a=[];for(let n=0;i&&r&&n<r;n++){let r=null,i=e.evaluate(`pt[@idx='`+n+`']/v`,t);i&&(r=i.textContent),a[n]=r}for(let e=0;e<a.length;e++)e>0&&(n+=`,`),a[e]!==void 0&&(n+=a[e]);return n+=`}`,n}afterVisit(e,t,n){f(e,t,n);let r=e.getFromPath(n,`points`);if(r){let t=Object.keys(r);for(let i=0;i<t.length;i++){let a=t[i],o=e.getFromPath(r,a);if(!o)continue;let s=e.getFromPath(o,`markers`);s&&(e.setToPath(n,`markers.points.`+a,s),delete o.markers)}}}},DataPointVisitor:class{DataPointVisitor(){}visit(t,n,r){let i=t.getFromPath(r,`points`),a=null;i?a=i:(a={},t.setToPath(r,`points`,a));let o={},s=t.getValAttrAsString(`idx`,n);return s!==null&&(a[s]=o),e.k(t,n,o,`bubble3D`,`bubble3D`),e.j(t,n,o,`explosion`,`explosion`),f(t,n,o),o}},MarkerVisitor:class{visit(e,t,n){let r=t.parentNode.localName;if(r===`ser`||r===`dPt`){let r={},i=e.getValAttrAsString(`size`,t);i!==null&&(r.size=i);let a=e.getValAttrAsString(`symbol`,t);return a&&(r.type=a),n.markers=r,r}return null}},AxisVisitor:class{visit(t,n,r){let i={};this.parseScaling(t,n,i),e.A(t,n,i,`majorUnit`,`majorUnits`),e.A(t,n,i,`minorUnit`,`minorUnits`),e.k(t,n,i,`delete`,`shown`),this.parseOrientation(t,n,i),this.parseNumFormat(t,n,i),e.M(t,n,i,`majorTickMark`,`majorTickMarks`),e.M(t,n,i,`minorTickMark`,`minorTickMarks`),e.M(t,n,i,`crosses`,`crosses`),e.A(t,n,i,`crossesAt`,`crosses`),e.M(t,n,i,`crossBetween`,`crossBetween`),this.parseLabelAlign(t,n,i),e.j(t,n,i,`lblOffset`,`labelOffset`),e.M(t,n,i,`tickLblPos`,`labelPosition`);let a=t.getValAttrAsInteger(`noMultiLvlLbl`,n);i.labelMultiLevel=a!==null&&a===0,e.j(t,n,i,`tickMarkSkip`,`tickMarkSkip`),e.j(t,n,i,`tickLblSkip`,`labelInterval`),this.parseDisplayCustOrBuiltInUnit(n,t,i),this.parseTimeUnits(t,n,i,`majorUnitDates`,`majorTimeUnit`,`majorUnit`),this.parseTimeUnits(t,n,i,`minorUnitDates`,`minorTimeUnit`,`minorUnit`),e.M(t,n,i,`baseTimeUnit`,`baseUnitDates`),t.getVisitorParamsState().get(`axes`)||(t.warn(`An axis was read outside a chart; its axes were started fresh.`,{onceKey:`xlsx.chart.axesState`}),t.getVisitorParamsState().set(`axes`,new Map));let o=t.getValAttrAsString(`axId`,n);return t.getVisitorParamsState().get(`axes`).set(o,i),i}parseTimeUnits(e,t,n,r,i,a){let o={},s=e.getValAttrAsString(i,t);s!==null&&(o.dem=s,o.amt=e.getValAttrAsString(a,t)),Object.keys(o).length>0&&(n[r]=o)}parseDisplayCustOrBuiltInUnit(e,t,n){let r=t.getValAttrAsString(`dispUnits/builtInUnit`,e);r||=t.getValAttrAsString(`dispUnits/custUnit`,e),r&&(n.displayUnits=r)}parseLabelAlign(e,t,n){let r=e.getValAttrAsString(`lblAlgn`,t);r!==null&&(r===`ctr`?n.labelAlign=`center`:r===`l`?n.labelAlign=`left`:r===`r`&&(n.labelAlign=`right`))}parseOrientation(e,t,n){let r=e.getValAttrAsString(`AxPos`,t);r!==null&&(r===`b`?n.orientation=`bottom`:r===`l`?n.orientation=`left`:r===`r`?n.orientation=`right`:r===`t`&&(n.orientation=`top`))}parseNumFormat(e,t,n){let r={},i=e.evaluate(`numFmt`,t);i!==null&&(i.hasAttribute(`formatCode`)&&(r.formatCode=i.getAttribute(`formatCode`)),i.hasAttribute(`sourceLinked`)&&(r.sourceLinked=i.getAttribute(`sourceLinked`)===`1`)),Object.keys(r).length>0&&(n.labels=r)}parseScaling(t,n,r){let i=t.getValAttrAsString(`scaling/orientation`,n);i!==null&&(r.inverted=i!==`minMax`);let a=t.getValAttrAsFloat(`scaling/logBase`,n);a!==null&&(r.logBase=a,r.scaleType=`log`),e.A(t,n,r,`scaling/max`,`max`),e.A(t,n,r,`scaling/min`,`min`)}afterVisit(e,t,n){n.fill&&n.labels&&(n.labels.fill=n.fill,delete n.fill);let r=e.getValAttrAsBoolean(`delete`,t);r!==null&&(e.setToPath(n,`labels.shown`,!0!==r),e.setToPath(n,`shown`,!0!==r));let i=e.getFromPath(n,`dispUnits.displayUnitsLabel`);i&&(e.setToPath(n,`displayUnitsLabel`,i),delete n.dispUnits);let a=e.evaluate(`title`,t);e.setToPath(n,`title.shown`,a!==null);let o=e.evaluate(`minorGridlines`,t);e.setToPath(n,`gridLinesMinor.shown`,o!==null);let s=e.evaluate(`majorGridlines`,t);e.setToPath(n,`gridLinesMajor.shown`,s!==null)}},TextPropertiesVisitor:e.C,ShapeTextVisitor:e.x,LegendEntryVisitor:class{visit(e,t,n){let r=e.getVisitorParamsState().get(`series`),i=e.getValAttrAsInteger(`idx`,t),a=i===null?void 0:r[i];if(a){let n=e.getFromPath(a,`title`);n||(n={},e.setToPath(a,`title`,n));let r=n,i=e.getValAttrAsBoolean(`delete`,t);return i!==null&&(r.shown=!i),r}return n}},LegendVisitor:class{visit(t,n,r){let i={};return e.k(t,n,i,`overlay`,`overlay`),e.M(t,n,i,`legendPos`,`position`),r.legend=i,i}},NegativeShapeVisitor:p,TitleVisitor:m,LayoutVisitor:class{visit(t,n,r){let i=t.evaluate(`manualLayout`,n);if(i){let n={};e.A(t,i,n,`x`,`x`),e.A(t,i,n,`y`,`y`),e.A(t,i,n,`w`,`w`),e.A(t,i,n,`h`,`h`),e.M(t,i,n,`xMode`,`xMode`),e.M(t,i,n,`yMode`,`yMode`),e.M(t,i,n,`wMode`,`wMode`),e.M(t,i,n,`hMode`,`hMode`),Object.keys(n).length>0&&(r.manualLayout=n)}return r}},ThemeVisitor:class{visit(e,t,n){return n.name=t.getAttribute(`name`),n}},ClrSchemeVisitor:h,FontSchemeVisitor:class{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=e.evaluate(`majorFont`,t),a=this.processFontElement(e,i,{});a&&(r.majorFont=a.family,a.fallbacks&&(r.majorFallbacks=a.fallbacks));let o=e.evaluate(`minorFont`,t),s=this.processFontElement(e,o,{});return s&&(r.minorFont=s.family,s.fallbacks&&(r.minorFallbacks=s.fallbacks)),n.fonts=r,r}processFontElement(e,t,n){if(!t)return;let i=e.evaluate(`latin`,t);if(!i)return;let a=i.getAttribute(`typeface`);a&&(n.family=a);let o=i.getAttribute(`panose`);return o&&(n.fallbacks=[r.IFont.getPanoseFallback(o)]),n}},FmtSchemeVisitor:g,AutoFilterVisitor:class{visit(e,t,n){if(!t)return;let r={},i=[];return this.processFilterColumns(e,t,i,n),i.length>0&&(r.conditions=i),Object.keys(r).length>0&&(n.filter=r),r}processColorFilter(e,t){let n={},i={operator:r.ICondition.BuiltInOperatorNames.Color,param:n};return e.copyFromAttribute(t,`cellColor`,n,`cellColor`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`dxfId`,n,`styleId`,e.INT_COPY),i}processCustomFilter(t,n){return e.et({operator:n.getAttribute(`operator`),val:n.getAttribute(`val`)},e=>t.warn(e))}processCustomFilters(t,n){let i=n.getAttribute(`and`),a=i===`and`||i===`1`;n.getAttribute(`val`);let o=[],s={operator:a?r.ICondition.BuiltInOperatorNames.And:r.ICondition.BuiltInOperatorNames.Or,param:o},c=n.childNodes,l=c.length;for(let e=0;e<l;e++){let n=c.item(e);if(n.nodeType!==1)continue;let r=null;n.localName===`customFilter`&&(r=this.processCustomFilter(t,n)),r&&o.push(r)}return o.length===1?o[0]:e.Y(s)}processDynamicFilter(t,n){return e.J(n.getAttribute(`type`))}processDateGroupItem(e,t){let n={};return e.copyFromAttribute(t,`dateTimeGrouping`,n,`group`),e.copyFromAttribute(t,`day`,n,`day`,e.INT_COPY),e.copyFromAttribute(t,`hour`,n,`hour`,e.INT_COPY),e.copyFromAttribute(t,`minute`,n,`minute`,e.INT_COPY),e.copyFromAttribute(t,`month`,n,`month`,e.INT_COPY),e.copyFromAttribute(t,`second`,n,`second`,e.INT_COPY),e.copyFromAttribute(t,`year`,n,`year`,e.INT_COPY),n}processFilterItem(e,t){if(t.hasAttribute(`val`))return t.getAttribute(`val`)}processFilters(e,t){let n={},i={operator:r.ICondition.BuiltInOperatorNames.InSet,param:n};n.byDisplay=!0,e.copyFromAttribute(t,`blank`,n,`blank`,e.BOOLEAN_COPY),n.blank&&(i.includeBlanks=!0),e.copyFromAttribute(t,`calendarType`,n,`calendarType`);let a=[],o=[],s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1){if(n.localName===`dateGroupItem`){let t=this.processDateGroupItem(e,n);t&&a.push(t)}else if(n.localName===`filter`){let t=this.processFilterItem(e,n);t!==void 0&&o.push(t)}}}return a.length>0&&(n.dateGroups=a),o.length>0&&(n.items=o),i}processIcon(e,t){let n={},i={operator:r.ICondition.BuiltInOperatorNames.Icon,param:n};return e.copyFromAttribute(t,`iconId`,n,`iconId`,e.INT_COPY),e.copyFromAttribute(t,`iconSet`,n),i}processTop10(e,t){let n={},i={operator:r.ICondition.BuiltInOperatorNames.TopN,param:n};return e.copyFromAttribute(t,`filterVal`,n,`filterVal`,e.FLOAT_COPY),e.copyFromAttribute(t,`percent`,n,`percent`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`top`,n,`top`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`val`,n,`limit`,e.FLOAT_COPY),i}processFilterColumnExt(t,n){let r=n.childNodes;for(let n=0;n<r.length;n++){let i=r.item(n);if(i.nodeType!==1||i.localName!==`ext`||e.Qt(i.getAttribute(`uri`))!==e.Qt(`{1AD28BCE-077C-4C59-8B6E-1921CE8616D4}`))continue;let a=i.childNodes;for(let e=0;e<a.length;e++){let n=a.item(e);if(n.nodeType!==1||n.localName!==`filterColumn`)continue;let r=n.childNodes;for(let e=0;e<r.length;e++){let n=r.item(e);if(n.nodeType===1&&n.localName===`filters`)return this.processFilters(t,n)}}}}processFilterCriteria(e,t){if(!t)return;let n=t.childNodes,r,i=n.length;for(let t=0;t<i;t++){let i=n.item(t);i.nodeType===1&&(i.localName===`colorFilter`?r=this.processColorFilter(e,i):i.localName===`customFilters`?r=this.processCustomFilters(e,i):i.localName===`dynamicFilter`?r=this.processDynamicFilter(e,i):i.localName===`filters`?r=this.processFilters(e,i):i.localName===`iconFilter`?r=this.processIcon(e,i):i.localName===`top10`?r=this.processTop10(e,i):i.localName===`extLst`&&(r=this.processFilterColumnExt(e,i)??r))}return r}processFilterColumn(t,n,r){if(!n)return null;if(!n.hasAttribute(`colId`))return;let i=parseInt(n.getAttribute(`colId`)),a=!1;if(n.hasAttribute(`hiddenButton`)&&(a=e.vt(n.getAttribute(`hiddenButton`))),a&&r){let e=r.hiddenButtons;e||(e=[],r.hiddenButtons=e),e.push(i)}let o=!1;if(n.hasAttribute(`showButton`)&&(o=e.vt(n.getAttribute(`showButton`))),o&&r){let e=r.showButtons;!0!==e&&(e||(e=[],r.showButtons=e),e[i]=!0)}let s=this.processFilterCriteria(t,n);return s?(s.index=i,s):null}processFilterColumns(e,t,n,r){if(!t)return;let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`filterColumn`){let t=this.processFilterColumn(e,a,r);t&&n.push(t)}}return n}},SortStateVisitor:class{visit(t,n,i){if(!n)return;let a=n.getAttribute(`ref`),o={};n.hasAttribute(`caseSensitive`)&&(o.collatorOptions=e.vt(n.getAttribute(`caseSensitive`))?r.Sort.CaseSensitiveOptions:r.Sort.CaseInsensitiveOptions);let s=n.getAttribute(`sortMethod`);s!=null&&s!==`none`&&(s===`stroke`?o.collatorOptions={...o.collatorOptions,collation:`stroke`}:s===`pinYin`&&(o.collatorOptions={...o.collatorOptions,collation:`pinyin`}));let c={};n.hasAttribute(`columnSort`)&&e.vt(n.getAttribute(`columnSort`))&&(c.axis=r.IRange.Axis.Column);let l=r.AddressUtils.fastStringToRange(a),u=[];return this.processSortConditions(t,n,u,l,o),u.length>0&&(c.sorts=u),Object.keys(u).length>0&&(i.sort=c),c}processSortCondition(t,n,i,a){if(!n)return null;let o={};if(!n.hasAttribute(`ref`))return void t.warn(`A sort condition has no ref; it was dropped.`,{onceKey:`xlsx.sheet.sort.noRef`});if(n.hasAttribute(`ref`)){let e=n.getAttribute(`ref`),t=r.AddressUtils.fastStringToRange(e);o.index=i?t.colStart-i.colStart:t.colStart}let s={...a};return o.criteria=s,s.reverse=!1,n.hasAttribute(`descending`)&&(s.reverse=e.vt(n.getAttribute(`descending`))),t.copyFromAttribute(n,`sortBy`,s,`sortOn`),t.copyFromAttribute(n,`dxfId`,s),t.copyFromAttribute(n,`iconSet`,s),t.copyFromAttribute(n,`customList`,s),o}processSortConditions(e,t,n,r,i){if(!t)return;let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let o=a.item(t);if(o.nodeType===1&&o.localName===`sortCondition`){let t=this.processSortCondition(e,o,r,i);t&&n.push(t)}}}},SheetStyleVisitor:class extends _{visit(e,n,i){this.processNumFmts(e,e.evaluate(`numFmts`,n),null),e.getVisitorParamsState().set(`colorsToProcess`,new Set);let a={fills:{},fonts:{},borders:{}};this.processFonts(e,e.evaluate(`fonts`,n),a.fonts),this.processFills(e,e.evaluate(`fills`,n),a.fills),this.processBorders(e,e.evaluate(`borders`,n),a.borders,!0),a.fills[0]={type:r.IFill.Type.None},a.fills[1]={type:r.IFill.Type.Pattern,patternType:r.IFill.BuiltInSheetPattern.Gray125},a.borders[0]={bottom:{style:r.IBorders.StrokeStyle.None},left:{style:r.IBorders.StrokeStyle.None},right:{style:r.IBorders.StrokeStyle.None},top:{style:r.IBorders.StrokeStyle.None}};let o=[];this.processXFs(e,e.evaluate(`cellStyleXfs`,n),o,a,null,!1);let s=new Map;if(o.length>0){let t=[];this.processCellStyles(e,e.evaluate(`cellStyles`,n),t,o,s),i.named=t}let c=[];this.processXFs(e,e.evaluate(`cellXfs`,n),c,a,s),Object.keys(c).length>0&&(i.direct=c);let l=this.collectHiddenXfs(e.evaluate(`cellXfs`,n));l.size>0&&e.getVisitorParamsState().set(t.t,l);let u=[];return this.processDXFs(e,e.evaluate(`dxfs`,n),u),this.processTableStyles(e,e.evaluate(`tableStyles`,n),i,u),this.processIndexColors(e,e.evaluate(`colors/indexedColors`,n),i),this.processMruColors(e,e.evaluate(`colors/mruColors`,n),i),i}processIndexColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`rgbColor`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}n.indexedColors=r}processMruColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`color`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}r.length>0&&(n.mruColors=r)}processNumFmts(e,t,n){if(!t)return;let r=new Map;if(e.getVisitorParamsState().set(`numFmts`,r),!t)return;let i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType===1&&t.localName===`numFmt`){let e=t.getAttribute(`numFmtId`),n=t.getAttribute(`formatCode`);if(e&&n){let t=n;r.set(parseInt(e),t)}}}}processXFs(e,t,n,r,i=null,a=!0){if(!t)return;let o=t.childNodes,s=o.length;for(let t=0;t<s;t++){let s=o.item(t);if(s.nodeType===1&&s.localName===`xf`){let t={};this.processXF(e,s,t,r,i,a),n.push(t)}}}processXF(t,n,i,a,o,s){if(!n)return;let c=n.getAttribute(`xfId`);if(c&&o){let e=o.get(parseInt(c));e&&e!==r.IStyle.BuiltInName.Normal&&(i.named=e)}let l=t=>!(!s&&n.hasAttribute(t))||e.vt(n.getAttribute(t)),u=t=>!s||n.hasAttribute(t)&&e.vt(n.getAttribute(t)),d=s?`0`:void 0;if(l(`applyFont`)){let e=n.getAttribute(`fontId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFont`))){let t=a.fonts[e];t!==void 0&&(i.font=t)}}if(l(`applyFill`)){let e=n.getAttribute(`fillId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFill`))){let t=a.fills[e];t!==void 0&&Object.keys(t).length>0&&(i.fill=t)}}if(l(`applyBorder`)){let e=n.getAttribute(`borderId`)??d;if(e!==void 0&&(e!==`0`||u(`applyBorder`))){let t=a.borders[e];t!==void 0&&(i.borders=t)}}if(l(`applyNumberFormat`)){let e=n.getAttribute(`numFmtId`)??d;if(e!==void 0&&(e!==`0`||u(`applyNumberFormat`))){let n=parseInt(e),r,a=t.getVisitorParamsState();if(a){let e=a.get(`numFmts`);e&&(r=e.get(n)),i.numberFormat=r??n}else t.warn(`Number formats were unavailable; a cell format was not read.`,{onceKey:`xlsx.style.numberFormat.state`})}}if(l(`applyAlignment`)){let e=t.evaluate(`alignment`,n);(e||u(`applyAlignment`))&&this.processAlignment(t,e,i)}if(l(`applyProtection`)){let e=t.evaluate(`protection`,n);(e||u(`applyProtection`))&&this.processProtection(t,e,i)}let f=e.vt(n.getAttribute(`quotePrefix`)??``);f&&(i.quotePrefix=f)}processAlignment(t,n,i){let a={};if(n?.hasAttribute(`horizontal`)?a.horizontal=n.getAttribute(`horizontal`):a.horizontal=r.ITextFrame.HorizontalAlignment.General,n?.hasAttribute(`vertical`)?a.vertical=n.getAttribute(`vertical`):a.vertical=r.ITextFrame.VerticalAlignment.Bottom,n?.hasAttribute(`indent`)?a.indent=parseInt(n.getAttribute(`indent`)):a.indent=0,n?.hasAttribute(`relativeIndent`)?a.relativeIndent=parseInt(n.getAttribute(`relativeIndent`)):a.relativeIndent=0,e.vt(n?.getAttribute(`wrapText`)??``)?a.overflow=r.ITextFrame.Overflow.Wrap:a.overflow=r.ITextFrame.Overflow.Visible,e.vt(n?.getAttribute(`shrinkToFit`)??``)&&(a.overflow=r.ITextFrame.Overflow.Shrink),n?.hasAttribute(`textRotation`)){let e=parseFloat(n.getAttribute(`textRotation`));e>0&&e<=90?e=360-e:e>90&&e<=180?e-=90:e===255&&(e=0,a.stacked=!0),a.rotation=e}else a.rotation=0;n?.hasAttribute(`justifyLastLine`)&&(a.justifyLastLine=e.vt(n.getAttribute(`justifyLastLine`)));let o=n?.getAttribute(`readingOrder`);return o&&(o===`0`?a.readingDirection=r.ITextFrame.ReadingDirection.Auto:o===`1`?a.readingDirection=r.ITextFrame.ReadingDirection.LeftToRight:o===`2`?a.readingDirection=r.ITextFrame.ReadingDirection.RightToLeft:t.warn(`Invalid readingOrder '${o}'; the direction was left automatic.`,{onceKey:`xlsx.style.readingOrder`})),Object.keys(a).length>0&&(i.alignment=a),i}collectHiddenXfs(t){let n=new Set;if(!t)return n;let r=t.childNodes,i=0;for(let t=0;t<r.length;t++){let a=r.item(t);if(a.nodeType!==1||a.localName!==`xf`)continue;let o=a.childNodes;for(let t=0;t<o.length;t++){let r=o.item(t);r.nodeType===1&&r.localName===`protection`&&e.vt(r.getAttribute(`hidden`)??``)&&n.add(i)}i++}return n}processProtection(t,n,r){if(!n)return;let i=n.getAttribute(`locked`);return r.protection={alwaysUnlocked:!!i&&!e.vt(i)},r}processDXF(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`font`){let t={};this.processFont(e,i,t),n.font=t}else if(i.nodeType===1&&i.localName===`fill`){let t=[];this.processFill(e,i,t,0),t.length>0&&t[0]&&(n.fill=t[0])}else if(i.nodeType===1&&i.localName===`border`){let t=[];this.processBorder(e,i,t,0,!1),t.length>0&&t[0]&&(n.borders=t[0])}else if(i.nodeType===1&&i.localName===`numFmt`){let e=i.getAttribute(`formatCode`);if(e)n.numberFormat=e;else{let e=i.getAttribute(`numFmtId`);e&&(n.numberFormat=Number(e))}}else i.nodeType===1&&i.localName===`alignment`&&this.processAlignment(e,i,n)}}processDXFs(e,t,n){if(!t)return;e.getVisitorParamsState().set(`processingDXFs`,!0);let r=new Map;e.getVisitorParamsState().set(`dxfs`,r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`dxf`){let t={};this.processDXF(e,a,t);let i=n.length;r.set(i,t),n.push(t)}}e.getVisitorParamsState().delete(`processingDXFs`)}processTableStyle(t,n,r,i,a=!1){let o=n.getAttribute(`name`),s={name:o};n.hasAttribute(`table`)&&(s.table=e.vt(n.getAttribute(`table`))),n.hasAttribute(`pivot`)&&(s.pivot=e.vt(n.getAttribute(`pivot`))),a&&!s.pivot&&i.unshift(null);let c=n.childNodes,l=c.length;for(let e=0;e<l;e++){let n=c.item(e);if(n.nodeType===1&&n.localName===`tableStyleElement`){let e=n.getAttribute(`type`),r=n.getAttribute(`dxfId`),a=r==null?void 0:i?.[r];a||=(t.warn(`A table style names a format that does not exist (dxfId '${r}').`,{onceKey:`xlsx.style.tableStyle.dxf`}),{}),s[e]=a;let o=null;n.hasAttribute(`size`)&&(o=parseInt(n.getAttribute(`size`))),o&&!isNaN(o)&&(a.size=o)}}delete s.name,r[o]=s}processTableStyles(e,t,n,r,i){if(!t)return;let a={},o=t.getAttribute(`defaultTableStyle`);o&&(a.defaultTableStyle=o);let s=t.getAttribute(`defaultPivotStyle`);s&&(a.defaultPivotStyle=s);let c=t.childNodes,l={},u=c.length;for(let t=0;t<u;t++){let n=c.item(t);n.nodeType===1&&n.localName===`tableStyle`&&this.processTableStyle(e,n,l,r,i)}return Object.keys(l).length>0&&(a.styles=l),Object.keys(a).length>0&&(n.tables=a),n}processCellStyles(t,n,i,a,o){if(!n)return;let s=n.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1&&n.localName===`cellStyle`){let t=parseInt(n.getAttribute(`xfId`)??``),s=n.getAttribute(`name`),c=n.getAttribute(`builtinId`),l=s;if(c!==null){let e=r.IStyle.builtInNameFromId(parseInt(c));e!==void 0&&(l=e)}if(o.set(t,l),!a[t])continue;let u={name:l,style:a[t]};n.getAttribute(`hidden`)&&(u.hidden=e.vt(n.getAttribute(`hidden`))),n.getAttribute(`iLevel`)&&(u.iLevel=parseInt(n.getAttribute(`iLevel`))),i.push(u)}}}afterVisit(e,t,n){}},WorkbookVisitor:class extends _{visit(e,t,n){return this.processSheetRefs(e,e.evaluate(`sheets`,t),n),this.processExternalReferences(e,e.evaluate(`externalReferences`,t),n),this.processBookViews(e,e.evaluate(`bookViews`,t),n),this.processDefinedNames(e,e.evaluate(`definedNames`,t),n),this.processCalcPr(e,e.evaluate(`calcPr`,t),n),this.processPivotCaches(e,e.evaluate(`pivotCaches`,t),n),this.processWorkbookProtection(e,e.evaluate(`workbookProtection`,t),n),this.processWorkbookPr(e,e.evaluate(`workbookPr`,t),n),n}processPassword(e,t,n,r=`workbook`,i=`password`){if(!t)return;let a={};e.copyFromAttribute(t,`${r}AlgorithmName`,a,`algorithm`),e.copyFromAttribute(t,`${r}HashValue`,a,`hash`),e.copyFromAttribute(t,`${r}SaltValue`,a,`salt`),e.copyFromAttribute(t,`${r}SpinCount`,a,`spinCount`,e.INT_COPY),Object.keys(a).length>0&&(n[i]=a)}processWorkbookProtection(t,n,r){if(!n)return;let i={};this.processPassword(t,n,i,`workbook`,`password`),this.processPassword(t,n,i,`revisions`,`revisionsPassword`);for(let t of e.at)i[t.key]=e.ot(t,n.getAttribute(t.attribute));return r.protection=i,r}processCalcPr(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`calcMode`,r,`calcMode`,e=>y[e]??null),e.copyFromAttribute(t,`fullCalcOnLoad`,r,`fullCalcOnLoad`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcOnSave`,r,`calcOnSave`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcCompleted`,r,`calcCompleted`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`fullPrecision`,r,`fullPrecision`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`forceFullCalc`,r,`forceFullCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`concurrentCalc`,r,`concurrentCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`refMode`,r,`refMode`),e.copyFromAttribute(t,`iterate`,r,`iterate`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`iterateCount`,r,`maxIteration`,e.INT_COPY),e.copyFromAttribute(t,`iterateDelta`,r,`maxIterateChange`,e.FLOAT_COPY);let i=t.getAttribute(`calcId`);i!==null&&e.getVisitorParamsState().set(`calcId`,i),n.calc=r}processSheetRefs(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`sheet`&&this.processSheetRef(e,n,r)}n.sheets=r}processSheetRef(e,t,n){let r={};e.copyFromAttribute(t,`name`,r,`name`),e.copyFromAttribute(t,`state`,r,`visibility`),e.copyFromAttribute(t,`sheetId`,r,`sheetId`,e.INT_COPY);let i=t.getAttribute(`r:id`),a=e.getRef(i);a&&(r.sheet=a),n.push(r)}processExternalReferences(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`externalReference`){let t=n.getAttribute(`r:id`),i=t?e.getRef(t):null;r.push(i??null)}}r.length>0&&(n.externalBooks=r)}processPivotCaches(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1||n.localName!==`pivotCache`)continue;let a=parseInt(n.getAttribute(`cacheId`)??``,10),o=n.getAttribute(`r:id`);if(isNaN(a)||!o)continue;let s=e.readEmbeddedPart(o);s&&r.push({cacheId:a,part:s})}r.length>0&&(n.pivotCaches=r)}processBookViews(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;i<1&&t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`workbookView`&&(this.processWorkbookView(e,a,n),i++)}}processWorkbookView(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`activeTab`,r,`activeSheetId`,[e.INT_COPY,e=>e]),t.hasAttribute(`activeTab`)||(r.activeSheetId=0),e.copyFromAttribute(t,`showHorizontalScroll`,r,`showHorizontalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showVerticalScroll`,r,`showVerticalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showSheetTabs`,r,`showTabs`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tabRatio`,r,`tabRatio`,[e.FLOAT_COPY,e=>e]),Object.keys(r).length>0&&(n.view=r)}processDefineName(e,t,n,r){if(!t)return;let i={},a=t.firstChild;if(a&&a.nodeType===3&&(i.ref=a.textContent),e.copyFromAttribute(t,`name`,i),e.copyFromAttribute(t,`comment`,i),e.copyFromAttribute(t,`hidden`,i,`hidden`,e.BOOLEAN_COPY),t.hasAttribute(`localSheetId`)){let n=t.getAttribute(`localSheetId`);if(!r[n]?.name)return void e.warn(`Defined name '${t.getAttribute(`name`)}' references a sheet with localSheetId '${n}' which does not exist.`);i.scope=r[n].name}e.copyFromAttribute(t,`customMenu`,i),e.copyFromAttribute(t,`description`,i),e.copyFromAttribute(t,`statusBar`,i),e.copyFromAttribute(t,`help`,i),e.copyFromAttribute(t,`shortcutKey`,i),e.copyFromAttribute(t,`function`,i,`function`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`functionGroupId`,i,`functionGroupId`,e.INT_COPY),e.copyFromAttribute(t,`publishToServer`,i,`publishToServer`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`vbProcedure`,i,`vbProcedure`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`xlm`,i,`xlm`,e.BOOLEAN_COPY),Object.keys(i).length>0&&n.push(i)}processDefinedNames(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);a.nodeType===1&&a.localName===`definedName`&&this.processDefineName(e,a,r,n.sheets)}r.length>0&&(n.names=r)}processWorkbookPr(e,t,n){t&&(e.copyFromAttribute(t,`date1904`,n,`date1904`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`codeName`,n,`codeName`),e.copyFromAttribute(t,`updateLinks`,n,`updateLinks`))}afterVisit(e,t,n){}},TableVisitor:class{visit(e,t,n){let r={};return e.copyFromAttribute(t,`ref`,n,`r`),e.getVisitorParamsState().set(`ref`,n.r),n.v=r,e.copyFromAttribute(t,`name`,r),e.copyFromAttribute(t,`displayName`,r),e.copyFromAttribute(t,`headerRowCount`,r,`headerRowCount`,e.INT_COPY),e.copyFromAttribute(t,`totalsRowCount`,r,`totalsRowCount`,e.INT_COPY),this.processTableColumns(e,t,r),this.processTableStyleInfo(e,t,r),e.copyFromAttribute(t,`id`,r),e.copyFromAttribute(t,`comment`,r,`description`),e.copyFromAttribute(t,`connectionId`,r,`connectionId`,e.INT_COPY),e.copyFromAttribute(t,`tableType`,r),e.copyFromAttribute(t,`published`,r,`published`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRow`,r,`insertRow`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRowShift`,r,`insertRowShift`,e.BOOLEAN_COPY),r.totalsRowShown=t.getAttribute(`totalsRowShown`)!==`0`,r}afterVisit(e,t,n){let r=n.v;if(e.evaluate(`autoFilter`,t)){if(Array.isArray(r.hiddenButtons)){let e=r.hiddenButtons.length;e===0?r.hiddenButtons=!1:e===r.columns?.length&&(r.hiddenButtons=!0)}}else r.hiddenButtons=!0,r.showButtons=!1;return r}processTableStyleInfo(e,t,n){if(!t)return;let r=t.childNodes,i={},a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableStyleInfo`&&(e.copyFromAttribute(n,`name`,i),e.copyFromAttribute(n,`showColumnStripes`,i,`showColumnStripes`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showFirstColumn`,i,`showFirstColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showLastColumn`,i,`showLastColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showRowStripes`,i,`showRowStripes`,e.BOOLEAN_COPY))}Object.keys(i).length>0&&(n.style=i)}processTableColumn(e,t,n){if(!t)return null;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`tableColumn`){let t={};e.copyFromAttribute(i,`name`,t),e.copyFromAttribute(i,`id`,t),e.copyFromAttribute(i,`uniqueName`,t),e.copyFromAttribute(i,`queryTableFieldId`,t),e.copyFromAttribute(i,`totalsRowLabel`,t);let r=i.getAttribute(`totalsRowFunction`);if(r!==null)if(r===`custom`){let n=e.evaluate(`totalsRowFormula`,i);n&&(t.totalsRowFormula=n.textContent)}else t.totalsRowFormula=r;e.copyFromAttribute(i,`totalsRowLabel`,t);let a=e.evaluate(`calculatedColumnFormula`,i);a?.textContent&&(t.calculatedColumnFormula=a.textContent),n.push(t)}}return n}processTableColumns(e,t,n){let r=t.childNodes,i=[],a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableColumns`&&this.processTableColumn(e,n,i)}i.length>0&&(n.columns=i)}},TableX14Visitor:class{visit(e,t,n){let r=e.getVisitorParamsState().get(`ref`);if(r){let n=e.getVisitorParamsState().get(`descriptions`);n&&(n.add(r,t.getAttribute(`altText`)),n.add(r,t.getAttribute(`altTextSummary`)))}return e.copyFromAttribute(t,`altText`,n),e.copyFromAttribute(t,`altTextSummary`,n),n}},ExternalLinkVisitor:class{visit(e,t,n){let r=t.childNodes,i=r.length,a=null;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1){t.localName===`externalBook`&&(a=t);break}}if(!a)return n;t.getAttribute(`mc:Ignorable`)&&(n.mceIgnorable=!0);let o=a.getAttribute(`r:id`);o&&(n.__bookRelId=o);let s=this._findAbsoluteUrlRelId(a);return s&&(n.__absoluteUrlRelId=s),n.sheetNames=[],this.processSheetNames(e,a,n),this.processDefinedNames(e,a,n),this.processSheetDataSet(e,a,n),n}processSheetNames(e,t,n){let r=this._findChild(t,`sheetNames`);if(!r)return;let i=r.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);t.nodeType===1&&t.localName===`sheetName`&&n.sheetNames.push(t.getAttribute(`val`)??``)}}processDefinedNames(e,t,n){let r=this._findChild(t,`definedNames`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`definedName`)continue;let n=t.getAttribute(`name`);if(!n)continue;let r={name:n,refersTo:t.getAttribute(`refersTo`)??``},o=t.getAttribute(`sheetId`);o!==null&&(r.sheetIndex=parseInt(o,10)),i.push(r)}i.length>0&&(n.definedNames=i)}processSheetDataSet(e,t,n){let r=this._findChild(t,`sheetDataSet`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1||n.localName!==`sheetData`)continue;let r=n.getAttribute(`sheetId`);if(r===null)continue;let o=this.processSheetData(e,n);o.sheetIndex=parseInt(r,10),n.getAttribute(`refreshError`)===`1`&&(o.refreshError=!0),i.push(o)}i.length>0&&(n.sheetDataSet=i)}processSheetData(e,t){let n=new r.Tuple.Builder,i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType!==1||t.localName!==`row`)continue;let a=t.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`cell`)continue;let i=t.getAttribute(`r`);if(!i)continue;let o=r.AddressUtils.fastStringToCell(i);if(o?.rowIndex===void 0||o?.colIndex===void 0)continue;let s=this._readCellValue(t);s!==void 0&&n.pushAt(o.rowIndex,o.colIndex,s)}}return{sheetIndex:-1,data:n.build()?.tuples??[]}}_readCellValue(e){let t=this._findChild(e,`v`)?.textContent?.trim();if(t!==void 0&&t!==``)switch(e.getAttribute(`t`)){case null:case`n`:return parseFloat(t);case`b`:return t===`1`||t===`true`;case`str`:default:return t;case`e`:{let e=r.FormulaError.getBuiltInByLabel(t);return e?{t:`e`,v:e.getCode()}:t}}}_findChild(e,t){let n=e.childNodes,r=n.length;for(let e=0;e<r;e++){let r=n.item(e);if(r.nodeType===1&&r.localName===t)return r}return null}_findAbsoluteUrlRelId(e){let t=this._findChild(e,`alternateUrls`);return t?this._findChild(t,`absoluteUrl`)?.getAttribute(`r:id`)??null:null}},SlicerCacheDefinitionVisitor:class{visit(e,t,n){e.copyFromAttribute(t,`name`,n),e.copyFromAttribute(t,`sourceName`,n);let r=e.evaluate(`*/tableSlicerCache`,t);return r?(e.copyFromAttribute(r,`tableId`,n),e.copyFromAttribute(r,`column`,n,`columnId`),e.copyFromAttribute(r,`crossFilter`,n),n):(e.warn(`A slicer names no table; it was not imported.`,{onceKey:`xlsx.slicer.cacheDefinition`}),n)}},SlicersVisitor:class{visit(e,t,n){let r=n.slicers;r||(r={},n.slicers=r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`slicer`&&this.processSlicer(e,n,r)}return r}processSlicer(e,t,n){if(!t)return;let r={};n[t.getAttribute(`name`)]=r;let i=t.getAttribute(`cache`),a=e.getVisitorParamsState().get(`slicerCaches`);if(i){let e=a.get(i);e&&(r.columnId=e.columnId,r.tableId=e.tableId)}e.copyFromAttribute(t,`caption`,r),e.copyFromAttribute(t,`startItem`,r,`startItem`,e.INT_COPY),e.copyFromAttribute(t,`columnCount`,r,`columnCount`,e.INT_COPY),e.copyFromAttribute(t,`showCaption`,r,`showCaption`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`level`,r,`level`,e.INT_COPY),e.copyFromAttribute(t,`style`,r),e.copyFromAttribute(t,`locked`,r,`locked`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`rowHeight`,r,`rowHeight`,e.INT_COPY)}},FormControlPrVisitor:class{visit(t,n,r){let i={},a=n.attributes;for(let e=0;e<a.length;e++){let t=a.item(e),n=t.name;n===`xmlns`||n.startsWith(`xmlns:`)||(i[n]=t.value)}let o=[],s,c=n.childNodes;for(let e=0;e<c.length;e++){let n=c.item(e);if(n.nodeType===1)if(n.localName===`itemLst`){let e=n.childNodes;for(let t=0;t<e.length;t++){let n=e.item(t);n.nodeType===1&&n.localName===`item`&&o.push(n.getAttribute(`val`)??``)}}else n.localName===`extLst`&&(s=t.serializeElement(n)??void 0)}let l=e.y(i,o,s);return r.formControl=l,l}},DrawingVisitor:class{visit(e,t,n){return n}afterVisit(e,t,n){for(let e of n?.movables??[]){let t=e.content;if(t?.type!==`shape`||!t.json)continue;let n=t.json.rotation;n!==void 0&&(delete t.json.rotation,n!==0&&(e.rotation=n))}}},DrawingAnchorVisitor:class{visit(e,t,n){if(!t)return;let r={};return e.copyFromAttribute(t,`editAs`,r,`anchorType`),r.anchor={},t.localName===`absoluteAnchor`?(r.anchorType=`absolute`,this.processAbsoluteCoord(e,e.evaluate(`xdr:pos`,t),r.anchor,`from`,`x`,`y`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):t.localName===`oneCellAnchor`?(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processOffsetCoord(e,e.evaluate(`to`,t),r.anchor,`to`)),n.movables||=[],n.movables.push(r),r}processAbsoluteCoord(t,n,r,i,a,o){if(!n)return;let s={x:0,y:0};return s.x=e.yt(n.getAttribute(a)),s.y=e.yt(n.getAttribute(o)),i===`from`?r.tl=s:r.br=s,r}processOffsetCoord(t,n,r,i){if(!n)return;let a={c:0,r:0,x:0,y:0};return t.evaluate(`col`,n)&&(a.c=parseInt(t.evaluate(`col`,n).textContent)),t.evaluate(`row`,n)&&(a.r=parseInt(t.evaluate(`row`,n).textContent)),t.evaluate(`colOff`,n)&&(a.x=e.yt(t.evaluate(`colOff`,n).textContent)),t.evaluate(`rowOff`,n)&&(a.y=e.yt(t.evaluate(`rowOff`,n).textContent)),i===`from`?r.tl=a:r.br=a,r}},DrawingGraphicFrameVisitor:class extends x{visit(e,t,n){if(!t)return;if(this.isGroupContent(n)){let r=this.readChildHeader(e,t,`graphicFrame`);return n.children.push(r),r}n=super.visit(e,t,n);let r=e.evaluate(`nvGraphicFramePr/cNvGraphicFramePr`,t);if(r){let t=e.evaluate(`graphicFrameLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i={type:`graphicFrame`,json:{}},a=e.evaluate(`graphic/graphicData`,t).childNodes,o=a.length;for(let n=0;n<o;n++){let r=a.item(n);if(r.nodeType===1)try{let n=r.localName;n===`chart`?n=`chart`:n===`slicer`&&(n=`slicer`),i.type=n;let a=r.getAttribute(`r:id`);if(n===`chart`&&a){let n=e.evaluate(`*/cNvPr`,t);n?.item&&(n=n.item(0));let r=n?.getAttribute?.(`id`),o=r?parseInt(r,10):void 0;i.json={xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o,part:e.readEmbeddedPart(a)??void 0}}else a&&(i.json=e.getRef(a))}catch(t){e.warn(`Unable to read a graphic frame: ${t?.message??t}`,{onceKey:`xlsx.drawing.graphicFrame`})}}return i&&this.setContent(n,i),i}},DrawingSpVisitor:S,DrawingPicVisitor:class extends x{constructor(...t){super(...t),this._fills=new e.E}visit(e,t,n){if(!t)return;if(this.isGroupContent(n)){let i=this.readChildHeader(e,t,r.IShape.Type.Picture);return this.readPictureDetails(e,t,i),n.children.push(i),i}let i=super.visit(e,t,n),a=e.evaluate(`nvPicPr/cNvPicPr`,t);if(a){e.copyFromAttribute(t,`preferRelativeResize`,i,`preferRelativeResize`,e.BOOLEAN_COPY);let n=e.evaluate(`picLocks`,a);if(n){n.hasAttribute(`noChangeAspect`)&&(i.lockAspect=n.getAttribute(`noChangeAspect`)===`1`);let t={};e.copyFromAttribute(n,`noChangeArrowheads`,i,`noChangeArrowheads`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noChangeShapeType`,i,`noChangeShapeType`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noEditPoints`,i,`noEditPoints`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noAdjustHandles`,i,`noAdjustHandles`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noCrop`,i,`noCrop`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noGrp`,i,`noGrp`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noMove`,i,`noMove`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noResize`,i,`noResize`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noRot`,i,`noRot`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noSelect`,i,`noSelect`,e.BOOLEAN_COPY),Object.keys(t).length>0&&(i.locks=t)}}let o=this.readImageResource(e,t);if(o===null)return;let s={resId:o};return this.setContent(n,{type:`picture`,json:s}),i}readPictureDetails(t,n,r){let i=n.getAttribute(`macro`);i&&(r.macro=i),n.hasAttribute(`fPublished`)&&(r.published=e.vt(n.getAttribute(`fPublished`)));let a=this.readLocks(t.evaluate(`nvPicPr/cNvPicPr/picLocks`,n));a&&(r.locks=a);let o=t.evaluate(`blipFill`,n);o&&(r.fill=this._fills.processImageFill(t,o))}readImageResource(e,t){let n=e.evaluate(`blipFill/blip`,t);if(!n)return;let r=n.getAttribute(`r:embed`)??n.getAttribute(`embed`);return r||=n.getAttribute(`r:link`)??n.getAttribute(`link`),r?e.getRef(r,!0):(e.warn(`A picture names no image; it was not imported.`,{onceKey:`xlsx.drawing.picture.noRel`}),null)}},DrawingGrpSpVisitor:class extends S{visit(t,n,i){if(!n)return;let a=this.isGroupContent(i),o=this.visitShape(t,n,i,`grpSp`,`nvGrpSpPr/cNvGrpSpPr/grpSpLocks`);if(o?.type===r.IShape.Type.Group){o.children=[];let r=t.evaluate(`grpSpPr/xfrm`,n);if(r){e.O(r,o),r.getAttribute(`flipH`)===`1`&&(o.flipH=!0),r.getAttribute(`flipV`)===`1`&&(o.flipV=!0);let n=C(t,r,`chOff`,`chExt`);n&&(o.childBounds=n);let i=a||!n?C(t,r,`off`,`ext`):null;i&&(o.bounds=i)}}return o}},DrawingCxnSpVisitor:class extends S{visit(e,t,n){if(t)return this.visitShape(e,t,n,`cxnSp`,`nvCxnSpPr/cNvCxnSpPr/cxnSpLocks`)}},MetadataVisitor:class{visit(e,t,n){let r=[],i=new Map,a={cells:[],values:[]},o=t.childNodes;for(let e=0;e<o.length;e++){let t=o.item(e);if(t.nodeType===1)switch(t.localName){case`metadataTypes`:this._parseMetadataTypes(t,r,i);break;case`futureMetadata`:this._attachFutureMetadata(t,i);break;case`cellMetadata`:this._resolveBlocks(t,r,a.cells);break;case`valueMetadata`:this._resolveBlocks(t,r,a.values)}}return n.metadata=a,a}_parseMetadataTypes(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1&&i.localName===`metadataType`){let e=this._parseMetadataType(i);t.push(e),n.set(e.name,e)}}}_parseMetadataType(e){let t={name:e.getAttribute(`name`)??``,_blocks:[]},n=e.getAttribute(`minSupportedVersion`);n!=null&&(t.minSupportedVersion=Number(n));for(let n of[`copy`,`pasteAll`,`pasteValues`,`merge`,`splitFirst`,`splitAll`,`rowColShift`,`clearFormats`,`clearComments`,`assign`,`coerce`,`cellMeta`,`adjust`,`trans`,`delete`,`edit`])e.getAttribute(n)===`1`&&(t[n]=!0);return t}_attachFutureMetadata(e,t){let n=e.getAttribute(`name`)??``,r=t.get(n);if(!r)return;let i=e.childNodes;for(let e=0;e<i.length;e++){let t=i.item(e);t.nodeType===1&&t.localName===`bk`&&r._blocks.push(this._parseFutureBlock(t))}}_parseFutureBlock(e){let t={},n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`extLst`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`ext`)continue;let r=n.childNodes;for(let e=0;e<r.length;e++){let n=r.item(e);n.nodeType===1&&(n.localName===`dynamicArrayProperties`?(t.fDynamic=n.getAttribute(`fDynamic`)===`1`,t.fCollapsed=n.getAttribute(`fCollapsed`)===`1`):n.localName===`rvb`&&(t.richValueIndex=Number(n.getAttribute(`i`)??`0`)))}}}return t}_resolveBlocks(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);i.nodeType===1&&i.localName===`bk`&&n.push(this._resolveBlock(i,t))}}_resolveBlock(e,t){let n=new Map,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType!==1||i.localName!==`rc`)continue;let a=Number(i.getAttribute(`t`)),o=Number(i.getAttribute(`v`)),s=t[a-1];if(!s)continue;let{_blocks:c,...l}=s,u={...l};for(let e of Object.keys(u))u[e]===void 0&&delete u[e];let d=c[o];d&&(d.fDynamic!==void 0&&(u.fDynamic=d.fDynamic,u.fCollapsed=d.fCollapsed??!1),d.richValueIndex!==void 0&&(u.richValueIndex=d.richValueIndex)),n.set(s.name,u)}return n}},RichValueStructureVisitor:class{visit(e,t,n){let r=e.getVisitorParamsState().get(w);r||(r=[],e.getVisitorParamsState().set(w,r));let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`s`){let t={type:n.getAttribute(`t`)??`n`,keys:[]};this.processKeys(e,n,t),r.push(t)}}return n.richTypes=r,r}processKeys(e,t,n){let r=t.childNodes,i=r.length,a=n.keys;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`k`){let e=t.getAttribute(`n`),n=t.getAttribute(`t`);a.push([e,n])}}}},RichValueDataVisitor:class{visit(e,t,n){let r=e.getVisitorParamsState().get(`richTypes`);if(!r)return void e.warn(`RichValueFound but not type.`);let i=e.getVisitorParamsState().get(T);i||(i=[],e.getVisitorParamsState().set(T,i));let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1&&n.localName===`rv`){let t=r[n.getAttribute(`s`)],a={type:t.type};this.processValues(e,n,a,t);let o=this.mapType(e,a);i.push(o)}}return n.richData=i,i}mapType(e,t){if(t.type===`_error`){let e=t.errorType;if(e)try{t=r.FormulaError.getBuiltInByCode(e+1)??r.FormulaError.BuiltIn.Unknown}catch{}}return t}processValues(e,t,n,r){let i=t.childNodes,a=i.length;r.type;let o=r.keys;for(let t=0;t<a;t++){let r=i.item(t);if(r.nodeType===1&&r.localName===`v`){let i=o[t];if(!i)return void e.warn(`Invalid richData`);let a=i[0],s=i[1],c=r.textContent;s===`i`&&(c=Number(c)),n[a]=c}}}},CommentsVisitor:class{visit(e,t,n){if(!t)return;let r=[];this.processAuthors(e,e.evaluate(`authors`,t),r),r.length>0&&(n.authors=r);let i=[];return n.comments=i,i}processAuthors(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`author`){let e=t.firstChild;e&&e.nodeType===3&&n.push(e.textContent)}}}},CommentVisitor:class{visit(e,t,n){if(!t)return;let r=t.getAttribute(`ref`);if(!r)return;let i={content:``};if(t.hasAttribute(`authorId`)){let e=parseInt(t.getAttribute(`authorId`),10);isNaN(e)||(i.authorId=e)}return i.content=function(e){if(!e)return``;let t=[],n=!0,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1){if(i.localName===`t`)t.push({text:i.textContent??``});else if(i.localName===`r`){let e={text:``},r=i.childNodes;for(let t=0;t<r.length;t++){let n=r.item(t);if(n.nodeType===1){if(n.localName===`t`)e.text+=n.textContent??``;else if(n.localName===`rPr`){let t=O(n);t&&(e.font=t)}}}e.font&&(n=!1),t.push(e)}}}return t.length===0?e.textContent??``:n?t.map(e=>e.text).join(``):{runs:t}}(e.evaluate(`text`,t)),n.push({r,v:i}),i}},ThreadedCommentsVisitor:class{visit(e,t,n){if(!t)return;let r=[];return n.comments=r,r}},ThreadedCommentVisitor:class{visit(n,r,i){if(!r)return;let a={};n.copyFromAttribute(r,`id`,a,`id`,t.c);let o=r.getAttribute(`ref`);n.copyFromAttribute(r,`personId`,a,`personId`,t.c),n.copyFromAttribute(r,`parentId`,a,`parentId`,t.c);let s=r.getAttribute(`dT`);s&&(a.dt=function(e){let t=/^(.*T\d{2}:\d{2}:\d{2})(?:\.(\d+))?(Z|[+-]\d{2}:?\d{2})?$/i.exec(e.trim());if(!t)return e;let[,n,r,i]=t;return`${n}${r?`.${(r+`00`).substring(0,3)}`:``}${i??`Z`}`}(s)),r.hasAttribute(`done`)&&(a.done=e.vt(r.getAttribute(`done`)));let c=function(e){let n,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType!==1||i.localName!==`mentions`)continue;let a=i.childNodes;for(let e=0;e<a.length;e++){let r=a.item(e);if(r.nodeType!==1||r.localName!==`mention`)continue;let i=r.getAttribute(`mentionId`),o=r.getAttribute(`mentionpersonId`);if(!i||!o)continue;let s={id:t.c(i),personId:t.c(o)},c=parseInt(r.getAttribute(`startIndex`)??``,10);isNaN(c)||(s.startIndex=c);let l=parseInt(r.getAttribute(`length`)??``,10);isNaN(l)||(s.length=l),(n??=[]).push(s)}}return n}(r);return c&&(a.mentions=c),i.push({r:o,v:a}),a}},PersonListVisitor:class{visit(e,n,r){let i=[],a=n.childNodes,o=a.length;for(let n=0;n<o;n++){let r=a.item(n);if(r.nodeType===1&&r.localName===`person`){let n={};e.copyFromAttribute(r,`id`,n,`id`,t.c),e.copyFromAttribute(r,`displayName`,n),e.copyFromAttribute(r,`userId`,n,`userId`,t.c),e.copyFromAttribute(r,`providerId`,n),i.push(n)}}return i.length>0&&(r.persons=i),i}}},A=class{constructor(e,t){this.path=e,this.visitor=t}};exports.DOMTransformer=class{constructor(){this.visitorsByXmlTagName=new Map,this.scopedVisitorsByXmlTagName=new Map,this.visitorParamsState=null,this.registerVisitor(`Relationships`,new k.RelsVisitor),this.registerVisitor(`cp:coreProperties`,new k.CorePropertiesVisitor),this.registerVisitor(`Properties`,new k.AppPropertiesVisitor),this.registerVisitor(`spPr`,new k.ShapePropertiesVisitor),this.registerVisitor(`txBody`,new k.ShapeTextVisitor),this.registerVisitor(`txPr`,new k.TextPropertiesVisitor),this.registerVisitor(`c:chartSpace`,new k.ChartSpaceVisitor),this.registerVisitor(`c:plotArea`,new k.PlotAreaVisitor),this.registerVisitor(`c:barChart`,new k.BarChartTypeVisitor),this.registerVisitor(`c:doughnutChart`,new k.ChartTypeVisitor),this.registerVisitor(`c:lineChart`,new k.ChartTypeVisitor),this.registerVisitor(`c:ofPieType`,new k.ChartTypeVisitor),this.registerVisitor(`c:pieChart`,new k.ChartTypeVisitor),this.registerVisitor(`c:scatterChart`,new k.ChartTypeVisitor),this.registerVisitor(`c:barChart`,new k.DataLabelsVisitor(`dataLabels`),`dLbls`),this.registerVisitor(`c:doughnutChart`,new k.DataLabelsVisitor(`dataLabels`),`dLbls`),this.registerVisitor(`c:lineChart`,new k.DataLabelsVisitor(`dataLabels`),`dLbls`),this.registerVisitor(`c:ofPieType`,new k.DataLabelsVisitor(`dataLabels`),`dLbls`),this.registerVisitor(`c:pieChart`,new k.DataLabelsVisitor(`dataLabels`),`dLbls`),this.registerVisitor(`c:scatterChart`,new k.DataLabelsVisitor(`dataLabels`),`dLbls`),this.registerVisitor(`c:ser`,new k.SeriesVisitor),this.registerVisitor(`c:dPt`,new k.DataPointVisitor),this.registerVisitor(`c:marker`,new k.MarkerVisitor),this.registerVisitor(`c:catAx`,new k.AxisVisitor),this.registerVisitor(`c:valAx`,new k.AxisVisitor),this.registerVisitor(`c:dateAx`,new k.AxisVisitor),this.registerVisitor(`c:majorGridlines`,new u(`gridLinesMajor`)),this.registerVisitor(`c:minorGridlines`,new u(`gridLinesMinor`)),this.registerVisitor(`c:chartSpace`,null,`txPr`),this.registerVisitor(`c:catAx`,new k.TextPropertiesVisitor(`labels.text`),`txPr`),this.registerVisitor(`c:valAx`,new k.TextPropertiesVisitor(`labels.text`),`txPr`),this.registerVisitor(`c:dateAx`,new k.TextPropertiesVisitor(`labels.text`),`txPr`),this.registerVisitor(`c:legend`,new k.LegendVisitor),this.registerVisitor(`c:legend`,new k.TextPropertiesVisitor(`labels.text`),`txPr`),this.registerVisitor(`c:legendEntry`,new k.LegendEntryVisitor),this.registerVisitor(`c:ser`,new k.NegativeShapeVisitor,`extLst/ext/invertSolidFillFmt/spPr`),this.registerVisitor(`c:ser`,new k.DataLabelsVisitor(`labels`),`dLbls`),this.registerVisitor(`c:dLbl`,new k.DataLabelsVisitor(`points`)),this.registerVisitor(`c:title`,new k.TitleVisitor),this.registerVisitor(`c:title`,null,`tx/rich`),this.registerVisitor(`c:title`,null,`txPr`),this.registerVisitor(`c:layout`,new k.LayoutVisitor),this.registerVisitor(`c:dispUnits`,new u(`dispUnits`)),this.registerVisitor(`c:dispUnitsLbl`,new k.TitleVisitor(`displayUnitsLabel`)),this.registerVisitor(`c:dispUnitsLbl`,new k.TextPropertiesVisitor,`tx/rich`),this.registerVisitor(`a:theme`,new k.ThemeVisitor),this.registerVisitor(`a:theme`,new k.ClrSchemeVisitor,`themeElements/clrScheme`),this.registerVisitor(`a:theme`,new k.FontSchemeVisitor,`themeElements/fontScheme`),this.registerVisitor(`a:theme`,new k.FmtSchemeVisitor,`themeElements/fmtScheme`),this.registerVisitor(`autoFilter`,new k.AutoFilterVisitor),this.registerVisitor(`sortState`,new k.SortStateVisitor),this.registerVisitor(`s:workbook`,new k.WorkbookVisitor),this.registerVisitor(`styleSheet`,new k.SheetStyleVisitor),this.registerVisitor(`x14:table`,new k.TableX14Visitor),this.registerVisitor(`table`,new k.TableVisitor),this.registerVisitor(`externalLink`,new k.ExternalLinkVisitor),this.registerVisitor(`wsDr`,new k.DrawingVisitor),this.registerVisitor(`twoCellAnchor`,new k.DrawingAnchorVisitor),this.registerVisitor(`oneCellAnchor`,new k.DrawingAnchorVisitor),this.registerVisitor(`absoluteAnchor`,new k.DrawingAnchorVisitor),this.registerVisitor(`graphicFrame`,new k.DrawingGraphicFrameVisitor),this.registerVisitor(`sp`,new k.DrawingSpVisitor),this.registerVisitor(`grpSp`,new k.DrawingGrpSpVisitor),this.registerVisitor(`cxnSp`,new k.DrawingCxnSpVisitor),this.registerVisitor(`pic`,new k.DrawingPicVisitor),this.registerVisitor(`metadata`,new k.MetadataVisitor),this.registerVisitor(`rvStructures`,new k.RichValueStructureVisitor),this.registerVisitor(`rvData`,new k.RichValueDataVisitor),this.registerVisitor(`comments`,new k.CommentsVisitor),this.registerVisitor(`comment`,new k.CommentVisitor),this.registerVisitor(`ThreadedComments`,new k.ThreadedCommentsVisitor),this.registerVisitor(`threadedComment`,new k.ThreadedCommentVisitor),this.registerVisitor(`threadedComment`,new k.TextPropertiesVisitor(`content`),`text`),this.registerVisitor(`personList`,new k.PersonListVisitor),this.registerVisitor(`slicerCacheDefinition`,new k.SlicerCacheDefinitionVisitor),this.registerVisitor(`slicers`,new k.SlicersVisitor),this.registerVisitor(`formControlPr`,new k.FormControlPrVisitor)}registerVisitor(e,t,n=null){e.indexOf(`:`)===-1&&(e=`*:`+e);let r=e.split(`:`),i=r.length>1?r[1]:r[0];if(!n)return this.visitorsByXmlTagName.set(i,t),void this.visitorsByXmlTagName.set(e,t);let a=this.scopedVisitorsByXmlTagName.get(i);a||(a=[],this.scopedVisitorsByXmlTagName.set(i,a),this.scopedVisitorsByXmlTagName.set(e,a)),a.push(new A(n,t))}parseDxf(e,t=``,r=n.CommonUtils.EmptyObject){this.visitorParamsState||=new Map;let i=this.visitorParamsState,a=i.get(`processingDXFs`);i.set(`processingDXFs`,!0);try{let n=new l(null,this,`/dxf`,e,{},t,r),i={};return new k.SheetStyleVisitor().processDXF(n,e,i),i}finally{a===void 0?i.delete(`processingDXFs`):i.set(`processingDXFs`,a)}}getVisitorParamsState(){return this.visitorParamsState}transform(e,t,r=n.CommonUtils.EmptyObject){let i=e.documentElement;this.visitorParamsState&&!r?.paramMap||(this.visitorParamsState=r?.paramMap??new Map);let a={},o=this.visitorsByXmlTagName.get(i.nodeName);if(o||=this.visitorsByXmlTagName.get(i.localName),!o)throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);let s=`/`+i.localName,c=new l(null,this,s,i,a,t,r),u=[];this._doWalk(o,c,u,i,a,t,r);let d=u.length;for(let e=0;e<d;e++){let t=u[e];try{t.visitor?.afterVisit?.(t.context,t.elemParent,t.jsonParent)}catch(e){t.context.warn(`Unable to finish reading '${t.context.getPath()}': ${e?.message??e}`,{onceKey:`xlsx.transform.afterVisit`})}}return a}_walkScoped(e,t,n,r,i,a,o){let s=this.scopedVisitorsByXmlTagName.get(e),c=s?s.length:0;for(let u=0;u<c;u++){let c=s[u],d=null;try{d=t.evaluate(c.path,r)}catch{t.warn(`Invalid path '${c.path}' for '${e}'.`,{onceKey:`xlsx.transform.invalidPath`})}if(!d)continue;let f=e=>{let s=e.localName,u=e.parentNode;for(;u&&u!==r;)s=u.localName+`/`+s,u=u.parentNode;let d=t.getPath()+`/`+s;if(c.visitor){let r=new l(t,this,d,t.getElemRoot(),t.getJsonRoot(),a,o);this._doWalk(c.visitor,r,n,e,i,a,o)}};if(d.length>0){let e=d,t=e.length;for(let n=0;n<t;n++)f(e.item(n))}else f(d)}}_doWalk(e,t,n,r,i,a,o){let s=null;e&&(n.push({visitor:e,context:t,elemParent:r,jsonParent:i}),s=e.visit(t,r,i)),s||=i;let c=r.localName;this._walkScoped(c,t,n,r,s,a,o);let u=this.visitorsByXmlTagName,d=t.getElemRoot(),f=t.getJsonRoot(),p=r.childNodes,m=p.length;for(let e=0;e<m;e++){let r=p.item(e);if(r.nodeType!==1)continue;let c=r,m=c.nodeName,h=u.get(m);h||=(m=c.localName,u.get(m));let g=t.getPath()+`/`+m,_=new l(t,this,g,d,f,a,o);this._doWalk(h,_,n,c,s??i,a,o)}return s}},exports.ExecutionContext=l,Object.defineProperty(exports,"NumberUtils",{enumerable:!0,get:function(){return e._t}}),Object.defineProperty(exports,"VisitorUtils",{enumerable:!0,get:function(){return e.D}});
@@ -1 +0,0 @@
1
- const e=require("./xQ6-wbTw5UzZUM1Y.cjs");let t=require("@sheetxl/utils");var n,r,i=class e{static{this.SIGNATURE=[208,207,17,224,161,177,26,225]}static{this.FATSECT=4294967293}static{this.DIFSECT=4294967292}static{this.ENDOFCHAIN=4294967294}static{this.FREESECT=4294967295}static{this.NOSTREAM=4294967295}static{this.SECTOR_SIZE=512}static{this.MINI_SECTOR_SIZE=64}static{this.MINI_CUTOFF=4096}static{this.DIR_ENTRY_SIZE=128}static{this.DIFAT_HEADER_COUNT=109}constructor(){this.sectors=[],this.fat=[]}static write(t){return new e()._build(t)}allocate(t){let n=e.SECTOR_SIZE,r=Math.max(1,Math.ceil(t.byteLength/n)),i=this.sectors.length;for(let a=0;a<r;a++){let o=new Uint8Array(n);o.set(t.subarray(a*n,Math.min((a+1)*n,t.byteLength))),this.sectors.push(o),this.fat.push(a===r-1?e.ENDOFCHAIN:i+a+1)}return i}_build(t){let{SECTOR_SIZE:n,MINI_SECTOR_SIZE:r,MINI_CUTOFF:i,ENDOFCHAIN:a,FREESECT:o,FATSECT:s,DIFSECT:c,NOSTREAM:l,DIR_ENTRY_SIZE:u,DIFAT_HEADER_COUNT:d}=e,f=[],p=0,m=t.map(e=>{if(e.data.byteLength>=i)return{entry:e,mini:!1,start:-1};let t=p,n=Math.max(1,Math.ceil(e.data.byteLength/r)),a=new Uint8Array(n*r);return a.set(e.data),f.push(a),p+=n,{entry:e,mini:!0,start:t}});for(let e of m)e.mini||(e.start=e.entry.data.byteLength===0?a:this.allocate(e.entry.data));let h=a,g=p*r;if(p>0){let e=new Uint8Array(g),t=0;for(let n of f)e.set(n,t),t+=n.byteLength;h=this.allocate(e)}let _=a,v=0;if(p>0){let e=n/4;v=Math.ceil(p/e);let t=new Uint8Array(v*n),i=new DataView(t.buffer);t.fill(255);let o=0;for(let e of m){if(!e.mini)continue;let t=Math.max(1,Math.ceil(e.entry.data.byteLength/r));for(let e=0;e<t;e++,o++)i.setUint32(4*o,e===t-1?a:o+1,!0)}_=this.allocate(t),v=Math.ceil(t.byteLength/n)}let y=[];y.push(this._directoryEntry({name:`Root Entry`,type:5,child:t.length>0?1:l,start:h===a?0:h,size:g}));let b=m.map((e,t)=>({place:e,index:t})).sort((e,t)=>{let n=e.place.entry.name,r=t.place.entry.name;return n.length===r.length?n.toUpperCase()<r.toUpperCase()?-1:+(n.toUpperCase()>r.toUpperCase()):n.length-r.length}),x=new Map;b.forEach((e,t)=>x.set(e.index,t+1)),m.forEach((e,t)=>{let n=x.get(t)-1,r=b[n+1];y.push(this._directoryEntry({name:e.entry.name,type:2,right:r?x.get(r.index):l,start:e.mini?e.start:e.start===a?0:e.start,size:e.entry.data.byteLength}))});let S=[y[0]];b.forEach(e=>S.push(y[e.index+1]));let C=n/u,w=Math.ceil(S.length/C),T=new Uint8Array(w*n);for(let e=0;e<w*C;e++){let t=S[e]??this._directoryEntry({name:``,type:0});T.set(t,e*u)}let E=this.allocate(T),D=n/4,O=D-1,k=this.sectors.length,A=1,j=0;for(let e=0;e<16;e++){let e=k+A+j,t=Math.max(1,Math.ceil(e/D)),n=t<=d?0:Math.ceil((t-d)/O);if(t===A&&n===j)break;A=t,j=n}let M=[],N=[];for(let e=0;e<A;e++)M.push(k+e);for(let e=0;e<j;e++)N.push(k+A+e);for(let e of M)this.fat[e]=s;for(let e of N)this.fat[e]=c;let P=new Uint8Array(A*n);P.fill(255);let F=new DataView(P.buffer);for(let e=0;e<this.fat.length;e++)F.setUint32(4*e,this.fat[e],!0);let I=new Uint8Array(n+(k+A+j)*n),L=new DataView(I.buffer);I.set(e.SIGNATURE,0),L.setUint16(24,62,!0),L.setUint16(26,3,!0),L.setUint16(28,65534,!0),L.setUint16(30,9,!0),L.setUint16(32,6,!0),L.setUint32(44,A,!0),L.setUint32(48,E,!0),L.setUint32(56,i,!0),L.setUint32(60,_,!0),L.setUint32(64,v,!0),L.setUint32(68,j>0?N[0]:a,!0),L.setUint32(72,j,!0);for(let e=0;e<d;e++)L.setUint32(76+4*e,e<A?M[e]:o,!0);for(let e=0;e<k;e++)I.set(this.sectors[e],n+e*n);I.set(P,n+M[0]*n);for(let e=0;e<j;e++){let t=n+N[e]*n;for(let n=0;n<O;n++){let r=d+e*O+n;L.setUint32(t+4*n,r<A?M[r]:o,!0)}L.setUint32(t+4*O,e===j-1?a:N[e+1],!0)}return I}_directoryEntry(t){let{NOSTREAM:n}=e,r=new Uint8Array(e.DIR_ENTRY_SIZE),i=new DataView(r.buffer),a=t.name;for(let e=0;e<a.length&&e<31;e++)i.setUint16(2*e,a.charCodeAt(e),!0);return i.setUint16(64,a.length>0?2*(Math.min(a.length,31)+1):0,!0),r[66]=t.type,r[67]=1,i.setUint32(68,t.left??n,!0),i.setUint32(72,t.right??n,!0),i.setUint32(76,t.child??n,!0),i.setUint32(116,t.start??0,!0),i.setUint32(120,t.size??0,!0),i.setUint32(124,0,!0),r}};(function(e){let t=e=>{let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n},n=(e,t,n)=>{let r=((e,t)=>{let n=RegExp(`\\b${t}\\s*=\\s*"([^"]*)"`).exec(e);return n?n[1]:null})(e,t);if(r===null)throw Error(`Malformed encryption descriptor: <${n}> is missing '${t}'.`);return r},r=(e,r)=>({saltValue:t(n(e,`saltValue`,r)),blockSize:parseInt(n(e,`blockSize`,r),10),keyBits:parseInt(n(e,`keyBits`,r),10),hashSize:parseInt(n(e,`hashSize`,r),10),cipherAlgorithm:n(e,`cipherAlgorithm`,r),cipherChaining:n(e,`cipherChaining`,r),hashAlgorithm:n(e,`hashAlgorithm`,r)}),i=(e,t)=>{let n=RegExp(`<(?:\\w+:)?${t}\\b[^>]*>`).exec(e);return n?n[0]:null},a=e=>{let t=``;for(let n=0;n<e.byteLength;n++)t+=String.fromCharCode(e[n]);return btoa(t)};e.build=e=>{let t=`saltSize="${e.saltSize}" blockSize="${e.blockSize}" keyBits="${e.keyBits}" hashSize="${e.hashSize}" cipherAlgorithm="${e.cipherAlgorithm}" cipherChaining="${e.cipherChaining}" hashAlgorithm="${e.hashAlgorithm}"`,n=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<encryption xmlns="http://schemas.microsoft.com/office/2006/encryption" xmlns:p="http://schemas.microsoft.com/office/2006/keyEncryptor/password" xmlns:c="http://schemas.microsoft.com/office/2006/keyEncryptor/certificate"><keyData ${t} saltValue="${a(e.keyDataSalt)}"/><dataIntegrity encryptedHmacKey="${a(e.encryptedHmacKey)}" encryptedHmacValue="${a(e.encryptedHmacValue)}"/><keyEncryptors><keyEncryptor uri="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><p:encryptedKey spinCount="${e.spinCount}" ${t} saltValue="${a(e.encryptorSalt)}" encryptedVerifierHashInput="${a(e.encryptedVerifierHashInput)}" encryptedVerifierHashValue="${a(e.encryptedVerifierHashValue)}" encryptedKeyValue="${a(e.encryptedKeyValue)}"/></keyEncryptor></keyEncryptors></encryption>`,r=new TextEncoder().encode(n),i=new Uint8Array(8+r.byteLength),o=new DataView(i.buffer);return o.setUint16(0,4,!0),o.setUint16(2,4,!0),o.setUint32(4,64,!0),i.set(r,8),i},e.parse=e=>{if(e.byteLength<8)throw Error(`Malformed EncryptionInfo stream (too short).`);let a=new DataView(e.buffer,e.byteOffset,e.byteLength),o=a.getUint16(0,!0),s=a.getUint16(2,!0);if(o===4&&s===4){let a=new TextDecoder().decode(e.subarray(8)),o=i(a,`keyData`);if(!o)throw Error(`Malformed encryption descriptor: no <keyData>.`);let s=i(a,`encryptedKey`);if(!s)throw Error(`This file is encrypted with a scheme SheetXL cannot open (no password key encryptor).`);let c=i(a,`dataIntegrity`);return{scheme:`agile`,keyData:r(o,`keyData`),passwordKeyEncryptor:{...r(s,`encryptedKey`),spinCount:parseInt(n(s,`spinCount`,`encryptedKey`),10),encryptedVerifierHashInput:t(n(s,`encryptedVerifierHashInput`,`encryptedKey`)),encryptedVerifierHashValue:t(n(s,`encryptedVerifierHashValue`,`encryptedKey`)),encryptedKeyValue:t(n(s,`encryptedKeyValue`,`encryptedKey`))},dataIntegrity:c?{encryptedHmacKey:t(n(c,`encryptedHmacKey`,`dataIntegrity`)),encryptedHmacValue:t(n(c,`encryptedHmacValue`,`dataIntegrity`))}:null}}return{scheme:o===2?`rc4-cryptoapi`:s===2?`standard`:`rc4`,versionMajor:o,versionMinor:s}}})(n||={}),function(e){let t={verifierHashInput:new Uint8Array([254,167,210,118,59,75,158,121]),verifierHashValue:new Uint8Array([215,170,15,109,48,97,52,78]),keyValue:new Uint8Array([20,110,11,231,171,172,208,214]),hmacKey:new Uint8Array([95,178,173,1,12,185,225,246]),hmacValue:new Uint8Array([160,103,127,2,178,44,132,51])},n=async()=>globalThis.crypto,r=e=>{switch(e.toUpperCase().replace(/[^A-Z0-9]/g,``)){case`SHA1`:return`SHA-1`;case`SHA256`:return`SHA-256`;case`SHA384`:return`SHA-384`;case`SHA512`:return`SHA-512`;default:throw Error(`Unsupported encryption hash algorithm '${e}'.`)}},i=e=>{let t=new Uint8Array(e.byteLength);return t.set(e),t},a=(...e)=>{let t=0;for(let n of e)t+=n.byteLength;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.byteLength;return n},o=(e,t)=>{if(e.byteLength>=t)return i(e.subarray(0,t));let n=new Uint8Array(t).fill(54);return n.set(e),n},s=e=>{let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),t},c=async(e,t,...n)=>new Uint8Array(await e.subtle.digest(t,a(...n))),l=()=>typeof MessageChannel==`function`?new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>{t.port1.close(),t.port2.close(),e()},t.port2.postMessage(null)}):new Promise(e=>{setTimeout(e,0)}),u=async(e,t,n,r,i)=>{let a=new Uint8Array(2*t.length),o=new DataView(a.buffer);for(let e=0;e<t.length;e++)o.setUint16(2*e,t.charCodeAt(e),!0);let u=await c(e,r,n,a);for(let t=0;t<i;t++)u=await c(e,r,s(t),u),t%2048==0&&await l();return u},d=async(e,t,n,r,i)=>o(await c(e,r,t,n),i),f=async(e,t,n,r,i)=>o(await c(e,r,t,s(n)),i),p=async(e,t,n,r,i)=>o(await c(e,r,t,n),i),m=async(e,t,n,r)=>{let a=await e.subtle.importKey(`raw`,i(n),{name:`HMAC`,hash:{name:t}},!1,[`sign`]);return new Uint8Array(await e.subtle.sign(`HMAC`,a,i(r)))},h=async(e,t,n,r)=>{let o=i(r);if(o.byteLength===0)return o;if(o.byteLength%16!=0)throw Error(`Malformed encrypted payload (not block aligned).`);let s=await e.subtle.importKey(`raw`,t,{name:`AES-CBC`},!1,[`encrypt`,`decrypt`]),c=i(o.subarray(o.byteLength-16)),l=new Uint8Array(16).fill(16),u=new Uint8Array(await e.subtle.encrypt({name:`AES-CBC`,iv:c},s,l)).subarray(0,16),d=await e.subtle.decrypt({name:`AES-CBC`,iv:n},s,a(o,u));return new Uint8Array(d)};e.resolveSecretKey=async(e,a)=>{let s=e.passwordKeyEncryptor;if(!/^AES$/i.test(s.cipherAlgorithm)||!/CBC$/i.test(s.cipherChaining))throw Error(`Unsupported encryption cipher '${s.cipherAlgorithm}/${s.cipherChaining}'.`);let l=await n(),f=r(s.hashAlgorithm),p=s.keyBits/8,m=await u(l,a,s.saltValue,f,s.spinCount),g=o(s.saltValue,s.blockSize),_=await d(l,m,t.verifierHashInput,f,p),v=await h(l,_,g,s.encryptedVerifierHashInput),y=await d(l,m,t.verifierHashValue,f,p),b=await h(l,y,g,s.encryptedVerifierHashValue),x=await c(l,f,v),S=+(x.byteLength>b.byteLength);for(let e=0;e<b.byteLength;e++)S|=(e<x.byteLength?x[e]:0)^b[e];if(S!==0)return null;let C=await d(l,m,t.keyValue,f,p),w=await h(l,C,g,s.encryptedKeyValue);return i(w.subarray(0,e.keyData.keyBits/8))};let g=async(e,t,n,r)=>{let a=i(r);if(a.byteLength===0)return a;if(a.byteLength%16!=0)throw Error(`Malformed plaintext (not block aligned).`);let o=await e.subtle.importKey(`raw`,t,{name:`AES-CBC`},!1,[`encrypt`]),s=new Uint8Array(await e.subtle.encrypt({name:`AES-CBC`,iv:n},o,a));return i(s.subarray(0,a.byteLength))},_=(e,t)=>e%t===0?e:e+(t-e%t),v=4096;e.decryptPackage=async(e,t,i)=>{if(i.byteLength<8)throw Error(`Malformed EncryptedPackage stream (too short).`);let a=await n(),{keyData:o}=e,s=r(o.hashAlgorithm),c=new DataView(i.buffer,i.byteOffset,i.byteLength),l=c.getUint32(0,!0)+4294967296*c.getUint32(4,!0),u=i.subarray(8),d=new Uint8Array(Math.min(l,u.byteLength)),p=0;for(let e=0;e*v<u.byteLength;e++){let n=e*v,r=u.subarray(n,Math.min(n+v,u.byteLength)),i=r.byteLength%o.blockSize;if(i){let e=new Uint8Array(r.byteLength+o.blockSize-i);e.set(r),r=e}let c=await f(a,o.saltValue,e,s,o.blockSize),l=await h(a,t,c,r),m=Math.min(l.byteLength,d.byteLength-p);if(m<=0)break;d.set(l.subarray(0,m),p),p+=m}return d.subarray(0,p)},e.verifyIntegrity=async(e,i,a)=>{let o=e.dataIntegrity;if(!o)return!0;let s=await n(),{keyData:c}=e,l=r(c.hashAlgorithm),u=(await h(s,i,await p(s,c.saltValue,t.hmacKey,l,c.blockSize),o.encryptedHmacKey)).subarray(0,c.hashSize),d=(await h(s,i,await p(s,c.saltValue,t.hmacValue,l,c.blockSize),o.encryptedHmacValue)).subarray(0,c.hashSize),f=await m(s,l,u,a);if(f.byteLength<c.hashSize)return!1;let g=0;for(let e=0;e<c.hashSize;e++)g|=d[e]^f[e];return g===0};let y=e.DEFAULTS={hashAlgorithm:`SHA512`,cipherAlgorithm:`AES`,cipherChaining:`ChainingModeCBC`,saltSize:16,blockSize:16,keyBits:256,hashSize:64,spinCount:1e5};e.encrypt=async(e,i)=>{let a=await n(),s=r(y.hashAlgorithm),l=y.keyBits/8,h=e=>{let t=new Uint8Array(e);return a.getRandomValues(t),t},b=h(l),x=h(y.saltSize),S=h(y.saltSize),C=h(y.saltSize),w=await u(a,i,S,s,y.spinCount),T=o(S,y.blockSize),E=await d(a,w,t.verifierHashInput,s,l),D=await g(a,E,T,C),O=await c(a,s,C),k=await d(a,w,t.verifierHashValue,s,l),A=new Uint8Array(_(O.byteLength,y.blockSize));A.set(O);let j=await g(a,k,T,A),M=await d(a,w,t.keyValue,s,l),N=await g(a,M,T,b),P=e.byteLength,F=Math.max(1,Math.ceil(P/v)),I=new Uint8Array(_(P,y.blockSize)||y.blockSize);for(let t=0;t<F;t++){let n=t*v,r=e.subarray(n,Math.min(n+v,P)),i=new Uint8Array(_(r.byteLength,y.blockSize));i.set(r);let o=await f(a,x,t,s,y.blockSize);I.set(await g(a,b,o,i),n)}let L=new Uint8Array(8+I.byteLength),R=new DataView(L.buffer);R.setUint32(0,P>>>0,!0),R.setUint32(4,Math.floor(P/4294967296),!0),L.set(I,8);let z=h(y.hashSize),B=new Uint8Array(_(z.byteLength,y.blockSize));B.set(z);let V=await g(a,b,await p(a,x,t.hmacKey,s,y.blockSize),B),H=await m(a,s,z,L),U=new Uint8Array(_(H.byteLength,y.blockSize));return U.set(H),{keyDataSalt:x,encryptorSalt:S,encryptedVerifierHashInput:D,encryptedVerifierHashValue:j,encryptedKeyValue:N,encryptedHmacKey:V,encryptedHmacValue:await g(a,b,await p(a,x,t.hmacValue,s,y.blockSize),U),encryptedPackage:L}}}(r||={});var a=[208,207,17,224,161,177,26,225],o=`EncryptionInfo`,s=`EncryptedPackage`,c=t=>{if(!(e=>{if(e.byteLength<a.length)return!1;let t=new Uint8Array(e,0,a.length);for(let e=0;e<a.length;e++)if(t[e]!==a[e])return!1;return!0})(t))return null;let n;try{n=e.t.read(new Uint8Array(t))}catch{return null}let r=n.readStream(o),i=n.readStream(s);return r&&i?{info:r,encryptedPackage:i}:null},l={key:`offcrypto`,description:`Office Document Encryption`,detect:e=>c(e)!==null,async decode(e,i){let a=c(e);if(!a)throw Error(`Not an encrypted Office container.`);let o=n.parse(a.info);if(o.scheme!==`agile`)throw Error(`This file uses ${(e=>{switch(e){case`standard`:return`Standard ECMA-376 encryption (Office 2007)`;case`rc4-cryptoapi`:return`RC4 CryptoAPI encryption (Office 2002-2003)`;case`rc4`:return`RC4/XOR obfuscation (Office 97-2000)`;default:return e}})(o.scheme)}, which SheetXL cannot open yet. Re-save it from Excel to upgrade it to the current encryption.`);let s=await r.resolveSecretKey(o,i);if(!s)throw new t.InvalidPasswordError;if(o.dataIntegrity&&!await r.verifyIntegrity(o,s,a.encryptedPackage))throw Error(`This file failed its integrity check — it has been altered or is damaged since it was encrypted.`);let l=await r.decryptPackage(o,s,a.encryptedPackage);return l.buffer.slice(l.byteOffset,l.byteOffset+l.byteLength)},async encode(e,t){if(!t)throw Error(`A password is required to encrypt.`);let a=await r.encrypt(new Uint8Array(e),t),c=n.build({...r.DEFAULTS,keyDataSalt:a.keyDataSalt,encryptorSalt:a.encryptorSalt,encryptedVerifierHashInput:a.encryptedVerifierHashInput,encryptedVerifierHashValue:a.encryptedVerifierHashValue,encryptedKeyValue:a.encryptedKeyValue,encryptedHmacKey:a.encryptedHmacKey,encryptedHmacValue:a.encryptedHmacValue}),l=i.write([{name:o,data:c},{name:s,data:a.encryptedPackage}]);return l.buffer.slice(l.byteOffset,l.byteOffset+l.byteLength)}};exports.OffCryptoEncryption=l;
@@ -1 +0,0 @@
1
- let e=require("@sheetxl/utils");var t=[208,207,17,224,161,177,26,225],n=async()=>(await Promise.resolve().then(()=>require("./B6sirGz6w-Bm7Ofo.cjs"))).OffCryptoEncryption,r={key:`offcrypto`,description:`Office Document Encryption`,detect:async e=>!!(e=>{if(e.byteLength<t.length)return!1;let n=new Uint8Array(e,0,t.length);for(let e=0;e<t.length;e++)if(n[e]!==t[e])return!1;return!0})(e)&&(await n()).detect(e),decode:async(e,t)=>(await n()).decode(e,t),encode:async(e,t)=>(await n()).encode(e,t)},i=(0,e.defineLazyModule)(`io-xlsx:reader`,()=>Promise.resolve().then(()=>require("./CeuX8p1aBuKTuagi.cjs")),{tier:`common`}),a=(0,e.defineLazyModule)(`io-xlsx:writer`,()=>Promise.resolve().then(()=>require("./wrpXlaSBGEicQf6_.cjs")),{tier:`common`}),o=`Excel`,s=`ExcelMacro`,c={key:o,description:`Excel Workbook`,mimeType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,exts:[`xlsx`,`xls`],handler:async(e,t)=>(await i.load()).readXLSX(e,t)},l={key:s,description:`Excel Macro-Enabled Workbook`,mimeType:`application/vnd.ms-excel.sheet.macroEnabled.12`,exts:[`xlsm`],handler:async(e,t)=>(await i.load()).readXLSX(e,t)},u={key:o,mimeType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,description:`Excel Workbook`,exts:[`xlsx`],handler:async(e,t)=>(await a.load()).writeXLSX(e,{...t,macroEnabled:!1})},d={key:s,mimeType:`application/vnd.ms-excel.sheet.macroEnabled.12`,description:`Excel Macro-Enabled Workbook`,exts:[`xlsm`],handler:async(e,t)=>(await a.load()).writeXLSX(e,{...t,macroEnabled:!0})},f={name:`@sheetxl/io-xlsx`,version:`0.8.0-beta.9`,description:`XLSX I/O formats for SheetXL`,author:`SheetXL`,async register(e){await e.registerReadFormat(c),await e.registerReadFormat(l),await e.registerWriteFormat(u),await e.registerWriteFormat(d),await e.registerEncryption(r)}};Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return f}});
@@ -1,6 +0,0 @@
1
- const e=require("./DSM4q1dhVVXvsgby.cjs");var t=e.$t(e=>{function t(e,t){return t===void 0&&(t=Object),t&&typeof t.getOwnPropertyDescriptors==`function`&&(e=t.create(null,t.getOwnPropertyDescriptors(e))),t&&typeof t.freeze==`function`?t.freeze(e):e}function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var r=t({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0}),i=t({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),a=t({script:!1,style:!1,textarea:!0,title:!0});function o(e){return e===s.HTML}var s=t({HTML:`text/html`,XML_APPLICATION:`application/xml`,XML_TEXT:`text/xml`,XML_XHTML_APPLICATION:`application/xhtml+xml`,XML_SVG_IMAGE:`image/svg+xml`}),c=Object.keys(s).map(function(e){return s[e]}),l=t({HTML:`http://www.w3.org/1999/xhtml`,SVG:`http://www.w3.org/2000/svg`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`});e.assign=function(e,t){if(typeof e!=`object`||!e)throw TypeError(`target is not an object`);for(var r in t)n(t,r)&&(e[r]=t[r]);return e},e.find=function(e,t,r){if(r===void 0&&(r=Array.prototype),e&&typeof r.find==`function`)return r.find.call(e,t);for(var i=0;i<e.length;i++)if(n(e,i)){var a=e[i];if(t.call(void 0,a,i,e))return a}},e.freeze=t,e.HTML_BOOLEAN_ATTRIBUTES=r,e.HTML_RAW_TEXT_ELEMENTS=a,e.HTML_VOID_ELEMENTS=i,e.hasDefaultHTMLNamespace=function(e){return o(e)||e===s.XML_XHTML_APPLICATION},e.hasOwn=n,e.isHTMLBooleanAttribute=function(e){return n(r,e.toLowerCase())},e.isHTMLRawTextElement=function(e){var t=e.toLowerCase();return n(a,t)&&!a[t]},e.isHTMLEscapableRawTextElement=function(e){var t=e.toLowerCase();return n(a,t)&&a[t]},e.isHTMLMimeType=o,e.isHTMLVoidElement=function(e){return n(i,e.toLowerCase())},e.isValidMimeType=function(e){return c.indexOf(e)>-1},e.MIME_TYPE=s,e.NAMESPACE=l}),n=e.$t(e=>{function n(e,t){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:!0,writable:t}})}var r=t().freeze({Error:`Error`,IndexSizeError:`IndexSizeError`,DomstringSizeError:`DomstringSizeError`,HierarchyRequestError:`HierarchyRequestError`,WrongDocumentError:`WrongDocumentError`,InvalidCharacterError:`InvalidCharacterError`,NoDataAllowedError:`NoDataAllowedError`,NoModificationAllowedError:`NoModificationAllowedError`,NotFoundError:`NotFoundError`,NotSupportedError:`NotSupportedError`,InUseAttributeError:`InUseAttributeError`,InvalidStateError:`InvalidStateError`,SyntaxError:`SyntaxError`,InvalidModificationError:`InvalidModificationError`,NamespaceError:`NamespaceError`,InvalidAccessError:`InvalidAccessError`,ValidationError:`ValidationError`,TypeMismatchError:`TypeMismatchError`,SecurityError:`SecurityError`,NetworkError:`NetworkError`,AbortError:`AbortError`,URLMismatchError:`URLMismatchError`,QuotaExceededError:`QuotaExceededError`,TimeoutError:`TimeoutError`,InvalidNodeTypeError:`InvalidNodeTypeError`,DataCloneError:`DataCloneError`,EncodingError:`EncodingError`,NotReadableError:`NotReadableError`,UnknownError:`UnknownError`,ConstraintError:`ConstraintError`,DataError:`DataError`,TransactionInactiveError:`TransactionInactiveError`,ReadOnlyError:`ReadOnlyError`,VersionError:`VersionError`,OperationError:`OperationError`,NotAllowedError:`NotAllowedError`,OptOutError:`OptOutError`}),i=Object.keys(r);function a(e){return typeof e==`number`&&e>=1&&e<=25}function o(e,t){var n;a(e)?(this.name=i[e],this.message=t||``):(this.message=e,this.name=typeof(n=t)==`string`&&n.substring(n.length-r.Error.length)===r.Error?t:r.Error),Error.captureStackTrace&&Error.captureStackTrace(this,o)}n(o,!0),Object.defineProperties(o.prototype,{code:{enumerable:!0,get:function(){var e=i.indexOf(this.name);return a(e)?e:0}}});for(var s={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},c=Object.entries(s),l=0;l<c.length;l++)o[c[l][0]]=c[l][1];function u(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,u)}n(u),e.DOMException=o,e.DOMExceptionName=r,e.ExceptionCode=s,e.ParseError=u}),r=e.$t(e=>{function t(e){try{typeof e!=`function`&&(e=RegExp);var t=new e(`𝌆`,`u`).exec(`𝌆`);return!!t&&t[0].length===2}catch{}return!1}var n=t();function r(e){if(e.source[0]!==`[`)throw Error(e+` can not be used with chars`);return e.source.slice(1,e.source.lastIndexOf(`]`))}function i(e,t){if(e.source[0]!==`[`)throw Error(`/`+e.source+`/ can not be used with chars_without`);if(!t||typeof t!=`string`)throw Error(JSON.stringify(t)+` is not a valid search`);if(e.source.indexOf(t)===-1)throw Error(`"`+t+`" is not is /`+e.source+`/`);if(t===`-`&&e.source.indexOf(t)!==1)throw Error(`"`+t+`" is not at the first postion of /`+e.source+`/`);return new RegExp(e.source.replace(t,``),n?`u`:``)}function a(e){var t=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(e){var n=typeof e==`string`;if(n&&t===void 0&&e===`|`)throw Error("use regg instead of reg to wrap expressions with `|`!");return n?e:e.source}).join(``),n?`mu`:`m`)}function o(e){if(arguments.length===0)throw Error(`no parameters provided`);return a.apply(o,[`(?:`].concat(Array.prototype.slice.call(arguments),[`)`]))}var s=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;n&&(s=a(`[`,r(s),`\\u{10000}-\\u{10FFFF}`,`]`));var c=RegExp(`[^`+r(s)+`]`,n?`u`:``),l=/[\x20\x09\x0D\x0A]/,u=r(l),d=a(l,`+`),f=a(l,`*`),p=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;n&&(p=a(`[`,r(p),`\\u{10000}-\\u{10FFFF}`,`]`));var m=a(`[`,r(p),r(/[-.0-9\xB7]/),r(/[\u0300-\u036F\u203F-\u2040]/),`]`),h=a(p,m,`*`),g=a(m,`+`),_=o(a(`&`,h,`;`),`|`,o(/&#[0-9]+;|&#x[0-9a-fA-F]+;/)),v=a(`%`,h,`;`),y=o(a(`"`,o(/[^%&"]/,`|`,v,`|`,_),`*`,`"`),`|`,a(`'`,o(/[^%&']/,`|`,v,`|`,_),`*`,`'`)),b=o(`"`,o(/[^<&"]/,`|`,_),`*`,`"`,`|`,`'`,o(/[^<&']/,`|`,_),`*`,`'`),x=a(i(p,`:`),i(m,`:`),`*`),S=a(x,o(`:`,x),`?`),C=a(`^`,S,`$`),w=a(`(`,S,`)`),T=o(/"[^"]*"|'[^']*'/),E=a(/^<\?/,`(`,h,`)`,o(d,`(`,s,`*?)`),`?`,/\?>/),D=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,O=o(`"`,D,`*"`,`|`,`'`,i(D,`'`),`*'`),k=`<!--`,A=a(k,o(i(s,`-`),`|`,a(`-`,i(s,`-`))),`*`,`-->`),j=`#PCDATA`,M=o(`EMPTY`,`|`,`ANY`,`|`,o(a(/\(/,f,j,o(f,/\|/,f,S),`*`,f,/\)\*/),`|`,a(/\(/,f,j,f,/\)/)),`|`,a(/\([^>]+\)/,/[?*+]?/)),ee=a(`<!ELEMENT`,d,o(S,`|`,v),d,o(M,`|`,v),f,`>`),N=a(`<!ATTLIST`,d,h,o(d,h,d,o(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,`|`,o(a(`NOTATION`,d,/\(/,f,h,o(f,/\|/,f,h),`*`,f,/\)/),`|`,a(/\(/,f,g,o(f,/\|/,f,g),`*`,f,/\)/))),d,o(/#REQUIRED|#IMPLIED/,`|`,o(o(`#FIXED`,d),`?`,b))),`*`,f,`>`),P=`about:legacy-compat`,F=o(`"`+P+`"`,`|`,`'`+P+`'`),I=`SYSTEM`,L=`PUBLIC`,R=o(o(I,d,T),`|`,o(L,d,O,d,T)),z=a(`^`,o(o(I,d,`(?<SystemLiteralOnly>`,T,`)`),`|`,o(L,d,`(?<PubidLiteral>`,O,`)`,d,`(?<SystemLiteral>`,T,`)`))),B=a(`^`,O,`$`),V=a(`^`,T,`$`),H=o(y,`|`,o(R,o(d,`NDATA`,d,h),`?`)),U=`<!ENTITY`,W=o(a(U,d,h,d,H,f,`>`),`|`,a(U,d,`%`,d,h,d,o(y,`|`,R),f,`>`)),te=a(`<!NOTATION`,d,h,d,o(R,`|`,a(L,d,O)),f,`>`),G=a(f,`=`,f),K=/1[.]\d+/,ne=a(d,`version`,G,o(`'`,K,`'`,`|`,`"`,K,`"`)),q=/[A-Za-z][-A-Za-z0-9._]*/,re=a(/^<\?xml/,ne,o(d,`encoding`,G,o(`"`,q,`"`,`|`,`'`,q,`'`)),`?`,o(d,`standalone`,G,o(`'`,o(`yes`,`|`,`no`),`'`,`|`,`"`,o(`yes`,`|`,`no`),`"`)),`?`,f,/\?>/),ie=a(/<!\[CDATA\[/,a(s,`*?`,/\]\]>/));e.chars=r,e.chars_without=i,e.detectUnicodeSupport=t,e.reg=a,e.regg=o,e.ABOUT_LEGACY_COMPAT=P,e.ABOUT_LEGACY_COMPAT_SystemLiteral=F,e.AttlistDecl=N,e.CDATA_START=`<![CDATA[`,e.CDATA_END=`]]>`,e.CDSect=ie,e.Char=s,e.Comment=A,e.COMMENT_START=k,e.COMMENT_END=`-->`,e.DOCTYPE_DECL_START=`<!DOCTYPE`,e.elementdecl=ee,e.EntityDecl=W,e.EntityValue=y,e.ExternalID=R,e.ExternalID_match=z,e.Name=h,e.NotationDecl=te,e.Reference=_,e.PEReference=v,e.PI=E,e.PUBLIC=L,e.PubidLiteral=O,e.PubidLiteral_match=B,e.QName=S,e.QName_exact=C,e.QName_group=w,e.S=d,e.SChar_s=u,e.S_OPT=f,e.SYSTEM=I,e.SystemLiteral=T,e.SystemLiteral_match=V,e.InvalidChar=c,e.UNICODE_REPLACEMENT_CHARACTER=`�`,e.UNICODE_SUPPORT=n,e.XMLDecl=re}),i=e.$t(e=>{var i=t(),a=i.find,o=i.hasDefaultHTMLNamespace,s=i.hasOwn,c=i.isHTMLMimeType,l=i.isHTMLRawTextElement,u=i.isHTMLVoidElement,d=i.MIME_TYPE,f=i.NAMESPACE,p=Symbol(),m=n(),h=m.DOMException,g=m.DOMExceptionName,_=r();function v(e){if(e!==p)throw TypeError(`Illegal constructor`)}function y(e){return e!==``}function b(e,t){return s(e,t)||(e[t]=!0),e}function x(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(y):[]}(e);return Object.keys(t.reduce(b,{}))}function S(e){if(!_.QName_exact.test(e))throw new h(h.INVALID_CHARACTER_ERR,`invalid character in qualified name "`+e+`"`)}function C(e,t){S(t),e||=null;var n=null,r=t;if(t.indexOf(`:`)>=0){var a=t.split(`:`);n=a[0],r=a[1]}if(n!==null&&e===null)throw new h(h.NAMESPACE_ERR,`prefix is non-null and namespace is null`);if(n===`xml`&&e!==i.NAMESPACE.XML)throw new h(h.NAMESPACE_ERR,`prefix is "xml" and namespace is not the XML namespace`);if((n===`xmlns`||t===`xmlns`)&&e!==i.NAMESPACE.XMLNS)throw new h(h.NAMESPACE_ERR,`either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace`);if(e===i.NAMESPACE.XMLNS&&n!==`xmlns`&&t!==`xmlns`)throw new h(h.NAMESPACE_ERR,`namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"`);return[e,n,r]}function w(e,t){for(var n in e)s(e,n)&&(t[n]=e[n])}function T(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,w(n,r=new r),e.prototype=n=r}n.constructor!=e&&(typeof e!=`function`&&console.error(`unknown Class:`+e),n.constructor=e)}var E={},D=E.ELEMENT_NODE=1,O=E.ATTRIBUTE_NODE=2,k=E.TEXT_NODE=3,A=E.CDATA_SECTION_NODE=4,j=E.ENTITY_REFERENCE_NODE=5,M=E.ENTITY_NODE=6,ee=E.PROCESSING_INSTRUCTION_NODE=7,N=E.COMMENT_NODE=8,P=E.DOCUMENT_NODE=9,F=E.DOCUMENT_TYPE_NODE=10,I=E.DOCUMENT_FRAGMENT_NODE=11,L=E.NOTATION_NODE=12,R=i.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function z(e,t){if(t.length<e.length)return z(t,e);var n=null;for(var r in e){if(e[r]!==t[r])return n;n=e[r]}return n}function B(e){return e.guid||=Math.random(),e.guid}function V(){}function H(e,t){this._node=e,this._refresh=t,U(this)}function U(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(je(e,`length`,n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)s(e,r)&&delete e[r];w(n,e),e._inc=t}}function W(){}function te(e,t){for(var n=0;n<e.length;){if(e[n]===t)return n;n++}}function G(e,t,n,r){if(r?t[te(t,r)]=n:(t[t.length]=n,t.length++),e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&ae(i,e,r),function(e,t,n){e&&e._inc++,n.namespaceURI===f.XMLNS&&(t._nsMap[n.prefix?n.localName:``]=n.value)}(i,e,n))}}function K(e,t,n){var r=te(t,n);if(r>=0){for(var i=t.length-1;r<=i;)t[r]=t[++r];if(t.length=i,e){var a=e.ownerDocument;a&&ae(a,e,n),n.ownerElement=null}}}function ne(){}function q(e){v(e)}function re(e){return(e==`<`?`&lt;`:e==`>`&&`&gt;`)||e==`&`&&`&amp;`||e==`"`&&`&quot;`||`&#`+e.charCodeAt()+`;`}function ie(e,t){J(e,null,{enter:function(e){return!t(e)||J.STOP}})}function J(e,t,n){for(var r=[{node:e,context:t,phase:J.ENTER}];r.length>0;){var i=r.pop();if(i.phase===J.ENTER){var a=n.enter(i.node,i.context);if(a===J.STOP)return J.STOP;if(r.push({node:i.node,context:a,phase:J.EXIT}),a==null)continue;for(var o=i.node.lastChild;o;)r.push({node:o,context:a,phase:J.ENTER}),o=o.previousSibling}else n.exit&&n.exit(i.node,i.context)}}function Y(e,t){v(e);var n=t||{};this.ownerDocument=this,this.contentType=n.contentType||d.XML_APPLICATION,this.type=c(this.contentType)?`html`:`xml`}function ae(e,t,n,r){e&&e._inc++,n.namespaceURI===f.XMLNS&&delete t._nsMap[n.prefix?n.localName:``]}function oe(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n&&!n.nextSibling)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function se(e,t){if(e!==t.parentNode)throw new h(h.NOT_FOUND_ERR,`child's parent is not parent`);var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,oe(e.ownerDocument,e),t.parentNode=null,t.previousSibling=null,t.nextSibling=null,t}function X(e){return e&&e.nodeType===q.DOCUMENT_TYPE_NODE}function Z(e){return e&&e.nodeType===q.ELEMENT_NODE}function ce(e){return e&&e.nodeType===q.TEXT_NODE}function le(e,t){var n=e.childNodes||[];if(a(n,Z)||X(t))return!1;var r=a(n,X);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function ue(e,t){var n=e.childNodes||[];if(a(n,function(e){return Z(e)&&e!==t}))return!1;var r=a(n,X);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function de(e,t,n){if(!function(e){return e&&(e.nodeType===q.DOCUMENT_NODE||e.nodeType===q.DOCUMENT_FRAGMENT_NODE||e.nodeType===q.ELEMENT_NODE)}(e))throw new h(h.HIERARCHY_REQUEST_ERR,`Unexpected parent node type `+e.nodeType);if(n&&n.parentNode!==e)throw new h(h.NOT_FOUND_ERR,`child not in parent`);if(!function(e){return e&&(e.nodeType===q.CDATA_SECTION_NODE||e.nodeType===q.COMMENT_NODE||e.nodeType===q.DOCUMENT_FRAGMENT_NODE||e.nodeType===q.DOCUMENT_TYPE_NODE||e.nodeType===q.ELEMENT_NODE||e.nodeType===q.PROCESSING_INSTRUCTION_NODE||e.nodeType===q.TEXT_NODE)}(t)||X(t)&&e.nodeType!==q.DOCUMENT_NODE)throw new h(h.HIERARCHY_REQUEST_ERR,`Unexpected node type `+t.nodeType+` for parent node type `+e.nodeType)}function fe(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===q.DOCUMENT_FRAGMENT_NODE){var o=i.filter(Z);if(o.length>1||a(i,ce))throw new h(h.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(o.length===1&&!le(e,n))throw new h(h.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(Z(t)&&!le(e,n))throw new h(h.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(X(t)){if(a(r,X))throw new h(h.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var s=a(r,Z);if(n&&r.indexOf(s)<r.indexOf(n))throw new h(h.HIERARCHY_REQUEST_ERR,`Doctype can only be inserted before an element`);if(!n&&s)throw new h(h.HIERARCHY_REQUEST_ERR,`Doctype can not be appended since element is present`)}}function pe(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===q.DOCUMENT_FRAGMENT_NODE){var o=i.filter(Z);if(o.length>1||a(i,ce))throw new h(h.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(o.length===1&&!ue(e,n))throw new h(h.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(Z(t)&&!ue(e,n))throw new h(h.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(X(t)){if(a(r,function(e){return X(e)&&e!==n}))throw new h(h.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var s=a(r,Z);if(n&&r.indexOf(s)<r.indexOf(n))throw new h(h.HIERARCHY_REQUEST_ERR,`Doctype can only be inserted before an element`)}}function me(e,t,n,r){de(e,t,n),e.nodeType===q.DOCUMENT_NODE&&(r||fe)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===I){var a=t.firstChild;if(a==null)return t;var o=t.lastChild}else a=o=t;var s=n?n.previousSibling:e.lastChild;a.previousSibling=s,o.nextSibling=n,s?s.nextSibling=a:e.firstChild=a,n==null?e.lastChild=o:n.previousSibling=o;do a.parentNode=e;while(a!==o&&(a=a.nextSibling));return oe(e.ownerDocument||e,e,t),t.nodeType==I&&(t.firstChild=t.lastChild=null),t}function Q(e){v(e),this._nsMap=Object.create(null)}function $(e){v(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}function he(e){v(e)}function ge(e){v(e)}function _e(e){v(e)}function ve(e){v(e)}function ye(e){v(e)}function be(e){v(e)}function xe(e){v(e)}function Se(e){v(e)}function Ce(e){v(e)}function we(e){v(e)}function Te(){}function Ee(e){var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e==null?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null}:{requireWellFormed:!!e.requireWellFormed,splitCDATASections:!1!==e.splitCDATASections,nodeFilter:e.nodeFilter||null},n=[],r=this.nodeType===P&&this.documentElement||this,i=r.prefix,a=r.namespaceURI;if(a&&i==null&&(i=r.lookupPrefix(a))==null)var o=[{namespace:a,prefix:null}];return ke(this,n,o,t),n.join(``)}function De(e,t,n){var r=e.prefix||``,i=e.namespaceURI;if(!i||r===`xml`&&i===f.XML||i===f.XMLNS)return!1;for(var a=n.length;a--;){var o=n[a];if(o.prefix===r)return o.namespace!==i}return!0}function Oe(e,t,n){e.push(` `,t,`="`,n.replace(/[<>&"\t\n\r]/g,re),`"`)}function ke(e,t,n,r){n||=[];var i=r.nodeFilter,a=r.requireWellFormed,o=r.splitCDATASections,s=(e.nodeType===P?e:e.ownerDocument).type===`html`;J(e,{ns:n},{enter:function(e,n){var c=n.ns;if(i){if(!(e=i(e)))return null;if(typeof e==`string`)return t.push(e),null}switch(e.nodeType){case D:var d=e.attributes,p=d.length,m=e.tagName,v=m;if(!s&&!e.prefix&&e.namespaceURI){for(var y,b=0;b<d.length;b++)if(d.item(b).name===`xmlns`){y=d.item(b).value;break}if(!y){for(var x=c.length-1;x>=0;x--)if((S=c[x]).prefix===``&&S.namespace===e.namespaceURI){y=S.namespace;break}}if(y!==e.namespaceURI)for(x=c.length-1;x>=0;x--){var S;if((S=c[x]).namespace===e.namespaceURI){S.prefix&&(v=S.prefix+`:`+m);break}}}t.push(`<`,v);for(var C=c.slice(),w=0;w<p;w++)(T=d.item(w)).prefix==`xmlns`?C.push({prefix:T.localName,namespace:T.value}):T.nodeName==`xmlns`&&C.push({prefix:``,namespace:T.value});for(w=0;w<p;w++){var T;if(De(T=d.item(w),0,C)){var E=T.prefix||``,M=T.namespaceURI;Oe(t,E?`xmlns:`+E:`xmlns`,M),C.push({prefix:E,namespace:M})}var L=i?i(T):T;L&&(typeof L==`string`?t.push(L):Oe(t,L.name,L.value))}if(m===v&&De(e,0,C)){var R=e.prefix||``;M=e.namespaceURI,Oe(t,R?`xmlns:`+R:`xmlns`,M),C.push({prefix:R,namespace:M})}var z=!e.firstChild;if(z&&(s||e.namespaceURI===f.HTML)&&(z=u(m)),z)return t.push(`/>`),null;if(t.push(`>`),s&&l(m)){for(var B=e.firstChild;B;)B.data?t.push(B.data):ke(B,t,C.slice(),r),B=B.nextSibling;return t.push(`</`,v,`>`),null}return{ns:C,tag:v};case P:case I:if(a&&e.nodeType===P&&e.documentElement==null)throw new h(`The Document has no documentElement`,g.InvalidStateError);return{ns:c};case O:return Oe(t,e.name,e.value),null;case k:if(a&&_.InvalidChar.test(e.data))throw new h(`The Text node data contains characters outside the XML Char production`,g.InvalidStateError);return t.push(e.data.replace(/[<&>]/g,re)),null;case A:if(a&&e.data.indexOf(`]]>`)!==-1)throw new h(`The CDATASection data contains "]]>"`,g.InvalidStateError);return o?t.push(_.CDATA_START,e.data.replace(/]]>/g,`]]]]><![CDATA[>`),_.CDATA_END):t.push(_.CDATA_START,e.data,_.CDATA_END),null;case N:if(a){if(_.InvalidChar.test(e.data))throw new h(`The comment node data contains characters outside the XML Char production`,g.InvalidStateError);if(e.data.indexOf(`--`)!==-1||e.data[e.data.length-1]===`-`)throw new h(`The comment node data contains "--" or ends with "-"`,g.InvalidStateError)}return t.push(_.COMMENT_START,e.data,_.COMMENT_END),null;case F:var V=e.publicId,H=e.systemId;if(a){if(V&&!_.PubidLiteral_match.test(V))throw new h(`DocumentType publicId is not a valid PubidLiteral`,g.InvalidStateError);if(H&&H!==`.`&&!_.SystemLiteral_match.test(H))throw new h(`DocumentType systemId is not a valid SystemLiteral`,g.InvalidStateError);if(e.internalSubset&&e.internalSubset.indexOf(`]>`)!==-1)throw new h(`DocumentType internalSubset contains "]>"`,g.InvalidStateError)}return t.push(_.DOCTYPE_DECL_START,` `,e.name),V?(t.push(` `,_.PUBLIC,` `,V),H&&H!==`.`&&t.push(` `,H)):H&&H!==`.`&&t.push(` `,_.SYSTEM,` `,H),e.internalSubset&&t.push(` [`,e.internalSubset,`]`),t.push(`>`),null;case ee:if(a){if(e.target.indexOf(`:`)!==-1||e.target.toLowerCase()===`xml`)throw new h(`The ProcessingInstruction target is not well-formed`,g.InvalidStateError);if(_.InvalidChar.test(e.data))throw new h(`The ProcessingInstruction data contains characters outside the XML Char production`,g.InvalidStateError);if(e.data.indexOf(`?>`)!==-1)throw new h(`The ProcessingInstruction data contains "?>"`,g.InvalidStateError)}return t.push(`<?`,e.target,` `,e.data,`?>`),null;case j:return t.push(`&`,e.nodeName,`;`),null;default:return t.push(`??`,e.nodeName),null}},exit:function(e,n){n&&n.tag&&t.push(`</`,n.tag,`>`)}})}function Ae(e,t,n){var r;return J(t,null,{enter:function(t,i){var a=new t.constructor(p);for(var o in t)if(s(t,o)){var c=t[o];typeof c!=`object`&&c!=a[o]&&(a[o]=c)}t.childNodes&&(a.childNodes=new V),a.ownerDocument=e;var l=n;switch(a.nodeType){case D:var u=t.attributes,d=a.attributes=new W,f=u.length;d._ownerElement=a;for(var m=0;m<f;m++)a.setAttributeNode(Ae(e,u.item(m),!0));break;case O:l=!0}return i===null?r=a:i.appendChild(a),l?a:null}}),r}function je(e,t,n){e[t]=n}function Me(e){for(var t=[],n=e.firstChild;n;)n.nodeType===D&&t.push(n),n=n.nextSibling;return t}V.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e?{requireWellFormed:!!e.requireWellFormed,splitCDATASections:!1!==e.splitCDATASections,nodeFilter:e.nodeFilter||null}:{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null},n=[],r=0;r<this.length;r++)ke(this[r],n,null,t);return n.join(``)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},V.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},H.prototype.item=function(e){return U(this),this[e]||null},T(H,V),W.prototype={length:0,item:V.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var t=0;t<this.length;){var n=this[t];if(n.nodeName===e)return n;t++}return null},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!==this._ownerElement)throw new h(h.INUSE_ATTRIBUTE_ERR);var n=this.getNamedItemNS(e.namespaceURI,e.localName);return n===e?e:(G(this._ownerElement,this,e,n),n)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var t=this.getNamedItem(e);if(!t)throw new h(h.NOT_FOUND_ERR,e);return K(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);if(!n)throw new h(h.NOT_FOUND_ERR,e?e+` : `+t:t);return K(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){e||=null;for(var n=0;n<this.length;){var r=this[n];if(r.localName===t&&r.namespaceURI===e)return r;n++}return null}},W.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},ne.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=d.XML_APPLICATION;e===f.HTML?r=d.XML_XHTML_APPLICATION:e===f.SVG&&(r=d.XML_SVG_IMAGE);var i=new Y(p,{contentType:r});if(i.implementation=this,i.childNodes=new V,i.doctype=n||null,n&&i.appendChild(n),t){var a=i.createElementNS(e,t);i.appendChild(a)}return i},createDocumentType:function(e,t,n,r){S(e);var i=new ye(p);return i.name=e,i.nodeName=e,i.publicId=t||``,i.systemId=n||``,i.internalSubset=r||``,i.childNodes=new V,i},createHTMLDocument:function(e){var t=new Y(p,{contentType:d.HTML});if(t.implementation=this,t.childNodes=new V,!1!==e){t.doctype=this.createDocumentType(`html`),t.doctype.ownerDocument=t,t.appendChild(t.doctype);var n=t.createElement(`html`);t.appendChild(n);var r=t.createElement(`head`);if(n.appendChild(r),typeof e==`string`){var i=t.createElement(`title`);i.appendChild(t.createTextNode(e)),r.appendChild(i)}n.appendChild(t.createElement(`body`))}return t}},q.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:`about:blank`,get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return!1;var t=e;do{if(this===t)return!0;t=t.parentNode}while(t);return!1},getRootNode:function(e){var t=this;do{if(!t.parentNode)return t;t=t.parentNode}while(t)},isEqualNode:function(e){if(!e)return!1;for(var t=[{node:this,other:e}];t.length>0;){var n=t.pop(),r=n.node,i=n.other;if(r.nodeType!==i.nodeType)return!1;switch(r.nodeType){case r.DOCUMENT_TYPE_NODE:if(r.name!==i.name||r.publicId!==i.publicId||r.systemId!==i.systemId)return!1;break;case r.ELEMENT_NODE:if(r.namespaceURI!==i.namespaceURI||r.prefix!==i.prefix||r.localName!==i.localName||r.attributes.length!==i.attributes.length)return!1;for(var a=0;a<r.attributes.length;a++){var o=r.attributes.item(a),s=i.getAttributeNodeNS(o.namespaceURI,o.localName);if(!s)return!1;t.push({node:o,other:s})}break;case r.ATTRIBUTE_NODE:if(r.namespaceURI!==i.namespaceURI||r.localName!==i.localName||r.value!==i.value)return!1;break;case r.PROCESSING_INSTRUCTION_NODE:if(r.target!==i.target||r.data!==i.data)return!1;break;case r.TEXT_NODE:case r.CDATA_SECTION_NODE:case r.COMMENT_NODE:if(r.data!==i.data)return!1}if(r.childNodes.length!==i.childNodes.length)return!1;for(a=r.childNodes.length-1;a>=0;a--)t.push({node:r.childNodes[a],other:i.childNodes[a]})}return!0},isSameNode:function(e){return this===e},insertBefore:function(e,t){return me(this,e,t)},replaceChild:function(e,t){me(this,e,t,pe),t&&this.removeChild(t)},removeChild:function(e){return se(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Ae(this.ownerDocument||this,this,e)},normalize:function(){J(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;n!==null&&n.nodeType===k&&t.nodeType===k?(e.removeChild(n),t.appendData(n.data)):t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(s(n,r)&&n[r]===e)return r}t=t.nodeType==O?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&s(n,e))return n[e];t=t.nodeType==O?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null},compareDocumentPosition:function(e){if(this===e)return 0;var t=e,n=this,r=null,i=null;if(t instanceof $&&(t=(r=t).ownerElement),n instanceof $&&(n=(i=n).ownerElement,r&&t&&n===t))for(var a,o=0;a=n.attributes[o];o++){if(a===r)return R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+R.DOCUMENT_POSITION_PRECEDING;if(a===i)return R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+R.DOCUMENT_POSITION_FOLLOWING}if(!t||!n||n.ownerDocument!==t.ownerDocument)return R.DOCUMENT_POSITION_DISCONNECTED+R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(B(n.ownerDocument)>B(t.ownerDocument)?R.DOCUMENT_POSITION_FOLLOWING:R.DOCUMENT_POSITION_PRECEDING);if(i&&t===n)return R.DOCUMENT_POSITION_CONTAINS+R.DOCUMENT_POSITION_PRECEDING;if(r&&t===n)return R.DOCUMENT_POSITION_CONTAINED_BY+R.DOCUMENT_POSITION_FOLLOWING;for(var s=[],c=t.parentNode;c;){if(!i&&c===n)return R.DOCUMENT_POSITION_CONTAINED_BY+R.DOCUMENT_POSITION_FOLLOWING;s.push(c),c=c.parentNode}s.reverse();for(var l=[],u=n.parentNode;u;){if(!r&&u===t)return R.DOCUMENT_POSITION_CONTAINS+R.DOCUMENT_POSITION_PRECEDING;l.push(u),u=u.parentNode}l.reverse();var d=z(s,l);for(var f in d.childNodes){var p=d.childNodes[f];if(p===n)return R.DOCUMENT_POSITION_FOLLOWING;if(p===t)return R.DOCUMENT_POSITION_PRECEDING;if(l.indexOf(p)>=0)return R.DOCUMENT_POSITION_FOLLOWING;if(s.indexOf(p)>=0)return R.DOCUMENT_POSITION_PRECEDING}return 0}},w(E,q),w(E,q.prototype),w(R,q),w(R,q.prototype),J.STOP=Symbol(`walkDOM.STOP`),J.ENTER=0,J.EXIT=1,Y.prototype={implementation:null,nodeName:`#document`,nodeType:P,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType===I){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return me(this,e,t),e.ownerDocument=this,this.documentElement===null&&e.nodeType===D&&(this.documentElement=e),e},removeChild:function(e){var t=se(this,e);return t===this.documentElement&&(this.documentElement=null),t},replaceChild:function(e,t){me(this,e,t,pe),e.ownerDocument=this,t&&this.removeChild(t),Z(e)&&(this.documentElement=e)},importNode:function(e,t){return function(e,t,n){var r;return J(t,null,{enter:function(t,i){var a=t.cloneNode(!1);return a.ownerDocument=e,a.parentNode=null,i===null?r=a:i.appendChild(a),t.nodeType===O||n?a:null}}),r}(this,e,t)},getElementById:function(e){var t=null;return ie(this.documentElement,function(n){if(n.nodeType==D&&n.getAttribute(`id`)==e)return t=n,!0}),t},createElement:function(e){var t=new Q(p);return t.ownerDocument=this,this.type===`html`&&(e=e.toLowerCase()),o(this.contentType)&&(t.namespaceURI=f.HTML),t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new V,(t.attributes=new W)._ownerElement=t,t},createDocumentFragment:function(){var e=new Ce(p);return e.ownerDocument=this,e.childNodes=new V,e},createTextNode:function(e){var t=new ge(p);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createComment:function(e){var t=new _e(p);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf(`]]>`)!==-1)throw new h(h.INVALID_CHARACTER_ERR,`data contains "]]>"`);var t=new ve(p);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new we(p);return n.ownerDocument=this,n.childNodes=new V,n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){if(!_.QName_exact.test(e))throw new h(h.INVALID_CHARACTER_ERR,`invalid character in name "`+e+`"`);return this.type===`html`&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var t=new $(p);return t.ownerDocument=this,t.childNodes=new V,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!_.Name.test(e))throw new h(h.INVALID_CHARACTER_ERR,`not a valid xml name "`+e+`"`);if(this.type===`html`)throw new h(`document is an html document`,g.NotSupportedError);var t=new Se(p);return t.ownerDocument=this,t.childNodes=new V,t.nodeName=e,t},createElementNS:function(e,t){var n=C(e,t),r=new Q(p),i=r.attributes=new W;return r.childNodes=new V,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],i._ownerElement=r,r},createAttributeNS:function(e,t){var n=C(e,t),r=new $(p);return r.ownerDocument=this,r.childNodes=new V,r.nodeName=t,r.name=t,r.specified=!0,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],r}},T(Y,q),Q.prototype={nodeType:D,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+`:`+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type===`html`&&this.namespaceURI===f.HTML},hasAttributes:function(){return!(!this.attributes||!this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t?t.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,t){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var n=this.getAttributeNode(e);n?n.value=n.nodeValue=``+t:((n=this.ownerDocument._createAttribute(e)).value=n.nodeValue=``+t,this.setAttributeNode(n))},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n?n.value:null},setAttributeNS:function(e,t,n){var r=C(e,t)[2],i=this.getAttributeNodeNS(e,r);i?i.value=i.nodeValue=``+n:((i=this.ownerDocument.createAttributeNS(e,t)).value=i.nodeValue=``+n,this.setAttributeNode(i))},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByClassName:function(e){var t=x(e);return new H(this,function(n){var r=[];return t.length>0&&ie(n,function(i){if(i!==n&&i.nodeType===D){var a=i.getAttribute(`class`);if(a){var o=e===a;if(!o){var s=x(a);o=t.every((c=s,function(e){return c&&c.indexOf(e)!==-1}))}o&&r.push(i)}}var c}),r})},getElementsByTagName:function(e){var t=(this.nodeType===P?this:this.ownerDocument).type===`html`,n=e.toLowerCase();return new H(this,function(r){var i=[];return ie(r,function(a){a!==r&&a.nodeType===D&&(e===`*`||a.getQualifiedName()===(t&&a.namespaceURI===f.HTML?n:e))&&i.push(a)}),i})},getElementsByTagNameNS:function(e,t){return new H(this,function(n){var r=[];return ie(n,function(i){i===n||i.nodeType!==D||e!==`*`&&i.namespaceURI!==e||t!==`*`&&i.localName!=t||r.push(i)}),r})}},Y.prototype.getElementsByClassName=Q.prototype.getElementsByClassName,Y.prototype.getElementsByTagName=Q.prototype.getElementsByTagName,Y.prototype.getElementsByTagNameNS=Q.prototype.getElementsByTagNameNS,T(Q,q),$.prototype.nodeType=O,T($,q),he.prototype={data:``,substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},deleteData:function(e,t){this.replaceData(e,t,``)},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},T(he,q),ge.prototype={nodeName:`#text`,nodeType:k,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},T(ge,he),_e.prototype={nodeName:`#comment`,nodeType:N},T(_e,he),ve.prototype={nodeName:`#cdata-section`,nodeType:A},T(ve,ge),ye.prototype.nodeType=F,T(ye,q),be.prototype.nodeType=L,T(be,q),xe.prototype.nodeType=M,T(xe,q),Se.prototype.nodeType=j,T(Se,q),Ce.prototype.nodeName=`#document-fragment`,Ce.prototype.nodeType=I,T(Ce,q),we.prototype.nodeType=ee,T(we,he),Te.prototype.serializeToString=function(e,t){return Ee.call(e,t)},q.prototype.toString=Ee;try{Object.defineProperty&&(Object.defineProperty(H.prototype,"length",{get:function(){return U(this),this.$$length}}),Object.defineProperty(q.prototype,"textContent",{get:function(){if(this.nodeType===D||this.nodeType===I){var e=[];return J(this,null,{enter:function(t){return t.nodeType===D||t.nodeType===I||(t.nodeType===ee||t.nodeType===N?null:void e.push(t.nodeValue))}}),e.join(``)}return this.nodeValue},set:function(e){switch(this.nodeType){case D:case I:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Object.defineProperty(Q.prototype,"children",{get:function(){return new H(this,Me)}}),Object.defineProperty(Y.prototype,"children",{get:function(){return new H(this,Me)}}),Object.defineProperty(Ce.prototype,"children",{get:function(){return new H(this,Me)}}),je=function(e,t,n){e[`$$`+t]=n})}catch{}e._updateLiveList=U,e.Attr=$,e.CDATASection=ve,e.CharacterData=he,e.Comment=_e,e.Document=Y,e.DocumentFragment=Ce,e.DocumentType=ye,e.DOMImplementation=ne,e.Element=Q,e.Entity=xe,e.EntityReference=Se,e.LiveNodeList=H,e.NamedNodeMap=W,e.Node=q,e.NodeList=V,e.Notation=be,e.Text=ge,e.ProcessingInstruction=we,e.walkDOM=J,e.XMLSerializer=Te}),a=e.$t(e=>{var n=t().freeze;e.XML_ENTITIES=n({amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}),e.HTML_ENTITIES=n({Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:`⁡`,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,AMP:`&`,amp:`&`,And:`⩓`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,ap:`≈`,apacir:`⩯`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:`⁡`,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,Barwed:`⌆`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,Because:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxDL:`╗`,boxDl:`╖`,boxdL:`╕`,boxdl:`┐`,boxDR:`╔`,boxDr:`╓`,boxdR:`╒`,boxdr:`┌`,boxH:`═`,boxh:`─`,boxHD:`╦`,boxHd:`╤`,boxhD:`╥`,boxhd:`┬`,boxHU:`╩`,boxHu:`╧`,boxhU:`╨`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxUL:`╝`,boxUl:`╜`,boxuL:`╛`,boxul:`┘`,boxUR:`╚`,boxUr:`╙`,boxuR:`╘`,boxur:`└`,boxV:`║`,boxv:`│`,boxVH:`╬`,boxVh:`╫`,boxvH:`╪`,boxvh:`┼`,boxVL:`╣`,boxVl:`╢`,boxvL:`╡`,boxvl:`┤`,boxVR:`╠`,boxVr:`╟`,boxvR:`╞`,boxvr:`├`,bprime:`‵`,Breve:`˘`,breve:`˘`,brvbar:`¦`,Bscr:`ℬ`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,Cap:`⋒`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,CenterDot:`·`,centerdot:`·`,Cfr:`ℭ`,cfr:`𝔠`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,cir:`○`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,Colon:`∷`,colon:`:`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,Conint:`∯`,conint:`∮`,ContourIntegral:`∮`,Copf:`ℂ`,copf:`𝕔`,coprod:`∐`,Coproduct:`∐`,COPY:`©`,copy:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,Cross:`⨯`,cross:`✗`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,Cup:`⋓`,cup:`∪`,cupbrcap:`⩈`,CupCap:`≍`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,Dagger:`‡`,dagger:`†`,daleth:`ℸ`,Darr:`↡`,dArr:`⇓`,darr:`↓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,DD:`ⅅ`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,Diamond:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,Downarrow:`⇓`,downarrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,ecir:`≖`,Ecirc:`Ê`,ecirc:`ê`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,eDot:`≑`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp:` `,emsp13:` `,emsp14:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,Escr:`ℰ`,escr:`ℯ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,ExponentialE:`ⅇ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,ForAll:`∀`,forall:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,Fscr:`ℱ`,fscr:`𝒻`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,gE:`≧`,ge:`≥`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,Gg:`⋙`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gl:`≷`,gla:`⪥`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gnE:`≩`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,Gt:`≫`,GT:`>`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,hArr:`⇔`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,Hfr:`ℌ`,hfr:`𝔥`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,Hopf:`ℍ`,hopf:`𝕙`,horbar:`―`,HorizontalLine:`─`,Hscr:`ℋ`,hscr:`𝒽`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:`⁣`,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,Ifr:`ℑ`,ifr:`𝔦`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Im:`ℑ`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,Int:`∬`,int:`∫`,intcal:`⊺`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,Iscr:`ℐ`,iscr:`𝒾`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,Lang:`⟪`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,Larr:`↞`,lArr:`⇐`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,lAtail:`⤛`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lBarr:`⤎`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,lE:`≦`,le:`≤`,LeftAngleBracket:`⟨`,LeftArrow:`←`,Leftarrow:`⇐`,leftarrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,Ll:`⋘`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lnE:`≨`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftarrow:`⟵`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longleftrightarrow:`⟷`,longmapsto:`⟼`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,Lscr:`ℒ`,lscr:`𝓁`,Lsh:`↰`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,Lt:`≪`,LT:`<`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,Mscr:`ℳ`,mscr:`𝓂`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,ne:`≠`,nearhk:`⤤`,neArr:`⇗`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
2
- `,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlArr:`⇍`,nlarr:`↚`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nLeftarrow:`⇍`,nleftarrow:`↚`,nLeftrightarrow:`⇎`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,nopf:`𝕟`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nRightarrow:`⇏`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nVDash:`⊯`,nVdash:`⊮`,nvDash:`⊭`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwArr:`⇖`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,Ocirc:`Ô`,ocirc:`ô`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,Or:`⩔`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,Otimes:`⨷`,otimes:`⊗`,otimesas:`⨶`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,Popf:`ℙ`,popf:`𝕡`,pound:`£`,Pr:`⪻`,pr:`≺`,prap:`⪷`,prcue:`≼`,prE:`⪳`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,Prime:`″`,prime:`′`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,Qopf:`ℚ`,qopf:`𝕢`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,QUOT:`"`,quot:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,Rang:`⟫`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,Rarr:`↠`,rArr:`⇒`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,rAtail:`⤜`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,RBarr:`⤐`,rBarr:`⤏`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,Re:`ℜ`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,REG:`®`,reg:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,Rfr:`ℜ`,rfr:`𝔯`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrow:`→`,Rightarrow:`⇒`,rightarrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,Ropf:`ℝ`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,Rscr:`ℛ`,rscr:`𝓇`,Rsh:`↱`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,Sc:`⪼`,sc:`≻`,scap:`⪸`,Scaron:`Š`,scaron:`š`,sccue:`≽`,scE:`⪴`,sce:`⪰`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,searhk:`⤥`,seArr:`⇘`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:`­`,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,Square:`□`,square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,Sub:`⋐`,sub:`⊂`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,Subset:`⋐`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,Sum:`∑`,sum:`∑`,sung:`♪`,Sup:`⋑`,sup:`⊃`,sup1:`¹`,sup2:`²`,sup3:`³`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,Supset:`⋑`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swArr:`⇙`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:` `,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,Therefore:`∴`,therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:`  `,thinsp:` `,ThinSpace:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,Tilde:`∼`,tilde:`˜`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,TRADE:`™`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,Uarr:`↟`,uArr:`⇑`,uarr:`↑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrow:`↑`,Uparrow:`⇑`,uparrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,Updownarrow:`⇕`,updownarrow:`↕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,upsi:`υ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTee:`⊥`,UpTeeArrow:`↥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,vArr:`⇕`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,Vbar:`⫫`,vBar:`⫨`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,VDash:`⊫`,Vdash:`⊩`,vDash:`⊨`,vdash:`⊢`,Vdashl:`⫦`,Vee:`⋁`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,Verbar:`‖`,verbar:`|`,Vert:`‖`,vert:`|`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,Vopf:`𝕍`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,Vscr:`𝒱`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,Wedge:`⋀`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,Wfr:`𝔚`,wfr:`𝔴`,Wopf:`𝕎`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:`𝒲`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:`𝔛`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,Xi:`Ξ`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:`𝕏`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,Xscr:`𝒳`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:`𝔜`,yfr:`𝔶`,YIcy:`Ї`,yicy:`ї`,Yopf:`𝕐`,yopf:`𝕪`,Yscr:`𝒴`,yscr:`𝓎`,YUcy:`Ю`,yucy:`ю`,Yuml:`Ÿ`,yuml:`ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:`​`,Zeta:`Ζ`,zeta:`ζ`,Zfr:`ℨ`,zfr:`𝔷`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,Zopf:`ℤ`,zopf:`𝕫`,Zscr:`𝒵`,zscr:`𝓏`,zwj:`‍`,zwnj:`‌`}),e.entityMap=e.HTML_ENTITIES}),o=e.$t(e=>{var i=t(),a=r(),o=n(),s=i.isHTMLEscapableRawTextElement,c=i.isHTMLMimeType,l=i.isHTMLRawTextElement,u=i.hasOwn,d=i.NAMESPACE,f=o.ParseError,p=o.DOMException;function m(){}m.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),b(t,t=Object.create(null)),function(e,t,n,r,o){var s=c(r.mimeType);e.indexOf(a.UNICODE_REPLACEMENT_CHARACTER)>=0&&o.warning(`Unicode replacement character detected, source encoding issues?`);function l(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function d(e){var t=e[e.length-1]===`;`?e:e+`;`;if(!s&&t!==e)return o.error(`EntityRef: expecting ;`),e;var r=a.Reference.exec(t);if(!r||r[0].length!==t.length)return o.error(`entity not matching Reference production: `+e),e;var i=t.slice(1,-1);return u(n,i)?n[i]:i.charAt(0)===`#`?l(parseInt(i.substring(1).replace(`x`,`0x`))):(o.error(`entity not found:`+e),e)}function m(t){if(t>A){var n=e.substring(A,t).replace(h,d);E&&D(A),r.characters(n,0,t-A),A=t}}var b=0,x=0,T=/\r\n?|\n|$/g,E=r.locator;function D(t,n){for(;t>=x&&(n=T.exec(e));)b=x,x=n.index+n[0].length,E.lineNumber++;E.columnNumber=t-b+1}for(var O=[{currentNSMap:t}],k=[],A=0;;){try{var j=e.indexOf(`<`,A);if(j<0){if(!s&&k.length>0)return o.fatalError(`unclosed xml tag(s): `+k.join(`, `));if(!e.substring(A).match(/^\s*$/)){var M=r.doc,ee=M.createTextNode(e.substring(A));if(M.documentElement)return o.error(`Extra content at the end of the document`);M.appendChild(ee),r.currentElement=ee}return}if(j>A){var N=e.substring(A,j);s||k.length!==0||(N=N.replace(new RegExp(a.S_OPT.source,`g`),``))&&o.error(`Unexpected content outside root element: '`+N+`'`),m(j)}switch(e.charAt(j+1)){case`/`:var P=e.indexOf(`>`,j+2),F=e.substring(j+2,P>0?P:void 0);if(!F)return o.fatalError(`end tag name missing`);var I=P>0&&a.reg(`^`,a.QName_group,a.S_OPT,`$`).exec(F);if(!I)return o.fatalError(`end tag name contains invalid characters: "`+F+`"`);if(!r.currentElement&&!r.doc.documentElement)return;var L=k[k.length-1]||r.currentElement.tagName||r.doc.documentElement.tagName||``;if(L!==I[1]){var R=I[1].toLowerCase();if(!s||L.toLowerCase()!==R)return o.fatalError(`Opening and ending tag mismatch: "`+L+`" != "`+F+`"`)}var z=O.pop();k.pop();var B=z.localNSMap;if(r.endElement(z.uri,z.localName,L),B)for(var V in B)u(B,V)&&r.endPrefixMapping(V);P++;break;case`?`:E&&D(j),P=C(e,j,r,o);break;case`!`:E&&D(j),P=S(e,j,r,o,s);break;default:E&&D(j);var H=new w,U=O[O.length-1].currentNSMap,W=(P=_(e,j,H,U,d,o,s),H.length);if(H.closed||(s&&i.isHTMLVoidElement(H.tagName)?H.closed=!0:k.push(H.tagName)),E&&W){for(var te=g(E,{}),G=0;G<W;G++){var K=H[G];D(K.offset),K.locator=g(E,{})}r.locator=te,v(H,r,U)&&O.push(H),r.locator=E}else v(H,r,U)&&O.push(H);s&&!H.closed?P=y(e,P,H.tagName,d,r):P++}}catch(e){if(e instanceof f)throw e;if(e instanceof p)throw new f(e.name+`: `+e.message,r.locator,e);o.error(`element parse error: `+e),P=-1}P>A?A=P:m(Math.max(j,A)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}};var h=/&#?\w+;?/g;function g(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function _(e,t,n,r,i,a,o){function s(e,t,r){return u(n.attributeNames,e)?a.fatalError(`Attribute `+e+` redefined`):!o&&t.indexOf(`<`)>=0?a.fatalError(`Unescaped '<' not allowed in attributes values`):void n.addValue(e,t.replace(/[\t\n\r]/g,` `).replace(h,i),r)}for(var c,l=++t,d=0;;){var f=e.charAt(l);switch(f){case`=`:if(d===1)c=e.slice(t,l),d=3;else{if(d!==2)throw Error(`attribute equal must after attrName`);d=3}break;case`'`:case`"`:if(d===3||d===1){if(d===1&&(a.warning(`attribute value must after "="`),c=e.slice(t,l)),t=l+1,!((l=e.indexOf(f,t))>0))throw Error(`attribute value no end '`+f+`' match`);s(c,p=e.slice(t,l),t-1),d=5}else{if(d!=4)throw Error(`attribute value must after "="`);s(c,p=e.slice(t,l),t),a.warning(`attribute "`+c+`" missed start quot(`+f+`)!!`),t=l+1,d=5}break;case`/`:switch(d){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:d=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw Error(`attribute invalid close char('/')`)}break;case``:return a.error(`unexpected end of input`),d==0&&n.setTagName(e.slice(t,l)),l;case`>`:switch(d){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:(p=e.slice(t,l)).slice(-1)===`/`&&(n.closed=!0,p=p.slice(0,-1));case 2:d===2&&(p=c),d==4?(a.warning(`attribute "`+p+`" missed quot(")!`),s(c,p,t)):(o||a.warning(`attribute "`+p+`" missed value!! "`+p+`" instead!!`),s(p,p,t));break;case 3:if(!o)return a.fatalError(`AttValue: ' or " expected`)}return l;case`€`:f=` `;default:if(f<=` `)switch(d){case 0:n.setTagName(e.slice(t,l)),d=6;break;case 1:c=e.slice(t,l),d=2;break;case 4:var p=e.slice(t,l);a.warning(`attribute "`+p+`" missed quot(")!!`),s(c,p,t);case 5:d=6}else switch(d){case 2:o||a.warning(`attribute "`+c+`" missed value!! "`+c+`" instead2!!`),s(c,c,t),t=l,d=1;break;case 5:a.warning(`attribute space is required"`+c+`"!!`);case 6:d=1,t=l;break;case 3:d=4,t=l;break;case 7:throw Error(`elements closed character '/' and '>' must be connected to`)}}l++}}function v(e,t,n){for(var r=e.tagName,i=null,a=e.length;a--;){var o=e[a],s=o.qName,c=o.value;if((m=s.indexOf(`:`))>0)var l=o.prefix=s.slice(0,m),f=s.slice(m+1),p=l===`xmlns`&&f;else f=s,l=null,p=s===`xmlns`&&``;o.localName=f,!1!==p&&(i??(i=Object.create(null),b(n,n=Object.create(null))),n[p]=i[p]=c,o.uri=d.XMLNS,t.startPrefixMapping(p,c))}for(a=e.length;a--;)(o=e[a]).prefix&&(o.prefix===`xml`&&(o.uri=d.XML),o.prefix!==`xmlns`&&(o.uri=n[o.prefix]));var m;(m=r.indexOf(`:`))>0?(l=e.prefix=r.slice(0,m),f=e.localName=r.slice(m+1)):(l=null,f=e.localName=r);var h=e.uri=n[l||``];if(t.startElement(h,f,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(h,f,r),i)for(l in i)u(i,l)&&t.endPrefixMapping(l)}function y(e,t,n,r,i){var a=s(n);if(a||l(n)){var o=e.indexOf(`</`+n+`>`,t),c=e.substring(t+1,o);return a&&(c=c.replace(h,r)),i.characters(c,0,c.length),o}return t+1}function b(e,t){for(var n in e)u(e,n)&&(t[n]=e[n])}function x(e,t){var n=t;function r(t){return t||=0,e.charAt(n+t)}function i(e){n+=e||=1}function o(){return e.substring(n)}return{char:r,getIndex:function(){return n},getMatch:function(e){var t=a.reg(`^`,e).exec(o());return t?(i(t[0].length),t[0]):null},getSource:function(){return e},skip:i,skipBlanks:function(){for(var t=0;n<e.length;){var a=r();if(a!==` `&&a!==`
3
- `&&a!==` `&&a!==`\r`)return t;t++,i()}return-1},substringFromIndex:o,substringStartsWith:function(t){return e.substring(n,n+t.length)===t},substringStartsWithCaseInsensitive:function(t){return e.substring(n,n+t.length).toUpperCase()===t.toUpperCase()}}}function S(e,t,n,r,i){var o=x(e,t);switch(i?o.char(2).toUpperCase():o.char(2)){case`-`:var s=o.getMatch(a.Comment);return s?(n.comment(s,a.COMMENT_START.length,s.length-a.COMMENT_START.length-a.COMMENT_END.length),o.getIndex()):r.fatalError(`comment is not well-formed at position `+o.getIndex());case`[`:var c=o.getMatch(a.CDSect);return c?i||n.currentElement?(n.startCDATA(),n.characters(c,a.CDATA_START.length,c.length-a.CDATA_START.length-a.CDATA_END.length),n.endCDATA(),o.getIndex()):r.fatalError(`CDATA outside of element`):r.fatalError(`Invalid CDATA starting at position `+t);case`D`:if(n.doc&&n.doc.documentElement)return r.fatalError(`Doctype not allowed inside or after documentElement at position `+o.getIndex());if(i?!o.substringStartsWithCaseInsensitive(a.DOCTYPE_DECL_START):!o.substringStartsWith(a.DOCTYPE_DECL_START))return r.fatalError(`Expected `+a.DOCTYPE_DECL_START+` at position `+o.getIndex());if(o.skip(a.DOCTYPE_DECL_START.length),o.skipBlanks()<1)return r.fatalError(`Expected whitespace after `+a.DOCTYPE_DECL_START+` at position `+o.getIndex());var l={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(l.name=o.getMatch(a.Name),!l.name)return r.fatalError(`doctype name missing or contains unexpected characters at position `+o.getIndex());if(i&&l.name.toLowerCase()!==`html`&&r.warning(`Unexpected DOCTYPE in HTML document at position `+o.getIndex()),o.skipBlanks(),o.substringStartsWith(a.PUBLIC)||o.substringStartsWith(a.SYSTEM)){var u=a.ExternalID_match.exec(o.substringFromIndex());if(!u)return r.fatalError(`doctype external id is not well-formed at position `+o.getIndex());u.groups.SystemLiteralOnly===void 0?(l.systemId=u.groups.SystemLiteral,l.publicId=u.groups.PubidLiteral):l.systemId=u.groups.SystemLiteralOnly,o.skip(u[0].length)}else if(i&&o.substringStartsWithCaseInsensitive(a.SYSTEM)){if(o.skip(a.SYSTEM.length),o.skipBlanks()<1)return r.fatalError(`Expected whitespace after `+a.SYSTEM+` at position `+o.getIndex());if(l.systemId=o.getMatch(a.ABOUT_LEGACY_COMPAT_SystemLiteral),!l.systemId)return r.fatalError(`Expected `+a.ABOUT_LEGACY_COMPAT+` in single or double quotes after `+a.SYSTEM+` at position `+o.getIndex())}return i&&l.systemId&&!a.ABOUT_LEGACY_COMPAT_SystemLiteral.test(l.systemId)&&r.warning(`Unexpected doctype.systemId in HTML document at position `+o.getIndex()),i||(o.skipBlanks(),l.internalSubset=function(e,t){function n(e,t){var n=a.PI.exec(e.substringFromIndex());return n?n[1].toLowerCase()===`xml`?t.fatalError(`xml declaration is only allowed at the start of the document, but found at position `+e.getIndex()):(e.skip(n[0].length),n[0]):t.fatalError(`processing instruction is not well-formed at position `+e.getIndex())}var r=e.getSource();if(e.char()===`[`){e.skip(1);for(var i=e.getIndex();e.getIndex()<r.length;){if(e.skipBlanks(),e.char()===`]`){var o=r.substring(i,e.getIndex());return e.skip(1),o}var s=null;if(e.char()===`<`&&e.char(1)===`!`)switch(e.char(2)){case`E`:e.char(3)===`L`?s=e.getMatch(a.elementdecl):e.char(3)===`N`&&(s=e.getMatch(a.EntityDecl));break;case`A`:s=e.getMatch(a.AttlistDecl);break;case`N`:s=e.getMatch(a.NotationDecl);break;case`-`:s=e.getMatch(a.Comment)}else if(e.char()===`<`&&e.char(1)===`?`)s=n(e,t);else{if(e.char()!==`%`)return t.fatalError(`Error detected in Markup declaration`);s=e.getMatch(a.PEReference)}if(!s)return t.fatalError(`Error in internal subset at position `+e.getIndex())}return t.fatalError(`doctype internal subset is not well-formed, missing ]`)}}(o,r)),o.skipBlanks(),o.char()===`>`?(o.skip(1),n.startDTD(l.name,l.publicId,l.systemId,l.internalSubset),n.endDTD(),o.getIndex()):r.fatalError(`doctype not terminated with > at position `+o.getIndex());default:return r.fatalError(`Not well-formed XML starting with "<!" at position `+t)}}function C(e,t,n,r){var i=e.substring(t).match(a.PI);if(!i)return r.fatalError(`Invalid processing instruction starting at position `+t);if(i[1].toLowerCase()===`xml`){if(t>0)return r.fatalError(`processing instruction at position `+t+` is an xml declaration which is only at the start of the document`);if(!a.XMLDecl.test(e.substring(t)))return r.fatalError(`xml declaration is not well-formed`)}return n.processingInstruction(i[1],i[2]),t+i[0].length}function w(){this.attributeNames=Object.create(null)}w.prototype={setTagName:function(e){if(!a.QName_exact.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,n){if(!a.QName_exact.test(e))throw Error(`invalid attribute:`+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},e.XMLReader=m,e.parseUtils=x,e.parseDoctypeCommentOrCData=S}),s=e.$t(e=>{var r=t(),s=i(),c=n(),l=a(),u=o(),d=s.DOMImplementation,f=r.hasDefaultHTMLNamespace,p=r.isHTMLMimeType,m=r.isValidMimeType,h=r.MIME_TYPE,g=r.NAMESPACE,_=c.ParseError,v=u.XMLReader;function y(e){return e.replace(/\r[\n\u0085]/g,`
4
- `).replace(/[\r\u0085\u2028\u2029]/g,`
5
- `)}function b(e){if((e||={}).locator===void 0&&(e.locator=!0),this.assign=e.assign||r.assign,this.domHandler=e.domHandler||x,this.onError=e.onError||e.errorHandler,e.errorHandler&&typeof e.errorHandler!=`function`)throw TypeError(`errorHandler object is no longer supported, switch to onError!`);e.errorHandler&&e.errorHandler(`warning`,"The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=e.normalizeLineEndings||y,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns)}function x(e){var t=e||{};this.mimeType=t.mimeType||h.XML_APPLICATION,this.defaultNamespace=t.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=t.onError}function S(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function C(e,t,n){return typeof e==`string`?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+``:e}function w(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}b.prototype.parseFromString=function(e,t){if(!m(t))throw TypeError(`DOMParser.parseFromString: the provided mimeType "`+t+`" is not valid.`);var n=this.assign(Object.create(null),this.xmlns),i=l.XML_ENTITIES,a=n[``]||null;f(t)?(i=l.HTML_ENTITIES,a=g.HTML):t===h.XML_SVG_IMAGE&&(a=g.SVG),n[``]=a,n.xml=n.xml||g.XML;var o=new this.domHandler({mimeType:t,defaultNamespace:a,onError:this.onError}),s=this.locator?{}:void 0;this.locator&&o.setDocumentLocator(s);var c=new v;return c.errorHandler=o,c.domBuilder=o,r.isHTMLMimeType(t)||typeof e==`string`||c.errorHandler.fatalError(`source is not a string`),c.parse(this.normalizeLineEndings(String(e)),n,i),o.doc.documentElement||c.errorHandler.fatalError(`missing root element`),o.doc},x.prototype={startDocument:function(){var e=new d;this.doc=p(this.mimeType)?e.createHTMLDocument(!1):e.createDocument(this.defaultNamespace,``)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;w(this,a),this.currentElement=a,this.locator&&S(this.locator,a);for(var s=0;s<o;s++){e=r.getURI(s);var c=r.getValue(s),l=(n=r.getQName(s),i.createAttributeNS(e,n));this.locator&&S(r.getLocator(s),l),l.value=l.nodeValue=c,a.setAttributeNode(l)}},endElement:function(e,t,n){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&S(this.locator,n),w(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=C.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&S(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){e&&(e.lineNumber=0),this.locator=e},comment:function(e,t,n){e=C.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&S(this.locator,r),w(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n,r){var i=this.doc.implementation;if(i&&i.createDocumentType){var a=i.createDocumentType(e,t,n,r);this.locator&&S(this.locator,a),w(this,a),this.doc.doctype=a}},reportError:function(e,t){if(typeof this.onError==`function`)try{this.onError(e,t,this)}catch(n){throw new _(`Reporting `+e+` "`+t+`" caused `+n,this.locator)}else console.error(`[xmldom `+e+`] `+t,function(e){if(e)return`
6
- @#[line:`+e.lineNumber+`,col:`+e.columnNumber+`]`}(this.locator))},warning:function(e){this.reportError(`warning`,e)},error:function(e){this.reportError(`error`,e)},fatalError:function(e){throw this.reportError(`fatalError`,e),new _(e,this.locator)}},`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){x.prototype[e]=function(){return null}}),e.__DOMHandler=x,e.DOMParser=b,e.normalizeLineEndings=y,e.onErrorStopParsing=function(e){if(e===`error`)throw`onErrorStopParsing`},e.onWarningStopParsing=function(){throw`onWarningStopParsing`}}),c=e.$t(e=>{var r=t();e.assign=r.assign,e.hasDefaultHTMLNamespace=r.hasDefaultHTMLNamespace,e.isHTMLMimeType=r.isHTMLMimeType,e.isValidMimeType=r.isValidMimeType,e.MIME_TYPE=r.MIME_TYPE,e.NAMESPACE=r.NAMESPACE;var a=n();e.DOMException=a.DOMException,e.DOMExceptionName=a.DOMExceptionName,e.ExceptionCode=a.ExceptionCode,e.ParseError=a.ParseError;var o=i();e.Attr=o.Attr,e.CDATASection=o.CDATASection,e.CharacterData=o.CharacterData,e.Comment=o.Comment,e.Document=o.Document,e.DocumentFragment=o.DocumentFragment,e.DocumentType=o.DocumentType,e.DOMImplementation=o.DOMImplementation,e.Element=o.Element,e.Entity=o.Entity,e.EntityReference=o.EntityReference,e.LiveNodeList=o.LiveNodeList,e.NamedNodeMap=o.NamedNodeMap,e.Node=o.Node,e.NodeList=o.NodeList,e.Notation=o.Notation,e.ProcessingInstruction=o.ProcessingInstruction,e.Text=o.Text,e.XMLSerializer=o.XMLSerializer;var c=s();e.DOMParser=c.DOMParser,e.normalizeLineEndings=c.normalizeLineEndings,e.onErrorStopParsing=c.onErrorStopParsing,e.onWarningStopParsing=c.onWarningStopParsing});Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return c()}});