konsolpro-custom-ui 0.0.399 → 0.0.403

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/lib/index.js CHANGED
@@ -19,7 +19,7 @@ var L = (e, t) => {
19
19
  t.indexOf(a) < 0 && Sr.call(e, a) && (r[a] = e[a]);
20
20
  return r;
21
21
  };
22
- var S = (e, t, r) => new Promise((a, o) => {
22
+ var T = (e, t, r) => new Promise((a, o) => {
23
23
  var i = (c) => {
24
24
  try {
25
25
  l(r.next(c));
@@ -84,358 +84,358 @@ function fa(e) {
84
84
  return wt[r];
85
85
  }
86
86
  function A(e) {
87
- return rr(() => S(null, null, function* () {
87
+ return rr(() => T(null, null, function* () {
88
88
  return { default: (yield e()).ReactComponent };
89
89
  }));
90
90
  }
91
91
  const ma = {
92
- UnfoldIcon: A(() => S(null, null, function* () {
92
+ UnfoldIcon: A(() => T(null, null, function* () {
93
93
  return import("../chunks/unfold-icon-S3J7xXHf.js");
94
94
  })),
95
- CallIcon: A(() => S(null, null, function* () {
95
+ CallIcon: A(() => T(null, null, function* () {
96
96
  return import("../chunks/call-icon-DslHaQOP.js");
97
97
  })),
98
- SettingsIcon: A(() => S(null, null, function* () {
98
+ SettingsIcon: A(() => T(null, null, function* () {
99
99
  return import("../chunks/settings-icon-D_wgjUsM.js");
100
100
  })),
101
- DoneIcon: A(() => S(null, null, function* () {
101
+ DoneIcon: A(() => T(null, null, function* () {
102
102
  return import("../chunks/done-icon-BZEAL7mI.js");
103
103
  })),
104
- CreditCardIcon: A(() => S(null, null, function* () {
104
+ CreditCardIcon: A(() => T(null, null, function* () {
105
105
  return import("../chunks/credit-card-icon-DS1ckDU7.js");
106
106
  })),
107
- OpenInFullIcon: A(() => S(null, null, function* () {
107
+ OpenInFullIcon: A(() => T(null, null, function* () {
108
108
  return import("../chunks/open-in-full-icon-DzhRd5Mx.js");
109
109
  })),
110
110
  AccountBalanceIcon: A(
111
- () => S(null, null, function* () {
111
+ () => T(null, null, function* () {
112
112
  return import("../chunks/account-balance-icon-CKxx1j3X.js");
113
113
  })
114
114
  ),
115
- DownloadIcon: A(() => S(null, null, function* () {
115
+ DownloadIcon: A(() => T(null, null, function* () {
116
116
  return import("../chunks/download-icon-BvWPcT7W.js");
117
117
  })),
118
- HomeIcon: A(() => S(null, null, function* () {
118
+ HomeIcon: A(() => T(null, null, function* () {
119
119
  return import("../chunks/home-icon-Mag5Wxqq.js");
120
120
  })),
121
- MailIcon: A(() => S(null, null, function* () {
121
+ MailIcon: A(() => T(null, null, function* () {
122
122
  return import("../chunks/mail-icon-DCZPsZFE.js");
123
123
  })),
124
- OpenInNewIcon: A(() => S(null, null, function* () {
124
+ OpenInNewIcon: A(() => T(null, null, function* () {
125
125
  return import("../chunks/open-in-new-icon-A7MgnnyP.js");
126
126
  })),
127
- SupportIcon: A(() => S(null, null, function* () {
127
+ SupportIcon: A(() => T(null, null, function* () {
128
128
  return import("../chunks/support-icon-CBHKGKq8.js");
129
129
  })),
130
130
  BusinessCenterIcon: A(
131
- () => S(null, null, function* () {
131
+ () => T(null, null, function* () {
132
132
  return import("../chunks/business-center-icon-C5X-e-6I.js");
133
133
  })
134
134
  ),
135
- WorkIcon: A(() => S(null, null, function* () {
135
+ WorkIcon: A(() => T(null, null, function* () {
136
136
  return import("../chunks/work-icon-D7I-74Mk.js");
137
137
  })),
138
- ArrowBackIcon: A(() => S(null, null, function* () {
138
+ ArrowBackIcon: A(() => T(null, null, function* () {
139
139
  return import("../chunks/arrow-back-icon-C_VwBDNK.js");
140
140
  })),
141
- SendIcon: A(() => S(null, null, function* () {
141
+ SendIcon: A(() => T(null, null, function* () {
142
142
  return import("../chunks/send-icon-BTztERTu.js");
143
143
  })),
144
- DeleteIcon: A(() => S(null, null, function* () {
144
+ DeleteIcon: A(() => T(null, null, function* () {
145
145
  return import("../chunks/delete-icon-Bk1ZmhBo.js");
146
146
  })),
147
147
  ArrowBackIOSIcon: A(
148
- () => S(null, null, function* () {
148
+ () => T(null, null, function* () {
149
149
  return import("../chunks/arrow-back-ios-icon-CB5K_mmJ.js");
150
150
  })
151
151
  ),
152
- SearchIcon: A(() => S(null, null, function* () {
152
+ SearchIcon: A(() => T(null, null, function* () {
153
153
  return import("../chunks/search-icon-CortrXrC.js");
154
154
  })),
155
- InfoIcon: A(() => S(null, null, function* () {
155
+ InfoIcon: A(() => T(null, null, function* () {
156
156
  return import("../chunks/info-icon-BcUNe5kE.js");
157
157
  })),
158
- PersonIcon: A(() => S(null, null, function* () {
158
+ PersonIcon: A(() => T(null, null, function* () {
159
159
  return import("../chunks/person-icon-Bo5NxPRQ.js");
160
160
  })),
161
- CloseIcon: A(() => S(null, null, function* () {
161
+ CloseIcon: A(() => T(null, null, function* () {
162
162
  return import("../chunks/close-icon-CtbXesC0.js");
163
163
  })),
164
- AddCircleIcon: A(() => S(null, null, function* () {
164
+ AddCircleIcon: A(() => T(null, null, function* () {
165
165
  return import("../chunks/add-circle-icon-D3XpY2oT.js");
166
166
  })),
167
- InventoryIcon: A(() => S(null, null, function* () {
167
+ InventoryIcon: A(() => T(null, null, function* () {
168
168
  return import("../chunks/inventory-icon-CFV8amBs.js");
169
169
  })),
170
- BookIcon: A(() => S(null, null, function* () {
170
+ BookIcon: A(() => T(null, null, function* () {
171
171
  return import("../chunks/book-icon-BdaCKIQB.js");
172
172
  })),
173
- RefreshIcon: A(() => S(null, null, function* () {
173
+ RefreshIcon: A(() => T(null, null, function* () {
174
174
  return import("../chunks/refresh-icon-ac1oOwX8.js");
175
175
  })),
176
- ArrowDownIcon: A(() => S(null, null, function* () {
176
+ ArrowDownIcon: A(() => T(null, null, function* () {
177
177
  return import("../chunks/arrow-down-icon-DFvg75P7.js");
178
178
  })),
179
- ArrowUpIcon: A(() => S(null, null, function* () {
179
+ ArrowUpIcon: A(() => T(null, null, function* () {
180
180
  return import("../chunks/arrow-up-icon-DU7VVzN8.js");
181
181
  })),
182
- ArrowRightIcon: A(() => S(null, null, function* () {
182
+ ArrowRightIcon: A(() => T(null, null, function* () {
183
183
  return import("../chunks/arrow-right-icon-Bnx7GHux.js");
184
184
  })),
185
- ArrowLeftIcon: A(() => S(null, null, function* () {
185
+ ArrowLeftIcon: A(() => T(null, null, function* () {
186
186
  return import("../chunks/arrow-left-icon-8yWT42A8.js");
187
187
  })),
188
- ArrowForwardIcon: A(() => S(null, null, function* () {
188
+ ArrowForwardIcon: A(() => T(null, null, function* () {
189
189
  return import("../chunks/arrow-forward-icon-BI4dm_L2.js");
190
190
  })),
191
- BoltIcon: A(() => S(null, null, function* () {
191
+ BoltIcon: A(() => T(null, null, function* () {
192
192
  return import("../chunks/bolt-icon-CJsvLlL-.js");
193
193
  })),
194
- LogoutIcon: A(() => S(null, null, function* () {
194
+ LogoutIcon: A(() => T(null, null, function* () {
195
195
  return import("../chunks/logout-icon-DN86wp7N.js");
196
196
  })),
197
197
  ProgressActivityIcon: A(
198
- () => S(null, null, function* () {
198
+ () => T(null, null, function* () {
199
199
  return import("../chunks/progress-activity-icon-YbJGzvxH.js");
200
200
  })
201
201
  ),
202
- AutorenewIcon: A(() => S(null, null, function* () {
202
+ AutorenewIcon: A(() => T(null, null, function* () {
203
203
  return import("../chunks/autorenew-icon-B0bI6Xt-.js");
204
204
  })),
205
- HelpIcon: A(() => S(null, null, function* () {
205
+ HelpIcon: A(() => T(null, null, function* () {
206
206
  return import("../chunks/help-icon-BMdlItds.js");
207
207
  })),
208
- VisibilityOnIcon: A(() => S(null, null, function* () {
208
+ VisibilityOnIcon: A(() => T(null, null, function* () {
209
209
  return import("../chunks/visibility-on-icon-C9VmKsvX.js");
210
210
  })),
211
- RemoveIcon: A(() => S(null, null, function* () {
211
+ RemoveIcon: A(() => T(null, null, function* () {
212
212
  return import("../chunks/remove-icon-CTuoG0Vq.js");
213
213
  })),
214
- AddIcon: A(() => S(null, null, function* () {
214
+ AddIcon: A(() => T(null, null, function* () {
215
215
  return import("../chunks/add-icon-CZXR66VL.js");
216
216
  })),
217
- EditIcon: A(() => S(null, null, function* () {
217
+ EditIcon: A(() => T(null, null, function* () {
218
218
  return import("../chunks/edit-icon-_3venQRC.js");
219
219
  })),
220
- ScenarioIcon: A(() => S(null, null, function* () {
220
+ ScenarioIcon: A(() => T(null, null, function* () {
221
221
  return import("../chunks/scenario-icon-BcnFsqUA.js");
222
222
  })),
223
- NorthEastIcon: A(() => S(null, null, function* () {
223
+ NorthEastIcon: A(() => T(null, null, function* () {
224
224
  return import("../chunks/north-east-icon-Dh7-1BBW.js");
225
225
  })),
226
- MoreVertIcon: A(() => S(null, null, function* () {
226
+ MoreVertIcon: A(() => T(null, null, function* () {
227
227
  return import("../chunks/more-vert-icon-NA1tYTse.js");
228
228
  })),
229
- MenuIcon: A(() => S(null, null, function* () {
229
+ MenuIcon: A(() => T(null, null, function* () {
230
230
  return import("../chunks/menu-icon-DWObHD95.js");
231
231
  })),
232
- CheckCircleIcon: A(() => S(null, null, function* () {
232
+ CheckCircleIcon: A(() => T(null, null, function* () {
233
233
  return import("../chunks/check-circle-icon-BWhJprgU.js");
234
234
  })),
235
- BlockIcon: A(() => S(null, null, function* () {
235
+ BlockIcon: A(() => T(null, null, function* () {
236
236
  return import("../chunks/block-icon-DGlp9c33.js");
237
237
  })),
238
- BoltFillIcon: A(() => S(null, null, function* () {
238
+ BoltFillIcon: A(() => T(null, null, function* () {
239
239
  return import("../chunks/bolt-fill-icon-DZjyKq8N.js");
240
240
  })),
241
- ErrorIcon: A(() => S(null, null, function* () {
241
+ ErrorIcon: A(() => T(null, null, function* () {
242
242
  return import("../chunks/error-icon-CgJ3zr06.js");
243
243
  })),
244
- ErrorFillIcon: A(() => S(null, null, function* () {
244
+ ErrorFillIcon: A(() => T(null, null, function* () {
245
245
  return import("../chunks/error-fill-icon--8j3Zcfq.js");
246
246
  })),
247
247
  VisibilityOffIcon: A(
248
- () => S(null, null, function* () {
248
+ () => T(null, null, function* () {
249
249
  return import("../chunks/visibility-off-icon-BA_I97Vw.js");
250
250
  })
251
251
  ),
252
- PaymentIcon: A(() => S(null, null, function* () {
252
+ PaymentIcon: A(() => T(null, null, function* () {
253
253
  return import("../chunks/payment-icon-C-B7L4WP.js");
254
254
  })),
255
- FilterIcon: A(() => S(null, null, function* () {
255
+ FilterIcon: A(() => T(null, null, function* () {
256
256
  return import("../chunks/filter-icon-D_3_SQsN.js");
257
257
  })),
258
- FullScreenIcon: A(() => S(null, null, function* () {
258
+ FullScreenIcon: A(() => T(null, null, function* () {
259
259
  return import("../chunks/full-screen-icon-Dpl__xtk.js");
260
260
  })),
261
261
  FullScreenExitIcon: A(
262
- () => S(null, null, function* () {
262
+ () => T(null, null, function* () {
263
263
  return import("../chunks/full-screen-exit-icon-BHwq-9P-.js");
264
264
  })
265
265
  ),
266
- MoreHorizIcon: A(() => S(null, null, function* () {
266
+ MoreHorizIcon: A(() => T(null, null, function* () {
267
267
  return import("../chunks/more-horiz-icon-CSK7Ackl.js");
268
268
  })),
269
- GroupIcon: A(() => S(null, null, function* () {
269
+ GroupIcon: A(() => T(null, null, function* () {
270
270
  return import("../chunks/group-icon-BfSRHuvp.js");
271
271
  })),
272
- DocumentIcon: A(() => S(null, null, function* () {
272
+ DocumentIcon: A(() => T(null, null, function* () {
273
273
  return import("../chunks/document-icon-DcmQhRhY.js");
274
274
  })),
275
- ListIcon: A(() => S(null, null, function* () {
275
+ ListIcon: A(() => T(null, null, function* () {
276
276
  return import("../chunks/list-icon-ChePCGxK.js");
277
277
  })),
278
- AttachFileIcon: A(() => S(null, null, function* () {
278
+ AttachFileIcon: A(() => T(null, null, function* () {
279
279
  return import("../chunks/attach-file-icon-OrT7tthI.js");
280
280
  })),
281
- LocationIcon: A(() => S(null, null, function* () {
281
+ LocationIcon: A(() => T(null, null, function* () {
282
282
  return import("../chunks/location-icon-Bf9Wbg65.js");
283
283
  })),
284
- UploadIcon: A(() => S(null, null, function* () {
284
+ UploadIcon: A(() => T(null, null, function* () {
285
285
  return import("../chunks/upload-icon-CwzthQEL.js");
286
286
  })),
287
- PageInfoIcon: A(() => S(null, null, function* () {
287
+ PageInfoIcon: A(() => T(null, null, function* () {
288
288
  return import("../chunks/page-info-icon-BiVNFu71.js");
289
289
  })),
290
- SegmentIcon: A(() => S(null, null, function* () {
290
+ SegmentIcon: A(() => T(null, null, function* () {
291
291
  return import("../chunks/segment-icon-Bzm7cziF.js");
292
292
  })),
293
- CopyIcon: A(() => S(null, null, function* () {
293
+ CopyIcon: A(() => T(null, null, function* () {
294
294
  return import("../chunks/copy-icon-BWyncDVB.js");
295
295
  })),
296
- InfoFillIcon: A(() => S(null, null, function* () {
296
+ InfoFillIcon: A(() => T(null, null, function* () {
297
297
  return import("../chunks/info-fill-icon-BzE09Xg8.js");
298
298
  })),
299
299
  ManageAccountsIcon: A(
300
- () => S(null, null, function* () {
300
+ () => T(null, null, function* () {
301
301
  return import("../chunks/manage-accounts-icon-BkyuUTj3.js");
302
302
  })
303
303
  ),
304
- FlagIcon: A(() => S(null, null, function* () {
304
+ FlagIcon: A(() => T(null, null, function* () {
305
305
  return import("../chunks/flag-icon-DmWEp4ya.js");
306
306
  })),
307
- CalendarIcon: A(() => S(null, null, function* () {
307
+ CalendarIcon: A(() => T(null, null, function* () {
308
308
  return import("../chunks/calendar-icon-B1cogiSd.js");
309
309
  })),
310
- PincodeIcon: A(() => S(null, null, function* () {
310
+ PincodeIcon: A(() => T(null, null, function* () {
311
311
  return import("../chunks/pincode-icon-BA-e4pBH.js");
312
312
  })),
313
- OutgoingMailIcon: A(() => S(null, null, function* () {
313
+ OutgoingMailIcon: A(() => T(null, null, function* () {
314
314
  return import("../chunks/outgoing-main-icon-BAH2vddG.js");
315
315
  })),
316
- TimeIcon: A(() => S(null, null, function* () {
316
+ TimeIcon: A(() => T(null, null, function* () {
317
317
  return import("../chunks/time-icon-DsWMo47L.js");
318
318
  })),
319
- SmsIcon: A(() => S(null, null, function* () {
319
+ SmsIcon: A(() => T(null, null, function* () {
320
320
  return import("../chunks/sms-icon-4p-ON5VX.js");
321
321
  })),
322
- TelegrammIcon: A(() => S(null, null, function* () {
322
+ TelegrammIcon: A(() => T(null, null, function* () {
323
323
  return import("../chunks/telegramm-icon-C2ZR2jdg.js");
324
324
  })),
325
- BillsWarningIcon: A(() => S(null, null, function* () {
325
+ BillsWarningIcon: A(() => T(null, null, function* () {
326
326
  return import("../chunks/bills-warning-icon-CNgWvumi.js");
327
327
  })),
328
328
  BillsInProgressIcon: A(
329
- () => S(null, null, function* () {
329
+ () => T(null, null, function* () {
330
330
  return import("../chunks/bills-in-progress-icon-RVEtPz7l.js");
331
331
  })
332
332
  ),
333
- BillsIcon: A(() => S(null, null, function* () {
333
+ BillsIcon: A(() => T(null, null, function* () {
334
334
  return import("../chunks/bills-icon-BU_adAs0.js");
335
335
  })),
336
- BillsErrorIcon: A(() => S(null, null, function* () {
336
+ BillsErrorIcon: A(() => T(null, null, function* () {
337
337
  return import("../chunks/bills-error-icon-CcDGUJrx.js");
338
338
  })),
339
- BillWarningIcon: A(() => S(null, null, function* () {
339
+ BillWarningIcon: A(() => T(null, null, function* () {
340
340
  return import("../chunks/bill-warning-icon-3Y-dONd_.js");
341
341
  })),
342
342
  BillInProgressIcon: A(
343
- () => S(null, null, function* () {
343
+ () => T(null, null, function* () {
344
344
  return import("../chunks/bill-in-progress-icon-BTsO5Mh5.js");
345
345
  })
346
346
  ),
347
- BillIcon: A(() => S(null, null, function* () {
347
+ BillIcon: A(() => T(null, null, function* () {
348
348
  return import("../chunks/bill-icon-Cw2GE_VB.js");
349
349
  })),
350
- BillErrorIcon: A(() => S(null, null, function* () {
350
+ BillErrorIcon: A(() => T(null, null, function* () {
351
351
  return import("../chunks/bill-error-icon-q8_KROAY.js");
352
352
  })),
353
- AndroidIcon: A(() => S(null, null, function* () {
353
+ AndroidIcon: A(() => T(null, null, function* () {
354
354
  return import("../chunks/android-icon-6SCGu50U.js");
355
355
  })),
356
- AppleIcon: A(() => S(null, null, function* () {
356
+ AppleIcon: A(() => T(null, null, function* () {
357
357
  return import("../chunks/apple-icon-yya6O1xg.js");
358
358
  })),
359
- ZoomInIcon: A(() => S(null, null, function* () {
359
+ ZoomInIcon: A(() => T(null, null, function* () {
360
360
  return import("../chunks/zoom-in-icon-ZWEJANob.js");
361
361
  })),
362
- ZoomOutIcon: A(() => S(null, null, function* () {
362
+ ZoomOutIcon: A(() => T(null, null, function* () {
363
363
  return import("../chunks/zoom-out-icon-CeFz3G6V.js");
364
364
  })),
365
- SaveIcon: A(() => S(null, null, function* () {
365
+ SaveIcon: A(() => T(null, null, function* () {
366
366
  return import("../chunks/save-icon-DnF5revo.js");
367
367
  })),
368
- WalletIcon: A(() => S(null, null, function* () {
368
+ WalletIcon: A(() => T(null, null, function* () {
369
369
  return import("../chunks/wallet-icon-D0r9bDRg.js");
370
370
  })),
371
- PlayIcon: A(() => S(null, null, function* () {
371
+ PlayIcon: A(() => T(null, null, function* () {
372
372
  return import("../chunks/play-icon-Bnj3hsIf.js");
373
373
  })),
374
- SberIdIcon: A(() => S(null, null, function* () {
374
+ SberIdIcon: A(() => T(null, null, function* () {
375
375
  return import("../chunks/sberid-icon-DgQtjRjD.js");
376
376
  })),
377
- TinkoffIdIcon: A(() => S(null, null, function* () {
377
+ TinkoffIdIcon: A(() => T(null, null, function* () {
378
378
  return import("../chunks/tinkoffid-icon-DN9XKuNA.js");
379
379
  })),
380
- CookieIcon: A(() => S(null, null, function* () {
380
+ CookieIcon: A(() => T(null, null, function* () {
381
381
  return import("../chunks/cookie-DJ-U7h-A.js");
382
382
  })),
383
- ThumbsUpIcon: A(() => S(null, null, function* () {
383
+ ThumbsUpIcon: A(() => T(null, null, function* () {
384
384
  return import("../chunks/thumbs-up-icon-BArjyDfk.js");
385
385
  })),
386
386
  CheckCircleFillIcon: A(
387
- () => S(null, null, function* () {
387
+ () => T(null, null, function* () {
388
388
  return import("../chunks/check-circle-fill-ne1MhahL.js");
389
389
  })
390
390
  ),
391
- CancelFillIcon: A(() => S(null, null, function* () {
391
+ CancelFillIcon: A(() => T(null, null, function* () {
392
392
  return import("../chunks/cancel-fill-DPYenlCk.js");
393
393
  })),
394
- TrendingUpIcon: A(() => S(null, null, function* () {
394
+ TrendingUpIcon: A(() => T(null, null, function* () {
395
395
  return import("../chunks/trending-up-icon-IEwGHi9c.js");
396
396
  })),
397
- TrendingDownIcon: A(() => S(null, null, function* () {
397
+ TrendingDownIcon: A(() => T(null, null, function* () {
398
398
  return import("../chunks/trending-down-icon-DlHKI37F.js");
399
399
  })),
400
- PersonAddIcon: A(() => S(null, null, function* () {
400
+ PersonAddIcon: A(() => T(null, null, function* () {
401
401
  return import("../chunks/person-add-C-3pZhgM.js");
402
402
  })),
403
- PersonSearchIcon: A(() => S(null, null, function* () {
403
+ PersonSearchIcon: A(() => T(null, null, function* () {
404
404
  return import("../chunks/person-search-icon-CwVm_XAL.js");
405
405
  })),
406
- LinkIcon: A(() => S(null, null, function* () {
406
+ LinkIcon: A(() => T(null, null, function* () {
407
407
  return import("../chunks/link-icon-BUAymb0P.js");
408
408
  })),
409
- FileSuccessIcon: A(() => S(null, null, function* () {
409
+ FileSuccessIcon: A(() => T(null, null, function* () {
410
410
  return import("../chunks/file-success-icon-BTk5SYAM.js");
411
411
  })),
412
- FileErrorIcon: A(() => S(null, null, function* () {
412
+ FileErrorIcon: A(() => T(null, null, function* () {
413
413
  return import("../chunks/file-error-icon-630wBy1K.js");
414
414
  })),
415
- ShieldIcon: A(() => S(null, null, function* () {
415
+ ShieldIcon: A(() => T(null, null, function* () {
416
416
  return import("../chunks/shield-icon-BwpxkU5E.js");
417
417
  })),
418
- StatisticIcon: A(() => S(null, null, function* () {
418
+ StatisticIcon: A(() => T(null, null, function* () {
419
419
  return import("../chunks/statistic-icon-mhqUxTDv.js");
420
420
  })),
421
- DontDisturbIcon: A(() => S(null, null, function* () {
421
+ DontDisturbIcon: A(() => T(null, null, function* () {
422
422
  return import("../chunks/dont-disturb-o1xt1TeU.js");
423
423
  })),
424
- WhatsAppIcon: A(() => S(null, null, function* () {
424
+ WhatsAppIcon: A(() => T(null, null, function* () {
425
425
  return import("../chunks/whats-app-icon-XbrqQF8U.js");
426
426
  })),
427
- MaxIcon: A(() => S(null, null, function* () {
427
+ MaxIcon: A(() => T(null, null, function* () {
428
428
  return import("../chunks/max-icon-CTdBEAt8.js");
429
429
  })),
430
430
  SettingsBackupRestoreIcon: A(
431
- () => S(null, null, function* () {
431
+ () => T(null, null, function* () {
432
432
  return import("../chunks/settings-backup-restore-icon-DUrmFxtk.js");
433
433
  })
434
434
  ),
435
- PauseCircleIcon: A(() => S(null, null, function* () {
435
+ PauseCircleIcon: A(() => T(null, null, function* () {
436
436
  return import("../chunks/pause-circle-icon-Dpio-qM3.js");
437
437
  })),
438
- BellIcon: A(() => S(null, null, function* () {
438
+ BellIcon: A(() => T(null, null, function* () {
439
439
  return import("../chunks/bell-icon-L-Ynt5XK.js");
440
440
  }))
441
441
  };
@@ -459,88 +459,88 @@ function V({
459
459
  ) : null;
460
460
  }
461
461
  function te(e) {
462
- return rr(() => S(null, null, function* () {
462
+ return rr(() => T(null, null, function* () {
463
463
  return { default: (yield e()).ReactComponent };
464
464
  }));
465
465
  }
466
466
  const pa = {
467
- AlfaIcon: te(() => S(null, null, function* () {
467
+ AlfaIcon: te(() => T(null, null, function* () {
468
468
  return import("../chunks/alfa-icon-Cx0WqCux.js");
469
469
  })),
470
- BaltiyskiyIcon: te(() => S(null, null, function* () {
470
+ BaltiyskiyIcon: te(() => T(null, null, function* () {
471
471
  return import("../chunks/baltiyskiy-icon-CXAJY9LH.js");
472
472
  })),
473
- EuropaIcon: te(() => S(null, null, function* () {
473
+ EuropaIcon: te(() => T(null, null, function* () {
474
474
  return import("../chunks/europa-icon-DbElF2Uc.js");
475
475
  })),
476
- GazpromIcon: te(() => S(null, null, function* () {
476
+ GazpromIcon: te(() => T(null, null, function* () {
477
477
  return import("../chunks/gazprom-icon-CRfKLTvP.js");
478
478
  })),
479
- HomeIcon: te(() => S(null, null, function* () {
479
+ HomeIcon: te(() => T(null, null, function* () {
480
480
  return import("../chunks/home-icon-Dc6LzbVw.js");
481
481
  })),
482
- MkbIcon: te(() => S(null, null, function* () {
482
+ MkbIcon: te(() => T(null, null, function* () {
483
483
  return import("../chunks/mkb-icon-CEkVt-7P.js");
484
484
  })),
485
- MtsIcon: te(() => S(null, null, function* () {
485
+ MtsIcon: te(() => T(null, null, function* () {
486
486
  return import("../chunks/mts-icon-Bq4YDYEy.js");
487
487
  })),
488
- OtkritieIcon: te(() => S(null, null, function* () {
488
+ OtkritieIcon: te(() => T(null, null, function* () {
489
489
  return import("../chunks/otkritie-icon-yGwVocEY.js");
490
490
  })),
491
- OtpIcon: te(() => S(null, null, function* () {
491
+ OtpIcon: te(() => T(null, null, function* () {
492
492
  return import("../chunks/otp-icon-BQQXMe3b.js");
493
493
  })),
494
- PsbIcon: te(() => S(null, null, function* () {
494
+ PsbIcon: te(() => T(null, null, function* () {
495
495
  return import("../chunks/psb-icon-CxKzLVG5.js");
496
496
  })),
497
- QiwiIcon: te(() => S(null, null, function* () {
497
+ QiwiIcon: te(() => T(null, null, function* () {
498
498
  return import("../chunks/qiwi-icon-B795Q_fW.js");
499
499
  })),
500
- RaiffeisenIcon: te(() => S(null, null, function* () {
500
+ RaiffeisenIcon: te(() => T(null, null, function* () {
501
501
  return import("../chunks/raiffeisen-icon-CgcBX8eY.js");
502
502
  })),
503
503
  RussianStandartIcon: te(
504
- () => S(null, null, function* () {
504
+ () => T(null, null, function* () {
505
505
  return import("../chunks/russian-standart-icon-CI8j1Do6.js");
506
506
  })
507
507
  ),
508
508
  SaintPetersburgIcon: te(
509
- () => S(null, null, function* () {
509
+ () => T(null, null, function* () {
510
510
  return import("../chunks/saint-petersburg-icon-DbffjI2W.js");
511
511
  })
512
512
  ),
513
- SberIcon: te(() => S(null, null, function* () {
513
+ SberIcon: te(() => T(null, null, function* () {
514
514
  return import("../chunks/sber-icon-b7d9_o7J.js");
515
515
  })),
516
- SkbIcon: te(() => S(null, null, function* () {
516
+ SkbIcon: te(() => T(null, null, function* () {
517
517
  return import("../chunks/skb-icon-BgDQolTL.js");
518
518
  })),
519
- TbankIcon: te(() => S(null, null, function* () {
519
+ TbankIcon: te(() => T(null, null, function* () {
520
520
  return import("../chunks/tbank-icon-ByKW0pBb.js");
521
521
  })),
522
- TochkaIcon: te(() => S(null, null, function* () {
522
+ TochkaIcon: te(() => T(null, null, function* () {
523
523
  return import("../chunks/tochka-icon-CoQ_r9Lz.js");
524
524
  })),
525
- TrustIcon: te(() => S(null, null, function* () {
525
+ TrustIcon: te(() => T(null, null, function* () {
526
526
  return import("../chunks/trust-icon-DcfUVGZ_.js");
527
527
  })),
528
- UniIcon: te(() => S(null, null, function* () {
528
+ UniIcon: te(() => T(null, null, function* () {
529
529
  return import("../chunks/uni-icon-gK006vr0.js");
530
530
  })),
531
- UralsibIcon: te(() => S(null, null, function* () {
531
+ UralsibIcon: te(() => T(null, null, function* () {
532
532
  return import("../chunks/uralsib-icon-C-ZbdvlL.js");
533
533
  })),
534
- UralskiyIcon: te(() => S(null, null, function* () {
534
+ UralskiyIcon: te(() => T(null, null, function* () {
535
535
  return import("../chunks/uralskiy-icon-Djqv-ZYN.js");
536
536
  })),
537
- VozrozhdenieIcon: te(() => S(null, null, function* () {
537
+ VozrozhdenieIcon: te(() => T(null, null, function* () {
538
538
  return import("../chunks/vozrozhdenie-icon-CCMRNn95.js");
539
539
  })),
540
- VtbIcon: te(() => S(null, null, function* () {
540
+ VtbIcon: te(() => T(null, null, function* () {
541
541
  return import("../chunks/vtb-icon-BtfO1_Gx.js");
542
542
  })),
543
- YandexIcon: te(() => S(null, null, function* () {
543
+ YandexIcon: te(() => T(null, null, function* () {
544
544
  return import("../chunks/yandex-icon-CepqpI49.js");
545
545
  }))
546
546
  };
@@ -560,39 +560,39 @@ function ml({ icon: e }) {
560
560
  ) : null;
561
561
  }
562
562
  function De(e) {
563
- return rr(() => S(null, null, function* () {
563
+ return rr(() => T(null, null, function* () {
564
564
  return { default: (yield e()).ReactComponent };
565
565
  }));
566
566
  }
567
567
  const ha = {
568
- Normal: De(() => S(null, null, function* () {
568
+ Normal: De(() => T(null, null, function* () {
569
569
  return import("../chunks/normal-icon-CYvIFN5j.js");
570
570
  })),
571
- Failed: De(() => S(null, null, function* () {
571
+ Failed: De(() => T(null, null, function* () {
572
572
  return import("../chunks/failed-icon-YP2jq4UN.js");
573
573
  })),
574
- Signed: De(() => S(null, null, function* () {
574
+ Signed: De(() => T(null, null, function* () {
575
575
  return import("../chunks/signed-icon-DTQlKmWU.js");
576
576
  })),
577
- Warning: De(() => S(null, null, function* () {
577
+ Warning: De(() => T(null, null, function* () {
578
578
  return import("../chunks/warning-icon-BmlgMY27.js");
579
579
  })),
580
- Waiting: De(() => S(null, null, function* () {
580
+ Waiting: De(() => T(null, null, function* () {
581
581
  return import("../chunks/waiting-icon-lpQJA4wB.js");
582
582
  })),
583
- Error: De(() => S(null, null, function* () {
583
+ Error: De(() => T(null, null, function* () {
584
584
  return import("../chunks/error-icon-BJWk5B-s.js");
585
585
  })),
586
- Passport: De(() => S(null, null, function* () {
586
+ Passport: De(() => T(null, null, function* () {
587
587
  return import("../chunks/passport-main-DNL65kJJ.js");
588
588
  })),
589
- Registration: De(() => S(null, null, function* () {
589
+ Registration: De(() => T(null, null, function* () {
590
590
  return import("../chunks/passport-registration-BGywpRar.js");
591
591
  })),
592
- Selfie: De(() => S(null, null, function* () {
592
+ Selfie: De(() => T(null, null, function* () {
593
593
  return import("../chunks/passport-selfie-Dsqd0uOf.js");
594
594
  })),
595
- Accept: De(() => S(null, null, function* () {
595
+ Accept: De(() => T(null, null, function* () {
596
596
  return import("../chunks/accept-icon-X_bMUe5T.js");
597
597
  }))
598
598
  };
@@ -732,6 +732,10 @@ const Xr = me(
732
732
  true: "opacity-64 cursor-not-allowed",
733
733
  false: ""
734
734
  },
735
+ isLoadingAndDisabled: {
736
+ true: "",
737
+ false: ""
738
+ },
735
739
  iconPosition: {
736
740
  start: "",
737
741
  end: ""
@@ -889,9 +893,9 @@ const Xr = me(
889
893
  children: c,
890
894
  iconProps: f,
891
895
  isLoading: d = !1,
892
- forceState: u,
896
+ disabled: u = !1,
897
+ forceState: b,
893
898
  "data-testid": x,
894
- disabled: b = !1,
895
899
  onClick: m
896
900
  } = C, y = L(C, [
897
901
  "className",
@@ -905,26 +909,26 @@ const Xr = me(
905
909
  "children",
906
910
  "iconProps",
907
911
  "isLoading",
912
+ "disabled",
908
913
  "forceState",
909
914
  "data-testid",
910
- "disabled",
911
915
  "onClick"
912
916
  ]);
913
- var k;
914
- const N = a ? Qt : "button", T = () => t === "primary" || t === "sber" || t === "telegram" ? "text-white" : t === "link" ? "text-primary" : "text-default", E = () => /* @__PURE__ */ n(
917
+ var z;
918
+ const N = a ? Qt : "button", S = !!u, E = d && S, M = () => t === "primary" || t === "sber" || t === "telegram" ? "text-white" : t === "link" ? "text-primary" : "text-default", R = () => /* @__PURE__ */ n(
915
919
  Ve,
916
920
  {
917
921
  size: 16,
918
922
  className: p(
919
923
  "absolute left-[50%] -translate-x-1/2",
920
- T()
924
+ M()
921
925
  )
922
926
  }
923
- ), M = () => l ? d ? E() : /* @__PURE__ */ n(V, w({ icon: l }, f)) : null, R = /* @__PURE__ */ I(pe, { children: [
924
- s === "start" && M(),
927
+ ), k = () => l ? d ? R() : /* @__PURE__ */ n(V, w({ icon: l }, f)) : null, D = /* @__PURE__ */ I(pe, { children: [
928
+ s === "start" && k(),
925
929
  d ? /* @__PURE__ */ n("div", { className: "invisible", children: c }) : c,
926
- d && !l && E(),
927
- s === "end" && M()
930
+ d && !l && R(),
931
+ s === "end" && k()
928
932
  ] });
929
933
  return /* @__PURE__ */ n(
930
934
  N,
@@ -937,19 +941,21 @@ const Xr = me(
937
941
  iconOnly: o,
938
942
  isActive: i,
939
943
  isLoading: d,
944
+ isLoadingAndDisabled: E,
940
945
  iconPosition: s
941
946
  }),
942
- u && ((k = ga[t]) == null ? void 0 : k[u]),
947
+ b && ((z = ga[t]) == null ? void 0 : z[b]),
943
948
  e
944
949
  ),
945
- disabled: d || b,
946
- "aria-disabled": d || b,
950
+ disabled: d || S,
951
+ "aria-disabled": d || S,
947
952
  ref: g,
948
- onClick: (D) => {
949
- d || b || m == null || m(D);
953
+ "data-state": E ? "disabled-loading" : void 0,
954
+ onClick: (_) => {
955
+ d || S || m == null || m(_);
950
956
  },
951
957
  "data-testid": x,
952
- children: o ? M() : R
958
+ children: o ? k() : D
953
959
  })
954
960
  );
955
961
  }
@@ -1006,30 +1012,30 @@ const Rr = me("", {
1006
1012
  "as",
1007
1013
  "copyable"
1008
1014
  ]);
1009
- const [d, u] = ee(!1), x = q(() => i ? typeof i == "boolean" ? {} : i : null, [i]), b = $(
1010
- (g) => S(null, null, function* () {
1011
- var C, N, T, E, M;
1012
- if (!x)
1015
+ const [d, u] = ee(!1), b = q(() => i ? typeof i == "boolean" ? {} : i : null, [i]), x = $(
1016
+ (g) => T(null, null, function* () {
1017
+ var C, N, S, E, M;
1018
+ if (!b)
1013
1019
  return;
1014
1020
  g.preventDefault(), g.stopPropagation(), g.nativeEvent.stopImmediatePropagation();
1015
- const h = (T = (N = x.text) != null ? N : (C = g.currentTarget.textContent) == null ? void 0 : C.trim()) != null ? T : "";
1021
+ const h = (S = (N = b.text) != null ? N : (C = g.currentTarget.textContent) == null ? void 0 : C.trim()) != null ? S : "";
1016
1022
  try {
1017
- yield navigator.clipboard.writeText(h), (E = x.onCopy) == null || E.call(x), u(!0), setTimeout(() => u(!1), (M = x.duration) != null ? M : 1500);
1023
+ yield navigator.clipboard.writeText(h), (E = b.onCopy) == null || E.call(b), u(!0), setTimeout(() => u(!1), (M = b.duration) != null ? M : 1500);
1018
1024
  } catch (R) {
1019
1025
  }
1020
1026
  }),
1021
- [x]
1027
+ [b]
1022
1028
  );
1023
1029
  let m = a;
1024
1030
  t && ["h0", "h1", "h2", "h3", "h4", "h5"].includes(t) && !a && (m = "bold");
1025
1031
  const y = o;
1026
- return x ? /* @__PURE__ */ I(
1032
+ return b ? /* @__PURE__ */ I(
1027
1033
  y,
1028
1034
  F(w({
1029
1035
  ref: l,
1030
1036
  role: "button",
1031
1037
  tabIndex: 0,
1032
- onClick: b,
1038
+ onClick: x,
1033
1039
  className: p(
1034
1040
  "group hover:text-default inline-flex cursor-pointer items-center select-text",
1035
1041
  Rr({
@@ -1082,11 +1088,11 @@ const qr = Et({}), ba = 384, en = v.forwardRef(
1082
1088
  "onOpenChange",
1083
1089
  "defaultOpen"
1084
1090
  ]);
1085
- const d = a !== void 0, [u, x] = v.useState(
1091
+ const d = a !== void 0, [u, b] = v.useState(
1086
1092
  i != null ? i : !1
1087
- ), b = d ? a : u, m = v.useCallback(
1093
+ ), x = d ? a : u, m = v.useCallback(
1088
1094
  (C) => {
1089
- d || x(C), o == null || o(C);
1095
+ d || b(C), o == null || o(C);
1090
1096
  },
1091
1097
  [d, o]
1092
1098
  ), y = v.useCallback(() => {
@@ -1104,7 +1110,7 @@ const qr = Et({}), ba = 384, en = v.forwardRef(
1104
1110
  }),
1105
1111
  [e, y, t, g]
1106
1112
  );
1107
- return /* @__PURE__ */ n(qr.Provider, { value: h, children: /* @__PURE__ */ n(he.Root, w({ open: b, onOpenChange: m }, s)) });
1113
+ return /* @__PURE__ */ n(qr.Provider, { value: h, children: /* @__PURE__ */ n(he.Root, w({ open: x, onOpenChange: m }, s)) });
1108
1114
  }
1109
1115
  ), tn = v.forwardRef((o, a) => {
1110
1116
  var i = o, { className: e, asChild: t = !1 } = i, r = L(i, ["className", "asChild"]);
@@ -1113,7 +1119,11 @@ const qr = Et({}), ba = 384, en = v.forwardRef(
1113
1119
  w({
1114
1120
  ref: a,
1115
1121
  asChild: t,
1116
- className: p("font-graphik cursor-pointer outline-none", e)
1122
+ className: p(
1123
+ "cursor-pointer outline-none",
1124
+ !t && "font-graphik",
1125
+ e
1126
+ )
1117
1127
  }, r)
1118
1128
  );
1119
1129
  });
@@ -1177,8 +1187,8 @@ const nn = v.forwardRef(
1177
1187
  "onClick",
1178
1188
  "value"
1179
1189
  ]);
1180
- const { onClose: u, onValueChange: x } = Rt(qr), b = a ? {} : l, m = (g) => {
1181
- r || (i == null || i(g), s !== void 0 && (x == null || x(s)), u == null || u());
1190
+ const { onClose: u, onValueChange: b } = Rt(qr), x = a ? {} : l, m = (g) => {
1191
+ r || (i == null || i(g), s !== void 0 && (b == null || b(s)), u == null || u());
1182
1192
  }, y = /* @__PURE__ */ n(
1183
1193
  "div",
1184
1194
  F(w({
@@ -1192,7 +1202,7 @@ const nn = v.forwardRef(
1192
1202
  ),
1193
1203
  onClick: m,
1194
1204
  role: "menuitem"
1195
- }, b), {
1205
+ }, x), {
1196
1206
  children: t
1197
1207
  })
1198
1208
  );
@@ -1320,8 +1330,8 @@ const Na = {
1320
1330
  iconName: "InfoFillIcon"
1321
1331
  }
1322
1332
  }, Ia = v.forwardRef(
1323
- (x, u) => {
1324
- var b = x, {
1333
+ (b, u) => {
1334
+ var x = b, {
1325
1335
  variant: e,
1326
1336
  title: t,
1327
1337
  description: r,
@@ -1332,7 +1342,7 @@ const Na = {
1332
1342
  onClose: l,
1333
1343
  className: c,
1334
1344
  "data-testid": f
1335
- } = b, d = L(b, [
1345
+ } = x, d = L(x, [
1336
1346
  "variant",
1337
1347
  "title",
1338
1348
  "description",
@@ -1536,15 +1546,15 @@ const Fe = v.forwardRef(
1536
1546
  fullWidthContainer: f = !0,
1537
1547
  fullWidth: d = !0,
1538
1548
  disabled: u = !1,
1539
- containerClassName: x,
1540
- inlineSelect: b,
1549
+ containerClassName: b,
1550
+ inlineSelect: x,
1541
1551
  prefixContainer: m,
1542
1552
  autoFocus: y,
1543
1553
  suffix: g,
1544
1554
  showErrorMessage: h = !0,
1545
1555
  onClear: C,
1546
1556
  value: N,
1547
- "data-testid": T
1557
+ "data-testid": S
1548
1558
  } = k, E = L(k, [
1549
1559
  "className",
1550
1560
  "type",
@@ -1596,7 +1606,7 @@ const Fe = v.forwardRef(
1596
1606
  "h-10 rounded-xl": r === "lg",
1597
1607
  "bg-muted cursor-not-allowed": u
1598
1608
  },
1599
- x
1609
+ b
1600
1610
  ),
1601
1611
  children: [
1602
1612
  m && /* @__PURE__ */ n("div", { className: "flex items-center pl-1", children: m }),
@@ -1642,18 +1652,18 @@ const Fe = v.forwardRef(
1642
1652
  value: N,
1643
1653
  disabled: u,
1644
1654
  autoFocus: y,
1645
- "data-testid": T
1655
+ "data-testid": S
1646
1656
  }, E)
1647
1657
  ),
1648
- (b || a || l || i || g || z) && /* @__PURE__ */ I("div", { className: "flex items-center gap-1.5 pr-2", children: [
1658
+ (x || a || l || i || g || z) && /* @__PURE__ */ I("div", { className: "flex items-center gap-1.5 pr-2", children: [
1649
1659
  g && /* @__PURE__ */ n("div", { className: "font-graphik flex items-center text-[16px]", children: g }),
1650
- b && /* @__PURE__ */ n(
1660
+ x && /* @__PURE__ */ n(
1651
1661
  "div",
1652
1662
  {
1653
1663
  className: p(
1654
1664
  "relative inline-block max-w-[110px] overflow-hidden"
1655
1665
  ),
1656
- children: /* @__PURE__ */ n("div", { className: "[&_*]:font-cofo [&_*]:max-w-[110px] [&_*]:overflow-hidden [&_*]:text-ellipsis [&_*]:whitespace-nowrap [&_button]:w-auto [&_button]:min-w-0 [&_button]:px-0 [&_button]:py-0 [&_div[data-radix-popper-content-wrapper]]:!w-auto [&_div[data-radix-select-content]]:!w-auto [&_div[data-radix-select-content]]:!min-w-[120px] [&_span:not([data-radix-select-icon])]:max-w-[85px] [&_svg]:text-default [&_svg]:flex-shrink-0", children: b })
1666
+ children: /* @__PURE__ */ n("div", { className: "[&_*]:font-cofo [&_*]:max-w-[110px] [&_*]:overflow-hidden [&_*]:text-ellipsis [&_*]:whitespace-nowrap [&_button]:w-auto [&_button]:min-w-0 [&_button]:px-0 [&_button]:py-0 [&_div[data-radix-popper-content-wrapper]]:!w-auto [&_div[data-radix-select-content]]:!w-auto [&_div[data-radix-select-content]]:!min-w-[120px] [&_span:not([data-radix-select-icon])]:max-w-[85px] [&_svg]:text-default [&_svg]:flex-shrink-0", children: x })
1657
1667
  }
1658
1668
  ),
1659
1669
  a && !l && c === "right" && /* @__PURE__ */ n(
@@ -1725,8 +1735,8 @@ const Ta = v.forwardRef(
1725
1735
  if (o.current) {
1726
1736
  const d = o.current.value.length;
1727
1737
  requestAnimationFrame(() => {
1728
- var u, x;
1729
- (u = o.current) == null || u.focus(), (x = o.current) == null || x.setSelectionRange(d, d);
1738
+ var u, b;
1739
+ (u = o.current) == null || u.focus(), (b = o.current) == null || b.setSelectionRange(d, d);
1730
1740
  });
1731
1741
  }
1732
1742
  }, []);
@@ -1883,10 +1893,10 @@ function vl({
1883
1893
  caption: f,
1884
1894
  error: d,
1885
1895
  renderOption: u,
1886
- size: x = "md"
1896
+ size: b = "md"
1887
1897
  }) {
1888
1898
  var R;
1889
- const [b, m] = v.useState(!1), [y, g] = v.useState(
1899
+ const [x, m] = v.useState(!1), [y, g] = v.useState(
1890
1900
  t && ((R = e.find((k) => k.value === t)) == null ? void 0 : R.label) || ""
1891
1901
  ), h = v.useRef(null), C = v.useMemo(() => e.filter(
1892
1902
  (k) => k.label.toLowerCase().includes(y.toLowerCase())
@@ -1903,23 +1913,23 @@ function vl({
1903
1913
  D && (r(D.value, D), g(D.label)), m(!1);
1904
1914
  },
1905
1915
  [e, r]
1906
- ), T = v.useCallback(
1916
+ ), S = v.useCallback(
1907
1917
  (k) => {
1908
1918
  g(k.target.value), o == null || o(k.target.value), m(!0);
1909
1919
  },
1910
1920
  []
1911
1921
  ), E = v.useCallback(() => {
1912
- b ? m(!1) : (m(!0), setTimeout(() => {
1922
+ x ? m(!1) : (m(!0), setTimeout(() => {
1913
1923
  var k;
1914
1924
  (k = h.current) == null || k.focus();
1915
1925
  }, 0));
1916
- }, [b]), M = v.useCallback((k) => {
1926
+ }, [x]), M = v.useCallback((k) => {
1917
1927
  m(k), k && setTimeout(() => {
1918
1928
  var D;
1919
1929
  (D = h.current) == null || D.focus();
1920
1930
  }, 0);
1921
1931
  }, []);
1922
- return /* @__PURE__ */ n($e, { open: b, onOpenChange: M, children: /* @__PURE__ */ I("div", { className: "relative", children: [
1932
+ return /* @__PURE__ */ n($e, { open: x, onOpenChange: M, children: /* @__PURE__ */ I("div", { className: "relative", children: [
1923
1933
  /* @__PURE__ */ n(Ye, { asChild: !0, children: /* @__PURE__ */ I("div", { className: "w-full", children: [
1924
1934
  c && /* @__PURE__ */ n(
1925
1935
  O,
@@ -1927,8 +1937,8 @@ function vl({
1927
1937
  variant: "p3",
1928
1938
  weight: "medium",
1929
1939
  className: p("mb-1", {
1930
- "text-[14px]": x === "md",
1931
- "text-[16px]": x === "lg"
1940
+ "text-[14px]": b === "md",
1941
+ "text-[16px]": b === "lg"
1932
1942
  }),
1933
1943
  children: c
1934
1944
  }
@@ -1939,11 +1949,11 @@ function vl({
1939
1949
  ref: h,
1940
1950
  placeholder: a,
1941
1951
  value: y,
1942
- onChange: T,
1952
+ onChange: S,
1943
1953
  onClick: E,
1944
1954
  className: p("w-full", s),
1945
1955
  disabled: l,
1946
- size: x
1956
+ size: b
1947
1957
  }
1948
1958
  ),
1949
1959
  f && /* @__PURE__ */ n(O, { variant: "p1", className: "mt-1", textColor: "secondary", children: f }),
@@ -2005,7 +2015,7 @@ const Ra = {
2005
2015
  default: 10,
2006
2016
  large: 12,
2007
2017
  extra: 16
2008
- }[r], x = {
2018
+ }[r], b = {
2009
2019
  small: "-top-2 -right-0.5",
2010
2020
  default: "-top-1.5 -right-0.5",
2011
2021
  large: "-top-1.5 -right-0.5",
@@ -2029,7 +2039,7 @@ const Ra = {
2029
2039
  "span",
2030
2040
  {
2031
2041
  "aria-hidden": "true",
2032
- className: p("pointer-events-none select-none absolute", x),
2042
+ className: p("pointer-events-none select-none absolute", b),
2033
2043
  children: /* @__PURE__ */ n(V, { icon: "ErrorFillIcon", className: "text-destructive", size: u })
2034
2044
  }
2035
2045
  )
@@ -2059,17 +2069,17 @@ const Ba = Ce.forwardRef((c, l) => {
2059
2069
  return r;
2060
2070
  if (o)
2061
2071
  return fa(a);
2062
- }, [o, r, a]), x = u ? Fa[u] : "bg-muted", b = u ? La[u] : "text-foreground";
2072
+ }, [o, r, a]), b = u ? Fa[u] : "bg-muted", x = u ? La[u] : "text-foreground";
2063
2073
  return /* @__PURE__ */ n(
2064
2074
  Ue.Fallback,
2065
2075
  F(w({
2066
2076
  ref: l,
2067
2077
  className: p(
2068
2078
  "flex h-full w-full items-center justify-center rounded-[inherit]",
2069
- x,
2079
+ b,
2070
2080
  // Text: шрифт Моно (CoFo), цвет в тон фону/контраст
2071
2081
  "font-cofo font-normal",
2072
- b,
2082
+ x,
2073
2083
  d,
2074
2084
  e
2075
2085
  )
@@ -2080,8 +2090,8 @@ const Ba = Ce.forwardRef((c, l) => {
2080
2090
  });
2081
2091
  Ba.displayName = Ue.Fallback.displayName;
2082
2092
  const Oa = new URL("../assets/alfa-BqdpLXjE.png", import.meta.url).href, _a = new URL("../assets/doc-CA2MQk3m.webp", import.meta.url).href, Ga = new URL("../assets/download-D4NtsTXF.webp", import.meta.url).href, Wa = new URL("../assets/headphones-b1FlU-5n.webp", import.meta.url).href, Va = new URL("../assets/magnifying-glass-DnHnztsH.webp", import.meta.url).href, ja = new URL("../assets/mandarin-O1JQvcin.png", import.meta.url).href, Ha = new URL("../assets/person-Dnyaeaax.webp", import.meta.url).href, Ka = new URL("../assets/plus-XlrU9iHE.webp", import.meta.url).href, Ua = new URL("../assets/pocket-DumMTe-y.webp", import.meta.url).href, $a = new URL("../assets/tbank-DHDEULnP.png", import.meta.url).href, Ya = new URL("../assets/torn-paper-Bxt8F9jg.webp", import.meta.url).href, Ke = v.forwardRef(
2083
- (x, u) => {
2084
- var b = x, {
2093
+ (b, u) => {
2094
+ var x = b, {
2085
2095
  className: e,
2086
2096
  bordered: t = !1,
2087
2097
  radius: r = "md",
@@ -2092,7 +2102,7 @@ const Oa = new URL("../assets/alfa-BqdpLXjE.png", import.meta.url).href, _a = ne
2092
2102
  justify: l = "start",
2093
2103
  align: c = "start",
2094
2104
  children: f
2095
- } = b, d = L(b, [
2105
+ } = x, d = L(x, [
2096
2106
  "className",
2097
2107
  "bordered",
2098
2108
  "radius",
@@ -2355,8 +2365,8 @@ function ro({
2355
2365
  selectedDate: s,
2356
2366
  days: f,
2357
2367
  setSelectedDate: (u) => {
2358
- const x = ot(u);
2359
- l(x), a == null || a(x);
2368
+ const b = ot(u);
2369
+ l(b), a == null || a(b);
2360
2370
  }
2361
2371
  };
2362
2372
  }
@@ -2380,20 +2390,20 @@ const Il = (f) => {
2380
2390
  "onScrollComplete",
2381
2391
  "testIds"
2382
2392
  ]);
2383
- const { days: u, selectedDate: x, setSelectedDate: b } = ro(F(w({}, c), {
2393
+ const { days: u, selectedDate: b, setSelectedDate: x } = ro(F(w({}, c), {
2384
2394
  onChange: e
2385
2395
  })), m = fe(null), y = $((N) => {
2386
- const T = m.current;
2387
- if (T) {
2396
+ const S = m.current;
2397
+ if (S) {
2388
2398
  const E = Xa * ze;
2389
- T.scrollBy({ left: N > 0 ? E : -546, behavior: "smooth" });
2399
+ S.scrollBy({ left: N > 0 ? E : -546, behavior: "smooth" });
2390
2400
  }
2391
- }, []), g = (N) => N.getTime() === x.getTime(), h = $((N, T = !1) => {
2401
+ }, []), g = (N) => N.getTime() === b.getTime(), h = $((N, S = !1) => {
2392
2402
  if (m.current && u.length > 0) {
2393
2403
  const E = u.findIndex((M) => M.getTime() === Re(N).getTime());
2394
2404
  if (E !== -1) {
2395
2405
  const M = m.current.offsetWidth, k = window.innerWidth < ln ? E * ze : E * ze - M / 2 + ze / 2;
2396
- T ? m.current.scrollTo({ left: Math.max(0, k), behavior: "smooth" }) : m.current.scrollLeft = Math.max(0, k);
2406
+ S ? m.current.scrollTo({ left: Math.max(0, k), behavior: "smooth" }) : m.current.scrollLeft = Math.max(0, k);
2397
2407
  }
2398
2408
  }
2399
2409
  }, [u]);
@@ -2405,7 +2415,7 @@ const Il = (f) => {
2405
2415
  }, []), de(() => {
2406
2416
  if (i && u.length > 0 && m.current) {
2407
2417
  const N = setTimeout(() => {
2408
- var T;
2418
+ var S;
2409
2419
  if (i.mode === "date")
2410
2420
  h(i.date, !0);
2411
2421
  else {
@@ -2416,7 +2426,7 @@ const Il = (f) => {
2416
2426
  )), M = u.findIndex((R) => R.getTime() === E.getTime());
2417
2427
  if (M !== -1) {
2418
2428
  const R = M * ze;
2419
- (T = m.current) == null || T.scrollTo({ left: Math.max(0, R), behavior: "smooth" });
2429
+ (S = m.current) == null || S.scrollTo({ left: Math.max(0, R), behavior: "smooth" });
2420
2430
  }
2421
2431
  }
2422
2432
  setTimeout(() => {
@@ -2429,11 +2439,11 @@ const Il = (f) => {
2429
2439
  const C = fe([]);
2430
2440
  return de(() => {
2431
2441
  if (m.current && u.length > 0 && C.current.length > 0) {
2432
- const T = C.current[0], E = u[0], M = u.findIndex((R) => R.getTime() === T.getTime());
2442
+ const S = C.current[0], E = u[0], M = u.findIndex((R) => R.getTime() === S.getTime());
2433
2443
  if (M > 0)
2434
2444
  m.current.scrollLeft += M * ze;
2435
2445
  else if (M === -1) {
2436
- const R = T.getTime(), k = E.getTime();
2446
+ const R = S.getTime(), k = E.getTime();
2437
2447
  if (k < R) {
2438
2448
  const D = Math.round((R - k) / 864e5);
2439
2449
  m.current.scrollLeft += D * ze;
@@ -2470,7 +2480,7 @@ const Il = (f) => {
2470
2480
  {
2471
2481
  date: N,
2472
2482
  selected: g(N),
2473
- onClick: () => b(N),
2483
+ onClick: () => x(N),
2474
2484
  renderBadge: r,
2475
2485
  className: t
2476
2486
  },
@@ -2552,8 +2562,8 @@ const or = v.forwardRef((s, i) => {
2552
2562
  });
2553
2563
  or.displayName = "SelectItem";
2554
2564
  const ir = v.forwardRef(
2555
- (T, N) => {
2556
- var E = T, {
2565
+ (S, N) => {
2566
+ var E = S, {
2557
2567
  className: e,
2558
2568
  children: t,
2559
2569
  size: r = "md",
@@ -2566,8 +2576,8 @@ const ir = v.forwardRef(
2566
2576
  multiple: f,
2567
2577
  selectedValues: d,
2568
2578
  onValueRemove: u,
2569
- disabled: x,
2570
- "data-testid": b,
2579
+ disabled: b,
2580
+ "data-testid": x,
2571
2581
  showErrorMessage: m = !0,
2572
2582
  clearable: y = !1,
2573
2583
  onClear: g,
@@ -2600,7 +2610,7 @@ const ir = v.forwardRef(
2600
2610
  const j = R.current;
2601
2611
  if (!j)
2602
2612
  return;
2603
- const P = j.offsetWidth, W = c ? 60 : 0, _ = 20, J = o ? 20 : 0, H = P - W - _ - J - 16 - 30;
2613
+ const P = j.offsetWidth, W = c ? 60 : 0, G = 20, J = o ? 20 : 0, H = P - W - G - J - 16 - 30;
2604
2614
  let re = 0, ne = 0;
2605
2615
  const be = 12, oe = 20, Te = 4, K = 7;
2606
2616
  for (let Y = 0; Y < d.length; Y++) {
@@ -2613,9 +2623,9 @@ const ir = v.forwardRef(
2613
2623
  D(Math.max(1, re));
2614
2624
  };
2615
2625
  z();
2616
- const G = new ResizeObserver(z);
2617
- return G.observe(R.current), () => {
2618
- G.disconnect();
2626
+ const _ = new ResizeObserver(z);
2627
+ return _.observe(R.current), () => {
2628
+ _.disconnect();
2619
2629
  };
2620
2630
  }, [d, c, o, M]), /* @__PURE__ */ I("div", { className: "w-full", children: [
2621
2631
  a && /* @__PURE__ */ n(
@@ -2666,7 +2676,7 @@ const ir = v.forwardRef(
2666
2676
  e
2667
2677
  )
2668
2678
  }, C), {
2669
- "data-testid": b,
2679
+ "data-testid": x,
2670
2680
  children: [
2671
2681
  /* @__PURE__ */ n(
2672
2682
  "div",
@@ -2683,18 +2693,18 @@ const ir = v.forwardRef(
2683
2693
  /* @__PURE__ */ n(
2684
2694
  "div",
2685
2695
  {
2686
- onPointerDown: (G) => {
2687
- x || (G.preventDefault(), G.stopPropagation());
2696
+ onPointerDown: (_) => {
2697
+ b || (_.preventDefault(), _.stopPropagation());
2688
2698
  },
2689
- onClick: (G) => {
2690
- x || (G.preventDefault(), G.stopPropagation(), u == null || u(z));
2699
+ onClick: (_) => {
2700
+ b || (_.preventDefault(), _.stopPropagation(), u == null || u(z));
2691
2701
  },
2692
- onMouseDown: (G) => {
2693
- x || (G.preventDefault(), G.stopPropagation());
2702
+ onMouseDown: (_) => {
2703
+ b || (_.preventDefault(), _.stopPropagation());
2694
2704
  },
2695
2705
  className: p(
2696
2706
  "flex cursor-pointer items-center rounded p-0.5 hover:bg-gray-200",
2697
- x && "cursor-not-allowed opacity-50"
2707
+ b && "cursor-not-allowed opacity-50"
2698
2708
  ),
2699
2709
  children: /* @__PURE__ */ n(
2700
2710
  V,
@@ -2732,20 +2742,20 @@ const ir = v.forwardRef(
2732
2742
  "div",
2733
2743
  {
2734
2744
  onPointerDown: (z) => {
2735
- x || (z.preventDefault(), z.stopPropagation());
2745
+ b || (z.preventDefault(), z.stopPropagation());
2736
2746
  },
2737
2747
  onClick: (z) => {
2738
- x || (z.preventDefault(), z.stopPropagation(), g == null || g());
2748
+ b || (z.preventDefault(), z.stopPropagation(), g == null || g());
2739
2749
  },
2740
2750
  onMouseDown: (z) => {
2741
- x || (z.preventDefault(), z.stopPropagation());
2751
+ b || (z.preventDefault(), z.stopPropagation());
2742
2752
  },
2743
2753
  onKeyDown: (z) => {
2744
- x || (z.key === "Enter" || z.key === " ") && (z.preventDefault(), z.stopPropagation(), g == null || g());
2754
+ b || (z.key === "Enter" || z.key === " ") && (z.preventDefault(), z.stopPropagation(), g == null || g());
2745
2755
  },
2746
2756
  className: p(
2747
2757
  "flex cursor-pointer items-center justify-center rounded-full p-[2px] hover:bg-muted transition-colors focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-1",
2748
- x && "cursor-not-allowed opacity-50"
2758
+ b && "cursor-not-allowed opacity-50"
2749
2759
  ),
2750
2760
  role: "button",
2751
2761
  tabIndex: 0,
@@ -2844,9 +2854,9 @@ const Cl = ge.Group, no = v.forwardRef((i, o) => {
2844
2854
  if (!v.isValidElement(d))
2845
2855
  return d;
2846
2856
  if (((u = d.type) == null ? void 0 : u.displayName) === "SelectItem") {
2847
- const x = o ? r.includes(d.props.value) : a === d.props.value;
2857
+ const b = o ? r.includes(d.props.value) : a === d.props.value;
2848
2858
  return v.cloneElement(d, {
2849
- selected: x,
2859
+ selected: b,
2850
2860
  size: i || "md"
2851
2861
  });
2852
2862
  }
@@ -2905,10 +2915,10 @@ const io = ge.Root, so = v.forwardRef(
2905
2915
  "dir",
2906
2916
  "size"
2907
2917
  ]);
2908
- const x = (m) => {
2918
+ const b = (m) => {
2909
2919
  const y = t.includes(m) ? t.filter((g) => g !== m) : [...t, m];
2910
2920
  r == null || r(y);
2911
- }, b = (m) => {
2921
+ }, x = (m) => {
2912
2922
  if (a)
2913
2923
  return;
2914
2924
  const y = t.filter((g) => g !== m);
@@ -2921,7 +2931,7 @@ const io = ge.Root, so = v.forwardRef(
2921
2931
  key: t.sort().join("|"),
2922
2932
  value: void 0,
2923
2933
  defaultValue: void 0,
2924
- onValueChange: x,
2934
+ onValueChange: b,
2925
2935
  open: o,
2926
2936
  onOpenChange: i
2927
2937
  }),
@@ -2930,7 +2940,7 @@ const io = ge.Root, so = v.forwardRef(
2930
2940
  return v.isValidElement(m) ? ((y = m.type) == null ? void 0 : y.displayName) === "SelectTrigger" ? v.cloneElement(m, F(w({}, m.props), {
2931
2941
  multiple: !0,
2932
2942
  selectedValues: t,
2933
- onValueRemove: b,
2943
+ onValueRemove: x,
2934
2944
  disabled: a,
2935
2945
  size: l
2936
2946
  })) : ((g = m.type) == null ? void 0 : g.displayName) === "SelectContent" ? v.cloneElement(m, F(w({}, m.props), {
@@ -2962,20 +2972,20 @@ const kl = ({
2962
2972
  de(() => {
2963
2973
  e && f(e);
2964
2974
  }, [e]);
2965
- const x = q(() => {
2975
+ const b = q(() => {
2966
2976
  const g = [];
2967
2977
  for (let h = -12; h <= 12; h++) {
2968
2978
  const C = Xt(new Date(s.getFullYear(), s.getMonth(), 1), h);
2969
2979
  g.push({ value: Ar(C), label: Ut(C), date: C });
2970
2980
  }
2971
2981
  return g;
2972
- }, []), b = q(() => {
2982
+ }, []), x = q(() => {
2973
2983
  if (d)
2974
2984
  return d;
2975
2985
  const g = new Date(c.getFullYear(), c.getMonth(), 1);
2976
2986
  return Ar(g);
2977
2987
  }, [c, d]), m = (g) => {
2978
- const h = x.find((N) => N.value === g);
2988
+ const h = b.find((N) => N.value === g);
2979
2989
  if (!h)
2980
2990
  return;
2981
2991
  u(g);
@@ -2988,7 +2998,7 @@ const kl = ({
2988
2998
  }
2989
2999
  return Ut(c);
2990
3000
  }, [a, c]);
2991
- return /* @__PURE__ */ I(io, { value: b, onValueChange: m, children: [
3001
+ return /* @__PURE__ */ I(io, { value: x, onValueChange: m, children: [
2992
3002
  /* @__PURE__ */ n(
2993
3003
  ir,
2994
3004
  {
@@ -3000,7 +3010,7 @@ const kl = ({
3000
3010
  children: /* @__PURE__ */ n(no, { children: /* @__PURE__ */ n(O, { variant: "h1", weight: "normal", children: y }) })
3001
3011
  }
3002
3012
  ),
3003
- /* @__PURE__ */ n(sr, { size: "lg", children: x.map((g) => /* @__PURE__ */ n(or, { value: g.value, children: g.label }, g.value)) })
3013
+ /* @__PURE__ */ n(sr, { size: "lg", children: b.map((g) => /* @__PURE__ */ n(or, { value: g.value, children: g.label }, g.value)) })
3004
3014
  ] });
3005
3015
  };
3006
3016
  function Sl({
@@ -3020,12 +3030,12 @@ function Sl({
3020
3030
  i(y);
3021
3031
  const g = It(y);
3022
3032
  JSON.stringify(s) !== JSON.stringify(g) && l(g), r == null || r(y);
3023
- }, [r, s]), x = $((y) => {
3033
+ }, [r, s]), b = $((y) => {
3024
3034
  if (l(y), y.length > 0) {
3025
3035
  const g = Math.floor(y.length / 2), h = y[g], C = new Date(h.year, h.month, 1);
3026
3036
  f({ date: C, timestamp: Date.now(), mode: "monthStart" });
3027
3037
  }
3028
- }, []), b = $(() => {
3038
+ }, []), x = $(() => {
3029
3039
  f(void 0);
3030
3040
  }, []), m = $(() => {
3031
3041
  const y = /* @__PURE__ */ new Date();
@@ -3037,9 +3047,9 @@ function Sl({
3037
3047
  selectedDate: o,
3038
3048
  months: s,
3039
3049
  handleDateChange: u,
3040
- handleMonthsChange: x,
3050
+ handleMonthsChange: b,
3041
3051
  scrollTrigger: c,
3042
- clearScrollTrigger: b,
3052
+ clearScrollTrigger: x,
3043
3053
  resetToToday: m
3044
3054
  };
3045
3055
  }
@@ -3076,7 +3086,7 @@ const lo = window.innerWidth < ln, co = {
3076
3086
  "onClose",
3077
3087
  "color"
3078
3088
  ]);
3079
- const x = i ? co[i] : void 0;
3089
+ const b = i ? co[i] : void 0;
3080
3090
  return t === "inline" ? /* @__PURE__ */ n(
3081
3091
  Ke,
3082
3092
  F(w({
@@ -3093,12 +3103,12 @@ const lo = window.innerWidth < ln, co = {
3093
3103
  )
3094
3104
  }, c), {
3095
3105
  children: /* @__PURE__ */ I("div", { className: "flex w-full items-start gap-3 md:justify-between", children: [
3096
- x && /* @__PURE__ */ I("div", { className: "flex-shrink-0", children: [
3106
+ b && /* @__PURE__ */ I("div", { className: "flex-shrink-0", children: [
3097
3107
  /* @__PURE__ */ n(
3098
3108
  "img",
3099
3109
  {
3100
3110
  className: "hidden md:block",
3101
- src: x,
3111
+ src: b,
3102
3112
  alt: "location-banner",
3103
3113
  height: 80
3104
3114
  }
@@ -3107,7 +3117,7 @@ const lo = window.innerWidth < ln, co = {
3107
3117
  "img",
3108
3118
  {
3109
3119
  className: "block md:hidden",
3110
- src: x,
3120
+ src: b,
3111
3121
  alt: "location-banner",
3112
3122
  height: 40
3113
3123
  }
@@ -3164,7 +3174,7 @@ const lo = window.innerWidth < ln, co = {
3164
3174
  ] }),
3165
3175
  o && /* @__PURE__ */ n("div", { className: "z-11", children: o })
3166
3176
  ] }),
3167
- x && /* @__PURE__ */ I(pe, { children: [
3177
+ b && /* @__PURE__ */ I(pe, { children: [
3168
3178
  /* @__PURE__ */ n(
3169
3179
  "div",
3170
3180
  {
@@ -3181,7 +3191,7 @@ const lo = window.innerWidth < ln, co = {
3181
3191
  "img",
3182
3192
  {
3183
3193
  className: "absolute top-1/2 -translate-y-1/2 right-30 z-10 hidden md:block",
3184
- src: x,
3194
+ src: b,
3185
3195
  alt: "location-banner",
3186
3196
  height: 180
3187
3197
  }
@@ -3190,7 +3200,7 @@ const lo = window.innerWidth < ln, co = {
3190
3200
  "img",
3191
3201
  {
3192
3202
  className: "absolute right-[-10px] bottom-[-50px] z-10 md:hidden",
3193
- src: x,
3203
+ src: b,
3194
3204
  alt: "location-banner",
3195
3205
  height: 180
3196
3206
  }
@@ -3288,20 +3298,20 @@ function po(e) {
3288
3298
  onCheckedChange: c,
3289
3299
  ref: f,
3290
3300
  "data-testid": d
3291
- } = e, u = a === "md" ? 16 : 24, x = v.useId(), b = l || x, m = i || !1, [y, g] = v.useState(!1), h = s !== void 0, C = h ? s : y, N = () => C === !0 ? "checked" : C === "indeterminate" ? "indeterminate" : "unchecked", T = (M) => {
3301
+ } = e, u = a === "md" ? 16 : 24, b = v.useId(), x = l || b, m = i || !1, [y, g] = v.useState(!1), h = s !== void 0, C = h ? s : y, N = () => C === !0 ? "checked" : C === "indeterminate" ? "indeterminate" : "unchecked", S = (M) => {
3292
3302
  h && c ? c(M) : h || g(M);
3293
3303
  }, E = /* @__PURE__ */ n(
3294
3304
  Mr.Root,
3295
3305
  {
3296
3306
  ref: f,
3297
- id: b,
3307
+ id: x,
3298
3308
  className: p(
3299
3309
  fo({ size: a, state: N(), isDisabled: m }),
3300
3310
  r || (o ? void 0 : t)
3301
3311
  ),
3302
3312
  disabled: m,
3303
3313
  checked: C,
3304
- onCheckedChange: T,
3314
+ onCheckedChange: S,
3305
3315
  "data-testid": d,
3306
3316
  children: /* @__PURE__ */ I(Mr.Indicator, { className: "flex h-full w-full items-center justify-center", children: [
3307
3317
  C === "indeterminate" && /* @__PURE__ */ n("div", { className: mo({ size: a }) }),
@@ -3314,7 +3324,7 @@ function po(e) {
3314
3324
  /* @__PURE__ */ n(
3315
3325
  "label",
3316
3326
  {
3317
- htmlFor: b,
3327
+ htmlFor: x,
3318
3328
  className: p(
3319
3329
  "font-graphik m-0 cursor-pointer text-[14px] leading-[20px] font-normal",
3320
3330
  m && "cursor-not-allowed opacity-40",
@@ -3346,8 +3356,8 @@ const er = v.forwardRef(
3346
3356
  disabled: f,
3347
3357
  iconSize: d = 16,
3348
3358
  placeholder: u = "Выберите...",
3349
- dropDownClassName: x,
3350
- notFoundText: b = "Ничего не найдено"
3359
+ dropDownClassName: b,
3360
+ notFoundText: x = "Ничего не найдено"
3351
3361
  }, m) => {
3352
3362
  var M;
3353
3363
  const [y, g] = v.useState(!1), h = v.useRef(null);
@@ -3357,15 +3367,15 @@ const er = v.forwardRef(
3357
3367
  return (R = h.current) == null ? void 0 : R.focus();
3358
3368
  });
3359
3369
  }, [y]);
3360
- const [C, N] = v.useState(""), T = v.useCallback((R) => {
3370
+ const [C, N] = v.useState(""), S = v.useCallback((R) => {
3361
3371
  if (typeof R == "string")
3362
3372
  return R;
3363
3373
  if (v.isValidElement(R)) {
3364
3374
  const k = R.props;
3365
- return typeof k.children == "string" ? k.children : Array.isArray(k.children) ? k.children.map(T).join(" ") : T(k.children);
3375
+ return typeof k.children == "string" ? k.children : Array.isArray(k.children) ? k.children.map(S).join(" ") : S(k.children);
3366
3376
  }
3367
3377
  return "";
3368
- }, []), E = v.useMemo(() => C ? e.filter((R) => T(R.label).toLowerCase().includes(C.toLowerCase())) : e, [e, C, T]);
3378
+ }, []), E = v.useMemo(() => C ? e.filter((R) => S(R.label).toLowerCase().includes(C.toLowerCase())) : e, [e, C, S]);
3369
3379
  return /* @__PURE__ */ I("div", { className: "w-full", children: [
3370
3380
  o && /* @__PURE__ */ n(O, { variant: "p3", weight: "medium", className: "mb-2.5", children: o }),
3371
3381
  /* @__PURE__ */ I(he.Root, { open: y, onOpenChange: g, modal: !0, children: [
@@ -3424,7 +3434,7 @@ const er = v.forwardRef(
3424
3434
  "max-h-80 w-[var(--radix-popover-trigger-width)] overflow-hidden",
3425
3435
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
3426
3436
  "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2 no-scrollbar",
3427
- x
3437
+ b
3428
3438
  ),
3429
3439
  children: [
3430
3440
  /* @__PURE__ */ n(
@@ -3444,7 +3454,7 @@ const er = v.forwardRef(
3444
3454
  }
3445
3455
  ),
3446
3456
  /* @__PURE__ */ I("div", { className: "max-h-60 overflow-y-auto", children: [
3447
- E.length === 0 && /* @__PURE__ */ n("div", { className: "text-muted-foreground px-3 py-2 text-sm", children: b }),
3457
+ E.length === 0 && /* @__PURE__ */ n("div", { className: "text-muted-foreground px-3 py-2 text-sm", children: x }),
3448
3458
  /* @__PURE__ */ n("div", { className: "flex flex-col gap-0.5 p-1", children: E.map((R) => /* @__PURE__ */ n(
3449
3459
  "div",
3450
3460
  {
@@ -3533,16 +3543,16 @@ function bo({
3533
3543
  const h = (g == null ? void 0 : g.value) !== void 0 && (g == null ? void 0 : g.value) !== null ? g.value : null;
3534
3544
  r == null || r(h);
3535
3545
  }
3536
- }), { selectItem: d, setInputValue: u, getInputProps: x } = y, b = L(y, ["selectItem", "setInputValue", "getInputProps"]), m = $((g) => {
3537
- const h = x(g);
3546
+ }), { selectItem: d, setInputValue: u, getInputProps: b } = y, x = L(y, ["selectItem", "setInputValue", "getInputProps"]), m = $((g) => {
3547
+ const h = b(g);
3538
3548
  return F(w({}, h), {
3539
3549
  onBlur: (C) => {
3540
3550
  var N;
3541
3551
  (N = h.onBlur) == null || N.call(h, C), o == null || o(C);
3542
3552
  }
3543
3553
  });
3544
- }, [x, o]);
3545
- return F(w({}, b), {
3554
+ }, [b, o]);
3555
+ return F(w({}, x), {
3546
3556
  selectItem: d,
3547
3557
  getInputProps: m,
3548
3558
  setInputValue: u
@@ -3589,17 +3599,17 @@ function yo({
3589
3599
  disabled: f = !1,
3590
3600
  error: d,
3591
3601
  placeholder: u = "Поиск...",
3592
- getLabel: x,
3593
- loading: b = !1,
3602
+ getLabel: b,
3603
+ loading: x = !1,
3594
3604
  isOpen: m,
3595
3605
  onOpenChange: y,
3596
3606
  onClear: g,
3597
3607
  clearable: h
3598
3608
  }) {
3599
- const C = $(x, []), N = q(() => r ? {
3609
+ const C = $(b, []), N = q(() => r ? {
3600
3610
  value: r,
3601
3611
  label: C(r)
3602
- } : null, [r, C]), T = bo({
3612
+ } : null, [r, C]), S = bo({
3603
3613
  items: t,
3604
3614
  value: N,
3605
3615
  onChange: a,
@@ -3609,17 +3619,17 @@ function yo({
3609
3619
  getLabel: C,
3610
3620
  isOpen: m,
3611
3621
  onOpenChange: y
3612
- }), E = xo(T.isOpen, b), M = q(() => ({
3622
+ }), E = xo(S.isOpen, x), M = q(() => ({
3613
3623
  // Combobox состояние
3614
- getInputProps: T.getInputProps,
3615
- getItemProps: T.getItemProps,
3616
- getMenuProps: T.getMenuProps,
3617
- getToggleButtonProps: T.getToggleButtonProps,
3618
- isOpen: T.isOpen,
3624
+ getInputProps: S.getInputProps,
3625
+ getItemProps: S.getItemProps,
3626
+ getMenuProps: S.getMenuProps,
3627
+ getToggleButtonProps: S.getToggleButtonProps,
3628
+ isOpen: S.isOpen,
3619
3629
  onOpenChange: y,
3620
- selectedItem: T.selectedItem,
3621
- setInputValue: T.setInputValue,
3622
- selectItem: T.selectItem,
3630
+ selectedItem: S.selectedItem,
3631
+ setInputValue: S.setInputValue,
3632
+ selectItem: S.selectItem,
3623
3633
  // Floating UI состояние
3624
3634
  refs: E.refs,
3625
3635
  floatingStyles: E.floatingStyles,
@@ -3633,13 +3643,13 @@ function yo({
3633
3643
  error: d,
3634
3644
  placeholder: u,
3635
3645
  onBlur: i,
3636
- loading: b,
3646
+ loading: x,
3637
3647
  items: t,
3638
3648
  getLabel: C,
3639
3649
  onClear: g,
3640
3650
  clearable: h
3641
3651
  }), [
3642
- T,
3652
+ S,
3643
3653
  E,
3644
3654
  s,
3645
3655
  l,
@@ -3918,14 +3928,14 @@ const xn = v.forwardRef(
3918
3928
  disabled: f,
3919
3929
  error: d,
3920
3930
  isOpen: u,
3921
- refs: x
3922
- } = ft(), b = $((m) => {
3923
- typeof a == "function" ? a(m) : a && (a.current = m), x.reference.current !== m && m !== null && x.setReference(m);
3924
- }, [a, x]);
3931
+ refs: b
3932
+ } = ft(), x = $((m) => {
3933
+ typeof a == "function" ? a(m) : a && (a.current = m), b.reference.current !== m && m !== null && b.setReference(m);
3934
+ }, [a, b]);
3925
3935
  return /* @__PURE__ */ n(
3926
3936
  "div",
3927
3937
  F(w({
3928
- ref: b,
3938
+ ref: x,
3929
3939
  className: p(
3930
3940
  hn(s, l, c, f, Pt(d)),
3931
3941
  t
@@ -4087,14 +4097,14 @@ function Lo({
4087
4097
  if (!v.isValidElement(d))
4088
4098
  return d;
4089
4099
  if (Dr(d.type, "List")) {
4090
- const x = v.Children.map(d.props.children, (m, y) => {
4100
+ const b = v.Children.map(d.props.children, (m, y) => {
4091
4101
  if (!v.isValidElement(m))
4092
4102
  return m;
4093
4103
  if (Dr(m.type, "Item"))
4094
4104
  try {
4095
4105
  const g = m.props, h = Yt(g.option), C = i.get(h);
4096
4106
  if (C) {
4097
- const { item: N, index: T } = C, E = s === h;
4107
+ const { item: N, index: S } = C, E = s === h;
4098
4108
  return /* @__PURE__ */ n(
4099
4109
  lr,
4100
4110
  F(w({
@@ -4102,14 +4112,14 @@ function Lo({
4102
4112
  className: g.className
4103
4113
  }, o({
4104
4114
  item: N,
4105
- index: T
4115
+ index: S
4106
4116
  })), {
4107
4117
  children: typeof g.children == "function" ? g.children(w({
4108
4118
  isSelected: E,
4109
4119
  className: g.className
4110
4120
  }, o({
4111
4121
  item: N,
4112
- index: T
4122
+ index: S
4113
4123
  }))) : g.children
4114
4124
  }),
4115
4125
  h
@@ -4119,17 +4129,17 @@ function Lo({
4119
4129
  return null;
4120
4130
  }
4121
4131
  return m;
4122
- }), b = /* @__PURE__ */ n(
4132
+ }), x = /* @__PURE__ */ n(
4123
4133
  St,
4124
4134
  {
4125
4135
  className: p("flex max-h-60 flex-col", t == null ? void 0 : t.scrollArea),
4126
4136
  relative: !1,
4127
4137
  viewPortClassName: p("!flex flex-col", t == null ? void 0 : t.scrollAreaViewport),
4128
4138
  asChild: !0,
4129
- children: x
4139
+ children: b
4130
4140
  }
4131
4141
  );
4132
- return v.cloneElement(d, d.props, b);
4142
+ return v.cloneElement(d, d.props, x);
4133
4143
  }
4134
4144
  return d;
4135
4145
  }))(e);
@@ -4149,13 +4159,13 @@ const wn = v.forwardRef(
4149
4159
  refs: c,
4150
4160
  floatingStyles: f,
4151
4161
  transitionStyles: d
4152
- } = ft(), u = v.Children.count(e) > 0, x = $((b) => {
4153
- typeof a == "function" ? a(b) : a && (a.current = b), c.floating.current !== b && b !== null && c.setFloating(b);
4162
+ } = ft(), u = v.Children.count(e) > 0, b = $((x) => {
4163
+ typeof a == "function" ? a(x) : a && (a.current = x), c.floating.current !== x && x !== null && c.setFloating(x);
4154
4164
  }, [a, c]);
4155
4165
  return /* @__PURE__ */ n(
4156
4166
  "div",
4157
4167
  F(w(F(w({}, l({
4158
- ref: x
4168
+ ref: b
4159
4169
  })), {
4160
4170
  style: w(w({}, f), d),
4161
4171
  className: p(bn(s, u), t),
@@ -4215,15 +4225,15 @@ function Po({
4215
4225
  label: f,
4216
4226
  error: d,
4217
4227
  caption: u,
4218
- placeholder: x = "Поиск...",
4219
- disabled: b = !1,
4228
+ placeholder: b = "Поиск...",
4229
+ disabled: x = !1,
4220
4230
  "data-testid": m,
4221
4231
  getLabel: y = (M) => typeof M == "object" && M !== null && "label" in M ? M.label : "",
4222
4232
  loading: g = !1,
4223
4233
  isOpen: h,
4224
4234
  onOpenChange: C,
4225
4235
  showErrorMessage: N = !0,
4226
- clearable: T,
4236
+ clearable: S,
4227
4237
  onClear: E
4228
4238
  }) {
4229
4239
  const { items: M } = Nn(e, y), R = q(() => t, [t]);
@@ -4239,13 +4249,13 @@ function Po({
4239
4249
  size: i,
4240
4250
  fullWidth: s,
4241
4251
  transparent: l,
4242
- disabled: b,
4252
+ disabled: x,
4243
4253
  error: d,
4244
- placeholder: x,
4254
+ placeholder: b,
4245
4255
  loading: g,
4246
4256
  isOpen: h,
4247
4257
  onOpenChange: C,
4248
- clearable: T,
4258
+ clearable: S,
4249
4259
  onClear: E,
4250
4260
  children: /* @__PURE__ */ I("div", { className: "w-full", children: [
4251
4261
  f && /* @__PURE__ */ n(
@@ -4300,9 +4310,9 @@ function zo({
4300
4310
  inputValue: f,
4301
4311
  keepOpenOnSelect: d,
4302
4312
  inputValueOnSelect: u,
4303
- inputValueOnClose: x
4313
+ inputValueOnClose: b
4304
4314
  }) {
4305
- const b = fe(null), m = $((M, R) => {
4315
+ const x = fe(null), m = $((M, R) => {
4306
4316
  const { type: k, changes: D } = R;
4307
4317
  switch (k) {
4308
4318
  case ue.stateChangeTypes.ItemClick:
@@ -4315,23 +4325,23 @@ function zo({
4315
4325
  case ue.stateChangeTypes.InputKeyDownEscape:
4316
4326
  case ue.stateChangeTypes.InputBlur:
4317
4327
  return F(w({}, D), {
4318
- inputValue: x === "clear" ? "" : x === "preserve" ? (M == null ? void 0 : M.inputValue) || "" : D.selectedItem ? s(D.selectedItem.value) : D.inputValue || ""
4328
+ inputValue: b === "clear" ? "" : b === "preserve" ? (M == null ? void 0 : M.inputValue) || "" : D.selectedItem ? s(D.selectedItem.value) : D.inputValue || ""
4319
4329
  });
4320
4330
  default:
4321
4331
  return D;
4322
4332
  }
4323
- }, [s, u, x, d]), y = {
4333
+ }, [s, u, b, d]), y = {
4324
4334
  items: e,
4325
4335
  stateReducer: m,
4326
4336
  isOpen: l,
4327
4337
  onIsOpenChange: (M) => {
4328
4338
  var R;
4329
4339
  if (c == null || c(M.isOpen), !M.isOpen) {
4330
- if (x === "preserve")
4340
+ if (b === "preserve")
4331
4341
  return;
4332
- (R = b.current) == null || R.call(
4333
- b,
4334
- x === "clear" ? "" : M.selectedItem ? s(M.selectedItem.value) : ""
4342
+ (R = x.current) == null || R.call(
4343
+ x,
4344
+ b === "clear" ? "" : M.selectedItem ? s(M.selectedItem.value) : ""
4335
4345
  );
4336
4346
  }
4337
4347
  },
@@ -4348,8 +4358,8 @@ function zo({
4348
4358
  };
4349
4359
  t !== void 0 && (y.selectedItem = t), f !== void 0 && (y.inputValue = f);
4350
4360
  const E = ue(y), { selectItem: g, setInputValue: h, getInputProps: C } = E, N = L(E, ["selectItem", "setInputValue", "getInputProps"]);
4351
- b.current = h;
4352
- const T = $((M) => {
4361
+ x.current = h;
4362
+ const S = $((M) => {
4353
4363
  const R = C(M);
4354
4364
  return F(w({}, R), {
4355
4365
  onBlur: (k) => {
@@ -4360,7 +4370,7 @@ function zo({
4360
4370
  }, [C, o]);
4361
4371
  return F(w({}, N), {
4362
4372
  selectItem: g,
4363
- getInputProps: T,
4373
+ getInputProps: S,
4364
4374
  setInputValue: h
4365
4375
  });
4366
4376
  }
@@ -4405,15 +4415,15 @@ function Oo({
4405
4415
  inputValueOnClose: f = "selectedLabel",
4406
4416
  isItemSelected: d,
4407
4417
  hasSelection: u,
4408
- size: x = "sm",
4409
- fullWidth: b = !0,
4418
+ size: b = "sm",
4419
+ fullWidth: x = !0,
4410
4420
  transparent: m = !1,
4411
4421
  disabled: y = !1,
4412
4422
  error: g,
4413
4423
  placeholder: h = "Поиск...",
4414
4424
  getLabel: C,
4415
4425
  loading: N = !1,
4416
- isOpen: T,
4426
+ isOpen: S,
4417
4427
  onOpenChange: E,
4418
4428
  onClear: M,
4419
4429
  clearable: R
@@ -4432,13 +4442,13 @@ function Oo({
4432
4442
  onBlur: i,
4433
4443
  disabled: y,
4434
4444
  getLabel: k,
4435
- isOpen: T,
4445
+ isOpen: S,
4436
4446
  onOpenChange: E,
4437
4447
  inputValue: s,
4438
4448
  keepOpenOnSelect: l,
4439
4449
  inputValueOnSelect: c,
4440
4450
  inputValueOnClose: f
4441
- }), G = Bo(z.isOpen, N), j = q(() => ({
4451
+ }), _ = Bo(z.isOpen, N), j = q(() => ({
4442
4452
  // Combobox состояние
4443
4453
  getInputProps: z.getInputProps,
4444
4454
  getItemProps: z.getItemProps,
@@ -4450,13 +4460,13 @@ function Oo({
4450
4460
  setInputValue: z.setInputValue,
4451
4461
  selectItem: z.selectItem,
4452
4462
  // Floating UI состояние
4453
- refs: G.refs,
4454
- floatingStyles: G.floatingStyles,
4455
- isMounted: G.isMounted,
4456
- transitionStyles: G.transitionStyles,
4463
+ refs: _.refs,
4464
+ floatingStyles: _.floatingStyles,
4465
+ isMounted: _.isMounted,
4466
+ transitionStyles: _.transitionStyles,
4457
4467
  // Пропсы компонента
4458
- size: x,
4459
- fullWidth: b,
4468
+ size: b,
4469
+ fullWidth: x,
4460
4470
  transparent: m,
4461
4471
  disabled: y,
4462
4472
  error: g,
@@ -4471,9 +4481,9 @@ function Oo({
4471
4481
  hasSelection: u
4472
4482
  }), [
4473
4483
  z,
4474
- G,
4475
- x,
4484
+ _,
4476
4485
  b,
4486
+ x,
4477
4487
  m,
4478
4488
  y,
4479
4489
  g,
@@ -4533,14 +4543,14 @@ const Sn = v.forwardRef(
4533
4543
  disabled: f,
4534
4544
  error: d,
4535
4545
  isOpen: u,
4536
- refs: x
4537
- } = mt(), b = $((m) => {
4538
- typeof a == "function" ? a(m) : a && (a.current = m), x.reference.current !== m && m !== null && x.setReference(m);
4539
- }, [a, x]);
4546
+ refs: b
4547
+ } = mt(), x = $((m) => {
4548
+ typeof a == "function" ? a(m) : a && (a.current = m), b.reference.current !== m && m !== null && b.setReference(m);
4549
+ }, [a, b]);
4540
4550
  return /* @__PURE__ */ n(
4541
4551
  "div",
4542
4552
  F(w({
4543
- ref: b,
4553
+ ref: x,
4544
4554
  className: p(
4545
4555
  hn(s, l, c, f, Pt(d)),
4546
4556
  t
@@ -4573,35 +4583,35 @@ function _o({
4573
4583
  }) {
4574
4584
  const { items: r, selectedItem: a, getItemProps: o, isItemSelected: i } = mt(), s = /* @__PURE__ */ new Map();
4575
4585
  r.forEach((d, u) => {
4576
- const x = Zt(d.value);
4577
- s.set(x, { item: d, index: u });
4586
+ const b = Zt(d.value);
4587
+ s.set(b, { item: d, index: u });
4578
4588
  });
4579
- const l = a ? Zt(a.value) : null, f = ((d) => v.Children.map(d, (u, x) => {
4589
+ const l = a ? Zt(a.value) : null, f = ((d) => v.Children.map(d, (u, b) => {
4580
4590
  if (!v.isValidElement(u))
4581
4591
  return u;
4582
4592
  if (Lr(u.type, "List")) {
4583
- const b = v.Children.map(u.props.children, (y, g) => {
4593
+ const x = v.Children.map(u.props.children, (y, g) => {
4584
4594
  if (!v.isValidElement(y))
4585
4595
  return y;
4586
4596
  if (Lr(y.type, "Item"))
4587
4597
  try {
4588
4598
  const h = y.props, C = Zt(h.option), N = s.get(C);
4589
4599
  if (N) {
4590
- const { item: T, index: E } = N, M = i ? i(T.value) : l === C;
4600
+ const { item: S, index: E } = N, M = i ? i(S.value) : l === C;
4591
4601
  return /* @__PURE__ */ n(
4592
4602
  lr,
4593
4603
  F(w({
4594
4604
  isSelected: M,
4595
4605
  className: h.className
4596
4606
  }, o({
4597
- item: T,
4607
+ item: S,
4598
4608
  index: E
4599
4609
  })), {
4600
4610
  children: typeof h.children == "function" ? h.children(w({
4601
4611
  isSelected: M,
4602
4612
  className: h.className
4603
4613
  }, o({
4604
- item: T,
4614
+ item: S,
4605
4615
  index: E
4606
4616
  }))) : h.children
4607
4617
  }),
@@ -4619,7 +4629,7 @@ function _o({
4619
4629
  relative: !1,
4620
4630
  viewPortClassName: p("!flex flex-col", t == null ? void 0 : t.scrollAreaViewport),
4621
4631
  asChild: !0,
4622
- children: b
4632
+ children: x
4623
4633
  }
4624
4634
  );
4625
4635
  return v.cloneElement(u, u.props, m);
@@ -4642,13 +4652,13 @@ const Mn = v.forwardRef(
4642
4652
  refs: c,
4643
4653
  floatingStyles: f,
4644
4654
  transitionStyles: d
4645
- } = mt(), u = v.Children.count(e) > 0, x = $((b) => {
4646
- typeof a == "function" ? a(b) : a && (a.current = b), c.floating.current !== b && b !== null && c.setFloating(b);
4655
+ } = mt(), u = v.Children.count(e) > 0, b = $((x) => {
4656
+ typeof a == "function" ? a(x) : a && (a.current = x), c.floating.current !== x && x !== null && c.setFloating(x);
4647
4657
  }, [a, c]);
4648
4658
  return /* @__PURE__ */ n(
4649
4659
  "div",
4650
4660
  F(w(F(w({}, l({
4651
- ref: x
4661
+ ref: b
4652
4662
  })), {
4653
4663
  style: w(w({}, f), d),
4654
4664
  className: p(bn(s, u), t),
@@ -4686,31 +4696,31 @@ function Wo({
4686
4696
  placeholder: f,
4687
4697
  getInputProps: d,
4688
4698
  onOpenChange: u
4689
- } = mt(), x = fe(null), b = fe(null), [m, y] = ee(2);
4699
+ } = mt(), b = fe(null), x = fe(null), [m, y] = ee(2);
4690
4700
  Qn(() => {
4691
- if (!e.length || !b.current)
4701
+ if (!e.length || !x.current)
4692
4702
  return;
4693
4703
  const N = () => {
4694
- const E = b.current;
4704
+ const E = x.current;
4695
4705
  if (!E)
4696
4706
  return;
4697
4707
  const z = E.offsetWidth - 56 - 30 - 8;
4698
- let G = 0, j = 0;
4699
- const P = 12, W = 20, _ = 4, J = 7;
4708
+ let _ = 0, j = 0;
4709
+ const P = 12, W = 20, G = 4, J = 7;
4700
4710
  for (let B = 0; B < e.length; B++) {
4701
- const re = r(e[B]).length * J, ne = P + re + W + _;
4711
+ const re = r(e[B]).length * J, ne = P + re + W + G;
4702
4712
  if (j + ne <= z)
4703
- j += ne, G = B + 1;
4713
+ j += ne, _ = B + 1;
4704
4714
  else
4705
4715
  break;
4706
4716
  }
4707
- const U = Math.max(1, G);
4717
+ const U = Math.max(1, _);
4708
4718
  y(o ? Math.min(U, o) : U);
4709
4719
  };
4710
4720
  N();
4711
- const T = new ResizeObserver(N);
4712
- return T.observe(b.current), () => {
4713
- T.disconnect();
4721
+ const S = new ResizeObserver(N);
4722
+ return S.observe(x.current), () => {
4723
+ S.disconnect();
4714
4724
  };
4715
4725
  }, [r, o, e]);
4716
4726
  const g = e.slice(0, m), h = Math.max(0, e.length - m), C = d({
@@ -4721,7 +4731,7 @@ function Wo({
4721
4731
  return /* @__PURE__ */ I(
4722
4732
  "div",
4723
4733
  {
4724
- ref: b,
4734
+ ref: x,
4725
4735
  className: p(
4726
4736
  "flex min-w-0 flex-1 items-center justify-start gap-1 overflow-hidden",
4727
4737
  s === "xs" ? "pl-1.5" : "pl-2",
@@ -4731,8 +4741,8 @@ function Wo({
4731
4741
  var M;
4732
4742
  if (c)
4733
4743
  return;
4734
- const T = N.target;
4735
- (T == null ? void 0 : T.closest('button,[role="button"]')) !== null || (N.preventDefault(), (M = x.current) == null || M.focus(), u == null || u(!0));
4744
+ const S = N.target;
4745
+ (S == null ? void 0 : S.closest('button,[role="button"]')) !== null || (N.preventDefault(), (M = b.current) == null || M.focus(), u == null || u(!0));
4736
4746
  },
4737
4747
  children: [
4738
4748
  g.map((N) => /* @__PURE__ */ I(
@@ -4747,14 +4757,14 @@ function Wo({
4747
4757
  /* @__PURE__ */ n(
4748
4758
  "div",
4749
4759
  {
4750
- onPointerDown: (T) => {
4751
- c || (T.preventDefault(), T.stopPropagation());
4760
+ onPointerDown: (S) => {
4761
+ c || (S.preventDefault(), S.stopPropagation());
4752
4762
  },
4753
- onMouseDown: (T) => {
4754
- c || (T.preventDefault(), T.stopPropagation());
4763
+ onMouseDown: (S) => {
4764
+ c || (S.preventDefault(), S.stopPropagation());
4755
4765
  },
4756
- onClick: (T) => {
4757
- c || (T.preventDefault(), T.stopPropagation(), t(N));
4766
+ onClick: (S) => {
4767
+ c || (S.preventDefault(), S.stopPropagation(), t(N));
4758
4768
  },
4759
4769
  className: p(
4760
4770
  "flex cursor-pointer items-center rounded p-0.5 hover:bg-gray-200",
@@ -4785,8 +4795,8 @@ function Wo({
4785
4795
  c || (N.preventDefault(), N.stopPropagation());
4786
4796
  },
4787
4797
  onClick: (N) => {
4788
- var T;
4789
- c || (N.preventDefault(), N.stopPropagation(), (T = x.current) == null || T.focus(), u == null || u(!0));
4798
+ var S;
4799
+ c || (N.preventDefault(), N.stopPropagation(), (S = b.current) == null || S.focus(), u == null || u(!0));
4790
4800
  },
4791
4801
  children: /* @__PURE__ */ I(O, { variant: "p2", children: [
4792
4802
  "+",
@@ -4798,7 +4808,7 @@ function Wo({
4798
4808
  "input",
4799
4809
  F(w({
4800
4810
  ref: (N) => {
4801
- x.current = N;
4811
+ b.current = N;
4802
4812
  }
4803
4813
  }, C), {
4804
4814
  "data-testid": i,
@@ -4828,26 +4838,26 @@ function Vo({
4828
4838
  label: f,
4829
4839
  error: d,
4830
4840
  caption: u,
4831
- placeholder: x = "Поиск...",
4832
- disabled: b = !1,
4841
+ placeholder: b = "Поиск...",
4842
+ disabled: x = !1,
4833
4843
  "data-testid": m,
4834
4844
  getLabel: y = (k) => typeof k == "object" && k !== null && "label" in k ? k.label : "",
4835
4845
  getKey: g = Go,
4836
4846
  loading: h = !1,
4837
4847
  isOpen: C,
4838
4848
  onOpenChange: N,
4839
- showErrorMessage: T = !0,
4849
+ showErrorMessage: S = !0,
4840
4850
  clearable: E = !0,
4841
4851
  onClear: M,
4842
4852
  maxTags: R = 4
4843
4853
  }) {
4844
- const { items: k } = Nn(e, y), D = q(() => t || [], [t]), z = q(() => new Set(D.map(g)), [D, g]), [G, j] = ee(""), P = $((B) => {
4854
+ const { items: k } = Nn(e, y), D = q(() => t || [], [t]), z = q(() => new Set(D.map(g)), [D, g]), [_, j] = ee(""), P = $((B) => {
4845
4855
  const H = g(B), ne = z.has(H) ? D.filter((be) => g(be) !== H) : [...D, B];
4846
4856
  r == null || r(ne);
4847
4857
  }, [g, r, D, z]), W = $((B) => {
4848
4858
  const H = g(B);
4849
4859
  r == null || r(D.filter((re) => g(re) !== H));
4850
- }, [g, r, D]), _ = $(() => {
4860
+ }, [g, r, D]), G = $(() => {
4851
4861
  r == null || r([]), M == null || M();
4852
4862
  }, [r, M]), J = $((B) => {
4853
4863
  N == null || N(B), B || (j(""), a == null || a(""));
@@ -4859,7 +4869,7 @@ function Vo({
4859
4869
  {
4860
4870
  getLabel: y,
4861
4871
  items: k,
4862
- inputValue: G,
4872
+ inputValue: _,
4863
4873
  onChange: (B) => {
4864
4874
  B && P(B);
4865
4875
  },
@@ -4868,14 +4878,14 @@ function Vo({
4868
4878
  size: i,
4869
4879
  fullWidth: s,
4870
4880
  transparent: l,
4871
- disabled: b,
4881
+ disabled: x,
4872
4882
  error: d,
4873
- placeholder: x,
4883
+ placeholder: b,
4874
4884
  loading: h,
4875
4885
  isOpen: C,
4876
4886
  onOpenChange: J,
4877
4887
  clearable: E,
4878
- onClear: _,
4888
+ onClear: G,
4879
4889
  keepOpenOnSelect: !0,
4880
4890
  inputValueOnSelect: "preserve",
4881
4891
  inputValueOnClose: "preserve",
@@ -4916,7 +4926,7 @@ function Vo({
4916
4926
  }
4917
4927
  ) }),
4918
4928
  u && /* @__PURE__ */ n(O, { variant: "p1", className: "mt-1.5", textColor: "secondary", children: u }),
4919
- Pt(d) && T && /* @__PURE__ */ n(O, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: d })
4929
+ Pt(d) && S && /* @__PURE__ */ n(O, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: d })
4920
4930
  ] })
4921
4931
  }
4922
4932
  );
@@ -4937,8 +4947,8 @@ function Rn(e) {
4937
4947
  loop: !1,
4938
4948
  slidesToScroll: 1,
4939
4949
  containScroll: "trimSnaps"
4940
- }, a), i = w(w({}, jo), t), [s, l] = ar(o), [c, f] = ee(r), [d, u] = ee(!1), [x, b] = ee(!1), m = $(() => {
4941
- l && (f(l.selectedScrollSnap()), u(l.canScrollNext()), b(l.canScrollPrev()));
4950
+ }, a), i = w(w({}, jo), t), [s, l] = ar(o), [c, f] = ee(r), [d, u] = ee(!1), [b, x] = ee(!1), m = $(() => {
4951
+ l && (f(l.selectedScrollSnap()), u(l.canScrollNext()), x(l.canScrollPrev()));
4942
4952
  }, [l]);
4943
4953
  de(() => {
4944
4954
  if (l)
@@ -4946,14 +4956,14 @@ function Rn(e) {
4946
4956
  l.off("select", m), l.off("reInit", m);
4947
4957
  };
4948
4958
  }, [l, m, r]);
4949
- const y = $((T) => {
4950
- l && l.scrollTo(T);
4959
+ const y = $((S) => {
4960
+ l && l.scrollTo(S);
4951
4961
  }, [l]), g = $(() => {
4952
4962
  l && l.scrollNext();
4953
4963
  }, [l]), h = $(() => {
4954
4964
  l && l.scrollPrev();
4955
- }, [l]), C = $((T) => {
4956
- y(T);
4965
+ }, [l]), C = $((S) => {
4966
+ y(S);
4957
4967
  }, [y]);
4958
4968
  return {
4959
4969
  active: c,
@@ -4965,7 +4975,7 @@ function Rn(e) {
4965
4975
  scrollTo: y,
4966
4976
  onChange: C,
4967
4977
  canScrollNext: d,
4968
- canScrollPrev: x
4978
+ canScrollPrev: b
4969
4979
  };
4970
4980
  }
4971
4981
  const An = Et(null);
@@ -5059,7 +5069,7 @@ function Yo({
5059
5069
  const { prev: l, next: c, canScrollPrev: f, canScrollNext: d } = zt();
5060
5070
  if (!e && !t)
5061
5071
  return null;
5062
- const u = s && !f, x = s && !d, b = () => !e || u ? null : typeof e == "function" ? e({ onClick: l, disabled: !f }) : /* @__PURE__ */ n(
5072
+ const u = s && !f, b = s && !d, x = () => !e || u ? null : typeof e == "function" ? e({ onClick: l, disabled: !f }) : /* @__PURE__ */ n(
5063
5073
  "div",
5064
5074
  {
5065
5075
  onClick: l,
@@ -5070,7 +5080,7 @@ function Yo({
5070
5080
  "aria-disabled": !f,
5071
5081
  children: e
5072
5082
  }
5073
- ), m = () => !t || x ? null : typeof t == "function" ? t({ onClick: c, disabled: !d }) : /* @__PURE__ */ n(
5083
+ ), m = () => !t || b ? null : typeof t == "function" ? t({ onClick: c, disabled: !d }) : /* @__PURE__ */ n(
5074
5084
  "div",
5075
5085
  {
5076
5086
  onClick: c,
@@ -5091,7 +5101,7 @@ function Yo({
5091
5101
  r
5092
5102
  ),
5093
5103
  children: [
5094
- b(),
5104
+ x(),
5095
5105
  m()
5096
5106
  ]
5097
5107
  }
@@ -5112,7 +5122,7 @@ function Zo({
5112
5122
  }) {
5113
5123
  if (!o && !i)
5114
5124
  return null;
5115
- const u = d && !r, x = d && !a, b = () => !o || u ? null : typeof o == "function" ? o({ onClick: e, disabled: !r }) : /* @__PURE__ */ n(
5125
+ const u = d && !r, b = d && !a, x = () => !o || u ? null : typeof o == "function" ? o({ onClick: e, disabled: !r }) : /* @__PURE__ */ n(
5116
5126
  "div",
5117
5127
  {
5118
5128
  onClick: e,
@@ -5123,7 +5133,7 @@ function Zo({
5123
5133
  "aria-disabled": !r,
5124
5134
  children: o
5125
5135
  }
5126
- ), m = () => !i || x ? null : typeof i == "function" ? i({ onClick: t, disabled: !a }) : /* @__PURE__ */ n(
5136
+ ), m = () => !i || b ? null : typeof i == "function" ? i({ onClick: t, disabled: !a }) : /* @__PURE__ */ n(
5127
5137
  "div",
5128
5138
  {
5129
5139
  onClick: t,
@@ -5144,7 +5154,7 @@ function Zo({
5144
5154
  s
5145
5155
  ),
5146
5156
  children: [
5147
- b(),
5157
+ x(),
5148
5158
  m()
5149
5159
  ]
5150
5160
  }
@@ -5256,8 +5266,8 @@ const Nt = {
5256
5266
  ButtonsView: Zo
5257
5267
  // Экспортируем view-компонент кнопок для использования вне контекста
5258
5268
  };
5259
- function Ml(x) {
5260
- var b = x, {
5269
+ function Ml(b) {
5270
+ var x = b, {
5261
5271
  items: e,
5262
5272
  renderSlide: t,
5263
5273
  options: r,
@@ -5269,7 +5279,7 @@ function Ml(x) {
5269
5279
  buttonsAlign: c,
5270
5280
  showButtonsOnlyOnHover: f,
5271
5281
  hideDisabledButtons: d
5272
- } = b, u = L(b, [
5282
+ } = x, u = L(x, [
5273
5283
  "items",
5274
5284
  "renderSlide",
5275
5285
  "options",
@@ -5508,8 +5518,8 @@ const di = me(
5508
5518
  }
5509
5519
  }
5510
5520
  ), Qe = v.forwardRef(
5511
- (b, x) => {
5512
- var m = b, {
5521
+ (x, b) => {
5522
+ var m = x, {
5513
5523
  className: e,
5514
5524
  children: t,
5515
5525
  width: r,
@@ -5537,7 +5547,7 @@ const di = me(
5537
5547
  return /* @__PURE__ */ n(
5538
5548
  le.Content,
5539
5549
  F(w({}, u), {
5540
- ref: x,
5550
+ ref: b,
5541
5551
  "data-testid": c,
5542
5552
  style: (f == null ? void 0 : f.zIndex) !== void 0 ? f : F(w({}, f), { zIndex: 52 }),
5543
5553
  onOpenAutoFocus: (y) => {
@@ -5647,7 +5657,7 @@ function Al() {
5647
5657
  }
5648
5658
  function ci(e) {
5649
5659
  var M;
5650
- const [t, r] = v.useState(null), [a, o] = v.useState(e.isVisibleClose), [i, s] = v.useState(!1), [l, c] = v.useState(!1), [f, d] = v.useState(e.hideFooter), [u, x] = v.useState(!1), [b, m] = v.useState(e.width), y = v.useContext(Ot), g = (M = y == null ? void 0 : y.nextBaseZIndex) != null ? M : e.baseZIndex, h = g + 1, C = g + 2, N = g + 3, T = v.useMemo(() => !l && i ? "top" : "none", [l, i]), E = v.useMemo(() => l && i ? "bottom" : "none", [l, i]);
5660
+ const [t, r] = v.useState(null), [a, o] = v.useState(e.isVisibleClose), [i, s] = v.useState(!1), [l, c] = v.useState(!1), [f, d] = v.useState(e.hideFooter), [u, b] = v.useState(!1), [x, m] = v.useState(e.width), y = v.useContext(Ot), g = (M = y == null ? void 0 : y.nextBaseZIndex) != null ? M : e.baseZIndex, h = g + 1, C = g + 2, N = g + 3, S = v.useMemo(() => !l && i ? "top" : "none", [l, i]), E = v.useMemo(() => l && i ? "bottom" : "none", [l, i]);
5651
5661
  return v.useEffect(() => {
5652
5662
  m(e.width);
5653
5663
  }, [e.width]), v.useEffect(() => {
@@ -5670,17 +5680,17 @@ function ci(e) {
5670
5680
  contentElement: t,
5671
5681
  hasOverflow: i,
5672
5682
  scrollStart: l,
5673
- shadowFooter: T,
5683
+ shadowFooter: S,
5674
5684
  shadowHeader: E,
5675
5685
  isHideFooter: f,
5676
5686
  isHideTitle: u,
5677
5687
  isVisibleClose: a,
5678
- width: b,
5688
+ width: x,
5679
5689
  statusImage: e.statusImage,
5680
5690
  setWidth: m,
5681
5691
  visibleClose: o,
5682
5692
  hideFooter: d,
5683
- hideTitle: x,
5693
+ hideTitle: b,
5684
5694
  setContentElement: r,
5685
5695
  baseZIndex: g,
5686
5696
  overlayZIndex: h,
@@ -5751,8 +5761,8 @@ function pi(e) {
5751
5761
  /* @__PURE__ */ n("div", { className: "w-full px-4 py-4 md:px-6 md:pt-6 rounded-t-4xl bg-white -mt-4 md:-mt-6", children: e.children })
5752
5762
  ] }) : /* @__PURE__ */ n(t.Source, w({}, e));
5753
5763
  }
5754
- function se(b) {
5755
- var m = b, {
5764
+ function se(x) {
5765
+ var m = x, {
5756
5766
  classNames: e,
5757
5767
  children: t,
5758
5768
  trigger: r,
@@ -5765,7 +5775,7 @@ function se(b) {
5765
5775
  baseZIndex: f = 50,
5766
5776
  statusImage: d,
5767
5777
  dataTestId: u
5768
- } = m, x = L(m, [
5778
+ } = m, b = L(m, [
5769
5779
  "classNames",
5770
5780
  "children",
5771
5781
  "trigger",
@@ -5793,7 +5803,7 @@ function se(b) {
5793
5803
  }),
5794
5804
  []
5795
5805
  ), h = g.TitleTeleporter.useTargetRef(), C = g.FooterTeleporter.useTargetRef(), N = g.ContentTeleporter.useTargetRef();
5796
- return /* @__PURE__ */ n(pt, F(w({}, x), { children: /* @__PURE__ */ n(Pn.Provider, { value: g, children: /* @__PURE__ */ I(Ot.Provider, { value: y, children: [
5806
+ return /* @__PURE__ */ n(pt, F(w({}, b), { children: /* @__PURE__ */ n(Pn.Provider, { value: g, children: /* @__PURE__ */ I(Ot.Provider, { value: y, children: [
5797
5807
  r && /* @__PURE__ */ n(Ze, { children: r }),
5798
5808
  /* @__PURE__ */ I(ht, { children: [
5799
5809
  i && /* @__PURE__ */ n(
@@ -5841,8 +5851,8 @@ function se(b) {
5841
5851
  /* @__PURE__ */ n(
5842
5852
  gt,
5843
5853
  {
5844
- ref: (T) => {
5845
- y.setContentElement(T), N(T);
5854
+ ref: (S) => {
5855
+ y.setContentElement(S), N(S);
5846
5856
  },
5847
5857
  className: p(e == null ? void 0 : e.content)
5848
5858
  }
@@ -5892,17 +5902,17 @@ function Dl({
5892
5902
  showResetButton: f = !0,
5893
5903
  onReset: d,
5894
5904
  disabledDays: u,
5895
- "data-testid": x
5905
+ "data-testid": b
5896
5906
  }) {
5897
- const [b, m] = v.useState(e), y = _t(), [g, h] = v.useState(!1);
5907
+ const [x, m] = v.useState(e), y = _t(), [g, h] = v.useState(!1);
5898
5908
  v.useEffect(() => {
5899
- e !== b && m(e);
5909
+ e !== x && m(e);
5900
5910
  }, [e]);
5901
5911
  const C = (E) => {
5902
5912
  E && (m(E), t == null || t(E), y === "mobile" && h(!1));
5903
5913
  }, N = () => {
5904
5914
  m(void 0), t == null || t(void 0), d == null || d();
5905
- }, T = () => {
5915
+ }, S = () => {
5906
5916
  switch (i) {
5907
5917
  case "md":
5908
5918
  return "rounded-lg";
@@ -5942,7 +5952,7 @@ function Dl({
5942
5952
  className: p(
5943
5953
  "group border-border font-graphik w-full justify-start border-1 border-solid text-left text-[16px] leading-[22px]",
5944
5954
  i === "lg" ? "px-3" : "px-2.5",
5945
- T(),
5955
+ S(),
5946
5956
  {
5947
5957
  "shadow-focus border-primary border-1 border-solid": g
5948
5958
  },
@@ -5954,18 +5964,18 @@ function Dl({
5954
5964
  },
5955
5965
  s != null ? "hover:text-destructive" : ""
5956
5966
  ),
5957
- "data-testid": x,
5967
+ "data-testid": b,
5958
5968
  children: /* @__PURE__ */ I("div", { className: "flex w-full items-center", children: [
5959
5969
  /* @__PURE__ */ n(
5960
5970
  "div",
5961
5971
  {
5962
5972
  className: p(
5963
5973
  "flex-1",
5964
- b ? "text-foreground" : "text-muted-foreground",
5974
+ x ? "text-foreground" : "text-muted-foreground",
5965
5975
  r && "text-muted-foreground",
5966
5976
  g && !r && "!text-default"
5967
5977
  ),
5968
- children: b ? Se(b, "dd.MM.yyyy", { locale: ve }) : a
5978
+ children: x ? Se(x, "dd.MM.yyyy", { locale: ve }) : a
5969
5979
  }
5970
5980
  ),
5971
5981
  /* @__PURE__ */ I("div", { className: "flex items-center gap-1.5", children: [
@@ -5976,7 +5986,7 @@ function Dl({
5976
5986
  "group-focus-within:text-foreground text-muted-foreground transition-colors",
5977
5987
  r && "text-muted-foreground",
5978
5988
  g && !r && s == null && "!text-default",
5979
- b && !r && s == null && "text-default",
5989
+ x && !r && s == null && "text-default",
5980
5990
  s != null && "!group-focus-within:!text-destructive !text-destructive"
5981
5991
  ),
5982
5992
  icon: "CalendarIcon",
@@ -6004,7 +6014,7 @@ function Dl({
6004
6014
  Tt,
6005
6015
  {
6006
6016
  mode: "single",
6007
- selected: b,
6017
+ selected: x,
6008
6018
  onSelect: C,
6009
6019
  initialFocus: !0,
6010
6020
  locale: ve,
@@ -6018,7 +6028,7 @@ function Dl({
6018
6028
  {
6019
6029
  onClick: N,
6020
6030
  variant: "text",
6021
- disabled: !b,
6031
+ disabled: !x,
6022
6032
  className: "w-full",
6023
6033
  children: "Сбросить"
6024
6034
  }
@@ -6040,7 +6050,7 @@ function Dl({
6040
6050
  size: i,
6041
6051
  className: p(
6042
6052
  "group border-border font-graphik w-full justify-start border-1 border-solid text-left text-[16px] leading-[22px]",
6043
- T(),
6053
+ S(),
6044
6054
  i === "lg" ? "px-3" : "px-2.5",
6045
6055
  {
6046
6056
  "shadow-focus border-primary border-1 border-solid": g
@@ -6053,17 +6063,17 @@ function Dl({
6053
6063
  },
6054
6064
  s != null ? "hover:text-destructive" : ""
6055
6065
  ),
6056
- "data-testid": x,
6066
+ "data-testid": b,
6057
6067
  children: /* @__PURE__ */ I("div", { className: "flex w-full items-center", children: [
6058
6068
  /* @__PURE__ */ n(
6059
6069
  "div",
6060
6070
  {
6061
6071
  className: p(
6062
6072
  "flex-1",
6063
- b ? "text-foreground" : "text-muted-foreground",
6073
+ x ? "text-foreground" : "text-muted-foreground",
6064
6074
  g && !r && "!text-default"
6065
6075
  ),
6066
- children: b ? Se(b, "dd.MM.yyyy", { locale: ve }) : a
6076
+ children: x ? Se(x, "dd.MM.yyyy", { locale: ve }) : a
6067
6077
  }
6068
6078
  ),
6069
6079
  /* @__PURE__ */ I("div", { className: "flex items-center gap-1.5", children: [
@@ -6074,7 +6084,7 @@ function Dl({
6074
6084
  "group-focus-within:text-foreground text-muted-foreground transition-colors",
6075
6085
  r && "text-muted-foreground",
6076
6086
  g && !r && s == null && "!text-default",
6077
- b && !r && s == null && "text-default",
6087
+ x && !r && s == null && "text-default",
6078
6088
  s != null && "!group-focus-within:!text-destructive !text-destructive"
6079
6089
  ),
6080
6090
  icon: "CalendarIcon",
@@ -6104,7 +6114,7 @@ function Dl({
6104
6114
  Tt,
6105
6115
  {
6106
6116
  mode: "single",
6107
- selected: b,
6117
+ selected: x,
6108
6118
  onSelect: C,
6109
6119
  initialFocus: !0,
6110
6120
  locale: ve,
@@ -6119,7 +6129,7 @@ function Dl({
6119
6129
  variant: "text",
6120
6130
  size: "sm",
6121
6131
  className: "w-full",
6122
- disabled: !b,
6132
+ disabled: !x,
6123
6133
  children: "Сбросить"
6124
6134
  }
6125
6135
  ) })
@@ -6280,8 +6290,8 @@ function Fl(y) {
6280
6290
  disabled: f = !1,
6281
6291
  showResetButton: d = !0,
6282
6292
  onReset: u,
6283
- disabledDays: x,
6284
- "data-testid": b
6293
+ disabledDays: b,
6294
+ "data-testid": x
6285
6295
  } = g, m = L(g, [
6286
6296
  "className",
6287
6297
  "value",
@@ -6298,7 +6308,7 @@ function Fl(y) {
6298
6308
  "disabledDays",
6299
6309
  "data-testid"
6300
6310
  ]);
6301
- const [h, C] = v.useState(t), [N, T] = v.useState(!1), E = _t(), M = hi[r], R = Si(r), k = {
6311
+ const [h, C] = v.useState(t), [N, S] = v.useState(!1), E = _t(), M = hi[r], R = Si(r), k = {
6302
6312
  from: (o == null ? void 0 : o.from) || M.placeholder,
6303
6313
  to: (o == null ? void 0 : o.to) || M.placeholder
6304
6314
  }, D = v.useMemo(() => {
@@ -6309,13 +6319,13 @@ function Fl(y) {
6309
6319
  hasToError: () => U(i) ? !0 : B(i) && !!i.to,
6310
6320
  getErrorText: () => U(i) ? i : B(i) ? i.from && i.to ? `${i.from}, ${i.to}` : i.from || i.to || "" : ""
6311
6321
  };
6312
- }, [i]), { hasAnyError: z, hasFromError: G, hasToError: j, getErrorText: P } = D;
6322
+ }, [i]), { hasAnyError: z, hasFromError: _, hasToError: j, getErrorText: P } = D;
6313
6323
  v.useEffect(() => {
6314
6324
  C(t);
6315
6325
  }, [t]);
6316
6326
  const W = (U) => {
6317
- C(U), a == null || a(U), U != null && U.from && (U != null && U.to) && E === "mobile" && T(!1);
6318
- }, _ = () => {
6327
+ C(U), a == null || a(U), U != null && U.from && (U != null && U.to) && E === "mobile" && S(!1);
6328
+ }, G = () => {
6319
6329
  C(void 0), a == null || a(void 0), u == null || u();
6320
6330
  }, J = () => {
6321
6331
  switch (c) {
@@ -6344,7 +6354,7 @@ function Fl(y) {
6344
6354
  se,
6345
6355
  {
6346
6356
  open: N,
6347
- onOpenChange: f ? void 0 : T,
6357
+ onOpenChange: f ? void 0 : S,
6348
6358
  width: "md",
6349
6359
  trigger: /* @__PURE__ */ n(
6350
6360
  Q,
@@ -6368,7 +6378,7 @@ function Fl(y) {
6368
6378
  "bg-background placeholder:text-muted-foreground disabled:bg-input-disabled-background border-destructive focus:border-destructive enabled:hover:border-destructive": z()
6369
6379
  }
6370
6380
  ),
6371
- "data-testid": b,
6381
+ "data-testid": x,
6372
6382
  children: /* @__PURE__ */ I("div", { className: "flex w-full items-center", children: [
6373
6383
  /* @__PURE__ */ I(
6374
6384
  "div",
@@ -6384,7 +6394,7 @@ function Fl(y) {
6384
6394
  {
6385
6395
  className: p(
6386
6396
  "flex-1 text-left",
6387
- G() && "text-destructive"
6397
+ _() && "text-destructive"
6388
6398
  ),
6389
6399
  children: h != null && h.from ? Se(h.from, "dd.MM.yyyy", {
6390
6400
  locale: R
@@ -6450,13 +6460,13 @@ function Fl(y) {
6450
6460
  onSelect: W,
6451
6461
  numberOfMonths: 1,
6452
6462
  locale: R,
6453
- disabled: x
6463
+ disabled: b
6454
6464
  }
6455
6465
  ) }),
6456
6466
  d && /* @__PURE__ */ n(se.Footer, { children: /* @__PURE__ */ n("div", { className: "flex h-[44px] w-full items-center justify-center", children: /* @__PURE__ */ n(
6457
6467
  Q,
6458
6468
  {
6459
- onClick: _,
6469
+ onClick: G,
6460
6470
  variant: "text",
6461
6471
  className: "w-full",
6462
6472
  disabled: !(h != null && h.from) && !(h != null && h.to),
@@ -6465,7 +6475,7 @@ function Fl(y) {
6465
6475
  ) }) })
6466
6476
  ]
6467
6477
  }
6468
- ) : /* @__PURE__ */ I($e, { open: N, onOpenChange: T, children: [
6478
+ ) : /* @__PURE__ */ I($e, { open: N, onOpenChange: S, children: [
6469
6479
  /* @__PURE__ */ n(Ye, { asChild: !0, children: /* @__PURE__ */ n(
6470
6480
  Q,
6471
6481
  {
@@ -6488,7 +6498,7 @@ function Fl(y) {
6488
6498
  "bg-background placeholder:text-muted-foreground disabled:bg-input-disabled-background border-destructive focus:border-destructive enabled:hover:border-destructive": z()
6489
6499
  }
6490
6500
  ),
6491
- "data-testid": b,
6501
+ "data-testid": x,
6492
6502
  children: /* @__PURE__ */ I("div", { className: "flex w-full items-center", children: [
6493
6503
  /* @__PURE__ */ I(
6494
6504
  "div",
@@ -6504,7 +6514,7 @@ function Fl(y) {
6504
6514
  {
6505
6515
  className: p(
6506
6516
  "flex-1 text-left",
6507
- G() && "text-destructive",
6517
+ _() && "text-destructive",
6508
6518
  f && "text-muted-foreground"
6509
6519
  ),
6510
6520
  children: h != null && h.from ? Se(h.from, "dd.MM.yyyy", {
@@ -6573,13 +6583,13 @@ function Fl(y) {
6573
6583
  onSelect: W,
6574
6584
  numberOfMonths: 2,
6575
6585
  locale: R,
6576
- disabled: x
6586
+ disabled: b
6577
6587
  }
6578
6588
  ),
6579
6589
  d && /* @__PURE__ */ n("div", { className: "flex h-11 items-center justify-center px-2.5 py-2.5", children: /* @__PURE__ */ n(
6580
6590
  Q,
6581
6591
  {
6582
- onClick: _,
6592
+ onClick: G,
6583
6593
  variant: "text",
6584
6594
  size: "sm",
6585
6595
  className: "w-full",
@@ -6599,7 +6609,7 @@ function Ti({ className: e }) {
6599
6609
  return /* @__PURE__ */ n("div", { className: p("bg-default-background h-[1px] w-full", e) });
6600
6610
  }
6601
6611
  const zn = v.forwardRef(
6602
- (m, b) => {
6612
+ (m, x) => {
6603
6613
  var y = m, {
6604
6614
  value: e,
6605
6615
  onChange: t,
@@ -6613,7 +6623,7 @@ const zn = v.forwardRef(
6613
6623
  onKeyDown: f,
6614
6624
  onPaste: d,
6615
6625
  onClear: u
6616
- } = y, x = L(y, [
6626
+ } = y, b = L(y, [
6617
6627
  "value",
6618
6628
  "onChange",
6619
6629
  "decimalPlaces",
@@ -6636,20 +6646,20 @@ const zn = v.forwardRef(
6636
6646
  return "";
6637
6647
  let D = k.replace(/[^\d.,\-]/g, "");
6638
6648
  if (l ? (D.match(/-/g) || []).length > 1 && (D = D.replace(/-/g, ""), k.startsWith("-") && (D = `-${D}`)) : D = D.replace(/-/g, ""), D = C(D), (D.match(/[.,]/g) || []).length > 1) {
6639
- const G = D.search(/[.,]/);
6640
- D = D.substring(0, G + 1) + D.substring(G + 1).replace(/[.,]/g, "");
6649
+ const _ = D.search(/[.,]/);
6650
+ D = D.substring(0, _ + 1) + D.substring(_ + 1).replace(/[.,]/g, "");
6641
6651
  }
6642
6652
  if (r !== void 0 && r >= 0) {
6643
- const G = D.search(/[.,]/);
6644
- if (G !== -1) {
6645
- const j = D.substring(0, G), W = D.substring(G + 1).substring(0, r);
6646
- D = j + D[G] + W;
6653
+ const _ = D.search(/[.,]/);
6654
+ if (_ !== -1) {
6655
+ const j = D.substring(0, _), W = D.substring(_ + 1).substring(0, r);
6656
+ D = j + D[_] + W;
6647
6657
  }
6648
6658
  }
6649
6659
  return o && (D = o(D)), D;
6650
6660
  },
6651
6661
  [r, a, l, c, C, o]
6652
- ), T = $(
6662
+ ), S = $(
6653
6663
  (k) => !(i !== void 0 && k < i || s !== void 0 && k > s),
6654
6664
  [i, s]
6655
6665
  ), E = $(
@@ -6659,14 +6669,14 @@ const zn = v.forwardRef(
6659
6669
  t == null || t(c ? "" : 0);
6660
6670
  return;
6661
6671
  }
6662
- const G = a === "comma" ? z.replace(/,/g, ".") : z, j = Number.parseFloat(G);
6663
- Number.isNaN(j) ? t == null || t(z) : T(j) ? t == null || t(j) : t == null || t(z);
6672
+ const _ = a === "comma" ? z.replace(/,/g, ".") : z, j = Number.parseFloat(_);
6673
+ Number.isNaN(j) ? t == null || t(z) : S(j) ? t == null || t(j) : t == null || t(z);
6664
6674
  },
6665
- [N, T, t, a, c]
6675
+ [N, S, t, a, c]
6666
6676
  ), M = $(
6667
6677
  (k) => {
6668
- const { key: D, ctrlKey: z, metaKey: G } = k;
6669
- if (z || G || [
6678
+ const { key: D, ctrlKey: z, metaKey: _ } = k;
6679
+ if (z || _ || [
6670
6680
  "Backspace",
6671
6681
  "Delete",
6672
6682
  "Tab",
@@ -6692,8 +6702,8 @@ const zn = v.forwardRef(
6692
6702
  return;
6693
6703
  }
6694
6704
  k.preventDefault();
6695
- const j = k.currentTarget, P = j.selectionStart || 0, W = j.value.substring(0, P) + (a === "dot" ? "." : ",") + j.value.substring(P), _ = N(W);
6696
- h(_), t == null || t(_);
6705
+ const j = k.currentTarget, P = j.selectionStart || 0, W = j.value.substring(0, P) + (a === "dot" ? "." : ",") + j.value.substring(P), G = N(W);
6706
+ h(G), t == null || t(G);
6697
6707
  return;
6698
6708
  }
6699
6709
  if (D === "-" && l) {
@@ -6711,8 +6721,8 @@ const zn = v.forwardRef(
6711
6721
  const D = k.clipboardData.getData("text"), z = N(D);
6712
6722
  if (z !== D) {
6713
6723
  k.preventDefault();
6714
- const G = k.currentTarget, j = G.selectionStart || 0, P = G.selectionEnd || 0, W = G.value.substring(0, j) + z + G.value.substring(P), _ = N(W);
6715
- h(_), t == null || t(_);
6724
+ const _ = k.currentTarget, j = _.selectionStart || 0, P = _.selectionEnd || 0, W = _.value.substring(0, j) + z + _.value.substring(P), G = N(W);
6725
+ h(G), t == null || t(G);
6716
6726
  }
6717
6727
  d == null || d(k);
6718
6728
  },
@@ -6725,8 +6735,8 @@ const zn = v.forwardRef(
6725
6735
  }
6726
6736
  }, [e, g]), /* @__PURE__ */ n(
6727
6737
  Fe,
6728
- F(w({}, x), {
6729
- ref: b,
6738
+ F(w({}, b), {
6739
+ ref: x,
6730
6740
  type: "text",
6731
6741
  value: g,
6732
6742
  onChange: E,
@@ -6754,8 +6764,8 @@ const Bn = v.forwardRef(
6754
6764
  "data-cy": f,
6755
6765
  "data-testid": d,
6756
6766
  icon: u,
6757
- iconPosition: x = "left",
6758
- iconSize: b,
6767
+ iconPosition: b = "left",
6768
+ iconSize: x,
6759
6769
  iconClassName: m
6760
6770
  } = C, y = L(C, [
6761
6771
  "className",
@@ -6780,7 +6790,7 @@ const Bn = v.forwardRef(
6780
6790
  return;
6781
6791
  }
6782
6792
  o == null || o(k);
6783
- }, T = (k) => {
6793
+ }, S = (k) => {
6784
6794
  if (s && (k.key === "Enter" || k.key === " ")) {
6785
6795
  k.preventDefault(), k.stopPropagation();
6786
6796
  return;
@@ -6804,7 +6814,7 @@ const Bn = v.forwardRef(
6804
6814
  "data-disabled": s || void 0,
6805
6815
  tabIndex: s ? -1 : l,
6806
6816
  onClick: N,
6807
- onKeyDown: T
6817
+ onKeyDown: S
6808
6818
  }, y), {
6809
6819
  children: k
6810
6820
  })
@@ -6821,17 +6831,17 @@ const Bn = v.forwardRef(
6821
6831
  "data-disabled": s || void 0,
6822
6832
  tabIndex: s ? -1 : l,
6823
6833
  onClick: N,
6824
- onKeyDown: T,
6834
+ onKeyDown: S,
6825
6835
  "data-cy": f,
6826
6836
  "data-testid": d,
6827
6837
  children: k
6828
6838
  })
6829
6839
  );
6830
6840
  }
6831
- const M = /* @__PURE__ */ n(V, { icon: u, size: b, className: p("shrink-0", m) }), R = /* @__PURE__ */ I("span", { className: "inline-flex items-center gap-2", children: [
6832
- x === "left" && M,
6841
+ const M = /* @__PURE__ */ n(V, { icon: u, size: x, className: p("shrink-0", m) }), R = /* @__PURE__ */ I("span", { className: "inline-flex items-center gap-2", children: [
6842
+ b === "left" && M,
6833
6843
  /* @__PURE__ */ n("span", { className: "inline-flex min-w-0", children: r }),
6834
- x === "right" && M
6844
+ b === "right" && M
6835
6845
  ] });
6836
6846
  return c ? /* @__PURE__ */ n(
6837
6847
  Qt,
@@ -6847,7 +6857,7 @@ const Bn = v.forwardRef(
6847
6857
  "data-disabled": s || void 0,
6848
6858
  tabIndex: s ? -1 : l,
6849
6859
  onClick: N,
6850
- onKeyDown: T
6860
+ onKeyDown: S
6851
6861
  }, y), {
6852
6862
  children: R
6853
6863
  })
@@ -6863,7 +6873,7 @@ const Bn = v.forwardRef(
6863
6873
  "data-disabled": s || void 0,
6864
6874
  tabIndex: s ? -1 : l,
6865
6875
  onClick: N,
6866
- onKeyDown: T,
6876
+ onKeyDown: S,
6867
6877
  className: p(
6868
6878
  E,
6869
6879
  "gap-2",
@@ -6879,7 +6889,7 @@ const Bn = v.forwardRef(
6879
6889
  Bn.displayName = "Link";
6880
6890
  const Mi = aa, On = v.forwardRef(
6881
6891
  (u, d) => {
6882
- var x = u, {
6892
+ var b = u, {
6883
6893
  className: e,
6884
6894
  containerClassName: t,
6885
6895
  mask: r,
@@ -6889,7 +6899,7 @@ const Mi = aa, On = v.forwardRef(
6889
6899
  onChange: s,
6890
6900
  size: l = "md",
6891
6901
  currentCountry: c
6892
- } = x, f = L(x, [
6902
+ } = b, f = L(b, [
6893
6903
  "className",
6894
6904
  "containerClassName",
6895
6905
  "mask",
@@ -6900,8 +6910,8 @@ const Mi = aa, On = v.forwardRef(
6900
6910
  "size",
6901
6911
  "currentCountry"
6902
6912
  ]);
6903
- const b = v.useRef(null);
6904
- return v.useImperativeHandle(d, () => b.current), /* @__PURE__ */ n(
6913
+ const x = v.useRef(null);
6914
+ return v.useImperativeHandle(d, () => x.current), /* @__PURE__ */ n(
6905
6915
  Mi,
6906
6916
  F(w({
6907
6917
  mask: r,
@@ -6916,7 +6926,7 @@ const Mi = aa, On = v.forwardRef(
6916
6926
  Fe,
6917
6927
  F(w(w({}, m), f), {
6918
6928
  size: l,
6919
- ref: b,
6929
+ ref: x,
6920
6930
  className: e,
6921
6931
  containerClassName: t
6922
6932
  })
@@ -6947,7 +6957,7 @@ const Ei = {
6947
6957
  _n.displayName = le.Overlay.displayName;
6948
6958
  const Ai = v.forwardRef(
6949
6959
  (u, d) => {
6950
- var x = u, {
6960
+ var b = u, {
6951
6961
  className: e,
6952
6962
  children: t,
6953
6963
  showClose: r = !0,
@@ -6957,7 +6967,7 @@ const Ai = v.forwardRef(
6957
6967
  hideOverlay: s = !1,
6958
6968
  fullScreen: l = !1,
6959
6969
  width: c = "sm"
6960
- } = x, f = L(x, [
6970
+ } = b, f = L(b, [
6961
6971
  "className",
6962
6972
  "children",
6963
6973
  "showClose",
@@ -6968,16 +6978,16 @@ const Ai = v.forwardRef(
6968
6978
  "fullScreen",
6969
6979
  "width"
6970
6980
  ]);
6971
- const b = fe(null), [m, y] = ee(!1);
6981
+ const x = fe(null), [m, y] = ee(!1);
6972
6982
  return de(() => {
6973
6983
  const g = () => {
6974
- b.current && y(b.current.scrollTop > 0);
6984
+ x.current && y(x.current.scrollTop > 0);
6975
6985
  };
6976
6986
  return setTimeout(() => {
6977
- const h = b.current;
6987
+ const h = x.current;
6978
6988
  h && h.addEventListener("scroll", g);
6979
6989
  }, 2e3), () => {
6980
- const h = b.current;
6990
+ const h = x.current;
6981
6991
  h && h.removeEventListener("scroll", g);
6982
6992
  };
6983
6993
  }, []), /* @__PURE__ */ I(Ri, { children: [
@@ -7015,7 +7025,7 @@ const Ai = v.forwardRef(
7015
7025
  "div",
7016
7026
  {
7017
7027
  className: "no-scrollbar flex flex-col overflow-y-auto",
7018
- ref: b,
7028
+ ref: x,
7019
7029
  children: t
7020
7030
  }
7021
7031
  ),
@@ -7162,14 +7172,14 @@ const Bl = Xn((e, t) => {
7162
7172
  errorMessage: f,
7163
7173
  title: d,
7164
7174
  fnGetCode: u,
7165
- timer: x = 60,
7166
- smsTexts: b = {
7175
+ timer: b = 60,
7176
+ smsTexts: x = {
7167
7177
  resend: "Отправить код повторно",
7168
7178
  sms: "Отправить СМС через"
7169
7179
  }
7170
7180
  } = e, m = e["data-cy"], y = e["data-testid"], [g, h] = ee(0), [C, N] = ee(
7171
7181
  Array.from({ length: r }, () => "")
7172
- ), [T, E] = ee(u ? x : 0), [M, R] = ee(!!u), [k, D] = ee(c), [z, G] = ee(f), j = (K) => {
7182
+ ), [S, E] = ee(u ? b : 0), [M, R] = ee(!!u), [k, D] = ee(c), [z, _] = ee(f), j = (K) => {
7173
7183
  const Y = Math.max(Math.min(r - 1, K), 0);
7174
7184
  h(Y);
7175
7185
  };
@@ -7177,22 +7187,22 @@ const Bl = Xn((e, t) => {
7177
7187
  focusInput: j
7178
7188
  })), de(() => {
7179
7189
  let K;
7180
- return M && T > 0 ? K = setInterval(() => {
7190
+ return M && S > 0 ? K = setInterval(() => {
7181
7191
  E((Y) => Y - 1);
7182
- }, 1e3) : T === 0 && R(!1), () => {
7192
+ }, 1e3) : S === 0 && R(!1), () => {
7183
7193
  K && clearInterval(K);
7184
7194
  };
7185
- }, [T, M]), de(() => {
7186
- D(c), G(f);
7195
+ }, [S, M]), de(() => {
7196
+ D(c), _(f);
7187
7197
  }, [c, f]);
7188
7198
  const P = () => {
7189
- u && !M && (u(), E(x), R(!0));
7199
+ u && !M && (u(), E(b), R(!0));
7190
7200
  }, W = (K) => {
7191
7201
  var Ne;
7192
- k && (D(!1), G("")), N(K);
7202
+ k && (D(!1), _("")), N(K);
7193
7203
  const Y = K.join("");
7194
7204
  a(Y), Y.length === r && ((Ne = e.onComplete) == null || Ne.call(e, Y), l && (N(Array.from({ length: r }, () => "")), h(0)));
7195
- }, _ = (K) => !Number.isNaN(Number.parseInt(K, 10)) && K.trim().length === 1, J = () => {
7205
+ }, G = (K) => !Number.isNaN(Number.parseInt(K, 10)) && K.trim().length === 1, J = () => {
7196
7206
  j(g + 1);
7197
7207
  }, U = () => {
7198
7208
  j(g - 1);
@@ -7215,12 +7225,12 @@ const Bl = Xn((e, t) => {
7215
7225
  W(Ne.split(""));
7216
7226
  return;
7217
7227
  }
7218
- _(Ne) && B(Ne);
7228
+ G(Ne) && B(Ne);
7219
7229
  }, ne = (K) => {
7220
7230
  s || (K.keyCode === Pi || K.key === "Backspace" ? (K.preventDefault(), B(""), U()) : K.keyCode === Oi || K.key === "Delete" ? (K.preventDefault(), B("")) : K.keyCode === zi || K.key === "ArrowLeft" ? (K.preventDefault(), U()) : K.keyCode === Bi || K.key === "ArrowRight" ? (K.preventDefault(), J()) : (K.keyCode === _i || K.key === " " || K.key === "Spacebar" || K.key === "Space") && K.preventDefault());
7221
7231
  }, be = (K) => {
7222
7232
  if (!s) {
7223
- if (_(K.currentTarget.value)) {
7233
+ if (G(K.currentTarget.value)) {
7224
7234
  J();
7225
7235
  return;
7226
7236
  }
@@ -7262,11 +7272,11 @@ const Bl = Xn((e, t) => {
7262
7272
  )) }),
7263
7273
  k && z && /* @__PURE__ */ n(O, { variant: "p2", textColor: "destructive", className: "font-cofo", children: z }),
7264
7274
  u && /* @__PURE__ */ n("div", { children: M ? /* @__PURE__ */ I(O, { variant: "p2", textColor: "muted", className: "font-cofo", children: [
7265
- b.sms,
7275
+ x.sms,
7266
7276
  " ",
7267
7277
  "0:",
7268
- T < 10 ? `0${T}` : T
7269
- ] }) : /* @__PURE__ */ n(Bn, { onClick: P, children: b.resend }) })
7278
+ S < 10 ? `0${S}` : S
7279
+ ] }) : /* @__PURE__ */ n(Bn, { onClick: P, children: x.resend }) })
7270
7280
  ] });
7271
7281
  }), Pr = (e, t, r) => Math.min(Math.max(e, t), r);
7272
7282
  function Wi(e, t) {
@@ -7314,11 +7324,11 @@ const Ol = ({
7314
7324
  showQuickJumper: l = !1,
7315
7325
  locale: c
7316
7326
  }) => {
7317
- var N, T;
7327
+ var N, S;
7318
7328
  const f = Math.max(1, Math.ceil((t || 0) / (r || 10))), d = Pr(e || 1, 1, f), u = q(
7319
7329
  () => [{ type: "prev" }, ...Vi(d, f), { type: "next" }],
7320
7330
  [d, f]
7321
- ), [x, b] = ee("");
7331
+ ), [b, x] = ee("");
7322
7332
  if (s && f <= 1)
7323
7333
  return null;
7324
7334
  const m = (E) => {
@@ -7343,9 +7353,9 @@ const Ol = ({
7343
7353
  }, g = () => {
7344
7354
  if (i)
7345
7355
  return;
7346
- const E = typeof x == "number" ? x : Number(x);
7347
- Number.isFinite(E) && (m(E), b(""));
7348
- }, h = (N = c == null ? void 0 : c.jump_to) != null ? N : "Перейти на", C = (T = c == null ? void 0 : c.page) != null ? T : "страницу";
7356
+ const E = typeof b == "number" ? b : Number(b);
7357
+ Number.isFinite(E) && (m(E), x(""));
7358
+ }, h = (N = c == null ? void 0 : c.jump_to) != null ? N : "Перейти на", C = (S = c == null ? void 0 : c.page) != null ? S : "страницу";
7349
7359
  return /* @__PURE__ */ I("div", { className: p("flex items-center justify-between gap-3 flex-wrap", o), "data-testid": "paginator", children: [
7350
7360
  /* @__PURE__ */ n("div", { className: "flex items-center gap-1 flex-wrap", children: u.map((E, M) => {
7351
7361
  const R = Wi(E, f), k = E.type === "page" && E.page === d, D = `${E.type}-${E.type === "page" ? E.page : M}`, z = E.type === "prev" || E.type === "next" ? /* @__PURE__ */ n(
@@ -7398,8 +7408,8 @@ const Ol = ({
7398
7408
  /* @__PURE__ */ n(
7399
7409
  zn,
7400
7410
  {
7401
- value: x,
7402
- onChange: (E) => b(E === "" ? "" : Number(E)),
7411
+ value: b,
7412
+ onChange: (E) => x(E === "" ? "" : Number(E)),
7403
7413
  min: 1,
7404
7414
  max: f,
7405
7415
  allowNegative: !1,
@@ -8239,7 +8249,7 @@ const Gn = Ce.forwardRef(
8239
8249
  "inputSize",
8240
8250
  "isLoading"
8241
8251
  ]);
8242
- const x = _t(), b = s != null ? s : i, m = () => /* @__PURE__ */ n(lt, { children: /* @__PURE__ */ n(dt, { children: /* @__PURE__ */ n(ct, { children: t == null ? void 0 : t.map((y, g) => /* @__PURE__ */ I(
8252
+ const b = _t(), x = s != null ? s : i, m = () => /* @__PURE__ */ n(lt, { children: /* @__PURE__ */ n(dt, { children: /* @__PURE__ */ n(ct, { children: t == null ? void 0 : t.map((y, g) => /* @__PURE__ */ I(
8243
8253
  Ft,
8244
8254
  {
8245
8255
  onSelect: () => o(y),
@@ -8258,12 +8268,12 @@ const Gn = Ce.forwardRef(
8258
8268
  mask: r,
8259
8269
  alwaysShowMask: !0,
8260
8270
  className: p(e, {
8261
- "text-[14px]": b === "md",
8262
- "text-[16px]": b === "lg"
8271
+ "text-[14px]": x === "md",
8272
+ "text-[16px]": x === "lg"
8263
8273
  }),
8264
8274
  containerClassName: p("rounded-none border-0 border-none hover:border-0 focus:border-0 enabled:hover:border-0 focus-within:shadow-none", {
8265
- "text-[16px]": b === "lg",
8266
- "text-[14px]": b === "md"
8275
+ "text-[16px]": x === "lg",
8276
+ "text-[14px]": x === "md"
8267
8277
  }),
8268
8278
  error: void 0,
8269
8279
  caption: void 0,
@@ -8273,20 +8283,20 @@ const Gn = Ce.forwardRef(
8273
8283
  const g = y.clipboardData.getData("text/plain"), h = y.target, C = Be.parsePhoneNumber(g);
8274
8284
  let N = "";
8275
8285
  !(C != null && C.country) && (g.startsWith("+8") || g.startsWith("8")) ? N = `+${g.replace(/\D/g, "").replace("8", "7")}` : !(C != null && C.country) && g.startsWith("7") ? N = `+${g}` : N = g, h.value = N;
8276
- const T = F(w({}, y), {
8286
+ const S = F(w({}, y), {
8277
8287
  target: h
8278
8288
  });
8279
- a == null || a(T);
8289
+ a == null || a(S);
8280
8290
  },
8281
8291
  onChange: a,
8282
- size: b
8292
+ size: x
8283
8293
  }, c), {
8284
8294
  ref: f
8285
8295
  })
8286
8296
  ),
8287
8297
  l && /* @__PURE__ */ n(Ve, { size: 16, className: "absolute top-1/2 right-2 -translate-y-1/2 text-default" }),
8288
8298
  !l && t && t.length > 1 && /* @__PURE__ */ I(pe, { children: [
8289
- x === "mobile" && /* @__PURE__ */ I(pt, { children: [
8299
+ b === "mobile" && /* @__PURE__ */ I(pt, { children: [
8290
8300
  /* @__PURE__ */ n(Ze, { asChild: !0, children: /* @__PURE__ */ n(
8291
8301
  Q,
8292
8302
  {
@@ -8310,7 +8320,7 @@ const Gn = Ce.forwardRef(
8310
8320
  )
8311
8321
  ] })
8312
8322
  ] }),
8313
- x !== "mobile" && /* @__PURE__ */ I($e, { children: [
8323
+ b !== "mobile" && /* @__PURE__ */ I($e, { children: [
8314
8324
  /* @__PURE__ */ n(Ye, { asChild: !0, children: /* @__PURE__ */ n(
8315
8325
  Q,
8316
8326
  {
@@ -8376,7 +8386,7 @@ const _r = jr(
8376
8386
  inputSize: l = "lg"
8377
8387
  }) => {
8378
8388
  var g;
8379
- const [c, f] = Ce.useState(!1), [d, u] = Ce.useState(""), x = _t(), b = (g = t != null ? t : r) != null ? g : ut, m = (h) => {
8389
+ const [c, f] = Ce.useState(!1), [d, u] = Ce.useState(""), b = _t(), x = (g = t != null ? t : r) != null ? g : ut, m = (h) => {
8380
8390
  h && (o(h), f(!1));
8381
8391
  }, y = Ce.useMemo(() => {
8382
8392
  if (!d)
@@ -8386,12 +8396,12 @@ const _r = jr(
8386
8396
  var M;
8387
8397
  if (!C)
8388
8398
  return !1;
8389
- const T = ((M = i[C]) == null ? void 0 : M.toLowerCase()) || N.toLowerCase(), E = Be.getCountryCallingCode(C);
8390
- return T.includes(h) || C.toLowerCase().includes(h) || `+${E}`.includes(h);
8399
+ const S = ((M = i[C]) == null ? void 0 : M.toLowerCase()) || N.toLowerCase(), E = Be.getCountryCallingCode(C);
8400
+ return S.includes(h) || C.toLowerCase().includes(h) || `+${E}`.includes(h);
8391
8401
  });
8392
8402
  }, [a, d]);
8393
8403
  return /* @__PURE__ */ I(pe, { children: [
8394
- x === "mobile" && /* @__PURE__ */ I(pt, { open: c, onOpenChange: f, children: [
8404
+ b === "mobile" && /* @__PURE__ */ I(pt, { open: c, onOpenChange: f, children: [
8395
8405
  /* @__PURE__ */ n(
8396
8406
  Ze,
8397
8407
  {
@@ -8416,8 +8426,8 @@ const _r = jr(
8416
8426
  /* @__PURE__ */ n(
8417
8427
  Mt,
8418
8428
  {
8419
- country: b,
8420
- countryName: i[b]
8429
+ country: x,
8430
+ countryName: i[x]
8421
8431
  }
8422
8432
  ),
8423
8433
  /* @__PURE__ */ n(
@@ -8465,7 +8475,7 @@ const _r = jr(
8465
8475
  ] }) }) })
8466
8476
  ] })
8467
8477
  ] }),
8468
- x !== "mobile" && /* @__PURE__ */ I($e, { open: c, onOpenChange: f, children: [
8478
+ b !== "mobile" && /* @__PURE__ */ I($e, { open: c, onOpenChange: f, children: [
8469
8479
  /* @__PURE__ */ n(
8470
8480
  Ye,
8471
8481
  {
@@ -8489,8 +8499,8 @@ const _r = jr(
8489
8499
  /* @__PURE__ */ n(
8490
8500
  Mt,
8491
8501
  {
8492
- country: b,
8493
- countryName: i[b]
8502
+ country: x,
8503
+ countryName: i[x]
8494
8504
  }
8495
8505
  ),
8496
8506
  /* @__PURE__ */ n(
@@ -8551,7 +8561,7 @@ const _r = jr(
8551
8561
  ] });
8552
8562
  }
8553
8563
  ), _l = Ce.forwardRef(
8554
- (m, b) => {
8564
+ (m, x) => {
8555
8565
  var y = m, {
8556
8566
  className: e,
8557
8567
  onChange: t,
@@ -8565,7 +8575,7 @@ const _r = jr(
8565
8575
  locale: f = "ru",
8566
8576
  size: d = "lg",
8567
8577
  isLoading: u = !1
8568
- } = y, x = L(y, [
8578
+ } = y, b = L(y, [
8569
8579
  "className",
8570
8580
  "onChange",
8571
8581
  "label",
@@ -8579,8 +8589,8 @@ const _r = jr(
8579
8589
  "size",
8580
8590
  "isLoading"
8581
8591
  ]);
8582
- var G, j;
8583
- const [g, h] = Ce.useState(() => ""), [C, N] = Ce.useState([]), [T, E] = Ce.useState(l), M = (() => {
8592
+ var _, j;
8593
+ const [g, h] = Ce.useState(() => ""), [C, N] = Ce.useState([]), [S, E] = Ce.useState(l), M = (() => {
8584
8594
  switch (f) {
8585
8595
  case "en":
8586
8596
  return ia;
@@ -8595,8 +8605,8 @@ const _r = jr(
8595
8605
  })(), R = ji[f];
8596
8606
  Ce.useEffect(() => {
8597
8607
  if (i && i !== "+7") {
8598
- const _ = Be.parsePhoneNumber(i);
8599
- if (!(_ != null && _.country) && (i.startsWith("+8") || i.startsWith("8"))) {
8608
+ const G = Be.parsePhoneNumber(i);
8609
+ if (!(G != null && G.country) && (i.startsWith("+8") || i.startsWith("8"))) {
8600
8610
  t == null || t(`+${i.replace(/\D/g, "").replace("8", "7")}`);
8601
8611
  return;
8602
8612
  }
@@ -8605,13 +8615,13 @@ const _r = jr(
8605
8615
  E(P), h(W[0]), N(W);
8606
8616
  }, [l, t, i]);
8607
8617
  const k = (P) => {
8608
- const W = Yi(P), _ = Or(
8618
+ const W = Yi(P), G = Or(
8609
8619
  W,
8610
- T != null ? T : l
8620
+ S != null ? S : l
8611
8621
  );
8612
- if (_ !== T) {
8613
- const U = Jt(_);
8614
- E(_), h(U[0]), N(U);
8622
+ if (G !== S) {
8623
+ const U = Jt(G);
8624
+ E(G), h(U[0]), N(U);
8615
8625
  }
8616
8626
  t == null || t(W);
8617
8627
  const J = Be.isPossiblePhoneNumber(W);
@@ -8622,8 +8632,8 @@ const _r = jr(
8622
8632
  E(P);
8623
8633
  const W = Jt(P);
8624
8634
  h(W[0]), N(W);
8625
- const _ = `+${Be.getCountryCallingCode(P)}`;
8626
- t == null || t(_);
8635
+ const G = `+${Be.getCountryCallingCode(P)}`;
8636
+ t == null || t(G);
8627
8637
  }, z = (P) => {
8628
8638
  h(P);
8629
8639
  };
@@ -8632,24 +8642,24 @@ const _r = jr(
8632
8642
  /* @__PURE__ */ n(
8633
8643
  Be.default,
8634
8644
  w({
8635
- ref: b,
8645
+ ref: x,
8636
8646
  "data-testid": s,
8637
8647
  value: i,
8638
8648
  tabIndex: 0,
8639
- defaultCountry: (G = T != null ? T : l) != null ? G : ut,
8649
+ defaultCountry: (_ = S != null ? S : l) != null ? _ : ut,
8640
8650
  className: p(
8641
8651
  "border-border flex overflow-hidden border transition-colors",
8642
8652
  "hover:border-hover-input-primary focus-within:border-primary focus-within:shadow-focus flex items-center bg-white",
8643
8653
  { "h-8 rounded-lg": d === "md" },
8644
8654
  { "h-10 rounded-xl": d === "lg" },
8645
8655
  e,
8646
- { "hover:border-border bg-muted": x.disabled }
8656
+ { "hover:border-border bg-muted": b.disabled }
8647
8657
  ),
8648
8658
  flagComponent: Mt,
8649
8659
  countryCallingCodeEditable: !1,
8650
8660
  countrySelectComponent: Zi,
8651
8661
  countrySelectProps: {
8652
- defaultCountry: (j = T != null ? T : l) != null ? j : ut,
8662
+ defaultCountry: (j = S != null ? S : l) != null ? j : ut,
8653
8663
  locale: M,
8654
8664
  translations: R,
8655
8665
  inputSize: d
@@ -8676,7 +8686,7 @@ const _r = jr(
8676
8686
  "IL",
8677
8687
  "ES"
8678
8688
  ]
8679
- }, x)
8689
+ }, b)
8680
8690
  ),
8681
8691
  o && /* @__PURE__ */ n(O, { variant: "p1", className: "mt-1.5", textColor: "secondary", children: o }),
8682
8692
  a && /* @__PURE__ */ n(O, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: a })
@@ -8799,8 +8809,8 @@ const es = me(
8799
8809
  onClick: f,
8800
8810
  onFocus: d,
8801
8811
  onBlur: u,
8802
- "data-testid": x
8803
- } = g, b = L(g, [
8812
+ "data-testid": b
8813
+ } = g, x = L(g, [
8804
8814
  "className",
8805
8815
  "size",
8806
8816
  "label",
@@ -8815,11 +8825,11 @@ const es = me(
8815
8825
  "onBlur",
8816
8826
  "data-testid"
8817
8827
  ]);
8818
- const h = a || !1, C = o || !1, N = v.useId(), T = s || `${N}-radio`;
8828
+ const h = a || !1, C = o || !1, N = v.useId(), S = s || `${N}-radio`;
8819
8829
  return /* @__PURE__ */ n(
8820
8830
  "label",
8821
8831
  {
8822
- htmlFor: T,
8832
+ htmlFor: S,
8823
8833
  className: p(
8824
8834
  "select-none",
8825
8835
  C ? "cursor-not-allowed opacity-40" : "cursor-pointer"
@@ -8839,10 +8849,10 @@ const es = me(
8839
8849
  checked: a,
8840
8850
  disabled: C,
8841
8851
  value: i,
8842
- id: T
8843
- }, b), {
8852
+ id: S
8853
+ }, x), {
8844
8854
  ref: m,
8845
- "data-testid": x
8855
+ "data-testid": b
8846
8856
  })
8847
8857
  ),
8848
8858
  r && /* @__PURE__ */ n("span", { children: r })
@@ -8978,13 +8988,13 @@ const as = v.forwardRef(
8978
8988
  "defaultValue",
8979
8989
  "data-testid"
8980
8990
  ]);
8981
- const [u, x] = v.useState(
8991
+ const [u, b] = v.useState(
8982
8992
  o || i || ""
8983
- ), b = (m) => {
8984
- m && m !== u && (x(m), a == null || a(m));
8993
+ ), x = (m) => {
8994
+ m && m !== u && (b(m), a == null || a(m));
8985
8995
  };
8986
8996
  return v.useEffect(() => {
8987
- o !== void 0 && x(o);
8997
+ o !== void 0 && b(o);
8988
8998
  }, [o]), /* @__PURE__ */ n(
8989
8999
  Dt.Root,
8990
9000
  F(w({
@@ -8992,7 +9002,7 @@ const as = v.forwardRef(
8992
9002
  type: "single",
8993
9003
  className: p(ns({ size: t }), e),
8994
9004
  value: u,
8995
- onValueChange: b,
9005
+ onValueChange: x,
8996
9006
  "data-testid": s
8997
9007
  }, l), {
8998
9008
  children: v.Children.map(r, (m) => v.isValidElement(m) && m.type === jn ? v.cloneElement(m, { size: t }) : m)
@@ -9003,7 +9013,7 @@ const as = v.forwardRef(
9003
9013
  as.displayName = Dt.Root.displayName;
9004
9014
  const os = v.forwardRef(
9005
9015
  (u, d) => {
9006
- var x = u, {
9016
+ var b = u, {
9007
9017
  className: e,
9008
9018
  size: t = "default",
9009
9019
  icon: r,
@@ -9013,7 +9023,7 @@ const os = v.forwardRef(
9013
9023
  disabled: s,
9014
9024
  active: l,
9015
9025
  "data-testid": c
9016
- } = x, f = L(x, [
9026
+ } = b, f = L(b, [
9017
9027
  "className",
9018
9028
  "size",
9019
9029
  "icon",
@@ -9024,8 +9034,8 @@ const os = v.forwardRef(
9024
9034
  "active",
9025
9035
  "data-testid"
9026
9036
  ]);
9027
- const [b, m] = v.useState(!1), y = l !== void 0 ? l : b, g = () => {
9028
- l !== void 0 || m(!b), i == null || i();
9037
+ const [x, m] = v.useState(!1), y = l !== void 0 ? l : x, g = () => {
9038
+ l !== void 0 || m(!x), i == null || i();
9029
9039
  }, h = () => r ? v.isValidElement(r) ? r : /* @__PURE__ */ n(V, { icon: r }) : null, C = /* @__PURE__ */ I(pe, { children: [
9030
9040
  a === "start" && h(),
9031
9041
  o && /* @__PURE__ */ n(
@@ -9184,7 +9194,7 @@ const is = me(
9184
9194
  }
9185
9195
  ), ls = v.forwardRef((d, f) => {
9186
9196
  var u = d, { className: e, size: t, label: r, loading: a, checked: o, disabled: i, "data-testid": s, onCheckedChange: l } = u, c = L(u, ["className", "size", "label", "loading", "checked", "disabled", "data-testid", "onCheckedChange"]);
9187
- const x = o || !1, b = i || !1, m = fe(void 0), y = (h) => {
9197
+ const b = o || !1, x = i || !1, m = fe(void 0), y = (h) => {
9188
9198
  m.current = h;
9189
9199
  }, g = (h) => {
9190
9200
  l && (l(h, m.current), m.current = void 0);
@@ -9196,14 +9206,14 @@ const is = me(
9196
9206
  className: p(
9197
9207
  is({
9198
9208
  size: t,
9199
- isChecked: x,
9209
+ isChecked: b,
9200
9210
  isLoading: !!a,
9201
- isDisabled: b
9211
+ isDisabled: x
9202
9212
  }),
9203
9213
  e
9204
9214
  ),
9205
9215
  checked: o,
9206
- disabled: b,
9216
+ disabled: x,
9207
9217
  isLoading: a,
9208
9218
  defaultChecked: o,
9209
9219
  ref: f,
@@ -9234,7 +9244,7 @@ const is = me(
9234
9244
  {
9235
9245
  className: p(
9236
9246
  "font-medium leading-none",
9237
- b && "opacity-40 cursor-not-allowed"
9247
+ x && "opacity-40 cursor-not-allowed"
9238
9248
  ),
9239
9249
  children: r
9240
9250
  }
@@ -9362,68 +9372,68 @@ function ps({
9362
9372
  tbodyDataTestId: c,
9363
9373
  rowDataTestId: f
9364
9374
  }) {
9365
- const d = e.getRowModel().rows, [u, x] = ee(() => /* @__PURE__ */ new Set()), b = fe(null), m = fe(/* @__PURE__ */ new Map());
9375
+ const d = e.getRowModel().rows, [u, b] = ee(() => /* @__PURE__ */ new Set()), x = fe(null), m = fe(/* @__PURE__ */ new Map());
9366
9376
  return de(() => () => {
9367
9377
  m.current.forEach((y) => {
9368
9378
  window.clearTimeout(y);
9369
9379
  }), m.current.clear();
9370
9380
  }, []), de(() => {
9371
9381
  if (!l) {
9372
- b.current = null, x(/* @__PURE__ */ new Set()), m.current.forEach((C) => window.clearTimeout(C)), m.current.clear();
9382
+ x.current = null, b(/* @__PURE__ */ new Set()), m.current.forEach((C) => window.clearTimeout(C)), m.current.clear();
9373
9383
  return;
9374
9384
  }
9375
9385
  const y = d.map((C) => C.id);
9376
- if (b.current === null) {
9377
- b.current = new Set(y);
9386
+ if (x.current === null) {
9387
+ x.current = new Set(y);
9378
9388
  return;
9379
9389
  }
9380
- const g = b.current, h = y.filter((C) => !g.has(C));
9381
- b.current = new Set(y), h.length !== 0 && (x((C) => {
9390
+ const g = x.current, h = y.filter((C) => !g.has(C));
9391
+ x.current = new Set(y), h.length !== 0 && (b((C) => {
9382
9392
  const N = new Set(C);
9383
- return h.forEach((T) => N.add(T)), N;
9393
+ return h.forEach((S) => N.add(S)), N;
9384
9394
  }), h.forEach((C) => {
9385
9395
  const N = m.current.get(C);
9386
9396
  N && window.clearTimeout(N);
9387
- const T = window.setTimeout(() => {
9388
- x((E) => {
9397
+ const S = window.setTimeout(() => {
9398
+ b((E) => {
9389
9399
  if (!E.has(C))
9390
9400
  return E;
9391
9401
  const M = new Set(E);
9392
9402
  return M.delete(C), M;
9393
9403
  }), m.current.delete(C);
9394
9404
  }, 1400);
9395
- m.current.set(C, T);
9405
+ m.current.set(C, S);
9396
9406
  }));
9397
9407
  }, [l, d]), d.length === 0 ? /* @__PURE__ */ n("tbody", { "data-testid": c, children: /* @__PURE__ */ n("tr", { "data-testid": f, children: /* @__PURE__ */ n("td", { colSpan: Math.max(1, t), className: "p-0", children: /* @__PURE__ */ n(Hn, { locale: a }) }) }) }) : /* @__PURE__ */ n("tbody", { "data-testid": c, children: d.map((y) => {
9398
- var k, D, z, G;
9399
- const g = y.index, h = (k = r == null ? void 0 : r(y.original, g)) != null ? k : {}, C = typeof h.onClick == "function", N = h.onClick, T = l && u.has(y.id), E = (j) => {
9408
+ var k, D, z, _;
9409
+ const g = y.index, h = (k = r == null ? void 0 : r(y.original, g)) != null ? k : {}, C = typeof h.onClick == "function", N = h.onClick, S = l && u.has(y.id), E = (j) => {
9400
9410
  var P;
9401
9411
  (P = h.onKeyDown) == null || P.call(h, j), C && (j.key !== "Enter" && j.key !== " " || (j.preventDefault(), j.currentTarget.click()));
9402
9412
  }, M = p(
9403
9413
  "group transition-colors",
9404
- T && "data-[new=true]:animate-in data-[new=true]:fade-in-0",
9414
+ S && "data-[new=true]:animate-in data-[new=true]:fade-in-0",
9405
9415
  // Комментарий: если передан onRow — считаем строку интерактивной (как переход/роутинг в main-app)
9406
9416
  (r || C) && "cursor-pointer",
9407
9417
  h.className
9408
9418
  ), R = p(
9409
9419
  "bg-background group-hover:bg-[#F6F6F7]",
9410
- T && "bg-primary/5 group-hover:bg-primary/10"
9420
+ S && "bg-primary/5 group-hover:bg-primary/10"
9411
9421
  );
9412
9422
  return /* @__PURE__ */ n(
9413
9423
  "tr",
9414
9424
  F(w({
9415
9425
  "data-testid": f
9416
9426
  }, h), {
9417
- "data-new": T ? "true" : void 0,
9427
+ "data-new": S ? "true" : void 0,
9418
9428
  className: M,
9419
9429
  onClick: N,
9420
9430
  onKeyDown: C ? E : h.onKeyDown,
9421
9431
  role: C ? (D = h.role) != null ? D : "button" : h.role,
9422
9432
  tabIndex: C ? (z = h.tabIndex) != null ? z : 0 : h.tabIndex,
9423
- "aria-label": C ? (G = h["aria-label"]) != null ? G : "Открыть строку" : h["aria-label"],
9433
+ "aria-label": C ? (_ = h["aria-label"]) != null ? _ : "Открыть строку" : h["aria-label"],
9424
9434
  children: y.getVisibleCells().map((j) => {
9425
9435
  var be, oe, Te;
9426
- const P = j.column.columnDef.meta, W = y.original, _ = g === d.length - 1, J = Qr(j.column.columnDef.cell, j.getContext()), U = (be = P == null ? void 0 : P.cellStyle) == null ? void 0 : be.call(P, W, g), B = (oe = P == null ? void 0 : P.cellClassName) == null ? void 0 : oe.call(P, W, g), H = hr(P == null ? void 0 : P.align), re = br(P == null ? void 0 : P.fixed, j.column.id, o), ne = xr(P == null ? void 0 : P.fixed, j.column.id, i, s);
9436
+ const P = j.column.columnDef.meta, W = y.original, G = g === d.length - 1, J = Qr(j.column.columnDef.cell, j.getContext()), U = (be = P == null ? void 0 : P.cellStyle) == null ? void 0 : be.call(P, W, g), B = (oe = P == null ? void 0 : P.cellClassName) == null ? void 0 : oe.call(P, W, g), H = hr(P == null ? void 0 : P.align), re = br(P == null ? void 0 : P.fixed, j.column.id, o), ne = xr(P == null ? void 0 : P.fixed, j.column.id, i, s);
9427
9437
  return /* @__PURE__ */ n(
9428
9438
  "td",
9429
9439
  {
@@ -9434,7 +9444,7 @@ function ps({
9434
9444
  H,
9435
9445
  P == null ? void 0 : P.className,
9436
9446
  B,
9437
- _ && "border-b-0",
9447
+ G && "border-b-0",
9438
9448
  ((P == null ? void 0 : P.fixed) === "left" || (P == null ? void 0 : P.fixed) === "right") && "sticky z-10"
9439
9449
  ),
9440
9450
  style: F(w(w({
@@ -9502,12 +9512,12 @@ function bs(e, t) {
9502
9512
  "data-testid": e["data-testid"],
9503
9513
  defaultSortOrder: e.defaultSortOrder,
9504
9514
  cellStyle: e.onCell ? (f, d) => {
9505
- var u, x;
9506
- return (x = (u = e.onCell) == null ? void 0 : u.call(e, f, d)) == null ? void 0 : x.style;
9515
+ var u, b;
9516
+ return (b = (u = e.onCell) == null ? void 0 : u.call(e, f, d)) == null ? void 0 : b.style;
9507
9517
  } : void 0,
9508
9518
  cellClassName: e.onCell ? (f, d) => {
9509
- var u, x;
9510
- return (x = (u = e.onCell) == null ? void 0 : u.call(e, f, d)) == null ? void 0 : x.className;
9519
+ var u, b;
9520
+ return (b = (u = e.onCell) == null ? void 0 : u.call(e, f, d)) == null ? void 0 : b.className;
9511
9521
  } : void 0
9512
9522
  };
9513
9523
  return {
@@ -9520,8 +9530,8 @@ function bs(e, t) {
9520
9530
  meta: o,
9521
9531
  header: () => e.title,
9522
9532
  cell: (f) => {
9523
- const d = f.row.original, u = f.row.index, x = f.getValue();
9524
- return e.render ? e.render(x, d, u) : x;
9533
+ const d = f.row.original, u = f.row.index, b = f.getValue();
9534
+ return e.render ? e.render(b, d, u) : b;
9525
9535
  }
9526
9536
  };
9527
9537
  }
@@ -9537,7 +9547,7 @@ function xs({
9537
9547
  }) {
9538
9548
  return /* @__PURE__ */ n("thead", { children: e.getHeaderGroups().map((c) => /* @__PURE__ */ n("tr", { className: "h-[37px]", children: c.headers.map((f) => {
9539
9549
  var M;
9540
- const d = f.column.columnDef.meta, u = f.column.getCanSort(), x = f.column.getIsSorted(), b = void 0, m = hr(d == null ? void 0 : d.align), y = br(d == null ? void 0 : d.fixed, f.column.id, i), g = xr(d == null ? void 0 : d.fixed, f.column.id, s, l), h = u ? f.column.getToggleSortingHandler() : void 0, C = f.isPlaceholder ? null : Qr(f.column.columnDef.header, f.getContext()), N = t.findIndex((R, k) => He(R, k) === f.column.id), T = N >= 0 ? t[N] : void 0, E = typeof (T == null ? void 0 : T.title) == "function" ? T.title({
9550
+ const d = f.column.columnDef.meta, u = f.column.getCanSort(), b = f.column.getIsSorted(), x = void 0, m = hr(d == null ? void 0 : d.align), y = br(d == null ? void 0 : d.fixed, f.column.id, i), g = xr(d == null ? void 0 : d.fixed, f.column.id, s, l), h = u ? f.column.getToggleSortingHandler() : void 0, C = f.isPlaceholder ? null : Qr(f.column.columnDef.header, f.getContext()), N = t.findIndex((R, k) => He(R, k) === f.column.id), S = N >= 0 ? t[N] : void 0, E = typeof (S == null ? void 0 : S.title) == "function" ? S.title({
9541
9551
  sortColumns: r.map((R) => ({
9542
9552
  column: { dataIndex: R.id, key: R.id, columnKey: R.id },
9543
9553
  order: R.desc ? "descend" : "ascend"
@@ -9572,11 +9582,11 @@ function xs({
9572
9582
  onClick: h,
9573
9583
  children: /* @__PURE__ */ I("div", { className: p("flex w-full items-center gap-2", ds(d == null ? void 0 : d.align)), children: [
9574
9584
  E,
9575
- u && /* @__PURE__ */ n("span", { title: b, className: "inline-flex items-center", children: /* @__PURE__ */ n(
9585
+ u && /* @__PURE__ */ n("span", { title: x, className: "inline-flex items-center", children: /* @__PURE__ */ n(
9576
9586
  V,
9577
9587
  {
9578
9588
  "aria-hidden": !0,
9579
- icon: x === "asc" ? "ArrowUpIcon" : x === "desc" ? "ArrowDownIcon" : "UnfoldIcon",
9589
+ icon: b === "asc" ? "ArrowUpIcon" : b === "desc" ? "ArrowDownIcon" : "UnfoldIcon",
9580
9590
  size: 16,
9581
9591
  className: p(
9582
9592
  // antd-like: base 0.45 = secondary, hover тоже оставляем в secondary (без “черного”)
@@ -9602,13 +9612,13 @@ function ys({
9602
9612
  return /* @__PURE__ */ n(pe, { children: Array.from({ length: i }).map((s, l) => {
9603
9613
  const c = l === i - 1, f = e.getVisibleLeafColumns();
9604
9614
  return /* @__PURE__ */ n("tr", { className: "animate-pulse", children: f.map((d) => {
9605
- const u = d.columnDef.meta, x = hr(u == null ? void 0 : u.align), b = br(u == null ? void 0 : u.fixed, d.id, r), m = xr(u == null ? void 0 : u.fixed, d.id, a, o);
9615
+ const u = d.columnDef.meta, b = hr(u == null ? void 0 : u.align), x = br(u == null ? void 0 : u.fixed, d.id, r), m = xr(u == null ? void 0 : u.fixed, d.id, a, o);
9606
9616
  return /* @__PURE__ */ n(
9607
9617
  "td",
9608
9618
  {
9609
9619
  className: p(
9610
9620
  "align-top border-b border-border p-2",
9611
- x,
9621
+ b,
9612
9622
  c && "border-b-0",
9613
9623
  ((u == null ? void 0 : u.fixed) === "left" || (u == null ? void 0 : u.fixed) === "right") && "sticky z-10 bg-background"
9614
9624
  ),
@@ -9616,7 +9626,7 @@ function ys({
9616
9626
  width: u == null ? void 0 : u.width,
9617
9627
  minWidth: u == null ? void 0 : u.minWidth,
9618
9628
  maxWidth: u == null ? void 0 : u.maxWidth
9619
- }, b), {
9629
+ }, x), {
9620
9630
  boxShadow: gr(void 0, m)
9621
9631
  }),
9622
9632
  children: /* @__PURE__ */ n(
@@ -9672,25 +9682,25 @@ function Wl({
9672
9682
  data: f,
9673
9683
  systemStyles: d = !0,
9674
9684
  hideStickyScrollbar: u,
9675
- clientSort: x = !1,
9676
- rowKey: b,
9685
+ clientSort: b = !1,
9686
+ rowKey: x,
9677
9687
  rowSelection: m,
9678
9688
  highlightNewRows: y = !1,
9679
9689
  pagination: g,
9680
9690
  showHeader: h = !0,
9681
9691
  showSorterTooltip: C = !0,
9682
9692
  onRow: N,
9683
- locale: T,
9693
+ locale: S,
9684
9694
  tbodyDataTestId: E,
9685
9695
  rowDataTestId: M = "item"
9686
9696
  }) {
9687
9697
  var yr, vr, wr;
9688
- const R = (yr = c != null ? c : f) != null ? yr : [], k = !!r, D = Math.max(1, Math.floor(a != null ? a : 10)), z = fe(null), G = !!m, j = (vr = m == null ? void 0 : m.selectAllMode) != null ? vr : (m == null ? void 0 : m.selectAllScope) === "all" ? "all" : "page", [P, W] = ee(
9698
+ const R = (yr = c != null ? c : f) != null ? yr : [], k = !!r, D = Math.max(1, Math.floor(a != null ? a : 10)), z = fe(null), _ = !!m, j = (vr = m == null ? void 0 : m.selectAllMode) != null ? vr : (m == null ? void 0 : m.selectAllScope) === "all" ? "all" : "page", [P, W] = ee(
9689
9699
  () => {
9690
9700
  var Z;
9691
9701
  return (Z = m == null ? void 0 : m.defaultSelectedRowKeys) != null ? Z : [];
9692
9702
  }
9693
- ), _ = (m == null ? void 0 : m.selectedRowKeys) !== void 0, J = (wr = m == null ? void 0 : m.selectedRowKeys) != null ? wr : P, U = q(() => new Set(J.map((Z) => String(Z))), [J]), B = q(() => G ? {
9703
+ ), G = (m == null ? void 0 : m.selectedRowKeys) !== void 0, J = (wr = m == null ? void 0 : m.selectedRowKeys) != null ? wr : P, U = q(() => new Set(J.map((Z) => String(Z))), [J]), B = q(() => _ ? {
9694
9704
  key: "__row_selection__",
9695
9705
  title: null,
9696
9706
  width: 44,
@@ -9700,7 +9710,7 @@ function Wl({
9700
9710
  align: "center",
9701
9711
  className: "p-2",
9702
9712
  "data-testid": "table-row-selection"
9703
- } : null, [G]), H = q(() => B ? [B, ...l] : l, [l, B]), re = q(
9713
+ } : null, [_]), H = q(() => B ? [B, ...l] : l, [l, B]), re = q(
9704
9714
  () => H.some((Z) => typeof Z.width == "number"),
9705
9715
  [H]
9706
9716
  ), ne = q(
@@ -9713,15 +9723,15 @@ function Wl({
9713
9723
  () => ms(H, He),
9714
9724
  [H]
9715
9725
  ), Te = q(() => (Z, ie) => {
9716
- if (typeof b == "function")
9717
- return b(Z);
9718
- if (b) {
9719
- const X = Z == null ? void 0 : Z[b];
9726
+ if (typeof x == "function")
9727
+ return x(Z);
9728
+ if (x) {
9729
+ const X = Z == null ? void 0 : Z[x];
9720
9730
  return X != null ? X : ie;
9721
9731
  }
9722
9732
  return ie;
9723
- }, [b]), K = q(() => {
9724
- const Z = G ? [
9733
+ }, [x]), K = q(() => {
9734
+ const Z = _ ? [
9725
9735
  {
9726
9736
  id: "__row_selection__",
9727
9737
  enableSorting: !1,
@@ -9742,7 +9752,7 @@ function Wl({
9742
9752
  }).map((ce) => ce.id), _e = ke.reduce((ce, Ae) => U.has(Ae) ? ce + 1 : ce, 0), je = ke.length > 0 && _e === ke.length, Nr = _e > 0 && !je, bt = je ? !0 : Nr ? "indeterminate" : !1, qe = ((Ir = m == null ? void 0 : m.allRowKeys) != null ? Ir : []).map((ce) => String(ce)), Ie = qe.length > 0 ? qe : ke, xt = Ie.reduce((ce, Ae) => U.has(Ae) ? ce + 1 : ce, 0), et = Ie.length > 0 && xt === Ie.length, jt = xt > 0 && !et, yt = et ? !0 : jt ? "indeterminate" : !1, tt = (ce, Ae, Le) => {
9743
9753
  var Pe;
9744
9754
  const ye = Ae ? Array.from(new Map([...J, ...ce].map((Ee) => [String(Ee), Ee])).values()) : J.filter((Ee) => !new Set(ce.map((Ht) => String(Ht))).has(String(Ee)));
9745
- _ || W(ye);
9755
+ G || W(ye);
9746
9756
  const nt = X.table.getCoreRowModel().rows.filter((Ee) => new Set(ye.map((Ht) => String(Ht))).has(Ee.id)).map((Ee) => Ee.original);
9747
9757
  (Pe = m == null ? void 0 : m.onChange) == null || Pe.call(m, ye, nt, { type: Le });
9748
9758
  };
@@ -9782,7 +9792,7 @@ function Wl({
9782
9792
  if (_e)
9783
9793
  return;
9784
9794
  const et = Te(xe, X.row.index), jt = String(et), yt = xt ? Array.from(new Map([...J, et].map((rt) => [String(rt), rt])).values()) : J.filter((rt) => String(rt) !== jt);
9785
- _ || W(yt), (tt = m == null ? void 0 : m.onChange) == null || tt.call(m, yt, [xe], { type: "row" });
9795
+ G || W(yt), (tt = m == null ? void 0 : m.onChange) == null || tt.call(m, yt, [xe], { type: "row" });
9786
9796
  },
9787
9797
  "aria-label": `Выбрать строку ${ke}`,
9788
9798
  "data-testid": `table-select-row-${ke}`
@@ -9796,8 +9806,8 @@ function Wl({
9796
9806
  return [...Z, ...ie];
9797
9807
  }, [
9798
9808
  l,
9799
- G,
9800
9809
  _,
9810
+ G,
9801
9811
  m,
9802
9812
  j,
9803
9813
  U,
@@ -9823,11 +9833,11 @@ function Wl({
9823
9833
  },
9824
9834
  getCoreRowModel: ua(),
9825
9835
  enableSortingRemoval: !0
9826
- }, x ? { getSortedRowModel: ca() } : {}), {
9827
- getRowId: b ? (Z, ie) => {
9828
- if (typeof b == "function")
9829
- return String(b(Z));
9830
- const X = Z == null ? void 0 : Z[b];
9836
+ }, b ? { getSortedRowModel: ca() } : {}), {
9837
+ getRowId: x ? (Z, ie) => {
9838
+ if (typeof x == "function")
9839
+ return String(x(Z));
9840
+ const X = Z == null ? void 0 : Z[x];
9831
9841
  return X != null ? String(X) : String(ie);
9832
9842
  } : void 0
9833
9843
  })), Un = q(() => {
@@ -9903,7 +9913,7 @@ function Wl({
9903
9913
  table: Me,
9904
9914
  columnsCount: H.length,
9905
9915
  onRow: N,
9906
- locale: T,
9916
+ locale: S,
9907
9917
  stickyOffsets: oe,
9908
9918
  fixedShadowEdges: be,
9909
9919
  scrollState: Vt,
@@ -10017,15 +10027,15 @@ function Vl({
10017
10027
  rowsCount: f,
10018
10028
  linesCount: 6
10019
10029
  }
10020
- ) }) : d.length === 0 ? /* @__PURE__ */ n("div", { className: a, "aria-busy": t, children: /* @__PURE__ */ n(Hn, { locale: o }) }) : /* @__PURE__ */ n("div", { className: p("flex flex-col gap-2", a), "aria-busy": t, children: d.map((u, x) => {
10021
- var N, T, E, M, R;
10022
- const b = (N = s == null ? void 0 : s(u, x)) != null ? N : {}, m = typeof b.onClick == "function", y = (T = i == null ? void 0 : i(u, x)) != null ? T : x, g = b.onClick, h = (k) => {
10030
+ ) }) : d.length === 0 ? /* @__PURE__ */ n("div", { className: a, "aria-busy": t, children: /* @__PURE__ */ n(Hn, { locale: o }) }) : /* @__PURE__ */ n("div", { className: p("flex flex-col gap-2", a), "aria-busy": t, children: d.map((u, b) => {
10031
+ var N, S, E, M, R;
10032
+ const x = (N = s == null ? void 0 : s(u, b)) != null ? N : {}, m = typeof x.onClick == "function", y = (S = i == null ? void 0 : i(u, b)) != null ? S : b, g = x.onClick, h = (k) => {
10023
10033
  var D;
10024
- (D = b.onKeyDown) == null || D.call(b, k), m && (k.key !== "Enter" && k.key !== " " || (k.preventDefault(), k.currentTarget.click()));
10034
+ (D = x.onKeyDown) == null || D.call(x, k), m && (k.key !== "Enter" && k.key !== " " || (k.preventDefault(), k.currentTarget.click()));
10025
10035
  }, C = p(
10026
10036
  m && "cursor-pointer hover:bg-[#F6F6F7]",
10027
10037
  m && "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30",
10028
- b.className
10038
+ x.className
10029
10039
  );
10030
10040
  return /* @__PURE__ */ n(
10031
10041
  Ke,
@@ -10033,14 +10043,14 @@ function Vl({
10033
10043
  bordered: !0,
10034
10044
  radius: "lg",
10035
10045
  padding: "xs"
10036
- }, b), {
10046
+ }, x), {
10037
10047
  className: C,
10038
10048
  onClick: g,
10039
- onKeyDown: m ? h : b.onKeyDown,
10040
- role: m ? (E = b.role) != null ? E : "button" : b.role,
10041
- tabIndex: m ? (M = b.tabIndex) != null ? M : 0 : b.tabIndex,
10042
- "aria-label": m ? (R = b["aria-label"]) != null ? R : "Открыть карточку" : b["aria-label"],
10043
- children: l == null ? void 0 : l(u, x)
10049
+ onKeyDown: m ? h : x.onKeyDown,
10050
+ role: m ? (E = x.role) != null ? E : "button" : x.role,
10051
+ tabIndex: m ? (M = x.tabIndex) != null ? M : 0 : x.tabIndex,
10052
+ "aria-label": m ? (R = x["aria-label"]) != null ? R : "Открыть карточку" : x["aria-label"],
10053
+ children: l == null ? void 0 : l(u, b)
10044
10054
  }),
10045
10055
  String(y)
10046
10056
  );
@@ -10172,7 +10182,7 @@ const Ss = v.forwardRef(
10172
10182
  "disabled",
10173
10183
  "data-testid"
10174
10184
  ]);
10175
- const x = p(
10185
+ const b = p(
10176
10186
  Cs({ size: e, variant: t }),
10177
10187
  /* base (inactive) */
10178
10188
  t === "default" ? "bg-white border-border-tabs" : "bg-transparent text-gray-600 rounded-md w-full",
@@ -10185,17 +10195,17 @@ const Ss = v.forwardRef(
10185
10195
  /* disabled */
10186
10196
  "disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400 disabled:shadow-none",
10187
10197
  r
10188
- ), b = () => a ? v.isValidElement(a) ? a : /* @__PURE__ */ n(V, { icon: a }) : null;
10198
+ ), x = () => a ? v.isValidElement(a) ? a : /* @__PURE__ */ n(V, { icon: a }) : null;
10189
10199
  return /* @__PURE__ */ I(
10190
10200
  Ge.Trigger,
10191
10201
  F(w({
10192
10202
  ref: f,
10193
- className: x,
10203
+ className: b,
10194
10204
  disabled: s
10195
10205
  }, c), {
10196
10206
  "data-testid": l,
10197
10207
  children: [
10198
- o === "start" && b(),
10208
+ o === "start" && x(),
10199
10209
  i && /* @__PURE__ */ n(
10200
10210
  "span",
10201
10211
  {
@@ -10206,7 +10216,7 @@ const Ss = v.forwardRef(
10206
10216
  children: i
10207
10217
  }
10208
10218
  ),
10209
- o === "end" && b()
10219
+ o === "end" && x()
10210
10220
  ]
10211
10221
  })
10212
10222
  );
@@ -10260,7 +10270,7 @@ const Ms = me(
10260
10270
  }
10261
10271
  ), Es = v.forwardRef(
10262
10272
  (u, d) => {
10263
- var x = u, {
10273
+ var b = u, {
10264
10274
  color: e = "default",
10265
10275
  disabled: t = !1,
10266
10276
  iconOnly: r = !1,
@@ -10270,7 +10280,7 @@ const Ms = me(
10270
10280
  children: s,
10271
10281
  className: l,
10272
10282
  "data-testid": c
10273
- } = x, f = L(x, [
10283
+ } = b, f = L(b, [
10274
10284
  "color",
10275
10285
  "disabled",
10276
10286
  "iconOnly",
@@ -10281,10 +10291,10 @@ const Ms = me(
10281
10291
  "className",
10282
10292
  "data-testid"
10283
10293
  ]);
10284
- const b = () => o ? /* @__PURE__ */ n(V, w({ icon: o, size: 12 }, i)) : null, m = /* @__PURE__ */ I(pe, { children: [
10285
- a === "start" && b(),
10294
+ const x = () => o ? /* @__PURE__ */ n(V, w({ icon: o, size: 12 }, i)) : null, m = /* @__PURE__ */ I(pe, { children: [
10295
+ a === "start" && x(),
10286
10296
  s,
10287
- a === "end" && b()
10297
+ a === "end" && x()
10288
10298
  ] });
10289
10299
  return /* @__PURE__ */ n(
10290
10300
  "div",
@@ -10301,7 +10311,7 @@ const Ms = me(
10301
10311
  )
10302
10312
  }, f), {
10303
10313
  "data-testid": c,
10304
- children: r ? b() : m
10314
+ children: r ? x() : m
10305
10315
  })
10306
10316
  );
10307
10317
  }
@@ -10332,22 +10342,22 @@ function Rs(e, t, r, a) {
10332
10342
  l.current = c.clientHeight;
10333
10343
  }, u = () => {
10334
10344
  f(), d();
10335
- }, x = () => {
10336
- s.current = !0;
10337
10345
  }, b = () => {
10346
+ s.current = !0;
10347
+ }, x = () => {
10338
10348
  if (s.current) {
10339
10349
  s.current = !1;
10340
10350
  const m = c.clientHeight;
10341
10351
  m !== l.current && (i.current = m), l.current = m, d();
10342
10352
  }
10343
10353
  };
10344
- return d(), c.addEventListener("input", d), c.addEventListener("paste", d), c.addEventListener("mousedown", x), document.addEventListener("mouseup", b), window.addEventListener("resize", u), () => {
10345
- c.removeEventListener("input", d), c.removeEventListener("paste", d), c.removeEventListener("mousedown", x), document.removeEventListener("mouseup", b), window.removeEventListener("resize", u);
10354
+ return d(), c.addEventListener("input", d), c.addEventListener("paste", d), c.addEventListener("mousedown", b), document.addEventListener("mouseup", x), window.addEventListener("resize", u), () => {
10355
+ c.removeEventListener("input", d), c.removeEventListener("paste", d), c.removeEventListener("mousedown", b), document.removeEventListener("mouseup", x), window.removeEventListener("resize", u);
10346
10356
  };
10347
10357
  }, [e, t, r, a]), o;
10348
10358
  }
10349
10359
  const As = v.forwardRef(
10350
- (m, b) => {
10360
+ (m, x) => {
10351
10361
  var y = m, {
10352
10362
  className: e,
10353
10363
  variant: t = "default",
@@ -10361,7 +10371,7 @@ const As = v.forwardRef(
10361
10371
  "data-testid": f,
10362
10372
  disabled: d,
10363
10373
  size: u = "md"
10364
- } = y, x = L(y, [
10374
+ } = y, b = L(y, [
10365
10375
  "className",
10366
10376
  "variant",
10367
10377
  "fullWidth",
@@ -10375,8 +10385,8 @@ const As = v.forwardRef(
10375
10385
  "disabled",
10376
10386
  "size"
10377
10387
  ]);
10378
- const g = Rs(s, l, x.placeholder, x.value);
10379
- return Vr(b, () => g.current, [g]), /* @__PURE__ */ I("div", { className: "w-full", children: [
10388
+ const g = Rs(s, l, b.placeholder, b.value);
10389
+ return Vr(x, () => g.current, [g]), /* @__PURE__ */ I("div", { className: "w-full", children: [
10380
10390
  a && /* @__PURE__ */ n(O, { variant: "p2", weight: "medium", className: "mb-1.5", children: a }),
10381
10391
  /* @__PURE__ */ I(
10382
10392
  "div",
@@ -10416,7 +10426,7 @@ const As = v.forwardRef(
10416
10426
  ref: g,
10417
10427
  "data-testid": f,
10418
10428
  disabled: d
10419
- }, x)
10429
+ }, b)
10420
10430
  ),
10421
10431
  o && o !== "" && c && /* @__PURE__ */ n(
10422
10432
  "div",
@@ -10472,15 +10482,15 @@ function Kl({
10472
10482
  onBlur: f,
10473
10483
  "data-testid": d
10474
10484
  }) {
10475
- const [u, x] = v.useState(e || ""), b = v.useRef(e || "");
10485
+ const [u, b] = v.useState(e || ""), x = v.useRef(e || "");
10476
10486
  v.useEffect(() => {
10477
- x(e || ""), b.current = e || "";
10487
+ b(e || ""), x.current = e || "";
10478
10488
  }, [e]);
10479
10489
  const m = (g) => {
10480
- const h = Fs(g.target.value, b.current);
10481
- x(h), b.current = h, h.length === 5 && Wr(h) ? t == null || t(h) : h === "" && (t == null || t(void 0));
10490
+ const h = Fs(g.target.value, x.current);
10491
+ b(h), x.current = h, h.length === 5 && Wr(h) ? t == null || t(h) : h === "" && (t == null || t(void 0));
10482
10492
  }, y = (g) => {
10483
- f == null || f(g), u && !Wr(u) && (x(""), t == null || t(void 0));
10493
+ f == null || f(g), u && !Wr(u) && (b(""), t == null || t(void 0));
10484
10494
  };
10485
10495
  return /* @__PURE__ */ I("div", { className: p("w-full", o), children: [
10486
10496
  c && /* @__PURE__ */ n(
@@ -10559,7 +10569,7 @@ function Ul({
10559
10569
  onBlur: f,
10560
10570
  "data-testid": d
10561
10571
  }) {
10562
- const [u, x] = v.useState((e == null ? void 0 : e.from) || ""), [b, m] = v.useState((e == null ? void 0 : e.to) || ""), y = v.useRef((e == null ? void 0 : e.from) || ""), g = v.useRef((e == null ? void 0 : e.to) || ""), h = v.useMemo(() => {
10572
+ const [u, b] = v.useState((e == null ? void 0 : e.from) || ""), [x, m] = v.useState((e == null ? void 0 : e.to) || ""), y = v.useRef((e == null ? void 0 : e.from) || ""), g = v.useRef((e == null ? void 0 : e.to) || ""), h = v.useMemo(() => {
10563
10573
  const P = (H) => typeof H == "string", W = (H) => typeof H == "object" && H !== null;
10564
10574
  return {
10565
10575
  hasAnyError: () => s ? P(s) ? !0 : !!(s.from || s.to) : !1,
@@ -10567,36 +10577,36 @@ function Ul({
10567
10577
  hasToError: () => P(s) ? !0 : W(s) && !!s.to,
10568
10578
  getErrorText: () => P(s) ? s : W(s) ? s.from && s.to ? `${s.from}, ${s.to}` : s.from || s.to || "" : ""
10569
10579
  };
10570
- }, [s]), { hasAnyError: C, hasFromError: N, hasToError: T, getErrorText: E } = h;
10580
+ }, [s]), { hasAnyError: C, hasFromError: N, hasToError: S, getErrorText: E } = h;
10571
10581
  v.useEffect(() => {
10572
- x((e == null ? void 0 : e.from) || ""), m((e == null ? void 0 : e.to) || ""), y.current = (e == null ? void 0 : e.from) || "", g.current = (e == null ? void 0 : e.to) || "";
10582
+ b((e == null ? void 0 : e.from) || ""), m((e == null ? void 0 : e.to) || ""), y.current = (e == null ? void 0 : e.from) || "", g.current = (e == null ? void 0 : e.to) || "";
10573
10583
  }, [e]);
10574
10584
  const M = (P, W) => {
10575
- const _ = P.replace(/\D/g, ""), J = W.replace(/\D/g, ""), U = Ls(P, W);
10576
- return _.length === 0 ? "" : U === "removed" && _.length === 2 && J.length === 3 ? `${_}:` : U === "removed" && _.length === 2 && J.length === 2 && W.includes(":") ? _[0] : U === "removed" && _.length === 1 ? _ : U === "added" && _.length === 2 && J.length === 1 ? `${_}:` : _.length === 1 || _.length === 2 ? _ : _.length <= 4 ? `${_.slice(0, 2)}:${_.slice(2)}` : `${_.slice(0, 2)}:${_.slice(2, 4)}`;
10585
+ const G = P.replace(/\D/g, ""), J = W.replace(/\D/g, ""), U = Ls(P, W);
10586
+ return G.length === 0 ? "" : U === "removed" && G.length === 2 && J.length === 3 ? `${G}:` : U === "removed" && G.length === 2 && J.length === 2 && W.includes(":") ? G[0] : U === "removed" && G.length === 1 ? G : U === "added" && G.length === 2 && J.length === 1 ? `${G}:` : G.length === 1 || G.length === 2 ? G : G.length <= 4 ? `${G.slice(0, 2)}:${G.slice(2)}` : `${G.slice(0, 2)}:${G.slice(2, 4)}`;
10577
10587
  }, R = (P) => {
10578
10588
  if (!P)
10579
10589
  return !0;
10580
10590
  if (!/^(?:[01]?\d|2[0-3]):[0-5]?\d$/.test(P))
10581
10591
  return !1;
10582
- const [_, J] = P.split(":").map(Number);
10583
- return _ >= 0 && _ <= 23 && J >= 0 && J <= 59;
10592
+ const [G, J] = P.split(":").map(Number);
10593
+ return G >= 0 && G <= 23 && J >= 0 && J <= 59;
10584
10594
  }, k = (P, W) => {
10585
- const _ = {
10595
+ const G = {
10586
10596
  from: P || void 0,
10587
10597
  to: W || void 0
10588
10598
  };
10589
- !_.from && !_.to ? t == null || t(void 0) : t == null || t(_);
10599
+ !G.from && !G.to ? t == null || t(void 0) : t == null || t(G);
10590
10600
  }, D = (P) => {
10591
10601
  const W = M(P.target.value, y.current);
10592
- x(W), y.current = W, (W === "" || W.length === 5 && R(W)) && k(W, b);
10602
+ b(W), y.current = W, (W === "" || W.length === 5 && R(W)) && k(W, x);
10593
10603
  }, z = (P) => {
10594
10604
  const W = M(P.target.value, g.current);
10595
10605
  m(W), g.current = W, (W === "" || W.length === 5 && R(W)) && k(u, W);
10596
- }, G = (P) => {
10597
- f == null || f(P), u && !R(u) && (x(""), k("", b));
10606
+ }, _ = (P) => {
10607
+ f == null || f(P), u && !R(u) && (b(""), k("", x));
10598
10608
  }, j = (P) => {
10599
- f == null || f(P), b && !R(b) && (m(""), k(u, ""));
10609
+ f == null || f(P), x && !R(x) && (m(""), k(u, ""));
10600
10610
  };
10601
10611
  return /* @__PURE__ */ I("div", { className: p("w-full", o), children: [
10602
10612
  c && /* @__PURE__ */ n(
@@ -10636,7 +10646,7 @@ function Ul({
10636
10646
  type: "text",
10637
10647
  value: u,
10638
10648
  onChange: D,
10639
- onBlur: G,
10649
+ onBlur: _,
10640
10650
  placeholder: r.from,
10641
10651
  disabled: a,
10642
10652
  maxLength: 5,
@@ -10665,7 +10675,7 @@ function Ul({
10665
10675
  "input",
10666
10676
  {
10667
10677
  type: "text",
10668
- value: b,
10678
+ value: x,
10669
10679
  onChange: z,
10670
10680
  onBlur: j,
10671
10681
  placeholder: r.to,
@@ -10675,7 +10685,7 @@ function Ul({
10675
10685
  "font-graphik w-0 flex-1 border-none bg-transparent outline-none",
10676
10686
  "placeholder:text-muted-foreground",
10677
10687
  "[&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
10678
- T() && "text-destructive",
10688
+ S() && "text-destructive",
10679
10689
  {
10680
10690
  "h-8 text-[14px]": i === "md",
10681
10691
  "h-10 text-[16px]": i === "lg",
@@ -11000,25 +11010,25 @@ function Ql(o) {
11000
11010
  "defaultOpen",
11001
11011
  "onOpenChange"
11002
11012
  ]);
11003
- const [s, l] = v.useState(!!t), c = e !== void 0, f = c ? e : s, d = Bs(), u = v.useRef(0), x = v.useCallback(
11013
+ const [s, l] = v.useState(!!t), c = e !== void 0, f = c ? e : s, d = Bs(), u = v.useRef(0), b = v.useCallback(
11004
11014
  (y) => {
11005
11015
  c || l(y), r == null || r(y);
11006
11016
  },
11007
11017
  [c, r]
11008
- ), b = v.useCallback(
11018
+ ), x = v.useCallback(
11009
11019
  (y) => {
11010
- d && !y && Date.now() - u.current < zs || x(y);
11020
+ d && !y && Date.now() - u.current < zs || b(y);
11011
11021
  },
11012
- [d, x]
11022
+ [d, b]
11013
11023
  ), m = v.useCallback(() => {
11014
- u.current = Date.now(), x(!f);
11015
- }, [f, x]);
11024
+ u.current = Date.now(), b(!f);
11025
+ }, [f, b]);
11016
11026
  return /* @__PURE__ */ n(Kn.Provider, { value: { isTouchDevice: d, open: f, toggleByTouch: m }, children: /* @__PURE__ */ n(
11017
11027
  Oe.Root,
11018
11028
  w({
11019
11029
  open: d ? f : e,
11020
11030
  defaultOpen: d ? void 0 : t,
11021
- onOpenChange: d ? b : r
11031
+ onOpenChange: d ? x : r
11022
11032
  }, a)
11023
11033
  ) });
11024
11034
  }
@@ -11102,15 +11112,15 @@ const Gs = v.forwardRef(
11102
11112
  onError: f,
11103
11113
  files: d = [],
11104
11114
  uploadProgress: u = 0,
11105
- isUploading: x = !1,
11106
- allowUploadMore: b = !1,
11115
+ isUploading: b = !1,
11116
+ allowUploadMore: x = !1,
11107
11117
  classNames: m,
11108
11118
  dropzoneText: y = "Нажмите или перетащите сюда для загрузки",
11109
11119
  buttonText: g = "Выбрать файл",
11110
11120
  errorText: h,
11111
11121
  "data-testId": C
11112
11122
  }, N) => {
11113
- const [T, E] = ee(!1), M = fe(null), R = fe(0), k = $(
11123
+ const [S, E] = ee(!1), M = fe(null), R = fe(0), k = $(
11114
11124
  (B) => {
11115
11125
  var H;
11116
11126
  if (e) {
@@ -11141,7 +11151,7 @@ const Gs = v.forwardRef(
11141
11151
  ), z = $(() => {
11142
11152
  var B;
11143
11153
  (B = M.current) == null || B.click();
11144
- }, []), G = $(
11154
+ }, []), _ = $(
11145
11155
  (B) => {
11146
11156
  D(B.target.files), B.target.value = "";
11147
11157
  },
@@ -11152,7 +11162,7 @@ const Gs = v.forwardRef(
11152
11162
  B.preventDefault(), B.stopPropagation(), R.current--, R.current === 0 && E(!1);
11153
11163
  }, []), W = $((B) => {
11154
11164
  B.preventDefault(), B.stopPropagation();
11155
- }, []), _ = $(
11165
+ }, []), G = $(
11156
11166
  (B) => {
11157
11167
  B.preventDefault(), B.stopPropagation(), E(!1), R.current = 0;
11158
11168
  const { files: H } = B.dataTransfer;
@@ -11184,21 +11194,21 @@ const Gs = v.forwardRef(
11184
11194
  type: "file",
11185
11195
  accept: e,
11186
11196
  multiple: t,
11187
- onChange: G,
11197
+ onChange: _,
11188
11198
  className: "hidden"
11189
11199
  }
11190
11200
  ),
11191
- (d.length === 0 || b) && /* @__PURE__ */ I(
11201
+ (d.length === 0 || x) && /* @__PURE__ */ I(
11192
11202
  "div",
11193
11203
  {
11194
11204
  onDragEnter: j,
11195
11205
  onDragOver: W,
11196
11206
  onDragLeave: P,
11197
- onDrop: _,
11207
+ onDrop: G,
11198
11208
  onClick: z,
11199
11209
  className: p(
11200
11210
  `flex flex-${a} w-full ${d.length === 0 ? "h-full" : "h-auto"} items-${i} justify-${o} border-border hover:border-primary cursor-pointer gap-1.5 rounded-xl border-1 border-dashed bg-white p-3 transition-colors duration-200`,
11201
- T && "border-primary",
11211
+ S && "border-primary",
11202
11212
  m == null ? void 0 : m.dropzone
11203
11213
  ),
11204
11214
  children: [
@@ -11214,7 +11224,7 @@ const Gs = v.forwardRef(
11214
11224
  ]
11215
11225
  }
11216
11226
  ),
11217
- x && /* @__PURE__ */ n("div", { className: "flex flex-col gap-3", children: /* @__PURE__ */ n(qi, { value: u }) }),
11227
+ b && /* @__PURE__ */ n("div", { className: "flex flex-col gap-3", children: /* @__PURE__ */ n(qi, { value: u }) }),
11218
11228
  d.length > 0 && /* @__PURE__ */ n("div", { className: "flex flex-col gap-2", children: d.map((B) => {
11219
11229
  const H = B.status === "error", re = H ? "FileErrorIcon" : "FileSuccessIcon";
11220
11230
  return /* @__PURE__ */ I(