aiware-js 1.0.0-master.1201 → 1.0.0-master.1202
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/index.esm.css +92 -92
- package/index.esm.css.gz +0 -0
- package/index.esm.min.css +92 -92
- package/index.esm.min.css.gz +0 -0
- package/js-core.esm104.js +1 -1
- package/js-core.esm104.js.gz +0 -0
- package/js-core.esm107.js +1 -1
- package/js-core.esm107.js.gz +0 -0
- package/js-core.esm123.js +1 -1
- package/js-core.esm123.js.gz +0 -0
- package/js-core.esm130.js +1 -1
- package/js-core.esm130.js.gz +0 -0
- package/js-core.esm19.js +1 -1
- package/js-core.esm19.js.gz +0 -0
- package/js-core.esm3.js +15 -15
- package/js-core.esm3.js.gz +0 -0
- package/js-core.esm54.js +3 -3
- package/js-core.esm54.js.gz +0 -0
- package/js-core.esm56.js +1 -1
- package/js-core.esm56.js.gz +0 -0
- package/js-core.esm57.js +1 -1
- package/js-core.esm57.js.gz +0 -0
- package/js-core.esm6.js +2 -2
- package/js-core.esm6.js.gz +0 -0
- package/js-core.esm61.js +1 -1
- package/js-core.esm61.js.gz +0 -0
- package/js-core.esm62.js +1 -1
- package/js-core.esm62.js.gz +0 -0
- package/js-core.esm64.js +1 -1
- package/js-core.esm64.js.gz +0 -0
- package/js-core.esm66.js +1 -1
- package/js-core.esm66.js.gz +0 -0
- package/js-core.esm68.js +1 -1
- package/js-core.esm68.js.gz +0 -0
- package/js-core.esm70.js +1 -1
- package/js-core.esm70.js.gz +0 -0
- package/js-core.esm71.js +1 -1
- package/js-core.esm71.js.gz +0 -0
- package/js-core.esm73.js +1 -1
- package/js-core.esm73.js.gz +0 -0
- package/js-core.esm77.js +1 -1
- package/js-core.esm77.js.gz +0 -0
- package/js-core.esm78.js +1 -1
- package/js-core.esm78.js.gz +0 -0
- package/js-core.esm80.js +1 -1
- package/js-core.esm80.js.gz +0 -0
- package/js-core.esm81.js +1 -1
- package/js-core.esm81.js.gz +0 -0
- package/js-core.esm82.js +1 -1
- package/js-core.esm82.js.gz +0 -0
- package/js-core.esm84.js +1 -1
- package/js-core.esm84.js.gz +0 -0
- package/js-core.esm87.js +1 -1
- package/js-core.esm87.js.gz +0 -0
- package/js-core.esm89.js +1 -1
- package/js-core.esm89.js.gz +0 -0
- package/js-core.esm90.js +1 -1
- package/js-core.esm90.js.gz +0 -0
- package/js-core.esm91.js +1 -1
- package/js-core.esm91.js.gz +0 -0
- package/js-core.esm95.js +1 -1
- package/js-core.esm95.js.gz +0 -0
- package/js-core.umd.js +251 -251
- package/js-core.umd.js.gz +0 -0
- package/locales/en.json +1 -1
- package/locales/es.json +1 -1
- package/locales/fr.json +1 -1
- package/package.json +1 -1
package/index.esm.css
CHANGED
|
@@ -288,98 +288,6 @@
|
|
|
288
288
|
background-color: #fff;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
/* dosis-200normal - latin */
|
|
292
|
-
@font-face {
|
|
293
|
-
font-family: 'Dosis';
|
|
294
|
-
font-style: normal;
|
|
295
|
-
font-display: swap;
|
|
296
|
-
font-weight: 200;
|
|
297
|
-
src:
|
|
298
|
-
local('Dosis Extra Light '),
|
|
299
|
-
local('Dosis-Extra Light'),
|
|
300
|
-
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
301
|
-
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/* dosis-300normal - latin */
|
|
305
|
-
@font-face {
|
|
306
|
-
font-family: 'Dosis';
|
|
307
|
-
font-style: normal;
|
|
308
|
-
font-display: swap;
|
|
309
|
-
font-weight: 300;
|
|
310
|
-
src:
|
|
311
|
-
local('Dosis Light '),
|
|
312
|
-
local('Dosis-Light'),
|
|
313
|
-
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
314
|
-
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/* dosis-400normal - latin */
|
|
318
|
-
@font-face {
|
|
319
|
-
font-family: 'Dosis';
|
|
320
|
-
font-style: normal;
|
|
321
|
-
font-display: swap;
|
|
322
|
-
font-weight: 400;
|
|
323
|
-
src:
|
|
324
|
-
local('Dosis Regular '),
|
|
325
|
-
local('Dosis-Regular'),
|
|
326
|
-
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
327
|
-
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/* dosis-500normal - latin */
|
|
331
|
-
@font-face {
|
|
332
|
-
font-family: 'Dosis';
|
|
333
|
-
font-style: normal;
|
|
334
|
-
font-display: swap;
|
|
335
|
-
font-weight: 500;
|
|
336
|
-
src:
|
|
337
|
-
local('Dosis Medium '),
|
|
338
|
-
local('Dosis-Medium'),
|
|
339
|
-
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
340
|
-
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/* dosis-600normal - latin */
|
|
344
|
-
@font-face {
|
|
345
|
-
font-family: 'Dosis';
|
|
346
|
-
font-style: normal;
|
|
347
|
-
font-display: swap;
|
|
348
|
-
font-weight: 600;
|
|
349
|
-
src:
|
|
350
|
-
local('Dosis SemiBold '),
|
|
351
|
-
local('Dosis-SemiBold'),
|
|
352
|
-
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
353
|
-
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/* dosis-700normal - latin */
|
|
357
|
-
@font-face {
|
|
358
|
-
font-family: 'Dosis';
|
|
359
|
-
font-style: normal;
|
|
360
|
-
font-display: swap;
|
|
361
|
-
font-weight: 700;
|
|
362
|
-
src:
|
|
363
|
-
local('Dosis Bold '),
|
|
364
|
-
local('Dosis-Bold'),
|
|
365
|
-
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
366
|
-
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/* dosis-800normal - latin */
|
|
370
|
-
@font-face {
|
|
371
|
-
font-family: 'Dosis';
|
|
372
|
-
font-style: normal;
|
|
373
|
-
font-display: swap;
|
|
374
|
-
font-weight: 800;
|
|
375
|
-
src:
|
|
376
|
-
local('Dosis ExtraBold '),
|
|
377
|
-
local('Dosis-ExtraBold'),
|
|
378
|
-
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
379
|
-
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
|
|
383
291
|
/* nunito-200normal - latin */
|
|
384
292
|
@font-face {
|
|
385
293
|
font-family: 'Nunito';
|
|
@@ -563,6 +471,98 @@
|
|
|
563
471
|
}
|
|
564
472
|
|
|
565
473
|
|
|
474
|
+
/* dosis-200normal - latin */
|
|
475
|
+
@font-face {
|
|
476
|
+
font-family: 'Dosis';
|
|
477
|
+
font-style: normal;
|
|
478
|
+
font-display: swap;
|
|
479
|
+
font-weight: 200;
|
|
480
|
+
src:
|
|
481
|
+
local('Dosis Extra Light '),
|
|
482
|
+
local('Dosis-Extra Light'),
|
|
483
|
+
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
484
|
+
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/* dosis-300normal - latin */
|
|
488
|
+
@font-face {
|
|
489
|
+
font-family: 'Dosis';
|
|
490
|
+
font-style: normal;
|
|
491
|
+
font-display: swap;
|
|
492
|
+
font-weight: 300;
|
|
493
|
+
src:
|
|
494
|
+
local('Dosis Light '),
|
|
495
|
+
local('Dosis-Light'),
|
|
496
|
+
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
497
|
+
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* dosis-400normal - latin */
|
|
501
|
+
@font-face {
|
|
502
|
+
font-family: 'Dosis';
|
|
503
|
+
font-style: normal;
|
|
504
|
+
font-display: swap;
|
|
505
|
+
font-weight: 400;
|
|
506
|
+
src:
|
|
507
|
+
local('Dosis Regular '),
|
|
508
|
+
local('Dosis-Regular'),
|
|
509
|
+
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
510
|
+
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/* dosis-500normal - latin */
|
|
514
|
+
@font-face {
|
|
515
|
+
font-family: 'Dosis';
|
|
516
|
+
font-style: normal;
|
|
517
|
+
font-display: swap;
|
|
518
|
+
font-weight: 500;
|
|
519
|
+
src:
|
|
520
|
+
local('Dosis Medium '),
|
|
521
|
+
local('Dosis-Medium'),
|
|
522
|
+
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
523
|
+
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/* dosis-600normal - latin */
|
|
527
|
+
@font-face {
|
|
528
|
+
font-family: 'Dosis';
|
|
529
|
+
font-style: normal;
|
|
530
|
+
font-display: swap;
|
|
531
|
+
font-weight: 600;
|
|
532
|
+
src:
|
|
533
|
+
local('Dosis SemiBold '),
|
|
534
|
+
local('Dosis-SemiBold'),
|
|
535
|
+
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
536
|
+
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
/* dosis-700normal - latin */
|
|
540
|
+
@font-face {
|
|
541
|
+
font-family: 'Dosis';
|
|
542
|
+
font-style: normal;
|
|
543
|
+
font-display: swap;
|
|
544
|
+
font-weight: 700;
|
|
545
|
+
src:
|
|
546
|
+
local('Dosis Bold '),
|
|
547
|
+
local('Dosis-Bold'),
|
|
548
|
+
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
549
|
+
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/* dosis-800normal - latin */
|
|
553
|
+
@font-face {
|
|
554
|
+
font-family: 'Dosis';
|
|
555
|
+
font-style: normal;
|
|
556
|
+
font-display: swap;
|
|
557
|
+
font-weight: 800;
|
|
558
|
+
src:
|
|
559
|
+
local('Dosis ExtraBold '),
|
|
560
|
+
local('Dosis-ExtraBold'),
|
|
561
|
+
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
562
|
+
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
|
|
566
566
|
/*!
|
|
567
567
|
* Cropper.js v1.5.9
|
|
568
568
|
* https://fengyuanchen.github.io/cropperjs
|
package/index.esm.css.gz
CHANGED
|
Binary file
|
package/index.esm.min.css
CHANGED
|
@@ -288,98 +288,6 @@
|
|
|
288
288
|
background-color: #fff;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
/* dosis-200normal - latin */
|
|
292
|
-
@font-face {
|
|
293
|
-
font-family: 'Dosis';
|
|
294
|
-
font-style: normal;
|
|
295
|
-
font-display: swap;
|
|
296
|
-
font-weight: 200;
|
|
297
|
-
src:
|
|
298
|
-
local('Dosis Extra Light '),
|
|
299
|
-
local('Dosis-Extra Light'),
|
|
300
|
-
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
301
|
-
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/* dosis-300normal - latin */
|
|
305
|
-
@font-face {
|
|
306
|
-
font-family: 'Dosis';
|
|
307
|
-
font-style: normal;
|
|
308
|
-
font-display: swap;
|
|
309
|
-
font-weight: 300;
|
|
310
|
-
src:
|
|
311
|
-
local('Dosis Light '),
|
|
312
|
-
local('Dosis-Light'),
|
|
313
|
-
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
314
|
-
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/* dosis-400normal - latin */
|
|
318
|
-
@font-face {
|
|
319
|
-
font-family: 'Dosis';
|
|
320
|
-
font-style: normal;
|
|
321
|
-
font-display: swap;
|
|
322
|
-
font-weight: 400;
|
|
323
|
-
src:
|
|
324
|
-
local('Dosis Regular '),
|
|
325
|
-
local('Dosis-Regular'),
|
|
326
|
-
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
327
|
-
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/* dosis-500normal - latin */
|
|
331
|
-
@font-face {
|
|
332
|
-
font-family: 'Dosis';
|
|
333
|
-
font-style: normal;
|
|
334
|
-
font-display: swap;
|
|
335
|
-
font-weight: 500;
|
|
336
|
-
src:
|
|
337
|
-
local('Dosis Medium '),
|
|
338
|
-
local('Dosis-Medium'),
|
|
339
|
-
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
340
|
-
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/* dosis-600normal - latin */
|
|
344
|
-
@font-face {
|
|
345
|
-
font-family: 'Dosis';
|
|
346
|
-
font-style: normal;
|
|
347
|
-
font-display: swap;
|
|
348
|
-
font-weight: 600;
|
|
349
|
-
src:
|
|
350
|
-
local('Dosis SemiBold '),
|
|
351
|
-
local('Dosis-SemiBold'),
|
|
352
|
-
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
353
|
-
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/* dosis-700normal - latin */
|
|
357
|
-
@font-face {
|
|
358
|
-
font-family: 'Dosis';
|
|
359
|
-
font-style: normal;
|
|
360
|
-
font-display: swap;
|
|
361
|
-
font-weight: 700;
|
|
362
|
-
src:
|
|
363
|
-
local('Dosis Bold '),
|
|
364
|
-
local('Dosis-Bold'),
|
|
365
|
-
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
366
|
-
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/* dosis-800normal - latin */
|
|
370
|
-
@font-face {
|
|
371
|
-
font-family: 'Dosis';
|
|
372
|
-
font-style: normal;
|
|
373
|
-
font-display: swap;
|
|
374
|
-
font-weight: 800;
|
|
375
|
-
src:
|
|
376
|
-
local('Dosis ExtraBold '),
|
|
377
|
-
local('Dosis-ExtraBold'),
|
|
378
|
-
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
379
|
-
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
|
|
383
291
|
/* nunito-200normal - latin */
|
|
384
292
|
@font-face {
|
|
385
293
|
font-family: 'Nunito';
|
|
@@ -563,6 +471,98 @@
|
|
|
563
471
|
}
|
|
564
472
|
|
|
565
473
|
|
|
474
|
+
/* dosis-200normal - latin */
|
|
475
|
+
@font-face {
|
|
476
|
+
font-family: 'Dosis';
|
|
477
|
+
font-style: normal;
|
|
478
|
+
font-display: swap;
|
|
479
|
+
font-weight: 200;
|
|
480
|
+
src:
|
|
481
|
+
local('Dosis Extra Light '),
|
|
482
|
+
local('Dosis-Extra Light'),
|
|
483
|
+
url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
|
|
484
|
+
url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/* dosis-300normal - latin */
|
|
488
|
+
@font-face {
|
|
489
|
+
font-family: 'Dosis';
|
|
490
|
+
font-style: normal;
|
|
491
|
+
font-display: swap;
|
|
492
|
+
font-weight: 300;
|
|
493
|
+
src:
|
|
494
|
+
local('Dosis Light '),
|
|
495
|
+
local('Dosis-Light'),
|
|
496
|
+
url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
|
|
497
|
+
url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* dosis-400normal - latin */
|
|
501
|
+
@font-face {
|
|
502
|
+
font-family: 'Dosis';
|
|
503
|
+
font-style: normal;
|
|
504
|
+
font-display: swap;
|
|
505
|
+
font-weight: 400;
|
|
506
|
+
src:
|
|
507
|
+
local('Dosis Regular '),
|
|
508
|
+
local('Dosis-Regular'),
|
|
509
|
+
url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
|
|
510
|
+
url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/* dosis-500normal - latin */
|
|
514
|
+
@font-face {
|
|
515
|
+
font-family: 'Dosis';
|
|
516
|
+
font-style: normal;
|
|
517
|
+
font-display: swap;
|
|
518
|
+
font-weight: 500;
|
|
519
|
+
src:
|
|
520
|
+
local('Dosis Medium '),
|
|
521
|
+
local('Dosis-Medium'),
|
|
522
|
+
url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
|
523
|
+
url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/* dosis-600normal - latin */
|
|
527
|
+
@font-face {
|
|
528
|
+
font-family: 'Dosis';
|
|
529
|
+
font-style: normal;
|
|
530
|
+
font-display: swap;
|
|
531
|
+
font-weight: 600;
|
|
532
|
+
src:
|
|
533
|
+
local('Dosis SemiBold '),
|
|
534
|
+
local('Dosis-SemiBold'),
|
|
535
|
+
url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
|
536
|
+
url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
/* dosis-700normal - latin */
|
|
540
|
+
@font-face {
|
|
541
|
+
font-family: 'Dosis';
|
|
542
|
+
font-style: normal;
|
|
543
|
+
font-display: swap;
|
|
544
|
+
font-weight: 700;
|
|
545
|
+
src:
|
|
546
|
+
local('Dosis Bold '),
|
|
547
|
+
local('Dosis-Bold'),
|
|
548
|
+
url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
|
549
|
+
url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/* dosis-800normal - latin */
|
|
553
|
+
@font-face {
|
|
554
|
+
font-family: 'Dosis';
|
|
555
|
+
font-style: normal;
|
|
556
|
+
font-display: swap;
|
|
557
|
+
font-weight: 800;
|
|
558
|
+
src:
|
|
559
|
+
local('Dosis ExtraBold '),
|
|
560
|
+
local('Dosis-ExtraBold'),
|
|
561
|
+
url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
|
562
|
+
url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
|
|
566
566
|
/*!
|
|
567
567
|
* Cropper.js v1.5.9
|
|
568
568
|
* https://fengyuanchen.github.io/cropperjs
|
package/index.esm.min.css.gz
CHANGED
|
Binary file
|
package/js-core.esm104.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as formattedMessages,s as selectLoginName,b as selectUrlSlug,c as selectDuplicateSlugStatus,d as selectLogoUrl,e as selectButtonColor,g as selectButtonTextColor,h as selectIsPreviewModalOpen,S as SHARED_TEXT,i as actions$1,j as fails$d,k as global$j,l as functionCall,m as functionUncurryThis,n as shared$3,_ as _export,w as wellKnownSymbol$e,o as arrayIncludes,p as addToUnscopables$1,q as actions,r as CUSTOM_LOGIN_PANEL_ID,t as actions$2,u as defineBuiltIn$5,v as createNonEnumerableProperty$4,x as functionApply,y as anObject$9,z as isNullOrUndefined$4,A as toIntegerOrInfinity$2,B as toLength$1,D as toString$1$1,E as requireObjectCoercible$3,F as getMethod$3,G as objectCreate,H as internalState,I as isCallable$k,J as toObject$3,K as classofRaw$2}from"./js-core.esm73.js";import{w as useIntl,r as react,Y as useSelector,aO as loginUrlSelector,j as jsxRuntime,am as Box,a0 as hidePanel}from"./js-core.esm.js";import{k as kebabCase_1}from"./js-core.esm36.js";import{d as Stack,T as TextField,aD as CustomLoginPreviewModal,r as imageUpload}from"./js-core.esm6.js";import{T as Typography,h as Button}from"./js-core.esm5.js";import"./js-core.esm2.js";import{u as useDispatch}from"./js-core.esm7.js";import"./js-core.esm4.js";import"./js-core.esm3.js";var anObject$2=anObject$9,regexpFlags$1=function(){var e=anObject$2(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},fails$5=fails$d,global$2=global$j,$RegExp$2=global$j.RegExp,UNSUPPORTED_Y$1=fails$5(function(){var e=$RegExp$2("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),MISSED_STICKY=UNSUPPORTED_Y$1||fails$5(function(){return!$RegExp$2("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y$1||fails$5(function(){var e=$RegExp$2("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),regexpStickyHelpers={BROKEN_CARET:BROKEN_CARET,MISSED_STICKY:MISSED_STICKY,UNSUPPORTED_Y:UNSUPPORTED_Y$1},fails$4=fails$d,global$1=global$j,$RegExp$1=global$j.RegExp,regexpUnsupportedDotAll=fails$4(function(){var e=$RegExp$1(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}),fails$3=fails$d,global=global$j,$RegExp=global$j.RegExp,regexpUnsupportedNcg=fails$3(function(){var e=$RegExp("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),call$3=functionCall,uncurryThis$3=functionUncurryThis,toString$2=toString$1$1,regexpFlags=regexpFlags$1,stickyHelpers=regexpStickyHelpers,shared=shared$3,create=objectCreate,getInternalState=internalState.get,UNSUPPORTED_DOT_ALL=regexpUnsupportedDotAll,UNSUPPORTED_NCG=regexpUnsupportedNcg,nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt$3=uncurryThis$3("".charAt),indexOf=uncurryThis$3("".indexOf),replace$1=uncurryThis$3("".replace),stringSlice$3=uncurryThis$3("".slice),UPDATES_LAST_INDEX_WRONG=function(){var e=/a/,t=/b*/g;return call$3(nativeExec,e,"a"),call$3(nativeExec,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1],PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG,regexpExec$2=patchedExec=PATCH?function(e){var t,n,r,a,i,s,o=this,l=getInternalState(o),e=toString$2(e),c=l.raw;if(c)return c.lastIndex=o.lastIndex,g=call$3(patchedExec,c,e),o.lastIndex=c.lastIndex,g;var u=l.groups,c=UNSUPPORTED_Y&&o.sticky,g=call$3(regexpFlags,o),l=o.source,p=0,x=e;if(c&&(g=replace$1(g,"y",""),-1===indexOf(g,"g")&&(g+="g"),x=stringSlice$3(e,o.lastIndex),0<o.lastIndex&&(!o.multiline||o.multiline&&"\n"!==charAt$3(e,o.lastIndex-1))&&(l="(?: "+l+")",x=" "+x,p++),t=new RegExp("^(?:"+l+")",g)),NPCG_INCLUDED&&(t=new RegExp("^"+l+"$(?!\\s)",g)),UPDATES_LAST_INDEX_WRONG&&(n=o.lastIndex),r=call$3(nativeExec,c?t:o,x),c?r?(r.input=stringSlice$3(r.input,p),r[0]=stringSlice$3(r[0],p),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&r&&(o.lastIndex=o.global?r.index+r[0].length:n),NPCG_INCLUDED&&r&&1<r.length&&call$3(nativeReplace,r[0],t,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)}),r&&u)for(r.groups=i=create(null),a=0;a<u.length;a++)i[(s=u[a])[0]]=r[s[1]];return r}:patchedExec,$$1=_export,exec=regexpExec$2,call$2=(_export({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec:exec}),functionCall),defineBuiltIn=defineBuiltIn$5,regexpExec$1=regexpExec$2,fails$2=fails$d,wellKnownSymbol$1=wellKnownSymbol$e,createNonEnumerableProperty=createNonEnumerableProperty$4,SPECIES=wellKnownSymbol$1("species"),RegExpPrototype=RegExp.prototype,fixRegexpWellKnownSymbolLogic=function(n,e,t,r){var s,a=wellKnownSymbol$1(n),o=!fails$2(function(){var e={};return e[a]=function(){return 7},7!==""[n](e)}),i=o&&!fails$2(function(){var e=!1,t=/a/;return"split"===n&&((t={constructor:{}}).constructor[SPECIES]=function(){return t},t.flags="",t[a]=/./[a]),t.exec=function(){return e=!0,null},t[a](""),!e});o&&i&&!t||(s=/./[a],i=e(a,""[n],function(e,t,n,r,a){var i=t.exec;return i===regexpExec$1||i===RegExpPrototype.exec?o&&!a?{done:!0,value:call$2(s,t,n,r)}:{done:!0,value:call$2(e,n,t,r)}:{done:!1}}),defineBuiltIn(String.prototype,n,i[0]),defineBuiltIn(RegExpPrototype,a,i[1])),r&&createNonEnumerableProperty(RegExpPrototype[a],"sham",!0)},uncurryThis$2=functionUncurryThis,toIntegerOrInfinity$1=toIntegerOrInfinity$2,toString$1=toString$1$1,requireObjectCoercible$1=requireObjectCoercible$3,charAt$2=uncurryThis$2("".charAt),charCodeAt=uncurryThis$2("".charCodeAt),stringSlice$2=uncurryThis$2("".slice),createMethod=function(a){return function(e,t){var n,e=toString$1(requireObjectCoercible$1(e)),t=toIntegerOrInfinity$1(t),r=e.length;return t<0||r<=t?a?"":void 0:(n=charCodeAt(e,t))<55296||56319<n||t+1===r||(r=charCodeAt(e,t+1))<56320||57343<r?a?charAt$2(e,t):n:a?stringSlice$2(e,t,t+2):r-56320+(n-55296<<10)+65536}},stringMultibyte={codeAt:createMethod(!1),charAt:createMethod(!0)},charAt$1=stringMultibyte.charAt,advanceStringIndex$1=function(e,t,n){return t+(n?charAt$1(e,t).length:1)},uncurryThis$1=functionUncurryThis,toObject=toObject$3,floor=Math.floor,charAt=uncurryThis$1("".charAt),replace=uncurryThis$1("".replace),stringSlice$1=uncurryThis$1("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g,getSubstitution$1=function(i,s,o,l,c,e){var u=o+i.length,g=l.length,t=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==c&&(c=toObject(c),t=SUBSTITUTION_SYMBOLS),replace(e,t,function(e,t){var n;switch(charAt(t,0)){case"$":return"$";case"&":return i;case"`":return stringSlice$1(s,0,o);case"'":return stringSlice$1(s,u);case"<":n=c[stringSlice$1(t,1,-1)];break;default:var r,a=+t;if(0==a)return e;if(g<a)return 0!==(r=floor(a/10))&&r<=g?void 0===l[r-1]?charAt(t,1):l[r-1]+charAt(t,1):e;n=l[a-1]}return void 0===n?"":n})},call$1=functionCall,anObject$1=anObject$9,isCallable$1=isCallable$k,classof=classofRaw$2,regexpExec=regexpExec$2,$TypeError=TypeError,regexpExecAbstract=function(e,t){var n=e.exec;if(isCallable$1(n))return null!==(n=call$1(n,e,t))&&anObject$1(n),n;if("RegExp"===classof(e))return call$1(regexpExec,e,t);throw new $TypeError("RegExp#exec called on incompatible receiver")},apply=functionApply,call=functionCall,uncurryThis=functionUncurryThis,fixRegExpWellKnownSymbolLogic=fixRegexpWellKnownSymbolLogic,fails$1=fails$d,anObject=anObject$9,isCallable=isCallable$k,isNullOrUndefined=isNullOrUndefined$4,toIntegerOrInfinity=toIntegerOrInfinity$2,toLength=toLength$1,toString=toString$1$1,requireObjectCoercible=requireObjectCoercible$3,advanceStringIndex=advanceStringIndex$1,getMethod=getMethod$3,getSubstitution=getSubstitution$1,regExpExec=regexpExecAbstract,wellKnownSymbol=wellKnownSymbol$e,REPLACE=wellKnownSymbol$e("replace"),max=Math.max,min=Math.min,concat=uncurryThis([].concat),push=uncurryThis([].push),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),maybeToString=function(e){return void 0===e?e:String(e)},REPLACE_KEEPS_$0="$0"==="a".replace(/./,"$0"),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=!!/./[REPLACE]&&""===/./[REPLACE]("a","$0"),REPLACE_SUPPORTS_NAMED_GROUPS=!fails$1(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),$=(fixRegExpWellKnownSymbolLogic("replace",function(e,f,h){var T=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(e,t){var n=requireObjectCoercible(this),r=isNullOrUndefined(e)?void 0:getMethod(e,REPLACE);return r?call(r,e,n,t):call(f,toString(n),e,t)},function(e,t){var n=anObject(this),r=toString(e);if("string"==typeof t&&-1===stringIndexOf(t,T)&&-1===stringIndexOf(t,"$<")){e=h(f,n,r,t);if(e.done)return e.value}for(var a,i=isCallable(t),s=(i||(t=toString(t)),n.global),o=(s&&(a=n.unicode,n.lastIndex=0),[]);null!==(g=regExpExec(n,r))&&(push(o,g),s);)""===toString(g[0])&&(n.lastIndex=advanceStringIndex(r,toLength(n.lastIndex),a));for(var l="",c=0,u=0;u<o.length;u++){for(var g,p=toString((g=o[u])[0]),x=max(min(toIntegerOrInfinity(g.index),r.length),0),d=[],$=1;$<g.length;$++)push(d,maybeToString(g[$]));var S=g.groups,E=i?(E=concat([p],d,x,r),void 0!==S&&push(E,S),toString(apply(t,void 0,E))):getSubstitution(p,r,x,d,S,t);c<=x&&(l+=stringSlice(r,c,x)+E,c=x+p.length)}return l+stringSlice(r,c)}]},!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE),_export),$includes=arrayIncludes.includes,fails=fails$d,addToUnscopables=addToUnscopables$1,BROKEN_ON_SPARSE=fails$d(function(){return!Array(1).includes()});function getFileAsBase64(e,t){const n=new FileReader;n.readAsDataURL(e),n.onload=function(){t(n.result)},n.onerror=function(e){console.log("error getting base64: ",e)}}function isFileImage(e){e=e.type;return["image/png","image/svg+xml","image/jpeg"].includes(e)}$({target:"Array",proto:!0,forced:BROKEN_ON_SPARSE},{includes:function(e){return $includes(this,e,1<arguments.length?arguments[1]:void 0)}}),addToUnscopables("includes");const{ImageUpload}=imageUpload["jsx"],CustomLoginBasicInfoStep=()=>{var e=useIntl(),{loginNamePlaceholder:e,customLoginUrlSlugPlaceholder:t}=formattedMessages(e);const n=react.exports.useRef(null),r=useDispatch();var a=useSelector(selectLoginName);const i=useSelector(selectUrlSlug);var s=useSelector(selectDuplicateSlugStatus);const o=useSelector(selectLogoUrl),l=useSelector(selectButtonColor),c=useSelector(selectButtonTextColor),u=useSelector(loginUrlSelector),g=useSelector(selectIsPreviewModalOpen),[p,x]=react.exports.useState(!0),[d,$]=react.exports.useState(!0);var S=0<(null!=(S=null==a?void 0:a.length)?S:0)&&0<(null!=(S=null===o||void 0===o?void 0:o.length)?S:0)&&d&&p&&!s;react.exports.useEffect(()=>{var e=/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(i),e=($(0===i.length||e),0<i.length);x(e)},[i]);return jsxRuntime.exports.jsxs(Box,Object.assign({sx:{display:"flex",flexDirection:"column",height:"100%",justifyContent:"space-between"}},{children:[jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"column",gap:"20px",sx:{height:"90%",position:"relative",overflow:"auto"}},{children:[jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h3",sx:{fontWeight:600,fontSize:"16px",marginTop:"30px"}},{children:[SHARED_TEXT.basicInfoStep.title()," *"]})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400,fontSize:"14px"}},{children:SHARED_TEXT.basicInfoStep.description()}))]}),jsxRuntime.exports.jsx(TextField,{value:a,placeholder:e,onChange:e=>{e=e.target.value;r(actions$1.setLoginName(e))},"data-testid":"admin-center-custom-login-login-name-input"}),jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h3",sx:{fontWeight:600,fontSize:"16px",marginBottom:"5px"}},{children:[SHARED_TEXT.basicInfoStep.brandLogoTitle()," *"]})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400,fontSize:"14px"}},{children:SHARED_TEXT.basicInfoStep.brandLogoDescription()})),jsxRuntime.exports.jsx(Typography,Object.assign({"data-testid":"instance-admin-center-instance-login--show-me-link",component:"span",variant:"caption",sx:{fontWeight:400,fontSize:"14px",color:o?"#1565C0":"gray",cursor:o?"pointer":"not-allowed",marginLeft:"5px"},onClick:o?()=>{r(actions$1.setIsPreviewModalOpen(!0))}:void 0},{children:SHARED_TEXT.basicInfoStep.showMeLink()})),jsxRuntime.exports.jsx(CustomLoginPreviewModal,Object.assign({},{onClose:()=>r(actions$1.setIsPreviewModalOpen(!1)),isOpen:g,buttonTextColor:c||"",buttonColor:l||"",logoUrl:o||""}))]}),jsxRuntime.exports.jsx(ImageUpload,{image:o,getUrl:!1,outerWidth:"366px",outerHeight:"161px",innerHeight:"145px",innerWidth:"350px",handleChange:e=>{null!==n.current&&(n.current.value=""),isFileImage(e)?getFileAsBase64(e,e=>{"string"==typeof e&&r(actions$1.setLogoUrl(e))}):r(actions$1.setLogoUrl(""))},testId:"admin-center-custom-login--brand-logo"}),jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h3",sx:{fontWeight:600,fontSize:"16px",marginBottom:"5px"}},{children:[SHARED_TEXT.basicInfoStep.customUrlSlugTitle()," *"]})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400,fontSize:"14px"}},{children:SHARED_TEXT.basicInfoStep.customUrlSlugDescription()}))]}),jsxRuntime.exports.jsx(TextField,{value:i,placeholder:t,error:!d||s,helperText:d?s?"The slug you entered has already been used.":"":SHARED_TEXT.basicInfoStep.customUrlSlugError(),onBlur:e=>r(actions$1.setUrlSlug(kebabCase_1(e.target.value))),onChange:e=>{e=e.target.value;r(actions$1.setUrlSlug(e))},"data-testid":"admin-center-custom-login-login-slug-input"}),jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"caption",fontWeight:400},{children:["Example URL: "+u.replace(/(.us-1|https:\/\/)/g,"")+"/",jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",color:"black",fontWeight:800},{children:""+(0!==i.length&&d?i:"<slug>")}))]}))]})),jsxRuntime.exports.jsx(Footer,{onCancel:()=>{r(actions$1.resetBasicInfo()),r(actions.resetButton()),r(hidePanel(CUSTOM_LOGIN_PANEL_ID))},onNext:()=>{r(actions$2.setActiveStep(2))},isSaveDisabled:!S})]}))},Footer=({onCancel:e,onNext:t,isSaveDisabled:n})=>jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"row",sx:{padding:"60px 0 30px 30px",display:"flex",justifyContent:"flex-end",height:"10%",alignItems:"center"}},{children:[jsxRuntime.exports.jsx(Button,Object.assign({onClick:e,disabled:!1,variant:"text","data-testid":"admin-center-custom-login--cancel-btn",sx:{marginRight:"15px"}},{children:SHARED_TEXT.basicInfoStep.cancelBtn()})),jsxRuntime.exports.jsx(Button,Object.assign({onClick:t,disabled:n,variant:"contained","data-testid":"admin-center-custom-login--save-btn"},{children:SHARED_TEXT.basicInfoStep.nextBtn()}))]}));export{CustomLoginBasicInfoStep as default};
|
|
1
|
+
import{f as formattedMessages,s as selectLoginName,b as selectUrlSlug,c as selectDuplicateSlugStatus,d as selectLogoUrl,e as selectButtonColor,g as selectButtonTextColor,h as selectIsPreviewModalOpen,S as SHARED_TEXT,i as actions$1,j as fails$d,k as global$j,l as functionCall,m as functionUncurryThis,n as shared$3,_ as _export,w as wellKnownSymbol$e,o as arrayIncludes,p as addToUnscopables$1,q as actions,r as CUSTOM_LOGIN_PANEL_ID,t as actions$2,u as defineBuiltIn$5,v as createNonEnumerableProperty$4,x as functionApply,y as anObject$9,z as isNullOrUndefined$4,A as toIntegerOrInfinity$2,B as toLength$1,D as toString$1$1,E as requireObjectCoercible$3,F as getMethod$3,G as objectCreate,H as internalState,I as isCallable$k,J as toObject$3,K as classofRaw$2}from"./js-core.esm73.js";import{w as useIntl,r as react,Y as useSelector,aO as loginUrlSelector,j as jsxRuntime,am as Box,a0 as hidePanel}from"./js-core.esm.js";import{k as kebabCase_1}from"./js-core.esm36.js";import{d as Stack,T as TextField,aE as CustomLoginPreviewModal,r as imageUpload}from"./js-core.esm6.js";import{T as Typography,h as Button}from"./js-core.esm5.js";import"./js-core.esm2.js";import{u as useDispatch}from"./js-core.esm7.js";import"./js-core.esm4.js";import"./js-core.esm3.js";var anObject$2=anObject$9,regexpFlags$1=function(){var e=anObject$2(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},fails$5=fails$d,global$2=global$j,$RegExp$2=global$j.RegExp,UNSUPPORTED_Y$1=fails$5(function(){var e=$RegExp$2("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),MISSED_STICKY=UNSUPPORTED_Y$1||fails$5(function(){return!$RegExp$2("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y$1||fails$5(function(){var e=$RegExp$2("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),regexpStickyHelpers={BROKEN_CARET:BROKEN_CARET,MISSED_STICKY:MISSED_STICKY,UNSUPPORTED_Y:UNSUPPORTED_Y$1},fails$4=fails$d,global$1=global$j,$RegExp$1=global$j.RegExp,regexpUnsupportedDotAll=fails$4(function(){var e=$RegExp$1(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}),fails$3=fails$d,global=global$j,$RegExp=global$j.RegExp,regexpUnsupportedNcg=fails$3(function(){var e=$RegExp("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),call$3=functionCall,uncurryThis$3=functionUncurryThis,toString$2=toString$1$1,regexpFlags=regexpFlags$1,stickyHelpers=regexpStickyHelpers,shared=shared$3,create=objectCreate,getInternalState=internalState.get,UNSUPPORTED_DOT_ALL=regexpUnsupportedDotAll,UNSUPPORTED_NCG=regexpUnsupportedNcg,nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt$3=uncurryThis$3("".charAt),indexOf=uncurryThis$3("".indexOf),replace$1=uncurryThis$3("".replace),stringSlice$3=uncurryThis$3("".slice),UPDATES_LAST_INDEX_WRONG=function(){var e=/a/,t=/b*/g;return call$3(nativeExec,e,"a"),call$3(nativeExec,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1],PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG,regexpExec$2=patchedExec=PATCH?function(e){var t,n,r,a,i,s,o=this,l=getInternalState(o),e=toString$2(e),c=l.raw;if(c)return c.lastIndex=o.lastIndex,g=call$3(patchedExec,c,e),o.lastIndex=c.lastIndex,g;var u=l.groups,c=UNSUPPORTED_Y&&o.sticky,g=call$3(regexpFlags,o),l=o.source,p=0,x=e;if(c&&(g=replace$1(g,"y",""),-1===indexOf(g,"g")&&(g+="g"),x=stringSlice$3(e,o.lastIndex),0<o.lastIndex&&(!o.multiline||o.multiline&&"\n"!==charAt$3(e,o.lastIndex-1))&&(l="(?: "+l+")",x=" "+x,p++),t=new RegExp("^(?:"+l+")",g)),NPCG_INCLUDED&&(t=new RegExp("^"+l+"$(?!\\s)",g)),UPDATES_LAST_INDEX_WRONG&&(n=o.lastIndex),r=call$3(nativeExec,c?t:o,x),c?r?(r.input=stringSlice$3(r.input,p),r[0]=stringSlice$3(r[0],p),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&r&&(o.lastIndex=o.global?r.index+r[0].length:n),NPCG_INCLUDED&&r&&1<r.length&&call$3(nativeReplace,r[0],t,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)}),r&&u)for(r.groups=i=create(null),a=0;a<u.length;a++)i[(s=u[a])[0]]=r[s[1]];return r}:patchedExec,$$1=_export,exec=regexpExec$2,call$2=(_export({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec:exec}),functionCall),defineBuiltIn=defineBuiltIn$5,regexpExec$1=regexpExec$2,fails$2=fails$d,wellKnownSymbol$1=wellKnownSymbol$e,createNonEnumerableProperty=createNonEnumerableProperty$4,SPECIES=wellKnownSymbol$1("species"),RegExpPrototype=RegExp.prototype,fixRegexpWellKnownSymbolLogic=function(n,e,t,r){var s,a=wellKnownSymbol$1(n),o=!fails$2(function(){var e={};return e[a]=function(){return 7},7!==""[n](e)}),i=o&&!fails$2(function(){var e=!1,t=/a/;return"split"===n&&((t={constructor:{}}).constructor[SPECIES]=function(){return t},t.flags="",t[a]=/./[a]),t.exec=function(){return e=!0,null},t[a](""),!e});o&&i&&!t||(s=/./[a],i=e(a,""[n],function(e,t,n,r,a){var i=t.exec;return i===regexpExec$1||i===RegExpPrototype.exec?o&&!a?{done:!0,value:call$2(s,t,n,r)}:{done:!0,value:call$2(e,n,t,r)}:{done:!1}}),defineBuiltIn(String.prototype,n,i[0]),defineBuiltIn(RegExpPrototype,a,i[1])),r&&createNonEnumerableProperty(RegExpPrototype[a],"sham",!0)},uncurryThis$2=functionUncurryThis,toIntegerOrInfinity$1=toIntegerOrInfinity$2,toString$1=toString$1$1,requireObjectCoercible$1=requireObjectCoercible$3,charAt$2=uncurryThis$2("".charAt),charCodeAt=uncurryThis$2("".charCodeAt),stringSlice$2=uncurryThis$2("".slice),createMethod=function(a){return function(e,t){var n,e=toString$1(requireObjectCoercible$1(e)),t=toIntegerOrInfinity$1(t),r=e.length;return t<0||r<=t?a?"":void 0:(n=charCodeAt(e,t))<55296||56319<n||t+1===r||(r=charCodeAt(e,t+1))<56320||57343<r?a?charAt$2(e,t):n:a?stringSlice$2(e,t,t+2):r-56320+(n-55296<<10)+65536}},stringMultibyte={codeAt:createMethod(!1),charAt:createMethod(!0)},charAt$1=stringMultibyte.charAt,advanceStringIndex$1=function(e,t,n){return t+(n?charAt$1(e,t).length:1)},uncurryThis$1=functionUncurryThis,toObject=toObject$3,floor=Math.floor,charAt=uncurryThis$1("".charAt),replace=uncurryThis$1("".replace),stringSlice$1=uncurryThis$1("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g,getSubstitution$1=function(i,s,o,l,c,e){var u=o+i.length,g=l.length,t=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==c&&(c=toObject(c),t=SUBSTITUTION_SYMBOLS),replace(e,t,function(e,t){var n;switch(charAt(t,0)){case"$":return"$";case"&":return i;case"`":return stringSlice$1(s,0,o);case"'":return stringSlice$1(s,u);case"<":n=c[stringSlice$1(t,1,-1)];break;default:var r,a=+t;if(0==a)return e;if(g<a)return 0!==(r=floor(a/10))&&r<=g?void 0===l[r-1]?charAt(t,1):l[r-1]+charAt(t,1):e;n=l[a-1]}return void 0===n?"":n})},call$1=functionCall,anObject$1=anObject$9,isCallable$1=isCallable$k,classof=classofRaw$2,regexpExec=regexpExec$2,$TypeError=TypeError,regexpExecAbstract=function(e,t){var n=e.exec;if(isCallable$1(n))return null!==(n=call$1(n,e,t))&&anObject$1(n),n;if("RegExp"===classof(e))return call$1(regexpExec,e,t);throw new $TypeError("RegExp#exec called on incompatible receiver")},apply=functionApply,call=functionCall,uncurryThis=functionUncurryThis,fixRegExpWellKnownSymbolLogic=fixRegexpWellKnownSymbolLogic,fails$1=fails$d,anObject=anObject$9,isCallable=isCallable$k,isNullOrUndefined=isNullOrUndefined$4,toIntegerOrInfinity=toIntegerOrInfinity$2,toLength=toLength$1,toString=toString$1$1,requireObjectCoercible=requireObjectCoercible$3,advanceStringIndex=advanceStringIndex$1,getMethod=getMethod$3,getSubstitution=getSubstitution$1,regExpExec=regexpExecAbstract,wellKnownSymbol=wellKnownSymbol$e,REPLACE=wellKnownSymbol$e("replace"),max=Math.max,min=Math.min,concat=uncurryThis([].concat),push=uncurryThis([].push),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),maybeToString=function(e){return void 0===e?e:String(e)},REPLACE_KEEPS_$0="$0"==="a".replace(/./,"$0"),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=!!/./[REPLACE]&&""===/./[REPLACE]("a","$0"),REPLACE_SUPPORTS_NAMED_GROUPS=!fails$1(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),$=(fixRegExpWellKnownSymbolLogic("replace",function(e,f,h){var T=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(e,t){var n=requireObjectCoercible(this),r=isNullOrUndefined(e)?void 0:getMethod(e,REPLACE);return r?call(r,e,n,t):call(f,toString(n),e,t)},function(e,t){var n=anObject(this),r=toString(e);if("string"==typeof t&&-1===stringIndexOf(t,T)&&-1===stringIndexOf(t,"$<")){e=h(f,n,r,t);if(e.done)return e.value}for(var a,i=isCallable(t),s=(i||(t=toString(t)),n.global),o=(s&&(a=n.unicode,n.lastIndex=0),[]);null!==(g=regExpExec(n,r))&&(push(o,g),s);)""===toString(g[0])&&(n.lastIndex=advanceStringIndex(r,toLength(n.lastIndex),a));for(var l="",c=0,u=0;u<o.length;u++){for(var g,p=toString((g=o[u])[0]),x=max(min(toIntegerOrInfinity(g.index),r.length),0),d=[],$=1;$<g.length;$++)push(d,maybeToString(g[$]));var S=g.groups,E=i?(E=concat([p],d,x,r),void 0!==S&&push(E,S),toString(apply(t,void 0,E))):getSubstitution(p,r,x,d,S,t);c<=x&&(l+=stringSlice(r,c,x)+E,c=x+p.length)}return l+stringSlice(r,c)}]},!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE),_export),$includes=arrayIncludes.includes,fails=fails$d,addToUnscopables=addToUnscopables$1,BROKEN_ON_SPARSE=fails$d(function(){return!Array(1).includes()});function getFileAsBase64(e,t){const n=new FileReader;n.readAsDataURL(e),n.onload=function(){t(n.result)},n.onerror=function(e){console.log("error getting base64: ",e)}}function isFileImage(e){e=e.type;return["image/png","image/svg+xml","image/jpeg"].includes(e)}$({target:"Array",proto:!0,forced:BROKEN_ON_SPARSE},{includes:function(e){return $includes(this,e,1<arguments.length?arguments[1]:void 0)}}),addToUnscopables("includes");const{ImageUpload}=imageUpload["jsx"],CustomLoginBasicInfoStep=()=>{var e=useIntl(),{loginNamePlaceholder:e,customLoginUrlSlugPlaceholder:t}=formattedMessages(e);const n=react.exports.useRef(null),r=useDispatch();var a=useSelector(selectLoginName);const i=useSelector(selectUrlSlug);var s=useSelector(selectDuplicateSlugStatus);const o=useSelector(selectLogoUrl),l=useSelector(selectButtonColor),c=useSelector(selectButtonTextColor),u=useSelector(loginUrlSelector),g=useSelector(selectIsPreviewModalOpen),[p,x]=react.exports.useState(!0),[d,$]=react.exports.useState(!0);var S=0<(null!=(S=null==a?void 0:a.length)?S:0)&&0<(null!=(S=null===o||void 0===o?void 0:o.length)?S:0)&&d&&p&&!s;react.exports.useEffect(()=>{var e=/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(i),e=($(0===i.length||e),0<i.length);x(e)},[i]);return jsxRuntime.exports.jsxs(Box,Object.assign({sx:{display:"flex",flexDirection:"column",height:"100%",justifyContent:"space-between"}},{children:[jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"column",gap:"20px",sx:{height:"90%",position:"relative",overflow:"auto"}},{children:[jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h3",sx:{fontWeight:600,fontSize:"16px",marginTop:"30px"}},{children:[SHARED_TEXT.basicInfoStep.title()," *"]})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400,fontSize:"14px"}},{children:SHARED_TEXT.basicInfoStep.description()}))]}),jsxRuntime.exports.jsx(TextField,{value:a,placeholder:e,onChange:e=>{e=e.target.value;r(actions$1.setLoginName(e))},"data-testid":"admin-center-custom-login-login-name-input"}),jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h3",sx:{fontWeight:600,fontSize:"16px",marginBottom:"5px"}},{children:[SHARED_TEXT.basicInfoStep.brandLogoTitle()," *"]})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400,fontSize:"14px"}},{children:SHARED_TEXT.basicInfoStep.brandLogoDescription()})),jsxRuntime.exports.jsx(Typography,Object.assign({"data-testid":"instance-admin-center-instance-login--show-me-link",component:"span",variant:"caption",sx:{fontWeight:400,fontSize:"14px",color:o?"#1565C0":"gray",cursor:o?"pointer":"not-allowed",marginLeft:"5px"},onClick:o?()=>{r(actions$1.setIsPreviewModalOpen(!0))}:void 0},{children:SHARED_TEXT.basicInfoStep.showMeLink()})),jsxRuntime.exports.jsx(CustomLoginPreviewModal,Object.assign({},{onClose:()=>r(actions$1.setIsPreviewModalOpen(!1)),isOpen:g,buttonTextColor:c||"",buttonColor:l||"",logoUrl:o||""}))]}),jsxRuntime.exports.jsx(ImageUpload,{image:o,getUrl:!1,outerWidth:"366px",outerHeight:"161px",innerHeight:"145px",innerWidth:"350px",handleChange:e=>{null!==n.current&&(n.current.value=""),isFileImage(e)?getFileAsBase64(e,e=>{"string"==typeof e&&r(actions$1.setLogoUrl(e))}):r(actions$1.setLogoUrl(""))},testId:"admin-center-custom-login--brand-logo"}),jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h3",sx:{fontWeight:600,fontSize:"16px",marginBottom:"5px"}},{children:[SHARED_TEXT.basicInfoStep.customUrlSlugTitle()," *"]})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:400,fontSize:"14px"}},{children:SHARED_TEXT.basicInfoStep.customUrlSlugDescription()}))]}),jsxRuntime.exports.jsx(TextField,{value:i,placeholder:t,error:!d||s,helperText:d?s?"The slug you entered has already been used.":"":SHARED_TEXT.basicInfoStep.customUrlSlugError(),onBlur:e=>r(actions$1.setUrlSlug(kebabCase_1(e.target.value))),onChange:e=>{e=e.target.value;r(actions$1.setUrlSlug(e))},"data-testid":"admin-center-custom-login-login-slug-input"}),jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"caption",fontWeight:400},{children:["Example URL: "+u.replace(/(.us-1|https:\/\/)/g,"")+"/",jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",color:"black",fontWeight:800},{children:""+(0!==i.length&&d?i:"<slug>")}))]}))]})),jsxRuntime.exports.jsx(Footer,{onCancel:()=>{r(actions$1.resetBasicInfo()),r(actions.resetButton()),r(hidePanel(CUSTOM_LOGIN_PANEL_ID))},onNext:()=>{r(actions$2.setActiveStep(2))},isSaveDisabled:!S})]}))},Footer=({onCancel:e,onNext:t,isSaveDisabled:n})=>jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"row",sx:{padding:"60px 0 30px 30px",display:"flex",justifyContent:"flex-end",height:"10%",alignItems:"center"}},{children:[jsxRuntime.exports.jsx(Button,Object.assign({onClick:e,disabled:!1,variant:"text","data-testid":"admin-center-custom-login--cancel-btn",sx:{marginRight:"15px"}},{children:SHARED_TEXT.basicInfoStep.cancelBtn()})),jsxRuntime.exports.jsx(Button,Object.assign({onClick:t,disabled:n,variant:"contained","data-testid":"admin-center-custom-login--save-btn"},{children:SHARED_TEXT.basicInfoStep.nextBtn()}))]}));export{CustomLoginBasicInfoStep as default};
|
package/js-core.esm104.js.gz
CHANGED
|
Binary file
|
package/js-core.esm107.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as selectScheduleName,q as selectBasicInfoInvalidFields,h as selectIsEditMode,j as selectUpdateJobErrors,k as actions$8,m as PanelControls$1,E as ENextButtonType,t as engineUserAgent,_ as _export,v as functionUncurryThis,w as aCallable$8,x as toObject$5,y as lengthOfArrayLike$3,z as fails$n,A as arraySort$1,C as engineV8Version,D as selectPrograms,F as selectBasicInfoMeta,T as TvField,G as selectActiveEngine,H as actions$5,S as SHARED_TEXT,I as EAffiliatePanelView,J as selectBasicInfoAffiliates,K as tryToString$4,L as format,M as DayTimeslotsContainer,N as getEnabledDays,O as requiredArgs,Q as toInteger,R as toString$a}from"./js-core.esm84.js";import{j as jsxRuntime,Y as useSelector,r as react,K as userSelector,f2 as guid,bQ as selectIsFullscreenEnabled,ap as mountPanel,am as Box}from"./js-core.esm.js";import{l as createSvgIcon,n as interopRequireDefault,m as makeStyles,T as Typography,F as FormControl,D as Divider,k as FormattedMessage,U as Select,V as MenuItem,h as Button,t as TableContainer,v as Table,w as TableHead,x as TableRow,y as TableCell,z as TableBody,aq as Collapse}from"./js-core.esm5.js";import{d as default_1$2,a as default_1$3}from"./js-core.esm44.js";import{T as TextField,e as Tooltip,f as InputLabel,b as FormControlLabel,C as Checkbox,ax as default_1$1,I as IconButton}from"./js-core.esm6.js";import"./js-core.esm54.js";import"./js-core.esm64.js";import"./js-core.esm56.js";import{u as useDispatch}from"./js-core.esm7.js";import"./js-core.esm34.js";import"./js-core.esm63.js";import"./js-core.esm30.js";import"./js-core.esm17.js";import"./js-core.esm2.js";import"./js-core.esm4.js";import"./js-core.esm3.js";import"./js-core.esm85.js";import"./js-core.esm59.js";import"./js-core.esm48.js";import"./js-core.esm55.js";import"./js-core.esm50.js";import"./js-core.esm9.js";import"./js-core.esm57.js";import"./js-core.esm26.js";import"./js-core.esm25.js";import"./js-core.esm58.js";import"./js-core.esm60.js";import"./js-core.esm61.js";import"./js-core.esm42.js";import"./js-core.esm47.js";import"./js-core.esm49.js";import"./js-core.esm51.js";import"./js-core.esm41.js";import"./js-core.esm45.js";var Edit={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(Edit,"__esModule",{value:!0}),Edit.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit"),default_1=Edit.default=_default,millisecondsInMinute=6e4,millisecondsInHour=36e5;function parseISO(e,t){requiredArgs(1,arguments);var a,i,s=toInteger(null!=(s=null==t?void 0:t.additionalDigits)?s:2);if(2!==s&&1!==s&&0!==s)throw new RangeError("additionalDigits must be 0, 1 or 2");return"string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e)||!(a=(i=splitDateString(e)).date?parseDate((s=parseYear(i.date,s)).restDateString,s.year):a)||isNaN(a.getTime())||(s=a.getTime(),a=0,i.time&&(a=parseTime(i.time),isNaN(a)))?new Date(NaN):i.timezone?(i=parseTimezone(i.timezone),isNaN(i)?new Date(NaN):new Date(s+a+i)):(i=new Date(s+a),(s=new Date(0)).setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),s.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),s)}var patterns={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},dateRegex=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,timeRegex=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,timezoneRegex=/^([+-])(\d{2})(?::?(\d{2}))?$/;function splitDateString(e){var t,a={},i=e.split(patterns.dateTimeDelimiter);return 2<i.length||(/:/.test(i[0])?t=i[0]:(a.date=i[0],t=i[1],patterns.timeZoneDelimiter.test(a.date)&&(a.date=e.split(patterns.timeZoneDelimiter)[0],t=e.substr(a.date.length,e.length))),t&&((i=patterns.timezone.exec(t))?(a.time=t.replace(i[1],""),a.timezone=i[1]):a.time=t)),a}function parseYear(e,t){var a,i,t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),t=e.match(t);return t?(a=t[1]?parseInt(t[1]):null,{year:null===(i=t[2]?parseInt(t[2]):null)?a:100*i,restDateString:e.slice((t[1]||t[2]).length)}):{year:NaN,restDateString:""}}function parseDate(e,t){var a,i,s,r,n;return null!==t&&(e=e.match(dateRegex))?(n=!!e[4],a=parseDateUnit(e[1]),i=parseDateUnit(e[2])-1,s=parseDateUnit(e[3]),r=parseDateUnit(e[4]),e=parseDateUnit(e[5])-1,n?validateWeekDate(t,r,e)?dayOfISOWeekYear(t,r,e):new Date(NaN):(n=new Date(0),validateDate(t,i,s)&&validateDayOfYearDate(t,a)?(n.setUTCFullYear(t,i,Math.max(a,s)),n):new Date(NaN))):new Date(NaN)}function parseDateUnit(e){return e?parseInt(e):1}function parseTime(e){var t,a,e=e.match(timeRegex);return e&&validateTime(t=parseTimeUnit(e[1]),a=parseTimeUnit(e[2]),e=parseTimeUnit(e[3]))?t*millisecondsInHour+a*millisecondsInMinute+1e3*e:NaN}function parseTimeUnit(e){return e&&parseFloat(e.replace(",","."))||0}function parseTimezone(e){var t,a;return"Z"!==e&&(e=e.match(timezoneRegex))?(t="+"===e[1]?-1:1,validateTimezone(a=parseInt(e[2]),e=e[3]&&parseInt(e[3])||0)?t*(a*millisecondsInHour+e*millisecondsInMinute):NaN):0}function dayOfISOWeekYear(e,t,a){var i=new Date(0);i.setUTCFullYear(e,0,4);e=7*(t-1)+a+1-(i.getUTCDay()||7);return i.setUTCDate(i.getUTCDate()+e),i}var daysInMonths=[31,null,31,30,31,30,31,31,30,31,30,31];function isLeapYearIndex(e){return e%400==0||e%4==0&&e%100!=0}function validateDate(e,t,a){return 0<=t&&t<=11&&1<=a&&a<=(daysInMonths[t]||(isLeapYearIndex(e)?29:28))}function validateDayOfYearDate(e,t){return 1<=t&&t<=(isLeapYearIndex(e)?366:365)}function validateWeekDate(e,t,a){return 1<=t&&t<=53&&0<=a&&a<=6}function validateTime(e,t,a){return 24===e?0===t&&0===a:0<=a&&a<60&&0<=t&&t<60&&0<=e&&e<25}function validateTimezone(e,t){return 0<=t&&t<=59}const useStyles$4=makeStyles()(e=>({sectionContainer:{marginTop:"10px",overflowY:"auto","&::-webkit-scrollbar":{display:"none"}},wrapper:{padding:"24px"},mainContent:{display:"flex"},title:{marginBottom:"4px"},subtitle:{marginBottom:"8px"},sourceInfoContainer:{display:"flex",marginTop:"5px",flexDirection:"column",flexGrow:"1",alignItems:"flex-start"},sourceInputsContainer:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:"5px",width:"100%"},sourceInput:{width:"100%"},avatarContainer:{marginTop:"5px",width:"190px",padding:"0 10px 0 40px"},buttons:{display:"flex",justifyContent:"flex-end",alignItems:"flex-end",padding:"16px",Button:{color:e.palette.grey[700]}},saveButtonEnabled:{color:e.palette.primary.contrastText+" !important"},formControlWrapper:{marginTop:15},inputLabel:{fontFamily:"Nunito",fontWeight:300,display:"block",fontSize:14,color:"#5C6269",marginBottom:6},inputLabelError:{color:e.palette.error.main}})),useStyles$3=makeStyles()(e=>({sourceInfoContainer:{display:"flex",marginTop:"5px",flexDirection:"column",flexGrow:"1",alignItems:"flex-start"},sourceInputsContainer:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:"5px",width:"100%"},programImagesContainer:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",width:"100%"},programImageContainer:{width:"100%",boxSizing:"border-box","&:first-of-type":{marginRight:"15px"}},sourceInput:{width:"100%"},formControlWrapper:{marginTop:15}}));var tryToString=tryToString$4,$TypeError=TypeError,deletePropertyOrThrow$1=function(e,t){if(!delete e[t])throw new $TypeError("Cannot delete property "+tryToString(t)+" of "+tryToString(e))},fails$1=fails$n,arrayMethodIsStrict$1=function(e,t){var a=[][e];return!!a&&fails$1(function(){a.call(null,t||function(){return 1},1)})},userAgent$1=engineUserAgent,firefox=engineUserAgent.match(/firefox\/(\d+)/i),engineFfVersion=!!firefox&&+firefox[1],UA=engineUserAgent,engineIsIeOrEdge=/MSIE|Trident/.test(UA),userAgent=engineUserAgent,webkit=engineUserAgent.match(/AppleWebKit\/(\d+)\./),engineWebkitVersion=!!webkit&&+webkit[1],$=_export,uncurryThis=functionUncurryThis,aCallable=aCallable$8,toObject=toObject$5,lengthOfArrayLike=lengthOfArrayLike$3,deletePropertyOrThrow=deletePropertyOrThrow$1,toString=toString$a,fails=fails$n,internalSort=arraySort$1,arrayMethodIsStrict=arrayMethodIsStrict$1,FF=engineFfVersion,IE_OR_EDGE=engineIsIeOrEdge,V8=engineV8Version,WEBKIT=engineWebkitVersion,test=[],nativeSort=uncurryThis(test.sort),push=uncurryThis(test.push),FAILS_ON_UNDEFINED=fails(function(){test.sort(void 0)}),FAILS_ON_NULL=fails(function(){test.sort(null)}),STRICT_METHOD=arrayMethodIsStrict("sort"),STABLE_SORT=!fails(function(){if(V8)return V8<70;if(!(FF&&3<FF)){if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<603;for(var e,t,a,i="",s=65;s<76;s++){switch(e=String.fromCharCode(s),s){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(a=0;a<47;a++)test.push({k:e+a,v:t})}for(test.sort(function(e,t){return t.v-e.v}),a=0;a<test.length;a++)e=test[a].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}),FORCED=FAILS_ON_UNDEFINED||!FAILS_ON_NULL||!STRICT_METHOD||!STABLE_SORT,getSortCompare=function(a){return function(e,t){return void 0===t?-1:void 0===e?1:void 0!==a?+a(e,t)||0:toString(e)>toString(t)?1:-1}};function createData(e){var t=[];for(const i in e){var a={source:e[i].source,startDate:e[i].startDate,stopDate:e[i].stopDate,schedule:e[i].schedule};t.push(a)}return t.sort((e,t)=>{e=e.source.name,t=t.source.name;return e<t?-1:t<e?1:0})}function Row(e){const a=e["row"],[t,i]=react.exports.useState(!1),s=useDispatch(),r=useSelector(selectIsFullscreenEnabled);return jsxRuntime.exports.jsxs(react.exports.Fragment,{children:[jsxRuntime.exports.jsxs(TableRow,Object.assign({sx:{"&:last-child td, &:last-child th":{border:0}}},{children:[jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-id-"+a.source.id,sx:{padding:"5px 5px"},component:"th",scope:"row"},{children:a.source.id})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-name-"+a.source.id,sx:{padding:"5px 5px",maxWidth:"200px"}},{children:a.source.name})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-start-date-"+a.source.id,sx:{padding:"5px 5px"}},{children:format(parseISO(a.startDate),"P")})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-end-date-"+a.source.id,sx:{padding:"5px 5px"}},{children:format(parseISO(a.stopDate),"P")})),jsxRuntime.exports.jsxs(TableCell,Object.assign({sx:{padding:"5px 5px"}},{children:[jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"ingestion-job-affiliate-table-edit-"+a.source.id,color:"secondary",size:"small",onClick:()=>{var e,t;e={name:"PROCESSING_CENTER_AFFILIATE_PANEL",config:{activeView:e=EAffiliatePanelView.editAffiliate,affiliateId:a.source.id,isEdit:!0}},t={header:{title:SHARED_TEXT.affiliatePanel.panelHeaders.editAffiliateSchedule()},divider:!1,type:"APP_BAR_PANEL_TEMPLATE",marginTop:r?0:55,marginStart:r?0:80,size:"medium",parentPanelId:"PROCESSING_CENTER_INGESTION",dimmed:0,dimmedStatus:"dimParent"},s(mountPanel({panelId:"PROCESSING_CENTER_AFFILIATE_PANEL",microFrontend:e,panelConfig:t}))}},{children:jsxRuntime.exports.jsx(default_1,{})})),jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"ingestion-job-affiliate-table-delete-"+a.source.id,color:"secondary",size:"small",onClick:()=>s(actions$5.deleteAffiliate(a.source.id))},{children:jsxRuntime.exports.jsx(default_1$1,{})}))]})),jsxRuntime.exports.jsx(TableCell,Object.assign({sx:{padding:"5px 5px"}},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"ingestion-job-affiliate-table-expand-schedule-"+a.source.id,size:"small",onClick:()=>i(!t)},{children:t?jsxRuntime.exports.jsx(default_1$2,{}):jsxRuntime.exports.jsx(default_1$3,{})}))}))]})),jsxRuntime.exports.jsx(TableRow,{children:jsxRuntime.exports.jsx(TableCell,Object.assign({style:{paddingBottom:0,paddingTop:0},colSpan:6},{children:jsxRuntime.exports.jsx(Collapse,Object.assign({in:t,timeout:"auto",unmountOnExit:!0},{children:jsxRuntime.exports.jsxs(Box,Object.assign({sx:{margin:1,'& input[type="time"]::-webkit-calendar-picker-indicator':{width:"0px",margin:"0px",padding:"0px"}}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h6",gutterBottom:!0,component:"div"},{children:SHARED_TEXT.affiliatePanel.afilliateTable.scheduleTitle()})),jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsx("div",Object.assign({style:{marginLeft:"10px",marginTop:"10px",marginBottom:"10px"}},{children:jsxRuntime.exports.jsx(DayTimeslotsContainer,{enabledDays:getEnabledDays(a.schedule),timeslots:a.schedule,onAdd:()=>null,onDelete:()=>null,onChangeTime:()=>null,onCopyToAll:()=>null,disabled:!0})}))]}))}))}))})]})}$({target:"Array",proto:!0,forced:FORCED},{sort:function(e){void 0!==e&&aCallable(e);var t=toObject(this);if(STABLE_SORT)return void 0===e?nativeSort(t):nativeSort(t,e);for(var a,i=[],s=lengthOfArrayLike(t),r=0;r<s;r++)r in t&&push(i,t[r]);for(internalSort(i,getSortCompare(e)),a=lengthOfArrayLike(i),r=0;r<a;)t[r]=i[r++];for(;r<s;)deletePropertyOrThrow(t,r++);return t}});const AffiliateTable=()=>{var e=createData(useSelector(selectBasicInfoAffiliates));return 0<e.length?jsxRuntime.exports.jsx(TableContainer,Object.assign({sx:{marginTop:"5px"}},{children:jsxRuntime.exports.jsxs(Table,Object.assign({size:"small"},{children:[jsxRuntime.exports.jsx(TableHead,{children:jsxRuntime.exports.jsxs(TableRow,{children:[jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-id",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerId()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-name",sx:{fontSize:"12px",padding:"5px 5px",maxWidth:"200px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerName()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-start-date",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerStartDate()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-end-date",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerEndDate()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-edit-delete",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerEditDelete()})),jsxRuntime.exports.jsx(TableCell,{sx:{fontSize:"12px",padding:"5px 5px"}})]})}),jsxRuntime.exports.jsx(TableBody,{children:e.map(e=>jsxRuntime.exports.jsx(Row,{row:e},e.source.id))})]}))})):null},useStyles$2=makeStyles()(e=>({buttonContainer:{position:"relative",margin:"16px"},fileButton:{border:"1px solid #1871E8!important",borderRadius:e.shape.borderRadius,fontWeight:600,fontSize:"12px!important",background:e.palette.background.paper,color:"#1871E8!important",padding:"6px 15px!important"},hiddenFileButton:{height:1,width:1,overflow:"hidden",clip:"rect(1px, 1px, 1px, 1px)",position:"absolute"}})),ImageUpload=({id:e,labelCss:t,onUpload:a,render:i,imageOnly:s=!1,isUploadEnabled:r=!0})=>{const n=react.exports.useRef();var o=useStyles$2()["classes"];return react.exports.useEffect(()=>{r||n.current&&(n.current.value="")},[n,r]),jsxRuntime.exports.jsxs("label",Object.assign({htmlFor:"image-upload-"+e,className:t,onClick:e=>{r||e.preventDefault()}},{children:[i&&i({handleButtonClick:()=>{var e;r&&null!=(e=n.current)&&e.click()}}),jsxRuntime.exports.jsx("input",{id:"image-upload-"+e,"data-test":"image-upload-"+e,type:"file",multiple:!0,accept:s?"image/*":"",className:o.hiddenFileButton,onChange:a,ref:e=>n.current=e})]}))},useStyles$1=makeStyles()(e=>({container:{position:"relative",borderRadius:"5px",zIndex:2}})),AddImageIcon=({id:e,color:t="black",size:a=55})=>{var i=useStyles$1()["classes"];return jsxRuntime.exports.jsx("div",Object.assign({"data-testid":e,id:"addImageIcon-"+e,className:i.container},{children:jsxRuntime.exports.jsx("svg",Object.assign({version:"1.2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",width:a,height:a},{children:jsxRuntime.exports.jsx("path",{fill:t,fillRule:"evenodd",d:"M249.5 62c147.7 0 151.1 0 157.5 1.9 3.6 1.1 8.9 3.7 11.9 5.8 3 2.1 7.3 6.1 9.6 8.8 2.3 2.7 5.2 7.7 9 17l.3 101c.1 55.6.1 101.4-.2 102-.2.7-4.1.6-11.2-.3-6-.7-14-1-17.9-.7-3.9.3-8.4.8-13 1.6V104.5h-291v291H297l-.7 8c-.5 4.4-.8 9.8-.8 12 0 2.2.4 8.2 1.5 22.5h-97.3c-82.7 0-98.2-.3-104.2-1.5-3.8-.9-9-2.8-11.5-4.2-2.5-1.5-6-4.1-7.9-5.8-1.9-1.6-5.2-5.7-7.3-9-2.5-3.9-4.4-8.5-5.4-13-1.3-6.1-1.4-26.2-.9-309l2.4-6c1.4-3.3 4.3-8.3 6.6-11 2.3-2.8 6.6-6.7 9.6-8.8 3-2.1 8.1-4.6 11.4-5.7 5.8-1.8 11.6-1.9 157-2zm45.4 185c.3 0 12.2 15.8 52.6 70.3l-4 3.1c-2.2 1.7-7.7 6.7-12.3 11.1-4.6 4.4-10.6 11.3-18.7 22.5h-93.8c-90.2 0-93.7-.1-92.5-1.8.7-1 14.7-19 31-40 16.4-21 30-38.2 30.3-38.2.3 0 7.8 8.9 16.7 19.8 8.9 10.8 18.7 22.7 21.7 26.5 3.1 3.7 5.8 6.7 6.1 6.7.3-.1 14.4-18.1 31.4-40.1 17-21.9 31.2-39.9 31.5-39.9zm122.6 87.5c13.3.3 15.8.7 22 3 3.9 1.5 9.3 3.8 12 5.2 2.8 1.4 8.4 5.1 12.4 8.2 4.1 3.1 10 8.7 13.1 12.6 3 3.9 7.1 10.1 9.1 14 2 3.9 4.7 9.9 6 13.5 2.1 5.9 2.3 8.2 2.3 24.5s-.2 18.6-2.3 24.5c-1.3 3.6-4 9.6-6 13.5-2 3.9-6.1 10.1-9.1 14-3.1 3.9-9 9.5-13.1 12.5-4 3.1-9.6 6.7-12.4 8.2-2.7 1.5-8.1 3.9-12 5.4-6.8 2.7-7.6 2.8-26 2.8s-19.2-.1-26-2.8c-3.9-1.5-9.2-3.9-12-5.3-2.7-1.4-8.4-5.1-12.4-8.2-4.1-3.1-10-8.7-13.1-12.6-3-3.9-7.1-10.1-9.1-14-2-3.9-4.7-9.9-6-13.5-2.1-5.9-2.3-8.2-2.3-24.5s.2-18.6 2.3-24.5c1.3-3.6 4-9.6 6-13.5 2-3.9 6.1-10.1 9.1-14 3.1-3.9 9-9.5 13.1-12.5 4-3.1 9.7-6.7 12.4-8.2 2.8-1.4 7.5-3.6 10.5-4.8 3-1.2 8-2.6 11-3 3-.5 12.3-.7 20.5-.5zM390 355.6c-3.6 1.6-8.5 4-11 5.4-2.5 1.4-7.4 5.4-11 9-3.9 3.8-8.2 9.6-10.6 14-2.3 4.1-5 10-6 13-1.3 4.2-1.8 8.7-1.8 18.5s.5 14.3 1.8 18.5c1 3 3.7 8.9 5.9 13 2.7 4.8 6.8 10.1 11.3 14.5 5.2 5.1 9.3 8.1 15.5 11.1 4.6 2.3 10.2 4.7 12.4 5.5 2.5.8 8.8 1.3 17 1.3s14.5-.5 17-1.3c2.2-.8 7.8-3.2 12.4-5.5 6.5-3.1 10.2-5.9 16-11.7 5.8-5.7 8.6-9.6 11.8-16 2.3-4.6 4.7-10.2 5.4-12.4.7-2.4 1.3-9.3 1.3-17 0-7.7-.6-14.6-1.3-17-.7-2.2-3.1-7.8-5.4-12.4-3.2-6.4-6-10.3-11.8-16-5.6-5.7-9.6-8.6-15.5-11.5-4.3-2.1-9.7-4.5-11.9-5.3-2.2-.7-8.5-1.5-14-1.7-5.5-.3-12.5-.1-15.5.3s-8.4 2.1-12 3.7zm15 18.4h17v33h33v17h-33v33h-17v-33h-33v-17h33z"})}))}))},useStyles=makeStyles()(e=>({addImageBoxContainer:{display:"flex",justifyContent:"flex-start",flexDirection:"column"},addImageBoxTitle:{padding:"0px",margin:"0px",color:"rgb(92, 98, 105)",fontSize:"12px",fontWeight:400,textAlign:"left",paddingLeft:"5px",paddingBottom:"3px"},addImageBoxSizeAvatar:{width:"135px"},addImageBoxSizeCover:{width:"100%"},addImageBoxIconDiv:{height:"180px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid #D5DFE9",overflow:"hidden",position:"relative",textAlign:"left",borderRadius:"4px"},addImageBoxBackground:{position:"absolute",height:"100%",width:"100%",top:0,left:0,backgroundSize:"cover"},addImageBoxShadow:{background:"rgba(0,0,0,0.35)",position:"absolute",width:"100%",height:"100%",zIndex:1},iconButtonContainer:{width:"100%",padding:0},deleteIconContainer:{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"transparent",zIndex:10,display:"flex",justifyContent:"center",alignItems:"center"},deleteIcon:{color:"white",fontSize:"24px"}})),AddImageBox=({id:e,title:t,backgroundImgUrl:a="",aspectRatio:i="avatar",onClick:s,onDelete:r})=>{var n=useStyles()["classes"];const[o,l]=react.exports.useState(!1);var d=!!a,c=o&&a,p=o&&a,m=!a||o&&a,x=a?{backgroundImage:`url(${a})`}:{};return jsxRuntime.exports.jsxs("div",Object.assign({className:n.addImageBoxContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({id:`image-item-${e}-image-title`,variant:"body2",className:n.addImageBoxTitle,color:"secondary","data-test":`image-item-${e}-image-title`},{children:t})),jsxRuntime.exports.jsx(Button,Object.assign({className:n.iconButtonContainer,onClick:s},{children:jsxRuntime.exports.jsxs("div",Object.assign({"data-test":`image-item-${e}-container`,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),className:n.addImageBoxIconDiv+" "+("avatar"===i?n.addImageBoxSizeAvatar:n.addImageBoxSizeCover)},{children:[m&&!p&&jsxRuntime.exports.jsx(AddImageIcon,{id:`add-${e}-img`,color:a?"#fff":"#2A323C",size:45}),p&&jsxRuntime.exports.jsx("div",Object.assign({className:n.deleteIconContainer,onClick:r},{children:jsxRuntime.exports.jsx(default_1$1,{"data-test":`delete-${e}-image`,style:{fontSize:42},className:n.deleteIcon,color:"inherit"})})),c&&jsxRuntime.exports.jsx("div",{className:n.addImageBoxShadow}),d&&jsxRuntime.exports.jsx("div",{"data-testid":`image-box-${e}-img`,className:n.addImageBoxBackground,style:x})]}))}))]}))},TvRadioAdapterMetaInfo=()=>{var e=useStyles$3()["classes"];const t=useDispatch();var a=useSelector(selectPrograms);const i=useSelector(selectBasicInfoMeta),s=x(TvField.programWebsite)&&!isValidUrl(x(TvField.programWebsite))||!1,[r,n]=react.exports.useState(null),[o,l]=react.exports.useState(null),d=useSelector(userSelector);var c=useSelector(selectActiveEngine),c=(null==c?void 0:c.supportedSourceTypes)||[];return react.exports.useEffect(()=>{t(actions$5.setInvalidFields(s))},[s]),react.exports.useEffect(()=>{setTimeout(()=>{t(actions$5.getProgramsStart())},300)},[]),jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Divider,{style:{marginTop:"30px",marginBottom:"20px"}}),jsxRuntime.exports.jsxs("section",Object.assign({className:e.programImagesContainer},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:e.programImageContainer},{children:jsxRuntime.exports.jsx(ImageUpload,{id:"ingestion-job-wizard-tvRadioAdapter-cover-image",imageOnly:!0,onUpload:e=>{e=u(e.target.files&&e.target.files[0]);n(e),t(actions$5.setImage({image:e,type:TvField.coverImg}))},isUploadEnabled:!r,render:({handleButtonClick:e})=>jsxRuntime.exports.jsx(AddImageBox,{id:"cover",title:jsxRuntime.exports.jsx(FormattedMessage,{id:"image-box-ingestion-job-wizard-tvRadioAdapter-cover-image",defaultMessage:"Cover Image",description:"Cover Image"}),backgroundImgUrl:r?null===r||void 0===r?void 0:r.fileUrl:i.programLiveImage,aspectRatio:"cover",onClick:e,onDelete:p})})})),jsxRuntime.exports.jsx("div",Object.assign({className:e.programImageContainer},{children:jsxRuntime.exports.jsx(ImageUpload,{id:"ingestion-job-wizard-tvRadioAdapter-avatar-image",imageOnly:!0,onUpload:e=>{e=u(e.target.files&&e.target.files[0]);l(e),t(actions$5.setImage({image:e,type:TvField.avatarImg}))},isUploadEnabled:!o,render:({handleButtonClick:e})=>jsxRuntime.exports.jsx(AddImageBox,{id:"avatar",title:jsxRuntime.exports.jsx(FormattedMessage,{id:"image-box-ingestion-job-wizard-tvRadioAdapter-avatar-image",defaultMessage:"Avatar Image",description:"Avatar Image"}),backgroundImgUrl:o?null===o||void 0===o?void 0:o.fileUrl:i.programImage,aspectRatio:"cover",onClick:e,onDelete:m})})}))]})),jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:jsxRuntime.exports.jsx(TextField,{"data-testid":"ingestion-job-wizard-tvRadioAdapter-description",id:"ingestion-job-wizard-tvRadioAdapter-description",className:e.sourceInput,value:x(TvField.description),variant:"outlined",label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.description-field",defaultMessage:"Description",description:"Ingestion Wizard Program Description Field"}),InputLabelProps:{shrink:!0},onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.description,meta:e.target.value}))},multiline:!0,rows:4})})),jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({disableInteractive:!0,componentsProps:{tooltip:{sx:{bgcolor:"rgb(211 47 47 / 85%)"}}},"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-website-invalid",open:s,title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.website-invalid-tooltip",defaultMessage:"This website URL is not valid.",description:"Tooltip label for invalid website"})},{children:jsxRuntime.exports.jsx(TextField,{"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-website",id:"ingestion-job-wizard-tvRadioAdapter-program-website",className:e.sourceInput,value:x(TvField.programWebsite),error:s,placeholder:"https://",variant:"outlined",label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.program-website-field",defaultMessage:"Program Website",description:"Ingestion Wizard Program Website Field"}),InputLabelProps:{shrink:!0},onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.programWebsite,meta:e.target.value}))}})}))})),jsxRuntime.exports.jsxs(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:[jsxRuntime.exports.jsx(InputLabel,Object.assign({id:"pc-ingestion-wizard-program-format-label"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.program-format-field",defaultMessage:"Program Format",description:"Ingestion Wizard Program Format Field"})})),jsxRuntime.exports.jsx(Select,Object.assign({"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-format-selectbox",labelId:"pc-ingestion-wizard-program-format-label",label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.program-format-field",defaultMessage:"Program Format",description:"Ingestion Wizard Program Format Field"}),id:"ingestion-job-wizard-tvRadioAdapter-program-format",value:x(TvField.programFormat),MenuProps:{sx:{maxHeight:"40vh"},className:"aiware-el"},onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.programFormat,meta:e.target.value}))},variant:"outlined",className:e.sourceInput,displayEmpty:!0},{children:null==a?void 0:a.map(e=>jsxRuntime.exports.jsx(MenuItem,Object.assign({"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-format-item",value:e},{children:e}),e))}))]})),jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:jsxRuntime.exports.jsx(FormControlLabel,{id:"ingestion-job-wizard-tvRadioAdapter-is-national",control:jsxRuntime.exports.jsx(Checkbox,{"data-testid":"ingestion-job-wizard-tvRadioAdapter-is-national-checkbox",checked:x(TvField.isNational)}),label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.is-national-field",defaultMessage:"Is National",description:"Ingestion Wizard Is National Field"}),checked:x(TvField.isNational),onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.isNational,meta:e.target.checked}))}})})),!(!d||!d.myRights)&&0<=d.myRights.indexOf("cms.customerservice")&&!(0<=c.indexOf("4"))&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(AffiliateText,{}),jsxRuntime.exports.jsx(AffiliateTable,{}),jsxRuntime.exports.jsx(AffiliateActions,{})]})]});function p(){n(null),t(actions$5.deleteImageUrl({key:TvField.coverImg}))}function m(){l(null),t(actions$5.deleteImageUrl({key:TvField.avatarImg}))}function x(e){var t=i[e];return t||e!==TvField.isNational&&""}function u(e){var t=URL.createObjectURL(e);return{id:guid(),fileUrl:t,name:e.name,size:e.size,type:e.type,percentComplete:0}}},isValidUrl=e=>{try{return Boolean(new URL(e))}catch(e){return!1}},AffiliateText=()=>{var e=makeStyles()(e=>({container:{marginTop:"25px",display:"flex",flexDirection:"column",gap:"10px"}}))()["classes"];return jsxRuntime.exports.jsxs("div",Object.assign({className:e.container},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"subtitle1"},{children:SHARED_TEXT.affiliatePanel.tvAdapterText.title()})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.affiliatePanel.tvAdapterText.subtitle()}))]}))},AffiliateActions=()=>{var e=makeStyles()(e=>({container:{marginTop:"25px",display:"flex",gap:"20px"}}))()["classes"];const a=useDispatch(),i=useSelector(selectIsFullscreenEnabled),t=e=>{var t={name:"PROCESSING_CENTER_AFFILIATE_PANEL",config:{activeView:e,affiliateId:e===EAffiliatePanelView.editAffiliate?"1234-5678-9000":void 0}},e={header:{title:(e=>{switch(e){case EAffiliatePanelView.addAffiliate:return SHARED_TEXT.affiliatePanel.panelHeaders.addAffiliate();case EAffiliatePanelView.bulkAffiliate:return SHARED_TEXT.affiliatePanel.panelHeaders.bulkAffiliateSchedule()}return""})(e)},divider:!1,type:"APP_BAR_PANEL_TEMPLATE",marginTop:i?0:55,marginStart:i?0:80,size:"medium",parentPanelId:"PROCESSING_CENTER_INGESTION",dimmed:0,dimmedStatus:"dimParent"};a(mountPanel({panelId:"PROCESSING_CENTER_AFFILIATE_PANEL",microFrontend:t,panelConfig:e}))};return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx("div",Object.assign({className:e.container},{children:jsxRuntime.exports.jsx(Button,Object.assign({variant:"contained",onClick:()=>t(EAffiliatePanelView.addAffiliate),"data-testid":"ingestion-job-wizard-tvRadioAdapter-add-affiliate-button"},{children:SHARED_TEXT.affiliatePanel.tvAdapterText.addAffiliateButton()}))}))})},BasicInfoStep=({activeEngine:e})=>{var t=useStyles$4()["classes"];const a=useDispatch(),i=useSelector(selectScheduleName),s=useSelector(selectBasicInfoInvalidFields),r=useSelector(selectIsEditMode);var n=useSelector(selectUpdateJobErrors);react.exports.useEffect(()=>{var e;r&&(e=s||!i,a(actions$8.setUpdateJobErrors({add:e,tabIndex:2})))},[r,s,i]);return jsxRuntime.exports.jsxs("div",Object.assign({className:t.sectionContainer},{children:[jsxRuntime.exports.jsx("section",{children:jsxRuntime.exports.jsx("div",Object.assign({className:t.mainContent},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:t.sourceInfoContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h5",className:t.title},{children:"Basic Information"})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",className:t.subtitle},{children:"Please fill out the information below to create a new ingestion job."})),jsxRuntime.exports.jsx("div",Object.assign({className:t.sourceInputsContainer},{children:jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:t.formControlWrapper,error:!0},{children:jsxRuntime.exports.jsx(TextField,{id:"ingestion-job-name",onChange:({target:e})=>{e=e.value;a(actions$5.setScheduleName(e))},className:t.sourceInput,placeholder:"Schedule Name",variant:"outlined",InputLabelProps:{shrink:!0},value:i,fullWidth:!0,required:!0})}))}))]}))}))}),"74dfd76b-472a-48f0-8395-c7e01dd7f255"===(null==e?void 0:e.id)&&jsxRuntime.exports.jsx(TvRadioAdapterMetaInfo,{}),jsxRuntime.exports.jsx(PanelControls$1,{disableNext:!i||s||0<n.length,disableBack:!1,invalidFields:s,nextButtonType:r?ENextButtonType.UPDATE_SCHEDULED_JOB:ENextButtonType.NEXT})]}))};export{BasicInfoStep as default};
|
|
1
|
+
import{p as selectScheduleName,q as selectBasicInfoInvalidFields,h as selectIsEditMode,j as selectUpdateJobErrors,k as actions$8,m as PanelControls$1,E as ENextButtonType,t as engineUserAgent,_ as _export,v as functionUncurryThis,w as aCallable$8,x as toObject$5,y as lengthOfArrayLike$3,z as fails$n,A as arraySort$1,C as engineV8Version,D as selectPrograms,F as selectBasicInfoMeta,T as TvField,G as selectActiveEngine,H as actions$5,S as SHARED_TEXT,I as EAffiliatePanelView,J as selectBasicInfoAffiliates,K as tryToString$4,L as format,M as DayTimeslotsContainer,N as getEnabledDays,O as requiredArgs,Q as toInteger,R as toString$a}from"./js-core.esm84.js";import{j as jsxRuntime,Y as useSelector,r as react,K as userSelector,f2 as guid,bQ as selectIsFullscreenEnabled,ap as mountPanel,am as Box}from"./js-core.esm.js";import{l as createSvgIcon,n as interopRequireDefault,m as makeStyles,T as Typography,F as FormControl,D as Divider,k as FormattedMessage,U as Select,V as MenuItem,h as Button,t as TableContainer,v as Table,w as TableHead,x as TableRow,y as TableCell,z as TableBody,aq as Collapse}from"./js-core.esm5.js";import{d as default_1$2,a as default_1$3}from"./js-core.esm44.js";import{T as TextField,e as Tooltip,f as InputLabel,b as FormControlLabel,C as Checkbox,ay as default_1$1,I as IconButton}from"./js-core.esm6.js";import"./js-core.esm54.js";import"./js-core.esm64.js";import"./js-core.esm56.js";import{u as useDispatch}from"./js-core.esm7.js";import"./js-core.esm34.js";import"./js-core.esm63.js";import"./js-core.esm30.js";import"./js-core.esm17.js";import"./js-core.esm2.js";import"./js-core.esm4.js";import"./js-core.esm3.js";import"./js-core.esm85.js";import"./js-core.esm59.js";import"./js-core.esm48.js";import"./js-core.esm55.js";import"./js-core.esm50.js";import"./js-core.esm9.js";import"./js-core.esm57.js";import"./js-core.esm26.js";import"./js-core.esm25.js";import"./js-core.esm58.js";import"./js-core.esm60.js";import"./js-core.esm61.js";import"./js-core.esm42.js";import"./js-core.esm47.js";import"./js-core.esm49.js";import"./js-core.esm51.js";import"./js-core.esm41.js";import"./js-core.esm45.js";var Edit={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(Edit,"__esModule",{value:!0}),Edit.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit"),default_1=Edit.default=_default,millisecondsInMinute=6e4,millisecondsInHour=36e5;function parseISO(e,t){requiredArgs(1,arguments);var a,i,s=toInteger(null!=(s=null==t?void 0:t.additionalDigits)?s:2);if(2!==s&&1!==s&&0!==s)throw new RangeError("additionalDigits must be 0, 1 or 2");return"string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e)||!(a=(i=splitDateString(e)).date?parseDate((s=parseYear(i.date,s)).restDateString,s.year):a)||isNaN(a.getTime())||(s=a.getTime(),a=0,i.time&&(a=parseTime(i.time),isNaN(a)))?new Date(NaN):i.timezone?(i=parseTimezone(i.timezone),isNaN(i)?new Date(NaN):new Date(s+a+i)):(i=new Date(s+a),(s=new Date(0)).setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),s.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),s)}var patterns={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},dateRegex=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,timeRegex=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,timezoneRegex=/^([+-])(\d{2})(?::?(\d{2}))?$/;function splitDateString(e){var t,a={},i=e.split(patterns.dateTimeDelimiter);return 2<i.length||(/:/.test(i[0])?t=i[0]:(a.date=i[0],t=i[1],patterns.timeZoneDelimiter.test(a.date)&&(a.date=e.split(patterns.timeZoneDelimiter)[0],t=e.substr(a.date.length,e.length))),t&&((i=patterns.timezone.exec(t))?(a.time=t.replace(i[1],""),a.timezone=i[1]):a.time=t)),a}function parseYear(e,t){var a,i,t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),t=e.match(t);return t?(a=t[1]?parseInt(t[1]):null,{year:null===(i=t[2]?parseInt(t[2]):null)?a:100*i,restDateString:e.slice((t[1]||t[2]).length)}):{year:NaN,restDateString:""}}function parseDate(e,t){var a,i,s,r,n;return null!==t&&(e=e.match(dateRegex))?(n=!!e[4],a=parseDateUnit(e[1]),i=parseDateUnit(e[2])-1,s=parseDateUnit(e[3]),r=parseDateUnit(e[4]),e=parseDateUnit(e[5])-1,n?validateWeekDate(t,r,e)?dayOfISOWeekYear(t,r,e):new Date(NaN):(n=new Date(0),validateDate(t,i,s)&&validateDayOfYearDate(t,a)?(n.setUTCFullYear(t,i,Math.max(a,s)),n):new Date(NaN))):new Date(NaN)}function parseDateUnit(e){return e?parseInt(e):1}function parseTime(e){var t,a,e=e.match(timeRegex);return e&&validateTime(t=parseTimeUnit(e[1]),a=parseTimeUnit(e[2]),e=parseTimeUnit(e[3]))?t*millisecondsInHour+a*millisecondsInMinute+1e3*e:NaN}function parseTimeUnit(e){return e&&parseFloat(e.replace(",","."))||0}function parseTimezone(e){var t,a;return"Z"!==e&&(e=e.match(timezoneRegex))?(t="+"===e[1]?-1:1,validateTimezone(a=parseInt(e[2]),e=e[3]&&parseInt(e[3])||0)?t*(a*millisecondsInHour+e*millisecondsInMinute):NaN):0}function dayOfISOWeekYear(e,t,a){var i=new Date(0);i.setUTCFullYear(e,0,4);e=7*(t-1)+a+1-(i.getUTCDay()||7);return i.setUTCDate(i.getUTCDate()+e),i}var daysInMonths=[31,null,31,30,31,30,31,31,30,31,30,31];function isLeapYearIndex(e){return e%400==0||e%4==0&&e%100!=0}function validateDate(e,t,a){return 0<=t&&t<=11&&1<=a&&a<=(daysInMonths[t]||(isLeapYearIndex(e)?29:28))}function validateDayOfYearDate(e,t){return 1<=t&&t<=(isLeapYearIndex(e)?366:365)}function validateWeekDate(e,t,a){return 1<=t&&t<=53&&0<=a&&a<=6}function validateTime(e,t,a){return 24===e?0===t&&0===a:0<=a&&a<60&&0<=t&&t<60&&0<=e&&e<25}function validateTimezone(e,t){return 0<=t&&t<=59}const useStyles$4=makeStyles()(e=>({sectionContainer:{marginTop:"10px",overflowY:"auto","&::-webkit-scrollbar":{display:"none"}},wrapper:{padding:"24px"},mainContent:{display:"flex"},title:{marginBottom:"4px"},subtitle:{marginBottom:"8px"},sourceInfoContainer:{display:"flex",marginTop:"5px",flexDirection:"column",flexGrow:"1",alignItems:"flex-start"},sourceInputsContainer:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:"5px",width:"100%"},sourceInput:{width:"100%"},avatarContainer:{marginTop:"5px",width:"190px",padding:"0 10px 0 40px"},buttons:{display:"flex",justifyContent:"flex-end",alignItems:"flex-end",padding:"16px",Button:{color:e.palette.grey[700]}},saveButtonEnabled:{color:e.palette.primary.contrastText+" !important"},formControlWrapper:{marginTop:15},inputLabel:{fontFamily:"Nunito",fontWeight:300,display:"block",fontSize:14,color:"#5C6269",marginBottom:6},inputLabelError:{color:e.palette.error.main}})),useStyles$3=makeStyles()(e=>({sourceInfoContainer:{display:"flex",marginTop:"5px",flexDirection:"column",flexGrow:"1",alignItems:"flex-start"},sourceInputsContainer:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:"5px",width:"100%"},programImagesContainer:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",width:"100%"},programImageContainer:{width:"100%",boxSizing:"border-box","&:first-of-type":{marginRight:"15px"}},sourceInput:{width:"100%"},formControlWrapper:{marginTop:15}}));var tryToString=tryToString$4,$TypeError=TypeError,deletePropertyOrThrow$1=function(e,t){if(!delete e[t])throw new $TypeError("Cannot delete property "+tryToString(t)+" of "+tryToString(e))},fails$1=fails$n,arrayMethodIsStrict$1=function(e,t){var a=[][e];return!!a&&fails$1(function(){a.call(null,t||function(){return 1},1)})},userAgent$1=engineUserAgent,firefox=engineUserAgent.match(/firefox\/(\d+)/i),engineFfVersion=!!firefox&&+firefox[1],UA=engineUserAgent,engineIsIeOrEdge=/MSIE|Trident/.test(UA),userAgent=engineUserAgent,webkit=engineUserAgent.match(/AppleWebKit\/(\d+)\./),engineWebkitVersion=!!webkit&&+webkit[1],$=_export,uncurryThis=functionUncurryThis,aCallable=aCallable$8,toObject=toObject$5,lengthOfArrayLike=lengthOfArrayLike$3,deletePropertyOrThrow=deletePropertyOrThrow$1,toString=toString$a,fails=fails$n,internalSort=arraySort$1,arrayMethodIsStrict=arrayMethodIsStrict$1,FF=engineFfVersion,IE_OR_EDGE=engineIsIeOrEdge,V8=engineV8Version,WEBKIT=engineWebkitVersion,test=[],nativeSort=uncurryThis(test.sort),push=uncurryThis(test.push),FAILS_ON_UNDEFINED=fails(function(){test.sort(void 0)}),FAILS_ON_NULL=fails(function(){test.sort(null)}),STRICT_METHOD=arrayMethodIsStrict("sort"),STABLE_SORT=!fails(function(){if(V8)return V8<70;if(!(FF&&3<FF)){if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<603;for(var e,t,a,i="",s=65;s<76;s++){switch(e=String.fromCharCode(s),s){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(a=0;a<47;a++)test.push({k:e+a,v:t})}for(test.sort(function(e,t){return t.v-e.v}),a=0;a<test.length;a++)e=test[a].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}),FORCED=FAILS_ON_UNDEFINED||!FAILS_ON_NULL||!STRICT_METHOD||!STABLE_SORT,getSortCompare=function(a){return function(e,t){return void 0===t?-1:void 0===e?1:void 0!==a?+a(e,t)||0:toString(e)>toString(t)?1:-1}};function createData(e){var t=[];for(const i in e){var a={source:e[i].source,startDate:e[i].startDate,stopDate:e[i].stopDate,schedule:e[i].schedule};t.push(a)}return t.sort((e,t)=>{e=e.source.name,t=t.source.name;return e<t?-1:t<e?1:0})}function Row(e){const a=e["row"],[t,i]=react.exports.useState(!1),s=useDispatch(),r=useSelector(selectIsFullscreenEnabled);return jsxRuntime.exports.jsxs(react.exports.Fragment,{children:[jsxRuntime.exports.jsxs(TableRow,Object.assign({sx:{"&:last-child td, &:last-child th":{border:0}}},{children:[jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-id-"+a.source.id,sx:{padding:"5px 5px"},component:"th",scope:"row"},{children:a.source.id})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-name-"+a.source.id,sx:{padding:"5px 5px",maxWidth:"200px"}},{children:a.source.name})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-start-date-"+a.source.id,sx:{padding:"5px 5px"}},{children:format(parseISO(a.startDate),"P")})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-end-date-"+a.source.id,sx:{padding:"5px 5px"}},{children:format(parseISO(a.stopDate),"P")})),jsxRuntime.exports.jsxs(TableCell,Object.assign({sx:{padding:"5px 5px"}},{children:[jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"ingestion-job-affiliate-table-edit-"+a.source.id,color:"secondary",size:"small",onClick:()=>{var e,t;e={name:"PROCESSING_CENTER_AFFILIATE_PANEL",config:{activeView:e=EAffiliatePanelView.editAffiliate,affiliateId:a.source.id,isEdit:!0}},t={header:{title:SHARED_TEXT.affiliatePanel.panelHeaders.editAffiliateSchedule()},divider:!1,type:"APP_BAR_PANEL_TEMPLATE",marginTop:r?0:55,marginStart:r?0:80,size:"medium",parentPanelId:"PROCESSING_CENTER_INGESTION",dimmed:0,dimmedStatus:"dimParent"},s(mountPanel({panelId:"PROCESSING_CENTER_AFFILIATE_PANEL",microFrontend:e,panelConfig:t}))}},{children:jsxRuntime.exports.jsx(default_1,{})})),jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"ingestion-job-affiliate-table-delete-"+a.source.id,color:"secondary",size:"small",onClick:()=>s(actions$5.deleteAffiliate(a.source.id))},{children:jsxRuntime.exports.jsx(default_1$1,{})}))]})),jsxRuntime.exports.jsx(TableCell,Object.assign({sx:{padding:"5px 5px"}},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-testid":"ingestion-job-affiliate-table-expand-schedule-"+a.source.id,size:"small",onClick:()=>i(!t)},{children:t?jsxRuntime.exports.jsx(default_1$2,{}):jsxRuntime.exports.jsx(default_1$3,{})}))}))]})),jsxRuntime.exports.jsx(TableRow,{children:jsxRuntime.exports.jsx(TableCell,Object.assign({style:{paddingBottom:0,paddingTop:0},colSpan:6},{children:jsxRuntime.exports.jsx(Collapse,Object.assign({in:t,timeout:"auto",unmountOnExit:!0},{children:jsxRuntime.exports.jsxs(Box,Object.assign({sx:{margin:1,'& input[type="time"]::-webkit-calendar-picker-indicator':{width:"0px",margin:"0px",padding:"0px"}}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h6",gutterBottom:!0,component:"div"},{children:SHARED_TEXT.affiliatePanel.afilliateTable.scheduleTitle()})),jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsx("div",Object.assign({style:{marginLeft:"10px",marginTop:"10px",marginBottom:"10px"}},{children:jsxRuntime.exports.jsx(DayTimeslotsContainer,{enabledDays:getEnabledDays(a.schedule),timeslots:a.schedule,onAdd:()=>null,onDelete:()=>null,onChangeTime:()=>null,onCopyToAll:()=>null,disabled:!0})}))]}))}))}))})]})}$({target:"Array",proto:!0,forced:FORCED},{sort:function(e){void 0!==e&&aCallable(e);var t=toObject(this);if(STABLE_SORT)return void 0===e?nativeSort(t):nativeSort(t,e);for(var a,i=[],s=lengthOfArrayLike(t),r=0;r<s;r++)r in t&&push(i,t[r]);for(internalSort(i,getSortCompare(e)),a=lengthOfArrayLike(i),r=0;r<a;)t[r]=i[r++];for(;r<s;)deletePropertyOrThrow(t,r++);return t}});const AffiliateTable=()=>{var e=createData(useSelector(selectBasicInfoAffiliates));return 0<e.length?jsxRuntime.exports.jsx(TableContainer,Object.assign({sx:{marginTop:"5px"}},{children:jsxRuntime.exports.jsxs(Table,Object.assign({size:"small"},{children:[jsxRuntime.exports.jsx(TableHead,{children:jsxRuntime.exports.jsxs(TableRow,{children:[jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-id",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerId()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-name",sx:{fontSize:"12px",padding:"5px 5px",maxWidth:"200px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerName()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-start-date",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerStartDate()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-end-date",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerEndDate()})),jsxRuntime.exports.jsx(TableCell,Object.assign({"data-testid":"ingestion-job-affiliate-table-header-edit-delete",sx:{fontSize:"12px",padding:"5px 5px"}},{children:SHARED_TEXT.affiliatePanel.afilliateTable.headerEditDelete()})),jsxRuntime.exports.jsx(TableCell,{sx:{fontSize:"12px",padding:"5px 5px"}})]})}),jsxRuntime.exports.jsx(TableBody,{children:e.map(e=>jsxRuntime.exports.jsx(Row,{row:e},e.source.id))})]}))})):null},useStyles$2=makeStyles()(e=>({buttonContainer:{position:"relative",margin:"16px"},fileButton:{border:"1px solid #1871E8!important",borderRadius:e.shape.borderRadius,fontWeight:600,fontSize:"12px!important",background:e.palette.background.paper,color:"#1871E8!important",padding:"6px 15px!important"},hiddenFileButton:{height:1,width:1,overflow:"hidden",clip:"rect(1px, 1px, 1px, 1px)",position:"absolute"}})),ImageUpload=({id:e,labelCss:t,onUpload:a,render:i,imageOnly:s=!1,isUploadEnabled:r=!0})=>{const n=react.exports.useRef();var o=useStyles$2()["classes"];return react.exports.useEffect(()=>{r||n.current&&(n.current.value="")},[n,r]),jsxRuntime.exports.jsxs("label",Object.assign({htmlFor:"image-upload-"+e,className:t,onClick:e=>{r||e.preventDefault()}},{children:[i&&i({handleButtonClick:()=>{var e;r&&null!=(e=n.current)&&e.click()}}),jsxRuntime.exports.jsx("input",{id:"image-upload-"+e,"data-test":"image-upload-"+e,type:"file",multiple:!0,accept:s?"image/*":"",className:o.hiddenFileButton,onChange:a,ref:e=>n.current=e})]}))},useStyles$1=makeStyles()(e=>({container:{position:"relative",borderRadius:"5px",zIndex:2}})),AddImageIcon=({id:e,color:t="black",size:a=55})=>{var i=useStyles$1()["classes"];return jsxRuntime.exports.jsx("div",Object.assign({"data-testid":e,id:"addImageIcon-"+e,className:i.container},{children:jsxRuntime.exports.jsx("svg",Object.assign({version:"1.2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",width:a,height:a},{children:jsxRuntime.exports.jsx("path",{fill:t,fillRule:"evenodd",d:"M249.5 62c147.7 0 151.1 0 157.5 1.9 3.6 1.1 8.9 3.7 11.9 5.8 3 2.1 7.3 6.1 9.6 8.8 2.3 2.7 5.2 7.7 9 17l.3 101c.1 55.6.1 101.4-.2 102-.2.7-4.1.6-11.2-.3-6-.7-14-1-17.9-.7-3.9.3-8.4.8-13 1.6V104.5h-291v291H297l-.7 8c-.5 4.4-.8 9.8-.8 12 0 2.2.4 8.2 1.5 22.5h-97.3c-82.7 0-98.2-.3-104.2-1.5-3.8-.9-9-2.8-11.5-4.2-2.5-1.5-6-4.1-7.9-5.8-1.9-1.6-5.2-5.7-7.3-9-2.5-3.9-4.4-8.5-5.4-13-1.3-6.1-1.4-26.2-.9-309l2.4-6c1.4-3.3 4.3-8.3 6.6-11 2.3-2.8 6.6-6.7 9.6-8.8 3-2.1 8.1-4.6 11.4-5.7 5.8-1.8 11.6-1.9 157-2zm45.4 185c.3 0 12.2 15.8 52.6 70.3l-4 3.1c-2.2 1.7-7.7 6.7-12.3 11.1-4.6 4.4-10.6 11.3-18.7 22.5h-93.8c-90.2 0-93.7-.1-92.5-1.8.7-1 14.7-19 31-40 16.4-21 30-38.2 30.3-38.2.3 0 7.8 8.9 16.7 19.8 8.9 10.8 18.7 22.7 21.7 26.5 3.1 3.7 5.8 6.7 6.1 6.7.3-.1 14.4-18.1 31.4-40.1 17-21.9 31.2-39.9 31.5-39.9zm122.6 87.5c13.3.3 15.8.7 22 3 3.9 1.5 9.3 3.8 12 5.2 2.8 1.4 8.4 5.1 12.4 8.2 4.1 3.1 10 8.7 13.1 12.6 3 3.9 7.1 10.1 9.1 14 2 3.9 4.7 9.9 6 13.5 2.1 5.9 2.3 8.2 2.3 24.5s-.2 18.6-2.3 24.5c-1.3 3.6-4 9.6-6 13.5-2 3.9-6.1 10.1-9.1 14-3.1 3.9-9 9.5-13.1 12.5-4 3.1-9.6 6.7-12.4 8.2-2.7 1.5-8.1 3.9-12 5.4-6.8 2.7-7.6 2.8-26 2.8s-19.2-.1-26-2.8c-3.9-1.5-9.2-3.9-12-5.3-2.7-1.4-8.4-5.1-12.4-8.2-4.1-3.1-10-8.7-13.1-12.6-3-3.9-7.1-10.1-9.1-14-2-3.9-4.7-9.9-6-13.5-2.1-5.9-2.3-8.2-2.3-24.5s.2-18.6 2.3-24.5c1.3-3.6 4-9.6 6-13.5 2-3.9 6.1-10.1 9.1-14 3.1-3.9 9-9.5 13.1-12.5 4-3.1 9.7-6.7 12.4-8.2 2.8-1.4 7.5-3.6 10.5-4.8 3-1.2 8-2.6 11-3 3-.5 12.3-.7 20.5-.5zM390 355.6c-3.6 1.6-8.5 4-11 5.4-2.5 1.4-7.4 5.4-11 9-3.9 3.8-8.2 9.6-10.6 14-2.3 4.1-5 10-6 13-1.3 4.2-1.8 8.7-1.8 18.5s.5 14.3 1.8 18.5c1 3 3.7 8.9 5.9 13 2.7 4.8 6.8 10.1 11.3 14.5 5.2 5.1 9.3 8.1 15.5 11.1 4.6 2.3 10.2 4.7 12.4 5.5 2.5.8 8.8 1.3 17 1.3s14.5-.5 17-1.3c2.2-.8 7.8-3.2 12.4-5.5 6.5-3.1 10.2-5.9 16-11.7 5.8-5.7 8.6-9.6 11.8-16 2.3-4.6 4.7-10.2 5.4-12.4.7-2.4 1.3-9.3 1.3-17 0-7.7-.6-14.6-1.3-17-.7-2.2-3.1-7.8-5.4-12.4-3.2-6.4-6-10.3-11.8-16-5.6-5.7-9.6-8.6-15.5-11.5-4.3-2.1-9.7-4.5-11.9-5.3-2.2-.7-8.5-1.5-14-1.7-5.5-.3-12.5-.1-15.5.3s-8.4 2.1-12 3.7zm15 18.4h17v33h33v17h-33v33h-17v-33h-33v-17h33z"})}))}))},useStyles=makeStyles()(e=>({addImageBoxContainer:{display:"flex",justifyContent:"flex-start",flexDirection:"column"},addImageBoxTitle:{padding:"0px",margin:"0px",color:"rgb(92, 98, 105)",fontSize:"12px",fontWeight:400,textAlign:"left",paddingLeft:"5px",paddingBottom:"3px"},addImageBoxSizeAvatar:{width:"135px"},addImageBoxSizeCover:{width:"100%"},addImageBoxIconDiv:{height:"180px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid #D5DFE9",overflow:"hidden",position:"relative",textAlign:"left",borderRadius:"4px"},addImageBoxBackground:{position:"absolute",height:"100%",width:"100%",top:0,left:0,backgroundSize:"cover"},addImageBoxShadow:{background:"rgba(0,0,0,0.35)",position:"absolute",width:"100%",height:"100%",zIndex:1},iconButtonContainer:{width:"100%",padding:0},deleteIconContainer:{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"transparent",zIndex:10,display:"flex",justifyContent:"center",alignItems:"center"},deleteIcon:{color:"white",fontSize:"24px"}})),AddImageBox=({id:e,title:t,backgroundImgUrl:a="",aspectRatio:i="avatar",onClick:s,onDelete:r})=>{var n=useStyles()["classes"];const[o,l]=react.exports.useState(!1);var d=!!a,c=o&&a,p=o&&a,m=!a||o&&a,x=a?{backgroundImage:`url(${a})`}:{};return jsxRuntime.exports.jsxs("div",Object.assign({className:n.addImageBoxContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({id:`image-item-${e}-image-title`,variant:"body2",className:n.addImageBoxTitle,color:"secondary","data-test":`image-item-${e}-image-title`},{children:t})),jsxRuntime.exports.jsx(Button,Object.assign({className:n.iconButtonContainer,onClick:s},{children:jsxRuntime.exports.jsxs("div",Object.assign({"data-test":`image-item-${e}-container`,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),className:n.addImageBoxIconDiv+" "+("avatar"===i?n.addImageBoxSizeAvatar:n.addImageBoxSizeCover)},{children:[m&&!p&&jsxRuntime.exports.jsx(AddImageIcon,{id:`add-${e}-img`,color:a?"#fff":"#2A323C",size:45}),p&&jsxRuntime.exports.jsx("div",Object.assign({className:n.deleteIconContainer,onClick:r},{children:jsxRuntime.exports.jsx(default_1$1,{"data-test":`delete-${e}-image`,style:{fontSize:42},className:n.deleteIcon,color:"inherit"})})),c&&jsxRuntime.exports.jsx("div",{className:n.addImageBoxShadow}),d&&jsxRuntime.exports.jsx("div",{"data-testid":`image-box-${e}-img`,className:n.addImageBoxBackground,style:x})]}))}))]}))},TvRadioAdapterMetaInfo=()=>{var e=useStyles$3()["classes"];const t=useDispatch();var a=useSelector(selectPrograms);const i=useSelector(selectBasicInfoMeta),s=x(TvField.programWebsite)&&!isValidUrl(x(TvField.programWebsite))||!1,[r,n]=react.exports.useState(null),[o,l]=react.exports.useState(null),d=useSelector(userSelector);var c=useSelector(selectActiveEngine),c=(null==c?void 0:c.supportedSourceTypes)||[];return react.exports.useEffect(()=>{t(actions$5.setInvalidFields(s))},[s]),react.exports.useEffect(()=>{setTimeout(()=>{t(actions$5.getProgramsStart())},300)},[]),jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Divider,{style:{marginTop:"30px",marginBottom:"20px"}}),jsxRuntime.exports.jsxs("section",Object.assign({className:e.programImagesContainer},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:e.programImageContainer},{children:jsxRuntime.exports.jsx(ImageUpload,{id:"ingestion-job-wizard-tvRadioAdapter-cover-image",imageOnly:!0,onUpload:e=>{e=u(e.target.files&&e.target.files[0]);n(e),t(actions$5.setImage({image:e,type:TvField.coverImg}))},isUploadEnabled:!r,render:({handleButtonClick:e})=>jsxRuntime.exports.jsx(AddImageBox,{id:"cover",title:jsxRuntime.exports.jsx(FormattedMessage,{id:"image-box-ingestion-job-wizard-tvRadioAdapter-cover-image",defaultMessage:"Cover Image",description:"Cover Image"}),backgroundImgUrl:r?null===r||void 0===r?void 0:r.fileUrl:i.programLiveImage,aspectRatio:"cover",onClick:e,onDelete:p})})})),jsxRuntime.exports.jsx("div",Object.assign({className:e.programImageContainer},{children:jsxRuntime.exports.jsx(ImageUpload,{id:"ingestion-job-wizard-tvRadioAdapter-avatar-image",imageOnly:!0,onUpload:e=>{e=u(e.target.files&&e.target.files[0]);l(e),t(actions$5.setImage({image:e,type:TvField.avatarImg}))},isUploadEnabled:!o,render:({handleButtonClick:e})=>jsxRuntime.exports.jsx(AddImageBox,{id:"avatar",title:jsxRuntime.exports.jsx(FormattedMessage,{id:"image-box-ingestion-job-wizard-tvRadioAdapter-avatar-image",defaultMessage:"Avatar Image",description:"Avatar Image"}),backgroundImgUrl:o?null===o||void 0===o?void 0:o.fileUrl:i.programImage,aspectRatio:"cover",onClick:e,onDelete:m})})}))]})),jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:jsxRuntime.exports.jsx(TextField,{"data-testid":"ingestion-job-wizard-tvRadioAdapter-description",id:"ingestion-job-wizard-tvRadioAdapter-description",className:e.sourceInput,value:x(TvField.description),variant:"outlined",label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.description-field",defaultMessage:"Description",description:"Ingestion Wizard Program Description Field"}),InputLabelProps:{shrink:!0},onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.description,meta:e.target.value}))},multiline:!0,rows:4})})),jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({disableInteractive:!0,componentsProps:{tooltip:{sx:{bgcolor:"rgb(211 47 47 / 85%)"}}},"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-website-invalid",open:s,title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.website-invalid-tooltip",defaultMessage:"This website URL is not valid.",description:"Tooltip label for invalid website"})},{children:jsxRuntime.exports.jsx(TextField,{"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-website",id:"ingestion-job-wizard-tvRadioAdapter-program-website",className:e.sourceInput,value:x(TvField.programWebsite),error:s,placeholder:"https://",variant:"outlined",label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.program-website-field",defaultMessage:"Program Website",description:"Ingestion Wizard Program Website Field"}),InputLabelProps:{shrink:!0},onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.programWebsite,meta:e.target.value}))}})}))})),jsxRuntime.exports.jsxs(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:[jsxRuntime.exports.jsx(InputLabel,Object.assign({id:"pc-ingestion-wizard-program-format-label"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.program-format-field",defaultMessage:"Program Format",description:"Ingestion Wizard Program Format Field"})})),jsxRuntime.exports.jsx(Select,Object.assign({"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-format-selectbox",labelId:"pc-ingestion-wizard-program-format-label",label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.program-format-field",defaultMessage:"Program Format",description:"Ingestion Wizard Program Format Field"}),id:"ingestion-job-wizard-tvRadioAdapter-program-format",value:x(TvField.programFormat),MenuProps:{sx:{maxHeight:"40vh"},className:"aiware-el"},onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.programFormat,meta:e.target.value}))},variant:"outlined",className:e.sourceInput,displayEmpty:!0},{children:null==a?void 0:a.map(e=>jsxRuntime.exports.jsx(MenuItem,Object.assign({"data-testid":"ingestion-job-wizard-tvRadioAdapter-program-format-item",value:e},{children:e}),e))}))]})),jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper},{children:jsxRuntime.exports.jsx(FormControlLabel,{id:"ingestion-job-wizard-tvRadioAdapter-is-national",control:jsxRuntime.exports.jsx(Checkbox,{"data-testid":"ingestion-job-wizard-tvRadioAdapter-is-national-checkbox",checked:x(TvField.isNational)}),label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.basic-info.is-national-field",defaultMessage:"Is National",description:"Ingestion Wizard Is National Field"}),checked:x(TvField.isNational),onChange:e=>{t(actions$5.setBasicInfoMeta({key:TvField.isNational,meta:e.target.checked}))}})})),!(!d||!d.myRights)&&0<=d.myRights.indexOf("cms.customerservice")&&!(0<=c.indexOf("4"))&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(AffiliateText,{}),jsxRuntime.exports.jsx(AffiliateTable,{}),jsxRuntime.exports.jsx(AffiliateActions,{})]})]});function p(){n(null),t(actions$5.deleteImageUrl({key:TvField.coverImg}))}function m(){l(null),t(actions$5.deleteImageUrl({key:TvField.avatarImg}))}function x(e){var t=i[e];return t||e!==TvField.isNational&&""}function u(e){var t=URL.createObjectURL(e);return{id:guid(),fileUrl:t,name:e.name,size:e.size,type:e.type,percentComplete:0}}},isValidUrl=e=>{try{return Boolean(new URL(e))}catch(e){return!1}},AffiliateText=()=>{var e=makeStyles()(e=>({container:{marginTop:"25px",display:"flex",flexDirection:"column",gap:"10px"}}))()["classes"];return jsxRuntime.exports.jsxs("div",Object.assign({className:e.container},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"subtitle1"},{children:SHARED_TEXT.affiliatePanel.tvAdapterText.title()})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.affiliatePanel.tvAdapterText.subtitle()}))]}))},AffiliateActions=()=>{var e=makeStyles()(e=>({container:{marginTop:"25px",display:"flex",gap:"20px"}}))()["classes"];const a=useDispatch(),i=useSelector(selectIsFullscreenEnabled),t=e=>{var t={name:"PROCESSING_CENTER_AFFILIATE_PANEL",config:{activeView:e,affiliateId:e===EAffiliatePanelView.editAffiliate?"1234-5678-9000":void 0}},e={header:{title:(e=>{switch(e){case EAffiliatePanelView.addAffiliate:return SHARED_TEXT.affiliatePanel.panelHeaders.addAffiliate();case EAffiliatePanelView.bulkAffiliate:return SHARED_TEXT.affiliatePanel.panelHeaders.bulkAffiliateSchedule()}return""})(e)},divider:!1,type:"APP_BAR_PANEL_TEMPLATE",marginTop:i?0:55,marginStart:i?0:80,size:"medium",parentPanelId:"PROCESSING_CENTER_INGESTION",dimmed:0,dimmedStatus:"dimParent"};a(mountPanel({panelId:"PROCESSING_CENTER_AFFILIATE_PANEL",microFrontend:t,panelConfig:e}))};return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx("div",Object.assign({className:e.container},{children:jsxRuntime.exports.jsx(Button,Object.assign({variant:"contained",onClick:()=>t(EAffiliatePanelView.addAffiliate),"data-testid":"ingestion-job-wizard-tvRadioAdapter-add-affiliate-button"},{children:SHARED_TEXT.affiliatePanel.tvAdapterText.addAffiliateButton()}))}))})},BasicInfoStep=({activeEngine:e})=>{var t=useStyles$4()["classes"];const a=useDispatch(),i=useSelector(selectScheduleName),s=useSelector(selectBasicInfoInvalidFields),r=useSelector(selectIsEditMode);var n=useSelector(selectUpdateJobErrors);react.exports.useEffect(()=>{var e;r&&(e=s||!i,a(actions$8.setUpdateJobErrors({add:e,tabIndex:2})))},[r,s,i]);return jsxRuntime.exports.jsxs("div",Object.assign({className:t.sectionContainer},{children:[jsxRuntime.exports.jsx("section",{children:jsxRuntime.exports.jsx("div",Object.assign({className:t.mainContent},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:t.sourceInfoContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h5",className:t.title},{children:"Basic Information"})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",className:t.subtitle},{children:"Please fill out the information below to create a new ingestion job."})),jsxRuntime.exports.jsx("div",Object.assign({className:t.sourceInputsContainer},{children:jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:t.formControlWrapper,error:!0},{children:jsxRuntime.exports.jsx(TextField,{id:"ingestion-job-name",onChange:({target:e})=>{e=e.value;a(actions$5.setScheduleName(e))},className:t.sourceInput,placeholder:"Schedule Name",variant:"outlined",InputLabelProps:{shrink:!0},value:i,fullWidth:!0,required:!0})}))}))]}))}))}),"74dfd76b-472a-48f0-8395-c7e01dd7f255"===(null==e?void 0:e.id)&&jsxRuntime.exports.jsx(TvRadioAdapterMetaInfo,{}),jsxRuntime.exports.jsx(PanelControls$1,{disableNext:!i||s||0<n.length,disableBack:!1,invalidFields:s,nextButtonType:r?ENextButtonType.UPDATE_SCHEDULED_JOB:ENextButtonType.NEXT})]}))};export{BasicInfoStep as default};
|
package/js-core.esm107.js.gz
CHANGED
|
Binary file
|