@superdoc/mcp 1.2.0 → 1.2.1-next.2
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 +770 -341
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -31314,7 +31314,7 @@ var init_host = __esm(() => {
|
|
|
31314
31314
|
});
|
|
31315
31315
|
|
|
31316
31316
|
// ../../packages/sdk/langs/node/src/runtime/sdk-version.generated.ts
|
|
31317
|
-
var SDK_VERSION = "2.15.
|
|
31317
|
+
var SDK_VERSION = "2.15.1-next.2";
|
|
31318
31318
|
|
|
31319
31319
|
// ../../packages/sdk/langs/node/src/runtime/embedded-platform.ts
|
|
31320
31320
|
import { chmodSync, existsSync } from "node:fs";
|
|
@@ -122058,7 +122058,7 @@ var init_paragraph_signal_index = __esm(() => {
|
|
|
122058
122058
|
RETAINED_PARAGRAPH_SIGNALS = Symbol("retained-paragraph-signals");
|
|
122059
122059
|
});
|
|
122060
122060
|
|
|
122061
|
-
//
|
|
122061
|
+
// ../../../v2/node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xml/1.0/ed5.js
|
|
122062
122062
|
var require_ed5 = __commonJS((exports) => {
|
|
122063
122063
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
122064
122064
|
exports.CHAR = `
|
|
@@ -122096,7 +122096,7 @@ var require_ed5 = __commonJS((exports) => {
|
|
|
122096
122096
|
exports.isNameChar = isNameChar;
|
|
122097
122097
|
});
|
|
122098
122098
|
|
|
122099
|
-
//
|
|
122099
|
+
// ../../../v2/node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xml/1.1/ed2.js
|
|
122100
122100
|
var require_ed2 = __commonJS((exports) => {
|
|
122101
122101
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
122102
122102
|
exports.CHAR = "\x01--�\uD800\uDC00-\uDBFF\uDFFF";
|
|
@@ -122143,7 +122143,7 @@ var require_ed2 = __commonJS((exports) => {
|
|
|
122143
122143
|
exports.isNameChar = isNameChar;
|
|
122144
122144
|
});
|
|
122145
122145
|
|
|
122146
|
-
//
|
|
122146
|
+
// ../../../v2/node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xmlns/1.0/ed3.js
|
|
122147
122147
|
var require_ed3 = __commonJS((exports) => {
|
|
122148
122148
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
122149
122149
|
exports.NC_NAME_START_CHAR = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";
|
|
@@ -122161,7 +122161,7 @@ var require_ed3 = __commonJS((exports) => {
|
|
|
122161
122161
|
exports.isNCNameChar = isNCNameChar;
|
|
122162
122162
|
});
|
|
122163
122163
|
|
|
122164
|
-
//
|
|
122164
|
+
// ../../../v2/node_modules/.pnpm/saxes@6.0.0/node_modules/saxes/saxes.js
|
|
122165
122165
|
var require_saxes = __commonJS((exports) => {
|
|
122166
122166
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
122167
122167
|
exports.SaxesParser = exports.EVENTS = undefined;
|
|
@@ -140090,7 +140090,9 @@ function markFullParagraphInsertions(xml, fragments, structural, index, namespac
|
|
|
140090
140090
|
continue;
|
|
140091
140091
|
const structuralInParagraph = structuralByParagraph.get(`${paragraph.start}:${paragraph.end}`) ?? [];
|
|
140092
140092
|
const terminalDeletionOfPendingInsertion = marker.structuralKind === "paragraph-mark-insertion" && structuralInParagraph.length === 2 && structuralInParagraph[0] === marker && structuralInParagraph[1]?.structuralKind === "paragraph-mark-deletion";
|
|
140093
|
-
|
|
140093
|
+
const extraStructural = structuralInParagraph.filter((fragment2) => fragment2 !== marker);
|
|
140094
|
+
const extrasArePasteObjects = extraStructural.every((fragment2) => fragment2.structuralKind === "footnote-insertion" || fragment2.structuralKind === "endnote-insertion" || fragment2.structuralKind === "image-insertion" || fragment2.structuralKind === "field-insertion");
|
|
140095
|
+
if (structuralInParagraph.length !== 1 && !terminalDeletionOfPendingInsertion && !(extraStructural.length > 0 && extrasArePasteObjects))
|
|
140094
140096
|
continue;
|
|
140095
140097
|
const paragraphFragments = (fragmentsByParagraphStart.get(paragraph.start) ?? []).filter((candidate) => candidate.byteStart >= paragraph.openEnd && candidate.byteEnd <= paragraph.closeStart).sort((left, right) => left.byteStart - right.byteStart);
|
|
140096
140098
|
const markerIdentity = buildReviewIdentity({
|
|
@@ -150393,7 +150395,7 @@ var init_history_text_replay = __esm(() => {
|
|
|
150393
150395
|
MAX_HISTORY_OWNER_BYTES = 512 * 1024;
|
|
150394
150396
|
});
|
|
150395
150397
|
|
|
150396
|
-
//
|
|
150398
|
+
// ../../../v2/node_modules/.pnpm/fflate@0.8.2/node_modules/fflate/esm/index.mjs
|
|
150397
150399
|
import { createRequire as createRequire3 } from "module";
|
|
150398
150400
|
function deflateSync(data, opts) {
|
|
150399
150401
|
return dopt(data, opts || {}, 0, 0);
|
|
@@ -168023,10 +168025,13 @@ function projectWordLikeReviewGroupsWithLookupContext(lookupContext, input) {
|
|
|
168023
168025
|
const partXml = input.partXmlByUri.get(partUri);
|
|
168024
168026
|
if (!partXml)
|
|
168025
168027
|
continue;
|
|
168026
|
-
if (isBodyStoryId(storyId)) {
|
|
168028
|
+
if (isBodyStoryId(storyId) || isNotesStoryId(storyId)) {
|
|
168027
168029
|
projectStoryReviewGroups(lookupContext, storyId, partUri, partXml, entries, input);
|
|
168028
168030
|
}
|
|
168029
168031
|
projectFullParagraphInsertions(lookupContext, storyId, partUri, partXml, entries, input);
|
|
168032
|
+
if (isBodyStoryId(storyId) || isNotesStoryId(storyId)) {
|
|
168033
|
+
foldSameRsidPastedParagraphParents(storyId, partXml, input);
|
|
168034
|
+
}
|
|
168030
168035
|
}
|
|
168031
168036
|
}
|
|
168032
168037
|
function projectFullParagraphInsertions(lookupContext, storyId, partUri, partXml, entries, input) {
|
|
@@ -168190,6 +168195,230 @@ function materializeFullParagraphInsertion(lookupContext, args) {
|
|
|
168190
168195
|
for (const fragment2 of objectFragments)
|
|
168191
168196
|
input.structuralKeyToLogicalId.set(fragment2.entityKey, id);
|
|
168192
168197
|
}
|
|
168198
|
+
function foldSameRsidPastedParagraphParents(storyId, partXml, input) {
|
|
168199
|
+
const storyEntries = input.byStory.get(storyId);
|
|
168200
|
+
if (!storyEntries)
|
|
168201
|
+
return;
|
|
168202
|
+
const parents = storyEntries.filter((entry) => isFoldablePastedParagraphParent(entry)).sort((left, right) => left.documentOrderStart - right.documentOrderStart);
|
|
168203
|
+
if (parents.length < 2)
|
|
168204
|
+
return;
|
|
168205
|
+
const clusters = [];
|
|
168206
|
+
let current = [];
|
|
168207
|
+
const flush = () => {
|
|
168208
|
+
if (current.length >= 2)
|
|
168209
|
+
clusters.push(current);
|
|
168210
|
+
current = [];
|
|
168211
|
+
};
|
|
168212
|
+
for (const parent of parents) {
|
|
168213
|
+
const previous = current.at(-1);
|
|
168214
|
+
if (!previous) {
|
|
168215
|
+
current = [parent];
|
|
168216
|
+
continue;
|
|
168217
|
+
}
|
|
168218
|
+
if (canFoldPastedParagraphParents(partXml, previous, parent, storyEntries)) {
|
|
168219
|
+
current.push(parent);
|
|
168220
|
+
continue;
|
|
168221
|
+
}
|
|
168222
|
+
flush();
|
|
168223
|
+
current = [parent];
|
|
168224
|
+
}
|
|
168225
|
+
flush();
|
|
168226
|
+
for (const cluster of clusters) {
|
|
168227
|
+
mergePastedParagraphParents(storyId, partXml, cluster, input);
|
|
168228
|
+
}
|
|
168229
|
+
}
|
|
168230
|
+
function isFoldablePastedParagraphParent(entry) {
|
|
168231
|
+
const kind = entry.reviewGroup?.kind;
|
|
168232
|
+
return entry.reviewGroup?.role === "parent" && (kind === "word-full-paragraph-insertion" || kind === "word-inserted-paragraph-range") && entry.subtype !== "table-split" && entry.subtype !== "image-insertion" && entry.subtype !== "list-item-insertion" && entry.subtype !== "field-insertion" && !entry.reviewGroup?.members.some((member) => member.subtype === "field-insertion") && pastedParagraphParentRsid(entry) != null;
|
|
168233
|
+
}
|
|
168234
|
+
function pastedParagraphParentRsid(entry) {
|
|
168235
|
+
const mark = entry.structuralFragments.find((fragment2) => fragment2.structuralKind === "paragraph-mark-insertion" || fragment2.structuralKind === "paragraph-insertion");
|
|
168236
|
+
const rsid = mark?.enclosingParagraphRsid ?? entry.sourceIds.rsids[0];
|
|
168237
|
+
return rsid ? rsid.toUpperCase() : null;
|
|
168238
|
+
}
|
|
168239
|
+
function pastedParagraphParentBounds(entry) {
|
|
168240
|
+
const marks = entry.structuralFragments.filter((fragment2) => fragment2.structuralKind === "paragraph-mark-insertion" || fragment2.structuralKind === "paragraph-insertion");
|
|
168241
|
+
const starts = marks.map((fragment2) => fragment2.enclosingElementStart).filter((value) => value != null);
|
|
168242
|
+
const ends = marks.map((fragment2) => fragment2.enclosingElementEnd).filter((value) => value != null);
|
|
168243
|
+
if (starts.length === 0 || ends.length === 0)
|
|
168244
|
+
return null;
|
|
168245
|
+
return { start: Math.min(...starts), end: Math.max(...ends) };
|
|
168246
|
+
}
|
|
168247
|
+
function canFoldPastedParagraphParents(partXml, previous, next, storyEntries) {
|
|
168248
|
+
if (pastedParagraphParentRsid(previous) !== pastedParagraphParentRsid(next))
|
|
168249
|
+
return false;
|
|
168250
|
+
if (previous.subtype !== next.subtype)
|
|
168251
|
+
return false;
|
|
168252
|
+
if (!isSameReviewGroupIdentity(buildReviewIdentity({
|
|
168253
|
+
name: previous.author.name,
|
|
168254
|
+
email: previous.authorEmail,
|
|
168255
|
+
initials: previous.author.initials
|
|
168256
|
+
}), buildReviewIdentity({
|
|
168257
|
+
name: next.author.name,
|
|
168258
|
+
email: next.authorEmail,
|
|
168259
|
+
initials: next.author.initials
|
|
168260
|
+
}))) {
|
|
168261
|
+
return false;
|
|
168262
|
+
}
|
|
168263
|
+
const previousBounds = pastedParagraphParentBounds(previous);
|
|
168264
|
+
const nextBounds = pastedParagraphParentBounds(next);
|
|
168265
|
+
if (!previousBounds || !nextBounds || nextBounds.start < previousBounds.end)
|
|
168266
|
+
return false;
|
|
168267
|
+
const stripped = partXml.slice(previousBounds.end, nextBounds.start).replace(/<\/?[\w.-]+:(?:footnote|endnote)\b[^>]*>/g, "");
|
|
168268
|
+
if (!isCleanGapXml(stripped))
|
|
168269
|
+
return false;
|
|
168270
|
+
return !hasInterveningVisibleReviewable(previous, next, storyEntries);
|
|
168271
|
+
}
|
|
168272
|
+
function hasInterveningVisibleReviewable(previous, next, storyEntries) {
|
|
168273
|
+
const spanStart = Math.min(previous.documentOrderStart, next.documentOrderStart);
|
|
168274
|
+
const spanEnd = Math.max(previous.documentOrderEnd, next.documentOrderEnd);
|
|
168275
|
+
const ownedIds = new Set([
|
|
168276
|
+
previous.id,
|
|
168277
|
+
next.id,
|
|
168278
|
+
...previous.reviewGroup?.ownedChildIds ?? [],
|
|
168279
|
+
...next.reviewGroup?.ownedChildIds ?? []
|
|
168280
|
+
]);
|
|
168281
|
+
for (const entry of storyEntries) {
|
|
168282
|
+
if (ownedIds.has(entry.id))
|
|
168283
|
+
continue;
|
|
168284
|
+
if (entry.reviewGroup?.role === "child")
|
|
168285
|
+
continue;
|
|
168286
|
+
if (entry.subsumption?.role === "child")
|
|
168287
|
+
continue;
|
|
168288
|
+
if (entry.documentOrderStart > spanStart && entry.documentOrderStart < spanEnd) {
|
|
168289
|
+
return true;
|
|
168290
|
+
}
|
|
168291
|
+
}
|
|
168292
|
+
return false;
|
|
168293
|
+
}
|
|
168294
|
+
function mergePastedParagraphParents(storyId, partXml, cluster, input) {
|
|
168295
|
+
const head = cluster[0];
|
|
168296
|
+
const memberEntries = [];
|
|
168297
|
+
const seenMemberIds = new Set;
|
|
168298
|
+
const addMember = (entry) => {
|
|
168299
|
+
if (!entry || seenMemberIds.has(entry.id))
|
|
168300
|
+
return;
|
|
168301
|
+
seenMemberIds.add(entry.id);
|
|
168302
|
+
memberEntries.push(entry);
|
|
168303
|
+
};
|
|
168304
|
+
for (const parent2 of cluster) {
|
|
168305
|
+
for (const childId of parent2.reviewGroup?.ownedChildIds ?? []) {
|
|
168306
|
+
addMember(input.byId.get(childId));
|
|
168307
|
+
}
|
|
168308
|
+
}
|
|
168309
|
+
if (memberEntries.length === 0 || memberEntries.some((entry) => entry.reviewGroup?.role === "child" && cluster.every((parent2) => parent2.id !== entry.reviewGroup?.parentId))) {
|
|
168310
|
+
return;
|
|
168311
|
+
}
|
|
168312
|
+
const textFragments = uniqueFragments(cluster.flatMap((parent2) => parent2.fragments));
|
|
168313
|
+
const structuralFragments = uniqueStructuralFragments(cluster.flatMap((parent2) => parent2.structuralFragments)).sort((left, right) => left.byteStart - right.byteStart);
|
|
168314
|
+
const members = cluster.flatMap((parent2) => parent2.reviewGroup?.members ?? []);
|
|
168315
|
+
const rsids = uniqueNonEmptyStrings(cluster.flatMap((parent2) => parent2.sourceIds.rsids));
|
|
168316
|
+
const memberWordIds = uniqueNonEmptyStrings([
|
|
168317
|
+
...cluster.flatMap((parent2) => [
|
|
168318
|
+
parent2.sourceIds.wordIdInsert ?? "",
|
|
168319
|
+
...parent2.sourceIds.wordIdOther
|
|
168320
|
+
]),
|
|
168321
|
+
...members.map((member) => member.wordId ?? "")
|
|
168322
|
+
]);
|
|
168323
|
+
const wordIdInsert = head.sourceIds.wordIdInsert ?? memberWordIds[0];
|
|
168324
|
+
const wordIdOther = memberWordIds.filter((id) => id !== wordIdInsert);
|
|
168325
|
+
const canonicalText = cluster.map((parent2) => {
|
|
168326
|
+
const text = parent2.after.text ?? "";
|
|
168327
|
+
return text.endsWith(`
|
|
168328
|
+
`) ? text : `${text}
|
|
168329
|
+
`;
|
|
168330
|
+
}).join("");
|
|
168331
|
+
const markParagraphIds = cluster.map((parent2) => {
|
|
168332
|
+
const start = parent2.structuralFragments.find((fragment2) => fragment2.structuralKind === "paragraph-mark-insertion")?.enclosingElementStart;
|
|
168333
|
+
return start != null ? readParagraphIdAt(partXml, start) : null;
|
|
168334
|
+
});
|
|
168335
|
+
const markKey = markParagraphIds.every((paraId) => paraId != null) ? markParagraphIds.map((paraId) => `p:${paraId}`).join(",") : cluster.map((parent2) => parent2.id).join(",");
|
|
168336
|
+
const identityKey = buildGroupIdentityKey(buildReviewIdentity({
|
|
168337
|
+
name: head.author.name,
|
|
168338
|
+
email: head.authorEmail,
|
|
168339
|
+
initials: head.author.initials
|
|
168340
|
+
}));
|
|
168341
|
+
const groupHash = hashGroupKey(["word-inserted-paragraph-range", storyId, identityKey, `pm:${markKey}`, `tx:${textFragments.length}`].join("|"));
|
|
168342
|
+
const groupId = buildLogicalId(storyId, "ins", "word-paragraph-range", groupHash);
|
|
168343
|
+
const noteIds = uniqueNonEmptyStrings(cluster.flatMap((entry) => ownedNoteIds(entry)));
|
|
168344
|
+
const parent = {
|
|
168345
|
+
...head,
|
|
168346
|
+
id: groupId,
|
|
168347
|
+
type: "insertion",
|
|
168348
|
+
subtype: "text-insertion",
|
|
168349
|
+
documentOrderStart: Math.min(...cluster.map((entry) => entry.documentOrderStart)),
|
|
168350
|
+
documentOrderEnd: Math.max(...cluster.map((entry) => entry.documentOrderEnd)),
|
|
168351
|
+
noteId: noteIds[0] ?? cluster.find((entry) => entry.noteId != null)?.noteId ?? head.noteId,
|
|
168352
|
+
noteIds: noteIds.length > 0 ? noteIds : null,
|
|
168353
|
+
sourceIds: { wordIdInsert, wordIdOther, rsids },
|
|
168354
|
+
revisionGroupId: groupId,
|
|
168355
|
+
after: { text: canonicalText },
|
|
168356
|
+
contributingRsids: rsids,
|
|
168357
|
+
fragments: textFragments,
|
|
168358
|
+
structuralFragments,
|
|
168359
|
+
structuralDelta: null,
|
|
168360
|
+
excerpt: canonicalText,
|
|
168361
|
+
reviewGroup: {
|
|
168362
|
+
kind: "word-inserted-paragraph-range",
|
|
168363
|
+
role: "parent",
|
|
168364
|
+
parentId: null,
|
|
168365
|
+
ownedChildIds: memberEntries.map((entry) => entry.id),
|
|
168366
|
+
duplicateDisplayPolicy: "subsumed",
|
|
168367
|
+
members
|
|
168368
|
+
}
|
|
168369
|
+
};
|
|
168370
|
+
for (const entry of memberEntries) {
|
|
168371
|
+
const mutable = entry;
|
|
168372
|
+
mutable.reviewGroup = {
|
|
168373
|
+
kind: "word-inserted-paragraph-range",
|
|
168374
|
+
role: "child",
|
|
168375
|
+
parentId: groupId,
|
|
168376
|
+
ownedChildIds: [],
|
|
168377
|
+
duplicateDisplayPolicy: "subsumed",
|
|
168378
|
+
members: []
|
|
168379
|
+
};
|
|
168380
|
+
mutable.revisionGroupId = groupId;
|
|
168381
|
+
}
|
|
168382
|
+
const storyArr = input.byStory.get(storyId);
|
|
168383
|
+
if (!storyArr)
|
|
168384
|
+
return;
|
|
168385
|
+
for (const dissolved of cluster) {
|
|
168386
|
+
input.byId.delete(dissolved.id);
|
|
168387
|
+
const index = storyArr.indexOf(dissolved);
|
|
168388
|
+
if (index >= 0)
|
|
168389
|
+
storyArr.splice(index, 1);
|
|
168390
|
+
}
|
|
168391
|
+
input.byId.set(groupId, parent);
|
|
168392
|
+
storyArr.push(parent);
|
|
168393
|
+
for (const fragment2 of textFragments)
|
|
168394
|
+
input.rsidToLogicalId.set(fragment2.rsid, groupId);
|
|
168395
|
+
for (const fragment2 of structuralFragments)
|
|
168396
|
+
input.structuralKeyToLogicalId.set(fragment2.entityKey, groupId);
|
|
168397
|
+
}
|
|
168398
|
+
function uniqueFragments(fragments) {
|
|
168399
|
+
const seen = new Set;
|
|
168400
|
+
const out = [];
|
|
168401
|
+
for (const fragment2 of fragments) {
|
|
168402
|
+
const key2 = `${fragment2.byteStart}:${fragment2.byteEnd}:${fragment2.rsid}`;
|
|
168403
|
+
if (seen.has(key2))
|
|
168404
|
+
continue;
|
|
168405
|
+
seen.add(key2);
|
|
168406
|
+
out.push(fragment2);
|
|
168407
|
+
}
|
|
168408
|
+
return out;
|
|
168409
|
+
}
|
|
168410
|
+
function uniqueStructuralFragments(fragments) {
|
|
168411
|
+
const seen = new Set;
|
|
168412
|
+
const out = [];
|
|
168413
|
+
for (const fragment2 of fragments) {
|
|
168414
|
+
const key2 = fragment2.entityKey;
|
|
168415
|
+
if (seen.has(key2))
|
|
168416
|
+
continue;
|
|
168417
|
+
seen.add(key2);
|
|
168418
|
+
out.push(fragment2);
|
|
168419
|
+
}
|
|
168420
|
+
return out;
|
|
168421
|
+
}
|
|
168193
168422
|
function classifyFullParagraphInsertion(lookupContext, partXml, paragraphStart, paragraphEnd, paragraphXml) {
|
|
168194
168423
|
const parent = findImmediateParentElementAtPosition(partXml, paragraphStart, lookupContext);
|
|
168195
168424
|
if (parent) {
|
|
@@ -168385,14 +168614,19 @@ function buildTrackedFieldLocationKey(lookupContext, partXml, fragment2) {
|
|
|
168385
168614
|
function extractDeletionText(deletion, partXml) {
|
|
168386
168615
|
return deletion.fragments.map((fragment2) => extractVisibleTextFromXml(partXml.slice(fragment2.byteStart, fragment2.byteEnd), "del")).join("");
|
|
168387
168616
|
}
|
|
168617
|
+
function isAbsorbableInlineObjectInsertion(entry, fragment2) {
|
|
168618
|
+
const kind = entry.subtype;
|
|
168619
|
+
return (kind === "footnote-insertion" || kind === "endnote-insertion" || kind === "image-insertion" || kind === "field-insertion") && fragment2.structuralKind === kind && entry.reviewGroup == null && entry.subsumption == null;
|
|
168620
|
+
}
|
|
168388
168621
|
function projectStoryReviewGroups(lookupContext, storyId, partUri, partXml, entries, input) {
|
|
168389
168622
|
const markCandidates = collectMarkCandidates(storyId, partXml, entries);
|
|
168390
168623
|
if (markCandidates.candidatesByParagraphStart.size === 0)
|
|
168391
168624
|
return;
|
|
168392
|
-
const textCandidates = collectTextCandidates(lookupContext, partXml, entries);
|
|
168625
|
+
const textCandidates = collectTextCandidates(lookupContext, partXml, entries, storyId);
|
|
168393
168626
|
if (textCandidates.length === 0)
|
|
168394
168627
|
return;
|
|
168395
|
-
const
|
|
168628
|
+
const objectCandidates = collectObjectCandidates(lookupContext, partXml, entries);
|
|
168629
|
+
const paragraphs = buildParagraphInfos(lookupContext, partXml, markCandidates, textCandidates, objectCandidates);
|
|
168396
168630
|
if (paragraphs.length === 0)
|
|
168397
168631
|
return;
|
|
168398
168632
|
const atoms = buildAtomSequence(partXml, paragraphs);
|
|
@@ -168403,17 +168637,33 @@ function projectStoryReviewGroups(lookupContext, storyId, partUri, partXml, entr
|
|
|
168403
168637
|
}
|
|
168404
168638
|
}
|
|
168405
168639
|
}
|
|
168406
|
-
function
|
|
168407
|
-
|
|
168408
|
-
|
|
168640
|
+
function paragraphRunHasImageInsertion(paragraphRun) {
|
|
168641
|
+
return paragraphRun.some((atom) => atom.kind === "object" && atom.candidate.entry.subtype === "image-insertion");
|
|
168642
|
+
}
|
|
168643
|
+
function paragraphRunFullParagraphRsid(paragraphRun) {
|
|
168644
|
+
for (const atom of paragraphRun) {
|
|
168409
168645
|
if (atom.kind !== "mark" || atom.candidate.fragment.fullParagraphInsertion !== true)
|
|
168410
|
-
|
|
168646
|
+
continue;
|
|
168411
168647
|
const rsid = atom.candidate.fragment.enclosingParagraphRsid;
|
|
168412
|
-
return rsid ?
|
|
168413
|
-
}));
|
|
168414
|
-
if (fullParagraphRsidsByStart.size <= 1 || new Set(fullParagraphRsidsByStart.values()).size <= 1) {
|
|
168415
|
-
return [run];
|
|
168648
|
+
return rsid ? rsid.toUpperCase() : null;
|
|
168416
168649
|
}
|
|
168650
|
+
return null;
|
|
168651
|
+
}
|
|
168652
|
+
function paragraphRunIsFullParagraphInsertion(paragraphRun) {
|
|
168653
|
+
return paragraphRun.some((atom) => atom.kind === "mark" && atom.candidate.fragment.fullParagraphInsertion === true);
|
|
168654
|
+
}
|
|
168655
|
+
function canContinueFullParagraphRun(currentRun, nextParagraphRun, currentRsid, nextRsid, anyStampedFullParagraph) {
|
|
168656
|
+
if (paragraphRunHasImageInsertion(currentRun) !== paragraphRunHasImageInsertion(nextParagraphRun)) {
|
|
168657
|
+
return false;
|
|
168658
|
+
}
|
|
168659
|
+
if (!anyStampedFullParagraph)
|
|
168660
|
+
return true;
|
|
168661
|
+
if (currentRsid == null || nextRsid == null)
|
|
168662
|
+
return false;
|
|
168663
|
+
return currentRsid === nextRsid;
|
|
168664
|
+
}
|
|
168665
|
+
function splitDistinctFullParagraphRuns(run) {
|
|
168666
|
+
const members = run.filter((atom) => atom.kind !== "blocker");
|
|
168417
168667
|
const paragraphRuns = [];
|
|
168418
168668
|
for (const member of members) {
|
|
168419
168669
|
const current = paragraphRuns.at(-1);
|
|
@@ -168423,6 +168673,11 @@ function splitDistinctFullParagraphRuns(run) {
|
|
|
168423
168673
|
paragraphRuns.push([member]);
|
|
168424
168674
|
}
|
|
168425
168675
|
}
|
|
168676
|
+
const fullParagraphRuns = paragraphRuns.filter(paragraphRunIsFullParagraphInsertion);
|
|
168677
|
+
if (fullParagraphRuns.length <= 1) {
|
|
168678
|
+
return [run];
|
|
168679
|
+
}
|
|
168680
|
+
const anyStampedFullParagraph = fullParagraphRuns.some((paragraphRun) => paragraphRunFullParagraphRsid(paragraphRun) != null);
|
|
168426
168681
|
const projectedRuns = [];
|
|
168427
168682
|
let currentRun = [];
|
|
168428
168683
|
let currentRsid = null;
|
|
@@ -168434,9 +168689,7 @@ function splitDistinctFullParagraphRuns(run) {
|
|
|
168434
168689
|
currentRsid = null;
|
|
168435
168690
|
};
|
|
168436
168691
|
for (const paragraphRun of paragraphRuns) {
|
|
168437
|
-
|
|
168438
|
-
const paragraphRsid = fullParagraphRsidsByStart.get(paragraphStart) ?? null;
|
|
168439
|
-
if (paragraphRsid === null) {
|
|
168692
|
+
if (!paragraphRunIsFullParagraphInsertion(paragraphRun)) {
|
|
168440
168693
|
if (currentRsid !== null && paragraphRun.every((atom) => atom.kind === "text")) {
|
|
168441
168694
|
currentRun.push(...paragraphRun);
|
|
168442
168695
|
continue;
|
|
@@ -168445,14 +168698,19 @@ function splitDistinctFullParagraphRuns(run) {
|
|
|
168445
168698
|
currentRun = [...paragraphRun];
|
|
168446
168699
|
continue;
|
|
168447
168700
|
}
|
|
168448
|
-
|
|
168701
|
+
const paragraphRsid = paragraphRunFullParagraphRsid(paragraphRun);
|
|
168702
|
+
if (currentRun.length > 0 && canContinueFullParagraphRun(currentRun, paragraphRun, currentRsid, paragraphRsid, anyStampedFullParagraph)) {
|
|
168449
168703
|
currentRun.push(...paragraphRun);
|
|
168704
|
+
if (currentRsid == null)
|
|
168705
|
+
currentRsid = paragraphRsid;
|
|
168450
168706
|
continue;
|
|
168451
168707
|
}
|
|
168452
|
-
if (currentRsid === null && currentRun.every((atom) => atom.kind === "mark")) {
|
|
168453
|
-
|
|
168454
|
-
|
|
168455
|
-
|
|
168708
|
+
if (currentRsid === null && currentRun.length > 0 && currentRun.every((atom) => atom.kind === "mark")) {
|
|
168709
|
+
if (canContinueFullParagraphRun(currentRun, paragraphRun, paragraphRsid, paragraphRsid, anyStampedFullParagraph)) {
|
|
168710
|
+
currentRsid = paragraphRsid;
|
|
168711
|
+
currentRun = [...currentRun, ...paragraphRun];
|
|
168712
|
+
continue;
|
|
168713
|
+
}
|
|
168456
168714
|
}
|
|
168457
168715
|
flushCurrentRun();
|
|
168458
168716
|
currentRsid = paragraphRsid;
|
|
@@ -168473,10 +168731,10 @@ function collectMarkCandidates(storyId, partXml, entries) {
|
|
|
168473
168731
|
continue;
|
|
168474
168732
|
if (fragment2.enclosingElementStart === undefined || fragment2.enclosingElementEnd === undefined)
|
|
168475
168733
|
continue;
|
|
168476
|
-
const isCandidateShape = entry.subtype === "paragraph-mark-insertion" && fragment2.structuralKind === "paragraph-mark-insertion" && entry.structuralFragments.length === 1 && entry.noteId == null && entry.subsumption == null && entry.reviewGroup == null;
|
|
168734
|
+
const isCandidateShape = entry.subtype === "paragraph-mark-insertion" && fragment2.structuralKind === "paragraph-mark-insertion" && entry.structuralFragments.length === 1 && (entry.noteId == null || isNotesStoryId(storyId)) && entry.subsumption == null && entry.reviewGroup == null;
|
|
168477
168735
|
if (isCandidateShape) {
|
|
168478
168736
|
markFragments.push({ entry, fragment: fragment2 });
|
|
168479
|
-
} else if (isTerminalDeletionOfPendingFullParagraphInsertion(fragment2, entries)) {} else {
|
|
168737
|
+
} else if (isTerminalDeletionOfPendingFullParagraphInsertion(fragment2, entries)) {} else if (isAbsorbableInlineObjectInsertion(entry, fragment2)) {} else {
|
|
168480
168738
|
blockedParagraphStarts.add(fragment2.enclosingElementStart);
|
|
168481
168739
|
}
|
|
168482
168740
|
}
|
|
@@ -168517,12 +168775,12 @@ function isTerminalDeletionOfPendingFullParagraphInsertion(fragment2, entries) {
|
|
|
168517
168775
|
const markers = entries.flatMap((entry) => entry.structuralFragments).filter((candidate2) => candidate2.enclosingElementStart === paragraphStart && candidate2.enclosingElementEnd === paragraphEnd && (candidate2.structuralKind === "paragraph-mark-insertion" || candidate2.structuralKind === "paragraph-mark-deletion")).sort((left, right) => left.byteStart - right.byteStart);
|
|
168518
168776
|
return markers.length === 2 && markers[0]?.structuralKind === "paragraph-mark-insertion" && markers[0].fullParagraphInsertion === true && markers[1] === fragment2;
|
|
168519
168777
|
}
|
|
168520
|
-
function collectTextCandidates(lookupContext, partXml, entries) {
|
|
168778
|
+
function collectTextCandidates(lookupContext, partXml, entries, storyId) {
|
|
168521
168779
|
const out = [];
|
|
168522
168780
|
for (const entry of entries) {
|
|
168523
168781
|
if (entry.type !== "insertion" || entry.subtype !== "text-insertion")
|
|
168524
168782
|
continue;
|
|
168525
|
-
if (entry.noteId != null)
|
|
168783
|
+
if (entry.noteId != null && !isNotesStoryId(storyId))
|
|
168526
168784
|
continue;
|
|
168527
168785
|
if (entry.sides || entry.movePair)
|
|
168528
168786
|
continue;
|
|
@@ -168567,14 +168825,60 @@ function collectTextCandidates(lookupContext, partXml, entries) {
|
|
|
168567
168825
|
}
|
|
168568
168826
|
return out;
|
|
168569
168827
|
}
|
|
168828
|
+
function collectObjectCandidates(lookupContext, partXml, entries) {
|
|
168829
|
+
const out = [];
|
|
168830
|
+
for (const entry of entries) {
|
|
168831
|
+
if (entry.type !== "structural")
|
|
168832
|
+
continue;
|
|
168833
|
+
if (entry.sides || entry.movePair)
|
|
168834
|
+
continue;
|
|
168835
|
+
if (entry.subsumption || entry.reviewGroup)
|
|
168836
|
+
continue;
|
|
168837
|
+
if (entry.structuralFragments.length === 0)
|
|
168838
|
+
continue;
|
|
168839
|
+
if (!entry.structuralFragments.every((fragment2) => isAbsorbableInlineObjectInsertion(entry, fragment2))) {
|
|
168840
|
+
continue;
|
|
168841
|
+
}
|
|
168842
|
+
let paragraphStart = null;
|
|
168843
|
+
let eligible = true;
|
|
168844
|
+
for (const fragment2 of entry.structuralFragments) {
|
|
168845
|
+
const paragraph = findEnclosingElementAtPosition(partXml, fragment2.byteStart, "p", undefined, lookupContext);
|
|
168846
|
+
if (!paragraph) {
|
|
168847
|
+
eligible = false;
|
|
168848
|
+
break;
|
|
168849
|
+
}
|
|
168850
|
+
if (paragraphStart == null)
|
|
168851
|
+
paragraphStart = paragraph.start;
|
|
168852
|
+
if (paragraph.start !== paragraphStart) {
|
|
168853
|
+
eligible = false;
|
|
168854
|
+
break;
|
|
168855
|
+
}
|
|
168856
|
+
}
|
|
168857
|
+
if (!eligible || paragraphStart == null)
|
|
168858
|
+
continue;
|
|
168859
|
+
const headFragment = entry.structuralFragments[0];
|
|
168860
|
+
out.push({
|
|
168861
|
+
entry,
|
|
168862
|
+
fragments: [...entry.structuralFragments].sort((a, b) => a.byteStart - b.byteStart),
|
|
168863
|
+
paragraphStart,
|
|
168864
|
+
identity: buildReviewIdentity({
|
|
168865
|
+
name: entry.author.name,
|
|
168866
|
+
email: entry.authorEmail ?? headFragment.authorEmail,
|
|
168867
|
+
initials: entry.author.initials
|
|
168868
|
+
}),
|
|
168869
|
+
initials: entry.author.initials
|
|
168870
|
+
});
|
|
168871
|
+
}
|
|
168872
|
+
return out;
|
|
168873
|
+
}
|
|
168570
168874
|
function isSimpleInlineInsertionWrapper(wrapperXml) {
|
|
168571
168875
|
const innerMatch = /^<[\w.-]+:ins\b[^>]*>([\s\S]*)<\/[\w.-]+:ins>\s*$/.exec(wrapperXml);
|
|
168572
168876
|
if (!innerMatch)
|
|
168573
168877
|
return false;
|
|
168574
168878
|
const inner = innerMatch[1] ?? "";
|
|
168575
|
-
return !/<[\w.-]+:(?:ins|del|moveFrom|moveTo
|
|
168879
|
+
return !/<[\w.-]+:(?:ins|del|moveFrom|moveTo)\b/.test(inner);
|
|
168576
168880
|
}
|
|
168577
|
-
function buildParagraphInfos(lookupContext, partXml, marks, textCandidates) {
|
|
168881
|
+
function buildParagraphInfos(lookupContext, partXml, marks, textCandidates, objectCandidates = []) {
|
|
168578
168882
|
const byStart = new Map;
|
|
168579
168883
|
const ensure = (start, end) => {
|
|
168580
168884
|
let info = byStart.get(start);
|
|
@@ -168585,6 +168889,7 @@ function buildParagraphInfos(lookupContext, partXml, marks, textCandidates) {
|
|
|
168585
168889
|
mark: null,
|
|
168586
168890
|
markBlocked: marks.blockedParagraphStarts.has(start),
|
|
168587
168891
|
textFragments: [],
|
|
168892
|
+
objectFragments: [],
|
|
168588
168893
|
invalid: false
|
|
168589
168894
|
};
|
|
168590
168895
|
byStart.set(start, info);
|
|
@@ -168604,17 +168909,28 @@ function buildParagraphInfos(lookupContext, partXml, marks, textCandidates) {
|
|
|
168604
168909
|
info.textFragments.push({ candidate: candidate2, fragment: fragment2 });
|
|
168605
168910
|
}
|
|
168606
168911
|
}
|
|
168912
|
+
for (const candidate2 of objectCandidates) {
|
|
168913
|
+
const paragraph = findEnclosingElementAtPosition(partXml, candidate2.fragments[0].byteStart, "p", undefined, lookupContext);
|
|
168914
|
+
if (!paragraph)
|
|
168915
|
+
continue;
|
|
168916
|
+
const info = ensure(paragraph.start, paragraph.end);
|
|
168917
|
+
for (const fragment2 of candidate2.fragments) {
|
|
168918
|
+
info.objectFragments.push({ candidate: candidate2, fragment: fragment2 });
|
|
168919
|
+
}
|
|
168920
|
+
}
|
|
168607
168921
|
const paragraphs = Array.from(byStart.values()).sort((a, b) => a.start - b.start);
|
|
168608
168922
|
for (const paragraph of paragraphs) {
|
|
168609
168923
|
paragraph.textFragments.sort((a, b) => a.fragment.byteStart - b.fragment.byteStart);
|
|
168924
|
+
paragraph.objectFragments.sort((a, b) => a.fragment.byteStart - b.fragment.byteStart);
|
|
168610
168925
|
paragraph.invalid = !isEligibleGroupParagraph(lookupContext, partXml, paragraph);
|
|
168611
168926
|
}
|
|
168612
168927
|
return paragraphs;
|
|
168613
168928
|
}
|
|
168614
168929
|
function isEligibleGroupParagraph(lookupContext, partXml, paragraph) {
|
|
168615
168930
|
const parent = findImmediateParentElementAtPosition(partXml, paragraph.start, lookupContext);
|
|
168616
|
-
if (!parent || parent.localName !== "body")
|
|
168931
|
+
if (!parent || parent.localName !== "body" && parent.localName !== "footnote" && parent.localName !== "endnote") {
|
|
168617
168932
|
return false;
|
|
168933
|
+
}
|
|
168618
168934
|
const paragraphXml = partXml.slice(paragraph.start, paragraph.end);
|
|
168619
168935
|
const pPrXml = readLeadingParagraphPropertyBlock(paragraphXml)?.xml ?? "";
|
|
168620
168936
|
if (pPrXml && /<[\w.-]+:sectPr\b/.test(pPrXml))
|
|
@@ -168659,7 +168975,7 @@ function buildAtomSequence(partXml, paragraphs) {
|
|
|
168659
168975
|
for (const paragraph of paragraphs) {
|
|
168660
168976
|
if (previous) {
|
|
168661
168977
|
const between = partXml.slice(previous.end, paragraph.start);
|
|
168662
|
-
if (!
|
|
168978
|
+
if (!isCleanGroupingGap(between, previous, paragraph))
|
|
168663
168979
|
atoms.push({ kind: "blocker" });
|
|
168664
168980
|
}
|
|
168665
168981
|
previous = paragraph;
|
|
@@ -168729,17 +169045,21 @@ function appendParagraphAtoms(partXml, paragraph, atoms, hyperlinkTags) {
|
|
|
168729
169045
|
return isCleanGapXml(gap + partXml.slice(cursor2, end));
|
|
168730
169046
|
};
|
|
168731
169047
|
let cursor = contentStart;
|
|
168732
|
-
|
|
168733
|
-
|
|
169048
|
+
const contentAtoms = [
|
|
169049
|
+
...paragraph.textFragments.map(({ candidate: candidate2, fragment: fragment2 }) => ({ kind: "text", candidate: candidate2, fragment: fragment2 })),
|
|
169050
|
+
...paragraph.objectFragments.map(({ candidate: candidate2, fragment: fragment2 }) => ({ kind: "object", candidate: candidate2, fragment: fragment2 }))
|
|
169051
|
+
].sort((left, right) => left.fragment.byteStart - right.fragment.byteStart);
|
|
169052
|
+
for (const atom of contentAtoms) {
|
|
169053
|
+
if (atom.fragment.byteStart < cursor || atom.fragment.byteEnd > contentEnd) {
|
|
168734
169054
|
atoms.push({ kind: "blocker" });
|
|
168735
|
-
cursor = Math.max(cursor,
|
|
169055
|
+
cursor = Math.max(cursor, atom.fragment.byteEnd);
|
|
168736
169056
|
continue;
|
|
168737
169057
|
}
|
|
168738
|
-
if (!cleanGap(cursor,
|
|
169058
|
+
if (!cleanGap(cursor, atom.fragment.byteStart)) {
|
|
168739
169059
|
atoms.push({ kind: "blocker" });
|
|
168740
169060
|
}
|
|
168741
|
-
atoms.push(
|
|
168742
|
-
cursor =
|
|
169061
|
+
atoms.push(atom);
|
|
169062
|
+
cursor = atom.fragment.byteEnd;
|
|
168743
169063
|
}
|
|
168744
169064
|
if (!cleanGap(cursor, contentEnd)) {
|
|
168745
169065
|
atoms.push({ kind: "blocker" });
|
|
@@ -168757,6 +169077,16 @@ function isCleanGapXml(xml) {
|
|
|
168757
169077
|
return false;
|
|
168758
169078
|
return containsOnlyAllowedPairingMarkers(xml);
|
|
168759
169079
|
}
|
|
169080
|
+
function isCleanGroupingGap(between, previous, next) {
|
|
169081
|
+
const stripped = between.replace(/<\/?[\w.-]+:(?:footnote|endnote)\b[^>]*>/g, "");
|
|
169082
|
+
if (!isCleanGapXml(stripped))
|
|
169083
|
+
return false;
|
|
169084
|
+
if (stripped === between)
|
|
169085
|
+
return true;
|
|
169086
|
+
const left = previous.mark?.fragment.enclosingParagraphRsid;
|
|
169087
|
+
const right = next.mark?.fragment.enclosingParagraphRsid;
|
|
169088
|
+
return Boolean(left && right && left.toUpperCase() === right.toUpperCase());
|
|
169089
|
+
}
|
|
168760
169090
|
function collectSameIdentityRuns(atoms) {
|
|
168761
169091
|
const runs = [];
|
|
168762
169092
|
let current = [];
|
|
@@ -168791,17 +169121,17 @@ function isSameGroupIdentity(a, b) {
|
|
|
168791
169121
|
function materializeReviewGroup(lookupContext, storyId, partUri, partXml, run, input) {
|
|
168792
169122
|
const textAtoms = run.filter((atom) => atom.kind === "text");
|
|
168793
169123
|
const markAtoms = run.filter((atom) => atom.kind === "mark");
|
|
169124
|
+
const objectAtoms = run.filter((atom) => atom.kind === "object");
|
|
168794
169125
|
if (textAtoms.length === 0 || markAtoms.length === 0)
|
|
168795
169126
|
return;
|
|
168796
169127
|
const carrierParagraphStarts = new Set([
|
|
168797
169128
|
...textAtoms.map((atom) => atom.candidate.paragraphStart),
|
|
169129
|
+
...objectAtoms.map((atom) => atom.candidate.paragraphStart),
|
|
168798
169130
|
...markAtoms.map((atom) => atom.candidate.paragraphStart)
|
|
168799
169131
|
]);
|
|
168800
|
-
const fullParagraphStarts = new Set(markAtoms.filter((atom) => atom.candidate.fragment.fullParagraphInsertion === true
|
|
168801
|
-
let
|
|
168802
|
-
if ([...carrierParagraphStarts].every((paragraphStart) => fullParagraphStarts.has(paragraphStart))) {
|
|
168803
|
-
if (markAtoms.length !== 1)
|
|
168804
|
-
return;
|
|
169132
|
+
const fullParagraphStarts = new Set(markAtoms.filter((atom) => atom.candidate.fragment.fullParagraphInsertion === true).map((atom) => atom.candidate.paragraphStart));
|
|
169133
|
+
let fullParagraphOwner;
|
|
169134
|
+
if (markAtoms.length === 1 && [...carrierParagraphStarts].every((paragraphStart) => fullParagraphStarts.has(paragraphStart))) {
|
|
168805
169135
|
const marker = markAtoms[0].candidate.fragment;
|
|
168806
169136
|
const paragraphStart = marker.enclosingElementStart;
|
|
168807
169137
|
const paragraphEnd = marker.enclosingElementEnd;
|
|
@@ -168811,12 +169141,12 @@ function materializeReviewGroup(lookupContext, storyId, partUri, partXml, run, i
|
|
|
168811
169141
|
const subtype = classifyFullParagraphInsertion(lookupContext, partXml, paragraphStart, paragraphEnd, paragraphXml).subtype;
|
|
168812
169142
|
if (subtype === "table-split")
|
|
168813
169143
|
return;
|
|
168814
|
-
if (subtype === "list-item-insertion") {
|
|
169144
|
+
if (subtype === "list-item-insertion" || objectAtoms.length > 0) {
|
|
168815
169145
|
const candidate2 = markAtoms[0].candidate;
|
|
168816
|
-
const ownsStructuralContent = input.byStory.get(storyId)?.some((entry) => entry.type === "structural" && entry !== candidate2.entry && entry.structuralFragments.some((fragment2) => fragment2.byteStart >= paragraphStart && fragment2.byteEnd <= paragraphEnd));
|
|
169146
|
+
const ownsStructuralContent = input.byStory.get(storyId)?.some((entry) => entry.type === "structural" && entry !== candidate2.entry && !objectAtoms.some((atom) => atom.candidate.entry === entry) && entry.structuralFragments.some((fragment2) => fragment2.byteStart >= paragraphStart && fragment2.byteEnd <= paragraphEnd));
|
|
168817
169147
|
if (ownsStructuralContent)
|
|
168818
169148
|
return;
|
|
168819
|
-
|
|
169149
|
+
fullParagraphOwner = candidate2;
|
|
168820
169150
|
}
|
|
168821
169151
|
}
|
|
168822
169152
|
const memberEntries = [];
|
|
@@ -168839,15 +169169,15 @@ function materializeReviewGroup(lookupContext, storyId, partUri, partXml, run, i
|
|
|
168839
169169
|
const markKey = markParagraphIds.every((paraId) => paraId != null) ? markParagraphIds.map((paraId) => `p:${paraId}`).join(",") : markOrdinals.join(",");
|
|
168840
169170
|
const groupHash = hashGroupKey(["word-inserted-paragraph-range", storyId, identityKey, `pm:${markKey}`, `tx:${textAtoms.length}`].join("|"));
|
|
168841
169171
|
const groupId = buildLogicalId(storyId, "ins", "word-paragraph-range", groupHash);
|
|
168842
|
-
if (
|
|
169172
|
+
if (fullParagraphOwner) {
|
|
168843
169173
|
materializeFullParagraphInsertion(lookupContext, {
|
|
168844
169174
|
storyId,
|
|
168845
169175
|
partUri,
|
|
168846
169176
|
partXml,
|
|
168847
|
-
structuralEntry:
|
|
168848
|
-
marker:
|
|
169177
|
+
structuralEntry: fullParagraphOwner.entry,
|
|
169178
|
+
marker: fullParagraphOwner.fragment,
|
|
168849
169179
|
textEntries: uniqueEntries(textAtoms.map((atom) => atom.candidate.entry)),
|
|
168850
|
-
objectEntries:
|
|
169180
|
+
objectEntries: uniqueEntries(objectAtoms.map((atom) => atom.candidate.entry)),
|
|
168851
169181
|
logicalId: groupId,
|
|
168852
169182
|
input
|
|
168853
169183
|
});
|
|
@@ -168855,8 +169185,11 @@ function materializeReviewGroup(lookupContext, storyId, partUri, partXml, run, i
|
|
|
168855
169185
|
}
|
|
168856
169186
|
const canonicalText = buildCanonicalGroupText(partXml, run);
|
|
168857
169187
|
const fragments = textAtoms.map((atom) => atom.fragment);
|
|
168858
|
-
const structuralFragments =
|
|
168859
|
-
|
|
169188
|
+
const structuralFragments = [
|
|
169189
|
+
...objectAtoms.map((atom) => atom.fragment),
|
|
169190
|
+
...markAtoms.map((atom) => atom.candidate.fragment)
|
|
169191
|
+
].sort((left, right) => left.byteStart - right.byteStart);
|
|
169192
|
+
const semanticPositions = run.filter((atom) => atom.kind !== "blocker").map((atom) => atom.kind === "mark" ? { start: atom.candidate.paragraphEnd, end: atom.candidate.paragraphEnd } : { start: atom.fragment.byteStart, end: atom.fragment.byteEnd });
|
|
168860
169193
|
const documentOrderStart = Math.min(...semanticPositions.map((position) => position.start));
|
|
168861
169194
|
const documentOrderEnd = Math.max(...semanticPositions.map((position) => position.end));
|
|
168862
169195
|
const textEntries = uniqueEntries(textAtoms.map((atom) => atom.candidate.entry));
|
|
@@ -168872,26 +169205,45 @@ function materializeReviewGroup(lookupContext, storyId, partUri, partXml, run, i
|
|
|
168872
169205
|
...structuralFragments.map((fragment2) => fragment2.date)
|
|
168873
169206
|
]);
|
|
168874
169207
|
const headEntry = memberEntries[0];
|
|
168875
|
-
const
|
|
168876
|
-
|
|
168877
|
-
|
|
168878
|
-
|
|
168879
|
-
|
|
168880
|
-
|
|
168881
|
-
|
|
168882
|
-
|
|
168883
|
-
|
|
168884
|
-
|
|
168885
|
-
|
|
168886
|
-
|
|
168887
|
-
|
|
168888
|
-
|
|
168889
|
-
|
|
168890
|
-
|
|
168891
|
-
|
|
168892
|
-
|
|
168893
|
-
|
|
168894
|
-
|
|
169208
|
+
const ownedNotes = uniqueNonEmptyStrings(memberEntries.flatMap((entry) => ownedNoteIds(entry)));
|
|
169209
|
+
const members = run.filter((atom) => atom.kind !== "blocker").map((atom) => {
|
|
169210
|
+
if (atom.kind === "text") {
|
|
169211
|
+
return {
|
|
169212
|
+
logicalId: atom.candidate.entry.id,
|
|
169213
|
+
carrier: "text",
|
|
169214
|
+
partUri,
|
|
169215
|
+
storyId,
|
|
169216
|
+
rsid: atom.fragment.rsid,
|
|
169217
|
+
...atom.fragment.wId ? { wordId: atom.fragment.wId } : {},
|
|
169218
|
+
subtype: "text-insertion",
|
|
169219
|
+
byteStart: atom.fragment.byteStart,
|
|
169220
|
+
byteEnd: atom.fragment.byteEnd
|
|
169221
|
+
};
|
|
169222
|
+
}
|
|
169223
|
+
if (atom.kind === "object") {
|
|
169224
|
+
return {
|
|
169225
|
+
logicalId: atom.candidate.entry.id,
|
|
169226
|
+
carrier: "structural",
|
|
169227
|
+
partUri,
|
|
169228
|
+
storyId,
|
|
169229
|
+
entityKey: atom.fragment.entityKey,
|
|
169230
|
+
...atom.fragment.wId ? { wordId: atom.fragment.wId } : {},
|
|
169231
|
+
subtype: atom.fragment.structuralKind,
|
|
169232
|
+
byteStart: atom.fragment.byteStart,
|
|
169233
|
+
byteEnd: atom.fragment.byteEnd
|
|
169234
|
+
};
|
|
169235
|
+
}
|
|
169236
|
+
return {
|
|
169237
|
+
logicalId: atom.candidate.entry.id,
|
|
169238
|
+
carrier: "structural",
|
|
169239
|
+
partUri,
|
|
169240
|
+
storyId,
|
|
169241
|
+
entityKey: atom.candidate.fragment.entityKey,
|
|
169242
|
+
...atom.candidate.fragment.wId ? { wordId: atom.candidate.fragment.wId } : {},
|
|
169243
|
+
subtype: "paragraph-mark-insertion",
|
|
169244
|
+
byteStart: atom.candidate.fragment.byteStart,
|
|
169245
|
+
byteEnd: atom.candidate.fragment.byteEnd
|
|
169246
|
+
};
|
|
168895
169247
|
});
|
|
168896
169248
|
const parent = {
|
|
168897
169249
|
id: groupId,
|
|
@@ -168900,7 +169252,8 @@ function materializeReviewGroup(lookupContext, storyId, partUri, partXml, run, i
|
|
|
168900
169252
|
state: "open",
|
|
168901
169253
|
storyId,
|
|
168902
169254
|
partUri,
|
|
168903
|
-
noteId: null,
|
|
169255
|
+
noteId: ownedNotes[0] ?? memberEntries.find((entry) => entry.noteId != null)?.noteId ?? null,
|
|
169256
|
+
noteIds: ownedNotes.length > 0 ? ownedNotes : null,
|
|
168904
169257
|
documentOrderStart,
|
|
168905
169258
|
documentOrderEnd,
|
|
168906
169259
|
author: { name: headEntry.author.name, initials: headEntry.author.initials },
|
|
@@ -169014,9 +169367,17 @@ function uniqueNonEmptyStrings(values) {
|
|
|
169014
169367
|
}
|
|
169015
169368
|
return out;
|
|
169016
169369
|
}
|
|
169370
|
+
function ownedNoteIds(entry) {
|
|
169371
|
+
if (entry.noteIds && entry.noteIds.length > 0)
|
|
169372
|
+
return [...entry.noteIds];
|
|
169373
|
+
return entry.noteId != null ? [entry.noteId] : [];
|
|
169374
|
+
}
|
|
169017
169375
|
function isBodyStoryId(storyId) {
|
|
169018
169376
|
return storyId.startsWith("main:") || storyId.endsWith(":/word/document.xml");
|
|
169019
169377
|
}
|
|
169378
|
+
function isNotesStoryId(storyId) {
|
|
169379
|
+
return storyId.startsWith("footnotes:") || storyId.startsWith("endnotes:");
|
|
169380
|
+
}
|
|
169020
169381
|
function buildBodyParagraphOrdinalIndexWithLookupContext(lookupContext, partXml) {
|
|
169021
169382
|
const bodyOpen = /<([\w.-]+):body\b[^>]*>/.exec(partXml);
|
|
169022
169383
|
if (!bodyOpen) {
|
|
@@ -169997,13 +170358,14 @@ function materializeDeletionGroup(storyId, partUri, partXml, run, carrierOrdinal
|
|
|
169997
170358
|
].filter((ordinal) => ordinal !== undefined).sort((a, b) => a - b);
|
|
169998
170359
|
const memberParagraphTokens = run.filter((atom) => atom.kind !== "blocker").map((atom) => {
|
|
169999
170360
|
const paraId = readParagraphIdAt(partXml, atom.candidate.paragraphStart);
|
|
170000
|
-
|
|
170361
|
+
const kindToken = atom.kind === "mark" ? "m" : atom.kind === "object" ? "o" : "t";
|
|
170362
|
+
return paraId != null ? `${kindToken}@p:${paraId}` : null;
|
|
170001
170363
|
});
|
|
170002
170364
|
const memberKey = memberParagraphTokens.every((token) => token != null) ? memberParagraphTokens.join(",") : carrierOrdinals.join(",");
|
|
170003
170365
|
const groupHash = hashGroupKey(["word-deleted-paragraph-range", storyId, partUri, `co:${memberKey}`].join("|"));
|
|
170004
170366
|
const groupId = buildLogicalId(storyId, "del", "word-deleted-paragraph-range", groupHash);
|
|
170005
170367
|
const canonicalText = buildCanonicalDeletionGroupText(partXml, run);
|
|
170006
|
-
const semanticPositions = run.filter((atom) => atom.kind !== "blocker").map((atom) => atom.kind === "
|
|
170368
|
+
const semanticPositions = run.filter((atom) => atom.kind !== "blocker").map((atom) => atom.kind === "mark" ? { start: atom.candidate.paragraphEnd, end: atom.candidate.paragraphEnd } : { start: atom.fragment.byteStart, end: atom.fragment.byteEnd });
|
|
170007
170369
|
const documentOrderStart = Math.min(...semanticPositions.map((position) => position.start));
|
|
170008
170370
|
const documentOrderEnd = Math.max(...semanticPositions.map((position) => position.end));
|
|
170009
170371
|
const textEntries = uniqueEntries(textAtoms.map((atom) => atom.candidate.entry));
|
|
@@ -170021,7 +170383,7 @@ function materializeDeletionGroup(storyId, partUri, partXml, run, carrierOrdinal
|
|
|
170021
170383
|
const headEntry = memberEntries[0];
|
|
170022
170384
|
const hasDeletedText = textAtoms.length > 0;
|
|
170023
170385
|
const structuralDelta = hasDeletedText ? null : buildDeletedParagraphMarkRangeStructuralDelta(partXml, structuralFragments);
|
|
170024
|
-
const members = run.filter((atom) => atom.kind
|
|
170386
|
+
const members = run.filter((atom) => atom.kind === "text" || atom.kind === "mark").map((atom) => atom.kind === "text" ? {
|
|
170025
170387
|
logicalId: atom.candidate.entry.id,
|
|
170026
170388
|
carrier: "text",
|
|
170027
170389
|
partUri,
|
|
@@ -174115,6 +174477,7 @@ function buildStructuralLogical(lookupContext, entityKey, group, noteId, partXml
|
|
|
174115
174477
|
documentOrderStart,
|
|
174116
174478
|
documentOrderEnd,
|
|
174117
174479
|
author: { name: head.author.name, initials: head.author.initials },
|
|
174480
|
+
authorEmail: head.authorEmail ?? null,
|
|
174118
174481
|
date: head.date,
|
|
174119
174482
|
sourceIds,
|
|
174120
174483
|
revisionGroupId: id,
|
|
@@ -180832,7 +181195,7 @@ function reserveRevisionWIdBlock(state, count) {
|
|
|
180832
181195
|
}
|
|
180833
181196
|
return base2;
|
|
180834
181197
|
}
|
|
180835
|
-
function planRevisionWIdBlock(state, count) {
|
|
181198
|
+
function planRevisionWIdBlock(state, count, options) {
|
|
180836
181199
|
let max2 = state.idReservations.revisionWIds.max;
|
|
180837
181200
|
if (!state.idReservations.revisionWIds.seeded) {
|
|
180838
181201
|
for (const [, bytes] of state.packageBytes.entries()) {
|
|
@@ -180841,6 +181204,9 @@ function planRevisionWIdBlock(state, count) {
|
|
|
180841
181204
|
max2 = value;
|
|
180842
181205
|
}
|
|
180843
181206
|
}
|
|
181207
|
+
if (options?.afterMax != null && options.afterMax > max2) {
|
|
181208
|
+
max2 = options.afterMax;
|
|
181209
|
+
}
|
|
180844
181210
|
const size = Math.max(1, Math.floor(count));
|
|
180845
181211
|
return Array.from({ length: size }, (_, index) => max2 + index + 1);
|
|
180846
181212
|
}
|
|
@@ -216733,7 +217099,8 @@ function compilePastedNotesMetadata(input) {
|
|
|
216733
217099
|
paragraph,
|
|
216734
217100
|
type,
|
|
216735
217101
|
includeMarker: index === 0,
|
|
216736
|
-
paraSalt: paraSalt += 1
|
|
217102
|
+
paraSalt: paraSalt += 1,
|
|
217103
|
+
trackedStamp: input.trackedStamp ?? null
|
|
216737
217104
|
})).join("");
|
|
216738
217105
|
fragments.push(`<w:${type} w:id="${escapeXmlAttribute(destinationId)}">${bodyXml}</w:${type}>`);
|
|
216739
217106
|
}
|
|
@@ -216837,7 +217204,18 @@ function renderNoteParagraphXml(input) {
|
|
|
216837
217204
|
const markerStyle = input.type === "footnote" ? "FootnoteReference" : "EndnoteReference";
|
|
216838
217205
|
const markerLocal = input.type === "footnote" ? "footnoteRef" : "endnoteRef";
|
|
216839
217206
|
const marker = input.includeMarker ? `<w:r><w:rPr><w:rStyle w:val="${markerStyle}"/></w:rPr><w:${markerLocal}/></w:r>` : "";
|
|
216840
|
-
|
|
217207
|
+
const runs = noteBodyRuns(input.paragraph);
|
|
217208
|
+
const inner = `${marker}${renderPasteRuns(runs)}`;
|
|
217209
|
+
const pPrXml = `<w:pPr><w:pStyle w:val="${escapeXmlAttribute(style)}"/></w:pPr>`;
|
|
217210
|
+
const stamp = input.trackedStamp;
|
|
217211
|
+
const pPr = stamp ? renderTrackedParagraphMarkProperties(pPrXml, stamp) : pPrXml;
|
|
217212
|
+
const body = stamp && inner ? wrapNoteTrackedInsertion(inner, stamp) : inner;
|
|
217213
|
+
const rsid = stamp ? ` w:rsidR="${escapeXmlAttribute(stamp.rsid)}"` : "";
|
|
217214
|
+
return `<w:p w14:paraId="${escapeXmlAttribute(paraId)}"${rsid}>` + `${pPr}${body}</w:p>`;
|
|
217215
|
+
}
|
|
217216
|
+
function wrapNoteTrackedInsertion(inner, stamp) {
|
|
217217
|
+
const id = stamp.allocateWId();
|
|
217218
|
+
return `${renderTrackedChangeOpen("ins", id, stamp, true)}${inner}</w:ins>`;
|
|
216841
217219
|
}
|
|
216842
217220
|
function noteBodyRuns(paragraph) {
|
|
216843
217221
|
if (!paragraph.inlines)
|
|
@@ -232266,12 +232644,19 @@ function preparePasteFragmentMutation(input) {
|
|
|
232266
232644
|
if (!review.ok)
|
|
232267
232645
|
return rejected18(txId, review.reason);
|
|
232268
232646
|
const mergedSidecarPerPart = { ...listExtras.perPart, ...imageExtras.value.perPart, ...review.perPart };
|
|
232647
|
+
const pastedNotes = op.fragment.notes ?? [];
|
|
232648
|
+
const noteParagraphs = pastedNotes.flatMap((note) => note.paragraphs);
|
|
232649
|
+
const notesStamp = changeMode === "tracked" && pastedNotes.length > 0 ? pickTrackedStamp(input, trackedFragmentCarrierBudget(noteParagraphs) + noteParagraphs.length) : null;
|
|
232650
|
+
if (changeMode === "tracked" && pastedNotes.length > 0 && !notesStamp) {
|
|
232651
|
+
return rejected18(txId, "no-author-configured");
|
|
232652
|
+
}
|
|
232269
232653
|
const notes = compilePastedNotesMetadata({
|
|
232270
232654
|
state,
|
|
232271
232655
|
blocks: resolvedBlocks,
|
|
232272
|
-
notes:
|
|
232656
|
+
notes: pastedNotes,
|
|
232273
232657
|
documentRelsBytes: plannedPackagePartBytes(state, mergedSidecarPerPart, DOCUMENT_RELS_PART_URI9),
|
|
232274
|
-
contentTypesBytes: plannedPackagePartBytes(state, mergedSidecarPerPart, CONTENT_TYPES_PART_URI11)
|
|
232658
|
+
contentTypesBytes: plannedPackagePartBytes(state, mergedSidecarPerPart, CONTENT_TYPES_PART_URI11),
|
|
232659
|
+
trackedStamp: notesStamp
|
|
232275
232660
|
});
|
|
232276
232661
|
if (!notes.ok)
|
|
232277
232662
|
return rejected18(txId, notes.reason);
|
|
@@ -232287,7 +232672,8 @@ function preparePasteFragmentMutation(input) {
|
|
|
232287
232672
|
patchMaps: { ...listExtras.patchMaps, ...imageExtras.value.patchMaps, ...review.patchMaps, ...notes.patchMaps },
|
|
232288
232673
|
createdRefs: review.createdRefs,
|
|
232289
232674
|
commentIdMap: review.commentIdMap,
|
|
232290
|
-
noteIdMap: notes.noteIdMap
|
|
232675
|
+
noteIdMap: notes.noteIdMap,
|
|
232676
|
+
revisionWIds: usedTrackedWIds(notesStamp)
|
|
232291
232677
|
};
|
|
232292
232678
|
if (isStoryTarget(pasteTarget)) {
|
|
232293
232679
|
if (preflight.plan.target.kind !== "story")
|
|
@@ -232495,7 +232881,9 @@ function runTrackedWholeStoryReplaceCommit(input, target, rendered, blocks, extr
|
|
|
232495
232881
|
const preview = prepare();
|
|
232496
232882
|
if (!preview)
|
|
232497
232883
|
return rejected18(txId, "paste-tracked-structural-unsupported");
|
|
232498
|
-
const revisionWIds = planRevisionWIdBlock(state, preview.wordIds.length
|
|
232884
|
+
const revisionWIds = planRevisionWIdBlock(state, preview.wordIds.length, {
|
|
232885
|
+
afterMax: afterMaxFromPlannedRevisionWIds(extras.revisionWIds)
|
|
232886
|
+
});
|
|
232499
232887
|
const replacement = prepare(revisionWIds);
|
|
232500
232888
|
if (!replacement)
|
|
232501
232889
|
return rejected18(txId, "paste-tracked-structural-unsupported");
|
|
@@ -232525,7 +232913,7 @@ function runTrackedWholeStoryReplaceCommit(input, target, rendered, blocks, extr
|
|
|
232525
232913
|
extraPatchMaps: extras.patchMaps,
|
|
232526
232914
|
packagePartUris: inlineExtras.partUris,
|
|
232527
232915
|
storyWideProjection: true,
|
|
232528
|
-
revisionWIds,
|
|
232916
|
+
revisionWIds: [...revisionWIds, ...extras.revisionWIds ?? []],
|
|
232529
232917
|
indexRefreshScope: { perPart: { [target.partUri]: {
|
|
232530
232918
|
beforeWindow: { startByte: target.byteStart, endByte: target.byteEnd },
|
|
232531
232919
|
kind: "wide-rewrite",
|
|
@@ -232611,7 +232999,7 @@ function runParagraphBlockPasteCommit(input, target, blocks, extras, inlineExtra
|
|
|
232611
232999
|
return rejected18(txId, "paste-target-unsupported");
|
|
232612
233000
|
const changeMode = op.changeMode ?? "direct";
|
|
232613
233001
|
const anchorXml = TD64.decode(bytes.subarray(anchor.byteStart, anchor.byteEnd));
|
|
232614
|
-
const trackedStamp = changeMode === "tracked" ? pickTrackedStamp(input, trackedFragmentCarrierBudget(blocks) + (target.placement === "replace" ? trackedBlockDeletionCarrierBudget(anchorXml) : 2)) : null;
|
|
233002
|
+
const trackedStamp = changeMode === "tracked" ? pickTrackedStamp(input, trackedFragmentCarrierBudget(blocks) + (target.placement === "replace" ? trackedBlockDeletionCarrierBudget(anchorXml) : 2), { afterMax: afterMaxFromPlannedRevisionWIds(extras.revisionWIds) }) : null;
|
|
232615
233003
|
if (changeMode === "tracked" && !trackedStamp)
|
|
232616
233004
|
return rejected18(txId, "no-author-configured");
|
|
232617
233005
|
const trackedDeletedAnchor = trackedStamp && target.placement === "replace" ? renderTrackedBlockDeletion({
|
|
@@ -232763,7 +233151,7 @@ function runParagraphBlockPasteCommit(input, target, blocks, extras, inlineExtra
|
|
|
232763
233151
|
extraPatchMaps: { ...extras.patchMaps, ...commentCascade.patchMaps, ...resourceCleanup.patchMaps },
|
|
232764
233152
|
packagePartUris: [...inlineExtras.partUris, ...resourceCleanup.packagePartUris],
|
|
232765
233153
|
storyWideProjection: target.placement === "replace" || blocks.some((block) => block.kind === "table"),
|
|
232766
|
-
revisionWIds: usedTrackedWIds(trackedStamp),
|
|
233154
|
+
revisionWIds: usedTrackedWIds(trackedStamp, extras.revisionWIds),
|
|
232767
233155
|
...target.placement === "replace" ? {
|
|
232768
233156
|
indexRefreshScope: {
|
|
232769
233157
|
perPart: {
|
|
@@ -232788,7 +233176,7 @@ function runWholeTableReplaceCommit(input, target, blocks, extras, inlineExtras)
|
|
|
232788
233176
|
return rejected18(txId, "paste-target-unsupported");
|
|
232789
233177
|
}
|
|
232790
233178
|
const replacedParagraphs = index.entries.filter((entry) => entry.byteStart >= target.byteStart && entry.byteEnd <= target.byteEnd);
|
|
232791
|
-
const trackedStamp = changeMode === "tracked" ? pickTrackedStamp(input, trackedFragmentCarrierBudget(blocks) + table.rows.length + 2) : null;
|
|
233179
|
+
const trackedStamp = changeMode === "tracked" ? pickTrackedStamp(input, trackedFragmentCarrierBudget(blocks) + table.rows.length + 2, { afterMax: afterMaxFromPlannedRevisionWIds(extras.revisionWIds) }) : null;
|
|
232792
233180
|
if (changeMode === "tracked" && !trackedStamp)
|
|
232793
233181
|
return rejected18(txId, "no-author-configured");
|
|
232794
233182
|
const replacedXml = TD64.decode(bytes.subarray(target.byteStart, target.byteEnd));
|
|
@@ -232893,7 +233281,7 @@ function runWholeTableReplaceCommit(input, target, blocks, extras, inlineExtras)
|
|
|
232893
233281
|
extraPatchMaps: { ...extras.patchMaps, ...commentCascade.patchMaps },
|
|
232894
233282
|
packagePartUris: inlineExtras.partUris,
|
|
232895
233283
|
storyWideProjection: true,
|
|
232896
|
-
revisionWIds: usedTrackedWIds(trackedStamp),
|
|
233284
|
+
revisionWIds: usedTrackedWIds(trackedStamp, extras.revisionWIds),
|
|
232897
233285
|
indexRefreshScope: {
|
|
232898
233286
|
perPart: {
|
|
232899
233287
|
[target.partUri]: {
|
|
@@ -232928,7 +233316,7 @@ function runCrossParagraphTrackedPasteCommit(input, target, blocks, extras, inli
|
|
|
232928
233316
|
if (!rangeIntegrity.ok)
|
|
232929
233317
|
return rejected18(txId, "invalid-range");
|
|
232930
233318
|
const coveredEntries = index.entries.filter((entry) => entry.ordinal >= start.ordinal && entry.ordinal <= end.ordinal);
|
|
232931
|
-
const stamp = pickTrackedStamp(input, trackedFragmentCarrierBudget(blocks) + coveredEntries.length * 3 + 4);
|
|
233319
|
+
const stamp = pickTrackedStamp(input, trackedFragmentCarrierBudget(blocks) + coveredEntries.length * 3 + 4, { afterMax: afterMaxFromPlannedRevisionWIds(extras.revisionWIds) });
|
|
232932
233320
|
if (!stamp)
|
|
232933
233321
|
return rejected18(txId, "no-author-configured");
|
|
232934
233322
|
const patches = [];
|
|
@@ -233030,7 +233418,7 @@ function runCrossParagraphTrackedPasteCommit(input, target, blocks, extras, inli
|
|
|
233030
233418
|
extraPatchMaps: extras.patchMaps,
|
|
233031
233419
|
packagePartUris: inlineExtras.partUris,
|
|
233032
233420
|
storyWideProjection: true,
|
|
233033
|
-
revisionWIds: usedTrackedWIds(stamp),
|
|
233421
|
+
revisionWIds: usedTrackedWIds(stamp, extras.revisionWIds),
|
|
233034
233422
|
indexRefreshScope: {
|
|
233035
233423
|
perPart: {
|
|
233036
233424
|
[target.partUri]: {
|
|
@@ -233070,7 +233458,9 @@ function runCrossParagraphPasteCommit(input, target, blocks, extras, inlineExtra
|
|
|
233070
233458
|
return rejected18(txId, "invalid-range");
|
|
233071
233459
|
const endpointXml = TD64.decode(bytes.subarray(start.byteStart, start.byteEnd)) + TD64.decode(bytes.subarray(end.byteStart, end.byteEnd));
|
|
233072
233460
|
const wrapperCount = [...endpointXml.matchAll(/<(?:[\w.-]+:)?(?:ins|del|moveFrom|moveTo)\b/g)].length;
|
|
233073
|
-
const plannedWIds = planRevisionWIdBlock(state, Math.max(1, wrapperCount * 2 + 4)
|
|
233461
|
+
const plannedWIds = planRevisionWIdBlock(state, Math.max(1, wrapperCount * 2 + 4), {
|
|
233462
|
+
afterMax: afterMaxFromPlannedRevisionWIds(extras.revisionWIds)
|
|
233463
|
+
});
|
|
233074
233464
|
let usedWIds = 0;
|
|
233075
233465
|
let splicePlan;
|
|
233076
233466
|
let mintSalt = 0;
|
|
@@ -233147,7 +233537,7 @@ function runCrossParagraphPasteCommit(input, target, blocks, extras, inlineExtra
|
|
|
233147
233537
|
packagePartUris: inlineExtras.partUris,
|
|
233148
233538
|
storyWideProjection: true,
|
|
233149
233539
|
indexRefreshScope: contribution.indexRefreshScope,
|
|
233150
|
-
revisionWIds: plannedWIds.slice(0, usedWIds)
|
|
233540
|
+
revisionWIds: [...plannedWIds.slice(0, usedWIds), ...extras.revisionWIds ?? []]
|
|
233151
233541
|
});
|
|
233152
233542
|
}
|
|
233153
233543
|
function collectRemovedBookmarkRefs(ownerXml, removedXml, storyId) {
|
|
@@ -233223,7 +233613,7 @@ function tryRunTableRowPasteCommit(input, pasteTarget, pastedBlocks, additionalP
|
|
|
233223
233613
|
scopeHintOpenTag: matchParagraphOpenTag(targetParagraphXml) ?? ""
|
|
233224
233614
|
});
|
|
233225
233615
|
const createdParagraphIds = [];
|
|
233226
|
-
const trackedStamp = (input.op.changeMode ?? "direct") === "tracked" ? pickTrackedStamp(input, trackedFragmentCarrierBudget(pastedBlocks) + 2) : null;
|
|
233616
|
+
const trackedStamp = (input.op.changeMode ?? "direct") === "tracked" ? pickTrackedStamp(input, trackedFragmentCarrierBudget(pastedBlocks) + 2, { afterMax: afterMaxFromPlannedRevisionWIds(additionalPatches.revisionWIds) }) : null;
|
|
233227
233617
|
if ((input.op.changeMode ?? "direct") === "tracked" && !trackedStamp) {
|
|
233228
233618
|
return rejected18(transactionId, "no-author-configured");
|
|
233229
233619
|
}
|
|
@@ -233310,7 +233700,7 @@ function tryRunTableRowPasteCommit(input, pasteTarget, pastedBlocks, additionalP
|
|
|
233310
233700
|
provisionalToFinal: Object.fromEntries(createdParagraphIds.map((paragraphId, index) => [`${transactionId}:paste:${index}`, paragraphId])),
|
|
233311
233701
|
extraPatchMaps: additionalPatches.patchMaps,
|
|
233312
233702
|
storyWideProjection: true,
|
|
233313
|
-
revisionWIds: usedTrackedWIds(trackedStamp)
|
|
233703
|
+
revisionWIds: usedTrackedWIds(trackedStamp, additionalPatches.revisionWIds)
|
|
233314
233704
|
});
|
|
233315
233705
|
}
|
|
233316
233706
|
function findContainingTableCell(tableCatalog, targetParagraph) {
|
|
@@ -233710,7 +234100,7 @@ function runPasteSpliceCommit(input, target, resolvedBlocks, listExtras, imageEx
|
|
|
233710
234100
|
const changeMode = input.op.changeMode ?? "direct";
|
|
233711
234101
|
const wrapAllTracked = changeMode === "tracked";
|
|
233712
234102
|
const fragmentTracked = fragmentHasTrackedInsertion(resolvedBlocks);
|
|
233713
|
-
const trackedStamp = wrapAllTracked || fragmentTracked ? pickTrackedStamp(input, trackedFragmentCarrierBudget(resolvedBlocks) + 4) : null;
|
|
234103
|
+
const trackedStamp = wrapAllTracked || fragmentTracked ? pickTrackedStamp(input, trackedFragmentCarrierBudget(resolvedBlocks) + 4, { afterMax: afterMaxFromPlannedRevisionWIds(listExtras.revisionWIds) }) : null;
|
|
233714
234104
|
if ((wrapAllTracked || fragmentTracked) && !trackedStamp)
|
|
233715
234105
|
return rejected18(txId, "no-author-configured");
|
|
233716
234106
|
let mintSalt = 0;
|
|
@@ -233840,7 +234230,7 @@ function runPasteSpliceCommit(input, target, resolvedBlocks, listExtras, imageEx
|
|
|
233840
234230
|
extraPatchMaps: listExtras.patchMaps,
|
|
233841
234231
|
storyWideProjection: resolvedBlocks.some((block) => block.kind === "table"),
|
|
233842
234232
|
packagePartUris: imageExtras.partUris,
|
|
233843
|
-
revisionWIds: usedTrackedWIds(trackedStamp),
|
|
234233
|
+
revisionWIds: usedTrackedWIds(trackedStamp, listExtras.revisionWIds),
|
|
233844
234234
|
indexRefreshScope: {
|
|
233845
234235
|
perPart: {
|
|
233846
234236
|
[partUri]: {
|
|
@@ -234860,11 +235250,11 @@ function injectTrackedMarkIntoLastParagraph(xml, stamp, kind) {
|
|
|
234860
235250
|
const replacement = injectTrackedParagraphMarkIntoXml(match[0], stamp, kind);
|
|
234861
235251
|
return xml.slice(0, match.index) + replacement + xml.slice(match.index + match[0].length);
|
|
234862
235252
|
}
|
|
234863
|
-
function pickTrackedStamp(input, capacity) {
|
|
235253
|
+
function pickTrackedStamp(input, capacity, options) {
|
|
234864
235254
|
const author = input.authorOverride ?? input.author;
|
|
234865
235255
|
if (!author)
|
|
234866
235256
|
return null;
|
|
234867
|
-
const plannedWIds = planRevisionWIdBlock(input.state, Math.max(1, capacity));
|
|
235257
|
+
const plannedWIds = planRevisionWIdBlock(input.state, Math.max(1, capacity), options);
|
|
234868
235258
|
const stamp = {
|
|
234869
235259
|
rsid: allocateTxRsid(input.txId),
|
|
234870
235260
|
plannedWIds,
|
|
@@ -234881,8 +235271,17 @@ function pickTrackedStamp(input, capacity) {
|
|
|
234881
235271
|
};
|
|
234882
235272
|
return stamp;
|
|
234883
235273
|
}
|
|
234884
|
-
function
|
|
234885
|
-
|
|
235274
|
+
function afterMaxFromPlannedRevisionWIds(revisionWIds) {
|
|
235275
|
+
if (!revisionWIds || revisionWIds.length === 0)
|
|
235276
|
+
return;
|
|
235277
|
+
return Math.max(...revisionWIds);
|
|
235278
|
+
}
|
|
235279
|
+
function usedTrackedWIds(stamp, extra) {
|
|
235280
|
+
const ids = [
|
|
235281
|
+
...stamp ? stamp.plannedWIds.slice(0, stamp.usedWIdCount) : [],
|
|
235282
|
+
...extra ?? []
|
|
235283
|
+
];
|
|
235284
|
+
return ids.length > 0 ? ids : undefined;
|
|
234886
235285
|
}
|
|
234887
235286
|
function replayTrackedStamp(source) {
|
|
234888
235287
|
const replay = {
|
|
@@ -271720,7 +272119,7 @@ var init_word_bibliography = __esm(() => {
|
|
|
271720
272119
|
];
|
|
271721
272120
|
});
|
|
271722
272121
|
|
|
271723
|
-
//
|
|
272122
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/cascade.ts
|
|
271724
272123
|
function combineProperties(propertiesArray, options = {}) {
|
|
271725
272124
|
const { fullOverrideProps = [], specialHandling = {} } = options;
|
|
271726
272125
|
if (!propertiesArray || propertiesArray.length === 0) {
|
|
@@ -271820,14 +272219,14 @@ var init_cascade = __esm(() => {
|
|
|
271820
272219
|
];
|
|
271821
272220
|
});
|
|
271822
272221
|
|
|
271823
|
-
//
|
|
272222
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/index.ts
|
|
271824
272223
|
var sdtMetadataCache;
|
|
271825
272224
|
var init_src4 = __esm(() => {
|
|
271826
272225
|
init_cascade();
|
|
271827
272226
|
sdtMetadataCache = new Map;
|
|
271828
272227
|
});
|
|
271829
272228
|
|
|
271830
|
-
//
|
|
272229
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/ooxml/table-style-selection.ts
|
|
271831
272230
|
function isKnownTableStyleId(styleId, translatedLinkedStyles) {
|
|
271832
272231
|
if (!styleId || !translatedLinkedStyles?.styles)
|
|
271833
272232
|
return false;
|
|
@@ -271882,7 +272281,7 @@ var init_table_style_selection = __esm(() => {
|
|
|
271882
272281
|
};
|
|
271883
272282
|
});
|
|
271884
272283
|
|
|
271885
|
-
//
|
|
272284
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/ooxml/index.ts
|
|
271886
272285
|
function resolveRunProperties(params, inlineRpr, resolvedPpr, tableInfo = null, isListNumber = false, numberingDefinedInline = false) {
|
|
271887
272286
|
if (!params.translatedLinkedStyles?.styles) {
|
|
271888
272287
|
return inlineRpr ?? {};
|
|
@@ -272465,7 +272864,7 @@ var init_default_floors = __esm(() => {
|
|
|
272465
272864
|
};
|
|
272466
272865
|
});
|
|
272467
272866
|
|
|
272468
|
-
//
|
|
272867
|
+
// ../../../v2/node_modules/.pnpm/sax@1.6.0/node_modules/sax/lib/sax.js
|
|
272469
272868
|
var require_sax = __commonJS((exports) => {
|
|
272470
272869
|
(function(sax) {
|
|
272471
272870
|
sax.parser = function(strict, opt) {
|
|
@@ -273999,7 +274398,7 @@ Char: ` + parser.c;
|
|
|
273999
274398
|
})(typeof exports === "undefined" ? exports.sax = {} : exports);
|
|
274000
274399
|
});
|
|
274001
274400
|
|
|
274002
|
-
//
|
|
274401
|
+
// ../../../v2/node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/array-helper.js
|
|
274003
274402
|
var require_array_helper = __commonJS((exports, module) => {
|
|
274004
274403
|
module.exports = {
|
|
274005
274404
|
isArray: function(value) {
|
|
@@ -274011,7 +274410,7 @@ var require_array_helper = __commonJS((exports, module) => {
|
|
|
274011
274410
|
};
|
|
274012
274411
|
});
|
|
274013
274412
|
|
|
274014
|
-
//
|
|
274413
|
+
// ../../../v2/node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/options-helper.js
|
|
274015
274414
|
var require_options_helper = __commonJS((exports, module) => {
|
|
274016
274415
|
var isArray = require_array_helper().isArray;
|
|
274017
274416
|
module.exports = {
|
|
@@ -274050,7 +274449,7 @@ var require_options_helper = __commonJS((exports, module) => {
|
|
|
274050
274449
|
};
|
|
274051
274450
|
});
|
|
274052
274451
|
|
|
274053
|
-
//
|
|
274452
|
+
// ../../../v2/node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/xml2js.js
|
|
274054
274453
|
var require_xml2js = __commonJS((exports, module) => {
|
|
274055
274454
|
var sax = require_sax();
|
|
274056
274455
|
var expat = { on: function() {}, parse: function() {} };
|
|
@@ -274388,7 +274787,7 @@ var require_xml2js = __commonJS((exports, module) => {
|
|
|
274388
274787
|
};
|
|
274389
274788
|
});
|
|
274390
274789
|
|
|
274391
|
-
//
|
|
274790
|
+
// ../../../v2/node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/xml2json.js
|
|
274392
274791
|
var require_xml2json = __commonJS((exports, module) => {
|
|
274393
274792
|
var helper = require_options_helper();
|
|
274394
274793
|
var xml2js = require_xml2js();
|
|
@@ -274413,7 +274812,7 @@ var require_xml2json = __commonJS((exports, module) => {
|
|
|
274413
274812
|
};
|
|
274414
274813
|
});
|
|
274415
274814
|
|
|
274416
|
-
//
|
|
274815
|
+
// ../../../v2/node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/js2xml.js
|
|
274417
274816
|
var require_js2xml = __commonJS((exports, module) => {
|
|
274418
274817
|
var helper = require_options_helper();
|
|
274419
274818
|
var isArray = require_array_helper().isArray;
|
|
@@ -274745,7 +275144,7 @@ var require_js2xml = __commonJS((exports, module) => {
|
|
|
274745
275144
|
};
|
|
274746
275145
|
});
|
|
274747
275146
|
|
|
274748
|
-
//
|
|
275147
|
+
// ../../../v2/node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/json2xml.js
|
|
274749
275148
|
var require_json2xml = __commonJS((exports, module) => {
|
|
274750
275149
|
var js2xml = require_js2xml();
|
|
274751
275150
|
module.exports = function(json2, options) {
|
|
@@ -274766,7 +275165,7 @@ var require_json2xml = __commonJS((exports, module) => {
|
|
|
274766
275165
|
};
|
|
274767
275166
|
});
|
|
274768
275167
|
|
|
274769
|
-
//
|
|
275168
|
+
// ../../../v2/node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/index.js
|
|
274770
275169
|
var require_lib = __commonJS((exports, module) => {
|
|
274771
275170
|
var xml2js = require_xml2js();
|
|
274772
275171
|
var xml2json = require_xml2json();
|
|
@@ -274780,7 +275179,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
274780
275179
|
};
|
|
274781
275180
|
});
|
|
274782
275181
|
|
|
274783
|
-
//
|
|
275182
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/ooxml/word-style-model/parse-xml.ts
|
|
274784
275183
|
function bytesToString(input) {
|
|
274785
275184
|
if (typeof input === "string")
|
|
274786
275185
|
return input;
|
|
@@ -274847,7 +275246,7 @@ var init_parse_xml = __esm(() => {
|
|
|
274847
275246
|
ST_OFF = new Set(["0", "false", "off"]);
|
|
274848
275247
|
});
|
|
274849
275248
|
|
|
274850
|
-
//
|
|
275249
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/ooxml/word-style-model/parse-theme.ts
|
|
274851
275250
|
function parseColorPalette(theme) {
|
|
274852
275251
|
if (!theme)
|
|
274853
275252
|
return;
|
|
@@ -277414,7 +277813,7 @@ var init_word_style_model = __esm(() => {
|
|
|
277414
277813
|
init_project_style_catalogue();
|
|
277415
277814
|
});
|
|
277416
277815
|
|
|
277417
|
-
//
|
|
277816
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/normalize/units.ts
|
|
277418
277817
|
function twipsToPx(value) {
|
|
277419
277818
|
return value * PX_PER_TWIP;
|
|
277420
277819
|
}
|
|
@@ -277428,7 +277827,7 @@ var init_units = __esm(() => {
|
|
|
277428
277827
|
PX_PER_EIGHTH_POINT = PX_PER_POINT / 8;
|
|
277429
277828
|
});
|
|
277430
277829
|
|
|
277431
|
-
//
|
|
277830
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/normalize/colors.ts
|
|
277432
277831
|
function normalizeHexColor(value) {
|
|
277433
277832
|
if (value == null)
|
|
277434
277833
|
return;
|
|
@@ -277505,12 +277904,12 @@ var init_colors = __esm(() => {
|
|
|
277505
277904
|
};
|
|
277506
277905
|
});
|
|
277507
277906
|
|
|
277508
|
-
//
|
|
277907
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/normalize/paragraph-attrs.ts
|
|
277509
277908
|
var init_paragraph_attrs = __esm(() => {
|
|
277510
277909
|
init_units();
|
|
277511
277910
|
init_colors();
|
|
277512
277911
|
});
|
|
277513
|
-
//
|
|
277912
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/header-footer-resolution.ts
|
|
277514
277913
|
function createResolutionCache() {
|
|
277515
277914
|
const createVariantCache = () => ({ values: new Map, sectionIndices: [] });
|
|
277516
277915
|
const createKindCache = () => ({
|
|
@@ -277688,12 +278087,12 @@ var HEADER_FOOTER_VARIANTS3;
|
|
|
277688
278087
|
var init_header_footer_resolution = __esm(() => {
|
|
277689
278088
|
HEADER_FOOTER_VARIANTS3 = ["default", "first", "even", "odd"];
|
|
277690
278089
|
});
|
|
277691
|
-
//
|
|
278090
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/justify-utils.ts
|
|
277692
278091
|
var SPACE_CHARS;
|
|
277693
278092
|
var init_justify_utils = __esm(() => {
|
|
277694
278093
|
SPACE_CHARS = new Set([" ", " "]);
|
|
277695
278094
|
});
|
|
277696
|
-
//
|
|
278095
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/vertical-text.ts
|
|
277697
278096
|
function normalizeBaselineShift(baselineShift) {
|
|
277698
278097
|
if (!Number.isFinite(baselineShift)) {
|
|
277699
278098
|
return;
|
|
@@ -277702,14 +278101,14 @@ function normalizeBaselineShift(baselineShift) {
|
|
|
277702
278101
|
return Math.abs(normalizedShift) <= BASELINE_SHIFT_EPSILON ? undefined : normalizedShift;
|
|
277703
278102
|
}
|
|
277704
278103
|
var BASELINE_SHIFT_EPSILON = 0.000001;
|
|
277705
|
-
//
|
|
278104
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/pm-range.ts
|
|
277706
278105
|
var init_pm_range = () => {};
|
|
277707
|
-
//
|
|
278106
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/graphic-placement.ts
|
|
277708
278107
|
var init_graphic_placement = () => {};
|
|
277709
|
-
//
|
|
278108
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/author-colors.ts
|
|
277710
278109
|
var init_author_colors = () => {};
|
|
277711
278110
|
|
|
277712
|
-
//
|
|
278111
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/semantic-colors.ts
|
|
277713
278112
|
var TRACKED_CHANGE_CONFIGURABLE_SEMANTIC_COLOR_KEYS, CONFIGURABLE_SEMANTIC_COLOR_KEY_SET, TRACKED_CHANGE_AFFECTED_RANGE_KEYS;
|
|
277714
278113
|
var init_semantic_colors = __esm(() => {
|
|
277715
278114
|
init_author_colors();
|
|
@@ -277735,20 +278134,20 @@ var init_semantic_colors = __esm(() => {
|
|
|
277735
278134
|
]);
|
|
277736
278135
|
});
|
|
277737
278136
|
|
|
277738
|
-
//
|
|
278137
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/sdt-container.ts
|
|
277739
278138
|
var idlessSdtContainerKeys;
|
|
277740
278139
|
var init_sdt_container = __esm(() => {
|
|
277741
278140
|
idlessSdtContainerKeys = new WeakMap;
|
|
277742
278141
|
});
|
|
277743
|
-
//
|
|
278142
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/page-number-formatting.ts
|
|
277744
278143
|
var init_page_number_formatting = () => {};
|
|
277745
278144
|
|
|
277746
|
-
//
|
|
278145
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/page-ref-anchor.ts
|
|
277747
278146
|
var init_page_ref_anchor = __esm(() => {
|
|
277748
278147
|
init_pm_range();
|
|
277749
278148
|
});
|
|
277750
278149
|
|
|
277751
|
-
//
|
|
278150
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/drawing-taxonomy.ts
|
|
277752
278151
|
var DRAWING_DIAGNOSTIC_CODES, DRAWING_DIAGNOSTIC_CODE_ALIASES, DRAWING_SUPPORT_TAXONOMY, DRAWING_FAMILIES;
|
|
277753
278152
|
var init_drawing_taxonomy = __esm(() => {
|
|
277754
278153
|
DRAWING_DIAGNOSTIC_CODES = {
|
|
@@ -277977,7 +278376,7 @@ var init_drawing_taxonomy = __esm(() => {
|
|
|
277977
278376
|
};
|
|
277978
278377
|
DRAWING_FAMILIES = Object.keys(DRAWING_SUPPORT_TAXONOMY);
|
|
277979
278378
|
});
|
|
277980
|
-
//
|
|
278379
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/incremental-dependency.ts
|
|
277981
278380
|
var PAGE_CHECKPOINT_DEPENDENCY_CLASSES, INCREMENTAL_DEPENDENCY_CERTIFICATE_CLASSES, DRAWING_KINDS, CERTIFICATE_CLASSES;
|
|
277982
278381
|
var init_incremental_dependency = __esm(() => {
|
|
277983
278382
|
PAGE_CHECKPOINT_DEPENDENCY_CLASSES = Object.freeze([
|
|
@@ -278007,10 +278406,10 @@ var init_incremental_dependency = __esm(() => {
|
|
|
278007
278406
|
DRAWING_KINDS = new Set(["image", "vectorShape", "textboxShape", "shapeGroup", "chart"]);
|
|
278008
278407
|
CERTIFICATE_CLASSES = new Set(INCREMENTAL_DEPENDENCY_CERTIFICATE_CLASSES);
|
|
278009
278408
|
});
|
|
278010
|
-
//
|
|
278409
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/engines/index.ts
|
|
278011
278410
|
var init_engines = () => {};
|
|
278012
278411
|
|
|
278013
|
-
//
|
|
278412
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+contracts@file+..+public+packages+layout-engine+contracts/node_modules/@superdoc/contracts/src/index.ts
|
|
278014
278413
|
var SHAPE_TEXT_BASELINE_WARP_PRESETS, SHAPE_TEXT_SINGLE_BAND_ENVELOPE_WARP_PRESETS;
|
|
278015
278414
|
var init_src5 = __esm(() => {
|
|
278016
278415
|
init_header_footer_resolution();
|
|
@@ -278033,7 +278432,7 @@ var init_src5 = __esm(() => {
|
|
|
278033
278432
|
SHAPE_TEXT_SINGLE_BAND_ENVELOPE_WARP_PRESETS = new Set(["textButton"]);
|
|
278034
278433
|
});
|
|
278035
278434
|
|
|
278036
|
-
//
|
|
278435
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+font-utils@file+..+public+shared+font-utils/node_modules/@superdoc/font-utils/index.js
|
|
278037
278436
|
function mapWordFamilyFallback(wordFamily) {
|
|
278038
278437
|
if (!wordFamily)
|
|
278039
278438
|
return DEFAULT_GENERIC_FALLBACK;
|
|
@@ -278127,7 +278526,7 @@ var init_font_utils = __esm(() => {
|
|
|
278127
278526
|
]);
|
|
278128
278527
|
});
|
|
278129
278528
|
|
|
278130
|
-
//
|
|
278529
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/normalize/run-attrs.ts
|
|
278131
278530
|
function normalizeRunAttrsFromOoxml(props, context = {}) {
|
|
278132
278531
|
const out = {};
|
|
278133
278532
|
if (!props)
|
|
@@ -278394,7 +278793,7 @@ var init_run_attrs = __esm(() => {
|
|
|
278394
278793
|
};
|
|
278395
278794
|
});
|
|
278396
278795
|
|
|
278397
|
-
//
|
|
278796
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+style-engine@file+..+public+packages+layout-engine+style-engine/node_modules/@superdoc/style-engine/src/normalize/index.ts
|
|
278398
278797
|
var init_normalize = __esm(() => {
|
|
278399
278798
|
init_paragraph_attrs();
|
|
278400
278799
|
init_run_attrs();
|
|
@@ -301328,14 +301727,14 @@ var init_formatting = __esm(() => {
|
|
|
301328
301727
|
];
|
|
301329
301728
|
PROJECTION_FONT_TABLE_PART_INDEX = STYLE_SIDECAR_PART_URIS.length;
|
|
301330
301729
|
});
|
|
301331
|
-
//
|
|
301730
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+word-layout@file+..+public+packages+word-layout/node_modules/@superdoc/word-layout/src/unit-conversions.ts
|
|
301332
301731
|
var TWIPS_PER_INCH = 1440, PIXELS_PER_INCH = 96, TWIPS_PER_POINT2 = 20, POINTS_PER_TWIP, TWIPS_PER_PIXEL, PIXELS_PER_TWIP;
|
|
301333
301732
|
var init_unit_conversions = __esm(() => {
|
|
301334
301733
|
POINTS_PER_TWIP = 1 / TWIPS_PER_POINT2;
|
|
301335
301734
|
TWIPS_PER_PIXEL = Math.round(TWIPS_PER_INCH / PIXELS_PER_INCH);
|
|
301336
301735
|
PIXELS_PER_TWIP = 1 / TWIPS_PER_PIXEL;
|
|
301337
301736
|
});
|
|
301338
|
-
//
|
|
301737
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+word-layout@file+..+public+packages+word-layout/node_modules/@superdoc/word-layout/src/numbering-manager.ts
|
|
301339
301738
|
function persistentTrieHash(key2) {
|
|
301340
301739
|
let hash2 = 2166136261;
|
|
301341
301740
|
for (let index = 0;index < key2.length; index += 1) {
|
|
@@ -301963,7 +302362,7 @@ var init_numbering_manager = __esm(() => {
|
|
|
301963
302362
|
});
|
|
301964
302363
|
});
|
|
301965
302364
|
|
|
301966
|
-
//
|
|
302365
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+common@file+..+public+shared+common/node_modules/@superdoc/common/list-numbering/index.ts
|
|
301967
302366
|
var handleDecimal = (path6, lvlText) => generateNumbering(path6, lvlText, numberToStringFormatter), handleRoman = (path6, lvlText) => generateNumbering(path6, lvlText, intToRoman), handleLowerRoman = (path6, lvlText) => {
|
|
301968
302367
|
const result = handleRoman(path6, lvlText);
|
|
301969
302368
|
return result ? result.toLowerCase() : null;
|
|
@@ -302265,7 +302664,7 @@ var init_list_numbering = __esm(() => {
|
|
|
302265
302664
|
normalizeChars = new Set(["", "", "○", "o", "■", "□"]);
|
|
302266
302665
|
});
|
|
302267
302666
|
|
|
302268
|
-
//
|
|
302667
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+word-layout@file+..+public+packages+word-layout/node_modules/@superdoc/word-layout/src/list-marker.ts
|
|
302269
302668
|
function computeWordListMarker(input) {
|
|
302270
302669
|
const { definition, manager, paragraphOrdinal } = input;
|
|
302271
302670
|
if (definition.ancestorStartSettings) {
|
|
@@ -302342,7 +302741,7 @@ var init_list_marker = __esm(() => {
|
|
|
302342
302741
|
init_list_numbering();
|
|
302343
302742
|
});
|
|
302344
302743
|
|
|
302345
|
-
//
|
|
302744
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+word-layout@file+..+public+packages+word-layout/node_modules/@superdoc/word-layout/src/review-aware-numbering.ts
|
|
302346
302745
|
function createReviewAwareWordNumberingSequence(options = {}) {
|
|
302347
302746
|
const stateMode = options.stateMode ?? "snapshot";
|
|
302348
302747
|
let live = createManager(stateMode);
|
|
@@ -302439,7 +302838,7 @@ var init_review_aware_numbering = __esm(() => {
|
|
|
302439
302838
|
init_numbering_manager();
|
|
302440
302839
|
});
|
|
302441
302840
|
|
|
302442
|
-
//
|
|
302841
|
+
// ../../../v2/node_modules/.pnpm/@superdoc+word-layout@file+..+public+packages+word-layout/node_modules/@superdoc/word-layout/src/index.ts
|
|
302443
302842
|
var init_src7 = __esm(() => {
|
|
302444
302843
|
init_unit_conversions();
|
|
302445
302844
|
init_unit_conversions();
|
|
@@ -305171,7 +305570,7 @@ var init_adapter11 = __esm(() => {
|
|
|
305171
305570
|
init_document_reader();
|
|
305172
305571
|
});
|
|
305173
305572
|
|
|
305174
|
-
//
|
|
305573
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/unicode.js
|
|
305175
305574
|
function isSurrogate(cp) {
|
|
305176
305575
|
return cp >= 55296 && cp <= 57343;
|
|
305177
305576
|
}
|
|
@@ -305263,7 +305662,7 @@ var init_unicode = __esm(() => {
|
|
|
305263
305662
|
};
|
|
305264
305663
|
});
|
|
305265
305664
|
|
|
305266
|
-
//
|
|
305665
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/error-codes.js
|
|
305267
305666
|
var ERR;
|
|
305268
305667
|
var init_error_codes = __esm(() => {
|
|
305269
305668
|
(function(ERR2) {
|
|
@@ -305330,7 +305729,7 @@ var init_error_codes = __esm(() => {
|
|
|
305330
305729
|
})(ERR || (ERR = {}));
|
|
305331
305730
|
});
|
|
305332
305731
|
|
|
305333
|
-
//
|
|
305732
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/tokenizer/preprocessor.js
|
|
305334
305733
|
class Preprocessor {
|
|
305335
305734
|
constructor(handler) {
|
|
305336
305735
|
this.handler = handler;
|
|
@@ -305503,7 +305902,7 @@ var init_preprocessor = __esm(() => {
|
|
|
305503
305902
|
DEFAULT_BUFFER_WATERLINE = 1 << 16;
|
|
305504
305903
|
});
|
|
305505
305904
|
|
|
305506
|
-
//
|
|
305905
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/token.js
|
|
305507
305906
|
function getTokenAttr(token, attrName) {
|
|
305508
305907
|
for (let i2 = token.attrs.length - 1;i2 >= 0; i2--) {
|
|
305509
305908
|
if (token.attrs[i2].name === attrName) {
|
|
@@ -305527,7 +305926,7 @@ var init_token = __esm(() => {
|
|
|
305527
305926
|
})(TokenType || (TokenType = {}));
|
|
305528
305927
|
});
|
|
305529
305928
|
|
|
305530
|
-
//
|
|
305929
|
+
// ../../../v2/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js
|
|
305531
305930
|
function replaceCodePoint(codePoint) {
|
|
305532
305931
|
if (codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111) {
|
|
305533
305932
|
return 65533;
|
|
@@ -305568,7 +305967,7 @@ var init_decode_codepoint = __esm(() => {
|
|
|
305568
305967
|
]);
|
|
305569
305968
|
});
|
|
305570
305969
|
|
|
305571
|
-
//
|
|
305970
|
+
// ../../../v2/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js
|
|
305572
305971
|
function decodeBase64(input) {
|
|
305573
305972
|
const binary = atob(input);
|
|
305574
305973
|
const evenLength = binary.length & ~1;
|
|
@@ -305581,13 +305980,13 @@ function decodeBase64(input) {
|
|
|
305581
305980
|
return out;
|
|
305582
305981
|
}
|
|
305583
305982
|
|
|
305584
|
-
//
|
|
305983
|
+
// ../../../v2/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js
|
|
305585
305984
|
var htmlDecodeTree;
|
|
305586
305985
|
var init_decode_data_html = __esm(() => {
|
|
305587
305986
|
htmlDecodeTree = /* @__PURE__ */ decodeBase64("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQ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LhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg");
|
|
305588
305987
|
});
|
|
305589
305988
|
|
|
305590
|
-
//
|
|
305989
|
+
// ../../../v2/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js
|
|
305591
305990
|
var BinTrieFlags;
|
|
305592
305991
|
var init_bin_trie_flags = __esm(() => {
|
|
305593
305992
|
(function(BinTrieFlags2) {
|
|
@@ -305598,7 +305997,7 @@ var init_bin_trie_flags = __esm(() => {
|
|
|
305598
305997
|
})(BinTrieFlags || (BinTrieFlags = {}));
|
|
305599
305998
|
});
|
|
305600
305999
|
|
|
305601
|
-
//
|
|
306000
|
+
// ../../../v2/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js
|
|
305602
306001
|
function isNumber(code) {
|
|
305603
306002
|
return code >= CharCodes.ZERO && code <= CharCodes.NINE;
|
|
305604
306003
|
}
|
|
@@ -305880,7 +306279,7 @@ var init_decode = __esm(() => {
|
|
|
305880
306279
|
})(DecodingMode || (DecodingMode = {}));
|
|
305881
306280
|
});
|
|
305882
306281
|
|
|
305883
|
-
//
|
|
306282
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/html.js
|
|
305884
306283
|
function getTagID(tagName) {
|
|
305885
306284
|
var _a3;
|
|
305886
306285
|
return (_a3 = TAG_NAME_TO_ID.get(tagName)) !== null && _a3 !== undefined ? _a3 : TAG_ID.UNKNOWN;
|
|
@@ -306389,7 +306788,7 @@ var init_html = __esm(() => {
|
|
|
306389
306788
|
]);
|
|
306390
306789
|
});
|
|
306391
306790
|
|
|
306392
|
-
//
|
|
306791
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/tokenizer/index.js
|
|
306393
306792
|
function isAsciiDigit(cp) {
|
|
306394
306793
|
return cp >= CODE_POINTS.DIGIT_0 && cp <= CODE_POINTS.DIGIT_9;
|
|
306395
306794
|
}
|
|
@@ -308846,7 +309245,7 @@ var init_tokenizer = __esm(() => {
|
|
|
308846
309245
|
};
|
|
308847
309246
|
});
|
|
308848
309247
|
|
|
308849
|
-
//
|
|
309248
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/open-element-stack.js
|
|
308850
309249
|
class OpenElementStack {
|
|
308851
309250
|
get currentTmplContentOrNode() {
|
|
308852
309251
|
return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
|
|
@@ -309161,7 +309560,7 @@ var init_open_element_stack = __esm(() => {
|
|
|
309161
309560
|
TABLE_CELLS = new Set([TAG_ID.TD, TAG_ID.TH]);
|
|
309162
309561
|
});
|
|
309163
309562
|
|
|
309164
|
-
//
|
|
309563
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/formatting-element-list.js
|
|
309165
309564
|
class FormattingElementList {
|
|
309166
309565
|
constructor(treeAdapter) {
|
|
309167
309566
|
this.treeAdapter = treeAdapter;
|
|
@@ -309257,7 +309656,7 @@ var init_formatting_element_list = __esm(() => {
|
|
|
309257
309656
|
MARKER = { type: EntryType.Marker };
|
|
309258
309657
|
});
|
|
309259
309658
|
|
|
309260
|
-
//
|
|
309659
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/tree-adapters/default.js
|
|
309261
309660
|
var defaultTreeAdapter;
|
|
309262
309661
|
var init_default2 = __esm(() => {
|
|
309263
309662
|
init_html();
|
|
@@ -309427,7 +309826,7 @@ var init_default2 = __esm(() => {
|
|
|
309427
309826
|
};
|
|
309428
309827
|
});
|
|
309429
309828
|
|
|
309430
|
-
//
|
|
309829
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/doctype.js
|
|
309431
309830
|
function hasPrefix(publicId, prefixes) {
|
|
309432
309831
|
return prefixes.some((prefix) => publicId.startsWith(prefix));
|
|
309433
309832
|
}
|
|
@@ -309537,7 +309936,7 @@ var init_doctype = __esm(() => {
|
|
|
309537
309936
|
];
|
|
309538
309937
|
});
|
|
309539
309938
|
|
|
309540
|
-
//
|
|
309939
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/foreign-content.js
|
|
309541
309940
|
function causesExit(startTagToken) {
|
|
309542
309941
|
const tn = startTagToken.tagID;
|
|
309543
309942
|
const isFontWithAttrs = tn === TAG_ID.FONT && startTagToken.attrs.some(({ name }) => name === ATTRS2.COLOR || name === ATTRS2.SIZE || name === ATTRS2.FACE);
|
|
@@ -309759,7 +310158,7 @@ var init_foreign_content = __esm(() => {
|
|
|
309759
310158
|
]);
|
|
309760
310159
|
});
|
|
309761
310160
|
|
|
309762
|
-
//
|
|
310161
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/index.js
|
|
309763
310162
|
class Parser {
|
|
309764
310163
|
constructor(options, document3, fragmentContext = null, scriptHandler = null) {
|
|
309765
310164
|
this.fragmentContext = fragmentContext;
|
|
@@ -312716,7 +313115,7 @@ var init_parser = __esm(() => {
|
|
|
312716
313115
|
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]);
|
|
312717
313116
|
});
|
|
312718
313117
|
|
|
312719
|
-
//
|
|
313118
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/serializer/index.js
|
|
312720
313119
|
var VOID_ELEMENTS;
|
|
312721
313120
|
var init_serializer = __esm(() => {
|
|
312722
313121
|
init_html();
|
|
@@ -312743,7 +313142,7 @@ var init_serializer = __esm(() => {
|
|
|
312743
313142
|
]);
|
|
312744
313143
|
});
|
|
312745
313144
|
|
|
312746
|
-
//
|
|
313145
|
+
// ../../../v2/node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/index.js
|
|
312747
313146
|
function parseFragment(fragmentContext, html, options) {
|
|
312748
313147
|
if (typeof fragmentContext === "string") {
|
|
312749
313148
|
options = html;
|
|
@@ -315199,10 +315598,10 @@ var init_html2 = __esm(() => {
|
|
|
315199
315598
|
init_converter();
|
|
315200
315599
|
});
|
|
315201
315600
|
|
|
315202
|
-
//
|
|
315601
|
+
// ../../../v2/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.mjs
|
|
315203
315602
|
var init_dist4 = () => {};
|
|
315204
315603
|
|
|
315205
|
-
//
|
|
315604
|
+
// ../../../v2/node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/development.js
|
|
315206
315605
|
function ok2(value2, message) {
|
|
315207
315606
|
assert2(Boolean(value2), false, true, "ok", "Expected value to be truthy", message);
|
|
315208
315607
|
}
|
|
@@ -315231,7 +315630,7 @@ var init_development = __esm(() => {
|
|
|
315231
315630
|
};
|
|
315232
315631
|
});
|
|
315233
315632
|
|
|
315234
|
-
//
|
|
315633
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js
|
|
315235
315634
|
function toString(value2, options) {
|
|
315236
315635
|
const settings = options || emptyOptions;
|
|
315237
315636
|
const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
|
|
@@ -315271,12 +315670,12 @@ var init_lib = __esm(() => {
|
|
|
315271
315670
|
emptyOptions = {};
|
|
315272
315671
|
});
|
|
315273
315672
|
|
|
315274
|
-
//
|
|
315673
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/index.js
|
|
315275
315674
|
var init_mdast_util_to_string = __esm(() => {
|
|
315276
315675
|
init_lib();
|
|
315277
315676
|
});
|
|
315278
315677
|
|
|
315279
|
-
//
|
|
315678
|
+
// ../../../v2/node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.js
|
|
315280
315679
|
var characterEntities;
|
|
315281
315680
|
var init_character_entities = __esm(() => {
|
|
315282
315681
|
characterEntities = {
|
|
@@ -317409,7 +317808,7 @@ var init_character_entities = __esm(() => {
|
|
|
317409
317808
|
};
|
|
317410
317809
|
});
|
|
317411
317810
|
|
|
317412
|
-
//
|
|
317811
|
+
// ../../../v2/node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
317413
317812
|
function decodeNamedCharacterReference(value2) {
|
|
317414
317813
|
return own.call(characterEntities, value2) ? characterEntities[value2] : false;
|
|
317415
317814
|
}
|
|
@@ -317419,7 +317818,7 @@ var init_decode_named_character_reference = __esm(() => {
|
|
|
317419
317818
|
own = {}.hasOwnProperty;
|
|
317420
317819
|
});
|
|
317421
317820
|
|
|
317422
|
-
//
|
|
317821
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/codes.js
|
|
317423
317822
|
var codes;
|
|
317424
317823
|
var init_codes = __esm(() => {
|
|
317425
317824
|
codes = {
|
|
@@ -317562,7 +317961,7 @@ var init_codes = __esm(() => {
|
|
|
317562
317961
|
};
|
|
317563
317962
|
});
|
|
317564
317963
|
|
|
317565
|
-
//
|
|
317964
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/constants.js
|
|
317566
317965
|
var constants;
|
|
317567
317966
|
var init_constants = __esm(() => {
|
|
317568
317967
|
constants = {
|
|
@@ -317603,7 +318002,7 @@ var init_constants = __esm(() => {
|
|
|
317603
318002
|
};
|
|
317604
318003
|
});
|
|
317605
318004
|
|
|
317606
|
-
//
|
|
318005
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/types.js
|
|
317607
318006
|
var types9;
|
|
317608
318007
|
var init_types9 = __esm(() => {
|
|
317609
318008
|
types9 = {
|
|
@@ -317713,7 +318112,7 @@ var init_types9 = __esm(() => {
|
|
|
317713
318112
|
};
|
|
317714
318113
|
});
|
|
317715
318114
|
|
|
317716
|
-
//
|
|
318115
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/values.js
|
|
317717
318116
|
var values;
|
|
317718
318117
|
var init_values = __esm(() => {
|
|
317719
318118
|
values = {
|
|
@@ -317820,7 +318219,7 @@ var init_values = __esm(() => {
|
|
|
317820
318219
|
};
|
|
317821
318220
|
});
|
|
317822
318221
|
|
|
317823
|
-
//
|
|
318222
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/default.js
|
|
317824
318223
|
var init_default3 = __esm(() => {
|
|
317825
318224
|
init_codes();
|
|
317826
318225
|
init_constants();
|
|
@@ -317828,7 +318227,7 @@ var init_default3 = __esm(() => {
|
|
|
317828
318227
|
init_values();
|
|
317829
318228
|
});
|
|
317830
318229
|
|
|
317831
|
-
//
|
|
318230
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/dev/index.js
|
|
317832
318231
|
function splice(list, start, remove, items) {
|
|
317833
318232
|
const end = list.length;
|
|
317834
318233
|
let chunkStart = 0;
|
|
@@ -317866,7 +318265,7 @@ var init_dev = __esm(() => {
|
|
|
317866
318265
|
init_default3();
|
|
317867
318266
|
});
|
|
317868
318267
|
|
|
317869
|
-
//
|
|
318268
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
|
|
317870
318269
|
function combineExtensions(extensions) {
|
|
317871
318270
|
const all2 = {};
|
|
317872
318271
|
let index = -1;
|
|
@@ -317906,7 +318305,7 @@ var init_micromark_util_combine_extensions = __esm(() => {
|
|
|
317906
318305
|
hasOwnProperty = {}.hasOwnProperty;
|
|
317907
318306
|
});
|
|
317908
318307
|
|
|
317909
|
-
//
|
|
318308
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js
|
|
317910
318309
|
function decodeNumericCharacterReference(value2, base3) {
|
|
317911
318310
|
const code = Number.parseInt(value2, base3);
|
|
317912
318311
|
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) {
|
|
@@ -317918,7 +318317,7 @@ var init_dev2 = __esm(() => {
|
|
|
317918
318317
|
init_default3();
|
|
317919
318318
|
});
|
|
317920
318319
|
|
|
317921
|
-
//
|
|
318320
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/dev/index.js
|
|
317922
318321
|
function normalizeIdentifier(value2) {
|
|
317923
318322
|
return value2.replace(/[\t\n\r ]+/g, values.space).replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
317924
318323
|
}
|
|
@@ -317926,7 +318325,7 @@ var init_dev3 = __esm(() => {
|
|
|
317926
318325
|
init_default3();
|
|
317927
318326
|
});
|
|
317928
318327
|
|
|
317929
|
-
//
|
|
318328
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/dev/index.js
|
|
317930
318329
|
function asciiControl(code) {
|
|
317931
318330
|
return code !== null && (code < codes.space || code === codes.del);
|
|
317932
318331
|
}
|
|
@@ -317958,7 +318357,7 @@ var init_dev4 = __esm(() => {
|
|
|
317958
318357
|
unicodeWhitespace = regexCheck(/\s/);
|
|
317959
318358
|
});
|
|
317960
318359
|
|
|
317961
|
-
//
|
|
318360
|
+
// ../../../v2/node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/dev/index.js
|
|
317962
318361
|
function factorySpace(effects2, ok3, type, max2) {
|
|
317963
318362
|
const limit = max2 ? max2 - 1 : Number.POSITIVE_INFINITY;
|
|
317964
318363
|
let size = 0;
|
|
@@ -317983,7 +318382,7 @@ var init_dev5 = __esm(() => {
|
|
|
317983
318382
|
init_dev4();
|
|
317984
318383
|
});
|
|
317985
318384
|
|
|
317986
|
-
//
|
|
318385
|
+
// ../../../v2/node_modules/.pnpm/micromark@4.0.2_supports-color@7.2.0/node_modules/micromark/dev/lib/initialize/content.js
|
|
317987
318386
|
function initializeContent(effects2) {
|
|
317988
318387
|
const contentStart = effects2.attempt(this.parser.constructs.contentInitial, afterContentStartConstruct, paragraphInitial);
|
|
317989
318388
|
let previous;
|
|
@@ -318040,7 +318439,7 @@ var init_content = __esm(() => {
|
|
|
318040
318439
|
content = { tokenize: initializeContent };
|
|
318041
318440
|
});
|
|
318042
318441
|
|
|
318043
|
-
//
|
|
318442
|
+
// ../../../v2/node_modules/.pnpm/micromark@4.0.2_supports-color@7.2.0/node_modules/micromark/dev/lib/initialize/document.js
|
|
318044
318443
|
function initializeDocument(effects2) {
|
|
318045
318444
|
const self = this;
|
|
318046
318445
|
const stack = [];
|
|
@@ -318232,7 +318631,7 @@ var init_document2 = __esm(() => {
|
|
|
318232
318631
|
containerConstruct = { tokenize: tokenizeContainer };
|
|
318233
318632
|
});
|
|
318234
318633
|
|
|
318235
|
-
//
|
|
318634
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/dev/index.js
|
|
318236
318635
|
function classifyCharacter(code) {
|
|
318237
318636
|
if (code === codes.eof || markdownLineEndingOrSpace(code) || unicodeWhitespace(code)) {
|
|
318238
318637
|
return constants.characterGroupWhitespace;
|
|
@@ -318246,7 +318645,7 @@ var init_dev6 = __esm(() => {
|
|
|
318246
318645
|
init_default3();
|
|
318247
318646
|
});
|
|
318248
318647
|
|
|
318249
|
-
//
|
|
318648
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js
|
|
318250
318649
|
function resolveAll(constructs2, events, context) {
|
|
318251
318650
|
const called = [];
|
|
318252
318651
|
let index = -1;
|
|
@@ -318260,7 +318659,7 @@ function resolveAll(constructs2, events, context) {
|
|
|
318260
318659
|
return events;
|
|
318261
318660
|
}
|
|
318262
318661
|
|
|
318263
|
-
//
|
|
318662
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/attention.js
|
|
318264
318663
|
function resolveAllAttention(events, context) {
|
|
318265
318664
|
let index = -1;
|
|
318266
318665
|
let open;
|
|
@@ -318396,7 +318795,7 @@ var init_attention = __esm(() => {
|
|
|
318396
318795
|
};
|
|
318397
318796
|
});
|
|
318398
318797
|
|
|
318399
|
-
//
|
|
318798
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/autolink.js
|
|
318400
318799
|
function tokenizeAutolink(effects2, ok3, nok) {
|
|
318401
318800
|
let size = 0;
|
|
318402
318801
|
return start;
|
|
@@ -318501,7 +318900,7 @@ var init_autolink = __esm(() => {
|
|
|
318501
318900
|
autolink = { name: "autolink", tokenize: tokenizeAutolink };
|
|
318502
318901
|
});
|
|
318503
318902
|
|
|
318504
|
-
//
|
|
318903
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/blank-line.js
|
|
318505
318904
|
function tokenizeBlankLine(effects2, ok3, nok) {
|
|
318506
318905
|
return start;
|
|
318507
318906
|
function start(code) {
|
|
@@ -318519,7 +318918,7 @@ var init_blank_line = __esm(() => {
|
|
|
318519
318918
|
blankLine = { partial: true, tokenize: tokenizeBlankLine };
|
|
318520
318919
|
});
|
|
318521
318920
|
|
|
318522
|
-
//
|
|
318921
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/block-quote.js
|
|
318523
318922
|
function tokenizeBlockQuoteStart(effects2, ok3, nok) {
|
|
318524
318923
|
const self = this;
|
|
318525
318924
|
return start;
|
|
@@ -318582,7 +318981,7 @@ var init_block_quote = __esm(() => {
|
|
|
318582
318981
|
};
|
|
318583
318982
|
});
|
|
318584
318983
|
|
|
318585
|
-
//
|
|
318984
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/character-escape.js
|
|
318586
318985
|
function tokenizeCharacterEscape(effects2, ok3, nok) {
|
|
318587
318986
|
return start;
|
|
318588
318987
|
function start(code) {
|
|
@@ -318615,7 +319014,7 @@ var init_character_escape = __esm(() => {
|
|
|
318615
319014
|
};
|
|
318616
319015
|
});
|
|
318617
319016
|
|
|
318618
|
-
//
|
|
319017
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/character-reference.js
|
|
318619
319018
|
function tokenizeCharacterReference(effects2, ok3, nok) {
|
|
318620
319019
|
const self = this;
|
|
318621
319020
|
let size = 0;
|
|
@@ -318688,7 +319087,7 @@ var init_character_reference = __esm(() => {
|
|
|
318688
319087
|
};
|
|
318689
319088
|
});
|
|
318690
319089
|
|
|
318691
|
-
//
|
|
319090
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js
|
|
318692
319091
|
function tokenizeCodeFenced(effects2, ok3, nok) {
|
|
318693
319092
|
const self = this;
|
|
318694
319093
|
const closeStart = { partial: true, tokenize: tokenizeCloseStart };
|
|
@@ -318877,7 +319276,7 @@ var init_code_fenced = __esm(() => {
|
|
|
318877
319276
|
};
|
|
318878
319277
|
});
|
|
318879
319278
|
|
|
318880
|
-
//
|
|
319279
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/code-indented.js
|
|
318881
319280
|
function tokenizeCodeIndented(effects2, ok3, nok) {
|
|
318882
319281
|
const self = this;
|
|
318883
319282
|
return start;
|
|
@@ -318946,7 +319345,7 @@ var init_code_indented = __esm(() => {
|
|
|
318946
319345
|
furtherStart = { partial: true, tokenize: tokenizeFurtherStart };
|
|
318947
319346
|
});
|
|
318948
319347
|
|
|
318949
|
-
//
|
|
319348
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/code-text.js
|
|
318950
319349
|
function resolveCodeText(events) {
|
|
318951
319350
|
let tailExitIndex = events.length - 4;
|
|
318952
319351
|
let headEnterIndex = 3;
|
|
@@ -319069,7 +319468,7 @@ var init_code_text = __esm(() => {
|
|
|
319069
319468
|
};
|
|
319070
319469
|
});
|
|
319071
319470
|
|
|
319072
|
-
//
|
|
319471
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js
|
|
319073
319472
|
class SpliceBuffer {
|
|
319074
319473
|
constructor(initial) {
|
|
319075
319474
|
this.left = initial ? [...initial] : [];
|
|
@@ -319155,7 +319554,7 @@ var init_splice_buffer = __esm(() => {
|
|
|
319155
319554
|
init_default3();
|
|
319156
319555
|
});
|
|
319157
319556
|
|
|
319158
|
-
//
|
|
319557
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/dev/index.js
|
|
319159
319558
|
function subtokenize(eventsArray) {
|
|
319160
319559
|
const jumps = {};
|
|
319161
319560
|
let index = -1;
|
|
@@ -319314,7 +319713,7 @@ var init_dev7 = __esm(() => {
|
|
|
319314
319713
|
init_splice_buffer();
|
|
319315
319714
|
});
|
|
319316
319715
|
|
|
319317
|
-
//
|
|
319716
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/content.js
|
|
319318
319717
|
function resolveContent(events) {
|
|
319319
319718
|
subtokenize(events);
|
|
319320
319719
|
return events;
|
|
@@ -319392,7 +319791,7 @@ var init_content2 = __esm(() => {
|
|
|
319392
319791
|
continuationConstruct = { partial: true, tokenize: tokenizeContinuation };
|
|
319393
319792
|
});
|
|
319394
319793
|
|
|
319395
|
-
//
|
|
319794
|
+
// ../../../v2/node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/dev/index.js
|
|
319396
319795
|
function factoryDestination(effects2, ok3, nok, type, literalType2, literalMarkerType, rawType, stringType2, max2) {
|
|
319397
319796
|
const limit = max2 || Number.POSITIVE_INFINITY;
|
|
319398
319797
|
let balance = 0;
|
|
@@ -319484,7 +319883,7 @@ var init_dev8 = __esm(() => {
|
|
|
319484
319883
|
init_default3();
|
|
319485
319884
|
});
|
|
319486
319885
|
|
|
319487
|
-
//
|
|
319886
|
+
// ../../../v2/node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/dev/index.js
|
|
319488
319887
|
function factoryLabel(effects2, ok3, nok, type, markerType, stringType2) {
|
|
319489
319888
|
const self = this;
|
|
319490
319889
|
let size = 0;
|
|
@@ -319545,7 +319944,7 @@ var init_dev9 = __esm(() => {
|
|
|
319545
319944
|
init_default3();
|
|
319546
319945
|
});
|
|
319547
319946
|
|
|
319548
|
-
//
|
|
319947
|
+
// ../../../v2/node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/dev/index.js
|
|
319549
319948
|
function factoryTitle(effects2, ok3, nok, type, markerType, stringType2) {
|
|
319550
319949
|
let marker;
|
|
319551
319950
|
return start;
|
|
@@ -319610,7 +320009,7 @@ var init_dev10 = __esm(() => {
|
|
|
319610
320009
|
init_default3();
|
|
319611
320010
|
});
|
|
319612
320011
|
|
|
319613
|
-
//
|
|
320012
|
+
// ../../../v2/node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/dev/index.js
|
|
319614
320013
|
function factoryWhitespace(effects2, ok3) {
|
|
319615
320014
|
let seen;
|
|
319616
320015
|
return start;
|
|
@@ -319634,7 +320033,7 @@ var init_dev11 = __esm(() => {
|
|
|
319634
320033
|
init_default3();
|
|
319635
320034
|
});
|
|
319636
320035
|
|
|
319637
|
-
//
|
|
320036
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/definition.js
|
|
319638
320037
|
function tokenizeDefinition(effects2, ok3, nok) {
|
|
319639
320038
|
const self = this;
|
|
319640
320039
|
let identifier;
|
|
@@ -319708,7 +320107,7 @@ var init_definition = __esm(() => {
|
|
|
319708
320107
|
titleBefore = { partial: true, tokenize: tokenizeTitleBefore };
|
|
319709
320108
|
});
|
|
319710
320109
|
|
|
319711
|
-
//
|
|
320110
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js
|
|
319712
320111
|
function tokenizeHardBreakEscape(effects2, ok3, nok) {
|
|
319713
320112
|
return start;
|
|
319714
320113
|
function start(code) {
|
|
@@ -319736,7 +320135,7 @@ var init_hard_break_escape = __esm(() => {
|
|
|
319736
320135
|
};
|
|
319737
320136
|
});
|
|
319738
320137
|
|
|
319739
|
-
//
|
|
320138
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js
|
|
319740
320139
|
function resolveHeadingAtx(events, context) {
|
|
319741
320140
|
let contentEnd = events.length - 2;
|
|
319742
320141
|
let contentStart = 3;
|
|
@@ -319841,7 +320240,7 @@ var init_heading_atx = __esm(() => {
|
|
|
319841
320240
|
};
|
|
319842
320241
|
});
|
|
319843
320242
|
|
|
319844
|
-
//
|
|
320243
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js
|
|
319845
320244
|
var htmlBlockNames, htmlRawNames;
|
|
319846
320245
|
var init_micromark_util_html_tag_name = __esm(() => {
|
|
319847
320246
|
htmlBlockNames = [
|
|
@@ -319911,7 +320310,7 @@ var init_micromark_util_html_tag_name = __esm(() => {
|
|
|
319911
320310
|
htmlRawNames = ["pre", "script", "style", "textarea"];
|
|
319912
320311
|
});
|
|
319913
320312
|
|
|
319914
|
-
//
|
|
320313
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/html-flow.js
|
|
319915
320314
|
function resolveToHtmlFlow(events) {
|
|
319916
320315
|
let index = events.length;
|
|
319917
320316
|
while (index--) {
|
|
@@ -320301,7 +320700,7 @@ var init_html_flow = __esm(() => {
|
|
|
320301
320700
|
};
|
|
320302
320701
|
});
|
|
320303
320702
|
|
|
320304
|
-
//
|
|
320703
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/html-text.js
|
|
320305
320704
|
function tokenizeHtmlText(effects2, ok3, nok) {
|
|
320306
320705
|
const self = this;
|
|
320307
320706
|
let marker;
|
|
@@ -320615,7 +321014,7 @@ var init_html_text = __esm(() => {
|
|
|
320615
321014
|
htmlText = { name: "htmlText", tokenize: tokenizeHtmlText };
|
|
320616
321015
|
});
|
|
320617
321016
|
|
|
320618
|
-
//
|
|
321017
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/label-end.js
|
|
320619
321018
|
function resolveAllLabelEnd(events) {
|
|
320620
321019
|
let index = -1;
|
|
320621
321020
|
const newEvents = [];
|
|
@@ -320847,7 +321246,7 @@ var init_label_end = __esm(() => {
|
|
|
320847
321246
|
referenceCollapsedConstruct = { tokenize: tokenizeReferenceCollapsed };
|
|
320848
321247
|
});
|
|
320849
321248
|
|
|
320850
|
-
//
|
|
321249
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js
|
|
320851
321250
|
function tokenizeLabelStartImage(effects2, ok3, nok) {
|
|
320852
321251
|
const self = this;
|
|
320853
321252
|
return start;
|
|
@@ -320885,7 +321284,7 @@ var init_label_start_image = __esm(() => {
|
|
|
320885
321284
|
};
|
|
320886
321285
|
});
|
|
320887
321286
|
|
|
320888
|
-
//
|
|
321287
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js
|
|
320889
321288
|
function tokenizeLabelStartLink(effects2, ok3, nok) {
|
|
320890
321289
|
const self = this;
|
|
320891
321290
|
return start;
|
|
@@ -320914,7 +321313,7 @@ var init_label_start_link = __esm(() => {
|
|
|
320914
321313
|
};
|
|
320915
321314
|
});
|
|
320916
321315
|
|
|
320917
|
-
//
|
|
321316
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/line-ending.js
|
|
320918
321317
|
function tokenizeLineEnding(effects2, ok3) {
|
|
320919
321318
|
return start;
|
|
320920
321319
|
function start(code) {
|
|
@@ -320934,7 +321333,7 @@ var init_line_ending = __esm(() => {
|
|
|
320934
321333
|
lineEnding = { name: "lineEnding", tokenize: tokenizeLineEnding };
|
|
320935
321334
|
});
|
|
320936
321335
|
|
|
320937
|
-
//
|
|
321336
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js
|
|
320938
321337
|
function tokenizeThematicBreak(effects2, ok3, nok) {
|
|
320939
321338
|
let size = 0;
|
|
320940
321339
|
let marker;
|
|
@@ -320981,7 +321380,7 @@ var init_thematic_break = __esm(() => {
|
|
|
320981
321380
|
};
|
|
320982
321381
|
});
|
|
320983
321382
|
|
|
320984
|
-
//
|
|
321383
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/list.js
|
|
320985
321384
|
function tokenizeListStart(effects2, ok3, nok) {
|
|
320986
321385
|
const self = this;
|
|
320987
321386
|
const tail = self.events[self.events.length - 1];
|
|
@@ -321126,7 +321525,7 @@ var init_list = __esm(() => {
|
|
|
321126
321525
|
indentConstruct = { partial: true, tokenize: tokenizeIndent };
|
|
321127
321526
|
});
|
|
321128
321527
|
|
|
321129
|
-
//
|
|
321528
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js
|
|
321130
321529
|
function resolveToSetextUnderline(events, context) {
|
|
321131
321530
|
let index = events.length;
|
|
321132
321531
|
let content3;
|
|
@@ -321224,7 +321623,7 @@ var init_setext_underline = __esm(() => {
|
|
|
321224
321623
|
};
|
|
321225
321624
|
});
|
|
321226
321625
|
|
|
321227
|
-
//
|
|
321626
|
+
// ../../../v2/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/dev/index.js
|
|
321228
321627
|
var init_dev12 = __esm(() => {
|
|
321229
321628
|
init_attention();
|
|
321230
321629
|
init_autolink();
|
|
@@ -321250,7 +321649,7 @@ var init_dev12 = __esm(() => {
|
|
|
321250
321649
|
init_thematic_break();
|
|
321251
321650
|
});
|
|
321252
321651
|
|
|
321253
|
-
//
|
|
321652
|
+
// ../../../v2/node_modules/.pnpm/micromark@4.0.2_supports-color@7.2.0/node_modules/micromark/dev/lib/initialize/flow.js
|
|
321254
321653
|
function initializeFlow(effects2) {
|
|
321255
321654
|
const self = this;
|
|
321256
321655
|
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)), types9.linePrefix)));
|
|
@@ -321290,7 +321689,7 @@ var init_flow = __esm(() => {
|
|
|
321290
321689
|
flow = { tokenize: initializeFlow };
|
|
321291
321690
|
});
|
|
321292
321691
|
|
|
321293
|
-
//
|
|
321692
|
+
// ../../../v2/node_modules/.pnpm/micromark@4.0.2_supports-color@7.2.0/node_modules/micromark/dev/lib/initialize/text.js
|
|
321294
321693
|
function initializeFactory(field) {
|
|
321295
321694
|
return {
|
|
321296
321695
|
resolveAll: createResolver(field === "text" ? resolveAllLineSuffixes : undefined),
|
|
@@ -321429,7 +321828,7 @@ var init_text = __esm(() => {
|
|
|
321429
321828
|
text = initializeFactory("text");
|
|
321430
321829
|
});
|
|
321431
321830
|
|
|
321432
|
-
//
|
|
321831
|
+
// ../../../v2/node_modules/.pnpm/micromark@4.0.2_supports-color@7.2.0/node_modules/micromark/dev/lib/constructs.js
|
|
321433
321832
|
var exports_constructs = {};
|
|
321434
321833
|
__export(exports_constructs, {
|
|
321435
321834
|
text: () => text2,
|
|
@@ -321504,7 +321903,7 @@ var init_constructs = __esm(() => {
|
|
|
321504
321903
|
disable = { null: [] };
|
|
321505
321904
|
});
|
|
321506
321905
|
|
|
321507
|
-
//
|
|
321906
|
+
// ../../../v2/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
|
|
321508
321907
|
var require_ms = __commonJS((exports, module) => {
|
|
321509
321908
|
var s = 1000;
|
|
321510
321909
|
var m = s * 60;
|
|
@@ -321614,7 +322013,7 @@ var require_ms = __commonJS((exports, module) => {
|
|
|
321614
322013
|
}
|
|
321615
322014
|
});
|
|
321616
322015
|
|
|
321617
|
-
//
|
|
322016
|
+
// ../../../v2/node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/common.js
|
|
321618
322017
|
var require_common = __commonJS((exports, module) => {
|
|
321619
322018
|
function setup(env) {
|
|
321620
322019
|
createDebug.debug = createDebug;
|
|
@@ -321789,7 +322188,7 @@ var require_common = __commonJS((exports, module) => {
|
|
|
321789
322188
|
module.exports = setup;
|
|
321790
322189
|
});
|
|
321791
322190
|
|
|
321792
|
-
//
|
|
322191
|
+
// ../../../v2/node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/browser.js
|
|
321793
322192
|
var require_browser = __commonJS((exports, module) => {
|
|
321794
322193
|
exports.formatArgs = formatArgs;
|
|
321795
322194
|
exports.save = save;
|
|
@@ -321949,30 +322348,36 @@ var require_browser = __commonJS((exports, module) => {
|
|
|
321949
322348
|
};
|
|
321950
322349
|
});
|
|
321951
322350
|
|
|
321952
|
-
//
|
|
322351
|
+
// ../../../v2/node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
|
|
321953
322352
|
var require_has_flag = __commonJS((exports, module) => {
|
|
321954
|
-
module.exports = (flag, argv) => {
|
|
321955
|
-
argv = argv || process.argv;
|
|
322353
|
+
module.exports = (flag, argv = process.argv) => {
|
|
321956
322354
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
321957
|
-
const
|
|
321958
|
-
const
|
|
321959
|
-
return
|
|
322355
|
+
const position = argv.indexOf(prefix + flag);
|
|
322356
|
+
const terminatorPosition = argv.indexOf("--");
|
|
322357
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
321960
322358
|
};
|
|
321961
322359
|
});
|
|
321962
322360
|
|
|
321963
|
-
//
|
|
322361
|
+
// ../../../v2/node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
|
|
321964
322362
|
var require_supports_color = __commonJS((exports, module) => {
|
|
321965
322363
|
var os = __require("os");
|
|
322364
|
+
var tty = __require("tty");
|
|
321966
322365
|
var hasFlag = require_has_flag();
|
|
321967
|
-
var env = process
|
|
322366
|
+
var { env } = process;
|
|
321968
322367
|
var forceColor;
|
|
321969
|
-
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
|
321970
|
-
forceColor =
|
|
322368
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
322369
|
+
forceColor = 0;
|
|
321971
322370
|
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
321972
|
-
forceColor =
|
|
322371
|
+
forceColor = 1;
|
|
321973
322372
|
}
|
|
321974
322373
|
if ("FORCE_COLOR" in env) {
|
|
321975
|
-
|
|
322374
|
+
if (env.FORCE_COLOR === "true") {
|
|
322375
|
+
forceColor = 1;
|
|
322376
|
+
} else if (env.FORCE_COLOR === "false") {
|
|
322377
|
+
forceColor = 0;
|
|
322378
|
+
} else {
|
|
322379
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
322380
|
+
}
|
|
321976
322381
|
}
|
|
321977
322382
|
function translateLevel(level) {
|
|
321978
322383
|
if (level === 0) {
|
|
@@ -321985,8 +322390,8 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
321985
322390
|
has16m: level >= 3
|
|
321986
322391
|
};
|
|
321987
322392
|
}
|
|
321988
|
-
function supportsColor(
|
|
321989
|
-
if (forceColor ===
|
|
322393
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
322394
|
+
if (forceColor === 0) {
|
|
321990
322395
|
return 0;
|
|
321991
322396
|
}
|
|
321992
322397
|
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
@@ -321995,19 +322400,22 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
321995
322400
|
if (hasFlag("color=256")) {
|
|
321996
322401
|
return 2;
|
|
321997
322402
|
}
|
|
321998
|
-
if (
|
|
322403
|
+
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
321999
322404
|
return 0;
|
|
322000
322405
|
}
|
|
322001
|
-
const min = forceColor
|
|
322406
|
+
const min = forceColor || 0;
|
|
322407
|
+
if (env.TERM === "dumb") {
|
|
322408
|
+
return min;
|
|
322409
|
+
}
|
|
322002
322410
|
if (process.platform === "win32") {
|
|
322003
322411
|
const osRelease = os.release().split(".");
|
|
322004
|
-
if (Number(
|
|
322412
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
322005
322413
|
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
322006
322414
|
}
|
|
322007
322415
|
return 1;
|
|
322008
322416
|
}
|
|
322009
322417
|
if ("CI" in env) {
|
|
322010
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => (sign in env)) || env.CI_NAME === "codeship") {
|
|
322418
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => (sign in env)) || env.CI_NAME === "codeship") {
|
|
322011
322419
|
return 1;
|
|
322012
322420
|
}
|
|
322013
322421
|
return min;
|
|
@@ -322036,23 +322444,20 @@ var require_supports_color = __commonJS((exports, module) => {
|
|
|
322036
322444
|
if ("COLORTERM" in env) {
|
|
322037
322445
|
return 1;
|
|
322038
322446
|
}
|
|
322039
|
-
if (env.TERM === "dumb") {
|
|
322040
|
-
return min;
|
|
322041
|
-
}
|
|
322042
322447
|
return min;
|
|
322043
322448
|
}
|
|
322044
322449
|
function getSupportLevel(stream) {
|
|
322045
|
-
const level = supportsColor(stream);
|
|
322450
|
+
const level = supportsColor(stream, stream && stream.isTTY);
|
|
322046
322451
|
return translateLevel(level);
|
|
322047
322452
|
}
|
|
322048
322453
|
module.exports = {
|
|
322049
322454
|
supportsColor: getSupportLevel,
|
|
322050
|
-
stdout:
|
|
322051
|
-
stderr:
|
|
322455
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
322456
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
322052
322457
|
};
|
|
322053
322458
|
});
|
|
322054
322459
|
|
|
322055
|
-
//
|
|
322460
|
+
// ../../../v2/node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/node.js
|
|
322056
322461
|
var require_node = __commonJS((exports, module) => {
|
|
322057
322462
|
var tty = __require("tty");
|
|
322058
322463
|
var util3 = __require("util");
|
|
@@ -322223,7 +322628,7 @@ var require_node = __commonJS((exports, module) => {
|
|
|
322223
322628
|
};
|
|
322224
322629
|
});
|
|
322225
322630
|
|
|
322226
|
-
//
|
|
322631
|
+
// ../../../v2/node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/index.js
|
|
322227
322632
|
var require_src = __commonJS((exports, module) => {
|
|
322228
322633
|
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
322229
322634
|
module.exports = require_browser();
|
|
@@ -322232,7 +322637,7 @@ var require_src = __commonJS((exports, module) => {
|
|
|
322232
322637
|
}
|
|
322233
322638
|
});
|
|
322234
322639
|
|
|
322235
|
-
//
|
|
322640
|
+
// ../../../v2/node_modules/.pnpm/micromark@4.0.2_supports-color@7.2.0/node_modules/micromark/dev/lib/create-tokenizer.js
|
|
322236
322641
|
function createTokenizer(parser, initialize, from) {
|
|
322237
322642
|
let point = {
|
|
322238
322643
|
_bufferIndex: -1,
|
|
@@ -322555,7 +322960,7 @@ var init_create_tokenizer = __esm(() => {
|
|
|
322555
322960
|
debug = import_debug.default("micromark");
|
|
322556
322961
|
});
|
|
322557
322962
|
|
|
322558
|
-
//
|
|
322963
|
+
// ../../../v2/node_modules/.pnpm/micromark@4.0.2_supports-color@7.2.0/node_modules/micromark/dev/lib/parse.js
|
|
322559
322964
|
function parse6(options) {
|
|
322560
322965
|
const settings = options || {};
|
|
322561
322966
|
const constructs2 = combineExtensions([exports_constructs, ...settings.extensions || []]);
|
|
@@ -322587,7 +322992,7 @@ var init_parse4 = __esm(() => {
|
|
|
322587
322992
|
init_create_tokenizer();
|
|
322588
322993
|
});
|
|
322589
322994
|
|
|
322590
|
-
//
|
|
322995
|
+
// ../../../v2/node_modules/.pnpm/micromark@4.0.2_supports-color@7.2.0/node_modules/micromark/dev/lib/postprocess.js
|
|
322591
322996
|
function postprocess(events) {
|
|
322592
322997
|
while (!subtokenize(events)) {}
|
|
322593
322998
|
return events;
|
|
@@ -322596,7 +323001,7 @@ var init_postprocess = __esm(() => {
|
|
|
322596
323001
|
init_dev7();
|
|
322597
323002
|
});
|
|
322598
323003
|
|
|
322599
|
-
//
|
|
323004
|
+
// ../../../v2/node_modules/.pnpm/micromark@4.0.2_supports-color@7.2.0/node_modules/micromark/dev/lib/preprocess.js
|
|
322600
323005
|
function preprocess2() {
|
|
322601
323006
|
let column = 1;
|
|
322602
323007
|
let buffer = "";
|
|
@@ -322682,14 +323087,14 @@ var init_preprocess = __esm(() => {
|
|
|
322682
323087
|
search = /[\0\t\n\r]/g;
|
|
322683
323088
|
});
|
|
322684
323089
|
|
|
322685
|
-
//
|
|
323090
|
+
// ../../../v2/node_modules/.pnpm/micromark@4.0.2_supports-color@7.2.0/node_modules/micromark/dev/index.js
|
|
322686
323091
|
var init_dev13 = __esm(() => {
|
|
322687
323092
|
init_parse4();
|
|
322688
323093
|
init_postprocess();
|
|
322689
323094
|
init_preprocess();
|
|
322690
323095
|
});
|
|
322691
323096
|
|
|
322692
|
-
//
|
|
323097
|
+
// ../../../v2/node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/dev/index.js
|
|
322693
323098
|
function decodeString(value2) {
|
|
322694
323099
|
return value2.replace(characterEscapeOrReference, decode4);
|
|
322695
323100
|
}
|
|
@@ -322713,7 +323118,7 @@ var init_dev14 = __esm(() => {
|
|
|
322713
323118
|
characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
322714
323119
|
});
|
|
322715
323120
|
|
|
322716
|
-
//
|
|
323121
|
+
// ../../../v2/node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
|
|
322717
323122
|
function stringifyPosition(value2) {
|
|
322718
323123
|
if (!value2 || typeof value2 !== "object") {
|
|
322719
323124
|
return "";
|
|
@@ -322739,10 +323144,10 @@ function index(value2) {
|
|
|
322739
323144
|
return value2 && typeof value2 === "number" ? value2 : 1;
|
|
322740
323145
|
}
|
|
322741
323146
|
|
|
322742
|
-
//
|
|
323147
|
+
// ../../../v2/node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/index.js
|
|
322743
323148
|
var init_unist_util_stringify_position = () => {};
|
|
322744
323149
|
|
|
322745
|
-
//
|
|
323150
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-from-markdown@2.0.3_supports-color@7.2.0/node_modules/mdast-util-from-markdown/dev/lib/index.js
|
|
322746
323151
|
function fromMarkdown(value2, encoding, options) {
|
|
322747
323152
|
if (encoding && typeof encoding === "object") {
|
|
322748
323153
|
options = encoding;
|
|
@@ -323457,12 +323862,12 @@ var init_lib2 = __esm(() => {
|
|
|
323457
323862
|
own2 = {}.hasOwnProperty;
|
|
323458
323863
|
});
|
|
323459
323864
|
|
|
323460
|
-
//
|
|
323865
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-from-markdown@2.0.3_supports-color@7.2.0/node_modules/mdast-util-from-markdown/dev/index.js
|
|
323461
323866
|
var init_dev15 = __esm(() => {
|
|
323462
323867
|
init_lib2();
|
|
323463
323868
|
});
|
|
323464
323869
|
|
|
323465
|
-
//
|
|
323870
|
+
// ../../../v2/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js
|
|
323466
323871
|
function ccount(value2, character) {
|
|
323467
323872
|
const source = String(value2);
|
|
323468
323873
|
if (typeof character !== "string") {
|
|
@@ -323477,7 +323882,7 @@ function ccount(value2, character) {
|
|
|
323477
323882
|
return count;
|
|
323478
323883
|
}
|
|
323479
323884
|
|
|
323480
|
-
//
|
|
323885
|
+
// ../../../v2/node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js
|
|
323481
323886
|
function escapeStringRegexp(string7) {
|
|
323482
323887
|
if (typeof string7 !== "string") {
|
|
323483
323888
|
throw new TypeError("Expected a string");
|
|
@@ -323485,7 +323890,7 @@ function escapeStringRegexp(string7) {
|
|
|
323485
323890
|
return string7.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
323486
323891
|
}
|
|
323487
323892
|
|
|
323488
|
-
//
|
|
323893
|
+
// ../../../v2/node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.js
|
|
323489
323894
|
function anyFactory(tests) {
|
|
323490
323895
|
const checks4 = [];
|
|
323491
323896
|
let index2 = -1;
|
|
@@ -323549,15 +323954,15 @@ var convert = function(test) {
|
|
|
323549
323954
|
throw new Error("Expected function, string, or object as test");
|
|
323550
323955
|
};
|
|
323551
323956
|
|
|
323552
|
-
//
|
|
323957
|
+
// ../../../v2/node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/index.js
|
|
323553
323958
|
var init_unist_util_is = () => {};
|
|
323554
323959
|
|
|
323555
|
-
//
|
|
323960
|
+
// ../../../v2/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.node.js
|
|
323556
323961
|
function color(d) {
|
|
323557
323962
|
return "\x1B[33m" + d + "\x1B[39m";
|
|
323558
323963
|
}
|
|
323559
323964
|
|
|
323560
|
-
//
|
|
323965
|
+
// ../../../v2/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.js
|
|
323561
323966
|
function visitParents(tree, test, visitor, reverse) {
|
|
323562
323967
|
let check2;
|
|
323563
323968
|
if (typeof test === "function" && typeof visitor !== "function") {
|
|
@@ -323623,12 +324028,12 @@ var init_lib3 = __esm(() => {
|
|
|
323623
324028
|
empty2 = [];
|
|
323624
324029
|
});
|
|
323625
324030
|
|
|
323626
|
-
//
|
|
324031
|
+
// ../../../v2/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/index.js
|
|
323627
324032
|
var init_unist_util_visit_parents = __esm(() => {
|
|
323628
324033
|
init_lib3();
|
|
323629
324034
|
});
|
|
323630
324035
|
|
|
323631
|
-
//
|
|
324036
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js
|
|
323632
324037
|
function findAndReplace(tree, list2, options) {
|
|
323633
324038
|
const settings = options || {};
|
|
323634
324039
|
const ignored = convert(settings.ignore || []);
|
|
@@ -323733,12 +324138,12 @@ var init_lib4 = __esm(() => {
|
|
|
323733
324138
|
init_unist_util_is();
|
|
323734
324139
|
});
|
|
323735
324140
|
|
|
323736
|
-
//
|
|
324141
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/index.js
|
|
323737
324142
|
var init_mdast_util_find_and_replace = __esm(() => {
|
|
323738
324143
|
init_lib4();
|
|
323739
324144
|
});
|
|
323740
324145
|
|
|
323741
|
-
//
|
|
324146
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
323742
324147
|
function gfmAutolinkLiteralFromMarkdown() {
|
|
323743
324148
|
return {
|
|
323744
324149
|
transforms: [transformGfmAutolinkLiterals],
|
|
@@ -323856,12 +324261,12 @@ var init_lib5 = __esm(() => {
|
|
|
323856
324261
|
init_mdast_util_find_and_replace();
|
|
323857
324262
|
});
|
|
323858
324263
|
|
|
323859
|
-
//
|
|
324264
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/index.js
|
|
323860
324265
|
var init_mdast_util_gfm_autolink_literal = __esm(() => {
|
|
323861
324266
|
init_lib5();
|
|
323862
324267
|
});
|
|
323863
324268
|
|
|
323864
|
-
//
|
|
324269
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0_supports-color@7.2.0/node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
323865
324270
|
function enterFootnoteCallString() {
|
|
323866
324271
|
this.buffer();
|
|
323867
324272
|
}
|
|
@@ -323930,12 +324335,12 @@ var init_lib6 = __esm(() => {
|
|
|
323930
324335
|
footnoteReference.peek = footnoteReferencePeek;
|
|
323931
324336
|
});
|
|
323932
324337
|
|
|
323933
|
-
//
|
|
324338
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0_supports-color@7.2.0/node_modules/mdast-util-gfm-footnote/index.js
|
|
323934
324339
|
var init_mdast_util_gfm_footnote = __esm(() => {
|
|
323935
324340
|
init_lib6();
|
|
323936
324341
|
});
|
|
323937
324342
|
|
|
323938
|
-
//
|
|
324343
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0_supports-color@7.2.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
323939
324344
|
function gfmStrikethroughFromMarkdown() {
|
|
323940
324345
|
return {
|
|
323941
324346
|
canContainEols: ["delete"],
|
|
@@ -323969,12 +324374,12 @@ var init_lib7 = __esm(() => {
|
|
|
323969
324374
|
handleDelete.peek = peekDelete;
|
|
323970
324375
|
});
|
|
323971
324376
|
|
|
323972
|
-
//
|
|
324377
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0_supports-color@7.2.0/node_modules/mdast-util-gfm-strikethrough/index.js
|
|
323973
324378
|
var init_mdast_util_gfm_strikethrough = __esm(() => {
|
|
323974
324379
|
init_lib7();
|
|
323975
324380
|
});
|
|
323976
324381
|
|
|
323977
|
-
//
|
|
324382
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm-table@2.0.0_supports-color@7.2.0/node_modules/mdast-util-gfm-table/lib/index.js
|
|
323978
324383
|
function gfmTableFromMarkdown() {
|
|
323979
324384
|
return {
|
|
323980
324385
|
enter: {
|
|
@@ -324034,12 +324439,12 @@ var init_lib8 = __esm(() => {
|
|
|
324034
324439
|
init_development();
|
|
324035
324440
|
});
|
|
324036
324441
|
|
|
324037
|
-
//
|
|
324442
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm-table@2.0.0_supports-color@7.2.0/node_modules/mdast-util-gfm-table/index.js
|
|
324038
324443
|
var init_mdast_util_gfm_table = __esm(() => {
|
|
324039
324444
|
init_lib8();
|
|
324040
324445
|
});
|
|
324041
324446
|
|
|
324042
|
-
//
|
|
324447
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0_supports-color@7.2.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
324043
324448
|
function gfmTaskListItemFromMarkdown() {
|
|
324044
324449
|
return {
|
|
324045
324450
|
exit: {
|
|
@@ -324089,12 +324494,12 @@ var init_lib9 = __esm(() => {
|
|
|
324089
324494
|
init_development();
|
|
324090
324495
|
});
|
|
324091
324496
|
|
|
324092
|
-
//
|
|
324497
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0_supports-color@7.2.0/node_modules/mdast-util-gfm-task-list-item/index.js
|
|
324093
324498
|
var init_mdast_util_gfm_task_list_item = __esm(() => {
|
|
324094
324499
|
init_lib9();
|
|
324095
324500
|
});
|
|
324096
324501
|
|
|
324097
|
-
//
|
|
324502
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm@3.1.0_supports-color@7.2.0/node_modules/mdast-util-gfm/lib/index.js
|
|
324098
324503
|
function gfmFromMarkdown() {
|
|
324099
324504
|
return [
|
|
324100
324505
|
gfmAutolinkLiteralFromMarkdown(),
|
|
@@ -324112,12 +324517,12 @@ var init_lib10 = __esm(() => {
|
|
|
324112
324517
|
init_mdast_util_gfm_task_list_item();
|
|
324113
324518
|
});
|
|
324114
324519
|
|
|
324115
|
-
//
|
|
324520
|
+
// ../../../v2/node_modules/.pnpm/mdast-util-gfm@3.1.0_supports-color@7.2.0/node_modules/mdast-util-gfm/index.js
|
|
324116
324521
|
var init_mdast_util_gfm = __esm(() => {
|
|
324117
324522
|
init_lib10();
|
|
324118
324523
|
});
|
|
324119
324524
|
|
|
324120
|
-
//
|
|
324525
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/syntax.js
|
|
324121
324526
|
function gfmAutolinkLiteral() {
|
|
324122
324527
|
return { text: text3 };
|
|
324123
324528
|
}
|
|
@@ -324448,12 +324853,12 @@ var init_syntax = __esm(() => {
|
|
|
324448
324853
|
text3[codes.lowercaseW] = [emailAutolink, wwwAutolink];
|
|
324449
324854
|
});
|
|
324450
324855
|
|
|
324451
|
-
//
|
|
324856
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/dev/index.js
|
|
324452
324857
|
var init_dev16 = __esm(() => {
|
|
324453
324858
|
init_syntax();
|
|
324454
324859
|
});
|
|
324455
324860
|
|
|
324456
|
-
//
|
|
324861
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/dev/lib/syntax.js
|
|
324457
324862
|
function gfmFootnote() {
|
|
324458
324863
|
return {
|
|
324459
324864
|
document: {
|
|
@@ -324717,12 +325122,12 @@ var init_syntax2 = __esm(() => {
|
|
|
324717
325122
|
indent = { tokenize: tokenizeIndent2, partial: true };
|
|
324718
325123
|
});
|
|
324719
325124
|
|
|
324720
|
-
//
|
|
325125
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/dev/index.js
|
|
324721
325126
|
var init_dev17 = __esm(() => {
|
|
324722
325127
|
init_syntax2();
|
|
324723
325128
|
});
|
|
324724
325129
|
|
|
324725
|
-
//
|
|
325130
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/dev/lib/syntax.js
|
|
324726
325131
|
function gfmStrikethrough(options) {
|
|
324727
325132
|
const options_ = options || {};
|
|
324728
325133
|
let single = options_.singleTilde;
|
|
@@ -324828,12 +325233,12 @@ var init_syntax3 = __esm(() => {
|
|
|
324828
325233
|
init_default3();
|
|
324829
325234
|
});
|
|
324830
325235
|
|
|
324831
|
-
//
|
|
325236
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/dev/index.js
|
|
324832
325237
|
var init_dev18 = __esm(() => {
|
|
324833
325238
|
init_syntax3();
|
|
324834
325239
|
});
|
|
324835
325240
|
|
|
324836
|
-
//
|
|
325241
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.js
|
|
324837
325242
|
class EditMap {
|
|
324838
325243
|
constructor() {
|
|
324839
325244
|
this.map = [];
|
|
@@ -324883,7 +325288,7 @@ function addImplementation(editMap, at, remove, add) {
|
|
|
324883
325288
|
editMap.map.push([at, remove, add]);
|
|
324884
325289
|
}
|
|
324885
325290
|
|
|
324886
|
-
//
|
|
325291
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/dev/lib/infer.js
|
|
324887
325292
|
function gfmTableAlign(events, index2) {
|
|
324888
325293
|
ok2(events[index2][1].type === "table", "expected table");
|
|
324889
325294
|
let inDelimiterRow = false;
|
|
@@ -324914,7 +325319,7 @@ var init_infer = __esm(() => {
|
|
|
324914
325319
|
init_development();
|
|
324915
325320
|
});
|
|
324916
325321
|
|
|
324917
|
-
//
|
|
325322
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/dev/lib/syntax.js
|
|
324918
325323
|
function gfmTable() {
|
|
324919
325324
|
return {
|
|
324920
325325
|
flow: {
|
|
@@ -325306,12 +325711,12 @@ var init_syntax4 = __esm(() => {
|
|
|
325306
325711
|
init_infer();
|
|
325307
325712
|
});
|
|
325308
325713
|
|
|
325309
|
-
//
|
|
325714
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/dev/index.js
|
|
325310
325715
|
var init_dev19 = __esm(() => {
|
|
325311
325716
|
init_syntax4();
|
|
325312
325717
|
});
|
|
325313
325718
|
|
|
325314
|
-
//
|
|
325719
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/dev/lib/syntax.js
|
|
325315
325720
|
function gfmTaskListItem() {
|
|
325316
325721
|
return {
|
|
325317
325722
|
text: { [codes.leftSquareBracket]: tasklistCheck }
|
|
@@ -325381,12 +325786,12 @@ var init_syntax5 = __esm(() => {
|
|
|
325381
325786
|
tasklistCheck = { name: "tasklistCheck", tokenize: tokenizeTasklistCheck };
|
|
325382
325787
|
});
|
|
325383
325788
|
|
|
325384
|
-
//
|
|
325789
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/dev/index.js
|
|
325385
325790
|
var init_dev20 = __esm(() => {
|
|
325386
325791
|
init_syntax5();
|
|
325387
325792
|
});
|
|
325388
325793
|
|
|
325389
|
-
//
|
|
325794
|
+
// ../../../v2/node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.js
|
|
325390
325795
|
function gfm(options) {
|
|
325391
325796
|
return combineExtensions([
|
|
325392
325797
|
gfmAutolinkLiteral(),
|
|
@@ -357360,7 +357765,14 @@ function logicalEntryMatchesStoryFilter(entry, filter) {
|
|
|
357360
357765
|
return isBodyStoryId2(entry.storyId);
|
|
357361
357766
|
if (!filter.storyIds?.has(entry.storyId))
|
|
357362
357767
|
return false;
|
|
357363
|
-
|
|
357768
|
+
if (!filter.noteId)
|
|
357769
|
+
return true;
|
|
357770
|
+
return ownedLogicalNoteIds(entry).includes(filter.noteId);
|
|
357771
|
+
}
|
|
357772
|
+
function ownedLogicalNoteIds(entry) {
|
|
357773
|
+
if (entry.noteIds && entry.noteIds.length > 0)
|
|
357774
|
+
return entry.noteIds;
|
|
357775
|
+
return entry.noteId != null ? [entry.noteId] : [];
|
|
357364
357776
|
}
|
|
357365
357777
|
function isVisibleLogicalChange(entry) {
|
|
357366
357778
|
return isVisibleLogicalTrackedChange(entry);
|
|
@@ -359061,6 +359473,9 @@ function toDocumentApiDiffError(error48, contextLabel) {
|
|
|
359061
359473
|
return new DocumentApiValidationError2("PRECONDITION_FAILED", `${contextLabel}: ${message}`);
|
|
359062
359474
|
}
|
|
359063
359475
|
function diffValidationError(code2, message, details) {
|
|
359476
|
+
if (code2 === "CAPABILITY_UNSUPPORTED" && message.startsWith("diff.apply:")) {
|
|
359477
|
+
return new DocumentApiValidationError2(code2, `${message} For a complete DOCX pair, use the versioned document review session's applyTarget operation.`, { ...details, reviewFallback: { operation: "applyTarget", input: "raw-base-and-target-docx" } });
|
|
359478
|
+
}
|
|
359064
359479
|
return new DocumentApiValidationError2(code2, message, details);
|
|
359065
359480
|
}
|
|
359066
359481
|
var init_errors8 = __esm(() => {
|
|
@@ -381867,11 +382282,14 @@ class V2AnchoredMetadataAdapter {
|
|
|
381867
382282
|
}
|
|
381868
382283
|
list(query3) {
|
|
381869
382284
|
let records = listMetadataRecords(this.context);
|
|
382285
|
+
const recordCounts = new Map;
|
|
382286
|
+
for (const record3 of records)
|
|
382287
|
+
recordCounts.set(record3.id, (recordCounts.get(record3.id) ?? 0) + 1);
|
|
381870
382288
|
if (query3?.namespace !== undefined)
|
|
381871
382289
|
records = records.filter((record3) => record3.namespace === query3.namespace);
|
|
381872
382290
|
const documentXml = readDocumentXml(this.context);
|
|
381873
382291
|
if (query3?.resolvedOnly === true) {
|
|
381874
|
-
records = records.filter((record3) =>
|
|
382292
|
+
records = records.filter((record3) => recordCounts.get(record3.id) === 1 && groupMetadataAnchor(documentXml, record3.id, new Set([record3.id])) !== null);
|
|
381875
382293
|
}
|
|
381876
382294
|
if (query3?.within !== undefined) {
|
|
381877
382295
|
records = records.filter((record3) => {
|
|
@@ -381895,6 +382313,9 @@ class V2AnchoredMetadataAdapter {
|
|
|
381895
382313
|
const mutationGuard = guardDirectOnlyMutation(this.context, input, options);
|
|
381896
382314
|
if (mutationGuard)
|
|
381897
382315
|
return mutationGuard;
|
|
382316
|
+
if (listMetadataRecords(this.context).filter((candidate2) => candidate2.id === input.id).length > 1) {
|
|
382317
|
+
return failure2("INVALID_TARGET", `metadata ${input.id} has ambiguous payload records.`);
|
|
382318
|
+
}
|
|
381898
382319
|
const record3 = findMetadataRecord(this.context, input.id);
|
|
381899
382320
|
if (!record3)
|
|
381900
382321
|
throw operationError("TARGET_NOT_FOUND", `metadata ${input.id} not found.`);
|
|
@@ -381917,14 +382338,21 @@ class V2AnchoredMetadataAdapter {
|
|
|
381917
382338
|
const mutationGuard = guardDirectOnlyMutation(this.context, input, options);
|
|
381918
382339
|
if (mutationGuard)
|
|
381919
382340
|
return mutationGuard;
|
|
382341
|
+
if (listMetadataRecords(this.context).filter((candidate2) => candidate2.id === input.id).length > 1) {
|
|
382342
|
+
return failure2("INVALID_TARGET", `metadata ${input.id} has ambiguous payload records.`);
|
|
382343
|
+
}
|
|
381920
382344
|
const record3 = findMetadataRecord(this.context, input.id);
|
|
381921
382345
|
if (!record3)
|
|
381922
382346
|
throw operationError("TARGET_NOT_FOUND", `metadata ${input.id} not found.`);
|
|
381923
|
-
if (dryRunRequested(input, options))
|
|
381924
|
-
return { success: true, id: input.id };
|
|
381925
382347
|
const documentXml = readDocumentXml(this.context);
|
|
381926
382348
|
const knownIds = new Set(listMetadataRecords(this.context).map((candidate2) => candidate2.id));
|
|
382349
|
+
const matchingAnchors = listMetadataAnchors(documentXml, knownIds).filter((anchor) => anchor.id === input.id);
|
|
381927
382350
|
const grouped = groupMetadataAnchor(documentXml, input.id, knownIds);
|
|
382351
|
+
if (matchingAnchors.length > 0 && !grouped) {
|
|
382352
|
+
return { success: false, failure: { code: "INVALID_TARGET", message: `metadata ${input.id} has ambiguous anchors.` } };
|
|
382353
|
+
}
|
|
382354
|
+
if (dryRunRequested(input, options))
|
|
382355
|
+
return { success: true, id: input.id };
|
|
381928
382356
|
const updates = {};
|
|
381929
382357
|
if (grouped) {
|
|
381930
382358
|
const bySegmentPosition = [...grouped.segments].sort((a, b) => b.start - a.start);
|
|
@@ -381997,14 +382425,15 @@ function listMetadataRecords(context) {
|
|
|
381997
382425
|
return out;
|
|
381998
382426
|
}
|
|
381999
382427
|
function findMetadataRecord(context, id) {
|
|
382000
|
-
|
|
382428
|
+
const matches = listMetadataRecords(context).filter((record3) => record3.id === id);
|
|
382429
|
+
return matches.length === 1 ? matches[0] : null;
|
|
382001
382430
|
}
|
|
382002
382431
|
function metadataSummary(record3, documentXml) {
|
|
382003
382432
|
return {
|
|
382004
382433
|
id: record3.id,
|
|
382005
382434
|
namespace: record3.namespace,
|
|
382006
382435
|
partName: record3.partName,
|
|
382007
|
-
anchorStatus:
|
|
382436
|
+
anchorStatus: groupMetadataAnchor(documentXml, record3.id, new Set([record3.id])) ? "resolved" : "orphan"
|
|
382008
382437
|
};
|
|
382009
382438
|
}
|
|
382010
382439
|
function readMetadataRefs(xml, _namespace) {
|
|
@@ -382071,8 +382500,6 @@ function isMetadataAnchorPr(pr, tag, knownIds) {
|
|
|
382071
382500
|
const alias = attrValue(/<w:alias\b[^>]*\/>/.exec(pr)?.[0] ?? "", "val");
|
|
382072
382501
|
if (alias !== null && alias !== METADATA_ANCHOR_ALIAS)
|
|
382073
382502
|
return false;
|
|
382074
|
-
if (alias === METADATA_ANCHOR_ALIAS)
|
|
382075
|
-
return true;
|
|
382076
382503
|
const hasHiddenAppearance = attrValue(/<w15:appearance\b[^>]*\/>/.exec(pr)?.[0] ?? "", "val") === "hidden";
|
|
382077
382504
|
const hasPlainTextPr = /<w:text\b/.test(pr);
|
|
382078
382505
|
return knownIds.has(tag) && hasHiddenAppearance && hasPlainTextPr;
|
|
@@ -382105,6 +382532,8 @@ function groupMetadataAnchor(documentXml, id, knownIds) {
|
|
|
382105
382532
|
if (matches.length === 0)
|
|
382106
382533
|
return null;
|
|
382107
382534
|
const kept = contiguousAnchorPrefix(documentXml, matches);
|
|
382535
|
+
if (kept.length !== matches.length)
|
|
382536
|
+
return null;
|
|
382108
382537
|
if (kept.length === 1)
|
|
382109
382538
|
return { id, segments: kept, target: kept[0].target };
|
|
382110
382539
|
const textSegments = [];
|
|
@@ -386766,7 +387195,7 @@ var init_capability_matrix = __esm(() => {
|
|
|
386766
387195
|
});
|
|
386767
387196
|
});
|
|
386768
387197
|
|
|
386769
|
-
//
|
|
387198
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/map.js
|
|
386770
387199
|
var create = () => new Map, copy = (m) => {
|
|
386771
387200
|
const r = create();
|
|
386772
387201
|
m.forEach((v, k) => {
|
|
@@ -386788,10 +387217,10 @@ var create = () => new Map, copy = (m) => {
|
|
|
386788
387217
|
return false;
|
|
386789
387218
|
};
|
|
386790
387219
|
|
|
386791
|
-
//
|
|
387220
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/set.js
|
|
386792
387221
|
var create2 = () => new Set;
|
|
386793
387222
|
|
|
386794
|
-
//
|
|
387223
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/array.js
|
|
386795
387224
|
var last = (arr) => arr[arr.length - 1], appendTo = (dest, src) => {
|
|
386796
387225
|
for (let i2 = 0;i2 < src.length; i2++) {
|
|
386797
387226
|
dest.push(src[i2]);
|
|
@@ -386809,7 +387238,7 @@ var init_array2 = __esm(() => {
|
|
|
386809
387238
|
isArray = Array.isArray;
|
|
386810
387239
|
});
|
|
386811
387240
|
|
|
386812
|
-
//
|
|
387241
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/observable.js
|
|
386813
387242
|
class ObservableV2 {
|
|
386814
387243
|
constructor() {
|
|
386815
387244
|
this._observers = create();
|
|
@@ -386876,7 +387305,7 @@ var init_observable = __esm(() => {
|
|
|
386876
387305
|
init_array2();
|
|
386877
387306
|
});
|
|
386878
387307
|
|
|
386879
|
-
//
|
|
387308
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/math.js
|
|
386880
387309
|
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;
|
|
386881
387310
|
var init_math = __esm(() => {
|
|
386882
387311
|
floor = Math.floor;
|
|
@@ -386884,7 +387313,7 @@ var init_math = __esm(() => {
|
|
|
386884
387313
|
pow = Math.pow;
|
|
386885
387314
|
});
|
|
386886
387315
|
|
|
386887
|
-
//
|
|
387316
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/binary.js
|
|
386888
387317
|
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;
|
|
386889
387318
|
var init_binary = __esm(() => {
|
|
386890
387319
|
BIT18 = 1 << 17;
|
|
@@ -386918,7 +387347,7 @@ var init_binary = __esm(() => {
|
|
|
386918
387347
|
BITS30 = BIT31 - 1;
|
|
386919
387348
|
});
|
|
386920
387349
|
|
|
386921
|
-
//
|
|
387350
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/number.js
|
|
386922
387351
|
var MAX_SAFE_INTEGER, MIN_SAFE_INTEGER, LOWEST_INT32, isInteger2;
|
|
386923
387352
|
var init_number2 = __esm(() => {
|
|
386924
387353
|
init_math();
|
|
@@ -386928,7 +387357,7 @@ var init_number2 = __esm(() => {
|
|
|
386928
387357
|
isInteger2 = Number.isInteger || ((num) => typeof num === "number" && isFinite(num) && floor(num) === num);
|
|
386929
387358
|
});
|
|
386930
387359
|
|
|
386931
|
-
//
|
|
387360
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/string.js
|
|
386932
387361
|
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 = (str) => {
|
|
386933
387362
|
const encodedString = unescape(encodeURIComponent(str));
|
|
386934
387363
|
const len = encodedString.length;
|
|
@@ -386952,7 +387381,7 @@ var init_string2 = __esm(() => {
|
|
|
386952
387381
|
}
|
|
386953
387382
|
});
|
|
386954
387383
|
|
|
386955
|
-
//
|
|
387384
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/encoding.js
|
|
386956
387385
|
class Encoder {
|
|
386957
387386
|
constructor() {
|
|
386958
387387
|
this.cpos = 0;
|
|
@@ -387218,14 +387647,14 @@ var init_encoding = __esm(() => {
|
|
|
387218
387647
|
};
|
|
387219
387648
|
});
|
|
387220
387649
|
|
|
387221
|
-
//
|
|
387650
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/error.js
|
|
387222
387651
|
var create3 = (s) => new Error(s), methodUnimplemented = () => {
|
|
387223
387652
|
throw create3("Method unimplemented");
|
|
387224
387653
|
}, unexpectedCase = () => {
|
|
387225
387654
|
throw create3("Unexpected case");
|
|
387226
387655
|
};
|
|
387227
387656
|
|
|
387228
|
-
//
|
|
387657
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/decoding.js
|
|
387229
387658
|
class Decoder {
|
|
387230
387659
|
constructor(uint8Array) {
|
|
387231
387660
|
this.arr = uint8Array;
|
|
@@ -387416,7 +387845,7 @@ var init_decoding = __esm(() => {
|
|
|
387416
387845
|
};
|
|
387417
387846
|
});
|
|
387418
387847
|
|
|
387419
|
-
//
|
|
387848
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/webcrypto.node.js
|
|
387420
387849
|
import { webcrypto } from "node:crypto";
|
|
387421
387850
|
var subtle, getRandomValues;
|
|
387422
387851
|
var init_webcrypto_node = __esm(() => {
|
|
@@ -387424,29 +387853,29 @@ var init_webcrypto_node = __esm(() => {
|
|
|
387424
387853
|
getRandomValues = webcrypto.getRandomValues.bind(webcrypto);
|
|
387425
387854
|
});
|
|
387426
387855
|
|
|
387427
|
-
//
|
|
387856
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/random.js
|
|
387428
387857
|
var uint322 = () => getRandomValues(new Uint32Array(1))[0], uuidv4Template, uuidv42 = () => uuidv4Template.replace(/[018]/g, (c) => (c ^ uint322() & 15 >> c / 4).toString(16));
|
|
387429
387858
|
var init_random = __esm(() => {
|
|
387430
387859
|
init_webcrypto_node();
|
|
387431
387860
|
uuidv4Template = [1e7] + -1000 + -4000 + -8000 + -100000000000;
|
|
387432
387861
|
});
|
|
387433
387862
|
|
|
387434
|
-
//
|
|
387863
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/time.js
|
|
387435
387864
|
var getUnixTime;
|
|
387436
387865
|
var init_time = __esm(() => {
|
|
387437
387866
|
getUnixTime = Date.now;
|
|
387438
387867
|
});
|
|
387439
387868
|
|
|
387440
|
-
//
|
|
387869
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/promise.js
|
|
387441
387870
|
var create4 = (f) => new Promise(f), all2;
|
|
387442
387871
|
var init_promise2 = __esm(() => {
|
|
387443
387872
|
all2 = Promise.all.bind(Promise);
|
|
387444
387873
|
});
|
|
387445
387874
|
|
|
387446
|
-
//
|
|
387875
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/conditions.js
|
|
387447
387876
|
var undefinedToNull = (v) => v === undefined ? null : v;
|
|
387448
387877
|
|
|
387449
|
-
//
|
|
387878
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/storage.js
|
|
387450
387879
|
class VarStoragePolyfill {
|
|
387451
387880
|
constructor() {
|
|
387452
387881
|
this.map = new Map;
|
|
@@ -387470,13 +387899,13 @@ var init_storage = __esm(() => {
|
|
|
387470
387899
|
varStorage = _localStorage;
|
|
387471
387900
|
});
|
|
387472
387901
|
|
|
387473
|
-
//
|
|
387902
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/trait/equality.js
|
|
387474
387903
|
var EqualityTraitSymbol, equals = (a, b) => a === b || !!a?.[EqualityTraitSymbol]?.(b) || false;
|
|
387475
387904
|
var init_equality = __esm(() => {
|
|
387476
387905
|
EqualityTraitSymbol = Symbol("Equality");
|
|
387477
387906
|
});
|
|
387478
387907
|
|
|
387479
|
-
//
|
|
387908
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/object.js
|
|
387480
387909
|
var assign, keys, forEach = (obj, f) => {
|
|
387481
387910
|
for (const key2 in obj) {
|
|
387482
387911
|
f(obj[key2], key2);
|
|
@@ -387515,7 +387944,7 @@ var init_object2 = __esm(() => {
|
|
|
387515
387944
|
freeze = Object.freeze;
|
|
387516
387945
|
});
|
|
387517
387946
|
|
|
387518
|
-
//
|
|
387947
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/function.js
|
|
387519
387948
|
var callAll = (fs, args, i2 = 0) => {
|
|
387520
387949
|
try {
|
|
387521
387950
|
for (;i2 < fs.length; i2++) {
|
|
@@ -387604,7 +388033,7 @@ var init_function = __esm(() => {
|
|
|
387604
388033
|
init_equality();
|
|
387605
388034
|
});
|
|
387606
388035
|
|
|
387607
|
-
//
|
|
388036
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/environment.js
|
|
387608
388037
|
var isNode, isBrowser, isMac, params, args, computeParams = () => {
|
|
387609
388038
|
if (params === undefined) {
|
|
387610
388039
|
if (isNode) {
|
|
@@ -387658,7 +388087,7 @@ var init_environment = __esm(() => {
|
|
|
387658
388087
|
supportsColor = forceColor || !hasParam2("--no-colors") && !hasConf("no-color") && (!isNode || process.stdout.isTTY) && (!isNode || hasParam2("--color") || getVariable("COLORTERM") !== null || (getVariable("TERM") || "").includes("color"));
|
|
387659
388088
|
});
|
|
387660
388089
|
|
|
387661
|
-
//
|
|
388090
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/buffer.js
|
|
387662
388091
|
var createUint8ArrayFromLen = (len) => new Uint8Array(len), createUint8ArrayViewFromArrayBuffer = (buffer, byteOffset, length2) => new Uint8Array(buffer, byteOffset, length2), createUint8ArrayFromArrayBuffer = (buffer) => new Uint8Array(buffer), toBase64Browser = (bytes) => {
|
|
387663
388092
|
let s = "";
|
|
387664
388093
|
for (let i2 = 0;i2 < bytes.byteLength; i2++) {
|
|
@@ -387687,13 +388116,13 @@ var init_buffer = __esm(() => {
|
|
|
387687
388116
|
fromBase64 = isBrowser ? fromBase64Browser : fromBase64Node;
|
|
387688
388117
|
});
|
|
387689
388118
|
|
|
387690
|
-
//
|
|
388119
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/symbol.js
|
|
387691
388120
|
var create5;
|
|
387692
388121
|
var init_symbol = __esm(() => {
|
|
387693
388122
|
create5 = Symbol;
|
|
387694
388123
|
});
|
|
387695
388124
|
|
|
387696
|
-
//
|
|
388125
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/logging.common.js
|
|
387697
388126
|
var BOLD, UNBOLD, BLUE, GREY, GREEN, RED, PURPLE, ORANGE, UNCOLOR, computeNoColorLoggingArgs = (args2) => {
|
|
387698
388127
|
if (args2.length === 1 && args2[0]?.constructor === Function) {
|
|
387699
388128
|
args2 = args2[0]();
|
|
@@ -387737,7 +388166,7 @@ var init_logging_common = __esm(() => {
|
|
|
387737
388166
|
lastLoggingTime = getUnixTime();
|
|
387738
388167
|
});
|
|
387739
388168
|
|
|
387740
|
-
//
|
|
388169
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/logging.node.js
|
|
387741
388170
|
var _nodeStyleMap, computeNodeLoggingArgs = (args2) => {
|
|
387742
388171
|
if (args2.length === 1 && args2[0]?.constructor === Function) {
|
|
387743
388172
|
args2 = args2[0]();
|
|
@@ -387794,7 +388223,7 @@ var init_logging_node = __esm(() => {
|
|
|
387794
388223
|
computeLoggingArgs = supportsColor ? computeNodeLoggingArgs : computeNoColorLoggingArgs;
|
|
387795
388224
|
});
|
|
387796
388225
|
|
|
387797
|
-
//
|
|
388226
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/iterator.js
|
|
387798
388227
|
var createIterator = (next) => ({
|
|
387799
388228
|
[Symbol.iterator]() {
|
|
387800
388229
|
return this;
|
|
@@ -387811,7 +388240,7 @@ var createIterator = (next) => ({
|
|
|
387811
388240
|
return { done, value: done ? undefined : fmap(value2) };
|
|
387812
388241
|
});
|
|
387813
388242
|
|
|
387814
|
-
//
|
|
388243
|
+
// ../../../v2/node_modules/.pnpm/yjs@13.6.31/node_modules/yjs/dist/yjs.mjs
|
|
387815
388244
|
class DeleteItem {
|
|
387816
388245
|
constructor(clock, len) {
|
|
387817
388246
|
this.clock = clock;
|
|
@@ -392554,7 +392983,7 @@ var init_yjs = __esm(() => {
|
|
|
392554
392983
|
glo[importIdentifier] = true;
|
|
392555
392984
|
});
|
|
392556
392985
|
|
|
392557
|
-
//
|
|
392986
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/broadcastchannel.js
|
|
392558
392987
|
class LocalStoragePolyfill {
|
|
392559
392988
|
constructor(room) {
|
|
392560
392989
|
this.room = room;
|
|
@@ -392600,7 +393029,7 @@ var init_broadcastchannel = __esm(() => {
|
|
|
392600
393029
|
BC = typeof BroadcastChannel === "undefined" ? LocalStoragePolyfill : BroadcastChannel;
|
|
392601
393030
|
});
|
|
392602
393031
|
|
|
392603
|
-
//
|
|
393032
|
+
// ../../../v2/node_modules/.pnpm/y-protocols@1.0.7_yjs@13.6.31/node_modules/y-protocols/sync.js
|
|
392604
393033
|
var messageYjsSyncStep1 = 0, messageYjsSyncStep2 = 1, messageYjsUpdate = 2, writeSyncStep1 = (encoder2, doc2) => {
|
|
392605
393034
|
writeVarUint(encoder2, messageYjsSyncStep1);
|
|
392606
393035
|
const sv = encodeStateVector(doc2);
|
|
@@ -392643,7 +393072,7 @@ var init_sync = __esm(() => {
|
|
|
392643
393072
|
readUpdate = readSyncStep2;
|
|
392644
393073
|
});
|
|
392645
393074
|
|
|
392646
|
-
//
|
|
393075
|
+
// ../../../v2/node_modules/.pnpm/y-protocols@1.0.7_yjs@13.6.31/node_modules/y-protocols/auth.js
|
|
392647
393076
|
var messagePermissionDenied = 0, readAuthMessage = (decoder7, y, permissionDeniedHandler) => {
|
|
392648
393077
|
switch (readVarUint(decoder7)) {
|
|
392649
393078
|
case messagePermissionDenied:
|
|
@@ -392654,7 +393083,7 @@ var init_auth = __esm(() => {
|
|
|
392654
393083
|
init_decoding();
|
|
392655
393084
|
});
|
|
392656
393085
|
|
|
392657
|
-
//
|
|
393086
|
+
// ../../../v2/node_modules/.pnpm/y-protocols@1.0.7_yjs@13.6.31/node_modules/y-protocols/awareness.js
|
|
392658
393087
|
var outdatedTimeout = 30000, Awareness, removeAwarenessStates = (awareness, clients, origin) => {
|
|
392659
393088
|
const removed = [];
|
|
392660
393089
|
for (let i2 = 0;i2 < clients.length; i2++) {
|
|
@@ -392837,13 +393266,13 @@ var init_awareness = __esm(() => {
|
|
|
392837
393266
|
};
|
|
392838
393267
|
});
|
|
392839
393268
|
|
|
392840
|
-
//
|
|
393269
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/url.js
|
|
392841
393270
|
var encodeQueryParams = (params2) => map3(params2, (val, key2) => `${encodeURIComponent(key2)}=${encodeURIComponent(val)}`).join("&");
|
|
392842
393271
|
var init_url = __esm(() => {
|
|
392843
393272
|
init_object2();
|
|
392844
393273
|
});
|
|
392845
393274
|
|
|
392846
|
-
//
|
|
393275
|
+
// ../../../v2/node_modules/.pnpm/y-websocket@3.0.0_yjs@13.6.31/node_modules/y-websocket/src/y-websocket.js
|
|
392847
393276
|
var messageSync = 0, messageQueryAwareness = 3, messageAwareness = 1, messageAuth = 2, messageHandlers, messageReconnectTimeout = 30000, permissionDeniedHandler = (provider, reason) => console.warn(`Permission denied to access ${provider.url}.
|
|
392848
393277
|
${reason}`), readMessage = (provider, buf, emitSynced) => {
|
|
392849
393278
|
const decoder7 = createDecoder(buf);
|
|
@@ -393636,7 +394065,7 @@ var init_y_websocket_single_doc = __esm(() => {
|
|
|
393636
394065
|
init_runtime4();
|
|
393637
394066
|
});
|
|
393638
394067
|
|
|
393639
|
-
//
|
|
394068
|
+
// ../../../v2/node_modules/.pnpm/@hocuspocus+common@2.15.3/node_modules/@hocuspocus/common/dist/hocuspocus-common.esm.js
|
|
393640
394069
|
var floor2, min2 = (a, b) => a < b ? a : b, max3 = (a, b) => a > b ? a : b, BIT82 = 128, BITS72 = 127, MAX_SAFE_INTEGER2, _encodeUtf8Polyfill2 = (str) => {
|
|
393641
394070
|
const encodedString = unescape(encodeURIComponent(str));
|
|
393642
394071
|
const len = encodedString.length;
|
|
@@ -393795,7 +394224,7 @@ var init_hocuspocus_common_esm = __esm(() => {
|
|
|
393795
394224
|
})(WsReadyStates || (WsReadyStates = {}));
|
|
393796
394225
|
});
|
|
393797
394226
|
|
|
393798
|
-
//
|
|
394227
|
+
// ../../../v2/node_modules/.pnpm/@lifeomic+attempt@3.1.0/node_modules/@lifeomic/attempt/dist/src/index.js
|
|
393799
394228
|
var require_src2 = __commonJS((exports) => {
|
|
393800
394229
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
393801
394230
|
exports.retry = exports.defaultCalculateDelay = exports.sleep = undefined;
|
|
@@ -393940,7 +394369,7 @@ var require_src2 = __commonJS((exports) => {
|
|
|
393940
394369
|
exports.retry = retry;
|
|
393941
394370
|
});
|
|
393942
394371
|
|
|
393943
|
-
//
|
|
394372
|
+
// ../../../v2/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
|
|
393944
394373
|
class VarStoragePolyfill2 {
|
|
393945
394374
|
constructor() {
|
|
393946
394375
|
this.map = new Map;
|
|
@@ -395690,7 +396119,7 @@ var init_hocuspocus_single_doc = __esm(() => {
|
|
|
395690
396119
|
init_runtime4();
|
|
395691
396120
|
});
|
|
395692
396121
|
|
|
395693
|
-
//
|
|
396122
|
+
// ../../../v2/node_modules/.pnpm/@liveblocks+core@3.15.5_@types+json-schema@7.0.15/node_modules/@liveblocks/core/dist/index.js
|
|
395694
396123
|
function error48(msg) {
|
|
395695
396124
|
if (false) {} else {
|
|
395696
396125
|
throw new Error(msg);
|
|
@@ -404662,7 +405091,7 @@ var init_dist6 = __esm(() => {
|
|
|
404662
405091
|
detectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);
|
|
404663
405092
|
});
|
|
404664
405093
|
|
|
404665
|
-
//
|
|
405094
|
+
// ../../../v2/node_modules/.pnpm/@liveblocks+client@3.15.5_@types+json-schema@7.0.15/node_modules/@liveblocks/client/dist/index.js
|
|
404666
405095
|
var PKG_NAME2 = "@liveblocks/client", PKG_VERSION2 = "3.15.5", PKG_FORMAT2 = "esm";
|
|
404667
405096
|
var init_dist7 = __esm(() => {
|
|
404668
405097
|
init_dist6();
|
|
@@ -404670,7 +405099,7 @@ var init_dist7 = __esm(() => {
|
|
|
404670
405099
|
detectDupes(PKG_NAME2, PKG_VERSION2, PKG_FORMAT2);
|
|
404671
405100
|
});
|
|
404672
405101
|
|
|
404673
|
-
//
|
|
405102
|
+
// ../../../v2/node_modules/.pnpm/js-base64@3.7.8/node_modules/js-base64/base64.mjs
|
|
404674
405103
|
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) => {
|
|
404675
405104
|
let u32, c0, c1, c2, asc = "";
|
|
404676
405105
|
const pad = bin.length % 3;
|
|
@@ -404814,7 +405243,7 @@ var init_base64 = __esm(() => {
|
|
|
404814
405243
|
};
|
|
404815
405244
|
});
|
|
404816
405245
|
|
|
404817
|
-
//
|
|
405246
|
+
// ../../../v2/node_modules/.pnpm/lib0@0.2.117/node_modules/lib0/indexeddb.js
|
|
404818
405247
|
var rtop = (request) => create4((resolve, reject2) => {
|
|
404819
405248
|
request.onerror = (event) => reject2(new Error(event.target.error));
|
|
404820
405249
|
request.onsuccess = (event) => resolve(event.target.result);
|
|
@@ -404852,7 +405281,7 @@ var init_indexeddb = __esm(() => {
|
|
|
404852
405281
|
init_promise2();
|
|
404853
405282
|
});
|
|
404854
405283
|
|
|
404855
|
-
//
|
|
405284
|
+
// ../../../v2/node_modules/.pnpm/y-indexeddb@9.0.12_yjs@13.6.31/node_modules/y-indexeddb/src/y-indexeddb.js
|
|
404856
405285
|
var customStoreName = "custom", updatesStoreName = "updates", PREFERRED_TRIM_SIZE = 500, fetchUpdates = (idbPersistence, beforeApplyUpdatesCallback = () => {}, afterApplyUpdatesCallback = () => {}) => {
|
|
404857
405286
|
const [updatesStore] = transact2(idbPersistence.db, [updatesStoreName]);
|
|
404858
405287
|
return getAll(updatesStore, createIDBKeyRangeLowerBound(idbPersistence._dbref, false)).then((updates) => {
|
|
@@ -404964,7 +405393,7 @@ var init_y_indexeddb = __esm(() => {
|
|
|
404964
405393
|
};
|
|
404965
405394
|
});
|
|
404966
405395
|
|
|
404967
|
-
//
|
|
405396
|
+
// ../../../v2/node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/utils.js
|
|
404968
405397
|
function isBytes(a) {
|
|
404969
405398
|
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
|
|
404970
405399
|
}
|
|
@@ -405024,7 +405453,7 @@ var init_utils = __esm(() => {
|
|
|
405024
405453
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
405025
405454
|
});
|
|
405026
405455
|
|
|
405027
|
-
//
|
|
405456
|
+
// ../../../v2/node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_md.js
|
|
405028
405457
|
function setBigUint64(view, byteOffset, value2, isLE) {
|
|
405029
405458
|
if (typeof view.setBigUint64 === "function")
|
|
405030
405459
|
return view.setBigUint64(byteOffset, value2, isLE);
|
|
@@ -405148,7 +405577,7 @@ var init__md = __esm(() => {
|
|
|
405148
405577
|
]);
|
|
405149
405578
|
});
|
|
405150
405579
|
|
|
405151
|
-
//
|
|
405580
|
+
// ../../../v2/node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.js
|
|
405152
405581
|
var SHA256_K, SHA256_W, SHA256, sha256;
|
|
405153
405582
|
var init_sha2 = __esm(() => {
|
|
405154
405583
|
init__md();
|
|
@@ -405292,7 +405721,7 @@ var init_sha2 = __esm(() => {
|
|
|
405292
405721
|
sha256 = /* @__PURE__ */ createHasher(() => new SHA256);
|
|
405293
405722
|
});
|
|
405294
405723
|
|
|
405295
|
-
//
|
|
405724
|
+
// ../../../v2/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
|
|
405296
405725
|
var PKG_NAME3 = "@liveblocks/yjs", PKG_VERSION3 = "3.15.5", PKG_FORMAT3 = "esm", create9 = () => /* @__PURE__ */ new Map, setIfUndefined3 = (map5, key2, createT) => {
|
|
405297
405726
|
let set3 = map5.get(key2);
|
|
405298
405727
|
if (set3 === undefined) {
|