@eleven-labs/design-system 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Atoms/Svgs/AccessTime.d.ts +3 -2
- package/dist/components/Atoms/Svgs/ArrowBack.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Calendar.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Close.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Facebook.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Language.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Link.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Linkedin.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Logo.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Message.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Person.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Rss.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Search.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Twitter.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Welcometothejungle.d.ts +3 -2
- package/dist/constants/tokenVariables.d.ts +1 -1
- package/dist/index.es.js +502 -526
- package/dist/index.umd.cjs +9 -9
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +32 -32
- package/dist/typings.d.ts +0 -5
- package/dist/vite-env.d.ts +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as j, jsx as d, Fragment as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { jsxs as j, jsx as d, Fragment as ce } from "react/jsx-runtime";
|
|
2
|
+
import * as P0 from "react";
|
|
3
|
+
import g0 from "react";
|
|
4
|
+
const u1 = (e) => /* @__PURE__ */ j(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
7
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -19,7 +19,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
19
19
|
/* @__PURE__ */ d("path", { fill: "currentColor", d: "M12 9h-1v4l3.5 2.1.5-.82-3-1.78V9Z" })
|
|
20
20
|
]
|
|
21
21
|
}
|
|
22
|
-
),
|
|
22
|
+
), g1 = (e) => /* @__PURE__ */ d(
|
|
23
23
|
"svg",
|
|
24
24
|
{
|
|
25
25
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -34,7 +34,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
34
34
|
}
|
|
35
35
|
)
|
|
36
36
|
}
|
|
37
|
-
),
|
|
37
|
+
), m1 = (e) => /* @__PURE__ */ d(
|
|
38
38
|
"svg",
|
|
39
39
|
{
|
|
40
40
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -49,7 +49,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
49
49
|
}
|
|
50
50
|
)
|
|
51
51
|
}
|
|
52
|
-
),
|
|
52
|
+
), d1 = (e) => /* @__PURE__ */ d(
|
|
53
53
|
"svg",
|
|
54
54
|
{
|
|
55
55
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -67,7 +67,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
67
67
|
}
|
|
68
68
|
)
|
|
69
69
|
}
|
|
70
|
-
),
|
|
70
|
+
), f1 = (e) => /* @__PURE__ */ j("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", ...e, children: [
|
|
71
71
|
/* @__PURE__ */ d(
|
|
72
72
|
"path",
|
|
73
73
|
{
|
|
@@ -82,7 +82,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
82
82
|
d: "M15.152 21.926v-8.461h2.84l.426-3.3h-3.266V8.058c0-.954.266-1.606 1.633-1.606h1.746v-2.95a24.05 24.05 0 0 0-2.543-.128c-2.52 0-4.242 1.535-4.242 4.36v2.43H8.898v3.3h2.848v8.46Zm0 0"
|
|
83
83
|
}
|
|
84
84
|
)
|
|
85
|
-
] }),
|
|
85
|
+
] }), h1 = (e) => /* @__PURE__ */ d(
|
|
86
86
|
"svg",
|
|
87
87
|
{
|
|
88
88
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -97,7 +97,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
97
97
|
}
|
|
98
98
|
)
|
|
99
99
|
}
|
|
100
|
-
),
|
|
100
|
+
), p1 = (e) => /* @__PURE__ */ d(
|
|
101
101
|
"svg",
|
|
102
102
|
{
|
|
103
103
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -112,7 +112,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
112
112
|
}
|
|
113
113
|
)
|
|
114
114
|
}
|
|
115
|
-
),
|
|
115
|
+
), b1 = (e) => /* @__PURE__ */ j("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", ...e, children: [
|
|
116
116
|
/* @__PURE__ */ d("path", { fill: "#0084b1", d: "M0 0h22v22H0z" }),
|
|
117
117
|
/* @__PURE__ */ d(
|
|
118
118
|
"path",
|
|
@@ -121,10 +121,10 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
121
121
|
d: "M5.176 3.34a1.857 1.857 0 0 1 1.84 1.848c-.004 1.058-.883 1.859-1.852 1.835-.98.02-1.84-.8-1.84-1.843a1.85 1.85 0 0 1 1.852-1.84ZM6.25 18.656H4.09a.507.507 0 0 1-.508-.508v-9.21c0-.278.227-.504.508-.504h2.16c.277 0 .504.226.504.504v9.21a.506.506 0 0 1-.504.508Zm12.426-6.988a3.495 3.495 0 0 0-3.496-3.496h-.555a3.109 3.109 0 0 0-2.719 1.605c-.02-.004-.027-.004-.027-.004V8.645a.213.213 0 0 0-.211-.211H8.973a.21.21 0 0 0-.211.21v9.801a.21.21 0 0 0 .21.211h2.755c.113 0 .21-.093.21-.21V12.78c0-.976.778-1.789 1.758-1.8.5-.008.953.195 1.282.519.32.324.52.77.52 1.262v5.687a.21.21 0 0 0 .21.207l2.758.004c.117 0 .21-.098.21-.21Zm0 0"
|
|
122
122
|
}
|
|
123
123
|
)
|
|
124
|
-
] }),
|
|
124
|
+
] }), ye = (e) => /* @__PURE__ */ d("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 41 36", ...e, children: /* @__PURE__ */ j("g", { fill: "currentColor", fillRule: "evenodd", children: [
|
|
125
125
|
/* @__PURE__ */ d("path", { d: "M29.22 13.78a.947.947 0 0 1-1.334-.092.947.947 0 0 1 .092-1.332l3.89-3.298a.947.947 0 0 1 1.332.092c.341.392.3.991-.09 1.332l-3.89 3.298zm-.156 6.345a2.86 2.86 0 0 1 .947-1.72c.357-.31 1.726-1.49 1.76-1.52 2.194-1.914 5.91-8.042 8.101-11.837.627-1.085-.446-2.358-1.62-1.924-4.122 1.518-10.8 4.155-13.014 6.04-.034.027-1.405 1.207-1.763 1.514a2.87 2.87 0 0 1-1.842.683c-5.946.07-7.7 2.397-7.7 2.397l.773.806s3.451-.5 5.402 1.768l-1.645 1.407.992 1.151-1.143.985 2.136 2.562.222-.276-.987-2.693 2.47 2.837.58-.499-.727-3.136s1.235 1.338 1.967 2.184c1.953 2.264.897 5.648.897 5.648l.684.884s2.561-1.39 3.51-7.26z" }),
|
|
126
126
|
/* @__PURE__ */ d("path", { d: "M18.775 34.14c-5.796.313-10.983-2.426-14.105-6.751-.16-.221.109-.493.334-.34 3.956 2.727 10.24 1.913 14.299-5.48C-1.168 27.268 1.372 1.358 17.879 1.594c5.779.082 10.86 3.028 13.752 7.579l.056-.048c.339-.294.844-.336 1.203-.068a.948.948 0 0 1 .066 1.467l-.385.333a16.21 16.21 0 0 1 1.59 7.408c-.197 8.447-6.948 15.422-15.386 15.877M17.879 0C8.019 0 0 8.02 0 17.879c0 9.858 8.019 17.878 17.878 17.878 9.858 0 17.878-8.02 17.878-17.878S27.737-.001 17.879-.001" })
|
|
127
|
-
] }) }),
|
|
127
|
+
] }) }), v1 = (e) => /* @__PURE__ */ j(
|
|
128
128
|
"svg",
|
|
129
129
|
{
|
|
130
130
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -151,7 +151,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
151
151
|
)
|
|
152
152
|
]
|
|
153
153
|
}
|
|
154
|
-
),
|
|
154
|
+
), E1 = (e) => /* @__PURE__ */ d(
|
|
155
155
|
"svg",
|
|
156
156
|
{
|
|
157
157
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -166,7 +166,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
166
166
|
}
|
|
167
167
|
)
|
|
168
168
|
}
|
|
169
|
-
),
|
|
169
|
+
), y1 = (e) => /* @__PURE__ */ j(
|
|
170
170
|
"svg",
|
|
171
171
|
{
|
|
172
172
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -181,7 +181,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
181
181
|
/* @__PURE__ */ d("defs", { children: /* @__PURE__ */ d("clipPath", { id: "rss_svg__a", children: /* @__PURE__ */ d("path", { fill: "currentColor", d: "M0 0h26v26H0z" }) }) })
|
|
182
182
|
]
|
|
183
183
|
}
|
|
184
|
-
),
|
|
184
|
+
), N1 = (e) => /* @__PURE__ */ d(
|
|
185
185
|
"svg",
|
|
186
186
|
{
|
|
187
187
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -196,7 +196,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
196
196
|
}
|
|
197
197
|
)
|
|
198
198
|
}
|
|
199
|
-
),
|
|
199
|
+
), x1 = (e) => /* @__PURE__ */ j("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", ...e, children: [
|
|
200
200
|
/* @__PURE__ */ d("path", { fill: "#50abf1", d: "M0 0h22v22H0z" }),
|
|
201
201
|
/* @__PURE__ */ d(
|
|
202
202
|
"path",
|
|
@@ -205,7 +205,7 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
205
205
|
d: "M2.914 16.309a9.419 9.419 0 0 0 5.063 1.464c5.23 0 9.472-4.238 9.472-9.468 0-.133-.004-.262-.008-.39.188-.15 1.36-1.087 1.645-1.692 0 0-.95.398-1.879.488-.004 0-.004.004-.008.004l.004-.004c.086-.059 1.285-.875 1.45-1.844 0 0-.673.356-1.614.672-.156.05-.32.102-.488.149a3.323 3.323 0 0 0-5.664 3.023c-.254-.012-4.16-.23-6.82-3.45 0 0-1.587 2.169.949 4.4 0 0-.774-.032-1.438-.427 0 0-.242 2.625 2.625 3.297 0 0-.562.215-1.465.063 0 0 .504 2.12 3.055 2.32 0 0-2.016 1.82-4.879 1.395Zm0 0"
|
|
206
206
|
}
|
|
207
207
|
)
|
|
208
|
-
] }),
|
|
208
|
+
] }), _1 = (e) => /* @__PURE__ */ d("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22", ...e, children: /* @__PURE__ */ j("g", { fillRule: "evenodd", children: [
|
|
209
209
|
/* @__PURE__ */ d(
|
|
210
210
|
"path",
|
|
211
211
|
{
|
|
@@ -241,36 +241,29 @@ const l1 = (e) => /* @__PURE__ */ j(
|
|
|
241
241
|
d: "M15.082 5.227c-.11.015-.219.027-.242.03-.024 0-.035.005-.027.013.003.007.144-.004.312-.024.285-.039.316-.039.586 0 .16.02.293.031.3.024.009-.008-.003-.012-.019-.012-.015 0-.129-.016-.25-.031a1.874 1.874 0 0 0-.66 0m-.445.085c-.098.036-.117.06-.028.032.168-.051.188-.059.141-.059a.39.39 0 0 0-.113.027m1.445-.011c.137.047.203.066.191.05a.731.731 0 0 0-.214-.07c-.016 0-.008.012.023.02m-12.113.11c-.074.042-.098.109-.074.198.011.043.015.032.02-.046.003-.184-.173-.172 2.355-.172 2.437 0 2.289-.008 2.406.129a.26.26 0 0 0 .07.07c.031 0-.129-.156-.191-.192-.106-.054-4.496-.043-4.586.012m10.117.145c-.106.062-.129.097-.035.047.066-.036.156-.102.14-.102-.007 0-.054.027-.105.055m-5.324.066a2 2 0 0 0 .16.297 1.49 1.49 0 0 0-.145-.285c-.011-.02-.02-.024-.015-.012m5.14.055-.054.047.062-.028c.031-.015.059-.035.059-.043 0-.027 0-.027-.067.024m2.934-.028a.462.462 0 0 0 .086.075c.039.027.062.039.055.023a.476.476 0 0 0-.086-.074c-.04-.027-.063-.04-.055-.024m-3.215.25c-.379.332-.36.516.102 1 .199.207.148.137-.07-.101-.387-.418-.337-.754.156-1.027.023-.016.035-.032.027-.036-.008-.007-.102.067-.215.164m3.387-.132c0 .02.199.222.21.21a.645.645 0 0 0-.1-.113 1.144 1.144 0 0 0-.11-.097m-12.856.199c.082.098.188.23.235.293.101.133.207.246.125.133a2.199 2.199 0 0 0-.14-.18l-.216-.27a.981.981 0 0 0-.136-.156c-.008 0 .05.082.132.18m13.118.105a.627.627 0 0 0 .07.082c.015.008 0-.02-.035-.066-.075-.094-.102-.11-.035-.016m-8.25.059c0 .039.066.191.078.18.007-.004-.008-.055-.032-.106-.027-.055-.046-.086-.046-.074m8.382.14c.024.047.051.09.063.098.012.008-.004-.031-.031-.086-.07-.12-.094-.133-.032-.011m-12.804.253c.086.106.093.114.07.067a.314.314 0 0 0-.074-.09c-.051-.043-.047-.04.004.023m13.011.125c.098.215.145.297.145.27 0-.027-.195-.43-.207-.43a.928.928 0 0 0 .062.16m-12.867.067c.035.043.067.078.074.07.004-.004-.023-.043-.062-.082l-.074-.07.062.082m.18.246c.055.082.105.14.11.137.011-.012-.188-.278-.204-.278a.886.886 0 0 0 .094.14m12.898.161.075.215c.007.023.027.062.035.082a.217.217 0 0 1 .023.082c0 .023.008.05.02.055.02.015.007-.059-.02-.13-.012-.023-.05-.132-.09-.241a1.42 1.42 0 0 0-.09-.22.65.65 0 0 0 .047.157m-8.437-.008c.008.028.031.098.047.157.054.18.078.234.062.156a1.844 1.844 0 0 0-.113-.364c-.004 0-.004.024.004.051m-4.164.278c.097.144.183.261.187.257a5.067 5.067 0 0 0-.343-.507 1.87 1.87 0 0 0 .156.25m8.808-.141c.114.129.149.156.078.059-.066-.09-.148-.18-.168-.18a.474.474 0 0 0 .09.121m-1.28.145a.17.17 0 0 1 .062.125l.011.082.004-.082c0-.079-.058-.172-.117-.172-.008 0 .008.02.04.047m1.421.003c0 .008.043.07.098.137.101.125.14.145.046.024-.078-.106-.144-.176-.144-.16m-1.863.285c-.176.261-.188.28-.176.28.004 0 .066-.085.137-.19a5.48 5.48 0 0 1 .168-.239c.035-.039.05-.078.03-.078-.003 0-.073.102-.16.227m-2.788-.098a.47.47 0 0 0 .035.117c.011.02.02.063.02.094s.007.058.019.066c.02.012.008-.043-.043-.258-.027-.12-.05-.14-.031-.02m3.257.06a.393.393 0 0 0-.011.105c.004.063.004.059.023-.027.02-.098.012-.141-.012-.078m5.227 0c0 .023.008.062.02.09.023.054.023-.005 0-.079-.016-.043-.02-.047-.02-.011m-3.613.023c0 .02.375.516.386.516.016 0-.082-.137-.253-.36a.92.92 0 0 0-.133-.156m3.652.176a.21.21 0 0 0 .023.097c.016.024.02.008.008-.054-.02-.11-.03-.125-.03-.043m-5.313.09a.244.244 0 0 0-.004.09c.007.007.02-.024.027-.07.008-.044.012-.087.004-.09-.004-.009-.016.023-.027.07m-3.114.011a.2.2 0 0 0 .024.086c.015.024.015.008.008-.047-.02-.093-.032-.109-.032-.039m8.473.121c0 .047.008.098.02.118.015.023.019 0 .007-.079-.015-.136-.031-.152-.027-.039m-12.418.02a.2.2 0 0 0 .043.055c.004 0-.004-.024-.016-.055-.015-.031-.035-.055-.047-.055-.007 0 0 .024.02.055m3.992.055a.46.46 0 0 0 .02.12c.015.028.015.009.008-.066-.016-.133-.032-.16-.028-.054m2.32.039-.039.058.051-.047c.028-.027.043-.054.04-.062-.009-.008-.032.016-.052.05m.707.04a.228.228 0 0 0-.011.094c0 .046.004.042.02-.028.023-.09.015-.133-.008-.066m2.324.32c.25.379.246.375.355.563a.735.735 0 0 0 .09.136c.02 0-.125-.258-.156-.285-.02-.015-.031-.035-.031-.047a9.39 9.39 0 0 0-.465-.691c-.012-.004.082.14.207.324m3.117-.21c0 .058.008.124.023.14.012.023.016-.008.004-.098-.015-.164-.027-.184-.027-.043m-6.324.113a1.455 1.455 0 0 0-.117.196.734.734 0 0 0 .097-.13c.137-.206.168-.257.156-.257a1.5 1.5 0 0 0-.136.191M9.71 8.395c.023.187.05.34.062.351.016.016.004-.101-.03-.277-.032-.156-.044-.188-.032-.074m-3.793.12c.059.114.137.243.148.231.004-.004-.011-.039-.035-.074a.236.236 0 0 1-.047-.086.258.258 0 0 0-.046-.07l-.043-.055.023.055m6.723-.012a.817.817 0 0 0-.008.195v.156l.02-.187c.015-.191.011-.227-.012-.164m5.535.266c0 .082.008.18.02.218.011.04.011-.023.003-.144-.012-.246-.027-.29-.023-.074m-6.586.015c-.14.207-.156.235-.145.235.008 0 .07-.086.203-.293.02-.032.036-.059.028-.059a.766.766 0 0 0-.086.117m-5.5.031c.035.086.16.313.172.313.004 0-.032-.078-.082-.176-.082-.16-.13-.234-.09-.137m3.7.051a.3.3 0 0 0 .023.13c.011.023.015-.005.007-.087-.02-.152-.03-.168-.03-.043m2.808.047c-.008.027-.012.211-.008.402l.004.352.011-.395c.016-.418.016-.441-.007-.359m-2.762.262c0 .078.012.164.02.195.011.031.011-.027.007-.133-.015-.222-.031-.258-.027-.062m1.562-.094c-.035.066-.027.086.012.031.02-.031.027-.058.024-.062-.008-.008-.024.008-.036.031m-5.125.082a1.634 1.634 0 0 0 .172.328c0-.012-.039-.094-.086-.187-.046-.09-.086-.153-.086-.14m9.239.167c-.004.023.113.219.125.207a.553.553 0 0 0-.059-.117c-.039-.059-.066-.098-.066-.09m-4.336.11a1.425 1.425 0 0 1-.063.101c-.015.027-.027.05-.02.05.02 0 .13-.179.118-.19-.004-.008-.024.011-.035.038m7.011.094a1.345 1.345 0 0 0-.011.219c0 .098.004.09.02-.063.023-.199.015-.32-.009-.156m-8.296.75c0 .41.004.68.011.594.008-.086.016-.352.016-.594s-.008-.508-.016-.594c-.007-.086-.011.184-.011.594M6.492 9.63c0 .023.082.176.086.16a.611.611 0 0 0-.078-.176c-.004 0-.008.008-.008.016m6.078.207c0 .078.004.11.008.07a.893.893 0 0 0 0-.144c-.004-.04-.008-.008-.008.074M10.836 10a3.567 3.567 0 0 0-.102.18.268.268 0 0 1-.039.07c-.07.098-.168.285-.117.223.027-.032.047-.063.047-.075a.64.64 0 0 1 .066-.113c.036-.055.067-.101.067-.11 0-.007.02-.042.039-.073.062-.09.164-.266.152-.266a.913.913 0 0 0-.113.164m7.305.066a.574.574 0 0 0-.008.16v.126l.015-.157c.02-.16.016-.191-.007-.129m-5.551.329c0 .195.004.37.012.39.007.02.011-.113.007-.297-.007-.465-.02-.511-.02-.093m3.337-.258c.008.02.035.082.054.133.024.05.047.09.051.085a.894.894 0 0 0-.113-.257c-.008 0-.004.02.008.039m-9.16.136c.023.082.074.192.074.165a.701.701 0 0 0-.074-.204c-.008-.007-.008.008 0 .04m11.332.156c-.008.043-.016.11-.024.152-.008.043-.015.125-.023.188l-.008.109.02-.098c.03-.133.066-.406.054-.414-.004-.008-.012.024-.02.063m-1.98.175c.02.055.043.118.055.141.008.024.035.098.062.164.024.07.043.11.043.098.004-.028-.03-.13-.086-.262-.007-.023-.03-.078-.043-.121a.356.356 0 0 0-.05-.098c-.012-.011-.004.024.02.078m-5.688.09c-.055.09-.102.172-.106.184-.02.043.082-.09.11-.145a.706.706 0 0 1 .066-.113c.023-.035.04-.066.031-.074a.74.74 0 0 0-.101.148m.816-.11a2.486 2.486 0 0 0-.195.364c.011.008.125-.183.125-.21 0-.009.015-.032.035-.06.035-.038.035-.038.023.032-.007.043-.004.066.008.059.012-.008.024-.04.024-.067 0-.027.007-.058.02-.066.027-.016.03-.078.003-.078-.012 0-.031.015-.043.027m-4.312.133c.023.062.062.176.086.25.02.07.039.113.039.094.003-.067-.137-.458-.164-.458a.4.4 0 0 0 .039.114m4.234.219a.445.445 0 0 0-.027.12c.004.005.023-.042.043-.105a.38.38 0 0 0 .03-.121c-.007-.004-.027.043-.046.105m1.46.075a.57.57 0 0 0 .02.183c.012.016.016-.039.008-.133-.011-.218-.023-.238-.027-.05m5.383-.078a.36.36 0 0 0-.012.109c0 .039.008.031.02-.031.023-.094.015-.164-.008-.078m-7.77.093c-.035.063-.05.106-.039.094a.742.742 0 0 0 .11-.2c-.004-.007-.04.044-.07.106m6.05.07c.027.157.035.188.055.2.015.012-.004-.086-.043-.2l-.024-.066.012.067m-5.18.004c-.004.015-.008.046-.015.066-.012.031-.012.035.011.016.016-.012.024-.043.016-.067-.004-.023-.012-.027-.012-.015m-4.027.074c.027.09.059.199.086.304.02.075.043.118.043.075a.727.727 0 0 0-.027-.121c-.02-.051-.043-.137-.06-.192a.643.643 0 0 0-.046-.12c-.012-.013-.008.015.004.054m10.879-.012a.333.333 0 0 0-.012.098c.004.043.008.035.02-.032.02-.093.015-.125-.008-.066m-8.117.059a.993.993 0 0 0-.012.16c.004.066.008.05.023-.063.016-.164.012-.215-.011-.097m.175.187a.398.398 0 0 0-.05.11c.004.003.035-.04.066-.102.035-.059.059-.11.05-.11a.6.6 0 0 0-.066.102m.79-.035c-.02.04-.032.074-.028.078.004.004.027-.027.047-.07.043-.094.027-.102-.02-.008m1.86.023c0 .04.012.09.023.11.016.02.016 0 .008-.067-.02-.125-.031-.14-.031-.043m3.695-.023c0 .031.012.07.024.086.015.023.015.012.007-.043-.02-.094-.03-.113-.03-.043m1.55-.012a.106.106 0 0 0-.004.07c.004.024.012.012.02-.03.011-.075.003-.094-.016-.04m-8.113.157a.362.362 0 0 0-.016.109.247.247 0 0 1-.027.117c-.02.035-.02.05 0 .07.035.036.058.012.136-.14.043-.086.051-.117.024-.082a.227.227 0 0 0-.043.078c-.004.035-.086.133-.102.113-.007-.008-.004-.027.008-.043.02-.023.055-.258.04-.258-.005 0-.012.016-.02.036m.945-.02a1.129 1.129 0 0 0-.098.195c.008.004.036-.043.07-.101.048-.086.071-.16.028-.094m7.129.008a1.357 1.357 0 0 0-.055.277c0 .024.02-.035.043-.125.02-.09.035-.168.031-.172-.007-.008-.015.004-.02.02m-6.898.058a.332.332 0 0 1-.015.086c-.012.04-.012.04.012 0a.108.108 0 0 0 .015-.086c-.008-.05-.008-.05-.012 0m5.446.063a.42.42 0 0 0 .023.094c.016.02.004-.098-.015-.141-.016-.031-.016-.016-.008.047m-9.196.055c.016.093.032.109.028.039a.199.199 0 0 0-.02-.086c-.015-.024-.02-.008-.008.047m5.489-.012c0 .023.008.066.02.098.015.043.015.046.015.011a.46.46 0 0 0-.016-.097c-.015-.047-.02-.047-.02-.012m-1.78.055c-.004.02-.008.058-.016.085-.012.051-.008.051.012.016.015-.02.02-.058.015-.086-.004-.027-.011-.035-.011-.015m-.32.015c-.048.082-.259.496-.24.48a4.37 4.37 0 0 0 .263-.495c-.008 0-.016.007-.024.015m5.856.117a.53.53 0 0 0 .02.13c.015.019.003-.165-.016-.208-.012-.027-.016-.004-.004.078m-9.211-.03c0 .023.008.054.02.073.019.024.019.016.007-.035-.016-.078-.027-.097-.027-.039m10.527.059a1.6 1.6 0 0 1-.082.27c-.035.093-.047.148-.02.132.012-.008.024-.035.024-.059a.21.21 0 0 1 .02-.082.643.643 0 0 0 .042-.125c.012-.05.028-.109.036-.136.007-.028.007-.051.003-.051-.007 0-.015.023-.023.05m-5.027.044c0 .043.008.086.02.093.011.008.015-.023.007-.07-.016-.113-.027-.121-.027-.023m-1.883.062c-.024.125-.05.27-.078.375-.012.059-.02.137-.02.176.004.059.008.05.024-.035.015-.117.047-.281.086-.461.011-.059.015-.113.011-.117-.004-.004-.015.023-.023.062m-3.574 0a.16.16 0 0 0 .023.086c.012.024.016.012.004-.043-.016-.098-.027-.113-.027-.043m5.5.121a.32.32 0 0 0 .023.11c.012.027.012.007.004-.059-.016-.113-.027-.14-.027-.05m3.699.019c0 .047.008.137.016.199.02.105.02.105.02.02 0-.047-.009-.137-.017-.196-.015-.11-.02-.11-.02-.023m-9.155.078a.17.17 0 0 0 .023.066c.02.028.02.028.02 0 0-.02-.008-.05-.02-.066-.02-.031-.023-.031-.023 0m10.285.176c-.008.039-.012.074-.004.078.004.008.016-.02.023-.059.008-.039.012-.074.004-.082-.004-.004-.015.024-.023.063m-10.227.101c.02.114.032.121.032.024 0-.043-.012-.086-.024-.094-.012-.004-.016.023-.008.07m10.164.11a.393.393 0 0 0-.027.113c.008.008.02-.008.027-.031.004-.024.024-.067.035-.102.012-.035.016-.066.012-.074-.008-.004-.027.035-.047.094m-10.12.129a.69.69 0 0 0 .023.12c.02.02.004-.167-.016-.199-.016-.02-.016.004-.008.079m3.309-.055c0 .031-.016.25-.031.484-.028.399-.004 1.164.043 1.266.011.023-.008-.324-.032-.606a6.223 6.223 0 0 1 .012-.68c.02-.269.027-.495.02-.503-.008-.008-.012.012-.012.039m-.672.066a2.09 2.09 0 0 1-.078.149c-.024.043-.04.082-.035.086a.755.755 0 0 0 .09-.141.614.614 0 0 0 .07-.156c-.004-.004-.028.023-.047.062m6.43.262a.936.936 0 0 0-.008.195c.015.012.043-.316.031-.351-.004-.016-.016.054-.023.156m-9.032-.043c0 .043.008.11.02.145l.016.066v-.078a.862.862 0 0 0-.016-.145l-.02-.062v.074m2.426.113c-.02.04-.031.07-.027.078.004.004.027-.027.047-.07.043-.094.027-.101-.02-.008m3.176.024c.02.082.07.168.07.125 0-.02-.011-.043-.023-.051s-.02-.031-.02-.055a.09.09 0 0 0-.02-.054c-.011-.008-.015.007-.007.035M9.8 13.27a2.733 2.733 0 0 0-.18.363c.004.004.055-.082.11-.192.085-.168.124-.261.07-.171m3.375.05c.043.11.113.254.125.254.008 0 .008-.008.004-.015a1.61 1.61 0 0 1-.106-.246.047.047 0 0 0-.02-.036c-.015-.007-.015.004-.003.043m3.304-.011a.565.565 0 0 1-.015.113l-.012.055.024-.055a.183.183 0 0 0 .015-.11l-.008-.058-.004.055m-8.94.101a.808.808 0 0 0 .019.117c.02.02.003-.14-.016-.183-.012-.031-.016-.008-.004.066m8.898.121c-.003.016-.007.055-.015.086-.012.047-.008.051.012.016.015-.02.02-.059.015-.086-.004-.027-.012-.035-.012-.016m.735.078c-.02.047-.031.086-.024.094.008.004.012.004.012 0 0-.008.016-.05.031-.094.02-.043.032-.078.024-.078a.325.325 0 0 0-.043.078m-7.61.102c-.062.101-.238.445-.214.426.011-.016.05-.082.09-.157.039-.07.097-.171.124-.226.055-.094.055-.133 0-.043m3.793-.016c0 .035.18.317.204.32.007 0-.008-.035-.036-.074a1.308 1.308 0 0 1-.101-.164c-.043-.082-.067-.113-.067-.082m2.997.137c-.075.215-.082.254-.02.113.05-.12.094-.261.074-.261-.004 0-.027.066-.054.148m.746-.066-.125.238c-.055.105-.11.207-.118.219-.035.047-.136.23-.128.23.015 0 .218-.34.32-.543.078-.148.117-.273.05-.144m-9.519.597c0 .305.008.532.016.504.02-.066.02-.863 0-.972-.008-.047-.016.164-.016.468m8.637-.168a1.46 1.46 0 0 1-.43.555c-.043.035-.043.035.008.012.148-.075.539-.617.48-.672a.39.39 0 0 0-.058.105m-2.477.059c.145.176.547.512.575.48.007-.004-.047-.046-.114-.093-.07-.043-.21-.16-.312-.262-.106-.098-.172-.152-.149-.125m-4.508.066c-.02.04-.03.067-.023.067a.22.22 0 0 0 .043-.067c.02-.035.031-.062.023-.062a.166.166 0 0 0-.043.062m-.09.157c-.019.035-.027.066-.023.066.008 0 .028-.031.047-.066.02-.036.027-.067.024-.067-.008 0-.028.031-.047.067m1.64.046c0 .04.012.094.02.118.011.027.015.004.008-.067-.016-.129-.028-.156-.028-.05m5.852.066c-.043.062-.11.16-.153.21a.382.382 0 0 0-.062.106c.008.012.039-.031.2-.261a.683.683 0 0 0 .097-.16.382.382 0 0 0-.082.105m-5.805.148a.334.334 0 0 0 .016.121l.035.13c.008.034.016.062.02.058.007-.008-.008-.106-.051-.285-.016-.059-.02-.067-.02-.024m3.8.14c0 .024.227.083.294.079l.07-.004-.066-.008c-.035-.008-.114-.023-.172-.043-.121-.035-.125-.035-.125-.023m.871.02-.156.039c-.078.015-.078.019-.02.019.063.004.215-.039.242-.07.02-.016.02-.016-.066.011m.836.106c-.035.035-.059.07-.055.074.008.008.04-.023.07-.062.079-.094.067-.102-.015-.012m-7.512.027a.548.548 0 0 1-.07.125c-.07.106-.16.281-.11.223a.401.401 0 0 0 .047-.074c0-.012.016-.047.04-.078.07-.098.16-.266.14-.266-.008 0-.031.031-.047.07m6.242-.054c.024.003.07.003.098 0 .027-.008.004-.012-.05-.012-.055 0-.075.004-.048.012m-4.152.136a.2.2 0 0 0 .02.078c.011.028.02.032.02.012a.209.209 0 0 0-.02-.078c-.012-.027-.02-.031-.02-.012m5.211.149a6.625 6.625 0 0 1-.746.715.59.59 0 0 0-.121.101c.023.024.476-.371.695-.601.215-.23.313-.34.3-.348a.773.773 0 0 0-.128.133m-8.574-.004a3.345 3.345 0 0 0-.016.12c-.012.071-.012.071.012.024a.314.314 0 0 0 .016-.12c-.008-.04-.012-.052-.012-.024m3.406.012c0 .015.012.05.02.074l.02.047.003-.047a.152.152 0 0 0-.023-.074c-.016-.032-.02-.032-.02 0m-2.402.222a.678.678 0 0 1-.059.102c-.016.027-.027.047-.02.047.016 0 .13-.18.118-.192-.004-.004-.024.016-.04.043m-1.062.207c-.008.067-.012.13-.004.133.004.008.016-.043.028-.113a.523.523 0 0 0 .004-.133c-.008-.008-.02.043-.028.113m.883.098c-.078.129-.11.207-.05.121.054-.086.148-.254.14-.254a.591.591 0 0 0-.09.133m2.734-.082c.051.125.11.242.11.219 0-.032-.106-.27-.121-.27-.004 0 0 .024.011.05m-3.648.216a.87.87 0 0 1-.016.133c-.008.066-.008.07.012.019a.283.283 0 0 0 .016-.133c-.004-.054-.008-.058-.012-.02m.777.087c-.02.023-.035.05-.027.054.008.008.027-.011.047-.043.043-.066.035-.07-.02-.011m6.91.132c-.023.024-.054.043-.066.043-.016 0-.043.016-.055.036a.46.46 0 0 1-.097.066.517.517 0 0 0-.125.078c-.051.043-.047.043.035-.004.191-.105.41-.262.367-.262-.012 0-.039.02-.059.043m-7.73.043-.016.11c-.011.047-.011.05.012.015.012-.02.02-.07.016-.109-.008-.055-.008-.059-.012-.016m.691.036c-.023.03-.035.062-.027.07.004.004.027-.02.047-.059.043-.082.031-.09-.02-.011m3.329.152c.054.105.132.207.132.176 0-.016-.02-.047-.043-.07-.023-.028-.043-.055-.043-.067a.187.187 0 0 0-.046-.07c-.043-.055-.043-.055 0 .03M8 16.399a.379.379 0 0 1-.07.102c-.016.016-.032.04-.032.05 0 .032.067-.05.13-.155.027-.04.034-.07.027-.07-.012 0-.035.03-.055.073m6.652.059-.054.047.07-.035c.039-.02.07-.04.07-.047 0-.02-.035-.008-.086.035m-6.886.309a2.39 2.39 0 0 1-.215.277c-.051.055-.074.086-.051.074.07-.035.434-.527.39-.527-.003 0-.062.078-.124.176m3.867-.102c.078.113.183.23.203.23.012 0-.008-.027-.04-.058a3.517 3.517 0 0 1-.144-.16c-.078-.094-.078-.094-.02-.012m-4.316-.02a.26.26 0 0 0-.011.083c.004.03.011.02.023-.028.02-.082.012-.113-.012-.054m6.664.109c-.046.02-.105.043-.132.05a1.68 1.68 0 0 1-.25.083c-.016.008-.024.015-.02.023.012.008.18-.039.27-.078.027-.012.093-.039.148-.059.059-.02.106-.039.106-.046 0-.012-.028-.004-.122.027m-6.707.082c-.02.07-.015.277.004.289.008.004.016-.07.016-.164 0-.195 0-.195-.02-.125m4.653.133c.09.062.16.09.14.058-.007-.011-.023-.023-.039-.023a.222.222 0 0 1-.082-.043.221.221 0 0 0-.074-.043c-.012 0 .012.023.055.05m1.418-.011c-.2.047-.317.07-.45.094a.417.417 0 0 0-.128.031c-.028.023.218-.016.457-.078a3.08 3.08 0 0 0 .207-.05c.074-.017.113-.032.09-.032a1.03 1.03 0 0 0-.176.035m-1.242.102a.384.384 0 0 0 .074.023c.05.008.058.008.035-.008-.031-.02-.133-.035-.11-.015m.27.05c.066.004.184.004.25 0 .07-.004.016-.007-.125-.007-.14 0-.195.003-.125.007"
|
|
242
242
|
}
|
|
243
243
|
)
|
|
244
|
-
] }) }),
|
|
244
|
+
] }) }), w1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
245
245
|
__proto__: null,
|
|
246
|
-
AccessTime:
|
|
247
|
-
ArrowBack:
|
|
248
|
-
Calendar:
|
|
249
|
-
Close:
|
|
250
|
-
Facebook:
|
|
251
|
-
Language:
|
|
252
|
-
Link:
|
|
253
|
-
Linkedin:
|
|
254
|
-
Logo:
|
|
255
|
-
Message:
|
|
256
|
-
Person:
|
|
257
|
-
Rss:
|
|
258
|
-
Search:
|
|
259
|
-
Twitter:
|
|
260
|
-
Welcometothejungle:
|
|
246
|
+
AccessTime: u1,
|
|
247
|
+
ArrowBack: g1,
|
|
248
|
+
Calendar: m1,
|
|
249
|
+
Close: d1,
|
|
250
|
+
Facebook: f1,
|
|
251
|
+
Language: h1,
|
|
252
|
+
Link: p1,
|
|
253
|
+
Linkedin: b1,
|
|
254
|
+
Logo: ye,
|
|
255
|
+
Message: v1,
|
|
256
|
+
Person: E1,
|
|
257
|
+
Rss: y1,
|
|
258
|
+
Search: N1,
|
|
259
|
+
Twitter: x1,
|
|
260
|
+
Welcometothejungle: _1
|
|
261
261
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
262
|
-
var
|
|
263
|
-
function
|
|
262
|
+
var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
263
|
+
function Z(e) {
|
|
264
264
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
265
265
|
}
|
|
266
|
-
var
|
|
267
|
-
get exports() {
|
|
268
|
-
return V0;
|
|
269
|
-
},
|
|
270
|
-
set exports(e) {
|
|
271
|
-
V0 = e;
|
|
272
|
-
}
|
|
273
|
-
};
|
|
266
|
+
var xe = { exports: {} };
|
|
274
267
|
/*!
|
|
275
268
|
Copyright (c) 2018 Jed Watson.
|
|
276
269
|
Licensed under the MIT License (MIT), see
|
|
@@ -305,8 +298,9 @@ var V0 = {}, S1 = {
|
|
|
305
298
|
}
|
|
306
299
|
e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
|
|
307
300
|
})();
|
|
308
|
-
})(
|
|
309
|
-
|
|
301
|
+
})(xe);
|
|
302
|
+
var S1 = xe.exports;
|
|
303
|
+
const $ = /* @__PURE__ */ Z(S1), O1 = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), A1 = (e) => (e.match(/[a-zA-Z0-9]+/g) || []).map((n) => `${n.charAt(0).toUpperCase()}${n.slice(1)}`).join(""), se = (e) => {
|
|
310
304
|
if (e.propValue !== void 0) {
|
|
311
305
|
if (typeof e.propValue != "boolean") {
|
|
312
306
|
const n = O1(
|
|
@@ -318,7 +312,7 @@ const $ = V0, O1 = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/
|
|
|
318
312
|
}
|
|
319
313
|
}, B = (e) => {
|
|
320
314
|
if (e.propValue && ["string", "number"].includes(typeof e.propValue) || !e.propValue) {
|
|
321
|
-
const n =
|
|
315
|
+
const n = se({
|
|
322
316
|
className: e.className,
|
|
323
317
|
defaultModifier: e.defaultModifier || "xs",
|
|
324
318
|
propValue: e.propValue
|
|
@@ -327,7 +321,7 @@ const $ = V0, O1 = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/
|
|
|
327
321
|
}
|
|
328
322
|
return Object.entries(e.propValue).reduce(
|
|
329
323
|
(n, [t, a]) => {
|
|
330
|
-
const s =
|
|
324
|
+
const s = se({
|
|
331
325
|
className: e.className,
|
|
332
326
|
defaultModifier: t,
|
|
333
327
|
propValue: a
|
|
@@ -336,7 +330,7 @@ const $ = V0, O1 = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/
|
|
|
336
330
|
},
|
|
337
331
|
[]
|
|
338
332
|
);
|
|
339
|
-
},
|
|
333
|
+
}, _e = (e) => $({
|
|
340
334
|
[`bg-${e.bg}`]: e.bg,
|
|
341
335
|
[`color-${e.color}`]: e.color
|
|
342
336
|
}), M1 = (e) => $(
|
|
@@ -413,7 +407,7 @@ const $ = V0, O1 = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/
|
|
|
413
407
|
propValue: e.maxHeight,
|
|
414
408
|
className: "max-height"
|
|
415
409
|
})
|
|
416
|
-
),
|
|
410
|
+
), F = {
|
|
417
411
|
asset: {
|
|
418
412
|
font: {
|
|
419
413
|
"WorkSans-Regular": {
|
|
@@ -795,9 +789,9 @@ const $ = V0, O1 = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/
|
|
|
795
789
|
}
|
|
796
790
|
};
|
|
797
791
|
[
|
|
798
|
-
...Object.keys(
|
|
799
|
-
...Object.keys(
|
|
800
|
-
...Object.keys(
|
|
792
|
+
...Object.keys(F.color.primary),
|
|
793
|
+
...Object.keys(F.color.secondary),
|
|
794
|
+
...Object.keys(F.color.greyscale)
|
|
801
795
|
];
|
|
802
796
|
const T1 = {
|
|
803
797
|
bg: ["background-color"],
|
|
@@ -810,7 +804,7 @@ const T1 = {
|
|
|
810
804
|
pb: ["padding-bottom"],
|
|
811
805
|
px: ["padding-left", "padding-right"],
|
|
812
806
|
py: ["padding-top", "padding-bottom"]
|
|
813
|
-
},
|
|
807
|
+
}, we = {
|
|
814
808
|
m: ["margin"],
|
|
815
809
|
mt: ["margin-top"],
|
|
816
810
|
mr: ["margin-right"],
|
|
@@ -818,8 +812,8 @@ const T1 = {
|
|
|
818
812
|
mb: ["margin-bottom"],
|
|
819
813
|
mx: ["margin-left", "margin-right"],
|
|
820
814
|
my: ["margin-top", "margin-bottom"]
|
|
821
|
-
},
|
|
822
|
-
...
|
|
815
|
+
}, Se = {
|
|
816
|
+
...we,
|
|
823
817
|
...I1
|
|
824
818
|
}, L1 = {
|
|
825
819
|
alignItems: ["align-items"],
|
|
@@ -852,28 +846,28 @@ const T1 = {
|
|
|
852
846
|
underline: ["text-decoration"],
|
|
853
847
|
textTransform: ["text-transform"]
|
|
854
848
|
}, B1 = {
|
|
855
|
-
...
|
|
849
|
+
...Se,
|
|
856
850
|
...L1,
|
|
857
851
|
...T1,
|
|
858
852
|
...D1,
|
|
859
853
|
...C1,
|
|
860
854
|
...k1
|
|
861
855
|
}, P1 = {
|
|
862
|
-
mobile: `(max-width: ${parseInt(
|
|
863
|
-
aboveMobile: `(min-width:${parseInt(
|
|
864
|
-
tablet: `(min-width:${parseInt(
|
|
865
|
-
aboveTablet: `(min-width:${parseInt(
|
|
866
|
-
desktop: `(min-width:${parseInt(
|
|
867
|
-
aboveDesktop: `(min-width:${parseInt(
|
|
868
|
-
large: `(min-width:${parseInt(
|
|
869
|
-
},
|
|
870
|
-
Object.entries(e).filter(([n]) => Object.keys(
|
|
856
|
+
mobile: `(max-width: ${parseInt(F.breakpoint.sm.value, 10) - 1}px)`,
|
|
857
|
+
aboveMobile: `(min-width:${parseInt(F.breakpoint.sm.value, 10)}px)`,
|
|
858
|
+
tablet: `(min-width:${parseInt(F.breakpoint.sm.value, 10)}px) and (max-width: ${parseInt(F.breakpoint.md.value, 10) - 1}px)`,
|
|
859
|
+
aboveTablet: `(min-width:${parseInt(F.breakpoint.md.value, 10)}px)`,
|
|
860
|
+
desktop: `(min-width:${parseInt(F.breakpoint.md.value, 10)}px) and (max-width: ${parseInt(F.breakpoint.lg.value, 10) - 1}px)`,
|
|
861
|
+
aboveDesktop: `(min-width:${parseInt(F.breakpoint.lg.value, 10)}px)`,
|
|
862
|
+
large: `(min-width:${parseInt(F.breakpoint.lg.value, 10)}px)`
|
|
863
|
+
}, Oe = (e) => $(
|
|
864
|
+
Object.entries(e).filter(([n]) => Object.keys(Se).includes(n)).reduce((n, [t, a]) => (n.push(
|
|
871
865
|
...B({
|
|
872
866
|
className: t,
|
|
873
867
|
propValue: a
|
|
874
868
|
})
|
|
875
869
|
), n), [])
|
|
876
|
-
),
|
|
870
|
+
), Ae = ({
|
|
877
871
|
textAlign: e,
|
|
878
872
|
...n
|
|
879
873
|
}) => $(
|
|
@@ -888,20 +882,20 @@ const T1 = {
|
|
|
888
882
|
["text-italic"]: n.italic
|
|
889
883
|
}
|
|
890
884
|
), $1 = (e) => $({
|
|
891
|
-
[`hidden-above@${e.hiddenAbove}`]:
|
|
892
|
-
[`hidden-below@${e.hiddenBelow}`]:
|
|
893
|
-
}),
|
|
894
|
-
|
|
885
|
+
[`hidden-above@${e.hiddenAbove}`]: !!e.hiddenAbove,
|
|
886
|
+
[`hidden-below@${e.hiddenBelow}`]: !!e.hiddenBelow
|
|
887
|
+
}), Me = (e) => typeof e.props == "object" ? Object.keys(e.props).reduce((n, t) => (e.systemPropNames.includes(t) || (n[t] = e.props[t]), n), {}) : {}, U1 = (e) => $(
|
|
888
|
+
_e(e),
|
|
895
889
|
M1(e),
|
|
896
890
|
R1(e),
|
|
897
|
-
|
|
898
|
-
|
|
891
|
+
Oe(e),
|
|
892
|
+
Ae(e),
|
|
899
893
|
$1(e)
|
|
900
894
|
);
|
|
901
|
-
function
|
|
902
|
-
return
|
|
895
|
+
function c0(e) {
|
|
896
|
+
return P0.forwardRef(e);
|
|
903
897
|
}
|
|
904
|
-
const v2 = ["primary", "secondary"], H1 =
|
|
898
|
+
const v2 = ["primary", "secondary"], H1 = c0(
|
|
905
899
|
({ as: e = "button", variant: n = "primary", isChoiceChip: t = !1, children: a, ...s }, c) => /* @__PURE__ */ d(
|
|
906
900
|
U,
|
|
907
901
|
{
|
|
@@ -924,15 +918,15 @@ const v2 = ["primary", "secondary"], H1 = a0(
|
|
|
924
918
|
);
|
|
925
919
|
H1.displayName = "Button";
|
|
926
920
|
const Z0 = ({ name: e, size: n, ...t }) => {
|
|
927
|
-
const a =
|
|
921
|
+
const a = w1[A1(e)];
|
|
928
922
|
return /* @__PURE__ */ d(
|
|
929
923
|
a,
|
|
930
924
|
{
|
|
931
|
-
...
|
|
925
|
+
...Me({ props: t, systemPropNames: [...Object.keys(we), "color"] }),
|
|
932
926
|
className: $(
|
|
933
927
|
"icon",
|
|
934
|
-
|
|
935
|
-
|
|
928
|
+
Oe(t),
|
|
929
|
+
_e(t),
|
|
936
930
|
t == null ? void 0 : t.className
|
|
937
931
|
),
|
|
938
932
|
height: "1em",
|
|
@@ -940,24 +934,24 @@ const Z0 = ({ name: e, size: n, ...t }) => {
|
|
|
940
934
|
style: { fontSize: n }
|
|
941
935
|
}
|
|
942
936
|
);
|
|
943
|
-
}, U =
|
|
937
|
+
}, U = c0(({ as: e = "div", textSize: n, children: t, ...a }, s) => /* @__PURE__ */ d(
|
|
944
938
|
e,
|
|
945
939
|
{
|
|
946
|
-
...
|
|
940
|
+
...Me({ props: a, systemPropNames: Object.keys(B1) }),
|
|
947
941
|
ref: s,
|
|
948
942
|
className: $(
|
|
949
943
|
U1(a),
|
|
950
|
-
|
|
951
|
-
{ [`text-${n}`]:
|
|
944
|
+
Ae(a),
|
|
945
|
+
{ [`text-${n}`]: !!n },
|
|
952
946
|
a == null ? void 0 : a.className
|
|
953
947
|
),
|
|
954
948
|
children: t
|
|
955
949
|
}
|
|
956
950
|
));
|
|
957
951
|
U.displayName = "Box";
|
|
958
|
-
const
|
|
959
|
-
const E2 = ["website", "blog"], y2 =
|
|
960
|
-
|
|
952
|
+
const q0 = c0(({ as: e = "div", display: n = "flex", ...t }, a) => /* @__PURE__ */ d(U, { ...t, ref: a, as: e, display: n }));
|
|
953
|
+
const E2 = ["website", "blog"], y2 = c0(({ name: e, size: n, ...t }, a) => /* @__PURE__ */ j(
|
|
954
|
+
q0,
|
|
961
955
|
{
|
|
962
956
|
...t,
|
|
963
957
|
ref: a,
|
|
@@ -966,11 +960,11 @@ const E2 = ["website", "blog"], y2 = a0(({ name: e, size: n, ...t }, a) => /* @_
|
|
|
966
960
|
className: $("logo", t.className),
|
|
967
961
|
style: { fontSize: n },
|
|
968
962
|
children: [
|
|
969
|
-
/* @__PURE__ */ d(
|
|
963
|
+
/* @__PURE__ */ d(ye, { height: "1em" }),
|
|
970
964
|
e === "blog" ? /* @__PURE__ */ j(U, { className: "logo__blog", children: [
|
|
971
|
-
/* @__PURE__ */ d(
|
|
972
|
-
/* @__PURE__ */ d(
|
|
973
|
-
] }) : /* @__PURE__ */ d(
|
|
965
|
+
/* @__PURE__ */ d(d0, { fontWeight: "medium", children: "Eleven Labs" }),
|
|
966
|
+
/* @__PURE__ */ d(d0, { fontWeight: "bold", children: "Le blog" })
|
|
967
|
+
] }) : /* @__PURE__ */ d(d0, { fontWeight: "medium", className: "logo__website", children: "Eleven Labs" })
|
|
974
968
|
]
|
|
975
969
|
}
|
|
976
970
|
));
|
|
@@ -1025,20 +1019,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1025
1019
|
function F1(e) {
|
|
1026
1020
|
return G1(e) || V1(e) || Z1(e) || W1();
|
|
1027
1021
|
}
|
|
1028
|
-
function
|
|
1029
|
-
|
|
1022
|
+
function A0(e) {
|
|
1023
|
+
"@babel/helpers - typeof";
|
|
1024
|
+
return A0 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
1030
1025
|
return typeof n;
|
|
1031
1026
|
} : function(n) {
|
|
1032
1027
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
1033
|
-
},
|
|
1028
|
+
}, A0(e);
|
|
1034
1029
|
}
|
|
1035
1030
|
function K1(e, n) {
|
|
1036
|
-
if (
|
|
1031
|
+
if (A0(e) !== "object" || e === null)
|
|
1037
1032
|
return e;
|
|
1038
1033
|
var t = e[Symbol.toPrimitive];
|
|
1039
1034
|
if (t !== void 0) {
|
|
1040
1035
|
var a = t.call(e, n || "default");
|
|
1041
|
-
if (
|
|
1036
|
+
if (A0(a) !== "object")
|
|
1042
1037
|
return a;
|
|
1043
1038
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1044
1039
|
}
|
|
@@ -1046,9 +1041,9 @@ function K1(e, n) {
|
|
|
1046
1041
|
}
|
|
1047
1042
|
function Y1(e) {
|
|
1048
1043
|
var n = K1(e, "string");
|
|
1049
|
-
return
|
|
1044
|
+
return A0(n) === "symbol" ? n : String(n);
|
|
1050
1045
|
}
|
|
1051
|
-
function
|
|
1046
|
+
function Re(e, n, t) {
|
|
1052
1047
|
return n = Y1(n), n in e ? Object.defineProperty(e, n, {
|
|
1053
1048
|
value: t,
|
|
1054
1049
|
enumerable: !0,
|
|
@@ -1066,7 +1061,7 @@ function F0() {
|
|
|
1066
1061
|
return e;
|
|
1067
1062
|
}, F0.apply(this, arguments);
|
|
1068
1063
|
}
|
|
1069
|
-
function
|
|
1064
|
+
function ie(e, n) {
|
|
1070
1065
|
var t = Object.keys(e);
|
|
1071
1066
|
if (Object.getOwnPropertySymbols) {
|
|
1072
1067
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -1076,12 +1071,12 @@ function le(e, n) {
|
|
|
1076
1071
|
}
|
|
1077
1072
|
return t;
|
|
1078
1073
|
}
|
|
1079
|
-
function
|
|
1074
|
+
function w0(e) {
|
|
1080
1075
|
for (var n = 1; n < arguments.length; n++) {
|
|
1081
1076
|
var t = arguments[n] != null ? arguments[n] : {};
|
|
1082
|
-
n % 2 ?
|
|
1083
|
-
|
|
1084
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
|
1077
|
+
n % 2 ? ie(Object(t), !0).forEach(function(a) {
|
|
1078
|
+
Re(e, a, t[a]);
|
|
1079
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ie(Object(t)).forEach(function(a) {
|
|
1085
1080
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
|
|
1086
1081
|
});
|
|
1087
1082
|
}
|
|
@@ -1098,29 +1093,29 @@ function X1(e) {
|
|
|
1098
1093
|
if (n >= 4)
|
|
1099
1094
|
return [e[0], e[1], e[2], e[3], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3]), "".concat(e[3], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1], ".").concat(e[0])];
|
|
1100
1095
|
}
|
|
1101
|
-
var
|
|
1096
|
+
var z0 = {};
|
|
1102
1097
|
function q1(e) {
|
|
1103
1098
|
if (e.length === 0 || e.length === 1)
|
|
1104
1099
|
return e;
|
|
1105
1100
|
var n = e.join(".");
|
|
1106
|
-
return
|
|
1101
|
+
return z0[n] || (z0[n] = X1(e)), z0[n];
|
|
1107
1102
|
}
|
|
1108
1103
|
function Q1(e) {
|
|
1109
1104
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = arguments.length > 2 ? arguments[2] : void 0, a = e.filter(function(c) {
|
|
1110
1105
|
return c !== "token";
|
|
1111
1106
|
}), s = q1(a);
|
|
1112
1107
|
return s.reduce(function(c, l) {
|
|
1113
|
-
return
|
|
1108
|
+
return w0(w0({}, c), t[l]);
|
|
1114
1109
|
}, n);
|
|
1115
1110
|
}
|
|
1116
|
-
function
|
|
1111
|
+
function re(e) {
|
|
1117
1112
|
return e.join(" ");
|
|
1118
1113
|
}
|
|
1119
1114
|
function J1(e, n) {
|
|
1120
1115
|
var t = 0;
|
|
1121
1116
|
return function(a) {
|
|
1122
1117
|
return t += 1, a.map(function(s, c) {
|
|
1123
|
-
return
|
|
1118
|
+
return Te({
|
|
1124
1119
|
node: s,
|
|
1125
1120
|
stylesheet: e,
|
|
1126
1121
|
useInlineStyles: n,
|
|
@@ -1129,15 +1124,15 @@ function J1(e, n) {
|
|
|
1129
1124
|
});
|
|
1130
1125
|
};
|
|
1131
1126
|
}
|
|
1132
|
-
function
|
|
1127
|
+
function Te(e) {
|
|
1133
1128
|
var n = e.node, t = e.stylesheet, a = e.style, s = a === void 0 ? {} : a, c = e.useInlineStyles, l = e.key, i = n.properties, r = n.type, g = n.tagName, o = n.value;
|
|
1134
1129
|
if (r === "text")
|
|
1135
1130
|
return o;
|
|
1136
1131
|
if (g) {
|
|
1137
1132
|
var m = J1(t, c), b;
|
|
1138
1133
|
if (!c)
|
|
1139
|
-
b =
|
|
1140
|
-
className:
|
|
1134
|
+
b = w0(w0({}, i), {}, {
|
|
1135
|
+
className: re(i.className)
|
|
1141
1136
|
});
|
|
1142
1137
|
else {
|
|
1143
1138
|
var v = Object.keys(t).reduce(function(x, w) {
|
|
@@ -1147,13 +1142,13 @@ function Le(e) {
|
|
|
1147
1142
|
}, []), L = i.className && i.className.includes("token") ? ["token"] : [], S = i.className && L.concat(i.className.filter(function(x) {
|
|
1148
1143
|
return !v.includes(x);
|
|
1149
1144
|
}));
|
|
1150
|
-
b =
|
|
1151
|
-
className:
|
|
1145
|
+
b = w0(w0({}, i), {}, {
|
|
1146
|
+
className: re(S) || void 0,
|
|
1152
1147
|
style: Q1(i.className, Object.assign({}, i.style, s), t)
|
|
1153
1148
|
});
|
|
1154
1149
|
}
|
|
1155
1150
|
var A = m(n.children);
|
|
1156
|
-
return /* @__PURE__ */
|
|
1151
|
+
return /* @__PURE__ */ g0.createElement(g, F0({
|
|
1157
1152
|
key: l
|
|
1158
1153
|
}, b), A);
|
|
1159
1154
|
}
|
|
@@ -1163,7 +1158,7 @@ const en = function(e, n) {
|
|
|
1163
1158
|
return t.indexOf(n) !== -1;
|
|
1164
1159
|
};
|
|
1165
1160
|
var nn = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "startingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag", "code", "astGenerator"];
|
|
1166
|
-
function
|
|
1161
|
+
function oe(e, n) {
|
|
1167
1162
|
var t = Object.keys(e);
|
|
1168
1163
|
if (Object.getOwnPropertySymbols) {
|
|
1169
1164
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -1173,12 +1168,12 @@ function ge(e, n) {
|
|
|
1173
1168
|
}
|
|
1174
1169
|
return t;
|
|
1175
1170
|
}
|
|
1176
|
-
function
|
|
1171
|
+
function t0(e) {
|
|
1177
1172
|
for (var n = 1; n < arguments.length; n++) {
|
|
1178
1173
|
var t = arguments[n] != null ? arguments[n] : {};
|
|
1179
|
-
n % 2 ?
|
|
1180
|
-
|
|
1181
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
|
1174
|
+
n % 2 ? oe(Object(t), !0).forEach(function(a) {
|
|
1175
|
+
Re(e, a, t[a]);
|
|
1176
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : oe(Object(t)).forEach(function(a) {
|
|
1182
1177
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
|
|
1183
1178
|
});
|
|
1184
1179
|
}
|
|
@@ -1192,7 +1187,7 @@ function cn(e) {
|
|
|
1192
1187
|
var n = e.lines, t = e.startingLineNumber, a = e.style;
|
|
1193
1188
|
return n.map(function(s, c) {
|
|
1194
1189
|
var l = c + t;
|
|
1195
|
-
return /* @__PURE__ */
|
|
1190
|
+
return /* @__PURE__ */ g0.createElement("span", {
|
|
1196
1191
|
key: "line-".concat(c),
|
|
1197
1192
|
className: "react-syntax-highlighter-line-number",
|
|
1198
1193
|
style: typeof a == "function" ? a(l) : a
|
|
@@ -1205,7 +1200,7 @@ function sn(e) {
|
|
|
1205
1200
|
float: "left",
|
|
1206
1201
|
paddingRight: "10px"
|
|
1207
1202
|
} : a, c = e.numberStyle, l = c === void 0 ? {} : c, i = e.startingLineNumber;
|
|
1208
|
-
return /* @__PURE__ */
|
|
1203
|
+
return /* @__PURE__ */ g0.createElement("code", {
|
|
1209
1204
|
style: Object.assign({}, t, s)
|
|
1210
1205
|
}, cn({
|
|
1211
1206
|
lines: n.replace(/\n$/, "").split(`
|
|
@@ -1217,7 +1212,7 @@ function sn(e) {
|
|
|
1217
1212
|
function rn(e) {
|
|
1218
1213
|
return "".concat(e.toString().length, ".25em");
|
|
1219
1214
|
}
|
|
1220
|
-
function
|
|
1215
|
+
function Ie(e, n) {
|
|
1221
1216
|
return {
|
|
1222
1217
|
type: "element",
|
|
1223
1218
|
tagName: "span",
|
|
@@ -1232,23 +1227,23 @@ function ke(e, n) {
|
|
|
1232
1227
|
}]
|
|
1233
1228
|
};
|
|
1234
1229
|
}
|
|
1235
|
-
function
|
|
1230
|
+
function Le(e, n, t) {
|
|
1236
1231
|
var a = {
|
|
1237
1232
|
display: "inline-block",
|
|
1238
1233
|
minWidth: rn(t),
|
|
1239
1234
|
paddingRight: "1em",
|
|
1240
1235
|
textAlign: "right",
|
|
1241
1236
|
userSelect: "none"
|
|
1242
|
-
}, s = typeof e == "function" ? e(n) : e, c =
|
|
1237
|
+
}, s = typeof e == "function" ? e(n) : e, c = t0(t0({}, a), s);
|
|
1243
1238
|
return c;
|
|
1244
1239
|
}
|
|
1245
|
-
function
|
|
1240
|
+
function C0(e) {
|
|
1246
1241
|
var n = e.children, t = e.lineNumber, a = e.lineNumberStyle, s = e.largestLineNumber, c = e.showInlineLineNumbers, l = e.lineProps, i = l === void 0 ? {} : l, r = e.className, g = r === void 0 ? [] : r, o = e.showLineNumbers, m = e.wrapLongLines, b = typeof i == "function" ? i(t) : i;
|
|
1247
1242
|
if (b.className = g, t && c) {
|
|
1248
|
-
var v =
|
|
1249
|
-
n.unshift(
|
|
1243
|
+
var v = Le(a, t, s);
|
|
1244
|
+
n.unshift(Ie(t, v));
|
|
1250
1245
|
}
|
|
1251
|
-
return m & o && (b.style =
|
|
1246
|
+
return m & o && (b.style = t0(t0({}, b.style), {}, {
|
|
1252
1247
|
display: "flex"
|
|
1253
1248
|
})), {
|
|
1254
1249
|
type: "element",
|
|
@@ -1257,17 +1252,17 @@ function k0(e) {
|
|
|
1257
1252
|
children: n
|
|
1258
1253
|
};
|
|
1259
1254
|
}
|
|
1260
|
-
function
|
|
1255
|
+
function ke(e) {
|
|
1261
1256
|
for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], a = 0; a < e.length; a++) {
|
|
1262
1257
|
var s = e[a];
|
|
1263
1258
|
if (s.type === "text")
|
|
1264
|
-
t.push(
|
|
1259
|
+
t.push(C0({
|
|
1265
1260
|
children: [s],
|
|
1266
1261
|
className: F1(new Set(n))
|
|
1267
1262
|
}));
|
|
1268
1263
|
else if (s.children) {
|
|
1269
1264
|
var c = n.concat(s.properties.className);
|
|
1270
|
-
|
|
1265
|
+
ke(s.children, c).forEach(function(l) {
|
|
1271
1266
|
return t.push(l);
|
|
1272
1267
|
});
|
|
1273
1268
|
}
|
|
@@ -1275,10 +1270,10 @@ function De(e) {
|
|
|
1275
1270
|
return t;
|
|
1276
1271
|
}
|
|
1277
1272
|
function on(e, n, t, a, s, c, l, i, r) {
|
|
1278
|
-
var g, o =
|
|
1273
|
+
var g, o = ke(e.value), m = [], b = -1, v = 0;
|
|
1279
1274
|
function L(k, _) {
|
|
1280
1275
|
var T = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
1281
|
-
return
|
|
1276
|
+
return C0({
|
|
1282
1277
|
children: k,
|
|
1283
1278
|
lineNumber: _,
|
|
1284
1279
|
lineNumberStyle: i,
|
|
@@ -1292,8 +1287,8 @@ function on(e, n, t, a, s, c, l, i, r) {
|
|
|
1292
1287
|
}
|
|
1293
1288
|
function S(k, _) {
|
|
1294
1289
|
if (a && _ && s) {
|
|
1295
|
-
var T =
|
|
1296
|
-
k.unshift(
|
|
1290
|
+
var T = Le(i, _, l);
|
|
1291
|
+
k.unshift(Ie(_, T));
|
|
1297
1292
|
}
|
|
1298
1293
|
return k;
|
|
1299
1294
|
}
|
|
@@ -1304,38 +1299,38 @@ function on(e, n, t, a, s, c, l, i, r) {
|
|
|
1304
1299
|
for (var x = function() {
|
|
1305
1300
|
var _ = o[v], T = _.children[0].value, P = an(T);
|
|
1306
1301
|
if (P) {
|
|
1307
|
-
var
|
|
1302
|
+
var K = T.split(`
|
|
1308
1303
|
`);
|
|
1309
|
-
|
|
1310
|
-
var
|
|
1304
|
+
K.forEach(function(X, q) {
|
|
1305
|
+
var Q = a && m.length + c, p0 = {
|
|
1311
1306
|
type: "text",
|
|
1312
|
-
value: "".concat(
|
|
1307
|
+
value: "".concat(X, `
|
|
1313
1308
|
`)
|
|
1314
1309
|
};
|
|
1315
|
-
if (
|
|
1316
|
-
var
|
|
1317
|
-
children: [
|
|
1310
|
+
if (q === 0) {
|
|
1311
|
+
var y0 = o.slice(b + 1, v).concat(C0({
|
|
1312
|
+
children: [p0],
|
|
1318
1313
|
className: _.properties.className
|
|
1319
|
-
})), G = A(
|
|
1314
|
+
})), G = A(y0, Q);
|
|
1320
1315
|
m.push(G);
|
|
1321
|
-
} else if (
|
|
1322
|
-
var
|
|
1316
|
+
} else if (q === K.length - 1) {
|
|
1317
|
+
var b0 = o[v + 1] && o[v + 1].children && o[v + 1].children[0], o0 = {
|
|
1323
1318
|
type: "text",
|
|
1324
|
-
value: "".concat(
|
|
1319
|
+
value: "".concat(X)
|
|
1325
1320
|
};
|
|
1326
|
-
if (
|
|
1327
|
-
var
|
|
1328
|
-
children: [
|
|
1321
|
+
if (b0) {
|
|
1322
|
+
var l0 = C0({
|
|
1323
|
+
children: [o0],
|
|
1329
1324
|
className: _.properties.className
|
|
1330
1325
|
});
|
|
1331
|
-
o.splice(v + 1, 0,
|
|
1326
|
+
o.splice(v + 1, 0, l0);
|
|
1332
1327
|
} else {
|
|
1333
|
-
var
|
|
1334
|
-
m.push(
|
|
1328
|
+
var s0 = [o0], Y = A(s0, Q, _.properties.className);
|
|
1329
|
+
m.push(Y);
|
|
1335
1330
|
}
|
|
1336
1331
|
} else {
|
|
1337
|
-
var
|
|
1338
|
-
m.push(
|
|
1332
|
+
var N0 = [p0], O0 = A(N0, Q, _.properties.className);
|
|
1333
|
+
m.push(O0);
|
|
1339
1334
|
}
|
|
1340
1335
|
}), b = v;
|
|
1341
1336
|
}
|
|
@@ -1354,7 +1349,7 @@ function on(e, n, t, a, s, c, l, i, r) {
|
|
|
1354
1349
|
function ln(e) {
|
|
1355
1350
|
var n = e.rows, t = e.stylesheet, a = e.useInlineStyles;
|
|
1356
1351
|
return n.map(function(s, c) {
|
|
1357
|
-
return
|
|
1352
|
+
return Te({
|
|
1358
1353
|
node: s,
|
|
1359
1354
|
stylesheet: t,
|
|
1360
1355
|
useInlineStyles: a,
|
|
@@ -1362,12 +1357,12 @@ function ln(e) {
|
|
|
1362
1357
|
});
|
|
1363
1358
|
});
|
|
1364
1359
|
}
|
|
1365
|
-
function
|
|
1360
|
+
function Ce(e) {
|
|
1366
1361
|
return e && typeof e.highlightAuto < "u";
|
|
1367
1362
|
}
|
|
1368
1363
|
function un(e) {
|
|
1369
1364
|
var n = e.astGenerator, t = e.language, a = e.code, s = e.defaultCodeValue;
|
|
1370
|
-
if (
|
|
1365
|
+
if (Ce(n)) {
|
|
1371
1366
|
var c = en(n, t);
|
|
1372
1367
|
return t === "text" ? {
|
|
1373
1368
|
value: s,
|
|
@@ -1390,62 +1385,62 @@ function gn(e, n) {
|
|
|
1390
1385
|
return function(a) {
|
|
1391
1386
|
var s = a.language, c = a.children, l = a.style, i = l === void 0 ? n : l, r = a.customStyle, g = r === void 0 ? {} : r, o = a.codeTagProps, m = o === void 0 ? {
|
|
1392
1387
|
className: s ? "language-".concat(s) : void 0,
|
|
1393
|
-
style:
|
|
1394
|
-
} : o, b = a.useInlineStyles, v = b === void 0 ? !0 : b, L = a.showLineNumbers, S = L === void 0 ? !1 : L, A = a.showInlineLineNumbers, x = A === void 0 ? !0 : A, w = a.startingLineNumber, M = w === void 0 ? 1 : w, R = a.lineNumberContainerStyle, k = a.lineNumberStyle, _ = k === void 0 ? {} : k, T = a.wrapLines, P = a.wrapLongLines,
|
|
1395
|
-
|
|
1396
|
-
var
|
|
1388
|
+
style: t0(t0({}, i['code[class*="language-"]']), i['code[class*="language-'.concat(s, '"]')])
|
|
1389
|
+
} : o, b = a.useInlineStyles, v = b === void 0 ? !0 : b, L = a.showLineNumbers, S = L === void 0 ? !1 : L, A = a.showInlineLineNumbers, x = A === void 0 ? !0 : A, w = a.startingLineNumber, M = w === void 0 ? 1 : w, R = a.lineNumberContainerStyle, k = a.lineNumberStyle, _ = k === void 0 ? {} : k, T = a.wrapLines, P = a.wrapLongLines, K = P === void 0 ? !1 : P, X = a.lineProps, q = X === void 0 ? {} : X, Q = a.renderer, p0 = a.PreTag, y0 = p0 === void 0 ? "pre" : p0, G = a.CodeTag, b0 = G === void 0 ? "code" : G, o0 = a.code, l0 = o0 === void 0 ? (Array.isArray(c) ? c[0] : c) || "" : o0, s0 = a.astGenerator, Y = z1(a, nn);
|
|
1390
|
+
s0 = s0 || e;
|
|
1391
|
+
var N0 = S ? /* @__PURE__ */ g0.createElement(sn, {
|
|
1397
1392
|
containerStyle: R,
|
|
1398
1393
|
codeStyle: m.style || {},
|
|
1399
1394
|
numberStyle: _,
|
|
1400
1395
|
startingLineNumber: M,
|
|
1401
|
-
codeString:
|
|
1402
|
-
}) : null,
|
|
1396
|
+
codeString: l0
|
|
1397
|
+
}) : null, O0 = i.hljs || i['pre[class*="language-"]'] || {
|
|
1403
1398
|
backgroundColor: "#fff"
|
|
1404
|
-
}, u =
|
|
1405
|
-
style: Object.assign({},
|
|
1406
|
-
}) : Object.assign({},
|
|
1407
|
-
className:
|
|
1399
|
+
}, u = Ce(s0) ? "hljs" : "prismjs", f = v ? Object.assign({}, Y, {
|
|
1400
|
+
style: Object.assign({}, O0, g)
|
|
1401
|
+
}) : Object.assign({}, Y, {
|
|
1402
|
+
className: Y.className ? "".concat(u, " ").concat(Y.className) : u,
|
|
1408
1403
|
style: Object.assign({}, g)
|
|
1409
1404
|
});
|
|
1410
|
-
if (
|
|
1405
|
+
if (K ? m.style = t0(t0({}, m.style), {}, {
|
|
1411
1406
|
whiteSpace: "pre-wrap"
|
|
1412
|
-
}) : m.style =
|
|
1407
|
+
}) : m.style = t0(t0({}, m.style), {}, {
|
|
1413
1408
|
whiteSpace: "pre"
|
|
1414
|
-
}), !
|
|
1415
|
-
return /* @__PURE__ */
|
|
1416
|
-
(T === void 0 &&
|
|
1409
|
+
}), !s0)
|
|
1410
|
+
return /* @__PURE__ */ g0.createElement(y0, f, N0, /* @__PURE__ */ g0.createElement(b0, m, l0));
|
|
1411
|
+
(T === void 0 && Q || K) && (T = !0), Q = Q || ln;
|
|
1417
1412
|
var E = [{
|
|
1418
1413
|
type: "text",
|
|
1419
|
-
value:
|
|
1414
|
+
value: l0
|
|
1420
1415
|
}], O = un({
|
|
1421
|
-
astGenerator:
|
|
1416
|
+
astGenerator: s0,
|
|
1422
1417
|
language: s,
|
|
1423
|
-
code:
|
|
1418
|
+
code: l0,
|
|
1424
1419
|
defaultCodeValue: E
|
|
1425
1420
|
});
|
|
1426
1421
|
O.language === null && (O.value = E);
|
|
1427
|
-
var C = O.value.length + M,
|
|
1428
|
-
return /* @__PURE__ */
|
|
1429
|
-
rows:
|
|
1422
|
+
var C = O.value.length + M, i0 = on(O, T, q, S, x, M, C, _, K);
|
|
1423
|
+
return /* @__PURE__ */ g0.createElement(y0, f, /* @__PURE__ */ g0.createElement(b0, m, !x && N0, Q({
|
|
1424
|
+
rows: i0,
|
|
1430
1425
|
stylesheet: i,
|
|
1431
1426
|
useInlineStyles: v
|
|
1432
1427
|
})));
|
|
1433
1428
|
};
|
|
1434
1429
|
}
|
|
1435
|
-
var
|
|
1436
|
-
function
|
|
1430
|
+
var E0 = {};
|
|
1431
|
+
function Q0(e) {
|
|
1437
1432
|
return e instanceof Map ? e.clear = e.delete = e.set = function() {
|
|
1438
1433
|
throw new Error("map is read-only");
|
|
1439
1434
|
} : e instanceof Set && (e.add = e.clear = e.delete = function() {
|
|
1440
1435
|
throw new Error("set is read-only");
|
|
1441
1436
|
}), Object.freeze(e), Object.getOwnPropertyNames(e).forEach(function(n) {
|
|
1442
1437
|
var t = e[n];
|
|
1443
|
-
typeof t == "object" && !Object.isFrozen(t) &&
|
|
1438
|
+
typeof t == "object" && !Object.isFrozen(t) && Q0(t);
|
|
1444
1439
|
}), e;
|
|
1445
1440
|
}
|
|
1446
|
-
var
|
|
1447
|
-
|
|
1448
|
-
class
|
|
1441
|
+
var De = Q0, mn = Q0;
|
|
1442
|
+
De.default = mn;
|
|
1443
|
+
class le {
|
|
1449
1444
|
/**
|
|
1450
1445
|
* @param {CompiledMode} mode
|
|
1451
1446
|
*/
|
|
@@ -1456,10 +1451,10 @@ class me {
|
|
|
1456
1451
|
this.isMatchIgnored = !0;
|
|
1457
1452
|
}
|
|
1458
1453
|
}
|
|
1459
|
-
function
|
|
1454
|
+
function S0(e) {
|
|
1460
1455
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
1461
1456
|
}
|
|
1462
|
-
function
|
|
1457
|
+
function m0(e, ...n) {
|
|
1463
1458
|
const t = /* @__PURE__ */ Object.create(null);
|
|
1464
1459
|
for (const a in e)
|
|
1465
1460
|
t[a] = e[a];
|
|
@@ -1469,7 +1464,7 @@ function g0(e, ...n) {
|
|
|
1469
1464
|
}), /** @type {T} */
|
|
1470
1465
|
t;
|
|
1471
1466
|
}
|
|
1472
|
-
const dn = "</span>",
|
|
1467
|
+
const dn = "</span>", ue = (e) => !!e.kind;
|
|
1473
1468
|
class fn {
|
|
1474
1469
|
/**
|
|
1475
1470
|
* Creates a new HTMLRenderer
|
|
@@ -1485,14 +1480,14 @@ class fn {
|
|
|
1485
1480
|
*
|
|
1486
1481
|
* @param {string} text */
|
|
1487
1482
|
addText(n) {
|
|
1488
|
-
this.buffer +=
|
|
1483
|
+
this.buffer += S0(n);
|
|
1489
1484
|
}
|
|
1490
1485
|
/**
|
|
1491
1486
|
* Adds a node open to the output stream (if needed)
|
|
1492
1487
|
*
|
|
1493
1488
|
* @param {Node} node */
|
|
1494
1489
|
openNode(n) {
|
|
1495
|
-
if (!
|
|
1490
|
+
if (!ue(n))
|
|
1496
1491
|
return;
|
|
1497
1492
|
let t = n.kind;
|
|
1498
1493
|
n.sublanguage || (t = `${this.classPrefix}${t}`), this.span(t);
|
|
@@ -1502,7 +1497,7 @@ class fn {
|
|
|
1502
1497
|
*
|
|
1503
1498
|
* @param {Node} node */
|
|
1504
1499
|
closeNode(n) {
|
|
1505
|
-
|
|
1500
|
+
ue(n) && (this.buffer += dn);
|
|
1506
1501
|
}
|
|
1507
1502
|
/**
|
|
1508
1503
|
* returns the accumulated buffer
|
|
@@ -1519,7 +1514,7 @@ class fn {
|
|
|
1519
1514
|
this.buffer += `<span class="${n}">`;
|
|
1520
1515
|
}
|
|
1521
1516
|
}
|
|
1522
|
-
class
|
|
1517
|
+
class J0 {
|
|
1523
1518
|
constructor() {
|
|
1524
1519
|
this.rootNode = { children: [] }, this.stack = [this.rootNode];
|
|
1525
1520
|
}
|
|
@@ -1568,11 +1563,11 @@ class te {
|
|
|
1568
1563
|
*/
|
|
1569
1564
|
static _collapse(n) {
|
|
1570
1565
|
typeof n != "string" && n.children && (n.children.every((t) => typeof t == "string") ? n.children = [n.children.join("")] : n.children.forEach((t) => {
|
|
1571
|
-
|
|
1566
|
+
J0._collapse(t);
|
|
1572
1567
|
}));
|
|
1573
1568
|
}
|
|
1574
1569
|
}
|
|
1575
|
-
class hn extends
|
|
1570
|
+
class hn extends J0 {
|
|
1576
1571
|
/**
|
|
1577
1572
|
* @param {*} options
|
|
1578
1573
|
*/
|
|
@@ -1610,14 +1605,14 @@ class hn extends te {
|
|
|
1610
1605
|
function pn(e) {
|
|
1611
1606
|
return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), "m");
|
|
1612
1607
|
}
|
|
1613
|
-
function
|
|
1608
|
+
function M0(e) {
|
|
1614
1609
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
1615
1610
|
}
|
|
1616
1611
|
function bn(...e) {
|
|
1617
|
-
return e.map((t) =>
|
|
1612
|
+
return e.map((t) => M0(t)).join("");
|
|
1618
1613
|
}
|
|
1619
1614
|
function vn(...e) {
|
|
1620
|
-
return "(" + e.map((t) =>
|
|
1615
|
+
return "(" + e.map((t) => M0(t)).join("|") + ")";
|
|
1621
1616
|
}
|
|
1622
1617
|
function En(e) {
|
|
1623
1618
|
return new RegExp(e.toString() + "|").exec("").length - 1;
|
|
@@ -1632,7 +1627,7 @@ function xn(e, n = "|") {
|
|
|
1632
1627
|
return e.map((a) => {
|
|
1633
1628
|
t += 1;
|
|
1634
1629
|
const s = t;
|
|
1635
|
-
let c =
|
|
1630
|
+
let c = M0(a), l = "";
|
|
1636
1631
|
for (; c.length > 0; ) {
|
|
1637
1632
|
const i = Nn.exec(c);
|
|
1638
1633
|
if (!i) {
|
|
@@ -1644,14 +1639,14 @@ function xn(e, n = "|") {
|
|
|
1644
1639
|
return l;
|
|
1645
1640
|
}).map((a) => `(${a})`).join(n);
|
|
1646
1641
|
}
|
|
1647
|
-
const _n = /\b\B/,
|
|
1642
|
+
const _n = /\b\B/, Be = "[a-zA-Z]\\w*", ee = "[a-zA-Z_]\\w*", ne = "\\b\\d+(\\.\\d+)?", Pe = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", $e = "\\b(0b[01]+)", wn = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Sn = (e = {}) => {
|
|
1648
1643
|
const n = /^#![ ]*\//;
|
|
1649
1644
|
return e.binary && (e.begin = bn(
|
|
1650
1645
|
n,
|
|
1651
1646
|
/.*\b/,
|
|
1652
1647
|
e.binary,
|
|
1653
1648
|
/\b.*/
|
|
1654
|
-
)),
|
|
1649
|
+
)), m0({
|
|
1655
1650
|
className: "meta",
|
|
1656
1651
|
begin: n,
|
|
1657
1652
|
end: /$/,
|
|
@@ -1661,7 +1656,7 @@ const _n = /\b\B/, $e = "[a-zA-Z]\\w*", ae = "[a-zA-Z_]\\w*", ce = "\\b\\d+(\\.\
|
|
|
1661
1656
|
t.index !== 0 && a.ignoreMatch();
|
|
1662
1657
|
}
|
|
1663
1658
|
}, e);
|
|
1664
|
-
},
|
|
1659
|
+
}, R0 = {
|
|
1665
1660
|
begin: "\\\\[\\s\\S]",
|
|
1666
1661
|
relevance: 0
|
|
1667
1662
|
}, On = {
|
|
@@ -1669,17 +1664,17 @@ const _n = /\b\B/, $e = "[a-zA-Z]\\w*", ae = "[a-zA-Z_]\\w*", ce = "\\b\\d+(\\.\
|
|
|
1669
1664
|
begin: "'",
|
|
1670
1665
|
end: "'",
|
|
1671
1666
|
illegal: "\\n",
|
|
1672
|
-
contains: [
|
|
1667
|
+
contains: [R0]
|
|
1673
1668
|
}, An = {
|
|
1674
1669
|
className: "string",
|
|
1675
1670
|
begin: '"',
|
|
1676
1671
|
end: '"',
|
|
1677
1672
|
illegal: "\\n",
|
|
1678
|
-
contains: [
|
|
1679
|
-
},
|
|
1673
|
+
contains: [R0]
|
|
1674
|
+
}, Ue = {
|
|
1680
1675
|
begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
|
|
1681
|
-
},
|
|
1682
|
-
const a =
|
|
1676
|
+
}, $0 = function(e, n, t = {}) {
|
|
1677
|
+
const a = m0(
|
|
1683
1678
|
{
|
|
1684
1679
|
className: "comment",
|
|
1685
1680
|
begin: e,
|
|
@@ -1688,26 +1683,26 @@ const _n = /\b\B/, $e = "[a-zA-Z]\\w*", ae = "[a-zA-Z_]\\w*", ce = "\\b\\d+(\\.\
|
|
|
1688
1683
|
},
|
|
1689
1684
|
t
|
|
1690
1685
|
);
|
|
1691
|
-
return a.contains.push(
|
|
1686
|
+
return a.contains.push(Ue), a.contains.push({
|
|
1692
1687
|
className: "doctag",
|
|
1693
1688
|
begin: "(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
|
|
1694
1689
|
relevance: 0
|
|
1695
1690
|
}), a;
|
|
1696
|
-
}, Mn =
|
|
1691
|
+
}, Mn = $0("//", "$"), Rn = $0("/\\*", "\\*/"), Tn = $0("#", "$"), In = {
|
|
1697
1692
|
className: "number",
|
|
1698
|
-
begin:
|
|
1693
|
+
begin: ne,
|
|
1699
1694
|
relevance: 0
|
|
1700
1695
|
}, Ln = {
|
|
1701
1696
|
className: "number",
|
|
1702
|
-
begin:
|
|
1697
|
+
begin: Pe,
|
|
1703
1698
|
relevance: 0
|
|
1704
1699
|
}, kn = {
|
|
1705
1700
|
className: "number",
|
|
1706
|
-
begin:
|
|
1701
|
+
begin: $e,
|
|
1707
1702
|
relevance: 0
|
|
1708
1703
|
}, Cn = {
|
|
1709
1704
|
className: "number",
|
|
1710
|
-
begin:
|
|
1705
|
+
begin: ne + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
|
|
1711
1706
|
relevance: 0
|
|
1712
1707
|
}, Dn = {
|
|
1713
1708
|
// this outer rule makes sure we actually have a WHOLE regex and not simply
|
|
@@ -1723,26 +1718,26 @@ const _n = /\b\B/, $e = "[a-zA-Z]\\w*", ae = "[a-zA-Z_]\\w*", ce = "\\b\\d+(\\.\
|
|
|
1723
1718
|
end: /\/[gimuy]*/,
|
|
1724
1719
|
illegal: /\n/,
|
|
1725
1720
|
contains: [
|
|
1726
|
-
|
|
1721
|
+
R0,
|
|
1727
1722
|
{
|
|
1728
1723
|
begin: /\[/,
|
|
1729
1724
|
end: /\]/,
|
|
1730
1725
|
relevance: 0,
|
|
1731
|
-
contains: [
|
|
1726
|
+
contains: [R0]
|
|
1732
1727
|
}
|
|
1733
1728
|
]
|
|
1734
1729
|
}]
|
|
1735
1730
|
}, Bn = {
|
|
1736
1731
|
className: "title",
|
|
1737
|
-
begin:
|
|
1732
|
+
begin: Be,
|
|
1738
1733
|
relevance: 0
|
|
1739
1734
|
}, Pn = {
|
|
1740
1735
|
className: "title",
|
|
1741
|
-
begin:
|
|
1736
|
+
begin: ee,
|
|
1742
1737
|
relevance: 0
|
|
1743
1738
|
}, $n = {
|
|
1744
1739
|
// excludes method names from keyword processing
|
|
1745
|
-
begin: "\\.\\s*" +
|
|
1740
|
+
begin: "\\.\\s*" + ee,
|
|
1746
1741
|
relevance: 0
|
|
1747
1742
|
}, Un = function(e) {
|
|
1748
1743
|
return Object.assign(
|
|
@@ -1759,21 +1754,21 @@ const _n = /\b\B/, $e = "[a-zA-Z]\\w*", ae = "[a-zA-Z_]\\w*", ce = "\\b\\d+(\\.\
|
|
|
1759
1754
|
}
|
|
1760
1755
|
);
|
|
1761
1756
|
};
|
|
1762
|
-
var
|
|
1757
|
+
var k0 = /* @__PURE__ */ Object.freeze({
|
|
1763
1758
|
__proto__: null,
|
|
1764
1759
|
MATCH_NOTHING_RE: _n,
|
|
1765
|
-
IDENT_RE:
|
|
1766
|
-
UNDERSCORE_IDENT_RE:
|
|
1767
|
-
NUMBER_RE:
|
|
1768
|
-
C_NUMBER_RE:
|
|
1769
|
-
BINARY_NUMBER_RE:
|
|
1760
|
+
IDENT_RE: Be,
|
|
1761
|
+
UNDERSCORE_IDENT_RE: ee,
|
|
1762
|
+
NUMBER_RE: ne,
|
|
1763
|
+
C_NUMBER_RE: Pe,
|
|
1764
|
+
BINARY_NUMBER_RE: $e,
|
|
1770
1765
|
RE_STARTERS_RE: wn,
|
|
1771
1766
|
SHEBANG: Sn,
|
|
1772
|
-
BACKSLASH_ESCAPE:
|
|
1767
|
+
BACKSLASH_ESCAPE: R0,
|
|
1773
1768
|
APOS_STRING_MODE: On,
|
|
1774
1769
|
QUOTE_STRING_MODE: An,
|
|
1775
|
-
PHRASAL_WORDS_MODE:
|
|
1776
|
-
COMMENT:
|
|
1770
|
+
PHRASAL_WORDS_MODE: Ue,
|
|
1771
|
+
COMMENT: $0,
|
|
1777
1772
|
C_LINE_COMMENT_MODE: Mn,
|
|
1778
1773
|
C_BLOCK_COMMENT_MODE: Rn,
|
|
1779
1774
|
HASH_COMMENT_MODE: Tn,
|
|
@@ -1822,12 +1817,12 @@ const Zn = [
|
|
|
1822
1817
|
"value"
|
|
1823
1818
|
// common variable name
|
|
1824
1819
|
], Wn = "keyword";
|
|
1825
|
-
function
|
|
1820
|
+
function He(e, n, t = Wn) {
|
|
1826
1821
|
const a = {};
|
|
1827
1822
|
return typeof e == "string" ? s(t, e.split(" ")) : Array.isArray(e) ? s(t, e) : Object.keys(e).forEach(function(c) {
|
|
1828
1823
|
Object.assign(
|
|
1829
1824
|
a,
|
|
1830
|
-
|
|
1825
|
+
He(e[c], n, c)
|
|
1831
1826
|
);
|
|
1832
1827
|
}), a;
|
|
1833
1828
|
function s(c, l) {
|
|
@@ -1846,7 +1841,7 @@ function Kn(e) {
|
|
|
1846
1841
|
function Yn(e, { plugins: n }) {
|
|
1847
1842
|
function t(i, r) {
|
|
1848
1843
|
return new RegExp(
|
|
1849
|
-
|
|
1844
|
+
M0(i),
|
|
1850
1845
|
"m" + (e.case_insensitive ? "i" : "") + (r ? "g" : "")
|
|
1851
1846
|
);
|
|
1852
1847
|
}
|
|
@@ -1930,9 +1925,9 @@ function Yn(e, { plugins: n }) {
|
|
|
1930
1925
|
Vn
|
|
1931
1926
|
].forEach((m) => m(i, r)), i.isCompiled = !0;
|
|
1932
1927
|
let o = null;
|
|
1933
|
-
if (typeof i.keywords == "object" && (o = i.keywords.$pattern, delete i.keywords.$pattern), i.keywords && (i.keywords =
|
|
1928
|
+
if (typeof i.keywords == "object" && (o = i.keywords.$pattern, delete i.keywords.$pattern), i.keywords && (i.keywords = He(i.keywords, e.case_insensitive)), i.lexemes && o)
|
|
1934
1929
|
throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");
|
|
1935
|
-
return o = o || i.lexemes || /\w+/, g.keywordPatternRe = t(o, !0), r && (i.begin || (i.begin = /\B|\b/), g.beginRe = t(i.begin), i.endSameAsBegin && (i.end = i.begin), !i.end && !i.endsWithParent && (i.end = /\B|\b/), i.end && (g.endRe = t(i.end)), g.terminatorEnd =
|
|
1930
|
+
return o = o || i.lexemes || /\w+/, g.keywordPatternRe = t(o, !0), r && (i.begin || (i.begin = /\B|\b/), g.beginRe = t(i.begin), i.endSameAsBegin && (i.end = i.begin), !i.end && !i.endsWithParent && (i.end = /\B|\b/), i.end && (g.endRe = t(i.end)), g.terminatorEnd = M0(i.end) || "", i.endsWithParent && r.terminatorEnd && (g.terminatorEnd += (i.end ? "|" : "") + r.terminatorEnd)), i.illegal && (g.illegalRe = t(
|
|
1936
1931
|
/** @type {RegExp | string} */
|
|
1937
1932
|
i.illegal
|
|
1938
1933
|
)), i.contains || (i.contains = []), i.contains = [].concat(...i.contains.map(function(m) {
|
|
@@ -1947,22 +1942,22 @@ function Yn(e, { plugins: n }) {
|
|
|
1947
1942
|
}
|
|
1948
1943
|
if (e.compilerExtensions || (e.compilerExtensions = []), e.contains && e.contains.includes("self"))
|
|
1949
1944
|
throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
|
|
1950
|
-
return e.classNameAliases =
|
|
1945
|
+
return e.classNameAliases = m0(e.classNameAliases || {}), l(
|
|
1951
1946
|
/** @type Mode */
|
|
1952
1947
|
e
|
|
1953
1948
|
);
|
|
1954
1949
|
}
|
|
1955
|
-
function
|
|
1956
|
-
return e ? e.endsWithParent ||
|
|
1950
|
+
function je(e) {
|
|
1951
|
+
return e ? e.endsWithParent || je(e.starts) : !1;
|
|
1957
1952
|
}
|
|
1958
1953
|
function Xn(e) {
|
|
1959
1954
|
return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(n) {
|
|
1960
|
-
return
|
|
1961
|
-
})), e.cachedVariants ? e.cachedVariants :
|
|
1955
|
+
return m0(e, { variants: null }, n);
|
|
1956
|
+
})), e.cachedVariants ? e.cachedVariants : je(e) ? m0(e, { starts: e.starts ? m0(e.starts) : null }) : Object.isFrozen(e) ? m0(e) : e;
|
|
1962
1957
|
}
|
|
1963
1958
|
var qn = "10.7.3";
|
|
1964
1959
|
function Qn(e) {
|
|
1965
|
-
return
|
|
1960
|
+
return !!(e || e === "");
|
|
1966
1961
|
}
|
|
1967
1962
|
function Jn(e) {
|
|
1968
1963
|
const n = {
|
|
@@ -1979,7 +1974,7 @@ function Jn(e) {
|
|
|
1979
1974
|
},
|
|
1980
1975
|
highlighted() {
|
|
1981
1976
|
if (!this.autoDetect && !e.getLanguage(this.language))
|
|
1982
|
-
return console.warn(`The language "${this.language}" you specified could not be found.`), this.unknownLanguage = !0,
|
|
1977
|
+
return console.warn(`The language "${this.language}" you specified could not be found.`), this.unknownLanguage = !0, S0(this.code);
|
|
1983
1978
|
let a = {};
|
|
1984
1979
|
return this.autoDetect ? (a = e.highlightAuto(this.code), this.detectedLanguage = a.language) : (a = e.highlight(this.language, this.code, this.ignoreIllegals), this.detectedLanguage = this.language), a.value;
|
|
1985
1980
|
},
|
|
@@ -2010,17 +2005,17 @@ function Jn(e) {
|
|
|
2010
2005
|
}
|
|
2011
2006
|
const et = {
|
|
2012
2007
|
"after:highlightElement": ({ el: e, result: n, text: t }) => {
|
|
2013
|
-
const a =
|
|
2008
|
+
const a = ge(e);
|
|
2014
2009
|
if (!a.length)
|
|
2015
2010
|
return;
|
|
2016
2011
|
const s = document.createElement("div");
|
|
2017
|
-
s.innerHTML = n.value, n.value = nt(a,
|
|
2012
|
+
s.innerHTML = n.value, n.value = nt(a, ge(s), t);
|
|
2018
2013
|
}
|
|
2019
2014
|
};
|
|
2020
2015
|
function K0(e) {
|
|
2021
2016
|
return e.nodeName.toLowerCase();
|
|
2022
2017
|
}
|
|
2023
|
-
function
|
|
2018
|
+
function ge(e) {
|
|
2024
2019
|
const n = [];
|
|
2025
2020
|
return function t(a, s) {
|
|
2026
2021
|
for (let c = a.firstChild; c; c = c.nextSibling)
|
|
@@ -2044,7 +2039,7 @@ function nt(e, n, t) {
|
|
|
2044
2039
|
}
|
|
2045
2040
|
function i(o) {
|
|
2046
2041
|
function m(b) {
|
|
2047
|
-
return " " + b.nodeName + '="' +
|
|
2042
|
+
return " " + b.nodeName + '="' + S0(b.value) + '"';
|
|
2048
2043
|
}
|
|
2049
2044
|
s += "<" + K0(o) + [].map.call(o.attributes, m).join("") + ">";
|
|
2050
2045
|
}
|
|
@@ -2056,7 +2051,7 @@ function nt(e, n, t) {
|
|
|
2056
2051
|
}
|
|
2057
2052
|
for (; e.length || n.length; ) {
|
|
2058
2053
|
let o = l();
|
|
2059
|
-
if (s +=
|
|
2054
|
+
if (s += S0(t.substring(a, o[0].offset)), a = o[0].offset, o === e) {
|
|
2060
2055
|
c.reverse().forEach(r);
|
|
2061
2056
|
do
|
|
2062
2057
|
g(o.splice(0, 1)[0]), o = l();
|
|
@@ -2065,15 +2060,15 @@ function nt(e, n, t) {
|
|
|
2065
2060
|
} else
|
|
2066
2061
|
o[0].event === "start" ? c.push(o[0].node) : c.pop(), g(o.splice(0, 1)[0]);
|
|
2067
2062
|
}
|
|
2068
|
-
return s +
|
|
2063
|
+
return s + S0(t.substr(a));
|
|
2069
2064
|
}
|
|
2070
|
-
const
|
|
2065
|
+
const me = {}, G0 = (e) => {
|
|
2071
2066
|
console.error(e);
|
|
2072
|
-
},
|
|
2067
|
+
}, de = (e, ...n) => {
|
|
2073
2068
|
console.log(`WARN: ${e}`, ...n);
|
|
2074
|
-
},
|
|
2075
|
-
|
|
2076
|
-
},
|
|
2069
|
+
}, W = (e, n) => {
|
|
2070
|
+
me[`${e}/${n}`] || (console.log(`Deprecated as of ${e}. ${n}`), me[`${e}/${n}`] = !0);
|
|
2071
|
+
}, V0 = S0, fe = m0, he = Symbol("nomatch"), tt = function(e) {
|
|
2077
2072
|
const n = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null), a = [];
|
|
2078
2073
|
let s = !0;
|
|
2079
2074
|
const c = /(^(<[^>]+>|\t|)+|\n)/gm, l = "Could not find the language '{}', did you forget to load/include a language module?", i = { disableAutodetect: !0, name: "Plain text", contains: [] };
|
|
@@ -2097,28 +2092,28 @@ const he = {}, z0 = (e) => {
|
|
|
2097
2092
|
const E = r.languageDetectRe.exec(f);
|
|
2098
2093
|
if (E) {
|
|
2099
2094
|
const O = G(E[1]);
|
|
2100
|
-
return O || (
|
|
2095
|
+
return O || (de(l.replace("{}", E[1])), de("Falling back to no-highlight mode for this block.", u)), O ? E[1] : "no-highlight";
|
|
2101
2096
|
}
|
|
2102
2097
|
return f.split(/\s+/).find((O) => g(O) || G(O));
|
|
2103
2098
|
}
|
|
2104
2099
|
function m(u, f, E, O) {
|
|
2105
|
-
let C = "",
|
|
2106
|
-
typeof f == "object" ? (C = u, E = f.ignoreIllegals,
|
|
2107
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),
|
|
2108
|
-
const
|
|
2100
|
+
let C = "", i0 = "";
|
|
2101
|
+
typeof f == "object" ? (C = u, E = f.ignoreIllegals, i0 = f.language, O = void 0) : (W("10.7.0", "highlight(lang, code, ...args) has been deprecated."), W("10.7.0", `Please use highlight(code, options) instead.
|
|
2102
|
+
https://github.com/highlightjs/highlight.js/issues/2277`), i0 = u, C = f);
|
|
2103
|
+
const J = {
|
|
2109
2104
|
code: C,
|
|
2110
|
-
language:
|
|
2105
|
+
language: i0
|
|
2111
2106
|
};
|
|
2112
|
-
|
|
2113
|
-
const
|
|
2114
|
-
return
|
|
2107
|
+
Y("before:highlight", J);
|
|
2108
|
+
const e0 = J.result ? J.result : b(J.language, J.code, E, O);
|
|
2109
|
+
return e0.code = J.code, Y("after:highlight", e0), e0;
|
|
2115
2110
|
}
|
|
2116
2111
|
function b(u, f, E, O) {
|
|
2117
2112
|
function C(h, p) {
|
|
2118
|
-
const N =
|
|
2113
|
+
const N = x0.case_insensitive ? p[0].toLowerCase() : p[0];
|
|
2119
2114
|
return Object.prototype.hasOwnProperty.call(h.keywords, N) && h.keywords[N];
|
|
2120
2115
|
}
|
|
2121
|
-
function
|
|
2116
|
+
function i0() {
|
|
2122
2117
|
if (!y.keywords) {
|
|
2123
2118
|
H.addText(D);
|
|
2124
2119
|
return;
|
|
@@ -2130,12 +2125,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2130
2125
|
N += D.substring(h, p.index);
|
|
2131
2126
|
const I = C(y, p);
|
|
2132
2127
|
if (I) {
|
|
2133
|
-
const [V,
|
|
2134
|
-
if (H.addText(N), N = "",
|
|
2128
|
+
const [V, L0] = I;
|
|
2129
|
+
if (H.addText(N), N = "", I0 += L0, V.startsWith("_"))
|
|
2135
2130
|
N += p[0];
|
|
2136
2131
|
else {
|
|
2137
|
-
const
|
|
2138
|
-
H.addKeyword(p[0],
|
|
2132
|
+
const l1 = x0.classNameAliases[V] || V;
|
|
2133
|
+
H.addKeyword(p[0], l1);
|
|
2139
2134
|
}
|
|
2140
2135
|
} else
|
|
2141
2136
|
N += p[0];
|
|
@@ -2143,7 +2138,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2143
2138
|
}
|
|
2144
2139
|
N += D.substr(h), H.addText(N);
|
|
2145
2140
|
}
|
|
2146
|
-
function
|
|
2141
|
+
function J() {
|
|
2147
2142
|
if (D === "")
|
|
2148
2143
|
return;
|
|
2149
2144
|
let h = null;
|
|
@@ -2152,23 +2147,23 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2152
2147
|
H.addText(D);
|
|
2153
2148
|
return;
|
|
2154
2149
|
}
|
|
2155
|
-
h = b(y.subLanguage, D, !0,
|
|
2150
|
+
h = b(y.subLanguage, D, !0, ae[y.subLanguage]), ae[y.subLanguage] = /** @type {CompiledMode} */
|
|
2156
2151
|
h.top;
|
|
2157
2152
|
} else
|
|
2158
2153
|
h = L(D, y.subLanguage.length ? y.subLanguage : null);
|
|
2159
|
-
y.relevance > 0 && (
|
|
2154
|
+
y.relevance > 0 && (I0 += h.relevance), H.addSublanguage(h.emitter, h.language);
|
|
2160
2155
|
}
|
|
2161
|
-
function
|
|
2162
|
-
y.subLanguage != null ?
|
|
2156
|
+
function e0() {
|
|
2157
|
+
y.subLanguage != null ? J() : i0(), D = "";
|
|
2163
2158
|
}
|
|
2164
|
-
function
|
|
2165
|
-
return h.className && H.openNode(
|
|
2159
|
+
function n0(h) {
|
|
2160
|
+
return h.className && H.openNode(x0.classNameAliases[h.className] || h.className), y = Object.create(h, { parent: { value: y } }), y;
|
|
2166
2161
|
}
|
|
2167
|
-
function
|
|
2162
|
+
function u0(h, p, N) {
|
|
2168
2163
|
let I = yn(h.endRe, N);
|
|
2169
2164
|
if (I) {
|
|
2170
2165
|
if (h["on:end"]) {
|
|
2171
|
-
const V = new
|
|
2166
|
+
const V = new le(h);
|
|
2172
2167
|
h["on:end"](p, V), V.isMatchIgnored && (I = !1);
|
|
2173
2168
|
}
|
|
2174
2169
|
if (I) {
|
|
@@ -2178,85 +2173,85 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2178
2173
|
}
|
|
2179
2174
|
}
|
|
2180
2175
|
if (h.endsWithParent)
|
|
2181
|
-
return
|
|
2182
|
-
}
|
|
2183
|
-
function a1(h) {
|
|
2184
|
-
return y.matcher.regexIndex === 0 ? (D += h[0], 1) : (H0 = !0, 0);
|
|
2176
|
+
return u0(h.parent, p, N);
|
|
2185
2177
|
}
|
|
2186
2178
|
function c1(h) {
|
|
2187
|
-
|
|
2188
|
-
for (const I0 of V)
|
|
2189
|
-
if (I0 && (I0(h, I), I.isMatchIgnored))
|
|
2190
|
-
return a1(p);
|
|
2191
|
-
return N && N.endSameAsBegin && (N.endRe = pn(p)), N.skip ? D += p : (N.excludeBegin && (D += p), J(), !N.returnBegin && !N.excludeBegin && (D = p)), e0(N), N.returnBegin ? 0 : p.length;
|
|
2179
|
+
return y.matcher.regexIndex === 0 ? (D += h[0], 1) : (j0 = !0, 0);
|
|
2192
2180
|
}
|
|
2193
2181
|
function s1(h) {
|
|
2194
|
-
const p = h[0], N =
|
|
2182
|
+
const p = h[0], N = h.rule, I = new le(N), V = [N.__beforeBegin, N["on:begin"]];
|
|
2183
|
+
for (const L0 of V)
|
|
2184
|
+
if (L0 && (L0(h, I), I.isMatchIgnored))
|
|
2185
|
+
return c1(p);
|
|
2186
|
+
return N && N.endSameAsBegin && (N.endRe = pn(p)), N.skip ? D += p : (N.excludeBegin && (D += p), e0(), !N.returnBegin && !N.excludeBegin && (D = p)), n0(N), N.returnBegin ? 0 : p.length;
|
|
2187
|
+
}
|
|
2188
|
+
function i1(h) {
|
|
2189
|
+
const p = h[0], N = f.substr(h.index), I = u0(y, h, N);
|
|
2195
2190
|
if (!I)
|
|
2196
|
-
return
|
|
2191
|
+
return he;
|
|
2197
2192
|
const V = y;
|
|
2198
|
-
V.skip ? D += p : (V.returnEnd || V.excludeEnd || (D += p),
|
|
2193
|
+
V.skip ? D += p : (V.returnEnd || V.excludeEnd || (D += p), e0(), V.excludeEnd && (D = p));
|
|
2199
2194
|
do
|
|
2200
|
-
y.className && H.closeNode(), !y.skip && !y.subLanguage && (
|
|
2195
|
+
y.className && H.closeNode(), !y.skip && !y.subLanguage && (I0 += y.relevance), y = y.parent;
|
|
2201
2196
|
while (y !== I.parent);
|
|
2202
|
-
return I.starts && (I.endSameAsBegin && (I.starts.endRe = I.endRe),
|
|
2197
|
+
return I.starts && (I.endSameAsBegin && (I.starts.endRe = I.endRe), n0(I.starts)), V.returnEnd ? 0 : p.length;
|
|
2203
2198
|
}
|
|
2204
|
-
function
|
|
2199
|
+
function r1() {
|
|
2205
2200
|
const h = [];
|
|
2206
|
-
for (let p = y; p !==
|
|
2201
|
+
for (let p = y; p !== x0; p = p.parent)
|
|
2207
2202
|
p.className && h.unshift(p.className);
|
|
2208
2203
|
h.forEach((p) => H.openNode(p));
|
|
2209
2204
|
}
|
|
2210
|
-
let
|
|
2211
|
-
function
|
|
2205
|
+
let T0 = {};
|
|
2206
|
+
function te(h, p) {
|
|
2212
2207
|
const N = p && p[0];
|
|
2213
2208
|
if (D += h, N == null)
|
|
2214
|
-
return
|
|
2215
|
-
if (
|
|
2209
|
+
return e0(), 0;
|
|
2210
|
+
if (T0.type === "begin" && p.type === "end" && T0.index === p.index && N === "") {
|
|
2216
2211
|
if (D += f.slice(p.index, p.index + 1), !s) {
|
|
2217
2212
|
const I = new Error("0 width match regex");
|
|
2218
|
-
throw I.languageName = u, I.badRule =
|
|
2213
|
+
throw I.languageName = u, I.badRule = T0.rule, I;
|
|
2219
2214
|
}
|
|
2220
2215
|
return 1;
|
|
2221
2216
|
}
|
|
2222
|
-
if (
|
|
2223
|
-
return
|
|
2217
|
+
if (T0 = p, p.type === "begin")
|
|
2218
|
+
return s1(p);
|
|
2224
2219
|
if (p.type === "illegal" && !E) {
|
|
2225
2220
|
const I = new Error('Illegal lexeme "' + N + '" for mode "' + (y.className || "<unnamed>") + '"');
|
|
2226
2221
|
throw I.mode = y, I;
|
|
2227
2222
|
} else if (p.type === "end") {
|
|
2228
|
-
const I =
|
|
2229
|
-
if (I !==
|
|
2223
|
+
const I = i1(p);
|
|
2224
|
+
if (I !== he)
|
|
2230
2225
|
return I;
|
|
2231
2226
|
}
|
|
2232
2227
|
if (p.type === "illegal" && N === "")
|
|
2233
2228
|
return 1;
|
|
2234
|
-
if (
|
|
2229
|
+
if (H0 > 1e5 && H0 > p.index * 3)
|
|
2235
2230
|
throw new Error("potential infinite loop, way more iterations than matches");
|
|
2236
2231
|
return D += N, N.length;
|
|
2237
2232
|
}
|
|
2238
|
-
const
|
|
2239
|
-
if (!
|
|
2240
|
-
throw
|
|
2241
|
-
const
|
|
2242
|
-
let
|
|
2243
|
-
const
|
|
2244
|
-
|
|
2245
|
-
let D = "",
|
|
2233
|
+
const x0 = G(u);
|
|
2234
|
+
if (!x0)
|
|
2235
|
+
throw G0(l.replace("{}", u)), new Error('Unknown language: "' + u + '"');
|
|
2236
|
+
const o1 = Yn(x0, { plugins: a });
|
|
2237
|
+
let U0 = "", y = O || o1;
|
|
2238
|
+
const ae = {}, H = new r.__emitter(r);
|
|
2239
|
+
r1();
|
|
2240
|
+
let D = "", I0 = 0, _0 = 0, H0 = 0, j0 = !1;
|
|
2246
2241
|
try {
|
|
2247
2242
|
for (y.matcher.considerAll(); ; ) {
|
|
2248
|
-
|
|
2243
|
+
H0++, j0 ? j0 = !1 : y.matcher.considerAll(), y.matcher.lastIndex = _0;
|
|
2249
2244
|
const h = y.matcher.exec(f);
|
|
2250
2245
|
if (!h)
|
|
2251
2246
|
break;
|
|
2252
|
-
const p = f.substring(
|
|
2253
|
-
|
|
2247
|
+
const p = f.substring(_0, h.index), N = te(p, h);
|
|
2248
|
+
_0 = h.index + N;
|
|
2254
2249
|
}
|
|
2255
|
-
return
|
|
2250
|
+
return te(f.substr(_0)), H.closeAllNodes(), H.finalize(), U0 = H.toHTML(), {
|
|
2256
2251
|
// avoid possible breakage with v10 clients expecting
|
|
2257
2252
|
// this to always be an integer
|
|
2258
|
-
relevance: Math.floor(
|
|
2259
|
-
value:
|
|
2253
|
+
relevance: Math.floor(I0),
|
|
2254
|
+
value: U0,
|
|
2260
2255
|
language: u,
|
|
2261
2256
|
illegal: !1,
|
|
2262
2257
|
emitter: H,
|
|
@@ -2268,19 +2263,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2268
2263
|
illegal: !0,
|
|
2269
2264
|
illegalBy: {
|
|
2270
2265
|
msg: h.message,
|
|
2271
|
-
context: f.slice(
|
|
2266
|
+
context: f.slice(_0 - 100, _0 + 100),
|
|
2272
2267
|
mode: h.mode
|
|
2273
2268
|
},
|
|
2274
|
-
sofar:
|
|
2269
|
+
sofar: U0,
|
|
2275
2270
|
relevance: 0,
|
|
2276
|
-
value:
|
|
2271
|
+
value: V0(f),
|
|
2277
2272
|
emitter: H
|
|
2278
2273
|
};
|
|
2279
2274
|
if (s)
|
|
2280
2275
|
return {
|
|
2281
2276
|
illegal: !1,
|
|
2282
2277
|
relevance: 0,
|
|
2283
|
-
value:
|
|
2278
|
+
value: V0(f),
|
|
2284
2279
|
emitter: H,
|
|
2285
2280
|
language: u,
|
|
2286
2281
|
top: y,
|
|
@@ -2293,7 +2288,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2293
2288
|
const f = {
|
|
2294
2289
|
relevance: 0,
|
|
2295
2290
|
emitter: new r.__emitter(r),
|
|
2296
|
-
value:
|
|
2291
|
+
value: V0(u),
|
|
2297
2292
|
illegal: !1,
|
|
2298
2293
|
top: i
|
|
2299
2294
|
};
|
|
@@ -2301,22 +2296,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2301
2296
|
}
|
|
2302
2297
|
function L(u, f) {
|
|
2303
2298
|
f = f || r.languages || Object.keys(n);
|
|
2304
|
-
const E = v(u), O = f.filter(G).filter(
|
|
2305
|
-
(
|
|
2299
|
+
const E = v(u), O = f.filter(G).filter(o0).map(
|
|
2300
|
+
(n0) => b(n0, u, !1)
|
|
2306
2301
|
);
|
|
2307
2302
|
O.unshift(E);
|
|
2308
|
-
const C = O.sort((
|
|
2309
|
-
if (
|
|
2310
|
-
return
|
|
2311
|
-
if (
|
|
2312
|
-
if (G(
|
|
2303
|
+
const C = O.sort((n0, u0) => {
|
|
2304
|
+
if (n0.relevance !== u0.relevance)
|
|
2305
|
+
return u0.relevance - n0.relevance;
|
|
2306
|
+
if (n0.language && u0.language) {
|
|
2307
|
+
if (G(n0.language).supersetOf === u0.language)
|
|
2313
2308
|
return 1;
|
|
2314
|
-
if (G(
|
|
2309
|
+
if (G(u0.language).supersetOf === n0.language)
|
|
2315
2310
|
return -1;
|
|
2316
2311
|
}
|
|
2317
2312
|
return 0;
|
|
2318
|
-
}), [
|
|
2319
|
-
return
|
|
2313
|
+
}), [i0, J] = C, e0 = i0;
|
|
2314
|
+
return e0.second_best = J, e0;
|
|
2320
2315
|
}
|
|
2321
2316
|
function S(u) {
|
|
2322
2317
|
return r.tabReplace || r.useBR ? u.replace(c, (f) => f === `
|
|
@@ -2347,12 +2342,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2347
2342
|
const E = o(u);
|
|
2348
2343
|
if (g(E))
|
|
2349
2344
|
return;
|
|
2350
|
-
|
|
2345
|
+
Y(
|
|
2351
2346
|
"before:highlightElement",
|
|
2352
2347
|
{ el: u, language: E }
|
|
2353
2348
|
), f = u;
|
|
2354
2349
|
const O = f.textContent, C = E ? m(O, { language: E, ignoreIllegals: !0 }) : L(O);
|
|
2355
|
-
|
|
2350
|
+
Y("after:highlightElement", { el: u, result: C, text: O }), u.innerHTML = C.value, A(u, E, C.language), u.result = {
|
|
2356
2351
|
language: C.language,
|
|
2357
2352
|
// TODO: remove with version 11.0
|
|
2358
2353
|
re: C.relevance,
|
|
@@ -2365,51 +2360,51 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2365
2360
|
});
|
|
2366
2361
|
}
|
|
2367
2362
|
function k(u) {
|
|
2368
|
-
u.useBR && (
|
|
2363
|
+
u.useBR && (W("10.3.0", "'useBR' will be removed entirely in v11.0"), W("10.3.0", "Please see https://github.com/highlightjs/highlight.js/issues/2559")), r = fe(r, u);
|
|
2369
2364
|
}
|
|
2370
2365
|
const _ = () => {
|
|
2371
2366
|
if (_.called)
|
|
2372
2367
|
return;
|
|
2373
|
-
_.called = !0,
|
|
2368
|
+
_.called = !0, W("10.6.0", "initHighlighting() is deprecated. Use highlightAll() instead."), document.querySelectorAll("pre code").forEach(R);
|
|
2374
2369
|
};
|
|
2375
2370
|
function T() {
|
|
2376
|
-
|
|
2371
|
+
W("10.6.0", "initHighlightingOnLoad() is deprecated. Use highlightAll() instead."), P = !0;
|
|
2377
2372
|
}
|
|
2378
2373
|
let P = !1;
|
|
2379
|
-
function
|
|
2374
|
+
function K() {
|
|
2380
2375
|
if (document.readyState === "loading") {
|
|
2381
2376
|
P = !0;
|
|
2382
2377
|
return;
|
|
2383
2378
|
}
|
|
2384
2379
|
document.querySelectorAll("pre code").forEach(R);
|
|
2385
2380
|
}
|
|
2386
|
-
function
|
|
2387
|
-
P &&
|
|
2381
|
+
function X() {
|
|
2382
|
+
P && K();
|
|
2388
2383
|
}
|
|
2389
|
-
typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded",
|
|
2390
|
-
function
|
|
2384
|
+
typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded", X, !1);
|
|
2385
|
+
function q(u, f) {
|
|
2391
2386
|
let E = null;
|
|
2392
2387
|
try {
|
|
2393
2388
|
E = f(e);
|
|
2394
2389
|
} catch (O) {
|
|
2395
|
-
if (
|
|
2396
|
-
|
|
2390
|
+
if (G0("Language definition for '{}' could not be registered.".replace("{}", u)), s)
|
|
2391
|
+
G0(O);
|
|
2397
2392
|
else
|
|
2398
2393
|
throw O;
|
|
2399
2394
|
E = i;
|
|
2400
2395
|
}
|
|
2401
|
-
E.name || (E.name = u), n[u] = E, E.rawDefinition = f.bind(null, e), E.aliases &&
|
|
2396
|
+
E.name || (E.name = u), n[u] = E, E.rawDefinition = f.bind(null, e), E.aliases && b0(E.aliases, { languageName: u });
|
|
2402
2397
|
}
|
|
2403
|
-
function
|
|
2398
|
+
function Q(u) {
|
|
2404
2399
|
delete n[u];
|
|
2405
2400
|
for (const f of Object.keys(t))
|
|
2406
2401
|
t[f] === u && delete t[f];
|
|
2407
2402
|
}
|
|
2408
|
-
function
|
|
2403
|
+
function p0() {
|
|
2409
2404
|
return Object.keys(n);
|
|
2410
2405
|
}
|
|
2411
|
-
function
|
|
2412
|
-
|
|
2406
|
+
function y0(u) {
|
|
2407
|
+
W("10.4.0", "requireLanguage will be removed entirely in v11."), W("10.4.0", "Please see https://github.com/highlightjs/highlight.js/pull/2844");
|
|
2413
2408
|
const f = G(u);
|
|
2414
2409
|
if (f)
|
|
2415
2410
|
return f;
|
|
@@ -2418,16 +2413,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2418
2413
|
function G(u) {
|
|
2419
2414
|
return u = (u || "").toLowerCase(), n[u] || n[t[u]];
|
|
2420
2415
|
}
|
|
2421
|
-
function
|
|
2416
|
+
function b0(u, { languageName: f }) {
|
|
2422
2417
|
typeof u == "string" && (u = [u]), u.forEach((E) => {
|
|
2423
2418
|
t[E.toLowerCase()] = f;
|
|
2424
2419
|
});
|
|
2425
2420
|
}
|
|
2426
|
-
function
|
|
2421
|
+
function o0(u) {
|
|
2427
2422
|
const f = G(u);
|
|
2428
2423
|
return f && !f.disableAutodetect;
|
|
2429
2424
|
}
|
|
2430
|
-
function
|
|
2425
|
+
function l0(u) {
|
|
2431
2426
|
u["before:highlightBlock"] && !u["before:highlightElement"] && (u["before:highlightElement"] = (f) => {
|
|
2432
2427
|
u["before:highlightBlock"](
|
|
2433
2428
|
Object.assign({ block: f.el }, f)
|
|
@@ -2438,41 +2433,41 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2438
2433
|
);
|
|
2439
2434
|
});
|
|
2440
2435
|
}
|
|
2441
|
-
function
|
|
2442
|
-
|
|
2436
|
+
function s0(u) {
|
|
2437
|
+
l0(u), a.push(u);
|
|
2443
2438
|
}
|
|
2444
|
-
function
|
|
2439
|
+
function Y(u, f) {
|
|
2445
2440
|
const E = u;
|
|
2446
2441
|
a.forEach(function(O) {
|
|
2447
2442
|
O[E] && O[E](f);
|
|
2448
2443
|
});
|
|
2449
2444
|
}
|
|
2450
|
-
function
|
|
2451
|
-
return
|
|
2445
|
+
function N0(u) {
|
|
2446
|
+
return W("10.2.0", "fixMarkup will be removed entirely in v11.0"), W("10.2.0", "Please see https://github.com/highlightjs/highlight.js/issues/2534"), S(u);
|
|
2452
2447
|
}
|
|
2453
|
-
function
|
|
2454
|
-
return
|
|
2448
|
+
function O0(u) {
|
|
2449
|
+
return W("10.7.0", "highlightBlock will be removed entirely in v12.0"), W("10.7.0", "Please use highlightElement now."), R(u);
|
|
2455
2450
|
}
|
|
2456
2451
|
Object.assign(e, {
|
|
2457
2452
|
highlight: m,
|
|
2458
2453
|
highlightAuto: L,
|
|
2459
|
-
highlightAll:
|
|
2460
|
-
fixMarkup:
|
|
2454
|
+
highlightAll: K,
|
|
2455
|
+
fixMarkup: N0,
|
|
2461
2456
|
highlightElement: R,
|
|
2462
2457
|
// TODO: Remove with v12 API
|
|
2463
|
-
highlightBlock:
|
|
2458
|
+
highlightBlock: O0,
|
|
2464
2459
|
configure: k,
|
|
2465
2460
|
initHighlighting: _,
|
|
2466
2461
|
initHighlightingOnLoad: T,
|
|
2467
|
-
registerLanguage:
|
|
2468
|
-
unregisterLanguage:
|
|
2469
|
-
listLanguages:
|
|
2462
|
+
registerLanguage: q,
|
|
2463
|
+
unregisterLanguage: Q,
|
|
2464
|
+
listLanguages: p0,
|
|
2470
2465
|
getLanguage: G,
|
|
2471
|
-
registerAliases:
|
|
2472
|
-
requireLanguage:
|
|
2473
|
-
autoDetection:
|
|
2474
|
-
inherit:
|
|
2475
|
-
addPlugin:
|
|
2466
|
+
registerAliases: b0,
|
|
2467
|
+
requireLanguage: y0,
|
|
2468
|
+
autoDetection: o0,
|
|
2469
|
+
inherit: fe,
|
|
2470
|
+
addPlugin: s0,
|
|
2476
2471
|
// plugins for frameworks
|
|
2477
2472
|
vuePlugin: Jn(e).VuePlugin
|
|
2478
2473
|
}), e.debugMode = function() {
|
|
@@ -2480,18 +2475,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), s0 = u, C = f);
|
|
|
2480
2475
|
}, e.safeMode = function() {
|
|
2481
2476
|
s = !0;
|
|
2482
2477
|
}, e.versionString = qn;
|
|
2483
|
-
for (const u in
|
|
2484
|
-
typeof
|
|
2485
|
-
return Object.assign(e,
|
|
2486
|
-
};
|
|
2487
|
-
var at = tt({}), ct = at, Y0 = {}, st = {
|
|
2488
|
-
get exports() {
|
|
2489
|
-
return Y0;
|
|
2490
|
-
},
|
|
2491
|
-
set exports(e) {
|
|
2492
|
-
Y0 = e;
|
|
2493
|
-
}
|
|
2478
|
+
for (const u in k0)
|
|
2479
|
+
typeof k0[u] == "object" && De(k0[u]);
|
|
2480
|
+
return Object.assign(e, k0), e.addPlugin(x), e.addPlugin(et), e.addPlugin(M), e;
|
|
2494
2481
|
};
|
|
2482
|
+
var at = tt({}), ct = at, ze = { exports: {} };
|
|
2495
2483
|
(function(e) {
|
|
2496
2484
|
(function() {
|
|
2497
2485
|
var n;
|
|
@@ -2548,45 +2536,45 @@ var at = tt({}), ct = at, Y0 = {}, st = {
|
|
|
2548
2536
|
return o;
|
|
2549
2537
|
}
|
|
2550
2538
|
})();
|
|
2551
|
-
})(
|
|
2552
|
-
var it =
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
function
|
|
2539
|
+
})(ze);
|
|
2540
|
+
var st = ze.exports, it = st, f0 = h0(Error), rt = f0;
|
|
2541
|
+
f0.eval = h0(EvalError);
|
|
2542
|
+
f0.range = h0(RangeError);
|
|
2543
|
+
f0.reference = h0(ReferenceError);
|
|
2544
|
+
f0.syntax = h0(SyntaxError);
|
|
2545
|
+
f0.type = h0(TypeError);
|
|
2546
|
+
f0.uri = h0(URIError);
|
|
2547
|
+
f0.create = h0;
|
|
2548
|
+
function h0(e) {
|
|
2561
2549
|
return n.displayName = e.displayName || e.name, n;
|
|
2562
2550
|
function n(t) {
|
|
2563
2551
|
return t && (t = it.apply(null, arguments)), new e(t);
|
|
2564
2552
|
}
|
|
2565
2553
|
}
|
|
2566
|
-
var
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2554
|
+
var a0 = ct, D0 = rt;
|
|
2555
|
+
E0.highlight = Ge;
|
|
2556
|
+
E0.highlightAuto = lt;
|
|
2557
|
+
E0.registerLanguage = ut;
|
|
2558
|
+
E0.listLanguages = gt;
|
|
2559
|
+
E0.registerAlias = mt;
|
|
2560
|
+
r0.prototype.addText = ht;
|
|
2561
|
+
r0.prototype.addKeyword = dt;
|
|
2562
|
+
r0.prototype.addSublanguage = ft;
|
|
2563
|
+
r0.prototype.openNode = pt;
|
|
2564
|
+
r0.prototype.closeNode = bt;
|
|
2565
|
+
r0.prototype.closeAllNodes = Ve;
|
|
2566
|
+
r0.prototype.finalize = Ve;
|
|
2567
|
+
r0.prototype.toHTML = vt;
|
|
2580
2568
|
var ot = "hljs-";
|
|
2581
|
-
function
|
|
2582
|
-
var a =
|
|
2569
|
+
function Ge(e, n, t) {
|
|
2570
|
+
var a = a0.configure({}), s = t || {}, c = s.prefix, l;
|
|
2583
2571
|
if (typeof e != "string")
|
|
2584
|
-
throw
|
|
2585
|
-
if (!
|
|
2586
|
-
throw
|
|
2572
|
+
throw D0("Expected `string` for name, got `%s`", e);
|
|
2573
|
+
if (!a0.getLanguage(e))
|
|
2574
|
+
throw D0("Unknown language: `%s` is not registered", e);
|
|
2587
2575
|
if (typeof n != "string")
|
|
2588
|
-
throw
|
|
2589
|
-
if (c == null && (c = ot),
|
|
2576
|
+
throw D0("Expected `string` for value, got `%s`", n);
|
|
2577
|
+
if (c == null && (c = ot), a0.configure({ __emitter: r0, classPrefix: c }), l = a0.highlight(n, { language: e, ignoreIllegals: !0 }), a0.configure(a || {}), l.errorRaised)
|
|
2590
2578
|
throw l.errorRaised;
|
|
2591
2579
|
return {
|
|
2592
2580
|
relevance: l.relevance,
|
|
@@ -2595,28 +2583,28 @@ function Ve(e, n, t) {
|
|
|
2595
2583
|
};
|
|
2596
2584
|
}
|
|
2597
2585
|
function lt(e, n) {
|
|
2598
|
-
var t = n || {}, a = t.subset ||
|
|
2586
|
+
var t = n || {}, a = t.subset || a0.listLanguages();
|
|
2599
2587
|
t.prefix;
|
|
2600
2588
|
var s = a.length, c = -1, l, i, r, g;
|
|
2601
2589
|
if (typeof e != "string")
|
|
2602
|
-
throw
|
|
2590
|
+
throw D0("Expected `string` for value, got `%s`", e);
|
|
2603
2591
|
for (i = { relevance: 0, language: null, value: [] }, l = { relevance: 0, language: null, value: [] }; ++c < s; )
|
|
2604
|
-
g = a[c],
|
|
2592
|
+
g = a[c], a0.getLanguage(g) && (r = Ge(g, e, n), r.language = g, r.relevance > i.relevance && (i = r), r.relevance > l.relevance && (i = l, l = r));
|
|
2605
2593
|
return i.language && (l.secondBest = i), l;
|
|
2606
2594
|
}
|
|
2607
2595
|
function ut(e, n) {
|
|
2608
|
-
|
|
2596
|
+
a0.registerLanguage(e, n);
|
|
2609
2597
|
}
|
|
2610
2598
|
function gt() {
|
|
2611
|
-
return
|
|
2599
|
+
return a0.listLanguages();
|
|
2612
2600
|
}
|
|
2613
2601
|
function mt(e, n) {
|
|
2614
2602
|
var t = e, a;
|
|
2615
2603
|
n && (t = {}, t[e] = n);
|
|
2616
2604
|
for (a in t)
|
|
2617
|
-
|
|
2605
|
+
a0.registerAliases(t[a], { languageName: a });
|
|
2618
2606
|
}
|
|
2619
|
-
function
|
|
2607
|
+
function r0(e) {
|
|
2620
2608
|
this.options = e, this.rootNode = { children: [] }, this.stack = [this.rootNode];
|
|
2621
2609
|
}
|
|
2622
2610
|
function dt(e, n) {
|
|
@@ -2650,25 +2638,25 @@ function bt() {
|
|
|
2650
2638
|
function vt() {
|
|
2651
2639
|
return "";
|
|
2652
2640
|
}
|
|
2653
|
-
function
|
|
2641
|
+
function Ve() {
|
|
2654
2642
|
}
|
|
2655
|
-
function
|
|
2643
|
+
function Ze(e) {
|
|
2656
2644
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
2657
2645
|
}
|
|
2658
|
-
function
|
|
2659
|
-
return
|
|
2646
|
+
function pe(e) {
|
|
2647
|
+
return v0("(?=", e, ")");
|
|
2660
2648
|
}
|
|
2661
2649
|
function Et(e) {
|
|
2662
|
-
return
|
|
2650
|
+
return v0("(", e, ")?");
|
|
2663
2651
|
}
|
|
2664
|
-
function
|
|
2665
|
-
return e.map((t) =>
|
|
2652
|
+
function v0(...e) {
|
|
2653
|
+
return e.map((t) => Ze(t)).join("");
|
|
2666
2654
|
}
|
|
2667
2655
|
function yt(...e) {
|
|
2668
|
-
return "(" + e.map((t) =>
|
|
2656
|
+
return "(" + e.map((t) => Ze(t)).join("|") + ")";
|
|
2669
2657
|
}
|
|
2670
2658
|
function Nt(e) {
|
|
2671
|
-
const n =
|
|
2659
|
+
const n = v0(/[A-Z_]/, Et(/[A-Z0-9_.-]*:/), /[A-Z0-9_.-]*/), t = /[A-Za-z0-9._:-]+/, a = {
|
|
2672
2660
|
className: "symbol",
|
|
2673
2661
|
begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
|
|
2674
2662
|
}, s = {
|
|
@@ -2838,9 +2826,9 @@ function Nt(e) {
|
|
|
2838
2826
|
// open tag
|
|
2839
2827
|
{
|
|
2840
2828
|
className: "tag",
|
|
2841
|
-
begin:
|
|
2829
|
+
begin: v0(
|
|
2842
2830
|
/</,
|
|
2843
|
-
|
|
2831
|
+
pe(v0(
|
|
2844
2832
|
n,
|
|
2845
2833
|
// <tag/>
|
|
2846
2834
|
// <tag>
|
|
@@ -2861,9 +2849,9 @@ function Nt(e) {
|
|
|
2861
2849
|
// close tag
|
|
2862
2850
|
{
|
|
2863
2851
|
className: "tag",
|
|
2864
|
-
begin:
|
|
2852
|
+
begin: v0(
|
|
2865
2853
|
/<\//,
|
|
2866
|
-
|
|
2854
|
+
pe(v0(
|
|
2867
2855
|
n,
|
|
2868
2856
|
/>/
|
|
2869
2857
|
))
|
|
@@ -2885,7 +2873,7 @@ function Nt(e) {
|
|
|
2885
2873
|
};
|
|
2886
2874
|
}
|
|
2887
2875
|
var xt = Nt;
|
|
2888
|
-
const
|
|
2876
|
+
const We = /* @__PURE__ */ Z(xt);
|
|
2889
2877
|
function _t(e) {
|
|
2890
2878
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
2891
2879
|
}
|
|
@@ -3009,7 +2997,7 @@ function St(e) {
|
|
|
3009
2997
|
};
|
|
3010
2998
|
}
|
|
3011
2999
|
var Ot = St;
|
|
3012
|
-
const At = Ot,
|
|
3000
|
+
const At = /* @__PURE__ */ Z(Ot), be = "[A-Za-z$_][0-9A-Za-z$_]*", Mt = [
|
|
3013
3001
|
"as",
|
|
3014
3002
|
// for exports
|
|
3015
3003
|
"in",
|
|
@@ -3140,17 +3128,17 @@ const At = Ot, ye = "[A-Za-z$_][0-9A-Za-z$_]*", Mt = [
|
|
|
3140
3128
|
function Dt(e) {
|
|
3141
3129
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
3142
3130
|
}
|
|
3143
|
-
function
|
|
3144
|
-
return
|
|
3131
|
+
function ve(e) {
|
|
3132
|
+
return Y0("(?=", e, ")");
|
|
3145
3133
|
}
|
|
3146
|
-
function
|
|
3134
|
+
function Y0(...e) {
|
|
3147
3135
|
return e.map((t) => Dt(t)).join("");
|
|
3148
3136
|
}
|
|
3149
3137
|
function Bt(e) {
|
|
3150
3138
|
const n = (R, { after: k }) => {
|
|
3151
3139
|
const _ = "</" + R[0].slice(1);
|
|
3152
3140
|
return R.input.indexOf(_, k) !== -1;
|
|
3153
|
-
}, t =
|
|
3141
|
+
}, t = be, a = {
|
|
3154
3142
|
begin: "<>",
|
|
3155
3143
|
end: "</>"
|
|
3156
3144
|
}, s = {
|
|
@@ -3169,7 +3157,7 @@ function Bt(e) {
|
|
|
3169
3157
|
T === ">" && (n(R, { after: _ }) || k.ignoreMatch());
|
|
3170
3158
|
}
|
|
3171
3159
|
}, c = {
|
|
3172
|
-
$pattern:
|
|
3160
|
+
$pattern: be,
|
|
3173
3161
|
keyword: Mt,
|
|
3174
3162
|
literal: Rt,
|
|
3175
3163
|
built_in: Ct
|
|
@@ -3332,7 +3320,7 @@ function Bt(e) {
|
|
|
3332
3320
|
g,
|
|
3333
3321
|
{
|
|
3334
3322
|
// object attr container
|
|
3335
|
-
begin:
|
|
3323
|
+
begin: Y0(
|
|
3336
3324
|
/[{,\n]\s*/,
|
|
3337
3325
|
// we need to look ahead to make sure that we actually have an
|
|
3338
3326
|
// attribute coming up so we don't steal a comma from a potential
|
|
@@ -3344,7 +3332,7 @@ function Bt(e) {
|
|
|
3344
3332
|
// fails to find any actual attrs. But this still does the job because
|
|
3345
3333
|
// it prevents the value contain rule from grabbing this instead and
|
|
3346
3334
|
// prevening this rule from firing when we actually DO have keys.
|
|
3347
|
-
|
|
3335
|
+
ve(Y0(
|
|
3348
3336
|
// we also need to allow for multiple possible comments inbetween
|
|
3349
3337
|
// the first key:value pairing
|
|
3350
3338
|
/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,
|
|
@@ -3355,7 +3343,7 @@ function Bt(e) {
|
|
|
3355
3343
|
contains: [
|
|
3356
3344
|
{
|
|
3357
3345
|
className: "attr",
|
|
3358
|
-
begin: t +
|
|
3346
|
+
begin: t + ve("\\s*:"),
|
|
3359
3347
|
relevance: 0
|
|
3360
3348
|
}
|
|
3361
3349
|
]
|
|
@@ -3518,7 +3506,7 @@ function Bt(e) {
|
|
|
3518
3506
|
};
|
|
3519
3507
|
}
|
|
3520
3508
|
var Pt = Bt;
|
|
3521
|
-
const
|
|
3509
|
+
const Fe = /* @__PURE__ */ Z(Pt);
|
|
3522
3510
|
function $t(e) {
|
|
3523
3511
|
const n = {
|
|
3524
3512
|
literal: "true false null"
|
|
@@ -3567,7 +3555,7 @@ function $t(e) {
|
|
|
3567
3555
|
};
|
|
3568
3556
|
}
|
|
3569
3557
|
var Ut = $t;
|
|
3570
|
-
const Ht = Ut;
|
|
3558
|
+
const Ht = /* @__PURE__ */ Z(Ut);
|
|
3571
3559
|
function jt(e) {
|
|
3572
3560
|
const n = {
|
|
3573
3561
|
className: "variable",
|
|
@@ -3742,7 +3730,7 @@ function jt(e) {
|
|
|
3742
3730
|
};
|
|
3743
3731
|
}
|
|
3744
3732
|
var zt = jt;
|
|
3745
|
-
const Gt = zt;
|
|
3733
|
+
const Gt = /* @__PURE__ */ Z(zt);
|
|
3746
3734
|
function Vt(e) {
|
|
3747
3735
|
return {
|
|
3748
3736
|
name: "Shell Session",
|
|
@@ -3763,7 +3751,7 @@ function Vt(e) {
|
|
|
3763
3751
|
};
|
|
3764
3752
|
}
|
|
3765
3753
|
var Zt = Vt;
|
|
3766
|
-
const
|
|
3754
|
+
const Ke = /* @__PURE__ */ Z(Zt);
|
|
3767
3755
|
function Wt(e) {
|
|
3768
3756
|
var n = "true false yes no null", t = "[\\w#;/?:@&=+$,.~*'()[\\]]+", a = {
|
|
3769
3757
|
className: "attr",
|
|
@@ -3909,7 +3897,7 @@ function Wt(e) {
|
|
|
3909
3897
|
};
|
|
3910
3898
|
}
|
|
3911
3899
|
var Ft = Wt;
|
|
3912
|
-
const
|
|
3900
|
+
const Ye = /* @__PURE__ */ Z(Ft);
|
|
3913
3901
|
function Kt(e) {
|
|
3914
3902
|
var n = {
|
|
3915
3903
|
className: "params",
|
|
@@ -3965,7 +3953,7 @@ function Kt(e) {
|
|
|
3965
3953
|
};
|
|
3966
3954
|
}
|
|
3967
3955
|
var Yt = Kt;
|
|
3968
|
-
const Xt = Yt,
|
|
3956
|
+
const Xt = /* @__PURE__ */ Z(Yt), B0 = "[A-Za-z$_][0-9A-Za-z$_]*", Xe = [
|
|
3969
3957
|
"as",
|
|
3970
3958
|
// for exports
|
|
3971
3959
|
"in",
|
|
@@ -4008,7 +3996,7 @@ const Xt = Yt, D0 = "[A-Za-z$_][0-9A-Za-z$_]*", qe = [
|
|
|
4008
3996
|
"from",
|
|
4009
3997
|
"export",
|
|
4010
3998
|
"extends"
|
|
4011
|
-
],
|
|
3999
|
+
], qe = [
|
|
4012
4000
|
"true",
|
|
4013
4001
|
"false",
|
|
4014
4002
|
"null",
|
|
@@ -4087,7 +4075,7 @@ const Xt = Yt, D0 = "[A-Za-z$_][0-9A-Za-z$_]*", qe = [
|
|
|
4087
4075
|
"module",
|
|
4088
4076
|
"global"
|
|
4089
4077
|
// Node.js
|
|
4090
|
-
],
|
|
4078
|
+
], Qe = [].concat(
|
|
4091
4079
|
Jt,
|
|
4092
4080
|
e2,
|
|
4093
4081
|
qt,
|
|
@@ -4096,17 +4084,17 @@ const Xt = Yt, D0 = "[A-Za-z$_][0-9A-Za-z$_]*", qe = [
|
|
|
4096
4084
|
function n2(e) {
|
|
4097
4085
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
4098
4086
|
}
|
|
4099
|
-
function
|
|
4100
|
-
return
|
|
4087
|
+
function Ee(e) {
|
|
4088
|
+
return X0("(?=", e, ")");
|
|
4101
4089
|
}
|
|
4102
|
-
function
|
|
4090
|
+
function X0(...e) {
|
|
4103
4091
|
return e.map((t) => n2(t)).join("");
|
|
4104
4092
|
}
|
|
4105
4093
|
function t2(e) {
|
|
4106
4094
|
const n = (R, { after: k }) => {
|
|
4107
4095
|
const _ = "</" + R[0].slice(1);
|
|
4108
4096
|
return R.input.indexOf(_, k) !== -1;
|
|
4109
|
-
}, t =
|
|
4097
|
+
}, t = B0, a = {
|
|
4110
4098
|
begin: "<>",
|
|
4111
4099
|
end: "</>"
|
|
4112
4100
|
}, s = {
|
|
@@ -4125,10 +4113,10 @@ function t2(e) {
|
|
|
4125
4113
|
T === ">" && (n(R, { after: _ }) || k.ignoreMatch());
|
|
4126
4114
|
}
|
|
4127
4115
|
}, c = {
|
|
4128
|
-
$pattern:
|
|
4129
|
-
keyword:
|
|
4130
|
-
literal:
|
|
4131
|
-
built_in:
|
|
4116
|
+
$pattern: B0,
|
|
4117
|
+
keyword: Xe,
|
|
4118
|
+
literal: qe,
|
|
4119
|
+
built_in: Qe
|
|
4132
4120
|
}, l = "[0-9](_?[0-9])*", i = `\\.(${l})`, r = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", g = {
|
|
4133
4121
|
className: "number",
|
|
4134
4122
|
variants: [
|
|
@@ -4288,7 +4276,7 @@ function t2(e) {
|
|
|
4288
4276
|
g,
|
|
4289
4277
|
{
|
|
4290
4278
|
// object attr container
|
|
4291
|
-
begin:
|
|
4279
|
+
begin: X0(
|
|
4292
4280
|
/[{,\n]\s*/,
|
|
4293
4281
|
// we need to look ahead to make sure that we actually have an
|
|
4294
4282
|
// attribute coming up so we don't steal a comma from a potential
|
|
@@ -4300,7 +4288,7 @@ function t2(e) {
|
|
|
4300
4288
|
// fails to find any actual attrs. But this still does the job because
|
|
4301
4289
|
// it prevents the value contain rule from grabbing this instead and
|
|
4302
4290
|
// prevening this rule from firing when we actually DO have keys.
|
|
4303
|
-
|
|
4291
|
+
Ee(X0(
|
|
4304
4292
|
// we also need to allow for multiple possible comments inbetween
|
|
4305
4293
|
// the first key:value pairing
|
|
4306
4294
|
/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,
|
|
@@ -4311,7 +4299,7 @@ function t2(e) {
|
|
|
4311
4299
|
contains: [
|
|
4312
4300
|
{
|
|
4313
4301
|
className: "attr",
|
|
4314
|
-
begin: t +
|
|
4302
|
+
begin: t + Ee("\\s*:"),
|
|
4315
4303
|
relevance: 0
|
|
4316
4304
|
}
|
|
4317
4305
|
]
|
|
@@ -4474,7 +4462,7 @@ function t2(e) {
|
|
|
4474
4462
|
};
|
|
4475
4463
|
}
|
|
4476
4464
|
function a2(e) {
|
|
4477
|
-
const n =
|
|
4465
|
+
const n = B0, t = {
|
|
4478
4466
|
beginKeywords: "namespace",
|
|
4479
4467
|
end: /\{/,
|
|
4480
4468
|
excludeEnd: !0
|
|
@@ -4509,10 +4497,10 @@ function a2(e) {
|
|
|
4509
4497
|
"abstract",
|
|
4510
4498
|
"readonly"
|
|
4511
4499
|
], i = {
|
|
4512
|
-
$pattern:
|
|
4513
|
-
keyword:
|
|
4514
|
-
literal:
|
|
4515
|
-
built_in:
|
|
4500
|
+
$pattern: B0,
|
|
4501
|
+
keyword: Xe.concat(l),
|
|
4502
|
+
literal: qe,
|
|
4503
|
+
built_in: Qe.concat(c)
|
|
4516
4504
|
}, r = {
|
|
4517
4505
|
className: "meta",
|
|
4518
4506
|
begin: "@" + n
|
|
@@ -4534,11 +4522,11 @@ function a2(e) {
|
|
|
4534
4522
|
}), o;
|
|
4535
4523
|
}
|
|
4536
4524
|
var c2 = a2;
|
|
4537
|
-
const
|
|
4538
|
-
var
|
|
4539
|
-
|
|
4540
|
-
const z =
|
|
4541
|
-
var
|
|
4525
|
+
const Je = /* @__PURE__ */ Z(c2);
|
|
4526
|
+
var e1 = gn(E0, {});
|
|
4527
|
+
e1.registerLanguage = E0.registerLanguage;
|
|
4528
|
+
const z = e1;
|
|
4529
|
+
var n1 = {};
|
|
4542
4530
|
(function(e) {
|
|
4543
4531
|
Object.defineProperty(e, "__esModule", {
|
|
4544
4532
|
value: !0
|
|
@@ -4639,22 +4627,22 @@ var t1 = {};
|
|
|
4639
4627
|
}
|
|
4640
4628
|
};
|
|
4641
4629
|
e.default = n;
|
|
4642
|
-
})(
|
|
4643
|
-
const s2 = /* @__PURE__ */
|
|
4644
|
-
z.registerLanguage("sh",
|
|
4645
|
-
z.registerLanguage("shell",
|
|
4630
|
+
})(n1);
|
|
4631
|
+
const s2 = /* @__PURE__ */ Z(n1);
|
|
4632
|
+
z.registerLanguage("sh", Ke);
|
|
4633
|
+
z.registerLanguage("shell", Ke);
|
|
4646
4634
|
z.registerLanguage("bash", At);
|
|
4647
4635
|
z.registerLanguage("json", Ht);
|
|
4648
|
-
z.registerLanguage("yaml",
|
|
4649
|
-
z.registerLanguage("yml",
|
|
4636
|
+
z.registerLanguage("yaml", Ye);
|
|
4637
|
+
z.registerLanguage("yml", Ye);
|
|
4650
4638
|
z.registerLanguage("php", Gt);
|
|
4651
4639
|
z.registerLanguage("twig", Xt);
|
|
4652
|
-
z.registerLanguage("xml",
|
|
4653
|
-
z.registerLanguage("html",
|
|
4654
|
-
z.registerLanguage("js",
|
|
4655
|
-
z.registerLanguage("javascript",
|
|
4656
|
-
z.registerLanguage("ts",
|
|
4657
|
-
z.registerLanguage("typescript",
|
|
4640
|
+
z.registerLanguage("xml", We);
|
|
4641
|
+
z.registerLanguage("html", We);
|
|
4642
|
+
z.registerLanguage("js", Fe);
|
|
4643
|
+
z.registerLanguage("javascript", Fe);
|
|
4644
|
+
z.registerLanguage("ts", Je);
|
|
4645
|
+
z.registerLanguage("typescript", Je);
|
|
4658
4646
|
const N2 = ({ language: e, children: n, ...t }) => /* @__PURE__ */ d(
|
|
4659
4647
|
z,
|
|
4660
4648
|
{
|
|
@@ -4669,22 +4657,22 @@ const N2 = ({ language: e, children: n, ...t }) => /* @__PURE__ */ d(
|
|
|
4669
4657
|
PreTag: "div",
|
|
4670
4658
|
children: n
|
|
4671
4659
|
}
|
|
4672
|
-
), i2 =
|
|
4660
|
+
), i2 = c0(({ as: e = "h1", size: n, children: t, ...a }, s) => /* @__PURE__ */ d(
|
|
4673
4661
|
U,
|
|
4674
4662
|
{
|
|
4675
4663
|
...a,
|
|
4676
4664
|
as: e,
|
|
4677
4665
|
ref: s,
|
|
4678
|
-
className: $({ [`heading-${n}`]:
|
|
4666
|
+
className: $({ [`heading-${n}`]: !!n }, a == null ? void 0 : a.className),
|
|
4679
4667
|
children: t
|
|
4680
4668
|
}
|
|
4681
4669
|
));
|
|
4682
4670
|
i2.displayName = "Heading";
|
|
4683
|
-
const
|
|
4684
|
-
|
|
4671
|
+
const d0 = c0(({ as: e = "p", size: n, children: t, ...a }, s) => /* @__PURE__ */ d(U, { ...a, as: e, ref: s, textSize: n, children: t }));
|
|
4672
|
+
d0.displayName = "Text";
|
|
4685
4673
|
const x2 = (e) => /* @__PURE__ */ d(U, { ...e, as: "blockquote", className: $("blockquote", e.className) });
|
|
4686
|
-
const r2 =
|
|
4687
|
-
({ as: e = "div", isLoading: n = !0, children: t, ...a }, s) => /* @__PURE__ */ d(
|
|
4674
|
+
const r2 = c0(
|
|
4675
|
+
({ as: e = "div", isLoading: n = !0, children: t, ...a }, s) => /* @__PURE__ */ d(ce, { children: n ? /* @__PURE__ */ d(
|
|
4688
4676
|
U,
|
|
4689
4677
|
{
|
|
4690
4678
|
...a,
|
|
@@ -4692,13 +4680,13 @@ const r2 = a0(
|
|
|
4692
4680
|
ref: s,
|
|
4693
4681
|
bg: "ultra-light-grey",
|
|
4694
4682
|
className: $($(n ? ["skeleton", "animate-pulse"] : void 0), a.className),
|
|
4695
|
-
children: t || /* @__PURE__ */ d(U, { children: /* @__PURE__ */ d(
|
|
4683
|
+
children: t || /* @__PURE__ */ d(U, { children: /* @__PURE__ */ d(ce, { children: " " }) })
|
|
4696
4684
|
}
|
|
4697
4685
|
) : t })
|
|
4698
4686
|
);
|
|
4699
4687
|
r2.displayName = "Skeleton";
|
|
4700
|
-
const o2 =
|
|
4701
|
-
|
|
4688
|
+
const o2 = c0(({ as: e = "a", size: n, icon: t, children: a, ...s }, c) => /* @__PURE__ */ j(
|
|
4689
|
+
q0,
|
|
4702
4690
|
{
|
|
4703
4691
|
...s,
|
|
4704
4692
|
ref: c,
|
|
@@ -4709,7 +4697,7 @@ const o2 = a0(({ as: e = "a", size: n, icon: t, children: a, ...s }, c) => /* @_
|
|
|
4709
4697
|
textSize: n,
|
|
4710
4698
|
children: [
|
|
4711
4699
|
t && /* @__PURE__ */ d(Z0, { name: t }),
|
|
4712
|
-
/* @__PURE__ */ d(
|
|
4700
|
+
/* @__PURE__ */ d(d0, { as: "span", children: a })
|
|
4713
4701
|
]
|
|
4714
4702
|
}
|
|
4715
4703
|
));
|
|
@@ -4728,19 +4716,19 @@ const _2 = [
|
|
|
4728
4716
|
"example",
|
|
4729
4717
|
"quote"
|
|
4730
4718
|
], w2 = ({ variant: e, title: n, children: t, ...a }) => /* @__PURE__ */ j(U, { ...a, className: $("reminder", `reminder--${e}`), children: [
|
|
4731
|
-
/* @__PURE__ */ d(
|
|
4719
|
+
/* @__PURE__ */ d(d0, { className: "reminder__title", children: n }),
|
|
4732
4720
|
/* @__PURE__ */ d(U, { p: "xxs", children: t })
|
|
4733
4721
|
] });
|
|
4734
|
-
const l2 =
|
|
4722
|
+
const l2 = c0(
|
|
4735
4723
|
({ input: e, buttonClose: n, buttonSearch: t, ...a }, s) => /* @__PURE__ */ j(
|
|
4736
4724
|
U,
|
|
4737
4725
|
{
|
|
4738
|
-
className: $("search-field", { "search-field--has-value":
|
|
4726
|
+
className: $("search-field", { "search-field--has-value": !!e.value }, a.className),
|
|
4739
4727
|
ref: s,
|
|
4740
4728
|
children: [
|
|
4741
4729
|
/* @__PURE__ */ d(U, { ...e, as: "input", className: "search-field__input" }),
|
|
4742
|
-
/* @__PURE__ */ j(
|
|
4743
|
-
|
|
4730
|
+
/* @__PURE__ */ j(q0, { justifyContent: "center", alignItems: "center", className: "search-field__actions-container", children: [
|
|
4731
|
+
!!e.value && /* @__PURE__ */ d(U, { as: "button", className: "search-field__button-action", ...n, children: /* @__PURE__ */ d(Z0, { name: "close", color: "grey", size: "1.5rem" }) }),
|
|
4744
4732
|
/* @__PURE__ */ d(U, { className: "search-field__separator-button", ml: "xs" }),
|
|
4745
4733
|
/* @__PURE__ */ d(U, { as: "button", className: "search-field__button-action", ...t, children: /* @__PURE__ */ d(Z0, { name: "search", color: "amaranth", size: "2.5rem", mx: "xs" }) })
|
|
4746
4734
|
] })
|
|
@@ -4749,18 +4737,11 @@ const l2 = a0(
|
|
|
4749
4737
|
)
|
|
4750
4738
|
);
|
|
4751
4739
|
l2.displayName = "SearchField";
|
|
4752
|
-
var
|
|
4753
|
-
get exports() {
|
|
4754
|
-
return Q0;
|
|
4755
|
-
},
|
|
4756
|
-
set exports(e) {
|
|
4757
|
-
Q0 = e;
|
|
4758
|
-
}
|
|
4759
|
-
};
|
|
4740
|
+
var t1 = { exports: {} };
|
|
4760
4741
|
(function(e, n) {
|
|
4761
4742
|
(function(t, a) {
|
|
4762
4743
|
e.exports = a();
|
|
4763
|
-
})(
|
|
4744
|
+
})(Ne, () => {
|
|
4764
4745
|
return t = { 772: (s, c, l) => {
|
|
4765
4746
|
const i = l(826).remove, r = /[.*+?^${}()|[\]\\]/g, g = /[a-z0-9_]/i, o = /\s+/;
|
|
4766
4747
|
s.exports = function(m, b, v) {
|
|
@@ -4777,8 +4758,8 @@ var Q0 = {}, u2 = {
|
|
|
4777
4758
|
return x = "", [];
|
|
4778
4759
|
for (; T; ) {
|
|
4779
4760
|
P = T.index;
|
|
4780
|
-
const
|
|
4781
|
-
if (
|
|
4761
|
+
const K = R - A.slice(P, P + R).join("").length, X = P - A.slice(0, P).join("").length, q = [P + X, P + R + X + K];
|
|
4762
|
+
if (q[0] !== q[1] && w.push(q), x = x.slice(0, P) + new Array(R + 1).join(" ") + x.slice(P + R), !v.findAllOccurrences)
|
|
4782
4763
|
break;
|
|
4783
4764
|
T = _.exec(x);
|
|
4784
4765
|
}
|
|
@@ -4803,20 +4784,14 @@ var Q0 = {}, u2 = {
|
|
|
4803
4784
|
}(772);
|
|
4804
4785
|
var t, a;
|
|
4805
4786
|
});
|
|
4806
|
-
})(
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
return J0;
|
|
4811
|
-
},
|
|
4812
|
-
set exports(e) {
|
|
4813
|
-
J0 = e;
|
|
4814
|
-
}
|
|
4815
|
-
};
|
|
4787
|
+
})(t1);
|
|
4788
|
+
var u2 = t1.exports;
|
|
4789
|
+
const g2 = /* @__PURE__ */ Z(u2);
|
|
4790
|
+
var a1 = { exports: {} };
|
|
4816
4791
|
(function(e, n) {
|
|
4817
4792
|
(function(t, a) {
|
|
4818
4793
|
e.exports = a();
|
|
4819
|
-
})(
|
|
4794
|
+
})(Ne, () => {
|
|
4820
4795
|
return t = { 705: (s) => {
|
|
4821
4796
|
s.exports = function(c, l) {
|
|
4822
4797
|
const i = [];
|
|
@@ -4834,14 +4809,15 @@ var J0 = {}, m2 = {
|
|
|
4834
4809
|
}(705);
|
|
4835
4810
|
var t, a;
|
|
4836
4811
|
});
|
|
4837
|
-
})(
|
|
4838
|
-
|
|
4839
|
-
|
|
4812
|
+
})(a1);
|
|
4813
|
+
var m2 = a1.exports;
|
|
4814
|
+
const d2 = /* @__PURE__ */ Z(m2), f2 = c0(({ text: e, textQuery: n = "", ...t }, a) => {
|
|
4815
|
+
const s = P0.useMemo(() => {
|
|
4840
4816
|
const c = g2(e, n, { findAllOccurrences: !0 });
|
|
4841
4817
|
return d2(e, c);
|
|
4842
4818
|
}, [e, n]);
|
|
4843
|
-
return /* @__PURE__ */ d(
|
|
4844
|
-
|
|
4819
|
+
return /* @__PURE__ */ d(d0, { ...t, ref: a, children: s.map((c, l) => /* @__PURE__ */ d(
|
|
4820
|
+
d0,
|
|
4845
4821
|
{
|
|
4846
4822
|
as: "span",
|
|
4847
4823
|
fontWeight: c.highlight ? "medium" : "regular",
|
|
@@ -4852,9 +4828,9 @@ const d2 = J0, f2 = a0(({ text: e, textQuery: n = "", ...t }, a) => {
|
|
|
4852
4828
|
)) });
|
|
4853
4829
|
});
|
|
4854
4830
|
f2.displayName = "TextHighlight";
|
|
4855
|
-
const h2 = typeof window < "u" ?
|
|
4831
|
+
const h2 = typeof window < "u" ? P0.useLayoutEffect : () => {
|
|
4856
4832
|
}, S2 = (e) => {
|
|
4857
|
-
const [n, t] =
|
|
4833
|
+
const [n, t] = P0.useState(!1);
|
|
4858
4834
|
return h2(() => {
|
|
4859
4835
|
const a = window.matchMedia(P1[e]);
|
|
4860
4836
|
a.matches !== n && t(a.matches);
|
|
@@ -4866,7 +4842,7 @@ export {
|
|
|
4866
4842
|
x2 as Blockquote,
|
|
4867
4843
|
U as Box,
|
|
4868
4844
|
H1 as Button,
|
|
4869
|
-
|
|
4845
|
+
q0 as Flex,
|
|
4870
4846
|
i2 as Heading,
|
|
4871
4847
|
Z0 as Icon,
|
|
4872
4848
|
o2 as Link,
|
|
@@ -4874,12 +4850,12 @@ export {
|
|
|
4874
4850
|
w2 as Reminder,
|
|
4875
4851
|
l2 as SearchField,
|
|
4876
4852
|
r2 as Skeleton,
|
|
4877
|
-
|
|
4853
|
+
w1 as Svgs,
|
|
4878
4854
|
N2 as SyntaxHighlighter,
|
|
4879
|
-
|
|
4855
|
+
d0 as Text,
|
|
4880
4856
|
f2 as TextHighlight,
|
|
4881
4857
|
v2 as buttonVariant,
|
|
4882
|
-
|
|
4858
|
+
c0 as forwardRef,
|
|
4883
4859
|
E2 as logoName,
|
|
4884
4860
|
_2 as reminderVariantList,
|
|
4885
4861
|
h2 as useLayoutEffect,
|