@mastra/telegram 0.2.3-alpha.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +154 -160
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -6,7 +6,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
9
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
|
|
10
10
|
var __exportAll = (all, no_symbols) => {
|
|
11
11
|
let target = {};
|
|
12
12
|
for (var name in all) __defProp(target, name, {
|
|
@@ -26,7 +26,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
26
26
|
}
|
|
27
27
|
return to;
|
|
28
28
|
};
|
|
29
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
29
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
30
30
|
value: mod,
|
|
31
31
|
enumerable: true
|
|
32
32
|
}) : target, mod));
|
|
@@ -38,7 +38,9 @@ let _mastra_core_storage = require("@mastra/core/storage");
|
|
|
38
38
|
let async_hooks = require("async_hooks");
|
|
39
39
|
let net = require("net");
|
|
40
40
|
let process$1 = require("process");
|
|
41
|
+
process$1 = __toESM(process$1, 1);
|
|
41
42
|
let path = require("path");
|
|
43
|
+
path = __toESM(path, 1);
|
|
42
44
|
let url = require("url");
|
|
43
45
|
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-string/4.0.0/3001db021a790b37432b62272503499c0eaa2fb2c605e9dc3d1a5e4620151f66/node_modules/mdast-util-to-string/lib/index.js
|
|
44
46
|
/**
|
|
@@ -1263,7 +1265,7 @@ function normalizeIdentifier(value) {
|
|
|
1263
1265
|
return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
1264
1266
|
}
|
|
1265
1267
|
//#endregion
|
|
1266
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-gfm-footnote/2.1.0/
|
|
1268
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-gfm-footnote/2.1.0/38bdaf84782df9d66db69bb1fb2f22181c4d57f21da8beb267a329a373ddeaa2/node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
1267
1269
|
/**
|
|
1268
1270
|
* @import {
|
|
1269
1271
|
* CompileContext,
|
|
@@ -1455,7 +1457,7 @@ function mapAll(line, index, blank) {
|
|
|
1455
1457
|
return (blank ? "" : " ") + line;
|
|
1456
1458
|
}
|
|
1457
1459
|
//#endregion
|
|
1458
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-gfm-strikethrough/2.0.0/
|
|
1460
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-gfm-strikethrough/2.0.0/2fe65cf51af075d2b61f0f438bb605c0442d12f06822ef1dad365b255c1ae3a7/node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
1459
1461
|
/**
|
|
1460
1462
|
* @typedef {import('mdast').Delete} Delete
|
|
1461
1463
|
*
|
|
@@ -1803,14 +1805,15 @@ function markdownTable(table, options) {
|
|
|
1803
1805
|
const size = longestCellByColumn[columnIndex] - (sizes[columnIndex] || 0);
|
|
1804
1806
|
const code = alignments[columnIndex];
|
|
1805
1807
|
if (code === 114) before = " ".repeat(size);
|
|
1806
|
-
else if (code === 99)
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1808
|
+
else if (code === 99) {
|
|
1809
|
+
if (size % 2) {
|
|
1810
|
+
before = " ".repeat(size / 2 + .5);
|
|
1811
|
+
after = " ".repeat(size / 2 - .5);
|
|
1812
|
+
} else {
|
|
1813
|
+
before = " ".repeat(size / 2);
|
|
1814
|
+
after = before;
|
|
1815
|
+
}
|
|
1816
|
+
} else after = " ".repeat(size);
|
|
1814
1817
|
}
|
|
1815
1818
|
if (settings.delimiterStart !== false && !columnIndex) line.push("|");
|
|
1816
1819
|
if (settings.padding !== false && !(settings.alignDelimiters === false && cell === "") && (settings.delimiterStart !== false || columnIndex)) line.push(" ");
|
|
@@ -1890,7 +1893,7 @@ function toAlignment(value) {
|
|
|
1890
1893
|
* @property {Handlers} [handlers]
|
|
1891
1894
|
* Handlers to use.
|
|
1892
1895
|
*/
|
|
1893
|
-
const own$
|
|
1896
|
+
const own$4 = {}.hasOwnProperty;
|
|
1894
1897
|
/**
|
|
1895
1898
|
* Handle values based on a field.
|
|
1896
1899
|
*
|
|
@@ -1937,9 +1940,9 @@ function zwitch(key, options) {
|
|
|
1937
1940
|
/** @type {Handler|undefined} */
|
|
1938
1941
|
let fn = one.invalid;
|
|
1939
1942
|
const handlers = one.handlers;
|
|
1940
|
-
if (value && own$
|
|
1943
|
+
if (value && own$4.call(value, key)) {
|
|
1941
1944
|
const id = String(value[key]);
|
|
1942
|
-
fn = own$
|
|
1945
|
+
fn = own$4.call(handlers, id) ? handlers[id] : one.unknown;
|
|
1943
1946
|
}
|
|
1944
1947
|
if (fn) return fn.call(this, value, ...parameters);
|
|
1945
1948
|
}
|
|
@@ -1949,11 +1952,11 @@ function zwitch(key, options) {
|
|
|
1949
1952
|
return one;
|
|
1950
1953
|
}
|
|
1951
1954
|
//#endregion
|
|
1952
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
1955
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/configure.js
|
|
1953
1956
|
/**
|
|
1954
1957
|
* @import {Options, State} from './types.js'
|
|
1955
1958
|
*/
|
|
1956
|
-
const own$
|
|
1959
|
+
const own$3 = {}.hasOwnProperty;
|
|
1957
1960
|
/**
|
|
1958
1961
|
* @param {State} base
|
|
1959
1962
|
* @param {Options} extension
|
|
@@ -1964,7 +1967,7 @@ function configure$1(base, extension) {
|
|
|
1964
1967
|
/** @type {keyof Options} */
|
|
1965
1968
|
let key;
|
|
1966
1969
|
if (extension.extensions) while (++index < extension.extensions.length) configure$1(base, extension.extensions[index]);
|
|
1967
|
-
for (key in extension) if (own$
|
|
1970
|
+
for (key in extension) if (own$3.call(extension, key)) switch (key) {
|
|
1968
1971
|
case "extensions": break;
|
|
1969
1972
|
/* c8 ignore next 4 */
|
|
1970
1973
|
case "unsafe":
|
|
@@ -1997,7 +2000,7 @@ function map$2(left, right) {
|
|
|
1997
2000
|
if (right) Object.assign(left, right);
|
|
1998
2001
|
}
|
|
1999
2002
|
//#endregion
|
|
2000
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2003
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
|
|
2001
2004
|
/**
|
|
2002
2005
|
* @import {Blockquote, Parents} from 'mdast'
|
|
2003
2006
|
* @import {Info, Map, State} from 'mdast-util-to-markdown'
|
|
@@ -2023,7 +2026,7 @@ function map$1(line, _, blank) {
|
|
|
2023
2026
|
return ">" + (blank ? "" : " ") + line;
|
|
2024
2027
|
}
|
|
2025
2028
|
//#endregion
|
|
2026
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2029
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
|
|
2027
2030
|
/**
|
|
2028
2031
|
* @import {ConstructName, Unsafe} from 'mdast-util-to-markdown'
|
|
2029
2032
|
*/
|
|
@@ -2049,7 +2052,7 @@ function listInScope(stack, list, none) {
|
|
|
2049
2052
|
return false;
|
|
2050
2053
|
}
|
|
2051
2054
|
//#endregion
|
|
2052
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2055
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/break.js
|
|
2053
2056
|
/**
|
|
2054
2057
|
* @import {Break, Parents} from 'mdast'
|
|
2055
2058
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
@@ -2095,7 +2098,7 @@ function longestStreak(value, substring) {
|
|
|
2095
2098
|
return max;
|
|
2096
2099
|
}
|
|
2097
2100
|
//#endregion
|
|
2098
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2101
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js
|
|
2099
2102
|
/**
|
|
2100
2103
|
* @import {State} from 'mdast-util-to-markdown'
|
|
2101
2104
|
* @import {Code} from 'mdast'
|
|
@@ -2109,7 +2112,7 @@ function formatCodeAsIndented(node, state) {
|
|
|
2109
2112
|
return Boolean(state.options.fences === false && node.value && !node.lang && /[^ \r\n]/.test(node.value) && !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(node.value));
|
|
2110
2113
|
}
|
|
2111
2114
|
//#endregion
|
|
2112
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2115
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/check-fence.js
|
|
2113
2116
|
/**
|
|
2114
2117
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
2115
2118
|
*/
|
|
@@ -2123,7 +2126,7 @@ function checkFence(state) {
|
|
|
2123
2126
|
return marker;
|
|
2124
2127
|
}
|
|
2125
2128
|
//#endregion
|
|
2126
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2129
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/code.js
|
|
2127
2130
|
/**
|
|
2128
2131
|
* @import {Info, Map, State} from 'mdast-util-to-markdown'
|
|
2129
2132
|
* @import {Code, Parents} from 'mdast'
|
|
@@ -2181,7 +2184,7 @@ function map(line, _, blank) {
|
|
|
2181
2184
|
return (blank ? "" : " ") + line;
|
|
2182
2185
|
}
|
|
2183
2186
|
//#endregion
|
|
2184
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2187
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/check-quote.js
|
|
2185
2188
|
/**
|
|
2186
2189
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
2187
2190
|
*/
|
|
@@ -2195,7 +2198,7 @@ function checkQuote(state) {
|
|
|
2195
2198
|
return marker;
|
|
2196
2199
|
}
|
|
2197
2200
|
//#endregion
|
|
2198
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2201
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/definition.js
|
|
2199
2202
|
/**
|
|
2200
2203
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
2201
2204
|
* @import {Definition, Parents} from 'mdast'
|
|
@@ -2254,7 +2257,7 @@ function definition$1(node, _, state, info) {
|
|
|
2254
2257
|
return value;
|
|
2255
2258
|
}
|
|
2256
2259
|
//#endregion
|
|
2257
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2260
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
|
|
2258
2261
|
/**
|
|
2259
2262
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
2260
2263
|
*/
|
|
@@ -2268,7 +2271,7 @@ function checkEmphasis(state) {
|
|
|
2268
2271
|
return marker;
|
|
2269
2272
|
}
|
|
2270
2273
|
//#endregion
|
|
2271
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2274
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
|
|
2272
2275
|
/**
|
|
2273
2276
|
* Encode a code point as a character reference.
|
|
2274
2277
|
*
|
|
@@ -2304,7 +2307,7 @@ function classifyCharacter(code) {
|
|
|
2304
2307
|
if (unicodePunctuation(code)) return 2;
|
|
2305
2308
|
}
|
|
2306
2309
|
//#endregion
|
|
2307
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2310
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/encode-info.js
|
|
2308
2311
|
/**
|
|
2309
2312
|
* @import {EncodeSides} from '../types.js'
|
|
2310
2313
|
*/
|
|
@@ -2376,7 +2379,7 @@ function encodeInfo(outside, inside, marker) {
|
|
|
2376
2379
|
};
|
|
2377
2380
|
}
|
|
2378
2381
|
//#endregion
|
|
2379
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2382
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
|
|
2380
2383
|
/**
|
|
2381
2384
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
2382
2385
|
* @import {Emphasis, Parents} from 'mdast'
|
|
@@ -2708,7 +2711,7 @@ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
|
|
|
2708
2711
|
}
|
|
2709
2712
|
}
|
|
2710
2713
|
//#endregion
|
|
2711
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2714
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js
|
|
2712
2715
|
/**
|
|
2713
2716
|
* @import {State} from 'mdast-util-to-markdown'
|
|
2714
2717
|
* @import {Heading} from 'mdast'
|
|
@@ -2729,7 +2732,7 @@ function formatHeadingAsSetext(node, state) {
|
|
|
2729
2732
|
return Boolean((!node.depth || node.depth < 3) && toString(node) && (state.options.setext || literalWithBreak));
|
|
2730
2733
|
}
|
|
2731
2734
|
//#endregion
|
|
2732
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2735
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/heading.js
|
|
2733
2736
|
/**
|
|
2734
2737
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
2735
2738
|
* @import {Heading, Parents} from 'mdast'
|
|
@@ -2773,7 +2776,7 @@ function heading(node, _, state, info) {
|
|
|
2773
2776
|
return value;
|
|
2774
2777
|
}
|
|
2775
2778
|
//#endregion
|
|
2776
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2779
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
2777
2780
|
/**
|
|
2778
2781
|
* @import {Html} from 'mdast'
|
|
2779
2782
|
*/
|
|
@@ -2792,7 +2795,7 @@ function htmlPeek() {
|
|
|
2792
2795
|
return "<";
|
|
2793
2796
|
}
|
|
2794
2797
|
//#endregion
|
|
2795
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2798
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/image.js
|
|
2796
2799
|
/**
|
|
2797
2800
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
2798
2801
|
* @import {Image, Parents} from 'mdast'
|
|
@@ -2859,7 +2862,7 @@ function imagePeek() {
|
|
|
2859
2862
|
return "!";
|
|
2860
2863
|
}
|
|
2861
2864
|
//#endregion
|
|
2862
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2865
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
|
|
2863
2866
|
/**
|
|
2864
2867
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
2865
2868
|
* @import {ImageReference, Parents} from 'mdast'
|
|
@@ -2908,7 +2911,7 @@ function imageReferencePeek() {
|
|
|
2908
2911
|
return "!";
|
|
2909
2912
|
}
|
|
2910
2913
|
//#endregion
|
|
2911
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2914
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
|
|
2912
2915
|
/**
|
|
2913
2916
|
* @import {State} from 'mdast-util-to-markdown'
|
|
2914
2917
|
* @import {InlineCode, Parents} from 'mdast'
|
|
@@ -2947,7 +2950,7 @@ function inlineCodePeek() {
|
|
|
2947
2950
|
return "`";
|
|
2948
2951
|
}
|
|
2949
2952
|
//#endregion
|
|
2950
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2953
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
|
|
2951
2954
|
/**
|
|
2952
2955
|
* @import {State} from 'mdast-util-to-markdown'
|
|
2953
2956
|
* @import {Link} from 'mdast'
|
|
@@ -2962,7 +2965,7 @@ function formatLinkAsAutolink(node, state) {
|
|
|
2962
2965
|
return Boolean(!state.options.resourceLink && node.url && !node.title && node.children && node.children.length === 1 && node.children[0].type === "text" && (raw === node.url || "mailto:" + raw === node.url) && /^[a-z][a-z+.-]+:/i.test(node.url) && !/[\0- <>\u007F]/.test(node.url));
|
|
2963
2966
|
}
|
|
2964
2967
|
//#endregion
|
|
2965
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
2968
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/link.js
|
|
2966
2969
|
/**
|
|
2967
2970
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
2968
2971
|
* @import {Link, Parents} from 'mdast'
|
|
@@ -3052,7 +3055,7 @@ function linkPeek(node, _, state) {
|
|
|
3052
3055
|
return formatLinkAsAutolink(node, state) ? "<" : "[";
|
|
3053
3056
|
}
|
|
3054
3057
|
//#endregion
|
|
3055
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3058
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
|
|
3056
3059
|
/**
|
|
3057
3060
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
3058
3061
|
* @import {LinkReference, Parents} from 'mdast'
|
|
@@ -3101,7 +3104,7 @@ function linkReferencePeek() {
|
|
|
3101
3104
|
return "[";
|
|
3102
3105
|
}
|
|
3103
3106
|
//#endregion
|
|
3104
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3107
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js
|
|
3105
3108
|
/**
|
|
3106
3109
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3107
3110
|
*/
|
|
@@ -3115,7 +3118,7 @@ function checkBullet(state) {
|
|
|
3115
3118
|
return marker;
|
|
3116
3119
|
}
|
|
3117
3120
|
//#endregion
|
|
3118
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3121
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js
|
|
3119
3122
|
/**
|
|
3120
3123
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3121
3124
|
*/
|
|
@@ -3132,7 +3135,7 @@ function checkBulletOther(state) {
|
|
|
3132
3135
|
return bulletOther;
|
|
3133
3136
|
}
|
|
3134
3137
|
//#endregion
|
|
3135
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3138
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js
|
|
3136
3139
|
/**
|
|
3137
3140
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3138
3141
|
*/
|
|
@@ -3146,7 +3149,7 @@ function checkBulletOrdered(state) {
|
|
|
3146
3149
|
return marker;
|
|
3147
3150
|
}
|
|
3148
3151
|
//#endregion
|
|
3149
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3152
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/check-rule.js
|
|
3150
3153
|
/**
|
|
3151
3154
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3152
3155
|
*/
|
|
@@ -3160,7 +3163,7 @@ function checkRule(state) {
|
|
|
3160
3163
|
return marker;
|
|
3161
3164
|
}
|
|
3162
3165
|
//#endregion
|
|
3163
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3166
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/list.js
|
|
3164
3167
|
/**
|
|
3165
3168
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
3166
3169
|
* @import {List, Parents} from 'mdast'
|
|
@@ -3203,7 +3206,7 @@ function list$1(node, parent, state, info) {
|
|
|
3203
3206
|
return value;
|
|
3204
3207
|
}
|
|
3205
3208
|
//#endregion
|
|
3206
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3209
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js
|
|
3207
3210
|
/**
|
|
3208
3211
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3209
3212
|
*/
|
|
@@ -3217,7 +3220,7 @@ function checkListItemIndent(state) {
|
|
|
3217
3220
|
return style;
|
|
3218
3221
|
}
|
|
3219
3222
|
//#endregion
|
|
3220
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3223
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/list-item.js
|
|
3221
3224
|
/**
|
|
3222
3225
|
* @import {Info, Map, State} from 'mdast-util-to-markdown'
|
|
3223
3226
|
* @import {ListItem, Parents} from 'mdast'
|
|
@@ -3249,7 +3252,7 @@ function listItem(node, parent, state, info) {
|
|
|
3249
3252
|
}
|
|
3250
3253
|
}
|
|
3251
3254
|
//#endregion
|
|
3252
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3255
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
|
|
3253
3256
|
/**
|
|
3254
3257
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
3255
3258
|
* @import {Paragraph, Parents} from 'mdast'
|
|
@@ -3304,7 +3307,7 @@ const phrasing = convert([
|
|
|
3304
3307
|
"textDirective"
|
|
3305
3308
|
]);
|
|
3306
3309
|
//#endregion
|
|
3307
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3310
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/root.js
|
|
3308
3311
|
/**
|
|
3309
3312
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
3310
3313
|
* @import {Parents, Root} from 'mdast'
|
|
@@ -3322,7 +3325,7 @@ function root(node, _, state, info) {
|
|
|
3322
3325
|
}) ? state.containerPhrasing : state.containerFlow).call(state, node, info);
|
|
3323
3326
|
}
|
|
3324
3327
|
//#endregion
|
|
3325
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3328
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/check-strong.js
|
|
3326
3329
|
/**
|
|
3327
3330
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3328
3331
|
*/
|
|
@@ -3336,7 +3339,7 @@ function checkStrong(state) {
|
|
|
3336
3339
|
return marker;
|
|
3337
3340
|
}
|
|
3338
3341
|
//#endregion
|
|
3339
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3342
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/strong.js
|
|
3340
3343
|
/**
|
|
3341
3344
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
3342
3345
|
* @import {Parents, Strong} from 'mdast'
|
|
@@ -3383,7 +3386,7 @@ function strongPeek(_, _1, state) {
|
|
|
3383
3386
|
return state.options.strong || "*";
|
|
3384
3387
|
}
|
|
3385
3388
|
//#endregion
|
|
3386
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3389
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/text.js
|
|
3387
3390
|
/**
|
|
3388
3391
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
3389
3392
|
* @import {Parents, Text} from 'mdast'
|
|
@@ -3399,7 +3402,7 @@ function text$4(node, _, state, info) {
|
|
|
3399
3402
|
return state.safe(node.value, info);
|
|
3400
3403
|
}
|
|
3401
3404
|
//#endregion
|
|
3402
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3405
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js
|
|
3403
3406
|
/**
|
|
3404
3407
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3405
3408
|
*/
|
|
@@ -3413,7 +3416,7 @@ function checkRuleRepetition(state) {
|
|
|
3413
3416
|
return repetition;
|
|
3414
3417
|
}
|
|
3415
3418
|
//#endregion
|
|
3416
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3419
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
|
|
3417
3420
|
/**
|
|
3418
3421
|
* @import {State} from 'mdast-util-to-markdown'
|
|
3419
3422
|
* @import {Parents, ThematicBreak} from 'mdast'
|
|
@@ -3429,7 +3432,7 @@ function thematicBreak$1(_, _1, state) {
|
|
|
3429
3432
|
return state.options.ruleSpaces ? value.slice(0, -1) : value;
|
|
3430
3433
|
}
|
|
3431
3434
|
//#endregion
|
|
3432
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3435
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/handle/index.js
|
|
3433
3436
|
/**
|
|
3434
3437
|
* Default (CommonMark) handlers.
|
|
3435
3438
|
*/
|
|
@@ -3456,7 +3459,7 @@ const handle = {
|
|
|
3456
3459
|
thematicBreak: thematicBreak$1
|
|
3457
3460
|
};
|
|
3458
3461
|
//#endregion
|
|
3459
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3462
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/join.js
|
|
3460
3463
|
/**
|
|
3461
3464
|
* @import {Join} from 'mdast-util-to-markdown'
|
|
3462
3465
|
*/
|
|
@@ -3471,7 +3474,7 @@ function joinDefaults(left, right, parent, state) {
|
|
|
3471
3474
|
}
|
|
3472
3475
|
}
|
|
3473
3476
|
//#endregion
|
|
3474
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
3477
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/unsafe.js
|
|
3475
3478
|
/**
|
|
3476
3479
|
* @import {ConstructName, Unsafe} from 'mdast-util-to-markdown'
|
|
3477
3480
|
*/
|
|
@@ -5827,8 +5830,8 @@ const characterEntities = {
|
|
|
5827
5830
|
zwnj: ""
|
|
5828
5831
|
};
|
|
5829
5832
|
//#endregion
|
|
5830
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/decode-named-character-reference/1.
|
|
5831
|
-
const own$
|
|
5833
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/decode-named-character-reference/1.3.0/960e57696ff78351993465a43535e8192e8f43f733eefeee641c0d88f2c1f516/node_modules/decode-named-character-reference/index.js
|
|
5834
|
+
const own$2 = {}.hasOwnProperty;
|
|
5832
5835
|
/**
|
|
5833
5836
|
* Decode a single character reference (without the `&` or `;`).
|
|
5834
5837
|
* You probably only need this when you’re building parsers yourself that follow
|
|
@@ -5840,8 +5843,8 @@ const own$3 = {}.hasOwnProperty;
|
|
|
5840
5843
|
* @returns {string|false}
|
|
5841
5844
|
* Decoded reference.
|
|
5842
5845
|
*/
|
|
5843
|
-
function decodeNamedCharacterReference
|
|
5844
|
-
return own$
|
|
5846
|
+
function decodeNamedCharacterReference(value) {
|
|
5847
|
+
return own$2.call(characterEntities, value) ? characterEntities[value] : false;
|
|
5845
5848
|
}
|
|
5846
5849
|
//#endregion
|
|
5847
5850
|
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark-util-decode-numeric-character-reference/2.0.2/2f367c0e1b15bf77ce33033a7bf92715227cb1dd04f3a9a248f48df6e3b18ef5/node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
@@ -5865,7 +5868,7 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
5865
5868
|
return String.fromCodePoint(code);
|
|
5866
5869
|
}
|
|
5867
5870
|
//#endregion
|
|
5868
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark-util-decode-string/2.0.1/
|
|
5871
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark-util-decode-string/2.0.1/41338bd8900bae35a1562df2eead2f8e2bae1fe288b45aeb7b1bda00ba32c898/node_modules/micromark-util-decode-string/index.js
|
|
5869
5872
|
const characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
5870
5873
|
/**
|
|
5871
5874
|
* Decode markdown strings (which occur in places such as fenced code info
|
|
@@ -5899,10 +5902,10 @@ function decode($0, $1, $2) {
|
|
|
5899
5902
|
const hex = head === 120 || head === 88;
|
|
5900
5903
|
return decodeNumericCharacterReference($2.slice(hex ? 2 : 1), hex ? 16 : 10);
|
|
5901
5904
|
}
|
|
5902
|
-
return decodeNamedCharacterReference
|
|
5905
|
+
return decodeNamedCharacterReference($2) || $0;
|
|
5903
5906
|
}
|
|
5904
5907
|
//#endregion
|
|
5905
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
5908
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/association.js
|
|
5906
5909
|
/**
|
|
5907
5910
|
* @import {AssociationId} from '../types.js'
|
|
5908
5911
|
*/
|
|
@@ -5931,7 +5934,7 @@ function association(node) {
|
|
|
5931
5934
|
return decodeString(node.identifier);
|
|
5932
5935
|
}
|
|
5933
5936
|
//#endregion
|
|
5934
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
5937
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js
|
|
5935
5938
|
/**
|
|
5936
5939
|
* @import {CompilePattern} from '../types.js'
|
|
5937
5940
|
*/
|
|
@@ -5946,7 +5949,7 @@ function compilePattern(pattern) {
|
|
|
5946
5949
|
return pattern._compiled;
|
|
5947
5950
|
}
|
|
5948
5951
|
//#endregion
|
|
5949
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
5952
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js
|
|
5950
5953
|
/**
|
|
5951
5954
|
* @import {Handle, Info, State} from 'mdast-util-to-markdown'
|
|
5952
5955
|
* @import {PhrasingParents} from '../types.js'
|
|
@@ -6019,7 +6022,7 @@ function containerPhrasing(parent, state, info) {
|
|
|
6019
6022
|
return results.join("");
|
|
6020
6023
|
}
|
|
6021
6024
|
//#endregion
|
|
6022
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
6025
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/container-flow.js
|
|
6023
6026
|
/**
|
|
6024
6027
|
* @import {State} from 'mdast-util-to-markdown'
|
|
6025
6028
|
* @import {FlowChildren, FlowParents, TrackFields} from '../types.js'
|
|
@@ -6074,7 +6077,7 @@ function between(left, right, parent, state) {
|
|
|
6074
6077
|
return "\n\n";
|
|
6075
6078
|
}
|
|
6076
6079
|
//#endregion
|
|
6077
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
6080
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js
|
|
6078
6081
|
/**
|
|
6079
6082
|
* @import {IndentLines} from '../types.js'
|
|
6080
6083
|
*/
|
|
@@ -6105,7 +6108,7 @@ function indentLines(value, map) {
|
|
|
6105
6108
|
}
|
|
6106
6109
|
}
|
|
6107
6110
|
//#endregion
|
|
6108
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
6111
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/safe.js
|
|
6109
6112
|
/**
|
|
6110
6113
|
* @import {SafeConfig, State} from 'mdast-util-to-markdown'
|
|
6111
6114
|
*/
|
|
@@ -6218,7 +6221,7 @@ function escapeBackslashes(value, after) {
|
|
|
6218
6221
|
return results.join("");
|
|
6219
6222
|
}
|
|
6220
6223
|
//#endregion
|
|
6221
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
6224
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/util/track.js
|
|
6222
6225
|
/**
|
|
6223
6226
|
* @import {CreateTracker, TrackCurrent, TrackMove, TrackShift} from '../types.js'
|
|
6224
6227
|
*/
|
|
@@ -6276,7 +6279,7 @@ function track(config) {
|
|
|
6276
6279
|
}
|
|
6277
6280
|
}
|
|
6278
6281
|
//#endregion
|
|
6279
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/
|
|
6282
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-markdown/2.1.2/bf6627bebb2b304f751c9c5e7d9b2000845c3a65bcdc58c5070d516b6bbcc50c/node_modules/mdast-util-to-markdown/lib/index.js
|
|
6280
6283
|
/**
|
|
6281
6284
|
* @import {Info, Join, Options, SafeConfig, State} from 'mdast-util-to-markdown'
|
|
6282
6285
|
* @import {Nodes} from 'mdast'
|
|
@@ -6424,7 +6427,7 @@ function safeBound(value, config) {
|
|
|
6424
6427
|
return safe(this, value, config);
|
|
6425
6428
|
}
|
|
6426
6429
|
//#endregion
|
|
6427
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-gfm-table/2.0.0/
|
|
6430
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-gfm-table/2.0.0/0379eaac079f0f7f92767d3a5f169e8f8c4fbc29bf8c6c96f21e046abe7edbc6/node_modules/mdast-util-gfm-table/lib/index.js
|
|
6428
6431
|
/**
|
|
6429
6432
|
* @typedef {import('mdast').InlineCode} InlineCode
|
|
6430
6433
|
* @typedef {import('mdast').Table} Table
|
|
@@ -6688,7 +6691,7 @@ function gfmTableToMarkdown(options) {
|
|
|
6688
6691
|
}
|
|
6689
6692
|
}
|
|
6690
6693
|
//#endregion
|
|
6691
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-gfm-task-list-item/2.0.0/
|
|
6694
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-gfm-task-list-item/2.0.0/3daa84bb7255d07dd14be37128c0b2493517ccc532c5a14ffc3ed1c3514145de/node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
6692
6695
|
/**
|
|
6693
6696
|
* @typedef {import('mdast').ListItem} ListItem
|
|
6694
6697
|
* @typedef {import('mdast').Paragraph} Paragraph
|
|
@@ -6798,7 +6801,7 @@ function listItemWithTaskListItem(node, parent, state, info) {
|
|
|
6798
6801
|
}
|
|
6799
6802
|
}
|
|
6800
6803
|
//#endregion
|
|
6801
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-gfm/3.1.0/
|
|
6804
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-gfm/3.1.0/6671236e549ed50030785ec8bbf7110ea4085c11d42ed60381d0c68175876b1c/node_modules/mdast-util-gfm/lib/index.js
|
|
6802
6805
|
/**
|
|
6803
6806
|
* @import {Extension as FromMarkdownExtension} from 'mdast-util-from-markdown'
|
|
6804
6807
|
* @import {Options} from 'mdast-util-gfm'
|
|
@@ -8447,23 +8450,6 @@ function tokenizeCharacterEscape(effects, ok, nok) {
|
|
|
8447
8450
|
}
|
|
8448
8451
|
}
|
|
8449
8452
|
//#endregion
|
|
8450
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/decode-named-character-reference/1.3.0/960e57696ff78351993465a43535e8192e8f43f733eefeee641c0d88f2c1f516/node_modules/decode-named-character-reference/index.js
|
|
8451
|
-
const own$2 = {}.hasOwnProperty;
|
|
8452
|
-
/**
|
|
8453
|
-
* Decode a single character reference (without the `&` or `;`).
|
|
8454
|
-
* You probably only need this when you’re building parsers yourself that follow
|
|
8455
|
-
* different rules compared to HTML.
|
|
8456
|
-
* This is optimized to be tiny in browsers.
|
|
8457
|
-
*
|
|
8458
|
-
* @param {string} value
|
|
8459
|
-
* `notin` (named), `#123` (deci), `#x123` (hexa).
|
|
8460
|
-
* @returns {string|false}
|
|
8461
|
-
* Decoded reference.
|
|
8462
|
-
*/
|
|
8463
|
-
function decodeNamedCharacterReference(value) {
|
|
8464
|
-
return own$2.call(characterEntities, value) ? characterEntities[value] : false;
|
|
8465
|
-
}
|
|
8466
|
-
//#endregion
|
|
8467
8453
|
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark-core-commonmark/2.0.3/a1b4dd720a345ea7669bd6eac1b98d97da85d9a8fd797edbe457df3db914e918/node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
8468
8454
|
/**
|
|
8469
8455
|
* @import {
|
|
@@ -10123,7 +10109,9 @@ function factoryLabel(effects, ok, nok, type, markerType, stringType) {
|
|
|
10123
10109
|
* @type {State}
|
|
10124
10110
|
*/
|
|
10125
10111
|
function atBreak(code) {
|
|
10126
|
-
if (size > 999 || code === null || code === 91 || code === 93 && !seen ||
|
|
10112
|
+
if (size > 999 || code === null || code === 91 || code === 93 && !seen ||
|
|
10113
|
+
/* c8 ignore next 3 */
|
|
10114
|
+
code === 94 && !size && "_hiddenFootnoteSupport" in self.parser.constructs) return nok(code);
|
|
10127
10115
|
if (code === 93) {
|
|
10128
10116
|
effects.exit(stringType);
|
|
10129
10117
|
effects.enter(markerType);
|
|
@@ -14601,19 +14589,21 @@ function resolveTable(events, context) {
|
|
|
14601
14589
|
}
|
|
14602
14590
|
cell[2] = index;
|
|
14603
14591
|
}
|
|
14604
|
-
} else if (token.type === "tableCellDivider")
|
|
14605
|
-
|
|
14606
|
-
|
|
14607
|
-
|
|
14608
|
-
|
|
14592
|
+
} else if (token.type === "tableCellDivider") {
|
|
14593
|
+
if (inFirstCellAwaitingPipe) inFirstCellAwaitingPipe = false;
|
|
14594
|
+
else {
|
|
14595
|
+
if (lastCell[1] !== 0) {
|
|
14596
|
+
cell[0] = cell[1];
|
|
14597
|
+
currentCell = flushCell(map, context, lastCell, rowKind, void 0, currentCell);
|
|
14598
|
+
}
|
|
14599
|
+
lastCell = cell;
|
|
14600
|
+
cell = [
|
|
14601
|
+
lastCell[1],
|
|
14602
|
+
index,
|
|
14603
|
+
0,
|
|
14604
|
+
0
|
|
14605
|
+
];
|
|
14609
14606
|
}
|
|
14610
|
-
lastCell = cell;
|
|
14611
|
-
cell = [
|
|
14612
|
-
lastCell[1],
|
|
14613
|
-
index,
|
|
14614
|
-
0,
|
|
14615
|
-
0
|
|
14616
|
-
];
|
|
14617
14607
|
}
|
|
14618
14608
|
} else if (token.type === "tableHead") {
|
|
14619
14609
|
afterHeadAwaitingFirstBodyRow = true;
|
|
@@ -14899,7 +14889,7 @@ function gfm(options) {
|
|
|
14899
14889
|
]);
|
|
14900
14890
|
}
|
|
14901
14891
|
//#endregion
|
|
14902
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/remark-gfm/4.0.1/
|
|
14892
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/remark-gfm/4.0.1/192ef50cfaaba8c1e63f0a1f0e027cf7dd6f3be3ce8244eae39d36a9b4be96ea/node_modules/remark-gfm/lib/index.js
|
|
14903
14893
|
/**
|
|
14904
14894
|
* @import {Root} from 'mdast'
|
|
14905
14895
|
* @import {Options} from 'remark-gfm'
|
|
@@ -14930,7 +14920,7 @@ function remarkGfm(options) {
|
|
|
14930
14920
|
toMarkdownExtensions.push(gfmToMarkdown(settings));
|
|
14931
14921
|
}
|
|
14932
14922
|
//#endregion
|
|
14933
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/
|
|
14923
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/faefea3dfb6a624bea0f454d19281890d0c87fa3a34525956ee0e405495ae7b9/node_modules/micromark/lib/initialize/content.js
|
|
14934
14924
|
/**
|
|
14935
14925
|
* @import {
|
|
14936
14926
|
* InitialConstruct,
|
|
@@ -14997,7 +14987,7 @@ function initializeContent(effects) {
|
|
|
14997
14987
|
}
|
|
14998
14988
|
}
|
|
14999
14989
|
//#endregion
|
|
15000
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/
|
|
14990
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/faefea3dfb6a624bea0f454d19281890d0c87fa3a34525956ee0e405495ae7b9/node_modules/micromark/lib/initialize/document.js
|
|
15001
14991
|
/**
|
|
15002
14992
|
* @import {
|
|
15003
14993
|
* Construct,
|
|
@@ -15213,7 +15203,7 @@ function tokenizeContainer(effects, ok, nok) {
|
|
|
15213
15203
|
return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
15214
15204
|
}
|
|
15215
15205
|
//#endregion
|
|
15216
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/
|
|
15206
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/faefea3dfb6a624bea0f454d19281890d0c87fa3a34525956ee0e405495ae7b9/node_modules/micromark/lib/initialize/flow.js
|
|
15217
15207
|
/**
|
|
15218
15208
|
* @import {
|
|
15219
15209
|
* InitialConstruct,
|
|
@@ -15260,7 +15250,7 @@ function initializeFlow(effects) {
|
|
|
15260
15250
|
}
|
|
15261
15251
|
}
|
|
15262
15252
|
//#endregion
|
|
15263
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/
|
|
15253
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/faefea3dfb6a624bea0f454d19281890d0c87fa3a34525956ee0e405495ae7b9/node_modules/micromark/lib/initialize/text.js
|
|
15264
15254
|
/**
|
|
15265
15255
|
* @import {
|
|
15266
15256
|
* Code,
|
|
@@ -15437,7 +15427,7 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
15437
15427
|
return events;
|
|
15438
15428
|
}
|
|
15439
15429
|
//#endregion
|
|
15440
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/
|
|
15430
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/faefea3dfb6a624bea0f454d19281890d0c87fa3a34525956ee0e405495ae7b9/node_modules/micromark/lib/constructs.js
|
|
15441
15431
|
/**
|
|
15442
15432
|
* @import {Extension} from 'micromark-util-types'
|
|
15443
15433
|
*/
|
|
@@ -15515,7 +15505,7 @@ const attentionMarkers = { null: [42, 95] };
|
|
|
15515
15505
|
/** @satisfies {Extension['disable']} */
|
|
15516
15506
|
const disable = { null: [] };
|
|
15517
15507
|
//#endregion
|
|
15518
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/
|
|
15508
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/faefea3dfb6a624bea0f454d19281890d0c87fa3a34525956ee0e405495ae7b9/node_modules/micromark/lib/create-tokenizer.js
|
|
15519
15509
|
/**
|
|
15520
15510
|
* @import {
|
|
15521
15511
|
* Chunk,
|
|
@@ -15984,7 +15974,7 @@ function serializeChunks(chunks, expandTabs) {
|
|
|
15984
15974
|
return result.join("");
|
|
15985
15975
|
}
|
|
15986
15976
|
//#endregion
|
|
15987
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/
|
|
15977
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/faefea3dfb6a624bea0f454d19281890d0c87fa3a34525956ee0e405495ae7b9/node_modules/micromark/lib/parse.js
|
|
15988
15978
|
/**
|
|
15989
15979
|
* @import {
|
|
15990
15980
|
* Create,
|
|
@@ -16028,7 +16018,7 @@ function parse(options) {
|
|
|
16028
16018
|
}
|
|
16029
16019
|
}
|
|
16030
16020
|
//#endregion
|
|
16031
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/
|
|
16021
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/faefea3dfb6a624bea0f454d19281890d0c87fa3a34525956ee0e405495ae7b9/node_modules/micromark/lib/postprocess.js
|
|
16032
16022
|
/**
|
|
16033
16023
|
* @import {Event} from 'micromark-util-types'
|
|
16034
16024
|
*/
|
|
@@ -16043,7 +16033,7 @@ function postprocess(events) {
|
|
|
16043
16033
|
return events;
|
|
16044
16034
|
}
|
|
16045
16035
|
//#endregion
|
|
16046
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/
|
|
16036
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/micromark/4.0.2/faefea3dfb6a624bea0f454d19281890d0c87fa3a34525956ee0e405495ae7b9/node_modules/micromark/lib/preprocess.js
|
|
16047
16037
|
/**
|
|
16048
16038
|
* @import {Chunk, Code, Encoding, Value} from 'micromark-util-types'
|
|
16049
16039
|
*/
|
|
@@ -16208,7 +16198,7 @@ function index(value) {
|
|
|
16208
16198
|
return value && typeof value === "number" ? value : 1;
|
|
16209
16199
|
}
|
|
16210
16200
|
//#endregion
|
|
16211
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-from-markdown/2.0.
|
|
16201
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-from-markdown/2.0.3/e800cc5d2e9abebaac197a6ea5f8903bdcaa4a7369558d96112c2893030b90e0/node_modules/mdast-util-from-markdown/lib/index.js
|
|
16212
16202
|
/**
|
|
16213
16203
|
* @import {
|
|
16214
16204
|
* Break,
|
|
@@ -16274,7 +16264,7 @@ const own$1 = {}.hasOwnProperty;
|
|
|
16274
16264
|
* mdast tree.
|
|
16275
16265
|
*/
|
|
16276
16266
|
function fromMarkdown(value, encoding, options) {
|
|
16277
|
-
if (typeof encoding
|
|
16267
|
+
if (encoding && typeof encoding === "object") {
|
|
16278
16268
|
options = encoding;
|
|
16279
16269
|
encoding = void 0;
|
|
16280
16270
|
}
|
|
@@ -16423,8 +16413,10 @@ function compiler(options) {
|
|
|
16423
16413
|
/** @type {Array<number>} */
|
|
16424
16414
|
const listStack = [];
|
|
16425
16415
|
let index = -1;
|
|
16426
|
-
while (++index < events.length) if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered")
|
|
16427
|
-
|
|
16416
|
+
while (++index < events.length) if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered") {
|
|
16417
|
+
if (events[index][0] === "enter") listStack.push(index);
|
|
16418
|
+
else index = prepareList(events, listStack.pop(), index);
|
|
16419
|
+
}
|
|
16428
16420
|
index = -1;
|
|
16429
16421
|
while (++index < events.length) {
|
|
16430
16422
|
const handler = config[events[index][0]];
|
|
@@ -16614,8 +16606,10 @@ function compiler(options) {
|
|
|
16614
16606
|
start: token.start,
|
|
16615
16607
|
end: token.end
|
|
16616
16608
|
}) + "): it’s not open");
|
|
16617
|
-
else if (open[0].type !== token.type)
|
|
16618
|
-
|
|
16609
|
+
else if (open[0].type !== token.type) {
|
|
16610
|
+
if (onExitError) onExitError.call(this, token, open[0]);
|
|
16611
|
+
else (open[1] || defaultOnError).call(this, token, open[0]);
|
|
16612
|
+
}
|
|
16619
16613
|
node.position.end = point(token.end);
|
|
16620
16614
|
}
|
|
16621
16615
|
/**
|
|
@@ -16946,7 +16940,7 @@ function compiler(options) {
|
|
|
16946
16940
|
if (type) {
|
|
16947
16941
|
value = decodeNumericCharacterReference(data, type === "characterReferenceMarkerNumeric" ? 10 : 16);
|
|
16948
16942
|
this.data.characterReferenceType = void 0;
|
|
16949
|
-
} else value = decodeNamedCharacterReference
|
|
16943
|
+
} else value = decodeNamedCharacterReference(data);
|
|
16950
16944
|
const tail = this.stack[this.stack.length - 1];
|
|
16951
16945
|
tail.value += value;
|
|
16952
16946
|
}
|
|
@@ -17174,7 +17168,7 @@ function defaultOnError(left, right) {
|
|
|
17174
17168
|
}) + ") is still open");
|
|
17175
17169
|
}
|
|
17176
17170
|
//#endregion
|
|
17177
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/remark-parse/11.0.0/
|
|
17171
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/remark-parse/11.0.0/892dde1614e445d10421d6ea4ce34ffd2a5c0ebacb610f672c1dff039bbb9ea0/node_modules/remark-parse/lib/index.js
|
|
17178
17172
|
/**
|
|
17179
17173
|
* @typedef {import('mdast').Root} Root
|
|
17180
17174
|
* @typedef {import('mdast-util-from-markdown').Options} FromMarkdownOptions
|
|
@@ -17209,7 +17203,7 @@ function remarkParse(options) {
|
|
|
17209
17203
|
}
|
|
17210
17204
|
}
|
|
17211
17205
|
//#endregion
|
|
17212
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/remark-stringify/11.0.0/
|
|
17206
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/remark-stringify/11.0.0/3eff3ff07c9f19a1fca1567b32772bb034dba47afef5c0881e44c57fcead4d46/node_modules/remark-stringify/lib/index.js
|
|
17213
17207
|
/**
|
|
17214
17208
|
* @typedef {import('mdast').Root} Root
|
|
17215
17209
|
* @typedef {import('mdast-util-to-markdown').Options} ToMarkdownOptions
|
|
@@ -17466,9 +17460,11 @@ function wrap(middleware, callback) {
|
|
|
17466
17460
|
if (fnExpectsCallback && called) throw exception;
|
|
17467
17461
|
return done(exception);
|
|
17468
17462
|
}
|
|
17469
|
-
if (!fnExpectsCallback)
|
|
17470
|
-
|
|
17471
|
-
|
|
17463
|
+
if (!fnExpectsCallback) {
|
|
17464
|
+
if (result && result.then && typeof result.then === "function") result.then(then, done);
|
|
17465
|
+
else if (result instanceof Error) done(result);
|
|
17466
|
+
else then(result);
|
|
17467
|
+
}
|
|
17472
17468
|
}
|
|
17473
17469
|
/**
|
|
17474
17470
|
* Call `callback`, only once.
|
|
@@ -17580,13 +17576,15 @@ var VFileMessage = class extends Error {
|
|
|
17580
17576
|
/** @type {Options} */
|
|
17581
17577
|
let options = {};
|
|
17582
17578
|
let legacyCause = false;
|
|
17583
|
-
if (optionsOrParentOrPlace)
|
|
17584
|
-
|
|
17585
|
-
|
|
17586
|
-
|
|
17587
|
-
|
|
17588
|
-
|
|
17589
|
-
|
|
17579
|
+
if (optionsOrParentOrPlace) {
|
|
17580
|
+
if ("line" in optionsOrParentOrPlace && "column" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
|
|
17581
|
+
else if ("start" in optionsOrParentOrPlace && "end" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
|
|
17582
|
+
else if ("type" in optionsOrParentOrPlace) options = {
|
|
17583
|
+
ancestors: [optionsOrParentOrPlace],
|
|
17584
|
+
place: optionsOrParentOrPlace.position
|
|
17585
|
+
};
|
|
17586
|
+
else options = { ...optionsOrParentOrPlace };
|
|
17587
|
+
}
|
|
17590
17588
|
if (typeof causeOrReason === "string") reason = causeOrReason;
|
|
17591
17589
|
else if (!options.cause && causeOrReason) {
|
|
17592
17590
|
legacyCause = true;
|
|
@@ -19229,9 +19227,10 @@ const unified = new class Processor extends CallableInstance {
|
|
|
19229
19227
|
const namespace = this.namespace;
|
|
19230
19228
|
assertUnfrozen("use", this.frozen);
|
|
19231
19229
|
if (value === null || value === void 0) {} else if (typeof value === "function") addPlugin(value, parameters);
|
|
19232
|
-
else if (typeof value === "object")
|
|
19233
|
-
|
|
19234
|
-
|
|
19230
|
+
else if (typeof value === "object") {
|
|
19231
|
+
if (Array.isArray(value)) addList(value);
|
|
19232
|
+
else addPreset(value);
|
|
19233
|
+
} else throw new TypeError("Expected usable value, not `" + value + "`");
|
|
19235
19234
|
return this;
|
|
19236
19235
|
/**
|
|
19237
19236
|
* @param {Pluggable} value
|
|
@@ -19239,11 +19238,12 @@ const unified = new class Processor extends CallableInstance {
|
|
|
19239
19238
|
*/
|
|
19240
19239
|
function add(value) {
|
|
19241
19240
|
if (typeof value === "function") addPlugin(value, []);
|
|
19242
|
-
else if (typeof value === "object")
|
|
19243
|
-
|
|
19244
|
-
|
|
19245
|
-
|
|
19246
|
-
|
|
19241
|
+
else if (typeof value === "object") {
|
|
19242
|
+
if (Array.isArray(value)) {
|
|
19243
|
+
const [plugin, ...parameters] = value;
|
|
19244
|
+
addPlugin(plugin, parameters);
|
|
19245
|
+
} else addPreset(value);
|
|
19246
|
+
} else throw new TypeError("Expected usable value, not `" + value + "`");
|
|
19247
19247
|
}
|
|
19248
19248
|
/**
|
|
19249
19249
|
* @param {Preset} result
|
|
@@ -19375,7 +19375,7 @@ function isUint8Array(value) {
|
|
|
19375
19375
|
return Boolean(value && typeof value === "object" && "byteLength" in value && "byteOffset" in value);
|
|
19376
19376
|
}
|
|
19377
19377
|
//#endregion
|
|
19378
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/chat/4.40.0/
|
|
19378
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/chat/4.40.0/6546883c1ae48a7981bc053f5988c070622294f54b8b76bbdf517d89836027cb/node_modules/chat/dist/chunk-VB76CUI4.js
|
|
19379
19379
|
function isListNode(node) {
|
|
19380
19380
|
return node.type === "list";
|
|
19381
19381
|
}
|
|
@@ -20276,7 +20276,7 @@ var vn = (n, r) => {
|
|
|
20276
20276
|
};
|
|
20277
20277
|
var $e = vn;
|
|
20278
20278
|
//#endregion
|
|
20279
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/chat/4.40.0/
|
|
20279
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/chat/4.40.0/6546883c1ae48a7981bc053f5988c070622294f54b8b76bbdf517d89836027cb/node_modules/chat/dist/chunk-BKACWYIW.js
|
|
20280
20280
|
var adapterMap = /* @__PURE__ */ new WeakMap();
|
|
20281
20281
|
var Message = class _Message {
|
|
20282
20282
|
/** Unique message ID */
|
|
@@ -20687,7 +20687,7 @@ function wrapTablesForAppend(text2, closeFences = false) {
|
|
|
20687
20687
|
new AbortController().signal;
|
|
20688
20688
|
new async_hooks.AsyncLocalStorage();
|
|
20689
20689
|
//#endregion
|
|
20690
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/chat/4.40.0/
|
|
20690
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/chat/4.40.0/6546883c1ae48a7981bc053f5988c070622294f54b8b76bbdf517d89836027cb/node_modules/chat/dist/index.js
|
|
20691
20691
|
var emojiRegistry = /* @__PURE__ */ new Map();
|
|
20692
20692
|
function getEmoji(name) {
|
|
20693
20693
|
let emojiValue = emojiRegistry.get(name);
|
|
@@ -21353,7 +21353,7 @@ createEmoji();
|
|
|
21353
21353
|
var cardChildToFallbackText2 = cardChildToFallbackText;
|
|
21354
21354
|
var isCardElement2 = isCardElement;
|
|
21355
21355
|
//#endregion
|
|
21356
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@chat-adapter/shared/4.40.0/
|
|
21356
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@chat-adapter/shared/4.40.0/3eac2f532f3f7d393dc941072006e04ff386f16df74319e92b682460f5460ef8/node_modules/@chat-adapter/shared/dist/index.js
|
|
21357
21357
|
function extractCard(message) {
|
|
21358
21358
|
if (isCardElement2(message)) return message;
|
|
21359
21359
|
if (typeof message === "object" && message !== null && "card" in message) return message.card;
|
|
@@ -21493,7 +21493,7 @@ function blocklist(ranges, family) {
|
|
|
21493
21493
|
blocklist(IPV4, "ipv4");
|
|
21494
21494
|
blocklist(IPV6, "ipv6");
|
|
21495
21495
|
//#endregion
|
|
21496
|
-
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@chat-adapter/telegram/4.40.0/
|
|
21496
|
+
//#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@chat-adapter/telegram/4.40.0/40e0bd155e399cce9da33095830fe606ff74ba3d501dcedb3a5f75b0f9975ce5/node_modules/@chat-adapter/telegram/dist/index.js
|
|
21497
21497
|
var CALLBACK_DATA_PREFIX = "chat:";
|
|
21498
21498
|
var TELEGRAM_CALLBACK_DATA_LIMIT_BYTES = 64;
|
|
21499
21499
|
function convertLabel(label) {
|
|
@@ -22015,14 +22015,11 @@ function media(blocks, result) {
|
|
|
22015
22015
|
width: value.video.width
|
|
22016
22016
|
});
|
|
22017
22017
|
break;
|
|
22018
|
-
case "voice_note":
|
|
22019
|
-
|
|
22020
|
-
|
|
22021
|
-
|
|
22022
|
-
|
|
22023
|
-
});
|
|
22024
|
-
break;
|
|
22025
|
-
default: break;
|
|
22018
|
+
case "voice_note": result.push({
|
|
22019
|
+
file: value.voice_note,
|
|
22020
|
+
mimeType: value.voice_note.mime_type,
|
|
22021
|
+
type: "audio"
|
|
22022
|
+
});
|
|
22026
22023
|
}
|
|
22027
22024
|
}
|
|
22028
22025
|
function richMessageToMarkdown(message) {
|
|
@@ -22037,7 +22034,7 @@ function richMessageMedia(message) {
|
|
|
22037
22034
|
return result;
|
|
22038
22035
|
}
|
|
22039
22036
|
var TELEGRAM_API_BASE = "https://api.telegram.org";
|
|
22040
|
-
var TELEGRAM_FILE_LIMIT =
|
|
22037
|
+
var TELEGRAM_FILE_LIMIT = 26214400;
|
|
22041
22038
|
var TELEGRAM_FILE_TIMEOUT_MS = 3e4;
|
|
22042
22039
|
async function readTelegramFile(response, fileId) {
|
|
22043
22040
|
const declared = Number(response.headers.get("content-length"));
|
|
@@ -22116,7 +22113,7 @@ var TELEGRAM_INCOMING_MEDIA_GROUP_BUFFER_TTL_MS = 3e4;
|
|
|
22116
22113
|
var TELEGRAM_INCOMING_MEDIA_GROUP_LOCK_TTL_MS = 5e3;
|
|
22117
22114
|
var TELEGRAM_INCOMING_MEDIA_GROUP_RETRY_MS = 50;
|
|
22118
22115
|
var TELEGRAM_INCOMING_MEDIA_GROUP_SETTLE_MS = 1e3;
|
|
22119
|
-
var TELEGRAM_WEBHOOK_UPDATE_TTL_MS =
|
|
22116
|
+
var TELEGRAM_WEBHOOK_UPDATE_TTL_MS = 864e5;
|
|
22120
22117
|
var TELEGRAM_MEDIA_GROUP_MIN = 2;
|
|
22121
22118
|
var TELEGRAM_MEDIA_GROUP_MAX = 10;
|
|
22122
22119
|
var TELEGRAM_MARKDOWN_PARSE_ERROR_PATTERN = /can't parse (?:caption )?entities/i;
|
|
@@ -22136,7 +22133,7 @@ var TELEGRAM_DEFAULT_ALLOWED_UPDATES = [
|
|
|
22136
22133
|
"edited_channel_post",
|
|
22137
22134
|
"callback_query"
|
|
22138
22135
|
];
|
|
22139
|
-
var TELEGRAM_BUSINESS_CONNECTION_TTL_MS =
|
|
22136
|
+
var TELEGRAM_BUSINESS_CONNECTION_TTL_MS = 36e5;
|
|
22140
22137
|
function normalizeBotTokenProvider(botToken) {
|
|
22141
22138
|
if (typeof botToken === "function") return async () => await botToken();
|
|
22142
22139
|
return () => Promise.resolve(botToken);
|
|
@@ -22173,10 +22170,7 @@ function applyTelegramEntities(text2, entities) {
|
|
|
22173
22170
|
${entityText}
|
|
22174
22171
|
\`\`\``;
|
|
22175
22172
|
break;
|
|
22176
|
-
case "strikethrough":
|
|
22177
|
-
replacement = `~~${entityText}~~`;
|
|
22178
|
-
break;
|
|
22179
|
-
default: break;
|
|
22173
|
+
case "strikethrough": replacement = `~~${entityText}~~`;
|
|
22180
22174
|
}
|
|
22181
22175
|
if (replacement !== void 0) result = result.slice(0, start) + replacement + result.slice(end);
|
|
22182
22176
|
}
|