@sit-onyx/mdc 0.0.0

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 (31) hide show
  1. package/LICENSE.txt +190 -0
  2. package/README.md +9 -0
  3. package/dist/MDCRenderer-BiRlLs6r.js +290 -0
  4. package/dist/components/OnyxMarkdownRenderer/OnyxMarkdownRenderer.d.vue.ts +29 -0
  5. package/dist/components/OnyxMarkdownRenderer/types.d.ts +12 -0
  6. package/dist/components/prose/ProseA.d.vue.ts +26 -0
  7. package/dist/components/prose/ProseBr.d.vue.ts +2 -0
  8. package/dist/components/prose/ProseCode.d.vue.ts +19 -0
  9. package/dist/components/prose/ProseDetails.d.vue.ts +23 -0
  10. package/dist/components/prose/ProseH1.d.vue.ts +22 -0
  11. package/dist/components/prose/ProseH2.d.vue.ts +22 -0
  12. package/dist/components/prose/ProseH3.d.vue.ts +22 -0
  13. package/dist/components/prose/ProseH4.d.vue.ts +22 -0
  14. package/dist/components/prose/ProseH5.d.vue.ts +22 -0
  15. package/dist/components/prose/ProseH6.d.vue.ts +22 -0
  16. package/dist/components/prose/ProseHr.d.vue.ts +2 -0
  17. package/dist/components/prose/ProseOl.d.vue.ts +19 -0
  18. package/dist/components/prose/ProseP.d.vue.ts +19 -0
  19. package/dist/components/prose/ProsePre.d.vue.ts +49 -0
  20. package/dist/components/prose/ProseSummary.d.vue.ts +19 -0
  21. package/dist/components/prose/ProseTable.d.vue.ts +25 -0
  22. package/dist/components/prose/ProseTbody.d.vue.ts +19 -0
  23. package/dist/components/prose/ProseThead.d.vue.ts +19 -0
  24. package/dist/components/prose/ProseUl.d.vue.ts +19 -0
  25. package/dist/components/prose/utils.d.ts +20 -0
  26. package/dist/index.d.ts +21 -0
  27. package/dist/index.js +285 -0
  28. package/dist/node-B8w0U_XJ.js +1172 -0
  29. package/dist/runtime-C6LZeuX2.js +17896 -0
  30. package/dist/style.css +2 -0
  31. package/package.json +51 -0
@@ -0,0 +1,1172 @@
1
+ //#region \0rolldown/runtime.js
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, n) => {
3
+ let r = {};
4
+ for (var i in e) t(r, i, {
5
+ get: e[i],
6
+ enumerable: !0
7
+ });
8
+ return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
9
+ }, c = (e, i, o, s) => {
10
+ if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
11
+ get: ((e) => i[e]).bind(null, d),
12
+ enumerable: !(s = n(i, d)) || s.enumerable
13
+ });
14
+ return e;
15
+ }, l = (n, r, a) => (a = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule ? t(a, "default", {
16
+ value: n,
17
+ enumerable: !0
18
+ }) : a, n)), u = /\d/, d = [
19
+ "-",
20
+ "_",
21
+ "/",
22
+ "."
23
+ ];
24
+ function ee(e = "") {
25
+ if (!u.test(e)) return e !== e.toLowerCase();
26
+ }
27
+ function f(e, t) {
28
+ let n = t ?? d, r = [];
29
+ if (!e || typeof e != "string") return r;
30
+ let i = "", a, o;
31
+ for (let t of e) {
32
+ let e = n.includes(t);
33
+ if (e === !0) {
34
+ r.push(i), i = "", a = void 0;
35
+ continue;
36
+ }
37
+ let s = ee(t);
38
+ if (o === !1) {
39
+ if (a === !1 && s === !0) {
40
+ r.push(i), i = t, a = s;
41
+ continue;
42
+ }
43
+ if (a === !0 && s === !1 && i.length > 1) {
44
+ let e = i.at(-1);
45
+ r.push(i.slice(0, Math.max(0, i.length - 1))), i = e + t, a = s;
46
+ continue;
47
+ }
48
+ }
49
+ i += t, a = s, o = e;
50
+ }
51
+ return r.push(i), r;
52
+ }
53
+ function te(e) {
54
+ return e ? e[0].toUpperCase() + e.slice(1) : "";
55
+ }
56
+ function ne(e, t) {
57
+ return e ? (Array.isArray(e) ? e : f(e)).map((e) => te(t?.normalize ? e.toLowerCase() : e)).join("") : "";
58
+ }
59
+ function p(e, t) {
60
+ return e ? (Array.isArray(e) ? e : f(e)).map((e) => e.toLowerCase()).join(t ?? "-") : "";
61
+ }
62
+ //#endregion
63
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.js
64
+ var m = class {
65
+ constructor(e, t, n) {
66
+ this.normal = t, this.property = e, n && (this.space = n);
67
+ }
68
+ };
69
+ m.prototype.normal = {}, m.prototype.property = {}, m.prototype.space = void 0;
70
+ //#endregion
71
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/merge.js
72
+ function h(e, t) {
73
+ let n = {}, r = {};
74
+ for (let t of e) Object.assign(n, t.property), Object.assign(r, t.normal);
75
+ return new m(n, r, t);
76
+ }
77
+ //#endregion
78
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.js
79
+ function g(e) {
80
+ return e.toLowerCase();
81
+ }
82
+ //#endregion
83
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.js
84
+ var _ = class {
85
+ constructor(e, t) {
86
+ this.attribute = t, this.property = e;
87
+ }
88
+ };
89
+ _.prototype.attribute = "", _.prototype.booleanish = !1, _.prototype.boolean = !1, _.prototype.commaOrSpaceSeparated = !1, _.prototype.commaSeparated = !1, _.prototype.defined = !1, _.prototype.mustUseProperty = !1, _.prototype.number = !1, _.prototype.overloadedBoolean = !1, _.prototype.property = "", _.prototype.spaceSeparated = !1, _.prototype.space = void 0;
90
+ //#endregion
91
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.js
92
+ var v = /* @__PURE__ */ s({
93
+ boolean: () => y,
94
+ booleanish: () => b,
95
+ commaOrSpaceSeparated: () => T,
96
+ commaSeparated: () => w,
97
+ number: () => S,
98
+ overloadedBoolean: () => x,
99
+ spaceSeparated: () => C
100
+ }), re = 0, y = E(), b = E(), x = E(), S = E(), C = E(), w = E(), T = E();
101
+ function E() {
102
+ return 2 ** ++re;
103
+ }
104
+ //#endregion
105
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.js
106
+ var D = Object.keys(v), O = class extends _ {
107
+ constructor(e, t, n, r) {
108
+ let i = -1;
109
+ if (super(e, t), k(this, "space", r), typeof n == "number") for (; ++i < D.length;) {
110
+ let e = D[i];
111
+ k(this, D[i], (n & v[e]) === v[e]);
112
+ }
113
+ }
114
+ };
115
+ O.prototype.defined = !0;
116
+ function k(e, t, n) {
117
+ n && (e[t] = n);
118
+ }
119
+ //#endregion
120
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.js
121
+ function A(e) {
122
+ let t = {}, n = {};
123
+ for (let [r, i] of Object.entries(e.properties)) {
124
+ let a = new O(r, e.transform(e.attributes || {}, r), i, e.space);
125
+ e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[g(r)] = r, n[g(a.attribute)] = r;
126
+ }
127
+ return new m(t, n, e.space);
128
+ }
129
+ //#endregion
130
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/aria.js
131
+ var j = A({
132
+ properties: {
133
+ ariaActiveDescendant: null,
134
+ ariaAtomic: b,
135
+ ariaAutoComplete: null,
136
+ ariaBusy: b,
137
+ ariaChecked: b,
138
+ ariaColCount: S,
139
+ ariaColIndex: S,
140
+ ariaColSpan: S,
141
+ ariaControls: C,
142
+ ariaCurrent: null,
143
+ ariaDescribedBy: C,
144
+ ariaDetails: null,
145
+ ariaDisabled: b,
146
+ ariaDropEffect: C,
147
+ ariaErrorMessage: null,
148
+ ariaExpanded: b,
149
+ ariaFlowTo: C,
150
+ ariaGrabbed: b,
151
+ ariaHasPopup: null,
152
+ ariaHidden: b,
153
+ ariaInvalid: null,
154
+ ariaKeyShortcuts: null,
155
+ ariaLabel: null,
156
+ ariaLabelledBy: C,
157
+ ariaLevel: S,
158
+ ariaLive: null,
159
+ ariaModal: b,
160
+ ariaMultiLine: b,
161
+ ariaMultiSelectable: b,
162
+ ariaOrientation: null,
163
+ ariaOwns: C,
164
+ ariaPlaceholder: null,
165
+ ariaPosInSet: S,
166
+ ariaPressed: b,
167
+ ariaReadOnly: b,
168
+ ariaRelevant: null,
169
+ ariaRequired: b,
170
+ ariaRoleDescription: C,
171
+ ariaRowCount: S,
172
+ ariaRowIndex: S,
173
+ ariaRowSpan: S,
174
+ ariaSelected: b,
175
+ ariaSetSize: S,
176
+ ariaSort: null,
177
+ ariaValueMax: S,
178
+ ariaValueMin: S,
179
+ ariaValueNow: S,
180
+ ariaValueText: null,
181
+ role: null
182
+ },
183
+ transform(e, t) {
184
+ return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
185
+ }
186
+ });
187
+ //#endregion
188
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js
189
+ function M(e, t) {
190
+ return t in e ? e[t] : t;
191
+ }
192
+ //#endregion
193
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.js
194
+ function N(e, t) {
195
+ return M(e, t.toLowerCase());
196
+ }
197
+ //#endregion
198
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.js
199
+ var P = A({
200
+ attributes: {
201
+ acceptcharset: "accept-charset",
202
+ classname: "class",
203
+ htmlfor: "for",
204
+ httpequiv: "http-equiv"
205
+ },
206
+ mustUseProperty: [
207
+ "checked",
208
+ "multiple",
209
+ "muted",
210
+ "selected"
211
+ ],
212
+ properties: {
213
+ abbr: null,
214
+ accept: w,
215
+ acceptCharset: C,
216
+ accessKey: C,
217
+ action: null,
218
+ allow: null,
219
+ allowFullScreen: y,
220
+ allowPaymentRequest: y,
221
+ allowUserMedia: y,
222
+ alt: null,
223
+ as: null,
224
+ async: y,
225
+ autoCapitalize: null,
226
+ autoComplete: C,
227
+ autoFocus: y,
228
+ autoPlay: y,
229
+ blocking: C,
230
+ capture: null,
231
+ charSet: null,
232
+ checked: y,
233
+ cite: null,
234
+ className: C,
235
+ cols: S,
236
+ colSpan: null,
237
+ content: null,
238
+ contentEditable: b,
239
+ controls: y,
240
+ controlsList: C,
241
+ coords: S | w,
242
+ crossOrigin: null,
243
+ data: null,
244
+ dateTime: null,
245
+ decoding: null,
246
+ default: y,
247
+ defer: y,
248
+ dir: null,
249
+ dirName: null,
250
+ disabled: y,
251
+ download: x,
252
+ draggable: b,
253
+ encType: null,
254
+ enterKeyHint: null,
255
+ fetchPriority: null,
256
+ form: null,
257
+ formAction: null,
258
+ formEncType: null,
259
+ formMethod: null,
260
+ formNoValidate: y,
261
+ formTarget: null,
262
+ headers: C,
263
+ height: S,
264
+ hidden: x,
265
+ high: S,
266
+ href: null,
267
+ hrefLang: null,
268
+ htmlFor: C,
269
+ httpEquiv: C,
270
+ id: null,
271
+ imageSizes: null,
272
+ imageSrcSet: null,
273
+ inert: y,
274
+ inputMode: null,
275
+ integrity: null,
276
+ is: null,
277
+ isMap: y,
278
+ itemId: null,
279
+ itemProp: C,
280
+ itemRef: C,
281
+ itemScope: y,
282
+ itemType: C,
283
+ kind: null,
284
+ label: null,
285
+ lang: null,
286
+ language: null,
287
+ list: null,
288
+ loading: null,
289
+ loop: y,
290
+ low: S,
291
+ manifest: null,
292
+ max: null,
293
+ maxLength: S,
294
+ media: null,
295
+ method: null,
296
+ min: null,
297
+ minLength: S,
298
+ multiple: y,
299
+ muted: y,
300
+ name: null,
301
+ nonce: null,
302
+ noModule: y,
303
+ noValidate: y,
304
+ onAbort: null,
305
+ onAfterPrint: null,
306
+ onAuxClick: null,
307
+ onBeforeMatch: null,
308
+ onBeforePrint: null,
309
+ onBeforeToggle: null,
310
+ onBeforeUnload: null,
311
+ onBlur: null,
312
+ onCancel: null,
313
+ onCanPlay: null,
314
+ onCanPlayThrough: null,
315
+ onChange: null,
316
+ onClick: null,
317
+ onClose: null,
318
+ onContextLost: null,
319
+ onContextMenu: null,
320
+ onContextRestored: null,
321
+ onCopy: null,
322
+ onCueChange: null,
323
+ onCut: null,
324
+ onDblClick: null,
325
+ onDrag: null,
326
+ onDragEnd: null,
327
+ onDragEnter: null,
328
+ onDragExit: null,
329
+ onDragLeave: null,
330
+ onDragOver: null,
331
+ onDragStart: null,
332
+ onDrop: null,
333
+ onDurationChange: null,
334
+ onEmptied: null,
335
+ onEnded: null,
336
+ onError: null,
337
+ onFocus: null,
338
+ onFormData: null,
339
+ onHashChange: null,
340
+ onInput: null,
341
+ onInvalid: null,
342
+ onKeyDown: null,
343
+ onKeyPress: null,
344
+ onKeyUp: null,
345
+ onLanguageChange: null,
346
+ onLoad: null,
347
+ onLoadedData: null,
348
+ onLoadedMetadata: null,
349
+ onLoadEnd: null,
350
+ onLoadStart: null,
351
+ onMessage: null,
352
+ onMessageError: null,
353
+ onMouseDown: null,
354
+ onMouseEnter: null,
355
+ onMouseLeave: null,
356
+ onMouseMove: null,
357
+ onMouseOut: null,
358
+ onMouseOver: null,
359
+ onMouseUp: null,
360
+ onOffline: null,
361
+ onOnline: null,
362
+ onPageHide: null,
363
+ onPageShow: null,
364
+ onPaste: null,
365
+ onPause: null,
366
+ onPlay: null,
367
+ onPlaying: null,
368
+ onPopState: null,
369
+ onProgress: null,
370
+ onRateChange: null,
371
+ onRejectionHandled: null,
372
+ onReset: null,
373
+ onResize: null,
374
+ onScroll: null,
375
+ onScrollEnd: null,
376
+ onSecurityPolicyViolation: null,
377
+ onSeeked: null,
378
+ onSeeking: null,
379
+ onSelect: null,
380
+ onSlotChange: null,
381
+ onStalled: null,
382
+ onStorage: null,
383
+ onSubmit: null,
384
+ onSuspend: null,
385
+ onTimeUpdate: null,
386
+ onToggle: null,
387
+ onUnhandledRejection: null,
388
+ onUnload: null,
389
+ onVolumeChange: null,
390
+ onWaiting: null,
391
+ onWheel: null,
392
+ open: y,
393
+ optimum: S,
394
+ pattern: null,
395
+ ping: C,
396
+ placeholder: null,
397
+ playsInline: y,
398
+ popover: null,
399
+ popoverTarget: null,
400
+ popoverTargetAction: null,
401
+ poster: null,
402
+ preload: null,
403
+ readOnly: y,
404
+ referrerPolicy: null,
405
+ rel: C,
406
+ required: y,
407
+ reversed: y,
408
+ rows: S,
409
+ rowSpan: S,
410
+ sandbox: C,
411
+ scope: null,
412
+ scoped: y,
413
+ seamless: y,
414
+ selected: y,
415
+ shadowRootClonable: y,
416
+ shadowRootDelegatesFocus: y,
417
+ shadowRootMode: null,
418
+ shape: null,
419
+ size: S,
420
+ sizes: null,
421
+ slot: null,
422
+ span: S,
423
+ spellCheck: b,
424
+ src: null,
425
+ srcDoc: null,
426
+ srcLang: null,
427
+ srcSet: null,
428
+ start: S,
429
+ step: null,
430
+ style: null,
431
+ tabIndex: S,
432
+ target: null,
433
+ title: null,
434
+ translate: null,
435
+ type: null,
436
+ typeMustMatch: y,
437
+ useMap: null,
438
+ value: b,
439
+ width: S,
440
+ wrap: null,
441
+ writingSuggestions: null,
442
+ align: null,
443
+ aLink: null,
444
+ archive: C,
445
+ axis: null,
446
+ background: null,
447
+ bgColor: null,
448
+ border: S,
449
+ borderColor: null,
450
+ bottomMargin: S,
451
+ cellPadding: null,
452
+ cellSpacing: null,
453
+ char: null,
454
+ charOff: null,
455
+ classId: null,
456
+ clear: null,
457
+ code: null,
458
+ codeBase: null,
459
+ codeType: null,
460
+ color: null,
461
+ compact: y,
462
+ declare: y,
463
+ event: null,
464
+ face: null,
465
+ frame: null,
466
+ frameBorder: null,
467
+ hSpace: S,
468
+ leftMargin: S,
469
+ link: null,
470
+ longDesc: null,
471
+ lowSrc: null,
472
+ marginHeight: S,
473
+ marginWidth: S,
474
+ noResize: y,
475
+ noHref: y,
476
+ noShade: y,
477
+ noWrap: y,
478
+ object: null,
479
+ profile: null,
480
+ prompt: null,
481
+ rev: null,
482
+ rightMargin: S,
483
+ rules: null,
484
+ scheme: null,
485
+ scrolling: b,
486
+ standby: null,
487
+ summary: null,
488
+ text: null,
489
+ topMargin: S,
490
+ valueType: null,
491
+ version: null,
492
+ vAlign: null,
493
+ vLink: null,
494
+ vSpace: S,
495
+ allowTransparency: null,
496
+ autoCorrect: null,
497
+ autoSave: null,
498
+ disablePictureInPicture: y,
499
+ disableRemotePlayback: y,
500
+ prefix: null,
501
+ property: null,
502
+ results: S,
503
+ security: null,
504
+ unselectable: null
505
+ },
506
+ space: "html",
507
+ transform: N
508
+ }), F = A({
509
+ attributes: {
510
+ accentHeight: "accent-height",
511
+ alignmentBaseline: "alignment-baseline",
512
+ arabicForm: "arabic-form",
513
+ baselineShift: "baseline-shift",
514
+ capHeight: "cap-height",
515
+ className: "class",
516
+ clipPath: "clip-path",
517
+ clipRule: "clip-rule",
518
+ colorInterpolation: "color-interpolation",
519
+ colorInterpolationFilters: "color-interpolation-filters",
520
+ colorProfile: "color-profile",
521
+ colorRendering: "color-rendering",
522
+ crossOrigin: "crossorigin",
523
+ dataType: "datatype",
524
+ dominantBaseline: "dominant-baseline",
525
+ enableBackground: "enable-background",
526
+ fillOpacity: "fill-opacity",
527
+ fillRule: "fill-rule",
528
+ floodColor: "flood-color",
529
+ floodOpacity: "flood-opacity",
530
+ fontFamily: "font-family",
531
+ fontSize: "font-size",
532
+ fontSizeAdjust: "font-size-adjust",
533
+ fontStretch: "font-stretch",
534
+ fontStyle: "font-style",
535
+ fontVariant: "font-variant",
536
+ fontWeight: "font-weight",
537
+ glyphName: "glyph-name",
538
+ glyphOrientationHorizontal: "glyph-orientation-horizontal",
539
+ glyphOrientationVertical: "glyph-orientation-vertical",
540
+ hrefLang: "hreflang",
541
+ horizAdvX: "horiz-adv-x",
542
+ horizOriginX: "horiz-origin-x",
543
+ horizOriginY: "horiz-origin-y",
544
+ imageRendering: "image-rendering",
545
+ letterSpacing: "letter-spacing",
546
+ lightingColor: "lighting-color",
547
+ markerEnd: "marker-end",
548
+ markerMid: "marker-mid",
549
+ markerStart: "marker-start",
550
+ navDown: "nav-down",
551
+ navDownLeft: "nav-down-left",
552
+ navDownRight: "nav-down-right",
553
+ navLeft: "nav-left",
554
+ navNext: "nav-next",
555
+ navPrev: "nav-prev",
556
+ navRight: "nav-right",
557
+ navUp: "nav-up",
558
+ navUpLeft: "nav-up-left",
559
+ navUpRight: "nav-up-right",
560
+ onAbort: "onabort",
561
+ onActivate: "onactivate",
562
+ onAfterPrint: "onafterprint",
563
+ onBeforePrint: "onbeforeprint",
564
+ onBegin: "onbegin",
565
+ onCancel: "oncancel",
566
+ onCanPlay: "oncanplay",
567
+ onCanPlayThrough: "oncanplaythrough",
568
+ onChange: "onchange",
569
+ onClick: "onclick",
570
+ onClose: "onclose",
571
+ onCopy: "oncopy",
572
+ onCueChange: "oncuechange",
573
+ onCut: "oncut",
574
+ onDblClick: "ondblclick",
575
+ onDrag: "ondrag",
576
+ onDragEnd: "ondragend",
577
+ onDragEnter: "ondragenter",
578
+ onDragExit: "ondragexit",
579
+ onDragLeave: "ondragleave",
580
+ onDragOver: "ondragover",
581
+ onDragStart: "ondragstart",
582
+ onDrop: "ondrop",
583
+ onDurationChange: "ondurationchange",
584
+ onEmptied: "onemptied",
585
+ onEnd: "onend",
586
+ onEnded: "onended",
587
+ onError: "onerror",
588
+ onFocus: "onfocus",
589
+ onFocusIn: "onfocusin",
590
+ onFocusOut: "onfocusout",
591
+ onHashChange: "onhashchange",
592
+ onInput: "oninput",
593
+ onInvalid: "oninvalid",
594
+ onKeyDown: "onkeydown",
595
+ onKeyPress: "onkeypress",
596
+ onKeyUp: "onkeyup",
597
+ onLoad: "onload",
598
+ onLoadedData: "onloadeddata",
599
+ onLoadedMetadata: "onloadedmetadata",
600
+ onLoadStart: "onloadstart",
601
+ onMessage: "onmessage",
602
+ onMouseDown: "onmousedown",
603
+ onMouseEnter: "onmouseenter",
604
+ onMouseLeave: "onmouseleave",
605
+ onMouseMove: "onmousemove",
606
+ onMouseOut: "onmouseout",
607
+ onMouseOver: "onmouseover",
608
+ onMouseUp: "onmouseup",
609
+ onMouseWheel: "onmousewheel",
610
+ onOffline: "onoffline",
611
+ onOnline: "ononline",
612
+ onPageHide: "onpagehide",
613
+ onPageShow: "onpageshow",
614
+ onPaste: "onpaste",
615
+ onPause: "onpause",
616
+ onPlay: "onplay",
617
+ onPlaying: "onplaying",
618
+ onPopState: "onpopstate",
619
+ onProgress: "onprogress",
620
+ onRateChange: "onratechange",
621
+ onRepeat: "onrepeat",
622
+ onReset: "onreset",
623
+ onResize: "onresize",
624
+ onScroll: "onscroll",
625
+ onSeeked: "onseeked",
626
+ onSeeking: "onseeking",
627
+ onSelect: "onselect",
628
+ onShow: "onshow",
629
+ onStalled: "onstalled",
630
+ onStorage: "onstorage",
631
+ onSubmit: "onsubmit",
632
+ onSuspend: "onsuspend",
633
+ onTimeUpdate: "ontimeupdate",
634
+ onToggle: "ontoggle",
635
+ onUnload: "onunload",
636
+ onVolumeChange: "onvolumechange",
637
+ onWaiting: "onwaiting",
638
+ onZoom: "onzoom",
639
+ overlinePosition: "overline-position",
640
+ overlineThickness: "overline-thickness",
641
+ paintOrder: "paint-order",
642
+ panose1: "panose-1",
643
+ pointerEvents: "pointer-events",
644
+ referrerPolicy: "referrerpolicy",
645
+ renderingIntent: "rendering-intent",
646
+ shapeRendering: "shape-rendering",
647
+ stopColor: "stop-color",
648
+ stopOpacity: "stop-opacity",
649
+ strikethroughPosition: "strikethrough-position",
650
+ strikethroughThickness: "strikethrough-thickness",
651
+ strokeDashArray: "stroke-dasharray",
652
+ strokeDashOffset: "stroke-dashoffset",
653
+ strokeLineCap: "stroke-linecap",
654
+ strokeLineJoin: "stroke-linejoin",
655
+ strokeMiterLimit: "stroke-miterlimit",
656
+ strokeOpacity: "stroke-opacity",
657
+ strokeWidth: "stroke-width",
658
+ tabIndex: "tabindex",
659
+ textAnchor: "text-anchor",
660
+ textDecoration: "text-decoration",
661
+ textRendering: "text-rendering",
662
+ transformOrigin: "transform-origin",
663
+ typeOf: "typeof",
664
+ underlinePosition: "underline-position",
665
+ underlineThickness: "underline-thickness",
666
+ unicodeBidi: "unicode-bidi",
667
+ unicodeRange: "unicode-range",
668
+ unitsPerEm: "units-per-em",
669
+ vAlphabetic: "v-alphabetic",
670
+ vHanging: "v-hanging",
671
+ vIdeographic: "v-ideographic",
672
+ vMathematical: "v-mathematical",
673
+ vectorEffect: "vector-effect",
674
+ vertAdvY: "vert-adv-y",
675
+ vertOriginX: "vert-origin-x",
676
+ vertOriginY: "vert-origin-y",
677
+ wordSpacing: "word-spacing",
678
+ writingMode: "writing-mode",
679
+ xHeight: "x-height",
680
+ playbackOrder: "playbackorder",
681
+ timelineBegin: "timelinebegin"
682
+ },
683
+ properties: {
684
+ about: T,
685
+ accentHeight: S,
686
+ accumulate: null,
687
+ additive: null,
688
+ alignmentBaseline: null,
689
+ alphabetic: S,
690
+ amplitude: S,
691
+ arabicForm: null,
692
+ ascent: S,
693
+ attributeName: null,
694
+ attributeType: null,
695
+ azimuth: S,
696
+ bandwidth: null,
697
+ baselineShift: null,
698
+ baseFrequency: null,
699
+ baseProfile: null,
700
+ bbox: null,
701
+ begin: null,
702
+ bias: S,
703
+ by: null,
704
+ calcMode: null,
705
+ capHeight: S,
706
+ className: C,
707
+ clip: null,
708
+ clipPath: null,
709
+ clipPathUnits: null,
710
+ clipRule: null,
711
+ color: null,
712
+ colorInterpolation: null,
713
+ colorInterpolationFilters: null,
714
+ colorProfile: null,
715
+ colorRendering: null,
716
+ content: null,
717
+ contentScriptType: null,
718
+ contentStyleType: null,
719
+ crossOrigin: null,
720
+ cursor: null,
721
+ cx: null,
722
+ cy: null,
723
+ d: null,
724
+ dataType: null,
725
+ defaultAction: null,
726
+ descent: S,
727
+ diffuseConstant: S,
728
+ direction: null,
729
+ display: null,
730
+ dur: null,
731
+ divisor: S,
732
+ dominantBaseline: null,
733
+ download: y,
734
+ dx: null,
735
+ dy: null,
736
+ edgeMode: null,
737
+ editable: null,
738
+ elevation: S,
739
+ enableBackground: null,
740
+ end: null,
741
+ event: null,
742
+ exponent: S,
743
+ externalResourcesRequired: null,
744
+ fill: null,
745
+ fillOpacity: S,
746
+ fillRule: null,
747
+ filter: null,
748
+ filterRes: null,
749
+ filterUnits: null,
750
+ floodColor: null,
751
+ floodOpacity: null,
752
+ focusable: null,
753
+ focusHighlight: null,
754
+ fontFamily: null,
755
+ fontSize: null,
756
+ fontSizeAdjust: null,
757
+ fontStretch: null,
758
+ fontStyle: null,
759
+ fontVariant: null,
760
+ fontWeight: null,
761
+ format: null,
762
+ fr: null,
763
+ from: null,
764
+ fx: null,
765
+ fy: null,
766
+ g1: w,
767
+ g2: w,
768
+ glyphName: w,
769
+ glyphOrientationHorizontal: null,
770
+ glyphOrientationVertical: null,
771
+ glyphRef: null,
772
+ gradientTransform: null,
773
+ gradientUnits: null,
774
+ handler: null,
775
+ hanging: S,
776
+ hatchContentUnits: null,
777
+ hatchUnits: null,
778
+ height: null,
779
+ href: null,
780
+ hrefLang: null,
781
+ horizAdvX: S,
782
+ horizOriginX: S,
783
+ horizOriginY: S,
784
+ id: null,
785
+ ideographic: S,
786
+ imageRendering: null,
787
+ initialVisibility: null,
788
+ in: null,
789
+ in2: null,
790
+ intercept: S,
791
+ k: S,
792
+ k1: S,
793
+ k2: S,
794
+ k3: S,
795
+ k4: S,
796
+ kernelMatrix: T,
797
+ kernelUnitLength: null,
798
+ keyPoints: null,
799
+ keySplines: null,
800
+ keyTimes: null,
801
+ kerning: null,
802
+ lang: null,
803
+ lengthAdjust: null,
804
+ letterSpacing: null,
805
+ lightingColor: null,
806
+ limitingConeAngle: S,
807
+ local: null,
808
+ markerEnd: null,
809
+ markerMid: null,
810
+ markerStart: null,
811
+ markerHeight: null,
812
+ markerUnits: null,
813
+ markerWidth: null,
814
+ mask: null,
815
+ maskContentUnits: null,
816
+ maskUnits: null,
817
+ mathematical: null,
818
+ max: null,
819
+ media: null,
820
+ mediaCharacterEncoding: null,
821
+ mediaContentEncodings: null,
822
+ mediaSize: S,
823
+ mediaTime: null,
824
+ method: null,
825
+ min: null,
826
+ mode: null,
827
+ name: null,
828
+ navDown: null,
829
+ navDownLeft: null,
830
+ navDownRight: null,
831
+ navLeft: null,
832
+ navNext: null,
833
+ navPrev: null,
834
+ navRight: null,
835
+ navUp: null,
836
+ navUpLeft: null,
837
+ navUpRight: null,
838
+ numOctaves: null,
839
+ observer: null,
840
+ offset: null,
841
+ onAbort: null,
842
+ onActivate: null,
843
+ onAfterPrint: null,
844
+ onBeforePrint: null,
845
+ onBegin: null,
846
+ onCancel: null,
847
+ onCanPlay: null,
848
+ onCanPlayThrough: null,
849
+ onChange: null,
850
+ onClick: null,
851
+ onClose: null,
852
+ onCopy: null,
853
+ onCueChange: null,
854
+ onCut: null,
855
+ onDblClick: null,
856
+ onDrag: null,
857
+ onDragEnd: null,
858
+ onDragEnter: null,
859
+ onDragExit: null,
860
+ onDragLeave: null,
861
+ onDragOver: null,
862
+ onDragStart: null,
863
+ onDrop: null,
864
+ onDurationChange: null,
865
+ onEmptied: null,
866
+ onEnd: null,
867
+ onEnded: null,
868
+ onError: null,
869
+ onFocus: null,
870
+ onFocusIn: null,
871
+ onFocusOut: null,
872
+ onHashChange: null,
873
+ onInput: null,
874
+ onInvalid: null,
875
+ onKeyDown: null,
876
+ onKeyPress: null,
877
+ onKeyUp: null,
878
+ onLoad: null,
879
+ onLoadedData: null,
880
+ onLoadedMetadata: null,
881
+ onLoadStart: null,
882
+ onMessage: null,
883
+ onMouseDown: null,
884
+ onMouseEnter: null,
885
+ onMouseLeave: null,
886
+ onMouseMove: null,
887
+ onMouseOut: null,
888
+ onMouseOver: null,
889
+ onMouseUp: null,
890
+ onMouseWheel: null,
891
+ onOffline: null,
892
+ onOnline: null,
893
+ onPageHide: null,
894
+ onPageShow: null,
895
+ onPaste: null,
896
+ onPause: null,
897
+ onPlay: null,
898
+ onPlaying: null,
899
+ onPopState: null,
900
+ onProgress: null,
901
+ onRateChange: null,
902
+ onRepeat: null,
903
+ onReset: null,
904
+ onResize: null,
905
+ onScroll: null,
906
+ onSeeked: null,
907
+ onSeeking: null,
908
+ onSelect: null,
909
+ onShow: null,
910
+ onStalled: null,
911
+ onStorage: null,
912
+ onSubmit: null,
913
+ onSuspend: null,
914
+ onTimeUpdate: null,
915
+ onToggle: null,
916
+ onUnload: null,
917
+ onVolumeChange: null,
918
+ onWaiting: null,
919
+ onZoom: null,
920
+ opacity: null,
921
+ operator: null,
922
+ order: null,
923
+ orient: null,
924
+ orientation: null,
925
+ origin: null,
926
+ overflow: null,
927
+ overlay: null,
928
+ overlinePosition: S,
929
+ overlineThickness: S,
930
+ paintOrder: null,
931
+ panose1: null,
932
+ path: null,
933
+ pathLength: S,
934
+ patternContentUnits: null,
935
+ patternTransform: null,
936
+ patternUnits: null,
937
+ phase: null,
938
+ ping: C,
939
+ pitch: null,
940
+ playbackOrder: null,
941
+ pointerEvents: null,
942
+ points: null,
943
+ pointsAtX: S,
944
+ pointsAtY: S,
945
+ pointsAtZ: S,
946
+ preserveAlpha: null,
947
+ preserveAspectRatio: null,
948
+ primitiveUnits: null,
949
+ propagate: null,
950
+ property: T,
951
+ r: null,
952
+ radius: null,
953
+ referrerPolicy: null,
954
+ refX: null,
955
+ refY: null,
956
+ rel: T,
957
+ rev: T,
958
+ renderingIntent: null,
959
+ repeatCount: null,
960
+ repeatDur: null,
961
+ requiredExtensions: T,
962
+ requiredFeatures: T,
963
+ requiredFonts: T,
964
+ requiredFormats: T,
965
+ resource: null,
966
+ restart: null,
967
+ result: null,
968
+ rotate: null,
969
+ rx: null,
970
+ ry: null,
971
+ scale: null,
972
+ seed: null,
973
+ shapeRendering: null,
974
+ side: null,
975
+ slope: null,
976
+ snapshotTime: null,
977
+ specularConstant: S,
978
+ specularExponent: S,
979
+ spreadMethod: null,
980
+ spacing: null,
981
+ startOffset: null,
982
+ stdDeviation: null,
983
+ stemh: null,
984
+ stemv: null,
985
+ stitchTiles: null,
986
+ stopColor: null,
987
+ stopOpacity: null,
988
+ strikethroughPosition: S,
989
+ strikethroughThickness: S,
990
+ string: null,
991
+ stroke: null,
992
+ strokeDashArray: T,
993
+ strokeDashOffset: null,
994
+ strokeLineCap: null,
995
+ strokeLineJoin: null,
996
+ strokeMiterLimit: S,
997
+ strokeOpacity: S,
998
+ strokeWidth: null,
999
+ style: null,
1000
+ surfaceScale: S,
1001
+ syncBehavior: null,
1002
+ syncBehaviorDefault: null,
1003
+ syncMaster: null,
1004
+ syncTolerance: null,
1005
+ syncToleranceDefault: null,
1006
+ systemLanguage: T,
1007
+ tabIndex: S,
1008
+ tableValues: null,
1009
+ target: null,
1010
+ targetX: S,
1011
+ targetY: S,
1012
+ textAnchor: null,
1013
+ textDecoration: null,
1014
+ textRendering: null,
1015
+ textLength: null,
1016
+ timelineBegin: null,
1017
+ title: null,
1018
+ transformBehavior: null,
1019
+ type: null,
1020
+ typeOf: T,
1021
+ to: null,
1022
+ transform: null,
1023
+ transformOrigin: null,
1024
+ u1: null,
1025
+ u2: null,
1026
+ underlinePosition: S,
1027
+ underlineThickness: S,
1028
+ unicode: null,
1029
+ unicodeBidi: null,
1030
+ unicodeRange: null,
1031
+ unitsPerEm: S,
1032
+ values: null,
1033
+ vAlphabetic: S,
1034
+ vMathematical: S,
1035
+ vectorEffect: null,
1036
+ vHanging: S,
1037
+ vIdeographic: S,
1038
+ version: null,
1039
+ vertAdvY: S,
1040
+ vertOriginX: S,
1041
+ vertOriginY: S,
1042
+ viewBox: null,
1043
+ viewTarget: null,
1044
+ visibility: null,
1045
+ width: null,
1046
+ widths: null,
1047
+ wordSpacing: null,
1048
+ writingMode: null,
1049
+ x: null,
1050
+ x1: null,
1051
+ x2: null,
1052
+ xChannelSelector: null,
1053
+ xHeight: S,
1054
+ y: null,
1055
+ y1: null,
1056
+ y2: null,
1057
+ yChannelSelector: null,
1058
+ z: null,
1059
+ zoomAndPan: null
1060
+ },
1061
+ space: "svg",
1062
+ transform: M
1063
+ }), I = A({
1064
+ properties: {
1065
+ xLinkActuate: null,
1066
+ xLinkArcRole: null,
1067
+ xLinkHref: null,
1068
+ xLinkRole: null,
1069
+ xLinkShow: null,
1070
+ xLinkTitle: null,
1071
+ xLinkType: null
1072
+ },
1073
+ space: "xlink",
1074
+ transform(e, t) {
1075
+ return "xlink:" + t.slice(5).toLowerCase();
1076
+ }
1077
+ }), L = A({
1078
+ attributes: { xmlnsxlink: "xmlns:xlink" },
1079
+ properties: {
1080
+ xmlnsXLink: null,
1081
+ xmlns: null
1082
+ },
1083
+ space: "xmlns",
1084
+ transform: N
1085
+ }), R = A({
1086
+ properties: {
1087
+ xmlBase: null,
1088
+ xmlLang: null,
1089
+ xmlSpace: null
1090
+ },
1091
+ space: "xml",
1092
+ transform(e, t) {
1093
+ return "xml:" + t.slice(3).toLowerCase();
1094
+ }
1095
+ }), ie = /[A-Z]/g, z = /-[a-z]/g, B = /^data[-\w.:]+$/i;
1096
+ function V(e, t) {
1097
+ let n = g(t), r = t, i = _;
1098
+ if (n in e.normal) return e.property[e.normal[n]];
1099
+ if (n.length > 4 && n.slice(0, 4) === "data" && B.test(t)) {
1100
+ if (t.charAt(4) === "-") {
1101
+ let e = t.slice(5).replace(z, U);
1102
+ r = "data" + e.charAt(0).toUpperCase() + e.slice(1);
1103
+ } else {
1104
+ let e = t.slice(4);
1105
+ if (!z.test(e)) {
1106
+ let n = e.replace(ie, H);
1107
+ n.charAt(0) !== "-" && (n = "-" + n), t = "data" + n;
1108
+ }
1109
+ }
1110
+ i = O;
1111
+ }
1112
+ return new i(r, t);
1113
+ }
1114
+ function H(e) {
1115
+ return "-" + e.toLowerCase();
1116
+ }
1117
+ function U(e) {
1118
+ return e.charAt(1).toUpperCase();
1119
+ }
1120
+ //#endregion
1121
+ //#region ../../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/index.js
1122
+ var W = h([
1123
+ j,
1124
+ P,
1125
+ I,
1126
+ L,
1127
+ R
1128
+ ], "html"), G = h([
1129
+ j,
1130
+ F,
1131
+ I,
1132
+ L,
1133
+ R
1134
+ ], "svg"), K = /* @__PURE__ */ new Set(/* @__PURE__ */ "a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.link.main.map.mark.math.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rb.rp.rt.rtc.ruby.s.samp.script.section.select.slot.small.source.span.strong.style.sub.summary.sup.svg.table.tbody.td.template.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr".split(".")), q = [
1135
+ "p",
1136
+ "h1",
1137
+ "h2",
1138
+ "h3",
1139
+ "h4",
1140
+ "h5",
1141
+ "h6",
1142
+ "li"
1143
+ ];
1144
+ function J(e, t) {
1145
+ return e.type === t || typeof e.type == "object" && e.type.tag === t || e.tag === t;
1146
+ }
1147
+ function Y(e) {
1148
+ return J(e, "text") || J(e, Symbol.for("v-txt"));
1149
+ }
1150
+ function X(e) {
1151
+ return Array.isArray(e.children) || typeof e.children == "string" ? e.children : typeof e.children?.default == "function" ? e.children.default() : [];
1152
+ }
1153
+ function Z(e) {
1154
+ if (!e) return "";
1155
+ if (Array.isArray(e)) return e.map(Z).join("");
1156
+ if (Y(e)) return e.value || e.children || "";
1157
+ let t = X(e);
1158
+ return Array.isArray(t) ? t.map(Z).filter(Boolean).join("") : "";
1159
+ }
1160
+ function Q(e, t = []) {
1161
+ if (Array.isArray(e)) return e.flatMap((e) => Q(e, t));
1162
+ let n = e;
1163
+ return t.some((t) => t === "*" || J(e, t)) && (n = X(e) || e, !Array.isArray(n) && q.some((t) => J(e, t)) && (n = [n])), n;
1164
+ }
1165
+ function $(e, t = []) {
1166
+ return e = Array.isArray(e) ? e : [e], t.length ? e.flatMap((e) => $(Q(e, [t[0]]), t.slice(1))).filter((e) => !(Y(e) && Z(e).trim() === "")) : e;
1167
+ }
1168
+ function ae(e, t = []) {
1169
+ return typeof t == "string" && (t = t.split(/[,\s]/).map((e) => e.trim()).filter(Boolean)), t.length ? $(e, t).reduce((e, t) => (Y(t) ? typeof e[e.length - 1] == "string" ? e[e.length - 1] += t.children : e.push(t.children) : e.push(t), e), []) : e;
1170
+ }
1171
+ //#endregion
1172
+ export { l as _, X as a, K as c, V as d, g as f, s as g, o as h, Y as i, W as l, ne as m, ae as n, Z as o, p, J as r, Q as s, q as t, G as u };