@xsmusices/ui 2.0.0-rc.0 → 2.0.0

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.
@@ -25,13 +25,12 @@ import timezone from 'dayjs/plugin/timezone';
25
25
  import relativeTime from 'dayjs/plugin/relativeTime';
26
26
  import utc from 'dayjs/plugin/utc';
27
27
  import duration from 'dayjs/plugin/duration';
28
- import es$D from 'dayjs/locale/es';
28
+ import es$C from 'dayjs/locale/es';
29
29
  import { moveItemInArray, CdkDropList, CdkDrag } from '@angular/cdk/drag-drop';
30
30
  import { Chart, registerables } from 'chart.js';
31
31
  import { faHeart as faHeart$1, faStar as faStar$1 } from '@fortawesome/free-regular-svg-icons';
32
32
  import { faAndroid, faApple, faBandcamp, faFacebook, faGithub, faGoogle, faInstagram, faLinux, faMicrosoft, faSoundcloud, faSpotify, faTiktok, faWhatsapp, faWindows, faXTwitter, faYoutube } from '@fortawesome/free-brands-svg-icons';
33
33
  import * as i1$5 from '@angular/common/http';
34
- import { HttpClient } from '@angular/common/http';
35
34
  import * as i2 from '@angular/cdk/scrolling';
36
35
  import { ScrollingModule } from '@angular/cdk/scrolling';
37
36
 
@@ -103,7 +102,7 @@ var FORM$3 = {
103
102
  SELECT_SUBSCRIPTION: "Selecciona suscripción"
104
103
  }
105
104
  };
106
- var es$C = {
105
+ var es$B = {
107
106
  COMMON: COMMON$3,
108
107
  FORM: FORM$3
109
108
  };
@@ -150,7 +149,7 @@ var FORM$2 = {
150
149
  SELECT_SUBSCRIPTION: "Select subscription"
151
150
  }
152
151
  };
153
- var en$C = {
152
+ var en$B = {
154
153
  COMMON: COMMON$2,
155
154
  FORM: FORM$2
156
155
  };
@@ -159,8 +158,8 @@ class XSTranslateService {
159
158
  currentLangSubject = new BehaviorSubject('es');
160
159
  currentLang$ = this.currentLangSubject.asObservable();
161
160
  translations = {
162
- es: { ...es$C },
163
- en: { ...en$C },
161
+ es: { ...es$B },
162
+ en: { ...en$B },
164
163
  };
165
164
  isBrowser;
166
165
  constructor(platformId) {
@@ -1449,7 +1448,7 @@ var PIPES$l = {
1449
1448
  }
1450
1449
  }
1451
1450
  };
1452
- var es$B = {
1451
+ var es$A = {
1453
1452
  PIPES: PIPES$l
1454
1453
  };
1455
1454
 
@@ -1495,7 +1494,7 @@ var PIPES$k = {
1495
1494
  }
1496
1495
  }
1497
1496
  };
1498
- var en$B = {
1497
+ var en$A = {
1499
1498
  PIPES: PIPES$k
1500
1499
  };
1501
1500
 
@@ -1509,7 +1508,7 @@ class XSDatePipe {
1509
1508
  constructor() {
1510
1509
  if (typeof this.translateService?.registerTranslations ===
1511
1510
  'function') {
1512
- this.translateService.registerTranslations({ es: es$B, en: en$B });
1511
+ this.translateService.registerTranslations({ es: es$A, en: en$A });
1513
1512
  }
1514
1513
  }
1515
1514
  transform(value, modeOrOptions = DateDisplayMode.FULL) {
@@ -2094,7 +2093,7 @@ var PIPES$j = {
2094
2093
  "11": "diciembre"
2095
2094
  }
2096
2095
  };
2097
- var es$A = {
2096
+ var es$z = {
2098
2097
  PIPES: PIPES$j
2099
2098
  };
2100
2099
 
@@ -2114,7 +2113,7 @@ var PIPES$i = {
2114
2113
  "11": "december"
2115
2114
  }
2116
2115
  };
2117
- var en$A = {
2116
+ var en$z = {
2118
2117
  PIPES: PIPES$i
2119
2118
  };
2120
2119
 
@@ -2123,7 +2122,7 @@ class DateLongPipe {
2123
2122
  constructor() {
2124
2123
  if (typeof this.translateService?.registerTranslations ===
2125
2124
  'function') {
2126
- this.translateService.registerTranslations({ es: es$A, en: en$A });
2125
+ this.translateService.registerTranslations({ es: es$z, en: en$z });
2127
2126
  }
2128
2127
  }
2129
2128
  transform(value, _language) {
@@ -2785,7 +2784,7 @@ var PIPES$h = {
2785
2784
  visits: "Visitas"
2786
2785
  }
2787
2786
  };
2788
- var es$z = {
2787
+ var es$y = {
2789
2788
  PIPES: PIPES$h
2790
2789
  };
2791
2790
 
@@ -2880,7 +2879,7 @@ var PIPES$g = {
2880
2879
  visits: "Visits"
2881
2880
  }
2882
2881
  };
2883
- var en$z = {
2882
+ var en$y = {
2884
2883
  PIPES: PIPES$g
2885
2884
  };
2886
2885
 
@@ -2889,7 +2888,7 @@ class TypeESPipe {
2889
2888
  constructor() {
2890
2889
  if (typeof this.translateService?.registerTranslations ===
2891
2890
  'function') {
2892
- this.translateService.registerTranslations({ es: es$z, en: en$z });
2891
+ this.translateService.registerTranslations({ es: es$y, en: en$y });
2893
2892
  }
2894
2893
  }
2895
2894
  transform(value) {
@@ -3128,7 +3127,7 @@ var PIPES$f = {
3128
3127
  GUEST: "Invitado"
3129
3128
  }
3130
3129
  };
3131
- var es$y = {
3130
+ var es$x = {
3132
3131
  PIPES: PIPES$f
3133
3132
  };
3134
3133
 
@@ -3140,7 +3139,7 @@ var PIPES$e = {
3140
3139
  GUEST: "Guest"
3141
3140
  }
3142
3141
  };
3143
- var en$y = {
3142
+ var en$x = {
3144
3143
  PIPES: PIPES$e
3145
3144
  };
3146
3145
 
@@ -3149,7 +3148,7 @@ class RolePipe {
3149
3148
  constructor() {
3150
3149
  if (typeof this.translateService?.registerTranslations ===
3151
3150
  'function') {
3152
- this.translateService.registerTranslations({ es: es$y, en: en$y });
3151
+ this.translateService.registerTranslations({ es: es$x, en: en$x });
3153
3152
  }
3154
3153
  }
3155
3154
  transform(value, _lang) {
@@ -3180,7 +3179,7 @@ var PIPES$d = {
3180
3179
  HOURS: " horas"
3181
3180
  }
3182
3181
  };
3183
- var es$x = {
3182
+ var es$w = {
3184
3183
  PIPES: PIPES$d
3185
3184
  };
3186
3185
 
@@ -3194,7 +3193,7 @@ var PIPES$c = {
3194
3193
  HOURS: " hours"
3195
3194
  }
3196
3195
  };
3197
- var en$x = {
3196
+ var en$w = {
3198
3197
  PIPES: PIPES$c
3199
3198
  };
3200
3199
 
@@ -3203,7 +3202,7 @@ class NumberDaysPipe {
3203
3202
  constructor() {
3204
3203
  if (typeof this.translateService?.registerTranslations ===
3205
3204
  'function') {
3206
- this.translateService.registerTranslations({ es: es$x, en: en$x });
3205
+ this.translateService.registerTranslations({ es: es$w, en: en$w });
3207
3206
  }
3208
3207
  }
3209
3208
  transform(event) {
@@ -3305,7 +3304,7 @@ var PIPES$b = {
3305
3304
  high: "Alta"
3306
3305
  }
3307
3306
  };
3308
- var es$w = {
3307
+ var es$v = {
3309
3308
  PIPES: PIPES$b
3310
3309
  };
3311
3310
 
@@ -3316,7 +3315,7 @@ var PIPES$a = {
3316
3315
  high: "High"
3317
3316
  }
3318
3317
  };
3319
- var en$w = {
3318
+ var en$v = {
3320
3319
  PIPES: PIPES$a
3321
3320
  };
3322
3321
 
@@ -3325,7 +3324,7 @@ class PrioritiesPipe {
3325
3324
  constructor() {
3326
3325
  if (typeof this.translateService?.registerTranslations ===
3327
3326
  'function') {
3328
- this.translateService.registerTranslations({ es: es$w, en: en$w });
3327
+ this.translateService.registerTranslations({ es: es$v, en: en$v });
3329
3328
  }
3330
3329
  }
3331
3330
  transform(value, _lang) {
@@ -3418,7 +3417,7 @@ var PIPES$9 = {
3418
3417
  other: "Otro"
3419
3418
  }
3420
3419
  };
3421
- var es$v = {
3420
+ var es$u = {
3422
3421
  PIPES: PIPES$9
3423
3422
  };
3424
3423
 
@@ -3430,7 +3429,7 @@ var PIPES$8 = {
3430
3429
  other: "Other"
3431
3430
  }
3432
3431
  };
3433
- var en$v = {
3432
+ var en$u = {
3434
3433
  PIPES: PIPES$8
3435
3434
  };
3436
3435
 
@@ -3439,7 +3438,7 @@ class SuggestionTypePipe {
3439
3438
  constructor() {
3440
3439
  if (typeof this.translateService?.registerTranslations ===
3441
3440
  'function') {
3442
- this.translateService.registerTranslations({ es: es$v, en: en$v });
3441
+ this.translateService.registerTranslations({ es: es$u, en: en$u });
3443
3442
  }
3444
3443
  }
3445
3444
  transform(value) {
@@ -3473,7 +3472,7 @@ var PIPES$7 = {
3473
3472
  unknown: "Desconocido"
3474
3473
  }
3475
3474
  };
3476
- var es$u = {
3475
+ var es$t = {
3477
3476
  PIPES: PIPES$7
3478
3477
  };
3479
3478
 
@@ -3490,7 +3489,7 @@ var PIPES$6 = {
3490
3489
  unknown: "Unknown"
3491
3490
  }
3492
3491
  };
3493
- var en$u = {
3492
+ var en$t = {
3494
3493
  PIPES: PIPES$6
3495
3494
  };
3496
3495
 
@@ -3499,7 +3498,7 @@ class LeadStatusPipe {
3499
3498
  constructor() {
3500
3499
  if (typeof this.translateService?.registerTranslations ===
3501
3500
  'function') {
3502
- this.translateService.registerTranslations({ es: es$u, en: en$u });
3501
+ this.translateService.registerTranslations({ es: es$t, en: en$t });
3503
3502
  }
3504
3503
  }
3505
3504
  transform(status) {
@@ -3538,7 +3537,7 @@ var PIPES$5 = {
3538
3537
  suspended: "Suspendido"
3539
3538
  }
3540
3539
  };
3541
- var es$t = {
3540
+ var es$s = {
3542
3541
  PIPES: PIPES$5
3543
3542
  };
3544
3543
 
@@ -3559,7 +3558,7 @@ var PIPES$4 = {
3559
3558
  suspended: "Suspended"
3560
3559
  }
3561
3560
  };
3562
- var en$t = {
3561
+ var en$s = {
3563
3562
  PIPES: PIPES$4
3564
3563
  };
3565
3564
 
@@ -3568,7 +3567,7 @@ class StateNamePipe {
3568
3567
  constructor() {
3569
3568
  if (typeof this.translateService?.registerTranslations ===
3570
3569
  'function') {
3571
- this.translateService.registerTranslations({ es: es$t, en: en$t });
3570
+ this.translateService.registerTranslations({ es: es$s, en: en$s });
3572
3571
  }
3573
3572
  }
3574
3573
  transform(value, _lang) {
@@ -3627,7 +3626,7 @@ var PIPES$3 = {
3627
3626
  SUFFIX: ""
3628
3627
  }
3629
3628
  };
3630
- var es$s = {
3629
+ var es$r = {
3631
3630
  PIPES: PIPES$3
3632
3631
  };
3633
3632
 
@@ -3649,7 +3648,7 @@ var PIPES$2 = {
3649
3648
  SUFFIX: " ago"
3650
3649
  }
3651
3650
  };
3652
- var en$s = {
3651
+ var en$r = {
3653
3652
  PIPES: PIPES$2
3654
3653
  };
3655
3654
 
@@ -3658,7 +3657,7 @@ class TimeAgoPipe {
3658
3657
  constructor() {
3659
3658
  if (typeof this.translateService?.registerTranslations ===
3660
3659
  'function') {
3661
- this.translateService.registerTranslations({ es: es$s, en: en$s });
3660
+ this.translateService.registerTranslations({ es: es$r, en: en$r });
3662
3661
  }
3663
3662
  }
3664
3663
  transform(date, showText = true, format = 'default') {
@@ -3898,7 +3897,7 @@ var PIPES$1 = {
3898
3897
  OTHER: "Otro"
3899
3898
  }
3900
3899
  };
3901
- var es$r = {
3900
+ var es$q = {
3902
3901
  PIPES: PIPES$1
3903
3902
  };
3904
3903
 
@@ -3908,7 +3907,7 @@ var PIPES = {
3908
3907
  OTHER: "Other"
3909
3908
  }
3910
3909
  };
3911
- var en$r = {
3910
+ var en$q = {
3912
3911
  PIPES: PIPES
3913
3912
  };
3914
3913
 
@@ -3917,7 +3916,7 @@ class XSBrandMediaPipe {
3917
3916
  constructor() {
3918
3917
  if (typeof this.translateService?.registerTranslations ===
3919
3918
  'function') {
3920
- this.translateService.registerTranslations({ es: es$r, en: en$r });
3919
+ this.translateService.registerTranslations({ es: es$q, en: en$q });
3921
3920
  }
3922
3921
  }
3923
3922
  transform(url) {
@@ -4617,14 +4616,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
4617
4616
  var SPINNER$1 = {
4618
4617
  ARIA_LABEL: "Cargando plataforma"
4619
4618
  };
4620
- var es$q = {
4619
+ var es$p = {
4621
4620
  SPINNER: SPINNER$1
4622
4621
  };
4623
4622
 
4624
4623
  var SPINNER = {
4625
4624
  ARIA_LABEL: "Loading platform"
4626
4625
  };
4627
- var en$q = {
4626
+ var en$p = {
4628
4627
  SPINNER: SPINNER
4629
4628
  };
4630
4629
 
@@ -4643,7 +4642,7 @@ class XSSpinnerComponent {
4643
4642
  constructor() {
4644
4643
  if (typeof this.translateService?.registerTranslations ===
4645
4644
  'function') {
4646
- this.translateService.registerTranslations({ es: es$q, en: en$q });
4645
+ this.translateService.registerTranslations({ es: es$p, en: en$p });
4647
4646
  }
4648
4647
  this.translateService.currentLang$
4649
4648
  .pipe(takeUntilDestroyed(this.destroyRef))
@@ -4859,12 +4858,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
4859
4858
  }], ctorParameters: () => [], propDecorators: { config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: true }] }], collapsible: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsible", required: false }] }], toggle: [{ type: i0.Output, args: ["toggle"] }] } });
4860
4859
 
4861
4860
  var CLOSE$1 = "Cerrar";
4862
- var es$p = {
4861
+ var es$o = {
4863
4862
  CLOSE: CLOSE$1
4864
4863
  };
4865
4864
 
4866
4865
  var CLOSE = "Close";
4867
- var en$p = {
4866
+ var en$o = {
4868
4867
  CLOSE: CLOSE
4869
4868
  };
4870
4869
 
@@ -4875,8 +4874,8 @@ class XSAlertTextsService {
4875
4874
  }
4876
4875
  getTexts() {
4877
4876
  return this.translateService.getLanguage() === 'es'
4878
- ? es$p
4879
- : en$p;
4877
+ ? es$o
4878
+ : en$o;
4880
4879
  }
4881
4880
  get close() {
4882
4881
  return this.getTexts().CLOSE;
@@ -7107,7 +7106,7 @@ var UPLOAD_IMAGE$1 = {
7107
7106
  CHANGE_BUTTON: "Cambiar",
7108
7107
  REMOVE_BUTTON: "Borrar"
7109
7108
  };
7110
- var es$o = {
7109
+ var es$n = {
7111
7110
  UPLOAD_IMAGE: UPLOAD_IMAGE$1
7112
7111
  };
7113
7112
 
@@ -7118,7 +7117,7 @@ var UPLOAD_IMAGE = {
7118
7117
  CHANGE_BUTTON: "Change",
7119
7118
  REMOVE_BUTTON: "Delete"
7120
7119
  };
7121
- var en$o = {
7120
+ var en$n = {
7122
7121
  UPLOAD_IMAGE: UPLOAD_IMAGE
7123
7122
  };
7124
7123
 
@@ -7134,7 +7133,7 @@ class XSFormlyUploadImageComponent extends XSFormlyBaseComponent {
7134
7133
  this.xsTranslateService = this.translateService;
7135
7134
  if (typeof this.xsTranslateService?.registerTranslations ===
7136
7135
  'function') {
7137
- this.xsTranslateService.registerTranslations({ es: es$o, en: en$o });
7136
+ this.xsTranslateService.registerTranslations({ es: es$n, en: en$n });
7138
7137
  }
7139
7138
  }
7140
7139
  get selectTitle() {
@@ -7960,7 +7959,7 @@ var MODAL_INPUT$1 = {
7960
7959
  NO_CHANGES: "No has añadido/cambiado nada",
7961
7960
  ARIA_LABEL: "Campo de entrada de texto"
7962
7961
  };
7963
- var es$n = {
7962
+ var es$m = {
7964
7963
  MODAL_INPUT: MODAL_INPUT$1
7965
7964
  };
7966
7965
 
@@ -7969,7 +7968,7 @@ var MODAL_INPUT = {
7969
7968
  NO_CHANGES: "You haven't added/changed anything",
7970
7969
  ARIA_LABEL: "Text input field"
7971
7970
  };
7972
- var en$n = {
7971
+ var en$m = {
7973
7972
  MODAL_INPUT: MODAL_INPUT
7974
7973
  };
7975
7974
 
@@ -7992,7 +7991,7 @@ class XSModalInputComponent {
7992
7991
  constructor() {
7993
7992
  if (typeof this.translateService?.registerTranslations ===
7994
7993
  'function') {
7995
- this.translateService.registerTranslations({ es: es$n, en: en$n });
7994
+ this.translateService.registerTranslations({ es: es$m, en: en$m });
7996
7995
  }
7997
7996
  this.translateService.currentLang$
7998
7997
  .pipe(takeUntilDestroyed(this.destroyRef))
@@ -8048,14 +8047,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
8048
8047
  var MODAL_FORM$1 = {
8049
8048
  EMPTY_FILTER: "No se puede guardar un filtro vacío."
8050
8049
  };
8051
- var es$m = {
8050
+ var es$l = {
8052
8051
  MODAL_FORM: MODAL_FORM$1
8053
8052
  };
8054
8053
 
8055
8054
  var MODAL_FORM = {
8056
8055
  EMPTY_FILTER: "Cannot save an empty filter."
8057
8056
  };
8058
- var en$m = {
8057
+ var en$l = {
8059
8058
  MODAL_FORM: MODAL_FORM
8060
8059
  };
8061
8060
 
@@ -8081,7 +8080,7 @@ class XSModalFormComponent {
8081
8080
  constructor() {
8082
8081
  if (typeof this.translateService?.registerTranslations ===
8083
8082
  'function') {
8084
- this.translateService.registerTranslations({ es: es$m, en: en$m });
8083
+ this.translateService.registerTranslations({ es: es$l, en: en$l });
8085
8084
  }
8086
8085
  effect(() => {
8087
8086
  const value = this.modalData();
@@ -8259,7 +8258,7 @@ var MODAL$3 = {
8259
8258
  NO_FILTERS: "No hay filtros disponibles"
8260
8259
  }
8261
8260
  };
8262
- var es$l = {
8261
+ var es$k = {
8263
8262
  MODAL: MODAL$3
8264
8263
  };
8265
8264
 
@@ -8269,7 +8268,7 @@ var MODAL$2 = {
8269
8268
  NO_FILTERS: "No filters available"
8270
8269
  }
8271
8270
  };
8272
- var en$l = {
8271
+ var en$k = {
8273
8272
  MODAL: MODAL$2
8274
8273
  };
8275
8274
 
@@ -8286,12 +8285,12 @@ class XSModalSavedFiltersComponent {
8286
8285
  this.translateService.registerTranslations({
8287
8286
  es: {
8288
8287
  MODAL: {
8289
- SAVED_FILTERS: es$l.MODAL.SAVED_FILTERS,
8288
+ SAVED_FILTERS: es$k.MODAL.SAVED_FILTERS,
8290
8289
  },
8291
8290
  },
8292
8291
  en: {
8293
8292
  MODAL: {
8294
- SAVED_FILTERS: en$l.MODAL.SAVED_FILTERS,
8293
+ SAVED_FILTERS: en$k.MODAL.SAVED_FILTERS,
8295
8294
  },
8296
8295
  },
8297
8296
  });
@@ -8356,7 +8355,7 @@ var MODAL_DATE$1 = {
8356
8355
  NO_DATE_SELECTED: "No has seleccionado ninguna fecha",
8357
8356
  OPEN_PICKER: "Abrir selector de fecha"
8358
8357
  };
8359
- var es$k = {
8358
+ var es$j = {
8360
8359
  MODAL_DATE: MODAL_DATE$1
8361
8360
  };
8362
8361
 
@@ -8365,7 +8364,7 @@ var MODAL_DATE = {
8365
8364
  NO_DATE_SELECTED: "You have not selected a date",
8366
8365
  OPEN_PICKER: "Open date picker"
8367
8366
  };
8368
- var en$k = {
8367
+ var en$j = {
8369
8368
  MODAL_DATE: MODAL_DATE
8370
8369
  };
8371
8370
 
@@ -8395,7 +8394,7 @@ class XSModalDateComponent {
8395
8394
  constructor() {
8396
8395
  if (typeof this.translateService?.registerTranslations ===
8397
8396
  'function') {
8398
- this.translateService.registerTranslations({ es: es$k, en: en$k });
8397
+ this.translateService.registerTranslations({ es: es$j, en: en$j });
8399
8398
  }
8400
8399
  this.translateService.currentLang$
8401
8400
  .pipe(takeUntilDestroyed(this.destroyRef))
@@ -8506,7 +8505,7 @@ var MODAL_IMAGE_SEARCH$1 = {
8506
8505
  LOAD_MORE: "Ver más",
8507
8506
  LOADING: "Cargando..."
8508
8507
  };
8509
- var es$j = {
8508
+ var es$i = {
8510
8509
  MODAL_IMAGE_SEARCH: MODAL_IMAGE_SEARCH$1
8511
8510
  };
8512
8511
 
@@ -8523,7 +8522,7 @@ var MODAL_IMAGE_SEARCH = {
8523
8522
  LOAD_MORE: "Load more",
8524
8523
  LOADING: "Loading..."
8525
8524
  };
8526
- var en$j = {
8525
+ var en$i = {
8527
8526
  MODAL_IMAGE_SEARCH: MODAL_IMAGE_SEARCH
8528
8527
  };
8529
8528
 
@@ -8639,13 +8638,15 @@ class XSModalImageSearchComponent {
8639
8638
  }
8640
8639
  constructor() {
8641
8640
  if (this.translateService?.currentLang$) {
8642
- this.translateService.currentLang$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
8641
+ this.translateService.currentLang$
8642
+ .pipe(takeUntilDestroyed(this.destroyRef))
8643
+ .subscribe(() => {
8643
8644
  this.langVersion.update((v) => v + 1);
8644
8645
  });
8645
8646
  }
8646
8647
  if (typeof this.translateService?.registerTranslations ===
8647
8648
  'function') {
8648
- this.translateService.registerTranslations({ es: es$j, en: en$j });
8649
+ this.translateService.registerTranslations({ es: es$i, en: en$i });
8649
8650
  }
8650
8651
  effect(() => {
8651
8652
  const data = this.modalData();
@@ -8793,7 +8794,7 @@ var MODAL$1 = {
8793
8794
  CONFIRM: "Confirmar",
8794
8795
  DIALOG_LABEL: "Diálogo"
8795
8796
  };
8796
- var es$i = {
8797
+ var es$h = {
8797
8798
  COMMON: COMMON$1,
8798
8799
  MODAL: MODAL$1
8799
8800
  };
@@ -8813,7 +8814,7 @@ var MODAL = {
8813
8814
  CONFIRM: "Confirm",
8814
8815
  DIALOG_LABEL: "Dialog"
8815
8816
  };
8816
- var en$i = {
8817
+ var en$h = {
8817
8818
  COMMON: COMMON,
8818
8819
  MODAL: MODAL
8819
8820
  };
@@ -8946,7 +8947,7 @@ class XSModalService {
8946
8947
  this.translateService = translateService;
8947
8948
  this.bodyOverflow = bodyOverflow;
8948
8949
  this.platformId = platformId;
8949
- this.translateService.registerTranslations({ es: es$i, en: en$i });
8950
+ this.translateService.registerTranslations({ es: es$h, en: en$h });
8950
8951
  }
8951
8952
  open(componentType, options = {}) {
8952
8953
  const defaultOptions = {
@@ -9728,7 +9729,7 @@ var TRANSLATE$1 = {
9728
9729
  TITLE: "Copiar y abrir en Google Traductor",
9729
9730
  COPIED: "Texto copiado al portapapeles ✓"
9730
9731
  };
9731
- var es$h = {
9732
+ var es$g = {
9732
9733
  AI: AI$1,
9733
9734
  TRANSLATE: TRANSLATE$1
9734
9735
  };
@@ -9744,7 +9745,7 @@ var TRANSLATE = {
9744
9745
  TITLE: "Copy & open in Google Translate",
9745
9746
  COPIED: "Text copied to clipboard ✓"
9746
9747
  };
9747
- var en$h = {
9748
+ var en$g = {
9748
9749
  AI: AI,
9749
9750
  TRANSLATE: TRANSLATE
9750
9751
  };
@@ -9865,7 +9866,7 @@ class XSFormlyHtmlEditorComponent extends XSFormlyBaseComponent {
9865
9866
  this.xsTranslateService = translateService;
9866
9867
  if (typeof this.xsTranslateService?.registerTranslations ===
9867
9868
  'function') {
9868
- this.xsTranslateService.registerTranslations({ es: es$h, en: en$h });
9869
+ this.xsTranslateService.registerTranslations({ es: es$g, en: en$g });
9869
9870
  }
9870
9871
  }
9871
9872
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSFormlyHtmlEditorComponent, deps: [{ token: XSTranslateService }], target: i0.ɵɵFactoryTarget.Component });
@@ -9885,7 +9886,7 @@ var ADDRESS_SEARCH$1 = {
9885
9886
  EDIT: "Editar",
9886
9887
  SEARCHING: "Buscando..."
9887
9888
  };
9888
- var es$g = {
9889
+ var es$f = {
9889
9890
  ADDRESS_SEARCH: ADDRESS_SEARCH$1
9890
9891
  };
9891
9892
 
@@ -9893,7 +9894,7 @@ var ADDRESS_SEARCH = {
9893
9894
  EDIT: "Edit",
9894
9895
  SEARCHING: "Searching..."
9895
9896
  };
9896
- var en$g = {
9897
+ var en$f = {
9897
9898
  ADDRESS_SEARCH: ADDRESS_SEARCH
9898
9899
  };
9899
9900
 
@@ -9922,7 +9923,7 @@ class XSFormlyAddressSearchComponent extends XSFormlyBaseComponent {
9922
9923
  this.xsTranslateService = inject(XSTranslateService);
9923
9924
  if (typeof this.xsTranslateService?.registerTranslations ===
9924
9925
  'function') {
9925
- this.xsTranslateService.registerTranslations({ es: es$g, en: en$g });
9926
+ this.xsTranslateService.registerTranslations({ es: es$f, en: en$f });
9926
9927
  }
9927
9928
  this.search$
9928
9929
  .pipe(debounceTime$1(400), distinctUntilChanged$1(), filter$1((q) => q.length >= 3), switchMap$1((query) => {
@@ -10638,7 +10639,7 @@ var FORM$1 = {
10638
10639
  DELETE_CONFIRM_SUBTITLE: "¿Estás seguro de que quieres eliminar este elemento?"
10639
10640
  }
10640
10641
  };
10641
- var es$f = {
10642
+ var es$e = {
10642
10643
  FORM: FORM$1
10643
10644
  };
10644
10645
 
@@ -10701,7 +10702,7 @@ var FORM = {
10701
10702
  DELETE_CONFIRM_SUBTITLE: "Are you sure you want to delete this item?"
10702
10703
  }
10703
10704
  };
10704
- var en$f = {
10705
+ var en$e = {
10705
10706
  FORM: FORM
10706
10707
  };
10707
10708
 
@@ -10721,7 +10722,7 @@ class XSFormlyComponent {
10721
10722
  this.translateService = translateService;
10722
10723
  if (typeof this.translateService?.registerTranslations ===
10723
10724
  'function') {
10724
- this.translateService.registerTranslations({ es: es$f, en: en$f });
10725
+ this.translateService.registerTranslations({ es: es$e, en: en$e });
10725
10726
  }
10726
10727
  }
10727
10728
  ngAfterViewInit() {
@@ -10860,7 +10861,7 @@ var fieldRequiredError$1 = "Este campo es obligatorio.";
10860
10861
  var fieldMinLengthError$1 = "Mínimo {min} caracteres.";
10861
10862
  var fieldMaxLengthError$1 = "Máximo {max} caracteres.";
10862
10863
  var fieldInvalidFormatError$1 = "Formato inválido.";
10863
- var es$e = {
10864
+ var es$d = {
10864
10865
  title: title$1,
10865
10866
  loginTitle: loginTitle$1,
10866
10867
  registerTitle: registerTitle$1,
@@ -10965,7 +10966,7 @@ var fieldRequiredError = "This field is required.";
10965
10966
  var fieldMinLengthError = "Minimum {min} characters.";
10966
10967
  var fieldMaxLengthError = "Maximum {max} characters.";
10967
10968
  var fieldInvalidFormatError = "Invalid format.";
10968
- var en$e = {
10969
+ var en$d = {
10969
10970
  title: title,
10970
10971
  loginTitle: loginTitle,
10971
10972
  registerTitle: registerTitle,
@@ -11028,14 +11029,14 @@ class XSAuthService {
11028
11029
  password = '';
11029
11030
  name = '';
11030
11031
  code2fa = '';
11031
- texts = es$e;
11032
+ texts = es$d;
11032
11033
  langVersion = signal(0, ...(ngDevMode ? [{ debugName: "langVersion" }] : []));
11033
11034
  constructor(defaultLogoUrl, translateService) {
11034
11035
  this.defaultLogoUrl = defaultLogoUrl;
11035
11036
  this.translateService = translateService;
11036
11037
  if (typeof this.translateService?.registerTranslations ===
11037
11038
  'function') {
11038
- this.translateService.registerTranslations({ es: es$e, en: en$e });
11039
+ this.translateService.registerTranslations({ es: es$d, en: en$d });
11039
11040
  }
11040
11041
  this.updateTexts();
11041
11042
  this.translateService.currentLang$.subscribe(() => {
@@ -11044,7 +11045,7 @@ class XSAuthService {
11044
11045
  }
11045
11046
  updateTexts() {
11046
11047
  const lang = this.translateService.getLanguage();
11047
- const baseTexts = lang === 'es' ? es$e : en$e;
11048
+ const baseTexts = lang === 'es' ? es$d : en$d;
11048
11049
  this.texts = {
11049
11050
  ...baseTexts,
11050
11051
  };
@@ -12130,7 +12131,7 @@ var OrganizationType;
12130
12131
  OrganizationType["RADIO"] = "radio";
12131
12132
  })(OrganizationType || (OrganizationType = {}));
12132
12133
 
12133
- dayjs.locale(es$D);
12134
+ dayjs.locale(es$C);
12134
12135
  dayjs.extend(customParseFormat);
12135
12136
  dayjs.extend(utc);
12136
12137
  dayjs.extend(timezone);
@@ -12460,7 +12461,7 @@ var FULL_IMAGE$1 = {
12460
12461
  COPY_ERROR: "No se pudo copiar la URL",
12461
12462
  ZOOM_LEVEL: "{{zoom}}x"
12462
12463
  };
12463
- var es$d = {
12464
+ var es$c = {
12464
12465
  FULL_IMAGE: FULL_IMAGE$1
12465
12466
  };
12466
12467
 
@@ -12473,7 +12474,7 @@ var FULL_IMAGE = {
12473
12474
  COPY_ERROR: "Could not copy URL",
12474
12475
  ZOOM_LEVEL: "{{zoom}}x"
12475
12476
  };
12476
- var en$d = {
12477
+ var en$c = {
12477
12478
  FULL_IMAGE: FULL_IMAGE
12478
12479
  };
12479
12480
 
@@ -12509,7 +12510,7 @@ class XSFullImageComponent {
12509
12510
  panStartX = 0;
12510
12511
  panStartY = 0;
12511
12512
  constructor() {
12512
- this.xsTranslate.registerTranslations({ es: es$d, en: en$d });
12513
+ this.xsTranslate.registerTranslations({ es: es$c, en: en$c });
12513
12514
  this.xsTranslate.currentLang$
12514
12515
  .pipe(takeUntilDestroyed(this.destroyRef))
12515
12516
  .subscribe(() => this.langVersion.update((v) => v + 1));
@@ -12773,7 +12774,7 @@ var MIN_VALUE$1 = "Valor mínimo";
12773
12774
  var MAX_VALUE$1 = "Valor máximo";
12774
12775
  var YES$1 = "Sí";
12775
12776
  var NO$1 = "No";
12776
- var es$c = {
12777
+ var es$b = {
12777
12778
  DEMO_TITLE: DEMO_TITLE$1,
12778
12779
  DEMO_DESCRIPTION: DEMO_DESCRIPTION$1,
12779
12780
  OPEN_FILTERS: OPEN_FILTERS$1,
@@ -12812,7 +12813,7 @@ var MIN_VALUE = "Min value";
12812
12813
  var MAX_VALUE = "Max value";
12813
12814
  var YES = "Yes";
12814
12815
  var NO = "No";
12815
- var en$c = {
12816
+ var en$b = {
12816
12817
  DEMO_TITLE: DEMO_TITLE,
12817
12818
  DEMO_DESCRIPTION: DEMO_DESCRIPTION,
12818
12819
  OPEN_FILTERS: OPEN_FILTERS,
@@ -12895,7 +12896,7 @@ class XSFilterPanelComponent {
12895
12896
  ngOnInit() {
12896
12897
  if (typeof this.translateService?.registerTranslations ===
12897
12898
  'function') {
12898
- this.translateService.registerTranslations({ es: es$c, en: en$c });
12899
+ this.translateService.registerTranslations({ es: es$b, en: en$b });
12899
12900
  }
12900
12901
  this.translateService.currentLang$.subscribe((lang) => this.langSignal.set(lang));
12901
12902
  }
@@ -13286,12 +13287,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
13286
13287
  }], ctorParameters: () => [{ type: XSDocumentService }] });
13287
13288
 
13288
13289
  var MENU_LABEL$1 = "Menú";
13289
- var es$b = {
13290
+ var es$a = {
13290
13291
  MENU_LABEL: MENU_LABEL$1
13291
13292
  };
13292
13293
 
13293
13294
  var MENU_LABEL = "Menu";
13294
- var en$b = {
13295
+ var en$a = {
13295
13296
  MENU_LABEL: MENU_LABEL
13296
13297
  };
13297
13298
 
@@ -13304,7 +13305,7 @@ class XSSectionTitleComponent {
13304
13305
  constructor() {
13305
13306
  if (typeof this.xsTranslate?.registerTranslations ===
13306
13307
  'function') {
13307
- this.xsTranslate.registerTranslations({ es: es$b, en: en$b });
13308
+ this.xsTranslate.registerTranslations({ es: es$a, en: en$a });
13308
13309
  }
13309
13310
  }
13310
13311
  title = input.required(...(ngDevMode ? [{ debugName: "title" }] : []));
@@ -13697,7 +13698,7 @@ var IMPORT_MEDIA$1 = {
13697
13698
  INLINE_ALBUM_LIVE: "En vivo",
13698
13699
  INLINE_ALBUM_REMIX: "Remix"
13699
13700
  };
13700
- var es$a = {
13701
+ var es$9 = {
13701
13702
  IMPORT_MEDIA: IMPORT_MEDIA$1
13702
13703
  };
13703
13704
 
@@ -13819,7 +13820,7 @@ var IMPORT_MEDIA = {
13819
13820
  INLINE_ALBUM_LIVE: "Live",
13820
13821
  INLINE_ALBUM_REMIX: "Remix"
13821
13822
  };
13822
- var en$a = {
13823
+ var en$9 = {
13823
13824
  IMPORT_MEDIA: IMPORT_MEDIA
13824
13825
  };
13825
13826
 
@@ -13843,13 +13844,15 @@ class XSImportMediaHeaderComponent {
13843
13844
  }
13844
13845
  constructor() {
13845
13846
  if (this.translateService?.currentLang$) {
13846
- this.translateService.currentLang$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
13847
+ this.translateService.currentLang$
13848
+ .pipe(takeUntilDestroyed(this.destroyRef))
13849
+ .subscribe(() => {
13847
13850
  this.langVersion.update((v) => v + 1);
13848
13851
  });
13849
13852
  }
13850
13853
  if (typeof this.translateService?.registerTranslations ===
13851
13854
  'function') {
13852
- this.translateService.registerTranslations({ es: es$a, en: en$a });
13855
+ this.translateService.registerTranslations({ es: es$9, en: en$9 });
13853
13856
  }
13854
13857
  }
13855
13858
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSImportMediaHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -13866,13 +13869,15 @@ class XSImportMediaFlowComponent {
13866
13869
  langVersion = signal(0, ...(ngDevMode ? [{ debugName: "langVersion" }] : []));
13867
13870
  constructor() {
13868
13871
  if (this.translateService?.currentLang$) {
13869
- this.translateService.currentLang$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
13872
+ this.translateService.currentLang$
13873
+ .pipe(takeUntilDestroyed(this.destroyRef))
13874
+ .subscribe(() => {
13870
13875
  this.langVersion.update((v) => v + 1);
13871
13876
  });
13872
13877
  }
13873
13878
  if (typeof this.translateService?.registerTranslations ===
13874
13879
  'function') {
13875
- this.translateService.registerTranslations({ es: es$a, en: en$a });
13880
+ this.translateService.registerTranslations({ es: es$9, en: en$9 });
13876
13881
  }
13877
13882
  }
13878
13883
  t(key) {
@@ -14090,7 +14095,7 @@ var ATTACH_ERROR_TYPE$1 = "Tipo de archivo no permitido";
14090
14095
  var ATTACH_ERROR_SIZE$1 = "El archivo supera los 30MB";
14091
14096
  var ATTACH_ERROR_LIMIT$1 = "Máximo 5 archivos por mensaje";
14092
14097
  var UPLOADING$1 = "Subiendo...";
14093
- var es$9 = {
14098
+ var es$8 = {
14094
14099
  SEARCH_PLACEHOLDER: SEARCH_PLACEHOLDER$1,
14095
14100
  NO_RESULTS: NO_RESULTS$1,
14096
14101
  NO_CHATS: NO_CHATS$1,
@@ -14171,7 +14176,7 @@ var ATTACH_ERROR_TYPE = "File type not allowed";
14171
14176
  var ATTACH_ERROR_SIZE = "File exceeds 30MB";
14172
14177
  var ATTACH_ERROR_LIMIT = "Maximum 5 files per message";
14173
14178
  var UPLOADING = "Uploading...";
14174
- var en$9 = {
14179
+ var en$8 = {
14175
14180
  SEARCH_PLACEHOLDER: SEARCH_PLACEHOLDER,
14176
14181
  NO_RESULTS: NO_RESULTS,
14177
14182
  NO_CHATS: NO_CHATS,
@@ -14283,13 +14288,15 @@ class XSChatListComponent {
14283
14288
  }
14284
14289
  constructor() {
14285
14290
  if (this.translateService?.currentLang$) {
14286
- this.translateService.currentLang$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
14291
+ this.translateService.currentLang$
14292
+ .pipe(takeUntilDestroyed(this.destroyRef))
14293
+ .subscribe(() => {
14287
14294
  this.langVersion.update((v) => v + 1);
14288
14295
  });
14289
14296
  }
14290
14297
  if (typeof this.translateService?.registerTranslations ===
14291
14298
  'function') {
14292
- this.translateService.registerTranslations({ es: es$9, en: en$9 });
14299
+ this.translateService.registerTranslations({ es: es$8, en: en$8 });
14293
14300
  }
14294
14301
  }
14295
14302
  selectChat = output();
@@ -14534,13 +14541,15 @@ class XSChatTextareaComponent {
14534
14541
  }
14535
14542
  constructor() {
14536
14543
  if (this.translateService?.currentLang$) {
14537
- this.translateService.currentLang$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
14544
+ this.translateService.currentLang$
14545
+ .pipe(takeUntilDestroyed(this.destroyRef))
14546
+ .subscribe(() => {
14538
14547
  this.langVersion.update((v) => v + 1);
14539
14548
  });
14540
14549
  }
14541
14550
  if (typeof this.translateService?.registerTranslations ===
14542
14551
  'function') {
14543
- this.translateService.registerTranslations({ es: es$9, en: en$9 });
14552
+ this.translateService.registerTranslations({ es: es$8, en: en$8 });
14544
14553
  }
14545
14554
  this.destroyRef.onDestroy(() => this.revokeAllPreviews());
14546
14555
  }
@@ -14743,7 +14752,7 @@ class XSChatConversationInfoComponent {
14743
14752
  constructor() {
14744
14753
  if (typeof this.xsTranslate?.registerTranslations ===
14745
14754
  'function') {
14746
- this.xsTranslate.registerTranslations({ es: es$9, en: en$9 });
14755
+ this.xsTranslate.registerTranslations({ es: es$8, en: en$8 });
14747
14756
  }
14748
14757
  }
14749
14758
  currentChatInfo = input(null, ...(ngDevMode ? [{ debugName: "currentChatInfo" }] : []));
@@ -14906,7 +14915,7 @@ class XSChatConversationComponent {
14906
14915
  constructor() {
14907
14916
  if (typeof this.xsTranslate?.registerTranslations ===
14908
14917
  'function') {
14909
- this.xsTranslate.registerTranslations({ es: es$9, en: en$9 });
14918
+ this.xsTranslate.registerTranslations({ es: es$8, en: en$8 });
14910
14919
  }
14911
14920
  effect(() => {
14912
14921
  void this.messages();
@@ -15177,13 +15186,15 @@ class XSChatFloatingPanelComponent {
15177
15186
  }
15178
15187
  constructor() {
15179
15188
  if (this.translateService?.currentLang$) {
15180
- this.translateService.currentLang$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
15189
+ this.translateService.currentLang$
15190
+ .pipe(takeUntilDestroyed(this.destroyRef))
15191
+ .subscribe(() => {
15181
15192
  this.langVersion.update((v) => v + 1);
15182
15193
  });
15183
15194
  }
15184
15195
  if (typeof this.translateService?.registerTranslations ===
15185
15196
  'function') {
15186
- this.translateService.registerTranslations({ es: es$9, en: en$9 });
15197
+ this.translateService.registerTranslations({ es: es$8, en: en$8 });
15187
15198
  }
15188
15199
  }
15189
15200
  infoButtons = input([], ...(ngDevMode ? [{ debugName: "infoButtons" }] : []));
@@ -15280,7 +15291,7 @@ var ACTION_SHEET$1 = {
15280
15291
  ARIA_LABEL: "Menú de acciones",
15281
15292
  CANCEL: "Cancelar"
15282
15293
  };
15283
- var es$8 = {
15294
+ var es$7 = {
15284
15295
  ACTION_SHEET: ACTION_SHEET$1
15285
15296
  };
15286
15297
 
@@ -15288,7 +15299,7 @@ var ACTION_SHEET = {
15288
15299
  ARIA_LABEL: "Action menu",
15289
15300
  CANCEL: "Cancel"
15290
15301
  };
15291
- var en$8 = {
15302
+ var en$7 = {
15292
15303
  ACTION_SHEET: ACTION_SHEET
15293
15304
  };
15294
15305
 
@@ -15309,7 +15320,7 @@ class XSActionSheetComponent {
15309
15320
  ngOnInit() {
15310
15321
  if (typeof this.translateService?.registerTranslations ===
15311
15322
  'function') {
15312
- this.translateService.registerTranslations({ es: es$8, en: en$8 });
15323
+ this.translateService.registerTranslations({ es: es$7, en: en$7 });
15313
15324
  }
15314
15325
  this.translateService.currentLang$
15315
15326
  .pipe(takeUntilDestroyed(this.destroyRef))
@@ -15703,7 +15714,7 @@ var GUIDED_TOUR$1 = "Visita guiada";
15703
15714
  var SWITCH_LANG_TO$1 = "Cambiar idioma a";
15704
15715
  var ENGLISH$1 = "Inglés";
15705
15716
  var SPANISH$1 = "Español";
15706
- var es$7 = {
15717
+ var es$6 = {
15707
15718
  BACK_TO_ADMIN: BACK_TO_ADMIN$1,
15708
15719
  GO_BACK: GO_BACK$1,
15709
15720
  OPEN_MENU: OPEN_MENU$1,
@@ -15730,7 +15741,7 @@ var GUIDED_TOUR = "Guided visit";
15730
15741
  var SWITCH_LANG_TO = "Switch language to";
15731
15742
  var ENGLISH = "English";
15732
15743
  var SPANISH = "Spanish";
15733
- var en$7 = {
15744
+ var en$6 = {
15734
15745
  BACK_TO_ADMIN: BACK_TO_ADMIN,
15735
15746
  GO_BACK: GO_BACK,
15736
15747
  OPEN_MENU: OPEN_MENU,
@@ -15794,9 +15805,11 @@ class XSNavbarComponent {
15794
15805
  ngOnInit() {
15795
15806
  if (typeof this.translateService?.registerTranslations ===
15796
15807
  'function') {
15797
- this.translateService.registerTranslations({ es: es$7, en: en$7 });
15808
+ this.translateService.registerTranslations({ es: es$6, en: en$6 });
15798
15809
  }
15799
- this.translateService.currentLang$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((lang) => this.langSignal.set(lang));
15810
+ this.translateService.currentLang$
15811
+ .pipe(takeUntilDestroyed(this.destroyRef))
15812
+ .subscribe((lang) => this.langSignal.set(lang));
15800
15813
  }
15801
15814
  t(key) {
15802
15815
  this.langSignal();
@@ -15840,14 +15853,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
15840
15853
 
15841
15854
  var SIDEBAR_NAV$1 = "Navegación lateral";
15842
15855
  var MENU$1 = "Menú";
15843
- var es$6 = {
15856
+ var es$5 = {
15844
15857
  SIDEBAR_NAV: SIDEBAR_NAV$1,
15845
15858
  MENU: MENU$1
15846
15859
  };
15847
15860
 
15848
15861
  var SIDEBAR_NAV = "Sidebar navigation";
15849
15862
  var MENU = "Menu";
15850
- var en$6 = {
15863
+ var en$5 = {
15851
15864
  SIDEBAR_NAV: SIDEBAR_NAV,
15852
15865
  MENU: MENU
15853
15866
  };
@@ -15876,7 +15889,7 @@ class XSNavbarSidebarComponent {
15876
15889
  constructor() {
15877
15890
  if (typeof this.xsTranslate?.registerTranslations ===
15878
15891
  'function') {
15879
- this.xsTranslate.registerTranslations({ es: es$6, en: en$6 });
15892
+ this.xsTranslate.registerTranslations({ es: es$5, en: en$5 });
15880
15893
  }
15881
15894
  if (typeof window !== 'undefined') {
15882
15895
  const sub = fromEvent(window, 'resize').subscribe(() => {
@@ -15925,7 +15938,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
15925
15938
  var ERROR$1 = "Error";
15926
15939
  var REFRESH$1 = "Recargar";
15927
15940
  var LOADING_CONTENT$1 = "Cargando contenido";
15928
- var es$5 = {
15941
+ var es$4 = {
15929
15942
  ERROR: ERROR$1,
15930
15943
  REFRESH: REFRESH$1,
15931
15944
  LOADING_CONTENT: LOADING_CONTENT$1
@@ -15934,7 +15947,7 @@ var es$5 = {
15934
15947
  var ERROR = "Error";
15935
15948
  var REFRESH = "Refresh";
15936
15949
  var LOADING_CONTENT = "Loading content";
15937
- var en$5 = {
15950
+ var en$4 = {
15938
15951
  ERROR: ERROR,
15939
15952
  REFRESH: REFRESH,
15940
15953
  LOADING_CONTENT: LOADING_CONTENT
@@ -15948,7 +15961,7 @@ class XSBlockComponent {
15948
15961
  constructor() {
15949
15962
  if (typeof this.xsTranslate?.registerTranslations ===
15950
15963
  'function') {
15951
- this.xsTranslate.registerTranslations({ es: es$5, en: en$5 });
15964
+ this.xsTranslate.registerTranslations({ es: es$4, en: en$4 });
15952
15965
  }
15953
15966
  }
15954
15967
  title = input.required(...(ngDevMode ? [{ debugName: "title" }] : []));
@@ -17513,7 +17526,7 @@ var TABLE_ITEMS_CHAT$1 = {
17513
17526
  NOBODY: "Nadie",
17514
17527
  USER: "Usuario"
17515
17528
  };
17516
- var es$4 = {
17529
+ var es$3 = {
17517
17530
  TABLE_ITEMS_CHAT: TABLE_ITEMS_CHAT$1
17518
17531
  };
17519
17532
 
@@ -17522,7 +17535,7 @@ var TABLE_ITEMS_CHAT = {
17522
17535
  NOBODY: "Nobody",
17523
17536
  USER: "User"
17524
17537
  };
17525
- var en$4 = {
17538
+ var en$3 = {
17526
17539
  TABLE_ITEMS_CHAT: TABLE_ITEMS_CHAT
17527
17540
  };
17528
17541
 
@@ -17542,7 +17555,7 @@ class XSTableItemsChatComponent {
17542
17555
  constructor() {
17543
17556
  if (typeof this.translateService?.registerTranslations ===
17544
17557
  'function') {
17545
- this.translateService.registerTranslations({ es: es$4, en: en$4 });
17558
+ this.translateService.registerTranslations({ es: es$3, en: en$3 });
17546
17559
  }
17547
17560
  }
17548
17561
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSTableItemsChatComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -18773,6 +18786,13 @@ class XSMapService {
18773
18786
  40.417244274063485, -3.7021285218467663,
18774
18787
  ];
18775
18788
  draggable = false;
18789
+ /**
18790
+ * URL personalizada de tiles (formato Leaflet `.../{z}/{x}/{y}...`).
18791
+ * Vacío = proveedor por defecto (CARTO dark, que puede exigir API key;
18792
+ * ver `getMapDark`). Permite a cada consumidor usar su propio proveedor
18793
+ * sin cambiar el comportamiento por defecto de la librería.
18794
+ */
18795
+ tileUrl = '';
18776
18796
  coordinatesSubject = new Subject();
18777
18797
  coordinates$ = this.coordinatesSubject.asObservable();
18778
18798
  clickMarkerSubject = new Subject();
@@ -18785,11 +18805,12 @@ class XSMapService {
18785
18805
  this.imageApiPipe = imageApiPipe;
18786
18806
  this.avatarService = avatarService;
18787
18807
  }
18788
- initValuesMap(center, zoom, items, draggable) {
18808
+ initValuesMap(center, zoom, items, draggable, tileUrl = '') {
18789
18809
  this.center = center;
18790
18810
  this.zoom = zoom;
18791
18811
  this.items = items;
18792
18812
  this.draggable = draggable;
18813
+ this.tileUrl = tileUrl;
18793
18814
  }
18794
18815
  setSelectedMarker(markerId) {
18795
18816
  const L = this.L;
@@ -19016,7 +19037,7 @@ class XSMapService {
19016
19037
  fullscreenControl: true,
19017
19038
  attributionControl: false,
19018
19039
  zoom: this.zoom,
19019
- layers: [this.getMapDark(L)],
19040
+ layers: [this.getTileLayer(L)],
19020
19041
  });
19021
19042
  this.updateMarkers();
19022
19043
  this.map.on('click', () => {
@@ -19101,6 +19122,20 @@ class XSMapService {
19101
19122
  control.addTo(m);
19102
19123
  m.__resetControl = control;
19103
19124
  }
19125
+ /**
19126
+ * Capa de tiles activa: proveedor personalizado si `tileUrl` está
19127
+ * definido, o el proveedor por defecto (CARTO dark) en caso contrario.
19128
+ * El comportamiento por defecto no cambia.
19129
+ */
19130
+ getTileLayer(L) {
19131
+ if (this.tileUrl) {
19132
+ return L.tileLayer(this.tileUrl, {
19133
+ maxZoom: 20,
19134
+ attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',
19135
+ });
19136
+ }
19137
+ return this.getMapDark(L);
19138
+ }
19104
19139
  getMapDark(L) {
19105
19140
  return L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', {
19106
19141
  maxZoom: 20,
@@ -19149,7 +19184,7 @@ var COUNTRIES$1 = {
19149
19184
  FR: "Francia",
19150
19185
  DE: "Alemania"
19151
19186
  };
19152
- var es$3 = {
19187
+ var es$2 = {
19153
19188
  MAP: MAP$1,
19154
19189
  COUNTRIES: COUNTRIES$1
19155
19190
  };
@@ -19166,7 +19201,7 @@ var COUNTRIES = {
19166
19201
  FR: "France",
19167
19202
  DE: "Germany"
19168
19203
  };
19169
- var en$3 = {
19204
+ var en$2 = {
19170
19205
  MAP: MAP,
19171
19206
  COUNTRIES: COUNTRIES
19172
19207
  };
@@ -19191,8 +19226,8 @@ class XSMapInfoBlockComponent {
19191
19226
  if (typeof this.translateService?.registerTranslations ===
19192
19227
  'function') {
19193
19228
  this.translateService.registerTranslations({
19194
- es: { MAP: es$3.MAP },
19195
- en: { MAP: en$3.MAP },
19229
+ es: { MAP: es$2.MAP },
19230
+ en: { MAP: en$2.MAP },
19196
19231
  });
19197
19232
  }
19198
19233
  this.translateService.currentLang$
@@ -19381,6 +19416,12 @@ class XSMapComponent {
19381
19416
  selectedItem = input(...(ngDevMode ? [undefined, { debugName: "selectedItem" }] : []));
19382
19417
  isSingle = input(false, ...(ngDevMode ? [{ debugName: "isSingle" }] : []));
19383
19418
  mapId = input(...(ngDevMode ? [undefined, { debugName: "mapId" }] : []));
19419
+ /**
19420
+ * URL personalizada de tiles (formato Leaflet). Vacío = proveedor por
19421
+ * defecto de la librería (CARTO dark, que puede exigir API key).
19422
+ * Útil en entornos sin clave, p. ej. la demo usa OpenStreetMap.
19423
+ */
19424
+ tileUrl = input('', ...(ngDevMode ? [{ debugName: "tileUrl" }] : []));
19384
19425
  mapElement = viewChild('mapElement', ...(ngDevMode ? [{ debugName: "mapElement" }] : []));
19385
19426
  changeCoordinates = output();
19386
19427
  clickMarker = output();
@@ -19550,7 +19591,7 @@ class XSMapComponent {
19550
19591
  }
19551
19592
  async initMap() {
19552
19593
  try {
19553
- this.service.initValuesMap(this.center(), this.zoom(), this.items(), this.draggable());
19594
+ this.service.initValuesMap(this.center(), this.zoom(), this.items(), this.draggable(), this.tileUrl());
19554
19595
  await this.service.initMap(this.mapElement().nativeElement);
19555
19596
  this.isInitialized = true;
19556
19597
  this.lastTargetLat = this.center()[0];
@@ -19574,7 +19615,7 @@ class XSMapComponent {
19574
19615
  }
19575
19616
  }
19576
19617
  updateMap() {
19577
- this.service.initValuesMap(this.center(), this.zoom(), this.items(), this.draggable());
19618
+ this.service.initValuesMap(this.center(), this.zoom(), this.items(), this.draggable(), this.tileUrl());
19578
19619
  this.service.updateMarkers();
19579
19620
  this.restoreSelectedMarker();
19580
19621
  }
@@ -19635,12 +19676,12 @@ class XSMapComponent {
19635
19676
  this.resizeObserver?.disconnect();
19636
19677
  }
19637
19678
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
19638
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: XSMapComponent, isStandalone: true, selector: "xs-map", inputs: { center: { classPropertyName: "center", publicName: "center", isSignal: true, isRequired: false, transformFunction: null }, zoom: { classPropertyName: "zoom", publicName: "zoom", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, isDarkMode: { classPropertyName: "isDarkMode", publicName: "isDarkMode", isSignal: true, isRequired: false, transformFunction: null }, showInfoBlock: { classPropertyName: "showInfoBlock", publicName: "showInfoBlock", isSignal: true, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, selectedMarkerId: { classPropertyName: "selectedMarkerId", publicName: "selectedMarkerId", isSignal: true, isRequired: false, transformFunction: null }, selectedItem: { classPropertyName: "selectedItem", publicName: "selectedItem", isSignal: true, isRequired: false, transformFunction: null }, isSingle: { classPropertyName: "isSingle", publicName: "isSingle", isSignal: true, isRequired: false, transformFunction: null }, mapId: { classPropertyName: "mapId", publicName: "mapId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { changeCoordinates: "changeCoordinates", clickMarker: "clickMarker", clickMap: "clickMap", clickInfoItem: "clickInfoItem", clickInfoEvent: "clickInfoEvent" }, providers: [XSMapService, ImageApiPipe], viewQueries: [{ propertyName: "mapElement", first: true, predicate: ["mapElement"], descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"map-container w-full h-full\"\n [style]=\"style()\"\n [class]=\"class()\"\n>\n <div\n [ngClass]=\"{ 'dark-mode': isDarkMode() }\"\n class=\"map-frame h-full w-full\"\n >\n <div\n #mapElement\n [attr.id]=\"mapId()\"\n class=\"map-element h-full w-full\"\n ></div>\n </div>\n\n @if (showInfoBlock() && !isSingle()) {\n <xs-map-info-block\n [item]=\"infoBlockItem\"\n [type]=\"selectedMarker?.data?.type || 'site'\"\n [subtype]=\"selectedMarker?.data?.subtype\"\n [isLoading]=\"isLoading()\"\n (clickItem)=\"clickInfoItem.emit($event ?? {})\"\n (clickEvent)=\"clickInfoEvent.emit($event ?? {})\"\n (close)=\"handleCloseInfoBlock()\"\n ></xs-map-info-block>\n }\n\n <ng-content></ng-content>\n</div>\n", styles: [".leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:\"\"}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{-webkit-transition:-webkit-transform .3s ease-out,opacity .3s ease-in;-moz-transition:-moz-transform .3s ease-out,opacity .3s ease-in;-o-transition:-o-transform .3s ease-out,opacity .3s ease-in;transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{-webkit-transition:-webkit-stroke-dashoffset .3s ease-out,-webkit-stroke-opacity .3s ease-in;-moz-transition:-moz-stroke-dashoffset .3s ease-out,-moz-stroke-opacity .3s ease-in;-o-transition:-o-stroke-dashoffset .3s ease-out,-o-stroke-opacity .3s ease-in;transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}.marker-cluster-small{background-color:#b5e28c99}.marker-cluster-small div{background-color:#6ecc3999}.marker-cluster-medium{background-color:#f1d35799}.marker-cluster-medium div{background-color:#f0c20c99}.marker-cluster-large{background-color:#fd9c7399}.marker-cluster-large div{background-color:#f1801799}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{width:30px;height:30px;margin-left:5px;margin-top:5px;text-align:center;border-radius:15px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif}.marker-cluster span{line-height:30px}:root{--fullscreen-icon-enter: url('data:image/svg+xml,<svg viewBox=\"0 0 26 26\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5 10.3V5.9c0-.5.4-.9.9-.9h4.4c.2 0 .4.2.4.4V7c0 .2-.2.4-.4.4h-3v3c0 .2-.2.4-.4.4H5.4a.4.4 0 0 1-.4-.4zm10.3-4.9V7c0 .2.2.4.4.4h3v3c0 .2.2.4.4.4h1.5c.2 0 .4-.2.4-.4V5.9c0-.5-.4-.9-.9-.9h-4.4c-.2 0-.4.2-.4.4zm5.3 9.9H19c-.2 0-.4.2-.4.4v3h-3c-.2 0-.4.2-.4.4v1.5c0 .2.2.4.4.4h4.4c.5 0 .9-.4.9-.9v-4.4c0-.2-.2-.4-.4-.4zm-9.9 5.3V19c0-.2-.2-.4-.4-.4h-3v-3c0-.2-.2-.4-.4-.4H5.4c-.2 0-.4.2-.4.4v4.4c0 .5.4.9.9.9h4.4c.2 0 .4-.2.4-.4z\" fill=\"%23333\"/></svg>');--fullscreen-icon-exit: url('data:image/svg+xml,<svg viewBox=\"0 0 26 26\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M20.6 10.7H16a.9.9 0 0 1-.8-.8v-4.5c0-.2.2-.4.4-.4h1.4c.3 0 .5.2.5.4v3h3c.2 0 .4.2.4.5v1.4c0 .2-.2.4-.4.4zm-9.9-.8V5.4c0-.2-.2-.4-.4-.4H8.9c-.3 0-.5.2-.5.4v3h-3c-.2 0-.4.2-.4.5v1.4c0 .2.2.4.4.4H9.9c.4 0 .8-.4.8-.8zm0 10.7V16c0-.4-.4-.8-.8-.8H5.4c-.2 0-.4.2-.4.4v1.4c0 .3.2.5.4.5h3v3c0 .2.2.4.5.4h1.4c.2 0 .4-.2.4-.4zm6.9 0v-3h3c.2 0 .4-.2.4-.5v-1.4c0-.2-.2-.4-.4-.4H16c-.4 0-.8.4-.8.8v4.5c0 .2.2.4.4.4h1.5c.3 0 .5-.2.5-.4z\" fill=\"%23333\"/></svg>')}.leaflet-fullscreen-icon{background-image:var(--fullscreen-icon-enter);background-size:26px 26px}.leaflet-fullscreen-icon.leaflet-fullscreen-on{background-image:var(--fullscreen-icon-exit)}.leaflet-container:-webkit-full-screen,.leaflet-container:fullscreen{width:100%!important;height:100%!important;z-index:99999}:host{display:block;height:100%;width:100%}.map-container{position:relative;width:100%;height:100%}.map-frame,.map-element{height:100%;width:100%}.map-frame{view-transition-name:xs-map-container}.leaflet-marker-icon{border-radius:100%!important;background:transparent!important;border:none!important;box-shadow:none!important}.marker-custom{background:transparent!important;border:none!important}.leaflet-marker-pane,.leaflet-marker-icon,.marker-img-container,.marker-custom img{filter:none!important;outline:none!important}.leaflet-marker-icon:focus{outline:none!important}.marker-img-container{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;height:100%!important;border-radius:9999px!important;overflow:hidden!important;background-color:#18181b!important;border:none!important;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f!important}.marker-img-container img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:9999px!important}.marker-selected .marker-img-container{border:none!important;box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 20px #fff6!important;transform:scale(1.15)!important;z-index:1000!important}@keyframes marker-pulse{0%{box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 #fff6}70%{box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 0 10px #fff0}to{box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 #fff0}}.marker-selected .marker-img-container{animation:marker-pulse 2s infinite}@keyframes slide-up{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slide-down{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}.animate-slide-up{animation:slide-up .4s cubic-bezier(.16,1,.3,1) forwards}.animate-slide-down{animation:slide-down .4s cubic-bezier(.16,1,.3,1) forwards}.leaflet-bar,.leaflet-control-zoom,.leaflet-control-fullscreen,.leaflet-control-layers{border:none!important;box-shadow:none!important;background:transparent!important}.leaflet-bar a,.leaflet-control-fullscreen a,.leaflet-control-maximize a,.leaflet-control-layers-toggle,.leaflet-control-custom,.leaflet-bar a:first-child,.leaflet-bar a:last-child{background-color:#18181b!important;color:#fff!important;border:none!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:all .2s ease!important;border-radius:8px!important;margin-bottom:6px!important;width:36px!important;height:36px!important;padding:0!important;box-shadow:0 4px 6px -1px #0000004d!important;outline:none!important;overflow:hidden!important;position:relative!important;text-decoration:none!important}.leaflet-bar a:hover,.leaflet-control-fullscreen a:hover,.leaflet-control-layers-toggle:hover,.leaflet-control-custom:hover{background-color:#27272a!important;transform:translateY(-1px)}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font-size:20px!important;font-weight:500!important;line-height:36px!important;color:#fff!important;background-image:none!important}.leaflet-control-fullscreen a,.leaflet-control-layers-toggle,.fullscreen-icon{background-image:none!important;filter:none!important}.leaflet-control-zoom-fullscreen.fullscreen-icon,.leaflet-control-fullscreen a,.leaflet-touch .leaflet-control-zoom-fullscreen.fullscreen-icon,.leaflet-touch .leaflet-control-fullscreen a{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3'%3E%3C/path%3E%3C/svg%3E\")!important;background-size:18px 18px!important;background-repeat:no-repeat!important;background-position:center center!important;text-indent:-9999px!important}.leaflet-fullscreen-on .leaflet-control-fullscreen a,.leaflet-fullscreen-on .fullscreen-icon,.leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a,.leaflet-touch.leaflet-fullscreen-on .fullscreen-icon{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14h3v3m0-3l-3 3m13-3h3v3m0-3l-3 3M4 10V7h3m0 3l-3-3m13 0h3v3m0-3l-3 3'%3E%3C/path%3E%3C/svg%3E\")!important;background-position:center center!important}.leaflet-control-layers-toggle{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'%3E%3C/polygon%3E%3Cpolyline points='2 17 12 22 22 17'%3E%3C/polyline%3E%3Cpolyline points='2 12 12 17 22 12'%3E%3C/polyline%3E%3C/svg%3E\")!important;background-size:20px 20px!important;background-repeat:no-repeat!important;background-position:center center!important}.leaflet-control-layers-expanded{background-color:#18181b!important;color:#fff!important;border:none!important;border-radius:12px!important;padding:10px!important;box-shadow:0 10px 15px -3px #00000080!important}.leaflet-control-layers-base label{display:flex!important;align-items:center!important;gap:10px!important;padding:6px 4px!important;cursor:pointer!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;color:#fffc!important;transition:color .2s!important}.leaflet-control-layers-base label:hover{color:#fff!important}.leaflet-control-layers-base input[type=radio]{accent-color:white!important;cursor:pointer!important}.leaflet-bar a.leaflet-disabled{opacity:.2!important;cursor:not-allowed!important}.leaflet-container{background:#000!important}.leaflet-control-fullscreen a:before,.leaflet-control-fullscreen a:after,.fullscreen-icon:before,.fullscreen-icon:after{display:none!important;content:none!important}.leaflet-container:-webkit-full-screen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:-ms-fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-pseudo-fullscreen{position:fixed!important;width:100%!important;height:100%!important;top:0!important;left:0!important;z-index:99999}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: XSMapInfoBlockComponent, selector: "xs-map-info-block", inputs: ["item", "type", "subtype", "isLoading", "showEvents"], outputs: ["typeChange", "subtypeChange", "clickItem", "clickEvent", "closeClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
19679
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: XSMapComponent, isStandalone: true, selector: "xs-map", inputs: { center: { classPropertyName: "center", publicName: "center", isSignal: true, isRequired: false, transformFunction: null }, zoom: { classPropertyName: "zoom", publicName: "zoom", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, isDarkMode: { classPropertyName: "isDarkMode", publicName: "isDarkMode", isSignal: true, isRequired: false, transformFunction: null }, showInfoBlock: { classPropertyName: "showInfoBlock", publicName: "showInfoBlock", isSignal: true, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, selectedMarkerId: { classPropertyName: "selectedMarkerId", publicName: "selectedMarkerId", isSignal: true, isRequired: false, transformFunction: null }, selectedItem: { classPropertyName: "selectedItem", publicName: "selectedItem", isSignal: true, isRequired: false, transformFunction: null }, isSingle: { classPropertyName: "isSingle", publicName: "isSingle", isSignal: true, isRequired: false, transformFunction: null }, mapId: { classPropertyName: "mapId", publicName: "mapId", isSignal: true, isRequired: false, transformFunction: null }, tileUrl: { classPropertyName: "tileUrl", publicName: "tileUrl", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { changeCoordinates: "changeCoordinates", clickMarker: "clickMarker", clickMap: "clickMap", clickInfoItem: "clickInfoItem", clickInfoEvent: "clickInfoEvent" }, providers: [XSMapService, ImageApiPipe], viewQueries: [{ propertyName: "mapElement", first: true, predicate: ["mapElement"], descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"map-container w-full h-full\"\n [style]=\"style()\"\n [class]=\"class()\"\n>\n <div\n [ngClass]=\"{ 'dark-mode': isDarkMode() }\"\n class=\"map-frame h-full w-full\"\n >\n <div\n #mapElement\n [attr.id]=\"mapId()\"\n class=\"map-element h-full w-full\"\n ></div>\n </div>\n\n @if (showInfoBlock() && !isSingle()) {\n <xs-map-info-block\n [item]=\"infoBlockItem\"\n [type]=\"selectedMarker?.data?.type || 'site'\"\n [subtype]=\"selectedMarker?.data?.subtype\"\n [isLoading]=\"isLoading()\"\n (clickItem)=\"clickInfoItem.emit($event ?? {})\"\n (clickEvent)=\"clickInfoEvent.emit($event ?? {})\"\n (close)=\"handleCloseInfoBlock()\"\n ></xs-map-info-block>\n }\n\n <ng-content></ng-content>\n</div>\n", styles: [".leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:\"\"}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{-webkit-transition:-webkit-transform .3s ease-out,opacity .3s ease-in;-moz-transition:-moz-transform .3s ease-out,opacity .3s ease-in;-o-transition:-o-transform .3s ease-out,opacity .3s ease-in;transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{-webkit-transition:-webkit-stroke-dashoffset .3s ease-out,-webkit-stroke-opacity .3s ease-in;-moz-transition:-moz-stroke-dashoffset .3s ease-out,-moz-stroke-opacity .3s ease-in;-o-transition:-o-stroke-dashoffset .3s ease-out,-o-stroke-opacity .3s ease-in;transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}.marker-cluster-small{background-color:#b5e28c99}.marker-cluster-small div{background-color:#6ecc3999}.marker-cluster-medium{background-color:#f1d35799}.marker-cluster-medium div{background-color:#f0c20c99}.marker-cluster-large{background-color:#fd9c7399}.marker-cluster-large div{background-color:#f1801799}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{width:30px;height:30px;margin-left:5px;margin-top:5px;text-align:center;border-radius:15px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif}.marker-cluster span{line-height:30px}:root{--fullscreen-icon-enter: url('data:image/svg+xml,<svg viewBox=\"0 0 26 26\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5 10.3V5.9c0-.5.4-.9.9-.9h4.4c.2 0 .4.2.4.4V7c0 .2-.2.4-.4.4h-3v3c0 .2-.2.4-.4.4H5.4a.4.4 0 0 1-.4-.4zm10.3-4.9V7c0 .2.2.4.4.4h3v3c0 .2.2.4.4.4h1.5c.2 0 .4-.2.4-.4V5.9c0-.5-.4-.9-.9-.9h-4.4c-.2 0-.4.2-.4.4zm5.3 9.9H19c-.2 0-.4.2-.4.4v3h-3c-.2 0-.4.2-.4.4v1.5c0 .2.2.4.4.4h4.4c.5 0 .9-.4.9-.9v-4.4c0-.2-.2-.4-.4-.4zm-9.9 5.3V19c0-.2-.2-.4-.4-.4h-3v-3c0-.2-.2-.4-.4-.4H5.4c-.2 0-.4.2-.4.4v4.4c0 .5.4.9.9.9h4.4c.2 0 .4-.2.4-.4z\" fill=\"%23333\"/></svg>');--fullscreen-icon-exit: url('data:image/svg+xml,<svg viewBox=\"0 0 26 26\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M20.6 10.7H16a.9.9 0 0 1-.8-.8v-4.5c0-.2.2-.4.4-.4h1.4c.3 0 .5.2.5.4v3h3c.2 0 .4.2.4.5v1.4c0 .2-.2.4-.4.4zm-9.9-.8V5.4c0-.2-.2-.4-.4-.4H8.9c-.3 0-.5.2-.5.4v3h-3c-.2 0-.4.2-.4.5v1.4c0 .2.2.4.4.4H9.9c.4 0 .8-.4.8-.8zm0 10.7V16c0-.4-.4-.8-.8-.8H5.4c-.2 0-.4.2-.4.4v1.4c0 .3.2.5.4.5h3v3c0 .2.2.4.5.4h1.4c.2 0 .4-.2.4-.4zm6.9 0v-3h3c.2 0 .4-.2.4-.5v-1.4c0-.2-.2-.4-.4-.4H16c-.4 0-.8.4-.8.8v4.5c0 .2.2.4.4.4h1.5c.3 0 .5-.2.5-.4z\" fill=\"%23333\"/></svg>')}.leaflet-fullscreen-icon{background-image:var(--fullscreen-icon-enter);background-size:26px 26px}.leaflet-fullscreen-icon.leaflet-fullscreen-on{background-image:var(--fullscreen-icon-exit)}.leaflet-container:-webkit-full-screen,.leaflet-container:fullscreen{width:100%!important;height:100%!important;z-index:99999}:host{display:block;height:100%;width:100%}.map-container{position:relative;width:100%;height:100%}.map-frame,.map-element{height:100%;width:100%}.map-frame{view-transition-name:xs-map-container}.leaflet-marker-icon{border-radius:100%!important;background:transparent!important;border:none!important;box-shadow:none!important}.marker-custom{background:transparent!important;border:none!important}.leaflet-marker-pane,.leaflet-marker-icon,.marker-img-container,.marker-custom img{filter:none!important;outline:none!important}.leaflet-marker-icon:focus{outline:none!important}.marker-img-container{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;height:100%!important;border-radius:9999px!important;overflow:hidden!important;background-color:#18181b!important;border:none!important;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f!important}.marker-img-container img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:9999px!important}.marker-selected .marker-img-container{border:none!important;box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 20px #fff6!important;transform:scale(1.15)!important;z-index:1000!important}@keyframes marker-pulse{0%{box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 #fff6}70%{box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 0 10px #fff0}to{box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 #fff0}}.marker-selected .marker-img-container{animation:marker-pulse 2s infinite}@keyframes slide-up{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slide-down{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}.animate-slide-up{animation:slide-up .4s cubic-bezier(.16,1,.3,1) forwards}.animate-slide-down{animation:slide-down .4s cubic-bezier(.16,1,.3,1) forwards}.leaflet-bar,.leaflet-control-zoom,.leaflet-control-fullscreen,.leaflet-control-layers{border:none!important;box-shadow:none!important;background:transparent!important}.leaflet-bar a,.leaflet-control-fullscreen a,.leaflet-control-maximize a,.leaflet-control-layers-toggle,.leaflet-control-custom,.leaflet-bar a:first-child,.leaflet-bar a:last-child{background-color:#18181b!important;color:#fff!important;border:none!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:all .2s ease!important;border-radius:8px!important;margin-bottom:6px!important;width:36px!important;height:36px!important;padding:0!important;box-shadow:0 4px 6px -1px #0000004d!important;outline:none!important;overflow:hidden!important;position:relative!important;text-decoration:none!important}.leaflet-bar a:hover,.leaflet-control-fullscreen a:hover,.leaflet-control-layers-toggle:hover,.leaflet-control-custom:hover{background-color:#27272a!important;transform:translateY(-1px)}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font-size:20px!important;font-weight:500!important;line-height:36px!important;color:#fff!important;background-image:none!important}.leaflet-control-fullscreen a,.leaflet-control-layers-toggle,.fullscreen-icon{background-image:none!important;filter:none!important}.leaflet-control-zoom-fullscreen.fullscreen-icon,.leaflet-control-fullscreen a,.leaflet-touch .leaflet-control-zoom-fullscreen.fullscreen-icon,.leaflet-touch .leaflet-control-fullscreen a{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3'%3E%3C/path%3E%3C/svg%3E\")!important;background-size:18px 18px!important;background-repeat:no-repeat!important;background-position:center center!important;text-indent:-9999px!important}.leaflet-fullscreen-on .leaflet-control-fullscreen a,.leaflet-fullscreen-on .fullscreen-icon,.leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a,.leaflet-touch.leaflet-fullscreen-on .fullscreen-icon{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14h3v3m0-3l-3 3m13-3h3v3m0-3l-3 3M4 10V7h3m0 3l-3-3m13 0h3v3m0-3l-3 3'%3E%3C/path%3E%3C/svg%3E\")!important;background-position:center center!important}.leaflet-control-layers-toggle{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'%3E%3C/polygon%3E%3Cpolyline points='2 17 12 22 22 17'%3E%3C/polyline%3E%3Cpolyline points='2 12 12 17 22 12'%3E%3C/polyline%3E%3C/svg%3E\")!important;background-size:20px 20px!important;background-repeat:no-repeat!important;background-position:center center!important}.leaflet-control-layers-expanded{background-color:#18181b!important;color:#fff!important;border:none!important;border-radius:12px!important;padding:10px!important;box-shadow:0 10px 15px -3px #00000080!important}.leaflet-control-layers-base label{display:flex!important;align-items:center!important;gap:10px!important;padding:6px 4px!important;cursor:pointer!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;color:#fffc!important;transition:color .2s!important}.leaflet-control-layers-base label:hover{color:#fff!important}.leaflet-control-layers-base input[type=radio]{accent-color:white!important;cursor:pointer!important}.leaflet-bar a.leaflet-disabled{opacity:.2!important;cursor:not-allowed!important}.leaflet-container{background:#000!important}.leaflet-control-fullscreen a:before,.leaflet-control-fullscreen a:after,.fullscreen-icon:before,.fullscreen-icon:after{display:none!important;content:none!important}.leaflet-container:-webkit-full-screen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:-ms-fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-pseudo-fullscreen{position:fixed!important;width:100%!important;height:100%!important;top:0!important;left:0!important;z-index:99999}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: XSMapInfoBlockComponent, selector: "xs-map-info-block", inputs: ["item", "type", "subtype", "isLoading", "showEvents"], outputs: ["typeChange", "subtypeChange", "clickItem", "clickEvent", "closeClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
19639
19680
  }
19640
19681
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSMapComponent, decorators: [{
19641
19682
  type: Component,
19642
19683
  args: [{ selector: 'xs-map', standalone: true, imports: [CommonModule, XSMapInfoBlockComponent], providers: [XSMapService, ImageApiPipe], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"map-container w-full h-full\"\n [style]=\"style()\"\n [class]=\"class()\"\n>\n <div\n [ngClass]=\"{ 'dark-mode': isDarkMode() }\"\n class=\"map-frame h-full w-full\"\n >\n <div\n #mapElement\n [attr.id]=\"mapId()\"\n class=\"map-element h-full w-full\"\n ></div>\n </div>\n\n @if (showInfoBlock() && !isSingle()) {\n <xs-map-info-block\n [item]=\"infoBlockItem\"\n [type]=\"selectedMarker?.data?.type || 'site'\"\n [subtype]=\"selectedMarker?.data?.subtype\"\n [isLoading]=\"isLoading()\"\n (clickItem)=\"clickInfoItem.emit($event ?? {})\"\n (clickEvent)=\"clickInfoEvent.emit($event ?? {})\"\n (close)=\"handleCloseInfoBlock()\"\n ></xs-map-info-block>\n }\n\n <ng-content></ng-content>\n</div>\n", styles: [".leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:\"\"}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{-webkit-transition:-webkit-transform .3s ease-out,opacity .3s ease-in;-moz-transition:-moz-transform .3s ease-out,opacity .3s ease-in;-o-transition:-o-transform .3s ease-out,opacity .3s ease-in;transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{-webkit-transition:-webkit-stroke-dashoffset .3s ease-out,-webkit-stroke-opacity .3s ease-in;-moz-transition:-moz-stroke-dashoffset .3s ease-out,-moz-stroke-opacity .3s ease-in;-o-transition:-o-stroke-dashoffset .3s ease-out,-o-stroke-opacity .3s ease-in;transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}.marker-cluster-small{background-color:#b5e28c99}.marker-cluster-small div{background-color:#6ecc3999}.marker-cluster-medium{background-color:#f1d35799}.marker-cluster-medium div{background-color:#f0c20c99}.marker-cluster-large{background-color:#fd9c7399}.marker-cluster-large div{background-color:#f1801799}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{width:30px;height:30px;margin-left:5px;margin-top:5px;text-align:center;border-radius:15px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif}.marker-cluster span{line-height:30px}:root{--fullscreen-icon-enter: url('data:image/svg+xml,<svg viewBox=\"0 0 26 26\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5 10.3V5.9c0-.5.4-.9.9-.9h4.4c.2 0 .4.2.4.4V7c0 .2-.2.4-.4.4h-3v3c0 .2-.2.4-.4.4H5.4a.4.4 0 0 1-.4-.4zm10.3-4.9V7c0 .2.2.4.4.4h3v3c0 .2.2.4.4.4h1.5c.2 0 .4-.2.4-.4V5.9c0-.5-.4-.9-.9-.9h-4.4c-.2 0-.4.2-.4.4zm5.3 9.9H19c-.2 0-.4.2-.4.4v3h-3c-.2 0-.4.2-.4.4v1.5c0 .2.2.4.4.4h4.4c.5 0 .9-.4.9-.9v-4.4c0-.2-.2-.4-.4-.4zm-9.9 5.3V19c0-.2-.2-.4-.4-.4h-3v-3c0-.2-.2-.4-.4-.4H5.4c-.2 0-.4.2-.4.4v4.4c0 .5.4.9.9.9h4.4c.2 0 .4-.2.4-.4z\" fill=\"%23333\"/></svg>');--fullscreen-icon-exit: url('data:image/svg+xml,<svg viewBox=\"0 0 26 26\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M20.6 10.7H16a.9.9 0 0 1-.8-.8v-4.5c0-.2.2-.4.4-.4h1.4c.3 0 .5.2.5.4v3h3c.2 0 .4.2.4.5v1.4c0 .2-.2.4-.4.4zm-9.9-.8V5.4c0-.2-.2-.4-.4-.4H8.9c-.3 0-.5.2-.5.4v3h-3c-.2 0-.4.2-.4.5v1.4c0 .2.2.4.4.4H9.9c.4 0 .8-.4.8-.8zm0 10.7V16c0-.4-.4-.8-.8-.8H5.4c-.2 0-.4.2-.4.4v1.4c0 .3.2.5.4.5h3v3c0 .2.2.4.5.4h1.4c.2 0 .4-.2.4-.4zm6.9 0v-3h3c.2 0 .4-.2.4-.5v-1.4c0-.2-.2-.4-.4-.4H16c-.4 0-.8.4-.8.8v4.5c0 .2.2.4.4.4h1.5c.3 0 .5-.2.5-.4z\" fill=\"%23333\"/></svg>')}.leaflet-fullscreen-icon{background-image:var(--fullscreen-icon-enter);background-size:26px 26px}.leaflet-fullscreen-icon.leaflet-fullscreen-on{background-image:var(--fullscreen-icon-exit)}.leaflet-container:-webkit-full-screen,.leaflet-container:fullscreen{width:100%!important;height:100%!important;z-index:99999}:host{display:block;height:100%;width:100%}.map-container{position:relative;width:100%;height:100%}.map-frame,.map-element{height:100%;width:100%}.map-frame{view-transition-name:xs-map-container}.leaflet-marker-icon{border-radius:100%!important;background:transparent!important;border:none!important;box-shadow:none!important}.marker-custom{background:transparent!important;border:none!important}.leaflet-marker-pane,.leaflet-marker-icon,.marker-img-container,.marker-custom img{filter:none!important;outline:none!important}.leaflet-marker-icon:focus{outline:none!important}.marker-img-container{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;height:100%!important;border-radius:9999px!important;overflow:hidden!important;background-color:#18181b!important;border:none!important;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f!important}.marker-img-container img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:9999px!important}.marker-selected .marker-img-container{border:none!important;box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 20px #fff6!important;transform:scale(1.15)!important;z-index:1000!important}@keyframes marker-pulse{0%{box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 #fff6}70%{box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 0 10px #fff0}to{box-shadow:0 0 0 2px #18181b,0 0 0 4px #fff,0 0 #fff0}}.marker-selected .marker-img-container{animation:marker-pulse 2s infinite}@keyframes slide-up{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slide-down{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}.animate-slide-up{animation:slide-up .4s cubic-bezier(.16,1,.3,1) forwards}.animate-slide-down{animation:slide-down .4s cubic-bezier(.16,1,.3,1) forwards}.leaflet-bar,.leaflet-control-zoom,.leaflet-control-fullscreen,.leaflet-control-layers{border:none!important;box-shadow:none!important;background:transparent!important}.leaflet-bar a,.leaflet-control-fullscreen a,.leaflet-control-maximize a,.leaflet-control-layers-toggle,.leaflet-control-custom,.leaflet-bar a:first-child,.leaflet-bar a:last-child{background-color:#18181b!important;color:#fff!important;border:none!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:all .2s ease!important;border-radius:8px!important;margin-bottom:6px!important;width:36px!important;height:36px!important;padding:0!important;box-shadow:0 4px 6px -1px #0000004d!important;outline:none!important;overflow:hidden!important;position:relative!important;text-decoration:none!important}.leaflet-bar a:hover,.leaflet-control-fullscreen a:hover,.leaflet-control-layers-toggle:hover,.leaflet-control-custom:hover{background-color:#27272a!important;transform:translateY(-1px)}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font-size:20px!important;font-weight:500!important;line-height:36px!important;color:#fff!important;background-image:none!important}.leaflet-control-fullscreen a,.leaflet-control-layers-toggle,.fullscreen-icon{background-image:none!important;filter:none!important}.leaflet-control-zoom-fullscreen.fullscreen-icon,.leaflet-control-fullscreen a,.leaflet-touch .leaflet-control-zoom-fullscreen.fullscreen-icon,.leaflet-touch .leaflet-control-fullscreen a{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3'%3E%3C/path%3E%3C/svg%3E\")!important;background-size:18px 18px!important;background-repeat:no-repeat!important;background-position:center center!important;text-indent:-9999px!important}.leaflet-fullscreen-on .leaflet-control-fullscreen a,.leaflet-fullscreen-on .fullscreen-icon,.leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a,.leaflet-touch.leaflet-fullscreen-on .fullscreen-icon{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14h3v3m0-3l-3 3m13-3h3v3m0-3l-3 3M4 10V7h3m0 3l-3-3m13 0h3v3m0-3l-3 3'%3E%3C/path%3E%3C/svg%3E\")!important;background-position:center center!important}.leaflet-control-layers-toggle{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'%3E%3C/polygon%3E%3Cpolyline points='2 17 12 22 22 17'%3E%3C/polyline%3E%3Cpolyline points='2 12 12 17 22 12'%3E%3C/polyline%3E%3C/svg%3E\")!important;background-size:20px 20px!important;background-repeat:no-repeat!important;background-position:center center!important}.leaflet-control-layers-expanded{background-color:#18181b!important;color:#fff!important;border:none!important;border-radius:12px!important;padding:10px!important;box-shadow:0 10px 15px -3px #00000080!important}.leaflet-control-layers-base label{display:flex!important;align-items:center!important;gap:10px!important;padding:6px 4px!important;cursor:pointer!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;color:#fffc!important;transition:color .2s!important}.leaflet-control-layers-base label:hover{color:#fff!important}.leaflet-control-layers-base input[type=radio]{accent-color:white!important;cursor:pointer!important}.leaflet-bar a.leaflet-disabled{opacity:.2!important;cursor:not-allowed!important}.leaflet-container{background:#000!important}.leaflet-control-fullscreen a:before,.leaflet-control-fullscreen a:after,.fullscreen-icon:before,.fullscreen-icon:after{display:none!important;content:none!important}.leaflet-container:-webkit-full-screen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:-ms-fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-pseudo-fullscreen{position:fixed!important;width:100%!important;height:100%!important;top:0!important;left:0!important;z-index:99999}\n"] }]
19643
- }], propDecorators: { center: [{ type: i0.Input, args: [{ isSignal: true, alias: "center", required: false }] }], zoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoom", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], draggable: [{ type: i0.Input, args: [{ isSignal: true, alias: "draggable", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], isDarkMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "isDarkMode", required: false }] }], showInfoBlock: [{ type: i0.Input, args: [{ isSignal: true, alias: "showInfoBlock", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], selectedMarkerId: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedMarkerId", required: false }] }], selectedItem: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedItem", required: false }] }], isSingle: [{ type: i0.Input, args: [{ isSignal: true, alias: "isSingle", required: false }] }], mapId: [{ type: i0.Input, args: [{ isSignal: true, alias: "mapId", required: false }] }], mapElement: [{ type: i0.ViewChild, args: ['mapElement', { isSignal: true }] }], changeCoordinates: [{ type: i0.Output, args: ["changeCoordinates"] }], clickMarker: [{ type: i0.Output, args: ["clickMarker"] }], clickMap: [{ type: i0.Output, args: ["clickMap"] }], clickInfoItem: [{ type: i0.Output, args: ["clickInfoItem"] }], clickInfoEvent: [{ type: i0.Output, args: ["clickInfoEvent"] }] } });
19684
+ }], propDecorators: { center: [{ type: i0.Input, args: [{ isSignal: true, alias: "center", required: false }] }], zoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoom", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], draggable: [{ type: i0.Input, args: [{ isSignal: true, alias: "draggable", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], isDarkMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "isDarkMode", required: false }] }], showInfoBlock: [{ type: i0.Input, args: [{ isSignal: true, alias: "showInfoBlock", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], selectedMarkerId: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedMarkerId", required: false }] }], selectedItem: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedItem", required: false }] }], isSingle: [{ type: i0.Input, args: [{ isSignal: true, alias: "isSingle", required: false }] }], mapId: [{ type: i0.Input, args: [{ isSignal: true, alias: "mapId", required: false }] }], tileUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "tileUrl", required: false }] }], mapElement: [{ type: i0.ViewChild, args: ['mapElement', { isSignal: true }] }], changeCoordinates: [{ type: i0.Output, args: ["changeCoordinates"] }], clickMarker: [{ type: i0.Output, args: ["clickMarker"] }], clickMap: [{ type: i0.Output, args: ["clickMap"] }], clickInfoItem: [{ type: i0.Output, args: ["clickInfoItem"] }], clickInfoEvent: [{ type: i0.Output, args: ["clickInfoEvent"] }] } });
19644
19685
 
19645
19686
  var MAPLIBRE$1 = {
19646
19687
  LOADING: "Cargando mapa...",
@@ -19663,7 +19704,7 @@ var MAPLIBRE$1 = {
19663
19704
  STATE_INACTIVE: "Inactivo",
19664
19705
  VIEW_PROFILE: "Más info"
19665
19706
  };
19666
- var es$2 = {
19707
+ var es$1 = {
19667
19708
  MAPLIBRE: MAPLIBRE$1
19668
19709
  };
19669
19710
 
@@ -19688,7 +19729,7 @@ var MAPLIBRE = {
19688
19729
  STATE_INACTIVE: "Inactive",
19689
19730
  VIEW_PROFILE: "More info"
19690
19731
  };
19691
- var en$2 = {
19732
+ var en$1 = {
19692
19733
  MAPLIBRE: MAPLIBRE
19693
19734
  };
19694
19735
 
@@ -19698,7 +19739,7 @@ class XSMapLibrePopupService {
19698
19739
  constructor() {
19699
19740
  if (typeof this.translateService?.registerTranslations ===
19700
19741
  'function') {
19701
- this.translateService.registerTranslations({ es: es$2, en: en$2 });
19742
+ this.translateService.registerTranslations({ es: es$1, en: en$1 });
19702
19743
  }
19703
19744
  }
19704
19745
  t(key) {
@@ -19923,7 +19964,7 @@ class XSMapLibreService {
19923
19964
  this.popupService = popupService;
19924
19965
  if (typeof this.translateService?.registerTranslations ===
19925
19966
  'function') {
19926
- this.translateService.registerTranslations({ es: es$2, en: en$2 });
19967
+ this.translateService.registerTranslations({ es: es$1, en: en$1 });
19927
19968
  }
19928
19969
  }
19929
19970
  async insertMapLibre() {
@@ -21071,7 +21112,7 @@ var LOAD_MORE$1 = "Cargar más";
21071
21112
  var ERROR_SANITIZE$1 = "No nos mandes cosas malas...";
21072
21113
  var ERROR_NO_TEXT$1 = "¡No has escrito nada!";
21073
21114
  var PENDING$1 = "Pendiente";
21074
- var es$1 = {
21115
+ var es = {
21075
21116
  COMMENTS: COMMENTS$1,
21076
21117
  WRITE_COMMENT: WRITE_COMMENT$1,
21077
21118
  SEND_COMMENT: SEND_COMMENT$1,
@@ -21108,7 +21149,7 @@ var LOAD_MORE = "Load more";
21108
21149
  var ERROR_SANITIZE = "Don't send bad stuff...";
21109
21150
  var ERROR_NO_TEXT = "You haven't written anything!";
21110
21151
  var PENDING = "Pending";
21111
- var en$1 = {
21152
+ var en = {
21112
21153
  COMMENTS: COMMENTS,
21113
21154
  WRITE_COMMENT: WRITE_COMMENT,
21114
21155
  SEND_COMMENT: SEND_COMMENT,
@@ -21193,13 +21234,15 @@ class XSProfileCommentsComponent {
21193
21234
  ngOnInit() {
21194
21235
  if (typeof this.translateService?.registerTranslations ===
21195
21236
  'function') {
21196
- this.translateService.registerTranslations({ es: es$1, en: en$1 });
21237
+ this.translateService.registerTranslations({ es, en });
21197
21238
  }
21198
21239
  this.loadTexts();
21199
- this.translateService.currentLang$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => this.loadTexts());
21240
+ this.translateService.currentLang$
21241
+ .pipe(takeUntilDestroyed(this.destroyRef))
21242
+ .subscribe(() => this.loadTexts());
21200
21243
  }
21201
21244
  loadTexts() {
21202
- this.i18nTexts.set(this.translateService.getLanguage() === 'es' ? es$1 : en$1);
21245
+ this.i18nTexts.set(this.translateService.getLanguage() === 'es' ? es : en);
21203
21246
  }
21204
21247
  submit() {
21205
21248
  if (!this.valueState()) {
@@ -21621,11 +21664,11 @@ class XSProfileTopsComponent {
21621
21664
  return { path, queryParams };
21622
21665
  }
21623
21666
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSProfileTopsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21624
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: XSProfileTopsComponent, isStandalone: true, selector: "xs-profile-tops", inputs: { itemType: { classPropertyName: "itemType", publicName: "itemType", isSignal: true, isRequired: true, transformFunction: null }, itemSubtype: { classPropertyName: "itemSubtype", publicName: "itemSubtype", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: true, transformFunction: null }, positions: { classPropertyName: "positions", publicName: "positions", isSignal: true, isRequired: true, transformFunction: null }, admin: { classPropertyName: "admin", publicName: "admin", isSignal: true, isRequired: false, transformFunction: null }, links: { classPropertyName: "links", publicName: "links", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rankingTab: "rankingTab", rankingClick: "rankingClick" }, host: { attributes: { "xs-profile-tops-host": "" } }, ngImport: i0, template: "@if (loading()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:px-8\" aria-hidden=\"true\">\n <div class=\"flex items-center gap-6\">\n <div class=\"h-20 w-28 rounded-lg bg-zinc-800 animate-pulse\"></div>\n <div class=\"hidden w-px self-stretch bg-white/5 sm:block\"></div>\n <div class=\"min-w-0 flex-1\">\n <div class=\"h-4 w-40 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-2 h-3 w-56 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-4 h-7 w-72 rounded-lg bg-zinc-800 animate-pulse\"></div>\n </div>\n </div>\n </section>\n} @else if (!hasAnyPosition()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 text-center sm:py-7\" aria-label=\"Ranking\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-600\">\n {{ title() }}\n </p>\n <div class=\"mx-auto my-3 h-px w-12 bg-white/10\"></div>\n <p class=\"text-sm text-zinc-500\">{{ texts().noPositionYet ?? 'Sin posici\u00F3n todav\u00EDa' }}</p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"mt-3 inline-block text-[11px] uppercase tracking-[0.14em] text-zinc-600 hover:text-zinc-300 transition-colors\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver ranking' }} \u2192\n </a>\n </section>\n} @else {\n <section\n class=\"relative overflow-hidden rounded-xl bg-zinc-900/50 px-6 py-5 sm:px-8 sm:py-6\"\n aria-label=\"Ranking\"\n >\n <span\n class=\"absolute inset-y-0 left-0 w-[3px] bg-gradient-to-b {{ accentClass() }}\"\n aria-hidden=\"true\"\n ></span>\n\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-500\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-500 hover:text-white transition-colors\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver ranking' }} \u2192\n </a>\n </div>\n\n <div\n class=\"mt-4 flex flex-col items-start gap-y-3 sm:mt-4 sm:flex-row sm:flex-nowrap sm:items-start sm:gap-x-8\"\n >\n @if (currentPosition() !== null) {\n <p\n class=\"shrink-0 text-7xl sm:text-8xl font-black leading-none tracking-tighter text-white\"\n >\n <span class=\"text-zinc-600\">#</span>{{ formattedPosition() }}\n </p>\n <span class=\"hidden w-px self-stretch bg-white/10 sm:block\" aria-hidden=\"true\"></span>\n }\n <div class=\"w-full min-w-0 sm:w-auto sm:flex-1\">\n <p class=\"text-sm font-black uppercase tracking-[0.24em] text-zinc-100\">\n @if (scope() === 'global') {\n {{ topWorldLabel() }}\n } @else {\n Top {{ texts().country }}\n }\n </p>\n <p class=\"mt-1 text-[11px] uppercase tracking-[0.2em] text-zinc-500\">\n @if (period() === 'total') {\n Ranking {{ texts().total }}\n } @else if (period() === 'annual') {\n Ranking {{ texts().annual ?? 'Anual' }} \u00B7 {{ currentYear }}\n } @else {\n Ranking {{ texts().monthly ?? 'Mensual' }} \u00B7 {{ texts().currentMonth }}\n {{ currentYear }}\n }\n </p>\n\n @if (currentPosition() === null) {\n <p class=\"mt-1.5 text-xs text-zinc-400\">\n {{ texts().noPositionHere ?? 'Sin posici\u00F3n en este tramo' }}\n </p>\n }\n\n <div\n class=\"flex flex-wrap items-center\"\n [class]=\"currentPosition() === null ? 'mt-3 gap-1.5' : 'mt-4 gap-2'\"\n >\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'global'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('global')\"\n >\n {{ topWorldLabel() }}\n </button>\n @if (hasCountry()) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'country'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('country')\"\n >\n {{ texts().country }}\n </button>\n }\n </div>\n\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'total'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('total')\"\n >\n {{ texts().total }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'annual'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('annual')\"\n >\n {{ texts().annual ?? 'Anual' }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'monthly'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('monthly')\"\n >\n {{ texts().monthly ?? 'Mensual' }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </section>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
21667
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: XSProfileTopsComponent, isStandalone: true, selector: "xs-profile-tops", inputs: { itemType: { classPropertyName: "itemType", publicName: "itemType", isSignal: true, isRequired: true, transformFunction: null }, itemSubtype: { classPropertyName: "itemSubtype", publicName: "itemSubtype", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: true, transformFunction: null }, positions: { classPropertyName: "positions", publicName: "positions", isSignal: true, isRequired: true, transformFunction: null }, admin: { classPropertyName: "admin", publicName: "admin", isSignal: true, isRequired: false, transformFunction: null }, links: { classPropertyName: "links", publicName: "links", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rankingTab: "rankingTab", rankingClick: "rankingClick" }, host: { attributes: { "xs-profile-tops-host": "" } }, ngImport: i0, template: "@if (loading()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:px-8\" aria-hidden=\"true\">\n <div class=\"flex items-center gap-6\">\n <div class=\"h-20 w-28 rounded-lg bg-zinc-800 animate-pulse\"></div>\n <div class=\"hidden w-px self-stretch bg-white/5 sm:block\"></div>\n <div class=\"min-w-0 flex-1\">\n <div class=\"h-4 w-40 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-2 h-3 w-56 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-4 h-7 w-72 rounded-lg bg-zinc-800 animate-pulse\"></div>\n </div>\n </div>\n </section>\n} @else if (!hasAnyPosition()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:py-7\" aria-label=\"Ranking\">\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-600\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-600 hover:text-zinc-300 transition-colors cursor-pointer\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver ranking' }} \u2192\n </a>\n </div>\n <p class=\"mt-3 text-sm text-zinc-500\">{{ texts().noPositionYet ?? 'Sin posici\u00F3n todav\u00EDa' }}</p>\n </section>\n} @else {\n <section\n class=\"relative overflow-hidden rounded-xl bg-zinc-900/50 px-6 py-5 sm:px-8 sm:py-6\"\n aria-label=\"Ranking\"\n >\n <span\n class=\"absolute inset-y-0 left-0 w-[3px] bg-gradient-to-b {{ accentClass() }}\"\n aria-hidden=\"true\"\n ></span>\n\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-500\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-500 hover:text-white transition-colors cursor-pointer\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver ranking' }} \u2192\n </a>\n </div>\n\n <div\n class=\"mt-4 flex flex-col items-start gap-y-3 sm:mt-4 sm:flex-row sm:flex-nowrap sm:items-start sm:gap-x-8\"\n >\n @if (currentPosition() !== null) {\n <p\n class=\"shrink-0 text-7xl sm:text-8xl font-black leading-none tracking-tighter text-white\"\n >\n <span class=\"text-zinc-600\">#</span>{{ formattedPosition() }}\n </p>\n <span class=\"hidden w-px self-stretch bg-white/10 sm:block\" aria-hidden=\"true\"></span>\n }\n <div class=\"w-full min-w-0 sm:w-auto sm:flex-1\">\n <p class=\"text-sm font-black uppercase tracking-[0.24em] text-zinc-100\">\n @if (scope() === 'global') {\n {{ topWorldLabel() }}\n } @else {\n Top {{ texts().country }}\n }\n </p>\n <p class=\"mt-1 text-[11px] uppercase tracking-[0.2em] text-zinc-500\">\n @if (period() === 'total') {\n Ranking {{ texts().total }}\n } @else if (period() === 'annual') {\n Ranking {{ texts().annual ?? 'Anual' }} \u00B7 {{ currentYear }}\n } @else {\n Ranking {{ texts().monthly ?? 'Mensual' }} \u00B7 {{ texts().currentMonth }}\n {{ currentYear }}\n }\n </p>\n\n @if (currentPosition() === null) {\n <p class=\"mt-1.5 text-xs text-zinc-400\">\n {{ texts().noPositionHere ?? 'Sin posici\u00F3n en este tramo' }}\n </p>\n }\n\n <div\n class=\"flex flex-wrap items-center\"\n [class]=\"currentPosition() === null ? 'mt-3 gap-1.5' : 'mt-4 gap-2'\"\n >\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'global'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('global')\"\n >\n {{ topWorldLabel() }}\n </button>\n @if (hasCountry()) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'country'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('country')\"\n >\n {{ texts().country }}\n </button>\n }\n </div>\n\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'total'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('total')\"\n >\n {{ texts().total }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'annual'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('annual')\"\n >\n {{ texts().annual ?? 'Anual' }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'monthly'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('monthly')\"\n >\n {{ texts().monthly ?? 'Mensual' }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </section>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
21625
21668
  }
21626
21669
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSProfileTopsComponent, decorators: [{
21627
21670
  type: Component,
21628
- args: [{ selector: 'xs-profile-tops', host: { 'xs-profile-tops-host': '' }, imports: [CommonModule, RouterModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (loading()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:px-8\" aria-hidden=\"true\">\n <div class=\"flex items-center gap-6\">\n <div class=\"h-20 w-28 rounded-lg bg-zinc-800 animate-pulse\"></div>\n <div class=\"hidden w-px self-stretch bg-white/5 sm:block\"></div>\n <div class=\"min-w-0 flex-1\">\n <div class=\"h-4 w-40 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-2 h-3 w-56 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-4 h-7 w-72 rounded-lg bg-zinc-800 animate-pulse\"></div>\n </div>\n </div>\n </section>\n} @else if (!hasAnyPosition()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 text-center sm:py-7\" aria-label=\"Ranking\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-600\">\n {{ title() }}\n </p>\n <div class=\"mx-auto my-3 h-px w-12 bg-white/10\"></div>\n <p class=\"text-sm text-zinc-500\">{{ texts().noPositionYet ?? 'Sin posici\u00F3n todav\u00EDa' }}</p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"mt-3 inline-block text-[11px] uppercase tracking-[0.14em] text-zinc-600 hover:text-zinc-300 transition-colors\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver ranking' }} \u2192\n </a>\n </section>\n} @else {\n <section\n class=\"relative overflow-hidden rounded-xl bg-zinc-900/50 px-6 py-5 sm:px-8 sm:py-6\"\n aria-label=\"Ranking\"\n >\n <span\n class=\"absolute inset-y-0 left-0 w-[3px] bg-gradient-to-b {{ accentClass() }}\"\n aria-hidden=\"true\"\n ></span>\n\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-500\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-500 hover:text-white transition-colors\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver ranking' }} \u2192\n </a>\n </div>\n\n <div\n class=\"mt-4 flex flex-col items-start gap-y-3 sm:mt-4 sm:flex-row sm:flex-nowrap sm:items-start sm:gap-x-8\"\n >\n @if (currentPosition() !== null) {\n <p\n class=\"shrink-0 text-7xl sm:text-8xl font-black leading-none tracking-tighter text-white\"\n >\n <span class=\"text-zinc-600\">#</span>{{ formattedPosition() }}\n </p>\n <span class=\"hidden w-px self-stretch bg-white/10 sm:block\" aria-hidden=\"true\"></span>\n }\n <div class=\"w-full min-w-0 sm:w-auto sm:flex-1\">\n <p class=\"text-sm font-black uppercase tracking-[0.24em] text-zinc-100\">\n @if (scope() === 'global') {\n {{ topWorldLabel() }}\n } @else {\n Top {{ texts().country }}\n }\n </p>\n <p class=\"mt-1 text-[11px] uppercase tracking-[0.2em] text-zinc-500\">\n @if (period() === 'total') {\n Ranking {{ texts().total }}\n } @else if (period() === 'annual') {\n Ranking {{ texts().annual ?? 'Anual' }} \u00B7 {{ currentYear }}\n } @else {\n Ranking {{ texts().monthly ?? 'Mensual' }} \u00B7 {{ texts().currentMonth }}\n {{ currentYear }}\n }\n </p>\n\n @if (currentPosition() === null) {\n <p class=\"mt-1.5 text-xs text-zinc-400\">\n {{ texts().noPositionHere ?? 'Sin posici\u00F3n en este tramo' }}\n </p>\n }\n\n <div\n class=\"flex flex-wrap items-center\"\n [class]=\"currentPosition() === null ? 'mt-3 gap-1.5' : 'mt-4 gap-2'\"\n >\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'global'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('global')\"\n >\n {{ topWorldLabel() }}\n </button>\n @if (hasCountry()) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'country'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('country')\"\n >\n {{ texts().country }}\n </button>\n }\n </div>\n\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'total'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('total')\"\n >\n {{ texts().total }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'annual'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('annual')\"\n >\n {{ texts().annual ?? 'Anual' }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'monthly'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('monthly')\"\n >\n {{ texts().monthly ?? 'Mensual' }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </section>\n}\n" }]
21671
+ args: [{ selector: 'xs-profile-tops', host: { 'xs-profile-tops-host': '' }, imports: [CommonModule, RouterModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (loading()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:px-8\" aria-hidden=\"true\">\n <div class=\"flex items-center gap-6\">\n <div class=\"h-20 w-28 rounded-lg bg-zinc-800 animate-pulse\"></div>\n <div class=\"hidden w-px self-stretch bg-white/5 sm:block\"></div>\n <div class=\"min-w-0 flex-1\">\n <div class=\"h-4 w-40 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-2 h-3 w-56 rounded bg-zinc-800 animate-pulse\"></div>\n <div class=\"mt-4 h-7 w-72 rounded-lg bg-zinc-800 animate-pulse\"></div>\n </div>\n </div>\n </section>\n} @else if (!hasAnyPosition()) {\n <section class=\"rounded-xl bg-zinc-900/50 px-6 py-6 sm:py-7\" aria-label=\"Ranking\">\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-600\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-600 hover:text-zinc-300 transition-colors cursor-pointer\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver ranking' }} \u2192\n </a>\n </div>\n <p class=\"mt-3 text-sm text-zinc-500\">{{ texts().noPositionYet ?? 'Sin posici\u00F3n todav\u00EDa' }}</p>\n </section>\n} @else {\n <section\n class=\"relative overflow-hidden rounded-xl bg-zinc-900/50 px-6 py-5 sm:px-8 sm:py-6\"\n aria-label=\"Ranking\"\n >\n <span\n class=\"absolute inset-y-0 left-0 w-[3px] bg-gradient-to-b {{ accentClass() }}\"\n aria-hidden=\"true\"\n ></span>\n\n <div class=\"flex items-center justify-between gap-4\">\n <p class=\"text-[11px] font-black uppercase tracking-[0.28em] text-zinc-500\">\n {{ title() }}\n </p>\n <a\n [routerLink]=\"rankingLink().path\"\n [queryParams]=\"rankingLink().queryParams\"\n class=\"shrink-0 text-[11px] uppercase tracking-[0.14em] text-zinc-500 hover:text-white transition-colors cursor-pointer\"\n (click)=\"onRankingClick()\"\n >\n {{ texts().viewRanking ?? 'Ver ranking' }} \u2192\n </a>\n </div>\n\n <div\n class=\"mt-4 flex flex-col items-start gap-y-3 sm:mt-4 sm:flex-row sm:flex-nowrap sm:items-start sm:gap-x-8\"\n >\n @if (currentPosition() !== null) {\n <p\n class=\"shrink-0 text-7xl sm:text-8xl font-black leading-none tracking-tighter text-white\"\n >\n <span class=\"text-zinc-600\">#</span>{{ formattedPosition() }}\n </p>\n <span class=\"hidden w-px self-stretch bg-white/10 sm:block\" aria-hidden=\"true\"></span>\n }\n <div class=\"w-full min-w-0 sm:w-auto sm:flex-1\">\n <p class=\"text-sm font-black uppercase tracking-[0.24em] text-zinc-100\">\n @if (scope() === 'global') {\n {{ topWorldLabel() }}\n } @else {\n Top {{ texts().country }}\n }\n </p>\n <p class=\"mt-1 text-[11px] uppercase tracking-[0.2em] text-zinc-500\">\n @if (period() === 'total') {\n Ranking {{ texts().total }}\n } @else if (period() === 'annual') {\n Ranking {{ texts().annual ?? 'Anual' }} \u00B7 {{ currentYear }}\n } @else {\n Ranking {{ texts().monthly ?? 'Mensual' }} \u00B7 {{ texts().currentMonth }}\n {{ currentYear }}\n }\n </p>\n\n @if (currentPosition() === null) {\n <p class=\"mt-1.5 text-xs text-zinc-400\">\n {{ texts().noPositionHere ?? 'Sin posici\u00F3n en este tramo' }}\n </p>\n }\n\n <div\n class=\"flex flex-wrap items-center\"\n [class]=\"currentPosition() === null ? 'mt-3 gap-1.5' : 'mt-4 gap-2'\"\n >\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'global'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('global')\"\n >\n {{ topWorldLabel() }}\n </button>\n @if (hasCountry()) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n scope() === 'country'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setScope('country')\"\n >\n {{ texts().country }}\n </button>\n }\n </div>\n\n <div class=\"inline-flex items-center gap-0.5 rounded-lg bg-black/50 p-1\" role=\"tablist\">\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'total'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('total')\"\n >\n {{ texts().total }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'annual'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('annual')\"\n >\n {{ texts().annual ?? 'Anual' }}\n </button>\n <button\n type=\"button\"\n role=\"tab\"\n class=\"rounded-md px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] transition-colors\"\n [class]=\"\n period() === 'monthly'\n ? 'bg-white/10 text-white'\n : 'text-zinc-500 hover:text-zinc-200'\n \"\n (click)=\"setPeriod('monthly')\"\n >\n {{ texts().monthly ?? 'Mensual' }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </section>\n}\n" }]
21629
21672
  }], propDecorators: { itemType: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemType", required: true }] }], itemSubtype: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemSubtype", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: true }] }], positions: [{ type: i0.Input, args: [{ isSignal: true, alias: "positions", required: true }] }], admin: [{ type: i0.Input, args: [{ isSignal: true, alias: "admin", required: false }] }], links: [{ type: i0.Input, args: [{ isSignal: true, alias: "links", required: false }] }], rankingTab: [{ type: i0.Output, args: ["rankingTab"] }], rankingClick: [{ type: i0.Output, args: ["rankingClick"] }] } });
21630
21673
 
21631
21674
  class XSStepperComponent {
@@ -21641,748 +21684,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
21641
21684
  args: [{ selector: 'xs-stepper', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, host: { 'xs-stepper-host': '' }, template: "<div class=\"xs-stepper-inner\">\n @if (variant() === 'segments') {\n <div class=\"xs-stepper-seg-head\">\n <div\n class=\"xs-stepper-segments\"\n role=\"progressbar\"\n [attr.aria-valuemin]=\"1\"\n [attr.aria-valuemax]=\"steps().length\"\n [attr.aria-valuenow]=\"current() + 1\"\n [attr.aria-label]=\"steps()[current()]\"\n >\n @for (step of steps(); track $index; let i = $index) {\n <div\n class=\"xs-stepper-seg\"\n [class.filled]=\"i <= current()\"\n >\n <div class=\"xs-stepper-seg-fill\"></div>\n </div>\n }\n </div>\n <div class=\"xs-stepper-kicker\" aria-hidden=\"true\">\n <span class=\"xs-stepper-count\">\n {{ current() + 1 }} / {{ steps().length }}\n </span>\n <span class=\"xs-stepper-sep\">\u00B7</span>\n <span class=\"xs-stepper-current-label\">\n {{ steps()[current()] }}\n </span>\n </div>\n </div>\n } @else {\n <div\n class=\"xs-stepper-steps\"\n [class.xs-stepper-sm]=\"size() === 'sm'\"\n [class.xs-stepper-lg]=\"size() === 'lg'\"\n >\n <div class=\"xs-stepper-track\">\n @for (step of steps(); track $index; let i = $index) {\n @if (i > 0) {\n <div class=\"xs-stepper-line-wrap\">\n <div\n class=\"xs-stepper-line\"\n [class.completed]=\"i <= current()\"\n ></div>\n </div>\n }\n <div class=\"xs-stepper-step-wrap\">\n <div\n class=\"xs-stepper-step\"\n [class.active]=\"i === current()\"\n [class.completed]=\"i < current()\"\n >\n <div class=\"xs-stepper-circle\">\n @if (i < current()) {\n <svg\n class=\"xs-stepper-check\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"3\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <polyline points=\"20 6 9 17 4 12\"></polyline>\n </svg>\n } @else {\n <span>{{ i + 1 }}</span>\n }\n </div>\n <span class=\"xs-stepper-label\">{{ step }}</span>\n </div>\n </div>\n }\n </div>\n </div>\n }\n <div class=\"xs-stepper-content\">\n <ng-content />\n </div>\n</div>\n", styles: [".xs-stepper-inner{width:100%}.xs-stepper-steps{width:100%;overflow-x:auto;padding:.75rem .25rem .5rem}@media(min-width:640px){.xs-stepper-steps{padding:1rem .25rem .5rem}}.xs-stepper-steps{-webkit-overflow-scrolling:touch;scrollbar-width:none}.xs-stepper-steps::-webkit-scrollbar{display:none}.xs-stepper-track{display:flex;width:max-content;min-width:100%;align-items:center}@media(min-width:640px){.xs-stepper-track{width:auto;justify-content:center}}.xs-stepper-step-wrap{display:flex;flex-direction:column;align-items:center}.xs-stepper-step{position:relative;display:flex;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:.375rem}@media(min-width:640px){.xs-stepper-step{gap:.5rem}}.xs-stepper-circle{display:flex;height:1.75rem;width:1.75rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity, 1));font-size:11px;font-weight:700;--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;transition-timing-function:cubic-bezier(0,0,.2,1)}@media(min-width:640px){.xs-stepper-circle{height:2rem;width:2rem;font-size:.75rem;line-height:1rem}}.xs-stepper-circle>span{line-height:1;transform:translateY(.14em)}.xs-stepper-label{display:none;padding-left:.25rem;padding-right:.25rem;text-align:center;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.15em;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media(min-width:640px){.xs-stepper-label{display:block}}.xs-stepper-label{white-space:nowrap}.xs-stepper-step.active .xs-stepper-circle{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));transform:scale(1.08)}@media(min-width:640px){.xs-stepper-step.active .xs-stepper-circle{transform:scale(1.1)}}.xs-stepper-step.completed .xs-stepper-circle{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.xs-stepper-step.active .xs-stepper-label{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity, 1))}.xs-stepper-step.completed .xs-stepper-label{color:#34d399b3}.xs-stepper-check{height:.75rem;width:.75rem}@media(min-width:640px){.xs-stepper-check{height:.875rem;width:.875rem}}.xs-stepper-check{animation:check-appear .3s ease-out}@keyframes check-appear{0%{transform:scale(0);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.xs-stepper-line-wrap{margin-left:.375rem;margin-right:.375rem;display:flex;align-items:center}@media(min-width:640px){.xs-stepper-line-wrap{margin-left:.75rem;margin-right:.75rem}}.xs-stepper-line-wrap{min-width:20px;flex:1 1 24px}.xs-stepper-line{height:1px;width:100%;--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;transition-timing-function:cubic-bezier(0,0,.2,1)}.xs-stepper-line.completed{background-color:#10b98180}.xs-stepper-content{margin-top:2rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}@media(min-width:640px){.xs-stepper-content{margin-top:2.5rem}}.xs-stepper-seg-head+.xs-stepper-content{margin-top:1rem}@media(min-width:640px){.xs-stepper-seg-head+.xs-stepper-content{margin-top:1.25rem}}.xs-stepper-segments{display:flex;width:100%;gap:.375rem}@media(min-width:640px){.xs-stepper-segments{gap:.5rem}}.xs-stepper-seg{height:.375rem;flex:1 1 0%;overflow:hidden;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity, 1))}.xs-stepper-seg-fill{height:100%;width:0px;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;transition-timing-function:cubic-bezier(0,0,.2,1)}.xs-stepper-seg.filled .xs-stepper-seg-fill{width:100%}.xs-stepper-kicker{margin-top:.75rem;display:flex;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.15em;--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1));white-space:nowrap}.xs-stepper-count{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.xs-stepper-sep{--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity, 1))}.xs-stepper-current-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity, 1))}.xs-stepper-sm .xs-stepper-circle{height:1.5rem;width:1.5rem;font-size:10px}.xs-stepper-sm .xs-stepper-label{display:none}.xs-stepper-sm .xs-stepper-line-wrap{min-width:12px;flex:1 1 16px;margin-left:.25rem;margin-right:.25rem}.xs-stepper-lg .xs-stepper-circle{height:2.25rem;width:2.25rem;font-size:.75rem;line-height:1rem}@media(min-width:640px){.xs-stepper-lg .xs-stepper-circle{height:2.5rem;width:2.5rem;font-size:.875rem;line-height:1.25rem}}.xs-stepper-lg .xs-stepper-label{display:none;font-size:11px;letter-spacing:.18em}@media(min-width:640px){.xs-stepper-lg .xs-stepper-label{display:block;font-size:.75rem;line-height:1rem}}.xs-stepper-lg .xs-stepper-line-wrap{min-width:40px;margin-left:.5rem;margin-right:.5rem}@media(min-width:640px){.xs-stepper-lg .xs-stepper-line-wrap{margin-left:1rem;margin-right:1rem}}\n"] }]
21642
21685
  }], propDecorators: { steps: [{ type: i0.Input, args: [{ isSignal: true, alias: "steps", required: true }] }], current: [{ type: i0.Input, args: [{ isSignal: true, alias: "current", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
21643
21686
 
21644
- var stepperSource$1 = "Fuente";
21645
- var stepperUrl$1 = "URL";
21646
- var stepperResult$1 = "Resultado";
21647
- var stepperForm$1 = "Formulario";
21648
- var sourceTitle$1 = "Elige la plataforma";
21649
- var sourceSoundcloud$1 = "SoundCloud";
21650
- var sourceYoutube$1 = "YouTube";
21651
- var sourceDescSingle$1 = "Introduce la URL para buscar";
21652
- var urlTitle$1 = "Introduce la URL";
21653
- var urlDescSoundcloud$1 = "Pega el enlace del track para rellenar el formulario automáticamente";
21654
- var urlDescYoutube$1 = "Pega el enlace del vídeo para rellenar el formulario automáticamente";
21655
- var urlPlaceholderSoundcloud$1 = "Introduce la URL";
21656
- var urlPlaceholderYoutube$1 = "Introduce la URL";
21657
- var urlHintSoundcloud$1 = "Enlaces de perfil, track, set o playlist de SoundCloud";
21658
- var urlHintYoutube$1 = "Enlaces de vídeo de YouTube (youtube.com, youtu.be)";
21659
- var searchBtn$1 = "Buscar";
21660
- var continueBtn$1 = "Continuar";
21661
- var backBtn$1 = "Volver";
21662
- var loadingText$1 = "Buscando información...";
21663
- var loadingDuplicate$1 = "Comprobando si ya existe...";
21664
- var errorInvalidUrl$1 = "URL no válida. Solo se admiten enlaces de SoundCloud y YouTube";
21665
- var errorInvalidUrlSoundcloud$1 = "URL no válida. Introduce un enlace de SoundCloud";
21666
- var errorInvalidUrlYoutube$1 = "URL no válida. Introduce un enlace de YouTube";
21667
- var errorNoData$1 = "No se pudieron obtener datos de la URL";
21668
- var errorApi$1 = "Error al conectar con el servidor";
21669
- var alreadyExistsTitle$1 = "Ya existe en XSMusic";
21670
- var alreadyExistsDesc$1 = "Este contenido ya está registrado en nuestra plataforma.";
21671
- var alreadyExistsLink$1 = "Ver en XSMusic";
21672
- var formTitle$1 = "Datos obtenidos";
21673
- var formDesc$1 = "Todos los campos se han rellenado automáticamente. Puedes revisarlos antes de enviar.";
21674
- var sendBtn$1 = "Enviar";
21675
- var es = {
21676
- stepperSource: stepperSource$1,
21677
- stepperUrl: stepperUrl$1,
21678
- stepperResult: stepperResult$1,
21679
- stepperForm: stepperForm$1,
21680
- sourceTitle: sourceTitle$1,
21681
- sourceSoundcloud: sourceSoundcloud$1,
21682
- sourceYoutube: sourceYoutube$1,
21683
- sourceDescSingle: sourceDescSingle$1,
21684
- urlTitle: urlTitle$1,
21685
- urlDescSoundcloud: urlDescSoundcloud$1,
21686
- urlDescYoutube: urlDescYoutube$1,
21687
- urlPlaceholderSoundcloud: urlPlaceholderSoundcloud$1,
21688
- urlPlaceholderYoutube: urlPlaceholderYoutube$1,
21689
- urlHintSoundcloud: urlHintSoundcloud$1,
21690
- urlHintYoutube: urlHintYoutube$1,
21691
- searchBtn: searchBtn$1,
21692
- continueBtn: continueBtn$1,
21693
- backBtn: backBtn$1,
21694
- loadingText: loadingText$1,
21695
- loadingDuplicate: loadingDuplicate$1,
21696
- errorInvalidUrl: errorInvalidUrl$1,
21697
- errorInvalidUrlSoundcloud: errorInvalidUrlSoundcloud$1,
21698
- errorInvalidUrlYoutube: errorInvalidUrlYoutube$1,
21699
- errorNoData: errorNoData$1,
21700
- errorApi: errorApi$1,
21701
- alreadyExistsTitle: alreadyExistsTitle$1,
21702
- alreadyExistsDesc: alreadyExistsDesc$1,
21703
- alreadyExistsLink: alreadyExistsLink$1,
21704
- formTitle: formTitle$1,
21705
- formDesc: formDesc$1,
21706
- sendBtn: sendBtn$1
21707
- };
21708
-
21709
- var stepperSource = "Source";
21710
- var stepperUrl = "URL";
21711
- var stepperResult = "Result";
21712
- var stepperForm = "Form";
21713
- var sourceTitle = "Choose platform";
21714
- var sourceSoundcloud = "SoundCloud";
21715
- var sourceYoutube = "YouTube";
21716
- var sourceDescSingle = "Enter the URL to search";
21717
- var urlTitle = "Enter the URL";
21718
- var urlDescSoundcloud = "Paste the track link to auto-fill the form";
21719
- var urlDescYoutube = "Paste the video link to auto-fill the form";
21720
- var urlPlaceholderSoundcloud = "Enter the URL";
21721
- var urlPlaceholderYoutube = "Enter the URL";
21722
- var urlHintSoundcloud = "SoundCloud profile, track, set or playlist links";
21723
- var urlHintYoutube = "YouTube video links (youtube.com, youtu.be)";
21724
- var searchBtn = "Search";
21725
- var continueBtn = "Continue";
21726
- var backBtn = "Back";
21727
- var loadingText = "Searching...";
21728
- var loadingDuplicate = "Checking if already exists...";
21729
- var errorInvalidUrl = "Invalid URL. Only SoundCloud and YouTube links are supported.";
21730
- var errorInvalidUrlSoundcloud = "Invalid URL. Please enter a SoundCloud link.";
21731
- var errorInvalidUrlYoutube = "Invalid URL. Please enter a YouTube link.";
21732
- var errorNoData = "Could not retrieve data from the URL";
21733
- var errorApi = "Error connecting to the server";
21734
- var alreadyExistsTitle = "Already exists on XSMusic";
21735
- var alreadyExistsDesc = "This content is already registered on our platform.";
21736
- var alreadyExistsLink = "View";
21737
- var formTitle = "Data retrieved";
21738
- var formDesc = "All fields have been filled automatically. You can review them before submitting.";
21739
- var sendBtn = "Send";
21740
- var en = {
21741
- stepperSource: stepperSource,
21742
- stepperUrl: stepperUrl,
21743
- stepperResult: stepperResult,
21744
- stepperForm: stepperForm,
21745
- sourceTitle: sourceTitle,
21746
- sourceSoundcloud: sourceSoundcloud,
21747
- sourceYoutube: sourceYoutube,
21748
- sourceDescSingle: sourceDescSingle,
21749
- urlTitle: urlTitle,
21750
- urlDescSoundcloud: urlDescSoundcloud,
21751
- urlDescYoutube: urlDescYoutube,
21752
- urlPlaceholderSoundcloud: urlPlaceholderSoundcloud,
21753
- urlPlaceholderYoutube: urlPlaceholderYoutube,
21754
- urlHintSoundcloud: urlHintSoundcloud,
21755
- urlHintYoutube: urlHintYoutube,
21756
- searchBtn: searchBtn,
21757
- continueBtn: continueBtn,
21758
- backBtn: backBtn,
21759
- loadingText: loadingText,
21760
- loadingDuplicate: loadingDuplicate,
21761
- errorInvalidUrl: errorInvalidUrl,
21762
- errorInvalidUrlSoundcloud: errorInvalidUrlSoundcloud,
21763
- errorInvalidUrlYoutube: errorInvalidUrlYoutube,
21764
- errorNoData: errorNoData,
21765
- errorApi: errorApi,
21766
- alreadyExistsTitle: alreadyExistsTitle,
21767
- alreadyExistsDesc: alreadyExistsDesc,
21768
- alreadyExistsLink: alreadyExistsLink,
21769
- formTitle: formTitle,
21770
- formDesc: formDesc,
21771
- sendBtn: sendBtn
21772
- };
21773
-
21774
- const DEFAULT_SEND_SCRAPER_LABELS = {
21775
- stepperSource: 'Fuente',
21776
- stepperUrl: 'URL',
21777
- stepperResult: 'Resultado',
21778
- stepperForm: 'Formulario',
21779
- sourceTitle: 'Elige la plataforma',
21780
- sourceSoundcloud: 'SoundCloud',
21781
- sourceYoutube: 'YouTube',
21782
- sourceDescSingle: 'Introduce la URL para buscar',
21783
- urlTitle: 'Introduce la URL',
21784
- urlDescSoundcloud: 'Pega el enlace del track para rellenar el formulario automáticamente',
21785
- urlDescYoutube: 'Pega el enlace del vídeo para rellenar el formulario automáticamente',
21786
- urlPlaceholderSoundcloud: 'Introduce la URL',
21787
- urlPlaceholderYoutube: 'Introduce la URL',
21788
- urlHintSoundcloud: 'Enlaces de perfil, track, set o playlist de SoundCloud',
21789
- urlHintYoutube: 'Enlaces de vídeo de YouTube (youtube.com, youtu.be)',
21790
- searchBtn: 'Buscar',
21791
- continueBtn: 'Continuar',
21792
- backBtn: 'Volver',
21793
- loadingText: 'Buscando información...',
21794
- loadingDuplicate: 'Comprobando si ya existe...',
21795
- errorInvalidUrl: 'URL no válida. Solo se admiten enlaces de SoundCloud y YouTube',
21796
- errorInvalidUrlSoundcloud: 'URL no válida. Introduce un enlace de SoundCloud',
21797
- errorInvalidUrlYoutube: 'URL no válida. Introduce un enlace de YouTube',
21798
- errorNoData: 'No se pudieron obtener datos de la URL',
21799
- errorApi: 'Error al conectar con el servidor',
21800
- alreadyExistsTitle: 'Ya existe en XSMusic',
21801
- alreadyExistsDesc: 'Este contenido ya está registrado en nuestra plataforma.',
21802
- alreadyExistsLink: 'Ver en XSMusic',
21803
- formTitle: 'Datos obtenidos',
21804
- formDesc: 'Todos los campos se han rellenado automáticamente. Puedes revisarlos antes de enviar.',
21805
- sendBtn: 'Enviar',
21806
- };
21807
-
21808
- class XSSendScraperComponent {
21809
- destroyRef = inject(DestroyRef);
21810
- http = inject(HttpClient);
21811
- apiUrl = inject(XS_API_URL);
21812
- translateService = inject(XSTranslateService);
21813
- demoTimeouts = [];
21814
- mode = input('track', ...(ngDevMode ? [{ debugName: "mode" }] : []));
21815
- allowedSources = input([
21816
- 'soundcloud',
21817
- 'youtube',
21818
- ], ...(ngDevMode ? [{ debugName: "allowedSources" }] : []));
21819
- labels = input(DEFAULT_SEND_SCRAPER_LABELS, ...(ngDevMode ? [{ debugName: "labels" }] : []));
21820
- formFields = input(null, ...(ngDevMode ? [{ debugName: "formFields" }] : []));
21821
- demoMode = input(false, ...(ngDevMode ? [{ debugName: "demoMode" }] : []));
21822
- dataResolved = output();
21823
- currentStep = signal(0, ...(ngDevMode ? [{ debugName: "currentStep" }] : []));
21824
- selectedSource = signal(null, ...(ngDevMode ? [{ debugName: "selectedSource" }] : []));
21825
- urlValue = signal('', ...(ngDevMode ? [{ debugName: "urlValue" }] : []));
21826
- loading = signal(false, ...(ngDevMode ? [{ debugName: "loading" }] : []));
21827
- checkingDuplicate = signal(false, ...(ngDevMode ? [{ debugName: "checkingDuplicate" }] : []));
21828
- duplicateInfo = signal(null, ...(ngDevMode ? [{ debugName: "duplicateInfo" }] : []));
21829
- previewData = signal(null, ...(ngDevMode ? [{ debugName: "previewData" }] : []));
21830
- errorMessage = signal(null, ...(ngDevMode ? [{ debugName: "errorMessage" }] : []));
21831
- formModel = signal({}, ...(ngDevMode ? [{ debugName: "formModel" }] : []));
21832
- formReady = signal(false, ...(ngDevMode ? [{ debugName: "formReady" }] : []));
21833
- stepLabels = computed(() => {
21834
- const l = this.labels();
21835
- return [
21836
- l.stepperSource,
21837
- l.stepperUrl,
21838
- l.stepperResult,
21839
- l.stepperForm,
21840
- ];
21841
- }, ...(ngDevMode ? [{ debugName: "stepLabels" }] : []));
21842
- showSourceSelection = computed(() => {
21843
- return this.allowedSources().length > 1;
21844
- }, ...(ngDevMode ? [{ debugName: "showSourceSelection" }] : []));
21845
- canSearch = computed(() => {
21846
- return this.urlValue().trim().length > 0;
21847
- }, ...(ngDevMode ? [{ debugName: "canSearch" }] : []));
21848
- primaryVariant = computed(() => {
21849
- const source = this.selectedSource();
21850
- if (source === 'soundcloud')
21851
- return 'soundcloud';
21852
- if (source === 'youtube')
21853
- return 'youtube';
21854
- return 'youtube';
21855
- }, ...(ngDevMode ? [{ debugName: "primaryVariant" }] : []));
21856
- activeFormFields = computed(() => {
21857
- const custom = this.formFields();
21858
- if (custom)
21859
- return custom;
21860
- const mode = this.mode();
21861
- if (mode === 'track')
21862
- return DEFAULT_TRACK_FIELDS;
21863
- return DEFAULT_PROFILE_FIELDS;
21864
- }, ...(ngDevMode ? [{ debugName: "activeFormFields" }] : []));
21865
- isMobile = isMobile;
21866
- constructor() {
21867
- if (typeof this.translateService?.registerTranslations ===
21868
- 'function') {
21869
- this.translateService.registerTranslations({ es, en });
21870
- }
21871
- }
21872
- ngOnInit() {
21873
- if (this.demoMode()) {
21874
- this.runDemo();
21875
- }
21876
- }
21877
- runDemo() {
21878
- const steps = [
21879
- {
21880
- delay: 600,
21881
- action: () => this.selectSource('soundcloud'),
21882
- },
21883
- {
21884
- delay: 2200,
21885
- action: () => {
21886
- this.urlValue.set('https://soundcloud.com/djpulse/midnight-groove');
21887
- },
21888
- },
21889
- { delay: 3200, action: () => this.onSearch() },
21890
- { delay: 5400, action: () => this.onContinue() },
21891
- ];
21892
- steps.forEach(({ delay, action }) => {
21893
- this.demoTimeouts.push(setTimeout(action, delay));
21894
- });
21895
- this.destroyRef.onDestroy(() => {
21896
- this.demoTimeouts.forEach((timeout) => clearTimeout(timeout));
21897
- this.demoTimeouts = [];
21898
- });
21899
- }
21900
- /**
21901
- * Datos falsos SOLO para demoMode (xsstory/demo-app).
21902
- * En flujo real NUNCA se usa: ante fallo se muestra error, no un artista inventado.
21903
- */
21904
- useMockFallback() {
21905
- if (!this.demoMode())
21906
- return;
21907
- const mode = this.mode();
21908
- const result = mode === 'track'
21909
- ? {
21910
- name: 'Midnight Groove',
21911
- artist: 'DJ Pulse',
21912
- image: 'https://picsum.photos/seed/midnight/400/400',
21913
- source: 'soundcloud',
21914
- sourceUrl: this.urlValue(),
21915
- sourceId: 'sc-track-001',
21916
- year: 2025,
21917
- style: 'House',
21918
- info: 'Lanzamiento en solitario de DJ Pulse con un sonido house profundo y melódico.',
21919
- freeDownloadLink: null,
21920
- buyLink: null,
21921
- }
21922
- : {
21923
- name: 'DJ Pulse',
21924
- country: 'ES',
21925
- style: 'House',
21926
- image: 'https://picsum.photos/seed/djpulse/400/400',
21927
- info: 'Productor y DJ afincado en Barcelona con más de 10 años de trayectoria en la escena house.',
21928
- soundcloudUrl: this.urlValue(),
21929
- website: null,
21930
- };
21931
- this.previewData.set(result);
21932
- this.currentStep.set(2);
21933
- this.loading.set(false);
21934
- }
21935
- buildFormModel(data) {
21936
- const mode = this.mode();
21937
- if (mode === 'track') {
21938
- const track = data;
21939
- return {
21940
- name: track.name || '',
21941
- artists: track.artist ? [track.artist] : [],
21942
- sourceUrl: track.sourceUrl || '',
21943
- sourceId: track.sourceId || '',
21944
- source: this.selectedSource() || '',
21945
- year: track.year || new Date().getFullYear(),
21946
- styles: track.style ? [track.style] : [],
21947
- info: track.info || '',
21948
- freeDownloadLink: track.freeDownloadLink || '',
21949
- buyLink: track.buyLink || '',
21950
- entityType: 'media',
21951
- };
21952
- }
21953
- const profile = data;
21954
- return {
21955
- name: profile.name || '',
21956
- country: profile.country || '',
21957
- styles: profile.style ? [profile.style] : [],
21958
- info: profile.info || '',
21959
- social: { soundcloud: profile.soundcloudUrl || '' },
21960
- entityType: this.mode() === 'profile' ? 'artist' : 'organization',
21961
- };
21962
- }
21963
- onFormReady(_form) {
21964
- this.formReady.set(true);
21965
- }
21966
- selectSource(source) {
21967
- this.selectedSource.set(source);
21968
- this.errorMessage.set(null);
21969
- this.currentStep.set(1);
21970
- }
21971
- onUrlInput(value) {
21972
- this.urlValue.set(value);
21973
- this.errorMessage.set(null);
21974
- }
21975
- resolveUrl(rawUrl) {
21976
- const url = rawUrl.trim();
21977
- if (/(?:www\.|m\.|on\.)?soundcloud\.com\//i.test(url)) {
21978
- return { source: 'soundcloud' };
21979
- }
21980
- const youtubeMatch = url.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/v\/)([a-zA-Z0-9_-]{11})/);
21981
- if (youtubeMatch) {
21982
- return { source: 'youtube', videoId: youtubeMatch[1] };
21983
- }
21984
- return null;
21985
- }
21986
- checkDuplicateAndShowPreview(result, rawUrl) {
21987
- this.checkingDuplicate.set(true);
21988
- this.loading.set(false);
21989
- this.http
21990
- .post(`${this.apiUrl}/scraping/check-duplicate`, {
21991
- url: rawUrl,
21992
- mode: this.mode(),
21993
- })
21994
- .subscribe({
21995
- next: (dup) => {
21996
- this.checkingDuplicate.set(false);
21997
- if (dup.exists) {
21998
- this.duplicateInfo.set(dup);
21999
- this.previewData.set(result);
22000
- this.currentStep.set(2);
22001
- }
22002
- else {
22003
- this.previewData.set(result);
22004
- this.currentStep.set(2);
22005
- }
22006
- },
22007
- error: () => {
22008
- this.checkingDuplicate.set(false);
22009
- this.previewData.set(result);
22010
- this.currentStep.set(2);
22011
- },
22012
- });
22013
- }
22014
- onSearch() {
22015
- const rawUrl = this.urlValue().trim();
22016
- if (!rawUrl)
22017
- return;
22018
- this.loading.set(true);
22019
- this.errorMessage.set(null);
22020
- this.duplicateInfo.set(null);
22021
- if (this.demoMode()) {
22022
- setTimeout(() => this.useMockFallback(), 400);
22023
- return;
22024
- }
22025
- const resolved = this.resolveUrl(rawUrl);
22026
- if (!resolved) {
22027
- const source = this.selectedSource();
22028
- this.errorMessage.set(source === 'soundcloud'
22029
- ? this.labels().errorInvalidUrlSoundcloud
22030
- : source === 'youtube'
22031
- ? this.labels().errorInvalidUrlYoutube
22032
- : this.labels().errorInvalidUrl);
22033
- this.loading.set(false);
22034
- return;
22035
- }
22036
- const mode = this.mode();
22037
- if (resolved.source === 'soundcloud' && mode === 'track') {
22038
- this.http
22039
- .post(`${this.apiUrl}/scraping/soundcloud/html/track`, { url: rawUrl })
22040
- .subscribe({
22041
- next: (data) => {
22042
- if (!data || !data.name) {
22043
- this.errorMessage.set(this.labels().errorNoData ||
22044
- 'No se pudieron obtener datos');
22045
- this.loading.set(false);
22046
- return;
22047
- }
22048
- const result = {
22049
- name: data.name || '',
22050
- artist: data.artists?.[0] || '',
22051
- image: data.image || '',
22052
- source: resolved.source,
22053
- sourceUrl: data.sourceUrl || rawUrl,
22054
- sourceId: data.sourceId || '',
22055
- year: data.year || new Date().getFullYear(),
22056
- style: data.style || '',
22057
- info: data.info || '',
22058
- freeDownloadLink: data.freeDownloadLink,
22059
- buyLink: data.buyLink,
22060
- };
22061
- this.checkDuplicateAndShowPreview(result, rawUrl);
22062
- },
22063
- error: () => {
22064
- this.errorMessage.set(this.labels().errorApi ||
22065
- 'Error al conectar con el servidor');
22066
- this.loading.set(false);
22067
- },
22068
- });
22069
- }
22070
- else if (resolved.source === 'soundcloud' &&
22071
- mode === 'profile') {
22072
- this.http
22073
- .post(`${this.apiUrl}/scraping/soundcloud/html/profile`, { url: rawUrl })
22074
- .subscribe({
22075
- next: (data) => {
22076
- if (!data || !data.name) {
22077
- this.errorMessage.set(this.labels().errorNoData ||
22078
- 'No se pudieron obtener datos');
22079
- this.loading.set(false);
22080
- return;
22081
- }
22082
- const result = {
22083
- name: data.name || '',
22084
- country: data.country || '',
22085
- style: data.style || '',
22086
- image: data.image || '',
22087
- info: data.info || '',
22088
- soundcloudUrl: data.soundcloudUrl || rawUrl,
22089
- website: data.website || null,
22090
- };
22091
- this.checkDuplicateAndShowPreview(result, rawUrl);
22092
- },
22093
- error: () => {
22094
- this.errorMessage.set(this.labels().errorApi ||
22095
- 'Error al conectar con el servidor');
22096
- this.loading.set(false);
22097
- },
22098
- });
22099
- }
22100
- else if (resolved.source === 'youtube' &&
22101
- resolved.videoId) {
22102
- this.http
22103
- .get(`${this.apiUrl}/scraping/youtube/videos/${resolved.videoId}`)
22104
- .subscribe({
22105
- next: (data) => {
22106
- if (!data || !data.title) {
22107
- this.errorMessage.set(this.labels().errorNoData ||
22108
- 'No se pudieron obtener datos');
22109
- this.loading.set(false);
22110
- return;
22111
- }
22112
- const result = {
22113
- name: data.title || '',
22114
- artist: data.author_name || '',
22115
- image: data.thumbnail_url || '',
22116
- source: 'youtube',
22117
- sourceUrl: rawUrl,
22118
- sourceId: resolved.videoId,
22119
- year: new Date().getFullYear(),
22120
- style: '',
22121
- info: '',
22122
- freeDownloadLink: null,
22123
- buyLink: null,
22124
- };
22125
- this.checkDuplicateAndShowPreview(result, rawUrl);
22126
- },
22127
- error: () => {
22128
- this.errorMessage.set(this.labels().errorApi ||
22129
- 'Error al conectar con el servidor');
22130
- this.loading.set(false);
22131
- },
22132
- });
22133
- }
22134
- }
22135
- onContinue() {
22136
- const data = this.previewData();
22137
- if (!data)
22138
- return;
22139
- const model = this.buildFormModel(data);
22140
- this.formModel.set(model);
22141
- this.dataResolved.emit(data);
22142
- this.currentStep.set(3);
22143
- }
22144
- goBack() {
22145
- this.errorMessage.set(null);
22146
- this.duplicateInfo.set(null);
22147
- const current = this.currentStep();
22148
- if (current === 0)
22149
- return;
22150
- if (current === 1 && this.showSourceSelection()) {
22151
- this.selectedSource.set(null);
22152
- }
22153
- this.currentStep.update((s) => s - 1);
22154
- }
22155
- resetFlow() {
22156
- this.currentStep.set(0);
22157
- this.selectedSource.set(null);
22158
- this.urlValue.set('');
22159
- this.previewData.set(null);
22160
- this.errorMessage.set(null);
22161
- this.duplicateInfo.set(null);
22162
- this.formModel.set({});
22163
- }
22164
- XSFormlyType = XSFormlyType;
22165
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSSendScraperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22166
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: XSSendScraperComponent, isStandalone: true, selector: "xs-send-scraper", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, allowedSources: { classPropertyName: "allowedSources", publicName: "allowedSources", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null }, formFields: { classPropertyName: "formFields", publicName: "formFields", isSignal: true, isRequired: false, transformFunction: null }, demoMode: { classPropertyName: "demoMode", publicName: "demoMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dataResolved: "dataResolved" }, ngImport: i0, template: "<div class=\"xs-send-scraper\">\n <xs-stepper [steps]=\"stepLabels()\" [current]=\"currentStep()\" variant=\"segments\">\n @switch (currentStep()) {\n @case (0) {\n <div class=\"xs-scraper-step\">\n <p class=\"xs-scraper-step-title\">\n {{ labels().sourceTitle }}\n </p>\n @if (!showSourceSelection()) {\n <p class=\"xs-scraper-step-desc\">\n {{ labels().sourceDescSingle }}\n </p>\n }\n <div class=\"xs-scraper-sources\">\n @for (source of allowedSources(); track source) {\n <button\n class=\"xs-scraper-source-card\"\n [attr.data-source]=\"source\"\n (click)=\"selectSource(source)\"\n >\n <div class=\"xs-scraper-source-icon\">\n @if (source === 'soundcloud') {\n <xs-icon\n [icon]=\"['fab', 'soundcloud']\"\n size=\"4xl\"\n class=\"text-orange-500\"\n />\n } @else {\n <xs-icon\n [icon]=\"['fab', 'youtube']\"\n size=\"4xl\"\n class=\"text-red-500\"\n />\n }\n </div>\n <span class=\"xs-scraper-source-name\">\n {{\n source === 'soundcloud'\n ? labels().sourceSoundcloud\n : labels().sourceYoutube\n }}\n </span>\n </button>\n }\n @if (\n showSourceSelection() &&\n allowedSources().length === 0\n ) {\n <p class=\"xs-scraper-empty\">\n No hay fuentes disponibles\n </p>\n }\n </div>\n </div>\n }\n\n @case (1) {\n <div class=\"xs-scraper-step\">\n <p class=\"xs-scraper-step-title\">\n {{ labels().urlTitle }}\n </p>\n <p class=\"xs-scraper-step-desc\">\n {{\n selectedSource() === 'soundcloud'\n ? labels().urlDescSoundcloud\n : labels().urlDescYoutube\n }}\n </p>\n <div class=\"xs-scraper-url-box\">\n <input\n class=\"xs-scraper-url-input\"\n type=\"url\"\n [placeholder]=\"\n selectedSource() === 'soundcloud'\n ? labels().urlPlaceholderSoundcloud\n : labels().urlPlaceholderYoutube\n \"\n [value]=\"urlValue()\"\n (input)=\"onUrlInput($any($event.target).value)\"\n (keydown.enter)=\"canSearch() && onSearch()\"\n />\n <div class=\"xs-scraper-search-btn\">\n <xs-button\n [label]=\"labels().searchBtn\"\n icon=\"magnifying-glass\"\n [variant]=\"primaryVariant()\"\n customClass=\"xs-scraper-btn-primary\"\n size=\"sm\"\n [disabled]=\"!canSearch()\"\n [loading]=\"loading()\"\n (onClick)=\"onSearch()\"\n />\n </div>\n </div>\n <p class=\"text-[11px] text-zinc-600 lg:text-left\">\n {{\n selectedSource() === 'soundcloud'\n ? labels().urlHintSoundcloud\n : labels().urlHintYoutube\n }}\n </p>\n @if (errorMessage()) {\n <p class=\"xs-scraper-error\">{{ errorMessage() }}</p>\n }\n <div class=\"xs-scraper-actions xs-scraper-actions-url\">\n <xs-button\n [label]=\"labels().backBtn\"\n icon=\"chevron-right\"\n class=\"xs-scraper-btn-primary\"\n [variant]=\"isMobile() ? 'secondary' : 'primary'\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"goBack()\"\n />\n\n <xs-button\n [label]=\"labels().continueBtn\"\n icon=\"chevron-right\"\n class=\"sm:hidden xs-scraper--soundcloud xs-scraper-btn-primary\"\n [variant]=\"primaryVariant()\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"onSearch()\"\n />\n </div>\n </div>\n }\n\n @case (2) {\n <div class=\"xs-scraper-step\">\n @if (loading()) {\n <div class=\"xs-scraper-loading\">\n <xs-icon\n icon=\"spinner\"\n size=\"xl\"\n class=\"xs-scraper-spin xs-scraper-spinner-icon\"\n />\n <p>{{ labels().loadingText }}</p>\n </div>\n } @else if (checkingDuplicate()) {\n <div class=\"xs-scraper-loading\">\n <xs-icon\n icon=\"spinner\"\n size=\"xl\"\n class=\"xs-scraper-spin xs-scraper-spinner-icon\"\n />\n <p>{{ labels().loadingDuplicate }}</p>\n </div>\n } @else if (duplicateInfo()?.exists) {\n <div class=\"xs-scraper-duplicate-card\">\n <div class=\"xs-scraper-duplicate-badge\">\n <xs-icon icon=\"circle-exclamation\" size=\"sm\" />\n <span>{{ labels().alreadyExistsTitle }}</span>\n </div>\n <div class=\"xs-scraper-duplicate-body\">\n <div class=\"xs-scraper-duplicate-preview\">\n @if (previewData()?.image) {\n <img\n class=\"xs-scraper-duplicate-image\"\n [class.xs-scraper-duplicate-image-round]=\"mode() !== 'track'\"\n [src]=\"previewData()?.image || ''\"\n [alt]=\"duplicateInfo()?.name || ''\"\n />\n }\n <div class=\"xs-scraper-duplicate-info\">\n <p class=\"xs-scraper-duplicate-name\">\n {{ duplicateInfo()?.name || previewData()?.name }}\n </p>\n @if (mode() === 'track' && $any(previewData())?.artist) {\n <p class=\"xs-scraper-duplicate-artist\">\n {{ $any(previewData())?.artist }}\n </p>\n }\n @if (\n mode() !== 'track' &&\n ($any(previewData())?.country || previewData()?.style)\n ) {\n <div class=\"xs-scraper-badges\">\n @if ($any(previewData())?.country) {\n <span class=\"xs-scraper-badge\">\n <img\n class=\"w-3 h-3 rounded-sm object-cover\"\n [src]=\"$any(previewData())?.country | countryFlag\"\n [alt]=\"$any(previewData())?.country\"\n />\n <span>{{\n $any(previewData())?.country | countryName\n }}</span>\n </span>\n }\n @if (previewData()?.style) {\n <span class=\"xs-scraper-badge\">{{\n previewData()?.style\n }}</span>\n }\n </div>\n }\n </div>\n </div>\n <p class=\"xs-scraper-duplicate-desc\">\n {{ labels().alreadyExistsDesc }}\n </p>\n </div>\n <div class=\"xs-scraper-actions\">\n <xs-button\n [label]=\"labels().backBtn\"\n icon=\"chevron-right\"\n variant=\"secondary\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"goBack()\"\n />\n @if (duplicateInfo()?.url) {\n <a\n [routerLink]=\"duplicateInfo()?.url\"\n class=\"xs-scraper-duplicate-link-btn\"\n >\n <xs-button\n [label]=\"labels().alreadyExistsLink\"\n icon=\"arrow-up-right-from-square\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n />\n </a>\n }\n </div>\n </div>\n } @else {\n <div class=\"xs-scraper-result-wrapper\">\n @if (mode() === 'track') {\n <div class=\"xs-scraper-preview-card\">\n <div class=\"xs-scraper-preview-header\">\n <img\n class=\"xs-scraper-preview-image\"\n [src]=\"previewData()?.image || ''\"\n [alt]=\"previewData()?.name\"\n />\n <div class=\"xs-scraper-preview-info\">\n <h3 class=\"xs-scraper-preview-title\">\n {{ previewData()?.name }}\n </h3>\n <p class=\"xs-scraper-preview-artist\">\n {{ $any(previewData())?.artist }}\n </p>\n @if (\n previewData()?.style || $any(previewData())?.year\n ) {\n <div class=\"xs-scraper-preview-tags\">\n @if (previewData()?.style) {\n <span class=\"xs-scraper-tag\">{{\n previewData()?.style\n }}</span>\n }\n @if ($any(previewData())?.year) {\n <span class=\"xs-scraper-tag\">{{\n $any(previewData())?.year\n }}</span>\n }\n </div>\n }\n </div>\n </div>\n </div>\n } @else {\n <div class=\"xs-scraper-preview-card\">\n <div class=\"xs-scraper-preview-header\">\n <img\n class=\"xs-scraper-preview-image xs-scraper-preview-image-round\"\n [src]=\"previewData()?.image || ''\"\n [alt]=\"previewData()?.name\"\n />\n <div class=\"xs-scraper-preview-info\">\n @if (\n $any(previewData())?.country || previewData()?.style\n ) {\n <div class=\"xs-scraper-badges\">\n @if ($any(previewData())?.country) {\n <span class=\"xs-scraper-badge\">\n <img\n class=\"w-3 h-3 rounded-sm object-cover\"\n [src]=\"\n $any(previewData())?.country\n | countryFlag\n \"\n [alt]=\"$any(previewData())?.country\"\n />\n <span>{{\n $any(previewData())?.country\n | countryName\n }}</span>\n </span>\n }\n @if (previewData()?.style) {\n <span class=\"xs-scraper-badge\">{{\n previewData()?.style\n }}</span>\n }\n </div>\n }\n <h3 class=\"xs-scraper-profile-name\">\n {{ previewData()?.name }}\n </h3>\n @if ($any(previewData())?.soundcloudUrl) {\n <a\n class=\"xs-scraper-badge xs-scraper-badge-social\"\n [href]=\"$any(previewData())?.soundcloudUrl\"\n target=\"_blank\"\n rel=\"noopener\"\n >\n <xs-icon\n [icon]=\"['fab', 'soundcloud']\"\n size=\"xs\"\n class=\"text-orange-500\"\n />\n <span>soundcloud</span>\n </a>\n }\n </div>\n </div>\n @if (previewData()?.info) {\n <p class=\"xs-scraper-preview-bio\">\n {{ previewData()?.info }}\n </p>\n }\n </div>\n }\n <div class=\"xs-scraper-actions\">\n <xs-button\n [label]=\"labels().backBtn\"\n icon=\"chevron-right\"\n class=\"xs-scraper-btn-primary\"\n variant=\"secondary\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"goBack()\"\n />\n <xs-button\n [label]=\"labels().continueBtn\"\n icon=\"chevron-right\"\n customClass=\"xs-scraper-btn-primary\"\n [variant]=\"primaryVariant()\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"onContinue()\"\n />\n </div>\n </div>\n }\n </div>\n }\n\n @case (3) {\n <div class=\"xs-scraper-step\">\n <div class=\"xs-scraper-form-card\">\n <div class=\"xs-scraper-form-header\">\n <xs-icon\n icon=\"check-circle\"\n size=\"lg\"\n class=\"xs-scraper-form-icon\"\n />\n <div>\n <h3 class=\"xs-scraper-form-title\">\n {{ labels().formTitle }}\n </h3>\n <p class=\"xs-scraper-form-desc\">\n {{ labels().formDesc }}\n </p>\n </div>\n </div>\n </div>\n\n <xs-formly\n [fields]=\"activeFormFields()\"\n [model]=\"formModel()\"\n (formReady)=\"onFormReady($event)\"\n />\n\n <div class=\"xs-scraper-actions\">\n <xs-button\n [label]=\"labels().backBtn\"\n [ariaLabel]=\"labels().backBtn\"\n icon=\"chevron-right\"\n variant=\"secondary\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"goBack()\"\n />\n <xs-button\n [label]=\"labels().sendBtn\"\n icon=\"paper-plane\"\n [variant]=\"primaryVariant()\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n [disabled]=\"!formReady()\"\n (onClick)=\"onContinue()\"\n />\n </div>\n </div>\n }\n }\n </xs-stepper>\n</div>\n", styles: [".xs-send-scraper{width:100%;padding-left:0;padding-right:0}.xs-scraper-step{display:flex;width:100%;flex-direction:column;gap:1rem}@media(min-width:640px){.xs-scraper-step{gap:1.5rem}}.xs-scraper-step-title{font-size:1rem;line-height:1.5rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-step-title{font-size:1.125rem;line-height:1.75rem}}.xs-scraper-step-desc{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-step-desc{font-size:.875rem;line-height:1.25rem}}.xs-scraper-sources{display:flex;width:100%;flex-direction:column;gap:.75rem}@media(min-width:640px){.xs-scraper-sources{flex-direction:row;gap:1rem}}.xs-scraper-source-card{display:flex;width:100%;cursor:pointer;-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;justify-content:center;gap:.75rem;border-radius:1rem;background-color:#18181b80;padding:1.25rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}.xs-scraper-source-card:hover{background-color:#27272a80}.xs-scraper-source-card:active{--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media(min-width:640px){.xs-scraper-source-card{min-width:200px;flex-direction:column;gap:1rem;padding:2rem}}.xs-scraper-source-card:hover{box-shadow:0 8px 32px #0000004d}.xs-scraper-source-icon{display:flex;height:3.5rem;width:3.5rem;align-items:center;justify-content:center;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media(min-width:640px){.xs-scraper-source-icon{height:5rem;width:5rem}}.xs-scraper-source-card:hover .xs-scraper-source-icon{transform:scale(1.1)}.xs-scraper-source-name{font-size:.75rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.15em;--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-source-name{font-size:.875rem;line-height:1.25rem}}.xs-scraper-empty{text-align:center;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}.xs-scraper-url-box{display:flex;width:100%;flex-direction:row;align-items:center;gap:.5rem;border-radius:.75rem;background-color:#18181b80;padding:.375rem .75rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.xs-scraper-url-box:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: rgb(239 68 68 / .2)}.xs-scraper-url-icon{display:flex;flex-shrink:0;justify-content:center}.xs-scraper-url-input{height:2rem;min-width:0px;flex:1 1 0%;border-style:none;background-color:transparent;padding-left:.75rem;padding-right:.75rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.xs-scraper-url-input::placeholder{--tw-placeholder-opacity: 1;color:rgb(82 82 91 / var(--tw-placeholder-opacity, 1))}.xs-scraper-url-input{outline:2px solid transparent;outline-offset:2px}.xs-scraper-url-input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.xs-scraper-search-btn{display:none;flex-shrink:0}@media(min-width:640px){.xs-scraper-search-btn{display:block}}:host-context(.xs-scraper-search-btn) xs-button .overflow-hidden{display:none!important}@media(min-width:640px){:host-context(.xs-scraper-search-btn) xs-button .overflow-hidden{display:block!important}}.xs-scraper-url-input:-webkit-autofill{-webkit-box-shadow:0 0 0 30px rgb(24,24,27) inset!important;-webkit-text-fill-color:white!important}.xs-scraper-url-input:focus{outline:none;box-shadow:none}.xs-scraper-spin{animation:scraper-spin 1s linear infinite}@keyframes scraper-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.xs-scraper-error{text-align:center;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.xs-scraper-loading{display:flex;flex-direction:column;align-items:center;gap:1rem;padding-top:3rem;padding-bottom:3rem;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.xs-scraper-spinner-icon{font-size:1.875rem;line-height:2.25rem}.xs-scraper-result-wrapper{display:flex;width:100%;flex-direction:column;gap:1rem}@media(min-width:640px){.xs-scraper-result-wrapper{gap:1.5rem}}.xs-scraper-preview-card{border-radius:1rem;background-color:#18181b80;padding:1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media(min-width:640px){.xs-scraper-preview-card{padding:1.5rem}}.xs-scraper-preview-header{display:flex;flex-direction:row;align-items:flex-start;gap:1rem}@media(min-width:640px){.xs-scraper-preview-header{gap:1.25rem}}.xs-scraper-preview-image{height:4rem;width:4rem;flex-shrink:0;border-radius:.75rem;object-fit:cover}@media(min-width:640px){.xs-scraper-preview-image{height:6rem;width:6rem}}.xs-scraper-preview-image-round{border-radius:9999px}.xs-scraper-preview-info{display:flex;min-width:0px;flex-direction:column;gap:.375rem;padding-top:.125rem}@media(min-width:640px){.xs-scraper-preview-info{gap:.5rem;padding-top:.25rem}}.xs-scraper-preview-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.5rem;font-weight:700;line-height:1.25;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-preview-title{font-size:1.25rem;line-height:1.75rem}}.xs-scraper-preview-artist{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-preview-artist{font-size:.875rem;line-height:1.25rem}}.xs-scraper-preview-tags{margin-top:.25rem;display:flex;flex-wrap:wrap;gap:.375rem}@media(min-width:640px){.xs-scraper-preview-tags{gap:.5rem}}.xs-scraper-preview-bio{margin-top:.75rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:.75rem;line-height:1rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-preview-bio{font-size:.875rem;line-height:1.25rem}}.xs-scraper-preview-link{margin-top:.75rem;display:flex;min-width:0px;align-items:center;gap:.375rem;font-size:11px;color:#fb923ce6;text-decoration-line:none;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.xs-scraper-preview-link:hover{--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-preview-link{font-size:.75rem;line-height:1rem}}.xs-scraper-badges{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.xs-scraper-badge{display:flex;align-items:center;gap:.5rem;white-space:nowrap;border-radius:.375rem;background-color:#18181b80;padding:.375rem .75rem;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.2em;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.xs-scraper-badge-social{align-self:flex-start;padding-top:.5rem;padding-bottom:.5rem;text-decoration-line:none;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.xs-scraper-badge-social:hover{background-color:#27272a99}.xs-scraper-profile-name{overflow-wrap:break-word;font-size:1.25rem;line-height:1.75rem;font-weight:900;text-transform:uppercase;line-height:1;letter-spacing:-.05em;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-profile-name{font-size:1.5rem;line-height:2rem}}.xs-scraper-tag{border-radius:9999px;background-color:#27272a80;padding:.125rem .5rem;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.12em;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-tag{padding:.25rem .75rem}}.xs-scraper-actions{display:flex;width:100%;flex-direction:column-reverse;gap:.75rem}@media(min-width:640px){.xs-scraper-actions{flex-direction:row;justify-content:flex-end}}.xs-scraper-actions>*{width:100%}@media(min-width:640px){.xs-scraper-actions>*{width:auto}.xs-scraper-actions-url{justify-content:flex-end}.xs-scraper-actions-url>*{width:auto}}.xs-scraper-duplicate-card{display:flex;flex-direction:column;gap:1.25rem;overflow:hidden;border-radius:1rem;background-color:#18181b80}:host-context(.xs-scraper-search-btn) xs-button .xs-scraper-duplicate-card{display:none}@media(min-width:640px){:host-context(.xs-scraper-search-btn) xs-button .xs-scraper-duplicate-card{display:block}}.xs-scraper-duplicate-badge{display:flex;align-items:center;gap:.5rem;background-color:#fbbf241a;padding:.625rem 1.25rem;font-size:.75rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.xs-scraper-duplicate-body{display:flex;flex-direction:column;gap:1rem;padding-left:1.25rem;padding-right:1.25rem;padding-bottom:.5rem}.xs-scraper-duplicate-preview{display:flex;flex-direction:row;align-items:flex-start;gap:1rem}.xs-scraper-duplicate-image{height:3.5rem;width:3.5rem;flex-shrink:0;border-radius:.75rem;object-fit:cover}.xs-scraper-duplicate-image-round{border-radius:9999px}.xs-scraper-duplicate-info{display:flex;min-width:0px;flex-direction:column;gap:.375rem}.xs-scraper-duplicate-name{font-size:1rem;line-height:1.5rem;font-weight:700;line-height:1.25;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.xs-scraper-duplicate-artist{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.xs-scraper-duplicate-desc{font-size:.75rem;line-height:1rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-duplicate-desc{font-size:.875rem;line-height:1.25rem}}.xs-scraper-duplicate-link-btn{text-decoration-line:none}.xs-scraper-form-card{width:100%;border-radius:1rem;background-color:#18181b80;padding:1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media(min-width:640px){.xs-scraper-form-card{padding:1.5rem}}.xs-scraper-form-header{display:flex;align-items:flex-start;gap:.75rem}@media(min-width:640px){.xs-scraper-form-header{gap:1rem}}.xs-scraper-form-icon{margin-top:.25rem;--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.xs-scraper-form-title{font-size:1rem;line-height:1.5rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-form-title{font-size:1.125rem;line-height:1.75rem}}.xs-scraper-form-desc{margin-top:.25rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-form-desc{font-size:.875rem;line-height:1.25rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: XSStepperComponent, selector: "xs-stepper", inputs: ["steps", "current", "size", "variant"] }, { kind: "component", type: XSIconComponent, selector: "xs-icon", inputs: ["icon", "size", "class"] }, { kind: "component", type: XSButtonComponent, selector: "xs-button", inputs: ["id", "label", "type", "icon", "action", "customClass", "variant", "layout", "badgeCount", "isFull", "disabled", "loading", "title", "ariaLabel", "borderRadius", "isGrouped", "groupPosition"], outputs: ["isGroupedChange", "groupPositionChange", "click", "onClick"] }, { kind: "component", type: XSFormlyComponent, selector: "xs-formly", inputs: ["layout", "gridClass", "size", "fields", "model", "options"], outputs: ["modelChange", "submit", "formReady"] }, { kind: "pipe", type: CountryFlagPipe, name: "countryFlag" }, { kind: "pipe", type: CountryNamePipe, name: "countryName" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
22167
- }
22168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: XSSendScraperComponent, decorators: [{
22169
- type: Component,
22170
- args: [{ selector: 'xs-send-scraper', standalone: true, imports: [
22171
- CommonModule,
22172
- FormsModule,
22173
- RouterModule,
22174
- XSStepperComponent,
22175
- XSIconComponent,
22176
- XSButtonComponent,
22177
- XSFormlyComponent,
22178
- CountryFlagPipe,
22179
- CountryNamePipe,
22180
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"xs-send-scraper\">\n <xs-stepper [steps]=\"stepLabels()\" [current]=\"currentStep()\" variant=\"segments\">\n @switch (currentStep()) {\n @case (0) {\n <div class=\"xs-scraper-step\">\n <p class=\"xs-scraper-step-title\">\n {{ labels().sourceTitle }}\n </p>\n @if (!showSourceSelection()) {\n <p class=\"xs-scraper-step-desc\">\n {{ labels().sourceDescSingle }}\n </p>\n }\n <div class=\"xs-scraper-sources\">\n @for (source of allowedSources(); track source) {\n <button\n class=\"xs-scraper-source-card\"\n [attr.data-source]=\"source\"\n (click)=\"selectSource(source)\"\n >\n <div class=\"xs-scraper-source-icon\">\n @if (source === 'soundcloud') {\n <xs-icon\n [icon]=\"['fab', 'soundcloud']\"\n size=\"4xl\"\n class=\"text-orange-500\"\n />\n } @else {\n <xs-icon\n [icon]=\"['fab', 'youtube']\"\n size=\"4xl\"\n class=\"text-red-500\"\n />\n }\n </div>\n <span class=\"xs-scraper-source-name\">\n {{\n source === 'soundcloud'\n ? labels().sourceSoundcloud\n : labels().sourceYoutube\n }}\n </span>\n </button>\n }\n @if (\n showSourceSelection() &&\n allowedSources().length === 0\n ) {\n <p class=\"xs-scraper-empty\">\n No hay fuentes disponibles\n </p>\n }\n </div>\n </div>\n }\n\n @case (1) {\n <div class=\"xs-scraper-step\">\n <p class=\"xs-scraper-step-title\">\n {{ labels().urlTitle }}\n </p>\n <p class=\"xs-scraper-step-desc\">\n {{\n selectedSource() === 'soundcloud'\n ? labels().urlDescSoundcloud\n : labels().urlDescYoutube\n }}\n </p>\n <div class=\"xs-scraper-url-box\">\n <input\n class=\"xs-scraper-url-input\"\n type=\"url\"\n [placeholder]=\"\n selectedSource() === 'soundcloud'\n ? labels().urlPlaceholderSoundcloud\n : labels().urlPlaceholderYoutube\n \"\n [value]=\"urlValue()\"\n (input)=\"onUrlInput($any($event.target).value)\"\n (keydown.enter)=\"canSearch() && onSearch()\"\n />\n <div class=\"xs-scraper-search-btn\">\n <xs-button\n [label]=\"labels().searchBtn\"\n icon=\"magnifying-glass\"\n [variant]=\"primaryVariant()\"\n customClass=\"xs-scraper-btn-primary\"\n size=\"sm\"\n [disabled]=\"!canSearch()\"\n [loading]=\"loading()\"\n (onClick)=\"onSearch()\"\n />\n </div>\n </div>\n <p class=\"text-[11px] text-zinc-600 lg:text-left\">\n {{\n selectedSource() === 'soundcloud'\n ? labels().urlHintSoundcloud\n : labels().urlHintYoutube\n }}\n </p>\n @if (errorMessage()) {\n <p class=\"xs-scraper-error\">{{ errorMessage() }}</p>\n }\n <div class=\"xs-scraper-actions xs-scraper-actions-url\">\n <xs-button\n [label]=\"labels().backBtn\"\n icon=\"chevron-right\"\n class=\"xs-scraper-btn-primary\"\n [variant]=\"isMobile() ? 'secondary' : 'primary'\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"goBack()\"\n />\n\n <xs-button\n [label]=\"labels().continueBtn\"\n icon=\"chevron-right\"\n class=\"sm:hidden xs-scraper--soundcloud xs-scraper-btn-primary\"\n [variant]=\"primaryVariant()\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"onSearch()\"\n />\n </div>\n </div>\n }\n\n @case (2) {\n <div class=\"xs-scraper-step\">\n @if (loading()) {\n <div class=\"xs-scraper-loading\">\n <xs-icon\n icon=\"spinner\"\n size=\"xl\"\n class=\"xs-scraper-spin xs-scraper-spinner-icon\"\n />\n <p>{{ labels().loadingText }}</p>\n </div>\n } @else if (checkingDuplicate()) {\n <div class=\"xs-scraper-loading\">\n <xs-icon\n icon=\"spinner\"\n size=\"xl\"\n class=\"xs-scraper-spin xs-scraper-spinner-icon\"\n />\n <p>{{ labels().loadingDuplicate }}</p>\n </div>\n } @else if (duplicateInfo()?.exists) {\n <div class=\"xs-scraper-duplicate-card\">\n <div class=\"xs-scraper-duplicate-badge\">\n <xs-icon icon=\"circle-exclamation\" size=\"sm\" />\n <span>{{ labels().alreadyExistsTitle }}</span>\n </div>\n <div class=\"xs-scraper-duplicate-body\">\n <div class=\"xs-scraper-duplicate-preview\">\n @if (previewData()?.image) {\n <img\n class=\"xs-scraper-duplicate-image\"\n [class.xs-scraper-duplicate-image-round]=\"mode() !== 'track'\"\n [src]=\"previewData()?.image || ''\"\n [alt]=\"duplicateInfo()?.name || ''\"\n />\n }\n <div class=\"xs-scraper-duplicate-info\">\n <p class=\"xs-scraper-duplicate-name\">\n {{ duplicateInfo()?.name || previewData()?.name }}\n </p>\n @if (mode() === 'track' && $any(previewData())?.artist) {\n <p class=\"xs-scraper-duplicate-artist\">\n {{ $any(previewData())?.artist }}\n </p>\n }\n @if (\n mode() !== 'track' &&\n ($any(previewData())?.country || previewData()?.style)\n ) {\n <div class=\"xs-scraper-badges\">\n @if ($any(previewData())?.country) {\n <span class=\"xs-scraper-badge\">\n <img\n class=\"w-3 h-3 rounded-sm object-cover\"\n [src]=\"$any(previewData())?.country | countryFlag\"\n [alt]=\"$any(previewData())?.country\"\n />\n <span>{{\n $any(previewData())?.country | countryName\n }}</span>\n </span>\n }\n @if (previewData()?.style) {\n <span class=\"xs-scraper-badge\">{{\n previewData()?.style\n }}</span>\n }\n </div>\n }\n </div>\n </div>\n <p class=\"xs-scraper-duplicate-desc\">\n {{ labels().alreadyExistsDesc }}\n </p>\n </div>\n <div class=\"xs-scraper-actions\">\n <xs-button\n [label]=\"labels().backBtn\"\n icon=\"chevron-right\"\n variant=\"secondary\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"goBack()\"\n />\n @if (duplicateInfo()?.url) {\n <a\n [routerLink]=\"duplicateInfo()?.url\"\n class=\"xs-scraper-duplicate-link-btn\"\n >\n <xs-button\n [label]=\"labels().alreadyExistsLink\"\n icon=\"arrow-up-right-from-square\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n />\n </a>\n }\n </div>\n </div>\n } @else {\n <div class=\"xs-scraper-result-wrapper\">\n @if (mode() === 'track') {\n <div class=\"xs-scraper-preview-card\">\n <div class=\"xs-scraper-preview-header\">\n <img\n class=\"xs-scraper-preview-image\"\n [src]=\"previewData()?.image || ''\"\n [alt]=\"previewData()?.name\"\n />\n <div class=\"xs-scraper-preview-info\">\n <h3 class=\"xs-scraper-preview-title\">\n {{ previewData()?.name }}\n </h3>\n <p class=\"xs-scraper-preview-artist\">\n {{ $any(previewData())?.artist }}\n </p>\n @if (\n previewData()?.style || $any(previewData())?.year\n ) {\n <div class=\"xs-scraper-preview-tags\">\n @if (previewData()?.style) {\n <span class=\"xs-scraper-tag\">{{\n previewData()?.style\n }}</span>\n }\n @if ($any(previewData())?.year) {\n <span class=\"xs-scraper-tag\">{{\n $any(previewData())?.year\n }}</span>\n }\n </div>\n }\n </div>\n </div>\n </div>\n } @else {\n <div class=\"xs-scraper-preview-card\">\n <div class=\"xs-scraper-preview-header\">\n <img\n class=\"xs-scraper-preview-image xs-scraper-preview-image-round\"\n [src]=\"previewData()?.image || ''\"\n [alt]=\"previewData()?.name\"\n />\n <div class=\"xs-scraper-preview-info\">\n @if (\n $any(previewData())?.country || previewData()?.style\n ) {\n <div class=\"xs-scraper-badges\">\n @if ($any(previewData())?.country) {\n <span class=\"xs-scraper-badge\">\n <img\n class=\"w-3 h-3 rounded-sm object-cover\"\n [src]=\"\n $any(previewData())?.country\n | countryFlag\n \"\n [alt]=\"$any(previewData())?.country\"\n />\n <span>{{\n $any(previewData())?.country\n | countryName\n }}</span>\n </span>\n }\n @if (previewData()?.style) {\n <span class=\"xs-scraper-badge\">{{\n previewData()?.style\n }}</span>\n }\n </div>\n }\n <h3 class=\"xs-scraper-profile-name\">\n {{ previewData()?.name }}\n </h3>\n @if ($any(previewData())?.soundcloudUrl) {\n <a\n class=\"xs-scraper-badge xs-scraper-badge-social\"\n [href]=\"$any(previewData())?.soundcloudUrl\"\n target=\"_blank\"\n rel=\"noopener\"\n >\n <xs-icon\n [icon]=\"['fab', 'soundcloud']\"\n size=\"xs\"\n class=\"text-orange-500\"\n />\n <span>soundcloud</span>\n </a>\n }\n </div>\n </div>\n @if (previewData()?.info) {\n <p class=\"xs-scraper-preview-bio\">\n {{ previewData()?.info }}\n </p>\n }\n </div>\n }\n <div class=\"xs-scraper-actions\">\n <xs-button\n [label]=\"labels().backBtn\"\n icon=\"chevron-right\"\n class=\"xs-scraper-btn-primary\"\n variant=\"secondary\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"goBack()\"\n />\n <xs-button\n [label]=\"labels().continueBtn\"\n icon=\"chevron-right\"\n customClass=\"xs-scraper-btn-primary\"\n [variant]=\"primaryVariant()\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"onContinue()\"\n />\n </div>\n </div>\n }\n </div>\n }\n\n @case (3) {\n <div class=\"xs-scraper-step\">\n <div class=\"xs-scraper-form-card\">\n <div class=\"xs-scraper-form-header\">\n <xs-icon\n icon=\"check-circle\"\n size=\"lg\"\n class=\"xs-scraper-form-icon\"\n />\n <div>\n <h3 class=\"xs-scraper-form-title\">\n {{ labels().formTitle }}\n </h3>\n <p class=\"xs-scraper-form-desc\">\n {{ labels().formDesc }}\n </p>\n </div>\n </div>\n </div>\n\n <xs-formly\n [fields]=\"activeFormFields()\"\n [model]=\"formModel()\"\n (formReady)=\"onFormReady($event)\"\n />\n\n <div class=\"xs-scraper-actions\">\n <xs-button\n [label]=\"labels().backBtn\"\n [ariaLabel]=\"labels().backBtn\"\n icon=\"chevron-right\"\n variant=\"secondary\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n (onClick)=\"goBack()\"\n />\n <xs-button\n [label]=\"labels().sendBtn\"\n icon=\"paper-plane\"\n [variant]=\"primaryVariant()\"\n size=\"sm\"\n [isFull]=\"isMobile()\"\n [disabled]=\"!formReady()\"\n (onClick)=\"onContinue()\"\n />\n </div>\n </div>\n }\n }\n </xs-stepper>\n</div>\n", styles: [".xs-send-scraper{width:100%;padding-left:0;padding-right:0}.xs-scraper-step{display:flex;width:100%;flex-direction:column;gap:1rem}@media(min-width:640px){.xs-scraper-step{gap:1.5rem}}.xs-scraper-step-title{font-size:1rem;line-height:1.5rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-step-title{font-size:1.125rem;line-height:1.75rem}}.xs-scraper-step-desc{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-step-desc{font-size:.875rem;line-height:1.25rem}}.xs-scraper-sources{display:flex;width:100%;flex-direction:column;gap:.75rem}@media(min-width:640px){.xs-scraper-sources{flex-direction:row;gap:1rem}}.xs-scraper-source-card{display:flex;width:100%;cursor:pointer;-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;justify-content:center;gap:.75rem;border-radius:1rem;background-color:#18181b80;padding:1.25rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}.xs-scraper-source-card:hover{background-color:#27272a80}.xs-scraper-source-card:active{--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media(min-width:640px){.xs-scraper-source-card{min-width:200px;flex-direction:column;gap:1rem;padding:2rem}}.xs-scraper-source-card:hover{box-shadow:0 8px 32px #0000004d}.xs-scraper-source-icon{display:flex;height:3.5rem;width:3.5rem;align-items:center;justify-content:center;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media(min-width:640px){.xs-scraper-source-icon{height:5rem;width:5rem}}.xs-scraper-source-card:hover .xs-scraper-source-icon{transform:scale(1.1)}.xs-scraper-source-name{font-size:.75rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.15em;--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-source-name{font-size:.875rem;line-height:1.25rem}}.xs-scraper-empty{text-align:center;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}.xs-scraper-url-box{display:flex;width:100%;flex-direction:row;align-items:center;gap:.5rem;border-radius:.75rem;background-color:#18181b80;padding:.375rem .75rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.xs-scraper-url-box:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: rgb(239 68 68 / .2)}.xs-scraper-url-icon{display:flex;flex-shrink:0;justify-content:center}.xs-scraper-url-input{height:2rem;min-width:0px;flex:1 1 0%;border-style:none;background-color:transparent;padding-left:.75rem;padding-right:.75rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.xs-scraper-url-input::placeholder{--tw-placeholder-opacity: 1;color:rgb(82 82 91 / var(--tw-placeholder-opacity, 1))}.xs-scraper-url-input{outline:2px solid transparent;outline-offset:2px}.xs-scraper-url-input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.xs-scraper-search-btn{display:none;flex-shrink:0}@media(min-width:640px){.xs-scraper-search-btn{display:block}}:host-context(.xs-scraper-search-btn) xs-button .overflow-hidden{display:none!important}@media(min-width:640px){:host-context(.xs-scraper-search-btn) xs-button .overflow-hidden{display:block!important}}.xs-scraper-url-input:-webkit-autofill{-webkit-box-shadow:0 0 0 30px rgb(24,24,27) inset!important;-webkit-text-fill-color:white!important}.xs-scraper-url-input:focus{outline:none;box-shadow:none}.xs-scraper-spin{animation:scraper-spin 1s linear infinite}@keyframes scraper-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.xs-scraper-error{text-align:center;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.xs-scraper-loading{display:flex;flex-direction:column;align-items:center;gap:1rem;padding-top:3rem;padding-bottom:3rem;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.xs-scraper-spinner-icon{font-size:1.875rem;line-height:2.25rem}.xs-scraper-result-wrapper{display:flex;width:100%;flex-direction:column;gap:1rem}@media(min-width:640px){.xs-scraper-result-wrapper{gap:1.5rem}}.xs-scraper-preview-card{border-radius:1rem;background-color:#18181b80;padding:1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media(min-width:640px){.xs-scraper-preview-card{padding:1.5rem}}.xs-scraper-preview-header{display:flex;flex-direction:row;align-items:flex-start;gap:1rem}@media(min-width:640px){.xs-scraper-preview-header{gap:1.25rem}}.xs-scraper-preview-image{height:4rem;width:4rem;flex-shrink:0;border-radius:.75rem;object-fit:cover}@media(min-width:640px){.xs-scraper-preview-image{height:6rem;width:6rem}}.xs-scraper-preview-image-round{border-radius:9999px}.xs-scraper-preview-info{display:flex;min-width:0px;flex-direction:column;gap:.375rem;padding-top:.125rem}@media(min-width:640px){.xs-scraper-preview-info{gap:.5rem;padding-top:.25rem}}.xs-scraper-preview-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.5rem;font-weight:700;line-height:1.25;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-preview-title{font-size:1.25rem;line-height:1.75rem}}.xs-scraper-preview-artist{font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-preview-artist{font-size:.875rem;line-height:1.25rem}}.xs-scraper-preview-tags{margin-top:.25rem;display:flex;flex-wrap:wrap;gap:.375rem}@media(min-width:640px){.xs-scraper-preview-tags{gap:.5rem}}.xs-scraper-preview-bio{margin-top:.75rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:.75rem;line-height:1rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-preview-bio{font-size:.875rem;line-height:1.25rem}}.xs-scraper-preview-link{margin-top:.75rem;display:flex;min-width:0px;align-items:center;gap:.375rem;font-size:11px;color:#fb923ce6;text-decoration-line:none;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.xs-scraper-preview-link:hover{--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-preview-link{font-size:.75rem;line-height:1rem}}.xs-scraper-badges{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.xs-scraper-badge{display:flex;align-items:center;gap:.5rem;white-space:nowrap;border-radius:.375rem;background-color:#18181b80;padding:.375rem .75rem;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.2em;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.xs-scraper-badge-social{align-self:flex-start;padding-top:.5rem;padding-bottom:.5rem;text-decoration-line:none;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.xs-scraper-badge-social:hover{background-color:#27272a99}.xs-scraper-profile-name{overflow-wrap:break-word;font-size:1.25rem;line-height:1.75rem;font-weight:900;text-transform:uppercase;line-height:1;letter-spacing:-.05em;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-profile-name{font-size:1.5rem;line-height:2rem}}.xs-scraper-tag{border-radius:9999px;background-color:#27272a80;padding:.125rem .5rem;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.12em;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-tag{padding:.25rem .75rem}}.xs-scraper-actions{display:flex;width:100%;flex-direction:column-reverse;gap:.75rem}@media(min-width:640px){.xs-scraper-actions{flex-direction:row;justify-content:flex-end}}.xs-scraper-actions>*{width:100%}@media(min-width:640px){.xs-scraper-actions>*{width:auto}.xs-scraper-actions-url{justify-content:flex-end}.xs-scraper-actions-url>*{width:auto}}.xs-scraper-duplicate-card{display:flex;flex-direction:column;gap:1.25rem;overflow:hidden;border-radius:1rem;background-color:#18181b80}:host-context(.xs-scraper-search-btn) xs-button .xs-scraper-duplicate-card{display:none}@media(min-width:640px){:host-context(.xs-scraper-search-btn) xs-button .xs-scraper-duplicate-card{display:block}}.xs-scraper-duplicate-badge{display:flex;align-items:center;gap:.5rem;background-color:#fbbf241a;padding:.625rem 1.25rem;font-size:.75rem;line-height:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.xs-scraper-duplicate-body{display:flex;flex-direction:column;gap:1rem;padding-left:1.25rem;padding-right:1.25rem;padding-bottom:.5rem}.xs-scraper-duplicate-preview{display:flex;flex-direction:row;align-items:flex-start;gap:1rem}.xs-scraper-duplicate-image{height:3.5rem;width:3.5rem;flex-shrink:0;border-radius:.75rem;object-fit:cover}.xs-scraper-duplicate-image-round{border-radius:9999px}.xs-scraper-duplicate-info{display:flex;min-width:0px;flex-direction:column;gap:.375rem}.xs-scraper-duplicate-name{font-size:1rem;line-height:1.5rem;font-weight:700;line-height:1.25;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.xs-scraper-duplicate-artist{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.xs-scraper-duplicate-desc{font-size:.75rem;line-height:1rem;line-height:1.625;--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-duplicate-desc{font-size:.875rem;line-height:1.25rem}}.xs-scraper-duplicate-link-btn{text-decoration-line:none}.xs-scraper-form-card{width:100%;border-radius:1rem;background-color:#18181b80;padding:1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media(min-width:640px){.xs-scraper-form-card{padding:1.5rem}}.xs-scraper-form-header{display:flex;align-items:flex-start;gap:.75rem}@media(min-width:640px){.xs-scraper-form-header{gap:1rem}}.xs-scraper-form-icon{margin-top:.25rem;--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.xs-scraper-form-title{font-size:1rem;line-height:1.5rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-form-title{font-size:1.125rem;line-height:1.75rem}}.xs-scraper-form-desc{margin-top:.25rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}@media(min-width:640px){.xs-scraper-form-desc{font-size:.875rem;line-height:1.25rem}}\n"] }]
22181
- }], ctorParameters: () => [], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], allowedSources: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowedSources", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], formFields: [{ type: i0.Input, args: [{ isSignal: true, alias: "formFields", required: false }] }], demoMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "demoMode", required: false }] }], dataResolved: [{ type: i0.Output, args: ["dataResolved"] }] } });
22182
- const DEFAULT_TRACK_FIELDS = [
22183
- {
22184
- key: 'name',
22185
- type: XSFormlyType.INPUT,
22186
- props: {
22187
- label: 'Nombre',
22188
- required: true,
22189
- placeholder: 'Nombre del track',
22190
- },
22191
- className: 'col-span-12 lg:col-span-6',
22192
- },
22193
- {
22194
- key: 'type',
22195
- type: XSFormlyType.SELECT,
22196
- props: {
22197
- label: 'Tipo',
22198
- placeholder: 'Selecciona tipo',
22199
- options: [
22200
- { label: 'Track', value: 'track' },
22201
- { label: 'Set', value: 'set' },
22202
- { label: 'Podcast', value: 'podcast' },
22203
- { label: 'Radio Show', value: 'radioshow' },
22204
- ],
22205
- },
22206
- className: 'col-span-12 lg:col-span-3',
22207
- },
22208
- {
22209
- key: 'artists',
22210
- type: XSFormlyType.SELECT,
22211
- props: {
22212
- label: 'Artistas',
22213
- multiple: true,
22214
- placeholder: 'Busca artistas...',
22215
- options: [],
22216
- remoteSearch: { minChars: 3 },
22217
- },
22218
- className: 'col-span-12 lg:col-span-3',
22219
- },
22220
- {
22221
- key: 'site',
22222
- type: XSFormlyType.SELECT,
22223
- props: {
22224
- label: 'Sitio',
22225
- placeholder: 'Selecciona sitio',
22226
- options: [],
22227
- remoteSearch: { minChars: 3 },
22228
- },
22229
- className: 'col-span-12 lg:col-span-4',
22230
- },
22231
- {
22232
- key: 'year',
22233
- type: XSFormlyType.INPUT,
22234
- props: { label: 'Año', type: 'number', placeholder: '2025' },
22235
- className: 'col-span-12 lg:col-span-4',
22236
- },
22237
- {
22238
- key: 'styles',
22239
- type: XSFormlyType.SELECT_BUTTON,
22240
- props: {
22241
- label: 'Estilos',
22242
- multi: true,
22243
- maxSelections: 5,
22244
- size: 'sm',
22245
- showMoreLimit: 12,
22246
- placeholder: 'Selecciona estilos',
22247
- options: [
22248
- { label: 'House', value: 'house' },
22249
- { label: 'Techno', value: 'techno' },
22250
- { label: 'Drum & Bass', value: 'dnb' },
22251
- { label: 'Ambient', value: 'ambient' },
22252
- { label: 'Trance', value: 'trance' },
22253
- { label: 'Garage', value: 'garage' },
22254
- ],
22255
- remoteSearch: true,
22256
- },
22257
- className: 'col-span-12',
22258
- },
22259
- {
22260
- key: 'sourceUrl',
22261
- type: XSFormlyType.INPUT,
22262
- props: {
22263
- label: 'URL de origen',
22264
- placeholder: 'https://soundcloud.com/...',
22265
- },
22266
- className: 'col-span-12 lg:col-span-6',
22267
- },
22268
- {
22269
- key: 'freeDownloadLink',
22270
- type: XSFormlyType.INPUT,
22271
- props: {
22272
- label: 'Link descarga gratis',
22273
- placeholder: 'https://...',
22274
- },
22275
- className: 'col-span-12 lg:col-span-6',
22276
- },
22277
- {
22278
- key: 'buyLink',
22279
- type: XSFormlyType.INPUT,
22280
- props: {
22281
- label: 'Link de compra',
22282
- placeholder: 'https://...',
22283
- },
22284
- className: 'col-span-12 lg:col-span-6',
22285
- },
22286
- {
22287
- key: 'info',
22288
- type: XSFormlyType.HTML_EDITOR,
22289
- props: {
22290
- label: 'Descripción',
22291
- placeholder: 'Descripción del track',
22292
- },
22293
- className: 'col-span-12',
22294
- },
22295
- ];
22296
- const DEFAULT_PROFILE_FIELDS = [
22297
- {
22298
- key: 'name',
22299
- type: XSFormlyType.INPUT,
22300
- props: {
22301
- label: 'Nombre',
22302
- required: true,
22303
- placeholder: 'Nombre del artista',
22304
- },
22305
- className: 'col-span-12 lg:col-span-6',
22306
- },
22307
- {
22308
- key: 'country',
22309
- type: XSFormlyType.SELECT,
22310
- props: {
22311
- label: 'País',
22312
- placeholder: 'Selecciona país',
22313
- hasSearch: true,
22314
- returnValue: 'id',
22315
- options: [
22316
- { label: 'España', value: 'ES', code: 'es' },
22317
- { label: 'Reino Unido', value: 'GB', code: 'gb' },
22318
- { label: 'Alemania', value: 'DE', code: 'de' },
22319
- { label: 'Francia', value: 'FR', code: 'fr' },
22320
- ],
22321
- },
22322
- className: 'col-span-12 lg:col-span-4',
22323
- },
22324
- {
22325
- key: 'countryResidence',
22326
- type: XSFormlyType.SELECT,
22327
- props: {
22328
- label: 'País de residencia',
22329
- placeholder: 'Selecciona país',
22330
- hasSearch: true,
22331
- returnValue: 'id',
22332
- options: [
22333
- { label: 'España', value: 'ES', code: 'es' },
22334
- { label: 'Reino Unido', value: 'GB', code: 'gb' },
22335
- { label: 'Alemania', value: 'DE', code: 'de' },
22336
- { label: 'Francia', value: 'FR', code: 'fr' },
22337
- ],
22338
- },
22339
- className: 'col-span-12 lg:col-span-4',
22340
- },
22341
- {
22342
- key: 'styles',
22343
- type: XSFormlyType.SELECT_BUTTON,
22344
- props: {
22345
- label: 'Estilos',
22346
- multi: true,
22347
- maxSelections: 5,
22348
- size: 'sm',
22349
- showMoreLimit: 12,
22350
- placeholder: 'Selecciona estilos',
22351
- options: [
22352
- { label: 'House', value: 'house' },
22353
- { label: 'Techno', value: 'techno' },
22354
- { label: 'Drum & Bass', value: 'dnb' },
22355
- { label: 'Ambient', value: 'ambient' },
22356
- { label: 'Trance', value: 'trance' },
22357
- { label: 'Garage', value: 'garage' },
22358
- ],
22359
- remoteSearch: true,
22360
- },
22361
- className: 'col-span-12',
22362
- },
22363
- {
22364
- key: 'imageUpload',
22365
- type: XSFormlyType.UPLOAD_IMAGE,
22366
- props: { label: 'Imagen' },
22367
- className: 'col-span-12',
22368
- },
22369
- {
22370
- key: 'social',
22371
- type: XSFormlyType.SOCIAL,
22372
- props: { label: 'Redes sociales' },
22373
- className: 'col-span-12',
22374
- },
22375
- {
22376
- key: 'info',
22377
- type: XSFormlyType.HTML_EDITOR,
22378
- props: {
22379
- label: 'Descripción',
22380
- placeholder: 'Descripción del artista',
22381
- },
22382
- className: 'col-span-12',
22383
- },
22384
- ];
22385
-
22386
21687
  class XSFeedbackComponent {
22387
21688
  survey = input.required(...(ngDevMode ? [{ debugName: "survey" }] : []));
22388
21689
  question = input(...(ngDevMode ? [undefined, { debugName: "question" }] : []));
@@ -22479,7 +21780,7 @@ const LIB_STORIES = [
22479
21780
  () => import('./xsmusices-ui-xs-item-compact.xsstory-BYSUCdmI.mjs').then((m) => m.story),
22480
21781
  () => import('./xsmusices-ui-xs-item-type.xsstory-DIpjpqYk.mjs').then((m) => m.story),
22481
21782
  () => import('./xsmusices-ui-xs-list.xsstory-BQsNO0mj.mjs').then((m) => m.story),
22482
- () => import('./xsmusices-ui-xs-map.xsstory-C__bUaLQ.mjs').then((m) => m.story),
21783
+ () => import('./xsmusices-ui-xs-map.xsstory-B0huSX4Q.mjs').then((m) => m.story),
22483
21784
  () => import('./xsmusices-ui-xs-maplibre.xsstory-u_NroLqJ.mjs').then((m) => m.story),
22484
21785
  () => import('./xsmusices-ui-xs-profile-comments.xsstory-CHpCDxLe.mjs').then((m) => m.story),
22485
21786
  () => import('./xsmusices-ui-xs-profile-info.xsstory-DAfsbXrF.mjs').then((m) => m.story),
@@ -22521,7 +21822,6 @@ const LIB_STORIES = [
22521
21822
  () => import('./xsmusices-ui-xs-chat-textarea.xsstory-CGZcBSLI.mjs').then((m) => m.story),
22522
21823
  () => import('./xsmusices-ui-xs-chat-conversation-info.xsstory-BQjdjpbB.mjs').then((m) => m.story),
22523
21824
  () => import('./xsmusices-ui-xs-stepper.xsstory-Cpfoggip.mjs').then((m) => m.story),
22524
- () => import('./xsmusices-ui-xs-send-scraper.xsstory-Cq6PuwN7.mjs').then((m) => m.story),
22525
21825
  ];
22526
21826
 
22527
21827
  class XSMapLibrePopupComponent {
@@ -22532,7 +21832,7 @@ class XSMapLibrePopupComponent {
22532
21832
  constructor() {
22533
21833
  if (typeof this.xsTranslate?.registerTranslations ===
22534
21834
  'function') {
22535
- this.xsTranslate.registerTranslations({ es: es$2, en: en$2 });
21835
+ this.xsTranslate.registerTranslations({ es: es$1, en: en$1 });
22536
21836
  }
22537
21837
  }
22538
21838
  visible = input(false, ...(ngDevMode ? [{ debugName: "visible" }] : []));
@@ -22683,5 +21983,5 @@ const uiComponentsExportWithDateMini = [
22683
21983
  * Generated bundle index. Do not edit.
22684
21984
  */
22685
21985
 
22686
- export { ApiService, BREADCRUMBS_PROVIDER, Comment, CountryFlagPipe, CountryNamePipe, DEFAULT_FLOW_LABELS, DateChatPipe, DateDisplayMode, DateFunctions, DateLocaleFormatPipe, DateLongPipe, DateToDayOrMonthPipe, Event, FilterArrayPipe, FixRegionPipe, ImageApiPipe, ImportantItems, IncludeEventPipe, LIB_STORIES, LeadStatusPipe, MediaType, NumberDaysPipe, NumberToMonthPipe, OnImageErrorDirective, OrganizationType, PipesModule, PrioritiesPipe, RandomImagePipe, RolePipe, STANDALONE_PIPES, STYLE_INTENSITIES, SiteType, SliceArrayPipe, SocialPipe, SoundcloudNamePipe, StateIconPipe, StateNamePipe, SuggestionTypePipe, TableLinkPipe, TimeAgoPipe, TitleMediaPipe, TruncateTextPipe, TypeESPipe, User, UserRole, UserType, VisitsMonthTotalPipe, XSActionSheetComponent, XSActionSheetService, XSAlertComponent, XSAlertGroupComponent, XSAlertTextsService, XSAuthComponent, XSAvatarService, XSBadgeComponent, XSBlockComponent, XSBrandMediaPipe, XSBreadcrumbsComponent, XSButtonComponent, XSButtonGroupService, XSButtonsGroupComponent, XSChartComponent, XSChatAlertComponent, XSChatConversationComponent, XSChatConversationInfoComponent, XSChatFloatingPanelComponent, XSChatListComponent, XSChatTextareaComponent, XSCustomizeProfileComponent, XSDateFormatPipe, XSDateMiniComponent, XSDatePipe, XSDocumentService, XSEmptyStateComponent, XSFeedbackComponent, XSFilterPanelComponent, XSFindLabelByValuePipe, XSFirstLetterPipe, XSFormlyAddressSearchComponent, XSFormlyArrayComponent, XSFormlyButtonComponent, XSFormlyCheckboxComponent, XSFormlyComponent, XSFormlyDateComponent, XSFormlyDateRangeComponent, XSFormlyDatetimeComponent, XSFormlyEntityPickerComponent, XSFormlyHiddenComponent, XSFormlyHtmlEditorComponent, XSFormlyInputComponent, XSFormlyInputWithActionsComponent, XSFormlyJsonComponent, XSFormlyJsonEditorComponent, XSFormlyLabelComponent, XSFormlyModule, XSFormlySelectButtonComponent, XSFormlySelectComponent, XSFormlySelectionListComponent, XSFormlySocialComponent, XSFormlyTextareaComponent, XSFormlyTextareaSimpleComponent, XSFormlyType, XSFormlyUploadImageComponent, XSFullImageComponent, XSFullImageService, XSIconComponent, XSImageComponent, XSImportMediaBottomBarComponent, XSImportMediaCardComponent, XSImportMediaFlowComponent, XSImportMediaHeaderComponent, XSInfoBlocksComponent, XSItemActionComponent, XSItemTypeArtistComponent, XSItemTypeBaseComponent, XSItemTypeComponent, XSItemTypeEquipmentComponent, XSItemTypeEventComponent, XSItemTypeLastLoginComponent, XSItemTypeLastVisitComponent, XSItemTypeMediaComponent, XSItemTypeOrganizationComponent, XSItemTypePlaylistComponent, XSItemTypeSiteComponent, XSItemTypeTipComponent, XSItemTypeTrackingComponent, XSItemTypeUserComponent, XSItemTypeUserStatsComponent, XSListComponent, XSMapComponent, XSMapInfoBlockComponent, XSMapLibreComponent, XSMapLibreMapperService, XSMapLibrePopupService, XSMapLibreService, XSMapService, XSMaxCountPipe, XSModalAuthComponent, XSModalClaimComponent, XSModalComponent, XSModalConfirmComponent, XSModalDateComponent, XSModalFormComponent, XSModalImageSearchComponent, XSModalInfoComponent, XSModalInputComponent, XSModalSavedFiltersComponent, XSModalService, XSNavbarComponent, XSNavbarSidebarComponent, XSOtaProgressBarComponent, XSPopoverInfoComponent, XSProfileCommentsComponent, XSProfileInfoComponent, XSProfileTopsComponent, XSSafeUrlPipe, XSScrollAreaComponent, XSSectionTitleComponent, XSSelectComponent, XSSendScraperComponent, XSSetupNamePipe, XSSpinnerComponent, XSStatsCardComponent, XSStepperComponent, XSTableCheckboxComponent, XSTableComponent, XSTableItemsChatComponent, XSTableItemsComponent, XSTableItemsContactComponent, XSTableItemsCountryComponent, XSTableItemsDateComponent, XSTableItemsEntityComponent, XSTableItemsPromotionComponent, XSTableItemsRoleComponent, XSTableItemsStateComponent, XSTableItemsVisitsComponent, XSTabsComponent, XSThousandsSeparatorPipe, XSTitleCollapseComponent, XSToastChatComponent, XSToastComponent, XSToastGenericComponent, XSToastService, XSTranslateService, XSTypeUserPipe, XSWindowService, XS_ADMIN_URL, XS_API_URL, XS_CHART_DEFAULT_COLORS, XS_DEFAULT_ADMIN_USER_ID, XS_DEFAULT_IMAGE_PATH, XS_DEFAULT_LOGO_URL, XS_ENV_NAME, XsLongPressDirective, countries, countries_africa, countries_americas, countries_asia, countries_europe, countries_oceania, datetimeLocalToIso, deslugify, firstLetterCase, flags, getColorByType, getColors, getCountryItem, getCountryNameByCode, getNumberWithZero, getTitleMedia, getTypeForApi, getTypePlural, getTypeSingular, getUserTypes, iconNameForSocial, iconNameForType, isBrowser, isMobile, isMobileUI, registerXSUiIcons, stringifyId, titleCase, toDatetimeLocalInput, truncateText, typeToValidType, uiComponents, uiComponentsExport };
21986
+ export { ApiService, BREADCRUMBS_PROVIDER, Comment, CountryFlagPipe, CountryNamePipe, DEFAULT_FLOW_LABELS, DateChatPipe, DateDisplayMode, DateFunctions, DateLocaleFormatPipe, DateLongPipe, DateToDayOrMonthPipe, Event, FilterArrayPipe, FixRegionPipe, ImageApiPipe, ImportantItems, IncludeEventPipe, LIB_STORIES, LeadStatusPipe, MediaType, NumberDaysPipe, NumberToMonthPipe, OnImageErrorDirective, OrganizationType, PipesModule, PrioritiesPipe, RandomImagePipe, RolePipe, STANDALONE_PIPES, STYLE_INTENSITIES, SiteType, SliceArrayPipe, SocialPipe, SoundcloudNamePipe, StateIconPipe, StateNamePipe, SuggestionTypePipe, TableLinkPipe, TimeAgoPipe, TitleMediaPipe, TruncateTextPipe, TypeESPipe, User, UserRole, UserType, VisitsMonthTotalPipe, XSActionSheetComponent, XSActionSheetService, XSAlertComponent, XSAlertGroupComponent, XSAlertTextsService, XSAuthComponent, XSAvatarService, XSBadgeComponent, XSBlockComponent, XSBrandMediaPipe, XSBreadcrumbsComponent, XSButtonComponent, XSButtonGroupService, XSButtonsGroupComponent, XSChartComponent, XSChatAlertComponent, XSChatConversationComponent, XSChatConversationInfoComponent, XSChatFloatingPanelComponent, XSChatListComponent, XSChatTextareaComponent, XSCustomizeProfileComponent, XSDateFormatPipe, XSDateMiniComponent, XSDatePipe, XSDocumentService, XSEmptyStateComponent, XSFeedbackComponent, XSFilterPanelComponent, XSFindLabelByValuePipe, XSFirstLetterPipe, XSFormlyAddressSearchComponent, XSFormlyArrayComponent, XSFormlyButtonComponent, XSFormlyCheckboxComponent, XSFormlyComponent, XSFormlyDateComponent, XSFormlyDateRangeComponent, XSFormlyDatetimeComponent, XSFormlyEntityPickerComponent, XSFormlyHiddenComponent, XSFormlyHtmlEditorComponent, XSFormlyInputComponent, XSFormlyInputWithActionsComponent, XSFormlyJsonComponent, XSFormlyJsonEditorComponent, XSFormlyLabelComponent, XSFormlyModule, XSFormlySelectButtonComponent, XSFormlySelectComponent, XSFormlySelectionListComponent, XSFormlySocialComponent, XSFormlyTextareaComponent, XSFormlyTextareaSimpleComponent, XSFormlyType, XSFormlyUploadImageComponent, XSFullImageComponent, XSFullImageService, XSIconComponent, XSImageComponent, XSImportMediaBottomBarComponent, XSImportMediaCardComponent, XSImportMediaFlowComponent, XSImportMediaHeaderComponent, XSInfoBlocksComponent, XSItemActionComponent, XSItemTypeArtistComponent, XSItemTypeBaseComponent, XSItemTypeComponent, XSItemTypeEquipmentComponent, XSItemTypeEventComponent, XSItemTypeLastLoginComponent, XSItemTypeLastVisitComponent, XSItemTypeMediaComponent, XSItemTypeOrganizationComponent, XSItemTypePlaylistComponent, XSItemTypeSiteComponent, XSItemTypeTipComponent, XSItemTypeTrackingComponent, XSItemTypeUserComponent, XSItemTypeUserStatsComponent, XSListComponent, XSMapComponent, XSMapInfoBlockComponent, XSMapLibreComponent, XSMapLibreMapperService, XSMapLibrePopupService, XSMapLibreService, XSMapService, XSMaxCountPipe, XSModalAuthComponent, XSModalClaimComponent, XSModalComponent, XSModalConfirmComponent, XSModalDateComponent, XSModalFormComponent, XSModalImageSearchComponent, XSModalInfoComponent, XSModalInputComponent, XSModalSavedFiltersComponent, XSModalService, XSNavbarComponent, XSNavbarSidebarComponent, XSOtaProgressBarComponent, XSPopoverInfoComponent, XSProfileCommentsComponent, XSProfileInfoComponent, XSProfileTopsComponent, XSSafeUrlPipe, XSScrollAreaComponent, XSSectionTitleComponent, XSSelectComponent, XSSetupNamePipe, XSSpinnerComponent, XSStatsCardComponent, XSStepperComponent, XSTableCheckboxComponent, XSTableComponent, XSTableItemsChatComponent, XSTableItemsComponent, XSTableItemsContactComponent, XSTableItemsCountryComponent, XSTableItemsDateComponent, XSTableItemsEntityComponent, XSTableItemsPromotionComponent, XSTableItemsRoleComponent, XSTableItemsStateComponent, XSTableItemsVisitsComponent, XSTabsComponent, XSThousandsSeparatorPipe, XSTitleCollapseComponent, XSToastChatComponent, XSToastComponent, XSToastGenericComponent, XSToastService, XSTranslateService, XSTypeUserPipe, XSWindowService, XS_ADMIN_URL, XS_API_URL, XS_CHART_DEFAULT_COLORS, XS_DEFAULT_ADMIN_USER_ID, XS_DEFAULT_IMAGE_PATH, XS_DEFAULT_LOGO_URL, XS_ENV_NAME, XsLongPressDirective, countries, countries_africa, countries_americas, countries_asia, countries_europe, countries_oceania, datetimeLocalToIso, deslugify, firstLetterCase, flags, getColorByType, getColors, getCountryItem, getCountryNameByCode, getNumberWithZero, getTitleMedia, getTypeForApi, getTypePlural, getTypeSingular, getUserTypes, iconNameForSocial, iconNameForType, isBrowser, isMobile, isMobileUI, registerXSUiIcons, stringifyId, titleCase, toDatetimeLocalInput, truncateText, typeToValidType, uiComponents, uiComponentsExport };
22687
21987
  //# sourceMappingURL=xsmusices-ui.mjs.map