@yakavkaz/uikit 0.0.10 → 0.0.12
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/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as A, jsxs as
|
|
1
|
+
import { jsx as A, jsxs as B, Fragment as k } from "react/jsx-runtime";
|
|
2
2
|
import * as l from "@radix-ui/react-select";
|
|
3
3
|
import { forwardRef as E, memo as b, useId as r, useMemo as q, useState as V } from "react";
|
|
4
4
|
import x, { clsx as _ } from "clsx";
|
|
@@ -6,7 +6,7 @@ import { Slot as o } from "@radix-ui/react-slot";
|
|
|
6
6
|
import * as S from "@radix-ui/react-checkbox";
|
|
7
7
|
import * as $ from "@radix-ui/react-label";
|
|
8
8
|
import * as Z from "@radix-ui/react-dropdown-menu";
|
|
9
|
-
const AA = (
|
|
9
|
+
const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M16.175 13H4v-2h12.175l-5.6-5.6L12 4l8 8-8 8-1.425-1.4z" }) }), gA = E(AA), eA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 380 100", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M237.5 166.759V214h-95v-47.241zM47.5 34.483c0 26.09 21.266 47.241 47.5 47.241v47.242c-52.467 0-95-42.302-95-94.483zM95 34.483c52.467 0 95 42.301 95 94.483h-47.5c0-26.091-21.266-47.242-47.5-47.242zM285 81.724c-26.234 0-47.5 21.151-47.5 47.242H190c0-52.182 42.533-94.483 95-94.483zM380 34.483c0 52.181-42.533 94.483-95 94.483V81.724c26.234 0 47.5-21.15 47.5-47.241zM142.5-12.759c-26.234 0-47.5 21.151-47.5 47.242H47.5C47.5-17.7 90.033-60 142.5-60zM237.5-60c52.467 0 95 42.301 95 94.483H285c0-26.09-21.266-47.242-47.5-47.242z" }) }), U = E(eA), BA = (e, g) => /* @__PURE__ */ B(
|
|
10
10
|
"svg",
|
|
11
11
|
{
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14,7 +14,7 @@ const AA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
14
14
|
fill: "none",
|
|
15
15
|
viewBox: "0 0 274 395",
|
|
16
16
|
ref: g,
|
|
17
|
-
...
|
|
17
|
+
...e,
|
|
18
18
|
children: [
|
|
19
19
|
/* @__PURE__ */ A("path", { fill: "#00AA85", d: "M342.5 326.897V395h-137v-68.103z" }),
|
|
20
20
|
/* @__PURE__ */ A("path", { fill: "url(#banner_bg_yak_half_news_svg__a)", d: "M342.5 326.897V395h-137v-68.103z" }),
|
|
@@ -102,7 +102,7 @@ const AA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
102
102
|
d: "M342.5 0c75.663 0 137 60.982 137 136.207H411c0-37.613-30.668-68.104-68.5-68.104z"
|
|
103
103
|
}
|
|
104
104
|
),
|
|
105
|
-
/* @__PURE__ */
|
|
105
|
+
/* @__PURE__ */ B("defs", { children: [
|
|
106
106
|
/* @__PURE__ */ A(
|
|
107
107
|
"pattern",
|
|
108
108
|
{
|
|
@@ -228,68 +228,68 @@ const AA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
228
228
|
] })
|
|
229
229
|
]
|
|
230
230
|
}
|
|
231
|
-
), cA = E(
|
|
231
|
+
), cA = E(BA), MA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
232
232
|
/* @__PURE__ */ A("g", { clipPath: "url(#checkmark-outline_svg__a)", children: /* @__PURE__ */ A("path", { fill: "#000", d: "M9.86 18a1 1 0 0 1-.73-.32l-4.86-5.17a1.001 1.001 0 0 1 1.46-1.37l4.12 4.39 8.41-9.2a1 1 0 1 1 1.48 1.34l-9.14 10a1 1 0 0 1-.73.33z" }) }),
|
|
233
233
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "checkmark-outline_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
234
|
-
] }), YA = E(MA), iA = (
|
|
234
|
+
] }), YA = E(MA), iA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
235
235
|
/* @__PURE__ */ A("g", { clipPath: "url(#close_svg__a)", children: /* @__PURE__ */ A("path", { fill: "#000", d: "m13.41 12 4.3-4.29a1.004 1.004 0 1 0-1.42-1.42L12 10.59l-4.29-4.3a1.004 1.004 0 0 0-1.42 1.42l4.3 4.29-4.3 4.29a1 1 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219l4.29-4.3 4.29 4.3a1.002 1.002 0 0 0 1.639-.325 1 1 0 0 0-.219-1.095z" }) }),
|
|
236
236
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "close_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
237
|
-
] }), EA = E(iA), IA = (
|
|
238
|
-
/* @__PURE__ */
|
|
237
|
+
] }), EA = E(iA), IA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
238
|
+
/* @__PURE__ */ B("g", { fill: "#000", clipPath: "url(#eye-off-outline_svg__a)", children: [
|
|
239
239
|
/* @__PURE__ */ A("path", { d: "M4.71 3.29a1.004 1.004 0 1 0-1.42 1.42l5.63 5.63a3.5 3.5 0 0 0 4.74 4.74l5.63 5.63a1.002 1.002 0 0 0 1.639-.325 1 1 0 0 0-.219-1.095zM12 13.5a1.5 1.5 0 0 1-1.5-1.5v-.07l1.56 1.56z" }),
|
|
240
240
|
/* @__PURE__ */ A("path", { d: "M12.22 17c-4.3.1-7.12-3.59-8-5 .626-1 1.38-1.914 2.24-2.72L5 7.87a15.9 15.9 0 0 0-2.87 3.63 1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25a9.5 9.5 0 0 0 3.23-.67l-1.58-1.58a7.7 7.7 0 0 1-1.7.25M21.87 11.5c-.64-1.11-4.17-6.68-10.14-6.5a9.5 9.5 0 0 0-3.23.67l1.58 1.58a7.7 7.7 0 0 1 1.7-.25c4.29-.11 7.11 3.59 8 5a13.7 13.7 0 0 1-2.29 2.72L19 16.13a15.9 15.9 0 0 0 2.91-3.63 1 1 0 0 0-.04-1" })
|
|
241
241
|
] }),
|
|
242
242
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "eye-off-outline_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
243
|
-
] }), xA = E(IA),
|
|
244
|
-
/* @__PURE__ */
|
|
243
|
+
] }), xA = E(IA), mA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
244
|
+
/* @__PURE__ */ B("g", { fill: "#000", clipPath: "url(#eye-off_svg__a)", children: [
|
|
245
245
|
/* @__PURE__ */ A("path", { d: "M12 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M15.29 18.12 14 16.78l-.07-.07-1.27-1.27A3.5 3.5 0 0 1 8.5 12a4 4 0 0 1 .06-.61l-2-2L5 7.87a15.9 15.9 0 0 0-2.87 3.63 1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25a9.5 9.5 0 0 0 3.23-.67zM8.59 5.76l2.8 2.8A4 4 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5 4 4 0 0 1-.06.61l2.68 2.68.84.84a15.9 15.9 0 0 0 2.91-3.63 1 1 0 0 0 0-1c-.64-1.11-4.16-6.68-10.14-6.5a9.5 9.5 0 0 0-3.23.67z" }),
|
|
246
246
|
/* @__PURE__ */ A("path", { d: "M20.71 19.29 19.41 18l-2-2-9.52-9.53L6.42 5 4.71 3.29a1.004 1.004 0 1 0-1.42 1.42L5.53 7l1.75 1.7 7.31 7.3.07.07L16 17.41l.59.59 2.7 2.71a1.002 1.002 0 0 0 1.639-.325 1 1 0 0 0-.219-1.095" })
|
|
247
247
|
] }),
|
|
248
248
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "eye-off_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
249
|
-
] }),
|
|
250
|
-
/* @__PURE__ */
|
|
249
|
+
] }), wA = E(mA), nA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
250
|
+
/* @__PURE__ */ B("g", { fill: "#000", clipPath: "url(#eye-outline_svg__a)", children: [
|
|
251
251
|
/* @__PURE__ */ A("path", { d: "M21.87 11.5c-.64-1.11-4.16-6.68-10.14-6.5-5.53.14-8.73 5-9.6 6.5a1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25c5.53-.14 8.74-5 9.6-6.5a1 1 0 0 0 0-1M12.22 17c-4.31.1-7.12-3.59-8-5 1-1.61 3.61-4.9 7.61-5 4.29-.11 7.11 3.59 8 5-1.03 1.61-3.61 4.9-7.61 5" }),
|
|
252
252
|
/* @__PURE__ */ A("path", { d: "M12 8.5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7m0 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3" })
|
|
253
253
|
] }),
|
|
254
254
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "eye-outline_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
255
|
-
] }), JA = E(nA), hA = (
|
|
256
|
-
/* @__PURE__ */
|
|
255
|
+
] }), JA = E(nA), hA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
256
|
+
/* @__PURE__ */ B("g", { fill: "#000", clipPath: "url(#eye_svg__a)", children: [
|
|
257
257
|
/* @__PURE__ */ A("path", { d: "M12 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3" }),
|
|
258
258
|
/* @__PURE__ */ A("path", { d: "M21.87 11.5c-.64-1.11-4.16-6.68-10.14-6.5-5.53.14-8.73 5-9.6 6.5a1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25c5.53-.14 8.74-5 9.6-6.5a1 1 0 0 0 0-1m-9.87 4a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7" })
|
|
259
259
|
] }),
|
|
260
260
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "eye_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
261
|
-
] }), zA = E(hA), CA = (
|
|
261
|
+
] }), zA = E(hA), CA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M13 9V7h3V3h2v4h3v2zm3 12V11h2v10zM6 21v-4H3v-2h8v2H8v4zm0-8V3h2v10z" }) }), GA = E(CA), lA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 60 60", ref: g, ...e, children: [
|
|
262
262
|
/* @__PURE__ */ A("path", { fill: "#fff", d: "M.5.5h59v59H.5z" }),
|
|
263
263
|
/* @__PURE__ */ A("path", { stroke: "#D9D9D9", d: "M.5.5h59v59H.5z" }),
|
|
264
264
|
/* @__PURE__ */ A("path", { fill: "url(#gos_svg__a)", d: "M44.392 24.615c-.126-1.65-1.385-3.763-2.643-4.778a48 48 0 0 0-4.406-2.876 49 49 0 0 0-4.657-2.452A6.8 6.8 0 0 0 30 14a6.6 6.6 0 0 0-2.685.508 49 49 0 0 0-4.658 2.452 85 85 0 0 0-4.405 2.876 7.8 7.8 0 0 0-2.24 3.13c-.122.311.119.633.453.633h1.664c.372 0 .707-.21.91-.52a6.4 6.4 0 0 1 1.254-1.414s1.628-1.144 3.637-2.358a41 41 0 0 1 3.846-2.01 5.5 5.5 0 0 1 2.217-.417 5.6 5.6 0 0 1 2.217.416q1.976.903 3.846 2.011a40 40 0 0 1 3.637 2.358c1.04.832 2.079 2.566 2.183 3.918 0 0 .242 2.011.277 4.393a41 41 0 0 1-.242 4.404 6.42 6.42 0 0 1-2.218 3.918s-1.628 1.179-3.637 2.393a41 41 0 0 1-3.846 2.01 5.5 5.5 0 0 1-2.217.417 5.6 5.6 0 0 1-2.217-.406 41 41 0 0 1-3.846-2.011 45 45 0 0 1-3.637-2.392c-.43-.344-.858-.841-1.224-1.402a1.08 1.08 0 0 0-.897-.508h-1.695c-.338 0-.578.33-.445.64.513 1.212 1.366 2.406 2.22 3.094 0 0 1.972 1.48 4.406 2.917a49 49 0 0 0 4.657 2.453 6.8 6.8 0 0 0 2.685.495c.92.019 1.835-.154 2.686-.508a49 49 0 0 0 4.657-2.453c2.433-1.48 4.406-2.917 4.406-2.917a7.84 7.84 0 0 0 2.685-4.778 51 51 0 0 0 .294-5.37 58 58 0 0 0-.336-5.358" }),
|
|
265
265
|
/* @__PURE__ */ A("path", { fill: "#0066B3", d: "M15.273 26.482a.64.64 0 0 1 .64-.64h9.92a.64.64 0 0 1 .64.64v1.92a.64.64 0 0 1-.64.64h-10.56z" }),
|
|
266
266
|
/* @__PURE__ */ A("path", { fill: "#EE2F53", d: "M15.273 30.961h20.16a.64.64 0 0 1 .64.64v1.92a.64.64 0 0 1-.64.64h-19.52a.64.64 0 0 1-.64-.64z" }),
|
|
267
|
-
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ B("linearGradient", { id: "gos_svg__a", x1: 30.26, x2: 30.26, y1: 14, y2: 46, gradientUnits: "userSpaceOnUse", children: [
|
|
268
268
|
/* @__PURE__ */ A("stop", { stopColor: "#0066B3" }),
|
|
269
269
|
/* @__PURE__ */ A("stop", { offset: 0.354, stopColor: "#0066B3" }),
|
|
270
270
|
/* @__PURE__ */ A("stop", { offset: 0.688, stopColor: "#EE2F53" }),
|
|
271
271
|
/* @__PURE__ */ A("stop", { offset: 1, stopColor: "#EE2F53" })
|
|
272
272
|
] }) })
|
|
273
|
-
] }), aA = E(lA), oA = (
|
|
273
|
+
] }), aA = E(lA), oA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M5 19V5v4.475V9zm2-6h5.525q.05-.55.25-1.05t.5-.95H7zm0 4h3.925q.425-.5.975-.812t1.15-.513a2 2 0 0 1-.175-.325 3 3 0 0 1-.125-.35H7zm-4 4V3h18v8.45a4.9 4.9 0 0 0-.85-1.15A4.4 4.4 0 0 0 19 9.475V5H5v14h5.05a3.7 3.7 0 0 0-.05.6V21zm14-5q-1.05 0-1.775-.725T14.5 13.5t.725-1.775T17 11t1.775.725.725 1.775-.725 1.775T17 16m-5 5v-1.4q0-.6.313-1.113a1.76 1.76 0 0 1 .887-.737q.9-.375 1.863-.562a10.1 10.1 0 0 1 3.874 0 9.6 9.6 0 0 1 1.863.562q.575.225.887.738Q22 19 22 19.6V21zM7 9h10V7H7z" }) }), QA = E(oA), RA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "m12 15.4-6-6L7.4 8l4.6 4.6L16.6 8 18 9.4z" }) }), sA = E(RA), ZA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M12 22a.93.93 0 0 1-.6-.2 1.2 1.2 0 0 1-.375-.525 14 14 0 0 0-1.2-2.625q-.7-1.225-1.975-2.875t-2.075-3.15Q5 11.125 5 9q0-2.925 2.025-4.95Q9.075 2 12 2t4.95 2.05Q19 6.075 19 9q0 2.275-.875 3.8-.85 1.5-1.975 2.975-1.35 1.8-2.05 3a14 14 0 0 0-1.125 2.5 1.13 1.13 0 0 1-.4.55A.98.98 0 0 1 12 22m0-3.575q.425-.85.95-1.675.55-.825 1.6-2.2 1.075-1.4 1.75-2.575.7-1.2.7-2.975 0-2.075-1.475-3.525Q14.075 4 12 4T8.45 5.475Q7 6.925 7 9q0 1.775.675 2.975A27 27 0 0 0 9.45 14.55q1.05 1.375 1.575 2.2.55.825.975 1.675m0-6.925q1.05 0 1.775-.725T14.5 9t-.725-1.775T12 6.5t-1.775.725T9.5 9t.725 1.775T12 11.5" }) }), OA = E(ZA), fA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 62 62", ref: g, ...e, children: [
|
|
274
274
|
/* @__PURE__ */ A("path", { stroke: "#D9D9D9", d: "M1 1h60v60H1z" }),
|
|
275
275
|
/* @__PURE__ */ A("path", { fill: "#07F", d: "M35.813 31A4.82 4.82 0 0 1 31 35.813 4.82 4.82 0 0 1 26.187 31 4.82 4.82 0 0 1 31 26.187 4.82 4.82 0 0 1 35.813 31M31 15c-8.822 0-16 7.178-16 16s7.178 16 16 16c3.232 0 6.349-.962 9.013-2.783l.046-.032-2.156-2.506-.036.024A12.67 12.67 0 0 1 31 43.72c-7.014 0-12.72-5.706-12.72-12.72S23.986 18.28 31 18.28 43.72 23.986 43.72 31c0 .909-.101 1.829-.3 2.734-.402 1.651-1.558 2.157-2.426 2.09-.873-.071-1.894-.693-1.901-2.215V31c0-4.463-3.63-8.093-8.093-8.093s-8.093 3.63-8.093 8.093 3.63 8.093 8.093 8.093a8.03 8.03 0 0 0 5.734-2.389 5.2 5.2 0 0 0 3.997 2.389q.214.018.431.018a5.4 5.4 0 0 0 3.247-1.096c.959-.728 1.675-1.781 2.071-3.046.063-.204.179-.672.18-.675l.003-.017C46.896 33.262 47 32.25 47 31c0-8.822-7.178-16-16-16" })
|
|
276
|
-
] }), kA = E(fA), FA = (
|
|
276
|
+
] }), kA = E(fA), FA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M3 18v-2h18v2zm0-5v-2h18v2zm0-5V6h18v2z" }) }), uA = E(FA), jA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "m19.6 21-6.3-6.3q-.75.6-1.725.95T9.5 16q-2.725 0-4.612-1.887T3 9.5t1.888-4.612T9.5 3t4.613 1.888T16 9.5a6.1 6.1 0 0 1-1.3 3.8l6.3 6.3zM9.5 14q1.875 0 3.188-1.312Q14 11.375 14 9.5t-1.312-3.187T9.5 5 6.313 6.313 5 9.5t1.313 3.188T9.5 14" }) }), vA = E(jA), DA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
277
277
|
/* @__PURE__ */ A("g", { clipPath: "url(#telegram_svg__a)", children: /* @__PURE__ */ A("path", { fill: "#005341", d: "m9.417 15.181-.397 5.584c.568 0 .814-.244 1.11-.537l2.662-2.545 5.518 4.041c1.012.564 1.725.267 1.998-.931L23.93 3.821l.001-.001c.321-1.496-.54-2.081-1.527-1.714l-21.29 8.151c-1.453.564-1.43 1.374-.247 1.741l5.443 1.693L18.953 5.78c.595-.394 1.136-.176.691.218z" }) }),
|
|
278
278
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "telegram_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
279
|
-
] }), LA = E(DA), dA = (
|
|
279
|
+
] }), LA = E(DA), dA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
280
280
|
/* @__PURE__ */ A("g", { clipPath: "url(#vk_svg__a)", children: /* @__PURE__ */ A("path", { fill: "#005341", d: "M22.316 1.684C20.632 0 17.92 0 12.5 0h-1C6.079 0 3.368 0 1.684 1.684S0 6.08 0 11.5v1c0 5.421 0 8.132 1.684 9.816S6.08 24 11.5 24h1c5.421 0 8.132 0 9.816-1.684S24 17.92 24 12.5v-1c0-5.421 0-8.132-1.684-9.816M19.503 17h-1.75c-.668 0-.863-.532-2.05-1.719-1.039-1.001-1.483-1.13-1.743-1.13-.353 0-.458.099-.458.6v1.569c0 .43-.138.68-1.25.68-1.855 0-3.893-1.126-5.339-3.202-2.17-3.04-2.763-5.34-2.763-5.803 0-.26.1-.495.6-.495H6.5c.448 0 .616.196.784.68.856 2.493 2.3 4.673 2.893 4.673.222 0 .324-.103.324-.668V9.608c-.065-1.186-.695-1.284-.695-1.706 0-.195.167-.402.445-.402h2.75c.372 0 .5.198.5.643v3.467c0 .37.162.5.273.5.223 0 .409-.13.816-.537 1.261-1.41 2.151-3.578 2.151-3.578.112-.26.317-.495.762-.495h1.75c.53 0 .641.272.53.643-.223 1.02-2.355 4.023-2.355 4.023-.186.297-.26.445 0 .779.185.26.797.779 1.205 1.26.752.847 1.318 1.56 1.476 2.052.145.493-.106.743-.606.743" }) }),
|
|
281
281
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "vk_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
282
|
-
] }), WA = E(dA), HA = (
|
|
282
|
+
] }), WA = E(dA), HA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 62 62", ref: g, ...e, children: [
|
|
283
283
|
/* @__PURE__ */ A("path", { stroke: "#D9D9D9", d: "M1 1h60v60H1z" }),
|
|
284
284
|
/* @__PURE__ */ A("path", { fill: "#07F", d: "M15 30.36c0-7.24 0-10.861 2.25-13.11C19.498 15 23.12 15 30.36 15h1.28c7.24 0 10.861 0 13.11 2.25C47 19.498 47 23.12 47 30.36v1.28c0 7.24 0 10.861-2.25 13.11C42.502 47 38.88 47 31.64 47h-1.28c-7.24 0-10.861 0-13.11-2.25C15 42.502 15 38.88 15 31.64z" }),
|
|
285
285
|
/* @__PURE__ */ A("path", { fill: "#fff", d: "M32.027 38.053c-7.294 0-11.454-5-11.627-13.32h3.653c.12 6.107 2.814 8.694 4.947 9.227v-9.227h3.44V30c2.107-.227 4.32-2.627 5.067-5.267h3.44c-.574 3.254-2.974 5.654-4.68 6.64 1.706.8 4.44 2.894 5.48 6.68H37.96c-.813-2.533-2.84-4.493-5.52-4.76v4.76z" })
|
|
286
|
-
] }), tA = E(HA), SA = (
|
|
286
|
+
] }), tA = E(HA), SA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", fillRule: "evenodd", d: "M19.15 3.27A11.08 11.08 0 0 0 11.264 0C5.118 0 .116 5.001.114 11.149c0 1.965.512 3.883 1.488 5.574L.021 22.5l5.91-1.55a11.14 11.14 0 0 0 5.328 1.357h.005c6.144 0 11.147-5.002 11.149-11.15A11.08 11.08 0 0 0 19.15 3.27m-7.886 17.154h-.004a9.26 9.26 0 0 1-4.717-1.292l-.338-.201-3.508.92.937-3.42-.22-.35a9.24 9.24 0 0 1-1.418-4.932c.002-5.11 4.16-9.266 9.271-9.266 2.475 0 4.802.966 6.552 2.718a9.21 9.21 0 0 1 2.711 6.556c-.002 5.11-4.159 9.267-9.266 9.267m5.083-6.94c-.279-.14-1.649-.814-1.904-.907s-.441-.14-.627.14c-.186.278-.72.906-.882 1.092s-.325.209-.603.07c-.28-.14-1.177-.434-2.24-1.383-.829-.74-1.388-1.651-1.55-1.93-.163-.28-.002-.416.122-.569.301-.374.603-.767.696-.953s.046-.348-.023-.488c-.07-.14-.627-1.51-.86-2.068-.225-.543-.455-.47-.626-.479A11 11 0 0 0 7.316 6c-.186 0-.487.07-.743.35-.255.278-.975.952-.975 2.323 0 1.372.998 2.696 1.138 2.882s1.964 3 4.759 4.207c.664.287 1.183.458 1.588.587.667.212 1.274.182 1.755.11.535-.08 1.648-.674 1.88-1.325s.232-1.208.162-1.324-.255-.186-.533-.326", clipRule: "evenodd" }) }), rA = E(SA), UA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 20 20", ref: g, ...e, children: [
|
|
287
287
|
/* @__PURE__ */ A("g", { clipPath: "url(#x_svg__a)", children: /* @__PURE__ */ A("path", { fill: "#005341", d: "M11.862 8.469 19.147 0h-1.726l-6.326 7.353L6.042 0H.215l7.64 11.12L.215 20h1.726l6.68-7.765L13.958 20h5.828zm-2.365 2.748-.774-1.107-6.16-8.81h2.652l4.971 7.11.774 1.107 6.462 9.242H14.77z" }) }),
|
|
288
288
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "x_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h20v20H0z" }) }) })
|
|
289
|
-
] }), TA = E(UA), KA = (
|
|
289
|
+
] }), TA = E(UA), KA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24", ref: g, ...e, children: [
|
|
290
290
|
/* @__PURE__ */ A("path", { fill: "currentColor", d: "M20.796 19.862V24h-8.319v-4.138zM4.16 8.276c0 2.285 1.861 4.138 4.158 4.138v4.138C3.724 16.552 0 12.847 0 8.276zM8.318 8.276c4.594 0 8.318 3.705 8.318 8.276h-4.159c0-2.286-1.862-4.138-4.159-4.138zM24.955 12.414c-2.297 0-4.16 1.852-4.16 4.138h-4.159c0-4.57 3.724-8.276 8.319-8.276z" }),
|
|
291
291
|
/* @__PURE__ */ A("path", { fill: "currentColor", d: "M33.273 8.276c0 4.57-3.724 8.276-8.319 8.276v-4.138c2.297 0 4.16-1.853 4.16-4.138zM12.477 4.138c-2.297 0-4.159 1.853-4.159 4.138H4.16C4.16 3.706 7.883 0 12.477 0zM20.796 0c4.594 0 8.318 3.705 8.318 8.276h-4.16c0-2.285-1.861-4.138-4.158-4.138z" })
|
|
292
|
-
] }), yA = E(KA), XA = (
|
|
292
|
+
] }), yA = E(KA), XA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 62 62", ref: g, ...e, children: [
|
|
293
293
|
/* @__PURE__ */ A("path", { stroke: "#D9D9D9", d: "M1 1h60v60H1z" }),
|
|
294
294
|
/* @__PURE__ */ A("path", { fill: "#FC3F1D", d: "M36.098 19.328h-2.502c-4.589 0-6.999 2.302-6.999 5.71 0 3.867 1.668 5.663 5.098 7.965l2.827 1.888L26.365 47h-6.071l7.323-10.82c-4.218-2.993-6.582-5.894-6.582-10.82 0-6.17 4.31-10.36 12.514-10.36h8.157v32h-5.608z" })
|
|
295
295
|
] }), NA = E(XA), PA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -300,7 +300,7 @@ const AA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
300
300
|
CheckmarkOutline: YA,
|
|
301
301
|
Close: EA,
|
|
302
302
|
Eye: zA,
|
|
303
|
-
EyeOff:
|
|
303
|
+
EyeOff: wA,
|
|
304
304
|
EyeOffOutline: xA,
|
|
305
305
|
EyeOutline: JA,
|
|
306
306
|
Filter: GA,
|
|
@@ -318,8 +318,8 @@ const AA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
318
318
|
X: TA,
|
|
319
319
|
Yak: yA,
|
|
320
320
|
Yandex: NA
|
|
321
|
-
}, Symbol.toStringTag, { value: "Module" })), pA = ({ iconId:
|
|
322
|
-
const Y = PA[
|
|
321
|
+
}, Symbol.toStringTag, { value: "Module" })), pA = ({ iconId: e, ...g }, c) => {
|
|
322
|
+
const Y = PA[e];
|
|
323
323
|
return Y ? /* @__PURE__ */ A(Y, { ...g, ref: c }) : null;
|
|
324
324
|
}, bA = E(pA), z = b(bA), J = {
|
|
325
325
|
// Заголовки
|
|
@@ -337,17 +337,22 @@ const AA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
337
337
|
// 24px regular (бывш. h2_normal)
|
|
338
338
|
heading_3_bold: "heading_3_bold",
|
|
339
339
|
// 18px bold (бывш. h3)
|
|
340
|
+
heading_3_semibold: "heading_3_semibold",
|
|
341
|
+
// 18px bold (бывш. h3)
|
|
340
342
|
// Текстовые размеры
|
|
341
343
|
text_30_semibold: "text_30_semibold",
|
|
342
344
|
// 30px semibold (бывш. semibold_text_30)
|
|
345
|
+
text_28_semibold: "text_28_semibold",
|
|
346
|
+
text_20_semibold: "text_20_semibold",
|
|
343
347
|
text_26_medium: "text_26_medium",
|
|
344
|
-
// 26px medium
|
|
348
|
+
// 26px medium
|
|
345
349
|
text_16_regular: "text_16_regular",
|
|
346
350
|
// 16px regular (бывш. regular_text_16)
|
|
347
351
|
text_16_semibold: "text_16_semibold",
|
|
348
352
|
// 16px semibold (бывш. semibold_text_16)
|
|
349
353
|
text_16_bold: "text_16_bold",
|
|
350
354
|
// 16px bold (бывш. bold_text_16)
|
|
355
|
+
text_16_medium: "text_16_medium",
|
|
351
356
|
text_14_regular: "text_14_regular",
|
|
352
357
|
// 14px regular (бывш. regular_text_14)
|
|
353
358
|
text_14_medium: "text_14_medium",
|
|
@@ -369,21 +374,27 @@ const AA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
369
374
|
// 44px
|
|
370
375
|
[J.heading_1_semibold]: "text-xl font-semibold",
|
|
371
376
|
// 44px
|
|
372
|
-
[J.heading_2_bold]: "text-
|
|
377
|
+
[J.heading_2_bold]: "text-md font-bold",
|
|
373
378
|
// 24px
|
|
374
|
-
[J.heading_2_semibold]: "text-
|
|
379
|
+
[J.heading_2_semibold]: "text-md font-semibold",
|
|
375
380
|
// 24px
|
|
376
|
-
[J.heading_2_regular]: "text-
|
|
381
|
+
[J.heading_2_regular]: "text-md font-regular",
|
|
377
382
|
// 24px
|
|
378
|
-
[J.heading_3_bold]: "text-s font-
|
|
383
|
+
[J.heading_3_bold]: "text-s font-semibold",
|
|
384
|
+
// 18px
|
|
385
|
+
[J.heading_3_semibold]: "text-s font-bold",
|
|
379
386
|
// 18px
|
|
380
387
|
// Текст
|
|
381
388
|
[J.text_30_semibold]: "text-[30px] font-semibold",
|
|
389
|
+
[J.text_28_semibold]: "text-[28px] font-semibold",
|
|
382
390
|
[J.text_26_medium]: "text-[26px] font-medium",
|
|
391
|
+
[J.text_20_semibold]: "text-[20px] font-semibold",
|
|
383
392
|
[J.text_16_regular]: "text-xs font-regular",
|
|
384
393
|
// 16px
|
|
385
394
|
[J.text_16_semibold]: "text-xs font-semibold",
|
|
386
395
|
// 16px
|
|
396
|
+
[J.text_16_medium]: "text-xs font-medium",
|
|
397
|
+
// 16px
|
|
387
398
|
[J.text_16_bold]: "text-xs font-bold",
|
|
388
399
|
// 16px
|
|
389
400
|
[J.text_14_regular]: "text-xxs font-regular",
|
|
@@ -400,8 +411,8 @@ const AA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
400
411
|
[J.link_14_regular]: "text-xxs font-regular text-primary-500 underline cursor-pointer"
|
|
401
412
|
// 14px
|
|
402
413
|
}, C = E(
|
|
403
|
-
({ asChild:
|
|
404
|
-
const I =
|
|
414
|
+
({ asChild: e, variant: g = J.text_16_regular, className: c, ...Y }, M) => {
|
|
415
|
+
const I = e ? o : "span", i = qA[g];
|
|
405
416
|
return /* @__PURE__ */ A(
|
|
406
417
|
I,
|
|
407
418
|
{
|
|
@@ -420,7 +431,7 @@ const AA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
420
431
|
C.displayName = "Typography";
|
|
421
432
|
const T = E(
|
|
422
433
|
({
|
|
423
|
-
children:
|
|
434
|
+
children: e,
|
|
424
435
|
className: g,
|
|
425
436
|
defaultValue: c,
|
|
426
437
|
triggerIcon: Y,
|
|
@@ -428,16 +439,16 @@ const T = E(
|
|
|
428
439
|
placeholder: I,
|
|
429
440
|
label: i,
|
|
430
441
|
labelColor: n,
|
|
431
|
-
...
|
|
432
|
-
},
|
|
433
|
-
const h =
|
|
434
|
-
return /* @__PURE__ */
|
|
442
|
+
...w
|
|
443
|
+
}, m) => {
|
|
444
|
+
const h = w.value !== void 0 ? w : { ...w, defaultValue: c };
|
|
445
|
+
return /* @__PURE__ */ B("div", { className: x("flex flex-col gap-1", g), children: [
|
|
435
446
|
i && /* @__PURE__ */ A(C, { style: { color: n }, variant: "text_16_regular", children: i[0]?.toUpperCase() + i.slice(1) }),
|
|
436
|
-
/* @__PURE__ */
|
|
437
|
-
/* @__PURE__ */
|
|
447
|
+
/* @__PURE__ */ B(l.Root, { ...h, children: [
|
|
448
|
+
/* @__PURE__ */ B(
|
|
438
449
|
l.Trigger,
|
|
439
450
|
{
|
|
440
|
-
ref:
|
|
451
|
+
ref: m,
|
|
441
452
|
style: M,
|
|
442
453
|
"aria-label": i,
|
|
443
454
|
className: x(
|
|
@@ -469,7 +480,7 @@ const T = E(
|
|
|
469
480
|
position: "popper",
|
|
470
481
|
sideOffset: 4,
|
|
471
482
|
collisionPadding: 10,
|
|
472
|
-
children: /* @__PURE__ */ A(l.Viewport, { className: "max-h-[200px] p-1 overflow-y-auto", children:
|
|
483
|
+
children: /* @__PURE__ */ A(l.Viewport, { className: "max-h-[200px] p-1 overflow-y-auto", children: e })
|
|
473
484
|
}
|
|
474
485
|
) })
|
|
475
486
|
] })
|
|
@@ -478,7 +489,7 @@ const T = E(
|
|
|
478
489
|
);
|
|
479
490
|
T.displayName = "Selector";
|
|
480
491
|
const K = E(
|
|
481
|
-
({ children:
|
|
492
|
+
({ children: e, className: g = "", value: c, disabled: Y }, M) => /* @__PURE__ */ A(
|
|
482
493
|
l.Item,
|
|
483
494
|
{
|
|
484
495
|
ref: M,
|
|
@@ -491,7 +502,7 @@ const K = E(
|
|
|
491
502
|
"outline-none",
|
|
492
503
|
g
|
|
493
504
|
),
|
|
494
|
-
children: /* @__PURE__ */ A(l.ItemText, { children:
|
|
505
|
+
children: /* @__PURE__ */ A(l.ItemText, { children: e })
|
|
495
506
|
}
|
|
496
507
|
)
|
|
497
508
|
);
|
|
@@ -499,17 +510,17 @@ K.displayName = "SelectItem";
|
|
|
499
510
|
const VA = E(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
500
511
|
const i = g ? o : "div";
|
|
501
512
|
return c ? /* @__PURE__ */ A(i, { ref: I, className: x("w-full", Y), ...M, children: c }) : /* @__PURE__ */ A("div", { ref: I, className: x("w-full bg-light-100", Y), ...M, children: "Пустая карточка" });
|
|
502
|
-
}), _A = (
|
|
513
|
+
}), _A = (e) => {
|
|
503
514
|
const g = r();
|
|
504
|
-
return
|
|
515
|
+
return e || g;
|
|
505
516
|
}, $A = E(
|
|
506
|
-
({ checked:
|
|
507
|
-
const
|
|
508
|
-
return /* @__PURE__ */
|
|
517
|
+
({ checked: e, className: g, disabled: c = !1, id: Y, children: M, onValueChange: I, ...i }, n) => {
|
|
518
|
+
const w = _A(Y);
|
|
519
|
+
return /* @__PURE__ */ B("div", { className: "leading-tight flex items-start gap-2", children: [
|
|
509
520
|
/* @__PURE__ */ A(
|
|
510
521
|
S.Root,
|
|
511
522
|
{
|
|
512
|
-
checked:
|
|
523
|
+
checked: e,
|
|
513
524
|
className: x(
|
|
514
525
|
"relative mt-[2px] flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-sm border-2 border-dark-900",
|
|
515
526
|
"data-[state=checked]:border-dark-900 data-[state=checked]:bg-white",
|
|
@@ -522,7 +533,7 @@ const VA = E(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
|
522
533
|
"active:before:bg-gray-100",
|
|
523
534
|
g
|
|
524
535
|
),
|
|
525
|
-
id:
|
|
536
|
+
id: w,
|
|
526
537
|
disabled: c,
|
|
527
538
|
onCheckedChange: I,
|
|
528
539
|
...i,
|
|
@@ -546,7 +557,7 @@ const VA = E(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
|
546
557
|
"cursor-pointer select-none text-dark-900",
|
|
547
558
|
c && "cursor-default text-gray-300"
|
|
548
559
|
),
|
|
549
|
-
htmlFor:
|
|
560
|
+
htmlFor: w,
|
|
550
561
|
children: M
|
|
551
562
|
}
|
|
552
563
|
) })
|
|
@@ -555,8 +566,8 @@ const VA = E(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
|
555
566
|
);
|
|
556
567
|
$A.displayName = "Checkbox";
|
|
557
568
|
const W = E(
|
|
558
|
-
({ asChild:
|
|
559
|
-
const
|
|
569
|
+
({ asChild: e, onClick: g, variant: c = "primary", fullWidth: Y, className: M, disabled: I, ...i }, n) => {
|
|
570
|
+
const w = e ? o : "button", m = (G) => {
|
|
560
571
|
I && G.preventDefault();
|
|
561
572
|
}, h = x(
|
|
562
573
|
"border border-success-700 font-medium hover:border-success-600 active:border-success-800 focus:ring-2 focus:ring-success-800 disabled:border-success-300 disabled:cursor-not-allowed disabled:pointer-events-none",
|
|
@@ -566,25 +577,25 @@ const W = E(
|
|
|
566
577
|
}
|
|
567
578
|
);
|
|
568
579
|
return /* @__PURE__ */ A(
|
|
569
|
-
|
|
580
|
+
w,
|
|
570
581
|
{
|
|
571
582
|
disabled: I,
|
|
572
|
-
onClick:
|
|
583
|
+
onClick: e && I ? m : g,
|
|
573
584
|
ref: n,
|
|
574
585
|
...i,
|
|
575
586
|
className: x(
|
|
576
587
|
// Base style
|
|
577
|
-
"
|
|
588
|
+
"box-border inline-flex items-center justify-center gap-2.5 text-center text-xs leading-6 font-semibold whitespace-nowrap",
|
|
578
589
|
"cursor-pointer px-4 py-3 outline-none",
|
|
579
590
|
{
|
|
580
591
|
// Primary
|
|
581
|
-
"hover:bg-success-600 active:bg-success-800 focus:ring-success-800 bg-success-700
|
|
592
|
+
"hover:bg-success-600 active:bg-success-800 focus:ring-success-800 bg-success-700 text-light-100 focus:bg-success-700 disabled:bg-success-300 font-semibold focus:ring-2 disabled:text-gray-300": c === "primary",
|
|
582
593
|
//Outline or outlineBlackText
|
|
583
594
|
[h]: c === "outline" || c === "outlineBlackText"
|
|
584
595
|
},
|
|
585
596
|
Y && "w-full text-center",
|
|
586
597
|
M,
|
|
587
|
-
|
|
598
|
+
e && I && "pointer-events-none cursor-not-allowed"
|
|
588
599
|
)
|
|
589
600
|
}
|
|
590
601
|
);
|
|
@@ -593,20 +604,20 @@ const W = E(
|
|
|
593
604
|
W.displayName = "Button";
|
|
594
605
|
const Ag = E(
|
|
595
606
|
({
|
|
596
|
-
asChild:
|
|
607
|
+
asChild: e,
|
|
597
608
|
className: g,
|
|
598
609
|
children: c,
|
|
599
610
|
color: Y = "success",
|
|
600
611
|
typographyVariant: M = "text_14_semibold",
|
|
601
612
|
iconId: I,
|
|
602
613
|
...i
|
|
603
|
-
}, n) => /* @__PURE__ */ A(
|
|
614
|
+
}, n) => /* @__PURE__ */ A(e ? o : "span", { ref: n, className: x("flex items-center gap-2", g), ...i, children: /* @__PURE__ */ B(k, { children: [
|
|
604
615
|
I && /* @__PURE__ */ A(z, { iconId: I, width: 24, height: 24 }),
|
|
605
616
|
/* @__PURE__ */ A(
|
|
606
617
|
C,
|
|
607
618
|
{
|
|
608
619
|
variant: M,
|
|
609
|
-
asChild:
|
|
620
|
+
asChild: e,
|
|
610
621
|
className: x({
|
|
611
622
|
"text-dark-900": Y === "dark",
|
|
612
623
|
"text-success-700": Y === "success",
|
|
@@ -618,8 +629,8 @@ const Ag = E(
|
|
|
618
629
|
] }) })
|
|
619
630
|
);
|
|
620
631
|
Ag.displayName = "Tag";
|
|
621
|
-
function gg(
|
|
622
|
-
const c = typeof
|
|
632
|
+
function gg(e, g = "short") {
|
|
633
|
+
const c = typeof e == "string" ? new Date(e) : e;
|
|
623
634
|
if (isNaN(c.getTime()))
|
|
624
635
|
return "Неверная дата";
|
|
625
636
|
const Y = /* @__PURE__ */ new Date("2025-08-05T15:18:00+02:00"), M = /* @__PURE__ */ new Date("2025-08-12T23:59:59+02:00");
|
|
@@ -649,18 +660,18 @@ function gg(B, g = "short") {
|
|
|
649
660
|
}
|
|
650
661
|
}).formatToParts(c);
|
|
651
662
|
if (g === "short")
|
|
652
|
-
return i.filter((
|
|
653
|
-
const n = i.filter((
|
|
654
|
-
return `${n} в ${
|
|
663
|
+
return i.filter((m) => ["weekday", "day", "month", "year"].includes(m.type)).map((m) => m.type === "weekday" ? m.value.charAt(0).toUpperCase() + m.value.slice(1) : m.value).join(" ").replace(/\./g, "");
|
|
664
|
+
const n = i.filter((m) => ["weekday", "day", "month", "year"].includes(m.type)).map((m) => m.type === "weekday" ? m.value.charAt(0).toUpperCase() + m.value.slice(1) : m.value).join(" ").replace(/\./g, ""), w = i.filter((m) => ["hour", "minute"].includes(m.type)).map((m) => m.value).join(":");
|
|
665
|
+
return `${n} в ${w}`;
|
|
655
666
|
}
|
|
656
|
-
const
|
|
657
|
-
({ className:
|
|
667
|
+
const eg = E(
|
|
668
|
+
({ className: e, date: g, variant: c = "short", ...Y }) => {
|
|
658
669
|
const M = gg(g, c);
|
|
659
670
|
return /* @__PURE__ */ A(
|
|
660
671
|
C,
|
|
661
672
|
{
|
|
662
673
|
variant: "text_14_medium",
|
|
663
|
-
className: x("text-light-900",
|
|
674
|
+
className: x("text-light-900", e, {
|
|
664
675
|
"text-red-600": M === "Неверная дата" || M === "Дата вне диапазона"
|
|
665
676
|
}),
|
|
666
677
|
...Y,
|
|
@@ -669,36 +680,36 @@ const Bg = E(
|
|
|
669
680
|
);
|
|
670
681
|
}
|
|
671
682
|
);
|
|
672
|
-
|
|
673
|
-
const
|
|
683
|
+
eg.displayName = "FormattedDate";
|
|
684
|
+
const Bg = E(
|
|
674
685
|
({
|
|
675
|
-
asChild:
|
|
686
|
+
asChild: e,
|
|
676
687
|
className: g,
|
|
677
688
|
iconId: c = "Arrow",
|
|
678
689
|
typographyVariant: Y = "heading_3_bold",
|
|
679
690
|
children: M,
|
|
680
691
|
...I
|
|
681
692
|
}, i) => /* @__PURE__ */ A(
|
|
682
|
-
|
|
693
|
+
e ? o : "div",
|
|
683
694
|
{
|
|
684
695
|
ref: i,
|
|
685
696
|
className: x(
|
|
686
697
|
"relative flex w-full max-w-[500px] items-center justify-between",
|
|
687
|
-
"pl-6 before:absolute before:
|
|
698
|
+
"before:bg-success-700 pl-6 before:absolute before:top-1/2 before:left-0 before:h-6 before:w-3 before:-translate-y-1/2 before:content-['']",
|
|
688
699
|
g
|
|
689
700
|
),
|
|
690
701
|
...I,
|
|
691
|
-
children: /* @__PURE__ */
|
|
702
|
+
children: /* @__PURE__ */ B("div", { className: "flex w-full items-center justify-between", children: [
|
|
692
703
|
M && /* @__PURE__ */ A(C, { variant: Y, children: M }),
|
|
693
|
-
/* @__PURE__ */ A(z, { iconId: c, width: 24, height: 24 })
|
|
704
|
+
/* @__PURE__ */ A(z, { iconId: c, width: 24, height: 24, className: "text-light-700" })
|
|
694
705
|
] })
|
|
695
706
|
}
|
|
696
707
|
)
|
|
697
708
|
);
|
|
698
|
-
|
|
709
|
+
Bg.displayName = "PreviewTitle";
|
|
699
710
|
const H = E(
|
|
700
711
|
({
|
|
701
|
-
asChild:
|
|
712
|
+
asChild: e,
|
|
702
713
|
className: g,
|
|
703
714
|
sectionName: c = "",
|
|
704
715
|
iconId: Y = "Yak",
|
|
@@ -706,8 +717,8 @@ const H = E(
|
|
|
706
717
|
withTM: I = !1,
|
|
707
718
|
iconColor: i = "text-success-700",
|
|
708
719
|
...n
|
|
709
|
-
},
|
|
710
|
-
const
|
|
720
|
+
}, w) => {
|
|
721
|
+
const m = e ? o : "div", h = () => {
|
|
711
722
|
switch (M) {
|
|
712
723
|
case "large":
|
|
713
724
|
return { width: 61, height: 44 };
|
|
@@ -728,7 +739,7 @@ const H = E(
|
|
|
728
739
|
return "heading_2_semibold";
|
|
729
740
|
}
|
|
730
741
|
};
|
|
731
|
-
return /* @__PURE__ */ A(
|
|
742
|
+
return /* @__PURE__ */ A(m, { ref: w, className: x("inline-flex items-center gap-1", g), ...n, children: /* @__PURE__ */ B("div", { className: "flex items-center gap-1", children: [
|
|
732
743
|
/* @__PURE__ */ A(
|
|
733
744
|
z,
|
|
734
745
|
{
|
|
@@ -741,7 +752,7 @@ const H = E(
|
|
|
741
752
|
}
|
|
742
753
|
}
|
|
743
754
|
),
|
|
744
|
-
/* @__PURE__ */
|
|
755
|
+
/* @__PURE__ */ B(C, { variant: G(), children: [
|
|
745
756
|
"Якавказ",
|
|
746
757
|
I && /* @__PURE__ */ A("sup", { className: "align-super text-[9px] tracking-tight", children: "™" })
|
|
747
758
|
] }),
|
|
@@ -750,7 +761,7 @@ const H = E(
|
|
|
750
761
|
}
|
|
751
762
|
);
|
|
752
763
|
H.displayName = "Logo";
|
|
753
|
-
const cg = ({ children:
|
|
764
|
+
const cg = ({ children: e, className: g, label: c, required: Y, labelColor: M = "primary", ...I }) => {
|
|
754
765
|
const i = q(
|
|
755
766
|
() => ({
|
|
756
767
|
label: _(
|
|
@@ -763,12 +774,12 @@ const cg = ({ children: B, className: g, label: c, required: Y, labelColor: M =
|
|
|
763
774
|
}),
|
|
764
775
|
[g, M]
|
|
765
776
|
);
|
|
766
|
-
return /* @__PURE__ */
|
|
767
|
-
c && /* @__PURE__ */
|
|
777
|
+
return /* @__PURE__ */ B($.Root, { ...I, children: [
|
|
778
|
+
c && /* @__PURE__ */ B("div", { className: i.label, children: [
|
|
768
779
|
c,
|
|
769
780
|
Y && /* @__PURE__ */ A("span", { className: i.required, children: "*" })
|
|
770
781
|
] }),
|
|
771
|
-
|
|
782
|
+
e
|
|
772
783
|
] });
|
|
773
784
|
}, Mg = E(function({
|
|
774
785
|
className: g,
|
|
@@ -778,8 +789,8 @@ const cg = ({ children: B, className: g, label: c, required: Y, labelColor: M =
|
|
|
778
789
|
iconStart: I,
|
|
779
790
|
label: i,
|
|
780
791
|
onEnter: n,
|
|
781
|
-
onKeyDown:
|
|
782
|
-
required:
|
|
792
|
+
onKeyDown: w,
|
|
793
|
+
required: m,
|
|
783
794
|
search: h,
|
|
784
795
|
type: G,
|
|
785
796
|
labelColor: F,
|
|
@@ -804,11 +815,11 @@ const cg = ({ children: B, className: g, label: c, required: Y, labelColor: M =
|
|
|
804
815
|
height: 24
|
|
805
816
|
}
|
|
806
817
|
) : M, N = G === "password" ? R ? "text" : "password" : h ? "search" : G, P = (d) => {
|
|
807
|
-
n && d.key === "Enter" && n(d),
|
|
818
|
+
n && d.key === "Enter" && n(d), w?.(d);
|
|
808
819
|
}, L = !!c && !!Q.value && String(Q.value).length > 0, p = (f ? "start" : "") + (a ? "end" : "");
|
|
809
|
-
return /* @__PURE__ */
|
|
810
|
-
i && /* @__PURE__ */ A(cg, { htmlFor: t, label: i, required:
|
|
811
|
-
/* @__PURE__ */
|
|
820
|
+
return /* @__PURE__ */ B("div", { className: x("flex w-full flex-col", g), children: [
|
|
821
|
+
i && /* @__PURE__ */ A(cg, { htmlFor: t, label: i, required: m, labelColor: F }),
|
|
822
|
+
/* @__PURE__ */ B("div", { className: "relative flex items-center", children: [
|
|
812
823
|
!!f && /* @__PURE__ */ A("span", { className: "absolute left-5 top-1/2 grid h-6 w-6 -translate-y-1/2 place-items-center", children: f }),
|
|
813
824
|
/* @__PURE__ */ A(
|
|
814
825
|
"input",
|
|
@@ -833,7 +844,7 @@ const cg = ({ children: B, className: g, label: c, required: Y, labelColor: M =
|
|
|
833
844
|
name: "text",
|
|
834
845
|
onKeyDown: P,
|
|
835
846
|
ref: v,
|
|
836
|
-
required:
|
|
847
|
+
required: m,
|
|
837
848
|
type: N,
|
|
838
849
|
...Q
|
|
839
850
|
}
|
|
@@ -858,16 +869,16 @@ const cg = ({ children: B, className: g, label: c, required: Y, labelColor: M =
|
|
|
858
869
|
Mg.displayName = "TextField";
|
|
859
870
|
const y = E(
|
|
860
871
|
({
|
|
861
|
-
items:
|
|
872
|
+
items: e,
|
|
862
873
|
triggerLabel: g = "Ещё",
|
|
863
874
|
triggerIcon: c = "KeyboardArrowDown",
|
|
864
875
|
labelTypography: Y = "text_16_semibold",
|
|
865
876
|
className: M,
|
|
866
877
|
style: I,
|
|
867
878
|
children: i
|
|
868
|
-
}, n) => /* @__PURE__ */
|
|
869
|
-
/* @__PURE__ */
|
|
870
|
-
/* @__PURE__ */ A(Z.Trigger, { asChild: !0, children: /* @__PURE__ */
|
|
879
|
+
}, n) => /* @__PURE__ */ B("div", { ref: n, className: x("inline-flex items-center", M), style: I, children: [
|
|
880
|
+
/* @__PURE__ */ B(Z.Root, { children: [
|
|
881
|
+
/* @__PURE__ */ A(Z.Trigger, { asChild: !0, children: /* @__PURE__ */ B(
|
|
871
882
|
"button",
|
|
872
883
|
{
|
|
873
884
|
className: x(
|
|
@@ -897,20 +908,20 @@ const y = E(
|
|
|
897
908
|
),
|
|
898
909
|
sideOffset: 4,
|
|
899
910
|
align: "end",
|
|
900
|
-
children:
|
|
911
|
+
children: e.map((w) => /* @__PURE__ */ A(
|
|
901
912
|
Z.Item,
|
|
902
913
|
{
|
|
903
914
|
asChild: !0,
|
|
904
|
-
disabled:
|
|
915
|
+
disabled: w.disabled,
|
|
905
916
|
className: x(
|
|
906
917
|
"flex cursor-pointer items-center px-3 py-1.5 text-sm",
|
|
907
918
|
"hover:bg-light-100 hover:text-success-300",
|
|
908
919
|
"data-[disabled]:pointer-events-none data-[disabled]:text-primary-900",
|
|
909
920
|
"outline-none"
|
|
910
921
|
),
|
|
911
|
-
children: /* @__PURE__ */ A("a", { href:
|
|
922
|
+
children: /* @__PURE__ */ A("a", { href: w.href, children: /* @__PURE__ */ A(C, { variant: Y, children: w.label }) })
|
|
912
923
|
},
|
|
913
|
-
|
|
924
|
+
w.label
|
|
914
925
|
))
|
|
915
926
|
}
|
|
916
927
|
) })
|
|
@@ -920,16 +931,16 @@ const y = E(
|
|
|
920
931
|
);
|
|
921
932
|
y.displayName = "DropdownMenu";
|
|
922
933
|
const X = E(
|
|
923
|
-
({ items:
|
|
924
|
-
const i =
|
|
925
|
-
return /* @__PURE__ */
|
|
934
|
+
({ items: e, className: g, style: c, children: Y, lengthItem: M = 5 }, I) => {
|
|
935
|
+
const i = e.slice(0, M), n = e.slice(M);
|
|
936
|
+
return /* @__PURE__ */ B(
|
|
926
937
|
"ul",
|
|
927
938
|
{
|
|
928
939
|
ref: I,
|
|
929
940
|
className: x("mx-auto flex max-w-[630px] items-center justify-center gap-6", g),
|
|
930
941
|
style: c,
|
|
931
942
|
children: [
|
|
932
|
-
i.map((
|
|
943
|
+
i.map((w) => /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A("a", { href: w.href, children: /* @__PURE__ */ A(C, { variant: "text_16_semibold", children: w.label }) }) }, w.label)),
|
|
933
944
|
n.length > 0 && /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A(y, { items: n }) }),
|
|
934
945
|
Y
|
|
935
946
|
]
|
|
@@ -952,8 +963,8 @@ const Yg = [
|
|
|
952
963
|
defaultLocation: I = M[0],
|
|
953
964
|
locationValue: i,
|
|
954
965
|
onLocationChange: n,
|
|
955
|
-
withSearchAndMenu:
|
|
956
|
-
onLoginClick:
|
|
966
|
+
withSearchAndMenu: w = !1,
|
|
967
|
+
onLoginClick: m,
|
|
957
968
|
onMenuClick: h,
|
|
958
969
|
onSearchClick: G,
|
|
959
970
|
className: F,
|
|
@@ -964,7 +975,7 @@ const Yg = [
|
|
|
964
975
|
// например, прокинуть из next: Link
|
|
965
976
|
}, O) {
|
|
966
977
|
const R = Array.isArray(M) && M.length > 0, D = v ?? "a";
|
|
967
|
-
return /* @__PURE__ */
|
|
978
|
+
return /* @__PURE__ */ B(
|
|
968
979
|
"header",
|
|
969
980
|
{
|
|
970
981
|
ref: O,
|
|
@@ -975,9 +986,9 @@ const Yg = [
|
|
|
975
986
|
),
|
|
976
987
|
style: Q,
|
|
977
988
|
children: [
|
|
978
|
-
/* @__PURE__ */
|
|
979
|
-
/* @__PURE__ */
|
|
980
|
-
|
|
989
|
+
/* @__PURE__ */ B("div", { className: "flex min-w-0 items-center", children: [
|
|
990
|
+
/* @__PURE__ */ B("div", { className: "flex items-center gap-3 sm:gap-4", children: [
|
|
991
|
+
w && /* @__PURE__ */ B(k, { children: [
|
|
981
992
|
/* @__PURE__ */ A(
|
|
982
993
|
"button",
|
|
983
994
|
{
|
|
@@ -995,13 +1006,13 @@ const Yg = [
|
|
|
995
1006
|
/* @__PURE__ */ A(
|
|
996
1007
|
"nav",
|
|
997
1008
|
{
|
|
998
|
-
className: x("ml-4 sm:ml-6",
|
|
1009
|
+
className: x("ml-4 sm:ml-6", w && "hidden md:block"),
|
|
999
1010
|
"aria-label": "Основная навигация",
|
|
1000
1011
|
children: g ?? /* @__PURE__ */ A(X, { items: c, lengthItem: Y })
|
|
1001
1012
|
}
|
|
1002
1013
|
)
|
|
1003
1014
|
] }),
|
|
1004
|
-
/* @__PURE__ */
|
|
1015
|
+
/* @__PURE__ */ B("div", { className: "flex items-center gap-3 sm:gap-6", children: [
|
|
1005
1016
|
R && /* @__PURE__ */ A(
|
|
1006
1017
|
T,
|
|
1007
1018
|
{
|
|
@@ -1015,12 +1026,12 @@ const Yg = [
|
|
|
1015
1026
|
children: M.map((s) => /* @__PURE__ */ A(K, { value: s, children: s }, s))
|
|
1016
1027
|
}
|
|
1017
1028
|
),
|
|
1018
|
-
/* @__PURE__ */ A(W, { type: "button", onClick:
|
|
1029
|
+
/* @__PURE__ */ A(W, { type: "button", onClick: m, variant: "outlineBlackText", children: "Войти" })
|
|
1019
1030
|
] })
|
|
1020
1031
|
]
|
|
1021
1032
|
}
|
|
1022
1033
|
);
|
|
1023
|
-
}), Eg = (
|
|
1034
|
+
}), Eg = (e, g) => /* @__PURE__ */ B(
|
|
1024
1035
|
"svg",
|
|
1025
1036
|
{
|
|
1026
1037
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1028,7 +1039,7 @@ const Yg = [
|
|
|
1028
1039
|
fill: "none",
|
|
1029
1040
|
viewBox: "0 0 274 395",
|
|
1030
1041
|
ref: g,
|
|
1031
|
-
...
|
|
1042
|
+
...e,
|
|
1032
1043
|
children: [
|
|
1033
1044
|
/* @__PURE__ */ A("path", { fill: "#00AA85", d: "M342.5 326.897V395h-137v-68.103z" }),
|
|
1034
1045
|
/* @__PURE__ */ A(
|
|
@@ -1122,7 +1133,7 @@ const Yg = [
|
|
|
1122
1133
|
d: "M342.5 0c75.663 0 137 60.982 137 136.207H411c0-37.613-30.668-68.104-68.5-68.104z"
|
|
1123
1134
|
}
|
|
1124
1135
|
),
|
|
1125
|
-
/* @__PURE__ */
|
|
1136
|
+
/* @__PURE__ */ B("defs", { children: [
|
|
1126
1137
|
/* @__PURE__ */ A(
|
|
1127
1138
|
"pattern",
|
|
1128
1139
|
{
|
|
@@ -1249,7 +1260,7 @@ const Yg = [
|
|
|
1249
1260
|
]
|
|
1250
1261
|
}
|
|
1251
1262
|
), Ig = E(Eg), Cg = ({
|
|
1252
|
-
children:
|
|
1263
|
+
children: e,
|
|
1253
1264
|
onClick: g,
|
|
1254
1265
|
variantColor: c = "success",
|
|
1255
1266
|
variantView: Y = "secondary",
|
|
@@ -1267,31 +1278,31 @@ const Yg = [
|
|
|
1267
1278
|
bgButton: "!bg-purple-800",
|
|
1268
1279
|
bgCard: "bg-purple-100"
|
|
1269
1280
|
}
|
|
1270
|
-
}, { text: n, bgButton:
|
|
1271
|
-
return /* @__PURE__ */
|
|
1281
|
+
}, { text: n, bgButton: w, bgCard: m } = i[c], h = Y === "primary";
|
|
1282
|
+
return /* @__PURE__ */ B(
|
|
1272
1283
|
VA,
|
|
1273
1284
|
{
|
|
1274
1285
|
className: x(
|
|
1275
1286
|
"flex w-full overflow-hidden",
|
|
1276
1287
|
h ? "max-h-[100px] items-center justify-between overflow-hidden px-7" : "relative min-h-[602px] max-w-[416px] flex-col justify-between p-7",
|
|
1277
|
-
|
|
1288
|
+
m,
|
|
1278
1289
|
I
|
|
1279
1290
|
),
|
|
1280
1291
|
children: [
|
|
1281
|
-
/* @__PURE__ */
|
|
1292
|
+
/* @__PURE__ */ B("div", { className: x(h ? "flex items-center" : "flex flex-col gap-10"), children: [
|
|
1282
1293
|
/* @__PURE__ */ A(H, { iconColor: n, variant: "medium", withTM: !0 }),
|
|
1283
|
-
/* @__PURE__ */ A("div", { className: x("ml-10
|
|
1294
|
+
/* @__PURE__ */ A("div", { className: x(h ? "ml-10 max-w-[340px] text-xs" : "max-w-[200px]"), children: e })
|
|
1284
1295
|
] }),
|
|
1285
|
-
h ? /* @__PURE__ */
|
|
1296
|
+
h ? /* @__PURE__ */ B(k, { children: [
|
|
1286
1297
|
/* @__PURE__ */ A(U, { className: x("fill-current", n), width: "380px" }),
|
|
1287
|
-
/* @__PURE__ */ A(W, { variant: "primary", className: x(
|
|
1288
|
-
] }) : /* @__PURE__ */
|
|
1298
|
+
/* @__PURE__ */ A(W, { variant: "primary", className: x(w), onClick: g, children: /* @__PURE__ */ A("a", { href: M, children: "Подробнее" }) })
|
|
1299
|
+
] }) : /* @__PURE__ */ B(k, { children: [
|
|
1289
1300
|
/* @__PURE__ */ A(
|
|
1290
1301
|
Ig,
|
|
1291
1302
|
{
|
|
1292
1303
|
width: 380,
|
|
1293
1304
|
height: 380,
|
|
1294
|
-
className: "absolute
|
|
1305
|
+
className: "absolute right-[-60px] bottom-0"
|
|
1295
1306
|
}
|
|
1296
1307
|
),
|
|
1297
1308
|
/* @__PURE__ */ A(C, { variant: "text_26_medium", className: x(n), onClick: g, children: /* @__PURE__ */ A("a", { href: M, children: "yakavkaz.ru" }) })
|
|
@@ -1313,11 +1324,11 @@ export {
|
|
|
1313
1324
|
y as DropdownMenu,
|
|
1314
1325
|
z as DynamicIcon,
|
|
1315
1326
|
zA as Eye,
|
|
1316
|
-
|
|
1327
|
+
wA as EyeOff,
|
|
1317
1328
|
xA as EyeOffOutline,
|
|
1318
1329
|
JA as EyeOutline,
|
|
1319
1330
|
GA as Filter,
|
|
1320
|
-
|
|
1331
|
+
eg as FormattedDate,
|
|
1321
1332
|
aA as Gos,
|
|
1322
1333
|
zg as Header,
|
|
1323
1334
|
QA as Journalist,
|
|
@@ -1328,7 +1339,7 @@ export {
|
|
|
1328
1339
|
kA as MailAuth,
|
|
1329
1340
|
uA as Menu,
|
|
1330
1341
|
X as Navigation,
|
|
1331
|
-
|
|
1342
|
+
Bg as PreviewTitle,
|
|
1332
1343
|
vA as Search,
|
|
1333
1344
|
K as SelectItem,
|
|
1334
1345
|
T as Selector,
|