@superdoc/mcp 1.13.0-next.9 → 1.13.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/dist/index.js +1174 -617
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -31155,7 +31155,7 @@ var init_host = __esm(() => {
|
|
|
31155
31155
|
});
|
|
31156
31156
|
|
|
31157
31157
|
// ../../packages/sdk/langs/node/src/runtime/sdk-version.generated.ts
|
|
31158
|
-
var SDK_VERSION = "2.26.0
|
|
31158
|
+
var SDK_VERSION = "2.26.0";
|
|
31159
31159
|
|
|
31160
31160
|
// ../../packages/sdk/langs/node/src/runtime/embedded-platform.ts
|
|
31161
31161
|
import { accessSync, chmodSync, constants, existsSync, statSync } from "node:fs";
|
|
@@ -132101,7 +132101,7 @@ function utf8ByteLength(cp) {
|
|
|
132101
132101
|
}
|
|
132102
132102
|
var NS_W = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", NS_WSTRICT = "http://purl.oclc.org/ooxml/wordprocessingml/main", NS_W14 = "http://schemas.microsoft.com/office/word/2010/wordml", NS_W15 = "http://schemas.microsoft.com/office/word/2012/wordml", NS_MC = "http://schemas.openxmlformats.org/markup-compatibility/2006", NS_R = "http://schemas.openxmlformats.org/officeDocument/2006/relationships", NS_RSTRICT = "http://purl.oclc.org/ooxml/officeDocument/relationships", NS_A = "http://schemas.openxmlformats.org/drawingml/2006/main", NS_V = "urn:schemas-microsoft-com:vml", NS_XML = "http://www.w3.org/XML/1998/namespace";
|
|
132103
132103
|
|
|
132104
|
-
//
|
|
132104
|
+
// ../../node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xml/1.0/ed5.js
|
|
132105
132105
|
var require_ed5 = __commonJS((exports) => {
|
|
132106
132106
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
132107
132107
|
exports.CHAR = `
|
|
@@ -132139,7 +132139,7 @@ var require_ed5 = __commonJS((exports) => {
|
|
|
132139
132139
|
exports.isNameChar = isNameChar;
|
|
132140
132140
|
});
|
|
132141
132141
|
|
|
132142
|
-
//
|
|
132142
|
+
// ../../node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xml/1.1/ed2.js
|
|
132143
132143
|
var require_ed2 = __commonJS((exports) => {
|
|
132144
132144
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
132145
132145
|
exports.CHAR = "\x01--�\uD800\uDC00-\uDBFF\uDFFF";
|
|
@@ -132186,7 +132186,7 @@ var require_ed2 = __commonJS((exports) => {
|
|
|
132186
132186
|
exports.isNameChar = isNameChar;
|
|
132187
132187
|
});
|
|
132188
132188
|
|
|
132189
|
-
//
|
|
132189
|
+
// ../../node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xmlns/1.0/ed3.js
|
|
132190
132190
|
var require_ed3 = __commonJS((exports) => {
|
|
132191
132191
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
132192
132192
|
exports.NC_NAME_START_CHAR = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";
|
|
@@ -132204,7 +132204,7 @@ var require_ed3 = __commonJS((exports) => {
|
|
|
132204
132204
|
exports.isNCNameChar = isNCNameChar;
|
|
132205
132205
|
});
|
|
132206
132206
|
|
|
132207
|
-
//
|
|
132207
|
+
// ../../node_modules/.pnpm/saxes@6.0.0/node_modules/saxes/saxes.js
|
|
132208
132208
|
var require_saxes = __commonJS((exports) => {
|
|
132209
132209
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
132210
132210
|
exports.SaxesParser = exports.EVENTS = undefined;
|
|
@@ -249744,7 +249744,7 @@ var init_history_part_rewrite = __esm(() => {
|
|
|
249744
249744
|
init_part_payload();
|
|
249745
249745
|
});
|
|
249746
249746
|
|
|
249747
|
-
//
|
|
249747
|
+
// ../../node_modules/.pnpm/fflate@0.8.2/node_modules/fflate/esm/index.mjs
|
|
249748
249748
|
import { createRequire as createRequire3 } from "module";
|
|
249749
249749
|
function deflateSync(data, opts) {
|
|
249750
249750
|
return dopt(data, opts || {}, 0, 0);
|
|
@@ -290756,6 +290756,329 @@ var init_large_streaming_save = __esm(() => {
|
|
|
290756
290756
|
STREAM_PUSH_CHUNK = 64 * 1024;
|
|
290757
290757
|
});
|
|
290758
290758
|
|
|
290759
|
+
// ../../../v2/editor-core/dist/util/ooxml-namespaces.js
|
|
290760
|
+
function hasOwn(bindings2, prefix2) {
|
|
290761
|
+
return Object.prototype.hasOwnProperty.call(bindings2, prefix2);
|
|
290762
|
+
}
|
|
290763
|
+
function whitespaceTokens(value) {
|
|
290764
|
+
return value.split(/\s+/).filter(Boolean);
|
|
290765
|
+
}
|
|
290766
|
+
function usedXmlPrefixes(xml) {
|
|
290767
|
+
const prefixes = new Set;
|
|
290768
|
+
for (const match of xml.matchAll(XML_PREFIX_USE))
|
|
290769
|
+
prefixes.add(match[1] ?? match[2]);
|
|
290770
|
+
for (const prefix2 of RESERVED_PREFIXES)
|
|
290771
|
+
prefixes.delete(prefix2);
|
|
290772
|
+
return prefixes;
|
|
290773
|
+
}
|
|
290774
|
+
function referencedXmlPrefixes(xml) {
|
|
290775
|
+
const prefixes = usedXmlPrefixes(xml);
|
|
290776
|
+
for (const match of xml.matchAll(MARKUP_COMPATIBILITY_ATTRIBUTE_VALUE)) {
|
|
290777
|
+
const qualifiedNames = QUALIFIED_NAME_LIST_ATTRIBUTES.has(match[1]);
|
|
290778
|
+
for (const token of whitespaceTokens(match[3])) {
|
|
290779
|
+
const separator = token.indexOf(":");
|
|
290780
|
+
if (!qualifiedNames)
|
|
290781
|
+
prefixes.add(token);
|
|
290782
|
+
else if (separator > 0)
|
|
290783
|
+
prefixes.add(token.slice(0, separator));
|
|
290784
|
+
}
|
|
290785
|
+
}
|
|
290786
|
+
for (const prefix2 of RESERVED_PREFIXES)
|
|
290787
|
+
prefixes.delete(prefix2);
|
|
290788
|
+
return prefixes;
|
|
290789
|
+
}
|
|
290790
|
+
function declaredXmlPrefixes(xml) {
|
|
290791
|
+
return new Set([...xml.matchAll(NAMESPACE_DECLARATION)].map((match) => match[1]));
|
|
290792
|
+
}
|
|
290793
|
+
function isMarkupCompatibilityName(namespaceUri, prefix2, bindings2) {
|
|
290794
|
+
if (prefix2 && !hasOwn(bindings2, prefix2))
|
|
290795
|
+
return KNOWN_OOXML_NAMESPACES.get(prefix2) === MARKUP_COMPATIBILITY_NAMESPACE3;
|
|
290796
|
+
return namespaceUri === MARKUP_COMPATIBILITY_NAMESPACE3;
|
|
290797
|
+
}
|
|
290798
|
+
function markupCompatibilityPrefixReferences(tag, bindings2) {
|
|
290799
|
+
const references = [];
|
|
290800
|
+
for (const attribute2 of tag.attributes) {
|
|
290801
|
+
if (attribute2.prefix && isMarkupCompatibilityName(attribute2.namespaceUri, attribute2.prefix, bindings2)) {
|
|
290802
|
+
if (PREFIX_LIST_ATTRIBUTES.has(attribute2.localName)) {
|
|
290803
|
+
references.push(...whitespaceTokens(attribute2.value));
|
|
290804
|
+
} else if (QUALIFIED_NAME_LIST_ATTRIBUTES.has(attribute2.localName)) {
|
|
290805
|
+
for (const name of whitespaceTokens(attribute2.value)) {
|
|
290806
|
+
const separator = name.indexOf(":");
|
|
290807
|
+
if (separator > 0)
|
|
290808
|
+
references.push(name.slice(0, separator));
|
|
290809
|
+
}
|
|
290810
|
+
}
|
|
290811
|
+
} else if (!attribute2.prefix && attribute2.localName === "Requires" && tag.localName === "Choice" && isMarkupCompatibilityName(tag.namespaceUri, tag.prefix, bindings2)) {
|
|
290812
|
+
references.push(...whitespaceTokens(attribute2.value));
|
|
290813
|
+
}
|
|
290814
|
+
}
|
|
290815
|
+
return references;
|
|
290816
|
+
}
|
|
290817
|
+
function mayReferenceUnboundPrefix(xml, inScope) {
|
|
290818
|
+
for (const prefix2 of referencedXmlPrefixes(xml)) {
|
|
290819
|
+
if (!hasOwn(inScope, prefix2))
|
|
290820
|
+
return true;
|
|
290821
|
+
}
|
|
290822
|
+
return false;
|
|
290823
|
+
}
|
|
290824
|
+
function unboundXmlPrefixes(xml, inScope, options = {}) {
|
|
290825
|
+
const unbound = new Set;
|
|
290826
|
+
if (!mayReferenceUnboundPrefix(xml, inScope))
|
|
290827
|
+
return unbound;
|
|
290828
|
+
const { errors: errors4 } = walkXmlElements(xml, {
|
|
290829
|
+
fragment: options.fragment ?? !xml.trimStart().startsWith("<?xml"),
|
|
290830
|
+
additionalNamespaces: { ...inScope },
|
|
290831
|
+
onOpenTag: ({ tag, namespaceBindings }) => {
|
|
290832
|
+
for (const prefix2 of markupCompatibilityPrefixReferences(tag, namespaceBindings)) {
|
|
290833
|
+
if (!hasOwn(namespaceBindings, prefix2))
|
|
290834
|
+
unbound.add(prefix2);
|
|
290835
|
+
}
|
|
290836
|
+
}
|
|
290837
|
+
});
|
|
290838
|
+
for (const error48 of errors4) {
|
|
290839
|
+
const prefix2 = UNBOUND_PREFIX_ERROR.exec(error48)?.[1];
|
|
290840
|
+
if (prefix2)
|
|
290841
|
+
unbound.add(prefix2);
|
|
290842
|
+
}
|
|
290843
|
+
for (const prefix2 of RESERVED_PREFIXES)
|
|
290844
|
+
unbound.delete(prefix2);
|
|
290845
|
+
return unbound;
|
|
290846
|
+
}
|
|
290847
|
+
function undeclaredNamespaceUri(prefix2) {
|
|
290848
|
+
return `${UNDECLARED_NAMESPACE_URI_PREFIX}${encodeURIComponent(prefix2)}`;
|
|
290849
|
+
}
|
|
290850
|
+
function processContentNames(xml, inScope, prefixes, options = {}) {
|
|
290851
|
+
const prefixByNamespace = new Map;
|
|
290852
|
+
for (const prefix2 of prefixes) {
|
|
290853
|
+
if (hasOwn(inScope, prefix2))
|
|
290854
|
+
prefixByNamespace.set(inScope[prefix2], prefix2);
|
|
290855
|
+
}
|
|
290856
|
+
if (prefixByNamespace.size === 0)
|
|
290857
|
+
return [];
|
|
290858
|
+
const names = new Set;
|
|
290859
|
+
const open2 = [];
|
|
290860
|
+
walkXmlElements(xml, {
|
|
290861
|
+
fragment: options.fragment ?? !xml.trimStart().startsWith("<?xml"),
|
|
290862
|
+
additionalNamespaces: { ...inScope },
|
|
290863
|
+
onOpenTag: ({ tag }) => {
|
|
290864
|
+
const parent = open2[open2.length - 1];
|
|
290865
|
+
if (parent)
|
|
290866
|
+
names.add(parent);
|
|
290867
|
+
const prefix2 = prefixByNamespace.get(tag.namespaceUri);
|
|
290868
|
+
open2.push(prefix2 === undefined ? null : `${prefix2}:${tag.localName}`);
|
|
290869
|
+
},
|
|
290870
|
+
onCloseTag: () => {
|
|
290871
|
+
open2.pop();
|
|
290872
|
+
}
|
|
290873
|
+
});
|
|
290874
|
+
return [...names].sort();
|
|
290875
|
+
}
|
|
290876
|
+
function availablePrefix(base2, taken) {
|
|
290877
|
+
let prefix2 = base2;
|
|
290878
|
+
for (let suffix = 1;taken(prefix2); suffix += 1)
|
|
290879
|
+
prefix2 = `${base2}${suffix}`;
|
|
290880
|
+
return prefix2;
|
|
290881
|
+
}
|
|
290882
|
+
function planNamespaceBindings(xml, inScope, options = {}) {
|
|
290883
|
+
const unbound = [...unboundXmlPrefixes(xml, inScope, options)].sort();
|
|
290884
|
+
if (unbound.length === 0)
|
|
290885
|
+
return EMPTY_PLAN;
|
|
290886
|
+
const evidence = options.evidence ?? NO_NAMESPACE_EVIDENCE;
|
|
290887
|
+
const bindings2 = {};
|
|
290888
|
+
const undeclaredPrefixes = [];
|
|
290889
|
+
const ignorablePrefixes = [];
|
|
290890
|
+
const unknownIgnorablePrefixes = [];
|
|
290891
|
+
for (const prefix2 of unbound) {
|
|
290892
|
+
const known = KNOWN_OOXML_NAMESPACES.get(prefix2);
|
|
290893
|
+
const evidenced = known ? undefined : evidence.bindings.get(prefix2);
|
|
290894
|
+
bindings2[prefix2] = known ?? evidenced ?? undeclaredNamespaceUri(prefix2);
|
|
290895
|
+
if (!known && !evidenced)
|
|
290896
|
+
undeclaredPrefixes.push(prefix2);
|
|
290897
|
+
if (!known && !evidenced || evidenced && evidence.ignorable.has(prefix2) || known && options.markWordExtensionsIgnorable === true && WORD_IGNORABLE_PREFIXES.has(prefix2)) {
|
|
290898
|
+
ignorablePrefixes.push(prefix2);
|
|
290899
|
+
if (!known)
|
|
290900
|
+
unknownIgnorablePrefixes.push(prefix2);
|
|
290901
|
+
}
|
|
290902
|
+
}
|
|
290903
|
+
const scope = { ...inScope, ...bindings2 };
|
|
290904
|
+
let markupCompatibilityPrefix = null;
|
|
290905
|
+
if (ignorablePrefixes.length > 0) {
|
|
290906
|
+
markupCompatibilityPrefix = Object.keys(scope).sort().find((prefix2) => scope[prefix2] === MARKUP_COMPATIBILITY_NAMESPACE3) ?? null;
|
|
290907
|
+
if (!markupCompatibilityPrefix) {
|
|
290908
|
+
markupCompatibilityPrefix = availablePrefix("mc", (prefix2) => hasOwn(scope, prefix2));
|
|
290909
|
+
bindings2[markupCompatibilityPrefix] = MARKUP_COMPATIBILITY_NAMESPACE3;
|
|
290910
|
+
}
|
|
290911
|
+
}
|
|
290912
|
+
const processContent = unknownIgnorablePrefixes.length > 0 ? processContentNames(xml, { ...inScope, ...bindings2 }, unknownIgnorablePrefixes, options) : [];
|
|
290913
|
+
return { bindings: bindings2, undeclaredPrefixes, ignorablePrefixes, processContent, markupCompatibilityPrefix };
|
|
290914
|
+
}
|
|
290915
|
+
function markupCompatibilityPlanAttributes(plan) {
|
|
290916
|
+
const prefix2 = plan.markupCompatibilityPrefix;
|
|
290917
|
+
if (!prefix2 || plan.ignorablePrefixes.length === 0)
|
|
290918
|
+
return "";
|
|
290919
|
+
const processContent = plan.processContent.length > 0 ? ` ${prefix2}:ProcessContent="${escapeAttributeValue(plan.processContent.join(" "))}"` : "";
|
|
290920
|
+
return ` ${prefix2}:Ignorable="${escapeAttributeValue(plan.ignorablePrefixes.join(" "))}"${processContent}`;
|
|
290921
|
+
}
|
|
290922
|
+
function namespacePlanAttributes(plan) {
|
|
290923
|
+
const declarations = Object.keys(plan.bindings).sort().map((prefix2) => ` xmlns:${prefix2}="${escapeAttributeValue(plan.bindings[prefix2])}"`).join("");
|
|
290924
|
+
return declarations + markupCompatibilityPlanAttributes(plan);
|
|
290925
|
+
}
|
|
290926
|
+
function rootNamespaceDeclarations(xml) {
|
|
290927
|
+
const declarations = new Map;
|
|
290928
|
+
const root = ROOT_OPEN_TAG.exec(xml);
|
|
290929
|
+
if (!root)
|
|
290930
|
+
return declarations;
|
|
290931
|
+
for (const match of root[0].matchAll(/\sxmlns:([A-Za-z_][\w.-]*)\s*=\s*(["'])(.*?)\2/g)) {
|
|
290932
|
+
declarations.set(match[1], unescapeAttributeValue(match[3]));
|
|
290933
|
+
}
|
|
290934
|
+
return declarations;
|
|
290935
|
+
}
|
|
290936
|
+
function rootIgnorablePrefixes(xml, declarations) {
|
|
290937
|
+
const root = ROOT_OPEN_TAG.exec(xml);
|
|
290938
|
+
if (!root)
|
|
290939
|
+
return [];
|
|
290940
|
+
return [...root[0].matchAll(/\s([A-Za-z_][\w.-]*):Ignorable\s*=\s*(["'])(.*?)\2/g)].filter((match) => declarations.get(match[1]) === MARKUP_COMPATIBILITY_NAMESPACE3).flatMap((match) => whitespaceTokens(unescapeAttributeValue(match[3])));
|
|
290941
|
+
}
|
|
290942
|
+
function collectNamespaceEvidence(roots) {
|
|
290943
|
+
const bindings2 = new Map;
|
|
290944
|
+
const ambiguous = new Set;
|
|
290945
|
+
const ignorable = new Set;
|
|
290946
|
+
for (const xml of roots) {
|
|
290947
|
+
const declarations = rootNamespaceDeclarations(xml);
|
|
290948
|
+
for (const [prefix2, namespace] of declarations) {
|
|
290949
|
+
if (namespace.startsWith(UNDECLARED_NAMESPACE_URI_PREFIX))
|
|
290950
|
+
continue;
|
|
290951
|
+
const previous = bindings2.get(prefix2);
|
|
290952
|
+
if (previous !== undefined && previous !== namespace)
|
|
290953
|
+
ambiguous.add(prefix2);
|
|
290954
|
+
else
|
|
290955
|
+
bindings2.set(prefix2, namespace);
|
|
290956
|
+
}
|
|
290957
|
+
for (const prefix2 of rootIgnorablePrefixes(xml, declarations))
|
|
290958
|
+
ignorable.add(prefix2);
|
|
290959
|
+
}
|
|
290960
|
+
for (const prefix2 of ambiguous)
|
|
290961
|
+
bindings2.delete(prefix2);
|
|
290962
|
+
for (const prefix2 of [...ignorable])
|
|
290963
|
+
if (!bindings2.has(prefix2))
|
|
290964
|
+
ignorable.delete(prefix2);
|
|
290965
|
+
return { bindings: bindings2, ignorable };
|
|
290966
|
+
}
|
|
290967
|
+
function escapeAttributeValue(value) {
|
|
290968
|
+
return value.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<");
|
|
290969
|
+
}
|
|
290970
|
+
function unescapeAttributeValue(value) {
|
|
290971
|
+
return value.replace(/"/g, '"').replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
290972
|
+
}
|
|
290973
|
+
var MARKUP_COMPATIBILITY_NAMESPACE3 = "http://schemas.openxmlformats.org/markup-compatibility/2006", UNDECLARED_NAMESPACE_URI_PREFIX = "urn:superdoc:undeclared:", KNOWN_OOXML_NAMESPACES, WORD_IGNORABLE_PREFIXES, UNBOUND_PREFIX_ERROR, XML_PREFIX_USE, MARKUP_COMPATIBILITY_ATTRIBUTE_VALUE, NAMESPACE_DECLARATION, ROOT_OPEN_TAG, PREFIX_LIST_ATTRIBUTES, QUALIFIED_NAME_LIST_ATTRIBUTES, RESERVED_PREFIXES, NO_NAMESPACE_EVIDENCE, EMPTY_PLAN;
|
|
290974
|
+
var init_ooxml_namespaces = __esm(() => {
|
|
290975
|
+
init_xml_sax();
|
|
290976
|
+
KNOWN_OOXML_NAMESPACES = new Map([
|
|
290977
|
+
["w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"],
|
|
290978
|
+
["r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"],
|
|
290979
|
+
["m", "http://schemas.openxmlformats.org/officeDocument/2006/math"],
|
|
290980
|
+
["mc", MARKUP_COMPATIBILITY_NAMESPACE3],
|
|
290981
|
+
["ve", MARKUP_COMPATIBILITY_NAMESPACE3],
|
|
290982
|
+
["wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"],
|
|
290983
|
+
["a", "http://schemas.openxmlformats.org/drawingml/2006/main"],
|
|
290984
|
+
["pic", "http://schemas.openxmlformats.org/drawingml/2006/picture"],
|
|
290985
|
+
["c", "http://schemas.openxmlformats.org/drawingml/2006/chart"],
|
|
290986
|
+
["dgm", "http://schemas.openxmlformats.org/drawingml/2006/diagram"],
|
|
290987
|
+
["lc", "http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas"],
|
|
290988
|
+
["sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main"],
|
|
290989
|
+
["ds", "http://schemas.openxmlformats.org/officeDocument/2006/customXml"],
|
|
290990
|
+
["v", "urn:schemas-microsoft-com:vml"],
|
|
290991
|
+
["o", "urn:schemas-microsoft-com:office:office"],
|
|
290992
|
+
["w10", "urn:schemas-microsoft-com:office:word"],
|
|
290993
|
+
["x", "urn:schemas-microsoft-com:office:excel"],
|
|
290994
|
+
["pvml", "urn:schemas-microsoft-com:office:powerpoint"],
|
|
290995
|
+
["xsi", "http://www.w3.org/2001/XMLSchema-instance"],
|
|
290996
|
+
["w14", "http://schemas.microsoft.com/office/word/2010/wordml"],
|
|
290997
|
+
["w15", "http://schemas.microsoft.com/office/word/2012/wordml"],
|
|
290998
|
+
["w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex"],
|
|
290999
|
+
["w16cid", "http://schemas.microsoft.com/office/word/2016/wordml/cid"],
|
|
291000
|
+
["w16", "http://schemas.microsoft.com/office/word/2018/wordml"],
|
|
291001
|
+
["w16cex", "http://schemas.microsoft.com/office/word/2018/wordml/cex"],
|
|
291002
|
+
["w16sdtdh", "http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"],
|
|
291003
|
+
["w16du", "http://schemas.microsoft.com/office/word/2023/wordml/word16du"],
|
|
291004
|
+
["w16sdtfl", "http://schemas.microsoft.com/office/word/2024/wordml/sdtformatlock"],
|
|
291005
|
+
["w16cei", "http://schemas.microsoft.com/office/word/2026/wordml/cei"],
|
|
291006
|
+
["wne", "http://schemas.microsoft.com/office/word/2006/wordml"],
|
|
291007
|
+
["wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"],
|
|
291008
|
+
["wp15", "http://schemas.microsoft.com/office/word/2012/wordprocessingDrawing"],
|
|
291009
|
+
["wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"],
|
|
291010
|
+
["wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"],
|
|
291011
|
+
["wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk"],
|
|
291012
|
+
["wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"],
|
|
291013
|
+
["a14", "http://schemas.microsoft.com/office/drawing/2010/main"],
|
|
291014
|
+
["a15", "http://schemas.microsoft.com/office/drawing/2012/main"],
|
|
291015
|
+
["a16", "http://schemas.microsoft.com/office/drawing/2014/main"],
|
|
291016
|
+
["a1611", "http://schemas.microsoft.com/office/drawing/2016/11/main"],
|
|
291017
|
+
["asvg", "http://schemas.microsoft.com/office/drawing/2016/SVG/main"],
|
|
291018
|
+
["adec", "http://schemas.microsoft.com/office/drawing/2017/decorative"],
|
|
291019
|
+
["ahyp", "http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor"],
|
|
291020
|
+
["aclsh", "http://schemas.microsoft.com/office/drawing/2020/classificationShape"],
|
|
291021
|
+
["aink", "http://schemas.microsoft.com/office/drawing/2016/ink"],
|
|
291022
|
+
["am3d", "http://schemas.microsoft.com/office/drawing/2017/model3d"],
|
|
291023
|
+
["dsp", "http://schemas.microsoft.com/office/drawing/2008/diagram"],
|
|
291024
|
+
["c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart"],
|
|
291025
|
+
["c16", "http://schemas.microsoft.com/office/drawing/2014/chart"],
|
|
291026
|
+
["c16r2", "http://schemas.microsoft.com/office/drawing/2015/06/chart"],
|
|
291027
|
+
["c16r3", "http://schemas.microsoft.com/office/drawing/2017/03/chart"],
|
|
291028
|
+
["cx", "http://schemas.microsoft.com/office/drawing/2014/chartex"],
|
|
291029
|
+
["cx1", "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"],
|
|
291030
|
+
["cx2", "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex"],
|
|
291031
|
+
["cx3", "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex"],
|
|
291032
|
+
["cx4", "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex"],
|
|
291033
|
+
["cx5", "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex"],
|
|
291034
|
+
["cx6", "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex"],
|
|
291035
|
+
["cx7", "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex"],
|
|
291036
|
+
["cx8", "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex"],
|
|
291037
|
+
["thm15", "http://schemas.microsoft.com/office/thememl/2012/main"],
|
|
291038
|
+
["oel", "http://schemas.microsoft.com/office/2019/extlst"],
|
|
291039
|
+
["cr", "http://schemas.microsoft.com/office/comments/2020/reactions"],
|
|
291040
|
+
["ask", "http://schemas.microsoft.com/office/drawing/2018/sketchyshapes"],
|
|
291041
|
+
["wpsCustomData", "http://www.wps.cn/officeDocument/2013/wpsCustomData"]
|
|
291042
|
+
]);
|
|
291043
|
+
WORD_IGNORABLE_PREFIXES = new Set([
|
|
291044
|
+
"w14",
|
|
291045
|
+
"w15",
|
|
291046
|
+
"w16se",
|
|
291047
|
+
"w16cid",
|
|
291048
|
+
"w16",
|
|
291049
|
+
"w16cex",
|
|
291050
|
+
"w16sdtdh",
|
|
291051
|
+
"w16sdtfl",
|
|
291052
|
+
"w16du",
|
|
291053
|
+
"wp14",
|
|
291054
|
+
"w16cei",
|
|
291055
|
+
"cr"
|
|
291056
|
+
]);
|
|
291057
|
+
UNBOUND_PREFIX_ERROR = /unbound namespace prefix: "([^"]+)"/;
|
|
291058
|
+
XML_PREFIX_USE = /<\/?([A-Za-z_][\w.-]*):|\s([A-Za-z_][\w.-]*):[\w.-]+\s*=/g;
|
|
291059
|
+
MARKUP_COMPATIBILITY_ATTRIBUTE_VALUE = /\s(?:[A-Za-z_][\w.-]*:)?(Ignorable|MustUnderstand|ProcessContent|PreserveElements|PreserveAttributes|Requires)\s*=\s*(["'])(.*?)\2/g;
|
|
291060
|
+
NAMESPACE_DECLARATION = /\sxmlns:([A-Za-z_][\w.-]*)\s*=/g;
|
|
291061
|
+
ROOT_OPEN_TAG = /<(?![!?/])(?:[A-Za-z_][\w.-]*:)?[A-Za-z_][\w.-]*(?:"[^"]*"|'[^']*'|[^>"'])*>/;
|
|
291062
|
+
PREFIX_LIST_ATTRIBUTES = new Set(["Ignorable", "MustUnderstand"]);
|
|
291063
|
+
QUALIFIED_NAME_LIST_ATTRIBUTES = new Set([
|
|
291064
|
+
"ProcessContent",
|
|
291065
|
+
"PreserveElements",
|
|
291066
|
+
"PreserveAttributes"
|
|
291067
|
+
]);
|
|
291068
|
+
RESERVED_PREFIXES = new Set(["xml", "xmlns"]);
|
|
291069
|
+
NO_NAMESPACE_EVIDENCE = Object.freeze({
|
|
291070
|
+
bindings: new Map,
|
|
291071
|
+
ignorable: new Set
|
|
291072
|
+
});
|
|
291073
|
+
EMPTY_PLAN = Object.freeze({
|
|
291074
|
+
bindings: Object.freeze({}),
|
|
291075
|
+
undeclaredPrefixes: Object.freeze([]),
|
|
291076
|
+
ignorablePrefixes: Object.freeze([]),
|
|
291077
|
+
processContent: Object.freeze([]),
|
|
291078
|
+
markupCompatibilityPrefix: null
|
|
291079
|
+
});
|
|
291080
|
+
});
|
|
291081
|
+
|
|
290759
291082
|
// ../../../v2/editor-core/dist/export/docx-package-sanitizer.js
|
|
290760
291083
|
function partKey(uri) {
|
|
290761
291084
|
const normalized = normalizePartUri(uri);
|
|
@@ -290830,27 +291153,46 @@ function sanitizeRelationships(relsUri, bytes, finalPartKeys, ownerBytes) {
|
|
|
290830
291153
|
function insertRootAttribute(tag, attribute2) {
|
|
290831
291154
|
return tag.replace(/\/?>(?=$)/, (ending) => ` ${attribute2}${ending}`);
|
|
290832
291155
|
}
|
|
291156
|
+
function mergeRootMarkupCompatibilityList(tag, declarations, mcPrefix, localName2, tokens) {
|
|
291157
|
+
if (!tokens.length)
|
|
291158
|
+
return tag;
|
|
291159
|
+
const existing = [...tag.matchAll(new RegExp(`\\s([A-Za-z_][\\w.-]*):${localName2}\\s*=\\s*(["'])(.*?)\\2`, "g"))].find((match) => declarations.get(match[1]) === MC_NS3);
|
|
291160
|
+
if (!existing)
|
|
291161
|
+
return insertRootAttribute(tag, `${mcPrefix}:${localName2}="${tokens.join(" ")}"`);
|
|
291162
|
+
const current = existing[3].trim().split(/\s+/).filter(Boolean);
|
|
291163
|
+
const next = [...new Set([...current, ...tokens])];
|
|
291164
|
+
if (next.length === current.length)
|
|
291165
|
+
return tag;
|
|
291166
|
+
return tag.replace(existing[0], ` ${existing[1]}:${localName2}="${next.join(" ")}"`);
|
|
291167
|
+
}
|
|
290833
291168
|
function sanitizeWordNamespaces(bytes) {
|
|
290834
291169
|
const xml = TEXT_DECODER7.decode(bytes);
|
|
290835
|
-
const used = new Set;
|
|
290836
|
-
for (const match of xml.matchAll(/(?:<\/?|\s)(w14|w15|w16|w16cid):[\w.-]+(?=[\s=/>])/g)) {
|
|
290837
|
-
used.add(match[1]);
|
|
290838
|
-
}
|
|
290839
|
-
if (!used.size)
|
|
290840
|
-
return bytes;
|
|
290841
291170
|
const root = /<(?![!?/])(?:[A-Za-z_][\w.-]*:)?[A-Za-z_][\w.-]*(?:"[^"]*"|'[^']*'|[^>"'])*>/g.exec(xml);
|
|
290842
291171
|
if (!root)
|
|
290843
291172
|
return bytes;
|
|
290844
|
-
|
|
290845
|
-
const
|
|
290846
|
-
|
|
290847
|
-
|
|
290848
|
-
}
|
|
290849
|
-
const missing = [...used].filter((prefix2) => !declarations.has(prefix2));
|
|
290850
|
-
if (!missing.length || !collectXmlElementRanges(xml).errors.length)
|
|
291173
|
+
const declarations = rootNamespaceDeclarations(xml);
|
|
291174
|
+
const declaredSomewhere = declaredXmlPrefixes(xml);
|
|
291175
|
+
const possiblyUnbound = [...usedXmlPrefixes(xml)].filter((prefix2) => !declarations.has(prefix2) && (!declaredSomewhere.has(prefix2) || WORD_IGNORABLE_PREFIXES.has(prefix2)));
|
|
291176
|
+
if (!possiblyUnbound.length)
|
|
290851
291177
|
return bytes;
|
|
290852
|
-
|
|
290853
|
-
|
|
291178
|
+
const unbound = [...unboundXmlPrefixes(xml, {}, { fragment: false })].sort();
|
|
291179
|
+
if (!unbound.length)
|
|
291180
|
+
return bytes;
|
|
291181
|
+
let tag = root[0];
|
|
291182
|
+
const missing = [];
|
|
291183
|
+
const placeholders = {};
|
|
291184
|
+
for (const prefix2 of unbound) {
|
|
291185
|
+
const known = KNOWN_OOXML_NAMESPACES.get(prefix2);
|
|
291186
|
+
const namespace = known ?? undeclaredNamespaceUri(prefix2);
|
|
291187
|
+
tag = insertRootAttribute(tag, `xmlns:${prefix2}="${namespace}"`);
|
|
291188
|
+
declarations.set(prefix2, namespace);
|
|
291189
|
+
if (!known)
|
|
291190
|
+
placeholders[prefix2] = namespace;
|
|
291191
|
+
if (!known || WORD_IGNORABLE_PREFIXES.has(prefix2))
|
|
291192
|
+
missing.push(prefix2);
|
|
291193
|
+
}
|
|
291194
|
+
if (!missing.length) {
|
|
291195
|
+
return TEXT_ENCODER2.encode(xml.slice(0, root.index) + tag + xml.slice(root.index + root[0].length));
|
|
290854
291196
|
}
|
|
290855
291197
|
const ignorableAttribute = [...tag.matchAll(/\s([A-Za-z_][\w.-]*):Ignorable\s*=\s*(["'])(.*?)\2/g)].find((match) => declarations.get(match[1]) === MC_NS3);
|
|
290856
291198
|
let mcPrefix = ignorableAttribute?.[1] ?? [...declarations].find(([, uri]) => uri === MC_NS3)?.[0];
|
|
@@ -290860,16 +291202,10 @@ function sanitizeWordNamespaces(bytes) {
|
|
|
290860
291202
|
mcPrefix = `mc${suffix}`;
|
|
290861
291203
|
tag = insertRootAttribute(tag, `xmlns:${mcPrefix}="${MC_NS3}"`);
|
|
290862
291204
|
}
|
|
290863
|
-
|
|
290864
|
-
|
|
290865
|
-
|
|
290866
|
-
|
|
290867
|
-
if (next.length !== prefixes.length) {
|
|
290868
|
-
tag = tag.replace(ignorable[0], ` ${mcPrefix}:Ignorable="${next.join(" ")}"`);
|
|
290869
|
-
}
|
|
290870
|
-
} else {
|
|
290871
|
-
tag = insertRootAttribute(tag, `${mcPrefix}:Ignorable="${missing.join(" ")}"`);
|
|
290872
|
-
}
|
|
291205
|
+
declarations.set(mcPrefix, MC_NS3);
|
|
291206
|
+
tag = mergeRootMarkupCompatibilityList(tag, declarations, mcPrefix, "Ignorable", missing);
|
|
291207
|
+
const processContent = processContentNames(xml, placeholders, Object.keys(placeholders), { fragment: false });
|
|
291208
|
+
tag = mergeRootMarkupCompatibilityList(tag, declarations, mcPrefix, "ProcessContent", processContent);
|
|
290873
291209
|
return TEXT_ENCODER2.encode(xml.slice(0, root.index) + tag + xml.slice(root.index + root[0].length));
|
|
290874
291210
|
}
|
|
290875
291211
|
function sanitizeReviewMetadataOpeningTag(open2, element) {
|
|
@@ -291095,18 +291431,13 @@ function sanitizeDocxPartForExport(partUri, bytes, finalPartUris, ownerBytes, is
|
|
|
291095
291431
|
}
|
|
291096
291432
|
return bytes;
|
|
291097
291433
|
}
|
|
291098
|
-
var TEXT_DECODER7, TEXT_ENCODER2, RELATIONSHIPS_NS2 = "http://schemas.openxmlformats.org/package/2006/relationships", OFFICE_RELATIONSHIPS_NS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships", STYLES_WITH_EFFECTS_RELATIONSHIP_NS = "http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects", CONTENT_TYPES_NS5 = "http://schemas.openxmlformats.org/package/2006/content-types", TRACKED_CHANGE_NS2 = "urn:superdoc:tracked-change:1", WORD_NS2 = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", COMMENT_META_NS = "http://superdoc.dev/2024/comments", MC_NS3 = "http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
291434
|
+
var TEXT_DECODER7, TEXT_ENCODER2, RELATIONSHIPS_NS2 = "http://schemas.openxmlformats.org/package/2006/relationships", OFFICE_RELATIONSHIPS_NS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships", STYLES_WITH_EFFECTS_RELATIONSHIP_NS = "http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects", CONTENT_TYPES_NS5 = "http://schemas.openxmlformats.org/package/2006/content-types", TRACKED_CHANGE_NS2 = "urn:superdoc:tracked-change:1", WORD_NS2 = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", COMMENT_META_NS = "http://superdoc.dev/2024/comments", MC_NS3 = "http://schemas.openxmlformats.org/markup-compatibility/2006";
|
|
291099
291435
|
var init_docx_package_sanitizer = __esm(() => {
|
|
291100
291436
|
init_xml_sax();
|
|
291101
291437
|
init_content_types();
|
|
291438
|
+
init_ooxml_namespaces();
|
|
291102
291439
|
TEXT_DECODER7 = new TextDecoder;
|
|
291103
291440
|
TEXT_ENCODER2 = new TextEncoder;
|
|
291104
|
-
OFFICE_WORD_NAMESPACES = {
|
|
291105
|
-
w14: "http://schemas.microsoft.com/office/word/2010/wordml",
|
|
291106
|
-
w15: "http://schemas.microsoft.com/office/word/2012/wordml",
|
|
291107
|
-
w16: "http://schemas.microsoft.com/office/word/2018/wordml",
|
|
291108
|
-
w16cid: "http://schemas.microsoft.com/office/word/2016/wordml/cid"
|
|
291109
|
-
};
|
|
291110
291441
|
});
|
|
291111
291442
|
|
|
291112
291443
|
// ../../../v2/editor-core/dist/document/transactions/comment-export-normalization.js
|
|
@@ -299501,6 +299832,7 @@ var init_sd_document_session_internal = __esm(() => {
|
|
|
299501
299832
|
init_clone_relationships();
|
|
299502
299833
|
init_xml_sax();
|
|
299503
299834
|
init_xml_namespace_scope();
|
|
299835
|
+
init_ooxml_namespaces();
|
|
299504
299836
|
init_sd_document_session();
|
|
299505
299837
|
init_direct_paragraph_list_properties();
|
|
299506
299838
|
init_compile_list_ops();
|
|
@@ -332895,7 +333227,7 @@ var init_word_bibliography = __esm(() => {
|
|
|
332895
333227
|
["standardNumber", "StandardNumber"]
|
|
332896
333228
|
];
|
|
332897
333229
|
});
|
|
332898
|
-
//
|
|
333230
|
+
// ../../packages/layout-engine/contracts/src/header-footer-resolution.ts
|
|
332899
333231
|
function createResolutionCache() {
|
|
332900
333232
|
const createVariantCache = () => ({ values: new Map, sectionIndices: [] });
|
|
332901
333233
|
const createKindCache = () => ({
|
|
@@ -333073,15 +333405,15 @@ var HEADER_FOOTER_VARIANTS5;
|
|
|
333073
333405
|
var init_header_footer_resolution = __esm(() => {
|
|
333074
333406
|
HEADER_FOOTER_VARIANTS5 = ["default", "first", "even", "odd"];
|
|
333075
333407
|
});
|
|
333076
|
-
//
|
|
333408
|
+
// ../../packages/layout-engine/contracts/src/ooxml-z-index.ts
|
|
333077
333409
|
var isPlainObject5 = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
333078
333410
|
|
|
333079
|
-
//
|
|
333411
|
+
// ../../packages/layout-engine/contracts/src/justify-utils.ts
|
|
333080
333412
|
var SPACE_CHARS;
|
|
333081
333413
|
var init_justify_utils = __esm(() => {
|
|
333082
333414
|
SPACE_CHARS = new Set([" ", " "]);
|
|
333083
333415
|
});
|
|
333084
|
-
//
|
|
333416
|
+
// ../../packages/layout-engine/contracts/src/vertical-text.ts
|
|
333085
333417
|
function normalizeBaselineShift(baselineShift) {
|
|
333086
333418
|
if (!Number.isFinite(baselineShift)) {
|
|
333087
333419
|
return;
|
|
@@ -333090,14 +333422,14 @@ function normalizeBaselineShift(baselineShift) {
|
|
|
333090
333422
|
return Math.abs(normalizedShift) <= BASELINE_SHIFT_EPSILON ? undefined : normalizedShift;
|
|
333091
333423
|
}
|
|
333092
333424
|
var BASELINE_SHIFT_EPSILON = 0.000001;
|
|
333093
|
-
//
|
|
333425
|
+
// ../../packages/layout-engine/contracts/src/pm-range.ts
|
|
333094
333426
|
var init_pm_range = () => {};
|
|
333095
|
-
//
|
|
333427
|
+
// ../../packages/layout-engine/contracts/src/graphic-placement.ts
|
|
333096
333428
|
var init_graphic_placement = () => {};
|
|
333097
|
-
//
|
|
333429
|
+
// ../../packages/layout-engine/contracts/src/author-colors.ts
|
|
333098
333430
|
var init_author_colors = () => {};
|
|
333099
333431
|
|
|
333100
|
-
//
|
|
333432
|
+
// ../../packages/layout-engine/contracts/src/semantic-colors.ts
|
|
333101
333433
|
var TRACKED_CHANGE_CONFIGURABLE_SEMANTIC_COLOR_KEYS, CONFIGURABLE_SEMANTIC_COLOR_KEY_SET, TRACKED_CHANGE_AFFECTED_RANGE_KEYS;
|
|
333102
333434
|
var init_semantic_colors = __esm(() => {
|
|
333103
333435
|
init_author_colors();
|
|
@@ -333123,20 +333455,20 @@ var init_semantic_colors = __esm(() => {
|
|
|
333123
333455
|
]);
|
|
333124
333456
|
});
|
|
333125
333457
|
|
|
333126
|
-
//
|
|
333458
|
+
// ../../packages/layout-engine/contracts/src/sdt-container.ts
|
|
333127
333459
|
var idlessSdtContainerKeys;
|
|
333128
333460
|
var init_sdt_container = __esm(() => {
|
|
333129
333461
|
idlessSdtContainerKeys = new WeakMap;
|
|
333130
333462
|
});
|
|
333131
|
-
//
|
|
333463
|
+
// ../../packages/layout-engine/contracts/src/page-number-formatting.ts
|
|
333132
333464
|
var init_page_number_formatting = () => {};
|
|
333133
333465
|
|
|
333134
|
-
//
|
|
333466
|
+
// ../../packages/layout-engine/contracts/src/page-ref-anchor.ts
|
|
333135
333467
|
var init_page_ref_anchor = __esm(() => {
|
|
333136
333468
|
init_pm_range();
|
|
333137
333469
|
});
|
|
333138
333470
|
|
|
333139
|
-
//
|
|
333471
|
+
// ../../packages/layout-engine/contracts/src/drawing-taxonomy.ts
|
|
333140
333472
|
var DRAWING_DIAGNOSTIC_CODES, DRAWING_DIAGNOSTIC_CODE_ALIASES, DRAWING_SUPPORT_TAXONOMY, DRAWING_FAMILIES;
|
|
333141
333473
|
var init_drawing_taxonomy = __esm(() => {
|
|
333142
333474
|
DRAWING_DIAGNOSTIC_CODES = {
|
|
@@ -333365,7 +333697,7 @@ var init_drawing_taxonomy = __esm(() => {
|
|
|
333365
333697
|
};
|
|
333366
333698
|
DRAWING_FAMILIES = Object.keys(DRAWING_SUPPORT_TAXONOMY);
|
|
333367
333699
|
});
|
|
333368
|
-
//
|
|
333700
|
+
// ../../packages/layout-engine/contracts/src/incremental-dependency.ts
|
|
333369
333701
|
var PAGE_CHECKPOINT_DEPENDENCY_CLASSES, INCREMENTAL_DEPENDENCY_CERTIFICATE_CLASSES, DRAWING_KINDS, CERTIFICATE_CLASSES;
|
|
333370
333702
|
var init_incremental_dependency = __esm(() => {
|
|
333371
333703
|
PAGE_CHECKPOINT_DEPENDENCY_CLASSES = Object.freeze([
|
|
@@ -333396,10 +333728,10 @@ var init_incremental_dependency = __esm(() => {
|
|
|
333396
333728
|
DRAWING_KINDS = new Set(["image", "vectorShape", "textboxShape", "shapeGroup", "chart"]);
|
|
333397
333729
|
CERTIFICATE_CLASSES = new Set(INCREMENTAL_DEPENDENCY_CERTIFICATE_CLASSES);
|
|
333398
333730
|
});
|
|
333399
|
-
//
|
|
333731
|
+
// ../../packages/layout-engine/contracts/src/engines/index.ts
|
|
333400
333732
|
var init_engines = () => {};
|
|
333401
333733
|
|
|
333402
|
-
//
|
|
333734
|
+
// ../../packages/layout-engine/contracts/src/index.ts
|
|
333403
333735
|
var SHAPE_TEXT_BASELINE_WARP_PRESETS, SHAPE_TEXT_SINGLE_BAND_ENVELOPE_WARP_PRESETS;
|
|
333404
333736
|
var init_src4 = __esm(() => {
|
|
333405
333737
|
init_header_footer_resolution();
|
|
@@ -333422,7 +333754,7 @@ var init_src4 = __esm(() => {
|
|
|
333422
333754
|
SHAPE_TEXT_SINGLE_BAND_ENVELOPE_WARP_PRESETS = new Set(["textButton"]);
|
|
333423
333755
|
});
|
|
333424
333756
|
|
|
333425
|
-
//
|
|
333757
|
+
// ../../packages/layout-engine/style-engine/src/cascade.ts
|
|
333426
333758
|
function combineProperties(propertiesArray, options = {}) {
|
|
333427
333759
|
const { fullOverrideProps = [], specialHandling = {} } = options;
|
|
333428
333760
|
if (!propertiesArray || propertiesArray.length === 0) {
|
|
@@ -333520,7 +333852,7 @@ var init_cascade = __esm(() => {
|
|
|
333520
333852
|
];
|
|
333521
333853
|
});
|
|
333522
333854
|
|
|
333523
|
-
//
|
|
333855
|
+
// ../../packages/layout-engine/style-engine/src/index.ts
|
|
333524
333856
|
var sdtMetadataCache;
|
|
333525
333857
|
var init_src5 = __esm(() => {
|
|
333526
333858
|
init_cascade();
|
|
@@ -333528,7 +333860,7 @@ var init_src5 = __esm(() => {
|
|
|
333528
333860
|
sdtMetadataCache = new Map;
|
|
333529
333861
|
});
|
|
333530
333862
|
|
|
333531
|
-
//
|
|
333863
|
+
// ../../packages/layout-engine/style-engine/src/ooxml/table-style-selection.ts
|
|
333532
333864
|
function isKnownTableStyleId(styleId, translatedLinkedStyles) {
|
|
333533
333865
|
if (!styleId || !translatedLinkedStyles?.styles)
|
|
333534
333866
|
return false;
|
|
@@ -333583,7 +333915,7 @@ var init_table_style_selection = __esm(() => {
|
|
|
333583
333915
|
};
|
|
333584
333916
|
});
|
|
333585
333917
|
|
|
333586
|
-
//
|
|
333918
|
+
// ../../packages/layout-engine/style-engine/src/ooxml/index.ts
|
|
333587
333919
|
function resolveRunProperties(params, inlineRpr, resolvedPpr, tableInfo = null, isListNumber = false) {
|
|
333588
333920
|
if (!params.translatedLinkedStyles?.styles) {
|
|
333589
333921
|
return inlineRpr ?? {};
|
|
@@ -334163,7 +334495,7 @@ var init_default_floors = __esm(() => {
|
|
|
334163
334495
|
};
|
|
334164
334496
|
});
|
|
334165
334497
|
|
|
334166
|
-
//
|
|
334498
|
+
// ../../node_modules/.pnpm/sax@1.6.0/node_modules/sax/lib/sax.js
|
|
334167
334499
|
var require_sax = __commonJS((exports) => {
|
|
334168
334500
|
(function(sax) {
|
|
334169
334501
|
sax.parser = function(strict, opt2) {
|
|
@@ -335697,7 +336029,7 @@ Char: ` + parser.c;
|
|
|
335697
336029
|
})(typeof exports === "undefined" ? exports.sax = {} : exports);
|
|
335698
336030
|
});
|
|
335699
336031
|
|
|
335700
|
-
//
|
|
336032
|
+
// ../../node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/array-helper.js
|
|
335701
336033
|
var require_array_helper = __commonJS((exports, module) => {
|
|
335702
336034
|
module.exports = {
|
|
335703
336035
|
isArray: function(value) {
|
|
@@ -335709,7 +336041,7 @@ var require_array_helper = __commonJS((exports, module) => {
|
|
|
335709
336041
|
};
|
|
335710
336042
|
});
|
|
335711
336043
|
|
|
335712
|
-
//
|
|
336044
|
+
// ../../node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/options-helper.js
|
|
335713
336045
|
var require_options_helper = __commonJS((exports, module) => {
|
|
335714
336046
|
var isArray = require_array_helper().isArray;
|
|
335715
336047
|
module.exports = {
|
|
@@ -335748,7 +336080,7 @@ var require_options_helper = __commonJS((exports, module) => {
|
|
|
335748
336080
|
};
|
|
335749
336081
|
});
|
|
335750
336082
|
|
|
335751
|
-
//
|
|
336083
|
+
// ../../node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/xml2js.js
|
|
335752
336084
|
var require_xml2js = __commonJS((exports, module) => {
|
|
335753
336085
|
var sax = require_sax();
|
|
335754
336086
|
var expat = { on: function() {}, parse: function() {} };
|
|
@@ -336086,7 +336418,7 @@ var require_xml2js = __commonJS((exports, module) => {
|
|
|
336086
336418
|
};
|
|
336087
336419
|
});
|
|
336088
336420
|
|
|
336089
|
-
//
|
|
336421
|
+
// ../../node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/xml2json.js
|
|
336090
336422
|
var require_xml2json = __commonJS((exports, module) => {
|
|
336091
336423
|
var helper = require_options_helper();
|
|
336092
336424
|
var xml2js = require_xml2js();
|
|
@@ -336111,7 +336443,7 @@ var require_xml2json = __commonJS((exports, module) => {
|
|
|
336111
336443
|
};
|
|
336112
336444
|
});
|
|
336113
336445
|
|
|
336114
|
-
//
|
|
336446
|
+
// ../../node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/js2xml.js
|
|
336115
336447
|
var require_js2xml = __commonJS((exports, module) => {
|
|
336116
336448
|
var helper = require_options_helper();
|
|
336117
336449
|
var isArray = require_array_helper().isArray;
|
|
@@ -336443,7 +336775,7 @@ var require_js2xml = __commonJS((exports, module) => {
|
|
|
336443
336775
|
};
|
|
336444
336776
|
});
|
|
336445
336777
|
|
|
336446
|
-
//
|
|
336778
|
+
// ../../node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/json2xml.js
|
|
336447
336779
|
var require_json2xml = __commonJS((exports, module) => {
|
|
336448
336780
|
var js2xml = require_js2xml();
|
|
336449
336781
|
module.exports = function(json2, options) {
|
|
@@ -336464,7 +336796,7 @@ var require_json2xml = __commonJS((exports, module) => {
|
|
|
336464
336796
|
};
|
|
336465
336797
|
});
|
|
336466
336798
|
|
|
336467
|
-
//
|
|
336799
|
+
// ../../node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/index.js
|
|
336468
336800
|
var require_lib = __commonJS((exports, module) => {
|
|
336469
336801
|
var xml2js = require_xml2js();
|
|
336470
336802
|
var xml2json = require_xml2json();
|
|
@@ -336478,7 +336810,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
336478
336810
|
};
|
|
336479
336811
|
});
|
|
336480
336812
|
|
|
336481
|
-
//
|
|
336813
|
+
// ../../packages/layout-engine/style-engine/src/ooxml/word-style-model/parse-xml.ts
|
|
336482
336814
|
function bytesToString(input) {
|
|
336483
336815
|
if (typeof input === "string")
|
|
336484
336816
|
return input;
|
|
@@ -336545,7 +336877,7 @@ var init_parse_xml = __esm(() => {
|
|
|
336545
336877
|
ST_OFF = new Set(["0", "false", "off"]);
|
|
336546
336878
|
});
|
|
336547
336879
|
|
|
336548
|
-
//
|
|
336880
|
+
// ../../packages/layout-engine/style-engine/src/ooxml/word-style-model/parse-theme.ts
|
|
336549
336881
|
function parseColorPalette(theme) {
|
|
336550
336882
|
if (!theme)
|
|
336551
336883
|
return;
|
|
@@ -339213,7 +339545,7 @@ var init_word_style_model = __esm(() => {
|
|
|
339213
339545
|
styleChainResolvers = new WeakMap;
|
|
339214
339546
|
});
|
|
339215
339547
|
|
|
339216
|
-
//
|
|
339548
|
+
// ../../packages/layout-engine/style-engine/src/normalize/units.ts
|
|
339217
339549
|
function twipsToPx(value) {
|
|
339218
339550
|
return value * PX_PER_TWIP;
|
|
339219
339551
|
}
|
|
@@ -339227,7 +339559,7 @@ var init_units = __esm(() => {
|
|
|
339227
339559
|
PX_PER_EIGHTH_POINT = PX_PER_POINT / 8;
|
|
339228
339560
|
});
|
|
339229
339561
|
|
|
339230
|
-
//
|
|
339562
|
+
// ../../packages/layout-engine/style-engine/src/normalize/colors.ts
|
|
339231
339563
|
function normalizeHexColor(value) {
|
|
339232
339564
|
if (value == null)
|
|
339233
339565
|
return;
|
|
@@ -339304,7 +339636,7 @@ var init_colors = __esm(() => {
|
|
|
339304
339636
|
};
|
|
339305
339637
|
});
|
|
339306
339638
|
|
|
339307
|
-
//
|
|
339639
|
+
// ../../packages/layout-engine/style-engine/src/normalize/paragraph-attrs.ts
|
|
339308
339640
|
function normalizeParagraphAttrsFromOoxml(props) {
|
|
339309
339641
|
if (!props)
|
|
339310
339642
|
return {};
|
|
@@ -339621,7 +339953,7 @@ var init_paragraph_attrs = __esm(() => {
|
|
|
339621
339953
|
init_colors();
|
|
339622
339954
|
});
|
|
339623
339955
|
|
|
339624
|
-
//
|
|
339956
|
+
// ../../shared/font-utils/index.ts
|
|
339625
339957
|
function mapWordFamilyFallback(wordFamily) {
|
|
339626
339958
|
if (!wordFamily)
|
|
339627
339959
|
return DEFAULT_GENERIC_FALLBACK;
|
|
@@ -339647,7 +339979,7 @@ function toCssFontFamily(fontName, options = {}) {
|
|
|
339647
339979
|
const { fallback, wordFamily, pitch } = options;
|
|
339648
339980
|
const family = typeof wordFamily === "string" ? wordFamily.trim().toLowerCase() : "";
|
|
339649
339981
|
const fixedPitch = typeof pitch === "string" && pitch.trim().toLowerCase() === "fixed";
|
|
339650
|
-
const fallbackValue = fallback ?? (fixedPitch ? "monospace" : undefined) ?? (family !== "auto" && Object.
|
|
339982
|
+
const fallbackValue = fallback ?? (fixedPitch ? "monospace" : undefined) ?? (family !== "auto" && Object.prototype.hasOwnProperty.call(FONT_FAMILY_FALLBACKS, family) ? mapWordFamilyFallback(family) : undefined) ?? inferGenericFallbackFromFontName(trimmed);
|
|
339651
339983
|
const fallbackParts = normalizeParts(fallbackValue);
|
|
339652
339984
|
const primaryParts = normalizeParts(trimmed);
|
|
339653
339985
|
if (fallbackParts.length === 0) {
|
|
@@ -339710,7 +340042,7 @@ var FONT_FAMILY_FALLBACKS, DEFAULT_GENERIC_FALLBACK = "sans-serif", INHERITED_FO
|
|
|
339710
340042
|
return family;
|
|
339711
340043
|
if (family.split(/\s+/).every((part) => CSS_IDENTIFIER.test(part)))
|
|
339712
340044
|
return family;
|
|
339713
|
-
const escaped = family.replace(/["\\\x00-\x1f\x7f]/g, (char) => char === '"' || char === "\\" ? `\\${char}` : `\\${char.
|
|
340045
|
+
const escaped = family.replace(/["\\\x00-\x1f\x7f]/g, (char) => char === '"' || char === "\\" ? `\\${char}` : `\\${char.charCodeAt(0).toString(16)} `);
|
|
339714
340046
|
return `"${escaped}"`;
|
|
339715
340047
|
}, CSS_GENERIC_FAMILIES;
|
|
339716
340048
|
var init_font_utils = __esm(() => {
|
|
@@ -339770,7 +340102,7 @@ var init_font_utils = __esm(() => {
|
|
|
339770
340102
|
]);
|
|
339771
340103
|
});
|
|
339772
340104
|
|
|
339773
|
-
//
|
|
340105
|
+
// ../../packages/layout-engine/style-engine/src/normalize/run-attrs.ts
|
|
339774
340106
|
function normalizeRunAttrsFromOoxml(props, context = {}) {
|
|
339775
340107
|
const out = {};
|
|
339776
340108
|
if (!props)
|
|
@@ -340048,7 +340380,7 @@ var init_run_attrs = __esm(() => {
|
|
|
340048
340380
|
};
|
|
340049
340381
|
});
|
|
340050
340382
|
|
|
340051
|
-
//
|
|
340383
|
+
// ../../packages/layout-engine/style-engine/src/normalize/index.ts
|
|
340052
340384
|
var init_normalize = __esm(() => {
|
|
340053
340385
|
init_paragraph_attrs();
|
|
340054
340386
|
init_run_attrs();
|
|
@@ -354310,7 +354642,7 @@ var init_live_selection = __esm(() => {
|
|
|
354310
354642
|
ACTIVE_MARK_ORDER = ["bold", "italic", "underline", "strikethrough"];
|
|
354311
354643
|
});
|
|
354312
354644
|
|
|
354313
|
-
//
|
|
354645
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/unicode.js
|
|
354314
354646
|
function isSurrogate(cp) {
|
|
354315
354647
|
return cp >= 55296 && cp <= 57343;
|
|
354316
354648
|
}
|
|
@@ -354402,7 +354734,7 @@ var init_unicode = __esm(() => {
|
|
|
354402
354734
|
};
|
|
354403
354735
|
});
|
|
354404
354736
|
|
|
354405
|
-
//
|
|
354737
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/error-codes.js
|
|
354406
354738
|
var ERR;
|
|
354407
354739
|
var init_error_codes = __esm(() => {
|
|
354408
354740
|
(function(ERR2) {
|
|
@@ -354469,7 +354801,7 @@ var init_error_codes = __esm(() => {
|
|
|
354469
354801
|
})(ERR || (ERR = {}));
|
|
354470
354802
|
});
|
|
354471
354803
|
|
|
354472
|
-
//
|
|
354804
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/tokenizer/preprocessor.js
|
|
354473
354805
|
class Preprocessor {
|
|
354474
354806
|
constructor(handler) {
|
|
354475
354807
|
this.handler = handler;
|
|
@@ -354642,7 +354974,7 @@ var init_preprocessor = __esm(() => {
|
|
|
354642
354974
|
DEFAULT_BUFFER_WATERLINE = 1 << 16;
|
|
354643
354975
|
});
|
|
354644
354976
|
|
|
354645
|
-
//
|
|
354977
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/token.js
|
|
354646
354978
|
function getTokenAttr(token, attrName) {
|
|
354647
354979
|
for (let i2 = token.attrs.length - 1;i2 >= 0; i2--) {
|
|
354648
354980
|
if (token.attrs[i2].name === attrName) {
|
|
@@ -354666,7 +354998,7 @@ var init_token = __esm(() => {
|
|
|
354666
354998
|
})(TokenType || (TokenType = {}));
|
|
354667
354999
|
});
|
|
354668
355000
|
|
|
354669
|
-
//
|
|
355001
|
+
// ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js
|
|
354670
355002
|
function replaceCodePoint(codePoint) {
|
|
354671
355003
|
if (codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111) {
|
|
354672
355004
|
return 65533;
|
|
@@ -354707,7 +355039,7 @@ var init_decode_codepoint = __esm(() => {
|
|
|
354707
355039
|
]);
|
|
354708
355040
|
});
|
|
354709
355041
|
|
|
354710
|
-
//
|
|
355042
|
+
// ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js
|
|
354711
355043
|
function decodeBase642(input) {
|
|
354712
355044
|
const binary = atob(input);
|
|
354713
355045
|
const evenLength = binary.length & ~1;
|
|
@@ -354720,13 +355052,13 @@ function decodeBase642(input) {
|
|
|
354720
355052
|
return out;
|
|
354721
355053
|
}
|
|
354722
355054
|
|
|
354723
|
-
//
|
|
355055
|
+
// ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js
|
|
354724
355056
|
var htmlDecodeTree;
|
|
354725
355057
|
var init_decode_data_html = __esm(() => {
|
|
354726
355058
|
htmlDecodeTree = /* @__PURE__ */ decodeBase642("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YP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AAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg");
|
|
354727
355059
|
});
|
|
354728
355060
|
|
|
354729
|
-
//
|
|
355061
|
+
// ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js
|
|
354730
355062
|
var BinTrieFlags;
|
|
354731
355063
|
var init_bin_trie_flags = __esm(() => {
|
|
354732
355064
|
(function(BinTrieFlags2) {
|
|
@@ -354737,7 +355069,7 @@ var init_bin_trie_flags = __esm(() => {
|
|
|
354737
355069
|
})(BinTrieFlags || (BinTrieFlags = {}));
|
|
354738
355070
|
});
|
|
354739
355071
|
|
|
354740
|
-
//
|
|
355072
|
+
// ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js
|
|
354741
355073
|
function isNumber(code) {
|
|
354742
355074
|
return code >= CharCodes.ZERO && code <= CharCodes.NINE;
|
|
354743
355075
|
}
|
|
@@ -355019,7 +355351,7 @@ var init_decode = __esm(() => {
|
|
|
355019
355351
|
})(DecodingMode || (DecodingMode = {}));
|
|
355020
355352
|
});
|
|
355021
355353
|
|
|
355022
|
-
//
|
|
355354
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/html.js
|
|
355023
355355
|
function getTagID(tagName) {
|
|
355024
355356
|
var _a3;
|
|
355025
355357
|
return (_a3 = TAG_NAME_TO_ID.get(tagName)) !== null && _a3 !== undefined ? _a3 : TAG_ID.UNKNOWN;
|
|
@@ -355528,7 +355860,7 @@ var init_html = __esm(() => {
|
|
|
355528
355860
|
]);
|
|
355529
355861
|
});
|
|
355530
355862
|
|
|
355531
|
-
//
|
|
355863
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/tokenizer/index.js
|
|
355532
355864
|
function isAsciiDigit(cp) {
|
|
355533
355865
|
return cp >= CODE_POINTS.DIGIT_0 && cp <= CODE_POINTS.DIGIT_9;
|
|
355534
355866
|
}
|
|
@@ -357985,7 +358317,7 @@ var init_tokenizer = __esm(() => {
|
|
|
357985
358317
|
};
|
|
357986
358318
|
});
|
|
357987
358319
|
|
|
357988
|
-
//
|
|
358320
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/open-element-stack.js
|
|
357989
358321
|
class OpenElementStack {
|
|
357990
358322
|
get currentTmplContentOrNode() {
|
|
357991
358323
|
return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
|
|
@@ -358300,7 +358632,7 @@ var init_open_element_stack = __esm(() => {
|
|
|
358300
358632
|
TABLE_CELLS = new Set([TAG_ID.TD, TAG_ID.TH]);
|
|
358301
358633
|
});
|
|
358302
358634
|
|
|
358303
|
-
//
|
|
358635
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/formatting-element-list.js
|
|
358304
358636
|
class FormattingElementList {
|
|
358305
358637
|
constructor(treeAdapter) {
|
|
358306
358638
|
this.treeAdapter = treeAdapter;
|
|
@@ -358396,7 +358728,7 @@ var init_formatting_element_list = __esm(() => {
|
|
|
358396
358728
|
MARKER = { type: EntryType.Marker };
|
|
358397
358729
|
});
|
|
358398
358730
|
|
|
358399
|
-
//
|
|
358731
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/tree-adapters/default.js
|
|
358400
358732
|
var defaultTreeAdapter;
|
|
358401
358733
|
var init_default2 = __esm(() => {
|
|
358402
358734
|
init_html();
|
|
@@ -358566,7 +358898,7 @@ var init_default2 = __esm(() => {
|
|
|
358566
358898
|
};
|
|
358567
358899
|
});
|
|
358568
358900
|
|
|
358569
|
-
//
|
|
358901
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/doctype.js
|
|
358570
358902
|
function hasPrefix(publicId, prefixes) {
|
|
358571
358903
|
return prefixes.some((prefix2) => publicId.startsWith(prefix2));
|
|
358572
358904
|
}
|
|
@@ -358676,7 +359008,7 @@ var init_doctype = __esm(() => {
|
|
|
358676
359008
|
];
|
|
358677
359009
|
});
|
|
358678
359010
|
|
|
358679
|
-
//
|
|
359011
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/foreign-content.js
|
|
358680
359012
|
function causesExit(startTagToken) {
|
|
358681
359013
|
const tn = startTagToken.tagID;
|
|
358682
359014
|
const isFontWithAttrs = tn === TAG_ID.FONT && startTagToken.attrs.some(({ name }) => name === ATTRS2.COLOR || name === ATTRS2.SIZE || name === ATTRS2.FACE);
|
|
@@ -358898,7 +359230,7 @@ var init_foreign_content = __esm(() => {
|
|
|
358898
359230
|
]);
|
|
358899
359231
|
});
|
|
358900
359232
|
|
|
358901
|
-
//
|
|
359233
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/index.js
|
|
358902
359234
|
class Parser {
|
|
358903
359235
|
constructor(options, document3, fragmentContext = null, scriptHandler = null) {
|
|
358904
359236
|
this.fragmentContext = fragmentContext;
|
|
@@ -361855,7 +362187,7 @@ var init_parser = __esm(() => {
|
|
|
361855
362187
|
TABLE_VOID_ELEMENTS = new Set([TAG_ID.CAPTION, TAG_ID.COL, TAG_ID.COLGROUP, TAG_ID.TBODY, TAG_ID.TD, TAG_ID.TFOOT, TAG_ID.TH, TAG_ID.THEAD, TAG_ID.TR]);
|
|
361856
362188
|
});
|
|
361857
362189
|
|
|
361858
|
-
//
|
|
362190
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/serializer/index.js
|
|
361859
362191
|
var VOID_ELEMENTS;
|
|
361860
362192
|
var init_serializer = __esm(() => {
|
|
361861
362193
|
init_html();
|
|
@@ -361882,7 +362214,7 @@ var init_serializer = __esm(() => {
|
|
|
361882
362214
|
]);
|
|
361883
362215
|
});
|
|
361884
362216
|
|
|
361885
|
-
//
|
|
362217
|
+
// ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/index.js
|
|
361886
362218
|
function parseFragment2(fragmentContext, html, options) {
|
|
361887
362219
|
if (typeof fragmentContext === "string") {
|
|
361888
362220
|
options = html;
|
|
@@ -366144,10 +366476,10 @@ var init_html2 = __esm(() => {
|
|
|
366144
366476
|
init_converter();
|
|
366145
366477
|
});
|
|
366146
366478
|
|
|
366147
|
-
//
|
|
366479
|
+
// ../../node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.mjs
|
|
366148
366480
|
var init_dist4 = () => {};
|
|
366149
366481
|
|
|
366150
|
-
//
|
|
366482
|
+
// ../../node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/development.js
|
|
366151
366483
|
function ok2(value2, message) {
|
|
366152
366484
|
assert2(Boolean(value2), false, true, "ok", "Expected value to be truthy", message);
|
|
366153
366485
|
}
|
|
@@ -366176,7 +366508,7 @@ var init_development = __esm(() => {
|
|
|
366176
366508
|
};
|
|
366177
366509
|
});
|
|
366178
366510
|
|
|
366179
|
-
//
|
|
366511
|
+
// ../../node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js
|
|
366180
366512
|
function toString(value2, options) {
|
|
366181
366513
|
const settings = options || emptyOptions;
|
|
366182
366514
|
const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
|
|
@@ -366216,12 +366548,12 @@ var init_lib = __esm(() => {
|
|
|
366216
366548
|
emptyOptions = {};
|
|
366217
366549
|
});
|
|
366218
366550
|
|
|
366219
|
-
//
|
|
366551
|
+
// ../../node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/index.js
|
|
366220
366552
|
var init_mdast_util_to_string = __esm(() => {
|
|
366221
366553
|
init_lib();
|
|
366222
366554
|
});
|
|
366223
366555
|
|
|
366224
|
-
//
|
|
366556
|
+
// ../../node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.js
|
|
366225
366557
|
var characterEntities;
|
|
366226
366558
|
var init_character_entities = __esm(() => {
|
|
366227
366559
|
characterEntities = {
|
|
@@ -368354,7 +368686,7 @@ var init_character_entities = __esm(() => {
|
|
|
368354
368686
|
};
|
|
368355
368687
|
});
|
|
368356
368688
|
|
|
368357
|
-
//
|
|
368689
|
+
// ../../node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
368358
368690
|
function decodeNamedCharacterReference(value2) {
|
|
368359
368691
|
return own.call(characterEntities, value2) ? characterEntities[value2] : false;
|
|
368360
368692
|
}
|
|
@@ -368364,7 +368696,7 @@ var init_decode_named_character_reference = __esm(() => {
|
|
|
368364
368696
|
own = {}.hasOwnProperty;
|
|
368365
368697
|
});
|
|
368366
368698
|
|
|
368367
|
-
//
|
|
368699
|
+
// ../../node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/codes.js
|
|
368368
368700
|
var codes;
|
|
368369
368701
|
var init_codes = __esm(() => {
|
|
368370
368702
|
codes = {
|
|
@@ -368507,7 +368839,7 @@ var init_codes = __esm(() => {
|
|
|
368507
368839
|
};
|
|
368508
368840
|
});
|
|
368509
368841
|
|
|
368510
|
-
//
|
|
368842
|
+
// ../../node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/constants.js
|
|
368511
368843
|
var constants2;
|
|
368512
368844
|
var init_constants = __esm(() => {
|
|
368513
368845
|
constants2 = {
|
|
@@ -368548,7 +368880,7 @@ var init_constants = __esm(() => {
|
|
|
368548
368880
|
};
|
|
368549
368881
|
});
|
|
368550
368882
|
|
|
368551
|
-
//
|
|
368883
|
+
// ../../node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/types.js
|
|
368552
368884
|
var types8;
|
|
368553
368885
|
var init_types9 = __esm(() => {
|
|
368554
368886
|
types8 = {
|
|
@@ -368658,7 +368990,7 @@ var init_types9 = __esm(() => {
|
|
|
368658
368990
|
};
|
|
368659
368991
|
});
|
|
368660
368992
|
|
|
368661
|
-
//
|
|
368993
|
+
// ../../node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/values.js
|
|
368662
368994
|
var values;
|
|
368663
368995
|
var init_values = __esm(() => {
|
|
368664
368996
|
values = {
|
|
@@ -368765,7 +369097,7 @@ var init_values = __esm(() => {
|
|
|
368765
369097
|
};
|
|
368766
369098
|
});
|
|
368767
369099
|
|
|
368768
|
-
//
|
|
369100
|
+
// ../../node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/default.js
|
|
368769
369101
|
var init_default3 = __esm(() => {
|
|
368770
369102
|
init_codes();
|
|
368771
369103
|
init_constants();
|
|
@@ -368773,7 +369105,7 @@ var init_default3 = __esm(() => {
|
|
|
368773
369105
|
init_values();
|
|
368774
369106
|
});
|
|
368775
369107
|
|
|
368776
|
-
//
|
|
369108
|
+
// ../../node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/dev/index.js
|
|
368777
369109
|
function splice(list, start, remove, items) {
|
|
368778
369110
|
const end = list.length;
|
|
368779
369111
|
let chunkStart = 0;
|
|
@@ -368811,7 +369143,7 @@ var init_dev = __esm(() => {
|
|
|
368811
369143
|
init_default3();
|
|
368812
369144
|
});
|
|
368813
369145
|
|
|
368814
|
-
//
|
|
369146
|
+
// ../../node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
|
|
368815
369147
|
function combineExtensions(extensions) {
|
|
368816
369148
|
const all2 = {};
|
|
368817
369149
|
let index = -1;
|
|
@@ -368851,7 +369183,7 @@ var init_micromark_util_combine_extensions = __esm(() => {
|
|
|
368851
369183
|
hasOwnProperty = {}.hasOwnProperty;
|
|
368852
369184
|
});
|
|
368853
369185
|
|
|
368854
|
-
//
|
|
369186
|
+
// ../../node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js
|
|
368855
369187
|
function decodeNumericCharacterReference(value2, base3) {
|
|
368856
369188
|
const code = Number.parseInt(value2, base3);
|
|
368857
369189
|
if (code < codes.ht || code === codes.vt || code > codes.cr && code < codes.space || code > codes.tilde && code < 160 || code > 55295 && code < 57344 || code > 64975 && code < 65008 || (code & 65535) === 65535 || (code & 65535) === 65534 || code > 1114111) {
|
|
@@ -368863,7 +369195,7 @@ var init_dev2 = __esm(() => {
|
|
|
368863
369195
|
init_default3();
|
|
368864
369196
|
});
|
|
368865
369197
|
|
|
368866
|
-
//
|
|
369198
|
+
// ../../node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/dev/index.js
|
|
368867
369199
|
function normalizeIdentifier(value2) {
|
|
368868
369200
|
return value2.replace(/[\t\n\r ]+/g, values.space).replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
368869
369201
|
}
|
|
@@ -368871,7 +369203,7 @@ var init_dev3 = __esm(() => {
|
|
|
368871
369203
|
init_default3();
|
|
368872
369204
|
});
|
|
368873
369205
|
|
|
368874
|
-
//
|
|
369206
|
+
// ../../node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/dev/index.js
|
|
368875
369207
|
function asciiControl(code) {
|
|
368876
369208
|
return code !== null && (code < codes.space || code === codes.del);
|
|
368877
369209
|
}
|
|
@@ -368903,7 +369235,7 @@ var init_dev4 = __esm(() => {
|
|
|
368903
369235
|
unicodeWhitespace = regexCheck(/\s/);
|
|
368904
369236
|
});
|
|
368905
369237
|
|
|
368906
|
-
//
|
|
369238
|
+
// ../../node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/dev/index.js
|
|
368907
369239
|
function factorySpace(effects2, ok3, type, max2) {
|
|
368908
369240
|
const limit2 = max2 ? max2 - 1 : Number.POSITIVE_INFINITY;
|
|
368909
369241
|
let size = 0;
|
|
@@ -368928,7 +369260,7 @@ var init_dev5 = __esm(() => {
|
|
|
368928
369260
|
init_dev4();
|
|
368929
369261
|
});
|
|
368930
369262
|
|
|
368931
|
-
//
|
|
369263
|
+
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/dev/lib/initialize/content.js
|
|
368932
369264
|
function initializeContent(effects2) {
|
|
368933
369265
|
const contentStart = effects2.attempt(this.parser.constructs.contentInitial, afterContentStartConstruct, paragraphInitial);
|
|
368934
369266
|
let previous;
|
|
@@ -368985,7 +369317,7 @@ var init_content = __esm(() => {
|
|
|
368985
369317
|
content = { tokenize: initializeContent };
|
|
368986
369318
|
});
|
|
368987
369319
|
|
|
368988
|
-
//
|
|
369320
|
+
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/dev/lib/initialize/document.js
|
|
368989
369321
|
function initializeDocument(effects2) {
|
|
368990
369322
|
const self = this;
|
|
368991
369323
|
const stack = [];
|
|
@@ -369177,7 +369509,7 @@ var init_document2 = __esm(() => {
|
|
|
369177
369509
|
containerConstruct = { tokenize: tokenizeContainer };
|
|
369178
369510
|
});
|
|
369179
369511
|
|
|
369180
|
-
//
|
|
369512
|
+
// ../../node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/dev/index.js
|
|
369181
369513
|
function classifyCharacter(code) {
|
|
369182
369514
|
if (code === codes.eof || markdownLineEndingOrSpace(code) || unicodeWhitespace(code)) {
|
|
369183
369515
|
return constants2.characterGroupWhitespace;
|
|
@@ -369191,7 +369523,7 @@ var init_dev6 = __esm(() => {
|
|
|
369191
369523
|
init_default3();
|
|
369192
369524
|
});
|
|
369193
369525
|
|
|
369194
|
-
//
|
|
369526
|
+
// ../../node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js
|
|
369195
369527
|
function resolveAll(constructs2, events, context) {
|
|
369196
369528
|
const called = [];
|
|
369197
369529
|
let index = -1;
|
|
@@ -369205,7 +369537,7 @@ function resolveAll(constructs2, events, context) {
|
|
|
369205
369537
|
return events;
|
|
369206
369538
|
}
|
|
369207
369539
|
|
|
369208
|
-
//
|
|
369540
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/attention.js
|
|
369209
369541
|
function resolveAllAttention(events, context) {
|
|
369210
369542
|
let index = -1;
|
|
369211
369543
|
let open2;
|
|
@@ -369341,7 +369673,7 @@ var init_attention = __esm(() => {
|
|
|
369341
369673
|
};
|
|
369342
369674
|
});
|
|
369343
369675
|
|
|
369344
|
-
//
|
|
369676
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/autolink.js
|
|
369345
369677
|
function tokenizeAutolink(effects2, ok3, nok) {
|
|
369346
369678
|
let size = 0;
|
|
369347
369679
|
return start;
|
|
@@ -369446,7 +369778,7 @@ var init_autolink = __esm(() => {
|
|
|
369446
369778
|
autolink = { name: "autolink", tokenize: tokenizeAutolink };
|
|
369447
369779
|
});
|
|
369448
369780
|
|
|
369449
|
-
//
|
|
369781
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/blank-line.js
|
|
369450
369782
|
function tokenizeBlankLine(effects2, ok3, nok) {
|
|
369451
369783
|
return start;
|
|
369452
369784
|
function start(code) {
|
|
@@ -369464,7 +369796,7 @@ var init_blank_line = __esm(() => {
|
|
|
369464
369796
|
blankLine = { partial: true, tokenize: tokenizeBlankLine };
|
|
369465
369797
|
});
|
|
369466
369798
|
|
|
369467
|
-
//
|
|
369799
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/block-quote.js
|
|
369468
369800
|
function tokenizeBlockQuoteStart(effects2, ok3, nok) {
|
|
369469
369801
|
const self = this;
|
|
369470
369802
|
return start;
|
|
@@ -369527,7 +369859,7 @@ var init_block_quote = __esm(() => {
|
|
|
369527
369859
|
};
|
|
369528
369860
|
});
|
|
369529
369861
|
|
|
369530
|
-
//
|
|
369862
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/character-escape.js
|
|
369531
369863
|
function tokenizeCharacterEscape(effects2, ok3, nok) {
|
|
369532
369864
|
return start;
|
|
369533
369865
|
function start(code) {
|
|
@@ -369560,7 +369892,7 @@ var init_character_escape = __esm(() => {
|
|
|
369560
369892
|
};
|
|
369561
369893
|
});
|
|
369562
369894
|
|
|
369563
|
-
//
|
|
369895
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/character-reference.js
|
|
369564
369896
|
function tokenizeCharacterReference(effects2, ok3, nok) {
|
|
369565
369897
|
const self = this;
|
|
369566
369898
|
let size = 0;
|
|
@@ -369633,7 +369965,7 @@ var init_character_reference = __esm(() => {
|
|
|
369633
369965
|
};
|
|
369634
369966
|
});
|
|
369635
369967
|
|
|
369636
|
-
//
|
|
369968
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js
|
|
369637
369969
|
function tokenizeCodeFenced(effects2, ok3, nok) {
|
|
369638
369970
|
const self = this;
|
|
369639
369971
|
const closeStart = { partial: true, tokenize: tokenizeCloseStart };
|
|
@@ -369822,7 +370154,7 @@ var init_code_fenced = __esm(() => {
|
|
|
369822
370154
|
};
|
|
369823
370155
|
});
|
|
369824
370156
|
|
|
369825
|
-
//
|
|
370157
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/code-indented.js
|
|
369826
370158
|
function tokenizeCodeIndented(effects2, ok3, nok) {
|
|
369827
370159
|
const self = this;
|
|
369828
370160
|
return start;
|
|
@@ -369891,7 +370223,7 @@ var init_code_indented = __esm(() => {
|
|
|
369891
370223
|
furtherStart = { partial: true, tokenize: tokenizeFurtherStart };
|
|
369892
370224
|
});
|
|
369893
370225
|
|
|
369894
|
-
//
|
|
370226
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/code-text.js
|
|
369895
370227
|
function resolveCodeText(events) {
|
|
369896
370228
|
let tailExitIndex = events.length - 4;
|
|
369897
370229
|
let headEnterIndex = 3;
|
|
@@ -370014,7 +370346,7 @@ var init_code_text = __esm(() => {
|
|
|
370014
370346
|
};
|
|
370015
370347
|
});
|
|
370016
370348
|
|
|
370017
|
-
//
|
|
370349
|
+
// ../../node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js
|
|
370018
370350
|
class SpliceBuffer {
|
|
370019
370351
|
constructor(initial) {
|
|
370020
370352
|
this.left = initial ? [...initial] : [];
|
|
@@ -370100,7 +370432,7 @@ var init_splice_buffer = __esm(() => {
|
|
|
370100
370432
|
init_default3();
|
|
370101
370433
|
});
|
|
370102
370434
|
|
|
370103
|
-
//
|
|
370435
|
+
// ../../node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/dev/index.js
|
|
370104
370436
|
function subtokenize(eventsArray) {
|
|
370105
370437
|
const jumps = {};
|
|
370106
370438
|
let index = -1;
|
|
@@ -370259,7 +370591,7 @@ var init_dev7 = __esm(() => {
|
|
|
370259
370591
|
init_splice_buffer();
|
|
370260
370592
|
});
|
|
370261
370593
|
|
|
370262
|
-
//
|
|
370594
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/content.js
|
|
370263
370595
|
function resolveContent(events) {
|
|
370264
370596
|
subtokenize(events);
|
|
370265
370597
|
return events;
|
|
@@ -370337,7 +370669,7 @@ var init_content2 = __esm(() => {
|
|
|
370337
370669
|
continuationConstruct = { partial: true, tokenize: tokenizeContinuation };
|
|
370338
370670
|
});
|
|
370339
370671
|
|
|
370340
|
-
//
|
|
370672
|
+
// ../../node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/dev/index.js
|
|
370341
370673
|
function factoryDestination(effects2, ok3, nok, type, literalType2, literalMarkerType, rawType, stringType2, max2) {
|
|
370342
370674
|
const limit2 = max2 || Number.POSITIVE_INFINITY;
|
|
370343
370675
|
let balance = 0;
|
|
@@ -370429,7 +370761,7 @@ var init_dev8 = __esm(() => {
|
|
|
370429
370761
|
init_default3();
|
|
370430
370762
|
});
|
|
370431
370763
|
|
|
370432
|
-
//
|
|
370764
|
+
// ../../node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/dev/index.js
|
|
370433
370765
|
function factoryLabel(effects2, ok3, nok, type, markerType, stringType2) {
|
|
370434
370766
|
const self = this;
|
|
370435
370767
|
let size = 0;
|
|
@@ -370490,7 +370822,7 @@ var init_dev9 = __esm(() => {
|
|
|
370490
370822
|
init_default3();
|
|
370491
370823
|
});
|
|
370492
370824
|
|
|
370493
|
-
//
|
|
370825
|
+
// ../../node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/dev/index.js
|
|
370494
370826
|
function factoryTitle(effects2, ok3, nok, type, markerType, stringType2) {
|
|
370495
370827
|
let marker;
|
|
370496
370828
|
return start;
|
|
@@ -370555,7 +370887,7 @@ var init_dev10 = __esm(() => {
|
|
|
370555
370887
|
init_default3();
|
|
370556
370888
|
});
|
|
370557
370889
|
|
|
370558
|
-
//
|
|
370890
|
+
// ../../node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/dev/index.js
|
|
370559
370891
|
function factoryWhitespace(effects2, ok3) {
|
|
370560
370892
|
let seen;
|
|
370561
370893
|
return start;
|
|
@@ -370579,7 +370911,7 @@ var init_dev11 = __esm(() => {
|
|
|
370579
370911
|
init_default3();
|
|
370580
370912
|
});
|
|
370581
370913
|
|
|
370582
|
-
//
|
|
370914
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/definition.js
|
|
370583
370915
|
function tokenizeDefinition(effects2, ok3, nok) {
|
|
370584
370916
|
const self = this;
|
|
370585
370917
|
let identifier;
|
|
@@ -370653,7 +370985,7 @@ var init_definition = __esm(() => {
|
|
|
370653
370985
|
titleBefore = { partial: true, tokenize: tokenizeTitleBefore };
|
|
370654
370986
|
});
|
|
370655
370987
|
|
|
370656
|
-
//
|
|
370988
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js
|
|
370657
370989
|
function tokenizeHardBreakEscape(effects2, ok3, nok) {
|
|
370658
370990
|
return start;
|
|
370659
370991
|
function start(code) {
|
|
@@ -370681,7 +371013,7 @@ var init_hard_break_escape = __esm(() => {
|
|
|
370681
371013
|
};
|
|
370682
371014
|
});
|
|
370683
371015
|
|
|
370684
|
-
//
|
|
371016
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js
|
|
370685
371017
|
function resolveHeadingAtx(events, context) {
|
|
370686
371018
|
let contentEnd = events.length - 2;
|
|
370687
371019
|
let contentStart = 3;
|
|
@@ -370786,7 +371118,7 @@ var init_heading_atx = __esm(() => {
|
|
|
370786
371118
|
};
|
|
370787
371119
|
});
|
|
370788
371120
|
|
|
370789
|
-
//
|
|
371121
|
+
// ../../node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js
|
|
370790
371122
|
var htmlBlockNames, htmlRawNames;
|
|
370791
371123
|
var init_micromark_util_html_tag_name = __esm(() => {
|
|
370792
371124
|
htmlBlockNames = [
|
|
@@ -370856,7 +371188,7 @@ var init_micromark_util_html_tag_name = __esm(() => {
|
|
|
370856
371188
|
htmlRawNames = ["pre", "script", "style", "textarea"];
|
|
370857
371189
|
});
|
|
370858
371190
|
|
|
370859
|
-
//
|
|
371191
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/html-flow.js
|
|
370860
371192
|
function resolveToHtmlFlow(events) {
|
|
370861
371193
|
let index = events.length;
|
|
370862
371194
|
while (index--) {
|
|
@@ -371246,7 +371578,7 @@ var init_html_flow = __esm(() => {
|
|
|
371246
371578
|
};
|
|
371247
371579
|
});
|
|
371248
371580
|
|
|
371249
|
-
//
|
|
371581
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/html-text.js
|
|
371250
371582
|
function tokenizeHtmlText(effects2, ok3, nok) {
|
|
371251
371583
|
const self = this;
|
|
371252
371584
|
let marker;
|
|
@@ -371560,7 +371892,7 @@ var init_html_text = __esm(() => {
|
|
|
371560
371892
|
htmlText = { name: "htmlText", tokenize: tokenizeHtmlText };
|
|
371561
371893
|
});
|
|
371562
371894
|
|
|
371563
|
-
//
|
|
371895
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/label-end.js
|
|
371564
371896
|
function resolveAllLabelEnd(events) {
|
|
371565
371897
|
let index = -1;
|
|
371566
371898
|
const newEvents = [];
|
|
@@ -371792,7 +372124,7 @@ var init_label_end = __esm(() => {
|
|
|
371792
372124
|
referenceCollapsedConstruct = { tokenize: tokenizeReferenceCollapsed };
|
|
371793
372125
|
});
|
|
371794
372126
|
|
|
371795
|
-
//
|
|
372127
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js
|
|
371796
372128
|
function tokenizeLabelStartImage(effects2, ok3, nok) {
|
|
371797
372129
|
const self = this;
|
|
371798
372130
|
return start;
|
|
@@ -371830,7 +372162,7 @@ var init_label_start_image = __esm(() => {
|
|
|
371830
372162
|
};
|
|
371831
372163
|
});
|
|
371832
372164
|
|
|
371833
|
-
//
|
|
372165
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js
|
|
371834
372166
|
function tokenizeLabelStartLink(effects2, ok3, nok) {
|
|
371835
372167
|
const self = this;
|
|
371836
372168
|
return start;
|
|
@@ -371859,7 +372191,7 @@ var init_label_start_link = __esm(() => {
|
|
|
371859
372191
|
};
|
|
371860
372192
|
});
|
|
371861
372193
|
|
|
371862
|
-
//
|
|
372194
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/line-ending.js
|
|
371863
372195
|
function tokenizeLineEnding(effects2, ok3) {
|
|
371864
372196
|
return start;
|
|
371865
372197
|
function start(code) {
|
|
@@ -371879,7 +372211,7 @@ var init_line_ending = __esm(() => {
|
|
|
371879
372211
|
lineEnding = { name: "lineEnding", tokenize: tokenizeLineEnding };
|
|
371880
372212
|
});
|
|
371881
372213
|
|
|
371882
|
-
//
|
|
372214
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js
|
|
371883
372215
|
function tokenizeThematicBreak(effects2, ok3, nok) {
|
|
371884
372216
|
let size = 0;
|
|
371885
372217
|
let marker;
|
|
@@ -371926,7 +372258,7 @@ var init_thematic_break = __esm(() => {
|
|
|
371926
372258
|
};
|
|
371927
372259
|
});
|
|
371928
372260
|
|
|
371929
|
-
//
|
|
372261
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/list.js
|
|
371930
372262
|
function tokenizeListStart(effects2, ok3, nok) {
|
|
371931
372263
|
const self = this;
|
|
371932
372264
|
const tail = self.events[self.events.length - 1];
|
|
@@ -372071,7 +372403,7 @@ var init_list = __esm(() => {
|
|
|
372071
372403
|
indentConstruct = { partial: true, tokenize: tokenizeIndent };
|
|
372072
372404
|
});
|
|
372073
372405
|
|
|
372074
|
-
//
|
|
372406
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js
|
|
372075
372407
|
function resolveToSetextUnderline(events, context) {
|
|
372076
372408
|
let index = events.length;
|
|
372077
372409
|
let content3;
|
|
@@ -372169,7 +372501,7 @@ var init_setext_underline = __esm(() => {
|
|
|
372169
372501
|
};
|
|
372170
372502
|
});
|
|
372171
372503
|
|
|
372172
|
-
//
|
|
372504
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/index.js
|
|
372173
372505
|
var init_dev12 = __esm(() => {
|
|
372174
372506
|
init_attention();
|
|
372175
372507
|
init_autolink();
|
|
@@ -372195,7 +372527,7 @@ var init_dev12 = __esm(() => {
|
|
|
372195
372527
|
init_thematic_break();
|
|
372196
372528
|
});
|
|
372197
372529
|
|
|
372198
|
-
//
|
|
372530
|
+
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/dev/lib/initialize/flow.js
|
|
372199
372531
|
function initializeFlow(effects2) {
|
|
372200
372532
|
const self = this;
|
|
372201
372533
|
const initial = effects2.attempt(blankLine, atBlankEnding, effects2.attempt(this.parser.constructs.flowInitial, afterConstruct, factorySpace(effects2, effects2.attempt(this.parser.constructs.flow, afterConstruct, effects2.attempt(content2, afterConstruct)), types8.linePrefix)));
|
|
@@ -372235,7 +372567,7 @@ var init_flow = __esm(() => {
|
|
|
372235
372567
|
flow = { tokenize: initializeFlow };
|
|
372236
372568
|
});
|
|
372237
372569
|
|
|
372238
|
-
//
|
|
372570
|
+
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/dev/lib/initialize/text.js
|
|
372239
372571
|
function initializeFactory(field) {
|
|
372240
372572
|
return {
|
|
372241
372573
|
resolveAll: createResolver(field === "text" ? resolveAllLineSuffixes : undefined),
|
|
@@ -372374,7 +372706,7 @@ var init_text = __esm(() => {
|
|
|
372374
372706
|
text = initializeFactory("text");
|
|
372375
372707
|
});
|
|
372376
372708
|
|
|
372377
|
-
//
|
|
372709
|
+
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/dev/lib/constructs.js
|
|
372378
372710
|
var exports_constructs = {};
|
|
372379
372711
|
__export(exports_constructs, {
|
|
372380
372712
|
text: () => text2,
|
|
@@ -372449,7 +372781,7 @@ var init_constructs = __esm(() => {
|
|
|
372449
372781
|
disable = { null: [] };
|
|
372450
372782
|
});
|
|
372451
372783
|
|
|
372452
|
-
//
|
|
372784
|
+
// ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
|
|
372453
372785
|
var require_ms = __commonJS((exports, module) => {
|
|
372454
372786
|
var s = 1000;
|
|
372455
372787
|
var m = s * 60;
|
|
@@ -372559,7 +372891,7 @@ var require_ms = __commonJS((exports, module) => {
|
|
|
372559
372891
|
}
|
|
372560
372892
|
});
|
|
372561
372893
|
|
|
372562
|
-
//
|
|
372894
|
+
// ../../node_modules/.pnpm/debug@4.4.3_supports-color@5.5.0/node_modules/debug/src/common.js
|
|
372563
372895
|
var require_common = __commonJS((exports, module) => {
|
|
372564
372896
|
function setup(env) {
|
|
372565
372897
|
createDebug.debug = createDebug;
|
|
@@ -372734,7 +373066,7 @@ var require_common = __commonJS((exports, module) => {
|
|
|
372734
373066
|
module.exports = setup;
|
|
372735
373067
|
});
|
|
372736
373068
|
|
|
372737
|
-
//
|
|
373069
|
+
// ../../node_modules/.pnpm/debug@4.4.3_supports-color@5.5.0/node_modules/debug/src/browser.js
|
|
372738
373070
|
var require_browser = __commonJS((exports, module) => {
|
|
372739
373071
|
exports.formatArgs = formatArgs;
|
|
372740
373072
|
exports.save = save;
|
|
@@ -372894,36 +373226,30 @@ var require_browser = __commonJS((exports, module) => {
|
|
|
372894
373226
|
};
|
|
372895
373227
|
});
|
|
372896
373228
|
|
|
372897
|
-
//
|
|
373229
|
+
// ../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js
|
|
372898
373230
|
var require_has_flag = __commonJS((exports, module) => {
|
|
372899
|
-
module.exports = (flag, argv
|
|
373231
|
+
module.exports = (flag, argv) => {
|
|
373232
|
+
argv = argv || process.argv;
|
|
372900
373233
|
const prefix2 = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
372901
|
-
const
|
|
372902
|
-
const
|
|
372903
|
-
return
|
|
373234
|
+
const pos = argv.indexOf(prefix2 + flag);
|
|
373235
|
+
const terminatorPos = argv.indexOf("--");
|
|
373236
|
+
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
|
|
372904
373237
|
};
|
|
372905
373238
|
});
|
|
372906
373239
|
|
|
372907
|
-
//
|
|
373240
|
+
// ../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
|
|
372908
373241
|
var require_supports_color = __commonJS((exports, module) => {
|
|
372909
373242
|
var os = __require("os");
|
|
372910
|
-
var tty = __require("tty");
|
|
372911
373243
|
var hasFlag = require_has_flag();
|
|
372912
|
-
var
|
|
373244
|
+
var env = process.env;
|
|
372913
373245
|
var forceColor;
|
|
372914
|
-
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")
|
|
372915
|
-
forceColor =
|
|
373246
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
|
373247
|
+
forceColor = false;
|
|
372916
373248
|
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
372917
|
-
forceColor =
|
|
373249
|
+
forceColor = true;
|
|
372918
373250
|
}
|
|
372919
373251
|
if ("FORCE_COLOR" in env) {
|
|
372920
|
-
|
|
372921
|
-
forceColor = 1;
|
|
372922
|
-
} else if (env.FORCE_COLOR === "false") {
|
|
372923
|
-
forceColor = 0;
|
|
372924
|
-
} else {
|
|
372925
|
-
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
372926
|
-
}
|
|
373252
|
+
forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
|
|
372927
373253
|
}
|
|
372928
373254
|
function translateLevel(level) {
|
|
372929
373255
|
if (level === 0) {
|
|
@@ -372936,8 +373262,8 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
372936
373262
|
has16m: level >= 3
|
|
372937
373263
|
};
|
|
372938
373264
|
}
|
|
372939
|
-
function supportsColor(
|
|
372940
|
-
if (forceColor ===
|
|
373265
|
+
function supportsColor(stream) {
|
|
373266
|
+
if (forceColor === false) {
|
|
372941
373267
|
return 0;
|
|
372942
373268
|
}
|
|
372943
373269
|
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
@@ -372946,22 +373272,19 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
372946
373272
|
if (hasFlag("color=256")) {
|
|
372947
373273
|
return 2;
|
|
372948
373274
|
}
|
|
372949
|
-
if (
|
|
373275
|
+
if (stream && !stream.isTTY && forceColor !== true) {
|
|
372950
373276
|
return 0;
|
|
372951
373277
|
}
|
|
372952
|
-
const min = forceColor
|
|
372953
|
-
if (env.TERM === "dumb") {
|
|
372954
|
-
return min;
|
|
372955
|
-
}
|
|
373278
|
+
const min = forceColor ? 1 : 0;
|
|
372956
373279
|
if (process.platform === "win32") {
|
|
372957
373280
|
const osRelease = os.release().split(".");
|
|
372958
|
-
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
373281
|
+
if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
372959
373282
|
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
372960
373283
|
}
|
|
372961
373284
|
return 1;
|
|
372962
373285
|
}
|
|
372963
373286
|
if ("CI" in env) {
|
|
372964
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"
|
|
373287
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => (sign in env)) || env.CI_NAME === "codeship") {
|
|
372965
373288
|
return 1;
|
|
372966
373289
|
}
|
|
372967
373290
|
return min;
|
|
@@ -372990,20 +373313,23 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
372990
373313
|
if ("COLORTERM" in env) {
|
|
372991
373314
|
return 1;
|
|
372992
373315
|
}
|
|
373316
|
+
if (env.TERM === "dumb") {
|
|
373317
|
+
return min;
|
|
373318
|
+
}
|
|
372993
373319
|
return min;
|
|
372994
373320
|
}
|
|
372995
373321
|
function getSupportLevel(stream) {
|
|
372996
|
-
const level = supportsColor(stream
|
|
373322
|
+
const level = supportsColor(stream);
|
|
372997
373323
|
return translateLevel(level);
|
|
372998
373324
|
}
|
|
372999
373325
|
module.exports = {
|
|
373000
373326
|
supportsColor: getSupportLevel,
|
|
373001
|
-
stdout:
|
|
373002
|
-
stderr:
|
|
373327
|
+
stdout: getSupportLevel(process.stdout),
|
|
373328
|
+
stderr: getSupportLevel(process.stderr)
|
|
373003
373329
|
};
|
|
373004
373330
|
});
|
|
373005
373331
|
|
|
373006
|
-
//
|
|
373332
|
+
// ../../node_modules/.pnpm/debug@4.4.3_supports-color@5.5.0/node_modules/debug/src/node.js
|
|
373007
373333
|
var require_node = __commonJS((exports, module) => {
|
|
373008
373334
|
var tty = __require("tty");
|
|
373009
373335
|
var util3 = __require("util");
|
|
@@ -373174,7 +373500,7 @@ var require_node = __commonJS((exports, module) => {
|
|
|
373174
373500
|
};
|
|
373175
373501
|
});
|
|
373176
373502
|
|
|
373177
|
-
//
|
|
373503
|
+
// ../../node_modules/.pnpm/debug@4.4.3_supports-color@5.5.0/node_modules/debug/src/index.js
|
|
373178
373504
|
var require_src = __commonJS((exports, module) => {
|
|
373179
373505
|
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
373180
373506
|
module.exports = require_browser();
|
|
@@ -373183,7 +373509,7 @@ var require_src = __commonJS((exports, module) => {
|
|
|
373183
373509
|
}
|
|
373184
373510
|
});
|
|
373185
373511
|
|
|
373186
|
-
//
|
|
373512
|
+
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/dev/lib/create-tokenizer.js
|
|
373187
373513
|
function createTokenizer(parser, initialize, from) {
|
|
373188
373514
|
let point = {
|
|
373189
373515
|
_bufferIndex: -1,
|
|
@@ -373506,7 +373832,7 @@ var init_create_tokenizer = __esm(() => {
|
|
|
373506
373832
|
debug = import_debug.default("micromark");
|
|
373507
373833
|
});
|
|
373508
373834
|
|
|
373509
|
-
//
|
|
373835
|
+
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/dev/lib/parse.js
|
|
373510
373836
|
function parse6(options) {
|
|
373511
373837
|
const settings = options || {};
|
|
373512
373838
|
const constructs2 = combineExtensions([exports_constructs, ...settings.extensions || []]);
|
|
@@ -373538,7 +373864,7 @@ var init_parse4 = __esm(() => {
|
|
|
373538
373864
|
init_create_tokenizer();
|
|
373539
373865
|
});
|
|
373540
373866
|
|
|
373541
|
-
//
|
|
373867
|
+
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/dev/lib/postprocess.js
|
|
373542
373868
|
function postprocess(events) {
|
|
373543
373869
|
while (!subtokenize(events)) {}
|
|
373544
373870
|
return events;
|
|
@@ -373547,7 +373873,7 @@ var init_postprocess = __esm(() => {
|
|
|
373547
373873
|
init_dev7();
|
|
373548
373874
|
});
|
|
373549
373875
|
|
|
373550
|
-
//
|
|
373876
|
+
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/dev/lib/preprocess.js
|
|
373551
373877
|
function preprocess2() {
|
|
373552
373878
|
let column = 1;
|
|
373553
373879
|
let buffer = "";
|
|
@@ -373633,14 +373959,14 @@ var init_preprocess = __esm(() => {
|
|
|
373633
373959
|
search = /[\0\t\n\r]/g;
|
|
373634
373960
|
});
|
|
373635
373961
|
|
|
373636
|
-
//
|
|
373962
|
+
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/dev/index.js
|
|
373637
373963
|
var init_dev13 = __esm(() => {
|
|
373638
373964
|
init_parse4();
|
|
373639
373965
|
init_postprocess();
|
|
373640
373966
|
init_preprocess();
|
|
373641
373967
|
});
|
|
373642
373968
|
|
|
373643
|
-
//
|
|
373969
|
+
// ../../node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/dev/index.js
|
|
373644
373970
|
function decodeString(value2) {
|
|
373645
373971
|
return value2.replace(characterEscapeOrReference, decode5);
|
|
373646
373972
|
}
|
|
@@ -373664,7 +373990,7 @@ var init_dev14 = __esm(() => {
|
|
|
373664
373990
|
characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
373665
373991
|
});
|
|
373666
373992
|
|
|
373667
|
-
//
|
|
373993
|
+
// ../../node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
|
|
373668
373994
|
function stringifyPosition(value2) {
|
|
373669
373995
|
if (!value2 || typeof value2 !== "object") {
|
|
373670
373996
|
return "";
|
|
@@ -373690,10 +374016,10 @@ function index(value2) {
|
|
|
373690
374016
|
return value2 && typeof value2 === "number" ? value2 : 1;
|
|
373691
374017
|
}
|
|
373692
374018
|
|
|
373693
|
-
//
|
|
374019
|
+
// ../../node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/index.js
|
|
373694
374020
|
var init_unist_util_stringify_position = () => {};
|
|
373695
374021
|
|
|
373696
|
-
//
|
|
374022
|
+
// ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/dev/lib/index.js
|
|
373697
374023
|
function fromMarkdown(value2, encoding, options) {
|
|
373698
374024
|
if (encoding && typeof encoding === "object") {
|
|
373699
374025
|
options = encoding;
|
|
@@ -374408,12 +374734,12 @@ var init_lib2 = __esm(() => {
|
|
|
374408
374734
|
own2 = {}.hasOwnProperty;
|
|
374409
374735
|
});
|
|
374410
374736
|
|
|
374411
|
-
//
|
|
374737
|
+
// ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/dev/index.js
|
|
374412
374738
|
var init_dev15 = __esm(() => {
|
|
374413
374739
|
init_lib2();
|
|
374414
374740
|
});
|
|
374415
374741
|
|
|
374416
|
-
//
|
|
374742
|
+
// ../../node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js
|
|
374417
374743
|
function ccount(value2, character) {
|
|
374418
374744
|
const source = String(value2);
|
|
374419
374745
|
if (typeof character !== "string") {
|
|
@@ -374428,7 +374754,7 @@ function ccount(value2, character) {
|
|
|
374428
374754
|
return count;
|
|
374429
374755
|
}
|
|
374430
374756
|
|
|
374431
|
-
//
|
|
374757
|
+
// ../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js
|
|
374432
374758
|
function escapeStringRegexp(string7) {
|
|
374433
374759
|
if (typeof string7 !== "string") {
|
|
374434
374760
|
throw new TypeError("Expected a string");
|
|
@@ -374436,7 +374762,7 @@ function escapeStringRegexp(string7) {
|
|
|
374436
374762
|
return string7.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
374437
374763
|
}
|
|
374438
374764
|
|
|
374439
|
-
//
|
|
374765
|
+
// ../../node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.js
|
|
374440
374766
|
function anyFactory(tests) {
|
|
374441
374767
|
const checks4 = [];
|
|
374442
374768
|
let index2 = -1;
|
|
@@ -374500,15 +374826,15 @@ var convert = function(test) {
|
|
|
374500
374826
|
throw new Error("Expected function, string, or object as test");
|
|
374501
374827
|
};
|
|
374502
374828
|
|
|
374503
|
-
//
|
|
374829
|
+
// ../../node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/index.js
|
|
374504
374830
|
var init_unist_util_is = () => {};
|
|
374505
374831
|
|
|
374506
|
-
//
|
|
374832
|
+
// ../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.node.js
|
|
374507
374833
|
function color(d) {
|
|
374508
374834
|
return "\x1B[33m" + d + "\x1B[39m";
|
|
374509
374835
|
}
|
|
374510
374836
|
|
|
374511
|
-
//
|
|
374837
|
+
// ../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.js
|
|
374512
374838
|
function visitParents(tree, test, visitor, reverse) {
|
|
374513
374839
|
let check2;
|
|
374514
374840
|
if (typeof test === "function" && typeof visitor !== "function") {
|
|
@@ -374574,12 +374900,12 @@ var init_lib3 = __esm(() => {
|
|
|
374574
374900
|
empty2 = [];
|
|
374575
374901
|
});
|
|
374576
374902
|
|
|
374577
|
-
//
|
|
374903
|
+
// ../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/index.js
|
|
374578
374904
|
var init_unist_util_visit_parents = __esm(() => {
|
|
374579
374905
|
init_lib3();
|
|
374580
374906
|
});
|
|
374581
374907
|
|
|
374582
|
-
//
|
|
374908
|
+
// ../../node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js
|
|
374583
374909
|
function findAndReplace(tree, list2, options) {
|
|
374584
374910
|
const settings = options || {};
|
|
374585
374911
|
const ignored = convert(settings.ignore || []);
|
|
@@ -374684,12 +375010,12 @@ var init_lib4 = __esm(() => {
|
|
|
374684
375010
|
init_unist_util_is();
|
|
374685
375011
|
});
|
|
374686
375012
|
|
|
374687
|
-
//
|
|
375013
|
+
// ../../node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/index.js
|
|
374688
375014
|
var init_mdast_util_find_and_replace = __esm(() => {
|
|
374689
375015
|
init_lib4();
|
|
374690
375016
|
});
|
|
374691
375017
|
|
|
374692
|
-
//
|
|
375018
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
374693
375019
|
function gfmAutolinkLiteralFromMarkdown() {
|
|
374694
375020
|
return {
|
|
374695
375021
|
transforms: [transformGfmAutolinkLiterals],
|
|
@@ -374807,12 +375133,12 @@ var init_lib5 = __esm(() => {
|
|
|
374807
375133
|
init_mdast_util_find_and_replace();
|
|
374808
375134
|
});
|
|
374809
375135
|
|
|
374810
|
-
//
|
|
375136
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/index.js
|
|
374811
375137
|
var init_mdast_util_gfm_autolink_literal = __esm(() => {
|
|
374812
375138
|
init_lib5();
|
|
374813
375139
|
});
|
|
374814
375140
|
|
|
374815
|
-
//
|
|
375141
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
374816
375142
|
function enterFootnoteCallString() {
|
|
374817
375143
|
this.buffer();
|
|
374818
375144
|
}
|
|
@@ -374881,12 +375207,12 @@ var init_lib6 = __esm(() => {
|
|
|
374881
375207
|
footnoteReference.peek = footnoteReferencePeek;
|
|
374882
375208
|
});
|
|
374883
375209
|
|
|
374884
|
-
//
|
|
375210
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/index.js
|
|
374885
375211
|
var init_mdast_util_gfm_footnote = __esm(() => {
|
|
374886
375212
|
init_lib6();
|
|
374887
375213
|
});
|
|
374888
375214
|
|
|
374889
|
-
//
|
|
375215
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
374890
375216
|
function gfmStrikethroughFromMarkdown() {
|
|
374891
375217
|
return {
|
|
374892
375218
|
canContainEols: ["delete"],
|
|
@@ -374920,12 +375246,12 @@ var init_lib7 = __esm(() => {
|
|
|
374920
375246
|
handleDelete.peek = peekDelete;
|
|
374921
375247
|
});
|
|
374922
375248
|
|
|
374923
|
-
//
|
|
375249
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/index.js
|
|
374924
375250
|
var init_mdast_util_gfm_strikethrough = __esm(() => {
|
|
374925
375251
|
init_lib7();
|
|
374926
375252
|
});
|
|
374927
375253
|
|
|
374928
|
-
//
|
|
375254
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js
|
|
374929
375255
|
function gfmTableFromMarkdown() {
|
|
374930
375256
|
return {
|
|
374931
375257
|
enter: {
|
|
@@ -374985,12 +375311,12 @@ var init_lib8 = __esm(() => {
|
|
|
374985
375311
|
init_development();
|
|
374986
375312
|
});
|
|
374987
375313
|
|
|
374988
|
-
//
|
|
375314
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/index.js
|
|
374989
375315
|
var init_mdast_util_gfm_table = __esm(() => {
|
|
374990
375316
|
init_lib8();
|
|
374991
375317
|
});
|
|
374992
375318
|
|
|
374993
|
-
//
|
|
375319
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
374994
375320
|
function gfmTaskListItemFromMarkdown() {
|
|
374995
375321
|
return {
|
|
374996
375322
|
exit: {
|
|
@@ -375040,12 +375366,12 @@ var init_lib9 = __esm(() => {
|
|
|
375040
375366
|
init_development();
|
|
375041
375367
|
});
|
|
375042
375368
|
|
|
375043
|
-
//
|
|
375369
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/index.js
|
|
375044
375370
|
var init_mdast_util_gfm_task_list_item = __esm(() => {
|
|
375045
375371
|
init_lib9();
|
|
375046
375372
|
});
|
|
375047
375373
|
|
|
375048
|
-
//
|
|
375374
|
+
// ../../node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js
|
|
375049
375375
|
function gfmFromMarkdown() {
|
|
375050
375376
|
return [
|
|
375051
375377
|
gfmAutolinkLiteralFromMarkdown(),
|
|
@@ -375063,12 +375389,12 @@ var init_lib10 = __esm(() => {
|
|
|
375063
375389
|
init_mdast_util_gfm_task_list_item();
|
|
375064
375390
|
});
|
|
375065
375391
|
|
|
375066
|
-
//
|
|
375392
|
+
// ../../node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/index.js
|
|
375067
375393
|
var init_mdast_util_gfm = __esm(() => {
|
|
375068
375394
|
init_lib10();
|
|
375069
375395
|
});
|
|
375070
375396
|
|
|
375071
|
-
//
|
|
375397
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/syntax.js
|
|
375072
375398
|
function gfmAutolinkLiteral() {
|
|
375073
375399
|
return { text: text3 };
|
|
375074
375400
|
}
|
|
@@ -375399,12 +375725,12 @@ var init_syntax = __esm(() => {
|
|
|
375399
375725
|
text3[codes.lowercaseW] = [emailAutolink, wwwAutolink];
|
|
375400
375726
|
});
|
|
375401
375727
|
|
|
375402
|
-
//
|
|
375728
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/dev/index.js
|
|
375403
375729
|
var init_dev16 = __esm(() => {
|
|
375404
375730
|
init_syntax();
|
|
375405
375731
|
});
|
|
375406
375732
|
|
|
375407
|
-
//
|
|
375733
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/dev/lib/syntax.js
|
|
375408
375734
|
function gfmFootnote() {
|
|
375409
375735
|
return {
|
|
375410
375736
|
document: {
|
|
@@ -375668,12 +375994,12 @@ var init_syntax2 = __esm(() => {
|
|
|
375668
375994
|
indent = { tokenize: tokenizeIndent2, partial: true };
|
|
375669
375995
|
});
|
|
375670
375996
|
|
|
375671
|
-
//
|
|
375997
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/dev/index.js
|
|
375672
375998
|
var init_dev17 = __esm(() => {
|
|
375673
375999
|
init_syntax2();
|
|
375674
376000
|
});
|
|
375675
376001
|
|
|
375676
|
-
//
|
|
376002
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/dev/lib/syntax.js
|
|
375677
376003
|
function gfmStrikethrough(options) {
|
|
375678
376004
|
const options_ = options || {};
|
|
375679
376005
|
let single = options_.singleTilde;
|
|
@@ -375779,12 +376105,12 @@ var init_syntax3 = __esm(() => {
|
|
|
375779
376105
|
init_default3();
|
|
375780
376106
|
});
|
|
375781
376107
|
|
|
375782
|
-
//
|
|
376108
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/dev/index.js
|
|
375783
376109
|
var init_dev18 = __esm(() => {
|
|
375784
376110
|
init_syntax3();
|
|
375785
376111
|
});
|
|
375786
376112
|
|
|
375787
|
-
//
|
|
376113
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.js
|
|
375788
376114
|
class EditMap {
|
|
375789
376115
|
constructor() {
|
|
375790
376116
|
this.map = [];
|
|
@@ -375834,7 +376160,7 @@ function addImplementation(editMap, at, remove, add) {
|
|
|
375834
376160
|
editMap.map.push([at, remove, add]);
|
|
375835
376161
|
}
|
|
375836
376162
|
|
|
375837
|
-
//
|
|
376163
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/dev/lib/infer.js
|
|
375838
376164
|
function gfmTableAlign(events, index2) {
|
|
375839
376165
|
ok2(events[index2][1].type === "table", "expected table");
|
|
375840
376166
|
let inDelimiterRow = false;
|
|
@@ -375865,7 +376191,7 @@ var init_infer = __esm(() => {
|
|
|
375865
376191
|
init_development();
|
|
375866
376192
|
});
|
|
375867
376193
|
|
|
375868
|
-
//
|
|
376194
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/dev/lib/syntax.js
|
|
375869
376195
|
function gfmTable() {
|
|
375870
376196
|
return {
|
|
375871
376197
|
flow: {
|
|
@@ -376257,12 +376583,12 @@ var init_syntax4 = __esm(() => {
|
|
|
376257
376583
|
init_infer();
|
|
376258
376584
|
});
|
|
376259
376585
|
|
|
376260
|
-
//
|
|
376586
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/dev/index.js
|
|
376261
376587
|
var init_dev19 = __esm(() => {
|
|
376262
376588
|
init_syntax4();
|
|
376263
376589
|
});
|
|
376264
376590
|
|
|
376265
|
-
//
|
|
376591
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/dev/lib/syntax.js
|
|
376266
376592
|
function gfmTaskListItem() {
|
|
376267
376593
|
return {
|
|
376268
376594
|
text: { [codes.leftSquareBracket]: tasklistCheck }
|
|
@@ -376332,12 +376658,12 @@ var init_syntax5 = __esm(() => {
|
|
|
376332
376658
|
tasklistCheck = { name: "tasklistCheck", tokenize: tokenizeTasklistCheck };
|
|
376333
376659
|
});
|
|
376334
376660
|
|
|
376335
|
-
//
|
|
376661
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/dev/index.js
|
|
376336
376662
|
var init_dev20 = __esm(() => {
|
|
376337
376663
|
init_syntax5();
|
|
376338
376664
|
});
|
|
376339
376665
|
|
|
376340
|
-
//
|
|
376666
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.js
|
|
376341
376667
|
function gfm(options) {
|
|
376342
376668
|
return combineExtensions([
|
|
376343
376669
|
gfmAutolinkLiteral(),
|
|
@@ -399886,14 +400212,14 @@ var init_adapter8 = __esm(() => {
|
|
|
399886
400212
|
"moveToRangeEnd"
|
|
399887
400213
|
]);
|
|
399888
400214
|
});
|
|
399889
|
-
//
|
|
400215
|
+
// ../../packages/word-layout/src/unit-conversions.ts
|
|
399890
400216
|
var TWIPS_PER_INCH = 1440, PIXELS_PER_INCH = 96, TWIPS_PER_POINT2 = 20, POINTS_PER_TWIP, TWIPS_PER_PIXEL, PIXELS_PER_TWIP;
|
|
399891
400217
|
var init_unit_conversions = __esm(() => {
|
|
399892
400218
|
POINTS_PER_TWIP = 1 / TWIPS_PER_POINT2;
|
|
399893
400219
|
TWIPS_PER_PIXEL = Math.round(TWIPS_PER_INCH / PIXELS_PER_INCH);
|
|
399894
400220
|
PIXELS_PER_TWIP = 1 / TWIPS_PER_PIXEL;
|
|
399895
400221
|
});
|
|
399896
|
-
//
|
|
400222
|
+
// ../../packages/word-layout/src/numbering-manager.ts
|
|
399897
400223
|
function persistentTrieHash(key3) {
|
|
399898
400224
|
let hash2 = 2166136261;
|
|
399899
400225
|
for (let index2 = 0;index2 < key3.length; index2 += 1) {
|
|
@@ -400521,7 +400847,7 @@ var init_numbering_manager = __esm(() => {
|
|
|
400521
400847
|
});
|
|
400522
400848
|
});
|
|
400523
400849
|
|
|
400524
|
-
//
|
|
400850
|
+
// ../../shared/common/list-numbering/index.ts
|
|
400525
400851
|
var handleDecimal = (path8, lvlText) => generateNumbering(path8, lvlText, numberToStringFormatter), handleRoman = (path8, lvlText) => generateNumbering(path8, lvlText, intToRoman), handleLowerRoman = (path8, lvlText) => {
|
|
400526
400852
|
const result = handleRoman(path8, lvlText);
|
|
400527
400853
|
return result ? result.toLowerCase() : null;
|
|
@@ -400821,7 +401147,7 @@ var init_list_numbering = __esm(() => {
|
|
|
400821
401147
|
normalizeChars = new Set(["", "", "○", "o", "■", "□"]);
|
|
400822
401148
|
});
|
|
400823
401149
|
|
|
400824
|
-
//
|
|
401150
|
+
// ../../packages/word-layout/src/list-marker.ts
|
|
400825
401151
|
function computeWordListMarker(input) {
|
|
400826
401152
|
const { definition: definition2, manager, paragraphOrdinal } = input;
|
|
400827
401153
|
if (definition2.ancestorStartSettings) {
|
|
@@ -400905,7 +401231,7 @@ var init_list_marker = __esm(() => {
|
|
|
400905
401231
|
ARABIC_NUMBER_FORMATS = new Set(["decimal", "decimalZero"]);
|
|
400906
401232
|
});
|
|
400907
401233
|
|
|
400908
|
-
//
|
|
401234
|
+
// ../../packages/word-layout/src/review-aware-numbering.ts
|
|
400909
401235
|
function createReviewAwareWordNumberingSequence(options = {}) {
|
|
400910
401236
|
const stateMode = options.stateMode ?? "snapshot";
|
|
400911
401237
|
let live = createManager(stateMode);
|
|
@@ -401002,7 +401328,7 @@ var init_review_aware_numbering = __esm(() => {
|
|
|
401002
401328
|
init_numbering_manager();
|
|
401003
401329
|
});
|
|
401004
401330
|
|
|
401005
|
-
//
|
|
401331
|
+
// ../../packages/word-layout/src/index.ts
|
|
401006
401332
|
var init_src7 = __esm(() => {
|
|
401007
401333
|
init_unit_conversions();
|
|
401008
401334
|
init_unit_conversions();
|
|
@@ -423771,7 +424097,7 @@ function canonicalNumberingStyleXml(numbering) {
|
|
|
423771
424097
|
preservedOverrideEnd = range.end;
|
|
423772
424098
|
return [];
|
|
423773
424099
|
}
|
|
423774
|
-
const isMceControl = range.tag.namespaceUri ===
|
|
424100
|
+
const isMceControl = range.tag.namespaceUri === MARKUP_COMPATIBILITY_NAMESPACE4 && ["AlternateContent", "Choice", "Fallback"].includes(range.tag.localName);
|
|
423775
424101
|
const name = isWordNumberingNamespace(range.tag.namespaceUri) ? `w:${range.tag.localName}` : range.tag.name.startsWith("w:") && !isWordNumberingNamespace(range.tag.namespaceUri) && !isMceControl ? `nonWord_${range.tag.localName}` : range.tag.name;
|
|
423776
424102
|
const attributes = range.tag.attributes.map((attribute2) => {
|
|
423777
424103
|
const attributeName = isWordNumberingNamespace(attribute2.namespaceUri) ? `w:${attribute2.localName}` : attribute2.name.startsWith("w:") && !isWordNumberingNamespace(attribute2.namespaceUri) ? `nonWord_${attribute2.localName}` : attribute2.name;
|
|
@@ -424291,9 +424617,9 @@ function readCarrierNumberFormats({ range, ranges: ranges2 }) {
|
|
|
424291
424617
|
const isNumberFormat = (element) => isWordprocessingNamespace(element.tag.namespaceUri) && element.tag.localName === "numFmt";
|
|
424292
424618
|
if (isNumberFormat(range))
|
|
424293
424619
|
return [range];
|
|
424294
|
-
if (range.tag.namespaceUri !==
|
|
424620
|
+
if (range.tag.namespaceUri !== MARKUP_COMPATIBILITY_NAMESPACE4 || range.tag.localName !== "AlternateContent")
|
|
424295
424621
|
return [];
|
|
424296
|
-
return directXmlChildren2(ranges2, range).filter((branch) => branch.tag.namespaceUri ===
|
|
424622
|
+
return directXmlChildren2(ranges2, range).filter((branch) => branch.tag.namespaceUri === MARKUP_COMPATIBILITY_NAMESPACE4 && ["Choice", "Fallback"].includes(branch.tag.localName)).flatMap((branch) => directXmlChildren2(ranges2, branch).filter(isNumberFormat));
|
|
424297
424623
|
}
|
|
424298
424624
|
function readNumberFormatCarriers(children3) {
|
|
424299
424625
|
return children3.filter((child) => readCarrierNumberFormats(child).length > 0);
|
|
@@ -424376,7 +424702,7 @@ function validateNumberingPatch(numbering, abstractNumId, level, patch, numId, c
|
|
|
424376
424702
|
code: "CAPABILITY_UNAVAILABLE",
|
|
424377
424703
|
message: "Cannot replace a numbering carrier with unsupported attributes or content."
|
|
424378
424704
|
});
|
|
424379
|
-
if (carrier.range.tag.namespaceUri !==
|
|
424705
|
+
if (carrier.range.tag.namespaceUri !== MARKUP_COMPATIBILITY_NAMESPACE4) {
|
|
424380
424706
|
if (hasUnsupportedNumberFormatMarkup(carrier.range, levelXml))
|
|
424381
424707
|
return unsupported4();
|
|
424382
424708
|
continue;
|
|
@@ -424388,7 +424714,7 @@ function validateNumberingPatch(numbering, abstractNumId, level, patch, numId, c
|
|
|
424388
424714
|
const properties3 = directXmlChildren2(carrier.ranges, branch);
|
|
424389
424715
|
const choice = branch.tag.localName === "Choice";
|
|
424390
424716
|
const requires = branch.tag.attributes.find((attr5) => attr5.namespaceUri === "" && attr5.localName === "Requires");
|
|
424391
|
-
return branch.tag.namespaceUri !==
|
|
424717
|
+
return branch.tag.namespaceUri !== MARKUP_COMPATIBILITY_NAMESPACE4 || !["Choice", "Fallback"].includes(branch.tag.localName) || properties3.length !== 1 || choice && !supportsNumberingChoice(requires?.value, new Map(Object.entries(branch.namespaceBindings))) || branch.tag.attributes.some((attr5) => attr5.namespaceUri !== XMLNS_NAMESPACE3 && !(choice && attr5 === requires)) || hasNonWhitespaceXmlGaps(levelXml, branch, properties3) || !isWordprocessingNamespace(properties3[0]?.tag.namespaceUri ?? "") || properties3[0]?.tag.localName !== "numFmt" || hasUnsupportedNumberFormatMarkup(properties3[0], levelXml);
|
|
424392
424718
|
}))
|
|
424393
424719
|
return unsupported4();
|
|
424394
424720
|
}
|
|
@@ -424638,7 +424964,7 @@ function preserveCopiedLevelCompatibility(levelXml, sourceOpenTags) {
|
|
|
424638
424964
|
continue;
|
|
424639
424965
|
bindings2 = tag.namespaceBindings;
|
|
424640
424966
|
sourceLevel = tag;
|
|
424641
|
-
const attributes = tag.attributes.filter((attribute2) => attribute2.namespaceUri ===
|
|
424967
|
+
const attributes = tag.attributes.filter((attribute2) => attribute2.namespaceUri === MARKUP_COMPATIBILITY_NAMESPACE4);
|
|
424642
424968
|
const resolve2 = (value3, qualified) => value3.trim().split(/\s+/).filter(Boolean).flatMap((token) => {
|
|
424643
424969
|
const colon = qualified ? token.indexOf(":") : -1;
|
|
424644
424970
|
const prefix2 = colon < 0 ? qualified ? "" : token : token.slice(0, colon);
|
|
@@ -424689,7 +425015,7 @@ function preserveCopiedLevelCompatibility(levelXml, sourceOpenTags) {
|
|
|
424689
425015
|
for (const [name, policy] of policies) {
|
|
424690
425016
|
if (!policy.size)
|
|
424691
425017
|
continue;
|
|
424692
|
-
const existing = sourceLevel.attributes.find((attribute2) => attribute2.namespaceUri ===
|
|
425018
|
+
const existing = sourceLevel.attributes.find((attribute2) => attribute2.namespaceUri === MARKUP_COMPATIBILITY_NAMESPACE4 && attribute2.localName === name);
|
|
424693
425019
|
const value3 = [...policy.values()].map((entry) => {
|
|
424694
425020
|
const prefix2 = prefixFor(entry.namespaceUri, entry.prefix);
|
|
424695
425021
|
return entry.localName === null ? prefix2 : `${prefix2}:${entry.localName}`;
|
|
@@ -424699,7 +425025,7 @@ function preserveCopiedLevelCompatibility(levelXml, sourceOpenTags) {
|
|
|
424699
425025
|
continue;
|
|
424700
425026
|
nextOpen = replaceNumberingAttribute(nextOpen, existing.name, value3);
|
|
424701
425027
|
} else {
|
|
424702
|
-
const prefix2 = prefixFor(
|
|
425028
|
+
const prefix2 = prefixFor(MARKUP_COMPATIBILITY_NAMESPACE4, "mc");
|
|
424703
425029
|
newAttributes += ` ${prefix2}:${name}="${escapeXmlAttribute3(value3)}"`;
|
|
424704
425030
|
}
|
|
424705
425031
|
}
|
|
@@ -425035,7 +425361,7 @@ function escapeForRegex2(value3) {
|
|
|
425035
425361
|
function createEmptyLevelXml(level, prefix2 = "w") {
|
|
425036
425362
|
return `<${prefix2}:lvl ${prefix2}:ilvl="${level}"></${prefix2}:lvl>`;
|
|
425037
425363
|
}
|
|
425038
|
-
var NUMBERING_PART_URI5 = "/word/numbering.xml", WORDPROCESSINGML_NAMESPACE7 = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", WORDPROCESSINGML_STRICT_NAMESPACE = "http://purl.oclc.org/ooxml/wordprocessingml/main",
|
|
425364
|
+
var NUMBERING_PART_URI5 = "/word/numbering.xml", WORDPROCESSINGML_NAMESPACE7 = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", WORDPROCESSINGML_STRICT_NAMESPACE = "http://purl.oclc.org/ooxml/wordprocessingml/main", MARKUP_COMPATIBILITY_NAMESPACE4 = "http://schemas.openxmlformats.org/markup-compatibility/2006", XMLNS_NAMESPACE3 = "http://www.w3.org/2000/xmlns/", TE64, TD112;
|
|
425039
425365
|
var init_runtime3 = __esm(() => {
|
|
425040
425366
|
init_src3();
|
|
425041
425367
|
init_src6();
|
|
@@ -473348,7 +473674,7 @@ var init_capability_matrix = __esm(() => {
|
|
|
473348
473674
|
});
|
|
473349
473675
|
});
|
|
473350
473676
|
|
|
473351
|
-
//
|
|
473677
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/map.js
|
|
473352
473678
|
var create = () => new Map, copy = (m) => {
|
|
473353
473679
|
const r = create();
|
|
473354
473680
|
m.forEach((v, k) => {
|
|
@@ -473370,10 +473696,10 @@ var create = () => new Map, copy = (m) => {
|
|
|
473370
473696
|
return false;
|
|
473371
473697
|
};
|
|
473372
473698
|
|
|
473373
|
-
//
|
|
473699
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/set.js
|
|
473374
473700
|
var create2 = () => new Set;
|
|
473375
473701
|
|
|
473376
|
-
//
|
|
473702
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/array.js
|
|
473377
473703
|
var last = (arr) => arr[arr.length - 1], appendTo = (dest, src) => {
|
|
473378
473704
|
for (let i2 = 0;i2 < src.length; i2++) {
|
|
473379
473705
|
dest.push(src[i2]);
|
|
@@ -473391,7 +473717,7 @@ var init_array2 = __esm(() => {
|
|
|
473391
473717
|
isArray = Array.isArray;
|
|
473392
473718
|
});
|
|
473393
473719
|
|
|
473394
|
-
//
|
|
473720
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/observable.js
|
|
473395
473721
|
class ObservableV2 {
|
|
473396
473722
|
constructor() {
|
|
473397
473723
|
this._observers = create();
|
|
@@ -473458,7 +473784,7 @@ var init_observable = __esm(() => {
|
|
|
473458
473784
|
init_array2();
|
|
473459
473785
|
});
|
|
473460
473786
|
|
|
473461
|
-
//
|
|
473787
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/math.js
|
|
473462
473788
|
var floor, abs, min = (a, b) => a < b ? a : b, max2 = (a, b) => a > b ? a : b, pow, isNegativeZero = (n) => n !== 0 ? n < 0 : 1 / n < 0;
|
|
473463
473789
|
var init_math = __esm(() => {
|
|
473464
473790
|
floor = Math.floor;
|
|
@@ -473466,7 +473792,7 @@ var init_math = __esm(() => {
|
|
|
473466
473792
|
pow = Math.pow;
|
|
473467
473793
|
});
|
|
473468
473794
|
|
|
473469
|
-
//
|
|
473795
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/binary.js
|
|
473470
473796
|
var BIT1 = 1, BIT2 = 2, BIT3 = 4, BIT4 = 8, BIT6 = 32, BIT7 = 64, BIT8 = 128, BIT18, BIT19, BIT20, BIT21, BIT22, BIT23, BIT24, BIT25, BIT26, BIT27, BIT28, BIT29, BIT30, BIT31, BIT32, BITS5 = 31, BITS6 = 63, BITS7 = 127, BITS17, BITS18, BITS19, BITS20, BITS21, BITS22, BITS23, BITS24, BITS25, BITS26, BITS27, BITS28, BITS29, BITS30, BITS31 = 2147483647;
|
|
473471
473797
|
var init_binary = __esm(() => {
|
|
473472
473798
|
BIT18 = 1 << 17;
|
|
@@ -473500,7 +473826,7 @@ var init_binary = __esm(() => {
|
|
|
473500
473826
|
BITS30 = BIT31 - 1;
|
|
473501
473827
|
});
|
|
473502
473828
|
|
|
473503
|
-
//
|
|
473829
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/number.js
|
|
473504
473830
|
var MAX_SAFE_INTEGER, MIN_SAFE_INTEGER, LOWEST_INT32, isInteger3;
|
|
473505
473831
|
var init_number2 = __esm(() => {
|
|
473506
473832
|
init_math();
|
|
@@ -473510,7 +473836,7 @@ var init_number2 = __esm(() => {
|
|
|
473510
473836
|
isInteger3 = Number.isInteger || ((num2) => typeof num2 === "number" && isFinite(num2) && floor(num2) === num2);
|
|
473511
473837
|
});
|
|
473512
473838
|
|
|
473513
|
-
//
|
|
473839
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/string.js
|
|
473514
473840
|
var fromCharCode, fromCodePoint, MAX_UTF16_CHARACTER, toLowerCase = (s) => s.toLowerCase(), trimLeftRegex, trimLeft = (s) => s.replace(trimLeftRegex, ""), fromCamelCaseRegex, fromCamelCase = (s, separator) => trimLeft(s.replace(fromCamelCaseRegex, (match) => `${separator}${toLowerCase(match)}`)), _encodeUtf8Polyfill = (str2) => {
|
|
473515
473841
|
const encodedString = unescape(encodeURIComponent(str2));
|
|
473516
473842
|
const len = encodedString.length;
|
|
@@ -473534,7 +473860,7 @@ var init_string2 = __esm(() => {
|
|
|
473534
473860
|
}
|
|
473535
473861
|
});
|
|
473536
473862
|
|
|
473537
|
-
//
|
|
473863
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/encoding.js
|
|
473538
473864
|
class Encoder {
|
|
473539
473865
|
constructor() {
|
|
473540
473866
|
this.cpos = 0;
|
|
@@ -473800,14 +474126,14 @@ var init_encoding = __esm(() => {
|
|
|
473800
474126
|
};
|
|
473801
474127
|
});
|
|
473802
474128
|
|
|
473803
|
-
//
|
|
474129
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/error.js
|
|
473804
474130
|
var create3 = (s) => new Error(s), methodUnimplemented = () => {
|
|
473805
474131
|
throw create3("Method unimplemented");
|
|
473806
474132
|
}, unexpectedCase = () => {
|
|
473807
474133
|
throw create3("Unexpected case");
|
|
473808
474134
|
};
|
|
473809
474135
|
|
|
473810
|
-
//
|
|
474136
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/decoding.js
|
|
473811
474137
|
class Decoder {
|
|
473812
474138
|
constructor(uint8Array) {
|
|
473813
474139
|
this.arr = uint8Array;
|
|
@@ -473998,7 +474324,7 @@ var init_decoding = __esm(() => {
|
|
|
473998
474324
|
};
|
|
473999
474325
|
});
|
|
474000
474326
|
|
|
474001
|
-
//
|
|
474327
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/webcrypto.node.js
|
|
474002
474328
|
import { webcrypto } from "node:crypto";
|
|
474003
474329
|
var subtle, getRandomValues;
|
|
474004
474330
|
var init_webcrypto_node = __esm(() => {
|
|
@@ -474006,29 +474332,29 @@ var init_webcrypto_node = __esm(() => {
|
|
|
474006
474332
|
getRandomValues = webcrypto.getRandomValues.bind(webcrypto);
|
|
474007
474333
|
});
|
|
474008
474334
|
|
|
474009
|
-
//
|
|
474335
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/random.js
|
|
474010
474336
|
var uint322 = () => getRandomValues(new Uint32Array(1))[0], uuidv4Template, uuidv42 = () => uuidv4Template.replace(/[018]/g, (c) => (c ^ uint322() & 15 >> c / 4).toString(16));
|
|
474011
474337
|
var init_random = __esm(() => {
|
|
474012
474338
|
init_webcrypto_node();
|
|
474013
474339
|
uuidv4Template = [1e7] + -1000 + -4000 + -8000 + -100000000000;
|
|
474014
474340
|
});
|
|
474015
474341
|
|
|
474016
|
-
//
|
|
474342
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/time.js
|
|
474017
474343
|
var getUnixTime;
|
|
474018
474344
|
var init_time = __esm(() => {
|
|
474019
474345
|
getUnixTime = Date.now;
|
|
474020
474346
|
});
|
|
474021
474347
|
|
|
474022
|
-
//
|
|
474348
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/promise.js
|
|
474023
474349
|
var create4 = (f) => new Promise(f), all2;
|
|
474024
474350
|
var init_promise2 = __esm(() => {
|
|
474025
474351
|
all2 = Promise.all.bind(Promise);
|
|
474026
474352
|
});
|
|
474027
474353
|
|
|
474028
|
-
//
|
|
474354
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/conditions.js
|
|
474029
474355
|
var undefinedToNull = (v) => v === undefined ? null : v;
|
|
474030
474356
|
|
|
474031
|
-
//
|
|
474357
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/storage.js
|
|
474032
474358
|
class VarStoragePolyfill {
|
|
474033
474359
|
constructor() {
|
|
474034
474360
|
this.map = new Map;
|
|
@@ -474052,13 +474378,13 @@ var init_storage = __esm(() => {
|
|
|
474052
474378
|
varStorage = _localStorage;
|
|
474053
474379
|
});
|
|
474054
474380
|
|
|
474055
|
-
//
|
|
474381
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/trait/equality.js
|
|
474056
474382
|
var EqualityTraitSymbol, equals = (a, b) => a === b || !!a?.[EqualityTraitSymbol]?.(b) || false;
|
|
474057
474383
|
var init_equality = __esm(() => {
|
|
474058
474384
|
EqualityTraitSymbol = Symbol("Equality");
|
|
474059
474385
|
});
|
|
474060
474386
|
|
|
474061
|
-
//
|
|
474387
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/object.js
|
|
474062
474388
|
var assign, keys, forEach = (obj, f) => {
|
|
474063
474389
|
for (const key3 in obj) {
|
|
474064
474390
|
f(obj[key3], key3);
|
|
@@ -474097,7 +474423,7 @@ var init_object2 = __esm(() => {
|
|
|
474097
474423
|
freeze = Object.freeze;
|
|
474098
474424
|
});
|
|
474099
474425
|
|
|
474100
|
-
//
|
|
474426
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/function.js
|
|
474101
474427
|
var callAll = (fs, args, i2 = 0) => {
|
|
474102
474428
|
try {
|
|
474103
474429
|
for (;i2 < fs.length; i2++) {
|
|
@@ -474186,7 +474512,7 @@ var init_function = __esm(() => {
|
|
|
474186
474512
|
init_equality();
|
|
474187
474513
|
});
|
|
474188
474514
|
|
|
474189
|
-
//
|
|
474515
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/environment.js
|
|
474190
474516
|
var isNode, isBrowser, isMac, params, args, computeParams = () => {
|
|
474191
474517
|
if (params === undefined) {
|
|
474192
474518
|
if (isNode) {
|
|
@@ -474240,7 +474566,7 @@ var init_environment = __esm(() => {
|
|
|
474240
474566
|
supportsColor = forceColor || !hasParam2("--no-colors") && !hasConf("no-color") && (!isNode || process.stdout.isTTY) && (!isNode || hasParam2("--color") || getVariable("COLORTERM") !== null || (getVariable("TERM") || "").includes("color"));
|
|
474241
474567
|
});
|
|
474242
474568
|
|
|
474243
|
-
//
|
|
474569
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/buffer.js
|
|
474244
474570
|
var createUint8ArrayFromLen = (len) => new Uint8Array(len), createUint8ArrayViewFromArrayBuffer = (buffer, byteOffset, length2) => new Uint8Array(buffer, byteOffset, length2), createUint8ArrayFromArrayBuffer = (buffer) => new Uint8Array(buffer), toBase64Browser = (bytes) => {
|
|
474245
474571
|
let s = "";
|
|
474246
474572
|
for (let i2 = 0;i2 < bytes.byteLength; i2++) {
|
|
@@ -474269,13 +474595,13 @@ var init_buffer = __esm(() => {
|
|
|
474269
474595
|
fromBase64 = isBrowser ? fromBase64Browser : fromBase64Node;
|
|
474270
474596
|
});
|
|
474271
474597
|
|
|
474272
|
-
//
|
|
474598
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/symbol.js
|
|
474273
474599
|
var create5;
|
|
474274
474600
|
var init_symbol = __esm(() => {
|
|
474275
474601
|
create5 = Symbol;
|
|
474276
474602
|
});
|
|
474277
474603
|
|
|
474278
|
-
//
|
|
474604
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/logging.common.js
|
|
474279
474605
|
var BOLD, UNBOLD, BLUE, GREY, GREEN, RED, PURPLE, ORANGE, UNCOLOR, computeNoColorLoggingArgs = (args2) => {
|
|
474280
474606
|
if (args2.length === 1 && args2[0]?.constructor === Function) {
|
|
474281
474607
|
args2 = args2[0]();
|
|
@@ -474319,7 +474645,7 @@ var init_logging_common = __esm(() => {
|
|
|
474319
474645
|
lastLoggingTime = getUnixTime();
|
|
474320
474646
|
});
|
|
474321
474647
|
|
|
474322
|
-
//
|
|
474648
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/logging.node.js
|
|
474323
474649
|
var _nodeStyleMap, computeNodeLoggingArgs = (args2) => {
|
|
474324
474650
|
if (args2.length === 1 && args2[0]?.constructor === Function) {
|
|
474325
474651
|
args2 = args2[0]();
|
|
@@ -474376,7 +474702,7 @@ var init_logging_node = __esm(() => {
|
|
|
474376
474702
|
computeLoggingArgs = supportsColor ? computeNodeLoggingArgs : computeNoColorLoggingArgs;
|
|
474377
474703
|
});
|
|
474378
474704
|
|
|
474379
|
-
//
|
|
474705
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/iterator.js
|
|
474380
474706
|
var createIterator = (next) => ({
|
|
474381
474707
|
[Symbol.iterator]() {
|
|
474382
474708
|
return this;
|
|
@@ -474393,7 +474719,7 @@ var createIterator = (next) => ({
|
|
|
474393
474719
|
return { done, value: done ? undefined : fmap(value3) };
|
|
474394
474720
|
});
|
|
474395
474721
|
|
|
474396
|
-
//
|
|
474722
|
+
// ../../node_modules/.pnpm/yjs@13.6.31/node_modules/yjs/dist/yjs.mjs
|
|
474397
474723
|
class DeleteItem {
|
|
474398
474724
|
constructor(clock, len) {
|
|
474399
474725
|
this.clock = clock;
|
|
@@ -479136,7 +479462,7 @@ var init_yjs = __esm(() => {
|
|
|
479136
479462
|
glo[importIdentifier] = true;
|
|
479137
479463
|
});
|
|
479138
479464
|
|
|
479139
|
-
//
|
|
479465
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/broadcastchannel.js
|
|
479140
479466
|
class LocalStoragePolyfill {
|
|
479141
479467
|
constructor(room) {
|
|
479142
479468
|
this.room = room;
|
|
@@ -479182,7 +479508,7 @@ var init_broadcastchannel = __esm(() => {
|
|
|
479182
479508
|
BC = typeof BroadcastChannel === "undefined" ? LocalStoragePolyfill : BroadcastChannel;
|
|
479183
479509
|
});
|
|
479184
479510
|
|
|
479185
|
-
//
|
|
479511
|
+
// ../../node_modules/.pnpm/y-protocols@1.0.7_yjs@13.6.31/node_modules/y-protocols/sync.js
|
|
479186
479512
|
var messageYjsSyncStep1 = 0, messageYjsSyncStep2 = 1, messageYjsUpdate = 2, writeSyncStep1 = (encoder7, doc2) => {
|
|
479187
479513
|
writeVarUint(encoder7, messageYjsSyncStep1);
|
|
479188
479514
|
const sv = encodeStateVector(doc2);
|
|
@@ -479225,7 +479551,7 @@ var init_sync = __esm(() => {
|
|
|
479225
479551
|
readUpdate = readSyncStep2;
|
|
479226
479552
|
});
|
|
479227
479553
|
|
|
479228
|
-
//
|
|
479554
|
+
// ../../node_modules/.pnpm/y-protocols@1.0.7_yjs@13.6.31/node_modules/y-protocols/auth.js
|
|
479229
479555
|
var messagePermissionDenied = 0, readAuthMessage = (decoder14, y, permissionDeniedHandler) => {
|
|
479230
479556
|
switch (readVarUint(decoder14)) {
|
|
479231
479557
|
case messagePermissionDenied:
|
|
@@ -479236,7 +479562,7 @@ var init_auth = __esm(() => {
|
|
|
479236
479562
|
init_decoding();
|
|
479237
479563
|
});
|
|
479238
479564
|
|
|
479239
|
-
//
|
|
479565
|
+
// ../../node_modules/.pnpm/y-protocols@1.0.7_yjs@13.6.31/node_modules/y-protocols/awareness.js
|
|
479240
479566
|
var outdatedTimeout = 30000, Awareness, removeAwarenessStates = (awareness, clients, origin) => {
|
|
479241
479567
|
const removed = [];
|
|
479242
479568
|
for (let i2 = 0;i2 < clients.length; i2++) {
|
|
@@ -479419,13 +479745,13 @@ var init_awareness = __esm(() => {
|
|
|
479419
479745
|
};
|
|
479420
479746
|
});
|
|
479421
479747
|
|
|
479422
|
-
//
|
|
479748
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/url.js
|
|
479423
479749
|
var encodeQueryParams = (params2) => map3(params2, (val, key3) => `${encodeURIComponent(key3)}=${encodeURIComponent(val)}`).join("&");
|
|
479424
479750
|
var init_url = __esm(() => {
|
|
479425
479751
|
init_object2();
|
|
479426
479752
|
});
|
|
479427
479753
|
|
|
479428
|
-
//
|
|
479754
|
+
// ../../node_modules/.pnpm/y-websocket@3.0.0_yjs@13.6.31/node_modules/y-websocket/src/y-websocket.js
|
|
479429
479755
|
var messageSync = 0, messageQueryAwareness = 3, messageAwareness = 1, messageAuth = 2, messageHandlers, messageReconnectTimeout = 30000, permissionDeniedHandler = (provider, reason) => console.warn(`Permission denied to access ${provider.url}.
|
|
479430
479756
|
${reason}`), readMessage = (provider, buf, emitSynced) => {
|
|
479431
479757
|
const decoder14 = createDecoder(buf);
|
|
@@ -480262,7 +480588,7 @@ var init_y_websocket_single_doc = __esm(() => {
|
|
|
480262
480588
|
init_runtime4();
|
|
480263
480589
|
});
|
|
480264
480590
|
|
|
480265
|
-
//
|
|
480591
|
+
// ../../node_modules/.pnpm/@hocuspocus+common@2.15.3/node_modules/@hocuspocus/common/dist/hocuspocus-common.esm.js
|
|
480266
480592
|
var floor2, min2 = (a, b) => a < b ? a : b, max3 = (a, b) => a > b ? a : b, BIT82 = 128, BITS72 = 127, MAX_SAFE_INTEGER2, _encodeUtf8Polyfill2 = (str2) => {
|
|
480267
480593
|
const encodedString = unescape(encodeURIComponent(str2));
|
|
480268
480594
|
const len = encodedString.length;
|
|
@@ -480421,7 +480747,7 @@ var init_hocuspocus_common_esm = __esm(() => {
|
|
|
480421
480747
|
})(WsReadyStates || (WsReadyStates = {}));
|
|
480422
480748
|
});
|
|
480423
480749
|
|
|
480424
|
-
//
|
|
480750
|
+
// ../../node_modules/.pnpm/@lifeomic+attempt@3.1.0/node_modules/@lifeomic/attempt/dist/src/index.js
|
|
480425
480751
|
var require_src2 = __commonJS((exports) => {
|
|
480426
480752
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
480427
480753
|
exports.retry = exports.defaultCalculateDelay = exports.sleep = undefined;
|
|
@@ -480566,7 +480892,7 @@ var require_src2 = __commonJS((exports) => {
|
|
|
480566
480892
|
exports.retry = retry;
|
|
480567
480893
|
});
|
|
480568
480894
|
|
|
480569
|
-
//
|
|
480895
|
+
// ../../node_modules/.pnpm/@hocuspocus+provider@2.15.3_y-protocols@1.0.7_yjs@13.6.31__yjs@13.6.31/node_modules/@hocuspocus/provider/dist/hocuspocus-provider.esm.js
|
|
480570
480896
|
class VarStoragePolyfill2 {
|
|
480571
480897
|
constructor() {
|
|
480572
480898
|
this.map = new Map;
|
|
@@ -482481,7 +482807,7 @@ var init_hocuspocus_single_doc = __esm(() => {
|
|
|
482481
482807
|
};
|
|
482482
482808
|
});
|
|
482483
482809
|
|
|
482484
|
-
//
|
|
482810
|
+
// ../../node_modules/.pnpm/@liveblocks+core@3.15.5_@types+json-schema@7.0.15/node_modules/@liveblocks/core/dist/index.js
|
|
482485
482811
|
function error49(msg) {
|
|
482486
482812
|
if (false) {} else {
|
|
482487
482813
|
throw new Error(msg);
|
|
@@ -491453,7 +491779,7 @@ var init_dist6 = __esm(() => {
|
|
|
491453
491779
|
detectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);
|
|
491454
491780
|
});
|
|
491455
491781
|
|
|
491456
|
-
//
|
|
491782
|
+
// ../../node_modules/.pnpm/@liveblocks+client@3.15.5_@types+json-schema@7.0.15/node_modules/@liveblocks/client/dist/index.js
|
|
491457
491783
|
var PKG_NAME2 = "@liveblocks/client", PKG_VERSION2 = "3.15.5", PKG_FORMAT2 = "esm";
|
|
491458
491784
|
var init_dist7 = __esm(() => {
|
|
491459
491785
|
init_dist6();
|
|
@@ -491461,7 +491787,7 @@ var init_dist7 = __esm(() => {
|
|
|
491461
491787
|
detectDupes(PKG_NAME2, PKG_VERSION2, PKG_FORMAT2);
|
|
491462
491788
|
});
|
|
491463
491789
|
|
|
491464
|
-
//
|
|
491790
|
+
// ../../node_modules/.pnpm/js-base64@3.7.8/node_modules/js-base64/base64.mjs
|
|
491465
491791
|
var version2 = "3.7.8", VERSION2, _hasBuffer, _TD, _TE, b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", b64chs, b64tab, b64re, _fromCC, _U8Afrom, _mkUriSafe = (src) => src.replace(/=/g, "").replace(/[+\/]/g, (m0) => m0 == "+" ? "-" : "_"), _tidyB64 = (s) => s.replace(/[^A-Za-z0-9\+\/]/g, ""), btoaPolyfill = (bin) => {
|
|
491466
491792
|
let u32, c0, c1, c2, asc = "";
|
|
491467
491793
|
const pad = bin.length % 3;
|
|
@@ -491605,7 +491931,7 @@ var init_base64 = __esm(() => {
|
|
|
491605
491931
|
};
|
|
491606
491932
|
});
|
|
491607
491933
|
|
|
491608
|
-
//
|
|
491934
|
+
// ../../node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/indexeddb.js
|
|
491609
491935
|
var rtop = (request) => create4((resolve2, reject2) => {
|
|
491610
491936
|
request.onerror = (event) => reject2(new Error(event.target.error));
|
|
491611
491937
|
request.onsuccess = (event) => resolve2(event.target.result);
|
|
@@ -491643,7 +491969,7 @@ var init_indexeddb = __esm(() => {
|
|
|
491643
491969
|
init_promise2();
|
|
491644
491970
|
});
|
|
491645
491971
|
|
|
491646
|
-
//
|
|
491972
|
+
// ../../node_modules/.pnpm/y-indexeddb@9.0.12_yjs@13.6.31/node_modules/y-indexeddb/src/y-indexeddb.js
|
|
491647
491973
|
var customStoreName = "custom", updatesStoreName = "updates", PREFERRED_TRIM_SIZE = 500, fetchUpdates = (idbPersistence, beforeApplyUpdatesCallback = () => {}, afterApplyUpdatesCallback = () => {}) => {
|
|
491648
491974
|
const [updatesStore] = transact2(idbPersistence.db, [updatesStoreName]);
|
|
491649
491975
|
return getAll(updatesStore, createIDBKeyRangeLowerBound(idbPersistence._dbref, false)).then((updates) => {
|
|
@@ -491755,7 +492081,7 @@ var init_y_indexeddb = __esm(() => {
|
|
|
491755
492081
|
};
|
|
491756
492082
|
});
|
|
491757
492083
|
|
|
491758
|
-
//
|
|
492084
|
+
// ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/utils.js
|
|
491759
492085
|
function isBytes(a) {
|
|
491760
492086
|
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
|
|
491761
492087
|
}
|
|
@@ -491815,7 +492141,7 @@ var init_utils = __esm(() => {
|
|
|
491815
492141
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
491816
492142
|
});
|
|
491817
492143
|
|
|
491818
|
-
//
|
|
492144
|
+
// ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_md.js
|
|
491819
492145
|
function setBigUint64(view, byteOffset, value3, isLE) {
|
|
491820
492146
|
if (typeof view.setBigUint64 === "function")
|
|
491821
492147
|
return view.setBigUint64(byteOffset, value3, isLE);
|
|
@@ -491939,7 +492265,7 @@ var init__md = __esm(() => {
|
|
|
491939
492265
|
]);
|
|
491940
492266
|
});
|
|
491941
492267
|
|
|
491942
|
-
//
|
|
492268
|
+
// ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.js
|
|
491943
492269
|
var SHA256_K, SHA256_W, SHA256, sha256;
|
|
491944
492270
|
var init_sha2 = __esm(() => {
|
|
491945
492271
|
init__md();
|
|
@@ -492083,7 +492409,7 @@ var init_sha2 = __esm(() => {
|
|
|
492083
492409
|
sha256 = /* @__PURE__ */ createHasher(() => new SHA256);
|
|
492084
492410
|
});
|
|
492085
492411
|
|
|
492086
|
-
//
|
|
492412
|
+
// ../../node_modules/.pnpm/@liveblocks+yjs@3.15.5_@types+json-schema@7.0.15_yjs@13.6.31/node_modules/@liveblocks/yjs/dist/index.js
|
|
492087
492413
|
var PKG_NAME3 = "@liveblocks/yjs", PKG_VERSION3 = "3.15.5", PKG_FORMAT3 = "esm", create9 = () => /* @__PURE__ */ new Map, setIfUndefined3 = (map5, key3, createT) => {
|
|
492088
492414
|
let set3 = map5.get(key3);
|
|
492089
492415
|
if (set3 === undefined) {
|
|
@@ -495416,6 +495742,7 @@ var init_constants4 = __esm(() => {
|
|
|
495416
495742
|
paragraphInsertBoundaryPrefix: "paragraphInsertBoundary:",
|
|
495417
495743
|
replacementSource: "replacementSource",
|
|
495418
495744
|
sourceEnvelope: "sourceEnvelope",
|
|
495745
|
+
deflatedSource: "deflatedSource",
|
|
495419
495746
|
seedComplete: CONTENT_UNIT_META_KEY.seedComplete,
|
|
495420
495747
|
lastEditActorType: "lastEditActorType"
|
|
495421
495748
|
});
|
|
@@ -497248,40 +497575,8 @@ var init_table_structural_refs = __esm(() => {
|
|
|
497248
497575
|
});
|
|
497249
497576
|
|
|
497250
497577
|
// ../../../v2/collaboration-v2/dist/ooxml-namespaces.js
|
|
497251
|
-
|
|
497252
|
-
|
|
497253
|
-
for (const match of xml.matchAll(XML_PREFIX_USE))
|
|
497254
|
-
prefixes.add(match[1] ?? match[2]);
|
|
497255
|
-
prefixes.delete("xmlns");
|
|
497256
|
-
prefixes.delete("xml");
|
|
497257
|
-
return prefixes;
|
|
497258
|
-
}
|
|
497259
|
-
var XML_PREFIX_USE, KNOWN_OOXML_NAMESPACES;
|
|
497260
|
-
var init_ooxml_namespaces = __esm(() => {
|
|
497261
|
-
XML_PREFIX_USE = /<\/?([A-Za-z_][\w.-]*):|\s([A-Za-z_][\w.-]*):[\w.-]+\s*=/g;
|
|
497262
|
-
KNOWN_OOXML_NAMESPACES = new Map([
|
|
497263
|
-
["w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"],
|
|
497264
|
-
["w14", "http://schemas.microsoft.com/office/word/2010/wordml"],
|
|
497265
|
-
["w15", "http://schemas.microsoft.com/office/word/2012/wordml"],
|
|
497266
|
-
["w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex"],
|
|
497267
|
-
["w16cid", "http://schemas.microsoft.com/office/word/2016/wordml/cid"],
|
|
497268
|
-
["mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"],
|
|
497269
|
-
["r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"],
|
|
497270
|
-
["m", "http://schemas.openxmlformats.org/officeDocument/2006/math"],
|
|
497271
|
-
["wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"],
|
|
497272
|
-
["a", "http://schemas.openxmlformats.org/drawingml/2006/main"],
|
|
497273
|
-
["pic", "http://schemas.openxmlformats.org/drawingml/2006/picture"],
|
|
497274
|
-
["v", "urn:schemas-microsoft-com:vml"],
|
|
497275
|
-
["o", "urn:schemas-microsoft-com:office:office"],
|
|
497276
|
-
["w10", "urn:schemas-microsoft-com:office:word"],
|
|
497277
|
-
["wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"],
|
|
497278
|
-
["wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"],
|
|
497279
|
-
["wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"],
|
|
497280
|
-
["wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"],
|
|
497281
|
-
["a14", "http://schemas.microsoft.com/office/drawing/2010/main"],
|
|
497282
|
-
["c", "http://schemas.openxmlformats.org/drawingml/2006/chart"],
|
|
497283
|
-
["dgm", "http://schemas.openxmlformats.org/drawingml/2006/diagram"]
|
|
497284
|
-
]);
|
|
497578
|
+
var init_ooxml_namespaces2 = __esm(() => {
|
|
497579
|
+
init_sd_document_session_internal();
|
|
497285
497580
|
});
|
|
497286
497581
|
|
|
497287
497582
|
// ../../../v2/collaboration-v2/dist/story-shard/repair-table-ownership.js
|
|
@@ -497396,7 +497691,7 @@ function deriveTableRefs(blocks, trailingXml, storyId) {
|
|
|
497396
497691
|
}
|
|
497397
497692
|
body2.push(trailingXml);
|
|
497398
497693
|
const prefixes = new Set(["w", "w14", ...usedXmlPrefixes(body2.join(""))]);
|
|
497399
|
-
const declarations = [...prefixes].map((prefix2) => ` xmlns:${prefix2}="${KNOWN_OOXML_NAMESPACES.get(prefix2) ??
|
|
497694
|
+
const declarations = [...prefixes].map((prefix2) => ` xmlns:${prefix2}="${KNOWN_OOXML_NAMESPACES.get(prefix2) ?? undeclaredNamespaceUri(prefix2)}"`).join("");
|
|
497400
497695
|
const head = `<w:document${declarations}><w:body>`;
|
|
497401
497696
|
const paragraphs2 = [];
|
|
497402
497697
|
let byteOffset = TEXT_ENCODER5.encode(head).length;
|
|
@@ -497422,7 +497717,7 @@ var init_repair_table_ownership = __esm(() => {
|
|
|
497422
497717
|
init_content_control_groups();
|
|
497423
497718
|
init_scope3();
|
|
497424
497719
|
init_table_structural_refs();
|
|
497425
|
-
|
|
497720
|
+
init_ooxml_namespaces2();
|
|
497426
497721
|
REF_KEYS = ["tableNodeId", "rowNodeId", "cellNodeId"];
|
|
497427
497722
|
TABLE_TAG = /<(\/?)[\w.-]+:tbl(?=[\s>/])[^>]*>/g;
|
|
497428
497723
|
TEXT_ENCODER5 = new TextEncoder;
|
|
@@ -498950,6 +499245,122 @@ var init_mutations = __esm(() => {
|
|
|
498950
499245
|
});
|
|
498951
499246
|
});
|
|
498952
499247
|
|
|
499248
|
+
// ../../../v2/collaboration-v2/dist/projection/canonical.js
|
|
499249
|
+
function canonicalJson2(value3) {
|
|
499250
|
+
return encodeValue(value3);
|
|
499251
|
+
}
|
|
499252
|
+
function encodeValue(value3) {
|
|
499253
|
+
if (value3 === null)
|
|
499254
|
+
return "null";
|
|
499255
|
+
if (typeof value3 === "number") {
|
|
499256
|
+
if (!Number.isFinite(value3)) {
|
|
499257
|
+
throw new Error("canonicalJson does not accept non-finite numbers");
|
|
499258
|
+
}
|
|
499259
|
+
return Object.is(value3, -0) ? "0" : String(value3);
|
|
499260
|
+
}
|
|
499261
|
+
if (typeof value3 === "boolean")
|
|
499262
|
+
return value3 ? "true" : "false";
|
|
499263
|
+
if (typeof value3 === "string")
|
|
499264
|
+
return JSON.stringify(value3);
|
|
499265
|
+
if (Array.isArray(value3)) {
|
|
499266
|
+
return "[" + value3.map((entry) => encodeValue(entry)).join(",") + "]";
|
|
499267
|
+
}
|
|
499268
|
+
if (value3 instanceof Uint8Array) {
|
|
499269
|
+
return JSON.stringify(bytesToHex(value3));
|
|
499270
|
+
}
|
|
499271
|
+
if (typeof value3 === "object") {
|
|
499272
|
+
const obj = value3;
|
|
499273
|
+
const keys3 = Object.keys(obj).sort();
|
|
499274
|
+
const parts = [];
|
|
499275
|
+
for (const key3 of keys3) {
|
|
499276
|
+
const child = obj[key3];
|
|
499277
|
+
if (child === undefined)
|
|
499278
|
+
continue;
|
|
499279
|
+
parts.push(JSON.stringify(key3) + ":" + encodeValue(child));
|
|
499280
|
+
}
|
|
499281
|
+
return "{" + parts.join(",") + "}";
|
|
499282
|
+
}
|
|
499283
|
+
if (typeof value3 === "undefined")
|
|
499284
|
+
return "null";
|
|
499285
|
+
throw new Error(`canonicalJson cannot encode value of type ${typeof value3}`);
|
|
499286
|
+
}
|
|
499287
|
+
function bytesToHex(bytes) {
|
|
499288
|
+
let out = "";
|
|
499289
|
+
for (let i2 = 0;i2 < bytes.length; i2 += 1) {
|
|
499290
|
+
out += bytes[i2].toString(16).padStart(2, "0");
|
|
499291
|
+
}
|
|
499292
|
+
return out;
|
|
499293
|
+
}
|
|
499294
|
+
function canonicalDigest(value3) {
|
|
499295
|
+
return sha256Hex2(new TextEncoder().encode(canonicalJson2(value3)));
|
|
499296
|
+
}
|
|
499297
|
+
function xmlEscape(value3) {
|
|
499298
|
+
let out = "";
|
|
499299
|
+
for (let i2 = 0;i2 < value3.length; i2 += 1) {
|
|
499300
|
+
const ch = value3.charCodeAt(i2);
|
|
499301
|
+
switch (ch) {
|
|
499302
|
+
case 38:
|
|
499303
|
+
out += "&";
|
|
499304
|
+
break;
|
|
499305
|
+
case 60:
|
|
499306
|
+
out += "<";
|
|
499307
|
+
break;
|
|
499308
|
+
case 62:
|
|
499309
|
+
out += ">";
|
|
499310
|
+
break;
|
|
499311
|
+
case 34:
|
|
499312
|
+
out += """;
|
|
499313
|
+
break;
|
|
499314
|
+
case 39:
|
|
499315
|
+
out += "'";
|
|
499316
|
+
break;
|
|
499317
|
+
default:
|
|
499318
|
+
out += value3.charAt(i2);
|
|
499319
|
+
}
|
|
499320
|
+
}
|
|
499321
|
+
return out;
|
|
499322
|
+
}
|
|
499323
|
+
var init_canonical = __esm(() => {
|
|
499324
|
+
init_hash();
|
|
499325
|
+
});
|
|
499326
|
+
|
|
499327
|
+
// ../../../v2/collaboration-v2/dist/story-shard/deflated-source.js
|
|
499328
|
+
function writeStoryDeflatedSource(target, sourceXml) {
|
|
499329
|
+
const scope = resolveStoryShardScope(target);
|
|
499330
|
+
scope.meta.set(STORY_META_KEY.deflatedSource, {
|
|
499331
|
+
sourceXml: deflateSync(strToU8(sourceXml)),
|
|
499332
|
+
sourceStoryDigest: canonicalDigest(snapshotStoryShard(scope))
|
|
499333
|
+
});
|
|
499334
|
+
}
|
|
499335
|
+
function readStoryDeflatedSource(value3) {
|
|
499336
|
+
if (typeof value3 !== "object" || value3 === null)
|
|
499337
|
+
return null;
|
|
499338
|
+
const cached2 = INFLATED_SOURCES.get(value3);
|
|
499339
|
+
if (cached2 !== undefined)
|
|
499340
|
+
return cached2;
|
|
499341
|
+
const inflated = inflateStoryDeflatedSource(value3);
|
|
499342
|
+
INFLATED_SOURCES.set(value3, inflated);
|
|
499343
|
+
return inflated;
|
|
499344
|
+
}
|
|
499345
|
+
function inflateStoryDeflatedSource(record3) {
|
|
499346
|
+
if (!(record3.sourceXml instanceof Uint8Array) || typeof record3.sourceStoryDigest !== "string")
|
|
499347
|
+
return null;
|
|
499348
|
+
try {
|
|
499349
|
+
return { sourceXml: strFromU8(inflateSync(record3.sourceXml)), sourceStoryDigest: record3.sourceStoryDigest };
|
|
499350
|
+
} catch {
|
|
499351
|
+
return null;
|
|
499352
|
+
}
|
|
499353
|
+
}
|
|
499354
|
+
var INFLATED_SOURCES;
|
|
499355
|
+
var init_deflated_source = __esm(() => {
|
|
499356
|
+
init_esm2();
|
|
499357
|
+
init_canonical();
|
|
499358
|
+
init_constants4();
|
|
499359
|
+
init_read_view();
|
|
499360
|
+
init_scope3();
|
|
499361
|
+
INFLATED_SOURCES = new WeakMap;
|
|
499362
|
+
});
|
|
499363
|
+
|
|
498953
499364
|
// ../../../v2/collaboration-v2/dist/story-shard/dirty-ranges.js
|
|
498954
499365
|
function observeStoryShard(target, listener) {
|
|
498955
499366
|
const scope = resolveStoryShardScope(target);
|
|
@@ -499226,6 +499637,7 @@ var init_story_shard = __esm(() => {
|
|
|
499226
499637
|
init_repair_table_ownership();
|
|
499227
499638
|
init_mutations();
|
|
499228
499639
|
init_read_view();
|
|
499640
|
+
init_deflated_source();
|
|
499229
499641
|
init_dirty_ranges();
|
|
499230
499642
|
});
|
|
499231
499643
|
|
|
@@ -499521,85 +499933,6 @@ var init_allocator = __esm(() => {
|
|
|
499521
499933
|
});
|
|
499522
499934
|
});
|
|
499523
499935
|
|
|
499524
|
-
// ../../../v2/collaboration-v2/dist/projection/canonical.js
|
|
499525
|
-
function canonicalJson2(value3) {
|
|
499526
|
-
return encodeValue(value3);
|
|
499527
|
-
}
|
|
499528
|
-
function encodeValue(value3) {
|
|
499529
|
-
if (value3 === null)
|
|
499530
|
-
return "null";
|
|
499531
|
-
if (typeof value3 === "number") {
|
|
499532
|
-
if (!Number.isFinite(value3)) {
|
|
499533
|
-
throw new Error("canonicalJson does not accept non-finite numbers");
|
|
499534
|
-
}
|
|
499535
|
-
return Object.is(value3, -0) ? "0" : String(value3);
|
|
499536
|
-
}
|
|
499537
|
-
if (typeof value3 === "boolean")
|
|
499538
|
-
return value3 ? "true" : "false";
|
|
499539
|
-
if (typeof value3 === "string")
|
|
499540
|
-
return JSON.stringify(value3);
|
|
499541
|
-
if (Array.isArray(value3)) {
|
|
499542
|
-
return "[" + value3.map((entry) => encodeValue(entry)).join(",") + "]";
|
|
499543
|
-
}
|
|
499544
|
-
if (value3 instanceof Uint8Array) {
|
|
499545
|
-
return JSON.stringify(bytesToHex(value3));
|
|
499546
|
-
}
|
|
499547
|
-
if (typeof value3 === "object") {
|
|
499548
|
-
const obj = value3;
|
|
499549
|
-
const keys3 = Object.keys(obj).sort();
|
|
499550
|
-
const parts = [];
|
|
499551
|
-
for (const key3 of keys3) {
|
|
499552
|
-
const child = obj[key3];
|
|
499553
|
-
if (child === undefined)
|
|
499554
|
-
continue;
|
|
499555
|
-
parts.push(JSON.stringify(key3) + ":" + encodeValue(child));
|
|
499556
|
-
}
|
|
499557
|
-
return "{" + parts.join(",") + "}";
|
|
499558
|
-
}
|
|
499559
|
-
if (typeof value3 === "undefined")
|
|
499560
|
-
return "null";
|
|
499561
|
-
throw new Error(`canonicalJson cannot encode value of type ${typeof value3}`);
|
|
499562
|
-
}
|
|
499563
|
-
function bytesToHex(bytes) {
|
|
499564
|
-
let out = "";
|
|
499565
|
-
for (let i2 = 0;i2 < bytes.length; i2 += 1) {
|
|
499566
|
-
out += bytes[i2].toString(16).padStart(2, "0");
|
|
499567
|
-
}
|
|
499568
|
-
return out;
|
|
499569
|
-
}
|
|
499570
|
-
function canonicalDigest(value3) {
|
|
499571
|
-
return sha256Hex2(new TextEncoder().encode(canonicalJson2(value3)));
|
|
499572
|
-
}
|
|
499573
|
-
function xmlEscape(value3) {
|
|
499574
|
-
let out = "";
|
|
499575
|
-
for (let i2 = 0;i2 < value3.length; i2 += 1) {
|
|
499576
|
-
const ch = value3.charCodeAt(i2);
|
|
499577
|
-
switch (ch) {
|
|
499578
|
-
case 38:
|
|
499579
|
-
out += "&";
|
|
499580
|
-
break;
|
|
499581
|
-
case 60:
|
|
499582
|
-
out += "<";
|
|
499583
|
-
break;
|
|
499584
|
-
case 62:
|
|
499585
|
-
out += ">";
|
|
499586
|
-
break;
|
|
499587
|
-
case 34:
|
|
499588
|
-
out += """;
|
|
499589
|
-
break;
|
|
499590
|
-
case 39:
|
|
499591
|
-
out += "'";
|
|
499592
|
-
break;
|
|
499593
|
-
default:
|
|
499594
|
-
out += value3.charAt(i2);
|
|
499595
|
-
}
|
|
499596
|
-
}
|
|
499597
|
-
return out;
|
|
499598
|
-
}
|
|
499599
|
-
var init_canonical = __esm(() => {
|
|
499600
|
-
init_hash();
|
|
499601
|
-
});
|
|
499602
|
-
|
|
499603
499936
|
// ../../../v2/collaboration-v2/dist/package-part/source-envelope.js
|
|
499604
499937
|
function packagePartRecordsDigest(target) {
|
|
499605
499938
|
return canonicalDigest(resolvePackagePartScope(target).records.toJSON());
|
|
@@ -506047,7 +506380,8 @@ var init_diagnostics5 = __esm(() => {
|
|
|
506047
506380
|
COLLAB_V2_PROJECTION_SAFETY_REJECTED: "COLLAB_V2_PROJECTION_SAFETY_REJECTED",
|
|
506048
506381
|
COLLAB_V2_PROJECTION_READ_FRESHNESS_UNKNOWN: "COLLAB_V2_PROJECTION_READ_FRESHNESS_UNKNOWN",
|
|
506049
506382
|
COLLAB_V2_PROJECTION_DISPOSED: "COLLAB_V2_PROJECTION_DISPOSED",
|
|
506050
|
-
COLLAB_V2_PROJECTION_CHECKPOINT_CORRUPT: "COLLAB_V2_PROJECTION_CHECKPOINT_CORRUPT"
|
|
506383
|
+
COLLAB_V2_PROJECTION_CHECKPOINT_CORRUPT: "COLLAB_V2_PROJECTION_CHECKPOINT_CORRUPT",
|
|
506384
|
+
COLLAB_V2_PROJECTION_UNDECLARED_NAMESPACE: "COLLAB_V2_PROJECTION_UNDECLARED_NAMESPACE"
|
|
506051
506385
|
};
|
|
506052
506386
|
});
|
|
506053
506387
|
|
|
@@ -507608,135 +507942,6 @@ var init_retained_story = __esm(() => {
|
|
|
507608
507942
|
encoder8 = new TextEncoder;
|
|
507609
507943
|
});
|
|
507610
507944
|
|
|
507611
|
-
// ../../../v2/collaboration-v2/dist/projection/xml-emission-context.js
|
|
507612
|
-
class XmlEmissionContext {
|
|
507613
|
-
constructor(xml, initial = CANONICAL_NAMESPACES) {
|
|
507614
|
-
this.xml = xml;
|
|
507615
|
-
this.initial = initial;
|
|
507616
|
-
this.events = null;
|
|
507617
|
-
this.paragraphs = new Map;
|
|
507618
|
-
this.paragraphsAt = new Map;
|
|
507619
|
-
this.bodyParagraphsAt = new Map;
|
|
507620
|
-
}
|
|
507621
|
-
at(offset) {
|
|
507622
|
-
this.scan();
|
|
507623
|
-
const events = this.events;
|
|
507624
|
-
let low = 0;
|
|
507625
|
-
let high = events.length;
|
|
507626
|
-
while (low < high) {
|
|
507627
|
-
const middle = low + high >>> 1;
|
|
507628
|
-
if (events[middle].offset <= offset)
|
|
507629
|
-
low = middle + 1;
|
|
507630
|
-
else
|
|
507631
|
-
high = middle;
|
|
507632
|
-
}
|
|
507633
|
-
return events[low - 1]?.bindings ?? this.initial;
|
|
507634
|
-
}
|
|
507635
|
-
paragraph(blockId, offset, inherited) {
|
|
507636
|
-
this.scan();
|
|
507637
|
-
const original = (offset == null ? undefined : this.paragraphsAt.get(offset)) ?? this.paragraphs.get(blockId);
|
|
507638
|
-
const parent = inherited ?? original?.inherited ?? (offset == null ? this.initial : this.at(offset));
|
|
507639
|
-
return { inherited: parent, source: original?.source ?? parent };
|
|
507640
|
-
}
|
|
507641
|
-
sourceFor(blockId) {
|
|
507642
|
-
this.scan();
|
|
507643
|
-
return this.paragraphs.get(blockId)?.source;
|
|
507644
|
-
}
|
|
507645
|
-
bodyParagraph(blockId, offset) {
|
|
507646
|
-
this.scan();
|
|
507647
|
-
return this.bodyParagraphsAt.get(offset) === blockId ? this.paragraphsAt.get(offset) : undefined;
|
|
507648
|
-
}
|
|
507649
|
-
scan() {
|
|
507650
|
-
if (this.events)
|
|
507651
|
-
return;
|
|
507652
|
-
const events = [];
|
|
507653
|
-
const stack = [this.initial];
|
|
507654
|
-
const elements2 = [];
|
|
507655
|
-
let paragraphDepth = 0;
|
|
507656
|
-
let paragraphOrdinal = 0;
|
|
507657
|
-
const result = walkXmlElements(this.xml, {
|
|
507658
|
-
fragment: !this.xml.trimStart().startsWith("<?xml"),
|
|
507659
|
-
additionalNamespaces: this.initial,
|
|
507660
|
-
onOpenTag: ({ tag, start, end, namespaceBindings }) => {
|
|
507661
|
-
const inherited = stack[stack.length - 1];
|
|
507662
|
-
const directBody = elements2.length === 2 && elements2[0]?.localName === "document" && elements2[0]?.namespaceUri === WORD_NAMESPACE12 && elements2[1]?.localName === "body" && elements2[1]?.namespaceUri === WORD_NAMESPACE12;
|
|
507663
|
-
elements2.push(tag);
|
|
507664
|
-
stack.push(namespaceBindings);
|
|
507665
|
-
if (namespaceBindings !== inherited)
|
|
507666
|
-
events.push({ offset: end, bindings: namespaceBindings });
|
|
507667
|
-
if (tag.localName !== "p" || tag.namespaceUri !== WORD_NAMESPACE12)
|
|
507668
|
-
return;
|
|
507669
|
-
if (paragraphDepth++ > 0)
|
|
507670
|
-
return;
|
|
507671
|
-
const context = { inherited, source: namespaceBindings };
|
|
507672
|
-
this.paragraphsAt.set(start, context);
|
|
507673
|
-
const id2 = Object.values(tag.attributes).find((attribute3) => attribute3.localName === "paraId" && attribute3.namespaceUri === WORD_2010_NAMESPACE3)?.value;
|
|
507674
|
-
if (directBody && id2)
|
|
507675
|
-
this.bodyParagraphsAt.set(start, id2);
|
|
507676
|
-
this.paragraphs.set(blockIdForParagraphXmlSpan({ paraId: id2 ?? null, ordinal: paragraphOrdinal++ }), context);
|
|
507677
|
-
},
|
|
507678
|
-
onCloseTag: ({ tag, end }) => {
|
|
507679
|
-
if (tag.localName === "p" && tag.namespaceUri === WORD_NAMESPACE12)
|
|
507680
|
-
paragraphDepth -= 1;
|
|
507681
|
-
elements2.pop();
|
|
507682
|
-
const previous3 = stack.pop();
|
|
507683
|
-
const bindings2 = stack[stack.length - 1] ?? this.initial;
|
|
507684
|
-
if (previous3 !== bindings2)
|
|
507685
|
-
events.push({ offset: end, bindings: bindings2 });
|
|
507686
|
-
}
|
|
507687
|
-
});
|
|
507688
|
-
if (result.errors.length)
|
|
507689
|
-
this.bodyParagraphsAt.clear();
|
|
507690
|
-
this.events = events;
|
|
507691
|
-
}
|
|
507692
|
-
}
|
|
507693
|
-
function paragraphEmissionNames(context, preservedXml) {
|
|
507694
|
-
const bindings2 = { ...context.source, ...knownBindingsForUnboundPrefixes(context.source, preservedXml) };
|
|
507695
|
-
const choose = (preferred, namespace) => {
|
|
507696
|
-
if (bindings2[preferred] === namespace && !new RegExp(`xmlns:${preferred}\\s*=`).test(preservedXml))
|
|
507697
|
-
return preferred;
|
|
507698
|
-
const existing = Object.keys(bindings2).sort().find((prefix3) => prefix3.length > 0 && bindings2[prefix3] === namespace && !preservedXml.includes(`xmlns:${prefix3}`));
|
|
507699
|
-
if (existing)
|
|
507700
|
-
return existing;
|
|
507701
|
-
let prefix2 = `sd${preferred}`;
|
|
507702
|
-
for (let suffix = 1;prefix2 in bindings2 || preservedXml.includes(`${prefix2}:`); suffix += 1)
|
|
507703
|
-
prefix2 = `sd${preferred}${suffix}`;
|
|
507704
|
-
bindings2[prefix2] = namespace;
|
|
507705
|
-
return prefix2;
|
|
507706
|
-
};
|
|
507707
|
-
const word6 = choose("w", WORD_NAMESPACE12);
|
|
507708
|
-
const word2010 = choose("w14", WORD_2010_NAMESPACE3);
|
|
507709
|
-
const declarations = Object.entries({ "": "", ...bindings2 }).filter(([prefix2, uri]) => prefix2 !== "xml" && (context.inherited[prefix2] ?? "") !== uri).sort(([left], [right]) => left.localeCompare(right)).map(([prefix2, uri]) => ` xmlns${prefix2 ? `:${prefix2}` : ""}="${xmlEscape(uri)}"`).join("");
|
|
507710
|
-
return { word: word6, word2010, declarations };
|
|
507711
|
-
}
|
|
507712
|
-
function knownBindingsForUnboundPrefixes(bindings2, preservedXml) {
|
|
507713
|
-
const usesUnboundKnownPrefix = [...usedXmlPrefixes(preservedXml)].some((prefix2) => KNOWN_OOXML_NAMESPACES.has(prefix2) && !Object.prototype.hasOwnProperty.call(bindings2, prefix2));
|
|
507714
|
-
if (!usesUnboundKnownPrefix)
|
|
507715
|
-
return {};
|
|
507716
|
-
const recovered = {};
|
|
507717
|
-
const { errors: errors4 } = walkXmlElements(preservedXml, { fragment: true, additionalNamespaces: { ...bindings2 } });
|
|
507718
|
-
for (const error51 of errors4) {
|
|
507719
|
-
const prefix2 = UNBOUND_PREFIX_ERROR.exec(error51)?.[1];
|
|
507720
|
-
if (!prefix2)
|
|
507721
|
-
continue;
|
|
507722
|
-
const namespace = KNOWN_OOXML_NAMESPACES.get(prefix2);
|
|
507723
|
-
if (namespace)
|
|
507724
|
-
recovered[prefix2] = namespace;
|
|
507725
|
-
}
|
|
507726
|
-
return recovered;
|
|
507727
|
-
}
|
|
507728
|
-
var WORD_NAMESPACE12 = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", WORD_2010_NAMESPACE3 = "http://schemas.microsoft.com/office/word/2010/wordml", CANONICAL_NAMESPACES, UNBOUND_PREFIX_ERROR;
|
|
507729
|
-
var init_xml_emission_context = __esm(() => {
|
|
507730
|
-
init_sd_document_session_internal();
|
|
507731
|
-
init_canonical();
|
|
507732
|
-
init_ooxml_namespaces();
|
|
507733
|
-
CANONICAL_NAMESPACES = {
|
|
507734
|
-
w: WORD_NAMESPACE12,
|
|
507735
|
-
w14: WORD_2010_NAMESPACE3
|
|
507736
|
-
};
|
|
507737
|
-
UNBOUND_PREFIX_ERROR = /unbound namespace prefix: "([^"]+)"/;
|
|
507738
|
-
});
|
|
507739
|
-
|
|
507740
507945
|
// ../../../v2/collaboration-v2/dist/projection/package-xml.js
|
|
507741
507946
|
function relsUriForOwnerPart(ownerPartUri) {
|
|
507742
507947
|
if (!ownerPartUri)
|
|
@@ -507830,7 +508035,7 @@ function serializePeopleXml(people) {
|
|
|
507830
508035
|
sb.push("</w15:people>");
|
|
507831
508036
|
return sb.join("");
|
|
507832
508037
|
}
|
|
507833
|
-
function serializeStylesXml(documentDefaults, styles, bootstrap) {
|
|
508038
|
+
function serializeStylesXml(documentDefaults, styles, bootstrap, namespaceEvidence = NO_NAMESPACE_EVIDENCE) {
|
|
507834
508039
|
const sb = [];
|
|
507835
508040
|
const sourceChildren = readXmlChildren(readXmlElement(bootstrap?.sourceXml ?? ""));
|
|
507836
508041
|
const sourceDefaults = sourceChildren.find((child) => child.name === "docDefaults");
|
|
@@ -507859,9 +508064,9 @@ function serializeStylesXml(documentDefaults, styles, bootstrap) {
|
|
|
507859
508064
|
for (const style of [...byId.values()].sort((a, b) => a.styleId < b.styleId ? -1 : a.styleId > b.styleId ? 1 : 0)) {
|
|
507860
508065
|
sb.push(serializeStyle(style));
|
|
507861
508066
|
}
|
|
507862
|
-
return withWordRoot("styles", sb.join(""), bootstrap);
|
|
508067
|
+
return withWordRoot("styles", sb.join(""), bootstrap, namespaceEvidence);
|
|
507863
508068
|
}
|
|
507864
|
-
function serializeNumberingXml(abstracts, nums, bootstrap) {
|
|
508069
|
+
function serializeNumberingXml(abstracts, nums, bootstrap, namespaceEvidence = NO_NAMESPACE_EVIDENCE) {
|
|
507865
508070
|
const sb = [];
|
|
507866
508071
|
const rootOpenTagXml = bootstrap?.rootOpenTagXml ?? `<w:numbering ${WORD_ML_NS}>`;
|
|
507867
508072
|
const rootCloseTagXml = bootstrap?.rootCloseTagXml ?? "</w:numbering>";
|
|
@@ -507906,29 +508111,25 @@ function serializeNumberingXml(abstracts, nums, bootstrap) {
|
|
|
507906
508111
|
}
|
|
507907
508112
|
sb.push("</w:num>");
|
|
507908
508113
|
}
|
|
507909
|
-
return withWordRoot("numbering", sb.join(""), bootstrap);
|
|
508114
|
+
return withWordRoot("numbering", sb.join(""), bootstrap, namespaceEvidence);
|
|
507910
508115
|
}
|
|
507911
|
-
function serializeSettingsXml(settings, bootstrap) {
|
|
507912
|
-
return withWordRoot("settings", settings.opaqueXml || serializeRawFieldSet(settings.fields), bootstrap);
|
|
508116
|
+
function serializeSettingsXml(settings, bootstrap, namespaceEvidence = NO_NAMESPACE_EVIDENCE) {
|
|
508117
|
+
return withWordRoot("settings", settings.opaqueXml || serializeRawFieldSet(settings.fields), bootstrap, namespaceEvidence);
|
|
507913
508118
|
}
|
|
507914
|
-
function serializeWebSettingsXml(settings, bootstrap) {
|
|
507915
|
-
const
|
|
507916
|
-
|
|
507917
|
-
sb.push(bootstrap?.containerOpenTagXml ?? `<w:webSettings ${WORD_ML_NS}>`);
|
|
507918
|
-
if (settings.webOpaqueXml) {
|
|
507919
|
-
sb.push(settings.webOpaqueXml);
|
|
507920
|
-
} else {
|
|
507921
|
-
sb.push(serializeRawFieldSet(settings.webFields));
|
|
507922
|
-
}
|
|
507923
|
-
sb.push(bootstrap?.containerCloseTagXml ?? "</w:webSettings>");
|
|
507924
|
-
return sb.join("");
|
|
508119
|
+
function serializeWebSettingsXml(settings, bootstrap, namespaceEvidence = NO_NAMESPACE_EVIDENCE) {
|
|
508120
|
+
const innerXml = settings.webOpaqueXml || serializeRawFieldSet(settings.webFields);
|
|
508121
|
+
return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + (bootstrap?.containerOpenTagXml ?? generatedWordRootOpenTag("webSettings", innerXml, namespaceEvidence)) + innerXml + (bootstrap?.containerCloseTagXml ?? "</w:webSettings>");
|
|
507925
508122
|
}
|
|
507926
|
-
function withWordRoot(localName3, innerXml, bootstrap) {
|
|
507927
|
-
return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + (bootstrap?.rootOpenTagXml ?? generatedWordRootOpenTag(localName3, innerXml)) + innerXml + (bootstrap?.rootCloseTagXml ?? `</w:${localName3}>`);
|
|
508123
|
+
function withWordRoot(localName3, innerXml, bootstrap, namespaceEvidence) {
|
|
508124
|
+
return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + (bootstrap?.rootOpenTagXml ?? generatedWordRootOpenTag(localName3, innerXml, namespaceEvidence)) + innerXml + (bootstrap?.rootCloseTagXml ?? `</w:${localName3}>`);
|
|
507928
508125
|
}
|
|
507929
|
-
function generatedWordRootOpenTag(localName3, innerXml) {
|
|
507930
|
-
const
|
|
507931
|
-
|
|
508126
|
+
function generatedWordRootOpenTag(localName3, innerXml, evidence) {
|
|
508127
|
+
const plan = planNamespaceBindings(innerXml, { w: WORD_ML_URI }, {
|
|
508128
|
+
fragment: true,
|
|
508129
|
+
evidence,
|
|
508130
|
+
markWordExtensionsIgnorable: true
|
|
508131
|
+
});
|
|
508132
|
+
return `<w:${localName3} ${WORD_ML_NS}${namespacePlanAttributes(plan)}>`;
|
|
507932
508133
|
}
|
|
507933
508134
|
function partKeyToPartName(partKey2) {
|
|
507934
508135
|
if (partKey2.startsWith("/"))
|
|
@@ -508050,8 +508251,6 @@ var WORD_ML_URI = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
|
|
508050
508251
|
var init_package_xml = __esm(() => {
|
|
508051
508252
|
init_sd_document_session_internal();
|
|
508052
508253
|
init_canonical();
|
|
508053
|
-
init_sd_document_session_internal();
|
|
508054
|
-
init_xml_emission_context();
|
|
508055
508254
|
WORD_ML_NS = `xmlns:w="${WORD_ML_URI}"`;
|
|
508056
508255
|
COMMENTS_NS = 'xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"' + ' xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"' + ' xmlns:custom="urn:superdoc:legacy"' + ' xmlns:sdcom="http://superdoc.dev/2024/comments"';
|
|
508057
508256
|
});
|
|
@@ -508371,6 +508570,247 @@ var init_comments_source = __esm(() => {
|
|
|
508371
508570
|
ownedCommentProjections = new WeakMap;
|
|
508372
508571
|
});
|
|
508373
508572
|
|
|
508573
|
+
// ../../../v2/collaboration-v2/dist/projection/older-room-namespaces.js
|
|
508574
|
+
function roomSourcePackageSha256(rootDoc) {
|
|
508575
|
+
const createdFrom = getExistingRootTopLevelMap(rootDoc, ROOT_MAP.meta)?.get(META_KEY.createdFrom);
|
|
508576
|
+
if (!createdFrom || typeof createdFrom !== "object")
|
|
508577
|
+
return null;
|
|
508578
|
+
const sha256Zip = createdFrom.sha256Zip;
|
|
508579
|
+
return typeof sha256Zip === "string" && sha256Zip.length > 0 ? sha256Zip : null;
|
|
508580
|
+
}
|
|
508581
|
+
function roomNamespaceEvidence(rootDoc, registry5) {
|
|
508582
|
+
const opaqueParts = registry5.listPackageParts().filter((handle) => getPartMetaMap(shardReadTarget(handle)).get(PACKAGE_PART_META_KEY.shardKind) === PACKAGE_PART_KIND.opaquePart).map((handle) => ({ target: shardReadTarget(handle), snapshot: readOpaquePart(shardReadTarget(handle)) })).filter(({ snapshot: snapshot3 }) => snapshot3.hasInlineBytes && /\.xml$/i.test(snapshot3.partUri)).sort((left, right) => left.snapshot.partUri < right.snapshot.partUri ? -1 : 1);
|
|
508583
|
+
const key3 = opaqueParts.map(({ snapshot: snapshot3 }) => `${snapshot3.partUri}:${snapshot3.sha256}`).join("|");
|
|
508584
|
+
const cached2 = EVIDENCE_BY_ROOM.get(rootDoc);
|
|
508585
|
+
if (cached2?.key === key3)
|
|
508586
|
+
return cached2.evidence;
|
|
508587
|
+
const evidence = collectNamespaceEvidence(opaqueParts.map(({ target }) => TEXT_DECODER11.decode(readOpaqueInlineBytes(target).subarray(0, ROOT_PREFIX_BYTES))));
|
|
508588
|
+
EVIDENCE_BY_ROOM.set(rootDoc, { key: key3, evidence });
|
|
508589
|
+
return evidence;
|
|
508590
|
+
}
|
|
508591
|
+
function isUnrelatedLocalSource(bootstrap, roomSourceSha256) {
|
|
508592
|
+
return !!roomSourceSha256 && !!bootstrap.sourcePackageSha256 && bootstrap.sourcePackageSha256 !== roomSourceSha256;
|
|
508593
|
+
}
|
|
508594
|
+
function olderRoomStoryBootstrap(rootDoc, storyKind, evidence, content3) {
|
|
508595
|
+
const shape2 = STORY_ROOTS[storyKind];
|
|
508596
|
+
if (!shape2)
|
|
508597
|
+
return;
|
|
508598
|
+
const bindings2 = new Map(evidence.bindings);
|
|
508599
|
+
for (const [prefix2, namespace] of KNOWN_OOXML_NAMESPACES)
|
|
508600
|
+
bindings2.set(prefix2, namespace);
|
|
508601
|
+
const ignorable = [...new Set([...WORD_IGNORABLE_PREFIXES, ...evidence.ignorable])].filter((prefix2) => bindings2.has(prefix2));
|
|
508602
|
+
const recovered = ignorable.filter((prefix2) => !KNOWN_OOXML_NAMESPACES.has(prefix2));
|
|
508603
|
+
const processContent = content3 && recovered.length > 0 ? recoveredWrapperNames(rootDoc, content3, recovered, bindings2) : [];
|
|
508604
|
+
const attributes = [...bindings2.keys()].sort().map((prefix2) => ` xmlns:${prefix2}="${xmlEscape(bindings2.get(prefix2))}"`).join("") + ` mc:Ignorable="${ignorable.join(" ")}"` + (processContent.length > 0 ? ` mc:ProcessContent="${processContent.join(" ")}"` : "");
|
|
508605
|
+
const [rootName, containerName] = shape2;
|
|
508606
|
+
const rootOpenTagXml = `<${rootName}${attributes}>`;
|
|
508607
|
+
const key3 = `${storyKind}\x00${rootOpenTagXml}`;
|
|
508608
|
+
let byKey = STORY_BOOTSTRAPS_BY_ROOM.get(rootDoc);
|
|
508609
|
+
const cached2 = byKey?.get(key3);
|
|
508610
|
+
if (cached2)
|
|
508611
|
+
return cached2;
|
|
508612
|
+
const rootCloseTagXml = `</${rootName}>`;
|
|
508613
|
+
const containerOpenTagXml = containerName ? `<${containerName}>` : null;
|
|
508614
|
+
const containerCloseTagXml = containerName ? `</${containerName}>` : null;
|
|
508615
|
+
const bootstrap = {
|
|
508616
|
+
rootOpenTagXml,
|
|
508617
|
+
rootCloseTagXml,
|
|
508618
|
+
containerOpenTagXml,
|
|
508619
|
+
containerCloseTagXml,
|
|
508620
|
+
sourcePrefixXml: XML_DECLARATION + rootOpenTagXml + (containerOpenTagXml ?? ""),
|
|
508621
|
+
sourceSuffixXml: (containerCloseTagXml ?? "") + rootCloseTagXml
|
|
508622
|
+
};
|
|
508623
|
+
if (!byKey) {
|
|
508624
|
+
byKey = new Map;
|
|
508625
|
+
STORY_BOOTSTRAPS_BY_ROOM.set(rootDoc, byKey);
|
|
508626
|
+
}
|
|
508627
|
+
byKey.set(key3, bootstrap);
|
|
508628
|
+
return bootstrap;
|
|
508629
|
+
}
|
|
508630
|
+
function recoveredWrapperNames(rootDoc, content3, prefixes, bindings2) {
|
|
508631
|
+
const key3 = prefixes.join(" ");
|
|
508632
|
+
let byShard = RECOVERED_WRAPPERS_BY_ROOM.get(rootDoc);
|
|
508633
|
+
const cached2 = byShard?.get(content3.shardId);
|
|
508634
|
+
const previous3 = cached2?.prefixes === key3 ? cached2.names : [];
|
|
508635
|
+
if (cached2?.prefixes === key3 && !content3.rescan)
|
|
508636
|
+
return previous3;
|
|
508637
|
+
const markup = storyPreservedMarkup(content3.snapshot());
|
|
508638
|
+
const found = prefixes.some((prefix2) => markup.includes(`<${prefix2}:`)) ? processContentNames(markup, Object.fromEntries(bindings2), prefixes, { fragment: true }) : [];
|
|
508639
|
+
const names = [...new Set([...previous3, ...found])].sort();
|
|
508640
|
+
if (!byShard) {
|
|
508641
|
+
byShard = new Map;
|
|
508642
|
+
RECOVERED_WRAPPERS_BY_ROOM.set(rootDoc, byShard);
|
|
508643
|
+
}
|
|
508644
|
+
byShard.set(content3.shardId, { prefixes: key3, names });
|
|
508645
|
+
return names;
|
|
508646
|
+
}
|
|
508647
|
+
function preservedXml(value3) {
|
|
508648
|
+
if (typeof value3 !== "string")
|
|
508649
|
+
return "";
|
|
508650
|
+
if (value3.startsWith("<"))
|
|
508651
|
+
return value3;
|
|
508652
|
+
if (!value3.startsWith("{"))
|
|
508653
|
+
return "";
|
|
508654
|
+
try {
|
|
508655
|
+
const xml = JSON.parse(value3).xml;
|
|
508656
|
+
return typeof xml === "string" ? xml : "";
|
|
508657
|
+
} catch {
|
|
508658
|
+
return "";
|
|
508659
|
+
}
|
|
508660
|
+
}
|
|
508661
|
+
function storyPreservedMarkup(snapshot3) {
|
|
508662
|
+
const markup = [];
|
|
508663
|
+
for (const block of snapshot3.blocks) {
|
|
508664
|
+
markup.push(block.leadingXml, "<w:p>");
|
|
508665
|
+
for (const value3 of Object.values(block.pPr))
|
|
508666
|
+
markup.push(preservedXml(value3));
|
|
508667
|
+
for (const atom of block.atoms)
|
|
508668
|
+
markup.push(atom.xml);
|
|
508669
|
+
for (const run of block.runs)
|
|
508670
|
+
for (const value3 of Object.values(run.attributes))
|
|
508671
|
+
markup.push(preservedXml(value3));
|
|
508672
|
+
markup.push("</w:p>", block.paragraphInsertBoundary?.xml ?? "", block.trailingXml ?? "");
|
|
508673
|
+
}
|
|
508674
|
+
markup.push(snapshot3.meta.trailingXml);
|
|
508675
|
+
return markup.join("");
|
|
508676
|
+
}
|
|
508677
|
+
var XML_DECLARATION = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>', ROOT_PREFIX_BYTES, TEXT_DECODER11, STORY_ROOTS, EVIDENCE_BY_ROOM, STORY_BOOTSTRAPS_BY_ROOM, RECOVERED_WRAPPERS_BY_ROOM;
|
|
508678
|
+
var init_older_room_namespaces = __esm(() => {
|
|
508679
|
+
init_sd_document_session_internal();
|
|
508680
|
+
init_constants2();
|
|
508681
|
+
init_schema3();
|
|
508682
|
+
init_constants3();
|
|
508683
|
+
init_package_part();
|
|
508684
|
+
init_schema5();
|
|
508685
|
+
init_canonical();
|
|
508686
|
+
ROOT_PREFIX_BYTES = 64 * 1024;
|
|
508687
|
+
TEXT_DECODER11 = new TextDecoder;
|
|
508688
|
+
STORY_ROOTS = {
|
|
508689
|
+
main: ["w:document", "w:body"],
|
|
508690
|
+
header: ["w:hdr", null],
|
|
508691
|
+
footer: ["w:ftr", null],
|
|
508692
|
+
footnotes: ["w:footnotes", null],
|
|
508693
|
+
endnotes: ["w:endnotes", null],
|
|
508694
|
+
comments: ["w:comments", null],
|
|
508695
|
+
preserved: ["w:glossaryDocument", null]
|
|
508696
|
+
};
|
|
508697
|
+
EVIDENCE_BY_ROOM = new WeakMap;
|
|
508698
|
+
STORY_BOOTSTRAPS_BY_ROOM = new WeakMap;
|
|
508699
|
+
RECOVERED_WRAPPERS_BY_ROOM = new WeakMap;
|
|
508700
|
+
});
|
|
508701
|
+
|
|
508702
|
+
// ../../../v2/collaboration-v2/dist/projection/xml-emission-context.js
|
|
508703
|
+
class XmlEmissionContext {
|
|
508704
|
+
constructor(xml, initial = CANONICAL_NAMESPACES) {
|
|
508705
|
+
this.xml = xml;
|
|
508706
|
+
this.initial = initial;
|
|
508707
|
+
this.events = null;
|
|
508708
|
+
this.paragraphs = new Map;
|
|
508709
|
+
this.paragraphsAt = new Map;
|
|
508710
|
+
this.bodyParagraphsAt = new Map;
|
|
508711
|
+
}
|
|
508712
|
+
at(offset) {
|
|
508713
|
+
this.scan();
|
|
508714
|
+
const events = this.events;
|
|
508715
|
+
let low = 0;
|
|
508716
|
+
let high = events.length;
|
|
508717
|
+
while (low < high) {
|
|
508718
|
+
const middle = low + high >>> 1;
|
|
508719
|
+
if (events[middle].offset <= offset)
|
|
508720
|
+
low = middle + 1;
|
|
508721
|
+
else
|
|
508722
|
+
high = middle;
|
|
508723
|
+
}
|
|
508724
|
+
return events[low - 1]?.bindings ?? this.initial;
|
|
508725
|
+
}
|
|
508726
|
+
paragraph(blockId, offset, inherited) {
|
|
508727
|
+
this.scan();
|
|
508728
|
+
const original = (offset == null ? undefined : this.paragraphsAt.get(offset)) ?? this.paragraphs.get(blockId);
|
|
508729
|
+
const parent = inherited ?? original?.inherited ?? (offset == null ? this.initial : this.at(offset));
|
|
508730
|
+
return { inherited: parent, source: original?.source ?? parent };
|
|
508731
|
+
}
|
|
508732
|
+
sourceFor(blockId) {
|
|
508733
|
+
this.scan();
|
|
508734
|
+
return this.paragraphs.get(blockId)?.source;
|
|
508735
|
+
}
|
|
508736
|
+
bodyParagraph(blockId, offset) {
|
|
508737
|
+
this.scan();
|
|
508738
|
+
return this.bodyParagraphsAt.get(offset) === blockId ? this.paragraphsAt.get(offset) : undefined;
|
|
508739
|
+
}
|
|
508740
|
+
scan() {
|
|
508741
|
+
if (this.events)
|
|
508742
|
+
return;
|
|
508743
|
+
const events = [];
|
|
508744
|
+
const stack = [this.initial];
|
|
508745
|
+
const elements2 = [];
|
|
508746
|
+
let paragraphDepth = 0;
|
|
508747
|
+
let paragraphOrdinal = 0;
|
|
508748
|
+
const result = walkXmlElements(this.xml, {
|
|
508749
|
+
fragment: !this.xml.trimStart().startsWith("<?xml"),
|
|
508750
|
+
additionalNamespaces: this.initial,
|
|
508751
|
+
onOpenTag: ({ tag, start, end, namespaceBindings }) => {
|
|
508752
|
+
const inherited = stack[stack.length - 1];
|
|
508753
|
+
const directBody = elements2.length === 2 && elements2[0]?.localName === "document" && elements2[0]?.namespaceUri === WORD_NAMESPACE12 && elements2[1]?.localName === "body" && elements2[1]?.namespaceUri === WORD_NAMESPACE12;
|
|
508754
|
+
elements2.push(tag);
|
|
508755
|
+
stack.push(namespaceBindings);
|
|
508756
|
+
if (namespaceBindings !== inherited)
|
|
508757
|
+
events.push({ offset: end, bindings: namespaceBindings });
|
|
508758
|
+
if (tag.localName !== "p" || tag.namespaceUri !== WORD_NAMESPACE12)
|
|
508759
|
+
return;
|
|
508760
|
+
if (paragraphDepth++ > 0)
|
|
508761
|
+
return;
|
|
508762
|
+
const context = { inherited, source: namespaceBindings };
|
|
508763
|
+
this.paragraphsAt.set(start, context);
|
|
508764
|
+
const id2 = Object.values(tag.attributes).find((attribute3) => attribute3.localName === "paraId" && attribute3.namespaceUri === WORD_2010_NAMESPACE3)?.value;
|
|
508765
|
+
if (directBody && id2)
|
|
508766
|
+
this.bodyParagraphsAt.set(start, id2);
|
|
508767
|
+
this.paragraphs.set(blockIdForParagraphXmlSpan({ paraId: id2 ?? null, ordinal: paragraphOrdinal++ }), context);
|
|
508768
|
+
},
|
|
508769
|
+
onCloseTag: ({ tag, end }) => {
|
|
508770
|
+
if (tag.localName === "p" && tag.namespaceUri === WORD_NAMESPACE12)
|
|
508771
|
+
paragraphDepth -= 1;
|
|
508772
|
+
elements2.pop();
|
|
508773
|
+
const previous3 = stack.pop();
|
|
508774
|
+
const bindings2 = stack[stack.length - 1] ?? this.initial;
|
|
508775
|
+
if (previous3 !== bindings2)
|
|
508776
|
+
events.push({ offset: end, bindings: bindings2 });
|
|
508777
|
+
}
|
|
508778
|
+
});
|
|
508779
|
+
if (result.errors.length)
|
|
508780
|
+
this.bodyParagraphsAt.clear();
|
|
508781
|
+
this.events = events;
|
|
508782
|
+
}
|
|
508783
|
+
}
|
|
508784
|
+
function paragraphEmissionNames(context, preservedXml2) {
|
|
508785
|
+
const plan = planNamespaceBindings(preservedXml2, context.source, { fragment: true });
|
|
508786
|
+
const bindings2 = { ...context.source, ...plan.bindings };
|
|
508787
|
+
const choose = (preferred, namespace) => {
|
|
508788
|
+
if (bindings2[preferred] === namespace && !new RegExp(`xmlns:${preferred}\\s*=`).test(preservedXml2))
|
|
508789
|
+
return preferred;
|
|
508790
|
+
const existing = Object.keys(bindings2).sort().find((prefix3) => prefix3.length > 0 && bindings2[prefix3] === namespace && !preservedXml2.includes(`xmlns:${prefix3}`));
|
|
508791
|
+
if (existing)
|
|
508792
|
+
return existing;
|
|
508793
|
+
let prefix2 = `sd${preferred}`;
|
|
508794
|
+
for (let suffix = 1;prefix2 in bindings2 || preservedXml2.includes(`${prefix2}:`); suffix += 1)
|
|
508795
|
+
prefix2 = `sd${preferred}${suffix}`;
|
|
508796
|
+
bindings2[prefix2] = namespace;
|
|
508797
|
+
return prefix2;
|
|
508798
|
+
};
|
|
508799
|
+
const word6 = choose("w", WORD_NAMESPACE12);
|
|
508800
|
+
const word2010 = choose("w14", WORD_2010_NAMESPACE3);
|
|
508801
|
+
const declarations = Object.entries({ "": "", ...bindings2 }).filter(([prefix2, uri]) => prefix2 !== "xml" && (context.inherited[prefix2] ?? "") !== uri).sort(([left], [right]) => left.localeCompare(right)).map(([prefix2, uri]) => ` xmlns${prefix2 ? `:${prefix2}` : ""}="${xmlEscape(uri)}"`).join("") + markupCompatibilityPlanAttributes(plan);
|
|
508802
|
+
return { word: word6, word2010, declarations };
|
|
508803
|
+
}
|
|
508804
|
+
var WORD_NAMESPACE12 = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", WORD_2010_NAMESPACE3 = "http://schemas.microsoft.com/office/word/2010/wordml", CANONICAL_NAMESPACES;
|
|
508805
|
+
var init_xml_emission_context = __esm(() => {
|
|
508806
|
+
init_sd_document_session_internal();
|
|
508807
|
+
init_canonical();
|
|
508808
|
+
CANONICAL_NAMESPACES = {
|
|
508809
|
+
w: WORD_NAMESPACE12,
|
|
508810
|
+
w14: WORD_2010_NAMESPACE3
|
|
508811
|
+
};
|
|
508812
|
+
});
|
|
508813
|
+
|
|
508374
508814
|
// ../../../v2/collaboration-v2/dist/projection/materialize.js
|
|
508375
508815
|
function retainedStoryCoordinates(story) {
|
|
508376
508816
|
const coordinates = STORY_XML_COORDINATES.get(story.blockDigests);
|
|
@@ -508541,6 +508981,9 @@ function materializeProjectionInternal(input, recovery) {
|
|
|
508541
508981
|
}
|
|
508542
508982
|
}
|
|
508543
508983
|
const anchoredCommentsByStory = collectAnchoredCommentsByStory(input.shardRegistry);
|
|
508984
|
+
const roomSourceSha256 = roomSourcePackageSha256(input.rootDoc);
|
|
508985
|
+
let roomEvidence;
|
|
508986
|
+
const namespaceEvidence = () => roomEvidence ?? (roomEvidence = roomNamespaceEvidence(input.rootDoc, input.shardRegistry));
|
|
508544
508987
|
let storiesRebuilt = 0;
|
|
508545
508988
|
let fullStoryRebuilds = 0;
|
|
508546
508989
|
const storyHandles = input.shardRegistry.listStories();
|
|
@@ -508554,8 +508997,15 @@ function materializeProjectionInternal(input, recovery) {
|
|
|
508554
508997
|
const storyIdHint = String(meta3.get(STORY_META_KEY.storyId) ?? "");
|
|
508555
508998
|
let previous3 = previousByPartUri.get(partUriHint);
|
|
508556
508999
|
const replacementSource = meta3.get(STORY_META_KEY.replacementSource);
|
|
508557
|
-
const
|
|
508558
|
-
const
|
|
509000
|
+
const storyKindHint = String(meta3.get(STORY_META_KEY.storyKind) ?? "");
|
|
509001
|
+
const bootstrap = resolveStoryBootstrap(handle, replacementSource, meta3.get(STORY_META_KEY.sourceEnvelope), meta3.get(STORY_META_KEY.deflatedSource), readLegacyFurnitureRecovery(meta3), roomSourceSha256 === null ? null : {
|
|
509002
|
+
rootDoc: input.rootDoc,
|
|
509003
|
+
storyKind: storyKindHint,
|
|
509004
|
+
sourceSha256: roomSourceSha256,
|
|
509005
|
+
evidence: namespaceEvidence,
|
|
509006
|
+
content: { shardId: handle.shardId, rescan: previous3 === undefined, snapshot: () => readStorySnapshot(readTarget) }
|
|
509007
|
+
});
|
|
509008
|
+
const sourceBootstrapDigest = meta3.get(STORY_META_KEY.storyKind) === "header" && bootstrap?.sourceStoryDigest && typeof bootstrap.sourceXml === "string" ? headerSourceBootstrapDigest(bootstrap) : undefined;
|
|
508559
509009
|
if (sourceBootstrapDigest) {
|
|
508560
509010
|
sourceBootstrapDigests.set(partUriHint, sourceBootstrapDigest);
|
|
508561
509011
|
if (previous3?.sourceBootstrapDigest !== sourceBootstrapDigest)
|
|
@@ -508568,7 +509018,7 @@ function materializeProjectionInternal(input, recovery) {
|
|
|
508568
509018
|
storiesRebuilt += retainedPatch === previous3 ? 0 : 1;
|
|
508569
509019
|
continue;
|
|
508570
509020
|
}
|
|
508571
|
-
const namespaces = previous3 ? emissionContext(previous3, previous3.xml) : bootstrap?.sourceXml ? emissionContext(bootstrap, bootstrap.sourceXml) :
|
|
509021
|
+
const namespaces = previous3 ? emissionContext(previous3, previous3.xml) : bootstrap?.sourceXml ? emissionContext(bootstrap, bootstrap.sourceXml) : envelopeEmissionContext(storyKindHint, bootstrap);
|
|
508572
509022
|
const sourceNamespaces = bootstrap?.sourceXml ? emissionContext(bootstrap, bootstrap.sourceXml) : namespaces;
|
|
508573
509023
|
let useBootstrapSourceXml = !previous3 && (bootstrap?.sourceStoryDigest ? canonicalDigest(readStorySnapshot(readTarget)) === bootstrap.sourceStoryDigest : !explicitDirtyStoryShardIds.has(handle.shardId)) && typeof bootstrap?.sourceXml === "string" && bootstrap.sourceXml.length > 0;
|
|
508574
509024
|
const syntheticAtoms = buildSyntheticCommentAtomsForStory({
|
|
@@ -508580,7 +509030,7 @@ function materializeProjectionInternal(input, recovery) {
|
|
|
508580
509030
|
useBootstrapSourceXml = false;
|
|
508581
509031
|
retainedProjectionStatistics.syntheticStories++;
|
|
508582
509032
|
}
|
|
508583
|
-
if (previous3 && sourceBootstrapDigest && bootstrap?.sourceStoryDigest && previous3.xml === bootstrap.sourceXml && syntheticAtoms.size === 0 && canonicalDigest(readStorySnapshot(readTarget)) === bootstrap.sourceStoryDigest) {
|
|
509033
|
+
if (previous3 && sourceBootstrapDigest && dirtyStoryShardIds.has(handle.shardId) && bootstrap?.sourceStoryDigest && previous3.xml === bootstrap.sourceXml && syntheticAtoms.size === 0 && canonicalDigest(readStorySnapshot(readTarget)) === bootstrap.sourceStoryDigest) {
|
|
508584
509034
|
stories.push(previous3);
|
|
508585
509035
|
continue;
|
|
508586
509036
|
}
|
|
@@ -508983,6 +509433,7 @@ function materializeProjectionInternal(input, recovery) {
|
|
|
508983
509433
|
if (packagePartRebuild || !input.previousRecord) {
|
|
508984
509434
|
relationships = collectRelationships(input.shardRegistry);
|
|
508985
509435
|
parts = collectPackageParts(input.shardRegistry, {
|
|
509436
|
+
namespaceEvidence,
|
|
508986
509437
|
initialProjection: !input.previousRecord,
|
|
508987
509438
|
previousParts: input.previousRecord?.parts ?? [],
|
|
508988
509439
|
explicitDirtyShardIds: explicitDirtyPackagePartShardIds,
|
|
@@ -509430,30 +509881,61 @@ function projectedTrailingStart(story, trailingXml, bootstrap) {
|
|
|
509430
509881
|
const tableEnd = (story.tableStructuralOverlays ?? []).reduce((end, overlay) => overlay.xmlStart < paragraphEnd && (overlay.ownedXmlEnd ?? overlay.xmlEnd) > end ? overlay.ownedXmlEnd ?? overlay.xmlEnd : end, paragraphEnd);
|
|
509431
509882
|
return trailingXml.startsWith(story.xml.slice(paragraphEnd, tableEnd)) ? paragraphEnd : tableEnd;
|
|
509432
509883
|
}
|
|
509433
|
-
function
|
|
509884
|
+
function headerSourceBootstrapDigest(bootstrap) {
|
|
509885
|
+
const cached2 = HEADER_SOURCE_BOOTSTRAP_DIGESTS.get(bootstrap);
|
|
509886
|
+
if (cached2 && cached2.sourceStoryDigest === bootstrap.sourceStoryDigest && cached2.sourceXml === bootstrap.sourceXml) {
|
|
509887
|
+
return cached2.digest;
|
|
509888
|
+
}
|
|
509889
|
+
const digest6 = canonicalDigest([bootstrap.sourceStoryDigest, bootstrap.sourceXml]);
|
|
509890
|
+
HEADER_SOURCE_BOOTSTRAP_DIGESTS.set(bootstrap, {
|
|
509891
|
+
sourceStoryDigest: bootstrap.sourceStoryDigest,
|
|
509892
|
+
sourceXml: bootstrap.sourceXml,
|
|
509893
|
+
digest: digest6
|
|
509894
|
+
});
|
|
509895
|
+
return digest6;
|
|
509896
|
+
}
|
|
509897
|
+
function resolveStoryBootstrap(handle, replacementSource, sourceEnvelope, deflatedSource, legacyEnvelope, olderRoom) {
|
|
509434
509898
|
if (typeof replacementSource === "object" && replacementSource !== null) {
|
|
509435
509899
|
return replacementSource;
|
|
509436
509900
|
}
|
|
509437
|
-
if (typeof sourceEnvelope !== "object" || sourceEnvelope === null)
|
|
509438
|
-
|
|
509901
|
+
if (typeof sourceEnvelope !== "object" || sourceEnvelope === null) {
|
|
509902
|
+
const local2 = handle.bootstrap;
|
|
509903
|
+
if (!olderRoom)
|
|
509904
|
+
return local2 ?? legacyEnvelope;
|
|
509905
|
+
if (local2 && !isUnrelatedLocalSource(local2, olderRoom.sourceSha256))
|
|
509906
|
+
return local2;
|
|
509907
|
+
return legacyEnvelope ?? olderRoomStoryBootstrap(olderRoom.rootDoc, olderRoom.storyKind, olderRoom.evidence(), olderRoom.content) ?? local2;
|
|
509908
|
+
}
|
|
509439
509909
|
if (legacyEnvelope?.overridesSourceEnvelope)
|
|
509440
509910
|
return legacyEnvelope;
|
|
509441
509911
|
const envelope = sourceEnvelope;
|
|
509442
509912
|
const local = envelope.sourcePackageSha256 && envelope.sourcePackageSha256 === handle.bootstrap?.sourcePackageSha256 ? handle.bootstrap : undefined;
|
|
509443
|
-
|
|
509913
|
+
const source = local ?? readStoryDeflatedSource(deflatedSource);
|
|
509914
|
+
if (!source)
|
|
509444
509915
|
return envelope;
|
|
509445
|
-
let
|
|
509446
|
-
const cached2 =
|
|
509916
|
+
let bySource = IMPORTED_STORY_BOOTSTRAPS.get(envelope);
|
|
509917
|
+
const cached2 = bySource?.get(source);
|
|
509447
509918
|
if (cached2)
|
|
509448
509919
|
return cached2;
|
|
509449
|
-
const bootstrap = { ...
|
|
509450
|
-
if (!
|
|
509451
|
-
|
|
509452
|
-
IMPORTED_STORY_BOOTSTRAPS.set(envelope,
|
|
509920
|
+
const bootstrap = { ...source, ...envelope };
|
|
509921
|
+
if (!bySource) {
|
|
509922
|
+
bySource = new WeakMap;
|
|
509923
|
+
IMPORTED_STORY_BOOTSTRAPS.set(envelope, bySource);
|
|
509453
509924
|
}
|
|
509454
|
-
|
|
509925
|
+
bySource.set(source, bootstrap);
|
|
509455
509926
|
return bootstrap;
|
|
509456
509927
|
}
|
|
509928
|
+
function envelopeEmissionContext(storyKind, bootstrap) {
|
|
509929
|
+
if (!bootstrap?.rootOpenTagXml)
|
|
509930
|
+
return new XmlEmissionContext("");
|
|
509931
|
+
let context = ENVELOPE_EMISSION_CONTEXTS.get(bootstrap);
|
|
509932
|
+
if (!context) {
|
|
509933
|
+
const envelope = storyEnvelope(storyKind, bootstrap);
|
|
509934
|
+
context = new XmlEmissionContext("", new XmlEmissionContext(envelope.prefix + envelope.suffix).at(envelope.prefix.length));
|
|
509935
|
+
ENVELOPE_EMISSION_CONTEXTS.set(bootstrap, context);
|
|
509936
|
+
}
|
|
509937
|
+
return context;
|
|
509938
|
+
}
|
|
509457
509939
|
function storyEnvelope(storyKind, bootstrap) {
|
|
509458
509940
|
if (bootstrap?.sourcePrefixXml !== undefined && bootstrap.sourceSuffixXml !== undefined) {
|
|
509459
509941
|
return { prefix: bootstrap.sourcePrefixXml, suffix: bootstrap.sourceSuffixXml };
|
|
@@ -509464,15 +509946,14 @@ function storyEnvelope(storyKind, bootstrap) {
|
|
|
509464
509946
|
const rootCloseTagXml = bootstrap?.rootCloseTagXml;
|
|
509465
509947
|
const containerOpenTagXml = bootstrap?.containerOpenTagXml;
|
|
509466
509948
|
const containerCloseTagXml = bootstrap?.containerCloseTagXml;
|
|
509949
|
+
const generatedRoot = GENERATED_STORY_ROOTS[storyKind];
|
|
509467
509950
|
if (rootOpenTagXml) {
|
|
509468
509951
|
prefix2 += rootOpenTagXml;
|
|
509469
509952
|
if (containerOpenTagXml) {
|
|
509470
509953
|
prefix2 += containerOpenTagXml;
|
|
509471
509954
|
}
|
|
509472
|
-
} else if (
|
|
509473
|
-
prefix2 +=
|
|
509474
|
-
} else if (storyKind === "footer") {
|
|
509475
|
-
prefix2 += `<w:ftr ${STORY_ROOT_NS}>`;
|
|
509955
|
+
} else if (generatedRoot) {
|
|
509956
|
+
prefix2 += `<${generatedRoot} ${STORY_ROOT_NS}>`;
|
|
509476
509957
|
} else {
|
|
509477
509958
|
prefix2 += `<w:document ${STORY_ROOT_NS}><w:body>`;
|
|
509478
509959
|
}
|
|
@@ -509481,10 +509962,8 @@ function storyEnvelope(storyKind, bootstrap) {
|
|
|
509481
509962
|
suffix += containerCloseTagXml;
|
|
509482
509963
|
}
|
|
509483
509964
|
suffix += rootCloseTagXml ?? inferRootCloseTag(rootOpenTagXml);
|
|
509484
|
-
} else if (
|
|
509485
|
-
suffix +=
|
|
509486
|
-
} else if (storyKind === "footer") {
|
|
509487
|
-
suffix += "</w:ftr>";
|
|
509965
|
+
} else if (generatedRoot) {
|
|
509966
|
+
suffix += `</${generatedRoot}>`;
|
|
509488
509967
|
} else {
|
|
509489
509968
|
suffix += "</w:body></w:document>";
|
|
509490
509969
|
}
|
|
@@ -512133,8 +512612,8 @@ function serializeProjectedBlockXml(block, extraAtoms = [], context) {
|
|
|
512133
512612
|
return `${block.leadingXml}${serializeBlockXml(block, extraAtoms, context)}${block.trailingXml ?? ""}`;
|
|
512134
512613
|
}
|
|
512135
512614
|
function serializeBlockXml(block, extraAtoms = [], context = { inherited: CANONICAL_NAMESPACES, source: CANONICAL_NAMESPACES }) {
|
|
512136
|
-
const
|
|
512137
|
-
const { word: w, word2010: w14, declarations } = paragraphEmissionNames(context,
|
|
512615
|
+
const preservedXml2 = Object.values(block.pPr).join("") + block.atoms.map((atom) => atom.xml).join("") + block.runs.map((run) => Object.values(run.attributes).join("")).join("");
|
|
512616
|
+
const { word: w, word2010: w14, declarations } = paragraphEmissionNames(context, preservedXml2);
|
|
512138
512617
|
const sb = [];
|
|
512139
512618
|
const attrs = [`${w14}:paraId="${xmlEscape(block.blockId)}"`];
|
|
512140
512619
|
if (block.rsidR)
|
|
@@ -512254,7 +512733,40 @@ function sortedProjectedAtoms(block, extraAtoms) {
|
|
|
512254
512733
|
sequence: block.atoms.length + index2
|
|
512255
512734
|
}))
|
|
512256
512735
|
];
|
|
512257
|
-
return normalizeLiveTrackedWrapperOverlap(sortLiveTrackedWrapperBoundaries(sortProjectedAtoms(baseAtoms)));
|
|
512736
|
+
return normalizeLiveTrackedWrapperOverlap(sortLiveTrackedWrapperBoundaries(dropRedundantLiveTrackedWrappers(sortProjectedAtoms(baseAtoms))));
|
|
512737
|
+
}
|
|
512738
|
+
function dropRedundantLiveTrackedWrappers(atoms) {
|
|
512739
|
+
const open2 = [];
|
|
512740
|
+
const dropped = new Set;
|
|
512741
|
+
for (const atom of atoms) {
|
|
512742
|
+
const info = liveTrackedWrapperInfo(atom);
|
|
512743
|
+
if (!info)
|
|
512744
|
+
continue;
|
|
512745
|
+
if (info.position === "start") {
|
|
512746
|
+
const redundant = open2.some((entry2) => !entry2.redundant && entry2.kind === info.kind && entry2.rsid === info.rsid && entry2.atom.xml === atom.xml);
|
|
512747
|
+
open2.push({ atom, kind: info.kind, rsid: info.rsid, redundant });
|
|
512748
|
+
if (redundant)
|
|
512749
|
+
dropped.add(atom);
|
|
512750
|
+
continue;
|
|
512751
|
+
}
|
|
512752
|
+
let openIndex = -1;
|
|
512753
|
+
for (let index2 = open2.length - 1;index2 >= 0; index2 -= 1) {
|
|
512754
|
+
if (open2[index2].kind === info.kind && open2[index2].rsid === info.rsid) {
|
|
512755
|
+
openIndex = index2;
|
|
512756
|
+
break;
|
|
512757
|
+
}
|
|
512758
|
+
}
|
|
512759
|
+
if (openIndex < 0) {
|
|
512760
|
+
dropped.add(atom);
|
|
512761
|
+
continue;
|
|
512762
|
+
}
|
|
512763
|
+
const [entry] = open2.splice(openIndex, 1);
|
|
512764
|
+
if (entry.redundant)
|
|
512765
|
+
dropped.add(atom);
|
|
512766
|
+
}
|
|
512767
|
+
for (const entry of open2)
|
|
512768
|
+
dropped.add(entry.atom);
|
|
512769
|
+
return dropped.size === 0 ? [...atoms] : atoms.filter((atom) => !dropped.has(atom));
|
|
512258
512770
|
}
|
|
512259
512771
|
function sortProjectedAtoms(atoms) {
|
|
512260
512772
|
return [...atoms].sort((left, right) => {
|
|
@@ -512903,7 +513415,7 @@ function collectPackageParts(registry5, options) {
|
|
|
512903
513415
|
contentType: "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml",
|
|
512904
513416
|
content: {
|
|
512905
513417
|
kind: "xml",
|
|
512906
|
-
xml: useBootstrapSourceXml ? bootstrap.sourceXml : serializeStylesXml(documentDefaults, styles, bootstrap)
|
|
513418
|
+
xml: useBootstrapSourceXml ? bootstrap.sourceXml : serializeStylesXml(documentDefaults, styles, bootstrap, options.namespaceEvidence())
|
|
512907
513419
|
}
|
|
512908
513420
|
});
|
|
512909
513421
|
}
|
|
@@ -512926,7 +513438,7 @@ function collectPackageParts(registry5, options) {
|
|
|
512926
513438
|
contentType: "application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml",
|
|
512927
513439
|
content: {
|
|
512928
513440
|
kind: "xml",
|
|
512929
|
-
xml: useBootstrapSourceXml ? bootstrap.sourceXml : serializeNumberingXml(abstracts, nums, bootstrap)
|
|
513441
|
+
xml: useBootstrapSourceXml ? bootstrap.sourceXml : serializeNumberingXml(abstracts, nums, bootstrap, options.namespaceEvidence())
|
|
512930
513442
|
}
|
|
512931
513443
|
});
|
|
512932
513444
|
}
|
|
@@ -512986,7 +513498,7 @@ function collectPackageParts(registry5, options) {
|
|
|
512986
513498
|
out.push({
|
|
512987
513499
|
partUri: "/word/people.xml",
|
|
512988
513500
|
contentType: "application/vnd.openxmlformats-officedocument.wordprocessingml.people+xml",
|
|
512989
|
-
content: { kind: "xml", xml: peopleSource ?
|
|
513501
|
+
content: { kind: "xml", xml: peopleSource ? TEXT_DECODER12.decode(peopleSource) : serializePeopleXml(people) }
|
|
512990
513502
|
});
|
|
512991
513503
|
}
|
|
512992
513504
|
}
|
|
@@ -513015,7 +513527,7 @@ function collectPackageParts(registry5, options) {
|
|
|
513015
513527
|
contentType: "application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml",
|
|
513016
513528
|
content: {
|
|
513017
513529
|
kind: "xml",
|
|
513018
|
-
xml: useBootstrapSourceXml ? bootstrap.sourceXml : serializeSettingsXml(settings, bootstrap)
|
|
513530
|
+
xml: useBootstrapSourceXml ? bootstrap.sourceXml : serializeSettingsXml(settings, bootstrap, options.namespaceEvidence())
|
|
513019
513531
|
}
|
|
513020
513532
|
});
|
|
513021
513533
|
if (bootstrap?.containerOpenTagXml && bootstrap?.containerCloseTagXml || settings.webOpaqueXml || Object.keys(settings.webFields).length > 0 || pairedPartKeys.has(normalizePartKey("/word/webSettings.xml"))) {
|
|
@@ -513024,7 +513536,7 @@ function collectPackageParts(registry5, options) {
|
|
|
513024
513536
|
contentType: "application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml",
|
|
513025
513537
|
content: {
|
|
513026
513538
|
kind: "xml",
|
|
513027
|
-
xml: options.initialProjection && !options.explicitDirtyAll && !options.explicitDirtyShardIds.has(handle.shardId) && typeof bootstrap?.containerOpenTagXml === "string" && typeof bootstrap?.containerCloseTagXml === "string" && bootstrap.containerOpenTagXml.length > 0 && bootstrap.containerCloseTagXml.length > 0 ? withXmlDeclaration(bootstrap.containerOpenTagXml, settings.webOpaqueXml ?? "", bootstrap.containerCloseTagXml) : serializeWebSettingsXml(settings, bootstrap)
|
|
513539
|
+
xml: options.initialProjection && !options.explicitDirtyAll && !options.explicitDirtyShardIds.has(handle.shardId) && typeof bootstrap?.containerOpenTagXml === "string" && typeof bootstrap?.containerCloseTagXml === "string" && bootstrap.containerOpenTagXml.length > 0 && bootstrap.containerCloseTagXml.length > 0 ? withXmlDeclaration(bootstrap.containerOpenTagXml, settings.webOpaqueXml ?? "", bootstrap.containerCloseTagXml) : serializeWebSettingsXml(settings, bootstrap, options.namespaceEvidence())
|
|
513028
513540
|
}
|
|
513029
513541
|
});
|
|
513030
513542
|
}
|
|
@@ -513196,7 +513708,7 @@ function rememberTextLocalStorySnapshot(story, target, snapshot3, validated2, bo
|
|
|
513196
513708
|
snapshot: snapshot3
|
|
513197
513709
|
});
|
|
513198
513710
|
}
|
|
513199
|
-
var WORD_ML_NS2 = 'xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"', WORD_ML_2010_NS = 'xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"', STORY_ROOT_NS,
|
|
513711
|
+
var WORD_ML_NS2 = 'xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"', WORD_ML_2010_NS = 'xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"', STORY_ROOT_NS, TEXT_DECODER12, STORY_BLOCK_INDEX_CACHE, STORY_XML_COORDINATES, SYNTHETIC_PARAGRAPH_BLOCK_ID_PREFIX4 = "__sd:paragraph:", UTF8_ENCODER4, SOURCE_XML_BYTE_ALIGNED_CACHE, IMPORTED_STORY_BOOTSTRAPS, XML_EMISSION_CONTEXTS, CONTENT_CONTROL_TOPOLOGIES, PROJECTED_NAMESPACE_CONTEXTS, RETAINED_TEXT_PROJECTIONS, retainedProjectionStatistics, PARAGRAPH_LOCAL_STORY_SNAPSHOTS, HEADER_SOURCE_BOOTSTRAP_DIGESTS, GENERATED_STORY_ROOTS, ENVELOPE_EMISSION_CONTEXTS, PARAGRAPH_PROPERTY_ORDER, RUN_PROPERTY_CONTENT_LOCAL_NAMES, TEXT_LOCAL_STORY_SNAPSHOTS;
|
|
513200
513712
|
var init_materialize = __esm(() => {
|
|
513201
513713
|
init_retained_story();
|
|
513202
513714
|
init_package_part();
|
|
@@ -513208,6 +513720,7 @@ var init_materialize = __esm(() => {
|
|
|
513208
513720
|
init_story_shard();
|
|
513209
513721
|
init_read_view();
|
|
513210
513722
|
init_legacy_furniture_source();
|
|
513723
|
+
init_deflated_source();
|
|
513211
513724
|
init_constants4();
|
|
513212
513725
|
init_schema4();
|
|
513213
513726
|
init_content_control_groups();
|
|
@@ -513222,10 +513735,11 @@ var init_materialize = __esm(() => {
|
|
|
513222
513735
|
init_constants8();
|
|
513223
513736
|
init_yjs();
|
|
513224
513737
|
init_sd_document_session_internal();
|
|
513738
|
+
init_older_room_namespaces();
|
|
513225
513739
|
init_table_revision_decisions();
|
|
513226
513740
|
init_xml_emission_context();
|
|
513227
513741
|
STORY_ROOT_NS = `${WORD_ML_NS2} ${WORD_ML_2010_NS}`;
|
|
513228
|
-
|
|
513742
|
+
TEXT_DECODER12 = new TextDecoder("utf-8", { fatal: false });
|
|
513229
513743
|
STORY_BLOCK_INDEX_CACHE = new WeakMap;
|
|
513230
513744
|
STORY_XML_COORDINATES = new WeakMap;
|
|
513231
513745
|
UTF8_ENCODER4 = new TextEncoder;
|
|
@@ -513237,6 +513751,16 @@ var init_materialize = __esm(() => {
|
|
|
513237
513751
|
RETAINED_TEXT_PROJECTIONS = new WeakMap;
|
|
513238
513752
|
retainedProjectionStatistics = { attempts: 0, syntheticStories: 0, overlays: 0, merges: 0, controls: 0, spans: 0, order: 0, admitted: 0 };
|
|
513239
513753
|
PARAGRAPH_LOCAL_STORY_SNAPSHOTS = new WeakMap;
|
|
513754
|
+
HEADER_SOURCE_BOOTSTRAP_DIGESTS = new WeakMap;
|
|
513755
|
+
GENERATED_STORY_ROOTS = {
|
|
513756
|
+
header: "w:hdr",
|
|
513757
|
+
footer: "w:ftr",
|
|
513758
|
+
footnotes: "w:footnotes",
|
|
513759
|
+
endnotes: "w:endnotes",
|
|
513760
|
+
comments: "w:comments",
|
|
513761
|
+
preserved: "w:glossaryDocument"
|
|
513762
|
+
};
|
|
513763
|
+
ENVELOPE_EMISSION_CONTEXTS = new WeakMap;
|
|
513240
513764
|
PARAGRAPH_PROPERTY_ORDER = new Map([
|
|
513241
513765
|
"pStyle",
|
|
513242
513766
|
"keepNext",
|
|
@@ -513403,6 +513927,20 @@ function validateProjectionBarrier(input) {
|
|
|
513403
513927
|
partUri
|
|
513404
513928
|
});
|
|
513405
513929
|
}
|
|
513930
|
+
for (const { partUri, xml } of [
|
|
513931
|
+
...input.record.stories.map((story) => ({ partUri: story.partUri, xml: story.xml })),
|
|
513932
|
+
...input.record.parts.flatMap((part) => part.content.kind === "xml" ? [{ partUri: part.partUri, xml: part.content.xml }] : [])
|
|
513933
|
+
]) {
|
|
513934
|
+
const prefixes = undeclaredNamespacePrefixes(xml);
|
|
513935
|
+
if (prefixes.length === 0)
|
|
513936
|
+
continue;
|
|
513937
|
+
diagnostics.push({
|
|
513938
|
+
code: COLLAB_V2_PROJECTION_DIAGNOSTICS.COLLAB_V2_PROJECTION_UNDECLARED_NAMESPACE,
|
|
513939
|
+
severity: "soft",
|
|
513940
|
+
message: `markup in undeclared namespace prefixes ${prefixes.join(", ")} is bound to a placeholder and marked ignorable`,
|
|
513941
|
+
partUri
|
|
513942
|
+
});
|
|
513943
|
+
}
|
|
513406
513944
|
const safety = readRoomSafety(input.rootDoc);
|
|
513407
513945
|
if (safety && safety.hasSignatures && input.hasCollabMutation) {
|
|
513408
513946
|
diagnostics.push({
|
|
@@ -513414,6 +513952,12 @@ function validateProjectionBarrier(input) {
|
|
|
513414
513952
|
const ok4 = diagnostics.every((d) => d.severity !== "hard");
|
|
513415
513953
|
return { ok: ok4, diagnostics };
|
|
513416
513954
|
}
|
|
513955
|
+
function undeclaredNamespacePrefixes(xml) {
|
|
513956
|
+
if (!xml.includes(UNDECLARED_NAMESPACE_URI_PREFIX))
|
|
513957
|
+
return [];
|
|
513958
|
+
const declaration = new RegExp(`xmlns:([A-Za-z_][\\w.-]*)\\s*=\\s*["']${UNDECLARED_NAMESPACE_URI_PREFIX}`, "g");
|
|
513959
|
+
return [...new Set([...xml.matchAll(declaration)].map((match) => match[1]))].sort();
|
|
513960
|
+
}
|
|
513417
513961
|
function resolvePartUri(ownerPartUri2, target) {
|
|
513418
513962
|
if (target.startsWith("/"))
|
|
513419
513963
|
return target;
|
|
@@ -513435,6 +513979,7 @@ function partKeyToPartUri(partKey2) {
|
|
|
513435
513979
|
return `/${partKey2.replace(/_/g, "/")}`;
|
|
513436
513980
|
}
|
|
513437
513981
|
var init_validator = __esm(() => {
|
|
513982
|
+
init_sd_document_session_internal();
|
|
513438
513983
|
init_reducer();
|
|
513439
513984
|
init_safety();
|
|
513440
513985
|
init_diagnostics5();
|
|
@@ -513948,12 +514493,13 @@ function createCollabV2ProjectionRuntime(options) {
|
|
|
513948
514493
|
return barrierFailed(request.kind, capturedToken, blockingReason, docxDiagnostics);
|
|
513949
514494
|
}
|
|
513950
514495
|
}
|
|
514496
|
+
const retainedDiagnostics = validation.diagnostics.filter((diagnostic2) => diagnostic2.code === COLLAB_V2_PROJECTION_DIAGNOSTICS.COLLAB_V2_PROJECTION_UNDECLARED_NAMESPACE);
|
|
513951
514497
|
lastCleanRecord = record3;
|
|
513952
514498
|
lastCleanSnapshot = capturedToken;
|
|
513953
514499
|
pendingDirty = [];
|
|
513954
514500
|
freshness = PROJECTION_FRESHNESS.clean;
|
|
513955
514501
|
blockingReason = null;
|
|
513956
|
-
diagnostics =
|
|
514502
|
+
diagnostics = retainedDiagnostics;
|
|
513957
514503
|
let checkpointId = null;
|
|
513958
514504
|
if (request.kind === BARRIER_KIND.checkpoint || request.kind === BARRIER_KIND.autosave) {
|
|
513959
514505
|
const id2 = `checkpoint:${capturedToken.digest.slice(0, 16)}`;
|
|
@@ -513976,7 +514522,7 @@ function createCollabV2ProjectionRuntime(options) {
|
|
|
513976
514522
|
snapshotToken: capturedToken,
|
|
513977
514523
|
record: record3,
|
|
513978
514524
|
bytes,
|
|
513979
|
-
diagnostics:
|
|
514525
|
+
diagnostics: retainedDiagnostics,
|
|
513980
514526
|
blockingReason: null,
|
|
513981
514527
|
checkpointId
|
|
513982
514528
|
};
|
|
@@ -514855,9 +515401,14 @@ function syncCarrierFormatting(texts, next) {
|
|
|
514855
515401
|
}
|
|
514856
515402
|
}
|
|
514857
515403
|
}
|
|
515404
|
+
function markerIdentityMeta(kind, meta3) {
|
|
515405
|
+
if (kind !== INLINE_ATOM_KIND.trackedWrapper || !meta3 || typeof meta3 !== "object" || Array.isArray(meta3))
|
|
515406
|
+
return meta3;
|
|
515407
|
+
return Object.fromEntries(Object.entries(meta3).filter(([key3]) => !TRACKED_WRAPPER_ANNOTATION_KEYS.has(key3)));
|
|
515408
|
+
}
|
|
514858
515409
|
function sameMarker(left, right) {
|
|
514859
515410
|
const keys3 = Object.keys(right).filter((key3) => key3 !== "id" && key3 !== "visibleOffset");
|
|
514860
|
-
return keys3.every((key3) => JSON.stringify(left.get(key3)) === JSON.stringify(right[key3]));
|
|
515411
|
+
return keys3.every((key3) => key3 === "meta" ? JSON.stringify(markerIdentityMeta(left.get("kind"), left.get("meta"))) === JSON.stringify(markerIdentityMeta(right.kind, right.meta)) : JSON.stringify(left.get(key3)) === JSON.stringify(right[key3]));
|
|
514861
515412
|
}
|
|
514862
515413
|
function syncParagraphMarkerCarriers(carriers2, next, create10) {
|
|
514863
515414
|
let offset = 0;
|
|
@@ -514977,7 +515528,7 @@ function markerDiscriminator(read3) {
|
|
|
514977
515528
|
read3("kind"),
|
|
514978
515529
|
read3("xml"),
|
|
514979
515530
|
read3("length"),
|
|
514980
|
-
read3("meta")
|
|
515531
|
+
markerIdentityMeta(read3("kind"), read3("meta"))
|
|
514981
515532
|
]);
|
|
514982
515533
|
}
|
|
514983
515534
|
function assignInsertedTrackedMarkerIds(array3, inserted, additions, start) {
|
|
@@ -514991,9 +515542,12 @@ function assignInsertedTrackedMarkerIds(array3, inserted, additions, start) {
|
|
|
514991
515542
|
}
|
|
514992
515543
|
});
|
|
514993
515544
|
}
|
|
515545
|
+
var TRACKED_WRAPPER_ANNOTATION_KEYS;
|
|
514994
515546
|
var init_paragraph_inline_sync = __esm(() => {
|
|
514995
515547
|
init_yjs();
|
|
514996
515548
|
init_inline_control_position();
|
|
515549
|
+
init_constants4();
|
|
515550
|
+
TRACKED_WRAPPER_ANNOTATION_KEYS = new Set(["author", "authorEmail", "date"]);
|
|
514997
515551
|
});
|
|
514998
515552
|
|
|
514999
515553
|
// ../../../v2/collaboration-v2/dist/backend/story-surface-session-sync.js
|
|
@@ -523691,7 +524245,7 @@ function createHeadlessCollabRoomCoordinator(options) {
|
|
|
523691
524245
|
return;
|
|
523692
524246
|
const manifest2 = collabUnitTargetOrDoc(ensureMediaManifestShard().handle);
|
|
523693
524247
|
const contentTypesBytes = getSDDocumentSessionInternalPartBytes(options.session, CONTENT_TYPES_PART_URI17);
|
|
523694
|
-
const contentTypes = contentTypesBytes ? parseContentTypes(
|
|
524248
|
+
const contentTypes = contentTypesBytes ? parseContentTypes(TEXT_DECODER13.decode(contentTypesBytes)) : null;
|
|
523695
524249
|
for (const [partUri, entry] of entries4) {
|
|
523696
524250
|
const assetId = assetIdForPartUri(partUri);
|
|
523697
524251
|
if (entry.kind === "remove") {
|
|
@@ -524017,7 +524571,7 @@ function createHeadlessCollabRoomCoordinator(options) {
|
|
|
524017
524571
|
if (!rels) {
|
|
524018
524572
|
throw new Error(`relationships shard for ${partUri} could not be created`);
|
|
524019
524573
|
}
|
|
524020
|
-
const parsed = parseRelationshipsXml(
|
|
524574
|
+
const parsed = parseRelationshipsXml(TEXT_DECODER13.decode(bytes), {
|
|
524021
524575
|
ownerPartUri: ownerPartUri2,
|
|
524022
524576
|
relsUri: partUri,
|
|
524023
524577
|
resolveTarget(target, targetMode) {
|
|
@@ -524068,7 +524622,7 @@ function createHeadlessCollabRoomCoordinator(options) {
|
|
|
524068
524622
|
recordManifestPart(relationshipsPartDescriptor(partUri, bytes.byteLength));
|
|
524069
524623
|
}
|
|
524070
524624
|
function syncContentTypesPart(bytes) {
|
|
524071
|
-
const parsed = parseContentTypes(
|
|
524625
|
+
const parsed = parseContentTypes(TEXT_DECODER13.decode(bytes));
|
|
524072
524626
|
const handle = requireContentTypesHandle();
|
|
524073
524627
|
resetPackagePartPayload(collabUnitTargetOrDoc(handle));
|
|
524074
524628
|
for (const [extension2, contentType] of parsed.defaults.entries()) {
|
|
@@ -524120,7 +524674,7 @@ function createHeadlessCollabRoomCoordinator(options) {
|
|
|
524120
524674
|
}
|
|
524121
524675
|
function syncStylesPart(bytes) {
|
|
524122
524676
|
const handle = ensureStylesShard();
|
|
524123
|
-
const parsed = parseStylesPart2(
|
|
524677
|
+
const parsed = parseStylesPart2(TEXT_DECODER13.decode(bytes));
|
|
524124
524678
|
resetPackagePartPayload(collabUnitTargetOrDoc(handle));
|
|
524125
524679
|
updateDocumentDefaults(collabUnitTargetOrDoc(handle), parsed.documentDefaults);
|
|
524126
524680
|
for (const style of parsed.styles) {
|
|
@@ -524138,8 +524692,8 @@ function createHeadlessCollabRoomCoordinator(options) {
|
|
|
524138
524692
|
function syncSettingsParts(prepared) {
|
|
524139
524693
|
const settingsBytes = readPartBytesForSync(prepared, SETTINGS_PART_URI8);
|
|
524140
524694
|
const webSettingsBytes = readPartBytesForSync(prepared, WEB_SETTINGS_PART_URI);
|
|
524141
|
-
const opaqueXml = settingsBytes ? settingsInnerXmlWithNamespaceScope(
|
|
524142
|
-
const webOpaqueXml = webSettingsBytes ? settingsInnerXmlWithNamespaceScope(
|
|
524695
|
+
const opaqueXml = settingsBytes ? settingsInnerXmlWithNamespaceScope(TEXT_DECODER13.decode(settingsBytes)) : null;
|
|
524696
|
+
const webOpaqueXml = webSettingsBytes ? settingsInnerXmlWithNamespaceScope(TEXT_DECODER13.decode(webSettingsBytes)) : null;
|
|
524143
524697
|
const handle = ensureSettingsShard();
|
|
524144
524698
|
resetPackagePartPayload(collabUnitTargetOrDoc(handle));
|
|
524145
524699
|
writeSettingsSnapshot(collabUnitTargetOrDoc(handle), opaqueXml, webOpaqueXml);
|
|
@@ -524526,7 +525080,7 @@ function createHeadlessCollabRoomCoordinator(options) {
|
|
|
524526
525080
|
});
|
|
524527
525081
|
}
|
|
524528
525082
|
const handle = options.graph.storyHandles.get(shardId);
|
|
524529
|
-
const xml =
|
|
525083
|
+
const xml = TEXT_DECODER13.decode(bytes);
|
|
524530
525084
|
const parsed = collectXmlElementRanges(xml);
|
|
524531
525085
|
const root = parsed.ranges.find((range) => range.tag.localName === (kind === "header" ? "hdr" : "ftr"));
|
|
524532
525086
|
if (!parsed.errors.length && root) {
|
|
@@ -524583,7 +525137,7 @@ function createHeadlessCollabRoomCoordinator(options) {
|
|
|
524583
525137
|
continue;
|
|
524584
525138
|
const shardId = storyShardId(options.rootId, story.storyKind, story.partUri);
|
|
524585
525139
|
const creating = !options.graph.storyHandles.has(shardId);
|
|
524586
|
-
const envelope = creating ? bootstrapStoryProjection(
|
|
525140
|
+
const envelope = creating ? bootstrapStoryProjection(TEXT_DECODER13.decode(bytes), story.storyKind, { includeSourceXml: false }) : undefined;
|
|
524587
525141
|
if (creating && !envelope)
|
|
524588
525142
|
throw new Error(`Cannot publish ${story.storyKind} without its XML root.`);
|
|
524589
525143
|
options.rootDoc.transact(() => {
|
|
@@ -524616,6 +525170,7 @@ function createHeadlessCollabRoomCoordinator(options) {
|
|
|
524616
525170
|
}
|
|
524617
525171
|
const meta4 = unit.scope.get(STORY_SHARD_ROOT.meta);
|
|
524618
525172
|
meta4.delete(STORY_META_KEY.replacementSource);
|
|
525173
|
+
meta4.delete(STORY_META_KEY.deflatedSource);
|
|
524619
525174
|
meta4.set(STORY_META_KEY.sourceEnvelope, envelope);
|
|
524620
525175
|
const handle = {
|
|
524621
525176
|
shardId,
|
|
@@ -527155,7 +527710,7 @@ function listManifestPartUris(rootDoc, partKinds) {
|
|
|
527155
527710
|
}
|
|
527156
527711
|
return out;
|
|
527157
527712
|
}
|
|
527158
|
-
var
|
|
527713
|
+
var TEXT_DECODER13, CONTENT_TYPES_PART_URI17 = "/[Content_Types].xml", NUMBERING_PART_URI7 = "/word/numbering.xml", SETTINGS_PART_URI8 = "/word/settings.xml", WEB_SETTINGS_PART_URI = "/word/webSettings.xml", MAIN_DOCUMENT_PART_URI2 = "/word/document.xml", MAIN_DOCUMENT_RELS_PART_URI = "/word/_rels/document.xml.rels", ROOT_RELS_PART_URI = "/_rels/.rels", COMMENTS_PART_URI5 = "/word/comments.xml", COMMENTS_EXTENDED_PART_URI5 = "/word/commentsExtended.xml", COMMENTS_IDS_PART_URI5 = "/word/commentsIds.xml", PEOPLE_PART_URI = "/word/people.xml", NOTES_FOOTNOTES_URI = "/word/footnotes.xml", NOTES_ENDNOTES_URI = "/word/endnotes.xml", MEDIA_OWNER_URI = "/word/media", REL_CONTENT_TYPE = "application/vnd.openxmlformats-package.relationships+xml", COMMENTS_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml", COMMENTS_EXTENDED_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtended+xml", COMMENTS_IDS_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.commentsIds+xml", PEOPLE_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.people+xml", NUMBERING_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml", IMAGE_REL_TYPE4 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", HYPERLINK_REL_TYPE4 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink", NUMBERING_REL_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering", FIRST_LIST_LEVEL_OPAQUE_XML = '<w:lvlJc w:val="left"/><w:pPr><w:ind w:left="720" w:hanging="360"/></w:pPr>';
|
|
527159
527714
|
var init_collaboration_v2_room_coordinator = __esm(() => {
|
|
527160
527715
|
init_collaboration_v2_source_bootstrap();
|
|
527161
527716
|
init_collaboration_v2_package_payloads();
|
|
@@ -527166,7 +527721,7 @@ var init_collaboration_v2_room_coordinator = __esm(() => {
|
|
|
527166
527721
|
init_collaboration_v2_settings_xml();
|
|
527167
527722
|
init_sd_document_session_internal();
|
|
527168
527723
|
init_dist9();
|
|
527169
|
-
|
|
527724
|
+
TEXT_DECODER13 = new TextDecoder("utf-8", { fatal: false });
|
|
527170
527725
|
});
|
|
527171
527726
|
|
|
527172
527727
|
// ../../../v2/headless/dist/internal/collaboration-v2-runtime.js
|
|
@@ -528160,8 +528715,8 @@ function createOpenTrace(rootId) {
|
|
|
528160
528715
|
const mainBytes = getSDDocumentSessionInternalPartBytes(session, "/word/document.xml");
|
|
528161
528716
|
const mainIndex = getSDDocumentSessionInternalParagraphIndex(session);
|
|
528162
528717
|
const first = mainIndex?.entries[0] ?? null;
|
|
528163
|
-
const firstXml = first && mainBytes ?
|
|
528164
|
-
const mainXml = mainBytes ?
|
|
528718
|
+
const firstXml = first && mainBytes ? TEXT_DECODER14.decode(mainBytes.subarray(first.byteStart, first.byteEnd)) : "";
|
|
528719
|
+
const mainXml = mainBytes ? TEXT_DECODER14.decode(mainBytes) : "";
|
|
528165
528720
|
writeTraceLine(`[v2:open-collab] ${rootId} ${label} ` + `mainBytes=${mainBytes?.byteLength ?? -1} ` + `paragraphs=${mainIndex?.entries.length ?? -1} ` + `firstRange=${first ? `${first.byteStart}-${first.byteEnd}` : "none"} ` + `firstText=${JSON.stringify(firstXml.replace(/<[^>]+>/g, "").slice(0, 80))} ` + `borrowerOffset=${mainXml.indexOf("Borrower:")}
|
|
528166
528721
|
`);
|
|
528167
528722
|
}
|
|
@@ -528209,7 +528764,7 @@ async function buildCanonicalShardGraph(input) {
|
|
|
528209
528764
|
bytes: readCompletePartBytes(input.session, sourceOpen, story.partUri)
|
|
528210
528765
|
}));
|
|
528211
528766
|
for (const { story, shardId, bytes } of stories) {
|
|
528212
|
-
const storyBootstrap = bytes ? bootstrapStoryProjection(
|
|
528767
|
+
const storyBootstrap = bytes ? bootstrapStoryProjection(TEXT_DECODER14.decode(bytes), story.storyKind, {
|
|
528213
528768
|
includeSourceXml: true
|
|
528214
528769
|
}) : undefined;
|
|
528215
528770
|
let unit;
|
|
@@ -528232,6 +528787,8 @@ async function buildCanonicalShardGraph(input) {
|
|
|
528232
528787
|
...storyBootstrap,
|
|
528233
528788
|
sourceStoryDigest: canonicalDigest(snapshotStoryShard(created))
|
|
528234
528789
|
});
|
|
528790
|
+
} else if (typeof storyBootstrap.sourceXml === "string") {
|
|
528791
|
+
writeStoryDeflatedSource(created, storyBootstrap.sourceXml);
|
|
528235
528792
|
}
|
|
528236
528793
|
}
|
|
528237
528794
|
return created;
|
|
@@ -528465,7 +529022,7 @@ async function connectRelationshipsShard(rootDoc, shardId, part, maySeedFromSour
|
|
|
528465
529022
|
const unit = connectPackageUnit(rootDoc, shardId, SHARD_KIND.relationships, maySeedFromSource);
|
|
528466
529023
|
if (maySeedFromSource && part.bytes) {
|
|
528467
529024
|
const ownerPartUri2 = ownerPartUriForRels3(part.partUri);
|
|
528468
|
-
const xml =
|
|
529025
|
+
const xml = TEXT_DECODER14.decode(part.bytes);
|
|
528469
529026
|
const parsed = parseRelationshipsXml(xml, {
|
|
528470
529027
|
ownerPartUri: ownerPartUri2,
|
|
528471
529028
|
relsUri: part.partUri,
|
|
@@ -528499,7 +529056,7 @@ async function connectContentTypesShard(rootDoc, shardId, part, maySeedFromSourc
|
|
|
528499
529056
|
return rootDoc.transact(() => {
|
|
528500
529057
|
const unit = connectPackageUnit(rootDoc, shardId, SHARD_KIND.contentTypes, maySeedFromSource);
|
|
528501
529058
|
if (maySeedFromSource && part.bytes) {
|
|
528502
|
-
const parsed = parseContentTypes(
|
|
529059
|
+
const parsed = parseContentTypes(TEXT_DECODER14.decode(part.bytes));
|
|
528503
529060
|
try {
|
|
528504
529061
|
seedContentTypesShard({
|
|
528505
529062
|
doc: unit,
|
|
@@ -528526,9 +529083,9 @@ async function connectContentTypesShard(rootDoc, shardId, part, maySeedFromSourc
|
|
|
528526
529083
|
async function connectStylesShard(rootDoc, shardId, part, maySeedFromSource) {
|
|
528527
529084
|
return rootDoc.transact(() => {
|
|
528528
529085
|
const unit = connectPackageUnit(rootDoc, shardId, SHARD_KIND.styles, maySeedFromSource);
|
|
528529
|
-
const bootstrap = part.bytes ? bootstrapPartProjection(
|
|
529086
|
+
const bootstrap = part.bytes ? bootstrapPartProjection(TEXT_DECODER14.decode(part.bytes)) : undefined;
|
|
528530
529087
|
if (maySeedFromSource && part.bytes) {
|
|
528531
|
-
const xml =
|
|
529088
|
+
const xml = TEXT_DECODER14.decode(part.bytes);
|
|
528532
529089
|
const parsed = parseStylesPart3(xml);
|
|
528533
529090
|
try {
|
|
528534
529091
|
seedStylesShard({
|
|
@@ -528554,7 +529111,7 @@ async function connectNumberingShard(rootDoc, shardId, part, numbering, maySeedF
|
|
|
528554
529111
|
const unit = connectPackageUnit(rootDoc, shardId, SHARD_KIND.numbering, maySeedFromSource);
|
|
528555
529112
|
let bootstrap;
|
|
528556
529113
|
if (part.bytes) {
|
|
528557
|
-
bootstrap = bootstrapPartProjection(
|
|
529114
|
+
bootstrap = bootstrapPartProjection(TEXT_DECODER14.decode(part.bytes));
|
|
528558
529115
|
}
|
|
528559
529116
|
if (maySeedFromSource && part.bytes && numbering.present) {
|
|
528560
529117
|
try {
|
|
@@ -528598,8 +529155,8 @@ async function connectNumberingShard(rootDoc, shardId, part, numbering, maySeedF
|
|
|
528598
529155
|
async function connectSettingsShard(rootDoc, shardId, settingsPart, webSettingsPart, maySeedFromSource) {
|
|
528599
529156
|
return rootDoc.transact(() => {
|
|
528600
529157
|
const unit = connectPackageUnit(rootDoc, shardId, SHARD_KIND.settings, maySeedFromSource);
|
|
528601
|
-
const settingsBootstrap = settingsPart?.bytes ? bootstrapPartProjection(
|
|
528602
|
-
const webSettingsBootstrap = webSettingsPart?.bytes ? bootstrapPartProjection(
|
|
529158
|
+
const settingsBootstrap = settingsPart?.bytes ? bootstrapPartProjection(TEXT_DECODER14.decode(settingsPart.bytes)) : null;
|
|
529159
|
+
const webSettingsBootstrap = webSettingsPart?.bytes ? bootstrapPartProjection(TEXT_DECODER14.decode(webSettingsPart.bytes)) : null;
|
|
528603
529160
|
const bootstrap = {
|
|
528604
529161
|
sourceXml: settingsBootstrap?.sourceXml ?? null,
|
|
528605
529162
|
rootOpenTagXml: settingsBootstrap?.rootOpenTagXml ?? null,
|
|
@@ -528618,8 +529175,8 @@ async function connectSettingsShard(rootDoc, shardId, settingsPart, webSettingsP
|
|
|
528618
529175
|
settings: {
|
|
528619
529176
|
fields: {},
|
|
528620
529177
|
webFields: {},
|
|
528621
|
-
opaqueXml: settingsPart?.bytes ? settingsInnerXmlWithNamespaceScope(
|
|
528622
|
-
webOpaqueXml: webSettingsPart?.bytes ? settingsInnerXmlWithNamespaceScope(
|
|
529178
|
+
opaqueXml: settingsPart?.bytes ? settingsInnerXmlWithNamespaceScope(TEXT_DECODER14.decode(settingsPart.bytes)) : null,
|
|
529179
|
+
webOpaqueXml: webSettingsPart?.bytes ? settingsInnerXmlWithNamespaceScope(TEXT_DECODER14.decode(webSettingsPart.bytes)) : null
|
|
528623
529180
|
}
|
|
528624
529181
|
});
|
|
528625
529182
|
writePackagePartSourceEnvelope(unit, bootstrap);
|
|
@@ -529002,7 +529559,7 @@ function formatLateJoinValidationFailure(validation) {
|
|
|
529002
529559
|
const diagnostics = validation.diagnostics.length > 0 ? validation.diagnostics.map((diagnostic2) => `${diagnostic2.code}: ${diagnostic2.message}`).join("; ") : "no diagnostics reported";
|
|
529003
529560
|
return `v2 collaboration late-join validation failed (${validation.classification.classification}, ${readiness}): ${diagnostics}`;
|
|
529004
529561
|
}
|
|
529005
|
-
var
|
|
529562
|
+
var TEXT_DECODER14, REPLACEMENT_REQUEST_KEY_PREFIX = "replaceFile:", REPLACEMENT_HEARTBEAT_INTERVAL_MS = 5000, REPLACEMENT_LEASE_TIMEOUT_MS = 30000, BOOTSTRAP_HEARTBEAT_INTERVAL_MS = 5000, BOOTSTRAP_LEASE_TIMEOUT_MS = 30000, BOOTSTRAP_LEASE_KEY_PREFIX = "bootstrapSeed:", SETTINGS_PART_URI9 = "/word/settings.xml", WEB_SETTINGS_PART_URI2 = "/word/webSettings.xml", COMMENTS_PART_URI6 = "/word/comments.xml", COMMENTS_EXTENDED_PART_URI6 = "/word/commentsExtended.xml", COMMENTS_IDS_PART_URI6 = "/word/commentsIds.xml", PEOPLE_PART_URI2 = "/word/people.xml", ROOM_RETAINED_SOURCE_STORY_KINDS, MEDIA_OWNER_URI2 = "/word/media", INLINE_BINARY_FAMILIES, DEFAULT_OPEN_INTENT, POST_SYNC_SETTLE_MAX_MS = 1000, POST_SYNC_QUIET_WINDOW_MS = 20, replacementSequence = 0, replacementHeartbeatObservations;
|
|
529006
529563
|
var init_collaboration_v2_open = __esm(() => {
|
|
529007
529564
|
init_collaboration_v2_source_bootstrap();
|
|
529008
529565
|
init_collaboration_v2_package_payloads();
|
|
@@ -529017,7 +529574,7 @@ var init_collaboration_v2_open = __esm(() => {
|
|
|
529017
529574
|
init_yjs();
|
|
529018
529575
|
init_collaboration_v2_room_state();
|
|
529019
529576
|
init_collaboration_v2_runtime();
|
|
529020
|
-
|
|
529577
|
+
TEXT_DECODER14 = new TextDecoder("utf-8", { fatal: false });
|
|
529021
529578
|
ROOM_RETAINED_SOURCE_STORY_KINDS = new Set(["header", "footer"]);
|
|
529022
529579
|
INLINE_BINARY_FAMILIES = new Set(["image", "media", "embedded", "oleObject", "vbaProject", "vbaData"]);
|
|
529023
529580
|
DEFAULT_OPEN_INTENT = Object.freeze({ mode: "join" });
|