@opencitylabs/formio-custom-components 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -26,13 +26,13 @@ var xi;
26
26
  function Bc() {
27
27
  if (xi) return rr;
28
28
  xi = 1;
29
- var l = _n, s = /* @__PURE__ */ Symbol.for("react.element"), u = /* @__PURE__ */ Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, x = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
29
+ var l = _n, s = /* @__PURE__ */ Symbol.for("react.element"), u = /* @__PURE__ */ Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, b = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
30
30
  function I(o, y, r) {
31
31
  var c, h = {}, f = null, p = null;
32
32
  r !== void 0 && (f = "" + r), y.key !== void 0 && (f = "" + y.key), y.ref !== void 0 && (p = y.ref);
33
33
  for (c in y) i.call(y, c) && !S.hasOwnProperty(c) && (h[c] = y[c]);
34
34
  if (o && o.defaultProps) for (c in y = o.defaultProps, y) h[c] === void 0 && (h[c] = y[c]);
35
- return { $$typeof: s, type: o, key: f, ref: p, props: h, _owner: x.current };
35
+ return { $$typeof: s, type: o, key: f, ref: p, props: h, _owner: b.current };
36
36
  }
37
37
  return rr.Fragment = u, rr.jsx = I, rr.jsxs = I, rr;
38
38
  }
@@ -40,86 +40,86 @@ var ar = {};
40
40
  var Mi;
41
41
  function Uc() {
42
42
  return Mi || (Mi = 1, process.env.NODE_ENV !== "production" && (function() {
43
- var l = _n, s = /* @__PURE__ */ Symbol.for("react.element"), u = /* @__PURE__ */ Symbol.for("react.portal"), i = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), I = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), r = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), f = /* @__PURE__ */ Symbol.for("react.lazy"), p = /* @__PURE__ */ Symbol.for("react.offscreen"), g = Symbol.iterator, Y = "@@iterator";
44
- function _(b) {
45
- if (b === null || typeof b != "object")
43
+ var l = _n, s = /* @__PURE__ */ Symbol.for("react.element"), u = /* @__PURE__ */ Symbol.for("react.portal"), i = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), I = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), r = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), f = /* @__PURE__ */ Symbol.for("react.lazy"), p = /* @__PURE__ */ Symbol.for("react.offscreen"), g = Symbol.iterator, Y = "@@iterator";
44
+ function _(w) {
45
+ if (w === null || typeof w != "object")
46
46
  return null;
47
- var U = g && b[g] || b[Y];
47
+ var U = g && w[g] || w[Y];
48
48
  return typeof U == "function" ? U : null;
49
49
  }
50
50
  var k = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function C(b) {
51
+ function C(w) {
52
52
  {
53
53
  for (var U = arguments.length, Z = new Array(U > 1 ? U - 1 : 0), le = 1; le < U; le++)
54
54
  Z[le - 1] = arguments[le];
55
- j("error", b, Z);
55
+ j("error", w, Z);
56
56
  }
57
57
  }
58
- function j(b, U, Z) {
58
+ function j(w, U, Z) {
59
59
  {
60
60
  var le = k.ReactDebugCurrentFrame, ve = le.getStackAddendum();
61
61
  ve !== "" && (U += "%s", Z = Z.concat([ve]));
62
62
  var Me = Z.map(function(xe) {
63
63
  return String(xe);
64
64
  });
65
- Me.unshift("Warning: " + U), Function.prototype.apply.call(console[b], console, Me);
65
+ Me.unshift("Warning: " + U), Function.prototype.apply.call(console[w], console, Me);
66
66
  }
67
67
  }
68
- var F = !1, R = !1, O = !1, v = !1, T = !1, w;
69
- w = /* @__PURE__ */ Symbol.for("react.module.reference");
70
- function M(b) {
71
- return !!(typeof b == "string" || typeof b == "function" || b === i || b === S || T || b === x || b === r || b === c || v || b === p || F || R || O || typeof b == "object" && b !== null && (b.$$typeof === f || b.$$typeof === h || b.$$typeof === I || b.$$typeof === o || b.$$typeof === y || // This needs to include all possible module reference object
68
+ var F = !1, R = !1, O = !1, v = !1, T = !1, x;
69
+ x = /* @__PURE__ */ Symbol.for("react.module.reference");
70
+ function M(w) {
71
+ return !!(typeof w == "string" || typeof w == "function" || w === i || w === S || T || w === b || w === r || w === c || v || w === p || F || R || O || typeof w == "object" && w !== null && (w.$$typeof === f || w.$$typeof === h || w.$$typeof === I || w.$$typeof === o || w.$$typeof === y || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
- b.$$typeof === w || b.getModuleId !== void 0));
75
+ w.$$typeof === x || w.getModuleId !== void 0));
76
76
  }
77
- function V(b, U, Z) {
78
- var le = b.displayName;
77
+ function V(w, U, Z) {
78
+ var le = w.displayName;
79
79
  if (le)
80
80
  return le;
81
81
  var ve = U.displayName || U.name || "";
82
82
  return ve !== "" ? Z + "(" + ve + ")" : Z;
83
83
  }
84
- function A(b) {
85
- return b.displayName || "Context";
84
+ function A(w) {
85
+ return w.displayName || "Context";
86
86
  }
87
- function E(b) {
88
- if (b == null)
87
+ function E(w) {
88
+ if (w == null)
89
89
  return null;
90
- if (typeof b.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof b == "function")
91
- return b.displayName || b.name || null;
92
- if (typeof b == "string")
93
- return b;
94
- switch (b) {
90
+ if (typeof w.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof w == "function")
91
+ return w.displayName || w.name || null;
92
+ if (typeof w == "string")
93
+ return w;
94
+ switch (w) {
95
95
  case i:
96
96
  return "Fragment";
97
97
  case u:
98
98
  return "Portal";
99
99
  case S:
100
100
  return "Profiler";
101
- case x:
101
+ case b:
102
102
  return "StrictMode";
103
103
  case r:
104
104
  return "Suspense";
105
105
  case c:
106
106
  return "SuspenseList";
107
107
  }
108
- if (typeof b == "object")
109
- switch (b.$$typeof) {
108
+ if (typeof w == "object")
109
+ switch (w.$$typeof) {
110
110
  case o:
111
- var U = b;
111
+ var U = w;
112
112
  return A(U) + ".Consumer";
113
113
  case I:
114
- var Z = b;
114
+ var Z = w;
115
115
  return A(Z._context) + ".Provider";
116
116
  case y:
117
- return V(b, b.render, "ForwardRef");
117
+ return V(w, w.render, "ForwardRef");
118
118
  case h:
119
- var le = b.displayName || null;
120
- return le !== null ? le : E(b.type) || "Memo";
119
+ var le = w.displayName || null;
120
+ return le !== null ? le : E(w.type) || "Memo";
121
121
  case f: {
122
- var ve = b, Me = ve._payload, xe = ve._init;
122
+ var ve = w, Me = ve._payload, xe = ve._init;
123
123
  try {
124
124
  return E(xe(Me));
125
125
  } catch {
@@ -137,20 +137,20 @@ function Uc() {
137
137
  {
138
138
  if (B === 0) {
139
139
  Q = console.log, ne = console.info, te = console.warn, he = console.error, ee = console.group, ce = console.groupCollapsed, ge = console.groupEnd;
140
- var b = {
140
+ var w = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
143
143
  value: fe,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
147
- info: b,
148
- log: b,
149
- warn: b,
150
- error: b,
151
- group: b,
152
- groupCollapsed: b,
153
- groupEnd: b
147
+ info: w,
148
+ log: w,
149
+ warn: w,
150
+ error: w,
151
+ group: w,
152
+ groupCollapsed: w,
153
+ groupEnd: w
154
154
  });
155
155
  }
156
156
  B++;
@@ -159,31 +159,31 @@ function Uc() {
159
159
  function X() {
160
160
  {
161
161
  if (B--, B === 0) {
162
- var b = {
162
+ var w = {
163
163
  configurable: !0,
164
164
  enumerable: !0,
165
165
  writable: !0
166
166
  };
167
167
  Object.defineProperties(console, {
168
- log: z({}, b, {
168
+ log: z({}, w, {
169
169
  value: Q
170
170
  }),
171
- info: z({}, b, {
171
+ info: z({}, w, {
172
172
  value: ne
173
173
  }),
174
- warn: z({}, b, {
174
+ warn: z({}, w, {
175
175
  value: te
176
176
  }),
177
- error: z({}, b, {
177
+ error: z({}, w, {
178
178
  value: he
179
179
  }),
180
- group: z({}, b, {
180
+ group: z({}, w, {
181
181
  value: ee
182
182
  }),
183
- groupCollapsed: z({}, b, {
183
+ groupCollapsed: z({}, w, {
184
184
  value: ce
185
185
  }),
186
- groupEnd: z({}, b, {
186
+ groupEnd: z({}, w, {
187
187
  value: ge
188
188
  })
189
189
  });
@@ -192,7 +192,7 @@ function Uc() {
192
192
  }
193
193
  }
194
194
  var Pe = k.ReactCurrentDispatcher, Ie;
195
- function Ye(b, U, Z) {
195
+ function Ye(w, U, Z) {
196
196
  {
197
197
  if (Ie === void 0)
198
198
  try {
@@ -202,7 +202,7 @@ function Uc() {
202
202
  Ie = le && le[1] || "";
203
203
  }
204
204
  return `
205
- ` + Ie + b;
205
+ ` + Ie + w;
206
206
  }
207
207
  }
208
208
  var ke = !1, $;
@@ -210,11 +210,11 @@ function Uc() {
210
210
  var G = typeof WeakMap == "function" ? WeakMap : Map;
211
211
  $ = new G();
212
212
  }
213
- function K(b, U) {
214
- if (!b || ke)
213
+ function K(w, U) {
214
+ if (!w || ke)
215
215
  return "";
216
216
  {
217
- var Z = $.get(b);
217
+ var Z = $.get(w);
218
218
  if (Z !== void 0)
219
219
  return Z;
220
220
  }
@@ -239,14 +239,14 @@ function Uc() {
239
239
  } catch (Je) {
240
240
  le = Je;
241
241
  }
242
- Reflect.construct(b, [], xe);
242
+ Reflect.construct(w, [], xe);
243
243
  } else {
244
244
  try {
245
245
  xe.call();
246
246
  } catch (Je) {
247
247
  le = Je;
248
248
  }
249
- b.call(xe.prototype);
249
+ w.call(xe.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
@@ -254,7 +254,7 @@ function Uc() {
254
254
  } catch (Je) {
255
255
  le = Je;
256
256
  }
257
- b();
257
+ w();
258
258
  }
259
259
  } catch (Je) {
260
260
  if (Je && le && typeof Je.stack == "string") {
@@ -269,7 +269,7 @@ function Uc() {
269
269
  if (Fe--, Le--, Le < 0 || be[Fe] !== He[Le]) {
270
270
  var Be = `
271
271
  ` + be[Fe].replace(" at new ", " at ");
272
- return b.displayName && Be.includes("<anonymous>") && (Be = Be.replace("<anonymous>", b.displayName)), typeof b == "function" && $.set(b, Be), Be;
272
+ return w.displayName && Be.includes("<anonymous>") && (Be = Be.replace("<anonymous>", w.displayName)), typeof w == "function" && $.set(w, Be), Be;
273
273
  }
274
274
  while (Fe >= 1 && Le >= 0);
275
275
  break;
@@ -278,37 +278,37 @@ function Uc() {
278
278
  } finally {
279
279
  ke = !1, Pe.current = Me, X(), Error.prepareStackTrace = ve;
280
280
  }
281
- var it = b ? b.displayName || b.name : "", mt = it ? Ye(it) : "";
282
- return typeof b == "function" && $.set(b, mt), mt;
281
+ var it = w ? w.displayName || w.name : "", mt = it ? Ye(it) : "";
282
+ return typeof w == "function" && $.set(w, mt), mt;
283
283
  }
284
- function P(b, U, Z) {
285
- return K(b, !1);
284
+ function P(w, U, Z) {
285
+ return K(w, !1);
286
286
  }
287
- function q(b) {
288
- var U = b.prototype;
287
+ function q(w) {
288
+ var U = w.prototype;
289
289
  return !!(U && U.isReactComponent);
290
290
  }
291
- function N(b, U, Z) {
292
- if (b == null)
291
+ function N(w, U, Z) {
292
+ if (w == null)
293
293
  return "";
294
- if (typeof b == "function")
295
- return K(b, q(b));
296
- if (typeof b == "string")
297
- return Ye(b);
298
- switch (b) {
294
+ if (typeof w == "function")
295
+ return K(w, q(w));
296
+ if (typeof w == "string")
297
+ return Ye(w);
298
+ switch (w) {
299
299
  case r:
300
300
  return Ye("Suspense");
301
301
  case c:
302
302
  return Ye("SuspenseList");
303
303
  }
304
- if (typeof b == "object")
305
- switch (b.$$typeof) {
304
+ if (typeof w == "object")
305
+ switch (w.$$typeof) {
306
306
  case y:
307
- return P(b.render);
307
+ return P(w.render);
308
308
  case h:
309
- return N(b.type, U, Z);
309
+ return N(w.type, U, Z);
310
310
  case f: {
311
- var le = b, ve = le._payload, Me = le._init;
311
+ var le = w, ve = le._payload, Me = le._init;
312
312
  try {
313
313
  return N(Me(ve), U, Z);
314
314
  } catch {
@@ -318,25 +318,25 @@ function Uc() {
318
318
  return "";
319
319
  }
320
320
  var W = Object.prototype.hasOwnProperty, H = {}, ue = k.ReactDebugCurrentFrame;
321
- function ie(b) {
322
- if (b) {
323
- var U = b._owner, Z = N(b.type, b._source, U ? U.type : null);
321
+ function ie(w) {
322
+ if (w) {
323
+ var U = w._owner, Z = N(w.type, w._source, U ? U.type : null);
324
324
  ue.setExtraStackFrame(Z);
325
325
  } else
326
326
  ue.setExtraStackFrame(null);
327
327
  }
328
- function Te(b, U, Z, le, ve) {
328
+ function Te(w, U, Z, le, ve) {
329
329
  {
330
330
  var Me = Function.call.bind(W);
331
- for (var xe in b)
332
- if (Me(b, xe)) {
331
+ for (var xe in w)
332
+ if (Me(w, xe)) {
333
333
  var be = void 0;
334
334
  try {
335
- if (typeof b[xe] != "function") {
336
- var He = Error((le || "React class") + ": " + Z + " type `" + xe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof b[xe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
+ if (typeof w[xe] != "function") {
336
+ var He = Error((le || "React class") + ": " + Z + " type `" + xe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof w[xe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
337
  throw He.name = "Invariant Violation", He;
338
338
  }
339
- be = b[xe](U, xe, le, Z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ be = w[xe](U, xe, le, Z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (Fe) {
341
341
  be = Fe;
342
342
  }
@@ -345,28 +345,28 @@ function Uc() {
345
345
  }
346
346
  }
347
347
  var pe = Array.isArray;
348
- function ye(b) {
349
- return pe(b);
348
+ function ye(w) {
349
+ return pe(w);
350
350
  }
351
- function $e(b) {
351
+ function $e(w) {
352
352
  {
353
- var U = typeof Symbol == "function" && Symbol.toStringTag, Z = U && b[Symbol.toStringTag] || b.constructor.name || "Object";
353
+ var U = typeof Symbol == "function" && Symbol.toStringTag, Z = U && w[Symbol.toStringTag] || w.constructor.name || "Object";
354
354
  return Z;
355
355
  }
356
356
  }
357
- function Re(b) {
357
+ function Re(w) {
358
358
  try {
359
- return dt(b), !1;
359
+ return dt(w), !1;
360
360
  } catch {
361
361
  return !0;
362
362
  }
363
363
  }
364
- function dt(b) {
365
- return "" + b;
364
+ function dt(w) {
365
+ return "" + w;
366
366
  }
367
- function Ue(b) {
368
- if (Re(b))
369
- return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $e(b)), dt(b);
367
+ function Ue(w) {
368
+ if (Re(w))
369
+ return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $e(w)), dt(w);
370
370
  }
371
371
  var st = k.ReactCurrentOwner, Tt = {
372
372
  key: !0,
@@ -374,53 +374,53 @@ function Uc() {
374
374
  __self: !0,
375
375
  __source: !0
376
376
  }, ot, Ce;
377
- function Pt(b) {
378
- if (W.call(b, "ref")) {
379
- var U = Object.getOwnPropertyDescriptor(b, "ref").get;
377
+ function Pt(w) {
378
+ if (W.call(w, "ref")) {
379
+ var U = Object.getOwnPropertyDescriptor(w, "ref").get;
380
380
  if (U && U.isReactWarning)
381
381
  return !1;
382
382
  }
383
- return b.ref !== void 0;
383
+ return w.ref !== void 0;
384
384
  }
385
- function Ft(b) {
386
- if (W.call(b, "key")) {
387
- var U = Object.getOwnPropertyDescriptor(b, "key").get;
385
+ function Ft(w) {
386
+ if (W.call(w, "key")) {
387
+ var U = Object.getOwnPropertyDescriptor(w, "key").get;
388
388
  if (U && U.isReactWarning)
389
389
  return !1;
390
390
  }
391
- return b.key !== void 0;
391
+ return w.key !== void 0;
392
392
  }
393
- function lt(b, U) {
394
- typeof b.ref == "string" && st.current;
393
+ function lt(w, U) {
394
+ typeof w.ref == "string" && st.current;
395
395
  }
396
- function gt(b, U) {
396
+ function gt(w, U) {
397
397
  {
398
398
  var Z = function() {
399
399
  ot || (ot = !0, C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", U));
400
400
  };
401
- Z.isReactWarning = !0, Object.defineProperty(b, "key", {
401
+ Z.isReactWarning = !0, Object.defineProperty(w, "key", {
402
402
  get: Z,
403
403
  configurable: !0
404
404
  });
405
405
  }
406
406
  }
407
- function ht(b, U) {
407
+ function ht(w, U) {
408
408
  {
409
409
  var Z = function() {
410
410
  Ce || (Ce = !0, C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", U));
411
411
  };
412
- Z.isReactWarning = !0, Object.defineProperty(b, "ref", {
412
+ Z.isReactWarning = !0, Object.defineProperty(w, "ref", {
413
413
  get: Z,
414
414
  configurable: !0
415
415
  });
416
416
  }
417
417
  }
418
- var rt = function(b, U, Z, le, ve, Me, xe) {
418
+ var rt = function(w, U, Z, le, ve, Me, xe) {
419
419
  var be = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
421
  $$typeof: s,
422
422
  // Built-in properties that belong on the element
423
- type: b,
423
+ type: w,
424
424
  key: U,
425
425
  ref: Z,
426
426
  props: xe,
@@ -444,58 +444,58 @@ function Uc() {
444
444
  value: ve
445
445
  }), Object.freeze && (Object.freeze(be.props), Object.freeze(be)), be;
446
446
  };
447
- function vt(b, U, Z, le, ve) {
447
+ function vt(w, U, Z, le, ve) {
448
448
  {
449
449
  var Me, xe = {}, be = null, He = null;
450
450
  Z !== void 0 && (Ue(Z), be = "" + Z), Ft(U) && (Ue(U.key), be = "" + U.key), Pt(U) && (He = U.ref, lt(U, ve));
451
451
  for (Me in U)
452
452
  W.call(U, Me) && !Tt.hasOwnProperty(Me) && (xe[Me] = U[Me]);
453
- if (b && b.defaultProps) {
454
- var Fe = b.defaultProps;
453
+ if (w && w.defaultProps) {
454
+ var Fe = w.defaultProps;
455
455
  for (Me in Fe)
456
456
  xe[Me] === void 0 && (xe[Me] = Fe[Me]);
457
457
  }
458
458
  if (be || He) {
459
- var Le = typeof b == "function" ? b.displayName || b.name || "Unknown" : b;
459
+ var Le = typeof w == "function" ? w.displayName || w.name || "Unknown" : w;
460
460
  be && gt(xe, Le), He && ht(xe, Le);
461
461
  }
462
- return rt(b, be, He, ve, le, st.current, xe);
462
+ return rt(w, be, He, ve, le, st.current, xe);
463
463
  }
464
464
  }
465
465
  var yt = k.ReactCurrentOwner, We = k.ReactDebugCurrentFrame;
466
- function ft(b) {
467
- if (b) {
468
- var U = b._owner, Z = N(b.type, b._source, U ? U.type : null);
466
+ function ft(w) {
467
+ if (w) {
468
+ var U = w._owner, Z = N(w.type, w._source, U ? U.type : null);
469
469
  We.setExtraStackFrame(Z);
470
470
  } else
471
471
  We.setExtraStackFrame(null);
472
472
  }
473
473
  var ut;
474
474
  ut = !1;
475
- function at(b) {
476
- return typeof b == "object" && b !== null && b.$$typeof === s;
475
+ function at(w) {
476
+ return typeof w == "object" && w !== null && w.$$typeof === s;
477
477
  }
478
478
  function et() {
479
479
  {
480
480
  if (yt.current) {
481
- var b = E(yt.current.type);
482
- if (b)
481
+ var w = E(yt.current.type);
482
+ if (w)
483
483
  return `
484
484
 
485
- Check the render method of \`` + b + "`.";
485
+ Check the render method of \`` + w + "`.";
486
486
  }
487
487
  return "";
488
488
  }
489
489
  }
490
- function Vt(b) {
490
+ function Vt(w) {
491
491
  return "";
492
492
  }
493
493
  var re = {};
494
- function Tr(b) {
494
+ function Tr(w) {
495
495
  {
496
496
  var U = et();
497
497
  if (!U) {
498
- var Z = typeof b == "string" ? b : b.displayName || b.name;
498
+ var Z = typeof w == "string" ? w : w.displayName || w.name;
499
499
  Z && (U = `
500
500
 
501
501
  Check the top-level render call using <` + Z + ">.");
@@ -503,41 +503,41 @@ Check the top-level render call using <` + Z + ">.");
503
503
  return U;
504
504
  }
505
505
  }
506
- function ir(b, U) {
506
+ function ir(w, U) {
507
507
  {
508
- if (!b._store || b._store.validated || b.key != null)
508
+ if (!w._store || w._store.validated || w.key != null)
509
509
  return;
510
- b._store.validated = !0;
510
+ w._store.validated = !0;
511
511
  var Z = Tr(U);
512
512
  if (re[Z])
513
513
  return;
514
514
  re[Z] = !0;
515
515
  var le = "";
516
- b && b._owner && b._owner !== yt.current && (le = " It was passed a child from " + E(b._owner.type) + "."), ft(b), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Z, le), ft(null);
516
+ w && w._owner && w._owner !== yt.current && (le = " It was passed a child from " + E(w._owner.type) + "."), ft(w), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Z, le), ft(null);
517
517
  }
518
518
  }
519
- function nt(b, U) {
519
+ function nt(w, U) {
520
520
  {
521
- if (typeof b != "object")
521
+ if (typeof w != "object")
522
522
  return;
523
- if (ye(b))
524
- for (var Z = 0; Z < b.length; Z++) {
525
- var le = b[Z];
523
+ if (ye(w))
524
+ for (var Z = 0; Z < w.length; Z++) {
525
+ var le = w[Z];
526
526
  at(le) && ir(le, U);
527
527
  }
528
- else if (at(b))
529
- b._store && (b._store.validated = !0);
530
- else if (b) {
531
- var ve = _(b);
532
- if (typeof ve == "function" && ve !== b.entries)
533
- for (var Me = ve.call(b), xe; !(xe = Me.next()).done; )
528
+ else if (at(w))
529
+ w._store && (w._store.validated = !0);
530
+ else if (w) {
531
+ var ve = _(w);
532
+ if (typeof ve == "function" && ve !== w.entries)
533
+ for (var Me = ve.call(w), xe; !(xe = Me.next()).done; )
534
534
  at(xe.value) && ir(xe.value, U);
535
535
  }
536
536
  }
537
537
  }
538
- function tt(b) {
538
+ function tt(w) {
539
539
  {
540
- var U = b.type;
540
+ var U = w.type;
541
541
  if (U == null || typeof U == "string")
542
542
  return;
543
543
  var Z;
@@ -551,7 +551,7 @@ Check the top-level render call using <` + Z + ">.");
551
551
  return;
552
552
  if (Z) {
553
553
  var le = E(U);
554
- Te(Z, b.props, "prop", le, b);
554
+ Te(Z, w.props, "prop", le, w);
555
555
  } else if (U.PropTypes !== void 0 && !ut) {
556
556
  ut = !0;
557
557
  var ve = E(U);
@@ -560,31 +560,31 @@ Check the top-level render call using <` + Z + ">.");
560
560
  typeof U.getDefaultProps == "function" && !U.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
561
  }
562
562
  }
563
- function _e(b) {
563
+ function _e(w) {
564
564
  {
565
- for (var U = Object.keys(b.props), Z = 0; Z < U.length; Z++) {
565
+ for (var U = Object.keys(w.props), Z = 0; Z < U.length; Z++) {
566
566
  var le = U[Z];
567
567
  if (le !== "children" && le !== "key") {
568
- ft(b), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", le), ft(null);
568
+ ft(w), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", le), ft(null);
569
569
  break;
570
570
  }
571
571
  }
572
- b.ref !== null && (ft(b), C("Invalid attribute `ref` supplied to `React.Fragment`."), ft(null));
572
+ w.ref !== null && (ft(w), C("Invalid attribute `ref` supplied to `React.Fragment`."), ft(null));
573
573
  }
574
574
  }
575
575
  var zt = {};
576
- function je(b, U, Z, le, ve, Me) {
576
+ function je(w, U, Z, le, ve, Me) {
577
577
  {
578
- var xe = M(b);
578
+ var xe = M(w);
579
579
  if (!xe) {
580
580
  var be = "";
581
- (b === void 0 || typeof b == "object" && b !== null && Object.keys(b).length === 0) && (be += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
581
+ (w === void 0 || typeof w == "object" && w !== null && Object.keys(w).length === 0) && (be += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
582
  var He = Vt();
583
583
  He ? be += He : be += et();
584
584
  var Fe;
585
- b === null ? Fe = "null" : ye(b) ? Fe = "array" : b !== void 0 && b.$$typeof === s ? (Fe = "<" + (E(b.type) || "Unknown") + " />", be = " Did you accidentally export a JSX literal instead of a component?") : Fe = typeof b, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Fe, be);
585
+ w === null ? Fe = "null" : ye(w) ? Fe = "array" : w !== void 0 && w.$$typeof === s ? (Fe = "<" + (E(w.type) || "Unknown") + " />", be = " Did you accidentally export a JSX literal instead of a component?") : Fe = typeof w, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Fe, be);
586
586
  }
587
- var Le = vt(b, U, Z, ve, Me);
587
+ var Le = vt(w, U, Z, ve, Me);
588
588
  if (Le == null)
589
589
  return Le;
590
590
  if (xe) {
@@ -593,15 +593,15 @@ Check the top-level render call using <` + Z + ">.");
593
593
  if (le)
594
594
  if (ye(Be)) {
595
595
  for (var it = 0; it < Be.length; it++)
596
- nt(Be[it], b);
596
+ nt(Be[it], w);
597
597
  Object.freeze && Object.freeze(Be);
598
598
  } else
599
599
  C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
600
  else
601
- nt(Be, b);
601
+ nt(Be, w);
602
602
  }
603
603
  if (W.call(U, "key")) {
604
- var mt = E(b), Je = Object.keys(U).filter(function(ze) {
604
+ var mt = E(w), Je = Object.keys(U).filter(function(ze) {
605
605
  return ze !== "key";
606
606
  }), Kt = Je.length > 0 ? "{key: someKey, " + Je.join(": ..., ") + ": ...}" : "{key: someKey}";
607
607
  if (!zt[mt + Kt]) {
@@ -614,14 +614,14 @@ React keys must be passed directly to JSX without using spread:
614
614
  <%s key={someKey} {...props} />`, Kt, mt, Nr, mt), zt[mt + Kt] = !0;
615
615
  }
616
616
  }
617
- return b === i ? _e(Le) : tt(Le), Le;
617
+ return w === i ? _e(Le) : tt(Le), Le;
618
618
  }
619
619
  }
620
- function Nt(b, U, Z) {
621
- return je(b, U, Z, !0);
620
+ function Nt(w, U, Z) {
621
+ return je(w, U, Z, !0);
622
622
  }
623
- function Pr(b, U, Z) {
624
- return je(b, U, Z, !1);
623
+ function Pr(w, U, Z) {
624
+ return je(w, U, Z, !1);
625
625
  }
626
626
  var Lt = Pr, Ge = Nt;
627
627
  ar.Fragment = i, ar.jsx = Lt, ar.jsxs = Ge;
@@ -899,21 +899,21 @@ function Dt(l) {
899
899
  function Ze(l) {
900
900
  return (s, u) => {
901
901
  const i = u?.context ? String(u.context) : "standalone";
902
- let x;
902
+ let b;
903
903
  if (i === "formatting" && l.formattingValues) {
904
904
  const I = l.defaultFormattingWidth || l.defaultWidth, o = u?.width ? String(u.width) : I;
905
- x = l.formattingValues[o] || l.formattingValues[I];
905
+ b = l.formattingValues[o] || l.formattingValues[I];
906
906
  } else {
907
907
  const I = l.defaultWidth, o = u?.width ? String(u.width) : l.defaultWidth;
908
- x = l.values[o] || l.values[I];
908
+ b = l.values[o] || l.values[I];
909
909
  }
910
910
  const S = l.argumentCallback ? l.argumentCallback(s) : s;
911
- return x[S];
911
+ return b[S];
912
912
  };
913
913
  }
914
914
  function Qe(l) {
915
915
  return (s, u = {}) => {
916
- const i = u.width, x = i && l.matchPatterns[i] || l.matchPatterns[l.defaultMatchWidth], S = s.match(x);
916
+ const i = u.width, b = i && l.matchPatterns[i] || l.matchPatterns[l.defaultMatchWidth], S = s.match(b);
917
917
  if (!S)
918
918
  return null;
919
919
  const I = S[0], o = i && l.parsePatterns[i] || l.parsePatterns[l.defaultParseWidth], y = Array.isArray(o) ? Qc(o, (h) => h.test(I)) : (
@@ -943,11 +943,11 @@ function xn(l) {
943
943
  return (s, u = {}) => {
944
944
  const i = s.match(l.matchPattern);
945
945
  if (!i) return null;
946
- const x = i[0], S = s.match(l.parsePattern);
946
+ const b = i[0], S = s.match(l.parsePattern);
947
947
  if (!S) return null;
948
948
  let I = l.valueCallback ? l.valueCallback(S[0]) : S[0];
949
949
  I = u.valueCallback ? u.valueCallback(I) : I;
950
- const o = s.slice(x.length);
950
+ const o = s.slice(b.length);
951
951
  return { value: I, rest: o };
952
952
  };
953
953
  }
@@ -970,16 +970,16 @@ function ad(l, s) {
970
970
  return eo(s || l, l);
971
971
  }
972
972
  function Oi(l, s) {
973
- const u = rd(), i = s?.weekStartsOn ?? s?.locale?.options?.weekStartsOn ?? u.weekStartsOn ?? u.locale?.options?.weekStartsOn ?? 0, x = ad(l, s?.in), S = x.getDay(), I = (S < i ? 7 : 0) + S - i;
974
- return x.setDate(x.getDate() - I), x.setHours(0, 0, 0, 0), x;
973
+ const u = rd(), i = s?.weekStartsOn ?? s?.locale?.options?.weekStartsOn ?? u.weekStartsOn ?? u.locale?.options?.weekStartsOn ?? 0, b = ad(l, s?.in), S = b.getDay(), I = (S < i ? 7 : 0) + S - i;
974
+ return b.setDate(b.getDate() - I), b.setHours(0, 0, 0, 0), b;
975
975
  }
976
976
  function Yi(l, s, u) {
977
- const [i, x] = ed(
977
+ const [i, b] = ed(
978
978
  u?.in,
979
979
  l,
980
980
  s
981
981
  );
982
- return +Oi(i, u) == +Oi(x, u);
982
+ return +Oi(i, u) == +Oi(b, u);
983
983
  }
984
984
  const Ci = {
985
985
  lessThanXSeconds: {
@@ -1138,8 +1138,8 @@ const Ci = {
1138
1138
  }
1139
1139
  }, nd = (l, s, u) => {
1140
1140
  let i;
1141
- const x = u?.addSuffix ? Ci[l].withPreposition : Ci[l].standalone;
1142
- return typeof x == "string" ? i = x : s === 1 ? i = x.one : i = x.other.replace("{{count}}", String(s)), u?.addSuffix ? u.comparison && u.comparison > 0 ? "in " + i : "vor " + i : i;
1141
+ const b = u?.addSuffix ? Ci[l].withPreposition : Ci[l].standalone;
1142
+ return typeof b == "string" ? i = b : s === 1 ? i = b.one : i = b.other.replace("{{count}}", String(s)), u?.addSuffix ? u.comparison && u.comparison > 0 ? "in " + i : "vor " + i : i;
1143
1143
  }, id = {
1144
1144
  full: "EEEE, do MMMM y",
1145
1145
  // Montag, 7. Januar 2018
@@ -1516,8 +1516,8 @@ const Ci = {
1516
1516
  }
1517
1517
  }, Nd = (l, s, u) => {
1518
1518
  let i;
1519
- const x = Pd[l];
1520
- return typeof x == "string" ? i = x : s === 1 ? i = x.one : i = x.other.replace("{{count}}", s.toString()), u?.addSuffix ? u.comparison && u.comparison > 0 ? "in " + i : i + " ago" : i;
1519
+ const b = Pd[l];
1520
+ return typeof b == "string" ? i = b : s === 1 ? i = b.one : i = b.other.replace("{{count}}", s.toString()), u?.addSuffix ? u.comparison && u.comparison > 0 ? "in " + i : i + " ago" : i;
1521
1521
  }, Rd = {
1522
1522
  lastWeek: "'last' eeee 'at' p",
1523
1523
  yesterday: "'yesterday at' p",
@@ -1882,8 +1882,8 @@ const Ci = {
1882
1882
  }
1883
1883
  }, lh = (l, s, u) => {
1884
1884
  let i;
1885
- const x = oh[l];
1886
- return typeof x == "string" ? i = x : s === 1 ? i = x.one : i = x.other.replace("{{count}}", s.toString()), u?.addSuffix ? u.comparison && u.comparison > 0 ? "tra " + i : i + " fa" : i;
1885
+ const b = oh[l];
1886
+ return typeof b == "string" ? i = b : s === 1 ? i = b.one : i = b.other.replace("{{count}}", s.toString()), u?.addSuffix ? u.comparison && u.comparison > 0 ? "tra " + i : i + " fa" : i;
1887
1887
  }, uh = {
1888
1888
  full: "EEEE d MMMM y",
1889
1889
  long: "d MMMM y",
@@ -1944,8 +1944,8 @@ const ph = {
1944
1944
  },
1945
1945
  other: "P"
1946
1946
  }, gh = (l, s, u, i) => {
1947
- const x = ph[l];
1948
- return typeof x == "function" ? x(s, u, i) : x;
1947
+ const b = ph[l];
1948
+ return typeof b == "function" ? b(s, u, i) : b;
1949
1949
  }, vh = {
1950
1950
  narrow: ["aC", "dC"],
1951
1951
  abbreviated: ["a.C.", "d.C."],
@@ -2216,7 +2216,7 @@ function Sn() {
2216
2216
  function i() {
2217
2217
  return u.apply(null, arguments);
2218
2218
  }
2219
- function x(e) {
2219
+ function b(e) {
2220
2220
  u = e;
2221
2221
  }
2222
2222
  function S(e) {
@@ -2319,7 +2319,7 @@ function Sn() {
2319
2319
  function T(e) {
2320
2320
  return e instanceof v || e != null && e._isAMomentObject != null;
2321
2321
  }
2322
- function w(e) {
2322
+ function x(e) {
2323
2323
  i.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
2324
2324
  }
2325
2325
  function M(e, t) {
@@ -2338,7 +2338,7 @@ function Sn() {
2338
2338
  d = arguments[D];
2339
2339
  n.push(d);
2340
2340
  }
2341
- w(
2341
+ x(
2342
2342
  e + `
2343
2343
  Arguments: ` + Array.prototype.slice.call(n).join("") + `
2344
2344
  ` + new Error().stack
@@ -2349,7 +2349,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
2349
2349
  }
2350
2350
  var V = {};
2351
2351
  function A(e, t) {
2352
- i.deprecationHandler != null && i.deprecationHandler(e, t), V[e] || (w(t), V[e] = !0);
2352
+ i.deprecationHandler != null && i.deprecationHandler(e, t), V[e] || (x(t), V[e] = !0);
2353
2353
  }
2354
2354
  i.suppressDeprecationWarnings = !1, i.deprecationHandler = null;
2355
2355
  function E(e) {
@@ -2622,7 +2622,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
2622
2622
  function Lt(e) {
2623
2623
  return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
2624
2624
  }
2625
- var Ge = 0, b = 1, U = 2, Z = 3, le = 4, ve = 5, Me = 6, xe = 7, be = 8;
2625
+ var Ge = 0, w = 1, U = 2, Z = 3, le = 4, ve = 5, Me = 6, xe = 7, be = 8;
2626
2626
  X("Y", 0, 0, function() {
2627
2627
  var e = this.year();
2628
2628
  return e <= 9999 ? ee(e, 4) : "+" + e;
@@ -2743,10 +2743,10 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
2743
2743
  }), re("MMMM", function(e, t) {
2744
2744
  return t.monthsRegex(e);
2745
2745
  }), je(["M", "MM"], function(e, t) {
2746
- t[b] = _e(e) - 1;
2746
+ t[w] = _e(e) - 1;
2747
2747
  }), je(["MMM", "MMMM"], function(e, t, a, n) {
2748
2748
  var d = a._locale.monthsParse(e, n, a._strict);
2749
- d != null ? t[b] = d : _(a).invalidMonth = e;
2749
+ d != null ? t[w] = d : _(a).invalidMonth = e;
2750
2750
  });
2751
2751
  var ho = "January_February_March_April_May_June_July_August_September_October_November_December".split(
2752
2752
  "_"
@@ -3167,7 +3167,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
3167
3167
  }
3168
3168
  function Vr(e) {
3169
3169
  var t, a = e._a;
3170
- return a && _(e).overflow === -2 && (t = a[b] < 0 || a[b] > 11 ? b : a[U] < 1 || a[U] > Rr(a[Ge], a[b]) ? U : a[Z] < 0 || a[Z] > 24 || a[Z] === 24 && (a[le] !== 0 || a[ve] !== 0 || a[Me] !== 0) ? Z : a[le] < 0 || a[le] > 59 ? le : a[ve] < 0 || a[ve] > 59 ? ve : a[Me] < 0 || a[Me] > 999 ? Me : -1, _(e)._overflowDayOfYear && (t < Ge || t > U) && (t = U), _(e)._overflowWeeks && t === -1 && (t = xe), _(e)._overflowWeekday && t === -1 && (t = be), _(e).overflow = t), e;
3170
+ return a && _(e).overflow === -2 && (t = a[w] < 0 || a[w] > 11 ? w : a[U] < 1 || a[U] > Rr(a[Ge], a[w]) ? U : a[Z] < 0 || a[Z] > 24 || a[Z] === 24 && (a[le] !== 0 || a[ve] !== 0 || a[Me] !== 0) ? Z : a[le] < 0 || a[le] > 59 ? le : a[ve] < 0 || a[ve] > 59 ? ve : a[Me] < 0 || a[Me] > 999 ? Me : -1, _(e)._overflowDayOfYear && (t < Ge || t > U) && (t = U), _(e)._overflowWeeks && t === -1 && (t = xe), _(e)._overflowWeekday && t === -1 && (t = be), _(e).overflow = t), e;
3171
3171
  }
3172
3172
  var al = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, nl = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, il = /Z|[+-]\d\d(?::?\d\d)?/, lr = [
3173
3173
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
@@ -3332,7 +3332,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
3332
3332
  function Lr(e) {
3333
3333
  var t, a, n = [], d, D, L;
3334
3334
  if (!e._d) {
3335
- for (d = pl(e), e._w && e._a[U] == null && e._a[b] == null && gl(e), e._dayOfYear != null && (L = Wt(e._a[Ge], d[Ge]), (e._dayOfYear > He(L) || e._dayOfYear === 0) && (_(e)._overflowDayOfYear = !0), a = Xt(L, 0, e._dayOfYear), e._a[b] = a.getUTCMonth(), e._a[U] = a.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
3335
+ for (d = pl(e), e._w && e._a[U] == null && e._a[w] == null && gl(e), e._dayOfYear != null && (L = Wt(e._a[Ge], d[Ge]), (e._dayOfYear > He(L) || e._dayOfYear === 0) && (_(e)._overflowDayOfYear = !0), a = Xt(L, 0, e._dayOfYear), e._a[w] = a.getUTCMonth(), e._a[U] = a.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
3336
3336
  e._a[t] = n[t] = d[t];
3337
3337
  for (; t < 7; t++)
3338
3338
  e._a[t] = n[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
@@ -4158,7 +4158,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
4158
4158
  return this.year(L.getUTCFullYear()), this.month(L.getUTCMonth()), this.date(L.getUTCDate()), this;
4159
4159
  }
4160
4160
  X("Q", 0, "Qo", "quarter"), re("Q", dt), je("Q", function(e, t) {
4161
- t[b] = (_e(e) - 1) * 3;
4161
+ t[w] = (_e(e) - 1) * 3;
4162
4162
  });
4163
4163
  function Uu(e) {
4164
4164
  return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
@@ -4446,7 +4446,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
4446
4446
  }), je("x", function(e, t, a) {
4447
4447
  a._d = new Date(_e(e));
4448
4448
  });
4449
- return i.version = "2.30.1", x(Ee), i.fn = J, i.min = Sl, i.max = Dl, i.now = kl, i.utc = g, i.unix = ec, i.months = rc, i.isDate = h, i.locale = kt, i.invalid = j, i.duration = ct, i.isMoment = T, i.weekdays = nc, i.parseZone = tc, i.localeData = bt, i.isDuration = cr, i.monthsShort = ac, i.weekdaysMin = sc, i.defineLocale = Fr, i.updateLocale = tl, i.locales = rl, i.weekdaysShort = ic, i.normalizeUnits = pe, i.relativeTimeRounding = Nc, i.relativeTimeThreshold = Rc, i.calendarFormat = Xl, i.prototype = J, i.HTML5_FMT = {
4449
+ return i.version = "2.30.1", b(Ee), i.fn = J, i.min = Sl, i.max = Dl, i.now = kl, i.utc = g, i.unix = ec, i.months = rc, i.isDate = h, i.locale = kt, i.invalid = j, i.duration = ct, i.isMoment = T, i.weekdays = nc, i.parseZone = tc, i.localeData = bt, i.isDuration = cr, i.monthsShort = ac, i.weekdaysMin = sc, i.defineLocale = Fr, i.updateLocale = tl, i.locales = rl, i.weekdaysShort = ic, i.normalizeUnits = pe, i.relativeTimeRounding = Nc, i.relativeTimeThreshold = Rc, i.calendarFormat = Xl, i.prototype = J, i.HTML5_FMT = {
4450
4450
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
4451
4451
  // <input type="datetime-local" />
4452
4452
  DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
@@ -4592,9 +4592,9 @@ function Wh() {
4592
4592
  yy: "%d years"
4593
4593
  },
4594
4594
  dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
4595
- ordinal: function(x) {
4596
- var S = x % 10, I = ~~(x % 100 / 10) === 1 ? "th" : S === 1 ? "st" : S === 2 ? "nd" : S === 3 ? "rd" : "th";
4597
- return x + I;
4595
+ ordinal: function(b) {
4596
+ var S = b % 10, I = ~~(b % 100 / 10) === 1 ? "th" : S === 1 ? "st" : S === 2 ? "nd" : S === 3 ? "rd" : "th";
4597
+ return b + I;
4598
4598
  },
4599
4599
  week: {
4600
4600
  dow: 1,
@@ -4628,7 +4628,7 @@ function qh() {
4628
4628
  };
4629
4629
  return I ? r[o][0] : r[o][1];
4630
4630
  }
4631
- var x = u.defineLocale("de", {
4631
+ var b = u.defineLocale("de", {
4632
4632
  months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split(
4633
4633
  "_"
4634
4634
  ),
@@ -4683,7 +4683,7 @@ function qh() {
4683
4683
  // The week that contains Jan 4th is the first week of the year.
4684
4684
  }
4685
4685
  });
4686
- return x;
4686
+ return b;
4687
4687
  }));
4688
4688
  })()), vn.exports;
4689
4689
  }
@@ -4727,8 +4727,8 @@ const Ct = (l) => {
4727
4727
  ].forEach((S) => {
4728
4728
  s.hasOwnProperty(S) && s[S] && u.push(s[S]);
4729
4729
  }), s.road ? u.push(s.road) : s.pedestrian ? u.push(s.pedestrian) : s.suburb ? u.push(s.suburb) : s.square ? u.push(s.square) : (s.neighbourhood && u.push(s.neighbourhood), s.hamlet ? u.push(s.hamlet) : s.isolated_dwelling ? u.push(s.isolated_dwelling) : s.locality ? u.push(s.locality) : s.croft && u.push(s.croft)), s.house_number && u.push(s.house_number), s.postcode && u.push(s.postcode), s.village && u.push(s.village), s.town ? u.push(s.town) : s.city && u.push(s.city);
4730
- var x = u.join(", ").substr(0, 150);
4731
- return x;
4730
+ var b = u.join(", ").substr(0, 150);
4731
+ return b;
4732
4732
  };
4733
4733
  function nr(l) {
4734
4734
  let s = window.sessionStorage.getItem(l);
@@ -4743,11 +4743,11 @@ function nr(l) {
4743
4743
  function $h(l, s, u) {
4744
4744
  let i = u ? new Date(u * 1e3) : null;
4745
4745
  if (i) {
4746
- let x = {
4746
+ let b = {
4747
4747
  value: s,
4748
4748
  expirationDate: i.toISOString()
4749
4749
  };
4750
- window.sessionStorage.setItem(l, JSON.stringify(x));
4750
+ window.sessionStorage.setItem(l, JSON.stringify(b));
4751
4751
  }
4752
4752
  }
4753
4753
  function Ei({ day: l, slot: s, i18next: u }) {
@@ -4767,7 +4767,7 @@ const Ii = Et.Components.components.field, Bh = ({
4767
4767
  onChange: u,
4768
4768
  i18next: i
4769
4769
  }) => {
4770
- const [x, S] = se(), [I, o] = se([]), [y, r] = se([]), [c, h] = se(!1), [f, p] = se(null), [g, Y] = se(null), [_, k] = se(null), [C, j] = se(null), [F, R] = se({}), [O, v] = se(null), [T, w] = se(!1), [M, V] = se([]), [A, E] = se(!1), z = pt(), B = l.calendarId;
4770
+ const [b, S] = se(), [I, o] = se([]), [y, r] = se([]), [c, h] = se(!1), [f, p] = se(null), [g, Y] = se(null), [_, k] = se(null), [C, j] = se(null), [F, R] = se({}), [O, v] = se(null), [T, x] = se(!1), [M, V] = se([]), [A, E] = se(!1), z = pt(), B = l.calendarId;
4771
4771
  de.locale(i.language), we.locale(i.language);
4772
4772
  const Q = (N) => {
4773
4773
  let W = de(N).format("YYYY-MM-DD");
@@ -4895,7 +4895,7 @@ const Ii = Et.Components.components.field, Bh = ({
4895
4895
  Q(N);
4896
4896
  }, fe = (N) => {
4897
4897
  setTimeout(() => {
4898
- w(!T);
4898
+ x(!T);
4899
4899
  }, 1e3), ne(N);
4900
4900
  }, oe = (N) => {
4901
4901
  j(null), setTimeout(() => {
@@ -4947,7 +4947,7 @@ const Ii = Et.Components.components.field, Bh = ({
4947
4947
  });
4948
4948
  });
4949
4949
  }, Pe = () => {
4950
- g && (X(), w(!T));
4950
+ g && (X(), x(!T));
4951
4951
  }, Ie = () => /* @__PURE__ */ m.jsx("span", { children: i.t("Tempo prenotazione scaduto!") }), Ye = ({ minutes: N, seconds: W, completed: H }) => H ? /* @__PURE__ */ m.jsx(Ie, {}) : /* @__PURE__ */ m.jsx("div", { children: /* @__PURE__ */ m.jsxs("div", { children: [
4952
4952
  " ",
4953
4953
  /* @__PURE__ */ m.jsxs("span", { children: [
@@ -5080,7 +5080,7 @@ const Ii = Et.Components.components.field, Bh = ({
5080
5080
  xr,
5081
5081
  {
5082
5082
  mode: "single",
5083
- selected: x,
5083
+ selected: b,
5084
5084
  locale: P(),
5085
5085
  disabled: I,
5086
5086
  onMonthChange: ge,
@@ -5096,7 +5096,7 @@ const Ii = Et.Components.components.field, Bh = ({
5096
5096
  xr,
5097
5097
  {
5098
5098
  mode: "single",
5099
- selected: x,
5099
+ selected: b,
5100
5100
  locale: P(),
5101
5101
  disabled: I,
5102
5102
  onMonthChange: ge,
@@ -5152,13 +5152,13 @@ const Ii = Et.Components.components.field, Bh = ({
5152
5152
  Mr,
5153
5153
  {
5154
5154
  isOpen: T,
5155
- toggle: () => w(!T),
5155
+ toggle: () => x(!T),
5156
5156
  labelledBy: "daySelected",
5157
5157
  size: "lg",
5158
5158
  centered: !0,
5159
5159
  container: document.body,
5160
5160
  children: [
5161
- /* @__PURE__ */ m.jsx(Sr, { toggle: () => w(!T), id: "daySelected", children: i.t("Seleziona una fascia oraria") }),
5161
+ /* @__PURE__ */ m.jsx(Sr, { toggle: () => x(!T), id: "daySelected", children: i.t("Seleziona una fascia oraria") }),
5162
5162
  c ? null : /* @__PURE__ */ m.jsxs("div", { className: "title-xsmall u-grey-dark px-4", children: [
5163
5163
  " ",
5164
5164
  i.t(
@@ -5592,7 +5592,7 @@ const Vi = Et.Components.components.field, Kh = ({
5592
5592
  onChange: u,
5593
5593
  i18next: i
5594
5594
  }) => {
5595
- const [x, S] = se(), [I, o] = se([]), [y, r] = se([]), [c, h] = se(!1), [f, p] = se(null), [g, Y] = se(null), [_, k] = se(null), [C, j] = se(null), [F, R] = se({}), [O, v] = se(null), [T, w] = se(!1), [M, V] = se([]), [A, E] = se(!1), z = pt(), B = l.calendarId;
5595
+ const [b, S] = se(), [I, o] = se([]), [y, r] = se([]), [c, h] = se(!1), [f, p] = se(null), [g, Y] = se(null), [_, k] = se(null), [C, j] = se(null), [F, R] = se({}), [O, v] = se(null), [T, x] = se(!1), [M, V] = se([]), [A, E] = se(!1), z = pt(), B = l.calendarId;
5596
5596
  de.locale(i.language), we.locale(i.language);
5597
5597
  const Q = (P) => {
5598
5598
  let q = de(P).format("YYYY-MM-DD");
@@ -5720,7 +5720,7 @@ const Vi = Et.Components.components.field, Kh = ({
5720
5720
  Q(P);
5721
5721
  }, fe = (P) => {
5722
5722
  setTimeout(() => {
5723
- w(!T);
5723
+ x(!T);
5724
5724
  }, 1e3), ne(P);
5725
5725
  }, oe = (P) => {
5726
5726
  j(null), setTimeout(() => {
@@ -5772,7 +5772,7 @@ const Vi = Et.Components.components.field, Kh = ({
5772
5772
  });
5773
5773
  });
5774
5774
  }, Pe = () => {
5775
- g && (X(), w(!T));
5775
+ g && (X(), x(!T));
5776
5776
  }, Ie = () => /* @__PURE__ */ m.jsx("span", { children: i.t("Tempo prenotazione scaduto!") }), Ye = ({ minutes: P, seconds: q, completed: N }) => N ? /* @__PURE__ */ m.jsx(Ie, {}) : /* @__PURE__ */ m.jsx("div", { children: /* @__PURE__ */ m.jsxs("div", { children: [
5777
5777
  " ",
5778
5778
  /* @__PURE__ */ m.jsxs("span", { children: [
@@ -5885,7 +5885,7 @@ const Vi = Et.Components.components.field, Kh = ({
5885
5885
  xr,
5886
5886
  {
5887
5887
  mode: "single",
5888
- selected: x,
5888
+ selected: b,
5889
5889
  locale: G(),
5890
5890
  disabled: I,
5891
5891
  onMonthChange: ge,
@@ -5898,7 +5898,7 @@ const Vi = Et.Components.components.field, Kh = ({
5898
5898
  xr,
5899
5899
  {
5900
5900
  mode: "single",
5901
- selected: x,
5901
+ selected: b,
5902
5902
  locale: G(),
5903
5903
  disabled: I,
5904
5904
  onMonthChange: ge,
@@ -5948,13 +5948,13 @@ const Vi = Et.Components.components.field, Kh = ({
5948
5948
  Mr,
5949
5949
  {
5950
5950
  isOpen: T,
5951
- toggle: () => w(!T),
5951
+ toggle: () => x(!T),
5952
5952
  labelledBy: "daySelected",
5953
5953
  size: "lg",
5954
5954
  centered: !0,
5955
5955
  container: document.body,
5956
5956
  children: [
5957
- /* @__PURE__ */ m.jsx(Sr, { toggle: () => w(!T), id: "daySelected", children: i.t("Seleziona una fascia oraria") }),
5957
+ /* @__PURE__ */ m.jsx(Sr, { toggle: () => x(!T), id: "daySelected", children: i.t("Seleziona una fascia oraria") }),
5958
5958
  /* @__PURE__ */ m.jsx(Dr, { children: /* @__PURE__ */ m.jsxs("div", { className: "row", children: [
5959
5959
  M.length >= 1 ? /* @__PURE__ */ m.jsxs("div", { children: [
5960
5960
  _ && !c ? /* @__PURE__ */ m.jsxs("h6", { children: [
@@ -6256,9 +6256,9 @@ function ef(l, s) {
6256
6256
  const u = s.map((I) => {
6257
6257
  const o = new Date(I.start);
6258
6258
  return (new Date(I.end) - o) / 6e4;
6259
- }), i = Math.min(...u), x = u.reduce((I, o) => I + o, 0) / u.length;
6259
+ }), i = Math.min(...u), b = u.reduce((I, o) => I + o, 0) / u.length;
6260
6260
  let S = 0;
6261
- i <= 30 && i > 15 ? S = x * 1 : i <= 15 ? S = x * 24 : S = x * 4, l.setOption("slotHeight", S), document.documentElement.style.setProperty(
6261
+ i <= 30 && i > 15 ? S = b * 1 : i <= 15 ? S = b * 24 : S = b * 4, l.setOption("slotHeight", S), document.documentElement.style.setProperty(
6262
6262
  "--slot-height",
6263
6263
  `${S}px`
6264
6264
  );
@@ -6289,11 +6289,11 @@ const io = {
6289
6289
  try {
6290
6290
  const u = sessionStorage.getItem(s);
6291
6291
  if (!u) return null;
6292
- const i = JSON.parse(u), x = we().diff(
6292
+ const i = JSON.parse(u), b = we().diff(
6293
6293
  we(i.timestamp),
6294
6294
  "minutes"
6295
6295
  );
6296
- return x > io[l].duration ? (sessionStorage.removeItem(s), console.log(`⏰ Cache scaduto: ${l}`), null) : (console.log(`✅ Cache letto: ${l} (${x} minuti fa)`), i.data);
6296
+ return b > io[l].duration ? (sessionStorage.removeItem(s), console.log(`⏰ Cache scaduto: ${l}`), null) : (console.log(`✅ Cache letto: ${l} (${b} minuti fa)`), i.data);
6297
6297
  } catch (u) {
6298
6298
  return console.error(`Errore nel leggere il cache (${l}):`, u), null;
6299
6299
  }
@@ -6328,7 +6328,7 @@ const io = {
6328
6328
  onChange: u,
6329
6329
  i18next: i
6330
6330
  }) => {
6331
- const [x, S] = se(null), [I, o] = se(null), [y, r] = se([]), [c, h] = se(!1), [f, p] = se(!1), [g, Y] = se(null), [_, k] = se([]), [C, j] = se([]), [F, R] = se([]), [O, v] = se(null), [T, w] = se(null), [M, V] = se(null), A = pt(null), E = pt(null);
6331
+ const [b, S] = se(null), [I, o] = se(null), [y, r] = se([]), [c, h] = se(!1), [f, p] = se(!1), [g, Y] = se(null), [_, k] = se([]), [C, j] = se([]), [F, R] = se([]), [O, v] = se(null), [T, x] = se(null), [M, V] = se(null), A = pt(null), E = pt(null);
6332
6332
  i.language, de.locale(i.language), we.locale(i.language);
6333
6333
  function z($) {
6334
6334
  if (!$ || $.length === 0) return null;
@@ -6364,7 +6364,7 @@ const io = {
6364
6364
  }
6365
6365
  const he = ($) => {
6366
6366
  R([]), j([]), u({}), $ && j(
6367
- x.filter((G) => G.date.startsWith($))
6367
+ b.filter((G) => G.date.startsWith($))
6368
6368
  );
6369
6369
  }, ee = async ($, G) => {
6370
6370
  const K = JSON.parse($), P = aa("SLOTS", K.date, K.calendar_ids);
@@ -6475,20 +6475,20 @@ const io = {
6475
6475
  }
6476
6476
  };
6477
6477
  Ne(() => {
6478
- if (x?.length) {
6478
+ if (b?.length) {
6479
6479
  const $ = s?.dataValue ?? s?.getValue();
6480
6480
  if ($?.from_time && $?.to_time && !we().isAfter($?.draft_expiration)) {
6481
6481
  const G = we($.from_time).format("YYYY-MM");
6482
6482
  v(G), G && j && (j(
6483
- x.filter((K) => K.date.startsWith(G))
6484
- ), w(we($.from_time).format("YYYY-MM-DD")));
6483
+ b.filter((K) => K.date.startsWith(G))
6484
+ ), x(we($.from_time).format("YYYY-MM-DD")));
6485
6485
  } else $?.draft_expiration && we().isAfter($?.draft_expiration) && qe.fire({
6486
6486
  icon: "warning",
6487
6487
  title: i.t("warning"),
6488
6488
  html: i.t("expired_meeting")
6489
6489
  });
6490
6490
  }
6491
- }, [x]), Ne(() => {
6491
+ }, [b]), Ne(() => {
6492
6492
  const $ = s?.dataValue ?? s?.getValue();
6493
6493
  if (!_.length || O || $?.from_time || $?.to_time) return;
6494
6494
  const G = _[0];
@@ -6871,19 +6871,30 @@ class Yn extends zi {
6871
6871
  * #returns ReactInstance
6872
6872
  */
6873
6873
  attach(s, u) {
6874
- this.rootComponent = It(s), this.rootComponent.render(
6875
- /* @__PURE__ */ m.jsx(
6876
- af,
6877
- {
6878
- ref: u,
6879
- component: this.component,
6880
- value: this.dataValue,
6881
- onChange: (i) => this.setValue(i),
6882
- ...this,
6883
- current: this
6884
- }
6885
- )
6886
- );
6874
+ return super.attach(s).then(() => {
6875
+ this.loadRefs(this.element, {
6876
+ [`react-${this.id}`]: "single"
6877
+ });
6878
+ const i = this.refs[`react-${this.id}`];
6879
+ return i ? (this.rootComponent && (this.rootComponent.unmount(), this.rootComponent = null), this.rootComponent = It(i), this.builderMode ? (this.rootComponent.render(
6880
+ /* @__PURE__ */ m.jsx("div", { className: "my-1 border border-2 border-light rounded p-3 text-secondary", children: /* @__PURE__ */ m.jsx("div", { className: "h6 mb-0", children: this.component?.label || "Calendar Advanced" }) })
6881
+ ), this) : (this.rootComponent.render(
6882
+ /* @__PURE__ */ m.jsx(
6883
+ af,
6884
+ {
6885
+ ref: u,
6886
+ component: this.component,
6887
+ value: this.dataValue,
6888
+ onChange: (b) => this.setValue(b),
6889
+ ...this,
6890
+ current: this
6891
+ }
6892
+ )
6893
+ ), this)) : this;
6894
+ });
6895
+ }
6896
+ detach() {
6897
+ return this.rootComponent && (this.rootComponent.unmount(), this.rootComponent = null), super.detach();
6887
6898
  }
6888
6899
  setValue(s) {
6889
6900
  s && (this.updateValue(s), this.shouldSetValue = !0);
@@ -7336,16 +7347,16 @@ var la, $i;
7336
7347
  function df() {
7337
7348
  if ($i) return la;
7338
7349
  $i = 1;
7339
- var l = Tn(), s = Object.prototype, u = s.hasOwnProperty, i = s.toString, x = l ? l.toStringTag : void 0;
7350
+ var l = Tn(), s = Object.prototype, u = s.hasOwnProperty, i = s.toString, b = l ? l.toStringTag : void 0;
7340
7351
  function S(I) {
7341
- var o = u.call(I, x), y = I[x];
7352
+ var o = u.call(I, b), y = I[b];
7342
7353
  try {
7343
- I[x] = void 0;
7354
+ I[b] = void 0;
7344
7355
  var r = !0;
7345
7356
  } catch {
7346
7357
  }
7347
7358
  var c = i.call(I);
7348
- return r && (o ? I[x] = y : delete I[x]), c;
7359
+ return r && (o ? I[b] = y : delete I[b]), c;
7349
7360
  }
7350
7361
  return la = S, la;
7351
7362
  }
@@ -7363,9 +7374,9 @@ var ca, Ui;
7363
7374
  function oo() {
7364
7375
  if (Ui) return ca;
7365
7376
  Ui = 1;
7366
- var l = Tn(), s = df(), u = hf(), i = "[object Null]", x = "[object Undefined]", S = l ? l.toStringTag : void 0;
7377
+ var l = Tn(), s = df(), u = hf(), i = "[object Null]", b = "[object Undefined]", S = l ? l.toStringTag : void 0;
7367
7378
  function I(o) {
7368
- return o == null ? o === void 0 ? x : i : S && S in Object(o) ? s(o) : u(o);
7379
+ return o == null ? o === void 0 ? b : i : S && S in Object(o) ? s(o) : u(o);
7369
7380
  }
7370
7381
  return ca = I, ca;
7371
7382
  }
@@ -7383,8 +7394,8 @@ function Pn() {
7383
7394
  if (Ji) return ha;
7384
7395
  Ji = 1;
7385
7396
  var l = oo(), s = ff(), u = "[object Symbol]";
7386
- function i(x) {
7387
- return typeof x == "symbol" || s(x) && l(x) == u;
7397
+ function i(b) {
7398
+ return typeof b == "symbol" || s(b) && l(b) == u;
7388
7399
  }
7389
7400
  return ha = i, ha;
7390
7401
  }
@@ -7393,13 +7404,13 @@ function mf() {
7393
7404
  if (Ki) return fa;
7394
7405
  Ki = 1;
7395
7406
  var l = Cn(), s = Pn(), u = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, i = /^\w*$/;
7396
- function x(S, I) {
7407
+ function b(S, I) {
7397
7408
  if (l(S))
7398
7409
  return !1;
7399
7410
  var o = typeof S;
7400
7411
  return o == "number" || o == "symbol" || o == "boolean" || S == null || s(S) ? !0 : i.test(S) || !u.test(S) || I != null && S in Object(I);
7401
7412
  }
7402
- return fa = x, fa;
7413
+ return fa = b, fa;
7403
7414
  }
7404
7415
  var ma, Xi;
7405
7416
  function Nn() {
@@ -7415,12 +7426,12 @@ var pa, Zi;
7415
7426
  function pf() {
7416
7427
  if (Zi) return pa;
7417
7428
  Zi = 1;
7418
- var l = oo(), s = Nn(), u = "[object AsyncFunction]", i = "[object Function]", x = "[object GeneratorFunction]", S = "[object Proxy]";
7429
+ var l = oo(), s = Nn(), u = "[object AsyncFunction]", i = "[object Function]", b = "[object GeneratorFunction]", S = "[object Proxy]";
7419
7430
  function I(o) {
7420
7431
  if (!s(o))
7421
7432
  return !1;
7422
7433
  var y = l(o);
7423
- return y == i || y == x || y == u || y == S;
7434
+ return y == i || y == b || y == u || y == S;
7424
7435
  }
7425
7436
  return pa = I, pa;
7426
7437
  }
@@ -7468,8 +7479,8 @@ var _a, rs;
7468
7479
  function _f() {
7469
7480
  if (rs) return _a;
7470
7481
  rs = 1;
7471
- var l = pf(), s = vf(), u = Nn(), i = yf(), x = /[\\^$.*+?()[\]{}|]/g, S = /^\[object .+?Constructor\]$/, I = Function.prototype, o = Object.prototype, y = I.toString, r = o.hasOwnProperty, c = RegExp(
7472
- "^" + y.call(r).replace(x, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
7482
+ var l = pf(), s = vf(), u = Nn(), i = yf(), b = /[\\^$.*+?()[\]{}|]/g, S = /^\[object .+?Constructor\]$/, I = Function.prototype, o = Object.prototype, y = I.toString, r = o.hasOwnProperty, c = RegExp(
7483
+ "^" + y.call(r).replace(b, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
7473
7484
  );
7474
7485
  function h(f) {
7475
7486
  if (!u(f) || s(f))
@@ -7493,8 +7504,8 @@ function Rn() {
7493
7504
  if (ns) return wa;
7494
7505
  ns = 1;
7495
7506
  var l = _f(), s = bf();
7496
- function u(i, x) {
7497
- var S = s(i, x);
7507
+ function u(i, b) {
7508
+ var S = s(i, b);
7498
7509
  return l(S) ? S : void 0;
7499
7510
  }
7500
7511
  return wa = u, wa;
@@ -7531,7 +7542,7 @@ function Mf() {
7531
7542
  if (ls) return Da;
7532
7543
  ls = 1;
7533
7544
  var l = Yr(), s = "__lodash_hash_undefined__", u = Object.prototype, i = u.hasOwnProperty;
7534
- function x(S) {
7545
+ function b(S) {
7535
7546
  var I = this.__data__;
7536
7547
  if (l) {
7537
7548
  var o = I[S];
@@ -7539,16 +7550,16 @@ function Mf() {
7539
7550
  }
7540
7551
  return i.call(I, S) ? I[S] : void 0;
7541
7552
  }
7542
- return Da = x, Da;
7553
+ return Da = b, Da;
7543
7554
  }
7544
7555
  var ka, us;
7545
7556
  function Sf() {
7546
7557
  if (us) return ka;
7547
7558
  us = 1;
7548
7559
  var l = Yr(), s = Object.prototype, u = s.hasOwnProperty;
7549
- function i(x) {
7560
+ function i(b) {
7550
7561
  var S = this.__data__;
7551
- return l ? S[x] !== void 0 : u.call(S, x);
7562
+ return l ? S[b] !== void 0 : u.call(S, b);
7552
7563
  }
7553
7564
  return ka = i, ka;
7554
7565
  }
@@ -7557,9 +7568,9 @@ function Df() {
7557
7568
  if (cs) return Oa;
7558
7569
  cs = 1;
7559
7570
  var l = Yr(), s = "__lodash_hash_undefined__";
7560
- function u(i, x) {
7571
+ function u(i, b) {
7561
7572
  var S = this.__data__;
7562
- return this.size += this.has(i) ? 0 : 1, S[i] = l && x === void 0 ? s : x, this;
7573
+ return this.size += this.has(i) ? 0 : 1, S[i] = l && b === void 0 ? s : b, this;
7563
7574
  }
7564
7575
  return Oa = u, Oa;
7565
7576
  }
@@ -7567,7 +7578,7 @@ var Ya, ds;
7567
7578
  function kf() {
7568
7579
  if (ds) return Ya;
7569
7580
  ds = 1;
7570
- var l = wf(), s = xf(), u = Mf(), i = Sf(), x = Df();
7581
+ var l = wf(), s = xf(), u = Mf(), i = Sf(), b = Df();
7571
7582
  function S(I) {
7572
7583
  var o = -1, y = I == null ? 0 : I.length;
7573
7584
  for (this.clear(); ++o < y; ) {
@@ -7575,7 +7586,7 @@ function kf() {
7575
7586
  this.set(r[0], r[1]);
7576
7587
  }
7577
7588
  }
7578
- return S.prototype.clear = l, S.prototype.delete = s, S.prototype.get = u, S.prototype.has = i, S.prototype.set = x, Ya = S, Ya;
7589
+ return S.prototype.clear = l, S.prototype.delete = s, S.prototype.get = u, S.prototype.has = i, S.prototype.set = b, Ya = S, Ya;
7579
7590
  }
7580
7591
  var Ca, hs;
7581
7592
  function Of() {
@@ -7601,9 +7612,9 @@ function Cr() {
7601
7612
  ms = 1;
7602
7613
  var l = lo();
7603
7614
  function s(u, i) {
7604
- for (var x = u.length; x--; )
7605
- if (l(u[x][0], i))
7606
- return x;
7615
+ for (var b = u.length; b--; )
7616
+ if (l(u[b][0], i))
7617
+ return b;
7607
7618
  return -1;
7608
7619
  }
7609
7620
  return Ta = s, Ta;
@@ -7613,8 +7624,8 @@ function Yf() {
7613
7624
  if (ps) return Pa;
7614
7625
  ps = 1;
7615
7626
  var l = Cr(), s = Array.prototype, u = s.splice;
7616
- function i(x) {
7617
- var S = this.__data__, I = l(S, x);
7627
+ function i(b) {
7628
+ var S = this.__data__, I = l(S, b);
7618
7629
  if (I < 0)
7619
7630
  return !1;
7620
7631
  var o = S.length - 1;
@@ -7628,8 +7639,8 @@ function Cf() {
7628
7639
  gs = 1;
7629
7640
  var l = Cr();
7630
7641
  function s(u) {
7631
- var i = this.__data__, x = l(i, u);
7632
- return x < 0 ? void 0 : i[x][1];
7642
+ var i = this.__data__, b = l(i, u);
7643
+ return b < 0 ? void 0 : i[b][1];
7633
7644
  }
7634
7645
  return Na = s, Na;
7635
7646
  }
@@ -7649,8 +7660,8 @@ function Tf() {
7649
7660
  ys = 1;
7650
7661
  var l = Cr();
7651
7662
  function s(u, i) {
7652
- var x = this.__data__, S = l(x, u);
7653
- return S < 0 ? (++this.size, x.push([u, i])) : x[S][1] = i, this;
7663
+ var b = this.__data__, S = l(b, u);
7664
+ return S < 0 ? (++this.size, b.push([u, i])) : b[S][1] = i, this;
7654
7665
  }
7655
7666
  return Aa = s, Aa;
7656
7667
  }
@@ -7658,7 +7669,7 @@ var Ea, _s;
7658
7669
  function Pf() {
7659
7670
  if (_s) return Ea;
7660
7671
  _s = 1;
7661
- var l = Of(), s = Yf(), u = Cf(), i = jf(), x = Tf();
7672
+ var l = Of(), s = Yf(), u = Cf(), i = jf(), b = Tf();
7662
7673
  function S(I) {
7663
7674
  var o = -1, y = I == null ? 0 : I.length;
7664
7675
  for (this.clear(); ++o < y; ) {
@@ -7666,7 +7677,7 @@ function Pf() {
7666
7677
  this.set(r[0], r[1]);
7667
7678
  }
7668
7679
  }
7669
- return S.prototype.clear = l, S.prototype.delete = s, S.prototype.get = u, S.prototype.has = i, S.prototype.set = x, Ea = S, Ea;
7680
+ return S.prototype.clear = l, S.prototype.delete = s, S.prototype.get = u, S.prototype.has = i, S.prototype.set = b, Ea = S, Ea;
7670
7681
  }
7671
7682
  var Ia, bs;
7672
7683
  function Nf() {
@@ -7705,8 +7716,8 @@ function jr() {
7705
7716
  Ms = 1;
7706
7717
  var l = Af();
7707
7718
  function s(u, i) {
7708
- var x = u.__data__;
7709
- return l(i) ? x[typeof i == "string" ? "string" : "hash"] : x.map;
7719
+ var b = u.__data__;
7720
+ return l(i) ? b[typeof i == "string" ? "string" : "hash"] : b.map;
7710
7721
  }
7711
7722
  return za = s, za;
7712
7723
  }
@@ -7747,8 +7758,8 @@ function Vf() {
7747
7758
  Os = 1;
7748
7759
  var l = jr();
7749
7760
  function s(u, i) {
7750
- var x = l(this, u), S = x.size;
7751
- return x.set(u, i), this.size += x.size == S ? 0 : 1, this;
7761
+ var b = l(this, u), S = b.size;
7762
+ return b.set(u, i), this.size += b.size == S ? 0 : 1, this;
7752
7763
  }
7753
7764
  return qa = s, qa;
7754
7765
  }
@@ -7756,7 +7767,7 @@ var $a, Ys;
7756
7767
  function zf() {
7757
7768
  if (Ys) return $a;
7758
7769
  Ys = 1;
7759
- var l = Rf(), s = Ef(), u = If(), i = Ff(), x = Vf();
7770
+ var l = Rf(), s = Ef(), u = If(), i = Ff(), b = Vf();
7760
7771
  function S(I) {
7761
7772
  var o = -1, y = I == null ? 0 : I.length;
7762
7773
  for (this.clear(); ++o < y; ) {
@@ -7764,18 +7775,18 @@ function zf() {
7764
7775
  this.set(r[0], r[1]);
7765
7776
  }
7766
7777
  }
7767
- return S.prototype.clear = l, S.prototype.delete = s, S.prototype.get = u, S.prototype.has = i, S.prototype.set = x, $a = S, $a;
7778
+ return S.prototype.clear = l, S.prototype.delete = s, S.prototype.get = u, S.prototype.has = i, S.prototype.set = b, $a = S, $a;
7768
7779
  }
7769
7780
  var Ba, Cs;
7770
7781
  function Lf() {
7771
7782
  if (Cs) return Ba;
7772
7783
  Cs = 1;
7773
7784
  var l = zf(), s = "Expected a function";
7774
- function u(i, x) {
7775
- if (typeof i != "function" || x != null && typeof x != "function")
7785
+ function u(i, b) {
7786
+ if (typeof i != "function" || b != null && typeof b != "function")
7776
7787
  throw new TypeError(s);
7777
7788
  var S = function() {
7778
- var I = arguments, o = x ? x.apply(this, I) : I[0], y = S.cache;
7789
+ var I = arguments, o = b ? b.apply(this, I) : I[0], y = S.cache;
7779
7790
  if (y.has(o))
7780
7791
  return y.get(o);
7781
7792
  var r = i.apply(this, I);
@@ -7791,10 +7802,10 @@ function Wf() {
7791
7802
  js = 1;
7792
7803
  var l = Lf(), s = 500;
7793
7804
  function u(i) {
7794
- var x = l(i, function(I) {
7805
+ var b = l(i, function(I) {
7795
7806
  return S.size === s && S.clear(), I;
7796
- }), S = x.cache;
7797
- return x;
7807
+ }), S = b.cache;
7808
+ return b;
7798
7809
  }
7799
7810
  return Ua = u, Ua;
7800
7811
  }
@@ -7802,9 +7813,9 @@ var Ga, Ts;
7802
7813
  function Hf() {
7803
7814
  if (Ts) return Ga;
7804
7815
  Ts = 1;
7805
- var l = Wf(), s = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, u = /\\(\\)?/g, i = l(function(x) {
7816
+ var l = Wf(), s = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, u = /\\(\\)?/g, i = l(function(b) {
7806
7817
  var S = [];
7807
- return x.charCodeAt(0) === 46 && S.push(""), x.replace(s, function(I, o, y, r) {
7818
+ return b.charCodeAt(0) === 46 && S.push(""), b.replace(s, function(I, o, y, r) {
7808
7819
  S.push(y ? r.replace(u, "$1") : o || I);
7809
7820
  }), S;
7810
7821
  });
@@ -7815,7 +7826,7 @@ function qf() {
7815
7826
  if (Ps) return Ja;
7816
7827
  Ps = 1;
7817
7828
  function l(s, u) {
7818
- for (var i = -1, x = s == null ? 0 : s.length, S = Array(x); ++i < x; )
7829
+ for (var i = -1, b = s == null ? 0 : s.length, S = Array(b); ++i < b; )
7819
7830
  S[i] = u(s[i], i, s);
7820
7831
  return S;
7821
7832
  }
@@ -7825,7 +7836,7 @@ var Ka, Ns;
7825
7836
  function $f() {
7826
7837
  if (Ns) return Ka;
7827
7838
  Ns = 1;
7828
- var l = Tn(), s = qf(), u = Cn(), i = Pn(), x = l ? l.prototype : void 0, S = x ? x.toString : void 0;
7839
+ var l = Tn(), s = qf(), u = Cn(), i = Pn(), b = l ? l.prototype : void 0, S = b ? b.toString : void 0;
7829
7840
  function I(o) {
7830
7841
  if (typeof o == "string")
7831
7842
  return o;
@@ -7853,10 +7864,10 @@ function uo() {
7853
7864
  if (As) return Za;
7854
7865
  As = 1;
7855
7866
  var l = Cn(), s = mf(), u = Hf(), i = Bf();
7856
- function x(S, I) {
7867
+ function b(S, I) {
7857
7868
  return l(S) ? S : s(S, I) ? [S] : u(i(S));
7858
7869
  }
7859
- return Za = x, Za;
7870
+ return Za = b, Za;
7860
7871
  }
7861
7872
  var Qa, Es;
7862
7873
  function co() {
@@ -7876,10 +7887,10 @@ function Uf() {
7876
7887
  if (Is) return en;
7877
7888
  Is = 1;
7878
7889
  var l = uo(), s = co();
7879
- function u(i, x) {
7880
- x = l(x, i);
7881
- for (var S = 0, I = x.length; i != null && S < I; )
7882
- i = i[s(x[S++])];
7890
+ function u(i, b) {
7891
+ b = l(b, i);
7892
+ for (var S = 0, I = b.length; i != null && S < I; )
7893
+ i = i[s(b[S++])];
7883
7894
  return S && S == I ? i : void 0;
7884
7895
  }
7885
7896
  return en = u, en;
@@ -7889,9 +7900,9 @@ function Gf() {
7889
7900
  if (Fs) return tn;
7890
7901
  Fs = 1;
7891
7902
  var l = Uf();
7892
- function s(u, i, x) {
7903
+ function s(u, i, b) {
7893
7904
  var S = u == null ? void 0 : l(u, i);
7894
- return S === void 0 ? x : S;
7905
+ return S === void 0 ? b : S;
7895
7906
  }
7896
7907
  return tn = s, tn;
7897
7908
  }
@@ -7915,13 +7926,13 @@ function Xf() {
7915
7926
  if (zs) return nn;
7916
7927
  zs = 1;
7917
7928
  var l = Kf();
7918
- function s(u, i, x) {
7929
+ function s(u, i, b) {
7919
7930
  i == "__proto__" && l ? l(u, i, {
7920
7931
  configurable: !0,
7921
7932
  enumerable: !0,
7922
- value: x,
7933
+ value: b,
7923
7934
  writable: !0
7924
- }) : u[i] = x;
7935
+ }) : u[i] = b;
7925
7936
  }
7926
7937
  return nn = s, nn;
7927
7938
  }
@@ -7930,20 +7941,20 @@ function Zf() {
7930
7941
  if (Ls) return sn;
7931
7942
  Ls = 1;
7932
7943
  var l = Xf(), s = lo(), u = Object.prototype, i = u.hasOwnProperty;
7933
- function x(S, I, o) {
7944
+ function b(S, I, o) {
7934
7945
  var y = S[I];
7935
7946
  (!(i.call(S, I) && s(y, o)) || o === void 0 && !(I in S)) && l(S, I, o);
7936
7947
  }
7937
- return sn = x, sn;
7948
+ return sn = b, sn;
7938
7949
  }
7939
7950
  var on, Ws;
7940
7951
  function Qf() {
7941
7952
  if (Ws) return on;
7942
7953
  Ws = 1;
7943
7954
  var l = 9007199254740991, s = /^(?:0|[1-9]\d*)$/;
7944
- function u(i, x) {
7955
+ function u(i, b) {
7945
7956
  var S = typeof i;
7946
- return x = x ?? l, !!x && (S == "number" || S != "symbol" && s.test(i)) && i > -1 && i % 1 == 0 && i < x;
7957
+ return b = b ?? l, !!b && (S == "number" || S != "symbol" && s.test(i)) && i > -1 && i % 1 == 0 && i < b;
7947
7958
  }
7948
7959
  return on = u, on;
7949
7960
  }
@@ -7951,13 +7962,13 @@ var ln, Hs;
7951
7962
  function em() {
7952
7963
  if (Hs) return ln;
7953
7964
  Hs = 1;
7954
- var l = Zf(), s = uo(), u = Qf(), i = Nn(), x = co();
7965
+ var l = Zf(), s = uo(), u = Qf(), i = Nn(), b = co();
7955
7966
  function S(I, o, y, r) {
7956
7967
  if (!i(I))
7957
7968
  return I;
7958
7969
  o = s(o, I);
7959
7970
  for (var c = -1, h = o.length, f = h - 1, p = I; p != null && ++c < h; ) {
7960
- var g = x(o[c]), Y = y;
7971
+ var g = b(o[c]), Y = y;
7961
7972
  if (g === "__proto__" || g === "constructor" || g === "prototype")
7962
7973
  return I;
7963
7974
  if (c != f) {
@@ -7975,8 +7986,8 @@ function tm() {
7975
7986
  if (qs) return un;
7976
7987
  qs = 1;
7977
7988
  var l = em();
7978
- function s(u, i, x) {
7979
- return u == null ? u : l(u, i, x);
7989
+ function s(u, i, b) {
7990
+ return u == null ? u : l(u, i, b);
7980
7991
  }
7981
7992
  return un = s, un;
7982
7993
  }
@@ -8006,11 +8017,11 @@ class am {
8006
8017
  headers: {
8007
8018
  "Content-Type": "application/json; charset=utf-8"
8008
8019
  }
8009
- }).then((x) => {
8010
- const S = Wc(x.data.token);
8011
- S.exp && $h("auth-token", x.data.token, S.exp);
8012
- }).catch((x) => {
8013
- console.log(x);
8020
+ }).then((b) => {
8021
+ const S = Wc(b.data.token);
8022
+ S.exp && $h("auth-token", b.data.token, S.exp);
8023
+ }).catch((b) => {
8024
+ console.log(b);
8014
8025
  });
8015
8026
  });
8016
8027
  }
@@ -8027,24 +8038,24 @@ const dn = Et.Components.components.file;
8027
8038
  let yn = null;
8028
8039
  document.querySelector("widget-formio") !== null && (yn = document.querySelector("widget-formio").getAttribute("signature-check-ws-url"));
8029
8040
  const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8030
- const [x, S] = se([]), [I, o] = se(/* @__PURE__ */ new Map()), [y, r] = se(!1), c = new am();
8041
+ const [b, S] = se([]), [I, o] = se(/* @__PURE__ */ new Map()), [y, r] = se(!1), c = new am();
8031
8042
  Ne(() => {
8032
8043
  c.getSessionAuthTokenPromise();
8033
8044
  }, []);
8034
- const h = (w, M) => {
8045
+ const h = (x, M) => {
8035
8046
  o((V) => {
8036
8047
  const A = new Map(V);
8037
- return A.set(w, { ...M, progress: Number(M?.progress) || 0 }), A;
8048
+ return A.set(x, { ...M, progress: Number(M?.progress) || 0 }), A;
8038
8049
  });
8039
8050
  };
8040
- function f(w) {
8041
- return w.size > (v(l.fileMaxSize) || v("1GB")) ? {
8051
+ function f(x) {
8052
+ return x.size > (v(l.fileMaxSize) || v("1GB")) ? {
8042
8053
  code: "size-files",
8043
8054
  message: `${i.t("I file non possono superare le dimensioni di")} ${l.fileMaxSize ? l.fileMaxSize : "1GB"}`
8044
- } : x.length >= (l.maxFiles ? parseInt(l.maxFiles) : l.multiple ? 100 : 1) ? {
8055
+ } : b.length >= (l.maxFiles ? parseInt(l.maxFiles) : l.multiple ? 100 : 1) ? {
8045
8056
  code: "too-many-files",
8046
8057
  message: `${i.t("Puoi caricare massimo ")} ${l.maxFiles || 100} ${i.t("file")}`
8047
- } : w.size < v(l.fileMinSize) ? {
8058
+ } : x.size < v(l.fileMinSize) ? {
8048
8059
  code: "file-too-small",
8049
8060
  message: `${i.t("I file devono avare una dimensione superiore a ")} ${l.fileMinSize}`
8050
8061
  } : null;
@@ -8059,21 +8070,21 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8059
8070
  } else
8060
8071
  return !0;
8061
8072
  }
8062
- const g = (w) => {
8073
+ const g = (x) => {
8063
8074
  let M = {};
8064
- return M.originalName = w.originalName ? w.originalName : w.name, M.name = w.name, M.url = w.url, M.data = w.data, M.signature_validation = w.signature_validation, M.mime_type = w.mime_type, M.storage = "url", M.size = w.size, M;
8075
+ return M.originalName = x.originalName ? x.originalName : x.name, M.name = x.name, M.url = x.url, M.data = x.data, M.signature_validation = x.signature_validation, M.mime_type = x.mime_type, M.storage = "url", M.size = x.size, M;
8065
8076
  }, { getRootProps: Y, getInputProps: _, fileRejections: k, isDragActive: C, open: j } = zc({
8066
- onDrop: (w) => {
8067
- w.map((M) => {
8077
+ onDrop: (x) => {
8078
+ x.map((M) => {
8068
8079
  O(M).then((V) => {
8069
8080
  });
8070
8081
  });
8071
8082
  },
8072
- maxFiles: l.maxFiles ? parseInt(l.maxFiles) - x.length : l.multiple ? 100 : 1,
8083
+ maxFiles: l.maxFiles ? parseInt(l.maxFiles) - b.length : l.multiple ? 100 : 1,
8073
8084
  validator: f,
8074
8085
  accept: p()
8075
- }), F = (w) => {
8076
- const M = Ae() + "/api/attachments/" + w.data.id;
8086
+ }), F = (x) => {
8087
+ const M = Ae() + "/api/attachments/" + x.data.id;
8077
8088
  fetch(M, {
8078
8089
  method: "DELETE",
8079
8090
  headers: {
@@ -8084,7 +8095,7 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8084
8095
  }).then(() => {
8085
8096
  S((V) => {
8086
8097
  let A = V.filter(
8087
- (E) => E.data.id !== w.data.id
8098
+ (E) => E.data.id !== x.data.id
8088
8099
  );
8089
8100
  return u(A), A;
8090
8101
  });
@@ -8099,9 +8110,9 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8099
8110
  }), console.error(V);
8100
8111
  });
8101
8112
  }, R = () => {
8102
- const w = typeof s?.getCurrentValue == "function" ? s.getCurrentValue() : s?.dataValue;
8103
- w?.length > 0 && (S(w), setTimeout(() => {
8104
- u(w);
8113
+ const x = typeof s?.getCurrentValue == "function" ? s.getCurrentValue() : s?.dataValue;
8114
+ x?.length > 0 && (S(x), setTimeout(() => {
8115
+ u(x);
8105
8116
  }, 100));
8106
8117
  };
8107
8118
  Ne(() => {
@@ -8111,29 +8122,29 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8111
8122
  R();
8112
8123
  }, 1e3));
8113
8124
  }, []);
8114
- async function O(w) {
8125
+ async function O(x) {
8115
8126
  let M;
8116
8127
  const V = Ae() + "/it/upload";
8117
8128
  let A = {
8118
- mime_type: w.type,
8119
- name: w.name,
8120
- original_filename: w.name,
8129
+ mime_type: x.type,
8130
+ name: x.name,
8131
+ original_filename: x.name,
8121
8132
  protocol_required: l.protocol_required,
8122
- size: w.size
8133
+ size: x.size
8123
8134
  };
8124
8135
  return await Ut.post(V, A, {
8125
8136
  maxContentLength: 1 / 0,
8126
8137
  maxBodyLength: 1 / 0
8127
- }).then(async (E) => (M = E.data.id, w.url = Ae() + "/it/allegati/" + M, w.storage = "url", w.mime_type = w.type, w.protocol_required = l.protocol_required, w.data = {
8138
+ }).then(async (E) => (M = E.data.id, x.url = Ae() + "/it/allegati/" + M, x.storage = "url", x.mime_type = x.type, x.protocol_required = l.protocol_required, x.data = {
8128
8139
  ...E.data,
8129
8140
  baseUrl: Ae() + "/it/allegati/" + M
8130
- }, h(M, w), await Ut.put(E.data.uri, w, {
8141
+ }, h(M, x), await Ut.put(E.data.uri, x, {
8131
8142
  onUploadProgress: (z) => {
8132
8143
  let B = Math.round(
8133
8144
  z.loaded * 100 / z.total
8134
8145
  );
8135
8146
  o((Q) => {
8136
- const ne = new Map(Q), te = w;
8147
+ const ne = new Map(Q), te = x;
8137
8148
  return te.progress = parseInt(B), ne.has(M) && ne.set(M, te), ne;
8138
8149
  });
8139
8150
  },
@@ -8152,7 +8163,7 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8152
8163
  });
8153
8164
  let te = s.dataValue || [], he = null;
8154
8165
  if (S((ee) => {
8155
- const ce = [...ee, g(w)];
8166
+ const ce = [...ee, g(x)];
8156
8167
  return he = ce.length - 1, u(ce), ce;
8157
8168
  }), l.check_signature && ne.data.url && yn)
8158
8169
  return await Ut.post(
@@ -8167,7 +8178,7 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8167
8178
  }
8168
8179
  }
8169
8180
  ).then((ee) => {
8170
- w.signature_validation = ee.data.sign, te[he].signature_validation = ee.data.sign;
8181
+ x.signature_validation = ee.data.sign, te[he].signature_validation = ee.data.sign;
8171
8182
  }).catch((ee) => {
8172
8183
  te[he].signature_validation = "File validation error: " + ee;
8173
8184
  });
@@ -8214,29 +8225,29 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8214
8225
  });
8215
8226
  });
8216
8227
  }
8217
- function v(w) {
8218
- if (typeof w == "string") {
8219
- if (w.search(/kb/i) === w.length - 2)
8220
- return parseFloat(w.substring(0, w.length - 2) * 1024);
8221
- if (w.search(/mb/i) === w.length - 2)
8222
- return parseFloat(w.substring(0, w.length - 2) * 1024 * 1024);
8223
- if (w.search(/gb/i) === w.length - 2)
8228
+ function v(x) {
8229
+ if (typeof x == "string") {
8230
+ if (x.search(/kb/i) === x.length - 2)
8231
+ return parseFloat(x.substring(0, x.length - 2) * 1024);
8232
+ if (x.search(/mb/i) === x.length - 2)
8233
+ return parseFloat(x.substring(0, x.length - 2) * 1024 * 1024);
8234
+ if (x.search(/gb/i) === x.length - 2)
8224
8235
  return parseFloat(
8225
- w.substring(0, w.length - 2) * 1024 * 1024 * 1024
8236
+ x.substring(0, x.length - 2) * 1024 * 1024 * 1024
8226
8237
  );
8227
- if (w.search(/b/i) === w.length - 1 || w.search(/s/i) === w.length - 1)
8228
- return parseFloat(w.substring(0, w.length - 1));
8229
- if (w.search(/m/i) === w.length - 1)
8230
- return parseFloat(w.substring(0, w.length - 1) * 60);
8231
- if (w.search(/h/i) === w.length - 1)
8232
- return parseFloat(w.substring(0, w.length - 1) * 3600);
8238
+ if (x.search(/b/i) === x.length - 1 || x.search(/s/i) === x.length - 1)
8239
+ return parseFloat(x.substring(0, x.length - 1));
8240
+ if (x.search(/m/i) === x.length - 1)
8241
+ return parseFloat(x.substring(0, x.length - 1) * 60);
8242
+ if (x.search(/h/i) === x.length - 1)
8243
+ return parseFloat(x.substring(0, x.length - 1) * 3600);
8233
8244
  }
8234
- return w;
8245
+ return x;
8235
8246
  }
8236
- function T(w, M = 2) {
8237
- if (!+w) return "0 Bytes";
8238
- const V = 1024, A = M < 0 ? 0 : M, E = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], z = Math.floor(Math.log(w) / Math.log(V));
8239
- return `${parseFloat((w / Math.pow(V, z)).toFixed(A))} ${E[z]}`;
8247
+ function T(x, M = 2) {
8248
+ if (!+x) return "0 Bytes";
8249
+ const V = 1024, A = M < 0 ? 0 : M, E = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], z = Math.floor(Math.log(x) / Math.log(V));
8250
+ return `${parseFloat((x / Math.pow(V, z)).toFixed(A))} ${E[z]}`;
8240
8251
  }
8241
8252
  return s.conditionallyHidden() || s.visible === !1 ? null : /* @__PURE__ */ m.jsx(m.Fragment, { children: y ? /* @__PURE__ */ m.jsxs("div", { children: [
8242
8253
  /* @__PURE__ */ m.jsxs(
@@ -8251,7 +8262,7 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8251
8262
  }
8252
8263
  ),
8253
8264
  /* @__PURE__ */ m.jsxs("ul", { className: "upload-file-list", children: [
8254
- x.map((w, M) => /* @__PURE__ */ m.jsxs(
8265
+ b.map((x, M) => /* @__PURE__ */ m.jsxs(
8255
8266
  "li",
8256
8267
  {
8257
8268
  className: "upload-file success mw-100",
@@ -8268,14 +8279,14 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8268
8279
  ),
8269
8280
  /* @__PURE__ */ m.jsxs("p", { children: [
8270
8281
  /* @__PURE__ */ m.jsx("span", { className: "visually-hidden", children: i.t("File caricato:") }),
8271
- w.name,
8272
- /* @__PURE__ */ m.jsx("span", { className: "upload-file-weight", children: T(w.size) })
8282
+ x.name,
8283
+ /* @__PURE__ */ m.jsx("span", { className: "upload-file-weight", children: T(x.size) })
8273
8284
  ] })
8274
8285
  ]
8275
8286
  },
8276
- w.size + M
8287
+ x.size + M
8277
8288
  )),
8278
- x.length < 1 && /* @__PURE__ */ m.jsxs("li", { className: "upload-file text-secondary mw-100", children: [
8289
+ b.length < 1 && /* @__PURE__ */ m.jsxs("li", { className: "upload-file text-secondary mw-100", children: [
8279
8290
  /* @__PURE__ */ m.jsx(
8280
8291
  Xe,
8281
8292
  {
@@ -8317,7 +8328,7 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8317
8328
  className: `my-1 border-2 border-light file-uploader-box rounded p-3 text-secondary${C ? " dragover" : ""}`,
8318
8329
  style: { border: "dashed" },
8319
8330
  ...Y({
8320
- onClick: (w) => w.stopPropagation()
8331
+ onClick: (x) => x.stopPropagation()
8321
8332
  }),
8322
8333
  children: [
8323
8334
  /* @__PURE__ */ m.jsx(
@@ -8381,7 +8392,7 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8381
8392
  }
8382
8393
  ),
8383
8394
  /* @__PURE__ */ m.jsxs("ul", { className: "upload-file-list my-0", children: [
8384
- x.map((w, M) => /* @__PURE__ */ m.jsxs("li", { className: "upload-file success", children: [
8395
+ b.map((x, M) => /* @__PURE__ */ m.jsxs("li", { className: "upload-file success", children: [
8385
8396
  /* @__PURE__ */ m.jsx(
8386
8397
  Xe,
8387
8398
  {
@@ -8394,21 +8405,21 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8394
8405
  ),
8395
8406
  /* @__PURE__ */ m.jsxs("p", { children: [
8396
8407
  /* @__PURE__ */ m.jsx("span", { className: "visually-hidden", children: i.t("File caricato:") }),
8397
- w.name,
8398
- /* @__PURE__ */ m.jsx("span", { className: "upload-file-weight", children: T(w.size) })
8408
+ x.name,
8409
+ /* @__PURE__ */ m.jsx("span", { className: "upload-file-weight", children: T(x.size) })
8399
8410
  ] }),
8400
- /* @__PURE__ */ m.jsx(jt, { className: "px-1", onClick: () => F(w), children: /* @__PURE__ */ m.jsx(
8411
+ /* @__PURE__ */ m.jsx(jt, { className: "px-1", onClick: () => F(x), children: /* @__PURE__ */ m.jsx(
8401
8412
  Xe,
8402
8413
  {
8403
- title: `${i.t("Elimina file caricato")} ${w.name}`,
8414
+ title: `${i.t("Elimina file caricato")} ${x.name}`,
8404
8415
  color: "secondary",
8405
8416
  icon: "it-delete",
8406
8417
  className: "ms-auto pointer",
8407
8418
  size: "sm"
8408
8419
  }
8409
8420
  ) })
8410
- ] }, w.size + M)),
8411
- Array.from(I.entries()).map(([w, M]) => /* @__PURE__ */ m.jsxs("li", { className: "upload-file success", children: [
8421
+ ] }, x.size + M)),
8422
+ Array.from(I.entries()).map(([x, M]) => /* @__PURE__ */ m.jsxs("li", { className: "upload-file success", children: [
8412
8423
  /* @__PURE__ */ m.jsx(
8413
8424
  Xe,
8414
8425
  {
@@ -8425,9 +8436,9 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8425
8436
  /* @__PURE__ */ m.jsx("span", { className: "upload-file-weight", children: T(M.size) })
8426
8437
  ] }),
8427
8438
  /* @__PURE__ */ m.jsx(Zs, { value: Number(M?.progress) || 0 })
8428
- ] }, w))
8439
+ ] }, x))
8429
8440
  ] }),
8430
- !!(k && k.length) && /* @__PURE__ */ m.jsx("div", { className: "formio-error-wrapper", children: /* @__PURE__ */ m.jsx("ul", { className: "formio-errors upload-file-list my-0 ", children: k.map(({ file: w, errors: M }, V) => /* @__PURE__ */ m.jsxs("li", { className: "upload-file error", children: [
8441
+ !!(k && k.length) && /* @__PURE__ */ m.jsx("div", { className: "formio-error-wrapper", children: /* @__PURE__ */ m.jsx("ul", { className: "formio-errors upload-file-list my-0 ", children: k.map(({ file: x, errors: M }, V) => /* @__PURE__ */ m.jsxs("li", { className: "upload-file error", children: [
8431
8442
  /* @__PURE__ */ m.jsxs("div", { className: "upload-file-name-error-wrapper", children: [
8432
8443
  /* @__PURE__ */ m.jsx(
8433
8444
  Xe,
@@ -8441,8 +8452,8 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8441
8452
  ),
8442
8453
  /* @__PURE__ */ m.jsxs("p", { className: "text-wrap error", children: [
8443
8454
  /* @__PURE__ */ m.jsx("span", { className: "visually-hidden", children: i.t("Errore caricamento file:") }),
8444
- w.name,
8445
- /* @__PURE__ */ m.jsx("span", { className: "upload-file-weight", children: T(w.size) })
8455
+ x.name,
8456
+ /* @__PURE__ */ m.jsx("span", { className: "upload-file-weight", children: T(x.size) })
8446
8457
  ] })
8447
8458
  ] }),
8448
8459
  /* @__PURE__ */ m.jsx("div", { children: M.map((A) => A.code === "file-invalid-type" ? /* @__PURE__ */ m.jsxs("p", { className: "text-wrap ms-0", children: [
@@ -8455,7 +8466,7 @@ const nm = ({ component: l, current: s, onChange: u, i18next: i }) => {
8455
8466
  " ",
8456
8467
  i.t("file")
8457
8468
  ] }) : /* @__PURE__ */ m.jsx("p", { className: "text-wrap ms-0", children: A.message })) })
8458
- ] }, w.size + V)) }) })
8469
+ ] }, x.size + V)) }) })
8459
8470
  ] }) });
8460
8471
  };
8461
8472
  class An extends dn {
@@ -8531,24 +8542,24 @@ class An extends dn {
8531
8542
  this.hideFileProcessingLoader();
8532
8543
  const i = `react-${this.id}`;
8533
8544
  this.loadRefs(s, { [i]: "single" });
8534
- const x = this.refs[i];
8535
- return x && (this.rootComponent && this.mountNode !== x && (this.rootComponent.unmount(), this.rootComponent = null), this.rootComponent || (this.rootComponent = It(x)), this.mountNode = x, this.lastRenderedVisible = this.visible, this.renderReact()), u;
8545
+ const b = this.refs[i];
8546
+ return b && (this.rootComponent && this.mountNode !== b && (this.rootComponent.unmount(), this.rootComponent = null), this.rootComponent || (this.rootComponent = It(b)), this.mountNode = b, this.lastRenderedVisible = this.visible, this.renderReact()), u;
8536
8547
  }
8537
8548
  updateValueFromReact(s, u = { modified: !0 }) {
8538
- const i = this.normalizeValue(s, u), x = this.updateValue(i, u), S = this.path || this.component?.key;
8549
+ const i = this.normalizeValue(s, u), b = this.updateValue(i, u), S = this.path || this.component?.key;
8539
8550
  if (S && this.rootValue) {
8540
8551
  const I = rn(this.rootValue, S);
8541
8552
  this.isEqual(I, i) || cn(this.rootValue, S, i);
8542
8553
  }
8543
- return x;
8554
+ return b;
8544
8555
  }
8545
8556
  setValue(s, u = {}) {
8546
- const i = this.normalizeValue(s, u), x = super.setValue(i, u), S = this.path || this.component?.key;
8557
+ const i = this.normalizeValue(s, u), b = super.setValue(i, u), S = this.path || this.component?.key;
8547
8558
  if (S && this.rootValue) {
8548
8559
  const I = rn(this.rootValue, S);
8549
8560
  this.isEqual(I, i) || cn(this.rootValue, S, i);
8550
8561
  }
8551
- return x;
8562
+ return b;
8552
8563
  }
8553
8564
  normalizeValue(s, u = {}) {
8554
8565
  const i = super.normalizeValue(s, u);
@@ -8571,8 +8582,8 @@ class An extends dn {
8571
8582
  return this.component?.multiple ? !Array.isArray(s) || s.length === 0 : s == null || s === "";
8572
8583
  }
8573
8584
  checkCondition(s, u) {
8574
- const i = super.checkCondition(s, u), x = this.visible;
8575
- return this.lastRenderedVisible !== x && (this.lastRenderedVisible = x, this.renderReact()), i;
8585
+ const i = super.checkCondition(s, u), b = this.visible;
8586
+ return this.lastRenderedVisible !== b && (this.lastRenderedVisible = b, this.renderReact()), i;
8576
8587
  }
8577
8588
  render() {
8578
8589
  const s = `<div ref="react-${this.id}"></div>`;
@@ -8683,9 +8694,9 @@ function lm() {
8683
8694
  o.exports = { includes: p(!0), indexOf: p(!1) };
8684
8695
  }, 3364: function(o, y, r) {
8685
8696
  var c = r(8992), h = r(1664), f = r(5712), p = r(4356), g = r(3556), Y = r(2568), _ = h([].push), k = function(C) {
8686
- var j = C === 1, F = C === 2, R = C === 3, O = C === 4, v = C === 6, T = C === 7, w = C === 5 || v;
8697
+ var j = C === 1, F = C === 2, R = C === 3, O = C === 4, v = C === 6, T = C === 7, x = C === 5 || v;
8687
8698
  return function(M, V, A, E) {
8688
- for (var z, B, Q = p(M), ne = f(Q), te = g(ne), he = c(V, A), ee = 0, ce = E || Y, ge = j ? ce(M, te) : F || T ? ce(M, 0) : void 0; te > ee; ee++) if ((w || ee in ne) && (B = he(z = ne[ee], ee, Q), C)) if (j) ge[ee] = B;
8699
+ for (var z, B, Q = p(M), ne = f(Q), te = g(ne), he = c(V, A), ee = 0, ce = E || Y, ge = j ? ce(M, te) : F || T ? ce(M, 0) : void 0; te > ee; ee++) if ((x || ee in ne) && (B = he(z = ne[ee], ee, Q), C)) if (j) ge[ee] = B;
8689
8700
  else if (B) switch (C) {
8690
8701
  case 3:
8691
8702
  return !0;
@@ -8895,9 +8906,9 @@ function lm() {
8895
8906
  }, 9160: function(o, y, r) {
8896
8907
  var c = r(6420), h = r(9444).f, f = r(3440), p = r(6076), g = r(4636), Y = r(9968), _ = r(6704);
8897
8908
  o.exports = function(k, C) {
8898
- var j, F, R, O, v, T = k.target, w = k.global, M = k.stat;
8899
- if (j = w ? c : M ? c[T] || g(T, {}) : c[T] && c[T].prototype) for (F in C) {
8900
- if (O = C[F], R = k.dontCallGetSet ? (v = h(j, F)) && v.value : j[F], !_(w ? F : T + (M ? "." : "#") + F, k.forced) && R !== void 0) {
8909
+ var j, F, R, O, v, T = k.target, x = k.global, M = k.stat;
8910
+ if (j = x ? c : M ? c[T] || g(T, {}) : c[T] && c[T].prototype) for (F in C) {
8911
+ if (O = C[F], R = k.dontCallGetSet ? (v = h(j, F)) && v.value : j[F], !_(x ? F : T + (M ? "." : "#") + F, k.forced) && R !== void 0) {
8901
8912
  if (typeof O == typeof R) continue;
8902
8913
  Y(O, R);
8903
8914
  }
@@ -8930,9 +8941,9 @@ function lm() {
8930
8941
  }, A[O](""), !V;
8931
8942
  }));
8932
8943
  if (!v || !T || F) {
8933
- var w = /./[O], M = j(O, ""[C], (function(V, A, E, z, B) {
8944
+ var x = /./[O], M = j(O, ""[C], (function(V, A, E, z, B) {
8934
8945
  var Q = A.exec;
8935
- return Q === f || Q === k.exec ? v && !B ? { done: !0, value: c(w, A, E, z) } : { done: !0, value: c(V, E, A, z) } : { done: !1 };
8946
+ return Q === f || Q === k.exec ? v && !B ? { done: !0, value: c(x, A, E, z) } : { done: !0, value: c(V, E, A, z) } : { done: !1 };
8936
8947
  }));
8937
8948
  h(String.prototype, C, M[0]), h(k, O, M[1]);
8938
8949
  }
@@ -9062,14 +9073,14 @@ function lm() {
9062
9073
  return T.has(M);
9063
9074
  };
9064
9075
  } else {
9065
- var w = j("state");
9066
- F[w] = !0, c = function(M, V) {
9067
- if (k(M, w)) throw new O(R);
9068
- return V.facade = M, _(M, w, V), V;
9076
+ var x = j("state");
9077
+ F[x] = !0, c = function(M, V) {
9078
+ if (k(M, x)) throw new O(R);
9079
+ return V.facade = M, _(M, x, V), V;
9069
9080
  }, h = function(M) {
9070
- return k(M, w) ? M[w] : {};
9081
+ return k(M, x) ? M[x] : {};
9071
9082
  }, f = function(M) {
9072
- return k(M, w);
9083
+ return k(M, x);
9073
9084
  };
9074
9085
  }
9075
9086
  o.exports = { set: c, get: h, has: f, enforce: function(M) {
@@ -9197,12 +9208,12 @@ function lm() {
9197
9208
  }
9198
9209
  return j(z, "normal"), C(void 0, !0);
9199
9210
  } });
9200
- }, w = T(!0), M = T(!1);
9211
+ }, x = T(!0), M = T(!1);
9201
9212
  f(M, F, "Iterator Helper"), o.exports = function(V, A) {
9202
9213
  var E = function(z, B) {
9203
9214
  B ? (B.iterator = z.iterator, B.next = z.next) : B = z, B.type = A ? O : R, B.nextHandler = V, B.counter = 0, B.done = !1, v(this, B);
9204
9215
  };
9205
- return E.prototype = A ? w : M, E;
9216
+ return E.prototype = A ? x : M, E;
9206
9217
  };
9207
9218
  }, 5792: function(o, y, r) {
9208
9219
  var c = r(8448), h = r(8952), f = r(3951), p = r(6752), g = r(9724), Y = r(8696), _ = g((function() {
@@ -9226,11 +9237,11 @@ function lm() {
9226
9237
  return c(h.length);
9227
9238
  };
9228
9239
  }, 5312: function(o, y, r) {
9229
- var c = r(1664), h = r(9957), f = r(4328), p = r(5152), g = r(3476), Y = r(6208).CONFIGURABLE, _ = r(9112), k = r(9104), C = k.enforce, j = k.get, F = String, R = Object.defineProperty, O = c("".slice), v = c("".replace), T = c([].join), w = g && !h((function() {
9240
+ var c = r(1664), h = r(9957), f = r(4328), p = r(5152), g = r(3476), Y = r(6208).CONFIGURABLE, _ = r(9112), k = r(9104), C = k.enforce, j = k.get, F = String, R = Object.defineProperty, O = c("".slice), v = c("".replace), T = c([].join), x = g && !h((function() {
9230
9241
  return R((function() {
9231
9242
  }), "length", { value: 8 }).length !== 8;
9232
9243
  })), M = String(String).split("String"), V = o.exports = function(A, E, z) {
9233
- O(F(E), 0, 7) === "Symbol(" && (E = "[" + v(F(E), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), z && z.getter && (E = "get " + E), z && z.setter && (E = "set " + E), (!p(A, "name") || Y && A.name !== E) && (g ? R(A, "name", { value: E, configurable: !0 }) : A.name = E), w && z && p(z, "arity") && A.length !== z.arity && R(A, "length", { value: z.arity });
9244
+ O(F(E), 0, 7) === "Symbol(" && (E = "[" + v(F(E), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), z && z.getter && (E = "get " + E), z && z.setter && (E = "set " + E), (!p(A, "name") || Y && A.name !== E) && (g ? R(A, "name", { value: E, configurable: !0 }) : A.name = E), x && z && p(z, "arity") && A.length !== z.arity && R(A, "length", { value: z.arity });
9234
9245
  try {
9235
9246
  z && p(z, "constructor") && z.constructor ? g && R(A, "prototype", { writable: !1 }) : A.prototype && (A.prototype = void 0);
9236
9247
  } catch {
@@ -9258,35 +9269,35 @@ function lm() {
9258
9269
  if (c && j({ b: 1 }, j(F({}, "a", { enumerable: !0, get: function() {
9259
9270
  F(this, "b", { value: 3, enumerable: !1 });
9260
9271
  } }), { b: 2 })).b !== 1) return !0;
9261
- var O = {}, v = {}, T = /* @__PURE__ */ Symbol("assign detection"), w = "abcdefghijklmnopqrst";
9262
- return O[T] = 7, w.split("").forEach((function(M) {
9272
+ var O = {}, v = {}, T = /* @__PURE__ */ Symbol("assign detection"), x = "abcdefghijklmnopqrst";
9273
+ return O[T] = 7, x.split("").forEach((function(M) {
9263
9274
  v[M] = M;
9264
- })), j({}, O)[T] !== 7 || g(j({}, v)).join("") !== w;
9275
+ })), j({}, O)[T] !== 7 || g(j({}, v)).join("") !== x;
9265
9276
  })) ? function(O, v) {
9266
- for (var T = k(O), w = arguments.length, M = 1, V = Y.f, A = _.f; w > M; ) for (var E, z = C(arguments[M++]), B = V ? R(g(z), V(z)) : g(z), Q = B.length, ne = 0; Q > ne; ) E = B[ne++], c && !f(A, z, E) || (T[E] = z[E]);
9277
+ for (var T = k(O), x = arguments.length, M = 1, V = Y.f, A = _.f; x > M; ) for (var E, z = C(arguments[M++]), B = V ? R(g(z), V(z)) : g(z), Q = B.length, ne = 0; Q > ne; ) E = B[ne++], c && !f(A, z, E) || (T[E] = z[E]);
9267
9278
  return T;
9268
9279
  } : j;
9269
9280
  }, 9368: function(o, y, r) {
9270
9281
  var c, h = r(3951), f = r(2056), p = r(8256), g = r(2560), Y = r(4168), _ = r(8168), k = r(6504), C = "prototype", j = "script", F = k("IE_PROTO"), R = function() {
9271
- }, O = function(w) {
9272
- return "<" + j + ">" + w + "</" + j + ">";
9273
- }, v = function(w) {
9274
- w.write(O("")), w.close();
9275
- var M = w.parentWindow.Object;
9276
- return w = null, M;
9282
+ }, O = function(x) {
9283
+ return "<" + j + ">" + x + "</" + j + ">";
9284
+ }, v = function(x) {
9285
+ x.write(O("")), x.close();
9286
+ var M = x.parentWindow.Object;
9287
+ return x = null, M;
9277
9288
  }, T = function() {
9278
9289
  try {
9279
9290
  c = new ActiveXObject("htmlfile");
9280
9291
  } catch {
9281
9292
  }
9282
- var w, M, V;
9283
- T = typeof document < "u" ? document.domain && c ? v(c) : (M = _("iframe"), V = "java" + j + ":", M.style.display = "none", Y.appendChild(M), M.src = String(V), (w = M.contentWindow.document).open(), w.write(O("document.F=Object")), w.close(), w.F) : v(c);
9293
+ var x, M, V;
9294
+ T = typeof document < "u" ? document.domain && c ? v(c) : (M = _("iframe"), V = "java" + j + ":", M.style.display = "none", Y.appendChild(M), M.src = String(V), (x = M.contentWindow.document).open(), x.write(O("document.F=Object")), x.close(), x.F) : v(c);
9284
9295
  for (var A = p.length; A--; ) delete T[C][p[A]];
9285
9296
  return T();
9286
9297
  };
9287
- g[F] = !0, o.exports = Object.create || function(w, M) {
9298
+ g[F] = !0, o.exports = Object.create || function(x, M) {
9288
9299
  var V;
9289
- return w !== null ? (R[C] = h(w), V = new R(), R[C] = null, V[F] = w) : V = T(), M === void 0 ? V : f.f(V, M);
9300
+ return x !== null ? (R[C] = h(x), V = new R(), R[C] = null, V[F] = x) : V = T(), M === void 0 ? V : f.f(V, M);
9290
9301
  };
9291
9302
  }, 2056: function(o, y, r) {
9292
9303
  var c = r(3476), h = r(1576), f = r(8352), p = r(3951), g = r(4096), Y = r(1531);
@@ -9408,12 +9419,12 @@ function lm() {
9408
9419
  throw new Y("RegExp#exec called on incompatible receiver");
9409
9420
  };
9410
9421
  }, 7680: function(o, y, r) {
9411
- var c, h, f = r(8448), p = r(1664), g = r(5016), Y = r(8872), _ = r(3548), k = r(4696), C = r(9368), j = r(9104).get, F = r(8e3), R = r(9124), O = k("native-string-replace", String.prototype.replace), v = RegExp.prototype.exec, T = v, w = p("".charAt), M = p("".indexOf), V = p("".replace), A = p("".slice), E = (h = /b*/g, f(v, c = /a/, "a"), f(v, h, "a"), c.lastIndex !== 0 || h.lastIndex !== 0), z = _.BROKEN_CARET, B = /()??/.exec("")[1] !== void 0;
9422
+ var c, h, f = r(8448), p = r(1664), g = r(5016), Y = r(8872), _ = r(3548), k = r(4696), C = r(9368), j = r(9104).get, F = r(8e3), R = r(9124), O = k("native-string-replace", String.prototype.replace), v = RegExp.prototype.exec, T = v, x = p("".charAt), M = p("".indexOf), V = p("".replace), A = p("".slice), E = (h = /b*/g, f(v, c = /a/, "a"), f(v, h, "a"), c.lastIndex !== 0 || h.lastIndex !== 0), z = _.BROKEN_CARET, B = /()??/.exec("")[1] !== void 0;
9412
9423
  (E || B || z || F || R) && (T = function(Q) {
9413
9424
  var ne, te, he, ee, ce, ge, fe, oe = this, X = j(oe), Pe = g(Q), Ie = X.raw;
9414
9425
  if (Ie) return Ie.lastIndex = oe.lastIndex, ne = f(T, Ie, Pe), oe.lastIndex = Ie.lastIndex, ne;
9415
9426
  var Ye = X.groups, ke = z && oe.sticky, $ = f(Y, oe), G = oe.source, K = 0, P = Pe;
9416
- if (ke && ($ = V($, "y", ""), M($, "g") === -1 && ($ += "g"), P = A(Pe, oe.lastIndex), oe.lastIndex > 0 && (!oe.multiline || oe.multiline && w(Pe, oe.lastIndex - 1) !== `
9427
+ if (ke && ($ = V($, "y", ""), M($, "g") === -1 && ($ += "g"), P = A(Pe, oe.lastIndex), oe.lastIndex > 0 && (!oe.multiline || oe.multiline && x(Pe, oe.lastIndex - 1) !== `
9417
9428
  `) && (G = "(?: " + G + ")", P = " " + P, K++), te = new RegExp("^(?:" + G + ")", $)), B && (te = new RegExp("^" + G + "$(?!\\s)", $)), E && (he = oe.lastIndex), ee = f(v, ke ? te : oe, P), ke ? ee ? (ee.input = A(ee.input, K), ee[0] = A(ee[0], K), ee.index = oe.lastIndex, oe.lastIndex += ee[0].length) : oe.lastIndex = 0 : E && ee && (oe.lastIndex = oe.global ? ee.index + ee[0].length : he), B && ee && ee.length > 1 && f(O, ee[0], te, (function() {
9418
9429
  for (ce = 1; ce < arguments.length - 2; ce++) arguments[ce] === void 0 && (ee[ce] = void 0);
9419
9430
  })), ee && Ye) for (ee.groups = ge = C(null), ce = 0; ce < Ye.length; ce++) ge[(fe = Ye[ce])[0]] = ee[fe[1]];
@@ -9471,8 +9482,8 @@ function lm() {
9471
9482
  }, 9764: function(o, y, r) {
9472
9483
  var c = r(1664), h = r(6180), f = r(5016), p = r(5436), g = c("".charAt), Y = c("".charCodeAt), _ = c("".slice), k = function(C) {
9473
9484
  return function(j, F) {
9474
- var R, O, v = f(p(j)), T = h(F), w = v.length;
9475
- return T < 0 || T >= w ? C ? "" : void 0 : (R = Y(v, T)) < 55296 || R > 56319 || T + 1 === w || (O = Y(v, T + 1)) < 56320 || O > 57343 ? C ? g(v, T) : R : C ? _(v, T, T + 2) : O - 56320 + (R - 55296 << 10) + 65536;
9485
+ var R, O, v = f(p(j)), T = h(F), x = v.length;
9486
+ return T < 0 || T >= x ? C ? "" : void 0 : (R = Y(v, T)) < 55296 || R > 56319 || T + 1 === x || (O = Y(v, T + 1)) < 56320 || O > 57343 ? C ? g(v, T) : R : C ? _(v, T, T + 2) : O - 56320 + (R - 55296 << 10) + 65536;
9476
9487
  };
9477
9488
  };
9478
9489
  o.exports = { codeAt: k(!1), charAt: k(!0) };
@@ -9569,11 +9580,11 @@ function lm() {
9569
9580
  };
9570
9581
  }, 6488: function(o, y, r) {
9571
9582
  var c = r(5232), h = r(5152), f = r(3440), p = r(7e3), g = r(4024), Y = r(9968), _ = r(584), k = r(7512), C = r(8948), j = r(3480), F = r(3696), R = r(3476), O = r(7048);
9572
- o.exports = function(v, T, w, M) {
9583
+ o.exports = function(v, T, x, M) {
9573
9584
  var V = "stackTraceLimit", A = M ? 2 : 1, E = v.split("."), z = E[E.length - 1], B = c.apply(null, E);
9574
9585
  if (B) {
9575
9586
  var Q = B.prototype;
9576
- if (!O && h(Q, "cause") && delete Q.cause, !w) return B;
9587
+ if (!O && h(Q, "cause") && delete Q.cause, !x) return B;
9577
9588
  var ne = c("Error"), te = T((function(he, ee) {
9578
9589
  var ce = C(M ? ee : he, void 0), ge = M ? new B(he) : new B();
9579
9590
  return ce !== void 0 && f(ge, "message", ce), F(ge, te, ge.stack, 2), this && p(Q, this) && k(ge, this, te), arguments.length > A && j(ge, arguments[A]), ge;
@@ -9587,14 +9598,14 @@ function lm() {
9587
9598
  };
9588
9599
  }, 7476: function(o, y, r) {
9589
9600
  var c = r(9160), h = r(9957), f = r(1432), p = r(1632), g = r(4356), Y = r(3556), _ = r(4316), k = r(92), C = r(2568), j = r(953), F = r(9972), R = r(8504), O = F("isConcatSpreadable"), v = R >= 51 || !h((function() {
9590
- var w = [];
9591
- return w[O] = !1, w.concat()[0] !== w;
9592
- })), T = function(w) {
9593
- if (!p(w)) return !1;
9594
- var M = w[O];
9595
- return M !== void 0 ? !!M : f(w);
9601
+ var x = [];
9602
+ return x[O] = !1, x.concat()[0] !== x;
9603
+ })), T = function(x) {
9604
+ if (!p(x)) return !1;
9605
+ var M = x[O];
9606
+ return M !== void 0 ? !!M : f(x);
9596
9607
  };
9597
- c({ target: "Array", proto: !0, arity: 1, forced: !v || !j("concat") }, { concat: function(w) {
9608
+ c({ target: "Array", proto: !0, arity: 1, forced: !v || !j("concat") }, { concat: function(x) {
9598
9609
  var M, V, A, E, z, B = g(this), Q = C(B, 0), ne = 0;
9599
9610
  for (M = -1, A = arguments.length; M < A; M++) if (T(z = M === -1 ? B : arguments[M])) for (E = Y(z), _(ne + E), V = 0; V < E; V++, ne++) V in z && k(Q, ne, z[V]);
9600
9611
  else _(ne + 1), k(Q, ne++, z);
@@ -9704,23 +9715,23 @@ function lm() {
9704
9715
  var c = r(8448), h = r(7176), f = r(3951), p = r(9760), g = r(7584), Y = r(5016), _ = r(5436), k = r(4504), C = r(4764), j = r(9092);
9705
9716
  h("match", (function(F, R, O) {
9706
9717
  return [function(v) {
9707
- var T = _(this), w = p(v) ? void 0 : k(v, F);
9708
- return w ? c(w, v, T) : new RegExp(v)[F](Y(T));
9718
+ var T = _(this), x = p(v) ? void 0 : k(v, F);
9719
+ return x ? c(x, v, T) : new RegExp(v)[F](Y(T));
9709
9720
  }, function(v) {
9710
- var T = f(this), w = Y(v), M = O(R, T, w);
9721
+ var T = f(this), x = Y(v), M = O(R, T, x);
9711
9722
  if (M.done) return M.value;
9712
- if (!T.global) return j(T, w);
9723
+ if (!T.global) return j(T, x);
9713
9724
  var V = T.unicode;
9714
9725
  T.lastIndex = 0;
9715
- for (var A, E = [], z = 0; (A = j(T, w)) !== null; ) {
9726
+ for (var A, E = [], z = 0; (A = j(T, x)) !== null; ) {
9716
9727
  var B = Y(A[0]);
9717
- E[z] = B, B === "" && (T.lastIndex = C(w, g(T.lastIndex), V)), z++;
9728
+ E[z] = B, B === "" && (T.lastIndex = C(x, g(T.lastIndex), V)), z++;
9718
9729
  }
9719
9730
  return z === 0 ? null : E;
9720
9731
  }];
9721
9732
  }));
9722
9733
  }, 3536: function(o, y, r) {
9723
- var c = r(9160), h = r(6420), f = r(6100), p = r(3951), g = r(4328), Y = r(7796), _ = r(2544), k = r(92), C = r(9957), j = r(5152), F = r(9972), R = r(336).IteratorPrototype, O = r(3476), v = r(7048), T = "constructor", w = "Iterator", M = F("toStringTag"), V = TypeError, A = h[w], E = v || !g(A) || A.prototype !== R || !C((function() {
9734
+ var c = r(9160), h = r(6420), f = r(6100), p = r(3951), g = r(4328), Y = r(7796), _ = r(2544), k = r(92), C = r(9957), j = r(5152), F = r(9972), R = r(336).IteratorPrototype, O = r(3476), v = r(7048), T = "constructor", x = "Iterator", M = F("toStringTag"), V = TypeError, A = h[x], E = v || !g(A) || A.prototype !== R || !C((function() {
9724
9735
  A({});
9725
9736
  })), z = function() {
9726
9737
  if (f(this, R), Y(this) === R) throw new V("Abstract class Iterator not directly constructable");
@@ -9732,7 +9743,7 @@ function lm() {
9732
9743
  j(this, Q) ? this[Q] = te : k(this, Q, te);
9733
9744
  } }) : R[Q] = ne;
9734
9745
  };
9735
- j(R, M) || B(M, w), !E && j(R, T) && R[T] !== Object || B(T, z), z.prototype = R, c({ global: !0, constructor: !0, forced: E }, { Iterator: z });
9746
+ j(R, M) || B(M, x), !E && j(R, T) && R[T] !== Object || B(T, z), z.prototype = R, c({ global: !0, constructor: !0, forced: E }, { Iterator: z });
9736
9747
  }, 2144: function(o, y, r) {
9737
9748
  var c = r(9160), h = r(8448), f = r(8952), p = r(3951), g = r(6752), Y = r(9724), _ = r(8696), k = r(7048), C = Y((function() {
9738
9749
  for (var j, F, R = this.iterator, O = this.predicate, v = this.next; ; ) {
@@ -9746,11 +9757,11 @@ function lm() {
9746
9757
  }, 9080: function(o, y, r) {
9747
9758
  var c = r(9160), h = r(5792);
9748
9759
  c({ target: "Iterator", proto: !0, real: !0, forced: r(7048) }, { map: h });
9749
- } }, x = {};
9760
+ } }, b = {};
9750
9761
  function S(o) {
9751
- var y = x[o];
9762
+ var y = b[o];
9752
9763
  if (y !== void 0) return y.exports;
9753
- var r = x[o] = { exports: {} };
9764
+ var r = b[o] = { exports: {} };
9754
9765
  return i[o].call(r.exports, r, r.exports, S), r.exports;
9755
9766
  }
9756
9767
  S.d = function(o, y) {
@@ -9782,17 +9793,17 @@ function lm() {
9782
9793
  var r = (function(k) {
9783
9794
  var C, j;
9784
9795
  function F() {
9785
- for (var O, v = arguments.length, T = new Array(v), w = 0; w < v; w++) T[w] = arguments[w];
9796
+ for (var O, v = arguments.length, T = new Array(v), x = 0; x < v; x++) T[x] = arguments[x];
9786
9797
  return (O = k.call.apply(k, [this].concat(T)) || this).state = { bump: !1, debounced: !1 }, O;
9787
9798
  }
9788
9799
  j = k, (C = F).prototype = Object.create(j.prototype), C.prototype.constructor = C, y(C, j);
9789
9800
  var R = F.prototype;
9790
9801
  return R.componentWillMount = function() {
9791
- var O, v, T, w = this;
9802
+ var O, v, T, x = this;
9792
9803
  this.debounceStatusUpdate = (O = function() {
9793
- if (!w.state.debounced) {
9794
- var M = !w.props.isInFocus || w.props.validChoiceMade;
9795
- w.setState((function(V) {
9804
+ if (!x.state.debounced) {
9805
+ var M = !x.props.isInFocus || x.props.validChoiceMade;
9806
+ x.setState((function(V) {
9796
9807
  return { bump: !V.bump, debounced: !0, silenced: M };
9797
9808
  }));
9798
9809
  }
@@ -9805,7 +9816,7 @@ function lm() {
9805
9816
  }, R.componentWillReceiveProps = function(O) {
9806
9817
  O.queryLength, this.setState({ debounced: !1 });
9807
9818
  }, R.render = function() {
9808
- var O = this.props, v = O.id, T = O.length, w = O.queryLength, M = O.minQueryLength, V = O.selectedOption, A = O.selectedOptionIndex, E = O.tQueryTooShort, z = O.tNoResults, B = O.tSelectedOption, Q = O.tResults, ne = O.className, te = this.state, he = te.bump, ee = te.debounced, ce = te.silenced, ge = w < M, fe = T === 0, oe = V ? B(V, T, A) : "", X = null;
9819
+ var O = this.props, v = O.id, T = O.length, x = O.queryLength, M = O.minQueryLength, V = O.selectedOption, A = O.selectedOptionIndex, E = O.tQueryTooShort, z = O.tNoResults, B = O.tSelectedOption, Q = O.tResults, ne = O.className, te = this.state, he = te.bump, ee = te.debounced, ce = te.silenced, ge = x < M, fe = T === 0, oe = V ? B(V, T, A) : "", X = null;
9809
9820
  return X = ge ? E(M) : fe ? z() : Q(T, oe), this.debounceStatusUpdate(), (0, o.createElement)("div", { className: ne, style: { border: "0", clip: "rect(0 0 0 0)", height: "1px", marginBottom: "-1px", marginRight: "-1px", overflow: "hidden", padding: "0", position: "absolute", whiteSpace: "nowrap", width: "1px" } }, (0, o.createElement)("div", { id: v + "__status--A", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !ce && ee && he ? X : ""), (0, o.createElement)("div", { id: v + "__status--B", role: "status", "aria-atomic": "true", "aria-live": "polite" }, ce || !ee || he ? "" : X));
9810
9821
  }, F;
9811
9822
  })(o.Component);
@@ -9854,8 +9865,8 @@ function lm() {
9854
9865
  var R = F.prototype;
9855
9866
  return R.isQueryAnOption = function(O, v) {
9856
9867
  var T = this;
9857
- return v.map((function(w) {
9858
- return T.templateInputValue(w).toLowerCase();
9868
+ return v.map((function(x) {
9869
+ return T.templateInputValue(x).toLowerCase();
9859
9870
  })).indexOf(O.toLowerCase()) !== -1;
9860
9871
  }, R.componentDidMount = function() {
9861
9872
  this.pollInputElement();
@@ -9870,8 +9881,8 @@ function lm() {
9870
9881
  var O = this.elementReferences[-1];
9871
9882
  O && O.value !== this.state.query && this.handleInputChange({ target: { value: O.value } });
9872
9883
  }, R.componentDidUpdate = function(O, v) {
9873
- var T = this.state.focused, w = T === null, M = v.focused !== T;
9874
- M && !w && this.elementReferences[T].focus();
9884
+ var T = this.state.focused, x = T === null, M = v.focused !== T;
9885
+ M && !x && this.elementReferences[T].focus();
9875
9886
  var V = T === -1, A = M && v.focused === null;
9876
9887
  if (V && A) {
9877
9888
  var E = this.elementReferences[T];
@@ -9886,24 +9897,24 @@ function lm() {
9886
9897
  var v = this.props.templates && this.props.templates.suggestion;
9887
9898
  return v ? v(O) : O;
9888
9899
  }, R.handleComponentBlur = function(O) {
9889
- var v, T = this.state, w = T.options, M = T.query, V = T.selected;
9890
- this.props.confirmOnBlur ? (v = O.query || M, this.props.onConfirm(w[V])) : v = M, this.setState({ focused: null, menuOpen: O.menuOpen || !1, query: v, selected: null, validChoiceMade: this.isQueryAnOption(v, w) });
9900
+ var v, T = this.state, x = T.options, M = T.query, V = T.selected;
9901
+ this.props.confirmOnBlur ? (v = O.query || M, this.props.onConfirm(x[V])) : v = M, this.setState({ focused: null, menuOpen: O.menuOpen || !1, query: v, selected: null, validChoiceMade: this.isQueryAnOption(v, x) });
9891
9902
  }, R.handleListMouseLeave = function(O) {
9892
9903
  this.setState({ hovered: null });
9893
9904
  }, R.handleOptionBlur = function(O, v) {
9894
- var T = this.state, w = T.focused, M = T.menuOpen, V = T.options, A = T.selected, E = O.relatedTarget === null, z = O.relatedTarget === this.elementReferences[-1], B = w !== v && w !== -1;
9905
+ var T = this.state, x = T.focused, M = T.menuOpen, V = T.options, A = T.selected, E = O.relatedTarget === null, z = O.relatedTarget === this.elementReferences[-1], B = x !== v && x !== -1;
9895
9906
  if (!B && E || !(B || z)) {
9896
9907
  var Q = M && Y();
9897
9908
  this.handleComponentBlur({ menuOpen: Q, query: this.templateInputValue(V[A]) });
9898
9909
  }
9899
9910
  }, R.handleInputBlur = function(O) {
9900
- var v = this.state, T = v.focused, w = v.menuOpen, M = v.options, V = v.query, A = v.selected;
9911
+ var v = this.state, T = v.focused, x = v.menuOpen, M = v.options, V = v.query, A = v.selected;
9901
9912
  if (T === -1) {
9902
- var E = w && Y(), z = Y() ? V : this.templateInputValue(M[A]);
9913
+ var E = x && Y(), z = Y() ? V : this.templateInputValue(M[A]);
9903
9914
  this.handleComponentBlur({ menuOpen: E, query: z });
9904
9915
  }
9905
9916
  }, R.handleInputChange = function(O) {
9906
- var v = this, T = this.props, w = T.minLength, M = T.source, V = T.showAllValues, A = this.hasAutoselect(), E = O.target.value, z = E.length === 0, B = this.state.query !== E, Q = E.length >= w;
9917
+ var v = this, T = this.props, x = T.minLength, M = T.source, V = T.showAllValues, A = this.hasAutoselect(), E = O.target.value, z = E.length === 0, B = this.state.query !== E, Q = E.length >= x;
9907
9918
  this.setState({ query: E, ariaHint: z }), V || !z && B && Q ? M(E, (function(ne) {
9908
9919
  var te = ne.length > 0;
9909
9920
  v.setState({ menuOpen: te, options: ne, selected: A && te ? 0 : -1, validChoiceMade: !1 });
@@ -9911,7 +9922,7 @@ function lm() {
9911
9922
  }, R.handleInputClick = function(O) {
9912
9923
  this.handleInputChange(O);
9913
9924
  }, R.handleInputFocus = function(O) {
9914
- var v = this.state, T = v.query, w = v.validChoiceMade, M = v.options, V = this.props.minLength, A = !w && T.length >= V && M.length > 0;
9925
+ var v = this.state, T = v.query, x = v.validChoiceMade, M = v.options, V = this.props.minLength, A = !x && T.length >= V && M.length > 0;
9915
9926
  A ? this.setState((function(E) {
9916
9927
  var z = E.menuOpen;
9917
9928
  return { focused: -1, menuOpen: A || z, selected: -1 };
@@ -9921,22 +9932,22 @@ function lm() {
9921
9932
  }, R.handleOptionMouseEnter = function(O, v) {
9922
9933
  Y() || this.setState({ hovered: v });
9923
9934
  }, R.handleOptionClick = function(O, v) {
9924
- var T = this.state.options[v], w = this.templateInputValue(T);
9925
- this.props.onConfirm(T), this.setState({ focused: -1, hovered: null, menuOpen: !1, query: w, selected: -1, validChoiceMade: !0 }), this.forceUpdate();
9935
+ var T = this.state.options[v], x = this.templateInputValue(T);
9936
+ this.props.onConfirm(T), this.setState({ focused: -1, hovered: null, menuOpen: !1, query: x, selected: -1, validChoiceMade: !0 }), this.forceUpdate();
9926
9937
  }, R.handleOptionMouseDown = function(O) {
9927
9938
  O.preventDefault();
9928
9939
  }, R.handleUpArrow = function(O) {
9929
9940
  O.preventDefault();
9930
- var v = this.state, T = v.menuOpen, w = v.selected;
9931
- w !== -1 && T && this.handleOptionFocus(w - 1);
9941
+ var v = this.state, T = v.menuOpen, x = v.selected;
9942
+ x !== -1 && T && this.handleOptionFocus(x - 1);
9932
9943
  }, R.handleDownArrow = function(O) {
9933
9944
  var v = this;
9934
9945
  if (O.preventDefault(), this.props.showAllValues && this.state.menuOpen === !1) O.preventDefault(), this.props.source("", (function(A) {
9935
9946
  v.setState({ menuOpen: !0, options: A, selected: 0, focused: 0, hovered: null });
9936
9947
  }));
9937
9948
  else if (this.state.menuOpen === !0) {
9938
- var T = this.state, w = T.menuOpen, M = T.options, V = T.selected;
9939
- V !== M.length - 1 && w && this.handleOptionFocus(V + 1);
9949
+ var T = this.state, x = T.menuOpen, M = T.options, V = T.selected;
9950
+ V !== M.length - 1 && x && this.handleOptionFocus(V + 1);
9940
9951
  }
9941
9952
  }, R.handleSpace = function(O) {
9942
9953
  var v = this;
@@ -9970,11 +9981,11 @@ function lm() {
9970
9981
  }
9971
9982
  var v;
9972
9983
  }, R.render = function() {
9973
- var O, v = this, T = this.props, w = T.cssNamespace, M = T.displayMenu, V = T.id, A = T.minLength, E = T.name, z = T.placeholder, B = T.required, Q = T.showAllValues, ne = T.tNoResults, te = T.tStatusQueryTooShort, he = T.tStatusNoResults, ee = T.tStatusSelectedOption, ce = T.tStatusResults, ge = T.tAssistiveHint, fe = T.dropdownArrow, oe = T.menuAttributes, X = T.inputClasses, Pe = T.hintClasses, Ie = T.menuClasses, Ye = this.state, ke = Ye.focused, $ = Ye.hovered, G = Ye.menuOpen, K = Ye.options, P = Ye.query, q = Ye.selected, N = Ye.ariaHint, W = Ye.validChoiceMade, H = this.hasAutoselect(), ue = ke === -1, ie = K.length === 0, Te = P.length !== 0, pe = P.length >= A, ye = this.props.showNoOptionsFound && ue && ie && Te && pe, $e = w + "__wrapper", Re = w + "__status", dt = w + "__dropdown-arrow-down", Ue = ke !== -1 && ke !== null, st = w + "__option", Tt = w + "__hint", ot = this.templateInputValue(K[q]), Ce = ot && ot.toLowerCase().indexOf(P.toLowerCase()) === 0 && H ? P + ot.substr(P.length) : "", Pt = V + "__assistiveHint", Ft = { "aria-describedby": N ? Pt : null, "aria-expanded": G ? "true" : "false", "aria-activedescendant": Ue ? V + "__option--" + ke : null, "aria-controls": V + "__listbox", "aria-autocomplete": this.hasAutoselect() ? "both" : "list" };
9974
- Q && typeof (O = fe({ className: dt })) == "string" && (O = (0, o.createElement)("div", { className: w + "__dropdown-arrow-down-wrapper", dangerouslySetInnerHTML: { __html: O } }));
9975
- var lt = w + "__input", gt = [lt, this.props.showAllValues ? lt + "--show-all-values" : lt + "--default"];
9984
+ var O, v = this, T = this.props, x = T.cssNamespace, M = T.displayMenu, V = T.id, A = T.minLength, E = T.name, z = T.placeholder, B = T.required, Q = T.showAllValues, ne = T.tNoResults, te = T.tStatusQueryTooShort, he = T.tStatusNoResults, ee = T.tStatusSelectedOption, ce = T.tStatusResults, ge = T.tAssistiveHint, fe = T.dropdownArrow, oe = T.menuAttributes, X = T.inputClasses, Pe = T.hintClasses, Ie = T.menuClasses, Ye = this.state, ke = Ye.focused, $ = Ye.hovered, G = Ye.menuOpen, K = Ye.options, P = Ye.query, q = Ye.selected, N = Ye.ariaHint, W = Ye.validChoiceMade, H = this.hasAutoselect(), ue = ke === -1, ie = K.length === 0, Te = P.length !== 0, pe = P.length >= A, ye = this.props.showNoOptionsFound && ue && ie && Te && pe, $e = x + "__wrapper", Re = x + "__status", dt = x + "__dropdown-arrow-down", Ue = ke !== -1 && ke !== null, st = x + "__option", Tt = x + "__hint", ot = this.templateInputValue(K[q]), Ce = ot && ot.toLowerCase().indexOf(P.toLowerCase()) === 0 && H ? P + ot.substr(P.length) : "", Pt = V + "__assistiveHint", Ft = { "aria-describedby": N ? Pt : null, "aria-expanded": G ? "true" : "false", "aria-activedescendant": Ue ? V + "__option--" + ke : null, "aria-controls": V + "__listbox", "aria-autocomplete": this.hasAutoselect() ? "both" : "list" };
9985
+ Q && typeof (O = fe({ className: dt })) == "string" && (O = (0, o.createElement)("div", { className: x + "__dropdown-arrow-down-wrapper", dangerouslySetInnerHTML: { __html: O } }));
9986
+ var lt = x + "__input", gt = [lt, this.props.showAllValues ? lt + "--show-all-values" : lt + "--default"];
9976
9987
  ke !== null && gt.push(lt + "--focused"), X && gt.push(X);
9977
- var ht = w + "__menu", rt = [ht, ht + "--" + M, ht + "--" + (G || ye ? "visible" : "hidden")];
9988
+ var ht = x + "__menu", rt = [ht, ht + "--" + M, ht + "--" + (G || ye ? "visible" : "hidden")];
9978
9989
  Ie && rt.push(Ie), (oe != null && oe.class || oe != null && oe.className) && rt.push(oe?.class || oe?.className);
9979
9990
  var vt = Object.assign({ "aria-labelledby": V }, oe, { id: V + "__listbox", role: "listbox", className: rt.join(" "), onMouseLeave: this.handleListMouseLeave });
9980
9991
  return delete vt.class, (0, o.createElement)("div", { className: $e, onKeyDown: this.handleKeyDown }, (0, o.createElement)(r, { id: V, length: K.length, queryLength: P.length, minQueryLength: A, selectedOption: this.templateInputValue(K[q]), selectedOptionIndex: q, validChoiceMade: W, isInFocus: this.state.focused !== null, tQueryTooShort: te, tNoResults: he, tSelectedOption: ee, tResults: ce, className: Re }), Ce && (0, o.createElement)("span", null, (0, o.createElement)("input", { className: [Tt, Pe === null ? X : Pe].filter(Boolean).join(" "), readonly: !0, tabIndex: "-1", value: Ce })), (0, o.createElement)("input", h({}, Ft, { autoComplete: "off", className: gt.join(" "), id: V, onClick: this.handleInputClick, onBlur: this.handleInputBlur }, { onChange: this.handleInputChange }, { onFocus: this.handleInputFocus, name: E, placeholder: z, ref: function(yt) {
@@ -10014,7 +10025,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10014
10025
  defaultValue: s = "",
10015
10026
  onConfirm: u,
10016
10027
  source: i,
10017
- disabled: x,
10028
+ disabled: b,
10018
10029
  onClear: S,
10019
10030
  tClearInput: I = () => "Clear input",
10020
10031
  ...o
@@ -10027,8 +10038,8 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10027
10038
  Ne(() => {
10028
10039
  l !== void 0 && r(l);
10029
10040
  }, [l]), Ne(() => {
10030
- x ? y.current && (y.current.elementReferences[-1].disabled = !0) : y.current && (y.current.elementReferences[-1].disabled = !1);
10031
- }, [x]);
10041
+ b ? y.current && (y.current.elementReferences[-1].disabled = !0) : y.current && (y.current.elementReferences[-1].disabled = !1);
10042
+ }, [b]);
10032
10043
  const c = () => {
10033
10044
  S && S();
10034
10045
  }, h = (p, g) => {
@@ -10049,7 +10060,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10049
10060
  source: h
10050
10061
  }
10051
10062
  ),
10052
- !!(l && l.length > 0 && !x) && /* @__PURE__ */ m.jsx(
10063
+ !!(l && l.length > 0 && !b) && /* @__PURE__ */ m.jsx(
10053
10064
  "button",
10054
10065
  {
10055
10066
  onClick: c,
@@ -10069,7 +10080,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10069
10080
  )
10070
10081
  ] });
10071
10082
  }, fm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==", mm = "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=", pm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC", gm = ({ position: l, areasLayer: s, bounds: u, onMarkedMoved: i }) => {
10072
- const x = pt(null);
10083
+ const b = pt(null);
10073
10084
  let S = null;
10074
10085
  const [I, o] = se([]), y = Hc(
10075
10086
  "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
@@ -10078,7 +10089,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10078
10089
  attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
10079
10090
  }
10080
10091
  ), r = [41.9, 12.5], c = () => {
10081
- const h = Gt.map(x.current, {
10092
+ const h = Gt.map(b.current, {
10082
10093
  keyboard: !1,
10083
10094
  minZoom: 6,
10084
10095
  maxZoom: 17
@@ -10102,8 +10113,8 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10102
10113
  }
10103
10114
  };
10104
10115
  return Ne(() => {
10105
- x.current && c();
10106
- }, [x]), /* @__PURE__ */ m.jsx(
10116
+ b.current && c();
10117
+ }, [b]), /* @__PURE__ */ m.jsx(
10107
10118
  "div",
10108
10119
  {
10109
10120
  className: "d-block",
@@ -10111,7 +10122,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10111
10122
  children: /* @__PURE__ */ m.jsx(
10112
10123
  "div",
10113
10124
  {
10114
- ref: x,
10125
+ ref: b,
10115
10126
  style: { height: "100%", width: "100%" },
10116
10127
  "aria-hidden": !0
10117
10128
  }
@@ -10123,9 +10134,9 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10123
10134
  value: s,
10124
10135
  current: u,
10125
10136
  onChange: i,
10126
- i18next: x
10137
+ i18next: b
10127
10138
  }) => {
10128
- const [S, I] = se(null), [o, y] = se([]), [r, c] = se(), [h, f] = se(), [p, g] = se(!1), [Y, _] = se(), [k, C] = se(!1), [j, F] = se(), [R, O] = se(), [v, T] = se(!1), [w, M] = se(""), [V, A] = se(""), [E, z] = se(!1), [B, Q] = se(!1), te = new URLSearchParams(window.location.search).get("area"), { geographic_areas_id: he } = window.OC_SERVICE_DETAILS, ee = pt(), ce = x.language;
10139
+ const [S, I] = se(null), [o, y] = se([]), [r, c] = se(), [h, f] = se(), [p, g] = se(!1), [Y, _] = se(), [k, C] = se(!1), [j, F] = se(), [R, O] = se(), [v, T] = se(!1), [x, M] = se(""), [V, A] = se(""), [E, z] = se(!1), [B, Q] = se(!1), te = new URLSearchParams(window.location.search).get("area"), { geographic_areas_id: he } = window.OC_SERVICE_DETAILS, ee = pt(), ce = b.language;
10129
10140
  let ge = Gt.latLngBounds();
10130
10141
  const fe = te || (he && he.length > 0 ? he : void 0), oe = (K, P) => {
10131
10142
  ee.current = K;
@@ -10180,7 +10191,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10180
10191
  I({ lat: P, lon: q }), Pe({ lat: P, lng: q }), Q(!B);
10181
10192
  },
10182
10193
  (K) => {
10183
- K?.code === 1 ? (z(!E), A(x.t("error_message_code_1"))) : K?.code === 2 ? (z(!E), A(x.t("error_message_code_2"))) : K?.code === 3 ? (z(!E), A(x.t("error_message_code_3"))) : (z(!E), A(x.t("error_message_generic")));
10194
+ K?.code === 1 ? (z(!E), A(b.t("error_message_code_1"))) : K?.code === 2 ? (z(!E), A(b.t("error_message_code_2"))) : K?.code === 3 ? (z(!E), A(b.t("error_message_code_3"))) : (z(!E), A(b.t("error_message_generic")));
10184
10195
  }
10185
10196
  );
10186
10197
  }
@@ -10239,11 +10250,11 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10239
10250
  g(!0), fetch(K).then((P) => P.json()).then((P) => {
10240
10251
  g(!1), P ? P.result === !1 ? qe.fire({
10241
10252
  title: "",
10242
- html: "<p>" + x.t(
10253
+ html: "<p>" + b.t(
10243
10254
  "Attenzione: Il luogo selezionato si trova al di fuori dell’area coperta dal servizio. Per favore, scegli un luogo all'interno dell'area evidenziata nella mappa."
10244
10255
  ) + "</p>",
10245
10256
  icon: "error",
10246
- cancelButtonText: x.t("Chiudi"),
10257
+ cancelButtonText: b.t("Chiudi"),
10247
10258
  showCancelButton: !0,
10248
10259
  showConfirmButton: !1
10249
10260
  }) : P.result === !0 && (Q(!B), I(R)) : (g(!1), console.log("No geographic-areas/contains ."));
@@ -10252,7 +10263,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10252
10263
  title: "",
10253
10264
  html: "<p>" + P + "</p>",
10254
10265
  icon: "error",
10255
- cancelButtonText: x.t("Chiudi"),
10266
+ cancelButtonText: b.t("Chiudi"),
10256
10267
  showCancelButton: !0,
10257
10268
  showConfirmButton: !1
10258
10269
  });
@@ -10276,9 +10287,9 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10276
10287
  labelledBy: "esempio2",
10277
10288
  container: document.body,
10278
10289
  children: [
10279
- /* @__PURE__ */ m.jsx(Sr, { toggle: () => Q(!B), id: "esempio2", children: x.t("Individua il luogo sulla mappa") }),
10290
+ /* @__PURE__ */ m.jsx(Sr, { toggle: () => Q(!B), id: "esempio2", children: b.t("Individua il luogo sulla mappa") }),
10280
10291
  /* @__PURE__ */ m.jsxs(Dr, { children: [
10281
- /* @__PURE__ */ m.jsx("p", { children: /* @__PURE__ */ m.jsx("small", { children: x.t(
10292
+ /* @__PURE__ */ m.jsx("p", { children: /* @__PURE__ */ m.jsx("small", { children: b.t(
10282
10293
  "Trascina l’icona nel punto preciso in cui si verifica l’evento che vuoi segnalare e fai click su Salva indirizzo"
10283
10294
  ) }) }),
10284
10295
  /* @__PURE__ */ m.jsx(
@@ -10294,7 +10305,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10294
10305
  )
10295
10306
  ] }),
10296
10307
  /* @__PURE__ */ m.jsxs(kr, { children: [
10297
- /* @__PURE__ */ m.jsx(jt, { color: "secondary", onClick: () => Q(!B), children: x.t("Chiudi") }),
10308
+ /* @__PURE__ */ m.jsx(jt, { color: "secondary", onClick: () => Q(!B), children: b.t("Chiudi") }),
10298
10309
  /* @__PURE__ */ m.jsx(
10299
10310
  jt,
10300
10311
  {
@@ -10303,7 +10314,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10303
10314
  G();
10304
10315
  },
10305
10316
  disabled: !R || p,
10306
- children: x.t("Salva indirizzo")
10317
+ children: b.t("Salva indirizzo")
10307
10318
  }
10308
10319
  )
10309
10320
  ] })
@@ -10319,9 +10330,9 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10319
10330
  labelledBy: "error-modal-message",
10320
10331
  container: document.body,
10321
10332
  children: [
10322
- /* @__PURE__ */ m.jsx(Sr, { icon: "it-info-circle", id: "error-modal-message", children: x.t("warning") }),
10333
+ /* @__PURE__ */ m.jsx(Sr, { icon: "it-info-circle", id: "error-modal-message", children: b.t("warning") }),
10323
10334
  /* @__PURE__ */ m.jsx(Dr, { children: /* @__PURE__ */ m.jsx("p", { children: V }) }),
10324
- /* @__PURE__ */ m.jsx(kr, { children: /* @__PURE__ */ m.jsx(jt, { color: "primary", onClick: () => z(!E), children: x.t("close") }) })
10335
+ /* @__PURE__ */ m.jsx(kr, { children: /* @__PURE__ */ m.jsx(jt, { color: "primary", onClick: () => z(!E), children: b.t("close") }) })
10325
10336
  ]
10326
10337
  }
10327
10338
  ) }),
@@ -10350,11 +10361,11 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10350
10361
  confirmOnBlur: !0,
10351
10362
  showNoOptionsFound: !k,
10352
10363
  defaultValue: S?.label,
10353
- value: w,
10354
- tNoResults: () => x.t(
10364
+ value: x,
10365
+ tNoResults: () => b.t(
10355
10366
  "Nessun risultato trovato, prova a inserire l'indirizzo completo"
10356
10367
  ),
10357
- tClearInput: () => x.t("Clear input")
10368
+ tClearInput: () => b.t("Clear input")
10358
10369
  }
10359
10370
  ),
10360
10371
  k && /* @__PURE__ */ m.jsx(
@@ -10373,7 +10384,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10373
10384
  jt,
10374
10385
  {
10375
10386
  type: "button",
10376
- value: x.t("Individua con precisione sulla mappa"),
10387
+ value: b.t("Individua con precisione sulla mappa"),
10377
10388
  onClick: () => {
10378
10389
  /Mobi|Android/i.test(navigator.userAgent) ? Ie() : (Q(!0), O(!1));
10379
10390
  },
@@ -10381,7 +10392,7 @@ const dm = /* @__PURE__ */ bn(cm), hm = ({
10381
10392
  className: "px-0 primary-color",
10382
10393
  children: [
10383
10394
  /* @__PURE__ */ m.jsx(Xe, { color: "primary", icon: "it-map-marker-circle", role: "presentation" }),
10384
- /* @__PURE__ */ m.jsx("span", { children: x.t("Individua con precisione sulla mappa") })
10395
+ /* @__PURE__ */ m.jsx("span", { children: b.t("Individua con precisione sulla mappa") })
10385
10396
  ]
10386
10397
  }
10387
10398
  )
@@ -10529,14 +10540,14 @@ function _m(...l) {
10529
10540
  ...l
10530
10541
  );
10531
10542
  }
10532
- const Gs = Et.Components.components.input, bm = ({ component: l, current: s, onChange: u, i18next: i }) => {
10533
- const x = "list-services", S = "selected-category", [I, o] = se([]), [y, r] = se([]), [c, h] = se(null), [f, p] = se(null), [g, Y] = se(""), [_, k] = se(!1), [C, j] = se(!1), F = pt(!1), R = pt(), O = wi(() => {
10543
+ const Gs = Et.Components.components.field, bm = ({ component: l, current: s, onChange: u, i18next: i }) => {
10544
+ const b = "list-services", S = "selected-category", [I, o] = se([]), [y, r] = se([]), [c, h] = se(null), [f, p] = se(null), [g, Y] = se(""), [_, k] = se(!1), [C, j] = se(!1), F = pt(!1), R = pt(), O = wi(() => {
10534
10545
  if (!c) return null;
10535
10546
  const A = y.find((z) => z.name === c);
10536
10547
  return A || I.find((z) => z.name === c) || null;
10537
10548
  }, [c, y, I]), v = wi(() => O?.services || [], [O]), T = async () => {
10538
10549
  j(!0);
10539
- const A = sessionStorage.getItem(x), E = sessionStorage.getItem(S);
10550
+ const A = sessionStorage.getItem(b), E = sessionStorage.getItem(S);
10540
10551
  if (A)
10541
10552
  try {
10542
10553
  const te = JSON.parse(A);
@@ -10561,14 +10572,14 @@ const Gs = Et.Components.components.input, bm = ({ component: l, current: s, onC
10561
10572
  ), ne = Object.values(Q).filter(
10562
10573
  (te) => (te.name ?? "").trim() !== ""
10563
10574
  );
10564
- return o(ne), r(ne), h(ne[0]?.name || null), sessionStorage.setItem(x, JSON.stringify(ne)), sessionStorage.setItem(S, ne[0]?.name || ""), j(!1), ne;
10575
+ return o(ne), r(ne), h(ne[0]?.name || null), sessionStorage.setItem(b, JSON.stringify(ne)), sessionStorage.setItem(S, ne[0]?.name || ""), j(!1), ne;
10565
10576
  };
10566
10577
  Ne(() => {
10567
10578
  c && sessionStorage.setItem(S, c);
10568
10579
  }, [c]), Ne(() => {
10569
10580
  F.current || (F.current = !0, T());
10570
10581
  }, []);
10571
- const w = (A) => {
10582
+ const x = (A) => {
10572
10583
  const E = (fe = "") => fe.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), z = (fe = "") => fe.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, " ").trim(), B = (fe = "") => fe.replace(/<[^>]*>/g, " "), Q = (fe, oe) => new RegExp(`\\b${E(oe)}`, "i").test(fe), ne = (fe, oe) => {
10573
10584
  const X = z(fe.name), Pe = z((fe.categories ?? []).join(" ")), Ie = z(B(fe.abstract ?? ""));
10574
10585
  if (!oe.every(
@@ -10649,8 +10660,8 @@ const Gs = Et.Components.components.input, bm = ({ component: l, current: s, onC
10649
10660
  label: i.t("Cerca"),
10650
10661
  type: "text",
10651
10662
  value: g,
10652
- onChange: w,
10653
- onInput: w,
10663
+ onChange: x,
10664
+ onInput: x,
10654
10665
  infoText: i.t("Cerca per categoria, servizio o descrizione")
10655
10666
  }
10656
10667
  ) }) }) }),
@@ -10745,18 +10756,29 @@ class In extends Gs {
10745
10756
  }
10746
10757
  static editForm = _m;
10747
10758
  attach(s, u) {
10748
- this.rootComponent = It(s), this.rootComponent.render(
10749
- /* @__PURE__ */ m.jsx(
10750
- bm,
10751
- {
10752
- ref: u,
10753
- component: this.component,
10754
- onChange: (i) => this.setValue(i),
10755
- ...this,
10756
- current: this
10757
- }
10758
- )
10759
- );
10759
+ return super.attach(s).then(() => {
10760
+ this.loadRefs(this.element, {
10761
+ [`react-${this.id}`]: "single"
10762
+ });
10763
+ const i = this.refs[`react-${this.id}`];
10764
+ return i ? (this.rootComponent && (this.rootComponent.unmount(), this.rootComponent = null), this.rootComponent = It(i), this.builderMode ? (this.rootComponent.render(
10765
+ /* @__PURE__ */ m.jsx("div", { className: "my-1 border border-2 border-light rounded p-3 text-secondary", children: /* @__PURE__ */ m.jsx("div", { className: "h6 mb-0", children: this.component?.label || "Lista Servizi" }) })
10766
+ ), this) : (this.rootComponent.render(
10767
+ /* @__PURE__ */ m.jsx(
10768
+ bm,
10769
+ {
10770
+ ref: u,
10771
+ component: this.component,
10772
+ onChange: (b) => this.setValue(b),
10773
+ ...this,
10774
+ current: this
10775
+ }
10776
+ )
10777
+ ), this)) : this;
10778
+ });
10779
+ }
10780
+ detach() {
10781
+ return this.rootComponent && (this.rootComponent.unmount(), this.rootComponent = null), super.detach();
10760
10782
  }
10761
10783
  setValue(s) {
10762
10784
  s && (this.shouldSetValue = !0, this.updateValue(s));
@@ -10768,7 +10790,7 @@ class In extends Gs {
10768
10790
  super.init();
10769
10791
  }
10770
10792
  render() {
10771
- return super.render();
10793
+ return super.render(`<div ref="react-${this.id}"></div>`);
10772
10794
  }
10773
10795
  }
10774
10796
  const Js = {