@guebbit/css-toolkit 1.1.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -661
- package/README.md +5 -5
- package/docs/.postcssrc.cjs +11 -11
- package/docs/.vitepress/config.ts +88 -88
- package/docs/.vitepress/dist/404.html +5 -4
- package/docs/.vitepress/dist/assets/{app.CpyNzro9.js → app.Cez_7bx7.js} +1 -1
- package/docs/.vitepress/dist/assets/chunks/@localSearchIndexroot.CkfJPSmi.js +1 -0
- package/docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.lfLgIsvm.js +8 -0
- package/docs/.vitepress/dist/assets/chunks/framework.BQmytedh.js +18 -0
- package/docs/.vitepress/dist/assets/chunks/theme.ZIndENJH.js +2 -0
- package/docs/.vitepress/dist/assets/{colors_bootstrap.md.DiC9aO06.js → colors_bootstrap.md.B8QNot57.js} +1 -1
- package/docs/.vitepress/dist/assets/{colors_bootstrap.md.DiC9aO06.lean.js → colors_bootstrap.md.B8QNot57.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{colors_brands.md.Bp8_jfHR.js → colors_brands.md.DA7CAmLz.js} +1 -1
- package/docs/.vitepress/dist/assets/{colors_brands.md.Bp8_jfHR.lean.js → colors_brands.md.DA7CAmLz.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{colors_customs.md.DyEXln8b.js → colors_customs.md.B9XC2fYm.js} +1 -1
- package/docs/.vitepress/dist/assets/{colors_customs.md.DyEXln8b.lean.js → colors_customs.md.B9XC2fYm.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{functions_colors.md.CtYahXnA.js → functions_colors.md.8WIzA1Az.js} +1 -1
- package/docs/.vitepress/dist/assets/{functions_colors.md.CtYahXnA.lean.js → functions_colors.md.8WIzA1Az.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{functions_helpers.md.DZRTPA4t.js → functions_helpers.md.DlnJURDc.js} +1 -1
- package/docs/.vitepress/dist/assets/{functions_helpers.md.DZRTPA4t.lean.js → functions_helpers.md.DlnJURDc.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{functions_strings.md.BMMJdTdo.js → functions_strings.md.B-I-mSmy.js} +1 -1
- package/docs/.vitepress/dist/assets/{functions_strings.md.BMMJdTdo.lean.js → functions_strings.md.B-I-mSmy.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{index.md.2uetSBMH.js → index.md.DO-yHYeM.js} +1 -1
- package/docs/.vitepress/dist/assets/{index.md.2uetSBMH.lean.js → index.md.DO-yHYeM.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_build-aspect-ratio.md.8mabvpDg.js → mixins_build-aspect-ratio.md.Cjv_a3MY.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_build-aspect-ratio.md.8mabvpDg.lean.js → mixins_build-aspect-ratio.md.Cjv_a3MY.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_build-compatibility.md.cOIJ58bq.js → mixins_build-compatibility.md.BO6wODYa.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_build-compatibility.md.cOIJ58bq.lean.js → mixins_build-compatibility.md.BO6wODYa.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_build-scrollbar.md.DrR7vY38.js → mixins_build-scrollbar.md.BX34elgD.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_build-scrollbar.md.DrR7vY38.lean.js → mixins_build-scrollbar.md.BX34elgD.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_create-colors.md.FiVBK2v9.js → mixins_create-colors.md.82HeTZt6.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_create-colors.md.FiVBK2v9.lean.js → mixins_create-colors.md.82HeTZt6.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_create-helper-margin.md.B85aWiR9.js → mixins_create-helper-margin.md.D2-T7z0a.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_create-helper-margin.md.B85aWiR9.lean.js → mixins_create-helper-margin.md.D2-T7z0a.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_create-helper-padding.md._fxbDV5T.js → mixins_create-helper-padding.md.Cp-laxuA.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_create-helper-padding.md._fxbDV5T.lean.js → mixins_create-helper-padding.md.Cp-laxuA.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_create-instruction.md.DKI2LvdM.js → mixins_create-instruction.md.dJ83FO6R.js} +1 -1
- package/docs/.vitepress/dist/assets/{mixins_create-instruction.md.DKI2LvdM.lean.js → mixins_create-instruction.md.dJ83FO6R.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/style.BKBz-tcN.css +1 -0
- package/docs/.vitepress/dist/colors/bootstrap.html +9 -8
- package/docs/.vitepress/dist/colors/brands.html +9 -8
- package/docs/.vitepress/dist/colors/customs.html +9 -8
- package/docs/.vitepress/dist/functions/colors.html +9 -8
- package/docs/.vitepress/dist/functions/helpers.html +9 -8
- package/docs/.vitepress/dist/functions/strings.html +9 -8
- package/docs/.vitepress/dist/hashmap.json +1 -1
- package/docs/.vitepress/dist/index.html +9 -8
- package/docs/.vitepress/dist/mixins/build-aspect-ratio.html +9 -8
- package/docs/.vitepress/dist/mixins/build-compatibility.html +9 -8
- package/docs/.vitepress/dist/mixins/build-scrollbar.html +9 -8
- package/docs/.vitepress/dist/mixins/create-colors.html +9 -8
- package/docs/.vitepress/dist/mixins/create-helper-margin.html +9 -8
- package/docs/.vitepress/dist/mixins/create-helper-padding.html +9 -8
- package/docs/.vitepress/dist/mixins/create-instruction.html +9 -8
- package/docs/.vitepress/dist/vp-icons.css +2 -0
- package/docs/.vitepress/theme/index.js +11 -11
- package/docs/functions/colors.md +65 -65
- package/docs/logo.svg +55 -55
- package/docs/logotype.svg +149 -149
- package/docs/mixins/build-compatibility.md +22 -22
- package/docs/mixins/build-scrollbar.md +18 -18
- package/docs/mixins/create-helper-margin.md +25 -25
- package/docs/mixins/create-helper-padding.md +24 -24
- package/docs/mixins/create-instruction.md +32 -32
- package/package.json +61 -61
- package/src/colors/_bootstrap.scss +179 -179
- package/src/colors/_brands.scss +19 -19
- package/src/colors/_customs.scss +52 -52
- package/src/colors/_index.scss +199 -199
- package/src/functions/_colors.scss +121 -117
- package/src/functions/_helpers.scss +42 -42
- package/src/functions/_strings.scss +30 -30
- package/src/index.scss +12 -12
- package/src/mixins/_build-aspect-ratio.scss +36 -36
- package/src/mixins/_build-compatibility.scss +27 -27
- package/src/mixins/_build-scrollbar.scss +31 -31
- package/src/mixins/_create-colors.scss +118 -118
- package/src/mixins/_create-helper-margin.scss +38 -38
- package/src/mixins/_create-helper-padding.scss +40 -40
- package/src/mixins/_create-instructions.scss +11 -11
- package/test/compile.test.js +105 -102
- package/test/lint.test.js +48 -50
- package/test/test.css +5819 -5816
- package/test/test.scss +158 -153
- package/vite.config.ts +25 -25
- package/docs/.vitepress/dist/assets/chunks/@localSearchIndexroot.CYE7S9pS.js +0 -1
- package/docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.DrgBd5f4.js +0 -7
- package/docs/.vitepress/dist/assets/chunks/framework.DJJi9g99.js +0 -17
- package/docs/.vitepress/dist/assets/chunks/theme.CviQ0biq.js +0 -2
- package/docs/.vitepress/dist/assets/style.DDLX1Ber.css +0 -1
package/test/test.scss
CHANGED
|
@@ -1,154 +1,159 @@
|
|
|
1
|
-
@use "../src/index" as guebbit;
|
|
2
|
-
|
|
3
|
-
@include guebbit.create-colors(guebbit.$colors-collection);
|
|
4
|
-
|
|
5
|
-
@include guebbit.create-helper-margin((
|
|
6
|
-
(auto, auto),
|
|
7
|
-
(6, 6px),
|
|
8
|
-
(12, 12px),
|
|
9
|
-
(24, 24px),
|
|
10
|
-
(36, 36px),
|
|
11
|
-
(48, 48px),
|
|
12
|
-
));
|
|
13
|
-
|
|
14
|
-
@include guebbit.create-helper-padding((
|
|
15
|
-
(6, 6px),
|
|
16
|
-
(12, 12px),
|
|
17
|
-
(24, 24px),
|
|
18
|
-
(36, 36px),
|
|
19
|
-
(48, 48px),
|
|
20
|
-
));
|
|
21
|
-
|
|
22
|
-
@include guebbit.create-instructions("font-size", (
|
|
23
|
-
(n2, 0.6em),
|
|
24
|
-
(n1, 0.8em),
|
|
25
|
-
(1, 1.2em),
|
|
26
|
-
(2, 1.5em),
|
|
27
|
-
(3, 2em),
|
|
28
|
-
));
|
|
29
|
-
|
|
30
|
-
@include guebbit.create-instructions("opacity", (
|
|
31
|
-
(0, 0),
|
|
32
|
-
(25, 0.25),
|
|
33
|
-
(50, 0.50),
|
|
34
|
-
(75, 0.75),
|
|
35
|
-
(100, 1),
|
|
36
|
-
));
|
|
37
|
-
|
|
38
|
-
@include guebbit.create-instructions("width", (
|
|
39
|
-
(25, 25%),
|
|
40
|
-
(50, 50%),
|
|
41
|
-
(75, 75%),
|
|
42
|
-
(100, 100%),
|
|
43
|
-
(p25, 25px),
|
|
44
|
-
(p50, 50px),
|
|
45
|
-
(p75, 75px),
|
|
46
|
-
(p100, 100px)
|
|
47
|
-
), true);
|
|
48
|
-
|
|
49
|
-
@include guebbit.create-instructions("min-width", (
|
|
50
|
-
(25, 25%),
|
|
51
|
-
(50, 50%),
|
|
52
|
-
(75, 75%),
|
|
53
|
-
(100, 100%),
|
|
54
|
-
(p25, 25px),
|
|
55
|
-
(p50, 50px),
|
|
56
|
-
(p75, 75px),
|
|
57
|
-
(p100, 100px)
|
|
58
|
-
), true);
|
|
59
|
-
|
|
60
|
-
@include guebbit.create-instructions("gap", (
|
|
61
|
-
(6, 6px),
|
|
62
|
-
(12, 12px),
|
|
63
|
-
(24, 24px),
|
|
64
|
-
), true, "flex-");
|
|
65
|
-
|
|
66
|
-
.aspect-ratio-1-1{
|
|
67
|
-
@include guebbit.build-aspect-ratio(100%);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.aspect-ratio-16-9{
|
|
71
|
-
@include guebbit.build-aspect-ratio-container(56%);
|
|
72
|
-
|
|
73
|
-
.content{
|
|
74
|
-
@include guebbit.build-aspect-ratio-anchor;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.test-compatibility{
|
|
80
|
-
@include guebbit.build-compatibility("ie"){
|
|
81
|
-
&::after{
|
|
82
|
-
content: "this is internet explorer";
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@include guebbit.build-compatibility("edge"){
|
|
87
|
-
&::after{
|
|
88
|
-
content: "this is microsoft edge";
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@include guebbit.build-compatibility("firefox"){
|
|
93
|
-
&::after{
|
|
94
|
-
content: "this is firefox";
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// check functions
|
|
100
|
-
$test-color--light: #222;
|
|
101
|
-
$test-color--dark: #ddd;
|
|
102
|
-
$map-deep-get-test: (
|
|
103
|
-
'size': (
|
|
104
|
-
'sml': 10px
|
|
105
|
-
)
|
|
106
|
-
);
|
|
107
|
-
|
|
108
|
-
$map-deep-get-var: guebbit.map-deep-get($map-deep-get-test, 'size', 'sml');
|
|
109
|
-
|
|
110
|
-
:root{
|
|
111
|
-
// ---
|
|
112
|
-
--color-opaque-1: #{guebbit.color-opaque(
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
--color-
|
|
117
|
-
// ---
|
|
118
|
-
--color-
|
|
119
|
-
--color-
|
|
120
|
-
// ---
|
|
121
|
-
--color-
|
|
122
|
-
--color-
|
|
123
|
-
// ---
|
|
124
|
-
--color-
|
|
125
|
-
--color-
|
|
126
|
-
|
|
127
|
-
--color-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
--
|
|
131
|
-
|
|
132
|
-
--
|
|
133
|
-
--
|
|
134
|
-
|
|
135
|
-
--extract-colors-
|
|
136
|
-
--extract-colors-
|
|
137
|
-
--extract-colors-
|
|
138
|
-
--extract-colors-
|
|
139
|
-
--extract-colors-
|
|
140
|
-
--extract-colors-
|
|
141
|
-
--extract-colors-
|
|
142
|
-
--extract-colors-
|
|
143
|
-
|
|
144
|
-
--
|
|
145
|
-
--
|
|
146
|
-
|
|
147
|
-
--
|
|
148
|
-
|
|
149
|
-
--no-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
1
|
+
@use "../src/index" as guebbit;
|
|
2
|
+
|
|
3
|
+
@include guebbit.create-colors(guebbit.$colors-collection);
|
|
4
|
+
|
|
5
|
+
@include guebbit.create-helper-margin((
|
|
6
|
+
(auto, auto),
|
|
7
|
+
(6, 6px),
|
|
8
|
+
(12, 12px),
|
|
9
|
+
(24, 24px),
|
|
10
|
+
(36, 36px),
|
|
11
|
+
(48, 48px),
|
|
12
|
+
));
|
|
13
|
+
|
|
14
|
+
@include guebbit.create-helper-padding((
|
|
15
|
+
(6, 6px),
|
|
16
|
+
(12, 12px),
|
|
17
|
+
(24, 24px),
|
|
18
|
+
(36, 36px),
|
|
19
|
+
(48, 48px),
|
|
20
|
+
));
|
|
21
|
+
|
|
22
|
+
@include guebbit.create-instructions("font-size", (
|
|
23
|
+
(n2, 0.6em),
|
|
24
|
+
(n1, 0.8em),
|
|
25
|
+
(1, 1.2em),
|
|
26
|
+
(2, 1.5em),
|
|
27
|
+
(3, 2em),
|
|
28
|
+
));
|
|
29
|
+
|
|
30
|
+
@include guebbit.create-instructions("opacity", (
|
|
31
|
+
(0, 0),
|
|
32
|
+
(25, 0.25),
|
|
33
|
+
(50, 0.50),
|
|
34
|
+
(75, 0.75),
|
|
35
|
+
(100, 1),
|
|
36
|
+
));
|
|
37
|
+
|
|
38
|
+
@include guebbit.create-instructions("width", (
|
|
39
|
+
(25, 25%),
|
|
40
|
+
(50, 50%),
|
|
41
|
+
(75, 75%),
|
|
42
|
+
(100, 100%),
|
|
43
|
+
(p25, 25px),
|
|
44
|
+
(p50, 50px),
|
|
45
|
+
(p75, 75px),
|
|
46
|
+
(p100, 100px)
|
|
47
|
+
), true);
|
|
48
|
+
|
|
49
|
+
@include guebbit.create-instructions("min-width", (
|
|
50
|
+
(25, 25%),
|
|
51
|
+
(50, 50%),
|
|
52
|
+
(75, 75%),
|
|
53
|
+
(100, 100%),
|
|
54
|
+
(p25, 25px),
|
|
55
|
+
(p50, 50px),
|
|
56
|
+
(p75, 75px),
|
|
57
|
+
(p100, 100px)
|
|
58
|
+
), true);
|
|
59
|
+
|
|
60
|
+
@include guebbit.create-instructions("gap", (
|
|
61
|
+
(6, 6px),
|
|
62
|
+
(12, 12px),
|
|
63
|
+
(24, 24px),
|
|
64
|
+
), true, "flex-");
|
|
65
|
+
|
|
66
|
+
.aspect-ratio-1-1{
|
|
67
|
+
@include guebbit.build-aspect-ratio(100%);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.aspect-ratio-16-9{
|
|
71
|
+
@include guebbit.build-aspect-ratio-container(56%);
|
|
72
|
+
|
|
73
|
+
.content{
|
|
74
|
+
@include guebbit.build-aspect-ratio-anchor;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
.test-compatibility{
|
|
80
|
+
@include guebbit.build-compatibility("ie"){
|
|
81
|
+
&::after{
|
|
82
|
+
content: "this is internet explorer";
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@include guebbit.build-compatibility("edge"){
|
|
87
|
+
&::after{
|
|
88
|
+
content: "this is microsoft edge";
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@include guebbit.build-compatibility("firefox"){
|
|
93
|
+
&::after{
|
|
94
|
+
content: "this is firefox";
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// check functions
|
|
100
|
+
$test-color--light: #222;
|
|
101
|
+
$test-color--dark: #ddd;
|
|
102
|
+
$map-deep-get-test: (
|
|
103
|
+
'size': (
|
|
104
|
+
'sml': 10px
|
|
105
|
+
)
|
|
106
|
+
);
|
|
107
|
+
|
|
108
|
+
$map-deep-get-var: guebbit.map-deep-get($map-deep-get-test, 'size', 'sml');
|
|
109
|
+
|
|
110
|
+
:root{
|
|
111
|
+
// --- rgba + rgba = rgba
|
|
112
|
+
--color-opaque-1: #{guebbit.color-opaque(rgba(0,0,0,0.2), rgba($test-color--light, 0.8))};
|
|
113
|
+
// --- hex + rgba = rgb
|
|
114
|
+
--color-opaque-2: #{guebbit.color-opaque(#000, rgba($test-color--dark, 0.5))};
|
|
115
|
+
// --- hex + hex = hex
|
|
116
|
+
--color-opaque-3: #{guebbit.color-opaque(#000, $test-color--dark)};
|
|
117
|
+
// ---
|
|
118
|
+
--color-tint-1: #{guebbit.color-tint($test-color--light, 25%)};
|
|
119
|
+
--color-tint-2: #{guebbit.color-tint($test-color--dark, 25%)};
|
|
120
|
+
// ---
|
|
121
|
+
--color-shade-1: #{guebbit.color-shade($test-color--light, 25%)};
|
|
122
|
+
--color-shade-2: #{guebbit.color-shade($test-color--dark, 25%)};
|
|
123
|
+
// ---
|
|
124
|
+
--color-shift-1: #{guebbit.color-shift($test-color--light, 25%)};
|
|
125
|
+
--color-shift-2: #{guebbit.color-shift($test-color--dark, 25%)};
|
|
126
|
+
--color-shift-3: #{guebbit.color-shift($test-color--light, -25%)};
|
|
127
|
+
--color-shift-4: #{guebbit.color-shift($test-color--dark, -25%)};
|
|
128
|
+
// ---
|
|
129
|
+
--color-contrast-1: #{guebbit.color-contrast($test-color--light)};
|
|
130
|
+
--color-contrast-2: #{guebbit.color-contrast($test-color--dark)};
|
|
131
|
+
// ---
|
|
132
|
+
--color-brightness-1: #{guebbit.color-contrast($test-color--light)};
|
|
133
|
+
--color-brightness-2: #{guebbit.color-contrast($test-color--dark)};
|
|
134
|
+
// ---
|
|
135
|
+
--extract-colors-1: #{guebbit.extract-colors()};
|
|
136
|
+
--extract-colors-2: #{guebbit.extract-colors($test-color--light)};
|
|
137
|
+
--extract-colors-3: #{guebbit.extract-colors($test-color--dark)};
|
|
138
|
+
--extract-colors-4: #{guebbit.extract-colors($test-color--light, 2, true)};
|
|
139
|
+
--extract-colors-5: #{guebbit.extract-colors($test-color--dark, 2, true)};
|
|
140
|
+
--extract-colors-6: #{guebbit.extract-colors(rgb(0 255 0))};
|
|
141
|
+
--extract-colors-7: #{guebbit.extract-colors(rgba(0 255 0 / 0.5))};
|
|
142
|
+
--extract-colors-8: #{guebbit.extract-colors(rgb(0 255 0), 2, true)};
|
|
143
|
+
--extract-colors-9: #{guebbit.extract-colors(rgba(0 255 0 / 0.5), 2, true)};
|
|
144
|
+
--extract-colors-10: #{guebbit.extract-colors(rgb(0, 255, 0))};
|
|
145
|
+
--extract-colors-11: #{guebbit.extract-colors(rgba(0, 255, 0, 0.5))};
|
|
146
|
+
--extract-colors-12: #{guebbit.extract-colors(rgb(0, 255, 0), 2, true)};
|
|
147
|
+
--extract-colors-13: #{guebbit.extract-colors(rgba(0, 255, 0, 0.5), 2, true)};
|
|
148
|
+
// ---
|
|
149
|
+
--no-null-1: #{guebbit.no-null-var((undefined, null, transparent, red))};
|
|
150
|
+
--no-null-2: #{guebbit.no-null-var((blue))};
|
|
151
|
+
// ---
|
|
152
|
+
--no-trasparent-1: #{guebbit.no-target-var(transparent, transparent)};
|
|
153
|
+
--no-trasparent-2: #{guebbit.no-target-var("test", "test")};
|
|
154
|
+
--no-trasparent-3: #{guebbit.no-target-var(transparent, #123456)};
|
|
155
|
+
// ---
|
|
156
|
+
--map-deep-get: #{$map-deep-get-var};
|
|
157
|
+
// --string-split: #{guebbit.string-split())};
|
|
158
|
+
// --string-split: #{guebbit.string-ends-with("find-this-word", "this"))};
|
|
154
159
|
}
|
package/vite.config.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineConfig } from 'vite';
|
|
2
|
-
import * as path from 'path';
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
// root: "/",
|
|
6
|
-
build: {
|
|
7
|
-
outDir: path.join(__dirname, "dist"),
|
|
8
|
-
lib: {
|
|
9
|
-
entry: path.resolve(__dirname, "index.scss"), // TODO library.scss (import the various components)
|
|
10
|
-
name: "@guebbit/css-toolkit",
|
|
11
|
-
fileName: "css-toolkit",
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
server: {
|
|
15
|
-
port: 8080,
|
|
16
|
-
},
|
|
17
|
-
resolve: {
|
|
18
|
-
alias: [
|
|
19
|
-
{
|
|
20
|
-
find: '@',
|
|
21
|
-
replacement: path.resolve(__dirname, 'src')
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
plugins: [],
|
|
1
|
+
import { defineConfig } from 'vite';
|
|
2
|
+
import * as path from 'path';
|
|
3
|
+
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
// root: "/",
|
|
6
|
+
build: {
|
|
7
|
+
outDir: path.join(__dirname, "dist"),
|
|
8
|
+
lib: {
|
|
9
|
+
entry: path.resolve(__dirname, "index.scss"), // TODO library.scss (import the various components)
|
|
10
|
+
name: "@guebbit/css-toolkit",
|
|
11
|
+
fileName: "css-toolkit",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
server: {
|
|
15
|
+
port: 8080,
|
|
16
|
+
},
|
|
17
|
+
resolve: {
|
|
18
|
+
alias: [
|
|
19
|
+
{
|
|
20
|
+
find: '@',
|
|
21
|
+
replacement: path.resolve(__dirname, 'src')
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
plugins: [],
|
|
26
26
|
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t='{"documentCount":31,"nextId":31,"documentIds":{"0":"/colors/bootstrap.html#todo","1":"/colors/brands.html#todo","2":"/colors/customs.html#todo","3":"/functions/colors.html#colors","4":"/functions/colors.html#color-brightness","5":"/functions/colors.html#color-contrast","6":"/functions/colors.html#color-hex2rgba","7":"/functions/colors.html#color-hex2rgbcore","8":"/functions/helpers.html#todo","9":"/functions/strings.html#todo","10":"/#css-toolkit","11":"/#todo","12":"/mixins/build-scrollbar.html#scrollbar","13":"/mixins/build-scrollbar.html#example","14":"/mixins/build-scrollbar.html#code","15":"/mixins/build-compatibility.html#build-compatibility","16":"/mixins/build-compatibility.html#example","17":"/mixins/build-compatibility.html#code","18":"/mixins/build-compatibility.html#scss-variables","19":"/mixins/build-aspect-ratio.html#todo","20":"/mixins/create-helper-margin.html#create-margin","21":"/mixins/create-helper-margin.html#example","22":"/mixins/create-helper-margin.html#code","23":"/mixins/create-colors.html#todo","24":"/mixins/create-helper-padding.html#create-padding","25":"/mixins/create-helper-padding.html#example","26":"/mixins/create-helper-padding.html#code","27":"/mixins/create-instruction.html#create-instruction","28":"/mixins/create-instruction.html#example","29":"/mixins/create-instruction.html#code","30":"/mixins/create-instruction.html#scss-variables"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,1],"1":[1,1,1],"2":[1,1,1],"3":[1,1,18],"4":[2,1,37],"5":[2,1,34],"6":[2,1,11],"7":[2,1,40],"8":[1,1,1],"9":[1,1,1],"10":[2,1,15],"11":[1,1,14],"12":[1,1,1],"13":[1,1,12],"14":[1,1,53],"15":[2,1,1],"16":[1,2,18],"17":[1,1,43],"18":[2,1,17],"19":[1,1,1],"20":[2,1,1],"21":[1,2,18],"22":[1,2,77],"23":[1,1,1],"24":[2,1,1],"25":[1,2,17],"26":[1,2,77],"27":[2,1,10],"28":[1,2,19],"29":[1,2,32],"30":[2,2,44]},"averageFieldLength":[1.354838709677419,1.258064516129032,19.90322580645161],"storedFields":{"0":{"title":"TODO","titles":[]},"1":{"title":"TODO","titles":[]},"2":{"title":"TODO","titles":[]},"3":{"title":"Colors","titles":[]},"4":{"title":"color-brightness","titles":["Colors"]},"5":{"title":"color-contrast","titles":["Colors"]},"6":{"title":"color-hex2rgba","titles":["Colors"]},"7":{"title":"color-hex2rgbcore","titles":["Colors"]},"8":{"title":"TODO","titles":[]},"9":{"title":"TODO","titles":[]},"10":{"title":"css-toolkit","titles":[]},"11":{"title":"TODO","titles":[]},"12":{"title":"Scrollbar","titles":[]},"13":{"title":"Example","titles":["Scrollbar"]},"14":{"title":"Code","titles":["Scrollbar"]},"15":{"title":"Build Compatibility","titles":[]},"16":{"title":"Example","titles":["Build Compatibility"]},"17":{"title":"Code","titles":[]},"18":{"title":"SCSS variables","titles":["Code"]},"19":{"title":"TODO","titles":[]},"20":{"title":"Create Margin","titles":[]},"21":{"title":"Example","titles":["Create Margin"]},"22":{"title":"Code","titles":["Create Margin"]},"23":{"title":"TODO","titles":[]},"24":{"title":"Create Padding","titles":[]},"25":{"title":"Example","titles":["Create Padding"]},"26":{"title":"Code","titles":["Create Padding"]},"27":{"title":"Create Instruction","titles":[]},"28":{"title":"Example","titles":["Create Instruction"]},"29":{"title":"Code","titles":["Create Instruction"]},"30":{"title":"SCSS variables","titles":["Create Instruction"]}},"dirtCount":0,"index":[["75px",{"2":{"28":1}}],["75",{"2":{"28":2}}],["y",{"2":{"22":1,"26":1}}],["x3c",{"2":{"22":1,"26":1,"29":1}}],["x",{"2":{"22":1,"26":1}}],["x26",{"2":{"14":3}}],["36px",{"2":{"21":1,"25":1}}],["36",{"2":{"21":1,"25":1}}],["30",{"2":{"3":1}}],["6px",{"2":{"21":1,"25":1}}],["6",{"2":{"21":1,"25":1}}],["60",{"2":{"3":1}}],["name",{"2":{"18":1,"22":4,"26":4,"27":1,"29":2,"30":2}}],["none",{"2":{"4":1,"17":2,"18":1,"30":1}}],["``",{"2":{"18":1,"22":1,"26":1,"30":1}}],["width",{"2":{"14":1,"27":2,"28":1}}],["webkit",{"2":{"14":3}}],["white",{"2":{"7":1}}],["whichever",{"2":{"5":1,"7":1}}],["what",{"2":{"3":1}}],["==",{"2":{"14":1,"17":3,"22":9,"26":9,"29":1}}],["48px",{"2":{"21":1,"25":1}}],["48",{"2":{"21":1,"25":1}}],["40",{"2":{"14":1}}],["4px",{"2":{"7":1,"13":1,"14":2}}],["p100",{"2":{"28":1}}],["p75",{"2":{"28":1}}],["p50",{"2":{"28":1}}],["p25",{"2":{"28":1}}],["prevent",{"2":{"22":1,"26":1,"30":1}}],["prefix",{"2":{"22":1,"26":1,"30":1}}],["property",{"2":{"22":1,"26":1}}],["postfix",{"2":{"22":1,"26":1,"29":1}}],["pixels",{"2":{"14":1}}],["padding",{"0":{"24":1},"1":{"25":1,"26":1},"2":{"25":1}}],["pairs",{"2":{"22":1,"26":1,"30":1}}],["param",{"2":{"14":3,"17":1,"22":1,"26":1,"29":1}}],["palette",{"2":{"3":1}}],["\\tcompatibility",{"2":{"17":1}}],["\\t",{"2":{"14":3,"17":2}}],["\\tbuilder",{"2":{"14":1}}],["eventual",{"2":{"22":1,"26":1,"30":1}}],["every",{"2":{"11":1}}],["each",{"2":{"22":1,"26":1,"29":1}}],["edge",{"2":{"16":1,"17":2}}],["explorer",{"2":{"16":1,"17":1}}],["example",{"0":{"13":1,"16":1,"21":1,"25":1,"28":1},"2":{"27":1}}],["element",{"2":{"13":1,"14":1}}],["opera",{"2":{"16":1,"17":1}}],["or",{"2":{"11":1}}],["of",{"2":{"5":1,"7":1,"13":1,"14":4,"22":1,"26":1,"30":2}}],["single",{"2":{"29":1}}],["size",{"2":{"14":3,"27":1}}],["spacing",{"2":{"22":7,"26":7}}],["supports",{"2":{"17":2}}],["safari",{"2":{"16":1,"17":1}}],["scrollbars",{"2":{"13":1,"14":1}}],["scrollbar",{"0":{"12":1},"1":{"13":1,"14":1},"2":{"13":1,"14":7}}],["scsscolor",{"2":{"6":1}}],["scssbackground",{"2":{"5":1}}],["scss",{"0":{"18":1,"30":1},"2":{"4":2,"5":1,"7":1,"10":1,"13":1,"14":1,"16":1,"17":1,"21":1,"22":1,"25":1,"26":1,"28":1,"29":1}}],["style",{"2":{"18":1}}],["string",{"2":{"14":1,"17":1,"18":1,"22":1,"26":1,"30":3}}],["streamlining",{"2":{"10":1}}],["standardizing",{"2":{"10":1}}],["utilities",{"2":{"10":1}}],["using",{"2":{"3":1}}],["0",{"2":{"6":1}}],["00ff00",{"2":{"6":1,"7":1}}],["000",{"2":{"5":1,"7":1,"13":1}}],["final",{"2":{"30":1}}],["firefox",{"2":{"16":1,"17":2}}],["flag",{"2":{"30":1}}],["false",{"2":{"14":1,"22":2,"26":2,"29":1,"30":1}}],["for",{"2":{"10":1,"11":2,"16":1,"17":1,"22":7,"26":7}}],["fff",{"2":{"5":2,"7":1,"13":1,"14":3}}],["functions",{"2":{"10":1,"11":1}}],["function",{"2":{"4":1,"5":1,"11":1}}],["$delimiter",{"2":{"29":2,"30":1}}],["$dark",{"2":{"5":5,"7":1}}],["$instruction",{"2":{"29":3,"30":1}}],["$important",{"2":{"22":11,"26":11,"29":2,"30":1}}],["$val",{"2":{"22":10,"26":10,"29":2}}],["$name",{"2":{"22":8,"26":8,"29":2}}],["$prefix",{"2":{"22":9,"26":9,"29":2,"30":1}}],["$measure",{"2":{"22":3,"26":3,"29":2,"30":1}}],["$fallback",{"2":{"14":6}}],["$radius",{"2":{"14":3}}],["$browser",{"2":{"17":5,"18":1}}],["$bg",{"2":{"14":6}}],["$background",{"2":{"5":2,"14":1}}],["$size",{"2":{"14":5}}],["$light",{"2":{"5":5,"7":1}}],["$color",{"2":{"4":6,"5":5,"7":1,"14":4}}],["quot",{"2":{"5":2,"7":2}}],["my",{"2":{"22":1,"26":1}}],["mx",{"2":{"22":1,"26":1}}],["mr",{"2":{"22":1,"26":1}}],["ml",{"2":{"22":1,"26":1}}],["mb",{"2":{"22":1,"26":1}}],["mt",{"2":{"22":1,"26":1}}],["measure",{"2":{"22":1,"26":1,"29":1}}],["media",{"2":{"17":1}}],["ma",{"2":{"22":1,"26":1}}],["margin",{"0":{"20":1},"1":{"21":1,"22":1},"2":{"21":1,"22":14,"26":14}}],["math",{"2":{"4":1}}],["ms",{"2":{"17":3}}],["min",{"2":{"27":1}}],["microsoft",{"2":{"16":1,"17":1}}],["mixin",{"2":{"11":1,"14":1,"17":1,"22":1,"26":1,"29":1}}],["mixins",{"2":{"10":1}}],["moz",{"2":{"17":1}}],["mode",{"2":{"16":1,"17":1}}],["more",{"2":{"11":1}}],["most",{"2":{"5":1,"7":1}}],["array",{"2":{"22":2,"26":2,"29":1,"30":1}}],["arguments",{"2":{"5":1,"7":1}}],["applies",{"2":{"22":7,"26":7}}],["apply",{"2":{"7":2,"18":1}}],["appearance",{"2":{"17":1}}],["align",{"2":{"17":1}}],["all",{"2":{"17":1,"22":1,"26":1}}],["active",{"2":{"17":1}}],["accepted",{"2":{"4":1,"7":1,"14":1,"18":1,"22":1,"26":1,"30":1}}],["auto",{"2":{"14":3,"17":1,"21":2}}],["automatic",{"2":{"11":1}}],["an",{"2":{"11":1}}],["and",{"2":{"5":1,"7":1,"10":2,"17":1,"22":3,"26":3,"27":2,"29":1}}],["abs",{"2":{"5":2}}],["a",{"2":{"5":1,"7":1,"10":1,"22":1,"26":1}}],["value",{"2":{"22":3,"26":3,"29":1,"30":2}}],["value>",{"2":{"22":1,"26":1,"29":1}}],["values",{"2":{"4":1,"7":1,"14":1,"18":1,"22":1,"26":1,"30":1}}],["var",{"2":{"7":1}}],["variables",{"0":{"18":1,"30":1}}],["variable",{"2":{"4":1,"7":1,"14":1,"18":1,"22":1,"26":1,"30":1}}],["25px",{"2":{"28":1}}],["25",{"2":{"28":2}}],["255",{"2":{"4":1}}],["24px",{"2":{"21":1,"25":1}}],["24",{"2":{"21":1,"25":1}}],["299",{"2":{"4":1}}],["12px",{"2":{"21":1,"25":1}}],["12",{"2":{"21":1,"25":1}}],["114",{"2":{"4":1}}],["10px",{"2":{"13":1,"14":2}}],["100px",{"2":{"28":1}}],["100",{"2":{"4":1,"28":2}}],["10",{"2":{"3":1}}],["5",{"2":{"6":1}}],["587",{"2":{"4":1}}],["50px",{"2":{"28":1}}],["50",{"2":{"4":3,"28":2}}],["generator",{"2":{"29":1}}],["gt",{"2":{"22":2,"26":2,"30":2}}],["guebbit",{"2":{"16":1,"22":1,"26":1,"30":1}}],["gradients",{"2":{"11":1}}],["green",{"2":{"4":1}}],["given",{"2":{"5":1,"7":1,"27":1}}],["gives",{"2":{"4":1}}],["+",{"2":{"4":2}}],["right",{"2":{"22":4,"26":4}}],["r",{"2":{"22":1,"26":1}}],["radius",{"2":{"14":2}}],["rgba",{"2":{"6":1}}],["repository",{"2":{"10":1}}],["red",{"2":{"4":1}}],["returns",{"2":{"5":1,"7":1}}],["return",{"2":{"4":1,"5":1}}],["rule",{"2":{"3":1}}],[">",{"2":{"4":1,"5":1}}],["important",{"2":{"22":10,"26":10,"29":1,"30":1}}],["ime",{"2":{"17":1}}],["ie",{"2":{"16":1,"17":1}}],["insert",{"2":{"30":1}}],["instructions",{"2":{"27":1,"28":1,"29":2}}],["instruction",{"0":{"27":1},"1":{"28":1,"29":1,"30":1},"2":{"22":1,"26":1,"30":2}}],["internet",{"2":{"16":1,"17":1}}],["in",{"2":{"14":1,"22":2,"26":2,"29":1}}],["include",{"2":{"13":1,"16":1,"21":1,"25":1,"28":1}}],["if",{"2":{"4":1,"5":1,"14":2,"17":3,"22":10,"26":10,"29":1,"30":1}}],["is",{"2":{"4":1,"5":1,"7":1,"22":1,"26":1,"30":1}}],["directions",{"2":{"22":1,"26":1}}],["div",{"2":{"4":1}}],["dark",{"2":{"5":1,"7":2}}],["darker",{"2":{"4":1}}],["delimeter",{"2":{"30":1}}],["development",{"2":{"10":1}}],["default",{"2":{"4":1,"7":1,"14":2,"18":1,"22":1,"26":1,"30":1}}],["description",{"2":{"4":1,"7":1,"14":1,"18":1,"22":1,"26":1,"30":1}}],["design",{"2":{"3":1}}],["t",{"2":{"22":1,"26":1}}],["true",{"2":{"21":1,"22":9,"25":1,"26":9,"28":1,"29":1}}],["transparent",{"2":{"14":1}}],["target",{"2":{"17":1}}],["tests",{"2":{"11":1}}],["text",{"2":{"5":4}}],["thumb",{"2":{"14":1}}],["the",{"2":{"5":1,"7":1,"14":1,"22":8,"26":8,"30":1}}],["than",{"2":{"4":2}}],["top",{"2":{"22":4,"26":4}}],["toolkit",{"0":{"10":1}}],["to",{"2":{"4":1,"5":1,"6":1,"7":4,"18":1,"22":1,"26":1,"30":2}}],["todo",{"0":{"0":1,"1":1,"2":1,"8":1,"9":1,"11":1,"19":1,"23":1},"2":{"16":2,"17":2}}],["lt",{"2":{"22":2,"26":2,"30":2}}],["like",{"2":{"22":1,"26":1,"30":1}}],["list",{"2":{"22":5,"26":5,"29":3,"30":2}}],["lighten",{"2":{"14":1}}],["lighter",{"2":{"4":1}}],["light",{"2":{"5":1,"7":1}}],["left",{"2":{"22":4,"26":4}}],["less",{"2":{"4":2}}],["l",{"2":{"22":1,"26":1}}],["logrocket",{"2":{"3":2}}],["boolean",{"2":{"22":1,"26":1,"30":1}}],["both",{"2":{"22":2,"26":2}}],["bottom",{"2":{"22":4,"26":4}}],["border",{"2":{"14":1}}],["b",{"2":{"22":1,"26":1}}],["browser",{"2":{"17":1,"18":1}}],["browsers",{"2":{"16":1,"17":1}}],["brightness",{"0":{"4":1},"2":{"4":2,"5":10}}],["background",{"2":{"14":7}}],["bg",{"2":{"14":4}}],["build",{"0":{"15":1},"1":{"16":1},"2":{"13":1,"14":1,"17":1}}],["building",{"2":{"3":1}}],["blue",{"2":{"4":1}}],["blog",{"2":{"3":2}}],["better",{"2":{"4":1}}],["classnames",{"2":{"30":1}}],["create",{"0":{"20":1,"24":1,"27":1},"1":{"21":1,"22":1,"25":1,"26":1,"28":1,"29":1,"30":1},"2":{"11":1,"21":1,"22":1,"25":1,"26":1,"27":1,"28":1,"29":1}}],["custom",{"2":{"7":1,"30":1}}],["check",{"2":{"4":1,"7":1}}],["css",{"0":{"10":1},"2":{"3":2,"10":1,"18":1,"29":1,"30":1}}],["collisions",{"2":{"22":1,"26":1,"30":1}}],["color",{"0":{"4":1,"5":1,"6":1,"7":1},"2":{"3":1,"4":4,"5":8,"6":3,"7":8,"14":12}}],["colors",{"0":{"3":1},"1":{"4":1,"5":1,"6":1,"7":1},"2":{"3":1}}],["corner",{"2":{"14":1}}],["code",{"0":{"14":1,"17":1,"22":1,"26":1,"29":1},"1":{"18":1}}],["content",{"2":{"17":4,"18":2}}],["containing",{"2":{"10":1}}],["contrasty",{"2":{"5":1,"7":1}}],["contrast",{"0":{"5":1},"2":{"5":3,"7":1,"17":2}}],["convert",{"2":{"6":1}}],["compatibility",{"0":{"15":1},"1":{"16":1},"2":{"16":2,"17":1}}],["compares",{"2":{"5":1,"7":1}}],["com",{"2":{"3":2}}],["high",{"2":{"17":2}}],["has",{"2":{"14":1}}],["helper",{"2":{"21":1,"22":1,"25":1,"26":1}}],["helpful",{"2":{"10":1}}],["height",{"2":{"14":1}}],["hex2rgbcore",{"0":{"7":1},"2":{"7":1}}],["hex2rgba",{"0":{"6":1},"2":{"6":1}}],["hex",{"2":{"6":1}}],["hsl",{"2":{"3":2}}],["https",{"2":{"3":2}}]],"serializationVersion":2}';export{t as default};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var kt=Object.defineProperty;var Ft=(a,e,t)=>e in a?kt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Re=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{V as Ot,p as se,h as pe,ah as Xe,ai as Rt,aj as Ct,q as Ve,ak as Mt,d as At,D as be,al as et,am as Lt,an as Dt,s as zt,ao as Pt,v as Ce,P as ue,O as ye,ap as Vt,aq as jt,W as $t,R as Bt,$ as Wt,o as G,b as Kt,j as S,a0 as Jt,k as D,ar as Ut,as as qt,at as Gt,c as Y,n as tt,e as we,C as st,F as nt,a as de,t as he,au as Ht,av as it,aw as Qt,a6 as Yt,ac as Zt,ax as Xt,_ as es}from"./framework.DJJi9g99.js";import{u as ts,c as ss}from"./theme.CviQ0biq.js";const ns={root:()=>Ot(()=>import("./@localSearchIndexroot.CYE7S9pS.js"),[])};/*!
|
|
2
|
-
* tabbable 6.2.0
|
|
3
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
-
*/var vt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Te=vt.join(","),mt=typeof Element>"u",ie=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ie=!mt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},Ne=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},is=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},gt=function(e,t,s){if(Ne(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&ie.call(e,Te)&&n.unshift(e),n=n.filter(s),n},bt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!Ne(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=a(l,!0,s);s.flatten?n.push.apply(n,c):n.push({scopeParent:i,candidates:c})}else{var h=ie.call(i,Te);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var m=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),f=!Ne(m,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(m&&f){var b=a(m===!0?i.children:m.children,!0,s);s.flatten?n.push.apply(n,b):n.push({scopeParent:i,candidates:b})}else r.unshift.apply(r,i.children)}}return n},yt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ne=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||is(e))&&!yt(e)?0:e.tabIndex},rs=function(e,t){var s=ne(e);return s<0&&t&&!yt(e)?0:s},as=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},wt=function(e){return e.tagName==="INPUT"},os=function(e){return wt(e)&&e.type==="hidden"},ls=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},cs=function(e,t){for(var s=0;s<e.length;s++)if(e[s].checked&&e[s].form===t)return e[s]},us=function(e){if(!e.name)return!0;var t=e.form||Ie(e),s=function(o){return t.querySelectorAll('input[type="radio"][name="'+o+'"]')},n;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")n=s(window.CSS.escape(e.name));else try{n=s(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var r=cs(n,e.form);return!r||r===e},ds=function(e){return wt(e)&&e.type==="radio"},hs=function(e){return ds(e)&&!us(e)},fs=function(e){var t,s=e&&Ie(e),n=(t=s)===null||t===void 0?void 0:t.host,r=!1;if(s&&s!==e){var i,o,l;for(r=!!((i=n)!==null&&i!==void 0&&(o=i.ownerDocument)!==null&&o!==void 0&&o.contains(n)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!r&&n;){var c,h,m;s=Ie(n),n=(c=s)===null||c===void 0?void 0:c.host,r=!!((h=n)!==null&&h!==void 0&&(m=h.ownerDocument)!==null&&m!==void 0&&m.contains(n))}}return r},rt=function(e){var t=e.getBoundingClientRect(),s=t.width,n=t.height;return s===0&&n===0},ps=function(e,t){var s=t.displayCheck,n=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var r=ie.call(e,"details>summary:first-of-type"),i=r?e.parentElement:e;if(ie.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var l=e.parentElement,c=Ie(e);if(l&&!l.shadowRoot&&n(l)===!0)return rt(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(fs(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return rt(e);return!1},vs=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s<t.children.length;s++){var n=t.children.item(s);if(n.tagName==="LEGEND")return ie.call(t,"fieldset[disabled] *")?!0:!n.contains(e)}return!0}t=t.parentElement}return!1},ke=function(e,t){return!(t.disabled||Ne(t)||os(t)||ps(t,e)||ls(t)||vs(t))},je=function(e,t){return!(hs(t)||ne(t)<0||!ke(e,t))},ms=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},gs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,l=rs(o,i),c=i?a(n.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):s.push({documentOrder:r,tabIndex:l,item:n,isScope:i,content:c})}),s.sort(as).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},bs=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:je.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ms}):s=gt(e,t.includeContainer,je.bind(null,t)),gs(s)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:ke.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=gt(e,t.includeContainer,ke.bind(null,t)),s},re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,Te)===!1?!1:je(t,e)},ws=vt.concat("iframe").join(","),Me=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,ws)===!1?!1:ke(t,e)};/*!
|
|
5
|
-
* focus-trap 7.5.4
|
|
6
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
7
|
-
*/function at(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),t.push.apply(t,s)}return t}function ot(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?at(Object(t),!0).forEach(function(s){xs(a,s,t[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):at(Object(t)).forEach(function(s){Object.defineProperty(a,s,Object.getOwnPropertyDescriptor(t,s))})}return a}function xs(a,e,t){return e=_s(e),e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function Ss(a,e){if(typeof a!="object"||a===null)return a;var t=a[Symbol.toPrimitive];if(t!==void 0){var s=t.call(a,e||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function _s(a){var e=Ss(a,"string");return typeof e=="symbol"?e:String(e)}var lt={activateTrap:function(e,t){if(e.length>0){var s=e[e.length-1];s!==t&&s.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var s=e.indexOf(t);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},Es=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ts=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ve=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Is=function(e){return ve(e)&&!e.shiftKey},Ns=function(e){return ve(e)&&e.shiftKey},ct=function(e){return setTimeout(e,0)},ut=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},fe=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n<t;n++)s[n-1]=arguments[n];return typeof e=="function"?e.apply(void 0,s):e},xe=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},ks=[],Fs=function(e,t){var s=(t==null?void 0:t.document)||document,n=(t==null?void 0:t.trapStack)||ks,r=ot({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Is,isKeyBackward:Ns},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,l=function(u,d,g){return u&&u[d]!==void 0?u[d]:r[g||d]},c=function(u,d){var g=typeof(d==null?void 0:d.composedPath)=="function"?d.composedPath():void 0;return i.containerGroups.findIndex(function(_){var E=_.container,k=_.tabbableNodes;return E.contains(u)||(g==null?void 0:g.includes(E))||k.find(function(F){return F===u})})},h=function(u){var d=r[u];if(typeof d=="function"){for(var g=arguments.length,_=new Array(g>1?g-1:0),E=1;E<g;E++)_[E-1]=arguments[E];d=d.apply(void 0,_)}if(d===!0&&(d=void 0),!d){if(d===void 0||d===!1)return d;throw new Error("`".concat(u,"` was specified but was not a node, or did not return a node"))}var k=d;if(typeof d=="string"&&(k=s.querySelector(d),!k))throw new Error("`".concat(u,"` as selector refers to no known node"));return k},m=function(){var u=h("initialFocus");if(u===!1)return!1;if(u===void 0||!Me(u,r.tabbableOptions))if(c(s.activeElement)>=0)u=s.activeElement;else{var d=i.tabbableGroups[0],g=d&&d.firstTabbableNode;u=g||h("fallbackFocus")}if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},f=function(){if(i.containerGroups=i.containers.map(function(u){var d=bs(u,r.tabbableOptions),g=ys(u,r.tabbableOptions),_=d.length>0?d[0]:void 0,E=d.length>0?d[d.length-1]:void 0,k=g.find(function(v){return re(v)}),F=g.slice().reverse().find(function(v){return re(v)}),M=!!d.find(function(v){return ne(v)>0});return{container:u,tabbableNodes:d,focusableNodes:g,posTabIndexesFound:M,firstTabbableNode:_,lastTabbableNode:E,firstDomTabbableNode:k,lastDomTabbableNode:F,nextTabbableNode:function(p){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=d.indexOf(p);return O<0?N?g.slice(g.indexOf(p)+1).find(function(P){return re(P)}):g.slice(0,g.indexOf(p)).reverse().find(function(P){return re(P)}):d[O+(N?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(u){return u.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},b=function T(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?T(d.shadowRoot):d},y=function T(u){if(u!==!1&&u!==b(document)){if(!u||!u.focus){T(m());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,Es(u)&&u.select()}},x=function(u){var d=h("setReturnFocus",u);return d||(d===!1?!1:u)},w=function(u){var d=u.target,g=u.event,_=u.isBackward,E=_===void 0?!1:_;d=d||xe(g),f();var k=null;if(i.tabbableGroups.length>0){var F=c(d,g),M=F>=0?i.containerGroups[F]:void 0;if(F<0)E?k=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:k=i.tabbableGroups[0].firstTabbableNode;else if(E){var v=ut(i.tabbableGroups,function(I){var L=I.firstTabbableNode;return d===L});if(v<0&&(M.container===d||Me(d,r.tabbableOptions)&&!re(d,r.tabbableOptions)&&!M.nextTabbableNode(d,!1))&&(v=F),v>=0){var p=v===0?i.tabbableGroups.length-1:v-1,N=i.tabbableGroups[p];k=ne(d)>=0?N.lastTabbableNode:N.lastDomTabbableNode}else ve(g)||(k=M.nextTabbableNode(d,!1))}else{var O=ut(i.tabbableGroups,function(I){var L=I.lastTabbableNode;return d===L});if(O<0&&(M.container===d||Me(d,r.tabbableOptions)&&!re(d,r.tabbableOptions)&&!M.nextTabbableNode(d))&&(O=F),O>=0){var P=O===i.tabbableGroups.length-1?0:O+1,V=i.tabbableGroups[P];k=ne(d)>=0?V.firstTabbableNode:V.firstDomTabbableNode}else ve(g)||(k=M.nextTabbableNode(d))}}else k=h("fallbackFocus");return k},R=function(u){var d=xe(u);if(!(c(d,u)>=0)){if(fe(r.clickOutsideDeactivates,u)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}fe(r.allowOutsideClick,u)||u.preventDefault()}},C=function(u){var d=xe(u),g=c(d,u)>=0;if(g||d instanceof Document)g&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var _,E=!0;if(i.mostRecentlyFocusedNode)if(ne(i.mostRecentlyFocusedNode)>0){var k=c(i.mostRecentlyFocusedNode),F=i.containerGroups[k].tabbableNodes;if(F.length>0){var M=F.findIndex(function(v){return v===i.mostRecentlyFocusedNode});M>=0&&(r.isKeyForward(i.recentNavEvent)?M+1<F.length&&(_=F[M+1],E=!1):M-1>=0&&(_=F[M-1],E=!1))}}else i.containerGroups.some(function(v){return v.tabbableNodes.some(function(p){return ne(p)>0})})||(E=!1);else E=!1;E&&(_=w({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),y(_||i.mostRecentlyFocusedNode||m())}i.recentNavEvent=void 0},K=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var g=w({event:u,isBackward:d});g&&(ve(u)&&u.preventDefault(),y(g))},H=function(u){if(Ts(u)&&fe(r.escapeDeactivates,u)!==!1){u.preventDefault(),o.deactivate();return}(r.isKeyForward(u)||r.isKeyBackward(u))&&K(u,r.isKeyBackward(u))},W=function(u){var d=xe(u);c(d,u)>=0||fe(r.clickOutsideDeactivates,u)||fe(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},j=function(){if(i.active)return lt.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?ct(function(){y(m())}):y(m()),s.addEventListener("focusin",C,!0),s.addEventListener("mousedown",R,{capture:!0,passive:!1}),s.addEventListener("touchstart",R,{capture:!0,passive:!1}),s.addEventListener("click",W,{capture:!0,passive:!1}),s.addEventListener("keydown",H,{capture:!0,passive:!1}),o},$=function(){if(i.active)return s.removeEventListener("focusin",C,!0),s.removeEventListener("mousedown",R,!0),s.removeEventListener("touchstart",R,!0),s.removeEventListener("click",W,!0),s.removeEventListener("keydown",H,!0),o},Oe=function(u){var d=u.some(function(g){var _=Array.from(g.removedNodes);return _.some(function(E){return E===i.mostRecentlyFocusedNode})});d&&y(m())},A=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Oe):void 0,J=function(){A&&(A.disconnect(),i.active&&!i.paused&&i.containers.map(function(u){A.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(u){if(i.active)return this;var d=l(u,"onActivate"),g=l(u,"onPostActivate"),_=l(u,"checkCanFocusTrap");_||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,d==null||d();var E=function(){_&&f(),j(),J(),g==null||g()};return _?(_(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(u){if(!i.active)return this;var d=ot({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,$(),i.active=!1,i.paused=!1,J(),lt.deactivateTrap(n,o);var g=l(d,"onDeactivate"),_=l(d,"onPostDeactivate"),E=l(d,"checkCanReturnFocus"),k=l(d,"returnFocus","returnFocusOnDeactivate");g==null||g();var F=function(){ct(function(){k&&y(x(i.nodeFocusedBeforeActivation)),_==null||_()})};return k&&E?(E(x(i.nodeFocusedBeforeActivation)).then(F,F),this):(F(),this)},pause:function(u){if(i.paused||!i.active)return this;var d=l(u,"onPause"),g=l(u,"onPostPause");return i.paused=!0,d==null||d(),$(),J(),g==null||g(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=l(u,"onUnpause"),g=l(u,"onPostUnpause");return i.paused=!1,d==null||d(),f(),j(),J(),g==null||g(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(g){return typeof g=="string"?s.querySelector(g):g}),i.active&&f(),J(),this}},o.updateContainerElements(e),o};function Os(a,e={}){let t;const{immediate:s,...n}=e,r=se(!1),i=se(!1),o=f=>t&&t.activate(f),l=f=>t&&t.deactivate(f),c=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)},m=pe(()=>{const f=Xe(a);return(Array.isArray(f)?f:[f]).map(b=>{const y=Xe(b);return typeof y=="string"?y:Rt(y)}).filter(Ct)});return Ve(m,f=>{f.length&&(t=Fs(f,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Mt(()=>l()),{hasFocus:r,isPaused:i,activate:o,deactivate:l,pause:c,unpause:h}}class oe{constructor(e,t=!0,s=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=s,this.iframesTimeout=n}static matches(e,t){const s=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let r=!1;return s.every(i=>n.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(s=>{const n=t.filter(r=>r.contains(s)).length>0;t.indexOf(s)===-1&&!n&&t.push(s)}),t}getIframeContents(e,t,s=()=>{}){let n;try{const r=e.contentWindow;if(n=r.document,!r||!n)throw new Error("iframe inaccessible")}catch{s()}n&&t(n)}isIframeBlank(e){const t="about:blank",s=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&s!==t&&s}observeIframeLoad(e,t,s){let n=!1,r=null;const i=()=>{if(!n){n=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,s))}catch{s()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,s){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,s):this.getIframeContents(e,t,s):this.observeIframeLoad(e,t,s)}catch{s()}}waitForIframes(e,t){let s=0;this.forEachIframe(e,()=>!0,n=>{s++,this.waitForIframes(n.querySelector("html"),()=>{--s||t()})},n=>{n||t()})}forEachIframe(e,t,s,n=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const l=()=>{--i<=0&&n(o)};i||l(),r.forEach(c=>{oe.matches(c,this.exclude)?l():this.onIframeReady(c,h=>{t(c)&&(o++,s(h)),l()},l)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new oe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,s){const n=e.compareDocumentPosition(s),r=Node.DOCUMENT_POSITION_PRECEDING;if(n&r)if(t!==null){const i=t.compareDocumentPosition(s),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let s;return t===null?s=e.nextNode():s=e.nextNode()&&e.nextNode(),{prevNode:t,node:s}}checkIframeFilter(e,t,s,n){let r=!1,i=!1;return n.forEach((o,l)=>{o.val===s&&(r=l,i=o.handled)}),this.compareNodeIframe(e,t,s)?(r===!1&&!i?n.push({val:s,handled:!0}):r!==!1&&!i&&(n[r].handled=!0),!0):(r===!1&&n.push({val:s,handled:!1}),!1)}handleOpenIframes(e,t,s,n){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,s,n)})})}iterateThroughNodes(e,t,s,n,r){const i=this.createIterator(t,e,n);let o=[],l=[],c,h,m=()=>({prevNode:h,node:c}=this.getIteratorNode(i),c);for(;m();)this.iframes&&this.forEachIframe(t,f=>this.checkIframeFilter(c,h,f,o),f=>{this.createInstanceOnIframe(f).forEachNode(e,b=>l.push(b),n)}),l.push(c);l.forEach(f=>{s(f)}),this.iframes&&this.handleOpenIframes(o,e,s,n),r()}forEachNode(e,t,s,n=()=>{}){const r=this.getContexts();let i=r.length;i||n(),r.forEach(o=>{const l=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,l):l()})}}let Rs=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new oe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const s=this.opt.log;this.opt.debug&&typeof s=="object"&&typeof s[t]=="function"&&s[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,s=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(l)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(l)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,s,n)=>{let r=n.charAt(s+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const s=this.opt.ignorePunctuation;return Array.isArray(s)&&s.length&&t.push(this.escapeStr(s.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",s=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(r=>{s.every(i=>{if(i.indexOf(r)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let s=this.opt.accuracy,n=typeof s=="string"?s:s.value,r=typeof s=="string"?[]:s.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(s=>{this.opt.separateWordSearch?s.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):s.trim()&&t.indexOf(s)===-1&&t.push(s)}),{keywords:t.sort((s,n)=>n.length-s.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let s=0;return e.sort((n,r)=>n.start-r.start).forEach(n=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(n,s);o&&(n.start=r,n.length=i-r,t.push(n),s=i)}),t}callNoMatchOnInvalidRanges(e,t){let s,n,r=!1;return e&&typeof e.start<"u"?(s=parseInt(e.start,10),n=s+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-s>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:s,end:n,valid:r}}checkWhitespaceRanges(e,t,s){let n,r=!0,i=s.length,o=t-i,l=parseInt(e.start,10)-o;return l=l>i?i:l,n=l+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||n-l<0||l>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(l,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:n,valid:r}}getTextNodes(e){let t="",s=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{s.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:s})})}matchesExclude(e){return oe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,s){const n=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(s-t);let o=document.createElement(n);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,s,n,r){e.nodes.every((i,o)=>{const l=e.nodes[o+1];if(typeof l>"u"||l.start>t){if(!n(i.node))return!1;const c=t-i.start,h=(s>i.end?i.end:s)-i.start,m=e.value.substr(0,i.start),f=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,c,h),e.value=m+f,e.nodes.forEach((b,y)=>{y>=o&&(e.nodes[y].start>0&&y!==o&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),s-=h,r(i.node.previousSibling,i.start),s>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(l=>{l=l.node;let c;for(;(c=e.exec(l.textContent))!==null&&c[i]!=="";){if(!s(c[i],l))continue;let h=c.index;if(i!==0)for(let m=1;m<i;m++)h+=c[m].length;l=this.wrapRangeInTextNode(l,h,h+c[i].length),n(l.previousSibling),e.lastIndex=0}}),r()})}wrapMatchesAcrossElements(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{let l;for(;(l=e.exec(o.value))!==null&&l[i]!=="";){let c=l.index;if(i!==0)for(let m=1;m<i;m++)c+=l[m].length;const h=c+l[i].length;this.wrapRangeInMappedTextNode(o,c,h,m=>s(l[i],m),(m,f)=>{e.lastIndex=f,n(m)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,l)=>{let{start:c,end:h,valid:m}=this.checkWhitespaceRanges(o,i,r.value);m&&this.wrapRangeInMappedTextNode(r,c,h,f=>t(f,o,r.value.substring(c,h),l),f=>{s(f,o)})}),n()})}unwrapMatches(e){const t=e.parentNode;let s=document.createDocumentFragment();for(;e.firstChild;)s.appendChild(e.removeChild(e.firstChild));t.replaceChild(s,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let s=0,n="wrapMatches";const r=i=>{s++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,s),r,()=>{s===0&&this.opt.noMatch(e),this.opt.done(s)})}mark(e,t){this.opt=t;let s=0,n="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",l=c=>{let h=new RegExp(this.createRegExp(c),`gm${o}`),m=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(f,b)=>this.opt.filter(b,c,s,m),f=>{m++,s++,this.opt.each(f)},()=>{m===0&&this.opt.noMatch(c),r[i-1]===c?this.opt.done(s):l(r[r.indexOf(c)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):l(r[0])}markRanges(e,t){this.opt=t;let s=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(r,i,o,l)=>this.opt.filter(r,i,o,l),(r,i)=>{s++,this.opt.each(r,i)},()=>{this.opt.done(s)})):this.opt.done(s)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,s=>{this.unwrapMatches(s)},s=>{const n=oe.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Cs(a){const e=new Rs(a);return this.mark=(t,s)=>(e.mark(t,s),this),this.markRegExp=(t,s)=>(e.markRegExp(t,s),this),this.markRanges=(t,s)=>(e.markRanges(t,s),this),this.unmark=t=>(e.unmark(t),this),this}function Ee(a,e,t,s){function n(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{c(s.next(h))}catch(m){i(m)}}function l(h){try{c(s.throw(h))}catch(m){i(m)}}function c(h){h.done?r(h.value):n(h.value).then(o,l)}c((s=s.apply(a,[])).next())})}const Ms="ENTRIES",xt="KEYS",St="VALUES",z="";class Ae{constructor(e,t){const s=e._tree,n=Array.from(s.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:s,keys:n}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=ae(this._path);if(ae(t)===z)return{done:!1,value:this.result()};const s=e.get(ae(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=ae(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>ae(e)).filter(e=>e!==z).join("")}value(){return ae(this._path).node.get(z)}result(){switch(this._type){case St:return this.value();case xt:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const ae=a=>a[a.length-1],As=(a,e,t)=>{const s=new Map;if(e===void 0)return s;const n=e.length+1,r=n+t,i=new Uint8Array(r*n).fill(t+1);for(let o=0;o<n;++o)i[o]=o;for(let o=1;o<r;++o)i[o*n]=o;return _t(a,e,t,s,i,1,n,""),s},_t=(a,e,t,s,n,r,i,o)=>{const l=r*i;e:for(const c of a.keys())if(c===z){const h=n[l-1];h<=t&&s.set(o,[a.get(c),h])}else{let h=r;for(let m=0;m<c.length;++m,++h){const f=c[m],b=i*h,y=b-i;let x=n[b];const w=Math.max(0,h-t-1),R=Math.min(i-1,h+t);for(let C=w;C<R;++C){const K=f!==e[C],H=n[y+C]+ +K,W=n[y+C+1]+1,j=n[b+C]+1,$=n[b+C+1]=Math.min(H,W,j);$<x&&(x=$)}if(x>t)continue e}_t(a.get(c),e,t,s,n,h,i,o+c)}};class Z{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,s]=Fe(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Ke(s);for(const i of n.keys())if(i!==z&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new Z(o,e)}}return new Z(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ls(this._tree,e)}entries(){return new Ae(this,Ms)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return As(this._tree,e,t)}get(e){const t=$e(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=$e(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Ae(this,xt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,Le(this._tree,e).set(z,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=Le(this._tree,e);return s.set(z,t(s.get(z))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=Le(this._tree,e);let n=s.get(z);return n===void 0&&s.set(z,n=t()),n}values(){return new Ae(this,St)}[Symbol.iterator](){return this.entries()}static from(e){const t=new Z;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return Z.from(Object.entries(e))}}const Fe=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==z&&e.startsWith(s))return t.push([a,s]),Fe(a.get(s),e.slice(s.length),t);return t.push([a,e]),Fe(void 0,"",t)},$e=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return $e(a.get(t),e.slice(t.length))},Le=(a,e)=>{const t=e.length;e:for(let s=0;a&&s<t;){for(const r of a.keys())if(r!==z&&e[s]===r[0]){const i=Math.min(t-s,r.length);let o=1;for(;o<i&&e[s+o]===r[o];)++o;const l=a.get(r);if(o===r.length)a=l;else{const c=new Map;c.set(r.slice(o),l),a.set(e.slice(s,s+o),c),a.delete(r),a=c}s+=o;continue e}const n=new Map;return a.set(e.slice(s),n),n}return a},Ls=(a,e)=>{const[t,s]=Fe(a,e);if(t!==void 0){if(t.delete(z),t.size===0)Et(s);else if(t.size===1){const[n,r]=t.entries().next().value;Tt(s,n,r)}}},Et=a=>{if(a.length===0)return;const[e,t]=Ke(a);if(e.delete(t),e.size===0)Et(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==z&&Tt(a.slice(0,-1),s,n)}},Tt=(a,e,t)=>{if(a.length===0)return;const[s,n]=Ke(a);s.set(n+e,t),s.delete(n)},Ke=a=>a[a.length-1],Je="or",It="and",Ds="and_not";class le{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?Pe:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},ze),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},dt),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},$s),e.autoSuggestOptions||{})}),this._index=new Z,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=We,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:s,processTerm:n,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const l=this.addDocumentId(o);this.saveStoredFields(l,e);for(const c of r){const h=t(e,c);if(h==null)continue;const m=s(h.toString(),c),f=this._fieldIds[c],b=new Set(m).size;this.addFieldLength(l,f,this._documentCount-1,b);for(const y of m){const x=n(y,c);if(Array.isArray(x))for(const w of x)this.addTerm(f,l,w);else x&&this.addTerm(f,l,x)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:s=10}=t,n={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:l},c,h)=>(o.push(c),(h+1)%s===0?{chunk:[],promise:l.then(()=>new Promise(m=>setTimeout(m,0))).then(()=>this.addAll(o))}:{chunk:o,promise:l}),n);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:s,extractField:n,fields:r,idField:i}=this._options,o=n(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const l=this._idToShortId.get(o);if(l==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const c of r){const h=n(e,c);if(h==null)continue;const m=t(h.toString(),c),f=this._fieldIds[c],b=new Set(m).size;this.removeFieldLength(l,f,this._documentCount,b);for(const y of m){const x=s(y,c);if(Array.isArray(x))for(const w of x)this.removeTerm(f,l,w);else x&&this.removeTerm(f,l,x)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(o),this._fieldLength.delete(l),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Z,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((s,n)=>{this.removeFieldLength(t,n,this._documentCount,s)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:s,batchWait:n}=this._options.autoVacuum;this.conditionalVacuum({batchSize:s,batchWait:n},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const s of e)this.discard(s)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:s}=this._options,n=s(e,t);this.discard(n),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const s=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=We,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Ee(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||Be.batchSize,r=e.batchWait||Be.batchWait;let i=1;for(const[o,l]of this._index){for(const[c,h]of l)for(const[m]of h)this._documentIds.has(m)||(h.size<=1?l.delete(c):h.delete(m));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(c=>setTimeout(c,r))),i+=1}this._dirtCount-=s}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:s}=e;return t=t||Pe.minDirtCount,s=s||Pe.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=s}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const s=this.executeQuery(e,t),n=[];for(const[r,{score:i,terms:o,match:l}]of s){const c=o.length||1,h={id:this._documentIds.get(r),score:i*c,terms:Object.keys(l),queryTerms:o,match:l};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&n.push(h)}return e===le.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(ft),n}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const s=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),l=s.get(o);l!=null?(l.score+=r,l.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:l}]of s)n.push({suggestion:r,terms:o,score:i/l});return n.sort(ft),n}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return Ee(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(ze.hasOwnProperty(e))return De(ze,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=Se(n),l._fieldLength=Se(r),l._storedFields=Se(i);for(const[c,h]of l._documentIds)l._idToShortId.set(h,c);for(const[c,h]of s){const m=new Map;for(const f of Object.keys(h)){let b=h[f];o===1&&(b=b.ds),m.set(parseInt(f,10),Se(b))}l._index.set(c,m)}return l}static loadJSAsync(e,t){return Ee(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=yield _e(n),l._fieldLength=yield _e(r),l._storedFields=yield _e(i);for(const[h,m]of l._documentIds)l._idToShortId.set(m,h);let c=0;for(const[h,m]of s){const f=new Map;for(const b of Object.keys(m)){let y=m[b];o===1&&(y=y.ds),f.set(parseInt(b,10),yield _e(y))}++c%1e3===0&&(yield Nt(0)),l._index.set(h,f)}return l})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const c=new le(t);return c._documentCount=s,c._nextId=n,c._idToShortId=new Map,c._fieldIds=r,c._avgFieldLength=i,c._dirtCount=o||0,c._index=new Z,c}executeQuery(e,t={}){if(e===le.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const f=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),b=e.queries.map(y=>this.executeQuery(y,f));return this.combineResults(b,f.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:l}=i,m=o(e).flatMap(f=>l(f)).filter(f=>!!f).map(js(i)).map(f=>this.executeQuerySpec(f,i));return this.combineResults(m,i.combineWith)}executeQuerySpec(e,t){const s=Object.assign(Object.assign({},this._options.searchOptions),t),n=(s.fields||this._options.fields).reduce((x,w)=>Object.assign(Object.assign({},x),{[w]:De(s.boost,w)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:l}=s,{fuzzy:c,prefix:h}=Object.assign(Object.assign({},dt.weights),i),m=this._index.get(e.term),f=this.termResults(e.term,e.term,1,e.termBoost,m,n,r,l);let b,y;if(e.prefix&&(b=this._index.atPrefix(e.term)),e.fuzzy){const x=e.fuzzy===!0?.2:e.fuzzy,w=x<1?Math.min(o,Math.round(e.term.length*x)):x;w&&(y=this._index.fuzzyGet(e.term,w))}if(b)for(const[x,w]of b){const R=x.length-e.term.length;if(!R)continue;y==null||y.delete(x);const C=h*x.length/(x.length+.3*R);this.termResults(e.term,x,C,e.termBoost,w,n,r,l,f)}if(y)for(const x of y.keys()){const[w,R]=y.get(x);if(!R)continue;const C=c*x.length/(x.length+R);this.termResults(e.term,x,C,e.termBoost,w,n,r,l,f)}return f}executeWildcardQuery(e){const t=new Map,s=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[n,r]of this._documentIds){const i=s.boostDocument?s.boostDocument(r,"",this._storedFields.get(n)):1;t.set(n,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Je){if(e.length===0)return new Map;const s=t.toLowerCase(),n=zs[s];if(!n)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(n)||new Map}toJSON(){const e=[];for(const[t,s]of this._index){const n={};for(const[r,i]of s)n[r]=Object.fromEntries(i);e.push([t,n])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,s,n,r,i,o,l,c=new Map){if(r==null)return c;for(const h of Object.keys(i)){const m=i[h],f=this._fieldIds[h],b=r.get(f);if(b==null)continue;let y=b.size;const x=this._avgFieldLength[f];for(const w of b.keys()){if(!this._documentIds.has(w)){this.removeTerm(f,w,t),y-=1;continue}const R=o?o(this._documentIds.get(w),t,this._storedFields.get(w)):1;if(!R)continue;const C=b.get(w),K=this._fieldLength.get(w)[f],H=Vs(C,y,this._documentCount,K,x,l),W=s*n*m*R*H,j=c.get(w);if(j){j.score+=W,Bs(j.terms,e);const $=De(j.match,t);$?$.push(h):j.match[t]=[h]}else c.set(w,{score:W,terms:[e],match:{[t]:[h]}})}}return c}addTerm(e,t,s){const n=this._index.fetch(s,pt);let r=n.get(e);if(r==null)r=new Map,r.set(t,1),n.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,s){if(!this._index.has(s)){this.warnDocumentChanged(t,e,s);return}const n=this._index.fetch(s,pt),r=n.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,s):r.get(t)<=1?r.size<=1?n.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(s).size===0&&this._index.delete(s)}warnDocumentChanged(e,t,s){for(const n of Object.keys(this._fieldIds))if(this._fieldIds[n]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${s}" was not present in field "${n}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;t<e.length;t++)this._fieldIds[e[t]]=t}addFieldLength(e,t,s,n){let r=this._fieldLength.get(e);r==null&&this._fieldLength.set(e,r=[]),r[t]=n;const o=(this._avgFieldLength[t]||0)*s+n;this._avgFieldLength[t]=o/(s+1)}removeFieldLength(e,t,s,n){if(s===1){this._avgFieldLength[t]=0;return}const r=this._avgFieldLength[t]*s-n;this._avgFieldLength[t]=r/(s-1)}saveStoredFields(e,t){const{storeFields:s,extractField:n}=this._options;if(s==null||s.length===0)return;let r=this._storedFields.get(e);r==null&&this._storedFields.set(e,r={});for(const i of s){const o=n(t,i);o!==void 0&&(r[i]=o)}}}le.wildcard=Symbol("*");const De=(a,e)=>Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,zs={[Je]:(a,e)=>{for(const t of e.keys()){const s=a.get(t);if(s==null)a.set(t,e.get(t));else{const{score:n,terms:r,match:i}=e.get(t);s.score=s.score+n,s.match=Object.assign(s.match,i),ht(s.terms,r)}}return a},[It]:(a,e)=>{const t=new Map;for(const s of e.keys()){const n=a.get(s);if(n==null)continue;const{score:r,terms:i,match:o}=e.get(s);ht(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[Ds]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},Ps={k:1.2,b:.7,d:.5},Vs=(a,e,t,s,n,r)=>{const{k:i,b:o,d:l}=r;return Math.log(1+(t-e+.5)/(e+.5))*(l+a*(i+1)/(a+i*(1-o+o*s/n)))},js=a=>(e,t,s)=>{const n=typeof a.fuzzy=="function"?a.fuzzy(e,t,s):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,s):a.prefix===!0,i=typeof a.boostTerm=="function"?a.boostTerm(e,t,s):1;return{term:e,fuzzy:n,prefix:r,termBoost:i}},ze={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Ws),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},dt={combineWith:Je,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Ps},$s={combineWith:It,prefix:(a,e,t)=>e===t.length-1},Be={batchSize:1e3,batchWait:10},We={minDirtFactor:.1,minDirtCount:20},Pe=Object.assign(Object.assign({},Be),We),Bs=(a,e)=>{a.includes(e)||a.push(e)},ht=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},ft=({score:a},{score:e})=>e-a,pt=()=>new Map,Se=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},_e=a=>Ee(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const s of Object.keys(a))e.set(parseInt(s,10),a[s]),++t%1e3===0&&(yield Nt(0));return e}),Nt=a=>new Promise(e=>setTimeout(e,a)),Ws=/[\n\r\p{Z}\p{P}]+/u;class Ks{constructor(e=10){Re(this,"max");Re(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const Js=["aria-owns"],Us={class:"shell"},qs=["title"],Gs={class:"search-actions before"},Hs=["title"],Qs=["placeholder"],Ys={class:"search-actions"},Zs=["title"],Xs=["disabled","title"],en=["id","role","aria-labelledby"],tn=["aria-selected"],sn=["href","aria-label","onMouseenter","onFocusin"],nn={class:"titles"},rn=["innerHTML"],an={class:"title main"},on=["innerHTML"],ln={key:0,class:"excerpt-wrapper"},cn={key:0,class:"excerpt",inert:""},un=["innerHTML"],dn={key:0,class:"no-results"},hn={class:"search-keyboard-shortcuts"},fn=["aria-label"],pn=["aria-label"],vn=["aria-label"],mn=["aria-label"],gn=At({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var F,M;const t=e,s=be(),n=be(),r=be(ns),i=ts(),{activate:o}=Os(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:l,theme:c}=i,h=et(async()=>{var v,p,N,O,P,V,I,L,U;return it(le.loadJSON((N=await((p=(v=r.value)[l.value])==null?void 0:p.call(v)))==null?void 0:N.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((O=c.value.search)==null?void 0:O.provider)==="local"&&((V=(P=c.value.search.options)==null?void 0:P.miniSearch)==null?void 0:V.searchOptions)},...((I=c.value.search)==null?void 0:I.provider)==="local"&&((U=(L=c.value.search.options)==null?void 0:L.miniSearch)==null?void 0:U.options)}))}),f=pe(()=>{var v,p;return((v=c.value.search)==null?void 0:v.provider)==="local"&&((p=c.value.search.options)==null?void 0:p.disableQueryPersistence)===!0}).value?se(""):Lt("vitepress:local-search-filter",""),b=Dt("vitepress:local-search-detailed-list",((F=c.value.search)==null?void 0:F.provider)==="local"&&((M=c.value.search.options)==null?void 0:M.detailedView)===!0),y=pe(()=>{var v,p,N;return((v=c.value.search)==null?void 0:v.provider)==="local"&&(((p=c.value.search.options)==null?void 0:p.disableDetailedView)===!0||((N=c.value.search.options)==null?void 0:N.detailedView)===!1)}),x=pe(()=>{var p,N,O,P,V,I,L;const v=((p=c.value.search)==null?void 0:p.options)??c.value.algolia;return((V=(P=(O=(N=v==null?void 0:v.locales)==null?void 0:N[l.value])==null?void 0:O.translations)==null?void 0:P.button)==null?void 0:V.buttonText)||((L=(I=v==null?void 0:v.translations)==null?void 0:I.button)==null?void 0:L.buttonText)||"Search"});zt(()=>{y.value&&(b.value=!1)});const w=be([]),R=se(!1);Ve(f,()=>{R.value=!1});const C=et(async()=>{if(n.value)return it(new Cs(n.value))},null),K=new Ks(16);Pt(()=>[h.value,f.value,b.value],async([v,p,N],O,P)=>{var me,Ue,qe,Ge;(O==null?void 0:O[0])!==v&&K.clear();let V=!1;if(P(()=>{V=!0}),!v)return;w.value=v.search(p).slice(0,16),R.value=!0;const I=N?await Promise.all(w.value.map(B=>H(B.id))):[];if(V)return;for(const{id:B,mod:X}of I){const ee=B.slice(0,B.indexOf("#"));let Q=K.get(ee);if(Q)continue;Q=new Map,K.set(ee,Q);const q=X.default??X;if(q!=null&&q.render||q!=null&&q.setup){const te=Qt(q);te.config.warnHandler=()=>{},te.provide(Yt,i),Object.defineProperties(te.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const He=document.createElement("div");te.mount(He),He.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ce=>{var Ze;const ge=(Ze=ce.querySelector("a"))==null?void 0:Ze.getAttribute("href"),Qe=(ge==null?void 0:ge.startsWith("#"))&&ge.slice(1);if(!Qe)return;let Ye="";for(;(ce=ce.nextElementSibling)&&!/^h[1-6]$/i.test(ce.tagName);)Ye+=ce.outerHTML;Q.set(Qe,Ye)}),te.unmount()}if(V)return}const L=new Set;if(w.value=w.value.map(B=>{const[X,ee]=B.id.split("#"),Q=K.get(X),q=(Q==null?void 0:Q.get(ee))??"";for(const te in B.match)L.add(te);return{...B,text:q}}),await ue(),V)return;await new Promise(B=>{var X;(X=C.value)==null||X.unmark({done:()=>{var ee;(ee=C.value)==null||ee.markRegExp(k(L),{done:B})}})});const U=((me=s.value)==null?void 0:me.querySelectorAll(".result .excerpt"))??[];for(const B of U)(Ue=B.querySelector('mark[data-markjs="true"]'))==null||Ue.scrollIntoView({block:"center"});(Ge=(qe=n.value)==null?void 0:qe.firstElementChild)==null||Ge.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function H(v){const p=Zt(v.slice(0,v.indexOf("#")));try{if(!p)throw new Error(`Cannot find file for id: ${v}`);return{id:v,mod:await import(p)}}catch(N){return console.error(N),{id:v,mod:{}}}}const W=se(),j=pe(()=>{var v;return((v=f.value)==null?void 0:v.length)<=0});function $(v=!0){var p,N;(p=W.value)==null||p.focus(),v&&((N=W.value)==null||N.select())}Ce(()=>{$()});function Oe(v){v.pointerType==="mouse"&&$()}const A=se(-1),J=se(!1);Ve(w,v=>{A.value=v.length?0:-1,T()});function T(){ue(()=>{const v=document.querySelector(".result.selected");v==null||v.scrollIntoView({block:"nearest"})})}ye("ArrowUp",v=>{v.preventDefault(),A.value--,A.value<0&&(A.value=w.value.length-1),J.value=!0,T()}),ye("ArrowDown",v=>{v.preventDefault(),A.value++,A.value>=w.value.length&&(A.value=0),J.value=!0,T()});const u=Vt();ye("Enter",v=>{if(v.isComposing||v.target instanceof HTMLButtonElement&&v.target.type!=="submit")return;const p=w.value[A.value];if(v.target instanceof HTMLInputElement&&!p){v.preventDefault();return}p&&(u.go(p.id),t("close"))}),ye("Escape",()=>{t("close")});const g=ss({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Ce(()=>{window.history.pushState(null,"",null)}),jt("popstate",v=>{v.preventDefault(),t("close")});const _=$t(Bt?document.body:null);Ce(()=>{ue(()=>{_.value=!0,ue().then(()=>o())})}),Wt(()=>{_.value=!1});function E(){f.value="",ue().then(()=>$(!1))}function k(v){return new RegExp([...v].sort((p,N)=>N.length-p.length).map(p=>`(${Xt(p)})`).join("|"),"gi")}return(v,p)=>{var N,O,P,V;return G(),Kt(Ht,{to:"body"},[S("div",{ref_key:"el",ref:s,role:"button","aria-owns":(N=w.value)!=null&&N.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[S("div",{class:"backdrop",onClick:p[0]||(p[0]=I=>v.$emit("close"))}),S("div",Us,[S("form",{class:"search-bar",onPointerup:p[4]||(p[4]=I=>Oe(I)),onSubmit:p[5]||(p[5]=Jt(()=>{},["prevent"]))},[S("label",{title:x.value,id:"localsearch-label",for:"localsearch-input"},p[8]||(p[8]=[S("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)]),8,qs),S("div",Gs,[S("button",{class:"back-button",title:D(g)("modal.backButtonTitle"),onClick:p[1]||(p[1]=I=>v.$emit("close"))},p[9]||(p[9]=[S("span",{class:"vpi-arrow-left local-search-icon"},null,-1)]),8,Hs)]),Ut(S("input",{ref_key:"searchInput",ref:W,"onUpdate:modelValue":p[2]||(p[2]=I=>Gt(f)?f.value=I:null),placeholder:x.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,Qs),[[qt,D(f)]]),S("div",Ys,[y.value?we("",!0):(G(),Y("button",{key:0,class:tt(["toggle-layout-button",{"detailed-list":D(b)}]),type:"button",title:D(g)("modal.displayDetails"),onClick:p[3]||(p[3]=I=>A.value>-1&&(b.value=!D(b)))},p[10]||(p[10]=[S("span",{class:"vpi-layout-list local-search-icon"},null,-1)]),10,Zs)),S("button",{class:"clear-button",type:"reset",disabled:j.value,title:D(g)("modal.resetButtonTitle"),onClick:E},p[11]||(p[11]=[S("span",{class:"vpi-delete local-search-icon"},null,-1)]),8,Xs)])],32),S("ul",{ref_key:"resultsEl",ref:n,id:(O=w.value)!=null&&O.length?"localsearch-list":void 0,role:(P=w.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(V=w.value)!=null&&V.length?"localsearch-label":void 0,class:"results",onMousemove:p[7]||(p[7]=I=>J.value=!1)},[(G(!0),Y(nt,null,st(w.value,(I,L)=>(G(),Y("li",{key:I.id,role:"option","aria-selected":A.value===L?"true":"false"},[S("a",{href:I.id,class:tt(["result",{selected:A.value===L}]),"aria-label":[...I.titles,I.title].join(" > "),onMouseenter:U=>!J.value&&(A.value=L),onFocusin:U=>A.value=L,onClick:p[6]||(p[6]=U=>v.$emit("close"))},[S("div",null,[S("div",nn,[p[13]||(p[13]=S("span",{class:"title-icon"},"#",-1)),(G(!0),Y(nt,null,st(I.titles,(U,me)=>(G(),Y("span",{key:me,class:"title"},[S("span",{class:"text",innerHTML:U},null,8,rn),p[12]||(p[12]=S("span",{class:"vpi-chevron-right local-search-icon"},null,-1))]))),128)),S("span",an,[S("span",{class:"text",innerHTML:I.title},null,8,on)])]),D(b)?(G(),Y("div",ln,[I.text?(G(),Y("div",cn,[S("div",{class:"vp-doc",innerHTML:I.text},null,8,un)])):we("",!0),p[14]||(p[14]=S("div",{class:"excerpt-gradient-bottom"},null,-1)),p[15]||(p[15]=S("div",{class:"excerpt-gradient-top"},null,-1))])):we("",!0)])],42,sn)],8,tn))),128)),D(f)&&!w.value.length&&R.value?(G(),Y("li",dn,[de(he(D(g)("modal.noResultsText"))+' "',1),S("strong",null,he(D(f)),1),p[16]||(p[16]=de('" '))])):we("",!0)],40,en),S("div",hn,[S("span",null,[S("kbd",{"aria-label":D(g)("modal.footer.navigateUpKeyAriaLabel")},p[17]||(p[17]=[S("span",{class:"vpi-arrow-up navigate-icon"},null,-1)]),8,fn),S("kbd",{"aria-label":D(g)("modal.footer.navigateDownKeyAriaLabel")},p[18]||(p[18]=[S("span",{class:"vpi-arrow-down navigate-icon"},null,-1)]),8,pn),de(" "+he(D(g)("modal.footer.navigateText")),1)]),S("span",null,[S("kbd",{"aria-label":D(g)("modal.footer.selectKeyAriaLabel")},p[19]||(p[19]=[S("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)]),8,vn),de(" "+he(D(g)("modal.footer.selectText")),1)]),S("span",null,[S("kbd",{"aria-label":D(g)("modal.footer.closeKeyAriaLabel")},"esc",8,mn),de(" "+he(D(g)("modal.footer.closeText")),1)])])])],8,Js)])}}}),_n=es(gn,[["__scopeId","data-v-797a7f7c"]]);export{_n as default};
|