@sheetxl/io-xlsx 0.8.0-beta.7 → 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.
- package/LICENSE.md +8 -7
- package/browser/esm/7rZlWcm56hn3Jmnk.mjs +7021 -0
- package/browser/esm/AZus_5slvoIVhf1u.mjs +10323 -0
- package/browser/esm/B9QfzGvsvg-V3utu.mjs +4632 -0
- package/browser/esm/{CX3yVwe-BnhCk4FY.mjs → BIR_Si489gIkGOnc.mjs} +194 -144
- package/browser/esm/BJFvc-i40R4rPZ5y.mjs +2433 -0
- package/browser/esm/{CGXxwkCRWLc0gcRQ.mjs → BX8Ebx4NC5zp7_3J.mjs} +3 -3
- package/browser/esm/{B4eKxNwxJjHLN126.mjs → Bnxw38IvtA04zXEE.mjs} +2 -2
- package/browser/esm/{DwcLXqv8-6Tl1zLO.mjs → CfVhYH77KdrR3fEK.mjs} +3 -3
- package/browser/esm/index.mjs +3 -4
- package/browser/esm/jIQks3Crw6jehdDU.mjs +2474 -0
- package/browser/esm/{DUi-V-E_AJwTIqlO.mjs → qc9hnuR2z-whY8YO.mjs} +3 -3
- package/browser/esm/wZGpmkMUubNjClhG.mjs +104 -0
- package/licenses/dependencies.txt +2 -2
- package/node/esm/{C51yFT2l-6il_xXO.mjs → BNLHWJHyy5eB0P_4.mjs} +2 -2
- package/node/esm/CVtsY2F9A9NzEGLk.mjs +2478 -0
- package/node/esm/CoeQ0LO-nNXiowwv.mjs +7284 -0
- package/node/esm/CxY3iIYLXVhCebeV.mjs +4746 -0
- package/node/esm/D2CZy9TQM9h2uqBh.mjs +2562 -0
- package/node/esm/{CMq7eF1vxibUumqT.mjs → Dm0hvKcR4xb0TV_N.mjs} +3 -3
- package/node/esm/_IA1gQ-zFQYQSZSs.mjs +6957 -0
- package/node/esm/index.mjs +65 -28
- package/node/esm/{DLBm8l0jyL2fVlxg.mjs → zZFe3mW0xjmobowq.mjs} +3 -3
- package/package.json +9 -10
- package/types/src/AutoFilterRules.d.ts +85 -22
- package/types/src/ConditionalFormatRules.d.ts +2 -2
- package/types/src/DataTableFormula.d.ts +26 -0
- package/types/src/DataValidationRules.d.ts +0 -5
- package/types/src/DefinedNameAttributes.d.ts +8 -0
- package/types/src/ExcelCalcStamp.d.ts +0 -36
- package/types/src/ExcelCompat.d.ts +15 -143
- package/types/src/ExcelFunctionFacts.d.ts +0 -272
- package/types/src/ExcelReservedNames.d.ts +0 -65
- package/types/src/KnownFonts.d.ts +37 -0
- package/types/src/LegacyFormula.d.ts +1 -46
- package/types/src/OOXMLExtensions.d.ts +30 -2
- package/types/src/PageLayoutAttributes.d.ts +8 -0
- package/types/src/Plugin.d.ts +15 -3
- package/types/src/ProtectionAttributes.d.ts +2 -2
- package/types/src/SheetKinds.d.ts +42 -0
- package/types/src/SheetViewAttributes.d.ts +4 -0
- package/types/src/SortExtent.d.ts +16 -0
- package/types/src/SourcePackage.d.ts +0 -44
- package/types/src/SparklineGroups.d.ts +52 -0
- package/types/src/Types.d.ts +13 -3
- package/types/src/XlsxHeader.d.ts +19 -0
- package/types/src/chart/ChartExXml.d.ts +38 -0
- package/types/src/chart/ChartPartXml.d.ts +47 -0
- package/types/src/chart/ChartSpaceXml.d.ts +37 -0
- package/types/src/chart/_XmlTree.d.ts +34 -0
- package/types/src/chart/_chartCodecs.d.ts +12 -0
- package/types/src/chart/_chartExCodecs.d.ts +7 -0
- package/types/src/chart/_chartExFold.d.ts +14 -0
- package/types/src/chart/_chartExMarkup.d.ts +236 -0
- package/types/src/chart/_chartExStyle.d.ts +13 -0
- package/types/src/chart/_codec.d.ts +78 -0
- package/types/src/chart/_drawingml.d.ts +10 -0
- package/types/src/chart/_xml.d.ts +70 -0
- package/types/src/pivot/PivotArea.d.ts +20 -0
- package/types/src/pivot/PivotCacheRead.d.ts +30 -0
- package/types/src/pivot/PivotCacheWrite.d.ts +23 -0
- package/types/src/pivot/PivotFilters.d.ts +29 -0
- package/types/src/pivot/PivotFormats.d.ts +60 -0
- package/types/src/pivot/PivotTableRead.d.ts +44 -0
- package/types/src/pivot/PivotTableWrite.d.ts +13 -0
- package/types/src/pivot/_PivotCacheXml.d.ts +48 -0
- package/types/src/pivot/_PivotTableXml.d.ts +23 -0
- package/types/src/reader/CellControls.d.ts +18 -0
- package/types/src/reader/DocumentPropertiesRead.d.ts +16 -0
- package/types/src/reader/DummyFunctionUnwrap.d.ts +43 -23
- package/types/src/reader/HeaderStyles.d.ts +15 -0
- package/types/src/reader/IsoDateCell.d.ts +20 -0
- package/types/src/reader/LibreOfficeDataTable.d.ts +12 -0
- package/types/src/reader/PivotButtons.d.ts +14 -0
- package/types/src/reader/PivotCellFormats.d.ts +22 -0
- package/types/src/reader/SlicerJoin.d.ts +26 -0
- package/types/src/reader/ZipReader.d.ts +1 -1
- package/types/src/reader/_SlicerRecord.d.ts +59 -0
- package/types/src/reader/dom/CustGeomUtils.d.ts +7 -0
- package/types/src/reader/dom/DOMTransformer.d.ts +2 -2
- package/types/src/reader/domVisitors/AppPropertiesVisitor.d.ts +13 -1
- package/types/src/reader/domVisitors/AutoFilterVisitor.d.ts +8 -3
- package/types/src/reader/domVisitors/ColorContainerVisitor.d.ts +15 -2
- package/types/src/reader/domVisitors/CommentVisitor.d.ts +2 -2
- package/types/src/reader/domVisitors/DrawingCxnSpVisitor.d.ts +1 -0
- package/types/src/reader/domVisitors/DrawingElementVisitor.d.ts +30 -1
- package/types/src/reader/domVisitors/DrawingGraphicFrameVisitor.d.ts +9 -0
- package/types/src/reader/domVisitors/DrawingGrpSpVisitor.d.ts +14 -2
- package/types/src/reader/domVisitors/DrawingPicVisitor.d.ts +30 -2
- package/types/src/reader/domVisitors/DrawingSpVisitor.d.ts +20 -1
- package/types/src/reader/domVisitors/DrawingVisitor.d.ts +10 -0
- package/types/src/reader/domVisitors/ExternalLinkVisitor.d.ts +1 -11
- package/types/src/reader/domVisitors/FeaturePropertyBagVisitor.d.ts +18 -0
- package/types/src/reader/domVisitors/FmtSchemeVisitor.d.ts +0 -11
- package/types/src/reader/domVisitors/FontSchemeVisitor.d.ts +3 -2
- package/types/src/reader/domVisitors/FormControlPrVisitor.d.ts +9 -0
- package/types/src/reader/domVisitors/ObjectDefaultsVisitor.d.ts +11 -0
- package/types/src/reader/domVisitors/ShapeTextVisitor.d.ts +44 -0
- package/types/src/reader/domVisitors/SheetColorContainerVisitor.d.ts +2 -2
- package/types/src/reader/domVisitors/SheetStyleVisitor.d.ts +26 -5
- package/types/src/reader/domVisitors/SlicerCacheDefinitionVisitor.d.ts +11 -2
- package/types/src/reader/domVisitors/SlicersVisitor.d.ts +9 -3
- package/types/src/reader/domVisitors/SortStateVisitor.d.ts +2 -2
- package/types/src/reader/domVisitors/TextPropertiesVisitor.d.ts +13 -1
- package/types/src/reader/domVisitors/ThreadedCommentsVisitor.d.ts +2 -2
- package/types/src/reader/domVisitors/TimelinesVisitor.d.ts +13 -0
- package/types/src/reader/domVisitors/WorkbookVisitor.d.ts +0 -9
- package/types/src/reader/domVisitors/_Dxfs.d.ts +10 -0
- package/types/src/reader/domVisitors/index.d.ts +10 -36
- package/types/src/reader/saxVisitors/ContentTypesVisitor.d.ts +1 -0
- package/types/src/reader/saxVisitors/SharedStringsVisitor.d.ts +31 -6
- package/types/src/reader/saxVisitors/WorksheetVisitor.d.ts +26 -8
- package/types/src/richValue/ErrorRichValueHandler.d.ts +22 -0
- package/types/src/richValue/IRichValueHandler.d.ts +109 -0
- package/types/src/richValue/LocalImageRichValueHandler.d.ts +18 -0
- package/types/src/richValue/RichDataParts.d.ts +69 -0
- package/types/src/richValue/RichRecordWriter.d.ts +61 -0
- package/types/src/richValue/RichValueHandlers.d.ts +25 -0
- package/types/src/richValue/RichValueResolver.d.ts +54 -0
- package/types/src/richValue/WebImageRichValueHandler.d.ts +37 -0
- package/types/src/richValue/index.d.ts +7 -0
- package/types/src/utils/DrawingMLText.d.ts +39 -0
- package/types/src/utils/FormControls.d.ts +170 -0
- package/types/src/utils/SharedNames.d.ts +13 -0
- package/types/src/utils/SpreadsheetFont.d.ts +38 -0
- package/types/src/utils/VmlNoteShapes.d.ts +25 -32
- package/types/src/utils/VmlNoteStyle.d.ts +25 -0
- package/types/src/utils/VmlPrefixes.d.ts +24 -0
- package/types/src/vba/VBAProject.d.ts +0 -19
- package/types/src/writer/EvaluationSheet.d.ts +5 -0
- package/types/src/writer/builder/Emitter.d.ts +5 -0
- package/types/src/writer/builder/OpcXmlUtils.d.ts +0 -8
- package/types/src/writer/builder/PackageBuilder.d.ts +4 -41
- package/types/src/writer/builder/Types.d.ts +28 -28
- package/types/src/writer/emitters/CommentsEmitter.d.ts +3 -3
- package/types/src/writer/emitters/DrawingEmitter.d.ts +2 -2
- package/types/src/writer/emitters/ExternalLinkEmitter.d.ts +0 -11
- package/types/src/writer/emitters/FeaturePropertyBagEmitter.d.ts +8 -0
- package/types/src/writer/emitters/LegacyDrawingEmitter.d.ts +4 -4
- package/types/src/writer/emitters/PivotTableEmitter.d.ts +30 -1
- package/types/src/writer/emitters/PropsCoreEmitter.d.ts +7 -2
- package/types/src/writer/emitters/PropsCustomEmitter.d.ts +15 -0
- package/types/src/writer/emitters/RichValuePartsEmitters.d.ts +36 -0
- package/types/src/writer/emitters/RichValueRelEmitter.d.ts +12 -0
- package/types/src/writer/emitters/RichValueStructureEmitter.d.ts +4 -3
- package/types/src/writer/emitters/RichValueTypesEmitter.d.ts +3 -2
- package/types/src/writer/emitters/RichValueWebImageEmitter.d.ts +24 -0
- package/types/src/writer/emitters/SharedStringsEmitter.d.ts +6 -3
- package/types/src/writer/emitters/SlicerEmitter.d.ts +132 -0
- package/types/src/writer/emitters/StylesEmitter.d.ts +35 -2
- package/types/src/writer/emitters/TableEmitter.d.ts +14 -0
- package/types/src/writer/emitters/WorkbookEmitter.d.ts +24 -2
- package/types/src/writer/emitters/WorksheetEmitter.d.ts +4 -3
- package/types/src/writer/utils/AutoFilter.d.ts +3 -3
- package/types/src/writer/utils/CellControlComplements.d.ts +29 -0
- package/types/src/writer/utils/CustGeomUtils.d.ts +5 -0
- package/types/src/writer/utils/DateSystem.d.ts +6 -0
- package/types/src/writer/utils/DefaultRows.d.ts +22 -0
- package/types/src/writer/utils/DrawMLUtils.d.ts +42 -3
- package/types/src/writer/utils/DummyFunction.d.ts +0 -25
- package/types/src/writer/utils/DxfCollector.d.ts +14 -11
- package/types/src/writer/utils/PrstGeomUtils.d.ts +14 -0
- package/types/src/writer/utils/RichValueCollector.d.ts +81 -129
- package/types/src/writer/utils/SheetStyleLayout.d.ts +86 -0
- package/types/src/writer/utils/TextUtils.d.ts +26 -2
- package/types/src/writer/utils/UnsupportedFunctions.d.ts +2 -2
- package/types/src/writer/utils/XfVariants.d.ts +61 -0
- package/browser/cjs/17tMBnuyu4YIxixh.cjs +0 -1
- package/browser/cjs/B6sirGz6w-Bm7Ofo.cjs +0 -1
- package/browser/cjs/B7_pDFYCVzt-3hUs.cjs +0 -1
- package/browser/cjs/BxU-OlZIQViQl7gX.cjs +0 -1
- package/browser/cjs/CDs8etXnw0kbBKKv.cjs +0 -1
- package/browser/cjs/CIpMN7SDVREKQUQE.cjs +0 -6
- package/browser/cjs/CycnxkfuKrDdwoJN.cjs +0 -5
- package/browser/cjs/D3EWCPfCu-qMOIGd.cjs +0 -1
- package/browser/cjs/DHKWtqZ0vQfXrbq1.cjs +0 -2
- package/browser/cjs/MqKQ_B5qRARrRbO4.cjs +0 -24
- package/browser/cjs/index.cjs +0 -1
- package/browser/cjs/xQ6-wbTw5UzZUM1Y.cjs +0 -1
- package/browser/esm/9n64lXAgZUe3aThr.mjs +0 -159
- package/browser/esm/BsNoW41d6hdpxTTS.mjs +0 -67
- package/browser/esm/BvAptAMpZVyBCx6-.mjs +0 -2402
- package/browser/esm/CjKioy-GzeSf08f8.mjs +0 -3326
- package/browser/esm/cJxidonaVNZHAXiZ.mjs +0 -4532
- package/browser/esm/dsVZVtt5w_yLb967.mjs +0 -5300
- package/node/esm/BRQYaMYO4UfhjJHw.mjs +0 -170
- package/node/esm/BlbtH3EvAf3K4foF.mjs +0 -2450
- package/node/esm/DhSPOg9wN0kD87Tb.mjs +0 -3051
- package/node/esm/KeV-N47eTyh5YE70.mjs +0 -4642
- package/node/esm/s_yVG0m9KB14YKeN.mjs +0 -3412
- package/types/src/legacyChart/OOXMLMappings.d.ts +0 -8
- package/types/src/legacyChart/OOXMLUtils.d.ts +0 -78
- package/types/src/legacyChart/ToOOXMLConverter.d.ts +0 -30
- package/types/src/reader/domVisitors/AxisVisitor.d.ts +0 -12
- package/types/src/reader/domVisitors/BarChartTypeVisitor.d.ts +0 -6
- package/types/src/reader/domVisitors/ChartSpaceVisitor.d.ts +0 -6
- package/types/src/reader/domVisitors/ChartTypeVisitor.d.ts +0 -7
- package/types/src/reader/domVisitors/ChartVisitor.d.ts +0 -7
- package/types/src/reader/domVisitors/DataLabelsVisitor.d.ts +0 -8
- package/types/src/reader/domVisitors/DataPointVisitor.d.ts +0 -6
- package/types/src/reader/domVisitors/HyperlinkVisitor.d.ts +0 -6
- package/types/src/reader/domVisitors/LayoutVisitor.d.ts +0 -5
- package/types/src/reader/domVisitors/LegendEntryVisitor.d.ts +0 -5
- package/types/src/reader/domVisitors/LegendVisitor.d.ts +0 -5
- package/types/src/reader/domVisitors/MarkerVisitor.d.ts +0 -5
- package/types/src/reader/domVisitors/NegativeShapeVisitor.d.ts +0 -6
- package/types/src/reader/domVisitors/PlotAreaVisitor.d.ts +0 -5
- package/types/src/reader/domVisitors/RichValueDataVisitor.d.ts +0 -7
- package/types/src/reader/domVisitors/RichValueStructureVisitor.d.ts +0 -6
- package/types/src/reader/domVisitors/SeriesVisitor.d.ts +0 -8
- package/types/src/reader/domVisitors/TitleVisitor.d.ts +0 -9
- package/types/src/writer/emitters/ChartColorsEmitter.d.ts +0 -7
- package/types/src/writer/emitters/ChartEmitter.d.ts +0 -14
- package/types/src/writer/emitters/ChartStyleEmitter.d.ts +0 -46
- package/types/src/writer/utils/HiddenFormulaXfs.d.ts +0 -28
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
const e=require("./B7_pDFYCVzt-3hUs.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==`<`?`<`:e==`>`&&`>`)||e==`&`&&`&`||e==`"`&&`"`||`&#`+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()}});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
require("./CDs8etXnw0kbBKKv.cjs");const e=require("./MqKQ_B5qRARrRbO4.cjs");let t=require("@sheetxl/sdk");var n=`resourcesById`,r=class{constructor(e){this._kind=e.kind,this._contentType=e.contentType,this._relTypeUri=e.relTypeUri,this._path=e.path}getKind(){return this._kind}getContentType(e){return this._contentType}getRelTypeUri(e){return this._relTypeUri}getPath(e){return typeof this._path==`function`?this._path(e):this._path}},i=class t{constructor(e,t,n){this.zipWriter=e,this.outputKind=t,this.outWritable=n}static createUint8Array(n){let r=new e.W(new e.X,n);return new t(r,`uint8array`)}static createBlob(n){let r=new e.W(new e.q(`application/zip`),n);return new t(r,`blob`)}static createWritableStream(n,r){let i=new e.W(n,r);return new t(i,`writable`,n)}async add(t,n,r){let i=function(e){let t=e.replace(/\\/g,`/`).trim();for(;t.startsWith(`/`);)t=t.slice(1);return t}(t),a={level:r?.level,password:r?.password,encryptionStrength:r?.encryptionStrength,zipCrypto:r?.zipCrypto,lastModDate:r?.lastModDate,keepOrder:r?.keepOrder,uncompressedSize:r?.uncompressedSize,dataDescriptor:r?.dataDescriptor,passThrough:r?.passThrough,compressionMethod:r?.compressionMethod,signature:r?.signature};if(typeof n==`string`)return void await this.zipWriter.add(i,new e.J(n),a);if(n instanceof Uint8Array||ArrayBuffer.isView(n)||n&&typeof n.byteLength==`number`&&typeof n.byteOffset==`number`){try{await this.zipWriter.add(i,new e.Y(n),a)}catch(e){throw console.log(`Error adding Uint8Array source to zip:`,i,a),e}return}let o=(s=n)&&typeof s.getReader==`function`?n:function(e){let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{value:n,done:r}=await t.next();r?e.close():e.enqueue(n)},async cancel(e){if(typeof t.return==`function`)try{await t.return(e)}catch{}}})}(n);var s;await this.zipWriter.add(i,o,a)}async close(e){let t=e?.comment,n=await this.zipWriter.close(t,{});return this.outputKind===`writable`?this.outWritable??n:n}};function a(e){let t=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),n=e=>t(e).replace(/"/g,`"`),r=e=>{if(!e)return``;let t=``;for(let[r,i]of Object.entries(e))i!==void 0&&!1!==i&&(t+=!0===i?` ${r}="1"`:` ${r}="${n(String(i))}"`);return t},i=new TextEncoder,a=``,o=()=>{a&&=(e.write(i.encode(a)),``)},s=e=>{a+=e,a.length>65536&&o()},c=[],l=null,u=[],d=!0;return{decl(){s(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`)},pushDefaultNamespace(e){c.push(e),l=e},getDefaultNamespace:()=>c.length>0?c[c.length-1]:null,popDefaultNamespace(){c.length>0&&(c.pop(),l=c.length>0?c[c.length-1]:null)},start(e,t){d&&u.push({tag:e,attrs:t,bufferPos:a.length});let n=e;l&&e.indexOf(`:`)===-1&&(n=`${l}:${e}`),s(`<${n}${r(t)}>`)},empty(e,t){let n=e;l&&e.indexOf(`:`)===-1&&(n=`${l}:${e}`),s(`<${n}${r(t)}/>`)},text(e){s(t(String(e)))},raw(e){s(e)},end(e){let t;if(d){if(u.length===0)throw Error(`XML Writer: Unexpected end tag </${e}> - no matching start tag`);if(t=u[u.length-1],t.tag!==e)throw Error(`XML Writer: End tag </${e}> does not match start tag <${t.tag}>`)}let n=e;if(l&&e.indexOf(`:`)===-1&&(n=`${l}:${e}`),d){let e=a.length,i=`<${n}${r(t.attrs)}>`.length;e===t.bufferPos+i?(a=a.slice(0,t.bufferPos),s(`<${n}${r(t.attrs)}/>`)):s(`</${n}>`),u.pop()}else s(`</${n}>`)},close(){o()},setValidationDisabled(e){d=!e}}}function o(e){switch(e.kind){case`bytes`:return e.bytes;case`text`:return e.text;case`stream`:return e.stream;case`xmlStream`:{let t=[],n=a({write:e=>t.push(e)});return e.writeXml(n),n.close(),function(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}(t)}case`xmlStreamed`:return e.write()}}function s(e){let t=c(e);if(!t)return`_rels/.rels`;let n=t.lastIndexOf(`/`),r=n>=0?t.slice(0,n):``;return`${r?`${r}/_rels`:`_rels`}/${n>=0?t.slice(n+1):t}.rels`}function c(e){let t=(e??``).replace(/\\/g,`/`).trim();for(;t.startsWith(`/`);)t=t.slice(1);return t}function l(e){let t=(e??``).replace(/\\/g,`/`).trim();return t.startsWith(`/`)||(t=`/`+t),t}function u(e){let t=/^rId(\d+)$/.exec(e);return t?parseInt(t[1],10):2**53-1}function d(e){return String(e).replace(/&/g,`&`).replace(/</g,`<`).replace(/"/g,`"`).replace(/>/g,`>`)}function f(e,t,n,r=!1){let i=t;if(t.startsWith(`/`))i=t.slice(1);else{if(!e)throw Error(`Relative path "${t}" cannot be used at root level. Use an absolute path starting with "/" (e.g., "/xl/workbook.xml").`);i=(e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)+1):``)+t}if(i=p(i),!i.includes(`{n}`)){if(!r&&n.has(i))throw Error(`Path already existing path: ${i}`);return i}let a,o=1;do if(a=i.replace(/{n}/g,String(o)),o++,o>1e4)throw Error(`Failed to resolve path template "${t}" after 10000 attempts. This likely indicates a bug or an impossible constraint.`);while(n.has(a));return a}function p(e){let t=e.split(`/`),n=[];for(let r of t)if(r!==``&&r!==`.`)if(r===`..`){if(n.length===0)throw Error(`Invalid path: too many ".." segments in "${e}"`);n.pop()}else n.push(r);return n.join(`/`)}function m(e,t){if(!e)return t;let n=e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)):``,r=n?n.split(`/`):[],i=t.split(`/`),a=0,o=Math.min(r.length,i.length-1);for(let e=0;e<o&&r[e]===i[e];e++)a++;let s=r.length-a;return`../`.repeat(s)+i.slice(a).join(`/`)}function h(e){return new TextEncoder().encode(e)}function g(e,t){return function(e,t=` `){let n=``,r=0,i=e.split(/(<[^>]+>)/g).filter(Boolean);for(let e=0;e<i.length;e++){let a=i[e];if(a.trim())if(a.startsWith(`<?`))n+=a+`
|
|
2
|
-
`;else if(a.startsWith(`</`))r--,r<0&&console.warn(`XML formatting warning: negative indentation depth: ${a}`),n+=t.repeat(Math.max(r,0))+a+`
|
|
3
|
-
`;else if(a.startsWith(`<`)){let e=a.endsWith(`/>`);n+=t.repeat(r)+a+`
|
|
4
|
-
`,e||r++}else n+=t.repeat(r)+a.trim()+`
|
|
5
|
-
`}return n}(function(e){return new TextDecoder(`utf-8`).decode(e)}(e),t)}var _=class{constructor(e){this.rels=[],this.usedIds=new Set,this.reservedIds=new Set,this.nextId=1,this.sourcePart=c(e)}add(e,t,n){let r=n?.idHint&&!this.usedIds.has(n.idHint)?n.idHint:void 0;if(!r)do r=`rId`+this.nextId++;while(this.usedIds.has(r)||this.reservedIds.has(r));let i=/^rId(\d+)$/.exec(r);return i&&(this.nextId=Math.max(this.nextId,parseInt(i[1],10)+1)),this.usedIds.add(r),this.rels.push({id:r,type:e,target:t,targetMode:n?.external?`External`:void 0}),r}reserve(e){for(let t of e){if(!t)continue;this.reservedIds.add(t);let e=/^rId(\d+)$/.exec(t);e&&(this.nextId=Math.max(this.nextId,parseInt(e[1],10)+1))}}list(){return this.rels}toXmlBytes(){let e=[...this.rels].sort((e,t)=>u(t.id)-u(e.id)||e.id.localeCompare(t.id)),t=[];t.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`),t.push(`<Relationships xmlns="${v}">`);for(let n of e){let e=[`Id="${d(n.id)}"`,`Type="${d(n.type)}"`,`Target="${d(n.target)}"`];n.targetMode===`External`&&e.push(`TargetMode="External"`),t.push(`<Relationship ${e.join(` `)}/>`)}return t.push(`</Relationships>`),h(t.join(``))}},v=`http://schemas.openxmlformats.org/package/2006/relationships`,y=class{constructor(){this._defaultsSet=new Set,this._overridesSet=new Set,this._defaults=[],this._overrides=[]}addDefault(e,t){let n=function(e){let t=(e??``).trim().toLowerCase();return t.startsWith(`.`)&&(t=t.slice(1)),t}(e);this._defaultsSet.has(n)||(this._defaultsSet.add(n),this._defaults.push({key:n,content:t}))}addOverride(e,t){let n=l(e);this._overridesSet.has(n)||(this._overridesSet.add(n),this._overrides.push({key:n,content:t}))}replaceOverride(e,t){let n=l(e);if(!this._overridesSet.has(n))return;let r=this._overrides.find(e=>e.key===n);r&&(r.content=t)}toXmlBytes(){let e=[];e.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`),e.push(`<Types xmlns="${b}">`);let t=this._defaults.reverse();this.addDefault(`rels`,`application/vnd.openxmlformats-package.relationships+xml`),this.addDefault(`xml`,`application/xml`);for(let{key:n,content:r}of t)e.push(`<Default Extension="${d(n)}" ContentType="${d(r)}"/>`);let n=this._overrides;for(let{key:t,content:r}of n)e.push(`<Override PartName="${d(t)}" ContentType="${d(r)}"/>`);return e.push(`</Types>`),h(e.join(``))}},b=`http://schemas.openxmlformats.org/package/2006/content-types`,x=class{constructor(e){this.parts=[],this.relsRoot=new _(``),this.relsByPart=new Map,this.contentTypes=new y,this.zip=e}addContentType(e,t){let n=c(e);this.contentTypes.addOverride(`/`+n,t)}addDefaultType(e,t){this.contentTypes.addDefault(e,t)}replaceContentType(e,t){this.contentTypes.replaceOverride(`/`+c(e),t)}addPart(e,t,n,r){let i=c(e);this.parts.push({path:i,body:t,optionsZip:r}),n&&this.contentTypes.addOverride(`/`+i,n)}rels(e){let t=c(e||``);if(!t)return this.relsRoot;let n=this.relsByPart.get(t);return n||(n=new _(t),this.relsByPart.set(t,n)),n}async emit(){let e=[...this.parts].sort((e,t)=>e.path.localeCompare(t.path));for(let t of e){let e=o(t.body);await this.zip.add(t.path,e,t.optionsZip)}let t=this.relsRoot.toXmlBytes();await this.zip.add(`_rels/.rels`,t,{});let n=[...this.relsByPart.values()].sort((e,t)=>e.sourcePart.localeCompare(t.sourcePart));for(let e of n){let t=s(e.sourcePart),n=e.toXmlBytes();await this.zip.add(t,n,{})}let r=this.contentTypes.toXmlBytes();await this.zip.add(`[Content_Types].xml`,r,{})}async build(e){return await this.emit(),await this.zip.close(e)}},S=new Set([`xl/calcChain.xml`]),C=[/^xl\/slicers\//i,/^xl\/slicerCaches\//i];function w(e){return e===`[Content_Types].xml`||T.test(e)}var T=/^(?:(.*)\/)?_rels\/(.*)\.rels$/;function E(e){if(e===`_rels/.rels`)return``;let t=T.exec(e);if(!t)return null;let n=t[1]??``,r=t[2];return n?`${n}/${r}`:r}function D(e){return e.startsWith(`#`)}function O(e,t){if(t.startsWith(`/`))return p(t);let n=e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)):``;return p((n?n+`/`:``)+t)}var k=class{constructor(e,t,n){this._queue=[],this._scheduledByNodeKey=new Map,this._nodesByPath=new Map,this._writtenPaths=new Set,this._explicitRelTargets=new Set,this._partWriter=new x(e),this._registry=t,this._options=n??{},this._mapState=this._options.mapState??new Map,this._sourcePackage=this._options.sourcePackage??null,this._macroEnabled=this._options.macroEnabled??!1,this._reserveSourceRelIds(``)}_isSourcePartCarried(e){let t=this._sourcePackage;return!(!t||!t.has(e))&&!S.has(e)&&!t.isAbsorbed(e)&&!(!this._macroEnabled&&e===`xl/vbaProject.bin`)&&!w(e)&&(!t.hasStructuralChange()||!function(e){return C.some(t=>t.test(e))}(e))}_reserveSourceRelIds(t){let n=this._sourcePackage?.getPart(s(t));n&&this._partWriter.rels(t).reserve(e.U(n.data).map(e=>e.id))}async waitEmit(){let e=this._queue;for(;e.length;){let t=e.shift();await this._processPart(t)}}async build(e){return await this.waitEmit(),this._passthroughSourceParts(),this._applyWorkbookContentTypeVariant(),await this._partWriter.build(e??{})}_passthroughSourceParts(){let t=this._sourcePackage;if(!t)return;let n=new Set(this._writtenPaths),r=[];for(let e of t.getNames())n.has(e)||this._isSourcePartCarried(e)&&r.push(e);let i=new Set(n);for(let e of r)i.add(e);let a=t.getPart(`[Content_Types].xml`),o=a?e.H(a.data):null;if(o)for(let{ext:e,contentType:t}of o.defaults)this._partWriter.addDefaultType(e,t);for(let e of r){let n=t.getPart(e),r=o?.overrides.get(`/`+e);n.raw?this._partWriter.addPart(e,{kind:`bytes`,bytes:n.raw.compressedData},r,{passThrough:!0,compressionMethod:n.raw.compressionMethod,signature:n.raw.signature,uncompressedSize:n.uncompressedSize}):this._partWriter.addPart(e,{kind:`bytes`,bytes:n.data},r),this._writtenPaths.add(e)}for(let e of t.getNames()){if(e===`[Content_Types].xml`||!w(e))continue;let r=E(e);r!==null&&(r===``||i.has(r))&&(t.isAbsorbed(r)||this._mergeSourceRelsInto(r,t.getPart(e).data,n,i))}}_applyWorkbookContentTypeVariant(){this._macroEnabled&&this._partWriter.replaceContentType(`xl/workbook.xml`,`application/vnd.ms-excel.sheet.macroEnabled.main+xml`)}_mergeSourceRelsInto(t,n,r,i){let a=this._partWriter.rels(t),o=t===``||r.has(t);for(let s of e.U(n)){if(s.external||D(s.target)){a.add(s.type,s.target,{external:s.external,idHint:s.id});continue}let e=O(t,s.target);o&&(r.has(e)||this._explicitRelTargets.has(`${t}::${e}`))||(i.has(e)?a.add(s.type,s.target,{idHint:s.id}):this._registry.ownsRelType(s.type)||S.has(e)||this._sourcePackage?.isAbsorbed(e)||console.warn(`Dropping preserved relationship to missing part '${e}'`,t||`(root)`))}}addPart(e,t,n,r){return this._addPartInternal(``,e,t,n,r)}_addPartInternal(e,t,n,r,i){let a=this._registry.get(t);if(!a)throw Error(`No emitter registered for kind '${t}'.`);let o=a.getContentType(n),s=a.getRelTypeUri(n),c=r??a.getPath?.(n);if(!c)throw Error(`No path provided in either argument or emitter.`);let l=this._writtenPaths,u=f(e,c,l),d=`${t}:${u}`,p=this._scheduledByNodeKey.get(d);if(!p){let e;this._reserveSourceRelIds(u),p={kind:t,key:d,payload:n,path:u,contentType:o,promise:new Promise(t=>{e=t}),resolve:e},this._scheduledByNodeKey.set(d,p),this._queue.push(p)}let h=this._nodesByPath.get(e);h||(h=new Set,this._nodesByPath.set(e,h)),h.add(d),!o||s||e||this._partWriter.rels(``).add(`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,u);let g=null;if(s){let t=m(e,p.path);g=this._partWriter.rels(e).add(s,t,{idHint:i})}return l.add(u),{path:u,contentTypeUri:o,relId:g}}addBinary(e,t,n,r,i=!1,a){return this._addBinaryInternal(``,e,t,n,r,i,a)}_addBinaryInternal(e,t,n,r,i,a=!1,o){if(!i)throw Error(`No path provided for binary.`);if(!n)throw Error(`No content type provided for binary.`);let s=this._writtenPaths,c=f(e,i,s,a),l=null;if(r){let t=m(e,c);l=this._partWriter.rels(e).add(r,t,{idHint:o})}if(e||this._partWriter.rels(``).add(`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,c),!s.has(c)){let e=c.split(`.`).pop()||``;e&&this._partWriter.addDefaultType(e,n),this._partWriter.addPart(c,{kind:`bytes`,bytes:t},void 0,{level:0,uncompressedSize:t.byteLength,dataDescriptor:!1}),s.add(c)}return{path:c,contentTypeUri:n,relId:l}}async _waitForDescendants(e){let t=this._nodesByPath.get(e);if(!t||t.size===0)return;let n=[];for(let e of t){let t=this._scheduledByNodeKey.get(e);if(t){let e=this._processPart(t);n.push(e)}}await Promise.all(n)}async _processPart(e){if(e.processed)return e.promise;e.processed=!0;let t=this._registry.get(e.kind),n=e.path;this._partWriter.addContentType(e.path,e.contentType);try{let r=[],i={write:e=>{r.push(e)}},o;await t.emit(e.payload,{getXMLWriter:()=>o||(o=a(i),o),addPart:(e,t,r,i)=>this._addPartInternal(n,e,t,r,i),addBinary:(e,t,r,i,a=!1,o)=>this._addBinaryInternal(n,e,t,r,i,a,o),addExternal:(e,t,r)=>({path:t,contentTypeUri:null,relId:this._partWriter.rels(n).add(e,t,{external:!0,idHint:r})}),addRelationship:(e,t,r)=>{if(!this._writtenPaths.has(t)&&!this._isSourcePartCarried(t))return null;let i=m(n,t),a=this._partWriter.rels(n).add(e,i,{idHint:r});return this._explicitRelTargets.add(`${n}::${t}`),a},waitEmit:()=>this._waitForDescendants(e.path),getPath:()=>e.path,getSharedStates:()=>this._mapState,warn:(t,n,r)=>{let i=n??e.path,a=this._options.onWarning;a?a(t,i,r):console.warn(t,i)},log:(t,n)=>{console.warn(t,n??e.path)}});let s=function(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}(r),c=this._options.onPartEmitted;c&&await c(e.kind,e.path,s),ee&&(console.log(`\n=== ${e.path} ===`),console.log(g(s))),this._partWriter.addPart(e.path,{kind:`bytes`,bytes:s},e.contentType)}catch(t){throw this._options.onPartError?.(e.kind,e.path,t),t}finally{this._nodesByPath.delete(e.path),this._scheduledByNodeKey.delete(e.key),e.resolve()}}},ee=!1,A=class{constructor(){this.map=new Map}register(e){let t=e.getKind();if(this.map.has(t))throw Error(`Duplicate part kind: ${t}`);this.map.set(t,e)}get(e){let t=this.map.get(e);if(!t)throw Error(`Unknown part kind: ${e}`);return t}has(e){return this.map.has(e)}ownsRelType(e){for(let t of this.map.values())if(t.getRelTypeUri()===e)return!0;return!1}};function j(e,t,n){e&&(e.algorithm&&(t[n?`${n}AlgorithmName`:`algorithmName`]=e.algorithm),e.hash&&(t[n?`${n}HashValue`:`hashValue`]=e.hash),e.salt&&(t[n?`${n}SaltValue`:`saltValue`]=e.salt),e.spinCount!==void 0&&(t[n?`${n}SpinCount`:`spinCount`]=e.spinCount))}var te=`hiddenFormulaXfs`,M=class{constructor(e,t){this._variants=new Map,this._sources=[],this._json=e,this._styles=t,this._directCount=Math.max(1,e?.direct?.length??0)}getHiddenXf(e){let t=this._variants.get(e);return t!==void 0||(this._isShown(e)?t=e:(t=this._directCount+this._sources.length,this._sources.push(e)),this._variants.set(e,t)),t}getSources(){return this._sources}_isShown(e){let n=this._json?.direct?.[e],r=n?.protection?.showFormulas;if(r!==void 0)return r;let i=(e===0?void 0:n?.named)??t.IStyle.BuiltInName.Normal;return this._styles.getNamedStyles().getByName(i)?.toJSON().style?.protection?.showFormulas??!1}},N=class{constructor(){this._daprFMBks=[],this._daprFMBkMap=new Map,this._rvFMBks=[],this._rvFMBkMap=new Map,this._valueMeta=[]}registerArrayCell(e){let t=+!!e,n=`1,${t}`,r=this._daprFMBkMap.get(n);return r===void 0&&(r=this._daprFMBks.length,this._daprFMBks.push({fDynamic:1,fCollapsed:t}),this._daprFMBkMap.set(n,r)),r+1}registerRichValueCell(e){let t=this._rvFMBkMap.get(e);t===void 0&&(t=this._rvFMBks.length,this._rvFMBks.push(e),this._rvFMBkMap.set(e,t));let n=this._valueMeta.length;return this._valueMeta.push(t),n+1}hasCellMeta(){return this._daprFMBks.length>0}hasValueMeta(){return this._valueMeta.length>0}hasAny(){return this.hasCellMeta()||this.hasValueMeta()}getDAPRFutureMetadataBlocks(){return this._daprFMBks}getRVFutureMetadataBlocks(){return this._rvFMBks}getValueMeta(){return this._valueMeta}},ne=class{constructor(e,t=console.warn){this._entries=[],this._keyMap=new Map,this._metaCollector=e,this._onWarn=t}add(e){if(e==null)return this._onWarn?.(`RichValueCollector.add: null/undefined value — falling back to #UNKNOWN!`),this._registerFallback();if(t.FormulaError.isError(e)){let t=e.getCode(),n=this._register(`_error:${t}`,{errorType:``+(t-1)},P);return this._metaCollector.registerRichValueCell(n)}return e.isIRichData&&e.getType(),this._onWarn?.(`RichValueCollector.add: unsupported rich value type — falling back to #UNKNOWN!`,e),this._registerFallback()}_registerFallback(){let e=this._register(`_error:fallback`,{errorType:t.FormulaError.Code.Unknown-1},P);return this._metaCollector.registerRichValueCell(e)}_register(e,t,n){let r=this._keyMap.get(e);return r===void 0&&(r=this._entries.length,this._entries.push({handler:n,rawValue:t}),this._keyMap.set(e,r)),r}getCount(){return this._entries.length}hasAny(){return this._entries.length>0}getEntries(){return this._entries}uniqueHandlers(){let e=new Set,t=[];for(let n of this._entries)e.has(n.handler)||(e.add(n.handler),t.push(n.handler));return t}handlerStructureIndex(e){let t=0,n=new Set;for(let r of this._entries)if(!n.has(r.handler)){if(r.handler===e)return t;n.add(r.handler),t++}return-1}},P=new class{constructor(e,t){this.type=e,this.props=t}getValues(e){return this.props.map(([t,,n=``])=>{let r=e?.[t];return r==null?n:``+r})}}(`_error`,[[`errorType`,`i`,``],[`subType`,`i`,`0`]]),F=`application/xml`,I=async(e,t)=>{let n=e.parts,r=n?n.length:0;for(let i=0;i<r;i++){let r=n[i];try{await L(r,t)}catch(n){t.log(`Unable to write the part '${r.name??r.id}' referenced by '${e.name??e.id}'`,n)}}},L=async(e,t,r)=>{let i=e.resId===void 0?void 0:t.getSharedStates().get(n)?.get(e.resId);if(!i)return e.resId===void 0?t.addPart(`embeddedPart`,e,r,e.id):(t.log(`The part '${e.name??e.id}' cites resource ${e.resId}, which is not in the workbook.`),null);let a=await i.getExternalURI();if(a){let n=t.addExternal(e.type,a,e.id);return n.relId!==e.id&&t.log(`The external reference '${e.id}' was written as '${n.relId}'; the markup will not find it.`),n}let o=await i.toBuffer();return t.addBinary(new Uint8Array(o),e.contentType||F,e.type,r??`./${re(e.name)}`,!1,e.id)},re=e=>{let t=e&&/^[\w.\-~%]+$/.test(e)?e:`part.xml`,n=t.lastIndexOf(`.`),r=n>0?t.slice(0,n):t,i=n>0?t.slice(n):``;return`${r.replace(/\d+$/,``)}{n}${i}`},ie=`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml`,ae=(e,t)=>e.getSharedStates().get(`pivotCachePaths`)?.get(t)??null,oe=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`,se=`fileVersion`,ce=`sheetParts`,le=`externalLinkParts`;function ue(e){if(!e||e.indexOf(`[`)===-1)return[];let t=[],n=e.replace(/"(?:[^"]|"")*"/g,``);for(let e of n.matchAll(/\[(\d+)\]/g)){let n=Number(e[1]);n>0&&!t.includes(n)&&t.push(n)}return t}var de={auto:`auto`,automaticExceptTables:`autoNoTable`,manual:`manual`};function R(e,n,r,i){if(!r)return;let a=typeof r==`string`?n.parseColor(r):r;i&&e.start(i);let o=a.getType(),s=a.getVal(),c=a.getAdjustments(),l=c&&c.length>0;switch(o){case`scheme`:l?(e.start(`schemeClr`,{val:s}),z(e,c),e.end(`schemeClr`)):e.empty(`schemeClr`,{val:s});break;case`named`:if(t.Color.isSystem(s)){let t=a.getLastColor()??a.getBaseColor().toHex().toString(!1).replace(`#`,``);l?(e.start(`sysClr`,{val:s,lastClr:t}),z(e,c),e.end(`sysClr`)):e.empty(`sysClr`,{val:s,lastClr:t})}else l?(e.start(`prstClr`,{val:s}),z(e,c),e.end(`prstClr`)):e.empty(`prstClr`,{val:s});break;case`auto`:{let t=a.getLastColor()??a.getBaseColor().toHex().toString(!1).replace(`#`,``);l?(e.start(`sysClr`,{val:`windowText`,lastClr:t}),z(e,c),e.end(`sysClr`)):e.empty(`sysClr`,{val:`windowText`,lastClr:t});break}case`index`:l?(e.start(`srgbClr`,{val:s}),z(e,c),e.end(`srgbClr`)):e.empty(`srgbClr`,{val:s});break;case`hsl`:let n=a.toHex().toString();l?(e.start(`srgbClr`,{val:n}),z(e,c),e.end(`srgbClr`)):e.empty(`srgbClr`,{val:n});break;case`rgb`:case`lrgb`:let r=a.toHex().toString();l?(e.start(`srgbClr`,{val:r}),z(e,c),e.end(`srgbClr`)):e.empty(`srgbClr`,{val:r});break;case`hex`:let i=s.replace(`#`,``).toUpperCase();l?(e.start(`srgbClr`,{val:i}),z(e,c),e.end(`srgbClr`)):e.empty(`srgbClr`,{val:i});break;default:let o=s.replace(`#`,``).toUpperCase();e.empty(`srgbClr`,{val:o})}i&&e.end(i)}function z(e,t){if(t&&t.length!==0)for(let n of t)for(let[t,r]of Object.entries(n)){if(r==null)continue;let n=t;if(n)if(typeof r==`boolean`)e.empty(n);else{let i;if(t===`alpha`||t===`alphaOff`||t===`alphaMod`)i=Math.round(1e5*r);else{if(t===`eTint`){if(r<0){e.empty(`shade`,{val:Math.round(1e5*(1+r)).toString()});continue}e.empty(`tint`,{val:Math.round(1e5*r).toString()});continue}i=Math.round(1e3*r)}e.empty(n,{val:i.toString()})}}}function B(e,n,r,i,a=!1,o=!1){if(!r)return;let s=typeof r==`string`?n.parseColor(r):r,c=()=>{e.empty(i,{rgb:ve(s.toHex().toString(!0))})},l=s.getAdjustments(),u=l&&l.length>0,d=s.getType();if(d!==t.IColor.Type.Auto){if(d===t.IColor.Type.Scheme){let n=s.getVal(),r=fe[n]??n,a=he.get(r);if(a===void 0&&r!==`phClr`)return console.warn(`Color scheme not in theme. schemeVal=${n} themeKey=${r}`),c();let o={};if(o.theme=a,u){if(!function(e){for(let n of e)switch(Object.keys(n)[0]){case t.IColor.AdjustmentType.Tint:case t.IColor.AdjustmentType.ETint:case t.IColor.AdjustmentType.Shade:case t.IColor.AdjustmentType.Lum:case t.IColor.AdjustmentType.LumOff:case t.IColor.AdjustmentType.LumMod:case t.IColor.AdjustmentType.Alpha:case t.IColor.AdjustmentType.AlphaOff:case t.IColor.AdjustmentType.AlphaMod:continue;default:return!1}return!0}(l))return c();let e=l.length===1?l[0][t.IColor.AdjustmentType.ETint]:void 0,n;if(e!==void 0)n=ge(e);else{let e=s.getBaseColor().toHex().toString(!0),t=s.toHex().toString(!0);n=ge(function(e,t){let n=V(e,0,255),r=V(t,0,255);return Math.abs(r-n)<1e-9?0:r<n?n<=1e-9?-1:V(r/n-1,-1,0):255-n<=1e-9?0:V((r-n)/(255-n),0,1)}(_e(e),_e(t)))}n!==0&&(o.tint=n)}e.empty(i,o);return}if(d===t.IColor.Type.Index){let t=s.getVal(),n=t.substring(5,t.length);e.empty(i,{indexed:Number(n)});return}return c()}e.empty(i,{auto:1})}var fe={bg1:`lt1`,tx1:`dk1`,bg2:`lt2`,tx2:`dk2`,accent1:`accent1`,accent2:`accent2`,accent3:`accent3`,accent4:`accent4`,accent5:`accent5`,accent6:`accent6`,hlink:`hlink`,folHlink:`folHlink`},pe=Object.freeze([`lt1`,`dk1`,`lt2`,`dk2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`]),me=Object.freeze([`dk1`,`lt1`,`dk2`,`lt2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`]),he=new Map(pe.map((e,t)=>[e,t]));function V(e,t,n){return Math.max(t,Math.min(n,e))}function ge(e){let t=V(e,-1,1);return Math.abs(t)<1e-12?0:t}function _e(e){let t=function(e){let t=e.replace(/^#/,``).toUpperCase();if(t.length===8)return t.slice(2);if(t.length===6)return t;throw Error(`Invalid hex: ${e}`)}(e),n=parseInt(t.slice(0,2),16)/255,r=parseInt(t.slice(2,4),16)/255,i=parseInt(t.slice(4,6),16)/255;return(Math.max(n,r,i)+Math.min(n,r,i))/2*255}function ve(e){let t=e.replace(/^#/,``).toUpperCase();if(t.length===8)return t;if(t.length===6)return`FF`+t;throw Error(`Invalid hex: ${e}`)}function ye(e,t=!1){let n=e;return n.length===8&&(n=n.substring(2,8)),n.length===6&&(n=(t?`00`:`FF`)+n),n.toUpperCase()}function be(e){let t=`[Threaded comment]\n\nYour version of Excel allows you to read this threaded comment; however, any edits to it will get removed if the file is opened in a newer version of Excel. Learn more: https://go.microsoft.com/fwlink/?linkid=870924\n\nComment:\n ${e.getContent()}`,n=e.getReplies();for(let e=0;e<n.length;e++)t+=`\nReply:\n ${n[e].getContent()}`;return t}function xe(e,t,n){if(typeof t==`string`)return void we(e,t);let r=t.runs;for(let t=0;t<r.length;t++){let i=r[t];e.start(`r`),i.font&&Ce(e,i.font,n),we(e,i.text??``),e.end(`r`)}}var Se={serif:1,"sans-serif":2,monospace:3,cursive:4,fantasy:5};function Ce(e,n,r){e.start(`rPr`);let i=(t,n)=>{n!==void 0&&e.empty(t,n?void 0:{val:0})};if(i(`b`,n.weight===void 0?void 0:n.weight>=700),i(`i`,n.style===void 0?void 0:n.style!==t.IFont.Style.Normal),i(`strike`,n.strike),i(`extend`,n.extend),i(`outline`,n.outline),i(`shadow`,n.shadow),n.underline&&e.empty(`u`,n.underline===t.IFont.UnderlineStyle.Single?void 0:{val:n.underline}),n.verticalAlign){let r=n.verticalAlign===t.IFont.VerticalAlignment.Super?`superscript`:n.verticalAlign===t.IFont.VerticalAlignment.Sub?`subscript`:n.verticalAlign;e.empty(`vertAlign`,{val:r})}n.size!==void 0&&e.empty(`sz`,{val:n.size}),n.color&&function(e,t,n){let r=/^index(\d+)$/.exec(t);if(r)return void e.empty(`color`,{indexed:Number(r[1])});B(e,n,t,`color`)}(e,n.color,r),n.family&&e.empty(`rFont`,{val:n.family});let a=n.fallbacks;if(a)for(let t=0;t<a.length;t++){let n=Se[a[t]];if(n!==void 0){e.empty(`family`,{val:n});break}}n.charset!==void 0&&e.empty(`charset`,{val:n.charset}),n.scheme&&n.scheme!==t.IFont.Scheme.None&&e.empty(`scheme`,{val:n.scheme}),e.end(`rPr`)}function we(t,n){t.start(`t`,e.C.test(n)||/[\n\r]/.test(n)?e.S:void 0),t.text(n),t.end(`t`)}function Te(e){let n=e.getRanges();if(n.isInvalid())return null;let r=n.getCoords()[0];return r?{ref:t.AddressUtils.cellToString({rowIndex:r.rowStart,colIndex:r.colStart}),row:r.rowStart,col:r.colStart}:null}function H(e,n,r,i,a=!1,o=!1){let s=i.getTheme();if(a&&n.start(`fill`),typeof r==`string`&&(r={type:t.IFill.Type.Solid,color:r}),r.type===t.IFill.Type.None)a?n.empty(`patternFill`,{patternType:`none`}):n.empty(`noFill`);else if(r.type===t.IFill.Type.Solid){let e=r;a?n.start(`patternFill`,{patternType:`solid`}):n.start(`solidFill`),e.color&&(a?B(n,s,e.color,`fgColor`):R(n,s,e.color)),a?n.end(`patternFill`):n.end(`solidFill`)}else if(r.type===t.IFill.Type.Pattern){let e=r,t=e.patternType||`solid`;n.start(`patternFill`,{patternType:t}),e.foreground&&(a?B(n,s,o?e.background:e.foreground,`fgColor`):R(n,s,o?e.background:e.foreground)),e.background&&(a?B(n,s,o?e.foreground:e.background,`bgColor`):R(n,s,o?e.foreground:e.background)),n.end(`patternFill`)}else if(r.type===t.IFill.Type.Gradient&&a){let e=r,i={},a=e.gradientType;if(a!==t.IFill.GradientType.Path&&a!==t.IFill.GradientType.Linear||(i.type=a),e.angle!==void 0){let t=(e.angle-90)%360;t!==0&&(i.degree=String(t))}let o=e.focus;o&&(o.left&&(i.left=String(o.left)),o.right&&(i.right=String(o.right)),o.top&&(i.top=String(o.top)),o.bottom&&(i.bottom=String(o.bottom))),n.start(`gradientFill`,i);let c=e.stops;if(c&&c.length>0)for(let e of c){let t,r=0;if(typeof e==`string`||typeof e==`object`&&!(`offset`in e))t=e,r=0;else{let n=e;r=n.offset||0,t=n.color}n.start(`stop`,{position:String(r)}),t&&B(n,s,t,`color`),n.end(`stop`)}n.end(`gradientFill`)}else if(r.type===t.IFill.Type.Gradient){let e=r,i={};e.isRotatedWithShape!==void 0&&(i.rotWithShape=e.isRotatedWithShape?`1`:`0`),n.start(`gradFill`,i),n.start(`gsLst`);let a=e.stops;if(a&&a.length>0)for(let e of a){let r,i=0;if(typeof e==`string`||typeof e==`object`&&!(`offset`in e))r=e;else{let t=e;i=t.offset||0,r=t.color}n.start(`gs`,{pos:String(t.CommonUtils.roundAccurately(1e3*i,0))}),r&&R(n,s,r),n.end(`gs`)}n.end(`gsLst`);let o=e.gradientType;if(o&&o!==t.IFill.GradientType.Linear){let r=o===`radial`?`circle`:o;n.start(`path`,{path:r});let i=e.focus;if(i){let e={};i.t!==void 0&&(e.t=String(t.CommonUtils.roundAccurately(1e3*i.t,0))),i.l!==void 0&&(e.l=String(t.CommonUtils.roundAccurately(1e3*i.l,0))),i.b!==void 0&&(e.b=String(t.CommonUtils.roundAccurately(1e3*i.b,0))),i.r!==void 0&&(e.r=String(t.CommonUtils.roundAccurately(1e3*i.r,0))),n.empty(`fillToRect`,e)}n.end(`path`)}else{let r={};e.angle!==void 0&&(r.ang=String(t.CommonUtils.roundAccurately(6e4*e.angle,0)));let i=e.scaled;i!==void 0&&(r.scaled=i?`1`:`0`),n.empty(`lin`,r)}n.end(`gradFill`)}else a?n.empty(`patternFill`,{patternType:`none`}):n.empty(`noFill`);a&&n.end(`fill`)}var Ee=(e,n,r,i)=>{if(!r)return n.start(`ln`),n.empty(`noFill`),void n.end(`ln`);typeof r==`string`&&(r={fill:r});let a=r,o={};if(a.width!==void 0&&(o.w=String(G(a.width))),a.lineCap!==void 0&&(o.cap=De(a.lineCap)),a.compound!==void 0&&(o.cmpd=a.compound),a.align!==void 0&&(o.algn=a.align),n.start(`ln`,o),H(0,n,a.fill??je,i),Array.isArray(a.dash)){n.start(`custDash`);for(let e=0;e<a.dash.length;e+=2)n.empty(`ds`,{d:String(t.CommonUtils.roundAccurately(1e3*a.dash[e],0)),sp:String(t.CommonUtils.roundAccurately(1e3*(a.dash[e+1]??0),0))});n.end(`custDash`)}else typeof a.dash==`string`&&n.empty(`prstDash`,{val:a.dash});if(a.lineJoin===t.IStroke.LineJoin.Round)n.empty(`round`);else if(a.lineJoin===t.IStroke.LineJoin.Bevel)n.empty(`bevel`);else if(a.lineJoin===t.IStroke.LineJoin.Miter){let e={};a.miterLimit!==void 0&&(e.lim=String(t.CommonUtils.roundAccurately(1e5*a.miterLimit,0))),n.empty(`miter`,e)}n.end(`ln`)},De=e=>e===`round`?`rnd`:e===`butt`?`flat`:e===`square`?`sq`:e,Oe=(e,t,n,r=void 0,i=!1)=>{if(!n||!(n.fill||n.stroke||n.effects?.length||i))return;let a=e.getXMLWriter();r&&a.start(r),a.pushDefaultNamespace(`a`),n.fill&&H(0,a,n.fill,t),n.stroke&&Ee(0,a,n.stroke,t),n.effects?.length?ke(e,a,t.getTheme(),n.effects):i&&a.empty(`effectLst`),a.popDefaultNamespace(),r&&a.end(r)},ke=(e,t,n,r)=>{t.start(`effectLst`);for(let e of r)Ae(t,n,e);t.end(`effectLst`)},Ae=(e,n,r)=>{switch(r.type){case t.IEffect.Type.OuterShadow:{let i=r,a={};i.blur!==void 0&&(a.blurRad=String(G(i.blur))),i.distance!==void 0&&(a.dist=String(G(i.distance))),i.angle!==void 0&&(a.dir=String(q(i.angle))),i.alignment!==void 0&&(a.algn=i.alignment),i.isRotatedWithShape!==void 0&&(a.rotWithShape=i.isRotatedWithShape?`1`:`0`),i.scaleX!==void 0&&(a.sx=String(t.CommonUtils.roundAccurately(1e3*i.scaleX,0))),i.scaleY!==void 0&&(a.sy=String(t.CommonUtils.roundAccurately(1e3*i.scaleY,0))),i.skewX!==void 0&&(a.kx=String(q(i.skewX))),i.skewY!==void 0&&(a.ky=String(q(i.skewY))),e.start(`outerShdw`,a),R(e,n,i.color),e.end(`outerShdw`);break}case t.IEffect.Type.InnerShadow:{let t=r,i={};t.blur!==void 0&&(i.blurRad=String(G(t.blur))),t.distance!==void 0&&(i.dist=String(G(t.distance))),t.angle!==void 0&&(i.dir=String(q(t.angle))),e.start(`innerShdw`,i),R(e,n,t.color),e.end(`innerShdw`);break}case t.IEffect.Type.PresetShadow:{let t=r,i={prst:t.preset};t.distance!==void 0&&(i.dist=String(G(t.distance))),t.angle!==void 0&&(i.dir=String(q(t.angle))),e.start(`prstShdw`,i),R(e,n,t.color),e.end(`prstShdw`);break}case t.IEffect.Type.Glow:{let t=r,i={};t.radius!==void 0&&(i.rad=String(G(t.radius))),e.start(`glow`,i),R(e,n,t.color),e.end(`glow`);break}case t.IEffect.Type.SoftEdge:{let t=r,n={};t.radius!==void 0&&(n.rad=String(G(t.radius))),e.empty(`softEdge`,n);break}case t.IEffect.Type.Reflection:{let n=r,i={};n.blur!==void 0&&(i.blurRad=String(G(n.blur))),n.distance!==void 0&&(i.dist=String(G(n.distance))),n.angle!==void 0&&(i.dir=String(q(n.angle))),n.fadeAngle!==void 0&&(i.fadeDir=String(q(n.fadeAngle))),n.startAlpha!==void 0&&(i.stA=String(t.CommonUtils.roundAccurately(1e3*n.startAlpha,0))),n.startPosition!==void 0&&(i.stPos=String(t.CommonUtils.roundAccurately(1e3*n.startPosition,0))),n.endAlpha!==void 0&&(i.endA=String(t.CommonUtils.roundAccurately(1e3*n.endAlpha,0))),n.endPosition!==void 0&&(i.endPos=String(t.CommonUtils.roundAccurately(1e3*n.endPosition,0))),n.scaleX!==void 0&&(i.sx=String(t.CommonUtils.roundAccurately(1e3*n.scaleX,0))),n.scaleY!==void 0&&(i.sy=String(t.CommonUtils.roundAccurately(1e3*n.scaleY,0))),n.skewX!==void 0&&(i.kx=String(q(n.skewX))),n.skewY!==void 0&&(i.ky=String(q(n.skewY))),n.alignment!==void 0&&(i.algn=n.alignment),n.isRotatedWithShape!==void 0&&(i.rotWithShape=n.isRotatedWithShape?`1`:`0`),e.empty(`reflection`,i);break}}},je={type:`none`},U=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,W=`imagesWritten`,Me={mime:`image/png`,ext:`png`},G=(e=0)=>t.CommonUtils.roundAccurately(12700*e,0),K=(e=0)=>t.CommonUtils.roundAccurately(9525*e,0),q=e=>6e4*e,Ne=(e=0)=>t.CommonUtils.roundAccurately(100*e,2),Pe=class{constructor(){this._dxfs=[],this._byKey=new Map}add(e){let t=JSON.stringify(e),n=this._byKey.get(t);return n===void 0&&(n=this._dxfs.length,this._dxfs.push(e),this._byKey.set(t,n)),n}getDxfs(){return this._dxfs}getCount(){return this._dxfs.length}},Fe=`cfDxfs`,Ie=[`font`,`fill`,`borders`,`numberFormat`,`alignment`];function Le(e,n,r){if(n){if(n.named){let i=n.named,a=i.toLowerCase(),o=r.namedStyleMap;if(!o.has(a)){o.set(a,``+o.size);let n=e.getNamedStyles().getByName(i).toJSON();Le(e,n.style??t.CommonUtils.EmptyObject,r),r.namedStyles.push(n)}}n.font&&function(e,n,r){if(!n)return;let i=t.BufferUtils.JSONStableStringify(n),a=r.fontMap;if(!a.has(i)){let e=a.size;a.set(i,``+e),r.fonts.push(n)}}(0,n.font,r),n.fill&&function(e,n,r){if(!n)return;let i=t.BufferUtils.JSONStableStringify(n),a=r.fillMap;if(!a.has(i)&&typeof n==`object`&&n.type){let e=a.size;a.set(i,``+e),r.fills.push(n)}}(0,n.fill,r),n.borders&&function(e,n,r){if(!n)return;let i=t.BufferUtils.JSONStableStringify(n),a=r.borderMap;if(!a.has(i)){let e=a.size;a.set(i,``+e),r.borders.push(n)}}(0,n.borders,r),n.numberFormat!==void 0&&function(e,n,r){if(!n)return;let i=t.NumberFormat.toBuiltInID(n),a=r.numFmtMap;if(!a.has(i)){let e=0;typeof i==`number`?e=i:(e=r.numFmtsCustom.length+We,r.numFmtsCustom.push(i)),a.set(n,``+e)}}(0,n.numberFormat,r)}}function Re(e,t,n){if(!t)return;let r=t.name.toLowerCase();n.namedStyleMap.has(r)||(n.namedStyleMap.set(r,``+n.namedStyleMap.size),n.namedStyles.push(t),Le(e,t.style,n))}function ze(e,t,n,r,i=!1){let a=r.getDefaultFontSize(),o=r.getTheme().getFontScheme().getMinorFont()??`Calibri`,s=r.getNormal().getFont().getColor();t.start(`font`),n.weight&&n.weight>=700&&t.empty(`b`),n.style&&n.style!==`normal`&&t.empty(`i`),n.strike&&t.empty(`strike`),n.underline&&t.empty(`u`,{val:n.underline}),n.outline&&t.empty(`outline`),n.shadow&&t.empty(`shadow`),n.extend&&t.empty(`extend`);let c=n.verticalAlign;c&&(c===`super`&&(c=`superscript`),c===`sub`&&(c=`subscript`),t.empty(`vertAlign`,{val:c})),i?n.size!==void 0&&t.empty(`sz`,{val:String(n.size)}):t.empty(`sz`,{val:String(n.size??a)}),B(t,r.getTheme(),n.color??s,`color`,!i);let l=!i||n.family&&n.family!==o;if(l&&(t.empty(`name`,{val:n.family??o}),n.fallbacks&&n.fallbacks.length>0)){let e=n.fallbacks;e.includes(`serif`)?t.empty(`family`,{val:1}):e.includes(`sans-serif`)?t.empty(`family`,{val:2}):e.includes(`monospace`)?t.empty(`family`,{val:3}):e.includes(`cursive`)?t.empty(`family`,{val:4}):e.includes(`fantasy`)&&t.empty(`family`,{val:5})}n.charset!==void 0&&n.charset!==null&&t.empty(`charset`,{val:String(n.charset)});let u=n.scheme??(n.family===void 0?`minor`:void 0);l&&u!==void 0&&u!==`none`&&t.empty(`scheme`,{val:u}),t.end(`font`)}function J(e,t,n,r,i,a=!1){if(!i||i.style===`none`||!i.style)return void(a&&!i||t.empty(r));t.start(r,{style:i.style});let o=i.color;o&&B(t,n,o,`color`,!a,a),t.end(r)}function Be(e,t,n,r,i=!1){let a={};i?(a.diagonalUp=`0`,a.diagonalDown=`0`):(n.diagonalUp&&(a.diagonalUp=`1`),n.diagonalDown&&(a.diagonalDown=`1`)),t.start(`border`,a),J(0,t,r,`left`,n.left,i),J(0,t,r,`right`,n.right,i),J(0,t,r,`top`,n.top,i),J(0,t,r,`bottom`,n.bottom,i),i?(J(0,t,r,`vertical`,n.vertical,i),J(0,t,r,`horizontal`,n.horizontal,i)):J(0,t,r,`diagonal`,n.diagonalUp??n.diagonalDown,i),t.end(`border`)}function Ve(e,n,r,i=!1){let a={};r.horizontal&&r.horizontal!==t.ITextFrame.HorizontalAlignment.General&&(a.horizontal=r.horizontal),r.vertical&&r.vertical!==t.ITextFrame.VerticalAlignment.Bottom&&(a.vertical=r.vertical);let o=r.rotation;r.stacked&&(a.textRotation=`255`,o=0),o&&(o>=270&&o<360?o=360-o:o>0&&o<=90&&(o+=90),a.textRotation=String(o));let s=r.overflow;switch(s===t.ITextFrame.Overflow.Wrap&&(a.wrapText=`1`),r.indent&&(a.indent=``+r.indent),r.relativeIndent&&(a.relativeIndent=``+r.relativeIndent),r.justifyLastLine&&(a.justifyLastLine=`1`),s===t.ITextFrame.Overflow.Shrink&&(a.shrinkToFit=`1`),r.readingDirection){case t.ITextFrame.ReadingDirection.Auto:break;case t.ITextFrame.ReadingDirection.LeftToRight:a.readingOrder=`1`;break;case t.ITextFrame.ReadingDirection.RightToLeft:a.readingOrder=`2`}return Object.keys(a).length>0?a:null}function He(e,n,r,i,a,o,s=!1){let c={},l=null,u=i.named;u&&(l=r.getNamedStyles().getByName(u).toJSON().style);let d=i.font??l?.font,f=d?a.fontMap.get(t.BufferUtils.JSONStableStringify(d))??0:0,p=i.fill??l?.fill,m=p?a.fillMap.get(t.BufferUtils.JSONStableStringify(p))??0:0,h=i.borders??l?.borders,g=h?a.borderMap.get(t.BufferUtils.JSONStableStringify(h))??0:0,_=i.numberFormat??l?.numberFormat;if(c.numFmtId=(_===void 0?void 0:a.numFmtMap.get(_))??`0`,c.fontId=String(f),c.fillId=String(m),c.borderId=String(g),o){let e=i.named??t.IStyle.BuiltInName.Normal;c.xfId=a.namedStyleMap.get(e.toLowerCase())}let v=null,y=i.alignment??l?.alignment;y&&(v=Ve(0,0,y)),i.font&&(c.applyFont=`1`),i.fill&&(c.applyFill=`1`),i.numberFormat&&(c.applyNumberFormat=`1`),i.borders&&(c.applyBorder=`1`),v&&(c.applyAlignment=`1`);let b=null,x=i.protection?.alwaysUnlocked??l?.protection?.alwaysUnlocked??!1;(x||s)&&(b={},x&&(b.locked=`0`),s&&(b.hidden=`1`),c.applyProtection=`1`),i.quotePrefix&&(c.quotePrefix=`1`),v||b?(n.start(`xf`,c),v&&n.empty(`alignment`,v),b&&n.empty(`protection`,b),n.end(`xf`)):n.empty(`xf`,c)}function Ue(e,n,r,i,a,o=`dxf`,s=We){if(n.start(o),r.font&&ze(0,n,r.font,i,!0),r.numberFormat!==void 0&&r.numberFormat!==null){let e=t.NumberFormat.toBuiltInID(r.numberFormat),i=typeof e==`number`,a=i?t.NumberFormat.builtInFormat(e):String(e);a&&n.empty(`numFmt`,{numFmtId:String(i?e:s++),formatCode:a})}if(r.fill&&H(0,n,r.fill,i,!0,!0),r.alignment){let e=Ve(0,0,r.alignment,!0);e&&n.empty(`alignment`,e)}return r.borders&&Be(0,n,r.borders,a,!0),n.end(o),s}var We=164,Ge=Object.freeze([`wholeTable`,`headerRow`,`totalRow`,`firstColumn`,`lastColumn`,`firstRowStripe`,`secondRowStripe`,`firstColumnStripe`,`secondColumnStripe`,`firstHeaderCell`,`lastHeaderCell`,`firstTotalCell`,`lastTotalCell`]),Ke=t.ICondition.BuiltInOperatorNames,qe=(e,t,n,r,i,a)=>{let o=r.sorts,s=o?o.length:0;if(s===0)return;let c={};if(s>0){let e=o[0].criteria?.collatorOptions;e&&(c.caseSensitive=typeof e!=`object`||Array.isArray(e)||e.sensitivity!==`case`&&e.sensitivity!==`variant`?`0`:`1`)}c.ref=n.getRange().toString(),c[`xmlns:xlrd2`]=`http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2`,t.start(`sortState`,c);for(let e=0;e<s;e++){let n=o[e],r=n.criteria??{},s=n.index+a.colStart,c={};r.reverse&&(c.descending=`1`),c.ref=i.getIntersect({colStart:s,rowStart:a.rowStart,colEnd:s,rowEnd:a.rowEnd}).toString(),r.sortOn&&(c.sortBy=r.sortOn),r.dxfId!==void 0&&(c.dxfId=r.dxfId),r.iconSet!==void 0&&(c.iconSet=r.iconSet),r.customList!==void 0&&(c.customList=r.customList),t.empty(`sortCondition`,c)}t.end(`sortState`)},Je=(e,t,n,r,i=!1)=>{let a=n.getRange();n.isShowTotals()&&(a=a.getResizeBy(-1,0));let o=a.getCoords(),s=r.sort,c=r.filter,l=c?c.conditions:void 0,u=l?l.length:0,d=r.hiddenButtons,f={};f.ref=a.toString();let p,m=[];for(let e=0;e<u;e++){let t=l[e];m[t.index]={...t}}if(Array.isArray(d)&&d.length>0){let e=d.length;p=Array(d[e-1]);for(let t=0;t<e;t++)p[d[t]]=!0}if(m||d||p||i){let c=0;r.columns?c=r.columns.length:i&&(c=a.getColumnCount()),t.start(`autoFilter`,f);for(let n=0;n<c;n++){let r=!0===d||!0===p?.[n],i=m[n];(i||r)&&Ye(e,t,n,i,r)}s&&i&&qe(0,t,n,s,a,o),t.end(`autoFilter`)}else t.empty(`autoFilter`,f);s&&!i&&qe(0,t,n,s,a,o)},Y=(t,n,r)=>{let i=e.p(r,e=>t.warn(e,r));if(!i)return;let a={operator:i.operator};i.val!==void 0&&(a.val=i.val),n.empty(`customFilter`,a)},Ye=(n,r,i,a,o)=>{let s={};s.colId=``+i,o&&(s.hiddenButton=`1`),a?(r.start(`filterColumn`,s),((n,r,i)=>{let a=i.operator;if(a!==t.ICondition.BuiltInOperatorNames.Expression)if(a!==t.ICondition.BuiltInOperatorNames.Unique){if(a===t.ICondition.BuiltInOperatorNames.Color){let e=i.param,t={};e.cellColor!==void 0&&(t.cellColor=e.cellColor?`1`:`0`),e.styleId!==void 0&&(t.dxfId=e.styleId),r.empty(`colorFilter`,t)}if(Xe(a))if(a===`between`){let e=i.param;r.start(`customFilters`,{and:`1`}),Y(n,r,{operator:Ke.GreaterThanEqualTo,param:e.from}),Y(n,r,{operator:Ke.LessThanEqualTo,param:e.to}),r.end(`customFilters`)}else if(a===t.ICondition.BuiltInOperatorNames.Not){let t=i.param;e.m(t?.operator)?(r.start(`customFilters`),Y(n,r,i),r.end(`customFilters`)):n.warn(`Not rule with non-comparison criteria not supported in OOXML`,t)}else if(a===t.ICondition.BuiltInOperatorNames.And||a===t.ICondition.BuiltInOperatorNames.Or){let o=i.param,s=o.length;if(s>0){let i={};a===t.ICondition.BuiltInOperatorNames.And&&s>1&&(i.and=`1`),r.start(`customFilters`,i);for(let t=0;t<s;t++){let i=o[t],a=i.operator===Ke.Not&&e.m(i.param?.operator);e.m(i.operator)||a?Y(n,r,i):n.warn(`Only Comparison criteria supported in Union conditions for Table AutoFilters`,i)}r.end(`customFilters`)}}else e.m(a)&&(r.start(`customFilters`),Y(n,r,i),r.end(`customFilters`));if(a===t.ICondition.BuiltInOperatorNames.TimePeriod){let e=i.param,t={};e.type&&(t.type=e.type),e.anchorDate!==void 0&&(t.val=``+e.anchorDate),e.maxVal!==void 0&&(t.maxVal=``+e.maxVal),r.empty(`dynamicFilter`,t)}if(a===t.ICondition.BuiltInOperatorNames.Average){let e=i.param,n={},a=e.type;a&&(a===t.ICondition.AverageType.Above?n.type=`aboveAverage`:a===t.ICondition.AverageType.Below&&(n.type=`belowAverage`)),e.stdDevs!==void 0&&(n.val=``+e.stdDevs),r.empty(`dynamicFilter`,n)}if(a===t.ICondition.BuiltInOperatorNames.InSet){let e=i.param;if(e.dateGroups){let t=e.dateGroups,n=t.length;r.start(`dateGroupItem`);for(let e=0;e<n;e++){let n=t[e],i={};n.day!==void 0&&(i.day=``+n.day),n.hour!==void 0&&(i.hour=``+n.hour),n.minute!==void 0&&(i.minute=``+n.minute),n.second!==void 0&&(i.second=``+n.second),n.year!==void 0&&(i.year=``+n.year),n.month!==void 0&&(i.month=``+n.month),i.dateTimeGrouping=n.group,r.empty(`dateGroupItem`,i)}r.end(`dateGroupItem`)}if(e.items){let t=e.items,n=t.length;r.start(`filters`);for(let e=0;e<n;e++){let n=t[e];r.empty(`filter`,{val:``+n})}r.end(`filters`)}}if(a===t.ICondition.BuiltInOperatorNames.Icon){let e=i.param,t={};e.iconSet!==void 0&&(t.iconSet=e.iconSet),e.iconId!==void 0&&(t.iconId=``+e.iconId),r.empty(`iconFilter`,t)}if(a===t.ICondition.BuiltInOperatorNames.TopN){let e=i.param,t={};e.percent&&(t.percent=`1`),e.top!==void 0&&(t.top=e.top?`1`:`0`),e.limit!==void 0&&(t.val=``+e.limit),e.filterVal!==void 0&&(t.filterVal=``+e.filterVal),r.empty(`top10`,t)}}else n.warn(`Unique conditions not supported in Table AutoFilters`,i);else n.warn(`Expression conditions not supported in Table AutoFilters`,i)})(n,r,a),r.end(`filterColumn`)):r.empty(`filterColumn`,s)},Xe=e=>e===t.ICondition.BuiltInOperatorNames.GreaterThan||e===t.ICondition.BuiltInOperatorNames.GreaterThanEqualTo||e===t.ICondition.BuiltInOperatorNames.LessThan||e===t.ICondition.BuiltInOperatorNames.LessThanEqualTo||e===t.ICondition.BuiltInOperatorNames.EqualTo||e===t.ICondition.BuiltInOperatorNames.And||e===t.ICondition.BuiltInOperatorNames.Or||e===t.ICondition.BuiltInOperatorNames.Not||e===`between`,Ze={names:new Set,perFormula:[],affects:()=>!1},Qe=1048576,$e=(e,t,n)=>{if(!n)return[];let r=0;for(let i=0;i<n.length;i++){let a=n[i][0],o=t.getRange(a).getCoords();if(r+=(o.rowEnd-o.rowStart+1)*(o.colEnd-o.colStart+1),r>Qe)return e.warn(`Direct styles cover more than ${Qe} cells; not writing the styles from '${a}' on. A range that size belongs in a column or row style.`),n.slice(0,i)}return n};function et(e,n){let r=n.type;r===t.IConditionalFormat.ColorStopType.AutoMin?r=t.IConditionalFormat.ColorStopType.Min:r===t.IConditionalFormat.ColorStopType.AutoMax&&(r=t.IConditionalFormat.ColorStopType.Max),e.empty(`cfvo`,{type:r,val:n.value,gte:n.exclusive?`0`:void 0})}function tt(e,t){let n={type:t.type,gte:t.exclusive?`0`:void 0};t.value===void 0?e.empty(`x14:cfvo`,n):(e.start(`x14:cfvo`,n),e.start(`xm:f`),e.text(t.value),e.end(`xm:f`),e.end(`x14:cfvo`))}var nt=new Set([t.IStyle.IconSet.Arrows3,t.IStyle.IconSet.ArrowsGray3,t.IStyle.IconSet.Flags3,t.IStyle.IconSet.Signs3,t.IStyle.IconSet.Symbols3,t.IStyle.IconSet.Symbols3_2,t.IStyle.IconSet.TrafficLights3,t.IStyle.IconSet.TrafficLights3_2,t.IStyle.IconSet.Arrows4,t.IStyle.IconSet.ArrowsGray4,t.IStyle.IconSet.Rating4,t.IStyle.IconSet.RedToBlack4,t.IStyle.IconSet.TrafficLights4,t.IStyle.IconSet.Arrows5,t.IStyle.IconSet.ArrowsGray5,t.IStyle.IconSet.Quarters5,t.IStyle.IconSet.Rating5]);function rt(e){return(e.icon?.length??0)>0||e.iconSet!==void 0&&!nt.has(e.iconSet)}function it(n,r,i,a,o,s,c,l,u){let d=a.scale;a.ext&&n.warn(`Conditional format extension payload is not written to xlsx; it will be lost.`);let f={type:o.type,dxfId:a.style&&Object.keys(a.style).length>0?l.add(a.style):void 0,priority:c,stopIfTrue:X(a.stopIfTrue),aboveAverage:X(o.aboveAverage),equalAverage:X(o.equalAverage),stdDev:o.stdDev,bottom:X(o.bottom),percent:X(o.percent),rank:o.rank,operator:o.operator,text:o.text,timePeriod:o.timePeriod},p;d?.type===t.IConditionalFormat.ScaleType.DataBar&&function(e){if(e.gradient||e.borderColor||e.negativeFillColor||e.negativeBorderColor||e.axisColor||e.axisPosition||e.direction)return!0;let n=e.stops,r=n?n.length:0;for(let e=0;e<r;e++){let r=n[e].type;if(r===t.IConditionalFormat.ColorStopType.AutoMin||r===t.IConditionalFormat.ColorStopType.AutoMax)return!0}return!1}(d)&&(p=e.st(t.CommonUtils.uuidV4),u.push({guid:p,sqref:s,priority:c,scale:d}));let m=o.formulas,h=m?m.length:0;if(h!==0||d){r.start(`cfRule`,f);for(let e=0;e<h;e++)r.start(`formula`),r.text(m[e]),r.end(`formula`);if(d?.type===t.IConditionalFormat.ScaleType.ColorScale){let e=d.stops??[];r.start(`colorScale`);for(let t=0;t<e.length;t++)et(r,e[t]);for(let t=0;t<e.length;t++)B(r,i,e[t].color,`color`);r.end(`colorScale`)}else if(d?.type===t.IConditionalFormat.ScaleType.DataBar){let e=d.stops??[];r.start(`dataBar`,{minLength:d.minLength,maxLength:d.maxLength,showValue:X(d.showValue)});for(let t=0;t<e.length;t++)et(r,e[t]);d.color&&B(r,i,d.color,`color`),r.end(`dataBar`)}else if(d?.type===t.IConditionalFormat.ScaleType.IconSet){let e=d.stops??[];r.start(`iconSet`,{iconSet:d.iconSet,reverse:X(d.reverse),showValue:X(d.showValue)});for(let t=0;t<e.length;t++)et(r,e[t]);r.end(`iconSet`)}p&&(r.start(`extLst`),r.start(`ext`,{uri:e.Z,"xmlns:x14":e.rt}),r.start(`x14:id`),r.text(p),r.end(`x14:id`),r.end(`ext`),r.end(`extLst`)),r.end(`cfRule`)}else r.empty(`cfRule`,f)}function at(e){let n=2**53-1,r=2**53-1,i=e.split(` `);for(let e=0;e<i.length;e++){if(!i[e])continue;let a=t.AddressUtils.fastStringToRange(i[e]);a.rowStart<n&&(n=a.rowStart),a.colStart<r&&(r=a.colStart)}return t.AddressUtils.cellToString({rowIndex:n,colIndex:r})}function ot(e){if(typeof e==`string`)return e.split(`,`).join(` `);if(Array.isArray(e)){let n=[];for(let r=0;r<e.length;r++){let i=t.AddressUtils.rangeToString(e[r]);i&&n.push(i)}return n.length>0?n.join(` `):null}return t.AddressUtils.rangeToString(e)}function X(e){if(e!==void 0)return e?`1`:`0`}function st(e){if(typeof e!=`string`)return!1;let t=!1;for(let n=0;n<e.length;n++){let r=e[n];if(r===`"`)t=!t;else if(r===`!`&&!t)return!0}return!1}function ct(e){let t=e.formulas,n=t?t.length:0;for(let e=0;e<n;e++)if(st(t[e]))return!0;return!1}function lt(e){let n=2**53-1,r=2**53-1,i=e.split(` `);for(let e=0;e<i.length;e++){if(!i[e])continue;let a=t.AddressUtils.fastStringToRange(i[e]);a.rowStart<n&&(n=a.rowStart),a.colStart<r&&(r=a.colStart)}return n===2**53-1?null:{rowIndex:n,colIndex:r}}function ut(e,n,r){if(typeof e!=`string`||!e||!n||!r)return e;try{let i=r.parse(e,n);return i&&t.FormulaText.image(r.spell(i,!0),{at:n})||e}catch{return e}}function dt(e,t,n){let r=e?.stops;if(!r||!n)return e;let i;for(let e=0;e<r.length;e++){let a=r[e]?.value;if(typeof a!=`string`)continue;let o=ut(a,t,n);o!==a&&(i||=[...r],i[e]={...r[e],value:o})}return i?{...e,stops:i}:e}function ft(e,t,n,r){if(!r?.xml)return;let i=e.addPart(`legacyDrawing`,r);t.empty(n,{"r:id":i.relId})}var pt=(e,t,n,r)=>{let i=(t,n)=>{let r=e.getRangeAtBounds({x:t,y:n,width:0,height:0}),i=r.getCoords(),a=r.getBounds();return[i.colStart,t-a.x,i.rowStart,n-a.y]},a=t.getMovable()?.getBounds()??null,o=a?t.toJSON()?.box?.anchor:void 0;if(a&&o?.tl&&o.br){let t=e.getEntireRange().getCoords(),i=e=>[Math.min(t.colEnd,Math.max(0,r+(e.c??0))),e.x??0,Math.min(t.rowEnd,Math.max(0,n+(e.r??0))),e.y??0];return{bounds:a,anchor:[...i(o.tl),...i(o.br)]}}if(!a){let t=e.getRange({rowStart:n,colStart:r,rowEnd:n,colEnd:r}).getBounds();a={x:t.x+t.width+15,y:Math.max(2,t.y-10),width:144,height:79}}return{bounds:a,anchor:[...i(a.x,a.y),...i(a.x+a.width,a.y+a.height)]}},mt=(t,n)=>{if(!n)return t;let r=t?.xml??null,i=e.a(r??``),a=[],o=n.comments;for(let t=0;t<o.length;t++){let{comment:r,row:s,col:c}=o[t],l=r.isNote()?r.toJSON():null,{bounds:u,anchor:d}=pt(n.sheet,r,s,c);a.push(e.c(l?.box?.xml,{shapeId:++i,zIndex:t+1,row:s,col:c,anchor:d,bounds:u,visible:!!l?.shown,alt:l?.description}))}let s=e.i(r,a,i);return s?s===r?t:t?{...t,xml:s}:{xml:s}:t},ht=e=>e.content?.type!==`control`,gt=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/ctrlProp`,_t=(e,t)=>{if(!e?.xml)return e;let n=t.movables;if(!n)return e;let r=new Map,i=n.length;for(let e=0;e<i;e++){let t=n[e];if(ht(t))continue;let i=t.content?.json?.shapeId;typeof i==`number`&&r.set(i,t)}if(r.size===0)return e;let a=e.xml.replace(/<v:shape\b[\s\S]*?<\/v:shape>/g,e=>{let t=/\bo:spid="_x0000_s(\d+)"/.exec(e)??/\bid="_x0000_s(\d+)"/.exec(e),n=t?r.get(parseInt(t[1],10)):void 0;if(!n)return e;let i=n.anchor,a=[i.tl.c,i.tl.r,i.br.c,i.br.r];return e.replace(/(<x:Anchor>)([\s\d,-]*)(<\/x:Anchor>)/,(e,t,n,r)=>{let i=n.split(`,`).map(e=>e.trim());if(i.length!==8)return e;let o=i.slice();for(let e=0;e<4;e++)o[2*e]=String(a[e]??0);return o.join(`,`)===i.join(`,`)?e:`${t}${o.join(`, `)}${r}`})});return a===e.xml?e:{...e,xml:a}},vt=(e,t,n)=>{e.start(t),e.start(`xdr:col`),e.text(n.c??0),e.end(`xdr:col`),e.start(`xdr:colOff`),e.text(K(n.x)),e.end(`xdr:colOff`),e.start(`xdr:row`),e.text(n.r??0),e.end(`xdr:row`),e.start(`xdr:rowOff`),e.text(K(n.y)),e.end(`xdr:rowOff`),e.end(t)},yt={r:void 0,s:void 0,t:void 0,cm:void 0,vm:void 0},bt={r:void 0,s:void 0,customFormat:void 0,hidden:void 0,ht:void 0,customHeight:void 0,"x14ac:dyDescent":`0.25`,outlineLevel:void 0,collapsed:void 0},xt={t:void 0,aca:void 0,ref:void 0,ca:void 0,si:void 0},St={t:`shared`,aca:void 0,ref:void 0,ca:void 0,si:void 0},Ct={t:`array`,aca:void 0,ref:void 0,ca:void 0,si:void 0};function wt(e,t,n,r){n&&(t.start(r),t.empty(`latin`,{typeface:n}),t.empty(`ea`,{typeface:``}),t.empty(`cs`,{typeface:``}),t.end(r))}var Tt=e=>e.toISOString().split(`.`)[0]+`Z`,Et=(e,t,n)=>{switch(t){case`creator`:e.start(`dc:creator`),e.text(n),e.end(`dc:creator`);break;case`lastModifiedBy`:e.start(`cp:lastModifiedBy`),e.text(n),e.end(`cp:lastModifiedBy`);break;case`created`:e.start(`dcterms:created`,{"xsi:type":`dcterms:W3CDTF`}),e.text(n),e.end(`dcterms:created`);break;case`modified`:e.start(`dcterms:modified`,{"xsi:type":`dcterms:W3CDTF`}),e.text(n),e.end(`dcterms:modified`)}},Z=(e,t,n,r)=>{t.start(n),t.text(r),t.end(n)},Dt=(e,n,r)=>{let i=r.getSheets().getItems({visibility:t.ISheet.Visibility.Hidden}).map(e=>e.getName()),a=r.getNames().getItems({type:`formula`}).filter(e=>!!e.getRanges?.()).map(e=>e.getName());n.start(`HeadingPairs`),n.start(`vt:vector`,{size:a.length>0?`4`:`2`,baseType:`variant`}),n.start(`vt:variant`),n.start(`vt:lpstr`),n.text(`Worksheets`),n.end(`vt:lpstr`),n.end(`vt:variant`),n.start(`vt:variant`),n.start(`vt:i4`),n.text(``+i.length),n.end(`vt:i4`),n.end(`vt:variant`),a.length>0&&(n.start(`vt:variant`),n.start(`vt:lpstr`),n.text(`Named Ranges`),n.end(`vt:lpstr`),n.end(`vt:variant`),n.start(`vt:variant`),n.start(`vt:i4`),n.text(``+a.length),n.end(`vt:i4`),n.end(`vt:variant`)),n.end(`vt:vector`),n.end(`HeadingPairs`),n.start(`TitlesOfParts`),n.start(`vt:vector`,{size:``+(i.length+a.length),baseType:`lpstr`});for(let e of i)n.start(`vt:lpstr`),n.text(e),n.end(`vt:lpstr`);for(let e of a)n.start(`vt:lpstr`),n.text(e),n.end(`vt:lpstr`);n.end(`vt:vector`),n.end(`TitlesOfParts`)},Ot={minSupportedVersion:`120000`,copy:`1`,pasteAll:`1`,pasteValues:`1`,merge:`1`,splitFirst:`1`,rowColShift:`1`,clearFormats:`1`,clearComments:`1`,assign:`1`,coerce:`1`},kt=(e,n,r=t.CommonUtils.EmptyArray)=>{if(!n)return{...r};let{text:i,runs:a,color:o,size:s,kern:c,weight:l,style:u,b:d,i:f,spc:p,baseline:m,...h}=n,g={...r,...h};return s!==void 0&&(g.sz=``+Ne(s)),d!==void 0&&(g.b=d?`1`:`0`),l!==void 0&&(g.b=l>500?`1`:`0`),f!==void 0&&(g.i=f?`1`:`0`),u!==void 0&&(g.i=u===`italic`?`1`:`0`),c!==void 0&&(g.kern=``+Ne(c)),p!==void 0&&(g.spc=``+Ne(p)),m!==void 0&&(g.baseline=``+Ne(m)),g},At=(e,t,n)=>{if(!n)return;let r=e.getXMLWriter();r.start(`txBody`),r.pushDefaultNamespace(`a`),Mt(e,t,{vertOverflow:`clip`,horzOverflow:`clip`,rtlCol:`0`,anchor:`ctr`}),r.empty(`lstStyle`),((e,t,n)=>{if(!n)return;let r=e.getXMLWriter();r.pushDefaultNamespace(`a`),typeof n==`string`&&(n={runs:[{text:n}]}),r.start(`p`),r.empty(`pPr`,{algn:`ctr`});let i=kt(0,n,{...Nt,size:t.getDefaultFontSize()}),a=n?.runs,o=a?a.length:0;if(o>0)for(let e=0;e<o;e++){let n=a[e];r.start(`r`,{});let i=kt(0,n,Nt),o=n.color;o?(r.start(`rPr`,i),H(0,r,o,t),r.end(`rPr`)):r.empty(`rPr`,i),r.start(`t`),r.text(n?.text??``),r.end(`t`),r.end(`r`)}else r.empty(`endParaRPr`,i);r.end(`p`),r.popDefaultNamespace()})(e,t,n),r.popDefaultNamespace(),r.end(`txBody`)},jt=(e,t,n)=>{if(!n)return;let r=e.getXMLWriter(),i=kt(0,n);r.empty(`defRPr`,i)},Mt=(e,t,n)=>{if(!n)return;let r=e.getXMLWriter(),{spAutoFit:i,...a}=n;i?(r.start(`bodyPr`,a),r.empty(`spAutoFit`),r.end(`bodyPr`)):r.empty(`bodyPr`,a)},Nt=Object.freeze({lang:`en-US`}),Pt=(e,t)=>{if(t.length!==0){e.start(`a:extLst`);for(let n of t){let t={},r=n[0];r&&(t.uri=r),e.start(`a:ext`,t),e.empty(n[1],n[2]),e.end(`a:ext`)}e.end(`a:extLst`)}},Ft=async(e,t,n,r,i)=>{let a=e.getSharedStates(),o=r.getContent().getResource(),s=await o.getExternalURI(),c;if(s)c=e.addExternal(U,s);else if(c=n.get(o),!c){let t=a.get(W);t||(t=new Map,a.set(W,t));let r=t.get(o);if(!r){let e=await o.toBuffer();r={bytes:new Uint8Array(e),type:await o.getType()??Me,index:t.size+1},t.set(o,r)}c=e.addBinary(r.bytes,r.type.mime,U,`../media/image${r.index}.${r.type.ext}`,!0),n.set(o,c)}let l={"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`};s?l[`r:link`]=c.relId:l[`r:embed`]=c.relId;let u=[];s||u.push([`{28A0092B-C50C-407E-A947-70E740481C1C}`,`a14:useLocalDpi`,{"xmlns:a14":`http://schemas.microsoft.com/office/drawing/2010/main`,val:`0`}]);let d=e.getXMLWriter();d.start(`pic`),d.start(`nvPicPr`),Ut(e,d,r,i,t),Gt(e,d,r,i),d.end(`nvPicPr`),d.start(`blipFill`),d.start(`a:blip`,l),Pt(d,u),d.end(`a:blip`),d.start(`a:stretch`),d.empty(`a:fillRect`),d.end(`a:stretch`),d.end(`blipFill`),Vt(e,t,n,r,i),d.end(`pic`)},It=async(e,t,n,r,i,a)=>{let o=i.content?.json,s=o?.xml,c=o?.part;if(!s||!c)return Q(e,t,n,r,i);let l=await L(c,e,`../charts/chart{n}.xml`);if(!l?.relId)return Q(e,t,n,r,i);let u=l.relId===c.id?s:s.replace(`r:id="${c.id}"`,`r:id="${l.relId}"`);a!==void 0&&typeof i.content?.json?.sourceId==`number`&&(u=u.replace(`cNvPr id="${i.content.json.sourceId}"`,`cNvPr id="${a}"`)),e.getXMLWriter().raw(u)},Lt=async(e,t,n,r,i)=>Q(e,t,n,r,i),Rt=async(e,t,n,r,i)=>Q(e,t,n,r,i),zt=async(e,t,n,r,i)=>Q(e,t,n,r,i),Bt=async(e,t,n,r,i,a)=>{let o=i.content?.json,s=o?.xml;if(!s)return Q(e,t,n,r,i);let c=a!==void 0&&typeof o?.sourceId==`number`?s.replace(`cNvPr id="${o.sourceId}"`,`cNvPr id="${a}"`):s;e.getXMLWriter().raw(c)},Q=async(e,t,n,r,i)=>{(async(e,t,n,r,i)=>{let a=e.getXMLWriter(),o={},s=i.content?.json,c=s?.type??`sp`,l=t.getStyles();c===`cxnSp`?(o.macro=``,a.start(`cxnSp`,o),a.start(`nvCxnSpPr`),Ut(e,a,r,i,t),Wt(e,a,r,i,t),a.start(`cNvCxnSpPr`),a.empty(`a:stCnx`,{id:`0`,idx:`0`}),a.end(`cNvCxnSpPr`),a.end(`nvCxnSpPr`),Vt(e,t,n,r,i),Ht(e,t,n,r,i),At(e,l,s?.text),a.end(`cxnSp`)):c===`grpSp`||(o.macro=``,o.textlink=``,a.start(`sp`,o),a.start(`nvSpPr`),Ut(e,a,r,i,t),Wt(e,a,r,i,t),a.end(`nvSpPr`),Vt(e,t,n,r,i),Ht(e,t,n,r,i),At(e,l,s?.text),a.end(`sp`))})(e,t,n,r,{...i,content:{type:`shape`,name:i.content?.name,description:i.content?.description,json:{fill:`bg1`,stroke:{width:2,fill:`red`},text:{runs:[{text:`Unsupported Type: `+(i.content?.type??`unknown`),color:`tx1`}]}}}})},Vt=(e,t,n,r,i)=>{let a=e.getXMLWriter(),o=i.content?.json,s=o?.geometry??`rect`,c=t.getStyles();a.start(`spPr`),a.pushDefaultNamespace(`a`),Kt(a,r,i),a.start(`prstGeom`,{prst:s}),a.empty(`avLst`),a.end(`prstGeom`),Oe(e,c,o),a.popDefaultNamespace(),a.end(`spPr`)},Ht=(e,t,n,r,i)=>{let a=e.getXMLWriter();a.start(`style`),a.pushDefaultNamespace(`a`),a.start(`lnRef`,{idx:`1`}),a.start(`schemeClr`,{val:`accent1`}),a.empty(`shade`,{val:`15000`}),a.end(`schemeClr`),a.end(`lnRef`),a.start(`fillRef`,{idx:`1`}),a.empty(`schemeClr`,{val:`accent1`}),a.end(`fillRef`),a.start(`effectRef`,{idx:`0`}),a.empty(`schemeClr`,{val:`accent1`}),a.end(`effectRef`),a.start(`fontRef`,{idx:`minor`}),a.empty(`schemeClr`,{val:`lt1`}),a.end(`fontRef`),a.popDefaultNamespace(),a.end(`style`)},Ut=(e,n,r,i,a)=>{let o=e.getSharedStates(),s=o.get(`uniqueIdCounter`);s||(s=new Map,o.set(`uniqueIdCounter`,s));let c=s.get(a)??1;c++,s.set(a,c);let l={id:``+c,name:i.content?.name};i.content?.description&&(l.descr=i.content.description),i.hidden&&(l.hidden=`1`);let u=[];u.push([`{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}`,`a16:creationId`,{"xmlns:a16":`http://schemas.microsoft.com/office/drawing/2014/main`,id:`{${t.CommonUtils.uuidV4().toUpperCase()}}`}]),n.start(`cNvPr`,l),Pt(n,u),n.end(`cNvPr`)},Wt=(e,t,n,r,i)=>{t.empty(`cNvSpPr`)},Gt=(e,t,n,r)=>{let i={};if(r.lockAspect&&(i.noChangeAspect=`1`),r.locks)for(let e of Object.keys(r.locks))!0===r.locks[e]&&(i[e]=`1`);t.start(`cNvPicPr`,{}),t.empty(`a:picLocks`,i),t.end(`cNvPicPr`)},Kt=(e,t,n)=>{let r=t.getBounds(),i={},a=n.rotation;a!==void 0&&a!==0&&(i.rot=``+q(a)),e.start(`xfrm`,i),e.start(`off`,{x:K(r.x),y:K(r.y)}),e.end(`off`),e.start(`ext`,{cx:K(r.width),cy:K(r.height)}),e.end(`ext`),e.end(`xfrm`)},qt=(e,t,n)=>{e.start(t),e.start(`col`),e.text(n.c??0),e.end(`col`),e.start(`colOff`),e.text(K(n.x)),e.end(`colOff`),e.start(`row`),e.text(n.r??0),e.end(`row`),e.start(`rowOff`),e.text(K(n.y)),e.end(`rowOff`),e.end(t)},Jt=async(e,t,n)=>{let r=await n.getExternalURI();if(r)return void e.addExternal(U,r);let i=e.getSharedStates(),a=i.get(W);a||(a=new Map,i.set(W,a));let o=a.get(n);if(!o){let e=await n.toBuffer();o={bytes:new Uint8Array(e),type:await n.getType()??Me,index:a.size+1},a.set(n,o)}let s=e.addBinary(o.bytes,o.type.mime,U,`../media/image${o.index}.${o.type.ext}`,!0,t);s.relId!==t&&e.log(`Legacy drawing image '${t}' was written as '${s.relId}'; the markup will not find it.`)};function Yt(e){return e.toISOString().substring(0,22)}function Xt(t,n,r,i,a,o,s,c,l){let u={ref:n,dT:Yt(a??new Date),personId:i?$(i):void 0,id:$(r),parentId:s?$(s):void 0,done:c?`1`:void 0};if(t.start(`threadedComment`,u),t.start(`text`,e.C.test(o)||/[\n\r]/.test(o)?e.S:void 0),t.text(o),t.end(`text`),l&&l.length>0){t.start(`mentions`);for(let e=0;e<l.length;e++){let n=l[e];t.empty(`mention`,{mentionpersonId:$(n.personId),mentionId:$(n.id),startIndex:n.startIndex??0,length:n.length??0})}t.end(`mentions`)}t.end(`threadedComment`)}function $(e){return`{${e.replace(/^\{|\}$/g,``).toUpperCase()}}`}var Zt=0,Qt=(e,t,n,r)=>{let i=r.columns,a=i?i.length:0;if(a!==0){t.start(`tableColumns`,{count:a});for(let o=0;o<a;o++){let a=i[o];typeof a==`string`&&(a={name:a});let s={};s.id=o+1,s.name=a.name??`Column${o+1}`;let c=null,l=a.totalsRowFormula;if(typeof l==`number`){let e=tn.get(l);e?s.totalsRowFunction=e:c=`SUBTOTAL(${l},${r.name?.trim()}[${s.name}])`}else l&&(c=$t(e,n,o,l.startsWith(`=`)?l.substring(1):l));c&&(s.totalsRowFunction=`custom`),a.totalsRowLabel&&(s.totalsRowLabel=a.totalsRowLabel);let u=a.calculatedColumnFormula?$t(e,n,o,a.calculatedColumnFormula):null;(c||u)&&(t.start(`tableColumn`,s),u&&(t.start(`calculatedColumnFormula`),t.text(u),t.end(`calculatedColumnFormula`))),c&&(t.start(`totalsRowFormula`),t.text(c),t.end(`totalsRowFormula`)),c||u?t.end(`tableColumn`):t.empty(`tableColumn`,s)}t.end(`tableColumns`)}},$t=(n,r,i,a)=>{let o=n.getSharedStates().get(e.I);if(!o)return a;try{let e=r.getDataRange().getCoords(),n={rowIndex:e.rowStart,colIndex:e.colStart+i},s=o.parse(a,n);return s&&t.FormulaText.image(o.spell(s,!1,r.getName()),{at:n})||a}catch{return a}},en=(e,t,n,r)=>{let i={name:n.getStyle().getName(),showFirstColumn:n.isShowHighlightFirstColumn()?`1`:`0`,showLastColumn:n.isShowHighlightLastColumn()?`1`:`0`,showRowStripes:n.isShowBandedRows()?`1`:`0`,showColumnStripes:n.isShowBandedColumns()?`1`:`0`};t.empty(`tableStyleInfo`,i)},tn=new Map([[101,`average`],[102,`countNums`],[103,`count`],[104,`max`],[105,`min`],[107,`stdDev`],[109,`sum`],[110,`var`]]),nn={rowIndex:0,colIndex:0};function rn(e,n,r,i){if(i==null)return;nn.rowIndex=n,nn.colIndex=r;let a=t.AddressUtils.cellToString(nn),o,s;switch(typeof i){case`number`:s=``+i;break;case`boolean`:o=`b`,s=i?`1`:`0`;break;case`string`:o=`str`,s=i;break;default:{let e=i;if(e.t!==`e`)return;o=`e`,s=t.FormulaError.getBuiltInByCode(e.v)?.getLabel()??t.FormulaError.BuiltIn.Value.getLabel()}}e.start(`cell`,o?{r:a,t:o}:{r:a}),e.start(`v`),e.text(s),e.end(`v`),e.end(`cell`)}var an=(e,t,n,r)=>{t.start(`mc:AlternateContent`,{"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`}),t.start(`mc:Choice`,{Requires:`c14`,"xmlns:c14":`http://schemas.microsoft.com/office/drawing/2007/8/2/chart`}),t.empty(`c14:style`,{val:`102`}),t.end(`mc:Choice`),t.start(`mc:Fallback`),t.empty(`c:style`,{val:`2`}),t.end(`mc:Fallback`),t.end(`mc:AlternateContent`)},on=(e,t,n,r,i)=>{t.start(`chart`),((e,t,n,r,i)=>{t.start(`title`),t.empty(`overlay`,{val:`0`}),Oe(e,n,i,`spPr`,!0),t.end(`title`),t.empty(`autoTitleDeleted`,{val:`0`})})(e,t,n,0,i),((e,t,n,r,i)=>{t.start(`plotArea`),t.empty(`layout`),Oe(e,n,i,`spPr`,!0),t.end(`plotArea`)})(e,t,n,0,i),t.empty(`plotVisOnly`,{val:`1`}),t.empty(`dispBlanksAs`,{val:`gap`}),t.empty(`showDLblsOverMax`,{val:`0`}),t.end(`chart`)},sn=(e,t,n,r)=>{t.start(`printSettings`),t.empty(`headerFooter`),t.empty(`pageMargins`,{b:`0.75`,l:`0.7`,r:`0.7`,t:`0.75`,header:`0.3`,footer:`0.3`}),t.empty(`pageSetup`),t.end(`printSettings`)},cn=(e,t,n,r,i,a=`0`)=>{let o=i?.color,s={idx:i?.idx??a};o===void 0?t.empty(r,s):(t.start(r,s),o===`auto`?t.empty(`styleClr`,{val:`auto`}):(t.pushDefaultNamespace(`a`),R(t,n.getTheme(),o),t.popDefaultNamespace()),t.end(r))},ln=(e,t,n,r)=>{let i=n.length;for(let a=0;a<i;a++){let i=n[a];i.empty?t.empty(i.type,i.mods):(t.start(i.type,i.mods),cn(0,t,r,`lnRef`,i.lineRef,`0`),cn(0,t,r,`fillRef`,i.fillRef,`0`),cn(0,t,r,`effectRef`,i.effectRef,`0`),cn(0,t,r,`fontRef`,i.fontRef,`minor`),Oe(e,r,i,`spPr`),jt(e,0,i.defRPr),Mt(e,r,i.bodyPr),t.end(i.type))}},un=Object.freeze([{type:`axisTitle`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:10,kern:12}},{type:`categoryAxis`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 15 lumOff 85`},defRPr:{size:9,kern:12}},{type:`chartArea`,mods:{mods:`allowNoFillOverride allowNoLineOverride`},fontRef:{color:`tx1`},fill:{type:`solid`,color:`bg1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 15 lumOff 85`},defRPr:{size:10,kern:12}},{type:`dataLabel`,fontRef:{color:`tx1 lumMod 75 lumOff 25`},defRPr:{size:9,kern:12}},{type:`dataLabelCallout`,fontRef:{color:`dk1 lumMod 65 lumOff 35`},fill:{type:`solid`,color:`lt1`},stroke:{fill:`dk1 lumMod 25 lumOff 75`},defRPr:{size:9,kern:12},bodyPr:{rot:`0`,spcFirstLastPara:`1`,vertOverflow:`clip`,horzOverflow:`clip`,vert:`horz`,wrap:`square`,lIns:`36576`,tIns:`18288`,rIns:`36576`,bIns:`18288`,anchor:`ctr`,anchorCtr:`1`,spAutoFit:`true`}},{type:`dataPoint`,fillRef:{idx:`1`,color:`auto`},fontRef:{color:`tx1`}},{type:`dataPoint3D`,fillRef:{idx:`1`,color:`auto`},fontRef:{color:`tx1`}},{type:`dataPointLine`,lineRef:{color:`auto`},fillRef:{idx:`1`},fontRef:{color:`tx1`},stroke:{width:2.25,cap:`rnd`,fill:`phClr`,round:!0}},{type:`dataPointMarker`,lineRef:{color:`auto`},fillRef:{idx:`1`,color:`auto`},fontRef:{color:`tx1`},stroke:{width:.75,fill:`phClr`}},{type:`dataPointMarkerLayout`,mods:{symbol:`circle`,size:`5`},empty:!0},{type:`dataPointWireframe`,lineRef:{color:`auto`},fillRef:{idx:`1`},fontRef:{color:`tx1`},stroke:{width:.75,cap:`rnd`,fill:`phClr`,round:!0}},{type:`dataTable`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},fill:{type:`none`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 15 lumOff 85`},defRPr:{size:9,kern:12}},{type:`downBar`,fontRef:{color:`tx1`},fill:{type:`solid`,color:`dk1 lumMod 75 lumOff 25`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 65 lumOff 35`}},{type:`dropLine`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 35 lumOff 65`}},{type:`errorBar`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 65 lumOff 35`}},{type:`floor`,fontRef:{color:`tx1`},fill:{type:`none`},stroke:{}},{type:`gridlineMajor`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 15 lumOff 85`}},{type:`gridlineMinor`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 5 lumOff 95`}},{type:`hiLoLine`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 50 lumOff 50`}},{type:`leaderLine`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 35 lumOff 65`}},{type:`legend`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:9,kern:12}},{type:`plotArea`,mods:{mods:`allowNoFillOverride allowNoLineOverride`},fontRef:{color:`tx1`}},{type:`plotArea3D`,mods:{mods:`allowNoFillOverride allowNoLineOverride`},fontRef:{color:`tx1`}},{type:`seriesAxis`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:9,kern:12}},{type:`seriesLine`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 35 lumOff 65`}},{type:`title`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:14,b:!1,kern:12,spc:0,baseline:0}},{type:`trendline`,lineRef:{color:`auto`},fontRef:{color:`tx1`},stroke:{width:1.5,cap:`rnd`,fill:`phClr`,prstDash:`sysDot`}},{type:`trendlineLabel`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:9,kern:12}},{type:`upBar`,fontRef:{color:`tx1`},fill:{type:`solid`,color:`lt1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 65 lumOff 35`}},{type:`valueAxis`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:9,kern:12}},{type:`wall`,fontRef:{color:`tx1`},fill:{type:`none`},stroke:{}}]),dn=(e,t,n)=>{let r=n.length;for(let e=0;e<r;e++){let r=n[e],i={},a=r[0],o=r[1];a||o?(t.start(`variation`,i),a&&t.empty(`a:lumMod`,{val:a}),o&&t.empty(`a:lumOff`,{val:o}),t.end(`variation`)):t.empty(`variation`,i)}},fn=Object.freeze([[0,0],[6e4,0],[8e4,2e4],[8e4,0],[6e4,4e4],[5e4,0],[7e4,3e4],[7e4,0],[5e4,5e4]]),pn=[new class extends r{constructor(){super({kind:`workbook`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,path:`/xl/workbook.xml`})}async emit(r,i){let a=i.getXMLWriter();a.decl(),a.start(`workbook`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`x15 xr xr6 xr10 xr2`,"xmlns:x15":`http://schemas.microsoft.com/office/spreadsheetml/2010/11/main`,"xmlns:xr":`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`,"xmlns:xr6":`http://schemas.microsoft.com/office/spreadsheetml/2016/revision6`,"xmlns:xr10":`http://schemas.microsoft.com/office/spreadsheetml/2016/revision10`,"xmlns:xr2":`http://schemas.microsoft.com/office/spreadsheetml/2015/revision2`});let o=i.getSharedStates().get(n),s=await r.toJSON({ignoreData:!0,resources:(e,t)=>(o?.set(t,e),null),includeHeaderStyles:!0,splitDirectBorders:!0});i.getSharedStates().set(e.I,e.L(s.names,function(e){let t=[],n=e.sheets??[];for(let e=0;e<n.length;e++){let r=n[e]?.sheet?.tables;if(r)for(let e=0;e<r.length;e++){let n=r[e],i=Array.isArray(n)?n[1]?.name:n?.v?.name;i&&t.push(String(i))}}return t}(s))),function(e,t){let n=e.getSharedStates().get(se);n&&t.empty(`fileVersion`,n)}(i,a),function(e,t,n,r){let i={},a=n.getCodeName();a&&(i.codeName=a),n.getRuntime().isDate1904()&&(i.date1904=`1`),r.updateLinks&&(i.updateLinks=r.updateLinks),t.empty(`workbookPr`,i)}(0,a,r,s),function(t,n,r,i){let a=i.protection;if(!a||a.workbook)return;let o={};j(a.password??{},o,`workbook`),j(a.revisionsPassword??{},o,`revisions`);for(let t of e.y){let n=e.x(t,a[t.key]);n!==null&&(o[t.attribute]=n)}n.empty(`workbookProtection`,o)}(0,a,0,s),function(e,t,n){t.start(`bookViews`);let r=n.getView(),i={};r.isShowHorizontalScrollbar()||(i.showHorizontalScroll=`0`),r.isShowVerticalScrollbar()||(i.showVerticalScroll=`0`),r.isShowTabs()||(i.showSheetTabs=`0`);let a=r.getTabRatio();a!==600&&(i.tabRatio=a);let o=n.getSelectedSheet().getIndex();o!==0&&(i.activeTab=``+o),t.empty(`workbookView`,i),t.end(`bookViews`)}(0,a,r,s.view);let c=await(async(e,t)=>{let n=[],r=t?t.length:0;if(r===0)return n;let i=new Map;e.getSharedStates().set(`pivotCachePaths`,i);for(let a=0;a<r;a++){let r=t[a],o=r.cacheId,s=r.part;if(s?.xml&&!i.has(o))try{let t=await L({...s,type:s.type||`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition`,contentType:s.contentType||`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml`},e,`/xl/pivotCache/pivotCacheDefinition{n}.xml`);if(!t?.relId)continue;i.set(o,t.path),n.push({cacheId:o,relId:t.relId})}catch(t){e.log(`Unable to write the pivot cache ${o}; the pivot tables on it will be dropped.`,t)}}return n})(i,s.pivotCaches);(function(e,t){t.getComments().some(e=>!e.isNote())&&e.addPart(`persons`,t.getPeople())})(i,r),a.start(`sheets`);let l=i.getSharedStates(),u=r.getStrings().beginPersist();l.set(`persistStrings`,u);let d=new N;l.set(`metaCollector`,d);let f=new ne(d,i.log.bind(i));l.set(`persistRichTypes`,f),l.set(te,new M(s.styles,r.getStyles()));try{let e=r.getSheets().getItems({visibility:t.ISheet.Visibility.VeryHidden}),n=s.sheets,o=r.getSelectedSheet(),c=e.length,d=((e,t)=>{let n=Array(t),r=new Set,i=1;for(let a=0;a<t;a++){let t=e?.[a]?.sheetId;t===void 0||!Number.isInteger(t)||t<1||r.has(t)||(r.add(t),n[a]=t,t>=i&&(i=t+1))}for(let e=0;e<t;e++)if(n[e]===void 0){for(;r.has(i);)i++;r.add(i),n[e]=i++}return n})(n,c),f=((e,t,n)=>{let r=t.length,i=Array(r),a=new Set(n?.values()??[]),o=new Set;for(let a=0;a<r;a++){let r=e?.[a]?.sheetId;if(r===void 0||t[a]!==r)continue;let s=n?.get(r);s&&!o.has(s)&&(o.add(s),i[a]=s)}let s=1;for(let e=0;e<r;e++){if(i[e])continue;let t;do t=`xl/worksheets/sheet${s++}.xml`;while(a.has(t)||o.has(t));o.add(t),i[e]=t}return i})(n,d,l.get(ce));for(let t=0;t<c;t++){let r=e[t],s=``+d[t],c={name:r.getName(),sheetId:s},l=r.getVisibility();l===`hidden`?c.state=`hidden`:l===`veryHidden`&&(c.state=`veryHidden`);let p=n[t].sheet;c[`r:id`]=i.addPart(`worksheet`,{model:r,isSelected:o===r,json:p,persistStrings:u},`/`+f[t]).relId,a.empty(`sheet`,c)}await i.waitEmit();let p=r.getTheme();i.addPart(`theme`,{model:p,json:s.theme}),await i.waitEmit(),i.addPart(`styles`,{styles:r.getStyles(),theme:r.getTheme(),json:s.styles}),await i.waitEmit();let m=await u.toJSONAsync();m&&m.length>0&&(i.addPart(`sharedStrings`,{model:m,json:m}),await i.waitEmit());let h=l.get(`persistRichTypes`);h?.hasAny()&&(i.addPart(`richValue`,h),i.addPart(`richValueStructure`,h),i.addPart(`richValueTypes`,null),await i.waitEmit());let g=l.get(`metaCollector`);g?.hasAny()&&(i.addPart(`metadata`,g),await i.waitEmit()),l.delete(`persistRichTypes`),l.delete(`metaCollector`),l.delete(`persistStrings`)}catch(e){throw e}finally{u.endPersist()}a.end(`sheets`),function(e,t,n){let r=n.externalBooks,i=r?r.length:0;if(i===0)return;let a=e.getSharedStates().get(le),o=new Set;if(a)for(let e=0;e<i;e++)!r[e]&&a[e]&&o.add(a[e]);let s=[],c=1;for(let t=0;t<i;t++){let n=r[t];if(n){let t;do t=`xl/externalLinks/externalLink${c++}.xml`;while(o.has(t));s.push(e.addPart(`externalLink`,n,`/`+t).relId);continue}let i=a?.[t],l=i?e.addRelationship(oe,i):null;l?s.push(l):e.log(`External link [${t+1}] cannot be written and is being dropped; later links will renumber.`)}if(s.length!==0){t.start(`externalReferences`);for(let e=0;e<s.length;e++)t.empty(`externalReference`,{"r:id":s[e]});t.end(`externalReferences`)}}(i,a,s),function(n,r,i,a){let o=n.getSharedStates().get(e.I),s=a.names,c=s?s.length:0;if(c===0)return;let l=a.externalBooks?.length??0,u=new Map,d=i.getSheets().getItems({visibility:t.ISheet.Visibility.VeryHidden});for(let e=0;e<d.length;e++)u.set(d[e].getName().toLowerCase(),e);r.start(`definedNames`);for(let e=0;e<c;e++){let t=s[e],i={name:t.name};if(t.comment&&(i.comment=t.comment),t.scope){let e=u.get(t.scope.toLowerCase());e===void 0?n.log(`Defined name '${t.name}' is scoped to unknown sheet '${t.scope}'; writing it as global.`):i.localSheetId=``+e}t.hidden&&(i.hidden=`1`);let a=o.writeName(t.ref);for(let e of ue(a))e>l&&n.log(`Defined name '${t.name}' cites external book [${e}], but only ${l} ${l===1?`is`:`are`} written; Excel will report the file as needing repair.`);r.start(`definedName`,i),r.text(a),r.end(`definedName`)}r.end(`definedNames`)}(i,a,r,s),function(e,t,n){let r=n.getCalculation().toJSON(),i={calcId:e.getSharedStates().get(`calcId`)??`191029`},a=(e,t)=>{let n=r[e];typeof n==`boolean`&&(i[t]=n?`1`:`0`)};if(r.calcMode){let e=de[r.calcMode];e&&e!==`auto`&&(i.calcMode=e)}a(`fullCalcOnLoad`,`fullCalcOnLoad`),a(`calcOnSave`,`calcOnSave`),a(`calcCompleted`,`calcCompleted`),a(`fullPrecision`,`fullPrecision`),a(`forceFullCalc`,`forceFullCalc`),a(`concurrentCalc`,`concurrentCalc`),r.refMode&&(i.refMode=r.refMode),r.iterate&&(i.iterate=`1`),r.maxIteration!==void 0&&(i.iterateCount=String(r.maxIteration)),r.maxIterateChange!==void 0&&(i.iterateDelta=String(r.maxIterateChange)),t.empty(`calcPr`,i)}(i,a,r),function(e,t){if(t.length!==0){e.start(`pivotCaches`);for(let n=0;n<t.length;n++)e.empty(`pivotCache`,{cacheId:t[n].cacheId,"r:id":t[n].relId});e.end(`pivotCaches`)}}(a,c),function(e,t){let n=e.getSharedStates().get(`calcFeatures`)??`<ext uri="{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}" xmlns:xcalcf="http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"><xcalcf:calcFeatures><xcalcf:feature name="microsoft.com:RD"/><xcalcf:feature name="microsoft.com:Single"/><xcalcf:feature name="microsoft.com:FV"/><xcalcf:feature name="microsoft.com:CNMTM"/><xcalcf:feature name="microsoft.com:LET_WF"/><xcalcf:feature name="microsoft.com:LAMBDA_WF"/><xcalcf:feature name="microsoft.com:ARRAYTEXT_WF"/></xcalcf:calcFeatures></ext>`;t.start(`extLst`),t.raw(n),t.end(`extLst`)}(i,a),a.end(`workbook`),a.close()}},new class extends r{constructor(){super({kind:`worksheet`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`,path:()=>`/xl/worksheets/sheet{n}.xml`})}async emit(n,r){let i=r.getXMLWriter(),a=n.model,o=n.json;i.decl(),i.start(`worksheet`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`x14ac`,"xmlns:x14ac":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac`}),function(e,t,n){let r=n.getTabColor(),i=n.getCodeName(),a={};i&&(a.codeName=i),n.isConditionalFormatCalculationEnabled()||(a.enableFormatConditionsCalculation=`0`);let o=n.getOutlineSettings(),s={};o.summaryBelow||(s.summaryBelow=`0`),o.summaryRight||(s.summaryRight=`0`),o.showOutlineSymbols||(s.showOutlineSymbols=`0`),o.applyStyles&&(s.applyStyles=`1`);let c=Object.keys(s).length>0,l=!!r||c;if(!(!l&&Object.keys(a).length===0)){if(!l)return void t.empty(`sheetPr`,a);t.start(`sheetPr`,a),r&&B(t,n.getStyles().getTheme(),r,`tabColor`,!1),c&&t.empty(`outlinePr`,s),t.end(`sheetPr`)}}(0,i,a),function(n,r,i,a){let o=i.getUsedRange({features:[]}),s=o?o.getCoords():null,c=e.n,l=e.t,u=a.directStyles,d=u?u.length:0;for(let e=0;e<d;e++){let n=i.getRange(u[e][0]).getCoords();if(n.colEnd===l){let e=s?.colStart??0;n={...n,colStart:e,colEnd:e}}if(n.rowEnd===c){let e=s?.rowStart??0;n={...n,rowStart:e,rowEnd:e}}s=t.CoordUtils.unionRanges(s,n)}let f=a.merges,p=f?f.length:0;for(let e=0;e<p;e++){let n=i.getRange(f[e]).getCoords();n.colEnd===l&&(n={...s},n.colStart=s?.colStart??0,n.colEnd=n.colStart),n.rowEnd===c&&(n={...n},n.rowStart=s?.rowStart??0,n.rowEnd=n.rowStart),s=t.CoordUtils.unionRanges(s,n)}let m=`A1`;s&&(o=i.getRange(s),m=s.colStart===s.colEnd&&s.rowStart===s.rowEnd?o.getAddress():`${o.getIntersect({colStart:s.colStart,rowStart:s.rowStart,colEnd:s.colStart,rowEnd:s.rowStart}).getAddress()}:${o.getIntersect({colStart:s.colEnd,rowStart:s.rowEnd,colEnd:s.colEnd,rowEnd:s.rowEnd}).getAddress()}`),r.empty(`dimension`,{ref:m})}(0,i,a,o),function(e,n,r,i,a){let o=r.getView(),s=o.getTopLeft(),c=r.getRowHeaders().getIndex(s.top),l=r.getColumnHeaders().getIndex(s.left),u=t.AddressUtils.cellToString({colIndex:l,rowIndex:c});n.start(`sheetViews`);let d={};o.isShowFormulas()&&(d.showFormulas=`1`),o.isShowColumnGridlines()||o.isShowRowGridlines()||(d.showGridLines=`0`),o.isShowColumnHeaders()||o.isShowRowHeaders()||(d.showRowColHeaders=`0`),o.isShowZeros()||(d.showZeros=`0`),o.isRightToLeft()&&(d.rightToLeft=`1`),a&&(d.tabSelected=`1`),u!==`A1`&&(d.topLeftCell=u);let f=o.getZoomScale();f!==100&&(d.zoomScale=f,d.zoomScaleNormal=f);let p=o.getGridLineColor();if(p){d.defaultGridColor=`0`;let e=p.toRGBA(),t=e.red,n=e.green,i=e.blue,a=r.getStyles().getIndexedColors(),o=a.length,s=0,c=Number.MAX_VALUE;for(let e=0;e<o;e++){let r=a[e].toRGBA(),o=(t-r.red)**2+(n-r.green)**2+(i-r.blue)**2;o<c&&(c=o,s=e)}d.colorId=``+s}d.workbookViewId=`0`;let m=r.getSelection().getCoords(),h=t.AddressUtils.cellToString(m.cell),g={},_=o.getFreezePanes(),v=_.coords??{},y=v.colIndex??0,b=v.rowIndex??0;if(y>0||b>0){let e=_.topLeft??{},i=e.top??0,a=e.left??0,o=r.getRowHeaders().getIndex(i),c=r.getColumnHeaders().getIndex(a),l=y-c,u=b-o,f=Math.max(y,r.getColumnHeaders().getIndex(s.left+r.getColumnHeaders().getOffset(y)-a)),p=Math.max(b,r.getRowHeaders().getIndex(s.top+r.getRowHeaders().getOffset(b)-i)),m=t.AddressUtils.cellToString({colIndex:c,rowIndex:o});m===`A1`?delete d.topLeftCell:d.topLeftCell=m,n.start(`sheetView`,d);let h={};if(l>0&&(h.xSplit=l),u>0&&(h.ySplit=u),h.topLeftCell=t.AddressUtils.cellToString({colIndex:f,rowIndex:p}),h.state=`frozen`,y===0){h.activePane=`bottomLeft`,n.empty(`pane`,h);let e=t.AddressUtils.cellToString({colIndex:f,rowIndex:o});e!==`A1`&&n.empty(`selection`,{activeCell:e,sqref:e}),g.pane=`bottomLeft`}else if(b===0){h.activePane=`topRight`,n.empty(`pane`,h);let e=t.AddressUtils.cellToString({colIndex:c,rowIndex:p});e!==`A1`&&n.empty(`selection`,{activeCell:e,sqref:e}),g.pane=`topRight`}else{h.activePane=`bottomRight`,n.empty(`pane`,h),m!==`A1`&&n.empty(`selection`,{activeCell:m,sqref:m});let e=t.AddressUtils.cellToString({colIndex:f,rowIndex:o});n.empty(`selection`,{pane:`topRight`,activeCell:e,sqref:e});let r=t.AddressUtils.cellToString({colIndex:c,rowIndex:p});n.empty(`selection`,{pane:`bottomLeft`,activeCell:r,sqref:r}),g.pane=`bottomRight`}}else n.start(`sheetView`,d);g.activeCell=h;let x=m.ranges,S=x?x.length:0;if(S>0){let e=``;for(let n=0;n<S;n++){let r=x[n];n>0&&(e+=` `),e+=t.AddressUtils.rangeToString(r)}g.sqref=e,(m.rangeIndex??0)>0&&(g.activeCellId=``+m.rangeIndex)}else h===`A1`?g=null:g.sqref=h;g&&n.empty(`selection`,g),n.end(`sheetView`),n.end(`sheetViews`)}(0,i,a,0,n.isSelected),function(e,t,n,r){let i=r.defaultColSize,a=r.defaultRowSize,o={};i!==void 0&&(o.defaultColWidth=i),o.defaultRowHeight=a??.75*n.getRowHeaders().getDefaultSize(),a!==void 0&&(o.customHeight=`1`),o[`x14ac:dyDescent`]=`0.25`,t.empty(`sheetFormatPr`,o)}(0,i,a,o);let s=!1===o.protection?.showFormulas?r.getSharedStates().get(`hiddenFormulaXfs`)??null:null;(function(n,r,i,a,o){let s=a.cols?t.AddressUtils.refsToRuns(a.cols,!0):null,c=s?s.length:0;i.getEntireRange().getColumnEnd();let l=i.getColumnHeaders().getDefaultSizeNative(),u=o?o.getHiddenXf(0):0,d=1,f=e=>{u!==0&&e>=d&&r.empty(`col`,{min:d,max:e,width:l,style:u})};if(c>0||u!==0){r.start(`cols`);for(let t=0;t<c;t++){let n=s[t],i=n.min+1,a=e.t+1;if(i>a)continue;let c=Math.min(n.max+1,a);f(i-1),d=c+1;let u={min:i,max:c},p=n.value,m=p.sz;m===void 0?u.width=l:m!==0&&(u.width=Math.round(256*m)/256);let h=o?o.getHiddenXf(p.s??0):p.s;h&&(u.style=h),p.h!==void 0&&(u.hidden=1),p.csz&&(u.customWidth=1),p.l!==void 0&&(u.outlineLevel=p.l),p.cl!==void 0&&(u.collapsed=1),r.empty(`col`,u)}f(e.t+1),r.end(`cols`)}})(0,i,a,o,s),function(n,r,i,a,o,s){let c=n.getSharedStates(),l=c.get(`persistStrings`),u=c.get(`metaCollector`),d=c.get(`persistRichTypes`),f=0,p=0,m=i.getUsedRange(),h=0,g=a.rows?t.AddressUtils.refsToRuns(a.rows,!1):null,_=g?g.length:0,v=g?.[_-1]?.max??-1,y=a.cols?t.AddressUtils.refsToRuns(a.cols,!0):null,b=y?y.length:0,x=y?.[b-1]?.max??-1;if(m||_>0){let c=.75,m=a.defaultRowSize??i.getRowHeaders().getDefaultSize()*c,_=i.getStyles().getNormal().getBestFit().height*c,b=(e,t)=>{let n=bt;if(n.r=``+(e+1),n.s=void 0,n.customFormat=void 0,n.hidden=void 0,n.ht=void 0,n.customHeight=void 0,n.outlineLevel=void 0,n.collapsed=void 0,!t)return n;let r=t.value;r.s!==void 0&&(n.s=``+(s?s.getHiddenXf(r.s):r.s),n.customFormat=`1`),r.h&&(n.hidden=`1`);let i=r.csz??!1,a=r.sz??m;return(a!==_||i)&&(n.ht=``+a),i&&(n.customHeight=`1`),r.l!==void 0&&(n.outlineLevel=``+r.l),r.cl!==void 0&&(n.collapsed=``+r.cl),n},S=0,C=g?.[S]??null,w=C?.min??2**53-1,T=C?.max??2**53-1,E=C?.value?.s,D=-1,O=0,k=y?.[O]??null,ee=k?.min??2**53-1,A=k?.max??2**53-1,j=k?.value?.s,te=(e,t=!1)=>{if(D!==e){for(D!==-1&&(r.end(`row`),O!==0&&(O=0,k=y?.[O]??null,ee=k?.min??2**53-1,A=k?.max??2**53-1,j=k?.value?.s));D+1<=e;){D++,C&&D>T&&(C=g[++S]??null,C?(w=C.min,T=C.max,E=C.value?.s):(w=2**53-1,T=2**53-1,E=void 0)),D<w&&D<e&&(D=C?Math.min(w,e):e);let n=D<e||t&&D===e,i=b(D,C&&D>=w&&D<=T?C:null);n?r.empty(`row`,i):r.start(`row`,i)}if(e<D){let t=b(e,null);r.start(`row`,t)}}};r.setValidationDisabled(!0),r.start(`sheetData`);let M=[];M.push($e(n,i,a.directStyles));let N=a.formulas,ne=N?N.length:0;if(ne>0){let r=new Map;if(o.names.size>0&&a.formulaArray)for(let e of a.formulaArray)try{let t=i.getRange(e[0]).getCoords();r.set(`${t.rowStart},${t.colStart}`,t)}catch{}let s=[];if(a.formulaArray)for(let e of a.formulaArray)try{s.push(i.getRange(e[0]).getCoords())}catch{}let c=e=>{for(let t=0;t<s.length;t++){let n=s[t];if(n.rowStart<=e.rowEnd&&n.rowEnd>=e.rowStart&&n.colStart<=e.colEnd&&n.colEnd>=e.colStart)return!0}return!1},l=n.getSharedStates().get(`xlsxFormulaDialect`)??e.L(i.getCalculation().getNamedFormulas().toJSON(),i.getTables().getItems().map(e=>e.getName())),u=i.getEntireRange().getCoords(),d=[];for(let e of i.getTables().getItems())d.push([e.getRange().getCoords(),e.getName()]);let f=(e,t)=>{for(let n=0;n<d.length;n++){let r=d[n][0];if(e>=r.rowStart&&e<=r.rowEnd&&t>=r.colStart&&t<=r.colEnd)return d[n][1]}return null},p=new Set;for(let e=0;e<s.length;e++)p.add(`${s[e].rowStart},${s[e].colStart}`);let m=[];for(let a=0;a<ne;a++){let s=N[a];try{let n=s[0],d=i.getRange(n),g=d.getCoords(),_=s[1],v=null,y={rowIndex:g.rowStart,colIndex:g.colStart},b=l.parse(_,y),x=b?l.annotate(b):void 0,S=b?l.spell(b,p.has(`${g.rowStart},${g.colStart}`),f(g.rowStart,g.colStart)):null,C=S?t.FormulaText.imager(S,{entireCoords:u}):null;C&&(_=C(y));let w=!0===x?.cm,T=!0===x?.ca;if(o.affects(a)){v=null,w=!1;let n=(e,n,r)=>{let i={rowStart:e,colStart:n,rowEnd:e,colEnd:n};m.push([i,{coords:i,formula:r,sharedId:null,ref:t.AddressUtils.rangeToString(i),isDynamicRange:!1,isWrapped:!0}])},a=r.get(`${g.rowStart},${g.colStart}`),o=a!==void 0&&(a.rowEnd>a.rowStart||a.colEnd>a.colStart),s=!1;if(o){let r=e.k(_,d.getCell().getValue());if(r!==null)for(let o=a.rowStart;o<=a.rowEnd;o++)for(let c=a.colStart;c<=a.colEnd;c++){if(o===a.rowStart&&c===a.colStart){n(o,c,r),s=!0;continue}let l=e.A(i.getRange(t.AddressUtils.rangeToString({rowStart:o,colStart:c,rowEnd:o,colEnd:c})).getCell().getValue());l!==null&&n(o,c,l)}}else d.forEach((t,r)=>{let i=r.getCoords(),a=e.k(C?.(i)??_,r.getCell().getValue());a!==null&&(n(i.rowIndex,i.colIndex,a),s=!0)},{includeEmpty:!0});if(s)continue}let E=_.indexOf(`!`)!==-1||_.indexOf(`[`)!==-1;w||d.isSingleCell()||E||c(g)||(v=``+h++);let D=v!==null||d.isSingleCell()?null:C,O=[g,{coords:g,formula:_,sharedId:v,ref:n,isDynamicRange:w,isExcelVolatile:T,memberImage:D}];m.push(O)}catch(e){n.log(`Could not write the formula '${s[1]}' over '${s[0]}'; those cells are written as values only. ${e}`);continue}}M.push(m)}else M.push([]);let P=a.volatile,F=P?P.length:0;if(F>0){let e=Array(F);for(let t=0;t<F;t++){let n=P[t];try{e[t]=[i.getRange(n).getCoords(),!0]}catch(e){console.warn(`Failed to parse volatile: ${n}`,e);continue}}M.push(e)}else M.push([]);let I=a.formulaArray,L=I?I.length:0;if(L>0){let e=Array(L);for(let t=0;t<L;t++){let n=I[t];try{let r=n[0];e[t]=[i.getRange(r).getCoords(),{ref:r,kind:n[1]??`dynamic`}]}catch(e){console.warn(`Failed to parse formula array: ${n}`,e);continue}}M.push(e)}else M.push([]);i.getEntireRange().forEach((i,a)=>{let o=a.getCoords(),c=o.rowIndex,m=o.colIndex;D!==c&&te(c);let h=a.getInjectedReference(0);if(h===void 0&&E!==void 0&&c>=w&&c<=T&&(h=E),h===void 0){for(;m<=x&&m>A;)O++,k=y?.[O]??null,ee=k?.min??2**53-1,A=k?.max??2**53-1,j=k?.value?.s;j!==void 0&&m>=ee&&m<=A&&(h=j)}let g=a.getType(),_=null;ne>0&&(_=a.getInjectedReference(1)??null);let v=!1;F>0&&(v=a.getInjectedReference(2)??!1);let b=null;L>0&&(b=a.getInjectedReference(3)??null);let S=b?.kind===`error`,C=b?.kind===`fixed`,M=yt;M.r=a.getAddress(),M.s=void 0,M.t=void 0,M.cm=void 0,M.vm=void 0,s&&(h=s.getHiddenXf(h??0)),h!==void 0&&h!==0&&(M.s=``+h);let N=null,P=null;switch(g){case t.ScalarType.Boolean:N=i?`1`:`0`,P=`b`;break;case t.ScalarType.Error:let e=i.getCode();if(P=`e`,e>7)N=t.FormulaError.BuiltIn.Value.getLabel(),M.vm=``+d.add(i);else if(e<1){let e;P=`s`,_?(e=`=`+_.formula,_=null):e=``+i.getLabel(),N=``+l.add(e),f++}else N=``+i.getLabel();break;case t.ScalarType.Number:N=``+i,P=null;break;case t.ScalarType.String:N=i,_?(P=`str`,N=i):(P=`s`,N=``+l.add(N),f++);break;case t.ScalarType.RichData:P=`e`,N=t.FormulaError.BuiltIn.Value.getLabel(),M.vm=``+d.add(i)}P&&(M.t=P);let I=!_?.isWrapped&&(b!==null||(_?.isDynamicRange??!1));if(_!==null||N!==null){if(I&&_!==null&&!C&&(M.cm=``+u.registerArrayCell(S)),r.start(`c`,M),_){let e=c===_.coords.rowStart&&m===_.coords.colStart,t=_.formula;_.memberImage&&!e&&(t=_.memberImage({rowIndex:c,colIndex:m}));let n,i=null,a=_.sharedId;if(a){n=St;let e=_.coords;e.colStart===m&&e.rowStart===c?(n.ref=_.ref,n.si=a,i=_.formula):(n.ref=void 0,n.si=a)}else I?(n=Ct,n.aca=S?`1`:void 0,n.ref=S?M.r:b?.ref??M.r,i=t):(n=xt,i=t);n.ca=v||S||_.isExcelVolatile?`1`:void 0,i?(r.start(`f`,n),r.text(i),r.end(`f`)):r.empty(`f`,n)}N!==null&&(P===`str`&&N?(r.start(`v`,e.C.test(N)?e.S:void 0),r.text(e.T(N))):(r.start(`v`),N&&r.text(N)),r.end(`v`)),r.end(`c`)}else p++<Qe?r.empty(`c`,M):p===1048577&&n.warn(`Reached ${Qe} style-only cells at '${M.r}'; not writing the rest.`)},{injectReferences:M,features:[]}),D!==-1&&D>=v?r.end(`row`):te(v,!0),r.end(`sheetData`),r.setValidationDisabled(!1)}else r.empty(`sheetData`);if(f>0){let e=c.get(`stringsCount`)??0;c.set(`stringsCount`,e+f)}}(r,i,a,o,await(async(n,r)=>{let i=r?r.length:0;if(i===0)return Ze;let a=new Set,o=Array(i);for(let e=0;e<i;e++){o[e]=null;try{let n=t.FormulaText.parse(r[e][1]);if(!n)continue;let i=null,s=e=>{let t=null;e.type===`function`?t=String(e.value):e.type===`call`&&e.inputs?.[0]?.type===`named`&&(t=String(e.inputs[0].value?.name??``)),t&&(t=t.toUpperCase(),a.add(t),(i??=new Set).add(t));let n=e.inputs;if(n)for(let e=0;e<n.length;e++)n[e]&&s(n[e])};s(n),o[e]=i}catch{}}let s=n.getWorkbook();if(!s)return Ze;let c=await e.O(s,a);return c.size===0?Ze:{names:c,perFormula:o,affects:e=>{let t=o[e];if(!t)return!1;for(let e of t)if(c.has(e))return!0;return!1}}})(a,o.formulas),s),function(t,n,r,i){let a=i.protection;if(!a)return;let o={};a.sheet||j(a.password??{},o);for(let t of e.v){let n=e.x(t,a[t.key]);n!==null&&(o[t.attribute]=n)}n.empty(`sheetProtection`,o)}(0,i,0,o),function(e,t,n,r){let i=r.protectedRanges,a=i?i.length:0;if(a===0)return;let o=[];for(let t=0;t<a;t++){let n=i[t],r,a;Array.isArray(n)?(r=n[0],a=n[1]):(r=n.r,a=n.v);let s=ot(r);if(!s||!a){e.log(`Skipping protectedRange with no range.`);continue}if(!a.name){e.log(`Skipping protectedRange with no name.`);continue}let c={};j(a.password??{},c),c.sqref=s,c.name=a.name,a.securityDescriptor&&(c.securityDescriptor=a.securityDescriptor),o.push(c)}if(o.length!==0){t.start(`protectedRanges`);for(let e=0;e<o.length;e++)t.empty(`protectedRange`,o[e]);t.end(`protectedRanges`)}}(r,i,0,o);let c=o.autoTable;if(c){let e,t=c;e=Array.isArray(t)?t[1]:t.v,Je(r,i,a.getAutoTable(),e,!0)}(function(e,n,r,i){let a=i.merges?i.merges.length:0;if(a>0){n.start(`mergeCells`,{count:a});for(let e=0;e<a;e++){let r=i.merges[e],a=typeof r==`string`?r:t.AddressUtils.rangeToString(r);n.empty(`mergeCell`,{ref:a})}n.end(`mergeCells`)}})(0,i,0,o);let l=function(n,r,i,a){let o=[],s=a.conditionals,c=s?s.length:0;if(c===0)return o;let l=n.getSharedStates(),u=l.get(Fe);u||(u=new Pe,l.set(Fe,u));let d=i.getStyles().getTheme(),f=l.get(e.I),p=null,m=0;for(let i=0;i<c;i++){let a=s[i],c,l;Array.isArray(a)?(c=a[0],l=a[1]):(c=a.r,l=a.v);let h=ot(c);if(!h||!l){n.log(`Skipping conditionalFormatting with no range.`);continue}let g=lt(h),_=dt(l.scale,g,f);_!==l.scale&&(l={...l,scale:_});let v=_?{type:_.type}:e.g(l.condition,at(h),(e,t)=>n.warn(e,void 0,t));v?(v.formulas&&=v.formulas.map(e=>ut(e,g,f)),_?.type===t.IConditionalFormat.ScaleType.IconSet&&rt(_)?(m++,o.push({guid:e.st(t.CommonUtils.uuidV4),sqref:h,priority:m,scale:_})):_||!ct(v)?(h!==p&&(p!==null&&r.end(`conditionalFormatting`),r.start(`conditionalFormatting`,{sqref:h,pivot:l.pivot?`1`:void 0}),p=h),m++,it(n,r,d,l,v,h,m,u,o)):(m++,o.push({guid:e.st(t.CommonUtils.uuidV4),sqref:h,priority:m,rule:v,style:l.style,stopIfTrue:l.stopIfTrue}))):l.condition||n.log(`Skipping conditional format with neither a condition nor a scale.`)}return p!==null&&r.end(`conditionalFormatting`),o}(r,i,a,o),u=function(t,n,r,i){let a=[],o=t.getSharedStates().get(e.I),s=i.validations,c=s?s.length:0;if(c===0)return a;let l=[];for(let n=0;n<c;n++){let r=s[n],i,c;Array.isArray(r)?(i=r[0],c=r[1]):(i=r.r,c=r.v);let u=ot(i);if(!u||!c){t.log(`Skipping dataValidation with no range.`);continue}c.ext&&t.warn(`DataValidation extension payload is not written to xlsx; it will be lost.`);let d=(e,n)=>t.warn(e,void 0,n),f=e.d(c.condition,d),{type:p,operator:m}=f??{},h=lt(u),g=ut(f?.formula1,h,o),_=ut(f?.formula2,h,o),v={type:p,operator:m,allowBlank:X(c.condition?.includeBlanks??!1),showDropDown:c.hideDropdown?`1`:void 0,showInputMessage:X(c.showPromptMessage),showErrorMessage:X(c.showAlertMessage),errorStyle:c.alertStyle??`stop`,errorTitle:e.l(c.alertTitle,`errorTitle`,d),error:e.l(c.alert,`error`,d),promptTitle:e.l(c.promptTitle,`promptTitle`,d),prompt:e.l(c.prompt,`prompt`,d),imeMode:c.imeMode};st(g)||st(_)?a.push({attrs:v,formula1:g,formula2:_,sqref:u}):(v.sqref=u,l.push({attrs:v,formula1:g,formula2:_}))}if(l.length===0)return a;n.start(`dataValidations`,{count:l.length});for(let e=0;e<l.length;e++){let{attrs:t,formula1:r,formula2:i}=l[e];r!==void 0||i!==void 0?(n.start(`dataValidation`,t),r!==void 0&&(n.start(`formula1`),n.text(r),n.end(`formula1`)),i!==void 0&&(n.start(`formula2`),n.text(i),n.end(`formula2`)),n.end(`dataValidation`)):n.empty(`dataValidation`,t)}return n.end(`dataValidations`),a}(r,i,0,o);(function(e,t,n,r){let i=r.hyperlinks,a=i?i.length:0;if(a!==0){t.start(`hyperlinks`);for(let n=0;n<a;n++){let r,a,o=i[n];Array.isArray(o)?(a=o[0],r=o[1]):(a=o.r,r=o.v),typeof r==`string`&&(r={address:r});let s=r.address??``,c=s.indexOf(`#`),l=c===-1?s:s.substring(0,c),u=c===-1?``:s.substring(c+1),d={};d.ref=a,l&&(d[`r:id`]=e.addExternal(`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,l).relId),u&&(d.location=u),r.screenTip&&(d.tooltip=r.screenTip),t.empty(`hyperlink`,d)}t.end(`hyperlinks`)}})(r,i,0,o),function(e,t,n,r){let i=r.pageMargins;t.empty(`pageMargins`,{left:i?.left??.7,right:i?.right??.7,top:i?.top??.75,bottom:i?.bottom??.75,header:i?.header??.3,footer:i?.footer??.3})}(0,i,0,o),function(e,t,n,r){let i=r.movables?.filter(ht);if((i?i.length:0)===0||!i.some(e=>{let t=e.content?.type;if(t===`picture`||t===`chart`)return!0;if(t===`shape`){let t=e.content?.json?.type;return t===`sp`||t===`cxnSp`}return!1}))return;let a=n.getMovables().getItems().filter(e=>e.getContent().getType()!==`note`).filter((e,t)=>ht(r.movables[t])),o=e.addPart(`drawing`,{sheet:n,movables:a,jsonMovables:i,resources:n.getResources()});t.empty(`drawing`,{"r:id":o.relId})}(r,i,a,o);let d=function(e){let t=e.getComments().toArray();if(t.length===0)return null;let n=[];for(let e=0;e<t.length;e++){let r=t[e],i=Te(r);i&&n.push({comment:r,...i})}return n.length===0?null:(n.sort((e,t)=>e.row-t.row||e.col-t.col),{sheet:e,comments:n})}(a);ft(r,i,`legacyDrawing`,mt(_t(o.legacyDrawing??null,o),d)),ft(r,i,`legacyDrawingHF`,o.legacyDrawingHF??null),await async function(e,t,n){let r=n.getPicture();if(!r)return;let i=r.getResource(),a=await i.getExternalURI(),o;if(a)o=e.addExternal(U,a);else{let t=e.getSharedStates(),n=t.get(W);n||(n=new Map,t.set(W,n));let r=n.get(i);if(!r){let e=await i.toBuffer();r={bytes:new Uint8Array(e),type:await i.getType()??Me,index:n.size+1},n.set(i,r)}o=e.addBinary(r.bytes,r.type.mime,U,`../media/image${r.index}.${r.type.ext}`,!0)}t.empty(`picture`,{"r:id":o.relId})}(r,i,a),await async function(t,n,r){let i=r.movables;if(!i||i.every(ht))return;let a=[],o=i.length;for(let e=0;e<o;e++){let n=i[e];if(ht(n))continue;let r=n.content?.json??{},o=r.part,s;if(o)try{s=(await L(o.type?o:{...o,type:gt},t,`../ctrlProps/ctrlProp{n}.xml`))?.relId??void 0}catch(e){t.log(`Unable to write the properties of the control '${n.content?.name}'`,e)}s?a.push({jsonMovable:n,jsonControl:r,relId:s}):t.log(`The control '${n.content?.name}' has no properties to write and was dropped.`)}if(a.length===0)return;n.start(`mc:AlternateContent`,{"xmlns:x14":e.rt,"xmlns:xdr":`http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing`}),n.start(`mc:Choice`,{Requires:`x14`}),n.start(`controls`);let s=a.length;for(let e=0;e<s;e++){let{jsonMovable:t,jsonControl:r,relId:i}=a[e];n.start(`mc:AlternateContent`),n.start(`mc:Choice`,{Requires:`x14`}),n.start(`control`,{shapeId:r.shapeId,"r:id":i,name:t.content?.name??void 0});let o=t.anchorType??`twoCell`;n.start(`controlPr`,r.props),n.start(`anchor`,{moveWithCells:o===`absolute`?void 0:`1`,sizeWithCells:o===`twoCell`?`1`:void 0}),vt(n,`from`,t.anchor.tl),vt(n,`to`,t.anchor.br),n.end(`anchor`),r.xml&&n.raw(r.xml),n.end(`controlPr`),n.end(`control`),n.end(`mc:Choice`),n.end(`mc:AlternateContent`)}n.end(`controls`),n.end(`mc:Choice`),n.end(`mc:AlternateContent`)}(r,i,o),function(e,t,n,r){let i=r.tables,a=i?i.length:0;if(a===0)return;let o=n.getTables().getItems();t.start(`tableParts`,{count:a});for(let n=0;n<a;n++){let r,a,s=i[n];Array.isArray(s)?(a=s[0],r=s[1]):(a=s.r,r=s.v);let c=e.addPart(`table`,{json:r,model:o[n],ref:a}),l={};l[`r:id`]=c.relId,t.empty(`tablePart`,l)}t.end(`tableParts`)}(r,i,a,o),function(n,r,i,a,o){if(a.length===0&&o.length===0)return;let s=i.getStyles(),c=s.getTheme();if(r.start(`extLst`),a.length>0){r.start(`ext`,{uri:e.Q,"xmlns:x14":e.rt}),r.start(`x14:conditionalFormattings`);for(let n=0;n<a.length;n++){let{guid:i,sqref:o,priority:l,scale:u,rule:d,style:f,stopIfTrue:p}=a[n];if(r.start(`x14:conditionalFormatting`,{"xmlns:xm":e.it}),u)if(u.type===t.IConditionalFormat.ScaleType.DataBar){r.start(`x14:cfRule`,{type:`dataBar`,id:i}),r.start(`x14:dataBar`,{minLength:u.minLength,maxLength:u.maxLength,gradient:u.gradient?void 0:`0`,border:u.borderColor?`1`:void 0,direction:u.direction,negativeBarColorSameAsPositive:u.negativeFillColor?`0`:`1`,negativeBarBorderColorSameAsPositive:u.negativeBorderColor?`0`:void 0,axisPosition:u.axisPosition});let e=u.stops??[];if(e.length===0)tt(r,{type:t.IConditionalFormat.ColorStopType.AutoMin}),tt(r,{type:t.IConditionalFormat.ColorStopType.AutoMax});else for(let t=0;t<e.length;t++)tt(r,e[t]);u.borderColor&&B(r,c,u.borderColor,`x14:borderColor`),u.negativeFillColor&&B(r,c,u.negativeFillColor,`x14:negativeFillColor`),u.negativeBorderColor&&B(r,c,u.negativeBorderColor,`x14:negativeBorderColor`),u.axisColor&&B(r,c,u.axisColor,`x14:axisColor`),r.end(`x14:dataBar`),r.end(`x14:cfRule`)}else{r.start(`x14:cfRule`,{type:`iconSet`,priority:l,id:i}),r.start(`x14:iconSet`,{iconSet:u.iconSet,reverse:X(u.reverse),showValue:X(u.showValue),custom:(u.icon?.length??0)>0?`1`:void 0});let e=u.stops??[];for(let t=0;t<e.length;t++)tt(r,e[t]);let t=u.icon??[];for(let e=0;e<t.length;e++)r.empty(`x14:cfIcon`,{iconSet:t[e].set,iconId:t[e].id});r.end(`x14:iconSet`),r.end(`x14:cfRule`)}else{r.start(`x14:cfRule`,{type:d.type,priority:l,stopIfTrue:X(p),aboveAverage:X(d.aboveAverage),equalAverage:X(d.equalAverage),stdDev:d.stdDev,bottom:X(d.bottom),percent:X(d.percent),rank:d.rank,operator:d.operator,text:d.text,timePeriod:d.timePeriod,id:i});let e=d.formulas??[];for(let t=0;t<e.length;t++)r.start(`xm:f`),r.text(e[t]),r.end(`xm:f`);f&&Object.keys(f).length>0&&Ue(0,r,f,s,c,`x14:dxf`),r.end(`x14:cfRule`)}r.start(`xm:sqref`),r.text(o),r.end(`xm:sqref`),r.end(`x14:conditionalFormatting`)}r.end(`x14:conditionalFormattings`),r.end(`ext`)}if(o.length>0){r.start(`ext`,{uri:e.et,"xmlns:x14":e.rt}),r.start(`x14:dataValidations`,{"xmlns:xm":e.it,count:o.length});for(let e=0;e<o.length;e++){let{attrs:t,formula1:n,formula2:i,sqref:a}=o[e];r.start(`x14:dataValidation`,t),n!==void 0&&(r.start(`x14:formula1`),r.start(`xm:f`),r.text(n),r.end(`xm:f`),r.end(`x14:formula1`)),i!==void 0&&(r.start(`x14:formula2`),r.start(`xm:f`),r.text(i),r.end(`xm:f`),r.end(`x14:formula2`)),r.start(`xm:sqref`),r.text(a),r.end(`xm:sqref`),r.end(`x14:dataValidation`)}r.end(`x14:dataValidations`),r.end(`ext`)}r.end(`extLst`)}(0,i,a,l,u),function(e,t){let n=t.pivotTables,r=n?n.length:0;for(let t=0;t<r;t++){let r=n[t],i=r.part;i?.xml&&(ae(e,r.cacheId)?e.addPart(`pivotTable`,r):e.log(`The pivot table '${i.name??``}' has no cache with id ${r.cacheId} and was dropped.`))}}(r,o),function(e,t){t&&(e.addPart(`comments`,t),t.comments.some(e=>!e.comment.isNote())&&e.addPart(`threadedComments`,t))}(r,d),i.end(`worksheet`),i.close()}},new class extends r{constructor(){super({kind:`sharedStrings`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings`,path:`/xl/sharedStrings.xml`})}async emit(t,n){let r=n.getXMLWriter(),i=t.json,a=i?i.length:0,o=n.getSharedStates().get(`stringsCount`)??0;r.decl(),r.start(`sst`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,count:o,uniqueCount:a});for(let t=0;t<a;t++){let n=i[t];r.start(`si`);let a=e.C.test(n)?e.S:void 0;r.start(`t`,a),r.text(e.T(n)),r.end(`t`),r.end(`si`)}r.end(`sst`),r.close()}},new class extends r{constructor(){super({kind:`theme`,contentType:`application/vnd.openxmlformats-officedocument.theme+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme`,path:`/xl/theme/theme{n}.xml`})}async emit(e,t){let n=t.getXMLWriter(),r=e.model,i=e.json;n.decl(),n.pushDefaultNamespace(`a`),n.start(`theme`,{"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`,name:r.getName()||`Office Theme`}),n.start(`themeElements`),function(e,t,n,r){let i=n?.getColorScheme();if(i){t.start(r,{name:i.getName()||`Office`});for(let e of me)t.start(e),R(t,n,i[`get`+e.charAt(0).toUpperCase()+e.slice(1)]()),t.end(e);t.end(r)}}(0,n,r,`clrScheme`),function(e,t,n,r){n&&(t.start(r,{name:n.getName()||`Office`}),wt(e,t,n.getMajorFont()||`Calibri Light`,`majorFont`),wt(e,t,n.getMinorFont()||`Calibri`,`minorFont`),t.end(r))}(t,n,r.getFontScheme(),`fontScheme`),function(e,t,n,r,i){if(i?.fillStyleLst&&i?.lnStyleLst&&i?.effectStyleLst&&i?.bgFillStyleLst)return void function(e,t,n,r,i){let a={getTheme:()=>r};t.start(n,{name:`Office`}),t.start(`fillStyleLst`);for(let e of i.fillStyleLst)H(0,t,e,a);t.end(`fillStyleLst`),t.start(`lnStyleLst`);for(let e of i.lnStyleLst)Ee(0,t,e,a);t.end(`lnStyleLst`),t.start(`effectStyleLst`);for(let n of i.effectStyleLst)t.start(`effectStyle`),n.length>0?ke(e,t,r,n):t.empty(`effectLst`),t.end(`effectStyle`);t.end(`effectStyleLst`),t.start(`bgFillStyleLst`);for(let e of i.bgFillStyleLst)H(0,t,e,a);t.end(`bgFillStyleLst`),t.end(n)}(e,t,n,r,i);if(i?.formatSchemeXml)return void t.raw(i.formatSchemeXml);t.start(n,{name:`Office`}),function(e,t){t.start(`fillStyleLst`),t.start(`solidFill`),t.empty(`schemeClr`,{val:`phClr`}),t.end(`solidFill`),t.start(`gradFill`,{rotWithShape:`1`}),t.start(`gsLst`),t.start(`gs`,{pos:`0`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`50000`}),t.empty(`satMod`,{val:`300000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`35000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`37000`}),t.empty(`satMod`,{val:`300000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`100000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`15000`}),t.empty(`satMod`,{val:`350000`}),t.end(`schemeClr`),t.end(`gs`),t.end(`gsLst`),t.empty(`lin`,{ang:`16200000`,scaled:`1`}),t.end(`gradFill`),t.start(`gradFill`,{rotWithShape:`1`}),t.start(`gsLst`),t.start(`gs`,{pos:`0`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`51000`}),t.empty(`satMod`,{val:`130000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`80000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`93000`}),t.empty(`satMod`,{val:`130000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`100000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`94000`}),t.empty(`satMod`,{val:`135000`}),t.end(`schemeClr`),t.end(`gs`),t.end(`gsLst`),t.empty(`lin`,{ang:`16200000`,scaled:`0`}),t.end(`gradFill`),t.end(`fillStyleLst`)}(0,t),function(e,t){t.start(`lnStyleLst`);let n=[9525,25400,38100];for(let e=0;e<3;e++)t.start(`ln`,{w:n[e].toString(),cap:`flat`,cmpd:`sng`,algn:`ctr`}),t.start(`solidFill`),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`95000`}),t.empty(`satMod`,{val:`105000`}),t.end(`schemeClr`),t.end(`solidFill`),t.empty(`prstDash`,{val:`solid`}),t.end(`ln`);t.end(`lnStyleLst`)}(0,t),function(e,t){t.start(`effectStyleLst`);for(let e=0;e<3;e++)t.start(`effectStyle`),t.start(`effectLst`),e===2&&(t.start(`outerShdw`,{blurRad:`40000`,dist:`20000`,dir:`5400000`,rotWithShape:`0`}),t.start(`srgbClr`,{val:`000000`}),t.empty(`alpha`,{val:`38000`}),t.end(`srgbClr`),t.end(`outerShdw`)),t.end(`effectLst`),t.end(`effectStyle`);t.end(`effectStyleLst`)}(0,t),function(e,t){t.start(`bgFillStyleLst`),t.start(`solidFill`),t.empty(`schemeClr`,{val:`phClr`}),t.end(`solidFill`),t.start(`gradFill`,{rotWithShape:`1`}),t.start(`gsLst`),t.start(`gs`,{pos:`0`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`40000`}),t.empty(`satMod`,{val:`350000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`40000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`45000`}),t.empty(`shade`,{val:`99000`}),t.empty(`satMod`,{val:`350000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`100000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`20000`}),t.empty(`satMod`,{val:`255000`}),t.end(`schemeClr`),t.end(`gs`),t.end(`gsLst`),t.empty(`path`,{path:`circle`}),t.empty(`fillToRect`,{l:`50000`,t:`-80000`,r:`50000`,b:`180000`}),t.end(`gradFill`),t.start(`gradFill`,{rotWithShape:`1`}),t.start(`gsLst`),t.start(`gs`,{pos:`0`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`80000`}),t.empty(`satMod`,{val:`300000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`100000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`30000`}),t.empty(`satMod`,{val:`200000`}),t.end(`schemeClr`),t.end(`gs`),t.end(`gsLst`),t.empty(`path`,{path:`circle`}),t.empty(`fillToRect`,{l:`50000`,t:`50000`,r:`50000`,b:`50000`}),t.end(`gradFill`),t.end(`bgFillStyleLst`)}(0,t),t.end(n)}(t,n,`fmtScheme`,r,i),n.end(`themeElements`),n.start(`objectDefaults`),n.end(`objectDefaults`),n.start(`extraClrSchemeLst`),n.end(`extraClrSchemeLst`),n.end(`theme`),n.close()}},new class extends r{constructor(){super({kind:`styles`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles`,path:`/xl/styles.xml`})}async emit(e,n){let r=n.getXMLWriter(),i=e.json,a=(e.theme,e.styles);r.decl(),r.start(`styleSheet`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`x14ac x16r2 xr`,"xmlns:x14ac":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac`,"xmlns:x16r2":`http://schemas.microsoft.com/office/spreadsheetml/2015/02/main`,"xmlns:xr":`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`});let o=function(e,n){let r=n?.direct;r&&r.length!==0||(r=[{}]);let i=r.length,a=Array(i);for(let n=0;n<i;n++){let i=n===0?{...r[n],named:t.IStyle.BuiltInName.Normal}:r[n],o=e.resolve(i),s={};i.named!==void 0&&(s.named=i.named),i.quotePrefix!==void 0&&(s.quotePrefix=i.quotePrefix),i.protection!==void 0&&(s.protection=i.protection);for(let e=0;e<Ie.length;e++){let t=Ie[e];if(i[t]===void 0&&t!==`alignment`)continue;let n=o?.[t]??i[t];n!==void 0&&(s[t]=n)}a[n]=s}return a}(a,i),s=function(e,n,r){let i={fontMap:new Map,fonts:[],fillMap:new Map,fills:[],borderMap:new Map,borders:[],numFmtMap:new Map,numFmtsCustom:[],namedStyleMap:new Map,namedStyles:[]};(function(e,n){let r=(e.getNamedStyles().getByName(t.IStyle.BuiltInName.Normal).toJSON().style??{}).font??{};n.fontMap.set(t.BufferUtils.JSONStableStringify(r),`0`),n.fonts.push(r)})(e,i),function(e){let n={type:`none`};e.fillMap.set(t.BufferUtils.JSONStableStringify(n),`0`),e.fills.push(n);let r={type:`pattern`,patternType:`gray125`};e.fillMap.set(t.BufferUtils.JSONStableStringify(r),`1`),e.fills.push(r)}(i),function(e){let n={bottom:{style:`none`},left:{style:`none`},right:{style:`none`},top:{style:`none`}};e.borderMap.set(t.BufferUtils.JSONStableStringify(n),`0`),e.borders.push(n)}(i),function(e,n){Re(e,e.getNamedStyles().getByName(t.IStyle.BuiltInName.Normal).toJSON(),n)}(e,i);let a=n?.named??t.CommonUtils.EmptyArray;for(let t of a)Re(e,t,i);for(let t of r)Le(e,t,i);return i}(a,i,o),c=n.getSharedStates().get(Fe),l=function(e,t=0){let n=e?.tables;if(!n)return null;let r=n.styles;if(!r)return null;let i=[],a=new Map,o=Object.keys(r),s=[...Ge].reverse();for(let e of o){let n=r[e];for(let r of s){let o=n[r];if(!o)continue;let s={};if(o.font&&(s.font=o.font),o.fill&&(s.fill=o.fill),o.borders&&(s.borders=o.borders),o.numberFormat!==void 0&&(s.numberFormat=o.numberFormat),Object.keys(s).length===0)continue;let c=t+i.length;i.push(s);let l=`${e}:${r}`;a.set(l,c)}}return{dxfs:i,dxfIndexMap:a}}(i,c?.getCount()??0);(function(e,t,n){let r=n.numFmtsCustom,i=r.length;if(i!==0){t.start(`numFmts`,{count:String(i)});for(let e=0;e<i;e++){let n=r[e];t.empty(`numFmt`,{numFmtId:String(e+We),formatCode:n})}t.end(`numFmts`)}})(0,r,s),function(e,t,n,r){let i=r.fonts,a=i.length;t.start(`fonts`,{count:String(a),"x14ac:knownFonts":`1`});for(let r of i)ze(e,t,r,n);t.end(`fonts`)}(n,r,a,s),function(e,t,n,r){let i=r.fills,a=i.length;t.start(`fills`,{count:String(a)});for(let e of i)H(0,t,e,n,!0);t.end(`fills`)}(0,r,a,s),function(e,t,n,r){let i=r.borders,a=i.length;t.start(`borders`,{count:String(a)});let o=n.getTheme();for(let n of i)Be(e,t,n,o,!1);t.end(`borders`)}(n,r,a,s),function(e,n,r,i,a){let o=a.namedStyles,s=o.length;n.start(`cellStyleXfs`,{count:String(s)});for(let i of o)He(e,n,r,i.style??t.CommonUtils.EmptyObject,a,!1);n.end(`cellStyleXfs`)}(n,r,a,0,s),function(e,t,n,r,i,a){let o=r.length,s=a?.getSources()??[];t.start(`cellXfs`,{count:String(o+s.length)});for(let a=0;a<o;a++)He(e,t,n,r[a],i,!0);for(let a=0;a<s.length;a++)He(e,t,n,r[s[a]],i,!0,!0);t.end(`cellXfs`)}(n,r,a,o,s,n.getSharedStates().get(te)),function(e,n,r,i,a){let o=a.namedStyles,s=o.length;n.start(`cellStyles`,{count:String(s)});let c=a.namedStyleMap;for(let e=0;e<s;e++){let i=o[e],a=i.name,s=a.toLowerCase(),l={name:a,xfId:c.get(s)};i.hidden&&(l.hidden=`1`),i.iLevel&&(l.iLevel=String(i.iLevel));let u=null;u=s===t.IStyle.BuiltInName.Normal.toLowerCase()?0:r.getNamedStyles().getByName(a).getBuiltInID(),u!==null&&(l.builtinId=String(u),l.customBuiltin=`1`),n.empty(`cellStyle`,l)}n.end(`cellStyles`)}(0,r,a,0,s),function(e,t,n,r,i){let a=[...i?.getDxfs()??[],...r?.dxfs??[]];if(a.length===0)return void t.empty(`dxfs`,{count:`0`});let o=n.getTheme();t.start(`dxfs`,{count:String(a.length)});let s=We;for(let r of a)s=Ue(e,t,r,n,o,`dxf`,s);t.end(`dxfs`)}(n,r,a,l,c),function(e,t,n,r,i){let a=r?.tables,o=a?.styles??null,s=o?Object.keys(o):null,c=s?s.length:0,l={count:String(c),defaultTableStyle:a?.defaultTableStyle??`TableStyleMedium2`,defaultPivotStyle:a?.defaultPivotStyle??`PivotStyleLight16`};if(c===0)return void t.empty(`tableStyles`,l);t.start(`tableStyles`,l);for(let e of s){let n=o[e],r=[];for(let e of Ge){let t=n[e];t&&r.push([e,t])}let a={name:e,pivot:n.pivot?`1`:`0`,count:String(r.length)};t.start(`tableStyle`,a);for(let[n,a]of r){let r=`${e}:${n}`,o=i?.dxfIndexMap.get(r)??`0`,s={};s.type=n,a.size!==void 0&&(s.size=String(a.size)),s.dxfId=String(o),t.empty(`tableStyleElement`,s)}t.end(`tableStyle`)}t.end(`tableStyles`)}(0,r,0,i,l),function(e,t,n,r){let i=r?.indexedColors&&r.indexedColors.length>0,a=r?.mruColors&&r.mruColors.length>0;if(!(!i&&!a)){if(t.start(`colors`),i){t.start(`indexedColors`);for(let e of r.indexedColors){let n=ye(e,!0);t.empty(`rgbColor`,{rgb:n})}t.end(`indexedColors`)}if(a){t.start(`mruColors`);for(let e of r.mruColors){let n=ye(e);t.empty(`color`,{rgb:n})}t.end(`mruColors`)}t.end(`colors`)}}(0,r,0,i),function(e,t){t.start(`extLst`),t.start(`ext`,{uri:`{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}`,"xmlns:x14":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`}),t.empty(`x14:slicerStyles`,{defaultSlicerStyle:`SlicerStyleLight1`}),t.end(`ext`),t.start(`ext`,{uri:`{9260A510-F301-46a8-8635-F512D64BE5F5}`,"xmlns:x15":`http://schemas.microsoft.com/office/spreadsheetml/2010/11/main`}),t.empty(`x15:timelineStyles`,{defaultTimelineStyle:`TimeSlicerStyleLight1`}),t.end(`ext`),t.end(`extLst`)}(0,r),r.end(`styleSheet`),r.close()}},new class extends r{constructor(){super({kind:`propsCore`,contentType:`application/vnd.openxmlformats-package.core-properties+xml`,relTypeUri:`http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties`,path:`/docProps/core.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.start(`cp:coreProperties`,{"xmlns:cp":`http://schemas.openxmlformats.org/package/2006/metadata/core-properties`,"xmlns:dc":`http://purl.org/dc/elements/1.1/`,"xmlns:dcterms":`http://purl.org/dc/terms/`,"xmlns:dcmitype":`http://purl.org/dc/dcmitype/`,"xmlns:xsi":`http://www.w3.org/2001/XMLSchema-instance`});let r=new Date,i=[[`creator`,`SheetXL`],[`lastModifiedBy`,`SheetXL`],[`created`,Tt(r)],[`modified`,Tt(r)]];for(let e of i)Et(n,e[0],e[1]);n.end(`cp:coreProperties`),n.close()}},new class extends r{constructor(){super({kind:`propsApp`,contentType:`application/vnd.openxmlformats-officedocument.extended-properties+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties`,path:`/docProps/app.xml`})}async emit(n,r){let i=r.getXMLWriter(),a=n.model,o=await t.LicenseManager.getDetails(),s=e.r(o.getBuildVersion()),c=o.getLicensee()||``;i.setValidationDisabled(!0),i.decl(),i.start(`Properties`,{xmlns:`http://schemas.openxmlformats.org/officeDocument/2006/extended-properties`,"xmlns:vt":`http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes`}),Z(r,i,`Application`,`SheetXL`),Z(r,i,`DocSecurity`,`0`),Z(r,i,`ScaleCrop`,`false`),Dt(r,i,a),Z(r,i,`Company`,c),Z(r,i,`LinksUpToDate`,`false`),Z(r,i,`SharedDoc`,`false`),Z(r,i,`HyperlinksChanged`,`false`),Z(r,i,`AppVersion`,s),i.end(`Properties`),i.close()}},new class extends r{constructor(){super({kind:`metadata`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata`,path:`/xl/metadata.xml`})}emit(e,t){let n=t.getXMLWriter(),r=e.hasCellMeta(),i=e.hasValueMeta(),a=e.getDAPRFutureMetadataBlocks(),o=e.getRVFutureMetadataBlocks(),s=e.getValueMeta(),c=0,l=0,u=0;r&&(c=++u),i&&(l=++u);let d={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`};if(r&&(d[`xmlns:xda`]=`http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray`),i&&(d[`xmlns:xlrd`]=`http://schemas.microsoft.com/office/spreadsheetml/2017/richdata`),n.decl(),n.start(`metadata`,d),n.start(`metadataTypes`,{count:u}),r&&n.empty(`metadataType`,{name:`XLDAPR`,...Ot,cellMeta:`1`}),i&&n.empty(`metadataType`,{name:`XLRICHVALUE`,...Ot}),n.end(`metadataTypes`),r){n.start(`futureMetadata`,{name:`XLDAPR`,count:a.length});for(let e of a)n.start(`bk`),n.start(`extLst`),n.start(`ext`,{uri:`{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}`}),n.empty(`xda:dynamicArrayProperties`,{fDynamic:e.fDynamic,fCollapsed:e.fCollapsed}),n.end(`ext`),n.end(`extLst`),n.end(`bk`);n.end(`futureMetadata`)}if(i){n.start(`futureMetadata`,{name:`XLRICHVALUE`,count:o.length});for(let e of o)n.start(`bk`),n.start(`extLst`),n.start(`ext`,{uri:`{3e2802c4-a4d2-4d8b-9148-e3be6c30e623}`}),n.empty(`xlrd:rvb`,{i:e}),n.end(`ext`),n.end(`extLst`),n.end(`bk`);n.end(`futureMetadata`)}if(r){n.start(`cellMetadata`,{count:a.length});for(let e=0;e<a.length;e++)n.start(`bk`),n.empty(`rc`,{t:c,v:e}),n.end(`bk`);n.end(`cellMetadata`)}if(i){n.start(`valueMetadata`,{count:s.length});for(let e of s)n.start(`bk`),n.empty(`rc`,{t:l,v:e}),n.end(`bk`);n.end(`valueMetadata`)}n.end(`metadata`),n.close()}},new class extends r{constructor(){super({kind:`richValue`,contentType:`application/vnd.ms-excel.rdrichvalue+xml`,relTypeUri:`http://schemas.microsoft.com/office/2017/06/relationships/rdRichValue`,path:`./richData/rdrichvalue.xml`})}async emit(e,t){let n=t.getXMLWriter(),r=e.getEntries(),i=r.length;n.decl(),n.start(`rvData`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2017/richdata`,count:i});for(let t of r){let r=e.handlerStructureIndex(t.handler);n.start(`rv`,{s:r});let i=t.handler.getValues(t.rawValue);for(let e of i)n.start(`v`),n.text(e),n.end(`v`);n.end(`rv`)}n.end(`rvData`),n.close()}},new class extends r{constructor(){super({kind:`richValueStructure`,contentType:`application/vnd.ms-excel.rdrichvaluestructure+xml`,relTypeUri:`http://schemas.microsoft.com/office/2017/06/relationships/rdRichValueStructure`,path:`./richData/rdrichvaluestructure.xml`})}async emit(e,t){let n=t.getXMLWriter(),r=e.uniqueHandlers(),i=r.length;n.decl(),n.start(`rvStructures`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2017/richdata`,count:i});for(let e of r){n.start(`s`,{t:e.type});for(let[t,r]of e.props)n.empty(`k`,{n:t,t:r});n.end(`s`)}n.end(`rvStructures`),n.close()}},new class extends r{constructor(){super({kind:`richValueTypes`,contentType:`application/vnd.ms-excel.rdrichvaluetypes+xml`,relTypeUri:`http://schemas.microsoft.com/office/2017/06/relationships/rdRichValueTypes`,path:`./richData/rdRichValueTypes.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.start(`rvTypesInfo`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`x`,"xmlns:x":`http://schemas.openxmlformats.org/spreadsheetml/2006/main`});let r=[[`_self`,[`ExcludeFromFile`,`ExcludeFromCalcComparison`]],[`_DisplayString`,[`ExcludeFromCalcComparison`]],[`_Flags`,[`ExcludeFromCalcComparison`]],[`_Format`,[`ExcludeFromCalcComparison`]],[`_SubLabel`,[`ExcludeFromCalcComparison`]],[`_Attribution`,[`ExcludeFromCalcComparison`]],[`_Icons`,[`ExcludeFromCalcComparison`]],[`_Display`,[`ExcludeFromCalcComparison`]],[`_CanonicalPropertyNames`,[`ExcludeFromCalcComparison`]],[`_ClassificationId`,[`ExcludeFromCalcComparison`]]];n.start(`global`),n.start(`keyFlags`);for(let[e,t]of r){n.start(`key`,{name:e});for(let e of t)n.empty(`flag`,{name:e,value:`1`});n.end(`key`)}n.end(`keyFlags`),n.end(`global`),n.end(`rvTypesInfo`),n.close()}},new class extends r{constructor(){super({kind:`drawing`,contentType:`application/vnd.openxmlformats-officedocument.drawing+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,path:`../drawings/drawing{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.pushDefaultNamespace(`xdr`),n.start(`wsDr`,{"xmlns:xdr":`http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`});let r=new Map,i=e.sheet,a=e.movables,o=e.jsonMovables,s=o?o.length:0,c=0;for(let e=0;e<s;e++){let t=o[e].content?.json?.sourceId;typeof t==`number`&&t>c&&(c=t)}let l=new Map,u;if(c>0){let e=t.getSharedStates();u=e.get(`uniqueIdCounter`),u||(u=new Map,e.set(`uniqueIdCounter`,u)),u.set(i,Math.max(u.get(i)??1,c));let n=new Set;for(let e=0;e<s;e++){let t=o[e].content?.json?.sourceId;if(typeof t==`number`)if(n.has(t)){let t=u.get(i)+1;u.set(i,t),l.set(o[e],t)}else n.add(t)}}for(let e=0;e<s;e++){let s=o[e],c=a[e],u=s.content?.type;switch(n.start(`twoCellAnchor`,{editAs:s.anchorType||`twoCell`}),qt(n,`from`,s.anchor.tl),qt(n,`to`,s.anchor.br),u){case`picture`:await Ft(t,i,r,c,s);break;case`chart`:await It(t,i,r,c,s,l.get(s));break;case`shape`:await Bt(t,i,r,c,s,l.get(s));break;case`smartArt`:await Lt(t,i,r,c,s);break;case`slicer`:await Rt(t,i,r,c,s);break;case`graphicFrame`:await zt(t,i,r,c,s);break;default:await Q(t,i,r,c,s)}n.empty(`clientData`),n.end(`twoCellAnchor`)}n.end(`wsDr`),n.close()}},new class extends r{constructor(){super({kind:`legacyDrawing`,contentType:`application/vnd.openxmlformats-officedocument.vmlDrawing`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing`,path:`../drawings/vmlDrawing{n}.vml`})}async emit(e,t){let r=e.images,i=r?r.length:0;if(i>0){let e=t.getSharedStates().get(n);for(let n=0;n<i;n++){let i=r[n],a=e?.get(i.resId);if(a)try{await Jt(t,i.id,a)}catch(e){t.log(`Unable to write legacy drawing image '${i.id}'`,e)}else t.log(`Legacy drawing image '${i.id}' has no resource ${i.resId} and was not written.`)}}let a=t.getXMLWriter();a.setValidationDisabled(!0),a.raw(e.xml),a.close()}},new class extends r{constructor(){super({kind:`embeddedPart`,contentType:F,relTypeUri:``})}getContentType(e){return e?.contentType||F}getRelTypeUri(e){return e?.type??``}getPath(e){return`./${re(e.name)}`}async emit(e,t){await I(e,t);let n=t.getXMLWriter();n.setValidationDisabled(!0),n.raw(e.xml??``),n.close()}},new class extends r{constructor(){super({kind:`pivotTable`,contentType:ie,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable`,path:`../pivotTables/pivotTable{n}.xml`})}getContentType(e){return e?.part?.contentType||ie}async emit(e,t){let n=e.part;await I(n,t);let r=ae(t,e.cacheId);if(!r||!t.addRelationship(`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition`,r))throw Error(`Pivot table '${n.name??``}' has no cache with id ${e.cacheId}.`);let i=t.getXMLWriter();i.setValidationDisabled(!0),i.raw(n.xml??``),i.close()}},new class extends r{constructor(){super({kind:`comments`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`,path:`../comments{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.start(`comments`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`xr`,"xmlns:xr":`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`});let r=[],i=new Map,a=e=>{let t=i.get(e);return t===void 0&&(t=r.length,r.push(e),i.set(e,t)),t},o=e.comments,s=[];for(let e=0;e<o.length;e++){let{comment:t,ref:n}=o[e];t.isNote()?s.push({ref:n,authorId:a(t.getAuthor()?.getDisplayName()??``),content:t.getRichContent()??t.getContent()}):s.push({ref:n,authorId:a(`tc={${t.getId().toUpperCase()}}`),content:be(t)})}n.start(`authors`);for(let e=0;e<r.length;e++)n.start(`author`),n.text(r[e]),n.end(`author`);n.end(`authors`);let c=e.sheet.getStyles().getTheme();n.start(`commentList`);for(let e=0;e<s.length;e++){let t=s[e];n.start(`comment`,{ref:t.ref,authorId:t.authorId,shapeId:0}),n.start(`text`),xe(n,t.content,c),n.end(`text`),n.end(`comment`)}n.end(`commentList`),n.end(`comments`),n.close()}},new class extends r{constructor(){super({kind:`threadedComments`,contentType:`application/vnd.ms-excel.threadedcomments+xml`,relTypeUri:`http://schemas.microsoft.com/office/2017/10/relationships/threadedComment`,path:`../threadedComments/threadedComment{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.start(`ThreadedComments`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments`,"xmlns:x":`http://schemas.openxmlformats.org/spreadsheetml/2006/main`});let r=e.comments;for(let e=0;e<r.length;e++){let{comment:t,ref:i}=r[e];if(t.isNote())continue;Xt(n,i,t.getId(),t.getAuthor()?.getId(),t.getCreationDate(),t.getContent(),null,t.isResolved(),t.toJSON()?.mentions);let a=t.getReplies();for(let e=0;e<a.length;e++){let r=a[e];Xt(n,i,r.getId(),r.getAuthor()?.getId(),r.getCreationDate(),r.getContent(),t.getId(),!1,r.toJSON().mentions)}}n.end(`ThreadedComments`),n.close()}},new class extends r{constructor(){super({kind:`persons`,contentType:`application/vnd.ms-excel.person+xml`,relTypeUri:`http://schemas.microsoft.com/office/2017/10/relationships/person`,path:`persons/person.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.start(`personList`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments`,"xmlns:x":`http://schemas.openxmlformats.org/spreadsheetml/2006/main`});let r=e.toArray();for(let e=0;e<r.length;e++){let t=r[e];n.empty(`person`,{displayName:t.getDisplayName(),id:$(t.getId()),userId:t.getUserId()??t.getDisplayName(),providerId:t.getProviderId()??`None`})}n.end(`personList`),n.close()}},new class extends r{constructor(){super({kind:`table`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/table`,path:`../tables/table{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl();let r={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`xr xr3`,"xmlns:xr":`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`,"xmlns:xr3":`http://schemas.microsoft.com/office/spreadsheetml/2016/revision3`},i=e.json,a=e.model;a.isShowHeaders(),r.id=++Zt,r.name=i.name?.trim(),r.displayName=i.description??i.name,r.ref=e.ref,i.headerRowCount!==1&&(r.headerRowCount=i.headerRowCount),i.totalsRowCount!==0&&(r.totalsRowCount=i.totalsRowCount),i.totalsRowShown||a.isShowTotals()||(r.totalsRowShown=`0`),n.start(`table`,r),a.isShowHeaders()&&Je(t,n,a,i),Qt(t,n,a,i),en(t,n,a,i),n.end(`table`),n.close()}},new class extends r{constructor(){super({kind:`externalLink`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`,path:`../externalLinks/externalLink{n}.xml`})}async emit(e,t){let n=t.getXMLWriter(),r=e.sources??[],i=r.findIndex(e=>e.role===`book`);i<0&&r.length>0&&(i=0);let a=null,o=null;for(let e=0;e<r.length;e++){let n=r[e],s=t.addExternal(n.type||`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath`,n.target).relId;e===i?a=s:n.role===`absoluteUrl`&&(o=s)}a||t.log(`External book has no path relationship; Excel cannot locate its source.`,e.sheetNames),n.decl();let s={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`};(e.mceIgnorable||o)&&(s[`xmlns:mc`]=`http://schemas.openxmlformats.org/markup-compatibility/2006`,s[`mc:Ignorable`]=`x14 xxl21`,s[`xmlns:x14`]=`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`,s[`xmlns:xxl21`]=`http://schemas.microsoft.com/office/spreadsheetml/2021/extlinks2021`),n.start(`externalLink`,s);let c={"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`};a&&(c[`r:id`]=a),n.start(`externalBook`,c),o&&(n.start(`xxl21:alternateUrls`),n.empty(`xxl21:absoluteUrl`,{"r:id":o}),n.end(`xxl21:alternateUrls`)),function(e,t){let n=t.sheetNames,r=n?n.length:0;if(r!==0){e.start(`sheetNames`);for(let t=0;t<r;t++)e.empty(`sheetName`,{val:n[t]});e.end(`sheetNames`)}}(n,e),function(e,t){let n=t.definedNames,r=n?n.length:0;if(r!==0){e.start(`definedNames`);for(let t=0;t<r;t++){let r=n[t],i={name:r.name,refersTo:r.refersTo};r.sheetIndex!==void 0&&(i.sheetId=``+r.sheetIndex),e.empty(`definedName`,i)}e.end(`definedNames`)}}(n,e),function(e,t){let n=t.sheetDataSet,r=n?n.length:0;if(r!==0){e.start(`sheetDataSet`);for(let t=0;t<r;t++){let r=n[t],i={sheetId:``+r.sheetIndex};r.refreshError&&(i.refreshError=`1`);let a=r.data,o=a?a.length:0;if(o!==0){e.start(`sheetData`,i);for(let t=0;t<o;t++){let[n,r]=a[t];e.start(`row`,{r:``+(n+1)});let i=r.length;for(let t=0;t<i;t++){let[i,a]=r[t],o=a.length;for(let t=0;t<o;t++)rn(e,n,i+t,a.at(t))}e.end(`row`)}e.end(`sheetData`)}else e.empty(`sheetData`,i)}e.end(`sheetDataSet`)}}(n,e),n.end(`externalBook`),n.end(`externalLink`),n.close()}},new class extends r{constructor(){super({kind:`chart`,contentType:`application/vnd.openxmlformats-officedocument.drawingml.chart+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart`,path:`../charts/chart{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.pushDefaultNamespace(`c`),n.start(`chartSpace`,{"xmlns:c":`http://schemas.openxmlformats.org/drawingml/2006/chart`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:c16r2":`http://schemas.microsoft.com/office/drawing/2015/06/chart`}),n.empty(`date1904`,{val:`0`}),n.empty(`lang`,{val:`en-US`}),n.empty(`roundedCorners`,{val:`0`}),an(t,n,e.model,e.json),on(t,n,e.styles,e.model,e.json),sn(t,n,e.model,e.json),n.end(`chartSpace`),n.popDefaultNamespace(),n.close(),t.addPart(`chartStyle`,{styles:e.styles}),t.addPart(`chartColors`,{styles:e.styles})}},new class extends r{constructor(){super({kind:`chartStyle`,contentType:`application/vnd.ms-office.chartstyle+xml`,relTypeUri:`http://schemas.microsoft.com/office/2011/relationships/chartStyle`,path:`./style{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.pushDefaultNamespace(`cs`),n.start(`chartStyle`,{"xmlns:cs":`http://schemas.microsoft.com/office/drawing/2012/chartStyle`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`,id:`297`}),ln(t,n,un,e.styles),n.end(`chartStyle`),n.close()}},new class extends r{constructor(){super({kind:`chartColors`,contentType:`application/vnd.ms-office.chartcolorstyle+xml`,relTypeUri:`http://schemas.microsoft.com/office/2011/relationships/chartColorStyle`,path:`./colors{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.pushDefaultNamespace(`cs`),n.start(`cs:colorStyle`,{"xmlns:cs":`http://schemas.microsoft.com/office/drawing/2012/chartStyle`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`,meth:`cycle`,id:`10`}),n.empty(`a:schemeClr`,{val:`accent1`}),n.empty(`a:schemeClr`,{val:`accent2`}),n.empty(`a:schemeClr`,{val:`accent3`}),n.empty(`a:schemeClr`,{val:`accent4`}),n.empty(`a:schemeClr`,{val:`accent5`}),n.empty(`a:schemeClr`,{val:`accent6`}),dn(t,n,fn),n.end(`cs:colorStyle`),n.close()}}],mn=t=>{let n=t.getPart(`xl/_rels/workbook.xml.rels`);if(!n)return null;let r=new Map;for(let t of e.U(n.data)){if(!t.id)continue;let e=t.external?t.target:p(t.target.startsWith(`/`)?t.target:`xl/`+t.target);r.set(t.id,{type:t.type,target:e,external:t.external})}return r},hn=e=>{let t=e.getPart(`xl/workbook.xml`);return t?new TextDecoder(`utf-8`).decode(t.data):null},gn=e=>{let t=_n.get(e);if(t!==void 0)return t;let n=e.getPart(`xl/workbook.xml`),r=n?new TextDecoder(`utf-8`).decode(n.data):null;return _n.set(e,r),r},_n=new WeakMap,vn=1;exports.writeXLSX=async(t,r)=>{let a=new A;for(let e of pn)a.register(e);let o=vn,s=i.createUint8Array({lastModDate:new Date(1899,11,29,19,0,0),level:o}),c=r?.format===`Excel`||r?.format===`ExcelMacro`?e.N(t):null,l=new Map,u=c?(e=>{let t=e.getPart(`xl/workbook.xml`);if(!t)return null;let n=new TextDecoder(`utf-8`).decode(t.data.subarray(0,4096)).match(/<fileVersion\b([^>]*)\/?>/);if(!n)return null;let r={};for(let e of n[1].matchAll(/([\w:]+)="([^"]*)"/g))r[e[1]]=e[2];return Object.keys(r).length>0?r:null})(c):null;u&&(r?.macroEnabled||delete u.codeName,l.set(se,u));let d=c?(e=>{let t=gn(e)?.match(/<calcPr\b[^>]*?\bcalcId="([^"]*)"/);return t?t[1]:null})(c):null;d!==null&&l.set(`calcId`,d);let f=c?(e=>{let t=gn(e)?.match(/<ext\b[^>]*>\s*<xcalcf:calcFeatures\b[\s\S]*?<\/xcalcf:calcFeatures>\s*<\/ext>/);return t?t[0]:null})(c):null;f!==null&&l.set(`calcFeatures`,f);let p=c?(e=>{let t=hn(e);if(!t)return null;let n=/<externalReferences\b[^>]*>([\s\S]*?)<\/externalReferences>/.exec(t);if(!n)return null;let r=[...n[1].matchAll(/<externalReference\b[^>]*\sr:id="([^"]*)"/g)].map(e=>e[1]);if(r.length===0)return null;let i=mn(e);return i?r.map(e=>{let t=i.get(e);return t&&!t.external?t.target:null}):null})(c):null;p&&l.set(le,p);let m=c?(e=>{let t=hn(e),n=t?mn(e):null;if(!t||!n)return null;let r=new Map;for(let e of t.matchAll(/<sheet\b([^>]*)\/?>/g)){let t=/\bsheetId="(\d+)"/.exec(e[1])?.[1],i=/\br:id="([^"]*)"/.exec(e[1])?.[1];if(!t||!i)continue;let a=n.get(i);a&&!a.external&&a.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`&&r.set(parseInt(t,10),a.target)}return r.size>0?r:null})(c):null;m&&l.set(ce,m),l.set(n,new Map);let h=[],g=new k(s,a,{strictDuplicateChildren:!0,onPartEmitted:r?.onPartEmitted,onWarning:(e,t,n)=>{h.push([e,t,n])},mapState:l,sourcePackage:c,macroEnabled:r?.macroEnabled??!1});g.addPart(`workbook`,t,`/xl/workbook.xml`),await g.waitEmit(),g.addPart(`propsCore`,{}),g.addPart(`propsApp`,{model:t});let _=await g.build(),v=r?.progress?.onWarning;if(h.length&&v){let e=new Set;for(let[t,n,i]of h){let a=i??t;e.has(a)||(e.add(a),v.call(r.progress,t,n))}}return _.byteOffset===0&&_.byteLength===_.buffer.byteLength?_.buffer:_.slice().buffer};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./xQ6-wbTw5UzZUM1Y.cjs");var t,n;function r(e,t){if(t<0||t+1>=e.length)throw RangeError(`toUInt16LE: Offset ${t} is out of bounds for buffer length ${e.length}. Needed 2 bytes.`);return e[t]|e[t+1]<<8}function i(e){if(e<=0||e<=16)return 12;if(e<=32)return 11;if(e<=64)return 10;if(e<=128)return 9;if(e<=256)return 8;if(e<=512)return 7;if(e<=1024)return 6;if(e<=2048)return 5;if(e<=4096)return 4;let t=e-1>>4;return t<=0?12:Math.max(4,12-(Math.trunc(Math.log2(t))+1))}function a(e,t,n){let a=n,o=r(t,a);a+=2;let s=0,c=new Uint8Array(4198),l=1+(4095&o),u=a+l;if((32768&o)>>>15==1){for(;a<u&&a<t.length;){let n=t[a];a++;for(let l=0;l<8&&!(a>=u);l++)if(n&1<<l){if(a+1>=t.length)throw Error(`EOF reading copy token word.`);let n=r(t,a),l=i(s),u=65535>>>16-l,d=3+(n&u),f=(n&(65535&~u))>>>l,p=f+1,m=s-p;if(m<0)throw Error(`Invalid CopyToken offset ${p} (history size ${s}, tokenOffsetField ${f}, raw token word 0x${n.toString(16)}, header 0x${o.toString(16)})`);if(s+d>=c.length){let e=new Uint8Array(c.length+4198);e.set(c.subarray(0,s)),c=e}for(let t=0;t<d;t++){if(m>=s)throw Error(`CopyToken source read OOB: source_idx=${m}, history_written=${s}`);let t=c[m];e.push(t),c[s]=t,s++,m++}a+=2}else{if(a>=t.length)throw Error(`EOF reading literal byte.`);let n=t[a];e.push(n),c[s]=n,s++,a++}}return{newPos:u}}if(a+l>t.length)throw Error(`Raw chunk data length (${l}) extends beyond input buffer (length ${t.length}, current pos ${a}).`);for(let n=0;n<l;n++)e.push(t[a+n]);return a+=l,{newPos:a}}(function(e){function t(e,t){let n=[],r=0;n.push(0);let a=1,o=t,s=Math.min(t+4096,e.length);for(;o<s;){let c=0,l=r;for(let r=0;r<8&&!(o>=s);r++){let l=-1,u=0,d=o-t;if(d>0){let n=(1<<i(d))-1;for(let r=o-1;r>=t;r--)if(e[r]===e[o]){let t=1;for(;o+t<s&&r+t<o&&e[r+t]===e[o+t]&&t<n+3;)t++;if(t>u&&(l=r,u=t,u>=n+3))break}}if(u>=3){c|=1<<r;let e=o-l-1<<i(d)|u-3;n[a++]=255&e,n[a++]=e>>8&255,o+=u}else n[a++]=e[o++]}n[l]=c,o<s&&(r=a,n.push(0),a++)}return a===1&&n[0]===0?{chunk:null,newAbsoluteStartPos:s}:{chunk:Uint8Array.from(n.slice(0,a)),newAbsoluteStartPos:s}}e.CompressPart=function(e){let n=[];n.push(1);let r=0;for(;r<e.length;){let i=t(e,r),a=i.chunk;if(a&&a.length>0){let e=a.length-1&4095;e|=45056,n.push(255&e),n.push(e>>8&255);for(let e=0;e<a.length;e++)n.push(a[e])}r=i.newAbsoluteStartPos}return Uint8Array.from(n)},e.DecompressPart=function(e,t=0){if(!e||e.length===0)return new Uint8Array;if(t>=e.length||e[t]!==1)return console.error(`DecompressPart failed: Invalid signature byte 0x${e[t]?.toString(16)} at pos ${t} or invalid startPos.`),null;let n=[],r=t+1;for(;r<e.length-1&&!(r+1>=e.length);)try{r=a(n,e,r).newPos}catch(e){return console.error(`Error during DecompressChunk at input offset ${r}:`,e.message),null}return Uint8Array.from(n)}})(t||={}),function(n){let r={1250:`windows-1250`,1251:`windows-1251`,1252:`windows-1252`,1253:`windows-1253`,1254:`windows-1254`,1255:`windows-1255`,1256:`windows-1256`,1257:`windows-1257`,1258:`windows-1258`,874:`windows-874`,932:`shift_jis`,936:`gbk`,949:`euc-kr`,950:`big5`,65001:`utf-8`},i=(e,t,n)=>{let r=``;for(let i=0;i<n;i++)r+=String.fromCharCode(e[t+i]);return r};n.extract=n=>{let a;try{a=e.t.read(n)}catch{return null}let o=a.readStream(`dir`);if(!o)return null;let s=t.DecompressPart(o);if(!s)return null;let c=new DataView(s.buffer,s.byteOffset,s.byteLength),l=1252,u=[],d,f=0;for(;f+6<=s.length;){let e=c.getUint16(f,!0),t=c.getUint32(f+2,!0),n=f+6;switch(e){case 3:l=c.getUint16(n,!0);break;case 25:d={name:i(s,n,t),type:`procedural`},u.push(d);break;case 26:d&&(d.stream=i(s,n,t));break;case 49:d&&(d.offset=c.getUint32(n,!0));break;case 33:d&&(d.type=`procedural`);break;case 34:d&&(d.type=`document`)}if(e===16)break;f=n+(e===9?6:t)}let p=(e=>{let t=r[e]??`windows-1252`;try{return new TextDecoder(t)}catch{return new TextDecoder(`windows-1252`)}})(l),m=[];for(let e of u){if(e.offset===void 0)continue;let n=a.readStream(e.stream??e.name);if(!n)continue;let r=t.DecompressPart(n,e.offset);r&&m.push({name:e.name,code:p.decode(r),type:e.type})}return{codePage:l,modules:m}};let a=/^(?:Attribute\s[^\r\n]*(?:\r\n|\r|\n|$))*/,o=n.splitAttributes=e=>{let t=a.exec(e),n=t?t[0].length:0;return{header:e.slice(0,n),body:e.slice(n)}};n.stripAttributes=e=>o(e).body}(n||={}),Object.defineProperty(exports,"VBAProject",{enumerable:!0,get:function(){return n}});
|