@sit-onyx/mdc 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/MDCRenderer-Bd04ujwA.js +301 -0
- package/dist/components/prose/ProsePre.d.vue.ts +2 -1
- package/dist/index.js +86 -86
- package/dist/{node-Oi5de8aj.js → props-BDcmuO0J.js} +299 -280
- package/dist/{runtime-B-YpCpS_.js → runtime-Cmxarge9.js} +4814 -5380
- package/dist/stub-mdc-imports-CGrl_Mo3.js +3 -0
- package/dist/style.css +1 -1
- package/package.json +11 -12
- package/dist/MDCRenderer-CC1RH5BK.js +0 -290
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
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), e = null), t.exports), s = (e, n) => {
|
|
1
|
+
// \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), e = null), t.exports), s = (e, n) => {
|
|
3
3
|
let r = {};
|
|
4
4
|
for (var i in e) t(r, i, {
|
|
5
5
|
get: e[i],
|
|
@@ -12,19 +12,19 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
12
12
|
enumerable: !(s = n(i, d)) || s.enumerable
|
|
13
13
|
});
|
|
14
14
|
return e;
|
|
15
|
-
}, l = (n, r,
|
|
15
|
+
}, l = (n, r, o) => (o = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule || !a.call(n, "default") ? t(o, "default", {
|
|
16
16
|
value: n,
|
|
17
17
|
enumerable: !0
|
|
18
|
-
}) :
|
|
18
|
+
}) : o, n)), u = /\d/, d = [
|
|
19
19
|
"-",
|
|
20
20
|
"_",
|
|
21
21
|
"/",
|
|
22
22
|
"."
|
|
23
23
|
];
|
|
24
|
-
function
|
|
24
|
+
function f(e = "") {
|
|
25
25
|
if (!u.test(e)) return e !== e.toLowerCase();
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function p(e, t) {
|
|
28
28
|
let n = t ?? d, r = [];
|
|
29
29
|
if (!e || typeof e != "string") return r;
|
|
30
30
|
let i = "", a, o;
|
|
@@ -34,7 +34,7 @@ function f(e, t) {
|
|
|
34
34
|
r.push(i), i = "", a = void 0;
|
|
35
35
|
continue;
|
|
36
36
|
}
|
|
37
|
-
let s =
|
|
37
|
+
let s = f(t);
|
|
38
38
|
if (o === !1) {
|
|
39
39
|
if (a === !1 && s === !0) {
|
|
40
40
|
r.push(i), i = t, a = s;
|
|
@@ -50,133 +50,125 @@ function f(e, t) {
|
|
|
50
50
|
}
|
|
51
51
|
return r.push(i), r;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function ee(e) {
|
|
54
54
|
return e ? e[0].toUpperCase() + e.slice(1) : "";
|
|
55
55
|
}
|
|
56
|
-
function m(e, t) {
|
|
57
|
-
return e ? (Array.isArray(e) ? e : f(e)).map((e) => p(t?.normalize ? e.toLowerCase() : e)).join("") : "";
|
|
58
|
-
}
|
|
59
56
|
function te(e, t) {
|
|
60
|
-
return e ? (Array.isArray(e) ? e :
|
|
57
|
+
return e ? (Array.isArray(e) ? e : p(e)).map((e) => ee(t?.normalize ? e.toLowerCase() : e)).join("") : "";
|
|
58
|
+
}
|
|
59
|
+
function m(e, t) {
|
|
60
|
+
return e ? (Array.isArray(e) ? e : p(e)).map((e) => e.toLowerCase()).join(t ?? "-") : "";
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
//#region ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/schema.js
|
|
62
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/schema.js
|
|
64
63
|
var h = class {
|
|
65
64
|
constructor(e, t, n) {
|
|
66
65
|
this.normal = t, this.property = e, n && (this.space = n);
|
|
67
66
|
}
|
|
68
67
|
};
|
|
69
68
|
h.prototype.normal = {}, h.prototype.property = {}, h.prototype.space = void 0;
|
|
70
|
-
|
|
71
|
-
//#region ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/merge.js
|
|
69
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/merge.js
|
|
72
70
|
function g(e, t) {
|
|
73
71
|
let n = {}, r = {};
|
|
74
72
|
for (let t of e) Object.assign(n, t.property), Object.assign(r, t.normal);
|
|
75
73
|
return new h(n, r, t);
|
|
76
74
|
}
|
|
77
|
-
|
|
78
|
-
//#region ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/normalize.js
|
|
75
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/normalize.js
|
|
79
76
|
function _(e) {
|
|
80
77
|
return e.toLowerCase();
|
|
81
78
|
}
|
|
82
|
-
|
|
83
|
-
//#region ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/info.js
|
|
79
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/info.js
|
|
84
80
|
var v = class {
|
|
85
81
|
constructor(e, t) {
|
|
86
82
|
this.attribute = t, this.property = e;
|
|
87
83
|
}
|
|
88
84
|
};
|
|
89
85
|
v.prototype.attribute = "", v.prototype.booleanish = !1, v.prototype.boolean = !1, v.prototype.commaOrSpaceSeparated = !1, v.prototype.commaSeparated = !1, v.prototype.defined = !1, v.prototype.mustUseProperty = !1, v.prototype.number = !1, v.prototype.overloadedBoolean = !1, v.prototype.property = "", v.prototype.spaceSeparated = !1, v.prototype.space = void 0;
|
|
90
|
-
|
|
91
|
-
//#region ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/types.js
|
|
86
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/types.js
|
|
92
87
|
var y = /* @__PURE__ */ s({
|
|
93
|
-
boolean: () =>
|
|
94
|
-
booleanish: () =>
|
|
95
|
-
commaOrSpaceSeparated: () =>
|
|
96
|
-
commaSeparated: () =>
|
|
97
|
-
number: () =>
|
|
98
|
-
overloadedBoolean: () =>
|
|
99
|
-
spaceSeparated: () =>
|
|
100
|
-
}),
|
|
101
|
-
function
|
|
102
|
-
return 2 ** ++
|
|
88
|
+
boolean: () => b,
|
|
89
|
+
booleanish: () => x,
|
|
90
|
+
commaOrSpaceSeparated: () => E,
|
|
91
|
+
commaSeparated: () => T,
|
|
92
|
+
number: () => C,
|
|
93
|
+
overloadedBoolean: () => S,
|
|
94
|
+
spaceSeparated: () => w
|
|
95
|
+
}), ne = 0, b = D(), x = D(), S = D(), C = D(), w = D(), T = D(), E = D();
|
|
96
|
+
function D() {
|
|
97
|
+
return 2 ** ++ne;
|
|
103
98
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
var k = Object.keys(y), A = class extends v {
|
|
99
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/defined-info.js
|
|
100
|
+
var O = Object.keys(y), k = class extends v {
|
|
107
101
|
constructor(e, t, n, r) {
|
|
108
102
|
let i = -1;
|
|
109
|
-
if (super(e, t),
|
|
110
|
-
let e =
|
|
111
|
-
|
|
103
|
+
if (super(e, t), A(this, "space", r), typeof n == "number") for (; ++i < O.length;) {
|
|
104
|
+
let e = O[i];
|
|
105
|
+
A(this, O[i], (n & y[e]) === y[e]);
|
|
112
106
|
}
|
|
113
107
|
}
|
|
114
108
|
};
|
|
115
|
-
|
|
116
|
-
function
|
|
109
|
+
k.prototype.defined = !0;
|
|
110
|
+
function A(e, t, n) {
|
|
117
111
|
n && (e[t] = n);
|
|
118
112
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
function M(e) {
|
|
113
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/create.js
|
|
114
|
+
function j(e) {
|
|
122
115
|
let t = {}, n = {};
|
|
123
116
|
for (let [r, i] of Object.entries(e.properties)) {
|
|
124
|
-
let a = new
|
|
117
|
+
let a = new k(r, e.transform(e.attributes || {}, r), i, e.space);
|
|
125
118
|
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[_(r)] = r, n[_(a.attribute)] = r;
|
|
126
119
|
}
|
|
127
120
|
return new h(t, n, e.space);
|
|
128
121
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
var N = M({
|
|
122
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/aria.js
|
|
123
|
+
var M = j({
|
|
132
124
|
properties: {
|
|
133
125
|
ariaActiveDescendant: null,
|
|
134
|
-
ariaAtomic:
|
|
126
|
+
ariaAtomic: x,
|
|
135
127
|
ariaAutoComplete: null,
|
|
136
|
-
ariaBusy:
|
|
137
|
-
ariaChecked:
|
|
138
|
-
ariaColCount:
|
|
139
|
-
ariaColIndex:
|
|
140
|
-
ariaColSpan:
|
|
141
|
-
ariaControls:
|
|
128
|
+
ariaBusy: x,
|
|
129
|
+
ariaChecked: x,
|
|
130
|
+
ariaColCount: C,
|
|
131
|
+
ariaColIndex: C,
|
|
132
|
+
ariaColSpan: C,
|
|
133
|
+
ariaControls: w,
|
|
142
134
|
ariaCurrent: null,
|
|
143
|
-
ariaDescribedBy:
|
|
135
|
+
ariaDescribedBy: w,
|
|
144
136
|
ariaDetails: null,
|
|
145
|
-
ariaDisabled:
|
|
146
|
-
ariaDropEffect:
|
|
137
|
+
ariaDisabled: x,
|
|
138
|
+
ariaDropEffect: w,
|
|
147
139
|
ariaErrorMessage: null,
|
|
148
|
-
ariaExpanded:
|
|
149
|
-
ariaFlowTo:
|
|
150
|
-
ariaGrabbed:
|
|
140
|
+
ariaExpanded: x,
|
|
141
|
+
ariaFlowTo: w,
|
|
142
|
+
ariaGrabbed: x,
|
|
151
143
|
ariaHasPopup: null,
|
|
152
|
-
ariaHidden:
|
|
144
|
+
ariaHidden: x,
|
|
153
145
|
ariaInvalid: null,
|
|
154
146
|
ariaKeyShortcuts: null,
|
|
155
147
|
ariaLabel: null,
|
|
156
|
-
ariaLabelledBy:
|
|
157
|
-
ariaLevel:
|
|
148
|
+
ariaLabelledBy: w,
|
|
149
|
+
ariaLevel: C,
|
|
158
150
|
ariaLive: null,
|
|
159
|
-
ariaModal:
|
|
160
|
-
ariaMultiLine:
|
|
161
|
-
ariaMultiSelectable:
|
|
151
|
+
ariaModal: x,
|
|
152
|
+
ariaMultiLine: x,
|
|
153
|
+
ariaMultiSelectable: x,
|
|
162
154
|
ariaOrientation: null,
|
|
163
|
-
ariaOwns:
|
|
155
|
+
ariaOwns: w,
|
|
164
156
|
ariaPlaceholder: null,
|
|
165
|
-
ariaPosInSet:
|
|
166
|
-
ariaPressed:
|
|
167
|
-
ariaReadOnly:
|
|
157
|
+
ariaPosInSet: C,
|
|
158
|
+
ariaPressed: x,
|
|
159
|
+
ariaReadOnly: x,
|
|
168
160
|
ariaRelevant: null,
|
|
169
|
-
ariaRequired:
|
|
170
|
-
ariaRoleDescription:
|
|
171
|
-
ariaRowCount:
|
|
172
|
-
ariaRowIndex:
|
|
173
|
-
ariaRowSpan:
|
|
174
|
-
ariaSelected:
|
|
175
|
-
ariaSetSize:
|
|
161
|
+
ariaRequired: x,
|
|
162
|
+
ariaRoleDescription: w,
|
|
163
|
+
ariaRowCount: C,
|
|
164
|
+
ariaRowIndex: C,
|
|
165
|
+
ariaRowSpan: C,
|
|
166
|
+
ariaSelected: x,
|
|
167
|
+
ariaSetSize: C,
|
|
176
168
|
ariaSort: null,
|
|
177
|
-
ariaValueMax:
|
|
178
|
-
ariaValueMin:
|
|
179
|
-
ariaValueNow:
|
|
169
|
+
ariaValueMax: C,
|
|
170
|
+
ariaValueMin: C,
|
|
171
|
+
ariaValueNow: C,
|
|
180
172
|
ariaValueText: null,
|
|
181
173
|
role: null
|
|
182
174
|
},
|
|
@@ -184,19 +176,16 @@ var N = M({
|
|
|
184
176
|
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
|
185
177
|
}
|
|
186
178
|
});
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
function P(e, t) {
|
|
179
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-sensitive-transform.js
|
|
180
|
+
function N(e, t) {
|
|
190
181
|
return t in e ? e[t] : t;
|
|
191
182
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
return P(e, t.toLowerCase());
|
|
183
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-insensitive-transform.js
|
|
184
|
+
function P(e, t) {
|
|
185
|
+
return N(e, t.toLowerCase());
|
|
196
186
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
var ne = M({
|
|
187
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/html.js
|
|
188
|
+
var F = j({
|
|
200
189
|
attributes: {
|
|
201
190
|
acceptcharset: "accept-charset",
|
|
202
191
|
classname: "class",
|
|
@@ -211,50 +200,50 @@ var ne = M({
|
|
|
211
200
|
],
|
|
212
201
|
properties: {
|
|
213
202
|
abbr: null,
|
|
214
|
-
accept:
|
|
215
|
-
acceptCharset:
|
|
216
|
-
accessKey:
|
|
203
|
+
accept: T,
|
|
204
|
+
acceptCharset: w,
|
|
205
|
+
accessKey: w,
|
|
217
206
|
action: null,
|
|
218
207
|
allow: null,
|
|
219
|
-
allowFullScreen:
|
|
220
|
-
allowPaymentRequest:
|
|
221
|
-
allowUserMedia:
|
|
222
|
-
alpha:
|
|
208
|
+
allowFullScreen: b,
|
|
209
|
+
allowPaymentRequest: b,
|
|
210
|
+
allowUserMedia: b,
|
|
211
|
+
alpha: b,
|
|
223
212
|
alt: null,
|
|
224
213
|
as: null,
|
|
225
|
-
async:
|
|
214
|
+
async: b,
|
|
226
215
|
autoCapitalize: null,
|
|
227
|
-
autoComplete:
|
|
228
|
-
autoFocus:
|
|
229
|
-
autoPlay:
|
|
230
|
-
blocking:
|
|
216
|
+
autoComplete: w,
|
|
217
|
+
autoFocus: b,
|
|
218
|
+
autoPlay: b,
|
|
219
|
+
blocking: w,
|
|
231
220
|
capture: null,
|
|
232
221
|
charSet: null,
|
|
233
|
-
checked:
|
|
222
|
+
checked: b,
|
|
234
223
|
cite: null,
|
|
235
|
-
className:
|
|
224
|
+
className: w,
|
|
236
225
|
closedBy: null,
|
|
237
226
|
colorSpace: null,
|
|
238
|
-
cols:
|
|
239
|
-
colSpan:
|
|
227
|
+
cols: C,
|
|
228
|
+
colSpan: C,
|
|
240
229
|
command: null,
|
|
241
230
|
commandFor: null,
|
|
242
231
|
content: null,
|
|
243
|
-
contentEditable:
|
|
244
|
-
controls:
|
|
245
|
-
controlsList:
|
|
246
|
-
coords:
|
|
232
|
+
contentEditable: x,
|
|
233
|
+
controls: b,
|
|
234
|
+
controlsList: w,
|
|
235
|
+
coords: C | T,
|
|
247
236
|
crossOrigin: null,
|
|
248
237
|
data: null,
|
|
249
238
|
dateTime: null,
|
|
250
239
|
decoding: null,
|
|
251
|
-
default:
|
|
252
|
-
defer:
|
|
240
|
+
default: b,
|
|
241
|
+
defer: b,
|
|
253
242
|
dir: null,
|
|
254
243
|
dirName: null,
|
|
255
|
-
disabled:
|
|
256
|
-
download:
|
|
257
|
-
draggable:
|
|
244
|
+
disabled: b,
|
|
245
|
+
download: S,
|
|
246
|
+
draggable: x,
|
|
258
247
|
encType: null,
|
|
259
248
|
enterKeyHint: null,
|
|
260
249
|
fetchPriority: null,
|
|
@@ -262,50 +251,50 @@ var ne = M({
|
|
|
262
251
|
formAction: null,
|
|
263
252
|
formEncType: null,
|
|
264
253
|
formMethod: null,
|
|
265
|
-
formNoValidate:
|
|
254
|
+
formNoValidate: b,
|
|
266
255
|
formTarget: null,
|
|
267
|
-
headers:
|
|
268
|
-
height:
|
|
269
|
-
hidden:
|
|
270
|
-
high:
|
|
256
|
+
headers: w,
|
|
257
|
+
height: C,
|
|
258
|
+
hidden: S,
|
|
259
|
+
high: C,
|
|
271
260
|
href: null,
|
|
272
261
|
hrefLang: null,
|
|
273
|
-
htmlFor:
|
|
274
|
-
httpEquiv:
|
|
262
|
+
htmlFor: w,
|
|
263
|
+
httpEquiv: w,
|
|
275
264
|
id: null,
|
|
276
265
|
imageSizes: null,
|
|
277
266
|
imageSrcSet: null,
|
|
278
|
-
inert:
|
|
267
|
+
inert: b,
|
|
279
268
|
inputMode: null,
|
|
280
269
|
integrity: null,
|
|
281
270
|
is: null,
|
|
282
|
-
isMap:
|
|
271
|
+
isMap: b,
|
|
283
272
|
itemId: null,
|
|
284
|
-
itemProp:
|
|
285
|
-
itemRef:
|
|
286
|
-
itemScope:
|
|
287
|
-
itemType:
|
|
273
|
+
itemProp: w,
|
|
274
|
+
itemRef: w,
|
|
275
|
+
itemScope: b,
|
|
276
|
+
itemType: w,
|
|
288
277
|
kind: null,
|
|
289
278
|
label: null,
|
|
290
279
|
lang: null,
|
|
291
280
|
language: null,
|
|
292
281
|
list: null,
|
|
293
282
|
loading: null,
|
|
294
|
-
loop:
|
|
295
|
-
low:
|
|
283
|
+
loop: b,
|
|
284
|
+
low: C,
|
|
296
285
|
manifest: null,
|
|
297
286
|
max: null,
|
|
298
|
-
maxLength:
|
|
287
|
+
maxLength: C,
|
|
299
288
|
media: null,
|
|
300
289
|
method: null,
|
|
301
290
|
min: null,
|
|
302
|
-
minLength:
|
|
303
|
-
multiple:
|
|
304
|
-
muted:
|
|
291
|
+
minLength: C,
|
|
292
|
+
multiple: b,
|
|
293
|
+
muted: b,
|
|
305
294
|
name: null,
|
|
306
295
|
nonce: null,
|
|
307
|
-
noModule:
|
|
308
|
-
noValidate:
|
|
296
|
+
noModule: b,
|
|
297
|
+
noValidate: b,
|
|
309
298
|
onAbort: null,
|
|
310
299
|
onAfterPrint: null,
|
|
311
300
|
onAuxClick: null,
|
|
@@ -394,67 +383,67 @@ var ne = M({
|
|
|
394
383
|
onVolumeChange: null,
|
|
395
384
|
onWaiting: null,
|
|
396
385
|
onWheel: null,
|
|
397
|
-
open:
|
|
398
|
-
optimum:
|
|
386
|
+
open: b,
|
|
387
|
+
optimum: C,
|
|
399
388
|
pattern: null,
|
|
400
|
-
ping:
|
|
389
|
+
ping: w,
|
|
401
390
|
placeholder: null,
|
|
402
|
-
playsInline:
|
|
391
|
+
playsInline: b,
|
|
403
392
|
popover: null,
|
|
404
393
|
popoverTarget: null,
|
|
405
394
|
popoverTargetAction: null,
|
|
406
395
|
poster: null,
|
|
407
396
|
preload: null,
|
|
408
|
-
readOnly:
|
|
397
|
+
readOnly: b,
|
|
409
398
|
referrerPolicy: null,
|
|
410
|
-
rel:
|
|
411
|
-
required:
|
|
412
|
-
reversed:
|
|
413
|
-
rows:
|
|
414
|
-
rowSpan:
|
|
415
|
-
sandbox:
|
|
399
|
+
rel: w,
|
|
400
|
+
required: b,
|
|
401
|
+
reversed: b,
|
|
402
|
+
rows: C,
|
|
403
|
+
rowSpan: C,
|
|
404
|
+
sandbox: w,
|
|
416
405
|
scope: null,
|
|
417
|
-
scoped:
|
|
418
|
-
seamless:
|
|
419
|
-
selected:
|
|
420
|
-
shadowRootClonable:
|
|
421
|
-
shadowRootCustomElementRegistry:
|
|
422
|
-
shadowRootDelegatesFocus:
|
|
406
|
+
scoped: b,
|
|
407
|
+
seamless: b,
|
|
408
|
+
selected: b,
|
|
409
|
+
shadowRootClonable: b,
|
|
410
|
+
shadowRootCustomElementRegistry: b,
|
|
411
|
+
shadowRootDelegatesFocus: b,
|
|
423
412
|
shadowRootMode: null,
|
|
424
|
-
shadowRootSerializable:
|
|
413
|
+
shadowRootSerializable: b,
|
|
425
414
|
shape: null,
|
|
426
|
-
size:
|
|
415
|
+
size: C,
|
|
427
416
|
sizes: null,
|
|
428
417
|
slot: null,
|
|
429
|
-
span:
|
|
430
|
-
spellCheck:
|
|
418
|
+
span: C,
|
|
419
|
+
spellCheck: x,
|
|
431
420
|
src: null,
|
|
432
421
|
srcDoc: null,
|
|
433
422
|
srcLang: null,
|
|
434
423
|
srcSet: null,
|
|
435
|
-
start:
|
|
424
|
+
start: C,
|
|
436
425
|
step: null,
|
|
437
426
|
style: null,
|
|
438
|
-
tabIndex:
|
|
427
|
+
tabIndex: C,
|
|
439
428
|
target: null,
|
|
440
429
|
title: null,
|
|
441
430
|
translate: null,
|
|
442
431
|
type: null,
|
|
443
|
-
typeMustMatch:
|
|
432
|
+
typeMustMatch: b,
|
|
444
433
|
useMap: null,
|
|
445
|
-
value:
|
|
446
|
-
width:
|
|
434
|
+
value: x,
|
|
435
|
+
width: C,
|
|
447
436
|
wrap: null,
|
|
448
437
|
writingSuggestions: null,
|
|
449
438
|
align: null,
|
|
450
439
|
aLink: null,
|
|
451
|
-
archive:
|
|
440
|
+
archive: w,
|
|
452
441
|
axis: null,
|
|
453
442
|
background: null,
|
|
454
443
|
bgColor: null,
|
|
455
|
-
border:
|
|
444
|
+
border: C,
|
|
456
445
|
borderColor: null,
|
|
457
|
-
bottomMargin:
|
|
446
|
+
bottomMargin: C,
|
|
458
447
|
cellPadding: null,
|
|
459
448
|
cellSpacing: null,
|
|
460
449
|
char: null,
|
|
@@ -465,57 +454,57 @@ var ne = M({
|
|
|
465
454
|
codeBase: null,
|
|
466
455
|
codeType: null,
|
|
467
456
|
color: null,
|
|
468
|
-
compact:
|
|
469
|
-
declare:
|
|
457
|
+
compact: b,
|
|
458
|
+
declare: b,
|
|
470
459
|
event: null,
|
|
471
460
|
face: null,
|
|
472
461
|
frame: null,
|
|
473
462
|
frameBorder: null,
|
|
474
|
-
hSpace:
|
|
475
|
-
leftMargin:
|
|
463
|
+
hSpace: C,
|
|
464
|
+
leftMargin: C,
|
|
476
465
|
link: null,
|
|
477
466
|
longDesc: null,
|
|
478
467
|
lowSrc: null,
|
|
479
|
-
marginHeight:
|
|
480
|
-
marginWidth:
|
|
481
|
-
noResize:
|
|
482
|
-
noHref:
|
|
483
|
-
noShade:
|
|
484
|
-
noWrap:
|
|
468
|
+
marginHeight: C,
|
|
469
|
+
marginWidth: C,
|
|
470
|
+
noResize: b,
|
|
471
|
+
noHref: b,
|
|
472
|
+
noShade: b,
|
|
473
|
+
noWrap: b,
|
|
485
474
|
object: null,
|
|
486
475
|
profile: null,
|
|
487
476
|
prompt: null,
|
|
488
477
|
rev: null,
|
|
489
|
-
rightMargin:
|
|
478
|
+
rightMargin: C,
|
|
490
479
|
rules: null,
|
|
491
480
|
scheme: null,
|
|
492
|
-
scrolling:
|
|
481
|
+
scrolling: x,
|
|
493
482
|
standby: null,
|
|
494
483
|
summary: null,
|
|
495
484
|
text: null,
|
|
496
|
-
topMargin:
|
|
485
|
+
topMargin: C,
|
|
497
486
|
valueType: null,
|
|
498
487
|
version: null,
|
|
499
488
|
vAlign: null,
|
|
500
489
|
vLink: null,
|
|
501
|
-
vSpace:
|
|
490
|
+
vSpace: C,
|
|
502
491
|
allowTransparency: null,
|
|
503
492
|
autoCorrect: null,
|
|
504
493
|
autoSave: null,
|
|
505
|
-
credentialless:
|
|
506
|
-
disablePictureInPicture:
|
|
507
|
-
disableRemotePlayback:
|
|
508
|
-
exportParts:
|
|
509
|
-
part:
|
|
494
|
+
credentialless: b,
|
|
495
|
+
disablePictureInPicture: b,
|
|
496
|
+
disableRemotePlayback: b,
|
|
497
|
+
exportParts: T,
|
|
498
|
+
part: w,
|
|
510
499
|
prefix: null,
|
|
511
500
|
property: null,
|
|
512
|
-
results:
|
|
501
|
+
results: C,
|
|
513
502
|
security: null,
|
|
514
503
|
unselectable: null
|
|
515
504
|
},
|
|
516
505
|
space: "html",
|
|
517
|
-
transform:
|
|
518
|
-
}),
|
|
506
|
+
transform: P
|
|
507
|
+
}), re = j({
|
|
519
508
|
attributes: {
|
|
520
509
|
accentHeight: "accent-height",
|
|
521
510
|
alignmentBaseline: "alignment-baseline",
|
|
@@ -692,29 +681,29 @@ var ne = M({
|
|
|
692
681
|
timelineBegin: "timelinebegin"
|
|
693
682
|
},
|
|
694
683
|
properties: {
|
|
695
|
-
about:
|
|
696
|
-
accentHeight:
|
|
684
|
+
about: E,
|
|
685
|
+
accentHeight: C,
|
|
697
686
|
accumulate: null,
|
|
698
687
|
additive: null,
|
|
699
688
|
alignmentBaseline: null,
|
|
700
|
-
alphabetic:
|
|
701
|
-
amplitude:
|
|
689
|
+
alphabetic: C,
|
|
690
|
+
amplitude: C,
|
|
702
691
|
arabicForm: null,
|
|
703
|
-
ascent:
|
|
692
|
+
ascent: C,
|
|
704
693
|
attributeName: null,
|
|
705
694
|
attributeType: null,
|
|
706
|
-
azimuth:
|
|
695
|
+
azimuth: C,
|
|
707
696
|
bandwidth: null,
|
|
708
697
|
baselineShift: null,
|
|
709
698
|
baseFrequency: null,
|
|
710
699
|
baseProfile: null,
|
|
711
700
|
bbox: null,
|
|
712
701
|
begin: null,
|
|
713
|
-
bias:
|
|
702
|
+
bias: C,
|
|
714
703
|
by: null,
|
|
715
704
|
calcMode: null,
|
|
716
|
-
capHeight:
|
|
717
|
-
className:
|
|
705
|
+
capHeight: C,
|
|
706
|
+
className: w,
|
|
718
707
|
clip: null,
|
|
719
708
|
clipPath: null,
|
|
720
709
|
clipPathUnits: null,
|
|
@@ -734,26 +723,26 @@ var ne = M({
|
|
|
734
723
|
d: null,
|
|
735
724
|
dataType: null,
|
|
736
725
|
defaultAction: null,
|
|
737
|
-
descent:
|
|
738
|
-
diffuseConstant:
|
|
726
|
+
descent: C,
|
|
727
|
+
diffuseConstant: C,
|
|
739
728
|
direction: null,
|
|
740
729
|
display: null,
|
|
741
730
|
dur: null,
|
|
742
|
-
divisor:
|
|
731
|
+
divisor: C,
|
|
743
732
|
dominantBaseline: null,
|
|
744
|
-
download:
|
|
733
|
+
download: b,
|
|
745
734
|
dx: null,
|
|
746
735
|
dy: null,
|
|
747
736
|
edgeMode: null,
|
|
748
737
|
editable: null,
|
|
749
|
-
elevation:
|
|
738
|
+
elevation: C,
|
|
750
739
|
enableBackground: null,
|
|
751
740
|
end: null,
|
|
752
741
|
event: null,
|
|
753
|
-
exponent:
|
|
742
|
+
exponent: C,
|
|
754
743
|
externalResourcesRequired: null,
|
|
755
744
|
fill: null,
|
|
756
|
-
fillOpacity:
|
|
745
|
+
fillOpacity: C,
|
|
757
746
|
fillRule: null,
|
|
758
747
|
filter: null,
|
|
759
748
|
filterRes: null,
|
|
@@ -774,37 +763,37 @@ var ne = M({
|
|
|
774
763
|
from: null,
|
|
775
764
|
fx: null,
|
|
776
765
|
fy: null,
|
|
777
|
-
g1:
|
|
778
|
-
g2:
|
|
779
|
-
glyphName:
|
|
766
|
+
g1: T,
|
|
767
|
+
g2: T,
|
|
768
|
+
glyphName: T,
|
|
780
769
|
glyphOrientationHorizontal: null,
|
|
781
770
|
glyphOrientationVertical: null,
|
|
782
771
|
glyphRef: null,
|
|
783
772
|
gradientTransform: null,
|
|
784
773
|
gradientUnits: null,
|
|
785
774
|
handler: null,
|
|
786
|
-
hanging:
|
|
775
|
+
hanging: C,
|
|
787
776
|
hatchContentUnits: null,
|
|
788
777
|
hatchUnits: null,
|
|
789
778
|
height: null,
|
|
790
779
|
href: null,
|
|
791
780
|
hrefLang: null,
|
|
792
|
-
horizAdvX:
|
|
793
|
-
horizOriginX:
|
|
794
|
-
horizOriginY:
|
|
781
|
+
horizAdvX: C,
|
|
782
|
+
horizOriginX: C,
|
|
783
|
+
horizOriginY: C,
|
|
795
784
|
id: null,
|
|
796
|
-
ideographic:
|
|
785
|
+
ideographic: C,
|
|
797
786
|
imageRendering: null,
|
|
798
787
|
initialVisibility: null,
|
|
799
788
|
in: null,
|
|
800
789
|
in2: null,
|
|
801
|
-
intercept:
|
|
802
|
-
k:
|
|
803
|
-
k1:
|
|
804
|
-
k2:
|
|
805
|
-
k3:
|
|
806
|
-
k4:
|
|
807
|
-
kernelMatrix:
|
|
790
|
+
intercept: C,
|
|
791
|
+
k: C,
|
|
792
|
+
k1: C,
|
|
793
|
+
k2: C,
|
|
794
|
+
k3: C,
|
|
795
|
+
k4: C,
|
|
796
|
+
kernelMatrix: E,
|
|
808
797
|
kernelUnitLength: null,
|
|
809
798
|
keyPoints: null,
|
|
810
799
|
keySplines: null,
|
|
@@ -814,7 +803,7 @@ var ne = M({
|
|
|
814
803
|
lengthAdjust: null,
|
|
815
804
|
letterSpacing: null,
|
|
816
805
|
lightingColor: null,
|
|
817
|
-
limitingConeAngle:
|
|
806
|
+
limitingConeAngle: C,
|
|
818
807
|
local: null,
|
|
819
808
|
markerEnd: null,
|
|
820
809
|
markerMid: null,
|
|
@@ -831,7 +820,7 @@ var ne = M({
|
|
|
831
820
|
media: null,
|
|
832
821
|
mediaCharacterEncoding: null,
|
|
833
822
|
mediaContentEncodings: null,
|
|
834
|
-
mediaSize:
|
|
823
|
+
mediaSize: C,
|
|
835
824
|
mediaTime: null,
|
|
836
825
|
method: null,
|
|
837
826
|
min: null,
|
|
@@ -937,43 +926,43 @@ var ne = M({
|
|
|
937
926
|
origin: null,
|
|
938
927
|
overflow: null,
|
|
939
928
|
overlay: null,
|
|
940
|
-
overlinePosition:
|
|
941
|
-
overlineThickness:
|
|
929
|
+
overlinePosition: C,
|
|
930
|
+
overlineThickness: C,
|
|
942
931
|
paintOrder: null,
|
|
943
932
|
panose1: null,
|
|
944
933
|
path: null,
|
|
945
|
-
pathLength:
|
|
934
|
+
pathLength: C,
|
|
946
935
|
patternContentUnits: null,
|
|
947
936
|
patternTransform: null,
|
|
948
937
|
patternUnits: null,
|
|
949
938
|
phase: null,
|
|
950
|
-
ping:
|
|
939
|
+
ping: w,
|
|
951
940
|
pitch: null,
|
|
952
941
|
playbackOrder: null,
|
|
953
942
|
pointerEvents: null,
|
|
954
943
|
points: null,
|
|
955
|
-
pointsAtX:
|
|
956
|
-
pointsAtY:
|
|
957
|
-
pointsAtZ:
|
|
944
|
+
pointsAtX: C,
|
|
945
|
+
pointsAtY: C,
|
|
946
|
+
pointsAtZ: C,
|
|
958
947
|
preserveAlpha: null,
|
|
959
948
|
preserveAspectRatio: null,
|
|
960
949
|
primitiveUnits: null,
|
|
961
950
|
propagate: null,
|
|
962
|
-
property:
|
|
951
|
+
property: E,
|
|
963
952
|
r: null,
|
|
964
953
|
radius: null,
|
|
965
954
|
referrerPolicy: null,
|
|
966
955
|
refX: null,
|
|
967
956
|
refY: null,
|
|
968
|
-
rel:
|
|
969
|
-
rev:
|
|
957
|
+
rel: E,
|
|
958
|
+
rev: E,
|
|
970
959
|
renderingIntent: null,
|
|
971
960
|
repeatCount: null,
|
|
972
961
|
repeatDur: null,
|
|
973
|
-
requiredExtensions:
|
|
974
|
-
requiredFeatures:
|
|
975
|
-
requiredFonts:
|
|
976
|
-
requiredFormats:
|
|
962
|
+
requiredExtensions: E,
|
|
963
|
+
requiredFeatures: E,
|
|
964
|
+
requiredFonts: E,
|
|
965
|
+
requiredFormats: E,
|
|
977
966
|
resource: null,
|
|
978
967
|
restart: null,
|
|
979
968
|
result: null,
|
|
@@ -986,8 +975,8 @@ var ne = M({
|
|
|
986
975
|
side: null,
|
|
987
976
|
slope: null,
|
|
988
977
|
snapshotTime: null,
|
|
989
|
-
specularConstant:
|
|
990
|
-
specularExponent:
|
|
978
|
+
specularConstant: C,
|
|
979
|
+
specularExponent: C,
|
|
991
980
|
spreadMethod: null,
|
|
992
981
|
spacing: null,
|
|
993
982
|
startOffset: null,
|
|
@@ -997,30 +986,30 @@ var ne = M({
|
|
|
997
986
|
stitchTiles: null,
|
|
998
987
|
stopColor: null,
|
|
999
988
|
stopOpacity: null,
|
|
1000
|
-
strikethroughPosition:
|
|
1001
|
-
strikethroughThickness:
|
|
989
|
+
strikethroughPosition: C,
|
|
990
|
+
strikethroughThickness: C,
|
|
1002
991
|
string: null,
|
|
1003
992
|
stroke: null,
|
|
1004
|
-
strokeDashArray:
|
|
993
|
+
strokeDashArray: E,
|
|
1005
994
|
strokeDashOffset: null,
|
|
1006
995
|
strokeLineCap: null,
|
|
1007
996
|
strokeLineJoin: null,
|
|
1008
|
-
strokeMiterLimit:
|
|
1009
|
-
strokeOpacity:
|
|
997
|
+
strokeMiterLimit: C,
|
|
998
|
+
strokeOpacity: C,
|
|
1010
999
|
strokeWidth: null,
|
|
1011
1000
|
style: null,
|
|
1012
|
-
surfaceScale:
|
|
1001
|
+
surfaceScale: C,
|
|
1013
1002
|
syncBehavior: null,
|
|
1014
1003
|
syncBehaviorDefault: null,
|
|
1015
1004
|
syncMaster: null,
|
|
1016
1005
|
syncTolerance: null,
|
|
1017
1006
|
syncToleranceDefault: null,
|
|
1018
|
-
systemLanguage:
|
|
1019
|
-
tabIndex:
|
|
1007
|
+
systemLanguage: E,
|
|
1008
|
+
tabIndex: C,
|
|
1020
1009
|
tableValues: null,
|
|
1021
1010
|
target: null,
|
|
1022
|
-
targetX:
|
|
1023
|
-
targetY:
|
|
1011
|
+
targetX: C,
|
|
1012
|
+
targetY: C,
|
|
1024
1013
|
textAnchor: null,
|
|
1025
1014
|
textDecoration: null,
|
|
1026
1015
|
textRendering: null,
|
|
@@ -1029,28 +1018,28 @@ var ne = M({
|
|
|
1029
1018
|
title: null,
|
|
1030
1019
|
transformBehavior: null,
|
|
1031
1020
|
type: null,
|
|
1032
|
-
typeOf:
|
|
1021
|
+
typeOf: E,
|
|
1033
1022
|
to: null,
|
|
1034
1023
|
transform: null,
|
|
1035
1024
|
transformOrigin: null,
|
|
1036
1025
|
u1: null,
|
|
1037
1026
|
u2: null,
|
|
1038
|
-
underlinePosition:
|
|
1039
|
-
underlineThickness:
|
|
1027
|
+
underlinePosition: C,
|
|
1028
|
+
underlineThickness: C,
|
|
1040
1029
|
unicode: null,
|
|
1041
1030
|
unicodeBidi: null,
|
|
1042
1031
|
unicodeRange: null,
|
|
1043
|
-
unitsPerEm:
|
|
1032
|
+
unitsPerEm: C,
|
|
1044
1033
|
values: null,
|
|
1045
|
-
vAlphabetic:
|
|
1046
|
-
vMathematical:
|
|
1034
|
+
vAlphabetic: C,
|
|
1035
|
+
vMathematical: C,
|
|
1047
1036
|
vectorEffect: null,
|
|
1048
|
-
vHanging:
|
|
1049
|
-
vIdeographic:
|
|
1037
|
+
vHanging: C,
|
|
1038
|
+
vIdeographic: C,
|
|
1050
1039
|
version: null,
|
|
1051
|
-
vertAdvY:
|
|
1052
|
-
vertOriginX:
|
|
1053
|
-
vertOriginY:
|
|
1040
|
+
vertAdvY: C,
|
|
1041
|
+
vertOriginX: C,
|
|
1042
|
+
vertOriginY: C,
|
|
1054
1043
|
viewBox: null,
|
|
1055
1044
|
viewTarget: null,
|
|
1056
1045
|
visibility: null,
|
|
@@ -1062,7 +1051,7 @@ var ne = M({
|
|
|
1062
1051
|
x1: null,
|
|
1063
1052
|
x2: null,
|
|
1064
1053
|
xChannelSelector: null,
|
|
1065
|
-
xHeight:
|
|
1054
|
+
xHeight: C,
|
|
1066
1055
|
y: null,
|
|
1067
1056
|
y1: null,
|
|
1068
1057
|
y2: null,
|
|
@@ -1071,8 +1060,8 @@ var ne = M({
|
|
|
1071
1060
|
zoomAndPan: null
|
|
1072
1061
|
},
|
|
1073
1062
|
space: "svg",
|
|
1074
|
-
transform:
|
|
1075
|
-
}),
|
|
1063
|
+
transform: N
|
|
1064
|
+
}), I = j({
|
|
1076
1065
|
properties: {
|
|
1077
1066
|
xLinkActuate: null,
|
|
1078
1067
|
xLinkArcRole: null,
|
|
@@ -1086,15 +1075,15 @@ var ne = M({
|
|
|
1086
1075
|
transform(e, t) {
|
|
1087
1076
|
return "xlink:" + t.slice(5).toLowerCase();
|
|
1088
1077
|
}
|
|
1089
|
-
}),
|
|
1078
|
+
}), L = j({
|
|
1090
1079
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
1091
1080
|
properties: {
|
|
1092
1081
|
xmlnsXLink: null,
|
|
1093
1082
|
xmlns: null
|
|
1094
1083
|
},
|
|
1095
1084
|
space: "xmlns",
|
|
1096
|
-
transform:
|
|
1097
|
-
}),
|
|
1085
|
+
transform: P
|
|
1086
|
+
}), R = j({
|
|
1098
1087
|
properties: {
|
|
1099
1088
|
xmlBase: null,
|
|
1100
1089
|
xmlLang: null,
|
|
@@ -1104,22 +1093,22 @@ var ne = M({
|
|
|
1104
1093
|
transform(e, t) {
|
|
1105
1094
|
return "xml:" + t.slice(3).toLowerCase();
|
|
1106
1095
|
}
|
|
1107
|
-
}),
|
|
1096
|
+
}), ie = /[A-Z]/g, z = /-[a-z]/g, B = /^data[-\w.:]+$/i;
|
|
1108
1097
|
function V(e, t) {
|
|
1109
1098
|
let n = _(t), r = t, i = v;
|
|
1110
1099
|
if (n in e.normal) return e.property[e.normal[n]];
|
|
1111
|
-
if (n.length > 4 && n.slice(0, 4) === "data" &&
|
|
1100
|
+
if (n.length > 4 && n.slice(0, 4) === "data" && B.test(t)) {
|
|
1112
1101
|
if (t.charAt(4) === "-") {
|
|
1113
|
-
let e = t.slice(5).replace(
|
|
1102
|
+
let e = t.slice(5).replace(z, U);
|
|
1114
1103
|
r = "data" + e.charAt(0).toUpperCase() + e.slice(1);
|
|
1115
1104
|
} else {
|
|
1116
1105
|
let e = t.slice(4);
|
|
1117
|
-
if (!
|
|
1118
|
-
let n = e.replace(
|
|
1106
|
+
if (!z.test(e)) {
|
|
1107
|
+
let n = e.replace(ie, H);
|
|
1119
1108
|
n.charAt(0) !== "-" && (n = "-" + n), t = "data" + n;
|
|
1120
1109
|
}
|
|
1121
1110
|
}
|
|
1122
|
-
i =
|
|
1111
|
+
i = k;
|
|
1123
1112
|
}
|
|
1124
1113
|
return new i(r, t);
|
|
1125
1114
|
}
|
|
@@ -1129,20 +1118,19 @@ function H(e) {
|
|
|
1129
1118
|
function U(e) {
|
|
1130
1119
|
return e.charAt(1).toUpperCase();
|
|
1131
1120
|
}
|
|
1132
|
-
|
|
1133
|
-
//#region ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/index.js
|
|
1121
|
+
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/index.js
|
|
1134
1122
|
var W = g([
|
|
1135
|
-
|
|
1136
|
-
|
|
1123
|
+
M,
|
|
1124
|
+
F,
|
|
1125
|
+
I,
|
|
1137
1126
|
L,
|
|
1138
|
-
R
|
|
1139
|
-
z
|
|
1127
|
+
R
|
|
1140
1128
|
], "html"), G = g([
|
|
1141
|
-
|
|
1129
|
+
M,
|
|
1130
|
+
re,
|
|
1142
1131
|
I,
|
|
1143
1132
|
L,
|
|
1144
|
-
R
|
|
1145
|
-
z
|
|
1133
|
+
R
|
|
1146
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 = [
|
|
1147
1135
|
"p",
|
|
1148
1136
|
"h1",
|
|
@@ -1180,5 +1168,36 @@ function $(e, t = []) {
|
|
|
1180
1168
|
function ae(e, t = []) {
|
|
1181
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;
|
|
1182
1170
|
}
|
|
1183
|
-
|
|
1184
|
-
|
|
1171
|
+
// ../../node_modules/.pnpm/@nuxtjs+mdc@0.23.2_@nuxt+schema@4.6.2_confbox@0.3.1_dotenv@17.4.2_giget@3.3.1_jiti@2.7._0234d74d52180426a5ac8e712d0222d6/node_modules/@nuxtjs/mdc/dist/runtime/parser/utils/props.js
|
|
1172
|
+
var oe = ["object"], se = [
|
|
1173
|
+
"srcdoc",
|
|
1174
|
+
"formaction",
|
|
1175
|
+
"innerhtml",
|
|
1176
|
+
"outerhtml"
|
|
1177
|
+
], ce = [
|
|
1178
|
+
"javascript:",
|
|
1179
|
+
"data:text/html",
|
|
1180
|
+
"vbscript:",
|
|
1181
|
+
"data:text/javascript",
|
|
1182
|
+
"data:text/vbscript",
|
|
1183
|
+
"data:text/css",
|
|
1184
|
+
"data:text/plain",
|
|
1185
|
+
"data:text/xml"
|
|
1186
|
+
];
|
|
1187
|
+
function le(e) {
|
|
1188
|
+
let t = decodeURIComponent(e).replace(/&#x([0-9a-f]+);?/gi, "").replace(/&#(\d+);?/g, "").replace(/&[a-z]+;?/gi, "");
|
|
1189
|
+
try {
|
|
1190
|
+
let e = new URL(t, "http://example.com");
|
|
1191
|
+
if (e.origin === "http://example.com") return !0;
|
|
1192
|
+
if (ce.some((t) => e.href.toLowerCase().startsWith(t))) return !1;
|
|
1193
|
+
} catch {
|
|
1194
|
+
return !1;
|
|
1195
|
+
}
|
|
1196
|
+
return !0;
|
|
1197
|
+
}
|
|
1198
|
+
var ue = (e, t) => (e = e.toLowerCase().replace(/^(?::|v-bind:)?[.^]?/, "").replace(/^(@|v-on:)/, "on"), e.startsWith("on") || se.includes(e) ? !1 : e === "href" || e === "src" || e === "xlinkhref" || e === "action" ? le(t) : !0), de = (e, t) => oe.includes(e.toLowerCase()) || !t ? {} : (t = Object.fromEntries(Object.entries(t).filter(([e, n]) => {
|
|
1199
|
+
if (t?.[`:${e}`]) return !1;
|
|
1200
|
+
let r = ue(e, n);
|
|
1201
|
+
return r || console.warn(`[@nuxtjs/mdc] removing unsafe attribute: ${e}="${n}"`), r;
|
|
1202
|
+
})), e === "pre" && typeof t.highlights == "string" && (t.highlights = t.highlights.split(" ").map((e) => Number.parseInt(e))), t);
|
|
1203
|
+
export { s as _, Y as a, Q as c, G as d, V as f, o as g, te as h, J as i, K as l, m, q as n, X as o, _ as p, ae as r, Z as s, de as t, W as u, l as v };
|