@ai-react-markdown/core 1.4.4 → 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 +38 -9
- package/dist/index.cjs +156 -156
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +62 -16
- package/dist/index.d.ts +62 -16
- package/dist/index.js +157 -157
- package/dist/index.js.map +1 -1
- package/dist/typography/all.css +34 -29
- package/dist/typography/all.css.map +1 -1
- package/dist/typography/default.css +34 -29
- package/dist/typography/default.css.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -49,20 +49,20 @@ var import_react12 = require("react");
|
|
|
49
49
|
// src/context.tsx
|
|
50
50
|
var import_react = require("react");
|
|
51
51
|
|
|
52
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
52
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
53
53
|
function listCacheClear() {
|
|
54
54
|
this.__data__ = [];
|
|
55
55
|
this.size = 0;
|
|
56
56
|
}
|
|
57
57
|
var listCacheClear_default = listCacheClear;
|
|
58
58
|
|
|
59
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
59
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
60
60
|
function eq(value, other) {
|
|
61
61
|
return value === other || value !== value && other !== other;
|
|
62
62
|
}
|
|
63
63
|
var eq_default = eq;
|
|
64
64
|
|
|
65
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
65
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
66
66
|
function assocIndexOf(array, key) {
|
|
67
67
|
var length = array.length;
|
|
68
68
|
while (length--) {
|
|
@@ -74,7 +74,7 @@ function assocIndexOf(array, key) {
|
|
|
74
74
|
}
|
|
75
75
|
var assocIndexOf_default = assocIndexOf;
|
|
76
76
|
|
|
77
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
77
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
78
78
|
var arrayProto = Array.prototype;
|
|
79
79
|
var splice = arrayProto.splice;
|
|
80
80
|
function listCacheDelete(key) {
|
|
@@ -93,20 +93,20 @@ function listCacheDelete(key) {
|
|
|
93
93
|
}
|
|
94
94
|
var listCacheDelete_default = listCacheDelete;
|
|
95
95
|
|
|
96
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
96
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
97
97
|
function listCacheGet(key) {
|
|
98
98
|
var data = this.__data__, index = assocIndexOf_default(data, key);
|
|
99
99
|
return index < 0 ? void 0 : data[index][1];
|
|
100
100
|
}
|
|
101
101
|
var listCacheGet_default = listCacheGet;
|
|
102
102
|
|
|
103
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
103
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
104
104
|
function listCacheHas(key) {
|
|
105
105
|
return assocIndexOf_default(this.__data__, key) > -1;
|
|
106
106
|
}
|
|
107
107
|
var listCacheHas_default = listCacheHas;
|
|
108
108
|
|
|
109
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
109
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
110
110
|
function listCacheSet(key, value) {
|
|
111
111
|
var data = this.__data__, index = assocIndexOf_default(data, key);
|
|
112
112
|
if (index < 0) {
|
|
@@ -119,7 +119,7 @@ function listCacheSet(key, value) {
|
|
|
119
119
|
}
|
|
120
120
|
var listCacheSet_default = listCacheSet;
|
|
121
121
|
|
|
122
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
122
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
123
123
|
function ListCache(entries) {
|
|
124
124
|
var index = -1, length = entries == null ? 0 : entries.length;
|
|
125
125
|
this.clear();
|
|
@@ -135,14 +135,14 @@ ListCache.prototype.has = listCacheHas_default;
|
|
|
135
135
|
ListCache.prototype.set = listCacheSet_default;
|
|
136
136
|
var ListCache_default = ListCache;
|
|
137
137
|
|
|
138
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
138
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
|
|
139
139
|
function stackClear() {
|
|
140
140
|
this.__data__ = new ListCache_default();
|
|
141
141
|
this.size = 0;
|
|
142
142
|
}
|
|
143
143
|
var stackClear_default = stackClear;
|
|
144
144
|
|
|
145
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
145
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
|
|
146
146
|
function stackDelete(key) {
|
|
147
147
|
var data = this.__data__, result = data["delete"](key);
|
|
148
148
|
this.size = data.size;
|
|
@@ -150,32 +150,32 @@ function stackDelete(key) {
|
|
|
150
150
|
}
|
|
151
151
|
var stackDelete_default = stackDelete;
|
|
152
152
|
|
|
153
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
153
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
|
|
154
154
|
function stackGet(key) {
|
|
155
155
|
return this.__data__.get(key);
|
|
156
156
|
}
|
|
157
157
|
var stackGet_default = stackGet;
|
|
158
158
|
|
|
159
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
159
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
|
|
160
160
|
function stackHas(key) {
|
|
161
161
|
return this.__data__.has(key);
|
|
162
162
|
}
|
|
163
163
|
var stackHas_default = stackHas;
|
|
164
164
|
|
|
165
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
165
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
|
|
166
166
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
167
167
|
var freeGlobal_default = freeGlobal;
|
|
168
168
|
|
|
169
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
169
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
|
|
170
170
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
171
171
|
var root = freeGlobal_default || freeSelf || Function("return this")();
|
|
172
172
|
var root_default = root;
|
|
173
173
|
|
|
174
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
174
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
|
|
175
175
|
var Symbol2 = root_default.Symbol;
|
|
176
176
|
var Symbol_default = Symbol2;
|
|
177
177
|
|
|
178
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
178
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
|
|
179
179
|
var objectProto = Object.prototype;
|
|
180
180
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
181
181
|
var nativeObjectToString = objectProto.toString;
|
|
@@ -199,7 +199,7 @@ function getRawTag(value) {
|
|
|
199
199
|
}
|
|
200
200
|
var getRawTag_default = getRawTag;
|
|
201
201
|
|
|
202
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
202
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
203
203
|
var objectProto2 = Object.prototype;
|
|
204
204
|
var nativeObjectToString2 = objectProto2.toString;
|
|
205
205
|
function objectToString(value) {
|
|
@@ -207,7 +207,7 @@ function objectToString(value) {
|
|
|
207
207
|
}
|
|
208
208
|
var objectToString_default = objectToString;
|
|
209
209
|
|
|
210
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
210
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
211
211
|
var nullTag = "[object Null]";
|
|
212
212
|
var undefinedTag = "[object Undefined]";
|
|
213
213
|
var symToStringTag2 = Symbol_default ? Symbol_default.toStringTag : void 0;
|
|
@@ -219,14 +219,14 @@ function baseGetTag(value) {
|
|
|
219
219
|
}
|
|
220
220
|
var baseGetTag_default = baseGetTag;
|
|
221
221
|
|
|
222
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
222
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
223
223
|
function isObject(value) {
|
|
224
224
|
var type = typeof value;
|
|
225
225
|
return value != null && (type == "object" || type == "function");
|
|
226
226
|
}
|
|
227
227
|
var isObject_default = isObject;
|
|
228
228
|
|
|
229
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
229
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
230
230
|
var asyncTag = "[object AsyncFunction]";
|
|
231
231
|
var funcTag = "[object Function]";
|
|
232
232
|
var genTag = "[object GeneratorFunction]";
|
|
@@ -240,11 +240,11 @@ function isFunction(value) {
|
|
|
240
240
|
}
|
|
241
241
|
var isFunction_default = isFunction;
|
|
242
242
|
|
|
243
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
243
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
244
244
|
var coreJsData = root_default["__core-js_shared__"];
|
|
245
245
|
var coreJsData_default = coreJsData;
|
|
246
246
|
|
|
247
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
247
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
|
|
248
248
|
var maskSrcKey = (function() {
|
|
249
249
|
var uid = /[^.]+$/.exec(coreJsData_default && coreJsData_default.keys && coreJsData_default.keys.IE_PROTO || "");
|
|
250
250
|
return uid ? "Symbol(src)_1." + uid : "";
|
|
@@ -254,7 +254,7 @@ function isMasked(func) {
|
|
|
254
254
|
}
|
|
255
255
|
var isMasked_default = isMasked;
|
|
256
256
|
|
|
257
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
257
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
258
258
|
var funcProto = Function.prototype;
|
|
259
259
|
var funcToString = funcProto.toString;
|
|
260
260
|
function toSource(func) {
|
|
@@ -272,7 +272,7 @@ function toSource(func) {
|
|
|
272
272
|
}
|
|
273
273
|
var toSource_default = toSource;
|
|
274
274
|
|
|
275
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
275
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
276
276
|
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
277
277
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
278
278
|
var funcProto2 = Function.prototype;
|
|
@@ -291,35 +291,35 @@ function baseIsNative(value) {
|
|
|
291
291
|
}
|
|
292
292
|
var baseIsNative_default = baseIsNative;
|
|
293
293
|
|
|
294
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
294
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
295
295
|
function getValue(object, key) {
|
|
296
296
|
return object == null ? void 0 : object[key];
|
|
297
297
|
}
|
|
298
298
|
var getValue_default = getValue;
|
|
299
299
|
|
|
300
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
300
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
301
301
|
function getNative(object, key) {
|
|
302
302
|
var value = getValue_default(object, key);
|
|
303
303
|
return baseIsNative_default(value) ? value : void 0;
|
|
304
304
|
}
|
|
305
305
|
var getNative_default = getNative;
|
|
306
306
|
|
|
307
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
307
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
308
308
|
var Map2 = getNative_default(root_default, "Map");
|
|
309
309
|
var Map_default = Map2;
|
|
310
310
|
|
|
311
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
311
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
312
312
|
var nativeCreate = getNative_default(Object, "create");
|
|
313
313
|
var nativeCreate_default = nativeCreate;
|
|
314
314
|
|
|
315
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
315
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
316
316
|
function hashClear() {
|
|
317
317
|
this.__data__ = nativeCreate_default ? nativeCreate_default(null) : {};
|
|
318
318
|
this.size = 0;
|
|
319
319
|
}
|
|
320
320
|
var hashClear_default = hashClear;
|
|
321
321
|
|
|
322
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
322
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
323
323
|
function hashDelete(key) {
|
|
324
324
|
var result = this.has(key) && delete this.__data__[key];
|
|
325
325
|
this.size -= result ? 1 : 0;
|
|
@@ -327,7 +327,7 @@ function hashDelete(key) {
|
|
|
327
327
|
}
|
|
328
328
|
var hashDelete_default = hashDelete;
|
|
329
329
|
|
|
330
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
330
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
331
331
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
332
332
|
var objectProto4 = Object.prototype;
|
|
333
333
|
var hasOwnProperty3 = objectProto4.hasOwnProperty;
|
|
@@ -341,7 +341,7 @@ function hashGet(key) {
|
|
|
341
341
|
}
|
|
342
342
|
var hashGet_default = hashGet;
|
|
343
343
|
|
|
344
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
344
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
345
345
|
var objectProto5 = Object.prototype;
|
|
346
346
|
var hasOwnProperty4 = objectProto5.hasOwnProperty;
|
|
347
347
|
function hashHas(key) {
|
|
@@ -350,7 +350,7 @@ function hashHas(key) {
|
|
|
350
350
|
}
|
|
351
351
|
var hashHas_default = hashHas;
|
|
352
352
|
|
|
353
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
353
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
354
354
|
var HASH_UNDEFINED2 = "__lodash_hash_undefined__";
|
|
355
355
|
function hashSet(key, value) {
|
|
356
356
|
var data = this.__data__;
|
|
@@ -360,7 +360,7 @@ function hashSet(key, value) {
|
|
|
360
360
|
}
|
|
361
361
|
var hashSet_default = hashSet;
|
|
362
362
|
|
|
363
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
363
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
364
364
|
function Hash(entries) {
|
|
365
365
|
var index = -1, length = entries == null ? 0 : entries.length;
|
|
366
366
|
this.clear();
|
|
@@ -376,7 +376,7 @@ Hash.prototype.has = hashHas_default;
|
|
|
376
376
|
Hash.prototype.set = hashSet_default;
|
|
377
377
|
var Hash_default = Hash;
|
|
378
378
|
|
|
379
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
379
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
380
380
|
function mapCacheClear() {
|
|
381
381
|
this.size = 0;
|
|
382
382
|
this.__data__ = {
|
|
@@ -387,21 +387,21 @@ function mapCacheClear() {
|
|
|
387
387
|
}
|
|
388
388
|
var mapCacheClear_default = mapCacheClear;
|
|
389
389
|
|
|
390
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
390
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
391
391
|
function isKeyable(value) {
|
|
392
392
|
var type = typeof value;
|
|
393
393
|
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
|
394
394
|
}
|
|
395
395
|
var isKeyable_default = isKeyable;
|
|
396
396
|
|
|
397
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
397
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
398
398
|
function getMapData(map, key) {
|
|
399
399
|
var data = map.__data__;
|
|
400
400
|
return isKeyable_default(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
401
401
|
}
|
|
402
402
|
var getMapData_default = getMapData;
|
|
403
403
|
|
|
404
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
404
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
405
405
|
function mapCacheDelete(key) {
|
|
406
406
|
var result = getMapData_default(this, key)["delete"](key);
|
|
407
407
|
this.size -= result ? 1 : 0;
|
|
@@ -409,19 +409,19 @@ function mapCacheDelete(key) {
|
|
|
409
409
|
}
|
|
410
410
|
var mapCacheDelete_default = mapCacheDelete;
|
|
411
411
|
|
|
412
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
412
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
413
413
|
function mapCacheGet(key) {
|
|
414
414
|
return getMapData_default(this, key).get(key);
|
|
415
415
|
}
|
|
416
416
|
var mapCacheGet_default = mapCacheGet;
|
|
417
417
|
|
|
418
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
418
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
419
419
|
function mapCacheHas(key) {
|
|
420
420
|
return getMapData_default(this, key).has(key);
|
|
421
421
|
}
|
|
422
422
|
var mapCacheHas_default = mapCacheHas;
|
|
423
423
|
|
|
424
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
424
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
425
425
|
function mapCacheSet(key, value) {
|
|
426
426
|
var data = getMapData_default(this, key), size = data.size;
|
|
427
427
|
data.set(key, value);
|
|
@@ -430,7 +430,7 @@ function mapCacheSet(key, value) {
|
|
|
430
430
|
}
|
|
431
431
|
var mapCacheSet_default = mapCacheSet;
|
|
432
432
|
|
|
433
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
433
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
434
434
|
function MapCache(entries) {
|
|
435
435
|
var index = -1, length = entries == null ? 0 : entries.length;
|
|
436
436
|
this.clear();
|
|
@@ -446,7 +446,7 @@ MapCache.prototype.has = mapCacheHas_default;
|
|
|
446
446
|
MapCache.prototype.set = mapCacheSet_default;
|
|
447
447
|
var MapCache_default = MapCache;
|
|
448
448
|
|
|
449
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
449
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
|
|
450
450
|
var LARGE_ARRAY_SIZE = 200;
|
|
451
451
|
function stackSet(key, value) {
|
|
452
452
|
var data = this.__data__;
|
|
@@ -465,7 +465,7 @@ function stackSet(key, value) {
|
|
|
465
465
|
}
|
|
466
466
|
var stackSet_default = stackSet;
|
|
467
467
|
|
|
468
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
468
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
|
|
469
469
|
function Stack(entries) {
|
|
470
470
|
var data = this.__data__ = new ListCache_default(entries);
|
|
471
471
|
this.size = data.size;
|
|
@@ -477,7 +477,7 @@ Stack.prototype.has = stackHas_default;
|
|
|
477
477
|
Stack.prototype.set = stackSet_default;
|
|
478
478
|
var Stack_default = Stack;
|
|
479
479
|
|
|
480
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
480
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
|
|
481
481
|
var defineProperty = (function() {
|
|
482
482
|
try {
|
|
483
483
|
var func = getNative_default(Object, "defineProperty");
|
|
@@ -488,7 +488,7 @@ var defineProperty = (function() {
|
|
|
488
488
|
})();
|
|
489
489
|
var defineProperty_default = defineProperty;
|
|
490
490
|
|
|
491
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
491
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
|
|
492
492
|
function baseAssignValue(object, key, value) {
|
|
493
493
|
if (key == "__proto__" && defineProperty_default) {
|
|
494
494
|
defineProperty_default(object, key, {
|
|
@@ -503,7 +503,7 @@ function baseAssignValue(object, key, value) {
|
|
|
503
503
|
}
|
|
504
504
|
var baseAssignValue_default = baseAssignValue;
|
|
505
505
|
|
|
506
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
506
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js
|
|
507
507
|
function assignMergeValue(object, key, value) {
|
|
508
508
|
if (value !== void 0 && !eq_default(object[key], value) || value === void 0 && !(key in object)) {
|
|
509
509
|
baseAssignValue_default(object, key, value);
|
|
@@ -511,7 +511,7 @@ function assignMergeValue(object, key, value) {
|
|
|
511
511
|
}
|
|
512
512
|
var assignMergeValue_default = assignMergeValue;
|
|
513
513
|
|
|
514
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
514
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js
|
|
515
515
|
function createBaseFor(fromRight) {
|
|
516
516
|
return function(object, iteratee, keysFunc) {
|
|
517
517
|
var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
|
|
@@ -526,11 +526,11 @@ function createBaseFor(fromRight) {
|
|
|
526
526
|
}
|
|
527
527
|
var createBaseFor_default = createBaseFor;
|
|
528
528
|
|
|
529
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
529
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js
|
|
530
530
|
var baseFor = createBaseFor_default();
|
|
531
531
|
var baseFor_default = baseFor;
|
|
532
532
|
|
|
533
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
533
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
|
|
534
534
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
535
535
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
536
536
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
@@ -546,11 +546,11 @@ function cloneBuffer(buffer, isDeep) {
|
|
|
546
546
|
}
|
|
547
547
|
var cloneBuffer_default = cloneBuffer;
|
|
548
548
|
|
|
549
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
549
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
|
|
550
550
|
var Uint8Array2 = root_default.Uint8Array;
|
|
551
551
|
var Uint8Array_default = Uint8Array2;
|
|
552
552
|
|
|
553
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
553
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
|
|
554
554
|
function cloneArrayBuffer(arrayBuffer) {
|
|
555
555
|
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
556
556
|
new Uint8Array_default(result).set(new Uint8Array_default(arrayBuffer));
|
|
@@ -558,14 +558,14 @@ function cloneArrayBuffer(arrayBuffer) {
|
|
|
558
558
|
}
|
|
559
559
|
var cloneArrayBuffer_default = cloneArrayBuffer;
|
|
560
560
|
|
|
561
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
561
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
|
|
562
562
|
function cloneTypedArray(typedArray, isDeep) {
|
|
563
563
|
var buffer = isDeep ? cloneArrayBuffer_default(typedArray.buffer) : typedArray.buffer;
|
|
564
564
|
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
565
565
|
}
|
|
566
566
|
var cloneTypedArray_default = cloneTypedArray;
|
|
567
567
|
|
|
568
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
568
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
|
|
569
569
|
function copyArray(source, array) {
|
|
570
570
|
var index = -1, length = source.length;
|
|
571
571
|
array || (array = Array(length));
|
|
@@ -576,7 +576,7 @@ function copyArray(source, array) {
|
|
|
576
576
|
}
|
|
577
577
|
var copyArray_default = copyArray;
|
|
578
578
|
|
|
579
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
579
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
|
|
580
580
|
var objectCreate = Object.create;
|
|
581
581
|
var baseCreate = /* @__PURE__ */ (function() {
|
|
582
582
|
function object() {
|
|
@@ -596,7 +596,7 @@ var baseCreate = /* @__PURE__ */ (function() {
|
|
|
596
596
|
})();
|
|
597
597
|
var baseCreate_default = baseCreate;
|
|
598
598
|
|
|
599
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
599
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
600
600
|
function overArg(func, transform) {
|
|
601
601
|
return function(arg) {
|
|
602
602
|
return func(transform(arg));
|
|
@@ -604,11 +604,11 @@ function overArg(func, transform) {
|
|
|
604
604
|
}
|
|
605
605
|
var overArg_default = overArg;
|
|
606
606
|
|
|
607
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
607
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
|
|
608
608
|
var getPrototype = overArg_default(Object.getPrototypeOf, Object);
|
|
609
609
|
var getPrototype_default = getPrototype;
|
|
610
610
|
|
|
611
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
611
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
612
612
|
var objectProto6 = Object.prototype;
|
|
613
613
|
function isPrototype(value) {
|
|
614
614
|
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto6;
|
|
@@ -616,26 +616,26 @@ function isPrototype(value) {
|
|
|
616
616
|
}
|
|
617
617
|
var isPrototype_default = isPrototype;
|
|
618
618
|
|
|
619
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
619
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
|
|
620
620
|
function initCloneObject(object) {
|
|
621
621
|
return typeof object.constructor == "function" && !isPrototype_default(object) ? baseCreate_default(getPrototype_default(object)) : {};
|
|
622
622
|
}
|
|
623
623
|
var initCloneObject_default = initCloneObject;
|
|
624
624
|
|
|
625
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
625
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
626
626
|
function isObjectLike(value) {
|
|
627
627
|
return value != null && typeof value == "object";
|
|
628
628
|
}
|
|
629
629
|
var isObjectLike_default = isObjectLike;
|
|
630
630
|
|
|
631
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
631
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
632
632
|
var argsTag = "[object Arguments]";
|
|
633
633
|
function baseIsArguments(value) {
|
|
634
634
|
return isObjectLike_default(value) && baseGetTag_default(value) == argsTag;
|
|
635
635
|
}
|
|
636
636
|
var baseIsArguments_default = baseIsArguments;
|
|
637
637
|
|
|
638
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
638
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
639
639
|
var objectProto7 = Object.prototype;
|
|
640
640
|
var hasOwnProperty5 = objectProto7.hasOwnProperty;
|
|
641
641
|
var propertyIsEnumerable = objectProto7.propertyIsEnumerable;
|
|
@@ -646,36 +646,36 @@ var isArguments = baseIsArguments_default(/* @__PURE__ */ (function() {
|
|
|
646
646
|
};
|
|
647
647
|
var isArguments_default = isArguments;
|
|
648
648
|
|
|
649
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
649
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
650
650
|
var isArray = Array.isArray;
|
|
651
651
|
var isArray_default = isArray;
|
|
652
652
|
|
|
653
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
653
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
|
|
654
654
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
655
655
|
function isLength(value) {
|
|
656
656
|
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
657
657
|
}
|
|
658
658
|
var isLength_default = isLength;
|
|
659
659
|
|
|
660
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
660
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
661
661
|
function isArrayLike(value) {
|
|
662
662
|
return value != null && isLength_default(value.length) && !isFunction_default(value);
|
|
663
663
|
}
|
|
664
664
|
var isArrayLike_default = isArrayLike;
|
|
665
665
|
|
|
666
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
666
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js
|
|
667
667
|
function isArrayLikeObject(value) {
|
|
668
668
|
return isObjectLike_default(value) && isArrayLike_default(value);
|
|
669
669
|
}
|
|
670
670
|
var isArrayLikeObject_default = isArrayLikeObject;
|
|
671
671
|
|
|
672
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
672
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
673
673
|
function stubFalse() {
|
|
674
674
|
return false;
|
|
675
675
|
}
|
|
676
676
|
var stubFalse_default = stubFalse;
|
|
677
677
|
|
|
678
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
678
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
679
679
|
var freeExports2 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
680
680
|
var freeModule2 = freeExports2 && typeof module == "object" && module && !module.nodeType && module;
|
|
681
681
|
var moduleExports2 = freeModule2 && freeModule2.exports === freeExports2;
|
|
@@ -684,7 +684,7 @@ var nativeIsBuffer = Buffer3 ? Buffer3.isBuffer : void 0;
|
|
|
684
684
|
var isBuffer = nativeIsBuffer || stubFalse_default;
|
|
685
685
|
var isBuffer_default = isBuffer;
|
|
686
686
|
|
|
687
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
687
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js
|
|
688
688
|
var objectTag = "[object Object]";
|
|
689
689
|
var funcProto3 = Function.prototype;
|
|
690
690
|
var objectProto8 = Object.prototype;
|
|
@@ -704,7 +704,7 @@ function isPlainObject(value) {
|
|
|
704
704
|
}
|
|
705
705
|
var isPlainObject_default = isPlainObject;
|
|
706
706
|
|
|
707
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
707
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
|
|
708
708
|
var argsTag2 = "[object Arguments]";
|
|
709
709
|
var arrayTag = "[object Array]";
|
|
710
710
|
var boolTag = "[object Boolean]";
|
|
@@ -737,7 +737,7 @@ function baseIsTypedArray(value) {
|
|
|
737
737
|
}
|
|
738
738
|
var baseIsTypedArray_default = baseIsTypedArray;
|
|
739
739
|
|
|
740
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
740
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
741
741
|
function baseUnary(func) {
|
|
742
742
|
return function(value) {
|
|
743
743
|
return func(value);
|
|
@@ -745,7 +745,7 @@ function baseUnary(func) {
|
|
|
745
745
|
}
|
|
746
746
|
var baseUnary_default = baseUnary;
|
|
747
747
|
|
|
748
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
748
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
749
749
|
var freeExports3 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
750
750
|
var freeModule3 = freeExports3 && typeof module == "object" && module && !module.nodeType && module;
|
|
751
751
|
var moduleExports3 = freeModule3 && freeModule3.exports === freeExports3;
|
|
@@ -762,12 +762,12 @@ var nodeUtil = (function() {
|
|
|
762
762
|
})();
|
|
763
763
|
var nodeUtil_default = nodeUtil;
|
|
764
764
|
|
|
765
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
765
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
|
|
766
766
|
var nodeIsTypedArray = nodeUtil_default && nodeUtil_default.isTypedArray;
|
|
767
767
|
var isTypedArray = nodeIsTypedArray ? baseUnary_default(nodeIsTypedArray) : baseIsTypedArray_default;
|
|
768
768
|
var isTypedArray_default = isTypedArray;
|
|
769
769
|
|
|
770
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
770
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js
|
|
771
771
|
function safeGet(object, key) {
|
|
772
772
|
if (key === "constructor" && typeof object[key] === "function") {
|
|
773
773
|
return;
|
|
@@ -779,7 +779,7 @@ function safeGet(object, key) {
|
|
|
779
779
|
}
|
|
780
780
|
var safeGet_default = safeGet;
|
|
781
781
|
|
|
782
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
782
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js
|
|
783
783
|
var objectProto9 = Object.prototype;
|
|
784
784
|
var hasOwnProperty7 = objectProto9.hasOwnProperty;
|
|
785
785
|
function assignValue(object, key, value) {
|
|
@@ -790,7 +790,7 @@ function assignValue(object, key, value) {
|
|
|
790
790
|
}
|
|
791
791
|
var assignValue_default = assignValue;
|
|
792
792
|
|
|
793
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
793
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
|
|
794
794
|
function copyObject(source, props, object, customizer) {
|
|
795
795
|
var isNew = !object;
|
|
796
796
|
object || (object = {});
|
|
@@ -811,7 +811,7 @@ function copyObject(source, props, object, customizer) {
|
|
|
811
811
|
}
|
|
812
812
|
var copyObject_default = copyObject;
|
|
813
813
|
|
|
814
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
814
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
|
|
815
815
|
function baseTimes(n, iteratee) {
|
|
816
816
|
var index = -1, result = Array(n);
|
|
817
817
|
while (++index < n) {
|
|
@@ -821,7 +821,7 @@ function baseTimes(n, iteratee) {
|
|
|
821
821
|
}
|
|
822
822
|
var baseTimes_default = baseTimes;
|
|
823
823
|
|
|
824
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
824
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
|
|
825
825
|
var MAX_SAFE_INTEGER2 = 9007199254740991;
|
|
826
826
|
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
827
827
|
function isIndex(value, length) {
|
|
@@ -831,7 +831,7 @@ function isIndex(value, length) {
|
|
|
831
831
|
}
|
|
832
832
|
var isIndex_default = isIndex;
|
|
833
833
|
|
|
834
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
834
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
|
|
835
835
|
var objectProto10 = Object.prototype;
|
|
836
836
|
var hasOwnProperty8 = objectProto10.hasOwnProperty;
|
|
837
837
|
function arrayLikeKeys(value, inherited) {
|
|
@@ -849,7 +849,7 @@ function arrayLikeKeys(value, inherited) {
|
|
|
849
849
|
}
|
|
850
850
|
var arrayLikeKeys_default = arrayLikeKeys;
|
|
851
851
|
|
|
852
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
852
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
|
|
853
853
|
function nativeKeysIn(object) {
|
|
854
854
|
var result = [];
|
|
855
855
|
if (object != null) {
|
|
@@ -861,7 +861,7 @@ function nativeKeysIn(object) {
|
|
|
861
861
|
}
|
|
862
862
|
var nativeKeysIn_default = nativeKeysIn;
|
|
863
863
|
|
|
864
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
864
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
|
|
865
865
|
var objectProto11 = Object.prototype;
|
|
866
866
|
var hasOwnProperty9 = objectProto11.hasOwnProperty;
|
|
867
867
|
function baseKeysIn(object) {
|
|
@@ -878,19 +878,19 @@ function baseKeysIn(object) {
|
|
|
878
878
|
}
|
|
879
879
|
var baseKeysIn_default = baseKeysIn;
|
|
880
880
|
|
|
881
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
881
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
|
|
882
882
|
function keysIn(object) {
|
|
883
883
|
return isArrayLike_default(object) ? arrayLikeKeys_default(object, true) : baseKeysIn_default(object);
|
|
884
884
|
}
|
|
885
885
|
var keysIn_default = keysIn;
|
|
886
886
|
|
|
887
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
887
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js
|
|
888
888
|
function toPlainObject(value) {
|
|
889
889
|
return copyObject_default(value, keysIn_default(value));
|
|
890
890
|
}
|
|
891
891
|
var toPlainObject_default = toPlainObject;
|
|
892
892
|
|
|
893
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
893
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js
|
|
894
894
|
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
|
|
895
895
|
var objValue = safeGet_default(object, key), srcValue = safeGet_default(source, key), stacked = stack.get(srcValue);
|
|
896
896
|
if (stacked) {
|
|
@@ -936,7 +936,7 @@ function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, sta
|
|
|
936
936
|
}
|
|
937
937
|
var baseMergeDeep_default = baseMergeDeep;
|
|
938
938
|
|
|
939
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
939
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js
|
|
940
940
|
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
941
941
|
if (object === source) {
|
|
942
942
|
return;
|
|
@@ -956,13 +956,13 @@ function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
|
956
956
|
}
|
|
957
957
|
var baseMerge_default = baseMerge;
|
|
958
958
|
|
|
959
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
959
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js
|
|
960
960
|
function identity(value) {
|
|
961
961
|
return value;
|
|
962
962
|
}
|
|
963
963
|
var identity_default = identity;
|
|
964
964
|
|
|
965
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
965
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
|
|
966
966
|
function apply(func, thisArg, args) {
|
|
967
967
|
switch (args.length) {
|
|
968
968
|
case 0:
|
|
@@ -978,7 +978,7 @@ function apply(func, thisArg, args) {
|
|
|
978
978
|
}
|
|
979
979
|
var apply_default = apply;
|
|
980
980
|
|
|
981
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
981
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
|
|
982
982
|
var nativeMax = Math.max;
|
|
983
983
|
function overRest(func, start, transform) {
|
|
984
984
|
start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
|
|
@@ -998,7 +998,7 @@ function overRest(func, start, transform) {
|
|
|
998
998
|
}
|
|
999
999
|
var overRest_default = overRest;
|
|
1000
1000
|
|
|
1001
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1001
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js
|
|
1002
1002
|
function constant(value) {
|
|
1003
1003
|
return function() {
|
|
1004
1004
|
return value;
|
|
@@ -1006,7 +1006,7 @@ function constant(value) {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
var constant_default = constant;
|
|
1008
1008
|
|
|
1009
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1009
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js
|
|
1010
1010
|
var baseSetToString = !defineProperty_default ? identity_default : function(func, string) {
|
|
1011
1011
|
return defineProperty_default(func, "toString", {
|
|
1012
1012
|
"configurable": true,
|
|
@@ -1017,7 +1017,7 @@ var baseSetToString = !defineProperty_default ? identity_default : function(func
|
|
|
1017
1017
|
};
|
|
1018
1018
|
var baseSetToString_default = baseSetToString;
|
|
1019
1019
|
|
|
1020
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1020
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
|
|
1021
1021
|
var HOT_COUNT = 800;
|
|
1022
1022
|
var HOT_SPAN = 16;
|
|
1023
1023
|
var nativeNow = Date.now;
|
|
@@ -1038,17 +1038,17 @@ function shortOut(func) {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
var shortOut_default = shortOut;
|
|
1040
1040
|
|
|
1041
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1041
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
|
|
1042
1042
|
var setToString = shortOut_default(baseSetToString_default);
|
|
1043
1043
|
var setToString_default = setToString;
|
|
1044
1044
|
|
|
1045
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1045
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
|
|
1046
1046
|
function baseRest(func, start) {
|
|
1047
1047
|
return setToString_default(overRest_default(func, start, identity_default), func + "");
|
|
1048
1048
|
}
|
|
1049
1049
|
var baseRest_default = baseRest;
|
|
1050
1050
|
|
|
1051
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1051
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
|
|
1052
1052
|
function isIterateeCall(value, index, object) {
|
|
1053
1053
|
if (!isObject_default(object)) {
|
|
1054
1054
|
return false;
|
|
@@ -1061,7 +1061,7 @@ function isIterateeCall(value, index, object) {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
var isIterateeCall_default = isIterateeCall;
|
|
1063
1063
|
|
|
1064
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1064
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js
|
|
1065
1065
|
function createAssigner(assigner) {
|
|
1066
1066
|
return baseRest_default(function(object, sources) {
|
|
1067
1067
|
var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
|
|
@@ -1082,7 +1082,7 @@ function createAssigner(assigner) {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
var createAssigner_default = createAssigner;
|
|
1084
1084
|
|
|
1085
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1085
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/mergeWith.js
|
|
1086
1086
|
var mergeWith = createAssigner_default(function(object, source, srcIndex, customizer) {
|
|
1087
1087
|
baseMerge_default(object, source, srcIndex, customizer);
|
|
1088
1088
|
});
|
|
@@ -1213,7 +1213,8 @@ var AIMarkdownRenderStateProvider = ({
|
|
|
1213
1213
|
[baseConfig, config]
|
|
1214
1214
|
);
|
|
1215
1215
|
const fallbackId = (0, import_react.useId)();
|
|
1216
|
-
const
|
|
1216
|
+
const documentIdExplicit = !!(documentId && documentId.length > 0);
|
|
1217
|
+
const resolvedDocumentId = documentIdExplicit ? documentId : fallbackId;
|
|
1217
1218
|
const state = (0, import_react.useMemo)(
|
|
1218
1219
|
() => Object.freeze({
|
|
1219
1220
|
streaming,
|
|
@@ -1221,6 +1222,7 @@ var AIMarkdownRenderStateProvider = ({
|
|
|
1221
1222
|
variant,
|
|
1222
1223
|
colorScheme,
|
|
1223
1224
|
documentId: resolvedDocumentId,
|
|
1225
|
+
documentIdExplicit,
|
|
1224
1226
|
// URI-fragment safe per-document prefix derived once here so downstream
|
|
1225
1227
|
// consumers (MarkdownContent, cross-chunk placeholder components) read
|
|
1226
1228
|
// from one canonical source. `encodeURIComponent` runs at the prefix
|
|
@@ -1238,7 +1240,7 @@ var AIMarkdownRenderStateProvider = ({
|
|
|
1238
1240
|
clobberPrefix: `${encodeURIComponent(shortenDocumentId(resolvedDocumentId))}-user-content-`,
|
|
1239
1241
|
config: mergedConfig
|
|
1240
1242
|
}),
|
|
1241
|
-
[streaming, fontSize, variant, colorScheme, resolvedDocumentId, mergedConfig]
|
|
1243
|
+
[streaming, fontSize, variant, colorScheme, resolvedDocumentId, documentIdExplicit, mergedConfig]
|
|
1242
1244
|
);
|
|
1243
1245
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AIMarkdownRenderStateContext.Provider, { value: state, children });
|
|
1244
1246
|
};
|
|
@@ -1748,7 +1750,7 @@ var import_rehype_raw = __toESM(require("rehype-raw"), 1);
|
|
|
1748
1750
|
var import_rehype_unwrap_images = __toESM(require("rehype-unwrap-images"), 1);
|
|
1749
1751
|
var import_rehype_sanitize2 = __toESM(require("rehype-sanitize"), 1);
|
|
1750
1752
|
|
|
1751
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1753
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
|
|
1752
1754
|
function arrayEach(array, iteratee) {
|
|
1753
1755
|
var index = -1, length = array == null ? 0 : array.length;
|
|
1754
1756
|
while (++index < length) {
|
|
@@ -1760,11 +1762,11 @@ function arrayEach(array, iteratee) {
|
|
|
1760
1762
|
}
|
|
1761
1763
|
var arrayEach_default = arrayEach;
|
|
1762
1764
|
|
|
1763
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1765
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
|
|
1764
1766
|
var nativeKeys = overArg_default(Object.keys, Object);
|
|
1765
1767
|
var nativeKeys_default = nativeKeys;
|
|
1766
1768
|
|
|
1767
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1769
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
|
|
1768
1770
|
var objectProto12 = Object.prototype;
|
|
1769
1771
|
var hasOwnProperty10 = objectProto12.hasOwnProperty;
|
|
1770
1772
|
function baseKeys(object) {
|
|
@@ -1781,25 +1783,25 @@ function baseKeys(object) {
|
|
|
1781
1783
|
}
|
|
1782
1784
|
var baseKeys_default = baseKeys;
|
|
1783
1785
|
|
|
1784
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1786
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
1785
1787
|
function keys(object) {
|
|
1786
1788
|
return isArrayLike_default(object) ? arrayLikeKeys_default(object) : baseKeys_default(object);
|
|
1787
1789
|
}
|
|
1788
1790
|
var keys_default = keys;
|
|
1789
1791
|
|
|
1790
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1792
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
|
|
1791
1793
|
function baseAssign(object, source) {
|
|
1792
1794
|
return object && copyObject_default(source, keys_default(source), object);
|
|
1793
1795
|
}
|
|
1794
1796
|
var baseAssign_default = baseAssign;
|
|
1795
1797
|
|
|
1796
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1798
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
|
|
1797
1799
|
function baseAssignIn(object, source) {
|
|
1798
1800
|
return object && copyObject_default(source, keysIn_default(source), object);
|
|
1799
1801
|
}
|
|
1800
1802
|
var baseAssignIn_default = baseAssignIn;
|
|
1801
1803
|
|
|
1802
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1804
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
|
|
1803
1805
|
function arrayFilter(array, predicate) {
|
|
1804
1806
|
var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
|
|
1805
1807
|
while (++index < length) {
|
|
@@ -1812,13 +1814,13 @@ function arrayFilter(array, predicate) {
|
|
|
1812
1814
|
}
|
|
1813
1815
|
var arrayFilter_default = arrayFilter;
|
|
1814
1816
|
|
|
1815
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1817
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
|
|
1816
1818
|
function stubArray() {
|
|
1817
1819
|
return [];
|
|
1818
1820
|
}
|
|
1819
1821
|
var stubArray_default = stubArray;
|
|
1820
1822
|
|
|
1821
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1823
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
|
|
1822
1824
|
var objectProto13 = Object.prototype;
|
|
1823
1825
|
var propertyIsEnumerable2 = objectProto13.propertyIsEnumerable;
|
|
1824
1826
|
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
@@ -1833,13 +1835,13 @@ var getSymbols = !nativeGetSymbols ? stubArray_default : function(object) {
|
|
|
1833
1835
|
};
|
|
1834
1836
|
var getSymbols_default = getSymbols;
|
|
1835
1837
|
|
|
1836
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1838
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
|
|
1837
1839
|
function copySymbols(source, object) {
|
|
1838
1840
|
return copyObject_default(source, getSymbols_default(source), object);
|
|
1839
1841
|
}
|
|
1840
1842
|
var copySymbols_default = copySymbols;
|
|
1841
1843
|
|
|
1842
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1844
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
|
|
1843
1845
|
function arrayPush(array, values) {
|
|
1844
1846
|
var index = -1, length = values.length, offset = array.length;
|
|
1845
1847
|
while (++index < length) {
|
|
@@ -1849,7 +1851,7 @@ function arrayPush(array, values) {
|
|
|
1849
1851
|
}
|
|
1850
1852
|
var arrayPush_default = arrayPush;
|
|
1851
1853
|
|
|
1852
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1854
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
|
|
1853
1855
|
var nativeGetSymbols2 = Object.getOwnPropertySymbols;
|
|
1854
1856
|
var getSymbolsIn = !nativeGetSymbols2 ? stubArray_default : function(object) {
|
|
1855
1857
|
var result = [];
|
|
@@ -1861,48 +1863,48 @@ var getSymbolsIn = !nativeGetSymbols2 ? stubArray_default : function(object) {
|
|
|
1861
1863
|
};
|
|
1862
1864
|
var getSymbolsIn_default = getSymbolsIn;
|
|
1863
1865
|
|
|
1864
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1866
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
|
|
1865
1867
|
function copySymbolsIn(source, object) {
|
|
1866
1868
|
return copyObject_default(source, getSymbolsIn_default(source), object);
|
|
1867
1869
|
}
|
|
1868
1870
|
var copySymbolsIn_default = copySymbolsIn;
|
|
1869
1871
|
|
|
1870
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1872
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
|
|
1871
1873
|
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
1872
1874
|
var result = keysFunc(object);
|
|
1873
1875
|
return isArray_default(object) ? result : arrayPush_default(result, symbolsFunc(object));
|
|
1874
1876
|
}
|
|
1875
1877
|
var baseGetAllKeys_default = baseGetAllKeys;
|
|
1876
1878
|
|
|
1877
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1879
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
|
|
1878
1880
|
function getAllKeys(object) {
|
|
1879
1881
|
return baseGetAllKeys_default(object, keys_default, getSymbols_default);
|
|
1880
1882
|
}
|
|
1881
1883
|
var getAllKeys_default = getAllKeys;
|
|
1882
1884
|
|
|
1883
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1885
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
|
|
1884
1886
|
function getAllKeysIn(object) {
|
|
1885
1887
|
return baseGetAllKeys_default(object, keysIn_default, getSymbolsIn_default);
|
|
1886
1888
|
}
|
|
1887
1889
|
var getAllKeysIn_default = getAllKeysIn;
|
|
1888
1890
|
|
|
1889
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1891
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
|
|
1890
1892
|
var DataView = getNative_default(root_default, "DataView");
|
|
1891
1893
|
var DataView_default = DataView;
|
|
1892
1894
|
|
|
1893
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1895
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
|
|
1894
1896
|
var Promise2 = getNative_default(root_default, "Promise");
|
|
1895
1897
|
var Promise_default = Promise2;
|
|
1896
1898
|
|
|
1897
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1899
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
|
|
1898
1900
|
var Set2 = getNative_default(root_default, "Set");
|
|
1899
1901
|
var Set_default = Set2;
|
|
1900
1902
|
|
|
1901
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1903
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
|
|
1902
1904
|
var WeakMap = getNative_default(root_default, "WeakMap");
|
|
1903
1905
|
var WeakMap_default = WeakMap;
|
|
1904
1906
|
|
|
1905
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1907
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
|
|
1906
1908
|
var mapTag2 = "[object Map]";
|
|
1907
1909
|
var objectTag3 = "[object Object]";
|
|
1908
1910
|
var promiseTag = "[object Promise]";
|
|
@@ -1937,7 +1939,7 @@ if (DataView_default && getTag(new DataView_default(new ArrayBuffer(1))) != data
|
|
|
1937
1939
|
}
|
|
1938
1940
|
var getTag_default = getTag;
|
|
1939
1941
|
|
|
1940
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1942
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js
|
|
1941
1943
|
var objectProto14 = Object.prototype;
|
|
1942
1944
|
var hasOwnProperty11 = objectProto14.hasOwnProperty;
|
|
1943
1945
|
function initCloneArray(array) {
|
|
@@ -1950,14 +1952,14 @@ function initCloneArray(array) {
|
|
|
1950
1952
|
}
|
|
1951
1953
|
var initCloneArray_default = initCloneArray;
|
|
1952
1954
|
|
|
1953
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1955
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
|
|
1954
1956
|
function cloneDataView(dataView, isDeep) {
|
|
1955
1957
|
var buffer = isDeep ? cloneArrayBuffer_default(dataView.buffer) : dataView.buffer;
|
|
1956
1958
|
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
|
1957
1959
|
}
|
|
1958
1960
|
var cloneDataView_default = cloneDataView;
|
|
1959
1961
|
|
|
1960
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1962
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
|
|
1961
1963
|
var reFlags = /\w*$/;
|
|
1962
1964
|
function cloneRegExp(regexp) {
|
|
1963
1965
|
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
|
|
@@ -1966,7 +1968,7 @@ function cloneRegExp(regexp) {
|
|
|
1966
1968
|
}
|
|
1967
1969
|
var cloneRegExp_default = cloneRegExp;
|
|
1968
1970
|
|
|
1969
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1971
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
|
|
1970
1972
|
var symbolProto = Symbol_default ? Symbol_default.prototype : void 0;
|
|
1971
1973
|
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
1972
1974
|
function cloneSymbol(symbol) {
|
|
@@ -1974,7 +1976,7 @@ function cloneSymbol(symbol) {
|
|
|
1974
1976
|
}
|
|
1975
1977
|
var cloneSymbol_default = cloneSymbol;
|
|
1976
1978
|
|
|
1977
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
1979
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
|
|
1978
1980
|
var boolTag2 = "[object Boolean]";
|
|
1979
1981
|
var dateTag2 = "[object Date]";
|
|
1980
1982
|
var mapTag3 = "[object Map]";
|
|
@@ -2029,31 +2031,31 @@ function initCloneByTag(object, tag, isDeep) {
|
|
|
2029
2031
|
}
|
|
2030
2032
|
var initCloneByTag_default = initCloneByTag;
|
|
2031
2033
|
|
|
2032
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
2034
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
|
|
2033
2035
|
var mapTag4 = "[object Map]";
|
|
2034
2036
|
function baseIsMap(value) {
|
|
2035
2037
|
return isObjectLike_default(value) && getTag_default(value) == mapTag4;
|
|
2036
2038
|
}
|
|
2037
2039
|
var baseIsMap_default = baseIsMap;
|
|
2038
2040
|
|
|
2039
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
2041
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
|
|
2040
2042
|
var nodeIsMap = nodeUtil_default && nodeUtil_default.isMap;
|
|
2041
2043
|
var isMap = nodeIsMap ? baseUnary_default(nodeIsMap) : baseIsMap_default;
|
|
2042
2044
|
var isMap_default = isMap;
|
|
2043
2045
|
|
|
2044
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
2046
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js
|
|
2045
2047
|
var setTag4 = "[object Set]";
|
|
2046
2048
|
function baseIsSet(value) {
|
|
2047
2049
|
return isObjectLike_default(value) && getTag_default(value) == setTag4;
|
|
2048
2050
|
}
|
|
2049
2051
|
var baseIsSet_default = baseIsSet;
|
|
2050
2052
|
|
|
2051
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
2053
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
|
|
2052
2054
|
var nodeIsSet = nodeUtil_default && nodeUtil_default.isSet;
|
|
2053
2055
|
var isSet = nodeIsSet ? baseUnary_default(nodeIsSet) : baseIsSet_default;
|
|
2054
2056
|
var isSet_default = isSet;
|
|
2055
2057
|
|
|
2056
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
2058
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js
|
|
2057
2059
|
var CLONE_DEEP_FLAG = 1;
|
|
2058
2060
|
var CLONE_FLAT_FLAG = 2;
|
|
2059
2061
|
var CLONE_SYMBOLS_FLAG = 4;
|
|
@@ -2148,7 +2150,7 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
|
|
|
2148
2150
|
}
|
|
2149
2151
|
var baseClone_default = baseClone;
|
|
2150
2152
|
|
|
2151
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
2153
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
|
|
2152
2154
|
var CLONE_DEEP_FLAG2 = 1;
|
|
2153
2155
|
var CLONE_SYMBOLS_FLAG2 = 4;
|
|
2154
2156
|
function cloneDeep(value) {
|
|
@@ -2767,9 +2769,9 @@ var AIMarkdownDocuments = ({ preserveOrphanReferences = true, children }) => {
|
|
|
2767
2769
|
}
|
|
2768
2770
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AIMarkdownDocumentsRoot, { preserveOrphanReferences, children });
|
|
2769
2771
|
};
|
|
2770
|
-
function useDocumentRegistry(documentId) {
|
|
2772
|
+
function useDocumentRegistry(documentId, documentIdExplicit = true) {
|
|
2771
2773
|
const ctx = (0, import_react3.useContext)(AIMarkdownDocumentsContext);
|
|
2772
|
-
if (!ctx || !documentId) return null;
|
|
2774
|
+
if (!ctx || !documentId || !documentIdExplicit) return null;
|
|
2773
2775
|
return ctx.getRegistry(documentId);
|
|
2774
2776
|
}
|
|
2775
2777
|
function usePreserveOrphanReferences(fallback) {
|
|
@@ -2935,8 +2937,8 @@ function coerceLocalOccurrence(v) {
|
|
|
2935
2937
|
}
|
|
2936
2938
|
function FootnoteSupNumber({ label, localOccurrence: localOccurrenceRaw }) {
|
|
2937
2939
|
const localOccurrence = coerceLocalOccurrence(localOccurrenceRaw);
|
|
2938
|
-
const { documentId, clobberPrefix } = useAIMarkdownRenderState();
|
|
2939
|
-
const registry = useDocumentRegistry(documentId);
|
|
2940
|
+
const { documentId, documentIdExplicit, clobberPrefix } = useAIMarkdownRenderState();
|
|
2941
|
+
const registry = useDocumentRegistry(documentId, documentIdExplicit ?? false);
|
|
2940
2942
|
const chunkSym = (0, import_react6.useContext)(ChunkSymbolContext);
|
|
2941
2943
|
const subscribe = (0, import_react6.useCallback)((cb) => registry ? registry.subscribe(cb) : () => {
|
|
2942
2944
|
}, [registry]);
|
|
@@ -2973,8 +2975,8 @@ function literalLink(rt, label, children) {
|
|
|
2973
2975
|
}
|
|
2974
2976
|
}
|
|
2975
2977
|
function CrossChunkLink({ label, referenceType, children }) {
|
|
2976
|
-
const { documentId } = useAIMarkdownRenderState();
|
|
2977
|
-
const registry = useDocumentRegistry(documentId);
|
|
2978
|
+
const { documentId, documentIdExplicit } = useAIMarkdownRenderState();
|
|
2979
|
+
const registry = useDocumentRegistry(documentId, documentIdExplicit ?? false);
|
|
2978
2980
|
const policy = (0, import_react6.useContext)(CrossChunkUrlContext);
|
|
2979
2981
|
const subscribe = (0, import_react6.useCallback)((cb) => registry ? registry.subscribe(cb) : () => {
|
|
2980
2982
|
}, [registry]);
|
|
@@ -3005,8 +3007,8 @@ function literalImage(rt, label, alt) {
|
|
|
3005
3007
|
}
|
|
3006
3008
|
}
|
|
3007
3009
|
function CrossChunkImage({ label, referenceType, alt = "" }) {
|
|
3008
|
-
const { documentId } = useAIMarkdownRenderState();
|
|
3009
|
-
const registry = useDocumentRegistry(documentId);
|
|
3010
|
+
const { documentId, documentIdExplicit } = useAIMarkdownRenderState();
|
|
3011
|
+
const registry = useDocumentRegistry(documentId, documentIdExplicit ?? false);
|
|
3010
3012
|
const policy = (0, import_react6.useContext)(CrossChunkUrlContext);
|
|
3011
3013
|
const subscribe = (0, import_react6.useCallback)((cb) => registry ? registry.subscribe(cb) : () => {
|
|
3012
3014
|
}, [registry]);
|
|
@@ -3399,9 +3401,9 @@ var BlockMemoizedRenderer = (0, import_react8.memo)(
|
|
|
3399
3401
|
const allowElement = void 0;
|
|
3400
3402
|
const skipHtml = void 0;
|
|
3401
3403
|
const unwrapDisallowed = void 0;
|
|
3402
|
-
const { documentId, clobberPrefix, config } = useAIMarkdownRenderState();
|
|
3404
|
+
const { documentId, documentIdExplicit, clobberPrefix, config } = useAIMarkdownRenderState();
|
|
3403
3405
|
const reactId = (0, import_react8.useId)();
|
|
3404
|
-
const registry = useDocumentRegistry(documentId);
|
|
3406
|
+
const registry = useDocumentRegistry(documentId, documentIdExplicit ?? false);
|
|
3405
3407
|
const [allocation, setAllocation] = (0, import_react8.useState)(null);
|
|
3406
3408
|
const sym = allocation && allocation.registry === registry ? allocation.sym : null;
|
|
3407
3409
|
const subscribeRegistry = (0, import_react8.useCallback)(
|
|
@@ -3781,7 +3783,7 @@ var MarkdownContent_default = AIMarkdownContent;
|
|
|
3781
3783
|
// src/hooks/useStableValue.ts
|
|
3782
3784
|
var import_react9 = require("react");
|
|
3783
3785
|
|
|
3784
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3786
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js
|
|
3785
3787
|
var HASH_UNDEFINED3 = "__lodash_hash_undefined__";
|
|
3786
3788
|
function setCacheAdd(value) {
|
|
3787
3789
|
this.__data__.set(value, HASH_UNDEFINED3);
|
|
@@ -3789,13 +3791,13 @@ function setCacheAdd(value) {
|
|
|
3789
3791
|
}
|
|
3790
3792
|
var setCacheAdd_default = setCacheAdd;
|
|
3791
3793
|
|
|
3792
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3794
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js
|
|
3793
3795
|
function setCacheHas(value) {
|
|
3794
3796
|
return this.__data__.has(value);
|
|
3795
3797
|
}
|
|
3796
3798
|
var setCacheHas_default = setCacheHas;
|
|
3797
3799
|
|
|
3798
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3800
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js
|
|
3799
3801
|
function SetCache(values) {
|
|
3800
3802
|
var index = -1, length = values == null ? 0 : values.length;
|
|
3801
3803
|
this.__data__ = new MapCache_default();
|
|
@@ -3807,7 +3809,7 @@ SetCache.prototype.add = SetCache.prototype.push = setCacheAdd_default;
|
|
|
3807
3809
|
SetCache.prototype.has = setCacheHas_default;
|
|
3808
3810
|
var SetCache_default = SetCache;
|
|
3809
3811
|
|
|
3810
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3812
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js
|
|
3811
3813
|
function arraySome(array, predicate) {
|
|
3812
3814
|
var index = -1, length = array == null ? 0 : array.length;
|
|
3813
3815
|
while (++index < length) {
|
|
@@ -3819,13 +3821,13 @@ function arraySome(array, predicate) {
|
|
|
3819
3821
|
}
|
|
3820
3822
|
var arraySome_default = arraySome;
|
|
3821
3823
|
|
|
3822
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3824
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js
|
|
3823
3825
|
function cacheHas(cache, key) {
|
|
3824
3826
|
return cache.has(key);
|
|
3825
3827
|
}
|
|
3826
3828
|
var cacheHas_default = cacheHas;
|
|
3827
3829
|
|
|
3828
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3830
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
|
|
3829
3831
|
var COMPARE_PARTIAL_FLAG = 1;
|
|
3830
3832
|
var COMPARE_UNORDERED_FLAG = 2;
|
|
3831
3833
|
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
@@ -3873,7 +3875,7 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
|
3873
3875
|
}
|
|
3874
3876
|
var equalArrays_default = equalArrays;
|
|
3875
3877
|
|
|
3876
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3878
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js
|
|
3877
3879
|
function mapToArray(map) {
|
|
3878
3880
|
var index = -1, result = Array(map.size);
|
|
3879
3881
|
map.forEach(function(value, key) {
|
|
@@ -3883,7 +3885,7 @@ function mapToArray(map) {
|
|
|
3883
3885
|
}
|
|
3884
3886
|
var mapToArray_default = mapToArray;
|
|
3885
3887
|
|
|
3886
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3888
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js
|
|
3887
3889
|
function setToArray(set) {
|
|
3888
3890
|
var index = -1, result = Array(set.size);
|
|
3889
3891
|
set.forEach(function(value) {
|
|
@@ -3893,7 +3895,7 @@ function setToArray(set) {
|
|
|
3893
3895
|
}
|
|
3894
3896
|
var setToArray_default = setToArray;
|
|
3895
3897
|
|
|
3896
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3898
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
|
|
3897
3899
|
var COMPARE_PARTIAL_FLAG2 = 1;
|
|
3898
3900
|
var COMPARE_UNORDERED_FLAG2 = 2;
|
|
3899
3901
|
var boolTag4 = "[object Boolean]";
|
|
@@ -3957,7 +3959,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
|
3957
3959
|
}
|
|
3958
3960
|
var equalByTag_default = equalByTag;
|
|
3959
3961
|
|
|
3960
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
3962
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js
|
|
3961
3963
|
var COMPARE_PARTIAL_FLAG3 = 1;
|
|
3962
3964
|
var objectProto15 = Object.prototype;
|
|
3963
3965
|
var hasOwnProperty12 = objectProto15.hasOwnProperty;
|
|
@@ -4006,7 +4008,7 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
4006
4008
|
}
|
|
4007
4009
|
var equalObjects_default = equalObjects;
|
|
4008
4010
|
|
|
4009
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
4011
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js
|
|
4010
4012
|
var COMPARE_PARTIAL_FLAG4 = 1;
|
|
4011
4013
|
var argsTag4 = "[object Arguments]";
|
|
4012
4014
|
var arrayTag3 = "[object Array]";
|
|
@@ -4045,7 +4047,7 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
4045
4047
|
}
|
|
4046
4048
|
var baseIsEqualDeep_default = baseIsEqualDeep;
|
|
4047
4049
|
|
|
4048
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
4050
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js
|
|
4049
4051
|
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
4050
4052
|
if (value === other) {
|
|
4051
4053
|
return true;
|
|
@@ -4057,7 +4059,7 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
|
4057
4059
|
}
|
|
4058
4060
|
var baseIsEqual_default = baseIsEqual;
|
|
4059
4061
|
|
|
4060
|
-
// ../../node_modules/.pnpm/lodash-es@4.
|
|
4062
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js
|
|
4061
4063
|
function isEqual(value, other) {
|
|
4062
4064
|
return baseIsEqual_default(value, other);
|
|
4063
4065
|
}
|
|
@@ -4138,8 +4140,6 @@ var AIMarkdownComponent = ({
|
|
|
4138
4140
|
sanitizeSchema: sanitizeSchema2
|
|
4139
4141
|
}) => {
|
|
4140
4142
|
const usedFontSize = fontSize === void 0 ? "0.9375rem" : typeof fontSize === "number" ? `${fontSize}px` : fontSize;
|
|
4141
|
-
const generatedId = (0, import_react12.useId)();
|
|
4142
|
-
const usedDocumentId = documentId && documentId.length > 0 ? documentId : generatedId;
|
|
4143
4143
|
useReferenceFlipWarning(urlTransform, "urlTransform");
|
|
4144
4144
|
useReferenceFlipWarning(sanitizeSchema2, "sanitizeSchema");
|
|
4145
4145
|
const stableDefaultConfig = useStableValue(defaultConfig);
|
|
@@ -4159,7 +4159,7 @@ var AIMarkdownComponent = ({
|
|
|
4159
4159
|
fontSize: usedFontSize,
|
|
4160
4160
|
variant,
|
|
4161
4161
|
colorScheme,
|
|
4162
|
-
documentId
|
|
4162
|
+
documentId,
|
|
4163
4163
|
defaultConfig: stableDefaultConfig,
|
|
4164
4164
|
config: stableConfig,
|
|
4165
4165
|
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|