@shriyanss/js-recon 1.1.0-beta.1 → 1.1.0-beta.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.
Files changed (120) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
  2. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. package/.github/workflows/{prettier.yaml → build-and-prettify.yaml} +23 -2
  4. package/.github/workflows/npm-publish.yml +2 -2
  5. package/CHANGELOG.md +26 -0
  6. package/README.md +1 -0
  7. package/build/api_gateway/genReq.js +0 -3
  8. package/build/api_gateway/genReq.js.map +1 -1
  9. package/build/api_gateway/index.js +5 -7
  10. package/build/api_gateway/index.js.map +1 -1
  11. package/build/endpoints/gen_report/gen_markdown.js.map +1 -1
  12. package/build/endpoints/index.js.map +1 -1
  13. package/build/endpoints/next_js/client_jsFilesHref.js +1 -0
  14. package/build/endpoints/next_js/client_jsFilesHref.js.map +1 -1
  15. package/build/endpoints/next_js/client_jsonParse.js +5 -1
  16. package/build/endpoints/next_js/client_jsonParse.js.map +1 -1
  17. package/build/endpoints/next_js/client_subsequentRequests.js +2 -1
  18. package/build/endpoints/next_js/client_subsequentRequests.js.map +1 -1
  19. package/build/endpoints/next_js/getWebpacks.js +1 -0
  20. package/build/endpoints/next_js/getWebpacks.js.map +1 -1
  21. package/build/globalConfig.js +1 -1
  22. package/build/lazyLoad/globals.js +0 -3
  23. package/build/lazyLoad/globals.js.map +1 -1
  24. package/build/lazyLoad/index.js +0 -1
  25. package/build/lazyLoad/index.js.map +1 -1
  26. package/build/lazyLoad/next_js/next_GetJSScript.js.map +1 -1
  27. package/build/lazyLoad/next_js/next_GetLazyResources.js +1 -0
  28. package/build/lazyLoad/next_js/next_GetLazyResources.js.map +1 -1
  29. package/build/lazyLoad/next_js/next_SubsequentRequests.js.map +1 -1
  30. package/build/lazyLoad/nuxt_js/nuxt_astParse.js +1 -0
  31. package/build/lazyLoad/nuxt_js/nuxt_astParse.js.map +1 -1
  32. package/build/lazyLoad/nuxt_js/nuxt_stringAnalysisJSFiles.js +1 -0
  33. package/build/lazyLoad/nuxt_js/nuxt_stringAnalysisJSFiles.js.map +1 -1
  34. package/build/lazyLoad/svelte/svelte_stringAnalysisJSFiles.js +1 -0
  35. package/build/lazyLoad/svelte/svelte_stringAnalysisJSFiles.js.map +1 -1
  36. package/build/map/next_js/getFetchInstances.js +5 -1
  37. package/build/map/next_js/getFetchInstances.js.map +1 -1
  38. package/build/map/next_js/getWebpackConnections.js +14 -3
  39. package/build/map/next_js/getWebpackConnections.js.map +1 -1
  40. package/build/map/next_js/interactive.js +4 -3
  41. package/build/map/next_js/interactive.js.map +1 -1
  42. package/build/map/next_js/interactive_helpers/commandHandler.js +179 -138
  43. package/build/map/next_js/interactive_helpers/commandHandler.js.map +1 -1
  44. package/build/map/next_js/interactive_helpers/commandHelpers.js +31 -3
  45. package/build/map/next_js/interactive_helpers/commandHelpers.js.map +1 -1
  46. package/build/map/next_js/interactive_helpers/helpMenu.js +2 -2
  47. package/build/map/next_js/interactive_helpers/helpMenu.js.map +1 -1
  48. package/build/map/next_js/interactive_helpers/printer.js +1 -1
  49. package/build/map/next_js/interactive_helpers/printer.js.map +1 -1
  50. package/build/map/next_js/interactive_helpers/ui.js +0 -1
  51. package/build/map/next_js/interactive_helpers/ui.js.map +1 -1
  52. package/build/map/next_js/resolveFetch.js.map +1 -1
  53. package/build/run/index.js +5 -0
  54. package/build/run/index.js.map +1 -1
  55. package/build/strings/index.js +6 -1
  56. package/build/strings/index.js.map +1 -1
  57. package/build/techDetect/index.js +6 -1
  58. package/build/techDetect/index.js.map +1 -1
  59. package/build/utility/makeReq.js +2 -2
  60. package/build/utility/makeReq.js.map +1 -1
  61. package/docs/CNAME +1 -0
  62. package/docs/interactive-mode.md +1 -0
  63. package/docs/robots.txt +2 -0
  64. package/package.json +2 -1
  65. package/.api_gateway_config.json +0 -1
  66. package/.resp_cache.json +0 -1
  67. package/.vscode/launch.json +0 -27
  68. package/endpoints.json +0 -77
  69. package/extracted_urls-openapi.json +0 -225
  70. package/extracted_urls-swagger.json +0 -225
  71. package/extracted_urls.json +0 -47
  72. package/extracted_urls.txt +0 -296
  73. package/mapped.json +0 -3413
  74. package/output/ss0x00.com/_next/data/k7xKVnxmboK4SktY2dZWt/index.json +0 -971
  75. package/output/ss0x00.com/_next/static/chunks/12.7e6d2ac6e1808fc2.js +0 -247
  76. package/output/ss0x00.com/_next/static/chunks/128.160aa801ef0445bc.js +0 -1074
  77. package/output/ss0x00.com/_next/static/chunks/132.55df84f7707fc278.js +0 -102
  78. package/output/ss0x00.com/_next/static/chunks/142.77038c55d9ec10ba.js +0 -96
  79. package/output/ss0x00.com/_next/static/chunks/215.321479e91d330bfa.js +0 -228
  80. package/output/ss0x00.com/_next/static/chunks/229.097c396d86b4a882.js +0 -458
  81. package/output/ss0x00.com/_next/static/chunks/257.5fd052aa4ef06ef9.js +0 -1327
  82. package/output/ss0x00.com/_next/static/chunks/268.72cb3779f66db70b.js +0 -10520
  83. package/output/ss0x00.com/_next/static/chunks/320.57d528b0e9bf86f0.js +0 -186
  84. package/output/ss0x00.com/_next/static/chunks/325.302a44b604c35f17.js +0 -88
  85. package/output/ss0x00.com/_next/static/chunks/328.e4a0307a4fddf318.js +0 -248
  86. package/output/ss0x00.com/_next/static/chunks/432.3621f17504ef18f2.js +0 -443
  87. package/output/ss0x00.com/_next/static/chunks/44.e90dd963003a3d43.js +0 -1094
  88. package/output/ss0x00.com/_next/static/chunks/442.8c054f100f9e5e50.js +0 -1082
  89. package/output/ss0x00.com/_next/static/chunks/460.f8db9a5142598e2c.js +0 -466
  90. package/output/ss0x00.com/_next/static/chunks/487.05ca55420459c002.js +0 -78
  91. package/output/ss0x00.com/_next/static/chunks/567.1909a6b0a920114b.js +0 -1374
  92. package/output/ss0x00.com/_next/static/chunks/586.802fc9214d87fb29.js +0 -752
  93. package/output/ss0x00.com/_next/static/chunks/620.a2a3a6b94d30a4c8.js +0 -1037
  94. package/output/ss0x00.com/_next/static/chunks/642.6b3e487c9604cbb8.js +0 -1628
  95. package/output/ss0x00.com/_next/static/chunks/673.e5d77887e5c6a68c.js +0 -1045
  96. package/output/ss0x00.com/_next/static/chunks/684.8b8e52baca70524b.js +0 -96
  97. package/output/ss0x00.com/_next/static/chunks/686.79480519e5ccfb77.js +0 -296
  98. package/output/ss0x00.com/_next/static/chunks/756.7a3878a2e6765be7.js +0 -504
  99. package/output/ss0x00.com/_next/static/chunks/761.7bea7516c5d22b2a.js +0 -1485
  100. package/output/ss0x00.com/_next/static/chunks/794.e079ef369b41a3c5.js +0 -1350
  101. package/output/ss0x00.com/_next/static/chunks/826.31ba213e1d023c68.js +0 -1031
  102. package/output/ss0x00.com/_next/static/chunks/847.d8397a73efc81848.js +0 -1068
  103. package/output/ss0x00.com/_next/static/chunks/848.5feaeee1e2624aea.js +0 -132
  104. package/output/ss0x00.com/_next/static/chunks/850.ecc7c3c3d787ee03.js +0 -1472
  105. package/output/ss0x00.com/_next/static/chunks/853.50b9eb60b7d0e83c.js +0 -1472
  106. package/output/ss0x00.com/_next/static/chunks/856.7a7bb6c3c7bfc2ba.js +0 -1320
  107. package/output/ss0x00.com/_next/static/chunks/859.df4bd45c03a65f53.js +0 -1306
  108. package/output/ss0x00.com/_next/static/chunks/867.e8633955a147c978.js +0 -541
  109. package/output/ss0x00.com/_next/static/chunks/921.c3123f20a4c8d53c.js +0 -96
  110. package/output/ss0x00.com/_next/static/chunks/932.25cb421c466c99cb.js +0 -999
  111. package/output/ss0x00.com/_next/static/chunks/framework-64ad27b21261a9ce.js +0 -9189
  112. package/output/ss0x00.com/_next/static/chunks/main-710ab85aa9a8f10d.js +0 -6583
  113. package/output/ss0x00.com/_next/static/chunks/pages/5D-af5a23529ce3c337.js +0 -486
  114. package/output/ss0x00.com/_next/static/chunks/pages/_app-c449865c8af1faa0.js +0 -39
  115. package/output/ss0x00.com/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js +0 -6383
  116. package/output/ss0x00.com/_next/static/chunks/webpack-efff35ee26971294.js +0 -271
  117. package/output/ss0x00.com/_next/static/k7xKVnxmboK4SktY2dZWt/_buildManifest.js +0 -8
  118. package/output/ss0x00.com/_next/static/k7xKVnxmboK4SktY2dZWt/_ssgManifest.js +0 -3
  119. package/output/ss0x00.com/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js +0 -82
  120. package/strings.json +0 -7407
@@ -1,1485 +0,0 @@
1
- // JS Source: https://ss0x00.com/_next/static/chunks/761.7bea7516c5d22b2a.js
2
- (self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
3
- [761, 328],
4
- {
5
- 328: function (e, t, r) {
6
- "use strict";
7
- (r.r(t),
8
- r.d(t, {
9
- default: function () {
10
- return c;
11
- },
12
- }));
13
- var n = r(5893),
14
- l = r(7294),
15
- i = r(3967),
16
- o = r.n(i),
17
- a = r(3491),
18
- s = r(9754);
19
- function c(e) {
20
- var t, r;
21
- let i = l.createRef(),
22
- {
23
- elementId: c,
24
- className: d,
25
- fields: u = [],
26
- submitLabel: p,
27
- styles: f = {},
28
- } = e;
29
- if (0 === u.length) return null;
30
- let m = async (e) => {
31
- e.preventDefault();
32
- let t = new FormData(e.target),
33
- r = {};
34
- t.forEach((e, t) => {
35
- "string" == typeof e && (r[t] = e);
36
- });
37
- let n = await fetch(
38
- "https://m2xbcu4klqprtjl25jyr5bbtpi0lxias.lambda-url.ap-south-1.on.aws/",
39
- {
40
- method: "POST",
41
- headers: { "Content-Type": "application/json" },
42
- body: JSON.stringify(r),
43
- },
44
- ),
45
- l = await n.json();
46
- 200 === n.status
47
- ? alert(l.message)
48
- : alert("Failed to submit form: " + l.error);
49
- };
50
- return (0, n.jsxs)("form", {
51
- className: o()(
52
- "sb-component",
53
- "sb-component-block",
54
- "sb-component-form-block",
55
- d,
56
- ),
57
- name: c,
58
- id: c,
59
- onSubmit: m,
60
- ref: i,
61
- children: [
62
- (0, n.jsxs)("div", {
63
- className: "grid sm:grid-cols-2 sm:gap-x-4",
64
- children: [
65
- (0, n.jsx)("input", {
66
- type: "hidden",
67
- name: "form-name",
68
- value: c,
69
- }),
70
- u.map((e, t) => (0, n.jsx)(a.B, { ...e }, t)),
71
- ],
72
- }),
73
- (0, n.jsx)("div", {
74
- className: o()(
75
- "mt-4",
76
- (
77
- null === (t = f.submitLabel) || void 0 === t
78
- ? void 0
79
- : t.textAlign
80
- )
81
- ? (0, s.G)({
82
- textAlign:
83
- null === (r = f.submitLabel) || void 0 === r
84
- ? void 0
85
- : r.textAlign,
86
- })
87
- : null,
88
- ),
89
- children: (0, n.jsx)("button", {
90
- type: "submit",
91
- className:
92
- "sb-component sb-component-block sb-component-button sb-component-button-primary",
93
- children: p,
94
- }),
95
- }),
96
- ],
97
- });
98
- }
99
- },
100
- 7761: function (e, t, r) {
101
- "use strict";
102
- (r.r(t),
103
- r.d(t, {
104
- default: function () {
105
- return u;
106
- },
107
- }));
108
- var n = r(5893);
109
- r(7294);
110
- var l = r(5576),
111
- i = r(3967),
112
- o = r.n(i),
113
- a = r(3491),
114
- s = r(9754),
115
- c = r(6319),
116
- d = r(328);
117
- function u(e) {
118
- var t, r, l, i;
119
- let {
120
- type: a,
121
- elementId: u,
122
- colors: m,
123
- backgroundSize: h,
124
- title: g,
125
- text: y,
126
- form: x,
127
- media: b,
128
- styles: v = {},
129
- } = e,
130
- k =
131
- null !==
132
- (l =
133
- null === (t = v.self) || void 0 === t
134
- ? void 0
135
- : t.flexDirection) && void 0 !== l
136
- ? l
137
- : "row",
138
- j =
139
- null !==
140
- (i =
141
- null === (r = v.self) || void 0 === r
142
- ? void 0
143
- : r.alignItems) && void 0 !== i
144
- ? i
145
- : "center";
146
- return (0, n.jsx)(c.Z, {
147
- type: a,
148
- elementId: u,
149
- colors: m,
150
- backgroundSize: h,
151
- styles: v.self,
152
- children: (0, n.jsxs)("div", {
153
- className: o()(
154
- "flex",
155
- (function (e) {
156
- switch (e) {
157
- case "row":
158
- return ["flex-col", "lg:flex-row"];
159
- case "row-reverse":
160
- return ["flex-col-reverse", "lg:flex-row-reverse"];
161
- case "col":
162
- return ["flex-col"];
163
- case "col-reverse":
164
- return ["flex-col-reverse"];
165
- default:
166
- return null;
167
- }
168
- })(k),
169
- (0, s.G)({ alignItems: j }),
170
- "space-y-8",
171
- {
172
- "lg:space-y-0 lg:space-x-8": "row" === k,
173
- "space-y-reverse lg:space-y-0 lg:space-x-8 lg:space-x-reverse":
174
- "row-reverse" === k,
175
- "space-y-reverse": "col-reverse" === k,
176
- },
177
- ),
178
- children: [
179
- (0, n.jsxs)("div", {
180
- className: "flex-1 w-full",
181
- children: [
182
- (0, n.jsx)(f, { title: g, text: y, styles: v }),
183
- x &&
184
- (0, n.jsx)("div", {
185
- className: o()("sb-contact-section-form", {
186
- "mt-12": g || y,
187
- }),
188
- children: (0, n.jsx)(d.default, {
189
- ...x,
190
- className: "inline-block w-full",
191
- }),
192
- }),
193
- ],
194
- }),
195
- b &&
196
- (0, n.jsx)("div", {
197
- className: "flex-1 w-full",
198
- children: (0, n.jsx)(p, { media: b }),
199
- }),
200
- ],
201
- }),
202
- });
203
- }
204
- function p(e) {
205
- let { media: t } = e;
206
- return (0, n.jsx)(a.B, { ...t });
207
- }
208
- function f(e) {
209
- var t, r, i, a;
210
- return (0, n.jsxs)(n.Fragment, {
211
- children: [
212
- e.title &&
213
- (0, n.jsx)("h2", {
214
- className: o()(
215
- (null === (t = e.styles) || void 0 === t ? void 0 : t.title)
216
- ? (0, s.G)(
217
- null === (r = e.styles) || void 0 === r
218
- ? void 0
219
- : r.title,
220
- )
221
- : null,
222
- ),
223
- children: e.title,
224
- }),
225
- e.text &&
226
- (0, n.jsx)(l.ZP, {
227
- options: { forceBlock: !0, forceWrapper: !0 },
228
- className: o()(
229
- "sb-markdown",
230
- (null === (i = e.styles) || void 0 === i ? void 0 : i.text)
231
- ? (0, s.G)(
232
- null === (a = e.styles) || void 0 === a
233
- ? void 0
234
- : a.text,
235
- )
236
- : null,
237
- { "mt-4": e.title },
238
- ),
239
- children: e.text,
240
- }),
241
- ],
242
- });
243
- }
244
- },
245
- 6319: function (e, t, r) {
246
- "use strict";
247
- r.d(t, {
248
- Z: function () {
249
- return a;
250
- },
251
- });
252
- var n = r(5893);
253
- r(7294);
254
- var l = r(3967),
255
- i = r.n(l),
256
- o = r(9754);
257
- function a(e) {
258
- let { backgroundSize: t = "full", ...r } = e;
259
- return "inset" === t
260
- ? (0, n.jsx)(s, { ...r })
261
- : (0, n.jsx)(c, { ...r });
262
- }
263
- function s(e) {
264
- var t, r, l, a;
265
- let {
266
- type: s,
267
- elementId: c,
268
- colors: d = "colors-f",
269
- styles: u = {},
270
- children: p,
271
- } = e,
272
- f = s && s.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
273
- return (0, n.jsx)("div", {
274
- id: c || null,
275
- className: i()(
276
- "sb-component",
277
- "sb-component-section",
278
- f && "sb-component-".concat(f),
279
- "flex",
280
- (0, o.G)({
281
- justifyContent:
282
- null !== (t = u.justifyContent) && void 0 !== t ? t : "center",
283
- }),
284
- u.margin,
285
- ),
286
- children: (0, n.jsx)("div", {
287
- className: i()(
288
- d,
289
- "flex",
290
- "flex-col",
291
- "justify-center",
292
- "relative",
293
- "w-full",
294
- (0, o.G)({
295
- width: null !== (r = u.width) && void 0 !== r ? r : "wide",
296
- }),
297
- (0, o.G)({
298
- height: null !== (l = u.height) && void 0 !== l ? l : "auto",
299
- }),
300
- null !== (a = u.padding) && void 0 !== a ? a : "py-12 px-4",
301
- u.borderColor,
302
- u.borderStyle ? (0, o.G)({ borderStyle: u.borderStyle }) : null,
303
- u.borderRadius
304
- ? (0, o.G)({ borderRadius: u.borderRadius })
305
- : null,
306
- ),
307
- style: {
308
- borderWidth: u.borderWidth
309
- ? "".concat(u.borderWidth, "px")
310
- : null,
311
- },
312
- children: (0, n.jsx)("div", {
313
- className: "relative w-full",
314
- children: p,
315
- }),
316
- }),
317
- });
318
- }
319
- function c(e) {
320
- var t, r, l, a;
321
- let {
322
- type: s,
323
- elementId: c,
324
- colors: d = "colors-f",
325
- styles: u = {},
326
- children: p,
327
- } = e,
328
- f = s && s.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
329
- return (0, n.jsx)("div", {
330
- id: c || null,
331
- className: i()(
332
- "sb-component",
333
- "sb-component-section",
334
- f && "sb-component-".concat(f),
335
- d,
336
- "flex",
337
- "flex-col",
338
- "justify-center",
339
- (0, o.G)({
340
- height: null !== (t = u.height) && void 0 !== t ? t : "auto",
341
- }),
342
- u.margin,
343
- null !== (r = u.padding) && void 0 !== r ? r : "py-12 px-4",
344
- u.borderColor,
345
- u.borderStyle ? (0, o.G)({ borderStyle: u.borderStyle }) : null,
346
- u.borderRadius ? (0, o.G)({ borderRadius: u.borderRadius }) : null,
347
- ),
348
- style: {
349
- borderWidth: u.borderWidth ? "".concat(u.borderWidth, "px") : null,
350
- },
351
- children: (0, n.jsx)("div", {
352
- className: i()(
353
- "flex",
354
- "w-full",
355
- (0, o.G)({
356
- justifyContent:
357
- null !== (l = u.justifyContent) && void 0 !== l
358
- ? l
359
- : "center",
360
- }),
361
- ),
362
- children: (0, n.jsx)("div", {
363
- className: i()(
364
- "relative",
365
- "w-full",
366
- (0, o.G)({
367
- width: null !== (a = u.width) && void 0 !== a ? a : "wide",
368
- }),
369
- ),
370
- children: p,
371
- }),
372
- }),
373
- });
374
- }
375
- },
376
- 9754: function (e, t, r) {
377
- "use strict";
378
- r.d(t, {
379
- G: function () {
380
- return l;
381
- },
382
- });
383
- let n = {
384
- alignItems: {
385
- "flex-start": "items-start",
386
- "flex-end": "items-end",
387
- center: "items-center",
388
- },
389
- backgroundPosition: {
390
- bottom: "bg-bottom",
391
- center: "bg-center",
392
- left: "bg-left",
393
- "left-bottom": "bg-left-bottom",
394
- "left-top": "bg-left-top",
395
- right: "bg-right",
396
- "right-bottom": "bg-right-bottom",
397
- "right-top": "bg-right-top",
398
- top: "bg-top",
399
- },
400
- backgroundRepeat: {
401
- repeat: "bg-repeat",
402
- "repeat-x": "bg-repeat-x",
403
- "repeat-y": "bg-repeat-y",
404
- "no-repeat": "bg-no-repeat",
405
- },
406
- backgroundSize: {
407
- auto: "bg-auto",
408
- cover: "bg-cover",
409
- contain: "bg-contain",
410
- },
411
- borderRadius: {
412
- none: "rounded-none",
413
- "xx-small": "rounded-sm",
414
- "x-small": "rounded",
415
- small: "rounded-md",
416
- medium: "rounded-lg",
417
- large: "rounded-xl",
418
- "x-large": "rounded-2xl",
419
- "xx-large": "rounded-3xl",
420
- full: "rounded-full",
421
- },
422
- borderStyle: {
423
- none: "border-none",
424
- solid: "border-solid",
425
- dashed: "border-dashed",
426
- dotted: "border-dotted",
427
- double: "border-double",
428
- },
429
- fontStyle: { italic: "italic" },
430
- fontWeight: {
431
- 400: "font-normal",
432
- 500: "font-medium",
433
- 700: "font-bold",
434
- },
435
- height: { auto: "min-h-0", screen: "min-h-screen" },
436
- justifyContent: {
437
- "flex-start": "justify-start",
438
- "flex-end": "justify-end",
439
- center: "justify-center",
440
- },
441
- margin: function (e) {
442
- return Array.isArray(e)
443
- ? e.join(" ")
444
- : (console.warn(
445
- 'cannot convert "margin" style field value to class name',
446
- ),
447
- "");
448
- },
449
- padding: function (e) {
450
- return Array.isArray(e)
451
- ? e.join(" ")
452
- : (console.warn(
453
- 'cannot convert "padding" style field value to class name',
454
- ),
455
- "");
456
- },
457
- textAlign: {
458
- left: "text-left",
459
- center: "text-center",
460
- right: "text-right",
461
- justify: "text-justify",
462
- },
463
- textDecoration: {
464
- underline: "underline",
465
- "line-through": "line-through",
466
- },
467
- width: { narrow: "max-w-5xl", wide: "max-w-7xl", full: "max-w-full" },
468
- };
469
- function l(e) {
470
- return Object.entries(e)
471
- .map((e) => {
472
- let [t, r] = e;
473
- return t in n
474
- ? "function" == typeof n[t]
475
- ? n[t](r)
476
- : r in n[t]
477
- ? n[t][r]
478
- : void 0
479
- : r;
480
- })
481
- .join(" ");
482
- }
483
- },
484
- 3967: function (e, t) {
485
- var r;
486
- !(function () {
487
- "use strict";
488
- var n = {}.hasOwnProperty;
489
- function l() {
490
- for (var e = "", t = 0; t < arguments.length; t++) {
491
- var r = arguments[t];
492
- r &&
493
- (e = i(
494
- e,
495
- (function (e) {
496
- if ("string" == typeof e || "number" == typeof e) return e;
497
- if ("object" != typeof e) return "";
498
- if (Array.isArray(e)) return l.apply(null, e);
499
- if (
500
- e.toString !== Object.prototype.toString &&
501
- !e.toString.toString().includes("[native code]")
502
- )
503
- return e.toString();
504
- var t = "";
505
- for (var r in e) n.call(e, r) && e[r] && (t = i(t, r));
506
- return t;
507
- })(r),
508
- ));
509
- }
510
- return e;
511
- }
512
- function i(e, t) {
513
- return t ? (e ? e + " " + t : e + t) : e;
514
- }
515
- e.exports
516
- ? ((l.default = l), (e.exports = l))
517
- : void 0 !==
518
- (r = function () {
519
- return l;
520
- }.apply(t, [])) && (e.exports = r);
521
- })();
522
- },
523
- 5576: function (e, t, r) {
524
- "use strict";
525
- var n,
526
- l,
527
- i,
528
- o,
529
- a = r(7294);
530
- function s() {
531
- return (s = Object.assign
532
- ? Object.assign.bind()
533
- : function (e) {
534
- for (var t = 1; t < arguments.length; t++) {
535
- var r = arguments[t];
536
- for (var n in r)
537
- Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
538
- }
539
- return e;
540
- }).apply(this, arguments);
541
- }
542
- let c = ["children", "options"];
543
- (((n = i || (i = {})).blockQuote = "0"),
544
- (n.breakLine = "1"),
545
- (n.breakThematic = "2"),
546
- (n.codeBlock = "3"),
547
- (n.codeFenced = "4"),
548
- (n.codeInline = "5"),
549
- (n.footnote = "6"),
550
- (n.footnoteReference = "7"),
551
- (n.gfmTask = "8"),
552
- (n.heading = "9"),
553
- (n.headingSetext = "10"),
554
- (n.htmlBlock = "11"),
555
- (n.htmlComment = "12"),
556
- (n.htmlSelfClosing = "13"),
557
- (n.image = "14"),
558
- (n.link = "15"),
559
- (n.linkAngleBraceStyleDetector = "16"),
560
- (n.linkBareUrlDetector = "17"),
561
- (n.linkMailtoDetector = "18"),
562
- (n.newlineCoalescer = "19"),
563
- (n.orderedList = "20"),
564
- (n.paragraph = "21"),
565
- (n.ref = "22"),
566
- (n.refImage = "23"),
567
- (n.refLink = "24"),
568
- (n.table = "25"),
569
- (n.tableSeparator = "26"),
570
- (n.text = "27"),
571
- (n.textBolded = "28"),
572
- (n.textEmphasized = "29"),
573
- (n.textEscaped = "30"),
574
- (n.textMarked = "31"),
575
- (n.textStrikethroughed = "32"),
576
- (n.unorderedList = "33"),
577
- ((l = o || (o = {}))[(l.MAX = 0)] = "MAX"),
578
- (l[(l.HIGH = 1)] = "HIGH"),
579
- (l[(l.MED = 2)] = "MED"),
580
- (l[(l.LOW = 3)] = "LOW"),
581
- (l[(l.MIN = 4)] = "MIN"));
582
- let d = [
583
- "allowFullScreen",
584
- "allowTransparency",
585
- "autoComplete",
586
- "autoFocus",
587
- "autoPlay",
588
- "cellPadding",
589
- "cellSpacing",
590
- "charSet",
591
- "className",
592
- "classId",
593
- "colSpan",
594
- "contentEditable",
595
- "contextMenu",
596
- "crossOrigin",
597
- "encType",
598
- "formAction",
599
- "formEncType",
600
- "formMethod",
601
- "formNoValidate",
602
- "formTarget",
603
- "frameBorder",
604
- "hrefLang",
605
- "inputMode",
606
- "keyParams",
607
- "keyType",
608
- "marginHeight",
609
- "marginWidth",
610
- "maxLength",
611
- "mediaGroup",
612
- "minLength",
613
- "noValidate",
614
- "radioGroup",
615
- "readOnly",
616
- "rowSpan",
617
- "spellCheck",
618
- "srcDoc",
619
- "srcLang",
620
- "srcSet",
621
- "tabIndex",
622
- "useMap",
623
- ].reduce((e, t) => ((e[t.toLowerCase()] = t), e), { for: "htmlFor" }),
624
- u = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: "\xa0", quot: "“" },
625
- p = ["style", "script"],
626
- f =
627
- /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,
628
- m = /mailto:/i,
629
- h = /\n{2,}$/,
630
- g = /^(\s*>[\s\S]*?)(?=\n{2,})/,
631
- y = /^ *> ?/gm,
632
- x = /^ {2,}\n/,
633
- b = /^(?:( *[-*_])){3,} *(?:\n *)+\n/,
634
- v =
635
- /^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,
636
- k = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,
637
- j = /^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,
638
- w = /^(?:\n *)*\n/,
639
- S = /\r\n?/g,
640
- $ = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,
641
- C = /^\[\^([^\]]+)]/,
642
- A = /\f/g,
643
- E = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,
644
- N = /^\s*?\[(x|\s)\]/,
645
- R = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,
646
- O = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,
647
- G = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,
648
- L =
649
- /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,
650
- T = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,
651
- z = /^<!--[\s\S]*?(?:-->)/,
652
- I = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/,
653
- M =
654
- /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,
655
- W = /^\{.*\}$/,
656
- B = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,
657
- P = /^<([^ >]+@[^ >]+)>/,
658
- D = /^<([^ >]+:\/[^ >]+)>/,
659
- Z = /-([a-z])?/gi,
660
- _ = /^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,
661
- U = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,
662
- F = /^!\[([^\]]*)\] ?\[([^\]]*)\]/,
663
- H = /^\[([^\]]*)\] ?\[([^\]]*)\]/,
664
- q = /(\[|\])/g,
665
- V = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,
666
- X = /\t/g,
667
- J = /(^ *\||\| *$)/g,
668
- Q = /^ *:-+: *$/,
669
- K = /^ *:-+ *$/,
670
- Y = /^ *-+: *$/,
671
- ee =
672
- "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",
673
- et = RegExp(`^([*_])\\1${ee}\\1\\1(?!\\1)`),
674
- er = RegExp(`^([*_])${ee}\\1(?!\\1|\\w)`),
675
- en = RegExp(`^==${ee}==`),
676
- el = RegExp(`^~~${ee}~~`),
677
- ei = /^\\([^0-9A-Za-z\s])/,
678
- eo =
679
- /^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,
680
- ea = /^\n+/,
681
- es = /^([ \t]*)/,
682
- ec = /\\([^\\])/g,
683
- ed = / *\n+$/,
684
- eu = /(?:^|\n)( *)$/,
685
- ep = "(?:\\d+\\.)",
686
- ef = "(?:[*+-])";
687
- function em(e) {
688
- return "( *)(" + (1 === e ? ep : ef) + ") +";
689
- }
690
- let eh = em(1),
691
- eg = em(2);
692
- function ey(e) {
693
- return RegExp("^" + (1 === e ? eh : eg));
694
- }
695
- let ex = ey(1),
696
- eb = ey(2);
697
- function ev(e) {
698
- return RegExp(
699
- "^" +
700
- (1 === e ? eh : eg) +
701
- "[^\\n]*(?:\\n(?!\\1" +
702
- (1 === e ? ep : ef) +
703
- " )[^\\n]*)*(\\n|$)",
704
- "gm",
705
- );
706
- }
707
- let ek = ev(1),
708
- ej = ev(2);
709
- function ew(e) {
710
- let t = 1 === e ? ep : ef;
711
- return RegExp(
712
- "^( *)(" +
713
- t +
714
- ") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1" +
715
- t +
716
- " (?!" +
717
- t +
718
- " ))\\n*|\\s*\\n*$)",
719
- );
720
- }
721
- let eS = ew(1),
722
- e$ = ew(2);
723
- function eC(e, t) {
724
- let r = 1 === t,
725
- n = r ? eS : e$,
726
- l = r ? ek : ej,
727
- i = r ? ex : eb;
728
- return {
729
- match(e, t, r) {
730
- let l = eu.exec(r);
731
- return l && (t.list || (!t.inline && !t.simple))
732
- ? n.exec((e = l[1] + e))
733
- : null;
734
- },
735
- order: 1,
736
- parse(e, t, n) {
737
- let o = r ? +e[2] : void 0,
738
- a = e[0].replace(h, "\n").match(l),
739
- s = !1;
740
- return {
741
- items: a.map(function (e, r) {
742
- let l;
743
- let o = RegExp("^ {1," + i.exec(e)[0].length + "}", "gm"),
744
- c = e.replace(o, "").replace(i, ""),
745
- d = r === a.length - 1,
746
- u = -1 !== c.indexOf("\n\n") || (d && s);
747
- s = u;
748
- let p = n.inline,
749
- f = n.list;
750
- ((n.list = !0),
751
- u
752
- ? ((n.inline = !1), (l = c.replace(ed, "\n\n")))
753
- : ((n.inline = !0), (l = c.replace(ed, ""))));
754
- let m = t(l, n);
755
- return ((n.inline = p), (n.list = f), m);
756
- }),
757
- ordered: r,
758
- start: o,
759
- };
760
- },
761
- render: (t, r, n) =>
762
- e(
763
- t.ordered ? "ol" : "ul",
764
- { key: n.key, start: "20" === t.type ? t.start : void 0 },
765
- t.items.map(function (t, l) {
766
- return e("li", { key: l }, r(t, n));
767
- }),
768
- ),
769
- };
770
- }
771
- let eA = RegExp(
772
- "^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)",
773
- ),
774
- eE = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,
775
- eN = [g, v, k, R, G, O, z, _, ek, eS, ej, e$],
776
- eR = [...eN, /^[^\n]+(?: \n|\n{2,})/, L, M];
777
- function eO(e) {
778
- return e
779
- .replace(/[ÀÁÂÃÄÅàáâãä忯]/g, "a")
780
- .replace(/[çÇ]/g, "c")
781
- .replace(/[ðÐ]/g, "d")
782
- .replace(/[ÈÉÊËéèêë]/g, "e")
783
- .replace(/[ÏïÎîÍíÌì]/g, "i")
784
- .replace(/[Ññ]/g, "n")
785
- .replace(/[øØœŒÕõÔôÓóÒò]/g, "o")
786
- .replace(/[ÜüÛûÚúÙù]/g, "u")
787
- .replace(/[ŸÿÝý]/g, "y")
788
- .replace(/[^a-z0-9- ]/gi, "")
789
- .replace(/ /gi, "-")
790
- .toLowerCase();
791
- }
792
- function eG(e) {
793
- return Y.test(e)
794
- ? "right"
795
- : Q.test(e)
796
- ? "center"
797
- : K.test(e)
798
- ? "left"
799
- : null;
800
- }
801
- function eL(e, t, r, n) {
802
- let l = r.inTable;
803
- r.inTable = !0;
804
- let i = e
805
- .trim()
806
- .split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/)
807
- .reduce(
808
- (e, l) => (
809
- "|" === l.trim()
810
- ? e.push(n ? { type: "26" } : { type: "27", text: l })
811
- : "" !== l && e.push.apply(e, t(l, r)),
812
- e
813
- ),
814
- [],
815
- );
816
- r.inTable = l;
817
- let o = [[]];
818
- return (
819
- i.forEach(function (e, t) {
820
- "26" === e.type
821
- ? 0 !== t && t !== i.length - 1 && o.push([])
822
- : ("27" !== e.type ||
823
- (null != i[t + 1] && "26" !== i[t + 1].type) ||
824
- (e.text = e.text.trimEnd()),
825
- o[o.length - 1].push(e));
826
- }),
827
- o
828
- );
829
- }
830
- function eT(e, t, r) {
831
- r.inline = !0;
832
- let n = e[2] ? e[2].replace(J, "").split("|").map(eG) : [],
833
- l = e[3]
834
- ? e[3]
835
- .trim()
836
- .split("\n")
837
- .map(function (e) {
838
- return eL(e, t, r, !0);
839
- })
840
- : [],
841
- i = eL(e[1], t, r, !!l.length);
842
- return (
843
- (r.inline = !1),
844
- l.length
845
- ? { align: n, cells: l, header: i, type: "25" }
846
- : { children: i, type: "21" }
847
- );
848
- }
849
- function ez(e, t) {
850
- return null == e.align[t] ? {} : { textAlign: e.align[t] };
851
- }
852
- function eI(e) {
853
- return function (t, r) {
854
- return r.inline ? e.exec(t) : null;
855
- };
856
- }
857
- function eM(e) {
858
- return function (t, r) {
859
- return r.inline || r.simple ? e.exec(t) : null;
860
- };
861
- }
862
- function eW(e) {
863
- return function (t, r) {
864
- return r.inline || r.simple ? null : e.exec(t);
865
- };
866
- }
867
- function eB(e) {
868
- return function (t) {
869
- return e.exec(t);
870
- };
871
- }
872
- function eP(e, t, r) {
873
- if (t.inline || t.simple || (r && !r.endsWith("\n"))) return null;
874
- let n = "";
875
- e.split("\n").every(
876
- (e) => !eN.some((t) => t.test(e)) && ((n += e + "\n"), e.trim()),
877
- );
878
- let l = n.trimEnd();
879
- return "" == l ? null : [n, l];
880
- }
881
- function eD(e) {
882
- try {
883
- if (
884
- decodeURIComponent(e)
885
- .replace(/[^A-Za-z0-9/:]/g, "")
886
- .match(/^\s*(javascript|vbscript|data(?!:image)):/i)
887
- )
888
- return;
889
- } catch (e) {
890
- return null;
891
- }
892
- return e;
893
- }
894
- function eZ(e) {
895
- return e.replace(ec, "$1");
896
- }
897
- function e_(e, t, r) {
898
- let n = r.inline || !1,
899
- l = r.simple || !1;
900
- ((r.inline = !0), (r.simple = !0));
901
- let i = e(t, r);
902
- return ((r.inline = n), (r.simple = l), i);
903
- }
904
- function eU(e, t, r) {
905
- let n = r.inline || !1;
906
- r.inline = !1;
907
- let l = e(t, r);
908
- return ((r.inline = n), l);
909
- }
910
- let eF = (e, t, r) => ({ children: e_(t, e[1], r) });
911
- function eH() {
912
- return {};
913
- }
914
- function eq() {
915
- return null;
916
- }
917
- function eV(e, t, r) {
918
- let n = e,
919
- l = t.split(".");
920
- for (; l.length && void 0 !== (n = n[l[0]]); ) l.shift();
921
- return n || r;
922
- }
923
- t.ZP = (e) => {
924
- let { children: t = "", options: r } = e,
925
- n = (function (e, t) {
926
- if (null == e) return {};
927
- var r,
928
- n,
929
- l = {},
930
- i = Object.keys(e);
931
- for (n = 0; n < i.length; n++)
932
- t.indexOf((r = i[n])) >= 0 || (l[r] = e[r]);
933
- return l;
934
- })(e, c);
935
- return a.cloneElement(
936
- (function (e = "", t = {}) {
937
- var r, n;
938
- let l;
939
- ((t.overrides = t.overrides || {}),
940
- (t.slugify = t.slugify || eO),
941
- (t.namedCodesToUnicode = t.namedCodesToUnicode
942
- ? s({}, u, t.namedCodesToUnicode)
943
- : u));
944
- let i = t.createElement || a.createElement;
945
- function o(e, r, ...n) {
946
- let l = eV(t.overrides, `${e}.props`, {});
947
- return i(
948
- (function (e, t) {
949
- let r = eV(t, e);
950
- return r
951
- ? "function" == typeof r ||
952
- ("object" == typeof r && "render" in r)
953
- ? r
954
- : eV(t, `${e}.component`, e)
955
- : e;
956
- })(e, t.overrides),
957
- s({}, r, l, {
958
- className:
959
- (function (...e) {
960
- return e.filter(Boolean).join(" ");
961
- })(null == r ? void 0 : r.className, l.className) || void 0,
962
- }),
963
- ...n,
964
- );
965
- }
966
- function c(e) {
967
- let r;
968
- e = e.replace(E, "");
969
- let n = !1;
970
- t.forceInline ? (n = !0) : t.forceBlock || (n = !1 === V.test(e));
971
- let l = ee(
972
- Y(
973
- n
974
- ? e
975
- : `${e.trimEnd().replace(ea, "")}
976
-
977
- `,
978
- { inline: n },
979
- ),
980
- );
981
- for (
982
- ;
983
- "string" == typeof l[l.length - 1] && !l[l.length - 1].trim();
984
-
985
- )
986
- l.pop();
987
- if (null === t.wrapper) return l;
988
- let i = t.wrapper || (n ? "span" : "div");
989
- if (l.length > 1 || t.forceWrapper) r = l;
990
- else {
991
- if (1 === l.length)
992
- return "string" == typeof (r = l[0])
993
- ? o("span", { key: "outer" }, r)
994
- : r;
995
- r = null;
996
- }
997
- return a.createElement(i, { key: "outer" }, r);
998
- }
999
- function h(e) {
1000
- let t = e.match(f);
1001
- return t
1002
- ? t.reduce(function (e, t, r) {
1003
- let n = t.indexOf("=");
1004
- if (-1 !== n) {
1005
- var l, i;
1006
- let o = (-1 !== (l = t.slice(0, n)).indexOf("-") &&
1007
- null === l.match(I) &&
1008
- (l = l.replace(Z, function (e, t) {
1009
- return t.toUpperCase();
1010
- })),
1011
- l).trim(),
1012
- s = (function (e) {
1013
- let t = e[0];
1014
- return ('"' === t || "'" === t) &&
1015
- e.length >= 2 &&
1016
- e[e.length - 1] === t
1017
- ? e.slice(1, -1)
1018
- : e;
1019
- })(t.slice(n + 1).trim()),
1020
- u = d[o] || o,
1021
- p = (e[u] =
1022
- ((i = s),
1023
- "style" === o
1024
- ? i.split(/;\s?/).reduce(function (e, t) {
1025
- let r = t.slice(0, t.indexOf(":"));
1026
- return (
1027
- (e[
1028
- r
1029
- .trim()
1030
- .replace(/(-[a-z])/g, (e) =>
1031
- e[1].toUpperCase(),
1032
- )
1033
- ] = t.slice(r.length + 1).trim()),
1034
- e
1035
- );
1036
- }, {})
1037
- : "href" === o || "src" === o
1038
- ? eD(i)
1039
- : (i.match(W) && (i = i.slice(1, i.length - 1)),
1040
- "true" === i || ("false" !== i && i))));
1041
- "string" == typeof p &&
1042
- (L.test(p) || M.test(p)) &&
1043
- (e[u] = a.cloneElement(c(p.trim()), { key: r }));
1044
- } else "style" !== t && (e[d[t] || t] = !0);
1045
- return e;
1046
- }, {})
1047
- : null;
1048
- }
1049
- let J = [],
1050
- Q = {},
1051
- K = {
1052
- 0: {
1053
- match: eW(g),
1054
- order: 1,
1055
- parse: (e, t, r) => ({ children: t(e[0].replace(y, ""), r) }),
1056
- render: (e, t, r) =>
1057
- o("blockquote", { key: r.key }, t(e.children, r)),
1058
- },
1059
- 1: {
1060
- match: eB(x),
1061
- order: 1,
1062
- parse: eH,
1063
- render: (e, t, r) => o("br", { key: r.key }),
1064
- },
1065
- 2: {
1066
- match: eW(b),
1067
- order: 1,
1068
- parse: eH,
1069
- render: (e, t, r) => o("hr", { key: r.key }),
1070
- },
1071
- 3: {
1072
- match: eW(k),
1073
- order: 0,
1074
- parse: (e) => ({
1075
- lang: void 0,
1076
- text: e[0].replace(/^ {4}/gm, "").replace(/\n+$/, ""),
1077
- }),
1078
- render: (e, t, r) =>
1079
- o(
1080
- "pre",
1081
- { key: r.key },
1082
- o(
1083
- "code",
1084
- s({}, e.attrs, {
1085
- className: e.lang ? `lang-${e.lang}` : "",
1086
- }),
1087
- e.text,
1088
- ),
1089
- ),
1090
- },
1091
- 4: {
1092
- match: eW(v),
1093
- order: 0,
1094
- parse: (e) => ({
1095
- attrs: h(e[3] || ""),
1096
- lang: e[2] || void 0,
1097
- text: e[4],
1098
- type: "3",
1099
- }),
1100
- },
1101
- 5: {
1102
- match: eM(j),
1103
- order: 3,
1104
- parse: (e) => ({ text: e[2] }),
1105
- render: (e, t, r) => o("code", { key: r.key }, e.text),
1106
- },
1107
- 6: {
1108
- match: eW($),
1109
- order: 0,
1110
- parse: (e) => (
1111
- J.push({ footnote: e[2], identifier: e[1] }),
1112
- {}
1113
- ),
1114
- render: eq,
1115
- },
1116
- 7: {
1117
- match: eI(C),
1118
- order: 1,
1119
- parse: (e) => ({ target: `#${t.slugify(e[1])}`, text: e[1] }),
1120
- render: (e, t, r) =>
1121
- o(
1122
- "a",
1123
- { key: r.key, href: eD(e.target) },
1124
- o("sup", { key: r.key }, e.text),
1125
- ),
1126
- },
1127
- 8: {
1128
- match: eI(N),
1129
- order: 1,
1130
- parse: (e) => ({ completed: "x" === e[1].toLowerCase() }),
1131
- render: (e, t, r) =>
1132
- o("input", {
1133
- checked: e.completed,
1134
- key: r.key,
1135
- readOnly: !0,
1136
- type: "checkbox",
1137
- }),
1138
- },
1139
- 9: {
1140
- match: eW(t.enforceAtxHeadings ? O : R),
1141
- order: 1,
1142
- parse: (e, r, n) => ({
1143
- children: e_(r, e[2], n),
1144
- id: t.slugify(e[2]),
1145
- level: e[1].length,
1146
- }),
1147
- render: (e, t, r) =>
1148
- o(
1149
- `h${e.level}`,
1150
- { id: e.id, key: r.key },
1151
- t(e.children, r),
1152
- ),
1153
- },
1154
- 10: {
1155
- match: eW(G),
1156
- order: 0,
1157
- parse: (e, t, r) => ({
1158
- children: e_(t, e[1], r),
1159
- level: "=" === e[2] ? 1 : 2,
1160
- type: "9",
1161
- }),
1162
- },
1163
- 11: {
1164
- match: eB(L),
1165
- order: 1,
1166
- parse(e, t, r) {
1167
- let [, n] = e[3].match(es),
1168
- l = RegExp(`^${n}`, "gm"),
1169
- i = e[3].replace(l, ""),
1170
- o = eR.some((e) => e.test(i)) ? eU : e_,
1171
- a = e[1].toLowerCase(),
1172
- s = -1 !== p.indexOf(a),
1173
- c = {
1174
- attrs: h(e[2]),
1175
- noInnerParse: s,
1176
- tag: (s ? a : e[1]).trim(),
1177
- };
1178
- return (
1179
- (r.inAnchor = r.inAnchor || "a" === a),
1180
- s ? (c.text = e[3]) : (c.children = o(t, i, r)),
1181
- (r.inAnchor = !1),
1182
- c
1183
- );
1184
- },
1185
- render: (e, t, r) =>
1186
- o(
1187
- e.tag,
1188
- s({ key: r.key }, e.attrs),
1189
- e.text || t(e.children, r),
1190
- ),
1191
- },
1192
- 13: {
1193
- match: eB(M),
1194
- order: 1,
1195
- parse: (e) => ({ attrs: h(e[2] || ""), tag: e[1].trim() }),
1196
- render: (e, t, r) => o(e.tag, s({}, e.attrs, { key: r.key })),
1197
- },
1198
- 12: { match: eB(z), order: 1, parse: () => ({}), render: eq },
1199
- 14: {
1200
- match: eM(eE),
1201
- order: 1,
1202
- parse: (e) => ({ alt: e[1], target: eZ(e[2]), title: e[3] }),
1203
- render: (e, t, r) =>
1204
- o("img", {
1205
- key: r.key,
1206
- alt: e.alt || void 0,
1207
- title: e.title || void 0,
1208
- src: eD(e.target),
1209
- }),
1210
- },
1211
- 15: {
1212
- match: eI(eA),
1213
- order: 3,
1214
- parse: (e, t, r) => ({
1215
- children: (function (e, t, r) {
1216
- let n = r.inline || !1,
1217
- l = r.simple || !1;
1218
- ((r.inline = !1), (r.simple = !0));
1219
- let i = e(t, r);
1220
- return ((r.inline = n), (r.simple = l), i);
1221
- })(t, e[1], r),
1222
- target: eZ(e[2]),
1223
- title: e[3],
1224
- }),
1225
- render: (e, t, r) =>
1226
- o(
1227
- "a",
1228
- { key: r.key, href: eD(e.target), title: e.title },
1229
- t(e.children, r),
1230
- ),
1231
- },
1232
- 16: {
1233
- match: eI(D),
1234
- order: 0,
1235
- parse: (e) => ({
1236
- children: [{ text: e[1], type: "27" }],
1237
- target: e[1],
1238
- type: "15",
1239
- }),
1240
- },
1241
- 17: {
1242
- match: (e, t) => (t.inAnchor ? null : eI(B)(e, t)),
1243
- order: 0,
1244
- parse: (e) => ({
1245
- children: [{ text: e[1], type: "27" }],
1246
- target: e[1],
1247
- title: void 0,
1248
- type: "15",
1249
- }),
1250
- },
1251
- 18: {
1252
- match: eI(P),
1253
- order: 0,
1254
- parse(e) {
1255
- let t = e[1],
1256
- r = e[1];
1257
- return (
1258
- m.test(r) || (r = "mailto:" + r),
1259
- {
1260
- children: [
1261
- { text: t.replace("mailto:", ""), type: "27" },
1262
- ],
1263
- target: r,
1264
- type: "15",
1265
- }
1266
- );
1267
- },
1268
- },
1269
- 20: eC(o, 1),
1270
- 33: eC(o, 2),
1271
- 19: { match: eW(w), order: 3, parse: eH, render: () => "\n" },
1272
- 21: {
1273
- match: eP,
1274
- order: 3,
1275
- parse: eF,
1276
- render: (e, t, r) => o("p", { key: r.key }, t(e.children, r)),
1277
- },
1278
- 22: {
1279
- match: eI(U),
1280
- order: 0,
1281
- parse: (e) => ((Q[e[1]] = { target: e[2], title: e[4] }), {}),
1282
- render: eq,
1283
- },
1284
- 23: {
1285
- match: eM(F),
1286
- order: 0,
1287
- parse: (e) => ({ alt: e[1] || void 0, ref: e[2] }),
1288
- render: (e, t, r) =>
1289
- Q[e.ref]
1290
- ? o("img", {
1291
- key: r.key,
1292
- alt: e.alt,
1293
- src: eD(Q[e.ref].target),
1294
- title: Q[e.ref].title,
1295
- })
1296
- : null,
1297
- },
1298
- 24: {
1299
- match: eI(H),
1300
- order: 0,
1301
- parse: (e, t, r) => ({
1302
- children: t(e[1], r),
1303
- fallbackChildren: t(e[0].replace(q, "\\$1"), r),
1304
- ref: e[2],
1305
- }),
1306
- render: (e, t, r) =>
1307
- Q[e.ref]
1308
- ? o(
1309
- "a",
1310
- {
1311
- key: r.key,
1312
- href: eD(Q[e.ref].target),
1313
- title: Q[e.ref].title,
1314
- },
1315
- t(e.children, r),
1316
- )
1317
- : o("span", { key: r.key }, t(e.fallbackChildren, r)),
1318
- },
1319
- 25: {
1320
- match: eW(_),
1321
- order: 1,
1322
- parse: eT,
1323
- render: (e, t, r) =>
1324
- o(
1325
- "table",
1326
- { key: r.key },
1327
- o(
1328
- "thead",
1329
- null,
1330
- o(
1331
- "tr",
1332
- null,
1333
- e.header.map(function (n, l) {
1334
- return o(
1335
- "th",
1336
- { key: l, style: ez(e, l) },
1337
- t(n, r),
1338
- );
1339
- }),
1340
- ),
1341
- ),
1342
- o(
1343
- "tbody",
1344
- null,
1345
- e.cells.map(function (n, l) {
1346
- return o(
1347
- "tr",
1348
- { key: l },
1349
- n.map(function (n, l) {
1350
- return o(
1351
- "td",
1352
- { key: l, style: ez(e, l) },
1353
- t(n, r),
1354
- );
1355
- }),
1356
- );
1357
- }),
1358
- ),
1359
- ),
1360
- },
1361
- 27: {
1362
- match: eB(eo),
1363
- order: 4,
1364
- parse: (e) => ({
1365
- text: e[0].replace(T, (e, r) =>
1366
- t.namedCodesToUnicode[r] ? t.namedCodesToUnicode[r] : e,
1367
- ),
1368
- }),
1369
- render: (e) => e.text,
1370
- },
1371
- 28: {
1372
- match: eM(et),
1373
- order: 2,
1374
- parse: (e, t, r) => ({ children: t(e[2], r) }),
1375
- render: (e, t, r) =>
1376
- o("strong", { key: r.key }, t(e.children, r)),
1377
- },
1378
- 29: {
1379
- match: eM(er),
1380
- order: 3,
1381
- parse: (e, t, r) => ({ children: t(e[2], r) }),
1382
- render: (e, t, r) =>
1383
- o("em", { key: r.key }, t(e.children, r)),
1384
- },
1385
- 30: {
1386
- match: eM(ei),
1387
- order: 1,
1388
- parse: (e) => ({ text: e[1], type: "27" }),
1389
- },
1390
- 31: {
1391
- match: eM(en),
1392
- order: 3,
1393
- parse: eF,
1394
- render: (e, t, r) =>
1395
- o("mark", { key: r.key }, t(e.children, r)),
1396
- },
1397
- 32: {
1398
- match: eM(el),
1399
- order: 3,
1400
- parse: eF,
1401
- render: (e, t, r) =>
1402
- o("del", { key: r.key }, t(e.children, r)),
1403
- },
1404
- };
1405
- !0 === t.disableParsingRawHTML && (delete K[11], delete K[13]);
1406
- let Y =
1407
- ((l = Object.keys(K)).sort(function (e, t) {
1408
- let r = K[e].order,
1409
- n = K[t].order;
1410
- return r !== n ? r - n : e < t ? -1 : 1;
1411
- }),
1412
- function (e, t) {
1413
- return (function e(t, r) {
1414
- let n = [],
1415
- i = "";
1416
- for (; t; ) {
1417
- let o = 0;
1418
- for (; o < l.length; ) {
1419
- let a = l[o],
1420
- s = K[a],
1421
- c = s.match(t, r, i);
1422
- if (c) {
1423
- let l = c[0];
1424
- t = t.substring(l.length);
1425
- let o = s.parse(c, e, r);
1426
- (null == o.type && (o.type = a), n.push(o), (i = l));
1427
- break;
1428
- }
1429
- o++;
1430
- }
1431
- }
1432
- return n;
1433
- })(e.replace(S, "\n").replace(A, "").replace(X, " "), t);
1434
- }),
1435
- ee =
1436
- ((n = t.renderRule),
1437
- (r = function (e, t, r) {
1438
- let l = K[e.type].render;
1439
- return n ? n(() => l(e, t, r), e, t, r) : l(e, t, r);
1440
- }),
1441
- function e(t, n = {}) {
1442
- if (Array.isArray(t)) {
1443
- let r = n.key,
1444
- l = [],
1445
- i = !1;
1446
- for (let r = 0; r < t.length; r++) {
1447
- n.key = r;
1448
- let o = e(t[r], n),
1449
- a = "string" == typeof o;
1450
- (a && i
1451
- ? (l[l.length - 1] += o)
1452
- : null !== o && l.push(o),
1453
- (i = a));
1454
- }
1455
- return ((n.key = r), l);
1456
- }
1457
- return r(t, e, n);
1458
- }),
1459
- ec = c(e);
1460
- return J.length
1461
- ? o(
1462
- "div",
1463
- null,
1464
- ec,
1465
- o(
1466
- "footer",
1467
- { key: "footer" },
1468
- J.map(function (e) {
1469
- return o(
1470
- "div",
1471
- { id: t.slugify(e.identifier), key: e.identifier },
1472
- e.identifier,
1473
- ee(Y(e.footnote, { inline: !0 })),
1474
- );
1475
- }),
1476
- ),
1477
- )
1478
- : ec;
1479
- })(t, r),
1480
- n,
1481
- );
1482
- };
1483
- },
1484
- },
1485
- ]);