@ai-react-markdown/core 1.4.5 → 1.4.6
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/README.md +10 -9
- package/dist/index.cjs +156 -156
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +58 -16
- package/dist/index.d.ts +58 -16
- package/dist/index.js +157 -157
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
// src/index.tsx
|
|
4
|
-
import { useMemo as useMemo6, memo as memo4
|
|
4
|
+
import { useMemo as useMemo6, memo as memo4 } from "react";
|
|
5
5
|
|
|
6
6
|
// src/context.tsx
|
|
7
7
|
import { createContext, useContext, useId, useMemo } from "react";
|
|
8
8
|
|
|
9
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
9
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
10
10
|
function listCacheClear() {
|
|
11
11
|
this.__data__ = [];
|
|
12
12
|
this.size = 0;
|
|
13
13
|
}
|
|
14
14
|
var listCacheClear_default = listCacheClear;
|
|
15
15
|
|
|
16
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
16
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
17
17
|
function eq(value, other) {
|
|
18
18
|
return value === other || value !== value && other !== other;
|
|
19
19
|
}
|
|
20
20
|
var eq_default = eq;
|
|
21
21
|
|
|
22
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
22
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
23
23
|
function assocIndexOf(array, key) {
|
|
24
24
|
var length = array.length;
|
|
25
25
|
while (length--) {
|
|
@@ -31,7 +31,7 @@ function assocIndexOf(array, key) {
|
|
|
31
31
|
}
|
|
32
32
|
var assocIndexOf_default = assocIndexOf;
|
|
33
33
|
|
|
34
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
34
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
35
35
|
var arrayProto = Array.prototype;
|
|
36
36
|
var splice = arrayProto.splice;
|
|
37
37
|
function listCacheDelete(key) {
|
|
@@ -50,20 +50,20 @@ function listCacheDelete(key) {
|
|
|
50
50
|
}
|
|
51
51
|
var listCacheDelete_default = listCacheDelete;
|
|
52
52
|
|
|
53
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
53
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
54
54
|
function listCacheGet(key) {
|
|
55
55
|
var data = this.__data__, index = assocIndexOf_default(data, key);
|
|
56
56
|
return index < 0 ? void 0 : data[index][1];
|
|
57
57
|
}
|
|
58
58
|
var listCacheGet_default = listCacheGet;
|
|
59
59
|
|
|
60
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
60
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
61
61
|
function listCacheHas(key) {
|
|
62
62
|
return assocIndexOf_default(this.__data__, key) > -1;
|
|
63
63
|
}
|
|
64
64
|
var listCacheHas_default = listCacheHas;
|
|
65
65
|
|
|
66
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
66
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
67
67
|
function listCacheSet(key, value) {
|
|
68
68
|
var data = this.__data__, index = assocIndexOf_default(data, key);
|
|
69
69
|
if (index < 0) {
|
|
@@ -76,7 +76,7 @@ function listCacheSet(key, value) {
|
|
|
76
76
|
}
|
|
77
77
|
var listCacheSet_default = listCacheSet;
|
|
78
78
|
|
|
79
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
79
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
80
80
|
function ListCache(entries) {
|
|
81
81
|
var index = -1, length = entries == null ? 0 : entries.length;
|
|
82
82
|
this.clear();
|
|
@@ -92,14 +92,14 @@ ListCache.prototype.has = listCacheHas_default;
|
|
|
92
92
|
ListCache.prototype.set = listCacheSet_default;
|
|
93
93
|
var ListCache_default = ListCache;
|
|
94
94
|
|
|
95
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
95
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
|
|
96
96
|
function stackClear() {
|
|
97
97
|
this.__data__ = new ListCache_default();
|
|
98
98
|
this.size = 0;
|
|
99
99
|
}
|
|
100
100
|
var stackClear_default = stackClear;
|
|
101
101
|
|
|
102
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
102
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
|
|
103
103
|
function stackDelete(key) {
|
|
104
104
|
var data = this.__data__, result = data["delete"](key);
|
|
105
105
|
this.size = data.size;
|
|
@@ -107,32 +107,32 @@ function stackDelete(key) {
|
|
|
107
107
|
}
|
|
108
108
|
var stackDelete_default = stackDelete;
|
|
109
109
|
|
|
110
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
110
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
|
|
111
111
|
function stackGet(key) {
|
|
112
112
|
return this.__data__.get(key);
|
|
113
113
|
}
|
|
114
114
|
var stackGet_default = stackGet;
|
|
115
115
|
|
|
116
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
116
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
|
|
117
117
|
function stackHas(key) {
|
|
118
118
|
return this.__data__.has(key);
|
|
119
119
|
}
|
|
120
120
|
var stackHas_default = stackHas;
|
|
121
121
|
|
|
122
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
122
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
|
|
123
123
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
124
124
|
var freeGlobal_default = freeGlobal;
|
|
125
125
|
|
|
126
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
126
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
|
|
127
127
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
128
128
|
var root = freeGlobal_default || freeSelf || Function("return this")();
|
|
129
129
|
var root_default = root;
|
|
130
130
|
|
|
131
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
131
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
|
|
132
132
|
var Symbol2 = root_default.Symbol;
|
|
133
133
|
var Symbol_default = Symbol2;
|
|
134
134
|
|
|
135
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
135
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
|
|
136
136
|
var objectProto = Object.prototype;
|
|
137
137
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
138
138
|
var nativeObjectToString = objectProto.toString;
|
|
@@ -156,7 +156,7 @@ function getRawTag(value) {
|
|
|
156
156
|
}
|
|
157
157
|
var getRawTag_default = getRawTag;
|
|
158
158
|
|
|
159
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
159
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
160
160
|
var objectProto2 = Object.prototype;
|
|
161
161
|
var nativeObjectToString2 = objectProto2.toString;
|
|
162
162
|
function objectToString(value) {
|
|
@@ -164,7 +164,7 @@ function objectToString(value) {
|
|
|
164
164
|
}
|
|
165
165
|
var objectToString_default = objectToString;
|
|
166
166
|
|
|
167
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
167
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
168
168
|
var nullTag = "[object Null]";
|
|
169
169
|
var undefinedTag = "[object Undefined]";
|
|
170
170
|
var symToStringTag2 = Symbol_default ? Symbol_default.toStringTag : void 0;
|
|
@@ -176,14 +176,14 @@ function baseGetTag(value) {
|
|
|
176
176
|
}
|
|
177
177
|
var baseGetTag_default = baseGetTag;
|
|
178
178
|
|
|
179
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
179
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
180
180
|
function isObject(value) {
|
|
181
181
|
var type = typeof value;
|
|
182
182
|
return value != null && (type == "object" || type == "function");
|
|
183
183
|
}
|
|
184
184
|
var isObject_default = isObject;
|
|
185
185
|
|
|
186
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
186
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
187
187
|
var asyncTag = "[object AsyncFunction]";
|
|
188
188
|
var funcTag = "[object Function]";
|
|
189
189
|
var genTag = "[object GeneratorFunction]";
|
|
@@ -197,11 +197,11 @@ function isFunction(value) {
|
|
|
197
197
|
}
|
|
198
198
|
var isFunction_default = isFunction;
|
|
199
199
|
|
|
200
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
200
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
201
201
|
var coreJsData = root_default["__core-js_shared__"];
|
|
202
202
|
var coreJsData_default = coreJsData;
|
|
203
203
|
|
|
204
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
204
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
|
|
205
205
|
var maskSrcKey = (function() {
|
|
206
206
|
var uid = /[^.]+$/.exec(coreJsData_default && coreJsData_default.keys && coreJsData_default.keys.IE_PROTO || "");
|
|
207
207
|
return uid ? "Symbol(src)_1." + uid : "";
|
|
@@ -211,7 +211,7 @@ function isMasked(func) {
|
|
|
211
211
|
}
|
|
212
212
|
var isMasked_default = isMasked;
|
|
213
213
|
|
|
214
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
214
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
215
215
|
var funcProto = Function.prototype;
|
|
216
216
|
var funcToString = funcProto.toString;
|
|
217
217
|
function toSource(func) {
|
|
@@ -229,7 +229,7 @@ function toSource(func) {
|
|
|
229
229
|
}
|
|
230
230
|
var toSource_default = toSource;
|
|
231
231
|
|
|
232
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
232
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
233
233
|
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
234
234
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
235
235
|
var funcProto2 = Function.prototype;
|
|
@@ -248,35 +248,35 @@ function baseIsNative(value) {
|
|
|
248
248
|
}
|
|
249
249
|
var baseIsNative_default = baseIsNative;
|
|
250
250
|
|
|
251
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
251
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
252
252
|
function getValue(object, key) {
|
|
253
253
|
return object == null ? void 0 : object[key];
|
|
254
254
|
}
|
|
255
255
|
var getValue_default = getValue;
|
|
256
256
|
|
|
257
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
257
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
258
258
|
function getNative(object, key) {
|
|
259
259
|
var value = getValue_default(object, key);
|
|
260
260
|
return baseIsNative_default(value) ? value : void 0;
|
|
261
261
|
}
|
|
262
262
|
var getNative_default = getNative;
|
|
263
263
|
|
|
264
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
264
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
265
265
|
var Map2 = getNative_default(root_default, "Map");
|
|
266
266
|
var Map_default = Map2;
|
|
267
267
|
|
|
268
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
268
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
269
269
|
var nativeCreate = getNative_default(Object, "create");
|
|
270
270
|
var nativeCreate_default = nativeCreate;
|
|
271
271
|
|
|
272
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
272
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
273
273
|
function hashClear() {
|
|
274
274
|
this.__data__ = nativeCreate_default ? nativeCreate_default(null) : {};
|
|
275
275
|
this.size = 0;
|
|
276
276
|
}
|
|
277
277
|
var hashClear_default = hashClear;
|
|
278
278
|
|
|
279
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
279
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
280
280
|
function hashDelete(key) {
|
|
281
281
|
var result = this.has(key) && delete this.__data__[key];
|
|
282
282
|
this.size -= result ? 1 : 0;
|
|
@@ -284,7 +284,7 @@ function hashDelete(key) {
|
|
|
284
284
|
}
|
|
285
285
|
var hashDelete_default = hashDelete;
|
|
286
286
|
|
|
287
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
287
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
288
288
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
289
289
|
var objectProto4 = Object.prototype;
|
|
290
290
|
var hasOwnProperty3 = objectProto4.hasOwnProperty;
|
|
@@ -298,7 +298,7 @@ function hashGet(key) {
|
|
|
298
298
|
}
|
|
299
299
|
var hashGet_default = hashGet;
|
|
300
300
|
|
|
301
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
301
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
302
302
|
var objectProto5 = Object.prototype;
|
|
303
303
|
var hasOwnProperty4 = objectProto5.hasOwnProperty;
|
|
304
304
|
function hashHas(key) {
|
|
@@ -307,7 +307,7 @@ function hashHas(key) {
|
|
|
307
307
|
}
|
|
308
308
|
var hashHas_default = hashHas;
|
|
309
309
|
|
|
310
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
310
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
311
311
|
var HASH_UNDEFINED2 = "__lodash_hash_undefined__";
|
|
312
312
|
function hashSet(key, value) {
|
|
313
313
|
var data = this.__data__;
|
|
@@ -317,7 +317,7 @@ function hashSet(key, value) {
|
|
|
317
317
|
}
|
|
318
318
|
var hashSet_default = hashSet;
|
|
319
319
|
|
|
320
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
320
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
321
321
|
function Hash(entries) {
|
|
322
322
|
var index = -1, length = entries == null ? 0 : entries.length;
|
|
323
323
|
this.clear();
|
|
@@ -333,7 +333,7 @@ Hash.prototype.has = hashHas_default;
|
|
|
333
333
|
Hash.prototype.set = hashSet_default;
|
|
334
334
|
var Hash_default = Hash;
|
|
335
335
|
|
|
336
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
336
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
337
337
|
function mapCacheClear() {
|
|
338
338
|
this.size = 0;
|
|
339
339
|
this.__data__ = {
|
|
@@ -344,21 +344,21 @@ function mapCacheClear() {
|
|
|
344
344
|
}
|
|
345
345
|
var mapCacheClear_default = mapCacheClear;
|
|
346
346
|
|
|
347
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
347
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
348
348
|
function isKeyable(value) {
|
|
349
349
|
var type = typeof value;
|
|
350
350
|
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
|
351
351
|
}
|
|
352
352
|
var isKeyable_default = isKeyable;
|
|
353
353
|
|
|
354
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
354
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
355
355
|
function getMapData(map, key) {
|
|
356
356
|
var data = map.__data__;
|
|
357
357
|
return isKeyable_default(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
358
358
|
}
|
|
359
359
|
var getMapData_default = getMapData;
|
|
360
360
|
|
|
361
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
361
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
362
362
|
function mapCacheDelete(key) {
|
|
363
363
|
var result = getMapData_default(this, key)["delete"](key);
|
|
364
364
|
this.size -= result ? 1 : 0;
|
|
@@ -366,19 +366,19 @@ function mapCacheDelete(key) {
|
|
|
366
366
|
}
|
|
367
367
|
var mapCacheDelete_default = mapCacheDelete;
|
|
368
368
|
|
|
369
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
369
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
370
370
|
function mapCacheGet(key) {
|
|
371
371
|
return getMapData_default(this, key).get(key);
|
|
372
372
|
}
|
|
373
373
|
var mapCacheGet_default = mapCacheGet;
|
|
374
374
|
|
|
375
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
375
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
376
376
|
function mapCacheHas(key) {
|
|
377
377
|
return getMapData_default(this, key).has(key);
|
|
378
378
|
}
|
|
379
379
|
var mapCacheHas_default = mapCacheHas;
|
|
380
380
|
|
|
381
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
381
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
382
382
|
function mapCacheSet(key, value) {
|
|
383
383
|
var data = getMapData_default(this, key), size = data.size;
|
|
384
384
|
data.set(key, value);
|
|
@@ -387,7 +387,7 @@ function mapCacheSet(key, value) {
|
|
|
387
387
|
}
|
|
388
388
|
var mapCacheSet_default = mapCacheSet;
|
|
389
389
|
|
|
390
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
390
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
391
391
|
function MapCache(entries) {
|
|
392
392
|
var index = -1, length = entries == null ? 0 : entries.length;
|
|
393
393
|
this.clear();
|
|
@@ -403,7 +403,7 @@ MapCache.prototype.has = mapCacheHas_default;
|
|
|
403
403
|
MapCache.prototype.set = mapCacheSet_default;
|
|
404
404
|
var MapCache_default = MapCache;
|
|
405
405
|
|
|
406
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
406
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
|
|
407
407
|
var LARGE_ARRAY_SIZE = 200;
|
|
408
408
|
function stackSet(key, value) {
|
|
409
409
|
var data = this.__data__;
|
|
@@ -422,7 +422,7 @@ function stackSet(key, value) {
|
|
|
422
422
|
}
|
|
423
423
|
var stackSet_default = stackSet;
|
|
424
424
|
|
|
425
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
425
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
|
|
426
426
|
function Stack(entries) {
|
|
427
427
|
var data = this.__data__ = new ListCache_default(entries);
|
|
428
428
|
this.size = data.size;
|
|
@@ -434,7 +434,7 @@ Stack.prototype.has = stackHas_default;
|
|
|
434
434
|
Stack.prototype.set = stackSet_default;
|
|
435
435
|
var Stack_default = Stack;
|
|
436
436
|
|
|
437
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
437
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
|
|
438
438
|
var defineProperty = (function() {
|
|
439
439
|
try {
|
|
440
440
|
var func = getNative_default(Object, "defineProperty");
|
|
@@ -445,7 +445,7 @@ var defineProperty = (function() {
|
|
|
445
445
|
})();
|
|
446
446
|
var defineProperty_default = defineProperty;
|
|
447
447
|
|
|
448
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
448
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
|
|
449
449
|
function baseAssignValue(object, key, value) {
|
|
450
450
|
if (key == "__proto__" && defineProperty_default) {
|
|
451
451
|
defineProperty_default(object, key, {
|
|
@@ -460,7 +460,7 @@ function baseAssignValue(object, key, value) {
|
|
|
460
460
|
}
|
|
461
461
|
var baseAssignValue_default = baseAssignValue;
|
|
462
462
|
|
|
463
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
463
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js
|
|
464
464
|
function assignMergeValue(object, key, value) {
|
|
465
465
|
if (value !== void 0 && !eq_default(object[key], value) || value === void 0 && !(key in object)) {
|
|
466
466
|
baseAssignValue_default(object, key, value);
|
|
@@ -468,7 +468,7 @@ function assignMergeValue(object, key, value) {
|
|
|
468
468
|
}
|
|
469
469
|
var assignMergeValue_default = assignMergeValue;
|
|
470
470
|
|
|
471
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
471
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js
|
|
472
472
|
function createBaseFor(fromRight) {
|
|
473
473
|
return function(object, iteratee, keysFunc) {
|
|
474
474
|
var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
|
|
@@ -483,11 +483,11 @@ function createBaseFor(fromRight) {
|
|
|
483
483
|
}
|
|
484
484
|
var createBaseFor_default = createBaseFor;
|
|
485
485
|
|
|
486
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
486
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js
|
|
487
487
|
var baseFor = createBaseFor_default();
|
|
488
488
|
var baseFor_default = baseFor;
|
|
489
489
|
|
|
490
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
490
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
|
|
491
491
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
492
492
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
493
493
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
@@ -503,11 +503,11 @@ function cloneBuffer(buffer, isDeep) {
|
|
|
503
503
|
}
|
|
504
504
|
var cloneBuffer_default = cloneBuffer;
|
|
505
505
|
|
|
506
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
506
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
|
|
507
507
|
var Uint8Array = root_default.Uint8Array;
|
|
508
508
|
var Uint8Array_default = Uint8Array;
|
|
509
509
|
|
|
510
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
510
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
|
|
511
511
|
function cloneArrayBuffer(arrayBuffer) {
|
|
512
512
|
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
513
513
|
new Uint8Array_default(result).set(new Uint8Array_default(arrayBuffer));
|
|
@@ -515,14 +515,14 @@ function cloneArrayBuffer(arrayBuffer) {
|
|
|
515
515
|
}
|
|
516
516
|
var cloneArrayBuffer_default = cloneArrayBuffer;
|
|
517
517
|
|
|
518
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
518
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
|
|
519
519
|
function cloneTypedArray(typedArray, isDeep) {
|
|
520
520
|
var buffer = isDeep ? cloneArrayBuffer_default(typedArray.buffer) : typedArray.buffer;
|
|
521
521
|
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
522
522
|
}
|
|
523
523
|
var cloneTypedArray_default = cloneTypedArray;
|
|
524
524
|
|
|
525
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
525
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
|
|
526
526
|
function copyArray(source, array) {
|
|
527
527
|
var index = -1, length = source.length;
|
|
528
528
|
array || (array = Array(length));
|
|
@@ -533,7 +533,7 @@ function copyArray(source, array) {
|
|
|
533
533
|
}
|
|
534
534
|
var copyArray_default = copyArray;
|
|
535
535
|
|
|
536
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
536
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
|
|
537
537
|
var objectCreate = Object.create;
|
|
538
538
|
var baseCreate = /* @__PURE__ */ (function() {
|
|
539
539
|
function object() {
|
|
@@ -553,7 +553,7 @@ var baseCreate = /* @__PURE__ */ (function() {
|
|
|
553
553
|
})();
|
|
554
554
|
var baseCreate_default = baseCreate;
|
|
555
555
|
|
|
556
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
556
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
557
557
|
function overArg(func, transform) {
|
|
558
558
|
return function(arg) {
|
|
559
559
|
return func(transform(arg));
|
|
@@ -561,11 +561,11 @@ function overArg(func, transform) {
|
|
|
561
561
|
}
|
|
562
562
|
var overArg_default = overArg;
|
|
563
563
|
|
|
564
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
564
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
|
|
565
565
|
var getPrototype = overArg_default(Object.getPrototypeOf, Object);
|
|
566
566
|
var getPrototype_default = getPrototype;
|
|
567
567
|
|
|
568
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
568
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
569
569
|
var objectProto6 = Object.prototype;
|
|
570
570
|
function isPrototype(value) {
|
|
571
571
|
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto6;
|
|
@@ -573,26 +573,26 @@ function isPrototype(value) {
|
|
|
573
573
|
}
|
|
574
574
|
var isPrototype_default = isPrototype;
|
|
575
575
|
|
|
576
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
576
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
|
|
577
577
|
function initCloneObject(object) {
|
|
578
578
|
return typeof object.constructor == "function" && !isPrototype_default(object) ? baseCreate_default(getPrototype_default(object)) : {};
|
|
579
579
|
}
|
|
580
580
|
var initCloneObject_default = initCloneObject;
|
|
581
581
|
|
|
582
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
582
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
583
583
|
function isObjectLike(value) {
|
|
584
584
|
return value != null && typeof value == "object";
|
|
585
585
|
}
|
|
586
586
|
var isObjectLike_default = isObjectLike;
|
|
587
587
|
|
|
588
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
588
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
589
589
|
var argsTag = "[object Arguments]";
|
|
590
590
|
function baseIsArguments(value) {
|
|
591
591
|
return isObjectLike_default(value) && baseGetTag_default(value) == argsTag;
|
|
592
592
|
}
|
|
593
593
|
var baseIsArguments_default = baseIsArguments;
|
|
594
594
|
|
|
595
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
595
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
596
596
|
var objectProto7 = Object.prototype;
|
|
597
597
|
var hasOwnProperty5 = objectProto7.hasOwnProperty;
|
|
598
598
|
var propertyIsEnumerable = objectProto7.propertyIsEnumerable;
|
|
@@ -603,36 +603,36 @@ var isArguments = baseIsArguments_default(/* @__PURE__ */ (function() {
|
|
|
603
603
|
};
|
|
604
604
|
var isArguments_default = isArguments;
|
|
605
605
|
|
|
606
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
606
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
607
607
|
var isArray = Array.isArray;
|
|
608
608
|
var isArray_default = isArray;
|
|
609
609
|
|
|
610
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
610
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
|
|
611
611
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
612
612
|
function isLength(value) {
|
|
613
613
|
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
614
614
|
}
|
|
615
615
|
var isLength_default = isLength;
|
|
616
616
|
|
|
617
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
617
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
618
618
|
function isArrayLike(value) {
|
|
619
619
|
return value != null && isLength_default(value.length) && !isFunction_default(value);
|
|
620
620
|
}
|
|
621
621
|
var isArrayLike_default = isArrayLike;
|
|
622
622
|
|
|
623
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
623
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js
|
|
624
624
|
function isArrayLikeObject(value) {
|
|
625
625
|
return isObjectLike_default(value) && isArrayLike_default(value);
|
|
626
626
|
}
|
|
627
627
|
var isArrayLikeObject_default = isArrayLikeObject;
|
|
628
628
|
|
|
629
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
629
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
630
630
|
function stubFalse() {
|
|
631
631
|
return false;
|
|
632
632
|
}
|
|
633
633
|
var stubFalse_default = stubFalse;
|
|
634
634
|
|
|
635
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
635
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
636
636
|
var freeExports2 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
637
637
|
var freeModule2 = freeExports2 && typeof module == "object" && module && !module.nodeType && module;
|
|
638
638
|
var moduleExports2 = freeModule2 && freeModule2.exports === freeExports2;
|
|
@@ -641,7 +641,7 @@ var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
|
|
|
641
641
|
var isBuffer = nativeIsBuffer || stubFalse_default;
|
|
642
642
|
var isBuffer_default = isBuffer;
|
|
643
643
|
|
|
644
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
644
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js
|
|
645
645
|
var objectTag = "[object Object]";
|
|
646
646
|
var funcProto3 = Function.prototype;
|
|
647
647
|
var objectProto8 = Object.prototype;
|
|
@@ -661,7 +661,7 @@ function isPlainObject(value) {
|
|
|
661
661
|
}
|
|
662
662
|
var isPlainObject_default = isPlainObject;
|
|
663
663
|
|
|
664
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
664
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
|
|
665
665
|
var argsTag2 = "[object Arguments]";
|
|
666
666
|
var arrayTag = "[object Array]";
|
|
667
667
|
var boolTag = "[object Boolean]";
|
|
@@ -694,7 +694,7 @@ function baseIsTypedArray(value) {
|
|
|
694
694
|
}
|
|
695
695
|
var baseIsTypedArray_default = baseIsTypedArray;
|
|
696
696
|
|
|
697
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
697
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
698
698
|
function baseUnary(func) {
|
|
699
699
|
return function(value) {
|
|
700
700
|
return func(value);
|
|
@@ -702,7 +702,7 @@ function baseUnary(func) {
|
|
|
702
702
|
}
|
|
703
703
|
var baseUnary_default = baseUnary;
|
|
704
704
|
|
|
705
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
705
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
706
706
|
var freeExports3 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
707
707
|
var freeModule3 = freeExports3 && typeof module == "object" && module && !module.nodeType && module;
|
|
708
708
|
var moduleExports3 = freeModule3 && freeModule3.exports === freeExports3;
|
|
@@ -719,12 +719,12 @@ var nodeUtil = (function() {
|
|
|
719
719
|
})();
|
|
720
720
|
var nodeUtil_default = nodeUtil;
|
|
721
721
|
|
|
722
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
722
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
|
|
723
723
|
var nodeIsTypedArray = nodeUtil_default && nodeUtil_default.isTypedArray;
|
|
724
724
|
var isTypedArray = nodeIsTypedArray ? baseUnary_default(nodeIsTypedArray) : baseIsTypedArray_default;
|
|
725
725
|
var isTypedArray_default = isTypedArray;
|
|
726
726
|
|
|
727
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
727
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js
|
|
728
728
|
function safeGet(object, key) {
|
|
729
729
|
if (key === "constructor" && typeof object[key] === "function") {
|
|
730
730
|
return;
|
|
@@ -736,7 +736,7 @@ function safeGet(object, key) {
|
|
|
736
736
|
}
|
|
737
737
|
var safeGet_default = safeGet;
|
|
738
738
|
|
|
739
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
739
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js
|
|
740
740
|
var objectProto9 = Object.prototype;
|
|
741
741
|
var hasOwnProperty7 = objectProto9.hasOwnProperty;
|
|
742
742
|
function assignValue(object, key, value) {
|
|
@@ -747,7 +747,7 @@ function assignValue(object, key, value) {
|
|
|
747
747
|
}
|
|
748
748
|
var assignValue_default = assignValue;
|
|
749
749
|
|
|
750
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
750
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
|
|
751
751
|
function copyObject(source, props, object, customizer) {
|
|
752
752
|
var isNew = !object;
|
|
753
753
|
object || (object = {});
|
|
@@ -768,7 +768,7 @@ function copyObject(source, props, object, customizer) {
|
|
|
768
768
|
}
|
|
769
769
|
var copyObject_default = copyObject;
|
|
770
770
|
|
|
771
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
771
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
|
|
772
772
|
function baseTimes(n, iteratee) {
|
|
773
773
|
var index = -1, result = Array(n);
|
|
774
774
|
while (++index < n) {
|
|
@@ -778,7 +778,7 @@ function baseTimes(n, iteratee) {
|
|
|
778
778
|
}
|
|
779
779
|
var baseTimes_default = baseTimes;
|
|
780
780
|
|
|
781
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
781
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
|
|
782
782
|
var MAX_SAFE_INTEGER2 = 9007199254740991;
|
|
783
783
|
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
784
784
|
function isIndex(value, length) {
|
|
@@ -788,7 +788,7 @@ function isIndex(value, length) {
|
|
|
788
788
|
}
|
|
789
789
|
var isIndex_default = isIndex;
|
|
790
790
|
|
|
791
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
791
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
|
|
792
792
|
var objectProto10 = Object.prototype;
|
|
793
793
|
var hasOwnProperty8 = objectProto10.hasOwnProperty;
|
|
794
794
|
function arrayLikeKeys(value, inherited) {
|
|
@@ -806,7 +806,7 @@ function arrayLikeKeys(value, inherited) {
|
|
|
806
806
|
}
|
|
807
807
|
var arrayLikeKeys_default = arrayLikeKeys;
|
|
808
808
|
|
|
809
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
809
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
|
|
810
810
|
function nativeKeysIn(object) {
|
|
811
811
|
var result = [];
|
|
812
812
|
if (object != null) {
|
|
@@ -818,7 +818,7 @@ function nativeKeysIn(object) {
|
|
|
818
818
|
}
|
|
819
819
|
var nativeKeysIn_default = nativeKeysIn;
|
|
820
820
|
|
|
821
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
821
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
|
|
822
822
|
var objectProto11 = Object.prototype;
|
|
823
823
|
var hasOwnProperty9 = objectProto11.hasOwnProperty;
|
|
824
824
|
function baseKeysIn(object) {
|
|
@@ -835,19 +835,19 @@ function baseKeysIn(object) {
|
|
|
835
835
|
}
|
|
836
836
|
var baseKeysIn_default = baseKeysIn;
|
|
837
837
|
|
|
838
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
838
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
|
|
839
839
|
function keysIn(object) {
|
|
840
840
|
return isArrayLike_default(object) ? arrayLikeKeys_default(object, true) : baseKeysIn_default(object);
|
|
841
841
|
}
|
|
842
842
|
var keysIn_default = keysIn;
|
|
843
843
|
|
|
844
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
844
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js
|
|
845
845
|
function toPlainObject(value) {
|
|
846
846
|
return copyObject_default(value, keysIn_default(value));
|
|
847
847
|
}
|
|
848
848
|
var toPlainObject_default = toPlainObject;
|
|
849
849
|
|
|
850
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
850
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js
|
|
851
851
|
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
|
|
852
852
|
var objValue = safeGet_default(object, key), srcValue = safeGet_default(source, key), stacked = stack.get(srcValue);
|
|
853
853
|
if (stacked) {
|
|
@@ -893,7 +893,7 @@ function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, sta
|
|
|
893
893
|
}
|
|
894
894
|
var baseMergeDeep_default = baseMergeDeep;
|
|
895
895
|
|
|
896
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
896
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js
|
|
897
897
|
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
898
898
|
if (object === source) {
|
|
899
899
|
return;
|
|
@@ -913,13 +913,13 @@ function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
|
913
913
|
}
|
|
914
914
|
var baseMerge_default = baseMerge;
|
|
915
915
|
|
|
916
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
916
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js
|
|
917
917
|
function identity(value) {
|
|
918
918
|
return value;
|
|
919
919
|
}
|
|
920
920
|
var identity_default = identity;
|
|
921
921
|
|
|
922
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
922
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
|
|
923
923
|
function apply(func, thisArg, args) {
|
|
924
924
|
switch (args.length) {
|
|
925
925
|
case 0:
|
|
@@ -935,7 +935,7 @@ function apply(func, thisArg, args) {
|
|
|
935
935
|
}
|
|
936
936
|
var apply_default = apply;
|
|
937
937
|
|
|
938
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
938
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
|
|
939
939
|
var nativeMax = Math.max;
|
|
940
940
|
function overRest(func, start, transform) {
|
|
941
941
|
start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
|
|
@@ -955,7 +955,7 @@ function overRest(func, start, transform) {
|
|
|
955
955
|
}
|
|
956
956
|
var overRest_default = overRest;
|
|
957
957
|
|
|
958
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
958
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js
|
|
959
959
|
function constant(value) {
|
|
960
960
|
return function() {
|
|
961
961
|
return value;
|
|
@@ -963,7 +963,7 @@ function constant(value) {
|
|
|
963
963
|
}
|
|
964
964
|
var constant_default = constant;
|
|
965
965
|
|
|
966
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
966
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js
|
|
967
967
|
var baseSetToString = !defineProperty_default ? identity_default : function(func, string) {
|
|
968
968
|
return defineProperty_default(func, "toString", {
|
|
969
969
|
"configurable": true,
|
|
@@ -974,7 +974,7 @@ var baseSetToString = !defineProperty_default ? identity_default : function(func
|
|
|
974
974
|
};
|
|
975
975
|
var baseSetToString_default = baseSetToString;
|
|
976
976
|
|
|
977
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
977
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
|
|
978
978
|
var HOT_COUNT = 800;
|
|
979
979
|
var HOT_SPAN = 16;
|
|
980
980
|
var nativeNow = Date.now;
|
|
@@ -995,17 +995,17 @@ function shortOut(func) {
|
|
|
995
995
|
}
|
|
996
996
|
var shortOut_default = shortOut;
|
|
997
997
|
|
|
998
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
998
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
|
|
999
999
|
var setToString = shortOut_default(baseSetToString_default);
|
|
1000
1000
|
var setToString_default = setToString;
|
|
1001
1001
|
|
|
1002
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1002
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
|
|
1003
1003
|
function baseRest(func, start) {
|
|
1004
1004
|
return setToString_default(overRest_default(func, start, identity_default), func + "");
|
|
1005
1005
|
}
|
|
1006
1006
|
var baseRest_default = baseRest;
|
|
1007
1007
|
|
|
1008
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1008
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
|
|
1009
1009
|
function isIterateeCall(value, index, object) {
|
|
1010
1010
|
if (!isObject_default(object)) {
|
|
1011
1011
|
return false;
|
|
@@ -1018,7 +1018,7 @@ function isIterateeCall(value, index, object) {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
var isIterateeCall_default = isIterateeCall;
|
|
1020
1020
|
|
|
1021
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1021
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js
|
|
1022
1022
|
function createAssigner(assigner) {
|
|
1023
1023
|
return baseRest_default(function(object, sources) {
|
|
1024
1024
|
var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
|
|
@@ -1039,7 +1039,7 @@ function createAssigner(assigner) {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
var createAssigner_default = createAssigner;
|
|
1041
1041
|
|
|
1042
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1042
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/mergeWith.js
|
|
1043
1043
|
var mergeWith = createAssigner_default(function(object, source, srcIndex, customizer) {
|
|
1044
1044
|
baseMerge_default(object, source, srcIndex, customizer);
|
|
1045
1045
|
});
|
|
@@ -1170,7 +1170,8 @@ var AIMarkdownRenderStateProvider = ({
|
|
|
1170
1170
|
[baseConfig, config]
|
|
1171
1171
|
);
|
|
1172
1172
|
const fallbackId = useId();
|
|
1173
|
-
const
|
|
1173
|
+
const documentIdExplicit = !!(documentId && documentId.length > 0);
|
|
1174
|
+
const resolvedDocumentId = documentIdExplicit ? documentId : fallbackId;
|
|
1174
1175
|
const state = useMemo(
|
|
1175
1176
|
() => Object.freeze({
|
|
1176
1177
|
streaming,
|
|
@@ -1178,6 +1179,7 @@ var AIMarkdownRenderStateProvider = ({
|
|
|
1178
1179
|
variant,
|
|
1179
1180
|
colorScheme,
|
|
1180
1181
|
documentId: resolvedDocumentId,
|
|
1182
|
+
documentIdExplicit,
|
|
1181
1183
|
// URI-fragment safe per-document prefix derived once here so downstream
|
|
1182
1184
|
// consumers (MarkdownContent, cross-chunk placeholder components) read
|
|
1183
1185
|
// from one canonical source. `encodeURIComponent` runs at the prefix
|
|
@@ -1195,7 +1197,7 @@ var AIMarkdownRenderStateProvider = ({
|
|
|
1195
1197
|
clobberPrefix: `${encodeURIComponent(shortenDocumentId(resolvedDocumentId))}-user-content-`,
|
|
1196
1198
|
config: mergedConfig
|
|
1197
1199
|
}),
|
|
1198
|
-
[streaming, fontSize, variant, colorScheme, resolvedDocumentId, mergedConfig]
|
|
1200
|
+
[streaming, fontSize, variant, colorScheme, resolvedDocumentId, documentIdExplicit, mergedConfig]
|
|
1199
1201
|
);
|
|
1200
1202
|
return /* @__PURE__ */ jsx(AIMarkdownRenderStateContext.Provider, { value: state, children });
|
|
1201
1203
|
};
|
|
@@ -1705,7 +1707,7 @@ import rehypeRaw from "rehype-raw";
|
|
|
1705
1707
|
import rehypeUnwrapImages from "rehype-unwrap-images";
|
|
1706
1708
|
import rehypeSanitize from "rehype-sanitize";
|
|
1707
1709
|
|
|
1708
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1710
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
|
|
1709
1711
|
function arrayEach(array, iteratee) {
|
|
1710
1712
|
var index = -1, length = array == null ? 0 : array.length;
|
|
1711
1713
|
while (++index < length) {
|
|
@@ -1717,11 +1719,11 @@ function arrayEach(array, iteratee) {
|
|
|
1717
1719
|
}
|
|
1718
1720
|
var arrayEach_default = arrayEach;
|
|
1719
1721
|
|
|
1720
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1722
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
|
|
1721
1723
|
var nativeKeys = overArg_default(Object.keys, Object);
|
|
1722
1724
|
var nativeKeys_default = nativeKeys;
|
|
1723
1725
|
|
|
1724
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1726
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
|
|
1725
1727
|
var objectProto12 = Object.prototype;
|
|
1726
1728
|
var hasOwnProperty10 = objectProto12.hasOwnProperty;
|
|
1727
1729
|
function baseKeys(object) {
|
|
@@ -1738,25 +1740,25 @@ function baseKeys(object) {
|
|
|
1738
1740
|
}
|
|
1739
1741
|
var baseKeys_default = baseKeys;
|
|
1740
1742
|
|
|
1741
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1743
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
1742
1744
|
function keys(object) {
|
|
1743
1745
|
return isArrayLike_default(object) ? arrayLikeKeys_default(object) : baseKeys_default(object);
|
|
1744
1746
|
}
|
|
1745
1747
|
var keys_default = keys;
|
|
1746
1748
|
|
|
1747
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1749
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
|
|
1748
1750
|
function baseAssign(object, source) {
|
|
1749
1751
|
return object && copyObject_default(source, keys_default(source), object);
|
|
1750
1752
|
}
|
|
1751
1753
|
var baseAssign_default = baseAssign;
|
|
1752
1754
|
|
|
1753
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1755
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
|
|
1754
1756
|
function baseAssignIn(object, source) {
|
|
1755
1757
|
return object && copyObject_default(source, keysIn_default(source), object);
|
|
1756
1758
|
}
|
|
1757
1759
|
var baseAssignIn_default = baseAssignIn;
|
|
1758
1760
|
|
|
1759
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1761
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
|
|
1760
1762
|
function arrayFilter(array, predicate) {
|
|
1761
1763
|
var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
|
|
1762
1764
|
while (++index < length) {
|
|
@@ -1769,13 +1771,13 @@ function arrayFilter(array, predicate) {
|
|
|
1769
1771
|
}
|
|
1770
1772
|
var arrayFilter_default = arrayFilter;
|
|
1771
1773
|
|
|
1772
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1774
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
|
|
1773
1775
|
function stubArray() {
|
|
1774
1776
|
return [];
|
|
1775
1777
|
}
|
|
1776
1778
|
var stubArray_default = stubArray;
|
|
1777
1779
|
|
|
1778
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1780
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
|
|
1779
1781
|
var objectProto13 = Object.prototype;
|
|
1780
1782
|
var propertyIsEnumerable2 = objectProto13.propertyIsEnumerable;
|
|
1781
1783
|
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
@@ -1790,13 +1792,13 @@ var getSymbols = !nativeGetSymbols ? stubArray_default : function(object) {
|
|
|
1790
1792
|
};
|
|
1791
1793
|
var getSymbols_default = getSymbols;
|
|
1792
1794
|
|
|
1793
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1795
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
|
|
1794
1796
|
function copySymbols(source, object) {
|
|
1795
1797
|
return copyObject_default(source, getSymbols_default(source), object);
|
|
1796
1798
|
}
|
|
1797
1799
|
var copySymbols_default = copySymbols;
|
|
1798
1800
|
|
|
1799
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1801
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
|
|
1800
1802
|
function arrayPush(array, values) {
|
|
1801
1803
|
var index = -1, length = values.length, offset = array.length;
|
|
1802
1804
|
while (++index < length) {
|
|
@@ -1806,7 +1808,7 @@ function arrayPush(array, values) {
|
|
|
1806
1808
|
}
|
|
1807
1809
|
var arrayPush_default = arrayPush;
|
|
1808
1810
|
|
|
1809
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1811
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
|
|
1810
1812
|
var nativeGetSymbols2 = Object.getOwnPropertySymbols;
|
|
1811
1813
|
var getSymbolsIn = !nativeGetSymbols2 ? stubArray_default : function(object) {
|
|
1812
1814
|
var result = [];
|
|
@@ -1818,48 +1820,48 @@ var getSymbolsIn = !nativeGetSymbols2 ? stubArray_default : function(object) {
|
|
|
1818
1820
|
};
|
|
1819
1821
|
var getSymbolsIn_default = getSymbolsIn;
|
|
1820
1822
|
|
|
1821
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1823
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
|
|
1822
1824
|
function copySymbolsIn(source, object) {
|
|
1823
1825
|
return copyObject_default(source, getSymbolsIn_default(source), object);
|
|
1824
1826
|
}
|
|
1825
1827
|
var copySymbolsIn_default = copySymbolsIn;
|
|
1826
1828
|
|
|
1827
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1829
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
|
|
1828
1830
|
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
1829
1831
|
var result = keysFunc(object);
|
|
1830
1832
|
return isArray_default(object) ? result : arrayPush_default(result, symbolsFunc(object));
|
|
1831
1833
|
}
|
|
1832
1834
|
var baseGetAllKeys_default = baseGetAllKeys;
|
|
1833
1835
|
|
|
1834
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1836
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
|
|
1835
1837
|
function getAllKeys(object) {
|
|
1836
1838
|
return baseGetAllKeys_default(object, keys_default, getSymbols_default);
|
|
1837
1839
|
}
|
|
1838
1840
|
var getAllKeys_default = getAllKeys;
|
|
1839
1841
|
|
|
1840
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1842
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
|
|
1841
1843
|
function getAllKeysIn(object) {
|
|
1842
1844
|
return baseGetAllKeys_default(object, keysIn_default, getSymbolsIn_default);
|
|
1843
1845
|
}
|
|
1844
1846
|
var getAllKeysIn_default = getAllKeysIn;
|
|
1845
1847
|
|
|
1846
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1848
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
|
|
1847
1849
|
var DataView = getNative_default(root_default, "DataView");
|
|
1848
1850
|
var DataView_default = DataView;
|
|
1849
1851
|
|
|
1850
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1852
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
|
|
1851
1853
|
var Promise2 = getNative_default(root_default, "Promise");
|
|
1852
1854
|
var Promise_default = Promise2;
|
|
1853
1855
|
|
|
1854
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1856
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
|
|
1855
1857
|
var Set2 = getNative_default(root_default, "Set");
|
|
1856
1858
|
var Set_default = Set2;
|
|
1857
1859
|
|
|
1858
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1860
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
|
|
1859
1861
|
var WeakMap = getNative_default(root_default, "WeakMap");
|
|
1860
1862
|
var WeakMap_default = WeakMap;
|
|
1861
1863
|
|
|
1862
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1864
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
|
|
1863
1865
|
var mapTag2 = "[object Map]";
|
|
1864
1866
|
var objectTag3 = "[object Object]";
|
|
1865
1867
|
var promiseTag = "[object Promise]";
|
|
@@ -1894,7 +1896,7 @@ if (DataView_default && getTag(new DataView_default(new ArrayBuffer(1))) != data
|
|
|
1894
1896
|
}
|
|
1895
1897
|
var getTag_default = getTag;
|
|
1896
1898
|
|
|
1897
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1899
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js
|
|
1898
1900
|
var objectProto14 = Object.prototype;
|
|
1899
1901
|
var hasOwnProperty11 = objectProto14.hasOwnProperty;
|
|
1900
1902
|
function initCloneArray(array) {
|
|
@@ -1907,14 +1909,14 @@ function initCloneArray(array) {
|
|
|
1907
1909
|
}
|
|
1908
1910
|
var initCloneArray_default = initCloneArray;
|
|
1909
1911
|
|
|
1910
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1912
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
|
|
1911
1913
|
function cloneDataView(dataView, isDeep) {
|
|
1912
1914
|
var buffer = isDeep ? cloneArrayBuffer_default(dataView.buffer) : dataView.buffer;
|
|
1913
1915
|
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
|
1914
1916
|
}
|
|
1915
1917
|
var cloneDataView_default = cloneDataView;
|
|
1916
1918
|
|
|
1917
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1919
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
|
|
1918
1920
|
var reFlags = /\w*$/;
|
|
1919
1921
|
function cloneRegExp(regexp) {
|
|
1920
1922
|
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
|
|
@@ -1923,7 +1925,7 @@ function cloneRegExp(regexp) {
|
|
|
1923
1925
|
}
|
|
1924
1926
|
var cloneRegExp_default = cloneRegExp;
|
|
1925
1927
|
|
|
1926
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1928
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
|
|
1927
1929
|
var symbolProto = Symbol_default ? Symbol_default.prototype : void 0;
|
|
1928
1930
|
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
1929
1931
|
function cloneSymbol(symbol) {
|
|
@@ -1931,7 +1933,7 @@ function cloneSymbol(symbol) {
|
|
|
1931
1933
|
}
|
|
1932
1934
|
var cloneSymbol_default = cloneSymbol;
|
|
1933
1935
|
|
|
1934
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1936
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
|
|
1935
1937
|
var boolTag2 = "[object Boolean]";
|
|
1936
1938
|
var dateTag2 = "[object Date]";
|
|
1937
1939
|
var mapTag3 = "[object Map]";
|
|
@@ -1986,31 +1988,31 @@ function initCloneByTag(object, tag, isDeep) {
|
|
|
1986
1988
|
}
|
|
1987
1989
|
var initCloneByTag_default = initCloneByTag;
|
|
1988
1990
|
|
|
1989
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1991
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
|
|
1990
1992
|
var mapTag4 = "[object Map]";
|
|
1991
1993
|
function baseIsMap(value) {
|
|
1992
1994
|
return isObjectLike_default(value) && getTag_default(value) == mapTag4;
|
|
1993
1995
|
}
|
|
1994
1996
|
var baseIsMap_default = baseIsMap;
|
|
1995
1997
|
|
|
1996
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1998
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
|
|
1997
1999
|
var nodeIsMap = nodeUtil_default && nodeUtil_default.isMap;
|
|
1998
2000
|
var isMap = nodeIsMap ? baseUnary_default(nodeIsMap) : baseIsMap_default;
|
|
1999
2001
|
var isMap_default = isMap;
|
|
2000
2002
|
|
|
2001
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
2003
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js
|
|
2002
2004
|
var setTag4 = "[object Set]";
|
|
2003
2005
|
function baseIsSet(value) {
|
|
2004
2006
|
return isObjectLike_default(value) && getTag_default(value) == setTag4;
|
|
2005
2007
|
}
|
|
2006
2008
|
var baseIsSet_default = baseIsSet;
|
|
2007
2009
|
|
|
2008
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
2010
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
|
|
2009
2011
|
var nodeIsSet = nodeUtil_default && nodeUtil_default.isSet;
|
|
2010
2012
|
var isSet = nodeIsSet ? baseUnary_default(nodeIsSet) : baseIsSet_default;
|
|
2011
2013
|
var isSet_default = isSet;
|
|
2012
2014
|
|
|
2013
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
2015
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js
|
|
2014
2016
|
var CLONE_DEEP_FLAG = 1;
|
|
2015
2017
|
var CLONE_FLAT_FLAG = 2;
|
|
2016
2018
|
var CLONE_SYMBOLS_FLAG = 4;
|
|
@@ -2105,7 +2107,7 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
|
|
|
2105
2107
|
}
|
|
2106
2108
|
var baseClone_default = baseClone;
|
|
2107
2109
|
|
|
2108
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
2110
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
|
|
2109
2111
|
var CLONE_DEEP_FLAG2 = 1;
|
|
2110
2112
|
var CLONE_SYMBOLS_FLAG2 = 4;
|
|
2111
2113
|
function cloneDeep(value) {
|
|
@@ -2724,9 +2726,9 @@ var AIMarkdownDocuments = ({ preserveOrphanReferences = true, children }) => {
|
|
|
2724
2726
|
}
|
|
2725
2727
|
return /* @__PURE__ */ jsx3(AIMarkdownDocumentsRoot, { preserveOrphanReferences, children });
|
|
2726
2728
|
};
|
|
2727
|
-
function useDocumentRegistry(documentId) {
|
|
2729
|
+
function useDocumentRegistry(documentId, documentIdExplicit = true) {
|
|
2728
2730
|
const ctx = useContext2(AIMarkdownDocumentsContext);
|
|
2729
|
-
if (!ctx || !documentId) return null;
|
|
2731
|
+
if (!ctx || !documentId || !documentIdExplicit) return null;
|
|
2730
2732
|
return ctx.getRegistry(documentId);
|
|
2731
2733
|
}
|
|
2732
2734
|
function usePreserveOrphanReferences(fallback) {
|
|
@@ -2892,8 +2894,8 @@ function coerceLocalOccurrence(v) {
|
|
|
2892
2894
|
}
|
|
2893
2895
|
function FootnoteSupNumber({ label, localOccurrence: localOccurrenceRaw }) {
|
|
2894
2896
|
const localOccurrence = coerceLocalOccurrence(localOccurrenceRaw);
|
|
2895
|
-
const { documentId, clobberPrefix } = useAIMarkdownRenderState();
|
|
2896
|
-
const registry = useDocumentRegistry(documentId);
|
|
2897
|
+
const { documentId, documentIdExplicit, clobberPrefix } = useAIMarkdownRenderState();
|
|
2898
|
+
const registry = useDocumentRegistry(documentId, documentIdExplicit ?? false);
|
|
2897
2899
|
const chunkSym = useContext3(ChunkSymbolContext);
|
|
2898
2900
|
const subscribe = useCallback((cb) => registry ? registry.subscribe(cb) : () => {
|
|
2899
2901
|
}, [registry]);
|
|
@@ -2930,8 +2932,8 @@ function literalLink(rt, label, children) {
|
|
|
2930
2932
|
}
|
|
2931
2933
|
}
|
|
2932
2934
|
function CrossChunkLink({ label, referenceType, children }) {
|
|
2933
|
-
const { documentId } = useAIMarkdownRenderState();
|
|
2934
|
-
const registry = useDocumentRegistry(documentId);
|
|
2935
|
+
const { documentId, documentIdExplicit } = useAIMarkdownRenderState();
|
|
2936
|
+
const registry = useDocumentRegistry(documentId, documentIdExplicit ?? false);
|
|
2935
2937
|
const policy = useContext3(CrossChunkUrlContext);
|
|
2936
2938
|
const subscribe = useCallback((cb) => registry ? registry.subscribe(cb) : () => {
|
|
2937
2939
|
}, [registry]);
|
|
@@ -2962,8 +2964,8 @@ function literalImage(rt, label, alt) {
|
|
|
2962
2964
|
}
|
|
2963
2965
|
}
|
|
2964
2966
|
function CrossChunkImage({ label, referenceType, alt = "" }) {
|
|
2965
|
-
const { documentId } = useAIMarkdownRenderState();
|
|
2966
|
-
const registry = useDocumentRegistry(documentId);
|
|
2967
|
+
const { documentId, documentIdExplicit } = useAIMarkdownRenderState();
|
|
2968
|
+
const registry = useDocumentRegistry(documentId, documentIdExplicit ?? false);
|
|
2967
2969
|
const policy = useContext3(CrossChunkUrlContext);
|
|
2968
2970
|
const subscribe = useCallback((cb) => registry ? registry.subscribe(cb) : () => {
|
|
2969
2971
|
}, [registry]);
|
|
@@ -3356,9 +3358,9 @@ var BlockMemoizedRenderer = memo2(
|
|
|
3356
3358
|
const allowElement = void 0;
|
|
3357
3359
|
const skipHtml = void 0;
|
|
3358
3360
|
const unwrapDisallowed = void 0;
|
|
3359
|
-
const { documentId, clobberPrefix, config } = useAIMarkdownRenderState();
|
|
3361
|
+
const { documentId, documentIdExplicit, clobberPrefix, config } = useAIMarkdownRenderState();
|
|
3360
3362
|
const reactId = useId2();
|
|
3361
|
-
const registry = useDocumentRegistry(documentId);
|
|
3363
|
+
const registry = useDocumentRegistry(documentId, documentIdExplicit ?? false);
|
|
3362
3364
|
const [allocation, setAllocation] = useState(null);
|
|
3363
3365
|
const sym = allocation && allocation.registry === registry ? allocation.sym : null;
|
|
3364
3366
|
const subscribeRegistry = useCallback2(
|
|
@@ -3738,7 +3740,7 @@ var MarkdownContent_default = AIMarkdownContent;
|
|
|
3738
3740
|
// src/hooks/useStableValue.ts
|
|
3739
3741
|
import { useRef as useRef3, useLayoutEffect, useEffect as useEffect2 } from "react";
|
|
3740
3742
|
|
|
3741
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3743
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js
|
|
3742
3744
|
var HASH_UNDEFINED3 = "__lodash_hash_undefined__";
|
|
3743
3745
|
function setCacheAdd(value) {
|
|
3744
3746
|
this.__data__.set(value, HASH_UNDEFINED3);
|
|
@@ -3746,13 +3748,13 @@ function setCacheAdd(value) {
|
|
|
3746
3748
|
}
|
|
3747
3749
|
var setCacheAdd_default = setCacheAdd;
|
|
3748
3750
|
|
|
3749
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3751
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js
|
|
3750
3752
|
function setCacheHas(value) {
|
|
3751
3753
|
return this.__data__.has(value);
|
|
3752
3754
|
}
|
|
3753
3755
|
var setCacheHas_default = setCacheHas;
|
|
3754
3756
|
|
|
3755
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3757
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js
|
|
3756
3758
|
function SetCache(values) {
|
|
3757
3759
|
var index = -1, length = values == null ? 0 : values.length;
|
|
3758
3760
|
this.__data__ = new MapCache_default();
|
|
@@ -3764,7 +3766,7 @@ SetCache.prototype.add = SetCache.prototype.push = setCacheAdd_default;
|
|
|
3764
3766
|
SetCache.prototype.has = setCacheHas_default;
|
|
3765
3767
|
var SetCache_default = SetCache;
|
|
3766
3768
|
|
|
3767
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3769
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js
|
|
3768
3770
|
function arraySome(array, predicate) {
|
|
3769
3771
|
var index = -1, length = array == null ? 0 : array.length;
|
|
3770
3772
|
while (++index < length) {
|
|
@@ -3776,13 +3778,13 @@ function arraySome(array, predicate) {
|
|
|
3776
3778
|
}
|
|
3777
3779
|
var arraySome_default = arraySome;
|
|
3778
3780
|
|
|
3779
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3781
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js
|
|
3780
3782
|
function cacheHas(cache, key) {
|
|
3781
3783
|
return cache.has(key);
|
|
3782
3784
|
}
|
|
3783
3785
|
var cacheHas_default = cacheHas;
|
|
3784
3786
|
|
|
3785
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3787
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
|
|
3786
3788
|
var COMPARE_PARTIAL_FLAG = 1;
|
|
3787
3789
|
var COMPARE_UNORDERED_FLAG = 2;
|
|
3788
3790
|
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
@@ -3830,7 +3832,7 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
|
3830
3832
|
}
|
|
3831
3833
|
var equalArrays_default = equalArrays;
|
|
3832
3834
|
|
|
3833
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3835
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js
|
|
3834
3836
|
function mapToArray(map) {
|
|
3835
3837
|
var index = -1, result = Array(map.size);
|
|
3836
3838
|
map.forEach(function(value, key) {
|
|
@@ -3840,7 +3842,7 @@ function mapToArray(map) {
|
|
|
3840
3842
|
}
|
|
3841
3843
|
var mapToArray_default = mapToArray;
|
|
3842
3844
|
|
|
3843
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3845
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js
|
|
3844
3846
|
function setToArray(set) {
|
|
3845
3847
|
var index = -1, result = Array(set.size);
|
|
3846
3848
|
set.forEach(function(value) {
|
|
@@ -3850,7 +3852,7 @@ function setToArray(set) {
|
|
|
3850
3852
|
}
|
|
3851
3853
|
var setToArray_default = setToArray;
|
|
3852
3854
|
|
|
3853
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3855
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
|
|
3854
3856
|
var COMPARE_PARTIAL_FLAG2 = 1;
|
|
3855
3857
|
var COMPARE_UNORDERED_FLAG2 = 2;
|
|
3856
3858
|
var boolTag4 = "[object Boolean]";
|
|
@@ -3914,7 +3916,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
|
3914
3916
|
}
|
|
3915
3917
|
var equalByTag_default = equalByTag;
|
|
3916
3918
|
|
|
3917
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3919
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js
|
|
3918
3920
|
var COMPARE_PARTIAL_FLAG3 = 1;
|
|
3919
3921
|
var objectProto15 = Object.prototype;
|
|
3920
3922
|
var hasOwnProperty12 = objectProto15.hasOwnProperty;
|
|
@@ -3963,7 +3965,7 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
3963
3965
|
}
|
|
3964
3966
|
var equalObjects_default = equalObjects;
|
|
3965
3967
|
|
|
3966
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3968
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js
|
|
3967
3969
|
var COMPARE_PARTIAL_FLAG4 = 1;
|
|
3968
3970
|
var argsTag4 = "[object Arguments]";
|
|
3969
3971
|
var arrayTag3 = "[object Array]";
|
|
@@ -4002,7 +4004,7 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
4002
4004
|
}
|
|
4003
4005
|
var baseIsEqualDeep_default = baseIsEqualDeep;
|
|
4004
4006
|
|
|
4005
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
4007
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js
|
|
4006
4008
|
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
4007
4009
|
if (value === other) {
|
|
4008
4010
|
return true;
|
|
@@ -4014,7 +4016,7 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
|
4014
4016
|
}
|
|
4015
4017
|
var baseIsEqual_default = baseIsEqual;
|
|
4016
4018
|
|
|
4017
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
4019
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js
|
|
4018
4020
|
function isEqual(value, other) {
|
|
4019
4021
|
return baseIsEqual_default(value, other);
|
|
4020
4022
|
}
|
|
@@ -4095,8 +4097,6 @@ var AIMarkdownComponent = ({
|
|
|
4095
4097
|
sanitizeSchema: sanitizeSchema2
|
|
4096
4098
|
}) => {
|
|
4097
4099
|
const usedFontSize = fontSize === void 0 ? "0.9375rem" : typeof fontSize === "number" ? `${fontSize}px` : fontSize;
|
|
4098
|
-
const generatedId = useId3();
|
|
4099
|
-
const usedDocumentId = documentId && documentId.length > 0 ? documentId : generatedId;
|
|
4100
4100
|
useReferenceFlipWarning(urlTransform, "urlTransform");
|
|
4101
4101
|
useReferenceFlipWarning(sanitizeSchema2, "sanitizeSchema");
|
|
4102
4102
|
const stableDefaultConfig = useStableValue(defaultConfig);
|
|
@@ -4116,7 +4116,7 @@ var AIMarkdownComponent = ({
|
|
|
4116
4116
|
fontSize: usedFontSize,
|
|
4117
4117
|
variant,
|
|
4118
4118
|
colorScheme,
|
|
4119
|
-
documentId
|
|
4119
|
+
documentId,
|
|
4120
4120
|
defaultConfig: stableDefaultConfig,
|
|
4121
4121
|
config: stableConfig,
|
|
4122
4122
|
children: /* @__PURE__ */ jsx8(
|