@grapadigital/shared-app-modules 0.0.182 → 0.0.183

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.
@@ -1,2091 +0,0 @@
1
- import { jsx as a, jsxs as i } from "react/jsx-runtime";
2
- import { l as pA, c as S, L as gA, bg as wA, B as q, au as T, aw as F, ax as Q, ay as b, bh as U, az as G, aA as z, bi as Y, bj as bA, I as CA, q as yA, t as BA, s as PA, v as vA, x as SA, be as IA, T as EA, p as NA } from "./switch.BF6I8Lqo.js";
3
- import * as RA from "react";
4
- import { createContext as DA, Component as xA, createElement as rA, forwardRef as C, useState as B, useEffect as J } from "react";
5
- import { P as k, k as L, l as j, q as $, r as H, s as O, t as MA, F as N, C as qA, b as R, c as D, h as dA } from "./popover.4p4HlZwe.js";
6
- import { useQuery as W } from "@tanstack/react-query";
7
- import "date-fns";
8
- import { a as V, u as Z } from "./use-shared-app-modules.hook.jCQwZaT8.js";
9
- import "./shared-app-modules.provider.DRJ7n4Cj.js";
10
- import "react-hook-form";
11
- import kA from "axios";
12
- const LA = [
13
- ["path", { d: "m7 15 5 5 5-5", key: "1hf1tw" }],
14
- ["path", { d: "m7 9 5-5 5 5", key: "sgt6xg" }]
15
- ], X = pA("chevrons-up-down", LA), jA = DA(null), AA = {
16
- didCatch: !1,
17
- error: null
18
- };
19
- class Ba extends xA {
20
- constructor(e) {
21
- super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = AA;
22
- }
23
- static getDerivedStateFromError(e) {
24
- return { didCatch: !0, error: e };
25
- }
26
- resetErrorBoundary(...e) {
27
- const { error: t } = this.state;
28
- t !== null && (this.props.onReset?.({
29
- args: e,
30
- reason: "imperative-api"
31
- }), this.setState(AA));
32
- }
33
- componentDidCatch(e, t) {
34
- this.props.onError?.(e, t);
35
- }
36
- componentDidUpdate(e, t) {
37
- const { didCatch: n } = this.state, { resetKeys: o } = this.props;
38
- n && t.error !== null && HA(e.resetKeys, o) && (this.props.onReset?.({
39
- next: o,
40
- prev: e.resetKeys,
41
- reason: "keys"
42
- }), this.setState(AA));
43
- }
44
- render() {
45
- const { children: e, fallbackRender: t, FallbackComponent: n, fallback: o } = this.props, { didCatch: r, error: m } = this.state;
46
- let c = e;
47
- if (r) {
48
- const s = {
49
- error: m,
50
- resetErrorBoundary: this.resetErrorBoundary
51
- };
52
- if (typeof t == "function")
53
- c = t(s);
54
- else if (n)
55
- c = rA(n, s);
56
- else if (o !== void 0)
57
- c = o;
58
- else
59
- throw m;
60
- }
61
- return rA(
62
- jA.Provider,
63
- {
64
- value: {
65
- didCatch: r,
66
- error: m,
67
- resetErrorBoundary: this.resetErrorBoundary
68
- }
69
- },
70
- c
71
- );
72
- }
73
- }
74
- function HA(A = [], e = []) {
75
- return A.length !== e.length || A.some((t, n) => !Object.is(t, e[n]));
76
- }
77
- const OA = C(({ className: A, ...e }, t) => /* @__PURE__ */ a(
78
- "div",
79
- {
80
- ref: t,
81
- className: S(
82
- "flex gap-3 justify-between sm:items-center flex-col sm:flex-row",
83
- A
84
- ),
85
- ...e
86
- }
87
- ));
88
- OA.displayName = "PageHeader";
89
- const TA = C(({ className: A, ...e }, t) => /* @__PURE__ */ a(
90
- "div",
91
- {
92
- ref: t,
93
- className: S("flex gap-2 items-center", A),
94
- ...e
95
- }
96
- ));
97
- TA.displayName = "PageHeaderActions";
98
- const FA = C(({ className: A, ...e }, t) => /* @__PURE__ */ a("div", { ref: t, className: S("space-y-1", A), ...e }));
99
- FA.displayName = "PageHeaderContent";
100
- const QA = C(({ className: A, ...e }, t) => /* @__PURE__ */ a(
101
- "div",
102
- {
103
- ref: t,
104
- className: S("text-muted-foreground", A),
105
- ...e
106
- }
107
- ));
108
- QA.displayName = "PageHeaderDescription";
109
- const UA = C(({ className: A, ...e }, t) => /* @__PURE__ */ a(
110
- "div",
111
- {
112
- ref: t,
113
- className: S("text-xl md:text-2xl font-bold", A),
114
- ...e
115
- }
116
- ));
117
- UA.displayName = "PageHeaderTitle";
118
- const lA = RA.forwardRef(({ asterisk: A, children: e, ...t }, n) => /* @__PURE__ */ a(gA, { ref: n, ...t, children: /* @__PURE__ */ i("span", { className: "inline-flex gap-0.5", children: [
119
- e,
120
- " ",
121
- A && /* @__PURE__ */ a("span", { className: "text-red-500", children: "*" })
122
- ] }) }));
123
- lA.displayName = wA.displayName;
124
- function x({
125
- className: A,
126
- ...e
127
- }) {
128
- return /* @__PURE__ */ a(
129
- lA,
130
- {
131
- "data-slot": "field-label",
132
- className: S(
133
- "group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50",
134
- "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>[data-slot=field]]:p-4",
135
- "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10",
136
- A
137
- ),
138
- ...e
139
- }
140
- );
141
- }
142
- var eA = {}, aA = {}, _ = { exports: {} }, oA;
143
- function GA() {
144
- if (oA) return _.exports;
145
- oA = 1;
146
- var A = String, e = function() {
147
- return { isColorSupported: !1, reset: A, bold: A, dim: A, italic: A, underline: A, inverse: A, hidden: A, strikethrough: A, black: A, red: A, green: A, yellow: A, blue: A, magenta: A, cyan: A, white: A, gray: A, bgBlack: A, bgRed: A, bgGreen: A, bgYellow: A, bgBlue: A, bgMagenta: A, bgCyan: A, bgWhite: A, blackBright: A, redBright: A, greenBright: A, yellowBright: A, blueBright: A, magentaBright: A, cyanBright: A, whiteBright: A, bgBlackBright: A, bgRedBright: A, bgGreenBright: A, bgYellowBright: A, bgBlueBright: A, bgMagentaBright: A, bgCyanBright: A, bgWhiteBright: A };
148
- };
149
- return _.exports = e(), _.exports.createColors = e, _.exports;
150
- }
151
- var iA;
152
- function zA() {
153
- return iA || (iA = 1, (function(A) {
154
- Object.defineProperty(A, "__esModule", {
155
- value: !0
156
- });
157
- function e(s, d) {
158
- for (var f in d) Object.defineProperty(s, f, {
159
- enumerable: !0,
160
- get: d[f]
161
- });
162
- }
163
- e(A, {
164
- dim: function() {
165
- return m;
166
- },
167
- default: function() {
168
- return c;
169
- }
170
- });
171
- const t = /* @__PURE__ */ n(/* @__PURE__ */ GA());
172
- function n(s) {
173
- return s && s.__esModule ? s : {
174
- default: s
175
- };
176
- }
177
- let o = /* @__PURE__ */ new Set();
178
- function r(s, d, f) {
179
- typeof process < "u" && process.env.JEST_WORKER_ID || f && o.has(f) || (f && o.add(f), console.warn(""), d.forEach((l) => console.warn(s, "-", l)));
180
- }
181
- function m(s) {
182
- return t.default.dim(s);
183
- }
184
- const c = {
185
- info(s, d) {
186
- r(t.default.bold(t.default.cyan("info")), ...Array.isArray(s) ? [
187
- s
188
- ] : [
189
- d,
190
- s
191
- ]);
192
- },
193
- warn(s, d) {
194
- r(t.default.bold(t.default.yellow("warn")), ...Array.isArray(s) ? [
195
- s
196
- ] : [
197
- d,
198
- s
199
- ]);
200
- },
201
- risk(s, d) {
202
- r(t.default.bold(t.default.magenta("risk")), ...Array.isArray(s) ? [
203
- s
204
- ] : [
205
- d,
206
- s
207
- ]);
208
- }
209
- };
210
- })(aA)), aA;
211
- }
212
- var sA;
213
- function YA() {
214
- return sA || (sA = 1, (function(A) {
215
- Object.defineProperty(A, "__esModule", {
216
- value: !0
217
- }), Object.defineProperty(A, "default", {
218
- enumerable: !0,
219
- get: function() {
220
- return o;
221
- }
222
- });
223
- const e = /* @__PURE__ */ t(zA());
224
- function t(r) {
225
- return r && r.__esModule ? r : {
226
- default: r
227
- };
228
- }
229
- function n({ version: r, from: m, to: c }) {
230
- e.default.warn(`${m}-color-renamed`, [
231
- `As of Tailwind CSS ${r}, \`${m}\` has been renamed to \`${c}\`.`,
232
- "Update your configuration file to silence this warning."
233
- ]);
234
- }
235
- const o = {
236
- inherit: "inherit",
237
- current: "currentColor",
238
- transparent: "transparent",
239
- black: "#000",
240
- white: "#fff",
241
- slate: {
242
- 50: "#f8fafc",
243
- 100: "#f1f5f9",
244
- 200: "#e2e8f0",
245
- 300: "#cbd5e1",
246
- 400: "#94a3b8",
247
- 500: "#64748b",
248
- 600: "#475569",
249
- 700: "#334155",
250
- 800: "#1e293b",
251
- 900: "#0f172a",
252
- 950: "#020617"
253
- },
254
- gray: {
255
- 50: "#f9fafb",
256
- 100: "#f3f4f6",
257
- 200: "#e5e7eb",
258
- 300: "#d1d5db",
259
- 400: "#9ca3af",
260
- 500: "#6b7280",
261
- 600: "#4b5563",
262
- 700: "#374151",
263
- 800: "#1f2937",
264
- 900: "#111827",
265
- 950: "#030712"
266
- },
267
- zinc: {
268
- 50: "#fafafa",
269
- 100: "#f4f4f5",
270
- 200: "#e4e4e7",
271
- 300: "#d4d4d8",
272
- 400: "#a1a1aa",
273
- 500: "#71717a",
274
- 600: "#52525b",
275
- 700: "#3f3f46",
276
- 800: "#27272a",
277
- 900: "#18181b",
278
- 950: "#09090b"
279
- },
280
- neutral: {
281
- 50: "#fafafa",
282
- 100: "#f5f5f5",
283
- 200: "#e5e5e5",
284
- 300: "#d4d4d4",
285
- 400: "#a3a3a3",
286
- 500: "#737373",
287
- 600: "#525252",
288
- 700: "#404040",
289
- 800: "#262626",
290
- 900: "#171717",
291
- 950: "#0a0a0a"
292
- },
293
- stone: {
294
- 50: "#fafaf9",
295
- 100: "#f5f5f4",
296
- 200: "#e7e5e4",
297
- 300: "#d6d3d1",
298
- 400: "#a8a29e",
299
- 500: "#78716c",
300
- 600: "#57534e",
301
- 700: "#44403c",
302
- 800: "#292524",
303
- 900: "#1c1917",
304
- 950: "#0c0a09"
305
- },
306
- red: {
307
- 50: "#fef2f2",
308
- 100: "#fee2e2",
309
- 200: "#fecaca",
310
- 300: "#fca5a5",
311
- 400: "#f87171",
312
- 500: "#ef4444",
313
- 600: "#dc2626",
314
- 700: "#b91c1c",
315
- 800: "#991b1b",
316
- 900: "#7f1d1d",
317
- 950: "#450a0a"
318
- },
319
- orange: {
320
- 50: "#fff7ed",
321
- 100: "#ffedd5",
322
- 200: "#fed7aa",
323
- 300: "#fdba74",
324
- 400: "#fb923c",
325
- 500: "#f97316",
326
- 600: "#ea580c",
327
- 700: "#c2410c",
328
- 800: "#9a3412",
329
- 900: "#7c2d12",
330
- 950: "#431407"
331
- },
332
- amber: {
333
- 50: "#fffbeb",
334
- 100: "#fef3c7",
335
- 200: "#fde68a",
336
- 300: "#fcd34d",
337
- 400: "#fbbf24",
338
- 500: "#f59e0b",
339
- 600: "#d97706",
340
- 700: "#b45309",
341
- 800: "#92400e",
342
- 900: "#78350f",
343
- 950: "#451a03"
344
- },
345
- yellow: {
346
- 50: "#fefce8",
347
- 100: "#fef9c3",
348
- 200: "#fef08a",
349
- 300: "#fde047",
350
- 400: "#facc15",
351
- 500: "#eab308",
352
- 600: "#ca8a04",
353
- 700: "#a16207",
354
- 800: "#854d0e",
355
- 900: "#713f12",
356
- 950: "#422006"
357
- },
358
- lime: {
359
- 50: "#f7fee7",
360
- 100: "#ecfccb",
361
- 200: "#d9f99d",
362
- 300: "#bef264",
363
- 400: "#a3e635",
364
- 500: "#84cc16",
365
- 600: "#65a30d",
366
- 700: "#4d7c0f",
367
- 800: "#3f6212",
368
- 900: "#365314",
369
- 950: "#1a2e05"
370
- },
371
- green: {
372
- 50: "#f0fdf4",
373
- 100: "#dcfce7",
374
- 200: "#bbf7d0",
375
- 300: "#86efac",
376
- 400: "#4ade80",
377
- 500: "#22c55e",
378
- 600: "#16a34a",
379
- 700: "#15803d",
380
- 800: "#166534",
381
- 900: "#14532d",
382
- 950: "#052e16"
383
- },
384
- emerald: {
385
- 50: "#ecfdf5",
386
- 100: "#d1fae5",
387
- 200: "#a7f3d0",
388
- 300: "#6ee7b7",
389
- 400: "#34d399",
390
- 500: "#10b981",
391
- 600: "#059669",
392
- 700: "#047857",
393
- 800: "#065f46",
394
- 900: "#064e3b",
395
- 950: "#022c22"
396
- },
397
- teal: {
398
- 50: "#f0fdfa",
399
- 100: "#ccfbf1",
400
- 200: "#99f6e4",
401
- 300: "#5eead4",
402
- 400: "#2dd4bf",
403
- 500: "#14b8a6",
404
- 600: "#0d9488",
405
- 700: "#0f766e",
406
- 800: "#115e59",
407
- 900: "#134e4a",
408
- 950: "#042f2e"
409
- },
410
- cyan: {
411
- 50: "#ecfeff",
412
- 100: "#cffafe",
413
- 200: "#a5f3fc",
414
- 300: "#67e8f9",
415
- 400: "#22d3ee",
416
- 500: "#06b6d4",
417
- 600: "#0891b2",
418
- 700: "#0e7490",
419
- 800: "#155e75",
420
- 900: "#164e63",
421
- 950: "#083344"
422
- },
423
- sky: {
424
- 50: "#f0f9ff",
425
- 100: "#e0f2fe",
426
- 200: "#bae6fd",
427
- 300: "#7dd3fc",
428
- 400: "#38bdf8",
429
- 500: "#0ea5e9",
430
- 600: "#0284c7",
431
- 700: "#0369a1",
432
- 800: "#075985",
433
- 900: "#0c4a6e",
434
- 950: "#082f49"
435
- },
436
- blue: {
437
- 50: "#eff6ff",
438
- 100: "#dbeafe",
439
- 200: "#bfdbfe",
440
- 300: "#93c5fd",
441
- 400: "#60a5fa",
442
- 500: "#3b82f6",
443
- 600: "#2563eb",
444
- 700: "#1d4ed8",
445
- 800: "#1e40af",
446
- 900: "#1e3a8a",
447
- 950: "#172554"
448
- },
449
- indigo: {
450
- 50: "#eef2ff",
451
- 100: "#e0e7ff",
452
- 200: "#c7d2fe",
453
- 300: "#a5b4fc",
454
- 400: "#818cf8",
455
- 500: "#6366f1",
456
- 600: "#4f46e5",
457
- 700: "#4338ca",
458
- 800: "#3730a3",
459
- 900: "#312e81",
460
- 950: "#1e1b4b"
461
- },
462
- violet: {
463
- 50: "#f5f3ff",
464
- 100: "#ede9fe",
465
- 200: "#ddd6fe",
466
- 300: "#c4b5fd",
467
- 400: "#a78bfa",
468
- 500: "#8b5cf6",
469
- 600: "#7c3aed",
470
- 700: "#6d28d9",
471
- 800: "#5b21b6",
472
- 900: "#4c1d95",
473
- 950: "#2e1065"
474
- },
475
- purple: {
476
- 50: "#faf5ff",
477
- 100: "#f3e8ff",
478
- 200: "#e9d5ff",
479
- 300: "#d8b4fe",
480
- 400: "#c084fc",
481
- 500: "#a855f7",
482
- 600: "#9333ea",
483
- 700: "#7e22ce",
484
- 800: "#6b21a8",
485
- 900: "#581c87",
486
- 950: "#3b0764"
487
- },
488
- fuchsia: {
489
- 50: "#fdf4ff",
490
- 100: "#fae8ff",
491
- 200: "#f5d0fe",
492
- 300: "#f0abfc",
493
- 400: "#e879f9",
494
- 500: "#d946ef",
495
- 600: "#c026d3",
496
- 700: "#a21caf",
497
- 800: "#86198f",
498
- 900: "#701a75",
499
- 950: "#4a044e"
500
- },
501
- pink: {
502
- 50: "#fdf2f8",
503
- 100: "#fce7f3",
504
- 200: "#fbcfe8",
505
- 300: "#f9a8d4",
506
- 400: "#f472b6",
507
- 500: "#ec4899",
508
- 600: "#db2777",
509
- 700: "#be185d",
510
- 800: "#9d174d",
511
- 900: "#831843",
512
- 950: "#500724"
513
- },
514
- rose: {
515
- 50: "#fff1f2",
516
- 100: "#ffe4e6",
517
- 200: "#fecdd3",
518
- 300: "#fda4af",
519
- 400: "#fb7185",
520
- 500: "#f43f5e",
521
- 600: "#e11d48",
522
- 700: "#be123c",
523
- 800: "#9f1239",
524
- 900: "#881337",
525
- 950: "#4c0519"
526
- },
527
- get lightBlue() {
528
- return n({
529
- version: "v2.2",
530
- from: "lightBlue",
531
- to: "sky"
532
- }), this.sky;
533
- },
534
- get warmGray() {
535
- return n({
536
- version: "v3.0",
537
- from: "warmGray",
538
- to: "stone"
539
- }), this.stone;
540
- },
541
- get trueGray() {
542
- return n({
543
- version: "v3.0",
544
- from: "trueGray",
545
- to: "neutral"
546
- }), this.neutral;
547
- },
548
- get coolGray() {
549
- return n({
550
- version: "v3.0",
551
- from: "coolGray",
552
- to: "gray"
553
- }), this.gray;
554
- },
555
- get blueGray() {
556
- return n({
557
- version: "v3.0",
558
- from: "blueGray",
559
- to: "slate"
560
- }), this.slate;
561
- }
562
- };
563
- })(eA)), eA;
564
- }
565
- var tA, cA;
566
- function JA() {
567
- if (cA) return tA;
568
- cA = 1;
569
- let A = YA();
570
- return tA = (A.__esModule ? A : { default: A }).default, tA;
571
- }
572
- JA();
573
- const WA = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4QCNRXhpZgAASUkqAAgAAAADAA4BAgBDAAAAMgAAABoBBQABAAAAdQAAABsBBQABAAAAfQAAAAAAAABObyBQaWN0dXJlIEF2YWlsYWJsZSBQbGFjZWhvbGRlciBUaHVtYm5haWwgSWNvbiBJbGx1c3RyYXRpb24gRGVzaWduLAEAAAEAAAAsAQAAAQAAAP/hBb9odHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iPgoJPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KCQk8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG5zOklwdGM0eG1wQ29yZT0iaHR0cDovL2lwdGMub3JnL3N0ZC9JcHRjNHhtcENvcmUvMS4wL3htbG5zLyIgICB4bWxuczpHZXR0eUltYWdlc0dJRlQ9Imh0dHA6Ly94bXAuZ2V0dHlpbWFnZXMuY29tL2dpZnQvMS4wLyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpwbHVzPSJodHRwOi8vbnMudXNlcGx1cy5vcmcvbGRmL3htcC8xLjAvIiAgeG1sbnM6aXB0Y0V4dD0iaHR0cDovL2lwdGMub3JnL3N0ZC9JcHRjNHhtcEV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9n38/8AKp98Dk8MwilHVz9SQBJL9deNEQPaEHqWnX1t7s49v2ffiiJmQQ3IcXJ4EIJqyCAH5K3faIJJJjGePX9YRGSST1N7s49v2fgJss32f5xcngnQUy9fbkMjW16wyYHp73Zx7fs/AVTkZfeLk4grIqsHz6U+r3FXTR5kVtVyHpb3Zx7fs/AKLmhgCGSTMHJjnhWxzPvl7pEAjmMTgXm8x6O92ce37PwPZdsHJhzw/gt7yeyOYcoOXBmPHvdnHt+z8D2XbByYc8P4Le9kUyGQzIl1o5DJ4t7s49v2fgey7YOTDnh/Bb3ycicmJ1N73C3uzj2/Z+B7Ltg5MOeH8lvgCnAOblekIgImY473Zx7fs/A9l2wcmHPBnQsxInF/+UX/AOUX35RcflFz+UfxUf0X6j+i/Uf0X6iw/DFh+GLb8MW/4Y/meBuryceTjzeNGeGR45HjkeCR4JHikeMR4RHgEeLROUsyA7w4lMuYzHDe7OPb9n4Hsu2Dkw5/Db3Zx7fs/A9l2wcvh6qqqqqqqqqqqqqqqqqqqqqqqqrPfE5Nse37PwPZdvjO37PwPZdvjO37PwKCTIJwvYXsL2F7C9hewvYXsL2F7C9hewvYXsL2F7C9hewvYXsL2F7C9hewvYXsL2F7C9hewvYXsL2F7C9hewvYXsL2F7C9hewvYCYpJpzn/sl//9k=", VA = C(
574
- ({ alternativeSrc: A, src: e, className: t, ...n }, o) => {
575
- const [r, m] = B(!1), c = WA;
576
- return /* @__PURE__ */ a(
577
- "img",
578
- {
579
- ref: o,
580
- src: e ?? A ?? c,
581
- onError: (s) => {
582
- s.currentTarget.src = A ?? c;
583
- },
584
- onLoad: () => m(!0),
585
- className: S(
586
- "duration-500 ease-in-out",
587
- r ? "opacity-100" : "opacity-0",
588
- t
589
- ),
590
- ...n
591
- }
592
- );
593
- }
594
- );
595
- VA.displayName = "Image";
596
- const K = (A) => {
597
- const e = kA.create({
598
- baseURL: A,
599
- timeout: 5e3,
600
- headers: { "Content-Type": "application/json" }
601
- });
602
- return e.interceptors.request.use((t) => {
603
- const n = localStorage.getItem("token");
604
- return n && (t.headers.Authorization = `Bearer ${n}`), t;
605
- }), e;
606
- }, ZA = async ({
607
- filter: A,
608
- environment: e
609
- }) => (await K(e).get("/action", {
610
- params: A
611
- })).data;
612
- function XA({
613
- filter: A,
614
- queryKey: e,
615
- enabled: t = !0
616
- }) {
617
- const { environments: n } = V();
618
- return W({
619
- queryKey: ["campaigns", A, ...e || []],
620
- queryFn: () => ZA({
621
- filter: A,
622
- environment: n.VITE_BACKEND_API_CAMPAIGNS_URL ?? ""
623
- }),
624
- enabled: t && !!(A.title && A.title.length > 3)
625
- });
626
- }
627
- const KA = C(
628
- ({ queryKey: A, value: e, defaultValue: t, onValueChange: n, id: o, disabled: r, ...m }, c) => {
629
- const s = t ? { title: String(t) } : void 0, [d, f] = B(!1), [l, g] = B(s), [P, v] = B(""), E = Z(P, 200), p = XA({
630
- filter: {
631
- page: 1,
632
- limit: 5,
633
- title: E
634
- },
635
- queryKey: A,
636
- enabled: d
637
- }), w = p.data?.data;
638
- J(() => {
639
- !e && l && (g(void 0), v(""));
640
- }, [l, e]);
641
- const I = (h) => {
642
- const u = w?.find((y) => y._id === h);
643
- f(!1), u && (g(u), n(u));
644
- };
645
- return /* @__PURE__ */ i(k, { open: d, onOpenChange: f, children: [
646
- /* @__PURE__ */ a(L, { asChild: !0, children: /* @__PURE__ */ i(
647
- q,
648
- {
649
- id: o,
650
- variant: "outline",
651
- role: "combobox",
652
- "aria-expanded": d,
653
- className: "w-full justify-between",
654
- disabled: r,
655
- children: [
656
- l?.title ? l?.title : "Selecionar",
657
- /* @__PURE__ */ a(X, { className: "opacity-50" })
658
- ]
659
- }
660
- ) }),
661
- /* @__PURE__ */ a(j, { className: "w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ i(T, { shouldFilter: !1, children: [
662
- /* @__PURE__ */ a(
663
- F,
664
- {
665
- ...m,
666
- disabled: r,
667
- value: P,
668
- onValueChange: (h) => v(h),
669
- placeholder: "Busque uma Ação...",
670
- className: "h-9",
671
- ref: c
672
- }
673
- ),
674
- /* @__PURE__ */ i(Q, { children: [
675
- p.isSuccess && w?.length === 0 && /* @__PURE__ */ a(b, { children: "Nenhuma ação encontrada." }),
676
- p.isError && /* @__PURE__ */ a(b, { children: "Ocorreu um erro ao buscar as ações." }),
677
- !p.isEnabled && /* @__PURE__ */ a(b, { children: "Busque uma Ação..." }),
678
- p.fetchStatus !== "idle" && p.isPending && /* @__PURE__ */ i(b, { className: "flex items-center justify-center gap-2", children: [
679
- /* @__PURE__ */ a(U, { className: "size-4 animate-spin" }),
680
- "Buscando..."
681
- ] }),
682
- /* @__PURE__ */ a(G, { children: w?.map((h) => /* @__PURE__ */ i(
683
- z,
684
- {
685
- value: h._id,
686
- onSelect: (u) => {
687
- I(
688
- u === l?._id ? "" : u
689
- ), f(!1);
690
- },
691
- children: [
692
- h.title,
693
- /* @__PURE__ */ a(
694
- Y,
695
- {
696
- className: S(
697
- "ml-auto",
698
- l?._id === h._id ? "opacity-100" : "opacity-0"
699
- )
700
- }
701
- )
702
- ]
703
- },
704
- h._id
705
- )) })
706
- ] })
707
- ] }) })
708
- ] });
709
- }
710
- );
711
- KA.displayName = "CampaignsSelectInput";
712
- const _A = async ({
713
- filter: A,
714
- environment: e
715
- }) => (await K(e).get("/client", { params: A })).data;
716
- function $A({
717
- filter: A,
718
- queryKey: e,
719
- enabled: t = !0
720
- }) {
721
- const { environments: n } = V();
722
- return W({
723
- queryKey: ["clients", A, ...e || []],
724
- queryFn: () => _A({
725
- filter: A,
726
- environment: n.VITE_BACKEND_API_CLIENTS_URL ?? ""
727
- }),
728
- enabled: t && !!(A.name && A.name.length >= 2)
729
- });
730
- }
731
- const uA = C(
732
- ({
733
- queryKey: A,
734
- value: e,
735
- defaultValue: t,
736
- onValueChange: n,
737
- id: o,
738
- disabled: r,
739
- clientType: m,
740
- ...c
741
- }, s) => {
742
- const d = t ? { name: String(t) } : void 0, [f, l] = B(!1), [g, P] = B(d), [v, E] = B(""), p = Z(v, 200), w = $A({
743
- filter: {
744
- page: 1,
745
- limit: 5,
746
- name: p,
747
- clientType: m
748
- },
749
- queryKey: A,
750
- enabled: f
751
- }), I = w.data?.data;
752
- J(() => {
753
- !e && g && (P(void 0), E(""));
754
- }, [g, e]);
755
- const h = (u) => {
756
- const y = I?.find((M) => M._id === u);
757
- l(!1), y && (P(y), n(y));
758
- };
759
- return /* @__PURE__ */ i(k, { open: f, onOpenChange: l, children: [
760
- /* @__PURE__ */ a(L, { asChild: !0, children: /* @__PURE__ */ i(
761
- q,
762
- {
763
- id: o,
764
- variant: "outline",
765
- role: "combobox",
766
- "aria-expanded": f,
767
- className: "w-full justify-between",
768
- disabled: r,
769
- children: [
770
- g?.name ? g?.name : "Selecionar",
771
- /* @__PURE__ */ a(X, { className: "opacity-50" })
772
- ]
773
- }
774
- ) }),
775
- /* @__PURE__ */ a(j, { className: "w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ i(T, { shouldFilter: !1, children: [
776
- /* @__PURE__ */ a(
777
- F,
778
- {
779
- ...c,
780
- disabled: r,
781
- value: v,
782
- onValueChange: (u) => E(u),
783
- placeholder: "Busque um cliente...",
784
- className: "h-9",
785
- ref: s
786
- }
787
- ),
788
- /* @__PURE__ */ i(Q, { children: [
789
- w.isSuccess && I?.length === 0 && /* @__PURE__ */ a(b, { children: "Nenhuma cliente encontrado." }),
790
- w.isError && /* @__PURE__ */ a(b, { children: "Ocorreu um erro ao buscar os clientes." }),
791
- !w.isEnabled && /* @__PURE__ */ a(b, { children: "Busque um cliente..." }),
792
- w.fetchStatus !== "idle" && w.isPending && /* @__PURE__ */ i(b, { className: "flex items-center justify-center gap-2", children: [
793
- /* @__PURE__ */ a(U, { className: "size-4 animate-spin" }),
794
- "Buscando..."
795
- ] }),
796
- /* @__PURE__ */ a(G, { children: I?.map((u) => /* @__PURE__ */ i(
797
- z,
798
- {
799
- value: u._id,
800
- onSelect: (y) => {
801
- h(
802
- y === g?._id ? "" : y
803
- ), l(!1);
804
- },
805
- children: [
806
- u.name,
807
- /* @__PURE__ */ a(
808
- Y,
809
- {
810
- className: S(
811
- "ml-auto",
812
- g?._id === u._id ? "opacity-100" : "opacity-0"
813
- )
814
- }
815
- )
816
- ]
817
- },
818
- u._id
819
- )) })
820
- ] })
821
- ] }) })
822
- ] });
823
- }
824
- );
825
- uA.displayName = "ClientSelectInput";
826
- const Ae = async ({
827
- filter: A,
828
- environment: e
829
- }) => (await K(e).get("/influencers", {
830
- params: A
831
- })).data;
832
- function ee({
833
- filter: A,
834
- queryKey: e,
835
- enabled: t = !0
836
- }) {
837
- const { environments: n } = V();
838
- return W({
839
- queryKey: ["influencers", A, ...e || []],
840
- queryFn: () => Ae({
841
- filter: A,
842
- environment: n.VITE_BACKEND_API_INFLUENCERS_URL ?? ""
843
- }),
844
- enabled: t && !!(A.name && A.name.length > 3)
845
- });
846
- }
847
- const ae = C(
848
- ({ queryKey: A, value: e, defaultValue: t, onValueChange: n, id: o, disabled: r, ...m }, c) => {
849
- const s = t ? { name: String(t) } : void 0, [d, f] = B(!1), [l, g] = B(s), [P, v] = B(""), E = Z(P, 200), p = ee({
850
- filter: {
851
- page: 1,
852
- limit: 10,
853
- name: E
854
- },
855
- queryKey: A,
856
- enabled: d
857
- }), w = p.data?.data;
858
- J(() => {
859
- !e && l && (g(void 0), v(""));
860
- }, [l, e]);
861
- const I = (h) => {
862
- const u = w?.find((y) => y._id === h);
863
- f(!1), u && (g(u), n(u));
864
- };
865
- return /* @__PURE__ */ i(k, { open: d, onOpenChange: f, children: [
866
- /* @__PURE__ */ a(L, { asChild: !0, children: /* @__PURE__ */ i(
867
- q,
868
- {
869
- id: o,
870
- variant: "outline",
871
- role: "combobox",
872
- "aria-expanded": d,
873
- className: "w-full justify-between",
874
- disabled: r,
875
- children: [
876
- l?.name ? l?.name : "Selecionar",
877
- /* @__PURE__ */ a(X, { className: "opacity-50" })
878
- ]
879
- }
880
- ) }),
881
- /* @__PURE__ */ a(j, { className: "w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ i(T, { shouldFilter: !1, children: [
882
- /* @__PURE__ */ a(
883
- F,
884
- {
885
- ...m,
886
- disabled: r,
887
- value: P,
888
- onValueChange: (h) => v(h),
889
- placeholder: "Busque um influenciador...",
890
- className: "h-9",
891
- ref: c
892
- }
893
- ),
894
- /* @__PURE__ */ i(Q, { children: [
895
- p.isSuccess && w?.length === 0 && /* @__PURE__ */ a(b, { children: "Nenhuma influenciador encontrado." }),
896
- p.isError && /* @__PURE__ */ a(b, { children: "Ocorreu um erro ao buscar os influenciadores." }),
897
- !p.isEnabled && /* @__PURE__ */ a(b, { children: "Busque um influenciador..." }),
898
- p.fetchStatus !== "idle" && p.isPending && /* @__PURE__ */ i(b, { className: "flex items-center justify-center gap-2", children: [
899
- /* @__PURE__ */ a(U, { className: "size-4 animate-spin" }),
900
- "Buscando..."
901
- ] }),
902
- /* @__PURE__ */ a(G, { children: w?.map((h) => /* @__PURE__ */ i(
903
- z,
904
- {
905
- value: h._id,
906
- onSelect: (u) => {
907
- I(
908
- u === l?._id ? "" : u
909
- ), f(!1);
910
- },
911
- children: [
912
- h.name,
913
- /* @__PURE__ */ a(
914
- Y,
915
- {
916
- className: S(
917
- "ml-auto",
918
- l?._id === h._id ? "opacity-100" : "opacity-0"
919
- )
920
- }
921
- )
922
- ]
923
- },
924
- h._id
925
- )) })
926
- ] })
927
- ] }) })
928
- ] });
929
- }
930
- );
931
- ae.displayName = "InfluencerSelectInput";
932
- const mA = {
933
- instagram: "Instagram",
934
- tiktok: "TikTok",
935
- youtube: "YouTube",
936
- linkedin: "LinkedIn",
937
- pinterest: "Pinterest",
938
- twitter: "Twitter (X)"
939
- }, te = {
940
- agency: "Agência",
941
- brand: "Marca"
942
- }, Pa = {
943
- partner: "Parceiros",
944
- exclusive: "Exclusivos"
945
- }, ne = {
946
- config: "Configuração",
947
- script: "Roteiro",
948
- production: "Produção",
949
- posting: "Postagem",
950
- analytics: "Analytics",
951
- finished: "Concluído",
952
- onHold: "Aguardando",
953
- cancelled: "Cancelado",
954
- archived: "Arquivada"
955
- }, re = {
956
- service: "Atendimento",
957
- comercial: "Comercial",
958
- squad_a: "Squad A",
959
- squad_b: "Squad B"
960
- }, va = {
961
- instagram: "bg-gradient-to-br from-[#f09433] via-[#e6683c] via-[#dc2743] via-[#cc2366] to-[#bc1888]",
962
- tiktok: "bg-black",
963
- youtube: "bg-[#ff0033]",
964
- linkedin: "bg-[#0a66c2]",
965
- pinterest: "bg-[#e60023]",
966
- twitter: "bg-black"
967
- }, Sa = {
968
- new: "Aquisição",
969
- organic_expansion: "Expansão Orgânica de Base",
970
- strategic_expansion: "Expansão Estratégica de Base",
971
- renewal: "Renovação",
972
- comercial_winback: "Reativação Comercial",
973
- organic_winback: "Reativação Orgânica"
974
- }, oe = {
975
- influencer: "Veículação de Influenciador",
976
- advisor: "Pagamento de Assessor",
977
- supplier: "Pagamento de Fornecedor",
978
- employee_refund: "Reembolso de Colaborador",
979
- influencer_refund: "Reembolso de Influenciador",
980
- influencer_extra: "Extra de Influenciador",
981
- partlog: "Kit pela Partlog",
982
- airplane_ticket: "Passagem Aérea para Influenciador",
983
- hotel_ticket: "Hospedagem para Influenciador",
984
- rumo_certo: "Rumo Certo",
985
- correios: "Correios",
986
- conta_simples: "Conta Simples",
987
- motoboy_bruno: "Motoboy Bruno",
988
- motoboy_others: "Motoboy Outros"
989
- }, ie = {
990
- transfer: "Repasse",
991
- client: "Pagamento Direto pelo Cliente",
992
- direct: "Custo Direto",
993
- debit_note: "Nota de Débito",
994
- undefined: "Não definido"
995
- }, se = {
996
- pending: "Revisão Atendimento",
997
- review: "Revisão Financeiro",
998
- awaiting: "Aguardando",
999
- requested: "NF Solicitada",
1000
- received: "NF Recebida",
1001
- queued: "Na Fila para Pagamento",
1002
- paid: "Pago",
1003
- client: "Pagamento via Cliente",
1004
- canceled: "Cancelado"
1005
- }, ce = {
1006
- instagram: oa,
1007
- tiktok: ca,
1008
- youtube: la,
1009
- linkedin: ia,
1010
- pinterest: sa,
1011
- twitter: da
1012
- };
1013
- function de(A) {
1014
- return !isNaN(Number(A));
1015
- }
1016
- function nA(A) {
1017
- return typeof A != "string" || !A ? !1 : A in mA;
1018
- }
1019
- function le(A) {
1020
- return typeof A != "string" || !A ? !1 : A in te;
1021
- }
1022
- function ue(A) {
1023
- return typeof A != "string" || !A ? !1 : A in re;
1024
- }
1025
- function me(A) {
1026
- return typeof A != "string" || !A ? !1 : A in oe;
1027
- }
1028
- function fe(A) {
1029
- return typeof A != "string" || !A ? !1 : A in ie;
1030
- }
1031
- function he(A) {
1032
- return typeof A != "string" || !A ? !1 : A in se;
1033
- }
1034
- function pe(A) {
1035
- return typeof A != "string" || !A ? !1 : A in ne;
1036
- }
1037
- const Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1038
- __proto__: null,
1039
- isActionStatus: pe,
1040
- isBusinessUnit: ue,
1041
- isClientType: le,
1042
- isInfluencerBroadcastMethod: fe,
1043
- isNumber: de,
1044
- isPaymentPhase: he,
1045
- isPaymentType: me,
1046
- isSocialNetwork: nA
1047
- }, Symbol.toStringTag, { value: "Module" })), ge = async ({
1048
- filter: A,
1049
- environment: e
1050
- }) => (await K(e).get("/profiles", {
1051
- params: A
1052
- })).data;
1053
- function we({
1054
- filter: A,
1055
- queryKey: e,
1056
- enabled: t = !0
1057
- }) {
1058
- const { environments: n } = V();
1059
- return W({
1060
- queryKey: ["profile", A, ...e || []],
1061
- queryFn: () => ge({
1062
- filter: A,
1063
- environment: n.VITE_BACKEND_API_PROFILES_URL ?? ""
1064
- }),
1065
- enabled: t && A.searchTerm.length > 3
1066
- });
1067
- }
1068
- const fA = C(
1069
- ({ queryKey: A, value: e, defaultValue: t, onValueChange: n, id: o, disabled: r, ...m }, c) => {
1070
- const s = t ? { username: String(t) } : void 0, [d, f] = B(!1), [l, g] = B(s), [P, v] = B(""), E = Z(P, 200), p = we({
1071
- filter: {
1072
- searchTerm: E,
1073
- fromRecruitment: !1
1074
- },
1075
- queryKey: A,
1076
- enabled: d
1077
- }), w = p.data?.data;
1078
- J(() => {
1079
- !e && l && (g(void 0), v(""));
1080
- }, [l, e]);
1081
- const I = (u) => {
1082
- const y = w?.find((M) => M._id === u);
1083
- f(!1), y && (g(y), n(y));
1084
- }, h = nA(
1085
- l?.socialnetwork
1086
- ) ? mA[l.socialnetwork] : "";
1087
- return /* @__PURE__ */ i(k, { open: d, onOpenChange: f, children: [
1088
- /* @__PURE__ */ a(L, { asChild: !0, children: /* @__PURE__ */ i(
1089
- q,
1090
- {
1091
- id: o,
1092
- variant: "outline",
1093
- role: "combobox",
1094
- "aria-expanded": d,
1095
- className: S(
1096
- "w-full justify-between",
1097
- r && "!pointer-events-auto !cursor-not-allowed hover:bg-transparent"
1098
- ),
1099
- disabled: r,
1100
- children: [
1101
- l?.username ? `${h && `[${h}]`} ${l.username}` : "Selecionar",
1102
- /* @__PURE__ */ a(X, { className: "opacity-50" })
1103
- ]
1104
- }
1105
- ) }),
1106
- /* @__PURE__ */ a(j, { className: "w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ i(T, { shouldFilter: !1, children: [
1107
- /* @__PURE__ */ a(
1108
- F,
1109
- {
1110
- ...m,
1111
- disabled: r,
1112
- value: P,
1113
- onValueChange: (u) => v(u),
1114
- placeholder: "Busque um cliente...",
1115
- className: "h-9",
1116
- ref: c
1117
- }
1118
- ),
1119
- /* @__PURE__ */ i(Q, { children: [
1120
- p.isSuccess && w?.length === 0 && /* @__PURE__ */ a(b, { children: "Nenhuma perfil encontrado." }),
1121
- p.isError && /* @__PURE__ */ a(b, { children: "Ocorreu um erro ao buscar os perfis." }),
1122
- !p.isEnabled && /* @__PURE__ */ a(b, { children: "Busque um perfil..." }),
1123
- p.fetchStatus !== "idle" && p.isPending && /* @__PURE__ */ i(b, { className: "flex items-center justify-center gap-2", children: [
1124
- /* @__PURE__ */ a(U, { className: "size-4 animate-spin" }),
1125
- "Buscando..."
1126
- ] }),
1127
- /* @__PURE__ */ a(G, { children: w?.map((u) => {
1128
- if (!nA(u?.socialnetwork)) return;
1129
- const y = ce[u?.socialnetwork];
1130
- return /* @__PURE__ */ i(
1131
- z,
1132
- {
1133
- value: u._id,
1134
- onSelect: (M) => {
1135
- I(
1136
- M === l?._id ? "" : M
1137
- ), f(!1);
1138
- },
1139
- children: [
1140
- /* @__PURE__ */ a(y, { className: "size-4" }),
1141
- " ",
1142
- u.username,
1143
- /* @__PURE__ */ a(
1144
- Y,
1145
- {
1146
- className: S(
1147
- "ml-auto",
1148
- l?._id === u._id ? "opacity-100" : "opacity-0"
1149
- )
1150
- }
1151
- )
1152
- ]
1153
- },
1154
- u._id
1155
- );
1156
- }) })
1157
- ] })
1158
- ] }) })
1159
- ] });
1160
- }
1161
- );
1162
- fA.displayName = "ProfileSelectInput";
1163
- const be = async ({
1164
- filter: A,
1165
- environment: e
1166
- }) => (await K(e).get("/sales", { params: A })).data;
1167
- function Ce({
1168
- filter: A,
1169
- queryKey: e,
1170
- enabled: t = !0
1171
- }) {
1172
- const { environments: n } = V();
1173
- return W({
1174
- queryKey: ["sales", A, ...e || []],
1175
- queryFn: () => be({
1176
- filter: A,
1177
- environment: n.VITE_BACKEND_API_SALES_URL ?? ""
1178
- }),
1179
- enabled: t && !!(A.title && A.title.length > 3)
1180
- });
1181
- }
1182
- const hA = C(
1183
- ({ queryKey: A, value: e, defaultValue: t, onValueChange: n, id: o, disabled: r, ...m }, c) => {
1184
- const s = t ? { title: String(t) } : void 0, [d, f] = B(!1), [l, g] = B(s), [P, v] = B(""), E = Z(P, 200), p = Ce({
1185
- filter: {
1186
- page: 1,
1187
- limit: 5,
1188
- title: E
1189
- },
1190
- queryKey: A,
1191
- enabled: d
1192
- }), w = p.data?.data;
1193
- J(() => {
1194
- !e && l && (g(void 0), v(""));
1195
- }, [l, e]);
1196
- const I = (h) => {
1197
- const u = w?.find((y) => y._id === h);
1198
- f(!1), u && (g(u), n(u));
1199
- };
1200
- return /* @__PURE__ */ i(k, { open: d, onOpenChange: f, children: [
1201
- /* @__PURE__ */ a(L, { asChild: !0, children: /* @__PURE__ */ i(
1202
- q,
1203
- {
1204
- id: o,
1205
- variant: "outline",
1206
- role: "combobox",
1207
- "aria-expanded": d,
1208
- className: "w-full justify-between",
1209
- disabled: r,
1210
- children: [
1211
- l?.title ? l?.title : "Selecionar",
1212
- /* @__PURE__ */ a(X, { className: "opacity-50" })
1213
- ]
1214
- }
1215
- ) }),
1216
- /* @__PURE__ */ a(j, { className: "w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ i(T, { shouldFilter: !1, children: [
1217
- /* @__PURE__ */ a(
1218
- F,
1219
- {
1220
- ...m,
1221
- disabled: r,
1222
- value: P,
1223
- onValueChange: (h) => v(h),
1224
- placeholder: "Busque uma venda...",
1225
- className: "h-9",
1226
- ref: c
1227
- }
1228
- ),
1229
- /* @__PURE__ */ i(Q, { children: [
1230
- p.isSuccess && w?.length === 0 && /* @__PURE__ */ a(b, { children: "Nenhuma venda encontrado." }),
1231
- p.isError && /* @__PURE__ */ a(b, { children: "Ocorreu um erro ao buscar as vendas." }),
1232
- !p.isEnabled && /* @__PURE__ */ a(b, { children: "Busque uma venda..." }),
1233
- p.fetchStatus !== "idle" && p.isPending && /* @__PURE__ */ i(b, { className: "flex items-center justify-center gap-2", children: [
1234
- /* @__PURE__ */ a(U, { className: "size-4 animate-spin" }),
1235
- "Buscando..."
1236
- ] }),
1237
- /* @__PURE__ */ a(G, { children: w?.map((h) => /* @__PURE__ */ i(
1238
- z,
1239
- {
1240
- value: h._id,
1241
- onSelect: (u) => {
1242
- I(
1243
- u === l?._id ? "" : u
1244
- ), f(!1);
1245
- },
1246
- children: [
1247
- h.title,
1248
- /* @__PURE__ */ a(
1249
- Y,
1250
- {
1251
- className: S(
1252
- "ml-auto",
1253
- l?._id === h._id ? "opacity-100" : "opacity-0"
1254
- )
1255
- }
1256
- )
1257
- ]
1258
- },
1259
- h._id
1260
- )) })
1261
- ] })
1262
- ] }) })
1263
- ] });
1264
- }
1265
- );
1266
- hA.displayName = "SaleSelectInput";
1267
- const ye = {
1268
- lessThanXSeconds: {
1269
- one: "menos de um segundo",
1270
- other: "menos de {{count}} segundos"
1271
- },
1272
- xSeconds: {
1273
- one: "1 segundo",
1274
- other: "{{count}} segundos"
1275
- },
1276
- halfAMinute: "meio minuto",
1277
- lessThanXMinutes: {
1278
- one: "menos de um minuto",
1279
- other: "menos de {{count}} minutos"
1280
- },
1281
- xMinutes: {
1282
- one: "1 minuto",
1283
- other: "{{count}} minutos"
1284
- },
1285
- aboutXHours: {
1286
- one: "cerca de 1 hora",
1287
- other: "cerca de {{count}} horas"
1288
- },
1289
- xHours: {
1290
- one: "1 hora",
1291
- other: "{{count}} horas"
1292
- },
1293
- xDays: {
1294
- one: "1 dia",
1295
- other: "{{count}} dias"
1296
- },
1297
- aboutXWeeks: {
1298
- one: "cerca de 1 semana",
1299
- other: "cerca de {{count}} semanas"
1300
- },
1301
- xWeeks: {
1302
- one: "1 semana",
1303
- other: "{{count}} semanas"
1304
- },
1305
- aboutXMonths: {
1306
- one: "cerca de 1 mês",
1307
- other: "cerca de {{count}} meses"
1308
- },
1309
- xMonths: {
1310
- one: "1 mês",
1311
- other: "{{count}} meses"
1312
- },
1313
- aboutXYears: {
1314
- one: "cerca de 1 ano",
1315
- other: "cerca de {{count}} anos"
1316
- },
1317
- xYears: {
1318
- one: "1 ano",
1319
- other: "{{count}} anos"
1320
- },
1321
- overXYears: {
1322
- one: "mais de 1 ano",
1323
- other: "mais de {{count}} anos"
1324
- },
1325
- almostXYears: {
1326
- one: "quase 1 ano",
1327
- other: "quase {{count}} anos"
1328
- }
1329
- }, Be = (A, e, t) => {
1330
- let n;
1331
- const o = ye[A];
1332
- return typeof o == "string" ? n = o : e === 1 ? n = o.one : n = o.other.replace("{{count}}", String(e)), t?.addSuffix ? t.comparison && t.comparison > 0 ? "em " + n : "há " + n : n;
1333
- }, Pe = {
1334
- full: "EEEE, d 'de' MMMM 'de' y",
1335
- long: "d 'de' MMMM 'de' y",
1336
- medium: "d MMM y",
1337
- short: "dd/MM/yyyy"
1338
- }, ve = {
1339
- full: "HH:mm:ss zzzz",
1340
- long: "HH:mm:ss z",
1341
- medium: "HH:mm:ss",
1342
- short: "HH:mm"
1343
- }, Se = {
1344
- full: "{{date}} 'às' {{time}}",
1345
- long: "{{date}} 'às' {{time}}",
1346
- medium: "{{date}}, {{time}}",
1347
- short: "{{date}}, {{time}}"
1348
- }, Ie = {
1349
- date: $({
1350
- formats: Pe,
1351
- defaultWidth: "full"
1352
- }),
1353
- time: $({
1354
- formats: ve,
1355
- defaultWidth: "full"
1356
- }),
1357
- dateTime: $({
1358
- formats: Se,
1359
- defaultWidth: "full"
1360
- })
1361
- }, Ee = {
1362
- lastWeek: (A) => {
1363
- const e = A.getDay();
1364
- return "'" + (e === 0 || e === 6 ? "último" : "última") + "' eeee 'às' p";
1365
- },
1366
- yesterday: "'ontem às' p",
1367
- today: "'hoje às' p",
1368
- tomorrow: "'amanhã às' p",
1369
- nextWeek: "eeee 'às' p",
1370
- other: "P"
1371
- }, Ne = (A, e, t, n) => {
1372
- const o = Ee[A];
1373
- return typeof o == "function" ? o(e) : o;
1374
- }, Re = {
1375
- narrow: ["AC", "DC"],
1376
- abbreviated: ["AC", "DC"],
1377
- wide: ["antes de cristo", "depois de cristo"]
1378
- }, De = {
1379
- narrow: ["1", "2", "3", "4"],
1380
- abbreviated: ["T1", "T2", "T3", "T4"],
1381
- wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
1382
- }, xe = {
1383
- narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
1384
- abbreviated: [
1385
- "jan",
1386
- "fev",
1387
- "mar",
1388
- "abr",
1389
- "mai",
1390
- "jun",
1391
- "jul",
1392
- "ago",
1393
- "set",
1394
- "out",
1395
- "nov",
1396
- "dez"
1397
- ],
1398
- wide: [
1399
- "janeiro",
1400
- "fevereiro",
1401
- "março",
1402
- "abril",
1403
- "maio",
1404
- "junho",
1405
- "julho",
1406
- "agosto",
1407
- "setembro",
1408
- "outubro",
1409
- "novembro",
1410
- "dezembro"
1411
- ]
1412
- }, Me = {
1413
- narrow: ["D", "S", "T", "Q", "Q", "S", "S"],
1414
- short: ["dom", "seg", "ter", "qua", "qui", "sex", "sab"],
1415
- abbreviated: [
1416
- "domingo",
1417
- "segunda",
1418
- "terça",
1419
- "quarta",
1420
- "quinta",
1421
- "sexta",
1422
- "sábado"
1423
- ],
1424
- wide: [
1425
- "domingo",
1426
- "segunda-feira",
1427
- "terça-feira",
1428
- "quarta-feira",
1429
- "quinta-feira",
1430
- "sexta-feira",
1431
- "sábado"
1432
- ]
1433
- }, qe = {
1434
- narrow: {
1435
- am: "a",
1436
- pm: "p",
1437
- midnight: "mn",
1438
- noon: "md",
1439
- morning: "manhã",
1440
- afternoon: "tarde",
1441
- evening: "tarde",
1442
- night: "noite"
1443
- },
1444
- abbreviated: {
1445
- am: "AM",
1446
- pm: "PM",
1447
- midnight: "meia-noite",
1448
- noon: "meio-dia",
1449
- morning: "manhã",
1450
- afternoon: "tarde",
1451
- evening: "tarde",
1452
- night: "noite"
1453
- },
1454
- wide: {
1455
- am: "a.m.",
1456
- pm: "p.m.",
1457
- midnight: "meia-noite",
1458
- noon: "meio-dia",
1459
- morning: "manhã",
1460
- afternoon: "tarde",
1461
- evening: "tarde",
1462
- night: "noite"
1463
- }
1464
- }, ke = {
1465
- narrow: {
1466
- am: "a",
1467
- pm: "p",
1468
- midnight: "mn",
1469
- noon: "md",
1470
- morning: "da manhã",
1471
- afternoon: "da tarde",
1472
- evening: "da tarde",
1473
- night: "da noite"
1474
- },
1475
- abbreviated: {
1476
- am: "AM",
1477
- pm: "PM",
1478
- midnight: "meia-noite",
1479
- noon: "meio-dia",
1480
- morning: "da manhã",
1481
- afternoon: "da tarde",
1482
- evening: "da tarde",
1483
- night: "da noite"
1484
- },
1485
- wide: {
1486
- am: "a.m.",
1487
- pm: "p.m.",
1488
- midnight: "meia-noite",
1489
- noon: "meio-dia",
1490
- morning: "da manhã",
1491
- afternoon: "da tarde",
1492
- evening: "da tarde",
1493
- night: "da noite"
1494
- }
1495
- }, Le = (A, e) => {
1496
- const t = Number(A);
1497
- return e?.unit === "week" ? t + "ª" : t + "º";
1498
- }, je = {
1499
- ordinalNumber: Le,
1500
- era: H({
1501
- values: Re,
1502
- defaultWidth: "wide"
1503
- }),
1504
- quarter: H({
1505
- values: De,
1506
- defaultWidth: "wide",
1507
- argumentCallback: (A) => A - 1
1508
- }),
1509
- month: H({
1510
- values: xe,
1511
- defaultWidth: "wide"
1512
- }),
1513
- day: H({
1514
- values: Me,
1515
- defaultWidth: "wide"
1516
- }),
1517
- dayPeriod: H({
1518
- values: qe,
1519
- defaultWidth: "wide",
1520
- formattingValues: ke,
1521
- defaultFormattingWidth: "wide"
1522
- })
1523
- }, He = /^(\d+)[ºªo]?/i, Oe = /\d+/i, Te = {
1524
- narrow: /^(ac|dc|a|d)/i,
1525
- abbreviated: /^(a\.?\s?c\.?|d\.?\s?c\.?)/i,
1526
- wide: /^(antes de cristo|depois de cristo)/i
1527
- }, Fe = {
1528
- any: [/^ac/i, /^dc/i],
1529
- wide: [/^antes de cristo/i, /^depois de cristo/i]
1530
- }, Qe = {
1531
- narrow: /^[1234]/i,
1532
- abbreviated: /^T[1234]/i,
1533
- wide: /^[1234](º)? trimestre/i
1534
- }, Ue = {
1535
- any: [/1/i, /2/i, /3/i, /4/i]
1536
- }, Ge = {
1537
- narrow: /^[jfmajsond]/i,
1538
- abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,
1539
- wide: /^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i
1540
- }, ze = {
1541
- narrow: [
1542
- /^j/i,
1543
- /^f/i,
1544
- /^m/i,
1545
- /^a/i,
1546
- /^m/i,
1547
- /^j/i,
1548
- /^j/i,
1549
- /^a/i,
1550
- /^s/i,
1551
- /^o/i,
1552
- /^n/i,
1553
- /^d/i
1554
- ],
1555
- any: [
1556
- /^ja/i,
1557
- /^fev/i,
1558
- /^mar/i,
1559
- /^abr/i,
1560
- /^mai/i,
1561
- /^jun/i,
1562
- /^jul/i,
1563
- /^ago/i,
1564
- /^set/i,
1565
- /^out/i,
1566
- /^nov/i,
1567
- /^dez/i
1568
- ]
1569
- }, Ye = {
1570
- narrow: /^(dom|[23456]ª?|s[aá]b)/i,
1571
- short: /^(dom|[23456]ª?|s[aá]b)/i,
1572
- abbreviated: /^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,
1573
- wide: /^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i
1574
- }, Je = {
1575
- short: [/^d/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^s[aá]/i],
1576
- narrow: [/^d/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^s[aá]/i],
1577
- any: [/^d/i, /^seg/i, /^t/i, /^qua/i, /^qui/i, /^sex/i, /^s[aá]b/i]
1578
- }, We = {
1579
- narrow: /^(a|p|mn|md|(da) (manhã|tarde|noite))/i,
1580
- any: /^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i
1581
- }, Ve = {
1582
- any: {
1583
- am: /^a/i,
1584
- pm: /^p/i,
1585
- midnight: /^mn|^meia[-\s]noite/i,
1586
- noon: /^md|^meio[-\s]dia/i,
1587
- morning: /manhã/i,
1588
- afternoon: /tarde/i,
1589
- evening: /tarde/i,
1590
- night: /noite/i
1591
- }
1592
- }, Ze = {
1593
- ordinalNumber: MA({
1594
- matchPattern: He,
1595
- parsePattern: Oe,
1596
- valueCallback: (A) => parseInt(A, 10)
1597
- }),
1598
- era: O({
1599
- matchPatterns: Te,
1600
- defaultMatchWidth: "wide",
1601
- parsePatterns: Fe,
1602
- defaultParseWidth: "any"
1603
- }),
1604
- quarter: O({
1605
- matchPatterns: Qe,
1606
- defaultMatchWidth: "wide",
1607
- parsePatterns: Ue,
1608
- defaultParseWidth: "any",
1609
- valueCallback: (A) => A + 1
1610
- }),
1611
- month: O({
1612
- matchPatterns: Ge,
1613
- defaultMatchWidth: "wide",
1614
- parsePatterns: ze,
1615
- defaultParseWidth: "any"
1616
- }),
1617
- day: O({
1618
- matchPatterns: Ye,
1619
- defaultMatchWidth: "wide",
1620
- parsePatterns: Je,
1621
- defaultParseWidth: "any"
1622
- }),
1623
- dayPeriod: O({
1624
- matchPatterns: We,
1625
- defaultMatchWidth: "any",
1626
- parsePatterns: Ve,
1627
- defaultParseWidth: "any"
1628
- })
1629
- }, Xe = {
1630
- code: "pt-BR",
1631
- formatDistance: Be,
1632
- formatLong: Ie,
1633
- formatRelative: Ne,
1634
- localize: je,
1635
- match: Ze,
1636
- options: {
1637
- weekStartsOn: 0,
1638
- firstWeekContainsDate: 1
1639
- }
1640
- }, Ke = C(
1641
- ({
1642
- label: A,
1643
- name: e,
1644
- value: t,
1645
- description: n,
1646
- asterisk: o,
1647
- disabled: r,
1648
- invalid: m,
1649
- error: c,
1650
- onChange: s
1651
- }, d) => {
1652
- const [f, l] = B(!1);
1653
- return o && !A && console.warn(
1654
- "A prop `asterisk` deve ser utilizada junto com a prop `label`."
1655
- ), /* @__PURE__ */ i(N, { "data-invalid": m, children: [
1656
- A && /* @__PURE__ */ a(x, { asterisk: o, htmlFor: e, children: A }),
1657
- /* @__PURE__ */ i(k, { open: f, onOpenChange: l, children: [
1658
- /* @__PURE__ */ a(L, { asChild: !0, children: /* @__PURE__ */ i(
1659
- q,
1660
- {
1661
- variant: "outline",
1662
- id: e,
1663
- className: "justify-between font-normal",
1664
- disabled: r,
1665
- ref: d,
1666
- children: [
1667
- t ? new Date(t).toLocaleDateString() : "dd/mm/aa",
1668
- /* @__PURE__ */ a(bA, {})
1669
- ]
1670
- }
1671
- ) }),
1672
- /* @__PURE__ */ a(j, { className: "w-auto overflow-hidden p-0", align: "start", children: /* @__PURE__ */ a(
1673
- qA,
1674
- {
1675
- mode: "single",
1676
- selected: t ? new Date(t) : void 0,
1677
- defaultMonth: t ? new Date(t) : void 0,
1678
- captionLayout: "dropdown",
1679
- locale: Xe,
1680
- startMonth: new Date(2e3, 0),
1681
- endMonth: new Date(2050, 11),
1682
- hidden: { after: new Date(2050, 11, 31) },
1683
- onSelect: (g) => {
1684
- g && (s(g), l(!1));
1685
- }
1686
- }
1687
- ) })
1688
- ] }),
1689
- n && /* @__PURE__ */ a(R, { children: n }),
1690
- m && /* @__PURE__ */ a(D, { errors: [c] })
1691
- ] });
1692
- }
1693
- );
1694
- Ke.displayName = "FieldCalendar";
1695
- const _e = C(({ label: A, description: e, asterisk: t, invalid: n, error: o, ...r }, m) => {
1696
- const { name: c } = r;
1697
- return t && !A && console.warn(
1698
- "A prop `asterisk` deve ser utilizada junto com a prop `label`."
1699
- ), /* @__PURE__ */ i(N, { "data-invalid": n, children: [
1700
- A && /* @__PURE__ */ a(x, { htmlFor: c, asterisk: t, children: A }),
1701
- /* @__PURE__ */ a(
1702
- uA,
1703
- {
1704
- id: c,
1705
- "aria-invalid": n,
1706
- ...r,
1707
- ref: m
1708
- }
1709
- ),
1710
- e && /* @__PURE__ */ a(R, { children: e }),
1711
- n && /* @__PURE__ */ a(D, { errors: [o] })
1712
- ] });
1713
- });
1714
- _e.displayName = "FieldClientSelectInput";
1715
- const $e = C(
1716
- ({ label: A, description: e, asterisk: t, invalid: n, error: o, ...r }, m) => {
1717
- const { name: c } = r;
1718
- return t && !A && console.warn(
1719
- "A prop `asterisk` deve ser utilizada junto com a prop `label`."
1720
- ), /* @__PURE__ */ i(N, { "data-invalid": n, children: [
1721
- A && /* @__PURE__ */ a(x, { htmlFor: c, asterisk: t, children: A }),
1722
- /* @__PURE__ */ a(CA, { id: c, "aria-invalid": n, ...r, ref: m }),
1723
- e && /* @__PURE__ */ a(R, { children: e }),
1724
- n && /* @__PURE__ */ a(D, { errors: [o] })
1725
- ] });
1726
- }
1727
- );
1728
- $e.displayName = "FieldInput";
1729
- const Aa = C(({ label: A, description: e, asterisk: t, invalid: n, error: o, ...r }, m) => {
1730
- const { name: c } = r;
1731
- return t && !A && console.warn(
1732
- "A prop `asterisk` deve ser utilizada junto com a prop `label`."
1733
- ), /* @__PURE__ */ i(N, { "data-invalid": n, children: [
1734
- A && /* @__PURE__ */ a(x, { htmlFor: c, asterisk: t, children: A }),
1735
- /* @__PURE__ */ a(
1736
- fA,
1737
- {
1738
- id: c,
1739
- "aria-invalid": n,
1740
- ...r,
1741
- ref: m
1742
- }
1743
- ),
1744
- e && /* @__PURE__ */ a(R, { children: e }),
1745
- n && /* @__PURE__ */ a(D, { errors: [o] })
1746
- ] });
1747
- });
1748
- Aa.displayName = "FieldProfileSelectInput";
1749
- const ea = C(({ label: A, description: e, asterisk: t, invalid: n, error: o, ...r }, m) => {
1750
- const { name: c } = r;
1751
- return t && !A && console.warn(
1752
- "A prop `asterisk` deve ser utilizada junto com a prop `label`."
1753
- ), /* @__PURE__ */ i(N, { "data-invalid": n, children: [
1754
- A && /* @__PURE__ */ a(x, { htmlFor: c, asterisk: t, children: A }),
1755
- /* @__PURE__ */ a(
1756
- hA,
1757
- {
1758
- id: c,
1759
- "aria-invalid": n,
1760
- ref: m,
1761
- ...r
1762
- }
1763
- ),
1764
- e && /* @__PURE__ */ a(R, { children: e }),
1765
- n && /* @__PURE__ */ a(D, { errors: [o] })
1766
- ] });
1767
- });
1768
- ea.displayName = "FieldSaleSelectInput";
1769
- const aa = C(
1770
- ({
1771
- label: A,
1772
- name: e,
1773
- value: t,
1774
- description: n,
1775
- asterisk: o,
1776
- onValueChange: r,
1777
- options: m,
1778
- disabledOptions: c,
1779
- invalid: s,
1780
- error: d,
1781
- ...f
1782
- }, l) => (o && !A && console.warn(
1783
- "A prop `asterisk` deve ser utilizada junto com a prop `label`."
1784
- ), /* @__PURE__ */ i(N, { orientation: "vertical", "data-invalid": s, children: [
1785
- A && /* @__PURE__ */ a(x, { htmlFor: e, asterisk: o, children: A }),
1786
- /* @__PURE__ */ i(
1787
- yA,
1788
- {
1789
- value: t,
1790
- name: e,
1791
- onValueChange: r,
1792
- ...f,
1793
- children: [
1794
- /* @__PURE__ */ a(BA, { id: e, "aria-invalid": s, ref: l, children: /* @__PURE__ */ a(PA, { placeholder: "Selecionar" }) }),
1795
- /* @__PURE__ */ a(vA, { children: Object.entries(m).map(([g, P]) => /* @__PURE__ */ a(
1796
- SA,
1797
- {
1798
- value: g,
1799
- disabled: (c ?? []).includes(g),
1800
- children: P
1801
- },
1802
- g
1803
- )) })
1804
- ]
1805
- }
1806
- ),
1807
- n && /* @__PURE__ */ a(R, { children: n }),
1808
- s && /* @__PURE__ */ a(D, { errors: [d] })
1809
- ] }))
1810
- );
1811
- aa.displayName = "FieldSelect";
1812
- const ta = C(
1813
- ({ label: A, description: e, asterisk: t, invalid: n, error: o, value: r, onChange: m, ...c }, s) => {
1814
- const { name: d } = c;
1815
- return t && !A && console.warn(
1816
- "A prop `asterisk` deve ser utilizada junto com a prop `label`."
1817
- ), /* @__PURE__ */ i(N, { orientation: "horizontal", "data-invalid": n, children: [
1818
- /* @__PURE__ */ a(
1819
- IA,
1820
- {
1821
- id: d,
1822
- name: d,
1823
- checked: r,
1824
- onCheckedChange: m,
1825
- "aria-invalid": n,
1826
- ...c,
1827
- ref: s
1828
- }
1829
- ),
1830
- /* @__PURE__ */ i(dA, { children: [
1831
- A && /* @__PURE__ */ a(x, { htmlFor: d, asterisk: t, children: A }),
1832
- e && /* @__PURE__ */ a(R, { children: e }),
1833
- n && /* @__PURE__ */ a(D, { errors: [o] })
1834
- ] })
1835
- ] });
1836
- }
1837
- );
1838
- ta.displayName = "FieldSwitch";
1839
- const na = C(({ label: A, description: e, asterisk: t, invalid: n, error: o, ...r }, m) => {
1840
- const { name: c } = r;
1841
- return t && !A && console.warn(
1842
- "A prop `asterisk` deve ser utilizada junto com a prop `label`."
1843
- ), /* @__PURE__ */ i(N, { "data-invalid": n, children: [
1844
- A && /* @__PURE__ */ a(x, { htmlFor: c, asterisk: t, children: A }),
1845
- /* @__PURE__ */ a(EA, { id: c, "aria-invalid": n, ...r, ref: m }),
1846
- e && /* @__PURE__ */ a(R, { children: e }),
1847
- n && /* @__PURE__ */ a(D, { errors: [o] })
1848
- ] });
1849
- });
1850
- na.displayName = "FieldTextarea";
1851
- const ra = C(
1852
- ({ label: A, description: e, asterisk: t, invalid: n, error: o, value: r, onChange: m, ...c }, s) => {
1853
- const { name: d } = c;
1854
- return t && !A && console.warn(
1855
- "A prop `asterisk` deve ser utilizada junto com a prop `label`."
1856
- ), /* @__PURE__ */ a(N, { orientation: "horizontal", "data-invalid": n, children: /* @__PURE__ */ i(dA, { children: [
1857
- /* @__PURE__ */ i(N, { orientation: "horizontal", children: [
1858
- /* @__PURE__ */ a(
1859
- NA,
1860
- {
1861
- id: d,
1862
- name: d,
1863
- checked: r,
1864
- onCheckedChange: m,
1865
- "aria-invalid": n,
1866
- ...c,
1867
- ref: s
1868
- }
1869
- ),
1870
- A && /* @__PURE__ */ a(x, { htmlFor: d, asterisk: t, children: A })
1871
- ] }),
1872
- e && /* @__PURE__ */ a(R, { children: e }),
1873
- n && /* @__PURE__ */ a(D, { errors: [o] })
1874
- ] }) });
1875
- }
1876
- );
1877
- ra.displayName = "FieldCheckbox";
1878
- function oa({
1879
- size: A = 24,
1880
- color: e = "currentColor",
1881
- ...t
1882
- }) {
1883
- return /* @__PURE__ */ i(
1884
- "svg",
1885
- {
1886
- xmlns: "http://www.w3.org/2000/svg",
1887
- width: A,
1888
- height: A,
1889
- viewBox: "0 0 24 24",
1890
- fill: "none",
1891
- stroke: e,
1892
- strokeWidth: "2",
1893
- strokeLinecap: "round",
1894
- strokeLinejoin: "round",
1895
- className: "lucide lucide-instagram-icon lucide-instagram",
1896
- ...t,
1897
- children: [
1898
- /* @__PURE__ */ a("rect", { width: "20", height: "20", x: "2", y: "2", rx: "5", ry: "5" }),
1899
- /* @__PURE__ */ a("path", { d: "M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z" }),
1900
- /* @__PURE__ */ a("line", { x1: "17.5", x2: "17.51", y1: "6.5", y2: "6.5" })
1901
- ]
1902
- }
1903
- );
1904
- }
1905
- function ia({
1906
- size: A = 24,
1907
- color: e = "currentColor",
1908
- ...t
1909
- }) {
1910
- return /* @__PURE__ */ i(
1911
- "svg",
1912
- {
1913
- xmlns: "http://www.w3.org/2000/svg",
1914
- width: A,
1915
- height: A,
1916
- viewBox: "0 0 24 24",
1917
- fill: "none",
1918
- stroke: e,
1919
- strokeWidth: "2",
1920
- strokeLinecap: "round",
1921
- strokeLinejoin: "round",
1922
- className: "icon icon-tabler icons-tabler-outline icon-tabler-brand-linkedin",
1923
- ...t,
1924
- children: [
1925
- /* @__PURE__ */ a("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
1926
- /* @__PURE__ */ a("path", { d: "M8 11v5" }),
1927
- /* @__PURE__ */ a("path", { d: "M8 8v.01" }),
1928
- /* @__PURE__ */ a("path", { d: "M12 16v-5" }),
1929
- /* @__PURE__ */ a("path", { d: "M16 16v-3a2 2 0 1 0 -4 0" }),
1930
- /* @__PURE__ */ a("path", { d: "M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4l0 -10" })
1931
- ]
1932
- }
1933
- );
1934
- }
1935
- function sa({
1936
- size: A = 24,
1937
- color: e = "currentColor",
1938
- ...t
1939
- }) {
1940
- return /* @__PURE__ */ i(
1941
- "svg",
1942
- {
1943
- xmlns: "http://www.w3.org/2000/svg",
1944
- width: A,
1945
- height: A,
1946
- viewBox: "0 0 24 24",
1947
- fill: "none",
1948
- stroke: e,
1949
- strokeWidth: "2",
1950
- strokeLinecap: "round",
1951
- strokeLinejoin: "round",
1952
- className: "icon icon-tabler icons-tabler-outline icon-tabler-brand-pinterest",
1953
- ...t,
1954
- children: [
1955
- /* @__PURE__ */ a("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
1956
- /* @__PURE__ */ a("path", { d: "M8 20l4 -9" }),
1957
- /* @__PURE__ */ a("path", { d: "M10.7 14c.437 1.263 1.43 2 2.55 2c2.071 0 3.75 -1.554 3.75 -4a5 5 0 1 0 -9.7 1.7" }),
1958
- /* @__PURE__ */ a("path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" })
1959
- ]
1960
- }
1961
- );
1962
- }
1963
- function ca({
1964
- size: A = 24,
1965
- color: e = "transparent",
1966
- ...t
1967
- }) {
1968
- return /* @__PURE__ */ i(
1969
- "svg",
1970
- {
1971
- xmlns: "http://www.w3.org/2000/svg",
1972
- width: A,
1973
- height: A,
1974
- viewBox: "0 0 24 24",
1975
- fill: e,
1976
- stroke: "currentColor",
1977
- strokeWidth: "2",
1978
- strokeLinecap: "round",
1979
- strokeLinejoin: "round",
1980
- className: "icon icon-tabler icons-tabler-outline icon-tabler-brand-tiktok",
1981
- ...t,
1982
- children: [
1983
- /* @__PURE__ */ a("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
1984
- /* @__PURE__ */ a("path", { d: "M21 7.917v4.034a9.948 9.948 0 0 1 -5 -1.951v4.5a6.5 6.5 0 1 1 -8 -6.326v4.326a2.5 2.5 0 1 0 4 2v-11.5h4.083a6.005 6.005 0 0 0 4.917 4.917" })
1985
- ]
1986
- }
1987
- );
1988
- }
1989
- function da({
1990
- size: A = 24,
1991
- color: e = "currentColor",
1992
- ...t
1993
- }) {
1994
- return /* @__PURE__ */ i(
1995
- "svg",
1996
- {
1997
- xmlns: "http://www.w3.org/2000/svg",
1998
- width: A,
1999
- height: A,
2000
- viewBox: "0 0 24 24",
2001
- fill: "none",
2002
- stroke: e,
2003
- "stroke-width": "2",
2004
- "stroke-linecap": "round",
2005
- "stroke-linejoin": "round",
2006
- className: "icon icon-tabler icons-tabler-outline icon-tabler-brand-x",
2007
- ...t,
2008
- children: [
2009
- /* @__PURE__ */ a("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
2010
- /* @__PURE__ */ a("path", { d: "M4 4l11.733 16h4.267l-11.733 -16l-4.267 0" }),
2011
- /* @__PURE__ */ a("path", { d: "M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772" })
2012
- ]
2013
- }
2014
- );
2015
- }
2016
- function la({
2017
- size: A = 24,
2018
- color: e = "currentColor",
2019
- ...t
2020
- }) {
2021
- return /* @__PURE__ */ i(
2022
- "svg",
2023
- {
2024
- xmlns: "http://www.w3.org/2000/svg",
2025
- width: A,
2026
- height: A,
2027
- viewBox: "0 0 24 24",
2028
- fill: "none",
2029
- stroke: e,
2030
- strokeWidth: "2",
2031
- strokeLinecap: "round",
2032
- strokeLinejoin: "round",
2033
- className: "lucide lucide-youtube-icon lucide-youtube",
2034
- ...t,
2035
- children: [
2036
- /* @__PURE__ */ a("path", { d: "M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17" }),
2037
- /* @__PURE__ */ a("path", { d: "m10 15 5-3-5-3z" })
2038
- ]
2039
- }
2040
- );
2041
- }
2042
- export {
2043
- Pa as A,
2044
- re as B,
2045
- te as C,
2046
- _e as D,
2047
- $e as E,
2048
- x as F,
2049
- Aa as G,
2050
- ea as H,
2051
- ie as I,
2052
- aa as J,
2053
- ta as K,
2054
- na as L,
2055
- ra as M,
2056
- oa as N,
2057
- ia as O,
2058
- oe as P,
2059
- sa as Q,
2060
- ca as R,
2061
- mA as S,
2062
- Sa as T,
2063
- da as X,
2064
- la as Y,
2065
- ne as a,
2066
- va as b,
2067
- se as c,
2068
- ce as d,
2069
- Ia as e,
2070
- nA as f,
2071
- le as g,
2072
- ue as h,
2073
- de as i,
2074
- me as j,
2075
- fe as k,
2076
- he as l,
2077
- pe as m,
2078
- Ba as n,
2079
- OA as o,
2080
- TA as p,
2081
- FA as q,
2082
- QA as r,
2083
- UA as s,
2084
- VA as t,
2085
- KA as u,
2086
- uA as v,
2087
- ae as w,
2088
- fA as x,
2089
- hA as y,
2090
- Ke as z
2091
- };