@elmethis/core 1.0.0-alpha.16 → 1.0.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Bash-KV1blS97.js → Bash-mlA01V07.js} +1 -1
- package/dist/{JavaScript-u46IG0c4.js → JavaScript-stKTLCvS.js} +1 -1
- package/dist/{Rust-Dg96oGSm.js → Rust-PU5XwTn1.js} +1 -1
- package/dist/{TypeScript-SVZmAXrW.js → TypeScript-ViBgqhx7.js} +1 -1
- package/dist/components/containments/ElmModal.stories.d.ts +6 -0
- package/dist/components/containments/ElmModal.vue.d.ts +34 -0
- package/dist/elmethis.js +18 -17
- package/dist/elmethis.umd.cjs +19 -19
- package/dist/hooks/useElmethisTheme.d.ts +4 -0
- package/dist/{index-KH8UFSIm.js → index-DvtsYpwQ.js} +882 -866
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openBlock as N, createElementBlock as O, createElementVNode as
|
|
2
|
-
function
|
|
1
|
+
import { openBlock as N, createElementBlock as O, createElementVNode as L, defineComponent as X, createBlock as Re, unref as Y, normalizeStyle as K, defineAsyncComponent as mt, toDisplayString as je, ref as W, onMounted as it, onUpdated as Ra, createTextVNode as H0, normalizeClass as I0, getCurrentScope as ui, onScopeDispose as ci, nextTick as hi, readonly as di, getCurrentInstance as Oa, computed as f0, watch as x0, watchEffect as mi, shallowRef as jr, toRaw as pi, renderSlot as ge, createVNode as Q, Transition as yr, withCtx as v0, createCommentVNode as Ee, resolveDynamicComponent as w0, Fragment as Pe, mergeModels as Ha, useModel as La, renderList as st, resolveComponent as fi, mergeProps as vi } from "vue";
|
|
2
|
+
function gi(r, e) {
|
|
3
3
|
return N(), O("svg", {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
fill: "none",
|
|
@@ -9,14 +9,14 @@ function vi(r, e) {
|
|
|
9
9
|
"aria-hidden": "true",
|
|
10
10
|
"data-slot": "icon"
|
|
11
11
|
}, [
|
|
12
|
-
|
|
12
|
+
L("path", {
|
|
13
13
|
"stroke-linecap": "round",
|
|
14
14
|
"stroke-linejoin": "round",
|
|
15
15
|
d: "M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"
|
|
16
16
|
})
|
|
17
17
|
]);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function bi(r, e) {
|
|
20
20
|
return N(), O("svg", {
|
|
21
21
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22
22
|
fill: "none",
|
|
@@ -26,7 +26,7 @@ function gi(r, e) {
|
|
|
26
26
|
"aria-hidden": "true",
|
|
27
27
|
"data-slot": "icon"
|
|
28
28
|
}, [
|
|
29
|
-
|
|
29
|
+
L("path", {
|
|
30
30
|
"stroke-linecap": "round",
|
|
31
31
|
"stroke-linejoin": "round",
|
|
32
32
|
d: "M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"
|
|
@@ -43,14 +43,14 @@ function Gr(r, e) {
|
|
|
43
43
|
"aria-hidden": "true",
|
|
44
44
|
"data-slot": "icon"
|
|
45
45
|
}, [
|
|
46
|
-
|
|
46
|
+
L("path", {
|
|
47
47
|
"stroke-linecap": "round",
|
|
48
48
|
"stroke-linejoin": "round",
|
|
49
49
|
d: "M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"
|
|
50
50
|
})
|
|
51
51
|
]);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function yi(r, e) {
|
|
54
54
|
return N(), O("svg", {
|
|
55
55
|
xmlns: "http://www.w3.org/2000/svg",
|
|
56
56
|
fill: "none",
|
|
@@ -60,14 +60,14 @@ function bi(r, e) {
|
|
|
60
60
|
"aria-hidden": "true",
|
|
61
61
|
"data-slot": "icon"
|
|
62
62
|
}, [
|
|
63
|
-
|
|
63
|
+
L("path", {
|
|
64
64
|
"stroke-linecap": "round",
|
|
65
65
|
"stroke-linejoin": "round",
|
|
66
66
|
d: "M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0-3.75-3.75M17.25 21 21 17.25"
|
|
67
67
|
})
|
|
68
68
|
]);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function xi(r, e) {
|
|
71
71
|
return N(), O("svg", {
|
|
72
72
|
xmlns: "http://www.w3.org/2000/svg",
|
|
73
73
|
fill: "none",
|
|
@@ -77,14 +77,14 @@ function yi(r, e) {
|
|
|
77
77
|
"aria-hidden": "true",
|
|
78
78
|
"data-slot": "icon"
|
|
79
79
|
}, [
|
|
80
|
-
|
|
80
|
+
L("path", {
|
|
81
81
|
"stroke-linecap": "round",
|
|
82
82
|
"stroke-linejoin": "round",
|
|
83
83
|
d: "M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"
|
|
84
84
|
})
|
|
85
85
|
]);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function wi(r, e) {
|
|
88
88
|
return N(), O("svg", {
|
|
89
89
|
xmlns: "http://www.w3.org/2000/svg",
|
|
90
90
|
fill: "none",
|
|
@@ -94,7 +94,7 @@ function xi(r, e) {
|
|
|
94
94
|
"aria-hidden": "true",
|
|
95
95
|
"data-slot": "icon"
|
|
96
96
|
}, [
|
|
97
|
-
|
|
97
|
+
L("path", {
|
|
98
98
|
"stroke-linecap": "round",
|
|
99
99
|
"stroke-linejoin": "round",
|
|
100
100
|
d: "M7.5 14.25v2.25m3-4.5v4.5m3-6.75v6.75m3-9v9M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"
|
|
@@ -111,14 +111,14 @@ function zt(r, e) {
|
|
|
111
111
|
"aria-hidden": "true",
|
|
112
112
|
"data-slot": "icon"
|
|
113
113
|
}, [
|
|
114
|
-
|
|
114
|
+
L("path", {
|
|
115
115
|
"stroke-linecap": "round",
|
|
116
116
|
"stroke-linejoin": "round",
|
|
117
117
|
d: "m8.25 4.5 7.5 7.5-7.5 7.5"
|
|
118
118
|
})
|
|
119
119
|
]);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function ki(r, e) {
|
|
122
122
|
return N(), O("svg", {
|
|
123
123
|
xmlns: "http://www.w3.org/2000/svg",
|
|
124
124
|
fill: "none",
|
|
@@ -128,14 +128,14 @@ function wi(r, e) {
|
|
|
128
128
|
"aria-hidden": "true",
|
|
129
129
|
"data-slot": "icon"
|
|
130
130
|
}, [
|
|
131
|
-
|
|
131
|
+
L("path", {
|
|
132
132
|
"stroke-linecap": "round",
|
|
133
133
|
"stroke-linejoin": "round",
|
|
134
134
|
d: "M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75"
|
|
135
135
|
})
|
|
136
136
|
]);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function Si(r, e) {
|
|
139
139
|
return N(), O("svg", {
|
|
140
140
|
xmlns: "http://www.w3.org/2000/svg",
|
|
141
141
|
fill: "none",
|
|
@@ -145,7 +145,7 @@ function ki(r, e) {
|
|
|
145
145
|
"aria-hidden": "true",
|
|
146
146
|
"data-slot": "icon"
|
|
147
147
|
}, [
|
|
148
|
-
|
|
148
|
+
L("path", {
|
|
149
149
|
"stroke-linecap": "round",
|
|
150
150
|
"stroke-linejoin": "round",
|
|
151
151
|
d: "M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"
|
|
@@ -162,14 +162,14 @@ function Z0(r, e) {
|
|
|
162
162
|
"aria-hidden": "true",
|
|
163
163
|
"data-slot": "icon"
|
|
164
164
|
}, [
|
|
165
|
-
|
|
165
|
+
L("path", {
|
|
166
166
|
"stroke-linecap": "round",
|
|
167
167
|
"stroke-linejoin": "round",
|
|
168
168
|
d: "m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"
|
|
169
169
|
})
|
|
170
170
|
]);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Mi(r, e) {
|
|
173
173
|
return N(), O("svg", {
|
|
174
174
|
xmlns: "http://www.w3.org/2000/svg",
|
|
175
175
|
fill: "none",
|
|
@@ -179,14 +179,14 @@ function Si(r, e) {
|
|
|
179
179
|
"aria-hidden": "true",
|
|
180
180
|
"data-slot": "icon"
|
|
181
181
|
}, [
|
|
182
|
-
|
|
182
|
+
L("path", {
|
|
183
183
|
"stroke-linecap": "round",
|
|
184
184
|
"stroke-linejoin": "round",
|
|
185
185
|
d: "M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
|
|
186
186
|
})
|
|
187
187
|
]);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Ai(r, e) {
|
|
190
190
|
return N(), O("svg", {
|
|
191
191
|
xmlns: "http://www.w3.org/2000/svg",
|
|
192
192
|
fill: "none",
|
|
@@ -196,14 +196,14 @@ function Mi(r, e) {
|
|
|
196
196
|
"aria-hidden": "true",
|
|
197
197
|
"data-slot": "icon"
|
|
198
198
|
}, [
|
|
199
|
-
|
|
199
|
+
L("path", {
|
|
200
200
|
"stroke-linecap": "round",
|
|
201
201
|
"stroke-linejoin": "round",
|
|
202
202
|
d: "M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
|
|
203
203
|
})
|
|
204
204
|
]);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function zi(r, e) {
|
|
207
207
|
return N(), O("svg", {
|
|
208
208
|
xmlns: "http://www.w3.org/2000/svg",
|
|
209
209
|
fill: "none",
|
|
@@ -213,14 +213,14 @@ function Ai(r, e) {
|
|
|
213
213
|
"aria-hidden": "true",
|
|
214
214
|
"data-slot": "icon"
|
|
215
215
|
}, [
|
|
216
|
-
|
|
216
|
+
L("path", {
|
|
217
217
|
"stroke-linecap": "round",
|
|
218
218
|
"stroke-linejoin": "round",
|
|
219
219
|
d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"
|
|
220
220
|
})
|
|
221
221
|
]);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function Ti(r, e) {
|
|
224
224
|
return N(), O("svg", {
|
|
225
225
|
xmlns: "http://www.w3.org/2000/svg",
|
|
226
226
|
fill: "none",
|
|
@@ -230,14 +230,14 @@ function zi(r, e) {
|
|
|
230
230
|
"aria-hidden": "true",
|
|
231
231
|
"data-slot": "icon"
|
|
232
232
|
}, [
|
|
233
|
-
|
|
233
|
+
L("path", {
|
|
234
234
|
"stroke-linecap": "round",
|
|
235
235
|
"stroke-linejoin": "round",
|
|
236
236
|
d: "M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"
|
|
237
237
|
})
|
|
238
238
|
]);
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Ci(r, e) {
|
|
241
241
|
return N(), O("svg", {
|
|
242
242
|
xmlns: "http://www.w3.org/2000/svg",
|
|
243
243
|
fill: "none",
|
|
@@ -247,14 +247,14 @@ function Ti(r, e) {
|
|
|
247
247
|
"aria-hidden": "true",
|
|
248
248
|
"data-slot": "icon"
|
|
249
249
|
}, [
|
|
250
|
-
|
|
250
|
+
L("path", {
|
|
251
251
|
"stroke-linecap": "round",
|
|
252
252
|
"stroke-linejoin": "round",
|
|
253
253
|
d: "m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"
|
|
254
254
|
})
|
|
255
255
|
]);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function Ei(r, e) {
|
|
258
258
|
return N(), O("svg", {
|
|
259
259
|
xmlns: "http://www.w3.org/2000/svg",
|
|
260
260
|
fill: "none",
|
|
@@ -264,14 +264,14 @@ function Ci(r, e) {
|
|
|
264
264
|
"aria-hidden": "true",
|
|
265
265
|
"data-slot": "icon"
|
|
266
266
|
}, [
|
|
267
|
-
|
|
267
|
+
L("path", {
|
|
268
268
|
"stroke-linecap": "round",
|
|
269
269
|
"stroke-linejoin": "round",
|
|
270
270
|
d: "M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"
|
|
271
271
|
})
|
|
272
272
|
]);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function Bi(r, e) {
|
|
275
275
|
return N(), O("svg", {
|
|
276
276
|
xmlns: "http://www.w3.org/2000/svg",
|
|
277
277
|
fill: "none",
|
|
@@ -281,14 +281,14 @@ function Ei(r, e) {
|
|
|
281
281
|
"aria-hidden": "true",
|
|
282
282
|
"data-slot": "icon"
|
|
283
283
|
}, [
|
|
284
|
-
|
|
284
|
+
L("path", {
|
|
285
285
|
"stroke-linecap": "round",
|
|
286
286
|
"stroke-linejoin": "round",
|
|
287
287
|
d: "M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"
|
|
288
288
|
})
|
|
289
289
|
]);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Di(r, e) {
|
|
292
292
|
return N(), O("svg", {
|
|
293
293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
294
294
|
fill: "none",
|
|
@@ -298,14 +298,14 @@ function Bi(r, e) {
|
|
|
298
298
|
"aria-hidden": "true",
|
|
299
299
|
"data-slot": "icon"
|
|
300
300
|
}, [
|
|
301
|
-
|
|
301
|
+
L("path", {
|
|
302
302
|
"stroke-linecap": "round",
|
|
303
303
|
"stroke-linejoin": "round",
|
|
304
304
|
d: "M12 4.5v15m7.5-7.5h-15"
|
|
305
305
|
})
|
|
306
306
|
]);
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function Ii(r, e) {
|
|
309
309
|
return N(), O("svg", {
|
|
310
310
|
xmlns: "http://www.w3.org/2000/svg",
|
|
311
311
|
fill: "none",
|
|
@@ -315,14 +315,14 @@ function Di(r, e) {
|
|
|
315
315
|
"aria-hidden": "true",
|
|
316
316
|
"data-slot": "icon"
|
|
317
317
|
}, [
|
|
318
|
-
|
|
318
|
+
L("path", {
|
|
319
319
|
"stroke-linecap": "round",
|
|
320
320
|
"stroke-linejoin": "round",
|
|
321
321
|
d: "M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"
|
|
322
322
|
})
|
|
323
323
|
]);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Fi(r, e) {
|
|
326
326
|
return N(), O("svg", {
|
|
327
327
|
xmlns: "http://www.w3.org/2000/svg",
|
|
328
328
|
fill: "none",
|
|
@@ -332,14 +332,14 @@ function Ii(r, e) {
|
|
|
332
332
|
"aria-hidden": "true",
|
|
333
333
|
"data-slot": "icon"
|
|
334
334
|
}, [
|
|
335
|
-
|
|
335
|
+
L("path", {
|
|
336
336
|
"stroke-linecap": "round",
|
|
337
337
|
"stroke-linejoin": "round",
|
|
338
338
|
d: "M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"
|
|
339
339
|
})
|
|
340
340
|
]);
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function _i(r, e) {
|
|
343
343
|
return N(), O("svg", {
|
|
344
344
|
xmlns: "http://www.w3.org/2000/svg",
|
|
345
345
|
fill: "none",
|
|
@@ -349,14 +349,14 @@ function Fi(r, e) {
|
|
|
349
349
|
"aria-hidden": "true",
|
|
350
350
|
"data-slot": "icon"
|
|
351
351
|
}, [
|
|
352
|
-
|
|
352
|
+
L("path", {
|
|
353
353
|
"stroke-linecap": "round",
|
|
354
354
|
"stroke-linejoin": "round",
|
|
355
355
|
d: "m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
356
356
|
})
|
|
357
357
|
]);
|
|
358
358
|
}
|
|
359
|
-
const
|
|
359
|
+
const Ni = /* @__PURE__ */ X({
|
|
360
360
|
__name: "ElmLanguageIcon",
|
|
361
361
|
props: {
|
|
362
362
|
size: { default: 24 },
|
|
@@ -368,33 +368,33 @@ const _i = /* @__PURE__ */ Y({
|
|
|
368
368
|
case "rust":
|
|
369
369
|
case "rs":
|
|
370
370
|
return mt({
|
|
371
|
-
loader: () => import("./Rust-
|
|
371
|
+
loader: () => import("./Rust-PU5XwTn1.js"),
|
|
372
372
|
loadingComponent: Z0
|
|
373
373
|
});
|
|
374
374
|
case "javascript":
|
|
375
375
|
case "js":
|
|
376
376
|
return mt({
|
|
377
|
-
loader: () => import("./JavaScript-
|
|
377
|
+
loader: () => import("./JavaScript-stKTLCvS.js"),
|
|
378
378
|
loadingComponent: Z0
|
|
379
379
|
});
|
|
380
380
|
case "typescript":
|
|
381
381
|
case "ts":
|
|
382
382
|
return mt({
|
|
383
|
-
loader: () => import("./TypeScript-
|
|
383
|
+
loader: () => import("./TypeScript-ViBgqhx7.js"),
|
|
384
384
|
loadingComponent: Z0
|
|
385
385
|
});
|
|
386
386
|
case "bash":
|
|
387
387
|
case "sh":
|
|
388
388
|
case "shell":
|
|
389
389
|
return mt({
|
|
390
|
-
loader: () => import("./Bash-
|
|
390
|
+
loader: () => import("./Bash-mlA01V07.js"),
|
|
391
391
|
loadingComponent: Z0
|
|
392
392
|
});
|
|
393
393
|
default:
|
|
394
394
|
return Z0;
|
|
395
395
|
}
|
|
396
396
|
})();
|
|
397
|
-
return (n, i) => (N(), Re(
|
|
397
|
+
return (n, i) => (N(), Re(Y(a), {
|
|
398
398
|
class: "icon",
|
|
399
399
|
style: K({ "--width": `${n.size}px` })
|
|
400
400
|
}, null, 8, ["style"]));
|
|
@@ -404,7 +404,7 @@ const _i = /* @__PURE__ */ Y({
|
|
|
404
404
|
for (const [a, n] of e)
|
|
405
405
|
t[a] = n;
|
|
406
406
|
return t;
|
|
407
|
-
},
|
|
407
|
+
}, qi = /* @__PURE__ */ J(Ni, [["__scopeId", "data-v-60662f3b"]]), Ri = /* @__PURE__ */ X({
|
|
408
408
|
__name: "ElmInlineText",
|
|
409
409
|
props: {
|
|
410
410
|
text: {},
|
|
@@ -427,9 +427,9 @@ const _i = /* @__PURE__ */ Y({
|
|
|
427
427
|
})
|
|
428
428
|
}, je(e.text), 5));
|
|
429
429
|
}
|
|
430
|
-
}), fe = /* @__PURE__ */ J(
|
|
430
|
+
}), fe = /* @__PURE__ */ J(Ri, [["__scopeId", "data-v-8c7a6581"]]);
|
|
431
431
|
var Vr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
432
|
-
function
|
|
432
|
+
function Oi(r) {
|
|
433
433
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
434
434
|
}
|
|
435
435
|
var $a = { exports: {} };
|
|
@@ -1070,22 +1070,22 @@ var $a = { exports: {} };
|
|
|
1070
1070
|
if (ve) {
|
|
1071
1071
|
if (se = m(Qe, ke, g, Ge), !se || se.index >= g.length)
|
|
1072
1072
|
break;
|
|
1073
|
-
var
|
|
1074
|
-
for (Ie += oe.value.length;
|
|
1073
|
+
var T0 = se.index, z0 = se.index + se[0].length, Ie = ke;
|
|
1074
|
+
for (Ie += oe.value.length; T0 >= Ie; )
|
|
1075
1075
|
oe = oe.next, Ie += oe.value.length;
|
|
1076
1076
|
if (Ie -= oe.value.length, ke = Ie, oe.value instanceof h)
|
|
1077
1077
|
continue;
|
|
1078
|
-
for (var Fe = oe; Fe !== x.tail && (Ie <
|
|
1078
|
+
for (var Fe = oe; Fe !== x.tail && (Ie < z0 || typeof Fe.value == "string"); Fe = Fe.next)
|
|
1079
1079
|
Te++, Ie += Fe.value.length;
|
|
1080
1080
|
Te--, be = g.slice(ke, Ie), se.index -= ke;
|
|
1081
1081
|
} else if (se = m(Qe, 0, be, Ge), !se)
|
|
1082
1082
|
continue;
|
|
1083
|
-
var
|
|
1083
|
+
var T0 = se.index, Le = se[0], Ue = be.slice(0, T0), C0 = be.slice(T0 + Le.length), h0 = ke + be.length;
|
|
1084
1084
|
F && h0 > F.reach && (F.reach = h0);
|
|
1085
1085
|
var N0 = oe.prev;
|
|
1086
1086
|
Ue && (N0 = w(x, N0, Ue), ke += Ue.length), S(x, N0, Te);
|
|
1087
|
-
var Ht = new h($, ae ? u.tokenize(
|
|
1088
|
-
if (oe = w(x, N0, Ht),
|
|
1087
|
+
var Ht = new h($, ae ? u.tokenize(Le, ae) : Le, ze, Le);
|
|
1088
|
+
if (oe = w(x, N0, Ht), C0 && w(x, oe, C0), Te > 1) {
|
|
1089
1089
|
var X0 = {
|
|
1090
1090
|
cause: $ + "," + te,
|
|
1091
1091
|
reach: h0
|
|
@@ -1589,8 +1589,8 @@ var $a = { exports: {} };
|
|
|
1589
1589
|
};
|
|
1590
1590
|
}();
|
|
1591
1591
|
})($a);
|
|
1592
|
-
var
|
|
1593
|
-
const Ur = /* @__PURE__ */
|
|
1592
|
+
var Hi = $a.exports;
|
|
1593
|
+
const Ur = /* @__PURE__ */ Oi(Hi);
|
|
1594
1594
|
(function() {
|
|
1595
1595
|
if (typeof Prism > "u" || typeof document > "u")
|
|
1596
1596
|
return;
|
|
@@ -1961,7 +1961,7 @@ const Ur = /* @__PURE__ */ Ri(Oi);
|
|
|
1961
1961
|
}
|
|
1962
1962
|
});
|
|
1963
1963
|
})();
|
|
1964
|
-
const
|
|
1964
|
+
const Li = /* @__PURE__ */ X({
|
|
1965
1965
|
__name: "ElmPrismHighlighter",
|
|
1966
1966
|
props: {
|
|
1967
1967
|
code: {},
|
|
@@ -1971,13 +1971,13 @@ const Hi = /* @__PURE__ */ Y({
|
|
|
1971
1971
|
const e = r, t = W(null), a = () => {
|
|
1972
1972
|
Ur.plugins.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/", t.value && Ur.highlightElement(t.value);
|
|
1973
1973
|
};
|
|
1974
|
-
return it(a),
|
|
1974
|
+
return it(a), Ra(a), (n, i) => (N(), O("pre", {
|
|
1975
1975
|
class: "pre",
|
|
1976
1976
|
key: JSON.stringify(e)
|
|
1977
1977
|
}, [
|
|
1978
1978
|
i[0] || (i[0] = H0(" ")),
|
|
1979
|
-
|
|
1980
|
-
class:
|
|
1979
|
+
L("code", {
|
|
1980
|
+
class: I0(["code", `language-${n.language}`]),
|
|
1981
1981
|
ref_key: "codeRef",
|
|
1982
1982
|
ref: t
|
|
1983
1983
|
}, je(n.code.trim()), 3),
|
|
@@ -1985,18 +1985,18 @@ const Hi = /* @__PURE__ */ Y({
|
|
|
1985
1985
|
`))
|
|
1986
1986
|
]));
|
|
1987
1987
|
}
|
|
1988
|
-
}),
|
|
1988
|
+
}), $i = /* @__PURE__ */ J(Li, [["__scopeId", "data-v-53902dd5"]]);
|
|
1989
1989
|
function j0(r) {
|
|
1990
1990
|
return ui() ? (ci(r), !0) : !1;
|
|
1991
1991
|
}
|
|
1992
1992
|
function o0(r) {
|
|
1993
|
-
return typeof r == "function" ? r() :
|
|
1993
|
+
return typeof r == "function" ? r() : Y(r);
|
|
1994
1994
|
}
|
|
1995
1995
|
const xr = typeof window < "u" && typeof document < "u";
|
|
1996
1996
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
1997
|
-
const Pa = (r) => r != null,
|
|
1997
|
+
const Pa = (r) => r != null, Pi = Object.prototype.toString, ji = (r) => Pi.call(r) === "[object Object]", St = () => {
|
|
1998
1998
|
};
|
|
1999
|
-
function
|
|
1999
|
+
function Gi(r) {
|
|
2000
2000
|
let e;
|
|
2001
2001
|
function t() {
|
|
2002
2002
|
return e || (e = r()), e;
|
|
@@ -2006,13 +2006,13 @@ function ji(r) {
|
|
|
2006
2006
|
e = void 0, a && await a;
|
|
2007
2007
|
}, t;
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2010
|
-
return
|
|
2009
|
+
function Vi(r) {
|
|
2010
|
+
return Oa();
|
|
2011
2011
|
}
|
|
2012
2012
|
function ja(r, e = !0, t) {
|
|
2013
|
-
|
|
2013
|
+
Vi() ? it(r, t) : e ? r() : hi(r);
|
|
2014
2014
|
}
|
|
2015
|
-
function
|
|
2015
|
+
function Ui(r, e, t = {}) {
|
|
2016
2016
|
const {
|
|
2017
2017
|
immediate: a = !0
|
|
2018
2018
|
} = t, n = W(!1);
|
|
@@ -2034,25 +2034,25 @@ function Vi(r, e, t = {}) {
|
|
|
2034
2034
|
stop: u
|
|
2035
2035
|
};
|
|
2036
2036
|
}
|
|
2037
|
-
const
|
|
2037
|
+
const k0 = xr ? window : void 0, Ga = xr ? window.navigator : void 0;
|
|
2038
2038
|
function r0(r) {
|
|
2039
2039
|
var e;
|
|
2040
2040
|
const t = o0(r);
|
|
2041
2041
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
2042
2042
|
}
|
|
2043
|
-
function
|
|
2043
|
+
function F0(...r) {
|
|
2044
2044
|
let e, t, a, n;
|
|
2045
|
-
if (typeof r[0] == "string" || Array.isArray(r[0]) ? ([t, a, n] = r, e =
|
|
2045
|
+
if (typeof r[0] == "string" || Array.isArray(r[0]) ? ([t, a, n] = r, e = k0) : [e, t, a, n] = r, !e)
|
|
2046
2046
|
return St;
|
|
2047
2047
|
Array.isArray(t) || (t = [t]), Array.isArray(a) || (a = [a]);
|
|
2048
2048
|
const i = [], o = () => {
|
|
2049
2049
|
i.forEach((v) => v()), i.length = 0;
|
|
2050
|
-
}, u = (v, b, w, S) => (v.addEventListener(b, w, S), () => v.removeEventListener(b, w, S)), h =
|
|
2050
|
+
}, u = (v, b, w, S) => (v.addEventListener(b, w, S), () => v.removeEventListener(b, w, S)), h = x0(
|
|
2051
2051
|
() => [r0(e), o0(n)],
|
|
2052
2052
|
([v, b]) => {
|
|
2053
2053
|
if (o(), !v)
|
|
2054
2054
|
return;
|
|
2055
|
-
const w =
|
|
2055
|
+
const w = ji(b) ? { ...b } : b;
|
|
2056
2056
|
i.push(
|
|
2057
2057
|
...t.flatMap((S) => a.map((E) => u(v, S, E, w)))
|
|
2058
2058
|
);
|
|
@@ -2063,41 +2063,41 @@ function I0(...r) {
|
|
|
2063
2063
|
};
|
|
2064
2064
|
return j0(m), m;
|
|
2065
2065
|
}
|
|
2066
|
-
function
|
|
2066
|
+
function Wi(r) {
|
|
2067
2067
|
return typeof r == "function" ? r : typeof r == "string" ? (e) => e.key === r : Array.isArray(r) ? (e) => r.includes(e.key) : () => !0;
|
|
2068
2068
|
}
|
|
2069
|
-
function
|
|
2069
|
+
function Yi(...r) {
|
|
2070
2070
|
let e, t, a = {};
|
|
2071
2071
|
r.length === 3 ? (e = r[0], t = r[1], a = r[2]) : r.length === 2 ? typeof r[1] == "object" ? (e = !0, t = r[0], a = r[1]) : (e = r[0], t = r[1]) : (e = !0, t = r[0]);
|
|
2072
2072
|
const {
|
|
2073
|
-
target: n =
|
|
2073
|
+
target: n = k0,
|
|
2074
2074
|
eventName: i = "keydown",
|
|
2075
2075
|
passive: o = !1,
|
|
2076
2076
|
dedupe: u = !1
|
|
2077
|
-
} = a, h =
|
|
2078
|
-
return
|
|
2077
|
+
} = a, h = Wi(e);
|
|
2078
|
+
return F0(n, i, (v) => {
|
|
2079
2079
|
v.repeat && o0(u) || h(v) && t(v);
|
|
2080
2080
|
}, o);
|
|
2081
2081
|
}
|
|
2082
|
-
function
|
|
2083
|
-
const r = W(!1), e =
|
|
2082
|
+
function Xi() {
|
|
2083
|
+
const r = W(!1), e = Oa();
|
|
2084
2084
|
return e && it(() => {
|
|
2085
2085
|
r.value = !0;
|
|
2086
2086
|
}, e), r;
|
|
2087
2087
|
}
|
|
2088
2088
|
function G0(r) {
|
|
2089
|
-
const e =
|
|
2089
|
+
const e = Xi();
|
|
2090
2090
|
return f0(() => (e.value, !!r()));
|
|
2091
2091
|
}
|
|
2092
|
-
function
|
|
2093
|
-
const { window: a =
|
|
2092
|
+
function Zi(r, e, t = {}) {
|
|
2093
|
+
const { window: a = k0, ...n } = t;
|
|
2094
2094
|
let i;
|
|
2095
2095
|
const o = G0(() => a && "MutationObserver" in a), u = () => {
|
|
2096
2096
|
i && (i.disconnect(), i = void 0);
|
|
2097
2097
|
}, h = f0(() => {
|
|
2098
2098
|
const w = o0(r), S = (Array.isArray(w) ? w : [w]).map(r0).filter(Pa);
|
|
2099
2099
|
return new Set(S);
|
|
2100
|
-
}), m =
|
|
2100
|
+
}), m = x0(
|
|
2101
2101
|
() => h.value,
|
|
2102
2102
|
(w) => {
|
|
2103
2103
|
u(), o.value && w.size && (i = new MutationObserver(e), w.forEach((S) => i.observe(S, n)));
|
|
@@ -2112,14 +2112,14 @@ function Xi(r, e, t = {}) {
|
|
|
2112
2112
|
takeRecords: v
|
|
2113
2113
|
};
|
|
2114
2114
|
}
|
|
2115
|
-
function
|
|
2116
|
-
const { window: t =
|
|
2115
|
+
function Ki(r, e = {}) {
|
|
2116
|
+
const { window: t = k0 } = e, a = G0(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
|
|
2117
2117
|
let n;
|
|
2118
2118
|
const i = W(!1), o = (m) => {
|
|
2119
2119
|
i.value = m.matches;
|
|
2120
2120
|
}, u = () => {
|
|
2121
2121
|
n && ("removeEventListener" in n ? n.removeEventListener("change", o) : n.removeListener(o));
|
|
2122
|
-
}, h =
|
|
2122
|
+
}, h = mi(() => {
|
|
2123
2123
|
a.value && (u(), n = t.matchMedia(o0(r)), "addEventListener" in n ? n.addEventListener("change", o) : n.addListener(o), i.value = n.matches);
|
|
2124
2124
|
});
|
|
2125
2125
|
return j0(() => {
|
|
@@ -2134,8 +2134,8 @@ function Wr(r, e = {}) {
|
|
|
2134
2134
|
var v, b;
|
|
2135
2135
|
u.value = (b = (v = i.value) == null ? void 0 : v.state) != null ? b : "prompt";
|
|
2136
2136
|
};
|
|
2137
|
-
|
|
2138
|
-
const m =
|
|
2137
|
+
F0(i, "change", h);
|
|
2138
|
+
const m = Gi(async () => {
|
|
2139
2139
|
if (n.value) {
|
|
2140
2140
|
if (!i.value)
|
|
2141
2141
|
try {
|
|
@@ -2146,7 +2146,7 @@ function Wr(r, e = {}) {
|
|
|
2146
2146
|
h();
|
|
2147
2147
|
}
|
|
2148
2148
|
if (t)
|
|
2149
|
-
return
|
|
2149
|
+
return pi(i.value);
|
|
2150
2150
|
}
|
|
2151
2151
|
});
|
|
2152
2152
|
return m(), t ? {
|
|
@@ -2155,20 +2155,20 @@ function Wr(r, e = {}) {
|
|
|
2155
2155
|
query: m
|
|
2156
2156
|
} : u;
|
|
2157
2157
|
}
|
|
2158
|
-
function
|
|
2158
|
+
function Ji(r = {}) {
|
|
2159
2159
|
const {
|
|
2160
2160
|
navigator: e = Ga,
|
|
2161
2161
|
read: t = !1,
|
|
2162
2162
|
source: a,
|
|
2163
2163
|
copiedDuring: n = 1500,
|
|
2164
2164
|
legacy: i = !1
|
|
2165
|
-
} = r, o = G0(() => e && "clipboard" in e), u = Wr("clipboard-read"), h = Wr("clipboard-write"), m = f0(() => o.value || i), v = W(""), b = W(!1), w =
|
|
2165
|
+
} = r, o = G0(() => e && "clipboard" in e), u = Wr("clipboard-read"), h = Wr("clipboard-write"), m = f0(() => o.value || i), v = W(""), b = W(!1), w = Ui(() => b.value = !1, n);
|
|
2166
2166
|
function S() {
|
|
2167
2167
|
o.value && B(u.value) ? e.clipboard.readText().then((g) => {
|
|
2168
2168
|
v.value = g;
|
|
2169
2169
|
}) : v.value = C();
|
|
2170
2170
|
}
|
|
2171
|
-
m.value && t &&
|
|
2171
|
+
m.value && t && F0(["copy", "cut"], S);
|
|
2172
2172
|
async function E(g = o0(a)) {
|
|
2173
2173
|
m.value && g != null && (o.value && B(h.value) ? await e.clipboard.writeText(g) : T(g), v.value = g, b.value = !0, w.start());
|
|
2174
2174
|
}
|
|
@@ -2190,15 +2190,15 @@ function Ki(r = {}) {
|
|
|
2190
2190
|
copy: E
|
|
2191
2191
|
};
|
|
2192
2192
|
}
|
|
2193
|
-
function
|
|
2194
|
-
const { window: a =
|
|
2193
|
+
function Qi(r, e, t = {}) {
|
|
2194
|
+
const { window: a = k0, ...n } = t;
|
|
2195
2195
|
let i;
|
|
2196
2196
|
const o = G0(() => a && "ResizeObserver" in a), u = () => {
|
|
2197
2197
|
i && (i.disconnect(), i = void 0);
|
|
2198
2198
|
}, h = f0(() => {
|
|
2199
2199
|
const b = o0(r);
|
|
2200
2200
|
return Array.isArray(b) ? b.map((w) => r0(w)) : [r0(b)];
|
|
2201
|
-
}), m =
|
|
2201
|
+
}), m = x0(
|
|
2202
2202
|
h,
|
|
2203
2203
|
(b) => {
|
|
2204
2204
|
if (u(), o.value && a) {
|
|
@@ -2216,7 +2216,7 @@ function Ji(r, e, t = {}) {
|
|
|
2216
2216
|
stop: v
|
|
2217
2217
|
};
|
|
2218
2218
|
}
|
|
2219
|
-
function
|
|
2219
|
+
function es(r, e = {}) {
|
|
2220
2220
|
const {
|
|
2221
2221
|
reset: t = !0,
|
|
2222
2222
|
windowResize: a = !0,
|
|
@@ -2236,9 +2236,9 @@ function Qi(r, e = {}) {
|
|
|
2236
2236
|
function C() {
|
|
2237
2237
|
o === "sync" ? T() : o === "next-frame" && requestAnimationFrame(() => T());
|
|
2238
2238
|
}
|
|
2239
|
-
return
|
|
2239
|
+
return Qi(r, C), x0(() => r0(r), (B) => !B && C()), Zi(r, C, {
|
|
2240
2240
|
attributeFilter: ["style", "class"]
|
|
2241
|
-
}), n &&
|
|
2241
|
+
}), n && F0("scroll", C, { capture: !0, passive: !0 }), a && F0("resize", C, { passive: !0 }), ja(() => {
|
|
2242
2242
|
i && C();
|
|
2243
2243
|
}), {
|
|
2244
2244
|
height: u,
|
|
@@ -2257,14 +2257,14 @@ function u0(r, e, t = {}) {
|
|
|
2257
2257
|
root: a,
|
|
2258
2258
|
rootMargin: n = "0px",
|
|
2259
2259
|
threshold: i = 0,
|
|
2260
|
-
window: o =
|
|
2260
|
+
window: o = k0,
|
|
2261
2261
|
immediate: u = !0
|
|
2262
2262
|
} = t, h = G0(() => o && "IntersectionObserver" in o), m = f0(() => {
|
|
2263
2263
|
const E = o0(r);
|
|
2264
2264
|
return (Array.isArray(E) ? E : [E]).map(r0).filter(Pa);
|
|
2265
2265
|
});
|
|
2266
2266
|
let v = St;
|
|
2267
|
-
const b = W(u), w = h.value ?
|
|
2267
|
+
const b = W(u), w = h.value ? x0(
|
|
2268
2268
|
() => [m.value, r0(a), b.value],
|
|
2269
2269
|
([E, T]) => {
|
|
2270
2270
|
if (v(), !b.value || !E.length)
|
|
@@ -2298,7 +2298,7 @@ function u0(r, e, t = {}) {
|
|
|
2298
2298
|
};
|
|
2299
2299
|
}
|
|
2300
2300
|
function Va(r = {}) {
|
|
2301
|
-
const { window: e =
|
|
2301
|
+
const { window: e = k0, behavior: t = "auto" } = r;
|
|
2302
2302
|
if (!e)
|
|
2303
2303
|
return {
|
|
2304
2304
|
x: W(0),
|
|
@@ -2319,7 +2319,7 @@ function Va(r = {}) {
|
|
|
2319
2319
|
scrollTo({ top: u, behavior: t });
|
|
2320
2320
|
}
|
|
2321
2321
|
});
|
|
2322
|
-
return
|
|
2322
|
+
return F0(
|
|
2323
2323
|
e,
|
|
2324
2324
|
"scroll",
|
|
2325
2325
|
() => {
|
|
@@ -2331,9 +2331,9 @@ function Va(r = {}) {
|
|
|
2331
2331
|
}
|
|
2332
2332
|
), { x: i, y: o };
|
|
2333
2333
|
}
|
|
2334
|
-
function
|
|
2334
|
+
function ts(r = {}) {
|
|
2335
2335
|
const {
|
|
2336
|
-
window: e =
|
|
2336
|
+
window: e = k0,
|
|
2337
2337
|
initialWidth: t = Number.POSITIVE_INFINITY,
|
|
2338
2338
|
initialHeight: a = Number.POSITIVE_INFINITY,
|
|
2339
2339
|
listenOrientation: n = !0,
|
|
@@ -2342,42 +2342,40 @@ function es(r = {}) {
|
|
|
2342
2342
|
} = r, u = W(t), h = W(a), m = () => {
|
|
2343
2343
|
e && (o === "outer" ? (u.value = e.outerWidth, h.value = e.outerHeight) : i ? (u.value = e.innerWidth, h.value = e.innerHeight) : (u.value = e.document.documentElement.clientWidth, h.value = e.document.documentElement.clientHeight));
|
|
2344
2344
|
};
|
|
2345
|
-
if (m(), ja(m),
|
|
2346
|
-
const v =
|
|
2347
|
-
|
|
2345
|
+
if (m(), ja(m), F0("resize", m, { passive: !0 }), n) {
|
|
2346
|
+
const v = Ki("(orientation: portrait)");
|
|
2347
|
+
x0(v, () => m());
|
|
2348
2348
|
}
|
|
2349
2349
|
return { width: u, height: h };
|
|
2350
2350
|
}
|
|
2351
|
-
const
|
|
2351
|
+
const rs = /* @__PURE__ */ X({
|
|
2352
2352
|
__name: "ElmTooltip",
|
|
2353
2353
|
setup(r) {
|
|
2354
|
-
const e = W(null), { x: t, y: a, width: n, height: i } =
|
|
2355
|
-
return (h, m) => (N(), O(
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
},
|
|
2367
|
-
ge(h.$slots, "original", {}, void 0, !0)
|
|
2368
|
-
], 544),
|
|
2354
|
+
const e = W(null), { x: t, y: a, width: n, height: i } = es(e), o = ts(), u = W(!1);
|
|
2355
|
+
return (h, m) => (N(), O("span", {
|
|
2356
|
+
ref_key: "el",
|
|
2357
|
+
ref: e,
|
|
2358
|
+
class: "original",
|
|
2359
|
+
onMouseover: m[0] || (m[0] = () => {
|
|
2360
|
+
u.value = !0;
|
|
2361
|
+
}),
|
|
2362
|
+
onMouseleave: m[1] || (m[1] = () => {
|
|
2363
|
+
u.value = !1;
|
|
2364
|
+
})
|
|
2365
|
+
}, [
|
|
2366
|
+
ge(h.$slots, "original", {}, void 0, !0),
|
|
2369
2367
|
Q(yr, null, {
|
|
2370
2368
|
default: v0(() => [
|
|
2371
2369
|
u.value ? (N(), O("div", {
|
|
2372
2370
|
key: 0,
|
|
2373
2371
|
class: "tooltip",
|
|
2374
2372
|
style: K(
|
|
2375
|
-
|
|
2376
|
-
top: `${
|
|
2377
|
-
right: `${
|
|
2373
|
+
Y(t) > Y(o).width.value / 2 ? {
|
|
2374
|
+
top: `${Y(a) + Y(i)}px`,
|
|
2375
|
+
right: `${Y(o).width.value - Y(t) - Y(n)}px`
|
|
2378
2376
|
} : {
|
|
2379
|
-
top: `${
|
|
2380
|
-
left: `${
|
|
2377
|
+
top: `${Y(a) + Y(i)}px`,
|
|
2378
|
+
left: `${Y(t)}px`
|
|
2381
2379
|
}
|
|
2382
2380
|
)
|
|
2383
2381
|
}, [
|
|
@@ -2386,9 +2384,9 @@ const ts = /* @__PURE__ */ Y({
|
|
|
2386
2384
|
]),
|
|
2387
2385
|
_: 3
|
|
2388
2386
|
})
|
|
2389
|
-
],
|
|
2387
|
+
], 544));
|
|
2390
2388
|
}
|
|
2391
|
-
}),
|
|
2389
|
+
}), as = /* @__PURE__ */ J(rs, [["__scopeId", "data-v-683226fc"]]), ns = { class: "wrapper" }, is = { class: "header" }, ss = { class: "header__left" }, ls = { class: "code" }, os = /* @__PURE__ */ X({
|
|
2392
2390
|
__name: "ElmCodeBlock",
|
|
2393
2391
|
props: {
|
|
2394
2392
|
code: {},
|
|
@@ -2396,11 +2394,11 @@ const ts = /* @__PURE__ */ Y({
|
|
|
2396
2394
|
caption: {}
|
|
2397
2395
|
},
|
|
2398
2396
|
setup(r) {
|
|
2399
|
-
const e = r, { copy: t, copied: a } =
|
|
2400
|
-
return (n, i) => (N(), O("div",
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
Q(
|
|
2397
|
+
const e = r, { copy: t, copied: a } = Ji({ source: e.code });
|
|
2398
|
+
return (n, i) => (N(), O("div", ns, [
|
|
2399
|
+
L("div", is, [
|
|
2400
|
+
L("div", ss, [
|
|
2401
|
+
Q(qi, {
|
|
2404
2402
|
language: n.language,
|
|
2405
2403
|
size: 20
|
|
2406
2404
|
}, null, 8, ["language"]),
|
|
@@ -2408,34 +2406,34 @@ const ts = /* @__PURE__ */ Y({
|
|
|
2408
2406
|
text: n.caption ?? n.language
|
|
2409
2407
|
}, null, 8, ["text"])
|
|
2410
2408
|
]),
|
|
2411
|
-
Q(
|
|
2409
|
+
Q(as, null, {
|
|
2412
2410
|
original: v0(() => [
|
|
2413
|
-
(N(), Re(
|
|
2411
|
+
(N(), Re(w0(Y(a) ? Y(ki) : Y(Si)), {
|
|
2414
2412
|
class: "copy-icon",
|
|
2415
2413
|
onClick: i[0] || (i[0] = () => {
|
|
2416
|
-
|
|
2414
|
+
Y(t)(n.code);
|
|
2417
2415
|
})
|
|
2418
2416
|
}))
|
|
2419
2417
|
]),
|
|
2420
2418
|
tooltip: v0(() => [
|
|
2421
|
-
|
|
2419
|
+
L("div", null, [
|
|
2422
2420
|
Q(fe, {
|
|
2423
|
-
text:
|
|
2421
|
+
text: Y(a) ? "Copied to Clipboard!" : "Copy to Clipboard"
|
|
2424
2422
|
}, null, 8, ["text"])
|
|
2425
2423
|
])
|
|
2426
2424
|
]),
|
|
2427
2425
|
_: 1
|
|
2428
2426
|
})
|
|
2429
2427
|
]),
|
|
2430
|
-
|
|
2431
|
-
Q(
|
|
2428
|
+
L("div", ls, [
|
|
2429
|
+
Q($i, {
|
|
2432
2430
|
code: n.code,
|
|
2433
2431
|
language: n.language
|
|
2434
2432
|
}, null, 8, ["code", "language"])
|
|
2435
2433
|
])
|
|
2436
2434
|
]));
|
|
2437
2435
|
}
|
|
2438
|
-
}),
|
|
2436
|
+
}), us = /* @__PURE__ */ J(os, [["__scopeId", "data-v-8d2a7868"]]);
|
|
2439
2437
|
class Ce {
|
|
2440
2438
|
// The + prefix indicates that these fields aren't writeable
|
|
2441
2439
|
// Lexer holding the input string.
|
|
@@ -2490,42 +2488,42 @@ class _ {
|
|
|
2490
2488
|
}
|
|
2491
2489
|
}
|
|
2492
2490
|
_.prototype.__proto__ = Error.prototype;
|
|
2493
|
-
var
|
|
2491
|
+
var cs = function(e, t) {
|
|
2494
2492
|
return e.indexOf(t) !== -1;
|
|
2495
|
-
},
|
|
2493
|
+
}, hs = function(e, t) {
|
|
2496
2494
|
return e === void 0 ? t : e;
|
|
2497
|
-
},
|
|
2498
|
-
return e.replace(
|
|
2499
|
-
},
|
|
2495
|
+
}, ds = /([A-Z])/g, ms = function(e) {
|
|
2496
|
+
return e.replace(ds, "-$1").toLowerCase();
|
|
2497
|
+
}, ps = {
|
|
2500
2498
|
"&": "&",
|
|
2501
2499
|
">": ">",
|
|
2502
2500
|
"<": "<",
|
|
2503
2501
|
'"': """,
|
|
2504
2502
|
"'": "'"
|
|
2505
|
-
},
|
|
2506
|
-
function
|
|
2507
|
-
return String(r).replace(
|
|
2503
|
+
}, fs = /[&><"']/g;
|
|
2504
|
+
function vs(r) {
|
|
2505
|
+
return String(r).replace(fs, (e) => ps[e]);
|
|
2508
2506
|
}
|
|
2509
2507
|
var Ua = function r(e) {
|
|
2510
2508
|
return e.type === "ordgroup" || e.type === "color" ? e.body.length === 1 ? r(e.body[0]) : e : e.type === "font" ? r(e.body) : e;
|
|
2511
|
-
},
|
|
2509
|
+
}, gs = function(e) {
|
|
2512
2510
|
var t = Ua(e);
|
|
2513
2511
|
return t.type === "mathord" || t.type === "textord" || t.type === "atom";
|
|
2514
|
-
},
|
|
2512
|
+
}, bs = function(e) {
|
|
2515
2513
|
if (!e)
|
|
2516
2514
|
throw new Error("Expected non-null, but got " + String(e));
|
|
2517
2515
|
return e;
|
|
2518
|
-
},
|
|
2516
|
+
}, ys = function(e) {
|
|
2519
2517
|
var t = /^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);
|
|
2520
2518
|
return t ? t[2] !== ":" || !/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1]) ? null : t[1].toLowerCase() : "_relative";
|
|
2521
2519
|
}, j = {
|
|
2522
|
-
contains:
|
|
2523
|
-
deflt:
|
|
2524
|
-
escape:
|
|
2525
|
-
hyphenate:
|
|
2520
|
+
contains: cs,
|
|
2521
|
+
deflt: hs,
|
|
2522
|
+
escape: vs,
|
|
2523
|
+
hyphenate: ms,
|
|
2526
2524
|
getBaseElem: Ua,
|
|
2527
|
-
isCharacterBox:
|
|
2528
|
-
protocolFromUrl:
|
|
2525
|
+
isCharacterBox: gs,
|
|
2526
|
+
protocolFromUrl: ys
|
|
2529
2527
|
}, Mt = {
|
|
2530
2528
|
displayMode: {
|
|
2531
2529
|
type: "boolean",
|
|
@@ -2613,7 +2611,7 @@ var Ua = function r(e) {
|
|
|
2613
2611
|
cli: !1
|
|
2614
2612
|
}
|
|
2615
2613
|
};
|
|
2616
|
-
function
|
|
2614
|
+
function xs(r) {
|
|
2617
2615
|
if (r.default)
|
|
2618
2616
|
return r.default;
|
|
2619
2617
|
var e = r.type, t = Array.isArray(e) ? e[0] : e;
|
|
@@ -2636,7 +2634,7 @@ class wr {
|
|
|
2636
2634
|
for (var t in Mt)
|
|
2637
2635
|
if (Mt.hasOwnProperty(t)) {
|
|
2638
2636
|
var a = Mt[t];
|
|
2639
|
-
this[t] = e[t] !== void 0 ? a.processor ? a.processor(e[t]) : e[t] :
|
|
2637
|
+
this[t] = e[t] !== void 0 ? a.processor ? a.processor(e[t]) : e[t] : xs(a);
|
|
2640
2638
|
}
|
|
2641
2639
|
}
|
|
2642
2640
|
/**
|
|
@@ -2696,40 +2694,40 @@ class d0 {
|
|
|
2696
2694
|
* Get the style of a superscript given a base in the current style.
|
|
2697
2695
|
*/
|
|
2698
2696
|
sup() {
|
|
2699
|
-
return We[
|
|
2697
|
+
return We[ws[this.id]];
|
|
2700
2698
|
}
|
|
2701
2699
|
/**
|
|
2702
2700
|
* Get the style of a subscript given a base in the current style.
|
|
2703
2701
|
*/
|
|
2704
2702
|
sub() {
|
|
2705
|
-
return We[
|
|
2703
|
+
return We[ks[this.id]];
|
|
2706
2704
|
}
|
|
2707
2705
|
/**
|
|
2708
2706
|
* Get the style of a fraction numerator given the fraction in the current
|
|
2709
2707
|
* style.
|
|
2710
2708
|
*/
|
|
2711
2709
|
fracNum() {
|
|
2712
|
-
return We[
|
|
2710
|
+
return We[Ss[this.id]];
|
|
2713
2711
|
}
|
|
2714
2712
|
/**
|
|
2715
2713
|
* Get the style of a fraction denominator given the fraction in the current
|
|
2716
2714
|
* style.
|
|
2717
2715
|
*/
|
|
2718
2716
|
fracDen() {
|
|
2719
|
-
return We[
|
|
2717
|
+
return We[Ms[this.id]];
|
|
2720
2718
|
}
|
|
2721
2719
|
/**
|
|
2722
2720
|
* Get the cramped version of a style (in particular, cramping a cramped style
|
|
2723
2721
|
* doesn't change the style).
|
|
2724
2722
|
*/
|
|
2725
2723
|
cramp() {
|
|
2726
|
-
return We[
|
|
2724
|
+
return We[As[this.id]];
|
|
2727
2725
|
}
|
|
2728
2726
|
/**
|
|
2729
2727
|
* Get a text or display version of this style.
|
|
2730
2728
|
*/
|
|
2731
2729
|
text() {
|
|
2732
|
-
return We[
|
|
2730
|
+
return We[zs[this.id]];
|
|
2733
2731
|
}
|
|
2734
2732
|
/**
|
|
2735
2733
|
* Return true if this style is tightly spaced (scriptstyle/scriptscriptstyle)
|
|
@@ -2738,7 +2736,7 @@ class d0 {
|
|
|
2738
2736
|
return this.size >= 2;
|
|
2739
2737
|
}
|
|
2740
2738
|
}
|
|
2741
|
-
var kr = 0, Tt = 1, O0 = 2, a0 = 3, tt = 4, Ne = 5, L0 = 6, xe = 7, We = [new d0(kr, 0, !1), new d0(Tt, 0, !0), new d0(O0, 1, !1), new d0(a0, 1, !0), new d0(tt, 2, !1), new d0(Ne, 2, !0), new d0(L0, 3, !1), new d0(xe, 3, !0)],
|
|
2739
|
+
var kr = 0, Tt = 1, O0 = 2, a0 = 3, tt = 4, Ne = 5, L0 = 6, xe = 7, We = [new d0(kr, 0, !1), new d0(Tt, 0, !0), new d0(O0, 1, !1), new d0(a0, 1, !0), new d0(tt, 2, !1), new d0(Ne, 2, !0), new d0(L0, 3, !1), new d0(xe, 3, !0)], ws = [tt, Ne, tt, Ne, L0, xe, L0, xe], ks = [Ne, Ne, Ne, Ne, xe, xe, xe, xe], Ss = [O0, a0, tt, Ne, L0, xe, L0, xe], Ms = [a0, a0, Ne, Ne, xe, xe, xe, xe], As = [Tt, Tt, a0, a0, Ne, Ne, xe, xe], zs = [kr, Tt, O0, a0, O0, a0, O0, a0], V = {
|
|
2742
2740
|
DISPLAY: We[kr],
|
|
2743
2741
|
TEXT: We[O0],
|
|
2744
2742
|
SCRIPT: We[tt],
|
|
@@ -2802,7 +2800,7 @@ var kr = 0, Tt = 1, O0 = 2, a0 = 3, tt = 4, Ne = 5, L0 = 6, xe = 7, We = [new d0
|
|
|
2802
2800
|
name: "hangul",
|
|
2803
2801
|
blocks: [[44032, 55215]]
|
|
2804
2802
|
}];
|
|
2805
|
-
function
|
|
2803
|
+
function Ts(r) {
|
|
2806
2804
|
for (var e = 0; e < ir.length; e++)
|
|
2807
2805
|
for (var t = ir[e], a = 0; a < t.blocks.length; a++) {
|
|
2808
2806
|
var n = t.blocks[a];
|
|
@@ -2819,7 +2817,7 @@ function Wa(r) {
|
|
|
2819
2817
|
return !0;
|
|
2820
2818
|
return !1;
|
|
2821
2819
|
}
|
|
2822
|
-
var q0 = 80,
|
|
2820
|
+
var q0 = 80, Cs = function(e, t) {
|
|
2823
2821
|
return "M95," + (622 + e + t) + `
|
|
2824
2822
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
2825
2823
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
@@ -2832,7 +2830,7 @@ H400000v` + (40 + e) + `H845.2724
|
|
|
2832
2830
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
2833
2831
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
2834
2832
|
M` + (834 + e) + " " + t + "h400000v" + (40 + e) + "h-400000z";
|
|
2835
|
-
},
|
|
2833
|
+
}, Es = function(e, t) {
|
|
2836
2834
|
return "M263," + (601 + e + t) + `c0.7,0,18,39.7,52,119
|
|
2837
2835
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
2838
2836
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
@@ -2844,7 +2842,7 @@ c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
2844
2842
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
2845
2843
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
2846
2844
|
M` + (1001 + e) + " " + t + "h400000v" + (40 + e) + "h-400000z";
|
|
2847
|
-
},
|
|
2845
|
+
}, Bs = function(e, t) {
|
|
2848
2846
|
return "M983 " + (10 + e + t) + `
|
|
2849
2847
|
l` + e / 3.13 + " -" + e + `
|
|
2850
2848
|
c4,-6.7,10,-10,18,-10 H400000v` + (40 + e) + `
|
|
@@ -2855,7 +2853,7 @@ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
2855
2853
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
2856
2854
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
2857
2855
|
M` + (1001 + e) + " " + t + "h400000v" + (40 + e) + "h-400000z";
|
|
2858
|
-
},
|
|
2856
|
+
}, Ds = function(e, t) {
|
|
2859
2857
|
return "M424," + (2398 + e + t) + `
|
|
2860
2858
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
2861
2859
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
@@ -2867,7 +2865,7 @@ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
2867
2865
|
c-2,6,-10,9,-24,9
|
|
2868
2866
|
c-8,0,-12,-0.7,-12,-2z M` + (1001 + e) + " " + t + `
|
|
2869
2867
|
h400000v` + (40 + e) + "h-400000z";
|
|
2870
|
-
},
|
|
2868
|
+
}, Is = function(e, t) {
|
|
2871
2869
|
return "M473," + (2713 + e + t) + `
|
|
2872
2870
|
c339.3,-1799.3,509.3,-2700,510,-2702 l` + e / 5.298 + " -" + e + `
|
|
2873
2871
|
c3.3,-7.3,9.3,-11,18,-11 H400000v` + (40 + e) + `H1017.7
|
|
@@ -2876,40 +2874,40 @@ c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1
|
|
|
2876
2874
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
2877
2875
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
2878
2876
|
606zM` + (1001 + e) + " " + t + "h400000v" + (40 + e) + "H1017.7z";
|
|
2879
|
-
},
|
|
2877
|
+
}, Fs = function(e) {
|
|
2880
2878
|
var t = e / 2;
|
|
2881
2879
|
return "M400000 " + e + " H0 L" + t + " 0 l65 45 L145 " + (e - 80) + " H400000z";
|
|
2882
|
-
},
|
|
2880
|
+
}, _s = function(e, t, a) {
|
|
2883
2881
|
var n = a - 54 - t - e;
|
|
2884
2882
|
return "M702 " + (e + t) + "H400000" + (40 + e) + `
|
|
2885
2883
|
H742v` + n + `l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
2886
2884
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
2887
2885
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
2888
2886
|
219 661 l218 661zM702 ` + t + "H400000v" + (40 + e) + "H742z";
|
|
2889
|
-
},
|
|
2887
|
+
}, Ns = function(e, t, a) {
|
|
2890
2888
|
t = 1e3 * t;
|
|
2891
2889
|
var n = "";
|
|
2892
2890
|
switch (e) {
|
|
2893
2891
|
case "sqrtMain":
|
|
2894
|
-
n =
|
|
2892
|
+
n = Cs(t, q0);
|
|
2895
2893
|
break;
|
|
2896
2894
|
case "sqrtSize1":
|
|
2897
|
-
n =
|
|
2895
|
+
n = Es(t, q0);
|
|
2898
2896
|
break;
|
|
2899
2897
|
case "sqrtSize2":
|
|
2900
|
-
n =
|
|
2898
|
+
n = Bs(t, q0);
|
|
2901
2899
|
break;
|
|
2902
2900
|
case "sqrtSize3":
|
|
2903
|
-
n =
|
|
2901
|
+
n = Ds(t, q0);
|
|
2904
2902
|
break;
|
|
2905
2903
|
case "sqrtSize4":
|
|
2906
|
-
n =
|
|
2904
|
+
n = Is(t, q0);
|
|
2907
2905
|
break;
|
|
2908
2906
|
case "sqrtTall":
|
|
2909
|
-
n =
|
|
2907
|
+
n = _s(t, q0, a);
|
|
2910
2908
|
}
|
|
2911
2909
|
return n;
|
|
2912
|
-
},
|
|
2910
|
+
}, qs = function(e, t) {
|
|
2913
2911
|
switch (e) {
|
|
2914
2912
|
case "⎜":
|
|
2915
2913
|
return "M291 0 H417 V" + t + " H291z M291 0 H417 V" + t + " H291z";
|
|
@@ -3184,7 +3182,7 @@ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
3184
3182
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
3185
3183
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
3186
3184
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`
|
|
3187
|
-
},
|
|
3185
|
+
}, Rs = function(e, t) {
|
|
3188
3186
|
switch (e) {
|
|
3189
3187
|
case "lbrack":
|
|
3190
3188
|
return "M403 1759 V84 H666 V0 H319 V1759 v" + t + ` v1759 h347 v-84
|
|
@@ -5498,7 +5496,7 @@ var Ye = {
|
|
|
5498
5496
|
ю: "m",
|
|
5499
5497
|
я: "r"
|
|
5500
5498
|
};
|
|
5501
|
-
function
|
|
5499
|
+
function Os(r, e) {
|
|
5502
5500
|
Ye[r] = e;
|
|
5503
5501
|
}
|
|
5504
5502
|
function Sr(r, e, t) {
|
|
@@ -5515,7 +5513,7 @@ function Sr(r, e, t) {
|
|
|
5515
5513
|
};
|
|
5516
5514
|
}
|
|
5517
5515
|
var Pt = {};
|
|
5518
|
-
function
|
|
5516
|
+
function Hs(r) {
|
|
5519
5517
|
var e;
|
|
5520
5518
|
if (r >= 5 ? e = 0 : r >= 3 ? e = 1 : e = 2, !Pt[e]) {
|
|
5521
5519
|
var t = Pt[e] = {
|
|
@@ -5526,7 +5524,7 @@ function Os(r) {
|
|
|
5526
5524
|
}
|
|
5527
5525
|
return Pt[e];
|
|
5528
5526
|
}
|
|
5529
|
-
var
|
|
5527
|
+
var Ls = [
|
|
5530
5528
|
// Each element contains [textsize, scriptsize, scriptscriptsize].
|
|
5531
5529
|
// The size mappings are taken from TeX with \normalsize=10pt.
|
|
5532
5530
|
[1, 1, 1],
|
|
@@ -5566,7 +5564,7 @@ var Hs = [
|
|
|
5566
5564
|
2.074,
|
|
5567
5565
|
2.488
|
|
5568
5566
|
], Kr = function(e, t) {
|
|
5569
|
-
return t.size < 2 ? e :
|
|
5567
|
+
return t.size < 2 ? e : Ls[e - 1][t.size - 1];
|
|
5570
5568
|
};
|
|
5571
5569
|
class t0 {
|
|
5572
5570
|
// A font family applies to a group of fonts (i.e. SansSerif), while a font
|
|
@@ -5734,7 +5732,7 @@ class t0 {
|
|
|
5734
5732
|
* Return the font metrics for this size.
|
|
5735
5733
|
*/
|
|
5736
5734
|
fontMetrics() {
|
|
5737
|
-
return this._fontMetrics || (this._fontMetrics =
|
|
5735
|
+
return this._fontMetrics || (this._fontMetrics = Hs(this.size)), this._fontMetrics;
|
|
5738
5736
|
}
|
|
5739
5737
|
/**
|
|
5740
5738
|
* Gets the CSS color of the current options object
|
|
@@ -5772,12 +5770,12 @@ var sr = {
|
|
|
5772
5770
|
// https://tex.stackexchange.com/a/41371
|
|
5773
5771
|
px: 803 / 800
|
|
5774
5772
|
// \pdfpxdimen defaults to 1 bp in pdfTeX and LuaTeX
|
|
5775
|
-
},
|
|
5773
|
+
}, $s = {
|
|
5776
5774
|
ex: !0,
|
|
5777
5775
|
em: !0,
|
|
5778
5776
|
mu: !0
|
|
5779
5777
|
}, Ya = function(e) {
|
|
5780
|
-
return typeof e != "string" && (e = e.unit), e in sr || e in
|
|
5778
|
+
return typeof e != "string" && (e = e.unit), e in sr || e in $s || e === "ex";
|
|
5781
5779
|
}, ce = function(e, t) {
|
|
5782
5780
|
var a;
|
|
5783
5781
|
if (e.unit in sr)
|
|
@@ -5868,7 +5866,7 @@ class Mr {
|
|
|
5868
5866
|
return Ka.call(this, "a");
|
|
5869
5867
|
}
|
|
5870
5868
|
}
|
|
5871
|
-
class
|
|
5869
|
+
class Ps {
|
|
5872
5870
|
constructor(e, t, a) {
|
|
5873
5871
|
this.src = void 0, this.alt = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.maxFontSize = void 0, this.style = void 0, this.alt = t, this.src = e, this.classes = ["mord"], this.style = a;
|
|
5874
5872
|
}
|
|
@@ -5889,18 +5887,18 @@ class $s {
|
|
|
5889
5887
|
return t && (e += ' style="' + j.escape(t) + '"'), e += "'/>", e;
|
|
5890
5888
|
}
|
|
5891
5889
|
}
|
|
5892
|
-
var
|
|
5890
|
+
var js = {
|
|
5893
5891
|
î: "ı̂",
|
|
5894
5892
|
ï: "ı̈",
|
|
5895
5893
|
í: "ı́",
|
|
5896
5894
|
// 'ī': '\u0131\u0304', // enable when we add Extended Latin
|
|
5897
5895
|
ì: "ı̀"
|
|
5898
5896
|
};
|
|
5899
|
-
class
|
|
5897
|
+
class Oe {
|
|
5900
5898
|
constructor(e, t, a, n, i, o, u, h) {
|
|
5901
5899
|
this.text = void 0, this.height = void 0, this.depth = void 0, this.italic = void 0, this.skew = void 0, this.width = void 0, this.maxFontSize = void 0, this.classes = void 0, this.style = void 0, this.text = e, this.height = t || 0, this.depth = a || 0, this.italic = n || 0, this.skew = i || 0, this.width = o || 0, this.classes = u || [], this.style = h || {}, this.maxFontSize = 0;
|
|
5902
|
-
var m =
|
|
5903
|
-
m && this.classes.push(m + "_fallback"), /[îïíì]/.test(this.text) && (this.text =
|
|
5900
|
+
var m = Ts(this.text.charCodeAt(0));
|
|
5901
|
+
m && this.classes.push(m + "_fallback"), /[îïíì]/.test(this.text) && (this.text = js[this.text]);
|
|
5904
5902
|
}
|
|
5905
5903
|
hasClass(e) {
|
|
5906
5904
|
return j.contains(this.classes, e);
|
|
@@ -5983,23 +5981,23 @@ class lr {
|
|
|
5983
5981
|
}
|
|
5984
5982
|
}
|
|
5985
5983
|
function Jr(r) {
|
|
5986
|
-
if (r instanceof
|
|
5984
|
+
if (r instanceof Oe)
|
|
5987
5985
|
return r;
|
|
5988
5986
|
throw new Error("Expected symbolNode but got " + String(r) + ".");
|
|
5989
5987
|
}
|
|
5990
|
-
function
|
|
5988
|
+
function Gs(r) {
|
|
5991
5989
|
if (r instanceof ot)
|
|
5992
5990
|
return r;
|
|
5993
5991
|
throw new Error("Expected span<HtmlDomNode> but got " + String(r) + ".");
|
|
5994
5992
|
}
|
|
5995
|
-
var
|
|
5993
|
+
var Vs = {
|
|
5996
5994
|
bin: 1,
|
|
5997
5995
|
close: 1,
|
|
5998
5996
|
inner: 1,
|
|
5999
5997
|
open: 1,
|
|
6000
5998
|
punct: 1,
|
|
6001
5999
|
rel: 1
|
|
6002
|
-
},
|
|
6000
|
+
}, Us = {
|
|
6003
6001
|
"accent-token": 1,
|
|
6004
6002
|
mathord: 1,
|
|
6005
6003
|
"op-token": 1,
|
|
@@ -6653,9 +6651,9 @@ for (var ye = 0; ye < Ct.length; ye++) {
|
|
|
6653
6651
|
U = "𝕜";
|
|
6654
6652
|
s(l, c, G, "k", U);
|
|
6655
6653
|
s(D, c, y, "k", U);
|
|
6656
|
-
for (var
|
|
6657
|
-
var m0 =
|
|
6658
|
-
U = String.fromCharCode(55349, 57294 +
|
|
6654
|
+
for (var E0 = 0; E0 < 10; E0++) {
|
|
6655
|
+
var m0 = E0.toString();
|
|
6656
|
+
U = String.fromCharCode(55349, 57294 + E0), s(l, c, G, m0, U), s(D, c, y, m0, U), U = String.fromCharCode(55349, 57314 + E0), s(l, c, G, m0, U), s(D, c, y, m0, U), U = String.fromCharCode(55349, 57324 + E0), s(l, c, G, m0, U), s(D, c, y, m0, U), U = String.fromCharCode(55349, 57334 + E0), s(l, c, G, m0, U), s(D, c, y, m0, U);
|
|
6659
6657
|
}
|
|
6660
6658
|
var or = "ÐÞþ";
|
|
6661
6659
|
for (var Ut = 0; Ut < or.length; Ut++) {
|
|
@@ -6729,7 +6727,7 @@ var gt = [
|
|
|
6729
6727
|
// 0-9 bold sans-serif
|
|
6730
6728
|
["mathtt", "texttt", "Typewriter-Regular"]
|
|
6731
6729
|
// 0-9 monospace
|
|
6732
|
-
],
|
|
6730
|
+
], Ws = function(e, t) {
|
|
6733
6731
|
var a = e.charCodeAt(0), n = e.charCodeAt(1), i = (a - 55296) * 1024 + (n - 56320) + 65536, o = t === "math" ? 0 : 1;
|
|
6734
6732
|
if (119808 <= i && i < 120484) {
|
|
6735
6733
|
var u = Math.floor((i - 119808) / 26);
|
|
@@ -6749,24 +6747,24 @@ var gt = [
|
|
|
6749
6747
|
value: e,
|
|
6750
6748
|
metrics: Sr(e, t, a)
|
|
6751
6749
|
};
|
|
6752
|
-
},
|
|
6750
|
+
}, $e = function(e, t, a, n, i) {
|
|
6753
6751
|
var o = Ft(e, t, a), u = o.metrics;
|
|
6754
6752
|
e = o.value;
|
|
6755
6753
|
var h;
|
|
6756
6754
|
if (u) {
|
|
6757
6755
|
var m = u.italic;
|
|
6758
|
-
(a === "text" || n && n.font === "mathit") && (m = 0), h = new
|
|
6756
|
+
(a === "text" || n && n.font === "mathit") && (m = 0), h = new Oe(e, u.height, u.depth, m, u.skew, u.width, i);
|
|
6759
6757
|
} else
|
|
6760
|
-
typeof console < "u" && console.warn("No character metrics " + ("for '" + e + "' in style '" + t + "' and mode '" + a + "'")), h = new
|
|
6758
|
+
typeof console < "u" && console.warn("No character metrics " + ("for '" + e + "' in style '" + t + "' and mode '" + a + "'")), h = new Oe(e, 0, 0, 0, 0, 0, i);
|
|
6761
6759
|
if (n) {
|
|
6762
6760
|
h.maxFontSize = n.sizeMultiplier, n.style.isTight() && h.classes.push("mtight");
|
|
6763
6761
|
var v = n.getColor();
|
|
6764
6762
|
v && (h.style.color = v);
|
|
6765
6763
|
}
|
|
6766
6764
|
return h;
|
|
6767
|
-
},
|
|
6768
|
-
return n === void 0 && (n = []), a.font === "boldsymbol" && Ft(e, "Main-Bold", t).metrics ?
|
|
6769
|
-
},
|
|
6765
|
+
}, Ys = function(e, t, a, n) {
|
|
6766
|
+
return n === void 0 && (n = []), a.font === "boldsymbol" && Ft(e, "Main-Bold", t).metrics ? $e(e, "Main-Bold", t, a, n.concat(["mathbf"])) : e === "\\" || ie[t][e].font === "main" ? $e(e, "Main-Regular", t, a, n) : $e(e, "AMS-Regular", t, a, n.concat(["amsrm"]));
|
|
6767
|
+
}, Xs = function(e, t, a, n, i) {
|
|
6770
6768
|
return i !== "textord" && Ft(e, "Math-BoldItalic", t).metrics ? {
|
|
6771
6769
|
fontName: "Math-BoldItalic",
|
|
6772
6770
|
fontClass: "boldsymbol"
|
|
@@ -6774,41 +6772,41 @@ var gt = [
|
|
|
6774
6772
|
fontName: "Main-Bold",
|
|
6775
6773
|
fontClass: "mathbf"
|
|
6776
6774
|
};
|
|
6777
|
-
},
|
|
6775
|
+
}, Zs = function(e, t, a) {
|
|
6778
6776
|
var n = e.mode, i = e.text, o = ["mord"], u = n === "math" || n === "text" && t.font, h = u ? t.font : t.fontFamily, m = "", v = "";
|
|
6779
|
-
if (i.charCodeAt(0) === 55349 && ([m, v] =
|
|
6780
|
-
return
|
|
6777
|
+
if (i.charCodeAt(0) === 55349 && ([m, v] = Ws(i, n)), m.length > 0)
|
|
6778
|
+
return $e(i, m, n, t, o.concat(v));
|
|
6781
6779
|
if (h) {
|
|
6782
6780
|
var b, w;
|
|
6783
6781
|
if (h === "boldsymbol") {
|
|
6784
|
-
var S =
|
|
6782
|
+
var S = Xs(i, n, t, o, a);
|
|
6785
6783
|
b = S.fontName, w = [S.fontClass];
|
|
6786
6784
|
} else u ? (b = tn[h].fontName, w = [h]) : (b = bt(h, t.fontWeight, t.fontShape), w = [h, t.fontWeight, t.fontShape]);
|
|
6787
6785
|
if (Ft(i, b, n).metrics)
|
|
6788
|
-
return
|
|
6786
|
+
return $e(i, b, n, t, o.concat(w));
|
|
6789
6787
|
if (Ja.hasOwnProperty(i) && b.slice(0, 10) === "Typewriter") {
|
|
6790
6788
|
for (var E = [], T = 0; T < i.length; T++)
|
|
6791
|
-
E.push(
|
|
6789
|
+
E.push($e(i[T], b, n, t, o.concat(w)));
|
|
6792
6790
|
return en(E);
|
|
6793
6791
|
}
|
|
6794
6792
|
}
|
|
6795
6793
|
if (a === "mathord")
|
|
6796
|
-
return
|
|
6794
|
+
return $e(i, "Math-Italic", n, t, o.concat(["mathnormal"]));
|
|
6797
6795
|
if (a === "textord") {
|
|
6798
6796
|
var C = ie[n][i] && ie[n][i].font;
|
|
6799
6797
|
if (C === "ams") {
|
|
6800
6798
|
var B = bt("amsrm", t.fontWeight, t.fontShape);
|
|
6801
|
-
return
|
|
6799
|
+
return $e(i, B, n, t, o.concat("amsrm", t.fontWeight, t.fontShape));
|
|
6802
6800
|
} else if (C === "main" || !C) {
|
|
6803
6801
|
var g = bt("textrm", t.fontWeight, t.fontShape);
|
|
6804
|
-
return
|
|
6802
|
+
return $e(i, g, n, t, o.concat(t.fontWeight, t.fontShape));
|
|
6805
6803
|
} else {
|
|
6806
6804
|
var x = bt(C, t.fontWeight, t.fontShape);
|
|
6807
|
-
return
|
|
6805
|
+
return $e(i, x, n, t, o.concat(x, t.fontWeight, t.fontShape));
|
|
6808
6806
|
}
|
|
6809
6807
|
} else
|
|
6810
6808
|
throw new Error("unexpected type: " + a + " in makeOrd");
|
|
6811
|
-
},
|
|
6809
|
+
}, Ks = (r, e) => {
|
|
6812
6810
|
if (g0(r.classes) !== g0(e.classes) || r.skew !== e.skew || r.maxFontSize !== e.maxFontSize)
|
|
6813
6811
|
return !1;
|
|
6814
6812
|
if (r.classes.length === 1) {
|
|
@@ -6823,10 +6821,10 @@ var gt = [
|
|
|
6823
6821
|
if (e.style.hasOwnProperty(n) && r.style[n] !== e.style[n])
|
|
6824
6822
|
return !1;
|
|
6825
6823
|
return !0;
|
|
6826
|
-
},
|
|
6824
|
+
}, Js = (r) => {
|
|
6827
6825
|
for (var e = 0; e < r.length - 1; e++) {
|
|
6828
6826
|
var t = r[e], a = r[e + 1];
|
|
6829
|
-
t instanceof
|
|
6827
|
+
t instanceof Oe && a instanceof Oe && Ks(t, a) && (t.text += a.text, t.height = Math.max(t.height, a.height), t.depth = Math.max(t.depth, a.depth), t.italic = a.italic, r.splice(e + 1, 1), e--);
|
|
6830
6828
|
}
|
|
6831
6829
|
return r;
|
|
6832
6830
|
}, Ar = function(e) {
|
|
@@ -6838,18 +6836,18 @@ var gt = [
|
|
|
6838
6836
|
}, Se = function(e, t, a, n) {
|
|
6839
6837
|
var i = new ot(e, t, a, n);
|
|
6840
6838
|
return Ar(i), i;
|
|
6841
|
-
}, Qa = (r, e, t, a) => new ot(r, e, t, a),
|
|
6839
|
+
}, Qa = (r, e, t, a) => new ot(r, e, t, a), Qs = function(e, t, a) {
|
|
6842
6840
|
var n = Se([e], [], t);
|
|
6843
6841
|
return n.height = Math.max(a || t.fontMetrics().defaultRuleThickness, t.minRuleThickness), n.style.borderBottomWidth = R(n.height), n.maxFontSize = 1, n;
|
|
6844
|
-
},
|
|
6842
|
+
}, e1 = function(e, t, a, n) {
|
|
6845
6843
|
var i = new Mr(e, t, a, n);
|
|
6846
6844
|
return Ar(i), i;
|
|
6847
6845
|
}, en = function(e) {
|
|
6848
6846
|
var t = new lt(e);
|
|
6849
6847
|
return Ar(t), t;
|
|
6850
|
-
},
|
|
6848
|
+
}, t1 = function(e, t) {
|
|
6851
6849
|
return e instanceof lt ? Se([], [e], t) : e;
|
|
6852
|
-
},
|
|
6850
|
+
}, r1 = function(e) {
|
|
6853
6851
|
if (e.positionType === "individualShift") {
|
|
6854
6852
|
for (var t = e.children, a = [t[0]], n = -t[0].shift - t[0].elem.depth, i = n, o = 1; o < t.length; o++) {
|
|
6855
6853
|
var u = -t[o].shift - i - t[o].elem.depth, h = u - (t[o - 1].elem.height + t[o - 1].elem.depth);
|
|
@@ -6887,11 +6885,11 @@ var gt = [
|
|
|
6887
6885
|
children: e.children,
|
|
6888
6886
|
depth: m
|
|
6889
6887
|
};
|
|
6890
|
-
},
|
|
6888
|
+
}, a1 = function(e, t) {
|
|
6891
6889
|
for (var {
|
|
6892
6890
|
children: a,
|
|
6893
6891
|
depth: n
|
|
6894
|
-
} =
|
|
6892
|
+
} = r1(e), i = 0, o = 0; o < a.length; o++) {
|
|
6895
6893
|
var u = a[o];
|
|
6896
6894
|
if (u.type === "elem") {
|
|
6897
6895
|
var h = u.elem;
|
|
@@ -6917,13 +6915,13 @@ var gt = [
|
|
|
6917
6915
|
if (b < 0) {
|
|
6918
6916
|
var z = Se([], []), F = Se(["vlist"], [z]);
|
|
6919
6917
|
F.style.height = R(-b);
|
|
6920
|
-
var $ = Se(["vlist-s"], [new
|
|
6918
|
+
var $ = Se(["vlist-s"], [new Oe("")]);
|
|
6921
6919
|
M = [Se(["vlist-r"], [A, $]), Se(["vlist-r"], [F])];
|
|
6922
6920
|
} else
|
|
6923
6921
|
M = [Se(["vlist-r"], [A])];
|
|
6924
6922
|
var q = Se(["vlist-t"], M);
|
|
6925
6923
|
return M.length === 2 && q.classes.push("vlist-t2"), q.height = w, q.depth = -b, q;
|
|
6926
|
-
},
|
|
6924
|
+
}, n1 = (r, e) => {
|
|
6927
6925
|
var t = Se(["mspace"], [], e), a = ce(r, e);
|
|
6928
6926
|
return t.style.marginRight = R(a), t;
|
|
6929
6927
|
}, bt = function(e, t, a) {
|
|
@@ -7005,7 +7003,7 @@ var gt = [
|
|
|
7005
7003
|
oiintSize2: ["oiintSize2", 1.472, 0.659],
|
|
7006
7004
|
oiiintSize1: ["oiiintSize1", 1.304, 0.499],
|
|
7007
7005
|
oiiintSize2: ["oiiintSize2", 1.98, 0.659]
|
|
7008
|
-
},
|
|
7006
|
+
}, i1 = function(e, t) {
|
|
7009
7007
|
var [a, n, i] = rn[e], o = new b0(a), u = new i0([o], {
|
|
7010
7008
|
width: R(n),
|
|
7011
7009
|
height: R(i),
|
|
@@ -7017,33 +7015,33 @@ var gt = [
|
|
|
7017
7015
|
return h.height = i, h.style.height = R(i), h.style.width = R(n), h;
|
|
7018
7016
|
}, k = {
|
|
7019
7017
|
fontMap: tn,
|
|
7020
|
-
makeSymbol:
|
|
7021
|
-
mathsym:
|
|
7018
|
+
makeSymbol: $e,
|
|
7019
|
+
mathsym: Ys,
|
|
7022
7020
|
makeSpan: Se,
|
|
7023
7021
|
makeSvgSpan: Qa,
|
|
7024
|
-
makeLineSpan:
|
|
7025
|
-
makeAnchor:
|
|
7022
|
+
makeLineSpan: Qs,
|
|
7023
|
+
makeAnchor: e1,
|
|
7026
7024
|
makeFragment: en,
|
|
7027
|
-
wrapFragment:
|
|
7028
|
-
makeVList:
|
|
7029
|
-
makeOrd:
|
|
7030
|
-
makeGlue:
|
|
7031
|
-
staticSvg:
|
|
7025
|
+
wrapFragment: t1,
|
|
7026
|
+
makeVList: a1,
|
|
7027
|
+
makeOrd: Zs,
|
|
7028
|
+
makeGlue: n1,
|
|
7029
|
+
staticSvg: i1,
|
|
7032
7030
|
svgData: rn,
|
|
7033
|
-
tryCombineChars:
|
|
7031
|
+
tryCombineChars: Js
|
|
7034
7032
|
}, ue = {
|
|
7035
7033
|
number: 3,
|
|
7036
7034
|
unit: "mu"
|
|
7037
|
-
},
|
|
7035
|
+
}, B0 = {
|
|
7038
7036
|
number: 4,
|
|
7039
7037
|
unit: "mu"
|
|
7040
7038
|
}, e0 = {
|
|
7041
7039
|
number: 5,
|
|
7042
7040
|
unit: "mu"
|
|
7043
|
-
},
|
|
7041
|
+
}, s1 = {
|
|
7044
7042
|
mord: {
|
|
7045
7043
|
mop: ue,
|
|
7046
|
-
mbin:
|
|
7044
|
+
mbin: B0,
|
|
7047
7045
|
mrel: e0,
|
|
7048
7046
|
minner: ue
|
|
7049
7047
|
},
|
|
@@ -7054,10 +7052,10 @@ var gt = [
|
|
|
7054
7052
|
minner: ue
|
|
7055
7053
|
},
|
|
7056
7054
|
mbin: {
|
|
7057
|
-
mord:
|
|
7058
|
-
mop:
|
|
7059
|
-
mopen:
|
|
7060
|
-
minner:
|
|
7055
|
+
mord: B0,
|
|
7056
|
+
mop: B0,
|
|
7057
|
+
mopen: B0,
|
|
7058
|
+
minner: B0
|
|
7061
7059
|
},
|
|
7062
7060
|
mrel: {
|
|
7063
7061
|
mord: e0,
|
|
@@ -7068,7 +7066,7 @@ var gt = [
|
|
|
7068
7066
|
mopen: {},
|
|
7069
7067
|
mclose: {
|
|
7070
7068
|
mop: ue,
|
|
7071
|
-
mbin:
|
|
7069
|
+
mbin: B0,
|
|
7072
7070
|
mrel: e0,
|
|
7073
7071
|
minner: ue
|
|
7074
7072
|
},
|
|
@@ -7084,13 +7082,13 @@ var gt = [
|
|
|
7084
7082
|
minner: {
|
|
7085
7083
|
mord: ue,
|
|
7086
7084
|
mop: ue,
|
|
7087
|
-
mbin:
|
|
7085
|
+
mbin: B0,
|
|
7088
7086
|
mrel: e0,
|
|
7089
7087
|
mopen: ue,
|
|
7090
7088
|
mpunct: ue,
|
|
7091
7089
|
minner: ue
|
|
7092
7090
|
}
|
|
7093
|
-
},
|
|
7091
|
+
}, l1 = {
|
|
7094
7092
|
mord: {
|
|
7095
7093
|
mop: ue
|
|
7096
7094
|
},
|
|
@@ -7109,7 +7107,7 @@ var gt = [
|
|
|
7109
7107
|
mop: ue
|
|
7110
7108
|
}
|
|
7111
7109
|
}, an = {}, Et = {}, Bt = {};
|
|
7112
|
-
function
|
|
7110
|
+
function H(r) {
|
|
7113
7111
|
for (var {
|
|
7114
7112
|
type: e,
|
|
7115
7113
|
names: t,
|
|
@@ -7138,7 +7136,7 @@ function _0(r) {
|
|
|
7138
7136
|
htmlBuilder: t,
|
|
7139
7137
|
mathmlBuilder: a
|
|
7140
7138
|
} = r;
|
|
7141
|
-
|
|
7139
|
+
H({
|
|
7142
7140
|
type: e,
|
|
7143
7141
|
names: [],
|
|
7144
7142
|
props: {
|
|
@@ -7155,12 +7153,12 @@ var Dt = function(e) {
|
|
|
7155
7153
|
return e.type === "ordgroup" && e.body.length === 1 ? e.body[0] : e;
|
|
7156
7154
|
}, de = function(e) {
|
|
7157
7155
|
return e.type === "ordgroup" ? e.body : [e];
|
|
7158
|
-
}, s0 = k.makeSpan,
|
|
7156
|
+
}, s0 = k.makeSpan, o1 = ["leftmost", "mbin", "mopen", "mrel", "mop", "mpunct"], u1 = ["rightmost", "mrel", "mclose", "mpunct"], c1 = {
|
|
7159
7157
|
display: V.DISPLAY,
|
|
7160
7158
|
text: V.TEXT,
|
|
7161
7159
|
script: V.SCRIPT,
|
|
7162
7160
|
scriptscript: V.SCRIPTSCRIPT
|
|
7163
|
-
},
|
|
7161
|
+
}, h1 = {
|
|
7164
7162
|
mord: "mord",
|
|
7165
7163
|
mop: "mop",
|
|
7166
7164
|
mbin: "mbin",
|
|
@@ -7184,16 +7182,16 @@ var Dt = function(e) {
|
|
|
7184
7182
|
var m = t;
|
|
7185
7183
|
if (e.length === 1) {
|
|
7186
7184
|
var v = e[0];
|
|
7187
|
-
v.type === "sizing" ? m = t.havingSize(v.size) : v.type === "styling" && (m = t.havingStyle(
|
|
7185
|
+
v.type === "sizing" ? m = t.havingSize(v.size) : v.type === "styling" && (m = t.havingStyle(c1[v.style]));
|
|
7188
7186
|
}
|
|
7189
7187
|
var b = s0([n[0] || "leftmost"], [], t), w = s0([n[1] || "rightmost"], [], t), S = a === "root";
|
|
7190
7188
|
return na(i, (E, T) => {
|
|
7191
7189
|
var C = T.classes[0], B = E.classes[0];
|
|
7192
|
-
C === "mbin" && j.contains(
|
|
7190
|
+
C === "mbin" && j.contains(u1, B) ? T.classes[0] = "mord" : B === "mbin" && j.contains(o1, C) && (E.classes[0] = "mord");
|
|
7193
7191
|
}, {
|
|
7194
7192
|
node: b
|
|
7195
7193
|
}, w, S), na(i, (E, T) => {
|
|
7196
|
-
var C = ur(T), B = ur(E), g = C && B ? E.hasClass("mtight") ?
|
|
7194
|
+
var C = ur(T), B = ur(E), g = C && B ? E.hasClass("mtight") ? l1[C][B] : s1[C][B] : null;
|
|
7197
7195
|
if (g)
|
|
7198
7196
|
return k.makeGlue(g, m);
|
|
7199
7197
|
}, {
|
|
@@ -7219,7 +7217,7 @@ var Dt = function(e) {
|
|
|
7219
7217
|
n && e.pop();
|
|
7220
7218
|
}, nn = function(e) {
|
|
7221
7219
|
return e instanceof lt || e instanceof Mr || e instanceof ot && e.hasClass("enclosing") ? e : null;
|
|
7222
|
-
},
|
|
7220
|
+
}, d1 = function r(e, t) {
|
|
7223
7221
|
var a = nn(e);
|
|
7224
7222
|
if (a) {
|
|
7225
7223
|
var n = a.children;
|
|
@@ -7232,7 +7230,7 @@ var Dt = function(e) {
|
|
|
7232
7230
|
}
|
|
7233
7231
|
return e;
|
|
7234
7232
|
}, ur = function(e, t) {
|
|
7235
|
-
return e ? (t && (e =
|
|
7233
|
+
return e ? (t && (e = d1(e, t)), h1[e.classes[0]] || null) : null;
|
|
7236
7234
|
}, rt = function(e, t) {
|
|
7237
7235
|
var a = ["nulldelimiter"].concat(e.baseSizingClasses());
|
|
7238
7236
|
return s0(t.concat(a));
|
|
@@ -7351,7 +7349,7 @@ class Q0 {
|
|
|
7351
7349
|
return this.text;
|
|
7352
7350
|
}
|
|
7353
7351
|
}
|
|
7354
|
-
class
|
|
7352
|
+
class m1 {
|
|
7355
7353
|
/**
|
|
7356
7354
|
* Create a Space node with width given in CSS ems.
|
|
7357
7355
|
*/
|
|
@@ -7383,9 +7381,9 @@ class d1 {
|
|
|
7383
7381
|
var I = {
|
|
7384
7382
|
MathNode: _e,
|
|
7385
7383
|
TextNode: Q0,
|
|
7386
|
-
SpaceNode:
|
|
7384
|
+
SpaceNode: m1,
|
|
7387
7385
|
newDocumentFragment: sn
|
|
7388
|
-
},
|
|
7386
|
+
}, He = function(e, t, a) {
|
|
7389
7387
|
return ie[t][e] && ie[t][e].replace && e.charCodeAt(0) !== 55349 && !(Ja.hasOwnProperty(e) && a && (a.fontFamily && a.fontFamily.slice(4, 6) === "tt" || a.font && a.font.slice(4, 6) === "tt")) && (e = ie[t][e].replace), new I.TextNode(e);
|
|
7390
7388
|
}, zr = function(e) {
|
|
7391
7389
|
return e.length === 1 ? e[0] : new I.MathNode("mrow", e);
|
|
@@ -7490,7 +7488,7 @@ var ln = function(e) {
|
|
|
7490
7488
|
t.leqno && a.push("leqno"), t.fleqn && a.push("fleqn"), e = k.makeSpan(a, [e]);
|
|
7491
7489
|
}
|
|
7492
7490
|
return e;
|
|
7493
|
-
},
|
|
7491
|
+
}, p1 = function(e, t, a) {
|
|
7494
7492
|
var n = ln(a), i;
|
|
7495
7493
|
if (a.output === "mathml")
|
|
7496
7494
|
return ia(e, t, n, a.displayMode, !0);
|
|
@@ -7502,10 +7500,10 @@ var ln = function(e) {
|
|
|
7502
7500
|
i = k.makeSpan(["katex"], [u, h]);
|
|
7503
7501
|
}
|
|
7504
7502
|
return on(i, a);
|
|
7505
|
-
},
|
|
7503
|
+
}, f1 = function(e, t, a) {
|
|
7506
7504
|
var n = ln(a), i = cr(e, n), o = k.makeSpan(["katex"], [i]);
|
|
7507
7505
|
return on(o, a);
|
|
7508
|
-
},
|
|
7506
|
+
}, v1 = {
|
|
7509
7507
|
widehat: "^",
|
|
7510
7508
|
widecheck: "ˇ",
|
|
7511
7509
|
widetilde: "~",
|
|
@@ -7550,10 +7548,10 @@ var ln = function(e) {
|
|
|
7550
7548
|
"\\cdrightarrow": "→",
|
|
7551
7549
|
"\\cdleftarrow": "←",
|
|
7552
7550
|
"\\cdlongequal": "="
|
|
7553
|
-
},
|
|
7554
|
-
var t = new I.MathNode("mo", [new I.TextNode(
|
|
7551
|
+
}, g1 = function(e) {
|
|
7552
|
+
var t = new I.MathNode("mo", [new I.TextNode(v1[e.replace(/^\\/, "")])]);
|
|
7555
7553
|
return t.setAttribute("stretchy", "true"), t;
|
|
7556
|
-
},
|
|
7554
|
+
}, b1 = {
|
|
7557
7555
|
// path(s), minWidth, height, align
|
|
7558
7556
|
overrightarrow: [["rightarrow"], 0.888, 522, "xMaxYMin"],
|
|
7559
7557
|
overleftarrow: [["leftarrow"], 0.888, 522, "xMinYMin"],
|
|
@@ -7600,13 +7598,13 @@ var ln = function(e) {
|
|
|
7600
7598
|
xrightleftarrows: [["baraboveleftarrow", "rightarrowabovebar"], 1.75, 901],
|
|
7601
7599
|
xrightequilibrium: [["baraboveshortleftharpoon", "rightharpoonaboveshortbar"], 1.75, 716],
|
|
7602
7600
|
xleftequilibrium: [["shortbaraboveleftharpoon", "shortrightharpoonabovebar"], 1.75, 716]
|
|
7603
|
-
},
|
|
7601
|
+
}, y1 = function(e) {
|
|
7604
7602
|
return e.type === "ordgroup" ? e.body.length : 1;
|
|
7605
|
-
},
|
|
7603
|
+
}, x1 = function(e, t) {
|
|
7606
7604
|
function a() {
|
|
7607
7605
|
var u = 4e5, h = e.label.slice(1);
|
|
7608
7606
|
if (j.contains(["widehat", "widecheck", "widetilde", "utilde"], h)) {
|
|
7609
|
-
var m = e, v =
|
|
7607
|
+
var m = e, v = y1(m.base), b, w, S;
|
|
7610
7608
|
if (v > 5)
|
|
7611
7609
|
h === "widehat" || h === "widecheck" ? (b = 420, u = 2364, S = 0.42, w = h + "4") : (b = 312, u = 2340, S = 0.34, w = "tilde4");
|
|
7612
7610
|
else {
|
|
@@ -7625,7 +7623,7 @@ var ln = function(e) {
|
|
|
7625
7623
|
height: S
|
|
7626
7624
|
};
|
|
7627
7625
|
} else {
|
|
7628
|
-
var B = [], g =
|
|
7626
|
+
var B = [], g = b1[h], [x, A, M] = g, z = M / 1e3, F = x.length, $, q;
|
|
7629
7627
|
if (F === 1) {
|
|
7630
7628
|
var te = g[3];
|
|
7631
7629
|
$ = ["hide-tail"], q = [te];
|
|
@@ -7664,7 +7662,7 @@ var ln = function(e) {
|
|
|
7664
7662
|
height: o
|
|
7665
7663
|
} = a();
|
|
7666
7664
|
return n.height = o, n.style.height = R(o), i > 0 && (n.style.minWidth = R(i)), n;
|
|
7667
|
-
},
|
|
7665
|
+
}, w1 = function(e, t, a, n, i) {
|
|
7668
7666
|
var o, u = e.height + e.depth + a + n;
|
|
7669
7667
|
if (/fbox|color|angl/.test(t)) {
|
|
7670
7668
|
if (o = k.makeSpan(["stretchy", t], [], i), t === "fbox") {
|
|
@@ -7694,9 +7692,9 @@ var ln = function(e) {
|
|
|
7694
7692
|
}
|
|
7695
7693
|
return o.height = u, o.style.height = R(u), o;
|
|
7696
7694
|
}, l0 = {
|
|
7697
|
-
encloseSpan:
|
|
7698
|
-
mathMLnode:
|
|
7699
|
-
svgSpan:
|
|
7695
|
+
encloseSpan: w1,
|
|
7696
|
+
mathMLnode: g1,
|
|
7697
|
+
svgSpan: x1
|
|
7700
7698
|
};
|
|
7701
7699
|
function Z(r, e) {
|
|
7702
7700
|
if (!r || r.type !== e)
|
|
@@ -7710,11 +7708,11 @@ function Cr(r) {
|
|
|
7710
7708
|
return e;
|
|
7711
7709
|
}
|
|
7712
7710
|
function _t(r) {
|
|
7713
|
-
return r && (r.type === "atom" ||
|
|
7711
|
+
return r && (r.type === "atom" || Us.hasOwnProperty(r.type)) ? r : null;
|
|
7714
7712
|
}
|
|
7715
7713
|
var Er = (r, e) => {
|
|
7716
7714
|
var t, a, n;
|
|
7717
|
-
r && r.type === "supsub" ? (a = Z(r.base, "accent"), t = a.base, r.base = t, n =
|
|
7715
|
+
r && r.type === "supsub" ? (a = Z(r.base, "accent"), t = a.base, r.base = t, n = Gs(ee(r, e)), r.base = a) : (a = Z(r, "accent"), t = a.base);
|
|
7718
7716
|
var i = ee(t, e.havingCrampedStyle()), o = a.isShifty && j.isCharacterBox(t), u = 0;
|
|
7719
7717
|
if (o) {
|
|
7720
7718
|
var h = j.getBaseElem(t), m = ee(h, e.havingCrampedStyle());
|
|
@@ -7763,17 +7761,17 @@ var Er = (r, e) => {
|
|
|
7763
7761
|
var B = k.makeSpan(["mord", "accent"], [w], e);
|
|
7764
7762
|
return n ? (n.children[0] = B, n.height = Math.max(B.height, n.height), n.classes[0] = "mord", n) : B;
|
|
7765
7763
|
}, un = (r, e) => {
|
|
7766
|
-
var t = r.isStretchy ? l0.mathMLnode(r.label) : new I.MathNode("mo", [
|
|
7764
|
+
var t = r.isStretchy ? l0.mathMLnode(r.label) : new I.MathNode("mo", [He(r.label, r.mode)]), a = new I.MathNode("mover", [ne(r.base, e), t]);
|
|
7767
7765
|
return a.setAttribute("accent", "true"), a;
|
|
7768
|
-
},
|
|
7769
|
-
|
|
7766
|
+
}, k1 = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((r) => "\\" + r).join("|"));
|
|
7767
|
+
H({
|
|
7770
7768
|
type: "accent",
|
|
7771
7769
|
names: ["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring", "\\widecheck", "\\widehat", "\\widetilde", "\\overrightarrow", "\\overleftarrow", "\\Overrightarrow", "\\overleftrightarrow", "\\overgroup", "\\overlinesegment", "\\overleftharpoon", "\\overrightharpoon"],
|
|
7772
7770
|
props: {
|
|
7773
7771
|
numArgs: 1
|
|
7774
7772
|
},
|
|
7775
7773
|
handler: (r, e) => {
|
|
7776
|
-
var t = Dt(e[0]), a = !
|
|
7774
|
+
var t = Dt(e[0]), a = !k1.test(r.funcName), n = !a || r.funcName === "\\widehat" || r.funcName === "\\widetilde" || r.funcName === "\\widecheck";
|
|
7777
7775
|
return {
|
|
7778
7776
|
type: "accent",
|
|
7779
7777
|
mode: r.parser.mode,
|
|
@@ -7786,7 +7784,7 @@ L({
|
|
|
7786
7784
|
htmlBuilder: Er,
|
|
7787
7785
|
mathmlBuilder: un
|
|
7788
7786
|
});
|
|
7789
|
-
|
|
7787
|
+
H({
|
|
7790
7788
|
type: "accent",
|
|
7791
7789
|
names: ["\\'", "\\`", "\\^", "\\~", "\\=", "\\u", "\\.", '\\"', "\\c", "\\r", "\\H", "\\v", "\\textcircled"],
|
|
7792
7790
|
props: {
|
|
@@ -7810,7 +7808,7 @@ L({
|
|
|
7810
7808
|
htmlBuilder: Er,
|
|
7811
7809
|
mathmlBuilder: un
|
|
7812
7810
|
});
|
|
7813
|
-
|
|
7811
|
+
H({
|
|
7814
7812
|
type: "accentUnder",
|
|
7815
7813
|
names: ["\\underleftarrow", "\\underrightarrow", "\\underleftrightarrow", "\\undergroup", "\\underlinesegment", "\\utilde"],
|
|
7816
7814
|
props: {
|
|
@@ -7855,7 +7853,7 @@ var xt = (r) => {
|
|
|
7855
7853
|
var e = new I.MathNode("mpadded", r ? [r] : []);
|
|
7856
7854
|
return e.setAttribute("width", "+0.6em"), e.setAttribute("lspace", "0.3em"), e;
|
|
7857
7855
|
};
|
|
7858
|
-
|
|
7856
|
+
H({
|
|
7859
7857
|
type: "xArrow",
|
|
7860
7858
|
names: [
|
|
7861
7859
|
"\\xleftarrow",
|
|
@@ -7966,16 +7964,16 @@ L({
|
|
|
7966
7964
|
return a;
|
|
7967
7965
|
}
|
|
7968
7966
|
});
|
|
7969
|
-
var
|
|
7967
|
+
var S1 = k.makeSpan;
|
|
7970
7968
|
function cn(r, e) {
|
|
7971
7969
|
var t = pe(r.body, e, !0);
|
|
7972
|
-
return
|
|
7970
|
+
return S1([r.mclass], t, e);
|
|
7973
7971
|
}
|
|
7974
7972
|
function hn(r, e) {
|
|
7975
7973
|
var t, a = Ae(r.body, e);
|
|
7976
7974
|
return r.mclass === "minner" ? t = new I.MathNode("mpadded", a) : r.mclass === "mord" ? r.isCharacterBox ? (t = a[0], t.type = "mi") : t = new I.MathNode("mi", a) : (r.isCharacterBox ? (t = a[0], t.type = "mo") : t = new I.MathNode("mo", a), r.mclass === "mbin" ? (t.attributes.lspace = "0.22em", t.attributes.rspace = "0.22em") : r.mclass === "mpunct" ? (t.attributes.lspace = "0em", t.attributes.rspace = "0.17em") : r.mclass === "mopen" || r.mclass === "mclose" ? (t.attributes.lspace = "0em", t.attributes.rspace = "0em") : r.mclass === "minner" && (t.attributes.lspace = "0.0556em", t.attributes.width = "+0.1111em")), t;
|
|
7977
7975
|
}
|
|
7978
|
-
|
|
7976
|
+
H({
|
|
7979
7977
|
type: "mclass",
|
|
7980
7978
|
names: ["\\mathord", "\\mathbin", "\\mathrel", "\\mathopen", "\\mathclose", "\\mathpunct", "\\mathinner"],
|
|
7981
7979
|
props: {
|
|
@@ -8003,7 +8001,7 @@ var Nt = (r) => {
|
|
|
8003
8001
|
var e = r.type === "ordgroup" && r.body.length ? r.body[0] : r;
|
|
8004
8002
|
return e.type === "atom" && (e.family === "bin" || e.family === "rel") ? "m" + e.family : "mord";
|
|
8005
8003
|
};
|
|
8006
|
-
|
|
8004
|
+
H({
|
|
8007
8005
|
type: "mclass",
|
|
8008
8006
|
names: ["\\@binrel"],
|
|
8009
8007
|
props: {
|
|
@@ -8022,7 +8020,7 @@ L({
|
|
|
8022
8020
|
};
|
|
8023
8021
|
}
|
|
8024
8022
|
});
|
|
8025
|
-
|
|
8023
|
+
H({
|
|
8026
8024
|
type: "mclass",
|
|
8027
8025
|
names: ["\\stackrel", "\\overset", "\\underset"],
|
|
8028
8026
|
props: {
|
|
@@ -8061,7 +8059,7 @@ L({
|
|
|
8061
8059
|
htmlBuilder: cn,
|
|
8062
8060
|
mathmlBuilder: hn
|
|
8063
8061
|
});
|
|
8064
|
-
|
|
8062
|
+
H({
|
|
8065
8063
|
type: "pmb",
|
|
8066
8064
|
names: ["\\pmb"],
|
|
8067
8065
|
props: {
|
|
@@ -8088,7 +8086,7 @@ L({
|
|
|
8088
8086
|
return a.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px"), a;
|
|
8089
8087
|
}
|
|
8090
8088
|
});
|
|
8091
|
-
var
|
|
8089
|
+
var M1 = {
|
|
8092
8090
|
">": "\\\\cdrightarrow",
|
|
8093
8091
|
"<": "\\\\cdleftarrow",
|
|
8094
8092
|
"=": "\\\\cdlongequal",
|
|
@@ -8101,9 +8099,9 @@ var S1 = {
|
|
|
8101
8099
|
body: [],
|
|
8102
8100
|
mode: "math",
|
|
8103
8101
|
style: "display"
|
|
8104
|
-
}), la = (r) => r.type === "textord" && r.text === "@",
|
|
8105
|
-
function
|
|
8106
|
-
var a =
|
|
8102
|
+
}), la = (r) => r.type === "textord" && r.text === "@", A1 = (r, e) => (r.type === "mathord" || r.type === "atom") && r.text === e;
|
|
8103
|
+
function z1(r, e, t) {
|
|
8104
|
+
var a = M1[r];
|
|
8107
8105
|
switch (a) {
|
|
8108
8106
|
case "\\\\cdrightarrow":
|
|
8109
8107
|
case "\\\\cdleftarrow":
|
|
@@ -8140,7 +8138,7 @@ function A1(r, e, t) {
|
|
|
8140
8138
|
};
|
|
8141
8139
|
}
|
|
8142
8140
|
}
|
|
8143
|
-
function
|
|
8141
|
+
function T1(r) {
|
|
8144
8142
|
var e = [];
|
|
8145
8143
|
for (r.gullet.beginGroup(), r.gullet.macros.set("\\cr", "\\\\\\relax"), r.gullet.beginGroup(); ; ) {
|
|
8146
8144
|
e.push(r.parseExpression(!1, "\\\\")), r.gullet.endGroup(), r.gullet.beginGroup();
|
|
@@ -8171,7 +8169,7 @@ function z1(r) {
|
|
|
8171
8169
|
}, !("=|.".indexOf(m) > -1)) if ("<>AV".indexOf(m) > -1)
|
|
8172
8170
|
for (var b = 0; b < 2; b++) {
|
|
8173
8171
|
for (var w = !0, S = h + 1; S < o.length; S++) {
|
|
8174
|
-
if (
|
|
8172
|
+
if (A1(o[S], m)) {
|
|
8175
8173
|
w = !1, h = S;
|
|
8176
8174
|
break;
|
|
8177
8175
|
}
|
|
@@ -8184,7 +8182,7 @@ function z1(r) {
|
|
|
8184
8182
|
}
|
|
8185
8183
|
else
|
|
8186
8184
|
throw new _('Expected one of "<>AV=|." after @', o[h]);
|
|
8187
|
-
var E =
|
|
8185
|
+
var E = z1(m, v, r), T = {
|
|
8188
8186
|
type: "styling",
|
|
8189
8187
|
body: [E],
|
|
8190
8188
|
mode: "math",
|
|
@@ -8216,7 +8214,7 @@ function z1(r) {
|
|
|
8216
8214
|
hLinesBeforeRow: new Array(n.length + 1).fill([])
|
|
8217
8215
|
};
|
|
8218
8216
|
}
|
|
8219
|
-
|
|
8217
|
+
H({
|
|
8220
8218
|
type: "cdlabel",
|
|
8221
8219
|
names: ["\\\\cdleft", "\\\\cdright"],
|
|
8222
8220
|
props: {
|
|
@@ -8243,7 +8241,7 @@ L({
|
|
|
8243
8241
|
return t = new I.MathNode("mpadded", [t]), t.setAttribute("width", "0"), r.side === "left" && t.setAttribute("lspace", "-1width"), t.setAttribute("voffset", "0.7em"), t = new I.MathNode("mstyle", [t]), t.setAttribute("displaystyle", "false"), t.setAttribute("scriptlevel", "1"), t;
|
|
8244
8242
|
}
|
|
8245
8243
|
});
|
|
8246
|
-
|
|
8244
|
+
H({
|
|
8247
8245
|
type: "cdlabelparent",
|
|
8248
8246
|
names: ["\\\\cdparent"],
|
|
8249
8247
|
props: {
|
|
@@ -8267,7 +8265,7 @@ L({
|
|
|
8267
8265
|
return new I.MathNode("mrow", [ne(r.fragment, e)]);
|
|
8268
8266
|
}
|
|
8269
8267
|
});
|
|
8270
|
-
|
|
8268
|
+
H({
|
|
8271
8269
|
type: "textord",
|
|
8272
8270
|
names: ["\\@char"],
|
|
8273
8271
|
props: {
|
|
@@ -8300,7 +8298,7 @@ var dn = (r, e) => {
|
|
|
8300
8298
|
var t = Ae(r.body, e.withColor(r.color)), a = new I.MathNode("mstyle", t);
|
|
8301
8299
|
return a.setAttribute("mathcolor", r.color), a;
|
|
8302
8300
|
};
|
|
8303
|
-
|
|
8301
|
+
H({
|
|
8304
8302
|
type: "color",
|
|
8305
8303
|
names: ["\\textcolor"],
|
|
8306
8304
|
props: {
|
|
@@ -8322,7 +8320,7 @@ L({
|
|
|
8322
8320
|
htmlBuilder: dn,
|
|
8323
8321
|
mathmlBuilder: mn
|
|
8324
8322
|
});
|
|
8325
|
-
|
|
8323
|
+
H({
|
|
8326
8324
|
type: "color",
|
|
8327
8325
|
names: ["\\color"],
|
|
8328
8326
|
props: {
|
|
@@ -8347,7 +8345,7 @@ L({
|
|
|
8347
8345
|
htmlBuilder: dn,
|
|
8348
8346
|
mathmlBuilder: mn
|
|
8349
8347
|
});
|
|
8350
|
-
|
|
8348
|
+
H({
|
|
8351
8349
|
type: "cr",
|
|
8352
8350
|
names: ["\\\\"],
|
|
8353
8351
|
props: {
|
|
@@ -8392,7 +8390,7 @@ var hr = {
|
|
|
8392
8390
|
if (/^(?:[\\{}$&#^_]|EOF)$/.test(e))
|
|
8393
8391
|
throw new _("Expected a control sequence", r);
|
|
8394
8392
|
return e;
|
|
8395
|
-
},
|
|
8393
|
+
}, C1 = (r) => {
|
|
8396
8394
|
var e = r.gullet.popToken();
|
|
8397
8395
|
return e.text === "=" && (e = r.gullet.popToken(), e.text === " " && (e = r.gullet.popToken())), e;
|
|
8398
8396
|
}, fn = (r, e, t, a) => {
|
|
@@ -8404,7 +8402,7 @@ var hr = {
|
|
|
8404
8402
|
unexpandable: !r.gullet.isExpandable(t.text)
|
|
8405
8403
|
}), r.gullet.macros.set(e, n, a);
|
|
8406
8404
|
};
|
|
8407
|
-
|
|
8405
|
+
H({
|
|
8408
8406
|
type: "internal",
|
|
8409
8407
|
names: [
|
|
8410
8408
|
"\\global",
|
|
@@ -8428,7 +8426,7 @@ L({
|
|
|
8428
8426
|
throw new _("Invalid token after macro prefix", a);
|
|
8429
8427
|
}
|
|
8430
8428
|
});
|
|
8431
|
-
|
|
8429
|
+
H({
|
|
8432
8430
|
type: "internal",
|
|
8433
8431
|
names: ["\\def", "\\gdef", "\\edef", "\\xdef"],
|
|
8434
8432
|
props: {
|
|
@@ -8472,7 +8470,7 @@ L({
|
|
|
8472
8470
|
};
|
|
8473
8471
|
}
|
|
8474
8472
|
});
|
|
8475
|
-
|
|
8473
|
+
H({
|
|
8476
8474
|
type: "internal",
|
|
8477
8475
|
names: [
|
|
8478
8476
|
"\\let",
|
|
@@ -8490,14 +8488,14 @@ L({
|
|
|
8490
8488
|
funcName: t
|
|
8491
8489
|
} = r, a = pn(e.gullet.popToken());
|
|
8492
8490
|
e.gullet.consumeSpaces();
|
|
8493
|
-
var n =
|
|
8491
|
+
var n = C1(e);
|
|
8494
8492
|
return fn(e, a, n, t === "\\\\globallet"), {
|
|
8495
8493
|
type: "internal",
|
|
8496
8494
|
mode: e.mode
|
|
8497
8495
|
};
|
|
8498
8496
|
}
|
|
8499
8497
|
});
|
|
8500
|
-
|
|
8498
|
+
H({
|
|
8501
8499
|
type: "internal",
|
|
8502
8500
|
names: [
|
|
8503
8501
|
"\\futurelet",
|
|
@@ -8531,13 +8529,13 @@ var J0 = function(e, t, a) {
|
|
|
8531
8529
|
}, vn = function(e, t, a) {
|
|
8532
8530
|
var n = t.havingBaseStyle(a), i = (1 - t.sizeMultiplier / n.sizeMultiplier) * t.fontMetrics().axisHeight;
|
|
8533
8531
|
e.classes.push("delimcenter"), e.style.top = R(i), e.height -= i, e.depth += i;
|
|
8534
|
-
},
|
|
8532
|
+
}, E1 = function(e, t, a, n, i, o) {
|
|
8535
8533
|
var u = k.makeSymbol(e, "Main-Regular", i, n), h = Br(u, t, n, o);
|
|
8536
8534
|
return a && vn(h, n, t), h;
|
|
8537
|
-
},
|
|
8535
|
+
}, B1 = function(e, t, a, n) {
|
|
8538
8536
|
return k.makeSymbol(e, "Size" + t + "-Regular", a, n);
|
|
8539
8537
|
}, gn = function(e, t, a, n, i, o) {
|
|
8540
|
-
var u =
|
|
8538
|
+
var u = B1(e, t, i, n), h = Br(k.makeSpan(["delimsizing", "size" + t], [u], n), V.TEXT, n, o);
|
|
8541
8539
|
return a && vn(h, n, V.TEXT), h;
|
|
8542
8540
|
}, Wt = function(e, t, a) {
|
|
8543
8541
|
var n;
|
|
@@ -8548,7 +8546,7 @@ var J0 = function(e, t, a) {
|
|
|
8548
8546
|
elem: i
|
|
8549
8547
|
};
|
|
8550
8548
|
}, Yt = function(e, t, a) {
|
|
8551
|
-
var n = Ye["Size4-Regular"][e.charCodeAt(0)] ? Ye["Size4-Regular"][e.charCodeAt(0)][4] : Ye["Size1-Regular"][e.charCodeAt(0)][4], i = new b0("inner",
|
|
8549
|
+
var n = Ye["Size4-Regular"][e.charCodeAt(0)] ? Ye["Size4-Regular"][e.charCodeAt(0)][4] : Ye["Size1-Regular"][e.charCodeAt(0)][4], i = new b0("inner", qs(e, Math.round(1e3 * t))), o = new i0([i], {
|
|
8552
8550
|
width: R(n),
|
|
8553
8551
|
height: R(t),
|
|
8554
8552
|
// Override CSS rule `.katex svg { width: 100% }`
|
|
@@ -8563,11 +8561,11 @@ var J0 = function(e, t, a) {
|
|
|
8563
8561
|
}, dr = 8e-3, wt = {
|
|
8564
8562
|
type: "kern",
|
|
8565
8563
|
size: -1 * dr
|
|
8566
|
-
},
|
|
8564
|
+
}, D1 = ["|", "\\lvert", "\\rvert", "\\vert"], I1 = ["\\|", "\\lVert", "\\rVert", "\\Vert"], bn = function(e, t, a, n, i, o) {
|
|
8567
8565
|
var u, h, m, v, b = "", w = 0;
|
|
8568
8566
|
u = m = v = e, h = null;
|
|
8569
8567
|
var S = "Size1-Regular";
|
|
8570
|
-
e === "\\uparrow" ? m = v = "⏐" : e === "\\Uparrow" ? m = v = "‖" : e === "\\downarrow" ? u = m = "⏐" : e === "\\Downarrow" ? u = m = "‖" : e === "\\updownarrow" ? (u = "\\uparrow", m = "⏐", v = "\\downarrow") : e === "\\Updownarrow" ? (u = "\\Uparrow", m = "‖", v = "\\Downarrow") : j.contains(
|
|
8568
|
+
e === "\\uparrow" ? m = v = "⏐" : e === "\\Uparrow" ? m = v = "‖" : e === "\\downarrow" ? u = m = "⏐" : e === "\\Downarrow" ? u = m = "‖" : e === "\\updownarrow" ? (u = "\\uparrow", m = "⏐", v = "\\downarrow") : e === "\\Updownarrow" ? (u = "\\Uparrow", m = "‖", v = "\\Downarrow") : j.contains(D1, e) ? (m = "∣", b = "vert", w = 333) : j.contains(I1, e) ? (m = "∥", b = "doublevert", w = 556) : e === "[" || e === "\\lbrack" ? (u = "⎡", m = "⎢", v = "⎣", S = "Size4-Regular", b = "lbrack", w = 667) : e === "]" || e === "\\rbrack" ? (u = "⎤", m = "⎥", v = "⎦", S = "Size4-Regular", b = "rbrack", w = 667) : e === "\\lfloor" || e === "⌊" ? (m = u = "⎢", v = "⎣", S = "Size4-Regular", b = "lfloor", w = 667) : e === "\\lceil" || e === "⌈" ? (u = "⎡", m = v = "⎢", S = "Size4-Regular", b = "lceil", w = 667) : e === "\\rfloor" || e === "⌋" ? (m = u = "⎥", v = "⎦", S = "Size4-Regular", b = "rfloor", w = 667) : e === "\\rceil" || e === "⌉" ? (u = "⎤", m = v = "⎥", S = "Size4-Regular", b = "rceil", w = 667) : e === "(" || e === "\\lparen" ? (u = "⎛", m = "⎜", v = "⎝", S = "Size4-Regular", b = "lparen", w = 875) : e === ")" || e === "\\rparen" ? (u = "⎞", m = "⎟", v = "⎠", S = "Size4-Regular", b = "rparen", w = 875) : e === "\\{" || e === "\\lbrace" ? (u = "⎧", h = "⎨", v = "⎩", m = "⎪", S = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (u = "⎫", h = "⎬", v = "⎭", m = "⎪", S = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (u = "⎧", v = "⎩", m = "⎪", S = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (u = "⎫", v = "⎭", m = "⎪", S = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (u = "⎧", v = "⎭", m = "⎪", S = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (u = "⎫", v = "⎩", m = "⎪", S = "Size4-Regular");
|
|
8571
8569
|
var E = J0(u, S, i), T = E.height + E.depth, C = J0(m, S, i), B = C.height + C.depth, g = J0(v, S, i), x = g.height + g.depth, A = 0, M = 1;
|
|
8572
8570
|
if (h !== null) {
|
|
8573
8571
|
var z = J0(h, S, i);
|
|
@@ -8577,7 +8575,7 @@ var J0 = function(e, t, a) {
|
|
|
8577
8575
|
a && (te *= n.sizeMultiplier);
|
|
8578
8576
|
var re = q / 2 - te, ae = [];
|
|
8579
8577
|
if (b.length > 0) {
|
|
8580
|
-
var Ge = q - T - x, ve = Math.round(q * 1e3), ze =
|
|
8578
|
+
var Ge = q - T - x, ve = Math.round(q * 1e3), ze = Rs(b, Math.round(Ge * 1e3)), Ve = new b0(b, ze), Qe = (w / 1e3).toFixed(3) + "em", oe = (ve / 1e3).toFixed(3) + "em", ke = new i0([Ve], {
|
|
8581
8579
|
width: Qe,
|
|
8582
8580
|
height: oe,
|
|
8583
8581
|
viewBox: "0 0 " + w + " " + ve
|
|
@@ -8596,14 +8594,14 @@ var J0 = function(e, t, a) {
|
|
|
8596
8594
|
}
|
|
8597
8595
|
ae.push(wt), ae.push(Wt(u, S, i));
|
|
8598
8596
|
}
|
|
8599
|
-
var
|
|
8597
|
+
var z0 = n.havingBaseStyle(V.TEXT), Ie = k.makeVList({
|
|
8600
8598
|
positionType: "bottom",
|
|
8601
8599
|
positionData: re,
|
|
8602
8600
|
children: ae
|
|
8603
|
-
},
|
|
8604
|
-
return Br(k.makeSpan(["delimsizing", "mult"], [Ie],
|
|
8601
|
+
}, z0);
|
|
8602
|
+
return Br(k.makeSpan(["delimsizing", "mult"], [Ie], z0), V.TEXT, n, o);
|
|
8605
8603
|
}, Xt = 80, Zt = 0.08, Kt = function(e, t, a, n, i) {
|
|
8606
|
-
var o =
|
|
8604
|
+
var o = Ns(e, n, a), u = new b0(e, o), h = new i0([u], {
|
|
8607
8605
|
// Note: 1000:1 ratio of viewBox to document em width.
|
|
8608
8606
|
width: "400em",
|
|
8609
8607
|
height: R(t),
|
|
@@ -8611,7 +8609,7 @@ var J0 = function(e, t, a) {
|
|
|
8611
8609
|
preserveAspectRatio: "xMinYMin slice"
|
|
8612
8610
|
});
|
|
8613
8611
|
return k.makeSvgSpan(["hide-tail"], [h], i);
|
|
8614
|
-
},
|
|
8612
|
+
}, F1 = function(e, t) {
|
|
8615
8613
|
var a = t.havingBaseSizing(), n = kn("\\surd", e * a.sizeMultiplier, wn, a), i = a.sizeMultiplier, o = Math.max(0, t.minRuleThickness - t.fontMetrics().sqrtRuleThickness), u, h = 0, m = 0, v = 0, b;
|
|
8616
8614
|
return n.type === "small" ? (v = 1e3 + 1e3 * o + Xt, e < 1 ? i = 1 : e < 1.4 && (i = 0.7), h = (1 + o + Zt) / i, m = (1 + o) / i, u = Kt("sqrtMain", h, v, o, t), u.style.minWidth = "0.853em", b = 0.833 / i) : n.type === "large" ? (v = (1e3 + Xt) * et[n.size], m = (et[n.size] + o) / i, h = (et[n.size] + o + Zt) / i, u = Kt("sqrtSize" + n.size, h, v, o, t), u.style.minWidth = "1.02em", b = 1 / i) : (h = e + o + Zt, m = e + o, v = Math.floor(1e3 * e + o) + Xt, u = Kt("sqrtTall", h, v, o, t), u.style.minWidth = "0.742em", b = 1.056), u.height = m, u.style.height = R(h), {
|
|
8617
8615
|
span: u,
|
|
@@ -8622,13 +8620,13 @@ var J0 = function(e, t, a) {
|
|
|
8622
8620
|
// have thicker rules.
|
|
8623
8621
|
ruleWidth: (t.fontMetrics().sqrtRuleThickness + o) * i
|
|
8624
8622
|
};
|
|
8625
|
-
}, yn = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "\\surd"],
|
|
8623
|
+
}, yn = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "\\surd"], _1 = ["\\uparrow", "\\downarrow", "\\updownarrow", "\\Uparrow", "\\Downarrow", "\\Updownarrow", "|", "\\|", "\\vert", "\\Vert", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱"], xn = ["<", ">", "\\langle", "\\rangle", "/", "\\backslash", "\\lt", "\\gt"], et = [0, 1.2, 1.8, 2.4, 3], N1 = function(e, t, a, n, i) {
|
|
8626
8624
|
if (e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle"), j.contains(yn, e) || j.contains(xn, e))
|
|
8627
8625
|
return gn(e, t, !1, a, n, i);
|
|
8628
|
-
if (j.contains(
|
|
8626
|
+
if (j.contains(_1, e))
|
|
8629
8627
|
return bn(e, et[t], !1, a, n, i);
|
|
8630
8628
|
throw new _("Illegal delimiter: '" + e + "'");
|
|
8631
|
-
},
|
|
8629
|
+
}, q1 = [{
|
|
8632
8630
|
type: "small",
|
|
8633
8631
|
style: V.SCRIPTSCRIPT
|
|
8634
8632
|
}, {
|
|
@@ -8649,7 +8647,7 @@ var J0 = function(e, t, a) {
|
|
|
8649
8647
|
}, {
|
|
8650
8648
|
type: "large",
|
|
8651
8649
|
size: 4
|
|
8652
|
-
}],
|
|
8650
|
+
}], R1 = [{
|
|
8653
8651
|
type: "small",
|
|
8654
8652
|
style: V.SCRIPTSCRIPT
|
|
8655
8653
|
}, {
|
|
@@ -8683,7 +8681,7 @@ var J0 = function(e, t, a) {
|
|
|
8683
8681
|
size: 4
|
|
8684
8682
|
}, {
|
|
8685
8683
|
type: "stack"
|
|
8686
|
-
}],
|
|
8684
|
+
}], O1 = function(e) {
|
|
8687
8685
|
if (e.type === "small")
|
|
8688
8686
|
return "Main-Regular";
|
|
8689
8687
|
if (e.type === "large")
|
|
@@ -8693,7 +8691,7 @@ var J0 = function(e, t, a) {
|
|
|
8693
8691
|
throw new Error("Add support for delim type '" + e.type + "' here.");
|
|
8694
8692
|
}, kn = function(e, t, a, n) {
|
|
8695
8693
|
for (var i = Math.min(2, 3 - n.style.size), o = i; o < a.length && a[o].type !== "stack"; o++) {
|
|
8696
|
-
var u = J0(e,
|
|
8694
|
+
var u = J0(e, O1(a[o]), "math"), h = u.height + u.depth;
|
|
8697
8695
|
if (a[o].type === "small") {
|
|
8698
8696
|
var m = n.havingBaseStyle(a[o].style);
|
|
8699
8697
|
h *= m.sizeMultiplier;
|
|
@@ -8705,10 +8703,10 @@ var J0 = function(e, t, a) {
|
|
|
8705
8703
|
}, Sn = function(e, t, a, n, i, o) {
|
|
8706
8704
|
e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle");
|
|
8707
8705
|
var u;
|
|
8708
|
-
j.contains(xn, e) ? u =
|
|
8706
|
+
j.contains(xn, e) ? u = q1 : j.contains(yn, e) ? u = wn : u = R1;
|
|
8709
8707
|
var h = kn(e, t, u, n);
|
|
8710
|
-
return h.type === "small" ?
|
|
8711
|
-
},
|
|
8708
|
+
return h.type === "small" ? E1(e, h.style, a, n, i, o) : h.type === "large" ? gn(e, h.size, a, n, i, o) : bn(e, t, a, n, i, o);
|
|
8709
|
+
}, H1 = function(e, t, a, n, i, o) {
|
|
8712
8710
|
var u = n.fontMetrics().axisHeight * n.sizeMultiplier, h = 901, m = 5 / n.fontMetrics().ptPerEm, v = Math.max(t - u, a + u), b = Math.max(
|
|
8713
8711
|
// In real TeX, calculations are done using integral values which are
|
|
8714
8712
|
// 65536 per pt, or 655360 per em. So, the division here truncates in
|
|
@@ -8724,11 +8722,11 @@ var J0 = function(e, t, a) {
|
|
|
8724
8722
|
);
|
|
8725
8723
|
return Sn(e, b, !0, n, i, o);
|
|
8726
8724
|
}, n0 = {
|
|
8727
|
-
sqrtImage:
|
|
8728
|
-
sizedDelim:
|
|
8725
|
+
sqrtImage: F1,
|
|
8726
|
+
sizedDelim: N1,
|
|
8729
8727
|
sizeToMaxHeight: et,
|
|
8730
8728
|
customSizedDelim: Sn,
|
|
8731
|
-
leftRightDelim:
|
|
8729
|
+
leftRightDelim: H1
|
|
8732
8730
|
}, oa = {
|
|
8733
8731
|
"\\bigl": {
|
|
8734
8732
|
mclass: "mopen",
|
|
@@ -8794,14 +8792,14 @@ var J0 = function(e, t, a) {
|
|
|
8794
8792
|
mclass: "mord",
|
|
8795
8793
|
size: 4
|
|
8796
8794
|
}
|
|
8797
|
-
},
|
|
8795
|
+
}, L1 = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "<", ">", "\\langle", "⟨", "\\rangle", "⟩", "\\lt", "\\gt", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱", "/", "\\backslash", "|", "\\vert", "\\|", "\\Vert", "\\uparrow", "\\Uparrow", "\\downarrow", "\\Downarrow", "\\updownarrow", "\\Updownarrow", "."];
|
|
8798
8796
|
function qt(r, e) {
|
|
8799
8797
|
var t = _t(r);
|
|
8800
|
-
if (t && j.contains(
|
|
8798
|
+
if (t && j.contains(L1, t.text))
|
|
8801
8799
|
return t;
|
|
8802
8800
|
throw t ? new _("Invalid delimiter '" + t.text + "' after '" + e.funcName + "'", r) : new _("Invalid delimiter type '" + r.type + "'", r);
|
|
8803
8801
|
}
|
|
8804
|
-
|
|
8802
|
+
H({
|
|
8805
8803
|
type: "delimsizing",
|
|
8806
8804
|
names: ["\\bigl", "\\Bigl", "\\biggl", "\\Biggl", "\\bigr", "\\Bigr", "\\biggr", "\\Biggr", "\\bigm", "\\Bigm", "\\biggm", "\\Biggm", "\\big", "\\Big", "\\bigg", "\\Bigg"],
|
|
8807
8805
|
props: {
|
|
@@ -8821,7 +8819,7 @@ L({
|
|
|
8821
8819
|
htmlBuilder: (r, e) => r.delim === "." ? k.makeSpan([r.mclass]) : n0.sizedDelim(r.delim, r.size, e, r.mode, [r.mclass]),
|
|
8822
8820
|
mathmlBuilder: (r) => {
|
|
8823
8821
|
var e = [];
|
|
8824
|
-
r.delim !== "." && e.push(
|
|
8822
|
+
r.delim !== "." && e.push(He(r.delim, r.mode));
|
|
8825
8823
|
var t = new I.MathNode("mo", e);
|
|
8826
8824
|
r.mclass === "mopen" || r.mclass === "mclose" ? t.setAttribute("fence", "true") : t.setAttribute("fence", "false"), t.setAttribute("stretchy", "true");
|
|
8827
8825
|
var a = R(n0.sizeToMaxHeight[r.size]);
|
|
@@ -8832,7 +8830,7 @@ function ua(r) {
|
|
|
8832
8830
|
if (!r.body)
|
|
8833
8831
|
throw new Error("Bug: The leftright ParseNode wasn't fully parsed.");
|
|
8834
8832
|
}
|
|
8835
|
-
|
|
8833
|
+
H({
|
|
8836
8834
|
type: "leftright-right",
|
|
8837
8835
|
names: ["\\right"],
|
|
8838
8836
|
props: {
|
|
@@ -8852,7 +8850,7 @@ L({
|
|
|
8852
8850
|
};
|
|
8853
8851
|
}
|
|
8854
8852
|
});
|
|
8855
|
-
|
|
8853
|
+
H({
|
|
8856
8854
|
type: "leftright",
|
|
8857
8855
|
names: ["\\left"],
|
|
8858
8856
|
props: {
|
|
@@ -8898,17 +8896,17 @@ L({
|
|
|
8898
8896
|
ua(r);
|
|
8899
8897
|
var t = Ae(r.body, e);
|
|
8900
8898
|
if (r.left !== ".") {
|
|
8901
|
-
var a = new I.MathNode("mo", [
|
|
8899
|
+
var a = new I.MathNode("mo", [He(r.left, r.mode)]);
|
|
8902
8900
|
a.setAttribute("fence", "true"), t.unshift(a);
|
|
8903
8901
|
}
|
|
8904
8902
|
if (r.right !== ".") {
|
|
8905
|
-
var n = new I.MathNode("mo", [
|
|
8903
|
+
var n = new I.MathNode("mo", [He(r.right, r.mode)]);
|
|
8906
8904
|
n.setAttribute("fence", "true"), r.rightColor && n.setAttribute("mathcolor", r.rightColor), t.push(n);
|
|
8907
8905
|
}
|
|
8908
8906
|
return zr(t);
|
|
8909
8907
|
}
|
|
8910
8908
|
});
|
|
8911
|
-
|
|
8909
|
+
H({
|
|
8912
8910
|
type: "middle",
|
|
8913
8911
|
names: ["\\middle"],
|
|
8914
8912
|
props: {
|
|
@@ -8940,7 +8938,7 @@ L({
|
|
|
8940
8938
|
return t;
|
|
8941
8939
|
},
|
|
8942
8940
|
mathmlBuilder: (r, e) => {
|
|
8943
|
-
var t = r.delim === "\\vert" || r.delim === "|" ?
|
|
8941
|
+
var t = r.delim === "\\vert" || r.delim === "|" ? He("|", "text") : He(r.delim, r.mode), a = new I.MathNode("mo", [t]);
|
|
8944
8942
|
return a.setAttribute("fence", "true"), a.setAttribute("lspace", "0.05em"), a.setAttribute("rspace", "0.05em"), a;
|
|
8945
8943
|
}
|
|
8946
8944
|
});
|
|
@@ -8959,7 +8957,7 @@ var Dr = (r, e) => {
|
|
|
8959
8957
|
n = n / v.sizeMultiplier;
|
|
8960
8958
|
var b = t.height + t.depth + h + m;
|
|
8961
8959
|
t.style.paddingLeft = R(b / 2 + h);
|
|
8962
|
-
var w = Math.floor(1e3 * b * n), S =
|
|
8960
|
+
var w = Math.floor(1e3 * b * n), S = Fs(w), E = new i0([new b0("phase", S)], {
|
|
8963
8961
|
width: "400em",
|
|
8964
8962
|
height: R(w / 1e3),
|
|
8965
8963
|
viewBox: "0 0 400000 " + w,
|
|
@@ -9054,7 +9052,7 @@ var Dr = (r, e) => {
|
|
|
9054
9052
|
}
|
|
9055
9053
|
return r.backgroundColor && a.setAttribute("mathbackground", r.backgroundColor), a;
|
|
9056
9054
|
};
|
|
9057
|
-
|
|
9055
|
+
H({
|
|
9058
9056
|
type: "enclose",
|
|
9059
9057
|
names: ["\\colorbox"],
|
|
9060
9058
|
props: {
|
|
@@ -9078,7 +9076,7 @@ L({
|
|
|
9078
9076
|
htmlBuilder: Dr,
|
|
9079
9077
|
mathmlBuilder: Ir
|
|
9080
9078
|
});
|
|
9081
|
-
|
|
9079
|
+
H({
|
|
9082
9080
|
type: "enclose",
|
|
9083
9081
|
names: ["\\fcolorbox"],
|
|
9084
9082
|
props: {
|
|
@@ -9103,7 +9101,7 @@ L({
|
|
|
9103
9101
|
htmlBuilder: Dr,
|
|
9104
9102
|
mathmlBuilder: Ir
|
|
9105
9103
|
});
|
|
9106
|
-
|
|
9104
|
+
H({
|
|
9107
9105
|
type: "enclose",
|
|
9108
9106
|
names: ["\\fbox"],
|
|
9109
9107
|
props: {
|
|
@@ -9123,7 +9121,7 @@ L({
|
|
|
9123
9121
|
};
|
|
9124
9122
|
}
|
|
9125
9123
|
});
|
|
9126
|
-
|
|
9124
|
+
H({
|
|
9127
9125
|
type: "enclose",
|
|
9128
9126
|
names: ["\\cancel", "\\bcancel", "\\xcancel", "\\sout", "\\phase"],
|
|
9129
9127
|
props: {
|
|
@@ -9144,7 +9142,7 @@ L({
|
|
|
9144
9142
|
htmlBuilder: Dr,
|
|
9145
9143
|
mathmlBuilder: Ir
|
|
9146
9144
|
});
|
|
9147
|
-
|
|
9145
|
+
H({
|
|
9148
9146
|
type: "enclose",
|
|
9149
9147
|
names: ["\\angl"],
|
|
9150
9148
|
props: {
|
|
@@ -9204,7 +9202,7 @@ function Fr(r) {
|
|
|
9204
9202
|
if (r.indexOf("ed") === -1)
|
|
9205
9203
|
return r.indexOf("*") === -1;
|
|
9206
9204
|
}
|
|
9207
|
-
function
|
|
9205
|
+
function S0(r, e, t) {
|
|
9208
9206
|
var {
|
|
9209
9207
|
hskipBeforeAndAfter: a,
|
|
9210
9208
|
addJot: n,
|
|
@@ -9330,25 +9328,25 @@ var Ke = function(e, t) {
|
|
|
9330
9328
|
n < u || Ve < Ge.length;
|
|
9331
9329
|
++n, ++Ve
|
|
9332
9330
|
) {
|
|
9333
|
-
for (var se = Ge[Ve] || {},
|
|
9334
|
-
if (
|
|
9331
|
+
for (var se = Ge[Ve] || {}, z0 = !0; se.type === "separator"; ) {
|
|
9332
|
+
if (z0 || (ze = k.makeSpan(["arraycolsep"], []), ze.style.width = R(t.fontMetrics().doubleRuleSep), ve.push(ze)), se.separator === "|" || se.separator === ":") {
|
|
9335
9333
|
var Ie = se.separator === "|" ? "solid" : "dashed", Fe = k.makeSpan(["vertical-separator"], [], t);
|
|
9336
9334
|
Fe.style.height = R(x), Fe.style.borderRightWidth = R(v), Fe.style.borderRightStyle = Ie, Fe.style.margin = "0 " + R(-v / 2);
|
|
9337
|
-
var
|
|
9338
|
-
|
|
9335
|
+
var T0 = x - ae;
|
|
9336
|
+
T0 && (Fe.style.verticalAlign = R(-T0)), ve.push(Fe);
|
|
9339
9337
|
} else
|
|
9340
9338
|
throw new _("Invalid separator type: " + se.separator);
|
|
9341
|
-
Ve++, se = Ge[Ve] || {},
|
|
9339
|
+
Ve++, se = Ge[Ve] || {}, z0 = !1;
|
|
9342
9340
|
}
|
|
9343
9341
|
if (!(n >= u)) {
|
|
9344
|
-
var
|
|
9345
|
-
(n > 0 || e.hskipBeforeAndAfter) && (
|
|
9342
|
+
var Le = void 0;
|
|
9343
|
+
(n > 0 || e.hskipBeforeAndAfter) && (Le = j.deflt(se.pregap, w), Le !== 0 && (ze = k.makeSpan(["arraycolsep"], []), ze.style.width = R(Le), ve.push(ze)));
|
|
9346
9344
|
var Ue = [];
|
|
9347
9345
|
for (a = 0; a < i; ++a) {
|
|
9348
|
-
var
|
|
9346
|
+
var C0 = h[a], h0 = C0[n];
|
|
9349
9347
|
if (h0) {
|
|
9350
|
-
var N0 =
|
|
9351
|
-
h0.depth =
|
|
9348
|
+
var N0 = C0.pos - ae;
|
|
9349
|
+
h0.depth = C0.depth, h0.height = C0.height, Ue.push({
|
|
9352
9350
|
type: "elem",
|
|
9353
9351
|
elem: h0,
|
|
9354
9352
|
shift: N0
|
|
@@ -9358,7 +9356,7 @@ var Ke = function(e, t) {
|
|
|
9358
9356
|
Ue = k.makeVList({
|
|
9359
9357
|
positionType: "individualShift",
|
|
9360
9358
|
children: Ue
|
|
9361
|
-
}, t), Ue = k.makeSpan(["col-align-" + (se.align || "c")], [Ue]), ve.push(Ue), (n < u - 1 || e.hskipBeforeAndAfter) && (
|
|
9359
|
+
}, t), Ue = k.makeSpan(["col-align-" + (se.align || "c")], [Ue]), ve.push(Ue), (n < u - 1 || e.hskipBeforeAndAfter) && (Le = j.deflt(se.postgap, w), Le !== 0 && (ze = k.makeSpan(["arraycolsep"], []), ze.style.width = R(Le), ve.push(ze)));
|
|
9362
9360
|
}
|
|
9363
9361
|
}
|
|
9364
9362
|
if (h = k.makeSpan(["mtable"], ve), m.length > 0) {
|
|
@@ -9390,7 +9388,7 @@ var Ke = function(e, t) {
|
|
|
9390
9388
|
children: Qe
|
|
9391
9389
|
}, t);
|
|
9392
9390
|
return $t = k.makeSpan(["tag"], [$t], t), k.makeFragment([h, $t]);
|
|
9393
|
-
},
|
|
9391
|
+
}, $1 = {
|
|
9394
9392
|
c: "center ",
|
|
9395
9393
|
l: "left ",
|
|
9396
9394
|
r: "right "
|
|
@@ -9407,7 +9405,7 @@ var Ke = function(e, t) {
|
|
|
9407
9405
|
var E = e.cols, T = "", C = !1, B = 0, g = E.length;
|
|
9408
9406
|
E[0].type === "separator" && (w += "top ", B = 1), E[E.length - 1].type === "separator" && (w += "bottom ", g -= 1);
|
|
9409
9407
|
for (var x = B; x < g; x++)
|
|
9410
|
-
E[x].type === "align" ? (S +=
|
|
9408
|
+
E[x].type === "align" ? (S += $1[E[x].align], C && (T += "none "), C = !0) : E[x].type === "separator" && C && (T += E[x].separator === "|" ? "solid " : "dashed ", C = !1);
|
|
9411
9409
|
v.setAttribute("columnalign", S.trim()), /[sd]/.test(T) && v.setAttribute("columnlines", T.trim());
|
|
9412
9410
|
}
|
|
9413
9411
|
if (e.colSeparationType === "align") {
|
|
@@ -9422,7 +9420,7 @@ var Ke = function(e, t) {
|
|
|
9422
9420
|
return /[sd]/.test(F) && v.setAttribute("rowlines", F.trim()), w !== "" && (v = new I.MathNode("menclose", [v]), v.setAttribute("notation", w.trim())), e.arraystretch && e.arraystretch < 1 && (v = new I.MathNode("mstyle", [v]), v.setAttribute("scriptlevel", "1")), v;
|
|
9423
9421
|
}, zn = function(e, t) {
|
|
9424
9422
|
e.envName.indexOf("ed") === -1 && Rt(e);
|
|
9425
|
-
var a = [], n = e.envName.indexOf("at") > -1 ? "alignat" : "align", i = e.envName === "split", o =
|
|
9423
|
+
var a = [], n = e.envName.indexOf("at") > -1 ? "alignat" : "align", i = e.envName === "split", o = S0(e.parser, {
|
|
9426
9424
|
cols: a,
|
|
9427
9425
|
addJot: !0,
|
|
9428
9426
|
autoTag: i ? void 0 : Fr(e.envName),
|
|
@@ -9498,7 +9496,7 @@ Ze({
|
|
|
9498
9496
|
// \@preamble in lttab.dtx
|
|
9499
9497
|
maxNumCols: n.length
|
|
9500
9498
|
};
|
|
9501
|
-
return
|
|
9499
|
+
return S0(r.parser, i, _r(r.envName));
|
|
9502
9500
|
},
|
|
9503
9501
|
htmlBuilder: Ke,
|
|
9504
9502
|
mathmlBuilder: Je
|
|
@@ -9535,7 +9533,7 @@ Ze({
|
|
|
9535
9533
|
}];
|
|
9536
9534
|
}
|
|
9537
9535
|
}
|
|
9538
|
-
var i =
|
|
9536
|
+
var i = S0(r.parser, a, _r(r.envName)), o = Math.max(0, ...i.body.map((u) => u.length));
|
|
9539
9537
|
return i.cols = new Array(o).fill({
|
|
9540
9538
|
type: "align",
|
|
9541
9539
|
align: t
|
|
@@ -9561,7 +9559,7 @@ Ze({
|
|
|
9561
9559
|
handler(r) {
|
|
9562
9560
|
var e = {
|
|
9563
9561
|
arraystretch: 0.5
|
|
9564
|
-
}, t =
|
|
9562
|
+
}, t = S0(r.parser, e, "script");
|
|
9565
9563
|
return t.colSeparationType = "small", t;
|
|
9566
9564
|
},
|
|
9567
9565
|
htmlBuilder: Ke,
|
|
@@ -9590,7 +9588,7 @@ Ze({
|
|
|
9590
9588
|
hskipBeforeAndAfter: !1,
|
|
9591
9589
|
arraystretch: 0.5
|
|
9592
9590
|
};
|
|
9593
|
-
if (i =
|
|
9591
|
+
if (i = S0(r.parser, i, "script"), i.body.length > 0 && i.body[0].length > 1)
|
|
9594
9592
|
throw new _("{subarray} can contain only one column");
|
|
9595
9593
|
return i;
|
|
9596
9594
|
},
|
|
@@ -9622,7 +9620,7 @@ Ze({
|
|
|
9622
9620
|
pregap: 0,
|
|
9623
9621
|
postgap: 0
|
|
9624
9622
|
}]
|
|
9625
|
-
}, t =
|
|
9623
|
+
}, t = S0(r.parser, e, _r(r.envName));
|
|
9626
9624
|
return {
|
|
9627
9625
|
type: "leftright",
|
|
9628
9626
|
mode: r.mode,
|
|
@@ -9664,7 +9662,7 @@ Ze({
|
|
|
9664
9662
|
emptySingleRow: !0,
|
|
9665
9663
|
leqno: r.parser.settings.leqno
|
|
9666
9664
|
};
|
|
9667
|
-
return
|
|
9665
|
+
return S0(r.parser, e, "display");
|
|
9668
9666
|
},
|
|
9669
9667
|
htmlBuilder: Ke,
|
|
9670
9668
|
mathmlBuilder: Je
|
|
@@ -9694,7 +9692,7 @@ Ze({
|
|
|
9694
9692
|
maxNumCols: 1,
|
|
9695
9693
|
leqno: r.parser.settings.leqno
|
|
9696
9694
|
};
|
|
9697
|
-
return
|
|
9695
|
+
return S0(r.parser, e, "display");
|
|
9698
9696
|
},
|
|
9699
9697
|
htmlBuilder: Ke,
|
|
9700
9698
|
mathmlBuilder: Je
|
|
@@ -9706,14 +9704,14 @@ Ze({
|
|
|
9706
9704
|
numArgs: 0
|
|
9707
9705
|
},
|
|
9708
9706
|
handler(r) {
|
|
9709
|
-
return Rt(r),
|
|
9707
|
+
return Rt(r), T1(r.parser);
|
|
9710
9708
|
},
|
|
9711
9709
|
htmlBuilder: Ke,
|
|
9712
9710
|
mathmlBuilder: Je
|
|
9713
9711
|
});
|
|
9714
9712
|
d("\\nonumber", "\\gdef\\@eqnsw{0}");
|
|
9715
9713
|
d("\\notag", "\\nonumber");
|
|
9716
|
-
|
|
9714
|
+
H({
|
|
9717
9715
|
type: "text",
|
|
9718
9716
|
// Doesn't matter what this is.
|
|
9719
9717
|
names: ["\\hline", "\\hdashline"],
|
|
@@ -9727,7 +9725,7 @@ L({
|
|
|
9727
9725
|
}
|
|
9728
9726
|
});
|
|
9729
9727
|
var ha = Mn;
|
|
9730
|
-
|
|
9728
|
+
H({
|
|
9731
9729
|
type: "environment",
|
|
9732
9730
|
names: ["\\begin", "\\end"],
|
|
9733
9731
|
props: {
|
|
@@ -9780,7 +9778,7 @@ var Tn = (r, e) => {
|
|
|
9780
9778
|
"\\frak": "\\mathfrak",
|
|
9781
9779
|
"\\bm": "\\boldsymbol"
|
|
9782
9780
|
};
|
|
9783
|
-
|
|
9781
|
+
H({
|
|
9784
9782
|
type: "font",
|
|
9785
9783
|
names: [
|
|
9786
9784
|
// styles, except \boldsymbol defined below
|
|
@@ -9819,7 +9817,7 @@ L({
|
|
|
9819
9817
|
htmlBuilder: Tn,
|
|
9820
9818
|
mathmlBuilder: Cn
|
|
9821
9819
|
});
|
|
9822
|
-
|
|
9820
|
+
H({
|
|
9823
9821
|
type: "mclass",
|
|
9824
9822
|
names: ["\\boldsymbol", "\\bm"],
|
|
9825
9823
|
props: {
|
|
@@ -9843,7 +9841,7 @@ L({
|
|
|
9843
9841
|
};
|
|
9844
9842
|
}
|
|
9845
9843
|
});
|
|
9846
|
-
|
|
9844
|
+
H({
|
|
9847
9845
|
type: "font",
|
|
9848
9846
|
names: ["\\rm", "\\sf", "\\tt", "\\bf", "\\it", "\\cal"],
|
|
9849
9847
|
props: {
|
|
@@ -9957,7 +9955,7 @@ var En = (r, e) => {
|
|
|
9957
9955
|
}
|
|
9958
9956
|
return t;
|
|
9959
9957
|
};
|
|
9960
|
-
|
|
9958
|
+
H({
|
|
9961
9959
|
type: "genfrac",
|
|
9962
9960
|
names: [
|
|
9963
9961
|
"\\dfrac",
|
|
@@ -10030,7 +10028,7 @@ L({
|
|
|
10030
10028
|
htmlBuilder: Nr,
|
|
10031
10029
|
mathmlBuilder: qr
|
|
10032
10030
|
});
|
|
10033
|
-
|
|
10031
|
+
H({
|
|
10034
10032
|
type: "genfrac",
|
|
10035
10033
|
names: ["\\cfrac"],
|
|
10036
10034
|
props: {
|
|
@@ -10055,7 +10053,7 @@ L({
|
|
|
10055
10053
|
};
|
|
10056
10054
|
}
|
|
10057
10055
|
});
|
|
10058
|
-
|
|
10056
|
+
H({
|
|
10059
10057
|
type: "infix",
|
|
10060
10058
|
names: ["\\over", "\\choose", "\\atop", "\\brace", "\\brack"],
|
|
10061
10059
|
props: {
|
|
@@ -10099,7 +10097,7 @@ var ma = ["display", "text", "script", "scriptscript"], pa = function(e) {
|
|
|
10099
10097
|
var t = null;
|
|
10100
10098
|
return e.length > 0 && (t = e, t = t === "." ? null : t), t;
|
|
10101
10099
|
};
|
|
10102
|
-
|
|
10100
|
+
H({
|
|
10103
10101
|
type: "genfrac",
|
|
10104
10102
|
names: ["\\genfrac"],
|
|
10105
10103
|
props: {
|
|
@@ -10136,7 +10134,7 @@ L({
|
|
|
10136
10134
|
htmlBuilder: Nr,
|
|
10137
10135
|
mathmlBuilder: qr
|
|
10138
10136
|
});
|
|
10139
|
-
|
|
10137
|
+
H({
|
|
10140
10138
|
type: "infix",
|
|
10141
10139
|
names: ["\\above"],
|
|
10142
10140
|
props: {
|
|
@@ -10159,7 +10157,7 @@ L({
|
|
|
10159
10157
|
};
|
|
10160
10158
|
}
|
|
10161
10159
|
});
|
|
10162
|
-
|
|
10160
|
+
H({
|
|
10163
10161
|
type: "genfrac",
|
|
10164
10162
|
names: ["\\\\abovefrac"],
|
|
10165
10163
|
props: {
|
|
@@ -10170,7 +10168,7 @@ L({
|
|
|
10170
10168
|
var {
|
|
10171
10169
|
parser: t,
|
|
10172
10170
|
funcName: a
|
|
10173
|
-
} = r, n = e[0], i =
|
|
10171
|
+
} = r, n = e[0], i = bs(Z(e[1], "infix").size), o = e[2], u = i.number > 0;
|
|
10174
10172
|
return {
|
|
10175
10173
|
type: "genfrac",
|
|
10176
10174
|
mode: t.mode,
|
|
@@ -10246,11 +10244,11 @@ var Bn = (r, e) => {
|
|
|
10246
10244
|
}, e);
|
|
10247
10245
|
}
|
|
10248
10246
|
return k.makeSpan(["mord", n.isOver ? "mover" : "munder"], [u], e);
|
|
10249
|
-
},
|
|
10247
|
+
}, P1 = (r, e) => {
|
|
10250
10248
|
var t = l0.mathMLnode(r.label);
|
|
10251
10249
|
return new I.MathNode(r.isOver ? "mover" : "munder", [ne(r.base, e), t]);
|
|
10252
10250
|
};
|
|
10253
|
-
|
|
10251
|
+
H({
|
|
10254
10252
|
type: "horizBrace",
|
|
10255
10253
|
names: ["\\overbrace", "\\underbrace"],
|
|
10256
10254
|
props: {
|
|
@@ -10270,9 +10268,9 @@ L({
|
|
|
10270
10268
|
};
|
|
10271
10269
|
},
|
|
10272
10270
|
htmlBuilder: Bn,
|
|
10273
|
-
mathmlBuilder:
|
|
10271
|
+
mathmlBuilder: P1
|
|
10274
10272
|
});
|
|
10275
|
-
|
|
10273
|
+
H({
|
|
10276
10274
|
type: "href",
|
|
10277
10275
|
names: ["\\href"],
|
|
10278
10276
|
props: {
|
|
@@ -10303,7 +10301,7 @@ L({
|
|
|
10303
10301
|
return t instanceof _e || (t = new _e("mrow", [t])), t.setAttribute("href", r.href), t;
|
|
10304
10302
|
}
|
|
10305
10303
|
});
|
|
10306
|
-
|
|
10304
|
+
H({
|
|
10307
10305
|
type: "href",
|
|
10308
10306
|
names: ["\\url"],
|
|
10309
10307
|
props: {
|
|
@@ -10342,7 +10340,7 @@ L({
|
|
|
10342
10340
|
};
|
|
10343
10341
|
}
|
|
10344
10342
|
});
|
|
10345
|
-
|
|
10343
|
+
H({
|
|
10346
10344
|
type: "hbox",
|
|
10347
10345
|
names: ["\\hbox"],
|
|
10348
10346
|
props: {
|
|
@@ -10369,7 +10367,7 @@ L({
|
|
|
10369
10367
|
return new I.MathNode("mrow", Ae(r.body, e));
|
|
10370
10368
|
}
|
|
10371
10369
|
});
|
|
10372
|
-
|
|
10370
|
+
H({
|
|
10373
10371
|
type: "html",
|
|
10374
10372
|
names: ["\\htmlClass", "\\htmlId", "\\htmlStyle", "\\htmlData"],
|
|
10375
10373
|
props: {
|
|
@@ -10437,7 +10435,7 @@ L({
|
|
|
10437
10435
|
},
|
|
10438
10436
|
mathmlBuilder: (r, e) => y0(r.body, e)
|
|
10439
10437
|
});
|
|
10440
|
-
|
|
10438
|
+
H({
|
|
10441
10439
|
type: "htmlmathml",
|
|
10442
10440
|
names: ["\\html@mathml"],
|
|
10443
10441
|
props: {
|
|
@@ -10479,7 +10477,7 @@ var Jt = function(e) {
|
|
|
10479
10477
|
throw new _("Invalid unit: '" + a.unit + "' in \\includegraphics.");
|
|
10480
10478
|
return a;
|
|
10481
10479
|
};
|
|
10482
|
-
|
|
10480
|
+
H({
|
|
10483
10481
|
type: "includegraphics",
|
|
10484
10482
|
names: ["\\includegraphics"],
|
|
10485
10483
|
props: {
|
|
@@ -10547,7 +10545,7 @@ L({
|
|
|
10547
10545
|
height: R(t + a)
|
|
10548
10546
|
};
|
|
10549
10547
|
n > 0 && (i.width = R(n)), a > 0 && (i.verticalAlign = R(-a));
|
|
10550
|
-
var o = new
|
|
10548
|
+
var o = new Ps(r.src, r.alt, i);
|
|
10551
10549
|
return o.height = t, o.depth = a, o;
|
|
10552
10550
|
},
|
|
10553
10551
|
mathmlBuilder: (r, e) => {
|
|
@@ -10561,7 +10559,7 @@ L({
|
|
|
10561
10559
|
return t.setAttribute("src", r.src), t;
|
|
10562
10560
|
}
|
|
10563
10561
|
});
|
|
10564
|
-
|
|
10562
|
+
H({
|
|
10565
10563
|
type: "kern",
|
|
10566
10564
|
names: ["\\kern", "\\mkern", "\\hskip", "\\mskip"],
|
|
10567
10565
|
props: {
|
|
@@ -10593,7 +10591,7 @@ L({
|
|
|
10593
10591
|
return new I.SpaceNode(t);
|
|
10594
10592
|
}
|
|
10595
10593
|
});
|
|
10596
|
-
|
|
10594
|
+
H({
|
|
10597
10595
|
type: "lap",
|
|
10598
10596
|
names: ["\\mathllap", "\\mathrlap", "\\mathclap"],
|
|
10599
10597
|
props: {
|
|
@@ -10627,7 +10625,7 @@ L({
|
|
|
10627
10625
|
return t.setAttribute("width", "0px"), t;
|
|
10628
10626
|
}
|
|
10629
10627
|
});
|
|
10630
|
-
|
|
10628
|
+
H({
|
|
10631
10629
|
type: "styling",
|
|
10632
10630
|
names: ["\\(", "$"],
|
|
10633
10631
|
props: {
|
|
@@ -10650,7 +10648,7 @@ L({
|
|
|
10650
10648
|
};
|
|
10651
10649
|
}
|
|
10652
10650
|
});
|
|
10653
|
-
|
|
10651
|
+
H({
|
|
10654
10652
|
type: "text",
|
|
10655
10653
|
// Doesn't matter what this is.
|
|
10656
10654
|
names: ["\\)", "\\]"],
|
|
@@ -10677,7 +10675,7 @@ var fa = (r, e) => {
|
|
|
10677
10675
|
return r.text;
|
|
10678
10676
|
}
|
|
10679
10677
|
};
|
|
10680
|
-
|
|
10678
|
+
H({
|
|
10681
10679
|
type: "mathchoice",
|
|
10682
10680
|
names: ["\\mathchoice"],
|
|
10683
10681
|
props: {
|
|
@@ -10827,27 +10825,27 @@ var Dn = (r, e, t, a, n, i, o) => {
|
|
|
10827
10825
|
}
|
|
10828
10826
|
} else if (i.body) {
|
|
10829
10827
|
var S = pe(i.body, e, !0);
|
|
10830
|
-
S.length === 1 && S[0] instanceof
|
|
10828
|
+
S.length === 1 && S[0] instanceof Oe ? (h = S[0], h.classes[0] = "mop") : h = k.makeSpan(["mop"], S, e);
|
|
10831
10829
|
} else {
|
|
10832
10830
|
for (var E = [], T = 1; T < i.name.length; T++)
|
|
10833
10831
|
E.push(k.mathsym(i.name[T], i.mode, e));
|
|
10834
10832
|
h = k.makeSpan(["mop"], E, e);
|
|
10835
10833
|
}
|
|
10836
10834
|
var C = 0, B = 0;
|
|
10837
|
-
return (h instanceof
|
|
10835
|
+
return (h instanceof Oe || i.name === "\\oiint" || i.name === "\\oiiint") && !i.suppressBaseShift && (C = (h.height - h.depth) / 2 - e.fontMetrics().axisHeight, B = h.italic), n ? Dn(h, t, a, e, o, B, C) : (C && (h.style.position = "relative", h.style.top = R(C)), h);
|
|
10838
10836
|
}, ut = (r, e) => {
|
|
10839
10837
|
var t;
|
|
10840
10838
|
if (r.symbol)
|
|
10841
|
-
t = new _e("mo", [
|
|
10839
|
+
t = new _e("mo", [He(r.name, r.mode)]), j.contains(In, r.name) && t.setAttribute("largeop", "false");
|
|
10842
10840
|
else if (r.body)
|
|
10843
10841
|
t = new _e("mo", Ae(r.body, e));
|
|
10844
10842
|
else {
|
|
10845
10843
|
t = new _e("mi", [new Q0(r.name.slice(1))]);
|
|
10846
|
-
var a = new _e("mo", [
|
|
10844
|
+
var a = new _e("mo", [He("", "text")]);
|
|
10847
10845
|
r.parentIsSupSub ? t = new _e("mrow", [t, a]) : t = sn([t, a]);
|
|
10848
10846
|
}
|
|
10849
10847
|
return t;
|
|
10850
|
-
},
|
|
10848
|
+
}, j1 = {
|
|
10851
10849
|
"∏": "\\prod",
|
|
10852
10850
|
"∐": "\\coprod",
|
|
10853
10851
|
"∑": "\\sum",
|
|
@@ -10861,7 +10859,7 @@ var Dn = (r, e, t, a, n, i, o) => {
|
|
|
10861
10859
|
"⨄": "\\biguplus",
|
|
10862
10860
|
"⨆": "\\bigsqcup"
|
|
10863
10861
|
};
|
|
10864
|
-
|
|
10862
|
+
H({
|
|
10865
10863
|
type: "op",
|
|
10866
10864
|
names: ["\\coprod", "\\bigvee", "\\bigwedge", "\\biguplus", "\\bigcap", "\\bigcup", "\\intop", "\\prod", "\\sum", "\\bigotimes", "\\bigoplus", "\\bigodot", "\\bigsqcup", "\\smallint", "∏", "∐", "∑", "⋀", "⋁", "⋂", "⋃", "⨀", "⨁", "⨂", "⨄", "⨆"],
|
|
10867
10865
|
props: {
|
|
@@ -10872,7 +10870,7 @@ L({
|
|
|
10872
10870
|
parser: t,
|
|
10873
10871
|
funcName: a
|
|
10874
10872
|
} = r, n = a;
|
|
10875
|
-
return n.length === 1 && (n =
|
|
10873
|
+
return n.length === 1 && (n = j1[n]), {
|
|
10876
10874
|
type: "op",
|
|
10877
10875
|
mode: t.mode,
|
|
10878
10876
|
limits: !0,
|
|
@@ -10884,7 +10882,7 @@ L({
|
|
|
10884
10882
|
htmlBuilder: U0,
|
|
10885
10883
|
mathmlBuilder: ut
|
|
10886
10884
|
});
|
|
10887
|
-
|
|
10885
|
+
H({
|
|
10888
10886
|
type: "op",
|
|
10889
10887
|
names: ["\\mathop"],
|
|
10890
10888
|
props: {
|
|
@@ -10907,7 +10905,7 @@ L({
|
|
|
10907
10905
|
htmlBuilder: U0,
|
|
10908
10906
|
mathmlBuilder: ut
|
|
10909
10907
|
});
|
|
10910
|
-
var
|
|
10908
|
+
var G1 = {
|
|
10911
10909
|
"∫": "\\int",
|
|
10912
10910
|
"∬": "\\iint",
|
|
10913
10911
|
"∭": "\\iiint",
|
|
@@ -10915,7 +10913,7 @@ var j1 = {
|
|
|
10915
10913
|
"∯": "\\oiint",
|
|
10916
10914
|
"∰": "\\oiiint"
|
|
10917
10915
|
};
|
|
10918
|
-
|
|
10916
|
+
H({
|
|
10919
10917
|
type: "op",
|
|
10920
10918
|
names: ["\\arcsin", "\\arccos", "\\arctan", "\\arctg", "\\arcctg", "\\arg", "\\ch", "\\cos", "\\cosec", "\\cosh", "\\cot", "\\cotg", "\\coth", "\\csc", "\\ctg", "\\cth", "\\deg", "\\dim", "\\exp", "\\hom", "\\ker", "\\lg", "\\ln", "\\log", "\\sec", "\\sin", "\\sinh", "\\sh", "\\tan", "\\tanh", "\\tg", "\\th"],
|
|
10921
10919
|
props: {
|
|
@@ -10938,7 +10936,7 @@ L({
|
|
|
10938
10936
|
htmlBuilder: U0,
|
|
10939
10937
|
mathmlBuilder: ut
|
|
10940
10938
|
});
|
|
10941
|
-
|
|
10939
|
+
H({
|
|
10942
10940
|
type: "op",
|
|
10943
10941
|
names: ["\\det", "\\gcd", "\\inf", "\\lim", "\\max", "\\min", "\\Pr", "\\sup"],
|
|
10944
10942
|
props: {
|
|
@@ -10961,7 +10959,7 @@ L({
|
|
|
10961
10959
|
htmlBuilder: U0,
|
|
10962
10960
|
mathmlBuilder: ut
|
|
10963
10961
|
});
|
|
10964
|
-
|
|
10962
|
+
H({
|
|
10965
10963
|
type: "op",
|
|
10966
10964
|
names: ["\\int", "\\iint", "\\iiint", "\\oint", "\\oiint", "\\oiiint", "∫", "∬", "∭", "∮", "∯", "∰"],
|
|
10967
10965
|
props: {
|
|
@@ -10972,7 +10970,7 @@ L({
|
|
|
10972
10970
|
parser: e,
|
|
10973
10971
|
funcName: t
|
|
10974
10972
|
} = r, a = t;
|
|
10975
|
-
return a.length === 1 && (a =
|
|
10973
|
+
return a.length === 1 && (a = G1[a]), {
|
|
10976
10974
|
type: "op",
|
|
10977
10975
|
mode: e.mode,
|
|
10978
10976
|
limits: !1,
|
|
@@ -10998,13 +10996,13 @@ var Fn = (r, e) => {
|
|
|
10998
10996
|
} : b;
|
|
10999
10997
|
}), h = pe(u, e.withFont("mathrm"), !0), m = 0; m < h.length; m++) {
|
|
11000
10998
|
var v = h[m];
|
|
11001
|
-
v instanceof
|
|
10999
|
+
v instanceof Oe && (v.text = v.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
|
|
11002
11000
|
}
|
|
11003
11001
|
o = k.makeSpan(["mop"], h, e);
|
|
11004
11002
|
} else
|
|
11005
11003
|
o = k.makeSpan(["mop"], [], e);
|
|
11006
11004
|
return n ? Dn(o, t, a, e, e.style, 0, 0) : o;
|
|
11007
|
-
},
|
|
11005
|
+
}, V1 = (r, e) => {
|
|
11008
11006
|
for (var t = Ae(r.body, e.withFont("mathrm")), a = !0, n = 0; n < t.length; n++) {
|
|
11009
11007
|
var i = t[n];
|
|
11010
11008
|
if (!(i instanceof I.SpaceNode)) if (i instanceof I.MathNode)
|
|
@@ -11032,10 +11030,10 @@ var Fn = (r, e) => {
|
|
|
11032
11030
|
}
|
|
11033
11031
|
var h = new I.MathNode("mi", t);
|
|
11034
11032
|
h.setAttribute("mathvariant", "normal");
|
|
11035
|
-
var m = new I.MathNode("mo", [
|
|
11033
|
+
var m = new I.MathNode("mo", [He("", "text")]);
|
|
11036
11034
|
return r.parentIsSupSub ? new I.MathNode("mrow", [h, m]) : I.newDocumentFragment([h, m]);
|
|
11037
11035
|
};
|
|
11038
|
-
|
|
11036
|
+
H({
|
|
11039
11037
|
type: "operatorname",
|
|
11040
11038
|
names: ["\\operatorname@", "\\operatornamewithlimits"],
|
|
11041
11039
|
props: {
|
|
@@ -11056,7 +11054,7 @@ L({
|
|
|
11056
11054
|
};
|
|
11057
11055
|
},
|
|
11058
11056
|
htmlBuilder: Fn,
|
|
11059
|
-
mathmlBuilder:
|
|
11057
|
+
mathmlBuilder: V1
|
|
11060
11058
|
});
|
|
11061
11059
|
d("\\operatorname", "\\@ifstar\\operatornamewithlimits\\operatorname@");
|
|
11062
11060
|
_0({
|
|
@@ -11068,7 +11066,7 @@ _0({
|
|
|
11068
11066
|
return y0(r.body, e, !0);
|
|
11069
11067
|
}
|
|
11070
11068
|
});
|
|
11071
|
-
|
|
11069
|
+
H({
|
|
11072
11070
|
type: "overline",
|
|
11073
11071
|
names: ["\\overline"],
|
|
11074
11072
|
props: {
|
|
@@ -11110,7 +11108,7 @@ L({
|
|
|
11110
11108
|
return a.setAttribute("accent", "true"), a;
|
|
11111
11109
|
}
|
|
11112
11110
|
});
|
|
11113
|
-
|
|
11111
|
+
H({
|
|
11114
11112
|
type: "phantom",
|
|
11115
11113
|
names: ["\\phantom"],
|
|
11116
11114
|
props: {
|
|
@@ -11136,7 +11134,7 @@ L({
|
|
|
11136
11134
|
return new I.MathNode("mphantom", t);
|
|
11137
11135
|
}
|
|
11138
11136
|
});
|
|
11139
|
-
|
|
11137
|
+
H({
|
|
11140
11138
|
type: "hphantom",
|
|
11141
11139
|
names: ["\\hphantom"],
|
|
11142
11140
|
props: {
|
|
@@ -11171,7 +11169,7 @@ L({
|
|
|
11171
11169
|
return n.setAttribute("height", "0px"), n.setAttribute("depth", "0px"), n;
|
|
11172
11170
|
}
|
|
11173
11171
|
});
|
|
11174
|
-
|
|
11172
|
+
H({
|
|
11175
11173
|
type: "vphantom",
|
|
11176
11174
|
names: ["\\vphantom"],
|
|
11177
11175
|
props: {
|
|
@@ -11197,7 +11195,7 @@ L({
|
|
|
11197
11195
|
return n.setAttribute("width", "0px"), n;
|
|
11198
11196
|
}
|
|
11199
11197
|
});
|
|
11200
|
-
|
|
11198
|
+
H({
|
|
11201
11199
|
type: "raisebox",
|
|
11202
11200
|
names: ["\\raisebox"],
|
|
11203
11201
|
props: {
|
|
@@ -11232,7 +11230,7 @@ L({
|
|
|
11232
11230
|
return t.setAttribute("voffset", a), t;
|
|
11233
11231
|
}
|
|
11234
11232
|
});
|
|
11235
|
-
|
|
11233
|
+
H({
|
|
11236
11234
|
type: "internal",
|
|
11237
11235
|
names: ["\\relax"],
|
|
11238
11236
|
props: {
|
|
@@ -11249,7 +11247,7 @@ L({
|
|
|
11249
11247
|
};
|
|
11250
11248
|
}
|
|
11251
11249
|
});
|
|
11252
|
-
|
|
11250
|
+
H({
|
|
11253
11251
|
type: "rule",
|
|
11254
11252
|
names: ["\\rule"],
|
|
11255
11253
|
props: {
|
|
@@ -11287,11 +11285,11 @@ function _n(r, e, t) {
|
|
|
11287
11285
|
}
|
|
11288
11286
|
return k.makeFragment(a);
|
|
11289
11287
|
}
|
|
11290
|
-
var va = ["\\tiny", "\\sixptsize", "\\scriptsize", "\\footnotesize", "\\small", "\\normalsize", "\\large", "\\Large", "\\LARGE", "\\huge", "\\Huge"],
|
|
11288
|
+
var va = ["\\tiny", "\\sixptsize", "\\scriptsize", "\\footnotesize", "\\small", "\\normalsize", "\\large", "\\Large", "\\LARGE", "\\huge", "\\Huge"], U1 = (r, e) => {
|
|
11291
11289
|
var t = e.havingSize(r.size);
|
|
11292
11290
|
return _n(r.body, t, e);
|
|
11293
11291
|
};
|
|
11294
|
-
|
|
11292
|
+
H({
|
|
11295
11293
|
type: "sizing",
|
|
11296
11294
|
names: va,
|
|
11297
11295
|
props: {
|
|
@@ -11312,13 +11310,13 @@ L({
|
|
|
11312
11310
|
body: i
|
|
11313
11311
|
};
|
|
11314
11312
|
},
|
|
11315
|
-
htmlBuilder:
|
|
11313
|
+
htmlBuilder: U1,
|
|
11316
11314
|
mathmlBuilder: (r, e) => {
|
|
11317
11315
|
var t = e.havingSize(r.size), a = Ae(r.body, t), n = new I.MathNode("mstyle", a);
|
|
11318
11316
|
return n.setAttribute("mathsize", R(t.sizeMultiplier)), n;
|
|
11319
11317
|
}
|
|
11320
11318
|
});
|
|
11321
|
-
|
|
11319
|
+
H({
|
|
11322
11320
|
type: "smash",
|
|
11323
11321
|
names: ["\\smash"],
|
|
11324
11322
|
props: {
|
|
@@ -11377,7 +11375,7 @@ L({
|
|
|
11377
11375
|
return r.smashHeight && t.setAttribute("height", "0px"), r.smashDepth && t.setAttribute("depth", "0px"), t;
|
|
11378
11376
|
}
|
|
11379
11377
|
});
|
|
11380
|
-
|
|
11378
|
+
H({
|
|
11381
11379
|
type: "sqrt",
|
|
11382
11380
|
names: ["\\sqrt"],
|
|
11383
11381
|
props: {
|
|
@@ -11452,7 +11450,7 @@ var ga = {
|
|
|
11452
11450
|
script: V.SCRIPT,
|
|
11453
11451
|
scriptscript: V.SCRIPTSCRIPT
|
|
11454
11452
|
};
|
|
11455
|
-
|
|
11453
|
+
H({
|
|
11456
11454
|
type: "styling",
|
|
11457
11455
|
names: ["\\displaystyle", "\\textstyle", "\\scriptstyle", "\\scriptscriptstyle"],
|
|
11458
11456
|
props: {
|
|
@@ -11489,7 +11487,7 @@ L({
|
|
|
11489
11487
|
return i.setAttribute("scriptlevel", u[0]), i.setAttribute("displaystyle", u[1]), i;
|
|
11490
11488
|
}
|
|
11491
11489
|
});
|
|
11492
|
-
var
|
|
11490
|
+
var W1 = function(e, t) {
|
|
11493
11491
|
var a = e.base;
|
|
11494
11492
|
if (a)
|
|
11495
11493
|
if (a.type === "op") {
|
|
@@ -11512,7 +11510,7 @@ var U1 = function(e, t) {
|
|
|
11512
11510
|
_0({
|
|
11513
11511
|
type: "supsub",
|
|
11514
11512
|
htmlBuilder(r, e) {
|
|
11515
|
-
var t =
|
|
11513
|
+
var t = W1(r, e);
|
|
11516
11514
|
if (t)
|
|
11517
11515
|
return t(r, e);
|
|
11518
11516
|
var {
|
|
@@ -11533,7 +11531,7 @@ _0({
|
|
|
11533
11531
|
var C = e.sizeMultiplier, B = R(0.5 / m.ptPerEm / C), g = null;
|
|
11534
11532
|
if (h) {
|
|
11535
11533
|
var x = r.base && r.base.type === "op" && r.base.name && (r.base.name === "\\oiint" || r.base.name === "\\oiiint");
|
|
11536
|
-
(o instanceof
|
|
11534
|
+
(o instanceof Oe || x) && (g = R(-o.italic));
|
|
11537
11535
|
}
|
|
11538
11536
|
var A;
|
|
11539
11537
|
if (u && h) {
|
|
@@ -11617,7 +11615,7 @@ _0({
|
|
|
11617
11615
|
return k.mathsym(r.text, r.mode, e, ["m" + r.family]);
|
|
11618
11616
|
},
|
|
11619
11617
|
mathmlBuilder(r, e) {
|
|
11620
|
-
var t = new I.MathNode("mo", [
|
|
11618
|
+
var t = new I.MathNode("mo", [He(r.text, r.mode)]);
|
|
11621
11619
|
if (r.family === "bin") {
|
|
11622
11620
|
var a = Tr(r, e);
|
|
11623
11621
|
a === "bold-italic" && t.setAttribute("mathvariant", a);
|
|
@@ -11636,7 +11634,7 @@ _0({
|
|
|
11636
11634
|
return k.makeOrd(r, e, "mathord");
|
|
11637
11635
|
},
|
|
11638
11636
|
mathmlBuilder(r, e) {
|
|
11639
|
-
var t = new I.MathNode("mi", [
|
|
11637
|
+
var t = new I.MathNode("mi", [He(r.text, r.mode, e)]), a = Tr(r, e) || "italic";
|
|
11640
11638
|
return a !== Nn[t.type] && t.setAttribute("mathvariant", a), t;
|
|
11641
11639
|
}
|
|
11642
11640
|
});
|
|
@@ -11646,7 +11644,7 @@ _0({
|
|
|
11646
11644
|
return k.makeOrd(r, e, "textord");
|
|
11647
11645
|
},
|
|
11648
11646
|
mathmlBuilder(r, e) {
|
|
11649
|
-
var t =
|
|
11647
|
+
var t = He(r.text, r.mode, e), a = Tr(r, e) || "normal", n;
|
|
11650
11648
|
return r.mode === "text" ? n = new I.MathNode("mtext", [t]) : /[0-9]/.test(r.text) ? n = new I.MathNode("mn", [t]) : r.text === "\\prime" ? n = new I.MathNode("mo", [t]) : n = new I.MathNode("mi", [t]), a !== Nn[n.type] && n.setAttribute("mathvariant", a), n;
|
|
11651
11649
|
}
|
|
11652
11650
|
});
|
|
@@ -11712,7 +11710,7 @@ var ya = {
|
|
|
11712
11710
|
}, xa = {
|
|
11713
11711
|
"\\textbf": "textbf",
|
|
11714
11712
|
"\\textmd": "textmd"
|
|
11715
|
-
},
|
|
11713
|
+
}, Y1 = {
|
|
11716
11714
|
"\\textit": "textit",
|
|
11717
11715
|
"\\textup": "textup"
|
|
11718
11716
|
}, wa = (r, e) => {
|
|
@@ -11725,9 +11723,9 @@ var ya = {
|
|
|
11725
11723
|
if (t === "\\emph")
|
|
11726
11724
|
return e.fontShape === "textit" ? e.withTextFontShape("textup") : e.withTextFontShape("textit");
|
|
11727
11725
|
} else return e;
|
|
11728
|
-
return e.withTextFontShape(
|
|
11726
|
+
return e.withTextFontShape(Y1[t]);
|
|
11729
11727
|
};
|
|
11730
|
-
|
|
11728
|
+
H({
|
|
11731
11729
|
type: "text",
|
|
11732
11730
|
names: [
|
|
11733
11731
|
// Font families
|
|
@@ -11771,7 +11769,7 @@ L({
|
|
|
11771
11769
|
return y0(r.body, t);
|
|
11772
11770
|
}
|
|
11773
11771
|
});
|
|
11774
|
-
|
|
11772
|
+
H({
|
|
11775
11773
|
type: "underline",
|
|
11776
11774
|
names: ["\\underline"],
|
|
11777
11775
|
props: {
|
|
@@ -11815,7 +11813,7 @@ L({
|
|
|
11815
11813
|
return a.setAttribute("accentunder", "true"), a;
|
|
11816
11814
|
}
|
|
11817
11815
|
});
|
|
11818
|
-
|
|
11816
|
+
H({
|
|
11819
11817
|
type: "vcenter",
|
|
11820
11818
|
names: ["\\vcenter"],
|
|
11821
11819
|
props: {
|
|
@@ -11849,7 +11847,7 @@ L({
|
|
|
11849
11847
|
return new I.MathNode("mpadded", [ne(r.body, e)], ["vcenter"]);
|
|
11850
11848
|
}
|
|
11851
11849
|
});
|
|
11852
|
-
|
|
11850
|
+
H({
|
|
11853
11851
|
type: "verb",
|
|
11854
11852
|
names: ["\\verb"],
|
|
11855
11853
|
props: {
|
|
@@ -11872,22 +11870,22 @@ L({
|
|
|
11872
11870
|
}
|
|
11873
11871
|
});
|
|
11874
11872
|
var ka = (r) => r.body.replace(/ /g, r.star ? "␣" : " "), p0 = an, qn = `[ \r
|
|
11875
|
-
]`,
|
|
11873
|
+
]`, X1 = "\\\\[a-zA-Z@]+", Z1 = "\\\\[^\uD800-\uDFFF]", K1 = "(" + X1 + ")" + qn + "*", J1 = `\\\\(
|
|
11876
11874
|
|[ \r ]+
|
|
11877
|
-
?)[ \r ]*`, mr = "[̀-ͯ]",
|
|
11878
|
-
(
|
|
11875
|
+
?)[ \r ]*`, mr = "[̀-ͯ]", Q1 = new RegExp(mr + "+$"), el = "(" + qn + "+)|" + // whitespace
|
|
11876
|
+
(J1 + "|") + // \whitespace
|
|
11879
11877
|
"([!-\\[\\]-‧-豈-]" + // single codepoint
|
|
11880
11878
|
(mr + "*") + // ...plus accents
|
|
11881
11879
|
"|[\uD800-\uDBFF][\uDC00-\uDFFF]" + // surrogate pair
|
|
11882
11880
|
(mr + "*") + // ...plus accents
|
|
11883
11881
|
"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5" + // \verb unstarred
|
|
11884
|
-
("|" +
|
|
11885
|
-
("|" +
|
|
11882
|
+
("|" + K1) + // \macroName + spaces
|
|
11883
|
+
("|" + Z1 + ")");
|
|
11886
11884
|
class Sa {
|
|
11887
11885
|
// Category codes. The lexer only supports comment characters (14) for now.
|
|
11888
11886
|
// MacroExpander additionally distinguishes active (13).
|
|
11889
11887
|
constructor(e, t) {
|
|
11890
|
-
this.input = void 0, this.settings = void 0, this.tokenRegex = void 0, this.catcodes = void 0, this.input = e, this.settings = t, this.tokenRegex = new RegExp(
|
|
11888
|
+
this.input = void 0, this.settings = void 0, this.tokenRegex = void 0, this.catcodes = void 0, this.input = e, this.settings = t, this.tokenRegex = new RegExp(el, "g"), this.catcodes = {
|
|
11891
11889
|
"%": 14,
|
|
11892
11890
|
// comment character
|
|
11893
11891
|
"~": 13
|
|
@@ -11916,7 +11914,7 @@ class Sa {
|
|
|
11916
11914
|
return new qe(n, new Ce(this, t, this.tokenRegex.lastIndex));
|
|
11917
11915
|
}
|
|
11918
11916
|
}
|
|
11919
|
-
class
|
|
11917
|
+
class tl {
|
|
11920
11918
|
/**
|
|
11921
11919
|
* Both arguments are optional. The first argument is an object of
|
|
11922
11920
|
* built-in mappings which never change. The second argument is an object
|
|
@@ -11987,7 +11985,7 @@ class el {
|
|
|
11987
11985
|
t == null ? delete this.current[e] : this.current[e] = t;
|
|
11988
11986
|
}
|
|
11989
11987
|
}
|
|
11990
|
-
var
|
|
11988
|
+
var rl = An;
|
|
11991
11989
|
d("\\noexpand", function(r) {
|
|
11992
11990
|
var e = r.popToken();
|
|
11993
11991
|
return r.isExpandable(e.text) && (e.noexpand = !0, e.treatAsRelax = !0), {
|
|
@@ -12576,9 +12574,9 @@ var Hn = {
|
|
|
12576
12574
|
"\\nolimits": !0
|
|
12577
12575
|
// Parser.js
|
|
12578
12576
|
};
|
|
12579
|
-
class
|
|
12577
|
+
class al {
|
|
12580
12578
|
constructor(e, t, a) {
|
|
12581
|
-
this.settings = void 0, this.expansionCount = void 0, this.lexer = void 0, this.macros = void 0, this.stack = void 0, this.mode = void 0, this.settings = t, this.expansionCount = 0, this.feed(e), this.macros = new
|
|
12579
|
+
this.settings = void 0, this.expansionCount = void 0, this.lexer = void 0, this.macros = void 0, this.stack = void 0, this.mode = void 0, this.settings = t, this.expansionCount = 0, this.feed(e), this.macros = new tl(rl, t.macros), this.mode = a, this.stack = [];
|
|
12582
12580
|
}
|
|
12583
12581
|
/**
|
|
12584
12582
|
* Feed a new input string to the same MacroExpander
|
|
@@ -13368,7 +13366,7 @@ var za = /^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗ
|
|
|
13368
13366
|
};
|
|
13369
13367
|
class Ot {
|
|
13370
13368
|
constructor(e, t) {
|
|
13371
|
-
this.mode = void 0, this.gullet = void 0, this.settings = void 0, this.leftrightDepth = void 0, this.nextToken = void 0, this.mode = "math", this.gullet = new
|
|
13369
|
+
this.mode = void 0, this.gullet = void 0, this.settings = void 0, this.leftrightDepth = void 0, this.nextToken = void 0, this.mode = "math", this.gullet = new al(e, t, this.mode), this.settings = t, this.leftrightDepth = 0;
|
|
13372
13370
|
}
|
|
13373
13371
|
/**
|
|
13374
13372
|
* Checks a result to make sure it has the right type, and throws an
|
|
@@ -13878,13 +13876,13 @@ class Ot {
|
|
|
13878
13876
|
};
|
|
13879
13877
|
}
|
|
13880
13878
|
Ta.hasOwnProperty(t[0]) && !ie[this.mode][t[0]] && (this.settings.strict && this.mode === "math" && this.settings.reportNonstrict("unicodeTextInMathMode", 'Accented Unicode text character "' + t[0] + '" used in math mode', e), t = Ta[t[0]] + t.slice(1));
|
|
13881
|
-
var i =
|
|
13879
|
+
var i = Q1.exec(t);
|
|
13882
13880
|
i && (t = t.substring(0, i.index), t === "i" ? t = "ı" : t === "j" && (t = "ȷ"));
|
|
13883
13881
|
var o;
|
|
13884
13882
|
if (ie[this.mode][t]) {
|
|
13885
13883
|
this.settings.strict && this.mode === "math" && or.indexOf(t) >= 0 && this.settings.reportNonstrict("unicodeTextInMathMode", 'Latin-1/Unicode text character "' + t[0] + '" used in math mode', e);
|
|
13886
13884
|
var u = ie[this.mode][t].group, h = Ce.range(e), m;
|
|
13887
|
-
if (
|
|
13885
|
+
if (Vs.hasOwnProperty(u)) {
|
|
13888
13886
|
var v = u;
|
|
13889
13887
|
m = {
|
|
13890
13888
|
type: "atom",
|
|
@@ -13958,34 +13956,34 @@ var Hr = function(e, t) {
|
|
|
13958
13956
|
typeof document < "u" && document.compatMode !== "CSS1Compat" && (typeof console < "u" && console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."), Ln = function() {
|
|
13959
13957
|
throw new _("KaTeX doesn't work in quirks mode.");
|
|
13960
13958
|
});
|
|
13961
|
-
var
|
|
13959
|
+
var nl = function(e, t) {
|
|
13962
13960
|
var a = Lr(e, t).toMarkup();
|
|
13963
13961
|
return a;
|
|
13964
|
-
},
|
|
13962
|
+
}, il = function(e, t) {
|
|
13965
13963
|
var a = new wr(t);
|
|
13966
13964
|
return Hr(e, a);
|
|
13967
13965
|
}, $n = function(e, t, a) {
|
|
13968
13966
|
if (a.throwOnError || !(e instanceof _))
|
|
13969
13967
|
throw e;
|
|
13970
|
-
var n = k.makeSpan(["katex-error"], [new
|
|
13968
|
+
var n = k.makeSpan(["katex-error"], [new Oe(t)]);
|
|
13971
13969
|
return n.setAttribute("title", e.toString()), n.setAttribute("style", "color:" + a.errorColor), n;
|
|
13972
13970
|
}, Lr = function(e, t) {
|
|
13973
13971
|
var a = new wr(t);
|
|
13974
13972
|
try {
|
|
13975
13973
|
var n = Hr(e, a);
|
|
13976
|
-
return
|
|
13974
|
+
return p1(n, e, a);
|
|
13977
13975
|
} catch (i) {
|
|
13978
13976
|
return $n(i, e, a);
|
|
13979
13977
|
}
|
|
13980
|
-
},
|
|
13978
|
+
}, sl = function(e, t) {
|
|
13981
13979
|
var a = new wr(t);
|
|
13982
13980
|
try {
|
|
13983
13981
|
var n = Hr(e, a);
|
|
13984
|
-
return
|
|
13982
|
+
return f1(n, e, a);
|
|
13985
13983
|
} catch (i) {
|
|
13986
13984
|
return $n(i, e, a);
|
|
13987
13985
|
}
|
|
13988
|
-
},
|
|
13986
|
+
}, ll = {
|
|
13989
13987
|
/**
|
|
13990
13988
|
* Current KaTeX version
|
|
13991
13989
|
*/
|
|
@@ -13999,7 +13997,7 @@ var al = function(e, t) {
|
|
|
13999
13997
|
* Renders the given LaTeX into an HTML+MathML combination string,
|
|
14000
13998
|
* for sending to the client.
|
|
14001
13999
|
*/
|
|
14002
|
-
renderToString:
|
|
14000
|
+
renderToString: nl,
|
|
14003
14001
|
/**
|
|
14004
14002
|
* KaTeX error, usually during parsing.
|
|
14005
14003
|
*/
|
|
@@ -14016,7 +14014,7 @@ var al = function(e, t) {
|
|
|
14016
14014
|
* The internal tree representation is unstable and is very likely
|
|
14017
14015
|
* to change. Use at your own risk.
|
|
14018
14016
|
*/
|
|
14019
|
-
__parse:
|
|
14017
|
+
__parse: il,
|
|
14020
14018
|
/**
|
|
14021
14019
|
* Renders the given LaTeX into an HTML+MathML internal DOM tree
|
|
14022
14020
|
* representation, without flattening that representation to a string.
|
|
@@ -14034,12 +14032,12 @@ var al = function(e, t) {
|
|
|
14034
14032
|
* The internal tree representation is unstable and is very likely
|
|
14035
14033
|
* to change. Use at your own risk.
|
|
14036
14034
|
*/
|
|
14037
|
-
__renderToHTMLTree:
|
|
14035
|
+
__renderToHTMLTree: sl,
|
|
14038
14036
|
/**
|
|
14039
14037
|
* extends internal font metrics object with a new object
|
|
14040
14038
|
* each key in the new object represents a font name
|
|
14041
14039
|
*/
|
|
14042
|
-
__setFontMetrics:
|
|
14040
|
+
__setFontMetrics: Os,
|
|
14043
14041
|
/**
|
|
14044
14042
|
* adds a new symbol to builtin symbols table
|
|
14045
14043
|
*/
|
|
@@ -14049,7 +14047,7 @@ var al = function(e, t) {
|
|
|
14049
14047
|
* which directly produce parse tree elements
|
|
14050
14048
|
* and have their own html/mathml builders
|
|
14051
14049
|
*/
|
|
14052
|
-
__defineFunction:
|
|
14050
|
+
__defineFunction: H,
|
|
14053
14051
|
/**
|
|
14054
14052
|
* adds a new macro to builtin macro list
|
|
14055
14053
|
*/
|
|
@@ -14064,13 +14062,13 @@ var al = function(e, t) {
|
|
|
14064
14062
|
__domTree: {
|
|
14065
14063
|
Span: ot,
|
|
14066
14064
|
Anchor: Mr,
|
|
14067
|
-
SymbolNode:
|
|
14065
|
+
SymbolNode: Oe,
|
|
14068
14066
|
SvgNode: i0,
|
|
14069
14067
|
PathNode: b0,
|
|
14070
14068
|
LineNode: lr
|
|
14071
14069
|
}
|
|
14072
14070
|
};
|
|
14073
|
-
const
|
|
14071
|
+
const ol = /* @__PURE__ */ X({
|
|
14074
14072
|
__name: "ElmKatex",
|
|
14075
14073
|
props: {
|
|
14076
14074
|
expression: {},
|
|
@@ -14080,14 +14078,14 @@ const ll = /* @__PURE__ */ Y({
|
|
|
14080
14078
|
const e = r, t = W(null), a = () => {
|
|
14081
14079
|
if (t.value)
|
|
14082
14080
|
try {
|
|
14083
|
-
|
|
14081
|
+
ll.render(e.expression, t.value, {
|
|
14084
14082
|
displayMode: e.block
|
|
14085
14083
|
});
|
|
14086
14084
|
} catch (n) {
|
|
14087
14085
|
console.error("KaTeX rendering error:", n);
|
|
14088
14086
|
}
|
|
14089
14087
|
};
|
|
14090
|
-
return it(a),
|
|
14088
|
+
return it(a), Ra(a), (n, i) => (N(), Re(w0(e.block ? "div" : "span"), {
|
|
14091
14089
|
class: "katex",
|
|
14092
14090
|
key: JSON.stringify(e),
|
|
14093
14091
|
ref_key: "targetRef",
|
|
@@ -14102,45 +14100,45 @@ const ll = /* @__PURE__ */ Y({
|
|
|
14102
14100
|
_: 1
|
|
14103
14101
|
}, 8, ["style"]));
|
|
14104
14102
|
}
|
|
14105
|
-
}),
|
|
14103
|
+
}), ul = /* @__PURE__ */ J(ol, [["__scopeId", "data-v-8ae63b68"]]), cl = { class: "column" }, hl = /* @__PURE__ */ X({
|
|
14106
14104
|
__name: "ElmColumn",
|
|
14107
14105
|
setup(r) {
|
|
14108
|
-
return (e, t) => (N(), O("div",
|
|
14106
|
+
return (e, t) => (N(), O("div", cl, [
|
|
14109
14107
|
ge(e.$slots, "default", {}, void 0, !0)
|
|
14110
14108
|
]));
|
|
14111
14109
|
}
|
|
14112
|
-
}),
|
|
14110
|
+
}), dl = /* @__PURE__ */ J(hl, [["__scopeId", "data-v-dee3cb36"]]), ml = { class: "column-list" }, pl = /* @__PURE__ */ X({
|
|
14113
14111
|
__name: "ElmColumnList",
|
|
14114
14112
|
setup(r) {
|
|
14115
|
-
return (e, t) => (N(), O("div",
|
|
14113
|
+
return (e, t) => (N(), O("div", ml, [
|
|
14116
14114
|
ge(e.$slots, "default", {}, void 0, !0)
|
|
14117
14115
|
]));
|
|
14118
14116
|
}
|
|
14119
|
-
}),
|
|
14117
|
+
}), fl = /* @__PURE__ */ J(pl, [["__scopeId", "data-v-9dc7df82"]]), vl = { class: "window" }, gl = /* @__PURE__ */ X({
|
|
14120
14118
|
__name: "ElmDesktopWindow",
|
|
14121
14119
|
props: {
|
|
14122
14120
|
minHeight: { default: "6rem" }
|
|
14123
14121
|
},
|
|
14124
14122
|
setup(r) {
|
|
14125
|
-
return (e, t) => (N(), O("div",
|
|
14126
|
-
t[0] || (t[0] =
|
|
14127
|
-
|
|
14123
|
+
return (e, t) => (N(), O("div", vl, [
|
|
14124
|
+
t[0] || (t[0] = L("div", { class: "header" }, [
|
|
14125
|
+
L("div", {
|
|
14128
14126
|
"aria-hidden": "",
|
|
14129
14127
|
class: "dot",
|
|
14130
14128
|
style: { "--bg": "#c48691" }
|
|
14131
14129
|
}),
|
|
14132
|
-
|
|
14130
|
+
L("div", {
|
|
14133
14131
|
"aria-hidden": "",
|
|
14134
14132
|
class: "dot",
|
|
14135
14133
|
style: { "--bg": "#c9b990" }
|
|
14136
14134
|
}),
|
|
14137
|
-
|
|
14135
|
+
L("div", {
|
|
14138
14136
|
"aria-hidden": "",
|
|
14139
14137
|
class: "dot",
|
|
14140
14138
|
style: { "--bg": "#7cc598" }
|
|
14141
14139
|
})
|
|
14142
14140
|
], -1)),
|
|
14143
|
-
|
|
14141
|
+
L("div", {
|
|
14144
14142
|
class: "body",
|
|
14145
14143
|
style: K({ minHeight: e.minHeight })
|
|
14146
14144
|
}, [
|
|
@@ -14148,7 +14146,7 @@ const ll = /* @__PURE__ */ Y({
|
|
|
14148
14146
|
], 4)
|
|
14149
14147
|
]));
|
|
14150
14148
|
}
|
|
14151
|
-
}),
|
|
14149
|
+
}), X4 = /* @__PURE__ */ J(gl, [["__scopeId", "data-v-59d833c0"]]), bl = /* @__PURE__ */ X({
|
|
14152
14150
|
__name: "ElmParallax",
|
|
14153
14151
|
props: {
|
|
14154
14152
|
imageUrl1: {},
|
|
@@ -14156,29 +14154,29 @@ const ll = /* @__PURE__ */ Y({
|
|
|
14156
14154
|
},
|
|
14157
14155
|
setup(r) {
|
|
14158
14156
|
const { y: e } = Va();
|
|
14159
|
-
return (t, a) => (N(), O(
|
|
14160
|
-
|
|
14157
|
+
return (t, a) => (N(), O(Pe, null, [
|
|
14158
|
+
L("div", {
|
|
14161
14159
|
class: "parallax",
|
|
14162
14160
|
style: K({
|
|
14163
14161
|
backgroundImage: `url(${t.imageUrl1})`,
|
|
14164
|
-
transform: `scale(1.2) translateY(${
|
|
14162
|
+
transform: `scale(1.2) translateY(${Y(e) / 400}%)`,
|
|
14165
14163
|
transformOrigin: "bottom"
|
|
14166
14164
|
})
|
|
14167
14165
|
}, null, 4),
|
|
14168
|
-
|
|
14166
|
+
L("div", {
|
|
14169
14167
|
class: "parallax",
|
|
14170
14168
|
style: K({
|
|
14171
14169
|
backgroundImage: `url(${t.imageUrl2})`,
|
|
14172
|
-
transform: `scale(1.2) translateY(${
|
|
14170
|
+
transform: `scale(1.2) translateY(${Y(e) / 900}%)`,
|
|
14173
14171
|
transformOrigin: "bottom"
|
|
14174
14172
|
})
|
|
14175
14173
|
}, null, 4)
|
|
14176
14174
|
], 64));
|
|
14177
14175
|
}
|
|
14178
|
-
}),
|
|
14176
|
+
}), Z4 = /* @__PURE__ */ J(bl, [["__scopeId", "data-v-88e0ea0a"]]), yl = { class: "wrapper" }, xl = { style: { display: "flex", gap: "0.5rem" } }, wl = {
|
|
14179
14177
|
key: 0,
|
|
14180
14178
|
class: "content"
|
|
14181
|
-
},
|
|
14179
|
+
}, kl = /* @__PURE__ */ X({
|
|
14182
14180
|
__name: "ElmToggle",
|
|
14183
14181
|
props: /* @__PURE__ */ Ha({
|
|
14184
14182
|
summary: {}
|
|
@@ -14191,21 +14189,21 @@ const ll = /* @__PURE__ */ Y({
|
|
|
14191
14189
|
const e = La(r, "isOpen"), t = (a) => {
|
|
14192
14190
|
a.preventDefault(), e.value = !e.value;
|
|
14193
14191
|
};
|
|
14194
|
-
return (a, n) => (N(), O("div",
|
|
14195
|
-
|
|
14192
|
+
return (a, n) => (N(), O("div", yl, [
|
|
14193
|
+
L("div", {
|
|
14196
14194
|
class: "summary",
|
|
14197
14195
|
onClick: t
|
|
14198
14196
|
}, [
|
|
14199
|
-
|
|
14200
|
-
Q(
|
|
14197
|
+
L("div", xl, [
|
|
14198
|
+
Q(Y(zt), {
|
|
14201
14199
|
class: "icon",
|
|
14202
14200
|
style: K({ "--rotate": e.value ? "90deg" : "0deg" })
|
|
14203
14201
|
}, null, 8, ["style"]),
|
|
14204
|
-
|
|
14202
|
+
L("strong", null, [
|
|
14205
14203
|
Q(fe, { text: a.summary }, null, 8, ["text"])
|
|
14206
14204
|
])
|
|
14207
14205
|
]),
|
|
14208
|
-
Q(
|
|
14206
|
+
Q(Y(Di), {
|
|
14209
14207
|
class: "icon",
|
|
14210
14208
|
style: K({
|
|
14211
14209
|
"--rotate": e.value ? "135deg" : "0deg",
|
|
@@ -14215,7 +14213,7 @@ const ll = /* @__PURE__ */ Y({
|
|
|
14215
14213
|
]),
|
|
14216
14214
|
Q(yr, null, {
|
|
14217
14215
|
default: v0(() => [
|
|
14218
|
-
e.value ? (N(), O("div",
|
|
14216
|
+
e.value ? (N(), O("div", wl, [
|
|
14219
14217
|
ge(a.$slots, "default", {}, void 0, !0)
|
|
14220
14218
|
])) : Ee("", !0)
|
|
14221
14219
|
]),
|
|
@@ -14223,7 +14221,7 @@ const ll = /* @__PURE__ */ Y({
|
|
|
14223
14221
|
})
|
|
14224
14222
|
]));
|
|
14225
14223
|
}
|
|
14226
|
-
}),
|
|
14224
|
+
}), Sl = /* @__PURE__ */ J(kl, [["__scopeId", "data-v-7f7132bf"]]), Ml = /* @__PURE__ */ X({
|
|
14227
14225
|
__name: "ElmProgress",
|
|
14228
14226
|
props: {
|
|
14229
14227
|
value: {},
|
|
@@ -14234,9 +14232,9 @@ const ll = /* @__PURE__ */ Y({
|
|
|
14234
14232
|
color: {}
|
|
14235
14233
|
},
|
|
14236
14234
|
setup(r) {
|
|
14237
|
-
return (e, t) => (N(), O(
|
|
14238
|
-
t[0] || (t[0] =
|
|
14239
|
-
|
|
14235
|
+
return (e, t) => (N(), O(Pe, null, [
|
|
14236
|
+
t[0] || (t[0] = L("progress", { class: "progress" }, null, -1)),
|
|
14237
|
+
L("div", {
|
|
14240
14238
|
class: "container",
|
|
14241
14239
|
style: K({
|
|
14242
14240
|
"--weight": e.weight,
|
|
@@ -14244,13 +14242,13 @@ const ll = /* @__PURE__ */ Y({
|
|
|
14244
14242
|
"--color": e.color
|
|
14245
14243
|
})
|
|
14246
14244
|
}, [
|
|
14247
|
-
|
|
14245
|
+
L("div", {
|
|
14248
14246
|
class: "value",
|
|
14249
14247
|
style: K({
|
|
14250
14248
|
"--scale-x": `scaleX(${e.value / e.max})`
|
|
14251
14249
|
})
|
|
14252
14250
|
}, null, 4),
|
|
14253
|
-
|
|
14251
|
+
L("div", {
|
|
14254
14252
|
class: "buffer",
|
|
14255
14253
|
style: K({
|
|
14256
14254
|
"--scale-x": `scaleX(${e.buffer != null ? e.buffer / e.max : e.value / e.max})`
|
|
@@ -14259,71 +14257,71 @@ const ll = /* @__PURE__ */ Y({
|
|
|
14259
14257
|
], 4)
|
|
14260
14258
|
], 64));
|
|
14261
14259
|
}
|
|
14262
|
-
}),
|
|
14260
|
+
}), K4 = /* @__PURE__ */ J(Ml, [["__scopeId", "data-v-64a34f58"]]), Al = {
|
|
14263
14261
|
"aria-hidden": "",
|
|
14264
14262
|
class: "rectangle-wave"
|
|
14265
|
-
},
|
|
14263
|
+
}, zl = /* @__PURE__ */ X({
|
|
14266
14264
|
__name: "ElmRectangleWave",
|
|
14267
14265
|
setup(r) {
|
|
14268
|
-
return (e, t) => (N(), O("div",
|
|
14266
|
+
return (e, t) => (N(), O("div", Al));
|
|
14269
14267
|
}
|
|
14270
|
-
}),
|
|
14271
|
-
var
|
|
14272
|
-
function
|
|
14273
|
-
var e =
|
|
14268
|
+
}), Tl = /* @__PURE__ */ J(zl, [["__scopeId", "data-v-2d57ab99"]]);
|
|
14269
|
+
var Cl = typeof global == "object" && global && global.Object === Object && global, El = typeof self == "object" && self && self.Object === Object && self, Bl = Cl || El || Function("return this")(), $0 = Bl.Symbol, Pn = Object.prototype, Dl = Pn.hasOwnProperty, Il = Pn.toString, K0 = $0 ? $0.toStringTag : void 0;
|
|
14270
|
+
function Fl(r) {
|
|
14271
|
+
var e = Dl.call(r, K0), t = r[K0];
|
|
14274
14272
|
try {
|
|
14275
14273
|
r[K0] = void 0;
|
|
14276
14274
|
var a = !0;
|
|
14277
14275
|
} catch {
|
|
14278
14276
|
}
|
|
14279
|
-
var n =
|
|
14277
|
+
var n = Il.call(r);
|
|
14280
14278
|
return a && (e ? r[K0] = t : delete r[K0]), n;
|
|
14281
14279
|
}
|
|
14282
|
-
var
|
|
14283
|
-
function
|
|
14284
|
-
return
|
|
14285
|
-
}
|
|
14286
|
-
var ql = "[object Null]", Rl = "[object Undefined]", Ca = $0 ? $0.toStringTag : void 0;
|
|
14287
|
-
function Ol(r) {
|
|
14288
|
-
return r == null ? r === void 0 ? Rl : ql : Ca && Ca in Object(r) ? Il(r) : Nl(r);
|
|
14280
|
+
var _l = Object.prototype, Nl = _l.toString;
|
|
14281
|
+
function ql(r) {
|
|
14282
|
+
return Nl.call(r);
|
|
14289
14283
|
}
|
|
14284
|
+
var Rl = "[object Null]", Ol = "[object Undefined]", Ca = $0 ? $0.toStringTag : void 0;
|
|
14290
14285
|
function Hl(r) {
|
|
14286
|
+
return r == null ? r === void 0 ? Ol : Rl : Ca && Ca in Object(r) ? Fl(r) : ql(r);
|
|
14287
|
+
}
|
|
14288
|
+
function Ll(r) {
|
|
14291
14289
|
return r != null && typeof r == "object";
|
|
14292
14290
|
}
|
|
14293
|
-
var
|
|
14294
|
-
function
|
|
14295
|
-
return typeof r == "symbol" ||
|
|
14291
|
+
var $l = "[object Symbol]";
|
|
14292
|
+
function Pl(r) {
|
|
14293
|
+
return typeof r == "symbol" || Ll(r) && Hl(r) == $l;
|
|
14296
14294
|
}
|
|
14297
|
-
function
|
|
14295
|
+
function jl(r, e) {
|
|
14298
14296
|
for (var t = -1, a = r == null ? 0 : r.length, n = Array(a); ++t < a; )
|
|
14299
14297
|
n[t] = e(r[t], t, r);
|
|
14300
14298
|
return n;
|
|
14301
14299
|
}
|
|
14302
|
-
var
|
|
14300
|
+
var Gl = Array.isArray, Vl = 1 / 0, Ea = $0 ? $0.prototype : void 0, Ba = Ea ? Ea.toString : void 0;
|
|
14303
14301
|
function jn(r) {
|
|
14304
14302
|
if (typeof r == "string")
|
|
14305
14303
|
return r;
|
|
14306
|
-
if (
|
|
14307
|
-
return
|
|
14308
|
-
if (
|
|
14304
|
+
if (Gl(r))
|
|
14305
|
+
return jl(r, jn) + "";
|
|
14306
|
+
if (Pl(r))
|
|
14309
14307
|
return Ba ? Ba.call(r) : "";
|
|
14310
14308
|
var e = r + "";
|
|
14311
|
-
return e == "0" && 1 / r == -
|
|
14309
|
+
return e == "0" && 1 / r == -Vl ? "-0" : e;
|
|
14312
14310
|
}
|
|
14313
14311
|
function Gn(r) {
|
|
14314
14312
|
return r == null ? "" : jn(r);
|
|
14315
14313
|
}
|
|
14316
|
-
function
|
|
14314
|
+
function Ul(r, e, t, a) {
|
|
14317
14315
|
for (var n = -1, i = r == null ? 0 : r.length; ++n < i; )
|
|
14318
14316
|
t = e(t, r[n], n, r);
|
|
14319
14317
|
return t;
|
|
14320
14318
|
}
|
|
14321
|
-
function
|
|
14319
|
+
function Wl(r) {
|
|
14322
14320
|
return function(e) {
|
|
14323
14321
|
return r == null ? void 0 : r[e];
|
|
14324
14322
|
};
|
|
14325
14323
|
}
|
|
14326
|
-
var
|
|
14324
|
+
var Yl = {
|
|
14327
14325
|
// Latin-1 Supplement block.
|
|
14328
14326
|
À: "A",
|
|
14329
14327
|
Á: "A",
|
|
@@ -14516,44 +14514,44 @@ var Wl = {
|
|
|
14516
14514
|
œ: "oe",
|
|
14517
14515
|
ʼn: "'n",
|
|
14518
14516
|
ſ: "s"
|
|
14519
|
-
},
|
|
14520
|
-
function
|
|
14521
|
-
return r = Gn(r), r && r.replace(
|
|
14517
|
+
}, Xl = Wl(Yl), Zl = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Kl = "\\u0300-\\u036f", Jl = "\\ufe20-\\ufe2f", Ql = "\\u20d0-\\u20ff", eo = Kl + Jl + Ql, to = "[" + eo + "]", ro = RegExp(to, "g");
|
|
14518
|
+
function ao(r) {
|
|
14519
|
+
return r = Gn(r), r && r.replace(Zl, Xl).replace(ro, "");
|
|
14522
14520
|
}
|
|
14523
|
-
var
|
|
14524
|
-
function
|
|
14525
|
-
return r.match(
|
|
14521
|
+
var no = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
14522
|
+
function io(r) {
|
|
14523
|
+
return r.match(no) || [];
|
|
14526
14524
|
}
|
|
14527
|
-
var
|
|
14528
|
-
function
|
|
14529
|
-
return
|
|
14525
|
+
var so = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
14526
|
+
function lo(r) {
|
|
14527
|
+
return so.test(r);
|
|
14530
14528
|
}
|
|
14531
|
-
var Vn = "\\ud800-\\udfff",
|
|
14529
|
+
var Vn = "\\ud800-\\udfff", oo = "\\u0300-\\u036f", uo = "\\ufe20-\\ufe2f", co = "\\u20d0-\\u20ff", ho = oo + uo + co, Un = "\\u2700-\\u27bf", Wn = "a-z\\xdf-\\xf6\\xf8-\\xff", mo = "\\xac\\xb1\\xd7\\xf7", po = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", fo = "\\u2000-\\u206f", vo = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Yn = "A-Z\\xc0-\\xd6\\xd8-\\xde", go = "\\ufe0e\\ufe0f", Xn = mo + po + fo + vo, Zn = "['’]", Da = "[" + Xn + "]", bo = "[" + ho + "]", Kn = "\\d+", yo = "[" + Un + "]", Jn = "[" + Wn + "]", Qn = "[^" + Vn + Xn + Kn + Un + Wn + Yn + "]", xo = "\\ud83c[\\udffb-\\udfff]", wo = "(?:" + bo + "|" + xo + ")", ko = "[^" + Vn + "]", ei = "(?:\\ud83c[\\udde6-\\uddff]){2}", ti = "[\\ud800-\\udbff][\\udc00-\\udfff]", R0 = "[" + Yn + "]", So = "\\u200d", Ia = "(?:" + Jn + "|" + Qn + ")", Mo = "(?:" + R0 + "|" + Qn + ")", Fa = "(?:" + Zn + "(?:d|ll|m|re|s|t|ve))?", _a = "(?:" + Zn + "(?:D|LL|M|RE|S|T|VE))?", ri = wo + "?", ai = "[" + go + "]?", Ao = "(?:" + So + "(?:" + [ko, ei, ti].join("|") + ")" + ai + ri + ")*", zo = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", To = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Co = ai + ri + Ao, Eo = "(?:" + [yo, ei, ti].join("|") + ")" + Co, Bo = RegExp([
|
|
14532
14530
|
R0 + "?" + Jn + "+" + Fa + "(?=" + [Da, R0, "$"].join("|") + ")",
|
|
14533
|
-
|
|
14531
|
+
Mo + "+" + _a + "(?=" + [Da, R0 + Ia, "$"].join("|") + ")",
|
|
14534
14532
|
R0 + "?" + Ia + "+" + Fa,
|
|
14535
14533
|
R0 + "+" + _a,
|
|
14534
|
+
To,
|
|
14536
14535
|
zo,
|
|
14537
|
-
Ao,
|
|
14538
14536
|
Kn,
|
|
14539
|
-
|
|
14537
|
+
Eo
|
|
14540
14538
|
].join("|"), "g");
|
|
14541
|
-
function
|
|
14542
|
-
return r.match(
|
|
14539
|
+
function Do(r) {
|
|
14540
|
+
return r.match(Bo) || [];
|
|
14543
14541
|
}
|
|
14544
|
-
function
|
|
14545
|
-
return r = Gn(r), e = e, e === void 0 ?
|
|
14542
|
+
function Io(r, e, t) {
|
|
14543
|
+
return r = Gn(r), e = e, e === void 0 ? lo(r) ? Do(r) : io(r) : r.match(e) || [];
|
|
14546
14544
|
}
|
|
14547
|
-
var
|
|
14548
|
-
function
|
|
14545
|
+
var Fo = "['’]", _o = RegExp(Fo, "g");
|
|
14546
|
+
function No(r) {
|
|
14549
14547
|
return function(e) {
|
|
14550
|
-
return
|
|
14548
|
+
return Ul(Io(ao(e).replace(_o, "")), r, "");
|
|
14551
14549
|
};
|
|
14552
14550
|
}
|
|
14553
|
-
var W0 =
|
|
14551
|
+
var W0 = No(function(r, e, t) {
|
|
14554
14552
|
return r + (t ? "-" : "") + e.toLowerCase();
|
|
14555
14553
|
});
|
|
14556
|
-
const
|
|
14554
|
+
const qo = ["id"], Ro = /* @__PURE__ */ X({
|
|
14557
14555
|
__name: "ElmHeading1",
|
|
14558
14556
|
props: {
|
|
14559
14557
|
text: {},
|
|
@@ -14568,11 +14566,11 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14568
14566
|
ref_key: "target",
|
|
14569
14567
|
ref: e,
|
|
14570
14568
|
class: "h1",
|
|
14571
|
-
id: a.id ??
|
|
14569
|
+
id: a.id ?? Y(W0)(a.text),
|
|
14572
14570
|
style: K({ "--scale": t.value ? 1 : 0, "--font-size": a.size })
|
|
14573
|
-
}, je(a.text), 13,
|
|
14571
|
+
}, je(a.text), 13, qo));
|
|
14574
14572
|
}
|
|
14575
|
-
}),
|
|
14573
|
+
}), Oo = /* @__PURE__ */ J(Ro, [["__scopeId", "data-v-98d67da2"]]), Ho = ["id"], Lo = /* @__PURE__ */ X({
|
|
14576
14574
|
__name: "ElmHeading2",
|
|
14577
14575
|
props: {
|
|
14578
14576
|
text: {},
|
|
@@ -14587,20 +14585,20 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14587
14585
|
ref_key: "target",
|
|
14588
14586
|
ref: e,
|
|
14589
14587
|
class: "h2",
|
|
14590
|
-
id: a.id ??
|
|
14588
|
+
id: a.id ?? Y(W0)(a.text),
|
|
14591
14589
|
style: K({
|
|
14592
14590
|
"--scale": t.value ? 1 : 0,
|
|
14593
14591
|
"--font-size": a.size
|
|
14594
14592
|
})
|
|
14595
14593
|
}, [
|
|
14596
14594
|
H0(je(a.text), 1),
|
|
14597
|
-
n[0] || (n[0] =
|
|
14595
|
+
n[0] || (n[0] = L("span", {
|
|
14598
14596
|
class: "underline",
|
|
14599
14597
|
"aria-hidden": ""
|
|
14600
14598
|
}, null, -1))
|
|
14601
|
-
], 12,
|
|
14599
|
+
], 12, Ho));
|
|
14602
14600
|
}
|
|
14603
|
-
}),
|
|
14601
|
+
}), $o = /* @__PURE__ */ J(Lo, [["__scopeId", "data-v-20957f29"]]), Po = ["id"], jo = /* @__PURE__ */ X({
|
|
14604
14602
|
__name: "ElmHeading3",
|
|
14605
14603
|
props: {
|
|
14606
14604
|
text: {},
|
|
@@ -14610,11 +14608,11 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14610
14608
|
setup(r) {
|
|
14611
14609
|
return (e, t) => (N(), O("h3", {
|
|
14612
14610
|
class: "h3",
|
|
14613
|
-
id: e.id ??
|
|
14611
|
+
id: e.id ?? Y(W0)(e.text),
|
|
14614
14612
|
style: K({ "--font-size": e.size })
|
|
14615
|
-
}, je(e.text), 13,
|
|
14613
|
+
}, je(e.text), 13, Po));
|
|
14616
14614
|
}
|
|
14617
|
-
}),
|
|
14615
|
+
}), Go = /* @__PURE__ */ J(jo, [["__scopeId", "data-v-e29c9726"]]), Vo = ["id"], Uo = /* @__PURE__ */ X({
|
|
14618
14616
|
__name: "ElmHeading4",
|
|
14619
14617
|
props: {
|
|
14620
14618
|
text: {},
|
|
@@ -14624,11 +14622,11 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14624
14622
|
setup(r) {
|
|
14625
14623
|
return (e, t) => (N(), O("h4", {
|
|
14626
14624
|
class: "h4",
|
|
14627
|
-
id: e.id ??
|
|
14625
|
+
id: e.id ?? Y(W0)(e.text),
|
|
14628
14626
|
style: K({ "--font-size": e.size })
|
|
14629
|
-
}, je(e.text), 13,
|
|
14627
|
+
}, je(e.text), 13, Vo));
|
|
14630
14628
|
}
|
|
14631
|
-
}),
|
|
14629
|
+
}), Wo = /* @__PURE__ */ J(Uo, [["__scopeId", "data-v-6606472d"]]), Yo = ["id"], Xo = /* @__PURE__ */ X({
|
|
14632
14630
|
__name: "ElmHeading5",
|
|
14633
14631
|
props: {
|
|
14634
14632
|
text: {},
|
|
@@ -14638,11 +14636,11 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14638
14636
|
setup(r) {
|
|
14639
14637
|
return (e, t) => (N(), O("h5", {
|
|
14640
14638
|
class: "h5",
|
|
14641
|
-
id: e.id ??
|
|
14639
|
+
id: e.id ?? Y(W0)(e.text),
|
|
14642
14640
|
style: K({ "--font-size": e.size })
|
|
14643
|
-
}, je(e.text), 13,
|
|
14641
|
+
}, je(e.text), 13, Yo));
|
|
14644
14642
|
}
|
|
14645
|
-
}),
|
|
14643
|
+
}), Zo = /* @__PURE__ */ J(Xo, [["__scopeId", "data-v-4298f2dd"]]), Ko = ["id"], Jo = /* @__PURE__ */ X({
|
|
14646
14644
|
__name: "ElmHeading6",
|
|
14647
14645
|
props: {
|
|
14648
14646
|
text: {},
|
|
@@ -14652,11 +14650,11 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14652
14650
|
setup(r) {
|
|
14653
14651
|
return (e, t) => (N(), O("h6", {
|
|
14654
14652
|
class: "h6",
|
|
14655
|
-
id: e.id ??
|
|
14653
|
+
id: e.id ?? Y(W0)(e.text),
|
|
14656
14654
|
style: K({ "--font-size": e.size })
|
|
14657
|
-
}, je(e.text), 13,
|
|
14655
|
+
}, je(e.text), 13, Ko));
|
|
14658
14656
|
}
|
|
14659
|
-
}),
|
|
14657
|
+
}), Qo = /* @__PURE__ */ J(Jo, [["__scopeId", "data-v-a6942042"]]), eu = /* @__PURE__ */ X({
|
|
14660
14658
|
__name: "ElmCubeIcon",
|
|
14661
14659
|
props: {
|
|
14662
14660
|
size: { default: 128 }
|
|
@@ -14677,7 +14675,7 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14677
14675
|
height: `${n.size}px`
|
|
14678
14676
|
})
|
|
14679
14677
|
}, [
|
|
14680
|
-
(N(), O(
|
|
14678
|
+
(N(), O(Pe, null, st(a, (o) => L("div", {
|
|
14681
14679
|
key: o.name,
|
|
14682
14680
|
class: "face",
|
|
14683
14681
|
style: K({
|
|
@@ -14686,7 +14684,7 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14686
14684
|
}, null, 4)), 64))
|
|
14687
14685
|
], 4));
|
|
14688
14686
|
}
|
|
14689
|
-
}),
|
|
14687
|
+
}), J4 = /* @__PURE__ */ J(eu, [["__scopeId", "data-v-6e57ae8c"]]), tu = /* @__PURE__ */ X({
|
|
14690
14688
|
__name: "ElmDotLoadingIcon",
|
|
14691
14689
|
props: {
|
|
14692
14690
|
color: { default: void 0 },
|
|
@@ -14697,53 +14695,70 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14697
14695
|
class: "wrapper",
|
|
14698
14696
|
style: K({ width: e.size, height: e.size })
|
|
14699
14697
|
}, [
|
|
14700
|
-
(N(), O(
|
|
14698
|
+
(N(), O(Pe, null, st(3, (a) => L("div", {
|
|
14701
14699
|
"aria-hidden": "",
|
|
14702
14700
|
key: a,
|
|
14703
14701
|
style: K({ backgroundColor: e.color })
|
|
14704
14702
|
}, null, 4)), 64))
|
|
14705
14703
|
], 4));
|
|
14706
14704
|
}
|
|
14707
|
-
}),
|
|
14705
|
+
}), ru = /* @__PURE__ */ J(tu, [["__scopeId", "data-v-08886e37"]]), Na = "elmethis-theme";
|
|
14706
|
+
function au() {
|
|
14707
|
+
const r = W(!1), e = () => {
|
|
14708
|
+
r.value = !r.value;
|
|
14709
|
+
};
|
|
14710
|
+
return x0(r, () => {
|
|
14711
|
+
if (typeof document < "u") {
|
|
14712
|
+
document.documentElement.setAttribute(
|
|
14713
|
+
"data-theme",
|
|
14714
|
+
r.value ? "dark" : "light"
|
|
14715
|
+
);
|
|
14716
|
+
const t = document.querySelector("body");
|
|
14717
|
+
t != null && (t.style.colorScheme = r.value ? "dark" : "light"), localStorage != null && localStorage.setItem(
|
|
14718
|
+
Na,
|
|
14719
|
+
r.value ? "dark" : "light"
|
|
14720
|
+
);
|
|
14721
|
+
}
|
|
14722
|
+
}), it(() => {
|
|
14723
|
+
if (typeof document < "u") {
|
|
14724
|
+
const t = document.documentElement.getAttribute("data-theme");
|
|
14725
|
+
if (t != null)
|
|
14726
|
+
r.value = t === "dark";
|
|
14727
|
+
else {
|
|
14728
|
+
const a = localStorage.getItem(Na);
|
|
14729
|
+
a != null && (r.value = a === "dark");
|
|
14730
|
+
}
|
|
14731
|
+
}
|
|
14732
|
+
}), { isDarkTheme: r, toggleTheme: e };
|
|
14733
|
+
}
|
|
14734
|
+
const nu = /* @__PURE__ */ X({
|
|
14708
14735
|
__name: "ElmToggleTheme",
|
|
14709
14736
|
props: {
|
|
14710
14737
|
size: { default: "2rem" }
|
|
14711
14738
|
},
|
|
14712
14739
|
setup(r) {
|
|
14713
|
-
const
|
|
14714
|
-
|
|
14715
|
-
};
|
|
14716
|
-
return Oa(() => {
|
|
14717
|
-
typeof document < "u" && document.documentElement.setAttribute(
|
|
14718
|
-
"data-theme",
|
|
14719
|
-
e.value ? "dark" : "light"
|
|
14720
|
-
);
|
|
14721
|
-
}), it(() => {
|
|
14722
|
-
if (typeof document < "u") {
|
|
14723
|
-
const a = document.documentElement.getAttribute("data-theme");
|
|
14724
|
-
e.value = a === "dark";
|
|
14725
|
-
}
|
|
14726
|
-
}), (a, n) => (N(), Re(x0(e.value ? X(Ei) : X(Ii)), {
|
|
14740
|
+
const { isDarkTheme: e, toggleTheme: t } = au();
|
|
14741
|
+
return (a, n) => (N(), Re(w0(Y(e) ? Y(Bi) : Y(Fi)), {
|
|
14727
14742
|
class: "icon",
|
|
14728
14743
|
style: K({ width: a.size, height: a.size }),
|
|
14729
|
-
onClick: t
|
|
14730
|
-
}, null, 8, ["style"]));
|
|
14744
|
+
onClick: Y(t)
|
|
14745
|
+
}, null, 8, ["style", "onClick"]));
|
|
14731
14746
|
}
|
|
14732
|
-
}),
|
|
14747
|
+
}), Q4 = /* @__PURE__ */ J(nu, [["__scopeId", "data-v-5175571e"]]), iu = { class: "code" }, su = /* @__PURE__ */ X({
|
|
14733
14748
|
__name: "ElmInlineCode",
|
|
14734
14749
|
props: {
|
|
14735
14750
|
code: {},
|
|
14736
14751
|
color: {}
|
|
14737
14752
|
},
|
|
14738
14753
|
setup(r) {
|
|
14739
|
-
return (e, t) => (N(), O("code",
|
|
14754
|
+
return (e, t) => (N(), O("code", iu, [
|
|
14740
14755
|
Q(fe, {
|
|
14741
14756
|
text: e.code,
|
|
14742
14757
|
color: e.color
|
|
14743
14758
|
}, null, 8, ["text", "color"])
|
|
14744
14759
|
]));
|
|
14745
14760
|
}
|
|
14746
|
-
}),
|
|
14761
|
+
}), lu = /* @__PURE__ */ J(su, [["__scopeId", "data-v-9be3e2da"]]), ou = ["href", "target"], uu = /* @__PURE__ */ X({
|
|
14747
14762
|
__name: "ElmInlineLink",
|
|
14748
14763
|
props: {
|
|
14749
14764
|
text: {},
|
|
@@ -14767,12 +14782,12 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14767
14782
|
onClick: t
|
|
14768
14783
|
}, [
|
|
14769
14784
|
H0(je(a.text) + " ", 1),
|
|
14770
|
-
(N(), Re(
|
|
14771
|
-
a.iconType != null ? a.iconType === "internal" ?
|
|
14785
|
+
(N(), Re(w0(
|
|
14786
|
+
a.iconType != null ? a.iconType === "internal" ? Y(zt) : Y(Gr) : a.openInNewTab ? Y(Gr) : Y(zt)
|
|
14772
14787
|
), { class: "icon" }))
|
|
14773
|
-
], 12,
|
|
14788
|
+
], 12, ou));
|
|
14774
14789
|
}
|
|
14775
|
-
}), ni = /* @__PURE__ */ J(
|
|
14790
|
+
}), ni = /* @__PURE__ */ J(uu, [["__scopeId", "data-v-aab31085"]]), e2 = /* @__PURE__ */ X({
|
|
14776
14791
|
__name: "ElmInlineRuby",
|
|
14777
14792
|
props: {
|
|
14778
14793
|
text: {},
|
|
@@ -14785,7 +14800,7 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14785
14800
|
text: e.text,
|
|
14786
14801
|
color: e.color
|
|
14787
14802
|
}, null, 8, ["text", "color"]),
|
|
14788
|
-
|
|
14803
|
+
L("rt", null, [
|
|
14789
14804
|
Q(fe, {
|
|
14790
14805
|
text: e.ruby,
|
|
14791
14806
|
color: e.color
|
|
@@ -14793,7 +14808,7 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14793
14808
|
])
|
|
14794
14809
|
]));
|
|
14795
14810
|
}
|
|
14796
|
-
}),
|
|
14811
|
+
}), cu = { class: "file" }, hu = { class: "left-container" }, du = { class: "right-container" }, mu = { style: { opacity: 0.6 } }, pu = /* @__PURE__ */ X({
|
|
14797
14812
|
__name: "ElmFile",
|
|
14798
14813
|
props: {
|
|
14799
14814
|
name: {},
|
|
@@ -14818,21 +14833,21 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14818
14833
|
i && URL.revokeObjectURL(i.href);
|
|
14819
14834
|
}
|
|
14820
14835
|
}
|
|
14821
|
-
return (a, n) => (N(), O("div",
|
|
14822
|
-
|
|
14823
|
-
Q(
|
|
14836
|
+
return (a, n) => (N(), O("div", cu, [
|
|
14837
|
+
L("div", hu, [
|
|
14838
|
+
Q(Y(Ai), { class: "icon" }),
|
|
14824
14839
|
Q(fe, {
|
|
14825
14840
|
text: a.name ?? e(a.src) ?? "unknown file"
|
|
14826
14841
|
}, null, 8, ["text"])
|
|
14827
14842
|
]),
|
|
14828
|
-
|
|
14829
|
-
|
|
14843
|
+
L("div", du, [
|
|
14844
|
+
L("span", mu, [
|
|
14830
14845
|
a.filesize ? (N(), Re(fe, {
|
|
14831
14846
|
key: 0,
|
|
14832
14847
|
text: a.filesize
|
|
14833
14848
|
}, null, 8, ["text"])) : Ee("", !0)
|
|
14834
14849
|
]),
|
|
14835
|
-
Q(
|
|
14850
|
+
Q(Y(gi), {
|
|
14836
14851
|
class: "download-icon",
|
|
14837
14852
|
onClick: n[0] || (n[0] = () => {
|
|
14838
14853
|
t(
|
|
@@ -14844,13 +14859,13 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14844
14859
|
])
|
|
14845
14860
|
]));
|
|
14846
14861
|
}
|
|
14847
|
-
}),
|
|
14862
|
+
}), fu = /* @__PURE__ */ J(pu, [["__scopeId", "data-v-d0acfcd6"]]), vu = {
|
|
14848
14863
|
key: 0,
|
|
14849
14864
|
class: "fallback"
|
|
14850
|
-
},
|
|
14865
|
+
}, gu = ["src", "alt"], bu = {
|
|
14851
14866
|
key: 0,
|
|
14852
14867
|
class: "modal"
|
|
14853
|
-
},
|
|
14868
|
+
}, yu = ["src", "alt"], xu = /* @__PURE__ */ X({
|
|
14854
14869
|
__name: "ElmImage",
|
|
14855
14870
|
props: {
|
|
14856
14871
|
src: {},
|
|
@@ -14859,16 +14874,16 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14859
14874
|
},
|
|
14860
14875
|
setup(r) {
|
|
14861
14876
|
const e = W(!0), t = W(!1);
|
|
14862
|
-
return
|
|
14877
|
+
return Yi("Escape", (a) => {
|
|
14863
14878
|
a.preventDefault(), t.value = !1;
|
|
14864
|
-
}), (a, n) => (N(), O(
|
|
14865
|
-
e.value ? (N(), O("div",
|
|
14866
|
-
Q(
|
|
14867
|
-
|
|
14868
|
-
Q(
|
|
14879
|
+
}), (a, n) => (N(), O(Pe, null, [
|
|
14880
|
+
e.value ? (N(), O("div", vu, [
|
|
14881
|
+
Q(Tl),
|
|
14882
|
+
L("div", null, [
|
|
14883
|
+
Q(ru)
|
|
14869
14884
|
])
|
|
14870
14885
|
])) : Ee("", !0),
|
|
14871
|
-
|
|
14886
|
+
L("img", {
|
|
14872
14887
|
class: "image",
|
|
14873
14888
|
src: a.src,
|
|
14874
14889
|
alt: a.alt,
|
|
@@ -14883,31 +14898,31 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14883
14898
|
"--opacity": e.value ? 0 : 1,
|
|
14884
14899
|
"--cursor": a.enableModal ? "zoom-in" : "inherit"
|
|
14885
14900
|
})
|
|
14886
|
-
}, null, 44,
|
|
14901
|
+
}, null, 44, gu),
|
|
14887
14902
|
Q(yr, null, {
|
|
14888
14903
|
default: v0(() => [
|
|
14889
|
-
t.value ? (N(), O("div",
|
|
14890
|
-
|
|
14904
|
+
t.value ? (N(), O("div", bu, [
|
|
14905
|
+
L("img", {
|
|
14891
14906
|
class: "modal-image",
|
|
14892
14907
|
src: a.src,
|
|
14893
14908
|
alt: a.alt,
|
|
14894
14909
|
onClick: n[2] || (n[2] = () => {
|
|
14895
14910
|
t.value = !1;
|
|
14896
14911
|
})
|
|
14897
|
-
}, null, 8,
|
|
14912
|
+
}, null, 8, yu)
|
|
14898
14913
|
])) : Ee("", !0)
|
|
14899
14914
|
]),
|
|
14900
14915
|
_: 1
|
|
14901
14916
|
})
|
|
14902
14917
|
], 64));
|
|
14903
14918
|
}
|
|
14904
|
-
}), ii = /* @__PURE__ */ J(
|
|
14919
|
+
}), ii = /* @__PURE__ */ J(xu, [["__scopeId", "data-v-4140826a"]]), wu = ["href", "target"], ku = { class: "image" }, Su = { class: "typography" }, Mu = { class: "title" }, Au = {
|
|
14905
14920
|
key: 0,
|
|
14906
14921
|
class: "date"
|
|
14907
|
-
},
|
|
14922
|
+
}, zu = {
|
|
14908
14923
|
key: 1,
|
|
14909
14924
|
class: "link"
|
|
14910
|
-
},
|
|
14925
|
+
}, Tu = /* @__PURE__ */ X({
|
|
14911
14926
|
__name: "ElmBookmark",
|
|
14912
14927
|
props: {
|
|
14913
14928
|
isHorizontal: { type: Boolean, default: !0 },
|
|
@@ -14938,41 +14953,41 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14938
14953
|
}),
|
|
14939
14954
|
onClick: t
|
|
14940
14955
|
}, [
|
|
14941
|
-
|
|
14956
|
+
L("div", ku, [
|
|
14942
14957
|
Q(ii, { src: a.image }, null, 8, ["src"])
|
|
14943
14958
|
]),
|
|
14944
|
-
|
|
14945
|
-
|
|
14959
|
+
L("div", Su, [
|
|
14960
|
+
L("div", Mu, [
|
|
14946
14961
|
Q(fe, {
|
|
14947
14962
|
text: a.title,
|
|
14948
14963
|
bold: ""
|
|
14949
14964
|
}, null, 8, ["text"])
|
|
14950
14965
|
]),
|
|
14951
|
-
|
|
14966
|
+
L("div", null, [
|
|
14952
14967
|
Q(fe, {
|
|
14953
14968
|
text: a.description.length > 200 ? a.description.slice(0, 200) + "..." : a.description,
|
|
14954
14969
|
size: ".8rem",
|
|
14955
14970
|
style: { opacity: 0.6 }
|
|
14956
14971
|
}, null, 8, ["text"])
|
|
14957
14972
|
]),
|
|
14958
|
-
a.createdAt != null || a.updatedAt != null ? (N(), O("div",
|
|
14959
|
-
a.createdAt != null ? (N(), O(
|
|
14960
|
-
Q(
|
|
14973
|
+
a.createdAt != null || a.updatedAt != null ? (N(), O("div", Au, [
|
|
14974
|
+
a.createdAt != null ? (N(), O(Pe, { key: 0 }, [
|
|
14975
|
+
Q(Y(xi), { class: "icon" }),
|
|
14961
14976
|
Q(fe, {
|
|
14962
14977
|
text: `${a.createdAt}`,
|
|
14963
14978
|
size: ".8rem"
|
|
14964
14979
|
}, null, 8, ["text"])
|
|
14965
14980
|
], 64)) : Ee("", !0),
|
|
14966
|
-
a.updatedAt != null ? (N(), O(
|
|
14967
|
-
Q(
|
|
14981
|
+
a.updatedAt != null ? (N(), O(Pe, { key: 1 }, [
|
|
14982
|
+
Q(Y(bi), { class: "icon" }),
|
|
14968
14983
|
Q(fe, {
|
|
14969
14984
|
text: `${a.updatedAt}`,
|
|
14970
14985
|
size: ".8rem"
|
|
14971
14986
|
}, null, 8, ["text"])
|
|
14972
14987
|
], 64)) : Ee("", !0)
|
|
14973
14988
|
])) : Ee("", !0),
|
|
14974
|
-
a.hideUrl ? Ee("", !0) : (N(), O("div",
|
|
14975
|
-
|
|
14989
|
+
a.hideUrl ? Ee("", !0) : (N(), O("div", zu, [
|
|
14990
|
+
L("div", null, [
|
|
14976
14991
|
Q(ni, {
|
|
14977
14992
|
text: a.url,
|
|
14978
14993
|
href: "#",
|
|
@@ -14981,9 +14996,9 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
14981
14996
|
])
|
|
14982
14997
|
]))
|
|
14983
14998
|
])
|
|
14984
|
-
], 12,
|
|
14999
|
+
], 12, wu));
|
|
14985
15000
|
}
|
|
14986
|
-
}),
|
|
15001
|
+
}), Cu = /* @__PURE__ */ J(Tu, [["__scopeId", "data-v-99ee4279"]]), Eu = ["onClick"], Bu = /* @__PURE__ */ X({
|
|
14987
15002
|
__name: "ElmBreadcrumb",
|
|
14988
15003
|
props: {
|
|
14989
15004
|
links: {}
|
|
@@ -15000,30 +15015,30 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
15000
15015
|
"--opacity": t.value ? 1 : 0
|
|
15001
15016
|
})
|
|
15002
15017
|
}, [
|
|
15003
|
-
(N(!0), O(
|
|
15004
|
-
|
|
15018
|
+
(N(!0), O(Pe, null, st(a.links, (i, o) => (N(), O(Pe, null, [
|
|
15019
|
+
L("div", {
|
|
15005
15020
|
class: "link-container",
|
|
15006
15021
|
onClick: i.onClick
|
|
15007
15022
|
}, [
|
|
15008
|
-
(N(), Re(
|
|
15009
|
-
o === 0 ?
|
|
15023
|
+
(N(), Re(w0(
|
|
15024
|
+
o === 0 ? Y(Ci) : o === a.links.length - 1 ? Y(Mi) : Y(Ti)
|
|
15010
15025
|
), {
|
|
15011
|
-
class:
|
|
15026
|
+
class: I0(["icon", "fade"]),
|
|
15012
15027
|
style: K({
|
|
15013
15028
|
"--delay": `${o * 100}ms`
|
|
15014
15029
|
})
|
|
15015
15030
|
}, null, 8, ["style"])),
|
|
15016
15031
|
Q(fe, {
|
|
15017
15032
|
text: i.text,
|
|
15018
|
-
class:
|
|
15033
|
+
class: I0(["link-text", "fade"]),
|
|
15019
15034
|
style: K({
|
|
15020
15035
|
"--delay": `${o * 100 + 50}ms`
|
|
15021
15036
|
})
|
|
15022
15037
|
}, null, 8, ["text", "style"])
|
|
15023
|
-
], 8,
|
|
15024
|
-
a.links.length !== o + 1 ? (N(), Re(
|
|
15038
|
+
], 8, Eu),
|
|
15039
|
+
a.links.length !== o + 1 ? (N(), Re(Y(zt), {
|
|
15025
15040
|
key: 0,
|
|
15026
|
-
class:
|
|
15041
|
+
class: I0(["chevron", "fade"]),
|
|
15027
15042
|
style: K({
|
|
15028
15043
|
"--delay": `${o * 100 + 100}ms`
|
|
15029
15044
|
})
|
|
@@ -15031,14 +15046,14 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
15031
15046
|
], 64))), 256))
|
|
15032
15047
|
], 4));
|
|
15033
15048
|
}
|
|
15034
|
-
}),
|
|
15049
|
+
}), t2 = /* @__PURE__ */ J(Bu, [["__scopeId", "data-v-d40d6e77"]]), Du = /* @__PURE__ */ X({
|
|
15035
15050
|
__name: "ElmPagetop",
|
|
15036
15051
|
props: {
|
|
15037
15052
|
position: { default: "right" }
|
|
15038
15053
|
},
|
|
15039
15054
|
setup(r) {
|
|
15040
15055
|
const e = W(!1), { y: t } = Va();
|
|
15041
|
-
|
|
15056
|
+
x0(
|
|
15042
15057
|
() => t.value,
|
|
15043
15058
|
() => {
|
|
15044
15059
|
e.value = t.value > 100;
|
|
@@ -15048,7 +15063,7 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
15048
15063
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
15049
15064
|
};
|
|
15050
15065
|
return (n, i) => (N(), O("nav", {
|
|
15051
|
-
class:
|
|
15066
|
+
class: I0(["wrapper", { "wrapper--visible": e.value }]),
|
|
15052
15067
|
style: K({
|
|
15053
15068
|
"--size": "64px",
|
|
15054
15069
|
left: n.position === "left" ? "0" : "auto",
|
|
@@ -15056,25 +15071,25 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
15056
15071
|
}),
|
|
15057
15072
|
onClick: a
|
|
15058
15073
|
}, i[0] || (i[0] = [
|
|
15059
|
-
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15074
|
+
L("div", { "aria-hidden": "" }, null, -1),
|
|
15075
|
+
L("div", { "aria-hidden": "" }, null, -1),
|
|
15076
|
+
L("div", { "aria-hidden": "" }, null, -1),
|
|
15077
|
+
L("span", null, "Back to Top", -1)
|
|
15063
15078
|
]), 6));
|
|
15064
15079
|
}
|
|
15065
|
-
}),
|
|
15080
|
+
}), r2 = /* @__PURE__ */ J(Du, [["__scopeId", "data-v-ee7cbc71"]]), Iu = { class: "toc" }, Fu = ["href"], _u = /* @__PURE__ */ X({
|
|
15066
15081
|
__name: "ElmTableOfContents",
|
|
15067
15082
|
props: {
|
|
15068
15083
|
headings: {}
|
|
15069
15084
|
},
|
|
15070
15085
|
setup(r) {
|
|
15071
|
-
return (e, t) => (N(), O("nav",
|
|
15072
|
-
(N(!0), O(
|
|
15086
|
+
return (e, t) => (N(), O("nav", Iu, [
|
|
15087
|
+
(N(!0), O(Pe, null, st(e.headings, (a) => (N(), O("a", {
|
|
15073
15088
|
class: "link",
|
|
15074
15089
|
href: `#${a.id ?? a.text}`,
|
|
15075
15090
|
style: K({ "--padding-left": `${a.level * 0.5}rem` })
|
|
15076
15091
|
}, [
|
|
15077
|
-
|
|
15092
|
+
L("sup", null, [
|
|
15078
15093
|
Q(fe, {
|
|
15079
15094
|
text: `H${a.level}`,
|
|
15080
15095
|
size: "0.6rem",
|
|
@@ -15084,11 +15099,11 @@ const No = ["id"], qo = /* @__PURE__ */ Y({
|
|
|
15084
15099
|
Q(fe, {
|
|
15085
15100
|
text: a.text
|
|
15086
15101
|
}, null, 8, ["text"]),
|
|
15087
|
-
Q(
|
|
15088
|
-
], 12,
|
|
15102
|
+
Q(Y(yi), { class: "icon" })
|
|
15103
|
+
], 12, Fu))), 256))
|
|
15089
15104
|
]));
|
|
15090
15105
|
}
|
|
15091
|
-
}),
|
|
15106
|
+
}), a2 = /* @__PURE__ */ J(_u, [["__scopeId", "data-v-8c4d7f44"]]);
|
|
15092
15107
|
function Me() {
|
|
15093
15108
|
return Me = Object.assign ? Object.assign.bind() : function(r) {
|
|
15094
15109
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -15098,7 +15113,7 @@ function Me() {
|
|
|
15098
15113
|
return r;
|
|
15099
15114
|
}, Me.apply(null, arguments);
|
|
15100
15115
|
}
|
|
15101
|
-
function
|
|
15116
|
+
function Nu(r) {
|
|
15102
15117
|
if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
15103
15118
|
return r;
|
|
15104
15119
|
}
|
|
@@ -15107,7 +15122,7 @@ function at(r, e) {
|
|
|
15107
15122
|
return t.__proto__ = a, t;
|
|
15108
15123
|
}, at(r, e);
|
|
15109
15124
|
}
|
|
15110
|
-
function
|
|
15125
|
+
function qu(r, e) {
|
|
15111
15126
|
r.prototype = Object.create(e.prototype), r.prototype.constructor = r, at(r, e);
|
|
15112
15127
|
}
|
|
15113
15128
|
function pr(r) {
|
|
@@ -15115,7 +15130,7 @@ function pr(r) {
|
|
|
15115
15130
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
15116
15131
|
}, pr(r);
|
|
15117
15132
|
}
|
|
15118
|
-
function
|
|
15133
|
+
function Ru(r) {
|
|
15119
15134
|
try {
|
|
15120
15135
|
return Function.toString.call(r).indexOf("[native code]") !== -1;
|
|
15121
15136
|
} catch {
|
|
@@ -15132,7 +15147,7 @@ function si() {
|
|
|
15132
15147
|
return !!r;
|
|
15133
15148
|
})();
|
|
15134
15149
|
}
|
|
15135
|
-
function
|
|
15150
|
+
function Ou(r, e, t) {
|
|
15136
15151
|
if (si()) return Reflect.construct.apply(null, arguments);
|
|
15137
15152
|
var a = [null];
|
|
15138
15153
|
a.push.apply(a, e);
|
|
@@ -15142,14 +15157,14 @@ function qu(r, e, t) {
|
|
|
15142
15157
|
function fr(r) {
|
|
15143
15158
|
var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
15144
15159
|
return fr = function(a) {
|
|
15145
|
-
if (a === null || !
|
|
15160
|
+
if (a === null || !Ru(a)) return a;
|
|
15146
15161
|
if (typeof a != "function") throw new TypeError("Super expression must either be null or a function");
|
|
15147
15162
|
if (e !== void 0) {
|
|
15148
15163
|
if (e.has(a)) return e.get(a);
|
|
15149
15164
|
e.set(a, n);
|
|
15150
15165
|
}
|
|
15151
15166
|
function n() {
|
|
15152
|
-
return
|
|
15167
|
+
return Ou(a, arguments, pr(this).constructor);
|
|
15153
15168
|
}
|
|
15154
15169
|
return n.prototype = Object.create(a.prototype, {
|
|
15155
15170
|
constructor: {
|
|
@@ -15161,7 +15176,7 @@ function fr(r) {
|
|
|
15161
15176
|
}), at(n, a);
|
|
15162
15177
|
}, fr(r);
|
|
15163
15178
|
}
|
|
15164
|
-
var
|
|
15179
|
+
var Hu = {
|
|
15165
15180
|
1: `Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).
|
|
15166
15181
|
|
|
15167
15182
|
`,
|
|
@@ -15389,7 +15404,7 @@ To pass a single animation please supply them in simple values, e.g. animation('
|
|
|
15389
15404
|
78: `base must be set in "px" or "%" but you set it in "%s".
|
|
15390
15405
|
`
|
|
15391
15406
|
};
|
|
15392
|
-
function
|
|
15407
|
+
function Lu() {
|
|
15393
15408
|
for (var r = arguments.length, e = new Array(r), t = 0; t < r; t++)
|
|
15394
15409
|
e[t] = arguments[t];
|
|
15395
15410
|
var a = e[0], n = [], i;
|
|
@@ -15400,7 +15415,7 @@ function Ou() {
|
|
|
15400
15415
|
}), a;
|
|
15401
15416
|
}
|
|
15402
15417
|
var Xe = /* @__PURE__ */ function(r) {
|
|
15403
|
-
|
|
15418
|
+
qu(e, r);
|
|
15404
15419
|
function e(t) {
|
|
15405
15420
|
var a;
|
|
15406
15421
|
if (process.env.NODE_ENV === "production")
|
|
@@ -15408,27 +15423,27 @@ var Xe = /* @__PURE__ */ function(r) {
|
|
|
15408
15423
|
else {
|
|
15409
15424
|
for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
15410
15425
|
i[o - 1] = arguments[o];
|
|
15411
|
-
a = r.call(this,
|
|
15426
|
+
a = r.call(this, Lu.apply(void 0, [Hu[t]].concat(i))) || this;
|
|
15412
15427
|
}
|
|
15413
|
-
return
|
|
15428
|
+
return Nu(a);
|
|
15414
15429
|
}
|
|
15415
15430
|
return e;
|
|
15416
15431
|
}(/* @__PURE__ */ fr(Error));
|
|
15417
15432
|
function rr(r) {
|
|
15418
15433
|
return Math.round(r * 255);
|
|
15419
15434
|
}
|
|
15420
|
-
function
|
|
15435
|
+
function $u(r, e, t) {
|
|
15421
15436
|
return rr(r) + "," + rr(e) + "," + rr(t);
|
|
15422
15437
|
}
|
|
15423
15438
|
function nt(r, e, t, a) {
|
|
15424
|
-
if (a === void 0 && (a =
|
|
15439
|
+
if (a === void 0 && (a = $u), e === 0)
|
|
15425
15440
|
return a(t, t, t);
|
|
15426
15441
|
var n = (r % 360 + 360) % 360 / 60, i = (1 - Math.abs(2 * t - 1)) * e, o = i * (1 - Math.abs(n % 2 - 1)), u = 0, h = 0, m = 0;
|
|
15427
15442
|
n >= 0 && n < 1 ? (u = i, h = o) : n >= 1 && n < 2 ? (u = o, h = i) : n >= 2 && n < 3 ? (h = i, m = o) : n >= 3 && n < 4 ? (h = o, m = i) : n >= 4 && n < 5 ? (u = o, m = i) : n >= 5 && n < 6 && (u = i, m = o);
|
|
15428
15443
|
var v = t - i / 2, b = u + v, w = h + v, S = m + v;
|
|
15429
15444
|
return a(b, w, S);
|
|
15430
15445
|
}
|
|
15431
|
-
var
|
|
15446
|
+
var qa = {
|
|
15432
15447
|
aliceblue: "f0f8ff",
|
|
15433
15448
|
antiquewhite: "faebd7",
|
|
15434
15449
|
aqua: "00ffff",
|
|
@@ -15578,23 +15593,23 @@ var Na = {
|
|
|
15578
15593
|
yellow: "ff0",
|
|
15579
15594
|
yellowgreen: "9acd32"
|
|
15580
15595
|
};
|
|
15581
|
-
function
|
|
15596
|
+
function Pu(r) {
|
|
15582
15597
|
if (typeof r != "string") return r;
|
|
15583
15598
|
var e = r.toLowerCase();
|
|
15584
|
-
return
|
|
15599
|
+
return qa[e] ? "#" + qa[e] : r;
|
|
15585
15600
|
}
|
|
15586
|
-
var
|
|
15601
|
+
var ju = /^#[a-fA-F0-9]{6}$/, Gu = /^#[a-fA-F0-9]{8}$/, Vu = /^#[a-fA-F0-9]{3}$/, Uu = /^#[a-fA-F0-9]{4}$/, ar = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, Wu = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, Yu = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, Xu = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
15587
15602
|
function P0(r) {
|
|
15588
15603
|
if (typeof r != "string")
|
|
15589
15604
|
throw new Xe(3);
|
|
15590
|
-
var e =
|
|
15591
|
-
if (e.match(
|
|
15605
|
+
var e = Pu(r);
|
|
15606
|
+
if (e.match(ju))
|
|
15592
15607
|
return {
|
|
15593
15608
|
red: parseInt("" + e[1] + e[2], 16),
|
|
15594
15609
|
green: parseInt("" + e[3] + e[4], 16),
|
|
15595
15610
|
blue: parseInt("" + e[5] + e[6], 16)
|
|
15596
15611
|
};
|
|
15597
|
-
if (e.match(
|
|
15612
|
+
if (e.match(Gu)) {
|
|
15598
15613
|
var t = parseFloat((parseInt("" + e[7] + e[8], 16) / 255).toFixed(2));
|
|
15599
15614
|
return {
|
|
15600
15615
|
red: parseInt("" + e[1] + e[2], 16),
|
|
@@ -15603,13 +15618,13 @@ function P0(r) {
|
|
|
15603
15618
|
alpha: t
|
|
15604
15619
|
};
|
|
15605
15620
|
}
|
|
15606
|
-
if (e.match(
|
|
15621
|
+
if (e.match(Vu))
|
|
15607
15622
|
return {
|
|
15608
15623
|
red: parseInt("" + e[1] + e[1], 16),
|
|
15609
15624
|
green: parseInt("" + e[2] + e[2], 16),
|
|
15610
15625
|
blue: parseInt("" + e[3] + e[3], 16)
|
|
15611
15626
|
};
|
|
15612
|
-
if (e.match(
|
|
15627
|
+
if (e.match(Uu)) {
|
|
15613
15628
|
var a = parseFloat((parseInt("" + e[4] + e[4], 16) / 255).toFixed(2));
|
|
15614
15629
|
return {
|
|
15615
15630
|
red: parseInt("" + e[1] + e[1], 16),
|
|
@@ -15625,7 +15640,7 @@ function P0(r) {
|
|
|
15625
15640
|
green: parseInt("" + n[2], 10),
|
|
15626
15641
|
blue: parseInt("" + n[3], 10)
|
|
15627
15642
|
};
|
|
15628
|
-
var i =
|
|
15643
|
+
var i = Wu.exec(e.substring(0, 50));
|
|
15629
15644
|
if (i)
|
|
15630
15645
|
return {
|
|
15631
15646
|
red: parseInt("" + i[1], 10),
|
|
@@ -15633,7 +15648,7 @@ function P0(r) {
|
|
|
15633
15648
|
blue: parseInt("" + i[3], 10),
|
|
15634
15649
|
alpha: parseFloat("" + i[4]) > 1 ? parseFloat("" + i[4]) / 100 : parseFloat("" + i[4])
|
|
15635
15650
|
};
|
|
15636
|
-
var o =
|
|
15651
|
+
var o = Yu.exec(e);
|
|
15637
15652
|
if (o) {
|
|
15638
15653
|
var u = parseInt("" + o[1], 10), h = parseInt("" + o[2], 10) / 100, m = parseInt("" + o[3], 10) / 100, v = "rgb(" + nt(u, h, m) + ")", b = ar.exec(v);
|
|
15639
15654
|
if (!b)
|
|
@@ -15644,7 +15659,7 @@ function P0(r) {
|
|
|
15644
15659
|
blue: parseInt("" + b[3], 10)
|
|
15645
15660
|
};
|
|
15646
15661
|
}
|
|
15647
|
-
var w =
|
|
15662
|
+
var w = Xu.exec(e.substring(0, 50));
|
|
15648
15663
|
if (w) {
|
|
15649
15664
|
var S = parseInt("" + w[1], 10), E = parseInt("" + w[2], 10) / 100, T = parseInt("" + w[3], 10) / 100, C = "rgb(" + nt(S, E, T) + ")", B = ar.exec(C);
|
|
15650
15665
|
if (!B)
|
|
@@ -15658,7 +15673,7 @@ function P0(r) {
|
|
|
15658
15673
|
}
|
|
15659
15674
|
throw new Xe(5);
|
|
15660
15675
|
}
|
|
15661
|
-
function
|
|
15676
|
+
function Zu(r) {
|
|
15662
15677
|
var e = r.red / 255, t = r.green / 255, a = r.blue / 255, n = Math.max(e, t, a), i = Math.min(e, t, a), o = (n + i) / 2;
|
|
15663
15678
|
if (n === i)
|
|
15664
15679
|
return r.alpha !== void 0 ? {
|
|
@@ -15694,33 +15709,33 @@ function Yu(r) {
|
|
|
15694
15709
|
lightness: o
|
|
15695
15710
|
};
|
|
15696
15711
|
}
|
|
15697
|
-
function
|
|
15698
|
-
return
|
|
15712
|
+
function M0(r) {
|
|
15713
|
+
return Zu(P0(r));
|
|
15699
15714
|
}
|
|
15700
|
-
var
|
|
15715
|
+
var Ku = function(e) {
|
|
15701
15716
|
return e.length === 7 && e[1] === e[2] && e[3] === e[4] && e[5] === e[6] ? "#" + e[1] + e[3] + e[5] : e;
|
|
15702
|
-
}, vr =
|
|
15703
|
-
function
|
|
15717
|
+
}, vr = Ku;
|
|
15718
|
+
function D0(r) {
|
|
15704
15719
|
var e = r.toString(16);
|
|
15705
15720
|
return e.length === 1 ? "0" + e : e;
|
|
15706
15721
|
}
|
|
15707
15722
|
function nr(r) {
|
|
15708
|
-
return
|
|
15723
|
+
return D0(Math.round(r * 255));
|
|
15709
15724
|
}
|
|
15710
|
-
function
|
|
15725
|
+
function Ju(r, e, t) {
|
|
15711
15726
|
return vr("#" + nr(r) + nr(e) + nr(t));
|
|
15712
15727
|
}
|
|
15713
15728
|
function gr(r, e, t) {
|
|
15714
|
-
return nt(r, e, t,
|
|
15729
|
+
return nt(r, e, t, Ju);
|
|
15715
15730
|
}
|
|
15716
|
-
function
|
|
15731
|
+
function Qu(r, e, t) {
|
|
15717
15732
|
if (typeof r == "number" && typeof e == "number" && typeof t == "number")
|
|
15718
15733
|
return gr(r, e, t);
|
|
15719
15734
|
if (typeof r == "object" && e === void 0 && t === void 0)
|
|
15720
15735
|
return gr(r.hue, r.saturation, r.lightness);
|
|
15721
15736
|
throw new Xe(1);
|
|
15722
15737
|
}
|
|
15723
|
-
function
|
|
15738
|
+
function e4(r, e, t, a) {
|
|
15724
15739
|
if (typeof r == "number" && typeof e == "number" && typeof t == "number" && typeof a == "number")
|
|
15725
15740
|
return "rgba(" + nt(r, e, t) + "," + a + ")";
|
|
15726
15741
|
if (typeof r == "object" && e === void 0 && t === void 0 && a === void 0)
|
|
@@ -15729,9 +15744,9 @@ function Ju(r, e, t, a) {
|
|
|
15729
15744
|
}
|
|
15730
15745
|
function br(r, e, t) {
|
|
15731
15746
|
if (typeof r == "number" && typeof e == "number" && typeof t == "number")
|
|
15732
|
-
return vr("#" +
|
|
15747
|
+
return vr("#" + D0(r) + D0(e) + D0(t));
|
|
15733
15748
|
if (typeof r == "object" && e === void 0 && t === void 0)
|
|
15734
|
-
return vr("#" +
|
|
15749
|
+
return vr("#" + D0(r.red) + D0(r.green) + D0(r.blue));
|
|
15735
15750
|
throw new Xe(6);
|
|
15736
15751
|
}
|
|
15737
15752
|
function ct(r, e, t, a) {
|
|
@@ -15746,21 +15761,21 @@ function ct(r, e, t, a) {
|
|
|
15746
15761
|
}
|
|
15747
15762
|
throw new Xe(7);
|
|
15748
15763
|
}
|
|
15749
|
-
var
|
|
15764
|
+
var t4 = function(e) {
|
|
15750
15765
|
return typeof e.red == "number" && typeof e.green == "number" && typeof e.blue == "number" && (typeof e.alpha != "number" || typeof e.alpha > "u");
|
|
15751
|
-
},
|
|
15766
|
+
}, r4 = function(e) {
|
|
15752
15767
|
return typeof e.red == "number" && typeof e.green == "number" && typeof e.blue == "number" && typeof e.alpha == "number";
|
|
15753
|
-
},
|
|
15768
|
+
}, a4 = function(e) {
|
|
15754
15769
|
return typeof e.hue == "number" && typeof e.saturation == "number" && typeof e.lightness == "number" && (typeof e.alpha != "number" || typeof e.alpha > "u");
|
|
15755
|
-
},
|
|
15770
|
+
}, n4 = function(e) {
|
|
15756
15771
|
return typeof e.hue == "number" && typeof e.saturation == "number" && typeof e.lightness == "number" && typeof e.alpha == "number";
|
|
15757
15772
|
};
|
|
15758
|
-
function
|
|
15773
|
+
function A0(r) {
|
|
15759
15774
|
if (typeof r != "object") throw new Xe(8);
|
|
15760
|
-
if (
|
|
15761
|
-
if (
|
|
15762
|
-
if (
|
|
15763
|
-
if (
|
|
15775
|
+
if (r4(r)) return ct(r);
|
|
15776
|
+
if (t4(r)) return br(r);
|
|
15777
|
+
if (n4(r)) return e4(r);
|
|
15778
|
+
if (a4(r)) return Qu(r);
|
|
15764
15779
|
throw new Xe(8);
|
|
15765
15780
|
}
|
|
15766
15781
|
function li(r, e, t) {
|
|
@@ -15772,42 +15787,42 @@ function li(r, e, t) {
|
|
|
15772
15787
|
function De(r) {
|
|
15773
15788
|
return li(r, r.length, []);
|
|
15774
15789
|
}
|
|
15775
|
-
function
|
|
15790
|
+
function i4(r, e) {
|
|
15776
15791
|
if (e === "transparent") return e;
|
|
15777
|
-
var t =
|
|
15778
|
-
return
|
|
15792
|
+
var t = M0(e);
|
|
15793
|
+
return A0(Me({}, t, {
|
|
15779
15794
|
hue: t.hue + parseFloat(r)
|
|
15780
15795
|
}));
|
|
15781
15796
|
}
|
|
15782
|
-
De(
|
|
15797
|
+
De(i4);
|
|
15783
15798
|
function Y0(r, e, t) {
|
|
15784
15799
|
return Math.max(r, Math.min(e, t));
|
|
15785
15800
|
}
|
|
15786
|
-
function
|
|
15801
|
+
function s4(r, e) {
|
|
15787
15802
|
if (e === "transparent") return e;
|
|
15788
|
-
var t =
|
|
15789
|
-
return
|
|
15803
|
+
var t = M0(e);
|
|
15804
|
+
return A0(Me({}, t, {
|
|
15790
15805
|
lightness: Y0(0, 1, t.lightness - parseFloat(r))
|
|
15791
15806
|
}));
|
|
15792
15807
|
}
|
|
15793
|
-
De(
|
|
15794
|
-
function
|
|
15808
|
+
De(s4);
|
|
15809
|
+
function l4(r, e) {
|
|
15795
15810
|
if (e === "transparent") return e;
|
|
15796
|
-
var t =
|
|
15797
|
-
return
|
|
15811
|
+
var t = M0(e);
|
|
15812
|
+
return A0(Me({}, t, {
|
|
15798
15813
|
saturation: Y0(0, 1, t.saturation - parseFloat(r))
|
|
15799
15814
|
}));
|
|
15800
15815
|
}
|
|
15801
|
-
De(
|
|
15802
|
-
function
|
|
15816
|
+
De(l4);
|
|
15817
|
+
function o4(r, e) {
|
|
15803
15818
|
if (e === "transparent") return e;
|
|
15804
|
-
var t =
|
|
15805
|
-
return
|
|
15819
|
+
var t = M0(e);
|
|
15820
|
+
return A0(Me({}, t, {
|
|
15806
15821
|
lightness: Y0(0, 1, t.lightness + parseFloat(r))
|
|
15807
15822
|
}));
|
|
15808
15823
|
}
|
|
15809
|
-
De(
|
|
15810
|
-
function
|
|
15824
|
+
De(o4);
|
|
15825
|
+
function u4(r, e, t) {
|
|
15811
15826
|
if (e === "transparent") return t;
|
|
15812
15827
|
if (t === "transparent") return e;
|
|
15813
15828
|
if (r === 0) return t;
|
|
@@ -15823,69 +15838,69 @@ function l4(r, e, t) {
|
|
|
15823
15838
|
};
|
|
15824
15839
|
return ct(S);
|
|
15825
15840
|
}
|
|
15826
|
-
var
|
|
15827
|
-
function
|
|
15841
|
+
var c4 = De(u4), oi = c4;
|
|
15842
|
+
function h4(r, e) {
|
|
15828
15843
|
if (e === "transparent") return e;
|
|
15829
15844
|
var t = P0(e), a = typeof t.alpha == "number" ? t.alpha : 1, n = Me({}, t, {
|
|
15830
15845
|
alpha: Y0(0, 1, (a * 100 + parseFloat(r) * 100) / 100)
|
|
15831
15846
|
});
|
|
15832
15847
|
return ct(n);
|
|
15833
15848
|
}
|
|
15834
|
-
De(
|
|
15835
|
-
function
|
|
15849
|
+
De(h4);
|
|
15850
|
+
function d4(r, e) {
|
|
15836
15851
|
if (e === "transparent") return e;
|
|
15837
|
-
var t =
|
|
15838
|
-
return
|
|
15852
|
+
var t = M0(e);
|
|
15853
|
+
return A0(Me({}, t, {
|
|
15839
15854
|
saturation: Y0(0, 1, t.saturation + parseFloat(r))
|
|
15840
15855
|
}));
|
|
15841
15856
|
}
|
|
15842
|
-
De(
|
|
15843
|
-
function
|
|
15844
|
-
return e === "transparent" ? e :
|
|
15857
|
+
De(d4);
|
|
15858
|
+
function m4(r, e) {
|
|
15859
|
+
return e === "transparent" ? e : A0(Me({}, M0(e), {
|
|
15845
15860
|
hue: parseFloat(r)
|
|
15846
15861
|
}));
|
|
15847
15862
|
}
|
|
15848
|
-
De(
|
|
15849
|
-
function
|
|
15850
|
-
return e === "transparent" ? e :
|
|
15863
|
+
De(m4);
|
|
15864
|
+
function p4(r, e) {
|
|
15865
|
+
return e === "transparent" ? e : A0(Me({}, M0(e), {
|
|
15851
15866
|
lightness: parseFloat(r)
|
|
15852
15867
|
}));
|
|
15853
15868
|
}
|
|
15854
|
-
De(
|
|
15855
|
-
function
|
|
15856
|
-
return e === "transparent" ? e :
|
|
15869
|
+
De(p4);
|
|
15870
|
+
function f4(r, e) {
|
|
15871
|
+
return e === "transparent" ? e : A0(Me({}, M0(e), {
|
|
15857
15872
|
saturation: parseFloat(r)
|
|
15858
15873
|
}));
|
|
15859
15874
|
}
|
|
15860
|
-
De(
|
|
15861
|
-
function
|
|
15875
|
+
De(f4);
|
|
15876
|
+
function v4(r, e) {
|
|
15862
15877
|
return e === "transparent" ? e : oi(parseFloat(r), "rgb(0, 0, 0)", e);
|
|
15863
15878
|
}
|
|
15864
|
-
De(
|
|
15865
|
-
function
|
|
15879
|
+
De(v4);
|
|
15880
|
+
function g4(r, e) {
|
|
15866
15881
|
return e === "transparent" ? e : oi(parseFloat(r), "rgb(255, 255, 255)", e);
|
|
15867
15882
|
}
|
|
15868
|
-
De(
|
|
15869
|
-
function
|
|
15883
|
+
De(g4);
|
|
15884
|
+
function b4(r, e) {
|
|
15870
15885
|
if (e === "transparent") return e;
|
|
15871
15886
|
var t = P0(e), a = typeof t.alpha == "number" ? t.alpha : 1, n = Me({}, t, {
|
|
15872
15887
|
alpha: Y0(0, 1, +(a * 100 - parseFloat(r) * 100).toFixed(2) / 100)
|
|
15873
15888
|
});
|
|
15874
15889
|
return ct(n);
|
|
15875
15890
|
}
|
|
15876
|
-
De(
|
|
15877
|
-
const
|
|
15891
|
+
De(b4);
|
|
15892
|
+
const y4 = { class: "header" }, x4 = /* @__PURE__ */ X({
|
|
15878
15893
|
__name: "ElmCallout",
|
|
15879
15894
|
props: {
|
|
15880
15895
|
type: { default: "note" }
|
|
15881
15896
|
},
|
|
15882
15897
|
setup(r) {
|
|
15883
15898
|
const e = {
|
|
15884
|
-
note: { code: "#6987b8", icon:
|
|
15885
|
-
tip: { code: "#59b57c", icon:
|
|
15886
|
-
important: { code: "#9771bd", icon:
|
|
15887
|
-
warning: { code: "#b8a36e", icon:
|
|
15888
|
-
caution: { code: "#b36472", icon:
|
|
15899
|
+
note: { code: "#6987b8", icon: wi },
|
|
15900
|
+
tip: { code: "#59b57c", icon: Ei },
|
|
15901
|
+
important: { code: "#9771bd", icon: Ii },
|
|
15902
|
+
warning: { code: "#b8a36e", icon: zi },
|
|
15903
|
+
caution: { code: "#b36472", icon: _i }
|
|
15889
15904
|
}, t = W(null), a = W(!1);
|
|
15890
15905
|
return u0(t, ([{ isIntersecting: n }], i) => {
|
|
15891
15906
|
a.value = n;
|
|
@@ -15895,12 +15910,12 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
15895
15910
|
class: "callout",
|
|
15896
15911
|
style: K({
|
|
15897
15912
|
"--border-color": e[n.type].code,
|
|
15898
|
-
"--bg-color":
|
|
15913
|
+
"--bg-color": Y(ct)(e[n.type].code, 0.1),
|
|
15899
15914
|
"--scale": a.value ? 1 : 0
|
|
15900
15915
|
})
|
|
15901
15916
|
}, [
|
|
15902
|
-
|
|
15903
|
-
(N(), Re(
|
|
15917
|
+
L("div", y4, [
|
|
15918
|
+
(N(), Re(w0(e[n.type].icon), {
|
|
15904
15919
|
class: "icon",
|
|
15905
15920
|
style: K({ "--icon-color": e[n.type].code })
|
|
15906
15921
|
}, null, 8, ["style"])),
|
|
@@ -15909,12 +15924,12 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
15909
15924
|
color: e[n.type].code
|
|
15910
15925
|
}, null, 8, ["text", "color"])
|
|
15911
15926
|
]),
|
|
15912
|
-
|
|
15927
|
+
L("div", null, [
|
|
15913
15928
|
ge(n.$slots, "default", {}, void 0, !0)
|
|
15914
15929
|
])
|
|
15915
15930
|
], 4));
|
|
15916
15931
|
}
|
|
15917
|
-
}),
|
|
15932
|
+
}), w4 = /* @__PURE__ */ J(x4, [["__scopeId", "data-v-3365c20d"]]), k4 = /* @__PURE__ */ X({
|
|
15918
15933
|
__name: "ElmBulletedList",
|
|
15919
15934
|
setup(r) {
|
|
15920
15935
|
const e = W(null), t = W(!1);
|
|
@@ -15931,7 +15946,7 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
15931
15946
|
ge(a.$slots, "default")
|
|
15932
15947
|
], 4));
|
|
15933
15948
|
}
|
|
15934
|
-
}),
|
|
15949
|
+
}), S4 = /* @__PURE__ */ X({
|
|
15935
15950
|
__name: "ElmNumberedList",
|
|
15936
15951
|
setup(r) {
|
|
15937
15952
|
const e = W(null), t = W(!1);
|
|
@@ -15948,14 +15963,14 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
15948
15963
|
ge(a.$slots, "default")
|
|
15949
15964
|
], 4));
|
|
15950
15965
|
}
|
|
15951
|
-
}),
|
|
15966
|
+
}), M4 = { class: "li" }, A4 = /* @__PURE__ */ X({
|
|
15952
15967
|
__name: "ElmListItem",
|
|
15953
15968
|
setup(r) {
|
|
15954
|
-
return (e, t) => (N(), O("li",
|
|
15969
|
+
return (e, t) => (N(), O("li", M4, [
|
|
15955
15970
|
ge(e.$slots, "default", {}, void 0, !0)
|
|
15956
15971
|
]));
|
|
15957
15972
|
}
|
|
15958
|
-
}),
|
|
15973
|
+
}), z4 = /* @__PURE__ */ J(A4, [["__scopeId", "data-v-cd239c6a"]]), T4 = /* @__PURE__ */ X({
|
|
15959
15974
|
__name: "ElmBlockQuote",
|
|
15960
15975
|
setup(r) {
|
|
15961
15976
|
const e = W(null), t = W(!1);
|
|
@@ -15972,7 +15987,7 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
15972
15987
|
ge(a.$slots, "default", {}, void 0, !0)
|
|
15973
15988
|
], 4));
|
|
15974
15989
|
}
|
|
15975
|
-
}),
|
|
15990
|
+
}), C4 = /* @__PURE__ */ J(T4, [["__scopeId", "data-v-14d30377"]]), E4 = /* @__PURE__ */ X({
|
|
15976
15991
|
__name: "ElmDivider",
|
|
15977
15992
|
setup(r) {
|
|
15978
15993
|
const e = W(null), t = W(!1);
|
|
@@ -15987,7 +16002,7 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
15987
16002
|
})
|
|
15988
16003
|
}, null, 4));
|
|
15989
16004
|
}
|
|
15990
|
-
}),
|
|
16005
|
+
}), B4 = /* @__PURE__ */ J(E4, [["__scopeId", "data-v-a3be6079"]]), D4 = /* @__PURE__ */ X({
|
|
15991
16006
|
__name: "ElmParagraph",
|
|
15992
16007
|
setup(r) {
|
|
15993
16008
|
const e = W(null), t = W(!1);
|
|
@@ -16004,42 +16019,42 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16004
16019
|
ge(a.$slots, "default", {}, void 0, !0)
|
|
16005
16020
|
], 4));
|
|
16006
16021
|
}
|
|
16007
|
-
}),
|
|
16022
|
+
}), I4 = /* @__PURE__ */ J(D4, [["__scopeId", "data-v-8d3f05c4"]]), F4 = { class: "table" }, _4 = /* @__PURE__ */ X({
|
|
16008
16023
|
__name: "ElmTable",
|
|
16009
16024
|
setup(r) {
|
|
16010
|
-
return (e, t) => (N(), O("table",
|
|
16025
|
+
return (e, t) => (N(), O("table", F4, [
|
|
16011
16026
|
ge(e.$slots, "default", {}, void 0, !0)
|
|
16012
16027
|
]));
|
|
16013
16028
|
}
|
|
16014
|
-
}),
|
|
16029
|
+
}), N4 = /* @__PURE__ */ J(_4, [["__scopeId", "data-v-18bd5166"]]), q4 = { class: "elmethis-table-header-thead" }, R4 = /* @__PURE__ */ X({
|
|
16015
16030
|
__name: "ElmTableHeader",
|
|
16016
16031
|
setup(r) {
|
|
16017
|
-
return (e, t) => (N(), O("thead",
|
|
16032
|
+
return (e, t) => (N(), O("thead", q4, [
|
|
16018
16033
|
ge(e.$slots, "default")
|
|
16019
16034
|
]));
|
|
16020
16035
|
}
|
|
16021
|
-
}),
|
|
16036
|
+
}), O4 = { class: "elmethis-table-header-body" }, H4 = /* @__PURE__ */ X({
|
|
16022
16037
|
__name: "ElmTableBody",
|
|
16023
16038
|
setup(r) {
|
|
16024
|
-
return (e, t) => (N(), O("tbody",
|
|
16039
|
+
return (e, t) => (N(), O("tbody", O4, [
|
|
16025
16040
|
ge(e.$slots, "default")
|
|
16026
16041
|
]));
|
|
16027
16042
|
}
|
|
16028
|
-
}),
|
|
16043
|
+
}), L4 = /* @__PURE__ */ X({
|
|
16029
16044
|
__name: "ElmTableRow",
|
|
16030
16045
|
setup(r) {
|
|
16031
16046
|
return (e, t) => (N(), O("tr", null, [
|
|
16032
16047
|
ge(e.$slots, "default")
|
|
16033
16048
|
]));
|
|
16034
16049
|
}
|
|
16035
|
-
}),
|
|
16050
|
+
}), $4 = /* @__PURE__ */ X({
|
|
16036
16051
|
__name: "ElmTableCell",
|
|
16037
16052
|
props: {
|
|
16038
16053
|
hasHeader: { type: Boolean, default: !1 },
|
|
16039
16054
|
text: {}
|
|
16040
16055
|
},
|
|
16041
16056
|
setup(r) {
|
|
16042
|
-
return (e, t) => (N(), Re(
|
|
16057
|
+
return (e, t) => (N(), Re(w0(e.hasHeader ? "th" : "td"), { class: "cell" }, {
|
|
16043
16058
|
default: v0(() => [
|
|
16044
16059
|
e.text == null ? ge(e.$slots, "default", { key: 0 }, void 0, !0) : Ee("", !0),
|
|
16045
16060
|
H0(" " + je(e.text), 1)
|
|
@@ -16047,22 +16062,22 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16047
16062
|
_: 3
|
|
16048
16063
|
}));
|
|
16049
16064
|
}
|
|
16050
|
-
}),
|
|
16065
|
+
}), P4 = /* @__PURE__ */ J($4, [["__scopeId", "data-v-7bedd3ac"]]), j4 = { style: {
|
|
16051
16066
|
cursor: "pointer",
|
|
16052
16067
|
display: "flex",
|
|
16053
16068
|
alignItems: "center",
|
|
16054
16069
|
gap: "0.5rem"
|
|
16055
|
-
} },
|
|
16070
|
+
} }, G4 = {
|
|
16056
16071
|
width: "24",
|
|
16057
16072
|
height: "24",
|
|
16058
|
-
class: /* @__PURE__ */
|
|
16059
|
-
},
|
|
16073
|
+
class: /* @__PURE__ */ I0(["checkbox"])
|
|
16074
|
+
}, V4 = {
|
|
16060
16075
|
key: 0,
|
|
16061
16076
|
class: "check-line",
|
|
16062
16077
|
points: "5,12 10,17 19,8",
|
|
16063
16078
|
strokeWidth: "1.5",
|
|
16064
16079
|
fill: "transparent"
|
|
16065
|
-
},
|
|
16080
|
+
}, U4 = /* @__PURE__ */ X({
|
|
16066
16081
|
__name: "ElmCheckbox",
|
|
16067
16082
|
props: /* @__PURE__ */ Ha({
|
|
16068
16083
|
label: {}
|
|
@@ -16080,18 +16095,18 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16080
16095
|
class: "container",
|
|
16081
16096
|
onClick: t
|
|
16082
16097
|
}, [
|
|
16083
|
-
|
|
16084
|
-
(N(), O("svg",
|
|
16085
|
-
|
|
16098
|
+
L("div", j4, [
|
|
16099
|
+
(N(), O("svg", G4, [
|
|
16100
|
+
L("rect", {
|
|
16086
16101
|
x: "4",
|
|
16087
16102
|
y: "4",
|
|
16088
16103
|
width: "16",
|
|
16089
16104
|
height: "16",
|
|
16090
|
-
class:
|
|
16105
|
+
class: I0(["rect", { "rect--checked": e.value }]),
|
|
16091
16106
|
strokeWidth: "0.8"
|
|
16092
16107
|
}, null, 2),
|
|
16093
|
-
e.value ? (N(), O("polyline",
|
|
16094
|
-
n[0] || (n[0] =
|
|
16108
|
+
e.value ? (N(), O("polyline", V4)) : Ee("", !0),
|
|
16109
|
+
n[0] || (n[0] = L("line", {
|
|
16095
16110
|
x1: "0",
|
|
16096
16111
|
y1: "1",
|
|
16097
16112
|
x2: "4",
|
|
@@ -16099,7 +16114,7 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16099
16114
|
strokeWidth: "2",
|
|
16100
16115
|
fill: "transparent"
|
|
16101
16116
|
}, null, -1)),
|
|
16102
|
-
n[1] || (n[1] =
|
|
16117
|
+
n[1] || (n[1] = L("line", {
|
|
16103
16118
|
x1: "4",
|
|
16104
16119
|
y1: "0",
|
|
16105
16120
|
x2: "24",
|
|
@@ -16107,7 +16122,7 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16107
16122
|
strokeWidth: "1",
|
|
16108
16123
|
fill: "transparent"
|
|
16109
16124
|
}, null, -1)),
|
|
16110
|
-
n[2] || (n[2] =
|
|
16125
|
+
n[2] || (n[2] = L("line", {
|
|
16111
16126
|
x1: "0",
|
|
16112
16127
|
y1: "4",
|
|
16113
16128
|
x2: "0",
|
|
@@ -16115,7 +16130,7 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16115
16130
|
strokeWidth: "1",
|
|
16116
16131
|
fill: "transparent"
|
|
16117
16132
|
}, null, -1)),
|
|
16118
|
-
n[3] || (n[3] =
|
|
16133
|
+
n[3] || (n[3] = L("line", {
|
|
16119
16134
|
x1: "0",
|
|
16120
16135
|
y1: "18",
|
|
16121
16136
|
x2: "0",
|
|
@@ -16123,7 +16138,7 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16123
16138
|
strokeWidth: "1",
|
|
16124
16139
|
fill: "transparent"
|
|
16125
16140
|
}, null, -1)),
|
|
16126
|
-
n[4] || (n[4] =
|
|
16141
|
+
n[4] || (n[4] = L("line", {
|
|
16127
16142
|
x1: "0",
|
|
16128
16143
|
y1: "24",
|
|
16129
16144
|
x2: "20",
|
|
@@ -16131,7 +16146,7 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16131
16146
|
strokeWidth: "1",
|
|
16132
16147
|
fill: "transparent"
|
|
16133
16148
|
}, null, -1)),
|
|
16134
|
-
n[5] || (n[5] =
|
|
16149
|
+
n[5] || (n[5] = L("line", {
|
|
16135
16150
|
x1: "20",
|
|
16136
16151
|
y1: "23",
|
|
16137
16152
|
x2: "24",
|
|
@@ -16139,7 +16154,7 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16139
16154
|
strokeWidth: "1.5",
|
|
16140
16155
|
fill: "transparent"
|
|
16141
16156
|
}, null, -1)),
|
|
16142
|
-
n[6] || (n[6] =
|
|
16157
|
+
n[6] || (n[6] = L("line", {
|
|
16143
16158
|
x1: "24",
|
|
16144
16159
|
y1: "4",
|
|
16145
16160
|
x2: "24",
|
|
@@ -16152,7 +16167,7 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16152
16167
|
])
|
|
16153
16168
|
]));
|
|
16154
16169
|
}
|
|
16155
|
-
}),
|
|
16170
|
+
}), W4 = /* @__PURE__ */ J(U4, [["__scopeId", "data-v-50556391"]]), n2 = /* @__PURE__ */ X({
|
|
16156
16171
|
__name: "ElmJsonRenderer",
|
|
16157
16172
|
props: {
|
|
16158
16173
|
json: {}
|
|
@@ -16160,41 +16175,41 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16160
16175
|
setup(r) {
|
|
16161
16176
|
const e = {
|
|
16162
16177
|
ElmInlineText: fe,
|
|
16163
|
-
ElmInlineCode:
|
|
16178
|
+
ElmInlineCode: lu,
|
|
16164
16179
|
ElmInlineLink: ni,
|
|
16165
|
-
ElmCallout:
|
|
16166
|
-
ElmBulletedList:
|
|
16167
|
-
ElmNumberedList:
|
|
16168
|
-
ElmListItem:
|
|
16169
|
-
ElmBlockQuote:
|
|
16170
|
-
ElmDivider:
|
|
16171
|
-
ElmHeading1:
|
|
16172
|
-
ElmHeading2:
|
|
16173
|
-
ElmHeading3:
|
|
16174
|
-
ElmHeading4:
|
|
16175
|
-
ElmHeading5:
|
|
16176
|
-
ElmHeading6:
|
|
16177
|
-
ElmCodeBlock:
|
|
16178
|
-
ElmParagraph:
|
|
16179
|
-
ElmTable:
|
|
16180
|
-
ElmTableHeader:
|
|
16181
|
-
ElmTableBody:
|
|
16182
|
-
ElmTableRow:
|
|
16183
|
-
ElmTableCell:
|
|
16184
|
-
ElmKatex:
|
|
16180
|
+
ElmCallout: w4,
|
|
16181
|
+
ElmBulletedList: k4,
|
|
16182
|
+
ElmNumberedList: S4,
|
|
16183
|
+
ElmListItem: z4,
|
|
16184
|
+
ElmBlockQuote: C4,
|
|
16185
|
+
ElmDivider: B4,
|
|
16186
|
+
ElmHeading1: Oo,
|
|
16187
|
+
ElmHeading2: $o,
|
|
16188
|
+
ElmHeading3: Go,
|
|
16189
|
+
ElmHeading4: Wo,
|
|
16190
|
+
ElmHeading5: Zo,
|
|
16191
|
+
ElmHeading6: Qo,
|
|
16192
|
+
ElmCodeBlock: us,
|
|
16193
|
+
ElmParagraph: I4,
|
|
16194
|
+
ElmTable: N4,
|
|
16195
|
+
ElmTableHeader: R4,
|
|
16196
|
+
ElmTableBody: H4,
|
|
16197
|
+
ElmTableRow: L4,
|
|
16198
|
+
ElmTableCell: P4,
|
|
16199
|
+
ElmKatex: ul,
|
|
16185
16200
|
ElmImage: ii,
|
|
16186
|
-
ElmBookmark:
|
|
16187
|
-
ElmToggle:
|
|
16188
|
-
ElmCheckbox:
|
|
16189
|
-
ElmFile:
|
|
16190
|
-
ElmColumn:
|
|
16191
|
-
ElmColumnList:
|
|
16201
|
+
ElmBookmark: Cu,
|
|
16202
|
+
ElmToggle: Sl,
|
|
16203
|
+
ElmCheckbox: W4,
|
|
16204
|
+
ElmFile: fu,
|
|
16205
|
+
ElmColumn: dl,
|
|
16206
|
+
ElmColumnList: fl
|
|
16192
16207
|
};
|
|
16193
16208
|
return (t, a) => {
|
|
16194
|
-
const n =
|
|
16195
|
-
return N(!0), O(
|
|
16209
|
+
const n = fi("ElmJsonRenderer", !0);
|
|
16210
|
+
return N(!0), O(Pe, null, st(t.json, (i) => {
|
|
16196
16211
|
var o;
|
|
16197
|
-
return N(), Re(
|
|
16212
|
+
return N(), Re(w0(e[i.type]), vi({
|
|
16198
16213
|
key: i.type + (((o = i.props) == null ? void 0 : o.id) || ""),
|
|
16199
16214
|
ref_for: !0
|
|
16200
16215
|
}, i.props), {
|
|
@@ -16211,48 +16226,49 @@ const g4 = { class: "header" }, b4 = /* @__PURE__ */ Y({
|
|
|
16211
16226
|
}
|
|
16212
16227
|
});
|
|
16213
16228
|
export {
|
|
16214
|
-
|
|
16215
|
-
|
|
16216
|
-
|
|
16217
|
-
|
|
16218
|
-
|
|
16219
|
-
|
|
16220
|
-
|
|
16221
|
-
|
|
16222
|
-
|
|
16223
|
-
|
|
16224
|
-
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
|
|
16228
|
-
|
|
16229
|
-
|
|
16230
|
-
|
|
16229
|
+
Cu as A,
|
|
16230
|
+
t2 as B,
|
|
16231
|
+
r2 as C,
|
|
16232
|
+
a2 as D,
|
|
16233
|
+
us as E,
|
|
16234
|
+
n2 as F,
|
|
16235
|
+
N4 as G,
|
|
16236
|
+
R4 as H,
|
|
16237
|
+
H4 as I,
|
|
16238
|
+
L4 as J,
|
|
16239
|
+
P4 as K,
|
|
16240
|
+
C4 as L,
|
|
16241
|
+
k4 as M,
|
|
16242
|
+
w4 as N,
|
|
16243
|
+
B4 as O,
|
|
16244
|
+
S4 as P,
|
|
16245
|
+
z4 as Q,
|
|
16246
|
+
au as R,
|
|
16231
16247
|
J as _,
|
|
16232
|
-
|
|
16233
|
-
|
|
16234
|
-
|
|
16235
|
-
|
|
16236
|
-
|
|
16237
|
-
|
|
16238
|
-
|
|
16239
|
-
|
|
16240
|
-
|
|
16241
|
-
|
|
16242
|
-
|
|
16243
|
-
|
|
16244
|
-
|
|
16245
|
-
|
|
16246
|
-
|
|
16247
|
-
|
|
16248
|
-
|
|
16249
|
-
|
|
16250
|
-
|
|
16251
|
-
|
|
16252
|
-
|
|
16248
|
+
$i as a,
|
|
16249
|
+
ul as b,
|
|
16250
|
+
dl as c,
|
|
16251
|
+
fl as d,
|
|
16252
|
+
X4 as e,
|
|
16253
|
+
Z4 as f,
|
|
16254
|
+
Sl as g,
|
|
16255
|
+
as as h,
|
|
16256
|
+
K4 as i,
|
|
16257
|
+
Tl as j,
|
|
16258
|
+
Oo as k,
|
|
16259
|
+
$o as l,
|
|
16260
|
+
Go as m,
|
|
16261
|
+
Wo as n,
|
|
16262
|
+
Zo as o,
|
|
16263
|
+
Qo as p,
|
|
16264
|
+
J4 as q,
|
|
16265
|
+
ru as r,
|
|
16266
|
+
qi as s,
|
|
16267
|
+
Q4 as t,
|
|
16268
|
+
lu as u,
|
|
16253
16269
|
ni as v,
|
|
16254
|
-
|
|
16270
|
+
e2 as w,
|
|
16255
16271
|
fe as x,
|
|
16256
|
-
|
|
16272
|
+
fu as y,
|
|
16257
16273
|
ii as z
|
|
16258
16274
|
};
|